@everymatrix/casino-tournaments-thumbnail-rule 1.86.4 → 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
|
@@ -3,13 +3,13 @@ function z() {
|
|
|
3
3
|
function kt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function ut() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function ve(e) {
|
|
10
10
|
e.forEach(kt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function rt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
15
|
function It(e, t) {
|
|
@@ -36,7 +36,7 @@ function b(e, t) {
|
|
|
36
36
|
function mn(e, t, n) {
|
|
37
37
|
const r = dn(e);
|
|
38
38
|
if (!r.getElementById(t)) {
|
|
39
|
-
const i =
|
|
39
|
+
const i = C("style");
|
|
40
40
|
i.id = t, i.textContent = n, pn(r, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -67,20 +67,20 @@ function bn(e, t) {
|
|
|
67
67
|
for (let n = 0; n < e.length; n += 1)
|
|
68
68
|
e[n] && e[n].d(t);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function C(e) {
|
|
71
71
|
return document.createElement(e);
|
|
72
72
|
}
|
|
73
73
|
function gn(e) {
|
|
74
74
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Q(e) {
|
|
77
77
|
return document.createTextNode(e);
|
|
78
78
|
}
|
|
79
79
|
function R() {
|
|
80
|
-
return
|
|
80
|
+
return Q(" ");
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
return
|
|
82
|
+
function xe() {
|
|
83
|
+
return Q("");
|
|
84
84
|
}
|
|
85
85
|
function p(e, t, n) {
|
|
86
86
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
@@ -88,11 +88,11 @@ function p(e, t, n) {
|
|
|
88
88
|
function yn(e) {
|
|
89
89
|
return Array.from(e.childNodes);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function He(e, t) {
|
|
92
92
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
93
93
|
t);
|
|
94
94
|
}
|
|
95
|
-
class
|
|
95
|
+
class Y {
|
|
96
96
|
/**
|
|
97
97
|
* @private
|
|
98
98
|
* @default false
|
|
@@ -126,7 +126,7 @@ class J {
|
|
|
126
126
|
this.e || (this.is_svg ? this.e = gn(
|
|
127
127
|
/** @type {keyof SVGElementTagNameMap} */
|
|
128
128
|
n.nodeName
|
|
129
|
-
) : this.e =
|
|
129
|
+
) : this.e = C(
|
|
130
130
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
131
131
|
n.nodeType === 11 ? "TEMPLATE" : n.nodeName
|
|
132
132
|
), this.t = n.tagName !== "TEMPLATE" ? n : (
|
|
@@ -171,65 +171,65 @@ function vn(e) {
|
|
|
171
171
|
}
|
|
172
172
|
), t;
|
|
173
173
|
}
|
|
174
|
-
let
|
|
175
|
-
function
|
|
176
|
-
|
|
174
|
+
let be;
|
|
175
|
+
function pe(e) {
|
|
176
|
+
be = e;
|
|
177
177
|
}
|
|
178
178
|
function xn() {
|
|
179
|
-
if (!
|
|
179
|
+
if (!be)
|
|
180
180
|
throw new Error("Function called outside component initialization");
|
|
181
|
-
return
|
|
181
|
+
return be;
|
|
182
182
|
}
|
|
183
183
|
function En(e) {
|
|
184
184
|
xn().$$.on_mount.push(e);
|
|
185
185
|
}
|
|
186
|
-
const
|
|
187
|
-
let
|
|
188
|
-
const
|
|
189
|
-
let
|
|
186
|
+
const re = [], ze = [];
|
|
187
|
+
let ie = [];
|
|
188
|
+
const lt = [], Cn = /* @__PURE__ */ Promise.resolve();
|
|
189
|
+
let Ze = !1;
|
|
190
190
|
function _n() {
|
|
191
|
-
|
|
191
|
+
Ze || (Ze = !0, Cn.then(L));
|
|
192
192
|
}
|
|
193
|
-
function
|
|
194
|
-
|
|
193
|
+
function Xe(e) {
|
|
194
|
+
ie.push(e);
|
|
195
195
|
}
|
|
196
|
-
const
|
|
197
|
-
let
|
|
196
|
+
const $e = /* @__PURE__ */ new Set();
|
|
197
|
+
let te = 0;
|
|
198
198
|
function L() {
|
|
199
|
-
if (
|
|
199
|
+
if (te !== 0)
|
|
200
200
|
return;
|
|
201
|
-
const e =
|
|
201
|
+
const e = be;
|
|
202
202
|
do {
|
|
203
203
|
try {
|
|
204
|
-
for (;
|
|
205
|
-
const t =
|
|
206
|
-
|
|
204
|
+
for (; te < re.length; ) {
|
|
205
|
+
const t = re[te];
|
|
206
|
+
te++, pe(t), Tn(t.$$);
|
|
207
207
|
}
|
|
208
208
|
} catch (t) {
|
|
209
|
-
throw
|
|
209
|
+
throw re.length = 0, te = 0, t;
|
|
210
210
|
}
|
|
211
|
-
for (
|
|
212
|
-
|
|
213
|
-
for (let t = 0; t <
|
|
214
|
-
const n =
|
|
215
|
-
|
|
211
|
+
for (pe(null), re.length = 0, te = 0; ze.length; )
|
|
212
|
+
ze.pop()();
|
|
213
|
+
for (let t = 0; t < ie.length; t += 1) {
|
|
214
|
+
const n = ie[t];
|
|
215
|
+
$e.has(n) || ($e.add(n), n());
|
|
216
216
|
}
|
|
217
|
-
|
|
218
|
-
} while (
|
|
219
|
-
for (;
|
|
220
|
-
|
|
221
|
-
|
|
217
|
+
ie.length = 0;
|
|
218
|
+
} while (re.length);
|
|
219
|
+
for (; lt.length; )
|
|
220
|
+
lt.pop()();
|
|
221
|
+
Ze = !1, $e.clear(), pe(e);
|
|
222
222
|
}
|
|
223
223
|
function Tn(e) {
|
|
224
224
|
if (e.fragment !== null) {
|
|
225
|
-
e.update(),
|
|
225
|
+
e.update(), ve(e.before_update);
|
|
226
226
|
const t = e.dirty;
|
|
227
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
227
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
function wn(e) {
|
|
231
231
|
const t = [], n = [];
|
|
232
|
-
|
|
232
|
+
ie.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), ie = t;
|
|
233
233
|
}
|
|
234
234
|
const Sn = /* @__PURE__ */ new Set();
|
|
235
235
|
function Bn(e, t) {
|
|
@@ -240,21 +240,21 @@ function ht(e) {
|
|
|
240
240
|
}
|
|
241
241
|
function Hn(e, t, n) {
|
|
242
242
|
const { fragment: r, after_update: i } = e.$$;
|
|
243
|
-
r && r.m(t, n),
|
|
244
|
-
const s = e.$$.on_mount.map(kt).filter(
|
|
245
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
246
|
-
}), i.forEach(
|
|
243
|
+
r && r.m(t, n), Xe(() => {
|
|
244
|
+
const s = e.$$.on_mount.map(kt).filter(rt);
|
|
245
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ve(s), e.$$.on_mount = [];
|
|
246
|
+
}), i.forEach(Xe);
|
|
247
247
|
}
|
|
248
248
|
function Mn(e, t) {
|
|
249
249
|
const n = e.$$;
|
|
250
|
-
n.fragment !== null && (wn(n.after_update),
|
|
250
|
+
n.fragment !== null && (wn(n.after_update), ve(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
251
251
|
}
|
|
252
252
|
function Rn(e, t) {
|
|
253
|
-
e.$$.dirty[0] === -1 && (
|
|
253
|
+
e.$$.dirty[0] === -1 && (re.push(e), _n(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
254
254
|
}
|
|
255
|
-
function Ln(e, t, n, r, i, s,
|
|
256
|
-
const c =
|
|
257
|
-
|
|
255
|
+
function Ln(e, t, n, r, i, s, l = null, u = [-1]) {
|
|
256
|
+
const c = be;
|
|
257
|
+
pe(e);
|
|
258
258
|
const a = e.$$ = {
|
|
259
259
|
fragment: null,
|
|
260
260
|
ctx: [],
|
|
@@ -262,7 +262,7 @@ function Ln(e, t, n, r, i, s, u = null, l = [-1]) {
|
|
|
262
262
|
props: s,
|
|
263
263
|
update: z,
|
|
264
264
|
not_equal: i,
|
|
265
|
-
bound:
|
|
265
|
+
bound: ut(),
|
|
266
266
|
// lifecycle
|
|
267
267
|
on_mount: [],
|
|
268
268
|
on_destroy: [],
|
|
@@ -271,17 +271,17 @@ function Ln(e, t, n, r, i, s, u = null, l = [-1]) {
|
|
|
271
271
|
after_update: [],
|
|
272
272
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
273
273
|
// everything else
|
|
274
|
-
callbacks:
|
|
275
|
-
dirty:
|
|
274
|
+
callbacks: ut(),
|
|
275
|
+
dirty: u,
|
|
276
276
|
skip_bound: !1,
|
|
277
277
|
root: t.target || c.$$.root
|
|
278
278
|
};
|
|
279
|
-
|
|
279
|
+
l && l(a.root);
|
|
280
280
|
let o = !1;
|
|
281
281
|
if (a.ctx = n ? n(e, t.props || {}, (h, f, ...m) => {
|
|
282
282
|
const g = m.length ? m[0] : f;
|
|
283
283
|
return a.ctx && i(a.ctx[h], a.ctx[h] = g) && (!a.skip_bound && a.bound[h] && a.bound[h](g), o && Rn(e, h)), f;
|
|
284
|
-
}) : [], a.update(), o = !0,
|
|
284
|
+
}) : [], a.update(), o = !0, ve(a.before_update), a.fragment = r ? r(a.ctx) : !1, t.target) {
|
|
285
285
|
if (t.hydrate) {
|
|
286
286
|
const h = yn(t.target);
|
|
287
287
|
a.fragment && a.fragment.l(h), h.forEach(V);
|
|
@@ -289,7 +289,7 @@ function Ln(e, t, n, r, i, s, u = null, l = [-1]) {
|
|
|
289
289
|
a.fragment && a.fragment.c();
|
|
290
290
|
t.intro && Bn(e.$$.fragment), Hn(e, t.target, t.anchor), L();
|
|
291
291
|
}
|
|
292
|
-
|
|
292
|
+
pe(c);
|
|
293
293
|
}
|
|
294
294
|
let Ut;
|
|
295
295
|
typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
@@ -334,7 +334,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
334
334
|
let s;
|
|
335
335
|
return {
|
|
336
336
|
c: function() {
|
|
337
|
-
s =
|
|
337
|
+
s = C("slot"), i !== "default" && p(s, "name", i);
|
|
338
338
|
},
|
|
339
339
|
/**
|
|
340
340
|
* @param {HTMLElement} target
|
|
@@ -356,7 +356,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
356
356
|
i in n && (t[i] = [e(i)]);
|
|
357
357
|
for (const i of this.attributes) {
|
|
358
358
|
const s = this.$$g_p(i.name);
|
|
359
|
-
s in this.$$d || (this.$$d[s] =
|
|
359
|
+
s in this.$$d || (this.$$d[s] = we(s, i.value, this.$$p_d, "toProp"));
|
|
360
360
|
}
|
|
361
361
|
for (const i in this.$$p_d)
|
|
362
362
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -374,7 +374,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
374
374
|
this.$$r = !0;
|
|
375
375
|
for (const i in this.$$p_d)
|
|
376
376
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
377
|
-
const s =
|
|
377
|
+
const s = we(
|
|
378
378
|
i,
|
|
379
379
|
this.$$d[i],
|
|
380
380
|
this.$$p_d,
|
|
@@ -387,8 +387,8 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
387
387
|
this.$$c.$$.after_update.push(r), r();
|
|
388
388
|
for (const i in this.$$l)
|
|
389
389
|
for (const s of this.$$l[i]) {
|
|
390
|
-
const
|
|
391
|
-
this.$$l_u.set(s,
|
|
390
|
+
const l = this.$$c.$on(i, s);
|
|
391
|
+
this.$$l_u.set(s, l);
|
|
392
392
|
}
|
|
393
393
|
this.$$l = {};
|
|
394
394
|
}
|
|
@@ -396,7 +396,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
396
396
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
397
397
|
// and setting attributes through setAttribute etc, this is helpful
|
|
398
398
|
attributeChangedCallback(e, t, n) {
|
|
399
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
399
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = we(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
400
400
|
}
|
|
401
401
|
disconnectedCallback() {
|
|
402
402
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -409,7 +409,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
409
409
|
) || e;
|
|
410
410
|
}
|
|
411
411
|
});
|
|
412
|
-
function
|
|
412
|
+
function we(e, t, n, r) {
|
|
413
413
|
const i = n[e]?.type;
|
|
414
414
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
415
415
|
return t;
|
|
@@ -439,33 +439,33 @@ function Te(e, t, n, r) {
|
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
441
|
function An(e, t, n, r, i, s) {
|
|
442
|
-
let
|
|
442
|
+
let l = class extends Ut {
|
|
443
443
|
constructor() {
|
|
444
444
|
super(e, n, i), this.$$p_d = t;
|
|
445
445
|
}
|
|
446
446
|
static get observedAttributes() {
|
|
447
447
|
return Object.keys(t).map(
|
|
448
|
-
(
|
|
448
|
+
(u) => (t[u].attribute || u).toLowerCase()
|
|
449
449
|
);
|
|
450
450
|
}
|
|
451
451
|
};
|
|
452
|
-
return Object.keys(t).forEach((
|
|
453
|
-
Object.defineProperty(
|
|
452
|
+
return Object.keys(t).forEach((u) => {
|
|
453
|
+
Object.defineProperty(l.prototype, u, {
|
|
454
454
|
get() {
|
|
455
|
-
return this.$$c &&
|
|
455
|
+
return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
|
|
456
456
|
},
|
|
457
457
|
set(c) {
|
|
458
|
-
c =
|
|
458
|
+
c = we(u, c, t), this.$$d[u] = c, this.$$c?.$set({ [u]: c });
|
|
459
459
|
}
|
|
460
460
|
});
|
|
461
|
-
}), r.forEach((
|
|
462
|
-
Object.defineProperty(
|
|
461
|
+
}), r.forEach((u) => {
|
|
462
|
+
Object.defineProperty(l.prototype, u, {
|
|
463
463
|
get() {
|
|
464
|
-
return this.$$c?.[
|
|
464
|
+
return this.$$c?.[u];
|
|
465
465
|
}
|
|
466
466
|
});
|
|
467
467
|
}), e.element = /** @type {any} */
|
|
468
|
-
|
|
468
|
+
l, l;
|
|
469
469
|
}
|
|
470
470
|
class On {
|
|
471
471
|
/**
|
|
@@ -495,7 +495,7 @@ class On {
|
|
|
495
495
|
* @returns {() => void}
|
|
496
496
|
*/
|
|
497
497
|
$on(t, n) {
|
|
498
|
-
if (!
|
|
498
|
+
if (!rt(n))
|
|
499
499
|
return z;
|
|
500
500
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
501
501
|
return r.push(n), () => {
|
|
@@ -513,44 +513,44 @@ class On {
|
|
|
513
513
|
}
|
|
514
514
|
const Pn = "4";
|
|
515
515
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pn);
|
|
516
|
-
const
|
|
516
|
+
const ne = [];
|
|
517
517
|
function Nn(e, t) {
|
|
518
518
|
return {
|
|
519
|
-
subscribe:
|
|
519
|
+
subscribe: Ae(e, t).subscribe
|
|
520
520
|
};
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function Ae(e, t = z) {
|
|
523
523
|
let n;
|
|
524
524
|
const r = /* @__PURE__ */ new Set();
|
|
525
|
-
function i(
|
|
526
|
-
if (It(e,
|
|
527
|
-
const c = !
|
|
525
|
+
function i(u) {
|
|
526
|
+
if (It(e, u) && (e = u, n)) {
|
|
527
|
+
const c = !ne.length;
|
|
528
528
|
for (const a of r)
|
|
529
|
-
a[1](),
|
|
529
|
+
a[1](), ne.push(a, e);
|
|
530
530
|
if (c) {
|
|
531
|
-
for (let a = 0; a <
|
|
532
|
-
|
|
533
|
-
|
|
531
|
+
for (let a = 0; a < ne.length; a += 2)
|
|
532
|
+
ne[a][0](ne[a + 1]);
|
|
533
|
+
ne.length = 0;
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
|
-
function s(
|
|
538
|
-
i(
|
|
537
|
+
function s(u) {
|
|
538
|
+
i(u(e));
|
|
539
539
|
}
|
|
540
|
-
function u
|
|
541
|
-
const a = [
|
|
542
|
-
return r.add(a), r.size === 1 && (n = t(i, s) || z),
|
|
540
|
+
function l(u, c = z) {
|
|
541
|
+
const a = [u, c];
|
|
542
|
+
return r.add(a), r.size === 1 && (n = t(i, s) || z), u(e), () => {
|
|
543
543
|
r.delete(a), r.size === 0 && n && (n(), n = null);
|
|
544
544
|
};
|
|
545
545
|
}
|
|
546
|
-
return { set: i, update: s, subscribe:
|
|
546
|
+
return { set: i, update: s, subscribe: l };
|
|
547
547
|
}
|
|
548
548
|
function le(e, t, n) {
|
|
549
549
|
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
550
550
|
if (!i.every(Boolean))
|
|
551
551
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
552
552
|
const s = t.length < 2;
|
|
553
|
-
return Nn(n, (
|
|
553
|
+
return Nn(n, (l, u) => {
|
|
554
554
|
let c = !1;
|
|
555
555
|
const a = [];
|
|
556
556
|
let o = 0, h = z;
|
|
@@ -558,21 +558,21 @@ function le(e, t, n) {
|
|
|
558
558
|
if (o)
|
|
559
559
|
return;
|
|
560
560
|
h();
|
|
561
|
-
const g = t(r ? a[0] : a,
|
|
562
|
-
s ?
|
|
561
|
+
const g = t(r ? a[0] : a, l, u);
|
|
562
|
+
s ? l(g) : h = rt(g) ? g : z;
|
|
563
563
|
}, m = i.map(
|
|
564
|
-
(g,
|
|
564
|
+
(g, E) => $t(
|
|
565
565
|
g,
|
|
566
566
|
(H) => {
|
|
567
|
-
a[
|
|
567
|
+
a[E] = H, o &= ~(1 << E), c && f();
|
|
568
568
|
},
|
|
569
569
|
() => {
|
|
570
|
-
o |= 1 <<
|
|
570
|
+
o |= 1 << E;
|
|
571
571
|
}
|
|
572
572
|
)
|
|
573
573
|
);
|
|
574
574
|
return c = !0, f(), function() {
|
|
575
|
-
|
|
575
|
+
ve(m), h(), c = !1;
|
|
576
576
|
};
|
|
577
577
|
});
|
|
578
578
|
}
|
|
@@ -596,19 +596,19 @@ function Fn(e) {
|
|
|
596
596
|
function jn(e) {
|
|
597
597
|
return Array.isArray(e) ? [] : {};
|
|
598
598
|
}
|
|
599
|
-
function
|
|
600
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
599
|
+
function ge(e, t) {
|
|
600
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? se(jn(e), e, t) : e;
|
|
601
601
|
}
|
|
602
602
|
function Vn(e, t, n) {
|
|
603
603
|
return e.concat(t).map(function(r) {
|
|
604
|
-
return
|
|
604
|
+
return ge(r, n);
|
|
605
605
|
});
|
|
606
606
|
}
|
|
607
607
|
function zn(e, t) {
|
|
608
608
|
if (!t.customMerge)
|
|
609
|
-
return
|
|
609
|
+
return se;
|
|
610
610
|
var n = t.customMerge(e);
|
|
611
|
-
return typeof n == "function" ? n :
|
|
611
|
+
return typeof n == "function" ? n : se;
|
|
612
612
|
}
|
|
613
613
|
function Zn(e) {
|
|
614
614
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -631,65 +631,51 @@ function Xn(e, t) {
|
|
|
631
631
|
function Wn(e, t, n) {
|
|
632
632
|
var r = {};
|
|
633
633
|
return n.isMergeableObject(e) && ct(e).forEach(function(i) {
|
|
634
|
-
r[i] =
|
|
634
|
+
r[i] = ge(e[i], n);
|
|
635
635
|
}), ct(t).forEach(function(i) {
|
|
636
|
-
Xn(e, i) || (Dt(e, i) && n.isMergeableObject(t[i]) ? r[i] = zn(i, n)(e[i], t[i], n) : r[i] =
|
|
636
|
+
Xn(e, i) || (Dt(e, i) && n.isMergeableObject(t[i]) ? r[i] = zn(i, n)(e[i], t[i], n) : r[i] = ge(t[i], n));
|
|
637
637
|
}), r;
|
|
638
638
|
}
|
|
639
|
-
function
|
|
640
|
-
n = n || {}, n.arrayMerge = n.arrayMerge || Vn, n.isMergeableObject = n.isMergeableObject || In, n.cloneUnlessOtherwiseSpecified =
|
|
639
|
+
function se(e, t, n) {
|
|
640
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Vn, n.isMergeableObject = n.isMergeableObject || In, n.cloneUnlessOtherwiseSpecified = ge;
|
|
641
641
|
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
642
|
-
return s ? r ? n.arrayMerge(e, t, n) : Wn(e, t, n) :
|
|
642
|
+
return s ? r ? n.arrayMerge(e, t, n) : Wn(e, t, n) : ge(t, n);
|
|
643
643
|
}
|
|
644
|
-
|
|
644
|
+
se.all = function(t, n) {
|
|
645
645
|
if (!Array.isArray(t))
|
|
646
646
|
throw new Error("first argument should be an array");
|
|
647
647
|
return t.reduce(function(r, i) {
|
|
648
|
-
return
|
|
648
|
+
return se(r, i, n);
|
|
649
649
|
}, {});
|
|
650
650
|
};
|
|
651
|
-
var qn =
|
|
651
|
+
var qn = se, Qn = qn;
|
|
652
652
|
const Jn = /* @__PURE__ */ kn(Qn);
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
657
|
-
purpose with or without fee is hereby granted.
|
|
658
|
-
|
|
659
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
660
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
661
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
662
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
663
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
664
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
665
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
666
|
-
***************************************************************************** */
|
|
667
|
-
var Ze = function(e, t) {
|
|
668
|
-
return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
653
|
+
var We = function(e, t) {
|
|
654
|
+
return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
669
655
|
n.__proto__ = r;
|
|
670
656
|
} || function(n, r) {
|
|
671
657
|
for (var i in r)
|
|
672
658
|
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
673
|
-
},
|
|
659
|
+
}, We(e, t);
|
|
674
660
|
};
|
|
675
|
-
function
|
|
661
|
+
function Oe(e, t) {
|
|
676
662
|
if (typeof t != "function" && t !== null)
|
|
677
663
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
678
|
-
|
|
664
|
+
We(e, t);
|
|
679
665
|
function n() {
|
|
680
666
|
this.constructor = e;
|
|
681
667
|
}
|
|
682
668
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
683
669
|
}
|
|
684
|
-
var
|
|
685
|
-
return
|
|
670
|
+
var X = function() {
|
|
671
|
+
return X = Object.assign || function(t) {
|
|
686
672
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
687
673
|
n = arguments[r];
|
|
688
674
|
for (var s in n)
|
|
689
675
|
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
690
676
|
}
|
|
691
677
|
return t;
|
|
692
|
-
},
|
|
678
|
+
}, X.apply(this, arguments);
|
|
693
679
|
};
|
|
694
680
|
function Yn(e, t) {
|
|
695
681
|
var n = {};
|
|
@@ -700,14 +686,14 @@ function Yn(e, t) {
|
|
|
700
686
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
701
687
|
return n;
|
|
702
688
|
}
|
|
703
|
-
function
|
|
704
|
-
if (arguments.length === 2)
|
|
689
|
+
function Ue(e, t, n) {
|
|
690
|
+
if (n || arguments.length === 2)
|
|
705
691
|
for (var r = 0, i = t.length, s; r < i; r++)
|
|
706
692
|
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
707
|
-
return e.concat(s || t);
|
|
693
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
|
708
694
|
}
|
|
709
|
-
function
|
|
710
|
-
var n = t && t.cache ? t.cache :
|
|
695
|
+
function De(e, t) {
|
|
696
|
+
var n = t && t.cache ? t.cache : sr, r = t && t.serializer ? t.serializer : rr, i = t && t.strategy ? t.strategy : tr;
|
|
711
697
|
return i(e, {
|
|
712
698
|
cache: n,
|
|
713
699
|
serializer: r
|
|
@@ -716,95 +702,103 @@ function $e(e, t) {
|
|
|
716
702
|
function Kn(e) {
|
|
717
703
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
718
704
|
}
|
|
719
|
-
function
|
|
705
|
+
function er(e, t, n, r) {
|
|
720
706
|
var i = Kn(r) ? r : n(r), s = t.get(i);
|
|
721
707
|
return typeof s > "u" && (s = e.call(this, r), t.set(i, s)), s;
|
|
722
708
|
}
|
|
723
|
-
function
|
|
709
|
+
function Gt(e, t, n) {
|
|
724
710
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
725
711
|
return typeof s > "u" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
726
712
|
}
|
|
727
|
-
function
|
|
713
|
+
function Ft(e, t, n, r, i) {
|
|
728
714
|
return n.bind(t, e, r, i);
|
|
729
715
|
}
|
|
730
|
-
function er(e, t) {
|
|
731
|
-
var n = e.length === 1 ? Gt : Ft;
|
|
732
|
-
return nt(e, this, n, t.cache.create(), t.serializer);
|
|
733
|
-
}
|
|
734
716
|
function tr(e, t) {
|
|
735
|
-
|
|
717
|
+
var n = e.length === 1 ? er : Gt;
|
|
718
|
+
return Ft(e, this, n, t.cache.create(), t.serializer);
|
|
736
719
|
}
|
|
737
720
|
function nr(e, t) {
|
|
738
|
-
return
|
|
721
|
+
return Ft(e, this, Gt, t.cache.create(), t.serializer);
|
|
739
722
|
}
|
|
740
723
|
var rr = function() {
|
|
741
724
|
return JSON.stringify(arguments);
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
725
|
+
}, ir = (
|
|
726
|
+
/** @class */
|
|
727
|
+
function() {
|
|
728
|
+
function e() {
|
|
729
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
730
|
+
}
|
|
731
|
+
return e.prototype.get = function(t) {
|
|
732
|
+
return this.cache[t];
|
|
733
|
+
}, e.prototype.set = function(t, n) {
|
|
734
|
+
this.cache[t] = n;
|
|
735
|
+
}, e;
|
|
736
|
+
}()
|
|
737
|
+
), sr = {
|
|
753
738
|
create: function() {
|
|
754
|
-
return new
|
|
739
|
+
return new ir();
|
|
755
740
|
}
|
|
756
|
-
},
|
|
757
|
-
variadic:
|
|
758
|
-
|
|
759
|
-
|
|
741
|
+
}, Ge = {
|
|
742
|
+
variadic: nr
|
|
743
|
+
}, Me = function() {
|
|
744
|
+
return Me = Object.assign || function(t) {
|
|
745
|
+
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
746
|
+
n = arguments[r];
|
|
747
|
+
for (var s in n)
|
|
748
|
+
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
749
|
+
}
|
|
750
|
+
return t;
|
|
751
|
+
}, Me.apply(this, arguments);
|
|
752
|
+
};
|
|
753
|
+
var y;
|
|
760
754
|
(function(e) {
|
|
761
755
|
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";
|
|
762
756
|
})(y || (y = {}));
|
|
763
|
-
var
|
|
757
|
+
var _;
|
|
764
758
|
(function(e) {
|
|
765
759
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
766
|
-
})(
|
|
767
|
-
var
|
|
760
|
+
})(_ || (_ = {}));
|
|
761
|
+
var ae;
|
|
768
762
|
(function(e) {
|
|
769
763
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
770
|
-
})(
|
|
764
|
+
})(ae || (ae = {}));
|
|
771
765
|
function ft(e) {
|
|
772
|
-
return e.type ===
|
|
766
|
+
return e.type === _.literal;
|
|
773
767
|
}
|
|
774
|
-
function
|
|
775
|
-
return e.type ===
|
|
768
|
+
function ar(e) {
|
|
769
|
+
return e.type === _.argument;
|
|
776
770
|
}
|
|
777
771
|
function jt(e) {
|
|
778
|
-
return e.type ===
|
|
772
|
+
return e.type === _.number;
|
|
779
773
|
}
|
|
780
774
|
function Vt(e) {
|
|
781
|
-
return e.type ===
|
|
775
|
+
return e.type === _.date;
|
|
782
776
|
}
|
|
783
777
|
function zt(e) {
|
|
784
|
-
return e.type ===
|
|
778
|
+
return e.type === _.time;
|
|
785
779
|
}
|
|
786
780
|
function Zt(e) {
|
|
787
|
-
return e.type ===
|
|
781
|
+
return e.type === _.select;
|
|
788
782
|
}
|
|
789
783
|
function Xt(e) {
|
|
790
|
-
return e.type ===
|
|
784
|
+
return e.type === _.plural;
|
|
791
785
|
}
|
|
792
|
-
function
|
|
793
|
-
return e.type ===
|
|
786
|
+
function or(e) {
|
|
787
|
+
return e.type === _.pound;
|
|
794
788
|
}
|
|
795
789
|
function Wt(e) {
|
|
796
|
-
return e.type ===
|
|
790
|
+
return e.type === _.tag;
|
|
797
791
|
}
|
|
798
792
|
function qt(e) {
|
|
799
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
793
|
+
return !!(e && typeof e == "object" && e.type === ae.number);
|
|
800
794
|
}
|
|
801
|
-
function
|
|
802
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
795
|
+
function qe(e) {
|
|
796
|
+
return !!(e && typeof e == "object" && e.type === ae.dateTime);
|
|
803
797
|
}
|
|
804
|
-
var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
798
|
+
var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ur = /(?:[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;
|
|
805
799
|
function lr(e) {
|
|
806
800
|
var t = {};
|
|
807
|
-
return e.replace(
|
|
801
|
+
return e.replace(ur, function(n) {
|
|
808
802
|
var r = n.length;
|
|
809
803
|
switch (n[0]) {
|
|
810
804
|
case "G":
|
|
@@ -893,29 +887,39 @@ function lr(e) {
|
|
|
893
887
|
return "";
|
|
894
888
|
}), t;
|
|
895
889
|
}
|
|
896
|
-
var
|
|
897
|
-
function
|
|
890
|
+
var w = function() {
|
|
891
|
+
return w = Object.assign || function(t) {
|
|
892
|
+
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
893
|
+
n = arguments[r];
|
|
894
|
+
for (var s in n)
|
|
895
|
+
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
896
|
+
}
|
|
897
|
+
return t;
|
|
898
|
+
}, w.apply(this, arguments);
|
|
899
|
+
};
|
|
900
|
+
var hr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
901
|
+
function cr(e) {
|
|
898
902
|
if (e.length === 0)
|
|
899
903
|
throw new Error("Number skeleton cannot be empty");
|
|
900
|
-
for (var t = e.split(
|
|
904
|
+
for (var t = e.split(hr).filter(function(f) {
|
|
901
905
|
return f.length > 0;
|
|
902
906
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
903
|
-
var s = i[r],
|
|
904
|
-
if (
|
|
907
|
+
var s = i[r], l = s.split("/");
|
|
908
|
+
if (l.length === 0)
|
|
905
909
|
throw new Error("Invalid number skeleton");
|
|
906
|
-
for (var
|
|
910
|
+
for (var u = l[0], c = l.slice(1), a = 0, o = c; a < o.length; a++) {
|
|
907
911
|
var h = o[a];
|
|
908
912
|
if (h.length === 0)
|
|
909
913
|
throw new Error("Invalid number skeleton");
|
|
910
914
|
}
|
|
911
|
-
n.push({ stem:
|
|
915
|
+
n.push({ stem: u, options: c });
|
|
912
916
|
}
|
|
913
917
|
return n;
|
|
914
918
|
}
|
|
915
|
-
function
|
|
919
|
+
function fr(e) {
|
|
916
920
|
return e.replace(/^(.*?)-/, "");
|
|
917
921
|
}
|
|
918
|
-
var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
922
|
+
var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, mr = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
|
|
919
923
|
function dt(e) {
|
|
920
924
|
var t = {};
|
|
921
925
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(n, r, i) {
|
|
@@ -962,7 +966,7 @@ function Kt(e) {
|
|
|
962
966
|
};
|
|
963
967
|
}
|
|
964
968
|
}
|
|
965
|
-
function
|
|
969
|
+
function dr(e) {
|
|
966
970
|
var t;
|
|
967
971
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
968
972
|
notation: "engineering"
|
|
@@ -980,7 +984,7 @@ function pt(e) {
|
|
|
980
984
|
var t = {}, n = Kt(e);
|
|
981
985
|
return n || t;
|
|
982
986
|
}
|
|
983
|
-
function
|
|
987
|
+
function pr(e) {
|
|
984
988
|
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
985
989
|
var i = r[n];
|
|
986
990
|
switch (i.stem) {
|
|
@@ -1004,7 +1008,7 @@ function dr(e) {
|
|
|
1004
1008
|
continue;
|
|
1005
1009
|
case "measure-unit":
|
|
1006
1010
|
case "unit":
|
|
1007
|
-
t.style = "unit", t.unit =
|
|
1011
|
+
t.style = "unit", t.unit = fr(i.options[0]);
|
|
1008
1012
|
continue;
|
|
1009
1013
|
case "compact-short":
|
|
1010
1014
|
case "K":
|
|
@@ -1015,13 +1019,13 @@ function dr(e) {
|
|
|
1015
1019
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1016
1020
|
continue;
|
|
1017
1021
|
case "scientific":
|
|
1018
|
-
t =
|
|
1019
|
-
return
|
|
1022
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(c, a) {
|
|
1023
|
+
return w(w({}, c), pt(a));
|
|
1020
1024
|
}, {}));
|
|
1021
1025
|
continue;
|
|
1022
1026
|
case "engineering":
|
|
1023
|
-
t =
|
|
1024
|
-
return
|
|
1027
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(c, a) {
|
|
1028
|
+
return w(w({}, c), pt(a));
|
|
1025
1029
|
}, {}));
|
|
1026
1030
|
continue;
|
|
1027
1031
|
case "notation-simple":
|
|
@@ -1066,7 +1070,7 @@ function dr(e) {
|
|
|
1066
1070
|
case "integer-width":
|
|
1067
1071
|
if (i.options.length > 1)
|
|
1068
1072
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1069
|
-
i.options[0].replace(
|
|
1073
|
+
i.options[0].replace(mr, function(c, a, o, h, f, m) {
|
|
1070
1074
|
if (a)
|
|
1071
1075
|
t.minimumIntegerDigits = o.length;
|
|
1072
1076
|
else {
|
|
@@ -1090,21 +1094,21 @@ function dr(e) {
|
|
|
1090
1094
|
return o === "*" ? t.minimumFractionDigits = a.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1091
1095
|
});
|
|
1092
1096
|
var s = i.options[0];
|
|
1093
|
-
s === "w" ? t =
|
|
1097
|
+
s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), dt(s)));
|
|
1094
1098
|
continue;
|
|
1095
1099
|
}
|
|
1096
1100
|
if (Jt.test(i.stem)) {
|
|
1097
|
-
t =
|
|
1101
|
+
t = w(w({}, t), dt(i.stem));
|
|
1098
1102
|
continue;
|
|
1099
1103
|
}
|
|
1100
|
-
var
|
|
1101
|
-
|
|
1102
|
-
var
|
|
1103
|
-
|
|
1104
|
+
var l = Kt(i.stem);
|
|
1105
|
+
l && (t = w(w({}, t), l));
|
|
1106
|
+
var u = dr(i.stem);
|
|
1107
|
+
u && (t = w(w({}, t), u));
|
|
1104
1108
|
}
|
|
1105
1109
|
return t;
|
|
1106
1110
|
}
|
|
1107
|
-
var
|
|
1111
|
+
var Te = {
|
|
1108
1112
|
"001": [
|
|
1109
1113
|
"H",
|
|
1110
1114
|
"h"
|
|
@@ -2519,23 +2523,23 @@ var _e = {
|
|
|
2519
2523
|
"h"
|
|
2520
2524
|
]
|
|
2521
2525
|
};
|
|
2522
|
-
function
|
|
2526
|
+
function br(e, t) {
|
|
2523
2527
|
for (var n = "", r = 0; r < e.length; r++) {
|
|
2524
2528
|
var i = e.charAt(r);
|
|
2525
2529
|
if (i === "j") {
|
|
2526
2530
|
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2527
2531
|
s++, r++;
|
|
2528
|
-
var
|
|
2529
|
-
for ((a == "H" || a == "k") && (
|
|
2532
|
+
var l = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), c = "a", a = gr(t);
|
|
2533
|
+
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
|
2530
2534
|
n += c;
|
|
2531
|
-
for (;
|
|
2535
|
+
for (; l-- > 0; )
|
|
2532
2536
|
n = a + n;
|
|
2533
2537
|
} else
|
|
2534
2538
|
i === "J" ? n += "H" : n += i;
|
|
2535
2539
|
}
|
|
2536
2540
|
return n;
|
|
2537
2541
|
}
|
|
2538
|
-
function
|
|
2542
|
+
function gr(e) {
|
|
2539
2543
|
var t = e.hourCycle;
|
|
2540
2544
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2541
2545
|
e.hourCycles && // @ts-ignore
|
|
@@ -2554,23 +2558,23 @@ function br(e) {
|
|
|
2554
2558
|
}
|
|
2555
2559
|
var n = e.language, r;
|
|
2556
2560
|
n !== "root" && (r = e.maximize().region);
|
|
2557
|
-
var i =
|
|
2561
|
+
var i = Te[r || ""] || Te[n || ""] || Te["".concat(n, "-001")] || Te["001"];
|
|
2558
2562
|
return i[0];
|
|
2559
2563
|
}
|
|
2560
|
-
var
|
|
2564
|
+
var Fe, yr = new RegExp("^".concat(Qt.source, "*")), vr = new RegExp("".concat(Qt.source, "*$"));
|
|
2561
2565
|
function x(e, t) {
|
|
2562
2566
|
return { start: e, end: t };
|
|
2563
2567
|
}
|
|
2564
|
-
var
|
|
2568
|
+
var xr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Er = !!String.fromCodePoint, Cr = !!Object.fromEntries, _r = !!String.prototype.codePointAt, Tr = !!String.prototype.trimStart, wr = !!String.prototype.trimEnd, Sr = !!Number.isSafeInteger, Br = Sr ? Number.isSafeInteger : function(e) {
|
|
2565
2569
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2566
|
-
},
|
|
2570
|
+
}, Qe = !0;
|
|
2567
2571
|
try {
|
|
2568
|
-
var
|
|
2569
|
-
|
|
2572
|
+
var Hr = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2573
|
+
Qe = ((Fe = Hr.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
|
|
2570
2574
|
} catch {
|
|
2571
|
-
|
|
2575
|
+
Qe = !1;
|
|
2572
2576
|
}
|
|
2573
|
-
var bt =
|
|
2577
|
+
var bt = xr ? (
|
|
2574
2578
|
// Native
|
|
2575
2579
|
function(t, n, r) {
|
|
2576
2580
|
return t.startsWith(n, r);
|
|
@@ -2580,31 +2584,31 @@ var bt = vr ? (
|
|
|
2580
2584
|
function(t, n, r) {
|
|
2581
2585
|
return t.slice(r, r + n.length) === n;
|
|
2582
2586
|
}
|
|
2583
|
-
),
|
|
2587
|
+
), Je = Er ? String.fromCodePoint : (
|
|
2584
2588
|
// IE11
|
|
2585
2589
|
function() {
|
|
2586
2590
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
2587
2591
|
t[n] = arguments[n];
|
|
2588
|
-
for (var r = "", i = t.length, s = 0,
|
|
2589
|
-
if (
|
|
2590
|
-
throw RangeError(
|
|
2591
|
-
r +=
|
|
2592
|
+
for (var r = "", i = t.length, s = 0, l; i > s; ) {
|
|
2593
|
+
if (l = t[s++], l > 1114111)
|
|
2594
|
+
throw RangeError(l + " is not a valid code point");
|
|
2595
|
+
r += l < 65536 ? String.fromCharCode(l) : String.fromCharCode(((l -= 65536) >> 10) + 55296, l % 1024 + 56320);
|
|
2592
2596
|
}
|
|
2593
2597
|
return r;
|
|
2594
2598
|
}
|
|
2595
2599
|
), gt = (
|
|
2596
2600
|
// native
|
|
2597
|
-
|
|
2601
|
+
Cr ? Object.fromEntries : (
|
|
2598
2602
|
// Ponyfill
|
|
2599
2603
|
function(t) {
|
|
2600
2604
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
2601
|
-
var s = i[r],
|
|
2602
|
-
n[
|
|
2605
|
+
var s = i[r], l = s[0], u = s[1];
|
|
2606
|
+
n[l] = u;
|
|
2603
2607
|
}
|
|
2604
2608
|
return n;
|
|
2605
2609
|
}
|
|
2606
2610
|
)
|
|
2607
|
-
), en =
|
|
2611
|
+
), en = _r ? (
|
|
2608
2612
|
// Native
|
|
2609
2613
|
function(t, n) {
|
|
2610
2614
|
return t.codePointAt(n);
|
|
@@ -2618,7 +2622,7 @@ var bt = vr ? (
|
|
|
2618
2622
|
return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2619
2623
|
}
|
|
2620
2624
|
}
|
|
2621
|
-
),
|
|
2625
|
+
), Mr = Tr ? (
|
|
2622
2626
|
// Native
|
|
2623
2627
|
function(t) {
|
|
2624
2628
|
return t.trimStart();
|
|
@@ -2626,9 +2630,9 @@ var bt = vr ? (
|
|
|
2626
2630
|
) : (
|
|
2627
2631
|
// Ponyfill
|
|
2628
2632
|
function(t) {
|
|
2629
|
-
return t.replace(
|
|
2633
|
+
return t.replace(yr, "");
|
|
2630
2634
|
}
|
|
2631
|
-
),
|
|
2635
|
+
), Rr = wr ? (
|
|
2632
2636
|
// Native
|
|
2633
2637
|
function(t) {
|
|
2634
2638
|
return t.trimEnd();
|
|
@@ -2636,32 +2640,32 @@ var bt = vr ? (
|
|
|
2636
2640
|
) : (
|
|
2637
2641
|
// Ponyfill
|
|
2638
2642
|
function(t) {
|
|
2639
|
-
return t.replace(
|
|
2643
|
+
return t.replace(vr, "");
|
|
2640
2644
|
}
|
|
2641
2645
|
);
|
|
2642
2646
|
function tn(e, t) {
|
|
2643
2647
|
return new RegExp(e, t);
|
|
2644
2648
|
}
|
|
2645
|
-
var
|
|
2646
|
-
if (
|
|
2649
|
+
var Ye;
|
|
2650
|
+
if (Qe) {
|
|
2647
2651
|
var yt = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2648
|
-
|
|
2652
|
+
Ye = function(t, n) {
|
|
2649
2653
|
var r;
|
|
2650
2654
|
yt.lastIndex = n;
|
|
2651
2655
|
var i = yt.exec(t);
|
|
2652
2656
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2653
2657
|
};
|
|
2654
2658
|
} else
|
|
2655
|
-
|
|
2659
|
+
Ye = function(t, n) {
|
|
2656
2660
|
for (var r = []; ; ) {
|
|
2657
2661
|
var i = en(t, n);
|
|
2658
|
-
if (i === void 0 || nn(i) ||
|
|
2662
|
+
if (i === void 0 || nn(i) || Pr(i))
|
|
2659
2663
|
break;
|
|
2660
2664
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2661
2665
|
}
|
|
2662
|
-
return
|
|
2666
|
+
return Je.apply(void 0, r);
|
|
2663
2667
|
};
|
|
2664
|
-
var
|
|
2668
|
+
var Lr = (
|
|
2665
2669
|
/** @class */
|
|
2666
2670
|
function() {
|
|
2667
2671
|
function e(t, n) {
|
|
@@ -2675,33 +2679,33 @@ var Rr = (
|
|
|
2675
2679
|
for (var i = []; !this.isEOF(); ) {
|
|
2676
2680
|
var s = this.char();
|
|
2677
2681
|
if (s === 123) {
|
|
2678
|
-
var
|
|
2679
|
-
if (
|
|
2680
|
-
return
|
|
2681
|
-
i.push(
|
|
2682
|
+
var l = this.parseArgument(t, r);
|
|
2683
|
+
if (l.err)
|
|
2684
|
+
return l;
|
|
2685
|
+
i.push(l.val);
|
|
2682
2686
|
} else {
|
|
2683
2687
|
if (s === 125 && t > 0)
|
|
2684
2688
|
break;
|
|
2685
2689
|
if (s === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2686
|
-
var
|
|
2690
|
+
var u = this.clonePosition();
|
|
2687
2691
|
this.bump(), i.push({
|
|
2688
|
-
type:
|
|
2689
|
-
location: x(
|
|
2692
|
+
type: _.pound,
|
|
2693
|
+
location: x(u, this.clonePosition())
|
|
2690
2694
|
});
|
|
2691
2695
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2692
2696
|
if (r)
|
|
2693
2697
|
break;
|
|
2694
2698
|
return this.error(y.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
2695
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2696
|
-
var
|
|
2697
|
-
if (
|
|
2698
|
-
return
|
|
2699
|
-
i.push(
|
|
2699
|
+
} else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
|
|
2700
|
+
var l = this.parseTag(t, n);
|
|
2701
|
+
if (l.err)
|
|
2702
|
+
return l;
|
|
2703
|
+
i.push(l.val);
|
|
2700
2704
|
} else {
|
|
2701
|
-
var
|
|
2702
|
-
if (
|
|
2703
|
-
return
|
|
2704
|
-
i.push(
|
|
2705
|
+
var l = this.parseLiteral(t, n);
|
|
2706
|
+
if (l.err)
|
|
2707
|
+
return l;
|
|
2708
|
+
i.push(l.val);
|
|
2705
2709
|
}
|
|
2706
2710
|
}
|
|
2707
2711
|
}
|
|
@@ -2713,7 +2717,7 @@ var Rr = (
|
|
|
2713
2717
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2714
2718
|
return {
|
|
2715
2719
|
val: {
|
|
2716
|
-
type:
|
|
2720
|
+
type: _.literal,
|
|
2717
2721
|
value: "<".concat(i, "/>"),
|
|
2718
2722
|
location: x(r, this.clonePosition())
|
|
2719
2723
|
},
|
|
@@ -2723,27 +2727,27 @@ var Rr = (
|
|
|
2723
2727
|
var s = this.parseMessage(t + 1, n, !0);
|
|
2724
2728
|
if (s.err)
|
|
2725
2729
|
return s;
|
|
2726
|
-
var
|
|
2730
|
+
var l = s.val, u = this.clonePosition();
|
|
2727
2731
|
if (this.bumpIf("</")) {
|
|
2728
|
-
if (this.isEOF() || !
|
|
2729
|
-
return this.error(y.INVALID_TAG, x(
|
|
2732
|
+
if (this.isEOF() || !Ke(this.char()))
|
|
2733
|
+
return this.error(y.INVALID_TAG, x(u, this.clonePosition()));
|
|
2730
2734
|
var c = this.clonePosition(), a = this.parseTagName();
|
|
2731
2735
|
return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, x(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2732
2736
|
val: {
|
|
2733
|
-
type:
|
|
2737
|
+
type: _.tag,
|
|
2734
2738
|
value: i,
|
|
2735
|
-
children:
|
|
2739
|
+
children: l,
|
|
2736
2740
|
location: x(r, this.clonePosition())
|
|
2737
2741
|
},
|
|
2738
2742
|
err: null
|
|
2739
|
-
} : this.error(y.INVALID_TAG, x(
|
|
2743
|
+
} : this.error(y.INVALID_TAG, x(u, this.clonePosition())));
|
|
2740
2744
|
} else
|
|
2741
2745
|
return this.error(y.UNCLOSED_TAG, x(r, this.clonePosition()));
|
|
2742
2746
|
} else
|
|
2743
2747
|
return this.error(y.INVALID_TAG, x(r, this.clonePosition()));
|
|
2744
2748
|
}, e.prototype.parseTagName = function() {
|
|
2745
2749
|
var t = this.offset();
|
|
2746
|
-
for (this.bump(); !this.isEOF() &&
|
|
2750
|
+
for (this.bump(); !this.isEOF() && Or(this.char()); )
|
|
2747
2751
|
this.bump();
|
|
2748
2752
|
return this.message.slice(t, this.offset());
|
|
2749
2753
|
}, e.prototype.parseLiteral = function(t, n) {
|
|
@@ -2753,26 +2757,26 @@ var Rr = (
|
|
|
2753
2757
|
i += s;
|
|
2754
2758
|
continue;
|
|
2755
2759
|
}
|
|
2756
|
-
var
|
|
2757
|
-
if (u) {
|
|
2758
|
-
i += u;
|
|
2759
|
-
continue;
|
|
2760
|
-
}
|
|
2761
|
-
var l = this.tryParseLeftAngleBracket();
|
|
2760
|
+
var l = this.tryParseUnquoted(t, n);
|
|
2762
2761
|
if (l) {
|
|
2763
2762
|
i += l;
|
|
2764
2763
|
continue;
|
|
2765
2764
|
}
|
|
2765
|
+
var u = this.tryParseLeftAngleBracket();
|
|
2766
|
+
if (u) {
|
|
2767
|
+
i += u;
|
|
2768
|
+
continue;
|
|
2769
|
+
}
|
|
2766
2770
|
break;
|
|
2767
2771
|
}
|
|
2768
2772
|
var c = x(r, this.clonePosition());
|
|
2769
2773
|
return {
|
|
2770
|
-
val: { type:
|
|
2774
|
+
val: { type: _.literal, value: i, location: c },
|
|
2771
2775
|
err: null
|
|
2772
2776
|
};
|
|
2773
2777
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2774
2778
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2775
|
-
!
|
|
2779
|
+
!Ar(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2776
2780
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2777
2781
|
if (this.isEOF() || this.char() !== 39)
|
|
2778
2782
|
return null;
|
|
@@ -2806,12 +2810,12 @@ var Rr = (
|
|
|
2806
2810
|
n.push(r);
|
|
2807
2811
|
this.bump();
|
|
2808
2812
|
}
|
|
2809
|
-
return
|
|
2813
|
+
return Je.apply(void 0, n);
|
|
2810
2814
|
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
2811
2815
|
if (this.isEOF())
|
|
2812
2816
|
return null;
|
|
2813
2817
|
var r = this.char();
|
|
2814
|
-
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(),
|
|
2818
|
+
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Je(r));
|
|
2815
2819
|
}, e.prototype.parseArgument = function(t, n) {
|
|
2816
2820
|
var r = this.clonePosition();
|
|
2817
2821
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2827,7 +2831,7 @@ var Rr = (
|
|
|
2827
2831
|
case 125:
|
|
2828
2832
|
return this.bump(), {
|
|
2829
2833
|
val: {
|
|
2830
|
-
type:
|
|
2834
|
+
type: _.argument,
|
|
2831
2835
|
// value does not include the opening and closing braces.
|
|
2832
2836
|
value: i,
|
|
2833
2837
|
location: x(r, this.clonePosition())
|
|
@@ -2840,15 +2844,15 @@ var Rr = (
|
|
|
2840
2844
|
return this.error(y.MALFORMED_ARGUMENT, x(r, this.clonePosition()));
|
|
2841
2845
|
}
|
|
2842
2846
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2843
|
-
var t = this.clonePosition(), n = this.offset(), r =
|
|
2847
|
+
var t = this.clonePosition(), n = this.offset(), r = Ye(this.message, n), i = n + r.length;
|
|
2844
2848
|
this.bumpTo(i);
|
|
2845
|
-
var s = this.clonePosition(),
|
|
2846
|
-
return { value: r, location:
|
|
2849
|
+
var s = this.clonePosition(), l = x(t, s);
|
|
2850
|
+
return { value: r, location: l };
|
|
2847
2851
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
2848
|
-
var s,
|
|
2849
|
-
switch (
|
|
2852
|
+
var s, l = this.clonePosition(), u = this.parseIdentifierIfPossible().value, c = this.clonePosition();
|
|
2853
|
+
switch (u) {
|
|
2850
2854
|
case "":
|
|
2851
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE, x(
|
|
2855
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, x(l, c));
|
|
2852
2856
|
case "number":
|
|
2853
2857
|
case "date":
|
|
2854
2858
|
case "time": {
|
|
@@ -2859,7 +2863,7 @@ var Rr = (
|
|
|
2859
2863
|
var o = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
|
2860
2864
|
if (h.err)
|
|
2861
2865
|
return h;
|
|
2862
|
-
var f =
|
|
2866
|
+
var f = Rr(h.val);
|
|
2863
2867
|
if (f.length === 0)
|
|
2864
2868
|
return this.error(y.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
2865
2869
|
var m = x(o, this.clonePosition());
|
|
@@ -2868,37 +2872,37 @@ var Rr = (
|
|
|
2868
2872
|
var g = this.tryParseArgumentClose(i);
|
|
2869
2873
|
if (g.err)
|
|
2870
2874
|
return g;
|
|
2871
|
-
var
|
|
2875
|
+
var E = x(i, this.clonePosition());
|
|
2872
2876
|
if (a && bt(a?.style, "::", 0)) {
|
|
2873
|
-
var H =
|
|
2874
|
-
if (
|
|
2877
|
+
var H = Mr(a.style.slice(2));
|
|
2878
|
+
if (u === "number") {
|
|
2875
2879
|
var h = this.parseNumberSkeletonFromString(H, a.styleLocation);
|
|
2876
2880
|
return h.err ? h : {
|
|
2877
|
-
val: { type:
|
|
2881
|
+
val: { type: _.number, value: r, location: E, style: h.val },
|
|
2878
2882
|
err: null
|
|
2879
2883
|
};
|
|
2880
2884
|
} else {
|
|
2881
2885
|
if (H.length === 0)
|
|
2882
|
-
return this.error(y.EXPECT_DATE_TIME_SKELETON,
|
|
2886
|
+
return this.error(y.EXPECT_DATE_TIME_SKELETON, E);
|
|
2883
2887
|
var S = H;
|
|
2884
|
-
this.locale && (S =
|
|
2888
|
+
this.locale && (S = br(H, this.locale));
|
|
2885
2889
|
var f = {
|
|
2886
|
-
type:
|
|
2890
|
+
type: ae.dateTime,
|
|
2887
2891
|
pattern: S,
|
|
2888
2892
|
location: a.styleLocation,
|
|
2889
2893
|
parsedOptions: this.shouldParseSkeletons ? lr(S) : {}
|
|
2890
|
-
}, B =
|
|
2894
|
+
}, B = u === "date" ? _.date : _.time;
|
|
2891
2895
|
return {
|
|
2892
|
-
val: { type: B, value: r, location:
|
|
2896
|
+
val: { type: B, value: r, location: E, style: f },
|
|
2893
2897
|
err: null
|
|
2894
2898
|
};
|
|
2895
2899
|
}
|
|
2896
2900
|
}
|
|
2897
2901
|
return {
|
|
2898
2902
|
val: {
|
|
2899
|
-
type:
|
|
2903
|
+
type: u === "number" ? _.number : u === "date" ? _.date : _.time,
|
|
2900
2904
|
value: r,
|
|
2901
|
-
location:
|
|
2905
|
+
location: E,
|
|
2902
2906
|
style: (s = a?.style) !== null && s !== void 0 ? s : null
|
|
2903
2907
|
},
|
|
2904
2908
|
err: null
|
|
@@ -2907,12 +2911,12 @@ var Rr = (
|
|
|
2907
2911
|
case "plural":
|
|
2908
2912
|
case "selectordinal":
|
|
2909
2913
|
case "select": {
|
|
2910
|
-
var
|
|
2914
|
+
var T = this.clonePosition();
|
|
2911
2915
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2912
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, x(
|
|
2916
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, x(T, Me({}, T)));
|
|
2913
2917
|
this.bumpSpace();
|
|
2914
2918
|
var G = this.parseIdentifierIfPossible(), M = 0;
|
|
2915
|
-
if (
|
|
2919
|
+
if (u !== "select" && G.value === "offset") {
|
|
2916
2920
|
if (!this.bumpIf(":"))
|
|
2917
2921
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
2918
2922
|
this.bumpSpace();
|
|
@@ -2921,35 +2925,35 @@ var Rr = (
|
|
|
2921
2925
|
return h;
|
|
2922
2926
|
this.bumpSpace(), G = this.parseIdentifierIfPossible(), M = h.val;
|
|
2923
2927
|
}
|
|
2924
|
-
var F = this.tryParsePluralOrSelectOptions(t,
|
|
2928
|
+
var F = this.tryParsePluralOrSelectOptions(t, u, n, G);
|
|
2925
2929
|
if (F.err)
|
|
2926
2930
|
return F;
|
|
2927
2931
|
var g = this.tryParseArgumentClose(i);
|
|
2928
2932
|
if (g.err)
|
|
2929
2933
|
return g;
|
|
2930
|
-
var
|
|
2931
|
-
return
|
|
2934
|
+
var W = x(i, this.clonePosition());
|
|
2935
|
+
return u === "select" ? {
|
|
2932
2936
|
val: {
|
|
2933
|
-
type:
|
|
2937
|
+
type: _.select,
|
|
2934
2938
|
value: r,
|
|
2935
2939
|
options: gt(F.val),
|
|
2936
|
-
location:
|
|
2940
|
+
location: W
|
|
2937
2941
|
},
|
|
2938
2942
|
err: null
|
|
2939
2943
|
} : {
|
|
2940
2944
|
val: {
|
|
2941
|
-
type:
|
|
2945
|
+
type: _.plural,
|
|
2942
2946
|
value: r,
|
|
2943
2947
|
options: gt(F.val),
|
|
2944
2948
|
offset: M,
|
|
2945
|
-
pluralType:
|
|
2946
|
-
location:
|
|
2949
|
+
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
2950
|
+
location: W
|
|
2947
2951
|
},
|
|
2948
2952
|
err: null
|
|
2949
2953
|
};
|
|
2950
2954
|
}
|
|
2951
2955
|
default:
|
|
2952
|
-
return this.error(y.INVALID_ARGUMENT_TYPE, x(
|
|
2956
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, x(l, c));
|
|
2953
2957
|
}
|
|
2954
2958
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2955
2959
|
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -2991,21 +2995,21 @@ var Rr = (
|
|
|
2991
2995
|
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
2992
2996
|
var r = [];
|
|
2993
2997
|
try {
|
|
2994
|
-
r =
|
|
2998
|
+
r = cr(t);
|
|
2995
2999
|
} catch {
|
|
2996
3000
|
return this.error(y.INVALID_NUMBER_SKELETON, n);
|
|
2997
3001
|
}
|
|
2998
3002
|
return {
|
|
2999
3003
|
val: {
|
|
3000
|
-
type:
|
|
3004
|
+
type: ae.number,
|
|
3001
3005
|
tokens: r,
|
|
3002
3006
|
location: n,
|
|
3003
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3007
|
+
parsedOptions: this.shouldParseSkeletons ? pr(r) : {}
|
|
3004
3008
|
},
|
|
3005
3009
|
err: null
|
|
3006
3010
|
};
|
|
3007
3011
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3008
|
-
for (var s,
|
|
3012
|
+
for (var s, l = !1, u = [], c = /* @__PURE__ */ new Set(), a = i.value, o = i.location; ; ) {
|
|
3009
3013
|
if (a.length === 0) {
|
|
3010
3014
|
var h = this.clonePosition();
|
|
3011
3015
|
if (n !== "select" && this.bumpIf("=")) {
|
|
@@ -3018,17 +3022,17 @@ var Rr = (
|
|
|
3018
3022
|
}
|
|
3019
3023
|
if (c.has(a))
|
|
3020
3024
|
return this.error(n === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, o);
|
|
3021
|
-
a === "other" && (
|
|
3025
|
+
a === "other" && (l = !0), this.bumpSpace();
|
|
3022
3026
|
var m = this.clonePosition();
|
|
3023
3027
|
if (!this.bumpIf("{"))
|
|
3024
3028
|
return this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
|
|
3025
3029
|
var g = this.parseMessage(t + 1, n, r);
|
|
3026
3030
|
if (g.err)
|
|
3027
3031
|
return g;
|
|
3028
|
-
var
|
|
3029
|
-
if (
|
|
3030
|
-
return
|
|
3031
|
-
|
|
3032
|
+
var E = this.tryParseArgumentClose(m);
|
|
3033
|
+
if (E.err)
|
|
3034
|
+
return E;
|
|
3035
|
+
u.push([
|
|
3032
3036
|
a,
|
|
3033
3037
|
{
|
|
3034
3038
|
value: g.val,
|
|
@@ -3036,19 +3040,19 @@ var Rr = (
|
|
|
3036
3040
|
}
|
|
3037
3041
|
]), c.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, o = s.location;
|
|
3038
3042
|
}
|
|
3039
|
-
return
|
|
3043
|
+
return u.length === 0 ? this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(y.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
|
|
3040
3044
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3041
3045
|
var r = 1, i = this.clonePosition();
|
|
3042
3046
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3043
|
-
for (var s = !1,
|
|
3044
|
-
var
|
|
3045
|
-
if (
|
|
3046
|
-
s = !0,
|
|
3047
|
+
for (var s = !1, l = 0; !this.isEOF(); ) {
|
|
3048
|
+
var u = this.char();
|
|
3049
|
+
if (u >= 48 && u <= 57)
|
|
3050
|
+
s = !0, l = l * 10 + (u - 48), this.bump();
|
|
3047
3051
|
else
|
|
3048
3052
|
break;
|
|
3049
3053
|
}
|
|
3050
3054
|
var c = x(i, this.clonePosition());
|
|
3051
|
-
return s ? (
|
|
3055
|
+
return s ? (l *= r, Br(l) ? { val: l, err: null } : this.error(n, c)) : this.error(t, c);
|
|
3052
3056
|
}, e.prototype.offset = function() {
|
|
3053
3057
|
return this.position.offset;
|
|
3054
3058
|
}, e.prototype.isEOF = function() {
|
|
@@ -3114,47 +3118,47 @@ var Rr = (
|
|
|
3114
3118
|
}, e;
|
|
3115
3119
|
}()
|
|
3116
3120
|
);
|
|
3117
|
-
function
|
|
3121
|
+
function Ke(e) {
|
|
3118
3122
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3119
3123
|
}
|
|
3120
|
-
function Lr(e) {
|
|
3121
|
-
return Je(e) || e === 47;
|
|
3122
|
-
}
|
|
3123
3124
|
function Ar(e) {
|
|
3125
|
+
return Ke(e) || e === 47;
|
|
3126
|
+
}
|
|
3127
|
+
function Or(e) {
|
|
3124
3128
|
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;
|
|
3125
3129
|
}
|
|
3126
3130
|
function nn(e) {
|
|
3127
3131
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3128
3132
|
}
|
|
3129
|
-
function
|
|
3133
|
+
function Pr(e) {
|
|
3130
3134
|
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;
|
|
3131
3135
|
}
|
|
3132
|
-
function
|
|
3136
|
+
function et(e) {
|
|
3133
3137
|
e.forEach(function(t) {
|
|
3134
3138
|
if (delete t.location, Zt(t) || Xt(t))
|
|
3135
3139
|
for (var n in t.options)
|
|
3136
|
-
delete t.options[n].location,
|
|
3140
|
+
delete t.options[n].location, et(t.options[n].value);
|
|
3137
3141
|
else
|
|
3138
|
-
jt(t) && qt(t.style) || (Vt(t) || zt(t)) &&
|
|
3142
|
+
jt(t) && qt(t.style) || (Vt(t) || zt(t)) && qe(t.style) ? delete t.style.location : Wt(t) && et(t.children);
|
|
3139
3143
|
});
|
|
3140
3144
|
}
|
|
3141
|
-
function
|
|
3142
|
-
t === void 0 && (t = {}), t =
|
|
3143
|
-
var n = new
|
|
3145
|
+
function Nr(e, t) {
|
|
3146
|
+
t === void 0 && (t = {}), t = Me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3147
|
+
var n = new Lr(e, t).parse();
|
|
3144
3148
|
if (n.err) {
|
|
3145
3149
|
var r = SyntaxError(y[n.err.kind]);
|
|
3146
3150
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3147
3151
|
}
|
|
3148
|
-
return t?.captureLocation ||
|
|
3152
|
+
return t?.captureLocation || et(n.val), n.val;
|
|
3149
3153
|
}
|
|
3150
|
-
var
|
|
3154
|
+
var oe;
|
|
3151
3155
|
(function(e) {
|
|
3152
3156
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3153
|
-
})(
|
|
3154
|
-
var
|
|
3157
|
+
})(oe || (oe = {}));
|
|
3158
|
+
var Pe = (
|
|
3155
3159
|
/** @class */
|
|
3156
3160
|
function(e) {
|
|
3157
|
-
|
|
3161
|
+
Oe(t, e);
|
|
3158
3162
|
function t(n, r, i) {
|
|
3159
3163
|
var s = e.call(this, n) || this;
|
|
3160
3164
|
return s.code = r, s.originalMessage = i, s;
|
|
@@ -3166,44 +3170,44 @@ var Ae = (
|
|
|
3166
3170
|
), vt = (
|
|
3167
3171
|
/** @class */
|
|
3168
3172
|
function(e) {
|
|
3169
|
-
|
|
3173
|
+
Oe(t, e);
|
|
3170
3174
|
function t(n, r, i, s) {
|
|
3171
|
-
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3175
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, s) || this;
|
|
3172
3176
|
}
|
|
3173
3177
|
return t;
|
|
3174
|
-
}(
|
|
3175
|
-
),
|
|
3178
|
+
}(Pe)
|
|
3179
|
+
), kr = (
|
|
3176
3180
|
/** @class */
|
|
3177
3181
|
function(e) {
|
|
3178
|
-
|
|
3182
|
+
Oe(t, e);
|
|
3179
3183
|
function t(n, r, i) {
|
|
3180
|
-
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r),
|
|
3184
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), oe.INVALID_VALUE, i) || this;
|
|
3181
3185
|
}
|
|
3182
3186
|
return t;
|
|
3183
|
-
}(
|
|
3184
|
-
),
|
|
3187
|
+
}(Pe)
|
|
3188
|
+
), Ir = (
|
|
3185
3189
|
/** @class */
|
|
3186
3190
|
function(e) {
|
|
3187
|
-
|
|
3191
|
+
Oe(t, e);
|
|
3188
3192
|
function t(n, r) {
|
|
3189
|
-
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'),
|
|
3193
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), oe.MISSING_VALUE, r) || this;
|
|
3190
3194
|
}
|
|
3191
3195
|
return t;
|
|
3192
|
-
}(
|
|
3196
|
+
}(Pe)
|
|
3193
3197
|
), A;
|
|
3194
3198
|
(function(e) {
|
|
3195
3199
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3196
3200
|
})(A || (A = {}));
|
|
3197
|
-
function
|
|
3201
|
+
function $r(e) {
|
|
3198
3202
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3199
3203
|
var r = t[t.length - 1];
|
|
3200
3204
|
return !r || r.type !== A.literal || n.type !== A.literal ? t.push(n) : r.value += n.value, t;
|
|
3201
3205
|
}, []);
|
|
3202
3206
|
}
|
|
3203
|
-
function
|
|
3207
|
+
function Ur(e) {
|
|
3204
3208
|
return typeof e == "function";
|
|
3205
3209
|
}
|
|
3206
|
-
function
|
|
3210
|
+
function Se(e, t, n, r, i, s, l) {
|
|
3207
3211
|
if (e.length === 1 && ft(e[0]))
|
|
3208
3212
|
return [
|
|
3209
3213
|
{
|
|
@@ -3211,17 +3215,17 @@ function we(e, t, n, r, i, s, u) {
|
|
|
3211
3215
|
value: e[0].value
|
|
3212
3216
|
}
|
|
3213
3217
|
];
|
|
3214
|
-
for (var
|
|
3218
|
+
for (var u = [], c = 0, a = e; c < a.length; c++) {
|
|
3215
3219
|
var o = a[c];
|
|
3216
3220
|
if (ft(o)) {
|
|
3217
|
-
|
|
3221
|
+
u.push({
|
|
3218
3222
|
type: A.literal,
|
|
3219
3223
|
value: o.value
|
|
3220
3224
|
});
|
|
3221
3225
|
continue;
|
|
3222
3226
|
}
|
|
3223
|
-
if (
|
|
3224
|
-
typeof s == "number" &&
|
|
3227
|
+
if (or(o)) {
|
|
3228
|
+
typeof s == "number" && u.push({
|
|
3225
3229
|
type: A.literal,
|
|
3226
3230
|
value: n.getNumberFormat(t).format(s)
|
|
3227
3231
|
});
|
|
@@ -3229,26 +3233,26 @@ function we(e, t, n, r, i, s, u) {
|
|
|
3229
3233
|
}
|
|
3230
3234
|
var h = o.value;
|
|
3231
3235
|
if (!(i && h in i))
|
|
3232
|
-
throw new
|
|
3236
|
+
throw new Ir(h, l);
|
|
3233
3237
|
var f = i[h];
|
|
3234
|
-
if (
|
|
3235
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3238
|
+
if (ar(o)) {
|
|
3239
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3236
3240
|
type: typeof f == "string" ? A.literal : A.object,
|
|
3237
3241
|
value: f
|
|
3238
3242
|
});
|
|
3239
3243
|
continue;
|
|
3240
3244
|
}
|
|
3241
3245
|
if (Vt(o)) {
|
|
3242
|
-
var m = typeof o.style == "string" ? r.date[o.style] :
|
|
3243
|
-
|
|
3246
|
+
var m = typeof o.style == "string" ? r.date[o.style] : qe(o.style) ? o.style.parsedOptions : void 0;
|
|
3247
|
+
u.push({
|
|
3244
3248
|
type: A.literal,
|
|
3245
3249
|
value: n.getDateTimeFormat(t, m).format(f)
|
|
3246
3250
|
});
|
|
3247
3251
|
continue;
|
|
3248
3252
|
}
|
|
3249
3253
|
if (zt(o)) {
|
|
3250
|
-
var m = typeof o.style == "string" ? r.time[o.style] :
|
|
3251
|
-
|
|
3254
|
+
var m = typeof o.style == "string" ? r.time[o.style] : qe(o.style) ? o.style.parsedOptions : r.time.medium;
|
|
3255
|
+
u.push({
|
|
3252
3256
|
type: A.literal,
|
|
3253
3257
|
value: n.getDateTimeFormat(t, m).format(f)
|
|
3254
3258
|
});
|
|
@@ -3256,20 +3260,20 @@ function we(e, t, n, r, i, s, u) {
|
|
|
3256
3260
|
}
|
|
3257
3261
|
if (jt(o)) {
|
|
3258
3262
|
var m = typeof o.style == "string" ? r.number[o.style] : qt(o.style) ? o.style.parsedOptions : void 0;
|
|
3259
|
-
m && m.scale && (f = f * (m.scale || 1)),
|
|
3263
|
+
m && m.scale && (f = f * (m.scale || 1)), u.push({
|
|
3260
3264
|
type: A.literal,
|
|
3261
3265
|
value: n.getNumberFormat(t, m).format(f)
|
|
3262
3266
|
});
|
|
3263
3267
|
continue;
|
|
3264
3268
|
}
|
|
3265
3269
|
if (Wt(o)) {
|
|
3266
|
-
var g = o.children,
|
|
3267
|
-
if (
|
|
3268
|
-
throw new
|
|
3269
|
-
var S =
|
|
3270
|
+
var g = o.children, E = o.value, H = i[E];
|
|
3271
|
+
if (!Ur(H))
|
|
3272
|
+
throw new kr(E, "function", l);
|
|
3273
|
+
var S = Se(g, t, n, r, i, s), B = H(S.map(function(M) {
|
|
3270
3274
|
return M.value;
|
|
3271
3275
|
}));
|
|
3272
|
-
Array.isArray(B) || (B = [B]),
|
|
3276
|
+
Array.isArray(B) || (B = [B]), u.push.apply(u, B.map(function(M) {
|
|
3273
3277
|
return {
|
|
3274
3278
|
type: typeof M == "string" ? A.literal : A.object,
|
|
3275
3279
|
value: M
|
|
@@ -3277,41 +3281,41 @@ function we(e, t, n, r, i, s, u) {
|
|
|
3277
3281
|
}));
|
|
3278
3282
|
}
|
|
3279
3283
|
if (Zt(o)) {
|
|
3280
|
-
var
|
|
3281
|
-
if (!
|
|
3282
|
-
throw new vt(o.value, f, Object.keys(o.options),
|
|
3283
|
-
|
|
3284
|
+
var T = o.options[f] || o.options.other;
|
|
3285
|
+
if (!T)
|
|
3286
|
+
throw new vt(o.value, f, Object.keys(o.options), l);
|
|
3287
|
+
u.push.apply(u, Se(T.value, t, n, r, i));
|
|
3284
3288
|
continue;
|
|
3285
3289
|
}
|
|
3286
3290
|
if (Xt(o)) {
|
|
3287
|
-
var
|
|
3288
|
-
if (!
|
|
3291
|
+
var T = o.options["=".concat(f)];
|
|
3292
|
+
if (!T) {
|
|
3289
3293
|
if (!Intl.PluralRules)
|
|
3290
|
-
throw new
|
|
3294
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
|
3291
3295
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3292
|
-
`,
|
|
3296
|
+
`, oe.MISSING_INTL_API, l);
|
|
3293
3297
|
var G = n.getPluralRules(t, { type: o.pluralType }).select(f - (o.offset || 0));
|
|
3294
|
-
|
|
3298
|
+
T = o.options[G] || o.options.other;
|
|
3295
3299
|
}
|
|
3296
|
-
if (!
|
|
3297
|
-
throw new vt(o.value, f, Object.keys(o.options),
|
|
3298
|
-
|
|
3300
|
+
if (!T)
|
|
3301
|
+
throw new vt(o.value, f, Object.keys(o.options), l);
|
|
3302
|
+
u.push.apply(u, Se(T.value, t, n, r, i, f - (o.offset || 0)));
|
|
3299
3303
|
continue;
|
|
3300
3304
|
}
|
|
3301
3305
|
}
|
|
3302
|
-
return
|
|
3306
|
+
return $r(u);
|
|
3303
3307
|
}
|
|
3304
|
-
function
|
|
3305
|
-
return t ?
|
|
3306
|
-
return n[r] =
|
|
3308
|
+
function Dr(e, t) {
|
|
3309
|
+
return t ? X(X(X({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3310
|
+
return n[r] = X(X({}, e[r]), t[r] || {}), n;
|
|
3307
3311
|
}, {})) : e;
|
|
3308
3312
|
}
|
|
3309
|
-
function
|
|
3313
|
+
function Gr(e, t) {
|
|
3310
3314
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3311
|
-
return n[r] =
|
|
3312
|
-
},
|
|
3315
|
+
return n[r] = Dr(e[r], t[r]), n;
|
|
3316
|
+
}, X({}, e)) : e;
|
|
3313
3317
|
}
|
|
3314
|
-
function
|
|
3318
|
+
function je(e) {
|
|
3315
3319
|
return {
|
|
3316
3320
|
create: function() {
|
|
3317
3321
|
return {
|
|
@@ -3325,39 +3329,39 @@ function Ge(e) {
|
|
|
3325
3329
|
}
|
|
3326
3330
|
};
|
|
3327
3331
|
}
|
|
3328
|
-
function
|
|
3332
|
+
function Fr(e) {
|
|
3329
3333
|
return e === void 0 && (e = {
|
|
3330
3334
|
number: {},
|
|
3331
3335
|
dateTime: {},
|
|
3332
3336
|
pluralRules: {}
|
|
3333
3337
|
}), {
|
|
3334
|
-
getNumberFormat:
|
|
3338
|
+
getNumberFormat: De(function() {
|
|
3335
3339
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3336
3340
|
n[r] = arguments[r];
|
|
3337
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3341
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], n, !1)))();
|
|
3338
3342
|
}, {
|
|
3339
|
-
cache:
|
|
3340
|
-
strategy:
|
|
3343
|
+
cache: je(e.number),
|
|
3344
|
+
strategy: Ge.variadic
|
|
3341
3345
|
}),
|
|
3342
|
-
getDateTimeFormat:
|
|
3346
|
+
getDateTimeFormat: De(function() {
|
|
3343
3347
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3344
3348
|
n[r] = arguments[r];
|
|
3345
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3349
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], n, !1)))();
|
|
3346
3350
|
}, {
|
|
3347
|
-
cache:
|
|
3348
|
-
strategy:
|
|
3351
|
+
cache: je(e.dateTime),
|
|
3352
|
+
strategy: Ge.variadic
|
|
3349
3353
|
}),
|
|
3350
|
-
getPluralRules:
|
|
3354
|
+
getPluralRules: De(function() {
|
|
3351
3355
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3352
3356
|
n[r] = arguments[r];
|
|
3353
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3357
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], n, !1)))();
|
|
3354
3358
|
}, {
|
|
3355
|
-
cache:
|
|
3356
|
-
strategy:
|
|
3359
|
+
cache: je(e.pluralRules),
|
|
3360
|
+
strategy: Ge.variadic
|
|
3357
3361
|
})
|
|
3358
3362
|
};
|
|
3359
3363
|
}
|
|
3360
|
-
var
|
|
3364
|
+
var jr = (
|
|
3361
3365
|
/** @class */
|
|
3362
3366
|
function() {
|
|
3363
3367
|
function e(t, n, r, i) {
|
|
@@ -3376,7 +3380,7 @@ var Fr = (
|
|
|
3376
3380
|
}, []);
|
|
3377
3381
|
return o.length <= 1 ? o[0] || "" : o;
|
|
3378
3382
|
}, this.formatToParts = function(c) {
|
|
3379
|
-
return
|
|
3383
|
+
return Se(s.ast, s.locales, s.formatters, s.formats, c, void 0, s.message);
|
|
3380
3384
|
}, this.resolvedOptions = function() {
|
|
3381
3385
|
var c;
|
|
3382
3386
|
return {
|
|
@@ -3387,15 +3391,15 @@ var Fr = (
|
|
|
3387
3391
|
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
3388
3392
|
if (this.message = t, !e.__parse)
|
|
3389
3393
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3390
|
-
var
|
|
3391
|
-
|
|
3392
|
-
var
|
|
3393
|
-
this.ast = e.__parse(t,
|
|
3394
|
+
var l = i || {};
|
|
3395
|
+
l.formatters;
|
|
3396
|
+
var u = Yn(l, ["formatters"]);
|
|
3397
|
+
this.ast = e.__parse(t, X(X({}, u), { locale: this.resolvedLocale }));
|
|
3394
3398
|
} else
|
|
3395
3399
|
this.ast = t;
|
|
3396
3400
|
if (!Array.isArray(this.ast))
|
|
3397
3401
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3398
|
-
this.formats =
|
|
3402
|
+
this.formats = Gr(e.formats, r), this.formatters = i && i.formatters || Fr(this.formatterCache);
|
|
3399
3403
|
}
|
|
3400
3404
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3401
3405
|
get: function() {
|
|
@@ -3408,7 +3412,7 @@ var Fr = (
|
|
|
3408
3412
|
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3409
3413
|
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3410
3414
|
}
|
|
3411
|
-
}, e.__parse =
|
|
3415
|
+
}, e.__parse = Nr, e.formats = {
|
|
3412
3416
|
number: {
|
|
3413
3417
|
integer: {
|
|
3414
3418
|
maximumFractionDigits: 0
|
|
@@ -3469,7 +3473,7 @@ var Fr = (
|
|
|
3469
3473
|
}, e;
|
|
3470
3474
|
}()
|
|
3471
3475
|
);
|
|
3472
|
-
function
|
|
3476
|
+
function Vr(e, t) {
|
|
3473
3477
|
if (t == null)
|
|
3474
3478
|
return;
|
|
3475
3479
|
if (t in e)
|
|
@@ -3490,36 +3494,36 @@ function jr(e, t) {
|
|
|
3490
3494
|
r = void 0;
|
|
3491
3495
|
return r;
|
|
3492
3496
|
}
|
|
3493
|
-
const
|
|
3497
|
+
const q = {}, zr = (e, t, n) => n && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = n), n), rn = (e, t) => {
|
|
3494
3498
|
if (t == null)
|
|
3495
3499
|
return;
|
|
3496
|
-
if (t in
|
|
3497
|
-
return
|
|
3498
|
-
const n =
|
|
3500
|
+
if (t in q && e in q[t])
|
|
3501
|
+
return q[t][e];
|
|
3502
|
+
const n = Ne(t);
|
|
3499
3503
|
for (let r = 0; r < n.length; r++) {
|
|
3500
|
-
const i = n[r], s =
|
|
3504
|
+
const i = n[r], s = Xr(i, e);
|
|
3501
3505
|
if (s)
|
|
3502
|
-
return
|
|
3506
|
+
return zr(e, t, s);
|
|
3503
3507
|
}
|
|
3504
3508
|
};
|
|
3505
3509
|
let it;
|
|
3506
|
-
const
|
|
3507
|
-
function
|
|
3510
|
+
const he = Ae({});
|
|
3511
|
+
function Zr(e) {
|
|
3508
3512
|
return it[e] || null;
|
|
3509
3513
|
}
|
|
3510
3514
|
function sn(e) {
|
|
3511
3515
|
return e in it;
|
|
3512
3516
|
}
|
|
3513
|
-
function
|
|
3517
|
+
function Xr(e, t) {
|
|
3514
3518
|
if (!sn(e))
|
|
3515
3519
|
return null;
|
|
3516
|
-
const n =
|
|
3517
|
-
return
|
|
3520
|
+
const n = Zr(e);
|
|
3521
|
+
return Vr(n, t);
|
|
3518
3522
|
}
|
|
3519
|
-
function
|
|
3523
|
+
function Wr(e) {
|
|
3520
3524
|
if (e == null)
|
|
3521
3525
|
return;
|
|
3522
|
-
const t =
|
|
3526
|
+
const t = Ne(e);
|
|
3523
3527
|
for (let n = 0; n < t.length; n++) {
|
|
3524
3528
|
const r = t[n];
|
|
3525
3529
|
if (sn(r))
|
|
@@ -3527,55 +3531,55 @@ function Xr(e) {
|
|
|
3527
3531
|
}
|
|
3528
3532
|
}
|
|
3529
3533
|
function an(e, ...t) {
|
|
3530
|
-
delete
|
|
3534
|
+
delete q[e], he.update((n) => (n[e] = Jn.all([n[e] || {}, ...t]), n));
|
|
3531
3535
|
}
|
|
3532
3536
|
le(
|
|
3533
|
-
[
|
|
3537
|
+
[he],
|
|
3534
3538
|
([e]) => Object.keys(e)
|
|
3535
3539
|
);
|
|
3536
|
-
|
|
3537
|
-
const
|
|
3538
|
-
function
|
|
3539
|
-
|
|
3540
|
+
he.subscribe((e) => it = e);
|
|
3541
|
+
const Be = {};
|
|
3542
|
+
function qr(e, t) {
|
|
3543
|
+
Be[e].delete(t), Be[e].size === 0 && delete Be[e];
|
|
3540
3544
|
}
|
|
3541
3545
|
function on(e) {
|
|
3542
|
-
return
|
|
3546
|
+
return Be[e];
|
|
3543
3547
|
}
|
|
3544
|
-
function
|
|
3545
|
-
return
|
|
3548
|
+
function Qr(e) {
|
|
3549
|
+
return Ne(e).map((t) => {
|
|
3546
3550
|
const n = on(t);
|
|
3547
3551
|
return [t, n ? [...n] : []];
|
|
3548
3552
|
}).filter(([, t]) => t.length > 0);
|
|
3549
3553
|
}
|
|
3550
|
-
function
|
|
3551
|
-
return e == null ? !1 :
|
|
3554
|
+
function tt(e) {
|
|
3555
|
+
return e == null ? !1 : Ne(e).some(
|
|
3552
3556
|
(t) => {
|
|
3553
3557
|
var n;
|
|
3554
3558
|
return (n = on(t)) == null ? void 0 : n.size;
|
|
3555
3559
|
}
|
|
3556
3560
|
);
|
|
3557
3561
|
}
|
|
3558
|
-
function
|
|
3562
|
+
function Jr(e, t) {
|
|
3559
3563
|
return Promise.all(
|
|
3560
|
-
t.map((r) => (
|
|
3564
|
+
t.map((r) => (qr(e, r), r().then((i) => i.default || i)))
|
|
3561
3565
|
).then((r) => an(e, ...r));
|
|
3562
3566
|
}
|
|
3563
|
-
const
|
|
3564
|
-
function
|
|
3565
|
-
if (!
|
|
3566
|
-
return e in
|
|
3567
|
-
const t =
|
|
3568
|
-
return
|
|
3567
|
+
const de = {};
|
|
3568
|
+
function un(e) {
|
|
3569
|
+
if (!tt(e))
|
|
3570
|
+
return e in de ? de[e] : Promise.resolve();
|
|
3571
|
+
const t = Qr(e);
|
|
3572
|
+
return de[e] = Promise.all(
|
|
3569
3573
|
t.map(
|
|
3570
|
-
([n, r]) =>
|
|
3574
|
+
([n, r]) => Jr(n, r)
|
|
3571
3575
|
)
|
|
3572
3576
|
).then(() => {
|
|
3573
|
-
if (
|
|
3574
|
-
return
|
|
3575
|
-
delete
|
|
3576
|
-
}),
|
|
3577
|
+
if (tt(e))
|
|
3578
|
+
return un(e);
|
|
3579
|
+
delete de[e];
|
|
3580
|
+
}), de[e];
|
|
3577
3581
|
}
|
|
3578
|
-
const
|
|
3582
|
+
const Yr = {
|
|
3579
3583
|
number: {
|
|
3580
3584
|
scientific: { notation: "scientific" },
|
|
3581
3585
|
engineering: { notation: "engineering" },
|
|
@@ -3604,159 +3608,159 @@ const Jr = {
|
|
|
3604
3608
|
timeZoneName: "short"
|
|
3605
3609
|
}
|
|
3606
3610
|
}
|
|
3607
|
-
},
|
|
3611
|
+
}, Kr = {
|
|
3608
3612
|
fallbackLocale: null,
|
|
3609
3613
|
loadingDelay: 200,
|
|
3610
|
-
formats:
|
|
3614
|
+
formats: Yr,
|
|
3611
3615
|
warnOnMissingMessages: !0,
|
|
3612
3616
|
handleMissingMessage: void 0,
|
|
3613
3617
|
ignoreTag: !0
|
|
3614
|
-
},
|
|
3615
|
-
function
|
|
3616
|
-
return
|
|
3618
|
+
}, ei = Kr;
|
|
3619
|
+
function ue() {
|
|
3620
|
+
return ei;
|
|
3617
3621
|
}
|
|
3618
|
-
const
|
|
3619
|
-
var
|
|
3622
|
+
const Ve = Ae(!1);
|
|
3623
|
+
var ti = Object.defineProperty, ni = Object.defineProperties, ri = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, Et = (e, t, n) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ai = (e, t) => {
|
|
3620
3624
|
for (var n in t || (t = {}))
|
|
3621
|
-
|
|
3625
|
+
ii.call(t, n) && Et(e, n, t[n]);
|
|
3622
3626
|
if (xt)
|
|
3623
3627
|
for (var n of xt(t))
|
|
3624
|
-
|
|
3628
|
+
si.call(t, n) && Et(e, n, t[n]);
|
|
3625
3629
|
return e;
|
|
3626
|
-
},
|
|
3627
|
-
let
|
|
3628
|
-
const
|
|
3630
|
+
}, oi = (e, t) => ni(e, ri(t));
|
|
3631
|
+
let nt;
|
|
3632
|
+
const Re = Ae(null);
|
|
3629
3633
|
function Ct(e) {
|
|
3630
3634
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3631
3635
|
}
|
|
3632
|
-
function
|
|
3636
|
+
function Ne(e, t = ue().fallbackLocale) {
|
|
3633
3637
|
const n = Ct(e);
|
|
3634
3638
|
return t ? [.../* @__PURE__ */ new Set([...n, ...Ct(t)])] : n;
|
|
3635
3639
|
}
|
|
3636
|
-
function
|
|
3637
|
-
return
|
|
3640
|
+
function K() {
|
|
3641
|
+
return nt ?? void 0;
|
|
3638
3642
|
}
|
|
3639
|
-
|
|
3640
|
-
|
|
3643
|
+
Re.subscribe((e) => {
|
|
3644
|
+
nt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3641
3645
|
});
|
|
3642
|
-
const
|
|
3643
|
-
if (e &&
|
|
3644
|
-
const { loadingDelay: t } =
|
|
3646
|
+
const ui = (e) => {
|
|
3647
|
+
if (e && Wr(e) && tt(e)) {
|
|
3648
|
+
const { loadingDelay: t } = ue();
|
|
3645
3649
|
let n;
|
|
3646
|
-
return typeof window < "u" &&
|
|
3647
|
-
() =>
|
|
3650
|
+
return typeof window < "u" && K() != null && t ? n = window.setTimeout(
|
|
3651
|
+
() => Ve.set(!0),
|
|
3648
3652
|
t
|
|
3649
|
-
) :
|
|
3650
|
-
|
|
3653
|
+
) : Ve.set(!0), un(e).then(() => {
|
|
3654
|
+
Re.set(e);
|
|
3651
3655
|
}).finally(() => {
|
|
3652
|
-
clearTimeout(n),
|
|
3656
|
+
clearTimeout(n), Ve.set(!1);
|
|
3653
3657
|
});
|
|
3654
3658
|
}
|
|
3655
|
-
return
|
|
3656
|
-
},
|
|
3657
|
-
set:
|
|
3658
|
-
}),
|
|
3659
|
+
return Re.set(e);
|
|
3660
|
+
}, J = oi(ai({}, Re), {
|
|
3661
|
+
set: ui
|
|
3662
|
+
}), ke = (e) => {
|
|
3659
3663
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3660
3664
|
return (r) => {
|
|
3661
3665
|
const i = JSON.stringify(r);
|
|
3662
3666
|
return i in t ? t[i] : t[i] = e(r);
|
|
3663
3667
|
};
|
|
3664
3668
|
};
|
|
3665
|
-
var li = Object.defineProperty,
|
|
3669
|
+
var li = Object.defineProperty, Le = Object.getOwnPropertySymbols, ln = Object.prototype.hasOwnProperty, hn = Object.prototype.propertyIsEnumerable, _t = (e, t, n) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, st = (e, t) => {
|
|
3666
3670
|
for (var n in t || (t = {}))
|
|
3667
|
-
|
|
3668
|
-
if (
|
|
3669
|
-
for (var n of
|
|
3671
|
+
ln.call(t, n) && _t(e, n, t[n]);
|
|
3672
|
+
if (Le)
|
|
3673
|
+
for (var n of Le(t))
|
|
3670
3674
|
hn.call(t, n) && _t(e, n, t[n]);
|
|
3671
3675
|
return e;
|
|
3672
|
-
},
|
|
3676
|
+
}, ce = (e, t) => {
|
|
3673
3677
|
var n = {};
|
|
3674
3678
|
for (var r in e)
|
|
3675
|
-
|
|
3676
|
-
if (e != null &&
|
|
3677
|
-
for (var r of
|
|
3679
|
+
ln.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3680
|
+
if (e != null && Le)
|
|
3681
|
+
for (var r of Le(e))
|
|
3678
3682
|
t.indexOf(r) < 0 && hn.call(e, r) && (n[r] = e[r]);
|
|
3679
3683
|
return n;
|
|
3680
3684
|
};
|
|
3681
|
-
const
|
|
3682
|
-
const { formats: n } =
|
|
3685
|
+
const ye = (e, t) => {
|
|
3686
|
+
const { formats: n } = ue();
|
|
3683
3687
|
if (e in n && t in n[e])
|
|
3684
3688
|
return n[e][t];
|
|
3685
3689
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3686
|
-
},
|
|
3690
|
+
}, hi = ke(
|
|
3687
3691
|
(e) => {
|
|
3688
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3692
|
+
var t = e, { locale: n, format: r } = t, i = ce(t, ["locale", "format"]);
|
|
3689
3693
|
if (n == null)
|
|
3690
3694
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3691
|
-
return r && (i =
|
|
3695
|
+
return r && (i = ye("number", r)), new Intl.NumberFormat(n, i);
|
|
3692
3696
|
}
|
|
3693
|
-
),
|
|
3697
|
+
), ci = ke(
|
|
3694
3698
|
(e) => {
|
|
3695
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3699
|
+
var t = e, { locale: n, format: r } = t, i = ce(t, ["locale", "format"]);
|
|
3696
3700
|
if (n == null)
|
|
3697
3701
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3698
|
-
return r ? i =
|
|
3702
|
+
return r ? i = ye("date", r) : Object.keys(i).length === 0 && (i = ye("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3699
3703
|
}
|
|
3700
|
-
),
|
|
3704
|
+
), fi = ke(
|
|
3701
3705
|
(e) => {
|
|
3702
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3706
|
+
var t = e, { locale: n, format: r } = t, i = ce(t, ["locale", "format"]);
|
|
3703
3707
|
if (n == null)
|
|
3704
3708
|
throw new Error(
|
|
3705
3709
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3706
3710
|
);
|
|
3707
|
-
return r ? i =
|
|
3711
|
+
return r ? i = ye("time", r) : Object.keys(i).length === 0 && (i = ye("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3708
3712
|
}
|
|
3709
|
-
),
|
|
3710
|
-
var t = e, {
|
|
3711
|
-
locale: n = Y()
|
|
3712
|
-
} = t, r = he(t, [
|
|
3713
|
-
"locale"
|
|
3714
|
-
]);
|
|
3715
|
-
return ui(st({ locale: n }, r));
|
|
3716
|
-
}, mi = (e = {}) => {
|
|
3713
|
+
), mi = (e = {}) => {
|
|
3717
3714
|
var t = e, {
|
|
3718
|
-
locale: n =
|
|
3719
|
-
} = t, r =
|
|
3715
|
+
locale: n = K()
|
|
3716
|
+
} = t, r = ce(t, [
|
|
3720
3717
|
"locale"
|
|
3721
3718
|
]);
|
|
3722
3719
|
return hi(st({ locale: n }, r));
|
|
3723
3720
|
}, di = (e = {}) => {
|
|
3724
3721
|
var t = e, {
|
|
3725
|
-
locale: n =
|
|
3726
|
-
} = t, r =
|
|
3722
|
+
locale: n = K()
|
|
3723
|
+
} = t, r = ce(t, [
|
|
3727
3724
|
"locale"
|
|
3728
3725
|
]);
|
|
3729
3726
|
return ci(st({ locale: n }, r));
|
|
3730
|
-
}, pi =
|
|
3727
|
+
}, pi = (e = {}) => {
|
|
3728
|
+
var t = e, {
|
|
3729
|
+
locale: n = K()
|
|
3730
|
+
} = t, r = ce(t, [
|
|
3731
|
+
"locale"
|
|
3732
|
+
]);
|
|
3733
|
+
return fi(st({ locale: n }, r));
|
|
3734
|
+
}, bi = ke(
|
|
3731
3735
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3732
|
-
(e, t =
|
|
3733
|
-
ignoreTag:
|
|
3736
|
+
(e, t = K()) => new jr(e, t, ue().formats, {
|
|
3737
|
+
ignoreTag: ue().ignoreTag
|
|
3734
3738
|
})
|
|
3735
|
-
),
|
|
3739
|
+
), gi = (e, t = {}) => {
|
|
3736
3740
|
var n, r, i, s;
|
|
3737
|
-
let
|
|
3738
|
-
typeof e == "object" && (
|
|
3741
|
+
let l = t;
|
|
3742
|
+
typeof e == "object" && (l = e, e = l.id);
|
|
3739
3743
|
const {
|
|
3740
|
-
values:
|
|
3741
|
-
locale: c =
|
|
3744
|
+
values: u,
|
|
3745
|
+
locale: c = K(),
|
|
3742
3746
|
default: a
|
|
3743
|
-
} =
|
|
3747
|
+
} = l;
|
|
3744
3748
|
if (c == null)
|
|
3745
3749
|
throw new Error(
|
|
3746
3750
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3747
3751
|
);
|
|
3748
3752
|
let o = rn(e, c);
|
|
3749
3753
|
if (!o)
|
|
3750
|
-
o = (s = (i = (r = (n =
|
|
3754
|
+
o = (s = (i = (r = (n = ue()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3751
3755
|
else if (typeof o != "string")
|
|
3752
3756
|
return console.warn(
|
|
3753
3757
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3754
3758
|
), o;
|
|
3755
|
-
if (!
|
|
3759
|
+
if (!u)
|
|
3756
3760
|
return o;
|
|
3757
3761
|
let h = o;
|
|
3758
3762
|
try {
|
|
3759
|
-
h =
|
|
3763
|
+
h = bi(o, c).format(u);
|
|
3760
3764
|
} catch (f) {
|
|
3761
3765
|
f instanceof Error && console.warn(
|
|
3762
3766
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3764,21 +3768,21 @@ const ge = (e, t) => {
|
|
|
3764
3768
|
);
|
|
3765
3769
|
}
|
|
3766
3770
|
return h;
|
|
3767
|
-
},
|
|
3768
|
-
le([
|
|
3769
|
-
le([
|
|
3770
|
-
le([
|
|
3771
|
-
le([
|
|
3772
|
-
function
|
|
3773
|
-
|
|
3774
|
-
n == null && (
|
|
3771
|
+
}, yi = (e, t) => pi(t).format(e), vi = (e, t) => di(t).format(e), xi = (e, t) => mi(t).format(e), Ei = (e, t = K()) => rn(e, t), Ci = le([J, he], () => gi);
|
|
3772
|
+
le([J], () => yi);
|
|
3773
|
+
le([J], () => vi);
|
|
3774
|
+
le([J], () => xi);
|
|
3775
|
+
le([J, he], () => Ei);
|
|
3776
|
+
function _i({ withLocale: e, translations: t }) {
|
|
3777
|
+
J.subscribe((n) => {
|
|
3778
|
+
n == null && (he.set(t), J.set(e));
|
|
3775
3779
|
});
|
|
3776
3780
|
}
|
|
3777
3781
|
function Tt(e, t) {
|
|
3778
3782
|
an(e, t);
|
|
3779
3783
|
}
|
|
3780
|
-
function
|
|
3781
|
-
|
|
3784
|
+
function Ti(e) {
|
|
3785
|
+
J.set(e);
|
|
3782
3786
|
}
|
|
3783
3787
|
const wt = {
|
|
3784
3788
|
en: {
|
|
@@ -3896,13 +3900,13 @@ const wt = {
|
|
|
3896
3900
|
productMaxBet: "Para {productName}, o valor máximo da aposta aceita é {maxBet}."
|
|
3897
3901
|
}
|
|
3898
3902
|
};
|
|
3899
|
-
function
|
|
3903
|
+
function wi(e, t) {
|
|
3900
3904
|
if (e) {
|
|
3901
3905
|
const n = document.createElement("style");
|
|
3902
3906
|
n.innerHTML = t, e.appendChild(n);
|
|
3903
3907
|
}
|
|
3904
3908
|
}
|
|
3905
|
-
function
|
|
3909
|
+
function Si(e, t) {
|
|
3906
3910
|
if (!e || !t)
|
|
3907
3911
|
return;
|
|
3908
3912
|
const n = new URL(t);
|
|
@@ -3913,7 +3917,7 @@ function wi(e, t) {
|
|
|
3913
3917
|
console.error("There was an error while trying to load client styling from URL", r);
|
|
3914
3918
|
});
|
|
3915
3919
|
}
|
|
3916
|
-
function
|
|
3920
|
+
function Bi(e, t, n) {
|
|
3917
3921
|
if (window.emMessageBus) {
|
|
3918
3922
|
const r = document.createElement("style");
|
|
3919
3923
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3921,7 +3925,7 @@ function Si(e, t, n) {
|
|
|
3921
3925
|
});
|
|
3922
3926
|
}
|
|
3923
3927
|
}
|
|
3924
|
-
const Bi = "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", Hi = "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", Mi = "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", Ri = "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", Li = "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", Ai = "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";
|
|
3928
|
+
const Hi = "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", Mi = "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", Ri = "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", Li = "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", Ai = "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", Oi = "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";
|
|
3925
3929
|
class St {
|
|
3926
3930
|
constructor() {
|
|
3927
3931
|
}
|
|
@@ -3932,12 +3936,12 @@ class St {
|
|
|
3932
3936
|
};
|
|
3933
3937
|
}
|
|
3934
3938
|
static generateCasinoRule(t, n) {
|
|
3935
|
-
const r = ` ~ ${t("unlimited")}`, i = n.currency || "EUR", s = n.minStake?.amount[i] ? `: ${n.minStake.amount[i]} ${i}` : r,
|
|
3936
|
-
return t("casinoRuleMinMaxBet", { values: { minBet: s, maxBet:
|
|
3939
|
+
const r = ` ~ ${t("unlimited")}`, i = n.currency || "EUR", s = n.minStake?.amount[i] ? `: ${n.minStake.amount[i]} ${i}` : r, l = n.maxStake?.amount[i] ? `: ${n.maxStake.amount[i]} ${i}` : r;
|
|
3940
|
+
return t("casinoRuleMinMaxBet", { values: { minBet: s, maxBet: l } });
|
|
3937
3941
|
}
|
|
3938
3942
|
static generateSportsRule(t, n) {
|
|
3939
|
-
const r = [], i = ` ~ ${t("unlimited")}`, s = n.currency || "EUR",
|
|
3940
|
-
r.push(t("sportsRuleMinMaxBet", { values: { sportMinBet:
|
|
3943
|
+
const r = [], i = ` ~ ${t("unlimited")}`, s = n.currency || "EUR", l = n.minStake?.amount[s] ? `: ${n.minStake.amount[s]} ${s}` : i, u = n.maxStake?.amount[s] ? `: ${n.maxStake.amount[s]} ${s}` : i;
|
|
3944
|
+
r.push(t("sportsRuleMinMaxBet", { values: { sportMinBet: l, sportMaxBet: u } }));
|
|
3941
3945
|
const c = n.config.liveMatch === "true", a = n.config.preLiveMatch === "true";
|
|
3942
3946
|
c && a ? r.push(t("matchTypePreAndLive")) : c ? r.push(`${t("matchTypeLive")}`) : a && r.push(`${t("matchTyppePre")}`);
|
|
3943
3947
|
const o = n.combination, h = [];
|
|
@@ -3951,22 +3955,22 @@ class St {
|
|
|
3951
3955
|
all: t("betBuilderOnly"),
|
|
3952
3956
|
none: t("notBuilderOnly")
|
|
3953
3957
|
};
|
|
3954
|
-
let
|
|
3955
|
-
const S = `${t("oddsPerSelection")}: ${n.config.minOdds || t("unlimited")} - ${n.config.maxOdds || t("unlimited")}`, B = o.system.isEligible,
|
|
3956
|
-
B && (
|
|
3958
|
+
let E = "", H = "";
|
|
3959
|
+
const S = `${t("oddsPerSelection")}: ${n.config.minOdds || t("unlimited")} - ${n.config.maxOdds || t("unlimited")}`, B = o.system.isEligible, T = o.multiple.isEligible;
|
|
3960
|
+
B && (E = ` ${t("betTypeSystem")}
|
|
3957
3961
|
( ${t("typeOfSelection")}: ${m[n.combination.system.banker?.include?.toString() || "null"]},
|
|
3958
3962
|
${t("numberOfSelection")}:
|
|
3959
3963
|
${o.system.minSelection?.number || t("unlimited")} - ${o.system.maxSelection?.number || t("unlimited")},
|
|
3960
|
-
${S} ) `),
|
|
3964
|
+
${S} ) `), T && (H = ` ${t("betTypeMultiple")}
|
|
3961
3965
|
( ${t("typeOfSelection")}: ${g[n.combination.multiple.betBuilder?.mode?.toString() || "unspecific"]},
|
|
3962
3966
|
${t("numberOfSelection")}:
|
|
3963
3967
|
${o.multiple.minSelection?.number || t("unlimited")} - ${o.multiple.maxSelection?.number || t("unlimited")},
|
|
3964
|
-
${S} ) `), B &&
|
|
3968
|
+
${S} ) `), B && T ? h.push(H + t("and") + E) : B ? h.push(E) : T && h.push(H), r.push(h.join(", "));
|
|
3965
3969
|
const G = n.config.minTotalOdds ? `: ${n.config.minTotalOdds}` : i, M = n.config.maxTotalOdds ? `: ${n.config.maxTotalOdds}` : i;
|
|
3966
3970
|
return r.push(`${t("sportsRuleMinMaxOdds", { values: { sportMinOdds: G, sportMaxOdds: M } })}`), r;
|
|
3967
3971
|
}
|
|
3968
3972
|
}
|
|
3969
|
-
function
|
|
3973
|
+
function Pi(e) {
|
|
3970
3974
|
mn(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}");
|
|
3971
3975
|
}
|
|
3972
3976
|
function Bt(e, t, n) {
|
|
@@ -3980,7 +3984,7 @@ function Ht(e) {
|
|
|
3980
3984
|
), r;
|
|
3981
3985
|
return {
|
|
3982
3986
|
c() {
|
|
3983
|
-
t = new
|
|
3987
|
+
t = new Y(!1), r = xe(), t.a = r;
|
|
3984
3988
|
},
|
|
3985
3989
|
m(i, s) {
|
|
3986
3990
|
t.m(n, i, s), Z(i, r, s);
|
|
@@ -4002,7 +4006,7 @@ function Mt(e) {
|
|
|
4002
4006
|
), r;
|
|
4003
4007
|
return {
|
|
4004
4008
|
c() {
|
|
4005
|
-
t = new
|
|
4009
|
+
t = new Y(!1), r = xe(), t.a = r;
|
|
4006
4010
|
},
|
|
4007
4011
|
m(i, s) {
|
|
4008
4012
|
t.m(n, i, s), Z(i, r, s);
|
|
@@ -4024,7 +4028,7 @@ function Rt(e) {
|
|
|
4024
4028
|
), r;
|
|
4025
4029
|
return {
|
|
4026
4030
|
c() {
|
|
4027
|
-
t = new
|
|
4031
|
+
t = new Y(!1), r = xe(), t.a = r;
|
|
4028
4032
|
},
|
|
4029
4033
|
m(i, s) {
|
|
4030
4034
|
t.m(n, i, s), Z(i, r, s);
|
|
@@ -4051,7 +4055,7 @@ function Lt(e) {
|
|
|
4051
4055
|
), r;
|
|
4052
4056
|
return {
|
|
4053
4057
|
c() {
|
|
4054
|
-
t = new
|
|
4058
|
+
t = new Y(!1), r = xe(), t.a = r;
|
|
4055
4059
|
},
|
|
4056
4060
|
m(i, s) {
|
|
4057
4061
|
t.m(n, i, s), Z(i, r, s);
|
|
@@ -4078,7 +4082,7 @@ function At(e) {
|
|
|
4078
4082
|
), r;
|
|
4079
4083
|
return {
|
|
4080
4084
|
c() {
|
|
4081
|
-
t = new
|
|
4085
|
+
t = new Y(!1), r = xe(), t.a = r;
|
|
4082
4086
|
},
|
|
4083
4087
|
m(i, s) {
|
|
4084
4088
|
t.m(n, i, s), Z(i, r, s);
|
|
@@ -4094,25 +4098,25 @@ function At(e) {
|
|
|
4094
4098
|
};
|
|
4095
4099
|
}
|
|
4096
4100
|
function Ot(e) {
|
|
4097
|
-
let t, n, r, i, s,
|
|
4101
|
+
let t, n, r, i, s, l = (
|
|
4098
4102
|
/*$_*/
|
|
4099
4103
|
e[11]("forCasino") + ""
|
|
4100
|
-
),
|
|
4104
|
+
), u, c;
|
|
4101
4105
|
return {
|
|
4102
4106
|
c() {
|
|
4103
|
-
t =
|
|
4107
|
+
t = C("div"), n = C("div"), n.innerHTML = `<img src="${Ai}"/>`, r = R(), i = C("div"), s = new Y(!1), u = Q(":"), c = Q(
|
|
4104
4108
|
/*casinoRules*/
|
|
4105
4109
|
e[10]
|
|
4106
|
-
), p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a =
|
|
4110
|
+
), p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a = u, p(i, "class", "RuleTxt"), p(i, "part", "RuleTxt"), p(t, "class", "RulesRow"), p(t, "part", "rule");
|
|
4107
4111
|
},
|
|
4108
4112
|
m(a, o) {
|
|
4109
|
-
Z(a, t, o), b(t, n), b(t, r), b(t, i), s.m(
|
|
4113
|
+
Z(a, t, o), b(t, n), b(t, r), b(t, i), s.m(l, i), b(i, u), b(i, c);
|
|
4110
4114
|
},
|
|
4111
4115
|
p(a, o) {
|
|
4112
4116
|
o & /*$_*/
|
|
4113
|
-
2048 &&
|
|
4114
|
-
a[11]("forCasino") + "") && s.p(
|
|
4115
|
-
1024 &&
|
|
4117
|
+
2048 && l !== (l = /*$_*/
|
|
4118
|
+
a[11]("forCasino") + "") && s.p(l), o & /*casinoRules*/
|
|
4119
|
+
1024 && He(
|
|
4116
4120
|
c,
|
|
4117
4121
|
/*casinoRules*/
|
|
4118
4122
|
a[10]
|
|
@@ -4124,10 +4128,10 @@ function Ot(e) {
|
|
|
4124
4128
|
};
|
|
4125
4129
|
}
|
|
4126
4130
|
function Pt(e) {
|
|
4127
|
-
let t, n, r, i, s,
|
|
4131
|
+
let t, n, r, i, s, l = (
|
|
4128
4132
|
/*$_*/
|
|
4129
4133
|
e[11]("forSportsbook") + ""
|
|
4130
|
-
),
|
|
4134
|
+
), u, c, a = ht(
|
|
4131
4135
|
/*sportRules*/
|
|
4132
4136
|
e[9]
|
|
4133
4137
|
), o = [];
|
|
@@ -4135,21 +4139,21 @@ function Pt(e) {
|
|
|
4135
4139
|
o[h] = Nt(Bt(e, a, h));
|
|
4136
4140
|
return {
|
|
4137
4141
|
c() {
|
|
4138
|
-
t =
|
|
4139
|
-
`), c =
|
|
4142
|
+
t = C("div"), n = C("div"), n.innerHTML = `<img src="${Oi}"/>`, r = R(), i = C("div"), s = new Y(!1), u = Q(`:
|
|
4143
|
+
`), c = C("ul");
|
|
4140
4144
|
for (let h = 0; h < o.length; h += 1)
|
|
4141
4145
|
o[h].c();
|
|
4142
|
-
p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a =
|
|
4146
|
+
p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a = u, p(c, "class", "SportsRules"), p(i, "class", "RuleTxt"), p(i, "part", "RuleTxt"), p(t, "class", "RulesRow"), p(t, "part", "rule");
|
|
4143
4147
|
},
|
|
4144
4148
|
m(h, f) {
|
|
4145
|
-
Z(h, t, f), b(t, n), b(t, r), b(t, i), s.m(
|
|
4149
|
+
Z(h, t, f), b(t, n), b(t, r), b(t, i), s.m(l, i), b(i, u), b(i, c);
|
|
4146
4150
|
for (let m = 0; m < o.length; m += 1)
|
|
4147
4151
|
o[m] && o[m].m(c, null);
|
|
4148
4152
|
},
|
|
4149
4153
|
p(h, f) {
|
|
4150
4154
|
if (f & /*$_*/
|
|
4151
|
-
2048 &&
|
|
4152
|
-
h[11]("forSportsbook") + "") && s.p(
|
|
4155
|
+
2048 && l !== (l = /*$_*/
|
|
4156
|
+
h[11]("forSportsbook") + "") && s.p(l), f & /*sportRules*/
|
|
4153
4157
|
512) {
|
|
4154
4158
|
a = ht(
|
|
4155
4159
|
/*sportRules*/
|
|
@@ -4177,7 +4181,7 @@ function Nt(e) {
|
|
|
4177
4181
|
), r;
|
|
4178
4182
|
return {
|
|
4179
4183
|
c() {
|
|
4180
|
-
t =
|
|
4184
|
+
t = C("li"), r = Q(n), p(t, "class", "RuleTxt"), p(t, "part", "RuleTxt");
|
|
4181
4185
|
},
|
|
4182
4186
|
m(i, s) {
|
|
4183
4187
|
Z(i, t, s), b(t, r);
|
|
@@ -4185,15 +4189,15 @@ function Nt(e) {
|
|
|
4185
4189
|
p(i, s) {
|
|
4186
4190
|
s & /*sportRules*/
|
|
4187
4191
|
512 && n !== (n = /*rule*/
|
|
4188
|
-
i[24] + "") &&
|
|
4192
|
+
i[24] + "") && He(r, n);
|
|
4189
4193
|
},
|
|
4190
4194
|
d(i) {
|
|
4191
4195
|
i && V(t);
|
|
4192
4196
|
}
|
|
4193
4197
|
};
|
|
4194
4198
|
}
|
|
4195
|
-
function
|
|
4196
|
-
let t, n, r, i, s,
|
|
4199
|
+
function Ni(e) {
|
|
4200
|
+
let t, n, r, i, s, l, u, c, a, o, h, f, m, g, E = (
|
|
4197
4201
|
/*$_*/
|
|
4198
4202
|
e[11]("miniBetCount", {
|
|
4199
4203
|
values: { betCount: (
|
|
@@ -4201,7 +4205,7 @@ function Pi(e) {
|
|
|
4201
4205
|
e[3]
|
|
4202
4206
|
) }
|
|
4203
4207
|
}) + ""
|
|
4204
|
-
), H, S, B,
|
|
4208
|
+
), H, S, B, T, G, M, F = (
|
|
4205
4209
|
/*$_*/
|
|
4206
4210
|
e[11]("timePeriod", {
|
|
4207
4211
|
values: {
|
|
@@ -4215,13 +4219,13 @@ function Pi(e) {
|
|
|
4215
4219
|
)
|
|
4216
4220
|
}
|
|
4217
4221
|
}) + ""
|
|
4218
|
-
),
|
|
4222
|
+
), W, Ee, d, j, fe, ee, Ce = (
|
|
4219
4223
|
/*$_*/
|
|
4220
4224
|
e[11]("terms", { values: { tcUrl: (
|
|
4221
4225
|
/*tcurl*/
|
|
4222
4226
|
e[6]
|
|
4223
4227
|
) } }) + ""
|
|
4224
|
-
), at,
|
|
4228
|
+
), at, me, _e, ot, Ie, O = (
|
|
4225
4229
|
/*scorecriterial*/
|
|
4226
4230
|
e[2] == "BetCount" && Ht(e)
|
|
4227
4231
|
), P = (
|
|
@@ -4246,28 +4250,28 @@ function Pi(e) {
|
|
|
4246
4250
|
);
|
|
4247
4251
|
return {
|
|
4248
4252
|
c() {
|
|
4249
|
-
t =
|
|
4253
|
+
t = C("div"), n = C("div"), r = C("div"), r.innerHTML = `<img src="${Hi}"/>`, i = R(), s = C("div"), O && O.c(), l = R(), P && P.c(), u = R(), N && N.c(), c = R(), k && k.c(), a = R(), I && I.c(), o = R(), h = C("div"), f = C("div"), f.innerHTML = `<img src="${Mi}"/>`, m = R(), g = C("div"), H = Q(E), S = R(), B = C("div"), T = C("div"), T.innerHTML = `<img src="${Ri}"/>`, G = R(), M = C("div"), W = Q(F), Ee = R(), d = C("div"), j = C("div"), j.innerHTML = `<img src="${Li}"/>`, fe = R(), ee = C("div"), at = R(), me = C("span"), ot = R(), $ && $.c(), Ie = R(), U && U.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(h, "class", "RulesRow"), p(h, "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(j, "class", "RuleIcon"), p(j, "part", "RuleIcon"), p(ee, "class", "RuleTxt"), p(ee, "part", "RuleTxt"), p(d, "class", "RulesRow"), p(d, "part", "rule"), p(me, "type", "hidden"), p(me, "href", _e = { tcurl: (
|
|
4250
4254
|
/*tcurl*/
|
|
4251
4255
|
e[6]
|
|
4252
4256
|
) }), p(t, "class", "casino-tournaments-thumbnail-rule"), p(t, "part", "casino-tournaments-thumbnail-rule");
|
|
4253
4257
|
},
|
|
4254
4258
|
m(v, D) {
|
|
4255
|
-
Z(v, t, D), b(t, n), b(n, r), b(n, i), b(n, s), O && O.m(s, null), b(s,
|
|
4259
|
+
Z(v, t, D), b(t, n), b(n, r), b(n, i), b(n, s), O && O.m(s, null), b(s, l), P && P.m(s, null), b(s, u), N && N.m(s, null), b(s, c), k && k.m(s, null), b(s, a), I && I.m(s, null), b(t, o), b(t, h), b(h, f), b(h, m), b(h, g), b(g, H), b(t, S), b(t, B), b(B, T), b(B, G), b(B, M), b(M, W), b(t, Ee), b(t, d), b(d, j), b(d, fe), b(d, ee), ee.innerHTML = Ce, b(t, at), b(t, me), b(t, ot), $ && $.m(t, null), b(t, Ie), U && U.m(t, null), e[17](t);
|
|
4256
4260
|
},
|
|
4257
4261
|
p(v, [D]) {
|
|
4258
4262
|
/*scorecriterial*/
|
|
4259
|
-
v[2] == "BetCount" ? O ? O.p(v, D) : (O = Ht(v), O.c(), O.m(s,
|
|
4260
|
-
v[2] == "WinStakeRatio" ? P ? P.p(v, D) : (P = Mt(v), P.c(), P.m(s,
|
|
4263
|
+
v[2] == "BetCount" ? O ? O.p(v, D) : (O = Ht(v), O.c(), O.m(s, l)) : O && (O.d(1), O = null), /*scorecriterial*/
|
|
4264
|
+
v[2] == "WinStakeRatio" ? P ? P.p(v, D) : (P = Mt(v), P.c(), P.m(s, u)) : P && (P.d(1), P = null), /*scorecriterial*/
|
|
4261
4265
|
v[2] == "MaxWinStakeRatio" ? N ? N.p(v, D) : (N = Rt(v), N.c(), N.m(s, c)) : N && (N.d(1), N = null), /*minscore*/
|
|
4262
4266
|
v[7] ? k ? k.p(v, D) : (k = Lt(v), k.c(), k.m(s, a)) : k && (k.d(1), k = null), /*scorecriterial*/
|
|
4263
4267
|
v[2] == "Stake" ? I ? I.p(v, D) : (I = At(v), I.c(), I.m(s, null)) : I && (I.d(1), I = null), D & /*$_, betcount*/
|
|
4264
|
-
2056 &&
|
|
4268
|
+
2056 && E !== (E = /*$_*/
|
|
4265
4269
|
v[11]("miniBetCount", {
|
|
4266
4270
|
values: { betCount: (
|
|
4267
4271
|
/*betcount*/
|
|
4268
4272
|
v[3]
|
|
4269
4273
|
) }
|
|
4270
|
-
}) + "") &&
|
|
4274
|
+
}) + "") && He(H, E), D & /*$_, starttime, endtime*/
|
|
4271
4275
|
2096 && F !== (F = /*$_*/
|
|
4272
4276
|
v[11]("timePeriod", {
|
|
4273
4277
|
values: {
|
|
@@ -4280,17 +4284,17 @@ function Pi(e) {
|
|
|
4280
4284
|
v[5]
|
|
4281
4285
|
)
|
|
4282
4286
|
}
|
|
4283
|
-
}) + "") &&
|
|
4284
|
-
2112 &&
|
|
4287
|
+
}) + "") && He(W, F), D & /*$_, tcurl*/
|
|
4288
|
+
2112 && Ce !== (Ce = /*$_*/
|
|
4285
4289
|
v[11]("terms", { values: { tcUrl: (
|
|
4286
4290
|
/*tcurl*/
|
|
4287
4291
|
v[6]
|
|
4288
|
-
) } }) + "") && (
|
|
4289
|
-
64 &&
|
|
4292
|
+
) } }) + "") && (ee.innerHTML = Ce), D & /*tcurl*/
|
|
4293
|
+
64 && _e !== (_e = { tcurl: (
|
|
4290
4294
|
/*tcurl*/
|
|
4291
4295
|
v[6]
|
|
4292
|
-
) }) && p(
|
|
4293
|
-
v[1] ? $ ? $.p(v, D) : ($ = Ot(v), $.c(), $.m(t,
|
|
4296
|
+
) }) && p(me, "href", _e), /*casinowallet*/
|
|
4297
|
+
v[1] ? $ ? $.p(v, D) : ($ = Ot(v), $.c(), $.m(t, Ie)) : $ && ($.d(1), $ = null), /*sportswallet*/
|
|
4294
4298
|
v[0] && /*sportRules*/
|
|
4295
4299
|
v[9].length ? U ? U.p(v, D) : (U = Pt(v), U.c(), U.m(t, null)) : U && (U.d(1), U = null);
|
|
4296
4300
|
},
|
|
@@ -4301,15 +4305,15 @@ function Pi(e) {
|
|
|
4301
4305
|
}
|
|
4302
4306
|
};
|
|
4303
4307
|
}
|
|
4304
|
-
function
|
|
4308
|
+
function ki(e, t, n) {
|
|
4305
4309
|
let r;
|
|
4306
|
-
fn(e,
|
|
4307
|
-
let { lang: i = "tr" } = t, { scorecriterial: s = "BetCount" } = t, { betcount:
|
|
4308
|
-
|
|
4310
|
+
fn(e, Ci, (d) => n(11, r = d));
|
|
4311
|
+
let { lang: i = "tr" } = t, { scorecriterial: s = "BetCount" } = t, { betcount: l } = t, { starttime: u } = t, { endtime: c } = t, { tcurl: a } = t, { clientstyling: o = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, { mbsource: m } = t, { sportswallet: g } = t, { casinowallet: E } = t, { minscore: H } = t, S, B = [], T = "";
|
|
4312
|
+
_i({ withLocale: "en", translations: {} });
|
|
4309
4313
|
const G = () => {
|
|
4310
4314
|
fetch(f).then((j) => j.json()).then((j) => {
|
|
4311
|
-
Object.keys(j).forEach((
|
|
4312
|
-
Tt(
|
|
4315
|
+
Object.keys(j).forEach((fe) => {
|
|
4316
|
+
Tt(fe, j[fe]);
|
|
4313
4317
|
});
|
|
4314
4318
|
}).catch((j) => {
|
|
4315
4319
|
console.error(j);
|
|
@@ -4319,58 +4323,58 @@ function Ni(e, t, n) {
|
|
|
4319
4323
|
Tt(d, wt[d]);
|
|
4320
4324
|
});
|
|
4321
4325
|
const M = () => {
|
|
4322
|
-
|
|
4326
|
+
Ti(i);
|
|
4323
4327
|
}, F = (d) => {
|
|
4324
|
-
d.data && d.data.type && d.type == "TournamentsWalletsUpdate" && (n(1,
|
|
4325
|
-
},
|
|
4326
|
-
n(10,
|
|
4328
|
+
d.data && d.data.type && d.type == "TournamentsWalletsUpdate" && (n(1, E = d.data.wallet.casino), n(0, g = d.data.wallet.sports));
|
|
4329
|
+
}, W = () => {
|
|
4330
|
+
n(10, T = E ? St.generateCasinoRule(r, E) : ""), n(9, B = g ? St.generateSportsRule(r, g) : []);
|
|
4327
4331
|
};
|
|
4328
4332
|
En(() => (window.addEventListener("message", F, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
|
|
4329
4333
|
window.removeEventListener("message", F);
|
|
4330
4334
|
}));
|
|
4331
|
-
function
|
|
4332
|
-
|
|
4335
|
+
function Ee(d) {
|
|
4336
|
+
ze[d ? "unshift" : "push"](() => {
|
|
4333
4337
|
S = d, n(8, S);
|
|
4334
4338
|
});
|
|
4335
4339
|
}
|
|
4336
4340
|
return e.$$set = (d) => {
|
|
4337
|
-
"lang" in d && n(12, i = d.lang), "scorecriterial" in d && n(2, s = d.scorecriterial), "betcount" in d && n(3,
|
|
4341
|
+
"lang" in d && n(12, i = d.lang), "scorecriterial" in d && n(2, s = d.scorecriterial), "betcount" in d && n(3, l = d.betcount), "starttime" in d && n(4, u = d.starttime), "endtime" in d && n(5, c = d.endtime), "tcurl" in d && n(6, a = d.tcurl), "clientstyling" in d && n(13, o = d.clientstyling), "clientstylingurl" in d && n(14, h = d.clientstylingurl), "translationurl" in d && n(15, f = d.translationurl), "mbsource" in d && n(16, m = d.mbsource), "sportswallet" in d && n(0, g = d.sportswallet), "casinowallet" in d && n(1, E = d.casinowallet), "minscore" in d && n(7, H = d.minscore);
|
|
4338
4342
|
}, e.$$.update = () => {
|
|
4339
4343
|
e.$$.dirty & /*lang*/
|
|
4340
4344
|
4096 && i && M(), e.$$.dirty & /*sportswallet, casinowallet*/
|
|
4341
|
-
3 && (g ||
|
|
4342
|
-
8448 && o && S &&
|
|
4343
|
-
16640 && h && S &&
|
|
4344
|
-
65792 && m && S &&
|
|
4345
|
+
3 && (g || E) && W(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4346
|
+
8448 && o && S && wi(S, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4347
|
+
16640 && h && S && Si(S, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4348
|
+
65792 && m && S && Bi(S, `${m}.Style`), e.$$.dirty & /*translationurl*/
|
|
4345
4349
|
32768 && f && G();
|
|
4346
4350
|
}, [
|
|
4347
4351
|
g,
|
|
4348
|
-
|
|
4352
|
+
E,
|
|
4349
4353
|
s,
|
|
4350
|
-
u,
|
|
4351
4354
|
l,
|
|
4355
|
+
u,
|
|
4352
4356
|
c,
|
|
4353
4357
|
a,
|
|
4354
4358
|
H,
|
|
4355
4359
|
S,
|
|
4356
4360
|
B,
|
|
4357
|
-
|
|
4361
|
+
T,
|
|
4358
4362
|
r,
|
|
4359
4363
|
i,
|
|
4360
4364
|
o,
|
|
4361
4365
|
h,
|
|
4362
4366
|
f,
|
|
4363
4367
|
m,
|
|
4364
|
-
|
|
4368
|
+
Ee
|
|
4365
4369
|
];
|
|
4366
4370
|
}
|
|
4367
|
-
class
|
|
4371
|
+
class Ii extends On {
|
|
4368
4372
|
constructor(t) {
|
|
4369
4373
|
super(), Ln(
|
|
4370
4374
|
this,
|
|
4371
4375
|
t,
|
|
4376
|
+
ki,
|
|
4372
4377
|
Ni,
|
|
4373
|
-
Pi,
|
|
4374
4378
|
It,
|
|
4375
4379
|
{
|
|
4376
4380
|
lang: 12,
|
|
@@ -4387,7 +4391,7 @@ class ki extends On {
|
|
|
4387
4391
|
casinowallet: 1,
|
|
4388
4392
|
minscore: 7
|
|
4389
4393
|
},
|
|
4390
|
-
|
|
4394
|
+
Pi
|
|
4391
4395
|
);
|
|
4392
4396
|
}
|
|
4393
4397
|
get lang() {
|
|
@@ -4469,7 +4473,7 @@ class ki extends On {
|
|
|
4469
4473
|
this.$$set({ minscore: t }), L();
|
|
4470
4474
|
}
|
|
4471
4475
|
}
|
|
4472
|
-
An(
|
|
4476
|
+
An(Ii, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, sportswallet: {}, casinowallet: {}, minscore: {} }, [], [], !0);
|
|
4473
4477
|
export {
|
|
4474
|
-
|
|
4478
|
+
Ii as C
|
|
4475
4479
|
};
|