@everymatrix/casino-tournaments-controller 1.55.0 → 1.56.2
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/{CasinoTournamentsController-D4fqxCja.js → CasinoTournamentsController--v7Db-nS.js} +204 -172
- package/components/{CasinoTournamentsController-B87iHebe.js → CasinoTournamentsController-B7T1o6MJ.js} +205 -173
- package/components/{CasinoTournamentsController-WRSyK2QY.cjs → CasinoTournamentsController-CZ-9rz_b.cjs} +15 -2
- package/components/{CasinoTournamentsFilterController-D9Tidq8w.js → CasinoTournamentsFilterController-D87dskAM.js} +1 -1
- package/components/{CasinoTournamentsFilterController-D0T7rVhL.cjs → CasinoTournamentsFilterController-NmQFysPE.cjs} +1 -1
- package/components/{CasinoTournamentsFilterController-Dxau0WQ7.js → CasinoTournamentsFilterController-dCThVL3G.js} +1 -1
- package/components/{CasinoTournamentsListController-Bj5LNl9h.js → CasinoTournamentsListController-C0Tn6XLC.js} +1159 -1213
- package/components/{CasinoTournamentsListController-e7qQuaaY.js → CasinoTournamentsListController-CVKwStEk.js} +1159 -1213
- package/components/CasinoTournamentsListController-qLXWt65S.cjs +13 -0
- package/components/{CasinoTournamentsThumbnail-C51R2INs.js → CasinoTournamentsThumbnail-B6vVUkXU.js} +1 -1
- package/components/{CasinoTournamentsThumbnail-CXUAscGP.cjs → CasinoTournamentsThumbnail-CutNBEY9.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-Dq4yRdNG.js → CasinoTournamentsThumbnail-Dh5yOBII.js} +1 -1
- package/components/{CasinoTournamentsThumbnailController-BHFgnbwb.cjs → CasinoTournamentsThumbnailController-B4LzyUAt.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-BQ6_5mnS.js → CasinoTournamentsThumbnailController-Csobnf4h.js} +15 -10
- package/components/{CasinoTournamentsThumbnailController-cb4JbcxA.js → CasinoTournamentsThumbnailController-ImrFDGq7.js} +15 -10
- package/components/{CasinoTournamentsThumbnailDuration-COqsPwJj.js → CasinoTournamentsThumbnailDuration-BIHBBD4m.js} +9 -5
- package/components/{CasinoTournamentsThumbnailDuration-DSbhjj1f.js → CasinoTournamentsThumbnailDuration-BOSDqPIP.js} +9 -5
- package/components/{CasinoTournamentsThumbnailDuration-CQkAFLBa.cjs → CasinoTournamentsThumbnailDuration-DLOov4TV.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider--YAPEoXl.js → CasinoTournamentsThumbnailGamesSlider-BKEUZ6M0.js} +3 -2
- package/components/{CasinoTournamentsThumbnailGamesSlider-LY1F0kxk.cjs → CasinoTournamentsThumbnailGamesSlider-Blv_3Sia.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-B1lnmQeN.js → CasinoTournamentsThumbnailGamesSlider-C7uGGzGz.js} +3 -2
- package/components/{CasinoTournamentsThumbnailPrizes-BbCxQeLs.js → CasinoTournamentsThumbnailPrizes-BmPaa3r7.js} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-CY5bdmwv.cjs → CasinoTournamentsThumbnailPrizes-CdcFiTcf.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-CcMFztse.js → CasinoTournamentsThumbnailPrizes-Cgjahh7G.js} +1 -1
- package/es2015/casino-tournaments-controller.cjs +1 -1
- package/es2015/casino-tournaments-controller.js +1 -1
- package/esnext/casino-tournaments-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsListController-CWi9-FPc.cjs +0 -13
|
@@ -48,7 +48,8 @@ function An(e, t, r) {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
function Hn(e) {
|
|
51
|
-
if (!e)
|
|
51
|
+
if (!e)
|
|
52
|
+
return document;
|
|
52
53
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
53
54
|
return t && /** @type {ShadowRoot} */
|
|
54
55
|
t.host ? (
|
|
@@ -76,7 +77,7 @@ function ds(e, t) {
|
|
|
76
77
|
function z(e) {
|
|
77
78
|
return document.createElement(e);
|
|
78
79
|
}
|
|
79
|
-
function
|
|
80
|
+
function ms(e) {
|
|
80
81
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
81
82
|
}
|
|
82
83
|
function Ie(e) {
|
|
@@ -105,20 +106,20 @@ function it(e, t) {
|
|
|
105
106
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
106
107
|
t);
|
|
107
108
|
}
|
|
108
|
-
function
|
|
109
|
+
function ps(e, t, r, n) {
|
|
109
110
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
110
111
|
}
|
|
111
|
-
let
|
|
112
|
+
let mt;
|
|
112
113
|
function On() {
|
|
113
|
-
if (
|
|
114
|
-
|
|
114
|
+
if (mt === void 0) {
|
|
115
|
+
mt = !1;
|
|
115
116
|
try {
|
|
116
117
|
typeof window < "u" && window.parent && window.parent.document;
|
|
117
118
|
} catch {
|
|
118
|
-
|
|
119
|
+
mt = !0;
|
|
119
120
|
}
|
|
120
121
|
}
|
|
121
|
-
return
|
|
122
|
+
return mt;
|
|
122
123
|
}
|
|
123
124
|
function bs(e, t) {
|
|
124
125
|
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
|
@@ -159,7 +160,8 @@ function nt(e) {
|
|
|
159
160
|
ot = e;
|
|
160
161
|
}
|
|
161
162
|
function Ln() {
|
|
162
|
-
if (!ot)
|
|
163
|
+
if (!ot)
|
|
164
|
+
throw new Error("Function called outside component initialization");
|
|
163
165
|
return ot;
|
|
164
166
|
}
|
|
165
167
|
function Nn(e) {
|
|
@@ -167,7 +169,7 @@ function Nn(e) {
|
|
|
167
169
|
}
|
|
168
170
|
const Ge = [], Xt = [];
|
|
169
171
|
let je = [];
|
|
170
|
-
const
|
|
172
|
+
const mr = [], Mn = /* @__PURE__ */ Promise.resolve();
|
|
171
173
|
let zt = !1;
|
|
172
174
|
function Rn() {
|
|
173
175
|
zt || (zt = !0, Mn.then(F));
|
|
@@ -190,15 +192,16 @@ function F() {
|
|
|
190
192
|
} catch (t) {
|
|
191
193
|
throw Ge.length = 0, Fe = 0, t;
|
|
192
194
|
}
|
|
193
|
-
for (nt(null), Ge.length = 0, Fe = 0; Xt.length; )
|
|
195
|
+
for (nt(null), Ge.length = 0, Fe = 0; Xt.length; )
|
|
196
|
+
Xt.pop()();
|
|
194
197
|
for (let t = 0; t < je.length; t += 1) {
|
|
195
198
|
const r = je[t];
|
|
196
199
|
Nt.has(r) || (Nt.add(r), r());
|
|
197
200
|
}
|
|
198
201
|
je.length = 0;
|
|
199
202
|
} while (Ge.length);
|
|
200
|
-
for (;
|
|
201
|
-
|
|
203
|
+
for (; mr.length; )
|
|
204
|
+
mr.pop()();
|
|
202
205
|
zt = !1, Nt.clear(), nt(e);
|
|
203
206
|
}
|
|
204
207
|
function Dn(e) {
|
|
@@ -259,9 +262,9 @@ function Vn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
259
262
|
};
|
|
260
263
|
a && a(h.root);
|
|
261
264
|
let c = !1;
|
|
262
|
-
if (h.ctx = r ? r(e, t.props || {}, (d,
|
|
263
|
-
const O = _.length ? _[0] :
|
|
264
|
-
return h.ctx && i(h.ctx[d], h.ctx[d] = O) && (!h.skip_bound && h.bound[d] && h.bound[d](O), c && kn(e, d)),
|
|
265
|
+
if (h.ctx = r ? r(e, t.props || {}, (d, p, ..._) => {
|
|
266
|
+
const O = _.length ? _[0] : p;
|
|
267
|
+
return h.ctx && i(h.ctx[d], h.ctx[d] = O) && (!h.skip_bound && h.bound[d] && h.bound[d](O), c && kn(e, d)), p;
|
|
265
268
|
}) : [], h.update(), c = !0, ut(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
|
266
269
|
if (t.hydrate) {
|
|
267
270
|
const d = Cn(t.target);
|
|
@@ -494,11 +497,26 @@ class zn {
|
|
|
494
497
|
}
|
|
495
498
|
const Wn = "4";
|
|
496
499
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wn);
|
|
500
|
+
/*! *****************************************************************************
|
|
501
|
+
Copyright (c) Microsoft Corporation.
|
|
502
|
+
|
|
503
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
504
|
+
purpose with or without fee is hereby granted.
|
|
505
|
+
|
|
506
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
507
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
508
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
509
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
510
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
511
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
512
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
513
|
+
***************************************************************************** */
|
|
497
514
|
var qt = function(e, t) {
|
|
498
515
|
return qt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
499
516
|
r.__proto__ = n;
|
|
500
517
|
} || function(r, n) {
|
|
501
|
-
for (var i in n)
|
|
518
|
+
for (var i in n)
|
|
519
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
502
520
|
}, qt(e, t);
|
|
503
521
|
};
|
|
504
522
|
function xe(e, t) {
|
|
@@ -514,14 +532,16 @@ var P = function() {
|
|
|
514
532
|
return P = Object.assign || function(t) {
|
|
515
533
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
516
534
|
r = arguments[n];
|
|
517
|
-
for (var o in r)
|
|
535
|
+
for (var o in r)
|
|
536
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
518
537
|
}
|
|
519
538
|
return t;
|
|
520
539
|
}, P.apply(this, arguments);
|
|
521
540
|
};
|
|
522
541
|
function qn(e, t) {
|
|
523
542
|
var r = {};
|
|
524
|
-
for (var n in e)
|
|
543
|
+
for (var n in e)
|
|
544
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
525
545
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
526
546
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
527
547
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
@@ -529,35 +549,41 @@ function qn(e, t) {
|
|
|
529
549
|
}
|
|
530
550
|
function Zt(e) {
|
|
531
551
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
532
|
-
if (r)
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
552
|
+
if (r)
|
|
553
|
+
return r.call(e);
|
|
554
|
+
if (e && typeof e.length == "number")
|
|
555
|
+
return {
|
|
556
|
+
next: function() {
|
|
557
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
558
|
+
}
|
|
559
|
+
};
|
|
538
560
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
539
561
|
}
|
|
540
562
|
function Jt(e, t) {
|
|
541
563
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
542
|
-
if (!r)
|
|
564
|
+
if (!r)
|
|
565
|
+
return e;
|
|
543
566
|
var n = r.call(e), i, o = [], a;
|
|
544
567
|
try {
|
|
545
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
568
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
569
|
+
o.push(i.value);
|
|
546
570
|
} catch (s) {
|
|
547
571
|
a = { error: s };
|
|
548
572
|
} finally {
|
|
549
573
|
try {
|
|
550
574
|
i && !i.done && (r = n.return) && r.call(n);
|
|
551
575
|
} finally {
|
|
552
|
-
if (a)
|
|
576
|
+
if (a)
|
|
577
|
+
throw a.error;
|
|
553
578
|
}
|
|
554
579
|
}
|
|
555
580
|
return o;
|
|
556
581
|
}
|
|
557
582
|
function $e(e, t, r) {
|
|
558
|
-
if (r || arguments.length === 2)
|
|
559
|
-
(
|
|
560
|
-
|
|
583
|
+
if (r || arguments.length === 2)
|
|
584
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
585
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
586
|
+
return e.concat(o || t);
|
|
561
587
|
}
|
|
562
588
|
function _e(e) {
|
|
563
589
|
return typeof e == "function";
|
|
@@ -605,7 +631,8 @@ var Tt = function() {
|
|
|
605
631
|
try {
|
|
606
632
|
f && !f.done && (r = s.return) && r.call(s);
|
|
607
633
|
} finally {
|
|
608
|
-
if (t)
|
|
634
|
+
if (t)
|
|
635
|
+
throw t.error;
|
|
609
636
|
}
|
|
610
637
|
}
|
|
611
638
|
else
|
|
@@ -621,10 +648,10 @@ var Tt = function() {
|
|
|
621
648
|
if (d) {
|
|
622
649
|
this._finalizers = null;
|
|
623
650
|
try {
|
|
624
|
-
for (var
|
|
651
|
+
for (var p = Zt(d), _ = p.next(); !_.done; _ = p.next()) {
|
|
625
652
|
var O = _.value;
|
|
626
653
|
try {
|
|
627
|
-
|
|
654
|
+
pr(O);
|
|
628
655
|
} catch (B) {
|
|
629
656
|
o = o ?? [], B instanceof Mt ? o = $e($e([], Jt(o)), Jt(B.errors)) : o.push(B);
|
|
630
657
|
}
|
|
@@ -633,9 +660,10 @@ var Tt = function() {
|
|
|
633
660
|
n = { error: B };
|
|
634
661
|
} finally {
|
|
635
662
|
try {
|
|
636
|
-
_ && !_.done && (i =
|
|
663
|
+
_ && !_.done && (i = p.return) && i.call(p);
|
|
637
664
|
} finally {
|
|
638
|
-
if (n)
|
|
665
|
+
if (n)
|
|
666
|
+
throw n.error;
|
|
639
667
|
}
|
|
640
668
|
}
|
|
641
669
|
}
|
|
@@ -646,7 +674,7 @@ var Tt = function() {
|
|
|
646
674
|
var r;
|
|
647
675
|
if (t && t !== this)
|
|
648
676
|
if (this.closed)
|
|
649
|
-
|
|
677
|
+
pr(t);
|
|
650
678
|
else {
|
|
651
679
|
if (t instanceof e) {
|
|
652
680
|
if (t.closed || t._hasParent(this))
|
|
@@ -675,7 +703,7 @@ var Tt = function() {
|
|
|
675
703
|
function zr(e) {
|
|
676
704
|
return e instanceof Tt || e && "closed" in e && _e(e.remove) && _e(e.add) && _e(e.unsubscribe);
|
|
677
705
|
}
|
|
678
|
-
function
|
|
706
|
+
function pr(e) {
|
|
679
707
|
_e(e) ? e() : e.unsubscribe();
|
|
680
708
|
}
|
|
681
709
|
var Wr = {
|
|
@@ -750,7 +778,7 @@ var Yn = function() {
|
|
|
750
778
|
try {
|
|
751
779
|
r.next(t);
|
|
752
780
|
} catch (n) {
|
|
753
|
-
|
|
781
|
+
pt(n);
|
|
754
782
|
}
|
|
755
783
|
}, e.prototype.error = function(t) {
|
|
756
784
|
var r = this.partialObserver;
|
|
@@ -758,17 +786,17 @@ var Yn = function() {
|
|
|
758
786
|
try {
|
|
759
787
|
r.error(t);
|
|
760
788
|
} catch (n) {
|
|
761
|
-
|
|
789
|
+
pt(n);
|
|
762
790
|
}
|
|
763
791
|
else
|
|
764
|
-
|
|
792
|
+
pt(t);
|
|
765
793
|
}, e.prototype.complete = function() {
|
|
766
794
|
var t = this.partialObserver;
|
|
767
795
|
if (t.complete)
|
|
768
796
|
try {
|
|
769
797
|
t.complete();
|
|
770
798
|
} catch (r) {
|
|
771
|
-
|
|
799
|
+
pt(r);
|
|
772
800
|
}
|
|
773
801
|
}, e;
|
|
774
802
|
}(), Yt = function(e) {
|
|
@@ -795,7 +823,7 @@ var Yn = function() {
|
|
|
795
823
|
}
|
|
796
824
|
return t;
|
|
797
825
|
}(qr);
|
|
798
|
-
function
|
|
826
|
+
function pt(e) {
|
|
799
827
|
Jn(e);
|
|
800
828
|
}
|
|
801
829
|
function Kn(e) {
|
|
@@ -922,7 +950,8 @@ var si = Vr(function(e) {
|
|
|
922
950
|
try {
|
|
923
951
|
s && !s.done && (o = a.return) && o.call(a);
|
|
924
952
|
} finally {
|
|
925
|
-
if (i)
|
|
953
|
+
if (i)
|
|
954
|
+
throw i.error;
|
|
926
955
|
}
|
|
927
956
|
}
|
|
928
957
|
}
|
|
@@ -1067,7 +1096,7 @@ function We(e, t, r) {
|
|
|
1067
1096
|
let f = !1;
|
|
1068
1097
|
const h = [];
|
|
1069
1098
|
let c = 0, d = fe;
|
|
1070
|
-
const
|
|
1099
|
+
const p = () => {
|
|
1071
1100
|
if (c)
|
|
1072
1101
|
return;
|
|
1073
1102
|
d();
|
|
@@ -1077,14 +1106,14 @@ function We(e, t, r) {
|
|
|
1077
1106
|
(O, B) => $r(
|
|
1078
1107
|
O,
|
|
1079
1108
|
(ee) => {
|
|
1080
|
-
h[B] = ee, c &= ~(1 << B), f &&
|
|
1109
|
+
h[B] = ee, c &= ~(1 << B), f && p();
|
|
1081
1110
|
},
|
|
1082
1111
|
() => {
|
|
1083
1112
|
c |= 1 << B;
|
|
1084
1113
|
}
|
|
1085
1114
|
)
|
|
1086
1115
|
);
|
|
1087
|
-
return f = !0,
|
|
1116
|
+
return f = !0, p(), function() {
|
|
1088
1117
|
ut(_), d(), f = !1;
|
|
1089
1118
|
};
|
|
1090
1119
|
});
|
|
@@ -1094,16 +1123,16 @@ function fi(e) {
|
|
|
1094
1123
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1095
1124
|
}
|
|
1096
1125
|
var ci = function(t) {
|
|
1097
|
-
return di(t) && !
|
|
1126
|
+
return di(t) && !mi(t);
|
|
1098
1127
|
};
|
|
1099
1128
|
function di(e) {
|
|
1100
1129
|
return !!e && typeof e == "object";
|
|
1101
1130
|
}
|
|
1102
|
-
function
|
|
1131
|
+
function mi(e) {
|
|
1103
1132
|
var t = Object.prototype.toString.call(e);
|
|
1104
1133
|
return t === "[object RegExp]" || t === "[object Date]" || gi(e);
|
|
1105
1134
|
}
|
|
1106
|
-
var
|
|
1135
|
+
var pi = typeof Symbol == "function" && Symbol.for, bi = pi ? Symbol.for("react.element") : 60103;
|
|
1107
1136
|
function gi(e) {
|
|
1108
1137
|
return e.$$typeof === bi;
|
|
1109
1138
|
}
|
|
@@ -1355,8 +1384,8 @@ var Di = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
|
1355
1384
|
function Fi(e) {
|
|
1356
1385
|
if (e.length === 0)
|
|
1357
1386
|
throw new Error("Number skeleton cannot be empty");
|
|
1358
|
-
for (var t = e.split(Di).filter(function(
|
|
1359
|
-
return
|
|
1387
|
+
for (var t = e.split(Di).filter(function(p) {
|
|
1388
|
+
return p.length > 0;
|
|
1360
1389
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1361
1390
|
var o = i[n], a = o.split("/");
|
|
1362
1391
|
if (a.length === 0)
|
|
@@ -1524,11 +1553,11 @@ function $i(e) {
|
|
|
1524
1553
|
case "integer-width":
|
|
1525
1554
|
if (i.options.length > 1)
|
|
1526
1555
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1527
|
-
i.options[0].replace(Gi, function(f, h, c, d,
|
|
1556
|
+
i.options[0].replace(Gi, function(f, h, c, d, p, _) {
|
|
1528
1557
|
if (h)
|
|
1529
1558
|
t.minimumIntegerDigits = c.length;
|
|
1530
1559
|
else {
|
|
1531
|
-
if (d &&
|
|
1560
|
+
if (d && p)
|
|
1532
1561
|
throw new Error("We currently do not support maximum integer digits");
|
|
1533
1562
|
if (_)
|
|
1534
1563
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1544,8 +1573,8 @@ function $i(e) {
|
|
|
1544
1573
|
if (Tr.test(i.stem)) {
|
|
1545
1574
|
if (i.options.length > 1)
|
|
1546
1575
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1547
|
-
i.stem.replace(Tr, function(f, h, c, d,
|
|
1548
|
-
return c === "*" ? t.minimumFractionDigits = h.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length :
|
|
1576
|
+
i.stem.replace(Tr, function(f, h, c, d, p, _) {
|
|
1577
|
+
return c === "*" ? t.minimumFractionDigits = h.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && _ ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + _.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
1549
1578
|
});
|
|
1550
1579
|
var o = i.options[0];
|
|
1551
1580
|
o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t), Sr(o)));
|
|
@@ -2988,7 +3017,8 @@ function ki(e, t) {
|
|
|
2988
3017
|
r += f;
|
|
2989
3018
|
for (; a-- > 0; )
|
|
2990
3019
|
r = h + r;
|
|
2991
|
-
} else
|
|
3020
|
+
} else
|
|
3021
|
+
i === "J" ? r += "H" : r += i;
|
|
2992
3022
|
}
|
|
2993
3023
|
return r;
|
|
2994
3024
|
}
|
|
@@ -3112,7 +3142,7 @@ if (er) {
|
|
|
3112
3142
|
rr = function(t, r) {
|
|
3113
3143
|
for (var n = []; ; ) {
|
|
3114
3144
|
var i = cn(t, r);
|
|
3115
|
-
if (i === void 0 ||
|
|
3145
|
+
if (i === void 0 || mn(i) || ao(i))
|
|
3116
3146
|
break;
|
|
3117
3147
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3118
3148
|
}
|
|
@@ -3316,11 +3346,11 @@ var io = (
|
|
|
3316
3346
|
var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3317
3347
|
if (d.err)
|
|
3318
3348
|
return d;
|
|
3319
|
-
var
|
|
3320
|
-
if (
|
|
3349
|
+
var p = no(d.val);
|
|
3350
|
+
if (p.length === 0)
|
|
3321
3351
|
return this.error(A.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
|
|
3322
3352
|
var _ = H(c, this.clonePosition());
|
|
3323
|
-
h = { style:
|
|
3353
|
+
h = { style: p, styleLocation: _ };
|
|
3324
3354
|
}
|
|
3325
3355
|
var O = this.tryParseArgumentClose(i);
|
|
3326
3356
|
if (O.err)
|
|
@@ -3339,14 +3369,14 @@ var io = (
|
|
|
3339
3369
|
return this.error(A.EXPECT_DATE_TIME_SKELETON, B);
|
|
3340
3370
|
var de = ee;
|
|
3341
3371
|
this.locale && (de = ki(ee, this.locale));
|
|
3342
|
-
var
|
|
3372
|
+
var p = {
|
|
3343
3373
|
type: Ve.dateTime,
|
|
3344
3374
|
pattern: de,
|
|
3345
3375
|
location: h.styleLocation,
|
|
3346
3376
|
parsedOptions: this.shouldParseSkeletons ? Ri(de) : {}
|
|
3347
3377
|
}, ie = s === "date" ? D.date : D.time;
|
|
3348
3378
|
return {
|
|
3349
|
-
val: { type: ie, value: n, location: B, style:
|
|
3379
|
+
val: { type: ie, value: n, location: B, style: p },
|
|
3350
3380
|
err: null
|
|
3351
3381
|
};
|
|
3352
3382
|
}
|
|
@@ -3466,9 +3496,9 @@ var io = (
|
|
|
3466
3496
|
if (h.length === 0) {
|
|
3467
3497
|
var d = this.clonePosition();
|
|
3468
3498
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3469
|
-
var
|
|
3470
|
-
if (
|
|
3471
|
-
return
|
|
3499
|
+
var p = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR, A.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3500
|
+
if (p.err)
|
|
3501
|
+
return p;
|
|
3472
3502
|
c = H(d, this.clonePosition()), h = this.message.slice(d.offset, this.offset());
|
|
3473
3503
|
} else
|
|
3474
3504
|
break;
|
|
@@ -3561,7 +3591,7 @@ var io = (
|
|
|
3561
3591
|
break;
|
|
3562
3592
|
}
|
|
3563
3593
|
}, e.prototype.bumpSpace = function() {
|
|
3564
|
-
for (; !this.isEOF() &&
|
|
3594
|
+
for (; !this.isEOF() && mn(this.char()); )
|
|
3565
3595
|
this.bump();
|
|
3566
3596
|
}, e.prototype.peek = function() {
|
|
3567
3597
|
if (this.isEOF())
|
|
@@ -3580,7 +3610,7 @@ function oo(e) {
|
|
|
3580
3610
|
function so(e) {
|
|
3581
3611
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3582
3612
|
}
|
|
3583
|
-
function
|
|
3613
|
+
function mn(e) {
|
|
3584
3614
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3585
3615
|
}
|
|
3586
3616
|
function ao(e) {
|
|
@@ -3591,7 +3621,8 @@ function ir(e) {
|
|
|
3591
3621
|
if (delete t.location, nn(t) || on(t))
|
|
3592
3622
|
for (var r in t.options)
|
|
3593
3623
|
delete t.options[r].location, ir(t.options[r].value);
|
|
3594
|
-
else
|
|
3624
|
+
else
|
|
3625
|
+
en(t) && an(t.style) || (tn(t) || rn(t)) && Kt(t.style) ? delete t.style.location : sn(t) && ir(t.children);
|
|
3595
3626
|
});
|
|
3596
3627
|
}
|
|
3597
3628
|
function uo(e, t) {
|
|
@@ -3686,11 +3717,11 @@ function yt(e, t, r, n, i, o, a) {
|
|
|
3686
3717
|
var d = c.value;
|
|
3687
3718
|
if (!(i && d in i))
|
|
3688
3719
|
throw new ho(d, a);
|
|
3689
|
-
var
|
|
3720
|
+
var p = i[d];
|
|
3690
3721
|
if (Li(c)) {
|
|
3691
|
-
(!
|
|
3692
|
-
type: typeof
|
|
3693
|
-
value:
|
|
3722
|
+
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), s.push({
|
|
3723
|
+
type: typeof p == "string" ? K.literal : K.object,
|
|
3724
|
+
value: p
|
|
3694
3725
|
});
|
|
3695
3726
|
continue;
|
|
3696
3727
|
}
|
|
@@ -3698,7 +3729,7 @@ function yt(e, t, r, n, i, o, a) {
|
|
|
3698
3729
|
var _ = typeof c.style == "string" ? n.date[c.style] : Kt(c.style) ? c.style.parsedOptions : void 0;
|
|
3699
3730
|
s.push({
|
|
3700
3731
|
type: K.literal,
|
|
3701
|
-
value: r.getDateTimeFormat(t, _).format(
|
|
3732
|
+
value: r.getDateTimeFormat(t, _).format(p)
|
|
3702
3733
|
});
|
|
3703
3734
|
continue;
|
|
3704
3735
|
}
|
|
@@ -3706,15 +3737,15 @@ function yt(e, t, r, n, i, o, a) {
|
|
|
3706
3737
|
var _ = typeof c.style == "string" ? n.time[c.style] : Kt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3707
3738
|
s.push({
|
|
3708
3739
|
type: K.literal,
|
|
3709
|
-
value: r.getDateTimeFormat(t, _).format(
|
|
3740
|
+
value: r.getDateTimeFormat(t, _).format(p)
|
|
3710
3741
|
});
|
|
3711
3742
|
continue;
|
|
3712
3743
|
}
|
|
3713
3744
|
if (en(c)) {
|
|
3714
3745
|
var _ = typeof c.style == "string" ? n.number[c.style] : an(c.style) ? c.style.parsedOptions : void 0;
|
|
3715
|
-
_ && _.scale && (
|
|
3746
|
+
_ && _.scale && (p = p * (_.scale || 1)), s.push({
|
|
3716
3747
|
type: K.literal,
|
|
3717
|
-
value: r.getNumberFormat(t, _).format(
|
|
3748
|
+
value: r.getNumberFormat(t, _).format(p)
|
|
3718
3749
|
});
|
|
3719
3750
|
continue;
|
|
3720
3751
|
}
|
|
@@ -3733,38 +3764,38 @@ function yt(e, t, r, n, i, o, a) {
|
|
|
3733
3764
|
}));
|
|
3734
3765
|
}
|
|
3735
3766
|
if (nn(c)) {
|
|
3736
|
-
var M = c.options[
|
|
3767
|
+
var M = c.options[p] || c.options.other;
|
|
3737
3768
|
if (!M)
|
|
3738
|
-
throw new Cr(c.value,
|
|
3769
|
+
throw new Cr(c.value, p, Object.keys(c.options), a);
|
|
3739
3770
|
s.push.apply(s, yt(M.value, t, r, n, i));
|
|
3740
3771
|
continue;
|
|
3741
3772
|
}
|
|
3742
3773
|
if (on(c)) {
|
|
3743
|
-
var M = c.options["=".concat(
|
|
3774
|
+
var M = c.options["=".concat(p)];
|
|
3744
3775
|
if (!M) {
|
|
3745
3776
|
if (!Intl.PluralRules)
|
|
3746
3777
|
throw new At(`Intl.PluralRules is not available in this environment.
|
|
3747
3778
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3748
3779
|
`, Xe.MISSING_INTL_API, a);
|
|
3749
|
-
var $ = r.getPluralRules(t, { type: c.pluralType }).select(
|
|
3780
|
+
var $ = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
|
|
3750
3781
|
M = c.options[$] || c.options.other;
|
|
3751
3782
|
}
|
|
3752
3783
|
if (!M)
|
|
3753
|
-
throw new Cr(c.value,
|
|
3754
|
-
s.push.apply(s, yt(M.value, t, r, n, i,
|
|
3784
|
+
throw new Cr(c.value, p, Object.keys(c.options), a);
|
|
3785
|
+
s.push.apply(s, yt(M.value, t, r, n, i, p - (c.offset || 0)));
|
|
3755
3786
|
continue;
|
|
3756
3787
|
}
|
|
3757
3788
|
}
|
|
3758
3789
|
return fo(s);
|
|
3759
3790
|
}
|
|
3760
|
-
function
|
|
3791
|
+
function mo(e, t) {
|
|
3761
3792
|
return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3762
3793
|
return r[n] = P(P({}, e[n]), t[n] || {}), r;
|
|
3763
3794
|
}, {})) : e;
|
|
3764
3795
|
}
|
|
3765
|
-
function
|
|
3796
|
+
function po(e, t) {
|
|
3766
3797
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3767
|
-
return r[n] =
|
|
3798
|
+
return r[n] = mo(e[n], t[n]), r;
|
|
3768
3799
|
}, P({}, e)) : e;
|
|
3769
3800
|
}
|
|
3770
3801
|
function Gt(e) {
|
|
@@ -3827,8 +3858,8 @@ var go = (
|
|
|
3827
3858
|
var h = o.formatToParts(f);
|
|
3828
3859
|
if (h.length === 1)
|
|
3829
3860
|
return h[0].value;
|
|
3830
|
-
var c = h.reduce(function(d,
|
|
3831
|
-
return !d.length ||
|
|
3861
|
+
var c = h.reduce(function(d, p) {
|
|
3862
|
+
return !d.length || p.type !== K.literal || typeof d[d.length - 1] != "string" ? d.push(p.value) : d[d.length - 1] += p.value, d;
|
|
3832
3863
|
}, []);
|
|
3833
3864
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3834
3865
|
}, this.formatToParts = function(f) {
|
|
@@ -3851,7 +3882,7 @@ var go = (
|
|
|
3851
3882
|
this.ast = t;
|
|
3852
3883
|
if (!Array.isArray(this.ast))
|
|
3853
3884
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3854
|
-
this.formats =
|
|
3885
|
+
this.formats = po(e.formats, n), this.formatters = i && i.formatters || bo(this.formatterCache);
|
|
3855
3886
|
}
|
|
3856
3887
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3857
3888
|
get: function() {
|
|
@@ -3946,7 +3977,7 @@ function vo(e, t) {
|
|
|
3946
3977
|
n = void 0;
|
|
3947
3978
|
return n;
|
|
3948
3979
|
}
|
|
3949
|
-
const Se = {}, yo = (e, t, r) => r && (t in Se || (Se[t] = {}), e in Se[t] || (Se[t][e] = r), r),
|
|
3980
|
+
const Se = {}, yo = (e, t, r) => r && (t in Se || (Se[t] = {}), e in Se[t] || (Se[t][e] = r), r), pn = (e, t) => {
|
|
3950
3981
|
if (t == null)
|
|
3951
3982
|
return;
|
|
3952
3983
|
if (t in Se && e in Se[t])
|
|
@@ -4201,7 +4232,7 @@ const at = (e, t) => {
|
|
|
4201
4232
|
throw new Error(
|
|
4202
4233
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4203
4234
|
);
|
|
4204
|
-
let c =
|
|
4235
|
+
let c = pn(e, f);
|
|
4205
4236
|
if (!c)
|
|
4206
4237
|
c = (o = (i = (n = (r = ze()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
|
|
4207
4238
|
else if (typeof c != "string")
|
|
@@ -4213,14 +4244,14 @@ const at = (e, t) => {
|
|
|
4213
4244
|
let d = c;
|
|
4214
4245
|
try {
|
|
4215
4246
|
d = Vo(c, f).format(s);
|
|
4216
|
-
} catch (
|
|
4217
|
-
|
|
4247
|
+
} catch (p) {
|
|
4248
|
+
p instanceof Error && console.warn(
|
|
4218
4249
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4219
|
-
|
|
4250
|
+
p.message
|
|
4220
4251
|
);
|
|
4221
4252
|
}
|
|
4222
4253
|
return d;
|
|
4223
|
-
}, zo = (e, t) => ko(t).format(e), Wo = (e, t) => $o(t).format(e), qo = (e, t) => jo(t).format(e), Zo = (e, t = Le()) =>
|
|
4254
|
+
}, zo = (e, t) => ko(t).format(e), Wo = (e, t) => $o(t).format(e), qo = (e, t) => jo(t).format(e), Zo = (e, t = Le()) => pn(e, t), Jo = We([Ae, qe], () => Xo);
|
|
4224
4255
|
We([Ae], () => zo);
|
|
4225
4256
|
We([Ae], () => Wo);
|
|
4226
4257
|
We([Ae], () => qo);
|
|
@@ -4314,7 +4345,7 @@ var ar = { exports: {} };
|
|
|
4314
4345
|
*/
|
|
4315
4346
|
(function(e, t) {
|
|
4316
4347
|
(function(r) {
|
|
4317
|
-
var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, a = r.XDomainRequest, s = r.ActiveXObject, f = r.EventSource, h = r.document, c = r.Promise, d = r.fetch,
|
|
4348
|
+
var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, a = r.XDomainRequest, s = r.ActiveXObject, f = r.EventSource, h = r.document, c = r.Promise, d = r.fetch, p = r.Response, _ = r.TextDecoder, O = r.TextEncoder, B = r.AbortController;
|
|
4318
4349
|
if (typeof window < "u" && typeof h < "u" && !("readyState" in h) && h.body == null && (h.readyState = "loading", window.addEventListener("load", function(u) {
|
|
4319
4350
|
h.readyState = "complete";
|
|
4320
4351
|
}, !1)), o == null && s != null && (o = function() {
|
|
@@ -4329,12 +4360,12 @@ var ar = { exports: {} };
|
|
|
4329
4360
|
var ee = d;
|
|
4330
4361
|
d = function(u, b) {
|
|
4331
4362
|
var g = b.signal;
|
|
4332
|
-
return ee(u, { headers: b.headers, credentials: b.credentials, cache: b.cache }).then(function(
|
|
4333
|
-
var y =
|
|
4363
|
+
return ee(u, { headers: b.headers, credentials: b.credentials, cache: b.cache }).then(function(m) {
|
|
4364
|
+
var y = m.body.getReader();
|
|
4334
4365
|
return g._reader = y, g._aborted && g._reader.cancel(), {
|
|
4335
|
-
status:
|
|
4336
|
-
statusText:
|
|
4337
|
-
headers:
|
|
4366
|
+
status: m.status,
|
|
4367
|
+
statusText: m.statusText,
|
|
4368
|
+
headers: m.headers,
|
|
4338
4369
|
body: {
|
|
4339
4370
|
getReader: function() {
|
|
4340
4371
|
return y;
|
|
@@ -4373,9 +4404,9 @@ var ar = { exports: {} };
|
|
|
4373
4404
|
return 3;
|
|
4374
4405
|
throw new Error();
|
|
4375
4406
|
}
|
|
4376
|
-
for (var
|
|
4407
|
+
for (var m = 65533, y = "", v = this.bitsNeeded, x = this.codePoint, R = 0; R < u.length; R += 1) {
|
|
4377
4408
|
var T = u[R];
|
|
4378
|
-
v !== 0 && (T < 128 || T > 191 || !b(x << 6 | T & 63, v - 6, g(v, x))) && (v = 0, x =
|
|
4409
|
+
v !== 0 && (T < 128 || T > 191 || !b(x << 6 | T & 63, v - 6, g(v, x))) && (v = 0, x = m, y += String.fromCharCode(x)), v === 0 ? (T >= 0 && T <= 127 ? (v = 0, x = T) : T >= 192 && T <= 223 ? (v = 6 * 1, x = T & 31) : T >= 224 && T <= 239 ? (v = 6 * 2, x = T & 15) : T >= 240 && T <= 247 ? (v = 6 * 3, x = T & 7) : (v = 0, x = m), v !== 0 && !b(x, v, g(v, x)) && (v = 0, x = m)) : (v -= 6, x = x << 6 | T & 63), v === 0 && (x <= 65535 ? y += String.fromCharCode(x) : (y += String.fromCharCode(55296 + (x - 65535 - 1 >> 10)), y += String.fromCharCode(56320 + (x - 65535 - 1 & 1023))));
|
|
4379
4410
|
}
|
|
4380
4411
|
return this.bitsNeeded = v, this.codePoint = x, y;
|
|
4381
4412
|
};
|
|
@@ -4395,18 +4426,18 @@ var ar = { exports: {} };
|
|
|
4395
4426
|
}
|
|
4396
4427
|
$.prototype.open = function(u, b) {
|
|
4397
4428
|
this._abort(!0);
|
|
4398
|
-
var g = this,
|
|
4429
|
+
var g = this, m = this._xhr, y = 1, v = 0;
|
|
4399
4430
|
this._abort = function(E) {
|
|
4400
|
-
g._sendTimeout !== 0 && (i(g._sendTimeout), g._sendTimeout = 0), (y === 1 || y === 2 || y === 3) && (y = 4,
|
|
4431
|
+
g._sendTimeout !== 0 && (i(g._sendTimeout), g._sendTimeout = 0), (y === 1 || y === 2 || y === 3) && (y = 4, m.onload = M, m.onerror = M, m.onabort = M, m.onprogress = M, m.onreadystatechange = M, m.abort(), v !== 0 && (i(v), v = 0), E || (g.readyState = 4, g.onabort(null), g.onreadystatechange())), y = 0;
|
|
4401
4432
|
};
|
|
4402
4433
|
var x = function() {
|
|
4403
4434
|
if (y === 1) {
|
|
4404
4435
|
var E = 0, l = "", S = void 0;
|
|
4405
|
-
if ("contentType" in
|
|
4406
|
-
E = 200, l = "OK", S =
|
|
4436
|
+
if ("contentType" in m)
|
|
4437
|
+
E = 200, l = "OK", S = m.contentType;
|
|
4407
4438
|
else
|
|
4408
4439
|
try {
|
|
4409
|
-
E =
|
|
4440
|
+
E = m.status, l = m.statusText, S = m.getResponseHeader("Content-Type");
|
|
4410
4441
|
} catch {
|
|
4411
4442
|
E = 0, l = "", S = void 0;
|
|
4412
4443
|
}
|
|
@@ -4417,7 +4448,7 @@ var ar = { exports: {} };
|
|
|
4417
4448
|
y = 3;
|
|
4418
4449
|
var E = "";
|
|
4419
4450
|
try {
|
|
4420
|
-
E =
|
|
4451
|
+
E = m.responseText;
|
|
4421
4452
|
} catch {
|
|
4422
4453
|
}
|
|
4423
4454
|
g.readyState = 3, g.responseText = E, g.onprogress();
|
|
@@ -4437,21 +4468,21 @@ var ar = { exports: {} };
|
|
|
4437
4468
|
g.onreadystatechange();
|
|
4438
4469
|
}
|
|
4439
4470
|
}, C = function(E) {
|
|
4440
|
-
|
|
4471
|
+
m != null && (m.readyState === 4 ? (!("onload" in m) || !("onerror" in m) || !("onabort" in m)) && T(m.responseText === "" ? "error" : "load", E) : m.readyState === 3 ? "onprogress" in m || R() : m.readyState === 2 && x());
|
|
4441
4472
|
}, L = function() {
|
|
4442
4473
|
v = n(function() {
|
|
4443
4474
|
L();
|
|
4444
|
-
}, 500),
|
|
4475
|
+
}, 500), m.readyState === 3 && R();
|
|
4445
4476
|
};
|
|
4446
|
-
"onload" in
|
|
4477
|
+
"onload" in m && (m.onload = function(E) {
|
|
4447
4478
|
T("load", E);
|
|
4448
|
-
}), "onerror" in
|
|
4479
|
+
}), "onerror" in m && (m.onerror = function(E) {
|
|
4449
4480
|
T("error", E);
|
|
4450
|
-
}), "onabort" in
|
|
4481
|
+
}), "onabort" in m && (m.onabort = function(E) {
|
|
4451
4482
|
T("abort", E);
|
|
4452
|
-
}), "onprogress" in
|
|
4483
|
+
}), "onprogress" in m && (m.onprogress = R), "onreadystatechange" in m && (m.onreadystatechange = function(E) {
|
|
4453
4484
|
C(E);
|
|
4454
|
-
}), ("contentType" in
|
|
4485
|
+
}), ("contentType" in m || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), m.open(u, b, !0), "readyState" in m && (v = n(function() {
|
|
4455
4486
|
L();
|
|
4456
4487
|
}, 0));
|
|
4457
4488
|
}, $.prototype.abort = function() {
|
|
@@ -4486,8 +4517,8 @@ var ar = { exports: {} };
|
|
|
4486
4517
|
}
|
|
4487
4518
|
function le(u) {
|
|
4488
4519
|
for (var b = /* @__PURE__ */ Object.create(null), g = u.split(`\r
|
|
4489
|
-
`),
|
|
4490
|
-
var y = g[
|
|
4520
|
+
`), m = 0; m < g.length; m += 1) {
|
|
4521
|
+
var y = g[m], v = y.split(": "), x = v.shift(), R = v.join(": ");
|
|
4491
4522
|
b[Z(x)] = R;
|
|
4492
4523
|
}
|
|
4493
4524
|
this._map = b;
|
|
@@ -4497,18 +4528,18 @@ var ar = { exports: {} };
|
|
|
4497
4528
|
}, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
|
|
4498
4529
|
function be() {
|
|
4499
4530
|
}
|
|
4500
|
-
be.prototype.open = function(u, b, g,
|
|
4531
|
+
be.prototype.open = function(u, b, g, m, y, v, x) {
|
|
4501
4532
|
u.open("GET", y);
|
|
4502
4533
|
var R = 0;
|
|
4503
4534
|
u.onprogress = function() {
|
|
4504
4535
|
var C = u.responseText, L = C.slice(R);
|
|
4505
4536
|
R += L.length, g(L);
|
|
4506
4537
|
}, u.onerror = function(C) {
|
|
4507
|
-
C.preventDefault(),
|
|
4538
|
+
C.preventDefault(), m(new Error("NetworkError"));
|
|
4508
4539
|
}, u.onload = function() {
|
|
4509
|
-
|
|
4540
|
+
m(null);
|
|
4510
4541
|
}, u.onabort = function() {
|
|
4511
|
-
|
|
4542
|
+
m(null);
|
|
4512
4543
|
}, u.onreadystatechange = function() {
|
|
4513
4544
|
if (u.readyState === o.HEADERS_RECEIVED) {
|
|
4514
4545
|
var C = u.status, L = u.statusText, E = u.getResponseHeader("Content-Type"), l = u.getAllResponseHeaders();
|
|
@@ -4527,7 +4558,7 @@ var ar = { exports: {} };
|
|
|
4527
4558
|
};
|
|
4528
4559
|
function He() {
|
|
4529
4560
|
}
|
|
4530
|
-
He.prototype.open = function(u, b, g,
|
|
4561
|
+
He.prototype.open = function(u, b, g, m, y, v, x) {
|
|
4531
4562
|
var R = null, T = new B(), C = T.signal, L = new _();
|
|
4532
4563
|
return d(y, {
|
|
4533
4564
|
headers: x,
|
|
@@ -4554,14 +4585,14 @@ var ar = { exports: {} };
|
|
|
4554
4585
|
if (E.name !== "AbortError")
|
|
4555
4586
|
return E;
|
|
4556
4587
|
}).then(function(E) {
|
|
4557
|
-
|
|
4588
|
+
m(E);
|
|
4558
4589
|
}), {
|
|
4559
4590
|
abort: function() {
|
|
4560
4591
|
R?.cancel(), T.abort();
|
|
4561
4592
|
}
|
|
4562
4593
|
};
|
|
4563
4594
|
};
|
|
4564
|
-
function
|
|
4595
|
+
function me() {
|
|
4565
4596
|
this._listeners = /* @__PURE__ */ Object.create(null);
|
|
4566
4597
|
}
|
|
4567
4598
|
function Be(u) {
|
|
@@ -4569,31 +4600,31 @@ var ar = { exports: {} };
|
|
|
4569
4600
|
throw u;
|
|
4570
4601
|
}, 0);
|
|
4571
4602
|
}
|
|
4572
|
-
|
|
4603
|
+
me.prototype.dispatchEvent = function(u) {
|
|
4573
4604
|
u.target = this;
|
|
4574
4605
|
var b = this._listeners[u.type];
|
|
4575
4606
|
if (b != null)
|
|
4576
|
-
for (var g = b.length,
|
|
4577
|
-
var y = b[
|
|
4607
|
+
for (var g = b.length, m = 0; m < g; m += 1) {
|
|
4608
|
+
var y = b[m];
|
|
4578
4609
|
try {
|
|
4579
4610
|
typeof y.handleEvent == "function" ? y.handleEvent(u) : y.call(this, u);
|
|
4580
4611
|
} catch (v) {
|
|
4581
4612
|
Be(v);
|
|
4582
4613
|
}
|
|
4583
4614
|
}
|
|
4584
|
-
},
|
|
4615
|
+
}, me.prototype.addEventListener = function(u, b) {
|
|
4585
4616
|
u = String(u);
|
|
4586
|
-
var g = this._listeners,
|
|
4587
|
-
|
|
4588
|
-
for (var y = !1, v = 0; v <
|
|
4589
|
-
|
|
4590
|
-
y ||
|
|
4591
|
-
},
|
|
4617
|
+
var g = this._listeners, m = g[u];
|
|
4618
|
+
m == null && (m = [], g[u] = m);
|
|
4619
|
+
for (var y = !1, v = 0; v < m.length; v += 1)
|
|
4620
|
+
m[v] === b && (y = !0);
|
|
4621
|
+
y || m.push(b);
|
|
4622
|
+
}, me.prototype.removeEventListener = function(u, b) {
|
|
4592
4623
|
u = String(u);
|
|
4593
|
-
var g = this._listeners,
|
|
4594
|
-
if (
|
|
4595
|
-
for (var y = [], v = 0; v <
|
|
4596
|
-
|
|
4624
|
+
var g = this._listeners, m = g[u];
|
|
4625
|
+
if (m != null) {
|
|
4626
|
+
for (var y = [], v = 0; v < m.length; v += 1)
|
|
4627
|
+
m[v] !== b && y.push(m[v]);
|
|
4597
4628
|
y.length === 0 ? delete g[u] : g[u] = y;
|
|
4598
4629
|
}
|
|
4599
4630
|
};
|
|
@@ -4612,7 +4643,7 @@ var ar = { exports: {} };
|
|
|
4612
4643
|
te.call(this, u), this.error = b.error;
|
|
4613
4644
|
}
|
|
4614
4645
|
Je.prototype = Object.create(te.prototype);
|
|
4615
|
-
var Ce = -1, W = 0, he = 1, ge = 2, oe = -1, se = 0, ve = 1, Qe = 2,
|
|
4646
|
+
var Ce = -1, W = 0, he = 1, ge = 2, oe = -1, se = 0, ve = 1, Qe = 2, pe = 3, Ye = /^text\/event\-stream(;.*)?$/i, ht = 1e3, Pt = 18e6, Ke = function(u, b) {
|
|
4616
4647
|
var g = u == null ? b : parseInt(u, 10);
|
|
4617
4648
|
return g !== g && (g = b), Me(g);
|
|
4618
4649
|
}, Me = function(u) {
|
|
@@ -4620,20 +4651,20 @@ var ar = { exports: {} };
|
|
|
4620
4651
|
}, we = function(u, b, g) {
|
|
4621
4652
|
try {
|
|
4622
4653
|
typeof b == "function" && b.call(u, g);
|
|
4623
|
-
} catch (
|
|
4624
|
-
Be(
|
|
4654
|
+
} catch (m) {
|
|
4655
|
+
Be(m);
|
|
4625
4656
|
}
|
|
4626
4657
|
};
|
|
4627
4658
|
function J(u, b) {
|
|
4628
|
-
|
|
4659
|
+
me.call(this), b = b || {}, 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, ft(this, u, b);
|
|
4629
4660
|
}
|
|
4630
4661
|
function Ct() {
|
|
4631
4662
|
return o != null && "withCredentials" in o.prototype || a == null ? new o() : new a();
|
|
4632
4663
|
}
|
|
4633
|
-
var Ot = d != null &&
|
|
4664
|
+
var Ot = d != null && p != null && "body" in p.prototype;
|
|
4634
4665
|
function ft(u, b, g) {
|
|
4635
4666
|
b = String(b);
|
|
4636
|
-
var
|
|
4667
|
+
var m = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", v = Me(1e3), x = Ke(g.heartbeatTimeout, 45e3), R = "", T = v, C = !1, L = 0, E = g.headers || {}, l = g.Transport, S = Ot && l == null ? void 0 : new $(l != null ? new l() : Ct()), N = l != null && typeof l != "string" ? new l() : S == null ? new He() : new be(), I = void 0, k = 0, q = Ce, Te = "", et = "", G = "", ct = "", Q = se, It = 0, Oe = 0, xn = function(V, j, ae, ue) {
|
|
4637
4668
|
if (q === W)
|
|
4638
4669
|
if (V === 200 && ae != null && Ye.test(ae)) {
|
|
4639
4670
|
q = he, C = Date.now(), T = v, u.readyState = he;
|
|
@@ -4688,7 +4719,7 @@ var ar = { exports: {} };
|
|
|
4688
4719
|
}
|
|
4689
4720
|
Q = ue === 13 ? oe : se;
|
|
4690
4721
|
} else
|
|
4691
|
-
Q === se && (It = X, Q = ve), Q === ve ? ue === 58 && (Oe = X + 1, Q = Qe) : Q === Qe && (Q =
|
|
4722
|
+
Q === se && (It = X, Q = ve), Q === ve ? ue === 58 && (Oe = X + 1, Q = Qe) : Q === Qe && (Q = pe);
|
|
4692
4723
|
}
|
|
4693
4724
|
}
|
|
4694
4725
|
}, cr = function(V) {
|
|
@@ -4735,9 +4766,9 @@ var ar = { exports: {} };
|
|
|
4735
4766
|
throw Lt(), Ee;
|
|
4736
4767
|
}
|
|
4737
4768
|
};
|
|
4738
|
-
u.url = b, u.readyState = W, u.withCredentials =
|
|
4769
|
+
u.url = b, u.readyState = W, u.withCredentials = m, u.headers = E, u._close = Lt, tt();
|
|
4739
4770
|
}
|
|
4740
|
-
J.prototype = Object.create(
|
|
4771
|
+
J.prototype = Object.create(me.prototype), J.prototype.CONNECTING = W, J.prototype.OPEN = he, J.prototype.CLOSED = ge, J.prototype.close = function() {
|
|
4741
4772
|
this._close();
|
|
4742
4773
|
}, J.CONNECTING = W, J.OPEN = he, J.CLOSED = ge, J.prototype.withCredentials = void 0;
|
|
4743
4774
|
var Re = f;
|
|
@@ -4764,7 +4795,7 @@ if (typeof window < "u") {
|
|
|
4764
4795
|
}
|
|
4765
4796
|
};
|
|
4766
4797
|
};
|
|
4767
|
-
customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-
|
|
4798
|
+
customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-D87dskAM.js").then(({ default: t }) => {
|
|
4768
4799
|
!customElements.get("casino-tournaments-filter-controller") && customElements.define("casino-tournaments-filter-controller", t.element);
|
|
4769
4800
|
});
|
|
4770
4801
|
}
|
|
@@ -4780,7 +4811,7 @@ if (typeof window < "u") {
|
|
|
4780
4811
|
}
|
|
4781
4812
|
};
|
|
4782
4813
|
};
|
|
4783
|
-
customElements.define = e(customElements.define), import("./CasinoTournamentsListController-
|
|
4814
|
+
customElements.define = e(customElements.define), import("./CasinoTournamentsListController-CVKwStEk.js").then(({ default: t }) => {
|
|
4784
4815
|
!customElements.get("casino-tournaments-list-controller") && customElements.define("casino-tournaments-list-controller", t.element);
|
|
4785
4816
|
});
|
|
4786
4817
|
}
|
|
@@ -4793,10 +4824,10 @@ function ts(e) {
|
|
|
4793
4824
|
/*filtersLoaded*/
|
|
4794
4825
|
e[19] && Fr(e)
|
|
4795
4826
|
);
|
|
4796
|
-
function f(
|
|
4827
|
+
function f(p, _) {
|
|
4797
4828
|
return (
|
|
4798
4829
|
/*tournamentsNumber*/
|
|
4799
|
-
|
|
4830
|
+
p[20] == 0 ? is : ns
|
|
4800
4831
|
);
|
|
4801
4832
|
}
|
|
4802
4833
|
let h = f(e), c = h(e), d = !/*allTournamentsShown*/
|
|
@@ -4805,16 +4836,16 @@ function ts(e) {
|
|
|
4805
4836
|
c() {
|
|
4806
4837
|
t = z("div"), r = z("div"), n = z("div"), s && s.c(), i = kt(), o = z("div"), c.c(), a = kt(), d && d.c(), U(n, "class", "FirstRow"), U(n, "part", "FirstRow"), U(o, "class", "SecondRow"), U(o, "part", "SecondRow"), U(r, "class", "Tournaments"), U(r, "part", "Tournaments"), U(t, "class", "TournamentsWrapper"), U(t, "part", "TournamentsWrapper");
|
|
4807
4838
|
},
|
|
4808
|
-
m(
|
|
4809
|
-
ce(
|
|
4839
|
+
m(p, _) {
|
|
4840
|
+
ce(p, t, _), re(t, r), re(r, n), s && s.m(n, null), re(r, i), re(r, o), c.m(o, null), re(r, a), d && d.m(r, null);
|
|
4810
4841
|
},
|
|
4811
|
-
p(
|
|
4842
|
+
p(p, _) {
|
|
4812
4843
|
/*filtersLoaded*/
|
|
4813
|
-
|
|
4814
|
-
|
|
4844
|
+
p[19] ? s ? s.p(p, _) : (s = Fr(p), s.c(), s.m(n, null)) : s && (s.d(1), s = null), h === (h = f(p)) && c ? c.p(p, _) : (c.d(1), c = h(p), c && (c.c(), c.m(o, null))), /*allTournamentsShown*/
|
|
4845
|
+
p[21] ? d && (d.d(1), d = null) : d ? d.p(p, _) : (d = Ur(p), d.c(), d.m(r, null));
|
|
4815
4846
|
},
|
|
4816
|
-
d(
|
|
4817
|
-
|
|
4847
|
+
d(p) {
|
|
4848
|
+
p && ne(t), s && s.d(), c.d(), d && d.d();
|
|
4818
4849
|
}
|
|
4819
4850
|
};
|
|
4820
4851
|
}
|
|
@@ -5208,7 +5239,7 @@ let us = "All,Scheduled,Ongoing,Finished";
|
|
|
5208
5239
|
function ls(e, t, r) {
|
|
5209
5240
|
let n;
|
|
5210
5241
|
Sn(e, Jo, (l) => r(22, n = l));
|
|
5211
|
-
let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { lang: s = "en" } = t, { translationurl: f = "" } = t, { numberoftournaments: h = "6" } = t, { showmorestep: c = "2" } = t, { filters: d = "All" } = t, { loginevent:
|
|
5242
|
+
let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { lang: s = "en" } = t, { translationurl: f = "" } = t, { numberoftournaments: h = "6" } = t, { showmorestep: c = "2" } = t, { filters: d = "All" } = t, { loginevent: p = "" } = t, { registerevent: _ = "" } = t, { loginurl: O = "" } = t, { registerurl: B = "" } = t, { currency: ee = "EUR" } = t, { keepbrowsercontext: de = "false" } = t, { sorttype: ie = "" } = t, { sortorder: M = "" } = t, { starttimeafter: $ = "" } = t, { showanonymoustournaments: Z = "true" } = t, { clientstyling: le = "" } = t, { clientstylingurl: be = "" } = t, { delaybeforeload: Ne = 1e3 } = t, He = !1, me = "", Be = !1, te = "", lt = window.navigator.userAgent, Pe = !0, Je = !1, Ce = !1, W, he = 0, ge = !1, oe = 6, se = !0, ve = [], Qe, pe, Ye = !1, ht;
|
|
5212
5243
|
Yo({ withLocale: "en", translations: {} });
|
|
5213
5244
|
const Pt = () => {
|
|
5214
5245
|
fetch(f).then((S) => S.json()).then((S) => {
|
|
@@ -5298,9 +5329,9 @@ function ls(e, t, r) {
|
|
|
5298
5329
|
Ce = !1;
|
|
5299
5330
|
},
|
|
5300
5331
|
1e3
|
|
5301
|
-
),
|
|
5332
|
+
), pe && (pe.removeEventListener("message", Re), pe.close());
|
|
5302
5333
|
let l = `${a}/v1/tournaments/updates?${Qe}`;
|
|
5303
|
-
|
|
5334
|
+
pe = new Ko.EventSourcePolyfill(
|
|
5304
5335
|
l,
|
|
5305
5336
|
{
|
|
5306
5337
|
headers: {
|
|
@@ -5308,7 +5339,7 @@ function ls(e, t, r) {
|
|
|
5308
5339
|
"X-SessionId": i
|
|
5309
5340
|
}
|
|
5310
5341
|
}
|
|
5311
|
-
), typeof
|
|
5342
|
+
), typeof pe < "u" && pe.addEventListener("message", Re);
|
|
5312
5343
|
}, b = async () => {
|
|
5313
5344
|
let l = oe;
|
|
5314
5345
|
const S = parseInt(c, 10);
|
|
@@ -5320,8 +5351,9 @@ function ls(e, t, r) {
|
|
|
5320
5351
|
},
|
|
5321
5352
|
window.location.href
|
|
5322
5353
|
), await Ct(a, l, S), oe >= he && r(21, se = !0);
|
|
5323
|
-
}, g = () => (a || (r(17,
|
|
5324
|
-
if (!ge)
|
|
5354
|
+
}, g = () => (a || (r(17, me = "Endpoint is missing! Please provide a valid endpointURL."), r(16, He = !0), console.error(me)), (!s || s.length != 2) && (r(17, me = "Language is missing! Please provide a valid language (alpha2code)"), r(16, He = !0), console.error(me)), He), m = () => {
|
|
5355
|
+
if (!ge)
|
|
5356
|
+
return !1;
|
|
5325
5357
|
g() || (oe = parseInt(h, 10), Mr(s), J(a, 0, oe));
|
|
5326
5358
|
}, y = () => {
|
|
5327
5359
|
Mr(s);
|
|
@@ -5330,7 +5362,7 @@ function ls(e, t, r) {
|
|
|
5330
5362
|
}, x = () => {
|
|
5331
5363
|
Dr(i) ? (Be = !0, r(30, te = i)) : (Be = !1, r(30, te = ""));
|
|
5332
5364
|
}, R = async () => {
|
|
5333
|
-
Ye || (Ye = !0, await
|
|
5365
|
+
Ye || (Ye = !0, await m(), Ye = !1);
|
|
5334
5366
|
}, T = () => {
|
|
5335
5367
|
let l = document.createElement("style");
|
|
5336
5368
|
l.innerHTML = le, W.appendChild(l);
|
|
@@ -5355,7 +5387,7 @@ function ls(e, t, r) {
|
|
|
5355
5387
|
},
|
|
5356
5388
|
Ne
|
|
5357
5389
|
), window.addEventListener("message", Me, !1), () => {
|
|
5358
|
-
window.removeEventListener("message", Me),
|
|
5390
|
+
window.removeEventListener("message", Me), pe && (pe.removeEventListener("message", Re), pe.close());
|
|
5359
5391
|
}));
|
|
5360
5392
|
const L = () => b();
|
|
5361
5393
|
function E(l) {
|
|
@@ -5364,7 +5396,7 @@ function ls(e, t, r) {
|
|
|
5364
5396
|
});
|
|
5365
5397
|
}
|
|
5366
5398
|
return e.$$set = (l) => {
|
|
5367
|
-
"session" in l && r(0, i = l.session), "userid" in l && r(1, o = l.userid), "endpoint" in l && r(2, a = l.endpoint), "lang" in l && r(3, s = l.lang), "translationurl" in l && r(4, f = l.translationurl), "numberoftournaments" in l && r(5, h = l.numberoftournaments), "showmorestep" in l && r(24, c = l.showmorestep), "filters" in l && r(6, d = l.filters), "loginevent" in l && r(7,
|
|
5399
|
+
"session" in l && r(0, i = l.session), "userid" in l && r(1, o = l.userid), "endpoint" in l && r(2, a = l.endpoint), "lang" in l && r(3, s = l.lang), "translationurl" in l && r(4, f = l.translationurl), "numberoftournaments" in l && r(5, h = l.numberoftournaments), "showmorestep" in l && r(24, c = l.showmorestep), "filters" in l && r(6, d = l.filters), "loginevent" in l && r(7, p = l.loginevent), "registerevent" in l && r(8, _ = l.registerevent), "loginurl" in l && r(9, O = l.loginurl), "registerurl" in l && r(10, B = l.registerurl), "currency" in l && r(11, ee = l.currency), "keepbrowsercontext" in l && r(12, de = l.keepbrowsercontext), "sorttype" in l && r(25, ie = l.sorttype), "sortorder" in l && r(26, M = l.sortorder), "starttimeafter" in l && r(27, $ = l.starttimeafter), "showanonymoustournaments" in l && r(28, Z = l.showanonymoustournaments), "clientstyling" in l && r(13, le = l.clientstyling), "clientstylingurl" in l && r(14, be = l.clientstylingurl), "delaybeforeload" in l && r(29, Ne = l.delaybeforeload);
|
|
5368
5400
|
}, e.$$.update = () => {
|
|
5369
5401
|
e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
|
|
5370
5402
|
40960 && W && le && T(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
|
|
@@ -5373,7 +5405,7 @@ function ls(e, t, r) {
|
|
|
5373
5405
|
64 && d && v(), e.$$.dirty[0] & /*lang*/
|
|
5374
5406
|
8 && s && y(), e.$$.dirty[0] & /*translationurl*/
|
|
5375
5407
|
16 && f && Pt(), e.$$.dirty[1] & /*isMounted*/
|
|
5376
|
-
1 && ge &&
|
|
5408
|
+
1 && ge && m(), e.$$.dirty[0] & /*session*/
|
|
5377
5409
|
1 && (i === "" || i) && x(), e.$$.dirty[0] & /*sessionID*/
|
|
5378
5410
|
1073741824 && (te === "" || te) && R(), e.$$.dirty[0] & /*endpoint, numberoftournaments, showmorestep, lang, showanonymoustournaments*/
|
|
5379
5411
|
285212716 && a && h && c && s && Z && R();
|
|
@@ -5385,7 +5417,7 @@ function ls(e, t, r) {
|
|
|
5385
5417
|
f,
|
|
5386
5418
|
h,
|
|
5387
5419
|
d,
|
|
5388
|
-
|
|
5420
|
+
p,
|
|
5389
5421
|
_,
|
|
5390
5422
|
O,
|
|
5391
5423
|
B,
|
|
@@ -5395,7 +5427,7 @@ function ls(e, t, r) {
|
|
|
5395
5427
|
be,
|
|
5396
5428
|
W,
|
|
5397
5429
|
He,
|
|
5398
|
-
|
|
5430
|
+
me,
|
|
5399
5431
|
Pe,
|
|
5400
5432
|
Je,
|
|
5401
5433
|
he,
|
|
@@ -5582,7 +5614,7 @@ export {
|
|
|
5582
5614
|
cs as A,
|
|
5583
5615
|
wt as B,
|
|
5584
5616
|
ut as C,
|
|
5585
|
-
|
|
5617
|
+
ps as D,
|
|
5586
5618
|
qe as E,
|
|
5587
5619
|
Qo as F,
|
|
5588
5620
|
gs as G,
|
|
@@ -5612,7 +5644,7 @@ export {
|
|
|
5612
5644
|
jr as s,
|
|
5613
5645
|
Ie as t,
|
|
5614
5646
|
Xt as u,
|
|
5615
|
-
|
|
5647
|
+
ms as v,
|
|
5616
5648
|
Nn as w,
|
|
5617
5649
|
Pn as x,
|
|
5618
5650
|
w as y,
|