@everymatrix/casino-tournaments-tab 1.77.19 → 1.77.20
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-BQT-Juiu.js → CasinoTournamentsTab-Bppn0K6D.js} +751 -794
- package/components/CasinoTournamentsTab-Cklr4z-E.cjs +18 -0
- package/components/{CasinoTournamentsTab-C-Grp7d1.js → CasinoTournamentsTab-xNGf8RnD.js} +755 -798
- 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-CyZTeyoM.cjs +0 -18
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
function
|
|
1
|
+
function S() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function yt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Xe() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function K(e) {
|
|
10
|
+
e.forEach(yt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Ge(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function _t(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Kt(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function er(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
25
|
-
return
|
|
25
|
+
return S;
|
|
26
26
|
}
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
@@ -30,14 +30,14 @@ function or(e, ...t) {
|
|
|
30
30
|
function N(e, t) {
|
|
31
31
|
e.appendChild(t);
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
const n =
|
|
33
|
+
function tr(e, t, r) {
|
|
34
|
+
const n = rr(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, nr(n, i);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function rr(e) {
|
|
41
41
|
if (!e)
|
|
42
42
|
return document;
|
|
43
43
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -47,46 +47,46 @@ function ar(e) {
|
|
|
47
47
|
t
|
|
48
48
|
) : e.ownerDocument;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function nr(e, t) {
|
|
51
51
|
return N(
|
|
52
52
|
/** @type {Document} */
|
|
53
53
|
e.head || e,
|
|
54
54
|
t
|
|
55
55
|
), t.sheet;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function ee(e, t, r) {
|
|
58
58
|
e.insertBefore(t, r || null);
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function V(e) {
|
|
61
61
|
e.parentNode && e.parentNode.removeChild(e);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function ir(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 Fe(e) {
|
|
71
71
|
return document.createTextNode(e);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
return
|
|
73
|
+
function ze() {
|
|
74
|
+
return Fe(" ");
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function or(e, t, r, n) {
|
|
77
77
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
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 sr(e) {
|
|
83
83
|
return Array.from(e.childNodes);
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function Et(e, t) {
|
|
86
86
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
87
87
|
t);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function ar(e) {
|
|
90
90
|
const t = {};
|
|
91
91
|
return e.childNodes.forEach(
|
|
92
92
|
/** @param {Element} node */
|
|
@@ -95,98 +95,98 @@ function cr(e) {
|
|
|
95
95
|
}
|
|
96
96
|
), t;
|
|
97
97
|
}
|
|
98
|
-
let
|
|
99
|
-
function
|
|
100
|
-
|
|
98
|
+
let J;
|
|
99
|
+
function Q(e) {
|
|
100
|
+
J = e;
|
|
101
101
|
}
|
|
102
|
-
function
|
|
103
|
-
if (!
|
|
102
|
+
function ur() {
|
|
103
|
+
if (!J)
|
|
104
104
|
throw new Error("Function called outside component initialization");
|
|
105
|
-
return
|
|
105
|
+
return J;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
108
|
-
|
|
107
|
+
function xt(e) {
|
|
108
|
+
ur().$$.on_mount.push(e);
|
|
109
109
|
}
|
|
110
|
-
const
|
|
110
|
+
const $ = [], Se = [];
|
|
111
111
|
let U = [];
|
|
112
|
-
const
|
|
113
|
-
let
|
|
114
|
-
function
|
|
115
|
-
|
|
112
|
+
const We = [], hr = /* @__PURE__ */ Promise.resolve();
|
|
113
|
+
let we = !1;
|
|
114
|
+
function lr() {
|
|
115
|
+
we || (we = !0, hr.then(A));
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function He(e) {
|
|
118
118
|
U.push(e);
|
|
119
119
|
}
|
|
120
|
-
const
|
|
120
|
+
const ve = /* @__PURE__ */ new Set();
|
|
121
121
|
let M = 0;
|
|
122
122
|
function A() {
|
|
123
123
|
if (M !== 0)
|
|
124
124
|
return;
|
|
125
|
-
const e =
|
|
125
|
+
const e = J;
|
|
126
126
|
do {
|
|
127
127
|
try {
|
|
128
|
-
for (; M <
|
|
129
|
-
const t =
|
|
130
|
-
M++,
|
|
128
|
+
for (; M < $.length; ) {
|
|
129
|
+
const t = $[M];
|
|
130
|
+
M++, Q(t), fr(t.$$);
|
|
131
131
|
}
|
|
132
132
|
} catch (t) {
|
|
133
|
-
throw
|
|
133
|
+
throw $.length = 0, M = 0, t;
|
|
134
134
|
}
|
|
135
|
-
for (
|
|
136
|
-
|
|
135
|
+
for (Q(null), $.length = 0, M = 0; Se.length; )
|
|
136
|
+
Se.pop()();
|
|
137
137
|
for (let t = 0; t < U.length; t += 1) {
|
|
138
138
|
const r = U[t];
|
|
139
|
-
|
|
139
|
+
ve.has(r) || (ve.add(r), r());
|
|
140
140
|
}
|
|
141
141
|
U.length = 0;
|
|
142
|
-
} while (
|
|
143
|
-
for (;
|
|
144
|
-
|
|
145
|
-
|
|
142
|
+
} while ($.length);
|
|
143
|
+
for (; We.length; )
|
|
144
|
+
We.pop()();
|
|
145
|
+
we = !1, ve.clear(), Q(e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function fr(e) {
|
|
148
148
|
if (e.fragment !== null) {
|
|
149
|
-
e.update(),
|
|
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(He);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function cr(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 pr = /* @__PURE__ */ new Set();
|
|
159
|
+
function mr(e, t) {
|
|
160
|
+
e && e.i && (pr.delete(e), e.i(t));
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function Ze(e) {
|
|
163
163
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function br(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(
|
|
169
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
170
|
-
}), i.forEach(
|
|
167
|
+
n && n.m(t, r), He(() => {
|
|
168
|
+
const o = e.$$.on_mount.map(yt).filter(Ge);
|
|
169
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
|
|
170
|
+
}), i.forEach(He);
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function dr(e, t) {
|
|
173
173
|
const r = e.$$;
|
|
174
|
-
r.fragment !== null && (
|
|
174
|
+
r.fragment !== null && (cr(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 && (
|
|
176
|
+
function vr(e, t) {
|
|
177
|
+
e.$$.dirty[0] === -1 && ($.push(e), lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
178
178
|
}
|
|
179
|
-
function
|
|
180
|
-
const h =
|
|
181
|
-
|
|
179
|
+
function gr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
180
|
+
const h = J;
|
|
181
|
+
Q(e);
|
|
182
182
|
const u = e.$$ = {
|
|
183
183
|
fragment: null,
|
|
184
184
|
ctx: [],
|
|
185
185
|
// state
|
|
186
186
|
props: o,
|
|
187
|
-
update:
|
|
187
|
+
update: S,
|
|
188
188
|
not_equal: i,
|
|
189
|
-
bound:
|
|
189
|
+
bound: Xe(),
|
|
190
190
|
// lifecycle
|
|
191
191
|
on_mount: [],
|
|
192
192
|
on_destroy: [],
|
|
@@ -195,7 +195,7 @@ function Sr(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: Xe(),
|
|
199
199
|
dirty: a,
|
|
200
200
|
skip_bound: !1,
|
|
201
201
|
root: t.target || h.$$.root
|
|
@@ -203,20 +203,20 @@ function Sr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
203
203
|
s && s(u.root);
|
|
204
204
|
let l = !1;
|
|
205
205
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
206
|
-
const
|
|
207
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
|
208
|
-
}) : [], u.update(), l = !0,
|
|
206
|
+
const b = p.length ? p[0] : c;
|
|
207
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), l && vr(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 =
|
|
211
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
210
|
+
const f = sr(t.target);
|
|
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 && mr(e.$$.fragment), br(e, t.target, t.anchor), A();
|
|
215
215
|
}
|
|
216
|
-
|
|
216
|
+
Q(h);
|
|
217
217
|
}
|
|
218
|
-
let
|
|
219
|
-
typeof HTMLElement == "function" && (
|
|
218
|
+
let Tt;
|
|
219
|
+
typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
220
220
|
/** The Svelte component constructor */
|
|
221
221
|
$$ctor;
|
|
222
222
|
/** Slots */
|
|
@@ -258,24 +258,24 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
258
258
|
let o;
|
|
259
259
|
return {
|
|
260
260
|
c: function() {
|
|
261
|
-
o = O("slot"), i !== "default" &&
|
|
261
|
+
o = O("slot"), i !== "default" && T(o, "name", i);
|
|
262
262
|
},
|
|
263
263
|
/**
|
|
264
264
|
* @param {HTMLElement} target
|
|
265
265
|
* @param {HTMLElement} [anchor]
|
|
266
266
|
*/
|
|
267
267
|
m: function(h, u) {
|
|
268
|
-
|
|
268
|
+
ee(h, o, u);
|
|
269
269
|
},
|
|
270
270
|
d: function(h) {
|
|
271
|
-
h &&
|
|
271
|
+
h && V(o);
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
};
|
|
275
275
|
};
|
|
276
276
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
277
277
|
return;
|
|
278
|
-
const t = {}, r =
|
|
278
|
+
const t = {}, r = ar(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 yr(e, t, r, n, i, o) {
|
|
366
|
+
let s = class extends Tt {
|
|
367
367
|
constructor() {
|
|
368
368
|
super(e, r, i), this.$$p_d = t;
|
|
369
369
|
}
|
|
@@ -391,7 +391,7 @@ function Tr(e, t, r, n, i, o) {
|
|
|
391
391
|
}), e.element = /** @type {any} */
|
|
392
392
|
s, s;
|
|
393
393
|
}
|
|
394
|
-
class
|
|
394
|
+
class _r {
|
|
395
395
|
/**
|
|
396
396
|
* ### PRIVATE API
|
|
397
397
|
*
|
|
@@ -410,7 +410,7 @@ class wr {
|
|
|
410
410
|
$$set = void 0;
|
|
411
411
|
/** @returns {void} */
|
|
412
412
|
$destroy() {
|
|
413
|
-
|
|
413
|
+
dr(this, 1), this.$destroy = S;
|
|
414
414
|
}
|
|
415
415
|
/**
|
|
416
416
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -419,8 +419,8 @@ class wr {
|
|
|
419
419
|
* @returns {() => void}
|
|
420
420
|
*/
|
|
421
421
|
$on(t, r) {
|
|
422
|
-
if (!
|
|
423
|
-
return
|
|
422
|
+
if (!Ge(r))
|
|
423
|
+
return S;
|
|
424
424
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
425
425
|
return n.push(r), () => {
|
|
426
426
|
const i = n.indexOf(r);
|
|
@@ -432,21 +432,21 @@ class wr {
|
|
|
432
432
|
* @returns {void}
|
|
433
433
|
*/
|
|
434
434
|
$set(t) {
|
|
435
|
-
this.$$set && !
|
|
435
|
+
this.$$set && !Kt(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 Er = "4";
|
|
439
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
|
|
440
|
+
const xr = (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
|
+
}, Tr = (e) => {
|
|
448
|
+
const t = xr(e);
|
|
449
|
+
xt(() => (window.addEventListener("message", t, !1), () => {
|
|
450
450
|
window.removeEventListener("message", t);
|
|
451
451
|
}));
|
|
452
452
|
};
|
|
@@ -464,24 +464,43 @@ 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 Be = function(e, t) {
|
|
468
|
+
return Be = 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
|
+
}, Be(e, t);
|
|
474
474
|
};
|
|
475
|
-
function
|
|
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
|
+
Be(e, t);
|
|
479
479
|
function r() {
|
|
480
480
|
this.constructor = e;
|
|
481
481
|
}
|
|
482
482
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
var y = function() {
|
|
485
|
+
return y = Object.assign || function(t) {
|
|
486
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
487
|
+
r = arguments[n];
|
|
488
|
+
for (var o in r)
|
|
489
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
490
|
+
}
|
|
491
|
+
return t;
|
|
492
|
+
}, y.apply(this, arguments);
|
|
493
|
+
};
|
|
494
|
+
function Sr(e, t) {
|
|
495
|
+
var r = {};
|
|
496
|
+
for (var n in e)
|
|
497
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
498
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
499
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
500
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
501
|
+
return r;
|
|
502
|
+
}
|
|
503
|
+
function Ae(e) {
|
|
485
504
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
486
505
|
if (r)
|
|
487
506
|
return r.call(e);
|
|
@@ -493,7 +512,7 @@ function Ie(e) {
|
|
|
493
512
|
};
|
|
494
513
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
495
514
|
}
|
|
496
|
-
function
|
|
515
|
+
function Pe(e, t) {
|
|
497
516
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
498
517
|
if (!r)
|
|
499
518
|
return e;
|
|
@@ -513,22 +532,22 @@ function Le(e, t) {
|
|
|
513
532
|
}
|
|
514
533
|
return o;
|
|
515
534
|
}
|
|
516
|
-
function
|
|
517
|
-
if (arguments.length === 2)
|
|
535
|
+
function D(e, t, r) {
|
|
536
|
+
if (r || arguments.length === 2)
|
|
518
537
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
519
538
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
520
539
|
return e.concat(o || t);
|
|
521
540
|
}
|
|
522
|
-
function
|
|
541
|
+
function H(e) {
|
|
523
542
|
return typeof e == "function";
|
|
524
543
|
}
|
|
525
|
-
function
|
|
544
|
+
function St(e) {
|
|
526
545
|
var t = function(n) {
|
|
527
546
|
Error.call(n), n.stack = new Error().stack;
|
|
528
547
|
}, r = e(t);
|
|
529
548
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
530
549
|
}
|
|
531
|
-
var
|
|
550
|
+
var ge = St(function(e) {
|
|
532
551
|
return function(r) {
|
|
533
552
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
534
553
|
` + r.map(function(n, i) {
|
|
@@ -537,13 +556,13 @@ var _e = Pt(function(e) {
|
|
|
537
556
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
538
557
|
};
|
|
539
558
|
});
|
|
540
|
-
function
|
|
559
|
+
function Oe(e, t) {
|
|
541
560
|
if (e) {
|
|
542
561
|
var r = e.indexOf(t);
|
|
543
562
|
0 <= r && e.splice(r, 1);
|
|
544
563
|
}
|
|
545
564
|
}
|
|
546
|
-
var
|
|
565
|
+
var ce = function() {
|
|
547
566
|
function e(t) {
|
|
548
567
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
549
568
|
}
|
|
@@ -555,12 +574,12 @@ var pe = function() {
|
|
|
555
574
|
if (s)
|
|
556
575
|
if (this._parentage = null, Array.isArray(s))
|
|
557
576
|
try {
|
|
558
|
-
for (var a =
|
|
577
|
+
for (var a = Ae(s), h = a.next(); !h.done; h = a.next()) {
|
|
559
578
|
var u = h.value;
|
|
560
579
|
u.remove(this);
|
|
561
580
|
}
|
|
562
|
-
} catch (
|
|
563
|
-
t = { error:
|
|
581
|
+
} catch (g) {
|
|
582
|
+
t = { error: g };
|
|
564
583
|
} finally {
|
|
565
584
|
try {
|
|
566
585
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -572,26 +591,26 @@ var pe = function() {
|
|
|
572
591
|
else
|
|
573
592
|
s.remove(this);
|
|
574
593
|
var l = this.initialTeardown;
|
|
575
|
-
if (
|
|
594
|
+
if (H(l))
|
|
576
595
|
try {
|
|
577
596
|
l();
|
|
578
|
-
} catch (
|
|
579
|
-
o =
|
|
597
|
+
} catch (g) {
|
|
598
|
+
o = g instanceof ge ? g.errors : [g];
|
|
580
599
|
}
|
|
581
600
|
var f = this._finalizers;
|
|
582
601
|
if (f) {
|
|
583
602
|
this._finalizers = null;
|
|
584
603
|
try {
|
|
585
|
-
for (var c =
|
|
586
|
-
var
|
|
604
|
+
for (var c = Ae(f), p = c.next(); !p.done; p = c.next()) {
|
|
605
|
+
var b = p.value;
|
|
587
606
|
try {
|
|
588
|
-
|
|
589
|
-
} catch (
|
|
590
|
-
o = o ?? [],
|
|
607
|
+
Qe(b);
|
|
608
|
+
} catch (g) {
|
|
609
|
+
o = o ?? [], g instanceof ge ? o = D(D([], Pe(o)), Pe(g.errors)) : o.push(g);
|
|
591
610
|
}
|
|
592
611
|
}
|
|
593
|
-
} catch (
|
|
594
|
-
n = { error:
|
|
612
|
+
} catch (g) {
|
|
613
|
+
n = { error: g };
|
|
595
614
|
} finally {
|
|
596
615
|
try {
|
|
597
616
|
p && !p.done && (i = c.return) && i.call(c);
|
|
@@ -602,13 +621,13 @@ var pe = function() {
|
|
|
602
621
|
}
|
|
603
622
|
}
|
|
604
623
|
if (o)
|
|
605
|
-
throw new
|
|
624
|
+
throw new ge(o);
|
|
606
625
|
}
|
|
607
626
|
}, e.prototype.add = function(t) {
|
|
608
627
|
var r;
|
|
609
628
|
if (t && t !== this)
|
|
610
629
|
if (this.closed)
|
|
611
|
-
|
|
630
|
+
Qe(t);
|
|
612
631
|
else {
|
|
613
632
|
if (t instanceof e) {
|
|
614
633
|
if (t.closed || t._hasParent(this))
|
|
@@ -625,52 +644,52 @@ var pe = function() {
|
|
|
625
644
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
626
645
|
}, e.prototype._removeParent = function(t) {
|
|
627
646
|
var r = this._parentage;
|
|
628
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
647
|
+
r === t ? this._parentage = null : Array.isArray(r) && Oe(r, t);
|
|
629
648
|
}, e.prototype.remove = function(t) {
|
|
630
649
|
var r = this._finalizers;
|
|
631
|
-
r &&
|
|
650
|
+
r && Oe(r, t), t instanceof e && t._removeParent(this);
|
|
632
651
|
}, e.EMPTY = function() {
|
|
633
652
|
var t = new e();
|
|
634
653
|
return t.closed = !0, t;
|
|
635
654
|
}(), e;
|
|
636
|
-
}(),
|
|
637
|
-
function
|
|
638
|
-
return e instanceof
|
|
655
|
+
}(), wt = ce.EMPTY;
|
|
656
|
+
function Ht(e) {
|
|
657
|
+
return e instanceof ce || e && "closed" in e && H(e.remove) && H(e.add) && H(e.unsubscribe);
|
|
639
658
|
}
|
|
640
|
-
function
|
|
641
|
-
|
|
659
|
+
function Qe(e) {
|
|
660
|
+
H(e) ? e() : e.unsubscribe();
|
|
642
661
|
}
|
|
643
|
-
var
|
|
662
|
+
var wr = {
|
|
644
663
|
Promise: void 0
|
|
645
|
-
},
|
|
664
|
+
}, Hr = {
|
|
646
665
|
setTimeout: function(e, t) {
|
|
647
666
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
648
667
|
r[n - 2] = arguments[n];
|
|
649
|
-
return setTimeout.apply(void 0,
|
|
668
|
+
return setTimeout.apply(void 0, D([e, t], Pe(r)));
|
|
650
669
|
},
|
|
651
670
|
clearTimeout: function(e) {
|
|
652
671
|
return clearTimeout(e);
|
|
653
672
|
},
|
|
654
673
|
delegate: void 0
|
|
655
674
|
};
|
|
656
|
-
function
|
|
657
|
-
|
|
675
|
+
function Br(e) {
|
|
676
|
+
Hr.setTimeout(function() {
|
|
658
677
|
throw e;
|
|
659
678
|
});
|
|
660
679
|
}
|
|
661
|
-
function
|
|
680
|
+
function Je() {
|
|
662
681
|
}
|
|
663
682
|
function ae(e) {
|
|
664
683
|
e();
|
|
665
684
|
}
|
|
666
|
-
var
|
|
667
|
-
|
|
685
|
+
var Bt = function(e) {
|
|
686
|
+
B(t, e);
|
|
668
687
|
function t(r) {
|
|
669
688
|
var n = e.call(this) || this;
|
|
670
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
689
|
+
return n.isStopped = !1, r ? (n.destination = r, Ht(r) && r.add(n)) : n.destination = Or, n;
|
|
671
690
|
}
|
|
672
691
|
return t.create = function(r, n, i) {
|
|
673
|
-
return new
|
|
692
|
+
return new Ie(r, n, i);
|
|
674
693
|
}, t.prototype.next = function(r) {
|
|
675
694
|
this.isStopped || this._next(r);
|
|
676
695
|
}, t.prototype.error = function(r) {
|
|
@@ -694,7 +713,7 @@ var Lt = function(e) {
|
|
|
694
713
|
this.unsubscribe();
|
|
695
714
|
}
|
|
696
715
|
}, t;
|
|
697
|
-
}(
|
|
716
|
+
}(ce), Ar = function() {
|
|
698
717
|
function e(t) {
|
|
699
718
|
this.partialObserver = t;
|
|
700
719
|
}
|
|
@@ -725,43 +744,43 @@ var Lt = function(e) {
|
|
|
725
744
|
ie(r);
|
|
726
745
|
}
|
|
727
746
|
}, e;
|
|
728
|
-
}(),
|
|
729
|
-
|
|
747
|
+
}(), Ie = function(e) {
|
|
748
|
+
B(t, e);
|
|
730
749
|
function t(r, n, i) {
|
|
731
750
|
var o = e.call(this) || this, s;
|
|
732
|
-
return
|
|
751
|
+
return H(r) || !r ? s = {
|
|
733
752
|
next: r ?? void 0,
|
|
734
753
|
error: n ?? void 0,
|
|
735
754
|
complete: i ?? void 0
|
|
736
|
-
} : s = r, o.destination = new
|
|
755
|
+
} : s = r, o.destination = new Ar(s), o;
|
|
737
756
|
}
|
|
738
757
|
return t;
|
|
739
|
-
}(
|
|
758
|
+
}(Bt);
|
|
740
759
|
function ie(e) {
|
|
741
|
-
|
|
760
|
+
Br(e);
|
|
742
761
|
}
|
|
743
|
-
function
|
|
762
|
+
function Pr(e) {
|
|
744
763
|
throw e;
|
|
745
764
|
}
|
|
746
|
-
var
|
|
765
|
+
var Or = {
|
|
747
766
|
closed: !0,
|
|
748
|
-
next:
|
|
749
|
-
error:
|
|
750
|
-
complete:
|
|
751
|
-
},
|
|
767
|
+
next: Je,
|
|
768
|
+
error: Pr,
|
|
769
|
+
complete: Je
|
|
770
|
+
}, Ir = function() {
|
|
752
771
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
753
772
|
}();
|
|
754
|
-
function
|
|
773
|
+
function Lr(e) {
|
|
755
774
|
return e;
|
|
756
775
|
}
|
|
757
|
-
function
|
|
758
|
-
return e.length === 0 ?
|
|
776
|
+
function Nr(e) {
|
|
777
|
+
return e.length === 0 ? Lr : e.length === 1 ? e[0] : function(r) {
|
|
759
778
|
return e.reduce(function(n, i) {
|
|
760
779
|
return i(n);
|
|
761
780
|
}, r);
|
|
762
781
|
};
|
|
763
782
|
}
|
|
764
|
-
var
|
|
783
|
+
var Ye = function() {
|
|
765
784
|
function e(t) {
|
|
766
785
|
t && (this._subscribe = t);
|
|
767
786
|
}
|
|
@@ -769,7 +788,7 @@ var rt = function() {
|
|
|
769
788
|
var r = new e();
|
|
770
789
|
return r.source = this, r.operator = t, r;
|
|
771
790
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
772
|
-
var i = this, o =
|
|
791
|
+
var i = this, o = Mr(t) ? t : new Ie(t, r, n);
|
|
773
792
|
return ae(function() {
|
|
774
793
|
var s = i, a = s.operator, h = s.source;
|
|
775
794
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -782,8 +801,8 @@ var rt = function() {
|
|
|
782
801
|
}
|
|
783
802
|
}, e.prototype.forEach = function(t, r) {
|
|
784
803
|
var n = this;
|
|
785
|
-
return r =
|
|
786
|
-
var s = new
|
|
804
|
+
return r = qe(r), new r(function(i, o) {
|
|
805
|
+
var s = new Ie({
|
|
787
806
|
next: function(a) {
|
|
788
807
|
try {
|
|
789
808
|
t(a);
|
|
@@ -799,15 +818,15 @@ var rt = function() {
|
|
|
799
818
|
}, e.prototype._subscribe = function(t) {
|
|
800
819
|
var r;
|
|
801
820
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
802
|
-
}, e.prototype[
|
|
821
|
+
}, e.prototype[Ir] = function() {
|
|
803
822
|
return this;
|
|
804
823
|
}, e.prototype.pipe = function() {
|
|
805
824
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
806
825
|
t[r] = arguments[r];
|
|
807
|
-
return
|
|
826
|
+
return Nr(t)(this);
|
|
808
827
|
}, e.prototype.toPromise = function(t) {
|
|
809
828
|
var r = this;
|
|
810
|
-
return t =
|
|
829
|
+
return t = qe(t), new t(function(n, i) {
|
|
811
830
|
var o;
|
|
812
831
|
r.subscribe(function(s) {
|
|
813
832
|
return o = s;
|
|
@@ -821,32 +840,32 @@ var rt = function() {
|
|
|
821
840
|
return new e(t);
|
|
822
841
|
}, e;
|
|
823
842
|
}();
|
|
824
|
-
function
|
|
843
|
+
function qe(e) {
|
|
825
844
|
var t;
|
|
826
|
-
return (t = e ??
|
|
845
|
+
return (t = e ?? wr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
827
846
|
}
|
|
828
|
-
function
|
|
829
|
-
return e &&
|
|
847
|
+
function Cr(e) {
|
|
848
|
+
return e && H(e.next) && H(e.error) && H(e.complete);
|
|
830
849
|
}
|
|
831
|
-
function
|
|
832
|
-
return e && e instanceof
|
|
850
|
+
function Mr(e) {
|
|
851
|
+
return e && e instanceof Bt || Cr(e) && Ht(e);
|
|
833
852
|
}
|
|
834
|
-
var
|
|
853
|
+
var Rr = St(function(e) {
|
|
835
854
|
return function() {
|
|
836
855
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
837
856
|
};
|
|
838
|
-
}),
|
|
839
|
-
|
|
857
|
+
}), At = function(e) {
|
|
858
|
+
B(t, e);
|
|
840
859
|
function t() {
|
|
841
860
|
var r = e.call(this) || this;
|
|
842
861
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
843
862
|
}
|
|
844
863
|
return t.prototype.lift = function(r) {
|
|
845
|
-
var n = new
|
|
864
|
+
var n = new Ke(this, this);
|
|
846
865
|
return n.operator = r, n;
|
|
847
866
|
}, t.prototype._throwIfClosed = function() {
|
|
848
867
|
if (this.closed)
|
|
849
|
-
throw new
|
|
868
|
+
throw new Rr();
|
|
850
869
|
}, t.prototype.next = function(r) {
|
|
851
870
|
var n = this;
|
|
852
871
|
ae(function() {
|
|
@@ -854,7 +873,7 @@ var Gr = Pt(function(e) {
|
|
|
854
873
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
855
874
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
856
875
|
try {
|
|
857
|
-
for (var s =
|
|
876
|
+
for (var s = Ae(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
858
877
|
var h = a.value;
|
|
859
878
|
h.next(r);
|
|
860
879
|
}
|
|
@@ -903,20 +922,20 @@ var Gr = Pt(function(e) {
|
|
|
903
922
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
904
923
|
}, t.prototype._innerSubscribe = function(r) {
|
|
905
924
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
906
|
-
return o || s ?
|
|
907
|
-
n.currentObservers = null,
|
|
925
|
+
return o || s ? wt : (this.currentObservers = null, a.push(r), new ce(function() {
|
|
926
|
+
n.currentObservers = null, Oe(a, r);
|
|
908
927
|
}));
|
|
909
928
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
910
929
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
911
930
|
i ? r.error(o) : s && r.complete();
|
|
912
931
|
}, t.prototype.asObservable = function() {
|
|
913
|
-
var r = new
|
|
932
|
+
var r = new Ye();
|
|
914
933
|
return r.source = this, r;
|
|
915
934
|
}, t.create = function(r, n) {
|
|
916
|
-
return new
|
|
935
|
+
return new Ke(r, n);
|
|
917
936
|
}, t;
|
|
918
|
-
}(
|
|
919
|
-
|
|
937
|
+
}(Ye), Ke = function(e) {
|
|
938
|
+
B(t, e);
|
|
920
939
|
function t(r, n) {
|
|
921
940
|
var i = e.call(this) || this;
|
|
922
941
|
return i.destination = r, i.source = n, i;
|
|
@@ -932,17 +951,17 @@ var Gr = Pt(function(e) {
|
|
|
932
951
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
933
952
|
}, t.prototype._subscribe = function(r) {
|
|
934
953
|
var n, i;
|
|
935
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
954
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : wt;
|
|
936
955
|
}, t;
|
|
937
|
-
}(
|
|
956
|
+
}(At), Pt = {
|
|
938
957
|
now: function() {
|
|
939
|
-
return (
|
|
958
|
+
return (Pt.delegate || Date).now();
|
|
940
959
|
},
|
|
941
960
|
delegate: void 0
|
|
942
|
-
},
|
|
943
|
-
|
|
961
|
+
}, $r = function(e) {
|
|
962
|
+
B(t, e);
|
|
944
963
|
function t(r, n, i) {
|
|
945
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
964
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Pt);
|
|
946
965
|
var o = e.call(this) || this;
|
|
947
966
|
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;
|
|
948
967
|
}
|
|
@@ -962,223 +981,181 @@ var Gr = Pt(function(e) {
|
|
|
962
981
|
u && o.splice(0, u + 1);
|
|
963
982
|
}
|
|
964
983
|
}, t;
|
|
965
|
-
}(
|
|
966
|
-
const
|
|
967
|
-
if (
|
|
968
|
-
const r = new
|
|
969
|
-
|
|
984
|
+
}(At);
|
|
985
|
+
const et = [], tt = {}, Ur = (e, t = 0) => {
|
|
986
|
+
if (et.indexOf(e) == -1) {
|
|
987
|
+
const r = new $r(t);
|
|
988
|
+
tt[e] = r, et.push(e);
|
|
970
989
|
}
|
|
971
|
-
return
|
|
972
|
-
},
|
|
973
|
-
function
|
|
990
|
+
return tt[e];
|
|
991
|
+
}, R = [];
|
|
992
|
+
function Dr(e, t) {
|
|
974
993
|
return {
|
|
975
|
-
subscribe:
|
|
994
|
+
subscribe: pe(e, t).subscribe
|
|
976
995
|
};
|
|
977
996
|
}
|
|
978
|
-
function
|
|
997
|
+
function pe(e, t = S) {
|
|
979
998
|
let r;
|
|
980
999
|
const n = /* @__PURE__ */ new Set();
|
|
981
1000
|
function i(a) {
|
|
982
|
-
if (
|
|
983
|
-
const h =
|
|
1001
|
+
if (_t(e, a) && (e = a, r)) {
|
|
1002
|
+
const h = !R.length;
|
|
984
1003
|
for (const u of n)
|
|
985
|
-
u[1](),
|
|
1004
|
+
u[1](), R.push(u, e);
|
|
986
1005
|
if (h) {
|
|
987
|
-
for (let u = 0; u <
|
|
988
|
-
|
|
989
|
-
|
|
1006
|
+
for (let u = 0; u < R.length; u += 2)
|
|
1007
|
+
R[u][0](R[u + 1]);
|
|
1008
|
+
R.length = 0;
|
|
990
1009
|
}
|
|
991
1010
|
}
|
|
992
1011
|
}
|
|
993
1012
|
function o(a) {
|
|
994
1013
|
i(a(e));
|
|
995
1014
|
}
|
|
996
|
-
function s(a, h =
|
|
1015
|
+
function s(a, h = S) {
|
|
997
1016
|
const u = [a, h];
|
|
998
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1017
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || S), a(e), () => {
|
|
999
1018
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1000
1019
|
};
|
|
1001
1020
|
}
|
|
1002
1021
|
return { set: i, update: o, subscribe: s };
|
|
1003
1022
|
}
|
|
1004
|
-
function
|
|
1023
|
+
function X(e, t, r) {
|
|
1005
1024
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1006
1025
|
if (!i.every(Boolean))
|
|
1007
1026
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1008
1027
|
const o = t.length < 2;
|
|
1009
|
-
return
|
|
1028
|
+
return Dr(r, (s, a) => {
|
|
1010
1029
|
let h = !1;
|
|
1011
1030
|
const u = [];
|
|
1012
|
-
let l = 0, f =
|
|
1031
|
+
let l = 0, f = S;
|
|
1013
1032
|
const c = () => {
|
|
1014
1033
|
if (l)
|
|
1015
1034
|
return;
|
|
1016
1035
|
f();
|
|
1017
|
-
const
|
|
1018
|
-
o ? s(
|
|
1036
|
+
const b = t(n ? u[0] : u, s, a);
|
|
1037
|
+
o ? s(b) : f = Ge(b) ? b : S;
|
|
1019
1038
|
}, p = i.map(
|
|
1020
|
-
(
|
|
1021
|
-
|
|
1039
|
+
(b, g) => er(
|
|
1040
|
+
b,
|
|
1022
1041
|
(x) => {
|
|
1023
|
-
u[
|
|
1042
|
+
u[g] = x, l &= ~(1 << g), h && c();
|
|
1024
1043
|
},
|
|
1025
1044
|
() => {
|
|
1026
|
-
l |= 1 <<
|
|
1045
|
+
l |= 1 << g;
|
|
1027
1046
|
}
|
|
1028
1047
|
)
|
|
1029
1048
|
);
|
|
1030
1049
|
return h = !0, c(), function() {
|
|
1031
|
-
|
|
1050
|
+
K(p), f(), h = !1;
|
|
1032
1051
|
};
|
|
1033
1052
|
});
|
|
1034
1053
|
}
|
|
1035
|
-
function
|
|
1054
|
+
function Gr(e) {
|
|
1036
1055
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1037
1056
|
}
|
|
1038
|
-
var
|
|
1039
|
-
return
|
|
1057
|
+
var Fr = function(t) {
|
|
1058
|
+
return jr(t) && !kr(t);
|
|
1040
1059
|
};
|
|
1041
|
-
function
|
|
1060
|
+
function jr(e) {
|
|
1042
1061
|
return !!e && typeof e == "object";
|
|
1043
1062
|
}
|
|
1044
|
-
function
|
|
1063
|
+
function kr(e) {
|
|
1045
1064
|
var t = Object.prototype.toString.call(e);
|
|
1046
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1065
|
+
return t === "[object RegExp]" || t === "[object Date]" || zr(e);
|
|
1047
1066
|
}
|
|
1048
|
-
var
|
|
1049
|
-
function
|
|
1050
|
-
return e.$$typeof ===
|
|
1067
|
+
var Vr = typeof Symbol == "function" && Symbol.for, Xr = Vr ? Symbol.for("react.element") : 60103;
|
|
1068
|
+
function zr(e) {
|
|
1069
|
+
return e.$$typeof === Xr;
|
|
1051
1070
|
}
|
|
1052
|
-
function
|
|
1071
|
+
function Wr(e) {
|
|
1053
1072
|
return Array.isArray(e) ? [] : {};
|
|
1054
1073
|
}
|
|
1055
|
-
function
|
|
1056
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1074
|
+
function Y(e, t) {
|
|
1075
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? G(Wr(e), e, t) : e;
|
|
1057
1076
|
}
|
|
1058
|
-
function
|
|
1077
|
+
function Zr(e, t, r) {
|
|
1059
1078
|
return e.concat(t).map(function(n) {
|
|
1060
|
-
return
|
|
1079
|
+
return Y(n, r);
|
|
1061
1080
|
});
|
|
1062
1081
|
}
|
|
1063
|
-
function
|
|
1082
|
+
function Qr(e, t) {
|
|
1064
1083
|
if (!t.customMerge)
|
|
1065
|
-
return
|
|
1084
|
+
return G;
|
|
1066
1085
|
var r = t.customMerge(e);
|
|
1067
|
-
return typeof r == "function" ? r :
|
|
1086
|
+
return typeof r == "function" ? r : G;
|
|
1068
1087
|
}
|
|
1069
|
-
function
|
|
1088
|
+
function Jr(e) {
|
|
1070
1089
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1071
1090
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1072
1091
|
}) : [];
|
|
1073
1092
|
}
|
|
1074
|
-
function
|
|
1075
|
-
return Object.keys(e).concat(
|
|
1093
|
+
function rt(e) {
|
|
1094
|
+
return Object.keys(e).concat(Jr(e));
|
|
1076
1095
|
}
|
|
1077
|
-
function
|
|
1096
|
+
function Ot(e, t) {
|
|
1078
1097
|
try {
|
|
1079
1098
|
return t in e;
|
|
1080
1099
|
} catch {
|
|
1081
1100
|
return !1;
|
|
1082
1101
|
}
|
|
1083
1102
|
}
|
|
1084
|
-
function
|
|
1085
|
-
return
|
|
1103
|
+
function Yr(e, t) {
|
|
1104
|
+
return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1086
1105
|
}
|
|
1087
|
-
function
|
|
1106
|
+
function qr(e, t, r) {
|
|
1088
1107
|
var n = {};
|
|
1089
|
-
return r.isMergeableObject(e) &&
|
|
1090
|
-
n[i] =
|
|
1091
|
-
}),
|
|
1092
|
-
|
|
1108
|
+
return r.isMergeableObject(e) && rt(e).forEach(function(i) {
|
|
1109
|
+
n[i] = Y(e[i], r);
|
|
1110
|
+
}), rt(t).forEach(function(i) {
|
|
1111
|
+
Yr(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
1093
1112
|
}), n;
|
|
1094
1113
|
}
|
|
1095
|
-
function
|
|
1096
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1114
|
+
function G(e, t, r) {
|
|
1115
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Zr, r.isMergeableObject = r.isMergeableObject || Fr, r.cloneUnlessOtherwiseSpecified = Y;
|
|
1097
1116
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1098
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1117
|
+
return o ? n ? r.arrayMerge(e, t, r) : qr(e, t, r) : Y(t, r);
|
|
1099
1118
|
}
|
|
1100
|
-
|
|
1119
|
+
G.all = function(t, r) {
|
|
1101
1120
|
if (!Array.isArray(t))
|
|
1102
1121
|
throw new Error("first argument should be an array");
|
|
1103
1122
|
return t.reduce(function(n, i) {
|
|
1104
|
-
return
|
|
1123
|
+
return G(n, i, r);
|
|
1105
1124
|
}, {});
|
|
1106
1125
|
};
|
|
1107
|
-
var
|
|
1108
|
-
const
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
r.__proto__ = n;
|
|
1112
|
-
} || function(r, n) {
|
|
1113
|
-
for (var i in n)
|
|
1114
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1115
|
-
}, $e(e, t);
|
|
1116
|
-
};
|
|
1117
|
-
function de(e, t) {
|
|
1118
|
-
if (typeof t != "function" && t !== null)
|
|
1119
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1120
|
-
$e(e, t);
|
|
1121
|
-
function r() {
|
|
1122
|
-
this.constructor = e;
|
|
1123
|
-
}
|
|
1124
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1125
|
-
}
|
|
1126
|
-
var H = function() {
|
|
1127
|
-
return H = Object.assign || function(t) {
|
|
1128
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1129
|
-
r = arguments[n];
|
|
1130
|
-
for (var o in r)
|
|
1131
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1132
|
-
}
|
|
1133
|
-
return t;
|
|
1134
|
-
}, H.apply(this, arguments);
|
|
1135
|
-
};
|
|
1136
|
-
function an(e, t) {
|
|
1137
|
-
var r = {};
|
|
1138
|
-
for (var n in e)
|
|
1139
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1140
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1141
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1142
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1143
|
-
return r;
|
|
1144
|
-
}
|
|
1145
|
-
function Ee(e, t, r) {
|
|
1146
|
-
if (r || arguments.length === 2)
|
|
1147
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1148
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1149
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1150
|
-
}
|
|
1151
|
-
function xe(e, t) {
|
|
1152
|
-
var r = t && t.cache ? t.cache : mn, n = t && t.serializer ? t.serializer : cn, i = t && t.strategy ? t.strategy : ln;
|
|
1126
|
+
var Kr = G, en = Kr;
|
|
1127
|
+
const tn = /* @__PURE__ */ Gr(en);
|
|
1128
|
+
function ye(e, t) {
|
|
1129
|
+
var r = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : an, i = t && t.strategy ? t.strategy : on;
|
|
1153
1130
|
return i(e, {
|
|
1154
1131
|
cache: r,
|
|
1155
1132
|
serializer: n
|
|
1156
1133
|
});
|
|
1157
1134
|
}
|
|
1158
|
-
function
|
|
1135
|
+
function rn(e) {
|
|
1159
1136
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1160
1137
|
}
|
|
1161
|
-
function
|
|
1162
|
-
var i =
|
|
1138
|
+
function nn(e, t, r, n) {
|
|
1139
|
+
var i = rn(n) ? n : r(n), o = t.get(i);
|
|
1163
1140
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1164
1141
|
}
|
|
1165
|
-
function
|
|
1142
|
+
function It(e, t, r) {
|
|
1166
1143
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1167
1144
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1168
1145
|
}
|
|
1169
|
-
function
|
|
1146
|
+
function Lt(e, t, r, n, i) {
|
|
1170
1147
|
return r.bind(t, e, n, i);
|
|
1171
1148
|
}
|
|
1172
|
-
function
|
|
1173
|
-
var r = e.length === 1 ?
|
|
1174
|
-
return
|
|
1149
|
+
function on(e, t) {
|
|
1150
|
+
var r = e.length === 1 ? nn : It;
|
|
1151
|
+
return Lt(e, this, r, t.cache.create(), t.serializer);
|
|
1175
1152
|
}
|
|
1176
|
-
function
|
|
1177
|
-
return
|
|
1153
|
+
function sn(e, t) {
|
|
1154
|
+
return Lt(e, this, It, t.cache.create(), t.serializer);
|
|
1178
1155
|
}
|
|
1179
|
-
var
|
|
1156
|
+
var an = function() {
|
|
1180
1157
|
return JSON.stringify(arguments);
|
|
1181
|
-
},
|
|
1158
|
+
}, un = (
|
|
1182
1159
|
/** @class */
|
|
1183
1160
|
function() {
|
|
1184
1161
|
function e() {
|
|
@@ -1190,71 +1167,61 @@ var cn = function() {
|
|
|
1190
1167
|
this.cache[t] = r;
|
|
1191
1168
|
}, e;
|
|
1192
1169
|
}()
|
|
1193
|
-
),
|
|
1170
|
+
), hn = {
|
|
1194
1171
|
create: function() {
|
|
1195
|
-
return new
|
|
1172
|
+
return new un();
|
|
1196
1173
|
}
|
|
1197
|
-
},
|
|
1198
|
-
variadic:
|
|
1199
|
-
},
|
|
1200
|
-
return le = Object.assign || function(t) {
|
|
1201
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1202
|
-
r = arguments[n];
|
|
1203
|
-
for (var o in r)
|
|
1204
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1205
|
-
}
|
|
1206
|
-
return t;
|
|
1207
|
-
}, le.apply(this, arguments);
|
|
1208
|
-
};
|
|
1209
|
-
var m;
|
|
1174
|
+
}, _e = {
|
|
1175
|
+
variadic: sn
|
|
1176
|
+
}, m;
|
|
1210
1177
|
(function(e) {
|
|
1211
1178
|
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";
|
|
1212
1179
|
})(m || (m = {}));
|
|
1213
|
-
var
|
|
1180
|
+
var _;
|
|
1214
1181
|
(function(e) {
|
|
1215
1182
|
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";
|
|
1216
|
-
})(
|
|
1217
|
-
var
|
|
1183
|
+
})(_ || (_ = {}));
|
|
1184
|
+
var F;
|
|
1218
1185
|
(function(e) {
|
|
1219
1186
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1220
|
-
})(
|
|
1221
|
-
function
|
|
1222
|
-
return e.type ===
|
|
1187
|
+
})(F || (F = {}));
|
|
1188
|
+
function nt(e) {
|
|
1189
|
+
return e.type === _.literal;
|
|
1223
1190
|
}
|
|
1224
|
-
function
|
|
1225
|
-
return e.type ===
|
|
1191
|
+
function ln(e) {
|
|
1192
|
+
return e.type === _.argument;
|
|
1226
1193
|
}
|
|
1227
|
-
function
|
|
1228
|
-
return e.type ===
|
|
1194
|
+
function Nt(e) {
|
|
1195
|
+
return e.type === _.number;
|
|
1229
1196
|
}
|
|
1230
|
-
function
|
|
1231
|
-
return e.type ===
|
|
1197
|
+
function Ct(e) {
|
|
1198
|
+
return e.type === _.date;
|
|
1232
1199
|
}
|
|
1233
|
-
function
|
|
1234
|
-
return e.type ===
|
|
1200
|
+
function Mt(e) {
|
|
1201
|
+
return e.type === _.time;
|
|
1235
1202
|
}
|
|
1236
|
-
function
|
|
1237
|
-
return e.type ===
|
|
1203
|
+
function Rt(e) {
|
|
1204
|
+
return e.type === _.select;
|
|
1238
1205
|
}
|
|
1239
|
-
function
|
|
1240
|
-
return e.type ===
|
|
1206
|
+
function $t(e) {
|
|
1207
|
+
return e.type === _.plural;
|
|
1241
1208
|
}
|
|
1242
|
-
function
|
|
1243
|
-
return e.type ===
|
|
1209
|
+
function fn(e) {
|
|
1210
|
+
return e.type === _.pound;
|
|
1244
1211
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return e.type ===
|
|
1212
|
+
function Ut(e) {
|
|
1213
|
+
return e.type === _.tag;
|
|
1247
1214
|
}
|
|
1248
|
-
function
|
|
1249
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1215
|
+
function Dt(e) {
|
|
1216
|
+
return !!(e && typeof e == "object" && e.type === F.number);
|
|
1250
1217
|
}
|
|
1251
|
-
function
|
|
1252
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1218
|
+
function Le(e) {
|
|
1219
|
+
return !!(e && typeof e == "object" && e.type === F.dateTime);
|
|
1253
1220
|
}
|
|
1254
|
-
var
|
|
1255
|
-
function
|
|
1221
|
+
var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, cn = /(?:[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;
|
|
1222
|
+
function pn(e) {
|
|
1256
1223
|
var t = {};
|
|
1257
|
-
return e.replace(
|
|
1224
|
+
return e.replace(cn, function(r) {
|
|
1258
1225
|
var n = r.length;
|
|
1259
1226
|
switch (r[0]) {
|
|
1260
1227
|
case "G":
|
|
@@ -1343,21 +1310,11 @@ function vn(e) {
|
|
|
1343
1310
|
return "";
|
|
1344
1311
|
}), t;
|
|
1345
1312
|
}
|
|
1346
|
-
var
|
|
1347
|
-
|
|
1348
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1349
|
-
r = arguments[n];
|
|
1350
|
-
for (var o in r)
|
|
1351
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1352
|
-
}
|
|
1353
|
-
return t;
|
|
1354
|
-
}, _.apply(this, arguments);
|
|
1355
|
-
};
|
|
1356
|
-
var yn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1357
|
-
function _n(e) {
|
|
1313
|
+
var mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1314
|
+
function bn(e) {
|
|
1358
1315
|
if (e.length === 0)
|
|
1359
1316
|
throw new Error("Number skeleton cannot be empty");
|
|
1360
|
-
for (var t = e.split(
|
|
1317
|
+
for (var t = e.split(mn).filter(function(c) {
|
|
1361
1318
|
return c.length > 0;
|
|
1362
1319
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1363
1320
|
var o = i[n], s = o.split("/");
|
|
@@ -1372,17 +1329,17 @@ function _n(e) {
|
|
|
1372
1329
|
}
|
|
1373
1330
|
return r;
|
|
1374
1331
|
}
|
|
1375
|
-
function
|
|
1332
|
+
function dn(e) {
|
|
1376
1333
|
return e.replace(/^(.*?)-/, "");
|
|
1377
1334
|
}
|
|
1378
|
-
var
|
|
1379
|
-
function
|
|
1335
|
+
var it = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
|
|
1336
|
+
function ot(e) {
|
|
1380
1337
|
var t = {};
|
|
1381
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1338
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
|
|
1382
1339
|
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)), "";
|
|
1383
1340
|
}), t;
|
|
1384
1341
|
}
|
|
1385
|
-
function
|
|
1342
|
+
function kt(e) {
|
|
1386
1343
|
switch (e) {
|
|
1387
1344
|
case "sign-auto":
|
|
1388
1345
|
return {
|
|
@@ -1422,7 +1379,7 @@ function Zt(e) {
|
|
|
1422
1379
|
};
|
|
1423
1380
|
}
|
|
1424
1381
|
}
|
|
1425
|
-
function
|
|
1382
|
+
function gn(e) {
|
|
1426
1383
|
var t;
|
|
1427
1384
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1428
1385
|
notation: "engineering"
|
|
@@ -1430,17 +1387,17 @@ function Sn(e) {
|
|
|
1430
1387
|
notation: "scientific"
|
|
1431
1388
|
}, e = e.slice(1)), t) {
|
|
1432
1389
|
var r = e.slice(0, 2);
|
|
1433
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1390
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
|
|
1434
1391
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1435
1392
|
t.minimumIntegerDigits = e.length;
|
|
1436
1393
|
}
|
|
1437
1394
|
return t;
|
|
1438
1395
|
}
|
|
1439
|
-
function
|
|
1440
|
-
var t = {}, r =
|
|
1396
|
+
function st(e) {
|
|
1397
|
+
var t = {}, r = kt(e);
|
|
1441
1398
|
return r || t;
|
|
1442
1399
|
}
|
|
1443
|
-
function
|
|
1400
|
+
function yn(e) {
|
|
1444
1401
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1445
1402
|
var i = n[r];
|
|
1446
1403
|
switch (i.stem) {
|
|
@@ -1464,7 +1421,7 @@ function Tn(e) {
|
|
|
1464
1421
|
continue;
|
|
1465
1422
|
case "measure-unit":
|
|
1466
1423
|
case "unit":
|
|
1467
|
-
t.style = "unit", t.unit =
|
|
1424
|
+
t.style = "unit", t.unit = dn(i.options[0]);
|
|
1468
1425
|
continue;
|
|
1469
1426
|
case "compact-short":
|
|
1470
1427
|
case "K":
|
|
@@ -1475,13 +1432,13 @@ function Tn(e) {
|
|
|
1475
1432
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1476
1433
|
continue;
|
|
1477
1434
|
case "scientific":
|
|
1478
|
-
t =
|
|
1479
|
-
return
|
|
1435
|
+
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1436
|
+
return y(y({}, h), st(u));
|
|
1480
1437
|
}, {}));
|
|
1481
1438
|
continue;
|
|
1482
1439
|
case "engineering":
|
|
1483
|
-
t =
|
|
1484
|
-
return
|
|
1440
|
+
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1441
|
+
return y(y({}, h), st(u));
|
|
1485
1442
|
}, {}));
|
|
1486
1443
|
continue;
|
|
1487
1444
|
case "notation-simple":
|
|
@@ -1526,7 +1483,7 @@ function Tn(e) {
|
|
|
1526
1483
|
case "integer-width":
|
|
1527
1484
|
if (i.options.length > 1)
|
|
1528
1485
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1529
|
-
i.options[0].replace(
|
|
1486
|
+
i.options[0].replace(vn, function(h, u, l, f, c, p) {
|
|
1530
1487
|
if (u)
|
|
1531
1488
|
t.minimumIntegerDigits = l.length;
|
|
1532
1489
|
else {
|
|
@@ -1539,28 +1496,28 @@ function Tn(e) {
|
|
|
1539
1496
|
});
|
|
1540
1497
|
continue;
|
|
1541
1498
|
}
|
|
1542
|
-
if (
|
|
1499
|
+
if (jt.test(i.stem)) {
|
|
1543
1500
|
t.minimumIntegerDigits = i.stem.length;
|
|
1544
1501
|
continue;
|
|
1545
1502
|
}
|
|
1546
|
-
if (
|
|
1503
|
+
if (it.test(i.stem)) {
|
|
1547
1504
|
if (i.options.length > 1)
|
|
1548
1505
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1549
|
-
i.stem.replace(
|
|
1506
|
+
i.stem.replace(it, function(h, u, l, f, c, p) {
|
|
1550
1507
|
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), "";
|
|
1551
1508
|
});
|
|
1552
1509
|
var o = i.options[0];
|
|
1553
|
-
o === "w" ? t =
|
|
1510
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ot(o)));
|
|
1554
1511
|
continue;
|
|
1555
1512
|
}
|
|
1556
|
-
if (
|
|
1557
|
-
t =
|
|
1513
|
+
if (Ft.test(i.stem)) {
|
|
1514
|
+
t = y(y({}, t), ot(i.stem));
|
|
1558
1515
|
continue;
|
|
1559
1516
|
}
|
|
1560
|
-
var s =
|
|
1561
|
-
s && (t =
|
|
1562
|
-
var a =
|
|
1563
|
-
a && (t =
|
|
1517
|
+
var s = kt(i.stem);
|
|
1518
|
+
s && (t = y(y({}, t), s));
|
|
1519
|
+
var a = gn(i.stem);
|
|
1520
|
+
a && (t = y(y({}, t), a));
|
|
1564
1521
|
}
|
|
1565
1522
|
return t;
|
|
1566
1523
|
}
|
|
@@ -2979,13 +2936,13 @@ var oe = {
|
|
|
2979
2936
|
"h"
|
|
2980
2937
|
]
|
|
2981
2938
|
};
|
|
2982
|
-
function
|
|
2939
|
+
function _n(e, t) {
|
|
2983
2940
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2984
2941
|
var i = e.charAt(n);
|
|
2985
2942
|
if (i === "j") {
|
|
2986
2943
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2987
2944
|
o++, n++;
|
|
2988
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2945
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = En(t);
|
|
2989
2946
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2990
2947
|
r += h;
|
|
2991
2948
|
for (; s-- > 0; )
|
|
@@ -2995,7 +2952,7 @@ function wn(e, t) {
|
|
|
2995
2952
|
}
|
|
2996
2953
|
return r;
|
|
2997
2954
|
}
|
|
2998
|
-
function
|
|
2955
|
+
function En(e) {
|
|
2999
2956
|
var t = e.hourCycle;
|
|
3000
2957
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3001
2958
|
e.hourCycles && // @ts-ignore
|
|
@@ -3017,20 +2974,20 @@ function Hn(e) {
|
|
|
3017
2974
|
var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
|
|
3018
2975
|
return i[0];
|
|
3019
2976
|
}
|
|
3020
|
-
var
|
|
3021
|
-
function
|
|
2977
|
+
var Ee, xn = new RegExp("^".concat(Gt.source, "*")), Tn = new RegExp("".concat(Gt.source, "*$"));
|
|
2978
|
+
function d(e, t) {
|
|
3022
2979
|
return { start: e, end: t };
|
|
3023
2980
|
}
|
|
3024
|
-
var
|
|
2981
|
+
var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), wn = !!String.fromCodePoint, Hn = !!Object.fromEntries, Bn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Pn = !!String.prototype.trimEnd, On = !!Number.isSafeInteger, In = On ? Number.isSafeInteger : function(e) {
|
|
3025
2982
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3026
|
-
},
|
|
2983
|
+
}, Ne = !0;
|
|
3027
2984
|
try {
|
|
3028
|
-
var
|
|
3029
|
-
|
|
2985
|
+
var Ln = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2986
|
+
Ne = ((Ee = Ln.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
|
|
3030
2987
|
} catch {
|
|
3031
|
-
|
|
2988
|
+
Ne = !1;
|
|
3032
2989
|
}
|
|
3033
|
-
var
|
|
2990
|
+
var at = Sn ? (
|
|
3034
2991
|
// Native
|
|
3035
2992
|
function(t, r, n) {
|
|
3036
2993
|
return t.startsWith(r, n);
|
|
@@ -3040,7 +2997,7 @@ var ct = Pn ? (
|
|
|
3040
2997
|
function(t, r, n) {
|
|
3041
2998
|
return t.slice(n, n + r.length) === r;
|
|
3042
2999
|
}
|
|
3043
|
-
),
|
|
3000
|
+
), Ce = wn ? String.fromCodePoint : (
|
|
3044
3001
|
// IE11
|
|
3045
3002
|
function() {
|
|
3046
3003
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3052,9 +3009,9 @@ var ct = Pn ? (
|
|
|
3052
3009
|
}
|
|
3053
3010
|
return n;
|
|
3054
3011
|
}
|
|
3055
|
-
),
|
|
3012
|
+
), ut = (
|
|
3056
3013
|
// native
|
|
3057
|
-
|
|
3014
|
+
Hn ? Object.fromEntries : (
|
|
3058
3015
|
// Ponyfill
|
|
3059
3016
|
function(t) {
|
|
3060
3017
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3064,7 +3021,7 @@ var ct = Pn ? (
|
|
|
3064
3021
|
return r;
|
|
3065
3022
|
}
|
|
3066
3023
|
)
|
|
3067
|
-
),
|
|
3024
|
+
), Vt = Bn ? (
|
|
3068
3025
|
// Native
|
|
3069
3026
|
function(t, r) {
|
|
3070
3027
|
return t.codePointAt(r);
|
|
@@ -3078,7 +3035,7 @@ var ct = Pn ? (
|
|
|
3078
3035
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3079
3036
|
}
|
|
3080
3037
|
}
|
|
3081
|
-
),
|
|
3038
|
+
), Nn = An ? (
|
|
3082
3039
|
// Native
|
|
3083
3040
|
function(t) {
|
|
3084
3041
|
return t.trimStart();
|
|
@@ -3086,9 +3043,9 @@ var ct = Pn ? (
|
|
|
3086
3043
|
) : (
|
|
3087
3044
|
// Ponyfill
|
|
3088
3045
|
function(t) {
|
|
3089
|
-
return t.replace(
|
|
3046
|
+
return t.replace(xn, "");
|
|
3090
3047
|
}
|
|
3091
|
-
),
|
|
3048
|
+
), Cn = Pn ? (
|
|
3092
3049
|
// Native
|
|
3093
3050
|
function(t) {
|
|
3094
3051
|
return t.trimEnd();
|
|
@@ -3096,32 +3053,32 @@ var ct = Pn ? (
|
|
|
3096
3053
|
) : (
|
|
3097
3054
|
// Ponyfill
|
|
3098
3055
|
function(t) {
|
|
3099
|
-
return t.replace(
|
|
3056
|
+
return t.replace(Tn, "");
|
|
3100
3057
|
}
|
|
3101
3058
|
);
|
|
3102
|
-
function
|
|
3059
|
+
function Xt(e, t) {
|
|
3103
3060
|
return new RegExp(e, t);
|
|
3104
3061
|
}
|
|
3105
|
-
var
|
|
3106
|
-
if (
|
|
3107
|
-
var
|
|
3108
|
-
|
|
3062
|
+
var Me;
|
|
3063
|
+
if (Ne) {
|
|
3064
|
+
var ht = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3065
|
+
Me = function(t, r) {
|
|
3109
3066
|
var n;
|
|
3110
|
-
|
|
3111
|
-
var i =
|
|
3067
|
+
ht.lastIndex = r;
|
|
3068
|
+
var i = ht.exec(t);
|
|
3112
3069
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3113
3070
|
};
|
|
3114
3071
|
} else
|
|
3115
|
-
|
|
3072
|
+
Me = function(t, r) {
|
|
3116
3073
|
for (var n = []; ; ) {
|
|
3117
|
-
var i =
|
|
3118
|
-
if (i === void 0 ||
|
|
3074
|
+
var i = Vt(t, r);
|
|
3075
|
+
if (i === void 0 || zt(i) || Un(i))
|
|
3119
3076
|
break;
|
|
3120
3077
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3121
3078
|
}
|
|
3122
|
-
return
|
|
3079
|
+
return Ce.apply(void 0, n);
|
|
3123
3080
|
};
|
|
3124
|
-
var
|
|
3081
|
+
var Mn = (
|
|
3125
3082
|
/** @class */
|
|
3126
3083
|
function() {
|
|
3127
3084
|
function e(t, r) {
|
|
@@ -3145,14 +3102,14 @@ var Gn = (
|
|
|
3145
3102
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3146
3103
|
var a = this.clonePosition();
|
|
3147
3104
|
this.bump(), i.push({
|
|
3148
|
-
type:
|
|
3149
|
-
location:
|
|
3105
|
+
type: _.pound,
|
|
3106
|
+
location: d(a, this.clonePosition())
|
|
3150
3107
|
});
|
|
3151
3108
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3152
3109
|
if (n)
|
|
3153
3110
|
break;
|
|
3154
|
-
return this.error(m.UNMATCHED_CLOSING_TAG,
|
|
3155
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3111
|
+
return this.error(m.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
|
|
3112
|
+
} else if (o === 60 && !this.ignoreTag && Re(this.peek() || 0)) {
|
|
3156
3113
|
var s = this.parseTag(t, r);
|
|
3157
3114
|
if (s.err)
|
|
3158
3115
|
return s;
|
|
@@ -3173,9 +3130,9 @@ var Gn = (
|
|
|
3173
3130
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3174
3131
|
return {
|
|
3175
3132
|
val: {
|
|
3176
|
-
type:
|
|
3133
|
+
type: _.literal,
|
|
3177
3134
|
value: "<".concat(i, "/>"),
|
|
3178
|
-
location:
|
|
3135
|
+
location: d(n, this.clonePosition())
|
|
3179
3136
|
},
|
|
3180
3137
|
err: null
|
|
3181
3138
|
};
|
|
@@ -3185,25 +3142,25 @@ var Gn = (
|
|
|
3185
3142
|
return o;
|
|
3186
3143
|
var s = o.val, a = this.clonePosition();
|
|
3187
3144
|
if (this.bumpIf("</")) {
|
|
3188
|
-
if (this.isEOF() || !
|
|
3189
|
-
return this.error(m.INVALID_TAG,
|
|
3145
|
+
if (this.isEOF() || !Re(this.char()))
|
|
3146
|
+
return this.error(m.INVALID_TAG, d(a, this.clonePosition()));
|
|
3190
3147
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3191
|
-
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG,
|
|
3148
|
+
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, d(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3192
3149
|
val: {
|
|
3193
|
-
type:
|
|
3150
|
+
type: _.tag,
|
|
3194
3151
|
value: i,
|
|
3195
3152
|
children: s,
|
|
3196
|
-
location:
|
|
3153
|
+
location: d(n, this.clonePosition())
|
|
3197
3154
|
},
|
|
3198
3155
|
err: null
|
|
3199
|
-
} : this.error(m.INVALID_TAG,
|
|
3156
|
+
} : this.error(m.INVALID_TAG, d(a, this.clonePosition())));
|
|
3200
3157
|
} else
|
|
3201
|
-
return this.error(m.UNCLOSED_TAG,
|
|
3158
|
+
return this.error(m.UNCLOSED_TAG, d(n, this.clonePosition()));
|
|
3202
3159
|
} else
|
|
3203
|
-
return this.error(m.INVALID_TAG,
|
|
3160
|
+
return this.error(m.INVALID_TAG, d(n, this.clonePosition()));
|
|
3204
3161
|
}, e.prototype.parseTagName = function() {
|
|
3205
3162
|
var t = this.offset();
|
|
3206
|
-
for (this.bump(); !this.isEOF() &&
|
|
3163
|
+
for (this.bump(); !this.isEOF() && $n(this.char()); )
|
|
3207
3164
|
this.bump();
|
|
3208
3165
|
return this.message.slice(t, this.offset());
|
|
3209
3166
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3225,14 +3182,14 @@ var Gn = (
|
|
|
3225
3182
|
}
|
|
3226
3183
|
break;
|
|
3227
3184
|
}
|
|
3228
|
-
var h =
|
|
3185
|
+
var h = d(n, this.clonePosition());
|
|
3229
3186
|
return {
|
|
3230
|
-
val: { type:
|
|
3187
|
+
val: { type: _.literal, value: i, location: h },
|
|
3231
3188
|
err: null
|
|
3232
3189
|
};
|
|
3233
3190
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3234
3191
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3235
|
-
!
|
|
3192
|
+
!Rn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3236
3193
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3237
3194
|
if (this.isEOF() || this.char() !== 39)
|
|
3238
3195
|
return null;
|
|
@@ -3266,49 +3223,49 @@ var Gn = (
|
|
|
3266
3223
|
r.push(n);
|
|
3267
3224
|
this.bump();
|
|
3268
3225
|
}
|
|
3269
|
-
return
|
|
3226
|
+
return Ce.apply(void 0, r);
|
|
3270
3227
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3271
3228
|
if (this.isEOF())
|
|
3272
3229
|
return null;
|
|
3273
3230
|
var n = this.char();
|
|
3274
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3231
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ce(n));
|
|
3275
3232
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3276
3233
|
var n = this.clonePosition();
|
|
3277
3234
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3278
|
-
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3235
|
+
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
|
|
3279
3236
|
if (this.char() === 125)
|
|
3280
|
-
return this.bump(), this.error(m.EMPTY_ARGUMENT,
|
|
3237
|
+
return this.bump(), this.error(m.EMPTY_ARGUMENT, d(n, this.clonePosition()));
|
|
3281
3238
|
var i = this.parseIdentifierIfPossible().value;
|
|
3282
3239
|
if (!i)
|
|
3283
|
-
return this.error(m.MALFORMED_ARGUMENT,
|
|
3240
|
+
return this.error(m.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
|
|
3284
3241
|
if (this.bumpSpace(), this.isEOF())
|
|
3285
|
-
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3242
|
+
return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
|
|
3286
3243
|
switch (this.char()) {
|
|
3287
3244
|
case 125:
|
|
3288
3245
|
return this.bump(), {
|
|
3289
3246
|
val: {
|
|
3290
|
-
type:
|
|
3247
|
+
type: _.argument,
|
|
3291
3248
|
// value does not include the opening and closing braces.
|
|
3292
3249
|
value: i,
|
|
3293
|
-
location:
|
|
3250
|
+
location: d(n, this.clonePosition())
|
|
3294
3251
|
},
|
|
3295
3252
|
err: null
|
|
3296
3253
|
};
|
|
3297
3254
|
case 44:
|
|
3298
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3255
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3299
3256
|
default:
|
|
3300
|
-
return this.error(m.MALFORMED_ARGUMENT,
|
|
3257
|
+
return this.error(m.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
|
|
3301
3258
|
}
|
|
3302
3259
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3303
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3260
|
+
var t = this.clonePosition(), r = this.offset(), n = Me(this.message, r), i = r + n.length;
|
|
3304
3261
|
this.bumpTo(i);
|
|
3305
|
-
var o = this.clonePosition(), s =
|
|
3262
|
+
var o = this.clonePosition(), s = d(t, o);
|
|
3306
3263
|
return { value: n, location: s };
|
|
3307
3264
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3308
3265
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3309
3266
|
switch (a) {
|
|
3310
3267
|
case "":
|
|
3311
|
-
return this.error(m.EXPECT_ARGUMENT_TYPE,
|
|
3268
|
+
return this.error(m.EXPECT_ARGUMENT_TYPE, d(s, h));
|
|
3312
3269
|
case "number":
|
|
3313
3270
|
case "date":
|
|
3314
3271
|
case "time": {
|
|
@@ -3319,46 +3276,46 @@ var Gn = (
|
|
|
3319
3276
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3320
3277
|
if (f.err)
|
|
3321
3278
|
return f;
|
|
3322
|
-
var c =
|
|
3279
|
+
var c = Cn(f.val);
|
|
3323
3280
|
if (c.length === 0)
|
|
3324
|
-
return this.error(m.EXPECT_ARGUMENT_STYLE,
|
|
3325
|
-
var p =
|
|
3281
|
+
return this.error(m.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
|
|
3282
|
+
var p = d(l, this.clonePosition());
|
|
3326
3283
|
u = { style: c, styleLocation: p };
|
|
3327
3284
|
}
|
|
3328
|
-
var
|
|
3329
|
-
if (
|
|
3330
|
-
return
|
|
3331
|
-
var
|
|
3332
|
-
if (u &&
|
|
3333
|
-
var x =
|
|
3285
|
+
var b = this.tryParseArgumentClose(i);
|
|
3286
|
+
if (b.err)
|
|
3287
|
+
return b;
|
|
3288
|
+
var g = d(i, this.clonePosition());
|
|
3289
|
+
if (u && at(u?.style, "::", 0)) {
|
|
3290
|
+
var x = Nn(u.style.slice(2));
|
|
3334
3291
|
if (a === "number") {
|
|
3335
3292
|
var f = this.parseNumberSkeletonFromString(x, u.styleLocation);
|
|
3336
3293
|
return f.err ? f : {
|
|
3337
|
-
val: { type:
|
|
3294
|
+
val: { type: _.number, value: n, location: g, style: f.val },
|
|
3338
3295
|
err: null
|
|
3339
3296
|
};
|
|
3340
3297
|
} else {
|
|
3341
3298
|
if (x.length === 0)
|
|
3342
|
-
return this.error(m.EXPECT_DATE_TIME_SKELETON,
|
|
3299
|
+
return this.error(m.EXPECT_DATE_TIME_SKELETON, g);
|
|
3343
3300
|
var I = x;
|
|
3344
|
-
this.locale && (I =
|
|
3301
|
+
this.locale && (I = _n(x, this.locale));
|
|
3345
3302
|
var c = {
|
|
3346
|
-
type:
|
|
3303
|
+
type: F.dateTime,
|
|
3347
3304
|
pattern: I,
|
|
3348
3305
|
location: u.styleLocation,
|
|
3349
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3350
|
-
},
|
|
3306
|
+
parsedOptions: this.shouldParseSkeletons ? pn(I) : {}
|
|
3307
|
+
}, v = a === "date" ? _.date : _.time;
|
|
3351
3308
|
return {
|
|
3352
|
-
val: { type:
|
|
3309
|
+
val: { type: v, value: n, location: g, style: c },
|
|
3353
3310
|
err: null
|
|
3354
3311
|
};
|
|
3355
3312
|
}
|
|
3356
3313
|
}
|
|
3357
3314
|
return {
|
|
3358
3315
|
val: {
|
|
3359
|
-
type: a === "number" ?
|
|
3316
|
+
type: a === "number" ? _.number : a === "date" ? _.date : _.time,
|
|
3360
3317
|
value: n,
|
|
3361
|
-
location:
|
|
3318
|
+
location: g,
|
|
3362
3319
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3363
3320
|
},
|
|
3364
3321
|
err: null
|
|
@@ -3369,50 +3326,50 @@ var Gn = (
|
|
|
3369
3326
|
case "select": {
|
|
3370
3327
|
var w = this.clonePosition();
|
|
3371
3328
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3372
|
-
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3329
|
+
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, d(w, y({}, w)));
|
|
3373
3330
|
this.bumpSpace();
|
|
3374
|
-
var
|
|
3375
|
-
if (a !== "select" &&
|
|
3331
|
+
var W = this.parseIdentifierIfPossible(), L = 0;
|
|
3332
|
+
if (a !== "select" && W.value === "offset") {
|
|
3376
3333
|
if (!this.bumpIf(":"))
|
|
3377
|
-
return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3334
|
+
return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
|
|
3378
3335
|
this.bumpSpace();
|
|
3379
3336
|
var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3380
3337
|
if (f.err)
|
|
3381
3338
|
return f;
|
|
3382
|
-
this.bumpSpace(),
|
|
3339
|
+
this.bumpSpace(), W = this.parseIdentifierIfPossible(), L = f.val;
|
|
3383
3340
|
}
|
|
3384
|
-
var ne = this.tryParsePluralOrSelectOptions(t, a, r,
|
|
3341
|
+
var ne = this.tryParsePluralOrSelectOptions(t, a, r, W);
|
|
3385
3342
|
if (ne.err)
|
|
3386
3343
|
return ne;
|
|
3387
|
-
var
|
|
3388
|
-
if (
|
|
3389
|
-
return
|
|
3390
|
-
var
|
|
3344
|
+
var b = this.tryParseArgumentClose(i);
|
|
3345
|
+
if (b.err)
|
|
3346
|
+
return b;
|
|
3347
|
+
var Ve = d(i, this.clonePosition());
|
|
3391
3348
|
return a === "select" ? {
|
|
3392
3349
|
val: {
|
|
3393
|
-
type:
|
|
3350
|
+
type: _.select,
|
|
3394
3351
|
value: n,
|
|
3395
|
-
options:
|
|
3396
|
-
location:
|
|
3352
|
+
options: ut(ne.val),
|
|
3353
|
+
location: Ve
|
|
3397
3354
|
},
|
|
3398
3355
|
err: null
|
|
3399
3356
|
} : {
|
|
3400
3357
|
val: {
|
|
3401
|
-
type:
|
|
3358
|
+
type: _.plural,
|
|
3402
3359
|
value: n,
|
|
3403
|
-
options:
|
|
3360
|
+
options: ut(ne.val),
|
|
3404
3361
|
offset: L,
|
|
3405
3362
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3406
|
-
location:
|
|
3363
|
+
location: Ve
|
|
3407
3364
|
},
|
|
3408
3365
|
err: null
|
|
3409
3366
|
};
|
|
3410
3367
|
}
|
|
3411
3368
|
default:
|
|
3412
|
-
return this.error(m.INVALID_ARGUMENT_TYPE,
|
|
3369
|
+
return this.error(m.INVALID_ARGUMENT_TYPE, d(s, h));
|
|
3413
3370
|
}
|
|
3414
3371
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3415
|
-
return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3372
|
+
return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3416
3373
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3417
3374
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3418
3375
|
var n = this.char();
|
|
@@ -3421,7 +3378,7 @@ var Gn = (
|
|
|
3421
3378
|
this.bump();
|
|
3422
3379
|
var i = this.clonePosition();
|
|
3423
3380
|
if (!this.bumpUntil("'"))
|
|
3424
|
-
return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3381
|
+
return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
|
|
3425
3382
|
this.bump();
|
|
3426
3383
|
break;
|
|
3427
3384
|
}
|
|
@@ -3451,16 +3408,16 @@ var Gn = (
|
|
|
3451
3408
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3452
3409
|
var n = [];
|
|
3453
3410
|
try {
|
|
3454
|
-
n =
|
|
3411
|
+
n = bn(t);
|
|
3455
3412
|
} catch {
|
|
3456
3413
|
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
|
3457
3414
|
}
|
|
3458
3415
|
return {
|
|
3459
3416
|
val: {
|
|
3460
|
-
type:
|
|
3417
|
+
type: F.number,
|
|
3461
3418
|
tokens: n,
|
|
3462
3419
|
location: r,
|
|
3463
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3420
|
+
parsedOptions: this.shouldParseSkeletons ? yn(n) : {}
|
|
3464
3421
|
},
|
|
3465
3422
|
err: null
|
|
3466
3423
|
};
|
|
@@ -3472,7 +3429,7 @@ var Gn = (
|
|
|
3472
3429
|
var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3473
3430
|
if (c.err)
|
|
3474
3431
|
return c;
|
|
3475
|
-
l =
|
|
3432
|
+
l = d(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3476
3433
|
} else
|
|
3477
3434
|
break;
|
|
3478
3435
|
}
|
|
@@ -3481,22 +3438,22 @@ var Gn = (
|
|
|
3481
3438
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3482
3439
|
var p = this.clonePosition();
|
|
3483
3440
|
if (!this.bumpIf("{"))
|
|
3484
|
-
return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3485
|
-
var
|
|
3486
|
-
if (
|
|
3487
|
-
return
|
|
3488
|
-
var
|
|
3489
|
-
if (
|
|
3490
|
-
return
|
|
3441
|
+
return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
|
|
3442
|
+
var b = this.parseMessage(t + 1, r, n);
|
|
3443
|
+
if (b.err)
|
|
3444
|
+
return b;
|
|
3445
|
+
var g = this.tryParseArgumentClose(p);
|
|
3446
|
+
if (g.err)
|
|
3447
|
+
return g;
|
|
3491
3448
|
a.push([
|
|
3492
3449
|
u,
|
|
3493
3450
|
{
|
|
3494
|
-
value:
|
|
3495
|
-
location:
|
|
3451
|
+
value: b.val,
|
|
3452
|
+
location: d(p, this.clonePosition())
|
|
3496
3453
|
}
|
|
3497
3454
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3498
3455
|
}
|
|
3499
|
-
return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3456
|
+
return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(m.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3500
3457
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3501
3458
|
var n = 1, i = this.clonePosition();
|
|
3502
3459
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3507,8 +3464,8 @@ var Gn = (
|
|
|
3507
3464
|
else
|
|
3508
3465
|
break;
|
|
3509
3466
|
}
|
|
3510
|
-
var h =
|
|
3511
|
-
return o ? (s *= n,
|
|
3467
|
+
var h = d(i, this.clonePosition());
|
|
3468
|
+
return o ? (s *= n, In(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3512
3469
|
}, e.prototype.offset = function() {
|
|
3513
3470
|
return this.position.offset;
|
|
3514
3471
|
}, e.prototype.isEOF = function() {
|
|
@@ -3523,7 +3480,7 @@ var Gn = (
|
|
|
3523
3480
|
var t = this.position.offset;
|
|
3524
3481
|
if (t >= this.message.length)
|
|
3525
3482
|
throw Error("out of bound");
|
|
3526
|
-
var r =
|
|
3483
|
+
var r = Vt(this.message, t);
|
|
3527
3484
|
if (r === void 0)
|
|
3528
3485
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3529
3486
|
return r;
|
|
@@ -3542,7 +3499,7 @@ var Gn = (
|
|
|
3542
3499
|
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);
|
|
3543
3500
|
}
|
|
3544
3501
|
}, e.prototype.bumpIf = function(t) {
|
|
3545
|
-
if (
|
|
3502
|
+
if (at(this.message, t, this.offset())) {
|
|
3546
3503
|
for (var r = 0; r < t.length; r++)
|
|
3547
3504
|
this.bump();
|
|
3548
3505
|
return !0;
|
|
@@ -3564,7 +3521,7 @@ var Gn = (
|
|
|
3564
3521
|
break;
|
|
3565
3522
|
}
|
|
3566
3523
|
}, e.prototype.bumpSpace = function() {
|
|
3567
|
-
for (; !this.isEOF() &&
|
|
3524
|
+
for (; !this.isEOF() && zt(this.char()); )
|
|
3568
3525
|
this.bump();
|
|
3569
3526
|
}, e.prototype.peek = function() {
|
|
3570
3527
|
if (this.isEOF())
|
|
@@ -3574,47 +3531,47 @@ var Gn = (
|
|
|
3574
3531
|
}, e;
|
|
3575
3532
|
}()
|
|
3576
3533
|
);
|
|
3577
|
-
function
|
|
3534
|
+
function Re(e) {
|
|
3578
3535
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3579
3536
|
}
|
|
3580
|
-
function
|
|
3581
|
-
return
|
|
3537
|
+
function Rn(e) {
|
|
3538
|
+
return Re(e) || e === 47;
|
|
3582
3539
|
}
|
|
3583
|
-
function
|
|
3540
|
+
function $n(e) {
|
|
3584
3541
|
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;
|
|
3585
3542
|
}
|
|
3586
|
-
function
|
|
3543
|
+
function zt(e) {
|
|
3587
3544
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3588
3545
|
}
|
|
3589
|
-
function
|
|
3546
|
+
function Un(e) {
|
|
3590
3547
|
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;
|
|
3591
3548
|
}
|
|
3592
|
-
function
|
|
3549
|
+
function $e(e) {
|
|
3593
3550
|
e.forEach(function(t) {
|
|
3594
|
-
if (delete t.location,
|
|
3551
|
+
if (delete t.location, Rt(t) || $t(t))
|
|
3595
3552
|
for (var r in t.options)
|
|
3596
|
-
delete t.options[r].location,
|
|
3553
|
+
delete t.options[r].location, $e(t.options[r].value);
|
|
3597
3554
|
else
|
|
3598
|
-
|
|
3555
|
+
Nt(t) && Dt(t.style) || (Ct(t) || Mt(t)) && Le(t.style) ? delete t.style.location : Ut(t) && $e(t.children);
|
|
3599
3556
|
});
|
|
3600
3557
|
}
|
|
3601
|
-
function
|
|
3602
|
-
t === void 0 && (t = {}), t =
|
|
3603
|
-
var r = new
|
|
3558
|
+
function Dn(e, t) {
|
|
3559
|
+
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3560
|
+
var r = new Mn(e, t).parse();
|
|
3604
3561
|
if (r.err) {
|
|
3605
3562
|
var n = SyntaxError(m[r.err.kind]);
|
|
3606
3563
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3607
3564
|
}
|
|
3608
|
-
return t?.captureLocation ||
|
|
3565
|
+
return t?.captureLocation || $e(r.val), r.val;
|
|
3609
3566
|
}
|
|
3610
|
-
var
|
|
3567
|
+
var j;
|
|
3611
3568
|
(function(e) {
|
|
3612
3569
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3613
|
-
})(
|
|
3614
|
-
var
|
|
3570
|
+
})(j || (j = {}));
|
|
3571
|
+
var me = (
|
|
3615
3572
|
/** @class */
|
|
3616
3573
|
function(e) {
|
|
3617
|
-
|
|
3574
|
+
B(t, e);
|
|
3618
3575
|
function t(r, n, i) {
|
|
3619
3576
|
var o = e.call(this, r) || this;
|
|
3620
3577
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3623,48 +3580,48 @@ var be = (
|
|
|
3623
3580
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3624
3581
|
}, t;
|
|
3625
3582
|
}(Error)
|
|
3626
|
-
),
|
|
3583
|
+
), lt = (
|
|
3627
3584
|
/** @class */
|
|
3628
3585
|
function(e) {
|
|
3629
|
-
|
|
3586
|
+
B(t, e);
|
|
3630
3587
|
function t(r, n, i, o) {
|
|
3631
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3588
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
|
|
3632
3589
|
}
|
|
3633
3590
|
return t;
|
|
3634
|
-
}(
|
|
3635
|
-
),
|
|
3591
|
+
}(me)
|
|
3592
|
+
), Gn = (
|
|
3636
3593
|
/** @class */
|
|
3637
3594
|
function(e) {
|
|
3638
|
-
|
|
3595
|
+
B(t, e);
|
|
3639
3596
|
function t(r, n, i) {
|
|
3640
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3597
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
|
|
3641
3598
|
}
|
|
3642
3599
|
return t;
|
|
3643
|
-
}(
|
|
3644
|
-
),
|
|
3600
|
+
}(me)
|
|
3601
|
+
), Fn = (
|
|
3645
3602
|
/** @class */
|
|
3646
3603
|
function(e) {
|
|
3647
|
-
|
|
3604
|
+
B(t, e);
|
|
3648
3605
|
function t(r, n) {
|
|
3649
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3606
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
|
|
3650
3607
|
}
|
|
3651
3608
|
return t;
|
|
3652
|
-
}(
|
|
3609
|
+
}(me)
|
|
3653
3610
|
), E;
|
|
3654
3611
|
(function(e) {
|
|
3655
3612
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3656
3613
|
})(E || (E = {}));
|
|
3657
|
-
function
|
|
3614
|
+
function jn(e) {
|
|
3658
3615
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3659
3616
|
var n = t[t.length - 1];
|
|
3660
3617
|
return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
|
|
3661
3618
|
}, []);
|
|
3662
3619
|
}
|
|
3663
|
-
function
|
|
3620
|
+
function kn(e) {
|
|
3664
3621
|
return typeof e == "function";
|
|
3665
3622
|
}
|
|
3666
3623
|
function ue(e, t, r, n, i, o, s) {
|
|
3667
|
-
if (e.length === 1 &&
|
|
3624
|
+
if (e.length === 1 && nt(e[0]))
|
|
3668
3625
|
return [
|
|
3669
3626
|
{
|
|
3670
3627
|
type: E.literal,
|
|
@@ -3673,14 +3630,14 @@ function ue(e, t, r, n, i, o, s) {
|
|
|
3673
3630
|
];
|
|
3674
3631
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3675
3632
|
var l = u[h];
|
|
3676
|
-
if (
|
|
3633
|
+
if (nt(l)) {
|
|
3677
3634
|
a.push({
|
|
3678
3635
|
type: E.literal,
|
|
3679
3636
|
value: l.value
|
|
3680
3637
|
});
|
|
3681
3638
|
continue;
|
|
3682
3639
|
}
|
|
3683
|
-
if (
|
|
3640
|
+
if (fn(l)) {
|
|
3684
3641
|
typeof o == "number" && a.push({
|
|
3685
3642
|
type: E.literal,
|
|
3686
3643
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3689,89 +3646,89 @@ function ue(e, t, r, n, i, o, s) {
|
|
|
3689
3646
|
}
|
|
3690
3647
|
var f = l.value;
|
|
3691
3648
|
if (!(i && f in i))
|
|
3692
|
-
throw new
|
|
3649
|
+
throw new Fn(f, s);
|
|
3693
3650
|
var c = i[f];
|
|
3694
|
-
if (
|
|
3651
|
+
if (ln(l)) {
|
|
3695
3652
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3696
3653
|
type: typeof c == "string" ? E.literal : E.object,
|
|
3697
3654
|
value: c
|
|
3698
3655
|
});
|
|
3699
3656
|
continue;
|
|
3700
3657
|
}
|
|
3701
|
-
if (
|
|
3702
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3658
|
+
if (Ct(l)) {
|
|
3659
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Le(l.style) ? l.style.parsedOptions : void 0;
|
|
3703
3660
|
a.push({
|
|
3704
3661
|
type: E.literal,
|
|
3705
3662
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3706
3663
|
});
|
|
3707
3664
|
continue;
|
|
3708
3665
|
}
|
|
3709
|
-
if (
|
|
3710
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3666
|
+
if (Mt(l)) {
|
|
3667
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Le(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3711
3668
|
a.push({
|
|
3712
3669
|
type: E.literal,
|
|
3713
3670
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3714
3671
|
});
|
|
3715
3672
|
continue;
|
|
3716
3673
|
}
|
|
3717
|
-
if (
|
|
3718
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3674
|
+
if (Nt(l)) {
|
|
3675
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Dt(l.style) ? l.style.parsedOptions : void 0;
|
|
3719
3676
|
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3720
3677
|
type: E.literal,
|
|
3721
3678
|
value: r.getNumberFormat(t, p).format(c)
|
|
3722
3679
|
});
|
|
3723
3680
|
continue;
|
|
3724
3681
|
}
|
|
3725
|
-
if (
|
|
3726
|
-
var
|
|
3727
|
-
if (!
|
|
3728
|
-
throw new
|
|
3729
|
-
var I = ue(
|
|
3682
|
+
if (Ut(l)) {
|
|
3683
|
+
var b = l.children, g = l.value, x = i[g];
|
|
3684
|
+
if (!kn(x))
|
|
3685
|
+
throw new Gn(g, "function", s);
|
|
3686
|
+
var I = ue(b, t, r, n, i, o), v = x(I.map(function(L) {
|
|
3730
3687
|
return L.value;
|
|
3731
3688
|
}));
|
|
3732
|
-
Array.isArray(
|
|
3689
|
+
Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(L) {
|
|
3733
3690
|
return {
|
|
3734
3691
|
type: typeof L == "string" ? E.literal : E.object,
|
|
3735
3692
|
value: L
|
|
3736
3693
|
};
|
|
3737
3694
|
}));
|
|
3738
3695
|
}
|
|
3739
|
-
if (
|
|
3696
|
+
if (Rt(l)) {
|
|
3740
3697
|
var w = l.options[c] || l.options.other;
|
|
3741
3698
|
if (!w)
|
|
3742
|
-
throw new
|
|
3699
|
+
throw new lt(l.value, c, Object.keys(l.options), s);
|
|
3743
3700
|
a.push.apply(a, ue(w.value, t, r, n, i));
|
|
3744
3701
|
continue;
|
|
3745
3702
|
}
|
|
3746
|
-
if (
|
|
3703
|
+
if ($t(l)) {
|
|
3747
3704
|
var w = l.options["=".concat(c)];
|
|
3748
3705
|
if (!w) {
|
|
3749
3706
|
if (!Intl.PluralRules)
|
|
3750
|
-
throw new
|
|
3707
|
+
throw new me(`Intl.PluralRules is not available in this environment.
|
|
3751
3708
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3752
|
-
`,
|
|
3753
|
-
var
|
|
3754
|
-
w = l.options[
|
|
3709
|
+
`, j.MISSING_INTL_API, s);
|
|
3710
|
+
var W = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3711
|
+
w = l.options[W] || l.options.other;
|
|
3755
3712
|
}
|
|
3756
3713
|
if (!w)
|
|
3757
|
-
throw new
|
|
3714
|
+
throw new lt(l.value, c, Object.keys(l.options), s);
|
|
3758
3715
|
a.push.apply(a, ue(w.value, t, r, n, i, c - (l.offset || 0)));
|
|
3759
3716
|
continue;
|
|
3760
3717
|
}
|
|
3761
3718
|
}
|
|
3762
|
-
return
|
|
3719
|
+
return jn(a);
|
|
3763
3720
|
}
|
|
3764
|
-
function
|
|
3765
|
-
return t ?
|
|
3766
|
-
return r[n] =
|
|
3721
|
+
function Vn(e, t) {
|
|
3722
|
+
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3723
|
+
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3767
3724
|
}, {})) : e;
|
|
3768
3725
|
}
|
|
3769
|
-
function
|
|
3726
|
+
function Xn(e, t) {
|
|
3770
3727
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3771
|
-
return r[n] =
|
|
3772
|
-
},
|
|
3728
|
+
return r[n] = Vn(e[n], t[n]), r;
|
|
3729
|
+
}, y({}, e)) : e;
|
|
3773
3730
|
}
|
|
3774
|
-
function
|
|
3731
|
+
function xe(e) {
|
|
3775
3732
|
return {
|
|
3776
3733
|
create: function() {
|
|
3777
3734
|
return {
|
|
@@ -3785,39 +3742,39 @@ function we(e) {
|
|
|
3785
3742
|
}
|
|
3786
3743
|
};
|
|
3787
3744
|
}
|
|
3788
|
-
function
|
|
3745
|
+
function zn(e) {
|
|
3789
3746
|
return e === void 0 && (e = {
|
|
3790
3747
|
number: {},
|
|
3791
3748
|
dateTime: {},
|
|
3792
3749
|
pluralRules: {}
|
|
3793
3750
|
}), {
|
|
3794
|
-
getNumberFormat:
|
|
3751
|
+
getNumberFormat: ye(function() {
|
|
3795
3752
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3796
3753
|
r[n] = arguments[n];
|
|
3797
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3754
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, D([void 0], r, !1)))();
|
|
3798
3755
|
}, {
|
|
3799
|
-
cache:
|
|
3800
|
-
strategy:
|
|
3756
|
+
cache: xe(e.number),
|
|
3757
|
+
strategy: _e.variadic
|
|
3801
3758
|
}),
|
|
3802
|
-
getDateTimeFormat:
|
|
3759
|
+
getDateTimeFormat: ye(function() {
|
|
3803
3760
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3804
3761
|
r[n] = arguments[n];
|
|
3805
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3762
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, D([void 0], r, !1)))();
|
|
3806
3763
|
}, {
|
|
3807
|
-
cache:
|
|
3808
|
-
strategy:
|
|
3764
|
+
cache: xe(e.dateTime),
|
|
3765
|
+
strategy: _e.variadic
|
|
3809
3766
|
}),
|
|
3810
|
-
getPluralRules:
|
|
3767
|
+
getPluralRules: ye(function() {
|
|
3811
3768
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3812
3769
|
r[n] = arguments[n];
|
|
3813
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3770
|
+
return new ((t = Intl.PluralRules).bind.apply(t, D([void 0], r, !1)))();
|
|
3814
3771
|
}, {
|
|
3815
|
-
cache:
|
|
3816
|
-
strategy:
|
|
3772
|
+
cache: xe(e.pluralRules),
|
|
3773
|
+
strategy: _e.variadic
|
|
3817
3774
|
})
|
|
3818
3775
|
};
|
|
3819
3776
|
}
|
|
3820
|
-
var
|
|
3777
|
+
var Wn = (
|
|
3821
3778
|
/** @class */
|
|
3822
3779
|
function() {
|
|
3823
3780
|
function e(t, r, n, i) {
|
|
@@ -3849,13 +3806,13 @@ var qn = (
|
|
|
3849
3806
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3850
3807
|
var s = i || {};
|
|
3851
3808
|
s.formatters;
|
|
3852
|
-
var a =
|
|
3853
|
-
this.ast = e.__parse(t,
|
|
3809
|
+
var a = Sr(s, ["formatters"]);
|
|
3810
|
+
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3854
3811
|
} else
|
|
3855
3812
|
this.ast = t;
|
|
3856
3813
|
if (!Array.isArray(this.ast))
|
|
3857
3814
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3858
|
-
this.formats =
|
|
3815
|
+
this.formats = Xn(e.formats, n), this.formatters = i && i.formatters || zn(this.formatterCache);
|
|
3859
3816
|
}
|
|
3860
3817
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3861
3818
|
get: function() {
|
|
@@ -3868,7 +3825,7 @@ var qn = (
|
|
|
3868
3825
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3869
3826
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3870
3827
|
}
|
|
3871
|
-
}, e.__parse =
|
|
3828
|
+
}, e.__parse = Dn, e.formats = {
|
|
3872
3829
|
number: {
|
|
3873
3830
|
integer: {
|
|
3874
3831
|
maximumFractionDigits: 0
|
|
@@ -3929,7 +3886,7 @@ var qn = (
|
|
|
3929
3886
|
}, e;
|
|
3930
3887
|
}()
|
|
3931
3888
|
);
|
|
3932
|
-
function
|
|
3889
|
+
function Zn(e, t) {
|
|
3933
3890
|
if (t == null)
|
|
3934
3891
|
return;
|
|
3935
3892
|
if (t in e)
|
|
@@ -3950,92 +3907,92 @@ function Kn(e, t) {
|
|
|
3950
3907
|
n = void 0;
|
|
3951
3908
|
return n;
|
|
3952
3909
|
}
|
|
3953
|
-
const P = {},
|
|
3910
|
+
const P = {}, Qn = (e, t, r) => r && (t in P || (P[t] = {}), e in P[t] || (P[t][e] = r), r), Wt = (e, t) => {
|
|
3954
3911
|
if (t == null)
|
|
3955
3912
|
return;
|
|
3956
3913
|
if (t in P && e in P[t])
|
|
3957
3914
|
return P[t][e];
|
|
3958
|
-
const r =
|
|
3915
|
+
const r = be(t);
|
|
3959
3916
|
for (let n = 0; n < r.length; n++) {
|
|
3960
|
-
const i = r[n], o =
|
|
3917
|
+
const i = r[n], o = Yn(i, e);
|
|
3961
3918
|
if (o)
|
|
3962
|
-
return
|
|
3919
|
+
return Qn(e, t, o);
|
|
3963
3920
|
}
|
|
3964
3921
|
};
|
|
3965
|
-
let
|
|
3966
|
-
const te =
|
|
3967
|
-
function
|
|
3968
|
-
return
|
|
3922
|
+
let je;
|
|
3923
|
+
const te = pe({});
|
|
3924
|
+
function Jn(e) {
|
|
3925
|
+
return je[e] || null;
|
|
3969
3926
|
}
|
|
3970
|
-
function
|
|
3971
|
-
return e in
|
|
3927
|
+
function Zt(e) {
|
|
3928
|
+
return e in je;
|
|
3972
3929
|
}
|
|
3973
|
-
function
|
|
3974
|
-
if (!
|
|
3930
|
+
function Yn(e, t) {
|
|
3931
|
+
if (!Zt(e))
|
|
3975
3932
|
return null;
|
|
3976
|
-
const r =
|
|
3977
|
-
return
|
|
3933
|
+
const r = Jn(e);
|
|
3934
|
+
return Zn(r, t);
|
|
3978
3935
|
}
|
|
3979
|
-
function
|
|
3936
|
+
function qn(e) {
|
|
3980
3937
|
if (e == null)
|
|
3981
3938
|
return;
|
|
3982
|
-
const t =
|
|
3939
|
+
const t = be(e);
|
|
3983
3940
|
for (let r = 0; r < t.length; r++) {
|
|
3984
3941
|
const n = t[r];
|
|
3985
|
-
if (
|
|
3942
|
+
if (Zt(n))
|
|
3986
3943
|
return n;
|
|
3987
3944
|
}
|
|
3988
3945
|
}
|
|
3989
|
-
function
|
|
3990
|
-
delete P[e], te.update((r) => (r[e] =
|
|
3946
|
+
function Kn(e, ...t) {
|
|
3947
|
+
delete P[e], te.update((r) => (r[e] = tn.all([r[e] || {}, ...t]), r));
|
|
3991
3948
|
}
|
|
3992
|
-
|
|
3949
|
+
X(
|
|
3993
3950
|
[te],
|
|
3994
3951
|
([e]) => Object.keys(e)
|
|
3995
3952
|
);
|
|
3996
|
-
te.subscribe((e) =>
|
|
3953
|
+
te.subscribe((e) => je = e);
|
|
3997
3954
|
const he = {};
|
|
3998
|
-
function
|
|
3955
|
+
function ei(e, t) {
|
|
3999
3956
|
he[e].delete(t), he[e].size === 0 && delete he[e];
|
|
4000
3957
|
}
|
|
4001
|
-
function
|
|
3958
|
+
function Qt(e) {
|
|
4002
3959
|
return he[e];
|
|
4003
3960
|
}
|
|
4004
|
-
function
|
|
4005
|
-
return
|
|
4006
|
-
const r =
|
|
3961
|
+
function ti(e) {
|
|
3962
|
+
return be(e).map((t) => {
|
|
3963
|
+
const r = Qt(t);
|
|
4007
3964
|
return [t, r ? [...r] : []];
|
|
4008
3965
|
}).filter(([, t]) => t.length > 0);
|
|
4009
3966
|
}
|
|
4010
|
-
function
|
|
4011
|
-
return e == null ? !1 :
|
|
3967
|
+
function Ue(e) {
|
|
3968
|
+
return e == null ? !1 : be(e).some(
|
|
4012
3969
|
(t) => {
|
|
4013
3970
|
var r;
|
|
4014
|
-
return (r =
|
|
3971
|
+
return (r = Qt(t)) == null ? void 0 : r.size;
|
|
4015
3972
|
}
|
|
4016
3973
|
);
|
|
4017
3974
|
}
|
|
4018
|
-
function
|
|
3975
|
+
function ri(e, t) {
|
|
4019
3976
|
return Promise.all(
|
|
4020
|
-
t.map((n) => (
|
|
4021
|
-
).then((n) =>
|
|
4022
|
-
}
|
|
4023
|
-
const
|
|
4024
|
-
function
|
|
4025
|
-
if (!
|
|
4026
|
-
return e in
|
|
4027
|
-
const t =
|
|
4028
|
-
return
|
|
3977
|
+
t.map((n) => (ei(e, n), n().then((i) => i.default || i)))
|
|
3978
|
+
).then((n) => Kn(e, ...n));
|
|
3979
|
+
}
|
|
3980
|
+
const Z = {};
|
|
3981
|
+
function Jt(e) {
|
|
3982
|
+
if (!Ue(e))
|
|
3983
|
+
return e in Z ? Z[e] : Promise.resolve();
|
|
3984
|
+
const t = ti(e);
|
|
3985
|
+
return Z[e] = Promise.all(
|
|
4029
3986
|
t.map(
|
|
4030
|
-
([r, n]) =>
|
|
3987
|
+
([r, n]) => ri(r, n)
|
|
4031
3988
|
)
|
|
4032
3989
|
).then(() => {
|
|
4033
|
-
if (
|
|
4034
|
-
return
|
|
4035
|
-
delete
|
|
4036
|
-
}),
|
|
3990
|
+
if (Ue(e))
|
|
3991
|
+
return Jt(e);
|
|
3992
|
+
delete Z[e];
|
|
3993
|
+
}), Z[e];
|
|
4037
3994
|
}
|
|
4038
|
-
const
|
|
3995
|
+
const ni = {
|
|
4039
3996
|
number: {
|
|
4040
3997
|
scientific: { notation: "scientific" },
|
|
4041
3998
|
engineering: { notation: "engineering" },
|
|
@@ -4064,135 +4021,135 @@ const ui = {
|
|
|
4064
4021
|
timeZoneName: "short"
|
|
4065
4022
|
}
|
|
4066
4023
|
}
|
|
4067
|
-
},
|
|
4024
|
+
}, ii = {
|
|
4068
4025
|
fallbackLocale: null,
|
|
4069
4026
|
loadingDelay: 200,
|
|
4070
|
-
formats:
|
|
4027
|
+
formats: ni,
|
|
4071
4028
|
warnOnMissingMessages: !0,
|
|
4072
4029
|
handleMissingMessage: void 0,
|
|
4073
4030
|
ignoreTag: !0
|
|
4074
|
-
},
|
|
4075
|
-
function
|
|
4076
|
-
return
|
|
4031
|
+
}, oi = ii;
|
|
4032
|
+
function k() {
|
|
4033
|
+
return oi;
|
|
4077
4034
|
}
|
|
4078
|
-
const
|
|
4079
|
-
var
|
|
4035
|
+
const Te = pe(!1);
|
|
4036
|
+
var si = Object.defineProperty, ai = Object.defineProperties, ui = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fi = (e, t) => {
|
|
4080
4037
|
for (var r in t || (t = {}))
|
|
4081
|
-
|
|
4082
|
-
if (
|
|
4083
|
-
for (var r of
|
|
4084
|
-
|
|
4038
|
+
hi.call(t, r) && ct(e, r, t[r]);
|
|
4039
|
+
if (ft)
|
|
4040
|
+
for (var r of ft(t))
|
|
4041
|
+
li.call(t, r) && ct(e, r, t[r]);
|
|
4085
4042
|
return e;
|
|
4086
|
-
},
|
|
4087
|
-
let
|
|
4088
|
-
const
|
|
4089
|
-
function
|
|
4043
|
+
}, ci = (e, t) => ai(e, ui(t));
|
|
4044
|
+
let De;
|
|
4045
|
+
const le = pe(null);
|
|
4046
|
+
function pt(e) {
|
|
4090
4047
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4091
4048
|
}
|
|
4092
|
-
function
|
|
4093
|
-
const r =
|
|
4094
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4049
|
+
function be(e, t = k().fallbackLocale) {
|
|
4050
|
+
const r = pt(e);
|
|
4051
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
|
|
4095
4052
|
}
|
|
4096
4053
|
function C() {
|
|
4097
|
-
return
|
|
4054
|
+
return De ?? void 0;
|
|
4098
4055
|
}
|
|
4099
|
-
|
|
4100
|
-
|
|
4056
|
+
le.subscribe((e) => {
|
|
4057
|
+
De = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4101
4058
|
});
|
|
4102
|
-
const
|
|
4103
|
-
if (e &&
|
|
4104
|
-
const { loadingDelay: t } =
|
|
4059
|
+
const pi = (e) => {
|
|
4060
|
+
if (e && qn(e) && Ue(e)) {
|
|
4061
|
+
const { loadingDelay: t } = k();
|
|
4105
4062
|
let r;
|
|
4106
4063
|
return typeof window < "u" && C() != null && t ? r = window.setTimeout(
|
|
4107
|
-
() =>
|
|
4064
|
+
() => Te.set(!0),
|
|
4108
4065
|
t
|
|
4109
|
-
) :
|
|
4110
|
-
|
|
4066
|
+
) : Te.set(!0), Jt(e).then(() => {
|
|
4067
|
+
le.set(e);
|
|
4111
4068
|
}).finally(() => {
|
|
4112
|
-
clearTimeout(r),
|
|
4069
|
+
clearTimeout(r), Te.set(!1);
|
|
4113
4070
|
});
|
|
4114
4071
|
}
|
|
4115
|
-
return
|
|
4116
|
-
}, re =
|
|
4117
|
-
set:
|
|
4118
|
-
}),
|
|
4072
|
+
return le.set(e);
|
|
4073
|
+
}, re = ci(fi({}, le), {
|
|
4074
|
+
set: pi
|
|
4075
|
+
}), de = (e) => {
|
|
4119
4076
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4120
4077
|
return (n) => {
|
|
4121
4078
|
const i = JSON.stringify(n);
|
|
4122
4079
|
return i in t ? t[i] : t[i] = e(n);
|
|
4123
4080
|
};
|
|
4124
4081
|
};
|
|
4125
|
-
var
|
|
4082
|
+
var mi = Object.defineProperty, fe = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ke = (e, t) => {
|
|
4126
4083
|
for (var r in t || (t = {}))
|
|
4127
|
-
|
|
4128
|
-
if (
|
|
4129
|
-
for (var r of
|
|
4130
|
-
|
|
4084
|
+
Yt.call(t, r) && mt(e, r, t[r]);
|
|
4085
|
+
if (fe)
|
|
4086
|
+
for (var r of fe(t))
|
|
4087
|
+
qt.call(t, r) && mt(e, r, t[r]);
|
|
4131
4088
|
return e;
|
|
4132
|
-
},
|
|
4089
|
+
}, z = (e, t) => {
|
|
4133
4090
|
var r = {};
|
|
4134
4091
|
for (var n in e)
|
|
4135
|
-
|
|
4136
|
-
if (e != null &&
|
|
4137
|
-
for (var n of
|
|
4138
|
-
t.indexOf(n) < 0 &&
|
|
4092
|
+
Yt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4093
|
+
if (e != null && fe)
|
|
4094
|
+
for (var n of fe(e))
|
|
4095
|
+
t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
|
|
4139
4096
|
return r;
|
|
4140
4097
|
};
|
|
4141
|
-
const
|
|
4142
|
-
const { formats: r } =
|
|
4098
|
+
const q = (e, t) => {
|
|
4099
|
+
const { formats: r } = k();
|
|
4143
4100
|
if (e in r && t in r[e])
|
|
4144
4101
|
return r[e][t];
|
|
4145
4102
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4146
|
-
},
|
|
4103
|
+
}, bi = de(
|
|
4147
4104
|
(e) => {
|
|
4148
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4105
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4149
4106
|
if (r == null)
|
|
4150
4107
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4151
|
-
return n && (i =
|
|
4108
|
+
return n && (i = q("number", n)), new Intl.NumberFormat(r, i);
|
|
4152
4109
|
}
|
|
4153
|
-
),
|
|
4110
|
+
), di = de(
|
|
4154
4111
|
(e) => {
|
|
4155
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4112
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4156
4113
|
if (r == null)
|
|
4157
4114
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4158
|
-
return n ? i =
|
|
4115
|
+
return n ? i = q("date", n) : Object.keys(i).length === 0 && (i = q("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4159
4116
|
}
|
|
4160
|
-
),
|
|
4117
|
+
), vi = de(
|
|
4161
4118
|
(e) => {
|
|
4162
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4119
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4163
4120
|
if (r == null)
|
|
4164
4121
|
throw new Error(
|
|
4165
4122
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4166
4123
|
);
|
|
4167
|
-
return n ? i =
|
|
4124
|
+
return n ? i = q("time", n) : Object.keys(i).length === 0 && (i = q("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4168
4125
|
}
|
|
4169
|
-
),
|
|
4126
|
+
), gi = (e = {}) => {
|
|
4170
4127
|
var t = e, {
|
|
4171
4128
|
locale: r = C()
|
|
4172
|
-
} = t, n =
|
|
4129
|
+
} = t, n = z(t, [
|
|
4173
4130
|
"locale"
|
|
4174
4131
|
]);
|
|
4175
|
-
return
|
|
4176
|
-
},
|
|
4132
|
+
return bi(ke({ locale: r }, n));
|
|
4133
|
+
}, yi = (e = {}) => {
|
|
4177
4134
|
var t = e, {
|
|
4178
4135
|
locale: r = C()
|
|
4179
|
-
} = t, n =
|
|
4136
|
+
} = t, n = z(t, [
|
|
4180
4137
|
"locale"
|
|
4181
4138
|
]);
|
|
4182
|
-
return
|
|
4183
|
-
},
|
|
4139
|
+
return di(ke({ locale: r }, n));
|
|
4140
|
+
}, _i = (e = {}) => {
|
|
4184
4141
|
var t = e, {
|
|
4185
4142
|
locale: r = C()
|
|
4186
|
-
} = t, n =
|
|
4143
|
+
} = t, n = z(t, [
|
|
4187
4144
|
"locale"
|
|
4188
4145
|
]);
|
|
4189
|
-
return
|
|
4190
|
-
},
|
|
4146
|
+
return vi(ke({ locale: r }, n));
|
|
4147
|
+
}, Ei = de(
|
|
4191
4148
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4192
|
-
(e, t = C()) => new
|
|
4193
|
-
ignoreTag:
|
|
4149
|
+
(e, t = C()) => new Wn(e, t, k().formats, {
|
|
4150
|
+
ignoreTag: k().ignoreTag
|
|
4194
4151
|
})
|
|
4195
|
-
),
|
|
4152
|
+
), xi = (e, t = {}) => {
|
|
4196
4153
|
var r, n, i, o;
|
|
4197
4154
|
let s = t;
|
|
4198
4155
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4205,9 +4162,9 @@ const Y = (e, t) => {
|
|
|
4205
4162
|
throw new Error(
|
|
4206
4163
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4207
4164
|
);
|
|
4208
|
-
let l =
|
|
4165
|
+
let l = Wt(e, h);
|
|
4209
4166
|
if (!l)
|
|
4210
|
-
l = (o = (i = (n = (r =
|
|
4167
|
+
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;
|
|
4211
4168
|
else if (typeof l != "string")
|
|
4212
4169
|
return console.warn(
|
|
4213
4170
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4216,7 +4173,7 @@ const Y = (e, t) => {
|
|
|
4216
4173
|
return l;
|
|
4217
4174
|
let f = l;
|
|
4218
4175
|
try {
|
|
4219
|
-
f =
|
|
4176
|
+
f = Ei(l, h).format(a);
|
|
4220
4177
|
} catch (c) {
|
|
4221
4178
|
c instanceof Error && console.warn(
|
|
4222
4179
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4224,21 +4181,21 @@ const Y = (e, t) => {
|
|
|
4224
4181
|
);
|
|
4225
4182
|
}
|
|
4226
4183
|
return f;
|
|
4227
|
-
},
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
window.emWidgets = { topic:
|
|
4234
|
-
const
|
|
4235
|
-
function
|
|
4184
|
+
}, Ti = (e, t) => _i(t).format(e), Si = (e, t) => yi(t).format(e), wi = (e, t) => gi(t).format(e), Hi = (e, t = C()) => Wt(e, t);
|
|
4185
|
+
X([re, te], () => xi);
|
|
4186
|
+
X([re], () => Ti);
|
|
4187
|
+
X([re], () => Si);
|
|
4188
|
+
X([re], () => wi);
|
|
4189
|
+
X([re, te], () => Hi);
|
|
4190
|
+
window.emWidgets = { topic: Ur };
|
|
4191
|
+
const Bi = (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));
|
|
4192
|
+
function Ai(e, t) {
|
|
4236
4193
|
if (e) {
|
|
4237
4194
|
const r = document.createElement("style");
|
|
4238
4195
|
r.innerHTML = t, e.appendChild(r);
|
|
4239
4196
|
}
|
|
4240
4197
|
}
|
|
4241
|
-
function
|
|
4198
|
+
function Pi(e, t) {
|
|
4242
4199
|
const r = new URL(t);
|
|
4243
4200
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4244
4201
|
const i = document.createElement("style");
|
|
@@ -4247,7 +4204,7 @@ function Ci(e, t) {
|
|
|
4247
4204
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4248
4205
|
});
|
|
4249
4206
|
}
|
|
4250
|
-
function
|
|
4207
|
+
function Oi(e, t, r) {
|
|
4251
4208
|
if (window.emMessageBus) {
|
|
4252
4209
|
const n = document.createElement("style");
|
|
4253
4210
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4255,43 +4212,43 @@ function Mi(e, t, r) {
|
|
|
4255
4212
|
});
|
|
4256
4213
|
}
|
|
4257
4214
|
}
|
|
4258
|
-
function
|
|
4259
|
-
|
|
4215
|
+
function Ii(e) {
|
|
4216
|
+
tr(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}");
|
|
4260
4217
|
}
|
|
4261
|
-
function
|
|
4218
|
+
function bt(e, t, r) {
|
|
4262
4219
|
const n = e.slice();
|
|
4263
4220
|
return n[16] = t[r], n;
|
|
4264
4221
|
}
|
|
4265
|
-
function
|
|
4266
|
-
let t, r =
|
|
4222
|
+
function dt(e) {
|
|
4223
|
+
let t, r = Ze(
|
|
4267
4224
|
/*__tabs*/
|
|
4268
4225
|
e[6]
|
|
4269
4226
|
), n = [];
|
|
4270
4227
|
for (let i = 0; i < r.length; i += 1)
|
|
4271
|
-
n[i] =
|
|
4228
|
+
n[i] = gt(bt(e, r, i));
|
|
4272
4229
|
return {
|
|
4273
4230
|
c() {
|
|
4274
4231
|
t = O("ul");
|
|
4275
4232
|
for (let i = 0; i < n.length; i += 1)
|
|
4276
4233
|
n[i].c();
|
|
4277
|
-
|
|
4234
|
+
T(t, "part", "ul");
|
|
4278
4235
|
},
|
|
4279
4236
|
m(i, o) {
|
|
4280
|
-
|
|
4237
|
+
ee(i, t, o);
|
|
4281
4238
|
for (let s = 0; s < n.length; s += 1)
|
|
4282
4239
|
n[s] && n[s].m(t, null);
|
|
4283
4240
|
},
|
|
4284
4241
|
p(i, o) {
|
|
4285
4242
|
if (o & /*__tab, __tabs, window, tid, totalReceiver, textReceiver*/
|
|
4286
4243
|
121) {
|
|
4287
|
-
r =
|
|
4244
|
+
r = Ze(
|
|
4288
4245
|
/*__tabs*/
|
|
4289
4246
|
i[6]
|
|
4290
4247
|
);
|
|
4291
4248
|
let s;
|
|
4292
4249
|
for (s = 0; s < r.length; s += 1) {
|
|
4293
|
-
const a =
|
|
4294
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4250
|
+
const a = bt(i, r, s);
|
|
4251
|
+
n[s] ? n[s].p(a, o) : (n[s] = gt(a), n[s].c(), n[s].m(t, null));
|
|
4295
4252
|
}
|
|
4296
4253
|
for (; s < n.length; s += 1)
|
|
4297
4254
|
n[s].d(1);
|
|
@@ -4299,11 +4256,11 @@ function Et(e) {
|
|
|
4299
4256
|
}
|
|
4300
4257
|
},
|
|
4301
4258
|
d(i) {
|
|
4302
|
-
i &&
|
|
4259
|
+
i && V(t), ir(n, i);
|
|
4303
4260
|
}
|
|
4304
4261
|
};
|
|
4305
4262
|
}
|
|
4306
|
-
function
|
|
4263
|
+
function vt(e) {
|
|
4307
4264
|
let t, r, n = (
|
|
4308
4265
|
/*totalReceiver*/
|
|
4309
4266
|
e[3][
|
|
@@ -4313,10 +4270,10 @@ function xt(e) {
|
|
|
4313
4270
|
), i;
|
|
4314
4271
|
return {
|
|
4315
4272
|
c() {
|
|
4316
|
-
t = O("sup"), r = O("span"), i =
|
|
4273
|
+
t = O("sup"), r = O("span"), i = Fe(n), T(r, "part", "SupText"), T(t, "part", "sup");
|
|
4317
4274
|
},
|
|
4318
4275
|
m(o, s) {
|
|
4319
|
-
|
|
4276
|
+
ee(o, t, s), N(t, r), N(r, i);
|
|
4320
4277
|
},
|
|
4321
4278
|
p(o, s) {
|
|
4322
4279
|
s & /*totalReceiver, __tabs*/
|
|
@@ -4324,14 +4281,14 @@ function xt(e) {
|
|
|
4324
4281
|
o[3][
|
|
4325
4282
|
/*_tab*/
|
|
4326
4283
|
o[16]
|
|
4327
|
-
] + "") &&
|
|
4284
|
+
] + "") && Et(i, n);
|
|
4328
4285
|
},
|
|
4329
4286
|
d(o) {
|
|
4330
|
-
o &&
|
|
4287
|
+
o && V(t);
|
|
4331
4288
|
}
|
|
4332
4289
|
};
|
|
4333
4290
|
}
|
|
4334
|
-
function
|
|
4291
|
+
function gt(e) {
|
|
4335
4292
|
let t, r, n = (
|
|
4336
4293
|
/*textReceiver*/
|
|
4337
4294
|
e[4][
|
|
@@ -4343,7 +4300,7 @@ function St(e) {
|
|
|
4343
4300
|
e[3][
|
|
4344
4301
|
/*_tab*/
|
|
4345
4302
|
e[16]
|
|
4346
|
-
] >= 0 &&
|
|
4303
|
+
] >= 0 && vt(e)
|
|
4347
4304
|
);
|
|
4348
4305
|
function c() {
|
|
4349
4306
|
return (
|
|
@@ -4356,87 +4313,87 @@ function St(e) {
|
|
|
4356
4313
|
}
|
|
4357
4314
|
return {
|
|
4358
4315
|
c() {
|
|
4359
|
-
t = O("li"), r = O("span"), i =
|
|
4316
|
+
t = O("li"), r = O("span"), i = Fe(n), o = ze(), f && f.c(), s = ze(), T(r, "part", "LiText"), T(t, "class", a = /*__tab*/
|
|
4360
4317
|
e[5] === /*_tab*/
|
|
4361
|
-
e[16] ? "active" : ""),
|
|
4318
|
+
e[16] ? "active" : ""), T(t, "part", h = `${/*_tab*/
|
|
4362
4319
|
e[16]} li ` + /*__tab*/
|
|
4363
4320
|
(e[5] === /*_tab*/
|
|
4364
4321
|
e[16] ? "active" : ""));
|
|
4365
4322
|
},
|
|
4366
|
-
m(p,
|
|
4367
|
-
|
|
4323
|
+
m(p, b) {
|
|
4324
|
+
ee(p, t, b), N(t, r), N(r, i), N(t, o), f && f.m(t, null), N(t, s), u || (l = or(t, "click", c), u = !0);
|
|
4368
4325
|
},
|
|
4369
|
-
p(p,
|
|
4370
|
-
e = p,
|
|
4326
|
+
p(p, b) {
|
|
4327
|
+
e = p, b & /*textReceiver, __tabs*/
|
|
4371
4328
|
80 && n !== (n = /*textReceiver*/
|
|
4372
4329
|
e[4][
|
|
4373
4330
|
/*_tab*/
|
|
4374
4331
|
e[16]
|
|
4375
|
-
] + "") &&
|
|
4332
|
+
] + "") && Et(i, n), /*totalReceiver*/
|
|
4376
4333
|
e[3][
|
|
4377
4334
|
/*_tab*/
|
|
4378
4335
|
e[16]
|
|
4379
|
-
] >= 0 ? f ? f.p(e,
|
|
4336
|
+
] >= 0 ? f ? f.p(e, b) : (f = vt(e), f.c(), f.m(t, s)) : f && (f.d(1), f = null), b & /*__tab, __tabs*/
|
|
4380
4337
|
96 && a !== (a = /*__tab*/
|
|
4381
4338
|
e[5] === /*_tab*/
|
|
4382
|
-
e[16] ? "active" : "") &&
|
|
4339
|
+
e[16] ? "active" : "") && T(t, "class", a), b & /*__tabs, __tab*/
|
|
4383
4340
|
96 && h !== (h = `${/*_tab*/
|
|
4384
4341
|
e[16]} li ` + /*__tab*/
|
|
4385
4342
|
(e[5] === /*_tab*/
|
|
4386
|
-
e[16] ? "active" : "")) &&
|
|
4343
|
+
e[16] ? "active" : "")) && T(t, "part", h);
|
|
4387
4344
|
},
|
|
4388
4345
|
d(p) {
|
|
4389
|
-
p &&
|
|
4346
|
+
p && V(t), f && f.d(), u = !1, l();
|
|
4390
4347
|
}
|
|
4391
4348
|
};
|
|
4392
4349
|
}
|
|
4393
|
-
function
|
|
4350
|
+
function Li(e) {
|
|
4394
4351
|
let t, r = (
|
|
4395
4352
|
/*isTitleInited*/
|
|
4396
|
-
e[2] &&
|
|
4353
|
+
e[2] && dt(e)
|
|
4397
4354
|
);
|
|
4398
4355
|
return {
|
|
4399
4356
|
c() {
|
|
4400
|
-
t = O("div"), r && r.c(),
|
|
4357
|
+
t = O("div"), r && r.c(), T(t, "class", "casino-tournaments-tab " + (Bi(
|
|
4401
4358
|
/*userAgent*/
|
|
4402
4359
|
e[7]
|
|
4403
|
-
) ? "TabMobile" : "TabDesktop")),
|
|
4360
|
+
) ? "TabMobile" : "TabDesktop")), T(t, "part", "CustomStylingContainer");
|
|
4404
4361
|
},
|
|
4405
4362
|
m(n, i) {
|
|
4406
|
-
|
|
4363
|
+
ee(n, t, i), r && r.m(t, null), e[14](t);
|
|
4407
4364
|
},
|
|
4408
4365
|
p(n, [i]) {
|
|
4409
4366
|
/*isTitleInited*/
|
|
4410
|
-
n[2] ? r ? r.p(n, i) : (r =
|
|
4367
|
+
n[2] ? r ? r.p(n, i) : (r = dt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4411
4368
|
},
|
|
4412
|
-
i:
|
|
4413
|
-
o:
|
|
4369
|
+
i: S,
|
|
4370
|
+
o: S,
|
|
4414
4371
|
d(n) {
|
|
4415
|
-
n &&
|
|
4372
|
+
n && V(t), r && r.d(), e[14](null);
|
|
4416
4373
|
}
|
|
4417
4374
|
};
|
|
4418
4375
|
}
|
|
4419
|
-
function
|
|
4376
|
+
function Ni(e, t, r) {
|
|
4420
4377
|
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;
|
|
4421
4378
|
const p = window.navigator.userAgent;
|
|
4422
|
-
let
|
|
4423
|
-
|
|
4424
|
-
TournamentsTabTotalUpdate: (
|
|
4425
|
-
r(3,
|
|
4426
|
-
...
|
|
4427
|
-
[
|
|
4379
|
+
let b = {}, g = {};
|
|
4380
|
+
Tr({
|
|
4381
|
+
TournamentsTabTotalUpdate: (v) => {
|
|
4382
|
+
r(3, b = {
|
|
4383
|
+
...b,
|
|
4384
|
+
[v.state]: v.total
|
|
4428
4385
|
});
|
|
4429
4386
|
},
|
|
4430
|
-
TournamentsTabsLocalize: (
|
|
4431
|
-
r(2, c = !0), r(4,
|
|
4432
|
-
...
|
|
4433
|
-
...
|
|
4387
|
+
TournamentsTabsLocalize: (v) => {
|
|
4388
|
+
r(2, c = !0), r(4, g = {
|
|
4389
|
+
...g,
|
|
4390
|
+
...v.tabTitleTranslations
|
|
4434
4391
|
});
|
|
4435
4392
|
},
|
|
4436
|
-
TournamentsTabLocaleTextUpdate: (
|
|
4437
|
-
r(2, c = !0), r(4,
|
|
4393
|
+
TournamentsTabLocaleTextUpdate: (v) => {
|
|
4394
|
+
r(2, c = !0), r(4, g = { ...g, [v.state]: v.text });
|
|
4438
4395
|
}
|
|
4439
|
-
}),
|
|
4396
|
+
}), xt(() => (window.postMessage(
|
|
4440
4397
|
{
|
|
4441
4398
|
type: "TournamentsTabListenerLoaded",
|
|
4442
4399
|
tid: l
|
|
@@ -4444,36 +4401,36 @@ function Ui(e, t, r) {
|
|
|
4444
4401
|
window.location.href
|
|
4445
4402
|
), () => {
|
|
4446
4403
|
}));
|
|
4447
|
-
const x = (
|
|
4448
|
-
r(5, i =
|
|
4404
|
+
const x = (v) => {
|
|
4405
|
+
r(5, i = v), window.postMessage(
|
|
4449
4406
|
{
|
|
4450
4407
|
type: "TournamentsTabSwitch",
|
|
4451
|
-
tab:
|
|
4408
|
+
tab: v,
|
|
4452
4409
|
tid: l
|
|
4453
4410
|
},
|
|
4454
4411
|
window.location.href
|
|
4455
4412
|
);
|
|
4456
4413
|
};
|
|
4457
|
-
function I(
|
|
4458
|
-
|
|
4459
|
-
f =
|
|
4414
|
+
function I(v) {
|
|
4415
|
+
Se[v ? "unshift" : "push"](() => {
|
|
4416
|
+
f = v, r(1, f);
|
|
4460
4417
|
});
|
|
4461
4418
|
}
|
|
4462
|
-
return e.$$set = (
|
|
4463
|
-
"tabs" in
|
|
4419
|
+
return e.$$set = (v) => {
|
|
4420
|
+
"tabs" in v && r(8, o = v.tabs), "tab" in v && r(9, s = v.tab), "clientstyling" in v && r(10, a = v.clientstyling), "clientstylingurl" in v && r(11, h = v.clientstylingurl), "mbsource" in v && r(12, u = v.mbsource), "tid" in v && r(0, l = v.tid);
|
|
4464
4421
|
}, e.$$.update = () => {
|
|
4465
4422
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4466
|
-
1026 && a && f &&
|
|
4467
|
-
2050 && h && f &&
|
|
4468
|
-
4098 && u && f &&
|
|
4423
|
+
1026 && a && f && Ai(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4424
|
+
2050 && h && f && Pi(f, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4425
|
+
4098 && u && f && Oi(f, `${u}.Style`), e.$$.dirty & /*tabs*/
|
|
4469
4426
|
256 && r(6, n = o.split(",")), e.$$.dirty & /*tab*/
|
|
4470
4427
|
512 && r(5, i = s);
|
|
4471
4428
|
}, [
|
|
4472
4429
|
l,
|
|
4473
4430
|
f,
|
|
4474
4431
|
c,
|
|
4475
|
-
|
|
4476
|
-
|
|
4432
|
+
b,
|
|
4433
|
+
g,
|
|
4477
4434
|
i,
|
|
4478
4435
|
n,
|
|
4479
4436
|
p,
|
|
@@ -4486,14 +4443,14 @@ function Ui(e, t, r) {
|
|
|
4486
4443
|
I
|
|
4487
4444
|
];
|
|
4488
4445
|
}
|
|
4489
|
-
class
|
|
4446
|
+
class Ci extends _r {
|
|
4490
4447
|
constructor(t) {
|
|
4491
|
-
super(),
|
|
4448
|
+
super(), gr(
|
|
4492
4449
|
this,
|
|
4493
4450
|
t,
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4451
|
+
Ni,
|
|
4452
|
+
Li,
|
|
4453
|
+
_t,
|
|
4497
4454
|
{
|
|
4498
4455
|
tabs: 8,
|
|
4499
4456
|
tab: 9,
|
|
@@ -4502,7 +4459,7 @@ class Di extends wr {
|
|
|
4502
4459
|
mbsource: 12,
|
|
4503
4460
|
tid: 0
|
|
4504
4461
|
},
|
|
4505
|
-
|
|
4462
|
+
Ii
|
|
4506
4463
|
);
|
|
4507
4464
|
}
|
|
4508
4465
|
get tabs() {
|
|
@@ -4542,7 +4499,7 @@ class Di extends wr {
|
|
|
4542
4499
|
this.$$set({ tid: t }), A();
|
|
4543
4500
|
}
|
|
4544
4501
|
}
|
|
4545
|
-
|
|
4502
|
+
yr(Ci, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
|
|
4546
4503
|
export {
|
|
4547
|
-
|
|
4504
|
+
Ci as C
|
|
4548
4505
|
};
|