@everymatrix/casino-tournaments-thumbnail-rule 1.55.0 → 1.56.0
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-DL_4Wyn5.js → CasinoTournamentsThumbnailRule-BQXOGyrx.js} +358 -360
- package/components/CasinoTournamentsThumbnailRule-NeZ_OST2.cjs +3 -0
- package/components/{CasinoTournamentsThumbnailRule-BSDed-B_.js → CasinoTournamentsThumbnailRule-lIUfLhJp.js} +371 -373
- 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
- package/components/CasinoTournamentsThumbnailRule-BChTCUqK.cjs +0 -3
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Ie = (e, t, r) => t in e ?
|
|
1
|
+
var lr = Object.defineProperty, hr = Object.defineProperties;
|
|
2
|
+
var cr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var st = Object.getOwnPropertySymbols;
|
|
4
|
+
var fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ie = (e, t, r) => t in e ? lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
fr.call(t, r) && Ie(e, r, t[r]);
|
|
8
|
+
if (st)
|
|
9
|
+
for (var r of st(t))
|
|
10
|
+
mr.call(t, r) && Ie(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, lt = (e, t) => hr(e, cr(t));
|
|
13
13
|
var M = (e, t, r) => Ie(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var
|
|
14
|
+
var ht = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
s(r.next(l));
|
|
@@ -29,25 +29,25 @@ var ft = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function Z() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Lt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function ct() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function Ee(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(Lt);
|
|
40
40
|
}
|
|
41
41
|
function nt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Pt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function dr(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Ot(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
@@ -56,20 +56,20 @@ function $t(e, ...t) {
|
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function pr(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push(Ot(t, r));
|
|
61
61
|
}
|
|
62
62
|
function p(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function br(e, t, r) {
|
|
66
|
+
const n = gr(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
68
|
const i = x("style");
|
|
69
|
-
i.id = t, i.textContent = r,
|
|
69
|
+
i.id = t, i.textContent = r, yr(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function gr(e) {
|
|
73
73
|
if (!e) return document;
|
|
74
74
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
75
75
|
return t && /** @type {ShadowRoot} */
|
|
@@ -78,7 +78,7 @@ function vr(e) {
|
|
|
78
78
|
t
|
|
79
79
|
) : e.ownerDocument;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function yr(e, t) {
|
|
82
82
|
return p(
|
|
83
83
|
/** @type {Document} */
|
|
84
84
|
e.head || e,
|
|
@@ -94,7 +94,7 @@ function H(e) {
|
|
|
94
94
|
function x(e) {
|
|
95
95
|
return document.createElement(e);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function vr(e) {
|
|
98
98
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
99
99
|
}
|
|
100
100
|
function X(e) {
|
|
@@ -109,7 +109,7 @@ function Re() {
|
|
|
109
109
|
function m(e, t, r) {
|
|
110
110
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function _r(e) {
|
|
113
113
|
return Array.from(e.childNodes);
|
|
114
114
|
}
|
|
115
115
|
function Y(e, t) {
|
|
@@ -147,7 +147,7 @@ class ke {
|
|
|
147
147
|
* @returns {void}
|
|
148
148
|
*/
|
|
149
149
|
m(t, r, n = null) {
|
|
150
|
-
this.e || (this.is_svg ? this.e =
|
|
150
|
+
this.e || (this.is_svg ? this.e = vr(
|
|
151
151
|
/** @type {keyof SVGElementTagNameMap} */
|
|
152
152
|
r.nodeName
|
|
153
153
|
) : this.e = x(
|
|
@@ -186,7 +186,7 @@ class ke {
|
|
|
186
186
|
this.n.forEach(H);
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function Er(e) {
|
|
190
190
|
const t = {};
|
|
191
191
|
return e.childNodes.forEach(
|
|
192
192
|
/** @param {Element} node */
|
|
@@ -199,19 +199,19 @@ let ye;
|
|
|
199
199
|
function ge(e) {
|
|
200
200
|
ye = e;
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function xr() {
|
|
203
203
|
if (!ye) throw new Error("Function called outside component initialization");
|
|
204
204
|
return ye;
|
|
205
205
|
}
|
|
206
|
-
function
|
|
207
|
-
|
|
206
|
+
function Tr(e) {
|
|
207
|
+
xr().$$.on_mount.push(e);
|
|
208
208
|
}
|
|
209
209
|
const se = [], ze = [];
|
|
210
210
|
let ue = [];
|
|
211
|
-
const
|
|
211
|
+
const ft = [], Br = /* @__PURE__ */ Promise.resolve();
|
|
212
212
|
let Xe = !1;
|
|
213
|
-
function
|
|
214
|
-
Xe || (Xe = !0,
|
|
213
|
+
function wr() {
|
|
214
|
+
Xe || (Xe = !0, Br.then(z));
|
|
215
215
|
}
|
|
216
216
|
function We(e) {
|
|
217
217
|
ue.push(e);
|
|
@@ -226,7 +226,7 @@ function z() {
|
|
|
226
226
|
try {
|
|
227
227
|
for (; oe < se.length; ) {
|
|
228
228
|
const t = se[oe];
|
|
229
|
-
oe++, ge(t),
|
|
229
|
+
oe++, ge(t), Hr(t.$$);
|
|
230
230
|
}
|
|
231
231
|
} catch (t) {
|
|
232
232
|
throw se.length = 0, oe = 0, t;
|
|
@@ -238,40 +238,40 @@ function z() {
|
|
|
238
238
|
}
|
|
239
239
|
ue.length = 0;
|
|
240
240
|
} while (se.length);
|
|
241
|
-
for (;
|
|
242
|
-
|
|
241
|
+
for (; ft.length; )
|
|
242
|
+
ft.pop()();
|
|
243
243
|
Xe = !1, $e.clear(), ge(e);
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function Hr(e) {
|
|
246
246
|
if (e.fragment !== null) {
|
|
247
247
|
e.update(), Ee(e.before_update);
|
|
248
248
|
const t = e.dirty;
|
|
249
249
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function Cr(e) {
|
|
253
253
|
const t = [], r = [];
|
|
254
254
|
ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
|
|
255
255
|
}
|
|
256
|
-
const
|
|
257
|
-
function
|
|
258
|
-
e && e.i && (
|
|
256
|
+
const Sr = /* @__PURE__ */ new Set();
|
|
257
|
+
function Mr(e, t) {
|
|
258
|
+
e && e.i && (Sr.delete(e), e.i(t));
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function Rr(e, t, r) {
|
|
261
261
|
const { fragment: n, after_update: i } = e.$$;
|
|
262
262
|
n && n.m(t, r), We(() => {
|
|
263
|
-
const o = e.$$.on_mount.map(
|
|
263
|
+
const o = e.$$.on_mount.map(Lt).filter(nt);
|
|
264
264
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ee(o), e.$$.on_mount = [];
|
|
265
265
|
}), i.forEach(We);
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function kr(e, t) {
|
|
268
268
|
const r = e.$$;
|
|
269
|
-
r.fragment !== null && (
|
|
269
|
+
r.fragment !== null && (Cr(r.after_update), Ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
270
270
|
}
|
|
271
|
-
function
|
|
272
|
-
e.$$.dirty[0] === -1 && (se.push(e),
|
|
271
|
+
function Nr(e, t) {
|
|
272
|
+
e.$$.dirty[0] === -1 && (se.push(e), wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function Ar(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
275
275
|
const l = ye;
|
|
276
276
|
ge(e);
|
|
277
277
|
const u = e.$$ = {
|
|
@@ -281,7 +281,7 @@ function Pr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
281
281
|
props: o,
|
|
282
282
|
update: Z,
|
|
283
283
|
not_equal: i,
|
|
284
|
-
bound:
|
|
284
|
+
bound: ct(),
|
|
285
285
|
// lifecycle
|
|
286
286
|
on_mount: [],
|
|
287
287
|
on_destroy: [],
|
|
@@ -290,7 +290,7 @@ function Pr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
290
290
|
after_update: [],
|
|
291
291
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
292
292
|
// everything else
|
|
293
|
-
callbacks:
|
|
293
|
+
callbacks: ct(),
|
|
294
294
|
dirty: s,
|
|
295
295
|
skip_bound: !1,
|
|
296
296
|
root: t.target || l.$$.root
|
|
@@ -299,19 +299,19 @@ function Pr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
299
299
|
let h = !1;
|
|
300
300
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
|
|
301
301
|
const y = g.length ? g[0] : f;
|
|
302
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h &&
|
|
302
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && Nr(e, c)), f;
|
|
303
303
|
}) : [], u.update(), h = !0, Ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
304
304
|
if (t.hydrate) {
|
|
305
|
-
const c =
|
|
305
|
+
const c = _r(t.target);
|
|
306
306
|
u.fragment && u.fragment.l(c), c.forEach(H);
|
|
307
307
|
} else
|
|
308
308
|
u.fragment && u.fragment.c();
|
|
309
|
-
t.intro &&
|
|
309
|
+
t.intro && Mr(e.$$.fragment), Rr(e, t.target, t.anchor), z();
|
|
310
310
|
}
|
|
311
311
|
ge(l);
|
|
312
312
|
}
|
|
313
|
-
let
|
|
314
|
-
typeof HTMLElement == "function" && (
|
|
313
|
+
let It;
|
|
314
|
+
typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
315
315
|
constructor(t, r, n) {
|
|
316
316
|
super();
|
|
317
317
|
/** The Svelte component constructor */
|
|
@@ -348,7 +348,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
connectedCallback() {
|
|
351
|
-
return
|
|
351
|
+
return ht(this, null, function* () {
|
|
352
352
|
if (this.$$cn = !0, !this.$$c) {
|
|
353
353
|
let t = function(o) {
|
|
354
354
|
return () => {
|
|
@@ -372,7 +372,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
372
372
|
};
|
|
373
373
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
374
374
|
return;
|
|
375
|
-
const r = {}, n =
|
|
375
|
+
const r = {}, n = Er(this);
|
|
376
376
|
for (const o of this.$$s)
|
|
377
377
|
o in n && (r[o] = [t(o)]);
|
|
378
378
|
for (const o of this.attributes) {
|
|
@@ -383,7 +383,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
383
383
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
384
384
|
this.$$c = new this.$$ctor({
|
|
385
385
|
target: this.shadowRoot || this,
|
|
386
|
-
props:
|
|
386
|
+
props: lt(ut({}, this.$$d), {
|
|
387
387
|
$$slots: r,
|
|
388
388
|
$$scope: {
|
|
389
389
|
ctx: []
|
|
@@ -461,8 +461,8 @@ function we(e, t, r, n) {
|
|
|
461
461
|
return t;
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
function
|
|
465
|
-
let a = class extends
|
|
464
|
+
function Lr(e, t, r, n, i, o) {
|
|
465
|
+
let a = class extends It {
|
|
466
466
|
constructor() {
|
|
467
467
|
super(e, r, i), this.$$p_d = t;
|
|
468
468
|
}
|
|
@@ -492,7 +492,7 @@ function Or(e, t, r, n, i, o) {
|
|
|
492
492
|
}), e.element = /** @type {any} */
|
|
493
493
|
a, a;
|
|
494
494
|
}
|
|
495
|
-
class
|
|
495
|
+
class Pr {
|
|
496
496
|
constructor() {
|
|
497
497
|
/**
|
|
498
498
|
* ### PRIVATE API
|
|
@@ -513,7 +513,7 @@ class Ir {
|
|
|
513
513
|
}
|
|
514
514
|
/** @returns {void} */
|
|
515
515
|
$destroy() {
|
|
516
|
-
|
|
516
|
+
kr(this, 1), this.$destroy = Z;
|
|
517
517
|
}
|
|
518
518
|
/**
|
|
519
519
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -535,13 +535,13 @@ class Ir {
|
|
|
535
535
|
* @returns {void}
|
|
536
536
|
*/
|
|
537
537
|
$set(t) {
|
|
538
|
-
this.$$set && !
|
|
538
|
+
this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
|
-
const
|
|
542
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
541
|
+
const Or = "4";
|
|
542
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Or);
|
|
543
543
|
const ae = [];
|
|
544
|
-
function
|
|
544
|
+
function Ir(e, t) {
|
|
545
545
|
return {
|
|
546
546
|
subscribe: Ne(e, t).subscribe
|
|
547
547
|
};
|
|
@@ -550,7 +550,7 @@ function Ne(e, t = Z) {
|
|
|
550
550
|
let r;
|
|
551
551
|
const n = /* @__PURE__ */ new Set();
|
|
552
552
|
function i(s) {
|
|
553
|
-
if (
|
|
553
|
+
if (Pt(e, s) && (e = s, r)) {
|
|
554
554
|
const l = !ae.length;
|
|
555
555
|
for (const u of n)
|
|
556
556
|
u[1](), ae.push(u, e);
|
|
@@ -577,7 +577,7 @@ function me(e, t, r) {
|
|
|
577
577
|
if (!i.every(Boolean))
|
|
578
578
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
579
579
|
const o = t.length < 2;
|
|
580
|
-
return
|
|
580
|
+
return Ir(r, (a, s) => {
|
|
581
581
|
let l = !1;
|
|
582
582
|
const u = [];
|
|
583
583
|
let h = 0, c = Z;
|
|
@@ -588,7 +588,7 @@ function me(e, t, r) {
|
|
|
588
588
|
const y = t(n ? u[0] : u, a, s);
|
|
589
589
|
o ? a(y) : c = nt(y) ? y : Z;
|
|
590
590
|
}, g = i.map(
|
|
591
|
-
(y, T) =>
|
|
591
|
+
(y, T) => Ot(
|
|
592
592
|
y,
|
|
593
593
|
(w) => {
|
|
594
594
|
u[T] = w, h &= ~(1 << T), l && f();
|
|
@@ -603,70 +603,70 @@ function me(e, t, r) {
|
|
|
603
603
|
};
|
|
604
604
|
});
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function $r(e) {
|
|
607
607
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
return
|
|
609
|
+
var Dr = function(t) {
|
|
610
|
+
return Ur(t) && !Gr(t);
|
|
611
611
|
};
|
|
612
|
-
function
|
|
612
|
+
function Ur(e) {
|
|
613
613
|
return !!e && typeof e == "object";
|
|
614
614
|
}
|
|
615
|
-
function
|
|
615
|
+
function Gr(e) {
|
|
616
616
|
var t = Object.prototype.toString.call(e);
|
|
617
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
617
|
+
return t === "[object RegExp]" || t === "[object Date]" || Vr(e);
|
|
618
618
|
}
|
|
619
|
-
var
|
|
620
|
-
function
|
|
621
|
-
return e.$$typeof ===
|
|
619
|
+
var Fr = typeof Symbol == "function" && Symbol.for, jr = Fr ? Symbol.for("react.element") : 60103;
|
|
620
|
+
function Vr(e) {
|
|
621
|
+
return e.$$typeof === jr;
|
|
622
622
|
}
|
|
623
|
-
function
|
|
623
|
+
function zr(e) {
|
|
624
624
|
return Array.isArray(e) ? [] : {};
|
|
625
625
|
}
|
|
626
626
|
function ve(e, t) {
|
|
627
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? le(
|
|
627
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? le(zr(e), e, t) : e;
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function Xr(e, t, r) {
|
|
630
630
|
return e.concat(t).map(function(n) {
|
|
631
631
|
return ve(n, r);
|
|
632
632
|
});
|
|
633
633
|
}
|
|
634
|
-
function
|
|
634
|
+
function Wr(e, t) {
|
|
635
635
|
if (!t.customMerge)
|
|
636
636
|
return le;
|
|
637
637
|
var r = t.customMerge(e);
|
|
638
638
|
return typeof r == "function" ? r : le;
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function Zr(e) {
|
|
641
641
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
642
642
|
return Object.propertyIsEnumerable.call(e, t);
|
|
643
643
|
}) : [];
|
|
644
644
|
}
|
|
645
|
-
function
|
|
646
|
-
return Object.keys(e).concat(
|
|
645
|
+
function mt(e) {
|
|
646
|
+
return Object.keys(e).concat(Zr(e));
|
|
647
647
|
}
|
|
648
|
-
function
|
|
648
|
+
function $t(e, t) {
|
|
649
649
|
try {
|
|
650
650
|
return t in e;
|
|
651
651
|
} catch (r) {
|
|
652
652
|
return !1;
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
|
-
function
|
|
656
|
-
return
|
|
655
|
+
function Jr(e, t) {
|
|
656
|
+
return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function Yr(e, t, r) {
|
|
659
659
|
var n = {};
|
|
660
|
-
return r.isMergeableObject(e) &&
|
|
660
|
+
return r.isMergeableObject(e) && mt(e).forEach(function(i) {
|
|
661
661
|
n[i] = ve(e[i], r);
|
|
662
|
-
}),
|
|
663
|
-
|
|
662
|
+
}), mt(t).forEach(function(i) {
|
|
663
|
+
Jr(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = Wr(i, r)(e[i], t[i], r) : n[i] = ve(t[i], r));
|
|
664
664
|
}), n;
|
|
665
665
|
}
|
|
666
666
|
function le(e, t, r) {
|
|
667
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
667
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Xr, r.isMergeableObject = r.isMergeableObject || Dr, r.cloneUnlessOtherwiseSpecified = ve;
|
|
668
668
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
669
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
669
|
+
return o ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : ve(t, r);
|
|
670
670
|
}
|
|
671
671
|
le.all = function(t, r) {
|
|
672
672
|
if (!Array.isArray(t))
|
|
@@ -675,8 +675,8 @@ le.all = function(t, r) {
|
|
|
675
675
|
return le(n, i, r);
|
|
676
676
|
}, {});
|
|
677
677
|
};
|
|
678
|
-
var
|
|
679
|
-
const
|
|
678
|
+
var Kr = le, qr = Kr;
|
|
679
|
+
const Qr = /* @__PURE__ */ $r(qr);
|
|
680
680
|
var Ze = function(e, t) {
|
|
681
681
|
return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
682
682
|
r.__proto__ = n;
|
|
@@ -702,7 +702,7 @@ var _ = function() {
|
|
|
702
702
|
return t;
|
|
703
703
|
}, _.apply(this, arguments);
|
|
704
704
|
};
|
|
705
|
-
function
|
|
705
|
+
function en(e, t) {
|
|
706
706
|
var r = {};
|
|
707
707
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
708
708
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -716,55 +716,53 @@ function De(e, t, r) {
|
|
|
716
716
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
717
717
|
}
|
|
718
718
|
function Ue(e, t) {
|
|
719
|
-
var r = t && t.cache ? t.cache :
|
|
719
|
+
var r = t && t.cache ? t.cache : un, n = t && t.serializer ? t.serializer : an, i = t && t.strategy ? t.strategy : nn;
|
|
720
720
|
return i(e, {
|
|
721
721
|
cache: r,
|
|
722
722
|
serializer: n
|
|
723
723
|
});
|
|
724
724
|
}
|
|
725
|
-
function
|
|
725
|
+
function tn(e) {
|
|
726
726
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
727
727
|
}
|
|
728
|
-
function
|
|
729
|
-
var i =
|
|
728
|
+
function rn(e, t, r, n) {
|
|
729
|
+
var i = tn(n) ? n : r(n), o = t.get(i);
|
|
730
730
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
731
731
|
}
|
|
732
|
-
function
|
|
732
|
+
function Dt(e, t, r) {
|
|
733
733
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
734
734
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
735
735
|
}
|
|
736
|
-
function
|
|
736
|
+
function Ut(e, t, r, n, i) {
|
|
737
737
|
return r.bind(t, e, n, i);
|
|
738
738
|
}
|
|
739
|
-
function
|
|
740
|
-
var r = e.length === 1 ?
|
|
741
|
-
return
|
|
742
|
-
}
|
|
743
|
-
function an(e, t) {
|
|
744
|
-
return it(e, this, Ft, t.cache.create(), t.serializer);
|
|
739
|
+
function nn(e, t) {
|
|
740
|
+
var r = e.length === 1 ? rn : Dt;
|
|
741
|
+
return Ut(e, this, r, t.cache.create(), t.serializer);
|
|
745
742
|
}
|
|
746
|
-
function
|
|
747
|
-
return
|
|
743
|
+
function on(e, t) {
|
|
744
|
+
return Ut(e, this, Dt, t.cache.create(), t.serializer);
|
|
748
745
|
}
|
|
749
|
-
var
|
|
746
|
+
var an = function() {
|
|
750
747
|
return JSON.stringify(arguments);
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
748
|
+
}, sn = (
|
|
749
|
+
/** @class */
|
|
750
|
+
function() {
|
|
751
|
+
function e() {
|
|
752
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
753
|
+
}
|
|
754
|
+
return e.prototype.get = function(t) {
|
|
755
|
+
return this.cache[t];
|
|
756
|
+
}, e.prototype.set = function(t, r) {
|
|
757
|
+
this.cache[t] = r;
|
|
758
|
+
}, e;
|
|
759
|
+
}()
|
|
760
|
+
), un = {
|
|
762
761
|
create: function() {
|
|
763
|
-
return new
|
|
762
|
+
return new sn();
|
|
764
763
|
}
|
|
765
764
|
}, Ge = {
|
|
766
|
-
variadic:
|
|
767
|
-
monadic: sn
|
|
765
|
+
variadic: on
|
|
768
766
|
}, b;
|
|
769
767
|
(function(e) {
|
|
770
768
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
@@ -777,43 +775,43 @@ var he;
|
|
|
777
775
|
(function(e) {
|
|
778
776
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
779
777
|
})(he || (he = {}));
|
|
780
|
-
function
|
|
778
|
+
function dt(e) {
|
|
781
779
|
return e.type === B.literal;
|
|
782
780
|
}
|
|
783
|
-
function
|
|
781
|
+
function ln(e) {
|
|
784
782
|
return e.type === B.argument;
|
|
785
783
|
}
|
|
786
|
-
function
|
|
784
|
+
function Gt(e) {
|
|
787
785
|
return e.type === B.number;
|
|
788
786
|
}
|
|
789
|
-
function
|
|
787
|
+
function Ft(e) {
|
|
790
788
|
return e.type === B.date;
|
|
791
789
|
}
|
|
792
|
-
function
|
|
790
|
+
function jt(e) {
|
|
793
791
|
return e.type === B.time;
|
|
794
792
|
}
|
|
795
|
-
function
|
|
793
|
+
function Vt(e) {
|
|
796
794
|
return e.type === B.select;
|
|
797
795
|
}
|
|
798
|
-
function
|
|
796
|
+
function zt(e) {
|
|
799
797
|
return e.type === B.plural;
|
|
800
798
|
}
|
|
801
|
-
function
|
|
799
|
+
function hn(e) {
|
|
802
800
|
return e.type === B.pound;
|
|
803
801
|
}
|
|
804
|
-
function
|
|
802
|
+
function Xt(e) {
|
|
805
803
|
return e.type === B.tag;
|
|
806
804
|
}
|
|
807
|
-
function
|
|
805
|
+
function Wt(e) {
|
|
808
806
|
return !!(e && typeof e == "object" && e.type === he.number);
|
|
809
807
|
}
|
|
810
808
|
function Je(e) {
|
|
811
809
|
return !!(e && typeof e == "object" && e.type === he.dateTime);
|
|
812
810
|
}
|
|
813
|
-
var
|
|
814
|
-
function
|
|
811
|
+
var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, cn = /(?:[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;
|
|
812
|
+
function fn(e) {
|
|
815
813
|
var t = {};
|
|
816
|
-
return e.replace(
|
|
814
|
+
return e.replace(cn, function(r) {
|
|
817
815
|
var n = r.length;
|
|
818
816
|
switch (r[0]) {
|
|
819
817
|
case "G":
|
|
@@ -902,11 +900,11 @@ function mn(e) {
|
|
|
902
900
|
return "";
|
|
903
901
|
}), t;
|
|
904
902
|
}
|
|
905
|
-
var
|
|
906
|
-
function
|
|
903
|
+
var mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
904
|
+
function dn(e) {
|
|
907
905
|
if (e.length === 0)
|
|
908
906
|
throw new Error("Number skeleton cannot be empty");
|
|
909
|
-
for (var t = e.split(
|
|
907
|
+
for (var t = e.split(mn).filter(function(f) {
|
|
910
908
|
return f.length > 0;
|
|
911
909
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
912
910
|
var o = i[n], a = o.split("/");
|
|
@@ -921,17 +919,17 @@ function pn(e) {
|
|
|
921
919
|
}
|
|
922
920
|
return r;
|
|
923
921
|
}
|
|
924
|
-
function
|
|
922
|
+
function pn(e) {
|
|
925
923
|
return e.replace(/^(.*?)-/, "");
|
|
926
924
|
}
|
|
927
|
-
var
|
|
928
|
-
function
|
|
925
|
+
var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, bn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
|
|
926
|
+
function bt(e) {
|
|
929
927
|
var t = {};
|
|
930
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
928
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
|
|
931
929
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
932
930
|
}), t;
|
|
933
931
|
}
|
|
934
|
-
function
|
|
932
|
+
function Kt(e) {
|
|
935
933
|
switch (e) {
|
|
936
934
|
case "sign-auto":
|
|
937
935
|
return {
|
|
@@ -971,7 +969,7 @@ function Qt(e) {
|
|
|
971
969
|
};
|
|
972
970
|
}
|
|
973
971
|
}
|
|
974
|
-
function
|
|
972
|
+
function gn(e) {
|
|
975
973
|
var t;
|
|
976
974
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
977
975
|
notation: "engineering"
|
|
@@ -979,17 +977,17 @@ function yn(e) {
|
|
|
979
977
|
notation: "scientific"
|
|
980
978
|
}, e = e.slice(1)), t) {
|
|
981
979
|
var r = e.slice(0, 2);
|
|
982
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
980
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
|
|
983
981
|
throw new Error("Malformed concise eng/scientific notation");
|
|
984
982
|
t.minimumIntegerDigits = e.length;
|
|
985
983
|
}
|
|
986
984
|
return t;
|
|
987
985
|
}
|
|
988
|
-
function
|
|
989
|
-
var t = {}, r =
|
|
986
|
+
function gt(e) {
|
|
987
|
+
var t = {}, r = Kt(e);
|
|
990
988
|
return r || t;
|
|
991
989
|
}
|
|
992
|
-
function
|
|
990
|
+
function yn(e) {
|
|
993
991
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
994
992
|
var i = n[r];
|
|
995
993
|
switch (i.stem) {
|
|
@@ -1013,7 +1011,7 @@ function vn(e) {
|
|
|
1013
1011
|
continue;
|
|
1014
1012
|
case "measure-unit":
|
|
1015
1013
|
case "unit":
|
|
1016
|
-
t.style = "unit", t.unit =
|
|
1014
|
+
t.style = "unit", t.unit = pn(i.options[0]);
|
|
1017
1015
|
continue;
|
|
1018
1016
|
case "compact-short":
|
|
1019
1017
|
case "K":
|
|
@@ -1025,12 +1023,12 @@ function vn(e) {
|
|
|
1025
1023
|
continue;
|
|
1026
1024
|
case "scientific":
|
|
1027
1025
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1028
|
-
return _(_({}, l),
|
|
1026
|
+
return _(_({}, l), gt(u));
|
|
1029
1027
|
}, {}));
|
|
1030
1028
|
continue;
|
|
1031
1029
|
case "engineering":
|
|
1032
1030
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1033
|
-
return _(_({}, l),
|
|
1031
|
+
return _(_({}, l), gt(u));
|
|
1034
1032
|
}, {}));
|
|
1035
1033
|
continue;
|
|
1036
1034
|
case "notation-simple":
|
|
@@ -1075,7 +1073,7 @@ function vn(e) {
|
|
|
1075
1073
|
case "integer-width":
|
|
1076
1074
|
if (i.options.length > 1)
|
|
1077
1075
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1078
|
-
i.options[0].replace(
|
|
1076
|
+
i.options[0].replace(bn, function(l, u, h, c, f, g) {
|
|
1079
1077
|
if (u)
|
|
1080
1078
|
t.minimumIntegerDigits = h.length;
|
|
1081
1079
|
else {
|
|
@@ -1088,27 +1086,27 @@ function vn(e) {
|
|
|
1088
1086
|
});
|
|
1089
1087
|
continue;
|
|
1090
1088
|
}
|
|
1091
|
-
if (
|
|
1089
|
+
if (Yt.test(i.stem)) {
|
|
1092
1090
|
t.minimumIntegerDigits = i.stem.length;
|
|
1093
1091
|
continue;
|
|
1094
1092
|
}
|
|
1095
|
-
if (
|
|
1093
|
+
if (pt.test(i.stem)) {
|
|
1096
1094
|
if (i.options.length > 1)
|
|
1097
1095
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1098
|
-
i.stem.replace(
|
|
1096
|
+
i.stem.replace(pt, function(l, u, h, c, f, g) {
|
|
1099
1097
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1100
1098
|
});
|
|
1101
1099
|
var o = i.options[0];
|
|
1102
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
|
1100
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), bt(o)));
|
|
1103
1101
|
continue;
|
|
1104
1102
|
}
|
|
1105
|
-
if (
|
|
1106
|
-
t = _(_({}, t),
|
|
1103
|
+
if (Jt.test(i.stem)) {
|
|
1104
|
+
t = _(_({}, t), bt(i.stem));
|
|
1107
1105
|
continue;
|
|
1108
1106
|
}
|
|
1109
|
-
var a =
|
|
1107
|
+
var a = Kt(i.stem);
|
|
1110
1108
|
a && (t = _(_({}, t), a));
|
|
1111
|
-
var s =
|
|
1109
|
+
var s = gn(i.stem);
|
|
1112
1110
|
s && (t = _(_({}, t), s));
|
|
1113
1111
|
}
|
|
1114
1112
|
return t;
|
|
@@ -2528,13 +2526,13 @@ var Be = {
|
|
|
2528
2526
|
"h"
|
|
2529
2527
|
]
|
|
2530
2528
|
};
|
|
2531
|
-
function
|
|
2529
|
+
function vn(e, t) {
|
|
2532
2530
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2533
2531
|
var i = e.charAt(n);
|
|
2534
2532
|
if (i === "j") {
|
|
2535
2533
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2536
2534
|
o++, n++;
|
|
2537
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2535
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = _n(t);
|
|
2538
2536
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2539
2537
|
r += l;
|
|
2540
2538
|
for (; a-- > 0; )
|
|
@@ -2543,7 +2541,7 @@ function _n(e, t) {
|
|
|
2543
2541
|
}
|
|
2544
2542
|
return r;
|
|
2545
2543
|
}
|
|
2546
|
-
function
|
|
2544
|
+
function _n(e) {
|
|
2547
2545
|
var t = e.hourCycle;
|
|
2548
2546
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2549
2547
|
e.hourCycles && // @ts-ignore
|
|
@@ -2565,20 +2563,20 @@ function En(e) {
|
|
|
2565
2563
|
var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
|
|
2566
2564
|
return i[0];
|
|
2567
2565
|
}
|
|
2568
|
-
var Fe,
|
|
2566
|
+
var Fe, En = new RegExp("^".concat(Zt.source, "*")), xn = new RegExp("".concat(Zt.source, "*$"));
|
|
2569
2567
|
function v(e, t) {
|
|
2570
2568
|
return { start: e, end: t };
|
|
2571
2569
|
}
|
|
2572
|
-
var
|
|
2570
|
+
var Tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bn = !!String.fromCodePoint, wn = !!Object.fromEntries, Hn = !!String.prototype.codePointAt, Cn = !!String.prototype.trimStart, Sn = !!String.prototype.trimEnd, Mn = !!Number.isSafeInteger, Rn = Mn ? Number.isSafeInteger : function(e) {
|
|
2573
2571
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2574
2572
|
}, Ye = !0;
|
|
2575
2573
|
try {
|
|
2576
|
-
var
|
|
2577
|
-
Ye = ((Fe =
|
|
2574
|
+
var kn = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2575
|
+
Ye = ((Fe = kn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
|
|
2578
2576
|
} catch (e) {
|
|
2579
2577
|
Ye = !1;
|
|
2580
2578
|
}
|
|
2581
|
-
var
|
|
2579
|
+
var yt = Tn ? (
|
|
2582
2580
|
// Native
|
|
2583
2581
|
function(t, r, n) {
|
|
2584
2582
|
return t.startsWith(r, n);
|
|
@@ -2588,7 +2586,7 @@ var _t = Bn ? (
|
|
|
2588
2586
|
function(t, r, n) {
|
|
2589
2587
|
return t.slice(n, n + r.length) === r;
|
|
2590
2588
|
}
|
|
2591
|
-
), Ke =
|
|
2589
|
+
), Ke = Bn ? String.fromCodePoint : (
|
|
2592
2590
|
// IE11
|
|
2593
2591
|
function() {
|
|
2594
2592
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2600,9 +2598,9 @@ var _t = Bn ? (
|
|
|
2600
2598
|
}
|
|
2601
2599
|
return n;
|
|
2602
2600
|
}
|
|
2603
|
-
),
|
|
2601
|
+
), vt = (
|
|
2604
2602
|
// native
|
|
2605
|
-
|
|
2603
|
+
wn ? Object.fromEntries : (
|
|
2606
2604
|
// Ponyfill
|
|
2607
2605
|
function(t) {
|
|
2608
2606
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2612,7 +2610,7 @@ var _t = Bn ? (
|
|
|
2612
2610
|
return r;
|
|
2613
2611
|
}
|
|
2614
2612
|
)
|
|
2615
|
-
),
|
|
2613
|
+
), qt = Hn ? (
|
|
2616
2614
|
// Native
|
|
2617
2615
|
function(t, r) {
|
|
2618
2616
|
return t.codePointAt(r);
|
|
@@ -2626,7 +2624,7 @@ var _t = Bn ? (
|
|
|
2626
2624
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2627
2625
|
}
|
|
2628
2626
|
}
|
|
2629
|
-
),
|
|
2627
|
+
), Nn = Cn ? (
|
|
2630
2628
|
// Native
|
|
2631
2629
|
function(t) {
|
|
2632
2630
|
return t.trimStart();
|
|
@@ -2634,9 +2632,9 @@ var _t = Bn ? (
|
|
|
2634
2632
|
) : (
|
|
2635
2633
|
// Ponyfill
|
|
2636
2634
|
function(t) {
|
|
2637
|
-
return t.replace(
|
|
2635
|
+
return t.replace(En, "");
|
|
2638
2636
|
}
|
|
2639
|
-
),
|
|
2637
|
+
), An = Sn ? (
|
|
2640
2638
|
// Native
|
|
2641
2639
|
function(t) {
|
|
2642
2640
|
return t.trimEnd();
|
|
@@ -2644,32 +2642,32 @@ var _t = Bn ? (
|
|
|
2644
2642
|
) : (
|
|
2645
2643
|
// Ponyfill
|
|
2646
2644
|
function(t) {
|
|
2647
|
-
return t.replace(
|
|
2645
|
+
return t.replace(xn, "");
|
|
2648
2646
|
}
|
|
2649
2647
|
);
|
|
2650
|
-
function
|
|
2648
|
+
function Qt(e, t) {
|
|
2651
2649
|
return new RegExp(e, t);
|
|
2652
2650
|
}
|
|
2653
2651
|
var qe;
|
|
2654
2652
|
if (Ye) {
|
|
2655
|
-
var
|
|
2653
|
+
var _t = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2656
2654
|
qe = function(t, r) {
|
|
2657
2655
|
var n;
|
|
2658
|
-
|
|
2659
|
-
var i =
|
|
2656
|
+
_t.lastIndex = r;
|
|
2657
|
+
var i = _t.exec(t);
|
|
2660
2658
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2661
2659
|
};
|
|
2662
2660
|
} else
|
|
2663
2661
|
qe = function(t, r) {
|
|
2664
2662
|
for (var n = []; ; ) {
|
|
2665
|
-
var i =
|
|
2666
|
-
if (i === void 0 ||
|
|
2663
|
+
var i = qt(t, r);
|
|
2664
|
+
if (i === void 0 || er(i) || In(i))
|
|
2667
2665
|
break;
|
|
2668
2666
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2669
2667
|
}
|
|
2670
2668
|
return Ke.apply(void 0, n);
|
|
2671
2669
|
};
|
|
2672
|
-
var
|
|
2670
|
+
var Ln = (
|
|
2673
2671
|
/** @class */
|
|
2674
2672
|
function() {
|
|
2675
2673
|
function e(t, r) {
|
|
@@ -2751,7 +2749,7 @@ var Pn = (
|
|
|
2751
2749
|
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
2752
2750
|
}, e.prototype.parseTagName = function() {
|
|
2753
2751
|
var t = this.offset();
|
|
2754
|
-
for (this.bump(); !this.isEOF() &&
|
|
2752
|
+
for (this.bump(); !this.isEOF() && On(this.char()); )
|
|
2755
2753
|
this.bump();
|
|
2756
2754
|
return this.message.slice(t, this.offset());
|
|
2757
2755
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2780,7 +2778,7 @@ var Pn = (
|
|
|
2780
2778
|
};
|
|
2781
2779
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2782
2780
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2783
|
-
!
|
|
2781
|
+
!Pn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2784
2782
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2785
2783
|
if (this.isEOF() || this.char() !== 39)
|
|
2786
2784
|
return null;
|
|
@@ -2867,7 +2865,7 @@ var Pn = (
|
|
|
2867
2865
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2868
2866
|
if (c.err)
|
|
2869
2867
|
return c;
|
|
2870
|
-
var f =
|
|
2868
|
+
var f = An(c.val);
|
|
2871
2869
|
if (f.length === 0)
|
|
2872
2870
|
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
2873
2871
|
var g = v(h, this.clonePosition());
|
|
@@ -2877,8 +2875,8 @@ var Pn = (
|
|
|
2877
2875
|
if (y.err)
|
|
2878
2876
|
return y;
|
|
2879
2877
|
var T = v(i, this.clonePosition());
|
|
2880
|
-
if (u &&
|
|
2881
|
-
var w =
|
|
2878
|
+
if (u && yt(u == null ? void 0 : u.style, "::", 0)) {
|
|
2879
|
+
var w = Nn(u.style.slice(2));
|
|
2882
2880
|
if (s === "number") {
|
|
2883
2881
|
var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
2884
2882
|
return c.err ? c : {
|
|
@@ -2889,12 +2887,12 @@ var Pn = (
|
|
|
2889
2887
|
if (w.length === 0)
|
|
2890
2888
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, T);
|
|
2891
2889
|
var C = w;
|
|
2892
|
-
this.locale && (C =
|
|
2890
|
+
this.locale && (C = vn(w, this.locale));
|
|
2893
2891
|
var f = {
|
|
2894
2892
|
type: he.dateTime,
|
|
2895
2893
|
pattern: C,
|
|
2896
2894
|
location: u.styleLocation,
|
|
2897
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2895
|
+
parsedOptions: this.shouldParseSkeletons ? fn(C) : {}
|
|
2898
2896
|
}, k = s === "date" ? B.date : B.time;
|
|
2899
2897
|
return {
|
|
2900
2898
|
val: { type: k, value: n, location: T, style: f },
|
|
@@ -2940,7 +2938,7 @@ var Pn = (
|
|
|
2940
2938
|
val: {
|
|
2941
2939
|
type: B.select,
|
|
2942
2940
|
value: n,
|
|
2943
|
-
options:
|
|
2941
|
+
options: vt(J.val),
|
|
2944
2942
|
location: te
|
|
2945
2943
|
},
|
|
2946
2944
|
err: null
|
|
@@ -2948,7 +2946,7 @@ var Pn = (
|
|
|
2948
2946
|
val: {
|
|
2949
2947
|
type: B.plural,
|
|
2950
2948
|
value: n,
|
|
2951
|
-
options:
|
|
2949
|
+
options: vt(J.val),
|
|
2952
2950
|
offset: L,
|
|
2953
2951
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2954
2952
|
location: te
|
|
@@ -2999,7 +2997,7 @@ var Pn = (
|
|
|
2999
2997
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3000
2998
|
var n = [];
|
|
3001
2999
|
try {
|
|
3002
|
-
n =
|
|
3000
|
+
n = dn(t);
|
|
3003
3001
|
} catch (i) {
|
|
3004
3002
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3005
3003
|
}
|
|
@@ -3008,7 +3006,7 @@ var Pn = (
|
|
|
3008
3006
|
type: he.number,
|
|
3009
3007
|
tokens: n,
|
|
3010
3008
|
location: r,
|
|
3011
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3009
|
+
parsedOptions: this.shouldParseSkeletons ? yn(n) : {}
|
|
3012
3010
|
},
|
|
3013
3011
|
err: null
|
|
3014
3012
|
};
|
|
@@ -3056,7 +3054,7 @@ var Pn = (
|
|
|
3056
3054
|
break;
|
|
3057
3055
|
}
|
|
3058
3056
|
var l = v(i, this.clonePosition());
|
|
3059
|
-
return o ? (a *= n,
|
|
3057
|
+
return o ? (a *= n, Rn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3060
3058
|
}, e.prototype.offset = function() {
|
|
3061
3059
|
return this.position.offset;
|
|
3062
3060
|
}, e.prototype.isEOF = function() {
|
|
@@ -3071,7 +3069,7 @@ var Pn = (
|
|
|
3071
3069
|
var t = this.position.offset;
|
|
3072
3070
|
if (t >= this.message.length)
|
|
3073
3071
|
throw Error("out of bound");
|
|
3074
|
-
var r =
|
|
3072
|
+
var r = qt(this.message, t);
|
|
3075
3073
|
if (r === void 0)
|
|
3076
3074
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3077
3075
|
return r;
|
|
@@ -3090,7 +3088,7 @@ var Pn = (
|
|
|
3090
3088
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3091
3089
|
}
|
|
3092
3090
|
}, e.prototype.bumpIf = function(t) {
|
|
3093
|
-
if (
|
|
3091
|
+
if (yt(this.message, t, this.offset())) {
|
|
3094
3092
|
for (var r = 0; r < t.length; r++)
|
|
3095
3093
|
this.bump();
|
|
3096
3094
|
return !0;
|
|
@@ -3112,7 +3110,7 @@ var Pn = (
|
|
|
3112
3110
|
break;
|
|
3113
3111
|
}
|
|
3114
3112
|
}, e.prototype.bumpSpace = function() {
|
|
3115
|
-
for (; !this.isEOF() &&
|
|
3113
|
+
for (; !this.isEOF() && er(this.char()); )
|
|
3116
3114
|
this.bump();
|
|
3117
3115
|
}, e.prototype.peek = function() {
|
|
3118
3116
|
if (this.isEOF())
|
|
@@ -3125,29 +3123,29 @@ var Pn = (
|
|
|
3125
3123
|
function Qe(e) {
|
|
3126
3124
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3127
3125
|
}
|
|
3128
|
-
function
|
|
3126
|
+
function Pn(e) {
|
|
3129
3127
|
return Qe(e) || e === 47;
|
|
3130
3128
|
}
|
|
3131
|
-
function
|
|
3129
|
+
function On(e) {
|
|
3132
3130
|
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;
|
|
3133
3131
|
}
|
|
3134
|
-
function
|
|
3132
|
+
function er(e) {
|
|
3135
3133
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3136
3134
|
}
|
|
3137
|
-
function
|
|
3135
|
+
function In(e) {
|
|
3138
3136
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3139
3137
|
}
|
|
3140
3138
|
function et(e) {
|
|
3141
3139
|
e.forEach(function(t) {
|
|
3142
|
-
if (delete t.location,
|
|
3140
|
+
if (delete t.location, Vt(t) || zt(t))
|
|
3143
3141
|
for (var r in t.options)
|
|
3144
3142
|
delete t.options[r].location, et(t.options[r].value);
|
|
3145
|
-
else
|
|
3143
|
+
else Gt(t) && Wt(t.style) || (Ft(t) || jt(t)) && Je(t.style) ? delete t.style.location : Xt(t) && et(t.children);
|
|
3146
3144
|
});
|
|
3147
3145
|
}
|
|
3148
|
-
function
|
|
3146
|
+
function $n(e, t) {
|
|
3149
3147
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3150
|
-
var r = new
|
|
3148
|
+
var r = new Ln(e, t).parse();
|
|
3151
3149
|
if (r.err) {
|
|
3152
3150
|
var n = SyntaxError(b[r.err.kind]);
|
|
3153
3151
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3170,7 +3168,7 @@ var Le = (
|
|
|
3170
3168
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3171
3169
|
}, t;
|
|
3172
3170
|
}(Error)
|
|
3173
|
-
),
|
|
3171
|
+
), Et = (
|
|
3174
3172
|
/** @class */
|
|
3175
3173
|
function(e) {
|
|
3176
3174
|
Ae(t, e);
|
|
@@ -3179,7 +3177,7 @@ var Le = (
|
|
|
3179
3177
|
}
|
|
3180
3178
|
return t;
|
|
3181
3179
|
}(Le)
|
|
3182
|
-
),
|
|
3180
|
+
), Dn = (
|
|
3183
3181
|
/** @class */
|
|
3184
3182
|
function(e) {
|
|
3185
3183
|
Ae(t, e);
|
|
@@ -3188,7 +3186,7 @@ var Le = (
|
|
|
3188
3186
|
}
|
|
3189
3187
|
return t;
|
|
3190
3188
|
}(Le)
|
|
3191
|
-
),
|
|
3189
|
+
), Un = (
|
|
3192
3190
|
/** @class */
|
|
3193
3191
|
function(e) {
|
|
3194
3192
|
Ae(t, e);
|
|
@@ -3201,17 +3199,17 @@ var Le = (
|
|
|
3201
3199
|
(function(e) {
|
|
3202
3200
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3203
3201
|
})(I || (I = {}));
|
|
3204
|
-
function
|
|
3202
|
+
function Gn(e) {
|
|
3205
3203
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3206
3204
|
var n = t[t.length - 1];
|
|
3207
3205
|
return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
|
|
3208
3206
|
}, []);
|
|
3209
3207
|
}
|
|
3210
|
-
function
|
|
3208
|
+
function Fn(e) {
|
|
3211
3209
|
return typeof e == "function";
|
|
3212
3210
|
}
|
|
3213
3211
|
function He(e, t, r, n, i, o, a) {
|
|
3214
|
-
if (e.length === 1 &&
|
|
3212
|
+
if (e.length === 1 && dt(e[0]))
|
|
3215
3213
|
return [
|
|
3216
3214
|
{
|
|
3217
3215
|
type: I.literal,
|
|
@@ -3220,14 +3218,14 @@ function He(e, t, r, n, i, o, a) {
|
|
|
3220
3218
|
];
|
|
3221
3219
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3222
3220
|
var h = u[l];
|
|
3223
|
-
if (
|
|
3221
|
+
if (dt(h)) {
|
|
3224
3222
|
s.push({
|
|
3225
3223
|
type: I.literal,
|
|
3226
3224
|
value: h.value
|
|
3227
3225
|
});
|
|
3228
3226
|
continue;
|
|
3229
3227
|
}
|
|
3230
|
-
if (
|
|
3228
|
+
if (hn(h)) {
|
|
3231
3229
|
typeof o == "number" && s.push({
|
|
3232
3230
|
type: I.literal,
|
|
3233
3231
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3236,16 +3234,16 @@ function He(e, t, r, n, i, o, a) {
|
|
|
3236
3234
|
}
|
|
3237
3235
|
var c = h.value;
|
|
3238
3236
|
if (!(i && c in i))
|
|
3239
|
-
throw new
|
|
3237
|
+
throw new Un(c, a);
|
|
3240
3238
|
var f = i[c];
|
|
3241
|
-
if (
|
|
3239
|
+
if (ln(h)) {
|
|
3242
3240
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3243
3241
|
type: typeof f == "string" ? I.literal : I.object,
|
|
3244
3242
|
value: f
|
|
3245
3243
|
});
|
|
3246
3244
|
continue;
|
|
3247
3245
|
}
|
|
3248
|
-
if (
|
|
3246
|
+
if (Ft(h)) {
|
|
3249
3247
|
var g = typeof h.style == "string" ? n.date[h.style] : Je(h.style) ? h.style.parsedOptions : void 0;
|
|
3250
3248
|
s.push({
|
|
3251
3249
|
type: I.literal,
|
|
@@ -3253,7 +3251,7 @@ function He(e, t, r, n, i, o, a) {
|
|
|
3253
3251
|
});
|
|
3254
3252
|
continue;
|
|
3255
3253
|
}
|
|
3256
|
-
if (
|
|
3254
|
+
if (jt(h)) {
|
|
3257
3255
|
var g = typeof h.style == "string" ? n.time[h.style] : Je(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3258
3256
|
s.push({
|
|
3259
3257
|
type: I.literal,
|
|
@@ -3261,18 +3259,18 @@ function He(e, t, r, n, i, o, a) {
|
|
|
3261
3259
|
});
|
|
3262
3260
|
continue;
|
|
3263
3261
|
}
|
|
3264
|
-
if (
|
|
3265
|
-
var g = typeof h.style == "string" ? n.number[h.style] :
|
|
3262
|
+
if (Gt(h)) {
|
|
3263
|
+
var g = typeof h.style == "string" ? n.number[h.style] : Wt(h.style) ? h.style.parsedOptions : void 0;
|
|
3266
3264
|
g && g.scale && (f = f * (g.scale || 1)), s.push({
|
|
3267
3265
|
type: I.literal,
|
|
3268
3266
|
value: r.getNumberFormat(t, g).format(f)
|
|
3269
3267
|
});
|
|
3270
3268
|
continue;
|
|
3271
3269
|
}
|
|
3272
|
-
if (
|
|
3270
|
+
if (Xt(h)) {
|
|
3273
3271
|
var y = h.children, T = h.value, w = i[T];
|
|
3274
|
-
if (!
|
|
3275
|
-
throw new
|
|
3272
|
+
if (!Fn(w))
|
|
3273
|
+
throw new Dn(T, "function", a);
|
|
3276
3274
|
var C = He(y, t, r, n, i, o), k = w(C.map(function(L) {
|
|
3277
3275
|
return L.value;
|
|
3278
3276
|
}));
|
|
@@ -3283,14 +3281,14 @@ function He(e, t, r, n, i, o, a) {
|
|
|
3283
3281
|
};
|
|
3284
3282
|
}));
|
|
3285
3283
|
}
|
|
3286
|
-
if (
|
|
3284
|
+
if (Vt(h)) {
|
|
3287
3285
|
var S = h.options[f] || h.options.other;
|
|
3288
3286
|
if (!S)
|
|
3289
|
-
throw new
|
|
3287
|
+
throw new Et(h.value, f, Object.keys(h.options), a);
|
|
3290
3288
|
s.push.apply(s, He(S.value, t, r, n, i));
|
|
3291
3289
|
continue;
|
|
3292
3290
|
}
|
|
3293
|
-
if (
|
|
3291
|
+
if (zt(h)) {
|
|
3294
3292
|
var S = h.options["=".concat(f)];
|
|
3295
3293
|
if (!S) {
|
|
3296
3294
|
if (!Intl.PluralRules)
|
|
@@ -3301,21 +3299,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3301
3299
|
S = h.options[A] || h.options.other;
|
|
3302
3300
|
}
|
|
3303
3301
|
if (!S)
|
|
3304
|
-
throw new
|
|
3302
|
+
throw new Et(h.value, f, Object.keys(h.options), a);
|
|
3305
3303
|
s.push.apply(s, He(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3306
3304
|
continue;
|
|
3307
3305
|
}
|
|
3308
3306
|
}
|
|
3309
|
-
return
|
|
3307
|
+
return Gn(s);
|
|
3310
3308
|
}
|
|
3311
|
-
function
|
|
3309
|
+
function jn(e, t) {
|
|
3312
3310
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3313
3311
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
3314
3312
|
}, {})) : e;
|
|
3315
3313
|
}
|
|
3316
|
-
function
|
|
3314
|
+
function Vn(e, t) {
|
|
3317
3315
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3318
|
-
return r[n] =
|
|
3316
|
+
return r[n] = jn(e[n], t[n]), r;
|
|
3319
3317
|
}, _({}, e)) : e;
|
|
3320
3318
|
}
|
|
3321
3319
|
function je(e) {
|
|
@@ -3332,7 +3330,7 @@ function je(e) {
|
|
|
3332
3330
|
}
|
|
3333
3331
|
};
|
|
3334
3332
|
}
|
|
3335
|
-
function
|
|
3333
|
+
function zn(e) {
|
|
3336
3334
|
return e === void 0 && (e = {
|
|
3337
3335
|
number: {},
|
|
3338
3336
|
dateTime: {},
|
|
@@ -3364,7 +3362,7 @@ function Xn(e) {
|
|
|
3364
3362
|
})
|
|
3365
3363
|
};
|
|
3366
3364
|
}
|
|
3367
|
-
var
|
|
3365
|
+
var Xn = (
|
|
3368
3366
|
/** @class */
|
|
3369
3367
|
function() {
|
|
3370
3368
|
function e(t, r, n, i) {
|
|
@@ -3396,13 +3394,13 @@ var Wn = (
|
|
|
3396
3394
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3397
3395
|
var a = i || {};
|
|
3398
3396
|
a.formatters;
|
|
3399
|
-
var s =
|
|
3397
|
+
var s = en(a, ["formatters"]);
|
|
3400
3398
|
this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
|
|
3401
3399
|
} else
|
|
3402
3400
|
this.ast = t;
|
|
3403
3401
|
if (!Array.isArray(this.ast))
|
|
3404
3402
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3405
|
-
this.formats =
|
|
3403
|
+
this.formats = Vn(e.formats, n), this.formatters = i && i.formatters || zn(this.formatterCache);
|
|
3406
3404
|
}
|
|
3407
3405
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3408
3406
|
get: function() {
|
|
@@ -3415,7 +3413,7 @@ var Wn = (
|
|
|
3415
3413
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3416
3414
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3417
3415
|
}
|
|
3418
|
-
}, e.__parse =
|
|
3416
|
+
}, e.__parse = $n, e.formats = {
|
|
3419
3417
|
number: {
|
|
3420
3418
|
integer: {
|
|
3421
3419
|
maximumFractionDigits: 0
|
|
@@ -3476,7 +3474,7 @@ var Wn = (
|
|
|
3476
3474
|
}, e;
|
|
3477
3475
|
}()
|
|
3478
3476
|
);
|
|
3479
|
-
function
|
|
3477
|
+
function Wn(e, t) {
|
|
3480
3478
|
if (t == null)
|
|
3481
3479
|
return;
|
|
3482
3480
|
if (t in e)
|
|
@@ -3497,60 +3495,60 @@ function Zn(e, t) {
|
|
|
3497
3495
|
n = void 0;
|
|
3498
3496
|
return n;
|
|
3499
3497
|
}
|
|
3500
|
-
const Q = {},
|
|
3498
|
+
const Q = {}, Zn = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), tr = (e, t) => {
|
|
3501
3499
|
if (t == null)
|
|
3502
3500
|
return;
|
|
3503
3501
|
if (t in Q && e in Q[t])
|
|
3504
3502
|
return Q[t][e];
|
|
3505
3503
|
const r = Pe(t);
|
|
3506
3504
|
for (let n = 0; n < r.length; n++) {
|
|
3507
|
-
const i = r[n], o =
|
|
3505
|
+
const i = r[n], o = Yn(i, e);
|
|
3508
3506
|
if (o)
|
|
3509
|
-
return
|
|
3507
|
+
return Zn(e, t, o);
|
|
3510
3508
|
}
|
|
3511
3509
|
};
|
|
3512
|
-
let
|
|
3510
|
+
let it;
|
|
3513
3511
|
const de = Ne({});
|
|
3514
|
-
function
|
|
3515
|
-
return
|
|
3512
|
+
function Jn(e) {
|
|
3513
|
+
return it[e] || null;
|
|
3516
3514
|
}
|
|
3517
|
-
function
|
|
3518
|
-
return e in
|
|
3515
|
+
function rr(e) {
|
|
3516
|
+
return e in it;
|
|
3519
3517
|
}
|
|
3520
|
-
function
|
|
3521
|
-
if (!
|
|
3518
|
+
function Yn(e, t) {
|
|
3519
|
+
if (!rr(e))
|
|
3522
3520
|
return null;
|
|
3523
|
-
const r =
|
|
3524
|
-
return
|
|
3521
|
+
const r = Jn(e);
|
|
3522
|
+
return Wn(r, t);
|
|
3525
3523
|
}
|
|
3526
|
-
function
|
|
3524
|
+
function Kn(e) {
|
|
3527
3525
|
if (e == null)
|
|
3528
3526
|
return;
|
|
3529
3527
|
const t = Pe(e);
|
|
3530
3528
|
for (let r = 0; r < t.length; r++) {
|
|
3531
3529
|
const n = t[r];
|
|
3532
|
-
if (
|
|
3530
|
+
if (rr(n))
|
|
3533
3531
|
return n;
|
|
3534
3532
|
}
|
|
3535
3533
|
}
|
|
3536
|
-
function
|
|
3537
|
-
delete Q[e], de.update((r) => (r[e] =
|
|
3534
|
+
function nr(e, ...t) {
|
|
3535
|
+
delete Q[e], de.update((r) => (r[e] = Qr.all([r[e] || {}, ...t]), r));
|
|
3538
3536
|
}
|
|
3539
3537
|
me(
|
|
3540
3538
|
[de],
|
|
3541
3539
|
([e]) => Object.keys(e)
|
|
3542
3540
|
);
|
|
3543
|
-
de.subscribe((e) =>
|
|
3541
|
+
de.subscribe((e) => it = e);
|
|
3544
3542
|
const Ce = {};
|
|
3545
|
-
function
|
|
3543
|
+
function qn(e, t) {
|
|
3546
3544
|
Ce[e].delete(t), Ce[e].size === 0 && delete Ce[e];
|
|
3547
3545
|
}
|
|
3548
|
-
function
|
|
3546
|
+
function ir(e) {
|
|
3549
3547
|
return Ce[e];
|
|
3550
3548
|
}
|
|
3551
|
-
function
|
|
3549
|
+
function Qn(e) {
|
|
3552
3550
|
return Pe(e).map((t) => {
|
|
3553
|
-
const r =
|
|
3551
|
+
const r = ir(t);
|
|
3554
3552
|
return [t, r ? [...r] : []];
|
|
3555
3553
|
}).filter(([, t]) => t.length > 0);
|
|
3556
3554
|
}
|
|
@@ -3558,31 +3556,31 @@ function tt(e) {
|
|
|
3558
3556
|
return e == null ? !1 : Pe(e).some(
|
|
3559
3557
|
(t) => {
|
|
3560
3558
|
var r;
|
|
3561
|
-
return (r =
|
|
3559
|
+
return (r = ir(t)) == null ? void 0 : r.size;
|
|
3562
3560
|
}
|
|
3563
3561
|
);
|
|
3564
3562
|
}
|
|
3565
|
-
function
|
|
3563
|
+
function ei(e, t) {
|
|
3566
3564
|
return Promise.all(
|
|
3567
|
-
t.map((n) => (
|
|
3568
|
-
).then((n) =>
|
|
3565
|
+
t.map((n) => (qn(e, n), n().then((i) => i.default || i)))
|
|
3566
|
+
).then((n) => nr(e, ...n));
|
|
3569
3567
|
}
|
|
3570
3568
|
const be = {};
|
|
3571
|
-
function
|
|
3569
|
+
function or(e) {
|
|
3572
3570
|
if (!tt(e))
|
|
3573
3571
|
return e in be ? be[e] : Promise.resolve();
|
|
3574
|
-
const t =
|
|
3572
|
+
const t = Qn(e);
|
|
3575
3573
|
return be[e] = Promise.all(
|
|
3576
3574
|
t.map(
|
|
3577
|
-
([r, n]) =>
|
|
3575
|
+
([r, n]) => ei(r, n)
|
|
3578
3576
|
)
|
|
3579
3577
|
).then(() => {
|
|
3580
3578
|
if (tt(e))
|
|
3581
|
-
return
|
|
3579
|
+
return or(e);
|
|
3582
3580
|
delete be[e];
|
|
3583
3581
|
}), be[e];
|
|
3584
3582
|
}
|
|
3585
|
-
const
|
|
3583
|
+
const ti = {
|
|
3586
3584
|
number: {
|
|
3587
3585
|
scientific: { notation: "scientific" },
|
|
3588
3586
|
engineering: { notation: "engineering" },
|
|
@@ -3611,34 +3609,34 @@ const ri = {
|
|
|
3611
3609
|
timeZoneName: "short"
|
|
3612
3610
|
}
|
|
3613
3611
|
}
|
|
3614
|
-
},
|
|
3612
|
+
}, ri = {
|
|
3615
3613
|
fallbackLocale: null,
|
|
3616
3614
|
loadingDelay: 200,
|
|
3617
|
-
formats:
|
|
3615
|
+
formats: ti,
|
|
3618
3616
|
warnOnMissingMessages: !0,
|
|
3619
3617
|
handleMissingMessage: void 0,
|
|
3620
3618
|
ignoreTag: !0
|
|
3621
|
-
},
|
|
3619
|
+
}, ni = ri;
|
|
3622
3620
|
function fe() {
|
|
3623
|
-
return
|
|
3621
|
+
return ni;
|
|
3624
3622
|
}
|
|
3625
3623
|
const Ve = Ne(!1);
|
|
3626
|
-
var
|
|
3624
|
+
var ii = Object.defineProperty, oi = Object.defineProperties, ai = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, si = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, li = (e, t) => {
|
|
3627
3625
|
for (var r in t || (t = {}))
|
|
3628
|
-
|
|
3629
|
-
if (
|
|
3630
|
-
for (var r of
|
|
3631
|
-
|
|
3626
|
+
si.call(t, r) && Tt(e, r, t[r]);
|
|
3627
|
+
if (xt)
|
|
3628
|
+
for (var r of xt(t))
|
|
3629
|
+
ui.call(t, r) && Tt(e, r, t[r]);
|
|
3632
3630
|
return e;
|
|
3633
|
-
},
|
|
3631
|
+
}, hi = (e, t) => oi(e, ai(t));
|
|
3634
3632
|
let rt;
|
|
3635
3633
|
const Se = Ne(null);
|
|
3636
|
-
function
|
|
3634
|
+
function Bt(e) {
|
|
3637
3635
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3638
3636
|
}
|
|
3639
3637
|
function Pe(e, t = fe().fallbackLocale) {
|
|
3640
|
-
const r =
|
|
3641
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3638
|
+
const r = Bt(e);
|
|
3639
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
|
|
3642
3640
|
}
|
|
3643
3641
|
function ie() {
|
|
3644
3642
|
return rt != null ? rt : void 0;
|
|
@@ -3646,22 +3644,22 @@ function ie() {
|
|
|
3646
3644
|
Se.subscribe((e) => {
|
|
3647
3645
|
rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3648
3646
|
});
|
|
3649
|
-
const
|
|
3650
|
-
if (e &&
|
|
3647
|
+
const ci = (e) => {
|
|
3648
|
+
if (e && Kn(e) && tt(e)) {
|
|
3651
3649
|
const { loadingDelay: t } = fe();
|
|
3652
3650
|
let r;
|
|
3653
3651
|
return typeof window != "undefined" && ie() != null && t ? r = window.setTimeout(
|
|
3654
3652
|
() => Ve.set(!0),
|
|
3655
3653
|
t
|
|
3656
|
-
) : Ve.set(!0),
|
|
3654
|
+
) : Ve.set(!0), or(e).then(() => {
|
|
3657
3655
|
Se.set(e);
|
|
3658
3656
|
}).finally(() => {
|
|
3659
3657
|
clearTimeout(r), Ve.set(!1);
|
|
3660
3658
|
});
|
|
3661
3659
|
}
|
|
3662
3660
|
return Se.set(e);
|
|
3663
|
-
}, ee =
|
|
3664
|
-
set:
|
|
3661
|
+
}, ee = hi(li({}, Se), {
|
|
3662
|
+
set: ci
|
|
3665
3663
|
}), Oe = (e) => {
|
|
3666
3664
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3667
3665
|
return (n) => {
|
|
@@ -3669,20 +3667,20 @@ const fi = (e) => {
|
|
|
3669
3667
|
return i in t ? t[i] : t[i] = e(n);
|
|
3670
3668
|
};
|
|
3671
3669
|
};
|
|
3672
|
-
var
|
|
3670
|
+
var fi = Object.defineProperty, Me = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
|
|
3673
3671
|
for (var r in t || (t = {}))
|
|
3674
|
-
|
|
3672
|
+
ar.call(t, r) && wt(e, r, t[r]);
|
|
3675
3673
|
if (Me)
|
|
3676
3674
|
for (var r of Me(t))
|
|
3677
|
-
|
|
3675
|
+
sr.call(t, r) && wt(e, r, t[r]);
|
|
3678
3676
|
return e;
|
|
3679
3677
|
}, pe = (e, t) => {
|
|
3680
3678
|
var r = {};
|
|
3681
3679
|
for (var n in e)
|
|
3682
|
-
|
|
3680
|
+
ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3683
3681
|
if (e != null && Me)
|
|
3684
3682
|
for (var n of Me(e))
|
|
3685
|
-
t.indexOf(n) < 0 &&
|
|
3683
|
+
t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
|
|
3686
3684
|
return r;
|
|
3687
3685
|
};
|
|
3688
3686
|
const _e = (e, t) => {
|
|
@@ -3690,21 +3688,21 @@ const _e = (e, t) => {
|
|
|
3690
3688
|
if (e in r && t in r[e])
|
|
3691
3689
|
return r[e][t];
|
|
3692
3690
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3693
|
-
},
|
|
3691
|
+
}, mi = Oe(
|
|
3694
3692
|
(e) => {
|
|
3695
3693
|
var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
|
|
3696
3694
|
if (r == null)
|
|
3697
3695
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3698
3696
|
return n && (i = _e("number", n)), new Intl.NumberFormat(r, i);
|
|
3699
3697
|
}
|
|
3700
|
-
),
|
|
3698
|
+
), di = Oe(
|
|
3701
3699
|
(e) => {
|
|
3702
3700
|
var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
|
|
3703
3701
|
if (r == null)
|
|
3704
3702
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3705
3703
|
return n ? i = _e("date", n) : Object.keys(i).length === 0 && (i = _e("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3706
3704
|
}
|
|
3707
|
-
),
|
|
3705
|
+
), pi = Oe(
|
|
3708
3706
|
(e) => {
|
|
3709
3707
|
var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
|
|
3710
3708
|
if (r == null)
|
|
@@ -3713,33 +3711,33 @@ const _e = (e, t) => {
|
|
|
3713
3711
|
);
|
|
3714
3712
|
return n ? i = _e("time", n) : Object.keys(i).length === 0 && (i = _e("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3715
3713
|
}
|
|
3716
|
-
),
|
|
3714
|
+
), bi = (e = {}) => {
|
|
3717
3715
|
var t = e, {
|
|
3718
3716
|
locale: r = ie()
|
|
3719
3717
|
} = t, n = pe(t, [
|
|
3720
3718
|
"locale"
|
|
3721
3719
|
]);
|
|
3722
|
-
return
|
|
3723
|
-
},
|
|
3720
|
+
return mi(ot({ locale: r }, n));
|
|
3721
|
+
}, gi = (e = {}) => {
|
|
3724
3722
|
var t = e, {
|
|
3725
3723
|
locale: r = ie()
|
|
3726
3724
|
} = t, n = pe(t, [
|
|
3727
3725
|
"locale"
|
|
3728
3726
|
]);
|
|
3729
|
-
return
|
|
3730
|
-
},
|
|
3727
|
+
return di(ot({ locale: r }, n));
|
|
3728
|
+
}, yi = (e = {}) => {
|
|
3731
3729
|
var t = e, {
|
|
3732
3730
|
locale: r = ie()
|
|
3733
3731
|
} = t, n = pe(t, [
|
|
3734
3732
|
"locale"
|
|
3735
3733
|
]);
|
|
3736
|
-
return
|
|
3737
|
-
},
|
|
3734
|
+
return pi(ot({ locale: r }, n));
|
|
3735
|
+
}, vi = Oe(
|
|
3738
3736
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3739
|
-
(e, t = ie()) => new
|
|
3737
|
+
(e, t = ie()) => new Xn(e, t, fe().formats, {
|
|
3740
3738
|
ignoreTag: fe().ignoreTag
|
|
3741
3739
|
})
|
|
3742
|
-
),
|
|
3740
|
+
), _i = (e, t = {}) => {
|
|
3743
3741
|
var r, n, i, o;
|
|
3744
3742
|
let a = t;
|
|
3745
3743
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3752,7 +3750,7 @@ const _e = (e, t) => {
|
|
|
3752
3750
|
throw new Error(
|
|
3753
3751
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3754
3752
|
);
|
|
3755
|
-
let h =
|
|
3753
|
+
let h = tr(e, l);
|
|
3756
3754
|
if (!h)
|
|
3757
3755
|
h = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
3758
3756
|
else if (typeof h != "string")
|
|
@@ -3763,7 +3761,7 @@ const _e = (e, t) => {
|
|
|
3763
3761
|
return h;
|
|
3764
3762
|
let c = h;
|
|
3765
3763
|
try {
|
|
3766
|
-
c =
|
|
3764
|
+
c = vi(h, l).format(s);
|
|
3767
3765
|
} catch (f) {
|
|
3768
3766
|
f instanceof Error && console.warn(
|
|
3769
3767
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3771,23 +3769,23 @@ const _e = (e, t) => {
|
|
|
3771
3769
|
);
|
|
3772
3770
|
}
|
|
3773
3771
|
return c;
|
|
3774
|
-
},
|
|
3772
|
+
}, Ei = (e, t) => yi(t).format(e), xi = (e, t) => gi(t).format(e), Ti = (e, t) => bi(t).format(e), Bi = (e, t = ie()) => tr(e, t), wi = me([ee, de], () => _i);
|
|
3773
|
+
me([ee], () => Ei);
|
|
3775
3774
|
me([ee], () => xi);
|
|
3776
3775
|
me([ee], () => Ti);
|
|
3777
|
-
me([ee], () => Bi);
|
|
3778
|
-
|
|
3779
|
-
function Ci({ withLocale: e, translations: t }) {
|
|
3776
|
+
me([ee, de], () => Bi);
|
|
3777
|
+
function Hi({ withLocale: e, translations: t }) {
|
|
3780
3778
|
ee.subscribe((r) => {
|
|
3781
3779
|
r == null && (de.set(t), ee.set(e));
|
|
3782
3780
|
});
|
|
3783
3781
|
}
|
|
3784
|
-
function
|
|
3785
|
-
|
|
3782
|
+
function Ht(e, t) {
|
|
3783
|
+
nr(e, t);
|
|
3786
3784
|
}
|
|
3787
|
-
function
|
|
3785
|
+
function Ci(e) {
|
|
3788
3786
|
ee.set(e);
|
|
3789
3787
|
}
|
|
3790
|
-
const
|
|
3788
|
+
const Ct = {
|
|
3791
3789
|
en: {
|
|
3792
3790
|
scoreCriteriaType: {
|
|
3793
3791
|
stake: "The score criteria for this tournament is <b>Turnover</b>. For each X generated (X= amount wagered in player currency or equivalent in base currency) player will get 1 point. The player who will have the largest turnover will have the highest score and rank.",
|
|
@@ -4034,11 +4032,11 @@ const Mt = {
|
|
|
4034
4032
|
YER: "﷼",
|
|
4035
4033
|
ZAR: "R",
|
|
4036
4034
|
ZWD: "Z$"
|
|
4037
|
-
},
|
|
4038
|
-
function
|
|
4039
|
-
|
|
4035
|
+
}, Si = "data:image/svg+xml,%3csvg%20width='35'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2591_521)'%3e%3cpath%20d='M22.3588%2020.1363C22.3601%2020.7949%2022.1782%2021.4408%2021.8334%2022.0019C21.6456%2022.3247%2021.4036%2022.6127%2021.1179%2022.8533C20.4473%2023.4391%2019.5846%2023.7574%2018.6942%2023.7474C17.8037%2023.7373%2016.9482%2023.3997%2016.2909%2022.7989C16.0353%2022.567%2015.8156%2022.2984%2015.6389%2022.0019C15.3424%2021.5116%2015.1664%2020.958%2015.1255%2020.3865C15.0845%2019.815%2015.1799%2019.2419%2015.4034%2018.7144C15.6399%2018.1566%2016.0124%2017.667%2016.487%2017.2905C16.9617%2016.9139%2017.5234%2016.6623%2018.1204%2016.5589C18.3103%2016.5455%2018.5009%2016.5455%2018.6908%2016.5589C19.6516%2016.5589%2020.573%2016.9406%2021.2524%2017.62C21.9318%2018.2994%2022.3135%2019.2208%2022.3135%2020.1816L22.3588%2020.1363Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17.3242%2020.1371L18.2299%2021.0428L20.1591%2019.2314'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.278%206.46076C21.2037%204.5943%2019.6194%203.073%2017.711%202.0753C15.8025%201.0776%2013.6493%200.644982%2011.5036%200.828135C9.35785%201.01129%207.30885%201.8026%205.59709%203.10931C3.88533%204.41603%202.5817%206.1839%201.83935%208.20542C1.09701%2010.2269%200.9467%2012.4182%201.40598%2014.5222C1.86526%2016.6261%202.91505%2018.5555%204.43229%2020.0838C5.94953%2021.6121%207.87136%2022.6759%209.97194%2023.1504C12.0725%2023.6249%2014.2648%2023.4903%2016.2917%2022.7627C16.0361%2022.5307%2015.8163%2022.2621%2015.6396%2021.9657C15.3432%2021.4754%2015.1671%2020.9217%2015.1262%2020.3502C15.0853%2019.7788%2015.1806%2019.2057%2015.4041%2018.6781C14.4907%2019.0911%2013.4995%2019.3042%2012.497%2019.3031C11.2245%2019.3008%209.97506%2018.9635%208.87436%2018.325C7.77533%2017.6908%206.86538%2016.7747%206.23875%2015.6714V15.6714C5.33468%2014.0218%205.11294%2012.0836%205.62119%2010.2725C6.12945%208.46132%207.32717%206.92144%208.9575%205.98306C10.5878%205.04467%2012.521%204.78249%2014.3424%205.25274C16.1637%205.72298%2017.7284%206.88816%2018.7006%208.4985C18.7123%208.52746%2018.7275%208.55493%2018.746%208.58009C19.3629%209.66322%2019.6875%2010.8882%2019.6875%2012.1347C19.6875%2013.3813%2019.3629%2014.6064%2018.746%2015.6895C18.5748%2015.9855%2018.384%2016.2699%2018.1753%2016.5408C18.3652%2016.5273%2018.556%2016.5273%2018.746%2016.5408C19.3961%2016.5406%2020.0342%2016.7154%2020.5936%2017.0469C21.1529%2017.3783%2021.6128%2017.8543%2021.9249%2018.4246C23.1544%2016.5691%2023.8097%2014.3923%2023.8087%2012.1665C23.8164%2010.1621%2023.2878%208.19215%2022.278%206.46076V6.46076Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4785%200.819336V4.94915'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.1391%202.32227L16.0742%205.89962'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.2866%206.46094L18.7002%208.52584'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.6875%2012.1035L23.7992%2012.1216'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.2775%2017.7729L18.7363%2015.708'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4966%2019.3398L12.4785%2023.4153'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.883%2018.3613L6.82715%2021.8843'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.24745%2015.708L2.69727%2017.7276'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.30577%2012.0946L1.20312%2012.0674'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.30214%208.49903L2.75195%206.41602'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.90918%202.29492L8.94692%205.89039'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.7086%2010.4202H8.7206L7.74805%2011.0146V11.9254L8.61254%2011.4082H8.6357V14.3722H9.7086V10.4202Z'%20fill='white'/%3e%3cpath%20d='M11.7885%2014.4803C12.8633%2014.4822%2013.531%2013.7123%2013.5329%2012.4039C13.5348%2011.1033%2012.8633%2010.3662%2011.7885%2010.3662C10.7117%2010.3662%2010.0479%2011.0995%2010.044%2012.4039C10.0402%2013.7065%2010.7117%2014.4783%2011.7885%2014.4803ZM11.7885%2013.6081C11.418%2013.6081%2011.1517%2013.2356%2011.1555%2012.4039C11.1594%2011.5916%2011.418%2011.2307%2011.7885%2011.2307C12.159%2011.2307%2012.4195%2011.5916%2012.4214%2012.4039C12.4233%2013.2356%2012.159%2013.6081%2011.7885%2013.6081Z'%20fill='white'/%3e%3cpath%20d='M15.305%2014.4803C16.3798%2014.4822%2017.0475%2013.7123%2017.0494%2012.4039C17.0513%2011.1033%2016.3798%2010.3662%2015.305%2010.3662C14.2282%2010.3662%2013.5644%2011.0995%2013.5605%2012.4039C13.5567%2013.7065%2014.2282%2014.4783%2015.305%2014.4803ZM15.305%2013.6081C14.9345%2013.6081%2014.6682%2013.2356%2014.672%2012.4039C14.6759%2011.5916%2014.9345%2011.2307%2015.305%2011.2307C15.6755%2011.2307%2015.936%2011.5916%2015.9379%2012.4039C15.9398%2013.2356%2015.6755%2013.6081%2015.305%2013.6081Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_521'%3e%3crect%20width='24'%20height='24.2989'%20fill='white'%20transform='translate(0.478516%200.139648)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Mi = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2025%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.6712%2020.9658H5.22363V23.2166H19.6712V20.9658Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.9074%2014.8942C16.0065%2013.9267%2019.3847%2011.229%2019.3847%204.9113C19.3847%203.38619%2019.1879%202.20546%2018.7246%201.30762H6.03995C5.58078%202.20546%205.37988%203.38619%205.37988%204.9113C5.37988%2011.0978%208.76219%2013.8611%2010.8572%2014.8696V18.6906H6.40482V20.9414H18.4868V18.6906H13.9074V14.8942Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.41677%203.39453H0.841439C0.841439%203.39453%20-0.343394%209.90085%206.77789%2010.9586'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.499%203.39453H24.0743C24.0743%203.39453%2025.2592%209.90085%2018.1338%2010.9586'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.3862%203.97656L13.2718%206.31343L15.7685%206.43642L13.8211%208.00253L14.4771%2010.4132L12.3862%209.04387L10.2953%2010.4132L10.9472%208.00253L9.00391%206.43642L11.4966%206.31343L12.3862%203.97656Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", ur = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.5%2013.7502C9.5%2014.7202%2010.25%2015.5002%2011.17%2015.5002H13.05C13.85%2015.5002%2014.5%2014.8202%2014.5%2013.9702C14.5%2013.0602%2014.1%2012.7302%2013.51%2012.5202L10.5%2011.4702C9.91%2011.2602%209.51001%2010.9402%209.51001%2010.0202C9.51001%209.18023%2010.16%208.49023%2010.96%208.49023H12.84C13.76%208.49023%2014.51%209.27023%2014.51%2010.2402'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12%207.5V16.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22%2012C22%2017.52%2017.52%2022%2012%2022C6.48%2022%202%2017.52%202%2012C2%206.48%206.48%202%2012%202'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22%206V2H18'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17%207L22%202'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Ri = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%2012C22%2017.52%2017.52%2022%2012%2022C6.48%2022%202%2017.52%202%2012C2%206.48%206.48%202%2012%202C17.52%202%2022%206.48%2022%2012Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15.7099%2015.1798L12.6099%2013.3298C12.0699%2013.0098%2011.6299%2012.2398%2011.6299%2011.6098V7.50977'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", ki = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%2019.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%2012.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%205.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%205.5L4%206.5L7%203.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%2012.5L4%2013.5L7%2010.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%2019.5L4%2020.5L7%2017.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
4036
|
+
function Ni(e) {
|
|
4037
|
+
br(e, "svelte-1aour49", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-thumbnail-rule{color:#fff;font-size:12px;line-height:15px;letter-spacing:-0.177807px;color:#B5B5B5}.casino-tournaments-thumbnail-rule .RulesRow{padding:10px;display:flex;border-bottom:1px solid #424242}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt{padding:3px 5px}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt a{color:#ff8364;cursor:pointer}.casino-tournaments-thumbnail-rule .RuleIcon{width:38px;height:30px}");
|
|
4040
4038
|
}
|
|
4041
|
-
function
|
|
4039
|
+
function St(e) {
|
|
4042
4040
|
let t, r = (
|
|
4043
4041
|
/*$_*/
|
|
4044
4042
|
e[13]("scoreCriteriaType.mostRounds") + ""
|
|
@@ -4060,7 +4058,7 @@ function Rt(e) {
|
|
|
4060
4058
|
}
|
|
4061
4059
|
};
|
|
4062
4060
|
}
|
|
4063
|
-
function
|
|
4061
|
+
function Mt(e) {
|
|
4064
4062
|
let t, r = (
|
|
4065
4063
|
/*$_*/
|
|
4066
4064
|
e[13]("scoreCriteriaType.winStateRatio") + ""
|
|
@@ -4082,7 +4080,7 @@ function kt(e) {
|
|
|
4082
4080
|
}
|
|
4083
4081
|
};
|
|
4084
4082
|
}
|
|
4085
|
-
function
|
|
4083
|
+
function Rt(e) {
|
|
4086
4084
|
let t, r = (
|
|
4087
4085
|
/*$_*/
|
|
4088
4086
|
e[13]("scoreCriteriaType.maxWinStateRatio") + ""
|
|
@@ -4104,7 +4102,7 @@ function Nt(e) {
|
|
|
4104
4102
|
}
|
|
4105
4103
|
};
|
|
4106
4104
|
}
|
|
4107
|
-
function
|
|
4105
|
+
function kt(e) {
|
|
4108
4106
|
let t, r = (
|
|
4109
4107
|
/*$_*/
|
|
4110
4108
|
e[13]("scoreCriteriaType.stake") + ""
|
|
@@ -4126,17 +4124,17 @@ function At(e) {
|
|
|
4126
4124
|
}
|
|
4127
4125
|
};
|
|
4128
4126
|
}
|
|
4129
|
-
function
|
|
4127
|
+
function Nt(e) {
|
|
4130
4128
|
let t, r, n;
|
|
4131
4129
|
function i(s, l) {
|
|
4132
4130
|
return (
|
|
4133
4131
|
/*noMinCasinoBet*/
|
|
4134
4132
|
s[8] && /*noMaxCasinoBet*/
|
|
4135
|
-
s[9] ?
|
|
4133
|
+
s[9] ? Oi : (
|
|
4136
4134
|
/*noMinCasinoBet*/
|
|
4137
|
-
s[8] ?
|
|
4135
|
+
s[8] ? Pi : (
|
|
4138
4136
|
/*noMaxCasinoBet*/
|
|
4139
|
-
s[9] ?
|
|
4137
|
+
s[9] ? Li : Ai
|
|
4140
4138
|
)
|
|
4141
4139
|
)
|
|
4142
4140
|
);
|
|
@@ -4144,7 +4142,7 @@ function Lt(e) {
|
|
|
4144
4142
|
let o = i(e), a = o(e);
|
|
4145
4143
|
return {
|
|
4146
4144
|
c() {
|
|
4147
|
-
t = x("div"), r = x("div"), r.innerHTML = `<img src="${
|
|
4145
|
+
t = x("div"), r = x("div"), r.innerHTML = `<img src="${ur}"/>`, n = O(), a.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
|
|
4148
4146
|
},
|
|
4149
4147
|
m(s, l) {
|
|
4150
4148
|
R(s, t, l), p(t, r), p(t, n), a.m(t, null);
|
|
@@ -4157,7 +4155,7 @@ function Lt(e) {
|
|
|
4157
4155
|
}
|
|
4158
4156
|
};
|
|
4159
4157
|
}
|
|
4160
|
-
function
|
|
4158
|
+
function Ai(e) {
|
|
4161
4159
|
let t, r = (
|
|
4162
4160
|
/*$_*/
|
|
4163
4161
|
e[13]("productMinMaxBet", {
|
|
@@ -4229,7 +4227,7 @@ function Li(e) {
|
|
|
4229
4227
|
}
|
|
4230
4228
|
};
|
|
4231
4229
|
}
|
|
4232
|
-
function
|
|
4230
|
+
function Li(e) {
|
|
4233
4231
|
let t, r = (
|
|
4234
4232
|
/*$_*/
|
|
4235
4233
|
e[13]("productMinBet", {
|
|
@@ -4283,7 +4281,7 @@ function Pi(e) {
|
|
|
4283
4281
|
}
|
|
4284
4282
|
};
|
|
4285
4283
|
}
|
|
4286
|
-
function
|
|
4284
|
+
function Pi(e) {
|
|
4287
4285
|
let t, r = (
|
|
4288
4286
|
/*$_*/
|
|
4289
4287
|
e[13]("productMaxBet", {
|
|
@@ -4337,7 +4335,7 @@ function Oi(e) {
|
|
|
4337
4335
|
}
|
|
4338
4336
|
};
|
|
4339
4337
|
}
|
|
4340
|
-
function
|
|
4338
|
+
function Oi(e) {
|
|
4341
4339
|
let t, r = (
|
|
4342
4340
|
/*$_*/
|
|
4343
4341
|
e[13]("productNoLimitsBet", {
|
|
@@ -4369,17 +4367,17 @@ function Ii(e) {
|
|
|
4369
4367
|
}
|
|
4370
4368
|
};
|
|
4371
4369
|
}
|
|
4372
|
-
function
|
|
4370
|
+
function At(e) {
|
|
4373
4371
|
let t, r, n;
|
|
4374
4372
|
function i(s, l) {
|
|
4375
4373
|
return (
|
|
4376
4374
|
/*noMinSportsBet*/
|
|
4377
4375
|
s[10] && /*noMaxSportsBet*/
|
|
4378
|
-
s[11] ?
|
|
4376
|
+
s[11] ? Ui : (
|
|
4379
4377
|
/*noMinSportsBet*/
|
|
4380
|
-
s[10] ?
|
|
4378
|
+
s[10] ? Di : (
|
|
4381
4379
|
/*noMaxSportsBet*/
|
|
4382
|
-
s[11] ?
|
|
4380
|
+
s[11] ? $i : Ii
|
|
4383
4381
|
)
|
|
4384
4382
|
)
|
|
4385
4383
|
);
|
|
@@ -4387,7 +4385,7 @@ function Pt(e) {
|
|
|
4387
4385
|
let o = i(e), a = o(e);
|
|
4388
4386
|
return {
|
|
4389
4387
|
c() {
|
|
4390
|
-
t = x("div"), r = x("div"), r.innerHTML = `<img src="${
|
|
4388
|
+
t = x("div"), r = x("div"), r.innerHTML = `<img src="${ur}"/>`, n = O(), a.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
|
|
4391
4389
|
},
|
|
4392
4390
|
m(s, l) {
|
|
4393
4391
|
R(s, t, l), p(t, r), p(t, n), a.m(t, null);
|
|
@@ -4400,7 +4398,7 @@ function Pt(e) {
|
|
|
4400
4398
|
}
|
|
4401
4399
|
};
|
|
4402
4400
|
}
|
|
4403
|
-
function
|
|
4401
|
+
function Ii(e) {
|
|
4404
4402
|
let t, r = (
|
|
4405
4403
|
/*$_*/
|
|
4406
4404
|
e[13]("productMinMaxBet", {
|
|
@@ -4472,7 +4470,7 @@ function $i(e) {
|
|
|
4472
4470
|
}
|
|
4473
4471
|
};
|
|
4474
4472
|
}
|
|
4475
|
-
function
|
|
4473
|
+
function $i(e) {
|
|
4476
4474
|
let t, r = (
|
|
4477
4475
|
/*$_*/
|
|
4478
4476
|
e[13]("productMinBet", {
|
|
@@ -4526,7 +4524,7 @@ function Di(e) {
|
|
|
4526
4524
|
}
|
|
4527
4525
|
};
|
|
4528
4526
|
}
|
|
4529
|
-
function
|
|
4527
|
+
function Di(e) {
|
|
4530
4528
|
let t, r = (
|
|
4531
4529
|
/*$_*/
|
|
4532
4530
|
e[13]("productMaxBet", {
|
|
@@ -4580,7 +4578,7 @@ function Ui(e) {
|
|
|
4580
4578
|
}
|
|
4581
4579
|
};
|
|
4582
4580
|
}
|
|
4583
|
-
function
|
|
4581
|
+
function Ui(e) {
|
|
4584
4582
|
let t, r = (
|
|
4585
4583
|
/*$_*/
|
|
4586
4584
|
e[13]("productNoLimitsBet", {
|
|
@@ -4612,7 +4610,7 @@ function Gi(e) {
|
|
|
4612
4610
|
}
|
|
4613
4611
|
};
|
|
4614
4612
|
}
|
|
4615
|
-
function
|
|
4613
|
+
function Gi(e) {
|
|
4616
4614
|
let t, r, n, i, o, a, s, l, u, h, c, f, g, y = (
|
|
4617
4615
|
/*$_*/
|
|
4618
4616
|
e[13]("miniBetCount", {
|
|
@@ -4641,41 +4639,41 @@ function Fi(e) {
|
|
|
4641
4639
|
/*tcurl*/
|
|
4642
4640
|
e[4]
|
|
4643
4641
|
) } }) + ""
|
|
4644
|
-
), Te, d, P, W,
|
|
4642
|
+
), Te, d, P, W, at, $ = (
|
|
4645
4643
|
/*scorecriterial*/
|
|
4646
|
-
e[0] == "BetCount" &&
|
|
4644
|
+
e[0] == "BetCount" && St(e)
|
|
4647
4645
|
), D = (
|
|
4648
4646
|
/*scorecriterial*/
|
|
4649
|
-
e[0] == "WinStakeRatio" &&
|
|
4647
|
+
e[0] == "WinStakeRatio" && Mt(e)
|
|
4650
4648
|
), U = (
|
|
4651
4649
|
/*scorecriterial*/
|
|
4652
|
-
e[0] == "MaxWinStakeRatio" &&
|
|
4650
|
+
e[0] == "MaxWinStakeRatio" && Rt(e)
|
|
4653
4651
|
), G = (
|
|
4654
4652
|
/*scorecriterial*/
|
|
4655
|
-
e[0] == "Stake" &&
|
|
4653
|
+
e[0] == "Stake" && kt(e)
|
|
4656
4654
|
), F = (
|
|
4657
4655
|
/*casino*/
|
|
4658
|
-
e[6] &&
|
|
4656
|
+
e[6] && Nt(e)
|
|
4659
4657
|
), j = (
|
|
4660
4658
|
/*sports*/
|
|
4661
|
-
e[7] &&
|
|
4659
|
+
e[7] && At(e)
|
|
4662
4660
|
);
|
|
4663
4661
|
return {
|
|
4664
4662
|
c() {
|
|
4665
|
-
t = x("div"), r = x("div"), n = x("div"), n.innerHTML = `<img src="${
|
|
4663
|
+
t = x("div"), r = x("div"), n = x("div"), n.innerHTML = `<img src="${Mi}"/>`, i = O(), o = x("div"), $ && $.c(), a = O(), D && D.c(), s = O(), U && U.c(), l = O(), G && G.c(), u = O(), h = x("div"), c = x("div"), c.innerHTML = `<img src="${Si}"/>`, f = O(), g = x("div"), T = X(y), w = O(), C = x("div"), k = x("div"), k.innerHTML = `<img src="${Ri}"/>`, S = O(), A = x("div"), J = X(L), te = O(), K = x("div"), re = x("div"), re.innerHTML = `<img src="${ki}"/>`, xe = O(), q = x("div"), Te = O(), F && F.c(), d = O(), P = x("span"), at = O(), j && j.c(), m(n, "class", "RuleIcon"), m(n, "part", "RuleIcon"), m(o, "class", "RuleTxt"), m(o, "part", "RuleTxt"), m(r, "class", "RulesRow"), m(r, "part", "rule"), m(c, "class", "RuleIcon"), m(c, "part", "RuleIcon"), m(g, "class", "RuleTxt"), m(g, "part", "RuleTxt"), m(h, "class", "RulesRow"), m(h, "part", "rule"), m(k, "class", "RuleIcon"), m(k, "part", "RuleIcon"), m(A, "class", "RuleTxt"), m(A, "part", "RuleTxt"), m(C, "class", "RulesRow"), m(C, "part", "rule"), m(re, "class", "RuleIcon"), m(re, "part", "RuleIcon"), m(q, "class", "RuleTxt"), m(q, "part", "RuleTxt"), m(K, "class", "RulesRow"), m(K, "part", "rule"), m(P, "type", "hidden"), m(P, "href", W = { tcurl: (
|
|
4666
4664
|
/*tcurl*/
|
|
4667
4665
|
e[4]
|
|
4668
4666
|
) }), m(t, "class", "casino-tournaments-thumbnail-rule"), m(t, "part", "casino-tournaments-thumbnail-rule");
|
|
4669
4667
|
},
|
|
4670
4668
|
m(E, V) {
|
|
4671
|
-
R(E, t, V), p(t, r), p(r, n), p(r, i), p(r, o), $ && $.m(o, null), p(o, a), D && D.m(o, null), p(o, s), U && U.m(o, null), p(o, l), G && G.m(o, null), p(t, u), p(t, h), p(h, c), p(h, f), p(h, g), p(g, T), p(t, w), p(t, C), p(C, k), p(C, S), p(C, A), p(A, J), p(t, te), p(t, K), p(K, re), p(K, xe), p(K, q), q.innerHTML = ne, p(t, Te), F && F.m(t, null), p(t, d), p(t, P), p(t,
|
|
4669
|
+
R(E, t, V), p(t, r), p(r, n), p(r, i), p(r, o), $ && $.m(o, null), p(o, a), D && D.m(o, null), p(o, s), U && U.m(o, null), p(o, l), G && G.m(o, null), p(t, u), p(t, h), p(h, c), p(h, f), p(h, g), p(g, T), p(t, w), p(t, C), p(C, k), p(C, S), p(C, A), p(A, J), p(t, te), p(t, K), p(K, re), p(K, xe), p(K, q), q.innerHTML = ne, p(t, Te), F && F.m(t, null), p(t, d), p(t, P), p(t, at), j && j.m(t, null), e[20](t);
|
|
4672
4670
|
},
|
|
4673
4671
|
p(E, [V]) {
|
|
4674
4672
|
/*scorecriterial*/
|
|
4675
|
-
E[0] == "BetCount" ? $ ? $.p(E, V) : ($ =
|
|
4676
|
-
E[0] == "WinStakeRatio" ? D ? D.p(E, V) : (D =
|
|
4677
|
-
E[0] == "MaxWinStakeRatio" ? U ? U.p(E, V) : (U =
|
|
4678
|
-
E[0] == "Stake" ? G ? G.p(E, V) : (G =
|
|
4673
|
+
E[0] == "BetCount" ? $ ? $.p(E, V) : ($ = St(E), $.c(), $.m(o, a)) : $ && ($.d(1), $ = null), /*scorecriterial*/
|
|
4674
|
+
E[0] == "WinStakeRatio" ? D ? D.p(E, V) : (D = Mt(E), D.c(), D.m(o, s)) : D && (D.d(1), D = null), /*scorecriterial*/
|
|
4675
|
+
E[0] == "MaxWinStakeRatio" ? U ? U.p(E, V) : (U = Rt(E), U.c(), U.m(o, l)) : U && (U.d(1), U = null), /*scorecriterial*/
|
|
4676
|
+
E[0] == "Stake" ? G ? G.p(E, V) : (G = kt(E), G.c(), G.m(o, null)) : G && (G.d(1), G = null), V & /*$_, betcount*/
|
|
4679
4677
|
8194 && y !== (y = /*$_*/
|
|
4680
4678
|
E[13]("miniBetCount", {
|
|
4681
4679
|
values: { betCount: (
|
|
@@ -4701,12 +4699,12 @@ function Fi(e) {
|
|
|
4701
4699
|
/*tcurl*/
|
|
4702
4700
|
E[4]
|
|
4703
4701
|
) } }) + "") && (q.innerHTML = ne), /*casino*/
|
|
4704
|
-
E[6] ? F ? F.p(E, V) : (F =
|
|
4702
|
+
E[6] ? F ? F.p(E, V) : (F = Nt(E), F.c(), F.m(t, d)) : F && (F.d(1), F = null), V & /*tcurl*/
|
|
4705
4703
|
16 && W !== (W = { tcurl: (
|
|
4706
4704
|
/*tcurl*/
|
|
4707
4705
|
E[4]
|
|
4708
4706
|
) }) && m(P, "href", W), /*sports*/
|
|
4709
|
-
E[7] ? j ? j.p(E, V) : (j =
|
|
4707
|
+
E[7] ? j ? j.p(E, V) : (j = At(E), j.c(), j.m(t, null)) : j && (j.d(1), j = null);
|
|
4710
4708
|
},
|
|
4711
4709
|
i: Z,
|
|
4712
4710
|
o: Z,
|
|
@@ -4715,27 +4713,27 @@ function Fi(e) {
|
|
|
4715
4713
|
}
|
|
4716
4714
|
};
|
|
4717
4715
|
}
|
|
4718
|
-
function
|
|
4716
|
+
function Fi(e, t, r) {
|
|
4719
4717
|
let n;
|
|
4720
|
-
|
|
4718
|
+
pr(e, wi, (d) => r(13, n = d));
|
|
4721
4719
|
let { lang: i = "tr" } = t, { scorecriterial: o = "BetCount" } = t, { betcount: a } = t, { starttime: s } = t, { endtime: l } = t, { tcurl: u } = t, { products: h = "{}" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: g = "" } = t, y, T, w, C = !1, k = !1, S = !1, A = !1, L = "EUR";
|
|
4722
|
-
|
|
4720
|
+
Hi({ withLocale: "en", translations: {} });
|
|
4723
4721
|
const J = (d) => typeof d == "number" || Object.prototype.toString.call(d) === "[object Number]", te = () => {
|
|
4724
4722
|
fetch(g).then((P) => P.json()).then((P) => {
|
|
4725
4723
|
Object.keys(P).forEach((W) => {
|
|
4726
|
-
|
|
4724
|
+
Ht(W, P[W]);
|
|
4727
4725
|
});
|
|
4728
4726
|
}).catch((P) => {
|
|
4729
4727
|
console.log(P);
|
|
4730
4728
|
});
|
|
4731
4729
|
};
|
|
4732
|
-
Object.keys(
|
|
4733
|
-
|
|
4730
|
+
Object.keys(Ct).forEach((d) => {
|
|
4731
|
+
Ht(d, Ct[d]);
|
|
4734
4732
|
});
|
|
4735
4733
|
const K = (d) => {
|
|
4736
4734
|
d && (r(12, L = d.currency), d.casino ? (r(6, T = d.casino), r(8, C = !(T.hasOwnProperty("minbet") && T.minbet != 0)), r(9, k = !(T.hasOwnProperty("maxbet") && T.maxbet != 0))) : (r(8, C = !0), r(9, k = !0)), d.sports ? (r(7, w = d.sports), r(10, S = !(w.hasOwnProperty("minbet") && w.minbet != 0)), r(11, A = !(w.hasOwnProperty("maxbet") && w.maxbet != 0))) : (r(10, S = !0), r(11, A = !0)));
|
|
4737
4735
|
}, re = () => {
|
|
4738
|
-
|
|
4736
|
+
Ci(i);
|
|
4739
4737
|
}, xe = () => {
|
|
4740
4738
|
let d = document.createElement("style");
|
|
4741
4739
|
d.innerHTML = c, y.appendChild(d);
|
|
@@ -4756,7 +4754,7 @@ function ji(e, t, r) {
|
|
|
4756
4754
|
}, ne = (d) => {
|
|
4757
4755
|
d.data && d.data.type && d.type == "TournamentsProductsUpdate" && r(15, h = d.data.productInfo);
|
|
4758
4756
|
};
|
|
4759
|
-
|
|
4757
|
+
Tr(() => (window.addEventListener("message", ne, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
|
|
4760
4758
|
window.removeEventListener("message", ne);
|
|
4761
4759
|
}));
|
|
4762
4760
|
function Te(d) {
|
|
@@ -4797,14 +4795,14 @@ function ji(e, t, r) {
|
|
|
4797
4795
|
Te
|
|
4798
4796
|
];
|
|
4799
4797
|
}
|
|
4800
|
-
class
|
|
4798
|
+
class ji extends Pr {
|
|
4801
4799
|
constructor(t) {
|
|
4802
|
-
super(),
|
|
4800
|
+
super(), Ar(
|
|
4803
4801
|
this,
|
|
4804
4802
|
t,
|
|
4805
|
-
ji,
|
|
4806
4803
|
Fi,
|
|
4807
|
-
|
|
4804
|
+
Gi,
|
|
4805
|
+
Pt,
|
|
4808
4806
|
{
|
|
4809
4807
|
lang: 16,
|
|
4810
4808
|
scorecriterial: 0,
|
|
@@ -4817,7 +4815,7 @@ class Vi extends Ir {
|
|
|
4817
4815
|
clientstylingurl: 18,
|
|
4818
4816
|
translationurl: 19
|
|
4819
4817
|
},
|
|
4820
|
-
|
|
4818
|
+
Ni
|
|
4821
4819
|
);
|
|
4822
4820
|
}
|
|
4823
4821
|
get lang() {
|
|
@@ -4881,7 +4879,7 @@ class Vi extends Ir {
|
|
|
4881
4879
|
this.$$set({ translationurl: t }), z();
|
|
4882
4880
|
}
|
|
4883
4881
|
}
|
|
4884
|
-
|
|
4882
|
+
Lr(ji, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, products: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4885
4883
|
export {
|
|
4886
|
-
|
|
4884
|
+
ji as default
|
|
4887
4885
|
};
|