@everymatrix/casino-tournaments-slider-controller 1.87.29 → 1.87.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoTournamentsRank-BR8eikDk.js → CasinoTournamentsRank-BpLWE-G6.js} +1 -1
- package/components/{CasinoTournamentsRank-7fKG3_eZ.cjs → CasinoTournamentsRank-DYjtVR0w.cjs} +1 -1
- package/components/{CasinoTournamentsRank-CSx-RYCc.js → CasinoTournamentsRank-PiIXHADJ.js} +1 -1
- package/components/{CasinoTournamentsSliderController-YMwcyywd.js → CasinoTournamentsSliderController-BmfXhbhA.js} +63 -63
- package/components/{CasinoTournamentsSliderController-CNvg7gtK.js → CasinoTournamentsSliderController-D6nsL3z7.js} +63 -63
- package/components/{CasinoTournamentsSliderController-CpibOMNM.cjs → CasinoTournamentsSliderController-D9L95Qry.cjs} +3 -3
- package/es2015/casino-tournaments-slider-controller.cjs +1 -1
- package/es2015/casino-tournaments-slider-controller.js +1 -1
- package/esnext/casino-tournaments-slider-controller.js +1 -1
- package/package.json +1 -1
|
@@ -2717,7 +2717,7 @@ function Ki(e) {
|
|
|
2717
2717
|
return i[0];
|
|
2718
2718
|
}
|
|
2719
2719
|
var qt, $i = new RegExp("^".concat(mr.source, "*")), eo = new RegExp("".concat(mr.source, "*$"));
|
|
2720
|
-
function
|
|
2720
|
+
function G(e, t) {
|
|
2721
2721
|
return { start: e, end: t };
|
|
2722
2722
|
}
|
|
2723
2723
|
var to = !!String.prototype.startsWith && "_a".startsWith("a", 1), no = !!String.fromCodePoint, ro = !!Object.fromEntries, io = !!String.prototype.codePointAt, oo = !!String.prototype.trimStart, so = !!String.prototype.trimEnd, ao = !!Number.isSafeInteger, uo = ao ? Number.isSafeInteger : function(e) {
|
|
@@ -2845,12 +2845,12 @@ var co = (
|
|
|
2845
2845
|
var s = this.clonePosition();
|
|
2846
2846
|
this.bump(), i.push({
|
|
2847
2847
|
type: V.pound,
|
|
2848
|
-
location:
|
|
2848
|
+
location: G(s, this.clonePosition())
|
|
2849
2849
|
});
|
|
2850
2850
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2851
2851
|
if (r)
|
|
2852
2852
|
break;
|
|
2853
|
-
return this.error(k.UNMATCHED_CLOSING_TAG,
|
|
2853
|
+
return this.error(k.UNMATCHED_CLOSING_TAG, G(this.clonePosition(), this.clonePosition()));
|
|
2854
2854
|
} else if (o === 60 && !this.ignoreTag && an(this.peek() || 0)) {
|
|
2855
2855
|
var u = this.parseTag(t, n);
|
|
2856
2856
|
if (u.err)
|
|
@@ -2874,7 +2874,7 @@ var co = (
|
|
|
2874
2874
|
val: {
|
|
2875
2875
|
type: V.literal,
|
|
2876
2876
|
value: "<".concat(i, "/>"),
|
|
2877
|
-
location:
|
|
2877
|
+
location: G(r, this.clonePosition())
|
|
2878
2878
|
},
|
|
2879
2879
|
err: null
|
|
2880
2880
|
};
|
|
@@ -2885,21 +2885,21 @@ var co = (
|
|
|
2885
2885
|
var u = o.val, s = this.clonePosition();
|
|
2886
2886
|
if (this.bumpIf("</")) {
|
|
2887
2887
|
if (this.isEOF() || !an(this.char()))
|
|
2888
|
-
return this.error(k.INVALID_TAG,
|
|
2888
|
+
return this.error(k.INVALID_TAG, G(s, this.clonePosition()));
|
|
2889
2889
|
var l = this.clonePosition(), a = this.parseTagName();
|
|
2890
|
-
return i !== a ? this.error(k.UNMATCHED_CLOSING_TAG,
|
|
2890
|
+
return i !== a ? this.error(k.UNMATCHED_CLOSING_TAG, G(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2891
2891
|
val: {
|
|
2892
2892
|
type: V.tag,
|
|
2893
2893
|
value: i,
|
|
2894
2894
|
children: u,
|
|
2895
|
-
location:
|
|
2895
|
+
location: G(r, this.clonePosition())
|
|
2896
2896
|
},
|
|
2897
2897
|
err: null
|
|
2898
|
-
} : this.error(k.INVALID_TAG,
|
|
2898
|
+
} : this.error(k.INVALID_TAG, G(s, this.clonePosition())));
|
|
2899
2899
|
} else
|
|
2900
|
-
return this.error(k.UNCLOSED_TAG,
|
|
2900
|
+
return this.error(k.UNCLOSED_TAG, G(r, this.clonePosition()));
|
|
2901
2901
|
} else
|
|
2902
|
-
return this.error(k.INVALID_TAG,
|
|
2902
|
+
return this.error(k.INVALID_TAG, G(r, this.clonePosition()));
|
|
2903
2903
|
}, e.prototype.parseTagName = function() {
|
|
2904
2904
|
var t = this.offset();
|
|
2905
2905
|
for (this.bump(); !this.isEOF() && mo(this.char()); )
|
|
@@ -2924,7 +2924,7 @@ var co = (
|
|
|
2924
2924
|
}
|
|
2925
2925
|
break;
|
|
2926
2926
|
}
|
|
2927
|
-
var l =
|
|
2927
|
+
var l = G(r, this.clonePosition());
|
|
2928
2928
|
return {
|
|
2929
2929
|
val: { type: V.literal, value: i, location: l },
|
|
2930
2930
|
err: null
|
|
@@ -2974,14 +2974,14 @@ var co = (
|
|
|
2974
2974
|
}, e.prototype.parseArgument = function(t, n) {
|
|
2975
2975
|
var r = this.clonePosition();
|
|
2976
2976
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2977
|
-
return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2977
|
+
return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE, G(r, this.clonePosition()));
|
|
2978
2978
|
if (this.char() === 125)
|
|
2979
|
-
return this.bump(), this.error(k.EMPTY_ARGUMENT,
|
|
2979
|
+
return this.bump(), this.error(k.EMPTY_ARGUMENT, G(r, this.clonePosition()));
|
|
2980
2980
|
var i = this.parseIdentifierIfPossible().value;
|
|
2981
2981
|
if (!i)
|
|
2982
|
-
return this.error(k.MALFORMED_ARGUMENT,
|
|
2982
|
+
return this.error(k.MALFORMED_ARGUMENT, G(r, this.clonePosition()));
|
|
2983
2983
|
if (this.bumpSpace(), this.isEOF())
|
|
2984
|
-
return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2984
|
+
return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE, G(r, this.clonePosition()));
|
|
2985
2985
|
switch (this.char()) {
|
|
2986
2986
|
case 125:
|
|
2987
2987
|
return this.bump(), {
|
|
@@ -2989,25 +2989,25 @@ var co = (
|
|
|
2989
2989
|
type: V.argument,
|
|
2990
2990
|
// value does not include the opening and closing braces.
|
|
2991
2991
|
value: i,
|
|
2992
|
-
location:
|
|
2992
|
+
location: G(r, this.clonePosition())
|
|
2993
2993
|
},
|
|
2994
2994
|
err: null
|
|
2995
2995
|
};
|
|
2996
2996
|
case 44:
|
|
2997
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2997
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE, G(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
|
|
2998
2998
|
default:
|
|
2999
|
-
return this.error(k.MALFORMED_ARGUMENT,
|
|
2999
|
+
return this.error(k.MALFORMED_ARGUMENT, G(r, this.clonePosition()));
|
|
3000
3000
|
}
|
|
3001
3001
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3002
3002
|
var t = this.clonePosition(), n = this.offset(), r = sn(this.message, n), i = n + r.length;
|
|
3003
3003
|
this.bumpTo(i);
|
|
3004
|
-
var o = this.clonePosition(), u =
|
|
3004
|
+
var o = this.clonePosition(), u = G(t, o);
|
|
3005
3005
|
return { value: r, location: u };
|
|
3006
3006
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
3007
3007
|
var o, u = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3008
3008
|
switch (s) {
|
|
3009
3009
|
case "":
|
|
3010
|
-
return this.error(k.EXPECT_ARGUMENT_TYPE,
|
|
3010
|
+
return this.error(k.EXPECT_ARGUMENT_TYPE, G(u, l));
|
|
3011
3011
|
case "number":
|
|
3012
3012
|
case "date":
|
|
3013
3013
|
case "time": {
|
|
@@ -3020,14 +3020,14 @@ var co = (
|
|
|
3020
3020
|
return p;
|
|
3021
3021
|
var m = fo(p.val);
|
|
3022
3022
|
if (m.length === 0)
|
|
3023
|
-
return this.error(k.EXPECT_ARGUMENT_STYLE,
|
|
3024
|
-
var B =
|
|
3023
|
+
return this.error(k.EXPECT_ARGUMENT_STYLE, G(this.clonePosition(), this.clonePosition()));
|
|
3024
|
+
var B = G(c, this.clonePosition());
|
|
3025
3025
|
a = { style: m, styleLocation: B };
|
|
3026
3026
|
}
|
|
3027
3027
|
var b = this.tryParseArgumentClose(i);
|
|
3028
3028
|
if (b.err)
|
|
3029
3029
|
return b;
|
|
3030
|
-
var y =
|
|
3030
|
+
var y = G(i, this.clonePosition());
|
|
3031
3031
|
if (a && Dn(a == null ? void 0 : a.style, "::", 0)) {
|
|
3032
3032
|
var I = ho(a.style.slice(2));
|
|
3033
3033
|
if (s === "number") {
|
|
@@ -3068,12 +3068,12 @@ var co = (
|
|
|
3068
3068
|
case "select": {
|
|
3069
3069
|
var N = this.clonePosition();
|
|
3070
3070
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3071
|
-
return this.error(k.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3071
|
+
return this.error(k.EXPECT_SELECT_ARGUMENT_OPTIONS, G(N, Rt({}, N)));
|
|
3072
3072
|
this.bumpSpace();
|
|
3073
3073
|
var H = this.parseIdentifierIfPossible(), L = 0;
|
|
3074
3074
|
if (s !== "select" && H.value === "offset") {
|
|
3075
3075
|
if (!this.bumpIf(":"))
|
|
3076
|
-
return this.error(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3076
|
+
return this.error(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, G(this.clonePosition(), this.clonePosition()));
|
|
3077
3077
|
this.bumpSpace();
|
|
3078
3078
|
var p = this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, k.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3079
3079
|
if (p.err)
|
|
@@ -3086,13 +3086,13 @@ var co = (
|
|
|
3086
3086
|
var b = this.tryParseArgumentClose(i);
|
|
3087
3087
|
if (b.err)
|
|
3088
3088
|
return b;
|
|
3089
|
-
var
|
|
3089
|
+
var U = G(i, this.clonePosition());
|
|
3090
3090
|
return s === "select" ? {
|
|
3091
3091
|
val: {
|
|
3092
3092
|
type: V.select,
|
|
3093
3093
|
value: r,
|
|
3094
3094
|
options: _n(w.val),
|
|
3095
|
-
location:
|
|
3095
|
+
location: U
|
|
3096
3096
|
},
|
|
3097
3097
|
err: null
|
|
3098
3098
|
} : {
|
|
@@ -3102,16 +3102,16 @@ var co = (
|
|
|
3102
3102
|
options: _n(w.val),
|
|
3103
3103
|
offset: L,
|
|
3104
3104
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3105
|
-
location:
|
|
3105
|
+
location: U
|
|
3106
3106
|
},
|
|
3107
3107
|
err: null
|
|
3108
3108
|
};
|
|
3109
3109
|
}
|
|
3110
3110
|
default:
|
|
3111
|
-
return this.error(k.INVALID_ARGUMENT_TYPE,
|
|
3111
|
+
return this.error(k.INVALID_ARGUMENT_TYPE, G(u, l));
|
|
3112
3112
|
}
|
|
3113
3113
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3114
|
-
return this.isEOF() || this.char() !== 125 ? this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3114
|
+
return this.isEOF() || this.char() !== 125 ? this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE, G(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3115
3115
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3116
3116
|
for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
|
|
3117
3117
|
var r = this.char();
|
|
@@ -3120,7 +3120,7 @@ var co = (
|
|
|
3120
3120
|
this.bump();
|
|
3121
3121
|
var i = this.clonePosition();
|
|
3122
3122
|
if (!this.bumpUntil("'"))
|
|
3123
|
-
return this.error(k.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3123
|
+
return this.error(k.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, G(i, this.clonePosition()));
|
|
3124
3124
|
this.bump();
|
|
3125
3125
|
break;
|
|
3126
3126
|
}
|
|
@@ -3171,7 +3171,7 @@ var co = (
|
|
|
3171
3171
|
var m = this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_SELECTOR, k.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3172
3172
|
if (m.err)
|
|
3173
3173
|
return m;
|
|
3174
|
-
c =
|
|
3174
|
+
c = G(p, this.clonePosition()), a = this.message.slice(p.offset, this.offset());
|
|
3175
3175
|
} else
|
|
3176
3176
|
break;
|
|
3177
3177
|
}
|
|
@@ -3180,7 +3180,7 @@ var co = (
|
|
|
3180
3180
|
a === "other" && (u = !0), this.bumpSpace();
|
|
3181
3181
|
var B = this.clonePosition();
|
|
3182
3182
|
if (!this.bumpIf("{"))
|
|
3183
|
-
return this.error(n === "select" ? k.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : k.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3183
|
+
return this.error(n === "select" ? k.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : k.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, G(this.clonePosition(), this.clonePosition()));
|
|
3184
3184
|
var b = this.parseMessage(t + 1, n, r);
|
|
3185
3185
|
if (b.err)
|
|
3186
3186
|
return b;
|
|
@@ -3191,11 +3191,11 @@ var co = (
|
|
|
3191
3191
|
a,
|
|
3192
3192
|
{
|
|
3193
3193
|
value: b.val,
|
|
3194
|
-
location:
|
|
3194
|
+
location: G(B, this.clonePosition())
|
|
3195
3195
|
}
|
|
3196
3196
|
]), l.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, c = o.location;
|
|
3197
3197
|
}
|
|
3198
|
-
return s.length === 0 ? this.error(n === "select" ? k.EXPECT_SELECT_ARGUMENT_SELECTOR : k.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3198
|
+
return s.length === 0 ? this.error(n === "select" ? k.EXPECT_SELECT_ARGUMENT_SELECTOR : k.EXPECT_PLURAL_ARGUMENT_SELECTOR, G(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(k.MISSING_OTHER_CLAUSE, G(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3199
3199
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3200
3200
|
var r = 1, i = this.clonePosition();
|
|
3201
3201
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
@@ -3206,7 +3206,7 @@ var co = (
|
|
|
3206
3206
|
else
|
|
3207
3207
|
break;
|
|
3208
3208
|
}
|
|
3209
|
-
var l =
|
|
3209
|
+
var l = G(i, this.clonePosition());
|
|
3210
3210
|
return o ? (u *= r, uo(u) ? { val: u, err: null } : this.error(n, l)) : this.error(t, l);
|
|
3211
3211
|
}, e.prototype.offset = function() {
|
|
3212
3212
|
return this.position.offset;
|
|
@@ -4154,9 +4154,9 @@ var fn = { exports: {} };
|
|
|
4154
4154
|
w.prototype.get = function(h) {
|
|
4155
4155
|
return this._map[L(h)];
|
|
4156
4156
|
}, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
|
|
4157
|
-
function
|
|
4157
|
+
function U() {
|
|
4158
4158
|
}
|
|
4159
|
-
|
|
4159
|
+
U.prototype.open = function(h, g, E, A, C, x, D) {
|
|
4160
4160
|
h.open("GET", C);
|
|
4161
4161
|
var z = 0;
|
|
4162
4162
|
h.onprogress = function() {
|
|
@@ -4292,7 +4292,7 @@ var fn = { exports: {} };
|
|
|
4292
4292
|
var mt = p != null && m != null && "body" in m.prototype;
|
|
4293
4293
|
function Ut(h, g, E) {
|
|
4294
4294
|
g = String(g);
|
|
4295
|
-
var A = !!E.withCredentials, C = E.lastEventIdQueryParameterName || "lastEventId", x = Ue(1e3), D = ke(E.heartbeatTimeout, 45e3), z = "", P = x, F = !1, f = 0, v = E.headers || {}, S = E.Transport, Y = mt && S == null ? void 0 : new H(S != null ? new S() : pt()), xe = S != null && typeof S != "string" ? new S() : Y == null ? new te() : new
|
|
4295
|
+
var A = !!E.withCredentials, C = E.lastEventIdQueryParameterName || "lastEventId", x = Ue(1e3), D = ke(E.heartbeatTimeout, 45e3), z = "", P = x, F = !1, f = 0, v = E.headers || {}, S = E.Transport, Y = mt && S == null ? void 0 : new H(S != null ? new S() : pt()), xe = S != null && typeof S != "string" ? new S() : Y == null ? new te() : new U(), re = void 0, ne = 0, ge = W, Ge = "", At = "", Ie = "", vt = "", ie = ue, Gt = 0, De = 0, Sr = function($, K, fe, ce) {
|
|
4296
4296
|
if (ge === ve)
|
|
4297
4297
|
if ($ === 200 && fe != null && kt.test(fe)) {
|
|
4298
4298
|
ge = He, F = Date.now(), P = x, h.readyState = He;
|
|
@@ -4479,7 +4479,7 @@ if (typeof window != "undefined") {
|
|
|
4479
4479
|
}
|
|
4480
4480
|
};
|
|
4481
4481
|
};
|
|
4482
|
-
customElements.define = e(customElements.define), import("./CasinoTournamentsRank-
|
|
4482
|
+
customElements.define = e(customElements.define), import("./CasinoTournamentsRank-PiIXHADJ.js").then(({ default: t }) => {
|
|
4483
4483
|
!customElements.get("casino-tournaments-rank") && customElements.define("casino-tournaments-rank", t.element);
|
|
4484
4484
|
});
|
|
4485
4485
|
}
|
|
@@ -4582,8 +4582,8 @@ function Vn(e) {
|
|
|
4582
4582
|
e[2]
|
|
4583
4583
|
), d(l, "part", "TournamentInfo_Rank"), d(l, "class", "rank"), d(y, "part", "TournamentInfo_Points"), d(y, "class", "circle"), d(t, "part", "TournamentInfo"), d(t, "class", "TournamentInfo");
|
|
4584
4584
|
},
|
|
4585
|
-
m(w,
|
|
4586
|
-
$e(w, t,
|
|
4585
|
+
m(w, U) {
|
|
4586
|
+
$e(w, t, U), O(t, n), O(n, r), O(r, o), O(t, s), O(t, l), O(l, a), O(t, b), O(t, y);
|
|
4587
4587
|
for (let R = 0; R < L.length; R += 1)
|
|
4588
4588
|
L[R] && L[R].m(y, null);
|
|
4589
4589
|
e[28](t), T = !0, _ || (N = yt(
|
|
@@ -4593,38 +4593,38 @@ function Vn(e) {
|
|
|
4593
4593
|
e[27]
|
|
4594
4594
|
), _ = !0);
|
|
4595
4595
|
},
|
|
4596
|
-
p(w,
|
|
4597
|
-
if ((!T ||
|
|
4596
|
+
p(w, U) {
|
|
4597
|
+
if ((!T || U[0] & /*currentTournament*/
|
|
4598
4598
|
256) && i !== (i = /*currentTournament*/
|
|
4599
|
-
w[8].name + "") && rr(o, i), (!T ||
|
|
4599
|
+
w[8].name + "") && rr(o, i), (!T || U[0] & /*currentTournament*/
|
|
4600
4600
|
256 && u !== (u = /*currentTournament*/
|
|
4601
|
-
w[8].name)) && d(r, "title", u), (!T ||
|
|
4601
|
+
w[8].name)) && d(r, "title", u), (!T || U[0] & /*currentTournament*/
|
|
4602
4602
|
256 && c !== (c = /*currentTournament*/
|
|
4603
|
-
w[8].rank)) && Q(a, "userrank", c), (!T ||
|
|
4603
|
+
w[8].rank)) && Q(a, "userrank", c), (!T || U[0] & /*mbsource*/
|
|
4604
4604
|
8) && Q(
|
|
4605
4605
|
a,
|
|
4606
4606
|
"mbsource",
|
|
4607
4607
|
/*mbsource*/
|
|
4608
4608
|
w[3]
|
|
4609
|
-
), (!T ||
|
|
4609
|
+
), (!T || U[0] & /*currentTournament*/
|
|
4610
4610
|
256 && p !== (p = /*currentTournament*/
|
|
4611
|
-
w[8].prize)) && Q(a, "prize", p), (!T ||
|
|
4611
|
+
w[8].prize)) && Q(a, "prize", p), (!T || U[0] & /*currentTournament*/
|
|
4612
4612
|
256 && m !== (m = /*currentTournament*/
|
|
4613
|
-
w[8].overallRank)) && Q(a, "overallrank", m), (!T ||
|
|
4613
|
+
w[8].overallRank)) && Q(a, "overallrank", m), (!T || U[0] & /*currentTournament*/
|
|
4614
4614
|
256 && B !== (B = /*currentTournament*/
|
|
4615
|
-
w[8].id)) && Q(a, "tournamentid", B), (!T ||
|
|
4615
|
+
w[8].id)) && Q(a, "tournamentid", B), (!T || U[0] & /*clientstyling*/
|
|
4616
4616
|
2) && Q(
|
|
4617
4617
|
a,
|
|
4618
4618
|
"clientstyling",
|
|
4619
4619
|
/*clientstyling*/
|
|
4620
4620
|
w[1]
|
|
4621
|
-
), (!T ||
|
|
4621
|
+
), (!T || U[0] & /*clientstylingurl*/
|
|
4622
4622
|
4) && Q(
|
|
4623
4623
|
a,
|
|
4624
4624
|
"clientstylingurl",
|
|
4625
4625
|
/*clientstylingurl*/
|
|
4626
4626
|
w[2]
|
|
4627
|
-
),
|
|
4627
|
+
), U[0] & /*currentTournamentIdx, tournamentList*/
|
|
4628
4628
|
96) {
|
|
4629
4629
|
H = Cn(
|
|
4630
4630
|
/*tournamentList*/
|
|
@@ -4633,7 +4633,7 @@ function Vn(e) {
|
|
|
4633
4633
|
let R;
|
|
4634
4634
|
for (R = 0; R < H.length; R += 1) {
|
|
4635
4635
|
const te = Xn(w, H, R);
|
|
4636
|
-
L[R] ? L[R].p(te,
|
|
4636
|
+
L[R] ? L[R].p(te, U) : (L[R] = Zn(te), L[R].c(), L[R].m(y, null));
|
|
4637
4637
|
}
|
|
4638
4638
|
for (; R < L.length; R += 1)
|
|
4639
4639
|
L[R].d(1);
|
|
@@ -4690,7 +4690,7 @@ function qn(e) {
|
|
|
4690
4690
|
};
|
|
4691
4691
|
}
|
|
4692
4692
|
function ps(e) {
|
|
4693
|
-
let t, n, r, i, o, u, s, l, a, c, p, m, B, b, y, I, T, _, N, H, L, w,
|
|
4693
|
+
let t, n, r, i, o, u, s, l, a, c, p, m, B, b, y, I, T, _, N, H, L, w, U, R, te, ae, we, X = !/*tournamentList*/
|
|
4694
4694
|
e[5] && zn(e), M = (
|
|
4695
4695
|
/*tournamentList*/
|
|
4696
4696
|
e[5] && /*tournamentList*/
|
|
@@ -4727,7 +4727,7 @@ function ps(e) {
|
|
|
4727
4727
|
"height",
|
|
4728
4728
|
/*iconsize*/
|
|
4729
4729
|
e[0]
|
|
4730
|
-
), d(T, "viewBox",
|
|
4730
|
+
), d(T, "viewBox", U = `0 0 ${/*iconsize*/
|
|
4731
4731
|
e[0]} ${/*iconsize*/
|
|
4732
4732
|
e[0]}`), d(T, "fill", "none"), d(T, "xmlns", "http://www.w3.org/2000/svg"), d(T, "xmlns:xlink", "http://www.w3.org/1999/xlink"), d(I, "class", "svg"), d(I, "part", "Icon"), d(te, "class", "restoreButton"), d(te, "part", "RestoreButton"), d(y, "id", "animator"), d(y, "part", "Animator");
|
|
4733
4733
|
},
|
|
@@ -4794,9 +4794,9 @@ function ps(e) {
|
|
|
4794
4794
|
/*iconsize*/
|
|
4795
4795
|
J[0]
|
|
4796
4796
|
), W[0] & /*iconsize*/
|
|
4797
|
-
1 &&
|
|
4797
|
+
1 && U !== (U = `0 0 ${/*iconsize*/
|
|
4798
4798
|
J[0]} ${/*iconsize*/
|
|
4799
|
-
J[0]}`) && d(T, "viewBox",
|
|
4799
|
+
J[0]}`) && d(T, "viewBox", U);
|
|
4800
4800
|
},
|
|
4801
4801
|
i(J) {
|
|
4802
4802
|
xt(M);
|
|
@@ -4813,7 +4813,7 @@ let Kt = 1, $t = 300;
|
|
|
4813
4813
|
function ms(e, t, n) {
|
|
4814
4814
|
let r, i;
|
|
4815
4815
|
kr(e, is, (f) => n(14, i = f));
|
|
4816
|
-
let { session: o = "" } = t, { endpoint: u = "" } = t, { lang: s = "en" } = t, { tournamentsshownnumber: l = 5 } = t, { looptime: a = "5" } = t, { iconsize: c = "9" } = t, { icon: p = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: B = "" } = t, { translationurl: b = "" } = t, { mbsource: y } = t, I, T, _ = [], N, H = 0, L = !0, w = !1,
|
|
4816
|
+
let { session: o = "" } = t, { endpoint: u = "" } = t, { lang: s = "en" } = t, { tournamentsshownnumber: l = 5 } = t, { looptime: a = "5" } = t, { iconsize: c = "9" } = t, { icon: p = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: B = "" } = t, { translationurl: b = "" } = t, { mbsource: y } = t, I, T, _ = [], N, H = 0, L = !0, w = !1, U, R, te = null, ae = null, we, X = !1, M, j;
|
|
4817
4817
|
os({ withLocale: "en", translations: {} });
|
|
4818
4818
|
const J = () => {
|
|
4819
4819
|
fetch(b).then((v) => v.json()).then((v) => {
|
|
@@ -4943,9 +4943,9 @@ function ms(e, t, n) {
|
|
|
4943
4943
|
}, gt = () => {
|
|
4944
4944
|
if (!u)
|
|
4945
4945
|
return;
|
|
4946
|
-
|
|
4946
|
+
U && (U.removeEventListener("message", Ee), U.close());
|
|
4947
4947
|
let f = new URL(`${u}/v1/tournaments/leaderboard/player/updates`);
|
|
4948
|
-
ke(f.searchParams, 0, l),
|
|
4948
|
+
ke(f.searchParams, 0, l), U = new as.EventSourcePolyfill(
|
|
4949
4949
|
f.href,
|
|
4950
4950
|
{
|
|
4951
4951
|
headers: {
|
|
@@ -4953,7 +4953,7 @@ function ms(e, t, n) {
|
|
|
4953
4953
|
"X-SessionId": o
|
|
4954
4954
|
}
|
|
4955
4955
|
}
|
|
4956
|
-
), typeof
|
|
4956
|
+
), typeof U != "undefined" && U.addEventListener("message", Ee);
|
|
4957
4957
|
}, h = () => {
|
|
4958
4958
|
if (!u || !o)
|
|
4959
4959
|
return;
|
|
@@ -4973,7 +4973,7 @@ function ms(e, t, n) {
|
|
|
4973
4973
|
},
|
|
4974
4974
|
5e3
|
|
4975
4975
|
), () => {
|
|
4976
|
-
clearInterval(we), window.removeEventListener("message", W),
|
|
4976
|
+
clearInterval(we), window.removeEventListener("message", W), U && (U.removeEventListener("message", Ee), U.close()), R.removeEventListener("touchstart", pt), R.removeEventListener("touchmove", mt);
|
|
4977
4977
|
}));
|
|
4978
4978
|
const E = () => ue(-1), A = () => dt(N.id);
|
|
4979
4979
|
function C(f) {
|