@everymatrix/casino-tournaments-thumbnail-rule 1.64.7 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoTournamentsThumbnailRule-BRjDDfgN.cjs +16 -0
- package/components/{CasinoTournamentsThumbnailRule-DFLmIzLQ.js → CasinoTournamentsThumbnailRule-CNeDEglK.js} +720 -724
- package/components/{CasinoTournamentsThumbnailRule-CTIQJMke.js → CasinoTournamentsThumbnailRule-xmec_Q1t.js} +743 -747
- 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-CautG6Tl.cjs +0 -3
|
@@ -6,16 +6,16 @@ function Rt(e) {
|
|
|
6
6
|
function st() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function _e(e) {
|
|
10
10
|
e.forEach(Rt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function tt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
15
|
function kt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function ar(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
21
|
function Nt(e, ...t) {
|
|
@@ -27,7 +27,7 @@ function Nt(e, ...t) {
|
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function or(e, t, r) {
|
|
31
31
|
e.$$.on_destroy.push(Nt(t, r));
|
|
32
32
|
}
|
|
33
33
|
function p(e, t) {
|
|
@@ -36,7 +36,7 @@ function p(e, t) {
|
|
|
36
36
|
function sr(e, t, r) {
|
|
37
37
|
const n = ur(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
|
-
const i =
|
|
39
|
+
const i = x("style");
|
|
40
40
|
i.id = t, i.textContent = r, lr(n, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -60,10 +60,10 @@ function lr(e, t) {
|
|
|
60
60
|
function M(e, t, r) {
|
|
61
61
|
e.insertBefore(t, r || null);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function H(e) {
|
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function x(e) {
|
|
67
67
|
return document.createElement(e);
|
|
68
68
|
}
|
|
69
69
|
function hr(e) {
|
|
@@ -75,7 +75,7 @@ function z(e) {
|
|
|
75
75
|
function P() {
|
|
76
76
|
return z(" ");
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function Me() {
|
|
79
79
|
return z("");
|
|
80
80
|
}
|
|
81
81
|
function m(e, t, r) {
|
|
@@ -84,11 +84,11 @@ function m(e, t, r) {
|
|
|
84
84
|
function cr(e) {
|
|
85
85
|
return Array.from(e.childNodes);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function J(e, t) {
|
|
88
88
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
89
89
|
t);
|
|
90
90
|
}
|
|
91
|
-
class
|
|
91
|
+
class Re {
|
|
92
92
|
/**
|
|
93
93
|
* @private
|
|
94
94
|
* @default false
|
|
@@ -122,7 +122,7 @@ class Ne {
|
|
|
122
122
|
this.e || (this.is_svg ? this.e = hr(
|
|
123
123
|
/** @type {keyof SVGElementTagNameMap} */
|
|
124
124
|
r.nodeName
|
|
125
|
-
) : this.e =
|
|
125
|
+
) : this.e = x(
|
|
126
126
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
127
127
|
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
128
128
|
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
@@ -155,7 +155,7 @@ class Ne {
|
|
|
155
155
|
/**
|
|
156
156
|
* @returns {void} */
|
|
157
157
|
d() {
|
|
158
|
-
this.n.forEach(
|
|
158
|
+
this.n.forEach(H);
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
function fr(e) {
|
|
@@ -167,65 +167,65 @@ function fr(e) {
|
|
|
167
167
|
}
|
|
168
168
|
), t;
|
|
169
169
|
}
|
|
170
|
-
let
|
|
171
|
-
function
|
|
172
|
-
|
|
170
|
+
let ge;
|
|
171
|
+
function be(e) {
|
|
172
|
+
ge = e;
|
|
173
173
|
}
|
|
174
174
|
function mr() {
|
|
175
|
-
if (!
|
|
175
|
+
if (!ge)
|
|
176
176
|
throw new Error("Function called outside component initialization");
|
|
177
|
-
return
|
|
177
|
+
return ge;
|
|
178
178
|
}
|
|
179
179
|
function dr(e) {
|
|
180
180
|
mr().$$.on_mount.push(e);
|
|
181
181
|
}
|
|
182
|
-
const
|
|
183
|
-
let
|
|
182
|
+
const oe = [], je = [];
|
|
183
|
+
let se = [];
|
|
184
184
|
const ut = [], pr = /* @__PURE__ */ Promise.resolve();
|
|
185
|
-
let
|
|
185
|
+
let Ve = !1;
|
|
186
186
|
function br() {
|
|
187
|
-
|
|
187
|
+
Ve || (Ve = !0, pr.then(V));
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
|
|
189
|
+
function ze(e) {
|
|
190
|
+
se.push(e);
|
|
191
191
|
}
|
|
192
|
-
const
|
|
193
|
-
let
|
|
192
|
+
const Oe = /* @__PURE__ */ new Set();
|
|
193
|
+
let ie = 0;
|
|
194
194
|
function V() {
|
|
195
|
-
if (
|
|
195
|
+
if (ie !== 0)
|
|
196
196
|
return;
|
|
197
|
-
const e =
|
|
197
|
+
const e = ge;
|
|
198
198
|
do {
|
|
199
199
|
try {
|
|
200
|
-
for (;
|
|
201
|
-
const t =
|
|
202
|
-
|
|
200
|
+
for (; ie < oe.length; ) {
|
|
201
|
+
const t = oe[ie];
|
|
202
|
+
ie++, be(t), gr(t.$$);
|
|
203
203
|
}
|
|
204
204
|
} catch (t) {
|
|
205
|
-
throw
|
|
205
|
+
throw oe.length = 0, ie = 0, t;
|
|
206
206
|
}
|
|
207
|
-
for (
|
|
208
|
-
|
|
209
|
-
for (let t = 0; t <
|
|
210
|
-
const r =
|
|
211
|
-
|
|
207
|
+
for (be(null), oe.length = 0, ie = 0; je.length; )
|
|
208
|
+
je.pop()();
|
|
209
|
+
for (let t = 0; t < se.length; t += 1) {
|
|
210
|
+
const r = se[t];
|
|
211
|
+
Oe.has(r) || (Oe.add(r), r());
|
|
212
212
|
}
|
|
213
|
-
|
|
214
|
-
} while (
|
|
213
|
+
se.length = 0;
|
|
214
|
+
} while (oe.length);
|
|
215
215
|
for (; ut.length; )
|
|
216
216
|
ut.pop()();
|
|
217
|
-
|
|
217
|
+
Ve = !1, Oe.clear(), be(e);
|
|
218
218
|
}
|
|
219
219
|
function gr(e) {
|
|
220
220
|
if (e.fragment !== null) {
|
|
221
|
-
e.update(),
|
|
221
|
+
e.update(), _e(e.before_update);
|
|
222
222
|
const t = e.dirty;
|
|
223
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
223
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
function yr(e) {
|
|
227
227
|
const t = [], r = [];
|
|
228
|
-
|
|
228
|
+
se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
|
|
229
229
|
}
|
|
230
230
|
const vr = /* @__PURE__ */ new Set();
|
|
231
231
|
function _r(e, t) {
|
|
@@ -233,26 +233,26 @@ function _r(e, t) {
|
|
|
233
233
|
}
|
|
234
234
|
function Er(e, t, r) {
|
|
235
235
|
const { fragment: n, after_update: i } = e.$$;
|
|
236
|
-
n && n.m(t, r),
|
|
237
|
-
const
|
|
238
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
239
|
-
}), i.forEach(
|
|
236
|
+
n && n.m(t, r), ze(() => {
|
|
237
|
+
const a = e.$$.on_mount.map(Rt).filter(tt);
|
|
238
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...a) : _e(a), e.$$.on_mount = [];
|
|
239
|
+
}), i.forEach(ze);
|
|
240
240
|
}
|
|
241
241
|
function xr(e, t) {
|
|
242
242
|
const r = e.$$;
|
|
243
|
-
r.fragment !== null && (yr(r.after_update),
|
|
243
|
+
r.fragment !== null && (yr(r.after_update), _e(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
244
244
|
}
|
|
245
245
|
function Tr(e, t) {
|
|
246
|
-
e.$$.dirty[0] === -1 && (
|
|
246
|
+
e.$$.dirty[0] === -1 && (oe.push(e), br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
247
247
|
}
|
|
248
|
-
function
|
|
249
|
-
const h =
|
|
250
|
-
|
|
248
|
+
function Br(e, t, r, n, i, a, s = null, o = [-1]) {
|
|
249
|
+
const h = ge;
|
|
250
|
+
be(e);
|
|
251
251
|
const u = e.$$ = {
|
|
252
252
|
fragment: null,
|
|
253
253
|
ctx: [],
|
|
254
254
|
// state
|
|
255
|
-
props:
|
|
255
|
+
props: a,
|
|
256
256
|
update: W,
|
|
257
257
|
not_equal: i,
|
|
258
258
|
bound: st(),
|
|
@@ -265,7 +265,7 @@ function wr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
265
265
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
266
266
|
// everything else
|
|
267
267
|
callbacks: st(),
|
|
268
|
-
dirty:
|
|
268
|
+
dirty: o,
|
|
269
269
|
skip_bound: !1,
|
|
270
270
|
root: t.target || h.$$.root
|
|
271
271
|
};
|
|
@@ -274,15 +274,15 @@ function wr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
274
274
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
|
|
275
275
|
const y = g.length ? g[0] : f;
|
|
276
276
|
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Tr(e, c)), f;
|
|
277
|
-
}) : [], u.update(), l = !0,
|
|
277
|
+
}) : [], u.update(), l = !0, _e(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
278
278
|
if (t.hydrate) {
|
|
279
279
|
const c = cr(t.target);
|
|
280
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
280
|
+
u.fragment && u.fragment.l(c), c.forEach(H);
|
|
281
281
|
} else
|
|
282
282
|
u.fragment && u.fragment.c();
|
|
283
283
|
t.intro && _r(e.$$.fragment), Er(e, t.target, t.anchor), V();
|
|
284
284
|
}
|
|
285
|
-
|
|
285
|
+
be(h);
|
|
286
286
|
}
|
|
287
287
|
let At;
|
|
288
288
|
typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
@@ -324,20 +324,20 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
324
324
|
if (this.$$cn = !0, !this.$$c) {
|
|
325
325
|
let e = function(i) {
|
|
326
326
|
return () => {
|
|
327
|
-
let
|
|
327
|
+
let a;
|
|
328
328
|
return {
|
|
329
329
|
c: function() {
|
|
330
|
-
|
|
330
|
+
a = x("slot"), i !== "default" && m(a, "name", i);
|
|
331
331
|
},
|
|
332
332
|
/**
|
|
333
333
|
* @param {HTMLElement} target
|
|
334
334
|
* @param {HTMLElement} [anchor]
|
|
335
335
|
*/
|
|
336
336
|
m: function(h, u) {
|
|
337
|
-
M(h,
|
|
337
|
+
M(h, a, u);
|
|
338
338
|
},
|
|
339
339
|
d: function(h) {
|
|
340
|
-
h &&
|
|
340
|
+
h && H(a);
|
|
341
341
|
}
|
|
342
342
|
};
|
|
343
343
|
};
|
|
@@ -348,8 +348,8 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
348
348
|
for (const i of this.$$s)
|
|
349
349
|
i in r && (t[i] = [e(i)]);
|
|
350
350
|
for (const i of this.attributes) {
|
|
351
|
-
const
|
|
352
|
-
|
|
351
|
+
const a = this.$$g_p(i.name);
|
|
352
|
+
a in this.$$d || (this.$$d[a] = Be(a, i.value, this.$$p_d, "toProp"));
|
|
353
353
|
}
|
|
354
354
|
for (const i in this.$$p_d)
|
|
355
355
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -367,21 +367,21 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
367
367
|
this.$$r = !0;
|
|
368
368
|
for (const i in this.$$p_d)
|
|
369
369
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
370
|
-
const
|
|
370
|
+
const a = Be(
|
|
371
371
|
i,
|
|
372
372
|
this.$$d[i],
|
|
373
373
|
this.$$p_d,
|
|
374
374
|
"toAttribute"
|
|
375
375
|
);
|
|
376
|
-
|
|
376
|
+
a == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, a);
|
|
377
377
|
}
|
|
378
378
|
this.$$r = !1;
|
|
379
379
|
};
|
|
380
380
|
this.$$c.$$.after_update.push(n), n();
|
|
381
381
|
for (const i in this.$$l)
|
|
382
|
-
for (const
|
|
383
|
-
const s = this.$$c.$on(i,
|
|
384
|
-
this.$$l_u.set(
|
|
382
|
+
for (const a of this.$$l[i]) {
|
|
383
|
+
const s = this.$$c.$on(i, a);
|
|
384
|
+
this.$$l_u.set(a, s);
|
|
385
385
|
}
|
|
386
386
|
this.$$l = {};
|
|
387
387
|
}
|
|
@@ -431,36 +431,36 @@ function Be(e, t, r, n) {
|
|
|
431
431
|
return t;
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
|
-
function
|
|
434
|
+
function wr(e, t, r, n, i, a) {
|
|
435
435
|
let s = class extends At {
|
|
436
436
|
constructor() {
|
|
437
437
|
super(e, r, i), this.$$p_d = t;
|
|
438
438
|
}
|
|
439
439
|
static get observedAttributes() {
|
|
440
440
|
return Object.keys(t).map(
|
|
441
|
-
(
|
|
441
|
+
(o) => (t[o].attribute || o).toLowerCase()
|
|
442
442
|
);
|
|
443
443
|
}
|
|
444
444
|
};
|
|
445
|
-
return Object.keys(t).forEach((
|
|
446
|
-
Object.defineProperty(s.prototype,
|
|
445
|
+
return Object.keys(t).forEach((o) => {
|
|
446
|
+
Object.defineProperty(s.prototype, o, {
|
|
447
447
|
get() {
|
|
448
|
-
return this.$$c &&
|
|
448
|
+
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
449
449
|
},
|
|
450
450
|
set(h) {
|
|
451
|
-
h = Be(
|
|
451
|
+
h = Be(o, h, t), this.$$d[o] = h, this.$$c?.$set({ [o]: h });
|
|
452
452
|
}
|
|
453
453
|
});
|
|
454
|
-
}), n.forEach((
|
|
455
|
-
Object.defineProperty(s.prototype,
|
|
454
|
+
}), n.forEach((o) => {
|
|
455
|
+
Object.defineProperty(s.prototype, o, {
|
|
456
456
|
get() {
|
|
457
|
-
return this.$$c?.[
|
|
457
|
+
return this.$$c?.[o];
|
|
458
458
|
}
|
|
459
459
|
});
|
|
460
460
|
}), e.element = /** @type {any} */
|
|
461
461
|
s, s;
|
|
462
462
|
}
|
|
463
|
-
class
|
|
463
|
+
class Hr {
|
|
464
464
|
/**
|
|
465
465
|
* ### PRIVATE API
|
|
466
466
|
*
|
|
@@ -488,7 +488,7 @@ class Sr {
|
|
|
488
488
|
* @returns {() => void}
|
|
489
489
|
*/
|
|
490
490
|
$on(t, r) {
|
|
491
|
-
if (!
|
|
491
|
+
if (!tt(r))
|
|
492
492
|
return W;
|
|
493
493
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
494
494
|
return n.push(r), () => {
|
|
@@ -501,22 +501,22 @@ class Sr {
|
|
|
501
501
|
* @returns {void}
|
|
502
502
|
*/
|
|
503
503
|
$set(t) {
|
|
504
|
-
this.$$set && !
|
|
504
|
+
this.$$set && !ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
-
const
|
|
508
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
507
|
+
const Cr = "4";
|
|
508
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
|
|
509
509
|
const ae = [];
|
|
510
|
-
function
|
|
510
|
+
function Sr(e, t) {
|
|
511
511
|
return {
|
|
512
|
-
subscribe:
|
|
512
|
+
subscribe: ke(e, t).subscribe
|
|
513
513
|
};
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function ke(e, t = W) {
|
|
516
516
|
let r;
|
|
517
517
|
const n = /* @__PURE__ */ new Set();
|
|
518
|
-
function i(
|
|
519
|
-
if (kt(e,
|
|
518
|
+
function i(o) {
|
|
519
|
+
if (kt(e, o) && (e = o, r)) {
|
|
520
520
|
const h = !ae.length;
|
|
521
521
|
for (const u of n)
|
|
522
522
|
u[1](), ae.push(u, e);
|
|
@@ -527,23 +527,23 @@ function Ae(e, t = W) {
|
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
-
function o
|
|
531
|
-
i(
|
|
530
|
+
function a(o) {
|
|
531
|
+
i(o(e));
|
|
532
532
|
}
|
|
533
|
-
function s(
|
|
534
|
-
const u = [
|
|
535
|
-
return n.add(u), n.size === 1 && (r = t(i,
|
|
533
|
+
function s(o, h = W) {
|
|
534
|
+
const u = [o, h];
|
|
535
|
+
return n.add(u), n.size === 1 && (r = t(i, a) || W), o(e), () => {
|
|
536
536
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
537
537
|
};
|
|
538
538
|
}
|
|
539
|
-
return { set: i, update:
|
|
539
|
+
return { set: i, update: a, subscribe: s };
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function fe(e, t, r) {
|
|
542
542
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
543
543
|
if (!i.every(Boolean))
|
|
544
544
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
545
|
-
const
|
|
546
|
-
return
|
|
545
|
+
const a = t.length < 2;
|
|
546
|
+
return Sr(r, (s, o) => {
|
|
547
547
|
let h = !1;
|
|
548
548
|
const u = [];
|
|
549
549
|
let l = 0, c = W;
|
|
@@ -551,21 +551,21 @@ function me(e, t, r) {
|
|
|
551
551
|
if (l)
|
|
552
552
|
return;
|
|
553
553
|
c();
|
|
554
|
-
const y = t(n ? u[0] : u, s,
|
|
555
|
-
|
|
554
|
+
const y = t(n ? u[0] : u, s, o);
|
|
555
|
+
a ? s(y) : c = tt(y) ? y : W;
|
|
556
556
|
}, g = i.map(
|
|
557
|
-
(y,
|
|
557
|
+
(y, T) => Nt(
|
|
558
558
|
y,
|
|
559
|
-
(
|
|
560
|
-
u[
|
|
559
|
+
(w) => {
|
|
560
|
+
u[T] = w, l &= ~(1 << T), h && f();
|
|
561
561
|
},
|
|
562
562
|
() => {
|
|
563
|
-
l |= 1 <<
|
|
563
|
+
l |= 1 << T;
|
|
564
564
|
}
|
|
565
565
|
)
|
|
566
566
|
);
|
|
567
567
|
return h = !0, f(), function() {
|
|
568
|
-
|
|
568
|
+
_e(g), c(), h = !1;
|
|
569
569
|
};
|
|
570
570
|
});
|
|
571
571
|
}
|
|
@@ -589,19 +589,19 @@ function Pr(e) {
|
|
|
589
589
|
function Or(e) {
|
|
590
590
|
return Array.isArray(e) ? [] : {};
|
|
591
591
|
}
|
|
592
|
-
function
|
|
593
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
592
|
+
function ye(e, t) {
|
|
593
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ue(Or(e), e, t) : e;
|
|
594
594
|
}
|
|
595
595
|
function Ir(e, t, r) {
|
|
596
596
|
return e.concat(t).map(function(n) {
|
|
597
|
-
return
|
|
597
|
+
return ye(n, r);
|
|
598
598
|
});
|
|
599
599
|
}
|
|
600
600
|
function $r(e, t) {
|
|
601
601
|
if (!t.customMerge)
|
|
602
|
-
return
|
|
602
|
+
return ue;
|
|
603
603
|
var r = t.customMerge(e);
|
|
604
|
-
return typeof r == "function" ? r :
|
|
604
|
+
return typeof r == "function" ? r : ue;
|
|
605
605
|
}
|
|
606
606
|
function Dr(e) {
|
|
607
607
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -624,51 +624,65 @@ function Ur(e, t) {
|
|
|
624
624
|
function Gr(e, t, r) {
|
|
625
625
|
var n = {};
|
|
626
626
|
return r.isMergeableObject(e) && lt(e).forEach(function(i) {
|
|
627
|
-
n[i] =
|
|
627
|
+
n[i] = ye(e[i], r);
|
|
628
628
|
}), lt(t).forEach(function(i) {
|
|
629
|
-
Ur(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = $r(i, r)(e[i], t[i], r) : n[i] =
|
|
629
|
+
Ur(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = $r(i, r)(e[i], t[i], r) : n[i] = ye(t[i], r));
|
|
630
630
|
}), n;
|
|
631
631
|
}
|
|
632
|
-
function
|
|
633
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Ir, r.isMergeableObject = r.isMergeableObject || Rr, r.cloneUnlessOtherwiseSpecified =
|
|
634
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
|
635
|
-
return
|
|
632
|
+
function ue(e, t, r) {
|
|
633
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Ir, r.isMergeableObject = r.isMergeableObject || Rr, r.cloneUnlessOtherwiseSpecified = ye;
|
|
634
|
+
var n = Array.isArray(t), i = Array.isArray(e), a = n === i;
|
|
635
|
+
return a ? n ? r.arrayMerge(e, t, r) : Gr(e, t, r) : ye(t, r);
|
|
636
636
|
}
|
|
637
|
-
|
|
637
|
+
ue.all = function(t, r) {
|
|
638
638
|
if (!Array.isArray(t))
|
|
639
639
|
throw new Error("first argument should be an array");
|
|
640
640
|
return t.reduce(function(n, i) {
|
|
641
|
-
return
|
|
641
|
+
return ue(n, i, r);
|
|
642
642
|
}, {});
|
|
643
643
|
};
|
|
644
|
-
var Fr =
|
|
644
|
+
var Fr = ue, jr = Fr;
|
|
645
645
|
const Vr = /* @__PURE__ */ Mr(jr);
|
|
646
|
-
|
|
647
|
-
|
|
646
|
+
/*! *****************************************************************************
|
|
647
|
+
Copyright (c) Microsoft Corporation.
|
|
648
|
+
|
|
649
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
650
|
+
purpose with or without fee is hereby granted.
|
|
651
|
+
|
|
652
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
653
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
654
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
655
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
656
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
657
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
658
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
659
|
+
***************************************************************************** */
|
|
660
|
+
var Xe = function(e, t) {
|
|
661
|
+
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
648
662
|
r.__proto__ = n;
|
|
649
663
|
} || function(r, n) {
|
|
650
664
|
for (var i in n)
|
|
651
665
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
652
|
-
},
|
|
666
|
+
}, Xe(e, t);
|
|
653
667
|
};
|
|
654
|
-
function
|
|
668
|
+
function Ne(e, t) {
|
|
655
669
|
if (typeof t != "function" && t !== null)
|
|
656
670
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
657
|
-
|
|
671
|
+
Xe(e, t);
|
|
658
672
|
function r() {
|
|
659
673
|
this.constructor = e;
|
|
660
674
|
}
|
|
661
675
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
662
676
|
}
|
|
663
|
-
var
|
|
664
|
-
return
|
|
677
|
+
var _ = function() {
|
|
678
|
+
return _ = Object.assign || function(t) {
|
|
665
679
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
666
680
|
r = arguments[n];
|
|
667
|
-
for (var
|
|
668
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
681
|
+
for (var a in r)
|
|
682
|
+
Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
669
683
|
}
|
|
670
684
|
return t;
|
|
671
|
-
},
|
|
685
|
+
}, _.apply(this, arguments);
|
|
672
686
|
};
|
|
673
687
|
function zr(e, t) {
|
|
674
688
|
var r = {};
|
|
@@ -679,14 +693,14 @@ function zr(e, t) {
|
|
|
679
693
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
680
694
|
return r;
|
|
681
695
|
}
|
|
682
|
-
function
|
|
683
|
-
if (
|
|
684
|
-
for (var n = 0, i = t.length,
|
|
685
|
-
(
|
|
686
|
-
return e.concat(
|
|
696
|
+
function Ie(e, t, r) {
|
|
697
|
+
if (arguments.length === 2)
|
|
698
|
+
for (var n = 0, i = t.length, a; n < i; n++)
|
|
699
|
+
(a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
|
|
700
|
+
return e.concat(a || t);
|
|
687
701
|
}
|
|
688
|
-
function
|
|
689
|
-
var r = t && t.cache ? t.cache :
|
|
702
|
+
function $e(e, t) {
|
|
703
|
+
var r = t && t.cache ? t.cache : Kr, n = t && t.serializer ? t.serializer : Yr, i = t && t.strategy ? t.strategy : Wr;
|
|
690
704
|
return i(e, {
|
|
691
705
|
cache: r,
|
|
692
706
|
serializer: n
|
|
@@ -695,103 +709,95 @@ function Ue(e, t) {
|
|
|
695
709
|
function Xr(e) {
|
|
696
710
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
697
711
|
}
|
|
698
|
-
function
|
|
699
|
-
var i = Xr(n) ? n : r(n),
|
|
700
|
-
return typeof
|
|
712
|
+
function Pt(e, t, r, n) {
|
|
713
|
+
var i = Xr(n) ? n : r(n), a = t.get(i);
|
|
714
|
+
return typeof a > "u" && (a = e.call(this, n), t.set(i, a)), a;
|
|
701
715
|
}
|
|
702
|
-
function
|
|
703
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
|
704
|
-
return typeof
|
|
716
|
+
function Ot(e, t, r) {
|
|
717
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), a = t.get(i);
|
|
718
|
+
return typeof a > "u" && (a = e.apply(this, n), t.set(i, a)), a;
|
|
705
719
|
}
|
|
706
|
-
function
|
|
720
|
+
function rt(e, t, r, n, i) {
|
|
707
721
|
return r.bind(t, e, n, i);
|
|
708
722
|
}
|
|
723
|
+
function Wr(e, t) {
|
|
724
|
+
var r = e.length === 1 ? Pt : Ot;
|
|
725
|
+
return rt(e, this, r, t.cache.create(), t.serializer);
|
|
726
|
+
}
|
|
709
727
|
function Zr(e, t) {
|
|
710
|
-
|
|
711
|
-
return Ot(e, this, r, t.cache.create(), t.serializer);
|
|
728
|
+
return rt(e, this, Ot, t.cache.create(), t.serializer);
|
|
712
729
|
}
|
|
713
730
|
function Jr(e, t) {
|
|
714
|
-
return
|
|
731
|
+
return rt(e, this, Pt, t.cache.create(), t.serializer);
|
|
715
732
|
}
|
|
716
733
|
var Yr = function() {
|
|
717
734
|
return JSON.stringify(arguments);
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
}()
|
|
730
|
-
), qr = {
|
|
735
|
+
};
|
|
736
|
+
function nt() {
|
|
737
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
738
|
+
}
|
|
739
|
+
nt.prototype.get = function(e) {
|
|
740
|
+
return this.cache[e];
|
|
741
|
+
};
|
|
742
|
+
nt.prototype.set = function(e, t) {
|
|
743
|
+
this.cache[e] = t;
|
|
744
|
+
};
|
|
745
|
+
var Kr = {
|
|
731
746
|
create: function() {
|
|
732
|
-
return new
|
|
747
|
+
return new nt();
|
|
733
748
|
}
|
|
734
|
-
},
|
|
735
|
-
variadic:
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
739
|
-
r = arguments[n];
|
|
740
|
-
for (var o in r)
|
|
741
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
742
|
-
}
|
|
743
|
-
return t;
|
|
744
|
-
}, Ce.apply(this, arguments);
|
|
745
|
-
};
|
|
746
|
-
var b;
|
|
749
|
+
}, De = {
|
|
750
|
+
variadic: Zr,
|
|
751
|
+
monadic: Jr
|
|
752
|
+
}, b;
|
|
747
753
|
(function(e) {
|
|
748
754
|
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";
|
|
749
755
|
})(b || (b = {}));
|
|
750
|
-
var
|
|
756
|
+
var B;
|
|
751
757
|
(function(e) {
|
|
752
758
|
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";
|
|
753
|
-
})(
|
|
754
|
-
var
|
|
759
|
+
})(B || (B = {}));
|
|
760
|
+
var le;
|
|
755
761
|
(function(e) {
|
|
756
762
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
757
|
-
})(
|
|
763
|
+
})(le || (le = {}));
|
|
758
764
|
function ht(e) {
|
|
759
|
-
return e.type ===
|
|
765
|
+
return e.type === B.literal;
|
|
760
766
|
}
|
|
761
|
-
function
|
|
762
|
-
return e.type ===
|
|
767
|
+
function qr(e) {
|
|
768
|
+
return e.type === B.argument;
|
|
763
769
|
}
|
|
764
770
|
function It(e) {
|
|
765
|
-
return e.type ===
|
|
771
|
+
return e.type === B.number;
|
|
766
772
|
}
|
|
767
773
|
function $t(e) {
|
|
768
|
-
return e.type ===
|
|
774
|
+
return e.type === B.date;
|
|
769
775
|
}
|
|
770
776
|
function Dt(e) {
|
|
771
|
-
return e.type ===
|
|
777
|
+
return e.type === B.time;
|
|
772
778
|
}
|
|
773
779
|
function Ut(e) {
|
|
774
|
-
return e.type ===
|
|
780
|
+
return e.type === B.select;
|
|
775
781
|
}
|
|
776
782
|
function Gt(e) {
|
|
777
|
-
return e.type ===
|
|
783
|
+
return e.type === B.plural;
|
|
778
784
|
}
|
|
779
|
-
function
|
|
780
|
-
return e.type ===
|
|
785
|
+
function Qr(e) {
|
|
786
|
+
return e.type === B.pound;
|
|
781
787
|
}
|
|
782
788
|
function Ft(e) {
|
|
783
|
-
return e.type ===
|
|
789
|
+
return e.type === B.tag;
|
|
784
790
|
}
|
|
785
791
|
function jt(e) {
|
|
786
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
792
|
+
return !!(e && typeof e == "object" && e.type === le.number);
|
|
787
793
|
}
|
|
788
|
-
function
|
|
789
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
794
|
+
function We(e) {
|
|
795
|
+
return !!(e && typeof e == "object" && e.type === le.dateTime);
|
|
790
796
|
}
|
|
791
|
-
var Vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
792
|
-
function
|
|
797
|
+
var Vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, en = /(?:[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;
|
|
798
|
+
function tn(e) {
|
|
793
799
|
var t = {};
|
|
794
|
-
return e.replace(
|
|
800
|
+
return e.replace(en, function(r) {
|
|
795
801
|
var n = r.length;
|
|
796
802
|
switch (r[0]) {
|
|
797
803
|
case "G":
|
|
@@ -880,39 +886,29 @@ function rn(e) {
|
|
|
880
886
|
return "";
|
|
881
887
|
}), t;
|
|
882
888
|
}
|
|
883
|
-
var
|
|
884
|
-
|
|
885
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
886
|
-
r = arguments[n];
|
|
887
|
-
for (var o in r)
|
|
888
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
889
|
-
}
|
|
890
|
-
return t;
|
|
891
|
-
}, w.apply(this, arguments);
|
|
892
|
-
};
|
|
893
|
-
var nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
894
|
-
function on(e) {
|
|
889
|
+
var rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
890
|
+
function nn(e) {
|
|
895
891
|
if (e.length === 0)
|
|
896
892
|
throw new Error("Number skeleton cannot be empty");
|
|
897
|
-
for (var t = e.split(
|
|
893
|
+
for (var t = e.split(rn).filter(function(f) {
|
|
898
894
|
return f.length > 0;
|
|
899
895
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
900
|
-
var
|
|
896
|
+
var a = i[n], s = a.split("/");
|
|
901
897
|
if (s.length === 0)
|
|
902
898
|
throw new Error("Invalid number skeleton");
|
|
903
|
-
for (var
|
|
899
|
+
for (var o = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
904
900
|
var c = l[u];
|
|
905
901
|
if (c.length === 0)
|
|
906
902
|
throw new Error("Invalid number skeleton");
|
|
907
903
|
}
|
|
908
|
-
r.push({ stem:
|
|
904
|
+
r.push({ stem: o, options: h });
|
|
909
905
|
}
|
|
910
906
|
return r;
|
|
911
907
|
}
|
|
912
908
|
function an(e) {
|
|
913
909
|
return e.replace(/^(.*?)-/, "");
|
|
914
910
|
}
|
|
915
|
-
var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
911
|
+
var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, on = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
|
|
916
912
|
function ft(e) {
|
|
917
913
|
var t = {};
|
|
918
914
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
|
|
@@ -959,7 +955,7 @@ function Wt(e) {
|
|
|
959
955
|
};
|
|
960
956
|
}
|
|
961
957
|
}
|
|
962
|
-
function
|
|
958
|
+
function sn(e) {
|
|
963
959
|
var t;
|
|
964
960
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
965
961
|
notation: "engineering"
|
|
@@ -977,7 +973,7 @@ function mt(e) {
|
|
|
977
973
|
var t = {}, r = Wt(e);
|
|
978
974
|
return r || t;
|
|
979
975
|
}
|
|
980
|
-
function
|
|
976
|
+
function un(e) {
|
|
981
977
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
982
978
|
var i = n[r];
|
|
983
979
|
switch (i.stem) {
|
|
@@ -1012,13 +1008,13 @@ function ln(e) {
|
|
|
1012
1008
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1013
1009
|
continue;
|
|
1014
1010
|
case "scientific":
|
|
1015
|
-
t =
|
|
1016
|
-
return
|
|
1011
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1012
|
+
return _(_({}, h), mt(u));
|
|
1017
1013
|
}, {}));
|
|
1018
1014
|
continue;
|
|
1019
1015
|
case "engineering":
|
|
1020
|
-
t =
|
|
1021
|
-
return
|
|
1016
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1017
|
+
return _(_({}, h), mt(u));
|
|
1022
1018
|
}, {}));
|
|
1023
1019
|
continue;
|
|
1024
1020
|
case "notation-simple":
|
|
@@ -1063,7 +1059,7 @@ function ln(e) {
|
|
|
1063
1059
|
case "integer-width":
|
|
1064
1060
|
if (i.options.length > 1)
|
|
1065
1061
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1066
|
-
i.options[0].replace(
|
|
1062
|
+
i.options[0].replace(on, function(h, u, l, c, f, g) {
|
|
1067
1063
|
if (u)
|
|
1068
1064
|
t.minimumIntegerDigits = l.length;
|
|
1069
1065
|
else {
|
|
@@ -1086,22 +1082,22 @@ function ln(e) {
|
|
|
1086
1082
|
i.stem.replace(ct, function(h, u, l, c, f, g) {
|
|
1087
1083
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1088
1084
|
});
|
|
1089
|
-
var
|
|
1090
|
-
|
|
1085
|
+
var a = i.options[0];
|
|
1086
|
+
a === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = _(_({}, t), ft(a)));
|
|
1091
1087
|
continue;
|
|
1092
1088
|
}
|
|
1093
1089
|
if (zt.test(i.stem)) {
|
|
1094
|
-
t =
|
|
1090
|
+
t = _(_({}, t), ft(i.stem));
|
|
1095
1091
|
continue;
|
|
1096
1092
|
}
|
|
1097
1093
|
var s = Wt(i.stem);
|
|
1098
|
-
s && (t =
|
|
1099
|
-
var
|
|
1100
|
-
|
|
1094
|
+
s && (t = _(_({}, t), s));
|
|
1095
|
+
var o = sn(i.stem);
|
|
1096
|
+
o && (t = _(_({}, t), o));
|
|
1101
1097
|
}
|
|
1102
1098
|
return t;
|
|
1103
1099
|
}
|
|
1104
|
-
var
|
|
1100
|
+
var Te = {
|
|
1105
1101
|
"001": [
|
|
1106
1102
|
"H",
|
|
1107
1103
|
"h"
|
|
@@ -2516,14 +2512,14 @@ var we = {
|
|
|
2516
2512
|
"h"
|
|
2517
2513
|
]
|
|
2518
2514
|
};
|
|
2519
|
-
function
|
|
2515
|
+
function ln(e, t) {
|
|
2520
2516
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2521
2517
|
var i = e.charAt(n);
|
|
2522
2518
|
if (i === "j") {
|
|
2523
|
-
for (var
|
|
2524
|
-
|
|
2525
|
-
var s = 1 + (
|
|
2526
|
-
for ((u == "H" || u == "k") && (
|
|
2519
|
+
for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2520
|
+
a++, n++;
|
|
2521
|
+
var s = 1 + (a & 1), o = a < 2 ? 1 : 3 + (a >> 1), h = "a", u = hn(t);
|
|
2522
|
+
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2527
2523
|
r += h;
|
|
2528
2524
|
for (; s-- > 0; )
|
|
2529
2525
|
r = u + r;
|
|
@@ -2532,7 +2528,7 @@ function hn(e, t) {
|
|
|
2532
2528
|
}
|
|
2533
2529
|
return r;
|
|
2534
2530
|
}
|
|
2535
|
-
function
|
|
2531
|
+
function hn(e) {
|
|
2536
2532
|
var t = e.hourCycle;
|
|
2537
2533
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2538
2534
|
e.hourCycles && // @ts-ignore
|
|
@@ -2551,23 +2547,23 @@ function cn(e) {
|
|
|
2551
2547
|
}
|
|
2552
2548
|
var r = e.language, n;
|
|
2553
2549
|
r !== "root" && (n = e.maximize().region);
|
|
2554
|
-
var i =
|
|
2550
|
+
var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
|
|
2555
2551
|
return i[0];
|
|
2556
2552
|
}
|
|
2557
|
-
var
|
|
2553
|
+
var Ue, cn = new RegExp("^".concat(Vt.source, "*")), fn = new RegExp("".concat(Vt.source, "*$"));
|
|
2558
2554
|
function v(e, t) {
|
|
2559
2555
|
return { start: e, end: t };
|
|
2560
2556
|
}
|
|
2561
|
-
var
|
|
2557
|
+
var mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), dn = !!String.fromCodePoint, pn = !!Object.fromEntries, bn = !!String.prototype.codePointAt, gn = !!String.prototype.trimStart, yn = !!String.prototype.trimEnd, vn = !!Number.isSafeInteger, _n = vn ? Number.isSafeInteger : function(e) {
|
|
2562
2558
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2563
|
-
},
|
|
2559
|
+
}, Ze = !0;
|
|
2564
2560
|
try {
|
|
2565
|
-
var
|
|
2566
|
-
|
|
2561
|
+
var En = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2562
|
+
Ze = ((Ue = En.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
|
|
2567
2563
|
} catch {
|
|
2568
|
-
|
|
2564
|
+
Ze = !1;
|
|
2569
2565
|
}
|
|
2570
|
-
var dt =
|
|
2566
|
+
var dt = mn ? (
|
|
2571
2567
|
// Native
|
|
2572
2568
|
function(t, r, n) {
|
|
2573
2569
|
return t.startsWith(r, n);
|
|
@@ -2577,13 +2573,13 @@ var dt = dn ? (
|
|
|
2577
2573
|
function(t, r, n) {
|
|
2578
2574
|
return t.slice(n, n + r.length) === r;
|
|
2579
2575
|
}
|
|
2580
|
-
),
|
|
2576
|
+
), Je = dn ? String.fromCodePoint : (
|
|
2581
2577
|
// IE11
|
|
2582
2578
|
function() {
|
|
2583
2579
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2584
2580
|
t[r] = arguments[r];
|
|
2585
|
-
for (var n = "", i = t.length,
|
|
2586
|
-
if (s = t[
|
|
2581
|
+
for (var n = "", i = t.length, a = 0, s; i > a; ) {
|
|
2582
|
+
if (s = t[a++], s > 1114111)
|
|
2587
2583
|
throw RangeError(s + " is not a valid code point");
|
|
2588
2584
|
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
2589
2585
|
}
|
|
@@ -2591,17 +2587,17 @@ var dt = dn ? (
|
|
|
2591
2587
|
}
|
|
2592
2588
|
), pt = (
|
|
2593
2589
|
// native
|
|
2594
|
-
|
|
2590
|
+
pn ? Object.fromEntries : (
|
|
2595
2591
|
// Ponyfill
|
|
2596
2592
|
function(t) {
|
|
2597
2593
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2598
|
-
var
|
|
2599
|
-
r[s] =
|
|
2594
|
+
var a = i[n], s = a[0], o = a[1];
|
|
2595
|
+
r[s] = o;
|
|
2600
2596
|
}
|
|
2601
2597
|
return r;
|
|
2602
2598
|
}
|
|
2603
2599
|
)
|
|
2604
|
-
), Zt =
|
|
2600
|
+
), Zt = bn ? (
|
|
2605
2601
|
// Native
|
|
2606
2602
|
function(t, r) {
|
|
2607
2603
|
return t.codePointAt(r);
|
|
@@ -2611,11 +2607,11 @@ var dt = dn ? (
|
|
|
2611
2607
|
function(t, r) {
|
|
2612
2608
|
var n = t.length;
|
|
2613
2609
|
if (!(r < 0 || r >= n)) {
|
|
2614
|
-
var i = t.charCodeAt(r),
|
|
2615
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
|
2610
|
+
var i = t.charCodeAt(r), a;
|
|
2611
|
+
return i < 55296 || i > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
|
|
2616
2612
|
}
|
|
2617
2613
|
}
|
|
2618
|
-
),
|
|
2614
|
+
), xn = gn ? (
|
|
2619
2615
|
// Native
|
|
2620
2616
|
function(t) {
|
|
2621
2617
|
return t.trimStart();
|
|
@@ -2623,9 +2619,9 @@ var dt = dn ? (
|
|
|
2623
2619
|
) : (
|
|
2624
2620
|
// Ponyfill
|
|
2625
2621
|
function(t) {
|
|
2626
|
-
return t.replace(
|
|
2622
|
+
return t.replace(cn, "");
|
|
2627
2623
|
}
|
|
2628
|
-
),
|
|
2624
|
+
), Tn = yn ? (
|
|
2629
2625
|
// Native
|
|
2630
2626
|
function(t) {
|
|
2631
2627
|
return t.trimEnd();
|
|
@@ -2633,30 +2629,30 @@ var dt = dn ? (
|
|
|
2633
2629
|
) : (
|
|
2634
2630
|
// Ponyfill
|
|
2635
2631
|
function(t) {
|
|
2636
|
-
return t.replace(
|
|
2632
|
+
return t.replace(fn, "");
|
|
2637
2633
|
}
|
|
2638
2634
|
);
|
|
2639
2635
|
function Jt(e, t) {
|
|
2640
2636
|
return new RegExp(e, t);
|
|
2641
2637
|
}
|
|
2642
|
-
var
|
|
2643
|
-
if (
|
|
2638
|
+
var Ye;
|
|
2639
|
+
if (Ze) {
|
|
2644
2640
|
var bt = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2645
|
-
|
|
2641
|
+
Ye = function(t, r) {
|
|
2646
2642
|
var n;
|
|
2647
2643
|
bt.lastIndex = r;
|
|
2648
2644
|
var i = bt.exec(t);
|
|
2649
2645
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2650
2646
|
};
|
|
2651
2647
|
} else
|
|
2652
|
-
|
|
2648
|
+
Ye = function(t, r) {
|
|
2653
2649
|
for (var n = []; ; ) {
|
|
2654
2650
|
var i = Zt(t, r);
|
|
2655
2651
|
if (i === void 0 || Yt(i) || Cn(i))
|
|
2656
2652
|
break;
|
|
2657
2653
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2658
2654
|
}
|
|
2659
|
-
return
|
|
2655
|
+
return Je.apply(void 0, n);
|
|
2660
2656
|
};
|
|
2661
2657
|
var Bn = (
|
|
2662
2658
|
/** @class */
|
|
@@ -2670,26 +2666,26 @@ var Bn = (
|
|
|
2670
2666
|
return this.parseMessage(0, "", !1);
|
|
2671
2667
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
2672
2668
|
for (var i = []; !this.isEOF(); ) {
|
|
2673
|
-
var
|
|
2674
|
-
if (
|
|
2669
|
+
var a = this.char();
|
|
2670
|
+
if (a === 123) {
|
|
2675
2671
|
var s = this.parseArgument(t, n);
|
|
2676
2672
|
if (s.err)
|
|
2677
2673
|
return s;
|
|
2678
2674
|
i.push(s.val);
|
|
2679
2675
|
} else {
|
|
2680
|
-
if (
|
|
2676
|
+
if (a === 125 && t > 0)
|
|
2681
2677
|
break;
|
|
2682
|
-
if (
|
|
2683
|
-
var
|
|
2678
|
+
if (a === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2679
|
+
var o = this.clonePosition();
|
|
2684
2680
|
this.bump(), i.push({
|
|
2685
|
-
type:
|
|
2686
|
-
location: v(
|
|
2681
|
+
type: B.pound,
|
|
2682
|
+
location: v(o, this.clonePosition())
|
|
2687
2683
|
});
|
|
2688
|
-
} else if (
|
|
2684
|
+
} else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2689
2685
|
if (n)
|
|
2690
2686
|
break;
|
|
2691
2687
|
return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
2692
|
-
} else if (
|
|
2688
|
+
} else if (a === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
|
|
2693
2689
|
var s = this.parseTag(t, r);
|
|
2694
2690
|
if (s.err)
|
|
2695
2691
|
return s;
|
|
@@ -2710,30 +2706,30 @@ var Bn = (
|
|
|
2710
2706
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2711
2707
|
return {
|
|
2712
2708
|
val: {
|
|
2713
|
-
type:
|
|
2709
|
+
type: B.literal,
|
|
2714
2710
|
value: "<".concat(i, "/>"),
|
|
2715
2711
|
location: v(n, this.clonePosition())
|
|
2716
2712
|
},
|
|
2717
2713
|
err: null
|
|
2718
2714
|
};
|
|
2719
2715
|
if (this.bumpIf(">")) {
|
|
2720
|
-
var
|
|
2721
|
-
if (
|
|
2722
|
-
return
|
|
2723
|
-
var s =
|
|
2716
|
+
var a = this.parseMessage(t + 1, r, !0);
|
|
2717
|
+
if (a.err)
|
|
2718
|
+
return a;
|
|
2719
|
+
var s = a.val, o = this.clonePosition();
|
|
2724
2720
|
if (this.bumpIf("</")) {
|
|
2725
|
-
if (this.isEOF() || !
|
|
2726
|
-
return this.error(b.INVALID_TAG, v(
|
|
2721
|
+
if (this.isEOF() || !Ke(this.char()))
|
|
2722
|
+
return this.error(b.INVALID_TAG, v(o, this.clonePosition()));
|
|
2727
2723
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
2728
2724
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2729
2725
|
val: {
|
|
2730
|
-
type:
|
|
2726
|
+
type: B.tag,
|
|
2731
2727
|
value: i,
|
|
2732
2728
|
children: s,
|
|
2733
2729
|
location: v(n, this.clonePosition())
|
|
2734
2730
|
},
|
|
2735
2731
|
err: null
|
|
2736
|
-
} : this.error(b.INVALID_TAG, v(
|
|
2732
|
+
} : this.error(b.INVALID_TAG, v(o, this.clonePosition())));
|
|
2737
2733
|
} else
|
|
2738
2734
|
return this.error(b.UNCLOSED_TAG, v(n, this.clonePosition()));
|
|
2739
2735
|
} else
|
|
@@ -2745,9 +2741,9 @@ var Bn = (
|
|
|
2745
2741
|
return this.message.slice(t, this.offset());
|
|
2746
2742
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
2747
2743
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
2748
|
-
var
|
|
2749
|
-
if (
|
|
2750
|
-
i +=
|
|
2744
|
+
var a = this.tryParseQuote(r);
|
|
2745
|
+
if (a) {
|
|
2746
|
+
i += a;
|
|
2751
2747
|
continue;
|
|
2752
2748
|
}
|
|
2753
2749
|
var s = this.tryParseUnquoted(t, r);
|
|
@@ -2755,21 +2751,21 @@ var Bn = (
|
|
|
2755
2751
|
i += s;
|
|
2756
2752
|
continue;
|
|
2757
2753
|
}
|
|
2758
|
-
var
|
|
2759
|
-
if (
|
|
2760
|
-
i +=
|
|
2754
|
+
var o = this.tryParseLeftAngleBracket();
|
|
2755
|
+
if (o) {
|
|
2756
|
+
i += o;
|
|
2761
2757
|
continue;
|
|
2762
2758
|
}
|
|
2763
2759
|
break;
|
|
2764
2760
|
}
|
|
2765
2761
|
var h = v(n, this.clonePosition());
|
|
2766
2762
|
return {
|
|
2767
|
-
val: { type:
|
|
2763
|
+
val: { type: B.literal, value: i, location: h },
|
|
2768
2764
|
err: null
|
|
2769
2765
|
};
|
|
2770
2766
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2771
2767
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2772
|
-
!
|
|
2768
|
+
!wn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2773
2769
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2774
2770
|
if (this.isEOF() || this.char() !== 39)
|
|
2775
2771
|
return null;
|
|
@@ -2803,12 +2799,12 @@ var Bn = (
|
|
|
2803
2799
|
r.push(n);
|
|
2804
2800
|
this.bump();
|
|
2805
2801
|
}
|
|
2806
|
-
return
|
|
2802
|
+
return Je.apply(void 0, r);
|
|
2807
2803
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2808
2804
|
if (this.isEOF())
|
|
2809
2805
|
return null;
|
|
2810
2806
|
var n = this.char();
|
|
2811
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2807
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
|
|
2812
2808
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2813
2809
|
var n = this.clonePosition();
|
|
2814
2810
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2824,7 +2820,7 @@ var Bn = (
|
|
|
2824
2820
|
case 125:
|
|
2825
2821
|
return this.bump(), {
|
|
2826
2822
|
val: {
|
|
2827
|
-
type:
|
|
2823
|
+
type: B.argument,
|
|
2828
2824
|
// value does not include the opening and closing braces.
|
|
2829
2825
|
value: i,
|
|
2830
2826
|
location: v(n, this.clonePosition())
|
|
@@ -2837,13 +2833,13 @@ var Bn = (
|
|
|
2837
2833
|
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
2838
2834
|
}
|
|
2839
2835
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2840
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2836
|
+
var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
|
|
2841
2837
|
this.bumpTo(i);
|
|
2842
|
-
var
|
|
2838
|
+
var a = this.clonePosition(), s = v(t, a);
|
|
2843
2839
|
return { value: n, location: s };
|
|
2844
2840
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2845
|
-
var
|
|
2846
|
-
switch (
|
|
2841
|
+
var a, s = this.clonePosition(), o = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2842
|
+
switch (o) {
|
|
2847
2843
|
case "":
|
|
2848
2844
|
return this.error(b.EXPECT_ARGUMENT_TYPE, v(s, h));
|
|
2849
2845
|
case "number":
|
|
@@ -2856,7 +2852,7 @@ var Bn = (
|
|
|
2856
2852
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2857
2853
|
if (c.err)
|
|
2858
2854
|
return c;
|
|
2859
|
-
var f =
|
|
2855
|
+
var f = Tn(c.val);
|
|
2860
2856
|
if (f.length === 0)
|
|
2861
2857
|
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
2862
2858
|
var g = v(l, this.clonePosition());
|
|
@@ -2865,38 +2861,38 @@ var Bn = (
|
|
|
2865
2861
|
var y = this.tryParseArgumentClose(i);
|
|
2866
2862
|
if (y.err)
|
|
2867
2863
|
return y;
|
|
2868
|
-
var
|
|
2864
|
+
var T = v(i, this.clonePosition());
|
|
2869
2865
|
if (u && dt(u?.style, "::", 0)) {
|
|
2870
|
-
var
|
|
2871
|
-
if (
|
|
2872
|
-
var c = this.parseNumberSkeletonFromString(
|
|
2866
|
+
var w = xn(u.style.slice(2));
|
|
2867
|
+
if (o === "number") {
|
|
2868
|
+
var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
2873
2869
|
return c.err ? c : {
|
|
2874
|
-
val: { type:
|
|
2870
|
+
val: { type: B.number, value: n, location: T, style: c.val },
|
|
2875
2871
|
err: null
|
|
2876
2872
|
};
|
|
2877
2873
|
} else {
|
|
2878
|
-
if (
|
|
2879
|
-
return this.error(b.EXPECT_DATE_TIME_SKELETON,
|
|
2880
|
-
var
|
|
2881
|
-
this.locale && (
|
|
2874
|
+
if (w.length === 0)
|
|
2875
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, T);
|
|
2876
|
+
var C = w;
|
|
2877
|
+
this.locale && (C = ln(w, this.locale));
|
|
2882
2878
|
var f = {
|
|
2883
|
-
type:
|
|
2884
|
-
pattern:
|
|
2879
|
+
type: le.dateTime,
|
|
2880
|
+
pattern: C,
|
|
2885
2881
|
location: u.styleLocation,
|
|
2886
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2887
|
-
}, R =
|
|
2882
|
+
parsedOptions: this.shouldParseSkeletons ? tn(C) : {}
|
|
2883
|
+
}, R = o === "date" ? B.date : B.time;
|
|
2888
2884
|
return {
|
|
2889
|
-
val: { type: R, value: n, location:
|
|
2885
|
+
val: { type: R, value: n, location: T, style: f },
|
|
2890
2886
|
err: null
|
|
2891
2887
|
};
|
|
2892
2888
|
}
|
|
2893
2889
|
}
|
|
2894
2890
|
return {
|
|
2895
2891
|
val: {
|
|
2896
|
-
type:
|
|
2892
|
+
type: o === "number" ? B.number : o === "date" ? B.date : B.time,
|
|
2897
2893
|
value: n,
|
|
2898
|
-
location:
|
|
2899
|
-
style: (
|
|
2894
|
+
location: T,
|
|
2895
|
+
style: (a = u?.style) !== null && a !== void 0 ? a : null
|
|
2900
2896
|
},
|
|
2901
2897
|
err: null
|
|
2902
2898
|
};
|
|
@@ -2904,12 +2900,12 @@ var Bn = (
|
|
|
2904
2900
|
case "plural":
|
|
2905
2901
|
case "selectordinal":
|
|
2906
2902
|
case "select": {
|
|
2907
|
-
var
|
|
2903
|
+
var S = this.clonePosition();
|
|
2908
2904
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2909
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(
|
|
2905
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(S, _({}, S)));
|
|
2910
2906
|
this.bumpSpace();
|
|
2911
2907
|
var N = this.parseIdentifierIfPossible(), A = 0;
|
|
2912
|
-
if (
|
|
2908
|
+
if (o !== "select" && N.value === "offset") {
|
|
2913
2909
|
if (!this.bumpIf(":"))
|
|
2914
2910
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
2915
2911
|
this.bumpSpace();
|
|
@@ -2918,29 +2914,29 @@ var Bn = (
|
|
|
2918
2914
|
return c;
|
|
2919
2915
|
this.bumpSpace(), N = this.parseIdentifierIfPossible(), A = c.val;
|
|
2920
2916
|
}
|
|
2921
|
-
var Z = this.tryParsePluralOrSelectOptions(t,
|
|
2917
|
+
var Z = this.tryParsePluralOrSelectOptions(t, o, r, N);
|
|
2922
2918
|
if (Z.err)
|
|
2923
2919
|
return Z;
|
|
2924
2920
|
var y = this.tryParseArgumentClose(i);
|
|
2925
2921
|
if (y.err)
|
|
2926
2922
|
return y;
|
|
2927
|
-
var
|
|
2928
|
-
return
|
|
2923
|
+
var ee = v(i, this.clonePosition());
|
|
2924
|
+
return o === "select" ? {
|
|
2929
2925
|
val: {
|
|
2930
|
-
type:
|
|
2926
|
+
type: B.select,
|
|
2931
2927
|
value: n,
|
|
2932
2928
|
options: pt(Z.val),
|
|
2933
|
-
location:
|
|
2929
|
+
location: ee
|
|
2934
2930
|
},
|
|
2935
2931
|
err: null
|
|
2936
2932
|
} : {
|
|
2937
2933
|
val: {
|
|
2938
|
-
type:
|
|
2934
|
+
type: B.plural,
|
|
2939
2935
|
value: n,
|
|
2940
2936
|
options: pt(Z.val),
|
|
2941
2937
|
offset: A,
|
|
2942
|
-
pluralType:
|
|
2943
|
-
location:
|
|
2938
|
+
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
2939
|
+
location: ee
|
|
2944
2940
|
},
|
|
2945
2941
|
err: null
|
|
2946
2942
|
};
|
|
@@ -2988,21 +2984,21 @@ var Bn = (
|
|
|
2988
2984
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2989
2985
|
var n = [];
|
|
2990
2986
|
try {
|
|
2991
|
-
n =
|
|
2987
|
+
n = nn(t);
|
|
2992
2988
|
} catch {
|
|
2993
2989
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
2994
2990
|
}
|
|
2995
2991
|
return {
|
|
2996
2992
|
val: {
|
|
2997
|
-
type:
|
|
2993
|
+
type: le.number,
|
|
2998
2994
|
tokens: n,
|
|
2999
2995
|
location: r,
|
|
3000
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2996
|
+
parsedOptions: this.shouldParseSkeletons ? un(n) : {}
|
|
3001
2997
|
},
|
|
3002
2998
|
err: null
|
|
3003
2999
|
};
|
|
3004
3000
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3005
|
-
for (var
|
|
3001
|
+
for (var a, s = !1, o = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3006
3002
|
if (u.length === 0) {
|
|
3007
3003
|
var c = this.clonePosition();
|
|
3008
3004
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3022,30 +3018,30 @@ var Bn = (
|
|
|
3022
3018
|
var y = this.parseMessage(t + 1, r, n);
|
|
3023
3019
|
if (y.err)
|
|
3024
3020
|
return y;
|
|
3025
|
-
var
|
|
3026
|
-
if (
|
|
3027
|
-
return
|
|
3028
|
-
|
|
3021
|
+
var T = this.tryParseArgumentClose(g);
|
|
3022
|
+
if (T.err)
|
|
3023
|
+
return T;
|
|
3024
|
+
o.push([
|
|
3029
3025
|
u,
|
|
3030
3026
|
{
|
|
3031
3027
|
value: y.val,
|
|
3032
3028
|
location: v(g, this.clonePosition())
|
|
3033
3029
|
}
|
|
3034
|
-
]), h.add(u), this.bumpSpace(),
|
|
3030
|
+
]), h.add(u), this.bumpSpace(), a = this.parseIdentifierIfPossible(), u = a.value, l = a.location;
|
|
3035
3031
|
}
|
|
3036
|
-
return
|
|
3032
|
+
return o.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
|
|
3037
3033
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3038
3034
|
var n = 1, i = this.clonePosition();
|
|
3039
3035
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3040
|
-
for (var
|
|
3041
|
-
var
|
|
3042
|
-
if (
|
|
3043
|
-
|
|
3036
|
+
for (var a = !1, s = 0; !this.isEOF(); ) {
|
|
3037
|
+
var o = this.char();
|
|
3038
|
+
if (o >= 48 && o <= 57)
|
|
3039
|
+
a = !0, s = s * 10 + (o - 48), this.bump();
|
|
3044
3040
|
else
|
|
3045
3041
|
break;
|
|
3046
3042
|
}
|
|
3047
3043
|
var h = v(i, this.clonePosition());
|
|
3048
|
-
return
|
|
3044
|
+
return a ? (s *= n, _n(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3049
3045
|
}, e.prototype.offset = function() {
|
|
3050
3046
|
return this.position.offset;
|
|
3051
3047
|
}, e.prototype.isEOF = function() {
|
|
@@ -3111,11 +3107,11 @@ var Bn = (
|
|
|
3111
3107
|
}, e;
|
|
3112
3108
|
}()
|
|
3113
3109
|
);
|
|
3114
|
-
function
|
|
3110
|
+
function Ke(e) {
|
|
3115
3111
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3116
3112
|
}
|
|
3117
|
-
function
|
|
3118
|
-
return
|
|
3113
|
+
function wn(e) {
|
|
3114
|
+
return Ke(e) || e === 47;
|
|
3119
3115
|
}
|
|
3120
3116
|
function Hn(e) {
|
|
3121
3117
|
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;
|
|
@@ -3126,35 +3122,35 @@ function Yt(e) {
|
|
|
3126
3122
|
function Cn(e) {
|
|
3127
3123
|
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;
|
|
3128
3124
|
}
|
|
3129
|
-
function
|
|
3125
|
+
function qe(e) {
|
|
3130
3126
|
e.forEach(function(t) {
|
|
3131
3127
|
if (delete t.location, Ut(t) || Gt(t))
|
|
3132
3128
|
for (var r in t.options)
|
|
3133
|
-
delete t.options[r].location,
|
|
3129
|
+
delete t.options[r].location, qe(t.options[r].value);
|
|
3134
3130
|
else
|
|
3135
|
-
It(t) && jt(t.style) || ($t(t) || Dt(t)) &&
|
|
3131
|
+
It(t) && jt(t.style) || ($t(t) || Dt(t)) && We(t.style) ? delete t.style.location : Ft(t) && qe(t.children);
|
|
3136
3132
|
});
|
|
3137
3133
|
}
|
|
3138
|
-
function
|
|
3139
|
-
t === void 0 && (t = {}), t =
|
|
3134
|
+
function Sn(e, t) {
|
|
3135
|
+
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3140
3136
|
var r = new Bn(e, t).parse();
|
|
3141
3137
|
if (r.err) {
|
|
3142
3138
|
var n = SyntaxError(b[r.err.kind]);
|
|
3143
3139
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3144
3140
|
}
|
|
3145
|
-
return t?.captureLocation ||
|
|
3141
|
+
return t?.captureLocation || qe(r.val), r.val;
|
|
3146
3142
|
}
|
|
3147
|
-
var
|
|
3143
|
+
var he;
|
|
3148
3144
|
(function(e) {
|
|
3149
3145
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3150
|
-
})(
|
|
3151
|
-
var
|
|
3146
|
+
})(he || (he = {}));
|
|
3147
|
+
var Ae = (
|
|
3152
3148
|
/** @class */
|
|
3153
3149
|
function(e) {
|
|
3154
|
-
|
|
3150
|
+
Ne(t, e);
|
|
3155
3151
|
function t(r, n, i) {
|
|
3156
|
-
var
|
|
3157
|
-
return
|
|
3152
|
+
var a = e.call(this, r) || this;
|
|
3153
|
+
return a.code = n, a.originalMessage = i, a;
|
|
3158
3154
|
}
|
|
3159
3155
|
return t.prototype.toString = function() {
|
|
3160
3156
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
@@ -3163,44 +3159,44 @@ var Pe = (
|
|
|
3163
3159
|
), gt = (
|
|
3164
3160
|
/** @class */
|
|
3165
3161
|
function(e) {
|
|
3166
|
-
|
|
3167
|
-
function t(r, n, i,
|
|
3168
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3162
|
+
Ne(t, e);
|
|
3163
|
+
function t(r, n, i, a) {
|
|
3164
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, a) || this;
|
|
3169
3165
|
}
|
|
3170
3166
|
return t;
|
|
3171
|
-
}(
|
|
3172
|
-
),
|
|
3167
|
+
}(Ae)
|
|
3168
|
+
), Mn = (
|
|
3173
3169
|
/** @class */
|
|
3174
3170
|
function(e) {
|
|
3175
|
-
|
|
3171
|
+
Ne(t, e);
|
|
3176
3172
|
function t(r, n, i) {
|
|
3177
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3173
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), he.INVALID_VALUE, i) || this;
|
|
3178
3174
|
}
|
|
3179
3175
|
return t;
|
|
3180
|
-
}(
|
|
3181
|
-
),
|
|
3176
|
+
}(Ae)
|
|
3177
|
+
), Rn = (
|
|
3182
3178
|
/** @class */
|
|
3183
3179
|
function(e) {
|
|
3184
|
-
|
|
3180
|
+
Ne(t, e);
|
|
3185
3181
|
function t(r, n) {
|
|
3186
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3182
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
|
|
3187
3183
|
}
|
|
3188
3184
|
return t;
|
|
3189
|
-
}(
|
|
3185
|
+
}(Ae)
|
|
3190
3186
|
), O;
|
|
3191
3187
|
(function(e) {
|
|
3192
3188
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3193
3189
|
})(O || (O = {}));
|
|
3194
|
-
function
|
|
3190
|
+
function kn(e) {
|
|
3195
3191
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3196
3192
|
var n = t[t.length - 1];
|
|
3197
3193
|
return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
|
|
3198
3194
|
}, []);
|
|
3199
3195
|
}
|
|
3200
|
-
function
|
|
3196
|
+
function Nn(e) {
|
|
3201
3197
|
return typeof e == "function";
|
|
3202
3198
|
}
|
|
3203
|
-
function
|
|
3199
|
+
function we(e, t, r, n, i, a, s) {
|
|
3204
3200
|
if (e.length === 1 && ht(e[0]))
|
|
3205
3201
|
return [
|
|
3206
3202
|
{
|
|
@@ -3208,44 +3204,44 @@ function Se(e, t, r, n, i, o, s) {
|
|
|
3208
3204
|
value: e[0].value
|
|
3209
3205
|
}
|
|
3210
3206
|
];
|
|
3211
|
-
for (var
|
|
3207
|
+
for (var o = [], h = 0, u = e; h < u.length; h++) {
|
|
3212
3208
|
var l = u[h];
|
|
3213
3209
|
if (ht(l)) {
|
|
3214
|
-
|
|
3210
|
+
o.push({
|
|
3215
3211
|
type: O.literal,
|
|
3216
3212
|
value: l.value
|
|
3217
3213
|
});
|
|
3218
3214
|
continue;
|
|
3219
3215
|
}
|
|
3220
|
-
if (
|
|
3221
|
-
typeof
|
|
3216
|
+
if (Qr(l)) {
|
|
3217
|
+
typeof a == "number" && o.push({
|
|
3222
3218
|
type: O.literal,
|
|
3223
|
-
value: r.getNumberFormat(t).format(
|
|
3219
|
+
value: r.getNumberFormat(t).format(a)
|
|
3224
3220
|
});
|
|
3225
3221
|
continue;
|
|
3226
3222
|
}
|
|
3227
3223
|
var c = l.value;
|
|
3228
3224
|
if (!(i && c in i))
|
|
3229
|
-
throw new
|
|
3225
|
+
throw new Rn(c, s);
|
|
3230
3226
|
var f = i[c];
|
|
3231
|
-
if (
|
|
3232
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3227
|
+
if (qr(l)) {
|
|
3228
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3233
3229
|
type: typeof f == "string" ? O.literal : O.object,
|
|
3234
3230
|
value: f
|
|
3235
3231
|
});
|
|
3236
3232
|
continue;
|
|
3237
3233
|
}
|
|
3238
3234
|
if ($t(l)) {
|
|
3239
|
-
var g = typeof l.style == "string" ? n.date[l.style] :
|
|
3240
|
-
|
|
3235
|
+
var g = typeof l.style == "string" ? n.date[l.style] : We(l.style) ? l.style.parsedOptions : void 0;
|
|
3236
|
+
o.push({
|
|
3241
3237
|
type: O.literal,
|
|
3242
3238
|
value: r.getDateTimeFormat(t, g).format(f)
|
|
3243
3239
|
});
|
|
3244
3240
|
continue;
|
|
3245
3241
|
}
|
|
3246
3242
|
if (Dt(l)) {
|
|
3247
|
-
var g = typeof l.style == "string" ? n.time[l.style] :
|
|
3248
|
-
|
|
3243
|
+
var g = typeof l.style == "string" ? n.time[l.style] : We(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3244
|
+
o.push({
|
|
3249
3245
|
type: O.literal,
|
|
3250
3246
|
value: r.getDateTimeFormat(t, g).format(f)
|
|
3251
3247
|
});
|
|
@@ -3253,20 +3249,20 @@ function Se(e, t, r, n, i, o, s) {
|
|
|
3253
3249
|
}
|
|
3254
3250
|
if (It(l)) {
|
|
3255
3251
|
var g = typeof l.style == "string" ? n.number[l.style] : jt(l.style) ? l.style.parsedOptions : void 0;
|
|
3256
|
-
g && g.scale && (f = f * (g.scale || 1)),
|
|
3252
|
+
g && g.scale && (f = f * (g.scale || 1)), o.push({
|
|
3257
3253
|
type: O.literal,
|
|
3258
3254
|
value: r.getNumberFormat(t, g).format(f)
|
|
3259
3255
|
});
|
|
3260
3256
|
continue;
|
|
3261
3257
|
}
|
|
3262
3258
|
if (Ft(l)) {
|
|
3263
|
-
var y = l.children,
|
|
3264
|
-
if (!
|
|
3265
|
-
throw new
|
|
3266
|
-
var
|
|
3259
|
+
var y = l.children, T = l.value, w = i[T];
|
|
3260
|
+
if (!Nn(w))
|
|
3261
|
+
throw new Mn(T, "function", s);
|
|
3262
|
+
var C = we(y, t, r, n, i, a), R = w(C.map(function(A) {
|
|
3267
3263
|
return A.value;
|
|
3268
3264
|
}));
|
|
3269
|
-
Array.isArray(R) || (R = [R]),
|
|
3265
|
+
Array.isArray(R) || (R = [R]), o.push.apply(o, R.map(function(A) {
|
|
3270
3266
|
return {
|
|
3271
3267
|
type: typeof A == "string" ? O.literal : O.object,
|
|
3272
3268
|
value: A
|
|
@@ -3274,41 +3270,41 @@ function Se(e, t, r, n, i, o, s) {
|
|
|
3274
3270
|
}));
|
|
3275
3271
|
}
|
|
3276
3272
|
if (Ut(l)) {
|
|
3277
|
-
var
|
|
3278
|
-
if (!
|
|
3273
|
+
var S = l.options[f] || l.options.other;
|
|
3274
|
+
if (!S)
|
|
3279
3275
|
throw new gt(l.value, f, Object.keys(l.options), s);
|
|
3280
|
-
|
|
3276
|
+
o.push.apply(o, we(S.value, t, r, n, i));
|
|
3281
3277
|
continue;
|
|
3282
3278
|
}
|
|
3283
3279
|
if (Gt(l)) {
|
|
3284
|
-
var
|
|
3285
|
-
if (!
|
|
3280
|
+
var S = l.options["=".concat(f)];
|
|
3281
|
+
if (!S) {
|
|
3286
3282
|
if (!Intl.PluralRules)
|
|
3287
|
-
throw new
|
|
3283
|
+
throw new Ae(`Intl.PluralRules is not available in this environment.
|
|
3288
3284
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3289
|
-
`,
|
|
3285
|
+
`, he.MISSING_INTL_API, s);
|
|
3290
3286
|
var N = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3291
|
-
|
|
3287
|
+
S = l.options[N] || l.options.other;
|
|
3292
3288
|
}
|
|
3293
|
-
if (!
|
|
3289
|
+
if (!S)
|
|
3294
3290
|
throw new gt(l.value, f, Object.keys(l.options), s);
|
|
3295
|
-
|
|
3291
|
+
o.push.apply(o, we(S.value, t, r, n, i, f - (l.offset || 0)));
|
|
3296
3292
|
continue;
|
|
3297
3293
|
}
|
|
3298
3294
|
}
|
|
3299
|
-
return
|
|
3295
|
+
return kn(o);
|
|
3300
3296
|
}
|
|
3301
|
-
function
|
|
3302
|
-
return t ?
|
|
3303
|
-
return r[n] =
|
|
3297
|
+
function An(e, t) {
|
|
3298
|
+
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3299
|
+
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
3304
3300
|
}, {})) : e;
|
|
3305
3301
|
}
|
|
3306
|
-
function
|
|
3302
|
+
function Ln(e, t) {
|
|
3307
3303
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3308
|
-
return r[n] =
|
|
3309
|
-
},
|
|
3304
|
+
return r[n] = An(e[n], t[n]), r;
|
|
3305
|
+
}, _({}, e)) : e;
|
|
3310
3306
|
}
|
|
3311
|
-
function
|
|
3307
|
+
function Ge(e) {
|
|
3312
3308
|
return {
|
|
3313
3309
|
create: function() {
|
|
3314
3310
|
return {
|
|
@@ -3322,50 +3318,50 @@ function je(e) {
|
|
|
3322
3318
|
}
|
|
3323
3319
|
};
|
|
3324
3320
|
}
|
|
3325
|
-
function
|
|
3321
|
+
function Pn(e) {
|
|
3326
3322
|
return e === void 0 && (e = {
|
|
3327
3323
|
number: {},
|
|
3328
3324
|
dateTime: {},
|
|
3329
3325
|
pluralRules: {}
|
|
3330
3326
|
}), {
|
|
3331
|
-
getNumberFormat:
|
|
3327
|
+
getNumberFormat: $e(function() {
|
|
3332
3328
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3333
3329
|
r[n] = arguments[n];
|
|
3334
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3330
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3335
3331
|
}, {
|
|
3336
|
-
cache:
|
|
3337
|
-
strategy:
|
|
3332
|
+
cache: Ge(e.number),
|
|
3333
|
+
strategy: De.variadic
|
|
3338
3334
|
}),
|
|
3339
|
-
getDateTimeFormat:
|
|
3335
|
+
getDateTimeFormat: $e(function() {
|
|
3340
3336
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3341
3337
|
r[n] = arguments[n];
|
|
3342
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3338
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3343
3339
|
}, {
|
|
3344
|
-
cache:
|
|
3345
|
-
strategy:
|
|
3340
|
+
cache: Ge(e.dateTime),
|
|
3341
|
+
strategy: De.variadic
|
|
3346
3342
|
}),
|
|
3347
|
-
getPluralRules:
|
|
3343
|
+
getPluralRules: $e(function() {
|
|
3348
3344
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3349
3345
|
r[n] = arguments[n];
|
|
3350
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3346
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3351
3347
|
}, {
|
|
3352
|
-
cache:
|
|
3353
|
-
strategy:
|
|
3348
|
+
cache: Ge(e.pluralRules),
|
|
3349
|
+
strategy: De.variadic
|
|
3354
3350
|
})
|
|
3355
3351
|
};
|
|
3356
3352
|
}
|
|
3357
|
-
var
|
|
3353
|
+
var On = (
|
|
3358
3354
|
/** @class */
|
|
3359
3355
|
function() {
|
|
3360
3356
|
function e(t, r, n, i) {
|
|
3361
3357
|
r === void 0 && (r = e.defaultLocale);
|
|
3362
|
-
var
|
|
3358
|
+
var a = this;
|
|
3363
3359
|
if (this.formatterCache = {
|
|
3364
3360
|
number: {},
|
|
3365
3361
|
dateTime: {},
|
|
3366
3362
|
pluralRules: {}
|
|
3367
3363
|
}, this.format = function(h) {
|
|
3368
|
-
var u =
|
|
3364
|
+
var u = a.formatToParts(h);
|
|
3369
3365
|
if (u.length === 1)
|
|
3370
3366
|
return u[0].value;
|
|
3371
3367
|
var l = u.reduce(function(c, f) {
|
|
@@ -3373,26 +3369,26 @@ var In = (
|
|
|
3373
3369
|
}, []);
|
|
3374
3370
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3375
3371
|
}, this.formatToParts = function(h) {
|
|
3376
|
-
return
|
|
3372
|
+
return we(a.ast, a.locales, a.formatters, a.formats, h, void 0, a.message);
|
|
3377
3373
|
}, this.resolvedOptions = function() {
|
|
3378
3374
|
var h;
|
|
3379
3375
|
return {
|
|
3380
|
-
locale: ((h =
|
|
3376
|
+
locale: ((h = a.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(a.locales)[0]
|
|
3381
3377
|
};
|
|
3382
3378
|
}, this.getAst = function() {
|
|
3383
|
-
return
|
|
3379
|
+
return a.ast;
|
|
3384
3380
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3385
3381
|
if (this.message = t, !e.__parse)
|
|
3386
3382
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3387
3383
|
var s = i || {};
|
|
3388
3384
|
s.formatters;
|
|
3389
|
-
var
|
|
3390
|
-
this.ast = e.__parse(t,
|
|
3385
|
+
var o = zr(s, ["formatters"]);
|
|
3386
|
+
this.ast = e.__parse(t, _(_({}, o), { locale: this.resolvedLocale }));
|
|
3391
3387
|
} else
|
|
3392
3388
|
this.ast = t;
|
|
3393
3389
|
if (!Array.isArray(this.ast))
|
|
3394
3390
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3395
|
-
this.formats =
|
|
3391
|
+
this.formats = Ln(e.formats, n), this.formatters = i && i.formatters || Pn(this.formatterCache);
|
|
3396
3392
|
}
|
|
3397
3393
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3398
3394
|
get: function() {
|
|
@@ -3405,7 +3401,7 @@ var In = (
|
|
|
3405
3401
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3406
3402
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3407
3403
|
}
|
|
3408
|
-
}, e.__parse =
|
|
3404
|
+
}, e.__parse = Sn, e.formats = {
|
|
3409
3405
|
number: {
|
|
3410
3406
|
integer: {
|
|
3411
3407
|
maximumFractionDigits: 0
|
|
@@ -3466,7 +3462,7 @@ var In = (
|
|
|
3466
3462
|
}, e;
|
|
3467
3463
|
}()
|
|
3468
3464
|
);
|
|
3469
|
-
function
|
|
3465
|
+
function In(e, t) {
|
|
3470
3466
|
if (t == null)
|
|
3471
3467
|
return;
|
|
3472
3468
|
if (t in e)
|
|
@@ -3476,9 +3472,9 @@ function $n(e, t) {
|
|
|
3476
3472
|
for (let i = 0; i < r.length; i++)
|
|
3477
3473
|
if (typeof n == "object") {
|
|
3478
3474
|
if (i > 0) {
|
|
3479
|
-
const
|
|
3480
|
-
if (
|
|
3481
|
-
n = n[
|
|
3475
|
+
const a = r.slice(i, r.length).join(".");
|
|
3476
|
+
if (a in n) {
|
|
3477
|
+
n = n[a];
|
|
3482
3478
|
break;
|
|
3483
3479
|
}
|
|
3484
3480
|
}
|
|
@@ -3487,36 +3483,36 @@ function $n(e, t) {
|
|
|
3487
3483
|
n = void 0;
|
|
3488
3484
|
return n;
|
|
3489
3485
|
}
|
|
3490
|
-
const
|
|
3486
|
+
const q = {}, $n = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), Kt = (e, t) => {
|
|
3491
3487
|
if (t == null)
|
|
3492
3488
|
return;
|
|
3493
|
-
if (t in
|
|
3494
|
-
return
|
|
3495
|
-
const r =
|
|
3489
|
+
if (t in q && e in q[t])
|
|
3490
|
+
return q[t][e];
|
|
3491
|
+
const r = Le(t);
|
|
3496
3492
|
for (let n = 0; n < r.length; n++) {
|
|
3497
|
-
const i = r[n],
|
|
3498
|
-
if (
|
|
3499
|
-
return
|
|
3493
|
+
const i = r[n], a = Un(i, e);
|
|
3494
|
+
if (a)
|
|
3495
|
+
return $n(e, t, a);
|
|
3500
3496
|
}
|
|
3501
3497
|
};
|
|
3502
3498
|
let it;
|
|
3503
|
-
const
|
|
3504
|
-
function
|
|
3499
|
+
const me = ke({});
|
|
3500
|
+
function Dn(e) {
|
|
3505
3501
|
return it[e] || null;
|
|
3506
3502
|
}
|
|
3507
3503
|
function qt(e) {
|
|
3508
3504
|
return e in it;
|
|
3509
3505
|
}
|
|
3510
|
-
function
|
|
3506
|
+
function Un(e, t) {
|
|
3511
3507
|
if (!qt(e))
|
|
3512
3508
|
return null;
|
|
3513
|
-
const r =
|
|
3514
|
-
return
|
|
3509
|
+
const r = Dn(e);
|
|
3510
|
+
return In(r, t);
|
|
3515
3511
|
}
|
|
3516
|
-
function
|
|
3512
|
+
function Gn(e) {
|
|
3517
3513
|
if (e == null)
|
|
3518
3514
|
return;
|
|
3519
|
-
const t =
|
|
3515
|
+
const t = Le(e);
|
|
3520
3516
|
for (let r = 0; r < t.length; r++) {
|
|
3521
3517
|
const n = t[r];
|
|
3522
3518
|
if (qt(n))
|
|
@@ -3524,55 +3520,55 @@ function Fn(e) {
|
|
|
3524
3520
|
}
|
|
3525
3521
|
}
|
|
3526
3522
|
function Qt(e, ...t) {
|
|
3527
|
-
delete
|
|
3523
|
+
delete q[e], me.update((r) => (r[e] = Vr.all([r[e] || {}, ...t]), r));
|
|
3528
3524
|
}
|
|
3529
|
-
|
|
3530
|
-
[
|
|
3525
|
+
fe(
|
|
3526
|
+
[me],
|
|
3531
3527
|
([e]) => Object.keys(e)
|
|
3532
3528
|
);
|
|
3533
|
-
|
|
3529
|
+
me.subscribe((e) => it = e);
|
|
3534
3530
|
const He = {};
|
|
3535
|
-
function
|
|
3531
|
+
function Fn(e, t) {
|
|
3536
3532
|
He[e].delete(t), He[e].size === 0 && delete He[e];
|
|
3537
3533
|
}
|
|
3538
3534
|
function er(e) {
|
|
3539
3535
|
return He[e];
|
|
3540
3536
|
}
|
|
3541
|
-
function
|
|
3542
|
-
return
|
|
3537
|
+
function jn(e) {
|
|
3538
|
+
return Le(e).map((t) => {
|
|
3543
3539
|
const r = er(t);
|
|
3544
3540
|
return [t, r ? [...r] : []];
|
|
3545
3541
|
}).filter(([, t]) => t.length > 0);
|
|
3546
3542
|
}
|
|
3547
|
-
function
|
|
3548
|
-
return e == null ? !1 :
|
|
3543
|
+
function Qe(e) {
|
|
3544
|
+
return e == null ? !1 : Le(e).some(
|
|
3549
3545
|
(t) => {
|
|
3550
3546
|
var r;
|
|
3551
3547
|
return (r = er(t)) == null ? void 0 : r.size;
|
|
3552
3548
|
}
|
|
3553
3549
|
);
|
|
3554
3550
|
}
|
|
3555
|
-
function
|
|
3551
|
+
function Vn(e, t) {
|
|
3556
3552
|
return Promise.all(
|
|
3557
|
-
t.map((n) => (
|
|
3553
|
+
t.map((n) => (Fn(e, n), n().then((i) => i.default || i)))
|
|
3558
3554
|
).then((n) => Qt(e, ...n));
|
|
3559
3555
|
}
|
|
3560
|
-
const
|
|
3556
|
+
const pe = {};
|
|
3561
3557
|
function tr(e) {
|
|
3562
|
-
if (!
|
|
3563
|
-
return e in
|
|
3564
|
-
const t =
|
|
3565
|
-
return
|
|
3558
|
+
if (!Qe(e))
|
|
3559
|
+
return e in pe ? pe[e] : Promise.resolve();
|
|
3560
|
+
const t = jn(e);
|
|
3561
|
+
return pe[e] = Promise.all(
|
|
3566
3562
|
t.map(
|
|
3567
|
-
([r, n]) =>
|
|
3563
|
+
([r, n]) => Vn(r, n)
|
|
3568
3564
|
)
|
|
3569
3565
|
).then(() => {
|
|
3570
|
-
if (
|
|
3566
|
+
if (Qe(e))
|
|
3571
3567
|
return tr(e);
|
|
3572
|
-
delete
|
|
3573
|
-
}),
|
|
3568
|
+
delete pe[e];
|
|
3569
|
+
}), pe[e];
|
|
3574
3570
|
}
|
|
3575
|
-
const
|
|
3571
|
+
const zn = {
|
|
3576
3572
|
number: {
|
|
3577
3573
|
scientific: { notation: "scientific" },
|
|
3578
3574
|
engineering: { notation: "engineering" },
|
|
@@ -3601,141 +3597,141 @@ const Xn = {
|
|
|
3601
3597
|
timeZoneName: "short"
|
|
3602
3598
|
}
|
|
3603
3599
|
}
|
|
3604
|
-
},
|
|
3600
|
+
}, Xn = {
|
|
3605
3601
|
fallbackLocale: null,
|
|
3606
3602
|
loadingDelay: 200,
|
|
3607
|
-
formats:
|
|
3603
|
+
formats: zn,
|
|
3608
3604
|
warnOnMissingMessages: !0,
|
|
3609
3605
|
handleMissingMessage: void 0,
|
|
3610
3606
|
ignoreTag: !0
|
|
3611
|
-
},
|
|
3612
|
-
function
|
|
3613
|
-
return
|
|
3607
|
+
}, Wn = Xn;
|
|
3608
|
+
function ce() {
|
|
3609
|
+
return Wn;
|
|
3614
3610
|
}
|
|
3615
|
-
const
|
|
3616
|
-
var
|
|
3611
|
+
const Fe = ke(!1);
|
|
3612
|
+
var Zn = Object.defineProperty, Jn = Object.defineProperties, Yn = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, Kn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qn = (e, t) => {
|
|
3617
3613
|
for (var r in t || (t = {}))
|
|
3618
|
-
|
|
3614
|
+
Kn.call(t, r) && vt(e, r, t[r]);
|
|
3619
3615
|
if (yt)
|
|
3620
3616
|
for (var r of yt(t))
|
|
3621
|
-
|
|
3617
|
+
qn.call(t, r) && vt(e, r, t[r]);
|
|
3622
3618
|
return e;
|
|
3623
|
-
},
|
|
3624
|
-
let
|
|
3625
|
-
const
|
|
3619
|
+
}, ei = (e, t) => Jn(e, Yn(t));
|
|
3620
|
+
let et;
|
|
3621
|
+
const Ce = ke(null);
|
|
3626
3622
|
function _t(e) {
|
|
3627
3623
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3628
3624
|
}
|
|
3629
|
-
function
|
|
3625
|
+
function Le(e, t = ce().fallbackLocale) {
|
|
3630
3626
|
const r = _t(e);
|
|
3631
3627
|
return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
|
|
3632
3628
|
}
|
|
3633
|
-
function
|
|
3634
|
-
return
|
|
3629
|
+
function ne() {
|
|
3630
|
+
return et ?? void 0;
|
|
3635
3631
|
}
|
|
3636
|
-
|
|
3637
|
-
|
|
3632
|
+
Ce.subscribe((e) => {
|
|
3633
|
+
et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3638
3634
|
});
|
|
3639
|
-
const
|
|
3640
|
-
if (e &&
|
|
3641
|
-
const { loadingDelay: t } =
|
|
3635
|
+
const ti = (e) => {
|
|
3636
|
+
if (e && Gn(e) && Qe(e)) {
|
|
3637
|
+
const { loadingDelay: t } = ce();
|
|
3642
3638
|
let r;
|
|
3643
|
-
return typeof window < "u" &&
|
|
3644
|
-
() =>
|
|
3639
|
+
return typeof window < "u" && ne() != null && t ? r = window.setTimeout(
|
|
3640
|
+
() => Fe.set(!0),
|
|
3645
3641
|
t
|
|
3646
|
-
) :
|
|
3647
|
-
|
|
3642
|
+
) : Fe.set(!0), tr(e).then(() => {
|
|
3643
|
+
Ce.set(e);
|
|
3648
3644
|
}).finally(() => {
|
|
3649
|
-
clearTimeout(r),
|
|
3645
|
+
clearTimeout(r), Fe.set(!1);
|
|
3650
3646
|
});
|
|
3651
3647
|
}
|
|
3652
|
-
return
|
|
3653
|
-
},
|
|
3654
|
-
set:
|
|
3655
|
-
}),
|
|
3648
|
+
return Ce.set(e);
|
|
3649
|
+
}, Q = ei(Qn({}, Ce), {
|
|
3650
|
+
set: ti
|
|
3651
|
+
}), Pe = (e) => {
|
|
3656
3652
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3657
3653
|
return (n) => {
|
|
3658
3654
|
const i = JSON.stringify(n);
|
|
3659
3655
|
return i in t ? t[i] : t[i] = e(n);
|
|
3660
3656
|
};
|
|
3661
3657
|
};
|
|
3662
|
-
var
|
|
3658
|
+
var ri = Object.defineProperty, Se = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
|
|
3663
3659
|
for (var r in t || (t = {}))
|
|
3664
3660
|
rr.call(t, r) && Et(e, r, t[r]);
|
|
3665
|
-
if (
|
|
3666
|
-
for (var r of
|
|
3661
|
+
if (Se)
|
|
3662
|
+
for (var r of Se(t))
|
|
3667
3663
|
nr.call(t, r) && Et(e, r, t[r]);
|
|
3668
3664
|
return e;
|
|
3669
|
-
},
|
|
3665
|
+
}, de = (e, t) => {
|
|
3670
3666
|
var r = {};
|
|
3671
3667
|
for (var n in e)
|
|
3672
3668
|
rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3673
|
-
if (e != null &&
|
|
3674
|
-
for (var n of
|
|
3669
|
+
if (e != null && Se)
|
|
3670
|
+
for (var n of Se(e))
|
|
3675
3671
|
t.indexOf(n) < 0 && nr.call(e, n) && (r[n] = e[n]);
|
|
3676
3672
|
return r;
|
|
3677
3673
|
};
|
|
3678
|
-
const
|
|
3679
|
-
const { formats: r } =
|
|
3674
|
+
const ve = (e, t) => {
|
|
3675
|
+
const { formats: r } = ce();
|
|
3680
3676
|
if (e in r && t in r[e])
|
|
3681
3677
|
return r[e][t];
|
|
3682
3678
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3683
|
-
},
|
|
3679
|
+
}, ni = Pe(
|
|
3684
3680
|
(e) => {
|
|
3685
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3681
|
+
var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
|
|
3686
3682
|
if (r == null)
|
|
3687
3683
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3688
|
-
return n && (i =
|
|
3684
|
+
return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
|
|
3689
3685
|
}
|
|
3690
|
-
),
|
|
3686
|
+
), ii = Pe(
|
|
3691
3687
|
(e) => {
|
|
3692
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3688
|
+
var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
|
|
3693
3689
|
if (r == null)
|
|
3694
3690
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3695
|
-
return n ? i =
|
|
3691
|
+
return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3696
3692
|
}
|
|
3697
|
-
), ai =
|
|
3693
|
+
), ai = Pe(
|
|
3698
3694
|
(e) => {
|
|
3699
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3695
|
+
var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
|
|
3700
3696
|
if (r == null)
|
|
3701
3697
|
throw new Error(
|
|
3702
3698
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3703
3699
|
);
|
|
3704
|
-
return n ? i =
|
|
3700
|
+
return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3705
3701
|
}
|
|
3706
|
-
),
|
|
3702
|
+
), oi = (e = {}) => {
|
|
3707
3703
|
var t = e, {
|
|
3708
|
-
locale: r =
|
|
3709
|
-
} = t, n =
|
|
3704
|
+
locale: r = ne()
|
|
3705
|
+
} = t, n = de(t, [
|
|
3710
3706
|
"locale"
|
|
3711
3707
|
]);
|
|
3712
|
-
return
|
|
3713
|
-
},
|
|
3708
|
+
return ni(at({ locale: r }, n));
|
|
3709
|
+
}, si = (e = {}) => {
|
|
3714
3710
|
var t = e, {
|
|
3715
|
-
locale: r =
|
|
3716
|
-
} = t, n =
|
|
3711
|
+
locale: r = ne()
|
|
3712
|
+
} = t, n = de(t, [
|
|
3717
3713
|
"locale"
|
|
3718
3714
|
]);
|
|
3719
|
-
return
|
|
3720
|
-
},
|
|
3715
|
+
return ii(at({ locale: r }, n));
|
|
3716
|
+
}, ui = (e = {}) => {
|
|
3721
3717
|
var t = e, {
|
|
3722
|
-
locale: r =
|
|
3723
|
-
} = t, n =
|
|
3718
|
+
locale: r = ne()
|
|
3719
|
+
} = t, n = de(t, [
|
|
3724
3720
|
"locale"
|
|
3725
3721
|
]);
|
|
3726
|
-
return ai(
|
|
3727
|
-
},
|
|
3722
|
+
return ai(at({ locale: r }, n));
|
|
3723
|
+
}, li = Pe(
|
|
3728
3724
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3729
|
-
(e, t =
|
|
3730
|
-
ignoreTag:
|
|
3725
|
+
(e, t = ne()) => new On(e, t, ce().formats, {
|
|
3726
|
+
ignoreTag: ce().ignoreTag
|
|
3731
3727
|
})
|
|
3732
|
-
),
|
|
3733
|
-
var r, n, i,
|
|
3728
|
+
), hi = (e, t = {}) => {
|
|
3729
|
+
var r, n, i, a;
|
|
3734
3730
|
let s = t;
|
|
3735
3731
|
typeof e == "object" && (s = e, e = s.id);
|
|
3736
3732
|
const {
|
|
3737
|
-
values:
|
|
3738
|
-
locale: h =
|
|
3733
|
+
values: o,
|
|
3734
|
+
locale: h = ne(),
|
|
3739
3735
|
default: u
|
|
3740
3736
|
} = s;
|
|
3741
3737
|
if (h == null)
|
|
@@ -3744,16 +3740,16 @@ const _e = (e, t) => {
|
|
|
3744
3740
|
);
|
|
3745
3741
|
let l = Kt(e, h);
|
|
3746
3742
|
if (!l)
|
|
3747
|
-
l = (
|
|
3743
|
+
l = (a = (i = (n = (r = ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
|
|
3748
3744
|
else if (typeof l != "string")
|
|
3749
3745
|
return console.warn(
|
|
3750
3746
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3751
3747
|
), l;
|
|
3752
|
-
if (!
|
|
3748
|
+
if (!o)
|
|
3753
3749
|
return l;
|
|
3754
3750
|
let c = l;
|
|
3755
3751
|
try {
|
|
3756
|
-
c =
|
|
3752
|
+
c = li(l, h).format(o);
|
|
3757
3753
|
} catch (f) {
|
|
3758
3754
|
f instanceof Error && console.warn(
|
|
3759
3755
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3761,21 +3757,21 @@ const _e = (e, t) => {
|
|
|
3761
3757
|
);
|
|
3762
3758
|
}
|
|
3763
3759
|
return c;
|
|
3764
|
-
},
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
function
|
|
3770
|
-
|
|
3771
|
-
r == null && (
|
|
3760
|
+
}, ci = (e, t) => ui(t).format(e), fi = (e, t) => si(t).format(e), mi = (e, t) => oi(t).format(e), di = (e, t = ne()) => Kt(e, t), pi = fe([Q, me], () => hi);
|
|
3761
|
+
fe([Q], () => ci);
|
|
3762
|
+
fe([Q], () => fi);
|
|
3763
|
+
fe([Q], () => mi);
|
|
3764
|
+
fe([Q, me], () => di);
|
|
3765
|
+
function bi({ withLocale: e, translations: t }) {
|
|
3766
|
+
Q.subscribe((r) => {
|
|
3767
|
+
r == null && (me.set(t), Q.set(e));
|
|
3772
3768
|
});
|
|
3773
3769
|
}
|
|
3774
3770
|
function xt(e, t) {
|
|
3775
3771
|
Qt(e, t);
|
|
3776
3772
|
}
|
|
3777
|
-
function
|
|
3778
|
-
|
|
3773
|
+
function gi(e) {
|
|
3774
|
+
Q.set(e);
|
|
3779
3775
|
}
|
|
3780
3776
|
const Tt = {
|
|
3781
3777
|
en: {
|
|
@@ -4024,130 +4020,130 @@ const Tt = {
|
|
|
4024
4020
|
YER: "﷼",
|
|
4025
4021
|
ZAR: "R",
|
|
4026
4022
|
ZWD: "Z$"
|
|
4027
|
-
},
|
|
4028
|
-
function
|
|
4023
|
+
}, yi = "data:image/svg+xml,%3csvg%20width='35'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2591_521)'%3e%3cpath%20d='M22.3588%2020.1363C22.3601%2020.7949%2022.1782%2021.4408%2021.8334%2022.0019C21.6456%2022.3247%2021.4036%2022.6127%2021.1179%2022.8533C20.4473%2023.4391%2019.5846%2023.7574%2018.6942%2023.7474C17.8037%2023.7373%2016.9482%2023.3997%2016.2909%2022.7989C16.0353%2022.567%2015.8156%2022.2984%2015.6389%2022.0019C15.3424%2021.5116%2015.1664%2020.958%2015.1255%2020.3865C15.0845%2019.815%2015.1799%2019.2419%2015.4034%2018.7144C15.6399%2018.1566%2016.0124%2017.667%2016.487%2017.2905C16.9617%2016.9139%2017.5234%2016.6623%2018.1204%2016.5589C18.3103%2016.5455%2018.5009%2016.5455%2018.6908%2016.5589C19.6516%2016.5589%2020.573%2016.9406%2021.2524%2017.62C21.9318%2018.2994%2022.3135%2019.2208%2022.3135%2020.1816L22.3588%2020.1363Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17.3242%2020.1371L18.2299%2021.0428L20.1591%2019.2314'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.278%206.46076C21.2037%204.5943%2019.6194%203.073%2017.711%202.0753C15.8025%201.0776%2013.6493%200.644982%2011.5036%200.828135C9.35785%201.01129%207.30885%201.8026%205.59709%203.10931C3.88533%204.41603%202.5817%206.1839%201.83935%208.20542C1.09701%2010.2269%200.9467%2012.4182%201.40598%2014.5222C1.86526%2016.6261%202.91505%2018.5555%204.43229%2020.0838C5.94953%2021.6121%207.87136%2022.6759%209.97194%2023.1504C12.0725%2023.6249%2014.2648%2023.4903%2016.2917%2022.7627C16.0361%2022.5307%2015.8163%2022.2621%2015.6396%2021.9657C15.3432%2021.4754%2015.1671%2020.9217%2015.1262%2020.3502C15.0853%2019.7788%2015.1806%2019.2057%2015.4041%2018.6781C14.4907%2019.0911%2013.4995%2019.3042%2012.497%2019.3031C11.2245%2019.3008%209.97506%2018.9635%208.87436%2018.325C7.77533%2017.6908%206.86538%2016.7747%206.23875%2015.6714V15.6714C5.33468%2014.0218%205.11294%2012.0836%205.62119%2010.2725C6.12945%208.46132%207.32717%206.92144%208.9575%205.98306C10.5878%205.04467%2012.521%204.78249%2014.3424%205.25274C16.1637%205.72298%2017.7284%206.88816%2018.7006%208.4985C18.7123%208.52746%2018.7275%208.55493%2018.746%208.58009C19.3629%209.66322%2019.6875%2010.8882%2019.6875%2012.1347C19.6875%2013.3813%2019.3629%2014.6064%2018.746%2015.6895C18.5748%2015.9855%2018.384%2016.2699%2018.1753%2016.5408C18.3652%2016.5273%2018.556%2016.5273%2018.746%2016.5408C19.3961%2016.5406%2020.0342%2016.7154%2020.5936%2017.0469C21.1529%2017.3783%2021.6128%2017.8543%2021.9249%2018.4246C23.1544%2016.5691%2023.8097%2014.3923%2023.8087%2012.1665C23.8164%2010.1621%2023.2878%208.19215%2022.278%206.46076V6.46076Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4785%200.819336V4.94915'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.1391%202.32227L16.0742%205.89962'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.2866%206.46094L18.7002%208.52584'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.6875%2012.1035L23.7992%2012.1216'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.2775%2017.7729L18.7363%2015.708'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4966%2019.3398L12.4785%2023.4153'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.883%2018.3613L6.82715%2021.8843'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.24745%2015.708L2.69727%2017.7276'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.30577%2012.0946L1.20312%2012.0674'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.30214%208.49903L2.75195%206.41602'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.90918%202.29492L8.94692%205.89039'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.7086%2010.4202H8.7206L7.74805%2011.0146V11.9254L8.61254%2011.4082H8.6357V14.3722H9.7086V10.4202Z'%20fill='white'/%3e%3cpath%20d='M11.7885%2014.4803C12.8633%2014.4822%2013.531%2013.7123%2013.5329%2012.4039C13.5348%2011.1033%2012.8633%2010.3662%2011.7885%2010.3662C10.7117%2010.3662%2010.0479%2011.0995%2010.044%2012.4039C10.0402%2013.7065%2010.7117%2014.4783%2011.7885%2014.4803ZM11.7885%2013.6081C11.418%2013.6081%2011.1517%2013.2356%2011.1555%2012.4039C11.1594%2011.5916%2011.418%2011.2307%2011.7885%2011.2307C12.159%2011.2307%2012.4195%2011.5916%2012.4214%2012.4039C12.4233%2013.2356%2012.159%2013.6081%2011.7885%2013.6081Z'%20fill='white'/%3e%3cpath%20d='M15.305%2014.4803C16.3798%2014.4822%2017.0475%2013.7123%2017.0494%2012.4039C17.0513%2011.1033%2016.3798%2010.3662%2015.305%2010.3662C14.2282%2010.3662%2013.5644%2011.0995%2013.5605%2012.4039C13.5567%2013.7065%2014.2282%2014.4783%2015.305%2014.4803ZM15.305%2013.6081C14.9345%2013.6081%2014.6682%2013.2356%2014.672%2012.4039C14.6759%2011.5916%2014.9345%2011.2307%2015.305%2011.2307C15.6755%2011.2307%2015.936%2011.5916%2015.9379%2012.4039C15.9398%2013.2356%2015.6755%2013.6081%2015.305%2013.6081Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_521'%3e%3crect%20width='24'%20height='24.2989'%20fill='white'%20transform='translate(0.478516%200.139648)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", vi = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2025%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.6712%2020.9658H5.22363V23.2166H19.6712V20.9658Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.9074%2014.8942C16.0065%2013.9267%2019.3847%2011.229%2019.3847%204.9113C19.3847%203.38619%2019.1879%202.20546%2018.7246%201.30762H6.03995C5.58078%202.20546%205.37988%203.38619%205.37988%204.9113C5.37988%2011.0978%208.76219%2013.8611%2010.8572%2014.8696V18.6906H6.40482V20.9414H18.4868V18.6906H13.9074V14.8942Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.41677%203.39453H0.841439C0.841439%203.39453%20-0.343394%209.90085%206.77789%2010.9586'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.499%203.39453H24.0743C24.0743%203.39453%2025.2592%209.90085%2018.1338%2010.9586'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.3862%203.97656L13.2718%206.31343L15.7685%206.43642L13.8211%208.00253L14.4771%2010.4132L12.3862%209.04387L10.2953%2010.4132L10.9472%208.00253L9.00391%206.43642L11.4966%206.31343L12.3862%203.97656Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", ir = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.5%2013.7502C9.5%2014.7202%2010.25%2015.5002%2011.17%2015.5002H13.05C13.85%2015.5002%2014.5%2014.8202%2014.5%2013.9702C14.5%2013.0602%2014.1%2012.7302%2013.51%2012.5202L10.5%2011.4702C9.91%2011.2602%209.51001%2010.9402%209.51001%2010.0202C9.51001%209.18023%2010.16%208.49023%2010.96%208.49023H12.84C13.76%208.49023%2014.51%209.27023%2014.51%2010.2402'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12%207.5V16.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22%2012C22%2017.52%2017.52%2022%2012%2022C6.48%2022%202%2017.52%202%2012C2%206.48%206.48%202%2012%202'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22%206V2H18'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17%207L22%202'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", _i = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%2012C22%2017.52%2017.52%2022%2012%2022C6.48%2022%202%2017.52%202%2012C2%206.48%206.48%202%2012%202C17.52%202%2022%206.48%2022%2012Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15.7099%2015.1798L12.6099%2013.3298C12.0699%2013.0098%2011.6299%2012.2398%2011.6299%2011.6098V7.50977'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Ei = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%2019.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%2012.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%205.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%205.5L4%206.5L7%203.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%2012.5L4%2013.5L7%2010.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%2019.5L4%2020.5L7%2017.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
4024
|
+
function xi(e) {
|
|
4029
4025
|
sr(e, "svelte-1aour49", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-thumbnail-rule{color:#fff;font-size:12px;line-height:15px;letter-spacing:-0.177807px;color:#B5B5B5}.casino-tournaments-thumbnail-rule .RulesRow{padding:10px;display:flex;border-bottom:1px solid #424242}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt{padding:3px 5px}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt a{color:#ff8364;cursor:pointer}.casino-tournaments-thumbnail-rule .RuleIcon{width:38px;height:30px}");
|
|
4030
4026
|
}
|
|
4031
|
-
function
|
|
4027
|
+
function Bt(e) {
|
|
4032
4028
|
let t, r = (
|
|
4033
4029
|
/*$_*/
|
|
4034
4030
|
e[13]("scoreCriteriaType.mostRounds") + ""
|
|
4035
4031
|
), n;
|
|
4036
4032
|
return {
|
|
4037
4033
|
c() {
|
|
4038
|
-
t = new
|
|
4034
|
+
t = new Re(!1), n = Me(), t.a = n;
|
|
4039
4035
|
},
|
|
4040
|
-
m(i,
|
|
4041
|
-
t.m(r, i,
|
|
4036
|
+
m(i, a) {
|
|
4037
|
+
t.m(r, i, a), M(i, n, a);
|
|
4042
4038
|
},
|
|
4043
|
-
p(i,
|
|
4044
|
-
|
|
4039
|
+
p(i, a) {
|
|
4040
|
+
a & /*$_*/
|
|
4045
4041
|
8192 && r !== (r = /*$_*/
|
|
4046
4042
|
i[13]("scoreCriteriaType.mostRounds") + "") && t.p(r);
|
|
4047
4043
|
},
|
|
4048
4044
|
d(i) {
|
|
4049
|
-
i && (
|
|
4045
|
+
i && (H(n), t.d());
|
|
4050
4046
|
}
|
|
4051
4047
|
};
|
|
4052
4048
|
}
|
|
4053
|
-
function
|
|
4049
|
+
function wt(e) {
|
|
4054
4050
|
let t, r = (
|
|
4055
4051
|
/*$_*/
|
|
4056
4052
|
e[13]("scoreCriteriaType.winStateRatio") + ""
|
|
4057
4053
|
), n;
|
|
4058
4054
|
return {
|
|
4059
4055
|
c() {
|
|
4060
|
-
t = new
|
|
4056
|
+
t = new Re(!1), n = Me(), t.a = n;
|
|
4061
4057
|
},
|
|
4062
|
-
m(i,
|
|
4063
|
-
t.m(r, i,
|
|
4058
|
+
m(i, a) {
|
|
4059
|
+
t.m(r, i, a), M(i, n, a);
|
|
4064
4060
|
},
|
|
4065
|
-
p(i,
|
|
4066
|
-
|
|
4061
|
+
p(i, a) {
|
|
4062
|
+
a & /*$_*/
|
|
4067
4063
|
8192 && r !== (r = /*$_*/
|
|
4068
4064
|
i[13]("scoreCriteriaType.winStateRatio") + "") && t.p(r);
|
|
4069
4065
|
},
|
|
4070
4066
|
d(i) {
|
|
4071
|
-
i && (
|
|
4067
|
+
i && (H(n), t.d());
|
|
4072
4068
|
}
|
|
4073
4069
|
};
|
|
4074
4070
|
}
|
|
4075
|
-
function
|
|
4071
|
+
function Ht(e) {
|
|
4076
4072
|
let t, r = (
|
|
4077
4073
|
/*$_*/
|
|
4078
4074
|
e[13]("scoreCriteriaType.maxWinStateRatio") + ""
|
|
4079
4075
|
), n;
|
|
4080
4076
|
return {
|
|
4081
4077
|
c() {
|
|
4082
|
-
t = new
|
|
4078
|
+
t = new Re(!1), n = Me(), t.a = n;
|
|
4083
4079
|
},
|
|
4084
|
-
m(i,
|
|
4085
|
-
t.m(r, i,
|
|
4080
|
+
m(i, a) {
|
|
4081
|
+
t.m(r, i, a), M(i, n, a);
|
|
4086
4082
|
},
|
|
4087
|
-
p(i,
|
|
4088
|
-
|
|
4083
|
+
p(i, a) {
|
|
4084
|
+
a & /*$_*/
|
|
4089
4085
|
8192 && r !== (r = /*$_*/
|
|
4090
4086
|
i[13]("scoreCriteriaType.maxWinStateRatio") + "") && t.p(r);
|
|
4091
4087
|
},
|
|
4092
4088
|
d(i) {
|
|
4093
|
-
i && (
|
|
4089
|
+
i && (H(n), t.d());
|
|
4094
4090
|
}
|
|
4095
4091
|
};
|
|
4096
4092
|
}
|
|
4097
|
-
function
|
|
4093
|
+
function Ct(e) {
|
|
4098
4094
|
let t, r = (
|
|
4099
4095
|
/*$_*/
|
|
4100
4096
|
e[13]("scoreCriteriaType.stake") + ""
|
|
4101
4097
|
), n;
|
|
4102
4098
|
return {
|
|
4103
4099
|
c() {
|
|
4104
|
-
t = new
|
|
4100
|
+
t = new Re(!1), n = Me(), t.a = n;
|
|
4105
4101
|
},
|
|
4106
|
-
m(i,
|
|
4107
|
-
t.m(r, i,
|
|
4102
|
+
m(i, a) {
|
|
4103
|
+
t.m(r, i, a), M(i, n, a);
|
|
4108
4104
|
},
|
|
4109
|
-
p(i,
|
|
4110
|
-
|
|
4105
|
+
p(i, a) {
|
|
4106
|
+
a & /*$_*/
|
|
4111
4107
|
8192 && r !== (r = /*$_*/
|
|
4112
4108
|
i[13]("scoreCriteriaType.stake") + "") && t.p(r);
|
|
4113
4109
|
},
|
|
4114
4110
|
d(i) {
|
|
4115
|
-
i && (
|
|
4111
|
+
i && (H(n), t.d());
|
|
4116
4112
|
}
|
|
4117
4113
|
};
|
|
4118
4114
|
}
|
|
4119
|
-
function
|
|
4115
|
+
function St(e) {
|
|
4120
4116
|
let t, r, n;
|
|
4121
|
-
function i(
|
|
4117
|
+
function i(o, h) {
|
|
4122
4118
|
return (
|
|
4123
4119
|
/*noMinCasinoBet*/
|
|
4124
|
-
|
|
4125
|
-
|
|
4120
|
+
o[8] && /*noMaxCasinoBet*/
|
|
4121
|
+
o[9] ? Hi : (
|
|
4126
4122
|
/*noMinCasinoBet*/
|
|
4127
|
-
|
|
4123
|
+
o[8] ? wi : (
|
|
4128
4124
|
/*noMaxCasinoBet*/
|
|
4129
|
-
|
|
4125
|
+
o[9] ? Bi : Ti
|
|
4130
4126
|
)
|
|
4131
4127
|
)
|
|
4132
4128
|
);
|
|
4133
4129
|
}
|
|
4134
|
-
let
|
|
4130
|
+
let a = i(e), s = a(e);
|
|
4135
4131
|
return {
|
|
4136
4132
|
c() {
|
|
4137
|
-
t =
|
|
4133
|
+
t = x("div"), r = x("div"), r.innerHTML = `<img src="${ir}"/>`, n = P(), s.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
|
|
4138
4134
|
},
|
|
4139
|
-
m(
|
|
4140
|
-
M(
|
|
4135
|
+
m(o, h) {
|
|
4136
|
+
M(o, t, h), p(t, r), p(t, n), s.m(t, null);
|
|
4141
4137
|
},
|
|
4142
|
-
p(
|
|
4143
|
-
|
|
4138
|
+
p(o, h) {
|
|
4139
|
+
a === (a = i(o)) && s ? s.p(o, h) : (s.d(1), s = a(o), s && (s.c(), s.m(t, null)));
|
|
4144
4140
|
},
|
|
4145
|
-
d(
|
|
4146
|
-
|
|
4141
|
+
d(o) {
|
|
4142
|
+
o && H(t), s.d();
|
|
4147
4143
|
}
|
|
4148
4144
|
};
|
|
4149
4145
|
}
|
|
4150
|
-
function
|
|
4146
|
+
function Ti(e) {
|
|
4151
4147
|
let t, r = (
|
|
4152
4148
|
/*$_*/
|
|
4153
4149
|
e[13]("productMinMaxBet", {
|
|
@@ -4179,13 +4175,13 @@ function wi(e) {
|
|
|
4179
4175
|
), n;
|
|
4180
4176
|
return {
|
|
4181
4177
|
c() {
|
|
4182
|
-
t =
|
|
4178
|
+
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4183
4179
|
},
|
|
4184
|
-
m(i,
|
|
4185
|
-
M(i, t,
|
|
4180
|
+
m(i, a) {
|
|
4181
|
+
M(i, t, a), p(t, n);
|
|
4186
4182
|
},
|
|
4187
|
-
p(i,
|
|
4188
|
-
|
|
4183
|
+
p(i, a) {
|
|
4184
|
+
a & /*$_, casino, currency*/
|
|
4189
4185
|
12352 && r !== (r = /*$_*/
|
|
4190
4186
|
i[13]("productMinMaxBet", {
|
|
4191
4187
|
values: {
|
|
@@ -4212,10 +4208,10 @@ function wi(e) {
|
|
|
4212
4208
|
] : ""}${/*casino*/
|
|
4213
4209
|
i[6].maxbet}`
|
|
4214
4210
|
}
|
|
4215
|
-
}) + "") &&
|
|
4211
|
+
}) + "") && J(n, r);
|
|
4216
4212
|
},
|
|
4217
4213
|
d(i) {
|
|
4218
|
-
i &&
|
|
4214
|
+
i && H(t);
|
|
4219
4215
|
}
|
|
4220
4216
|
};
|
|
4221
4217
|
}
|
|
@@ -4242,13 +4238,13 @@ function Bi(e) {
|
|
|
4242
4238
|
), n;
|
|
4243
4239
|
return {
|
|
4244
4240
|
c() {
|
|
4245
|
-
t =
|
|
4241
|
+
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4246
4242
|
},
|
|
4247
|
-
m(i,
|
|
4248
|
-
M(i, t,
|
|
4243
|
+
m(i, a) {
|
|
4244
|
+
M(i, t, a), p(t, n);
|
|
4249
4245
|
},
|
|
4250
|
-
p(i,
|
|
4251
|
-
|
|
4246
|
+
p(i, a) {
|
|
4247
|
+
a & /*$_, casino, currency*/
|
|
4252
4248
|
12352 && r !== (r = /*$_*/
|
|
4253
4249
|
i[13]("productMinBet", {
|
|
4254
4250
|
values: {
|
|
@@ -4266,14 +4262,14 @@ function Bi(e) {
|
|
|
4266
4262
|
] : ""}${/*casino*/
|
|
4267
4263
|
i[6].minbet}`
|
|
4268
4264
|
}
|
|
4269
|
-
}) + "") &&
|
|
4265
|
+
}) + "") && J(n, r);
|
|
4270
4266
|
},
|
|
4271
4267
|
d(i) {
|
|
4272
|
-
i &&
|
|
4268
|
+
i && H(t);
|
|
4273
4269
|
}
|
|
4274
4270
|
};
|
|
4275
4271
|
}
|
|
4276
|
-
function
|
|
4272
|
+
function wi(e) {
|
|
4277
4273
|
let t, r = (
|
|
4278
4274
|
/*$_*/
|
|
4279
4275
|
e[13]("productMaxBet", {
|
|
@@ -4296,13 +4292,13 @@ function Si(e) {
|
|
|
4296
4292
|
), n;
|
|
4297
4293
|
return {
|
|
4298
4294
|
c() {
|
|
4299
|
-
t =
|
|
4295
|
+
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4300
4296
|
},
|
|
4301
|
-
m(i,
|
|
4302
|
-
M(i, t,
|
|
4297
|
+
m(i, a) {
|
|
4298
|
+
M(i, t, a), p(t, n);
|
|
4303
4299
|
},
|
|
4304
|
-
p(i,
|
|
4305
|
-
|
|
4300
|
+
p(i, a) {
|
|
4301
|
+
a & /*$_, casino, currency*/
|
|
4306
4302
|
12352 && r !== (r = /*$_*/
|
|
4307
4303
|
i[13]("productMaxBet", {
|
|
4308
4304
|
values: {
|
|
@@ -4320,10 +4316,10 @@ function Si(e) {
|
|
|
4320
4316
|
] : ""}${/*casino*/
|
|
4321
4317
|
i[6].maxbet}`
|
|
4322
4318
|
}
|
|
4323
|
-
}) + "") &&
|
|
4319
|
+
}) + "") && J(n, r);
|
|
4324
4320
|
},
|
|
4325
4321
|
d(i) {
|
|
4326
|
-
i &&
|
|
4322
|
+
i && H(t);
|
|
4327
4323
|
}
|
|
4328
4324
|
};
|
|
4329
4325
|
}
|
|
@@ -4339,54 +4335,54 @@ function Hi(e) {
|
|
|
4339
4335
|
), n;
|
|
4340
4336
|
return {
|
|
4341
4337
|
c() {
|
|
4342
|
-
t =
|
|
4338
|
+
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4343
4339
|
},
|
|
4344
|
-
m(i,
|
|
4345
|
-
M(i, t,
|
|
4340
|
+
m(i, a) {
|
|
4341
|
+
M(i, t, a), p(t, n);
|
|
4346
4342
|
},
|
|
4347
|
-
p(i,
|
|
4348
|
-
|
|
4343
|
+
p(i, a) {
|
|
4344
|
+
a & /*$_, casino*/
|
|
4349
4345
|
8256 && r !== (r = /*$_*/
|
|
4350
4346
|
i[13]("productNoLimitsBet", {
|
|
4351
4347
|
values: { productName: (
|
|
4352
4348
|
/*casino*/
|
|
4353
4349
|
i[6].name
|
|
4354
4350
|
) }
|
|
4355
|
-
}) + "") &&
|
|
4351
|
+
}) + "") && J(n, r);
|
|
4356
4352
|
},
|
|
4357
4353
|
d(i) {
|
|
4358
|
-
i &&
|
|
4354
|
+
i && H(t);
|
|
4359
4355
|
}
|
|
4360
4356
|
};
|
|
4361
4357
|
}
|
|
4362
4358
|
function Mt(e) {
|
|
4363
4359
|
let t, r, n;
|
|
4364
|
-
function i(
|
|
4360
|
+
function i(o, h) {
|
|
4365
4361
|
return (
|
|
4366
4362
|
/*noMinSportsBet*/
|
|
4367
|
-
|
|
4368
|
-
|
|
4363
|
+
o[10] && /*noMaxSportsBet*/
|
|
4364
|
+
o[11] ? Ri : (
|
|
4369
4365
|
/*noMinSportsBet*/
|
|
4370
|
-
|
|
4366
|
+
o[10] ? Mi : (
|
|
4371
4367
|
/*noMaxSportsBet*/
|
|
4372
|
-
|
|
4368
|
+
o[11] ? Si : Ci
|
|
4373
4369
|
)
|
|
4374
4370
|
)
|
|
4375
4371
|
);
|
|
4376
4372
|
}
|
|
4377
|
-
let
|
|
4373
|
+
let a = i(e), s = a(e);
|
|
4378
4374
|
return {
|
|
4379
4375
|
c() {
|
|
4380
|
-
t =
|
|
4376
|
+
t = x("div"), r = x("div"), r.innerHTML = `<img src="${ir}"/>`, n = P(), s.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
|
|
4381
4377
|
},
|
|
4382
|
-
m(
|
|
4383
|
-
M(
|
|
4378
|
+
m(o, h) {
|
|
4379
|
+
M(o, t, h), p(t, r), p(t, n), s.m(t, null);
|
|
4384
4380
|
},
|
|
4385
|
-
p(
|
|
4386
|
-
|
|
4381
|
+
p(o, h) {
|
|
4382
|
+
a === (a = i(o)) && s ? s.p(o, h) : (s.d(1), s = a(o), s && (s.c(), s.m(t, null)));
|
|
4387
4383
|
},
|
|
4388
|
-
d(
|
|
4389
|
-
|
|
4384
|
+
d(o) {
|
|
4385
|
+
o && H(t), s.d();
|
|
4390
4386
|
}
|
|
4391
4387
|
};
|
|
4392
4388
|
}
|
|
@@ -4422,13 +4418,13 @@ function Ci(e) {
|
|
|
4422
4418
|
), n;
|
|
4423
4419
|
return {
|
|
4424
4420
|
c() {
|
|
4425
|
-
t =
|
|
4421
|
+
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4426
4422
|
},
|
|
4427
|
-
m(i,
|
|
4428
|
-
M(i, t,
|
|
4423
|
+
m(i, a) {
|
|
4424
|
+
M(i, t, a), p(t, n);
|
|
4429
4425
|
},
|
|
4430
|
-
p(i,
|
|
4431
|
-
|
|
4426
|
+
p(i, a) {
|
|
4427
|
+
a & /*$_, sports, currency*/
|
|
4432
4428
|
12416 && r !== (r = /*$_*/
|
|
4433
4429
|
i[13]("productMinMaxBet", {
|
|
4434
4430
|
values: {
|
|
@@ -4455,14 +4451,14 @@ function Ci(e) {
|
|
|
4455
4451
|
] : ""}${/*sports*/
|
|
4456
4452
|
i[7].maxbet}`
|
|
4457
4453
|
}
|
|
4458
|
-
}) + "") &&
|
|
4454
|
+
}) + "") && J(n, r);
|
|
4459
4455
|
},
|
|
4460
4456
|
d(i) {
|
|
4461
|
-
i &&
|
|
4457
|
+
i && H(t);
|
|
4462
4458
|
}
|
|
4463
4459
|
};
|
|
4464
4460
|
}
|
|
4465
|
-
function
|
|
4461
|
+
function Si(e) {
|
|
4466
4462
|
let t, r = (
|
|
4467
4463
|
/*$_*/
|
|
4468
4464
|
e[13]("productMinBet", {
|
|
@@ -4485,13 +4481,13 @@ function Mi(e) {
|
|
|
4485
4481
|
), n;
|
|
4486
4482
|
return {
|
|
4487
4483
|
c() {
|
|
4488
|
-
t =
|
|
4484
|
+
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4489
4485
|
},
|
|
4490
|
-
m(i,
|
|
4491
|
-
M(i, t,
|
|
4486
|
+
m(i, a) {
|
|
4487
|
+
M(i, t, a), p(t, n);
|
|
4492
4488
|
},
|
|
4493
|
-
p(i,
|
|
4494
|
-
|
|
4489
|
+
p(i, a) {
|
|
4490
|
+
a & /*$_, sports, currency*/
|
|
4495
4491
|
12416 && r !== (r = /*$_*/
|
|
4496
4492
|
i[13]("productMinBet", {
|
|
4497
4493
|
values: {
|
|
@@ -4509,14 +4505,14 @@ function Mi(e) {
|
|
|
4509
4505
|
] : ""}${/*sports*/
|
|
4510
4506
|
i[7].minbet}`
|
|
4511
4507
|
}
|
|
4512
|
-
}) + "") &&
|
|
4508
|
+
}) + "") && J(n, r);
|
|
4513
4509
|
},
|
|
4514
4510
|
d(i) {
|
|
4515
|
-
i &&
|
|
4511
|
+
i && H(t);
|
|
4516
4512
|
}
|
|
4517
4513
|
};
|
|
4518
4514
|
}
|
|
4519
|
-
function
|
|
4515
|
+
function Mi(e) {
|
|
4520
4516
|
let t, r = (
|
|
4521
4517
|
/*$_*/
|
|
4522
4518
|
e[13]("productMaxBet", {
|
|
@@ -4539,13 +4535,13 @@ function Ri(e) {
|
|
|
4539
4535
|
), n;
|
|
4540
4536
|
return {
|
|
4541
4537
|
c() {
|
|
4542
|
-
t =
|
|
4538
|
+
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4543
4539
|
},
|
|
4544
|
-
m(i,
|
|
4545
|
-
M(i, t,
|
|
4540
|
+
m(i, a) {
|
|
4541
|
+
M(i, t, a), p(t, n);
|
|
4546
4542
|
},
|
|
4547
|
-
p(i,
|
|
4548
|
-
|
|
4543
|
+
p(i, a) {
|
|
4544
|
+
a & /*$_, sports, currency*/
|
|
4549
4545
|
12416 && r !== (r = /*$_*/
|
|
4550
4546
|
i[13]("productMaxBet", {
|
|
4551
4547
|
values: {
|
|
@@ -4563,14 +4559,14 @@ function Ri(e) {
|
|
|
4563
4559
|
] : ""}${/*sports*/
|
|
4564
4560
|
i[7].maxbet}`
|
|
4565
4561
|
}
|
|
4566
|
-
}) + "") &&
|
|
4562
|
+
}) + "") && J(n, r);
|
|
4567
4563
|
},
|
|
4568
4564
|
d(i) {
|
|
4569
|
-
i &&
|
|
4565
|
+
i && H(t);
|
|
4570
4566
|
}
|
|
4571
4567
|
};
|
|
4572
4568
|
}
|
|
4573
|
-
function
|
|
4569
|
+
function Ri(e) {
|
|
4574
4570
|
let t, r = (
|
|
4575
4571
|
/*$_*/
|
|
4576
4572
|
e[13]("productNoLimitsBet", {
|
|
@@ -4582,28 +4578,28 @@ function ki(e) {
|
|
|
4582
4578
|
), n;
|
|
4583
4579
|
return {
|
|
4584
4580
|
c() {
|
|
4585
|
-
t =
|
|
4581
|
+
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4586
4582
|
},
|
|
4587
|
-
m(i,
|
|
4588
|
-
M(i, t,
|
|
4583
|
+
m(i, a) {
|
|
4584
|
+
M(i, t, a), p(t, n);
|
|
4589
4585
|
},
|
|
4590
|
-
p(i,
|
|
4591
|
-
|
|
4586
|
+
p(i, a) {
|
|
4587
|
+
a & /*$_, sports*/
|
|
4592
4588
|
8320 && r !== (r = /*$_*/
|
|
4593
4589
|
i[13]("productNoLimitsBet", {
|
|
4594
4590
|
values: { productName: (
|
|
4595
4591
|
/*sports*/
|
|
4596
4592
|
i[7].name
|
|
4597
4593
|
) }
|
|
4598
|
-
}) + "") &&
|
|
4594
|
+
}) + "") && J(n, r);
|
|
4599
4595
|
},
|
|
4600
4596
|
d(i) {
|
|
4601
|
-
i &&
|
|
4597
|
+
i && H(t);
|
|
4602
4598
|
}
|
|
4603
4599
|
};
|
|
4604
4600
|
}
|
|
4605
|
-
function
|
|
4606
|
-
let t, r, n, i,
|
|
4601
|
+
function ki(e) {
|
|
4602
|
+
let t, r, n, i, a, s, o, h, u, l, c, f, g, y = (
|
|
4607
4603
|
/*$_*/
|
|
4608
4604
|
e[13]("miniBetCount", {
|
|
4609
4605
|
values: { betCount: (
|
|
@@ -4611,7 +4607,7 @@ function Ni(e) {
|
|
|
4611
4607
|
e[1]
|
|
4612
4608
|
) }
|
|
4613
4609
|
}) + ""
|
|
4614
|
-
),
|
|
4610
|
+
), T, w, C, R, S, N, A = (
|
|
4615
4611
|
/*$_*/
|
|
4616
4612
|
e[13]("timePeriod", {
|
|
4617
4613
|
values: {
|
|
@@ -4625,92 +4621,92 @@ function Ni(e) {
|
|
|
4625
4621
|
)
|
|
4626
4622
|
}
|
|
4627
4623
|
}) + ""
|
|
4628
|
-
), Z,
|
|
4624
|
+
), Z, ee, Y, te, Ee, K, re = (
|
|
4629
4625
|
/*$_*/
|
|
4630
4626
|
e[13]("terms", { values: { tcUrl: (
|
|
4631
4627
|
/*tcurl*/
|
|
4632
4628
|
e[4]
|
|
4633
4629
|
) } }) + ""
|
|
4634
|
-
),
|
|
4630
|
+
), xe, d, L, X, ot, I = (
|
|
4635
4631
|
/*scorecriterial*/
|
|
4636
|
-
e[0] == "BetCount" &&
|
|
4632
|
+
e[0] == "BetCount" && Bt(e)
|
|
4637
4633
|
), $ = (
|
|
4638
4634
|
/*scorecriterial*/
|
|
4639
|
-
e[0] == "WinStakeRatio" &&
|
|
4635
|
+
e[0] == "WinStakeRatio" && wt(e)
|
|
4640
4636
|
), D = (
|
|
4641
4637
|
/*scorecriterial*/
|
|
4642
|
-
e[0] == "MaxWinStakeRatio" &&
|
|
4638
|
+
e[0] == "MaxWinStakeRatio" && Ht(e)
|
|
4643
4639
|
), U = (
|
|
4644
4640
|
/*scorecriterial*/
|
|
4645
|
-
e[0] == "Stake" &&
|
|
4641
|
+
e[0] == "Stake" && Ct(e)
|
|
4646
4642
|
), G = (
|
|
4647
4643
|
/*casino*/
|
|
4648
|
-
e[6] &&
|
|
4644
|
+
e[6] && St(e)
|
|
4649
4645
|
), F = (
|
|
4650
4646
|
/*sports*/
|
|
4651
4647
|
e[7] && Mt(e)
|
|
4652
4648
|
);
|
|
4653
4649
|
return {
|
|
4654
4650
|
c() {
|
|
4655
|
-
t =
|
|
4651
|
+
t = x("div"), r = x("div"), n = x("div"), n.innerHTML = `<img src="${vi}"/>`, i = P(), a = x("div"), I && I.c(), s = P(), $ && $.c(), o = P(), D && D.c(), h = P(), U && U.c(), u = P(), l = x("div"), c = x("div"), c.innerHTML = `<img src="${yi}"/>`, f = P(), g = x("div"), T = z(y), w = P(), C = x("div"), R = x("div"), R.innerHTML = `<img src="${_i}"/>`, S = P(), N = x("div"), Z = z(A), ee = P(), Y = x("div"), te = x("div"), te.innerHTML = `<img src="${Ei}"/>`, Ee = P(), K = x("div"), xe = P(), G && G.c(), d = P(), L = x("span"), ot = P(), F && F.c(), m(n, "class", "RuleIcon"), m(n, "part", "RuleIcon"), m(a, "class", "RuleTxt"), m(a, "part", "RuleTxt"), m(r, "class", "RulesRow"), m(r, "part", "rule"), m(c, "class", "RuleIcon"), m(c, "part", "RuleIcon"), m(g, "class", "RuleTxt"), m(g, "part", "RuleTxt"), m(l, "class", "RulesRow"), m(l, "part", "rule"), m(R, "class", "RuleIcon"), m(R, "part", "RuleIcon"), m(N, "class", "RuleTxt"), m(N, "part", "RuleTxt"), m(C, "class", "RulesRow"), m(C, "part", "rule"), m(te, "class", "RuleIcon"), m(te, "part", "RuleIcon"), m(K, "class", "RuleTxt"), m(K, "part", "RuleTxt"), m(Y, "class", "RulesRow"), m(Y, "part", "rule"), m(L, "type", "hidden"), m(L, "href", X = { tcurl: (
|
|
4656
4652
|
/*tcurl*/
|
|
4657
4653
|
e[4]
|
|
4658
4654
|
) }), m(t, "class", "casino-tournaments-thumbnail-rule"), m(t, "part", "casino-tournaments-thumbnail-rule");
|
|
4659
4655
|
},
|
|
4660
|
-
m(
|
|
4661
|
-
M(
|
|
4656
|
+
m(E, j) {
|
|
4657
|
+
M(E, t, j), p(t, r), p(r, n), p(r, i), p(r, a), I && I.m(a, null), p(a, s), $ && $.m(a, null), p(a, o), D && D.m(a, null), p(a, h), U && U.m(a, null), p(t, u), p(t, l), p(l, c), p(l, f), p(l, g), p(g, T), p(t, w), p(t, C), p(C, R), p(C, S), p(C, N), p(N, Z), p(t, ee), p(t, Y), p(Y, te), p(Y, Ee), p(Y, K), K.innerHTML = re, p(t, xe), G && G.m(t, null), p(t, d), p(t, L), p(t, ot), F && F.m(t, null), e[20](t);
|
|
4662
4658
|
},
|
|
4663
|
-
p(
|
|
4659
|
+
p(E, [j]) {
|
|
4664
4660
|
/*scorecriterial*/
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4661
|
+
E[0] == "BetCount" ? I ? I.p(E, j) : (I = Bt(E), I.c(), I.m(a, s)) : I && (I.d(1), I = null), /*scorecriterial*/
|
|
4662
|
+
E[0] == "WinStakeRatio" ? $ ? $.p(E, j) : ($ = wt(E), $.c(), $.m(a, o)) : $ && ($.d(1), $ = null), /*scorecriterial*/
|
|
4663
|
+
E[0] == "MaxWinStakeRatio" ? D ? D.p(E, j) : (D = Ht(E), D.c(), D.m(a, h)) : D && (D.d(1), D = null), /*scorecriterial*/
|
|
4664
|
+
E[0] == "Stake" ? U ? U.p(E, j) : (U = Ct(E), U.c(), U.m(a, null)) : U && (U.d(1), U = null), j & /*$_, betcount*/
|
|
4669
4665
|
8194 && y !== (y = /*$_*/
|
|
4670
|
-
|
|
4666
|
+
E[13]("miniBetCount", {
|
|
4671
4667
|
values: { betCount: (
|
|
4672
4668
|
/*betcount*/
|
|
4673
|
-
|
|
4669
|
+
E[1]
|
|
4674
4670
|
) }
|
|
4675
|
-
}) + "") &&
|
|
4671
|
+
}) + "") && J(T, y), j & /*$_, starttime, endtime*/
|
|
4676
4672
|
8204 && A !== (A = /*$_*/
|
|
4677
|
-
|
|
4673
|
+
E[13]("timePeriod", {
|
|
4678
4674
|
values: {
|
|
4679
4675
|
startTime: (
|
|
4680
4676
|
/*starttime*/
|
|
4681
|
-
|
|
4677
|
+
E[2]
|
|
4682
4678
|
),
|
|
4683
4679
|
endTime: (
|
|
4684
4680
|
/*endtime*/
|
|
4685
|
-
|
|
4681
|
+
E[3]
|
|
4686
4682
|
)
|
|
4687
4683
|
}
|
|
4688
|
-
}) + "") &&
|
|
4689
|
-
8208 &&
|
|
4690
|
-
|
|
4684
|
+
}) + "") && J(Z, A), j & /*$_, tcurl*/
|
|
4685
|
+
8208 && re !== (re = /*$_*/
|
|
4686
|
+
E[13]("terms", { values: { tcUrl: (
|
|
4691
4687
|
/*tcurl*/
|
|
4692
|
-
|
|
4693
|
-
) } }) + "") && (
|
|
4694
|
-
|
|
4688
|
+
E[4]
|
|
4689
|
+
) } }) + "") && (K.innerHTML = re), /*casino*/
|
|
4690
|
+
E[6] ? G ? G.p(E, j) : (G = St(E), G.c(), G.m(t, d)) : G && (G.d(1), G = null), j & /*tcurl*/
|
|
4695
4691
|
16 && X !== (X = { tcurl: (
|
|
4696
4692
|
/*tcurl*/
|
|
4697
|
-
|
|
4693
|
+
E[4]
|
|
4698
4694
|
) }) && m(L, "href", X), /*sports*/
|
|
4699
|
-
|
|
4695
|
+
E[7] ? F ? F.p(E, j) : (F = Mt(E), F.c(), F.m(t, null)) : F && (F.d(1), F = null);
|
|
4700
4696
|
},
|
|
4701
4697
|
i: W,
|
|
4702
4698
|
o: W,
|
|
4703
|
-
d(
|
|
4704
|
-
|
|
4699
|
+
d(E) {
|
|
4700
|
+
E && H(t), I && I.d(), $ && $.d(), D && D.d(), U && U.d(), G && G.d(), F && F.d(), e[20](null);
|
|
4705
4701
|
}
|
|
4706
4702
|
};
|
|
4707
4703
|
}
|
|
4708
|
-
function
|
|
4704
|
+
function Ni(e, t, r) {
|
|
4709
4705
|
let n;
|
|
4710
|
-
|
|
4711
|
-
let { lang: i = "tr" } = t, { scorecriterial:
|
|
4712
|
-
|
|
4713
|
-
const Z = (d) => typeof d == "number" || Object.prototype.toString.call(d) === "[object Number]",
|
|
4706
|
+
or(e, pi, (d) => r(13, n = d));
|
|
4707
|
+
let { lang: i = "tr" } = t, { scorecriterial: a = "BetCount" } = t, { betcount: s } = t, { starttime: o } = t, { endtime: h } = t, { tcurl: u } = t, { products: l = "{}" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: g = "" } = t, y, T, w, C = !1, R = !1, S = !1, N = !1, A = "EUR";
|
|
4708
|
+
bi({ withLocale: "en", translations: {} });
|
|
4709
|
+
const Z = (d) => typeof d == "number" || Object.prototype.toString.call(d) === "[object Number]", ee = () => {
|
|
4714
4710
|
fetch(g).then((L) => L.json()).then((L) => {
|
|
4715
4711
|
Object.keys(L).forEach((X) => {
|
|
4716
4712
|
xt(X, L[X]);
|
|
@@ -4722,14 +4718,14 @@ function Ai(e, t, r) {
|
|
|
4722
4718
|
Object.keys(Tt).forEach((d) => {
|
|
4723
4719
|
xt(d, Tt[d]);
|
|
4724
4720
|
});
|
|
4725
|
-
const
|
|
4726
|
-
d && (r(12, A = d.currency), d.casino ? (r(6,
|
|
4727
|
-
},
|
|
4728
|
-
|
|
4729
|
-
},
|
|
4721
|
+
const Y = (d) => {
|
|
4722
|
+
d && (r(12, A = d.currency), d.casino ? (r(6, T = d.casino), r(8, C = !(T.hasOwnProperty("minbet") && T.minbet != 0)), r(9, R = !(T.hasOwnProperty("maxbet") && T.maxbet != 0))) : (r(8, C = !0), r(9, R = !0)), d.sports ? (r(7, w = d.sports), r(10, S = !(w.hasOwnProperty("minbet") && w.minbet != 0)), r(11, N = !(w.hasOwnProperty("maxbet") && w.maxbet != 0))) : (r(10, S = !0), r(11, N = !0)));
|
|
4723
|
+
}, te = () => {
|
|
4724
|
+
gi(i);
|
|
4725
|
+
}, Ee = () => {
|
|
4730
4726
|
let d = document.createElement("style");
|
|
4731
4727
|
d.innerHTML = c, y.appendChild(d);
|
|
4732
|
-
},
|
|
4728
|
+
}, K = () => {
|
|
4733
4729
|
let d = new URL(f), L = document.createElement("style");
|
|
4734
4730
|
fetch(d.href).then((X) => X.text()).then((X) => {
|
|
4735
4731
|
L.innerHTML = X, setTimeout(
|
|
@@ -4743,38 +4739,38 @@ function Ai(e, t, r) {
|
|
|
4743
4739
|
500
|
|
4744
4740
|
);
|
|
4745
4741
|
});
|
|
4746
|
-
},
|
|
4742
|
+
}, re = (d) => {
|
|
4747
4743
|
d.data && d.data.type && d.type == "TournamentsProductsUpdate" && r(15, l = d.data.productInfo);
|
|
4748
4744
|
};
|
|
4749
|
-
dr(() => (window.addEventListener("message",
|
|
4750
|
-
window.removeEventListener("message",
|
|
4745
|
+
dr(() => (window.addEventListener("message", re, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
|
|
4746
|
+
window.removeEventListener("message", re);
|
|
4751
4747
|
}));
|
|
4752
|
-
function
|
|
4753
|
-
|
|
4748
|
+
function xe(d) {
|
|
4749
|
+
je[d ? "unshift" : "push"](() => {
|
|
4754
4750
|
y = d, r(5, y);
|
|
4755
4751
|
});
|
|
4756
4752
|
}
|
|
4757
4753
|
return e.$$set = (d) => {
|
|
4758
|
-
"lang" in d && r(16, i = d.lang), "scorecriterial" in d && r(0,
|
|
4754
|
+
"lang" in d && r(16, i = d.lang), "scorecriterial" in d && r(0, a = d.scorecriterial), "betcount" in d && r(1, s = d.betcount), "starttime" in d && r(2, o = d.starttime), "endtime" in d && r(3, h = d.endtime), "tcurl" in d && r(4, u = d.tcurl), "products" in d && r(15, l = d.products), "clientstyling" in d && r(17, c = d.clientstyling), "clientstylingurl" in d && r(18, f = d.clientstylingurl), "translationurl" in d && r(19, g = d.translationurl);
|
|
4759
4755
|
}, e.$$.update = () => {
|
|
4760
4756
|
e.$$.dirty & /*lang*/
|
|
4761
|
-
65536 && i &&
|
|
4762
|
-
32768 && l &&
|
|
4763
|
-
131104 && c && y &&
|
|
4764
|
-
262176 && f && y &&
|
|
4765
|
-
524288 && g &&
|
|
4757
|
+
65536 && i && te(), e.$$.dirty & /*products*/
|
|
4758
|
+
32768 && l && Y(l), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4759
|
+
131104 && c && y && Ee(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4760
|
+
262176 && f && y && K(), e.$$.dirty & /*translationurl*/
|
|
4761
|
+
524288 && g && ee();
|
|
4766
4762
|
}, [
|
|
4767
|
-
o,
|
|
4768
|
-
s,
|
|
4769
4763
|
a,
|
|
4764
|
+
s,
|
|
4765
|
+
o,
|
|
4770
4766
|
h,
|
|
4771
4767
|
u,
|
|
4772
4768
|
y,
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
H,
|
|
4776
|
-
R,
|
|
4769
|
+
T,
|
|
4770
|
+
w,
|
|
4777
4771
|
C,
|
|
4772
|
+
R,
|
|
4773
|
+
S,
|
|
4778
4774
|
N,
|
|
4779
4775
|
A,
|
|
4780
4776
|
n,
|
|
@@ -4784,16 +4780,16 @@ function Ai(e, t, r) {
|
|
|
4784
4780
|
c,
|
|
4785
4781
|
f,
|
|
4786
4782
|
g,
|
|
4787
|
-
|
|
4783
|
+
xe
|
|
4788
4784
|
];
|
|
4789
4785
|
}
|
|
4790
|
-
class
|
|
4786
|
+
class Ai extends Hr {
|
|
4791
4787
|
constructor(t) {
|
|
4792
|
-
super(),
|
|
4788
|
+
super(), Br(
|
|
4793
4789
|
this,
|
|
4794
4790
|
t,
|
|
4795
|
-
Ai,
|
|
4796
4791
|
Ni,
|
|
4792
|
+
ki,
|
|
4797
4793
|
kt,
|
|
4798
4794
|
{
|
|
4799
4795
|
lang: 16,
|
|
@@ -4807,7 +4803,7 @@ class Li extends Sr {
|
|
|
4807
4803
|
clientstylingurl: 18,
|
|
4808
4804
|
translationurl: 19
|
|
4809
4805
|
},
|
|
4810
|
-
|
|
4806
|
+
xi
|
|
4811
4807
|
);
|
|
4812
4808
|
}
|
|
4813
4809
|
get lang() {
|
|
@@ -4871,7 +4867,7 @@ class Li extends Sr {
|
|
|
4871
4867
|
this.$$set({ translationurl: t }), V();
|
|
4872
4868
|
}
|
|
4873
4869
|
}
|
|
4874
|
-
|
|
4870
|
+
wr(Ai, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, products: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4875
4871
|
export {
|
|
4876
|
-
|
|
4872
|
+
Ai as C
|
|
4877
4873
|
};
|