@everymatrix/casino-tournaments-tab 1.85.17 → 1.85.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoTournamentsTab-BQT-Juiu.js → CasinoTournamentsTab-C32EjHEa.js} +84 -81
- package/components/{CasinoTournamentsTab-C-Grp7d1.js → CasinoTournamentsTab-D5CTMAEx.js} +166 -163
- package/components/{CasinoTournamentsTab-CyZTeyoM.cjs → CasinoTournamentsTab-alsBtUTn.cjs} +4 -4
- package/es2015/casino-tournaments-tab.cjs +1 -1
- package/es2015/casino-tournaments-tab.js +1 -1
- package/esnext/casino-tournaments-tab.js +1 -1
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ function or(e, ...t) {
|
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function L(e, t) {
|
|
31
31
|
e.appendChild(t);
|
|
32
32
|
}
|
|
33
33
|
function sr(e, t, r) {
|
|
@@ -48,7 +48,7 @@ function ar(e) {
|
|
|
48
48
|
) : e.ownerDocument;
|
|
49
49
|
}
|
|
50
50
|
function ur(e, t) {
|
|
51
|
-
return
|
|
51
|
+
return L(
|
|
52
52
|
/** @type {Document} */
|
|
53
53
|
e.head || e,
|
|
54
54
|
t
|
|
@@ -104,22 +104,22 @@ function pr() {
|
|
|
104
104
|
throw new Error("Function called outside component initialization");
|
|
105
105
|
return Q;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function At(e) {
|
|
108
108
|
pr().$$.on_mount.push(e);
|
|
109
109
|
}
|
|
110
|
-
const R = [],
|
|
110
|
+
const R = [], Ae = [];
|
|
111
111
|
let U = [];
|
|
112
112
|
const qe = [], mr = /* @__PURE__ */ Promise.resolve();
|
|
113
|
-
let
|
|
114
|
-
function
|
|
115
|
-
|
|
113
|
+
let Be = !1;
|
|
114
|
+
function br() {
|
|
115
|
+
Be || (Be = !0, mr.then(B));
|
|
116
116
|
}
|
|
117
117
|
function Pe(e) {
|
|
118
118
|
U.push(e);
|
|
119
119
|
}
|
|
120
120
|
const ye = /* @__PURE__ */ new Set();
|
|
121
121
|
let M = 0;
|
|
122
|
-
function
|
|
122
|
+
function B() {
|
|
123
123
|
if (M !== 0)
|
|
124
124
|
return;
|
|
125
125
|
const e = Q;
|
|
@@ -127,13 +127,13 @@ function A() {
|
|
|
127
127
|
try {
|
|
128
128
|
for (; M < R.length; ) {
|
|
129
129
|
const t = R[M];
|
|
130
|
-
M++, Z(t),
|
|
130
|
+
M++, Z(t), dr(t.$$);
|
|
131
131
|
}
|
|
132
132
|
} catch (t) {
|
|
133
133
|
throw R.length = 0, M = 0, t;
|
|
134
134
|
}
|
|
135
|
-
for (Z(null), R.length = 0, M = 0;
|
|
136
|
-
|
|
135
|
+
for (Z(null), R.length = 0, M = 0; Ae.length; )
|
|
136
|
+
Ae.pop()();
|
|
137
137
|
for (let t = 0; t < U.length; t += 1) {
|
|
138
138
|
const r = U[t];
|
|
139
139
|
ye.has(r) || (ye.add(r), r());
|
|
@@ -142,9 +142,9 @@ function A() {
|
|
|
142
142
|
} while (R.length);
|
|
143
143
|
for (; qe.length; )
|
|
144
144
|
qe.pop()();
|
|
145
|
-
|
|
145
|
+
Be = !1, ye.clear(), Z(e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function dr(e) {
|
|
148
148
|
if (e.fragment !== null) {
|
|
149
149
|
e.update(), q(e.before_update);
|
|
150
150
|
const t = e.dirty;
|
|
@@ -174,7 +174,7 @@ function Er(e, t) {
|
|
|
174
174
|
r.fragment !== null && (gr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
175
175
|
}
|
|
176
176
|
function xr(e, t) {
|
|
177
|
-
e.$$.dirty[0] === -1 && (R.push(e),
|
|
177
|
+
e.$$.dirty[0] === -1 && (R.push(e), br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
178
178
|
}
|
|
179
179
|
function Sr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
180
180
|
const h = Q;
|
|
@@ -203,20 +203,20 @@ function Sr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
203
203
|
s && s(u.root);
|
|
204
204
|
let l = !1;
|
|
205
205
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
206
|
-
const
|
|
207
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
|
206
|
+
const b = p.length ? p[0] : c;
|
|
207
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), l && xr(e, f)), c;
|
|
208
208
|
}) : [], u.update(), l = !0, q(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
209
209
|
if (t.hydrate) {
|
|
210
210
|
const f = fr(t.target);
|
|
211
211
|
u.fragment && u.fragment.l(f), f.forEach(k);
|
|
212
212
|
} else
|
|
213
213
|
u.fragment && u.fragment.c();
|
|
214
|
-
t.intro && yr(e.$$.fragment), _r(e, t.target, t.anchor),
|
|
214
|
+
t.intro && yr(e.$$.fragment), _r(e, t.target, t.anchor), B();
|
|
215
215
|
}
|
|
216
216
|
Z(h);
|
|
217
217
|
}
|
|
218
|
-
let
|
|
219
|
-
typeof HTMLElement == "function" && (
|
|
218
|
+
let Bt;
|
|
219
|
+
typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
220
220
|
/** The Svelte component constructor */
|
|
221
221
|
$$ctor;
|
|
222
222
|
/** Slots */
|
|
@@ -363,7 +363,7 @@ function se(e, t, r, n) {
|
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
365
|
function Tr(e, t, r, n, i, o) {
|
|
366
|
-
let s = class extends
|
|
366
|
+
let s = class extends Bt {
|
|
367
367
|
constructor() {
|
|
368
368
|
super(e, r, i), this.$$p_d = t;
|
|
369
369
|
}
|
|
@@ -437,16 +437,16 @@ class wr {
|
|
|
437
437
|
}
|
|
438
438
|
const Hr = "4";
|
|
439
439
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
|
|
440
|
-
const
|
|
440
|
+
const Ar = (e) => (r) => {
|
|
441
441
|
Object.keys(e).map((n) => {
|
|
442
442
|
if (r.data && r.data.type == n) {
|
|
443
443
|
const { type: i, ...o } = r.data;
|
|
444
444
|
e[n](o);
|
|
445
445
|
}
|
|
446
446
|
});
|
|
447
|
-
},
|
|
448
|
-
const t =
|
|
449
|
-
|
|
447
|
+
}, Br = (e) => {
|
|
448
|
+
const t = Ar(e);
|
|
449
|
+
At(() => (window.addEventListener("message", t, !1), () => {
|
|
450
450
|
window.removeEventListener("message", t);
|
|
451
451
|
}));
|
|
452
452
|
};
|
|
@@ -493,7 +493,7 @@ function Ie(e) {
|
|
|
493
493
|
};
|
|
494
494
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
495
495
|
}
|
|
496
|
-
function
|
|
496
|
+
function Ne(e, t) {
|
|
497
497
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
498
498
|
if (!r)
|
|
499
499
|
return e;
|
|
@@ -513,13 +513,13 @@ function Le(e, t) {
|
|
|
513
513
|
}
|
|
514
514
|
return o;
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function Le(e, t, r) {
|
|
517
517
|
if (arguments.length === 2)
|
|
518
518
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
519
519
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
520
520
|
return e.concat(o || t);
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function A(e) {
|
|
523
523
|
return typeof e == "function";
|
|
524
524
|
}
|
|
525
525
|
function Pt(e) {
|
|
@@ -572,7 +572,7 @@ var pe = function() {
|
|
|
572
572
|
else
|
|
573
573
|
s.remove(this);
|
|
574
574
|
var l = this.initialTeardown;
|
|
575
|
-
if (
|
|
575
|
+
if (A(l))
|
|
576
576
|
try {
|
|
577
577
|
l();
|
|
578
578
|
} catch (v) {
|
|
@@ -583,11 +583,11 @@ var pe = function() {
|
|
|
583
583
|
this._finalizers = null;
|
|
584
584
|
try {
|
|
585
585
|
for (var c = Ie(f), p = c.next(); !p.done; p = c.next()) {
|
|
586
|
-
var
|
|
586
|
+
var b = p.value;
|
|
587
587
|
try {
|
|
588
|
-
et(
|
|
588
|
+
et(b);
|
|
589
589
|
} catch (v) {
|
|
590
|
-
o = o ?? [], v instanceof _e ? o =
|
|
590
|
+
o = o ?? [], v instanceof _e ? o = Le(Le([], Ne(o)), Ne(v.errors)) : o.push(v);
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
593
|
} catch (v) {
|
|
@@ -635,10 +635,10 @@ var pe = function() {
|
|
|
635
635
|
}(), e;
|
|
636
636
|
}(), Ot = pe.EMPTY;
|
|
637
637
|
function It(e) {
|
|
638
|
-
return e instanceof pe || e && "closed" in e &&
|
|
638
|
+
return e instanceof pe || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
|
|
639
639
|
}
|
|
640
640
|
function et(e) {
|
|
641
|
-
|
|
641
|
+
A(e) ? e() : e.unsubscribe();
|
|
642
642
|
}
|
|
643
643
|
var Pr = {
|
|
644
644
|
Promise: void 0
|
|
@@ -646,7 +646,7 @@ var Pr = {
|
|
|
646
646
|
setTimeout: function(e, t) {
|
|
647
647
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
648
648
|
r[n - 2] = arguments[n];
|
|
649
|
-
return setTimeout.apply(void 0,
|
|
649
|
+
return setTimeout.apply(void 0, Le([e, t], Ne(r)));
|
|
650
650
|
},
|
|
651
651
|
clearTimeout: function(e) {
|
|
652
652
|
return clearTimeout(e);
|
|
@@ -663,7 +663,7 @@ function tt() {
|
|
|
663
663
|
function ae(e) {
|
|
664
664
|
e();
|
|
665
665
|
}
|
|
666
|
-
var
|
|
666
|
+
var Nt = function(e) {
|
|
667
667
|
ee(t, e);
|
|
668
668
|
function t(r) {
|
|
669
669
|
var n = e.call(this) || this;
|
|
@@ -694,7 +694,7 @@ var Lt = function(e) {
|
|
|
694
694
|
this.unsubscribe();
|
|
695
695
|
}
|
|
696
696
|
}, t;
|
|
697
|
-
}(pe),
|
|
697
|
+
}(pe), Nr = function() {
|
|
698
698
|
function e(t) {
|
|
699
699
|
this.partialObserver = t;
|
|
700
700
|
}
|
|
@@ -729,24 +729,24 @@ var Lt = function(e) {
|
|
|
729
729
|
ee(t, e);
|
|
730
730
|
function t(r, n, i) {
|
|
731
731
|
var o = e.call(this) || this, s;
|
|
732
|
-
return
|
|
732
|
+
return A(r) || !r ? s = {
|
|
733
733
|
next: r ?? void 0,
|
|
734
734
|
error: n ?? void 0,
|
|
735
735
|
complete: i ?? void 0
|
|
736
|
-
} : s = r, o.destination = new
|
|
736
|
+
} : s = r, o.destination = new Nr(s), o;
|
|
737
737
|
}
|
|
738
738
|
return t;
|
|
739
|
-
}(
|
|
739
|
+
}(Nt);
|
|
740
740
|
function ie(e) {
|
|
741
741
|
Ir(e);
|
|
742
742
|
}
|
|
743
|
-
function
|
|
743
|
+
function Lr(e) {
|
|
744
744
|
throw e;
|
|
745
745
|
}
|
|
746
746
|
var Cr = {
|
|
747
747
|
closed: !0,
|
|
748
748
|
next: tt,
|
|
749
|
-
error:
|
|
749
|
+
error: Lr,
|
|
750
750
|
complete: tt
|
|
751
751
|
}, Mr = function() {
|
|
752
752
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
@@ -826,16 +826,16 @@ function nt(e) {
|
|
|
826
826
|
return (t = e ?? Pr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
827
827
|
}
|
|
828
828
|
function Ur(e) {
|
|
829
|
-
return e &&
|
|
829
|
+
return e && A(e.next) && A(e.error) && A(e.complete);
|
|
830
830
|
}
|
|
831
831
|
function Dr(e) {
|
|
832
|
-
return e && e instanceof
|
|
832
|
+
return e && e instanceof Nt || Ur(e) && It(e);
|
|
833
833
|
}
|
|
834
834
|
var Gr = Pt(function(e) {
|
|
835
835
|
return function() {
|
|
836
836
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
837
837
|
};
|
|
838
|
-
}),
|
|
838
|
+
}), Lt = function(e) {
|
|
839
839
|
ee(t, e);
|
|
840
840
|
function t() {
|
|
841
841
|
var r = e.call(this) || this;
|
|
@@ -934,7 +934,7 @@ var Gr = Pt(function(e) {
|
|
|
934
934
|
var n, i;
|
|
935
935
|
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ot;
|
|
936
936
|
}, t;
|
|
937
|
-
}(
|
|
937
|
+
}(Lt), Ct = {
|
|
938
938
|
now: function() {
|
|
939
939
|
return (Ct.delegate || Date).now();
|
|
940
940
|
},
|
|
@@ -962,7 +962,7 @@ var Gr = Pt(function(e) {
|
|
|
962
962
|
u && o.splice(0, u + 1);
|
|
963
963
|
}
|
|
964
964
|
}, t;
|
|
965
|
-
}(
|
|
965
|
+
}(Lt);
|
|
966
966
|
const ot = [], st = {}, jr = (e, t = 0) => {
|
|
967
967
|
if (ot.indexOf(e) == -1) {
|
|
968
968
|
const r = new Fr(t);
|
|
@@ -1014,11 +1014,11 @@ function V(e, t, r) {
|
|
|
1014
1014
|
if (l)
|
|
1015
1015
|
return;
|
|
1016
1016
|
f();
|
|
1017
|
-
const
|
|
1018
|
-
o ? s(
|
|
1017
|
+
const b = t(n ? u[0] : u, s, a);
|
|
1018
|
+
o ? s(b) : f = Xe(b) ? b : T;
|
|
1019
1019
|
}, p = i.map(
|
|
1020
|
-
(
|
|
1021
|
-
|
|
1020
|
+
(b, v) => or(
|
|
1021
|
+
b,
|
|
1022
1022
|
(x) => {
|
|
1023
1023
|
u[v] = x, l &= ~(1 << v), h && c();
|
|
1024
1024
|
},
|
|
@@ -1114,7 +1114,7 @@ var $e = function(e, t) {
|
|
|
1114
1114
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1115
1115
|
}, $e(e, t);
|
|
1116
1116
|
};
|
|
1117
|
-
function
|
|
1117
|
+
function be(e, t) {
|
|
1118
1118
|
if (typeof t != "function" && t !== null)
|
|
1119
1119
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1120
1120
|
$e(e, t);
|
|
@@ -1221,7 +1221,7 @@ var G;
|
|
|
1221
1221
|
function ut(e) {
|
|
1222
1222
|
return e.type === y.literal;
|
|
1223
1223
|
}
|
|
1224
|
-
function
|
|
1224
|
+
function bn(e) {
|
|
1225
1225
|
return e.type === y.argument;
|
|
1226
1226
|
}
|
|
1227
1227
|
function Ut(e) {
|
|
@@ -1239,7 +1239,7 @@ function Ft(e) {
|
|
|
1239
1239
|
function jt(e) {
|
|
1240
1240
|
return e.type === y.plural;
|
|
1241
1241
|
}
|
|
1242
|
-
function
|
|
1242
|
+
function dn(e) {
|
|
1243
1243
|
return e.type === y.pound;
|
|
1244
1244
|
}
|
|
1245
1245
|
function kt(e) {
|
|
@@ -3017,11 +3017,11 @@ function Hn(e) {
|
|
|
3017
3017
|
var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
|
|
3018
3018
|
return i[0];
|
|
3019
3019
|
}
|
|
3020
|
-
var Te,
|
|
3021
|
-
function
|
|
3020
|
+
var Te, An = new RegExp("^".concat(Xt.source, "*")), Bn = new RegExp("".concat(Xt.source, "*$"));
|
|
3021
|
+
function d(e, t) {
|
|
3022
3022
|
return { start: e, end: t };
|
|
3023
3023
|
}
|
|
3024
|
-
var Pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String.fromCodePoint, In = !!Object.fromEntries,
|
|
3024
|
+
var Pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String.fromCodePoint, In = !!Object.fromEntries, Nn = !!String.prototype.codePointAt, Ln = !!String.prototype.trimStart, Cn = !!String.prototype.trimEnd, Mn = !!Number.isSafeInteger, $n = Mn ? Number.isSafeInteger : function(e) {
|
|
3025
3025
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3026
3026
|
}, Ue = !0;
|
|
3027
3027
|
try {
|
|
@@ -3064,7 +3064,7 @@ var ct = Pn ? (
|
|
|
3064
3064
|
return r;
|
|
3065
3065
|
}
|
|
3066
3066
|
)
|
|
3067
|
-
), Qt =
|
|
3067
|
+
), Qt = Nn ? (
|
|
3068
3068
|
// Native
|
|
3069
3069
|
function(t, r) {
|
|
3070
3070
|
return t.codePointAt(r);
|
|
@@ -3078,7 +3078,7 @@ var ct = Pn ? (
|
|
|
3078
3078
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3079
3079
|
}
|
|
3080
3080
|
}
|
|
3081
|
-
), Un =
|
|
3081
|
+
), Un = Ln ? (
|
|
3082
3082
|
// Native
|
|
3083
3083
|
function(t) {
|
|
3084
3084
|
return t.trimStart();
|
|
@@ -3086,7 +3086,7 @@ var ct = Pn ? (
|
|
|
3086
3086
|
) : (
|
|
3087
3087
|
// Ponyfill
|
|
3088
3088
|
function(t) {
|
|
3089
|
-
return t.replace(
|
|
3089
|
+
return t.replace(An, "");
|
|
3090
3090
|
}
|
|
3091
3091
|
), Dn = Cn ? (
|
|
3092
3092
|
// Native
|
|
@@ -3096,7 +3096,7 @@ var ct = Pn ? (
|
|
|
3096
3096
|
) : (
|
|
3097
3097
|
// Ponyfill
|
|
3098
3098
|
function(t) {
|
|
3099
|
-
return t.replace(
|
|
3099
|
+
return t.replace(Bn, "");
|
|
3100
3100
|
}
|
|
3101
3101
|
);
|
|
3102
3102
|
function Jt(e, t) {
|
|
@@ -3146,12 +3146,12 @@ var Gn = (
|
|
|
3146
3146
|
var a = this.clonePosition();
|
|
3147
3147
|
this.bump(), i.push({
|
|
3148
3148
|
type: y.pound,
|
|
3149
|
-
location:
|
|
3149
|
+
location: d(a, this.clonePosition())
|
|
3150
3150
|
});
|
|
3151
3151
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3152
3152
|
if (n)
|
|
3153
3153
|
break;
|
|
3154
|
-
return this.error(m.UNMATCHED_CLOSING_TAG,
|
|
3154
|
+
return this.error(m.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
|
|
3155
3155
|
} else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
|
|
3156
3156
|
var s = this.parseTag(t, r);
|
|
3157
3157
|
if (s.err)
|
|
@@ -3175,7 +3175,7 @@ var Gn = (
|
|
|
3175
3175
|
val: {
|
|
3176
3176
|
type: y.literal,
|
|
3177
3177
|
value: "<".concat(i, "/>"),
|
|
3178
|
-
location:
|
|
3178
|
+
location: d(n, this.clonePosition())
|
|
3179
3179
|
},
|
|
3180
3180
|
err: null
|
|
3181
3181
|
};
|
|
@@ -3186,21 +3186,21 @@ var Gn = (
|
|
|
3186
3186
|
var s = o.val, a = this.clonePosition();
|
|
3187
3187
|
if (this.bumpIf("</")) {
|
|
3188
3188
|
if (this.isEOF() || !Fe(this.char()))
|
|
3189
|
-
return this.error(m.INVALID_TAG,
|
|
3189
|
+
return this.error(m.INVALID_TAG, d(a, this.clonePosition()));
|
|
3190
3190
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3191
|
-
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG,
|
|
3191
|
+
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, d(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3192
3192
|
val: {
|
|
3193
3193
|
type: y.tag,
|
|
3194
3194
|
value: i,
|
|
3195
3195
|
children: s,
|
|
3196
|
-
location:
|
|
3196
|
+
location: d(n, this.clonePosition())
|
|
3197
3197
|
},
|
|
3198
3198
|
err: null
|
|
3199
|
-
} : this.error(m.INVALID_TAG,
|
|
3199
|
+
} : this.error(m.INVALID_TAG, d(a, this.clonePosition())));
|
|
3200
3200
|
} else
|
|
3201
|
-
return this.error(m.UNCLOSED_TAG,
|
|
3201
|
+
return this.error(m.UNCLOSED_TAG, d(n, this.clonePosition()));
|
|
3202
3202
|
} else
|
|
3203
|
-
return this.error(m.INVALID_TAG,
|
|
3203
|
+
return this.error(m.INVALID_TAG, d(n, this.clonePosition()));
|
|
3204
3204
|
}, e.prototype.parseTagName = function() {
|
|
3205
3205
|
var t = this.offset();
|
|
3206
3206
|
for (this.bump(); !this.isEOF() && jn(this.char()); )
|
|
@@ -3225,7 +3225,7 @@ var Gn = (
|
|
|
3225
3225
|
}
|
|
3226
3226
|
break;
|
|
3227
3227
|
}
|
|
3228
|
-
var h =
|
|
3228
|
+
var h = d(n, this.clonePosition());
|
|
3229
3229
|
return {
|
|
3230
3230
|
val: { type: y.literal, value: i, location: h },
|
|
3231
3231
|
err: null
|
|
@@ -3275,14 +3275,14 @@ var Gn = (
|
|
|
3275
3275
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3276
3276
|
var n = this.clonePosition();
|
|
3277
3277
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3278
|
-
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3278
|
+
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
|
|
3279
3279
|
if (this.char() === 125)
|
|
3280
|
-
return this.bump(), this.error(m.EMPTY_ARGUMENT,
|
|
3280
|
+
return this.bump(), this.error(m.EMPTY_ARGUMENT, d(n, this.clonePosition()));
|
|
3281
3281
|
var i = this.parseIdentifierIfPossible().value;
|
|
3282
3282
|
if (!i)
|
|
3283
|
-
return this.error(m.MALFORMED_ARGUMENT,
|
|
3283
|
+
return this.error(m.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
|
|
3284
3284
|
if (this.bumpSpace(), this.isEOF())
|
|
3285
|
-
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3285
|
+
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
|
|
3286
3286
|
switch (this.char()) {
|
|
3287
3287
|
case 125:
|
|
3288
3288
|
return this.bump(), {
|
|
@@ -3290,25 +3290,25 @@ var Gn = (
|
|
|
3290
3290
|
type: y.argument,
|
|
3291
3291
|
// value does not include the opening and closing braces.
|
|
3292
3292
|
value: i,
|
|
3293
|
-
location:
|
|
3293
|
+
location: d(n, this.clonePosition())
|
|
3294
3294
|
},
|
|
3295
3295
|
err: null
|
|
3296
3296
|
};
|
|
3297
3297
|
case 44:
|
|
3298
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3298
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3299
3299
|
default:
|
|
3300
|
-
return this.error(m.MALFORMED_ARGUMENT,
|
|
3300
|
+
return this.error(m.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
|
|
3301
3301
|
}
|
|
3302
3302
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3303
3303
|
var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
|
|
3304
3304
|
this.bumpTo(i);
|
|
3305
|
-
var o = this.clonePosition(), s =
|
|
3305
|
+
var o = this.clonePosition(), s = d(t, o);
|
|
3306
3306
|
return { value: n, location: s };
|
|
3307
3307
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3308
3308
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3309
3309
|
switch (a) {
|
|
3310
3310
|
case "":
|
|
3311
|
-
return this.error(m.EXPECT_ARGUMENT_TYPE,
|
|
3311
|
+
return this.error(m.EXPECT_ARGUMENT_TYPE, d(s, h));
|
|
3312
3312
|
case "number":
|
|
3313
3313
|
case "date":
|
|
3314
3314
|
case "time": {
|
|
@@ -3321,14 +3321,14 @@ var Gn = (
|
|
|
3321
3321
|
return f;
|
|
3322
3322
|
var c = Dn(f.val);
|
|
3323
3323
|
if (c.length === 0)
|
|
3324
|
-
return this.error(m.EXPECT_ARGUMENT_STYLE,
|
|
3325
|
-
var p =
|
|
3324
|
+
return this.error(m.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
|
|
3325
|
+
var p = d(l, this.clonePosition());
|
|
3326
3326
|
u = { style: c, styleLocation: p };
|
|
3327
3327
|
}
|
|
3328
|
-
var
|
|
3329
|
-
if (
|
|
3330
|
-
return
|
|
3331
|
-
var v =
|
|
3328
|
+
var b = this.tryParseArgumentClose(i);
|
|
3329
|
+
if (b.err)
|
|
3330
|
+
return b;
|
|
3331
|
+
var v = d(i, this.clonePosition());
|
|
3332
3332
|
if (u && ct(u?.style, "::", 0)) {
|
|
3333
3333
|
var x = Un(u.style.slice(2));
|
|
3334
3334
|
if (a === "number") {
|
|
@@ -3369,25 +3369,25 @@ var Gn = (
|
|
|
3369
3369
|
case "select": {
|
|
3370
3370
|
var w = this.clonePosition();
|
|
3371
3371
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3372
|
-
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3372
|
+
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, d(w, le({}, w)));
|
|
3373
3373
|
this.bumpSpace();
|
|
3374
|
-
var z = this.parseIdentifierIfPossible(),
|
|
3374
|
+
var z = this.parseIdentifierIfPossible(), N = 0;
|
|
3375
3375
|
if (a !== "select" && z.value === "offset") {
|
|
3376
3376
|
if (!this.bumpIf(":"))
|
|
3377
|
-
return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3377
|
+
return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
|
|
3378
3378
|
this.bumpSpace();
|
|
3379
3379
|
var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3380
3380
|
if (f.err)
|
|
3381
3381
|
return f;
|
|
3382
|
-
this.bumpSpace(), z = this.parseIdentifierIfPossible(),
|
|
3382
|
+
this.bumpSpace(), z = this.parseIdentifierIfPossible(), N = f.val;
|
|
3383
3383
|
}
|
|
3384
3384
|
var ne = this.tryParsePluralOrSelectOptions(t, a, r, z);
|
|
3385
3385
|
if (ne.err)
|
|
3386
3386
|
return ne;
|
|
3387
|
-
var
|
|
3388
|
-
if (
|
|
3389
|
-
return
|
|
3390
|
-
var Qe =
|
|
3387
|
+
var b = this.tryParseArgumentClose(i);
|
|
3388
|
+
if (b.err)
|
|
3389
|
+
return b;
|
|
3390
|
+
var Qe = d(i, this.clonePosition());
|
|
3391
3391
|
return a === "select" ? {
|
|
3392
3392
|
val: {
|
|
3393
3393
|
type: y.select,
|
|
@@ -3401,7 +3401,7 @@ var Gn = (
|
|
|
3401
3401
|
type: y.plural,
|
|
3402
3402
|
value: n,
|
|
3403
3403
|
options: pt(ne.val),
|
|
3404
|
-
offset:
|
|
3404
|
+
offset: N,
|
|
3405
3405
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3406
3406
|
location: Qe
|
|
3407
3407
|
},
|
|
@@ -3409,10 +3409,10 @@ var Gn = (
|
|
|
3409
3409
|
};
|
|
3410
3410
|
}
|
|
3411
3411
|
default:
|
|
3412
|
-
return this.error(m.INVALID_ARGUMENT_TYPE,
|
|
3412
|
+
return this.error(m.INVALID_ARGUMENT_TYPE, d(s, h));
|
|
3413
3413
|
}
|
|
3414
3414
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3415
|
-
return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3415
|
+
return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3416
3416
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3417
3417
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3418
3418
|
var n = this.char();
|
|
@@ -3421,7 +3421,7 @@ var Gn = (
|
|
|
3421
3421
|
this.bump();
|
|
3422
3422
|
var i = this.clonePosition();
|
|
3423
3423
|
if (!this.bumpUntil("'"))
|
|
3424
|
-
return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3424
|
+
return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
|
|
3425
3425
|
this.bump();
|
|
3426
3426
|
break;
|
|
3427
3427
|
}
|
|
@@ -3472,7 +3472,7 @@ var Gn = (
|
|
|
3472
3472
|
var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3473
3473
|
if (c.err)
|
|
3474
3474
|
return c;
|
|
3475
|
-
l =
|
|
3475
|
+
l = d(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3476
3476
|
} else
|
|
3477
3477
|
break;
|
|
3478
3478
|
}
|
|
@@ -3481,22 +3481,22 @@ var Gn = (
|
|
|
3481
3481
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3482
3482
|
var p = this.clonePosition();
|
|
3483
3483
|
if (!this.bumpIf("{"))
|
|
3484
|
-
return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3485
|
-
var
|
|
3486
|
-
if (
|
|
3487
|
-
return
|
|
3484
|
+
return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
|
|
3485
|
+
var b = this.parseMessage(t + 1, r, n);
|
|
3486
|
+
if (b.err)
|
|
3487
|
+
return b;
|
|
3488
3488
|
var v = this.tryParseArgumentClose(p);
|
|
3489
3489
|
if (v.err)
|
|
3490
3490
|
return v;
|
|
3491
3491
|
a.push([
|
|
3492
3492
|
u,
|
|
3493
3493
|
{
|
|
3494
|
-
value:
|
|
3495
|
-
location:
|
|
3494
|
+
value: b.val,
|
|
3495
|
+
location: d(p, this.clonePosition())
|
|
3496
3496
|
}
|
|
3497
3497
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3498
3498
|
}
|
|
3499
|
-
return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3499
|
+
return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(m.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3500
3500
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3501
3501
|
var n = 1, i = this.clonePosition();
|
|
3502
3502
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3507,7 +3507,7 @@ var Gn = (
|
|
|
3507
3507
|
else
|
|
3508
3508
|
break;
|
|
3509
3509
|
}
|
|
3510
|
-
var h =
|
|
3510
|
+
var h = d(i, this.clonePosition());
|
|
3511
3511
|
return o ? (s *= n, $n(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3512
3512
|
}, e.prototype.offset = function() {
|
|
3513
3513
|
return this.position.offset;
|
|
@@ -3611,10 +3611,10 @@ var F;
|
|
|
3611
3611
|
(function(e) {
|
|
3612
3612
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3613
3613
|
})(F || (F = {}));
|
|
3614
|
-
var
|
|
3614
|
+
var de = (
|
|
3615
3615
|
/** @class */
|
|
3616
3616
|
function(e) {
|
|
3617
|
-
|
|
3617
|
+
be(t, e);
|
|
3618
3618
|
function t(r, n, i) {
|
|
3619
3619
|
var o = e.call(this, r) || this;
|
|
3620
3620
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3623,33 +3623,33 @@ var be = (
|
|
|
3623
3623
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3624
3624
|
}, t;
|
|
3625
3625
|
}(Error)
|
|
3626
|
-
),
|
|
3626
|
+
), bt = (
|
|
3627
3627
|
/** @class */
|
|
3628
3628
|
function(e) {
|
|
3629
|
-
|
|
3629
|
+
be(t, e);
|
|
3630
3630
|
function t(r, n, i, o) {
|
|
3631
3631
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), F.INVALID_VALUE, o) || this;
|
|
3632
3632
|
}
|
|
3633
3633
|
return t;
|
|
3634
|
-
}(
|
|
3634
|
+
}(de)
|
|
3635
3635
|
), Xn = (
|
|
3636
3636
|
/** @class */
|
|
3637
3637
|
function(e) {
|
|
3638
|
-
|
|
3638
|
+
be(t, e);
|
|
3639
3639
|
function t(r, n, i) {
|
|
3640
3640
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), F.INVALID_VALUE, i) || this;
|
|
3641
3641
|
}
|
|
3642
3642
|
return t;
|
|
3643
|
-
}(
|
|
3643
|
+
}(de)
|
|
3644
3644
|
), zn = (
|
|
3645
3645
|
/** @class */
|
|
3646
3646
|
function(e) {
|
|
3647
|
-
|
|
3647
|
+
be(t, e);
|
|
3648
3648
|
function t(r, n) {
|
|
3649
3649
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), F.MISSING_VALUE, n) || this;
|
|
3650
3650
|
}
|
|
3651
3651
|
return t;
|
|
3652
|
-
}(
|
|
3652
|
+
}(de)
|
|
3653
3653
|
), E;
|
|
3654
3654
|
(function(e) {
|
|
3655
3655
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
@@ -3680,7 +3680,7 @@ function ue(e, t, r, n, i, o, s) {
|
|
|
3680
3680
|
});
|
|
3681
3681
|
continue;
|
|
3682
3682
|
}
|
|
3683
|
-
if (
|
|
3683
|
+
if (dn(l)) {
|
|
3684
3684
|
typeof o == "number" && a.push({
|
|
3685
3685
|
type: E.literal,
|
|
3686
3686
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3691,7 +3691,7 @@ function ue(e, t, r, n, i, o, s) {
|
|
|
3691
3691
|
if (!(i && f in i))
|
|
3692
3692
|
throw new zn(f, s);
|
|
3693
3693
|
var c = i[f];
|
|
3694
|
-
if (
|
|
3694
|
+
if (bn(l)) {
|
|
3695
3695
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3696
3696
|
type: typeof c == "string" ? E.literal : E.object,
|
|
3697
3697
|
value: c
|
|
@@ -3723,23 +3723,23 @@ function ue(e, t, r, n, i, o, s) {
|
|
|
3723
3723
|
continue;
|
|
3724
3724
|
}
|
|
3725
3725
|
if (kt(l)) {
|
|
3726
|
-
var
|
|
3726
|
+
var b = l.children, v = l.value, x = i[v];
|
|
3727
3727
|
if (!Zn(x))
|
|
3728
3728
|
throw new Xn(v, "function", s);
|
|
3729
|
-
var I = ue(
|
|
3730
|
-
return
|
|
3729
|
+
var I = ue(b, t, r, n, i, o), g = x(I.map(function(N) {
|
|
3730
|
+
return N.value;
|
|
3731
3731
|
}));
|
|
3732
|
-
Array.isArray(g) || (g = [g]), a.push.apply(a, g.map(function(
|
|
3732
|
+
Array.isArray(g) || (g = [g]), a.push.apply(a, g.map(function(N) {
|
|
3733
3733
|
return {
|
|
3734
|
-
type: typeof
|
|
3735
|
-
value:
|
|
3734
|
+
type: typeof N == "string" ? E.literal : E.object,
|
|
3735
|
+
value: N
|
|
3736
3736
|
};
|
|
3737
3737
|
}));
|
|
3738
3738
|
}
|
|
3739
3739
|
if (Ft(l)) {
|
|
3740
3740
|
var w = l.options[c] || l.options.other;
|
|
3741
3741
|
if (!w)
|
|
3742
|
-
throw new
|
|
3742
|
+
throw new bt(l.value, c, Object.keys(l.options), s);
|
|
3743
3743
|
a.push.apply(a, ue(w.value, t, r, n, i));
|
|
3744
3744
|
continue;
|
|
3745
3745
|
}
|
|
@@ -3747,14 +3747,14 @@ function ue(e, t, r, n, i, o, s) {
|
|
|
3747
3747
|
var w = l.options["=".concat(c)];
|
|
3748
3748
|
if (!w) {
|
|
3749
3749
|
if (!Intl.PluralRules)
|
|
3750
|
-
throw new
|
|
3750
|
+
throw new de(`Intl.PluralRules is not available in this environment.
|
|
3751
3751
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3752
3752
|
`, F.MISSING_INTL_API, s);
|
|
3753
3753
|
var z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3754
3754
|
w = l.options[z] || l.options.other;
|
|
3755
3755
|
}
|
|
3756
3756
|
if (!w)
|
|
3757
|
-
throw new
|
|
3757
|
+
throw new bt(l.value, c, Object.keys(l.options), s);
|
|
3758
3758
|
a.push.apply(a, ue(w.value, t, r, n, i, c - (l.offset || 0)));
|
|
3759
3759
|
continue;
|
|
3760
3760
|
}
|
|
@@ -4076,12 +4076,12 @@ function j() {
|
|
|
4076
4076
|
return li;
|
|
4077
4077
|
}
|
|
4078
4078
|
const He = me(!1);
|
|
4079
|
-
var fi = Object.defineProperty, ci = Object.defineProperties, pi = Object.getOwnPropertyDescriptors,
|
|
4079
|
+
var fi = Object.defineProperty, ci = Object.defineProperties, pi = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, mi = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, di = (e, t) => {
|
|
4080
4080
|
for (var r in t || (t = {}))
|
|
4081
4081
|
mi.call(t, r) && gt(e, r, t[r]);
|
|
4082
|
-
if (
|
|
4083
|
-
for (var r of
|
|
4084
|
-
|
|
4082
|
+
if (dt)
|
|
4083
|
+
for (var r of dt(t))
|
|
4084
|
+
bi.call(t, r) && gt(e, r, t[r]);
|
|
4085
4085
|
return e;
|
|
4086
4086
|
}, gi = (e, t) => ci(e, pi(t));
|
|
4087
4087
|
let Ve;
|
|
@@ -4113,7 +4113,7 @@ const vi = (e) => {
|
|
|
4113
4113
|
});
|
|
4114
4114
|
}
|
|
4115
4115
|
return fe.set(e);
|
|
4116
|
-
}, re = gi(
|
|
4116
|
+
}, re = gi(di({}, fe), {
|
|
4117
4117
|
set: vi
|
|
4118
4118
|
}), ve = (e) => {
|
|
4119
4119
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -4192,7 +4192,7 @@ const Y = (e, t) => {
|
|
|
4192
4192
|
(e, t = C()) => new qn(e, t, j().formats, {
|
|
4193
4193
|
ignoreTag: j().ignoreTag
|
|
4194
4194
|
})
|
|
4195
|
-
),
|
|
4195
|
+
), Ai = (e, t = {}) => {
|
|
4196
4196
|
var r, n, i, o;
|
|
4197
4197
|
let s = t;
|
|
4198
4198
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4224,21 +4224,24 @@ const Y = (e, t) => {
|
|
|
4224
4224
|
);
|
|
4225
4225
|
}
|
|
4226
4226
|
return f;
|
|
4227
|
-
},
|
|
4228
|
-
V([re, te], () =>
|
|
4229
|
-
V([re], () =>
|
|
4227
|
+
}, Bi = (e, t) => wi(t).format(e), Pi = (e, t) => Ti(t).format(e), Oi = (e, t) => Si(t).format(e), Ii = (e, t = C()) => qt(e, t);
|
|
4228
|
+
V([re, te], () => Ai);
|
|
4229
|
+
V([re], () => Bi);
|
|
4230
4230
|
V([re], () => Pi);
|
|
4231
4231
|
V([re], () => Oi);
|
|
4232
4232
|
V([re, te], () => Ii);
|
|
4233
4233
|
window.emWidgets = { topic: jr };
|
|
4234
|
-
const
|
|
4235
|
-
|
|
4234
|
+
const Ni = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4235
|
+
String(Number.MAX_SAFE_INTEGER).length;
|
|
4236
|
+
function Li(e, t) {
|
|
4236
4237
|
if (e) {
|
|
4237
4238
|
const r = document.createElement("style");
|
|
4238
4239
|
r.innerHTML = t, e.appendChild(r);
|
|
4239
4240
|
}
|
|
4240
4241
|
}
|
|
4241
4242
|
function Ci(e, t) {
|
|
4243
|
+
if (!e || !t)
|
|
4244
|
+
return;
|
|
4242
4245
|
const r = new URL(t);
|
|
4243
4246
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4244
4247
|
const i = document.createElement("style");
|
|
@@ -4316,7 +4319,7 @@ function xt(e) {
|
|
|
4316
4319
|
t = O("sup"), r = O("span"), i = ze(n), S(r, "part", "SupText"), S(t, "part", "sup");
|
|
4317
4320
|
},
|
|
4318
4321
|
m(o, s) {
|
|
4319
|
-
K(o, t, s),
|
|
4322
|
+
K(o, t, s), L(t, r), L(r, i);
|
|
4320
4323
|
},
|
|
4321
4324
|
p(o, s) {
|
|
4322
4325
|
s & /*totalReceiver, __tabs*/
|
|
@@ -4334,10 +4337,10 @@ function xt(e) {
|
|
|
4334
4337
|
function St(e) {
|
|
4335
4338
|
let t, r, n = (
|
|
4336
4339
|
/*textReceiver*/
|
|
4337
|
-
e[4][
|
|
4340
|
+
(e[4][
|
|
4338
4341
|
/*_tab*/
|
|
4339
4342
|
e[16]
|
|
4340
|
-
] + ""
|
|
4343
|
+
] || "") + ""
|
|
4341
4344
|
), i, o, s, a, h, u, l, f = (
|
|
4342
4345
|
/*totalReceiver*/
|
|
4343
4346
|
e[3][
|
|
@@ -4363,23 +4366,23 @@ function St(e) {
|
|
|
4363
4366
|
(e[5] === /*_tab*/
|
|
4364
4367
|
e[16] ? "active" : ""));
|
|
4365
4368
|
},
|
|
4366
|
-
m(p,
|
|
4367
|
-
K(p, t,
|
|
4369
|
+
m(p, b) {
|
|
4370
|
+
K(p, t, b), L(t, r), L(r, i), L(t, o), f && f.m(t, null), L(t, s), u || (l = lr(t, "click", c), u = !0);
|
|
4368
4371
|
},
|
|
4369
|
-
p(p,
|
|
4370
|
-
e = p,
|
|
4372
|
+
p(p, b) {
|
|
4373
|
+
e = p, b & /*textReceiver, __tabs*/
|
|
4371
4374
|
80 && n !== (n = /*textReceiver*/
|
|
4372
|
-
e[4][
|
|
4375
|
+
(e[4][
|
|
4373
4376
|
/*_tab*/
|
|
4374
4377
|
e[16]
|
|
4375
|
-
] + "") && Ht(i, n), /*totalReceiver*/
|
|
4378
|
+
] || "") + "") && Ht(i, n), /*totalReceiver*/
|
|
4376
4379
|
e[3][
|
|
4377
4380
|
/*_tab*/
|
|
4378
4381
|
e[16]
|
|
4379
|
-
] >= 0 ? f ? f.p(e,
|
|
4382
|
+
] >= 0 ? f ? f.p(e, b) : (f = xt(e), f.c(), f.m(t, s)) : f && (f.d(1), f = null), b & /*__tab, __tabs*/
|
|
4380
4383
|
96 && a !== (a = /*__tab*/
|
|
4381
4384
|
e[5] === /*_tab*/
|
|
4382
|
-
e[16] ? "active" : "") && S(t, "class", a),
|
|
4385
|
+
e[16] ? "active" : "") && S(t, "class", a), b & /*__tabs, __tab*/
|
|
4383
4386
|
96 && h !== (h = `${/*_tab*/
|
|
4384
4387
|
e[16]} li ` + /*__tab*/
|
|
4385
4388
|
(e[5] === /*_tab*/
|
|
@@ -4397,7 +4400,7 @@ function Ri(e) {
|
|
|
4397
4400
|
);
|
|
4398
4401
|
return {
|
|
4399
4402
|
c() {
|
|
4400
|
-
t = O("div"), r && r.c(), S(t, "class", "casino-tournaments-tab " + (
|
|
4403
|
+
t = O("div"), r && r.c(), S(t, "class", "casino-tournaments-tab " + (Ni(
|
|
4401
4404
|
/*userAgent*/
|
|
4402
4405
|
e[7]
|
|
4403
4406
|
) ? "TabMobile" : "TabDesktop")), S(t, "part", "CustomStylingContainer");
|
|
@@ -4419,11 +4422,11 @@ function Ri(e) {
|
|
|
4419
4422
|
function Ui(e, t, r) {
|
|
4420
4423
|
let n, i, { tabs: o = "" } = t, { tab: s = void 0 } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { tid: l = "pageTab" } = t, f, c = !1;
|
|
4421
4424
|
const p = window.navigator.userAgent;
|
|
4422
|
-
let
|
|
4423
|
-
|
|
4425
|
+
let b = {}, v = {};
|
|
4426
|
+
Br({
|
|
4424
4427
|
TournamentsTabTotalUpdate: (g) => {
|
|
4425
|
-
r(3,
|
|
4426
|
-
...
|
|
4428
|
+
r(3, b = {
|
|
4429
|
+
...b,
|
|
4427
4430
|
[g.state]: g.total
|
|
4428
4431
|
});
|
|
4429
4432
|
},
|
|
@@ -4436,7 +4439,7 @@ function Ui(e, t, r) {
|
|
|
4436
4439
|
TournamentsTabLocaleTextUpdate: (g) => {
|
|
4437
4440
|
r(2, c = !0), r(4, v = { ...v, [g.state]: g.text });
|
|
4438
4441
|
}
|
|
4439
|
-
}),
|
|
4442
|
+
}), At(() => (window.postMessage(
|
|
4440
4443
|
{
|
|
4441
4444
|
type: "TournamentsTabListenerLoaded",
|
|
4442
4445
|
tid: l
|
|
@@ -4455,7 +4458,7 @@ function Ui(e, t, r) {
|
|
|
4455
4458
|
);
|
|
4456
4459
|
};
|
|
4457
4460
|
function I(g) {
|
|
4458
|
-
|
|
4461
|
+
Ae[g ? "unshift" : "push"](() => {
|
|
4459
4462
|
f = g, r(1, f);
|
|
4460
4463
|
});
|
|
4461
4464
|
}
|
|
@@ -4463,7 +4466,7 @@ function Ui(e, t, r) {
|
|
|
4463
4466
|
"tabs" in g && r(8, o = g.tabs), "tab" in g && r(9, s = g.tab), "clientstyling" in g && r(10, a = g.clientstyling), "clientstylingurl" in g && r(11, h = g.clientstylingurl), "mbsource" in g && r(12, u = g.mbsource), "tid" in g && r(0, l = g.tid);
|
|
4464
4467
|
}, e.$$.update = () => {
|
|
4465
4468
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4466
|
-
1026 && a && f &&
|
|
4469
|
+
1026 && a && f && Li(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4467
4470
|
2050 && h && f && Ci(f, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4468
4471
|
4098 && u && f && Mi(f, `${u}.Style`), e.$$.dirty & /*tabs*/
|
|
4469
4472
|
256 && r(6, n = o.split(",")), e.$$.dirty & /*tab*/
|
|
@@ -4472,7 +4475,7 @@ function Ui(e, t, r) {
|
|
|
4472
4475
|
l,
|
|
4473
4476
|
f,
|
|
4474
4477
|
c,
|
|
4475
|
-
|
|
4478
|
+
b,
|
|
4476
4479
|
v,
|
|
4477
4480
|
i,
|
|
4478
4481
|
n,
|
|
@@ -4509,37 +4512,37 @@ class Di extends wr {
|
|
|
4509
4512
|
return this.$$.ctx[8];
|
|
4510
4513
|
}
|
|
4511
4514
|
set tabs(t) {
|
|
4512
|
-
this.$$set({ tabs: t }),
|
|
4515
|
+
this.$$set({ tabs: t }), B();
|
|
4513
4516
|
}
|
|
4514
4517
|
get tab() {
|
|
4515
4518
|
return this.$$.ctx[9];
|
|
4516
4519
|
}
|
|
4517
4520
|
set tab(t) {
|
|
4518
|
-
this.$$set({ tab: t }),
|
|
4521
|
+
this.$$set({ tab: t }), B();
|
|
4519
4522
|
}
|
|
4520
4523
|
get clientstyling() {
|
|
4521
4524
|
return this.$$.ctx[10];
|
|
4522
4525
|
}
|
|
4523
4526
|
set clientstyling(t) {
|
|
4524
|
-
this.$$set({ clientstyling: t }),
|
|
4527
|
+
this.$$set({ clientstyling: t }), B();
|
|
4525
4528
|
}
|
|
4526
4529
|
get clientstylingurl() {
|
|
4527
4530
|
return this.$$.ctx[11];
|
|
4528
4531
|
}
|
|
4529
4532
|
set clientstylingurl(t) {
|
|
4530
|
-
this.$$set({ clientstylingurl: t }),
|
|
4533
|
+
this.$$set({ clientstylingurl: t }), B();
|
|
4531
4534
|
}
|
|
4532
4535
|
get mbsource() {
|
|
4533
4536
|
return this.$$.ctx[12];
|
|
4534
4537
|
}
|
|
4535
4538
|
set mbsource(t) {
|
|
4536
|
-
this.$$set({ mbsource: t }),
|
|
4539
|
+
this.$$set({ mbsource: t }), B();
|
|
4537
4540
|
}
|
|
4538
4541
|
get tid() {
|
|
4539
4542
|
return this.$$.ctx[0];
|
|
4540
4543
|
}
|
|
4541
4544
|
set tid(t) {
|
|
4542
|
-
this.$$set({ tid: t }),
|
|
4545
|
+
this.$$set({ tid: t }), B();
|
|
4543
4546
|
}
|
|
4544
4547
|
}
|
|
4545
4548
|
Tr(Di, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
|