@everymatrix/casino-tournaments-thumbnail-rule 1.86.3 → 1.86.5
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-B-6N3OLx.cjs +29 -0
- package/components/{CasinoTournamentsThumbnailRule-DPAxzY4D.js → CasinoTournamentsThumbnailRule-CUqknIah.js} +616 -612
- package/components/{CasinoTournamentsThumbnailRule-CMd03C9_.js → CasinoTournamentsThumbnailRule-dVLIfoI9.js} +625 -621
- 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-BXe6eszK.cjs +0 -42
|
@@ -2,30 +2,30 @@ var gn = Object.defineProperty, yn = Object.defineProperties;
|
|
|
2
2
|
var vn = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ht = Object.getOwnPropertySymbols;
|
|
4
4
|
var xn = Object.prototype.hasOwnProperty, En = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var De = (e, t, n) => t in e ? gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ct = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
|
-
xn.call(t, n) &&
|
|
7
|
+
xn.call(t, n) && De(e, n, t[n]);
|
|
8
8
|
if (ht)
|
|
9
9
|
for (var n of ht(t))
|
|
10
|
-
En.call(t, n) &&
|
|
10
|
+
En.call(t, n) && De(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
12
|
}, ft = (e, t) => yn(e, vn(t));
|
|
13
|
-
var R = (e, t, n) => (
|
|
13
|
+
var R = (e, t, n) => (De(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
14
14
|
var mt = (e, t, n) => new Promise((r, i) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
17
|
+
l(n.next(h));
|
|
18
18
|
} catch (a) {
|
|
19
19
|
i(a);
|
|
20
20
|
}
|
|
21
21
|
}, o = (h) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
l(n.throw(h));
|
|
24
24
|
} catch (a) {
|
|
25
25
|
i(a);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, l = (h) => h.done ? r(h.value) : Promise.resolve(h.value).then(s, o);
|
|
28
|
+
l((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function X() {
|
|
31
31
|
}
|
|
@@ -35,10 +35,10 @@ function Ft(e) {
|
|
|
35
35
|
function dt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function _e(e) {
|
|
39
39
|
e.forEach(Ft);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function at(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
44
|
function jt(e, t) {
|
|
@@ -65,7 +65,7 @@ function b(e, t) {
|
|
|
65
65
|
function Tn(e, t, n) {
|
|
66
66
|
const r = wn(e);
|
|
67
67
|
if (!r.getElementById(t)) {
|
|
68
|
-
const i =
|
|
68
|
+
const i = C("style");
|
|
69
69
|
i.id = t, i.textContent = n, Sn(r, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
@@ -96,20 +96,20 @@ function Bn(e, t) {
|
|
|
96
96
|
for (let n = 0; n < e.length; n += 1)
|
|
97
97
|
e[n] && e[n].d(t);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function C(e) {
|
|
100
100
|
return document.createElement(e);
|
|
101
101
|
}
|
|
102
102
|
function Hn(e) {
|
|
103
103
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function ee(e) {
|
|
106
106
|
return document.createTextNode(e);
|
|
107
107
|
}
|
|
108
108
|
function L() {
|
|
109
|
-
return
|
|
109
|
+
return ee(" ");
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
return
|
|
111
|
+
function Te() {
|
|
112
|
+
return ee("");
|
|
113
113
|
}
|
|
114
114
|
function p(e, t, n) {
|
|
115
115
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
@@ -117,11 +117,11 @@ function p(e, t, n) {
|
|
|
117
117
|
function Mn(e) {
|
|
118
118
|
return Array.from(e.childNodes);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Re(e, t) {
|
|
121
121
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
122
122
|
t);
|
|
123
123
|
}
|
|
124
|
-
class
|
|
124
|
+
class ie {
|
|
125
125
|
constructor(t = !1) {
|
|
126
126
|
/**
|
|
127
127
|
* @private
|
|
@@ -155,7 +155,7 @@ class re {
|
|
|
155
155
|
this.e || (this.is_svg ? this.e = Hn(
|
|
156
156
|
/** @type {keyof SVGElementTagNameMap} */
|
|
157
157
|
n.nodeName
|
|
158
|
-
) : this.e =
|
|
158
|
+
) : this.e = C(
|
|
159
159
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
160
160
|
n.nodeType === 11 ? "TEMPLATE" : n.nodeName
|
|
161
161
|
), this.t = n.tagName !== "TEMPLATE" ? n : (
|
|
@@ -200,60 +200,60 @@ function Rn(e) {
|
|
|
200
200
|
}
|
|
201
201
|
), t;
|
|
202
202
|
}
|
|
203
|
-
let
|
|
204
|
-
function
|
|
205
|
-
|
|
203
|
+
let xe;
|
|
204
|
+
function ve(e) {
|
|
205
|
+
xe = e;
|
|
206
206
|
}
|
|
207
207
|
function Ln() {
|
|
208
|
-
if (!
|
|
208
|
+
if (!xe)
|
|
209
209
|
throw new Error("Function called outside component initialization");
|
|
210
|
-
return
|
|
210
|
+
return xe;
|
|
211
211
|
}
|
|
212
212
|
function An(e) {
|
|
213
213
|
Ln().$$.on_mount.push(e);
|
|
214
214
|
}
|
|
215
|
-
const
|
|
215
|
+
const ue = [], We = [];
|
|
216
216
|
let le = [];
|
|
217
217
|
const pt = [], On = /* @__PURE__ */ Promise.resolve();
|
|
218
|
-
let
|
|
218
|
+
let qe = !1;
|
|
219
219
|
function Pn() {
|
|
220
|
-
|
|
220
|
+
qe || (qe = !0, On.then(P));
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function Qe(e) {
|
|
223
223
|
le.push(e);
|
|
224
224
|
}
|
|
225
|
-
const
|
|
226
|
-
let
|
|
225
|
+
const Ge = /* @__PURE__ */ new Set();
|
|
226
|
+
let ae = 0;
|
|
227
227
|
function P() {
|
|
228
|
-
if (
|
|
228
|
+
if (ae !== 0)
|
|
229
229
|
return;
|
|
230
|
-
const e =
|
|
230
|
+
const e = xe;
|
|
231
231
|
do {
|
|
232
232
|
try {
|
|
233
|
-
for (;
|
|
234
|
-
const t =
|
|
235
|
-
|
|
233
|
+
for (; ae < ue.length; ) {
|
|
234
|
+
const t = ue[ae];
|
|
235
|
+
ae++, ve(t), Nn(t.$$);
|
|
236
236
|
}
|
|
237
237
|
} catch (t) {
|
|
238
|
-
throw
|
|
238
|
+
throw ue.length = 0, ae = 0, t;
|
|
239
239
|
}
|
|
240
|
-
for (
|
|
241
|
-
|
|
240
|
+
for (ve(null), ue.length = 0, ae = 0; We.length; )
|
|
241
|
+
We.pop()();
|
|
242
242
|
for (let t = 0; t < le.length; t += 1) {
|
|
243
243
|
const n = le[t];
|
|
244
|
-
|
|
244
|
+
Ge.has(n) || (Ge.add(n), n());
|
|
245
245
|
}
|
|
246
246
|
le.length = 0;
|
|
247
|
-
} while (
|
|
247
|
+
} while (ue.length);
|
|
248
248
|
for (; pt.length; )
|
|
249
249
|
pt.pop()();
|
|
250
|
-
|
|
250
|
+
qe = !1, Ge.clear(), ve(e);
|
|
251
251
|
}
|
|
252
252
|
function Nn(e) {
|
|
253
253
|
if (e.fragment !== null) {
|
|
254
|
-
e.update(),
|
|
254
|
+
e.update(), _e(e.before_update);
|
|
255
255
|
const t = e.dirty;
|
|
256
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
256
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
function In(e) {
|
|
@@ -269,21 +269,21 @@ function bt(e) {
|
|
|
269
269
|
}
|
|
270
270
|
function Un(e, t, n) {
|
|
271
271
|
const { fragment: r, after_update: i } = e.$$;
|
|
272
|
-
r && r.m(t, n),
|
|
273
|
-
const s = e.$$.on_mount.map(Ft).filter(
|
|
274
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
275
|
-
}), i.forEach(
|
|
272
|
+
r && r.m(t, n), Qe(() => {
|
|
273
|
+
const s = e.$$.on_mount.map(Ft).filter(at);
|
|
274
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : _e(s), e.$$.on_mount = [];
|
|
275
|
+
}), i.forEach(Qe);
|
|
276
276
|
}
|
|
277
277
|
function Dn(e, t) {
|
|
278
278
|
const n = e.$$;
|
|
279
|
-
n.fragment !== null && (In(n.after_update),
|
|
279
|
+
n.fragment !== null && (In(n.after_update), _e(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
280
280
|
}
|
|
281
281
|
function Gn(e, t) {
|
|
282
|
-
e.$$.dirty[0] === -1 && (
|
|
282
|
+
e.$$.dirty[0] === -1 && (ue.push(e), Pn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
283
283
|
}
|
|
284
|
-
function Fn(e, t, n, r, i, s, o = null,
|
|
285
|
-
const h =
|
|
286
|
-
|
|
284
|
+
function Fn(e, t, n, r, i, s, o = null, l = [-1]) {
|
|
285
|
+
const h = xe;
|
|
286
|
+
ve(e);
|
|
287
287
|
const a = e.$$ = {
|
|
288
288
|
fragment: null,
|
|
289
289
|
ctx: [],
|
|
@@ -301,16 +301,16 @@ function Fn(e, t, n, r, i, s, o = null, u = [-1]) {
|
|
|
301
301
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
302
302
|
// everything else
|
|
303
303
|
callbacks: dt(),
|
|
304
|
-
dirty:
|
|
304
|
+
dirty: l,
|
|
305
305
|
skip_bound: !1,
|
|
306
306
|
root: t.target || h.$$.root
|
|
307
307
|
};
|
|
308
308
|
o && o(a.root);
|
|
309
|
-
let
|
|
309
|
+
let u = !1;
|
|
310
310
|
if (a.ctx = n ? n(e, t.props || {}, (c, f, ...d) => {
|
|
311
311
|
const g = d.length ? d[0] : f;
|
|
312
|
-
return a.ctx && i(a.ctx[c], a.ctx[c] = g) && (!a.skip_bound && a.bound[c] && a.bound[c](g),
|
|
313
|
-
}) : [], a.update(),
|
|
312
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = g) && (!a.skip_bound && a.bound[c] && a.bound[c](g), u && Gn(e, c)), f;
|
|
313
|
+
}) : [], a.update(), u = !0, _e(a.before_update), a.fragment = r ? r(a.ctx) : !1, t.target) {
|
|
314
314
|
if (t.hydrate) {
|
|
315
315
|
const c = Mn(t.target);
|
|
316
316
|
a.fragment && a.fragment.l(c), c.forEach(z);
|
|
@@ -318,7 +318,7 @@ function Fn(e, t, n, r, i, s, o = null, u = [-1]) {
|
|
|
318
318
|
a.fragment && a.fragment.c();
|
|
319
319
|
t.intro && $n(e.$$.fragment), Un(e, t.target, t.anchor), P();
|
|
320
320
|
}
|
|
321
|
-
|
|
321
|
+
ve(h);
|
|
322
322
|
}
|
|
323
323
|
let zt;
|
|
324
324
|
typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
@@ -365,14 +365,14 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
365
365
|
let o;
|
|
366
366
|
return {
|
|
367
367
|
c: function() {
|
|
368
|
-
o =
|
|
368
|
+
o = C("slot"), s !== "default" && p(o, "name", s);
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
371
|
* @param {HTMLElement} target
|
|
372
372
|
* @param {HTMLElement} [anchor]
|
|
373
373
|
*/
|
|
374
|
-
m: function(a,
|
|
375
|
-
W(a, o,
|
|
374
|
+
m: function(a, u) {
|
|
375
|
+
W(a, o, u);
|
|
376
376
|
},
|
|
377
377
|
d: function(a) {
|
|
378
378
|
a && z(o);
|
|
@@ -387,7 +387,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
387
387
|
s in r && (n[s] = [t(s)]);
|
|
388
388
|
for (const s of this.attributes) {
|
|
389
389
|
const o = this.$$g_p(s.name);
|
|
390
|
-
o in this.$$d || (this.$$d[o] =
|
|
390
|
+
o in this.$$d || (this.$$d[o] = Be(o, s.value, this.$$p_d, "toProp"));
|
|
391
391
|
}
|
|
392
392
|
for (const s in this.$$p_d)
|
|
393
393
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
@@ -404,7 +404,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
404
404
|
this.$$r = !0;
|
|
405
405
|
for (const s in this.$$p_d)
|
|
406
406
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
407
|
-
const o =
|
|
407
|
+
const o = Be(
|
|
408
408
|
s,
|
|
409
409
|
this.$$d[s],
|
|
410
410
|
this.$$p_d,
|
|
@@ -417,8 +417,8 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
417
417
|
this.$$c.$$.after_update.push(i), i();
|
|
418
418
|
for (const s in this.$$l)
|
|
419
419
|
for (const o of this.$$l[s]) {
|
|
420
|
-
const
|
|
421
|
-
this.$$l_u.set(o,
|
|
420
|
+
const l = this.$$c.$on(s, o);
|
|
421
|
+
this.$$l_u.set(o, l);
|
|
422
422
|
}
|
|
423
423
|
this.$$l = {};
|
|
424
424
|
}
|
|
@@ -428,7 +428,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
428
428
|
// and setting attributes through setAttribute etc, this is helpful
|
|
429
429
|
attributeChangedCallback(t, n, r) {
|
|
430
430
|
var i;
|
|
431
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
431
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Be(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
432
432
|
}
|
|
433
433
|
disconnectedCallback() {
|
|
434
434
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -441,7 +441,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
441
441
|
) || t;
|
|
442
442
|
}
|
|
443
443
|
});
|
|
444
|
-
function
|
|
444
|
+
function Be(e, t, n, r) {
|
|
445
445
|
var s;
|
|
446
446
|
const i = (s = n[e]) == null ? void 0 : s.type;
|
|
447
447
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
@@ -478,25 +478,25 @@ function jn(e, t, n, r, i, s) {
|
|
|
478
478
|
}
|
|
479
479
|
static get observedAttributes() {
|
|
480
480
|
return Object.keys(t).map(
|
|
481
|
-
(
|
|
481
|
+
(l) => (t[l].attribute || l).toLowerCase()
|
|
482
482
|
);
|
|
483
483
|
}
|
|
484
484
|
};
|
|
485
|
-
return Object.keys(t).forEach((
|
|
486
|
-
Object.defineProperty(o.prototype,
|
|
485
|
+
return Object.keys(t).forEach((l) => {
|
|
486
|
+
Object.defineProperty(o.prototype, l, {
|
|
487
487
|
get() {
|
|
488
|
-
return this.$$c &&
|
|
488
|
+
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
489
489
|
},
|
|
490
490
|
set(h) {
|
|
491
491
|
var a;
|
|
492
|
-
h =
|
|
492
|
+
h = Be(l, h, t), this.$$d[l] = h, (a = this.$$c) == null || a.$set({ [l]: h });
|
|
493
493
|
}
|
|
494
494
|
});
|
|
495
|
-
}), r.forEach((
|
|
496
|
-
Object.defineProperty(o.prototype,
|
|
495
|
+
}), r.forEach((l) => {
|
|
496
|
+
Object.defineProperty(o.prototype, l, {
|
|
497
497
|
get() {
|
|
498
498
|
var h;
|
|
499
|
-
return (h = this.$$c) == null ? void 0 : h[
|
|
499
|
+
return (h = this.$$c) == null ? void 0 : h[l];
|
|
500
500
|
}
|
|
501
501
|
});
|
|
502
502
|
}), e.element = /** @type {any} */
|
|
@@ -532,7 +532,7 @@ class Vn {
|
|
|
532
532
|
* @returns {() => void}
|
|
533
533
|
*/
|
|
534
534
|
$on(t, n) {
|
|
535
|
-
if (!
|
|
535
|
+
if (!at(n))
|
|
536
536
|
return X;
|
|
537
537
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
538
538
|
return r.push(n), () => {
|
|
@@ -550,66 +550,66 @@ class Vn {
|
|
|
550
550
|
}
|
|
551
551
|
const zn = "4";
|
|
552
552
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zn);
|
|
553
|
-
const
|
|
553
|
+
const oe = [];
|
|
554
554
|
function Zn(e, t) {
|
|
555
555
|
return {
|
|
556
|
-
subscribe:
|
|
556
|
+
subscribe: Pe(e, t).subscribe
|
|
557
557
|
};
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function Pe(e, t = X) {
|
|
560
560
|
let n;
|
|
561
561
|
const r = /* @__PURE__ */ new Set();
|
|
562
|
-
function i(
|
|
563
|
-
if (jt(e,
|
|
564
|
-
const h = !
|
|
562
|
+
function i(l) {
|
|
563
|
+
if (jt(e, l) && (e = l, n)) {
|
|
564
|
+
const h = !oe.length;
|
|
565
565
|
for (const a of r)
|
|
566
|
-
a[1](),
|
|
566
|
+
a[1](), oe.push(a, e);
|
|
567
567
|
if (h) {
|
|
568
|
-
for (let a = 0; a <
|
|
569
|
-
|
|
570
|
-
|
|
568
|
+
for (let a = 0; a < oe.length; a += 2)
|
|
569
|
+
oe[a][0](oe[a + 1]);
|
|
570
|
+
oe.length = 0;
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
|
-
function s(
|
|
575
|
-
i(
|
|
574
|
+
function s(l) {
|
|
575
|
+
i(l(e));
|
|
576
576
|
}
|
|
577
|
-
function o(
|
|
578
|
-
const a = [
|
|
579
|
-
return r.add(a), r.size === 1 && (n = t(i, s) || X),
|
|
577
|
+
function o(l, h = X) {
|
|
578
|
+
const a = [l, h];
|
|
579
|
+
return r.add(a), r.size === 1 && (n = t(i, s) || X), l(e), () => {
|
|
580
580
|
r.delete(a), r.size === 0 && n && (n(), n = null);
|
|
581
581
|
};
|
|
582
582
|
}
|
|
583
583
|
return { set: i, update: s, subscribe: o };
|
|
584
584
|
}
|
|
585
|
-
function
|
|
585
|
+
function de(e, t, n) {
|
|
586
586
|
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
587
587
|
if (!i.every(Boolean))
|
|
588
588
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
589
589
|
const s = t.length < 2;
|
|
590
|
-
return Zn(n, (o,
|
|
590
|
+
return Zn(n, (o, l) => {
|
|
591
591
|
let h = !1;
|
|
592
592
|
const a = [];
|
|
593
|
-
let
|
|
593
|
+
let u = 0, c = X;
|
|
594
594
|
const f = () => {
|
|
595
|
-
if (
|
|
595
|
+
if (u)
|
|
596
596
|
return;
|
|
597
597
|
c();
|
|
598
|
-
const g = t(r ? a[0] : a, o,
|
|
599
|
-
s ? o(g) : c =
|
|
598
|
+
const g = t(r ? a[0] : a, o, l);
|
|
599
|
+
s ? o(g) : c = at(g) ? g : X;
|
|
600
600
|
}, d = i.map(
|
|
601
|
-
(g,
|
|
601
|
+
(g, E) => Vt(
|
|
602
602
|
g,
|
|
603
603
|
(H) => {
|
|
604
|
-
a[
|
|
604
|
+
a[E] = H, u &= ~(1 << E), h && f();
|
|
605
605
|
},
|
|
606
606
|
() => {
|
|
607
|
-
|
|
607
|
+
u |= 1 << E;
|
|
608
608
|
}
|
|
609
609
|
)
|
|
610
610
|
);
|
|
611
611
|
return h = !0, f(), function() {
|
|
612
|
-
|
|
612
|
+
_e(d), c(), h = !1;
|
|
613
613
|
};
|
|
614
614
|
});
|
|
615
615
|
}
|
|
@@ -633,19 +633,19 @@ function Kn(e) {
|
|
|
633
633
|
function er(e) {
|
|
634
634
|
return Array.isArray(e) ? [] : {};
|
|
635
635
|
}
|
|
636
|
-
function
|
|
637
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
636
|
+
function Ee(e, t) {
|
|
637
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? he(er(e), e, t) : e;
|
|
638
638
|
}
|
|
639
639
|
function tr(e, t, n) {
|
|
640
640
|
return e.concat(t).map(function(r) {
|
|
641
|
-
return
|
|
641
|
+
return Ee(r, n);
|
|
642
642
|
});
|
|
643
643
|
}
|
|
644
644
|
function nr(e, t) {
|
|
645
645
|
if (!t.customMerge)
|
|
646
|
-
return
|
|
646
|
+
return he;
|
|
647
647
|
var n = t.customMerge(e);
|
|
648
|
-
return typeof n == "function" ? n :
|
|
648
|
+
return typeof n == "function" ? n : he;
|
|
649
649
|
}
|
|
650
650
|
function rr(e) {
|
|
651
651
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -668,67 +668,53 @@ function ir(e, t) {
|
|
|
668
668
|
function sr(e, t, n) {
|
|
669
669
|
var r = {};
|
|
670
670
|
return n.isMergeableObject(e) && gt(e).forEach(function(i) {
|
|
671
|
-
r[i] =
|
|
671
|
+
r[i] = Ee(e[i], n);
|
|
672
672
|
}), gt(t).forEach(function(i) {
|
|
673
|
-
ir(e, i) || (Zt(e, i) && n.isMergeableObject(t[i]) ? r[i] = nr(i, n)(e[i], t[i], n) : r[i] =
|
|
673
|
+
ir(e, i) || (Zt(e, i) && n.isMergeableObject(t[i]) ? r[i] = nr(i, n)(e[i], t[i], n) : r[i] = Ee(t[i], n));
|
|
674
674
|
}), r;
|
|
675
675
|
}
|
|
676
|
-
function
|
|
677
|
-
n = n || {}, n.arrayMerge = n.arrayMerge || tr, n.isMergeableObject = n.isMergeableObject || Wn, n.cloneUnlessOtherwiseSpecified =
|
|
676
|
+
function he(e, t, n) {
|
|
677
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || tr, n.isMergeableObject = n.isMergeableObject || Wn, n.cloneUnlessOtherwiseSpecified = Ee;
|
|
678
678
|
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
679
|
-
return s ? r ? n.arrayMerge(e, t, n) : sr(e, t, n) :
|
|
679
|
+
return s ? r ? n.arrayMerge(e, t, n) : sr(e, t, n) : Ee(t, n);
|
|
680
680
|
}
|
|
681
|
-
|
|
681
|
+
he.all = function(t, n) {
|
|
682
682
|
if (!Array.isArray(t))
|
|
683
683
|
throw new Error("first argument should be an array");
|
|
684
684
|
return t.reduce(function(r, i) {
|
|
685
|
-
return
|
|
685
|
+
return he(r, i, n);
|
|
686
686
|
}, {});
|
|
687
687
|
};
|
|
688
|
-
var ar =
|
|
689
|
-
const
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
694
|
-
purpose with or without fee is hereby granted.
|
|
695
|
-
|
|
696
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
697
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
698
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
699
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
700
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
701
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
702
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
703
|
-
***************************************************************************** */
|
|
704
|
-
var qe = function(e, t) {
|
|
705
|
-
return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
688
|
+
var ar = he, or = ar;
|
|
689
|
+
const ur = /* @__PURE__ */ Xn(or);
|
|
690
|
+
var Je = function(e, t) {
|
|
691
|
+
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
706
692
|
n.__proto__ = r;
|
|
707
693
|
} || function(n, r) {
|
|
708
694
|
for (var i in r)
|
|
709
695
|
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
710
|
-
},
|
|
696
|
+
}, Je(e, t);
|
|
711
697
|
};
|
|
712
|
-
function
|
|
698
|
+
function Ne(e, t) {
|
|
713
699
|
if (typeof t != "function" && t !== null)
|
|
714
700
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
715
|
-
|
|
701
|
+
Je(e, t);
|
|
716
702
|
function n() {
|
|
717
703
|
this.constructor = e;
|
|
718
704
|
}
|
|
719
705
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
720
706
|
}
|
|
721
|
-
var
|
|
722
|
-
return
|
|
707
|
+
var q = function() {
|
|
708
|
+
return q = Object.assign || function(t) {
|
|
723
709
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
724
710
|
n = arguments[r];
|
|
725
711
|
for (var s in n)
|
|
726
712
|
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
727
713
|
}
|
|
728
714
|
return t;
|
|
729
|
-
},
|
|
715
|
+
}, q.apply(this, arguments);
|
|
730
716
|
};
|
|
731
|
-
function
|
|
717
|
+
function lr(e, t) {
|
|
732
718
|
var n = {};
|
|
733
719
|
for (var r in e)
|
|
734
720
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -737,14 +723,14 @@ function ur(e, t) {
|
|
|
737
723
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
738
724
|
return n;
|
|
739
725
|
}
|
|
740
|
-
function
|
|
741
|
-
if (arguments.length === 2)
|
|
726
|
+
function Fe(e, t, n) {
|
|
727
|
+
if (n || arguments.length === 2)
|
|
742
728
|
for (var r = 0, i = t.length, s; r < i; r++)
|
|
743
729
|
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
744
|
-
return e.concat(s || t);
|
|
730
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
|
745
731
|
}
|
|
746
|
-
function
|
|
747
|
-
var n = t && t.cache ? t.cache :
|
|
732
|
+
function je(e, t) {
|
|
733
|
+
var n = t && t.cache ? t.cache : br, r = t && t.serializer ? t.serializer : dr, i = t && t.strategy ? t.strategy : fr;
|
|
748
734
|
return i(e, {
|
|
749
735
|
cache: n,
|
|
750
736
|
serializer: r
|
|
@@ -753,95 +739,103 @@ function Ge(e, t) {
|
|
|
753
739
|
function hr(e) {
|
|
754
740
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
755
741
|
}
|
|
756
|
-
function
|
|
742
|
+
function cr(e, t, n, r) {
|
|
757
743
|
var i = hr(r) ? r : n(r), s = t.get(i);
|
|
758
744
|
return typeof s == "undefined" && (s = e.call(this, r), t.set(i, s)), s;
|
|
759
745
|
}
|
|
760
|
-
function
|
|
746
|
+
function Xt(e, t, n) {
|
|
761
747
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
762
748
|
return typeof s == "undefined" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
763
749
|
}
|
|
764
|
-
function
|
|
750
|
+
function Wt(e, t, n, r, i) {
|
|
765
751
|
return n.bind(t, e, r, i);
|
|
766
752
|
}
|
|
767
|
-
function cr(e, t) {
|
|
768
|
-
var n = e.length === 1 ? Xt : Wt;
|
|
769
|
-
return st(e, this, n, t.cache.create(), t.serializer);
|
|
770
|
-
}
|
|
771
753
|
function fr(e, t) {
|
|
772
|
-
|
|
754
|
+
var n = e.length === 1 ? cr : Xt;
|
|
755
|
+
return Wt(e, this, n, t.cache.create(), t.serializer);
|
|
773
756
|
}
|
|
774
757
|
function mr(e, t) {
|
|
775
|
-
return
|
|
758
|
+
return Wt(e, this, Xt, t.cache.create(), t.serializer);
|
|
776
759
|
}
|
|
777
760
|
var dr = function() {
|
|
778
761
|
return JSON.stringify(arguments);
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
762
|
+
}, pr = (
|
|
763
|
+
/** @class */
|
|
764
|
+
function() {
|
|
765
|
+
function e() {
|
|
766
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
767
|
+
}
|
|
768
|
+
return e.prototype.get = function(t) {
|
|
769
|
+
return this.cache[t];
|
|
770
|
+
}, e.prototype.set = function(t, n) {
|
|
771
|
+
this.cache[t] = n;
|
|
772
|
+
}, e;
|
|
773
|
+
}()
|
|
774
|
+
), br = {
|
|
790
775
|
create: function() {
|
|
791
|
-
return new
|
|
776
|
+
return new pr();
|
|
792
777
|
}
|
|
793
|
-
},
|
|
794
|
-
variadic:
|
|
795
|
-
|
|
796
|
-
|
|
778
|
+
}, Ve = {
|
|
779
|
+
variadic: mr
|
|
780
|
+
}, Le = function() {
|
|
781
|
+
return Le = Object.assign || function(t) {
|
|
782
|
+
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
783
|
+
n = arguments[r];
|
|
784
|
+
for (var s in n)
|
|
785
|
+
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
786
|
+
}
|
|
787
|
+
return t;
|
|
788
|
+
}, Le.apply(this, arguments);
|
|
789
|
+
};
|
|
790
|
+
var y;
|
|
797
791
|
(function(e) {
|
|
798
792
|
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";
|
|
799
793
|
})(y || (y = {}));
|
|
800
|
-
var
|
|
794
|
+
var _;
|
|
801
795
|
(function(e) {
|
|
802
796
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
803
|
-
})(
|
|
804
|
-
var
|
|
797
|
+
})(_ || (_ = {}));
|
|
798
|
+
var ce;
|
|
805
799
|
(function(e) {
|
|
806
800
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
807
|
-
})(
|
|
801
|
+
})(ce || (ce = {}));
|
|
808
802
|
function yt(e) {
|
|
809
|
-
return e.type ===
|
|
803
|
+
return e.type === _.literal;
|
|
810
804
|
}
|
|
811
|
-
function
|
|
812
|
-
return e.type ===
|
|
805
|
+
function gr(e) {
|
|
806
|
+
return e.type === _.argument;
|
|
813
807
|
}
|
|
814
808
|
function qt(e) {
|
|
815
|
-
return e.type ===
|
|
809
|
+
return e.type === _.number;
|
|
816
810
|
}
|
|
817
811
|
function Qt(e) {
|
|
818
|
-
return e.type ===
|
|
812
|
+
return e.type === _.date;
|
|
819
813
|
}
|
|
820
814
|
function Jt(e) {
|
|
821
|
-
return e.type ===
|
|
815
|
+
return e.type === _.time;
|
|
822
816
|
}
|
|
823
817
|
function Yt(e) {
|
|
824
|
-
return e.type ===
|
|
818
|
+
return e.type === _.select;
|
|
825
819
|
}
|
|
826
820
|
function Kt(e) {
|
|
827
|
-
return e.type ===
|
|
821
|
+
return e.type === _.plural;
|
|
828
822
|
}
|
|
829
|
-
function
|
|
830
|
-
return e.type ===
|
|
823
|
+
function yr(e) {
|
|
824
|
+
return e.type === _.pound;
|
|
831
825
|
}
|
|
832
826
|
function en(e) {
|
|
833
|
-
return e.type ===
|
|
827
|
+
return e.type === _.tag;
|
|
834
828
|
}
|
|
835
829
|
function tn(e) {
|
|
836
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
830
|
+
return !!(e && typeof e == "object" && e.type === ce.number);
|
|
837
831
|
}
|
|
838
|
-
function
|
|
839
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
832
|
+
function Ye(e) {
|
|
833
|
+
return !!(e && typeof e == "object" && e.type === ce.dateTime);
|
|
840
834
|
}
|
|
841
|
-
var nn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
842
|
-
function
|
|
835
|
+
var nn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, vr = /(?:[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;
|
|
836
|
+
function xr(e) {
|
|
843
837
|
var t = {};
|
|
844
|
-
return e.replace(
|
|
838
|
+
return e.replace(vr, function(n) {
|
|
845
839
|
var r = n.length;
|
|
846
840
|
switch (n[0]) {
|
|
847
841
|
case "G":
|
|
@@ -930,29 +924,39 @@ function vr(e) {
|
|
|
930
924
|
return "";
|
|
931
925
|
}), t;
|
|
932
926
|
}
|
|
933
|
-
var
|
|
934
|
-
function
|
|
927
|
+
var w = function() {
|
|
928
|
+
return w = Object.assign || function(t) {
|
|
929
|
+
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
930
|
+
n = arguments[r];
|
|
931
|
+
for (var s in n)
|
|
932
|
+
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
933
|
+
}
|
|
934
|
+
return t;
|
|
935
|
+
}, w.apply(this, arguments);
|
|
936
|
+
};
|
|
937
|
+
var Er = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
938
|
+
function Cr(e) {
|
|
935
939
|
if (e.length === 0)
|
|
936
940
|
throw new Error("Number skeleton cannot be empty");
|
|
937
|
-
for (var t = e.split(
|
|
941
|
+
for (var t = e.split(Er).filter(function(f) {
|
|
938
942
|
return f.length > 0;
|
|
939
943
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
940
944
|
var s = i[r], o = s.split("/");
|
|
941
945
|
if (o.length === 0)
|
|
942
946
|
throw new Error("Invalid number skeleton");
|
|
943
|
-
for (var
|
|
944
|
-
var c =
|
|
947
|
+
for (var l = o[0], h = o.slice(1), a = 0, u = h; a < u.length; a++) {
|
|
948
|
+
var c = u[a];
|
|
945
949
|
if (c.length === 0)
|
|
946
950
|
throw new Error("Invalid number skeleton");
|
|
947
951
|
}
|
|
948
|
-
n.push({ stem:
|
|
952
|
+
n.push({ stem: l, options: h });
|
|
949
953
|
}
|
|
950
954
|
return n;
|
|
951
955
|
}
|
|
952
|
-
function
|
|
956
|
+
function _r(e) {
|
|
953
957
|
return e.replace(/^(.*?)-/, "");
|
|
954
958
|
}
|
|
955
|
-
var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rn = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
959
|
+
var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rn = /^(@+)?(\+|#+)?[rs]?$/g, Tr = /(\*)(0+)|(#+)(0+)|(0+)/g, sn = /^(0+)$/;
|
|
956
960
|
function xt(e) {
|
|
957
961
|
var t = {};
|
|
958
962
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rn, function(n, r, i) {
|
|
@@ -999,7 +1003,7 @@ function an(e) {
|
|
|
999
1003
|
};
|
|
1000
1004
|
}
|
|
1001
1005
|
}
|
|
1002
|
-
function
|
|
1006
|
+
function wr(e) {
|
|
1003
1007
|
var t;
|
|
1004
1008
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1005
1009
|
notation: "engineering"
|
|
@@ -1017,7 +1021,7 @@ function Et(e) {
|
|
|
1017
1021
|
var t = {}, n = an(e);
|
|
1018
1022
|
return n || t;
|
|
1019
1023
|
}
|
|
1020
|
-
function
|
|
1024
|
+
function Sr(e) {
|
|
1021
1025
|
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1022
1026
|
var i = r[n];
|
|
1023
1027
|
switch (i.stem) {
|
|
@@ -1041,7 +1045,7 @@ function wr(e) {
|
|
|
1041
1045
|
continue;
|
|
1042
1046
|
case "measure-unit":
|
|
1043
1047
|
case "unit":
|
|
1044
|
-
t.style = "unit", t.unit =
|
|
1048
|
+
t.style = "unit", t.unit = _r(i.options[0]);
|
|
1045
1049
|
continue;
|
|
1046
1050
|
case "compact-short":
|
|
1047
1051
|
case "K":
|
|
@@ -1052,13 +1056,13 @@ function wr(e) {
|
|
|
1052
1056
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1053
1057
|
continue;
|
|
1054
1058
|
case "scientific":
|
|
1055
|
-
t =
|
|
1056
|
-
return
|
|
1059
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
|
|
1060
|
+
return w(w({}, h), Et(a));
|
|
1057
1061
|
}, {}));
|
|
1058
1062
|
continue;
|
|
1059
1063
|
case "engineering":
|
|
1060
|
-
t =
|
|
1061
|
-
return
|
|
1064
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
|
|
1065
|
+
return w(w({}, h), Et(a));
|
|
1062
1066
|
}, {}));
|
|
1063
1067
|
continue;
|
|
1064
1068
|
case "notation-simple":
|
|
@@ -1103,9 +1107,9 @@ function wr(e) {
|
|
|
1103
1107
|
case "integer-width":
|
|
1104
1108
|
if (i.options.length > 1)
|
|
1105
1109
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1106
|
-
i.options[0].replace(
|
|
1110
|
+
i.options[0].replace(Tr, function(h, a, u, c, f, d) {
|
|
1107
1111
|
if (a)
|
|
1108
|
-
t.minimumIntegerDigits =
|
|
1112
|
+
t.minimumIntegerDigits = u.length;
|
|
1109
1113
|
else {
|
|
1110
1114
|
if (c && f)
|
|
1111
1115
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1123,25 +1127,25 @@ function wr(e) {
|
|
|
1123
1127
|
if (vt.test(i.stem)) {
|
|
1124
1128
|
if (i.options.length > 1)
|
|
1125
1129
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1126
|
-
i.stem.replace(vt, function(h, a,
|
|
1127
|
-
return
|
|
1130
|
+
i.stem.replace(vt, function(h, a, u, c, f, d) {
|
|
1131
|
+
return u === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1128
1132
|
});
|
|
1129
1133
|
var s = i.options[0];
|
|
1130
|
-
s === "w" ? t =
|
|
1134
|
+
s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), xt(s)));
|
|
1131
1135
|
continue;
|
|
1132
1136
|
}
|
|
1133
1137
|
if (rn.test(i.stem)) {
|
|
1134
|
-
t =
|
|
1138
|
+
t = w(w({}, t), xt(i.stem));
|
|
1135
1139
|
continue;
|
|
1136
1140
|
}
|
|
1137
1141
|
var o = an(i.stem);
|
|
1138
|
-
o && (t =
|
|
1139
|
-
var
|
|
1140
|
-
|
|
1142
|
+
o && (t = w(w({}, t), o));
|
|
1143
|
+
var l = wr(i.stem);
|
|
1144
|
+
l && (t = w(w({}, t), l));
|
|
1141
1145
|
}
|
|
1142
1146
|
return t;
|
|
1143
1147
|
}
|
|
1144
|
-
var
|
|
1148
|
+
var Se = {
|
|
1145
1149
|
"001": [
|
|
1146
1150
|
"H",
|
|
1147
1151
|
"h"
|
|
@@ -2556,14 +2560,14 @@ var we = {
|
|
|
2556
2560
|
"h"
|
|
2557
2561
|
]
|
|
2558
2562
|
};
|
|
2559
|
-
function
|
|
2563
|
+
function Br(e, t) {
|
|
2560
2564
|
for (var n = "", r = 0; r < e.length; r++) {
|
|
2561
2565
|
var i = e.charAt(r);
|
|
2562
2566
|
if (i === "j") {
|
|
2563
2567
|
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2564
2568
|
s++, r++;
|
|
2565
|
-
var o = 1 + (s & 1),
|
|
2566
|
-
for ((a == "H" || a == "k") && (
|
|
2569
|
+
var o = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = Hr(t);
|
|
2570
|
+
for ((a == "H" || a == "k") && (l = 0); l-- > 0; )
|
|
2567
2571
|
n += h;
|
|
2568
2572
|
for (; o-- > 0; )
|
|
2569
2573
|
n = a + n;
|
|
@@ -2572,7 +2576,7 @@ function Sr(e, t) {
|
|
|
2572
2576
|
}
|
|
2573
2577
|
return n;
|
|
2574
2578
|
}
|
|
2575
|
-
function
|
|
2579
|
+
function Hr(e) {
|
|
2576
2580
|
var t = e.hourCycle;
|
|
2577
2581
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2578
2582
|
e.hourCycles && // @ts-ignore
|
|
@@ -2591,23 +2595,23 @@ function Br(e) {
|
|
|
2591
2595
|
}
|
|
2592
2596
|
var n = e.language, r;
|
|
2593
2597
|
n !== "root" && (r = e.maximize().region);
|
|
2594
|
-
var i =
|
|
2598
|
+
var i = Se[r || ""] || Se[n || ""] || Se["".concat(n, "-001")] || Se["001"];
|
|
2595
2599
|
return i[0];
|
|
2596
2600
|
}
|
|
2597
|
-
var
|
|
2601
|
+
var ze, Mr = new RegExp("^".concat(nn.source, "*")), Rr = new RegExp("".concat(nn.source, "*$"));
|
|
2598
2602
|
function x(e, t) {
|
|
2599
2603
|
return { start: e, end: t };
|
|
2600
2604
|
}
|
|
2601
|
-
var
|
|
2605
|
+
var Lr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ar = !!String.fromCodePoint, Or = !!Object.fromEntries, Pr = !!String.prototype.codePointAt, Nr = !!String.prototype.trimStart, Ir = !!String.prototype.trimEnd, kr = !!Number.isSafeInteger, $r = kr ? Number.isSafeInteger : function(e) {
|
|
2602
2606
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2603
|
-
},
|
|
2607
|
+
}, Ke = !0;
|
|
2604
2608
|
try {
|
|
2605
|
-
var
|
|
2606
|
-
|
|
2609
|
+
var Ur = un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2610
|
+
Ke = ((ze = Ur.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
|
|
2607
2611
|
} catch (e) {
|
|
2608
|
-
|
|
2612
|
+
Ke = !1;
|
|
2609
2613
|
}
|
|
2610
|
-
var Ct =
|
|
2614
|
+
var Ct = Lr ? (
|
|
2611
2615
|
// Native
|
|
2612
2616
|
function(t, n, r) {
|
|
2613
2617
|
return t.startsWith(n, r);
|
|
@@ -2617,7 +2621,7 @@ var Ct = Rr ? (
|
|
|
2617
2621
|
function(t, n, r) {
|
|
2618
2622
|
return t.slice(r, r + n.length) === n;
|
|
2619
2623
|
}
|
|
2620
|
-
),
|
|
2624
|
+
), et = Ar ? String.fromCodePoint : (
|
|
2621
2625
|
// IE11
|
|
2622
2626
|
function() {
|
|
2623
2627
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
@@ -2631,17 +2635,17 @@ var Ct = Rr ? (
|
|
|
2631
2635
|
}
|
|
2632
2636
|
), _t = (
|
|
2633
2637
|
// native
|
|
2634
|
-
|
|
2638
|
+
Or ? Object.fromEntries : (
|
|
2635
2639
|
// Ponyfill
|
|
2636
2640
|
function(t) {
|
|
2637
2641
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
2638
|
-
var s = i[r], o = s[0],
|
|
2639
|
-
n[o] =
|
|
2642
|
+
var s = i[r], o = s[0], l = s[1];
|
|
2643
|
+
n[o] = l;
|
|
2640
2644
|
}
|
|
2641
2645
|
return n;
|
|
2642
2646
|
}
|
|
2643
2647
|
)
|
|
2644
|
-
), on =
|
|
2648
|
+
), on = Pr ? (
|
|
2645
2649
|
// Native
|
|
2646
2650
|
function(t, n) {
|
|
2647
2651
|
return t.codePointAt(n);
|
|
@@ -2655,7 +2659,7 @@ var Ct = Rr ? (
|
|
|
2655
2659
|
return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2656
2660
|
}
|
|
2657
2661
|
}
|
|
2658
|
-
),
|
|
2662
|
+
), Dr = Nr ? (
|
|
2659
2663
|
// Native
|
|
2660
2664
|
function(t) {
|
|
2661
2665
|
return t.trimStart();
|
|
@@ -2663,9 +2667,9 @@ var Ct = Rr ? (
|
|
|
2663
2667
|
) : (
|
|
2664
2668
|
// Ponyfill
|
|
2665
2669
|
function(t) {
|
|
2666
|
-
return t.replace(
|
|
2670
|
+
return t.replace(Mr, "");
|
|
2667
2671
|
}
|
|
2668
|
-
),
|
|
2672
|
+
), Gr = Ir ? (
|
|
2669
2673
|
// Native
|
|
2670
2674
|
function(t) {
|
|
2671
2675
|
return t.trimEnd();
|
|
@@ -2673,32 +2677,32 @@ var Ct = Rr ? (
|
|
|
2673
2677
|
) : (
|
|
2674
2678
|
// Ponyfill
|
|
2675
2679
|
function(t) {
|
|
2676
|
-
return t.replace(
|
|
2680
|
+
return t.replace(Rr, "");
|
|
2677
2681
|
}
|
|
2678
2682
|
);
|
|
2679
|
-
function
|
|
2683
|
+
function un(e, t) {
|
|
2680
2684
|
return new RegExp(e, t);
|
|
2681
2685
|
}
|
|
2682
|
-
var
|
|
2683
|
-
if (
|
|
2684
|
-
var Tt =
|
|
2685
|
-
|
|
2686
|
+
var tt;
|
|
2687
|
+
if (Ke) {
|
|
2688
|
+
var Tt = un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2689
|
+
tt = function(t, n) {
|
|
2686
2690
|
var r;
|
|
2687
2691
|
Tt.lastIndex = n;
|
|
2688
2692
|
var i = Tt.exec(t);
|
|
2689
2693
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2690
2694
|
};
|
|
2691
2695
|
} else
|
|
2692
|
-
|
|
2696
|
+
tt = function(t, n) {
|
|
2693
2697
|
for (var r = []; ; ) {
|
|
2694
2698
|
var i = on(t, n);
|
|
2695
|
-
if (i === void 0 ||
|
|
2699
|
+
if (i === void 0 || ln(i) || zr(i))
|
|
2696
2700
|
break;
|
|
2697
2701
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2698
2702
|
}
|
|
2699
|
-
return
|
|
2703
|
+
return et.apply(void 0, r);
|
|
2700
2704
|
};
|
|
2701
|
-
var
|
|
2705
|
+
var Fr = (
|
|
2702
2706
|
/** @class */
|
|
2703
2707
|
function() {
|
|
2704
2708
|
function e(t, n) {
|
|
@@ -2720,16 +2724,16 @@ var Gr = (
|
|
|
2720
2724
|
if (s === 125 && t > 0)
|
|
2721
2725
|
break;
|
|
2722
2726
|
if (s === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2723
|
-
var
|
|
2727
|
+
var l = this.clonePosition();
|
|
2724
2728
|
this.bump(), i.push({
|
|
2725
|
-
type:
|
|
2726
|
-
location: x(
|
|
2729
|
+
type: _.pound,
|
|
2730
|
+
location: x(l, this.clonePosition())
|
|
2727
2731
|
});
|
|
2728
2732
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2729
2733
|
if (r)
|
|
2730
2734
|
break;
|
|
2731
2735
|
return this.error(y.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
2732
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2736
|
+
} else if (s === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
|
|
2733
2737
|
var o = this.parseTag(t, n);
|
|
2734
2738
|
if (o.err)
|
|
2735
2739
|
return o;
|
|
@@ -2750,7 +2754,7 @@ var Gr = (
|
|
|
2750
2754
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2751
2755
|
return {
|
|
2752
2756
|
val: {
|
|
2753
|
-
type:
|
|
2757
|
+
type: _.literal,
|
|
2754
2758
|
value: "<".concat(i, "/>"),
|
|
2755
2759
|
location: x(r, this.clonePosition())
|
|
2756
2760
|
},
|
|
@@ -2760,27 +2764,27 @@ var Gr = (
|
|
|
2760
2764
|
var s = this.parseMessage(t + 1, n, !0);
|
|
2761
2765
|
if (s.err)
|
|
2762
2766
|
return s;
|
|
2763
|
-
var o = s.val,
|
|
2767
|
+
var o = s.val, l = this.clonePosition();
|
|
2764
2768
|
if (this.bumpIf("</")) {
|
|
2765
|
-
if (this.isEOF() || !
|
|
2766
|
-
return this.error(y.INVALID_TAG, x(
|
|
2769
|
+
if (this.isEOF() || !nt(this.char()))
|
|
2770
|
+
return this.error(y.INVALID_TAG, x(l, this.clonePosition()));
|
|
2767
2771
|
var h = this.clonePosition(), a = this.parseTagName();
|
|
2768
2772
|
return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, x(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2769
2773
|
val: {
|
|
2770
|
-
type:
|
|
2774
|
+
type: _.tag,
|
|
2771
2775
|
value: i,
|
|
2772
2776
|
children: o,
|
|
2773
2777
|
location: x(r, this.clonePosition())
|
|
2774
2778
|
},
|
|
2775
2779
|
err: null
|
|
2776
|
-
} : this.error(y.INVALID_TAG, x(
|
|
2780
|
+
} : this.error(y.INVALID_TAG, x(l, this.clonePosition())));
|
|
2777
2781
|
} else
|
|
2778
2782
|
return this.error(y.UNCLOSED_TAG, x(r, this.clonePosition()));
|
|
2779
2783
|
} else
|
|
2780
2784
|
return this.error(y.INVALID_TAG, x(r, this.clonePosition()));
|
|
2781
2785
|
}, e.prototype.parseTagName = function() {
|
|
2782
2786
|
var t = this.offset();
|
|
2783
|
-
for (this.bump(); !this.isEOF() &&
|
|
2787
|
+
for (this.bump(); !this.isEOF() && Vr(this.char()); )
|
|
2784
2788
|
this.bump();
|
|
2785
2789
|
return this.message.slice(t, this.offset());
|
|
2786
2790
|
}, e.prototype.parseLiteral = function(t, n) {
|
|
@@ -2795,21 +2799,21 @@ var Gr = (
|
|
|
2795
2799
|
i += o;
|
|
2796
2800
|
continue;
|
|
2797
2801
|
}
|
|
2798
|
-
var
|
|
2799
|
-
if (
|
|
2800
|
-
i +=
|
|
2802
|
+
var l = this.tryParseLeftAngleBracket();
|
|
2803
|
+
if (l) {
|
|
2804
|
+
i += l;
|
|
2801
2805
|
continue;
|
|
2802
2806
|
}
|
|
2803
2807
|
break;
|
|
2804
2808
|
}
|
|
2805
2809
|
var h = x(r, this.clonePosition());
|
|
2806
2810
|
return {
|
|
2807
|
-
val: { type:
|
|
2811
|
+
val: { type: _.literal, value: i, location: h },
|
|
2808
2812
|
err: null
|
|
2809
2813
|
};
|
|
2810
2814
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2811
2815
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2812
|
-
!
|
|
2816
|
+
!jr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2813
2817
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2814
2818
|
if (this.isEOF() || this.char() !== 39)
|
|
2815
2819
|
return null;
|
|
@@ -2843,12 +2847,12 @@ var Gr = (
|
|
|
2843
2847
|
n.push(r);
|
|
2844
2848
|
this.bump();
|
|
2845
2849
|
}
|
|
2846
|
-
return
|
|
2850
|
+
return et.apply(void 0, n);
|
|
2847
2851
|
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
2848
2852
|
if (this.isEOF())
|
|
2849
2853
|
return null;
|
|
2850
2854
|
var r = this.char();
|
|
2851
|
-
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(),
|
|
2855
|
+
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), et(r));
|
|
2852
2856
|
}, e.prototype.parseArgument = function(t, n) {
|
|
2853
2857
|
var r = this.clonePosition();
|
|
2854
2858
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2864,7 +2868,7 @@ var Gr = (
|
|
|
2864
2868
|
case 125:
|
|
2865
2869
|
return this.bump(), {
|
|
2866
2870
|
val: {
|
|
2867
|
-
type:
|
|
2871
|
+
type: _.argument,
|
|
2868
2872
|
// value does not include the opening and closing braces.
|
|
2869
2873
|
value: i,
|
|
2870
2874
|
location: x(r, this.clonePosition())
|
|
@@ -2877,13 +2881,13 @@ var Gr = (
|
|
|
2877
2881
|
return this.error(y.MALFORMED_ARGUMENT, x(r, this.clonePosition()));
|
|
2878
2882
|
}
|
|
2879
2883
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2880
|
-
var t = this.clonePosition(), n = this.offset(), r =
|
|
2884
|
+
var t = this.clonePosition(), n = this.offset(), r = tt(this.message, n), i = n + r.length;
|
|
2881
2885
|
this.bumpTo(i);
|
|
2882
2886
|
var s = this.clonePosition(), o = x(t, s);
|
|
2883
2887
|
return { value: r, location: o };
|
|
2884
2888
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
2885
|
-
var s, o = this.clonePosition(),
|
|
2886
|
-
switch (
|
|
2889
|
+
var s, o = this.clonePosition(), l = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2890
|
+
switch (l) {
|
|
2887
2891
|
case "":
|
|
2888
2892
|
return this.error(y.EXPECT_ARGUMENT_TYPE, x(o, h));
|
|
2889
2893
|
case "number":
|
|
@@ -2893,49 +2897,49 @@ var Gr = (
|
|
|
2893
2897
|
var a = null;
|
|
2894
2898
|
if (this.bumpIf(",")) {
|
|
2895
2899
|
this.bumpSpace();
|
|
2896
|
-
var
|
|
2900
|
+
var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2897
2901
|
if (c.err)
|
|
2898
2902
|
return c;
|
|
2899
|
-
var f =
|
|
2903
|
+
var f = Gr(c.val);
|
|
2900
2904
|
if (f.length === 0)
|
|
2901
2905
|
return this.error(y.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
2902
|
-
var d = x(
|
|
2906
|
+
var d = x(u, this.clonePosition());
|
|
2903
2907
|
a = { style: f, styleLocation: d };
|
|
2904
2908
|
}
|
|
2905
2909
|
var g = this.tryParseArgumentClose(i);
|
|
2906
2910
|
if (g.err)
|
|
2907
2911
|
return g;
|
|
2908
|
-
var
|
|
2912
|
+
var E = x(i, this.clonePosition());
|
|
2909
2913
|
if (a && Ct(a == null ? void 0 : a.style, "::", 0)) {
|
|
2910
|
-
var H =
|
|
2911
|
-
if (
|
|
2914
|
+
var H = Dr(a.style.slice(2));
|
|
2915
|
+
if (l === "number") {
|
|
2912
2916
|
var c = this.parseNumberSkeletonFromString(H, a.styleLocation);
|
|
2913
2917
|
return c.err ? c : {
|
|
2914
|
-
val: { type:
|
|
2918
|
+
val: { type: _.number, value: r, location: E, style: c.val },
|
|
2915
2919
|
err: null
|
|
2916
2920
|
};
|
|
2917
2921
|
} else {
|
|
2918
2922
|
if (H.length === 0)
|
|
2919
|
-
return this.error(y.EXPECT_DATE_TIME_SKELETON,
|
|
2923
|
+
return this.error(y.EXPECT_DATE_TIME_SKELETON, E);
|
|
2920
2924
|
var S = H;
|
|
2921
|
-
this.locale && (S =
|
|
2925
|
+
this.locale && (S = Br(H, this.locale));
|
|
2922
2926
|
var f = {
|
|
2923
|
-
type:
|
|
2927
|
+
type: ce.dateTime,
|
|
2924
2928
|
pattern: S,
|
|
2925
2929
|
location: a.styleLocation,
|
|
2926
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2927
|
-
}, B =
|
|
2930
|
+
parsedOptions: this.shouldParseSkeletons ? xr(S) : {}
|
|
2931
|
+
}, B = l === "date" ? _.date : _.time;
|
|
2928
2932
|
return {
|
|
2929
|
-
val: { type: B, value: r, location:
|
|
2933
|
+
val: { type: B, value: r, location: E, style: f },
|
|
2930
2934
|
err: null
|
|
2931
2935
|
};
|
|
2932
2936
|
}
|
|
2933
2937
|
}
|
|
2934
2938
|
return {
|
|
2935
2939
|
val: {
|
|
2936
|
-
type:
|
|
2940
|
+
type: l === "number" ? _.number : l === "date" ? _.date : _.time,
|
|
2937
2941
|
value: r,
|
|
2938
|
-
location:
|
|
2942
|
+
location: E,
|
|
2939
2943
|
style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
|
|
2940
2944
|
},
|
|
2941
2945
|
err: null
|
|
@@ -2944,12 +2948,12 @@ var Gr = (
|
|
|
2944
2948
|
case "plural":
|
|
2945
2949
|
case "selectordinal":
|
|
2946
2950
|
case "select": {
|
|
2947
|
-
var
|
|
2951
|
+
var T = this.clonePosition();
|
|
2948
2952
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2949
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, x(
|
|
2953
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, x(T, Le({}, T)));
|
|
2950
2954
|
this.bumpSpace();
|
|
2951
2955
|
var V = this.parseIdentifierIfPossible(), M = 0;
|
|
2952
|
-
if (
|
|
2956
|
+
if (l !== "select" && V.value === "offset") {
|
|
2953
2957
|
if (!this.bumpIf(":"))
|
|
2954
2958
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
2955
2959
|
this.bumpSpace();
|
|
@@ -2958,16 +2962,16 @@ var Gr = (
|
|
|
2958
2962
|
return c;
|
|
2959
2963
|
this.bumpSpace(), V = this.parseIdentifierIfPossible(), M = c.val;
|
|
2960
2964
|
}
|
|
2961
|
-
var A = this.tryParsePluralOrSelectOptions(t,
|
|
2965
|
+
var A = this.tryParsePluralOrSelectOptions(t, l, n, V);
|
|
2962
2966
|
if (A.err)
|
|
2963
2967
|
return A;
|
|
2964
2968
|
var g = this.tryParseArgumentClose(i);
|
|
2965
2969
|
if (g.err)
|
|
2966
2970
|
return g;
|
|
2967
2971
|
var Z = x(i, this.clonePosition());
|
|
2968
|
-
return
|
|
2972
|
+
return l === "select" ? {
|
|
2969
2973
|
val: {
|
|
2970
|
-
type:
|
|
2974
|
+
type: _.select,
|
|
2971
2975
|
value: r,
|
|
2972
2976
|
options: _t(A.val),
|
|
2973
2977
|
location: Z
|
|
@@ -2975,11 +2979,11 @@ var Gr = (
|
|
|
2975
2979
|
err: null
|
|
2976
2980
|
} : {
|
|
2977
2981
|
val: {
|
|
2978
|
-
type:
|
|
2982
|
+
type: _.plural,
|
|
2979
2983
|
value: r,
|
|
2980
2984
|
options: _t(A.val),
|
|
2981
2985
|
offset: M,
|
|
2982
|
-
pluralType:
|
|
2986
|
+
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
2983
2987
|
location: Z
|
|
2984
2988
|
},
|
|
2985
2989
|
err: null
|
|
@@ -3028,33 +3032,33 @@ var Gr = (
|
|
|
3028
3032
|
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
3029
3033
|
var r = [];
|
|
3030
3034
|
try {
|
|
3031
|
-
r =
|
|
3035
|
+
r = Cr(t);
|
|
3032
3036
|
} catch (i) {
|
|
3033
3037
|
return this.error(y.INVALID_NUMBER_SKELETON, n);
|
|
3034
3038
|
}
|
|
3035
3039
|
return {
|
|
3036
3040
|
val: {
|
|
3037
|
-
type:
|
|
3041
|
+
type: ce.number,
|
|
3038
3042
|
tokens: r,
|
|
3039
3043
|
location: n,
|
|
3040
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3044
|
+
parsedOptions: this.shouldParseSkeletons ? Sr(r) : {}
|
|
3041
3045
|
},
|
|
3042
3046
|
err: null
|
|
3043
3047
|
};
|
|
3044
3048
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3045
|
-
for (var s, o = !1,
|
|
3049
|
+
for (var s, o = !1, l = [], h = /* @__PURE__ */ new Set(), a = i.value, u = i.location; ; ) {
|
|
3046
3050
|
if (a.length === 0) {
|
|
3047
3051
|
var c = this.clonePosition();
|
|
3048
3052
|
if (n !== "select" && this.bumpIf("=")) {
|
|
3049
3053
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3050
3054
|
if (f.err)
|
|
3051
3055
|
return f;
|
|
3052
|
-
|
|
3056
|
+
u = x(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
|
3053
3057
|
} else
|
|
3054
3058
|
break;
|
|
3055
3059
|
}
|
|
3056
3060
|
if (h.has(a))
|
|
3057
|
-
return this.error(n === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3061
|
+
return this.error(n === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
|
|
3058
3062
|
a === "other" && (o = !0), this.bumpSpace();
|
|
3059
3063
|
var d = this.clonePosition();
|
|
3060
3064
|
if (!this.bumpIf("{"))
|
|
@@ -3062,30 +3066,30 @@ var Gr = (
|
|
|
3062
3066
|
var g = this.parseMessage(t + 1, n, r);
|
|
3063
3067
|
if (g.err)
|
|
3064
3068
|
return g;
|
|
3065
|
-
var
|
|
3066
|
-
if (
|
|
3067
|
-
return
|
|
3068
|
-
|
|
3069
|
+
var E = this.tryParseArgumentClose(d);
|
|
3070
|
+
if (E.err)
|
|
3071
|
+
return E;
|
|
3072
|
+
l.push([
|
|
3069
3073
|
a,
|
|
3070
3074
|
{
|
|
3071
3075
|
value: g.val,
|
|
3072
3076
|
location: x(d, this.clonePosition())
|
|
3073
3077
|
}
|
|
3074
|
-
]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value,
|
|
3078
|
+
]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, u = s.location;
|
|
3075
3079
|
}
|
|
3076
|
-
return
|
|
3080
|
+
return l.length === 0 ? this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
3077
3081
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3078
3082
|
var r = 1, i = this.clonePosition();
|
|
3079
3083
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3080
3084
|
for (var s = !1, o = 0; !this.isEOF(); ) {
|
|
3081
|
-
var
|
|
3082
|
-
if (
|
|
3083
|
-
s = !0, o = o * 10 + (
|
|
3085
|
+
var l = this.char();
|
|
3086
|
+
if (l >= 48 && l <= 57)
|
|
3087
|
+
s = !0, o = o * 10 + (l - 48), this.bump();
|
|
3084
3088
|
else
|
|
3085
3089
|
break;
|
|
3086
3090
|
}
|
|
3087
3091
|
var h = x(i, this.clonePosition());
|
|
3088
|
-
return s ? (o *= r,
|
|
3092
|
+
return s ? (o *= r, $r(o) ? { val: o, err: null } : this.error(n, h)) : this.error(t, h);
|
|
3089
3093
|
}, e.prototype.offset = function() {
|
|
3090
3094
|
return this.position.offset;
|
|
3091
3095
|
}, e.prototype.isEOF = function() {
|
|
@@ -3141,7 +3145,7 @@ var Gr = (
|
|
|
3141
3145
|
break;
|
|
3142
3146
|
}
|
|
3143
3147
|
}, e.prototype.bumpSpace = function() {
|
|
3144
|
-
for (; !this.isEOF() &&
|
|
3148
|
+
for (; !this.isEOF() && ln(this.char()); )
|
|
3145
3149
|
this.bump();
|
|
3146
3150
|
}, e.prototype.peek = function() {
|
|
3147
3151
|
if (this.isEOF())
|
|
@@ -3151,47 +3155,47 @@ var Gr = (
|
|
|
3151
3155
|
}, e;
|
|
3152
3156
|
}()
|
|
3153
3157
|
);
|
|
3154
|
-
function
|
|
3158
|
+
function nt(e) {
|
|
3155
3159
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3156
3160
|
}
|
|
3157
|
-
function Fr(e) {
|
|
3158
|
-
return et(e) || e === 47;
|
|
3159
|
-
}
|
|
3160
3161
|
function jr(e) {
|
|
3162
|
+
return nt(e) || e === 47;
|
|
3163
|
+
}
|
|
3164
|
+
function Vr(e) {
|
|
3161
3165
|
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;
|
|
3162
3166
|
}
|
|
3163
|
-
function
|
|
3167
|
+
function ln(e) {
|
|
3164
3168
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3165
3169
|
}
|
|
3166
|
-
function
|
|
3170
|
+
function zr(e) {
|
|
3167
3171
|
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;
|
|
3168
3172
|
}
|
|
3169
|
-
function
|
|
3173
|
+
function rt(e) {
|
|
3170
3174
|
e.forEach(function(t) {
|
|
3171
3175
|
if (delete t.location, Yt(t) || Kt(t))
|
|
3172
3176
|
for (var n in t.options)
|
|
3173
|
-
delete t.options[n].location,
|
|
3177
|
+
delete t.options[n].location, rt(t.options[n].value);
|
|
3174
3178
|
else
|
|
3175
|
-
qt(t) && tn(t.style) || (Qt(t) || Jt(t)) &&
|
|
3179
|
+
qt(t) && tn(t.style) || (Qt(t) || Jt(t)) && Ye(t.style) ? delete t.style.location : en(t) && rt(t.children);
|
|
3176
3180
|
});
|
|
3177
3181
|
}
|
|
3178
|
-
function
|
|
3179
|
-
t === void 0 && (t = {}), t =
|
|
3180
|
-
var n = new
|
|
3182
|
+
function Zr(e, t) {
|
|
3183
|
+
t === void 0 && (t = {}), t = Le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3184
|
+
var n = new Fr(e, t).parse();
|
|
3181
3185
|
if (n.err) {
|
|
3182
3186
|
var r = SyntaxError(y[n.err.kind]);
|
|
3183
3187
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3184
3188
|
}
|
|
3185
|
-
return t != null && t.captureLocation ||
|
|
3189
|
+
return t != null && t.captureLocation || rt(n.val), n.val;
|
|
3186
3190
|
}
|
|
3187
|
-
var
|
|
3191
|
+
var fe;
|
|
3188
3192
|
(function(e) {
|
|
3189
3193
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3190
|
-
})(
|
|
3191
|
-
var
|
|
3194
|
+
})(fe || (fe = {}));
|
|
3195
|
+
var Ie = (
|
|
3192
3196
|
/** @class */
|
|
3193
3197
|
function(e) {
|
|
3194
|
-
|
|
3198
|
+
Ne(t, e);
|
|
3195
3199
|
function t(n, r, i) {
|
|
3196
3200
|
var s = e.call(this, n) || this;
|
|
3197
3201
|
return s.code = r, s.originalMessage = i, s;
|
|
@@ -3203,44 +3207,44 @@ var Pe = (
|
|
|
3203
3207
|
), wt = (
|
|
3204
3208
|
/** @class */
|
|
3205
3209
|
function(e) {
|
|
3206
|
-
|
|
3210
|
+
Ne(t, e);
|
|
3207
3211
|
function t(n, r, i, s) {
|
|
3208
|
-
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3212
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, s) || this;
|
|
3209
3213
|
}
|
|
3210
3214
|
return t;
|
|
3211
|
-
}(
|
|
3212
|
-
),
|
|
3215
|
+
}(Ie)
|
|
3216
|
+
), Xr = (
|
|
3213
3217
|
/** @class */
|
|
3214
3218
|
function(e) {
|
|
3215
|
-
|
|
3219
|
+
Ne(t, e);
|
|
3216
3220
|
function t(n, r, i) {
|
|
3217
|
-
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r),
|
|
3221
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), fe.INVALID_VALUE, i) || this;
|
|
3218
3222
|
}
|
|
3219
3223
|
return t;
|
|
3220
|
-
}(
|
|
3221
|
-
),
|
|
3224
|
+
}(Ie)
|
|
3225
|
+
), Wr = (
|
|
3222
3226
|
/** @class */
|
|
3223
3227
|
function(e) {
|
|
3224
|
-
|
|
3228
|
+
Ne(t, e);
|
|
3225
3229
|
function t(n, r) {
|
|
3226
|
-
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'),
|
|
3230
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), fe.MISSING_VALUE, r) || this;
|
|
3227
3231
|
}
|
|
3228
3232
|
return t;
|
|
3229
|
-
}(
|
|
3233
|
+
}(Ie)
|
|
3230
3234
|
), N;
|
|
3231
3235
|
(function(e) {
|
|
3232
3236
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3233
3237
|
})(N || (N = {}));
|
|
3234
|
-
function
|
|
3238
|
+
function qr(e) {
|
|
3235
3239
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3236
3240
|
var r = t[t.length - 1];
|
|
3237
3241
|
return !r || r.type !== N.literal || n.type !== N.literal ? t.push(n) : r.value += n.value, t;
|
|
3238
3242
|
}, []);
|
|
3239
3243
|
}
|
|
3240
|
-
function
|
|
3244
|
+
function Qr(e) {
|
|
3241
3245
|
return typeof e == "function";
|
|
3242
3246
|
}
|
|
3243
|
-
function
|
|
3247
|
+
function He(e, t, n, r, i, s, o) {
|
|
3244
3248
|
if (e.length === 1 && yt(e[0]))
|
|
3245
3249
|
return [
|
|
3246
3250
|
{
|
|
@@ -3248,107 +3252,107 @@ function Be(e, t, n, r, i, s, o) {
|
|
|
3248
3252
|
value: e[0].value
|
|
3249
3253
|
}
|
|
3250
3254
|
];
|
|
3251
|
-
for (var
|
|
3252
|
-
var
|
|
3253
|
-
if (yt(
|
|
3254
|
-
|
|
3255
|
+
for (var l = [], h = 0, a = e; h < a.length; h++) {
|
|
3256
|
+
var u = a[h];
|
|
3257
|
+
if (yt(u)) {
|
|
3258
|
+
l.push({
|
|
3255
3259
|
type: N.literal,
|
|
3256
|
-
value:
|
|
3260
|
+
value: u.value
|
|
3257
3261
|
});
|
|
3258
3262
|
continue;
|
|
3259
3263
|
}
|
|
3260
|
-
if (
|
|
3261
|
-
typeof s == "number" &&
|
|
3264
|
+
if (yr(u)) {
|
|
3265
|
+
typeof s == "number" && l.push({
|
|
3262
3266
|
type: N.literal,
|
|
3263
3267
|
value: n.getNumberFormat(t).format(s)
|
|
3264
3268
|
});
|
|
3265
3269
|
continue;
|
|
3266
3270
|
}
|
|
3267
|
-
var c =
|
|
3271
|
+
var c = u.value;
|
|
3268
3272
|
if (!(i && c in i))
|
|
3269
|
-
throw new
|
|
3273
|
+
throw new Wr(c, o);
|
|
3270
3274
|
var f = i[c];
|
|
3271
|
-
if (
|
|
3272
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3275
|
+
if (gr(u)) {
|
|
3276
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), l.push({
|
|
3273
3277
|
type: typeof f == "string" ? N.literal : N.object,
|
|
3274
3278
|
value: f
|
|
3275
3279
|
});
|
|
3276
3280
|
continue;
|
|
3277
3281
|
}
|
|
3278
|
-
if (Qt(
|
|
3279
|
-
var d = typeof
|
|
3280
|
-
|
|
3282
|
+
if (Qt(u)) {
|
|
3283
|
+
var d = typeof u.style == "string" ? r.date[u.style] : Ye(u.style) ? u.style.parsedOptions : void 0;
|
|
3284
|
+
l.push({
|
|
3281
3285
|
type: N.literal,
|
|
3282
3286
|
value: n.getDateTimeFormat(t, d).format(f)
|
|
3283
3287
|
});
|
|
3284
3288
|
continue;
|
|
3285
3289
|
}
|
|
3286
|
-
if (Jt(
|
|
3287
|
-
var d = typeof
|
|
3288
|
-
|
|
3290
|
+
if (Jt(u)) {
|
|
3291
|
+
var d = typeof u.style == "string" ? r.time[u.style] : Ye(u.style) ? u.style.parsedOptions : r.time.medium;
|
|
3292
|
+
l.push({
|
|
3289
3293
|
type: N.literal,
|
|
3290
3294
|
value: n.getDateTimeFormat(t, d).format(f)
|
|
3291
3295
|
});
|
|
3292
3296
|
continue;
|
|
3293
3297
|
}
|
|
3294
|
-
if (qt(
|
|
3295
|
-
var d = typeof
|
|
3296
|
-
d && d.scale && (f = f * (d.scale || 1)),
|
|
3298
|
+
if (qt(u)) {
|
|
3299
|
+
var d = typeof u.style == "string" ? r.number[u.style] : tn(u.style) ? u.style.parsedOptions : void 0;
|
|
3300
|
+
d && d.scale && (f = f * (d.scale || 1)), l.push({
|
|
3297
3301
|
type: N.literal,
|
|
3298
3302
|
value: n.getNumberFormat(t, d).format(f)
|
|
3299
3303
|
});
|
|
3300
3304
|
continue;
|
|
3301
3305
|
}
|
|
3302
|
-
if (en(
|
|
3303
|
-
var g =
|
|
3304
|
-
if (!
|
|
3305
|
-
throw new
|
|
3306
|
-
var S =
|
|
3306
|
+
if (en(u)) {
|
|
3307
|
+
var g = u.children, E = u.value, H = i[E];
|
|
3308
|
+
if (!Qr(H))
|
|
3309
|
+
throw new Xr(E, "function", o);
|
|
3310
|
+
var S = He(g, t, n, r, i, s), B = H(S.map(function(M) {
|
|
3307
3311
|
return M.value;
|
|
3308
3312
|
}));
|
|
3309
|
-
Array.isArray(B) || (B = [B]),
|
|
3313
|
+
Array.isArray(B) || (B = [B]), l.push.apply(l, B.map(function(M) {
|
|
3310
3314
|
return {
|
|
3311
3315
|
type: typeof M == "string" ? N.literal : N.object,
|
|
3312
3316
|
value: M
|
|
3313
3317
|
};
|
|
3314
3318
|
}));
|
|
3315
3319
|
}
|
|
3316
|
-
if (Yt(
|
|
3317
|
-
var
|
|
3318
|
-
if (!
|
|
3319
|
-
throw new wt(
|
|
3320
|
-
|
|
3320
|
+
if (Yt(u)) {
|
|
3321
|
+
var T = u.options[f] || u.options.other;
|
|
3322
|
+
if (!T)
|
|
3323
|
+
throw new wt(u.value, f, Object.keys(u.options), o);
|
|
3324
|
+
l.push.apply(l, He(T.value, t, n, r, i));
|
|
3321
3325
|
continue;
|
|
3322
3326
|
}
|
|
3323
|
-
if (Kt(
|
|
3324
|
-
var
|
|
3325
|
-
if (!
|
|
3327
|
+
if (Kt(u)) {
|
|
3328
|
+
var T = u.options["=".concat(f)];
|
|
3329
|
+
if (!T) {
|
|
3326
3330
|
if (!Intl.PluralRules)
|
|
3327
|
-
throw new
|
|
3331
|
+
throw new Ie(`Intl.PluralRules is not available in this environment.
|
|
3328
3332
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3329
|
-
`,
|
|
3330
|
-
var V = n.getPluralRules(t, { type:
|
|
3331
|
-
|
|
3333
|
+
`, fe.MISSING_INTL_API, o);
|
|
3334
|
+
var V = n.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
|
|
3335
|
+
T = u.options[V] || u.options.other;
|
|
3332
3336
|
}
|
|
3333
|
-
if (!
|
|
3334
|
-
throw new wt(
|
|
3335
|
-
|
|
3337
|
+
if (!T)
|
|
3338
|
+
throw new wt(u.value, f, Object.keys(u.options), o);
|
|
3339
|
+
l.push.apply(l, He(T.value, t, n, r, i, f - (u.offset || 0)));
|
|
3336
3340
|
continue;
|
|
3337
3341
|
}
|
|
3338
3342
|
}
|
|
3339
|
-
return
|
|
3343
|
+
return qr(l);
|
|
3340
3344
|
}
|
|
3341
|
-
function
|
|
3342
|
-
return t ?
|
|
3343
|
-
return n[r] =
|
|
3345
|
+
function Jr(e, t) {
|
|
3346
|
+
return t ? q(q(q({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3347
|
+
return n[r] = q(q({}, e[r]), t[r] || {}), n;
|
|
3344
3348
|
}, {})) : e;
|
|
3345
3349
|
}
|
|
3346
|
-
function
|
|
3350
|
+
function Yr(e, t) {
|
|
3347
3351
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3348
|
-
return n[r] =
|
|
3349
|
-
},
|
|
3352
|
+
return n[r] = Jr(e[r], t[r]), n;
|
|
3353
|
+
}, q({}, e)) : e;
|
|
3350
3354
|
}
|
|
3351
|
-
function
|
|
3355
|
+
function Ze(e) {
|
|
3352
3356
|
return {
|
|
3353
3357
|
create: function() {
|
|
3354
3358
|
return {
|
|
@@ -3362,39 +3366,39 @@ function Ve(e) {
|
|
|
3362
3366
|
}
|
|
3363
3367
|
};
|
|
3364
3368
|
}
|
|
3365
|
-
function
|
|
3369
|
+
function Kr(e) {
|
|
3366
3370
|
return e === void 0 && (e = {
|
|
3367
3371
|
number: {},
|
|
3368
3372
|
dateTime: {},
|
|
3369
3373
|
pluralRules: {}
|
|
3370
3374
|
}), {
|
|
3371
|
-
getNumberFormat:
|
|
3375
|
+
getNumberFormat: je(function() {
|
|
3372
3376
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3373
3377
|
n[r] = arguments[r];
|
|
3374
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3378
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Fe([void 0], n, !1)))();
|
|
3375
3379
|
}, {
|
|
3376
|
-
cache:
|
|
3377
|
-
strategy:
|
|
3380
|
+
cache: Ze(e.number),
|
|
3381
|
+
strategy: Ve.variadic
|
|
3378
3382
|
}),
|
|
3379
|
-
getDateTimeFormat:
|
|
3383
|
+
getDateTimeFormat: je(function() {
|
|
3380
3384
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3381
3385
|
n[r] = arguments[r];
|
|
3382
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3386
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Fe([void 0], n, !1)))();
|
|
3383
3387
|
}, {
|
|
3384
|
-
cache:
|
|
3385
|
-
strategy:
|
|
3388
|
+
cache: Ze(e.dateTime),
|
|
3389
|
+
strategy: Ve.variadic
|
|
3386
3390
|
}),
|
|
3387
|
-
getPluralRules:
|
|
3391
|
+
getPluralRules: je(function() {
|
|
3388
3392
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3389
3393
|
n[r] = arguments[r];
|
|
3390
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3394
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Fe([void 0], n, !1)))();
|
|
3391
3395
|
}, {
|
|
3392
|
-
cache:
|
|
3393
|
-
strategy:
|
|
3396
|
+
cache: Ze(e.pluralRules),
|
|
3397
|
+
strategy: Ve.variadic
|
|
3394
3398
|
})
|
|
3395
3399
|
};
|
|
3396
3400
|
}
|
|
3397
|
-
var
|
|
3401
|
+
var ei = (
|
|
3398
3402
|
/** @class */
|
|
3399
3403
|
function() {
|
|
3400
3404
|
function e(t, n, r, i) {
|
|
@@ -3408,12 +3412,12 @@ var Kr = (
|
|
|
3408
3412
|
var a = s.formatToParts(h);
|
|
3409
3413
|
if (a.length === 1)
|
|
3410
3414
|
return a[0].value;
|
|
3411
|
-
var
|
|
3415
|
+
var u = a.reduce(function(c, f) {
|
|
3412
3416
|
return !c.length || f.type !== N.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3413
3417
|
}, []);
|
|
3414
|
-
return
|
|
3418
|
+
return u.length <= 1 ? u[0] || "" : u;
|
|
3415
3419
|
}, this.formatToParts = function(h) {
|
|
3416
|
-
return
|
|
3420
|
+
return He(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3417
3421
|
}, this.resolvedOptions = function() {
|
|
3418
3422
|
var h;
|
|
3419
3423
|
return {
|
|
@@ -3426,13 +3430,13 @@ var Kr = (
|
|
|
3426
3430
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3427
3431
|
var o = i || {};
|
|
3428
3432
|
o.formatters;
|
|
3429
|
-
var
|
|
3430
|
-
this.ast = e.__parse(t,
|
|
3433
|
+
var l = lr(o, ["formatters"]);
|
|
3434
|
+
this.ast = e.__parse(t, q(q({}, l), { locale: this.resolvedLocale }));
|
|
3431
3435
|
} else
|
|
3432
3436
|
this.ast = t;
|
|
3433
3437
|
if (!Array.isArray(this.ast))
|
|
3434
3438
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3435
|
-
this.formats =
|
|
3439
|
+
this.formats = Yr(e.formats, r), this.formatters = i && i.formatters || Kr(this.formatterCache);
|
|
3436
3440
|
}
|
|
3437
3441
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3438
3442
|
get: function() {
|
|
@@ -3445,7 +3449,7 @@ var Kr = (
|
|
|
3445
3449
|
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3446
3450
|
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3447
3451
|
}
|
|
3448
|
-
}, e.__parse =
|
|
3452
|
+
}, e.__parse = Zr, e.formats = {
|
|
3449
3453
|
number: {
|
|
3450
3454
|
integer: {
|
|
3451
3455
|
maximumFractionDigits: 0
|
|
@@ -3506,7 +3510,7 @@ var Kr = (
|
|
|
3506
3510
|
}, e;
|
|
3507
3511
|
}()
|
|
3508
3512
|
);
|
|
3509
|
-
function
|
|
3513
|
+
function ti(e, t) {
|
|
3510
3514
|
if (t == null)
|
|
3511
3515
|
return;
|
|
3512
3516
|
if (t in e)
|
|
@@ -3527,36 +3531,36 @@ function ei(e, t) {
|
|
|
3527
3531
|
r = void 0;
|
|
3528
3532
|
return r;
|
|
3529
3533
|
}
|
|
3530
|
-
const
|
|
3534
|
+
const K = {}, ni = (e, t, n) => n && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = n), n), hn = (e, t) => {
|
|
3531
3535
|
if (t == null)
|
|
3532
3536
|
return;
|
|
3533
|
-
if (t in
|
|
3534
|
-
return
|
|
3535
|
-
const n =
|
|
3537
|
+
if (t in K && e in K[t])
|
|
3538
|
+
return K[t][e];
|
|
3539
|
+
const n = ke(t);
|
|
3536
3540
|
for (let r = 0; r < n.length; r++) {
|
|
3537
|
-
const i = n[r], s =
|
|
3541
|
+
const i = n[r], s = ii(i, e);
|
|
3538
3542
|
if (s)
|
|
3539
|
-
return
|
|
3543
|
+
return ni(e, t, s);
|
|
3540
3544
|
}
|
|
3541
3545
|
};
|
|
3542
3546
|
let ot;
|
|
3543
|
-
const
|
|
3544
|
-
function
|
|
3547
|
+
const pe = Pe({});
|
|
3548
|
+
function ri(e) {
|
|
3545
3549
|
return ot[e] || null;
|
|
3546
3550
|
}
|
|
3547
3551
|
function cn(e) {
|
|
3548
3552
|
return e in ot;
|
|
3549
3553
|
}
|
|
3550
|
-
function
|
|
3554
|
+
function ii(e, t) {
|
|
3551
3555
|
if (!cn(e))
|
|
3552
3556
|
return null;
|
|
3553
|
-
const n =
|
|
3554
|
-
return
|
|
3557
|
+
const n = ri(e);
|
|
3558
|
+
return ti(n, t);
|
|
3555
3559
|
}
|
|
3556
|
-
function
|
|
3560
|
+
function si(e) {
|
|
3557
3561
|
if (e == null)
|
|
3558
3562
|
return;
|
|
3559
|
-
const t =
|
|
3563
|
+
const t = ke(e);
|
|
3560
3564
|
for (let n = 0; n < t.length; n++) {
|
|
3561
3565
|
const r = t[n];
|
|
3562
3566
|
if (cn(r))
|
|
@@ -3564,53 +3568,53 @@ function ii(e) {
|
|
|
3564
3568
|
}
|
|
3565
3569
|
}
|
|
3566
3570
|
function fn(e, ...t) {
|
|
3567
|
-
delete
|
|
3571
|
+
delete K[e], pe.update((n) => (n[e] = ur.all([n[e] || {}, ...t]), n));
|
|
3568
3572
|
}
|
|
3569
|
-
|
|
3570
|
-
[
|
|
3573
|
+
de(
|
|
3574
|
+
[pe],
|
|
3571
3575
|
([e]) => Object.keys(e)
|
|
3572
3576
|
);
|
|
3573
|
-
|
|
3574
|
-
const
|
|
3575
|
-
function
|
|
3576
|
-
|
|
3577
|
+
pe.subscribe((e) => ot = e);
|
|
3578
|
+
const Me = {};
|
|
3579
|
+
function ai(e, t) {
|
|
3580
|
+
Me[e].delete(t), Me[e].size === 0 && delete Me[e];
|
|
3577
3581
|
}
|
|
3578
3582
|
function mn(e) {
|
|
3579
|
-
return
|
|
3583
|
+
return Me[e];
|
|
3580
3584
|
}
|
|
3581
|
-
function
|
|
3582
|
-
return
|
|
3585
|
+
function oi(e) {
|
|
3586
|
+
return ke(e).map((t) => {
|
|
3583
3587
|
const n = mn(t);
|
|
3584
3588
|
return [t, n ? [...n] : []];
|
|
3585
3589
|
}).filter(([, t]) => t.length > 0);
|
|
3586
3590
|
}
|
|
3587
|
-
function
|
|
3588
|
-
return e == null ? !1 :
|
|
3591
|
+
function it(e) {
|
|
3592
|
+
return e == null ? !1 : ke(e).some(
|
|
3589
3593
|
(t) => {
|
|
3590
3594
|
var n;
|
|
3591
3595
|
return (n = mn(t)) == null ? void 0 : n.size;
|
|
3592
3596
|
}
|
|
3593
3597
|
);
|
|
3594
3598
|
}
|
|
3595
|
-
function
|
|
3599
|
+
function ui(e, t) {
|
|
3596
3600
|
return Promise.all(
|
|
3597
|
-
t.map((r) => (
|
|
3601
|
+
t.map((r) => (ai(e, r), r().then((i) => i.default || i)))
|
|
3598
3602
|
).then((r) => fn(e, ...r));
|
|
3599
3603
|
}
|
|
3600
|
-
const
|
|
3604
|
+
const ye = {};
|
|
3601
3605
|
function dn(e) {
|
|
3602
|
-
if (!
|
|
3603
|
-
return e in
|
|
3604
|
-
const t =
|
|
3605
|
-
return
|
|
3606
|
+
if (!it(e))
|
|
3607
|
+
return e in ye ? ye[e] : Promise.resolve();
|
|
3608
|
+
const t = oi(e);
|
|
3609
|
+
return ye[e] = Promise.all(
|
|
3606
3610
|
t.map(
|
|
3607
|
-
([n, r]) =>
|
|
3611
|
+
([n, r]) => ui(n, r)
|
|
3608
3612
|
)
|
|
3609
3613
|
).then(() => {
|
|
3610
|
-
if (
|
|
3614
|
+
if (it(e))
|
|
3611
3615
|
return dn(e);
|
|
3612
|
-
delete
|
|
3613
|
-
}),
|
|
3616
|
+
delete ye[e];
|
|
3617
|
+
}), ye[e];
|
|
3614
3618
|
}
|
|
3615
3619
|
const li = {
|
|
3616
3620
|
number: {
|
|
@@ -3641,159 +3645,159 @@ const li = {
|
|
|
3641
3645
|
timeZoneName: "short"
|
|
3642
3646
|
}
|
|
3643
3647
|
}
|
|
3644
|
-
},
|
|
3648
|
+
}, hi = {
|
|
3645
3649
|
fallbackLocale: null,
|
|
3646
3650
|
loadingDelay: 200,
|
|
3647
3651
|
formats: li,
|
|
3648
3652
|
warnOnMissingMessages: !0,
|
|
3649
3653
|
handleMissingMessage: void 0,
|
|
3650
3654
|
ignoreTag: !0
|
|
3651
|
-
},
|
|
3652
|
-
function
|
|
3653
|
-
return
|
|
3655
|
+
}, ci = hi;
|
|
3656
|
+
function me() {
|
|
3657
|
+
return ci;
|
|
3654
3658
|
}
|
|
3655
|
-
const
|
|
3656
|
-
var
|
|
3659
|
+
const Xe = Pe(!1);
|
|
3660
|
+
var fi = Object.defineProperty, mi = Object.defineProperties, di = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, pi = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, Bt = (e, t, n) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, gi = (e, t) => {
|
|
3657
3661
|
for (var n in t || (t = {}))
|
|
3658
|
-
|
|
3662
|
+
pi.call(t, n) && Bt(e, n, t[n]);
|
|
3659
3663
|
if (St)
|
|
3660
3664
|
for (var n of St(t))
|
|
3661
|
-
|
|
3665
|
+
bi.call(t, n) && Bt(e, n, t[n]);
|
|
3662
3666
|
return e;
|
|
3663
|
-
},
|
|
3664
|
-
let
|
|
3665
|
-
const
|
|
3667
|
+
}, yi = (e, t) => mi(e, di(t));
|
|
3668
|
+
let st;
|
|
3669
|
+
const Ae = Pe(null);
|
|
3666
3670
|
function Ht(e) {
|
|
3667
3671
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3668
3672
|
}
|
|
3669
|
-
function
|
|
3673
|
+
function ke(e, t = me().fallbackLocale) {
|
|
3670
3674
|
const n = Ht(e);
|
|
3671
3675
|
return t ? [.../* @__PURE__ */ new Set([...n, ...Ht(t)])] : n;
|
|
3672
3676
|
}
|
|
3673
|
-
function
|
|
3674
|
-
return
|
|
3677
|
+
function se() {
|
|
3678
|
+
return st != null ? st : void 0;
|
|
3675
3679
|
}
|
|
3676
|
-
|
|
3677
|
-
|
|
3680
|
+
Ae.subscribe((e) => {
|
|
3681
|
+
st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3678
3682
|
});
|
|
3679
|
-
const
|
|
3680
|
-
if (e &&
|
|
3681
|
-
const { loadingDelay: t } =
|
|
3683
|
+
const vi = (e) => {
|
|
3684
|
+
if (e && si(e) && it(e)) {
|
|
3685
|
+
const { loadingDelay: t } = me();
|
|
3682
3686
|
let n;
|
|
3683
|
-
return typeof window != "undefined" &&
|
|
3684
|
-
() =>
|
|
3687
|
+
return typeof window != "undefined" && se() != null && t ? n = window.setTimeout(
|
|
3688
|
+
() => Xe.set(!0),
|
|
3685
3689
|
t
|
|
3686
|
-
) :
|
|
3687
|
-
|
|
3690
|
+
) : Xe.set(!0), dn(e).then(() => {
|
|
3691
|
+
Ae.set(e);
|
|
3688
3692
|
}).finally(() => {
|
|
3689
|
-
clearTimeout(n),
|
|
3693
|
+
clearTimeout(n), Xe.set(!1);
|
|
3690
3694
|
});
|
|
3691
3695
|
}
|
|
3692
|
-
return
|
|
3693
|
-
},
|
|
3694
|
-
set:
|
|
3695
|
-
}),
|
|
3696
|
+
return Ae.set(e);
|
|
3697
|
+
}, te = yi(gi({}, Ae), {
|
|
3698
|
+
set: vi
|
|
3699
|
+
}), $e = (e) => {
|
|
3696
3700
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3697
3701
|
return (r) => {
|
|
3698
3702
|
const i = JSON.stringify(r);
|
|
3699
3703
|
return i in t ? t[i] : t[i] = e(r);
|
|
3700
3704
|
};
|
|
3701
3705
|
};
|
|
3702
|
-
var
|
|
3706
|
+
var xi = Object.defineProperty, Oe = Object.getOwnPropertySymbols, pn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable, Mt = (e, t, n) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ut = (e, t) => {
|
|
3703
3707
|
for (var n in t || (t = {}))
|
|
3704
3708
|
pn.call(t, n) && Mt(e, n, t[n]);
|
|
3705
|
-
if (
|
|
3706
|
-
for (var n of
|
|
3709
|
+
if (Oe)
|
|
3710
|
+
for (var n of Oe(t))
|
|
3707
3711
|
bn.call(t, n) && Mt(e, n, t[n]);
|
|
3708
3712
|
return e;
|
|
3709
|
-
},
|
|
3713
|
+
}, be = (e, t) => {
|
|
3710
3714
|
var n = {};
|
|
3711
3715
|
for (var r in e)
|
|
3712
3716
|
pn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3713
|
-
if (e != null &&
|
|
3714
|
-
for (var r of
|
|
3717
|
+
if (e != null && Oe)
|
|
3718
|
+
for (var r of Oe(e))
|
|
3715
3719
|
t.indexOf(r) < 0 && bn.call(e, r) && (n[r] = e[r]);
|
|
3716
3720
|
return n;
|
|
3717
3721
|
};
|
|
3718
|
-
const
|
|
3719
|
-
const { formats: n } =
|
|
3722
|
+
const Ce = (e, t) => {
|
|
3723
|
+
const { formats: n } = me();
|
|
3720
3724
|
if (e in n && t in n[e])
|
|
3721
3725
|
return n[e][t];
|
|
3722
3726
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3723
|
-
},
|
|
3727
|
+
}, Ei = $e(
|
|
3724
3728
|
(e) => {
|
|
3725
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3729
|
+
var t = e, { locale: n, format: r } = t, i = be(t, ["locale", "format"]);
|
|
3726
3730
|
if (n == null)
|
|
3727
3731
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3728
|
-
return r && (i =
|
|
3732
|
+
return r && (i = Ce("number", r)), new Intl.NumberFormat(n, i);
|
|
3729
3733
|
}
|
|
3730
|
-
),
|
|
3734
|
+
), Ci = $e(
|
|
3731
3735
|
(e) => {
|
|
3732
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3736
|
+
var t = e, { locale: n, format: r } = t, i = be(t, ["locale", "format"]);
|
|
3733
3737
|
if (n == null)
|
|
3734
3738
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3735
|
-
return r ? i =
|
|
3739
|
+
return r ? i = Ce("date", r) : Object.keys(i).length === 0 && (i = Ce("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3736
3740
|
}
|
|
3737
|
-
),
|
|
3741
|
+
), _i = $e(
|
|
3738
3742
|
(e) => {
|
|
3739
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3743
|
+
var t = e, { locale: n, format: r } = t, i = be(t, ["locale", "format"]);
|
|
3740
3744
|
if (n == null)
|
|
3741
3745
|
throw new Error(
|
|
3742
3746
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3743
3747
|
);
|
|
3744
|
-
return r ? i =
|
|
3748
|
+
return r ? i = Ce("time", r) : Object.keys(i).length === 0 && (i = Ce("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3745
3749
|
}
|
|
3746
|
-
),
|
|
3750
|
+
), Ti = (e = {}) => {
|
|
3747
3751
|
var t = e, {
|
|
3748
|
-
locale: n =
|
|
3749
|
-
} = t, r =
|
|
3752
|
+
locale: n = se()
|
|
3753
|
+
} = t, r = be(t, [
|
|
3750
3754
|
"locale"
|
|
3751
3755
|
]);
|
|
3752
|
-
return
|
|
3753
|
-
},
|
|
3756
|
+
return Ei(ut({ locale: n }, r));
|
|
3757
|
+
}, wi = (e = {}) => {
|
|
3754
3758
|
var t = e, {
|
|
3755
|
-
locale: n =
|
|
3756
|
-
} = t, r =
|
|
3759
|
+
locale: n = se()
|
|
3760
|
+
} = t, r = be(t, [
|
|
3757
3761
|
"locale"
|
|
3758
3762
|
]);
|
|
3759
|
-
return
|
|
3760
|
-
},
|
|
3763
|
+
return Ci(ut({ locale: n }, r));
|
|
3764
|
+
}, Si = (e = {}) => {
|
|
3761
3765
|
var t = e, {
|
|
3762
|
-
locale: n =
|
|
3763
|
-
} = t, r =
|
|
3766
|
+
locale: n = se()
|
|
3767
|
+
} = t, r = be(t, [
|
|
3764
3768
|
"locale"
|
|
3765
3769
|
]);
|
|
3766
|
-
return
|
|
3767
|
-
},
|
|
3770
|
+
return _i(ut({ locale: n }, r));
|
|
3771
|
+
}, Bi = $e(
|
|
3768
3772
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3769
|
-
(e, t =
|
|
3770
|
-
ignoreTag:
|
|
3773
|
+
(e, t = se()) => new ei(e, t, me().formats, {
|
|
3774
|
+
ignoreTag: me().ignoreTag
|
|
3771
3775
|
})
|
|
3772
|
-
),
|
|
3776
|
+
), Hi = (e, t = {}) => {
|
|
3773
3777
|
var n, r, i, s;
|
|
3774
3778
|
let o = t;
|
|
3775
3779
|
typeof e == "object" && (o = e, e = o.id);
|
|
3776
3780
|
const {
|
|
3777
|
-
values:
|
|
3778
|
-
locale: h =
|
|
3781
|
+
values: l,
|
|
3782
|
+
locale: h = se(),
|
|
3779
3783
|
default: a
|
|
3780
3784
|
} = o;
|
|
3781
3785
|
if (h == null)
|
|
3782
3786
|
throw new Error(
|
|
3783
3787
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3784
3788
|
);
|
|
3785
|
-
let
|
|
3786
|
-
if (!l)
|
|
3787
|
-
l = (s = (i = (r = (n = fe()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3788
|
-
else if (typeof l != "string")
|
|
3789
|
-
return console.warn(
|
|
3790
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3791
|
-
), l;
|
|
3789
|
+
let u = hn(e, h);
|
|
3792
3790
|
if (!u)
|
|
3793
|
-
|
|
3794
|
-
|
|
3791
|
+
u = (s = (i = (r = (n = me()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3792
|
+
else if (typeof u != "string")
|
|
3793
|
+
return console.warn(
|
|
3794
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3795
|
+
), u;
|
|
3796
|
+
if (!l)
|
|
3797
|
+
return u;
|
|
3798
|
+
let c = u;
|
|
3795
3799
|
try {
|
|
3796
|
-
c =
|
|
3800
|
+
c = Bi(u, h).format(l);
|
|
3797
3801
|
} catch (f) {
|
|
3798
3802
|
f instanceof Error && console.warn(
|
|
3799
3803
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3801,21 +3805,21 @@ const Ee = (e, t) => {
|
|
|
3801
3805
|
);
|
|
3802
3806
|
}
|
|
3803
3807
|
return c;
|
|
3804
|
-
},
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
function
|
|
3810
|
-
|
|
3811
|
-
n == null && (
|
|
3808
|
+
}, Mi = (e, t) => Si(t).format(e), Ri = (e, t) => wi(t).format(e), Li = (e, t) => Ti(t).format(e), Ai = (e, t = se()) => hn(e, t), Oi = de([te, pe], () => Hi);
|
|
3809
|
+
de([te], () => Mi);
|
|
3810
|
+
de([te], () => Ri);
|
|
3811
|
+
de([te], () => Li);
|
|
3812
|
+
de([te, pe], () => Ai);
|
|
3813
|
+
function Pi({ withLocale: e, translations: t }) {
|
|
3814
|
+
te.subscribe((n) => {
|
|
3815
|
+
n == null && (pe.set(t), te.set(e));
|
|
3812
3816
|
});
|
|
3813
3817
|
}
|
|
3814
3818
|
function Rt(e, t) {
|
|
3815
3819
|
fn(e, t);
|
|
3816
3820
|
}
|
|
3817
|
-
function
|
|
3818
|
-
|
|
3821
|
+
function Ni(e) {
|
|
3822
|
+
te.set(e);
|
|
3819
3823
|
}
|
|
3820
3824
|
const Lt = {
|
|
3821
3825
|
en: {
|
|
@@ -3933,13 +3937,13 @@ const Lt = {
|
|
|
3933
3937
|
productMaxBet: "Para {productName}, o valor máximo da aposta aceita é {maxBet}."
|
|
3934
3938
|
}
|
|
3935
3939
|
};
|
|
3936
|
-
function
|
|
3940
|
+
function Ii(e, t) {
|
|
3937
3941
|
if (e) {
|
|
3938
3942
|
const n = document.createElement("style");
|
|
3939
3943
|
n.innerHTML = t, e.appendChild(n);
|
|
3940
3944
|
}
|
|
3941
3945
|
}
|
|
3942
|
-
function
|
|
3946
|
+
function ki(e, t) {
|
|
3943
3947
|
if (!e || !t)
|
|
3944
3948
|
return;
|
|
3945
3949
|
const n = new URL(t);
|
|
@@ -3950,7 +3954,7 @@ function Ii(e, t) {
|
|
|
3950
3954
|
console.error("There was an error while trying to load client styling from URL", r);
|
|
3951
3955
|
});
|
|
3952
3956
|
}
|
|
3953
|
-
function
|
|
3957
|
+
function $i(e, t, n) {
|
|
3954
3958
|
if (window.emMessageBus) {
|
|
3955
3959
|
const r = document.createElement("style");
|
|
3956
3960
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3958,7 +3962,7 @@ function ki(e, t, n) {
|
|
|
3958
3962
|
});
|
|
3959
3963
|
}
|
|
3960
3964
|
}
|
|
3961
|
-
const $i = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.2075%202.87946H1.125C0.642%202.87946%200.25%203.27134%200.25%203.7542C0.25%203.7542%200.25%204.57383%200.25%205.50367C0.25%206.43177%200.618372%207.32138%201.2755%207.97743C1.93175%208.63436%202.82162%209.00262%203.75%209.00262H4.62062C5.23137%2010.0611%206.37412%2010.7521%207.65162%2010.7521H8.125V13.3763H7.25C6.5535%2013.3763%205.88587%2013.6527%205.39412%2014.1452C4.9015%2014.6368%204.625%2015.3042%204.625%2016.0005C4.625%2016.4344%204.625%2016.8639%204.625%2016.8639L5.5%2017.75H12.5C12.5%2017.75%2013.375%2017.6826%2013.375%2016.8639V16.0005C13.375%2015.3042%2013.0985%2014.6368%2012.6059%2014.1452C12.1141%2013.6527%2011.4465%2013.3763%2010.75%2013.3763H9.875V10.7521H10.3475C11.6259%2010.7521%2012.7678%2010.0611%2013.3794%209.00262H14.25C15.1784%209.00262%2016.0683%208.63436%2016.7245%207.97743C17.3816%207.32138%2017.75%206.43177%2017.75%205.50367V3.7542C17.75%203.27134%2017.358%202.87946%2016.875%202.87946H14.7916L15.1084%201.29619C15.1591%201.03901%2015.0926%200.772216%2014.9264%200.570152C14.7601%200.367213%2014.5116%200.25%2014.2491%200.25L3.74912%200.255246C3.48749%200.255246%203.239%200.373333%203.07275%200.575397C2.90737%200.778336%202.84087%201.04426%202.89162%201.30143L3.2075%202.87946ZM11.625%2016.0005H6.375C6.375%2015.7687%206.46687%2015.5457%206.63137%2015.3821C6.795%2015.2176%207.01813%2015.1258%207.25%2015.1258H10.75C10.9819%2015.1258%2011.205%2015.2176%2011.3686%2015.3821C11.5331%2015.5457%2011.625%2015.7687%2011.625%2016.0005ZM13.1825%201.99948L12.0642%207.59604C11.9006%208.41392%2011.1822%209.00262%2010.3475%209.00262H7.65162C6.81775%209.00262%206.09938%208.41392%205.93575%207.59604L4.8175%202.00384L13.1825%201.99948ZM3.5575%204.62893C3.10337%204.62893%202%204.62893%202%204.62893V5.50367C2%205.96728%202.18462%206.41253%202.51275%206.74055C2.84087%207.06858%203.28625%207.25315%203.75%207.25315H4.0825L3.5575%204.62893ZM14.4416%204.62893L13.9166%207.25315H14.25C14.7137%207.25315%2015.1591%207.06858%2015.4873%206.74055C15.8154%206.41253%2016%205.96728%2016%205.50367V4.62893H14.4416Z'%20fill='white'/%3e%3c/svg%3e", Ui = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2030%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.551%204.16666C2.55684%204.17198%202.56317%204.1776%202.57004%204.18349C2.69809%204.29358%202.93213%204.43049%203.2938%204.56201C4.01028%204.82255%205.05531%204.99999%206.24992%204.99999C7.44453%204.99999%208.48956%204.82255%209.20604%204.56201C9.56771%204.43049%209.80175%204.29358%209.9298%204.18349C9.93666%204.1776%209.943%204.17198%209.94884%204.16666C9.943%204.16133%209.93666%204.15572%209.9298%204.14982C9.80175%204.03973%209.56771%203.90282%209.20604%203.77131C8.48956%203.51077%207.44453%203.33332%206.24992%203.33332C5.05531%203.33332%204.01028%203.51077%203.2938%203.77131C2.93213%203.90282%202.69809%204.03973%202.57004%204.14982C2.56317%204.15572%202.55684%204.16133%202.551%204.16666ZM9.99992%206.04163C9.92615%206.07193%209.85128%206.10081%209.77561%206.12833C8.83325%206.47101%207.58661%206.66666%206.24992%206.66666C4.91322%206.66666%203.66659%206.47101%202.72423%206.12833C2.64856%206.10081%202.57369%206.07193%202.49992%206.04163V7.86398C2.5121%207.87898%202.53366%207.90222%202.57004%207.93349C2.69809%208.04358%202.93213%208.18049%203.2938%208.31201C4.01028%208.57254%205.05531%208.74999%206.24992%208.74999C7.44453%208.74999%208.48956%208.57254%209.20604%208.31201C9.56771%208.18049%209.80175%208.04358%209.9298%207.93349C9.96618%207.90222%209.98774%207.87898%209.99992%207.86398V6.04163ZM9.99992%209.79163C9.92615%209.82193%209.85128%209.85081%209.77561%209.87833C8.83325%2010.221%207.58661%2010.4167%206.24992%2010.4167C4.91322%2010.4167%203.66659%2010.221%202.72423%209.87833C2.64856%209.85081%202.57369%209.82193%202.49992%209.79163V11.614C2.5121%2011.629%202.53366%2011.6522%202.57004%2011.6835C2.69809%2011.7936%202.93213%2011.9305%203.2938%2012.062C4.01028%2012.3225%205.05531%2012.5%206.24992%2012.5C7.10597%2012.5%207.89151%2012.4088%208.53614%2012.258C9.09478%2012.1273%209.50237%2011.9625%209.75771%2011.8062C9.83221%2011.6674%209.91307%2011.5324%209.99992%2011.4018V9.79163ZM11.6666%209.83557V4.16666C11.6666%203.60229%2011.3494%203.17239%2011.0163%202.88601C10.6805%202.59731%2010.2434%202.37508%209.77561%202.20498C8.83325%201.86231%207.58661%201.66666%206.24992%201.66666C4.91322%201.66666%203.66659%201.86231%202.72423%202.20498C2.25647%202.37508%201.8193%202.59731%201.4835%202.88601C1.15039%203.17239%200.833252%203.60229%200.833252%204.16666V15.4167C0.833252%2015.981%201.15039%2016.4109%201.4835%2016.6973C1.8193%2016.986%202.25647%2017.2082%202.72423%2017.3783C3.66659%2017.721%204.91322%2017.9167%206.24992%2017.9167C7.25171%2017.9167%208.19625%2017.8069%208.99817%2017.6112C9.42337%2017.5074%209.83222%2017.3738%2010.1963%2017.2062C11.1101%2018.3981%2012.5486%2019.1667%2014.1666%2019.1667C16.928%2019.1667%2019.1666%2016.9281%2019.1666%2014.1667C19.1666%2011.4052%2016.928%209.16666%2014.1666%209.16666C13.2559%209.16666%2012.402%209.41014%2011.6666%209.83557ZM9.16822%2014.2957C9.18087%2014.7953%209.2668%2015.2766%209.41565%2015.7294C9.19988%2015.8216%208.9295%2015.9124%208.60306%2015.992C7.94665%2016.1522%207.13633%2016.25%206.24992%2016.25C5.05531%2016.25%204.01028%2016.0725%203.2938%2015.812C2.93213%2015.6805%202.69809%2015.5436%202.57004%2015.4335C2.53366%2015.4022%202.5121%2015.379%202.49992%2015.364V13.5416C2.57369%2013.5719%202.64856%2013.6008%202.72423%2013.6283C3.66659%2013.971%204.91322%2014.1667%206.24992%2014.1667C7.21803%2014.1667%208.13221%2014.0641%208.9157%2013.8809C9.00426%2013.8602%209.09202%2013.8382%209.17876%2013.815C9.17069%2013.9312%209.16658%2014.0484%209.16658%2014.1667C9.16658%2014.2098%209.16713%2014.2528%209.16822%2014.2957ZM10.8333%2014.1667C10.8333%2016.0076%2012.3256%2017.5%2014.1666%2017.5C16.0075%2017.5%2017.4999%2016.0076%2017.4999%2014.1667C17.4999%2012.3257%2016.0075%2010.8333%2014.1666%2010.8333C12.3256%2010.8333%2010.8333%2012.3257%2010.8333%2014.1667Z'%20fill='white'/%3e%3c/svg%3e", Di = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.4167%203.33332C15.0986%203.33332%2018.0833%206.31809%2018.0833%209.99999C18.0833%2013.6819%2015.0986%2016.6667%2011.4167%2016.6667C9.32275%2016.6667%207.45468%2015.7023%206.23114%2014.1902C5.94163%2013.8325%205.4169%2013.7771%205.05913%2014.0666C4.70135%2014.3561%204.64602%2014.8809%204.93553%2015.2386C6.46191%2017.1249%208.79848%2018.3333%2011.4167%2018.3333C16.019%2018.3333%2019.75%2014.6024%2019.75%209.99999C19.75%205.39762%2016.019%201.66666%2011.4167%201.66666C7.13809%201.66666%203.61263%204.8911%203.13774%209.04253L3.08938%208.99416C2.76399%208.66867%202.23636%208.66859%201.91087%208.99398C1.58539%209.31937%201.58531%209.84701%201.9107%2010.1725L3.57687%2011.8392C3.73313%2011.9955%203.94507%2012.0833%204.16609%2012.0833C4.3871%2012.0834%204.59908%2011.9956%204.75538%2011.8393L6.42254%2010.1727C6.74803%209.84728%206.74811%209.31964%206.42272%208.99415C6.09733%208.66867%205.56969%208.66859%205.2442%208.99398L4.77099%209.46705C5.0425%206.03433%207.91416%203.33332%2011.4167%203.33332ZM11.4167%204.99999C10.9564%204.99999%2010.5833%205.37309%2010.5833%205.83332V9.554L8.45442%2010.9733C8.07148%2011.2286%207.968%2011.746%208.22329%2012.1289C8.47858%2012.5118%208.99598%2012.6153%209.37892%2012.36L11.8789%2010.6934C12.1107%2010.5388%2012.25%2010.2786%2012.25%209.99999V5.83332C12.25%205.37309%2011.8769%204.99999%2011.4167%204.99999Z'%20fill='white'/%3e%3c/svg%3e", Gi = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.666748%202.00001C0.666748%201.07954%201.41294%200.333344%202.33341%200.333344C3.25389%200.333344%204.00008%201.07954%204.00008%202.00001C4.00008%202.92048%203.25389%203.66668%202.33341%203.66668C1.41294%203.66668%200.666748%202.92048%200.666748%202.00001ZM5.66675%202.00001C5.66675%201.53977%206.03984%201.16668%206.50008%201.16668H16.5001C16.9603%201.16668%2017.3334%201.53977%2017.3334%202.00001C17.3334%202.46025%2016.9603%202.83334%2016.5001%202.83334L6.50008%202.83334C6.03984%202.83334%205.66675%202.46025%205.66675%202.00001ZM0.666748%207.00001C0.666748%206.07954%201.41294%205.33334%202.33341%205.33334C3.25389%205.33334%204.00008%206.07954%204.00008%207.00001C4.00008%207.92048%203.25389%208.66668%202.33341%208.66668C1.41294%208.66668%200.666748%207.92048%200.666748%207.00001ZM5.66675%207.00001C5.66675%206.53977%206.03984%206.16668%206.50008%206.16668L16.5001%206.16668C16.9603%206.16668%2017.3334%206.53977%2017.3334%207.00001C17.3334%207.46025%2016.9603%207.83334%2016.5001%207.83334L6.50008%207.83334C6.03984%207.83334%205.66675%207.46025%205.66675%207.00001ZM0.666748%2012C0.666748%2011.0795%201.41294%2010.3333%202.33341%2010.3333C3.25389%2010.3333%204.00008%2011.0795%204.00008%2012C4.00008%2012.9205%203.25389%2013.6667%202.33341%2013.6667C1.41294%2013.6667%200.666748%2012.9205%200.666748%2012ZM5.66675%2012C5.66675%2011.5398%206.03984%2011.1667%206.50008%2011.1667L16.5001%2011.1667C16.9603%2011.1667%2017.3334%2011.5398%2017.3334%2012C17.3334%2012.4602%2016.9603%2012.8333%2016.5001%2012.8333L6.50008%2012.8333C6.03984%2012.8333%205.66675%2012.4602%205.66675%2012Z'%20fill='white'/%3e%3c/svg%3e", Fi = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.9992%203.75C6.52525%203.75%203.75%206.55828%203.75%2010C3.75%2013.4417%206.52525%2016.25%209.9992%2016.25C13.427%2016.25%2016.2484%2013.4441%2016.2484%2010C16.2505%209.98168%2016.2505%209.96318%2016.2484%209.94487C16.2212%206.52543%2013.456%203.75%209.9992%203.75ZM8.7787%204.35471V5.7477C8.4566%205.83981%208.14646%205.96894%207.85461%206.13246L6.85596%205.16118C7.44132%204.77727%208.09317%204.50386%208.7787%204.35471ZM11.2197%204.35471C11.9052%204.50386%2012.5571%204.77727%2013.1424%205.16118L12.1621%206.13246C11.8646%205.96647%2011.5551%205.8216%2011.2197%205.72952V4.35471ZM9.9992%206.05915C12.1876%206.01398%2013.9742%207.82458%2013.9742%2010C13.9741%2011.0451%2013.5552%2012.0474%2012.8098%2012.7864C12.0644%2013.5255%2011.0534%2013.9407%209.9992%2013.9409C8.945%2013.9407%207.93403%2013.5255%207.18859%2012.7864C6.44316%2012.0474%206.02431%2011.0451%206.02416%2010C6.02431%208.95487%206.44316%207.95259%207.18859%207.21357C7.93403%206.47455%208.945%206.0593%209.9992%206.05915ZM5.15508%206.8838L6.09811%207.87385C5.9331%208.16337%205.80285%208.47104%205.71001%208.79059H4.36054C4.50654%208.11266%204.77577%207.46614%205.15508%206.8838ZM14.8427%206.8838C15.2223%207.46607%2015.4917%208.11201%2015.6379%208.79H14.2706C14.1826%208.47178%2014.0585%208.16445%2013.9009%207.87385L14.8427%206.8838ZM9.70339%207.30609V7.6539C9.17094%207.75009%208.88993%208.16594%208.88993%208.79059C8.88993%2010.1355%2010.3873%2010.2493%2010.3873%2011.2094C10.3873%2011.5461%2010.2412%2011.6863%209.9992%2011.6863C9.75664%2011.6863%209.6111%2011.5455%209.6111%2011.2094V10.8247H8.88993V11.1549C8.88993%2011.827%209.17035%2012.2135%209.70339%2012.3091V12.6394H10.3323V12.3091C10.8647%2012.2135%2011.1641%2011.7789%2011.1641%2011.1549C11.1641%209.80997%209.66612%209.76246%209.66612%208.75364C9.66612%208.41756%209.81225%208.27679%2010.0548%208.27679C10.2974%208.27679%2010.4429%208.41756%2010.4429%208.75364V8.93722H11.1641V8.79059C11.1641%208.16594%2010.8647%207.75009%2010.3317%207.6539V7.30551L9.70339%207.30609ZM4.36054%2011.2094H5.71001C5.80349%2011.5379%205.93482%2011.8335%206.09811%2012.1261L5.15508%2013.1162C4.77574%2012.5339%204.5065%2011.8874%204.36054%2011.2094ZM14.2884%2011.2094H15.6379C15.4914%2011.8872%2015.2222%2012.5331%2014.8433%2013.1156L13.9003%2012.1261C14.0653%2011.8366%2014.1956%2011.529%2014.2884%2011.2094ZM7.85461%2013.8675C8.14662%2014.0312%208.45696%2014.1603%208.7793%2014.2523V15.6453C8.09376%2015.4961%207.44191%2015.2227%206.85656%2014.8388L7.85461%2013.8675ZM12.1438%2013.8675H12.1621L13.1235%2014.8388C12.5433%2015.2156%2011.8978%2015.4828%2011.2197%2015.6271V14.2523C11.5418%2014.1603%2011.852%2014.0311%2012.1438%2013.8675Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%2018.0208C14.4298%2018.0208%2018.0208%2014.4298%2018.0208%2010C18.0208%205.57022%2014.4298%201.97917%2010%201.97917C5.57022%201.97917%201.97917%205.57022%201.97917%2010C1.97917%2014.4298%205.57022%2018.0208%2010%2018.0208ZM10%2018.75C14.8325%2018.75%2018.75%2014.8325%2018.75%2010C18.75%205.16751%2014.8325%201.25%2010%201.25C5.16751%201.25%201.25%205.16751%201.25%2010C1.25%2014.8325%205.16751%2018.75%2010%2018.75Z'%20fill='white'/%3e%3c/svg%3e", ji = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.2125%209.09375C7.44853%209.77601%206.51801%2010.2445%205.51497%2010.4519C4.51192%2010.6593%203.4719%2010.5983%202.5%2010.275C2.55651%2011.9499%203.17514%2013.557%204.25625%2014.8375L9.11875%2010L8.2125%209.09375ZM7.31875%208.20625L4.275%205.1625C3.37411%206.23087%202.78964%207.52969%202.5875%208.9125C3.95%209.675%205.8375%209.375%207.31875%208.20625ZM12.6813%2011.7938L15.725%2014.8375C16.6259%2013.7691%2017.2104%2012.4703%2017.4125%2011.0875C16.05%2010.325%2014.1625%2010.625%2012.6813%2011.7938ZM11.7938%2012.6813C10.6063%2014.1625%2010.325%2016.05%2011.0625%2017.4125C12.4453%2017.2104%2013.7441%2016.6259%2014.8125%2015.725L11.7938%2012.6813ZM10.8813%2010L11.7875%2010.9062C12.5515%2010.224%2013.482%209.75549%2014.485%209.54808C15.4881%209.34066%2016.5281%209.40169%2017.5%209.725C17.4435%208.05011%2016.8249%206.44299%2015.7438%205.1625L10.8813%2010ZM10.9062%2011.7875L10%2010.8813L5.1625%2015.725C6.44047%2016.8129%208.04784%2017.4382%209.725%2017.5C9.40169%2016.5281%209.34066%2015.4881%209.54808%2014.485C9.75549%2013.482%2010.224%2012.5515%2010.9062%2011.7875ZM10%209.11875L14.8375%204.275C13.5595%203.18712%2011.9522%202.56179%2010.275%202.5C10.5948%203.46928%2010.654%204.50563%2010.4466%205.50501C10.2393%206.5044%209.77272%207.43167%209.09375%208.19375L10%209.11875ZM8.20625%207.31875C9.375%205.8375%209.675%203.95%208.9375%202.5875C7.55469%202.78964%206.25587%203.37411%205.1875%204.275L8.20625%207.31875Z'%20fill='white'/%3e%3c/svg%3e";
|
|
3965
|
+
const Ui = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.2075%202.87946H1.125C0.642%202.87946%200.25%203.27134%200.25%203.7542C0.25%203.7542%200.25%204.57383%200.25%205.50367C0.25%206.43177%200.618372%207.32138%201.2755%207.97743C1.93175%208.63436%202.82162%209.00262%203.75%209.00262H4.62062C5.23137%2010.0611%206.37412%2010.7521%207.65162%2010.7521H8.125V13.3763H7.25C6.5535%2013.3763%205.88587%2013.6527%205.39412%2014.1452C4.9015%2014.6368%204.625%2015.3042%204.625%2016.0005C4.625%2016.4344%204.625%2016.8639%204.625%2016.8639L5.5%2017.75H12.5C12.5%2017.75%2013.375%2017.6826%2013.375%2016.8639V16.0005C13.375%2015.3042%2013.0985%2014.6368%2012.6059%2014.1452C12.1141%2013.6527%2011.4465%2013.3763%2010.75%2013.3763H9.875V10.7521H10.3475C11.6259%2010.7521%2012.7678%2010.0611%2013.3794%209.00262H14.25C15.1784%209.00262%2016.0683%208.63436%2016.7245%207.97743C17.3816%207.32138%2017.75%206.43177%2017.75%205.50367V3.7542C17.75%203.27134%2017.358%202.87946%2016.875%202.87946H14.7916L15.1084%201.29619C15.1591%201.03901%2015.0926%200.772216%2014.9264%200.570152C14.7601%200.367213%2014.5116%200.25%2014.2491%200.25L3.74912%200.255246C3.48749%200.255246%203.239%200.373333%203.07275%200.575397C2.90737%200.778336%202.84087%201.04426%202.89162%201.30143L3.2075%202.87946ZM11.625%2016.0005H6.375C6.375%2015.7687%206.46687%2015.5457%206.63137%2015.3821C6.795%2015.2176%207.01813%2015.1258%207.25%2015.1258H10.75C10.9819%2015.1258%2011.205%2015.2176%2011.3686%2015.3821C11.5331%2015.5457%2011.625%2015.7687%2011.625%2016.0005ZM13.1825%201.99948L12.0642%207.59604C11.9006%208.41392%2011.1822%209.00262%2010.3475%209.00262H7.65162C6.81775%209.00262%206.09938%208.41392%205.93575%207.59604L4.8175%202.00384L13.1825%201.99948ZM3.5575%204.62893C3.10337%204.62893%202%204.62893%202%204.62893V5.50367C2%205.96728%202.18462%206.41253%202.51275%206.74055C2.84087%207.06858%203.28625%207.25315%203.75%207.25315H4.0825L3.5575%204.62893ZM14.4416%204.62893L13.9166%207.25315H14.25C14.7137%207.25315%2015.1591%207.06858%2015.4873%206.74055C15.8154%206.41253%2016%205.96728%2016%205.50367V4.62893H14.4416Z'%20fill='white'/%3e%3c/svg%3e", Di = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2030%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.551%204.16666C2.55684%204.17198%202.56317%204.1776%202.57004%204.18349C2.69809%204.29358%202.93213%204.43049%203.2938%204.56201C4.01028%204.82255%205.05531%204.99999%206.24992%204.99999C7.44453%204.99999%208.48956%204.82255%209.20604%204.56201C9.56771%204.43049%209.80175%204.29358%209.9298%204.18349C9.93666%204.1776%209.943%204.17198%209.94884%204.16666C9.943%204.16133%209.93666%204.15572%209.9298%204.14982C9.80175%204.03973%209.56771%203.90282%209.20604%203.77131C8.48956%203.51077%207.44453%203.33332%206.24992%203.33332C5.05531%203.33332%204.01028%203.51077%203.2938%203.77131C2.93213%203.90282%202.69809%204.03973%202.57004%204.14982C2.56317%204.15572%202.55684%204.16133%202.551%204.16666ZM9.99992%206.04163C9.92615%206.07193%209.85128%206.10081%209.77561%206.12833C8.83325%206.47101%207.58661%206.66666%206.24992%206.66666C4.91322%206.66666%203.66659%206.47101%202.72423%206.12833C2.64856%206.10081%202.57369%206.07193%202.49992%206.04163V7.86398C2.5121%207.87898%202.53366%207.90222%202.57004%207.93349C2.69809%208.04358%202.93213%208.18049%203.2938%208.31201C4.01028%208.57254%205.05531%208.74999%206.24992%208.74999C7.44453%208.74999%208.48956%208.57254%209.20604%208.31201C9.56771%208.18049%209.80175%208.04358%209.9298%207.93349C9.96618%207.90222%209.98774%207.87898%209.99992%207.86398V6.04163ZM9.99992%209.79163C9.92615%209.82193%209.85128%209.85081%209.77561%209.87833C8.83325%2010.221%207.58661%2010.4167%206.24992%2010.4167C4.91322%2010.4167%203.66659%2010.221%202.72423%209.87833C2.64856%209.85081%202.57369%209.82193%202.49992%209.79163V11.614C2.5121%2011.629%202.53366%2011.6522%202.57004%2011.6835C2.69809%2011.7936%202.93213%2011.9305%203.2938%2012.062C4.01028%2012.3225%205.05531%2012.5%206.24992%2012.5C7.10597%2012.5%207.89151%2012.4088%208.53614%2012.258C9.09478%2012.1273%209.50237%2011.9625%209.75771%2011.8062C9.83221%2011.6674%209.91307%2011.5324%209.99992%2011.4018V9.79163ZM11.6666%209.83557V4.16666C11.6666%203.60229%2011.3494%203.17239%2011.0163%202.88601C10.6805%202.59731%2010.2434%202.37508%209.77561%202.20498C8.83325%201.86231%207.58661%201.66666%206.24992%201.66666C4.91322%201.66666%203.66659%201.86231%202.72423%202.20498C2.25647%202.37508%201.8193%202.59731%201.4835%202.88601C1.15039%203.17239%200.833252%203.60229%200.833252%204.16666V15.4167C0.833252%2015.981%201.15039%2016.4109%201.4835%2016.6973C1.8193%2016.986%202.25647%2017.2082%202.72423%2017.3783C3.66659%2017.721%204.91322%2017.9167%206.24992%2017.9167C7.25171%2017.9167%208.19625%2017.8069%208.99817%2017.6112C9.42337%2017.5074%209.83222%2017.3738%2010.1963%2017.2062C11.1101%2018.3981%2012.5486%2019.1667%2014.1666%2019.1667C16.928%2019.1667%2019.1666%2016.9281%2019.1666%2014.1667C19.1666%2011.4052%2016.928%209.16666%2014.1666%209.16666C13.2559%209.16666%2012.402%209.41014%2011.6666%209.83557ZM9.16822%2014.2957C9.18087%2014.7953%209.2668%2015.2766%209.41565%2015.7294C9.19988%2015.8216%208.9295%2015.9124%208.60306%2015.992C7.94665%2016.1522%207.13633%2016.25%206.24992%2016.25C5.05531%2016.25%204.01028%2016.0725%203.2938%2015.812C2.93213%2015.6805%202.69809%2015.5436%202.57004%2015.4335C2.53366%2015.4022%202.5121%2015.379%202.49992%2015.364V13.5416C2.57369%2013.5719%202.64856%2013.6008%202.72423%2013.6283C3.66659%2013.971%204.91322%2014.1667%206.24992%2014.1667C7.21803%2014.1667%208.13221%2014.0641%208.9157%2013.8809C9.00426%2013.8602%209.09202%2013.8382%209.17876%2013.815C9.17069%2013.9312%209.16658%2014.0484%209.16658%2014.1667C9.16658%2014.2098%209.16713%2014.2528%209.16822%2014.2957ZM10.8333%2014.1667C10.8333%2016.0076%2012.3256%2017.5%2014.1666%2017.5C16.0075%2017.5%2017.4999%2016.0076%2017.4999%2014.1667C17.4999%2012.3257%2016.0075%2010.8333%2014.1666%2010.8333C12.3256%2010.8333%2010.8333%2012.3257%2010.8333%2014.1667Z'%20fill='white'/%3e%3c/svg%3e", Gi = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.4167%203.33332C15.0986%203.33332%2018.0833%206.31809%2018.0833%209.99999C18.0833%2013.6819%2015.0986%2016.6667%2011.4167%2016.6667C9.32275%2016.6667%207.45468%2015.7023%206.23114%2014.1902C5.94163%2013.8325%205.4169%2013.7771%205.05913%2014.0666C4.70135%2014.3561%204.64602%2014.8809%204.93553%2015.2386C6.46191%2017.1249%208.79848%2018.3333%2011.4167%2018.3333C16.019%2018.3333%2019.75%2014.6024%2019.75%209.99999C19.75%205.39762%2016.019%201.66666%2011.4167%201.66666C7.13809%201.66666%203.61263%204.8911%203.13774%209.04253L3.08938%208.99416C2.76399%208.66867%202.23636%208.66859%201.91087%208.99398C1.58539%209.31937%201.58531%209.84701%201.9107%2010.1725L3.57687%2011.8392C3.73313%2011.9955%203.94507%2012.0833%204.16609%2012.0833C4.3871%2012.0834%204.59908%2011.9956%204.75538%2011.8393L6.42254%2010.1727C6.74803%209.84728%206.74811%209.31964%206.42272%208.99415C6.09733%208.66867%205.56969%208.66859%205.2442%208.99398L4.77099%209.46705C5.0425%206.03433%207.91416%203.33332%2011.4167%203.33332ZM11.4167%204.99999C10.9564%204.99999%2010.5833%205.37309%2010.5833%205.83332V9.554L8.45442%2010.9733C8.07148%2011.2286%207.968%2011.746%208.22329%2012.1289C8.47858%2012.5118%208.99598%2012.6153%209.37892%2012.36L11.8789%2010.6934C12.1107%2010.5388%2012.25%2010.2786%2012.25%209.99999V5.83332C12.25%205.37309%2011.8769%204.99999%2011.4167%204.99999Z'%20fill='white'/%3e%3c/svg%3e", Fi = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.666748%202.00001C0.666748%201.07954%201.41294%200.333344%202.33341%200.333344C3.25389%200.333344%204.00008%201.07954%204.00008%202.00001C4.00008%202.92048%203.25389%203.66668%202.33341%203.66668C1.41294%203.66668%200.666748%202.92048%200.666748%202.00001ZM5.66675%202.00001C5.66675%201.53977%206.03984%201.16668%206.50008%201.16668H16.5001C16.9603%201.16668%2017.3334%201.53977%2017.3334%202.00001C17.3334%202.46025%2016.9603%202.83334%2016.5001%202.83334L6.50008%202.83334C6.03984%202.83334%205.66675%202.46025%205.66675%202.00001ZM0.666748%207.00001C0.666748%206.07954%201.41294%205.33334%202.33341%205.33334C3.25389%205.33334%204.00008%206.07954%204.00008%207.00001C4.00008%207.92048%203.25389%208.66668%202.33341%208.66668C1.41294%208.66668%200.666748%207.92048%200.666748%207.00001ZM5.66675%207.00001C5.66675%206.53977%206.03984%206.16668%206.50008%206.16668L16.5001%206.16668C16.9603%206.16668%2017.3334%206.53977%2017.3334%207.00001C17.3334%207.46025%2016.9603%207.83334%2016.5001%207.83334L6.50008%207.83334C6.03984%207.83334%205.66675%207.46025%205.66675%207.00001ZM0.666748%2012C0.666748%2011.0795%201.41294%2010.3333%202.33341%2010.3333C3.25389%2010.3333%204.00008%2011.0795%204.00008%2012C4.00008%2012.9205%203.25389%2013.6667%202.33341%2013.6667C1.41294%2013.6667%200.666748%2012.9205%200.666748%2012ZM5.66675%2012C5.66675%2011.5398%206.03984%2011.1667%206.50008%2011.1667L16.5001%2011.1667C16.9603%2011.1667%2017.3334%2011.5398%2017.3334%2012C17.3334%2012.4602%2016.9603%2012.8333%2016.5001%2012.8333L6.50008%2012.8333C6.03984%2012.8333%205.66675%2012.4602%205.66675%2012Z'%20fill='white'/%3e%3c/svg%3e", ji = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.9992%203.75C6.52525%203.75%203.75%206.55828%203.75%2010C3.75%2013.4417%206.52525%2016.25%209.9992%2016.25C13.427%2016.25%2016.2484%2013.4441%2016.2484%2010C16.2505%209.98168%2016.2505%209.96318%2016.2484%209.94487C16.2212%206.52543%2013.456%203.75%209.9992%203.75ZM8.7787%204.35471V5.7477C8.4566%205.83981%208.14646%205.96894%207.85461%206.13246L6.85596%205.16118C7.44132%204.77727%208.09317%204.50386%208.7787%204.35471ZM11.2197%204.35471C11.9052%204.50386%2012.5571%204.77727%2013.1424%205.16118L12.1621%206.13246C11.8646%205.96647%2011.5551%205.8216%2011.2197%205.72952V4.35471ZM9.9992%206.05915C12.1876%206.01398%2013.9742%207.82458%2013.9742%2010C13.9741%2011.0451%2013.5552%2012.0474%2012.8098%2012.7864C12.0644%2013.5255%2011.0534%2013.9407%209.9992%2013.9409C8.945%2013.9407%207.93403%2013.5255%207.18859%2012.7864C6.44316%2012.0474%206.02431%2011.0451%206.02416%2010C6.02431%208.95487%206.44316%207.95259%207.18859%207.21357C7.93403%206.47455%208.945%206.0593%209.9992%206.05915ZM5.15508%206.8838L6.09811%207.87385C5.9331%208.16337%205.80285%208.47104%205.71001%208.79059H4.36054C4.50654%208.11266%204.77577%207.46614%205.15508%206.8838ZM14.8427%206.8838C15.2223%207.46607%2015.4917%208.11201%2015.6379%208.79H14.2706C14.1826%208.47178%2014.0585%208.16445%2013.9009%207.87385L14.8427%206.8838ZM9.70339%207.30609V7.6539C9.17094%207.75009%208.88993%208.16594%208.88993%208.79059C8.88993%2010.1355%2010.3873%2010.2493%2010.3873%2011.2094C10.3873%2011.5461%2010.2412%2011.6863%209.9992%2011.6863C9.75664%2011.6863%209.6111%2011.5455%209.6111%2011.2094V10.8247H8.88993V11.1549C8.88993%2011.827%209.17035%2012.2135%209.70339%2012.3091V12.6394H10.3323V12.3091C10.8647%2012.2135%2011.1641%2011.7789%2011.1641%2011.1549C11.1641%209.80997%209.66612%209.76246%209.66612%208.75364C9.66612%208.41756%209.81225%208.27679%2010.0548%208.27679C10.2974%208.27679%2010.4429%208.41756%2010.4429%208.75364V8.93722H11.1641V8.79059C11.1641%208.16594%2010.8647%207.75009%2010.3317%207.6539V7.30551L9.70339%207.30609ZM4.36054%2011.2094H5.71001C5.80349%2011.5379%205.93482%2011.8335%206.09811%2012.1261L5.15508%2013.1162C4.77574%2012.5339%204.5065%2011.8874%204.36054%2011.2094ZM14.2884%2011.2094H15.6379C15.4914%2011.8872%2015.2222%2012.5331%2014.8433%2013.1156L13.9003%2012.1261C14.0653%2011.8366%2014.1956%2011.529%2014.2884%2011.2094ZM7.85461%2013.8675C8.14662%2014.0312%208.45696%2014.1603%208.7793%2014.2523V15.6453C8.09376%2015.4961%207.44191%2015.2227%206.85656%2014.8388L7.85461%2013.8675ZM12.1438%2013.8675H12.1621L13.1235%2014.8388C12.5433%2015.2156%2011.8978%2015.4828%2011.2197%2015.6271V14.2523C11.5418%2014.1603%2011.852%2014.0311%2012.1438%2013.8675Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%2018.0208C14.4298%2018.0208%2018.0208%2014.4298%2018.0208%2010C18.0208%205.57022%2014.4298%201.97917%2010%201.97917C5.57022%201.97917%201.97917%205.57022%201.97917%2010C1.97917%2014.4298%205.57022%2018.0208%2010%2018.0208ZM10%2018.75C14.8325%2018.75%2018.75%2014.8325%2018.75%2010C18.75%205.16751%2014.8325%201.25%2010%201.25C5.16751%201.25%201.25%205.16751%201.25%2010C1.25%2014.8325%205.16751%2018.75%2010%2018.75Z'%20fill='white'/%3e%3c/svg%3e", Vi = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.2125%209.09375C7.44853%209.77601%206.51801%2010.2445%205.51497%2010.4519C4.51192%2010.6593%203.4719%2010.5983%202.5%2010.275C2.55651%2011.9499%203.17514%2013.557%204.25625%2014.8375L9.11875%2010L8.2125%209.09375ZM7.31875%208.20625L4.275%205.1625C3.37411%206.23087%202.78964%207.52969%202.5875%208.9125C3.95%209.675%205.8375%209.375%207.31875%208.20625ZM12.6813%2011.7938L15.725%2014.8375C16.6259%2013.7691%2017.2104%2012.4703%2017.4125%2011.0875C16.05%2010.325%2014.1625%2010.625%2012.6813%2011.7938ZM11.7938%2012.6813C10.6063%2014.1625%2010.325%2016.05%2011.0625%2017.4125C12.4453%2017.2104%2013.7441%2016.6259%2014.8125%2015.725L11.7938%2012.6813ZM10.8813%2010L11.7875%2010.9062C12.5515%2010.224%2013.482%209.75549%2014.485%209.54808C15.4881%209.34066%2016.5281%209.40169%2017.5%209.725C17.4435%208.05011%2016.8249%206.44299%2015.7438%205.1625L10.8813%2010ZM10.9062%2011.7875L10%2010.8813L5.1625%2015.725C6.44047%2016.8129%208.04784%2017.4382%209.725%2017.5C9.40169%2016.5281%209.34066%2015.4881%209.54808%2014.485C9.75549%2013.482%2010.224%2012.5515%2010.9062%2011.7875ZM10%209.11875L14.8375%204.275C13.5595%203.18712%2011.9522%202.56179%2010.275%202.5C10.5948%203.46928%2010.654%204.50563%2010.4466%205.50501C10.2393%206.5044%209.77272%207.43167%209.09375%208.19375L10%209.11875ZM8.20625%207.31875C9.375%205.8375%209.675%203.95%208.9375%202.5875C7.55469%202.78964%206.25587%203.37411%205.1875%204.275L8.20625%207.31875Z'%20fill='white'/%3e%3c/svg%3e";
|
|
3962
3966
|
class At {
|
|
3963
3967
|
constructor() {
|
|
3964
3968
|
}
|
|
@@ -3969,18 +3973,18 @@ class At {
|
|
|
3969
3973
|
};
|
|
3970
3974
|
}
|
|
3971
3975
|
static generateCasinoRule(t, n) {
|
|
3972
|
-
var
|
|
3973
|
-
const r = ` ~ ${t("unlimited")}`, i = n.currency || "EUR", s = (
|
|
3976
|
+
var l, h;
|
|
3977
|
+
const r = ` ~ ${t("unlimited")}`, i = n.currency || "EUR", s = (l = n.minStake) != null && l.amount[i] ? `: ${n.minStake.amount[i]} ${i}` : r, o = (h = n.maxStake) != null && h.amount[i] ? `: ${n.maxStake.amount[i]} ${i}` : r;
|
|
3974
3978
|
return t("casinoRuleMinMaxBet", { values: { minBet: s, maxBet: o } });
|
|
3975
3979
|
}
|
|
3976
3980
|
static generateSportsRule(t, n) {
|
|
3977
|
-
var A, Z,
|
|
3978
|
-
const r = [], i = ` ~ ${t("unlimited")}`, s = n.currency || "EUR", o = (A = n.minStake) != null && A.amount[s] ? `: ${n.minStake.amount[s]} ${s}` : i,
|
|
3979
|
-
r.push(t("sportsRuleMinMaxBet", { values: { sportMinBet: o, sportMaxBet:
|
|
3981
|
+
var A, Z, ne, m, O, J, Q, re, ge, Y;
|
|
3982
|
+
const r = [], i = ` ~ ${t("unlimited")}`, s = n.currency || "EUR", o = (A = n.minStake) != null && A.amount[s] ? `: ${n.minStake.amount[s]} ${s}` : i, l = (Z = n.maxStake) != null && Z.amount[s] ? `: ${n.maxStake.amount[s]} ${s}` : i;
|
|
3983
|
+
r.push(t("sportsRuleMinMaxBet", { values: { sportMinBet: o, sportMaxBet: l } }));
|
|
3980
3984
|
const h = n.config.liveMatch === "true", a = n.config.preLiveMatch === "true";
|
|
3981
3985
|
h && a ? r.push(t("matchTypePreAndLive")) : h ? r.push(`${t("matchTypeLive")}`) : a && r.push(`${t("matchTyppePre")}`);
|
|
3982
|
-
const
|
|
3983
|
-
|
|
3986
|
+
const u = n.combination, c = [];
|
|
3987
|
+
u.single.isEligible && c.push(t("betTypeSingle"));
|
|
3984
3988
|
const d = {
|
|
3985
3989
|
null: t("typeOfSelectionAny"),
|
|
3986
3990
|
true: t("bankerOnly"),
|
|
@@ -3990,22 +3994,22 @@ class At {
|
|
|
3990
3994
|
all: t("betBuilderOnly"),
|
|
3991
3995
|
none: t("notBuilderOnly")
|
|
3992
3996
|
};
|
|
3993
|
-
let
|
|
3994
|
-
const S = `${t("oddsPerSelection")}: ${n.config.minOdds || t("unlimited")} - ${n.config.maxOdds || t("unlimited")}`, B =
|
|
3995
|
-
B && (
|
|
3996
|
-
( ${t("typeOfSelection")}: ${d[((m = (
|
|
3997
|
+
let E = "", H = "";
|
|
3998
|
+
const S = `${t("oddsPerSelection")}: ${n.config.minOdds || t("unlimited")} - ${n.config.maxOdds || t("unlimited")}`, B = u.system.isEligible, T = u.multiple.isEligible;
|
|
3999
|
+
B && (E = ` ${t("betTypeSystem")}
|
|
4000
|
+
( ${t("typeOfSelection")}: ${d[((m = (ne = n.combination.system.banker) == null ? void 0 : ne.include) == null ? void 0 : m.toString()) || "null"]},
|
|
3997
4001
|
${t("numberOfSelection")}:
|
|
3998
|
-
${((O =
|
|
3999
|
-
${S} ) `),
|
|
4000
|
-
( ${t("typeOfSelection")}: ${g[((
|
|
4002
|
+
${((O = u.system.minSelection) == null ? void 0 : O.number) || t("unlimited")} - ${((J = u.system.maxSelection) == null ? void 0 : J.number) || t("unlimited")},
|
|
4003
|
+
${S} ) `), T && (H = ` ${t("betTypeMultiple")}
|
|
4004
|
+
( ${t("typeOfSelection")}: ${g[((re = (Q = n.combination.multiple.betBuilder) == null ? void 0 : Q.mode) == null ? void 0 : re.toString()) || "unspecific"]},
|
|
4001
4005
|
${t("numberOfSelection")}:
|
|
4002
|
-
${((
|
|
4003
|
-
${S} ) `), B &&
|
|
4006
|
+
${((ge = u.multiple.minSelection) == null ? void 0 : ge.number) || t("unlimited")} - ${((Y = u.multiple.maxSelection) == null ? void 0 : Y.number) || t("unlimited")},
|
|
4007
|
+
${S} ) `), B && T ? c.push(H + t("and") + E) : B ? c.push(E) : T && c.push(H), r.push(c.join(", "));
|
|
4004
4008
|
const V = n.config.minTotalOdds ? `: ${n.config.minTotalOdds}` : i, M = n.config.maxTotalOdds ? `: ${n.config.maxTotalOdds}` : i;
|
|
4005
4009
|
return r.push(`${t("sportsRuleMinMaxOdds", { values: { sportMinOdds: V, sportMaxOdds: M } })}`), r;
|
|
4006
4010
|
}
|
|
4007
4011
|
}
|
|
4008
|
-
function
|
|
4012
|
+
function zi(e) {
|
|
4009
4013
|
Tn(e, "svelte-apsmtn", "*,*::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:var(--emw--color-gray-100, #B5B5B5)}.casino-tournaments-thumbnail-rule .RulesRow{padding:10px;display:flex;border-bottom:1px solid var(--emw--color-grey-105, #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 .RulesRow .RuleTxt ul.SportsRules{padding-left:20px}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt ul.SportsRules li{padding-left:0px;list-style-type:initial}.casino-tournaments-thumbnail-rule .RulesRow .ScoreTypeUL{padding-left:15px}.casino-tournaments-thumbnail-rule .RulesRow .ScoreTypeLI{list-style-type:initial;margin-top:5px}.casino-tournaments-thumbnail-rule .RulesRow .ScoreTypeLI span.Desc{padding-top:7px;display:block}.casino-tournaments-thumbnail-rule .RuleIcon{width:38px;height:30px}");
|
|
4010
4014
|
}
|
|
4011
4015
|
function Ot(e, t, n) {
|
|
@@ -4019,7 +4023,7 @@ function Pt(e) {
|
|
|
4019
4023
|
), r;
|
|
4020
4024
|
return {
|
|
4021
4025
|
c() {
|
|
4022
|
-
t = new
|
|
4026
|
+
t = new ie(!1), r = Te(), t.a = r;
|
|
4023
4027
|
},
|
|
4024
4028
|
m(i, s) {
|
|
4025
4029
|
t.m(n, i, s), W(i, r, s);
|
|
@@ -4041,7 +4045,7 @@ function Nt(e) {
|
|
|
4041
4045
|
), r;
|
|
4042
4046
|
return {
|
|
4043
4047
|
c() {
|
|
4044
|
-
t = new
|
|
4048
|
+
t = new ie(!1), r = Te(), t.a = r;
|
|
4045
4049
|
},
|
|
4046
4050
|
m(i, s) {
|
|
4047
4051
|
t.m(n, i, s), W(i, r, s);
|
|
@@ -4063,7 +4067,7 @@ function It(e) {
|
|
|
4063
4067
|
), r;
|
|
4064
4068
|
return {
|
|
4065
4069
|
c() {
|
|
4066
|
-
t = new
|
|
4070
|
+
t = new ie(!1), r = Te(), t.a = r;
|
|
4067
4071
|
},
|
|
4068
4072
|
m(i, s) {
|
|
4069
4073
|
t.m(n, i, s), W(i, r, s);
|
|
@@ -4090,7 +4094,7 @@ function kt(e) {
|
|
|
4090
4094
|
), r;
|
|
4091
4095
|
return {
|
|
4092
4096
|
c() {
|
|
4093
|
-
t = new
|
|
4097
|
+
t = new ie(!1), r = Te(), t.a = r;
|
|
4094
4098
|
},
|
|
4095
4099
|
m(i, s) {
|
|
4096
4100
|
t.m(n, i, s), W(i, r, s);
|
|
@@ -4117,7 +4121,7 @@ function $t(e) {
|
|
|
4117
4121
|
), r;
|
|
4118
4122
|
return {
|
|
4119
4123
|
c() {
|
|
4120
|
-
t = new
|
|
4124
|
+
t = new ie(!1), r = Te(), t.a = r;
|
|
4121
4125
|
},
|
|
4122
4126
|
m(i, s) {
|
|
4123
4127
|
t.m(n, i, s), W(i, r, s);
|
|
@@ -4136,22 +4140,22 @@ function Ut(e) {
|
|
|
4136
4140
|
let t, n, r, i, s, o = (
|
|
4137
4141
|
/*$_*/
|
|
4138
4142
|
e[11]("forCasino") + ""
|
|
4139
|
-
),
|
|
4143
|
+
), l, h;
|
|
4140
4144
|
return {
|
|
4141
4145
|
c() {
|
|
4142
|
-
t =
|
|
4146
|
+
t = C("div"), n = C("div"), n.innerHTML = `<img src="${ji}"/>`, r = L(), i = C("div"), s = new ie(!1), l = ee(":"), h = ee(
|
|
4143
4147
|
/*casinoRules*/
|
|
4144
4148
|
e[10]
|
|
4145
|
-
), p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a =
|
|
4149
|
+
), p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a = l, p(i, "class", "RuleTxt"), p(i, "part", "RuleTxt"), p(t, "class", "RulesRow"), p(t, "part", "rule");
|
|
4146
4150
|
},
|
|
4147
|
-
m(a,
|
|
4148
|
-
W(a, t,
|
|
4151
|
+
m(a, u) {
|
|
4152
|
+
W(a, t, u), b(t, n), b(t, r), b(t, i), s.m(o, i), b(i, l), b(i, h);
|
|
4149
4153
|
},
|
|
4150
|
-
p(a,
|
|
4151
|
-
|
|
4154
|
+
p(a, u) {
|
|
4155
|
+
u & /*$_*/
|
|
4152
4156
|
2048 && o !== (o = /*$_*/
|
|
4153
|
-
a[11]("forCasino") + "") && s.p(o),
|
|
4154
|
-
1024 &&
|
|
4157
|
+
a[11]("forCasino") + "") && s.p(o), u & /*casinoRules*/
|
|
4158
|
+
1024 && Re(
|
|
4155
4159
|
h,
|
|
4156
4160
|
/*casinoRules*/
|
|
4157
4161
|
a[10]
|
|
@@ -4166,24 +4170,24 @@ function Dt(e) {
|
|
|
4166
4170
|
let t, n, r, i, s, o = (
|
|
4167
4171
|
/*$_*/
|
|
4168
4172
|
e[11]("forSportsbook") + ""
|
|
4169
|
-
),
|
|
4173
|
+
), l, h, a = bt(
|
|
4170
4174
|
/*sportRules*/
|
|
4171
4175
|
e[9]
|
|
4172
|
-
),
|
|
4176
|
+
), u = [];
|
|
4173
4177
|
for (let c = 0; c < a.length; c += 1)
|
|
4174
|
-
|
|
4178
|
+
u[c] = Gt(Ot(e, a, c));
|
|
4175
4179
|
return {
|
|
4176
4180
|
c() {
|
|
4177
|
-
t =
|
|
4178
|
-
`), h =
|
|
4179
|
-
for (let c = 0; c <
|
|
4180
|
-
|
|
4181
|
-
p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a =
|
|
4181
|
+
t = C("div"), n = C("div"), n.innerHTML = `<img src="${Vi}"/>`, r = L(), i = C("div"), s = new ie(!1), l = ee(`:
|
|
4182
|
+
`), h = C("ul");
|
|
4183
|
+
for (let c = 0; c < u.length; c += 1)
|
|
4184
|
+
u[c].c();
|
|
4185
|
+
p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a = l, p(h, "class", "SportsRules"), p(i, "class", "RuleTxt"), p(i, "part", "RuleTxt"), p(t, "class", "RulesRow"), p(t, "part", "rule");
|
|
4182
4186
|
},
|
|
4183
4187
|
m(c, f) {
|
|
4184
|
-
W(c, t, f), b(t, n), b(t, r), b(t, i), s.m(o, i), b(i,
|
|
4185
|
-
for (let d = 0; d <
|
|
4186
|
-
|
|
4188
|
+
W(c, t, f), b(t, n), b(t, r), b(t, i), s.m(o, i), b(i, l), b(i, h);
|
|
4189
|
+
for (let d = 0; d < u.length; d += 1)
|
|
4190
|
+
u[d] && u[d].m(h, null);
|
|
4187
4191
|
},
|
|
4188
4192
|
p(c, f) {
|
|
4189
4193
|
if (f & /*$_*/
|
|
@@ -4197,15 +4201,15 @@ function Dt(e) {
|
|
|
4197
4201
|
let d;
|
|
4198
4202
|
for (d = 0; d < a.length; d += 1) {
|
|
4199
4203
|
const g = Ot(c, a, d);
|
|
4200
|
-
|
|
4204
|
+
u[d] ? u[d].p(g, f) : (u[d] = Gt(g), u[d].c(), u[d].m(h, null));
|
|
4201
4205
|
}
|
|
4202
|
-
for (; d <
|
|
4203
|
-
|
|
4204
|
-
|
|
4206
|
+
for (; d < u.length; d += 1)
|
|
4207
|
+
u[d].d(1);
|
|
4208
|
+
u.length = a.length;
|
|
4205
4209
|
}
|
|
4206
4210
|
},
|
|
4207
4211
|
d(c) {
|
|
4208
|
-
c && z(t), Bn(
|
|
4212
|
+
c && z(t), Bn(u, c);
|
|
4209
4213
|
}
|
|
4210
4214
|
};
|
|
4211
4215
|
}
|
|
@@ -4216,7 +4220,7 @@ function Gt(e) {
|
|
|
4216
4220
|
), r;
|
|
4217
4221
|
return {
|
|
4218
4222
|
c() {
|
|
4219
|
-
t =
|
|
4223
|
+
t = C("li"), r = ee(n), p(t, "class", "RuleTxt"), p(t, "part", "RuleTxt");
|
|
4220
4224
|
},
|
|
4221
4225
|
m(i, s) {
|
|
4222
4226
|
W(i, t, s), b(t, r);
|
|
@@ -4224,15 +4228,15 @@ function Gt(e) {
|
|
|
4224
4228
|
p(i, s) {
|
|
4225
4229
|
s & /*sportRules*/
|
|
4226
4230
|
512 && n !== (n = /*rule*/
|
|
4227
|
-
i[24] + "") &&
|
|
4231
|
+
i[24] + "") && Re(r, n);
|
|
4228
4232
|
},
|
|
4229
4233
|
d(i) {
|
|
4230
4234
|
i && z(t);
|
|
4231
4235
|
}
|
|
4232
4236
|
};
|
|
4233
4237
|
}
|
|
4234
|
-
function
|
|
4235
|
-
let t, n, r, i, s, o,
|
|
4238
|
+
function Zi(e) {
|
|
4239
|
+
let t, n, r, i, s, o, l, h, a, u, c, f, d, g, E = (
|
|
4236
4240
|
/*$_*/
|
|
4237
4241
|
e[11]("miniBetCount", {
|
|
4238
4242
|
values: { betCount: (
|
|
@@ -4240,7 +4244,7 @@ function zi(e) {
|
|
|
4240
4244
|
e[3]
|
|
4241
4245
|
) }
|
|
4242
4246
|
}) + ""
|
|
4243
|
-
), H, S, B,
|
|
4247
|
+
), H, S, B, T, V, M, A = (
|
|
4244
4248
|
/*$_*/
|
|
4245
4249
|
e[11]("timePeriod", {
|
|
4246
4250
|
values: {
|
|
@@ -4254,13 +4258,13 @@ function zi(e) {
|
|
|
4254
4258
|
)
|
|
4255
4259
|
}
|
|
4256
4260
|
}) + ""
|
|
4257
|
-
), Z,
|
|
4261
|
+
), Z, ne, m, O, J, Q, re = (
|
|
4258
4262
|
/*$_*/
|
|
4259
4263
|
e[11]("terms", { values: { tcUrl: (
|
|
4260
4264
|
/*tcurl*/
|
|
4261
4265
|
e[6]
|
|
4262
4266
|
) } }) + ""
|
|
4263
|
-
),
|
|
4267
|
+
), ge, Y, we, lt, Ue, I = (
|
|
4264
4268
|
/*scorecriterial*/
|
|
4265
4269
|
e[2] == "BetCount" && Pt(e)
|
|
4266
4270
|
), k = (
|
|
@@ -4285,28 +4289,28 @@ function zi(e) {
|
|
|
4285
4289
|
);
|
|
4286
4290
|
return {
|
|
4287
4291
|
c() {
|
|
4288
|
-
t =
|
|
4292
|
+
t = C("div"), n = C("div"), r = C("div"), r.innerHTML = `<img src="${Ui}"/>`, i = L(), s = C("div"), I && I.c(), o = L(), k && k.c(), l = L(), $ && $.c(), h = L(), U && U.c(), a = L(), D && D.c(), u = L(), c = C("div"), f = C("div"), f.innerHTML = `<img src="${Di}"/>`, d = L(), g = C("div"), H = ee(E), S = L(), B = C("div"), T = C("div"), T.innerHTML = `<img src="${Gi}"/>`, V = L(), M = C("div"), Z = ee(A), ne = L(), m = C("div"), O = C("div"), O.innerHTML = `<img src="${Fi}"/>`, J = L(), Q = C("div"), ge = L(), Y = C("span"), lt = L(), G && G.c(), Ue = L(), F && F.c(), p(r, "class", "RuleIcon"), p(r, "part", "RuleIcon"), p(s, "class", "RuleTxt"), p(s, "part", "RuleTxt"), p(n, "class", "RulesRow"), p(n, "part", "rule"), p(f, "class", "RuleIcon"), p(f, "part", "RuleIcon"), p(g, "class", "RuleTxt"), p(g, "part", "RuleTxt"), p(c, "class", "RulesRow"), p(c, "part", "rule"), p(T, "class", "RuleIcon"), p(T, "part", "RuleIcon"), p(M, "class", "RuleTxt"), p(M, "part", "RuleTxt"), p(B, "class", "RulesRow"), p(B, "part", "rule"), p(O, "class", "RuleIcon"), p(O, "part", "RuleIcon"), p(Q, "class", "RuleTxt"), p(Q, "part", "RuleTxt"), p(m, "class", "RulesRow"), p(m, "part", "rule"), p(Y, "type", "hidden"), p(Y, "href", we = { tcurl: (
|
|
4289
4293
|
/*tcurl*/
|
|
4290
4294
|
e[6]
|
|
4291
4295
|
) }), p(t, "class", "casino-tournaments-thumbnail-rule"), p(t, "part", "casino-tournaments-thumbnail-rule");
|
|
4292
4296
|
},
|
|
4293
4297
|
m(v, j) {
|
|
4294
|
-
W(v, t, j), b(t, n), b(n, r), b(n, i), b(n, s), I && I.m(s, null), b(s, o), k && k.m(s, null), b(s,
|
|
4298
|
+
W(v, t, j), b(t, n), b(n, r), b(n, i), b(n, s), I && I.m(s, null), b(s, o), k && k.m(s, null), b(s, l), $ && $.m(s, null), b(s, h), U && U.m(s, null), b(s, a), D && D.m(s, null), b(t, u), b(t, c), b(c, f), b(c, d), b(c, g), b(g, H), b(t, S), b(t, B), b(B, T), b(B, V), b(B, M), b(M, Z), b(t, ne), b(t, m), b(m, O), b(m, J), b(m, Q), Q.innerHTML = re, b(t, ge), b(t, Y), b(t, lt), G && G.m(t, null), b(t, Ue), F && F.m(t, null), e[17](t);
|
|
4295
4299
|
},
|
|
4296
4300
|
p(v, [j]) {
|
|
4297
4301
|
/*scorecriterial*/
|
|
4298
4302
|
v[2] == "BetCount" ? I ? I.p(v, j) : (I = Pt(v), I.c(), I.m(s, o)) : I && (I.d(1), I = null), /*scorecriterial*/
|
|
4299
|
-
v[2] == "WinStakeRatio" ? k ? k.p(v, j) : (k = Nt(v), k.c(), k.m(s,
|
|
4303
|
+
v[2] == "WinStakeRatio" ? k ? k.p(v, j) : (k = Nt(v), k.c(), k.m(s, l)) : k && (k.d(1), k = null), /*scorecriterial*/
|
|
4300
4304
|
v[2] == "MaxWinStakeRatio" ? $ ? $.p(v, j) : ($ = It(v), $.c(), $.m(s, h)) : $ && ($.d(1), $ = null), /*minscore*/
|
|
4301
4305
|
v[7] ? U ? U.p(v, j) : (U = kt(v), U.c(), U.m(s, a)) : U && (U.d(1), U = null), /*scorecriterial*/
|
|
4302
4306
|
v[2] == "Stake" ? D ? D.p(v, j) : (D = $t(v), D.c(), D.m(s, null)) : D && (D.d(1), D = null), j & /*$_, betcount*/
|
|
4303
|
-
2056 &&
|
|
4307
|
+
2056 && E !== (E = /*$_*/
|
|
4304
4308
|
v[11]("miniBetCount", {
|
|
4305
4309
|
values: { betCount: (
|
|
4306
4310
|
/*betcount*/
|
|
4307
4311
|
v[3]
|
|
4308
4312
|
) }
|
|
4309
|
-
}) + "") &&
|
|
4313
|
+
}) + "") && Re(H, E), j & /*$_, starttime, endtime*/
|
|
4310
4314
|
2096 && A !== (A = /*$_*/
|
|
4311
4315
|
v[11]("timePeriod", {
|
|
4312
4316
|
values: {
|
|
@@ -4319,17 +4323,17 @@ function zi(e) {
|
|
|
4319
4323
|
v[5]
|
|
4320
4324
|
)
|
|
4321
4325
|
}
|
|
4322
|
-
}) + "") &&
|
|
4323
|
-
2112 &&
|
|
4326
|
+
}) + "") && Re(Z, A), j & /*$_, tcurl*/
|
|
4327
|
+
2112 && re !== (re = /*$_*/
|
|
4324
4328
|
v[11]("terms", { values: { tcUrl: (
|
|
4325
4329
|
/*tcurl*/
|
|
4326
4330
|
v[6]
|
|
4327
|
-
) } }) + "") && (
|
|
4328
|
-
64 &&
|
|
4331
|
+
) } }) + "") && (Q.innerHTML = re), j & /*tcurl*/
|
|
4332
|
+
64 && we !== (we = { tcurl: (
|
|
4329
4333
|
/*tcurl*/
|
|
4330
4334
|
v[6]
|
|
4331
|
-
) }) && p(
|
|
4332
|
-
v[1] ? G ? G.p(v, j) : (G = Ut(v), G.c(), G.m(t,
|
|
4335
|
+
) }) && p(Y, "href", we), /*casinowallet*/
|
|
4336
|
+
v[1] ? G ? G.p(v, j) : (G = Ut(v), G.c(), G.m(t, Ue)) : G && (G.d(1), G = null), /*sportswallet*/
|
|
4333
4337
|
v[0] && /*sportRules*/
|
|
4334
4338
|
v[9].length ? F ? F.p(v, j) : (F = Dt(v), F.c(), F.m(t, null)) : F && (F.d(1), F = null);
|
|
4335
4339
|
},
|
|
@@ -4340,15 +4344,15 @@ function zi(e) {
|
|
|
4340
4344
|
}
|
|
4341
4345
|
};
|
|
4342
4346
|
}
|
|
4343
|
-
function
|
|
4347
|
+
function Xi(e, t, n) {
|
|
4344
4348
|
let r;
|
|
4345
|
-
_n(e,
|
|
4346
|
-
let { lang: i = "tr" } = t, { scorecriterial: s = "BetCount" } = t, { betcount: o } = t, { starttime:
|
|
4347
|
-
|
|
4349
|
+
_n(e, Oi, (m) => n(11, r = m));
|
|
4350
|
+
let { lang: i = "tr" } = t, { scorecriterial: s = "BetCount" } = t, { betcount: o } = t, { starttime: l } = t, { endtime: h } = t, { tcurl: a } = t, { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { mbsource: d } = t, { sportswallet: g } = t, { casinowallet: E } = t, { minscore: H } = t, S, B = [], T = "";
|
|
4351
|
+
Pi({ withLocale: "en", translations: {} });
|
|
4348
4352
|
const V = () => {
|
|
4349
4353
|
fetch(f).then((O) => O.json()).then((O) => {
|
|
4350
|
-
Object.keys(O).forEach((
|
|
4351
|
-
Rt(
|
|
4354
|
+
Object.keys(O).forEach((J) => {
|
|
4355
|
+
Rt(J, O[J]);
|
|
4352
4356
|
});
|
|
4353
4357
|
}).catch((O) => {
|
|
4354
4358
|
console.error(O);
|
|
@@ -4358,58 +4362,58 @@ function Zi(e, t, n) {
|
|
|
4358
4362
|
Rt(m, Lt[m]);
|
|
4359
4363
|
});
|
|
4360
4364
|
const M = () => {
|
|
4361
|
-
|
|
4365
|
+
Ni(i);
|
|
4362
4366
|
}, A = (m) => {
|
|
4363
|
-
m.data && m.data.type && m.type == "TournamentsWalletsUpdate" && (n(1,
|
|
4367
|
+
m.data && m.data.type && m.type == "TournamentsWalletsUpdate" && (n(1, E = m.data.wallet.casino), n(0, g = m.data.wallet.sports));
|
|
4364
4368
|
}, Z = () => {
|
|
4365
|
-
n(10,
|
|
4369
|
+
n(10, T = E ? At.generateCasinoRule(r, E) : ""), n(9, B = g ? At.generateSportsRule(r, g) : []);
|
|
4366
4370
|
};
|
|
4367
4371
|
An(() => (window.addEventListener("message", A, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
|
|
4368
4372
|
window.removeEventListener("message", A);
|
|
4369
4373
|
}));
|
|
4370
|
-
function
|
|
4371
|
-
|
|
4374
|
+
function ne(m) {
|
|
4375
|
+
We[m ? "unshift" : "push"](() => {
|
|
4372
4376
|
S = m, n(8, S);
|
|
4373
4377
|
});
|
|
4374
4378
|
}
|
|
4375
4379
|
return e.$$set = (m) => {
|
|
4376
|
-
"lang" in m && n(12, i = m.lang), "scorecriterial" in m && n(2, s = m.scorecriterial), "betcount" in m && n(3, o = m.betcount), "starttime" in m && n(4,
|
|
4380
|
+
"lang" in m && n(12, i = m.lang), "scorecriterial" in m && n(2, s = m.scorecriterial), "betcount" in m && n(3, o = m.betcount), "starttime" in m && n(4, l = m.starttime), "endtime" in m && n(5, h = m.endtime), "tcurl" in m && n(6, a = m.tcurl), "clientstyling" in m && n(13, u = m.clientstyling), "clientstylingurl" in m && n(14, c = m.clientstylingurl), "translationurl" in m && n(15, f = m.translationurl), "mbsource" in m && n(16, d = m.mbsource), "sportswallet" in m && n(0, g = m.sportswallet), "casinowallet" in m && n(1, E = m.casinowallet), "minscore" in m && n(7, H = m.minscore);
|
|
4377
4381
|
}, e.$$.update = () => {
|
|
4378
4382
|
e.$$.dirty & /*lang*/
|
|
4379
4383
|
4096 && i && M(), e.$$.dirty & /*sportswallet, casinowallet*/
|
|
4380
|
-
3 && (g ||
|
|
4381
|
-
8448 &&
|
|
4382
|
-
16640 && c && S &&
|
|
4383
|
-
65792 && d && S &&
|
|
4384
|
+
3 && (g || E) && Z(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4385
|
+
8448 && u && S && Ii(S, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4386
|
+
16640 && c && S && ki(S, c), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4387
|
+
65792 && d && S && $i(S, `${d}.Style`), e.$$.dirty & /*translationurl*/
|
|
4384
4388
|
32768 && f && V();
|
|
4385
4389
|
}, [
|
|
4386
4390
|
g,
|
|
4387
|
-
|
|
4391
|
+
E,
|
|
4388
4392
|
s,
|
|
4389
4393
|
o,
|
|
4390
|
-
|
|
4394
|
+
l,
|
|
4391
4395
|
h,
|
|
4392
4396
|
a,
|
|
4393
4397
|
H,
|
|
4394
4398
|
S,
|
|
4395
4399
|
B,
|
|
4396
|
-
|
|
4400
|
+
T,
|
|
4397
4401
|
r,
|
|
4398
4402
|
i,
|
|
4399
|
-
|
|
4403
|
+
u,
|
|
4400
4404
|
c,
|
|
4401
4405
|
f,
|
|
4402
4406
|
d,
|
|
4403
|
-
|
|
4407
|
+
ne
|
|
4404
4408
|
];
|
|
4405
4409
|
}
|
|
4406
|
-
class
|
|
4410
|
+
class Wi extends Vn {
|
|
4407
4411
|
constructor(t) {
|
|
4408
4412
|
super(), Fn(
|
|
4409
4413
|
this,
|
|
4410
4414
|
t,
|
|
4415
|
+
Xi,
|
|
4411
4416
|
Zi,
|
|
4412
|
-
zi,
|
|
4413
4417
|
jt,
|
|
4414
4418
|
{
|
|
4415
4419
|
lang: 12,
|
|
@@ -4426,7 +4430,7 @@ class Xi extends Vn {
|
|
|
4426
4430
|
casinowallet: 1,
|
|
4427
4431
|
minscore: 7
|
|
4428
4432
|
},
|
|
4429
|
-
|
|
4433
|
+
zi
|
|
4430
4434
|
);
|
|
4431
4435
|
}
|
|
4432
4436
|
get lang() {
|
|
@@ -4508,7 +4512,7 @@ class Xi extends Vn {
|
|
|
4508
4512
|
this.$$set({ minscore: t }), P();
|
|
4509
4513
|
}
|
|
4510
4514
|
}
|
|
4511
|
-
jn(
|
|
4515
|
+
jn(Wi, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, sportswallet: {}, casinowallet: {}, minscore: {} }, [], [], !0);
|
|
4512
4516
|
export {
|
|
4513
|
-
|
|
4517
|
+
Wi as default
|
|
4514
4518
|
};
|