@everymatrix/casino-tournaments-tab 1.48.2 → 1.49.1
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-Cq0HAjeo.js → CasinoTournamentsTab-ConoRW6u.js} +324 -303
- package/components/CasinoTournamentsTab-DAcZYcOh.cjs +1 -0
- package/es2015/casino-tournaments-tab.cjs +1 -1
- package/es2015/casino-tournaments-tab.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsTab-lSTXOBfS.cjs +0 -1
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var F = (e, t, n) => t in e ?
|
|
1
|
+
var lt = Object.defineProperty, ct = Object.defineProperties;
|
|
2
|
+
var ut = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var j = Object.getOwnPropertySymbols;
|
|
4
|
+
var I = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var F = (e, t, n) => t in e ? lt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, O = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var n of
|
|
10
|
-
|
|
7
|
+
I.call(t, n) && F(e, n, t[n]);
|
|
8
|
+
if (j)
|
|
9
|
+
for (var n of j(t))
|
|
10
|
+
D.call(t, n) && F(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, S = (e, t) => ct(e, ut(t));
|
|
13
13
|
var J = (e, t) => {
|
|
14
14
|
var n = {};
|
|
15
15
|
for (var s in e)
|
|
16
|
-
|
|
17
|
-
if (e != null &&
|
|
18
|
-
for (var s of
|
|
19
|
-
t.indexOf(s) < 0 &&
|
|
16
|
+
I.call(e, s) && t.indexOf(s) < 0 && (n[s] = e[s]);
|
|
17
|
+
if (e != null && j)
|
|
18
|
+
for (var s of j(e))
|
|
19
|
+
t.indexOf(s) < 0 && D.call(e, s) && (n[s] = e[s]);
|
|
20
20
|
return n;
|
|
21
21
|
};
|
|
22
22
|
var d = (e, t, n) => F(e, typeof t != "symbol" ? t + "" : t, n);
|
|
23
|
-
var V = (e, t, n) => new Promise((s,
|
|
24
|
-
var
|
|
23
|
+
var V = (e, t, n) => new Promise((s, i) => {
|
|
24
|
+
var o = (u) => {
|
|
25
25
|
try {
|
|
26
|
-
|
|
27
|
-
} catch (
|
|
28
|
-
|
|
26
|
+
c(n.next(u));
|
|
27
|
+
} catch (l) {
|
|
28
|
+
i(l);
|
|
29
29
|
}
|
|
30
|
-
},
|
|
30
|
+
}, r = (u) => {
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
} catch (
|
|
34
|
-
|
|
32
|
+
c(n.throw(u));
|
|
33
|
+
} catch (l) {
|
|
34
|
+
i(l);
|
|
35
35
|
}
|
|
36
|
-
},
|
|
37
|
-
|
|
36
|
+
}, c = (u) => u.done ? s(u.value) : Promise.resolve(u.value).then(o, r);
|
|
37
|
+
c((n = n.apply(e, t)).next());
|
|
38
38
|
});
|
|
39
|
-
function
|
|
39
|
+
function T() {
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function tt(e) {
|
|
42
42
|
return e();
|
|
43
43
|
}
|
|
44
44
|
function q() {
|
|
45
45
|
return /* @__PURE__ */ Object.create(null);
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
e.forEach(
|
|
47
|
+
function M(e) {
|
|
48
|
+
e.forEach(tt);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function et(e) {
|
|
51
51
|
return typeof e == "function";
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function at(e, t) {
|
|
54
54
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function ft(e) {
|
|
57
57
|
return Object.keys(e).length === 0;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function p(e, t) {
|
|
60
60
|
e.appendChild(t);
|
|
61
61
|
}
|
|
62
|
-
function
|
|
63
|
-
const s =
|
|
62
|
+
function dt(e, t, n) {
|
|
63
|
+
const s = ht(e);
|
|
64
64
|
if (!s.getElementById(t)) {
|
|
65
|
-
const
|
|
66
|
-
|
|
65
|
+
const i = _("style");
|
|
66
|
+
i.id = t, i.textContent = n, $t(s, i);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function ht(e) {
|
|
70
70
|
if (!e) return document;
|
|
71
71
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
72
72
|
return t && /** @type {ShadowRoot} */
|
|
@@ -75,20 +75,20 @@ function ft(e) {
|
|
|
75
75
|
t
|
|
76
76
|
) : e.ownerDocument;
|
|
77
77
|
}
|
|
78
|
-
function
|
|
79
|
-
return
|
|
78
|
+
function $t(e, t) {
|
|
79
|
+
return p(
|
|
80
80
|
/** @type {Document} */
|
|
81
81
|
e.head || e,
|
|
82
82
|
t
|
|
83
83
|
), t.sheet;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function x(e, t, n) {
|
|
86
86
|
e.insertBefore(t, n || null);
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function E(e) {
|
|
89
89
|
e.parentNode && e.parentNode.removeChild(e);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function gt(e, t) {
|
|
92
92
|
for (let n = 0; n < e.length; n += 1)
|
|
93
93
|
e[n] && e[n].d(t);
|
|
94
94
|
}
|
|
@@ -101,20 +101,20 @@ function H(e) {
|
|
|
101
101
|
function G() {
|
|
102
102
|
return H(" ");
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function bt(e, t, n, s) {
|
|
105
105
|
return e.addEventListener(t, n, s), () => e.removeEventListener(t, n, s);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function $(e, t, n) {
|
|
108
108
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function mt(e) {
|
|
111
111
|
return Array.from(e.childNodes);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function nt(e, t) {
|
|
114
114
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
115
115
|
t);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function _t(e) {
|
|
118
118
|
const t = {};
|
|
119
119
|
return e.childNodes.forEach(
|
|
120
120
|
/** @param {Element} node */
|
|
@@ -123,95 +123,95 @@ function bt(e) {
|
|
|
123
123
|
}
|
|
124
124
|
), t;
|
|
125
125
|
}
|
|
126
|
-
let
|
|
127
|
-
function
|
|
128
|
-
|
|
126
|
+
let C;
|
|
127
|
+
function L(e) {
|
|
128
|
+
C = e;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
if (!
|
|
132
|
-
return
|
|
130
|
+
function pt() {
|
|
131
|
+
if (!C) throw new Error("Function called outside component initialization");
|
|
132
|
+
return C;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
|
|
134
|
+
function st(e) {
|
|
135
|
+
pt().$$.on_mount.push(e);
|
|
136
136
|
}
|
|
137
137
|
const y = [], R = [];
|
|
138
|
-
let
|
|
139
|
-
const K = [],
|
|
138
|
+
let k = [];
|
|
139
|
+
const K = [], wt = /* @__PURE__ */ Promise.resolve();
|
|
140
140
|
let z = !1;
|
|
141
|
-
function
|
|
142
|
-
z || (z = !0,
|
|
141
|
+
function yt() {
|
|
142
|
+
z || (z = !0, wt.then(v));
|
|
143
143
|
}
|
|
144
144
|
function B(e) {
|
|
145
|
-
|
|
145
|
+
k.push(e);
|
|
146
146
|
}
|
|
147
147
|
const P = /* @__PURE__ */ new Set();
|
|
148
148
|
let w = 0;
|
|
149
149
|
function v() {
|
|
150
150
|
if (w !== 0)
|
|
151
151
|
return;
|
|
152
|
-
const e =
|
|
152
|
+
const e = C;
|
|
153
153
|
do {
|
|
154
154
|
try {
|
|
155
155
|
for (; w < y.length; ) {
|
|
156
156
|
const t = y[w];
|
|
157
|
-
w++,
|
|
157
|
+
w++, L(t), vt(t.$$);
|
|
158
158
|
}
|
|
159
159
|
} catch (t) {
|
|
160
160
|
throw y.length = 0, w = 0, t;
|
|
161
161
|
}
|
|
162
|
-
for (
|
|
163
|
-
for (let t = 0; t <
|
|
164
|
-
const n =
|
|
162
|
+
for (L(null), y.length = 0, w = 0; R.length; ) R.pop()();
|
|
163
|
+
for (let t = 0; t < k.length; t += 1) {
|
|
164
|
+
const n = k[t];
|
|
165
165
|
P.has(n) || (P.add(n), n());
|
|
166
166
|
}
|
|
167
|
-
|
|
167
|
+
k.length = 0;
|
|
168
168
|
} while (y.length);
|
|
169
169
|
for (; K.length; )
|
|
170
170
|
K.pop()();
|
|
171
|
-
z = !1, P.clear(),
|
|
171
|
+
z = !1, P.clear(), L(e);
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function vt(e) {
|
|
174
174
|
if (e.fragment !== null) {
|
|
175
|
-
e.update(),
|
|
175
|
+
e.update(), M(e.before_update);
|
|
176
176
|
const t = e.dirty;
|
|
177
177
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(B);
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function kt(e) {
|
|
181
181
|
const t = [], n = [];
|
|
182
|
-
|
|
182
|
+
k.forEach((s) => e.indexOf(s) === -1 ? t.push(s) : n.push(s)), n.forEach((s) => s()), k = t;
|
|
183
183
|
}
|
|
184
|
-
const
|
|
185
|
-
function
|
|
186
|
-
e && e.i && (
|
|
184
|
+
const Et = /* @__PURE__ */ new Set();
|
|
185
|
+
function Lt(e, t) {
|
|
186
|
+
e && e.i && (Et.delete(e), e.i(t));
|
|
187
187
|
}
|
|
188
188
|
function Q(e) {
|
|
189
189
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
const { fragment: s, after_update:
|
|
191
|
+
function Tt(e, t, n) {
|
|
192
|
+
const { fragment: s, after_update: i } = e.$$;
|
|
193
193
|
s && s.m(t, n), B(() => {
|
|
194
|
-
const
|
|
195
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
196
|
-
}),
|
|
194
|
+
const o = e.$$.on_mount.map(tt).filter(et);
|
|
195
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : M(o), e.$$.on_mount = [];
|
|
196
|
+
}), i.forEach(B);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Ct(e, t) {
|
|
199
199
|
const n = e.$$;
|
|
200
|
-
n.fragment !== null && (
|
|
200
|
+
n.fragment !== null && (kt(n.after_update), M(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
201
201
|
}
|
|
202
|
-
function
|
|
203
|
-
e.$$.dirty[0] === -1 && (y.push(e),
|
|
202
|
+
function xt(e, t) {
|
|
203
|
+
e.$$.dirty[0] === -1 && (y.push(e), yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
204
204
|
}
|
|
205
|
-
function
|
|
206
|
-
const u =
|
|
207
|
-
|
|
208
|
-
const
|
|
205
|
+
function jt(e, t, n, s, i, o, r = null, c = [-1]) {
|
|
206
|
+
const u = C;
|
|
207
|
+
L(e);
|
|
208
|
+
const l = e.$$ = {
|
|
209
209
|
fragment: null,
|
|
210
210
|
ctx: [],
|
|
211
211
|
// state
|
|
212
|
-
props:
|
|
213
|
-
update:
|
|
214
|
-
not_equal:
|
|
212
|
+
props: o,
|
|
213
|
+
update: T,
|
|
214
|
+
not_equal: i,
|
|
215
215
|
bound: q(),
|
|
216
216
|
// lifecycle
|
|
217
217
|
on_mount: [],
|
|
@@ -222,27 +222,27 @@ function Ct(e, t, n, s, o, i, l = null, r = [-1]) {
|
|
|
222
222
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
223
223
|
// everything else
|
|
224
224
|
callbacks: q(),
|
|
225
|
-
dirty:
|
|
225
|
+
dirty: c,
|
|
226
226
|
skip_bound: !1,
|
|
227
227
|
root: t.target || u.$$.root
|
|
228
228
|
};
|
|
229
|
-
|
|
230
|
-
let
|
|
231
|
-
if (
|
|
232
|
-
const
|
|
233
|
-
return
|
|
234
|
-
}) : [],
|
|
229
|
+
r && r(l.root);
|
|
230
|
+
let g = !1;
|
|
231
|
+
if (l.ctx = n ? n(e, t.props || {}, (a, m, ...b) => {
|
|
232
|
+
const h = b.length ? b[0] : m;
|
|
233
|
+
return l.ctx && i(l.ctx[a], l.ctx[a] = h) && (!l.skip_bound && l.bound[a] && l.bound[a](h), g && xt(e, a)), m;
|
|
234
|
+
}) : [], l.update(), g = !0, M(l.before_update), l.fragment = s ? s(l.ctx) : !1, t.target) {
|
|
235
235
|
if (t.hydrate) {
|
|
236
|
-
const a =
|
|
237
|
-
|
|
236
|
+
const a = mt(t.target);
|
|
237
|
+
l.fragment && l.fragment.l(a), a.forEach(E);
|
|
238
238
|
} else
|
|
239
|
-
|
|
240
|
-
t.intro &&
|
|
239
|
+
l.fragment && l.fragment.c();
|
|
240
|
+
t.intro && Lt(e.$$.fragment), Tt(e, t.target, t.anchor), v();
|
|
241
241
|
}
|
|
242
|
-
|
|
242
|
+
L(u);
|
|
243
243
|
}
|
|
244
|
-
let
|
|
245
|
-
typeof HTMLElement == "function" && (
|
|
244
|
+
let it;
|
|
245
|
+
typeof HTMLElement == "function" && (it = class extends HTMLElement {
|
|
246
246
|
constructor(t, n, s) {
|
|
247
247
|
super();
|
|
248
248
|
/** The Svelte component constructor */
|
|
@@ -267,79 +267,79 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
|
|
|
267
267
|
}
|
|
268
268
|
addEventListener(t, n, s) {
|
|
269
269
|
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
|
|
270
|
-
const
|
|
271
|
-
this.$$l_u.set(n,
|
|
270
|
+
const i = this.$$c.$on(t, n);
|
|
271
|
+
this.$$l_u.set(n, i);
|
|
272
272
|
}
|
|
273
273
|
super.addEventListener(t, n, s);
|
|
274
274
|
}
|
|
275
275
|
removeEventListener(t, n, s) {
|
|
276
276
|
if (super.removeEventListener(t, n, s), this.$$c) {
|
|
277
|
-
const
|
|
278
|
-
|
|
277
|
+
const i = this.$$l_u.get(n);
|
|
278
|
+
i && (i(), this.$$l_u.delete(n));
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
connectedCallback() {
|
|
282
282
|
return V(this, null, function* () {
|
|
283
283
|
if (this.$$cn = !0, !this.$$c) {
|
|
284
|
-
let t = function(
|
|
284
|
+
let t = function(o) {
|
|
285
285
|
return () => {
|
|
286
|
-
let
|
|
286
|
+
let r;
|
|
287
287
|
return {
|
|
288
288
|
c: function() {
|
|
289
|
-
|
|
289
|
+
r = _("slot"), o !== "default" && $(r, "name", o);
|
|
290
290
|
},
|
|
291
291
|
/**
|
|
292
292
|
* @param {HTMLElement} target
|
|
293
293
|
* @param {HTMLElement} [anchor]
|
|
294
294
|
*/
|
|
295
|
-
m: function(
|
|
296
|
-
|
|
295
|
+
m: function(l, g) {
|
|
296
|
+
x(l, r, g);
|
|
297
297
|
},
|
|
298
|
-
d: function(
|
|
299
|
-
|
|
298
|
+
d: function(l) {
|
|
299
|
+
l && E(r);
|
|
300
300
|
}
|
|
301
301
|
};
|
|
302
302
|
};
|
|
303
303
|
};
|
|
304
304
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
305
305
|
return;
|
|
306
|
-
const n = {}, s =
|
|
307
|
-
for (const
|
|
308
|
-
|
|
309
|
-
for (const
|
|
310
|
-
const
|
|
311
|
-
|
|
306
|
+
const n = {}, s = _t(this);
|
|
307
|
+
for (const o of this.$$s)
|
|
308
|
+
o in s && (n[o] = [t(o)]);
|
|
309
|
+
for (const o of this.attributes) {
|
|
310
|
+
const r = this.$$g_p(o.name);
|
|
311
|
+
r in this.$$d || (this.$$d[r] = A(r, o.value, this.$$p_d, "toProp"));
|
|
312
312
|
}
|
|
313
|
-
for (const
|
|
314
|
-
!(
|
|
313
|
+
for (const o in this.$$p_d)
|
|
314
|
+
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
315
315
|
this.$$c = new this.$$ctor({
|
|
316
316
|
target: this.shadowRoot || this,
|
|
317
|
-
props: O(
|
|
317
|
+
props: S(O({}, this.$$d), {
|
|
318
318
|
$$slots: n,
|
|
319
319
|
$$scope: {
|
|
320
320
|
ctx: []
|
|
321
321
|
}
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
|
-
const
|
|
324
|
+
const i = () => {
|
|
325
325
|
this.$$r = !0;
|
|
326
|
-
for (const
|
|
327
|
-
if (this.$$d[
|
|
328
|
-
const
|
|
329
|
-
|
|
330
|
-
this.$$d[
|
|
326
|
+
for (const o in this.$$p_d)
|
|
327
|
+
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
328
|
+
const r = A(
|
|
329
|
+
o,
|
|
330
|
+
this.$$d[o],
|
|
331
331
|
this.$$p_d,
|
|
332
332
|
"toAttribute"
|
|
333
333
|
);
|
|
334
|
-
|
|
334
|
+
r == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, r);
|
|
335
335
|
}
|
|
336
336
|
this.$$r = !1;
|
|
337
337
|
};
|
|
338
|
-
this.$$c.$$.after_update.push(
|
|
339
|
-
for (const
|
|
340
|
-
for (const
|
|
341
|
-
const
|
|
342
|
-
this.$$l_u.set(
|
|
338
|
+
this.$$c.$$.after_update.push(i), i();
|
|
339
|
+
for (const o in this.$$l)
|
|
340
|
+
for (const r of this.$$l[o]) {
|
|
341
|
+
const c = this.$$c.$on(o, r);
|
|
342
|
+
this.$$l_u.set(r, c);
|
|
343
343
|
}
|
|
344
344
|
this.$$l = {};
|
|
345
345
|
}
|
|
@@ -348,8 +348,8 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
|
|
|
348
348
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
349
349
|
// and setting attributes through setAttribute etc, this is helpful
|
|
350
350
|
attributeChangedCallback(t, n, s) {
|
|
351
|
-
var
|
|
352
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
351
|
+
var i;
|
|
352
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = A(t, s, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
353
353
|
}
|
|
354
354
|
disconnectedCallback() {
|
|
355
355
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -362,13 +362,13 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
|
|
|
362
362
|
) || t;
|
|
363
363
|
}
|
|
364
364
|
});
|
|
365
|
-
function
|
|
366
|
-
var
|
|
367
|
-
const
|
|
368
|
-
if (t =
|
|
365
|
+
function A(e, t, n, s) {
|
|
366
|
+
var o;
|
|
367
|
+
const i = (o = n[e]) == null ? void 0 : o.type;
|
|
368
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !n[e])
|
|
369
369
|
return t;
|
|
370
370
|
if (s === "toAttribute")
|
|
371
|
-
switch (
|
|
371
|
+
switch (i) {
|
|
372
372
|
case "Object":
|
|
373
373
|
case "Array":
|
|
374
374
|
return t == null ? null : JSON.stringify(t);
|
|
@@ -380,7 +380,7 @@ function S(e, t, n, s) {
|
|
|
380
380
|
return t;
|
|
381
381
|
}
|
|
382
382
|
else
|
|
383
|
-
switch (
|
|
383
|
+
switch (i) {
|
|
384
384
|
case "Object":
|
|
385
385
|
case "Array":
|
|
386
386
|
return t && JSON.parse(t);
|
|
@@ -392,38 +392,38 @@ function S(e, t, n, s) {
|
|
|
392
392
|
return t;
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
let
|
|
395
|
+
function Ot(e, t, n, s, i, o) {
|
|
396
|
+
let r = class extends it {
|
|
397
397
|
constructor() {
|
|
398
|
-
super(e, n,
|
|
398
|
+
super(e, n, i), this.$$p_d = t;
|
|
399
399
|
}
|
|
400
400
|
static get observedAttributes() {
|
|
401
401
|
return Object.keys(t).map(
|
|
402
|
-
(
|
|
402
|
+
(c) => (t[c].attribute || c).toLowerCase()
|
|
403
403
|
);
|
|
404
404
|
}
|
|
405
405
|
};
|
|
406
|
-
return Object.keys(t).forEach((
|
|
407
|
-
Object.defineProperty(
|
|
406
|
+
return Object.keys(t).forEach((c) => {
|
|
407
|
+
Object.defineProperty(r.prototype, c, {
|
|
408
408
|
get() {
|
|
409
|
-
return this.$$c &&
|
|
409
|
+
return this.$$c && c in this.$$c ? this.$$c[c] : this.$$d[c];
|
|
410
410
|
},
|
|
411
411
|
set(u) {
|
|
412
|
-
var
|
|
413
|
-
u =
|
|
412
|
+
var l;
|
|
413
|
+
u = A(c, u, t), this.$$d[c] = u, (l = this.$$c) == null || l.$set({ [c]: u });
|
|
414
414
|
}
|
|
415
415
|
});
|
|
416
|
-
}), s.forEach((
|
|
417
|
-
Object.defineProperty(
|
|
416
|
+
}), s.forEach((c) => {
|
|
417
|
+
Object.defineProperty(r.prototype, c, {
|
|
418
418
|
get() {
|
|
419
419
|
var u;
|
|
420
|
-
return (u = this.$$c) == null ? void 0 : u[
|
|
420
|
+
return (u = this.$$c) == null ? void 0 : u[c];
|
|
421
421
|
}
|
|
422
422
|
});
|
|
423
423
|
}), e.element = /** @type {any} */
|
|
424
|
-
|
|
424
|
+
r, r;
|
|
425
425
|
}
|
|
426
|
-
class
|
|
426
|
+
class St {
|
|
427
427
|
constructor() {
|
|
428
428
|
/**
|
|
429
429
|
* ### PRIVATE API
|
|
@@ -444,7 +444,7 @@ class jt {
|
|
|
444
444
|
}
|
|
445
445
|
/** @returns {void} */
|
|
446
446
|
$destroy() {
|
|
447
|
-
|
|
447
|
+
Ct(this, 1), this.$destroy = T;
|
|
448
448
|
}
|
|
449
449
|
/**
|
|
450
450
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -453,12 +453,12 @@ class jt {
|
|
|
453
453
|
* @returns {() => void}
|
|
454
454
|
*/
|
|
455
455
|
$on(t, n) {
|
|
456
|
-
if (!
|
|
457
|
-
return
|
|
456
|
+
if (!et(n))
|
|
457
|
+
return T;
|
|
458
458
|
const s = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
459
459
|
return s.push(n), () => {
|
|
460
|
-
const
|
|
461
|
-
|
|
460
|
+
const i = s.indexOf(n);
|
|
461
|
+
i !== -1 && s.splice(i, 1);
|
|
462
462
|
};
|
|
463
463
|
}
|
|
464
464
|
/**
|
|
@@ -466,173 +466,193 @@ class jt {
|
|
|
466
466
|
* @returns {void}
|
|
467
467
|
*/
|
|
468
468
|
$set(t) {
|
|
469
|
-
this.$$set && !
|
|
469
|
+
this.$$set && !ft(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
const
|
|
473
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
474
|
-
const
|
|
472
|
+
const At = "4";
|
|
473
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(At);
|
|
474
|
+
const Mt = (e) => (n) => {
|
|
475
475
|
Object.keys(e).map((s) => {
|
|
476
476
|
if (n.data && n.data.type == s) {
|
|
477
|
-
const
|
|
478
|
-
e[s](
|
|
477
|
+
const i = n.data, { type: o } = i, r = J(i, ["type"]);
|
|
478
|
+
e[s](r);
|
|
479
479
|
}
|
|
480
480
|
});
|
|
481
|
-
},
|
|
482
|
-
const t =
|
|
483
|
-
|
|
481
|
+
}, Nt = (e) => {
|
|
482
|
+
const t = Mt(e);
|
|
483
|
+
st(() => (window.addEventListener("message", t, !1), () => {
|
|
484
484
|
window.removeEventListener("message", t);
|
|
485
485
|
}));
|
|
486
486
|
};
|
|
487
|
-
function
|
|
488
|
-
|
|
487
|
+
function Ft(e) {
|
|
488
|
+
dt(e, "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}");
|
|
489
489
|
}
|
|
490
490
|
function W(e, t, n) {
|
|
491
491
|
const s = e.slice();
|
|
492
|
-
return s[
|
|
492
|
+
return s[15] = t[n], s;
|
|
493
493
|
}
|
|
494
494
|
function X(e) {
|
|
495
|
+
let t, n = Q(
|
|
496
|
+
/*__tabs*/
|
|
497
|
+
e[5]
|
|
498
|
+
), s = [];
|
|
499
|
+
for (let i = 0; i < n.length; i += 1)
|
|
500
|
+
s[i] = Z(W(e, n, i));
|
|
501
|
+
return {
|
|
502
|
+
c() {
|
|
503
|
+
t = _("ul");
|
|
504
|
+
for (let i = 0; i < s.length; i += 1)
|
|
505
|
+
s[i].c();
|
|
506
|
+
$(t, "part", "ul");
|
|
507
|
+
},
|
|
508
|
+
m(i, o) {
|
|
509
|
+
x(i, t, o);
|
|
510
|
+
for (let r = 0; r < s.length; r += 1)
|
|
511
|
+
s[r] && s[r].m(t, null);
|
|
512
|
+
},
|
|
513
|
+
p(i, o) {
|
|
514
|
+
if (o & /*__tab, __tabs, window, totalReceiver, textReceiver*/
|
|
515
|
+
60) {
|
|
516
|
+
n = Q(
|
|
517
|
+
/*__tabs*/
|
|
518
|
+
i[5]
|
|
519
|
+
);
|
|
520
|
+
let r;
|
|
521
|
+
for (r = 0; r < n.length; r += 1) {
|
|
522
|
+
const c = W(i, n, r);
|
|
523
|
+
s[r] ? s[r].p(c, o) : (s[r] = Z(c), s[r].c(), s[r].m(t, null));
|
|
524
|
+
}
|
|
525
|
+
for (; r < s.length; r += 1)
|
|
526
|
+
s[r].d(1);
|
|
527
|
+
s.length = n.length;
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
d(i) {
|
|
531
|
+
i && E(t), gt(s, i);
|
|
532
|
+
}
|
|
533
|
+
};
|
|
534
|
+
}
|
|
535
|
+
function Y(e) {
|
|
495
536
|
let t, n, s = (
|
|
496
537
|
/*totalReceiver*/
|
|
497
|
-
e[
|
|
538
|
+
e[2][
|
|
498
539
|
/*_tab*/
|
|
499
|
-
e[
|
|
540
|
+
e[15]
|
|
500
541
|
] + ""
|
|
501
|
-
),
|
|
542
|
+
), i;
|
|
502
543
|
return {
|
|
503
544
|
c() {
|
|
504
|
-
t = _("sup"), n = _("span"),
|
|
545
|
+
t = _("sup"), n = _("span"), i = H(s), $(n, "part", "SupText"), $(t, "part", "sup");
|
|
505
546
|
},
|
|
506
|
-
m(
|
|
507
|
-
|
|
547
|
+
m(o, r) {
|
|
548
|
+
x(o, t, r), p(t, n), p(n, i);
|
|
508
549
|
},
|
|
509
|
-
p(
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
550
|
+
p(o, r) {
|
|
551
|
+
r & /*totalReceiver, __tabs*/
|
|
552
|
+
36 && s !== (s = /*totalReceiver*/
|
|
553
|
+
o[2][
|
|
513
554
|
/*_tab*/
|
|
514
|
-
|
|
515
|
-
] + "") &&
|
|
555
|
+
o[15]
|
|
556
|
+
] + "") && nt(i, s);
|
|
516
557
|
},
|
|
517
|
-
d(
|
|
518
|
-
|
|
558
|
+
d(o) {
|
|
559
|
+
o && E(t);
|
|
519
560
|
}
|
|
520
561
|
};
|
|
521
562
|
}
|
|
522
|
-
function
|
|
563
|
+
function Z(e) {
|
|
523
564
|
let t, n, s = (
|
|
524
565
|
/*textReceiver*/
|
|
525
|
-
e[
|
|
566
|
+
e[3][
|
|
526
567
|
/*_tab*/
|
|
527
|
-
e[
|
|
568
|
+
e[15]
|
|
528
569
|
] + ""
|
|
529
|
-
),
|
|
570
|
+
), i, o, r, c, u, l, g, a = (
|
|
530
571
|
/*totalReceiver*/
|
|
531
|
-
e[
|
|
572
|
+
e[2][
|
|
532
573
|
/*_tab*/
|
|
533
|
-
e[
|
|
534
|
-
] >= 0 &&
|
|
574
|
+
e[15]
|
|
575
|
+
] >= 0 && Y(e)
|
|
535
576
|
);
|
|
536
|
-
function
|
|
577
|
+
function m() {
|
|
537
578
|
return (
|
|
538
579
|
/*click_handler*/
|
|
539
|
-
e[
|
|
580
|
+
e[10](
|
|
540
581
|
/*_tab*/
|
|
541
|
-
e[
|
|
582
|
+
e[15]
|
|
542
583
|
)
|
|
543
584
|
);
|
|
544
585
|
}
|
|
545
586
|
return {
|
|
546
587
|
c() {
|
|
547
|
-
t = _("li"), n = _("span"),
|
|
548
|
-
e[
|
|
549
|
-
e[
|
|
550
|
-
e[
|
|
551
|
-
(e[
|
|
552
|
-
e[
|
|
588
|
+
t = _("li"), n = _("span"), i = H(s), o = G(), a && a.c(), r = G(), $(n, "part", "LiText"), $(t, "class", c = /*__tab*/
|
|
589
|
+
e[4] === /*_tab*/
|
|
590
|
+
e[15] ? "active" : ""), $(t, "part", u = `${/*_tab*/
|
|
591
|
+
e[15]} li ` + /*__tab*/
|
|
592
|
+
(e[4] === /*_tab*/
|
|
593
|
+
e[15] ? "active" : ""));
|
|
553
594
|
},
|
|
554
|
-
m(b,
|
|
555
|
-
|
|
595
|
+
m(b, h) {
|
|
596
|
+
x(b, t, h), p(t, n), p(n, i), p(t, o), a && a.m(t, null), p(t, r), l || (g = bt(t, "click", m), l = !0);
|
|
556
597
|
},
|
|
557
|
-
p(b,
|
|
558
|
-
e = b,
|
|
559
|
-
|
|
560
|
-
e[
|
|
598
|
+
p(b, h) {
|
|
599
|
+
e = b, h & /*textReceiver, __tabs*/
|
|
600
|
+
40 && s !== (s = /*textReceiver*/
|
|
601
|
+
e[3][
|
|
561
602
|
/*_tab*/
|
|
562
|
-
e[
|
|
563
|
-
] + "") &&
|
|
564
|
-
e[
|
|
603
|
+
e[15]
|
|
604
|
+
] + "") && nt(i, s), /*totalReceiver*/
|
|
605
|
+
e[2][
|
|
565
606
|
/*_tab*/
|
|
566
|
-
e[
|
|
567
|
-
] >= 0 ? a ? a.p(e,
|
|
568
|
-
|
|
569
|
-
e[
|
|
570
|
-
e[
|
|
571
|
-
|
|
572
|
-
e[
|
|
573
|
-
(e[
|
|
574
|
-
e[
|
|
607
|
+
e[15]
|
|
608
|
+
] >= 0 ? a ? a.p(e, h) : (a = Y(e), a.c(), a.m(t, r)) : a && (a.d(1), a = null), h & /*__tab, __tabs*/
|
|
609
|
+
48 && c !== (c = /*__tab*/
|
|
610
|
+
e[4] === /*_tab*/
|
|
611
|
+
e[15] ? "active" : "") && $(t, "class", c), h & /*__tabs, __tab*/
|
|
612
|
+
48 && u !== (u = `${/*_tab*/
|
|
613
|
+
e[15]} li ` + /*__tab*/
|
|
614
|
+
(e[4] === /*_tab*/
|
|
615
|
+
e[15] ? "active" : "")) && $(t, "part", u);
|
|
575
616
|
},
|
|
576
617
|
d(b) {
|
|
577
|
-
b &&
|
|
618
|
+
b && E(t), a && a.d(), l = !1, g();
|
|
578
619
|
}
|
|
579
620
|
};
|
|
580
621
|
}
|
|
581
|
-
function
|
|
582
|
-
let t, n
|
|
583
|
-
/*
|
|
584
|
-
e[
|
|
585
|
-
)
|
|
586
|
-
for (let i = 0; i < s.length; i += 1)
|
|
587
|
-
o[i] = Y(W(e, s, i));
|
|
622
|
+
function Pt(e) {
|
|
623
|
+
let t, n = (
|
|
624
|
+
/*isTitleInited*/
|
|
625
|
+
e[1] && X(e)
|
|
626
|
+
);
|
|
588
627
|
return {
|
|
589
628
|
c() {
|
|
590
|
-
t = _("div"), n
|
|
591
|
-
for (let i = 0; i < o.length; i += 1)
|
|
592
|
-
o[i].c();
|
|
593
|
-
g(n, "part", "ul"), g(t, "class", "casino-tournaments-tab"), g(t, "part", "CustomStylingContainer");
|
|
629
|
+
t = _("div"), n && n.c(), $(t, "class", "casino-tournaments-tab"), $(t, "part", "CustomStylingContainer");
|
|
594
630
|
},
|
|
595
|
-
m(
|
|
596
|
-
|
|
597
|
-
for (let r = 0; r < o.length; r += 1)
|
|
598
|
-
o[r] && o[r].m(n, null);
|
|
599
|
-
e[10](t);
|
|
631
|
+
m(s, i) {
|
|
632
|
+
x(s, t, i), n && n.m(t, null), e[11](t);
|
|
600
633
|
},
|
|
601
|
-
p(
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
s = Q(
|
|
605
|
-
/*__tabs*/
|
|
606
|
-
i[4]
|
|
607
|
-
);
|
|
608
|
-
let r;
|
|
609
|
-
for (r = 0; r < s.length; r += 1) {
|
|
610
|
-
const u = W(i, s, r);
|
|
611
|
-
o[r] ? o[r].p(u, l) : (o[r] = Y(u), o[r].c(), o[r].m(n, null));
|
|
612
|
-
}
|
|
613
|
-
for (; r < o.length; r += 1)
|
|
614
|
-
o[r].d(1);
|
|
615
|
-
o.length = s.length;
|
|
616
|
-
}
|
|
634
|
+
p(s, [i]) {
|
|
635
|
+
/*isTitleInited*/
|
|
636
|
+
s[1] ? n ? n.p(s, i) : (n = X(s), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
|
|
617
637
|
},
|
|
618
|
-
i:
|
|
619
|
-
o:
|
|
620
|
-
d(
|
|
621
|
-
|
|
638
|
+
i: T,
|
|
639
|
+
o: T,
|
|
640
|
+
d(s) {
|
|
641
|
+
s && E(t), n && n.d(), e[11](null);
|
|
622
642
|
}
|
|
623
643
|
};
|
|
624
644
|
}
|
|
625
|
-
function
|
|
626
|
-
let s,
|
|
627
|
-
const
|
|
645
|
+
function Rt(e, t, n) {
|
|
646
|
+
let s, i, { tabs: o = "" } = t, { tab: r = void 0 } = t, { clientstyling: c = "" } = t, { clientstylingurl: u = "" } = t, l, g = !1, a = {}, m = {};
|
|
647
|
+
const b = () => {
|
|
628
648
|
let f = document.createElement("style");
|
|
629
|
-
f.innerHTML =
|
|
630
|
-
},
|
|
649
|
+
f.innerHTML = c, l.appendChild(f);
|
|
650
|
+
}, h = () => {
|
|
631
651
|
let f = new URL(u), U = document.createElement("style");
|
|
632
652
|
fetch(f.href).then((N) => N.text()).then((N) => {
|
|
633
653
|
U.innerHTML = N, setTimeout(
|
|
634
654
|
() => {
|
|
635
|
-
|
|
655
|
+
l.appendChild(U);
|
|
636
656
|
},
|
|
637
657
|
1
|
|
638
658
|
), setTimeout(
|
|
@@ -642,91 +662,92 @@ function Ft(e, t, n) {
|
|
|
642
662
|
);
|
|
643
663
|
});
|
|
644
664
|
};
|
|
645
|
-
|
|
665
|
+
Nt({
|
|
646
666
|
TournamentsTabTotalUpdate: (f) => {
|
|
647
|
-
n(
|
|
667
|
+
n(2, a = S(O({}, a), {
|
|
648
668
|
[f.state]: f.total
|
|
649
669
|
}));
|
|
650
670
|
},
|
|
651
671
|
TournamentsTabLocaleTextUpdate: (f) => {
|
|
652
|
-
n(
|
|
672
|
+
n(1, g = !0), n(3, m = S(O({}, m), { [f.state]: f.text }));
|
|
653
673
|
}
|
|
654
|
-
}),
|
|
674
|
+
}), st(() => {
|
|
655
675
|
window.postMessage({ type: "TournamentsTabListenerLoaded" }, window.location.href);
|
|
656
676
|
});
|
|
657
|
-
const
|
|
658
|
-
n(
|
|
677
|
+
const ot = (f) => {
|
|
678
|
+
n(4, i = f), window.postMessage({ type: "TournamentsTabSwitch", tab: f }, window.location.href);
|
|
659
679
|
};
|
|
660
|
-
function
|
|
680
|
+
function rt(f) {
|
|
661
681
|
R[f ? "unshift" : "push"](() => {
|
|
662
|
-
|
|
682
|
+
l = f, n(0, l);
|
|
663
683
|
});
|
|
664
684
|
}
|
|
665
685
|
return e.$$set = (f) => {
|
|
666
|
-
"tabs" in f && n(
|
|
686
|
+
"tabs" in f && n(6, o = f.tabs), "tab" in f && n(7, r = f.tab), "clientstyling" in f && n(8, c = f.clientstyling), "clientstylingurl" in f && n(9, u = f.clientstylingurl);
|
|
667
687
|
}, e.$$.update = () => {
|
|
668
688
|
e.$$.dirty & /*customStylingContainer, clientstyling*/
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
689
|
+
257 && l && c && b(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
|
|
690
|
+
513 && l && u && h(), e.$$.dirty & /*tabs*/
|
|
691
|
+
64 && n(5, s = o.split(",")), e.$$.dirty & /*tab*/
|
|
692
|
+
128 && n(4, i = r);
|
|
673
693
|
}, [
|
|
674
|
-
|
|
675
|
-
|
|
694
|
+
l,
|
|
695
|
+
g,
|
|
676
696
|
a,
|
|
677
|
-
|
|
678
|
-
s,
|
|
697
|
+
m,
|
|
679
698
|
i,
|
|
680
|
-
|
|
699
|
+
s,
|
|
700
|
+
o,
|
|
681
701
|
r,
|
|
702
|
+
c,
|
|
682
703
|
u,
|
|
683
|
-
|
|
684
|
-
|
|
704
|
+
ot,
|
|
705
|
+
rt
|
|
685
706
|
];
|
|
686
707
|
}
|
|
687
|
-
class
|
|
708
|
+
class zt extends St {
|
|
688
709
|
constructor(t) {
|
|
689
|
-
super(),
|
|
710
|
+
super(), jt(
|
|
690
711
|
this,
|
|
691
712
|
t,
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
713
|
+
Rt,
|
|
714
|
+
Pt,
|
|
715
|
+
at,
|
|
695
716
|
{
|
|
696
|
-
tabs:
|
|
697
|
-
tab:
|
|
698
|
-
clientstyling:
|
|
699
|
-
clientstylingurl:
|
|
717
|
+
tabs: 6,
|
|
718
|
+
tab: 7,
|
|
719
|
+
clientstyling: 8,
|
|
720
|
+
clientstylingurl: 9
|
|
700
721
|
},
|
|
701
|
-
|
|
722
|
+
Ft
|
|
702
723
|
);
|
|
703
724
|
}
|
|
704
725
|
get tabs() {
|
|
705
|
-
return this.$$.ctx[
|
|
726
|
+
return this.$$.ctx[6];
|
|
706
727
|
}
|
|
707
728
|
set tabs(t) {
|
|
708
729
|
this.$$set({ tabs: t }), v();
|
|
709
730
|
}
|
|
710
731
|
get tab() {
|
|
711
|
-
return this.$$.ctx[
|
|
732
|
+
return this.$$.ctx[7];
|
|
712
733
|
}
|
|
713
734
|
set tab(t) {
|
|
714
735
|
this.$$set({ tab: t }), v();
|
|
715
736
|
}
|
|
716
737
|
get clientstyling() {
|
|
717
|
-
return this.$$.ctx[
|
|
738
|
+
return this.$$.ctx[8];
|
|
718
739
|
}
|
|
719
740
|
set clientstyling(t) {
|
|
720
741
|
this.$$set({ clientstyling: t }), v();
|
|
721
742
|
}
|
|
722
743
|
get clientstylingurl() {
|
|
723
|
-
return this.$$.ctx[
|
|
744
|
+
return this.$$.ctx[9];
|
|
724
745
|
}
|
|
725
746
|
set clientstylingurl(t) {
|
|
726
747
|
this.$$set({ clientstylingurl: t }), v();
|
|
727
748
|
}
|
|
728
749
|
}
|
|
729
|
-
|
|
750
|
+
Ot(zt, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
730
751
|
export {
|
|
731
|
-
|
|
752
|
+
zt as default
|
|
732
753
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var ct=Object.defineProperty,ut=Object.defineProperties;var at=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var F=(e,t,n)=>t in e?ct(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,O=(e,t)=>{for(var n in t||(t={}))I.call(t,n)&&F(e,n,t[n]);if(j)for(var n of j(t))D.call(t,n)&&F(e,n,t[n]);return e},x=(e,t)=>ut(e,at(t));var J=(e,t)=>{var n={};for(var s in e)I.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&j)for(var s of j(e))t.indexOf(s)<0&&D.call(e,s)&&(n[s]=e[s]);return n};var d=(e,t,n)=>F(e,typeof t!="symbol"?t+"":t,n);var V=(e,t,n)=>new Promise((s,i)=>{var o=u=>{try{c(n.next(u))}catch(l){i(l)}},r=u=>{try{c(n.throw(u))}catch(l){i(l)}},c=u=>u.done?s(u.value):Promise.resolve(u.value).then(o,r);c((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function L(){}function tt(e){return e()}function q(){return Object.create(null)}function A(e){e.forEach(tt)}function et(e){return typeof e=="function"}function ft(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function dt(e){return Object.keys(e).length===0}function p(e,t){e.appendChild(t)}function ht(e,t,n){const s=$t(e);if(!s.getElementById(t)){const i=_("style");i.id=t,i.textContent=n,gt(s,i)}}function $t(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function gt(e,t){return p(e.head||e,t),t.sheet}function S(e,t,n){e.insertBefore(t,n||null)}function E(e){e.parentNode&&e.parentNode.removeChild(e)}function bt(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function _(e){return document.createElement(e)}function H(e){return document.createTextNode(e)}function G(){return H(" ")}function mt(e,t,n,s){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n,s)}function $(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function _t(e){return Array.from(e.childNodes)}function nt(e,t){t=""+t,e.data!==t&&(e.data=t)}function pt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let C;function T(e){C=e}function yt(){if(!C)throw new Error("Function called outside component initialization");return C}function st(e){yt().$$.on_mount.push(e)}const w=[],R=[];let k=[];const K=[],wt=Promise.resolve();let z=!1;function vt(){z||(z=!0,wt.then(v))}function B(e){k.push(e)}const P=new Set;let y=0;function v(){if(y!==0)return;const e=C;do{try{for(;y<w.length;){const t=w[y];y++,T(t),kt(t.$$)}}catch(t){throw w.length=0,y=0,t}for(T(null),w.length=0,y=0;R.length;)R.pop()();for(let t=0;t<k.length;t+=1){const n=k[t];P.has(n)||(P.add(n),n())}k.length=0}while(w.length);for(;K.length;)K.pop()();z=!1,P.clear(),T(e)}function kt(e){if(e.fragment!==null){e.update(),A(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(B)}}function Et(e){const t=[],n=[];k.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),k=t}const Tt=new Set;function Lt(e,t){e&&e.i&&(Tt.delete(e),e.i(t))}function Q(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Ct(e,t,n){const{fragment:s,after_update:i}=e.$$;s&&s.m(t,n),B(()=>{const o=e.$$.on_mount.map(tt).filter(et);e.$$.on_destroy?e.$$.on_destroy.push(...o):A(o),e.$$.on_mount=[]}),i.forEach(B)}function St(e,t){const n=e.$$;n.fragment!==null&&(Et(n.after_update),A(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function jt(e,t){e.$$.dirty[0]===-1&&(w.push(e),vt(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ot(e,t,n,s,i,o,r=null,c=[-1]){const u=C;T(e);const l=e.$$={fragment:null,ctx:[],props:o,update:L,not_equal:i,bound:q(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:q(),dirty:c,skip_bound:!1,root:t.target||u.$$.root};r&&r(l.root);let g=!1;if(l.ctx=n?n(e,t.props||{},(a,m,...b)=>{const h=b.length?b[0]:m;return l.ctx&&i(l.ctx[a],l.ctx[a]=h)&&(!l.skip_bound&&l.bound[a]&&l.bound[a](h),g&&jt(e,a)),m}):[],l.update(),g=!0,A(l.before_update),l.fragment=s?s(l.ctx):!1,t.target){if(t.hydrate){const a=_t(t.target);l.fragment&&l.fragment.l(a),a.forEach(E)}else l.fragment&&l.fragment.c();t.intro&&Lt(e.$$.fragment),Ct(e,t.target,t.anchor),v()}T(u)}let it;typeof HTMLElement=="function"&&(it=class extends HTMLElement{constructor(t,n,s){super();d(this,"$$ctor");d(this,"$$s");d(this,"$$c");d(this,"$$cn",!1);d(this,"$$d",{});d(this,"$$r",!1);d(this,"$$p_d",{});d(this,"$$l",{});d(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(t,n,s){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const i=this.$$c.$on(t,n);this.$$l_u.set(n,i)}super.addEventListener(t,n,s)}removeEventListener(t,n,s){if(super.removeEventListener(t,n,s),this.$$c){const i=this.$$l_u.get(n);i&&(i(),this.$$l_u.delete(n))}}connectedCallback(){return V(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let r;return{c:function(){r=_("slot"),o!=="default"&&$(r,"name",o)},m:function(l,g){S(l,r,g)},d:function(l){l&&E(r)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=pt(this);for(const o of this.$$s)o in s&&(n[o]=[t(o)]);for(const o of this.attributes){const r=this.$$g_p(o.name);r in this.$$d||(this.$$d[r]=M(r,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:x(O({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const r=M(o,this.$$d[o],this.$$p_d,"toAttribute");r==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,r)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const r of this.$$l[o]){const c=this.$$c.$on(o,r);this.$$l_u.set(r,c)}this.$$l={}}})}attributeChangedCallback(t,n,s){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=M(t,s,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function M(e,t,n,s){var o;const i=(o=n[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!n[e])return t;if(s==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function xt(e,t,n,s,i,o){let r=class extends it{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(c=>(t[c].attribute||c).toLowerCase())}};return Object.keys(t).forEach(c=>{Object.defineProperty(r.prototype,c,{get(){return this.$$c&&c in this.$$c?this.$$c[c]:this.$$d[c]},set(u){var l;u=M(c,u,t),this.$$d[c]=u,(l=this.$$c)==null||l.$set({[c]:u})}})}),s.forEach(c=>{Object.defineProperty(r.prototype,c,{get(){var u;return(u=this.$$c)==null?void 0:u[c]}})}),e.element=r,r}class Mt{constructor(){d(this,"$$");d(this,"$$set")}$destroy(){St(this,1),this.$destroy=L}$on(t,n){if(!et(n))return L;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const i=s.indexOf(n);i!==-1&&s.splice(i,1)}}$set(t){this.$$set&&!dt(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const At="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(At);const Nt=e=>n=>{Object.keys(e).map(s=>{if(n.data&&n.data.type==s){const i=n.data,{type:o}=i,r=J(i,["type"]);e[s](r)}})},Ft=e=>{const t=Nt(e);st(()=>(window.addEventListener("message",t,!1),()=>{window.removeEventListener("message",t)}))};function Pt(e){ht(e,"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}")}function W(e,t,n){const s=e.slice();return s[15]=t[n],s}function X(e){let t,n=Q(e[5]),s=[];for(let i=0;i<n.length;i+=1)s[i]=Z(W(e,n,i));return{c(){t=_("ul");for(let i=0;i<s.length;i+=1)s[i].c();$(t,"part","ul")},m(i,o){S(i,t,o);for(let r=0;r<s.length;r+=1)s[r]&&s[r].m(t,null)},p(i,o){if(o&60){n=Q(i[5]);let r;for(r=0;r<n.length;r+=1){const c=W(i,n,r);s[r]?s[r].p(c,o):(s[r]=Z(c),s[r].c(),s[r].m(t,null))}for(;r<s.length;r+=1)s[r].d(1);s.length=n.length}},d(i){i&&E(t),bt(s,i)}}}function Y(e){let t,n,s=e[2][e[15]]+"",i;return{c(){t=_("sup"),n=_("span"),i=H(s),$(n,"part","SupText"),$(t,"part","sup")},m(o,r){S(o,t,r),p(t,n),p(n,i)},p(o,r){r&36&&s!==(s=o[2][o[15]]+"")&&nt(i,s)},d(o){o&&E(t)}}}function Z(e){let t,n,s=e[3][e[15]]+"",i,o,r,c,u,l,g,a=e[2][e[15]]>=0&&Y(e);function m(){return e[10](e[15])}return{c(){t=_("li"),n=_("span"),i=H(s),o=G(),a&&a.c(),r=G(),$(n,"part","LiText"),$(t,"class",c=e[4]===e[15]?"active":""),$(t,"part",u=`${e[15]} li `+(e[4]===e[15]?"active":""))},m(b,h){S(b,t,h),p(t,n),p(n,i),p(t,o),a&&a.m(t,null),p(t,r),l||(g=mt(t,"click",m),l=!0)},p(b,h){e=b,h&40&&s!==(s=e[3][e[15]]+"")&&nt(i,s),e[2][e[15]]>=0?a?a.p(e,h):(a=Y(e),a.c(),a.m(t,r)):a&&(a.d(1),a=null),h&48&&c!==(c=e[4]===e[15]?"active":"")&&$(t,"class",c),h&48&&u!==(u=`${e[15]} li `+(e[4]===e[15]?"active":""))&&$(t,"part",u)},d(b){b&&E(t),a&&a.d(),l=!1,g()}}}function Rt(e){let t,n=e[1]&&X(e);return{c(){t=_("div"),n&&n.c(),$(t,"class","casino-tournaments-tab"),$(t,"part","CustomStylingContainer")},m(s,i){S(s,t,i),n&&n.m(t,null),e[11](t)},p(s,[i]){s[1]?n?n.p(s,i):(n=X(s),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},i:L,o:L,d(s){s&&E(t),n&&n.d(),e[11](null)}}}function zt(e,t,n){let s,i,{tabs:o=""}=t,{tab:r=void 0}=t,{clientstyling:c=""}=t,{clientstylingurl:u=""}=t,l,g=!1,a={},m={};const b=()=>{let f=document.createElement("style");f.innerHTML=c,l.appendChild(f)},h=()=>{let f=new URL(u),U=document.createElement("style");fetch(f.href).then(N=>N.text()).then(N=>{U.innerHTML=N,setTimeout(()=>{l.appendChild(U)},1),setTimeout(()=>{},500)})};Ft({TournamentsTabTotalUpdate:f=>{n(2,a=x(O({},a),{[f.state]:f.total}))},TournamentsTabLocaleTextUpdate:f=>{n(1,g=!0),n(3,m=x(O({},m),{[f.state]:f.text}))}}),st(()=>{window.postMessage({type:"TournamentsTabListenerLoaded"},window.location.href)});const rt=f=>{n(4,i=f),window.postMessage({type:"TournamentsTabSwitch",tab:f},window.location.href)};function lt(f){R[f?"unshift":"push"](()=>{l=f,n(0,l)})}return e.$$set=f=>{"tabs"in f&&n(6,o=f.tabs),"tab"in f&&n(7,r=f.tab),"clientstyling"in f&&n(8,c=f.clientstyling),"clientstylingurl"in f&&n(9,u=f.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&257&&l&&c&&b(),e.$$.dirty&513&&l&&u&&h(),e.$$.dirty&64&&n(5,s=o.split(",")),e.$$.dirty&128&&n(4,i=r)},[l,g,a,m,i,s,o,r,c,u,rt,lt]}class ot extends Mt{constructor(t){super(),Ot(this,t,zt,Rt,ft,{tabs:6,tab:7,clientstyling:8,clientstylingurl:9},Pt)}get tabs(){return this.$$.ctx[6]}set tabs(t){this.$$set({tabs:t}),v()}get tab(){return this.$$.ctx[7]}set tab(t){this.$$set({tab:t}),v()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(t){this.$$set({clientstyling:t}),v()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),v()}}xt(ot,{tabs:{},tab:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=ot;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){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"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsTab-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){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"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsTab-DAcZYcOh.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-tab")&&customElements.define("casino-tournaments-tab",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoTournamentsTab-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoTournamentsTab-ConoRW6u.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-tournaments-tab") && customElements.define("casino-tournaments-tab", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var rt=Object.defineProperty,lt=Object.defineProperties;var ct=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var F=(e,t,n)=>t in e?rt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))D.call(t,n)&&F(e,n,t[n]);if(x)for(var n of x(t))I.call(t,n)&&F(e,n,t[n]);return e},j=(e,t)=>lt(e,ct(t));var J=(e,t)=>{var n={};for(var s in e)D.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&x)for(var s of x(e))t.indexOf(s)<0&&I.call(e,s)&&(n[s]=e[s]);return n};var d=(e,t,n)=>F(e,typeof t!="symbol"?t+"":t,n);var V=(e,t,n)=>new Promise((s,o)=>{var i=u=>{try{r(n.next(u))}catch(c){o(c)}},l=u=>{try{r(n.throw(u))}catch(c){o(c)}},r=u=>u.done?s(u.value):Promise.resolve(u.value).then(i,l);r((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function L(){}function Z(e){return e()}function q(){return Object.create(null)}function M(e){e.forEach(Z)}function tt(e){return typeof e=="function"}function ut(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function at(e){return Object.keys(e).length===0}function m(e,t){e.appendChild(t)}function ft(e,t,n){const s=dt(e);if(!s.getElementById(t)){const o=_("style");o.id=t,o.textContent=n,ht(s,o)}}function dt(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ht(e,t){return m(e.head||e,t),t.sheet}function A(e,t,n){e.insertBefore(t,n||null)}function C(e){e.parentNode&&e.parentNode.removeChild(e)}function $t(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function _(e){return document.createElement(e)}function H(e){return document.createTextNode(e)}function G(){return H(" ")}function gt(e,t,n,s){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n,s)}function g(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function bt(e){return Array.from(e.childNodes)}function et(e,t){t=""+t,e.data!==t&&(e.data=t)}function mt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let T;function k(e){T=e}function _t(){if(!T)throw new Error("Function called outside component initialization");return T}function nt(e){_t().$$.on_mount.push(e)}const w=[],R=[];let E=[];const K=[],pt=Promise.resolve();let z=!1;function yt(){z||(z=!0,pt.then(v))}function B(e){E.push(e)}const P=new Set;let y=0;function v(){if(y!==0)return;const e=T;do{try{for(;y<w.length;){const t=w[y];y++,k(t),wt(t.$$)}}catch(t){throw w.length=0,y=0,t}for(k(null),w.length=0,y=0;R.length;)R.pop()();for(let t=0;t<E.length;t+=1){const n=E[t];P.has(n)||(P.add(n),n())}E.length=0}while(w.length);for(;K.length;)K.pop()();z=!1,P.clear(),k(e)}function wt(e){if(e.fragment!==null){e.update(),M(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(B)}}function vt(e){const t=[],n=[];E.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),E=t}const Et=new Set;function kt(e,t){e&&e.i&&(Et.delete(e),e.i(t))}function Q(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Lt(e,t,n){const{fragment:s,after_update:o}=e.$$;s&&s.m(t,n),B(()=>{const i=e.$$.on_mount.map(Z).filter(tt);e.$$.on_destroy?e.$$.on_destroy.push(...i):M(i),e.$$.on_mount=[]}),o.forEach(B)}function Tt(e,t){const n=e.$$;n.fragment!==null&&(vt(n.after_update),M(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Ct(e,t){e.$$.dirty[0]===-1&&(w.push(e),yt(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function xt(e,t,n,s,o,i,l=null,r=[-1]){const u=T;k(e);const c=e.$$={fragment:null,ctx:[],props:i,update:L,not_equal:o,bound:q(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:q(),dirty:r,skip_bound:!1,root:t.target||u.$$.root};l&&l(c.root);let h=!1;if(c.ctx=n?n(e,t.props||{},(a,p,...b)=>{const $=b.length?b[0]:p;return c.ctx&&o(c.ctx[a],c.ctx[a]=$)&&(!c.skip_bound&&c.bound[a]&&c.bound[a]($),h&&Ct(e,a)),p}):[],c.update(),h=!0,M(c.before_update),c.fragment=s?s(c.ctx):!1,t.target){if(t.hydrate){const a=bt(t.target);c.fragment&&c.fragment.l(a),a.forEach(C)}else c.fragment&&c.fragment.c();t.intro&&kt(e.$$.fragment),Lt(e,t.target,t.anchor),v()}k(u)}let st;typeof HTMLElement=="function"&&(st=class extends HTMLElement{constructor(t,n,s){super();d(this,"$$ctor");d(this,"$$s");d(this,"$$c");d(this,"$$cn",!1);d(this,"$$d",{});d(this,"$$r",!1);d(this,"$$p_d",{});d(this,"$$l",{});d(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(t,n,s){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const o=this.$$c.$on(t,n);this.$$l_u.set(n,o)}super.addEventListener(t,n,s)}removeEventListener(t,n,s){if(super.removeEventListener(t,n,s),this.$$c){const o=this.$$l_u.get(n);o&&(o(),this.$$l_u.delete(n))}}connectedCallback(){return V(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let l;return{c:function(){l=_("slot"),i!=="default"&&g(l,"name",i)},m:function(c,h){A(c,l,h)},d:function(c){c&&C(l)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=mt(this);for(const i of this.$$s)i in s&&(n[i]=[t(i)]);for(const i of this.attributes){const l=this.$$g_p(i.name);l in this.$$d||(this.$$d[l]=O(l,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:j(S({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const o=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const l=O(i,this.$$d[i],this.$$p_d,"toAttribute");l==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,l)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const i in this.$$l)for(const l of this.$$l[i]){const r=this.$$c.$on(i,l);this.$$l_u.set(l,r)}this.$$l={}}})}attributeChangedCallback(t,n,s){var o;this.$$r||(t=this.$$g_p(t),this.$$d[t]=O(t,s,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function O(e,t,n,s){var i;const o=(i=n[e])==null?void 0:i.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!n[e])return t;if(s==="toAttribute")switch(o){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function St(e,t,n,s,o,i){let l=class extends st{constructor(){super(e,n,o),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(r=>(t[r].attribute||r).toLowerCase())}};return Object.keys(t).forEach(r=>{Object.defineProperty(l.prototype,r,{get(){return this.$$c&&r in this.$$c?this.$$c[r]:this.$$d[r]},set(u){var c;u=O(r,u,t),this.$$d[r]=u,(c=this.$$c)==null||c.$set({[r]:u})}})}),s.forEach(r=>{Object.defineProperty(l.prototype,r,{get(){var u;return(u=this.$$c)==null?void 0:u[r]}})}),e.element=l,l}class jt{constructor(){d(this,"$$");d(this,"$$set")}$destroy(){Tt(this,1),this.$destroy=L}$on(t,n){if(!tt(n))return L;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const o=s.indexOf(n);o!==-1&&s.splice(o,1)}}$set(t){this.$$set&&!at(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ot="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ot);const Mt=e=>n=>{Object.keys(e).map(s=>{if(n.data&&n.data.type==s){const o=n.data,{type:i}=o,l=J(o,["type"]);e[s](l)}})},At=e=>{const t=Mt(e);nt(()=>(window.addEventListener("message",t,!1),()=>{window.removeEventListener("message",t)}))};function Nt(e){ft(e,"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}")}function W(e,t,n){const s=e.slice();return s[14]=t[n],s}function X(e){let t,n,s=e[1][e[14]]+"",o;return{c(){t=_("sup"),n=_("span"),o=H(s),g(n,"part","SupText"),g(t,"part","sup")},m(i,l){A(i,t,l),m(t,n),m(n,o)},p(i,l){l&18&&s!==(s=i[1][i[14]]+"")&&et(o,s)},d(i){i&&C(t)}}}function Y(e){let t,n,s=e[2][e[14]]+"",o,i,l,r,u,c,h,a=e[1][e[14]]>=0&&X(e);function p(){return e[9](e[14])}return{c(){t=_("li"),n=_("span"),o=H(s),i=G(),a&&a.c(),l=G(),g(n,"part","LiText"),g(t,"class",r=e[3]===e[14]?"active":""),g(t,"part",u=`${e[14]} li `+(e[3]===e[14]?"active":""))},m(b,$){A(b,t,$),m(t,n),m(n,o),m(t,i),a&&a.m(t,null),m(t,l),c||(h=gt(t,"click",p),c=!0)},p(b,$){e=b,$&20&&s!==(s=e[2][e[14]]+"")&&et(o,s),e[1][e[14]]>=0?a?a.p(e,$):(a=X(e),a.c(),a.m(t,l)):a&&(a.d(1),a=null),$&24&&r!==(r=e[3]===e[14]?"active":"")&&g(t,"class",r),$&24&&u!==(u=`${e[14]} li `+(e[3]===e[14]?"active":""))&&g(t,"part",u)},d(b){b&&C(t),a&&a.d(),c=!1,h()}}}function Ft(e){let t,n,s=Q(e[4]),o=[];for(let i=0;i<s.length;i+=1)o[i]=Y(W(e,s,i));return{c(){t=_("div"),n=_("ul");for(let i=0;i<o.length;i+=1)o[i].c();g(n,"part","ul"),g(t,"class","casino-tournaments-tab"),g(t,"part","CustomStylingContainer")},m(i,l){A(i,t,l),m(t,n);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(n,null);e[10](t)},p(i,[l]){if(l&30){s=Q(i[4]);let r;for(r=0;r<s.length;r+=1){const u=W(i,s,r);o[r]?o[r].p(u,l):(o[r]=Y(u),o[r].c(),o[r].m(n,null))}for(;r<o.length;r+=1)o[r].d(1);o.length=s.length}},i:L,o:L,d(i){i&&C(t),$t(o,i),e[10](null)}}}function Pt(e,t,n){let s,o,{tabs:i=""}=t,{tab:l=void 0}=t,{clientstyling:r=""}=t,{clientstylingurl:u=""}=t,c,h={},a={};const p=()=>{let f=document.createElement("style");f.innerHTML=r,c.appendChild(f)},b=()=>{let f=new URL(u),U=document.createElement("style");fetch(f.href).then(N=>N.text()).then(N=>{U.innerHTML=N,setTimeout(()=>{c.appendChild(U)},1),setTimeout(()=>{},500)})};At({TournamentsTabTotalUpdate:f=>{n(1,h=j(S({},h),{[f.state]:f.total}))},TournamentsTabLocaleTextUpdate:f=>{n(2,a=j(S({},a),{[f.state]:f.text}))}}),nt(()=>{window.postMessage({type:"TournamentsTabListenerLoaded"},window.location.href)});const $=f=>{n(3,o=f),window.postMessage({type:"TournamentsTabSwitch",tab:f},window.location.href)};function ot(f){R[f?"unshift":"push"](()=>{c=f,n(0,c)})}return e.$$set=f=>{"tabs"in f&&n(5,i=f.tabs),"tab"in f&&n(6,l=f.tab),"clientstyling"in f&&n(7,r=f.clientstyling),"clientstylingurl"in f&&n(8,u=f.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&129&&c&&r&&p(),e.$$.dirty&257&&c&&u&&b(),e.$$.dirty&32&&n(4,s=i.split(",")),e.$$.dirty&64&&n(3,o=l)},[c,h,a,o,s,i,l,r,u,$,ot]}class it extends jt{constructor(t){super(),xt(this,t,Pt,Ft,ut,{tabs:5,tab:6,clientstyling:7,clientstylingurl:8},Nt)}get tabs(){return this.$$.ctx[5]}set tabs(t){this.$$set({tabs:t}),v()}get tab(){return this.$$.ctx[6]}set tab(t){this.$$set({tab:t}),v()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),v()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),v()}}St(it,{tabs:{},tab:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=it;
|