@everymatrix/casino-tournaments-thumbnail-rule 1.45.0 → 1.45.2
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-C8K-wPqX.cjs → CasinoTournamentsThumbnailRule-BgAcdC0s.cjs} +2 -2
- package/components/{CasinoTournamentsThumbnailRule-D5f87MHT.js → CasinoTournamentsThumbnailRule-a6Y8r2A4.js} +448 -448
- package/es2015/casino-tournaments-thumbnail-rule.cjs +1 -1
- package/es2015/casino-tournaments-thumbnail-rule.js +1 -1
- package/package.json +2 -2
|
@@ -12,20 +12,20 @@ var Oe = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
12
12
|
}, ct = (e, t) => fr(e, mr(t));
|
|
13
13
|
var M = (e, t, r) => Oe(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var ft = (e, t, r) => new Promise((n, i) => {
|
|
15
|
-
var
|
|
15
|
+
var a = (l) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
17
|
+
s(r.next(l));
|
|
18
18
|
} catch (u) {
|
|
19
19
|
i(u);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, o = (l) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
s(r.throw(l));
|
|
24
24
|
} catch (u) {
|
|
25
25
|
i(u);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(a, o);
|
|
28
|
+
s((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function Z() {
|
|
31
31
|
}
|
|
@@ -62,14 +62,14 @@ function gr(e, t, r) {
|
|
|
62
62
|
function p(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function yr(e, t, r) {
|
|
66
|
+
const n = vr(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
68
|
const i = x("style");
|
|
69
69
|
i.id = t, i.textContent = r, _r(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function vr(e) {
|
|
73
73
|
if (!e) return document;
|
|
74
74
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
75
75
|
return t && /** @type {ShadowRoot} */
|
|
@@ -199,7 +199,7 @@ let nt;
|
|
|
199
199
|
function ge(e) {
|
|
200
200
|
nt = e;
|
|
201
201
|
}
|
|
202
|
-
const
|
|
202
|
+
const se = [], Ve = [];
|
|
203
203
|
let ue = [];
|
|
204
204
|
const dt = [], Br = /* @__PURE__ */ Promise.resolve();
|
|
205
205
|
let ze = !1;
|
|
@@ -210,27 +210,27 @@ function Xe(e) {
|
|
|
210
210
|
ue.push(e);
|
|
211
211
|
}
|
|
212
212
|
const Ie = /* @__PURE__ */ new Set();
|
|
213
|
-
let
|
|
213
|
+
let ae = 0;
|
|
214
214
|
function z() {
|
|
215
|
-
if (
|
|
215
|
+
if (ae !== 0)
|
|
216
216
|
return;
|
|
217
217
|
const e = nt;
|
|
218
218
|
do {
|
|
219
219
|
try {
|
|
220
|
-
for (;
|
|
221
|
-
const t = ae
|
|
222
|
-
|
|
220
|
+
for (; ae < se.length; ) {
|
|
221
|
+
const t = se[ae];
|
|
222
|
+
ae++, ge(t), Hr(t.$$);
|
|
223
223
|
}
|
|
224
224
|
} catch (t) {
|
|
225
|
-
throw
|
|
225
|
+
throw se.length = 0, ae = 0, t;
|
|
226
226
|
}
|
|
227
|
-
for (ge(null),
|
|
227
|
+
for (ge(null), se.length = 0, ae = 0; Ve.length; ) Ve.pop()();
|
|
228
228
|
for (let t = 0; t < ue.length; t += 1) {
|
|
229
229
|
const r = ue[t];
|
|
230
230
|
Ie.has(r) || (Ie.add(r), r());
|
|
231
231
|
}
|
|
232
232
|
ue.length = 0;
|
|
233
|
-
} while (
|
|
233
|
+
} while (se.length);
|
|
234
234
|
for (; dt.length; )
|
|
235
235
|
dt.pop()();
|
|
236
236
|
ze = !1, Ie.clear(), ge(e);
|
|
@@ -253,8 +253,8 @@ function Mr(e, t) {
|
|
|
253
253
|
function Rr(e, t, r) {
|
|
254
254
|
const { fragment: n, after_update: i } = e.$$;
|
|
255
255
|
n && n.m(t, r), Xe(() => {
|
|
256
|
-
const
|
|
257
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
256
|
+
const a = e.$$.on_mount.map(Ot).filter(rt);
|
|
257
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...a) : _e(a), e.$$.on_mount = [];
|
|
258
258
|
}), i.forEach(Xe);
|
|
259
259
|
}
|
|
260
260
|
function kr(e, t) {
|
|
@@ -262,16 +262,16 @@ function kr(e, t) {
|
|
|
262
262
|
r.fragment !== null && (Cr(r.after_update), _e(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
263
263
|
}
|
|
264
264
|
function Nr(e, t) {
|
|
265
|
-
e.$$.dirty[0] === -1 && (
|
|
265
|
+
e.$$.dirty[0] === -1 && (se.push(e), wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
266
266
|
}
|
|
267
|
-
function Ar(e, t, r, n, i,
|
|
267
|
+
function Ar(e, t, r, n, i, a, o = null, s = [-1]) {
|
|
268
268
|
const l = nt;
|
|
269
269
|
ge(e);
|
|
270
270
|
const u = e.$$ = {
|
|
271
271
|
fragment: null,
|
|
272
272
|
ctx: [],
|
|
273
273
|
// state
|
|
274
|
-
props:
|
|
274
|
+
props: a,
|
|
275
275
|
update: Z,
|
|
276
276
|
not_equal: i,
|
|
277
277
|
bound: mt(),
|
|
@@ -284,15 +284,15 @@ function Ar(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
284
284
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
285
285
|
// everything else
|
|
286
286
|
callbacks: mt(),
|
|
287
|
-
dirty:
|
|
287
|
+
dirty: s,
|
|
288
288
|
skip_bound: !1,
|
|
289
289
|
root: t.target || l.$$.root
|
|
290
290
|
};
|
|
291
|
-
|
|
291
|
+
o && o(u.root);
|
|
292
292
|
let h = !1;
|
|
293
293
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
|
|
294
|
-
const
|
|
295
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] =
|
|
294
|
+
const y = g.length ? g[0] : f;
|
|
295
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && Nr(e, c)), f;
|
|
296
296
|
}) : [], u.update(), h = !0, _e(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
297
297
|
if (t.hydrate) {
|
|
298
298
|
const c = xr(t.target);
|
|
@@ -343,22 +343,22 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
343
343
|
connectedCallback() {
|
|
344
344
|
return ft(this, null, function* () {
|
|
345
345
|
if (this.$$cn = !0, !this.$$c) {
|
|
346
|
-
let t = function(
|
|
346
|
+
let t = function(a) {
|
|
347
347
|
return () => {
|
|
348
|
-
let
|
|
348
|
+
let o;
|
|
349
349
|
return {
|
|
350
350
|
c: function() {
|
|
351
|
-
|
|
351
|
+
o = x("slot"), a !== "default" && m(o, "name", a);
|
|
352
352
|
},
|
|
353
353
|
/**
|
|
354
354
|
* @param {HTMLElement} target
|
|
355
355
|
* @param {HTMLElement} [anchor]
|
|
356
356
|
*/
|
|
357
357
|
m: function(u, h) {
|
|
358
|
-
R(u,
|
|
358
|
+
R(u, o, h);
|
|
359
359
|
},
|
|
360
360
|
d: function(u) {
|
|
361
|
-
u && H(
|
|
361
|
+
u && H(o);
|
|
362
362
|
}
|
|
363
363
|
};
|
|
364
364
|
};
|
|
@@ -366,14 +366,14 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
366
366
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
367
367
|
return;
|
|
368
368
|
const r = {}, n = Tr(this);
|
|
369
|
-
for (const
|
|
370
|
-
|
|
371
|
-
for (const
|
|
372
|
-
const
|
|
373
|
-
|
|
369
|
+
for (const a of this.$$s)
|
|
370
|
+
a in n && (r[a] = [t(a)]);
|
|
371
|
+
for (const a of this.attributes) {
|
|
372
|
+
const o = this.$$g_p(a.name);
|
|
373
|
+
o in this.$$d || (this.$$d[o] = Be(o, a.value, this.$$p_d, "toProp"));
|
|
374
374
|
}
|
|
375
|
-
for (const
|
|
376
|
-
!(
|
|
375
|
+
for (const a in this.$$p_d)
|
|
376
|
+
!(a in this.$$d) && this[a] !== void 0 && (this.$$d[a] = this[a], delete this[a]);
|
|
377
377
|
this.$$c = new this.$$ctor({
|
|
378
378
|
target: this.shadowRoot || this,
|
|
379
379
|
props: ct(ht({}, this.$$d), {
|
|
@@ -385,23 +385,23 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
385
385
|
});
|
|
386
386
|
const i = () => {
|
|
387
387
|
this.$$r = !0;
|
|
388
|
-
for (const
|
|
389
|
-
if (this.$$d[
|
|
390
|
-
const
|
|
391
|
-
|
|
392
|
-
this.$$d[
|
|
388
|
+
for (const a in this.$$p_d)
|
|
389
|
+
if (this.$$d[a] = this.$$c.$$.ctx[this.$$c.$$.props[a]], this.$$p_d[a].reflect) {
|
|
390
|
+
const o = Be(
|
|
391
|
+
a,
|
|
392
|
+
this.$$d[a],
|
|
393
393
|
this.$$p_d,
|
|
394
394
|
"toAttribute"
|
|
395
395
|
);
|
|
396
|
-
|
|
396
|
+
o == null ? this.removeAttribute(this.$$p_d[a].attribute || a) : this.setAttribute(this.$$p_d[a].attribute || a, o);
|
|
397
397
|
}
|
|
398
398
|
this.$$r = !1;
|
|
399
399
|
};
|
|
400
400
|
this.$$c.$$.after_update.push(i), i();
|
|
401
|
-
for (const
|
|
402
|
-
for (const
|
|
403
|
-
const
|
|
404
|
-
this.$$l_u.set(
|
|
401
|
+
for (const a in this.$$l)
|
|
402
|
+
for (const o of this.$$l[a]) {
|
|
403
|
+
const s = this.$$c.$on(a, o);
|
|
404
|
+
this.$$l_u.set(o, s);
|
|
405
405
|
}
|
|
406
406
|
this.$$l = {};
|
|
407
407
|
}
|
|
@@ -425,8 +425,8 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
function Be(e, t, r, n) {
|
|
428
|
-
var
|
|
429
|
-
const i = (
|
|
428
|
+
var a;
|
|
429
|
+
const i = (a = r[e]) == null ? void 0 : a.type;
|
|
430
430
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
431
431
|
return t;
|
|
432
432
|
if (n === "toAttribute")
|
|
@@ -454,36 +454,36 @@ function Be(e, t, r, n) {
|
|
|
454
454
|
return t;
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
|
-
function Lr(e, t, r, n, i,
|
|
458
|
-
let
|
|
457
|
+
function Lr(e, t, r, n, i, a) {
|
|
458
|
+
let o = class extends Dt {
|
|
459
459
|
constructor() {
|
|
460
460
|
super(e, r, i), this.$$p_d = t;
|
|
461
461
|
}
|
|
462
462
|
static get observedAttributes() {
|
|
463
463
|
return Object.keys(t).map(
|
|
464
|
-
(
|
|
464
|
+
(s) => (t[s].attribute || s).toLowerCase()
|
|
465
465
|
);
|
|
466
466
|
}
|
|
467
467
|
};
|
|
468
|
-
return Object.keys(t).forEach((
|
|
469
|
-
Object.defineProperty(
|
|
468
|
+
return Object.keys(t).forEach((s) => {
|
|
469
|
+
Object.defineProperty(o.prototype, s, {
|
|
470
470
|
get() {
|
|
471
|
-
return this.$$c &&
|
|
471
|
+
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
472
472
|
},
|
|
473
473
|
set(l) {
|
|
474
474
|
var u;
|
|
475
|
-
l = Be(
|
|
475
|
+
l = Be(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
|
|
476
476
|
}
|
|
477
477
|
});
|
|
478
|
-
}), n.forEach((
|
|
479
|
-
Object.defineProperty(
|
|
478
|
+
}), n.forEach((s) => {
|
|
479
|
+
Object.defineProperty(o.prototype, s, {
|
|
480
480
|
get() {
|
|
481
481
|
var l;
|
|
482
|
-
return (l = this.$$c) == null ? void 0 : l[
|
|
482
|
+
return (l = this.$$c) == null ? void 0 : l[s];
|
|
483
483
|
}
|
|
484
484
|
});
|
|
485
485
|
}), e.element = /** @type {any} */
|
|
486
|
-
|
|
486
|
+
o, o;
|
|
487
487
|
}
|
|
488
488
|
class Pr {
|
|
489
489
|
constructor() {
|
|
@@ -533,7 +533,7 @@ class Pr {
|
|
|
533
533
|
}
|
|
534
534
|
const Or = "4";
|
|
535
535
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Or);
|
|
536
|
-
const
|
|
536
|
+
const oe = [];
|
|
537
537
|
function Ir(e, t) {
|
|
538
538
|
return {
|
|
539
539
|
subscribe: ke(e, t).subscribe
|
|
@@ -542,35 +542,35 @@ function Ir(e, t) {
|
|
|
542
542
|
function ke(e, t = Z) {
|
|
543
543
|
let r;
|
|
544
544
|
const n = /* @__PURE__ */ new Set();
|
|
545
|
-
function i(
|
|
546
|
-
if (It(e,
|
|
547
|
-
const l = !
|
|
545
|
+
function i(s) {
|
|
546
|
+
if (It(e, s) && (e = s, r)) {
|
|
547
|
+
const l = !oe.length;
|
|
548
548
|
for (const u of n)
|
|
549
|
-
u[1](),
|
|
549
|
+
u[1](), oe.push(u, e);
|
|
550
550
|
if (l) {
|
|
551
|
-
for (let u = 0; u <
|
|
552
|
-
|
|
553
|
-
|
|
551
|
+
for (let u = 0; u < oe.length; u += 2)
|
|
552
|
+
oe[u][0](oe[u + 1]);
|
|
553
|
+
oe.length = 0;
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
function
|
|
558
|
-
i(
|
|
557
|
+
function a(s) {
|
|
558
|
+
i(s(e));
|
|
559
559
|
}
|
|
560
|
-
function s
|
|
561
|
-
const u = [
|
|
562
|
-
return n.add(u), n.size === 1 && (r = t(i,
|
|
560
|
+
function o(s, l = Z) {
|
|
561
|
+
const u = [s, l];
|
|
562
|
+
return n.add(u), n.size === 1 && (r = t(i, a) || Z), s(e), () => {
|
|
563
563
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
564
564
|
};
|
|
565
565
|
}
|
|
566
|
-
return { set: i, update:
|
|
566
|
+
return { set: i, update: a, subscribe: o };
|
|
567
567
|
}
|
|
568
568
|
function me(e, t, r) {
|
|
569
569
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
570
570
|
if (!i.every(Boolean))
|
|
571
571
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
572
|
-
const
|
|
573
|
-
return Ir(r, (
|
|
572
|
+
const a = t.length < 2;
|
|
573
|
+
return Ir(r, (o, s) => {
|
|
574
574
|
let l = !1;
|
|
575
575
|
const u = [];
|
|
576
576
|
let h = 0, c = Z;
|
|
@@ -578,11 +578,11 @@ function me(e, t, r) {
|
|
|
578
578
|
if (h)
|
|
579
579
|
return;
|
|
580
580
|
c();
|
|
581
|
-
const
|
|
582
|
-
|
|
581
|
+
const y = t(n ? u[0] : u, o, s);
|
|
582
|
+
a ? o(y) : c = rt(y) ? y : Z;
|
|
583
583
|
}, g = i.map(
|
|
584
|
-
(
|
|
585
|
-
|
|
584
|
+
(y, T) => $t(
|
|
585
|
+
y,
|
|
586
586
|
(w) => {
|
|
587
587
|
u[T] = w, h &= ~(1 << T), l && f();
|
|
588
588
|
},
|
|
@@ -616,12 +616,12 @@ function Vr(e) {
|
|
|
616
616
|
function zr(e) {
|
|
617
617
|
return Array.isArray(e) ? [] : {};
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function ye(e, t) {
|
|
620
620
|
return t.clone !== !1 && t.isMergeableObject(e) ? le(zr(e), e, t) : e;
|
|
621
621
|
}
|
|
622
622
|
function Xr(e, t, r) {
|
|
623
623
|
return e.concat(t).map(function(n) {
|
|
624
|
-
return
|
|
624
|
+
return ye(n, r);
|
|
625
625
|
});
|
|
626
626
|
}
|
|
627
627
|
function Wr(e, t) {
|
|
@@ -651,15 +651,15 @@ function Jr(e, t) {
|
|
|
651
651
|
function Yr(e, t, r) {
|
|
652
652
|
var n = {};
|
|
653
653
|
return r.isMergeableObject(e) && pt(e).forEach(function(i) {
|
|
654
|
-
n[i] =
|
|
654
|
+
n[i] = ye(e[i], r);
|
|
655
655
|
}), pt(t).forEach(function(i) {
|
|
656
|
-
Jr(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = Wr(i, r)(e[i], t[i], r) : n[i] =
|
|
656
|
+
Jr(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = Wr(i, r)(e[i], t[i], r) : n[i] = ye(t[i], r));
|
|
657
657
|
}), n;
|
|
658
658
|
}
|
|
659
659
|
function le(e, t, r) {
|
|
660
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Xr, r.isMergeableObject = r.isMergeableObject || Dr, r.cloneUnlessOtherwiseSpecified =
|
|
661
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
|
662
|
-
return
|
|
660
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Xr, r.isMergeableObject = r.isMergeableObject || Dr, r.cloneUnlessOtherwiseSpecified = ye;
|
|
661
|
+
var n = Array.isArray(t), i = Array.isArray(e), a = n === i;
|
|
662
|
+
return a ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : ye(t, r);
|
|
663
663
|
}
|
|
664
664
|
le.all = function(t, r) {
|
|
665
665
|
if (!Array.isArray(t))
|
|
@@ -690,7 +690,7 @@ var _ = function() {
|
|
|
690
690
|
return _ = Object.assign || function(t) {
|
|
691
691
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
692
692
|
r = arguments[n];
|
|
693
|
-
for (var
|
|
693
|
+
for (var a in r) Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
694
694
|
}
|
|
695
695
|
return t;
|
|
696
696
|
}, _.apply(this, arguments);
|
|
@@ -704,9 +704,9 @@ function en(e, t) {
|
|
|
704
704
|
return r;
|
|
705
705
|
}
|
|
706
706
|
function $e(e, t, r) {
|
|
707
|
-
if (r || arguments.length === 2) for (var n = 0, i = t.length,
|
|
708
|
-
(
|
|
709
|
-
return e.concat(
|
|
707
|
+
if (r || arguments.length === 2) for (var n = 0, i = t.length, a; n < i; n++)
|
|
708
|
+
(a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
|
|
709
|
+
return e.concat(a || Array.prototype.slice.call(t));
|
|
710
710
|
}
|
|
711
711
|
var b;
|
|
712
712
|
(function(e) {
|
|
@@ -754,7 +754,7 @@ function Ze(e) {
|
|
|
754
754
|
return !!(e && typeof e == "object" && e.type === he.dateTime);
|
|
755
755
|
}
|
|
756
756
|
var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, nn = /(?:[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;
|
|
757
|
-
function
|
|
757
|
+
function an(e) {
|
|
758
758
|
var t = {};
|
|
759
759
|
return e.replace(nn, function(r) {
|
|
760
760
|
var n = r.length;
|
|
@@ -845,22 +845,22 @@ function on(e) {
|
|
|
845
845
|
return "";
|
|
846
846
|
}), t;
|
|
847
847
|
}
|
|
848
|
-
var
|
|
849
|
-
function
|
|
848
|
+
var on = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
849
|
+
function sn(e) {
|
|
850
850
|
if (e.length === 0)
|
|
851
851
|
throw new Error("Number skeleton cannot be empty");
|
|
852
|
-
for (var t = e.split(
|
|
852
|
+
for (var t = e.split(on).filter(function(f) {
|
|
853
853
|
return f.length > 0;
|
|
854
854
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
855
|
-
var
|
|
856
|
-
if (
|
|
855
|
+
var a = i[n], o = a.split("/");
|
|
856
|
+
if (o.length === 0)
|
|
857
857
|
throw new Error("Invalid number skeleton");
|
|
858
|
-
for (var
|
|
858
|
+
for (var s = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
859
859
|
var c = h[u];
|
|
860
860
|
if (c.length === 0)
|
|
861
861
|
throw new Error("Invalid number skeleton");
|
|
862
862
|
}
|
|
863
|
-
r.push({ stem:
|
|
863
|
+
r.push({ stem: s, options: l });
|
|
864
864
|
}
|
|
865
865
|
return r;
|
|
866
866
|
}
|
|
@@ -868,7 +868,7 @@ function un(e) {
|
|
|
868
868
|
return e.replace(/^(.*?)-/, "");
|
|
869
869
|
}
|
|
870
870
|
var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, ln = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
|
|
871
|
-
function
|
|
871
|
+
function yt(e) {
|
|
872
872
|
var t = {};
|
|
873
873
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
|
|
874
874
|
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)), "";
|
|
@@ -928,7 +928,7 @@ function hn(e) {
|
|
|
928
928
|
}
|
|
929
929
|
return t;
|
|
930
930
|
}
|
|
931
|
-
function
|
|
931
|
+
function vt(e) {
|
|
932
932
|
var t = {}, r = qt(e);
|
|
933
933
|
return r || t;
|
|
934
934
|
}
|
|
@@ -968,12 +968,12 @@ function cn(e) {
|
|
|
968
968
|
continue;
|
|
969
969
|
case "scientific":
|
|
970
970
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
971
|
-
return _(_({}, l),
|
|
971
|
+
return _(_({}, l), vt(u));
|
|
972
972
|
}, {}));
|
|
973
973
|
continue;
|
|
974
974
|
case "engineering":
|
|
975
975
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
976
|
-
return _(_({}, l),
|
|
976
|
+
return _(_({}, l), vt(u));
|
|
977
977
|
}, {}));
|
|
978
978
|
continue;
|
|
979
979
|
case "notation-simple":
|
|
@@ -1041,18 +1041,18 @@ function cn(e) {
|
|
|
1041
1041
|
i.stem.replace(gt, function(l, u, h, c, f, g) {
|
|
1042
1042
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1043
1043
|
});
|
|
1044
|
-
var
|
|
1045
|
-
|
|
1044
|
+
var a = i.options[0];
|
|
1045
|
+
a === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = _(_({}, t), yt(a)));
|
|
1046
1046
|
continue;
|
|
1047
1047
|
}
|
|
1048
1048
|
if (Jt.test(i.stem)) {
|
|
1049
|
-
t = _(_({}, t),
|
|
1049
|
+
t = _(_({}, t), yt(i.stem));
|
|
1050
1050
|
continue;
|
|
1051
1051
|
}
|
|
1052
|
-
var
|
|
1052
|
+
var o = qt(i.stem);
|
|
1053
|
+
o && (t = _(_({}, t), o));
|
|
1054
|
+
var s = hn(i.stem);
|
|
1053
1055
|
s && (t = _(_({}, t), s));
|
|
1054
|
-
var a = hn(i.stem);
|
|
1055
|
-
a && (t = _(_({}, t), a));
|
|
1056
1056
|
}
|
|
1057
1057
|
return t;
|
|
1058
1058
|
}
|
|
@@ -2469,12 +2469,12 @@ function fn(e, t) {
|
|
|
2469
2469
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2470
2470
|
var i = e.charAt(n);
|
|
2471
2471
|
if (i === "j") {
|
|
2472
|
-
for (var
|
|
2473
|
-
|
|
2474
|
-
var
|
|
2475
|
-
for ((u == "H" || u == "k") && (
|
|
2472
|
+
for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2473
|
+
a++, n++;
|
|
2474
|
+
var o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), l = "a", u = mn(t);
|
|
2475
|
+
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2476
2476
|
r += l;
|
|
2477
|
-
for (;
|
|
2477
|
+
for (; o-- > 0; )
|
|
2478
2478
|
r = u + r;
|
|
2479
2479
|
} else i === "J" ? r += "H" : r += i;
|
|
2480
2480
|
}
|
|
@@ -2503,10 +2503,10 @@ function mn(e) {
|
|
|
2503
2503
|
return i[0];
|
|
2504
2504
|
}
|
|
2505
2505
|
var De, dn = new RegExp("^".concat(Zt.source, "*")), pn = new RegExp("".concat(Zt.source, "*$"));
|
|
2506
|
-
function
|
|
2506
|
+
function v(e, t) {
|
|
2507
2507
|
return { start: e, end: t };
|
|
2508
2508
|
}
|
|
2509
|
-
var bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), gn = !!String.fromCodePoint,
|
|
2509
|
+
var bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), gn = !!String.fromCodePoint, yn = !!Object.fromEntries, vn = !!String.prototype.codePointAt, _n = !!String.prototype.trimStart, En = !!String.prototype.trimEnd, xn = !!Number.isSafeInteger, Tn = xn ? Number.isSafeInteger : function(e) {
|
|
2510
2510
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2511
2511
|
}, Je = !0;
|
|
2512
2512
|
try {
|
|
@@ -2530,26 +2530,26 @@ var _t = bn ? (
|
|
|
2530
2530
|
function() {
|
|
2531
2531
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2532
2532
|
t[r] = arguments[r];
|
|
2533
|
-
for (var n = "", i = t.length,
|
|
2534
|
-
if (
|
|
2535
|
-
throw RangeError(
|
|
2536
|
-
n +=
|
|
2533
|
+
for (var n = "", i = t.length, a = 0, o; i > a; ) {
|
|
2534
|
+
if (o = t[a++], o > 1114111)
|
|
2535
|
+
throw RangeError(o + " is not a valid code point");
|
|
2536
|
+
n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
|
2537
2537
|
}
|
|
2538
2538
|
return n;
|
|
2539
2539
|
}
|
|
2540
2540
|
), Et = (
|
|
2541
2541
|
// native
|
|
2542
|
-
|
|
2542
|
+
yn ? Object.fromEntries : (
|
|
2543
2543
|
// Ponyfill
|
|
2544
2544
|
function(t) {
|
|
2545
2545
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2546
|
-
var
|
|
2547
|
-
r[
|
|
2546
|
+
var a = i[n], o = a[0], s = a[1];
|
|
2547
|
+
r[o] = s;
|
|
2548
2548
|
}
|
|
2549
2549
|
return r;
|
|
2550
2550
|
}
|
|
2551
2551
|
)
|
|
2552
|
-
), Kt =
|
|
2552
|
+
), Kt = vn ? (
|
|
2553
2553
|
// Native
|
|
2554
2554
|
function(t, r) {
|
|
2555
2555
|
return t.codePointAt(r);
|
|
@@ -2559,8 +2559,8 @@ var _t = bn ? (
|
|
|
2559
2559
|
function(t, r) {
|
|
2560
2560
|
var n = t.length;
|
|
2561
2561
|
if (!(r < 0 || r >= n)) {
|
|
2562
|
-
var i = t.charCodeAt(r),
|
|
2563
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
|
2562
|
+
var i = t.charCodeAt(r), a;
|
|
2563
|
+
return i < 55296 || i > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
|
|
2564
2564
|
}
|
|
2565
2565
|
}
|
|
2566
2566
|
), wn = _n ? (
|
|
@@ -2618,35 +2618,35 @@ var Cn = (
|
|
|
2618
2618
|
return this.parseMessage(0, "", !1);
|
|
2619
2619
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
2620
2620
|
for (var i = []; !this.isEOF(); ) {
|
|
2621
|
-
var
|
|
2622
|
-
if (
|
|
2623
|
-
var
|
|
2624
|
-
if (
|
|
2625
|
-
return
|
|
2626
|
-
i.push(
|
|
2621
|
+
var a = this.char();
|
|
2622
|
+
if (a === 123) {
|
|
2623
|
+
var o = this.parseArgument(t, n);
|
|
2624
|
+
if (o.err)
|
|
2625
|
+
return o;
|
|
2626
|
+
i.push(o.val);
|
|
2627
2627
|
} else {
|
|
2628
|
-
if (
|
|
2628
|
+
if (a === 125 && t > 0)
|
|
2629
2629
|
break;
|
|
2630
|
-
if (
|
|
2631
|
-
var
|
|
2630
|
+
if (a === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2631
|
+
var s = this.clonePosition();
|
|
2632
2632
|
this.bump(), i.push({
|
|
2633
2633
|
type: B.pound,
|
|
2634
|
-
location:
|
|
2634
|
+
location: v(s, this.clonePosition())
|
|
2635
2635
|
});
|
|
2636
|
-
} else if (
|
|
2636
|
+
} else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2637
2637
|
if (n)
|
|
2638
2638
|
break;
|
|
2639
|
-
return this.error(b.UNMATCHED_CLOSING_TAG,
|
|
2640
|
-
} else if (
|
|
2641
|
-
var
|
|
2642
|
-
if (
|
|
2643
|
-
return
|
|
2644
|
-
i.push(
|
|
2639
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
2640
|
+
} else if (a === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
|
|
2641
|
+
var o = this.parseTag(t, r);
|
|
2642
|
+
if (o.err)
|
|
2643
|
+
return o;
|
|
2644
|
+
i.push(o.val);
|
|
2645
2645
|
} else {
|
|
2646
|
-
var
|
|
2647
|
-
if (
|
|
2648
|
-
return
|
|
2649
|
-
i.push(
|
|
2646
|
+
var o = this.parseLiteral(t, r);
|
|
2647
|
+
if (o.err)
|
|
2648
|
+
return o;
|
|
2649
|
+
i.push(o.val);
|
|
2650
2650
|
}
|
|
2651
2651
|
}
|
|
2652
2652
|
}
|
|
@@ -2660,32 +2660,32 @@ var Cn = (
|
|
|
2660
2660
|
val: {
|
|
2661
2661
|
type: B.literal,
|
|
2662
2662
|
value: "<".concat(i, "/>"),
|
|
2663
|
-
location:
|
|
2663
|
+
location: v(n, this.clonePosition())
|
|
2664
2664
|
},
|
|
2665
2665
|
err: null
|
|
2666
2666
|
};
|
|
2667
2667
|
if (this.bumpIf(">")) {
|
|
2668
|
-
var
|
|
2669
|
-
if (
|
|
2670
|
-
return
|
|
2671
|
-
var
|
|
2668
|
+
var a = this.parseMessage(t + 1, r, !0);
|
|
2669
|
+
if (a.err)
|
|
2670
|
+
return a;
|
|
2671
|
+
var o = a.val, s = this.clonePosition();
|
|
2672
2672
|
if (this.bumpIf("</")) {
|
|
2673
2673
|
if (this.isEOF() || !Ke(this.char()))
|
|
2674
|
-
return this.error(b.INVALID_TAG,
|
|
2674
|
+
return this.error(b.INVALID_TAG, v(s, this.clonePosition()));
|
|
2675
2675
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
2676
|
-
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG,
|
|
2676
|
+
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2677
2677
|
val: {
|
|
2678
2678
|
type: B.tag,
|
|
2679
2679
|
value: i,
|
|
2680
|
-
children:
|
|
2681
|
-
location:
|
|
2680
|
+
children: o,
|
|
2681
|
+
location: v(n, this.clonePosition())
|
|
2682
2682
|
},
|
|
2683
2683
|
err: null
|
|
2684
|
-
} : this.error(b.INVALID_TAG,
|
|
2684
|
+
} : this.error(b.INVALID_TAG, v(s, this.clonePosition())));
|
|
2685
2685
|
} else
|
|
2686
|
-
return this.error(b.UNCLOSED_TAG,
|
|
2686
|
+
return this.error(b.UNCLOSED_TAG, v(n, this.clonePosition()));
|
|
2687
2687
|
} else
|
|
2688
|
-
return this.error(b.INVALID_TAG,
|
|
2688
|
+
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
2689
2689
|
}, e.prototype.parseTagName = function() {
|
|
2690
2690
|
var t = this.offset();
|
|
2691
2691
|
for (this.bump(); !this.isEOF() && Mn(this.char()); )
|
|
@@ -2693,24 +2693,24 @@ var Cn = (
|
|
|
2693
2693
|
return this.message.slice(t, this.offset());
|
|
2694
2694
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
2695
2695
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
2696
|
-
var
|
|
2696
|
+
var a = this.tryParseQuote(r);
|
|
2697
|
+
if (a) {
|
|
2698
|
+
i += a;
|
|
2699
|
+
continue;
|
|
2700
|
+
}
|
|
2701
|
+
var o = this.tryParseUnquoted(t, r);
|
|
2697
2702
|
if (o) {
|
|
2698
2703
|
i += o;
|
|
2699
2704
|
continue;
|
|
2700
2705
|
}
|
|
2701
|
-
var s = this.
|
|
2706
|
+
var s = this.tryParseLeftAngleBracket();
|
|
2702
2707
|
if (s) {
|
|
2703
2708
|
i += s;
|
|
2704
2709
|
continue;
|
|
2705
2710
|
}
|
|
2706
|
-
var a = this.tryParseLeftAngleBracket();
|
|
2707
|
-
if (a) {
|
|
2708
|
-
i += a;
|
|
2709
|
-
continue;
|
|
2710
|
-
}
|
|
2711
2711
|
break;
|
|
2712
2712
|
}
|
|
2713
|
-
var l =
|
|
2713
|
+
var l = v(n, this.clonePosition());
|
|
2714
2714
|
return {
|
|
2715
2715
|
val: { type: B.literal, value: i, location: l },
|
|
2716
2716
|
err: null
|
|
@@ -2760,14 +2760,14 @@ var Cn = (
|
|
|
2760
2760
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2761
2761
|
var n = this.clonePosition();
|
|
2762
2762
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2763
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2763
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
2764
2764
|
if (this.char() === 125)
|
|
2765
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT,
|
|
2765
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, v(n, this.clonePosition()));
|
|
2766
2766
|
var i = this.parseIdentifierIfPossible().value;
|
|
2767
2767
|
if (!i)
|
|
2768
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
2768
|
+
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
2769
2769
|
if (this.bumpSpace(), this.isEOF())
|
|
2770
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2770
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
2771
2771
|
switch (this.char()) {
|
|
2772
2772
|
case 125:
|
|
2773
2773
|
return this.bump(), {
|
|
@@ -2775,25 +2775,25 @@ var Cn = (
|
|
|
2775
2775
|
type: B.argument,
|
|
2776
2776
|
// value does not include the opening and closing braces.
|
|
2777
2777
|
value: i,
|
|
2778
|
-
location:
|
|
2778
|
+
location: v(n, this.clonePosition())
|
|
2779
2779
|
},
|
|
2780
2780
|
err: null
|
|
2781
2781
|
};
|
|
2782
2782
|
case 44:
|
|
2783
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2783
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2784
2784
|
default:
|
|
2785
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
2785
|
+
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
2786
2786
|
}
|
|
2787
2787
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2788
2788
|
var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
|
|
2789
2789
|
this.bumpTo(i);
|
|
2790
|
-
var
|
|
2791
|
-
return { value: n, location:
|
|
2790
|
+
var a = this.clonePosition(), o = v(t, a);
|
|
2791
|
+
return { value: n, location: o };
|
|
2792
2792
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2793
|
-
var
|
|
2794
|
-
switch (
|
|
2793
|
+
var a, o = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2794
|
+
switch (s) {
|
|
2795
2795
|
case "":
|
|
2796
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE,
|
|
2796
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, v(o, l));
|
|
2797
2797
|
case "number":
|
|
2798
2798
|
case "date":
|
|
2799
2799
|
case "time": {
|
|
@@ -2806,17 +2806,17 @@ var Cn = (
|
|
|
2806
2806
|
return c;
|
|
2807
2807
|
var f = Hn(c.val);
|
|
2808
2808
|
if (f.length === 0)
|
|
2809
|
-
return this.error(b.EXPECT_ARGUMENT_STYLE,
|
|
2810
|
-
var g =
|
|
2809
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
2810
|
+
var g = v(h, this.clonePosition());
|
|
2811
2811
|
u = { style: f, styleLocation: g };
|
|
2812
2812
|
}
|
|
2813
|
-
var
|
|
2814
|
-
if (
|
|
2815
|
-
return
|
|
2816
|
-
var T =
|
|
2813
|
+
var y = this.tryParseArgumentClose(i);
|
|
2814
|
+
if (y.err)
|
|
2815
|
+
return y;
|
|
2816
|
+
var T = v(i, this.clonePosition());
|
|
2817
2817
|
if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
|
|
2818
2818
|
var w = wn(u.style.slice(2));
|
|
2819
|
-
if (
|
|
2819
|
+
if (s === "number") {
|
|
2820
2820
|
var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
2821
2821
|
return c.err ? c : {
|
|
2822
2822
|
val: { type: B.number, value: n, location: T, style: c.val },
|
|
@@ -2831,8 +2831,8 @@ var Cn = (
|
|
|
2831
2831
|
type: he.dateTime,
|
|
2832
2832
|
pattern: C,
|
|
2833
2833
|
location: u.styleLocation,
|
|
2834
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2835
|
-
}, k =
|
|
2834
|
+
parsedOptions: this.shouldParseSkeletons ? an(C) : {}
|
|
2835
|
+
}, k = s === "date" ? B.date : B.time;
|
|
2836
2836
|
return {
|
|
2837
2837
|
val: { type: k, value: n, location: T, style: f },
|
|
2838
2838
|
err: null
|
|
@@ -2841,10 +2841,10 @@ var Cn = (
|
|
|
2841
2841
|
}
|
|
2842
2842
|
return {
|
|
2843
2843
|
val: {
|
|
2844
|
-
type:
|
|
2844
|
+
type: s === "number" ? B.number : s === "date" ? B.date : B.time,
|
|
2845
2845
|
value: n,
|
|
2846
2846
|
location: T,
|
|
2847
|
-
style: (
|
|
2847
|
+
style: (a = u == null ? void 0 : u.style) !== null && a !== void 0 ? a : null
|
|
2848
2848
|
},
|
|
2849
2849
|
err: null
|
|
2850
2850
|
};
|
|
@@ -2854,26 +2854,26 @@ var Cn = (
|
|
|
2854
2854
|
case "select": {
|
|
2855
2855
|
var S = this.clonePosition();
|
|
2856
2856
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2857
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
2857
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(S, _({}, S)));
|
|
2858
2858
|
this.bumpSpace();
|
|
2859
|
-
var
|
|
2860
|
-
if (
|
|
2859
|
+
var A = this.parseIdentifierIfPossible(), L = 0;
|
|
2860
|
+
if (s !== "select" && A.value === "offset") {
|
|
2861
2861
|
if (!this.bumpIf(":"))
|
|
2862
|
-
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
2862
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
2863
2863
|
this.bumpSpace();
|
|
2864
2864
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2865
2865
|
if (c.err)
|
|
2866
2866
|
return c;
|
|
2867
|
-
this.bumpSpace(),
|
|
2867
|
+
this.bumpSpace(), A = this.parseIdentifierIfPossible(), L = c.val;
|
|
2868
2868
|
}
|
|
2869
|
-
var J = this.tryParsePluralOrSelectOptions(t,
|
|
2869
|
+
var J = this.tryParsePluralOrSelectOptions(t, s, r, A);
|
|
2870
2870
|
if (J.err)
|
|
2871
2871
|
return J;
|
|
2872
|
-
var
|
|
2873
|
-
if (
|
|
2874
|
-
return
|
|
2875
|
-
var te =
|
|
2876
|
-
return
|
|
2872
|
+
var y = this.tryParseArgumentClose(i);
|
|
2873
|
+
if (y.err)
|
|
2874
|
+
return y;
|
|
2875
|
+
var te = v(i, this.clonePosition());
|
|
2876
|
+
return s === "select" ? {
|
|
2877
2877
|
val: {
|
|
2878
2878
|
type: B.select,
|
|
2879
2879
|
value: n,
|
|
@@ -2886,18 +2886,18 @@ var Cn = (
|
|
|
2886
2886
|
type: B.plural,
|
|
2887
2887
|
value: n,
|
|
2888
2888
|
options: Et(J.val),
|
|
2889
|
-
offset:
|
|
2890
|
-
pluralType:
|
|
2889
|
+
offset: L,
|
|
2890
|
+
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2891
2891
|
location: te
|
|
2892
2892
|
},
|
|
2893
2893
|
err: null
|
|
2894
2894
|
};
|
|
2895
2895
|
}
|
|
2896
2896
|
default:
|
|
2897
|
-
return this.error(b.INVALID_ARGUMENT_TYPE,
|
|
2897
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, v(o, l));
|
|
2898
2898
|
}
|
|
2899
2899
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2900
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2900
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2901
2901
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2902
2902
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2903
2903
|
var n = this.char();
|
|
@@ -2906,7 +2906,7 @@ var Cn = (
|
|
|
2906
2906
|
this.bump();
|
|
2907
2907
|
var i = this.clonePosition();
|
|
2908
2908
|
if (!this.bumpUntil("'"))
|
|
2909
|
-
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
2909
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
|
|
2910
2910
|
this.bump();
|
|
2911
2911
|
break;
|
|
2912
2912
|
}
|
|
@@ -2936,7 +2936,7 @@ var Cn = (
|
|
|
2936
2936
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2937
2937
|
var n = [];
|
|
2938
2938
|
try {
|
|
2939
|
-
n =
|
|
2939
|
+
n = sn(t);
|
|
2940
2940
|
} catch (i) {
|
|
2941
2941
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
2942
2942
|
}
|
|
@@ -2950,50 +2950,50 @@ var Cn = (
|
|
|
2950
2950
|
err: null
|
|
2951
2951
|
};
|
|
2952
2952
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
2953
|
-
for (var
|
|
2953
|
+
for (var a, o = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
2954
2954
|
if (u.length === 0) {
|
|
2955
2955
|
var c = this.clonePosition();
|
|
2956
2956
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2957
2957
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2958
2958
|
if (f.err)
|
|
2959
2959
|
return f;
|
|
2960
|
-
h =
|
|
2960
|
+
h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
2961
2961
|
} else
|
|
2962
2962
|
break;
|
|
2963
2963
|
}
|
|
2964
2964
|
if (l.has(u))
|
|
2965
2965
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
2966
|
-
u === "other" && (
|
|
2966
|
+
u === "other" && (o = !0), this.bumpSpace();
|
|
2967
2967
|
var g = this.clonePosition();
|
|
2968
2968
|
if (!this.bumpIf("{"))
|
|
2969
|
-
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
2970
|
-
var
|
|
2971
|
-
if (
|
|
2972
|
-
return
|
|
2969
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
2970
|
+
var y = this.parseMessage(t + 1, r, n);
|
|
2971
|
+
if (y.err)
|
|
2972
|
+
return y;
|
|
2973
2973
|
var T = this.tryParseArgumentClose(g);
|
|
2974
2974
|
if (T.err)
|
|
2975
2975
|
return T;
|
|
2976
|
-
|
|
2976
|
+
s.push([
|
|
2977
2977
|
u,
|
|
2978
2978
|
{
|
|
2979
|
-
value:
|
|
2980
|
-
location:
|
|
2979
|
+
value: y.val,
|
|
2980
|
+
location: v(g, this.clonePosition())
|
|
2981
2981
|
}
|
|
2982
|
-
]), l.add(u), this.bumpSpace(),
|
|
2982
|
+
]), l.add(u), this.bumpSpace(), a = this.parseIdentifierIfPossible(), u = a.value, h = a.location;
|
|
2983
2983
|
}
|
|
2984
|
-
return
|
|
2984
|
+
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
2985
2985
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
2986
2986
|
var n = 1, i = this.clonePosition();
|
|
2987
2987
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
2988
|
-
for (var
|
|
2989
|
-
var
|
|
2990
|
-
if (
|
|
2991
|
-
|
|
2988
|
+
for (var a = !1, o = 0; !this.isEOF(); ) {
|
|
2989
|
+
var s = this.char();
|
|
2990
|
+
if (s >= 48 && s <= 57)
|
|
2991
|
+
a = !0, o = o * 10 + (s - 48), this.bump();
|
|
2992
2992
|
else
|
|
2993
2993
|
break;
|
|
2994
2994
|
}
|
|
2995
|
-
var l =
|
|
2996
|
-
return
|
|
2995
|
+
var l = v(i, this.clonePosition());
|
|
2996
|
+
return a ? (o *= n, Tn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
|
|
2997
2997
|
}, e.prototype.offset = function() {
|
|
2998
2998
|
return this.position.offset;
|
|
2999
2999
|
}, e.prototype.isEOF = function() {
|
|
@@ -3102,12 +3102,12 @@ function Nn(e) {
|
|
|
3102
3102
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3103
3103
|
}
|
|
3104
3104
|
function tr(e, t, r, n) {
|
|
3105
|
-
var i = Nn(n) ? n : r(n),
|
|
3106
|
-
return typeof
|
|
3105
|
+
var i = Nn(n) ? n : r(n), a = t.get(i);
|
|
3106
|
+
return typeof a == "undefined" && (a = e.call(this, n), t.set(i, a)), a;
|
|
3107
3107
|
}
|
|
3108
3108
|
function rr(e, t, r) {
|
|
3109
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
|
3110
|
-
return typeof
|
|
3109
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), a = t.get(i);
|
|
3110
|
+
return typeof a == "undefined" && (a = e.apply(this, n), t.set(i, a)), a;
|
|
3111
3111
|
}
|
|
3112
3112
|
function it(e, t, r, n, i) {
|
|
3113
3113
|
return r.bind(t, e, n, i);
|
|
@@ -3125,18 +3125,18 @@ function Pn(e, t) {
|
|
|
3125
3125
|
var On = function() {
|
|
3126
3126
|
return JSON.stringify(arguments);
|
|
3127
3127
|
};
|
|
3128
|
-
function
|
|
3128
|
+
function at() {
|
|
3129
3129
|
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3130
3130
|
}
|
|
3131
|
-
|
|
3131
|
+
at.prototype.get = function(e) {
|
|
3132
3132
|
return this.cache[e];
|
|
3133
3133
|
};
|
|
3134
|
-
|
|
3134
|
+
at.prototype.set = function(e, t) {
|
|
3135
3135
|
this.cache[e] = t;
|
|
3136
3136
|
};
|
|
3137
3137
|
var In = {
|
|
3138
3138
|
create: function() {
|
|
3139
|
-
return new
|
|
3139
|
+
return new at();
|
|
3140
3140
|
}
|
|
3141
3141
|
}, Ge = {
|
|
3142
3142
|
variadic: Ln,
|
|
@@ -3150,8 +3150,8 @@ var Ae = (
|
|
|
3150
3150
|
function(e) {
|
|
3151
3151
|
Ne(t, e);
|
|
3152
3152
|
function t(r, n, i) {
|
|
3153
|
-
var
|
|
3154
|
-
return
|
|
3153
|
+
var a = e.call(this, r) || this;
|
|
3154
|
+
return a.code = n, a.originalMessage = i, a;
|
|
3155
3155
|
}
|
|
3156
3156
|
return t.prototype.toString = function() {
|
|
3157
3157
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
@@ -3161,8 +3161,8 @@ var Ae = (
|
|
|
3161
3161
|
/** @class */
|
|
3162
3162
|
function(e) {
|
|
3163
3163
|
Ne(t, e);
|
|
3164
|
-
function t(r, n, i,
|
|
3165
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE,
|
|
3164
|
+
function t(r, n, i, a) {
|
|
3165
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, a) || this;
|
|
3166
3166
|
}
|
|
3167
3167
|
return t;
|
|
3168
3168
|
}(Ae)
|
|
@@ -3197,7 +3197,7 @@ function Un(e) {
|
|
|
3197
3197
|
function Gn(e) {
|
|
3198
3198
|
return typeof e == "function";
|
|
3199
3199
|
}
|
|
3200
|
-
function we(e, t, r, n, i,
|
|
3200
|
+
function we(e, t, r, n, i, a, o) {
|
|
3201
3201
|
if (e.length === 1 && bt(e[0]))
|
|
3202
3202
|
return [
|
|
3203
3203
|
{
|
|
@@ -3205,28 +3205,28 @@ function we(e, t, r, n, i, o, s) {
|
|
|
3205
3205
|
value: e[0].value
|
|
3206
3206
|
}
|
|
3207
3207
|
];
|
|
3208
|
-
for (var
|
|
3208
|
+
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3209
3209
|
var h = u[l];
|
|
3210
3210
|
if (bt(h)) {
|
|
3211
|
-
|
|
3211
|
+
s.push({
|
|
3212
3212
|
type: I.literal,
|
|
3213
3213
|
value: h.value
|
|
3214
3214
|
});
|
|
3215
3215
|
continue;
|
|
3216
3216
|
}
|
|
3217
3217
|
if (rn(h)) {
|
|
3218
|
-
typeof
|
|
3218
|
+
typeof a == "number" && s.push({
|
|
3219
3219
|
type: I.literal,
|
|
3220
|
-
value: r.getNumberFormat(t).format(
|
|
3220
|
+
value: r.getNumberFormat(t).format(a)
|
|
3221
3221
|
});
|
|
3222
3222
|
continue;
|
|
3223
3223
|
}
|
|
3224
3224
|
var c = h.value;
|
|
3225
3225
|
if (!(i && c in i))
|
|
3226
|
-
throw new Dn(c,
|
|
3226
|
+
throw new Dn(c, o);
|
|
3227
3227
|
var f = i[c];
|
|
3228
3228
|
if (tn(h)) {
|
|
3229
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3229
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3230
3230
|
type: typeof f == "string" ? I.literal : I.object,
|
|
3231
3231
|
value: f
|
|
3232
3232
|
});
|
|
@@ -3234,7 +3234,7 @@ function we(e, t, r, n, i, o, s) {
|
|
|
3234
3234
|
}
|
|
3235
3235
|
if (Ft(h)) {
|
|
3236
3236
|
var g = typeof h.style == "string" ? n.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
|
|
3237
|
-
|
|
3237
|
+
s.push({
|
|
3238
3238
|
type: I.literal,
|
|
3239
3239
|
value: r.getDateTimeFormat(t, g).format(f)
|
|
3240
3240
|
});
|
|
@@ -3242,7 +3242,7 @@ function we(e, t, r, n, i, o, s) {
|
|
|
3242
3242
|
}
|
|
3243
3243
|
if (jt(h)) {
|
|
3244
3244
|
var g = typeof h.style == "string" ? n.time[h.style] : Ze(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3245
|
-
|
|
3245
|
+
s.push({
|
|
3246
3246
|
type: I.literal,
|
|
3247
3247
|
value: r.getDateTimeFormat(t, g).format(f)
|
|
3248
3248
|
});
|
|
@@ -3250,31 +3250,31 @@ function we(e, t, r, n, i, o, s) {
|
|
|
3250
3250
|
}
|
|
3251
3251
|
if (Gt(h)) {
|
|
3252
3252
|
var g = typeof h.style == "string" ? n.number[h.style] : Wt(h.style) ? h.style.parsedOptions : void 0;
|
|
3253
|
-
g && g.scale && (f = f * (g.scale || 1)),
|
|
3253
|
+
g && g.scale && (f = f * (g.scale || 1)), s.push({
|
|
3254
3254
|
type: I.literal,
|
|
3255
3255
|
value: r.getNumberFormat(t, g).format(f)
|
|
3256
3256
|
});
|
|
3257
3257
|
continue;
|
|
3258
3258
|
}
|
|
3259
3259
|
if (Xt(h)) {
|
|
3260
|
-
var
|
|
3260
|
+
var y = h.children, T = h.value, w = i[T];
|
|
3261
3261
|
if (!Gn(w))
|
|
3262
|
-
throw new $n(T, "function",
|
|
3263
|
-
var C = we(
|
|
3264
|
-
return
|
|
3262
|
+
throw new $n(T, "function", o);
|
|
3263
|
+
var C = we(y, t, r, n, i, a), k = w(C.map(function(L) {
|
|
3264
|
+
return L.value;
|
|
3265
3265
|
}));
|
|
3266
|
-
Array.isArray(k) || (k = [k]),
|
|
3266
|
+
Array.isArray(k) || (k = [k]), s.push.apply(s, k.map(function(L) {
|
|
3267
3267
|
return {
|
|
3268
|
-
type: typeof
|
|
3269
|
-
value:
|
|
3268
|
+
type: typeof L == "string" ? I.literal : I.object,
|
|
3269
|
+
value: L
|
|
3270
3270
|
};
|
|
3271
3271
|
}));
|
|
3272
3272
|
}
|
|
3273
3273
|
if (Vt(h)) {
|
|
3274
3274
|
var S = h.options[f] || h.options.other;
|
|
3275
3275
|
if (!S)
|
|
3276
|
-
throw new Tt(h.value, f, Object.keys(h.options),
|
|
3277
|
-
|
|
3276
|
+
throw new Tt(h.value, f, Object.keys(h.options), o);
|
|
3277
|
+
s.push.apply(s, we(S.value, t, r, n, i));
|
|
3278
3278
|
continue;
|
|
3279
3279
|
}
|
|
3280
3280
|
if (zt(h)) {
|
|
@@ -3283,17 +3283,17 @@ function we(e, t, r, n, i, o, s) {
|
|
|
3283
3283
|
if (!Intl.PluralRules)
|
|
3284
3284
|
throw new Ae(`Intl.PluralRules is not available in this environment.
|
|
3285
3285
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3286
|
-
`, ce.MISSING_INTL_API,
|
|
3287
|
-
var
|
|
3288
|
-
S = h.options[
|
|
3286
|
+
`, ce.MISSING_INTL_API, o);
|
|
3287
|
+
var A = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3288
|
+
S = h.options[A] || h.options.other;
|
|
3289
3289
|
}
|
|
3290
3290
|
if (!S)
|
|
3291
|
-
throw new Tt(h.value, f, Object.keys(h.options),
|
|
3292
|
-
|
|
3291
|
+
throw new Tt(h.value, f, Object.keys(h.options), o);
|
|
3292
|
+
s.push.apply(s, we(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3293
3293
|
continue;
|
|
3294
3294
|
}
|
|
3295
3295
|
}
|
|
3296
|
-
return Un(
|
|
3296
|
+
return Un(s);
|
|
3297
3297
|
}
|
|
3298
3298
|
function Fn(e, t) {
|
|
3299
3299
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
@@ -3355,13 +3355,13 @@ var zn = (
|
|
|
3355
3355
|
/** @class */
|
|
3356
3356
|
function() {
|
|
3357
3357
|
function e(t, r, n, i) {
|
|
3358
|
-
var
|
|
3358
|
+
var a = this;
|
|
3359
3359
|
if (r === void 0 && (r = e.defaultLocale), this.formatterCache = {
|
|
3360
3360
|
number: {},
|
|
3361
3361
|
dateTime: {},
|
|
3362
3362
|
pluralRules: {}
|
|
3363
3363
|
}, this.format = function(l) {
|
|
3364
|
-
var u =
|
|
3364
|
+
var u = a.formatToParts(l);
|
|
3365
3365
|
if (u.length === 1)
|
|
3366
3366
|
return u[0].value;
|
|
3367
3367
|
var h = u.reduce(function(c, f) {
|
|
@@ -3369,21 +3369,21 @@ var zn = (
|
|
|
3369
3369
|
}, []);
|
|
3370
3370
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3371
3371
|
}, this.formatToParts = function(l) {
|
|
3372
|
-
return we(
|
|
3372
|
+
return we(a.ast, a.locales, a.formatters, a.formats, l, void 0, a.message);
|
|
3373
3373
|
}, this.resolvedOptions = function() {
|
|
3374
3374
|
var l;
|
|
3375
3375
|
return {
|
|
3376
|
-
locale: ((l =
|
|
3376
|
+
locale: ((l = a.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(a.locales)[0]
|
|
3377
3377
|
};
|
|
3378
3378
|
}, this.getAst = function() {
|
|
3379
|
-
return
|
|
3379
|
+
return a.ast;
|
|
3380
3380
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3381
3381
|
if (this.message = t, !e.__parse)
|
|
3382
3382
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3383
|
-
var
|
|
3384
|
-
|
|
3385
|
-
var
|
|
3386
|
-
this.ast = e.__parse(t, _(_({},
|
|
3383
|
+
var o = i || {};
|
|
3384
|
+
o.formatters;
|
|
3385
|
+
var s = en(o, ["formatters"]);
|
|
3386
|
+
this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
|
|
3387
3387
|
} else
|
|
3388
3388
|
this.ast = t;
|
|
3389
3389
|
if (!Array.isArray(this.ast))
|
|
@@ -3472,9 +3472,9 @@ function Xn(e, t) {
|
|
|
3472
3472
|
for (let i = 0; i < r.length; i++)
|
|
3473
3473
|
if (typeof n == "object") {
|
|
3474
3474
|
if (i > 0) {
|
|
3475
|
-
const
|
|
3476
|
-
if (
|
|
3477
|
-
n = n[
|
|
3475
|
+
const a = r.slice(i, r.length).join(".");
|
|
3476
|
+
if (a in n) {
|
|
3477
|
+
n = n[a];
|
|
3478
3478
|
break;
|
|
3479
3479
|
}
|
|
3480
3480
|
}
|
|
@@ -3490,18 +3490,18 @@ const Q = {}, Wn = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][
|
|
|
3490
3490
|
return Q[t][e];
|
|
3491
3491
|
const r = Le(t);
|
|
3492
3492
|
for (let n = 0; n < r.length; n++) {
|
|
3493
|
-
const i = r[n],
|
|
3494
|
-
if (
|
|
3495
|
-
return Wn(e, t,
|
|
3493
|
+
const i = r[n], a = Jn(i, e);
|
|
3494
|
+
if (a)
|
|
3495
|
+
return Wn(e, t, a);
|
|
3496
3496
|
}
|
|
3497
3497
|
};
|
|
3498
|
-
let
|
|
3498
|
+
let ot;
|
|
3499
3499
|
const de = ke({});
|
|
3500
3500
|
function Zn(e) {
|
|
3501
|
-
return
|
|
3501
|
+
return ot[e] || null;
|
|
3502
3502
|
}
|
|
3503
3503
|
function ir(e) {
|
|
3504
|
-
return e in
|
|
3504
|
+
return e in ot;
|
|
3505
3505
|
}
|
|
3506
3506
|
function Jn(e, t) {
|
|
3507
3507
|
if (!ir(e))
|
|
@@ -3519,24 +3519,24 @@ function Yn(e) {
|
|
|
3519
3519
|
return n;
|
|
3520
3520
|
}
|
|
3521
3521
|
}
|
|
3522
|
-
function
|
|
3522
|
+
function ar(e, ...t) {
|
|
3523
3523
|
delete Q[e], de.update((r) => (r[e] = Qr.all([r[e] || {}, ...t]), r));
|
|
3524
3524
|
}
|
|
3525
3525
|
me(
|
|
3526
3526
|
[de],
|
|
3527
3527
|
([e]) => Object.keys(e)
|
|
3528
3528
|
);
|
|
3529
|
-
de.subscribe((e) =>
|
|
3529
|
+
de.subscribe((e) => ot = e);
|
|
3530
3530
|
const He = {};
|
|
3531
3531
|
function qn(e, t) {
|
|
3532
3532
|
He[e].delete(t), He[e].size === 0 && delete He[e];
|
|
3533
3533
|
}
|
|
3534
|
-
function
|
|
3534
|
+
function or(e) {
|
|
3535
3535
|
return He[e];
|
|
3536
3536
|
}
|
|
3537
3537
|
function Kn(e) {
|
|
3538
3538
|
return Le(e).map((t) => {
|
|
3539
|
-
const r =
|
|
3539
|
+
const r = or(t);
|
|
3540
3540
|
return [t, r ? [...r] : []];
|
|
3541
3541
|
}).filter(([, t]) => t.length > 0);
|
|
3542
3542
|
}
|
|
@@ -3544,17 +3544,17 @@ function et(e) {
|
|
|
3544
3544
|
return e == null ? !1 : Le(e).some(
|
|
3545
3545
|
(t) => {
|
|
3546
3546
|
var r;
|
|
3547
|
-
return (r =
|
|
3547
|
+
return (r = or(t)) == null ? void 0 : r.size;
|
|
3548
3548
|
}
|
|
3549
3549
|
);
|
|
3550
3550
|
}
|
|
3551
3551
|
function Qn(e, t) {
|
|
3552
3552
|
return Promise.all(
|
|
3553
3553
|
t.map((n) => (qn(e, n), n().then((i) => i.default || i)))
|
|
3554
|
-
).then((n) =>
|
|
3554
|
+
).then((n) => ar(e, ...n));
|
|
3555
3555
|
}
|
|
3556
3556
|
const be = {};
|
|
3557
|
-
function
|
|
3557
|
+
function sr(e) {
|
|
3558
3558
|
if (!et(e))
|
|
3559
3559
|
return e in be ? be[e] : Promise.resolve();
|
|
3560
3560
|
const t = Kn(e);
|
|
@@ -3564,7 +3564,7 @@ function ar(e) {
|
|
|
3564
3564
|
)
|
|
3565
3565
|
).then(() => {
|
|
3566
3566
|
if (et(e))
|
|
3567
|
-
return
|
|
3567
|
+
return sr(e);
|
|
3568
3568
|
delete be[e];
|
|
3569
3569
|
}), be[e];
|
|
3570
3570
|
}
|
|
@@ -3609,14 +3609,14 @@ function fe() {
|
|
|
3609
3609
|
return ri;
|
|
3610
3610
|
}
|
|
3611
3611
|
const je = ke(!1);
|
|
3612
|
-
var ni = Object.defineProperty, ii = Object.defineProperties,
|
|
3612
|
+
var ni = Object.defineProperty, ii = Object.defineProperties, ai = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, oi = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
|
|
3613
3613
|
for (var r in t || (t = {}))
|
|
3614
|
-
|
|
3614
|
+
oi.call(t, r) && wt(e, r, t[r]);
|
|
3615
3615
|
if (Bt)
|
|
3616
3616
|
for (var r of Bt(t))
|
|
3617
|
-
|
|
3617
|
+
si.call(t, r) && wt(e, r, t[r]);
|
|
3618
3618
|
return e;
|
|
3619
|
-
}, li = (e, t) => ii(e,
|
|
3619
|
+
}, li = (e, t) => ii(e, ai(t));
|
|
3620
3620
|
let tt;
|
|
3621
3621
|
const Ce = ke(null);
|
|
3622
3622
|
function Ht(e) {
|
|
@@ -3639,7 +3639,7 @@ const hi = (e) => {
|
|
|
3639
3639
|
return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
|
|
3640
3640
|
() => je.set(!0),
|
|
3641
3641
|
t
|
|
3642
|
-
) : je.set(!0),
|
|
3642
|
+
) : je.set(!0), sr(e).then(() => {
|
|
3643
3643
|
Ce.set(e);
|
|
3644
3644
|
}).finally(() => {
|
|
3645
3645
|
clearTimeout(r), je.set(!1);
|
|
@@ -3655,7 +3655,7 @@ const hi = (e) => {
|
|
|
3655
3655
|
return i in t ? t[i] : t[i] = e(n);
|
|
3656
3656
|
};
|
|
3657
3657
|
};
|
|
3658
|
-
var ci = Object.defineProperty, Se = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r,
|
|
3658
|
+
var ci = Object.defineProperty, Se = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
|
|
3659
3659
|
for (var r in t || (t = {}))
|
|
3660
3660
|
ur.call(t, r) && Ct(e, r, t[r]);
|
|
3661
3661
|
if (Se)
|
|
@@ -3671,7 +3671,7 @@ var ci = Object.defineProperty, Se = Object.getOwnPropertySymbols, ur = Object.p
|
|
|
3671
3671
|
t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
|
|
3672
3672
|
return r;
|
|
3673
3673
|
};
|
|
3674
|
-
const
|
|
3674
|
+
const ve = (e, t) => {
|
|
3675
3675
|
const { formats: r } = fe();
|
|
3676
3676
|
if (e in r && t in r[e])
|
|
3677
3677
|
return r[e][t];
|
|
@@ -3681,14 +3681,14 @@ const ye = (e, t) => {
|
|
|
3681
3681
|
var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
|
|
3682
3682
|
if (r == null)
|
|
3683
3683
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3684
|
-
return n && (i =
|
|
3684
|
+
return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
|
|
3685
3685
|
}
|
|
3686
3686
|
), mi = Pe(
|
|
3687
3687
|
(e) => {
|
|
3688
3688
|
var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
|
|
3689
3689
|
if (r == null)
|
|
3690
3690
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3691
|
-
return n ? i =
|
|
3691
|
+
return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3692
3692
|
}
|
|
3693
3693
|
), di = Pe(
|
|
3694
3694
|
(e) => {
|
|
@@ -3697,7 +3697,7 @@ const ye = (e, t) => {
|
|
|
3697
3697
|
throw new Error(
|
|
3698
3698
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3699
3699
|
);
|
|
3700
|
-
return n ? i =
|
|
3700
|
+
return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3701
3701
|
}
|
|
3702
3702
|
), pi = (e = {}) => {
|
|
3703
3703
|
var t = e, {
|
|
@@ -3705,51 +3705,51 @@ const ye = (e, t) => {
|
|
|
3705
3705
|
} = t, n = pe(t, [
|
|
3706
3706
|
"locale"
|
|
3707
3707
|
]);
|
|
3708
|
-
return fi(
|
|
3708
|
+
return fi(st({ locale: r }, n));
|
|
3709
3709
|
}, bi = (e = {}) => {
|
|
3710
3710
|
var t = e, {
|
|
3711
3711
|
locale: r = ne()
|
|
3712
3712
|
} = t, n = pe(t, [
|
|
3713
3713
|
"locale"
|
|
3714
3714
|
]);
|
|
3715
|
-
return mi(
|
|
3715
|
+
return mi(st({ locale: r }, n));
|
|
3716
3716
|
}, gi = (e = {}) => {
|
|
3717
3717
|
var t = e, {
|
|
3718
3718
|
locale: r = ne()
|
|
3719
3719
|
} = t, n = pe(t, [
|
|
3720
3720
|
"locale"
|
|
3721
3721
|
]);
|
|
3722
|
-
return di(
|
|
3723
|
-
},
|
|
3722
|
+
return di(st({ locale: r }, n));
|
|
3723
|
+
}, yi = Pe(
|
|
3724
3724
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3725
3725
|
(e, t = ne()) => new zn(e, t, fe().formats, {
|
|
3726
3726
|
ignoreTag: fe().ignoreTag
|
|
3727
3727
|
})
|
|
3728
|
-
),
|
|
3729
|
-
var r, n, i,
|
|
3730
|
-
let
|
|
3731
|
-
typeof e == "object" && (
|
|
3728
|
+
), vi = (e, t = {}) => {
|
|
3729
|
+
var r, n, i, a;
|
|
3730
|
+
let o = t;
|
|
3731
|
+
typeof e == "object" && (o = e, e = o.id);
|
|
3732
3732
|
const {
|
|
3733
|
-
values:
|
|
3733
|
+
values: s,
|
|
3734
3734
|
locale: l = ne(),
|
|
3735
3735
|
default: u
|
|
3736
|
-
} =
|
|
3736
|
+
} = o;
|
|
3737
3737
|
if (l == null)
|
|
3738
3738
|
throw new Error(
|
|
3739
3739
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3740
3740
|
);
|
|
3741
3741
|
let h = nr(e, l);
|
|
3742
3742
|
if (!h)
|
|
3743
|
-
h = (
|
|
3743
|
+
h = (a = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
|
|
3744
3744
|
else if (typeof h != "string")
|
|
3745
3745
|
return console.warn(
|
|
3746
3746
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3747
3747
|
), h;
|
|
3748
|
-
if (!
|
|
3748
|
+
if (!s)
|
|
3749
3749
|
return h;
|
|
3750
3750
|
let c = h;
|
|
3751
3751
|
try {
|
|
3752
|
-
c =
|
|
3752
|
+
c = yi(h, l).format(s);
|
|
3753
3753
|
} catch (f) {
|
|
3754
3754
|
f instanceof Error && console.warn(
|
|
3755
3755
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3757,7 +3757,7 @@ const ye = (e, t) => {
|
|
|
3757
3757
|
);
|
|
3758
3758
|
}
|
|
3759
3759
|
return c;
|
|
3760
|
-
}, _i = (e, t) => gi(t).format(e), Ei = (e, t) => bi(t).format(e), xi = (e, t) => pi(t).format(e), Ti = (e, t = ne()) => nr(e, t), Bi = me([ee, de], () =>
|
|
3760
|
+
}, _i = (e, t) => gi(t).format(e), Ei = (e, t) => bi(t).format(e), xi = (e, t) => pi(t).format(e), Ti = (e, t = ne()) => nr(e, t), Bi = me([ee, de], () => vi);
|
|
3761
3761
|
me([ee], () => _i);
|
|
3762
3762
|
me([ee], () => Ei);
|
|
3763
3763
|
me([ee], () => xi);
|
|
@@ -3768,7 +3768,7 @@ function wi({ withLocale: e, translations: t }) {
|
|
|
3768
3768
|
});
|
|
3769
3769
|
}
|
|
3770
3770
|
function St(e, t) {
|
|
3771
|
-
|
|
3771
|
+
ar(e, t);
|
|
3772
3772
|
}
|
|
3773
3773
|
function Hi(e) {
|
|
3774
3774
|
ee.set(e);
|
|
@@ -3849,7 +3849,7 @@ const Mt = {
|
|
|
3849
3849
|
productMinBet: "Para {productName}, o valor mínimo da aposta aceita é {minBet}.",
|
|
3850
3850
|
productMaxBet: "Para {productName}, o valor máximo da aposta aceita é {maxBet}."
|
|
3851
3851
|
}
|
|
3852
|
-
},
|
|
3852
|
+
}, N = {
|
|
3853
3853
|
AED: "د.إ",
|
|
3854
3854
|
AFN: "؋",
|
|
3855
3855
|
ALL: "L",
|
|
@@ -4022,7 +4022,7 @@ const Mt = {
|
|
|
4022
4022
|
ZWD: "Z$"
|
|
4023
4023
|
}, Ci = "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", Si = "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", hr = "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", Mi = "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", Ri = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='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
4024
|
function ki(e) {
|
|
4025
|
-
|
|
4025
|
+
yr(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}");
|
|
4026
4026
|
}
|
|
4027
4027
|
function Rt(e) {
|
|
4028
4028
|
let t, r = (
|
|
@@ -4033,11 +4033,11 @@ function Rt(e) {
|
|
|
4033
4033
|
c() {
|
|
4034
4034
|
t = new Re(!1), n = Me(), t.a = n;
|
|
4035
4035
|
},
|
|
4036
|
-
m(i,
|
|
4037
|
-
t.m(r, i,
|
|
4036
|
+
m(i, a) {
|
|
4037
|
+
t.m(r, i, a), R(i, n, a);
|
|
4038
4038
|
},
|
|
4039
|
-
p(i,
|
|
4040
|
-
|
|
4039
|
+
p(i, a) {
|
|
4040
|
+
a & /*$_*/
|
|
4041
4041
|
8192 && r !== (r = /*$_*/
|
|
4042
4042
|
i[13]("scoreCriteriaType.mostRounds") + "") && t.p(r);
|
|
4043
4043
|
},
|
|
@@ -4055,11 +4055,11 @@ function kt(e) {
|
|
|
4055
4055
|
c() {
|
|
4056
4056
|
t = new Re(!1), n = Me(), t.a = n;
|
|
4057
4057
|
},
|
|
4058
|
-
m(i,
|
|
4059
|
-
t.m(r, i,
|
|
4058
|
+
m(i, a) {
|
|
4059
|
+
t.m(r, i, a), R(i, n, a);
|
|
4060
4060
|
},
|
|
4061
|
-
p(i,
|
|
4062
|
-
|
|
4061
|
+
p(i, a) {
|
|
4062
|
+
a & /*$_*/
|
|
4063
4063
|
8192 && r !== (r = /*$_*/
|
|
4064
4064
|
i[13]("scoreCriteriaType.winStateRatio") + "") && t.p(r);
|
|
4065
4065
|
},
|
|
@@ -4077,11 +4077,11 @@ function Nt(e) {
|
|
|
4077
4077
|
c() {
|
|
4078
4078
|
t = new Re(!1), n = Me(), t.a = n;
|
|
4079
4079
|
},
|
|
4080
|
-
m(i,
|
|
4081
|
-
t.m(r, i,
|
|
4080
|
+
m(i, a) {
|
|
4081
|
+
t.m(r, i, a), R(i, n, a);
|
|
4082
4082
|
},
|
|
4083
|
-
p(i,
|
|
4084
|
-
|
|
4083
|
+
p(i, a) {
|
|
4084
|
+
a & /*$_*/
|
|
4085
4085
|
8192 && r !== (r = /*$_*/
|
|
4086
4086
|
i[13]("scoreCriteriaType.maxWinStateRatio") + "") && t.p(r);
|
|
4087
4087
|
},
|
|
@@ -4099,11 +4099,11 @@ function At(e) {
|
|
|
4099
4099
|
c() {
|
|
4100
4100
|
t = new Re(!1), n = Me(), t.a = n;
|
|
4101
4101
|
},
|
|
4102
|
-
m(i,
|
|
4103
|
-
t.m(r, i,
|
|
4102
|
+
m(i, a) {
|
|
4103
|
+
t.m(r, i, a), R(i, n, a);
|
|
4104
4104
|
},
|
|
4105
|
-
p(i,
|
|
4106
|
-
|
|
4105
|
+
p(i, a) {
|
|
4106
|
+
a & /*$_*/
|
|
4107
4107
|
8192 && r !== (r = /*$_*/
|
|
4108
4108
|
i[13]("scoreCriteriaType.stake") + "") && t.p(r);
|
|
4109
4109
|
},
|
|
@@ -4114,32 +4114,32 @@ function At(e) {
|
|
|
4114
4114
|
}
|
|
4115
4115
|
function Lt(e) {
|
|
4116
4116
|
let t, r, n;
|
|
4117
|
-
function i(
|
|
4117
|
+
function i(s, l) {
|
|
4118
4118
|
return (
|
|
4119
4119
|
/*noMinCasinoBet*/
|
|
4120
|
-
|
|
4121
|
-
|
|
4120
|
+
s[8] && /*noMaxCasinoBet*/
|
|
4121
|
+
s[9] ? Pi : (
|
|
4122
4122
|
/*noMinCasinoBet*/
|
|
4123
|
-
|
|
4123
|
+
s[8] ? Li : (
|
|
4124
4124
|
/*noMaxCasinoBet*/
|
|
4125
|
-
|
|
4125
|
+
s[9] ? Ai : Ni
|
|
4126
4126
|
)
|
|
4127
4127
|
)
|
|
4128
4128
|
);
|
|
4129
4129
|
}
|
|
4130
|
-
let
|
|
4130
|
+
let a = i(e), o = a(e);
|
|
4131
4131
|
return {
|
|
4132
4132
|
c() {
|
|
4133
|
-
t = x("div"), r = x("div"), r.innerHTML = `<img src="${hr}"
|
|
4133
|
+
t = x("div"), r = x("div"), r.innerHTML = `<img src="${hr}"/>`, n = O(), o.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
|
|
4134
4134
|
},
|
|
4135
|
-
m(
|
|
4136
|
-
R(
|
|
4135
|
+
m(s, l) {
|
|
4136
|
+
R(s, t, l), p(t, r), p(t, n), o.m(t, null);
|
|
4137
4137
|
},
|
|
4138
|
-
p(
|
|
4139
|
-
|
|
4138
|
+
p(s, l) {
|
|
4139
|
+
a === (a = i(s)) && o ? o.p(s, l) : (o.d(1), o = a(s), o && (o.c(), o.m(t, null)));
|
|
4140
4140
|
},
|
|
4141
|
-
d(
|
|
4142
|
-
|
|
4141
|
+
d(s) {
|
|
4142
|
+
s && H(t), o.d();
|
|
4143
4143
|
}
|
|
4144
4144
|
};
|
|
4145
4145
|
}
|
|
@@ -4156,7 +4156,7 @@ function Ni(e) {
|
|
|
4156
4156
|
e[14](
|
|
4157
4157
|
/*casino*/
|
|
4158
4158
|
e[6].minbet
|
|
4159
|
-
) ?
|
|
4159
|
+
) ? N[
|
|
4160
4160
|
/*currency*/
|
|
4161
4161
|
e[12]
|
|
4162
4162
|
] : ""}${/*casino*/
|
|
@@ -4165,7 +4165,7 @@ function Ni(e) {
|
|
|
4165
4165
|
e[14](
|
|
4166
4166
|
/*casino*/
|
|
4167
4167
|
e[6].maxbet
|
|
4168
|
-
) ?
|
|
4168
|
+
) ? N[
|
|
4169
4169
|
/*currency*/
|
|
4170
4170
|
e[12]
|
|
4171
4171
|
] : ""}${/*casino*/
|
|
@@ -4175,13 +4175,13 @@ function Ni(e) {
|
|
|
4175
4175
|
), n;
|
|
4176
4176
|
return {
|
|
4177
4177
|
c() {
|
|
4178
|
-
t = x("div"), n = X(r), m(t, "class", "RuleTxt
|
|
4178
|
+
t = x("div"), n = X(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4179
4179
|
},
|
|
4180
|
-
m(i,
|
|
4181
|
-
R(i, t,
|
|
4180
|
+
m(i, a) {
|
|
4181
|
+
R(i, t, a), p(t, n);
|
|
4182
4182
|
},
|
|
4183
|
-
p(i,
|
|
4184
|
-
|
|
4183
|
+
p(i, a) {
|
|
4184
|
+
a & /*$_, casino, currency*/
|
|
4185
4185
|
12352 && r !== (r = /*$_*/
|
|
4186
4186
|
i[13]("productMinMaxBet", {
|
|
4187
4187
|
values: {
|
|
@@ -4193,7 +4193,7 @@ function Ni(e) {
|
|
|
4193
4193
|
i[14](
|
|
4194
4194
|
/*casino*/
|
|
4195
4195
|
i[6].minbet
|
|
4196
|
-
) ?
|
|
4196
|
+
) ? N[
|
|
4197
4197
|
/*currency*/
|
|
4198
4198
|
i[12]
|
|
4199
4199
|
] : ""}${/*casino*/
|
|
@@ -4202,7 +4202,7 @@ function Ni(e) {
|
|
|
4202
4202
|
i[14](
|
|
4203
4203
|
/*casino*/
|
|
4204
4204
|
i[6].maxbet
|
|
4205
|
-
) ?
|
|
4205
|
+
) ? N[
|
|
4206
4206
|
/*currency*/
|
|
4207
4207
|
i[12]
|
|
4208
4208
|
] : ""}${/*casino*/
|
|
@@ -4228,7 +4228,7 @@ function Ai(e) {
|
|
|
4228
4228
|
e[14](
|
|
4229
4229
|
/*casino*/
|
|
4230
4230
|
e[6].minbet
|
|
4231
|
-
) ?
|
|
4231
|
+
) ? N[
|
|
4232
4232
|
/*currency*/
|
|
4233
4233
|
e[12]
|
|
4234
4234
|
] : ""}${/*casino*/
|
|
@@ -4238,13 +4238,13 @@ function Ai(e) {
|
|
|
4238
4238
|
), n;
|
|
4239
4239
|
return {
|
|
4240
4240
|
c() {
|
|
4241
|
-
t = x("div"), n = X(r), m(t, "class", "RuleTxt
|
|
4241
|
+
t = x("div"), n = X(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4242
4242
|
},
|
|
4243
|
-
m(i,
|
|
4244
|
-
R(i, t,
|
|
4243
|
+
m(i, a) {
|
|
4244
|
+
R(i, t, a), p(t, n);
|
|
4245
4245
|
},
|
|
4246
|
-
p(i,
|
|
4247
|
-
|
|
4246
|
+
p(i, a) {
|
|
4247
|
+
a & /*$_, casino, currency*/
|
|
4248
4248
|
12352 && r !== (r = /*$_*/
|
|
4249
4249
|
i[13]("productMinBet", {
|
|
4250
4250
|
values: {
|
|
@@ -4256,7 +4256,7 @@ function Ai(e) {
|
|
|
4256
4256
|
i[14](
|
|
4257
4257
|
/*casino*/
|
|
4258
4258
|
i[6].minbet
|
|
4259
|
-
) ?
|
|
4259
|
+
) ? N[
|
|
4260
4260
|
/*currency*/
|
|
4261
4261
|
i[12]
|
|
4262
4262
|
] : ""}${/*casino*/
|
|
@@ -4282,7 +4282,7 @@ function Li(e) {
|
|
|
4282
4282
|
e[14](
|
|
4283
4283
|
/*casino*/
|
|
4284
4284
|
e[6].maxbet
|
|
4285
|
-
) ?
|
|
4285
|
+
) ? N[
|
|
4286
4286
|
/*currency*/
|
|
4287
4287
|
e[12]
|
|
4288
4288
|
] : ""}${/*casino*/
|
|
@@ -4292,13 +4292,13 @@ function Li(e) {
|
|
|
4292
4292
|
), n;
|
|
4293
4293
|
return {
|
|
4294
4294
|
c() {
|
|
4295
|
-
t = x("div"), n = X(r), m(t, "class", "RuleTxt
|
|
4295
|
+
t = x("div"), n = X(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4296
4296
|
},
|
|
4297
|
-
m(i,
|
|
4298
|
-
R(i, t,
|
|
4297
|
+
m(i, a) {
|
|
4298
|
+
R(i, t, a), p(t, n);
|
|
4299
4299
|
},
|
|
4300
|
-
p(i,
|
|
4301
|
-
|
|
4300
|
+
p(i, a) {
|
|
4301
|
+
a & /*$_, casino, currency*/
|
|
4302
4302
|
12352 && r !== (r = /*$_*/
|
|
4303
4303
|
i[13]("productMaxBet", {
|
|
4304
4304
|
values: {
|
|
@@ -4310,7 +4310,7 @@ function Li(e) {
|
|
|
4310
4310
|
i[14](
|
|
4311
4311
|
/*casino*/
|
|
4312
4312
|
i[6].maxbet
|
|
4313
|
-
) ?
|
|
4313
|
+
) ? N[
|
|
4314
4314
|
/*currency*/
|
|
4315
4315
|
i[12]
|
|
4316
4316
|
] : ""}${/*casino*/
|
|
@@ -4335,13 +4335,13 @@ function Pi(e) {
|
|
|
4335
4335
|
), n;
|
|
4336
4336
|
return {
|
|
4337
4337
|
c() {
|
|
4338
|
-
t = x("div"), n = X(r), m(t, "class", "RuleTxt
|
|
4338
|
+
t = x("div"), n = X(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4339
4339
|
},
|
|
4340
|
-
m(i,
|
|
4341
|
-
R(i, t,
|
|
4340
|
+
m(i, a) {
|
|
4341
|
+
R(i, t, a), p(t, n);
|
|
4342
4342
|
},
|
|
4343
|
-
p(i,
|
|
4344
|
-
|
|
4343
|
+
p(i, a) {
|
|
4344
|
+
a & /*$_, casino*/
|
|
4345
4345
|
8256 && r !== (r = /*$_*/
|
|
4346
4346
|
i[13]("productNoLimitsBet", {
|
|
4347
4347
|
values: { productName: (
|
|
@@ -4357,32 +4357,32 @@ function Pi(e) {
|
|
|
4357
4357
|
}
|
|
4358
4358
|
function Pt(e) {
|
|
4359
4359
|
let t, r, n;
|
|
4360
|
-
function i(
|
|
4360
|
+
function i(s, l) {
|
|
4361
4361
|
return (
|
|
4362
4362
|
/*noMinSportsBet*/
|
|
4363
|
-
|
|
4364
|
-
|
|
4363
|
+
s[10] && /*noMaxSportsBet*/
|
|
4364
|
+
s[11] ? Di : (
|
|
4365
4365
|
/*noMinSportsBet*/
|
|
4366
|
-
|
|
4366
|
+
s[10] ? $i : (
|
|
4367
4367
|
/*noMaxSportsBet*/
|
|
4368
|
-
|
|
4368
|
+
s[11] ? Ii : Oi
|
|
4369
4369
|
)
|
|
4370
4370
|
)
|
|
4371
4371
|
);
|
|
4372
4372
|
}
|
|
4373
|
-
let
|
|
4373
|
+
let a = i(e), o = a(e);
|
|
4374
4374
|
return {
|
|
4375
4375
|
c() {
|
|
4376
|
-
t = x("div"), r = x("div"), r.innerHTML = `<img src="${hr}"
|
|
4376
|
+
t = x("div"), r = x("div"), r.innerHTML = `<img src="${hr}"/>`, n = O(), o.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
|
|
4377
4377
|
},
|
|
4378
|
-
m(
|
|
4379
|
-
R(
|
|
4378
|
+
m(s, l) {
|
|
4379
|
+
R(s, t, l), p(t, r), p(t, n), o.m(t, null);
|
|
4380
4380
|
},
|
|
4381
|
-
p(
|
|
4382
|
-
|
|
4381
|
+
p(s, l) {
|
|
4382
|
+
a === (a = i(s)) && o ? o.p(s, l) : (o.d(1), o = a(s), o && (o.c(), o.m(t, null)));
|
|
4383
4383
|
},
|
|
4384
|
-
d(
|
|
4385
|
-
|
|
4384
|
+
d(s) {
|
|
4385
|
+
s && H(t), o.d();
|
|
4386
4386
|
}
|
|
4387
4387
|
};
|
|
4388
4388
|
}
|
|
@@ -4399,7 +4399,7 @@ function Oi(e) {
|
|
|
4399
4399
|
e[14](
|
|
4400
4400
|
/*sports*/
|
|
4401
4401
|
e[7].minbet
|
|
4402
|
-
) ?
|
|
4402
|
+
) ? N[
|
|
4403
4403
|
/*currency*/
|
|
4404
4404
|
e[12]
|
|
4405
4405
|
] : ""}${/*sports*/
|
|
@@ -4408,7 +4408,7 @@ function Oi(e) {
|
|
|
4408
4408
|
e[14](
|
|
4409
4409
|
/*sports*/
|
|
4410
4410
|
e[7].maxbet
|
|
4411
|
-
) ?
|
|
4411
|
+
) ? N[
|
|
4412
4412
|
/*currency*/
|
|
4413
4413
|
e[12]
|
|
4414
4414
|
] : ""}${/*sports*/
|
|
@@ -4418,13 +4418,13 @@ function Oi(e) {
|
|
|
4418
4418
|
), n;
|
|
4419
4419
|
return {
|
|
4420
4420
|
c() {
|
|
4421
|
-
t = x("div"), n = X(r), m(t, "class", "RuleTxt
|
|
4421
|
+
t = x("div"), n = X(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4422
4422
|
},
|
|
4423
|
-
m(i,
|
|
4424
|
-
R(i, t,
|
|
4423
|
+
m(i, a) {
|
|
4424
|
+
R(i, t, a), p(t, n);
|
|
4425
4425
|
},
|
|
4426
|
-
p(i,
|
|
4427
|
-
|
|
4426
|
+
p(i, a) {
|
|
4427
|
+
a & /*$_, sports, currency*/
|
|
4428
4428
|
12416 && r !== (r = /*$_*/
|
|
4429
4429
|
i[13]("productMinMaxBet", {
|
|
4430
4430
|
values: {
|
|
@@ -4436,7 +4436,7 @@ function Oi(e) {
|
|
|
4436
4436
|
i[14](
|
|
4437
4437
|
/*sports*/
|
|
4438
4438
|
i[7].minbet
|
|
4439
|
-
) ?
|
|
4439
|
+
) ? N[
|
|
4440
4440
|
/*currency*/
|
|
4441
4441
|
i[12]
|
|
4442
4442
|
] : ""}${/*sports*/
|
|
@@ -4445,7 +4445,7 @@ function Oi(e) {
|
|
|
4445
4445
|
i[14](
|
|
4446
4446
|
/*sports*/
|
|
4447
4447
|
i[7].maxbet
|
|
4448
|
-
) ?
|
|
4448
|
+
) ? N[
|
|
4449
4449
|
/*currency*/
|
|
4450
4450
|
i[12]
|
|
4451
4451
|
] : ""}${/*sports*/
|
|
@@ -4471,7 +4471,7 @@ function Ii(e) {
|
|
|
4471
4471
|
e[14](
|
|
4472
4472
|
/*sports*/
|
|
4473
4473
|
e[7].minbet
|
|
4474
|
-
) ?
|
|
4474
|
+
) ? N[
|
|
4475
4475
|
/*currency*/
|
|
4476
4476
|
e[12]
|
|
4477
4477
|
] : ""}${/*sports*/
|
|
@@ -4481,13 +4481,13 @@ function Ii(e) {
|
|
|
4481
4481
|
), n;
|
|
4482
4482
|
return {
|
|
4483
4483
|
c() {
|
|
4484
|
-
t = x("div"), n = X(r), m(t, "class", "RuleTxt
|
|
4484
|
+
t = x("div"), n = X(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4485
4485
|
},
|
|
4486
|
-
m(i,
|
|
4487
|
-
R(i, t,
|
|
4486
|
+
m(i, a) {
|
|
4487
|
+
R(i, t, a), p(t, n);
|
|
4488
4488
|
},
|
|
4489
|
-
p(i,
|
|
4490
|
-
|
|
4489
|
+
p(i, a) {
|
|
4490
|
+
a & /*$_, sports, currency*/
|
|
4491
4491
|
12416 && r !== (r = /*$_*/
|
|
4492
4492
|
i[13]("productMinBet", {
|
|
4493
4493
|
values: {
|
|
@@ -4499,7 +4499,7 @@ function Ii(e) {
|
|
|
4499
4499
|
i[14](
|
|
4500
4500
|
/*sports*/
|
|
4501
4501
|
i[7].minbet
|
|
4502
|
-
) ?
|
|
4502
|
+
) ? N[
|
|
4503
4503
|
/*currency*/
|
|
4504
4504
|
i[12]
|
|
4505
4505
|
] : ""}${/*sports*/
|
|
@@ -4525,7 +4525,7 @@ function $i(e) {
|
|
|
4525
4525
|
e[14](
|
|
4526
4526
|
/*sports*/
|
|
4527
4527
|
e[7].maxbet
|
|
4528
|
-
) ?
|
|
4528
|
+
) ? N[
|
|
4529
4529
|
/*currency*/
|
|
4530
4530
|
e[12]
|
|
4531
4531
|
] : ""}${/*sports*/
|
|
@@ -4535,13 +4535,13 @@ function $i(e) {
|
|
|
4535
4535
|
), n;
|
|
4536
4536
|
return {
|
|
4537
4537
|
c() {
|
|
4538
|
-
t = x("div"), n = X(r), m(t, "class", "RuleTxt
|
|
4538
|
+
t = x("div"), n = X(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4539
4539
|
},
|
|
4540
|
-
m(i,
|
|
4541
|
-
R(i, t,
|
|
4540
|
+
m(i, a) {
|
|
4541
|
+
R(i, t, a), p(t, n);
|
|
4542
4542
|
},
|
|
4543
|
-
p(i,
|
|
4544
|
-
|
|
4543
|
+
p(i, a) {
|
|
4544
|
+
a & /*$_, sports, currency*/
|
|
4545
4545
|
12416 && r !== (r = /*$_*/
|
|
4546
4546
|
i[13]("productMaxBet", {
|
|
4547
4547
|
values: {
|
|
@@ -4553,7 +4553,7 @@ function $i(e) {
|
|
|
4553
4553
|
i[14](
|
|
4554
4554
|
/*sports*/
|
|
4555
4555
|
i[7].maxbet
|
|
4556
|
-
) ?
|
|
4556
|
+
) ? N[
|
|
4557
4557
|
/*currency*/
|
|
4558
4558
|
i[12]
|
|
4559
4559
|
] : ""}${/*sports*/
|
|
@@ -4578,13 +4578,13 @@ function Di(e) {
|
|
|
4578
4578
|
), n;
|
|
4579
4579
|
return {
|
|
4580
4580
|
c() {
|
|
4581
|
-
t = x("div"), n = X(r), m(t, "class", "RuleTxt
|
|
4581
|
+
t = x("div"), n = X(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4582
4582
|
},
|
|
4583
|
-
m(i,
|
|
4584
|
-
R(i, t,
|
|
4583
|
+
m(i, a) {
|
|
4584
|
+
R(i, t, a), p(t, n);
|
|
4585
4585
|
},
|
|
4586
|
-
p(i,
|
|
4587
|
-
|
|
4586
|
+
p(i, a) {
|
|
4587
|
+
a & /*$_, sports*/
|
|
4588
4588
|
8320 && r !== (r = /*$_*/
|
|
4589
4589
|
i[13]("productNoLimitsBet", {
|
|
4590
4590
|
values: { productName: (
|
|
@@ -4599,7 +4599,7 @@ function Di(e) {
|
|
|
4599
4599
|
};
|
|
4600
4600
|
}
|
|
4601
4601
|
function Ui(e) {
|
|
4602
|
-
let t, r, n, i, o, s,
|
|
4602
|
+
let t, r, n, i, a, o, s, l, u, h, c, f, g, y = (
|
|
4603
4603
|
/*$_*/
|
|
4604
4604
|
e[13]("miniBetCount", {
|
|
4605
4605
|
values: { betCount: (
|
|
@@ -4607,7 +4607,7 @@ function Ui(e) {
|
|
|
4607
4607
|
e[1]
|
|
4608
4608
|
) }
|
|
4609
4609
|
}) + ""
|
|
4610
|
-
), T, w, C, k, S,
|
|
4610
|
+
), T, w, C, k, S, A, L = (
|
|
4611
4611
|
/*$_*/
|
|
4612
4612
|
e[13]("timePeriod", {
|
|
4613
4613
|
values: {
|
|
@@ -4627,7 +4627,7 @@ function Ui(e) {
|
|
|
4627
4627
|
/*tcurl*/
|
|
4628
4628
|
e[4]
|
|
4629
4629
|
) } }) + ""
|
|
4630
|
-
), xe, d,
|
|
4630
|
+
), xe, d, P, W, ut, $ = (
|
|
4631
4631
|
/*scorecriterial*/
|
|
4632
4632
|
e[0] == "BetCount" && Rt(e)
|
|
4633
4633
|
), D = (
|
|
@@ -4648,28 +4648,28 @@ function Ui(e) {
|
|
|
4648
4648
|
);
|
|
4649
4649
|
return {
|
|
4650
4650
|
c() {
|
|
4651
|
-
t = x("div"), r = x("div"), n = x("div"), n.innerHTML = `<img src="${Si}"
|
|
4651
|
+
t = x("div"), r = x("div"), n = x("div"), n.innerHTML = `<img src="${Si}"/>`, i = O(), a = x("div"), $ && $.c(), o = O(), D && D.c(), s = O(), U && U.c(), l = O(), G && G.c(), u = O(), h = x("div"), c = x("div"), c.innerHTML = `<img src="${Ci}"/>`, f = O(), g = x("div"), T = X(y), w = O(), C = x("div"), k = x("div"), k.innerHTML = `<img src="${Mi}"/>`, S = O(), A = x("div"), J = X(L), te = O(), q = x("div"), re = x("div"), re.innerHTML = `<img src="${Ri}"/>`, Ee = O(), K = x("div"), xe = O(), F && F.c(), d = O(), P = x("span"), ut = O(), j && j.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(h, "class", "RulesRow"), m(h, "part", "rule"), m(k, "class", "RuleIcon"), m(k, "part", "RuleIcon"), m(A, "class", "RuleTxt"), m(A, "part", "RuleTxt"), m(C, "class", "RulesRow"), m(C, "part", "rule"), m(re, "class", "RuleIcon"), m(re, "part", "RuleIcon"), m(K, "class", "RuleTxt"), m(K, "part", "RuleTxt"), m(q, "class", "RulesRow"), m(q, "part", "rule"), m(P, "type", "hidden"), m(P, "href", W = { tcurl: (
|
|
4652
4652
|
/*tcurl*/
|
|
4653
4653
|
e[4]
|
|
4654
|
-
) }), m(
|
|
4654
|
+
) }), m(t, "class", "casino-tournaments-thumbnail-rule"), m(t, "part", "casino-tournaments-thumbnail-rule");
|
|
4655
4655
|
},
|
|
4656
4656
|
m(E, V) {
|
|
4657
|
-
R(E, t, V), p(t, r), p(r, n), p(r, i), p(r,
|
|
4657
|
+
R(E, t, V), p(t, r), p(r, n), p(r, i), p(r, a), $ && $.m(a, null), p(a, o), D && D.m(a, null), p(a, s), U && U.m(a, null), p(a, l), G && G.m(a, null), p(t, u), p(t, h), p(h, c), p(h, f), p(h, g), p(g, T), p(t, w), p(t, C), p(C, k), p(C, S), p(C, A), p(A, J), p(t, te), p(t, q), p(q, re), p(q, Ee), p(q, K), K.innerHTML = ie, p(t, xe), F && F.m(t, null), p(t, d), p(t, P), p(t, ut), j && j.m(t, null), e[20](t);
|
|
4658
4658
|
},
|
|
4659
4659
|
p(E, [V]) {
|
|
4660
4660
|
/*scorecriterial*/
|
|
4661
|
-
E[0] == "BetCount" ? $ ? $.p(E, V) : ($ = Rt(E), $.c(), $.m(
|
|
4662
|
-
E[0] == "WinStakeRatio" ? D ? D.p(E, V) : (D = kt(E), D.c(), D.m(
|
|
4663
|
-
E[0] == "MaxWinStakeRatio" ? U ? U.p(E, V) : (U = Nt(E), U.c(), U.m(
|
|
4664
|
-
E[0] == "Stake" ? G ? G.p(E, V) : (G = At(E), G.c(), G.m(
|
|
4665
|
-
8194 &&
|
|
4661
|
+
E[0] == "BetCount" ? $ ? $.p(E, V) : ($ = Rt(E), $.c(), $.m(a, o)) : $ && ($.d(1), $ = null), /*scorecriterial*/
|
|
4662
|
+
E[0] == "WinStakeRatio" ? D ? D.p(E, V) : (D = kt(E), D.c(), D.m(a, s)) : D && (D.d(1), D = null), /*scorecriterial*/
|
|
4663
|
+
E[0] == "MaxWinStakeRatio" ? U ? U.p(E, V) : (U = Nt(E), U.c(), U.m(a, l)) : U && (U.d(1), U = null), /*scorecriterial*/
|
|
4664
|
+
E[0] == "Stake" ? G ? G.p(E, V) : (G = At(E), G.c(), G.m(a, null)) : G && (G.d(1), G = null), V & /*$_, betcount*/
|
|
4665
|
+
8194 && y !== (y = /*$_*/
|
|
4666
4666
|
E[13]("miniBetCount", {
|
|
4667
4667
|
values: { betCount: (
|
|
4668
4668
|
/*betcount*/
|
|
4669
4669
|
E[1]
|
|
4670
4670
|
) }
|
|
4671
|
-
}) + "") && Y(T,
|
|
4672
|
-
8204 &&
|
|
4671
|
+
}) + "") && Y(T, y), V & /*$_, starttime, endtime*/
|
|
4672
|
+
8204 && L !== (L = /*$_*/
|
|
4673
4673
|
E[13]("timePeriod", {
|
|
4674
4674
|
values: {
|
|
4675
4675
|
startTime: (
|
|
@@ -4681,7 +4681,7 @@ function Ui(e) {
|
|
|
4681
4681
|
E[3]
|
|
4682
4682
|
)
|
|
4683
4683
|
}
|
|
4684
|
-
}) + "") && Y(J,
|
|
4684
|
+
}) + "") && Y(J, L), V & /*$_, tcurl*/
|
|
4685
4685
|
8208 && ie !== (ie = /*$_*/
|
|
4686
4686
|
E[13]("terms", { values: { tcUrl: (
|
|
4687
4687
|
/*tcurl*/
|
|
@@ -4691,7 +4691,7 @@ function Ui(e) {
|
|
|
4691
4691
|
16 && W !== (W = { tcurl: (
|
|
4692
4692
|
/*tcurl*/
|
|
4693
4693
|
E[4]
|
|
4694
|
-
) }) && m(
|
|
4694
|
+
) }) && m(P, "href", W), /*sports*/
|
|
4695
4695
|
E[7] ? j ? j.p(E, V) : (j = Pt(E), j.c(), j.m(t, null)) : j && (j.d(1), j = null);
|
|
4696
4696
|
},
|
|
4697
4697
|
i: Z,
|
|
@@ -4704,22 +4704,22 @@ function Ui(e) {
|
|
|
4704
4704
|
function Gi(e, t, r) {
|
|
4705
4705
|
let n;
|
|
4706
4706
|
gr(e, Bi, (d) => r(13, n = d));
|
|
4707
|
-
let { lang: i = "tr" } = t, { scorecriterial:
|
|
4707
|
+
let { lang: i = "tr" } = t, { scorecriterial: a = "BetCount" } = t, { betcount: o } = t, { starttime: s } = t, { endtime: l } = t, { tcurl: u } = t, { products: h = "{}" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: g = "" } = t, y, T, w, C = !1, k = !1, S = !1, A = !1, L = "EUR";
|
|
4708
4708
|
wi({ withLocale: "en", translations: {} });
|
|
4709
4709
|
const J = (d) => typeof d == "number" || Object.prototype.toString.call(d) === "[object Number]", te = () => {
|
|
4710
|
-
fetch(g).then((
|
|
4711
|
-
Object.keys(
|
|
4712
|
-
St(W,
|
|
4710
|
+
fetch(g).then((P) => P.json()).then((P) => {
|
|
4711
|
+
Object.keys(P).forEach((W) => {
|
|
4712
|
+
St(W, P[W]);
|
|
4713
4713
|
});
|
|
4714
|
-
}).catch((
|
|
4715
|
-
console.log(
|
|
4714
|
+
}).catch((P) => {
|
|
4715
|
+
console.log(P);
|
|
4716
4716
|
});
|
|
4717
4717
|
};
|
|
4718
4718
|
Object.keys(Mt).forEach((d) => {
|
|
4719
4719
|
St(d, Mt[d]);
|
|
4720
4720
|
});
|
|
4721
4721
|
const q = (d) => {
|
|
4722
|
-
r(12,
|
|
4722
|
+
r(12, L = d.currency), d.casino ? (r(6, T = d.casino), r(8, C = !(T.hasOwnProperty("minbet") && T.minbet != 0)), r(9, k = !(T.hasOwnProperty("maxbet") && T.maxbet != 0))) : (r(8, C = !0), r(9, k = !0)), d.sports ? (r(7, w = d.sports), r(10, S = !(w.hasOwnProperty("minbet") && w.minbet != 0)), r(11, A = !(w.hasOwnProperty("maxbet") && w.maxbet != 0))) : (r(10, S = !0), r(11, A = !0));
|
|
4723
4723
|
}, re = () => {
|
|
4724
4724
|
if (!h) return;
|
|
4725
4725
|
let d;
|
|
@@ -4728,13 +4728,13 @@ function Gi(e, t, r) {
|
|
|
4728
4728
|
Hi(i);
|
|
4729
4729
|
}, K = () => {
|
|
4730
4730
|
let d = document.createElement("style");
|
|
4731
|
-
d.innerHTML = c,
|
|
4731
|
+
d.innerHTML = c, y.appendChild(d);
|
|
4732
4732
|
}, ie = () => {
|
|
4733
|
-
let d = new URL(f),
|
|
4733
|
+
let d = new URL(f), P = document.createElement("style");
|
|
4734
4734
|
fetch(d.href).then((W) => W.text()).then((W) => {
|
|
4735
|
-
|
|
4735
|
+
P.innerHTML = W, setTimeout(
|
|
4736
4736
|
() => {
|
|
4737
|
-
|
|
4737
|
+
y.appendChild(P);
|
|
4738
4738
|
},
|
|
4739
4739
|
1
|
|
4740
4740
|
), setTimeout(
|
|
@@ -4746,32 +4746,32 @@ function Gi(e, t, r) {
|
|
|
4746
4746
|
};
|
|
4747
4747
|
function xe(d) {
|
|
4748
4748
|
Ve[d ? "unshift" : "push"](() => {
|
|
4749
|
-
|
|
4749
|
+
y = d, r(5, y);
|
|
4750
4750
|
});
|
|
4751
4751
|
}
|
|
4752
4752
|
return e.$$set = (d) => {
|
|
4753
|
-
"lang" in d && r(15, i = d.lang), "scorecriterial" in d && r(0,
|
|
4753
|
+
"lang" in d && r(15, i = d.lang), "scorecriterial" in d && r(0, a = d.scorecriterial), "betcount" in d && r(1, o = d.betcount), "starttime" in d && r(2, s = d.starttime), "endtime" in d && r(3, l = d.endtime), "tcurl" in d && r(4, u = d.tcurl), "products" in d && r(16, h = 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);
|
|
4754
4754
|
}, e.$$.update = () => {
|
|
4755
4755
|
e.$$.dirty & /*lang*/
|
|
4756
4756
|
32768 && i && Ee(), e.$$.dirty & /*products*/
|
|
4757
4757
|
65536 && h && re(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4758
|
-
131104 && c &&
|
|
4759
|
-
262176 && f &&
|
|
4758
|
+
131104 && c && y && K(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4759
|
+
262176 && f && y && ie(), e.$$.dirty & /*translationurl*/
|
|
4760
4760
|
524288 && g && te();
|
|
4761
4761
|
}, [
|
|
4762
|
+
a,
|
|
4762
4763
|
o,
|
|
4763
4764
|
s,
|
|
4764
|
-
a,
|
|
4765
4765
|
l,
|
|
4766
4766
|
u,
|
|
4767
|
-
|
|
4767
|
+
y,
|
|
4768
4768
|
T,
|
|
4769
4769
|
w,
|
|
4770
4770
|
C,
|
|
4771
4771
|
k,
|
|
4772
4772
|
S,
|
|
4773
|
+
A,
|
|
4773
4774
|
L,
|
|
4774
|
-
P,
|
|
4775
4775
|
n,
|
|
4776
4776
|
J,
|
|
4777
4777
|
i,
|