@everymatrix/casino-tournaments-customize-page-controller 1.87.27 → 1.87.29
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/{CasinoTournamentsCustomizePageController-C9zsAVOd.cjs → CasinoTournamentsCustomizePageController-BF3FwTV4.cjs} +5 -5
- package/components/{CasinoTournamentsCustomizePageController-sjAbJz9A.js → CasinoTournamentsCustomizePageController-Bd8Ex_Vh.js} +290 -290
- package/components/{CasinoTournamentsCustomizePageController-Dx9Fqaou.js → CasinoTournamentsCustomizePageController-C7KWb2X_.js} +287 -287
- package/es2015/casino-tournaments-customize-page-controller.cjs +1 -1
- package/es2015/casino-tournaments-customize-page-controller.js +1 -1
- package/esnext/casino-tournaments-customize-page-controller.js +1 -1
- package/package.json +1 -1
|
@@ -4402,21 +4402,21 @@ var Fi = { exports: {} };
|
|
|
4402
4402
|
(function(e, t) {
|
|
4403
4403
|
(function(r) {
|
|
4404
4404
|
var n = r.setTimeout, i = r.clearTimeout, a = r.XMLHttpRequest, s = r.XDomainRequest, o = r.ActiveXObject, l = r.EventSource, u = r.document, f = r.Promise, d = r.fetch, h = r.Response, g = r.TextDecoder, y = r.TextEncoder, p = r.AbortController;
|
|
4405
|
-
if (typeof window < "u" && typeof u < "u" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(
|
|
4405
|
+
if (typeof window < "u" && typeof u < "u" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(k) {
|
|
4406
4406
|
u.readyState = "complete";
|
|
4407
4407
|
}, !1)), a == null && o != null && (a = function() {
|
|
4408
4408
|
return new o("Microsoft.XMLHTTP");
|
|
4409
|
-
}), Object.create == null && (Object.create = function(
|
|
4409
|
+
}), Object.create == null && (Object.create = function(k) {
|
|
4410
4410
|
function N() {
|
|
4411
4411
|
}
|
|
4412
|
-
return N.prototype =
|
|
4412
|
+
return N.prototype = k, new N();
|
|
4413
4413
|
}), Date.now || (Date.now = function() {
|
|
4414
4414
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
4415
4415
|
}), p == null) {
|
|
4416
4416
|
var S = d;
|
|
4417
|
-
d = function(
|
|
4417
|
+
d = function(k, N) {
|
|
4418
4418
|
var q = N.signal;
|
|
4419
|
-
return S(
|
|
4419
|
+
return S(k, { headers: N.headers, credentials: N.credentials, cache: N.cache }).then(function(z) {
|
|
4420
4420
|
var ae = z.body.getReader();
|
|
4421
4421
|
return q._reader = ae, q._aborted && q._reader.cancel(), {
|
|
4422
4422
|
status: z.status,
|
|
@@ -4441,27 +4441,27 @@ var Fi = { exports: {} };
|
|
|
4441
4441
|
function D() {
|
|
4442
4442
|
this.bitsNeeded = 0, this.codePoint = 0;
|
|
4443
4443
|
}
|
|
4444
|
-
D.prototype.decode = function(
|
|
4445
|
-
function N(
|
|
4444
|
+
D.prototype.decode = function(k) {
|
|
4445
|
+
function N(re, se, Z) {
|
|
4446
4446
|
if (Z === 1)
|
|
4447
|
-
return
|
|
4447
|
+
return re >= 128 >> se && re << se <= 2047;
|
|
4448
4448
|
if (Z === 2)
|
|
4449
|
-
return
|
|
4449
|
+
return re >= 2048 >> se && re << se <= 55295 || re >= 57344 >> se && re << se <= 65535;
|
|
4450
4450
|
if (Z === 3)
|
|
4451
|
-
return
|
|
4451
|
+
return re >= 65536 >> se && re << se <= 1114111;
|
|
4452
4452
|
throw new Error();
|
|
4453
4453
|
}
|
|
4454
|
-
function q(
|
|
4455
|
-
if (
|
|
4454
|
+
function q(re, se) {
|
|
4455
|
+
if (re === 6 * 1)
|
|
4456
4456
|
return se >> 6 > 15 ? 3 : se > 31 ? 2 : 1;
|
|
4457
|
-
if (
|
|
4457
|
+
if (re === 6 * 2)
|
|
4458
4458
|
return se > 15 ? 3 : 2;
|
|
4459
|
-
if (
|
|
4459
|
+
if (re === 6 * 3)
|
|
4460
4460
|
return 3;
|
|
4461
4461
|
throw new Error();
|
|
4462
4462
|
}
|
|
4463
|
-
for (var z = 65533, ae = "", Q = this.bitsNeeded, le = this.codePoint, P = 0; P <
|
|
4464
|
-
var X =
|
|
4463
|
+
for (var z = 65533, ae = "", Q = this.bitsNeeded, le = this.codePoint, P = 0; P < k.length; P += 1) {
|
|
4464
|
+
var X = k[P];
|
|
4465
4465
|
Q !== 0 && (X < 128 || X > 191 || !N(le << 6 | X & 63, Q - 6, q(Q, le))) && (Q = 0, le = z, ae += String.fromCharCode(le)), Q === 0 ? (X >= 0 && X <= 127 ? (Q = 0, le = X) : X >= 192 && X <= 223 ? (Q = 6 * 1, le = X & 31) : X >= 224 && X <= 239 ? (Q = 6 * 2, le = X & 15) : X >= 240 && X <= 247 ? (Q = 6 * 3, le = X & 7) : (Q = 0, le = z), Q !== 0 && !N(le, Q, q(Q, le)) && (Q = 0, le = z)) : (Q -= 6, le = le << 6 | X & 63), Q === 0 && (le <= 65535 ? ae += String.fromCharCode(le) : (ae += String.fromCharCode(55296 + (le - 65535 - 1 >> 10)), ae += String.fromCharCode(56320 + (le - 65535 - 1 & 1023))));
|
|
4466
4466
|
}
|
|
4467
4467
|
return this.bitsNeeded = Q, this.codePoint = le, ae;
|
|
@@ -4469,18 +4469,18 @@ var Fi = { exports: {} };
|
|
|
4469
4469
|
var E = function() {
|
|
4470
4470
|
try {
|
|
4471
4471
|
return new g().decode(new y().encode("test"), { stream: !0 }) === "test";
|
|
4472
|
-
} catch (
|
|
4473
|
-
console.debug("TextDecoder does not support streaming option. Using polyfill instead: " +
|
|
4472
|
+
} catch (k) {
|
|
4473
|
+
console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + k);
|
|
4474
4474
|
}
|
|
4475
4475
|
return !1;
|
|
4476
4476
|
};
|
|
4477
4477
|
(g == null || y == null || !E()) && (g = D);
|
|
4478
4478
|
var w = function() {
|
|
4479
4479
|
};
|
|
4480
|
-
function v(
|
|
4481
|
-
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = w, this.onload = w, this.onerror = w, this.onreadystatechange = w, this._contentType = "", this._xhr =
|
|
4480
|
+
function v(k) {
|
|
4481
|
+
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = w, this.onload = w, this.onerror = w, this.onreadystatechange = w, this._contentType = "", this._xhr = k, this._sendTimeout = 0, this._abort = w;
|
|
4482
4482
|
}
|
|
4483
|
-
v.prototype.open = function(
|
|
4483
|
+
v.prototype.open = function(k, N) {
|
|
4484
4484
|
this._abort(!0);
|
|
4485
4485
|
var q = this, z = this._xhr, ae = 1, Q = 0;
|
|
4486
4486
|
this._abort = function(Z) {
|
|
@@ -4523,7 +4523,7 @@ var Fi = { exports: {} };
|
|
|
4523
4523
|
throw new TypeError();
|
|
4524
4524
|
q.onreadystatechange();
|
|
4525
4525
|
}
|
|
4526
|
-
},
|
|
4526
|
+
}, re = function(Z) {
|
|
4527
4527
|
z != null && (z.readyState === 4 ? (!("onload" in z) || !("onerror" in z) || !("onabort" in z)) && X(z.responseText === "" ? "error" : "load", Z) : z.readyState === 3 ? "onprogress" in z || P() : z.readyState === 2 && le());
|
|
4528
4528
|
}, se = function() {
|
|
4529
4529
|
Q = n(function() {
|
|
@@ -4537,24 +4537,24 @@ var Fi = { exports: {} };
|
|
|
4537
4537
|
}), "onabort" in z && (z.onabort = function(Z) {
|
|
4538
4538
|
X("abort", Z);
|
|
4539
4539
|
}), "onprogress" in z && (z.onprogress = P), "onreadystatechange" in z && (z.onreadystatechange = function(Z) {
|
|
4540
|
-
|
|
4541
|
-
}), ("contentType" in z || !("ontimeout" in a.prototype)) && (N += (N.indexOf("?") === -1 ? "?" : "&") + "padding=true"), z.open(
|
|
4540
|
+
re(Z);
|
|
4541
|
+
}), ("contentType" in z || !("ontimeout" in a.prototype)) && (N += (N.indexOf("?") === -1 ? "?" : "&") + "padding=true"), z.open(k, N, !0), "readyState" in z && (Q = n(function() {
|
|
4542
4542
|
se();
|
|
4543
4543
|
}, 0));
|
|
4544
4544
|
}, v.prototype.abort = function() {
|
|
4545
4545
|
this._abort(!1);
|
|
4546
|
-
}, v.prototype.getResponseHeader = function(
|
|
4546
|
+
}, v.prototype.getResponseHeader = function(k) {
|
|
4547
4547
|
return this._contentType;
|
|
4548
|
-
}, v.prototype.setRequestHeader = function(
|
|
4548
|
+
}, v.prototype.setRequestHeader = function(k, N) {
|
|
4549
4549
|
var q = this._xhr;
|
|
4550
|
-
"setRequestHeader" in q && q.setRequestHeader(
|
|
4550
|
+
"setRequestHeader" in q && q.setRequestHeader(k, N);
|
|
4551
4551
|
}, v.prototype.getAllResponseHeaders = function() {
|
|
4552
4552
|
return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
|
|
4553
4553
|
}, v.prototype.send = function() {
|
|
4554
4554
|
if ((!("ontimeout" in a.prototype) || !("sendAsBinary" in a.prototype) && !("mozAnon" in a.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
|
|
4555
|
-
var
|
|
4556
|
-
|
|
4557
|
-
|
|
4555
|
+
var k = this;
|
|
4556
|
+
k._sendTimeout = n(function() {
|
|
4557
|
+
k._sendTimeout = 0, k.send();
|
|
4558
4558
|
}, 4);
|
|
4559
4559
|
return;
|
|
4560
4560
|
}
|
|
@@ -4566,73 +4566,73 @@ var Fi = { exports: {} };
|
|
|
4566
4566
|
throw q;
|
|
4567
4567
|
}
|
|
4568
4568
|
};
|
|
4569
|
-
function Y(
|
|
4570
|
-
return
|
|
4569
|
+
function Y(k) {
|
|
4570
|
+
return k.replace(/[A-Z]/g, function(N) {
|
|
4571
4571
|
return String.fromCharCode(N.charCodeAt(0) + 32);
|
|
4572
4572
|
});
|
|
4573
4573
|
}
|
|
4574
|
-
function L(
|
|
4575
|
-
for (var N = /* @__PURE__ */ Object.create(null), q =
|
|
4574
|
+
function L(k) {
|
|
4575
|
+
for (var N = /* @__PURE__ */ Object.create(null), q = k.split(`\r
|
|
4576
4576
|
`), z = 0; z < q.length; z += 1) {
|
|
4577
4577
|
var ae = q[z], Q = ae.split(": "), le = Q.shift(), P = Q.join(": ");
|
|
4578
4578
|
N[Y(le)] = P;
|
|
4579
4579
|
}
|
|
4580
4580
|
this._map = N;
|
|
4581
4581
|
}
|
|
4582
|
-
L.prototype.get = function(
|
|
4583
|
-
return this._map[Y(
|
|
4582
|
+
L.prototype.get = function(k) {
|
|
4583
|
+
return this._map[Y(k)];
|
|
4584
4584
|
}, a != null && a.HEADERS_RECEIVED == null && (a.HEADERS_RECEIVED = 2);
|
|
4585
4585
|
function A() {
|
|
4586
4586
|
}
|
|
4587
|
-
A.prototype.open = function(
|
|
4588
|
-
|
|
4587
|
+
A.prototype.open = function(k, N, q, z, ae, Q, le) {
|
|
4588
|
+
k.open("GET", ae);
|
|
4589
4589
|
var P = 0;
|
|
4590
|
-
|
|
4591
|
-
var
|
|
4590
|
+
k.onprogress = function() {
|
|
4591
|
+
var re = k.responseText, se = re.slice(P);
|
|
4592
4592
|
P += se.length, q(se);
|
|
4593
|
-
},
|
|
4594
|
-
|
|
4595
|
-
},
|
|
4593
|
+
}, k.onerror = function(re) {
|
|
4594
|
+
re.preventDefault(), z(new Error("NetworkError"));
|
|
4595
|
+
}, k.onload = function() {
|
|
4596
4596
|
z(null);
|
|
4597
|
-
},
|
|
4597
|
+
}, k.onabort = function() {
|
|
4598
4598
|
z(null);
|
|
4599
|
-
},
|
|
4600
|
-
if (
|
|
4601
|
-
var
|
|
4602
|
-
N(
|
|
4599
|
+
}, k.onreadystatechange = function() {
|
|
4600
|
+
if (k.readyState === a.HEADERS_RECEIVED) {
|
|
4601
|
+
var re = k.status, se = k.statusText, Z = k.getResponseHeader("Content-Type"), ue = k.getAllResponseHeaders();
|
|
4602
|
+
N(re, se, Z, new L(ue));
|
|
4603
4603
|
}
|
|
4604
|
-
},
|
|
4604
|
+
}, k.withCredentials = Q;
|
|
4605
4605
|
for (var X in le)
|
|
4606
|
-
Object.prototype.hasOwnProperty.call(le, X) &&
|
|
4607
|
-
return
|
|
4606
|
+
Object.prototype.hasOwnProperty.call(le, X) && k.setRequestHeader(X, le[X]);
|
|
4607
|
+
return k.send(), k;
|
|
4608
4608
|
};
|
|
4609
|
-
function G(
|
|
4610
|
-
this._headers =
|
|
4609
|
+
function G(k) {
|
|
4610
|
+
this._headers = k;
|
|
4611
4611
|
}
|
|
4612
|
-
G.prototype.get = function(
|
|
4613
|
-
return this._headers.get(
|
|
4612
|
+
G.prototype.get = function(k) {
|
|
4613
|
+
return this._headers.get(k);
|
|
4614
4614
|
};
|
|
4615
4615
|
function M() {
|
|
4616
4616
|
}
|
|
4617
|
-
M.prototype.open = function(
|
|
4618
|
-
var P = null, X = new p(),
|
|
4617
|
+
M.prototype.open = function(k, N, q, z, ae, Q, le) {
|
|
4618
|
+
var P = null, X = new p(), re = X.signal, se = new g();
|
|
4619
4619
|
return d(ae, {
|
|
4620
4620
|
headers: le,
|
|
4621
4621
|
credentials: Q ? "include" : "same-origin",
|
|
4622
|
-
signal:
|
|
4622
|
+
signal: re,
|
|
4623
4623
|
cache: "no-store"
|
|
4624
4624
|
}).then(function(Z) {
|
|
4625
4625
|
return P = Z.body.getReader(), N(Z.status, Z.statusText, Z.headers.get("Content-Type"), new G(Z.headers)), new f(function(ue, He) {
|
|
4626
4626
|
var Bt = function() {
|
|
4627
|
-
P.read().then(function(
|
|
4628
|
-
if (
|
|
4627
|
+
P.read().then(function(T) {
|
|
4628
|
+
if (T.done)
|
|
4629
4629
|
ue(void 0);
|
|
4630
4630
|
else {
|
|
4631
|
-
var
|
|
4632
|
-
q(
|
|
4631
|
+
var ee = se.decode(T.value, { stream: !0 });
|
|
4632
|
+
q(ee), Bt();
|
|
4633
4633
|
}
|
|
4634
|
-
}).catch(function(
|
|
4635
|
-
He(
|
|
4634
|
+
}).catch(function(T) {
|
|
4635
|
+
He(T);
|
|
4636
4636
|
});
|
|
4637
4637
|
};
|
|
4638
4638
|
Bt();
|
|
@@ -4651,85 +4651,85 @@ var Fi = { exports: {} };
|
|
|
4651
4651
|
function F() {
|
|
4652
4652
|
this._listeners = /* @__PURE__ */ Object.create(null);
|
|
4653
4653
|
}
|
|
4654
|
-
function ke(
|
|
4654
|
+
function ke(k) {
|
|
4655
4655
|
n(function() {
|
|
4656
|
-
throw
|
|
4656
|
+
throw k;
|
|
4657
4657
|
}, 0);
|
|
4658
4658
|
}
|
|
4659
|
-
F.prototype.dispatchEvent = function(
|
|
4660
|
-
|
|
4661
|
-
var N = this._listeners[
|
|
4659
|
+
F.prototype.dispatchEvent = function(k) {
|
|
4660
|
+
k.target = this;
|
|
4661
|
+
var N = this._listeners[k.type];
|
|
4662
4662
|
if (N != null)
|
|
4663
4663
|
for (var q = N.length, z = 0; z < q; z += 1) {
|
|
4664
4664
|
var ae = N[z];
|
|
4665
4665
|
try {
|
|
4666
|
-
typeof ae.handleEvent == "function" ? ae.handleEvent(
|
|
4666
|
+
typeof ae.handleEvent == "function" ? ae.handleEvent(k) : ae.call(this, k);
|
|
4667
4667
|
} catch (Q) {
|
|
4668
4668
|
ke(Q);
|
|
4669
4669
|
}
|
|
4670
4670
|
}
|
|
4671
|
-
}, F.prototype.addEventListener = function(
|
|
4672
|
-
|
|
4673
|
-
var q = this._listeners, z = q[
|
|
4674
|
-
z == null && (z = [], q[
|
|
4671
|
+
}, F.prototype.addEventListener = function(k, N) {
|
|
4672
|
+
k = String(k);
|
|
4673
|
+
var q = this._listeners, z = q[k];
|
|
4674
|
+
z == null && (z = [], q[k] = z);
|
|
4675
4675
|
for (var ae = !1, Q = 0; Q < z.length; Q += 1)
|
|
4676
4676
|
z[Q] === N && (ae = !0);
|
|
4677
4677
|
ae || z.push(N);
|
|
4678
|
-
}, F.prototype.removeEventListener = function(
|
|
4679
|
-
|
|
4680
|
-
var q = this._listeners, z = q[
|
|
4678
|
+
}, F.prototype.removeEventListener = function(k, N) {
|
|
4679
|
+
k = String(k);
|
|
4680
|
+
var q = this._listeners, z = q[k];
|
|
4681
4681
|
if (z != null) {
|
|
4682
4682
|
for (var ae = [], Q = 0; Q < z.length; Q += 1)
|
|
4683
4683
|
z[Q] !== N && ae.push(z[Q]);
|
|
4684
|
-
ae.length === 0 ? delete q[
|
|
4684
|
+
ae.length === 0 ? delete q[k] : q[k] = ae;
|
|
4685
4685
|
}
|
|
4686
4686
|
};
|
|
4687
|
-
function ye(
|
|
4688
|
-
this.type =
|
|
4687
|
+
function ye(k) {
|
|
4688
|
+
this.type = k, this.target = void 0;
|
|
4689
4689
|
}
|
|
4690
|
-
function Pe(
|
|
4691
|
-
ye.call(this,
|
|
4690
|
+
function Pe(k, N) {
|
|
4691
|
+
ye.call(this, k), this.data = N.data, this.lastEventId = N.lastEventId;
|
|
4692
4692
|
}
|
|
4693
4693
|
Pe.prototype = Object.create(ye.prototype);
|
|
4694
|
-
function Re(
|
|
4695
|
-
ye.call(this,
|
|
4694
|
+
function Re(k, N) {
|
|
4695
|
+
ye.call(this, k), this.status = N.status, this.statusText = N.statusText, this.headers = N.headers;
|
|
4696
4696
|
}
|
|
4697
4697
|
Re.prototype = Object.create(ye.prototype);
|
|
4698
|
-
function Me(
|
|
4699
|
-
ye.call(this,
|
|
4698
|
+
function Me(k, N) {
|
|
4699
|
+
ye.call(this, k), this.error = N.error;
|
|
4700
4700
|
}
|
|
4701
4701
|
Me.prototype = Object.create(ye.prototype);
|
|
4702
|
-
var Ne = -1, Ce = 0, U = 1, xe = 2, he = -1, $ = 0, be = 1, I = 2,
|
|
4703
|
-
var q =
|
|
4702
|
+
var Ne = -1, Ce = 0, U = 1, xe = 2, he = -1, $ = 0, be = 1, I = 2, ne = 3, Se = /^text\/event\-stream(;.*)?$/i, ie = 1e3, B = 18e6, De = function(k, N) {
|
|
4703
|
+
var q = k == null ? N : parseInt(k, 10);
|
|
4704
4704
|
return q !== q && (q = N), Xe(q);
|
|
4705
|
-
}, Xe = function(
|
|
4706
|
-
return Math.min(Math.max(
|
|
4707
|
-
}, it = function(
|
|
4705
|
+
}, Xe = function(k) {
|
|
4706
|
+
return Math.min(Math.max(k, ie), B);
|
|
4707
|
+
}, it = function(k, N, q) {
|
|
4708
4708
|
try {
|
|
4709
|
-
typeof N == "function" && N.call(
|
|
4709
|
+
typeof N == "function" && N.call(k, q);
|
|
4710
4710
|
} catch (z) {
|
|
4711
4711
|
ke(z);
|
|
4712
4712
|
}
|
|
4713
4713
|
};
|
|
4714
|
-
function Ge(
|
|
4715
|
-
F.call(this), N = N || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, cr(this,
|
|
4714
|
+
function Ge(k, N) {
|
|
4715
|
+
F.call(this), N = N || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, cr(this, k, N);
|
|
4716
4716
|
}
|
|
4717
4717
|
function kt() {
|
|
4718
4718
|
return a != null && "withCredentials" in a.prototype || s == null ? new a() : new s();
|
|
4719
4719
|
}
|
|
4720
4720
|
var ur = d != null && h != null && "body" in h.prototype;
|
|
4721
|
-
function cr(
|
|
4721
|
+
function cr(k, N, q) {
|
|
4722
4722
|
N = String(N);
|
|
4723
|
-
var z = !!q.withCredentials, ae = q.lastEventIdQueryParameterName || "lastEventId", Q = Xe(1e3), le = De(q.heartbeatTimeout, 45e3), P = "", X = Q,
|
|
4724
|
-
if (
|
|
4723
|
+
var z = !!q.withCredentials, ae = q.lastEventIdQueryParameterName || "lastEventId", Q = Xe(1e3), le = De(q.heartbeatTimeout, 45e3), P = "", X = Q, re = !1, se = 0, Z = q.headers || {}, ue = q.Transport, He = ur && ue == null ? void 0 : new v(ue != null ? new ue() : kt()), Bt = ue != null && typeof ue != "string" ? new ue() : He == null ? new M() : new A(), T = void 0, ee = 0, te = Ne, we = "", Ae = "", dt = "", ht = "", at = $, ii = 0, fr = 0, ql = function(Qe, Je, mt, pt) {
|
|
4724
|
+
if (te === Ce)
|
|
4725
4725
|
if (Qe === 200 && mt != null && Se.test(mt)) {
|
|
4726
|
-
|
|
4726
|
+
te = U, re = Date.now(), X = Q, k.readyState = U;
|
|
4727
4727
|
var st = new Re("open", {
|
|
4728
4728
|
status: Qe,
|
|
4729
4729
|
statusText: Je,
|
|
4730
4730
|
headers: pt
|
|
4731
4731
|
});
|
|
4732
|
-
|
|
4732
|
+
k.dispatchEvent(st), it(k, k.onopen, st);
|
|
4733
4733
|
} else {
|
|
4734
4734
|
var Ke = "";
|
|
4735
4735
|
Qe !== 200 ? (Je && (Je = Je.replace(/\s+/g, " ")), Ke = "EventSource's response has a status " + Qe + " " + Je + " that is not 200. Aborting the connection.") : Ke = "EventSource's response has a Content-Type specifying an unsupported type: " + (mt == null ? "-" : mt.replace(/\s+/g, " ")) + ". Aborting the connection.", ai();
|
|
@@ -4738,16 +4738,16 @@ var Fi = { exports: {} };
|
|
|
4738
4738
|
statusText: Je,
|
|
4739
4739
|
headers: pt
|
|
4740
4740
|
});
|
|
4741
|
-
|
|
4741
|
+
k.dispatchEvent(st), it(k, k.onerror, st), console.error(Ke);
|
|
4742
4742
|
}
|
|
4743
4743
|
}, Jl = function(Qe) {
|
|
4744
|
-
if (
|
|
4744
|
+
if (te === U) {
|
|
4745
4745
|
for (var Je = -1, mt = 0; mt < Qe.length; mt += 1) {
|
|
4746
4746
|
var pt = Qe.charCodeAt(mt);
|
|
4747
4747
|
(pt === 10 || pt === 13) && (Je = mt);
|
|
4748
4748
|
}
|
|
4749
4749
|
var st = (Je !== -1 ? ht : "") + Qe.slice(0, Je + 1);
|
|
4750
|
-
ht = (Je === -1 ? ht : "") + Qe.slice(Je + 1), Qe !== "" && (
|
|
4750
|
+
ht = (Je === -1 ? ht : "") + Qe.slice(Je + 1), Qe !== "" && (re = Date.now(), se += Qe.length);
|
|
4751
4751
|
for (var Ke = 0; Ke < st.length; Ke += 1) {
|
|
4752
4752
|
var pt = st.charCodeAt(Ke);
|
|
4753
4753
|
if (at === he && pt === 10)
|
|
@@ -4757,7 +4757,7 @@ var Fi = { exports: {} };
|
|
|
4757
4757
|
at === be && (fr = Ke + 1);
|
|
4758
4758
|
var Nt = st.slice(ii, fr - 1), Ht = st.slice(fr + (fr < Ke && st.charCodeAt(fr) === 32 ? 1 : 0), Ke);
|
|
4759
4759
|
Nt === "data" ? (we += `
|
|
4760
|
-
`, we += Ht) : Nt === "id" ? Ae = Ht : Nt === "event" ? dt = Ht : Nt === "retry" ? (Q = De(Ht, Q), X = Q) : Nt === "heartbeatTimeout" && (le = De(Ht, le),
|
|
4760
|
+
`, we += Ht) : Nt === "id" ? Ae = Ht : Nt === "event" ? dt = Ht : Nt === "retry" ? (Q = De(Ht, Q), X = Q) : Nt === "heartbeatTimeout" && (le = De(Ht, le), ee !== 0 && (i(ee), ee = n(function() {
|
|
4761
4761
|
jr();
|
|
4762
4762
|
}, le)));
|
|
4763
4763
|
}
|
|
@@ -4768,41 +4768,41 @@ var Fi = { exports: {} };
|
|
|
4768
4768
|
data: we.slice(1),
|
|
4769
4769
|
lastEventId: Ae
|
|
4770
4770
|
});
|
|
4771
|
-
if (
|
|
4771
|
+
if (k.dispatchEvent(_r), dt === "open" ? it(k, k.onopen, _r) : dt === "message" ? it(k, k.onmessage, _r) : dt === "error" && it(k, k.onerror, _r), te === xe)
|
|
4772
4772
|
return;
|
|
4773
4773
|
}
|
|
4774
4774
|
we = "", dt = "";
|
|
4775
4775
|
}
|
|
4776
4776
|
at = pt === 13 ? he : $;
|
|
4777
4777
|
} else
|
|
4778
|
-
at === $ && (ii = Ke, at = be), at === be ? pt === 58 && (fr = Ke + 1, at = I) : at === I && (at =
|
|
4778
|
+
at === $ && (ii = Ke, at = be), at === be ? pt === 58 && (fr = Ke + 1, at = I) : at === I && (at = ne);
|
|
4779
4779
|
}
|
|
4780
4780
|
}
|
|
4781
4781
|
}, Pa = function(Qe) {
|
|
4782
|
-
if (
|
|
4783
|
-
|
|
4782
|
+
if (te === U || te === Ce) {
|
|
4783
|
+
te = Ne, ee !== 0 && (i(ee), ee = 0), ee = n(function() {
|
|
4784
4784
|
jr();
|
|
4785
|
-
}, X), X = Xe(Math.min(Q * 16, X * 2)),
|
|
4785
|
+
}, X), X = Xe(Math.min(Q * 16, X * 2)), k.readyState = Ce;
|
|
4786
4786
|
var Je = new Me("error", { error: Qe });
|
|
4787
|
-
|
|
4787
|
+
k.dispatchEvent(Je), it(k, k.onerror, Je), Qe != null && console.error(Qe);
|
|
4788
4788
|
}
|
|
4789
4789
|
}, ai = function() {
|
|
4790
|
-
|
|
4790
|
+
te = xe, T != null && (T.abort(), T = void 0), ee !== 0 && (i(ee), ee = 0), k.readyState = xe;
|
|
4791
4791
|
}, jr = function() {
|
|
4792
|
-
if (
|
|
4793
|
-
if (!
|
|
4794
|
-
Pa(new Error("No activity within " + le + " milliseconds. " + (
|
|
4792
|
+
if (ee = 0, te !== Ne) {
|
|
4793
|
+
if (!re && T != null)
|
|
4794
|
+
Pa(new Error("No activity within " + le + " milliseconds. " + (te === Ce ? "No response received." : se + " chars received.") + " Reconnecting.")), T != null && (T.abort(), T = void 0);
|
|
4795
4795
|
else {
|
|
4796
|
-
var Qe = Math.max((
|
|
4797
|
-
|
|
4796
|
+
var Qe = Math.max((re || Date.now()) + le - Date.now(), 1);
|
|
4797
|
+
re = !1, ee = n(function() {
|
|
4798
4798
|
jr();
|
|
4799
4799
|
}, Qe);
|
|
4800
4800
|
}
|
|
4801
4801
|
return;
|
|
4802
4802
|
}
|
|
4803
|
-
|
|
4803
|
+
re = !1, se = 0, ee = n(function() {
|
|
4804
4804
|
jr();
|
|
4805
|
-
}, le),
|
|
4805
|
+
}, le), te = Ce, we = "", dt = "", Ae = P, ht = "", ii = 0, fr = 0, at = $;
|
|
4806
4806
|
var Je = N;
|
|
4807
4807
|
if (N.slice(0, 5) !== "data:" && N.slice(0, 5) !== "blob:" && P !== "") {
|
|
4808
4808
|
var mt = N.indexOf("?");
|
|
@@ -4810,31 +4810,31 @@ var Fi = { exports: {} };
|
|
|
4810
4810
|
return _r === ae ? "" : Ht;
|
|
4811
4811
|
}), Je += (N.indexOf("?") === -1 ? "?" : "&") + ae + "=" + encodeURIComponent(P);
|
|
4812
4812
|
}
|
|
4813
|
-
var pt =
|
|
4813
|
+
var pt = k.withCredentials, st = {};
|
|
4814
4814
|
st.Accept = "text/event-stream";
|
|
4815
|
-
var Ke =
|
|
4815
|
+
var Ke = k.headers;
|
|
4816
4816
|
if (Ke != null)
|
|
4817
4817
|
for (var Nt in Ke)
|
|
4818
4818
|
Object.prototype.hasOwnProperty.call(Ke, Nt) && (st[Nt] = Ke[Nt]);
|
|
4819
4819
|
try {
|
|
4820
|
-
|
|
4820
|
+
T = Bt.open(He, ql, Jl, Pa, Je, pt, st);
|
|
4821
4821
|
} catch (Ht) {
|
|
4822
4822
|
throw ai(), Ht;
|
|
4823
4823
|
}
|
|
4824
4824
|
};
|
|
4825
|
-
|
|
4825
|
+
k.url = N, k.readyState = Ce, k.withCredentials = z, k.headers = Z, k._close = ai, jr();
|
|
4826
4826
|
}
|
|
4827
4827
|
Ge.prototype = Object.create(F.prototype), Ge.prototype.CONNECTING = Ce, Ge.prototype.OPEN = U, Ge.prototype.CLOSED = xe, Ge.prototype.close = function() {
|
|
4828
4828
|
this._close();
|
|
4829
4829
|
}, Ge.CONNECTING = Ce, Ge.OPEN = U, Ge.CLOSED = xe, Ge.prototype.withCredentials = void 0;
|
|
4830
4830
|
var zt = l;
|
|
4831
|
-
a != null && (l == null || !("withCredentials" in l.prototype)) && (zt = Ge), function(
|
|
4831
|
+
a != null && (l == null || !("withCredentials" in l.prototype)) && (zt = Ge), function(k) {
|
|
4832
4832
|
{
|
|
4833
|
-
var N =
|
|
4833
|
+
var N = k(t);
|
|
4834
4834
|
N !== void 0 && (e.exports = N);
|
|
4835
4835
|
}
|
|
4836
|
-
}(function(
|
|
4837
|
-
|
|
4836
|
+
}(function(k) {
|
|
4837
|
+
k.EventSourcePolyfill = Ge, k.NativeEventSource = l, k.EventSource = zt;
|
|
4838
4838
|
});
|
|
4839
4839
|
})(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : f0 : globalThis);
|
|
4840
4840
|
})(Fi, Fi.exports);
|
|
@@ -5517,7 +5517,7 @@ function F2(e, t, r) {
|
|
|
5517
5517
|
headers: $,
|
|
5518
5518
|
body: JSON.stringify(be)
|
|
5519
5519
|
};
|
|
5520
|
-
const
|
|
5520
|
+
const ne = () => {
|
|
5521
5521
|
r(5, L = !1), r(13, o = "true"), window.postMessage(
|
|
5522
5522
|
{
|
|
5523
5523
|
type: "TournamentUserEnrolled",
|
|
@@ -5538,10 +5538,10 @@ function F2(e, t, r) {
|
|
|
5538
5538
|
})();
|
|
5539
5539
|
if (B)
|
|
5540
5540
|
if (B.success == !0)
|
|
5541
|
-
|
|
5541
|
+
ne();
|
|
5542
5542
|
else if (B.errorMessage.match("VersionMismatchException")) {
|
|
5543
5543
|
let De;
|
|
5544
|
-
De = await fetch(`${s}/tournaments/${a}`, { headers: { "X-SessionID": i } }), De = await De.json(), De?.item?.playerEnrolled ?
|
|
5544
|
+
De = await fetch(`${s}/tournaments/${a}`, { headers: { "X-SessionID": i } }), De = await De.json(), De?.item?.playerEnrolled ? ne() : (Se(B.errorMessage), r(8, M = !0), r(6, A = !1));
|
|
5545
5545
|
} else
|
|
5546
5546
|
Se(B.errorMessage);
|
|
5547
5547
|
}, Re = (U) => {
|
|
@@ -7470,13 +7470,13 @@ function yc(e, t, r) {
|
|
|
7470
7470
|
p.removeEventListener("touchstart", ke), p.removeEventListener("touchmove", ye);
|
|
7471
7471
|
}));
|
|
7472
7472
|
const he = () => Pe(-1), $ = (B) => Re(B), be = (B) => G(B), I = () => M();
|
|
7473
|
-
function
|
|
7473
|
+
function ne(B) {
|
|
7474
7474
|
$r[B ? "unshift" : "push"](() => {
|
|
7475
7475
|
v = B, r(6, v);
|
|
7476
7476
|
});
|
|
7477
7477
|
}
|
|
7478
7478
|
const Se = () => Pe(1);
|
|
7479
|
-
function
|
|
7479
|
+
function ie(B) {
|
|
7480
7480
|
$r[B ? "unshift" : "push"](() => {
|
|
7481
7481
|
p = B, r(2, p);
|
|
7482
7482
|
});
|
|
@@ -7518,9 +7518,9 @@ function yc(e, t, r) {
|
|
|
7518
7518
|
$,
|
|
7519
7519
|
be,
|
|
7520
7520
|
I,
|
|
7521
|
-
|
|
7521
|
+
ne,
|
|
7522
7522
|
Se,
|
|
7523
|
-
|
|
7523
|
+
ie
|
|
7524
7524
|
];
|
|
7525
7525
|
}
|
|
7526
7526
|
class Gi extends qe {
|
|
@@ -8257,27 +8257,27 @@ function Rs(e) {
|
|
|
8257
8257
|
/*firstRowData*/
|
|
8258
8258
|
e[5].Points + ""
|
|
8259
8259
|
), M, F, ke, ye, Pe, Re, Me, Ne, Ce, U;
|
|
8260
|
-
function xe(
|
|
8260
|
+
function xe(ie, B) {
|
|
8261
8261
|
return (
|
|
8262
8262
|
/*firstRowData*/
|
|
8263
|
-
|
|
8264
|
-
|
|
8263
|
+
ie[5].Rank < 4 && /*showrankasimage*/
|
|
8264
|
+
ie[2] == "true" ? Fc : Ac
|
|
8265
8265
|
);
|
|
8266
8266
|
}
|
|
8267
8267
|
let he = xe(e), $ = he(e);
|
|
8268
|
-
function be(
|
|
8268
|
+
function be(ie, B) {
|
|
8269
8269
|
return (
|
|
8270
8270
|
/*firstRowData*/
|
|
8271
|
-
|
|
8271
|
+
ie[5].Prize ? Nc : Bc
|
|
8272
8272
|
);
|
|
8273
8273
|
}
|
|
8274
|
-
let I = be(e),
|
|
8274
|
+
let I = be(e), ne = I(e), Se = (
|
|
8275
8275
|
/*firstRowData*/
|
|
8276
8276
|
e[5].Unqualified && As(e)
|
|
8277
8277
|
);
|
|
8278
8278
|
return {
|
|
8279
8279
|
c() {
|
|
8280
|
-
t = b("tr"), r = b("td"), n = b("div"), i = b("strong"), $.c(), a = H(), s = b("div"), o = b("img"), f = H(), d = b("img"), S = H(), D = b("td"), E = b("div"), v = O(w), Y = H(), L = b("td"), A = b("div"), M = O(G), F = H(), ke = b("td"), ye = b("div"),
|
|
8280
|
+
t = b("tr"), r = b("td"), n = b("div"), i = b("strong"), $.c(), a = H(), s = b("div"), o = b("img"), f = H(), d = b("img"), S = H(), D = b("td"), E = b("div"), v = O(w), Y = H(), L = b("td"), A = b("div"), M = O(G), F = H(), ke = b("td"), ye = b("div"), ne.c(), Ce = H(), Se && Se.c(), U = de(), Ye(o.src, l = Ko) || c(o, "src", l), c(o, "alt", "UpArrow"), c(o, "part", "Rank_Arror_UP"), c(o, "class", u = "svg Arrow Up " + /*isUserPositionChanged*/
|
|
8281
8281
|
(e[7] && /*isUserPositionUp*/
|
|
8282
8282
|
e[8] ? "Show" : "Hidden")), Ye(d.src, h = $o) || c(d, "src", h), c(d, "alt", "DownArrow"), c(d, "part", "Rank_Arror_Down"), c(d, "class", g = "svg Arrow Down " + /*isUserPositionChanged*/
|
|
8283
8283
|
(e[7] && !/*isUserPositionUp*/
|
|
@@ -8289,37 +8289,37 @@ function Rs(e) {
|
|
|
8289
8289
|
(e[5].Unqualified ? "UnqualifiedRow" : "")), c(t, "part", Ne = "FirstRow " + /*firstRowData*/
|
|
8290
8290
|
(e[5].Unqualified ? "UnqualifiedRow" : ""));
|
|
8291
8291
|
},
|
|
8292
|
-
m(
|
|
8293
|
-
C(
|
|
8292
|
+
m(ie, B) {
|
|
8293
|
+
C(ie, t, B), m(t, r), m(r, n), m(n, i), $.m(i, null), m(i, a), m(i, s), m(s, o), m(s, f), m(s, d), m(t, S), m(t, D), m(D, E), m(E, v), m(t, Y), m(t, L), m(L, A), m(A, M), m(t, F), m(t, ke), m(ke, ye), ne.m(ye, null), C(ie, Ce, B), Se && Se.m(ie, B), C(ie, U, B);
|
|
8294
8294
|
},
|
|
8295
|
-
p(
|
|
8296
|
-
he === (he = xe(
|
|
8295
|
+
p(ie, B) {
|
|
8296
|
+
he === (he = xe(ie)) && $ ? $.p(ie, B) : ($.d(1), $ = he(ie), $ && ($.c(), $.m(i, a))), B[0] & /*isUserPositionChanged, isUserPositionUp*/
|
|
8297
8297
|
384 && u !== (u = "svg Arrow Up " + /*isUserPositionChanged*/
|
|
8298
|
-
(
|
|
8299
|
-
|
|
8298
|
+
(ie[7] && /*isUserPositionUp*/
|
|
8299
|
+
ie[8] ? "Show" : "Hidden")) && c(o, "class", u), B[0] & /*isUserPositionChanged, isUserPositionUp*/
|
|
8300
8300
|
384 && g !== (g = "svg Arrow Down " + /*isUserPositionChanged*/
|
|
8301
|
-
(
|
|
8302
|
-
|
|
8301
|
+
(ie[7] && !/*isUserPositionUp*/
|
|
8302
|
+
ie[8] ? "Show" : "Hidden")) && c(d, "class", g), B[0] & /*isUserPositionChanged*/
|
|
8303
8303
|
128 && y !== (y = "ScoreChangeFlag " + /*isUserPositionChanged*/
|
|
8304
|
-
(
|
|
8304
|
+
(ie[7] ? "Show" : "Hidden")) && c(s, "class", y), B[0] & /*isUserPositionChanged*/
|
|
8305
8305
|
128 && p !== (p = "ScoreChangeFlag " + /*isUserPositionChanged*/
|
|
8306
|
-
(
|
|
8306
|
+
(ie[7] ? "Show" : "Hidden")) && c(s, "part", p), B[0] & /*firstRowData*/
|
|
8307
8307
|
32 && w !== (w = /*firstRowData*/
|
|
8308
|
-
|
|
8308
|
+
ie[5].Player + "") && W(v, w), B[0] & /*firstRowData*/
|
|
8309
8309
|
32 && G !== (G = /*firstRowData*/
|
|
8310
|
-
|
|
8310
|
+
ie[5].Points + "") && W(M, G), I === (I = be(ie)) && ne ? ne.p(ie, B) : (ne.d(1), ne = I(ie), ne && (ne.c(), ne.m(ye, null))), B[0] & /*firstRowData*/
|
|
8311
8311
|
32 && Pe !== (Pe = "LeftTableTd " + (/*firstRowData*/
|
|
8312
|
-
|
|
8312
|
+
ie[5].Unqualified ? "" : "Qualified")) && c(ke, "class", Pe), B[0] & /*firstRowData*/
|
|
8313
8313
|
32 && Re !== (Re = "LeftTableTd " + (/*firstRowData*/
|
|
8314
|
-
|
|
8314
|
+
ie[5].Unqualified ? "" : "Qualified")) && c(ke, "part", Re), B[0] & /*firstRowData*/
|
|
8315
8315
|
32 && Me !== (Me = "FirstRow " + /*firstRowData*/
|
|
8316
|
-
(
|
|
8316
|
+
(ie[5].Unqualified ? "UnqualifiedRow" : "")) && c(t, "class", Me), B[0] & /*firstRowData*/
|
|
8317
8317
|
32 && Ne !== (Ne = "FirstRow " + /*firstRowData*/
|
|
8318
|
-
(
|
|
8319
|
-
|
|
8318
|
+
(ie[5].Unqualified ? "UnqualifiedRow" : "")) && c(t, "part", Ne), /*firstRowData*/
|
|
8319
|
+
ie[5].Unqualified ? Se ? Se.p(ie, B) : (Se = As(ie), Se.c(), Se.m(U.parentNode, U)) : Se && (Se.d(1), Se = null);
|
|
8320
8320
|
},
|
|
8321
|
-
d(
|
|
8322
|
-
|
|
8321
|
+
d(ie) {
|
|
8322
|
+
ie && (_(t), _(Ce), _(U)), $.d(), ne.d(), Se && Se.d(ie);
|
|
8323
8323
|
}
|
|
8324
8324
|
};
|
|
8325
8325
|
}
|
|
@@ -8715,7 +8715,7 @@ function Bs(e) {
|
|
|
8715
8715
|
/*row*/
|
|
8716
8716
|
e[68].Points + ""
|
|
8717
8717
|
), Y, L, A, G, M, F, ke, ye, Pe, Re;
|
|
8718
|
-
function Me(I,
|
|
8718
|
+
function Me(I, ne) {
|
|
8719
8719
|
return (
|
|
8720
8720
|
/*row*/
|
|
8721
8721
|
I[68].Rank < 4 && /*showrankasimage*/
|
|
@@ -8726,7 +8726,7 @@ function Bs(e) {
|
|
|
8726
8726
|
/*row*/
|
|
8727
8727
|
e[68].isCurrentUser && Os(e)
|
|
8728
8728
|
);
|
|
8729
|
-
function xe(I,
|
|
8729
|
+
function xe(I, ne) {
|
|
8730
8730
|
return (
|
|
8731
8731
|
/*row*/
|
|
8732
8732
|
I[68].Prize ? Yc : Gc
|
|
@@ -8753,37 +8753,37 @@ function Bs(e) {
|
|
|
8753
8753
|
(e[68].isCurrentUser && /*row*/
|
|
8754
8754
|
e[68].Unqualified ? "UnqualifiedRow" : ""));
|
|
8755
8755
|
},
|
|
8756
|
-
m(I,
|
|
8757
|
-
C(I, t,
|
|
8756
|
+
m(I, ne) {
|
|
8757
|
+
C(I, t, ne), m(t, r), m(r, n), m(n, i), m(i, a), Ce.m(a, null), m(a, s), m(a, o), U && U.m(o, null), m(t, d), m(t, h), m(h, g), m(g, p), m(t, S), m(t, D), m(D, E), m(E, w), m(w, Y), m(t, L), m(t, A), m(A, G), $.m(G, null), C(I, Pe, ne), be && be.m(I, ne), C(I, Re, ne);
|
|
8758
8758
|
},
|
|
8759
|
-
p(I,
|
|
8760
|
-
Ne === (Ne = Me(I)) && Ce ? Ce.p(I,
|
|
8761
|
-
I[68].isCurrentUser ? U ? U.p(I,
|
|
8759
|
+
p(I, ne) {
|
|
8760
|
+
Ne === (Ne = Me(I)) && Ce ? Ce.p(I, ne) : (Ce.d(1), Ce = Ne(I), Ce && (Ce.c(), Ce.m(a, s))), /*row*/
|
|
8761
|
+
I[68].isCurrentUser ? U ? U.p(I, ne) : (U = Os(I), U.c(), U.m(o, null)) : U && (U.d(1), U = null), ne[0] & /*isUserPositionChanged*/
|
|
8762
8762
|
128 && l !== (l = "ScoreChangeFlag " + /*isUserPositionChanged*/
|
|
8763
|
-
(I[7] ? "Show" : "Hidden")) && c(o, "class", l),
|
|
8763
|
+
(I[7] ? "Show" : "Hidden")) && c(o, "class", l), ne[0] & /*isUserPositionChanged*/
|
|
8764
8764
|
128 && u !== (u = "ScoreChangeFlag " + /*isUserPositionChanged*/
|
|
8765
|
-
(I[7] ? "Show" : "Hidden")) && c(o, "part", u),
|
|
8765
|
+
(I[7] ? "Show" : "Hidden")) && c(o, "part", u), ne[0] & /*display*/
|
|
8766
8766
|
8192 && f !== (f = "LeftTableTd Rank-" + /*row*/
|
|
8767
|
-
I[68].Rank) && c(r, "part", f),
|
|
8767
|
+
I[68].Rank) && c(r, "part", f), ne[0] & /*display*/
|
|
8768
8768
|
8192 && y !== (y = /*row*/
|
|
8769
|
-
I[68].Player + "") && W(p, y),
|
|
8769
|
+
I[68].Player + "") && W(p, y), ne[0] & /*display*/
|
|
8770
8770
|
8192 && v !== (v = /*row*/
|
|
8771
|
-
I[68].Points + "") && W(Y, v), he === (he = xe(I)) && $ ? $.p(I,
|
|
8771
|
+
I[68].Points + "") && W(Y, v), he === (he = xe(I)) && $ ? $.p(I, ne) : ($.d(1), $ = he(I), $ && ($.c(), $.m(G, null))), ne[0] & /*display*/
|
|
8772
8772
|
8192 && M !== (M = "LeftTableTd " + (/*row*/
|
|
8773
|
-
I[68].Unqualified ? "" : "Qualified")) && c(A, "class", M),
|
|
8773
|
+
I[68].Unqualified ? "" : "Qualified")) && c(A, "class", M), ne[0] & /*display*/
|
|
8774
8774
|
8192 && F !== (F = "LeftTableTd " + (/*row*/
|
|
8775
|
-
I[68].Unqualified ? "" : "Qualified")) && c(A, "part", F),
|
|
8775
|
+
I[68].Unqualified ? "" : "Qualified")) && c(A, "part", F), ne[0] & /*display*/
|
|
8776
8776
|
8192 && ke !== (ke = "LeftTableTr Rank" + /*row*/
|
|
8777
8777
|
I[68].Rank + "Tr " + /*row*/
|
|
8778
8778
|
(I[68].isCurrentUser ? "FirstRow" : "") + " " + /*row*/
|
|
8779
8779
|
(I[68].isCurrentUser && /*row*/
|
|
8780
|
-
I[68].Unqualified ? "UnqualifiedRow" : "")) && c(t, "class", ke),
|
|
8780
|
+
I[68].Unqualified ? "UnqualifiedRow" : "")) && c(t, "class", ke), ne[0] & /*display*/
|
|
8781
8781
|
8192 && ye !== (ye = "LeftTableTr " + /*row*/
|
|
8782
8782
|
(I[68].isCurrentUser ? "FirstRow" : "") + " " + /*row*/
|
|
8783
8783
|
(I[68].isCurrentUser && /*row*/
|
|
8784
8784
|
I[68].Unqualified ? "UnqualifiedRow" : "")) && c(t, "part", ye), /*row*/
|
|
8785
8785
|
I[68].Unqualified && /*row*/
|
|
8786
|
-
I[68].isCurrentUser ? be ? be.p(I,
|
|
8786
|
+
I[68].isCurrentUser ? be ? be.p(I, ne) : (be = zs(I), be.c(), be.m(Re.parentNode, Re)) : be && (be.d(1), be = null);
|
|
8787
8787
|
},
|
|
8788
8788
|
d(I) {
|
|
8789
8789
|
I && (_(t), _(Pe), _(Re)), Ce.d(), U && U.d(), $.d(), be && be.d(I);
|
|
@@ -9429,97 +9429,97 @@ function o1(e) {
|
|
|
9429
9429
|
let l1 = null;
|
|
9430
9430
|
function u1(e, t, r) {
|
|
9431
9431
|
let n, i, a;
|
|
9432
|
-
Ct(e, wt, (
|
|
9433
|
-
let { sortable: s = !1 } = t, { firstrow: o = !0 } = t, { lang: l = "en" } = t, { scorefractiondigit: u = "2" } = t, { session: f = "" } = t, { userid: d = "" } = t, { tourid: h = "" } = t, { endpoint: g = "" } = t, { tablelimit: y = "30" } = t, { namemask: p = "" } = t, { showunqualifiedplayer: S = "true" } = t, { mobiletablelimit: D = "15" } = t, { updatetableintime: E = "true" } = t, { minscore: w = "" } = t, { showrankasimage: v = "true" } = t, { cellsetting: Y = { firstrow: !0 } } = t, L = [], A = [], G = null, M = null, F =
|
|
9434
|
-
const B = ["Rank", "Player", "Points", "Prize"], De = (
|
|
9435
|
-
Rank:
|
|
9436
|
-
Player:
|
|
9437
|
-
Points:
|
|
9438
|
-
minimumFractionDigits:
|
|
9439
|
-
maximumFractionDigits:
|
|
9432
|
+
Ct(e, wt, (T) => r(14, a = T));
|
|
9433
|
+
let { sortable: s = !1 } = t, { firstrow: o = !0 } = t, { lang: l = "en" } = t, { scorefractiondigit: u = "2" } = t, { session: f = "" } = t, { userid: d = "" } = t, { tourid: h = "" } = t, { endpoint: g = "" } = t, { tablelimit: y = "30" } = t, { namemask: p = "" } = t, { showunqualifiedplayer: S = "true" } = t, { mobiletablelimit: D = "15" } = t, { updatetableintime: E = "true" } = t, { minscore: w = "" } = t, { showrankasimage: v = "true" } = t, { cellsetting: Y = { firstrow: !0 } } = t, L = [], A = [], G = null, M = null, F = null, ke = !0, ye = window.navigator.userAgent, Pe = !1, Re = !1, Me, Ne, Ce, U = !1, xe, he = {}, $ = !1, be, I, ne = "", Se = !0, ie = 2;
|
|
9434
|
+
const B = ["Rank", "Player", "Points", "Prize"], De = (T) => ({
|
|
9435
|
+
Rank: T.rank,
|
|
9436
|
+
Player: T.userID && ne && T.userID === ne ? "me" : T.shortName || "-",
|
|
9437
|
+
Points: T.score.toLocaleString("en-US", {
|
|
9438
|
+
minimumFractionDigits: ie,
|
|
9439
|
+
maximumFractionDigits: ie
|
|
9440
9440
|
}),
|
|
9441
|
-
Prize:
|
|
9442
|
-
Unqualified:
|
|
9443
|
-
BetCount:
|
|
9444
|
-
userID:
|
|
9441
|
+
Prize: T.prizeName,
|
|
9442
|
+
Unqualified: T.unqualified,
|
|
9443
|
+
BetCount: T.betCount,
|
|
9444
|
+
userID: T.userID
|
|
9445
9445
|
}), Xe = () => {
|
|
9446
|
-
f && f.length > 0 && f != "false" && (
|
|
9447
|
-
}, it = (
|
|
9446
|
+
f && f.length > 0 && f != "false" && (ne = d), Me = null, r(10, Se = !1);
|
|
9447
|
+
}, it = (T, ee) => ee.find((we) => we.Rank == T);
|
|
9448
9448
|
let Ge, kt;
|
|
9449
|
-
const ur = (
|
|
9449
|
+
const ur = (T) => {
|
|
9450
9450
|
if (!Me) {
|
|
9451
|
-
Me =
|
|
9451
|
+
Me = T;
|
|
9452
9452
|
return;
|
|
9453
9453
|
}
|
|
9454
|
-
r(7, Pe = Me !=
|
|
9454
|
+
r(7, Pe = Me != T), r(8, Re = Me > T), Pe && (Ge = (/* @__PURE__ */ new Date()).getTime(), setTimeout(
|
|
9455
9455
|
function() {
|
|
9456
|
-
kt = (/* @__PURE__ */ new Date()).getTime(), (kt - Ge) / 1e3 > 4 && r(7, Pe = !1), Me =
|
|
9456
|
+
kt = (/* @__PURE__ */ new Date()).getTime(), (kt - Ge) / 1e3 > 4 && r(7, Pe = !1), Me = T;
|
|
9457
9457
|
},
|
|
9458
9458
|
5e3
|
|
9459
9459
|
));
|
|
9460
|
-
}, cr = (
|
|
9461
|
-
if (
|
|
9462
|
-
|
|
9463
|
-
}), r(13, n = A)), o &&
|
|
9464
|
-
let
|
|
9460
|
+
}, cr = (T) => {
|
|
9461
|
+
if (T.data && T.data.type === "CasinoTableData" && (r(3, A = T.data.tableData), r(13, n = A)), T.data && T.data.type === "CasinoTableColumns" && (r(4, L = T.data.tableColumns), r(9, Ne = L.length || 4)), T.data && T.data.type === "CasinoTableCurrentUserData" && A && (A.forEach((ee) => {
|
|
9462
|
+
ee.userID && T.data.tableData.userID && ee.userID === T.data.tableData.userID && (ee.isCurrentUser = !0, Me || (Me = T.data.tableData.Rank), F ? (ur(T.data.tableData.Rank), r(5, F = null)) : ur(T.data.tableData.Rank));
|
|
9463
|
+
}), r(13, n = A)), o && T.data && T.data.type === "CasinoTableFirstRowData") {
|
|
9464
|
+
let ee = T.data.tableData;
|
|
9465
9465
|
if (!F) {
|
|
9466
|
-
r(5, F =
|
|
9466
|
+
r(5, F = T.data.tableData), Me = F.Rank;
|
|
9467
9467
|
return;
|
|
9468
9468
|
}
|
|
9469
|
-
F && F.UserID ==
|
|
9469
|
+
F && F.UserID == ee.UserID && (ur(ee.Rank), r(5, F = T.data.tableData));
|
|
9470
9470
|
}
|
|
9471
|
-
if (
|
|
9472
|
-
let
|
|
9471
|
+
if (T.data && T.data.type === "CasinoTableDataUpdate" && T.data.tableData) {
|
|
9472
|
+
let ee = T.data.tableData;
|
|
9473
9473
|
if (!(A instanceof Array))
|
|
9474
9474
|
return;
|
|
9475
|
-
A.forEach(function(
|
|
9476
|
-
let Ae = it(
|
|
9475
|
+
A.forEach(function(te, we) {
|
|
9476
|
+
let Ae = it(te.Rank, ee);
|
|
9477
9477
|
Ae && r(3, A[we] = Ae, A);
|
|
9478
9478
|
});
|
|
9479
9479
|
}
|
|
9480
|
-
}, zt = (
|
|
9481
|
-
const
|
|
9482
|
-
r(31, G = we ? null :
|
|
9483
|
-
},
|
|
9484
|
-
const
|
|
9485
|
-
if (
|
|
9486
|
-
return (we, Ae) => we[
|
|
9487
|
-
if (
|
|
9488
|
-
return (we, Ae) => we[
|
|
9489
|
-
if (
|
|
9490
|
-
return (we, Ae) => we[
|
|
9480
|
+
}, zt = (T) => {
|
|
9481
|
+
const ee = T === G, te = M === "ASC", we = ee && !te;
|
|
9482
|
+
r(31, G = we ? null : T), r(32, M = we ? null : ee && te ? "DESC" : "ASC");
|
|
9483
|
+
}, k = (T, ee) => {
|
|
9484
|
+
const te = ee.toLowerCase();
|
|
9485
|
+
if (T === "string")
|
|
9486
|
+
return (we, Ae) => we[te].localeCompare(Ae[te]);
|
|
9487
|
+
if (T === "number")
|
|
9488
|
+
return (we, Ae) => we[te] - Ae[te];
|
|
9489
|
+
if (T === "object")
|
|
9490
|
+
return (we, Ae) => we[te] - Ae[te];
|
|
9491
9491
|
}, N = () => {
|
|
9492
|
-
let
|
|
9493
|
-
if (A && (
|
|
9492
|
+
let T = [];
|
|
9493
|
+
if (A && (T = [...A]), !A.length)
|
|
9494
9494
|
return A;
|
|
9495
|
-
const
|
|
9496
|
-
return
|
|
9495
|
+
const ee = typeof A[0][G.toLowerCase()];
|
|
9496
|
+
return T.sort(k(ee, G)), M === "ASC" ? T : T.reverse();
|
|
9497
9497
|
}, q = () => {
|
|
9498
9498
|
r(6, ke = !ke);
|
|
9499
|
-
}, z = (
|
|
9499
|
+
}, z = (T) => {
|
|
9500
9500
|
$ = !1;
|
|
9501
|
-
let
|
|
9502
|
-
return
|
|
9503
|
-
let we = De(
|
|
9504
|
-
|
|
9505
|
-
}),
|
|
9506
|
-
}, ae = (
|
|
9507
|
-
...De(
|
|
9508
|
-
...
|
|
9509
|
-
}), Q = (
|
|
9510
|
-
if (!(!
|
|
9501
|
+
let ee = [];
|
|
9502
|
+
return T && T.length > 0 && T.forEach((te) => {
|
|
9503
|
+
let we = De(te);
|
|
9504
|
+
te.userID && ne && te.userID === ne && (he = we, $ = !0), ee.push(we);
|
|
9505
|
+
}), ee;
|
|
9506
|
+
}, ae = (T) => ({
|
|
9507
|
+
...De(T),
|
|
9508
|
+
...T.unqualified === !0 ? { Rank: T.rank } : {}
|
|
9509
|
+
}), Q = (T) => {
|
|
9510
|
+
if (!(!T.data || T.type != "message"))
|
|
9511
9511
|
try {
|
|
9512
|
-
let
|
|
9513
|
-
if (!
|
|
9512
|
+
let ee = T.data, te = JSON.parse(ee);
|
|
9513
|
+
if (!te || !te.items)
|
|
9514
9514
|
return;
|
|
9515
|
-
let we = z(
|
|
9515
|
+
let we = z(te.items);
|
|
9516
9516
|
window.postMessage(
|
|
9517
9517
|
{
|
|
9518
9518
|
type: "CasinoTableData",
|
|
9519
9519
|
tableData: we
|
|
9520
9520
|
},
|
|
9521
9521
|
window.location.href
|
|
9522
|
-
), $ = we.filter((dt) => dt.userID =
|
|
9522
|
+
), $ = we.filter((dt) => dt.userID = ne).length > 0, U = te.item && !$, U && (r(5, F = ae(te.item)), F && window.postMessage(
|
|
9523
9523
|
{
|
|
9524
9524
|
type: "CasinoTableFirstRowData",
|
|
9525
9525
|
tableData: F
|
|
@@ -9527,7 +9527,7 @@ function u1(e, t, r) {
|
|
|
9527
9527
|
window.location.href
|
|
9528
9528
|
));
|
|
9529
9529
|
let Ae = $ ? he.Rank : F?.Rank || null;
|
|
9530
|
-
(Ae != I || be !=
|
|
9530
|
+
(Ae != I || be != te.items.length) && (be = te.items.length, window.postMessage(
|
|
9531
9531
|
{
|
|
9532
9532
|
type: `TournamentRankInfo_${h}`,
|
|
9533
9533
|
rankInfo: {
|
|
@@ -9544,13 +9544,13 @@ function u1(e, t, r) {
|
|
|
9544
9544
|
},
|
|
9545
9545
|
window.location.href
|
|
9546
9546
|
);
|
|
9547
|
-
} catch (
|
|
9548
|
-
console.error(
|
|
9547
|
+
} catch (ee) {
|
|
9548
|
+
console.error(ee);
|
|
9549
9549
|
}
|
|
9550
|
-
}, le = (
|
|
9551
|
-
let
|
|
9550
|
+
}, le = (T, ee) => {
|
|
9551
|
+
let te = `${g}/v1/tournaments/${T}/leaderboard/updates?HeartBeat=false&${ee.toString()}`;
|
|
9552
9552
|
xe && (xe.removeEventListener("message", Q), xe.close()), xe = new Zo.EventSourcePolyfill(
|
|
9553
|
-
|
|
9553
|
+
te,
|
|
9554
9554
|
{
|
|
9555
9555
|
headers: {
|
|
9556
9556
|
accept: "text/event-stream",
|
|
@@ -9558,17 +9558,17 @@ function u1(e, t, r) {
|
|
|
9558
9558
|
}
|
|
9559
9559
|
}
|
|
9560
9560
|
), typeof xe < "u" && xe.addEventListener("message", Q);
|
|
9561
|
-
}, P = (
|
|
9562
|
-
let
|
|
9563
|
-
|
|
9561
|
+
}, P = (T, ee) => {
|
|
9562
|
+
let te = new URL(T + `/v1/tournaments/${ee}/leaderboard`), we = new Headers();
|
|
9563
|
+
te.searchParams.append("language", l);
|
|
9564
9564
|
let Ae = `includeUnqualifiedPlayer=${S}`;
|
|
9565
|
-
if (Ae = p ? `${Ae},shortNameMask=${p}` : Ae, Ae = w ? `${Ae},minscore=${w}` : Ae,
|
|
9565
|
+
if (Ae = p ? `${Ae},shortNameMask=${p}` : Ae, Ae = w ? `${Ae},minscore=${w}` : Ae, te.searchParams.append("filter", Ae), f) {
|
|
9566
9566
|
let ht = Gn(ye) == !0 ? D : y;
|
|
9567
|
-
|
|
9567
|
+
te.searchParams.append("pagination", `offset=0,limit=${ht}`), we.append("X-SessionId", f);
|
|
9568
9568
|
}
|
|
9569
|
-
|
|
9569
|
+
te.searchParams.append("platform", Yn(ye));
|
|
9570
9570
|
let dt = { method: "GET", headers: we };
|
|
9571
|
-
r(10, Se = !0), r(5, F = null), fetch(
|
|
9571
|
+
r(10, Se = !0), r(5, F = null), fetch(te, dt).then((ht) => ht.json()).then((ht) => {
|
|
9572
9572
|
r(10, Se = !1), Ce = z(ht.items), ht.item && !$ && (U = !0, r(5, F = ae(ht.item))), r(6, ke = !0), I = $ ? he.Rank : F ? F.Rank : 0, be = ht.total, window.postMessage(
|
|
9573
9573
|
{
|
|
9574
9574
|
type: "CasinoTableData",
|
|
@@ -9581,7 +9581,7 @@ function u1(e, t, r) {
|
|
|
9581
9581
|
tableData: F
|
|
9582
9582
|
},
|
|
9583
9583
|
window.location.href
|
|
9584
|
-
), E === "true" && le(
|
|
9584
|
+
), E === "true" && le(ee, te.searchParams), $ && window.postMessage(
|
|
9585
9585
|
{
|
|
9586
9586
|
type: "CasinoTableCurrentUserData",
|
|
9587
9587
|
tableData: he
|
|
@@ -9592,19 +9592,19 @@ function u1(e, t, r) {
|
|
|
9592
9592
|
}, X = () => {
|
|
9593
9593
|
P(g, h);
|
|
9594
9594
|
};
|
|
9595
|
-
let
|
|
9596
|
-
$t(() => (r(11,
|
|
9595
|
+
let re = [], se = !1;
|
|
9596
|
+
$t(() => (r(11, re = [Mn, Mn, Xo, Qo]), r(0, o = Y ? Y.firstrow : !0), Xe(), r(33, se = !0), window.addEventListener("message", cr), () => {
|
|
9597
9597
|
window.removeEventListener("message", cr);
|
|
9598
9598
|
}));
|
|
9599
|
-
const Z = (
|
|
9600
|
-
return e.$$set = (
|
|
9601
|
-
"sortable" in
|
|
9599
|
+
const Z = (T) => zt(T), ue = (T) => zt(T), He = () => q(), Bt = (T) => zt(T);
|
|
9600
|
+
return e.$$set = (T) => {
|
|
9601
|
+
"sortable" in T && r(1, s = T.sortable), "firstrow" in T && r(0, o = T.firstrow), "lang" in T && r(18, l = T.lang), "scorefractiondigit" in T && r(19, u = T.scorefractiondigit), "session" in T && r(20, f = T.session), "userid" in T && r(21, d = T.userid), "tourid" in T && r(22, h = T.tourid), "endpoint" in T && r(23, g = T.endpoint), "tablelimit" in T && r(24, y = T.tablelimit), "namemask" in T && r(25, p = T.namemask), "showunqualifiedplayer" in T && r(26, S = T.showunqualifiedplayer), "mobiletablelimit" in T && r(27, D = T.mobiletablelimit), "updatetableintime" in T && r(28, E = T.updatetableintime), "minscore" in T && r(29, w = T.minscore), "showrankasimage" in T && r(2, v = T.showrankasimage), "cellsetting" in T && r(30, Y = T.cellsetting);
|
|
9602
9602
|
}, e.$$.update = () => {
|
|
9603
9603
|
e.$$.dirty[0] & /*data*/
|
|
9604
9604
|
8 | e.$$.dirty[1] & /*sortColumn, sortDirection*/
|
|
9605
9605
|
3 && r(13, n = G && M ? N() : [...A]), e.$$.dirty[1] & /*sortColumn, sortDirection*/
|
|
9606
9606
|
3 && r(12, i = l1 === G ? M : null), e.$$.dirty[0] & /*scorefractiondigit*/
|
|
9607
|
-
524288 && (
|
|
9607
|
+
524288 && (ie = Number(u)), e.$$.dirty[0] & /*session*/
|
|
9608
9608
|
1048576 | e.$$.dirty[1] & /*isMounted*/
|
|
9609
9609
|
4 && se && f && Xe(), e.$$.dirty[0] & /*lang, userid, session, tourid, showunqualifiedplayer, tablelimit*/
|
|
9610
9610
|
91488256 | e.$$.dirty[1] & /*isMounted*/
|
|
@@ -9621,7 +9621,7 @@ function u1(e, t, r) {
|
|
|
9621
9621
|
Re,
|
|
9622
9622
|
Ne,
|
|
9623
9623
|
Se,
|
|
9624
|
-
|
|
9624
|
+
re,
|
|
9625
9625
|
i,
|
|
9626
9626
|
n,
|
|
9627
9627
|
a,
|
|
@@ -15066,16 +15066,16 @@ function Gm(e, t, r) {
|
|
|
15066
15066
|
cmsData: {},
|
|
15067
15067
|
ctrlProperties: null,
|
|
15068
15068
|
tournamentData: null
|
|
15069
|
-
}, $, be = new Sm(), I = { rows: [] },
|
|
15069
|
+
}, $, be = new Sm(), I = { rows: [] }, ne, Se, ie = !1, B = !0;
|
|
15070
15070
|
e2({ withLocale: u, translations: {} }), bt(u);
|
|
15071
15071
|
const De = (P, X) => {
|
|
15072
|
-
let
|
|
15073
|
-
|
|
15074
|
-
X.hasOwnProperty(se) && (
|
|
15072
|
+
let re = P.componentAttrs || {};
|
|
15073
|
+
re && Object.keys(re).forEach((se) => {
|
|
15074
|
+
X.hasOwnProperty(se) && (re[se] = X[se]);
|
|
15075
15075
|
});
|
|
15076
15076
|
}, Xe = () => {
|
|
15077
|
-
let P = I.rows, X = (
|
|
15078
|
-
!
|
|
15077
|
+
let P = I.rows, X = (re) => {
|
|
15078
|
+
!re || !re.length || re.forEach((se) => {
|
|
15079
15079
|
if (!se.isCellContainer) {
|
|
15080
15080
|
let Z = se.dataKey;
|
|
15081
15081
|
if (Z && Z.source == "cms") {
|
|
@@ -15088,8 +15088,8 @@ function Gm(e, t, r) {
|
|
|
15088
15088
|
X(se.subComponents);
|
|
15089
15089
|
});
|
|
15090
15090
|
};
|
|
15091
|
-
P.forEach((
|
|
15092
|
-
X(
|
|
15091
|
+
P.forEach((re) => {
|
|
15092
|
+
X(re.cols);
|
|
15093
15093
|
});
|
|
15094
15094
|
}, it = () => {
|
|
15095
15095
|
fetch(`${l}/${s}`).then((P) => P ? P.json() : {
|
|
@@ -15103,12 +15103,12 @@ function Gm(e, t, r) {
|
|
|
15103
15103
|
P && P.details && (he.cmsData.tournamentdescription = P.details), Xe(), r(5, I = { ...I });
|
|
15104
15104
|
});
|
|
15105
15105
|
}, Ge = (P, X) => {
|
|
15106
|
-
let
|
|
15106
|
+
let re = P.rows, se = (Z) => {
|
|
15107
15107
|
!Z || !Z.length || Z.forEach((ue) => {
|
|
15108
15108
|
ue.isCellContainer || De(ue, X), se(ue.subComponents);
|
|
15109
15109
|
});
|
|
15110
15110
|
};
|
|
15111
|
-
|
|
15111
|
+
re.forEach((Z) => {
|
|
15112
15112
|
se(Z.cols);
|
|
15113
15113
|
});
|
|
15114
15114
|
}, kt = (P) => {
|
|
@@ -15126,9 +15126,9 @@ function Gm(e, t, r) {
|
|
|
15126
15126
|
console.error(X);
|
|
15127
15127
|
}
|
|
15128
15128
|
}, ur = (P, X) => {
|
|
15129
|
-
let
|
|
15129
|
+
let re = `${o}/v1/tournaments/updates?filter=id=${P}&${X}`;
|
|
15130
15130
|
$ && ($.removeEventListener("message", kt), $.close()), $ = new Zo.EventSourcePolyfill(
|
|
15131
|
-
|
|
15131
|
+
re,
|
|
15132
15132
|
{
|
|
15133
15133
|
headers: {
|
|
15134
15134
|
accept: "text/event-stream",
|
|
@@ -15137,39 +15137,39 @@ function Gm(e, t, r) {
|
|
|
15137
15137
|
}
|
|
15138
15138
|
), !1 != "undefined" && $.addEventListener("message", kt);
|
|
15139
15139
|
}, cr = (P) => {
|
|
15140
|
-
|
|
15140
|
+
ne = be.transfer(P), he.tournamentData = ne, ne.lang = u, r(5, I = Qs(Vr[n] || Vr.default, he));
|
|
15141
15141
|
}, zt = (P, X) => {
|
|
15142
|
-
let
|
|
15143
|
-
|
|
15144
|
-
let Z =
|
|
15145
|
-
fetch(
|
|
15142
|
+
let re = new URL(P + `/v1/tournaments/${X}`), se = new Headers({ "X-SessionId": i });
|
|
15143
|
+
re.searchParams.append("platform", Yn(U)), re.searchParams.append("language", u);
|
|
15144
|
+
let Z = re.searchParams.toString(), ue = { method: "GET", headers: se };
|
|
15145
|
+
fetch(re.href, ue).then((He) => He.json()).then((He) => {
|
|
15146
15146
|
if (!He.success || He.errorCode) {
|
|
15147
15147
|
r(7, Se = `Faild to load data, details: ${He.errorMessage}`);
|
|
15148
15148
|
return;
|
|
15149
15149
|
} else
|
|
15150
15150
|
r(7, Se = null);
|
|
15151
|
-
He.item.id = s, cr(He.item),
|
|
15151
|
+
He.item.id = s, cr(He.item), ne.lang = u, Ge(I, ne), r(5, I = { ...I }), r(8, B = !1), q(), ur(s, Z);
|
|
15152
15152
|
});
|
|
15153
|
-
},
|
|
15153
|
+
}, k = go(), N = (P, X, re) => {
|
|
15154
15154
|
if (!I.rows || I.rows.length == 0)
|
|
15155
15155
|
return;
|
|
15156
15156
|
let se = I.rows[0].cols;
|
|
15157
15157
|
P.forEach((Z) => {
|
|
15158
|
-
let ue, He = (
|
|
15159
|
-
|
|
15158
|
+
let ue, He = (ee) => {
|
|
15159
|
+
ee.forEach((te, we) => {
|
|
15160
15160
|
if (ue)
|
|
15161
15161
|
return ue;
|
|
15162
|
-
if (
|
|
15163
|
-
return ue =
|
|
15164
|
-
if (
|
|
15165
|
-
return He(
|
|
15162
|
+
if (te.componentid == Z)
|
|
15163
|
+
return ue = te, ue;
|
|
15164
|
+
if (te.subComponents && te.subComponents.length > 0)
|
|
15165
|
+
return He(te.subComponents);
|
|
15166
15166
|
});
|
|
15167
15167
|
};
|
|
15168
15168
|
He(se);
|
|
15169
|
-
let Bt =
|
|
15170
|
-
ue && X.forEach((
|
|
15171
|
-
let
|
|
15172
|
-
he.ctrlProperties[
|
|
15169
|
+
let Bt = k.$$.props, T = k.$$.ctx;
|
|
15170
|
+
ue && X.forEach((ee) => {
|
|
15171
|
+
let te = Bt[ee], we = T[te];
|
|
15172
|
+
he.ctrlProperties[ee] = we, ue.componentAttrs[ee] = we;
|
|
15173
15173
|
});
|
|
15174
15174
|
}), r(5, I = { ...I });
|
|
15175
15175
|
}, q = () => {
|
|
@@ -15185,7 +15185,7 @@ function Gm(e, t, r) {
|
|
|
15185
15185
|
};
|
|
15186
15186
|
return $t(() => (r(0, n = Vr[n] ? n : "default"), r(6, xe = Gn(U)), setTimeout(
|
|
15187
15187
|
() => {
|
|
15188
|
-
he.ctrlProperties = t, r(35,
|
|
15188
|
+
he.ctrlProperties = t, r(35, ie = !0);
|
|
15189
15189
|
},
|
|
15190
15190
|
300
|
|
15191
15191
|
), window.addEventListener("message", Q), () => {
|
|
@@ -15195,18 +15195,18 @@ function Gm(e, t, r) {
|
|
|
15195
15195
|
}, e.$$.update = () => {
|
|
15196
15196
|
e.$$.dirty[0] & /*session*/
|
|
15197
15197
|
1024 | e.$$.dirty[1] & /*isMounted*/
|
|
15198
|
-
16 &&
|
|
15198
|
+
16 && ie && i && le(), e.$$.dirty[0] & /*endpoint, session, userid, lang, tourid*/
|
|
15199
15199
|
15362 | e.$$.dirty[1] & /*isMounted*/
|
|
15200
|
-
16 &&
|
|
15200
|
+
16 && ie && o && i && a && u && s && ae(), e.$$.dirty[0] & /*session, opLayout, layoutid, userid*/
|
|
15201
15201
|
3105 | e.$$.dirty[1] & /*isMounted*/
|
|
15202
|
-
16 &&
|
|
15202
|
+
16 && ie && i && I[n] && a && setTimeout(() => {
|
|
15203
15203
|
N(["LeaderboardCell", "GamesCell", "JoinButtonCell"], ["session", "userid"]);
|
|
15204
15204
|
}), e.$$.dirty[0] & /*cmsendpoint, tourid*/
|
|
15205
15205
|
20480 && l && s && it(), e.$$.dirty[0] & /*showunqualifiedplayer, scorefractiondigit, tablelimit*/
|
|
15206
15206
|
71827456 | e.$$.dirty[1] & /*isMounted*/
|
|
15207
|
-
16 &&
|
|
15207
|
+
16 && ie && y && Y && D && N(["LeaderboardCell"], ["showunqualifiedplayer", "scorefractiondigit", "tablelimit"]), e.$$.dirty[0] & /*layoutid*/
|
|
15208
15208
|
1 | e.$$.dirty[1] & /*isMounted*/
|
|
15209
|
-
16 &&
|
|
15209
|
+
16 && ie && n && q();
|
|
15210
15210
|
}, t = Da(t), [
|
|
15211
15211
|
n,
|
|
15212
15212
|
u,
|
|
@@ -15243,7 +15243,7 @@ function Gm(e, t, r) {
|
|
|
15243
15243
|
ke,
|
|
15244
15244
|
ye,
|
|
15245
15245
|
Pe,
|
|
15246
|
-
|
|
15246
|
+
ie
|
|
15247
15247
|
];
|
|
15248
15248
|
}
|
|
15249
15249
|
class Ym extends qe {
|