@everymatrix/casino-tournaments-customize-page-controller 1.87.27 → 1.87.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{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
|
@@ -4439,21 +4439,21 @@ var Ni = { exports: {} };
|
|
|
4439
4439
|
(function(t, e) {
|
|
4440
4440
|
(function(r) {
|
|
4441
4441
|
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;
|
|
4442
|
-
if (typeof window != "undefined" && typeof u != "undefined" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(
|
|
4442
|
+
if (typeof window != "undefined" && typeof u != "undefined" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(k) {
|
|
4443
4443
|
u.readyState = "complete";
|
|
4444
4444
|
}, !1)), a == null && o != null && (a = function() {
|
|
4445
4445
|
return new o("Microsoft.XMLHTTP");
|
|
4446
|
-
}), Object.create == null && (Object.create = function(
|
|
4446
|
+
}), Object.create == null && (Object.create = function(k) {
|
|
4447
4447
|
function N() {
|
|
4448
4448
|
}
|
|
4449
|
-
return N.prototype =
|
|
4449
|
+
return N.prototype = k, new N();
|
|
4450
4450
|
}), Date.now || (Date.now = function() {
|
|
4451
4451
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
4452
4452
|
}), p == null) {
|
|
4453
4453
|
var S = d;
|
|
4454
|
-
d = function(
|
|
4454
|
+
d = function(k, N) {
|
|
4455
4455
|
var q = N.signal;
|
|
4456
|
-
return S(
|
|
4456
|
+
return S(k, { headers: N.headers, credentials: N.credentials, cache: N.cache }).then(function(z) {
|
|
4457
4457
|
var ae = z.body.getReader();
|
|
4458
4458
|
return q._reader = ae, q._aborted && q._reader.cancel(), {
|
|
4459
4459
|
status: z.status,
|
|
@@ -4478,27 +4478,27 @@ var Ni = { exports: {} };
|
|
|
4478
4478
|
function D() {
|
|
4479
4479
|
this.bitsNeeded = 0, this.codePoint = 0;
|
|
4480
4480
|
}
|
|
4481
|
-
D.prototype.decode = function(
|
|
4482
|
-
function N(
|
|
4481
|
+
D.prototype.decode = function(k) {
|
|
4482
|
+
function N(re, se, Z) {
|
|
4483
4483
|
if (Z === 1)
|
|
4484
|
-
return
|
|
4484
|
+
return re >= 128 >> se && re << se <= 2047;
|
|
4485
4485
|
if (Z === 2)
|
|
4486
|
-
return
|
|
4486
|
+
return re >= 2048 >> se && re << se <= 55295 || re >= 57344 >> se && re << se <= 65535;
|
|
4487
4487
|
if (Z === 3)
|
|
4488
|
-
return
|
|
4488
|
+
return re >= 65536 >> se && re << se <= 1114111;
|
|
4489
4489
|
throw new Error();
|
|
4490
4490
|
}
|
|
4491
|
-
function q(
|
|
4492
|
-
if (
|
|
4491
|
+
function q(re, se) {
|
|
4492
|
+
if (re === 6 * 1)
|
|
4493
4493
|
return se >> 6 > 15 ? 3 : se > 31 ? 2 : 1;
|
|
4494
|
-
if (
|
|
4494
|
+
if (re === 6 * 2)
|
|
4495
4495
|
return se > 15 ? 3 : 2;
|
|
4496
|
-
if (
|
|
4496
|
+
if (re === 6 * 3)
|
|
4497
4497
|
return 3;
|
|
4498
4498
|
throw new Error();
|
|
4499
4499
|
}
|
|
4500
|
-
for (var z = 65533, ae = "", Q = this.bitsNeeded, le = this.codePoint, P = 0; P <
|
|
4501
|
-
var X =
|
|
4500
|
+
for (var z = 65533, ae = "", Q = this.bitsNeeded, le = this.codePoint, P = 0; P < k.length; P += 1) {
|
|
4501
|
+
var X = k[P];
|
|
4502
4502
|
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))));
|
|
4503
4503
|
}
|
|
4504
4504
|
return this.bitsNeeded = Q, this.codePoint = le, ae;
|
|
@@ -4506,18 +4506,18 @@ var Ni = { exports: {} };
|
|
|
4506
4506
|
var E = function() {
|
|
4507
4507
|
try {
|
|
4508
4508
|
return new g().decode(new y().encode("test"), { stream: !0 }) === "test";
|
|
4509
|
-
} catch (
|
|
4510
|
-
console.debug("TextDecoder does not support streaming option. Using polyfill instead: " +
|
|
4509
|
+
} catch (k) {
|
|
4510
|
+
console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + k);
|
|
4511
4511
|
}
|
|
4512
4512
|
return !1;
|
|
4513
4513
|
};
|
|
4514
4514
|
(g == null || y == null || !E()) && (g = D);
|
|
4515
4515
|
var w = function() {
|
|
4516
4516
|
};
|
|
4517
|
-
function v(
|
|
4518
|
-
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 =
|
|
4517
|
+
function v(k) {
|
|
4518
|
+
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;
|
|
4519
4519
|
}
|
|
4520
|
-
v.prototype.open = function(
|
|
4520
|
+
v.prototype.open = function(k, N) {
|
|
4521
4521
|
this._abort(!0);
|
|
4522
4522
|
var q = this, z = this._xhr, ae = 1, Q = 0;
|
|
4523
4523
|
this._abort = function(Z) {
|
|
@@ -4560,7 +4560,7 @@ var Ni = { exports: {} };
|
|
|
4560
4560
|
throw new TypeError();
|
|
4561
4561
|
q.onreadystatechange();
|
|
4562
4562
|
}
|
|
4563
|
-
},
|
|
4563
|
+
}, re = function(Z) {
|
|
4564
4564
|
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());
|
|
4565
4565
|
}, se = function() {
|
|
4566
4566
|
Q = n(function() {
|
|
@@ -4574,24 +4574,24 @@ var Ni = { exports: {} };
|
|
|
4574
4574
|
}), "onabort" in z && (z.onabort = function(Z) {
|
|
4575
4575
|
X("abort", Z);
|
|
4576
4576
|
}), "onprogress" in z && (z.onprogress = P), "onreadystatechange" in z && (z.onreadystatechange = function(Z) {
|
|
4577
|
-
|
|
4578
|
-
}), ("contentType" in z || !("ontimeout" in a.prototype)) && (N += (N.indexOf("?") === -1 ? "?" : "&") + "padding=true"), z.open(
|
|
4577
|
+
re(Z);
|
|
4578
|
+
}), ("contentType" in z || !("ontimeout" in a.prototype)) && (N += (N.indexOf("?") === -1 ? "?" : "&") + "padding=true"), z.open(k, N, !0), "readyState" in z && (Q = n(function() {
|
|
4579
4579
|
se();
|
|
4580
4580
|
}, 0));
|
|
4581
4581
|
}, v.prototype.abort = function() {
|
|
4582
4582
|
this._abort(!1);
|
|
4583
|
-
}, v.prototype.getResponseHeader = function(
|
|
4583
|
+
}, v.prototype.getResponseHeader = function(k) {
|
|
4584
4584
|
return this._contentType;
|
|
4585
|
-
}, v.prototype.setRequestHeader = function(
|
|
4585
|
+
}, v.prototype.setRequestHeader = function(k, N) {
|
|
4586
4586
|
var q = this._xhr;
|
|
4587
|
-
"setRequestHeader" in q && q.setRequestHeader(
|
|
4587
|
+
"setRequestHeader" in q && q.setRequestHeader(k, N);
|
|
4588
4588
|
}, v.prototype.getAllResponseHeaders = function() {
|
|
4589
4589
|
return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
|
|
4590
4590
|
}, v.prototype.send = function() {
|
|
4591
4591
|
if ((!("ontimeout" in a.prototype) || !("sendAsBinary" in a.prototype) && !("mozAnon" in a.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
|
|
4592
|
-
var
|
|
4593
|
-
|
|
4594
|
-
|
|
4592
|
+
var k = this;
|
|
4593
|
+
k._sendTimeout = n(function() {
|
|
4594
|
+
k._sendTimeout = 0, k.send();
|
|
4595
4595
|
}, 4);
|
|
4596
4596
|
return;
|
|
4597
4597
|
}
|
|
@@ -4603,73 +4603,73 @@ var Ni = { exports: {} };
|
|
|
4603
4603
|
throw q;
|
|
4604
4604
|
}
|
|
4605
4605
|
};
|
|
4606
|
-
function Y(
|
|
4607
|
-
return
|
|
4606
|
+
function Y(k) {
|
|
4607
|
+
return k.replace(/[A-Z]/g, function(N) {
|
|
4608
4608
|
return String.fromCharCode(N.charCodeAt(0) + 32);
|
|
4609
4609
|
});
|
|
4610
4610
|
}
|
|
4611
|
-
function L(
|
|
4612
|
-
for (var N = /* @__PURE__ */ Object.create(null), q =
|
|
4611
|
+
function L(k) {
|
|
4612
|
+
for (var N = /* @__PURE__ */ Object.create(null), q = k.split(`\r
|
|
4613
4613
|
`), z = 0; z < q.length; z += 1) {
|
|
4614
4614
|
var ae = q[z], Q = ae.split(": "), le = Q.shift(), P = Q.join(": ");
|
|
4615
4615
|
N[Y(le)] = P;
|
|
4616
4616
|
}
|
|
4617
4617
|
this._map = N;
|
|
4618
4618
|
}
|
|
4619
|
-
L.prototype.get = function(
|
|
4620
|
-
return this._map[Y(
|
|
4619
|
+
L.prototype.get = function(k) {
|
|
4620
|
+
return this._map[Y(k)];
|
|
4621
4621
|
}, a != null && a.HEADERS_RECEIVED == null && (a.HEADERS_RECEIVED = 2);
|
|
4622
4622
|
function F() {
|
|
4623
4623
|
}
|
|
4624
|
-
F.prototype.open = function(
|
|
4625
|
-
|
|
4624
|
+
F.prototype.open = function(k, N, q, z, ae, Q, le) {
|
|
4625
|
+
k.open("GET", ae);
|
|
4626
4626
|
var P = 0;
|
|
4627
|
-
|
|
4628
|
-
var
|
|
4627
|
+
k.onprogress = function() {
|
|
4628
|
+
var re = k.responseText, se = re.slice(P);
|
|
4629
4629
|
P += se.length, q(se);
|
|
4630
|
-
},
|
|
4631
|
-
|
|
4632
|
-
},
|
|
4630
|
+
}, k.onerror = function(re) {
|
|
4631
|
+
re.preventDefault(), z(new Error("NetworkError"));
|
|
4632
|
+
}, k.onload = function() {
|
|
4633
4633
|
z(null);
|
|
4634
|
-
},
|
|
4634
|
+
}, k.onabort = function() {
|
|
4635
4635
|
z(null);
|
|
4636
|
-
},
|
|
4637
|
-
if (
|
|
4638
|
-
var
|
|
4639
|
-
N(
|
|
4636
|
+
}, k.onreadystatechange = function() {
|
|
4637
|
+
if (k.readyState === a.HEADERS_RECEIVED) {
|
|
4638
|
+
var re = k.status, se = k.statusText, Z = k.getResponseHeader("Content-Type"), ue = k.getAllResponseHeaders();
|
|
4639
|
+
N(re, se, Z, new L(ue));
|
|
4640
4640
|
}
|
|
4641
|
-
},
|
|
4641
|
+
}, k.withCredentials = Q;
|
|
4642
4642
|
for (var X in le)
|
|
4643
|
-
Object.prototype.hasOwnProperty.call(le, X) &&
|
|
4644
|
-
return
|
|
4643
|
+
Object.prototype.hasOwnProperty.call(le, X) && k.setRequestHeader(X, le[X]);
|
|
4644
|
+
return k.send(), k;
|
|
4645
4645
|
};
|
|
4646
|
-
function G(
|
|
4647
|
-
this._headers =
|
|
4646
|
+
function G(k) {
|
|
4647
|
+
this._headers = k;
|
|
4648
4648
|
}
|
|
4649
|
-
G.prototype.get = function(
|
|
4650
|
-
return this._headers.get(
|
|
4649
|
+
G.prototype.get = function(k) {
|
|
4650
|
+
return this._headers.get(k);
|
|
4651
4651
|
};
|
|
4652
4652
|
function M() {
|
|
4653
4653
|
}
|
|
4654
|
-
M.prototype.open = function(
|
|
4655
|
-
var P = null, X = new p(),
|
|
4654
|
+
M.prototype.open = function(k, N, q, z, ae, Q, le) {
|
|
4655
|
+
var P = null, X = new p(), re = X.signal, se = new g();
|
|
4656
4656
|
return d(ae, {
|
|
4657
4657
|
headers: le,
|
|
4658
4658
|
credentials: Q ? "include" : "same-origin",
|
|
4659
|
-
signal:
|
|
4659
|
+
signal: re,
|
|
4660
4660
|
cache: "no-store"
|
|
4661
4661
|
}).then(function(Z) {
|
|
4662
4662
|
return P = Z.body.getReader(), N(Z.status, Z.statusText, Z.headers.get("Content-Type"), new G(Z.headers)), new f(function(ue, He) {
|
|
4663
4663
|
var Ht = function() {
|
|
4664
|
-
P.read().then(function(
|
|
4665
|
-
if (
|
|
4664
|
+
P.read().then(function(T) {
|
|
4665
|
+
if (T.done)
|
|
4666
4666
|
ue(void 0);
|
|
4667
4667
|
else {
|
|
4668
|
-
var
|
|
4669
|
-
q(
|
|
4668
|
+
var ee = se.decode(T.value, { stream: !0 });
|
|
4669
|
+
q(ee), Ht();
|
|
4670
4670
|
}
|
|
4671
|
-
}).catch(function(
|
|
4672
|
-
He(
|
|
4671
|
+
}).catch(function(T) {
|
|
4672
|
+
He(T);
|
|
4673
4673
|
});
|
|
4674
4674
|
};
|
|
4675
4675
|
Ht();
|
|
@@ -4688,85 +4688,85 @@ var Ni = { exports: {} };
|
|
|
4688
4688
|
function A() {
|
|
4689
4689
|
this._listeners = /* @__PURE__ */ Object.create(null);
|
|
4690
4690
|
}
|
|
4691
|
-
function Se(
|
|
4691
|
+
function Se(k) {
|
|
4692
4692
|
n(function() {
|
|
4693
|
-
throw
|
|
4693
|
+
throw k;
|
|
4694
4694
|
}, 0);
|
|
4695
4695
|
}
|
|
4696
|
-
A.prototype.dispatchEvent = function(
|
|
4697
|
-
|
|
4698
|
-
var N = this._listeners[
|
|
4696
|
+
A.prototype.dispatchEvent = function(k) {
|
|
4697
|
+
k.target = this;
|
|
4698
|
+
var N = this._listeners[k.type];
|
|
4699
4699
|
if (N != null)
|
|
4700
4700
|
for (var q = N.length, z = 0; z < q; z += 1) {
|
|
4701
4701
|
var ae = N[z];
|
|
4702
4702
|
try {
|
|
4703
|
-
typeof ae.handleEvent == "function" ? ae.handleEvent(
|
|
4703
|
+
typeof ae.handleEvent == "function" ? ae.handleEvent(k) : ae.call(this, k);
|
|
4704
4704
|
} catch (Q) {
|
|
4705
4705
|
Se(Q);
|
|
4706
4706
|
}
|
|
4707
4707
|
}
|
|
4708
|
-
}, A.prototype.addEventListener = function(
|
|
4709
|
-
|
|
4710
|
-
var q = this._listeners, z = q[
|
|
4711
|
-
z == null && (z = [], q[
|
|
4708
|
+
}, A.prototype.addEventListener = function(k, N) {
|
|
4709
|
+
k = String(k);
|
|
4710
|
+
var q = this._listeners, z = q[k];
|
|
4711
|
+
z == null && (z = [], q[k] = z);
|
|
4712
4712
|
for (var ae = !1, Q = 0; Q < z.length; Q += 1)
|
|
4713
4713
|
z[Q] === N && (ae = !0);
|
|
4714
4714
|
ae || z.push(N);
|
|
4715
|
-
}, A.prototype.removeEventListener = function(
|
|
4716
|
-
|
|
4717
|
-
var q = this._listeners, z = q[
|
|
4715
|
+
}, A.prototype.removeEventListener = function(k, N) {
|
|
4716
|
+
k = String(k);
|
|
4717
|
+
var q = this._listeners, z = q[k];
|
|
4718
4718
|
if (z != null) {
|
|
4719
4719
|
for (var ae = [], Q = 0; Q < z.length; Q += 1)
|
|
4720
4720
|
z[Q] !== N && ae.push(z[Q]);
|
|
4721
|
-
ae.length === 0 ? delete q[
|
|
4721
|
+
ae.length === 0 ? delete q[k] : q[k] = ae;
|
|
4722
4722
|
}
|
|
4723
4723
|
};
|
|
4724
|
-
function ye(
|
|
4725
|
-
this.type =
|
|
4724
|
+
function ye(k) {
|
|
4725
|
+
this.type = k, this.target = void 0;
|
|
4726
4726
|
}
|
|
4727
|
-
function xe(
|
|
4728
|
-
ye.call(this,
|
|
4727
|
+
function xe(k, N) {
|
|
4728
|
+
ye.call(this, k), this.data = N.data, this.lastEventId = N.lastEventId;
|
|
4729
4729
|
}
|
|
4730
4730
|
xe.prototype = Object.create(ye.prototype);
|
|
4731
|
-
function Re(
|
|
4732
|
-
ye.call(this,
|
|
4731
|
+
function Re(k, N) {
|
|
4732
|
+
ye.call(this, k), this.status = N.status, this.statusText = N.statusText, this.headers = N.headers;
|
|
4733
4733
|
}
|
|
4734
4734
|
Re.prototype = Object.create(ye.prototype);
|
|
4735
|
-
function Me(
|
|
4736
|
-
ye.call(this,
|
|
4735
|
+
function Me(k, N) {
|
|
4736
|
+
ye.call(this, k), this.error = N.error;
|
|
4737
4737
|
}
|
|
4738
4738
|
Me.prototype = Object.create(ye.prototype);
|
|
4739
|
-
var Ne = -1, Ce = 0, U = 1, De = 2, he = -1, $ = 0, be = 1, I = 2,
|
|
4740
|
-
var q =
|
|
4739
|
+
var Ne = -1, Ce = 0, U = 1, De = 2, he = -1, $ = 0, be = 1, I = 2, ne = 3, Pe = /^text\/event\-stream(;.*)?$/i, ie = 1e3, B = 18e6, Xe = function(k, N) {
|
|
4740
|
+
var q = k == null ? N : parseInt(k, 10);
|
|
4741
4741
|
return q !== q && (q = N), we(q);
|
|
4742
|
-
}, we = function(
|
|
4743
|
-
return Math.min(Math.max(
|
|
4744
|
-
}, et = function(
|
|
4742
|
+
}, we = function(k) {
|
|
4743
|
+
return Math.min(Math.max(k, ie), B);
|
|
4744
|
+
}, et = function(k, N, q) {
|
|
4745
4745
|
try {
|
|
4746
|
-
typeof N == "function" && N.call(
|
|
4746
|
+
typeof N == "function" && N.call(k, q);
|
|
4747
4747
|
} catch (z) {
|
|
4748
4748
|
Se(z);
|
|
4749
4749
|
}
|
|
4750
4750
|
};
|
|
4751
|
-
function Ge(
|
|
4752
|
-
A.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, dr(this,
|
|
4751
|
+
function Ge(k, N) {
|
|
4752
|
+
A.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, dr(this, k, N);
|
|
4753
4753
|
}
|
|
4754
4754
|
function St() {
|
|
4755
4755
|
return a != null && "withCredentials" in a.prototype || s == null ? new a() : new s();
|
|
4756
4756
|
}
|
|
4757
4757
|
var Et = d != null && h != null && "body" in h.prototype;
|
|
4758
|
-
function dr(
|
|
4758
|
+
function dr(k, N, q) {
|
|
4759
4759
|
N = String(N);
|
|
4760
|
-
var z = !!q.withCredentials, ae = q.lastEventIdQueryParameterName || "lastEventId", Q = we(1e3), le = Xe(q.heartbeatTimeout, 45e3), P = "", X = Q,
|
|
4761
|
-
if (
|
|
4760
|
+
var z = !!q.withCredentials, ae = q.lastEventIdQueryParameterName || "lastEventId", Q = we(1e3), le = Xe(q.heartbeatTimeout, 45e3), P = "", X = Q, re = !1, se = 0, Z = q.headers || {}, ue = q.Transport, He = Et && ue == null ? void 0 : new v(ue != null ? new ue() : St()), Ht = ue != null && typeof ue != "string" ? new ue() : He == null ? new M() : new F(), T = void 0, ee = 0, te = Ne, ve = "", Ae = "", dt = "", ht = "", at = $, oi = 0, hr = 0, $l = function(Qe, Je, mt, pt) {
|
|
4761
|
+
if (te === Ce)
|
|
4762
4762
|
if (Qe === 200 && mt != null && Pe.test(mt)) {
|
|
4763
|
-
|
|
4763
|
+
te = U, re = Date.now(), X = Q, k.readyState = U;
|
|
4764
4764
|
var st = new Re("open", {
|
|
4765
4765
|
status: Qe,
|
|
4766
4766
|
statusText: Je,
|
|
4767
4767
|
headers: pt
|
|
4768
4768
|
});
|
|
4769
|
-
|
|
4769
|
+
k.dispatchEvent(st), et(k, k.onopen, st);
|
|
4770
4770
|
} else {
|
|
4771
4771
|
var Ke = "";
|
|
4772
4772
|
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.", li();
|
|
@@ -4775,16 +4775,16 @@ var Ni = { exports: {} };
|
|
|
4775
4775
|
statusText: Je,
|
|
4776
4776
|
headers: pt
|
|
4777
4777
|
});
|
|
4778
|
-
|
|
4778
|
+
k.dispatchEvent(st), et(k, k.onerror, st), console.error(Ke);
|
|
4779
4779
|
}
|
|
4780
4780
|
}, e0 = function(Qe) {
|
|
4781
|
-
if (
|
|
4781
|
+
if (te === U) {
|
|
4782
4782
|
for (var Je = -1, mt = 0; mt < Qe.length; mt += 1) {
|
|
4783
4783
|
var pt = Qe.charCodeAt(mt);
|
|
4784
4784
|
(pt === 10 || pt === 13) && (Je = mt);
|
|
4785
4785
|
}
|
|
4786
4786
|
var st = (Je !== -1 ? ht : "") + Qe.slice(0, Je + 1);
|
|
4787
|
-
ht = (Je === -1 ? ht : "") + Qe.slice(Je + 1), Qe !== "" && (
|
|
4787
|
+
ht = (Je === -1 ? ht : "") + Qe.slice(Je + 1), Qe !== "" && (re = Date.now(), se += Qe.length);
|
|
4788
4788
|
for (var Ke = 0; Ke < st.length; Ke += 1) {
|
|
4789
4789
|
var pt = st.charCodeAt(Ke);
|
|
4790
4790
|
if (at === he && pt === 10)
|
|
@@ -4794,7 +4794,7 @@ var Ni = { exports: {} };
|
|
|
4794
4794
|
at === be && (hr = Ke + 1);
|
|
4795
4795
|
var Ut = st.slice(oi, hr - 1), It = st.slice(hr + (hr < Ke && st.charCodeAt(hr) === 32 ? 1 : 0), Ke);
|
|
4796
4796
|
Ut === "data" ? (ve += `
|
|
4797
|
-
`, ve += It) : Ut === "id" ? Ae = It : Ut === "event" ? dt = It : Ut === "retry" ? (Q = Xe(It, Q), X = Q) : Ut === "heartbeatTimeout" && (le = Xe(It, le),
|
|
4797
|
+
`, ve += It) : Ut === "id" ? Ae = It : Ut === "event" ? dt = It : Ut === "retry" ? (Q = Xe(It, Q), X = Q) : Ut === "heartbeatTimeout" && (le = Xe(It, le), ee !== 0 && (i(ee), ee = n(function() {
|
|
4798
4798
|
Yr();
|
|
4799
4799
|
}, le)));
|
|
4800
4800
|
}
|
|
@@ -4805,41 +4805,41 @@ var Ni = { exports: {} };
|
|
|
4805
4805
|
data: ve.slice(1),
|
|
4806
4806
|
lastEventId: Ae
|
|
4807
4807
|
});
|
|
4808
|
-
if (
|
|
4808
|
+
if (k.dispatchEvent(Cr), dt === "open" ? et(k, k.onopen, Cr) : dt === "message" ? et(k, k.onmessage, Cr) : dt === "error" && et(k, k.onerror, Cr), te === De)
|
|
4809
4809
|
return;
|
|
4810
4810
|
}
|
|
4811
4811
|
ve = "", dt = "";
|
|
4812
4812
|
}
|
|
4813
4813
|
at = pt === 13 ? he : $;
|
|
4814
4814
|
} else
|
|
4815
|
-
at === $ && (oi = Ke, at = be), at === be ? pt === 58 && (hr = Ke + 1, at = I) : at === I && (at =
|
|
4815
|
+
at === $ && (oi = Ke, at = be), at === be ? pt === 58 && (hr = Ke + 1, at = I) : at === I && (at = ne);
|
|
4816
4816
|
}
|
|
4817
4817
|
}
|
|
4818
4818
|
}, Ea = function(Qe) {
|
|
4819
|
-
if (
|
|
4820
|
-
|
|
4819
|
+
if (te === U || te === Ce) {
|
|
4820
|
+
te = Ne, ee !== 0 && (i(ee), ee = 0), ee = n(function() {
|
|
4821
4821
|
Yr();
|
|
4822
|
-
}, X), X = we(Math.min(Q * 16, X * 2)),
|
|
4822
|
+
}, X), X = we(Math.min(Q * 16, X * 2)), k.readyState = Ce;
|
|
4823
4823
|
var Je = new Me("error", { error: Qe });
|
|
4824
|
-
|
|
4824
|
+
k.dispatchEvent(Je), et(k, k.onerror, Je), Qe != null && console.error(Qe);
|
|
4825
4825
|
}
|
|
4826
4826
|
}, li = function() {
|
|
4827
|
-
|
|
4827
|
+
te = De, T != null && (T.abort(), T = void 0), ee !== 0 && (i(ee), ee = 0), k.readyState = De;
|
|
4828
4828
|
}, Yr = function() {
|
|
4829
|
-
if (
|
|
4830
|
-
if (!
|
|
4831
|
-
Ea(new Error("No activity within " + le + " milliseconds. " + (
|
|
4829
|
+
if (ee = 0, te !== Ne) {
|
|
4830
|
+
if (!re && T != null)
|
|
4831
|
+
Ea(new Error("No activity within " + le + " milliseconds. " + (te === Ce ? "No response received." : se + " chars received.") + " Reconnecting.")), T != null && (T.abort(), T = void 0);
|
|
4832
4832
|
else {
|
|
4833
|
-
var Qe = Math.max((
|
|
4834
|
-
|
|
4833
|
+
var Qe = Math.max((re || Date.now()) + le - Date.now(), 1);
|
|
4834
|
+
re = !1, ee = n(function() {
|
|
4835
4835
|
Yr();
|
|
4836
4836
|
}, Qe);
|
|
4837
4837
|
}
|
|
4838
4838
|
return;
|
|
4839
4839
|
}
|
|
4840
|
-
|
|
4840
|
+
re = !1, se = 0, ee = n(function() {
|
|
4841
4841
|
Yr();
|
|
4842
|
-
}, le),
|
|
4842
|
+
}, le), te = Ce, ve = "", dt = "", Ae = P, ht = "", oi = 0, hr = 0, at = $;
|
|
4843
4843
|
var Je = N;
|
|
4844
4844
|
if (N.slice(0, 5) !== "data:" && N.slice(0, 5) !== "blob:" && P !== "") {
|
|
4845
4845
|
var mt = N.indexOf("?");
|
|
@@ -4847,31 +4847,31 @@ var Ni = { exports: {} };
|
|
|
4847
4847
|
return Cr === ae ? "" : It;
|
|
4848
4848
|
}), Je += (N.indexOf("?") === -1 ? "?" : "&") + ae + "=" + encodeURIComponent(P);
|
|
4849
4849
|
}
|
|
4850
|
-
var pt =
|
|
4850
|
+
var pt = k.withCredentials, st = {};
|
|
4851
4851
|
st.Accept = "text/event-stream";
|
|
4852
|
-
var Ke =
|
|
4852
|
+
var Ke = k.headers;
|
|
4853
4853
|
if (Ke != null)
|
|
4854
4854
|
for (var Ut in Ke)
|
|
4855
4855
|
Object.prototype.hasOwnProperty.call(Ke, Ut) && (st[Ut] = Ke[Ut]);
|
|
4856
4856
|
try {
|
|
4857
|
-
|
|
4857
|
+
T = Ht.open(He, $l, e0, Ea, Je, pt, st);
|
|
4858
4858
|
} catch (It) {
|
|
4859
4859
|
throw li(), It;
|
|
4860
4860
|
}
|
|
4861
4861
|
};
|
|
4862
|
-
|
|
4862
|
+
k.url = N, k.readyState = Ce, k.withCredentials = z, k.headers = Z, k._close = li, Yr();
|
|
4863
4863
|
}
|
|
4864
4864
|
Ge.prototype = Object.create(A.prototype), Ge.prototype.CONNECTING = Ce, Ge.prototype.OPEN = U, Ge.prototype.CLOSED = De, Ge.prototype.close = function() {
|
|
4865
4865
|
this._close();
|
|
4866
4866
|
}, Ge.CONNECTING = Ce, Ge.OPEN = U, Ge.CLOSED = De, Ge.prototype.withCredentials = void 0;
|
|
4867
4867
|
var Nt = l;
|
|
4868
|
-
a != null && (l == null || !("withCredentials" in l.prototype)) && (Nt = Ge), function(
|
|
4868
|
+
a != null && (l == null || !("withCredentials" in l.prototype)) && (Nt = Ge), function(k) {
|
|
4869
4869
|
{
|
|
4870
|
-
var N =
|
|
4870
|
+
var N = k(e);
|
|
4871
4871
|
N !== void 0 && (t.exports = N);
|
|
4872
4872
|
}
|
|
4873
|
-
}(function(
|
|
4874
|
-
|
|
4873
|
+
}(function(k) {
|
|
4874
|
+
k.EventSourcePolyfill = Ge, k.NativeEventSource = l, k.EventSource = Nt;
|
|
4875
4875
|
});
|
|
4876
4876
|
})(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : v0 : globalThis);
|
|
4877
4877
|
})(Ni, Ni.exports);
|
|
@@ -5555,7 +5555,7 @@ function W2(t, e, r) {
|
|
|
5555
5555
|
headers: $,
|
|
5556
5556
|
body: JSON.stringify(be)
|
|
5557
5557
|
};
|
|
5558
|
-
const
|
|
5558
|
+
const ne = () => {
|
|
5559
5559
|
r(5, L = !1), r(13, o = "true"), window.postMessage(
|
|
5560
5560
|
{
|
|
5561
5561
|
type: "TournamentUserEnrolled",
|
|
@@ -5576,10 +5576,10 @@ function W2(t, e, r) {
|
|
|
5576
5576
|
});
|
|
5577
5577
|
if (B)
|
|
5578
5578
|
if (B.success == !0)
|
|
5579
|
-
|
|
5579
|
+
ne();
|
|
5580
5580
|
else if (B.errorMessage.match("VersionMismatchException")) {
|
|
5581
5581
|
let we;
|
|
5582
|
-
we = yield fetch(`${s}/tournaments/${a}`, { headers: { "X-SessionID": i } }), we = yield we.json(), (Xe = we == null ? void 0 : we.item) != null && Xe.playerEnrolled ?
|
|
5582
|
+
we = yield fetch(`${s}/tournaments/${a}`, { headers: { "X-SessionID": i } }), we = yield we.json(), (Xe = we == null ? void 0 : we.item) != null && Xe.playerEnrolled ? ne() : (Pe(B.errorMessage), r(8, M = !0), r(6, F = !1));
|
|
5583
5583
|
} else
|
|
5584
5584
|
Pe(B.errorMessage);
|
|
5585
5585
|
}), Re = (U) => {
|
|
@@ -7509,13 +7509,13 @@ function Ec(t, e, r) {
|
|
|
7509
7509
|
p.removeEventListener("touchstart", Se), p.removeEventListener("touchmove", ye);
|
|
7510
7510
|
}));
|
|
7511
7511
|
const he = () => xe(-1), $ = (B) => Re(B), be = (B) => G(B), I = () => M();
|
|
7512
|
-
function
|
|
7512
|
+
function ne(B) {
|
|
7513
7513
|
rn[B ? "unshift" : "push"](() => {
|
|
7514
7514
|
v = B, r(6, v);
|
|
7515
7515
|
});
|
|
7516
7516
|
}
|
|
7517
7517
|
const Pe = () => xe(1);
|
|
7518
|
-
function
|
|
7518
|
+
function ie(B) {
|
|
7519
7519
|
rn[B ? "unshift" : "push"](() => {
|
|
7520
7520
|
p = B, r(2, p);
|
|
7521
7521
|
});
|
|
@@ -7557,9 +7557,9 @@ function Ec(t, e, r) {
|
|
|
7557
7557
|
$,
|
|
7558
7558
|
be,
|
|
7559
7559
|
I,
|
|
7560
|
-
|
|
7560
|
+
ne,
|
|
7561
7561
|
Pe,
|
|
7562
|
-
|
|
7562
|
+
ie
|
|
7563
7563
|
];
|
|
7564
7564
|
}
|
|
7565
7565
|
class qi extends qe {
|
|
@@ -8296,27 +8296,27 @@ function Ns(t) {
|
|
|
8296
8296
|
/*firstRowData*/
|
|
8297
8297
|
t[5].Points + ""
|
|
8298
8298
|
), M, A, Se, ye, xe, Re, Me, Ne, Ce, U;
|
|
8299
|
-
function De(
|
|
8299
|
+
function De(ie, B) {
|
|
8300
8300
|
return (
|
|
8301
8301
|
/*firstRowData*/
|
|
8302
|
-
|
|
8303
|
-
|
|
8302
|
+
ie[5].Rank < 4 && /*showrankasimage*/
|
|
8303
|
+
ie[2] == "true" ? Wc : Yc
|
|
8304
8304
|
);
|
|
8305
8305
|
}
|
|
8306
8306
|
let he = De(t), $ = he(t);
|
|
8307
|
-
function be(
|
|
8307
|
+
function be(ie, B) {
|
|
8308
8308
|
return (
|
|
8309
8309
|
/*firstRowData*/
|
|
8310
|
-
|
|
8310
|
+
ie[5].Prize ? Zc : Jc
|
|
8311
8311
|
);
|
|
8312
8312
|
}
|
|
8313
|
-
let I = be(t),
|
|
8313
|
+
let I = be(t), ne = I(t), Pe = (
|
|
8314
8314
|
/*firstRowData*/
|
|
8315
8315
|
t[5].Unqualified && Hs(t)
|
|
8316
8316
|
);
|
|
8317
8317
|
return {
|
|
8318
8318
|
c() {
|
|
8319
|
-
e = 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"), F = b("div"), M = O(G), A = H(), Se = b("td"), ye = b("div"),
|
|
8319
|
+
e = 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"), F = b("div"), M = O(G), A = H(), Se = b("td"), ye = b("div"), ne.c(), Ce = H(), Pe && Pe.c(), U = de(), Ye(o.src, l = il) || c(o, "src", l), c(o, "alt", "UpArrow"), c(o, "part", "Rank_Arror_UP"), c(o, "class", u = "svg Arrow Up " + /*isUserPositionChanged*/
|
|
8320
8320
|
(t[7] && /*isUserPositionUp*/
|
|
8321
8321
|
t[8] ? "Show" : "Hidden")), Ye(d.src, h = al) || c(d, "src", h), c(d, "alt", "DownArrow"), c(d, "part", "Rank_Arror_Down"), c(d, "class", g = "svg Arrow Down " + /*isUserPositionChanged*/
|
|
8322
8322
|
(t[7] && !/*isUserPositionUp*/
|
|
@@ -8328,37 +8328,37 @@ function Ns(t) {
|
|
|
8328
8328
|
(t[5].Unqualified ? "UnqualifiedRow" : "")), c(e, "part", Ne = "FirstRow " + /*firstRowData*/
|
|
8329
8329
|
(t[5].Unqualified ? "UnqualifiedRow" : ""));
|
|
8330
8330
|
},
|
|
8331
|
-
m(
|
|
8332
|
-
C(
|
|
8331
|
+
m(ie, B) {
|
|
8332
|
+
C(ie, e, B), m(e, 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(e, S), m(e, D), m(D, E), m(E, v), m(e, Y), m(e, L), m(L, F), m(F, M), m(e, A), m(e, Se), m(Se, ye), ne.m(ye, null), C(ie, Ce, B), Pe && Pe.m(ie, B), C(ie, U, B);
|
|
8333
8333
|
},
|
|
8334
|
-
p(
|
|
8335
|
-
he === (he = De(
|
|
8334
|
+
p(ie, B) {
|
|
8335
|
+
he === (he = De(ie)) && $ ? $.p(ie, B) : ($.d(1), $ = he(ie), $ && ($.c(), $.m(i, a))), B[0] & /*isUserPositionChanged, isUserPositionUp*/
|
|
8336
8336
|
384 && u !== (u = "svg Arrow Up " + /*isUserPositionChanged*/
|
|
8337
|
-
(
|
|
8338
|
-
|
|
8337
|
+
(ie[7] && /*isUserPositionUp*/
|
|
8338
|
+
ie[8] ? "Show" : "Hidden")) && c(o, "class", u), B[0] & /*isUserPositionChanged, isUserPositionUp*/
|
|
8339
8339
|
384 && g !== (g = "svg Arrow Down " + /*isUserPositionChanged*/
|
|
8340
|
-
(
|
|
8341
|
-
|
|
8340
|
+
(ie[7] && !/*isUserPositionUp*/
|
|
8341
|
+
ie[8] ? "Show" : "Hidden")) && c(d, "class", g), B[0] & /*isUserPositionChanged*/
|
|
8342
8342
|
128 && y !== (y = "ScoreChangeFlag " + /*isUserPositionChanged*/
|
|
8343
|
-
(
|
|
8343
|
+
(ie[7] ? "Show" : "Hidden")) && c(s, "class", y), B[0] & /*isUserPositionChanged*/
|
|
8344
8344
|
128 && p !== (p = "ScoreChangeFlag " + /*isUserPositionChanged*/
|
|
8345
|
-
(
|
|
8345
|
+
(ie[7] ? "Show" : "Hidden")) && c(s, "part", p), B[0] & /*firstRowData*/
|
|
8346
8346
|
32 && w !== (w = /*firstRowData*/
|
|
8347
|
-
|
|
8347
|
+
ie[5].Player + "") && W(v, w), B[0] & /*firstRowData*/
|
|
8348
8348
|
32 && G !== (G = /*firstRowData*/
|
|
8349
|
-
|
|
8349
|
+
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*/
|
|
8350
8350
|
32 && xe !== (xe = "LeftTableTd " + (/*firstRowData*/
|
|
8351
|
-
|
|
8351
|
+
ie[5].Unqualified ? "" : "Qualified")) && c(Se, "class", xe), B[0] & /*firstRowData*/
|
|
8352
8352
|
32 && Re !== (Re = "LeftTableTd " + (/*firstRowData*/
|
|
8353
|
-
|
|
8353
|
+
ie[5].Unqualified ? "" : "Qualified")) && c(Se, "part", Re), B[0] & /*firstRowData*/
|
|
8354
8354
|
32 && Me !== (Me = "FirstRow " + /*firstRowData*/
|
|
8355
|
-
(
|
|
8355
|
+
(ie[5].Unqualified ? "UnqualifiedRow" : "")) && c(e, "class", Me), B[0] & /*firstRowData*/
|
|
8356
8356
|
32 && Ne !== (Ne = "FirstRow " + /*firstRowData*/
|
|
8357
|
-
(
|
|
8358
|
-
|
|
8357
|
+
(ie[5].Unqualified ? "UnqualifiedRow" : "")) && c(e, "part", Ne), /*firstRowData*/
|
|
8358
|
+
ie[5].Unqualified ? Pe ? Pe.p(ie, B) : (Pe = Hs(ie), Pe.c(), Pe.m(U.parentNode, U)) : Pe && (Pe.d(1), Pe = null);
|
|
8359
8359
|
},
|
|
8360
|
-
d(
|
|
8361
|
-
|
|
8360
|
+
d(ie) {
|
|
8361
|
+
ie && (_(e), _(Ce), _(U)), $.d(), ne.d(), Pe && Pe.d(ie);
|
|
8362
8362
|
}
|
|
8363
8363
|
};
|
|
8364
8364
|
}
|
|
@@ -8754,7 +8754,7 @@ function Gs(t) {
|
|
|
8754
8754
|
/*row*/
|
|
8755
8755
|
t[68].Points + ""
|
|
8756
8756
|
), Y, L, F, G, M, A, Se, ye, xe, Re;
|
|
8757
|
-
function Me(I,
|
|
8757
|
+
function Me(I, ne) {
|
|
8758
8758
|
return (
|
|
8759
8759
|
/*row*/
|
|
8760
8760
|
I[68].Rank < 4 && /*showrankasimage*/
|
|
@@ -8765,7 +8765,7 @@ function Gs(t) {
|
|
|
8765
8765
|
/*row*/
|
|
8766
8766
|
t[68].isCurrentUser && Is(t)
|
|
8767
8767
|
);
|
|
8768
|
-
function De(I,
|
|
8768
|
+
function De(I, ne) {
|
|
8769
8769
|
return (
|
|
8770
8770
|
/*row*/
|
|
8771
8771
|
I[68].Prize ? t1 : e1
|
|
@@ -8792,37 +8792,37 @@ function Gs(t) {
|
|
|
8792
8792
|
(t[68].isCurrentUser && /*row*/
|
|
8793
8793
|
t[68].Unqualified ? "UnqualifiedRow" : ""));
|
|
8794
8794
|
},
|
|
8795
|
-
m(I,
|
|
8796
|
-
C(I, e,
|
|
8795
|
+
m(I, ne) {
|
|
8796
|
+
C(I, e, ne), m(e, 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(e, d), m(e, h), m(h, g), m(g, p), m(e, S), m(e, D), m(D, E), m(E, w), m(w, Y), m(e, L), m(e, F), m(F, G), $.m(G, null), C(I, xe, ne), be && be.m(I, ne), C(I, Re, ne);
|
|
8797
8797
|
},
|
|
8798
|
-
p(I,
|
|
8799
|
-
Ne === (Ne = Me(I)) && Ce ? Ce.p(I,
|
|
8800
|
-
I[68].isCurrentUser ? U ? U.p(I,
|
|
8798
|
+
p(I, ne) {
|
|
8799
|
+
Ne === (Ne = Me(I)) && Ce ? Ce.p(I, ne) : (Ce.d(1), Ce = Ne(I), Ce && (Ce.c(), Ce.m(a, s))), /*row*/
|
|
8800
|
+
I[68].isCurrentUser ? U ? U.p(I, ne) : (U = Is(I), U.c(), U.m(o, null)) : U && (U.d(1), U = null), ne[0] & /*isUserPositionChanged*/
|
|
8801
8801
|
128 && l !== (l = "ScoreChangeFlag " + /*isUserPositionChanged*/
|
|
8802
|
-
(I[7] ? "Show" : "Hidden")) && c(o, "class", l),
|
|
8802
|
+
(I[7] ? "Show" : "Hidden")) && c(o, "class", l), ne[0] & /*isUserPositionChanged*/
|
|
8803
8803
|
128 && u !== (u = "ScoreChangeFlag " + /*isUserPositionChanged*/
|
|
8804
|
-
(I[7] ? "Show" : "Hidden")) && c(o, "part", u),
|
|
8804
|
+
(I[7] ? "Show" : "Hidden")) && c(o, "part", u), ne[0] & /*display*/
|
|
8805
8805
|
8192 && f !== (f = "LeftTableTd Rank-" + /*row*/
|
|
8806
|
-
I[68].Rank) && c(r, "part", f),
|
|
8806
|
+
I[68].Rank) && c(r, "part", f), ne[0] & /*display*/
|
|
8807
8807
|
8192 && y !== (y = /*row*/
|
|
8808
|
-
I[68].Player + "") && W(p, y),
|
|
8808
|
+
I[68].Player + "") && W(p, y), ne[0] & /*display*/
|
|
8809
8809
|
8192 && v !== (v = /*row*/
|
|
8810
|
-
I[68].Points + "") && W(Y, v), he === (he = De(I)) && $ ? $.p(I,
|
|
8810
|
+
I[68].Points + "") && W(Y, v), he === (he = De(I)) && $ ? $.p(I, ne) : ($.d(1), $ = he(I), $ && ($.c(), $.m(G, null))), ne[0] & /*display*/
|
|
8811
8811
|
8192 && M !== (M = "LeftTableTd " + (/*row*/
|
|
8812
|
-
I[68].Unqualified ? "" : "Qualified")) && c(F, "class", M),
|
|
8812
|
+
I[68].Unqualified ? "" : "Qualified")) && c(F, "class", M), ne[0] & /*display*/
|
|
8813
8813
|
8192 && A !== (A = "LeftTableTd " + (/*row*/
|
|
8814
|
-
I[68].Unqualified ? "" : "Qualified")) && c(F, "part", A),
|
|
8814
|
+
I[68].Unqualified ? "" : "Qualified")) && c(F, "part", A), ne[0] & /*display*/
|
|
8815
8815
|
8192 && Se !== (Se = "LeftTableTr Rank" + /*row*/
|
|
8816
8816
|
I[68].Rank + "Tr " + /*row*/
|
|
8817
8817
|
(I[68].isCurrentUser ? "FirstRow" : "") + " " + /*row*/
|
|
8818
8818
|
(I[68].isCurrentUser && /*row*/
|
|
8819
|
-
I[68].Unqualified ? "UnqualifiedRow" : "")) && c(e, "class", Se),
|
|
8819
|
+
I[68].Unqualified ? "UnqualifiedRow" : "")) && c(e, "class", Se), ne[0] & /*display*/
|
|
8820
8820
|
8192 && ye !== (ye = "LeftTableTr " + /*row*/
|
|
8821
8821
|
(I[68].isCurrentUser ? "FirstRow" : "") + " " + /*row*/
|
|
8822
8822
|
(I[68].isCurrentUser && /*row*/
|
|
8823
8823
|
I[68].Unqualified ? "UnqualifiedRow" : "")) && c(e, "part", ye), /*row*/
|
|
8824
8824
|
I[68].Unqualified && /*row*/
|
|
8825
|
-
I[68].isCurrentUser ? be ? be.p(I,
|
|
8825
|
+
I[68].isCurrentUser ? be ? be.p(I, ne) : (be = js(I), be.c(), be.m(Re.parentNode, Re)) : be && (be.d(1), be = null);
|
|
8826
8826
|
},
|
|
8827
8827
|
d(I) {
|
|
8828
8828
|
I && (_(e), _(xe), _(Re)), Ce.d(), U && U.d(), $.d(), be && be.d(I);
|
|
@@ -9468,94 +9468,94 @@ function _1(t) {
|
|
|
9468
9468
|
let y1 = null;
|
|
9469
9469
|
function C1(t, e, r) {
|
|
9470
9470
|
let n, i, a;
|
|
9471
|
-
wt(t, vt, (
|
|
9472
|
-
let { sortable: s = !1 } = e, { firstrow: o = !0 } = e, { lang: l = "en" } = e, { scorefractiondigit: u = "2" } = e, { session: f = "" } = e, { userid: d = "" } = e, { tourid: h = "" } = e, { endpoint: g = "" } = e, { tablelimit: y = "30" } = e, { namemask: p = "" } = e, { showunqualifiedplayer: S = "true" } = e, { mobiletablelimit: D = "15" } = e, { updatetableintime: E = "true" } = e, { minscore: w = "" } = e, { showrankasimage: v = "true" } = e, { cellsetting: Y = { firstrow: !0 } } = e, L = [], F = [], G = null, M = null, A =
|
|
9473
|
-
const B = ["Rank", "Player", "Points", "Prize"], Xe = (
|
|
9474
|
-
Rank:
|
|
9475
|
-
Player:
|
|
9476
|
-
Points:
|
|
9477
|
-
minimumFractionDigits:
|
|
9478
|
-
maximumFractionDigits:
|
|
9471
|
+
wt(t, vt, (T) => r(14, a = T));
|
|
9472
|
+
let { sortable: s = !1 } = e, { firstrow: o = !0 } = e, { lang: l = "en" } = e, { scorefractiondigit: u = "2" } = e, { session: f = "" } = e, { userid: d = "" } = e, { tourid: h = "" } = e, { endpoint: g = "" } = e, { tablelimit: y = "30" } = e, { namemask: p = "" } = e, { showunqualifiedplayer: S = "true" } = e, { mobiletablelimit: D = "15" } = e, { updatetableintime: E = "true" } = e, { minscore: w = "" } = e, { showrankasimage: v = "true" } = e, { cellsetting: Y = { firstrow: !0 } } = e, L = [], F = [], G = null, M = null, A = null, Se = !0, ye = window.navigator.userAgent, xe = !1, Re = !1, Me, Ne, Ce, U = !1, De, he = {}, $ = !1, be, I, ne = "", Pe = !0, ie = 2;
|
|
9473
|
+
const B = ["Rank", "Player", "Points", "Prize"], Xe = (T) => ({
|
|
9474
|
+
Rank: T.rank,
|
|
9475
|
+
Player: T.userID && ne && T.userID === ne ? "me" : T.shortName || "-",
|
|
9476
|
+
Points: T.score.toLocaleString("en-US", {
|
|
9477
|
+
minimumFractionDigits: ie,
|
|
9478
|
+
maximumFractionDigits: ie
|
|
9479
9479
|
}),
|
|
9480
|
-
Prize:
|
|
9481
|
-
Unqualified:
|
|
9482
|
-
BetCount:
|
|
9483
|
-
userID:
|
|
9480
|
+
Prize: T.prizeName,
|
|
9481
|
+
Unqualified: T.unqualified,
|
|
9482
|
+
BetCount: T.betCount,
|
|
9483
|
+
userID: T.userID
|
|
9484
9484
|
}), we = () => {
|
|
9485
|
-
f && f.length > 0 && f != "false" && (
|
|
9486
|
-
}, et = (
|
|
9485
|
+
f && f.length > 0 && f != "false" && (ne = d), Me = null, r(10, Pe = !1);
|
|
9486
|
+
}, et = (T, ee) => ee.find((ve) => ve.Rank == T);
|
|
9487
9487
|
let Ge, St;
|
|
9488
|
-
const Et = (
|
|
9488
|
+
const Et = (T) => {
|
|
9489
9489
|
if (!Me) {
|
|
9490
|
-
Me =
|
|
9490
|
+
Me = T;
|
|
9491
9491
|
return;
|
|
9492
9492
|
}
|
|
9493
|
-
r(7, xe = Me !=
|
|
9493
|
+
r(7, xe = Me != T), r(8, Re = Me > T), xe && (Ge = (/* @__PURE__ */ new Date()).getTime(), setTimeout(
|
|
9494
9494
|
function() {
|
|
9495
|
-
St = (/* @__PURE__ */ new Date()).getTime(), (St - Ge) / 1e3 > 4 && r(7, xe = !1), Me =
|
|
9495
|
+
St = (/* @__PURE__ */ new Date()).getTime(), (St - Ge) / 1e3 > 4 && r(7, xe = !1), Me = T;
|
|
9496
9496
|
},
|
|
9497
9497
|
5e3
|
|
9498
9498
|
));
|
|
9499
|
-
}, dr = (
|
|
9500
|
-
if (
|
|
9501
|
-
|
|
9502
|
-
}), r(13, n = F)), o &&
|
|
9503
|
-
let
|
|
9499
|
+
}, dr = (T) => {
|
|
9500
|
+
if (T.data && T.data.type === "CasinoTableData" && (r(3, F = T.data.tableData), r(13, n = F)), T.data && T.data.type === "CasinoTableColumns" && (r(4, L = T.data.tableColumns), r(9, Ne = L.length || 4)), T.data && T.data.type === "CasinoTableCurrentUserData" && F && (F.forEach((ee) => {
|
|
9501
|
+
ee.userID && T.data.tableData.userID && ee.userID === T.data.tableData.userID && (ee.isCurrentUser = !0, Me || (Me = T.data.tableData.Rank), A ? (Et(T.data.tableData.Rank), r(5, A = null)) : Et(T.data.tableData.Rank));
|
|
9502
|
+
}), r(13, n = F)), o && T.data && T.data.type === "CasinoTableFirstRowData") {
|
|
9503
|
+
let ee = T.data.tableData;
|
|
9504
9504
|
if (!A) {
|
|
9505
|
-
r(5, A =
|
|
9505
|
+
r(5, A = T.data.tableData), Me = A.Rank;
|
|
9506
9506
|
return;
|
|
9507
9507
|
}
|
|
9508
|
-
A && A.UserID ==
|
|
9508
|
+
A && A.UserID == ee.UserID && (Et(ee.Rank), r(5, A = T.data.tableData));
|
|
9509
9509
|
}
|
|
9510
|
-
if (
|
|
9511
|
-
let
|
|
9510
|
+
if (T.data && T.data.type === "CasinoTableDataUpdate" && T.data.tableData) {
|
|
9511
|
+
let ee = T.data.tableData;
|
|
9512
9512
|
if (!(F instanceof Array))
|
|
9513
9513
|
return;
|
|
9514
|
-
F.forEach(function(
|
|
9515
|
-
let Ae = et(
|
|
9514
|
+
F.forEach(function(te, ve) {
|
|
9515
|
+
let Ae = et(te.Rank, ee);
|
|
9516
9516
|
Ae && r(3, F[ve] = Ae, F);
|
|
9517
9517
|
});
|
|
9518
9518
|
}
|
|
9519
|
-
}, Nt = (
|
|
9520
|
-
const
|
|
9521
|
-
r(31, G = ve ? null :
|
|
9522
|
-
},
|
|
9523
|
-
const
|
|
9524
|
-
if (
|
|
9525
|
-
return (ve, Ae) => ve[
|
|
9526
|
-
if (
|
|
9527
|
-
return (ve, Ae) => ve[
|
|
9528
|
-
if (
|
|
9529
|
-
return (ve, Ae) => ve[
|
|
9519
|
+
}, Nt = (T) => {
|
|
9520
|
+
const ee = T === G, te = M === "ASC", ve = ee && !te;
|
|
9521
|
+
r(31, G = ve ? null : T), r(32, M = ve ? null : ee && te ? "DESC" : "ASC");
|
|
9522
|
+
}, k = (T, ee) => {
|
|
9523
|
+
const te = ee.toLowerCase();
|
|
9524
|
+
if (T === "string")
|
|
9525
|
+
return (ve, Ae) => ve[te].localeCompare(Ae[te]);
|
|
9526
|
+
if (T === "number")
|
|
9527
|
+
return (ve, Ae) => ve[te] - Ae[te];
|
|
9528
|
+
if (T === "object")
|
|
9529
|
+
return (ve, Ae) => ve[te] - Ae[te];
|
|
9530
9530
|
}, N = () => {
|
|
9531
|
-
let
|
|
9532
|
-
if (F && (
|
|
9531
|
+
let T = [];
|
|
9532
|
+
if (F && (T = [...F]), !F.length)
|
|
9533
9533
|
return F;
|
|
9534
|
-
const
|
|
9535
|
-
return
|
|
9534
|
+
const ee = typeof F[0][G.toLowerCase()];
|
|
9535
|
+
return T.sort(k(ee, G)), M === "ASC" ? T : T.reverse();
|
|
9536
9536
|
}, q = () => {
|
|
9537
9537
|
r(6, Se = !Se);
|
|
9538
|
-
}, z = (
|
|
9538
|
+
}, z = (T) => {
|
|
9539
9539
|
$ = !1;
|
|
9540
|
-
let
|
|
9541
|
-
return
|
|
9542
|
-
let ve = Xe(
|
|
9543
|
-
|
|
9544
|
-
}),
|
|
9545
|
-
}, ae = (
|
|
9546
|
-
if (!(!
|
|
9540
|
+
let ee = [];
|
|
9541
|
+
return T && T.length > 0 && T.forEach((te) => {
|
|
9542
|
+
let ve = Xe(te);
|
|
9543
|
+
te.userID && ne && te.userID === ne && (he = ve, $ = !0), ee.push(ve);
|
|
9544
|
+
}), ee;
|
|
9545
|
+
}, ae = (T) => ar(ar({}, Xe(T)), T.unqualified === !0 ? { Rank: T.rank } : {}), Q = (T) => {
|
|
9546
|
+
if (!(!T.data || T.type != "message"))
|
|
9547
9547
|
try {
|
|
9548
|
-
let
|
|
9549
|
-
if (!
|
|
9548
|
+
let ee = T.data, te = JSON.parse(ee);
|
|
9549
|
+
if (!te || !te.items)
|
|
9550
9550
|
return;
|
|
9551
|
-
let ve = z(
|
|
9551
|
+
let ve = z(te.items);
|
|
9552
9552
|
window.postMessage(
|
|
9553
9553
|
{
|
|
9554
9554
|
type: "CasinoTableData",
|
|
9555
9555
|
tableData: ve
|
|
9556
9556
|
},
|
|
9557
9557
|
window.location.href
|
|
9558
|
-
), $ = ve.filter((dt) => dt.userID =
|
|
9558
|
+
), $ = ve.filter((dt) => dt.userID = ne).length > 0, U = te.item && !$, U && (r(5, A = ae(te.item)), A && window.postMessage(
|
|
9559
9559
|
{
|
|
9560
9560
|
type: "CasinoTableFirstRowData",
|
|
9561
9561
|
tableData: A
|
|
@@ -9563,7 +9563,7 @@ function C1(t, e, r) {
|
|
|
9563
9563
|
window.location.href
|
|
9564
9564
|
));
|
|
9565
9565
|
let Ae = $ ? he.Rank : (A == null ? void 0 : A.Rank) || null;
|
|
9566
|
-
(Ae != I || be !=
|
|
9566
|
+
(Ae != I || be != te.items.length) && (be = te.items.length, window.postMessage(
|
|
9567
9567
|
{
|
|
9568
9568
|
type: `TournamentRankInfo_${h}`,
|
|
9569
9569
|
rankInfo: {
|
|
@@ -9580,13 +9580,13 @@ function C1(t, e, r) {
|
|
|
9580
9580
|
},
|
|
9581
9581
|
window.location.href
|
|
9582
9582
|
);
|
|
9583
|
-
} catch (
|
|
9584
|
-
console.error(
|
|
9583
|
+
} catch (ee) {
|
|
9584
|
+
console.error(ee);
|
|
9585
9585
|
}
|
|
9586
|
-
}, le = (
|
|
9587
|
-
let
|
|
9586
|
+
}, le = (T, ee) => {
|
|
9587
|
+
let te = `${g}/v1/tournaments/${T}/leaderboard/updates?HeartBeat=false&${ee.toString()}`;
|
|
9588
9588
|
De && (De.removeEventListener("message", Q), De.close()), De = new tl.EventSourcePolyfill(
|
|
9589
|
-
|
|
9589
|
+
te,
|
|
9590
9590
|
{
|
|
9591
9591
|
headers: {
|
|
9592
9592
|
accept: "text/event-stream",
|
|
@@ -9594,17 +9594,17 @@ function C1(t, e, r) {
|
|
|
9594
9594
|
}
|
|
9595
9595
|
}
|
|
9596
9596
|
), typeof De != "undefined" && De.addEventListener("message", Q);
|
|
9597
|
-
}, P = (
|
|
9598
|
-
let
|
|
9599
|
-
|
|
9597
|
+
}, P = (T, ee) => {
|
|
9598
|
+
let te = new URL(T + `/v1/tournaments/${ee}/leaderboard`), ve = new Headers();
|
|
9599
|
+
te.searchParams.append("language", l);
|
|
9600
9600
|
let Ae = `includeUnqualifiedPlayer=${S}`;
|
|
9601
|
-
if (Ae = p ? `${Ae},shortNameMask=${p}` : Ae, Ae = w ? `${Ae},minscore=${w}` : Ae,
|
|
9601
|
+
if (Ae = p ? `${Ae},shortNameMask=${p}` : Ae, Ae = w ? `${Ae},minscore=${w}` : Ae, te.searchParams.append("filter", Ae), f) {
|
|
9602
9602
|
let ht = Vn(ye) == !0 ? D : y;
|
|
9603
|
-
|
|
9603
|
+
te.searchParams.append("pagination", `offset=0,limit=${ht}`), ve.append("X-SessionId", f);
|
|
9604
9604
|
}
|
|
9605
|
-
|
|
9605
|
+
te.searchParams.append("platform", qn(ye));
|
|
9606
9606
|
let dt = { method: "GET", headers: ve };
|
|
9607
|
-
r(10, Pe = !0), r(5, A = null), fetch(
|
|
9607
|
+
r(10, Pe = !0), r(5, A = null), fetch(te, dt).then((ht) => ht.json()).then((ht) => {
|
|
9608
9608
|
r(10, Pe = !1), Ce = z(ht.items), ht.item && !$ && (U = !0, r(5, A = ae(ht.item))), r(6, Se = !0), I = $ ? he.Rank : A ? A.Rank : 0, be = ht.total, window.postMessage(
|
|
9609
9609
|
{
|
|
9610
9610
|
type: "CasinoTableData",
|
|
@@ -9617,7 +9617,7 @@ function C1(t, e, r) {
|
|
|
9617
9617
|
tableData: A
|
|
9618
9618
|
},
|
|
9619
9619
|
window.location.href
|
|
9620
|
-
), E === "true" && le(
|
|
9620
|
+
), E === "true" && le(ee, te.searchParams), $ && window.postMessage(
|
|
9621
9621
|
{
|
|
9622
9622
|
type: "CasinoTableCurrentUserData",
|
|
9623
9623
|
tableData: he
|
|
@@ -9628,19 +9628,19 @@ function C1(t, e, r) {
|
|
|
9628
9628
|
}, X = () => {
|
|
9629
9629
|
P(g, h);
|
|
9630
9630
|
};
|
|
9631
|
-
let
|
|
9632
|
-
tr(() => (r(11,
|
|
9631
|
+
let re = [], se = !1;
|
|
9632
|
+
tr(() => (r(11, re = [Fn, Fn, rl, nl]), r(0, o = Y ? Y.firstrow : !0), we(), r(33, se = !0), window.addEventListener("message", dr), () => {
|
|
9633
9633
|
window.removeEventListener("message", dr);
|
|
9634
9634
|
}));
|
|
9635
|
-
const Z = (
|
|
9636
|
-
return t.$$set = (
|
|
9637
|
-
"sortable" in
|
|
9635
|
+
const Z = (T) => Nt(T), ue = (T) => Nt(T), He = () => q(), Ht = (T) => Nt(T);
|
|
9636
|
+
return t.$$set = (T) => {
|
|
9637
|
+
"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);
|
|
9638
9638
|
}, t.$$.update = () => {
|
|
9639
9639
|
t.$$.dirty[0] & /*data*/
|
|
9640
9640
|
8 | t.$$.dirty[1] & /*sortColumn, sortDirection*/
|
|
9641
9641
|
3 && r(13, n = G && M ? N() : [...F]), t.$$.dirty[1] & /*sortColumn, sortDirection*/
|
|
9642
9642
|
3 && r(12, i = y1 === G ? M : null), t.$$.dirty[0] & /*scorefractiondigit*/
|
|
9643
|
-
524288 && (
|
|
9643
|
+
524288 && (ie = Number(u)), t.$$.dirty[0] & /*session*/
|
|
9644
9644
|
1048576 | t.$$.dirty[1] & /*isMounted*/
|
|
9645
9645
|
4 && se && f && we(), t.$$.dirty[0] & /*lang, userid, session, tourid, showunqualifiedplayer, tablelimit*/
|
|
9646
9646
|
91488256 | t.$$.dirty[1] & /*isMounted*/
|
|
@@ -9657,7 +9657,7 @@ function C1(t, e, r) {
|
|
|
9657
9657
|
Re,
|
|
9658
9658
|
Ne,
|
|
9659
9659
|
Pe,
|
|
9660
|
-
|
|
9660
|
+
re,
|
|
9661
9661
|
i,
|
|
9662
9662
|
n,
|
|
9663
9663
|
a,
|
|
@@ -15103,16 +15103,16 @@ function ep(t, e, r) {
|
|
|
15103
15103
|
cmsData: {},
|
|
15104
15104
|
ctrlProperties: null,
|
|
15105
15105
|
tournamentData: null
|
|
15106
|
-
}, $, be = new zm(), I = { rows: [] },
|
|
15106
|
+
}, $, be = new zm(), I = { rows: [] }, ne, Pe, ie = !1, B = !0;
|
|
15107
15107
|
f2({ withLocale: u, translations: {} }), bt(u);
|
|
15108
15108
|
const Xe = (P, X) => {
|
|
15109
|
-
let
|
|
15110
|
-
|
|
15111
|
-
X.hasOwnProperty(se) && (
|
|
15109
|
+
let re = P.componentAttrs || {};
|
|
15110
|
+
re && Object.keys(re).forEach((se) => {
|
|
15111
|
+
X.hasOwnProperty(se) && (re[se] = X[se]);
|
|
15112
15112
|
});
|
|
15113
15113
|
}, we = () => {
|
|
15114
|
-
let P = I.rows, X = (
|
|
15115
|
-
!
|
|
15114
|
+
let P = I.rows, X = (re) => {
|
|
15115
|
+
!re || !re.length || re.forEach((se) => {
|
|
15116
15116
|
if (!se.isCellContainer) {
|
|
15117
15117
|
let Z = se.dataKey;
|
|
15118
15118
|
if (Z && Z.source == "cms") {
|
|
@@ -15125,8 +15125,8 @@ function ep(t, e, r) {
|
|
|
15125
15125
|
X(se.subComponents);
|
|
15126
15126
|
});
|
|
15127
15127
|
};
|
|
15128
|
-
P.forEach((
|
|
15129
|
-
X(
|
|
15128
|
+
P.forEach((re) => {
|
|
15129
|
+
X(re.cols);
|
|
15130
15130
|
});
|
|
15131
15131
|
}, et = () => {
|
|
15132
15132
|
fetch(`${l}/${s}`).then((P) => P ? P.json() : {
|
|
@@ -15140,12 +15140,12 @@ function ep(t, e, r) {
|
|
|
15140
15140
|
P && P.details && (he.cmsData.tournamentdescription = P.details), we(), r(5, I = ar({}, I));
|
|
15141
15141
|
});
|
|
15142
15142
|
}, Ge = (P, X) => {
|
|
15143
|
-
let
|
|
15143
|
+
let re = P.rows, se = (Z) => {
|
|
15144
15144
|
!Z || !Z.length || Z.forEach((ue) => {
|
|
15145
15145
|
ue.isCellContainer || Xe(ue, X), se(ue.subComponents);
|
|
15146
15146
|
});
|
|
15147
15147
|
};
|
|
15148
|
-
|
|
15148
|
+
re.forEach((Z) => {
|
|
15149
15149
|
se(Z.cols);
|
|
15150
15150
|
});
|
|
15151
15151
|
}, St = (P) => {
|
|
@@ -15163,9 +15163,9 @@ function ep(t, e, r) {
|
|
|
15163
15163
|
console.error(X);
|
|
15164
15164
|
}
|
|
15165
15165
|
}, Et = (P, X) => {
|
|
15166
|
-
let
|
|
15166
|
+
let re = `${o}/v1/tournaments/updates?filter=id=${P}&${X}`;
|
|
15167
15167
|
$ && ($.removeEventListener("message", St), $.close()), $ = new tl.EventSourcePolyfill(
|
|
15168
|
-
|
|
15168
|
+
re,
|
|
15169
15169
|
{
|
|
15170
15170
|
headers: {
|
|
15171
15171
|
accept: "text/event-stream",
|
|
@@ -15174,39 +15174,39 @@ function ep(t, e, r) {
|
|
|
15174
15174
|
}
|
|
15175
15175
|
), !1 != "undefined" && $.addEventListener("message", St);
|
|
15176
15176
|
}, dr = (P) => {
|
|
15177
|
-
|
|
15177
|
+
ne = be.transfer(P), he.tournamentData = ne, ne.lang = u, r(5, I = no(Zr[n] || Zr.default, he));
|
|
15178
15178
|
}, Nt = (P, X) => {
|
|
15179
|
-
let
|
|
15180
|
-
|
|
15181
|
-
let Z =
|
|
15182
|
-
fetch(
|
|
15179
|
+
let re = new URL(P + `/v1/tournaments/${X}`), se = new Headers({ "X-SessionId": i });
|
|
15180
|
+
re.searchParams.append("platform", qn(U)), re.searchParams.append("language", u);
|
|
15181
|
+
let Z = re.searchParams.toString(), ue = { method: "GET", headers: se };
|
|
15182
|
+
fetch(re.href, ue).then((He) => He.json()).then((He) => {
|
|
15183
15183
|
if (!He.success || He.errorCode) {
|
|
15184
15184
|
r(7, Pe = `Faild to load data, details: ${He.errorMessage}`);
|
|
15185
15185
|
return;
|
|
15186
15186
|
} else
|
|
15187
15187
|
r(7, Pe = null);
|
|
15188
|
-
He.item.id = s, dr(He.item),
|
|
15188
|
+
He.item.id = s, dr(He.item), ne.lang = u, Ge(I, ne), r(5, I = ar({}, I)), r(8, B = !1), q(), Et(s, Z);
|
|
15189
15189
|
});
|
|
15190
|
-
},
|
|
15190
|
+
}, k = vo(), N = (P, X, re) => {
|
|
15191
15191
|
if (!I.rows || I.rows.length == 0)
|
|
15192
15192
|
return;
|
|
15193
15193
|
let se = I.rows[0].cols;
|
|
15194
15194
|
P.forEach((Z) => {
|
|
15195
|
-
let ue, He = (
|
|
15196
|
-
|
|
15195
|
+
let ue, He = (ee) => {
|
|
15196
|
+
ee.forEach((te, ve) => {
|
|
15197
15197
|
if (ue)
|
|
15198
15198
|
return ue;
|
|
15199
|
-
if (
|
|
15200
|
-
return ue =
|
|
15201
|
-
if (
|
|
15202
|
-
return He(
|
|
15199
|
+
if (te.componentid == Z)
|
|
15200
|
+
return ue = te, ue;
|
|
15201
|
+
if (te.subComponents && te.subComponents.length > 0)
|
|
15202
|
+
return He(te.subComponents);
|
|
15203
15203
|
});
|
|
15204
15204
|
};
|
|
15205
15205
|
He(se);
|
|
15206
|
-
let Ht =
|
|
15207
|
-
ue && X.forEach((
|
|
15208
|
-
let
|
|
15209
|
-
he.ctrlProperties[
|
|
15206
|
+
let Ht = k.$$.props, T = k.$$.ctx;
|
|
15207
|
+
ue && X.forEach((ee) => {
|
|
15208
|
+
let te = Ht[ee], ve = T[te];
|
|
15209
|
+
he.ctrlProperties[ee] = ve, ue.componentAttrs[ee] = ve;
|
|
15210
15210
|
});
|
|
15211
15211
|
}), r(5, I = ar({}, I));
|
|
15212
15212
|
}, q = () => {
|
|
@@ -15222,7 +15222,7 @@ function ep(t, e, r) {
|
|
|
15222
15222
|
};
|
|
15223
15223
|
return tr(() => (r(0, n = Zr[n] ? n : "default"), r(6, De = Vn(U)), setTimeout(
|
|
15224
15224
|
() => {
|
|
15225
|
-
he.ctrlProperties = e, r(35,
|
|
15225
|
+
he.ctrlProperties = e, r(35, ie = !0);
|
|
15226
15226
|
},
|
|
15227
15227
|
300
|
|
15228
15228
|
), window.addEventListener("message", Q), () => {
|
|
@@ -15232,18 +15232,18 @@ function ep(t, e, r) {
|
|
|
15232
15232
|
}, t.$$.update = () => {
|
|
15233
15233
|
t.$$.dirty[0] & /*session*/
|
|
15234
15234
|
1024 | t.$$.dirty[1] & /*isMounted*/
|
|
15235
|
-
16 &&
|
|
15235
|
+
16 && ie && i && le(), t.$$.dirty[0] & /*endpoint, session, userid, lang, tourid*/
|
|
15236
15236
|
15362 | t.$$.dirty[1] & /*isMounted*/
|
|
15237
|
-
16 &&
|
|
15237
|
+
16 && ie && o && i && a && u && s && ae(), t.$$.dirty[0] & /*session, opLayout, layoutid, userid*/
|
|
15238
15238
|
3105 | t.$$.dirty[1] & /*isMounted*/
|
|
15239
|
-
16 &&
|
|
15239
|
+
16 && ie && i && I[n] && a && setTimeout(() => {
|
|
15240
15240
|
N(["LeaderboardCell", "GamesCell", "JoinButtonCell"], ["session", "userid"]);
|
|
15241
15241
|
}), t.$$.dirty[0] & /*cmsendpoint, tourid*/
|
|
15242
15242
|
20480 && l && s && et(), t.$$.dirty[0] & /*showunqualifiedplayer, scorefractiondigit, tablelimit*/
|
|
15243
15243
|
71827456 | t.$$.dirty[1] & /*isMounted*/
|
|
15244
|
-
16 &&
|
|
15244
|
+
16 && ie && y && Y && D && N(["LeaderboardCell"], ["showunqualifiedplayer", "scorefractiondigit", "tablelimit"]), t.$$.dirty[0] & /*layoutid*/
|
|
15245
15245
|
1 | t.$$.dirty[1] & /*isMounted*/
|
|
15246
|
-
16 &&
|
|
15246
|
+
16 && ie && n && q();
|
|
15247
15247
|
}, e = Fa(e), [
|
|
15248
15248
|
n,
|
|
15249
15249
|
u,
|
|
@@ -15280,7 +15280,7 @@ function ep(t, e, r) {
|
|
|
15280
15280
|
Se,
|
|
15281
15281
|
ye,
|
|
15282
15282
|
xe,
|
|
15283
|
-
|
|
15283
|
+
ie
|
|
15284
15284
|
];
|
|
15285
15285
|
}
|
|
15286
15286
|
class tp extends qe {
|