@everymatrix/casino-tournaments-thumbnail-rule 1.77.0 → 1.77.1
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/{CasinoTournamentsThumbnailRule-C3lmGtEP.cjs → CasinoTournamentsThumbnailRule-BrAtukm8.cjs} +9 -9
- package/components/{CasinoTournamentsThumbnailRule-BnmazqeK.js → CasinoTournamentsThumbnailRule-C0HvEppr.js} +317 -324
- package/components/{CasinoTournamentsThumbnailRule-Dwq6Xs1_.js → CasinoTournamentsThumbnailRule-Y9V3bLD-.js} +248 -256
- package/es2015/casino-tournaments-thumbnail-rule.cjs +1 -1
- package/es2015/casino-tournaments-thumbnail-rule.js +1 -1
- package/esnext/casino-tournaments-thumbnail-rule.js +1 -1
- package/package.json +1 -1
|
@@ -57,7 +57,7 @@ function cr(e, t) {
|
|
|
57
57
|
t
|
|
58
58
|
), t.sheet;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function Z(e, t, r) {
|
|
61
61
|
e.insertBefore(t, r || null);
|
|
62
62
|
}
|
|
63
63
|
function j(e) {
|
|
@@ -73,14 +73,14 @@ function _(e) {
|
|
|
73
73
|
function mr(e) {
|
|
74
74
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function W(e) {
|
|
77
77
|
return document.createTextNode(e);
|
|
78
78
|
}
|
|
79
79
|
function A() {
|
|
80
|
-
return
|
|
80
|
+
return W(" ");
|
|
81
81
|
}
|
|
82
82
|
function Me() {
|
|
83
|
-
return
|
|
83
|
+
return W("");
|
|
84
84
|
}
|
|
85
85
|
function p(e, t, r) {
|
|
86
86
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
@@ -92,7 +92,7 @@ function we(e, t) {
|
|
|
92
92
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
93
93
|
t);
|
|
94
94
|
}
|
|
95
|
-
class
|
|
95
|
+
class oe {
|
|
96
96
|
/**
|
|
97
97
|
* @private
|
|
98
98
|
* @default false
|
|
@@ -147,7 +147,7 @@ class ue {
|
|
|
147
147
|
* @returns {void} */
|
|
148
148
|
i(t) {
|
|
149
149
|
for (let r = 0; r < this.n.length; r += 1)
|
|
150
|
-
|
|
150
|
+
Z(this.t, this.n[r], t);
|
|
151
151
|
}
|
|
152
152
|
/**
|
|
153
153
|
* @param {string} html
|
|
@@ -183,39 +183,39 @@ function br() {
|
|
|
183
183
|
function gr(e) {
|
|
184
184
|
br().$$.on_mount.push(e);
|
|
185
185
|
}
|
|
186
|
-
const
|
|
187
|
-
let
|
|
186
|
+
const te = [], je = [];
|
|
187
|
+
let re = [];
|
|
188
188
|
const ot = [], yr = /* @__PURE__ */ Promise.resolve();
|
|
189
189
|
let Ve = !1;
|
|
190
190
|
function vr() {
|
|
191
|
-
Ve || (Ve = !0, yr.then(
|
|
191
|
+
Ve || (Ve = !0, yr.then(U));
|
|
192
192
|
}
|
|
193
193
|
function ze(e) {
|
|
194
|
-
|
|
194
|
+
re.push(e);
|
|
195
195
|
}
|
|
196
196
|
const Ie = /* @__PURE__ */ new Set();
|
|
197
|
-
let
|
|
198
|
-
function
|
|
199
|
-
if (
|
|
197
|
+
let K = 0;
|
|
198
|
+
function U() {
|
|
199
|
+
if (K !== 0)
|
|
200
200
|
return;
|
|
201
201
|
const e = pe;
|
|
202
202
|
do {
|
|
203
203
|
try {
|
|
204
|
-
for (;
|
|
205
|
-
const t =
|
|
206
|
-
|
|
204
|
+
for (; K < te.length; ) {
|
|
205
|
+
const t = te[K];
|
|
206
|
+
K++, de(t), xr(t.$$);
|
|
207
207
|
}
|
|
208
208
|
} catch (t) {
|
|
209
|
-
throw
|
|
209
|
+
throw te.length = 0, K = 0, t;
|
|
210
210
|
}
|
|
211
|
-
for (de(null),
|
|
211
|
+
for (de(null), te.length = 0, K = 0; je.length; )
|
|
212
212
|
je.pop()();
|
|
213
|
-
for (let t = 0; t <
|
|
214
|
-
const r =
|
|
213
|
+
for (let t = 0; t < re.length; t += 1) {
|
|
214
|
+
const r = re[t];
|
|
215
215
|
Ie.has(r) || (Ie.add(r), r());
|
|
216
216
|
}
|
|
217
|
-
|
|
218
|
-
} while (
|
|
217
|
+
re.length = 0;
|
|
218
|
+
} while (te.length);
|
|
219
219
|
for (; ot.length; )
|
|
220
220
|
ot.pop()();
|
|
221
221
|
Ve = !1, Ie.clear(), de(e);
|
|
@@ -229,7 +229,7 @@ function xr(e) {
|
|
|
229
229
|
}
|
|
230
230
|
function Er(e) {
|
|
231
231
|
const t = [], r = [];
|
|
232
|
-
|
|
232
|
+
re.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), re = t;
|
|
233
233
|
}
|
|
234
234
|
const Cr = /* @__PURE__ */ new Set();
|
|
235
235
|
function _r(e, t) {
|
|
@@ -250,7 +250,7 @@ function wr(e, t) {
|
|
|
250
250
|
r.fragment !== null && (Er(r.after_update), ye(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
251
251
|
}
|
|
252
252
|
function Sr(e, t) {
|
|
253
|
-
e.$$.dirty[0] === -1 && (
|
|
253
|
+
e.$$.dirty[0] === -1 && (te.push(e), vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
254
254
|
}
|
|
255
255
|
function Br(e, t, r, n, i, s, l = null, u = [-1]) {
|
|
256
256
|
const c = pe;
|
|
@@ -287,7 +287,7 @@ function Br(e, t, r, n, i, s, l = null, u = [-1]) {
|
|
|
287
287
|
o.fragment && o.fragment.l(h), h.forEach(j);
|
|
288
288
|
} else
|
|
289
289
|
o.fragment && o.fragment.c();
|
|
290
|
-
t.intro && _r(e.$$.fragment), Tr(e, t.target, t.anchor),
|
|
290
|
+
t.intro && _r(e.$$.fragment), Tr(e, t.target, t.anchor), U();
|
|
291
291
|
}
|
|
292
292
|
de(c);
|
|
293
293
|
}
|
|
@@ -341,7 +341,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
|
341
341
|
* @param {HTMLElement} [anchor]
|
|
342
342
|
*/
|
|
343
343
|
m: function(c, o) {
|
|
344
|
-
|
|
344
|
+
Z(c, s, o);
|
|
345
345
|
},
|
|
346
346
|
d: function(c) {
|
|
347
347
|
c && j(s);
|
|
@@ -513,7 +513,7 @@ class Mr {
|
|
|
513
513
|
}
|
|
514
514
|
const Rr = "4";
|
|
515
515
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rr);
|
|
516
|
-
const
|
|
516
|
+
const ee = [];
|
|
517
517
|
function Ar(e, t) {
|
|
518
518
|
return {
|
|
519
519
|
subscribe: Re(e, t).subscribe
|
|
@@ -524,13 +524,13 @@ function Re(e, t = F) {
|
|
|
524
524
|
const n = /* @__PURE__ */ new Set();
|
|
525
525
|
function i(u) {
|
|
526
526
|
if (Pt(e, u) && (e = u, r)) {
|
|
527
|
-
const c = !
|
|
527
|
+
const c = !ee.length;
|
|
528
528
|
for (const o of n)
|
|
529
|
-
o[1](),
|
|
529
|
+
o[1](), ee.push(o, e);
|
|
530
530
|
if (c) {
|
|
531
|
-
for (let o = 0; o <
|
|
532
|
-
|
|
533
|
-
|
|
531
|
+
for (let o = 0; o < ee.length; o += 2)
|
|
532
|
+
ee[o][0](ee[o + 1]);
|
|
533
|
+
ee.length = 0;
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
536
|
}
|
|
@@ -545,7 +545,7 @@ function Re(e, t = F) {
|
|
|
545
545
|
}
|
|
546
546
|
return { set: i, update: s, subscribe: l };
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function ue(e, t, r) {
|
|
549
549
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
550
550
|
if (!i.every(Boolean))
|
|
551
551
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -563,8 +563,8 @@ function le(e, t, r) {
|
|
|
563
563
|
}, m = i.map(
|
|
564
564
|
(g, E) => Nt(
|
|
565
565
|
g,
|
|
566
|
-
(
|
|
567
|
-
o[E] =
|
|
566
|
+
(C) => {
|
|
567
|
+
o[E] = C, a &= ~(1 << E), c && f();
|
|
568
568
|
},
|
|
569
569
|
() => {
|
|
570
570
|
a |= 1 << E;
|
|
@@ -587,17 +587,17 @@ function Pr(e) {
|
|
|
587
587
|
}
|
|
588
588
|
function Nr(e) {
|
|
589
589
|
var t = Object.prototype.toString.call(e);
|
|
590
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
590
|
+
return t === "[object RegExp]" || t === "[object Date]" || kr(e);
|
|
591
591
|
}
|
|
592
|
-
var Ir = typeof Symbol == "function" && Symbol.for,
|
|
593
|
-
function
|
|
594
|
-
return e.$$typeof ===
|
|
592
|
+
var Ir = typeof Symbol == "function" && Symbol.for, $r = Ir ? Symbol.for("react.element") : 60103;
|
|
593
|
+
function kr(e) {
|
|
594
|
+
return e.$$typeof === $r;
|
|
595
595
|
}
|
|
596
596
|
function Ur(e) {
|
|
597
597
|
return Array.isArray(e) ? [] : {};
|
|
598
598
|
}
|
|
599
599
|
function be(e, t) {
|
|
600
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
600
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(Ur(e), e, t) : e;
|
|
601
601
|
}
|
|
602
602
|
function Gr(e, t, r) {
|
|
603
603
|
return e.concat(t).map(function(n) {
|
|
@@ -606,9 +606,9 @@ function Gr(e, t, r) {
|
|
|
606
606
|
}
|
|
607
607
|
function Dr(e, t) {
|
|
608
608
|
if (!t.customMerge)
|
|
609
|
-
return
|
|
609
|
+
return ne;
|
|
610
610
|
var r = t.customMerge(e);
|
|
611
|
-
return typeof r == "function" ? r :
|
|
611
|
+
return typeof r == "function" ? r : ne;
|
|
612
612
|
}
|
|
613
613
|
function Fr(e) {
|
|
614
614
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -618,7 +618,7 @@ function Fr(e) {
|
|
|
618
618
|
function lt(e) {
|
|
619
619
|
return Object.keys(e).concat(Fr(e));
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function $t(e, t) {
|
|
622
622
|
try {
|
|
623
623
|
return t in e;
|
|
624
624
|
} catch {
|
|
@@ -626,29 +626,29 @@ function kt(e, t) {
|
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
628
|
function jr(e, t) {
|
|
629
|
-
return
|
|
629
|
+
return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
630
630
|
}
|
|
631
631
|
function Vr(e, t, r) {
|
|
632
632
|
var n = {};
|
|
633
633
|
return r.isMergeableObject(e) && lt(e).forEach(function(i) {
|
|
634
634
|
n[i] = be(e[i], r);
|
|
635
635
|
}), lt(t).forEach(function(i) {
|
|
636
|
-
jr(e, i) || (
|
|
636
|
+
jr(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = Dr(i, r)(e[i], t[i], r) : n[i] = be(t[i], r));
|
|
637
637
|
}), n;
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function ne(e, t, r) {
|
|
640
640
|
r = r || {}, r.arrayMerge = r.arrayMerge || Gr, r.isMergeableObject = r.isMergeableObject || Or, r.cloneUnlessOtherwiseSpecified = be;
|
|
641
641
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
642
642
|
return s ? n ? r.arrayMerge(e, t, r) : Vr(e, t, r) : be(t, r);
|
|
643
643
|
}
|
|
644
|
-
|
|
644
|
+
ne.all = function(t, r) {
|
|
645
645
|
if (!Array.isArray(t))
|
|
646
646
|
throw new Error("first argument should be an array");
|
|
647
647
|
return t.reduce(function(n, i) {
|
|
648
|
-
return
|
|
648
|
+
return ne(n, i, r);
|
|
649
649
|
}, {});
|
|
650
650
|
};
|
|
651
|
-
var zr =
|
|
651
|
+
var zr = ne, Zr = zr;
|
|
652
652
|
const Xr = /* @__PURE__ */ Lr(Zr);
|
|
653
653
|
var Ze = function(e, t) {
|
|
654
654
|
return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
@@ -667,15 +667,15 @@ function Ae(e, t) {
|
|
|
667
667
|
}
|
|
668
668
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
669
669
|
}
|
|
670
|
-
var
|
|
671
|
-
return
|
|
670
|
+
var z = function() {
|
|
671
|
+
return z = Object.assign || function(t) {
|
|
672
672
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
673
673
|
r = arguments[n];
|
|
674
674
|
for (var s in r)
|
|
675
675
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
676
676
|
}
|
|
677
677
|
return t;
|
|
678
|
-
},
|
|
678
|
+
}, z.apply(this, arguments);
|
|
679
679
|
};
|
|
680
680
|
function Wr(e, t) {
|
|
681
681
|
var r = {};
|
|
@@ -686,13 +686,13 @@ function Wr(e, t) {
|
|
|
686
686
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
687
687
|
return r;
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function $e(e, t, r) {
|
|
690
690
|
if (r || arguments.length === 2)
|
|
691
691
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
692
692
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
693
693
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
694
694
|
}
|
|
695
|
-
function
|
|
695
|
+
function ke(e, t) {
|
|
696
696
|
var r = t && t.cache ? t.cache : tn, n = t && t.serializer ? t.serializer : Kr, i = t && t.strategy ? t.strategy : Jr;
|
|
697
697
|
return i(e, {
|
|
698
698
|
cache: r,
|
|
@@ -706,7 +706,7 @@ function Qr(e, t, r, n) {
|
|
|
706
706
|
var i = qr(n) ? n : r(n), s = t.get(i);
|
|
707
707
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function kt(e, t, r) {
|
|
710
710
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
711
711
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
712
712
|
}
|
|
@@ -714,11 +714,11 @@ function Ut(e, t, r, n, i) {
|
|
|
714
714
|
return r.bind(t, e, n, i);
|
|
715
715
|
}
|
|
716
716
|
function Jr(e, t) {
|
|
717
|
-
var r = e.length === 1 ? Qr :
|
|
717
|
+
var r = e.length === 1 ? Qr : kt;
|
|
718
718
|
return Ut(e, this, r, t.cache.create(), t.serializer);
|
|
719
719
|
}
|
|
720
720
|
function Yr(e, t) {
|
|
721
|
-
return Ut(e, this,
|
|
721
|
+
return Ut(e, this, kt, t.cache.create(), t.serializer);
|
|
722
722
|
}
|
|
723
723
|
var Kr = function() {
|
|
724
724
|
return JSON.stringify(arguments);
|
|
@@ -758,10 +758,10 @@ var T;
|
|
|
758
758
|
(function(e) {
|
|
759
759
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
760
760
|
})(T || (T = {}));
|
|
761
|
-
var
|
|
761
|
+
var ie;
|
|
762
762
|
(function(e) {
|
|
763
763
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
764
|
-
})(
|
|
764
|
+
})(ie || (ie = {}));
|
|
765
765
|
function ht(e) {
|
|
766
766
|
return e.type === T.literal;
|
|
767
767
|
}
|
|
@@ -790,10 +790,10 @@ function zt(e) {
|
|
|
790
790
|
return e.type === T.tag;
|
|
791
791
|
}
|
|
792
792
|
function Zt(e) {
|
|
793
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
793
|
+
return !!(e && typeof e == "object" && e.type === ie.number);
|
|
794
794
|
}
|
|
795
795
|
function Xe(e) {
|
|
796
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
796
|
+
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
|
797
797
|
}
|
|
798
798
|
var Xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, sn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
799
799
|
function an(e) {
|
|
@@ -2874,26 +2874,26 @@ var Hn = (
|
|
|
2874
2874
|
return g;
|
|
2875
2875
|
var E = v(i, this.clonePosition());
|
|
2876
2876
|
if (o && dt(o?.style, "::", 0)) {
|
|
2877
|
-
var
|
|
2877
|
+
var C = Sn(o.style.slice(2));
|
|
2878
2878
|
if (u === "number") {
|
|
2879
|
-
var h = this.parseNumberSkeletonFromString(
|
|
2879
|
+
var h = this.parseNumberSkeletonFromString(C, o.styleLocation);
|
|
2880
2880
|
return h.err ? h : {
|
|
2881
2881
|
val: { type: T.number, value: n, location: E, style: h.val },
|
|
2882
2882
|
err: null
|
|
2883
2883
|
};
|
|
2884
2884
|
} else {
|
|
2885
|
-
if (
|
|
2885
|
+
if (C.length === 0)
|
|
2886
2886
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, E);
|
|
2887
|
-
var
|
|
2888
|
-
this.locale && (
|
|
2887
|
+
var S = C;
|
|
2888
|
+
this.locale && (S = mn(C, this.locale));
|
|
2889
2889
|
var f = {
|
|
2890
|
-
type:
|
|
2891
|
-
pattern:
|
|
2890
|
+
type: ie.dateTime,
|
|
2891
|
+
pattern: S,
|
|
2892
2892
|
location: o.styleLocation,
|
|
2893
|
-
parsedOptions: this.shouldParseSkeletons ? an(
|
|
2894
|
-
},
|
|
2893
|
+
parsedOptions: this.shouldParseSkeletons ? an(S) : {}
|
|
2894
|
+
}, B = u === "date" ? T.date : T.time;
|
|
2895
2895
|
return {
|
|
2896
|
-
val: { type:
|
|
2896
|
+
val: { type: B, value: n, location: E, style: f },
|
|
2897
2897
|
err: null
|
|
2898
2898
|
};
|
|
2899
2899
|
}
|
|
@@ -2911,9 +2911,9 @@ var Hn = (
|
|
|
2911
2911
|
case "plural":
|
|
2912
2912
|
case "selectordinal":
|
|
2913
2913
|
case "select": {
|
|
2914
|
-
var
|
|
2914
|
+
var H = this.clonePosition();
|
|
2915
2915
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2916
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(
|
|
2916
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(H, Se({}, H)));
|
|
2917
2917
|
this.bumpSpace();
|
|
2918
2918
|
var R = this.parseIdentifierIfPossible(), M = 0;
|
|
2919
2919
|
if (u !== "select" && R.value === "offset") {
|
|
@@ -2925,29 +2925,29 @@ var Hn = (
|
|
|
2925
2925
|
return h;
|
|
2926
2926
|
this.bumpSpace(), R = this.parseIdentifierIfPossible(), M = h.val;
|
|
2927
2927
|
}
|
|
2928
|
-
var
|
|
2929
|
-
if (
|
|
2930
|
-
return
|
|
2928
|
+
var V = this.tryParsePluralOrSelectOptions(t, u, r, R);
|
|
2929
|
+
if (V.err)
|
|
2930
|
+
return V;
|
|
2931
2931
|
var g = this.tryParseArgumentClose(i);
|
|
2932
2932
|
if (g.err)
|
|
2933
2933
|
return g;
|
|
2934
|
-
var
|
|
2934
|
+
var Q = v(i, this.clonePosition());
|
|
2935
2935
|
return u === "select" ? {
|
|
2936
2936
|
val: {
|
|
2937
2937
|
type: T.select,
|
|
2938
2938
|
value: n,
|
|
2939
|
-
options: pt(
|
|
2940
|
-
location:
|
|
2939
|
+
options: pt(V.val),
|
|
2940
|
+
location: Q
|
|
2941
2941
|
},
|
|
2942
2942
|
err: null
|
|
2943
2943
|
} : {
|
|
2944
2944
|
val: {
|
|
2945
2945
|
type: T.plural,
|
|
2946
2946
|
value: n,
|
|
2947
|
-
options: pt(
|
|
2947
|
+
options: pt(V.val),
|
|
2948
2948
|
offset: M,
|
|
2949
2949
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
2950
|
-
location:
|
|
2950
|
+
location: Q
|
|
2951
2951
|
},
|
|
2952
2952
|
err: null
|
|
2953
2953
|
};
|
|
@@ -3001,7 +3001,7 @@ var Hn = (
|
|
|
3001
3001
|
}
|
|
3002
3002
|
return {
|
|
3003
3003
|
val: {
|
|
3004
|
-
type:
|
|
3004
|
+
type: ie.number,
|
|
3005
3005
|
tokens: n,
|
|
3006
3006
|
location: r,
|
|
3007
3007
|
parsedOptions: this.shouldParseSkeletons ? fn(n) : {}
|
|
@@ -3151,10 +3151,10 @@ function Ln(e, t) {
|
|
|
3151
3151
|
}
|
|
3152
3152
|
return t?.captureLocation || Ye(r.val), r.val;
|
|
3153
3153
|
}
|
|
3154
|
-
var
|
|
3154
|
+
var se;
|
|
3155
3155
|
(function(e) {
|
|
3156
3156
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3157
|
-
})(
|
|
3157
|
+
})(se || (se = {}));
|
|
3158
3158
|
var Le = (
|
|
3159
3159
|
/** @class */
|
|
3160
3160
|
function(e) {
|
|
@@ -3172,7 +3172,7 @@ var Le = (
|
|
|
3172
3172
|
function(e) {
|
|
3173
3173
|
Ae(t, e);
|
|
3174
3174
|
function t(r, n, i, s) {
|
|
3175
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3175
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), se.INVALID_VALUE, s) || this;
|
|
3176
3176
|
}
|
|
3177
3177
|
return t;
|
|
3178
3178
|
}(Le)
|
|
@@ -3181,7 +3181,7 @@ var Le = (
|
|
|
3181
3181
|
function(e) {
|
|
3182
3182
|
Ae(t, e);
|
|
3183
3183
|
function t(r, n, i) {
|
|
3184
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3184
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), se.INVALID_VALUE, i) || this;
|
|
3185
3185
|
}
|
|
3186
3186
|
return t;
|
|
3187
3187
|
}(Le)
|
|
@@ -3190,18 +3190,18 @@ var Le = (
|
|
|
3190
3190
|
function(e) {
|
|
3191
3191
|
Ae(t, e);
|
|
3192
3192
|
function t(r, n) {
|
|
3193
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3193
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), se.MISSING_VALUE, n) || this;
|
|
3194
3194
|
}
|
|
3195
3195
|
return t;
|
|
3196
3196
|
}(Le)
|
|
3197
|
-
),
|
|
3197
|
+
), L;
|
|
3198
3198
|
(function(e) {
|
|
3199
3199
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3200
|
-
})(
|
|
3200
|
+
})(L || (L = {}));
|
|
3201
3201
|
function Nn(e) {
|
|
3202
3202
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3203
3203
|
var n = t[t.length - 1];
|
|
3204
|
-
return !n || n.type !==
|
|
3204
|
+
return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
|
|
3205
3205
|
}, []);
|
|
3206
3206
|
}
|
|
3207
3207
|
function In(e) {
|
|
@@ -3211,7 +3211,7 @@ function _e(e, t, r, n, i, s, l) {
|
|
|
3211
3211
|
if (e.length === 1 && ht(e[0]))
|
|
3212
3212
|
return [
|
|
3213
3213
|
{
|
|
3214
|
-
type:
|
|
3214
|
+
type: L.literal,
|
|
3215
3215
|
value: e[0].value
|
|
3216
3216
|
}
|
|
3217
3217
|
];
|
|
@@ -3219,14 +3219,14 @@ function _e(e, t, r, n, i, s, l) {
|
|
|
3219
3219
|
var a = o[c];
|
|
3220
3220
|
if (ht(a)) {
|
|
3221
3221
|
u.push({
|
|
3222
|
-
type:
|
|
3222
|
+
type: L.literal,
|
|
3223
3223
|
value: a.value
|
|
3224
3224
|
});
|
|
3225
3225
|
continue;
|
|
3226
3226
|
}
|
|
3227
3227
|
if (nn(a)) {
|
|
3228
3228
|
typeof s == "number" && u.push({
|
|
3229
|
-
type:
|
|
3229
|
+
type: L.literal,
|
|
3230
3230
|
value: r.getNumberFormat(t).format(s)
|
|
3231
3231
|
});
|
|
3232
3232
|
continue;
|
|
@@ -3237,7 +3237,7 @@ function _e(e, t, r, n, i, s, l) {
|
|
|
3237
3237
|
var f = i[h];
|
|
3238
3238
|
if (rn(a)) {
|
|
3239
3239
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3240
|
-
type: typeof f == "string" ?
|
|
3240
|
+
type: typeof f == "string" ? L.literal : L.object,
|
|
3241
3241
|
value: f
|
|
3242
3242
|
});
|
|
3243
3243
|
continue;
|
|
@@ -3245,7 +3245,7 @@ function _e(e, t, r, n, i, s, l) {
|
|
|
3245
3245
|
if (Dt(a)) {
|
|
3246
3246
|
var m = typeof a.style == "string" ? n.date[a.style] : Xe(a.style) ? a.style.parsedOptions : void 0;
|
|
3247
3247
|
u.push({
|
|
3248
|
-
type:
|
|
3248
|
+
type: L.literal,
|
|
3249
3249
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3250
3250
|
});
|
|
3251
3251
|
continue;
|
|
@@ -3253,7 +3253,7 @@ function _e(e, t, r, n, i, s, l) {
|
|
|
3253
3253
|
if (Ft(a)) {
|
|
3254
3254
|
var m = typeof a.style == "string" ? n.time[a.style] : Xe(a.style) ? a.style.parsedOptions : n.time.medium;
|
|
3255
3255
|
u.push({
|
|
3256
|
-
type:
|
|
3256
|
+
type: L.literal,
|
|
3257
3257
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3258
3258
|
});
|
|
3259
3259
|
continue;
|
|
@@ -3261,59 +3261,59 @@ function _e(e, t, r, n, i, s, l) {
|
|
|
3261
3261
|
if (Gt(a)) {
|
|
3262
3262
|
var m = typeof a.style == "string" ? n.number[a.style] : Zt(a.style) ? a.style.parsedOptions : void 0;
|
|
3263
3263
|
m && m.scale && (f = f * (m.scale || 1)), u.push({
|
|
3264
|
-
type:
|
|
3264
|
+
type: L.literal,
|
|
3265
3265
|
value: r.getNumberFormat(t, m).format(f)
|
|
3266
3266
|
});
|
|
3267
3267
|
continue;
|
|
3268
3268
|
}
|
|
3269
3269
|
if (zt(a)) {
|
|
3270
|
-
var g = a.children, E = a.value,
|
|
3271
|
-
if (!In(
|
|
3270
|
+
var g = a.children, E = a.value, C = i[E];
|
|
3271
|
+
if (!In(C))
|
|
3272
3272
|
throw new On(E, "function", l);
|
|
3273
|
-
var
|
|
3273
|
+
var S = _e(g, t, r, n, i, s), B = C(S.map(function(M) {
|
|
3274
3274
|
return M.value;
|
|
3275
3275
|
}));
|
|
3276
|
-
Array.isArray(
|
|
3276
|
+
Array.isArray(B) || (B = [B]), u.push.apply(u, B.map(function(M) {
|
|
3277
3277
|
return {
|
|
3278
|
-
type: typeof M == "string" ?
|
|
3278
|
+
type: typeof M == "string" ? L.literal : L.object,
|
|
3279
3279
|
value: M
|
|
3280
3280
|
};
|
|
3281
3281
|
}));
|
|
3282
3282
|
}
|
|
3283
3283
|
if (jt(a)) {
|
|
3284
|
-
var
|
|
3285
|
-
if (!
|
|
3284
|
+
var H = a.options[f] || a.options.other;
|
|
3285
|
+
if (!H)
|
|
3286
3286
|
throw new gt(a.value, f, Object.keys(a.options), l);
|
|
3287
|
-
u.push.apply(u, _e(
|
|
3287
|
+
u.push.apply(u, _e(H.value, t, r, n, i));
|
|
3288
3288
|
continue;
|
|
3289
3289
|
}
|
|
3290
3290
|
if (Vt(a)) {
|
|
3291
|
-
var
|
|
3292
|
-
if (!
|
|
3291
|
+
var H = a.options["=".concat(f)];
|
|
3292
|
+
if (!H) {
|
|
3293
3293
|
if (!Intl.PluralRules)
|
|
3294
3294
|
throw new Le(`Intl.PluralRules is not available in this environment.
|
|
3295
3295
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3296
|
-
`,
|
|
3296
|
+
`, se.MISSING_INTL_API, l);
|
|
3297
3297
|
var R = r.getPluralRules(t, { type: a.pluralType }).select(f - (a.offset || 0));
|
|
3298
|
-
|
|
3298
|
+
H = a.options[R] || a.options.other;
|
|
3299
3299
|
}
|
|
3300
|
-
if (!
|
|
3300
|
+
if (!H)
|
|
3301
3301
|
throw new gt(a.value, f, Object.keys(a.options), l);
|
|
3302
|
-
u.push.apply(u, _e(
|
|
3302
|
+
u.push.apply(u, _e(H.value, t, r, n, i, f - (a.offset || 0)));
|
|
3303
3303
|
continue;
|
|
3304
3304
|
}
|
|
3305
3305
|
}
|
|
3306
3306
|
return Nn(u);
|
|
3307
3307
|
}
|
|
3308
|
-
function
|
|
3309
|
-
return t ?
|
|
3310
|
-
return r[n] =
|
|
3308
|
+
function $n(e, t) {
|
|
3309
|
+
return t ? z(z(z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3310
|
+
return r[n] = z(z({}, e[n]), t[n] || {}), r;
|
|
3311
3311
|
}, {})) : e;
|
|
3312
3312
|
}
|
|
3313
|
-
function
|
|
3313
|
+
function kn(e, t) {
|
|
3314
3314
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3315
|
-
return r[n] =
|
|
3316
|
-
},
|
|
3315
|
+
return r[n] = $n(e[n], t[n]), r;
|
|
3316
|
+
}, z({}, e)) : e;
|
|
3317
3317
|
}
|
|
3318
3318
|
function De(e) {
|
|
3319
3319
|
return {
|
|
@@ -3335,26 +3335,26 @@ function Un(e) {
|
|
|
3335
3335
|
dateTime: {},
|
|
3336
3336
|
pluralRules: {}
|
|
3337
3337
|
}), {
|
|
3338
|
-
getNumberFormat:
|
|
3338
|
+
getNumberFormat: ke(function() {
|
|
3339
3339
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3340
3340
|
r[n] = arguments[n];
|
|
3341
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3341
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
|
|
3342
3342
|
}, {
|
|
3343
3343
|
cache: De(e.number),
|
|
3344
3344
|
strategy: Ue.variadic
|
|
3345
3345
|
}),
|
|
3346
|
-
getDateTimeFormat:
|
|
3346
|
+
getDateTimeFormat: ke(function() {
|
|
3347
3347
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3348
3348
|
r[n] = arguments[n];
|
|
3349
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3349
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
|
|
3350
3350
|
}, {
|
|
3351
3351
|
cache: De(e.dateTime),
|
|
3352
3352
|
strategy: Ue.variadic
|
|
3353
3353
|
}),
|
|
3354
|
-
getPluralRules:
|
|
3354
|
+
getPluralRules: ke(function() {
|
|
3355
3355
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3356
3356
|
r[n] = arguments[n];
|
|
3357
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3357
|
+
return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
|
|
3358
3358
|
}, {
|
|
3359
3359
|
cache: De(e.pluralRules),
|
|
3360
3360
|
strategy: Ue.variadic
|
|
@@ -3376,7 +3376,7 @@ var Gn = (
|
|
|
3376
3376
|
if (o.length === 1)
|
|
3377
3377
|
return o[0].value;
|
|
3378
3378
|
var a = o.reduce(function(h, f) {
|
|
3379
|
-
return !h.length || f.type !==
|
|
3379
|
+
return !h.length || f.type !== L.literal || typeof h[h.length - 1] != "string" ? h.push(f.value) : h[h.length - 1] += f.value, h;
|
|
3380
3380
|
}, []);
|
|
3381
3381
|
return a.length <= 1 ? a[0] || "" : a;
|
|
3382
3382
|
}, this.formatToParts = function(c) {
|
|
@@ -3394,12 +3394,12 @@ var Gn = (
|
|
|
3394
3394
|
var l = i || {};
|
|
3395
3395
|
l.formatters;
|
|
3396
3396
|
var u = Wr(l, ["formatters"]);
|
|
3397
|
-
this.ast = e.__parse(t,
|
|
3397
|
+
this.ast = e.__parse(t, z(z({}, u), { locale: this.resolvedLocale }));
|
|
3398
3398
|
} else
|
|
3399
3399
|
this.ast = t;
|
|
3400
3400
|
if (!Array.isArray(this.ast))
|
|
3401
3401
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3402
|
-
this.formats =
|
|
3402
|
+
this.formats = kn(e.formats, n), this.formatters = i && i.formatters || Un(this.formatterCache);
|
|
3403
3403
|
}
|
|
3404
3404
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3405
3405
|
get: function() {
|
|
@@ -3494,11 +3494,11 @@ function Dn(e, t) {
|
|
|
3494
3494
|
n = void 0;
|
|
3495
3495
|
return n;
|
|
3496
3496
|
}
|
|
3497
|
-
const
|
|
3497
|
+
const X = {}, Fn = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), er = (e, t) => {
|
|
3498
3498
|
if (t == null)
|
|
3499
3499
|
return;
|
|
3500
|
-
if (t in
|
|
3501
|
-
return
|
|
3500
|
+
if (t in X && e in X[t])
|
|
3501
|
+
return X[t][e];
|
|
3502
3502
|
const r = Oe(t);
|
|
3503
3503
|
for (let n = 0; n < r.length; n++) {
|
|
3504
3504
|
const i = r[n], s = Vn(i, e);
|
|
@@ -3507,7 +3507,7 @@ const q = {}, Fn = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][
|
|
|
3507
3507
|
}
|
|
3508
3508
|
};
|
|
3509
3509
|
let rt;
|
|
3510
|
-
const
|
|
3510
|
+
const le = Re({});
|
|
3511
3511
|
function jn(e) {
|
|
3512
3512
|
return rt[e] || null;
|
|
3513
3513
|
}
|
|
@@ -3531,13 +3531,13 @@ function zn(e) {
|
|
|
3531
3531
|
}
|
|
3532
3532
|
}
|
|
3533
3533
|
function rr(e, ...t) {
|
|
3534
|
-
delete
|
|
3534
|
+
delete X[e], le.update((r) => (r[e] = Xr.all([r[e] || {}, ...t]), r));
|
|
3535
3535
|
}
|
|
3536
|
-
|
|
3537
|
-
[
|
|
3536
|
+
ue(
|
|
3537
|
+
[le],
|
|
3538
3538
|
([e]) => Object.keys(e)
|
|
3539
3539
|
);
|
|
3540
|
-
|
|
3540
|
+
le.subscribe((e) => rt = e);
|
|
3541
3541
|
const Te = {};
|
|
3542
3542
|
function Zn(e, t) {
|
|
3543
3543
|
Te[e].delete(t), Te[e].size === 0 && delete Te[e];
|
|
@@ -3616,7 +3616,7 @@ const qn = {
|
|
|
3616
3616
|
handleMissingMessage: void 0,
|
|
3617
3617
|
ignoreTag: !0
|
|
3618
3618
|
}, Jn = Qn;
|
|
3619
|
-
function
|
|
3619
|
+
function ae() {
|
|
3620
3620
|
return Jn;
|
|
3621
3621
|
}
|
|
3622
3622
|
const Fe = Re(!1);
|
|
@@ -3633,11 +3633,11 @@ const Be = Re(null);
|
|
|
3633
3633
|
function xt(e) {
|
|
3634
3634
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3635
3635
|
}
|
|
3636
|
-
function Oe(e, t =
|
|
3636
|
+
function Oe(e, t = ae().fallbackLocale) {
|
|
3637
3637
|
const r = xt(e);
|
|
3638
3638
|
return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
|
|
3639
3639
|
}
|
|
3640
|
-
function
|
|
3640
|
+
function J() {
|
|
3641
3641
|
return et ?? void 0;
|
|
3642
3642
|
}
|
|
3643
3643
|
Be.subscribe((e) => {
|
|
@@ -3645,9 +3645,9 @@ Be.subscribe((e) => {
|
|
|
3645
3645
|
});
|
|
3646
3646
|
const si = (e) => {
|
|
3647
3647
|
if (e && zn(e) && Ke(e)) {
|
|
3648
|
-
const { loadingDelay: t } =
|
|
3648
|
+
const { loadingDelay: t } = ae();
|
|
3649
3649
|
let r;
|
|
3650
|
-
return typeof window < "u" &&
|
|
3650
|
+
return typeof window < "u" && J() != null && t ? r = window.setTimeout(
|
|
3651
3651
|
() => Fe.set(!0),
|
|
3652
3652
|
t
|
|
3653
3653
|
) : Fe.set(!0), ir(e).then(() => {
|
|
@@ -3657,7 +3657,7 @@ const si = (e) => {
|
|
|
3657
3657
|
});
|
|
3658
3658
|
}
|
|
3659
3659
|
return Be.set(e);
|
|
3660
|
-
},
|
|
3660
|
+
}, q = ii(ni({}, Be), {
|
|
3661
3661
|
set: si
|
|
3662
3662
|
}), Pe = (e) => {
|
|
3663
3663
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -3673,7 +3673,7 @@ var ai = Object.defineProperty, He = Object.getOwnPropertySymbols, sr = Object.p
|
|
|
3673
3673
|
for (var r of He(t))
|
|
3674
3674
|
ar.call(t, r) && Et(e, r, t[r]);
|
|
3675
3675
|
return e;
|
|
3676
|
-
},
|
|
3676
|
+
}, he = (e, t) => {
|
|
3677
3677
|
var r = {};
|
|
3678
3678
|
for (var n in e)
|
|
3679
3679
|
sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -3683,27 +3683,27 @@ var ai = Object.defineProperty, He = Object.getOwnPropertySymbols, sr = Object.p
|
|
|
3683
3683
|
return r;
|
|
3684
3684
|
};
|
|
3685
3685
|
const ge = (e, t) => {
|
|
3686
|
-
const { formats: r } =
|
|
3686
|
+
const { formats: r } = ae();
|
|
3687
3687
|
if (e in r && t in r[e])
|
|
3688
3688
|
return r[e][t];
|
|
3689
3689
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3690
3690
|
}, oi = Pe(
|
|
3691
3691
|
(e) => {
|
|
3692
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3692
|
+
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
3693
3693
|
if (r == null)
|
|
3694
3694
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3695
3695
|
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
3696
3696
|
}
|
|
3697
3697
|
), ui = Pe(
|
|
3698
3698
|
(e) => {
|
|
3699
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3699
|
+
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
3700
3700
|
if (r == null)
|
|
3701
3701
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3702
3702
|
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3703
3703
|
}
|
|
3704
3704
|
), li = Pe(
|
|
3705
3705
|
(e) => {
|
|
3706
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3706
|
+
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
3707
3707
|
if (r == null)
|
|
3708
3708
|
throw new Error(
|
|
3709
3709
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
@@ -3712,29 +3712,29 @@ const ge = (e, t) => {
|
|
|
3712
3712
|
}
|
|
3713
3713
|
), hi = (e = {}) => {
|
|
3714
3714
|
var t = e, {
|
|
3715
|
-
locale: r =
|
|
3716
|
-
} = t, n =
|
|
3715
|
+
locale: r = J()
|
|
3716
|
+
} = t, n = he(t, [
|
|
3717
3717
|
"locale"
|
|
3718
3718
|
]);
|
|
3719
3719
|
return oi(nt({ locale: r }, n));
|
|
3720
3720
|
}, ci = (e = {}) => {
|
|
3721
3721
|
var t = e, {
|
|
3722
|
-
locale: r =
|
|
3723
|
-
} = t, n =
|
|
3722
|
+
locale: r = J()
|
|
3723
|
+
} = t, n = he(t, [
|
|
3724
3724
|
"locale"
|
|
3725
3725
|
]);
|
|
3726
3726
|
return ui(nt({ locale: r }, n));
|
|
3727
3727
|
}, fi = (e = {}) => {
|
|
3728
3728
|
var t = e, {
|
|
3729
|
-
locale: r =
|
|
3730
|
-
} = t, n =
|
|
3729
|
+
locale: r = J()
|
|
3730
|
+
} = t, n = he(t, [
|
|
3731
3731
|
"locale"
|
|
3732
3732
|
]);
|
|
3733
3733
|
return li(nt({ locale: r }, n));
|
|
3734
3734
|
}, mi = Pe(
|
|
3735
3735
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3736
|
-
(e, t =
|
|
3737
|
-
ignoreTag:
|
|
3736
|
+
(e, t = J()) => new Gn(e, t, ae().formats, {
|
|
3737
|
+
ignoreTag: ae().ignoreTag
|
|
3738
3738
|
})
|
|
3739
3739
|
), di = (e, t = {}) => {
|
|
3740
3740
|
var r, n, i, s;
|
|
@@ -3742,7 +3742,7 @@ const ge = (e, t) => {
|
|
|
3742
3742
|
typeof e == "object" && (l = e, e = l.id);
|
|
3743
3743
|
const {
|
|
3744
3744
|
values: u,
|
|
3745
|
-
locale: c =
|
|
3745
|
+
locale: c = J(),
|
|
3746
3746
|
default: o
|
|
3747
3747
|
} = l;
|
|
3748
3748
|
if (c == null)
|
|
@@ -3751,7 +3751,7 @@ const ge = (e, t) => {
|
|
|
3751
3751
|
);
|
|
3752
3752
|
let a = er(e, c);
|
|
3753
3753
|
if (!a)
|
|
3754
|
-
a = (s = (i = (n = (r =
|
|
3754
|
+
a = (s = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
|
|
3755
3755
|
else if (typeof a != "string")
|
|
3756
3756
|
return console.warn(
|
|
3757
3757
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof a}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3768,21 +3768,21 @@ const ge = (e, t) => {
|
|
|
3768
3768
|
);
|
|
3769
3769
|
}
|
|
3770
3770
|
return h;
|
|
3771
|
-
}, pi = (e, t) => fi(t).format(e), bi = (e, t) => ci(t).format(e), gi = (e, t) => hi(t).format(e), yi = (e, t =
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3771
|
+
}, pi = (e, t) => fi(t).format(e), bi = (e, t) => ci(t).format(e), gi = (e, t) => hi(t).format(e), yi = (e, t = J()) => er(e, t), vi = ue([q, le], () => di);
|
|
3772
|
+
ue([q], () => pi);
|
|
3773
|
+
ue([q], () => bi);
|
|
3774
|
+
ue([q], () => gi);
|
|
3775
|
+
ue([q, le], () => yi);
|
|
3776
3776
|
function xi({ withLocale: e, translations: t }) {
|
|
3777
|
-
|
|
3778
|
-
r == null && (
|
|
3777
|
+
q.subscribe((r) => {
|
|
3778
|
+
r == null && (le.set(t), q.set(e));
|
|
3779
3779
|
});
|
|
3780
3780
|
}
|
|
3781
3781
|
function Ct(e, t) {
|
|
3782
3782
|
rr(e, t);
|
|
3783
3783
|
}
|
|
3784
3784
|
function Ei(e) {
|
|
3785
|
-
|
|
3785
|
+
q.set(e);
|
|
3786
3786
|
}
|
|
3787
3787
|
const _t = {
|
|
3788
3788
|
en: {
|
|
@@ -3911,15 +3911,15 @@ class Tt {
|
|
|
3911
3911
|
maxValue: r ? `: ${r}` : null
|
|
3912
3912
|
};
|
|
3913
3913
|
}
|
|
3914
|
-
static generateCasinoRule(t, r
|
|
3915
|
-
const
|
|
3914
|
+
static generateCasinoRule(t, r) {
|
|
3915
|
+
const n = ` ~ ${t("unlimited")}`, i = r.currency || "EUR", s = r.minStake?.amount[i] ? `: ${r.minStake.amount[i]} ${i}` : n, l = r.maxStake?.amount[i] ? `: ${r.maxStake.amount[i]} ${i}` : n;
|
|
3916
3916
|
return t("casinoRuleMinMaxBet", { values: { minBet: s, maxBet: l } });
|
|
3917
3917
|
}
|
|
3918
|
-
static generateSportsRule(t, r
|
|
3919
|
-
const
|
|
3920
|
-
|
|
3918
|
+
static generateSportsRule(t, r) {
|
|
3919
|
+
const n = [], i = ` ~ ${t("unlimited")}`, s = r.currency || "EUR", l = r.minStake?.amount[s] ? `: ${r.minStake.amount[s]} ${s}` : i, u = r.maxStake?.amount[s] ? `: ${r.maxStake.amount[s]} ${s}` : i;
|
|
3920
|
+
n.push(t("sportsRuleMinMaxBet", { values: { sportMinBet: l, sportMaxBet: u } }));
|
|
3921
3921
|
const c = r.config.liveMatch === "true", o = r.config.preLiveMatch === "true";
|
|
3922
|
-
c && o ?
|
|
3922
|
+
c && o ? n.push(t("matchTypePreAndLive")) : c ? n.push(`${t("matchTypeLive")}`) : o && n.push(`${t("matchTyppePre")}`);
|
|
3923
3923
|
const a = r.combination, h = [];
|
|
3924
3924
|
a.single.isEligible && h.push(t("betTypeSingle"));
|
|
3925
3925
|
const m = {
|
|
@@ -3931,19 +3931,19 @@ class Tt {
|
|
|
3931
3931
|
all: t("betBuilderOnly"),
|
|
3932
3932
|
none: t("notBuilderOnly")
|
|
3933
3933
|
};
|
|
3934
|
-
let E = "",
|
|
3935
|
-
const
|
|
3936
|
-
|
|
3934
|
+
let E = "", C = "";
|
|
3935
|
+
const S = `${t("oddsPerSelection")}: ${r.config.minOdds || t("unlimited")} - ${r.config.maxOdds || t("unlimited")}`, B = a.system.isEligible, H = a.multiple.isEligible;
|
|
3936
|
+
B && (E = ` ${t("betTypeSystem")}
|
|
3937
3937
|
( ${t("typeOfSelection")}: ${m[r.combination.system.banker?.include?.toString() || "null"]},
|
|
3938
3938
|
${t("numberOfSelection")}:
|
|
3939
3939
|
${a.system.minSelection?.number || t("unlimited")} - ${a.system.maxSelection?.number || t("unlimited")},
|
|
3940
|
-
${
|
|
3940
|
+
${S} ) `), H && (C = ` ${t("betTypeMultiple")}
|
|
3941
3941
|
( ${t("typeOfSelection")}: ${g[r.combination.multiple.betBuilder?.mode?.toString() || "unspecific"]},
|
|
3942
3942
|
${t("numberOfSelection")}:
|
|
3943
3943
|
${a.multiple.minSelection?.number || t("unlimited")} - ${a.multiple.maxSelection?.number || t("unlimited")},
|
|
3944
|
-
${
|
|
3945
|
-
const R = r.config.minTotalOdds ? `: ${r.config.minTotalOdds}` :
|
|
3946
|
-
return
|
|
3944
|
+
${S} ) `), B && H ? h.push(C + t("and") + E) : B ? h.push(E) : H && h.push(C), n.push(h.join(", "));
|
|
3945
|
+
const R = r.config.minTotalOdds ? `: ${r.config.minTotalOdds}` : i, M = r.config.maxTotalOdds ? `: ${r.config.maxTotalOdds}` : i;
|
|
3946
|
+
return n.push(`${t("sportsRuleMinMaxOdds", { values: { sportMinOdds: R, sportMaxOdds: M } })}`), n;
|
|
3947
3947
|
}
|
|
3948
3948
|
}
|
|
3949
3949
|
function Ai(e) {
|
|
@@ -3951,7 +3951,7 @@ function Ai(e) {
|
|
|
3951
3951
|
}
|
|
3952
3952
|
function wt(e, t, r) {
|
|
3953
3953
|
const n = e.slice();
|
|
3954
|
-
return n[
|
|
3954
|
+
return n[23] = t[r], n;
|
|
3955
3955
|
}
|
|
3956
3956
|
function St(e) {
|
|
3957
3957
|
let t, r = (
|
|
@@ -3960,10 +3960,10 @@ function St(e) {
|
|
|
3960
3960
|
), n;
|
|
3961
3961
|
return {
|
|
3962
3962
|
c() {
|
|
3963
|
-
t = new
|
|
3963
|
+
t = new oe(!1), n = Me(), t.a = n;
|
|
3964
3964
|
},
|
|
3965
3965
|
m(i, s) {
|
|
3966
|
-
t.m(r, i, s),
|
|
3966
|
+
t.m(r, i, s), Z(i, n, s);
|
|
3967
3967
|
},
|
|
3968
3968
|
p(i, s) {
|
|
3969
3969
|
s & /*$_*/
|
|
@@ -3982,10 +3982,10 @@ function Bt(e) {
|
|
|
3982
3982
|
), n;
|
|
3983
3983
|
return {
|
|
3984
3984
|
c() {
|
|
3985
|
-
t = new
|
|
3985
|
+
t = new oe(!1), n = Me(), t.a = n;
|
|
3986
3986
|
},
|
|
3987
3987
|
m(i, s) {
|
|
3988
|
-
t.m(r, i, s),
|
|
3988
|
+
t.m(r, i, s), Z(i, n, s);
|
|
3989
3989
|
},
|
|
3990
3990
|
p(i, s) {
|
|
3991
3991
|
s & /*$_*/
|
|
@@ -4004,10 +4004,10 @@ function Ht(e) {
|
|
|
4004
4004
|
), n;
|
|
4005
4005
|
return {
|
|
4006
4006
|
c() {
|
|
4007
|
-
t = new
|
|
4007
|
+
t = new oe(!1), n = Me(), t.a = n;
|
|
4008
4008
|
},
|
|
4009
4009
|
m(i, s) {
|
|
4010
|
-
t.m(r, i, s),
|
|
4010
|
+
t.m(r, i, s), Z(i, n, s);
|
|
4011
4011
|
},
|
|
4012
4012
|
p(i, s) {
|
|
4013
4013
|
s & /*$_*/
|
|
@@ -4026,10 +4026,10 @@ function Mt(e) {
|
|
|
4026
4026
|
), n;
|
|
4027
4027
|
return {
|
|
4028
4028
|
c() {
|
|
4029
|
-
t = new
|
|
4029
|
+
t = new oe(!1), n = Me(), t.a = n;
|
|
4030
4030
|
},
|
|
4031
4031
|
m(i, s) {
|
|
4032
|
-
t.m(r, i, s),
|
|
4032
|
+
t.m(r, i, s), Z(i, n, s);
|
|
4033
4033
|
},
|
|
4034
4034
|
p(i, s) {
|
|
4035
4035
|
s & /*$_*/
|
|
@@ -4048,13 +4048,13 @@ function Rt(e) {
|
|
|
4048
4048
|
), u, c;
|
|
4049
4049
|
return {
|
|
4050
4050
|
c() {
|
|
4051
|
-
t = _("div"), r = _("div"), r.innerHTML = `<img src="${Mi}"/>`, n = A(), i = _("div"), s = new
|
|
4051
|
+
t = _("div"), r = _("div"), r.innerHTML = `<img src="${Mi}"/>`, n = A(), i = _("div"), s = new oe(!1), u = W(":"), c = W(
|
|
4052
4052
|
/*casinoRules*/
|
|
4053
4053
|
e[9]
|
|
4054
4054
|
), p(r, "class", "RuleIcon"), p(r, "part", "RuleIcon"), s.a = u, p(i, "class", "RuleTxt"), p(i, "part", "RuleTxt"), p(t, "class", "RulesRow"), p(t, "part", "rule");
|
|
4055
4055
|
},
|
|
4056
4056
|
m(o, a) {
|
|
4057
|
-
|
|
4057
|
+
Z(o, t, a), b(t, r), b(t, n), b(t, i), s.m(l, i), b(i, u), b(i, c);
|
|
4058
4058
|
},
|
|
4059
4059
|
p(o, a) {
|
|
4060
4060
|
a & /*$_*/
|
|
@@ -4083,14 +4083,14 @@ function At(e) {
|
|
|
4083
4083
|
a[h] = Lt(wt(e, o, h));
|
|
4084
4084
|
return {
|
|
4085
4085
|
c() {
|
|
4086
|
-
t = _("div"), r = _("div"), r.innerHTML = `<img src="${Ri}"/>`, n = A(), i = _("div"), s = new
|
|
4086
|
+
t = _("div"), r = _("div"), r.innerHTML = `<img src="${Ri}"/>`, n = A(), i = _("div"), s = new oe(!1), u = W(`:
|
|
4087
4087
|
`), c = _("ul");
|
|
4088
4088
|
for (let h = 0; h < a.length; h += 1)
|
|
4089
4089
|
a[h].c();
|
|
4090
4090
|
p(r, "class", "RuleIcon"), p(r, "part", "RuleIcon"), s.a = u, p(c, "class", "SportsRules"), p(i, "class", "RuleTxt"), p(i, "part", "RuleTxt"), p(t, "class", "RulesRow"), p(t, "part", "rule");
|
|
4091
4091
|
},
|
|
4092
4092
|
m(h, f) {
|
|
4093
|
-
|
|
4093
|
+
Z(h, t, f), b(t, r), b(t, n), b(t, i), s.m(l, i), b(i, u), b(i, c);
|
|
4094
4094
|
for (let m = 0; m < a.length; m += 1)
|
|
4095
4095
|
a[m] && a[m].m(c, null);
|
|
4096
4096
|
},
|
|
@@ -4121,19 +4121,19 @@ function At(e) {
|
|
|
4121
4121
|
function Lt(e) {
|
|
4122
4122
|
let t, r = (
|
|
4123
4123
|
/*rule*/
|
|
4124
|
-
e[
|
|
4124
|
+
e[23] + ""
|
|
4125
4125
|
), n;
|
|
4126
4126
|
return {
|
|
4127
4127
|
c() {
|
|
4128
|
-
t = _("li"), n =
|
|
4128
|
+
t = _("li"), n = W(r), p(t, "class", "RuleTxt"), p(t, "part", "RuleTxt");
|
|
4129
4129
|
},
|
|
4130
4130
|
m(i, s) {
|
|
4131
|
-
|
|
4131
|
+
Z(i, t, s), b(t, n);
|
|
4132
4132
|
},
|
|
4133
4133
|
p(i, s) {
|
|
4134
4134
|
s & /*sportRules*/
|
|
4135
4135
|
256 && r !== (r = /*rule*/
|
|
4136
|
-
i[
|
|
4136
|
+
i[23] + "") && we(n, r);
|
|
4137
4137
|
},
|
|
4138
4138
|
d(i) {
|
|
4139
4139
|
i && j(t);
|
|
@@ -4149,7 +4149,7 @@ function Li(e) {
|
|
|
4149
4149
|
e[3]
|
|
4150
4150
|
) }
|
|
4151
4151
|
}) + ""
|
|
4152
|
-
), E, S,
|
|
4152
|
+
), E, C, S, B, H, R, M = (
|
|
4153
4153
|
/*$_*/
|
|
4154
4154
|
e[10]("timePeriod", {
|
|
4155
4155
|
values: {
|
|
@@ -4163,55 +4163,55 @@ function Li(e) {
|
|
|
4163
4163
|
)
|
|
4164
4164
|
}
|
|
4165
4165
|
}) + ""
|
|
4166
|
-
),
|
|
4166
|
+
), V, Q, d, G, ce, Y, ve = (
|
|
4167
4167
|
/*$_*/
|
|
4168
4168
|
e[10]("terms", { values: { tcUrl: (
|
|
4169
4169
|
/*tcurl*/
|
|
4170
4170
|
e[6]
|
|
4171
4171
|
) } }) + ""
|
|
4172
|
-
), it, fe, xe, st, Ne,
|
|
4172
|
+
), it, fe, xe, st, Ne, O = (
|
|
4173
4173
|
/*scorecriterial*/
|
|
4174
4174
|
e[2] == "BetCount" && St(e)
|
|
4175
|
-
),
|
|
4175
|
+
), P = (
|
|
4176
4176
|
/*scorecriterial*/
|
|
4177
4177
|
e[2] == "WinStakeRatio" && Bt(e)
|
|
4178
|
-
),
|
|
4178
|
+
), N = (
|
|
4179
4179
|
/*scorecriterial*/
|
|
4180
4180
|
e[2] == "MaxWinStakeRatio" && Ht(e)
|
|
4181
|
-
),
|
|
4181
|
+
), I = (
|
|
4182
4182
|
/*scorecriterial*/
|
|
4183
4183
|
e[2] == "Stake" && Mt(e)
|
|
4184
4184
|
), $ = (
|
|
4185
4185
|
/*casinowallet*/
|
|
4186
4186
|
e[1] && Rt(e)
|
|
4187
|
-
),
|
|
4187
|
+
), k = (
|
|
4188
4188
|
/*sportswallet*/
|
|
4189
4189
|
e[0] && /*sportRules*/
|
|
4190
4190
|
e[8].length && At(e)
|
|
4191
4191
|
);
|
|
4192
4192
|
return {
|
|
4193
4193
|
c() {
|
|
4194
|
-
t = _("div"), r = _("div"), n = _("div"), n.innerHTML = `<img src="${wi}"/>`, i = A(), s = _("div"),
|
|
4194
|
+
t = _("div"), r = _("div"), n = _("div"), n.innerHTML = `<img src="${wi}"/>`, i = A(), s = _("div"), O && O.c(), l = A(), P && P.c(), u = A(), N && N.c(), c = A(), I && I.c(), o = A(), a = _("div"), h = _("div"), h.innerHTML = `<img src="${Si}"/>`, f = A(), m = _("div"), E = W(g), C = A(), S = _("div"), B = _("div"), B.innerHTML = `<img src="${Bi}"/>`, H = A(), R = _("div"), V = W(M), Q = A(), d = _("div"), G = _("div"), G.innerHTML = `<img src="${Hi}"/>`, ce = A(), Y = _("div"), it = A(), fe = _("span"), st = A(), $ && $.c(), Ne = A(), k && k.c(), p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), p(s, "class", "RuleTxt"), p(s, "part", "RuleTxt"), p(r, "class", "RulesRow"), p(r, "part", "rule"), p(h, "class", "RuleIcon"), p(h, "part", "RuleIcon"), p(m, "class", "RuleTxt"), p(m, "part", "RuleTxt"), p(a, "class", "RulesRow"), p(a, "part", "rule"), p(B, "class", "RuleIcon"), p(B, "part", "RuleIcon"), p(R, "class", "RuleTxt"), p(R, "part", "RuleTxt"), p(S, "class", "RulesRow"), p(S, "part", "rule"), p(G, "class", "RuleIcon"), p(G, "part", "RuleIcon"), p(Y, "class", "RuleTxt"), p(Y, "part", "RuleTxt"), p(d, "class", "RulesRow"), p(d, "part", "rule"), p(fe, "type", "hidden"), p(fe, "href", xe = { tcurl: (
|
|
4195
4195
|
/*tcurl*/
|
|
4196
4196
|
e[6]
|
|
4197
4197
|
) }), p(t, "class", "casino-tournaments-thumbnail-rule"), p(t, "part", "casino-tournaments-thumbnail-rule");
|
|
4198
4198
|
},
|
|
4199
|
-
m(x,
|
|
4200
|
-
|
|
4199
|
+
m(x, D) {
|
|
4200
|
+
Z(x, t, D), b(t, r), b(r, n), b(r, i), b(r, s), O && O.m(s, null), b(s, l), P && P.m(s, null), b(s, u), N && N.m(s, null), b(s, c), I && I.m(s, null), b(t, o), b(t, a), b(a, h), b(a, f), b(a, m), b(m, E), b(t, C), b(t, S), b(S, B), b(S, H), b(S, R), b(R, V), b(t, Q), b(t, d), b(d, G), b(d, ce), b(d, Y), Y.innerHTML = ve, b(t, it), b(t, fe), b(t, st), $ && $.m(t, null), b(t, Ne), k && k.m(t, null), e[16](t);
|
|
4201
4201
|
},
|
|
4202
|
-
p(x, [
|
|
4202
|
+
p(x, [D]) {
|
|
4203
4203
|
/*scorecriterial*/
|
|
4204
|
-
x[2] == "BetCount" ?
|
|
4205
|
-
x[2] == "WinStakeRatio" ?
|
|
4206
|
-
x[2] == "MaxWinStakeRatio" ?
|
|
4207
|
-
x[2] == "Stake" ?
|
|
4204
|
+
x[2] == "BetCount" ? O ? O.p(x, D) : (O = St(x), O.c(), O.m(s, l)) : O && (O.d(1), O = null), /*scorecriterial*/
|
|
4205
|
+
x[2] == "WinStakeRatio" ? P ? P.p(x, D) : (P = Bt(x), P.c(), P.m(s, u)) : P && (P.d(1), P = null), /*scorecriterial*/
|
|
4206
|
+
x[2] == "MaxWinStakeRatio" ? N ? N.p(x, D) : (N = Ht(x), N.c(), N.m(s, c)) : N && (N.d(1), N = null), /*scorecriterial*/
|
|
4207
|
+
x[2] == "Stake" ? I ? I.p(x, D) : (I = Mt(x), I.c(), I.m(s, null)) : I && (I.d(1), I = null), D & /*$_, betcount*/
|
|
4208
4208
|
1032 && g !== (g = /*$_*/
|
|
4209
4209
|
x[10]("miniBetCount", {
|
|
4210
4210
|
values: { betCount: (
|
|
4211
4211
|
/*betcount*/
|
|
4212
4212
|
x[3]
|
|
4213
4213
|
) }
|
|
4214
|
-
}) + "") && we(E, g),
|
|
4214
|
+
}) + "") && we(E, g), D & /*$_, starttime, endtime*/
|
|
4215
4215
|
1072 && M !== (M = /*$_*/
|
|
4216
4216
|
x[10]("timePeriod", {
|
|
4217
4217
|
values: {
|
|
@@ -4224,69 +4224,69 @@ function Li(e) {
|
|
|
4224
4224
|
x[5]
|
|
4225
4225
|
)
|
|
4226
4226
|
}
|
|
4227
|
-
}) + "") && we(
|
|
4227
|
+
}) + "") && we(V, M), D & /*$_, tcurl*/
|
|
4228
4228
|
1088 && ve !== (ve = /*$_*/
|
|
4229
4229
|
x[10]("terms", { values: { tcUrl: (
|
|
4230
4230
|
/*tcurl*/
|
|
4231
4231
|
x[6]
|
|
4232
|
-
) } }) + "") && (
|
|
4232
|
+
) } }) + "") && (Y.innerHTML = ve), D & /*tcurl*/
|
|
4233
4233
|
64 && xe !== (xe = { tcurl: (
|
|
4234
4234
|
/*tcurl*/
|
|
4235
4235
|
x[6]
|
|
4236
4236
|
) }) && p(fe, "href", xe), /*casinowallet*/
|
|
4237
|
-
x[1] ? $ ? $.p(x,
|
|
4237
|
+
x[1] ? $ ? $.p(x, D) : ($ = Rt(x), $.c(), $.m(t, Ne)) : $ && ($.d(1), $ = null), /*sportswallet*/
|
|
4238
4238
|
x[0] && /*sportRules*/
|
|
4239
|
-
x[8].length ?
|
|
4239
|
+
x[8].length ? k ? k.p(x, D) : (k = At(x), k.c(), k.m(t, null)) : k && (k.d(1), k = null);
|
|
4240
4240
|
},
|
|
4241
4241
|
i: F,
|
|
4242
4242
|
o: F,
|
|
4243
4243
|
d(x) {
|
|
4244
|
-
x && j(t),
|
|
4244
|
+
x && j(t), O && O.d(), P && P.d(), N && N.d(), I && I.d(), $ && $.d(), k && k.d(), e[16](null);
|
|
4245
4245
|
}
|
|
4246
4246
|
};
|
|
4247
4247
|
}
|
|
4248
4248
|
function Oi(e, t, r) {
|
|
4249
4249
|
let n;
|
|
4250
4250
|
ur(e, vi, (d) => r(10, n = d));
|
|
4251
|
-
let { lang: i = "tr" } = t, { scorecriterial: s = "BetCount" } = t, { betcount: l } = t, { starttime: u } = t, { endtime: c } = t, { tcurl: o } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, { mbsource: m } = t, { sportswallet: g } = t, { casinowallet: E } = t,
|
|
4251
|
+
let { lang: i = "tr" } = t, { scorecriterial: s = "BetCount" } = t, { betcount: l } = t, { starttime: u } = t, { endtime: c } = t, { tcurl: o } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, { mbsource: m } = t, { sportswallet: g } = t, { casinowallet: E } = t, C, S = [], B = "";
|
|
4252
4252
|
xi({ withLocale: "en", translations: {} });
|
|
4253
|
-
const
|
|
4254
|
-
fetch(f).then((
|
|
4255
|
-
Object.keys(
|
|
4256
|
-
Ct(
|
|
4253
|
+
const H = () => {
|
|
4254
|
+
fetch(f).then((G) => G.json()).then((G) => {
|
|
4255
|
+
Object.keys(G).forEach((ce) => {
|
|
4256
|
+
Ct(ce, G[ce]);
|
|
4257
4257
|
});
|
|
4258
|
-
}).catch((
|
|
4259
|
-
console.error(
|
|
4258
|
+
}).catch((G) => {
|
|
4259
|
+
console.error(G);
|
|
4260
4260
|
});
|
|
4261
4261
|
};
|
|
4262
4262
|
Object.keys(_t).forEach((d) => {
|
|
4263
4263
|
Ct(d, _t[d]);
|
|
4264
4264
|
});
|
|
4265
|
-
const
|
|
4265
|
+
const R = () => {
|
|
4266
4266
|
Ei(i);
|
|
4267
|
-
},
|
|
4267
|
+
}, M = (d) => {
|
|
4268
4268
|
d.data && d.data.type && d.type == "TournamentsWalletsUpdate" && (r(1, E = d.data.wallet.casino), r(0, g = d.data.wallet.sports));
|
|
4269
|
-
},
|
|
4270
|
-
r(9, B = E ? Tt.generateCasinoRule(n, E
|
|
4269
|
+
}, V = () => {
|
|
4270
|
+
r(9, B = E ? Tt.generateCasinoRule(n, E) : ""), r(8, S = g ? Tt.generateSportsRule(n, g) : []);
|
|
4271
4271
|
};
|
|
4272
|
-
gr(() => (window.addEventListener("message",
|
|
4273
|
-
window.removeEventListener("message",
|
|
4272
|
+
gr(() => (window.addEventListener("message", M, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
|
|
4273
|
+
window.removeEventListener("message", M);
|
|
4274
4274
|
}));
|
|
4275
|
-
function
|
|
4275
|
+
function Q(d) {
|
|
4276
4276
|
je[d ? "unshift" : "push"](() => {
|
|
4277
4277
|
C = d, r(7, C);
|
|
4278
4278
|
});
|
|
4279
4279
|
}
|
|
4280
4280
|
return e.$$set = (d) => {
|
|
4281
|
-
"lang" in d && r(11, i = d.lang), "scorecriterial" in d && r(2, s = d.scorecriterial), "betcount" in d && r(3, l = d.betcount), "starttime" in d && r(4, u = d.starttime), "endtime" in d && r(5, c = d.endtime), "tcurl" in d && r(6, o = d.tcurl), "clientstyling" in d && r(12, a = d.clientstyling), "clientstylingurl" in d && r(13, h = d.clientstylingurl), "translationurl" in d && r(14, f = d.translationurl), "mbsource" in d && r(15, m = d.mbsource), "sportswallet" in d && r(0, g = d.sportswallet), "casinowallet" in d && r(1, E = d.casinowallet)
|
|
4281
|
+
"lang" in d && r(11, i = d.lang), "scorecriterial" in d && r(2, s = d.scorecriterial), "betcount" in d && r(3, l = d.betcount), "starttime" in d && r(4, u = d.starttime), "endtime" in d && r(5, c = d.endtime), "tcurl" in d && r(6, o = d.tcurl), "clientstyling" in d && r(12, a = d.clientstyling), "clientstylingurl" in d && r(13, h = d.clientstylingurl), "translationurl" in d && r(14, f = d.translationurl), "mbsource" in d && r(15, m = d.mbsource), "sportswallet" in d && r(0, g = d.sportswallet), "casinowallet" in d && r(1, E = d.casinowallet);
|
|
4282
4282
|
}, e.$$.update = () => {
|
|
4283
4283
|
e.$$.dirty & /*lang*/
|
|
4284
|
-
2048 && i &&
|
|
4285
|
-
3 && (g || E) &&
|
|
4284
|
+
2048 && i && R(), e.$$.dirty & /*sportswallet, casinowallet*/
|
|
4285
|
+
3 && (g || E) && V(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4286
4286
|
4224 && a && C && Ci(C, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4287
4287
|
8320 && h && C && _i(C, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4288
4288
|
32896 && m && C && Ti(C, `${m}.Style`), e.$$.dirty & /*translationurl*/
|
|
4289
|
-
16384 && f &&
|
|
4289
|
+
16384 && f && H();
|
|
4290
4290
|
}, [
|
|
4291
4291
|
g,
|
|
4292
4292
|
E,
|
|
@@ -4296,7 +4296,7 @@ function Oi(e, t, r) {
|
|
|
4296
4296
|
c,
|
|
4297
4297
|
o,
|
|
4298
4298
|
C,
|
|
4299
|
-
|
|
4299
|
+
S,
|
|
4300
4300
|
B,
|
|
4301
4301
|
n,
|
|
4302
4302
|
i,
|
|
@@ -4304,8 +4304,7 @@ function Oi(e, t, r) {
|
|
|
4304
4304
|
h,
|
|
4305
4305
|
f,
|
|
4306
4306
|
m,
|
|
4307
|
-
|
|
4308
|
-
Z
|
|
4307
|
+
Q
|
|
4309
4308
|
];
|
|
4310
4309
|
}
|
|
4311
4310
|
class Pi extends Mr {
|
|
@@ -4328,8 +4327,7 @@ class Pi extends Mr {
|
|
|
4328
4327
|
translationurl: 14,
|
|
4329
4328
|
mbsource: 15,
|
|
4330
4329
|
sportswallet: 0,
|
|
4331
|
-
casinowallet: 1
|
|
4332
|
-
currency: 16
|
|
4330
|
+
casinowallet: 1
|
|
4333
4331
|
},
|
|
4334
4332
|
Ai
|
|
4335
4333
|
);
|
|
@@ -4338,82 +4336,76 @@ class Pi extends Mr {
|
|
|
4338
4336
|
return this.$$.ctx[11];
|
|
4339
4337
|
}
|
|
4340
4338
|
set lang(t) {
|
|
4341
|
-
this.$$set({ lang: t }),
|
|
4339
|
+
this.$$set({ lang: t }), U();
|
|
4342
4340
|
}
|
|
4343
4341
|
get scorecriterial() {
|
|
4344
4342
|
return this.$$.ctx[2];
|
|
4345
4343
|
}
|
|
4346
4344
|
set scorecriterial(t) {
|
|
4347
|
-
this.$$set({ scorecriterial: t }),
|
|
4345
|
+
this.$$set({ scorecriterial: t }), U();
|
|
4348
4346
|
}
|
|
4349
4347
|
get betcount() {
|
|
4350
4348
|
return this.$$.ctx[3];
|
|
4351
4349
|
}
|
|
4352
4350
|
set betcount(t) {
|
|
4353
|
-
this.$$set({ betcount: t }),
|
|
4351
|
+
this.$$set({ betcount: t }), U();
|
|
4354
4352
|
}
|
|
4355
4353
|
get starttime() {
|
|
4356
4354
|
return this.$$.ctx[4];
|
|
4357
4355
|
}
|
|
4358
4356
|
set starttime(t) {
|
|
4359
|
-
this.$$set({ starttime: t }),
|
|
4357
|
+
this.$$set({ starttime: t }), U();
|
|
4360
4358
|
}
|
|
4361
4359
|
get endtime() {
|
|
4362
4360
|
return this.$$.ctx[5];
|
|
4363
4361
|
}
|
|
4364
4362
|
set endtime(t) {
|
|
4365
|
-
this.$$set({ endtime: t }),
|
|
4363
|
+
this.$$set({ endtime: t }), U();
|
|
4366
4364
|
}
|
|
4367
4365
|
get tcurl() {
|
|
4368
4366
|
return this.$$.ctx[6];
|
|
4369
4367
|
}
|
|
4370
4368
|
set tcurl(t) {
|
|
4371
|
-
this.$$set({ tcurl: t }),
|
|
4369
|
+
this.$$set({ tcurl: t }), U();
|
|
4372
4370
|
}
|
|
4373
4371
|
get clientstyling() {
|
|
4374
4372
|
return this.$$.ctx[12];
|
|
4375
4373
|
}
|
|
4376
4374
|
set clientstyling(t) {
|
|
4377
|
-
this.$$set({ clientstyling: t }),
|
|
4375
|
+
this.$$set({ clientstyling: t }), U();
|
|
4378
4376
|
}
|
|
4379
4377
|
get clientstylingurl() {
|
|
4380
4378
|
return this.$$.ctx[13];
|
|
4381
4379
|
}
|
|
4382
4380
|
set clientstylingurl(t) {
|
|
4383
|
-
this.$$set({ clientstylingurl: t }),
|
|
4381
|
+
this.$$set({ clientstylingurl: t }), U();
|
|
4384
4382
|
}
|
|
4385
4383
|
get translationurl() {
|
|
4386
4384
|
return this.$$.ctx[14];
|
|
4387
4385
|
}
|
|
4388
4386
|
set translationurl(t) {
|
|
4389
|
-
this.$$set({ translationurl: t }),
|
|
4387
|
+
this.$$set({ translationurl: t }), U();
|
|
4390
4388
|
}
|
|
4391
4389
|
get mbsource() {
|
|
4392
4390
|
return this.$$.ctx[15];
|
|
4393
4391
|
}
|
|
4394
4392
|
set mbsource(t) {
|
|
4395
|
-
this.$$set({ mbsource: t }),
|
|
4393
|
+
this.$$set({ mbsource: t }), U();
|
|
4396
4394
|
}
|
|
4397
4395
|
get sportswallet() {
|
|
4398
4396
|
return this.$$.ctx[0];
|
|
4399
4397
|
}
|
|
4400
4398
|
set sportswallet(t) {
|
|
4401
|
-
this.$$set({ sportswallet: t }),
|
|
4399
|
+
this.$$set({ sportswallet: t }), U();
|
|
4402
4400
|
}
|
|
4403
4401
|
get casinowallet() {
|
|
4404
4402
|
return this.$$.ctx[1];
|
|
4405
4403
|
}
|
|
4406
4404
|
set casinowallet(t) {
|
|
4407
|
-
this.$$set({ casinowallet: t }),
|
|
4408
|
-
}
|
|
4409
|
-
get currency() {
|
|
4410
|
-
return this.$$.ctx[16];
|
|
4411
|
-
}
|
|
4412
|
-
set currency(t) {
|
|
4413
|
-
this.$$set({ currency: t }), L();
|
|
4405
|
+
this.$$set({ casinowallet: t }), U();
|
|
4414
4406
|
}
|
|
4415
4407
|
}
|
|
4416
|
-
Hr(Pi, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, sportswallet: {}, casinowallet: {}
|
|
4408
|
+
Hr(Pi, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, sportswallet: {}, casinowallet: {} }, [], [], !0);
|
|
4417
4409
|
export {
|
|
4418
4410
|
Pi as C
|
|
4419
4411
|
};
|