@everymatrix/casino-tournaments-thumbnail-rule 1.59.3 → 1.60.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoTournamentsThumbnailRule-BRjDDfgN.cjs +16 -0
- package/components/{CasinoTournamentsThumbnailRule-CRmTbTrR.js → CasinoTournamentsThumbnailRule-CNeDEglK.js} +566 -564
- package/components/{CasinoTournamentsThumbnailRule-iTbJPkFk.js → CasinoTournamentsThumbnailRule-xmec_Q1t.js} +575 -573
- 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-DdjkH22A.cjs +0 -16
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function W() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Rt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function st() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function _e(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(Rt);
|
|
11
11
|
}
|
|
12
12
|
function tt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
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
|
-
function
|
|
21
|
+
function Nt(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
@@ -27,20 +27,20 @@ function Rt(e, ...t) {
|
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function or(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(Nt(t, r));
|
|
32
32
|
}
|
|
33
33
|
function p(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function sr(e, t, r) {
|
|
37
|
+
const n = ur(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
39
|
const i = x("style");
|
|
40
|
-
i.id = t, i.textContent = r,
|
|
40
|
+
i.id = t, i.textContent = r, lr(n, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function ur(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,7 +50,7 @@ function ar(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function lr(e, t) {
|
|
54
54
|
return p(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
@@ -66,7 +66,7 @@ function H(e) {
|
|
|
66
66
|
function x(e) {
|
|
67
67
|
return document.createElement(e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function hr(e) {
|
|
70
70
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
71
71
|
}
|
|
72
72
|
function z(e) {
|
|
@@ -81,7 +81,7 @@ function Me() {
|
|
|
81
81
|
function m(e, t, r) {
|
|
82
82
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function cr(e) {
|
|
85
85
|
return Array.from(e.childNodes);
|
|
86
86
|
}
|
|
87
87
|
function J(e, t) {
|
|
@@ -119,7 +119,7 @@ class Re {
|
|
|
119
119
|
* @returns {void}
|
|
120
120
|
*/
|
|
121
121
|
m(t, r, n = null) {
|
|
122
|
-
this.e || (this.is_svg ? this.e =
|
|
122
|
+
this.e || (this.is_svg ? this.e = hr(
|
|
123
123
|
/** @type {keyof SVGElementTagNameMap} */
|
|
124
124
|
r.nodeName
|
|
125
125
|
) : this.e = x(
|
|
@@ -158,7 +158,7 @@ class Re {
|
|
|
158
158
|
this.n.forEach(H);
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function fr(e) {
|
|
162
162
|
const t = {};
|
|
163
163
|
return e.childNodes.forEach(
|
|
164
164
|
/** @param {Element} node */
|
|
@@ -171,20 +171,20 @@ let ge;
|
|
|
171
171
|
function be(e) {
|
|
172
172
|
ge = e;
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function mr() {
|
|
175
175
|
if (!ge)
|
|
176
176
|
throw new Error("Function called outside component initialization");
|
|
177
177
|
return ge;
|
|
178
178
|
}
|
|
179
|
-
function
|
|
180
|
-
|
|
179
|
+
function dr(e) {
|
|
180
|
+
mr().$$.on_mount.push(e);
|
|
181
181
|
}
|
|
182
|
-
const
|
|
182
|
+
const oe = [], je = [];
|
|
183
183
|
let se = [];
|
|
184
|
-
const
|
|
184
|
+
const ut = [], pr = /* @__PURE__ */ Promise.resolve();
|
|
185
185
|
let Ve = !1;
|
|
186
|
-
function
|
|
187
|
-
Ve || (Ve = !0,
|
|
186
|
+
function br() {
|
|
187
|
+
Ve || (Ve = !0, pr.then(V));
|
|
188
188
|
}
|
|
189
189
|
function ze(e) {
|
|
190
190
|
se.push(e);
|
|
@@ -197,65 +197,65 @@ function V() {
|
|
|
197
197
|
const e = ge;
|
|
198
198
|
do {
|
|
199
199
|
try {
|
|
200
|
-
for (; ie <
|
|
201
|
-
const t =
|
|
202
|
-
ie++, be(t),
|
|
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 (be(null),
|
|
207
|
+
for (be(null), oe.length = 0, ie = 0; je.length; )
|
|
208
208
|
je.pop()();
|
|
209
209
|
for (let t = 0; t < se.length; t += 1) {
|
|
210
210
|
const r = se[t];
|
|
211
211
|
Oe.has(r) || (Oe.add(r), r());
|
|
212
212
|
}
|
|
213
213
|
se.length = 0;
|
|
214
|
-
} while (
|
|
215
|
-
for (;
|
|
216
|
-
|
|
214
|
+
} while (oe.length);
|
|
215
|
+
for (; ut.length; )
|
|
216
|
+
ut.pop()();
|
|
217
217
|
Ve = !1, Oe.clear(), be(e);
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function gr(e) {
|
|
220
220
|
if (e.fragment !== null) {
|
|
221
221
|
e.update(), _e(e.before_update);
|
|
222
222
|
const t = e.dirty;
|
|
223
223
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
function
|
|
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
|
-
const
|
|
231
|
-
function
|
|
232
|
-
e && e.i && (
|
|
230
|
+
const vr = /* @__PURE__ */ new Set();
|
|
231
|
+
function _r(e, t) {
|
|
232
|
+
e && e.i && (vr.delete(e), e.i(t));
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function Er(e, t, r) {
|
|
235
235
|
const { fragment: n, after_update: i } = e.$$;
|
|
236
236
|
n && n.m(t, r), ze(() => {
|
|
237
|
-
const
|
|
238
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
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
239
|
}), i.forEach(ze);
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function xr(e, t) {
|
|
242
242
|
const r = e.$$;
|
|
243
|
-
r.fragment !== null && (
|
|
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
|
-
function
|
|
246
|
-
e.$$.dirty[0] === -1 && (
|
|
245
|
+
function Tr(e, t) {
|
|
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
|
|
248
|
+
function Br(e, t, r, n, i, a, s = null, o = [-1]) {
|
|
249
249
|
const h = ge;
|
|
250
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
|
-
bound:
|
|
258
|
+
bound: st(),
|
|
259
259
|
// lifecycle
|
|
260
260
|
on_mount: [],
|
|
261
261
|
on_destroy: [],
|
|
@@ -264,8 +264,8 @@ function xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
264
264
|
after_update: [],
|
|
265
265
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
266
266
|
// everything else
|
|
267
|
-
callbacks:
|
|
268
|
-
dirty:
|
|
267
|
+
callbacks: st(),
|
|
268
|
+
dirty: o,
|
|
269
269
|
skip_bound: !1,
|
|
270
270
|
root: t.target || h.$$.root
|
|
271
271
|
};
|
|
@@ -273,19 +273,19 @@ function xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
273
273
|
let l = !1;
|
|
274
274
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
|
|
275
275
|
const y = g.length ? g[0] : f;
|
|
276
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l &&
|
|
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
277
|
}) : [], u.update(), l = !0, _e(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
278
278
|
if (t.hydrate) {
|
|
279
|
-
const c =
|
|
279
|
+
const c = cr(t.target);
|
|
280
280
|
u.fragment && u.fragment.l(c), c.forEach(H);
|
|
281
281
|
} else
|
|
282
282
|
u.fragment && u.fragment.c();
|
|
283
|
-
t.intro &&
|
|
283
|
+
t.intro && _r(e.$$.fragment), Er(e, t.target, t.anchor), V();
|
|
284
284
|
}
|
|
285
285
|
be(h);
|
|
286
286
|
}
|
|
287
|
-
let
|
|
288
|
-
typeof HTMLElement == "function" && (
|
|
287
|
+
let At;
|
|
288
|
+
typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
289
289
|
/** The Svelte component constructor */
|
|
290
290
|
$$ctor;
|
|
291
291
|
/** Slots */
|
|
@@ -324,32 +324,32 @@ typeof HTMLElement == "function" && (kt = 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 && H(
|
|
340
|
+
h && H(a);
|
|
341
341
|
}
|
|
342
342
|
};
|
|
343
343
|
};
|
|
344
344
|
};
|
|
345
345
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
346
346
|
return;
|
|
347
|
-
const t = {}, r =
|
|
347
|
+
const t = {}, r = fr(this);
|
|
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" && (kt = 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
|
|
435
|
-
let s = class extends
|
|
434
|
+
function wr(e, t, r, n, i, a) {
|
|
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
|
*
|
|
@@ -479,7 +479,7 @@ class Br {
|
|
|
479
479
|
$$set = void 0;
|
|
480
480
|
/** @returns {void} */
|
|
481
481
|
$destroy() {
|
|
482
|
-
|
|
482
|
+
xr(this, 1), this.$destroy = W;
|
|
483
483
|
}
|
|
484
484
|
/**
|
|
485
485
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -501,13 +501,13 @@ class Br {
|
|
|
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(
|
|
509
|
-
const
|
|
510
|
-
function
|
|
507
|
+
const Cr = "4";
|
|
508
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
|
|
509
|
+
const ae = [];
|
|
510
|
+
function Sr(e, t) {
|
|
511
511
|
return {
|
|
512
512
|
subscribe: ke(e, t).subscribe
|
|
513
513
|
};
|
|
@@ -515,35 +515,35 @@ function Hr(e, t) {
|
|
|
515
515
|
function ke(e, t = W) {
|
|
516
516
|
let r;
|
|
517
517
|
const n = /* @__PURE__ */ new Set();
|
|
518
|
-
function i(
|
|
519
|
-
if (
|
|
520
|
-
const h = !
|
|
518
|
+
function i(o) {
|
|
519
|
+
if (kt(e, o) && (e = o, r)) {
|
|
520
|
+
const h = !ae.length;
|
|
521
521
|
for (const u of n)
|
|
522
|
-
u[1](),
|
|
522
|
+
u[1](), ae.push(u, e);
|
|
523
523
|
if (h) {
|
|
524
|
-
for (let u = 0; u <
|
|
525
|
-
|
|
526
|
-
|
|
524
|
+
for (let u = 0; u < ae.length; u += 2)
|
|
525
|
+
ae[u][0](ae[u + 1]);
|
|
526
|
+
ae.length = 0;
|
|
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
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,10 +551,10 @@ function fe(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, T) =>
|
|
557
|
+
(y, T) => Nt(
|
|
558
558
|
y,
|
|
559
559
|
(w) => {
|
|
560
560
|
u[T] = w, l &= ~(1 << T), h && f();
|
|
@@ -569,70 +569,70 @@ function fe(e, t, r) {
|
|
|
569
569
|
};
|
|
570
570
|
});
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function Mr(e) {
|
|
573
573
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
574
574
|
}
|
|
575
|
-
var
|
|
576
|
-
return
|
|
575
|
+
var Rr = function(t) {
|
|
576
|
+
return kr(t) && !Nr(t);
|
|
577
577
|
};
|
|
578
|
-
function
|
|
578
|
+
function kr(e) {
|
|
579
579
|
return !!e && typeof e == "object";
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function Nr(e) {
|
|
582
582
|
var t = Object.prototype.toString.call(e);
|
|
583
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
583
|
+
return t === "[object RegExp]" || t === "[object Date]" || Pr(e);
|
|
584
584
|
}
|
|
585
|
-
var
|
|
586
|
-
function
|
|
587
|
-
return e.$$typeof ===
|
|
585
|
+
var Ar = typeof Symbol == "function" && Symbol.for, Lr = Ar ? Symbol.for("react.element") : 60103;
|
|
586
|
+
function Pr(e) {
|
|
587
|
+
return e.$$typeof === Lr;
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function Or(e) {
|
|
590
590
|
return Array.isArray(e) ? [] : {};
|
|
591
591
|
}
|
|
592
592
|
function ye(e, t) {
|
|
593
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ue(
|
|
593
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ue(Or(e), e, t) : e;
|
|
594
594
|
}
|
|
595
|
-
function
|
|
595
|
+
function Ir(e, t, r) {
|
|
596
596
|
return e.concat(t).map(function(n) {
|
|
597
597
|
return ye(n, r);
|
|
598
598
|
});
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function $r(e, t) {
|
|
601
601
|
if (!t.customMerge)
|
|
602
602
|
return ue;
|
|
603
603
|
var r = t.customMerge(e);
|
|
604
604
|
return typeof r == "function" ? r : ue;
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function Dr(e) {
|
|
607
607
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
608
608
|
return Object.propertyIsEnumerable.call(e, t);
|
|
609
609
|
}) : [];
|
|
610
610
|
}
|
|
611
|
-
function
|
|
612
|
-
return Object.keys(e).concat(
|
|
611
|
+
function lt(e) {
|
|
612
|
+
return Object.keys(e).concat(Dr(e));
|
|
613
613
|
}
|
|
614
|
-
function
|
|
614
|
+
function Lt(e, t) {
|
|
615
615
|
try {
|
|
616
616
|
return t in e;
|
|
617
617
|
} catch {
|
|
618
618
|
return !1;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
function
|
|
622
|
-
return
|
|
621
|
+
function Ur(e, t) {
|
|
622
|
+
return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
623
623
|
}
|
|
624
|
-
function
|
|
624
|
+
function Gr(e, t, r) {
|
|
625
625
|
var n = {};
|
|
626
|
-
return r.isMergeableObject(e) &&
|
|
626
|
+
return r.isMergeableObject(e) && lt(e).forEach(function(i) {
|
|
627
627
|
n[i] = ye(e[i], r);
|
|
628
|
-
}),
|
|
629
|
-
|
|
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] = ye(t[i], r));
|
|
630
630
|
}), n;
|
|
631
631
|
}
|
|
632
632
|
function ue(e, t, r) {
|
|
633
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
634
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
|
635
|
-
return
|
|
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))
|
|
@@ -641,8 +641,8 @@ ue.all = function(t, r) {
|
|
|
641
641
|
return ue(n, i, r);
|
|
642
642
|
}, {});
|
|
643
643
|
};
|
|
644
|
-
var
|
|
645
|
-
const
|
|
644
|
+
var Fr = ue, jr = Fr;
|
|
645
|
+
const Vr = /* @__PURE__ */ Mr(jr);
|
|
646
646
|
/*! *****************************************************************************
|
|
647
647
|
Copyright (c) Microsoft Corporation.
|
|
648
648
|
|
|
@@ -678,13 +678,13 @@ var _ = function() {
|
|
|
678
678
|
return _ = Object.assign || function(t) {
|
|
679
679
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
680
680
|
r = arguments[n];
|
|
681
|
-
for (var
|
|
682
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
681
|
+
for (var a in r)
|
|
682
|
+
Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
683
683
|
}
|
|
684
684
|
return t;
|
|
685
685
|
}, _.apply(this, arguments);
|
|
686
686
|
};
|
|
687
|
-
function
|
|
687
|
+
function zr(e, t) {
|
|
688
688
|
var r = {};
|
|
689
689
|
for (var n in e)
|
|
690
690
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -695,58 +695,60 @@ function jr(e, t) {
|
|
|
695
695
|
}
|
|
696
696
|
function Ie(e, t, r) {
|
|
697
697
|
if (arguments.length === 2)
|
|
698
|
-
for (var n = 0, i = t.length,
|
|
699
|
-
(
|
|
700
|
-
return e.concat(
|
|
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);
|
|
701
701
|
}
|
|
702
702
|
function $e(e, t) {
|
|
703
|
-
var r = t && t.cache ? t.cache :
|
|
703
|
+
var r = t && t.cache ? t.cache : Kr, n = t && t.serializer ? t.serializer : Yr, i = t && t.strategy ? t.strategy : Wr;
|
|
704
704
|
return i(e, {
|
|
705
705
|
cache: r,
|
|
706
706
|
serializer: n
|
|
707
707
|
});
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function Xr(e) {
|
|
710
710
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
711
711
|
}
|
|
712
|
-
function
|
|
713
|
-
var i =
|
|
714
|
-
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;
|
|
715
715
|
}
|
|
716
|
-
function
|
|
717
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
|
718
|
-
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;
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function rt(e, t, r, n, i) {
|
|
721
721
|
return r.bind(t, e, n, i);
|
|
722
722
|
}
|
|
723
|
-
function Xr(e, t) {
|
|
724
|
-
var r = e.length === 1 ? zr : At;
|
|
725
|
-
return Lt(e, this, r, t.cache.create(), t.serializer);
|
|
726
|
-
}
|
|
727
723
|
function Wr(e, t) {
|
|
728
|
-
|
|
724
|
+
var r = e.length === 1 ? Pt : Ot;
|
|
725
|
+
return rt(e, this, r, t.cache.create(), t.serializer);
|
|
726
|
+
}
|
|
727
|
+
function Zr(e, t) {
|
|
728
|
+
return rt(e, this, Ot, t.cache.create(), t.serializer);
|
|
729
|
+
}
|
|
730
|
+
function Jr(e, t) {
|
|
731
|
+
return rt(e, this, Pt, t.cache.create(), t.serializer);
|
|
729
732
|
}
|
|
730
|
-
var
|
|
733
|
+
var Yr = function() {
|
|
731
734
|
return JSON.stringify(arguments);
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
}()
|
|
744
|
-
), Yr = {
|
|
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 = {
|
|
745
746
|
create: function() {
|
|
746
|
-
return new
|
|
747
|
+
return new nt();
|
|
747
748
|
}
|
|
748
749
|
}, De = {
|
|
749
|
-
variadic:
|
|
750
|
+
variadic: Zr,
|
|
751
|
+
monadic: Jr
|
|
750
752
|
}, b;
|
|
751
753
|
(function(e) {
|
|
752
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";
|
|
@@ -759,43 +761,43 @@ var le;
|
|
|
759
761
|
(function(e) {
|
|
760
762
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
761
763
|
})(le || (le = {}));
|
|
762
|
-
function
|
|
764
|
+
function ht(e) {
|
|
763
765
|
return e.type === B.literal;
|
|
764
766
|
}
|
|
765
|
-
function
|
|
767
|
+
function qr(e) {
|
|
766
768
|
return e.type === B.argument;
|
|
767
769
|
}
|
|
768
|
-
function
|
|
770
|
+
function It(e) {
|
|
769
771
|
return e.type === B.number;
|
|
770
772
|
}
|
|
771
|
-
function
|
|
773
|
+
function $t(e) {
|
|
772
774
|
return e.type === B.date;
|
|
773
775
|
}
|
|
774
|
-
function
|
|
776
|
+
function Dt(e) {
|
|
775
777
|
return e.type === B.time;
|
|
776
778
|
}
|
|
777
|
-
function
|
|
779
|
+
function Ut(e) {
|
|
778
780
|
return e.type === B.select;
|
|
779
781
|
}
|
|
780
|
-
function
|
|
782
|
+
function Gt(e) {
|
|
781
783
|
return e.type === B.plural;
|
|
782
784
|
}
|
|
783
|
-
function
|
|
785
|
+
function Qr(e) {
|
|
784
786
|
return e.type === B.pound;
|
|
785
787
|
}
|
|
786
|
-
function
|
|
788
|
+
function Ft(e) {
|
|
787
789
|
return e.type === B.tag;
|
|
788
790
|
}
|
|
789
|
-
function
|
|
791
|
+
function jt(e) {
|
|
790
792
|
return !!(e && typeof e == "object" && e.type === le.number);
|
|
791
793
|
}
|
|
792
794
|
function We(e) {
|
|
793
795
|
return !!(e && typeof e == "object" && e.type === le.dateTime);
|
|
794
796
|
}
|
|
795
|
-
var
|
|
796
|
-
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) {
|
|
797
799
|
var t = {};
|
|
798
|
-
return e.replace(
|
|
800
|
+
return e.replace(en, function(r) {
|
|
799
801
|
var n = r.length;
|
|
800
802
|
switch (r[0]) {
|
|
801
803
|
case "G":
|
|
@@ -884,36 +886,36 @@ function en(e) {
|
|
|
884
886
|
return "";
|
|
885
887
|
}), t;
|
|
886
888
|
}
|
|
887
|
-
var
|
|
888
|
-
function
|
|
889
|
+
var rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
890
|
+
function nn(e) {
|
|
889
891
|
if (e.length === 0)
|
|
890
892
|
throw new Error("Number skeleton cannot be empty");
|
|
891
|
-
for (var t = e.split(
|
|
893
|
+
for (var t = e.split(rn).filter(function(f) {
|
|
892
894
|
return f.length > 0;
|
|
893
895
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
894
|
-
var
|
|
896
|
+
var a = i[n], s = a.split("/");
|
|
895
897
|
if (s.length === 0)
|
|
896
898
|
throw new Error("Invalid number skeleton");
|
|
897
|
-
for (var
|
|
899
|
+
for (var o = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
898
900
|
var c = l[u];
|
|
899
901
|
if (c.length === 0)
|
|
900
902
|
throw new Error("Invalid number skeleton");
|
|
901
903
|
}
|
|
902
|
-
r.push({ stem:
|
|
904
|
+
r.push({ stem: o, options: h });
|
|
903
905
|
}
|
|
904
906
|
return r;
|
|
905
907
|
}
|
|
906
|
-
function
|
|
908
|
+
function an(e) {
|
|
907
909
|
return e.replace(/^(.*?)-/, "");
|
|
908
910
|
}
|
|
909
|
-
var
|
|
910
|
-
function
|
|
911
|
+
var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, on = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
|
|
912
|
+
function ft(e) {
|
|
911
913
|
var t = {};
|
|
912
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
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) {
|
|
913
915
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
914
916
|
}), t;
|
|
915
917
|
}
|
|
916
|
-
function
|
|
918
|
+
function Wt(e) {
|
|
917
919
|
switch (e) {
|
|
918
920
|
case "sign-auto":
|
|
919
921
|
return {
|
|
@@ -953,7 +955,7 @@ function zt(e) {
|
|
|
953
955
|
};
|
|
954
956
|
}
|
|
955
957
|
}
|
|
956
|
-
function
|
|
958
|
+
function sn(e) {
|
|
957
959
|
var t;
|
|
958
960
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
959
961
|
notation: "engineering"
|
|
@@ -961,17 +963,17 @@ function an(e) {
|
|
|
961
963
|
notation: "scientific"
|
|
962
964
|
}, e = e.slice(1)), t) {
|
|
963
965
|
var r = e.slice(0, 2);
|
|
964
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
966
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xt.test(e))
|
|
965
967
|
throw new Error("Malformed concise eng/scientific notation");
|
|
966
968
|
t.minimumIntegerDigits = e.length;
|
|
967
969
|
}
|
|
968
970
|
return t;
|
|
969
971
|
}
|
|
970
|
-
function
|
|
971
|
-
var t = {}, r =
|
|
972
|
+
function mt(e) {
|
|
973
|
+
var t = {}, r = Wt(e);
|
|
972
974
|
return r || t;
|
|
973
975
|
}
|
|
974
|
-
function
|
|
976
|
+
function un(e) {
|
|
975
977
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
976
978
|
var i = n[r];
|
|
977
979
|
switch (i.stem) {
|
|
@@ -995,7 +997,7 @@ function sn(e) {
|
|
|
995
997
|
continue;
|
|
996
998
|
case "measure-unit":
|
|
997
999
|
case "unit":
|
|
998
|
-
t.style = "unit", t.unit =
|
|
1000
|
+
t.style = "unit", t.unit = an(i.options[0]);
|
|
999
1001
|
continue;
|
|
1000
1002
|
case "compact-short":
|
|
1001
1003
|
case "K":
|
|
@@ -1007,12 +1009,12 @@ function sn(e) {
|
|
|
1007
1009
|
continue;
|
|
1008
1010
|
case "scientific":
|
|
1009
1011
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1010
|
-
return _(_({}, h),
|
|
1012
|
+
return _(_({}, h), mt(u));
|
|
1011
1013
|
}, {}));
|
|
1012
1014
|
continue;
|
|
1013
1015
|
case "engineering":
|
|
1014
1016
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1015
|
-
return _(_({}, h),
|
|
1017
|
+
return _(_({}, h), mt(u));
|
|
1016
1018
|
}, {}));
|
|
1017
1019
|
continue;
|
|
1018
1020
|
case "notation-simple":
|
|
@@ -1070,28 +1072,28 @@ function sn(e) {
|
|
|
1070
1072
|
});
|
|
1071
1073
|
continue;
|
|
1072
1074
|
}
|
|
1073
|
-
if (
|
|
1075
|
+
if (Xt.test(i.stem)) {
|
|
1074
1076
|
t.minimumIntegerDigits = i.stem.length;
|
|
1075
1077
|
continue;
|
|
1076
1078
|
}
|
|
1077
|
-
if (
|
|
1079
|
+
if (ct.test(i.stem)) {
|
|
1078
1080
|
if (i.options.length > 1)
|
|
1079
1081
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1080
|
-
i.stem.replace(
|
|
1082
|
+
i.stem.replace(ct, function(h, u, l, c, f, g) {
|
|
1081
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), "";
|
|
1082
1084
|
});
|
|
1083
|
-
var
|
|
1084
|
-
|
|
1085
|
+
var a = i.options[0];
|
|
1086
|
+
a === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = _(_({}, t), ft(a)));
|
|
1085
1087
|
continue;
|
|
1086
1088
|
}
|
|
1087
|
-
if (
|
|
1088
|
-
t = _(_({}, t),
|
|
1089
|
+
if (zt.test(i.stem)) {
|
|
1090
|
+
t = _(_({}, t), ft(i.stem));
|
|
1089
1091
|
continue;
|
|
1090
1092
|
}
|
|
1091
|
-
var s =
|
|
1093
|
+
var s = Wt(i.stem);
|
|
1092
1094
|
s && (t = _(_({}, t), s));
|
|
1093
|
-
var
|
|
1094
|
-
|
|
1095
|
+
var o = sn(i.stem);
|
|
1096
|
+
o && (t = _(_({}, t), o));
|
|
1095
1097
|
}
|
|
1096
1098
|
return t;
|
|
1097
1099
|
}
|
|
@@ -2510,14 +2512,14 @@ var Te = {
|
|
|
2510
2512
|
"h"
|
|
2511
2513
|
]
|
|
2512
2514
|
};
|
|
2513
|
-
function
|
|
2515
|
+
function ln(e, t) {
|
|
2514
2516
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2515
2517
|
var i = e.charAt(n);
|
|
2516
2518
|
if (i === "j") {
|
|
2517
|
-
for (var
|
|
2518
|
-
|
|
2519
|
-
var s = 1 + (
|
|
2520
|
-
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; )
|
|
2521
2523
|
r += h;
|
|
2522
2524
|
for (; s-- > 0; )
|
|
2523
2525
|
r = u + r;
|
|
@@ -2526,7 +2528,7 @@ function un(e, t) {
|
|
|
2526
2528
|
}
|
|
2527
2529
|
return r;
|
|
2528
2530
|
}
|
|
2529
|
-
function
|
|
2531
|
+
function hn(e) {
|
|
2530
2532
|
var t = e.hourCycle;
|
|
2531
2533
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2532
2534
|
e.hourCycles && // @ts-ignore
|
|
@@ -2548,20 +2550,20 @@ function ln(e) {
|
|
|
2548
2550
|
var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
|
|
2549
2551
|
return i[0];
|
|
2550
2552
|
}
|
|
2551
|
-
var Ue,
|
|
2553
|
+
var Ue, cn = new RegExp("^".concat(Vt.source, "*")), fn = new RegExp("".concat(Vt.source, "*$"));
|
|
2552
2554
|
function v(e, t) {
|
|
2553
2555
|
return { start: e, end: t };
|
|
2554
2556
|
}
|
|
2555
|
-
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) {
|
|
2556
2558
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2557
2559
|
}, Ze = !0;
|
|
2558
2560
|
try {
|
|
2559
|
-
var
|
|
2560
|
-
Ze = ((Ue =
|
|
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";
|
|
2561
2563
|
} catch {
|
|
2562
2564
|
Ze = !1;
|
|
2563
2565
|
}
|
|
2564
|
-
var
|
|
2566
|
+
var dt = mn ? (
|
|
2565
2567
|
// Native
|
|
2566
2568
|
function(t, r, n) {
|
|
2567
2569
|
return t.startsWith(r, n);
|
|
@@ -2571,31 +2573,31 @@ var ft = fn ? (
|
|
|
2571
2573
|
function(t, r, n) {
|
|
2572
2574
|
return t.slice(n, n + r.length) === r;
|
|
2573
2575
|
}
|
|
2574
|
-
), Je =
|
|
2576
|
+
), Je = dn ? String.fromCodePoint : (
|
|
2575
2577
|
// IE11
|
|
2576
2578
|
function() {
|
|
2577
2579
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2578
2580
|
t[r] = arguments[r];
|
|
2579
|
-
for (var n = "", i = t.length,
|
|
2580
|
-
if (s = t[
|
|
2581
|
+
for (var n = "", i = t.length, a = 0, s; i > a; ) {
|
|
2582
|
+
if (s = t[a++], s > 1114111)
|
|
2581
2583
|
throw RangeError(s + " is not a valid code point");
|
|
2582
2584
|
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
2583
2585
|
}
|
|
2584
2586
|
return n;
|
|
2585
2587
|
}
|
|
2586
|
-
),
|
|
2588
|
+
), pt = (
|
|
2587
2589
|
// native
|
|
2588
|
-
|
|
2590
|
+
pn ? Object.fromEntries : (
|
|
2589
2591
|
// Ponyfill
|
|
2590
2592
|
function(t) {
|
|
2591
2593
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2592
|
-
var
|
|
2593
|
-
r[s] =
|
|
2594
|
+
var a = i[n], s = a[0], o = a[1];
|
|
2595
|
+
r[s] = o;
|
|
2594
2596
|
}
|
|
2595
2597
|
return r;
|
|
2596
2598
|
}
|
|
2597
2599
|
)
|
|
2598
|
-
),
|
|
2600
|
+
), Zt = bn ? (
|
|
2599
2601
|
// Native
|
|
2600
2602
|
function(t, r) {
|
|
2601
2603
|
return t.codePointAt(r);
|
|
@@ -2605,11 +2607,11 @@ var ft = fn ? (
|
|
|
2605
2607
|
function(t, r) {
|
|
2606
2608
|
var n = t.length;
|
|
2607
2609
|
if (!(r < 0 || r >= n)) {
|
|
2608
|
-
var i = t.charCodeAt(r),
|
|
2609
|
-
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;
|
|
2610
2612
|
}
|
|
2611
2613
|
}
|
|
2612
|
-
),
|
|
2614
|
+
), xn = gn ? (
|
|
2613
2615
|
// Native
|
|
2614
2616
|
function(t) {
|
|
2615
2617
|
return t.trimStart();
|
|
@@ -2617,9 +2619,9 @@ var ft = fn ? (
|
|
|
2617
2619
|
) : (
|
|
2618
2620
|
// Ponyfill
|
|
2619
2621
|
function(t) {
|
|
2620
|
-
return t.replace(
|
|
2622
|
+
return t.replace(cn, "");
|
|
2621
2623
|
}
|
|
2622
|
-
),
|
|
2624
|
+
), Tn = yn ? (
|
|
2623
2625
|
// Native
|
|
2624
2626
|
function(t) {
|
|
2625
2627
|
return t.trimEnd();
|
|
@@ -2627,32 +2629,32 @@ var ft = fn ? (
|
|
|
2627
2629
|
) : (
|
|
2628
2630
|
// Ponyfill
|
|
2629
2631
|
function(t) {
|
|
2630
|
-
return t.replace(
|
|
2632
|
+
return t.replace(fn, "");
|
|
2631
2633
|
}
|
|
2632
2634
|
);
|
|
2633
|
-
function
|
|
2635
|
+
function Jt(e, t) {
|
|
2634
2636
|
return new RegExp(e, t);
|
|
2635
2637
|
}
|
|
2636
2638
|
var Ye;
|
|
2637
2639
|
if (Ze) {
|
|
2638
|
-
var
|
|
2640
|
+
var bt = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2639
2641
|
Ye = function(t, r) {
|
|
2640
2642
|
var n;
|
|
2641
|
-
|
|
2642
|
-
var i =
|
|
2643
|
+
bt.lastIndex = r;
|
|
2644
|
+
var i = bt.exec(t);
|
|
2643
2645
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2644
2646
|
};
|
|
2645
2647
|
} else
|
|
2646
2648
|
Ye = function(t, r) {
|
|
2647
2649
|
for (var n = []; ; ) {
|
|
2648
|
-
var i =
|
|
2649
|
-
if (i === void 0 ||
|
|
2650
|
+
var i = Zt(t, r);
|
|
2651
|
+
if (i === void 0 || Yt(i) || Cn(i))
|
|
2650
2652
|
break;
|
|
2651
2653
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2652
2654
|
}
|
|
2653
2655
|
return Je.apply(void 0, n);
|
|
2654
2656
|
};
|
|
2655
|
-
var
|
|
2657
|
+
var Bn = (
|
|
2656
2658
|
/** @class */
|
|
2657
2659
|
function() {
|
|
2658
2660
|
function e(t, r) {
|
|
@@ -2664,26 +2666,26 @@ var Tn = (
|
|
|
2664
2666
|
return this.parseMessage(0, "", !1);
|
|
2665
2667
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
2666
2668
|
for (var i = []; !this.isEOF(); ) {
|
|
2667
|
-
var
|
|
2668
|
-
if (
|
|
2669
|
+
var a = this.char();
|
|
2670
|
+
if (a === 123) {
|
|
2669
2671
|
var s = this.parseArgument(t, n);
|
|
2670
2672
|
if (s.err)
|
|
2671
2673
|
return s;
|
|
2672
2674
|
i.push(s.val);
|
|
2673
2675
|
} else {
|
|
2674
|
-
if (
|
|
2676
|
+
if (a === 125 && t > 0)
|
|
2675
2677
|
break;
|
|
2676
|
-
if (
|
|
2677
|
-
var
|
|
2678
|
+
if (a === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2679
|
+
var o = this.clonePosition();
|
|
2678
2680
|
this.bump(), i.push({
|
|
2679
2681
|
type: B.pound,
|
|
2680
|
-
location: v(
|
|
2682
|
+
location: v(o, this.clonePosition())
|
|
2681
2683
|
});
|
|
2682
|
-
} else if (
|
|
2684
|
+
} else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2683
2685
|
if (n)
|
|
2684
2686
|
break;
|
|
2685
2687
|
return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
2686
|
-
} else if (
|
|
2688
|
+
} else if (a === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
|
|
2687
2689
|
var s = this.parseTag(t, r);
|
|
2688
2690
|
if (s.err)
|
|
2689
2691
|
return s;
|
|
@@ -2711,13 +2713,13 @@ var Tn = (
|
|
|
2711
2713
|
err: null
|
|
2712
2714
|
};
|
|
2713
2715
|
if (this.bumpIf(">")) {
|
|
2714
|
-
var
|
|
2715
|
-
if (
|
|
2716
|
-
return
|
|
2717
|
-
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();
|
|
2718
2720
|
if (this.bumpIf("</")) {
|
|
2719
2721
|
if (this.isEOF() || !Ke(this.char()))
|
|
2720
|
-
return this.error(b.INVALID_TAG, v(
|
|
2722
|
+
return this.error(b.INVALID_TAG, v(o, this.clonePosition()));
|
|
2721
2723
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
2722
2724
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2723
2725
|
val: {
|
|
@@ -2727,21 +2729,21 @@ var Tn = (
|
|
|
2727
2729
|
location: v(n, this.clonePosition())
|
|
2728
2730
|
},
|
|
2729
2731
|
err: null
|
|
2730
|
-
} : this.error(b.INVALID_TAG, v(
|
|
2732
|
+
} : this.error(b.INVALID_TAG, v(o, this.clonePosition())));
|
|
2731
2733
|
} else
|
|
2732
2734
|
return this.error(b.UNCLOSED_TAG, v(n, this.clonePosition()));
|
|
2733
2735
|
} else
|
|
2734
2736
|
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
2735
2737
|
}, e.prototype.parseTagName = function() {
|
|
2736
2738
|
var t = this.offset();
|
|
2737
|
-
for (this.bump(); !this.isEOF() &&
|
|
2739
|
+
for (this.bump(); !this.isEOF() && Hn(this.char()); )
|
|
2738
2740
|
this.bump();
|
|
2739
2741
|
return this.message.slice(t, this.offset());
|
|
2740
2742
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
2741
2743
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
2742
|
-
var
|
|
2743
|
-
if (
|
|
2744
|
-
i +=
|
|
2744
|
+
var a = this.tryParseQuote(r);
|
|
2745
|
+
if (a) {
|
|
2746
|
+
i += a;
|
|
2745
2747
|
continue;
|
|
2746
2748
|
}
|
|
2747
2749
|
var s = this.tryParseUnquoted(t, r);
|
|
@@ -2749,9 +2751,9 @@ var Tn = (
|
|
|
2749
2751
|
i += s;
|
|
2750
2752
|
continue;
|
|
2751
2753
|
}
|
|
2752
|
-
var
|
|
2753
|
-
if (
|
|
2754
|
-
i +=
|
|
2754
|
+
var o = this.tryParseLeftAngleBracket();
|
|
2755
|
+
if (o) {
|
|
2756
|
+
i += o;
|
|
2755
2757
|
continue;
|
|
2756
2758
|
}
|
|
2757
2759
|
break;
|
|
@@ -2763,7 +2765,7 @@ var Tn = (
|
|
|
2763
2765
|
};
|
|
2764
2766
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2765
2767
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2766
|
-
!
|
|
2768
|
+
!wn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2767
2769
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2768
2770
|
if (this.isEOF() || this.char() !== 39)
|
|
2769
2771
|
return null;
|
|
@@ -2833,11 +2835,11 @@ var Tn = (
|
|
|
2833
2835
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2834
2836
|
var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
|
|
2835
2837
|
this.bumpTo(i);
|
|
2836
|
-
var
|
|
2838
|
+
var a = this.clonePosition(), s = v(t, a);
|
|
2837
2839
|
return { value: n, location: s };
|
|
2838
2840
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2839
|
-
var
|
|
2840
|
-
switch (
|
|
2841
|
+
var a, s = this.clonePosition(), o = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2842
|
+
switch (o) {
|
|
2841
2843
|
case "":
|
|
2842
2844
|
return this.error(b.EXPECT_ARGUMENT_TYPE, v(s, h));
|
|
2843
2845
|
case "number":
|
|
@@ -2850,7 +2852,7 @@ var Tn = (
|
|
|
2850
2852
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2851
2853
|
if (c.err)
|
|
2852
2854
|
return c;
|
|
2853
|
-
var f =
|
|
2855
|
+
var f = Tn(c.val);
|
|
2854
2856
|
if (f.length === 0)
|
|
2855
2857
|
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
2856
2858
|
var g = v(l, this.clonePosition());
|
|
@@ -2860,9 +2862,9 @@ var Tn = (
|
|
|
2860
2862
|
if (y.err)
|
|
2861
2863
|
return y;
|
|
2862
2864
|
var T = v(i, this.clonePosition());
|
|
2863
|
-
if (u &&
|
|
2864
|
-
var w =
|
|
2865
|
-
if (
|
|
2865
|
+
if (u && dt(u?.style, "::", 0)) {
|
|
2866
|
+
var w = xn(u.style.slice(2));
|
|
2867
|
+
if (o === "number") {
|
|
2866
2868
|
var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
2867
2869
|
return c.err ? c : {
|
|
2868
2870
|
val: { type: B.number, value: n, location: T, style: c.val },
|
|
@@ -2872,13 +2874,13 @@ var Tn = (
|
|
|
2872
2874
|
if (w.length === 0)
|
|
2873
2875
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, T);
|
|
2874
2876
|
var C = w;
|
|
2875
|
-
this.locale && (C =
|
|
2877
|
+
this.locale && (C = ln(w, this.locale));
|
|
2876
2878
|
var f = {
|
|
2877
2879
|
type: le.dateTime,
|
|
2878
2880
|
pattern: C,
|
|
2879
2881
|
location: u.styleLocation,
|
|
2880
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2881
|
-
}, R =
|
|
2882
|
+
parsedOptions: this.shouldParseSkeletons ? tn(C) : {}
|
|
2883
|
+
}, R = o === "date" ? B.date : B.time;
|
|
2882
2884
|
return {
|
|
2883
2885
|
val: { type: R, value: n, location: T, style: f },
|
|
2884
2886
|
err: null
|
|
@@ -2887,10 +2889,10 @@ var Tn = (
|
|
|
2887
2889
|
}
|
|
2888
2890
|
return {
|
|
2889
2891
|
val: {
|
|
2890
|
-
type:
|
|
2892
|
+
type: o === "number" ? B.number : o === "date" ? B.date : B.time,
|
|
2891
2893
|
value: n,
|
|
2892
2894
|
location: T,
|
|
2893
|
-
style: (
|
|
2895
|
+
style: (a = u?.style) !== null && a !== void 0 ? a : null
|
|
2894
2896
|
},
|
|
2895
2897
|
err: null
|
|
2896
2898
|
};
|
|
@@ -2903,7 +2905,7 @@ var Tn = (
|
|
|
2903
2905
|
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(S, _({}, S)));
|
|
2904
2906
|
this.bumpSpace();
|
|
2905
2907
|
var N = this.parseIdentifierIfPossible(), A = 0;
|
|
2906
|
-
if (
|
|
2908
|
+
if (o !== "select" && N.value === "offset") {
|
|
2907
2909
|
if (!this.bumpIf(":"))
|
|
2908
2910
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
2909
2911
|
this.bumpSpace();
|
|
@@ -2912,18 +2914,18 @@ var Tn = (
|
|
|
2912
2914
|
return c;
|
|
2913
2915
|
this.bumpSpace(), N = this.parseIdentifierIfPossible(), A = c.val;
|
|
2914
2916
|
}
|
|
2915
|
-
var Z = this.tryParsePluralOrSelectOptions(t,
|
|
2917
|
+
var Z = this.tryParsePluralOrSelectOptions(t, o, r, N);
|
|
2916
2918
|
if (Z.err)
|
|
2917
2919
|
return Z;
|
|
2918
2920
|
var y = this.tryParseArgumentClose(i);
|
|
2919
2921
|
if (y.err)
|
|
2920
2922
|
return y;
|
|
2921
2923
|
var ee = v(i, this.clonePosition());
|
|
2922
|
-
return
|
|
2924
|
+
return o === "select" ? {
|
|
2923
2925
|
val: {
|
|
2924
2926
|
type: B.select,
|
|
2925
2927
|
value: n,
|
|
2926
|
-
options:
|
|
2928
|
+
options: pt(Z.val),
|
|
2927
2929
|
location: ee
|
|
2928
2930
|
},
|
|
2929
2931
|
err: null
|
|
@@ -2931,9 +2933,9 @@ var Tn = (
|
|
|
2931
2933
|
val: {
|
|
2932
2934
|
type: B.plural,
|
|
2933
2935
|
value: n,
|
|
2934
|
-
options:
|
|
2936
|
+
options: pt(Z.val),
|
|
2935
2937
|
offset: A,
|
|
2936
|
-
pluralType:
|
|
2938
|
+
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
2937
2939
|
location: ee
|
|
2938
2940
|
},
|
|
2939
2941
|
err: null
|
|
@@ -2982,7 +2984,7 @@ var Tn = (
|
|
|
2982
2984
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2983
2985
|
var n = [];
|
|
2984
2986
|
try {
|
|
2985
|
-
n =
|
|
2987
|
+
n = nn(t);
|
|
2986
2988
|
} catch {
|
|
2987
2989
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
2988
2990
|
}
|
|
@@ -2991,12 +2993,12 @@ var Tn = (
|
|
|
2991
2993
|
type: le.number,
|
|
2992
2994
|
tokens: n,
|
|
2993
2995
|
location: r,
|
|
2994
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2996
|
+
parsedOptions: this.shouldParseSkeletons ? un(n) : {}
|
|
2995
2997
|
},
|
|
2996
2998
|
err: null
|
|
2997
2999
|
};
|
|
2998
3000
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
2999
|
-
for (var
|
|
3001
|
+
for (var a, s = !1, o = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3000
3002
|
if (u.length === 0) {
|
|
3001
3003
|
var c = this.clonePosition();
|
|
3002
3004
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3019,27 +3021,27 @@ var Tn = (
|
|
|
3019
3021
|
var T = this.tryParseArgumentClose(g);
|
|
3020
3022
|
if (T.err)
|
|
3021
3023
|
return T;
|
|
3022
|
-
|
|
3024
|
+
o.push([
|
|
3023
3025
|
u,
|
|
3024
3026
|
{
|
|
3025
3027
|
value: y.val,
|
|
3026
3028
|
location: v(g, this.clonePosition())
|
|
3027
3029
|
}
|
|
3028
|
-
]), h.add(u), this.bumpSpace(),
|
|
3030
|
+
]), h.add(u), this.bumpSpace(), a = this.parseIdentifierIfPossible(), u = a.value, l = a.location;
|
|
3029
3031
|
}
|
|
3030
|
-
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 };
|
|
3031
3033
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3032
3034
|
var n = 1, i = this.clonePosition();
|
|
3033
3035
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3034
|
-
for (var
|
|
3035
|
-
var
|
|
3036
|
-
if (
|
|
3037
|
-
|
|
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();
|
|
3038
3040
|
else
|
|
3039
3041
|
break;
|
|
3040
3042
|
}
|
|
3041
3043
|
var h = v(i, this.clonePosition());
|
|
3042
|
-
return
|
|
3044
|
+
return a ? (s *= n, _n(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3043
3045
|
}, e.prototype.offset = function() {
|
|
3044
3046
|
return this.position.offset;
|
|
3045
3047
|
}, e.prototype.isEOF = function() {
|
|
@@ -3054,7 +3056,7 @@ var Tn = (
|
|
|
3054
3056
|
var t = this.position.offset;
|
|
3055
3057
|
if (t >= this.message.length)
|
|
3056
3058
|
throw Error("out of bound");
|
|
3057
|
-
var r =
|
|
3059
|
+
var r = Zt(this.message, t);
|
|
3058
3060
|
if (r === void 0)
|
|
3059
3061
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3060
3062
|
return r;
|
|
@@ -3073,7 +3075,7 @@ var Tn = (
|
|
|
3073
3075
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3074
3076
|
}
|
|
3075
3077
|
}, e.prototype.bumpIf = function(t) {
|
|
3076
|
-
if (
|
|
3078
|
+
if (dt(this.message, t, this.offset())) {
|
|
3077
3079
|
for (var r = 0; r < t.length; r++)
|
|
3078
3080
|
this.bump();
|
|
3079
3081
|
return !0;
|
|
@@ -3095,7 +3097,7 @@ var Tn = (
|
|
|
3095
3097
|
break;
|
|
3096
3098
|
}
|
|
3097
3099
|
}, e.prototype.bumpSpace = function() {
|
|
3098
|
-
for (; !this.isEOF() &&
|
|
3100
|
+
for (; !this.isEOF() && Yt(this.char()); )
|
|
3099
3101
|
this.bump();
|
|
3100
3102
|
}, e.prototype.peek = function() {
|
|
3101
3103
|
if (this.isEOF())
|
|
@@ -3108,30 +3110,30 @@ var Tn = (
|
|
|
3108
3110
|
function Ke(e) {
|
|
3109
3111
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3110
3112
|
}
|
|
3111
|
-
function
|
|
3113
|
+
function wn(e) {
|
|
3112
3114
|
return Ke(e) || e === 47;
|
|
3113
3115
|
}
|
|
3114
|
-
function
|
|
3116
|
+
function Hn(e) {
|
|
3115
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;
|
|
3116
3118
|
}
|
|
3117
|
-
function
|
|
3119
|
+
function Yt(e) {
|
|
3118
3120
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3119
3121
|
}
|
|
3120
|
-
function
|
|
3122
|
+
function Cn(e) {
|
|
3121
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;
|
|
3122
3124
|
}
|
|
3123
3125
|
function qe(e) {
|
|
3124
3126
|
e.forEach(function(t) {
|
|
3125
|
-
if (delete t.location,
|
|
3127
|
+
if (delete t.location, Ut(t) || Gt(t))
|
|
3126
3128
|
for (var r in t.options)
|
|
3127
3129
|
delete t.options[r].location, qe(t.options[r].value);
|
|
3128
3130
|
else
|
|
3129
|
-
|
|
3131
|
+
It(t) && jt(t.style) || ($t(t) || Dt(t)) && We(t.style) ? delete t.style.location : Ft(t) && qe(t.children);
|
|
3130
3132
|
});
|
|
3131
3133
|
}
|
|
3132
|
-
function
|
|
3134
|
+
function Sn(e, t) {
|
|
3133
3135
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3134
|
-
var r = new
|
|
3136
|
+
var r = new Bn(e, t).parse();
|
|
3135
3137
|
if (r.err) {
|
|
3136
3138
|
var n = SyntaxError(b[r.err.kind]);
|
|
3137
3139
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3147,23 +3149,23 @@ var Ae = (
|
|
|
3147
3149
|
function(e) {
|
|
3148
3150
|
Ne(t, e);
|
|
3149
3151
|
function t(r, n, i) {
|
|
3150
|
-
var
|
|
3151
|
-
return
|
|
3152
|
+
var a = e.call(this, r) || this;
|
|
3153
|
+
return a.code = n, a.originalMessage = i, a;
|
|
3152
3154
|
}
|
|
3153
3155
|
return t.prototype.toString = function() {
|
|
3154
3156
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3155
3157
|
}, t;
|
|
3156
3158
|
}(Error)
|
|
3157
|
-
),
|
|
3159
|
+
), gt = (
|
|
3158
3160
|
/** @class */
|
|
3159
3161
|
function(e) {
|
|
3160
3162
|
Ne(t, e);
|
|
3161
|
-
function t(r, n, i,
|
|
3162
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE,
|
|
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;
|
|
3163
3165
|
}
|
|
3164
3166
|
return t;
|
|
3165
3167
|
}(Ae)
|
|
3166
|
-
),
|
|
3168
|
+
), Mn = (
|
|
3167
3169
|
/** @class */
|
|
3168
3170
|
function(e) {
|
|
3169
3171
|
Ne(t, e);
|
|
@@ -3172,7 +3174,7 @@ var Ae = (
|
|
|
3172
3174
|
}
|
|
3173
3175
|
return t;
|
|
3174
3176
|
}(Ae)
|
|
3175
|
-
),
|
|
3177
|
+
), Rn = (
|
|
3176
3178
|
/** @class */
|
|
3177
3179
|
function(e) {
|
|
3178
3180
|
Ne(t, e);
|
|
@@ -3185,96 +3187,96 @@ var Ae = (
|
|
|
3185
3187
|
(function(e) {
|
|
3186
3188
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3187
3189
|
})(O || (O = {}));
|
|
3188
|
-
function
|
|
3190
|
+
function kn(e) {
|
|
3189
3191
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3190
3192
|
var n = t[t.length - 1];
|
|
3191
3193
|
return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
|
|
3192
3194
|
}, []);
|
|
3193
3195
|
}
|
|
3194
|
-
function
|
|
3196
|
+
function Nn(e) {
|
|
3195
3197
|
return typeof e == "function";
|
|
3196
3198
|
}
|
|
3197
|
-
function we(e, t, r, n, i,
|
|
3198
|
-
if (e.length === 1 &&
|
|
3199
|
+
function we(e, t, r, n, i, a, s) {
|
|
3200
|
+
if (e.length === 1 && ht(e[0]))
|
|
3199
3201
|
return [
|
|
3200
3202
|
{
|
|
3201
3203
|
type: O.literal,
|
|
3202
3204
|
value: e[0].value
|
|
3203
3205
|
}
|
|
3204
3206
|
];
|
|
3205
|
-
for (var
|
|
3207
|
+
for (var o = [], h = 0, u = e; h < u.length; h++) {
|
|
3206
3208
|
var l = u[h];
|
|
3207
|
-
if (
|
|
3208
|
-
|
|
3209
|
+
if (ht(l)) {
|
|
3210
|
+
o.push({
|
|
3209
3211
|
type: O.literal,
|
|
3210
3212
|
value: l.value
|
|
3211
3213
|
});
|
|
3212
3214
|
continue;
|
|
3213
3215
|
}
|
|
3214
|
-
if (
|
|
3215
|
-
typeof
|
|
3216
|
+
if (Qr(l)) {
|
|
3217
|
+
typeof a == "number" && o.push({
|
|
3216
3218
|
type: O.literal,
|
|
3217
|
-
value: r.getNumberFormat(t).format(
|
|
3219
|
+
value: r.getNumberFormat(t).format(a)
|
|
3218
3220
|
});
|
|
3219
3221
|
continue;
|
|
3220
3222
|
}
|
|
3221
3223
|
var c = l.value;
|
|
3222
3224
|
if (!(i && c in i))
|
|
3223
|
-
throw new
|
|
3225
|
+
throw new Rn(c, s);
|
|
3224
3226
|
var f = i[c];
|
|
3225
|
-
if (
|
|
3226
|
-
(!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({
|
|
3227
3229
|
type: typeof f == "string" ? O.literal : O.object,
|
|
3228
3230
|
value: f
|
|
3229
3231
|
});
|
|
3230
3232
|
continue;
|
|
3231
3233
|
}
|
|
3232
|
-
if (
|
|
3234
|
+
if ($t(l)) {
|
|
3233
3235
|
var g = typeof l.style == "string" ? n.date[l.style] : We(l.style) ? l.style.parsedOptions : void 0;
|
|
3234
|
-
|
|
3236
|
+
o.push({
|
|
3235
3237
|
type: O.literal,
|
|
3236
3238
|
value: r.getDateTimeFormat(t, g).format(f)
|
|
3237
3239
|
});
|
|
3238
3240
|
continue;
|
|
3239
3241
|
}
|
|
3240
|
-
if (
|
|
3242
|
+
if (Dt(l)) {
|
|
3241
3243
|
var g = typeof l.style == "string" ? n.time[l.style] : We(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3242
|
-
|
|
3244
|
+
o.push({
|
|
3243
3245
|
type: O.literal,
|
|
3244
3246
|
value: r.getDateTimeFormat(t, g).format(f)
|
|
3245
3247
|
});
|
|
3246
3248
|
continue;
|
|
3247
3249
|
}
|
|
3248
|
-
if (
|
|
3249
|
-
var g = typeof l.style == "string" ? n.number[l.style] :
|
|
3250
|
-
g && g.scale && (f = f * (g.scale || 1)),
|
|
3250
|
+
if (It(l)) {
|
|
3251
|
+
var g = typeof l.style == "string" ? n.number[l.style] : jt(l.style) ? l.style.parsedOptions : void 0;
|
|
3252
|
+
g && g.scale && (f = f * (g.scale || 1)), o.push({
|
|
3251
3253
|
type: O.literal,
|
|
3252
3254
|
value: r.getNumberFormat(t, g).format(f)
|
|
3253
3255
|
});
|
|
3254
3256
|
continue;
|
|
3255
3257
|
}
|
|
3256
|
-
if (
|
|
3258
|
+
if (Ft(l)) {
|
|
3257
3259
|
var y = l.children, T = l.value, w = i[T];
|
|
3258
|
-
if (!
|
|
3259
|
-
throw new
|
|
3260
|
-
var C = we(y, t, r, n, i,
|
|
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) {
|
|
3261
3263
|
return A.value;
|
|
3262
3264
|
}));
|
|
3263
|
-
Array.isArray(R) || (R = [R]),
|
|
3265
|
+
Array.isArray(R) || (R = [R]), o.push.apply(o, R.map(function(A) {
|
|
3264
3266
|
return {
|
|
3265
3267
|
type: typeof A == "string" ? O.literal : O.object,
|
|
3266
3268
|
value: A
|
|
3267
3269
|
};
|
|
3268
3270
|
}));
|
|
3269
3271
|
}
|
|
3270
|
-
if (
|
|
3272
|
+
if (Ut(l)) {
|
|
3271
3273
|
var S = l.options[f] || l.options.other;
|
|
3272
3274
|
if (!S)
|
|
3273
|
-
throw new
|
|
3274
|
-
|
|
3275
|
+
throw new gt(l.value, f, Object.keys(l.options), s);
|
|
3276
|
+
o.push.apply(o, we(S.value, t, r, n, i));
|
|
3275
3277
|
continue;
|
|
3276
3278
|
}
|
|
3277
|
-
if (
|
|
3279
|
+
if (Gt(l)) {
|
|
3278
3280
|
var S = l.options["=".concat(f)];
|
|
3279
3281
|
if (!S) {
|
|
3280
3282
|
if (!Intl.PluralRules)
|
|
@@ -3285,21 +3287,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3285
3287
|
S = l.options[N] || l.options.other;
|
|
3286
3288
|
}
|
|
3287
3289
|
if (!S)
|
|
3288
|
-
throw new
|
|
3289
|
-
|
|
3290
|
+
throw new gt(l.value, f, Object.keys(l.options), s);
|
|
3291
|
+
o.push.apply(o, we(S.value, t, r, n, i, f - (l.offset || 0)));
|
|
3290
3292
|
continue;
|
|
3291
3293
|
}
|
|
3292
3294
|
}
|
|
3293
|
-
return
|
|
3295
|
+
return kn(o);
|
|
3294
3296
|
}
|
|
3295
|
-
function
|
|
3297
|
+
function An(e, t) {
|
|
3296
3298
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3297
3299
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
3298
3300
|
}, {})) : e;
|
|
3299
3301
|
}
|
|
3300
|
-
function
|
|
3302
|
+
function Ln(e, t) {
|
|
3301
3303
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3302
|
-
return r[n] =
|
|
3304
|
+
return r[n] = An(e[n], t[n]), r;
|
|
3303
3305
|
}, _({}, e)) : e;
|
|
3304
3306
|
}
|
|
3305
3307
|
function Ge(e) {
|
|
@@ -3316,7 +3318,7 @@ function Ge(e) {
|
|
|
3316
3318
|
}
|
|
3317
3319
|
};
|
|
3318
3320
|
}
|
|
3319
|
-
function
|
|
3321
|
+
function Pn(e) {
|
|
3320
3322
|
return e === void 0 && (e = {
|
|
3321
3323
|
number: {},
|
|
3322
3324
|
dateTime: {},
|
|
@@ -3348,18 +3350,18 @@ function Ln(e) {
|
|
|
3348
3350
|
})
|
|
3349
3351
|
};
|
|
3350
3352
|
}
|
|
3351
|
-
var
|
|
3353
|
+
var On = (
|
|
3352
3354
|
/** @class */
|
|
3353
3355
|
function() {
|
|
3354
3356
|
function e(t, r, n, i) {
|
|
3355
3357
|
r === void 0 && (r = e.defaultLocale);
|
|
3356
|
-
var
|
|
3358
|
+
var a = this;
|
|
3357
3359
|
if (this.formatterCache = {
|
|
3358
3360
|
number: {},
|
|
3359
3361
|
dateTime: {},
|
|
3360
3362
|
pluralRules: {}
|
|
3361
3363
|
}, this.format = function(h) {
|
|
3362
|
-
var u =
|
|
3364
|
+
var u = a.formatToParts(h);
|
|
3363
3365
|
if (u.length === 1)
|
|
3364
3366
|
return u[0].value;
|
|
3365
3367
|
var l = u.reduce(function(c, f) {
|
|
@@ -3367,26 +3369,26 @@ var Pn = (
|
|
|
3367
3369
|
}, []);
|
|
3368
3370
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3369
3371
|
}, this.formatToParts = function(h) {
|
|
3370
|
-
return we(
|
|
3372
|
+
return we(a.ast, a.locales, a.formatters, a.formats, h, void 0, a.message);
|
|
3371
3373
|
}, this.resolvedOptions = function() {
|
|
3372
3374
|
var h;
|
|
3373
3375
|
return {
|
|
3374
|
-
locale: ((h =
|
|
3376
|
+
locale: ((h = a.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(a.locales)[0]
|
|
3375
3377
|
};
|
|
3376
3378
|
}, this.getAst = function() {
|
|
3377
|
-
return
|
|
3379
|
+
return a.ast;
|
|
3378
3380
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3379
3381
|
if (this.message = t, !e.__parse)
|
|
3380
3382
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3381
3383
|
var s = i || {};
|
|
3382
3384
|
s.formatters;
|
|
3383
|
-
var
|
|
3384
|
-
this.ast = e.__parse(t, _(_({},
|
|
3385
|
+
var o = zr(s, ["formatters"]);
|
|
3386
|
+
this.ast = e.__parse(t, _(_({}, o), { locale: this.resolvedLocale }));
|
|
3385
3387
|
} else
|
|
3386
3388
|
this.ast = t;
|
|
3387
3389
|
if (!Array.isArray(this.ast))
|
|
3388
3390
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3389
|
-
this.formats =
|
|
3391
|
+
this.formats = Ln(e.formats, n), this.formatters = i && i.formatters || Pn(this.formatterCache);
|
|
3390
3392
|
}
|
|
3391
3393
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3392
3394
|
get: function() {
|
|
@@ -3399,7 +3401,7 @@ var Pn = (
|
|
|
3399
3401
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3400
3402
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3401
3403
|
}
|
|
3402
|
-
}, e.__parse =
|
|
3404
|
+
}, e.__parse = Sn, e.formats = {
|
|
3403
3405
|
number: {
|
|
3404
3406
|
integer: {
|
|
3405
3407
|
maximumFractionDigits: 0
|
|
@@ -3460,7 +3462,7 @@ var Pn = (
|
|
|
3460
3462
|
}, e;
|
|
3461
3463
|
}()
|
|
3462
3464
|
);
|
|
3463
|
-
function
|
|
3465
|
+
function In(e, t) {
|
|
3464
3466
|
if (t == null)
|
|
3465
3467
|
return;
|
|
3466
3468
|
if (t in e)
|
|
@@ -3470,9 +3472,9 @@ function On(e, t) {
|
|
|
3470
3472
|
for (let i = 0; i < r.length; i++)
|
|
3471
3473
|
if (typeof n == "object") {
|
|
3472
3474
|
if (i > 0) {
|
|
3473
|
-
const
|
|
3474
|
-
if (
|
|
3475
|
-
n = n[
|
|
3475
|
+
const a = r.slice(i, r.length).join(".");
|
|
3476
|
+
if (a in n) {
|
|
3477
|
+
n = n[a];
|
|
3476
3478
|
break;
|
|
3477
3479
|
}
|
|
3478
3480
|
}
|
|
@@ -3481,60 +3483,60 @@ function On(e, t) {
|
|
|
3481
3483
|
n = void 0;
|
|
3482
3484
|
return n;
|
|
3483
3485
|
}
|
|
3484
|
-
const q = {},
|
|
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) => {
|
|
3485
3487
|
if (t == null)
|
|
3486
3488
|
return;
|
|
3487
3489
|
if (t in q && e in q[t])
|
|
3488
3490
|
return q[t][e];
|
|
3489
3491
|
const r = Le(t);
|
|
3490
3492
|
for (let n = 0; n < r.length; n++) {
|
|
3491
|
-
const i = r[n],
|
|
3492
|
-
if (
|
|
3493
|
-
return
|
|
3493
|
+
const i = r[n], a = Un(i, e);
|
|
3494
|
+
if (a)
|
|
3495
|
+
return $n(e, t, a);
|
|
3494
3496
|
}
|
|
3495
3497
|
};
|
|
3496
|
-
let
|
|
3498
|
+
let it;
|
|
3497
3499
|
const me = ke({});
|
|
3498
|
-
function
|
|
3499
|
-
return
|
|
3500
|
+
function Dn(e) {
|
|
3501
|
+
return it[e] || null;
|
|
3500
3502
|
}
|
|
3501
|
-
function
|
|
3502
|
-
return e in
|
|
3503
|
+
function qt(e) {
|
|
3504
|
+
return e in it;
|
|
3503
3505
|
}
|
|
3504
|
-
function
|
|
3505
|
-
if (!
|
|
3506
|
+
function Un(e, t) {
|
|
3507
|
+
if (!qt(e))
|
|
3506
3508
|
return null;
|
|
3507
|
-
const r =
|
|
3508
|
-
return
|
|
3509
|
+
const r = Dn(e);
|
|
3510
|
+
return In(r, t);
|
|
3509
3511
|
}
|
|
3510
|
-
function
|
|
3512
|
+
function Gn(e) {
|
|
3511
3513
|
if (e == null)
|
|
3512
3514
|
return;
|
|
3513
3515
|
const t = Le(e);
|
|
3514
3516
|
for (let r = 0; r < t.length; r++) {
|
|
3515
3517
|
const n = t[r];
|
|
3516
|
-
if (
|
|
3518
|
+
if (qt(n))
|
|
3517
3519
|
return n;
|
|
3518
3520
|
}
|
|
3519
3521
|
}
|
|
3520
|
-
function
|
|
3521
|
-
delete q[e], me.update((r) => (r[e] =
|
|
3522
|
+
function Qt(e, ...t) {
|
|
3523
|
+
delete q[e], me.update((r) => (r[e] = Vr.all([r[e] || {}, ...t]), r));
|
|
3522
3524
|
}
|
|
3523
3525
|
fe(
|
|
3524
3526
|
[me],
|
|
3525
3527
|
([e]) => Object.keys(e)
|
|
3526
3528
|
);
|
|
3527
|
-
me.subscribe((e) =>
|
|
3529
|
+
me.subscribe((e) => it = e);
|
|
3528
3530
|
const He = {};
|
|
3529
|
-
function
|
|
3531
|
+
function Fn(e, t) {
|
|
3530
3532
|
He[e].delete(t), He[e].size === 0 && delete He[e];
|
|
3531
3533
|
}
|
|
3532
|
-
function
|
|
3534
|
+
function er(e) {
|
|
3533
3535
|
return He[e];
|
|
3534
3536
|
}
|
|
3535
|
-
function
|
|
3537
|
+
function jn(e) {
|
|
3536
3538
|
return Le(e).map((t) => {
|
|
3537
|
-
const r =
|
|
3539
|
+
const r = er(t);
|
|
3538
3540
|
return [t, r ? [...r] : []];
|
|
3539
3541
|
}).filter(([, t]) => t.length > 0);
|
|
3540
3542
|
}
|
|
@@ -3542,31 +3544,31 @@ function Qe(e) {
|
|
|
3542
3544
|
return e == null ? !1 : Le(e).some(
|
|
3543
3545
|
(t) => {
|
|
3544
3546
|
var r;
|
|
3545
|
-
return (r =
|
|
3547
|
+
return (r = er(t)) == null ? void 0 : r.size;
|
|
3546
3548
|
}
|
|
3547
3549
|
);
|
|
3548
3550
|
}
|
|
3549
|
-
function
|
|
3551
|
+
function Vn(e, t) {
|
|
3550
3552
|
return Promise.all(
|
|
3551
|
-
t.map((n) => (
|
|
3552
|
-
).then((n) =>
|
|
3553
|
+
t.map((n) => (Fn(e, n), n().then((i) => i.default || i)))
|
|
3554
|
+
).then((n) => Qt(e, ...n));
|
|
3553
3555
|
}
|
|
3554
3556
|
const pe = {};
|
|
3555
|
-
function
|
|
3557
|
+
function tr(e) {
|
|
3556
3558
|
if (!Qe(e))
|
|
3557
3559
|
return e in pe ? pe[e] : Promise.resolve();
|
|
3558
|
-
const t =
|
|
3560
|
+
const t = jn(e);
|
|
3559
3561
|
return pe[e] = Promise.all(
|
|
3560
3562
|
t.map(
|
|
3561
|
-
([r, n]) =>
|
|
3563
|
+
([r, n]) => Vn(r, n)
|
|
3562
3564
|
)
|
|
3563
3565
|
).then(() => {
|
|
3564
3566
|
if (Qe(e))
|
|
3565
|
-
return
|
|
3567
|
+
return tr(e);
|
|
3566
3568
|
delete pe[e];
|
|
3567
3569
|
}), pe[e];
|
|
3568
3570
|
}
|
|
3569
|
-
const
|
|
3571
|
+
const zn = {
|
|
3570
3572
|
number: {
|
|
3571
3573
|
scientific: { notation: "scientific" },
|
|
3572
3574
|
engineering: { notation: "engineering" },
|
|
@@ -3595,34 +3597,34 @@ const Vn = {
|
|
|
3595
3597
|
timeZoneName: "short"
|
|
3596
3598
|
}
|
|
3597
3599
|
}
|
|
3598
|
-
},
|
|
3600
|
+
}, Xn = {
|
|
3599
3601
|
fallbackLocale: null,
|
|
3600
3602
|
loadingDelay: 200,
|
|
3601
|
-
formats:
|
|
3603
|
+
formats: zn,
|
|
3602
3604
|
warnOnMissingMessages: !0,
|
|
3603
3605
|
handleMissingMessage: void 0,
|
|
3604
3606
|
ignoreTag: !0
|
|
3605
|
-
},
|
|
3607
|
+
}, Wn = Xn;
|
|
3606
3608
|
function ce() {
|
|
3607
|
-
return
|
|
3609
|
+
return Wn;
|
|
3608
3610
|
}
|
|
3609
3611
|
const Fe = ke(!1);
|
|
3610
|
-
var
|
|
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) => {
|
|
3611
3613
|
for (var r in t || (t = {}))
|
|
3612
|
-
|
|
3613
|
-
if (
|
|
3614
|
-
for (var r of
|
|
3615
|
-
|
|
3614
|
+
Kn.call(t, r) && vt(e, r, t[r]);
|
|
3615
|
+
if (yt)
|
|
3616
|
+
for (var r of yt(t))
|
|
3617
|
+
qn.call(t, r) && vt(e, r, t[r]);
|
|
3616
3618
|
return e;
|
|
3617
|
-
},
|
|
3619
|
+
}, ei = (e, t) => Jn(e, Yn(t));
|
|
3618
3620
|
let et;
|
|
3619
3621
|
const Ce = ke(null);
|
|
3620
|
-
function
|
|
3622
|
+
function _t(e) {
|
|
3621
3623
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3622
3624
|
}
|
|
3623
3625
|
function Le(e, t = ce().fallbackLocale) {
|
|
3624
|
-
const r =
|
|
3625
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3626
|
+
const r = _t(e);
|
|
3627
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
|
|
3626
3628
|
}
|
|
3627
3629
|
function ne() {
|
|
3628
3630
|
return et ?? void 0;
|
|
@@ -3630,22 +3632,22 @@ function ne() {
|
|
|
3630
3632
|
Ce.subscribe((e) => {
|
|
3631
3633
|
et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3632
3634
|
});
|
|
3633
|
-
const
|
|
3634
|
-
if (e &&
|
|
3635
|
+
const ti = (e) => {
|
|
3636
|
+
if (e && Gn(e) && Qe(e)) {
|
|
3635
3637
|
const { loadingDelay: t } = ce();
|
|
3636
3638
|
let r;
|
|
3637
3639
|
return typeof window < "u" && ne() != null && t ? r = window.setTimeout(
|
|
3638
3640
|
() => Fe.set(!0),
|
|
3639
3641
|
t
|
|
3640
|
-
) : Fe.set(!0),
|
|
3642
|
+
) : Fe.set(!0), tr(e).then(() => {
|
|
3641
3643
|
Ce.set(e);
|
|
3642
3644
|
}).finally(() => {
|
|
3643
3645
|
clearTimeout(r), Fe.set(!1);
|
|
3644
3646
|
});
|
|
3645
3647
|
}
|
|
3646
3648
|
return Ce.set(e);
|
|
3647
|
-
}, Q = Qn(
|
|
3648
|
-
set:
|
|
3649
|
+
}, Q = ei(Qn({}, Ce), {
|
|
3650
|
+
set: ti
|
|
3649
3651
|
}), Pe = (e) => {
|
|
3650
3652
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3651
3653
|
return (n) => {
|
|
@@ -3653,20 +3655,20 @@ const ei = (e) => {
|
|
|
3653
3655
|
return i in t ? t[i] : t[i] = e(n);
|
|
3654
3656
|
};
|
|
3655
3657
|
};
|
|
3656
|
-
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) => {
|
|
3657
3659
|
for (var r in t || (t = {}))
|
|
3658
|
-
|
|
3660
|
+
rr.call(t, r) && Et(e, r, t[r]);
|
|
3659
3661
|
if (Se)
|
|
3660
3662
|
for (var r of Se(t))
|
|
3661
|
-
|
|
3663
|
+
nr.call(t, r) && Et(e, r, t[r]);
|
|
3662
3664
|
return e;
|
|
3663
3665
|
}, de = (e, t) => {
|
|
3664
3666
|
var r = {};
|
|
3665
3667
|
for (var n in e)
|
|
3666
|
-
|
|
3668
|
+
rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3667
3669
|
if (e != null && Se)
|
|
3668
3670
|
for (var n of Se(e))
|
|
3669
|
-
t.indexOf(n) < 0 &&
|
|
3671
|
+
t.indexOf(n) < 0 && nr.call(e, n) && (r[n] = e[n]);
|
|
3670
3672
|
return r;
|
|
3671
3673
|
};
|
|
3672
3674
|
const ve = (e, t) => {
|
|
@@ -3674,21 +3676,21 @@ const ve = (e, t) => {
|
|
|
3674
3676
|
if (e in r && t in r[e])
|
|
3675
3677
|
return r[e][t];
|
|
3676
3678
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3677
|
-
},
|
|
3679
|
+
}, ni = Pe(
|
|
3678
3680
|
(e) => {
|
|
3679
3681
|
var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
|
|
3680
3682
|
if (r == null)
|
|
3681
3683
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3682
3684
|
return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
|
|
3683
3685
|
}
|
|
3684
|
-
),
|
|
3686
|
+
), ii = Pe(
|
|
3685
3687
|
(e) => {
|
|
3686
3688
|
var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
|
|
3687
3689
|
if (r == null)
|
|
3688
3690
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3689
3691
|
return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3690
3692
|
}
|
|
3691
|
-
),
|
|
3693
|
+
), ai = Pe(
|
|
3692
3694
|
(e) => {
|
|
3693
3695
|
var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
|
|
3694
3696
|
if (r == null)
|
|
@@ -3703,32 +3705,32 @@ const ve = (e, t) => {
|
|
|
3703
3705
|
} = t, n = de(t, [
|
|
3704
3706
|
"locale"
|
|
3705
3707
|
]);
|
|
3706
|
-
return
|
|
3707
|
-
},
|
|
3708
|
+
return ni(at({ locale: r }, n));
|
|
3709
|
+
}, si = (e = {}) => {
|
|
3708
3710
|
var t = e, {
|
|
3709
3711
|
locale: r = ne()
|
|
3710
3712
|
} = t, n = de(t, [
|
|
3711
3713
|
"locale"
|
|
3712
3714
|
]);
|
|
3713
|
-
return
|
|
3714
|
-
},
|
|
3715
|
+
return ii(at({ locale: r }, n));
|
|
3716
|
+
}, ui = (e = {}) => {
|
|
3715
3717
|
var t = e, {
|
|
3716
3718
|
locale: r = ne()
|
|
3717
3719
|
} = t, n = de(t, [
|
|
3718
3720
|
"locale"
|
|
3719
3721
|
]);
|
|
3720
|
-
return
|
|
3721
|
-
},
|
|
3722
|
+
return ai(at({ locale: r }, n));
|
|
3723
|
+
}, li = Pe(
|
|
3722
3724
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3723
|
-
(e, t = ne()) => new
|
|
3725
|
+
(e, t = ne()) => new On(e, t, ce().formats, {
|
|
3724
3726
|
ignoreTag: ce().ignoreTag
|
|
3725
3727
|
})
|
|
3726
|
-
),
|
|
3727
|
-
var r, n, i,
|
|
3728
|
+
), hi = (e, t = {}) => {
|
|
3729
|
+
var r, n, i, a;
|
|
3728
3730
|
let s = t;
|
|
3729
3731
|
typeof e == "object" && (s = e, e = s.id);
|
|
3730
3732
|
const {
|
|
3731
|
-
values:
|
|
3733
|
+
values: o,
|
|
3732
3734
|
locale: h = ne(),
|
|
3733
3735
|
default: u
|
|
3734
3736
|
} = s;
|
|
@@ -3736,18 +3738,18 @@ const ve = (e, t) => {
|
|
|
3736
3738
|
throw new Error(
|
|
3737
3739
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3738
3740
|
);
|
|
3739
|
-
let l =
|
|
3741
|
+
let l = Kt(e, h);
|
|
3740
3742
|
if (!l)
|
|
3741
|
-
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;
|
|
3742
3744
|
else if (typeof l != "string")
|
|
3743
3745
|
return console.warn(
|
|
3744
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.`
|
|
3745
3747
|
), l;
|
|
3746
|
-
if (!
|
|
3748
|
+
if (!o)
|
|
3747
3749
|
return l;
|
|
3748
3750
|
let c = l;
|
|
3749
3751
|
try {
|
|
3750
|
-
c =
|
|
3752
|
+
c = li(l, h).format(o);
|
|
3751
3753
|
} catch (f) {
|
|
3752
3754
|
f instanceof Error && console.warn(
|
|
3753
3755
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3755,23 +3757,23 @@ const ve = (e, t) => {
|
|
|
3755
3757
|
);
|
|
3756
3758
|
}
|
|
3757
3759
|
return c;
|
|
3758
|
-
},
|
|
3759
|
-
fe([Q], () => hi);
|
|
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);
|
|
3760
3761
|
fe([Q], () => ci);
|
|
3761
3762
|
fe([Q], () => fi);
|
|
3762
|
-
fe([Q
|
|
3763
|
-
|
|
3763
|
+
fe([Q], () => mi);
|
|
3764
|
+
fe([Q, me], () => di);
|
|
3765
|
+
function bi({ withLocale: e, translations: t }) {
|
|
3764
3766
|
Q.subscribe((r) => {
|
|
3765
3767
|
r == null && (me.set(t), Q.set(e));
|
|
3766
3768
|
});
|
|
3767
3769
|
}
|
|
3768
|
-
function
|
|
3769
|
-
|
|
3770
|
+
function xt(e, t) {
|
|
3771
|
+
Qt(e, t);
|
|
3770
3772
|
}
|
|
3771
|
-
function
|
|
3773
|
+
function gi(e) {
|
|
3772
3774
|
Q.set(e);
|
|
3773
3775
|
}
|
|
3774
|
-
const
|
|
3776
|
+
const Tt = {
|
|
3775
3777
|
en: {
|
|
3776
3778
|
scoreCriteriaType: {
|
|
3777
3779
|
stake: "The score criteria for this tournament is <b>Turnover</b>. For each X generated (X= amount wagered in player currency or equivalent in base currency) player will get 1 point. The player who will have the largest turnover will have the highest score and rank.",
|
|
@@ -4018,11 +4020,11 @@ const Et = {
|
|
|
4018
4020
|
YER: "﷼",
|
|
4019
4021
|
ZAR: "R",
|
|
4020
4022
|
ZWD: "Z$"
|
|
4021
|
-
},
|
|
4022
|
-
function
|
|
4023
|
-
|
|
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) {
|
|
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}");
|
|
4024
4026
|
}
|
|
4025
|
-
function
|
|
4027
|
+
function Bt(e) {
|
|
4026
4028
|
let t, r = (
|
|
4027
4029
|
/*$_*/
|
|
4028
4030
|
e[13]("scoreCriteriaType.mostRounds") + ""
|
|
@@ -4031,11 +4033,11 @@ function xt(e) {
|
|
|
4031
4033
|
c() {
|
|
4032
4034
|
t = new Re(!1), n = Me(), t.a = n;
|
|
4033
4035
|
},
|
|
4034
|
-
m(i,
|
|
4035
|
-
t.m(r, i,
|
|
4036
|
+
m(i, a) {
|
|
4037
|
+
t.m(r, i, a), M(i, n, a);
|
|
4036
4038
|
},
|
|
4037
|
-
p(i,
|
|
4038
|
-
|
|
4039
|
+
p(i, a) {
|
|
4040
|
+
a & /*$_*/
|
|
4039
4041
|
8192 && r !== (r = /*$_*/
|
|
4040
4042
|
i[13]("scoreCriteriaType.mostRounds") + "") && t.p(r);
|
|
4041
4043
|
},
|
|
@@ -4044,7 +4046,7 @@ function xt(e) {
|
|
|
4044
4046
|
}
|
|
4045
4047
|
};
|
|
4046
4048
|
}
|
|
4047
|
-
function
|
|
4049
|
+
function wt(e) {
|
|
4048
4050
|
let t, r = (
|
|
4049
4051
|
/*$_*/
|
|
4050
4052
|
e[13]("scoreCriteriaType.winStateRatio") + ""
|
|
@@ -4053,11 +4055,11 @@ function Tt(e) {
|
|
|
4053
4055
|
c() {
|
|
4054
4056
|
t = new Re(!1), n = Me(), t.a = n;
|
|
4055
4057
|
},
|
|
4056
|
-
m(i,
|
|
4057
|
-
t.m(r, i,
|
|
4058
|
+
m(i, a) {
|
|
4059
|
+
t.m(r, i, a), M(i, n, a);
|
|
4058
4060
|
},
|
|
4059
|
-
p(i,
|
|
4060
|
-
|
|
4061
|
+
p(i, a) {
|
|
4062
|
+
a & /*$_*/
|
|
4061
4063
|
8192 && r !== (r = /*$_*/
|
|
4062
4064
|
i[13]("scoreCriteriaType.winStateRatio") + "") && t.p(r);
|
|
4063
4065
|
},
|
|
@@ -4066,7 +4068,7 @@ function Tt(e) {
|
|
|
4066
4068
|
}
|
|
4067
4069
|
};
|
|
4068
4070
|
}
|
|
4069
|
-
function
|
|
4071
|
+
function Ht(e) {
|
|
4070
4072
|
let t, r = (
|
|
4071
4073
|
/*$_*/
|
|
4072
4074
|
e[13]("scoreCriteriaType.maxWinStateRatio") + ""
|
|
@@ -4075,11 +4077,11 @@ function Bt(e) {
|
|
|
4075
4077
|
c() {
|
|
4076
4078
|
t = new Re(!1), n = Me(), t.a = n;
|
|
4077
4079
|
},
|
|
4078
|
-
m(i,
|
|
4079
|
-
t.m(r, i,
|
|
4080
|
+
m(i, a) {
|
|
4081
|
+
t.m(r, i, a), M(i, n, a);
|
|
4080
4082
|
},
|
|
4081
|
-
p(i,
|
|
4082
|
-
|
|
4083
|
+
p(i, a) {
|
|
4084
|
+
a & /*$_*/
|
|
4083
4085
|
8192 && r !== (r = /*$_*/
|
|
4084
4086
|
i[13]("scoreCriteriaType.maxWinStateRatio") + "") && t.p(r);
|
|
4085
4087
|
},
|
|
@@ -4088,7 +4090,7 @@ function Bt(e) {
|
|
|
4088
4090
|
}
|
|
4089
4091
|
};
|
|
4090
4092
|
}
|
|
4091
|
-
function
|
|
4093
|
+
function Ct(e) {
|
|
4092
4094
|
let t, r = (
|
|
4093
4095
|
/*$_*/
|
|
4094
4096
|
e[13]("scoreCriteriaType.stake") + ""
|
|
@@ -4097,11 +4099,11 @@ function wt(e) {
|
|
|
4097
4099
|
c() {
|
|
4098
4100
|
t = new Re(!1), n = Me(), t.a = n;
|
|
4099
4101
|
},
|
|
4100
|
-
m(i,
|
|
4101
|
-
t.m(r, i,
|
|
4102
|
+
m(i, a) {
|
|
4103
|
+
t.m(r, i, a), M(i, n, a);
|
|
4102
4104
|
},
|
|
4103
|
-
p(i,
|
|
4104
|
-
|
|
4105
|
+
p(i, a) {
|
|
4106
|
+
a & /*$_*/
|
|
4105
4107
|
8192 && r !== (r = /*$_*/
|
|
4106
4108
|
i[13]("scoreCriteriaType.stake") + "") && t.p(r);
|
|
4107
4109
|
},
|
|
@@ -4110,38 +4112,38 @@ function wt(e) {
|
|
|
4110
4112
|
}
|
|
4111
4113
|
};
|
|
4112
4114
|
}
|
|
4113
|
-
function
|
|
4115
|
+
function St(e) {
|
|
4114
4116
|
let t, r, n;
|
|
4115
|
-
function i(
|
|
4117
|
+
function i(o, h) {
|
|
4116
4118
|
return (
|
|
4117
4119
|
/*noMinCasinoBet*/
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
+
o[8] && /*noMaxCasinoBet*/
|
|
4121
|
+
o[9] ? Hi : (
|
|
4120
4122
|
/*noMinCasinoBet*/
|
|
4121
|
-
|
|
4123
|
+
o[8] ? wi : (
|
|
4122
4124
|
/*noMaxCasinoBet*/
|
|
4123
|
-
|
|
4125
|
+
o[9] ? Bi : Ti
|
|
4124
4126
|
)
|
|
4125
4127
|
)
|
|
4126
4128
|
);
|
|
4127
4129
|
}
|
|
4128
|
-
let
|
|
4130
|
+
let a = i(e), s = a(e);
|
|
4129
4131
|
return {
|
|
4130
4132
|
c() {
|
|
4131
|
-
t = x("div"), r = x("div"), r.innerHTML = `<img src="${
|
|
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");
|
|
4132
4134
|
},
|
|
4133
|
-
m(
|
|
4134
|
-
M(
|
|
4135
|
+
m(o, h) {
|
|
4136
|
+
M(o, t, h), p(t, r), p(t, n), s.m(t, null);
|
|
4135
4137
|
},
|
|
4136
|
-
p(
|
|
4137
|
-
|
|
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)));
|
|
4138
4140
|
},
|
|
4139
|
-
d(
|
|
4140
|
-
|
|
4141
|
+
d(o) {
|
|
4142
|
+
o && H(t), s.d();
|
|
4141
4143
|
}
|
|
4142
4144
|
};
|
|
4143
4145
|
}
|
|
4144
|
-
function
|
|
4146
|
+
function Ti(e) {
|
|
4145
4147
|
let t, r = (
|
|
4146
4148
|
/*$_*/
|
|
4147
4149
|
e[13]("productMinMaxBet", {
|
|
@@ -4175,11 +4177,11 @@ function xi(e) {
|
|
|
4175
4177
|
c() {
|
|
4176
4178
|
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4177
4179
|
},
|
|
4178
|
-
m(i,
|
|
4179
|
-
M(i, t,
|
|
4180
|
+
m(i, a) {
|
|
4181
|
+
M(i, t, a), p(t, n);
|
|
4180
4182
|
},
|
|
4181
|
-
p(i,
|
|
4182
|
-
|
|
4183
|
+
p(i, a) {
|
|
4184
|
+
a & /*$_, casino, currency*/
|
|
4183
4185
|
12352 && r !== (r = /*$_*/
|
|
4184
4186
|
i[13]("productMinMaxBet", {
|
|
4185
4187
|
values: {
|
|
@@ -4213,7 +4215,7 @@ function xi(e) {
|
|
|
4213
4215
|
}
|
|
4214
4216
|
};
|
|
4215
4217
|
}
|
|
4216
|
-
function
|
|
4218
|
+
function Bi(e) {
|
|
4217
4219
|
let t, r = (
|
|
4218
4220
|
/*$_*/
|
|
4219
4221
|
e[13]("productMinBet", {
|
|
@@ -4238,11 +4240,11 @@ function Ti(e) {
|
|
|
4238
4240
|
c() {
|
|
4239
4241
|
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4240
4242
|
},
|
|
4241
|
-
m(i,
|
|
4242
|
-
M(i, t,
|
|
4243
|
+
m(i, a) {
|
|
4244
|
+
M(i, t, a), p(t, n);
|
|
4243
4245
|
},
|
|
4244
|
-
p(i,
|
|
4245
|
-
|
|
4246
|
+
p(i, a) {
|
|
4247
|
+
a & /*$_, casino, currency*/
|
|
4246
4248
|
12352 && r !== (r = /*$_*/
|
|
4247
4249
|
i[13]("productMinBet", {
|
|
4248
4250
|
values: {
|
|
@@ -4267,7 +4269,7 @@ function Ti(e) {
|
|
|
4267
4269
|
}
|
|
4268
4270
|
};
|
|
4269
4271
|
}
|
|
4270
|
-
function
|
|
4272
|
+
function wi(e) {
|
|
4271
4273
|
let t, r = (
|
|
4272
4274
|
/*$_*/
|
|
4273
4275
|
e[13]("productMaxBet", {
|
|
@@ -4292,11 +4294,11 @@ function Bi(e) {
|
|
|
4292
4294
|
c() {
|
|
4293
4295
|
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4294
4296
|
},
|
|
4295
|
-
m(i,
|
|
4296
|
-
M(i, t,
|
|
4297
|
+
m(i, a) {
|
|
4298
|
+
M(i, t, a), p(t, n);
|
|
4297
4299
|
},
|
|
4298
|
-
p(i,
|
|
4299
|
-
|
|
4300
|
+
p(i, a) {
|
|
4301
|
+
a & /*$_, casino, currency*/
|
|
4300
4302
|
12352 && r !== (r = /*$_*/
|
|
4301
4303
|
i[13]("productMaxBet", {
|
|
4302
4304
|
values: {
|
|
@@ -4321,7 +4323,7 @@ function Bi(e) {
|
|
|
4321
4323
|
}
|
|
4322
4324
|
};
|
|
4323
4325
|
}
|
|
4324
|
-
function
|
|
4326
|
+
function Hi(e) {
|
|
4325
4327
|
let t, r = (
|
|
4326
4328
|
/*$_*/
|
|
4327
4329
|
e[13]("productNoLimitsBet", {
|
|
@@ -4335,11 +4337,11 @@ function wi(e) {
|
|
|
4335
4337
|
c() {
|
|
4336
4338
|
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4337
4339
|
},
|
|
4338
|
-
m(i,
|
|
4339
|
-
M(i, t,
|
|
4340
|
+
m(i, a) {
|
|
4341
|
+
M(i, t, a), p(t, n);
|
|
4340
4342
|
},
|
|
4341
|
-
p(i,
|
|
4342
|
-
|
|
4343
|
+
p(i, a) {
|
|
4344
|
+
a & /*$_, casino*/
|
|
4343
4345
|
8256 && r !== (r = /*$_*/
|
|
4344
4346
|
i[13]("productNoLimitsBet", {
|
|
4345
4347
|
values: { productName: (
|
|
@@ -4353,38 +4355,38 @@ function wi(e) {
|
|
|
4353
4355
|
}
|
|
4354
4356
|
};
|
|
4355
4357
|
}
|
|
4356
|
-
function
|
|
4358
|
+
function Mt(e) {
|
|
4357
4359
|
let t, r, n;
|
|
4358
|
-
function i(
|
|
4360
|
+
function i(o, h) {
|
|
4359
4361
|
return (
|
|
4360
4362
|
/*noMinSportsBet*/
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
+
o[10] && /*noMaxSportsBet*/
|
|
4364
|
+
o[11] ? Ri : (
|
|
4363
4365
|
/*noMinSportsBet*/
|
|
4364
|
-
|
|
4366
|
+
o[10] ? Mi : (
|
|
4365
4367
|
/*noMaxSportsBet*/
|
|
4366
|
-
|
|
4368
|
+
o[11] ? Si : Ci
|
|
4367
4369
|
)
|
|
4368
4370
|
)
|
|
4369
4371
|
);
|
|
4370
4372
|
}
|
|
4371
|
-
let
|
|
4373
|
+
let a = i(e), s = a(e);
|
|
4372
4374
|
return {
|
|
4373
4375
|
c() {
|
|
4374
|
-
t = x("div"), r = x("div"), r.innerHTML = `<img src="${
|
|
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");
|
|
4375
4377
|
},
|
|
4376
|
-
m(
|
|
4377
|
-
M(
|
|
4378
|
+
m(o, h) {
|
|
4379
|
+
M(o, t, h), p(t, r), p(t, n), s.m(t, null);
|
|
4378
4380
|
},
|
|
4379
|
-
p(
|
|
4380
|
-
|
|
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)));
|
|
4381
4383
|
},
|
|
4382
|
-
d(
|
|
4383
|
-
|
|
4384
|
+
d(o) {
|
|
4385
|
+
o && H(t), s.d();
|
|
4384
4386
|
}
|
|
4385
4387
|
};
|
|
4386
4388
|
}
|
|
4387
|
-
function
|
|
4389
|
+
function Ci(e) {
|
|
4388
4390
|
let t, r = (
|
|
4389
4391
|
/*$_*/
|
|
4390
4392
|
e[13]("productMinMaxBet", {
|
|
@@ -4418,11 +4420,11 @@ function Hi(e) {
|
|
|
4418
4420
|
c() {
|
|
4419
4421
|
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4420
4422
|
},
|
|
4421
|
-
m(i,
|
|
4422
|
-
M(i, t,
|
|
4423
|
+
m(i, a) {
|
|
4424
|
+
M(i, t, a), p(t, n);
|
|
4423
4425
|
},
|
|
4424
|
-
p(i,
|
|
4425
|
-
|
|
4426
|
+
p(i, a) {
|
|
4427
|
+
a & /*$_, sports, currency*/
|
|
4426
4428
|
12416 && r !== (r = /*$_*/
|
|
4427
4429
|
i[13]("productMinMaxBet", {
|
|
4428
4430
|
values: {
|
|
@@ -4456,7 +4458,7 @@ function Hi(e) {
|
|
|
4456
4458
|
}
|
|
4457
4459
|
};
|
|
4458
4460
|
}
|
|
4459
|
-
function
|
|
4461
|
+
function Si(e) {
|
|
4460
4462
|
let t, r = (
|
|
4461
4463
|
/*$_*/
|
|
4462
4464
|
e[13]("productMinBet", {
|
|
@@ -4481,11 +4483,11 @@ function Ci(e) {
|
|
|
4481
4483
|
c() {
|
|
4482
4484
|
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4483
4485
|
},
|
|
4484
|
-
m(i,
|
|
4485
|
-
M(i, t,
|
|
4486
|
+
m(i, a) {
|
|
4487
|
+
M(i, t, a), p(t, n);
|
|
4486
4488
|
},
|
|
4487
|
-
p(i,
|
|
4488
|
-
|
|
4489
|
+
p(i, a) {
|
|
4490
|
+
a & /*$_, sports, currency*/
|
|
4489
4491
|
12416 && r !== (r = /*$_*/
|
|
4490
4492
|
i[13]("productMinBet", {
|
|
4491
4493
|
values: {
|
|
@@ -4510,7 +4512,7 @@ function Ci(e) {
|
|
|
4510
4512
|
}
|
|
4511
4513
|
};
|
|
4512
4514
|
}
|
|
4513
|
-
function
|
|
4515
|
+
function Mi(e) {
|
|
4514
4516
|
let t, r = (
|
|
4515
4517
|
/*$_*/
|
|
4516
4518
|
e[13]("productMaxBet", {
|
|
@@ -4535,11 +4537,11 @@ function Si(e) {
|
|
|
4535
4537
|
c() {
|
|
4536
4538
|
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4537
4539
|
},
|
|
4538
|
-
m(i,
|
|
4539
|
-
M(i, t,
|
|
4540
|
+
m(i, a) {
|
|
4541
|
+
M(i, t, a), p(t, n);
|
|
4540
4542
|
},
|
|
4541
|
-
p(i,
|
|
4542
|
-
|
|
4543
|
+
p(i, a) {
|
|
4544
|
+
a & /*$_, sports, currency*/
|
|
4543
4545
|
12416 && r !== (r = /*$_*/
|
|
4544
4546
|
i[13]("productMaxBet", {
|
|
4545
4547
|
values: {
|
|
@@ -4564,7 +4566,7 @@ function Si(e) {
|
|
|
4564
4566
|
}
|
|
4565
4567
|
};
|
|
4566
4568
|
}
|
|
4567
|
-
function
|
|
4569
|
+
function Ri(e) {
|
|
4568
4570
|
let t, r = (
|
|
4569
4571
|
/*$_*/
|
|
4570
4572
|
e[13]("productNoLimitsBet", {
|
|
@@ -4578,11 +4580,11 @@ function Mi(e) {
|
|
|
4578
4580
|
c() {
|
|
4579
4581
|
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4580
4582
|
},
|
|
4581
|
-
m(i,
|
|
4582
|
-
M(i, t,
|
|
4583
|
+
m(i, a) {
|
|
4584
|
+
M(i, t, a), p(t, n);
|
|
4583
4585
|
},
|
|
4584
|
-
p(i,
|
|
4585
|
-
|
|
4586
|
+
p(i, a) {
|
|
4587
|
+
a & /*$_, sports*/
|
|
4586
4588
|
8320 && r !== (r = /*$_*/
|
|
4587
4589
|
i[13]("productNoLimitsBet", {
|
|
4588
4590
|
values: { productName: (
|
|
@@ -4596,8 +4598,8 @@ function Mi(e) {
|
|
|
4596
4598
|
}
|
|
4597
4599
|
};
|
|
4598
4600
|
}
|
|
4599
|
-
function
|
|
4600
|
-
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 = (
|
|
4601
4603
|
/*$_*/
|
|
4602
4604
|
e[13]("miniBetCount", {
|
|
4603
4605
|
values: { betCount: (
|
|
@@ -4625,41 +4627,41 @@ function Ri(e) {
|
|
|
4625
4627
|
/*tcurl*/
|
|
4626
4628
|
e[4]
|
|
4627
4629
|
) } }) + ""
|
|
4628
|
-
), xe, d, L, X,
|
|
4630
|
+
), xe, d, L, X, ot, I = (
|
|
4629
4631
|
/*scorecriterial*/
|
|
4630
|
-
e[0] == "BetCount" &&
|
|
4632
|
+
e[0] == "BetCount" && Bt(e)
|
|
4631
4633
|
), $ = (
|
|
4632
4634
|
/*scorecriterial*/
|
|
4633
|
-
e[0] == "WinStakeRatio" &&
|
|
4635
|
+
e[0] == "WinStakeRatio" && wt(e)
|
|
4634
4636
|
), D = (
|
|
4635
4637
|
/*scorecriterial*/
|
|
4636
|
-
e[0] == "MaxWinStakeRatio" &&
|
|
4638
|
+
e[0] == "MaxWinStakeRatio" && Ht(e)
|
|
4637
4639
|
), U = (
|
|
4638
4640
|
/*scorecriterial*/
|
|
4639
|
-
e[0] == "Stake" &&
|
|
4641
|
+
e[0] == "Stake" && Ct(e)
|
|
4640
4642
|
), G = (
|
|
4641
4643
|
/*casino*/
|
|
4642
|
-
e[6] &&
|
|
4644
|
+
e[6] && St(e)
|
|
4643
4645
|
), F = (
|
|
4644
4646
|
/*sports*/
|
|
4645
|
-
e[7] &&
|
|
4647
|
+
e[7] && Mt(e)
|
|
4646
4648
|
);
|
|
4647
4649
|
return {
|
|
4648
4650
|
c() {
|
|
4649
|
-
t = x("div"), r = x("div"), n = x("div"), n.innerHTML = `<img src="${
|
|
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: (
|
|
4650
4652
|
/*tcurl*/
|
|
4651
4653
|
e[4]
|
|
4652
4654
|
) }), m(t, "class", "casino-tournaments-thumbnail-rule"), m(t, "part", "casino-tournaments-thumbnail-rule");
|
|
4653
4655
|
},
|
|
4654
4656
|
m(E, j) {
|
|
4655
|
-
M(E, t, j), p(t, r), p(r, n), p(r, i), p(r,
|
|
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);
|
|
4656
4658
|
},
|
|
4657
4659
|
p(E, [j]) {
|
|
4658
4660
|
/*scorecriterial*/
|
|
4659
|
-
E[0] == "BetCount" ? I ? I.p(E, j) : (I =
|
|
4660
|
-
E[0] == "WinStakeRatio" ? $ ? $.p(E, j) : ($ =
|
|
4661
|
-
E[0] == "MaxWinStakeRatio" ? D ? D.p(E, j) : (D =
|
|
4662
|
-
E[0] == "Stake" ? U ? U.p(E, j) : (U =
|
|
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*/
|
|
4663
4665
|
8194 && y !== (y = /*$_*/
|
|
4664
4666
|
E[13]("miniBetCount", {
|
|
4665
4667
|
values: { betCount: (
|
|
@@ -4685,12 +4687,12 @@ function Ri(e) {
|
|
|
4685
4687
|
/*tcurl*/
|
|
4686
4688
|
E[4]
|
|
4687
4689
|
) } }) + "") && (K.innerHTML = re), /*casino*/
|
|
4688
|
-
E[6] ? G ? G.p(E, j) : (G =
|
|
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*/
|
|
4689
4691
|
16 && X !== (X = { tcurl: (
|
|
4690
4692
|
/*tcurl*/
|
|
4691
4693
|
E[4]
|
|
4692
4694
|
) }) && m(L, "href", X), /*sports*/
|
|
4693
|
-
E[7] ? F ? F.p(E, j) : (F =
|
|
4695
|
+
E[7] ? F ? F.p(E, j) : (F = Mt(E), F.c(), F.m(t, null)) : F && (F.d(1), F = null);
|
|
4694
4696
|
},
|
|
4695
4697
|
i: W,
|
|
4696
4698
|
o: W,
|
|
@@ -4699,27 +4701,27 @@ function Ri(e) {
|
|
|
4699
4701
|
}
|
|
4700
4702
|
};
|
|
4701
4703
|
}
|
|
4702
|
-
function
|
|
4704
|
+
function Ni(e, t, r) {
|
|
4703
4705
|
let n;
|
|
4704
|
-
|
|
4705
|
-
let { lang: i = "tr" } = t, { scorecriterial:
|
|
4706
|
-
|
|
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: {} });
|
|
4707
4709
|
const Z = (d) => typeof d == "number" || Object.prototype.toString.call(d) === "[object Number]", ee = () => {
|
|
4708
4710
|
fetch(g).then((L) => L.json()).then((L) => {
|
|
4709
4711
|
Object.keys(L).forEach((X) => {
|
|
4710
|
-
|
|
4712
|
+
xt(X, L[X]);
|
|
4711
4713
|
});
|
|
4712
4714
|
}).catch((L) => {
|
|
4713
4715
|
console.log(L);
|
|
4714
4716
|
});
|
|
4715
4717
|
};
|
|
4716
|
-
Object.keys(
|
|
4717
|
-
|
|
4718
|
+
Object.keys(Tt).forEach((d) => {
|
|
4719
|
+
xt(d, Tt[d]);
|
|
4718
4720
|
});
|
|
4719
4721
|
const Y = (d) => {
|
|
4720
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)));
|
|
4721
4723
|
}, te = () => {
|
|
4722
|
-
|
|
4724
|
+
gi(i);
|
|
4723
4725
|
}, Ee = () => {
|
|
4724
4726
|
let d = document.createElement("style");
|
|
4725
4727
|
d.innerHTML = c, y.appendChild(d);
|
|
@@ -4740,7 +4742,7 @@ function ki(e, t, r) {
|
|
|
4740
4742
|
}, re = (d) => {
|
|
4741
4743
|
d.data && d.data.type && d.type == "TournamentsProductsUpdate" && r(15, l = d.data.productInfo);
|
|
4742
4744
|
};
|
|
4743
|
-
|
|
4745
|
+
dr(() => (window.addEventListener("message", re, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
|
|
4744
4746
|
window.removeEventListener("message", re);
|
|
4745
4747
|
}));
|
|
4746
4748
|
function xe(d) {
|
|
@@ -4749,7 +4751,7 @@ function ki(e, t, r) {
|
|
|
4749
4751
|
});
|
|
4750
4752
|
}
|
|
4751
4753
|
return e.$$set = (d) => {
|
|
4752
|
-
"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);
|
|
4753
4755
|
}, e.$$.update = () => {
|
|
4754
4756
|
e.$$.dirty & /*lang*/
|
|
4755
4757
|
65536 && i && te(), e.$$.dirty & /*products*/
|
|
@@ -4758,9 +4760,9 @@ function ki(e, t, r) {
|
|
|
4758
4760
|
262176 && f && y && K(), e.$$.dirty & /*translationurl*/
|
|
4759
4761
|
524288 && g && ee();
|
|
4760
4762
|
}, [
|
|
4761
|
-
o,
|
|
4762
|
-
s,
|
|
4763
4763
|
a,
|
|
4764
|
+
s,
|
|
4765
|
+
o,
|
|
4764
4766
|
h,
|
|
4765
4767
|
u,
|
|
4766
4768
|
y,
|
|
@@ -4781,14 +4783,14 @@ function ki(e, t, r) {
|
|
|
4781
4783
|
xe
|
|
4782
4784
|
];
|
|
4783
4785
|
}
|
|
4784
|
-
class
|
|
4786
|
+
class Ai extends Hr {
|
|
4785
4787
|
constructor(t) {
|
|
4786
|
-
super(),
|
|
4788
|
+
super(), Br(
|
|
4787
4789
|
this,
|
|
4788
4790
|
t,
|
|
4791
|
+
Ni,
|
|
4789
4792
|
ki,
|
|
4790
|
-
|
|
4791
|
-
Mt,
|
|
4793
|
+
kt,
|
|
4792
4794
|
{
|
|
4793
4795
|
lang: 16,
|
|
4794
4796
|
scorecriterial: 0,
|
|
@@ -4801,7 +4803,7 @@ class Ni extends Br {
|
|
|
4801
4803
|
clientstylingurl: 18,
|
|
4802
4804
|
translationurl: 19
|
|
4803
4805
|
},
|
|
4804
|
-
|
|
4806
|
+
xi
|
|
4805
4807
|
);
|
|
4806
4808
|
}
|
|
4807
4809
|
get lang() {
|
|
@@ -4865,7 +4867,7 @@ class Ni extends Br {
|
|
|
4865
4867
|
this.$$set({ translationurl: t }), V();
|
|
4866
4868
|
}
|
|
4867
4869
|
}
|
|
4868
|
-
|
|
4870
|
+
wr(Ai, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, products: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4869
4871
|
export {
|
|
4870
|
-
|
|
4872
|
+
Ai as C
|
|
4871
4873
|
};
|