@everymatrix/casino-tournaments-tab 1.74.10 → 1.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoTournamentsTab-BrSstAfx.cjs +18 -0
- package/components/{CasinoTournamentsTab-CW-afgeL.js → CasinoTournamentsTab-Dn32vmMJ.js} +630 -616
- package/components/{CasinoTournamentsTab-BEAfjge4.js → CasinoTournamentsTab-FpJocnPT.js} +666 -652
- package/es2015/casino-tournaments-tab.cjs +1 -1
- package/es2015/casino-tournaments-tab.js +1 -1
- package/esnext/casino-tournaments-tab.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsTab-CtJV1gll.cjs +0 -18
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function S() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function xt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Ze() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function K(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(xt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Fe(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Tt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function nr(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function ir(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
@@ -27,17 +27,17 @@ function tr(e, ...t) {
|
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function N(e, t) {
|
|
31
31
|
e.appendChild(t);
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
const n =
|
|
33
|
+
function or(e, t, r) {
|
|
34
|
+
const n = sr(e);
|
|
35
35
|
if (!n.getElementById(t)) {
|
|
36
36
|
const i = O("style");
|
|
37
|
-
i.id = t, i.textContent = r,
|
|
37
|
+
i.id = t, i.textContent = r, ar(n, i);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function sr(e) {
|
|
41
41
|
if (!e)
|
|
42
42
|
return document;
|
|
43
43
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -47,8 +47,8 @@ function nr(e) {
|
|
|
47
47
|
t
|
|
48
48
|
) : e.ownerDocument;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
return
|
|
50
|
+
function ar(e, t) {
|
|
51
|
+
return N(
|
|
52
52
|
/** @type {Document} */
|
|
53
53
|
e.head || e,
|
|
54
54
|
t
|
|
@@ -60,33 +60,33 @@ function ee(e, t, r) {
|
|
|
60
60
|
function V(e) {
|
|
61
61
|
e.parentNode && e.parentNode.removeChild(e);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function ur(e, t) {
|
|
64
64
|
for (let r = 0; r < e.length; r += 1)
|
|
65
65
|
e[r] && e[r].d(t);
|
|
66
66
|
}
|
|
67
67
|
function O(e) {
|
|
68
68
|
return document.createElement(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function je(e) {
|
|
71
71
|
return document.createTextNode(e);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
return
|
|
73
|
+
function Qe() {
|
|
74
|
+
return je(" ");
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function hr(e, t, r, n) {
|
|
77
77
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
78
78
|
}
|
|
79
79
|
function T(e, t, r) {
|
|
80
80
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function lr(e) {
|
|
83
83
|
return Array.from(e.childNodes);
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function St(e, t) {
|
|
86
86
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
87
87
|
t);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function fr(e) {
|
|
90
90
|
const t = {};
|
|
91
91
|
return e.childNodes.forEach(
|
|
92
92
|
/** @param {Element} node */
|
|
@@ -99,22 +99,22 @@ let J;
|
|
|
99
99
|
function Q(e) {
|
|
100
100
|
J = e;
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function cr() {
|
|
103
103
|
if (!J)
|
|
104
104
|
throw new Error("Function called outside component initialization");
|
|
105
105
|
return J;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
108
|
-
|
|
107
|
+
function wt(e) {
|
|
108
|
+
cr().$$.on_mount.push(e);
|
|
109
109
|
}
|
|
110
|
-
const R = [],
|
|
110
|
+
const R = [], we = [];
|
|
111
111
|
let U = [];
|
|
112
|
-
const
|
|
113
|
-
let
|
|
114
|
-
function
|
|
115
|
-
|
|
112
|
+
const Je = [], pr = /* @__PURE__ */ Promise.resolve();
|
|
113
|
+
let He = !1;
|
|
114
|
+
function mr() {
|
|
115
|
+
He || (He = !0, pr.then(A));
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function Be(e) {
|
|
118
118
|
U.push(e);
|
|
119
119
|
}
|
|
120
120
|
const ge = /* @__PURE__ */ new Set();
|
|
@@ -127,56 +127,56 @@ function A() {
|
|
|
127
127
|
try {
|
|
128
128
|
for (; M < R.length; ) {
|
|
129
129
|
const t = R[M];
|
|
130
|
-
M++, Q(t),
|
|
130
|
+
M++, Q(t), dr(t.$$);
|
|
131
131
|
}
|
|
132
132
|
} catch (t) {
|
|
133
133
|
throw R.length = 0, M = 0, t;
|
|
134
134
|
}
|
|
135
|
-
for (Q(null), R.length = 0, M = 0;
|
|
136
|
-
|
|
135
|
+
for (Q(null), R.length = 0, M = 0; we.length; )
|
|
136
|
+
we.pop()();
|
|
137
137
|
for (let t = 0; t < U.length; t += 1) {
|
|
138
138
|
const r = U[t];
|
|
139
139
|
ge.has(r) || (ge.add(r), r());
|
|
140
140
|
}
|
|
141
141
|
U.length = 0;
|
|
142
142
|
} while (R.length);
|
|
143
|
-
for (;
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
for (; Je.length; )
|
|
144
|
+
Je.pop()();
|
|
145
|
+
He = !1, ge.clear(), Q(e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function dr(e) {
|
|
148
148
|
if (e.fragment !== null) {
|
|
149
149
|
e.update(), K(e.before_update);
|
|
150
150
|
const t = e.dirty;
|
|
151
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
151
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function br(e) {
|
|
155
155
|
const t = [], r = [];
|
|
156
156
|
U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
|
|
157
157
|
}
|
|
158
|
-
const
|
|
159
|
-
function
|
|
160
|
-
e && e.i && (
|
|
158
|
+
const gr = /* @__PURE__ */ new Set();
|
|
159
|
+
function vr(e, t) {
|
|
160
|
+
e && e.i && (gr.delete(e), e.i(t));
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function Ye(e) {
|
|
163
163
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function yr(e, t, r) {
|
|
166
166
|
const { fragment: n, after_update: i } = e.$$;
|
|
167
|
-
n && n.m(t, r),
|
|
168
|
-
const o = e.$$.on_mount.map(
|
|
167
|
+
n && n.m(t, r), Be(() => {
|
|
168
|
+
const o = e.$$.on_mount.map(xt).filter(Fe);
|
|
169
169
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
|
|
170
|
-
}), i.forEach(
|
|
170
|
+
}), i.forEach(Be);
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function _r(e, t) {
|
|
173
173
|
const r = e.$$;
|
|
174
|
-
r.fragment !== null && (
|
|
174
|
+
r.fragment !== null && (br(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
177
|
-
e.$$.dirty[0] === -1 && (R.push(e),
|
|
176
|
+
function Er(e, t) {
|
|
177
|
+
e.$$.dirty[0] === -1 && (R.push(e), mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
180
180
|
const h = J;
|
|
181
181
|
Q(e);
|
|
182
182
|
const u = e.$$ = {
|
|
@@ -186,7 +186,7 @@ function vr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
186
186
|
props: o,
|
|
187
187
|
update: S,
|
|
188
188
|
not_equal: i,
|
|
189
|
-
bound:
|
|
189
|
+
bound: Ze(),
|
|
190
190
|
// lifecycle
|
|
191
191
|
on_mount: [],
|
|
192
192
|
on_destroy: [],
|
|
@@ -195,28 +195,28 @@ function vr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
195
195
|
after_update: [],
|
|
196
196
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
197
197
|
// everything else
|
|
198
|
-
callbacks:
|
|
198
|
+
callbacks: Ze(),
|
|
199
199
|
dirty: a,
|
|
200
200
|
skip_bound: !1,
|
|
201
201
|
root: t.target || h.$$.root
|
|
202
202
|
};
|
|
203
203
|
s && s(u.root);
|
|
204
204
|
let l = !1;
|
|
205
|
-
if (u.ctx = r(e, t.props || {}, (f, c, ...
|
|
206
|
-
const
|
|
207
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
|
208
|
-
}), u.update(), l = !0, K(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
205
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
206
|
+
const d = p.length ? p[0] : c;
|
|
207
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Er(e, f)), c;
|
|
208
|
+
}) : [], u.update(), l = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
209
209
|
if (t.hydrate) {
|
|
210
|
-
const f =
|
|
210
|
+
const f = lr(t.target);
|
|
211
211
|
u.fragment && u.fragment.l(f), f.forEach(V);
|
|
212
212
|
} else
|
|
213
213
|
u.fragment && u.fragment.c();
|
|
214
|
-
t.intro &&
|
|
214
|
+
t.intro && vr(e.$$.fragment), yr(e, t.target, t.anchor), A();
|
|
215
215
|
}
|
|
216
216
|
Q(h);
|
|
217
217
|
}
|
|
218
|
-
let
|
|
219
|
-
typeof HTMLElement == "function" && (
|
|
218
|
+
let Ht;
|
|
219
|
+
typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
|
|
220
220
|
/** The Svelte component constructor */
|
|
221
221
|
$$ctor;
|
|
222
222
|
/** Slots */
|
|
@@ -275,7 +275,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
275
275
|
};
|
|
276
276
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
277
277
|
return;
|
|
278
|
-
const t = {}, r =
|
|
278
|
+
const t = {}, r = fr(this);
|
|
279
279
|
for (const i of this.$$s)
|
|
280
280
|
i in r && (t[i] = [e(i)]);
|
|
281
281
|
for (const i of this.attributes) {
|
|
@@ -362,8 +362,8 @@ function se(e, t, r, n) {
|
|
|
362
362
|
return t;
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
function
|
|
366
|
-
let s = class extends
|
|
365
|
+
function Tr(e, t, r, n, i, o) {
|
|
366
|
+
let s = class extends Ht {
|
|
367
367
|
constructor() {
|
|
368
368
|
super(e, r, i), this.$$p_d = t;
|
|
369
369
|
}
|
|
@@ -391,7 +391,7 @@ function _r(e, t, r, n, i, o) {
|
|
|
391
391
|
}), e.element = /** @type {any} */
|
|
392
392
|
s, s;
|
|
393
393
|
}
|
|
394
|
-
class
|
|
394
|
+
class Sr {
|
|
395
395
|
/**
|
|
396
396
|
* ### PRIVATE API
|
|
397
397
|
*
|
|
@@ -410,7 +410,7 @@ class Er {
|
|
|
410
410
|
$$set = void 0;
|
|
411
411
|
/** @returns {void} */
|
|
412
412
|
$destroy() {
|
|
413
|
-
|
|
413
|
+
_r(this, 1), this.$destroy = S;
|
|
414
414
|
}
|
|
415
415
|
/**
|
|
416
416
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -419,7 +419,7 @@ class Er {
|
|
|
419
419
|
* @returns {() => void}
|
|
420
420
|
*/
|
|
421
421
|
$on(t, r) {
|
|
422
|
-
if (!
|
|
422
|
+
if (!Fe(r))
|
|
423
423
|
return S;
|
|
424
424
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
425
425
|
return n.push(r), () => {
|
|
@@ -432,21 +432,21 @@ class Er {
|
|
|
432
432
|
* @returns {void}
|
|
433
433
|
*/
|
|
434
434
|
$set(t) {
|
|
435
|
-
this.$$set && !
|
|
435
|
+
this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
|
-
const
|
|
439
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
440
|
-
const
|
|
438
|
+
const wr = "4";
|
|
439
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wr);
|
|
440
|
+
const Hr = (e) => (r) => {
|
|
441
441
|
Object.keys(e).map((n) => {
|
|
442
442
|
if (r.data && r.data.type == n) {
|
|
443
443
|
const { type: i, ...o } = r.data;
|
|
444
444
|
e[n](o);
|
|
445
445
|
}
|
|
446
446
|
});
|
|
447
|
-
},
|
|
448
|
-
const t =
|
|
449
|
-
|
|
447
|
+
}, Br = (e) => {
|
|
448
|
+
const t = Hr(e);
|
|
449
|
+
wt(() => (window.addEventListener("message", t, !1), () => {
|
|
450
450
|
window.removeEventListener("message", t);
|
|
451
451
|
}));
|
|
452
452
|
};
|
|
@@ -464,18 +464,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
464
464
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
465
465
|
PERFORMANCE OF THIS SOFTWARE.
|
|
466
466
|
***************************************************************************** */
|
|
467
|
-
var
|
|
468
|
-
return
|
|
467
|
+
var Ae = function(e, t) {
|
|
468
|
+
return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
469
469
|
r.__proto__ = n;
|
|
470
470
|
} || function(r, n) {
|
|
471
471
|
for (var i in n)
|
|
472
472
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
473
|
-
},
|
|
473
|
+
}, Ae(e, t);
|
|
474
474
|
};
|
|
475
475
|
function B(e, t) {
|
|
476
476
|
if (typeof t != "function" && t !== null)
|
|
477
477
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
478
|
-
|
|
478
|
+
Ae(e, t);
|
|
479
479
|
function r() {
|
|
480
480
|
this.constructor = e;
|
|
481
481
|
}
|
|
@@ -491,7 +491,7 @@ var g = function() {
|
|
|
491
491
|
return t;
|
|
492
492
|
}, g.apply(this, arguments);
|
|
493
493
|
};
|
|
494
|
-
function
|
|
494
|
+
function Ar(e, t) {
|
|
495
495
|
var r = {};
|
|
496
496
|
for (var n in e)
|
|
497
497
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -500,7 +500,7 @@ function wr(e, t) {
|
|
|
500
500
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
501
501
|
return r;
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function Pe(e) {
|
|
504
504
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
505
505
|
if (r)
|
|
506
506
|
return r.call(e);
|
|
@@ -512,7 +512,7 @@ function Ae(e) {
|
|
|
512
512
|
};
|
|
513
513
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function Oe(e, t) {
|
|
516
516
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
517
517
|
if (!r)
|
|
518
518
|
return e;
|
|
@@ -541,13 +541,13 @@ function D(e, t, r) {
|
|
|
541
541
|
function H(e) {
|
|
542
542
|
return typeof e == "function";
|
|
543
543
|
}
|
|
544
|
-
function
|
|
544
|
+
function Bt(e) {
|
|
545
545
|
var t = function(n) {
|
|
546
546
|
Error.call(n), n.stack = new Error().stack;
|
|
547
547
|
}, r = e(t);
|
|
548
548
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
549
549
|
}
|
|
550
|
-
var
|
|
550
|
+
var ve = Bt(function(e) {
|
|
551
551
|
return function(r) {
|
|
552
552
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
553
553
|
` + r.map(function(n, i) {
|
|
@@ -556,7 +556,7 @@ var ye = wt(function(e) {
|
|
|
556
556
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
557
557
|
};
|
|
558
558
|
});
|
|
559
|
-
function
|
|
559
|
+
function Ie(e, t) {
|
|
560
560
|
if (e) {
|
|
561
561
|
var r = e.indexOf(t);
|
|
562
562
|
0 <= r && e.splice(r, 1);
|
|
@@ -574,12 +574,12 @@ var ce = function() {
|
|
|
574
574
|
if (s)
|
|
575
575
|
if (this._parentage = null, Array.isArray(s))
|
|
576
576
|
try {
|
|
577
|
-
for (var a =
|
|
577
|
+
for (var a = Pe(s), h = a.next(); !h.done; h = a.next()) {
|
|
578
578
|
var u = h.value;
|
|
579
579
|
u.remove(this);
|
|
580
580
|
}
|
|
581
|
-
} catch (
|
|
582
|
-
t = { error:
|
|
581
|
+
} catch (v) {
|
|
582
|
+
t = { error: v };
|
|
583
583
|
} finally {
|
|
584
584
|
try {
|
|
585
585
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -594,26 +594,26 @@ var ce = function() {
|
|
|
594
594
|
if (H(l))
|
|
595
595
|
try {
|
|
596
596
|
l();
|
|
597
|
-
} catch (
|
|
598
|
-
o =
|
|
597
|
+
} catch (v) {
|
|
598
|
+
o = v instanceof ve ? v.errors : [v];
|
|
599
599
|
}
|
|
600
600
|
var f = this._finalizers;
|
|
601
601
|
if (f) {
|
|
602
602
|
this._finalizers = null;
|
|
603
603
|
try {
|
|
604
|
-
for (var c =
|
|
605
|
-
var
|
|
604
|
+
for (var c = Pe(f), p = c.next(); !p.done; p = c.next()) {
|
|
605
|
+
var d = p.value;
|
|
606
606
|
try {
|
|
607
|
-
|
|
608
|
-
} catch (
|
|
609
|
-
o = o ?? [],
|
|
607
|
+
qe(d);
|
|
608
|
+
} catch (v) {
|
|
609
|
+
o = o ?? [], v instanceof ve ? o = D(D([], Oe(o)), Oe(v.errors)) : o.push(v);
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
} catch (
|
|
613
|
-
n = { error:
|
|
612
|
+
} catch (v) {
|
|
613
|
+
n = { error: v };
|
|
614
614
|
} finally {
|
|
615
615
|
try {
|
|
616
|
-
|
|
616
|
+
p && !p.done && (i = c.return) && i.call(c);
|
|
617
617
|
} finally {
|
|
618
618
|
if (n)
|
|
619
619
|
throw n.error;
|
|
@@ -621,13 +621,13 @@ var ce = function() {
|
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
623
|
if (o)
|
|
624
|
-
throw new
|
|
624
|
+
throw new ve(o);
|
|
625
625
|
}
|
|
626
626
|
}, e.prototype.add = function(t) {
|
|
627
627
|
var r;
|
|
628
628
|
if (t && t !== this)
|
|
629
629
|
if (this.closed)
|
|
630
|
-
|
|
630
|
+
qe(t);
|
|
631
631
|
else {
|
|
632
632
|
if (t instanceof e) {
|
|
633
633
|
if (t.closed || t._hasParent(this))
|
|
@@ -644,56 +644,56 @@ var ce = function() {
|
|
|
644
644
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
645
645
|
}, e.prototype._removeParent = function(t) {
|
|
646
646
|
var r = this._parentage;
|
|
647
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
647
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ie(r, t);
|
|
648
648
|
}, e.prototype.remove = function(t) {
|
|
649
649
|
var r = this._finalizers;
|
|
650
|
-
r &&
|
|
650
|
+
r && Ie(r, t), t instanceof e && t._removeParent(this);
|
|
651
651
|
}, e.EMPTY = function() {
|
|
652
652
|
var t = new e();
|
|
653
653
|
return t.closed = !0, t;
|
|
654
654
|
}(), e;
|
|
655
|
-
}(),
|
|
656
|
-
function
|
|
655
|
+
}(), At = ce.EMPTY;
|
|
656
|
+
function Pt(e) {
|
|
657
657
|
return e instanceof ce || e && "closed" in e && H(e.remove) && H(e.add) && H(e.unsubscribe);
|
|
658
658
|
}
|
|
659
|
-
function
|
|
659
|
+
function qe(e) {
|
|
660
660
|
H(e) ? e() : e.unsubscribe();
|
|
661
661
|
}
|
|
662
|
-
var
|
|
662
|
+
var Ot = {
|
|
663
663
|
onUnhandledError: null,
|
|
664
664
|
onStoppedNotification: null,
|
|
665
665
|
Promise: void 0,
|
|
666
666
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
667
667
|
useDeprecatedNextContext: !1
|
|
668
|
-
},
|
|
668
|
+
}, Pr = {
|
|
669
669
|
setTimeout: function(e, t) {
|
|
670
670
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
671
671
|
r[n - 2] = arguments[n];
|
|
672
|
-
return setTimeout.apply(void 0, D([e, t],
|
|
672
|
+
return setTimeout.apply(void 0, D([e, t], Oe(r)));
|
|
673
673
|
},
|
|
674
674
|
clearTimeout: function(e) {
|
|
675
675
|
return clearTimeout(e);
|
|
676
676
|
},
|
|
677
677
|
delegate: void 0
|
|
678
678
|
};
|
|
679
|
-
function
|
|
680
|
-
|
|
679
|
+
function Or(e) {
|
|
680
|
+
Pr.setTimeout(function() {
|
|
681
681
|
throw e;
|
|
682
682
|
});
|
|
683
683
|
}
|
|
684
|
-
function
|
|
684
|
+
function Ke() {
|
|
685
685
|
}
|
|
686
686
|
function ae(e) {
|
|
687
687
|
e();
|
|
688
688
|
}
|
|
689
|
-
var
|
|
689
|
+
var It = function(e) {
|
|
690
690
|
B(t, e);
|
|
691
691
|
function t(r) {
|
|
692
692
|
var n = e.call(this) || this;
|
|
693
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
693
|
+
return n.isStopped = !1, r ? (n.destination = r, Pt(r) && r.add(n)) : n.destination = Cr, n;
|
|
694
694
|
}
|
|
695
695
|
return t.create = function(r, n, i) {
|
|
696
|
-
return new
|
|
696
|
+
return new Le(r, n, i);
|
|
697
697
|
}, t.prototype.next = function(r) {
|
|
698
698
|
this.isStopped || this._next(r);
|
|
699
699
|
}, t.prototype.error = function(r) {
|
|
@@ -717,7 +717,11 @@ var At = function(e) {
|
|
|
717
717
|
this.unsubscribe();
|
|
718
718
|
}
|
|
719
719
|
}, t;
|
|
720
|
-
}(ce),
|
|
720
|
+
}(ce), Ir = Function.prototype.bind;
|
|
721
|
+
function ye(e, t) {
|
|
722
|
+
return Ir.call(e, t);
|
|
723
|
+
}
|
|
724
|
+
var Lr = function() {
|
|
721
725
|
function e(t) {
|
|
722
726
|
this.partialObserver = t;
|
|
723
727
|
}
|
|
@@ -748,43 +752,55 @@ var At = function(e) {
|
|
|
748
752
|
ie(r);
|
|
749
753
|
}
|
|
750
754
|
}, e;
|
|
751
|
-
}(),
|
|
755
|
+
}(), Le = function(e) {
|
|
752
756
|
B(t, e);
|
|
753
757
|
function t(r, n, i) {
|
|
754
758
|
var o = e.call(this) || this, s;
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
759
|
+
if (H(r) || !r)
|
|
760
|
+
s = {
|
|
761
|
+
next: r ?? void 0,
|
|
762
|
+
error: n ?? void 0,
|
|
763
|
+
complete: i ?? void 0
|
|
764
|
+
};
|
|
765
|
+
else {
|
|
766
|
+
var a;
|
|
767
|
+
o && Ot.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
768
|
+
return o.unsubscribe();
|
|
769
|
+
}, s = {
|
|
770
|
+
next: r.next && ye(r.next, a),
|
|
771
|
+
error: r.error && ye(r.error, a),
|
|
772
|
+
complete: r.complete && ye(r.complete, a)
|
|
773
|
+
}) : s = r;
|
|
774
|
+
}
|
|
775
|
+
return o.destination = new Lr(s), o;
|
|
760
776
|
}
|
|
761
777
|
return t;
|
|
762
|
-
}(
|
|
778
|
+
}(It);
|
|
763
779
|
function ie(e) {
|
|
764
|
-
|
|
780
|
+
Or(e);
|
|
765
781
|
}
|
|
766
|
-
function
|
|
782
|
+
function Nr(e) {
|
|
767
783
|
throw e;
|
|
768
784
|
}
|
|
769
|
-
var
|
|
785
|
+
var Cr = {
|
|
770
786
|
closed: !0,
|
|
771
|
-
next:
|
|
772
|
-
error:
|
|
773
|
-
complete:
|
|
774
|
-
},
|
|
787
|
+
next: Ke,
|
|
788
|
+
error: Nr,
|
|
789
|
+
complete: Ke
|
|
790
|
+
}, Mr = function() {
|
|
775
791
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
776
792
|
}();
|
|
777
|
-
function
|
|
793
|
+
function $r(e) {
|
|
778
794
|
return e;
|
|
779
795
|
}
|
|
780
|
-
function
|
|
781
|
-
return e.length === 0 ?
|
|
796
|
+
function Rr(e) {
|
|
797
|
+
return e.length === 0 ? $r : e.length === 1 ? e[0] : function(r) {
|
|
782
798
|
return e.reduce(function(n, i) {
|
|
783
799
|
return i(n);
|
|
784
800
|
}, r);
|
|
785
801
|
};
|
|
786
802
|
}
|
|
787
|
-
var
|
|
803
|
+
var et = function() {
|
|
788
804
|
function e(t) {
|
|
789
805
|
t && (this._subscribe = t);
|
|
790
806
|
}
|
|
@@ -792,7 +808,7 @@ var qe = function() {
|
|
|
792
808
|
var r = new e();
|
|
793
809
|
return r.source = this, r.operator = t, r;
|
|
794
810
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
795
|
-
var i = this, o =
|
|
811
|
+
var i = this, o = Dr(t) ? t : new Le(t, r, n);
|
|
796
812
|
return ae(function() {
|
|
797
813
|
var s = i, a = s.operator, h = s.source;
|
|
798
814
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -805,8 +821,8 @@ var qe = function() {
|
|
|
805
821
|
}
|
|
806
822
|
}, e.prototype.forEach = function(t, r) {
|
|
807
823
|
var n = this;
|
|
808
|
-
return r =
|
|
809
|
-
var s = new
|
|
824
|
+
return r = tt(r), new r(function(i, o) {
|
|
825
|
+
var s = new Le({
|
|
810
826
|
next: function(a) {
|
|
811
827
|
try {
|
|
812
828
|
t(a);
|
|
@@ -822,15 +838,15 @@ var qe = function() {
|
|
|
822
838
|
}, e.prototype._subscribe = function(t) {
|
|
823
839
|
var r;
|
|
824
840
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
825
|
-
}, e.prototype[
|
|
841
|
+
}, e.prototype[Mr] = function() {
|
|
826
842
|
return this;
|
|
827
843
|
}, e.prototype.pipe = function() {
|
|
828
844
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
829
845
|
t[r] = arguments[r];
|
|
830
|
-
return
|
|
846
|
+
return Rr(t)(this);
|
|
831
847
|
}, e.prototype.toPromise = function(t) {
|
|
832
848
|
var r = this;
|
|
833
|
-
return t =
|
|
849
|
+
return t = tt(t), new t(function(n, i) {
|
|
834
850
|
var o;
|
|
835
851
|
r.subscribe(function(s) {
|
|
836
852
|
return o = s;
|
|
@@ -844,32 +860,32 @@ var qe = function() {
|
|
|
844
860
|
return new e(t);
|
|
845
861
|
}, e;
|
|
846
862
|
}();
|
|
847
|
-
function
|
|
863
|
+
function tt(e) {
|
|
848
864
|
var t;
|
|
849
|
-
return (t = e ??
|
|
865
|
+
return (t = e ?? Ot.Promise) !== null && t !== void 0 ? t : Promise;
|
|
850
866
|
}
|
|
851
|
-
function
|
|
867
|
+
function Ur(e) {
|
|
852
868
|
return e && H(e.next) && H(e.error) && H(e.complete);
|
|
853
869
|
}
|
|
854
|
-
function
|
|
855
|
-
return e && e instanceof
|
|
870
|
+
function Dr(e) {
|
|
871
|
+
return e && e instanceof It || Ur(e) && Pt(e);
|
|
856
872
|
}
|
|
857
|
-
var
|
|
873
|
+
var Gr = Bt(function(e) {
|
|
858
874
|
return function() {
|
|
859
875
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
860
876
|
};
|
|
861
|
-
}),
|
|
877
|
+
}), Lt = function(e) {
|
|
862
878
|
B(t, e);
|
|
863
879
|
function t() {
|
|
864
880
|
var r = e.call(this) || this;
|
|
865
881
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
866
882
|
}
|
|
867
883
|
return t.prototype.lift = function(r) {
|
|
868
|
-
var n = new
|
|
884
|
+
var n = new rt(this, this);
|
|
869
885
|
return n.operator = r, n;
|
|
870
886
|
}, t.prototype._throwIfClosed = function() {
|
|
871
887
|
if (this.closed)
|
|
872
|
-
throw new
|
|
888
|
+
throw new Gr();
|
|
873
889
|
}, t.prototype.next = function(r) {
|
|
874
890
|
var n = this;
|
|
875
891
|
ae(function() {
|
|
@@ -877,7 +893,7 @@ var Rr = wt(function(e) {
|
|
|
877
893
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
878
894
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
879
895
|
try {
|
|
880
|
-
for (var s =
|
|
896
|
+
for (var s = Pe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
881
897
|
var h = a.value;
|
|
882
898
|
h.next(r);
|
|
883
899
|
}
|
|
@@ -926,19 +942,19 @@ var Rr = wt(function(e) {
|
|
|
926
942
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
927
943
|
}, t.prototype._innerSubscribe = function(r) {
|
|
928
944
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
929
|
-
return o || s ?
|
|
930
|
-
n.currentObservers = null,
|
|
945
|
+
return o || s ? At : (this.currentObservers = null, a.push(r), new ce(function() {
|
|
946
|
+
n.currentObservers = null, Ie(a, r);
|
|
931
947
|
}));
|
|
932
948
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
933
949
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
934
950
|
i ? r.error(o) : s && r.complete();
|
|
935
951
|
}, t.prototype.asObservable = function() {
|
|
936
|
-
var r = new
|
|
952
|
+
var r = new et();
|
|
937
953
|
return r.source = this, r;
|
|
938
954
|
}, t.create = function(r, n) {
|
|
939
|
-
return new
|
|
955
|
+
return new rt(r, n);
|
|
940
956
|
}, t;
|
|
941
|
-
}(
|
|
957
|
+
}(et), rt = function(e) {
|
|
942
958
|
B(t, e);
|
|
943
959
|
function t(r, n) {
|
|
944
960
|
var i = e.call(this) || this;
|
|
@@ -955,17 +971,17 @@ var Rr = wt(function(e) {
|
|
|
955
971
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
956
972
|
}, t.prototype._subscribe = function(r) {
|
|
957
973
|
var n, i;
|
|
958
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
974
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : At;
|
|
959
975
|
}, t;
|
|
960
|
-
}(
|
|
976
|
+
}(Lt), Nt = {
|
|
961
977
|
now: function() {
|
|
962
|
-
return (
|
|
978
|
+
return (Nt.delegate || Date).now();
|
|
963
979
|
},
|
|
964
980
|
delegate: void 0
|
|
965
|
-
},
|
|
981
|
+
}, Fr = function(e) {
|
|
966
982
|
B(t, e);
|
|
967
983
|
function t(r, n, i) {
|
|
968
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
984
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nt);
|
|
969
985
|
var o = e.call(this) || this;
|
|
970
986
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
971
987
|
}
|
|
@@ -985,24 +1001,24 @@ var Rr = wt(function(e) {
|
|
|
985
1001
|
u && o.splice(0, u + 1);
|
|
986
1002
|
}
|
|
987
1003
|
}, t;
|
|
988
|
-
}(
|
|
989
|
-
const
|
|
990
|
-
if (
|
|
991
|
-
const r = new
|
|
992
|
-
|
|
1004
|
+
}(Lt);
|
|
1005
|
+
const nt = [], it = {}, jr = (e, t = 0) => {
|
|
1006
|
+
if (nt.indexOf(e) == -1) {
|
|
1007
|
+
const r = new Fr(t);
|
|
1008
|
+
it[e] = r, nt.push(e);
|
|
993
1009
|
}
|
|
994
|
-
return
|
|
1010
|
+
return it[e];
|
|
995
1011
|
}, $ = [];
|
|
996
|
-
function
|
|
1012
|
+
function kr(e, t) {
|
|
997
1013
|
return {
|
|
998
|
-
subscribe:
|
|
1014
|
+
subscribe: pe(e, t).subscribe
|
|
999
1015
|
};
|
|
1000
1016
|
}
|
|
1001
|
-
function
|
|
1017
|
+
function pe(e, t = S) {
|
|
1002
1018
|
let r;
|
|
1003
1019
|
const n = /* @__PURE__ */ new Set();
|
|
1004
1020
|
function i(a) {
|
|
1005
|
-
if (
|
|
1021
|
+
if (Tt(e, a) && (e = a, r)) {
|
|
1006
1022
|
const h = !$.length;
|
|
1007
1023
|
for (const u of n)
|
|
1008
1024
|
u[1](), $.push(u, e);
|
|
@@ -1029,7 +1045,7 @@ function X(e, t, r) {
|
|
|
1029
1045
|
if (!i.every(Boolean))
|
|
1030
1046
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1031
1047
|
const o = t.length < 2;
|
|
1032
|
-
return
|
|
1048
|
+
return kr(r, (s, a) => {
|
|
1033
1049
|
let h = !1;
|
|
1034
1050
|
const u = [];
|
|
1035
1051
|
let l = 0, f = S;
|
|
@@ -1037,88 +1053,88 @@ function X(e, t, r) {
|
|
|
1037
1053
|
if (l)
|
|
1038
1054
|
return;
|
|
1039
1055
|
f();
|
|
1040
|
-
const
|
|
1041
|
-
o ? s(
|
|
1042
|
-
},
|
|
1043
|
-
(
|
|
1044
|
-
|
|
1056
|
+
const d = t(n ? u[0] : u, s, a);
|
|
1057
|
+
o ? s(d) : f = Fe(d) ? d : S;
|
|
1058
|
+
}, p = i.map(
|
|
1059
|
+
(d, v) => ir(
|
|
1060
|
+
d,
|
|
1045
1061
|
(x) => {
|
|
1046
|
-
u[
|
|
1062
|
+
u[v] = x, l &= ~(1 << v), h && c();
|
|
1047
1063
|
},
|
|
1048
1064
|
() => {
|
|
1049
|
-
l |= 1 <<
|
|
1065
|
+
l |= 1 << v;
|
|
1050
1066
|
}
|
|
1051
1067
|
)
|
|
1052
1068
|
);
|
|
1053
1069
|
return h = !0, c(), function() {
|
|
1054
|
-
K(
|
|
1070
|
+
K(p), f(), h = !1;
|
|
1055
1071
|
};
|
|
1056
1072
|
});
|
|
1057
1073
|
}
|
|
1058
|
-
function
|
|
1059
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1074
|
+
function Vr(e) {
|
|
1075
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1060
1076
|
}
|
|
1061
|
-
var
|
|
1062
|
-
return
|
|
1077
|
+
var Xr = function(t) {
|
|
1078
|
+
return zr(t) && !Wr(t);
|
|
1063
1079
|
};
|
|
1064
|
-
function
|
|
1080
|
+
function zr(e) {
|
|
1065
1081
|
return !!e && typeof e == "object";
|
|
1066
1082
|
}
|
|
1067
|
-
function
|
|
1083
|
+
function Wr(e) {
|
|
1068
1084
|
var t = Object.prototype.toString.call(e);
|
|
1069
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1085
|
+
return t === "[object RegExp]" || t === "[object Date]" || Jr(e);
|
|
1070
1086
|
}
|
|
1071
|
-
var
|
|
1072
|
-
function
|
|
1073
|
-
return e.$$typeof ===
|
|
1087
|
+
var Zr = typeof Symbol == "function" && Symbol.for, Qr = Zr ? Symbol.for("react.element") : 60103;
|
|
1088
|
+
function Jr(e) {
|
|
1089
|
+
return e.$$typeof === Qr;
|
|
1074
1090
|
}
|
|
1075
|
-
function
|
|
1091
|
+
function Yr(e) {
|
|
1076
1092
|
return Array.isArray(e) ? [] : {};
|
|
1077
1093
|
}
|
|
1078
1094
|
function Y(e, t) {
|
|
1079
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? G(
|
|
1095
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? G(Yr(e), e, t) : e;
|
|
1080
1096
|
}
|
|
1081
|
-
function
|
|
1097
|
+
function qr(e, t, r) {
|
|
1082
1098
|
return e.concat(t).map(function(n) {
|
|
1083
1099
|
return Y(n, r);
|
|
1084
1100
|
});
|
|
1085
1101
|
}
|
|
1086
|
-
function
|
|
1102
|
+
function Kr(e, t) {
|
|
1087
1103
|
if (!t.customMerge)
|
|
1088
1104
|
return G;
|
|
1089
1105
|
var r = t.customMerge(e);
|
|
1090
1106
|
return typeof r == "function" ? r : G;
|
|
1091
1107
|
}
|
|
1092
|
-
function
|
|
1108
|
+
function en(e) {
|
|
1093
1109
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1094
1110
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1095
1111
|
}) : [];
|
|
1096
1112
|
}
|
|
1097
|
-
function
|
|
1098
|
-
return Object.keys(e).concat(
|
|
1113
|
+
function ot(e) {
|
|
1114
|
+
return Object.keys(e).concat(en(e));
|
|
1099
1115
|
}
|
|
1100
|
-
function
|
|
1116
|
+
function Ct(e, t) {
|
|
1101
1117
|
try {
|
|
1102
1118
|
return t in e;
|
|
1103
1119
|
} catch {
|
|
1104
1120
|
return !1;
|
|
1105
1121
|
}
|
|
1106
1122
|
}
|
|
1107
|
-
function
|
|
1108
|
-
return
|
|
1123
|
+
function tn(e, t) {
|
|
1124
|
+
return Ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1109
1125
|
}
|
|
1110
|
-
function
|
|
1126
|
+
function rn(e, t, r) {
|
|
1111
1127
|
var n = {};
|
|
1112
|
-
return r.isMergeableObject(e) &&
|
|
1128
|
+
return r.isMergeableObject(e) && ot(e).forEach(function(i) {
|
|
1113
1129
|
n[i] = Y(e[i], r);
|
|
1114
|
-
}),
|
|
1115
|
-
|
|
1130
|
+
}), ot(t).forEach(function(i) {
|
|
1131
|
+
tn(e, i) || (Ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = Kr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
1116
1132
|
}), n;
|
|
1117
1133
|
}
|
|
1118
1134
|
function G(e, t, r) {
|
|
1119
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1135
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || qr, r.isMergeableObject = r.isMergeableObject || Xr, r.cloneUnlessOtherwiseSpecified = Y;
|
|
1120
1136
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1121
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1137
|
+
return o ? n ? r.arrayMerge(e, t, r) : rn(e, t, r) : Y(t, r);
|
|
1122
1138
|
}
|
|
1123
1139
|
G.all = function(t, r) {
|
|
1124
1140
|
if (!Array.isArray(t))
|
|
@@ -1127,64 +1143,62 @@ G.all = function(t, r) {
|
|
|
1127
1143
|
return G(n, i, r);
|
|
1128
1144
|
}, {});
|
|
1129
1145
|
};
|
|
1130
|
-
var
|
|
1131
|
-
const
|
|
1132
|
-
function
|
|
1133
|
-
var r = t && t.cache ? t.cache :
|
|
1146
|
+
var nn = G, on = nn;
|
|
1147
|
+
const sn = /* @__PURE__ */ Vr(on);
|
|
1148
|
+
function _e(e, t) {
|
|
1149
|
+
var r = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : fn, i = t && t.strategy ? t.strategy : un;
|
|
1134
1150
|
return i(e, {
|
|
1135
1151
|
cache: r,
|
|
1136
1152
|
serializer: n
|
|
1137
1153
|
});
|
|
1138
1154
|
}
|
|
1139
|
-
function
|
|
1155
|
+
function an(e) {
|
|
1140
1156
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1141
1157
|
}
|
|
1142
|
-
function
|
|
1143
|
-
var i =
|
|
1158
|
+
function Mt(e, t, r, n) {
|
|
1159
|
+
var i = an(n) ? n : r(n), o = t.get(i);
|
|
1144
1160
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1145
1161
|
}
|
|
1146
|
-
function
|
|
1162
|
+
function $t(e, t, r) {
|
|
1147
1163
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1148
1164
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1149
1165
|
}
|
|
1150
|
-
function
|
|
1166
|
+
function ke(e, t, r, n, i) {
|
|
1151
1167
|
return r.bind(t, e, n, i);
|
|
1152
1168
|
}
|
|
1153
|
-
function
|
|
1154
|
-
var r = e.length === 1 ?
|
|
1155
|
-
return
|
|
1169
|
+
function un(e, t) {
|
|
1170
|
+
var r = e.length === 1 ? Mt : $t;
|
|
1171
|
+
return ke(e, this, r, t.cache.create(), t.serializer);
|
|
1156
1172
|
}
|
|
1157
|
-
function
|
|
1158
|
-
return
|
|
1173
|
+
function hn(e, t) {
|
|
1174
|
+
return ke(e, this, $t, t.cache.create(), t.serializer);
|
|
1159
1175
|
}
|
|
1160
|
-
function
|
|
1161
|
-
return
|
|
1176
|
+
function ln(e, t) {
|
|
1177
|
+
return ke(e, this, Mt, t.cache.create(), t.serializer);
|
|
1162
1178
|
}
|
|
1163
|
-
var
|
|
1179
|
+
var fn = function() {
|
|
1164
1180
|
return JSON.stringify(arguments);
|
|
1165
|
-
}
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
}()
|
|
1177
|
-
), ln = {
|
|
1181
|
+
};
|
|
1182
|
+
function Ve() {
|
|
1183
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1184
|
+
}
|
|
1185
|
+
Ve.prototype.get = function(e) {
|
|
1186
|
+
return this.cache[e];
|
|
1187
|
+
};
|
|
1188
|
+
Ve.prototype.set = function(e, t) {
|
|
1189
|
+
this.cache[e] = t;
|
|
1190
|
+
};
|
|
1191
|
+
var cn = {
|
|
1178
1192
|
create: function() {
|
|
1179
|
-
return new
|
|
1193
|
+
return new Ve();
|
|
1180
1194
|
}
|
|
1181
|
-
},
|
|
1182
|
-
variadic:
|
|
1183
|
-
monadic:
|
|
1184
|
-
},
|
|
1195
|
+
}, Ee = {
|
|
1196
|
+
variadic: hn,
|
|
1197
|
+
monadic: ln
|
|
1198
|
+
}, m;
|
|
1185
1199
|
(function(e) {
|
|
1186
1200
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1187
|
-
})(
|
|
1201
|
+
})(m || (m = {}));
|
|
1188
1202
|
var _;
|
|
1189
1203
|
(function(e) {
|
|
1190
1204
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
@@ -1193,41 +1207,41 @@ var F;
|
|
|
1193
1207
|
(function(e) {
|
|
1194
1208
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1195
1209
|
})(F || (F = {}));
|
|
1196
|
-
function
|
|
1210
|
+
function st(e) {
|
|
1197
1211
|
return e.type === _.literal;
|
|
1198
1212
|
}
|
|
1199
|
-
function
|
|
1213
|
+
function pn(e) {
|
|
1200
1214
|
return e.type === _.argument;
|
|
1201
1215
|
}
|
|
1202
|
-
function
|
|
1216
|
+
function Rt(e) {
|
|
1203
1217
|
return e.type === _.number;
|
|
1204
1218
|
}
|
|
1205
|
-
function
|
|
1219
|
+
function Ut(e) {
|
|
1206
1220
|
return e.type === _.date;
|
|
1207
1221
|
}
|
|
1208
|
-
function
|
|
1222
|
+
function Dt(e) {
|
|
1209
1223
|
return e.type === _.time;
|
|
1210
1224
|
}
|
|
1211
|
-
function
|
|
1225
|
+
function Gt(e) {
|
|
1212
1226
|
return e.type === _.select;
|
|
1213
1227
|
}
|
|
1214
|
-
function
|
|
1228
|
+
function Ft(e) {
|
|
1215
1229
|
return e.type === _.plural;
|
|
1216
1230
|
}
|
|
1217
|
-
function
|
|
1231
|
+
function mn(e) {
|
|
1218
1232
|
return e.type === _.pound;
|
|
1219
1233
|
}
|
|
1220
|
-
function
|
|
1234
|
+
function jt(e) {
|
|
1221
1235
|
return e.type === _.tag;
|
|
1222
1236
|
}
|
|
1223
|
-
function
|
|
1237
|
+
function kt(e) {
|
|
1224
1238
|
return !!(e && typeof e == "object" && e.type === F.number);
|
|
1225
1239
|
}
|
|
1226
1240
|
function Ne(e) {
|
|
1227
1241
|
return !!(e && typeof e == "object" && e.type === F.dateTime);
|
|
1228
1242
|
}
|
|
1229
|
-
var
|
|
1230
|
-
function
|
|
1243
|
+
var Vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[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;
|
|
1244
|
+
function bn(e) {
|
|
1231
1245
|
var t = {};
|
|
1232
1246
|
return e.replace(dn, function(r) {
|
|
1233
1247
|
var n = r.length;
|
|
@@ -1318,11 +1332,11 @@ function pn(e) {
|
|
|
1318
1332
|
return "";
|
|
1319
1333
|
}), t;
|
|
1320
1334
|
}
|
|
1321
|
-
var
|
|
1322
|
-
function
|
|
1335
|
+
var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1336
|
+
function vn(e) {
|
|
1323
1337
|
if (e.length === 0)
|
|
1324
1338
|
throw new Error("Number skeleton cannot be empty");
|
|
1325
|
-
for (var t = e.split(
|
|
1339
|
+
for (var t = e.split(gn).filter(function(c) {
|
|
1326
1340
|
return c.length > 0;
|
|
1327
1341
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1328
1342
|
var o = i[n], s = o.split("/");
|
|
@@ -1337,17 +1351,17 @@ function bn(e) {
|
|
|
1337
1351
|
}
|
|
1338
1352
|
return r;
|
|
1339
1353
|
}
|
|
1340
|
-
function
|
|
1354
|
+
function yn(e) {
|
|
1341
1355
|
return e.replace(/^(.*?)-/, "");
|
|
1342
1356
|
}
|
|
1343
|
-
var
|
|
1344
|
-
function
|
|
1357
|
+
var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Xt = /^(@+)?(\+|#+)?[rs]?$/g, _n = /(\*)(0+)|(#+)(0+)|(0+)/g, zt = /^(0+)$/;
|
|
1358
|
+
function ut(e) {
|
|
1345
1359
|
var t = {};
|
|
1346
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1360
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Xt, function(r, n, i) {
|
|
1347
1361
|
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)), "";
|
|
1348
1362
|
}), t;
|
|
1349
1363
|
}
|
|
1350
|
-
function
|
|
1364
|
+
function Wt(e) {
|
|
1351
1365
|
switch (e) {
|
|
1352
1366
|
case "sign-auto":
|
|
1353
1367
|
return {
|
|
@@ -1387,7 +1401,7 @@ function Vt(e) {
|
|
|
1387
1401
|
};
|
|
1388
1402
|
}
|
|
1389
1403
|
}
|
|
1390
|
-
function
|
|
1404
|
+
function En(e) {
|
|
1391
1405
|
var t;
|
|
1392
1406
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1393
1407
|
notation: "engineering"
|
|
@@ -1395,17 +1409,17 @@ function vn(e) {
|
|
|
1395
1409
|
notation: "scientific"
|
|
1396
1410
|
}, e = e.slice(1)), t) {
|
|
1397
1411
|
var r = e.slice(0, 2);
|
|
1398
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1412
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zt.test(e))
|
|
1399
1413
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1400
1414
|
t.minimumIntegerDigits = e.length;
|
|
1401
1415
|
}
|
|
1402
1416
|
return t;
|
|
1403
1417
|
}
|
|
1404
|
-
function
|
|
1405
|
-
var t = {}, r =
|
|
1418
|
+
function ht(e) {
|
|
1419
|
+
var t = {}, r = Wt(e);
|
|
1406
1420
|
return r || t;
|
|
1407
1421
|
}
|
|
1408
|
-
function
|
|
1422
|
+
function xn(e) {
|
|
1409
1423
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1410
1424
|
var i = n[r];
|
|
1411
1425
|
switch (i.stem) {
|
|
@@ -1429,7 +1443,7 @@ function _n(e) {
|
|
|
1429
1443
|
continue;
|
|
1430
1444
|
case "measure-unit":
|
|
1431
1445
|
case "unit":
|
|
1432
|
-
t.style = "unit", t.unit =
|
|
1446
|
+
t.style = "unit", t.unit = yn(i.options[0]);
|
|
1433
1447
|
continue;
|
|
1434
1448
|
case "compact-short":
|
|
1435
1449
|
case "K":
|
|
@@ -1441,12 +1455,12 @@ function _n(e) {
|
|
|
1441
1455
|
continue;
|
|
1442
1456
|
case "scientific":
|
|
1443
1457
|
t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1444
|
-
return g(g({}, h),
|
|
1458
|
+
return g(g({}, h), ht(u));
|
|
1445
1459
|
}, {}));
|
|
1446
1460
|
continue;
|
|
1447
1461
|
case "engineering":
|
|
1448
1462
|
t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1449
|
-
return g(g({}, h),
|
|
1463
|
+
return g(g({}, h), ht(u));
|
|
1450
1464
|
}, {}));
|
|
1451
1465
|
continue;
|
|
1452
1466
|
case "notation-simple":
|
|
@@ -1491,40 +1505,40 @@ function _n(e) {
|
|
|
1491
1505
|
case "integer-width":
|
|
1492
1506
|
if (i.options.length > 1)
|
|
1493
1507
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1494
|
-
i.options[0].replace(
|
|
1508
|
+
i.options[0].replace(_n, function(h, u, l, f, c, p) {
|
|
1495
1509
|
if (u)
|
|
1496
1510
|
t.minimumIntegerDigits = l.length;
|
|
1497
1511
|
else {
|
|
1498
1512
|
if (f && c)
|
|
1499
1513
|
throw new Error("We currently do not support maximum integer digits");
|
|
1500
|
-
if (
|
|
1514
|
+
if (p)
|
|
1501
1515
|
throw new Error("We currently do not support exact integer digits");
|
|
1502
1516
|
}
|
|
1503
1517
|
return "";
|
|
1504
1518
|
});
|
|
1505
1519
|
continue;
|
|
1506
1520
|
}
|
|
1507
|
-
if (
|
|
1521
|
+
if (zt.test(i.stem)) {
|
|
1508
1522
|
t.minimumIntegerDigits = i.stem.length;
|
|
1509
1523
|
continue;
|
|
1510
1524
|
}
|
|
1511
|
-
if (
|
|
1525
|
+
if (at.test(i.stem)) {
|
|
1512
1526
|
if (i.options.length > 1)
|
|
1513
1527
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1514
|
-
i.stem.replace(
|
|
1515
|
-
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c &&
|
|
1528
|
+
i.stem.replace(at, function(h, u, l, f, c, p) {
|
|
1529
|
+
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1516
1530
|
});
|
|
1517
1531
|
var o = i.options[0];
|
|
1518
|
-
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t),
|
|
1532
|
+
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), ut(o)));
|
|
1519
1533
|
continue;
|
|
1520
1534
|
}
|
|
1521
|
-
if (
|
|
1522
|
-
t = g(g({}, t),
|
|
1535
|
+
if (Xt.test(i.stem)) {
|
|
1536
|
+
t = g(g({}, t), ut(i.stem));
|
|
1523
1537
|
continue;
|
|
1524
1538
|
}
|
|
1525
|
-
var s =
|
|
1539
|
+
var s = Wt(i.stem);
|
|
1526
1540
|
s && (t = g(g({}, t), s));
|
|
1527
|
-
var a =
|
|
1541
|
+
var a = En(i.stem);
|
|
1528
1542
|
a && (t = g(g({}, t), a));
|
|
1529
1543
|
}
|
|
1530
1544
|
return t;
|
|
@@ -2944,13 +2958,13 @@ var oe = {
|
|
|
2944
2958
|
"h"
|
|
2945
2959
|
]
|
|
2946
2960
|
};
|
|
2947
|
-
function
|
|
2961
|
+
function Tn(e, t) {
|
|
2948
2962
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2949
2963
|
var i = e.charAt(n);
|
|
2950
2964
|
if (i === "j") {
|
|
2951
2965
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2952
2966
|
o++, n++;
|
|
2953
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2967
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Sn(t);
|
|
2954
2968
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2955
2969
|
r += h;
|
|
2956
2970
|
for (; s-- > 0; )
|
|
@@ -2960,7 +2974,7 @@ function En(e, t) {
|
|
|
2960
2974
|
}
|
|
2961
2975
|
return r;
|
|
2962
2976
|
}
|
|
2963
|
-
function
|
|
2977
|
+
function Sn(e) {
|
|
2964
2978
|
var t = e.hourCycle;
|
|
2965
2979
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2966
2980
|
e.hourCycles && // @ts-ignore
|
|
@@ -2982,20 +2996,20 @@ function xn(e) {
|
|
|
2982
2996
|
var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
|
|
2983
2997
|
return i[0];
|
|
2984
2998
|
}
|
|
2985
|
-
var
|
|
2999
|
+
var xe, wn = new RegExp("^".concat(Vt.source, "*")), Hn = new RegExp("".concat(Vt.source, "*$"));
|
|
2986
3000
|
function b(e, t) {
|
|
2987
3001
|
return { start: e, end: t };
|
|
2988
3002
|
}
|
|
2989
|
-
var
|
|
3003
|
+
var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), An = !!String.fromCodePoint, Pn = !!Object.fromEntries, On = !!String.prototype.codePointAt, In = !!String.prototype.trimStart, Ln = !!String.prototype.trimEnd, Nn = !!Number.isSafeInteger, Cn = Nn ? Number.isSafeInteger : function(e) {
|
|
2990
3004
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2991
|
-
},
|
|
3005
|
+
}, Ce = !0;
|
|
2992
3006
|
try {
|
|
2993
|
-
var
|
|
2994
|
-
|
|
3007
|
+
var Mn = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3008
|
+
Ce = ((xe = Mn.exec("a")) === null || xe === void 0 ? void 0 : xe[0]) === "a";
|
|
2995
3009
|
} catch {
|
|
2996
|
-
|
|
3010
|
+
Ce = !1;
|
|
2997
3011
|
}
|
|
2998
|
-
var
|
|
3012
|
+
var lt = Bn ? (
|
|
2999
3013
|
// Native
|
|
3000
3014
|
function(t, r, n) {
|
|
3001
3015
|
return t.startsWith(r, n);
|
|
@@ -3005,7 +3019,7 @@ var ut = wn ? (
|
|
|
3005
3019
|
function(t, r, n) {
|
|
3006
3020
|
return t.slice(n, n + r.length) === r;
|
|
3007
3021
|
}
|
|
3008
|
-
),
|
|
3022
|
+
), Me = An ? String.fromCodePoint : (
|
|
3009
3023
|
// IE11
|
|
3010
3024
|
function() {
|
|
3011
3025
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3017,9 +3031,9 @@ var ut = wn ? (
|
|
|
3017
3031
|
}
|
|
3018
3032
|
return n;
|
|
3019
3033
|
}
|
|
3020
|
-
),
|
|
3034
|
+
), ft = (
|
|
3021
3035
|
// native
|
|
3022
|
-
|
|
3036
|
+
Pn ? Object.fromEntries : (
|
|
3023
3037
|
// Ponyfill
|
|
3024
3038
|
function(t) {
|
|
3025
3039
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3029,7 +3043,7 @@ var ut = wn ? (
|
|
|
3029
3043
|
return r;
|
|
3030
3044
|
}
|
|
3031
3045
|
)
|
|
3032
|
-
),
|
|
3046
|
+
), Zt = On ? (
|
|
3033
3047
|
// Native
|
|
3034
3048
|
function(t, r) {
|
|
3035
3049
|
return t.codePointAt(r);
|
|
@@ -3043,7 +3057,7 @@ var ut = wn ? (
|
|
|
3043
3057
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3044
3058
|
}
|
|
3045
3059
|
}
|
|
3046
|
-
),
|
|
3060
|
+
), $n = In ? (
|
|
3047
3061
|
// Native
|
|
3048
3062
|
function(t) {
|
|
3049
3063
|
return t.trimStart();
|
|
@@ -3051,9 +3065,9 @@ var ut = wn ? (
|
|
|
3051
3065
|
) : (
|
|
3052
3066
|
// Ponyfill
|
|
3053
3067
|
function(t) {
|
|
3054
|
-
return t.replace(
|
|
3068
|
+
return t.replace(wn, "");
|
|
3055
3069
|
}
|
|
3056
|
-
),
|
|
3070
|
+
), Rn = Ln ? (
|
|
3057
3071
|
// Native
|
|
3058
3072
|
function(t) {
|
|
3059
3073
|
return t.trimEnd();
|
|
@@ -3061,32 +3075,32 @@ var ut = wn ? (
|
|
|
3061
3075
|
) : (
|
|
3062
3076
|
// Ponyfill
|
|
3063
3077
|
function(t) {
|
|
3064
|
-
return t.replace(
|
|
3078
|
+
return t.replace(Hn, "");
|
|
3065
3079
|
}
|
|
3066
3080
|
);
|
|
3067
|
-
function
|
|
3081
|
+
function Qt(e, t) {
|
|
3068
3082
|
return new RegExp(e, t);
|
|
3069
3083
|
}
|
|
3070
|
-
var
|
|
3071
|
-
if (
|
|
3072
|
-
var
|
|
3073
|
-
|
|
3084
|
+
var $e;
|
|
3085
|
+
if (Ce) {
|
|
3086
|
+
var ct = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3087
|
+
$e = function(t, r) {
|
|
3074
3088
|
var n;
|
|
3075
|
-
|
|
3076
|
-
var i =
|
|
3089
|
+
ct.lastIndex = r;
|
|
3090
|
+
var i = ct.exec(t);
|
|
3077
3091
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3078
3092
|
};
|
|
3079
3093
|
} else
|
|
3080
|
-
|
|
3094
|
+
$e = function(t, r) {
|
|
3081
3095
|
for (var n = []; ; ) {
|
|
3082
|
-
var i =
|
|
3083
|
-
if (i === void 0 ||
|
|
3096
|
+
var i = Zt(t, r);
|
|
3097
|
+
if (i === void 0 || Jt(i) || Fn(i))
|
|
3084
3098
|
break;
|
|
3085
3099
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3086
3100
|
}
|
|
3087
|
-
return
|
|
3101
|
+
return Me.apply(void 0, n);
|
|
3088
3102
|
};
|
|
3089
|
-
var
|
|
3103
|
+
var Un = (
|
|
3090
3104
|
/** @class */
|
|
3091
3105
|
function() {
|
|
3092
3106
|
function e(t, r) {
|
|
@@ -3116,8 +3130,8 @@ var $n = (
|
|
|
3116
3130
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3117
3131
|
if (n)
|
|
3118
3132
|
break;
|
|
3119
|
-
return this.error(
|
|
3120
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3133
|
+
return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
3134
|
+
} else if (o === 60 && !this.ignoreTag && Re(this.peek() || 0)) {
|
|
3121
3135
|
var s = this.parseTag(t, r);
|
|
3122
3136
|
if (s.err)
|
|
3123
3137
|
return s;
|
|
@@ -3150,10 +3164,10 @@ var $n = (
|
|
|
3150
3164
|
return o;
|
|
3151
3165
|
var s = o.val, a = this.clonePosition();
|
|
3152
3166
|
if (this.bumpIf("</")) {
|
|
3153
|
-
if (this.isEOF() ||
|
|
3154
|
-
return this.error(
|
|
3167
|
+
if (this.isEOF() || !Re(this.char()))
|
|
3168
|
+
return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
|
|
3155
3169
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3156
|
-
return i !== u ? this.error(
|
|
3170
|
+
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3157
3171
|
val: {
|
|
3158
3172
|
type: _.tag,
|
|
3159
3173
|
value: i,
|
|
@@ -3161,14 +3175,14 @@ var $n = (
|
|
|
3161
3175
|
location: b(n, this.clonePosition())
|
|
3162
3176
|
},
|
|
3163
3177
|
err: null
|
|
3164
|
-
} : this.error(
|
|
3178
|
+
} : this.error(m.INVALID_TAG, b(a, this.clonePosition())));
|
|
3165
3179
|
} else
|
|
3166
|
-
return this.error(
|
|
3180
|
+
return this.error(m.UNCLOSED_TAG, b(n, this.clonePosition()));
|
|
3167
3181
|
} else
|
|
3168
|
-
return this.error(
|
|
3182
|
+
return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
|
|
3169
3183
|
}, e.prototype.parseTagName = function() {
|
|
3170
3184
|
var t = this.offset();
|
|
3171
|
-
for (this.bump(); !this.isEOF() &&
|
|
3185
|
+
for (this.bump(); !this.isEOF() && Gn(this.char()); )
|
|
3172
3186
|
this.bump();
|
|
3173
3187
|
return this.message.slice(t, this.offset());
|
|
3174
3188
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3197,7 +3211,7 @@ var $n = (
|
|
|
3197
3211
|
};
|
|
3198
3212
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3199
3213
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3200
|
-
!
|
|
3214
|
+
!Dn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3201
3215
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3202
3216
|
if (this.isEOF() || this.char() !== 39)
|
|
3203
3217
|
return null;
|
|
@@ -3231,23 +3245,23 @@ var $n = (
|
|
|
3231
3245
|
r.push(n);
|
|
3232
3246
|
this.bump();
|
|
3233
3247
|
}
|
|
3234
|
-
return
|
|
3248
|
+
return Me.apply(void 0, r);
|
|
3235
3249
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3236
3250
|
if (this.isEOF())
|
|
3237
3251
|
return null;
|
|
3238
3252
|
var n = this.char();
|
|
3239
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3253
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Me(n));
|
|
3240
3254
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3241
3255
|
var n = this.clonePosition();
|
|
3242
3256
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3243
|
-
return this.error(
|
|
3257
|
+
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
|
|
3244
3258
|
if (this.char() === 125)
|
|
3245
|
-
return this.bump(), this.error(
|
|
3259
|
+
return this.bump(), this.error(m.EMPTY_ARGUMENT, b(n, this.clonePosition()));
|
|
3246
3260
|
var i = this.parseIdentifierIfPossible().value;
|
|
3247
3261
|
if (!i)
|
|
3248
|
-
return this.error(
|
|
3262
|
+
return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
3249
3263
|
if (this.bumpSpace(), this.isEOF())
|
|
3250
|
-
return this.error(
|
|
3264
|
+
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
|
|
3251
3265
|
switch (this.char()) {
|
|
3252
3266
|
case 125:
|
|
3253
3267
|
return this.bump(), {
|
|
@@ -3260,12 +3274,12 @@ var $n = (
|
|
|
3260
3274
|
err: null
|
|
3261
3275
|
};
|
|
3262
3276
|
case 44:
|
|
3263
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3277
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3264
3278
|
default:
|
|
3265
|
-
return this.error(
|
|
3279
|
+
return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
3266
3280
|
}
|
|
3267
3281
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3268
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3282
|
+
var t = this.clonePosition(), r = this.offset(), n = $e(this.message, r), i = r + n.length;
|
|
3269
3283
|
this.bumpTo(i);
|
|
3270
3284
|
var o = this.clonePosition(), s = b(t, o);
|
|
3271
3285
|
return { value: n, location: s };
|
|
@@ -3273,7 +3287,7 @@ var $n = (
|
|
|
3273
3287
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3274
3288
|
switch (a) {
|
|
3275
3289
|
case "":
|
|
3276
|
-
return this.error(
|
|
3290
|
+
return this.error(m.EXPECT_ARGUMENT_TYPE, b(s, h));
|
|
3277
3291
|
case "number":
|
|
3278
3292
|
case "date":
|
|
3279
3293
|
case "time": {
|
|
@@ -3284,37 +3298,37 @@ var $n = (
|
|
|
3284
3298
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3285
3299
|
if (f.err)
|
|
3286
3300
|
return f;
|
|
3287
|
-
var c =
|
|
3301
|
+
var c = Rn(f.val);
|
|
3288
3302
|
if (c.length === 0)
|
|
3289
|
-
return this.error(
|
|
3290
|
-
var
|
|
3291
|
-
u = { style: c, styleLocation:
|
|
3303
|
+
return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
3304
|
+
var p = b(l, this.clonePosition());
|
|
3305
|
+
u = { style: c, styleLocation: p };
|
|
3292
3306
|
}
|
|
3293
|
-
var
|
|
3294
|
-
if (
|
|
3295
|
-
return
|
|
3296
|
-
var
|
|
3297
|
-
if (u &&
|
|
3298
|
-
var x =
|
|
3307
|
+
var d = this.tryParseArgumentClose(i);
|
|
3308
|
+
if (d.err)
|
|
3309
|
+
return d;
|
|
3310
|
+
var v = b(i, this.clonePosition());
|
|
3311
|
+
if (u && lt(u?.style, "::", 0)) {
|
|
3312
|
+
var x = $n(u.style.slice(2));
|
|
3299
3313
|
if (a === "number") {
|
|
3300
3314
|
var f = this.parseNumberSkeletonFromString(x, u.styleLocation);
|
|
3301
3315
|
return f.err ? f : {
|
|
3302
|
-
val: { type: _.number, value: n, location:
|
|
3316
|
+
val: { type: _.number, value: n, location: v, style: f.val },
|
|
3303
3317
|
err: null
|
|
3304
3318
|
};
|
|
3305
3319
|
} else {
|
|
3306
3320
|
if (x.length === 0)
|
|
3307
|
-
return this.error(
|
|
3321
|
+
return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
|
|
3308
3322
|
var I = x;
|
|
3309
|
-
this.locale && (I =
|
|
3323
|
+
this.locale && (I = Tn(x, this.locale));
|
|
3310
3324
|
var c = {
|
|
3311
3325
|
type: F.dateTime,
|
|
3312
3326
|
pattern: I,
|
|
3313
3327
|
location: u.styleLocation,
|
|
3314
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3315
|
-
},
|
|
3328
|
+
parsedOptions: this.shouldParseSkeletons ? bn(I) : {}
|
|
3329
|
+
}, y = a === "date" ? _.date : _.time;
|
|
3316
3330
|
return {
|
|
3317
|
-
val: { type:
|
|
3331
|
+
val: { type: y, value: n, location: v, style: c },
|
|
3318
3332
|
err: null
|
|
3319
3333
|
};
|
|
3320
3334
|
}
|
|
@@ -3323,7 +3337,7 @@ var $n = (
|
|
|
3323
3337
|
val: {
|
|
3324
3338
|
type: a === "number" ? _.number : a === "date" ? _.date : _.time,
|
|
3325
3339
|
value: n,
|
|
3326
|
-
location:
|
|
3340
|
+
location: v,
|
|
3327
3341
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3328
3342
|
},
|
|
3329
3343
|
err: null
|
|
@@ -3334,50 +3348,50 @@ var $n = (
|
|
|
3334
3348
|
case "select": {
|
|
3335
3349
|
var w = this.clonePosition();
|
|
3336
3350
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3337
|
-
return this.error(
|
|
3351
|
+
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(w, g({}, w)));
|
|
3338
3352
|
this.bumpSpace();
|
|
3339
|
-
var W = this.parseIdentifierIfPossible(),
|
|
3353
|
+
var W = this.parseIdentifierIfPossible(), L = 0;
|
|
3340
3354
|
if (a !== "select" && W.value === "offset") {
|
|
3341
3355
|
if (!this.bumpIf(":"))
|
|
3342
|
-
return this.error(
|
|
3356
|
+
return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
3343
3357
|
this.bumpSpace();
|
|
3344
|
-
var f = this.tryParseDecimalInteger(
|
|
3358
|
+
var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3345
3359
|
if (f.err)
|
|
3346
3360
|
return f;
|
|
3347
|
-
this.bumpSpace(), W = this.parseIdentifierIfPossible(),
|
|
3361
|
+
this.bumpSpace(), W = this.parseIdentifierIfPossible(), L = f.val;
|
|
3348
3362
|
}
|
|
3349
3363
|
var ne = this.tryParsePluralOrSelectOptions(t, a, r, W);
|
|
3350
3364
|
if (ne.err)
|
|
3351
3365
|
return ne;
|
|
3352
|
-
var
|
|
3353
|
-
if (
|
|
3354
|
-
return
|
|
3355
|
-
var
|
|
3366
|
+
var d = this.tryParseArgumentClose(i);
|
|
3367
|
+
if (d.err)
|
|
3368
|
+
return d;
|
|
3369
|
+
var We = b(i, this.clonePosition());
|
|
3356
3370
|
return a === "select" ? {
|
|
3357
3371
|
val: {
|
|
3358
3372
|
type: _.select,
|
|
3359
3373
|
value: n,
|
|
3360
|
-
options:
|
|
3361
|
-
location:
|
|
3374
|
+
options: ft(ne.val),
|
|
3375
|
+
location: We
|
|
3362
3376
|
},
|
|
3363
3377
|
err: null
|
|
3364
3378
|
} : {
|
|
3365
3379
|
val: {
|
|
3366
3380
|
type: _.plural,
|
|
3367
3381
|
value: n,
|
|
3368
|
-
options:
|
|
3369
|
-
offset:
|
|
3382
|
+
options: ft(ne.val),
|
|
3383
|
+
offset: L,
|
|
3370
3384
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3371
|
-
location:
|
|
3385
|
+
location: We
|
|
3372
3386
|
},
|
|
3373
3387
|
err: null
|
|
3374
3388
|
};
|
|
3375
3389
|
}
|
|
3376
3390
|
default:
|
|
3377
|
-
return this.error(
|
|
3391
|
+
return this.error(m.INVALID_ARGUMENT_TYPE, b(s, h));
|
|
3378
3392
|
}
|
|
3379
3393
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3380
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3394
|
+
return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3381
3395
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3382
3396
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3383
3397
|
var n = this.char();
|
|
@@ -3386,7 +3400,7 @@ var $n = (
|
|
|
3386
3400
|
this.bump();
|
|
3387
3401
|
var i = this.clonePosition();
|
|
3388
3402
|
if (!this.bumpUntil("'"))
|
|
3389
|
-
return this.error(
|
|
3403
|
+
return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
|
|
3390
3404
|
this.bump();
|
|
3391
3405
|
break;
|
|
3392
3406
|
}
|
|
@@ -3416,16 +3430,16 @@ var $n = (
|
|
|
3416
3430
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3417
3431
|
var n = [];
|
|
3418
3432
|
try {
|
|
3419
|
-
n =
|
|
3433
|
+
n = vn(t);
|
|
3420
3434
|
} catch {
|
|
3421
|
-
return this.error(
|
|
3435
|
+
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
|
3422
3436
|
}
|
|
3423
3437
|
return {
|
|
3424
3438
|
val: {
|
|
3425
3439
|
type: F.number,
|
|
3426
3440
|
tokens: n,
|
|
3427
3441
|
location: r,
|
|
3428
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3442
|
+
parsedOptions: this.shouldParseSkeletons ? xn(n) : {}
|
|
3429
3443
|
},
|
|
3430
3444
|
err: null
|
|
3431
3445
|
};
|
|
@@ -3434,7 +3448,7 @@ var $n = (
|
|
|
3434
3448
|
if (u.length === 0) {
|
|
3435
3449
|
var f = this.clonePosition();
|
|
3436
3450
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3437
|
-
var c = this.tryParseDecimalInteger(
|
|
3451
|
+
var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3438
3452
|
if (c.err)
|
|
3439
3453
|
return c;
|
|
3440
3454
|
l = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
@@ -3442,26 +3456,26 @@ var $n = (
|
|
|
3442
3456
|
break;
|
|
3443
3457
|
}
|
|
3444
3458
|
if (h.has(u))
|
|
3445
|
-
return this.error(r === "select" ?
|
|
3459
|
+
return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3446
3460
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3447
|
-
var
|
|
3461
|
+
var p = this.clonePosition();
|
|
3448
3462
|
if (!this.bumpIf("{"))
|
|
3449
|
-
return this.error(r === "select" ?
|
|
3450
|
-
var
|
|
3451
|
-
if (
|
|
3452
|
-
return
|
|
3453
|
-
var
|
|
3454
|
-
if (
|
|
3455
|
-
return
|
|
3463
|
+
return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
|
3464
|
+
var d = this.parseMessage(t + 1, r, n);
|
|
3465
|
+
if (d.err)
|
|
3466
|
+
return d;
|
|
3467
|
+
var v = this.tryParseArgumentClose(p);
|
|
3468
|
+
if (v.err)
|
|
3469
|
+
return v;
|
|
3456
3470
|
a.push([
|
|
3457
3471
|
u,
|
|
3458
3472
|
{
|
|
3459
|
-
value:
|
|
3460
|
-
location: b(
|
|
3473
|
+
value: d.val,
|
|
3474
|
+
location: b(p, this.clonePosition())
|
|
3461
3475
|
}
|
|
3462
3476
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3463
3477
|
}
|
|
3464
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3478
|
+
return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(m.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3465
3479
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3466
3480
|
var n = 1, i = this.clonePosition();
|
|
3467
3481
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3473,7 +3487,7 @@ var $n = (
|
|
|
3473
3487
|
break;
|
|
3474
3488
|
}
|
|
3475
3489
|
var h = b(i, this.clonePosition());
|
|
3476
|
-
return o ? (s *= n,
|
|
3490
|
+
return o ? (s *= n, Cn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3477
3491
|
}, e.prototype.offset = function() {
|
|
3478
3492
|
return this.position.offset;
|
|
3479
3493
|
}, e.prototype.isEOF = function() {
|
|
@@ -3488,7 +3502,7 @@ var $n = (
|
|
|
3488
3502
|
var t = this.position.offset;
|
|
3489
3503
|
if (t >= this.message.length)
|
|
3490
3504
|
throw Error("out of bound");
|
|
3491
|
-
var r =
|
|
3505
|
+
var r = Zt(this.message, t);
|
|
3492
3506
|
if (r === void 0)
|
|
3493
3507
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3494
3508
|
return r;
|
|
@@ -3507,7 +3521,7 @@ var $n = (
|
|
|
3507
3521
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3508
3522
|
}
|
|
3509
3523
|
}, e.prototype.bumpIf = function(t) {
|
|
3510
|
-
if (
|
|
3524
|
+
if (lt(this.message, t, this.offset())) {
|
|
3511
3525
|
for (var r = 0; r < t.length; r++)
|
|
3512
3526
|
this.bump();
|
|
3513
3527
|
return !0;
|
|
@@ -3529,7 +3543,7 @@ var $n = (
|
|
|
3529
3543
|
break;
|
|
3530
3544
|
}
|
|
3531
3545
|
}, e.prototype.bumpSpace = function() {
|
|
3532
|
-
for (; !this.isEOF() &&
|
|
3546
|
+
for (; !this.isEOF() && Jt(this.char()); )
|
|
3533
3547
|
this.bump();
|
|
3534
3548
|
}, e.prototype.peek = function() {
|
|
3535
3549
|
if (this.isEOF())
|
|
@@ -3539,44 +3553,44 @@ var $n = (
|
|
|
3539
3553
|
}, e;
|
|
3540
3554
|
}()
|
|
3541
3555
|
);
|
|
3542
|
-
function
|
|
3556
|
+
function Re(e) {
|
|
3543
3557
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3544
3558
|
}
|
|
3545
|
-
function
|
|
3546
|
-
return
|
|
3559
|
+
function Dn(e) {
|
|
3560
|
+
return Re(e) || e === 47;
|
|
3547
3561
|
}
|
|
3548
|
-
function
|
|
3562
|
+
function Gn(e) {
|
|
3549
3563
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3550
3564
|
}
|
|
3551
|
-
function
|
|
3565
|
+
function Jt(e) {
|
|
3552
3566
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3553
3567
|
}
|
|
3554
|
-
function
|
|
3568
|
+
function Fn(e) {
|
|
3555
3569
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3556
3570
|
}
|
|
3557
|
-
function
|
|
3571
|
+
function Ue(e) {
|
|
3558
3572
|
e.forEach(function(t) {
|
|
3559
|
-
if (delete t.location,
|
|
3573
|
+
if (delete t.location, Gt(t) || Ft(t))
|
|
3560
3574
|
for (var r in t.options)
|
|
3561
|
-
delete t.options[r].location,
|
|
3575
|
+
delete t.options[r].location, Ue(t.options[r].value);
|
|
3562
3576
|
else
|
|
3563
|
-
|
|
3577
|
+
Rt(t) && kt(t.style) || (Ut(t) || Dt(t)) && Ne(t.style) ? delete t.style.location : jt(t) && Ue(t.children);
|
|
3564
3578
|
});
|
|
3565
3579
|
}
|
|
3566
|
-
function
|
|
3580
|
+
function jn(e, t) {
|
|
3567
3581
|
t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3568
|
-
var r = new
|
|
3582
|
+
var r = new Un(e, t).parse();
|
|
3569
3583
|
if (r.err) {
|
|
3570
|
-
var n = SyntaxError(
|
|
3584
|
+
var n = SyntaxError(m[r.err.kind]);
|
|
3571
3585
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3572
3586
|
}
|
|
3573
|
-
return t?.captureLocation ||
|
|
3587
|
+
return t?.captureLocation || Ue(r.val), r.val;
|
|
3574
3588
|
}
|
|
3575
3589
|
var j;
|
|
3576
3590
|
(function(e) {
|
|
3577
3591
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3578
3592
|
})(j || (j = {}));
|
|
3579
|
-
var
|
|
3593
|
+
var me = (
|
|
3580
3594
|
/** @class */
|
|
3581
3595
|
function(e) {
|
|
3582
3596
|
B(t, e);
|
|
@@ -3588,7 +3602,7 @@ var pe = (
|
|
|
3588
3602
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3589
3603
|
}, t;
|
|
3590
3604
|
}(Error)
|
|
3591
|
-
),
|
|
3605
|
+
), pt = (
|
|
3592
3606
|
/** @class */
|
|
3593
3607
|
function(e) {
|
|
3594
3608
|
B(t, e);
|
|
@@ -3596,8 +3610,8 @@ var pe = (
|
|
|
3596
3610
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
|
|
3597
3611
|
}
|
|
3598
3612
|
return t;
|
|
3599
|
-
}(
|
|
3600
|
-
),
|
|
3613
|
+
}(me)
|
|
3614
|
+
), kn = (
|
|
3601
3615
|
/** @class */
|
|
3602
3616
|
function(e) {
|
|
3603
3617
|
B(t, e);
|
|
@@ -3605,8 +3619,8 @@ var pe = (
|
|
|
3605
3619
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
|
|
3606
3620
|
}
|
|
3607
3621
|
return t;
|
|
3608
|
-
}(
|
|
3609
|
-
),
|
|
3622
|
+
}(me)
|
|
3623
|
+
), Vn = (
|
|
3610
3624
|
/** @class */
|
|
3611
3625
|
function(e) {
|
|
3612
3626
|
B(t, e);
|
|
@@ -3614,22 +3628,22 @@ var pe = (
|
|
|
3614
3628
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
|
|
3615
3629
|
}
|
|
3616
3630
|
return t;
|
|
3617
|
-
}(
|
|
3631
|
+
}(me)
|
|
3618
3632
|
), E;
|
|
3619
3633
|
(function(e) {
|
|
3620
3634
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3621
3635
|
})(E || (E = {}));
|
|
3622
|
-
function
|
|
3636
|
+
function Xn(e) {
|
|
3623
3637
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3624
3638
|
var n = t[t.length - 1];
|
|
3625
3639
|
return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
|
|
3626
3640
|
}, []);
|
|
3627
3641
|
}
|
|
3628
|
-
function
|
|
3642
|
+
function zn(e) {
|
|
3629
3643
|
return typeof e == "function";
|
|
3630
3644
|
}
|
|
3631
3645
|
function ue(e, t, r, n, i, o, s) {
|
|
3632
|
-
if (e.length === 1 &&
|
|
3646
|
+
if (e.length === 1 && st(e[0]))
|
|
3633
3647
|
return [
|
|
3634
3648
|
{
|
|
3635
3649
|
type: E.literal,
|
|
@@ -3638,14 +3652,14 @@ function ue(e, t, r, n, i, o, s) {
|
|
|
3638
3652
|
];
|
|
3639
3653
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3640
3654
|
var l = u[h];
|
|
3641
|
-
if (
|
|
3655
|
+
if (st(l)) {
|
|
3642
3656
|
a.push({
|
|
3643
3657
|
type: E.literal,
|
|
3644
3658
|
value: l.value
|
|
3645
3659
|
});
|
|
3646
3660
|
continue;
|
|
3647
3661
|
}
|
|
3648
|
-
if (
|
|
3662
|
+
if (mn(l)) {
|
|
3649
3663
|
typeof o == "number" && a.push({
|
|
3650
3664
|
type: E.literal,
|
|
3651
3665
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3654,89 +3668,89 @@ function ue(e, t, r, n, i, o, s) {
|
|
|
3654
3668
|
}
|
|
3655
3669
|
var f = l.value;
|
|
3656
3670
|
if (!(i && f in i))
|
|
3657
|
-
throw new
|
|
3671
|
+
throw new Vn(f, s);
|
|
3658
3672
|
var c = i[f];
|
|
3659
|
-
if (
|
|
3673
|
+
if (pn(l)) {
|
|
3660
3674
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3661
3675
|
type: typeof c == "string" ? E.literal : E.object,
|
|
3662
3676
|
value: c
|
|
3663
3677
|
});
|
|
3664
3678
|
continue;
|
|
3665
3679
|
}
|
|
3666
|
-
if (
|
|
3667
|
-
var
|
|
3680
|
+
if (Ut(l)) {
|
|
3681
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Ne(l.style) ? l.style.parsedOptions : void 0;
|
|
3668
3682
|
a.push({
|
|
3669
3683
|
type: E.literal,
|
|
3670
|
-
value: r.getDateTimeFormat(t,
|
|
3684
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3671
3685
|
});
|
|
3672
3686
|
continue;
|
|
3673
3687
|
}
|
|
3674
|
-
if (
|
|
3675
|
-
var
|
|
3688
|
+
if (Dt(l)) {
|
|
3689
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Ne(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3676
3690
|
a.push({
|
|
3677
3691
|
type: E.literal,
|
|
3678
|
-
value: r.getDateTimeFormat(t,
|
|
3692
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3679
3693
|
});
|
|
3680
3694
|
continue;
|
|
3681
3695
|
}
|
|
3682
|
-
if (
|
|
3683
|
-
var
|
|
3684
|
-
|
|
3696
|
+
if (Rt(l)) {
|
|
3697
|
+
var p = typeof l.style == "string" ? n.number[l.style] : kt(l.style) ? l.style.parsedOptions : void 0;
|
|
3698
|
+
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3685
3699
|
type: E.literal,
|
|
3686
|
-
value: r.getNumberFormat(t,
|
|
3700
|
+
value: r.getNumberFormat(t, p).format(c)
|
|
3687
3701
|
});
|
|
3688
3702
|
continue;
|
|
3689
3703
|
}
|
|
3690
|
-
if (
|
|
3691
|
-
var
|
|
3692
|
-
if (!
|
|
3693
|
-
throw new
|
|
3694
|
-
var I = ue(
|
|
3695
|
-
return
|
|
3704
|
+
if (jt(l)) {
|
|
3705
|
+
var d = l.children, v = l.value, x = i[v];
|
|
3706
|
+
if (!zn(x))
|
|
3707
|
+
throw new kn(v, "function", s);
|
|
3708
|
+
var I = ue(d, t, r, n, i, o), y = x(I.map(function(L) {
|
|
3709
|
+
return L.value;
|
|
3696
3710
|
}));
|
|
3697
|
-
Array.isArray(
|
|
3711
|
+
Array.isArray(y) || (y = [y]), a.push.apply(a, y.map(function(L) {
|
|
3698
3712
|
return {
|
|
3699
|
-
type: typeof
|
|
3700
|
-
value:
|
|
3713
|
+
type: typeof L == "string" ? E.literal : E.object,
|
|
3714
|
+
value: L
|
|
3701
3715
|
};
|
|
3702
3716
|
}));
|
|
3703
3717
|
}
|
|
3704
|
-
if (
|
|
3718
|
+
if (Gt(l)) {
|
|
3705
3719
|
var w = l.options[c] || l.options.other;
|
|
3706
3720
|
if (!w)
|
|
3707
|
-
throw new
|
|
3721
|
+
throw new pt(l.value, c, Object.keys(l.options), s);
|
|
3708
3722
|
a.push.apply(a, ue(w.value, t, r, n, i));
|
|
3709
3723
|
continue;
|
|
3710
3724
|
}
|
|
3711
|
-
if (
|
|
3725
|
+
if (Ft(l)) {
|
|
3712
3726
|
var w = l.options["=".concat(c)];
|
|
3713
3727
|
if (!w) {
|
|
3714
3728
|
if (!Intl.PluralRules)
|
|
3715
|
-
throw new
|
|
3729
|
+
throw new me(`Intl.PluralRules is not available in this environment.
|
|
3716
3730
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3717
3731
|
`, j.MISSING_INTL_API, s);
|
|
3718
3732
|
var W = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3719
3733
|
w = l.options[W] || l.options.other;
|
|
3720
3734
|
}
|
|
3721
3735
|
if (!w)
|
|
3722
|
-
throw new
|
|
3736
|
+
throw new pt(l.value, c, Object.keys(l.options), s);
|
|
3723
3737
|
a.push.apply(a, ue(w.value, t, r, n, i, c - (l.offset || 0)));
|
|
3724
3738
|
continue;
|
|
3725
3739
|
}
|
|
3726
3740
|
}
|
|
3727
|
-
return
|
|
3741
|
+
return Xn(a);
|
|
3728
3742
|
}
|
|
3729
|
-
function
|
|
3743
|
+
function Wn(e, t) {
|
|
3730
3744
|
return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3731
3745
|
return r[n] = g(g({}, e[n]), t[n] || {}), r;
|
|
3732
3746
|
}, {})) : e;
|
|
3733
3747
|
}
|
|
3734
|
-
function
|
|
3748
|
+
function Zn(e, t) {
|
|
3735
3749
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3736
|
-
return r[n] =
|
|
3750
|
+
return r[n] = Wn(e[n], t[n]), r;
|
|
3737
3751
|
}, g({}, e)) : e;
|
|
3738
3752
|
}
|
|
3739
|
-
function
|
|
3753
|
+
function Te(e) {
|
|
3740
3754
|
return {
|
|
3741
3755
|
create: function() {
|
|
3742
3756
|
return {
|
|
@@ -3750,39 +3764,39 @@ function xe(e) {
|
|
|
3750
3764
|
}
|
|
3751
3765
|
};
|
|
3752
3766
|
}
|
|
3753
|
-
function
|
|
3767
|
+
function Qn(e) {
|
|
3754
3768
|
return e === void 0 && (e = {
|
|
3755
3769
|
number: {},
|
|
3756
3770
|
dateTime: {},
|
|
3757
3771
|
pluralRules: {}
|
|
3758
3772
|
}), {
|
|
3759
|
-
getNumberFormat:
|
|
3773
|
+
getNumberFormat: _e(function() {
|
|
3760
3774
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3761
3775
|
r[n] = arguments[n];
|
|
3762
3776
|
return new ((t = Intl.NumberFormat).bind.apply(t, D([void 0], r, !1)))();
|
|
3763
3777
|
}, {
|
|
3764
|
-
cache:
|
|
3765
|
-
strategy:
|
|
3778
|
+
cache: Te(e.number),
|
|
3779
|
+
strategy: Ee.variadic
|
|
3766
3780
|
}),
|
|
3767
|
-
getDateTimeFormat:
|
|
3781
|
+
getDateTimeFormat: _e(function() {
|
|
3768
3782
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3769
3783
|
r[n] = arguments[n];
|
|
3770
3784
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, D([void 0], r, !1)))();
|
|
3771
3785
|
}, {
|
|
3772
|
-
cache:
|
|
3773
|
-
strategy:
|
|
3786
|
+
cache: Te(e.dateTime),
|
|
3787
|
+
strategy: Ee.variadic
|
|
3774
3788
|
}),
|
|
3775
|
-
getPluralRules:
|
|
3789
|
+
getPluralRules: _e(function() {
|
|
3776
3790
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3777
3791
|
r[n] = arguments[n];
|
|
3778
3792
|
return new ((t = Intl.PluralRules).bind.apply(t, D([void 0], r, !1)))();
|
|
3779
3793
|
}, {
|
|
3780
|
-
cache:
|
|
3781
|
-
strategy:
|
|
3794
|
+
cache: Te(e.pluralRules),
|
|
3795
|
+
strategy: Ee.variadic
|
|
3782
3796
|
})
|
|
3783
3797
|
};
|
|
3784
3798
|
}
|
|
3785
|
-
var
|
|
3799
|
+
var Jn = (
|
|
3786
3800
|
/** @class */
|
|
3787
3801
|
function() {
|
|
3788
3802
|
function e(t, r, n, i) {
|
|
@@ -3814,13 +3828,13 @@ var Zn = (
|
|
|
3814
3828
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3815
3829
|
var s = i || {};
|
|
3816
3830
|
s.formatters;
|
|
3817
|
-
var a =
|
|
3831
|
+
var a = Ar(s, ["formatters"]);
|
|
3818
3832
|
this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
|
|
3819
3833
|
} else
|
|
3820
3834
|
this.ast = t;
|
|
3821
3835
|
if (!Array.isArray(this.ast))
|
|
3822
3836
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3823
|
-
this.formats =
|
|
3837
|
+
this.formats = Zn(e.formats, n), this.formatters = i && i.formatters || Qn(this.formatterCache);
|
|
3824
3838
|
}
|
|
3825
3839
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3826
3840
|
get: function() {
|
|
@@ -3833,7 +3847,7 @@ var Zn = (
|
|
|
3833
3847
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3834
3848
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3835
3849
|
}
|
|
3836
|
-
}, e.__parse =
|
|
3850
|
+
}, e.__parse = jn, e.formats = {
|
|
3837
3851
|
number: {
|
|
3838
3852
|
integer: {
|
|
3839
3853
|
maximumFractionDigits: 0
|
|
@@ -3894,7 +3908,7 @@ var Zn = (
|
|
|
3894
3908
|
}, e;
|
|
3895
3909
|
}()
|
|
3896
3910
|
);
|
|
3897
|
-
function
|
|
3911
|
+
function Yn(e, t) {
|
|
3898
3912
|
if (t == null)
|
|
3899
3913
|
return;
|
|
3900
3914
|
if (t in e)
|
|
@@ -3915,92 +3929,92 @@ function Qn(e, t) {
|
|
|
3915
3929
|
n = void 0;
|
|
3916
3930
|
return n;
|
|
3917
3931
|
}
|
|
3918
|
-
const P = {},
|
|
3932
|
+
const P = {}, qn = (e, t, r) => r && (t in P || (P[t] = {}), e in P[t] || (P[t][e] = r), r), Yt = (e, t) => {
|
|
3919
3933
|
if (t == null)
|
|
3920
3934
|
return;
|
|
3921
3935
|
if (t in P && e in P[t])
|
|
3922
3936
|
return P[t][e];
|
|
3923
|
-
const r =
|
|
3937
|
+
const r = de(t);
|
|
3924
3938
|
for (let n = 0; n < r.length; n++) {
|
|
3925
|
-
const i = r[n], o =
|
|
3939
|
+
const i = r[n], o = ei(i, e);
|
|
3926
3940
|
if (o)
|
|
3927
|
-
return
|
|
3941
|
+
return qn(e, t, o);
|
|
3928
3942
|
}
|
|
3929
3943
|
};
|
|
3930
|
-
let
|
|
3931
|
-
const te =
|
|
3932
|
-
function
|
|
3933
|
-
return
|
|
3944
|
+
let Xe;
|
|
3945
|
+
const te = pe({});
|
|
3946
|
+
function Kn(e) {
|
|
3947
|
+
return Xe[e] || null;
|
|
3934
3948
|
}
|
|
3935
|
-
function
|
|
3936
|
-
return e in
|
|
3949
|
+
function qt(e) {
|
|
3950
|
+
return e in Xe;
|
|
3937
3951
|
}
|
|
3938
|
-
function
|
|
3939
|
-
if (!
|
|
3952
|
+
function ei(e, t) {
|
|
3953
|
+
if (!qt(e))
|
|
3940
3954
|
return null;
|
|
3941
|
-
const r =
|
|
3942
|
-
return
|
|
3955
|
+
const r = Kn(e);
|
|
3956
|
+
return Yn(r, t);
|
|
3943
3957
|
}
|
|
3944
|
-
function
|
|
3958
|
+
function ti(e) {
|
|
3945
3959
|
if (e == null)
|
|
3946
3960
|
return;
|
|
3947
|
-
const t =
|
|
3961
|
+
const t = de(e);
|
|
3948
3962
|
for (let r = 0; r < t.length; r++) {
|
|
3949
3963
|
const n = t[r];
|
|
3950
|
-
if (
|
|
3964
|
+
if (qt(n))
|
|
3951
3965
|
return n;
|
|
3952
3966
|
}
|
|
3953
3967
|
}
|
|
3954
|
-
function
|
|
3955
|
-
delete P[e], te.update((r) => (r[e] =
|
|
3968
|
+
function ri(e, ...t) {
|
|
3969
|
+
delete P[e], te.update((r) => (r[e] = sn.all([r[e] || {}, ...t]), r));
|
|
3956
3970
|
}
|
|
3957
3971
|
X(
|
|
3958
3972
|
[te],
|
|
3959
3973
|
([e]) => Object.keys(e)
|
|
3960
3974
|
);
|
|
3961
|
-
te.subscribe((e) =>
|
|
3975
|
+
te.subscribe((e) => Xe = e);
|
|
3962
3976
|
const he = {};
|
|
3963
|
-
function
|
|
3977
|
+
function ni(e, t) {
|
|
3964
3978
|
he[e].delete(t), he[e].size === 0 && delete he[e];
|
|
3965
3979
|
}
|
|
3966
|
-
function
|
|
3980
|
+
function Kt(e) {
|
|
3967
3981
|
return he[e];
|
|
3968
3982
|
}
|
|
3969
|
-
function
|
|
3970
|
-
return
|
|
3971
|
-
const r =
|
|
3983
|
+
function ii(e) {
|
|
3984
|
+
return de(e).map((t) => {
|
|
3985
|
+
const r = Kt(t);
|
|
3972
3986
|
return [t, r ? [...r] : []];
|
|
3973
3987
|
}).filter(([, t]) => t.length > 0);
|
|
3974
3988
|
}
|
|
3975
|
-
function
|
|
3976
|
-
return e == null ? !1 :
|
|
3989
|
+
function De(e) {
|
|
3990
|
+
return e == null ? !1 : de(e).some(
|
|
3977
3991
|
(t) => {
|
|
3978
3992
|
var r;
|
|
3979
|
-
return (r =
|
|
3993
|
+
return (r = Kt(t)) == null ? void 0 : r.size;
|
|
3980
3994
|
}
|
|
3981
3995
|
);
|
|
3982
3996
|
}
|
|
3983
|
-
function
|
|
3997
|
+
function oi(e, t) {
|
|
3984
3998
|
return Promise.all(
|
|
3985
|
-
t.map((n) => (
|
|
3986
|
-
).then((n) =>
|
|
3999
|
+
t.map((n) => (ni(e, n), n().then((i) => i.default || i)))
|
|
4000
|
+
).then((n) => ri(e, ...n));
|
|
3987
4001
|
}
|
|
3988
4002
|
const Z = {};
|
|
3989
|
-
function
|
|
3990
|
-
if (!
|
|
4003
|
+
function er(e) {
|
|
4004
|
+
if (!De(e))
|
|
3991
4005
|
return e in Z ? Z[e] : Promise.resolve();
|
|
3992
|
-
const t =
|
|
4006
|
+
const t = ii(e);
|
|
3993
4007
|
return Z[e] = Promise.all(
|
|
3994
4008
|
t.map(
|
|
3995
|
-
([r, n]) =>
|
|
4009
|
+
([r, n]) => oi(r, n)
|
|
3996
4010
|
)
|
|
3997
4011
|
).then(() => {
|
|
3998
|
-
if (
|
|
3999
|
-
return
|
|
4012
|
+
if (De(e))
|
|
4013
|
+
return er(e);
|
|
4000
4014
|
delete Z[e];
|
|
4001
4015
|
}), Z[e];
|
|
4002
4016
|
}
|
|
4003
|
-
const
|
|
4017
|
+
const si = {
|
|
4004
4018
|
number: {
|
|
4005
4019
|
scientific: { notation: "scientific" },
|
|
4006
4020
|
engineering: { notation: "engineering" },
|
|
@@ -4029,57 +4043,57 @@ const ii = {
|
|
|
4029
4043
|
timeZoneName: "short"
|
|
4030
4044
|
}
|
|
4031
4045
|
}
|
|
4032
|
-
},
|
|
4046
|
+
}, ai = {
|
|
4033
4047
|
fallbackLocale: null,
|
|
4034
4048
|
loadingDelay: 200,
|
|
4035
|
-
formats:
|
|
4049
|
+
formats: si,
|
|
4036
4050
|
warnOnMissingMessages: !0,
|
|
4037
4051
|
handleMissingMessage: void 0,
|
|
4038
4052
|
ignoreTag: !0
|
|
4039
|
-
},
|
|
4053
|
+
}, ui = ai;
|
|
4040
4054
|
function k() {
|
|
4041
|
-
return
|
|
4042
|
-
}
|
|
4043
|
-
const
|
|
4044
|
-
var
|
|
4045
|
-
for (var r in t)
|
|
4046
|
-
|
|
4047
|
-
if (
|
|
4048
|
-
for (var r of
|
|
4049
|
-
|
|
4055
|
+
return ui;
|
|
4056
|
+
}
|
|
4057
|
+
const Se = pe(!1);
|
|
4058
|
+
var hi = Object.defineProperty, li = Object.defineProperties, fi = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, ci = Object.prototype.hasOwnProperty, pi = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mi = (e, t) => {
|
|
4059
|
+
for (var r in t || (t = {}))
|
|
4060
|
+
ci.call(t, r) && dt(e, r, t[r]);
|
|
4061
|
+
if (mt)
|
|
4062
|
+
for (var r of mt(t))
|
|
4063
|
+
pi.call(t, r) && dt(e, r, t[r]);
|
|
4050
4064
|
return e;
|
|
4051
|
-
}, di = (e, t) =>
|
|
4052
|
-
let
|
|
4053
|
-
const le =
|
|
4054
|
-
function
|
|
4065
|
+
}, di = (e, t) => li(e, fi(t));
|
|
4066
|
+
let Ge;
|
|
4067
|
+
const le = pe(null);
|
|
4068
|
+
function bt(e) {
|
|
4055
4069
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4056
4070
|
}
|
|
4057
|
-
function
|
|
4058
|
-
const r =
|
|
4059
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4071
|
+
function de(e, t = k().fallbackLocale) {
|
|
4072
|
+
const r = bt(e);
|
|
4073
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
|
|
4060
4074
|
}
|
|
4061
4075
|
function C() {
|
|
4062
|
-
return
|
|
4076
|
+
return Ge ?? void 0;
|
|
4063
4077
|
}
|
|
4064
4078
|
le.subscribe((e) => {
|
|
4065
|
-
|
|
4079
|
+
Ge = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4066
4080
|
});
|
|
4067
|
-
const
|
|
4068
|
-
if (e &&
|
|
4081
|
+
const bi = (e) => {
|
|
4082
|
+
if (e && ti(e) && De(e)) {
|
|
4069
4083
|
const { loadingDelay: t } = k();
|
|
4070
4084
|
let r;
|
|
4071
4085
|
return typeof window < "u" && C() != null && t ? r = window.setTimeout(
|
|
4072
|
-
() =>
|
|
4086
|
+
() => Se.set(!0),
|
|
4073
4087
|
t
|
|
4074
|
-
) :
|
|
4088
|
+
) : Se.set(!0), er(e).then(() => {
|
|
4075
4089
|
le.set(e);
|
|
4076
4090
|
}).finally(() => {
|
|
4077
|
-
clearTimeout(r),
|
|
4091
|
+
clearTimeout(r), Se.set(!1);
|
|
4078
4092
|
});
|
|
4079
4093
|
}
|
|
4080
4094
|
return le.set(e);
|
|
4081
|
-
}, re = di(
|
|
4082
|
-
set:
|
|
4095
|
+
}, re = di(mi({}, le), {
|
|
4096
|
+
set: bi
|
|
4083
4097
|
}), be = (e) => {
|
|
4084
4098
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4085
4099
|
return (n) => {
|
|
@@ -4087,20 +4101,20 @@ const pi = (e) => {
|
|
|
4087
4101
|
return i in t ? t[i] : t[i] = e(n);
|
|
4088
4102
|
};
|
|
4089
4103
|
};
|
|
4090
|
-
var
|
|
4104
|
+
var gi = Object.defineProperty, fe = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
|
|
4091
4105
|
for (var r in t || (t = {}))
|
|
4092
|
-
|
|
4106
|
+
tr.call(t, r) && gt(e, r, t[r]);
|
|
4093
4107
|
if (fe)
|
|
4094
4108
|
for (var r of fe(t))
|
|
4095
|
-
|
|
4109
|
+
rr.call(t, r) && gt(e, r, t[r]);
|
|
4096
4110
|
return e;
|
|
4097
4111
|
}, z = (e, t) => {
|
|
4098
4112
|
var r = {};
|
|
4099
4113
|
for (var n in e)
|
|
4100
|
-
|
|
4114
|
+
tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4101
4115
|
if (e != null && fe)
|
|
4102
4116
|
for (var n of fe(e))
|
|
4103
|
-
t.indexOf(n) < 0 &&
|
|
4117
|
+
t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
|
|
4104
4118
|
return r;
|
|
4105
4119
|
};
|
|
4106
4120
|
const q = (e, t) => {
|
|
@@ -4108,21 +4122,21 @@ const q = (e, t) => {
|
|
|
4108
4122
|
if (e in r && t in r[e])
|
|
4109
4123
|
return r[e][t];
|
|
4110
4124
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4111
|
-
},
|
|
4125
|
+
}, vi = be(
|
|
4112
4126
|
(e) => {
|
|
4113
4127
|
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4114
4128
|
if (r == null)
|
|
4115
4129
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4116
4130
|
return n && (i = q("number", n)), new Intl.NumberFormat(r, i);
|
|
4117
4131
|
}
|
|
4118
|
-
),
|
|
4132
|
+
), yi = be(
|
|
4119
4133
|
(e) => {
|
|
4120
4134
|
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4121
4135
|
if (r == null)
|
|
4122
4136
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4123
4137
|
return n ? i = q("date", n) : Object.keys(i).length === 0 && (i = q("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4124
4138
|
}
|
|
4125
|
-
),
|
|
4139
|
+
), _i = be(
|
|
4126
4140
|
(e) => {
|
|
4127
4141
|
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4128
4142
|
if (r == null)
|
|
@@ -4131,33 +4145,33 @@ const q = (e, t) => {
|
|
|
4131
4145
|
);
|
|
4132
4146
|
return n ? i = q("time", n) : Object.keys(i).length === 0 && (i = q("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4133
4147
|
}
|
|
4134
|
-
),
|
|
4148
|
+
), Ei = (e = {}) => {
|
|
4135
4149
|
var t = e, {
|
|
4136
4150
|
locale: r = C()
|
|
4137
4151
|
} = t, n = z(t, [
|
|
4138
4152
|
"locale"
|
|
4139
4153
|
]);
|
|
4140
|
-
return
|
|
4141
|
-
},
|
|
4154
|
+
return vi(ze({ locale: r }, n));
|
|
4155
|
+
}, xi = (e = {}) => {
|
|
4142
4156
|
var t = e, {
|
|
4143
4157
|
locale: r = C()
|
|
4144
4158
|
} = t, n = z(t, [
|
|
4145
4159
|
"locale"
|
|
4146
4160
|
]);
|
|
4147
|
-
return
|
|
4148
|
-
},
|
|
4161
|
+
return yi(ze({ locale: r }, n));
|
|
4162
|
+
}, Ti = (e = {}) => {
|
|
4149
4163
|
var t = e, {
|
|
4150
4164
|
locale: r = C()
|
|
4151
4165
|
} = t, n = z(t, [
|
|
4152
4166
|
"locale"
|
|
4153
4167
|
]);
|
|
4154
|
-
return
|
|
4155
|
-
},
|
|
4168
|
+
return _i(ze({ locale: r }, n));
|
|
4169
|
+
}, Si = be(
|
|
4156
4170
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4157
|
-
(e, t = C()) => new
|
|
4171
|
+
(e, t = C()) => new Jn(e, t, k().formats, {
|
|
4158
4172
|
ignoreTag: k().ignoreTag
|
|
4159
4173
|
})
|
|
4160
|
-
),
|
|
4174
|
+
), wi = (e, t = {}) => {
|
|
4161
4175
|
var r, n, i, o;
|
|
4162
4176
|
let s = t;
|
|
4163
4177
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4170,7 +4184,7 @@ const q = (e, t) => {
|
|
|
4170
4184
|
throw new Error(
|
|
4171
4185
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4172
4186
|
);
|
|
4173
|
-
let l =
|
|
4187
|
+
let l = Yt(e, h);
|
|
4174
4188
|
if (!l)
|
|
4175
4189
|
l = (o = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4176
4190
|
else if (typeof l != "string")
|
|
@@ -4181,7 +4195,7 @@ const q = (e, t) => {
|
|
|
4181
4195
|
return l;
|
|
4182
4196
|
let f = l;
|
|
4183
4197
|
try {
|
|
4184
|
-
f =
|
|
4198
|
+
f = Si(l, h).format(a);
|
|
4185
4199
|
} catch (c) {
|
|
4186
4200
|
c instanceof Error && console.warn(
|
|
4187
4201
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4189,21 +4203,21 @@ const q = (e, t) => {
|
|
|
4189
4203
|
);
|
|
4190
4204
|
}
|
|
4191
4205
|
return f;
|
|
4192
|
-
},
|
|
4193
|
-
X([re, te], () =>
|
|
4194
|
-
X([re], () => Si);
|
|
4195
|
-
X([re], () => wi);
|
|
4206
|
+
}, Hi = (e, t) => Ti(t).format(e), Bi = (e, t) => xi(t).format(e), Ai = (e, t) => Ei(t).format(e), Pi = (e, t = C()) => Yt(e, t);
|
|
4207
|
+
X([re, te], () => wi);
|
|
4196
4208
|
X([re], () => Hi);
|
|
4197
|
-
X([re
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4209
|
+
X([re], () => Bi);
|
|
4210
|
+
X([re], () => Ai);
|
|
4211
|
+
X([re, te], () => Pi);
|
|
4212
|
+
window.emWidgets = { topic: jr };
|
|
4213
|
+
const Oi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4214
|
+
function Ii(e, t) {
|
|
4201
4215
|
if (e) {
|
|
4202
4216
|
const r = document.createElement("style");
|
|
4203
4217
|
r.innerHTML = t, e.appendChild(r);
|
|
4204
4218
|
}
|
|
4205
4219
|
}
|
|
4206
|
-
function
|
|
4220
|
+
function Li(e, t) {
|
|
4207
4221
|
const r = new URL(t);
|
|
4208
4222
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4209
4223
|
const i = document.createElement("style");
|
|
@@ -4212,7 +4226,7 @@ function Oi(e, t) {
|
|
|
4212
4226
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4213
4227
|
});
|
|
4214
4228
|
}
|
|
4215
|
-
function
|
|
4229
|
+
function Ni(e, t, r) {
|
|
4216
4230
|
if (window.emMessageBus) {
|
|
4217
4231
|
const n = document.createElement("style");
|
|
4218
4232
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4220,20 +4234,20 @@ function Ii(e, t, r) {
|
|
|
4220
4234
|
});
|
|
4221
4235
|
}
|
|
4222
4236
|
}
|
|
4223
|
-
function
|
|
4224
|
-
|
|
4237
|
+
function Ci(e) {
|
|
4238
|
+
or(e, "svelte-qazmct", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:var(--emw--color-primary, #F7F7F7);font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab ul{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw var(--emw--color-grey-105, #424242) solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;font-size:var(--emw--font-size-small, 14px);flex:auto;display:block}.casino-tournaments-tab ul li.active{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab ul li span{margin:auto 0}.casino-tournaments-tab sup{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab sup span{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}.TabDesktop.casino-tournaments-tab{margin:10px}.TabDesktop.casino-tournaments-tab ul{font-size:inherit;border-bottom:2px var(--emw--color-grey-105, #424242) solid}.TabDesktop.casino-tournaments-tab ul li{padding:10px 20px;cursor:pointer}.TabDesktop.casino-tournaments-tab ul li.active{color:var(--emw--color-primary, #FF8364);border-bottom:3px var(--emw--color-primary, #FF8364) solid}.TabDesktop.casino-tournaments-tab ul li span{margin:auto 0}");
|
|
4225
4239
|
}
|
|
4226
|
-
function
|
|
4240
|
+
function vt(e, t, r) {
|
|
4227
4241
|
const n = e.slice();
|
|
4228
4242
|
return n[16] = t[r], n;
|
|
4229
4243
|
}
|
|
4230
|
-
function
|
|
4231
|
-
let t, r =
|
|
4244
|
+
function yt(e) {
|
|
4245
|
+
let t, r = Ye(
|
|
4232
4246
|
/*__tabs*/
|
|
4233
4247
|
e[6]
|
|
4234
4248
|
), n = [];
|
|
4235
4249
|
for (let i = 0; i < r.length; i += 1)
|
|
4236
|
-
n[i] = vt(
|
|
4250
|
+
n[i] = Et(vt(e, r, i));
|
|
4237
4251
|
return {
|
|
4238
4252
|
c() {
|
|
4239
4253
|
t = O("ul");
|
|
@@ -4249,14 +4263,14 @@ function gt(e) {
|
|
|
4249
4263
|
p(i, o) {
|
|
4250
4264
|
if (o & /*__tab, __tabs, window, tid, totalReceiver, textReceiver*/
|
|
4251
4265
|
121) {
|
|
4252
|
-
r =
|
|
4266
|
+
r = Ye(
|
|
4253
4267
|
/*__tabs*/
|
|
4254
4268
|
i[6]
|
|
4255
4269
|
);
|
|
4256
4270
|
let s;
|
|
4257
4271
|
for (s = 0; s < r.length; s += 1) {
|
|
4258
|
-
const a =
|
|
4259
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4272
|
+
const a = vt(i, r, s);
|
|
4273
|
+
n[s] ? n[s].p(a, o) : (n[s] = Et(a), n[s].c(), n[s].m(t, null));
|
|
4260
4274
|
}
|
|
4261
4275
|
for (; s < n.length; s += 1)
|
|
4262
4276
|
n[s].d(1);
|
|
@@ -4264,11 +4278,11 @@ function gt(e) {
|
|
|
4264
4278
|
}
|
|
4265
4279
|
},
|
|
4266
4280
|
d(i) {
|
|
4267
|
-
i && V(t),
|
|
4281
|
+
i && V(t), ur(n, i);
|
|
4268
4282
|
}
|
|
4269
4283
|
};
|
|
4270
4284
|
}
|
|
4271
|
-
function
|
|
4285
|
+
function _t(e) {
|
|
4272
4286
|
let t, r, n = (
|
|
4273
4287
|
/*totalReceiver*/
|
|
4274
4288
|
e[3][
|
|
@@ -4278,10 +4292,10 @@ function yt(e) {
|
|
|
4278
4292
|
), i;
|
|
4279
4293
|
return {
|
|
4280
4294
|
c() {
|
|
4281
|
-
t = O("sup"), r = O("span"), i =
|
|
4295
|
+
t = O("sup"), r = O("span"), i = je(n), T(r, "part", "SupText"), T(t, "part", "sup");
|
|
4282
4296
|
},
|
|
4283
4297
|
m(o, s) {
|
|
4284
|
-
ee(o, t, s),
|
|
4298
|
+
ee(o, t, s), N(t, r), N(r, i);
|
|
4285
4299
|
},
|
|
4286
4300
|
p(o, s) {
|
|
4287
4301
|
s & /*totalReceiver, __tabs*/
|
|
@@ -4289,14 +4303,14 @@ function yt(e) {
|
|
|
4289
4303
|
o[3][
|
|
4290
4304
|
/*_tab*/
|
|
4291
4305
|
o[16]
|
|
4292
|
-
] + "") &&
|
|
4306
|
+
] + "") && St(i, n);
|
|
4293
4307
|
},
|
|
4294
4308
|
d(o) {
|
|
4295
4309
|
o && V(t);
|
|
4296
4310
|
}
|
|
4297
4311
|
};
|
|
4298
4312
|
}
|
|
4299
|
-
function
|
|
4313
|
+
function Et(e) {
|
|
4300
4314
|
let t, r, n = (
|
|
4301
4315
|
/*textReceiver*/
|
|
4302
4316
|
e[4][
|
|
@@ -4308,7 +4322,7 @@ function vt(e) {
|
|
|
4308
4322
|
e[3][
|
|
4309
4323
|
/*_tab*/
|
|
4310
4324
|
e[16]
|
|
4311
|
-
] >= 0 &&
|
|
4325
|
+
] >= 0 && _t(e)
|
|
4312
4326
|
);
|
|
4313
4327
|
function c() {
|
|
4314
4328
|
return (
|
|
@@ -4321,48 +4335,48 @@ function vt(e) {
|
|
|
4321
4335
|
}
|
|
4322
4336
|
return {
|
|
4323
4337
|
c() {
|
|
4324
|
-
t = O("li"), r = O("span"), i =
|
|
4338
|
+
t = O("li"), r = O("span"), i = je(n), o = Qe(), f && f.c(), s = Qe(), T(r, "part", "LiText"), T(t, "class", a = /*__tab*/
|
|
4325
4339
|
e[5] === /*_tab*/
|
|
4326
4340
|
e[16] ? "active" : ""), T(t, "part", h = `${/*_tab*/
|
|
4327
4341
|
e[16]} li ` + /*__tab*/
|
|
4328
4342
|
(e[5] === /*_tab*/
|
|
4329
4343
|
e[16] ? "active" : ""));
|
|
4330
4344
|
},
|
|
4331
|
-
m(
|
|
4332
|
-
ee(
|
|
4345
|
+
m(p, d) {
|
|
4346
|
+
ee(p, t, d), N(t, r), N(r, i), N(t, o), f && f.m(t, null), N(t, s), u || (l = hr(t, "click", c), u = !0);
|
|
4333
4347
|
},
|
|
4334
|
-
p(
|
|
4335
|
-
e =
|
|
4348
|
+
p(p, d) {
|
|
4349
|
+
e = p, d & /*textReceiver, __tabs*/
|
|
4336
4350
|
80 && n !== (n = /*textReceiver*/
|
|
4337
4351
|
e[4][
|
|
4338
4352
|
/*_tab*/
|
|
4339
4353
|
e[16]
|
|
4340
|
-
] + "") &&
|
|
4354
|
+
] + "") && St(i, n), /*totalReceiver*/
|
|
4341
4355
|
e[3][
|
|
4342
4356
|
/*_tab*/
|
|
4343
4357
|
e[16]
|
|
4344
|
-
] >= 0 ? f ? f.p(e,
|
|
4358
|
+
] >= 0 ? f ? f.p(e, d) : (f = _t(e), f.c(), f.m(t, s)) : f && (f.d(1), f = null), d & /*__tab, __tabs*/
|
|
4345
4359
|
96 && a !== (a = /*__tab*/
|
|
4346
4360
|
e[5] === /*_tab*/
|
|
4347
|
-
e[16] ? "active" : "") && T(t, "class", a),
|
|
4361
|
+
e[16] ? "active" : "") && T(t, "class", a), d & /*__tabs, __tab*/
|
|
4348
4362
|
96 && h !== (h = `${/*_tab*/
|
|
4349
4363
|
e[16]} li ` + /*__tab*/
|
|
4350
4364
|
(e[5] === /*_tab*/
|
|
4351
4365
|
e[16] ? "active" : "")) && T(t, "part", h);
|
|
4352
4366
|
},
|
|
4353
|
-
d(
|
|
4354
|
-
|
|
4367
|
+
d(p) {
|
|
4368
|
+
p && V(t), f && f.d(), u = !1, l();
|
|
4355
4369
|
}
|
|
4356
4370
|
};
|
|
4357
4371
|
}
|
|
4358
|
-
function
|
|
4372
|
+
function Mi(e) {
|
|
4359
4373
|
let t, r = (
|
|
4360
4374
|
/*isTitleInited*/
|
|
4361
|
-
e[2] &&
|
|
4375
|
+
e[2] && yt(e)
|
|
4362
4376
|
);
|
|
4363
4377
|
return {
|
|
4364
4378
|
c() {
|
|
4365
|
-
t = O("div"), r && r.c(), T(t, "class", "casino-tournaments-tab " + (
|
|
4379
|
+
t = O("div"), r && r.c(), T(t, "class", "casino-tournaments-tab " + (Oi(
|
|
4366
4380
|
/*userAgent*/
|
|
4367
4381
|
e[7]
|
|
4368
4382
|
) ? "TabMobile" : "TabDesktop")), T(t, "part", "CustomStylingContainer");
|
|
@@ -4372,7 +4386,7 @@ function Li(e) {
|
|
|
4372
4386
|
},
|
|
4373
4387
|
p(n, [i]) {
|
|
4374
4388
|
/*isTitleInited*/
|
|
4375
|
-
n[2] ? r ? r.p(n, i) : (r =
|
|
4389
|
+
n[2] ? r ? r.p(n, i) : (r = yt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4376
4390
|
},
|
|
4377
4391
|
i: S,
|
|
4378
4392
|
o: S,
|
|
@@ -4381,24 +4395,24 @@ function Li(e) {
|
|
|
4381
4395
|
}
|
|
4382
4396
|
};
|
|
4383
4397
|
}
|
|
4384
|
-
function
|
|
4398
|
+
function $i(e, t, r) {
|
|
4385
4399
|
let n, i, { tabs: o = "" } = t, { tab: s = void 0 } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { tid: l = "pageTab" } = t, f, c = !1;
|
|
4386
|
-
const
|
|
4387
|
-
let
|
|
4388
|
-
|
|
4389
|
-
TournamentsTabTotalUpdate: (
|
|
4390
|
-
r(3,
|
|
4391
|
-
...
|
|
4392
|
-
[
|
|
4400
|
+
const p = window.navigator.userAgent;
|
|
4401
|
+
let d = {}, v = {};
|
|
4402
|
+
Br({
|
|
4403
|
+
TournamentsTabTotalUpdate: (y) => {
|
|
4404
|
+
r(3, d = {
|
|
4405
|
+
...d,
|
|
4406
|
+
[y.state]: y.total
|
|
4393
4407
|
});
|
|
4394
4408
|
},
|
|
4395
|
-
TournamentsTabsLocalize: (
|
|
4396
|
-
r(2, c = !0), r(4,
|
|
4397
|
-
...
|
|
4398
|
-
...
|
|
4409
|
+
TournamentsTabsLocalize: (y) => {
|
|
4410
|
+
r(2, c = !0), r(4, v = {
|
|
4411
|
+
...v,
|
|
4412
|
+
...y.tabTitleTranslations
|
|
4399
4413
|
});
|
|
4400
4414
|
}
|
|
4401
|
-
}),
|
|
4415
|
+
}), wt(() => (window.postMessage(
|
|
4402
4416
|
{
|
|
4403
4417
|
type: "TournamentsTabListenerLoaded",
|
|
4404
4418
|
tid: l
|
|
@@ -4406,39 +4420,39 @@ function Ci(e, t, r) {
|
|
|
4406
4420
|
window.location.href
|
|
4407
4421
|
), () => {
|
|
4408
4422
|
}));
|
|
4409
|
-
const x = (
|
|
4410
|
-
r(5, i =
|
|
4423
|
+
const x = (y) => {
|
|
4424
|
+
r(5, i = y), window.postMessage(
|
|
4411
4425
|
{
|
|
4412
4426
|
type: "TournamentsTabSwitch",
|
|
4413
|
-
tab:
|
|
4427
|
+
tab: y,
|
|
4414
4428
|
tid: l
|
|
4415
4429
|
},
|
|
4416
4430
|
window.location.href
|
|
4417
4431
|
);
|
|
4418
4432
|
};
|
|
4419
|
-
function I(
|
|
4420
|
-
|
|
4421
|
-
f =
|
|
4433
|
+
function I(y) {
|
|
4434
|
+
we[y ? "unshift" : "push"](() => {
|
|
4435
|
+
f = y, r(1, f);
|
|
4422
4436
|
});
|
|
4423
4437
|
}
|
|
4424
|
-
return e.$$set = (
|
|
4425
|
-
"tabs" in
|
|
4438
|
+
return e.$$set = (y) => {
|
|
4439
|
+
"tabs" in y && r(8, o = y.tabs), "tab" in y && r(9, s = y.tab), "clientstyling" in y && r(10, a = y.clientstyling), "clientstylingurl" in y && r(11, h = y.clientstylingurl), "mbsource" in y && r(12, u = y.mbsource), "tid" in y && r(0, l = y.tid);
|
|
4426
4440
|
}, e.$$.update = () => {
|
|
4427
4441
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4428
|
-
1026 && a && f &&
|
|
4429
|
-
2050 && h && f &&
|
|
4430
|
-
4098 && u && f &&
|
|
4442
|
+
1026 && a && f && Ii(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4443
|
+
2050 && h && f && Li(f, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4444
|
+
4098 && u && f && Ni(f, `${u}.Style`), e.$$.dirty & /*tabs*/
|
|
4431
4445
|
256 && r(6, n = o.split(",")), e.$$.dirty & /*tab*/
|
|
4432
4446
|
512 && r(5, i = s);
|
|
4433
4447
|
}, [
|
|
4434
4448
|
l,
|
|
4435
4449
|
f,
|
|
4436
4450
|
c,
|
|
4437
|
-
|
|
4438
|
-
|
|
4451
|
+
d,
|
|
4452
|
+
v,
|
|
4439
4453
|
i,
|
|
4440
4454
|
n,
|
|
4441
|
-
|
|
4455
|
+
p,
|
|
4442
4456
|
o,
|
|
4443
4457
|
s,
|
|
4444
4458
|
a,
|
|
@@ -4448,14 +4462,14 @@ function Ci(e, t, r) {
|
|
|
4448
4462
|
I
|
|
4449
4463
|
];
|
|
4450
4464
|
}
|
|
4451
|
-
class
|
|
4465
|
+
class Ri extends Sr {
|
|
4452
4466
|
constructor(t) {
|
|
4453
|
-
super(),
|
|
4467
|
+
super(), xr(
|
|
4454
4468
|
this,
|
|
4455
4469
|
t,
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4470
|
+
$i,
|
|
4471
|
+
Mi,
|
|
4472
|
+
Tt,
|
|
4459
4473
|
{
|
|
4460
4474
|
tabs: 8,
|
|
4461
4475
|
tab: 9,
|
|
@@ -4464,7 +4478,7 @@ class Mi extends Er {
|
|
|
4464
4478
|
mbsource: 12,
|
|
4465
4479
|
tid: 0
|
|
4466
4480
|
},
|
|
4467
|
-
|
|
4481
|
+
Ci
|
|
4468
4482
|
);
|
|
4469
4483
|
}
|
|
4470
4484
|
get tabs() {
|
|
@@ -4504,7 +4518,7 @@ class Mi extends Er {
|
|
|
4504
4518
|
this.$$set({ tid: t }), A();
|
|
4505
4519
|
}
|
|
4506
4520
|
}
|
|
4507
|
-
|
|
4521
|
+
Tr(Ri, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
|
|
4508
4522
|
export {
|
|
4509
|
-
|
|
4523
|
+
Ri as C
|
|
4510
4524
|
};
|