@everymatrix/player-reality-check 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerRealityCheck-CTqhclRy.js → PlayerRealityCheck-2NLTCkve.js} +619 -566
- package/components/PlayerRealityCheck-CUNn_TZx.cjs +18 -0
- package/components/{PlayerRealityCheck-CY_tAQlj.js → PlayerRealityCheck-D2vxT1p-.js} +665 -612
- package/es2015/player-reality-check.cjs +1 -1
- package/es2015/player-reality-check.js +1 -1
- package/esnext/player-reality-check.js +1 -1
- package/package.json +1 -1
- package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
- package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
- package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
- package/stencil/{ui-skeleton-DtnYQAt6.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
- package/stencil/{ui-skeleton-rqI1NmdA.js → ui-skeleton-C5gPr5Xv.js} +2 -2
- package/stencil/{ui-skeleton-DlfwJJb1.js → ui-skeleton-M7HNQCk1.js} +2 -2
- package/stencil/{ui-skeleton-982450d2-BH4FIF5y.js → ui-skeleton-a642cced-BFJMszWG.js} +21 -21
- package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +1 -0
- package/stencil/{ui-skeleton-982450d2-DGJAETMx.js → ui-skeleton-a642cced-p8tGooXk.js} +21 -21
- package/components/PlayerRealityCheck-BEBEOIf0.cjs +0 -5
- package/stencil/index-db5752f9--Bvt52z2.js +0 -610
- package/stencil/index-db5752f9-CAzJb5N3.js +0 -594
- package/stencil/index-db5752f9-CEbtfUsZ.cjs +0 -1
- package/stencil/ui-skeleton-982450d2-BYrWGs9b.cjs +0 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import "../stencil/ui-skeleton-C5gPr5Xv.js";
|
|
2
2
|
function N() {
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function Nt(e) {
|
|
5
5
|
return e();
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function lt() {
|
|
8
8
|
return /* @__PURE__ */ Object.create(null);
|
|
9
9
|
}
|
|
10
10
|
function ue(e) {
|
|
11
|
-
e.forEach(
|
|
11
|
+
e.forEach(Nt);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function it(e) {
|
|
14
14
|
return typeof e == "function";
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function $t(e, t) {
|
|
17
17
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function _r(e) {
|
|
20
20
|
return Object.keys(e).length === 0;
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Ut(e, ...t) {
|
|
23
23
|
if (e == null) {
|
|
24
24
|
for (const n of t)
|
|
25
25
|
n(void 0);
|
|
@@ -28,21 +28,22 @@ function kt(e, ...t) {
|
|
|
28
28
|
const r = e.subscribe(...t);
|
|
29
29
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
e.$$.on_destroy.push(
|
|
31
|
+
function Er(e, t, r) {
|
|
32
|
+
e.$$.on_destroy.push(Ut(t, r));
|
|
33
33
|
}
|
|
34
34
|
function b(e, t) {
|
|
35
35
|
e.appendChild(t);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
const n =
|
|
37
|
+
function Sr(e, t, r) {
|
|
38
|
+
const n = wr(e);
|
|
39
39
|
if (!n.getElementById(t)) {
|
|
40
40
|
const i = T("style");
|
|
41
|
-
i.id = t, i.textContent = r,
|
|
41
|
+
i.id = t, i.textContent = r, Tr(n, i);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
if (!e)
|
|
44
|
+
function wr(e) {
|
|
45
|
+
if (!e)
|
|
46
|
+
return document;
|
|
46
47
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
47
48
|
return t && /** @type {ShadowRoot} */
|
|
48
49
|
t.host ? (
|
|
@@ -50,7 +51,7 @@ function xr(e) {
|
|
|
50
51
|
t
|
|
51
52
|
) : e.ownerDocument;
|
|
52
53
|
}
|
|
53
|
-
function
|
|
54
|
+
function Tr(e, t) {
|
|
54
55
|
return b(
|
|
55
56
|
/** @type {Document} */
|
|
56
57
|
e.head || e,
|
|
@@ -63,7 +64,7 @@ function D(e, t, r) {
|
|
|
63
64
|
function $(e) {
|
|
64
65
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
66
|
}
|
|
66
|
-
function
|
|
67
|
+
function Dt(e, t) {
|
|
67
68
|
for (let r = 0; r < e.length; r += 1)
|
|
68
69
|
e[r] && e[r].d(t);
|
|
69
70
|
}
|
|
@@ -73,11 +74,11 @@ function T(e) {
|
|
|
73
74
|
function J(e) {
|
|
74
75
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
75
76
|
}
|
|
76
|
-
function
|
|
77
|
+
function z(e) {
|
|
77
78
|
return document.createTextNode(e);
|
|
78
79
|
}
|
|
79
80
|
function U() {
|
|
80
|
-
return
|
|
81
|
+
return z(" ");
|
|
81
82
|
}
|
|
82
83
|
function Te(e, t, r, n) {
|
|
83
84
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
@@ -89,7 +90,7 @@ function A(e, t, r) {
|
|
|
89
90
|
const n = t.toLowerCase();
|
|
90
91
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : w(e, t, r);
|
|
91
92
|
}
|
|
92
|
-
function
|
|
93
|
+
function Hr(e) {
|
|
93
94
|
let t;
|
|
94
95
|
return {
|
|
95
96
|
/* push */
|
|
@@ -102,17 +103,17 @@ function Er(e) {
|
|
|
102
103
|
}
|
|
103
104
|
};
|
|
104
105
|
}
|
|
105
|
-
function
|
|
106
|
+
function Cr(e) {
|
|
106
107
|
return Array.from(e.childNodes);
|
|
107
108
|
}
|
|
108
109
|
function te(e, t) {
|
|
109
110
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
110
111
|
t);
|
|
111
112
|
}
|
|
112
|
-
function
|
|
113
|
+
function Br(e, t) {
|
|
113
114
|
e.value = t ?? "";
|
|
114
115
|
}
|
|
115
|
-
function
|
|
116
|
+
function Pr(e) {
|
|
116
117
|
const t = {};
|
|
117
118
|
return e.childNodes.forEach(
|
|
118
119
|
/** @param {Element} node */
|
|
@@ -125,24 +126,25 @@ let de;
|
|
|
125
126
|
function pe(e) {
|
|
126
127
|
de = e;
|
|
127
128
|
}
|
|
128
|
-
function
|
|
129
|
-
if (!de)
|
|
129
|
+
function Ar() {
|
|
130
|
+
if (!de)
|
|
131
|
+
throw new Error("Function called outside component initialization");
|
|
130
132
|
return de;
|
|
131
133
|
}
|
|
132
|
-
function
|
|
133
|
-
|
|
134
|
+
function Rr(e) {
|
|
135
|
+
Ar().$$.on_mount.push(e);
|
|
134
136
|
}
|
|
135
|
-
const ee = [],
|
|
137
|
+
const ee = [], Fe = [];
|
|
136
138
|
let re = [];
|
|
137
|
-
const
|
|
138
|
-
let
|
|
139
|
-
function
|
|
140
|
-
|
|
139
|
+
const ct = [], Mr = /* @__PURE__ */ Promise.resolve();
|
|
140
|
+
let Ge = !1;
|
|
141
|
+
function Or() {
|
|
142
|
+
Ge || (Ge = !0, Mr.then(V));
|
|
141
143
|
}
|
|
142
|
-
function
|
|
144
|
+
function je(e) {
|
|
143
145
|
re.push(e);
|
|
144
146
|
}
|
|
145
|
-
const
|
|
147
|
+
const Oe = /* @__PURE__ */ new Set();
|
|
146
148
|
let Y = 0;
|
|
147
149
|
function V() {
|
|
148
150
|
if (Y !== 0)
|
|
@@ -152,55 +154,56 @@ function V() {
|
|
|
152
154
|
try {
|
|
153
155
|
for (; Y < ee.length; ) {
|
|
154
156
|
const t = ee[Y];
|
|
155
|
-
Y++, pe(t),
|
|
157
|
+
Y++, pe(t), Ir(t.$$);
|
|
156
158
|
}
|
|
157
159
|
} catch (t) {
|
|
158
160
|
throw ee.length = 0, Y = 0, t;
|
|
159
161
|
}
|
|
160
|
-
for (pe(null), ee.length = 0, Y = 0;
|
|
162
|
+
for (pe(null), ee.length = 0, Y = 0; Fe.length; )
|
|
163
|
+
Fe.pop()();
|
|
161
164
|
for (let t = 0; t < re.length; t += 1) {
|
|
162
165
|
const r = re[t];
|
|
163
|
-
|
|
166
|
+
Oe.has(r) || (Oe.add(r), r());
|
|
164
167
|
}
|
|
165
168
|
re.length = 0;
|
|
166
169
|
} while (ee.length);
|
|
167
|
-
for (;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
+
for (; ct.length; )
|
|
171
|
+
ct.pop()();
|
|
172
|
+
Ge = !1, Oe.clear(), pe(e);
|
|
170
173
|
}
|
|
171
|
-
function
|
|
174
|
+
function Ir(e) {
|
|
172
175
|
if (e.fragment !== null) {
|
|
173
176
|
e.update(), ue(e.before_update);
|
|
174
177
|
const t = e.dirty;
|
|
175
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
178
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
|
|
176
179
|
}
|
|
177
180
|
}
|
|
178
|
-
function
|
|
181
|
+
function Lr(e) {
|
|
179
182
|
const t = [], r = [];
|
|
180
183
|
re.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), re = t;
|
|
181
184
|
}
|
|
182
|
-
const
|
|
183
|
-
function
|
|
184
|
-
e && e.i && (
|
|
185
|
+
const kr = /* @__PURE__ */ new Set();
|
|
186
|
+
function Nr(e, t) {
|
|
187
|
+
e && e.i && (kr.delete(e), e.i(t));
|
|
185
188
|
}
|
|
186
|
-
function
|
|
189
|
+
function Ve(e) {
|
|
187
190
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
188
191
|
}
|
|
189
|
-
function
|
|
192
|
+
function $r(e, t, r) {
|
|
190
193
|
const { fragment: n, after_update: i } = e.$$;
|
|
191
|
-
n && n.m(t, r),
|
|
192
|
-
const o = e.$$.on_mount.map(
|
|
194
|
+
n && n.m(t, r), je(() => {
|
|
195
|
+
const o = e.$$.on_mount.map(Nt).filter(it);
|
|
193
196
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
|
|
194
|
-
}), i.forEach(
|
|
197
|
+
}), i.forEach(je);
|
|
195
198
|
}
|
|
196
|
-
function
|
|
199
|
+
function Ur(e, t) {
|
|
197
200
|
const r = e.$$;
|
|
198
|
-
r.fragment !== null && (
|
|
201
|
+
r.fragment !== null && (Lr(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
199
202
|
}
|
|
200
|
-
function
|
|
201
|
-
e.$$.dirty[0] === -1 && (ee.push(e),
|
|
203
|
+
function Dr(e, t) {
|
|
204
|
+
e.$$.dirty[0] === -1 && (ee.push(e), Or(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
202
205
|
}
|
|
203
|
-
function
|
|
206
|
+
function Fr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
204
207
|
const l = de;
|
|
205
208
|
pe(e);
|
|
206
209
|
const u = e.$$ = {
|
|
@@ -210,7 +213,7 @@ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
210
213
|
props: o,
|
|
211
214
|
update: N,
|
|
212
215
|
not_equal: i,
|
|
213
|
-
bound:
|
|
216
|
+
bound: lt(),
|
|
214
217
|
// lifecycle
|
|
215
218
|
on_mount: [],
|
|
216
219
|
on_destroy: [],
|
|
@@ -219,7 +222,7 @@ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
219
222
|
after_update: [],
|
|
220
223
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
221
224
|
// everything else
|
|
222
|
-
callbacks:
|
|
225
|
+
callbacks: lt(),
|
|
223
226
|
dirty: a,
|
|
224
227
|
skip_bound: !1,
|
|
225
228
|
root: t.target || l.$$.root
|
|
@@ -228,19 +231,19 @@ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
228
231
|
let c = !1;
|
|
229
232
|
if (u.ctx = r ? r(e, t.props || {}, (f, h, ...d) => {
|
|
230
233
|
const m = d.length ? d[0] : h;
|
|
231
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), c &&
|
|
234
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), c && Dr(e, f)), h;
|
|
232
235
|
}) : [], u.update(), c = !0, ue(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
233
236
|
if (t.hydrate) {
|
|
234
|
-
const f =
|
|
237
|
+
const f = Cr(t.target);
|
|
235
238
|
u.fragment && u.fragment.l(f), f.forEach($);
|
|
236
239
|
} else
|
|
237
240
|
u.fragment && u.fragment.c();
|
|
238
|
-
t.intro &&
|
|
241
|
+
t.intro && Nr(e.$$.fragment), $r(e, t.target, t.anchor), V();
|
|
239
242
|
}
|
|
240
243
|
pe(l);
|
|
241
244
|
}
|
|
242
|
-
let
|
|
243
|
-
typeof HTMLElement == "function" && (
|
|
245
|
+
let Ft;
|
|
246
|
+
typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
244
247
|
/** The Svelte component constructor */
|
|
245
248
|
$$ctor;
|
|
246
249
|
/** Slots */
|
|
@@ -299,7 +302,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
|
|
|
299
302
|
};
|
|
300
303
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
301
304
|
return;
|
|
302
|
-
const t = {}, r =
|
|
305
|
+
const t = {}, r = Pr(this);
|
|
303
306
|
for (const i of this.$$s)
|
|
304
307
|
i in r && (t[i] = [e(i)]);
|
|
305
308
|
for (const i of this.attributes) {
|
|
@@ -386,8 +389,8 @@ function _e(e, t, r, n) {
|
|
|
386
389
|
return t;
|
|
387
390
|
}
|
|
388
391
|
}
|
|
389
|
-
function
|
|
390
|
-
let s = class extends
|
|
392
|
+
function Gr(e, t, r, n, i, o) {
|
|
393
|
+
let s = class extends Ft {
|
|
391
394
|
constructor() {
|
|
392
395
|
super(e, r, i), this.$$p_d = t;
|
|
393
396
|
}
|
|
@@ -415,7 +418,7 @@ function $r(e, t, r, n, i, o) {
|
|
|
415
418
|
}), e.element = /** @type {any} */
|
|
416
419
|
s, s;
|
|
417
420
|
}
|
|
418
|
-
class
|
|
421
|
+
class jr {
|
|
419
422
|
/**
|
|
420
423
|
* ### PRIVATE API
|
|
421
424
|
*
|
|
@@ -434,7 +437,7 @@ class Ur {
|
|
|
434
437
|
$$set = void 0;
|
|
435
438
|
/** @returns {void} */
|
|
436
439
|
$destroy() {
|
|
437
|
-
|
|
440
|
+
Ur(this, 1), this.$destroy = N;
|
|
438
441
|
}
|
|
439
442
|
/**
|
|
440
443
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -443,7 +446,7 @@ class Ur {
|
|
|
443
446
|
* @returns {() => void}
|
|
444
447
|
*/
|
|
445
448
|
$on(t, r) {
|
|
446
|
-
if (!
|
|
449
|
+
if (!it(r))
|
|
447
450
|
return N;
|
|
448
451
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
449
452
|
return n.push(r), () => {
|
|
@@ -456,22 +459,37 @@ class Ur {
|
|
|
456
459
|
* @returns {void}
|
|
457
460
|
*/
|
|
458
461
|
$set(t) {
|
|
459
|
-
this.$$set && !
|
|
462
|
+
this.$$set && !_r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
460
463
|
}
|
|
461
464
|
}
|
|
462
|
-
const
|
|
463
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
464
|
-
|
|
465
|
-
|
|
465
|
+
const Vr = "4";
|
|
466
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Vr);
|
|
467
|
+
/*! *****************************************************************************
|
|
468
|
+
Copyright (c) Microsoft Corporation.
|
|
469
|
+
|
|
470
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
471
|
+
purpose with or without fee is hereby granted.
|
|
472
|
+
|
|
473
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
474
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
475
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
476
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
477
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
478
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
479
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
480
|
+
***************************************************************************** */
|
|
481
|
+
var ze = function(e, t) {
|
|
482
|
+
return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
466
483
|
r.__proto__ = n;
|
|
467
484
|
} || function(r, n) {
|
|
468
|
-
for (var i in n)
|
|
469
|
-
|
|
485
|
+
for (var i in n)
|
|
486
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
487
|
+
}, ze(e, t);
|
|
470
488
|
};
|
|
471
489
|
function q(e, t) {
|
|
472
490
|
if (typeof t != "function" && t !== null)
|
|
473
491
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
474
|
-
|
|
492
|
+
ze(e, t);
|
|
475
493
|
function r() {
|
|
476
494
|
this.constructor = e;
|
|
477
495
|
}
|
|
@@ -481,14 +499,16 @@ var S = function() {
|
|
|
481
499
|
return S = Object.assign || function(t) {
|
|
482
500
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
483
501
|
r = arguments[n];
|
|
484
|
-
for (var o in r)
|
|
502
|
+
for (var o in r)
|
|
503
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
485
504
|
}
|
|
486
505
|
return t;
|
|
487
506
|
}, S.apply(this, arguments);
|
|
488
507
|
};
|
|
489
|
-
function
|
|
508
|
+
function zr(e, t) {
|
|
490
509
|
var r = {};
|
|
491
|
-
for (var n in e)
|
|
510
|
+
for (var n in e)
|
|
511
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
492
512
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
493
513
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
494
514
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
@@ -496,46 +516,52 @@ function Fr(e, t) {
|
|
|
496
516
|
}
|
|
497
517
|
function Xe(e) {
|
|
498
518
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
499
|
-
if (r)
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
519
|
+
if (r)
|
|
520
|
+
return r.call(e);
|
|
521
|
+
if (e && typeof e.length == "number")
|
|
522
|
+
return {
|
|
523
|
+
next: function() {
|
|
524
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
525
|
+
}
|
|
526
|
+
};
|
|
505
527
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
506
528
|
}
|
|
507
|
-
function
|
|
529
|
+
function qe(e, t) {
|
|
508
530
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
509
|
-
if (!r)
|
|
531
|
+
if (!r)
|
|
532
|
+
return e;
|
|
510
533
|
var n = r.call(e), i, o = [], s;
|
|
511
534
|
try {
|
|
512
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
535
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
536
|
+
o.push(i.value);
|
|
513
537
|
} catch (a) {
|
|
514
538
|
s = { error: a };
|
|
515
539
|
} finally {
|
|
516
540
|
try {
|
|
517
541
|
i && !i.done && (r = n.return) && r.call(n);
|
|
518
542
|
} finally {
|
|
519
|
-
if (s)
|
|
543
|
+
if (s)
|
|
544
|
+
throw s.error;
|
|
520
545
|
}
|
|
521
546
|
}
|
|
522
547
|
return o;
|
|
523
548
|
}
|
|
524
549
|
function ne(e, t, r) {
|
|
525
|
-
if (r || arguments.length === 2)
|
|
526
|
-
(
|
|
527
|
-
|
|
550
|
+
if (r || arguments.length === 2)
|
|
551
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
552
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
553
|
+
return e.concat(o || t);
|
|
528
554
|
}
|
|
529
|
-
function
|
|
555
|
+
function X(e) {
|
|
530
556
|
return typeof e == "function";
|
|
531
557
|
}
|
|
532
|
-
function
|
|
558
|
+
function Gt(e) {
|
|
533
559
|
var t = function(n) {
|
|
534
560
|
Error.call(n), n.stack = new Error().stack;
|
|
535
561
|
}, r = e(t);
|
|
536
562
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
537
563
|
}
|
|
538
|
-
var Ie =
|
|
564
|
+
var Ie = Gt(function(e) {
|
|
539
565
|
return function(r) {
|
|
540
566
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
541
567
|
` + r.map(function(n, i) {
|
|
@@ -544,7 +570,7 @@ var Ie = Ut(function(e) {
|
|
|
544
570
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
545
571
|
};
|
|
546
572
|
});
|
|
547
|
-
function
|
|
573
|
+
function We(e, t) {
|
|
548
574
|
if (e) {
|
|
549
575
|
var r = e.indexOf(t);
|
|
550
576
|
0 <= r && e.splice(r, 1);
|
|
@@ -572,13 +598,14 @@ var Be = function() {
|
|
|
572
598
|
try {
|
|
573
599
|
l && !l.done && (r = a.return) && r.call(a);
|
|
574
600
|
} finally {
|
|
575
|
-
if (t)
|
|
601
|
+
if (t)
|
|
602
|
+
throw t.error;
|
|
576
603
|
}
|
|
577
604
|
}
|
|
578
605
|
else
|
|
579
606
|
s.remove(this);
|
|
580
607
|
var c = this.initialTeardown;
|
|
581
|
-
if (
|
|
608
|
+
if (X(c))
|
|
582
609
|
try {
|
|
583
610
|
c();
|
|
584
611
|
} catch (p) {
|
|
@@ -591,9 +618,9 @@ var Be = function() {
|
|
|
591
618
|
for (var h = Xe(f), d = h.next(); !d.done; d = h.next()) {
|
|
592
619
|
var m = d.value;
|
|
593
620
|
try {
|
|
594
|
-
|
|
621
|
+
ht(m);
|
|
595
622
|
} catch (p) {
|
|
596
|
-
o = o ?? [], p instanceof Ie ? o = ne(ne([],
|
|
623
|
+
o = o ?? [], p instanceof Ie ? o = ne(ne([], qe(o)), qe(p.errors)) : o.push(p);
|
|
597
624
|
}
|
|
598
625
|
}
|
|
599
626
|
} catch (p) {
|
|
@@ -602,7 +629,8 @@ var Be = function() {
|
|
|
602
629
|
try {
|
|
603
630
|
d && !d.done && (i = h.return) && i.call(h);
|
|
604
631
|
} finally {
|
|
605
|
-
if (n)
|
|
632
|
+
if (n)
|
|
633
|
+
throw n.error;
|
|
606
634
|
}
|
|
607
635
|
}
|
|
608
636
|
}
|
|
@@ -613,7 +641,7 @@ var Be = function() {
|
|
|
613
641
|
var r;
|
|
614
642
|
if (t && t !== this)
|
|
615
643
|
if (this.closed)
|
|
616
|
-
|
|
644
|
+
ht(t);
|
|
617
645
|
else {
|
|
618
646
|
if (t instanceof e) {
|
|
619
647
|
if (t.closed || t._hasParent(this))
|
|
@@ -630,52 +658,56 @@ var Be = function() {
|
|
|
630
658
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
631
659
|
}, e.prototype._removeParent = function(t) {
|
|
632
660
|
var r = this._parentage;
|
|
633
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
661
|
+
r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
|
|
634
662
|
}, e.prototype.remove = function(t) {
|
|
635
663
|
var r = this._finalizers;
|
|
636
|
-
r &&
|
|
664
|
+
r && We(r, t), t instanceof e && t._removeParent(this);
|
|
637
665
|
}, e.EMPTY = function() {
|
|
638
666
|
var t = new e();
|
|
639
667
|
return t.closed = !0, t;
|
|
640
668
|
}(), e;
|
|
641
|
-
}(),
|
|
642
|
-
function
|
|
643
|
-
return e instanceof Be || e && "closed" in e &&
|
|
669
|
+
}(), jt = Be.EMPTY;
|
|
670
|
+
function Vt(e) {
|
|
671
|
+
return e instanceof Be || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
|
|
644
672
|
}
|
|
645
|
-
function
|
|
646
|
-
|
|
647
|
-
}
|
|
648
|
-
var
|
|
649
|
-
|
|
650
|
-
|
|
673
|
+
function ht(e) {
|
|
674
|
+
X(e) ? e() : e.unsubscribe();
|
|
675
|
+
}
|
|
676
|
+
var zt = {
|
|
677
|
+
onUnhandledError: null,
|
|
678
|
+
onStoppedNotification: null,
|
|
679
|
+
Promise: void 0,
|
|
680
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
681
|
+
useDeprecatedNextContext: !1
|
|
682
|
+
}, Xr = {
|
|
651
683
|
setTimeout: function(e, t) {
|
|
652
684
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
653
685
|
r[n - 2] = arguments[n];
|
|
654
|
-
return setTimeout.apply(void 0, ne([e, t],
|
|
686
|
+
return setTimeout.apply(void 0, ne([e, t], qe(r)));
|
|
655
687
|
},
|
|
656
688
|
clearTimeout: function(e) {
|
|
657
689
|
return clearTimeout(e);
|
|
658
690
|
},
|
|
659
691
|
delegate: void 0
|
|
660
692
|
};
|
|
661
|
-
function
|
|
662
|
-
|
|
693
|
+
function qr(e) {
|
|
694
|
+
Xr.setTimeout(function() {
|
|
663
695
|
throw e;
|
|
664
696
|
});
|
|
665
697
|
}
|
|
666
|
-
function
|
|
698
|
+
function ft() {
|
|
667
699
|
}
|
|
668
700
|
function Ee(e) {
|
|
669
701
|
e();
|
|
670
702
|
}
|
|
671
|
-
var
|
|
703
|
+
var Xt = function(e) {
|
|
672
704
|
q(t, e);
|
|
673
705
|
function t(r) {
|
|
674
706
|
var n = e.call(this) || this;
|
|
675
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
707
|
+
return n.isStopped = !1, r ? (n.destination = r, Vt(r) && r.add(n)) : n.destination = Jr, n;
|
|
676
708
|
}
|
|
677
709
|
return t.create = function(r, n, i) {
|
|
678
|
-
return new
|
|
710
|
+
return new Ze(r, n, i);
|
|
679
711
|
}, t.prototype.next = function(r) {
|
|
680
712
|
this.isStopped || this._next(r);
|
|
681
713
|
}, t.prototype.error = function(r) {
|
|
@@ -699,7 +731,11 @@ var Gt = function(e) {
|
|
|
699
731
|
this.unsubscribe();
|
|
700
732
|
}
|
|
701
733
|
}, t;
|
|
702
|
-
}(Be),
|
|
734
|
+
}(Be), Wr = Function.prototype.bind;
|
|
735
|
+
function Le(e, t) {
|
|
736
|
+
return Wr.call(e, t);
|
|
737
|
+
}
|
|
738
|
+
var Zr = function() {
|
|
703
739
|
function e(t) {
|
|
704
740
|
this.partialObserver = t;
|
|
705
741
|
}
|
|
@@ -730,43 +766,55 @@ var Gt = function(e) {
|
|
|
730
766
|
ve(r);
|
|
731
767
|
}
|
|
732
768
|
}, e;
|
|
733
|
-
}(),
|
|
769
|
+
}(), Ze = function(e) {
|
|
734
770
|
q(t, e);
|
|
735
771
|
function t(r, n, i) {
|
|
736
772
|
var o = e.call(this) || this, s;
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
773
|
+
if (X(r) || !r)
|
|
774
|
+
s = {
|
|
775
|
+
next: r ?? void 0,
|
|
776
|
+
error: n ?? void 0,
|
|
777
|
+
complete: i ?? void 0
|
|
778
|
+
};
|
|
779
|
+
else {
|
|
780
|
+
var a;
|
|
781
|
+
o && zt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
782
|
+
return o.unsubscribe();
|
|
783
|
+
}, s = {
|
|
784
|
+
next: r.next && Le(r.next, a),
|
|
785
|
+
error: r.error && Le(r.error, a),
|
|
786
|
+
complete: r.complete && Le(r.complete, a)
|
|
787
|
+
}) : s = r;
|
|
788
|
+
}
|
|
789
|
+
return o.destination = new Zr(s), o;
|
|
742
790
|
}
|
|
743
791
|
return t;
|
|
744
|
-
}(
|
|
792
|
+
}(Xt);
|
|
745
793
|
function ve(e) {
|
|
746
|
-
|
|
794
|
+
qr(e);
|
|
747
795
|
}
|
|
748
|
-
function
|
|
796
|
+
function Qr(e) {
|
|
749
797
|
throw e;
|
|
750
798
|
}
|
|
751
|
-
var
|
|
799
|
+
var Jr = {
|
|
752
800
|
closed: !0,
|
|
753
|
-
next:
|
|
754
|
-
error:
|
|
755
|
-
complete:
|
|
756
|
-
},
|
|
801
|
+
next: ft,
|
|
802
|
+
error: Qr,
|
|
803
|
+
complete: ft
|
|
804
|
+
}, Yr = function() {
|
|
757
805
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
758
806
|
}();
|
|
759
|
-
function
|
|
807
|
+
function Kr(e) {
|
|
760
808
|
return e;
|
|
761
809
|
}
|
|
762
|
-
function
|
|
763
|
-
return e.length === 0 ?
|
|
810
|
+
function en(e) {
|
|
811
|
+
return e.length === 0 ? Kr : e.length === 1 ? e[0] : function(r) {
|
|
764
812
|
return e.reduce(function(n, i) {
|
|
765
813
|
return i(n);
|
|
766
814
|
}, r);
|
|
767
815
|
};
|
|
768
816
|
}
|
|
769
|
-
var
|
|
817
|
+
var pt = function() {
|
|
770
818
|
function e(t) {
|
|
771
819
|
t && (this._subscribe = t);
|
|
772
820
|
}
|
|
@@ -774,7 +822,7 @@ var ct = function() {
|
|
|
774
822
|
var r = new e();
|
|
775
823
|
return r.source = this, r.operator = t, r;
|
|
776
824
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
777
|
-
var i = this, o =
|
|
825
|
+
var i = this, o = rn(t) ? t : new Ze(t, r, n);
|
|
778
826
|
return Ee(function() {
|
|
779
827
|
var s = i, a = s.operator, l = s.source;
|
|
780
828
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -787,8 +835,8 @@ var ct = function() {
|
|
|
787
835
|
}
|
|
788
836
|
}, e.prototype.forEach = function(t, r) {
|
|
789
837
|
var n = this;
|
|
790
|
-
return r =
|
|
791
|
-
var s = new
|
|
838
|
+
return r = dt(r), new r(function(i, o) {
|
|
839
|
+
var s = new Ze({
|
|
792
840
|
next: function(a) {
|
|
793
841
|
try {
|
|
794
842
|
t(a);
|
|
@@ -804,15 +852,15 @@ var ct = function() {
|
|
|
804
852
|
}, e.prototype._subscribe = function(t) {
|
|
805
853
|
var r;
|
|
806
854
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
807
|
-
}, e.prototype[
|
|
855
|
+
}, e.prototype[Yr] = function() {
|
|
808
856
|
return this;
|
|
809
857
|
}, e.prototype.pipe = function() {
|
|
810
858
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
811
859
|
t[r] = arguments[r];
|
|
812
|
-
return
|
|
860
|
+
return en(t)(this);
|
|
813
861
|
}, e.prototype.toPromise = function(t) {
|
|
814
862
|
var r = this;
|
|
815
|
-
return t =
|
|
863
|
+
return t = dt(t), new t(function(n, i) {
|
|
816
864
|
var o;
|
|
817
865
|
r.subscribe(function(s) {
|
|
818
866
|
return o = s;
|
|
@@ -826,32 +874,32 @@ var ct = function() {
|
|
|
826
874
|
return new e(t);
|
|
827
875
|
}, e;
|
|
828
876
|
}();
|
|
829
|
-
function
|
|
877
|
+
function dt(e) {
|
|
830
878
|
var t;
|
|
831
|
-
return (t = e ??
|
|
879
|
+
return (t = e ?? zt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
832
880
|
}
|
|
833
|
-
function
|
|
834
|
-
return e &&
|
|
881
|
+
function tn(e) {
|
|
882
|
+
return e && X(e.next) && X(e.error) && X(e.complete);
|
|
835
883
|
}
|
|
836
|
-
function
|
|
837
|
-
return e && e instanceof
|
|
884
|
+
function rn(e) {
|
|
885
|
+
return e && e instanceof Xt || tn(e) && Vt(e);
|
|
838
886
|
}
|
|
839
|
-
var
|
|
887
|
+
var nn = Gt(function(e) {
|
|
840
888
|
return function() {
|
|
841
889
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
842
890
|
};
|
|
843
|
-
}),
|
|
891
|
+
}), qt = function(e) {
|
|
844
892
|
q(t, e);
|
|
845
893
|
function t() {
|
|
846
894
|
var r = e.call(this) || this;
|
|
847
895
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
848
896
|
}
|
|
849
897
|
return t.prototype.lift = function(r) {
|
|
850
|
-
var n = new
|
|
898
|
+
var n = new mt(this, this);
|
|
851
899
|
return n.operator = r, n;
|
|
852
900
|
}, t.prototype._throwIfClosed = function() {
|
|
853
901
|
if (this.closed)
|
|
854
|
-
throw new
|
|
902
|
+
throw new nn();
|
|
855
903
|
}, t.prototype.next = function(r) {
|
|
856
904
|
var n = this;
|
|
857
905
|
Ee(function() {
|
|
@@ -869,7 +917,8 @@ var Kr = Ut(function(e) {
|
|
|
869
917
|
try {
|
|
870
918
|
a && !a.done && (o = s.return) && o.call(s);
|
|
871
919
|
} finally {
|
|
872
|
-
if (i)
|
|
920
|
+
if (i)
|
|
921
|
+
throw i.error;
|
|
873
922
|
}
|
|
874
923
|
}
|
|
875
924
|
}
|
|
@@ -907,19 +956,19 @@ var Kr = Ut(function(e) {
|
|
|
907
956
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
908
957
|
}, t.prototype._innerSubscribe = function(r) {
|
|
909
958
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
910
|
-
return o || s ?
|
|
911
|
-
n.currentObservers = null,
|
|
959
|
+
return o || s ? jt : (this.currentObservers = null, a.push(r), new Be(function() {
|
|
960
|
+
n.currentObservers = null, We(a, r);
|
|
912
961
|
}));
|
|
913
962
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
914
963
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
915
964
|
i ? r.error(o) : s && r.complete();
|
|
916
965
|
}, t.prototype.asObservable = function() {
|
|
917
|
-
var r = new
|
|
966
|
+
var r = new pt();
|
|
918
967
|
return r.source = this, r;
|
|
919
968
|
}, t.create = function(r, n) {
|
|
920
|
-
return new
|
|
969
|
+
return new mt(r, n);
|
|
921
970
|
}, t;
|
|
922
|
-
}(
|
|
971
|
+
}(pt), mt = function(e) {
|
|
923
972
|
q(t, e);
|
|
924
973
|
function t(r, n) {
|
|
925
974
|
var i = e.call(this) || this;
|
|
@@ -936,17 +985,17 @@ var Kr = Ut(function(e) {
|
|
|
936
985
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
937
986
|
}, t.prototype._subscribe = function(r) {
|
|
938
987
|
var n, i;
|
|
939
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
988
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
|
|
940
989
|
}, t;
|
|
941
|
-
}(
|
|
990
|
+
}(qt), Wt = {
|
|
942
991
|
now: function() {
|
|
943
|
-
return (
|
|
992
|
+
return (Wt.delegate || Date).now();
|
|
944
993
|
},
|
|
945
994
|
delegate: void 0
|
|
946
|
-
},
|
|
995
|
+
}, on = function(e) {
|
|
947
996
|
q(t, e);
|
|
948
997
|
function t(r, n, i) {
|
|
949
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
998
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Wt);
|
|
950
999
|
var o = e.call(this) || this;
|
|
951
1000
|
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;
|
|
952
1001
|
}
|
|
@@ -966,15 +1015,15 @@ var Kr = Ut(function(e) {
|
|
|
966
1015
|
u && o.splice(0, u + 1);
|
|
967
1016
|
}
|
|
968
1017
|
}, t;
|
|
969
|
-
}(
|
|
970
|
-
const
|
|
971
|
-
if (
|
|
972
|
-
const r = new
|
|
973
|
-
|
|
1018
|
+
}(qt);
|
|
1019
|
+
const bt = [], yt = {}, sn = (e, t = 0) => {
|
|
1020
|
+
if (bt.indexOf(e) == -1) {
|
|
1021
|
+
const r = new on(t);
|
|
1022
|
+
yt[e] = r, bt.push(e);
|
|
974
1023
|
}
|
|
975
|
-
return
|
|
1024
|
+
return yt[e];
|
|
976
1025
|
}, K = [];
|
|
977
|
-
function
|
|
1026
|
+
function an(e, t) {
|
|
978
1027
|
return {
|
|
979
1028
|
subscribe: Pe(e, t).subscribe
|
|
980
1029
|
};
|
|
@@ -983,7 +1032,7 @@ function Pe(e, t = N) {
|
|
|
983
1032
|
let r;
|
|
984
1033
|
const n = /* @__PURE__ */ new Set();
|
|
985
1034
|
function i(a) {
|
|
986
|
-
if (
|
|
1035
|
+
if ($t(e, a) && (e = a, r)) {
|
|
987
1036
|
const l = !K.length;
|
|
988
1037
|
for (const u of n)
|
|
989
1038
|
u[1](), K.push(u, e);
|
|
@@ -1010,7 +1059,7 @@ function le(e, t, r) {
|
|
|
1010
1059
|
if (!i.every(Boolean))
|
|
1011
1060
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1012
1061
|
const o = t.length < 2;
|
|
1013
|
-
return
|
|
1062
|
+
return an(r, (s, a) => {
|
|
1014
1063
|
let l = !1;
|
|
1015
1064
|
const u = [];
|
|
1016
1065
|
let c = 0, f = N;
|
|
@@ -1019,9 +1068,9 @@ function le(e, t, r) {
|
|
|
1019
1068
|
return;
|
|
1020
1069
|
f();
|
|
1021
1070
|
const m = t(n ? u[0] : u, s, a);
|
|
1022
|
-
o ? s(m) : f =
|
|
1071
|
+
o ? s(m) : f = it(m) ? m : N;
|
|
1023
1072
|
}, d = i.map(
|
|
1024
|
-
(m, p) =>
|
|
1073
|
+
(m, p) => Ut(
|
|
1025
1074
|
m,
|
|
1026
1075
|
(y) => {
|
|
1027
1076
|
u[p] = y, c &= ~(1 << p), l && h();
|
|
@@ -1036,70 +1085,70 @@ function le(e, t, r) {
|
|
|
1036
1085
|
};
|
|
1037
1086
|
});
|
|
1038
1087
|
}
|
|
1039
|
-
function
|
|
1088
|
+
function un(e) {
|
|
1040
1089
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1041
1090
|
}
|
|
1042
|
-
var
|
|
1043
|
-
return
|
|
1091
|
+
var ln = function(t) {
|
|
1092
|
+
return cn(t) && !hn(t);
|
|
1044
1093
|
};
|
|
1045
|
-
function
|
|
1094
|
+
function cn(e) {
|
|
1046
1095
|
return !!e && typeof e == "object";
|
|
1047
1096
|
}
|
|
1048
|
-
function
|
|
1097
|
+
function hn(e) {
|
|
1049
1098
|
var t = Object.prototype.toString.call(e);
|
|
1050
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1099
|
+
return t === "[object RegExp]" || t === "[object Date]" || dn(e);
|
|
1051
1100
|
}
|
|
1052
|
-
var
|
|
1053
|
-
function
|
|
1054
|
-
return e.$$typeof ===
|
|
1101
|
+
var fn = typeof Symbol == "function" && Symbol.for, pn = fn ? Symbol.for("react.element") : 60103;
|
|
1102
|
+
function dn(e) {
|
|
1103
|
+
return e.$$typeof === pn;
|
|
1055
1104
|
}
|
|
1056
|
-
function
|
|
1105
|
+
function mn(e) {
|
|
1057
1106
|
return Array.isArray(e) ? [] : {};
|
|
1058
1107
|
}
|
|
1059
1108
|
function me(e, t) {
|
|
1060
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ie(
|
|
1109
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ie(mn(e), e, t) : e;
|
|
1061
1110
|
}
|
|
1062
|
-
function
|
|
1111
|
+
function bn(e, t, r) {
|
|
1063
1112
|
return e.concat(t).map(function(n) {
|
|
1064
1113
|
return me(n, r);
|
|
1065
1114
|
});
|
|
1066
1115
|
}
|
|
1067
|
-
function
|
|
1116
|
+
function yn(e, t) {
|
|
1068
1117
|
if (!t.customMerge)
|
|
1069
1118
|
return ie;
|
|
1070
1119
|
var r = t.customMerge(e);
|
|
1071
1120
|
return typeof r == "function" ? r : ie;
|
|
1072
1121
|
}
|
|
1073
|
-
function
|
|
1122
|
+
function gn(e) {
|
|
1074
1123
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1075
1124
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1076
1125
|
}) : [];
|
|
1077
1126
|
}
|
|
1078
|
-
function
|
|
1079
|
-
return Object.keys(e).concat(
|
|
1127
|
+
function gt(e) {
|
|
1128
|
+
return Object.keys(e).concat(gn(e));
|
|
1080
1129
|
}
|
|
1081
|
-
function
|
|
1130
|
+
function Zt(e, t) {
|
|
1082
1131
|
try {
|
|
1083
1132
|
return t in e;
|
|
1084
1133
|
} catch {
|
|
1085
1134
|
return !1;
|
|
1086
1135
|
}
|
|
1087
1136
|
}
|
|
1088
|
-
function
|
|
1089
|
-
return
|
|
1137
|
+
function vn(e, t) {
|
|
1138
|
+
return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1090
1139
|
}
|
|
1091
|
-
function
|
|
1140
|
+
function xn(e, t, r) {
|
|
1092
1141
|
var n = {};
|
|
1093
|
-
return r.isMergeableObject(e) &&
|
|
1142
|
+
return r.isMergeableObject(e) && gt(e).forEach(function(i) {
|
|
1094
1143
|
n[i] = me(e[i], r);
|
|
1095
|
-
}),
|
|
1096
|
-
|
|
1144
|
+
}), gt(t).forEach(function(i) {
|
|
1145
|
+
vn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = yn(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
|
|
1097
1146
|
}), n;
|
|
1098
1147
|
}
|
|
1099
1148
|
function ie(e, t, r) {
|
|
1100
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1149
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || bn, r.isMergeableObject = r.isMergeableObject || ln, r.cloneUnlessOtherwiseSpecified = me;
|
|
1101
1150
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1102
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1151
|
+
return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : me(t, r);
|
|
1103
1152
|
}
|
|
1104
1153
|
ie.all = function(t, r) {
|
|
1105
1154
|
if (!Array.isArray(t))
|
|
@@ -1108,56 +1157,58 @@ ie.all = function(t, r) {
|
|
|
1108
1157
|
return ie(n, i, r);
|
|
1109
1158
|
}, {});
|
|
1110
1159
|
};
|
|
1111
|
-
var
|
|
1112
|
-
const
|
|
1113
|
-
function
|
|
1114
|
-
var r = t && t.cache ? t.cache :
|
|
1160
|
+
var _n = ie, En = _n;
|
|
1161
|
+
const Sn = /* @__PURE__ */ un(En);
|
|
1162
|
+
function ke(e, t) {
|
|
1163
|
+
var r = t && t.cache ? t.cache : Pn, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Tn;
|
|
1115
1164
|
return i(e, {
|
|
1116
1165
|
cache: r,
|
|
1117
1166
|
serializer: n
|
|
1118
1167
|
});
|
|
1119
1168
|
}
|
|
1120
|
-
function
|
|
1169
|
+
function wn(e) {
|
|
1121
1170
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1122
1171
|
}
|
|
1123
|
-
function
|
|
1124
|
-
var i =
|
|
1172
|
+
function Qt(e, t, r, n) {
|
|
1173
|
+
var i = wn(n) ? n : r(n), o = t.get(i);
|
|
1125
1174
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1126
1175
|
}
|
|
1127
|
-
function
|
|
1176
|
+
function Jt(e, t, r) {
|
|
1128
1177
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1129
1178
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1130
1179
|
}
|
|
1131
|
-
function
|
|
1180
|
+
function ot(e, t, r, n, i) {
|
|
1132
1181
|
return r.bind(t, e, n, i);
|
|
1133
1182
|
}
|
|
1134
|
-
function
|
|
1135
|
-
var r = e.length === 1 ?
|
|
1136
|
-
return
|
|
1183
|
+
function Tn(e, t) {
|
|
1184
|
+
var r = e.length === 1 ? Qt : Jt;
|
|
1185
|
+
return ot(e, this, r, t.cache.create(), t.serializer);
|
|
1186
|
+
}
|
|
1187
|
+
function Hn(e, t) {
|
|
1188
|
+
return ot(e, this, Jt, t.cache.create(), t.serializer);
|
|
1137
1189
|
}
|
|
1138
|
-
function
|
|
1139
|
-
return
|
|
1190
|
+
function Cn(e, t) {
|
|
1191
|
+
return ot(e, this, Qt, t.cache.create(), t.serializer);
|
|
1140
1192
|
}
|
|
1141
|
-
var
|
|
1193
|
+
var Bn = function() {
|
|
1142
1194
|
return JSON.stringify(arguments);
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
}()
|
|
1155
|
-
), Hn = {
|
|
1195
|
+
};
|
|
1196
|
+
function st() {
|
|
1197
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1198
|
+
}
|
|
1199
|
+
st.prototype.get = function(e) {
|
|
1200
|
+
return this.cache[e];
|
|
1201
|
+
};
|
|
1202
|
+
st.prototype.set = function(e, t) {
|
|
1203
|
+
this.cache[e] = t;
|
|
1204
|
+
};
|
|
1205
|
+
var Pn = {
|
|
1156
1206
|
create: function() {
|
|
1157
|
-
return new
|
|
1207
|
+
return new st();
|
|
1158
1208
|
}
|
|
1159
|
-
},
|
|
1160
|
-
variadic:
|
|
1209
|
+
}, Ne = {
|
|
1210
|
+
variadic: Hn,
|
|
1211
|
+
monadic: Cn
|
|
1161
1212
|
}, v;
|
|
1162
1213
|
(function(e) {
|
|
1163
1214
|
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";
|
|
@@ -1170,43 +1221,43 @@ var oe;
|
|
|
1170
1221
|
(function(e) {
|
|
1171
1222
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1172
1223
|
})(oe || (oe = {}));
|
|
1173
|
-
function
|
|
1224
|
+
function vt(e) {
|
|
1174
1225
|
return e.type === C.literal;
|
|
1175
1226
|
}
|
|
1176
|
-
function
|
|
1227
|
+
function An(e) {
|
|
1177
1228
|
return e.type === C.argument;
|
|
1178
1229
|
}
|
|
1179
|
-
function
|
|
1230
|
+
function Yt(e) {
|
|
1180
1231
|
return e.type === C.number;
|
|
1181
1232
|
}
|
|
1182
|
-
function
|
|
1233
|
+
function Kt(e) {
|
|
1183
1234
|
return e.type === C.date;
|
|
1184
1235
|
}
|
|
1185
|
-
function
|
|
1236
|
+
function er(e) {
|
|
1186
1237
|
return e.type === C.time;
|
|
1187
1238
|
}
|
|
1188
|
-
function
|
|
1239
|
+
function tr(e) {
|
|
1189
1240
|
return e.type === C.select;
|
|
1190
1241
|
}
|
|
1191
|
-
function
|
|
1242
|
+
function rr(e) {
|
|
1192
1243
|
return e.type === C.plural;
|
|
1193
1244
|
}
|
|
1194
|
-
function
|
|
1245
|
+
function Rn(e) {
|
|
1195
1246
|
return e.type === C.pound;
|
|
1196
1247
|
}
|
|
1197
|
-
function
|
|
1248
|
+
function nr(e) {
|
|
1198
1249
|
return e.type === C.tag;
|
|
1199
1250
|
}
|
|
1200
|
-
function
|
|
1251
|
+
function ir(e) {
|
|
1201
1252
|
return !!(e && typeof e == "object" && e.type === oe.number);
|
|
1202
1253
|
}
|
|
1203
|
-
function
|
|
1254
|
+
function Qe(e) {
|
|
1204
1255
|
return !!(e && typeof e == "object" && e.type === oe.dateTime);
|
|
1205
1256
|
}
|
|
1206
|
-
var
|
|
1207
|
-
function
|
|
1257
|
+
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mn = /(?:[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;
|
|
1258
|
+
function On(e) {
|
|
1208
1259
|
var t = {};
|
|
1209
|
-
return e.replace(
|
|
1260
|
+
return e.replace(Mn, function(r) {
|
|
1210
1261
|
var n = r.length;
|
|
1211
1262
|
switch (r[0]) {
|
|
1212
1263
|
case "G":
|
|
@@ -1295,11 +1346,11 @@ function An(e) {
|
|
|
1295
1346
|
return "";
|
|
1296
1347
|
}), t;
|
|
1297
1348
|
}
|
|
1298
|
-
var
|
|
1299
|
-
function
|
|
1349
|
+
var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1350
|
+
function Ln(e) {
|
|
1300
1351
|
if (e.length === 0)
|
|
1301
1352
|
throw new Error("Number skeleton cannot be empty");
|
|
1302
|
-
for (var t = e.split(
|
|
1353
|
+
for (var t = e.split(In).filter(function(h) {
|
|
1303
1354
|
return h.length > 0;
|
|
1304
1355
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1305
1356
|
var o = i[n], s = o.split("/");
|
|
@@ -1314,17 +1365,17 @@ function Rn(e) {
|
|
|
1314
1365
|
}
|
|
1315
1366
|
return r;
|
|
1316
1367
|
}
|
|
1317
|
-
function
|
|
1368
|
+
function kn(e) {
|
|
1318
1369
|
return e.replace(/^(.*?)-/, "");
|
|
1319
1370
|
}
|
|
1320
|
-
var
|
|
1321
|
-
function
|
|
1371
|
+
var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
|
|
1372
|
+
function _t(e) {
|
|
1322
1373
|
var t = {};
|
|
1323
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1374
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
|
|
1324
1375
|
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)), "";
|
|
1325
1376
|
}), t;
|
|
1326
1377
|
}
|
|
1327
|
-
function
|
|
1378
|
+
function ur(e) {
|
|
1328
1379
|
switch (e) {
|
|
1329
1380
|
case "sign-auto":
|
|
1330
1381
|
return {
|
|
@@ -1364,7 +1415,7 @@ function ir(e) {
|
|
|
1364
1415
|
};
|
|
1365
1416
|
}
|
|
1366
1417
|
}
|
|
1367
|
-
function
|
|
1418
|
+
function $n(e) {
|
|
1368
1419
|
var t;
|
|
1369
1420
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1370
1421
|
notation: "engineering"
|
|
@@ -1372,17 +1423,17 @@ function Ln(e) {
|
|
|
1372
1423
|
notation: "scientific"
|
|
1373
1424
|
}, e = e.slice(1)), t) {
|
|
1374
1425
|
var r = e.slice(0, 2);
|
|
1375
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1426
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
|
|
1376
1427
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1377
1428
|
t.minimumIntegerDigits = e.length;
|
|
1378
1429
|
}
|
|
1379
1430
|
return t;
|
|
1380
1431
|
}
|
|
1381
|
-
function
|
|
1382
|
-
var t = {}, r =
|
|
1432
|
+
function Et(e) {
|
|
1433
|
+
var t = {}, r = ur(e);
|
|
1383
1434
|
return r || t;
|
|
1384
1435
|
}
|
|
1385
|
-
function
|
|
1436
|
+
function Un(e) {
|
|
1386
1437
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1387
1438
|
var i = n[r];
|
|
1388
1439
|
switch (i.stem) {
|
|
@@ -1406,7 +1457,7 @@ function kn(e) {
|
|
|
1406
1457
|
continue;
|
|
1407
1458
|
case "measure-unit":
|
|
1408
1459
|
case "unit":
|
|
1409
|
-
t.style = "unit", t.unit =
|
|
1460
|
+
t.style = "unit", t.unit = kn(i.options[0]);
|
|
1410
1461
|
continue;
|
|
1411
1462
|
case "compact-short":
|
|
1412
1463
|
case "K":
|
|
@@ -1418,12 +1469,12 @@ function kn(e) {
|
|
|
1418
1469
|
continue;
|
|
1419
1470
|
case "scientific":
|
|
1420
1471
|
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1421
|
-
return S(S({}, l),
|
|
1472
|
+
return S(S({}, l), Et(u));
|
|
1422
1473
|
}, {}));
|
|
1423
1474
|
continue;
|
|
1424
1475
|
case "engineering":
|
|
1425
1476
|
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1426
|
-
return S(S({}, l),
|
|
1477
|
+
return S(S({}, l), Et(u));
|
|
1427
1478
|
}, {}));
|
|
1428
1479
|
continue;
|
|
1429
1480
|
case "notation-simple":
|
|
@@ -1468,7 +1519,7 @@ function kn(e) {
|
|
|
1468
1519
|
case "integer-width":
|
|
1469
1520
|
if (i.options.length > 1)
|
|
1470
1521
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1471
|
-
i.options[0].replace(
|
|
1522
|
+
i.options[0].replace(Nn, function(l, u, c, f, h, d) {
|
|
1472
1523
|
if (u)
|
|
1473
1524
|
t.minimumIntegerDigits = c.length;
|
|
1474
1525
|
else {
|
|
@@ -1481,27 +1532,27 @@ function kn(e) {
|
|
|
1481
1532
|
});
|
|
1482
1533
|
continue;
|
|
1483
1534
|
}
|
|
1484
|
-
if (
|
|
1535
|
+
if (ar.test(i.stem)) {
|
|
1485
1536
|
t.minimumIntegerDigits = i.stem.length;
|
|
1486
1537
|
continue;
|
|
1487
1538
|
}
|
|
1488
|
-
if (
|
|
1539
|
+
if (xt.test(i.stem)) {
|
|
1489
1540
|
if (i.options.length > 1)
|
|
1490
1541
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1491
|
-
i.stem.replace(
|
|
1542
|
+
i.stem.replace(xt, function(l, u, c, f, h, d) {
|
|
1492
1543
|
return c === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && d ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1493
1544
|
});
|
|
1494
1545
|
var o = i.options[0];
|
|
1495
|
-
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t),
|
|
1546
|
+
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), _t(o)));
|
|
1496
1547
|
continue;
|
|
1497
1548
|
}
|
|
1498
|
-
if (
|
|
1499
|
-
t = S(S({}, t),
|
|
1549
|
+
if (sr.test(i.stem)) {
|
|
1550
|
+
t = S(S({}, t), _t(i.stem));
|
|
1500
1551
|
continue;
|
|
1501
1552
|
}
|
|
1502
|
-
var s =
|
|
1553
|
+
var s = ur(i.stem);
|
|
1503
1554
|
s && (t = S(S({}, t), s));
|
|
1504
|
-
var a =
|
|
1555
|
+
var a = $n(i.stem);
|
|
1505
1556
|
a && (t = S(S({}, t), a));
|
|
1506
1557
|
}
|
|
1507
1558
|
return t;
|
|
@@ -2921,22 +2972,23 @@ var xe = {
|
|
|
2921
2972
|
"h"
|
|
2922
2973
|
]
|
|
2923
2974
|
};
|
|
2924
|
-
function
|
|
2975
|
+
function Dn(e, t) {
|
|
2925
2976
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2926
2977
|
var i = e.charAt(n);
|
|
2927
2978
|
if (i === "j") {
|
|
2928
2979
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2929
2980
|
o++, n++;
|
|
2930
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2981
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Fn(t);
|
|
2931
2982
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2932
2983
|
r += l;
|
|
2933
2984
|
for (; s-- > 0; )
|
|
2934
2985
|
r = u + r;
|
|
2935
|
-
} else
|
|
2986
|
+
} else
|
|
2987
|
+
i === "J" ? r += "H" : r += i;
|
|
2936
2988
|
}
|
|
2937
2989
|
return r;
|
|
2938
2990
|
}
|
|
2939
|
-
function
|
|
2991
|
+
function Fn(e) {
|
|
2940
2992
|
var t = e.hourCycle;
|
|
2941
2993
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2942
2994
|
e.hourCycles && // @ts-ignore
|
|
@@ -2958,20 +3010,20 @@ function $n(e) {
|
|
|
2958
3010
|
var i = xe[n || ""] || xe[r || ""] || xe["".concat(r, "-001")] || xe["001"];
|
|
2959
3011
|
return i[0];
|
|
2960
3012
|
}
|
|
2961
|
-
var
|
|
3013
|
+
var $e, Gn = new RegExp("^".concat(or.source, "*")), jn = new RegExp("".concat(or.source, "*$"));
|
|
2962
3014
|
function x(e, t) {
|
|
2963
3015
|
return { start: e, end: t };
|
|
2964
3016
|
}
|
|
2965
|
-
var
|
|
3017
|
+
var Vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), zn = !!String.fromCodePoint, Xn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, Jn = Qn ? Number.isSafeInteger : function(e) {
|
|
2966
3018
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2967
|
-
},
|
|
3019
|
+
}, Je = !0;
|
|
2968
3020
|
try {
|
|
2969
|
-
var
|
|
2970
|
-
|
|
3021
|
+
var Yn = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3022
|
+
Je = (($e = Yn.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
|
|
2971
3023
|
} catch {
|
|
2972
|
-
|
|
3024
|
+
Je = !1;
|
|
2973
3025
|
}
|
|
2974
|
-
var
|
|
3026
|
+
var St = Vn ? (
|
|
2975
3027
|
// Native
|
|
2976
3028
|
function(t, r, n) {
|
|
2977
3029
|
return t.startsWith(r, n);
|
|
@@ -2981,7 +3033,7 @@ var xt = Fn ? (
|
|
|
2981
3033
|
function(t, r, n) {
|
|
2982
3034
|
return t.slice(n, n + r.length) === r;
|
|
2983
3035
|
}
|
|
2984
|
-
),
|
|
3036
|
+
), Ye = zn ? String.fromCodePoint : (
|
|
2985
3037
|
// IE11
|
|
2986
3038
|
function() {
|
|
2987
3039
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2993,9 +3045,9 @@ var xt = Fn ? (
|
|
|
2993
3045
|
}
|
|
2994
3046
|
return n;
|
|
2995
3047
|
}
|
|
2996
|
-
),
|
|
3048
|
+
), wt = (
|
|
2997
3049
|
// native
|
|
2998
|
-
|
|
3050
|
+
Xn ? Object.fromEntries : (
|
|
2999
3051
|
// Ponyfill
|
|
3000
3052
|
function(t) {
|
|
3001
3053
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3005,7 +3057,7 @@ var xt = Fn ? (
|
|
|
3005
3057
|
return r;
|
|
3006
3058
|
}
|
|
3007
3059
|
)
|
|
3008
|
-
),
|
|
3060
|
+
), lr = qn ? (
|
|
3009
3061
|
// Native
|
|
3010
3062
|
function(t, r) {
|
|
3011
3063
|
return t.codePointAt(r);
|
|
@@ -3019,7 +3071,7 @@ var xt = Fn ? (
|
|
|
3019
3071
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3020
3072
|
}
|
|
3021
3073
|
}
|
|
3022
|
-
),
|
|
3074
|
+
), Kn = Wn ? (
|
|
3023
3075
|
// Native
|
|
3024
3076
|
function(t) {
|
|
3025
3077
|
return t.trimStart();
|
|
@@ -3027,9 +3079,9 @@ var xt = Fn ? (
|
|
|
3027
3079
|
) : (
|
|
3028
3080
|
// Ponyfill
|
|
3029
3081
|
function(t) {
|
|
3030
|
-
return t.replace(
|
|
3082
|
+
return t.replace(Gn, "");
|
|
3031
3083
|
}
|
|
3032
|
-
),
|
|
3084
|
+
), ei = Zn ? (
|
|
3033
3085
|
// Native
|
|
3034
3086
|
function(t) {
|
|
3035
3087
|
return t.trimEnd();
|
|
@@ -3037,32 +3089,32 @@ var xt = Fn ? (
|
|
|
3037
3089
|
) : (
|
|
3038
3090
|
// Ponyfill
|
|
3039
3091
|
function(t) {
|
|
3040
|
-
return t.replace(
|
|
3092
|
+
return t.replace(jn, "");
|
|
3041
3093
|
}
|
|
3042
3094
|
);
|
|
3043
|
-
function
|
|
3095
|
+
function cr(e, t) {
|
|
3044
3096
|
return new RegExp(e, t);
|
|
3045
3097
|
}
|
|
3046
|
-
var
|
|
3047
|
-
if (
|
|
3048
|
-
var
|
|
3049
|
-
|
|
3098
|
+
var Ke;
|
|
3099
|
+
if (Je) {
|
|
3100
|
+
var Tt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3101
|
+
Ke = function(t, r) {
|
|
3050
3102
|
var n;
|
|
3051
|
-
|
|
3052
|
-
var i =
|
|
3103
|
+
Tt.lastIndex = r;
|
|
3104
|
+
var i = Tt.exec(t);
|
|
3053
3105
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3054
3106
|
};
|
|
3055
3107
|
} else
|
|
3056
|
-
|
|
3108
|
+
Ke = function(t, r) {
|
|
3057
3109
|
for (var n = []; ; ) {
|
|
3058
|
-
var i =
|
|
3059
|
-
if (i === void 0 ||
|
|
3110
|
+
var i = lr(t, r);
|
|
3111
|
+
if (i === void 0 || hr(i) || ii(i))
|
|
3060
3112
|
break;
|
|
3061
3113
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3062
3114
|
}
|
|
3063
|
-
return
|
|
3115
|
+
return Ye.apply(void 0, n);
|
|
3064
3116
|
};
|
|
3065
|
-
var
|
|
3117
|
+
var ti = (
|
|
3066
3118
|
/** @class */
|
|
3067
3119
|
function() {
|
|
3068
3120
|
function e(t, r) {
|
|
@@ -3093,7 +3145,7 @@ var Yn = (
|
|
|
3093
3145
|
if (n)
|
|
3094
3146
|
break;
|
|
3095
3147
|
return this.error(v.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3096
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3148
|
+
} else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
|
|
3097
3149
|
var s = this.parseTag(t, r);
|
|
3098
3150
|
if (s.err)
|
|
3099
3151
|
return s;
|
|
@@ -3126,7 +3178,7 @@ var Yn = (
|
|
|
3126
3178
|
return o;
|
|
3127
3179
|
var s = o.val, a = this.clonePosition();
|
|
3128
3180
|
if (this.bumpIf("</")) {
|
|
3129
|
-
if (this.isEOF() || !
|
|
3181
|
+
if (this.isEOF() || !et(this.char()))
|
|
3130
3182
|
return this.error(v.INVALID_TAG, x(a, this.clonePosition()));
|
|
3131
3183
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3132
3184
|
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3144,7 +3196,7 @@ var Yn = (
|
|
|
3144
3196
|
return this.error(v.INVALID_TAG, x(n, this.clonePosition()));
|
|
3145
3197
|
}, e.prototype.parseTagName = function() {
|
|
3146
3198
|
var t = this.offset();
|
|
3147
|
-
for (this.bump(); !this.isEOF() &&
|
|
3199
|
+
for (this.bump(); !this.isEOF() && ni(this.char()); )
|
|
3148
3200
|
this.bump();
|
|
3149
3201
|
return this.message.slice(t, this.offset());
|
|
3150
3202
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3173,7 +3225,7 @@ var Yn = (
|
|
|
3173
3225
|
};
|
|
3174
3226
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3175
3227
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3176
|
-
!
|
|
3228
|
+
!ri(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3177
3229
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3178
3230
|
if (this.isEOF() || this.char() !== 39)
|
|
3179
3231
|
return null;
|
|
@@ -3207,12 +3259,12 @@ var Yn = (
|
|
|
3207
3259
|
r.push(n);
|
|
3208
3260
|
this.bump();
|
|
3209
3261
|
}
|
|
3210
|
-
return
|
|
3262
|
+
return Ye.apply(void 0, r);
|
|
3211
3263
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3212
3264
|
if (this.isEOF())
|
|
3213
3265
|
return null;
|
|
3214
3266
|
var n = this.char();
|
|
3215
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3267
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
|
|
3216
3268
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3217
3269
|
var n = this.clonePosition();
|
|
3218
3270
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3241,7 +3293,7 @@ var Yn = (
|
|
|
3241
3293
|
return this.error(v.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3242
3294
|
}
|
|
3243
3295
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3244
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3296
|
+
var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
|
|
3245
3297
|
this.bumpTo(i);
|
|
3246
3298
|
var o = this.clonePosition(), s = x(t, o);
|
|
3247
3299
|
return { value: n, location: s };
|
|
@@ -3260,7 +3312,7 @@ var Yn = (
|
|
|
3260
3312
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3261
3313
|
if (f.err)
|
|
3262
3314
|
return f;
|
|
3263
|
-
var h =
|
|
3315
|
+
var h = ei(f.val);
|
|
3264
3316
|
if (h.length === 0)
|
|
3265
3317
|
return this.error(v.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3266
3318
|
var d = x(c, this.clonePosition());
|
|
@@ -3270,8 +3322,8 @@ var Yn = (
|
|
|
3270
3322
|
if (m.err)
|
|
3271
3323
|
return m;
|
|
3272
3324
|
var p = x(i, this.clonePosition());
|
|
3273
|
-
if (u &&
|
|
3274
|
-
var y =
|
|
3325
|
+
if (u && St(u?.style, "::", 0)) {
|
|
3326
|
+
var y = Kn(u.style.slice(2));
|
|
3275
3327
|
if (a === "number") {
|
|
3276
3328
|
var f = this.parseNumberSkeletonFromString(y, u.styleLocation);
|
|
3277
3329
|
return f.err ? f : {
|
|
@@ -3282,12 +3334,12 @@ var Yn = (
|
|
|
3282
3334
|
if (y.length === 0)
|
|
3283
3335
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, p);
|
|
3284
3336
|
var _ = y;
|
|
3285
|
-
this.locale && (_ =
|
|
3337
|
+
this.locale && (_ = Dn(y, this.locale));
|
|
3286
3338
|
var h = {
|
|
3287
3339
|
type: oe.dateTime,
|
|
3288
3340
|
pattern: _,
|
|
3289
3341
|
location: u.styleLocation,
|
|
3290
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3342
|
+
parsedOptions: this.shouldParseSkeletons ? On(_) : {}
|
|
3291
3343
|
}, P = a === "date" ? C.date : C.time;
|
|
3292
3344
|
return {
|
|
3293
3345
|
val: { type: P, value: n, location: p, style: h },
|
|
@@ -3312,7 +3364,7 @@ var Yn = (
|
|
|
3312
3364
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3313
3365
|
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, x(I, S({}, I)));
|
|
3314
3366
|
this.bumpSpace();
|
|
3315
|
-
var j = this.parseIdentifierIfPossible(),
|
|
3367
|
+
var j = this.parseIdentifierIfPossible(), O = 0;
|
|
3316
3368
|
if (a !== "select" && j.value === "offset") {
|
|
3317
3369
|
if (!this.bumpIf(":"))
|
|
3318
3370
|
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
@@ -3320,7 +3372,7 @@ var Yn = (
|
|
|
3320
3372
|
var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3321
3373
|
if (f.err)
|
|
3322
3374
|
return f;
|
|
3323
|
-
this.bumpSpace(), j = this.parseIdentifierIfPossible(),
|
|
3375
|
+
this.bumpSpace(), j = this.parseIdentifierIfPossible(), O = f.val;
|
|
3324
3376
|
}
|
|
3325
3377
|
var B = this.tryParsePluralOrSelectOptions(t, a, r, j);
|
|
3326
3378
|
if (B.err)
|
|
@@ -3333,7 +3385,7 @@ var Yn = (
|
|
|
3333
3385
|
val: {
|
|
3334
3386
|
type: C.select,
|
|
3335
3387
|
value: n,
|
|
3336
|
-
options:
|
|
3388
|
+
options: wt(B.val),
|
|
3337
3389
|
location: F
|
|
3338
3390
|
},
|
|
3339
3391
|
err: null
|
|
@@ -3341,8 +3393,8 @@ var Yn = (
|
|
|
3341
3393
|
val: {
|
|
3342
3394
|
type: C.plural,
|
|
3343
3395
|
value: n,
|
|
3344
|
-
options:
|
|
3345
|
-
offset:
|
|
3396
|
+
options: wt(B.val),
|
|
3397
|
+
offset: O,
|
|
3346
3398
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3347
3399
|
location: F
|
|
3348
3400
|
},
|
|
@@ -3392,7 +3444,7 @@ var Yn = (
|
|
|
3392
3444
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3393
3445
|
var n = [];
|
|
3394
3446
|
try {
|
|
3395
|
-
n =
|
|
3447
|
+
n = Ln(t);
|
|
3396
3448
|
} catch {
|
|
3397
3449
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3398
3450
|
}
|
|
@@ -3401,7 +3453,7 @@ var Yn = (
|
|
|
3401
3453
|
type: oe.number,
|
|
3402
3454
|
tokens: n,
|
|
3403
3455
|
location: r,
|
|
3404
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3456
|
+
parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
|
|
3405
3457
|
},
|
|
3406
3458
|
err: null
|
|
3407
3459
|
};
|
|
@@ -3449,7 +3501,7 @@ var Yn = (
|
|
|
3449
3501
|
break;
|
|
3450
3502
|
}
|
|
3451
3503
|
var l = x(i, this.clonePosition());
|
|
3452
|
-
return o ? (s *= n,
|
|
3504
|
+
return o ? (s *= n, Jn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3453
3505
|
}, e.prototype.offset = function() {
|
|
3454
3506
|
return this.position.offset;
|
|
3455
3507
|
}, e.prototype.isEOF = function() {
|
|
@@ -3464,7 +3516,7 @@ var Yn = (
|
|
|
3464
3516
|
var t = this.position.offset;
|
|
3465
3517
|
if (t >= this.message.length)
|
|
3466
3518
|
throw Error("out of bound");
|
|
3467
|
-
var r =
|
|
3519
|
+
var r = lr(this.message, t);
|
|
3468
3520
|
if (r === void 0)
|
|
3469
3521
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3470
3522
|
return r;
|
|
@@ -3483,7 +3535,7 @@ var Yn = (
|
|
|
3483
3535
|
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);
|
|
3484
3536
|
}
|
|
3485
3537
|
}, e.prototype.bumpIf = function(t) {
|
|
3486
|
-
if (
|
|
3538
|
+
if (St(this.message, t, this.offset())) {
|
|
3487
3539
|
for (var r = 0; r < t.length; r++)
|
|
3488
3540
|
this.bump();
|
|
3489
3541
|
return !0;
|
|
@@ -3505,7 +3557,7 @@ var Yn = (
|
|
|
3505
3557
|
break;
|
|
3506
3558
|
}
|
|
3507
3559
|
}, e.prototype.bumpSpace = function() {
|
|
3508
|
-
for (; !this.isEOF() &&
|
|
3560
|
+
for (; !this.isEOF() && hr(this.char()); )
|
|
3509
3561
|
this.bump();
|
|
3510
3562
|
}, e.prototype.peek = function() {
|
|
3511
3563
|
if (this.isEOF())
|
|
@@ -3515,37 +3567,38 @@ var Yn = (
|
|
|
3515
3567
|
}, e;
|
|
3516
3568
|
}()
|
|
3517
3569
|
);
|
|
3518
|
-
function
|
|
3570
|
+
function et(e) {
|
|
3519
3571
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3520
3572
|
}
|
|
3521
|
-
function
|
|
3522
|
-
return
|
|
3573
|
+
function ri(e) {
|
|
3574
|
+
return et(e) || e === 47;
|
|
3523
3575
|
}
|
|
3524
|
-
function
|
|
3576
|
+
function ni(e) {
|
|
3525
3577
|
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;
|
|
3526
3578
|
}
|
|
3527
|
-
function
|
|
3579
|
+
function hr(e) {
|
|
3528
3580
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3529
3581
|
}
|
|
3530
|
-
function
|
|
3582
|
+
function ii(e) {
|
|
3531
3583
|
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;
|
|
3532
3584
|
}
|
|
3533
|
-
function
|
|
3585
|
+
function tt(e) {
|
|
3534
3586
|
e.forEach(function(t) {
|
|
3535
|
-
if (delete t.location,
|
|
3587
|
+
if (delete t.location, tr(t) || rr(t))
|
|
3536
3588
|
for (var r in t.options)
|
|
3537
|
-
delete t.options[r].location,
|
|
3538
|
-
else
|
|
3589
|
+
delete t.options[r].location, tt(t.options[r].value);
|
|
3590
|
+
else
|
|
3591
|
+
Yt(t) && ir(t.style) || (Kt(t) || er(t)) && Qe(t.style) ? delete t.style.location : nr(t) && tt(t.children);
|
|
3539
3592
|
});
|
|
3540
3593
|
}
|
|
3541
|
-
function
|
|
3594
|
+
function oi(e, t) {
|
|
3542
3595
|
t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3543
|
-
var r = new
|
|
3596
|
+
var r = new ti(e, t).parse();
|
|
3544
3597
|
if (r.err) {
|
|
3545
3598
|
var n = SyntaxError(v[r.err.kind]);
|
|
3546
3599
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3547
3600
|
}
|
|
3548
|
-
return t?.captureLocation ||
|
|
3601
|
+
return t?.captureLocation || tt(r.val), r.val;
|
|
3549
3602
|
}
|
|
3550
3603
|
var se;
|
|
3551
3604
|
(function(e) {
|
|
@@ -3563,7 +3616,7 @@ var Ae = (
|
|
|
3563
3616
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3564
3617
|
}, t;
|
|
3565
3618
|
}(Error)
|
|
3566
|
-
),
|
|
3619
|
+
), Ht = (
|
|
3567
3620
|
/** @class */
|
|
3568
3621
|
function(e) {
|
|
3569
3622
|
q(t, e);
|
|
@@ -3572,7 +3625,7 @@ var Ae = (
|
|
|
3572
3625
|
}
|
|
3573
3626
|
return t;
|
|
3574
3627
|
}(Ae)
|
|
3575
|
-
),
|
|
3628
|
+
), si = (
|
|
3576
3629
|
/** @class */
|
|
3577
3630
|
function(e) {
|
|
3578
3631
|
q(t, e);
|
|
@@ -3581,7 +3634,7 @@ var Ae = (
|
|
|
3581
3634
|
}
|
|
3582
3635
|
return t;
|
|
3583
3636
|
}(Ae)
|
|
3584
|
-
),
|
|
3637
|
+
), ai = (
|
|
3585
3638
|
/** @class */
|
|
3586
3639
|
function(e) {
|
|
3587
3640
|
q(t, e);
|
|
@@ -3594,17 +3647,17 @@ var Ae = (
|
|
|
3594
3647
|
(function(e) {
|
|
3595
3648
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3596
3649
|
})(k || (k = {}));
|
|
3597
|
-
function
|
|
3650
|
+
function ui(e) {
|
|
3598
3651
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3599
3652
|
var n = t[t.length - 1];
|
|
3600
3653
|
return !n || n.type !== k.literal || r.type !== k.literal ? t.push(r) : n.value += r.value, t;
|
|
3601
3654
|
}, []);
|
|
3602
3655
|
}
|
|
3603
|
-
function
|
|
3656
|
+
function li(e) {
|
|
3604
3657
|
return typeof e == "function";
|
|
3605
3658
|
}
|
|
3606
3659
|
function Se(e, t, r, n, i, o, s) {
|
|
3607
|
-
if (e.length === 1 &&
|
|
3660
|
+
if (e.length === 1 && vt(e[0]))
|
|
3608
3661
|
return [
|
|
3609
3662
|
{
|
|
3610
3663
|
type: k.literal,
|
|
@@ -3613,14 +3666,14 @@ function Se(e, t, r, n, i, o, s) {
|
|
|
3613
3666
|
];
|
|
3614
3667
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3615
3668
|
var c = u[l];
|
|
3616
|
-
if (
|
|
3669
|
+
if (vt(c)) {
|
|
3617
3670
|
a.push({
|
|
3618
3671
|
type: k.literal,
|
|
3619
3672
|
value: c.value
|
|
3620
3673
|
});
|
|
3621
3674
|
continue;
|
|
3622
3675
|
}
|
|
3623
|
-
if (
|
|
3676
|
+
if (Rn(c)) {
|
|
3624
3677
|
typeof o == "number" && a.push({
|
|
3625
3678
|
type: k.literal,
|
|
3626
3679
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3629,61 +3682,61 @@ function Se(e, t, r, n, i, o, s) {
|
|
|
3629
3682
|
}
|
|
3630
3683
|
var f = c.value;
|
|
3631
3684
|
if (!(i && f in i))
|
|
3632
|
-
throw new
|
|
3685
|
+
throw new ai(f, s);
|
|
3633
3686
|
var h = i[f];
|
|
3634
|
-
if (
|
|
3687
|
+
if (An(c)) {
|
|
3635
3688
|
(!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
|
|
3636
3689
|
type: typeof h == "string" ? k.literal : k.object,
|
|
3637
3690
|
value: h
|
|
3638
3691
|
});
|
|
3639
3692
|
continue;
|
|
3640
3693
|
}
|
|
3641
|
-
if (
|
|
3642
|
-
var d = typeof c.style == "string" ? n.date[c.style] :
|
|
3694
|
+
if (Kt(c)) {
|
|
3695
|
+
var d = typeof c.style == "string" ? n.date[c.style] : Qe(c.style) ? c.style.parsedOptions : void 0;
|
|
3643
3696
|
a.push({
|
|
3644
3697
|
type: k.literal,
|
|
3645
3698
|
value: r.getDateTimeFormat(t, d).format(h)
|
|
3646
3699
|
});
|
|
3647
3700
|
continue;
|
|
3648
3701
|
}
|
|
3649
|
-
if (
|
|
3650
|
-
var d = typeof c.style == "string" ? n.time[c.style] :
|
|
3702
|
+
if (er(c)) {
|
|
3703
|
+
var d = typeof c.style == "string" ? n.time[c.style] : Qe(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3651
3704
|
a.push({
|
|
3652
3705
|
type: k.literal,
|
|
3653
3706
|
value: r.getDateTimeFormat(t, d).format(h)
|
|
3654
3707
|
});
|
|
3655
3708
|
continue;
|
|
3656
3709
|
}
|
|
3657
|
-
if (
|
|
3658
|
-
var d = typeof c.style == "string" ? n.number[c.style] :
|
|
3710
|
+
if (Yt(c)) {
|
|
3711
|
+
var d = typeof c.style == "string" ? n.number[c.style] : ir(c.style) ? c.style.parsedOptions : void 0;
|
|
3659
3712
|
d && d.scale && (h = h * (d.scale || 1)), a.push({
|
|
3660
3713
|
type: k.literal,
|
|
3661
3714
|
value: r.getNumberFormat(t, d).format(h)
|
|
3662
3715
|
});
|
|
3663
3716
|
continue;
|
|
3664
3717
|
}
|
|
3665
|
-
if (
|
|
3718
|
+
if (nr(c)) {
|
|
3666
3719
|
var m = c.children, p = c.value, y = i[p];
|
|
3667
|
-
if (!
|
|
3668
|
-
throw new
|
|
3669
|
-
var _ = Se(m, t, r, n, i, o), P = y(_.map(function(
|
|
3670
|
-
return
|
|
3720
|
+
if (!li(y))
|
|
3721
|
+
throw new si(p, "function", s);
|
|
3722
|
+
var _ = Se(m, t, r, n, i, o), P = y(_.map(function(O) {
|
|
3723
|
+
return O.value;
|
|
3671
3724
|
}));
|
|
3672
|
-
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(
|
|
3725
|
+
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
|
|
3673
3726
|
return {
|
|
3674
|
-
type: typeof
|
|
3675
|
-
value:
|
|
3727
|
+
type: typeof O == "string" ? k.literal : k.object,
|
|
3728
|
+
value: O
|
|
3676
3729
|
};
|
|
3677
3730
|
}));
|
|
3678
3731
|
}
|
|
3679
|
-
if (
|
|
3732
|
+
if (tr(c)) {
|
|
3680
3733
|
var I = c.options[h] || c.options.other;
|
|
3681
3734
|
if (!I)
|
|
3682
|
-
throw new
|
|
3735
|
+
throw new Ht(c.value, h, Object.keys(c.options), s);
|
|
3683
3736
|
a.push.apply(a, Se(I.value, t, r, n, i));
|
|
3684
3737
|
continue;
|
|
3685
3738
|
}
|
|
3686
|
-
if (
|
|
3739
|
+
if (rr(c)) {
|
|
3687
3740
|
var I = c.options["=".concat(h)];
|
|
3688
3741
|
if (!I) {
|
|
3689
3742
|
if (!Intl.PluralRules)
|
|
@@ -3694,24 +3747,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3694
3747
|
I = c.options[j] || c.options.other;
|
|
3695
3748
|
}
|
|
3696
3749
|
if (!I)
|
|
3697
|
-
throw new
|
|
3750
|
+
throw new Ht(c.value, h, Object.keys(c.options), s);
|
|
3698
3751
|
a.push.apply(a, Se(I.value, t, r, n, i, h - (c.offset || 0)));
|
|
3699
3752
|
continue;
|
|
3700
3753
|
}
|
|
3701
3754
|
}
|
|
3702
|
-
return
|
|
3755
|
+
return ui(a);
|
|
3703
3756
|
}
|
|
3704
|
-
function
|
|
3757
|
+
function ci(e, t) {
|
|
3705
3758
|
return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3706
3759
|
return r[n] = S(S({}, e[n]), t[n] || {}), r;
|
|
3707
3760
|
}, {})) : e;
|
|
3708
3761
|
}
|
|
3709
|
-
function
|
|
3762
|
+
function hi(e, t) {
|
|
3710
3763
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3711
|
-
return r[n] =
|
|
3764
|
+
return r[n] = ci(e[n], t[n]), r;
|
|
3712
3765
|
}, S({}, e)) : e;
|
|
3713
3766
|
}
|
|
3714
|
-
function
|
|
3767
|
+
function Ue(e) {
|
|
3715
3768
|
return {
|
|
3716
3769
|
create: function() {
|
|
3717
3770
|
return {
|
|
@@ -3725,39 +3778,39 @@ function $e(e) {
|
|
|
3725
3778
|
}
|
|
3726
3779
|
};
|
|
3727
3780
|
}
|
|
3728
|
-
function
|
|
3781
|
+
function fi(e) {
|
|
3729
3782
|
return e === void 0 && (e = {
|
|
3730
3783
|
number: {},
|
|
3731
3784
|
dateTime: {},
|
|
3732
3785
|
pluralRules: {}
|
|
3733
3786
|
}), {
|
|
3734
|
-
getNumberFormat:
|
|
3787
|
+
getNumberFormat: ke(function() {
|
|
3735
3788
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3736
3789
|
r[n] = arguments[n];
|
|
3737
3790
|
return new ((t = Intl.NumberFormat).bind.apply(t, ne([void 0], r, !1)))();
|
|
3738
3791
|
}, {
|
|
3739
|
-
cache:
|
|
3740
|
-
strategy:
|
|
3792
|
+
cache: Ue(e.number),
|
|
3793
|
+
strategy: Ne.variadic
|
|
3741
3794
|
}),
|
|
3742
|
-
getDateTimeFormat:
|
|
3795
|
+
getDateTimeFormat: ke(function() {
|
|
3743
3796
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3744
3797
|
r[n] = arguments[n];
|
|
3745
3798
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, ne([void 0], r, !1)))();
|
|
3746
3799
|
}, {
|
|
3747
|
-
cache:
|
|
3748
|
-
strategy:
|
|
3800
|
+
cache: Ue(e.dateTime),
|
|
3801
|
+
strategy: Ne.variadic
|
|
3749
3802
|
}),
|
|
3750
|
-
getPluralRules:
|
|
3803
|
+
getPluralRules: ke(function() {
|
|
3751
3804
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3752
3805
|
r[n] = arguments[n];
|
|
3753
3806
|
return new ((t = Intl.PluralRules).bind.apply(t, ne([void 0], r, !1)))();
|
|
3754
3807
|
}, {
|
|
3755
|
-
cache:
|
|
3756
|
-
strategy:
|
|
3808
|
+
cache: Ue(e.pluralRules),
|
|
3809
|
+
strategy: Ne.variadic
|
|
3757
3810
|
})
|
|
3758
3811
|
};
|
|
3759
3812
|
}
|
|
3760
|
-
var
|
|
3813
|
+
var pi = (
|
|
3761
3814
|
/** @class */
|
|
3762
3815
|
function() {
|
|
3763
3816
|
function e(t, r, n, i) {
|
|
@@ -3789,13 +3842,13 @@ var ci = (
|
|
|
3789
3842
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3790
3843
|
var s = i || {};
|
|
3791
3844
|
s.formatters;
|
|
3792
|
-
var a =
|
|
3845
|
+
var a = zr(s, ["formatters"]);
|
|
3793
3846
|
this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
|
|
3794
3847
|
} else
|
|
3795
3848
|
this.ast = t;
|
|
3796
3849
|
if (!Array.isArray(this.ast))
|
|
3797
3850
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3798
|
-
this.formats =
|
|
3851
|
+
this.formats = hi(e.formats, n), this.formatters = i && i.formatters || fi(this.formatterCache);
|
|
3799
3852
|
}
|
|
3800
3853
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3801
3854
|
get: function() {
|
|
@@ -3808,7 +3861,7 @@ var ci = (
|
|
|
3808
3861
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3809
3862
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3810
3863
|
}
|
|
3811
|
-
}, e.__parse =
|
|
3864
|
+
}, e.__parse = oi, e.formats = {
|
|
3812
3865
|
number: {
|
|
3813
3866
|
integer: {
|
|
3814
3867
|
maximumFractionDigits: 0
|
|
@@ -3869,7 +3922,7 @@ var ci = (
|
|
|
3869
3922
|
}, e;
|
|
3870
3923
|
}()
|
|
3871
3924
|
);
|
|
3872
|
-
function
|
|
3925
|
+
function di(e, t) {
|
|
3873
3926
|
if (t == null)
|
|
3874
3927
|
return;
|
|
3875
3928
|
if (t in e)
|
|
@@ -3890,92 +3943,92 @@ function hi(e, t) {
|
|
|
3890
3943
|
n = void 0;
|
|
3891
3944
|
return n;
|
|
3892
3945
|
}
|
|
3893
|
-
const Z = {},
|
|
3946
|
+
const Z = {}, mi = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), fr = (e, t) => {
|
|
3894
3947
|
if (t == null)
|
|
3895
3948
|
return;
|
|
3896
3949
|
if (t in Z && e in Z[t])
|
|
3897
3950
|
return Z[t][e];
|
|
3898
|
-
const r =
|
|
3951
|
+
const r = Re(t);
|
|
3899
3952
|
for (let n = 0; n < r.length; n++) {
|
|
3900
|
-
const i = r[n], o =
|
|
3953
|
+
const i = r[n], o = yi(i, e);
|
|
3901
3954
|
if (o)
|
|
3902
|
-
return
|
|
3955
|
+
return mi(e, t, o);
|
|
3903
3956
|
}
|
|
3904
3957
|
};
|
|
3905
|
-
let
|
|
3958
|
+
let at;
|
|
3906
3959
|
const ye = Pe({});
|
|
3907
|
-
function
|
|
3908
|
-
return
|
|
3960
|
+
function bi(e) {
|
|
3961
|
+
return at[e] || null;
|
|
3909
3962
|
}
|
|
3910
|
-
function
|
|
3911
|
-
return e in
|
|
3963
|
+
function pr(e) {
|
|
3964
|
+
return e in at;
|
|
3912
3965
|
}
|
|
3913
|
-
function
|
|
3914
|
-
if (!
|
|
3966
|
+
function yi(e, t) {
|
|
3967
|
+
if (!pr(e))
|
|
3915
3968
|
return null;
|
|
3916
|
-
const r =
|
|
3917
|
-
return
|
|
3969
|
+
const r = bi(e);
|
|
3970
|
+
return di(r, t);
|
|
3918
3971
|
}
|
|
3919
|
-
function
|
|
3972
|
+
function gi(e) {
|
|
3920
3973
|
if (e == null)
|
|
3921
3974
|
return;
|
|
3922
|
-
const t =
|
|
3975
|
+
const t = Re(e);
|
|
3923
3976
|
for (let r = 0; r < t.length; r++) {
|
|
3924
3977
|
const n = t[r];
|
|
3925
|
-
if (
|
|
3978
|
+
if (pr(n))
|
|
3926
3979
|
return n;
|
|
3927
3980
|
}
|
|
3928
3981
|
}
|
|
3929
|
-
function
|
|
3930
|
-
delete Z[e], ye.update((r) => (r[e] =
|
|
3982
|
+
function dr(e, ...t) {
|
|
3983
|
+
delete Z[e], ye.update((r) => (r[e] = Sn.all([r[e] || {}, ...t]), r));
|
|
3931
3984
|
}
|
|
3932
3985
|
le(
|
|
3933
3986
|
[ye],
|
|
3934
3987
|
([e]) => Object.keys(e)
|
|
3935
3988
|
);
|
|
3936
|
-
ye.subscribe((e) =>
|
|
3989
|
+
ye.subscribe((e) => at = e);
|
|
3937
3990
|
const we = {};
|
|
3938
|
-
function
|
|
3991
|
+
function vi(e, t) {
|
|
3939
3992
|
we[e].delete(t), we[e].size === 0 && delete we[e];
|
|
3940
3993
|
}
|
|
3941
|
-
function
|
|
3994
|
+
function mr(e) {
|
|
3942
3995
|
return we[e];
|
|
3943
3996
|
}
|
|
3944
|
-
function
|
|
3945
|
-
return
|
|
3946
|
-
const r =
|
|
3997
|
+
function xi(e) {
|
|
3998
|
+
return Re(e).map((t) => {
|
|
3999
|
+
const r = mr(t);
|
|
3947
4000
|
return [t, r ? [...r] : []];
|
|
3948
4001
|
}).filter(([, t]) => t.length > 0);
|
|
3949
4002
|
}
|
|
3950
|
-
function
|
|
3951
|
-
return e == null ? !1 :
|
|
4003
|
+
function rt(e) {
|
|
4004
|
+
return e == null ? !1 : Re(e).some(
|
|
3952
4005
|
(t) => {
|
|
3953
4006
|
var r;
|
|
3954
|
-
return (r =
|
|
4007
|
+
return (r = mr(t)) == null ? void 0 : r.size;
|
|
3955
4008
|
}
|
|
3956
4009
|
);
|
|
3957
4010
|
}
|
|
3958
|
-
function
|
|
4011
|
+
function _i(e, t) {
|
|
3959
4012
|
return Promise.all(
|
|
3960
|
-
t.map((n) => (
|
|
3961
|
-
).then((n) =>
|
|
4013
|
+
t.map((n) => (vi(e, n), n().then((i) => i.default || i)))
|
|
4014
|
+
).then((n) => dr(e, ...n));
|
|
3962
4015
|
}
|
|
3963
4016
|
const fe = {};
|
|
3964
|
-
function
|
|
3965
|
-
if (!
|
|
4017
|
+
function br(e) {
|
|
4018
|
+
if (!rt(e))
|
|
3966
4019
|
return e in fe ? fe[e] : Promise.resolve();
|
|
3967
|
-
const t =
|
|
4020
|
+
const t = xi(e);
|
|
3968
4021
|
return fe[e] = Promise.all(
|
|
3969
4022
|
t.map(
|
|
3970
|
-
([r, n]) =>
|
|
4023
|
+
([r, n]) => _i(r, n)
|
|
3971
4024
|
)
|
|
3972
4025
|
).then(() => {
|
|
3973
|
-
if (
|
|
3974
|
-
return
|
|
4026
|
+
if (rt(e))
|
|
4027
|
+
return br(e);
|
|
3975
4028
|
delete fe[e];
|
|
3976
4029
|
}), fe[e];
|
|
3977
4030
|
}
|
|
3978
|
-
const
|
|
4031
|
+
const Ei = {
|
|
3979
4032
|
number: {
|
|
3980
4033
|
scientific: { notation: "scientific" },
|
|
3981
4034
|
engineering: { notation: "engineering" },
|
|
@@ -4004,78 +4057,78 @@ const vi = {
|
|
|
4004
4057
|
timeZoneName: "short"
|
|
4005
4058
|
}
|
|
4006
4059
|
}
|
|
4007
|
-
},
|
|
4060
|
+
}, Si = {
|
|
4008
4061
|
fallbackLocale: null,
|
|
4009
4062
|
loadingDelay: 200,
|
|
4010
|
-
formats:
|
|
4063
|
+
formats: Ei,
|
|
4011
4064
|
warnOnMissingMessages: !0,
|
|
4012
4065
|
handleMissingMessage: void 0,
|
|
4013
4066
|
ignoreTag: !0
|
|
4014
|
-
},
|
|
4067
|
+
}, wi = Si;
|
|
4015
4068
|
function ae() {
|
|
4016
|
-
return
|
|
4069
|
+
return wi;
|
|
4017
4070
|
}
|
|
4018
|
-
const
|
|
4019
|
-
var
|
|
4071
|
+
const De = Pe(!1);
|
|
4072
|
+
var Ti = Object.defineProperty, Hi = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
|
|
4020
4073
|
for (var r in t || (t = {}))
|
|
4021
|
-
|
|
4022
|
-
if (
|
|
4023
|
-
for (var r of
|
|
4024
|
-
|
|
4074
|
+
Bi.call(t, r) && Bt(e, r, t[r]);
|
|
4075
|
+
if (Ct)
|
|
4076
|
+
for (var r of Ct(t))
|
|
4077
|
+
Pi.call(t, r) && Bt(e, r, t[r]);
|
|
4025
4078
|
return e;
|
|
4026
|
-
},
|
|
4027
|
-
let
|
|
4079
|
+
}, Ri = (e, t) => Hi(e, Ci(t));
|
|
4080
|
+
let nt;
|
|
4028
4081
|
const He = Pe(null);
|
|
4029
|
-
function
|
|
4082
|
+
function Pt(e) {
|
|
4030
4083
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4031
4084
|
}
|
|
4032
|
-
function
|
|
4033
|
-
const r =
|
|
4034
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4085
|
+
function Re(e, t = ae().fallbackLocale) {
|
|
4086
|
+
const r = Pt(e);
|
|
4087
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
|
|
4035
4088
|
}
|
|
4036
4089
|
function Q() {
|
|
4037
|
-
return
|
|
4090
|
+
return nt ?? void 0;
|
|
4038
4091
|
}
|
|
4039
4092
|
He.subscribe((e) => {
|
|
4040
|
-
|
|
4093
|
+
nt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4041
4094
|
});
|
|
4042
|
-
const
|
|
4043
|
-
if (e &&
|
|
4095
|
+
const Mi = (e) => {
|
|
4096
|
+
if (e && gi(e) && rt(e)) {
|
|
4044
4097
|
const { loadingDelay: t } = ae();
|
|
4045
4098
|
let r;
|
|
4046
4099
|
return typeof window < "u" && Q() != null && t ? r = window.setTimeout(
|
|
4047
|
-
() =>
|
|
4100
|
+
() => De.set(!0),
|
|
4048
4101
|
t
|
|
4049
|
-
) :
|
|
4102
|
+
) : De.set(!0), br(e).then(() => {
|
|
4050
4103
|
He.set(e);
|
|
4051
4104
|
}).finally(() => {
|
|
4052
|
-
clearTimeout(r),
|
|
4105
|
+
clearTimeout(r), De.set(!1);
|
|
4053
4106
|
});
|
|
4054
4107
|
}
|
|
4055
4108
|
return He.set(e);
|
|
4056
|
-
}, ce =
|
|
4057
|
-
set:
|
|
4058
|
-
}),
|
|
4109
|
+
}, ce = Ri(Ai({}, He), {
|
|
4110
|
+
set: Mi
|
|
4111
|
+
}), Me = (e) => {
|
|
4059
4112
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4060
4113
|
return (n) => {
|
|
4061
4114
|
const i = JSON.stringify(n);
|
|
4062
4115
|
return i in t ? t[i] : t[i] = e(n);
|
|
4063
4116
|
};
|
|
4064
4117
|
};
|
|
4065
|
-
var
|
|
4118
|
+
var Oi = Object.defineProperty, Ce = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
|
|
4066
4119
|
for (var r in t || (t = {}))
|
|
4067
|
-
|
|
4120
|
+
yr.call(t, r) && At(e, r, t[r]);
|
|
4068
4121
|
if (Ce)
|
|
4069
4122
|
for (var r of Ce(t))
|
|
4070
|
-
|
|
4123
|
+
gr.call(t, r) && At(e, r, t[r]);
|
|
4071
4124
|
return e;
|
|
4072
4125
|
}, he = (e, t) => {
|
|
4073
4126
|
var r = {};
|
|
4074
4127
|
for (var n in e)
|
|
4075
|
-
|
|
4128
|
+
yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4076
4129
|
if (e != null && Ce)
|
|
4077
4130
|
for (var n of Ce(e))
|
|
4078
|
-
t.indexOf(n) < 0 &&
|
|
4131
|
+
t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
|
|
4079
4132
|
return r;
|
|
4080
4133
|
};
|
|
4081
4134
|
const be = (e, t) => {
|
|
@@ -4083,21 +4136,21 @@ const be = (e, t) => {
|
|
|
4083
4136
|
if (e in r && t in r[e])
|
|
4084
4137
|
return r[e][t];
|
|
4085
4138
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4086
|
-
},
|
|
4139
|
+
}, Ii = Me(
|
|
4087
4140
|
(e) => {
|
|
4088
4141
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4089
4142
|
if (r == null)
|
|
4090
4143
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4091
4144
|
return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
|
|
4092
4145
|
}
|
|
4093
|
-
),
|
|
4146
|
+
), Li = Me(
|
|
4094
4147
|
(e) => {
|
|
4095
4148
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4096
4149
|
if (r == null)
|
|
4097
4150
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4098
4151
|
return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4099
4152
|
}
|
|
4100
|
-
),
|
|
4153
|
+
), ki = Me(
|
|
4101
4154
|
(e) => {
|
|
4102
4155
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4103
4156
|
if (r == null)
|
|
@@ -4106,33 +4159,33 @@ const be = (e, t) => {
|
|
|
4106
4159
|
);
|
|
4107
4160
|
return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4108
4161
|
}
|
|
4109
|
-
),
|
|
4162
|
+
), Ni = (e = {}) => {
|
|
4110
4163
|
var t = e, {
|
|
4111
4164
|
locale: r = Q()
|
|
4112
4165
|
} = t, n = he(t, [
|
|
4113
4166
|
"locale"
|
|
4114
4167
|
]);
|
|
4115
|
-
return
|
|
4116
|
-
},
|
|
4168
|
+
return Ii(ut({ locale: r }, n));
|
|
4169
|
+
}, $i = (e = {}) => {
|
|
4117
4170
|
var t = e, {
|
|
4118
4171
|
locale: r = Q()
|
|
4119
4172
|
} = t, n = he(t, [
|
|
4120
4173
|
"locale"
|
|
4121
4174
|
]);
|
|
4122
|
-
return
|
|
4123
|
-
},
|
|
4175
|
+
return Li(ut({ locale: r }, n));
|
|
4176
|
+
}, Ui = (e = {}) => {
|
|
4124
4177
|
var t = e, {
|
|
4125
4178
|
locale: r = Q()
|
|
4126
4179
|
} = t, n = he(t, [
|
|
4127
4180
|
"locale"
|
|
4128
4181
|
]);
|
|
4129
|
-
return
|
|
4130
|
-
},
|
|
4182
|
+
return ki(ut({ locale: r }, n));
|
|
4183
|
+
}, Di = Me(
|
|
4131
4184
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4132
|
-
(e, t = Q()) => new
|
|
4185
|
+
(e, t = Q()) => new pi(e, t, ae().formats, {
|
|
4133
4186
|
ignoreTag: ae().ignoreTag
|
|
4134
4187
|
})
|
|
4135
|
-
),
|
|
4188
|
+
), Fi = (e, t = {}) => {
|
|
4136
4189
|
var r, n, i, o;
|
|
4137
4190
|
let s = t;
|
|
4138
4191
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4145,7 +4198,7 @@ const be = (e, t) => {
|
|
|
4145
4198
|
throw new Error(
|
|
4146
4199
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4147
4200
|
);
|
|
4148
|
-
let c =
|
|
4201
|
+
let c = fr(e, l);
|
|
4149
4202
|
if (!c)
|
|
4150
4203
|
c = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4151
4204
|
else if (typeof c != "string")
|
|
@@ -4156,7 +4209,7 @@ const be = (e, t) => {
|
|
|
4156
4209
|
return c;
|
|
4157
4210
|
let f = c;
|
|
4158
4211
|
try {
|
|
4159
|
-
f =
|
|
4212
|
+
f = Di(c, l).format(a);
|
|
4160
4213
|
} catch (h) {
|
|
4161
4214
|
h instanceof Error && console.warn(
|
|
4162
4215
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4164,20 +4217,20 @@ const be = (e, t) => {
|
|
|
4164
4217
|
);
|
|
4165
4218
|
}
|
|
4166
4219
|
return f;
|
|
4167
|
-
},
|
|
4168
|
-
le([ce], () =>
|
|
4169
|
-
le([ce], () =>
|
|
4170
|
-
le([ce], () =>
|
|
4171
|
-
le([ce, ye], () =>
|
|
4172
|
-
window.emWidgets = { topic:
|
|
4173
|
-
const
|
|
4174
|
-
function
|
|
4175
|
-
|
|
4176
|
-
}
|
|
4177
|
-
function
|
|
4220
|
+
}, Gi = (e, t) => Ui(t).format(e), ji = (e, t) => $i(t).format(e), Vi = (e, t) => Ni(t).format(e), zi = (e, t = Q()) => fr(e, t), Xi = le([ce, ye], () => Fi);
|
|
4221
|
+
le([ce], () => Gi);
|
|
4222
|
+
le([ce], () => ji);
|
|
4223
|
+
le([ce], () => Vi);
|
|
4224
|
+
le([ce, ye], () => zi);
|
|
4225
|
+
window.emWidgets = { topic: sn };
|
|
4226
|
+
const qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4227
|
+
function Rt(e, t) {
|
|
4228
|
+
dr(e, t);
|
|
4229
|
+
}
|
|
4230
|
+
function Wi(e) {
|
|
4178
4231
|
ce.set(e);
|
|
4179
4232
|
}
|
|
4180
|
-
const
|
|
4233
|
+
const Mt = {
|
|
4181
4234
|
en: {
|
|
4182
4235
|
titleRealityCheck: "Reality Check",
|
|
4183
4236
|
never: "Never",
|
|
@@ -4289,13 +4342,13 @@ const Pt = {
|
|
|
4289
4342
|
setFrequency: "Set frequency"
|
|
4290
4343
|
}
|
|
4291
4344
|
};
|
|
4292
|
-
function
|
|
4345
|
+
function Zi(e, t) {
|
|
4293
4346
|
if (e) {
|
|
4294
4347
|
const r = document.createElement("style");
|
|
4295
4348
|
r.innerHTML = t, e.appendChild(r);
|
|
4296
4349
|
}
|
|
4297
4350
|
}
|
|
4298
|
-
function
|
|
4351
|
+
function Qi(e, t) {
|
|
4299
4352
|
const r = new URL(t);
|
|
4300
4353
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4301
4354
|
const i = document.createElement("style");
|
|
@@ -4304,7 +4357,7 @@ function qi(e, t) {
|
|
|
4304
4357
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4305
4358
|
});
|
|
4306
4359
|
}
|
|
4307
|
-
function
|
|
4360
|
+
function Ji(e, t, r) {
|
|
4308
4361
|
if (window.emMessageBus) {
|
|
4309
4362
|
const n = document.createElement("style");
|
|
4310
4363
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4312,18 +4365,18 @@ function Wi(e, t, r) {
|
|
|
4312
4365
|
});
|
|
4313
4366
|
}
|
|
4314
4367
|
}
|
|
4315
|
-
function
|
|
4316
|
-
|
|
4368
|
+
function Yi(e) {
|
|
4369
|
+
Sr(e, "svelte-1nvaky6", '.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.successMessage{position:absolute;display:block;top:25px;left:50px;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessageMobile.successMessage{display:none}.TextContainer{display:flex;flex-direction:column;padding:10px 20px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));line-height:24px}.RealityCheckDescription p{min-height:140px}.RealityCheckDescription.RealityChecktionMobile{font-size:12px;line-height:18px}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerRealityCheckWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed;opacity:0.6}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerDetailsContent{grid-template-columns:1fr}.containerTimeout{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerRealityCheckWrapperTablet{padding:40px 25% 100% 25%}.PlayerRealityCheckWrapperTablet .PlayerRealityCheckContent{grid-row-gap:40px}.PlayerRealityCheckWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerRealityCheckWrapperTablet .MenuReturnButton span{font-size:20px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
4317
4370
|
}
|
|
4318
|
-
function
|
|
4371
|
+
function Ot(e, t, r) {
|
|
4319
4372
|
const n = e.slice();
|
|
4320
4373
|
return n[32] = t[r].value, n[33] = t[r].text, n[35] = r, n;
|
|
4321
4374
|
}
|
|
4322
|
-
function
|
|
4375
|
+
function Ki(e, t, r) {
|
|
4323
4376
|
const n = e.slice();
|
|
4324
4377
|
return n[29] = t[r], n;
|
|
4325
4378
|
}
|
|
4326
|
-
function
|
|
4379
|
+
function eo(e) {
|
|
4327
4380
|
let t, r, n, i, o = (
|
|
4328
4381
|
/*$_*/
|
|
4329
4382
|
e[4]("titleRealityCheck") + ""
|
|
@@ -4333,32 +4386,32 @@ function Ji(e) {
|
|
|
4333
4386
|
), f, h, d, m, p, y, _ = (
|
|
4334
4387
|
/*$_*/
|
|
4335
4388
|
e[4]("setFrequency") + ""
|
|
4336
|
-
), P, I, j,
|
|
4389
|
+
), P, I, j, O = (
|
|
4337
4390
|
/*isMobile*/
|
|
4338
|
-
e[5] &&
|
|
4391
|
+
e[5] && ro(e)
|
|
4339
4392
|
), B = (
|
|
4340
4393
|
/*realityCheckSuccess*/
|
|
4341
|
-
e[3] &&
|
|
4342
|
-
), F =
|
|
4394
|
+
e[3] && Lt(e)
|
|
4395
|
+
), F = Ve(
|
|
4343
4396
|
/*realityCheckOptions*/
|
|
4344
4397
|
e[6]
|
|
4345
|
-
),
|
|
4398
|
+
), M = [];
|
|
4346
4399
|
for (let H = 0; H < F.length; H += 1)
|
|
4347
|
-
|
|
4400
|
+
M[H] = kt(Ot(e, F, H));
|
|
4348
4401
|
return {
|
|
4349
4402
|
c() {
|
|
4350
|
-
t = T("div"),
|
|
4351
|
-
for (let H = 0; H <
|
|
4352
|
-
|
|
4353
|
-
m = U(), p = T("div"), y = T("button"), P =
|
|
4403
|
+
t = T("div"), O && O.c(), r = U(), B && B.c(), n = U(), i = T("h2"), s = z(o), a = U(), l = T("div"), u = T("p"), f = z(c), h = U(), d = T("form");
|
|
4404
|
+
for (let H = 0; H < M.length; H += 1)
|
|
4405
|
+
M[H].c();
|
|
4406
|
+
m = U(), p = T("div"), y = T("button"), P = z(_), w(i, "class", "RealityCheckTitle " + /*isMobile*/
|
|
4354
4407
|
(e[5] ? "RealityCheckTitleNone" : "")), w(l, "class", "RealityCheckDescription " + /*isMobile*/
|
|
4355
4408
|
(e[5] ? "RealityCheckDescriptionMobile" : "")), w(y, "class", "PlayerRealityCheckButton"), w(p, "class", "BottomButtonsArea " + /*isMobile*/
|
|
4356
4409
|
(e[5] ? "BottomButtonsAreaMobile" : "")), w(d, "class", "customRadio"), w(t, "class", "containerTimeout");
|
|
4357
4410
|
},
|
|
4358
4411
|
m(H, G) {
|
|
4359
|
-
D(H, t, G),
|
|
4360
|
-
for (let
|
|
4361
|
-
R
|
|
4412
|
+
D(H, t, G), O && O.m(t, null), b(t, r), B && B.m(t, null), b(t, n), b(t, i), b(i, s), b(t, a), b(t, l), b(l, u), b(u, f), b(t, h), b(t, d);
|
|
4413
|
+
for (let R = 0; R < M.length; R += 1)
|
|
4414
|
+
M[R] && M[R].m(d, null);
|
|
4362
4415
|
b(d, m), b(d, p), b(p, y), b(y, P), I || (j = Te(
|
|
4363
4416
|
y,
|
|
4364
4417
|
"click",
|
|
@@ -4369,47 +4422,47 @@ function Ji(e) {
|
|
|
4369
4422
|
p(H, G) {
|
|
4370
4423
|
if (
|
|
4371
4424
|
/*isMobile*/
|
|
4372
|
-
H[5] &&
|
|
4373
|
-
H[3] ? B ? B.p(H, G) : (B =
|
|
4425
|
+
H[5] && O.p(H, G), /*realityCheckSuccess*/
|
|
4426
|
+
H[3] ? B ? B.p(H, G) : (B = Lt(H), B.c(), B.m(t, n)) : B && (B.d(1), B = null), G[0] & /*$_*/
|
|
4374
4427
|
16 && o !== (o = /*$_*/
|
|
4375
4428
|
H[4]("titleRealityCheck") + "") && te(s, o), G[0] & /*$_*/
|
|
4376
4429
|
16 && c !== (c = /*$_*/
|
|
4377
4430
|
H[4]("realityCheckText") + "") && te(f, c), G[0] & /*realityCheckOptions, realityCheckValue*/
|
|
4378
4431
|
68
|
|
4379
4432
|
) {
|
|
4380
|
-
F =
|
|
4433
|
+
F = Ve(
|
|
4381
4434
|
/*realityCheckOptions*/
|
|
4382
4435
|
H[6]
|
|
4383
4436
|
);
|
|
4384
|
-
let
|
|
4385
|
-
for (
|
|
4386
|
-
const ge =
|
|
4387
|
-
R
|
|
4437
|
+
let R;
|
|
4438
|
+
for (R = 0; R < F.length; R += 1) {
|
|
4439
|
+
const ge = Ot(H, F, R);
|
|
4440
|
+
M[R] ? M[R].p(ge, G) : (M[R] = kt(ge), M[R].c(), M[R].m(d, m));
|
|
4388
4441
|
}
|
|
4389
|
-
for (;
|
|
4390
|
-
R
|
|
4391
|
-
|
|
4442
|
+
for (; R < M.length; R += 1)
|
|
4443
|
+
M[R].d(1);
|
|
4444
|
+
M.length = F.length;
|
|
4392
4445
|
}
|
|
4393
4446
|
G[0] & /*$_*/
|
|
4394
4447
|
16 && _ !== (_ = /*$_*/
|
|
4395
4448
|
H[4]("setFrequency") + "") && te(P, _);
|
|
4396
4449
|
},
|
|
4397
4450
|
d(H) {
|
|
4398
|
-
H && $(t),
|
|
4451
|
+
H && $(t), O && O.d(), B && B.d(), Dt(M, H), I = !1, j();
|
|
4399
4452
|
}
|
|
4400
4453
|
};
|
|
4401
4454
|
}
|
|
4402
|
-
function
|
|
4455
|
+
function to(e) {
|
|
4403
4456
|
let t, r, n, i, o, s, a, l, u;
|
|
4404
4457
|
function c(p, y) {
|
|
4405
4458
|
return (
|
|
4406
4459
|
/*isMobile*/
|
|
4407
|
-
p[5] ?
|
|
4460
|
+
p[5] ? io : no
|
|
4408
4461
|
);
|
|
4409
4462
|
}
|
|
4410
|
-
let h = c(e)(e), d =
|
|
4463
|
+
let h = c(e)(e), d = Ve({ length: 6 }), m = [];
|
|
4411
4464
|
for (let p = 0; p < d.length; p += 1)
|
|
4412
|
-
m[p] =
|
|
4465
|
+
m[p] = oo(Ki(e, d, p));
|
|
4413
4466
|
return {
|
|
4414
4467
|
c() {
|
|
4415
4468
|
t = T("div"), h.c(), r = U(), n = T("div"), i = T("ui-skeleton"), o = U(), s = T("div");
|
|
@@ -4437,21 +4490,21 @@ function Yi(e) {
|
|
|
4437
4490
|
h.p(p, y);
|
|
4438
4491
|
},
|
|
4439
4492
|
d(p) {
|
|
4440
|
-
p && $(t), h.d(),
|
|
4493
|
+
p && $(t), h.d(), Dt(m, p);
|
|
4441
4494
|
}
|
|
4442
4495
|
};
|
|
4443
4496
|
}
|
|
4444
|
-
function
|
|
4497
|
+
function ro(e) {
|
|
4445
4498
|
let t, r, n, i, o, s, a, l, u, c, f, h = (
|
|
4446
4499
|
/*$_*/
|
|
4447
4500
|
e[4]("titleRealityCheck") + ""
|
|
4448
4501
|
), d, m, p, y = (
|
|
4449
4502
|
/*realityCheckSuccess*/
|
|
4450
|
-
e[3] &&
|
|
4503
|
+
e[3] && It(e)
|
|
4451
4504
|
);
|
|
4452
4505
|
return {
|
|
4453
4506
|
c() {
|
|
4454
|
-
y && y.c(), t = U(), r = T("div"), n = J("svg"), i = J("defs"), o = J("style"), s =
|
|
4507
|
+
y && y.c(), t = U(), r = T("div"), n = J("svg"), i = J("defs"), o = J("style"), s = z(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), a = J("g"), l = J("g"), u = J("path"), c = U(), f = T("h2"), d = z(h), w(u, "class", "aaa"), w(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), w(u, "transform", "translate(15 15) rotate(180)"), w(l, "transform", "translate(20 158)"), w(a, "transform", "translate(-20 -158)"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "width", "15"), w(n, "height", "15"), w(n, "viewBox", "0 0 15 15"), w(f, "class", "RealityCheckTitleMobile"), w(r, "class", "MenuReturnButton");
|
|
4455
4508
|
},
|
|
4456
4509
|
m(_, P) {
|
|
4457
4510
|
y && y.m(_, P), D(_, t, P), D(_, r, P), b(r, n), b(n, i), b(i, o), b(o, s), b(n, a), b(a, l), b(l, u), b(r, c), b(r, f), b(f, d), m || (p = [
|
|
@@ -4466,7 +4519,7 @@ function Ki(e) {
|
|
|
4466
4519
|
},
|
|
4467
4520
|
p(_, P) {
|
|
4468
4521
|
/*realityCheckSuccess*/
|
|
4469
|
-
_[3] ? y ? y.p(_, P) : (y =
|
|
4522
|
+
_[3] ? y ? y.p(_, P) : (y = It(_), y.c(), y.m(t.parentNode, t)) : y && (y.d(1), y = null), P[0] & /*$_*/
|
|
4470
4523
|
16 && h !== (h = /*$_*/
|
|
4471
4524
|
_[4]("titleRealityCheck") + "") && te(d, h);
|
|
4472
4525
|
},
|
|
@@ -4475,14 +4528,14 @@ function Ki(e) {
|
|
|
4475
4528
|
}
|
|
4476
4529
|
};
|
|
4477
4530
|
}
|
|
4478
|
-
function
|
|
4531
|
+
function It(e) {
|
|
4479
4532
|
let t, r = (
|
|
4480
4533
|
/*$_*/
|
|
4481
4534
|
e[4]("successMessage") + ""
|
|
4482
4535
|
), n;
|
|
4483
4536
|
return {
|
|
4484
4537
|
c() {
|
|
4485
|
-
t = T("div"), n =
|
|
4538
|
+
t = T("div"), n = z(r), w(t, "class", "successMessageMobile");
|
|
4486
4539
|
},
|
|
4487
4540
|
m(i, o) {
|
|
4488
4541
|
D(i, t, o), b(t, n);
|
|
@@ -4497,14 +4550,14 @@ function Ot(e) {
|
|
|
4497
4550
|
}
|
|
4498
4551
|
};
|
|
4499
4552
|
}
|
|
4500
|
-
function
|
|
4553
|
+
function Lt(e) {
|
|
4501
4554
|
let t, r = (
|
|
4502
4555
|
/*$_*/
|
|
4503
4556
|
e[4]("successMessage") + ""
|
|
4504
4557
|
), n;
|
|
4505
4558
|
return {
|
|
4506
4559
|
c() {
|
|
4507
|
-
t = T("div"), n =
|
|
4560
|
+
t = T("div"), n = z(r), w(t, "class", "successMessage " + /*isMobile*/
|
|
4508
4561
|
(e[5] ? "successMessageMobile" : ""));
|
|
4509
4562
|
},
|
|
4510
4563
|
m(i, o) {
|
|
@@ -4520,23 +4573,23 @@ function Rt(e) {
|
|
|
4520
4573
|
}
|
|
4521
4574
|
};
|
|
4522
4575
|
}
|
|
4523
|
-
function
|
|
4576
|
+
function kt(e) {
|
|
4524
4577
|
let t, r, n, i, o = (
|
|
4525
4578
|
/*text*/
|
|
4526
4579
|
e[33] + ""
|
|
4527
4580
|
), s, a, l, u;
|
|
4528
|
-
return a =
|
|
4581
|
+
return a = Hr(
|
|
4529
4582
|
/*$$binding_groups*/
|
|
4530
4583
|
e[19][0]
|
|
4531
4584
|
), {
|
|
4532
4585
|
c() {
|
|
4533
|
-
t = T("div"), r = T("input"), n = U(), i = T("label"), s =
|
|
4586
|
+
t = T("div"), r = T("input"), n = U(), i = T("label"), s = z(o), w(r, "type", "radio"), w(
|
|
4534
4587
|
r,
|
|
4535
4588
|
"id",
|
|
4536
4589
|
/*value*/
|
|
4537
4590
|
e[32]
|
|
4538
4591
|
), r.__value = /*value*/
|
|
4539
|
-
e[32],
|
|
4592
|
+
e[32], Br(r, r.__value), w(
|
|
4540
4593
|
i,
|
|
4541
4594
|
"for",
|
|
4542
4595
|
/*value*/
|
|
@@ -4562,7 +4615,7 @@ function Mt(e) {
|
|
|
4562
4615
|
}
|
|
4563
4616
|
};
|
|
4564
4617
|
}
|
|
4565
|
-
function
|
|
4618
|
+
function no(e) {
|
|
4566
4619
|
let t;
|
|
4567
4620
|
return {
|
|
4568
4621
|
c() {
|
|
@@ -4577,7 +4630,7 @@ function eo(e) {
|
|
|
4577
4630
|
}
|
|
4578
4631
|
};
|
|
4579
4632
|
}
|
|
4580
|
-
function
|
|
4633
|
+
function io(e) {
|
|
4581
4634
|
let t, r, n, i;
|
|
4582
4635
|
return {
|
|
4583
4636
|
c() {
|
|
@@ -4593,7 +4646,7 @@ function to(e) {
|
|
|
4593
4646
|
}
|
|
4594
4647
|
};
|
|
4595
4648
|
}
|
|
4596
|
-
function
|
|
4649
|
+
function oo(e) {
|
|
4597
4650
|
let t;
|
|
4598
4651
|
return {
|
|
4599
4652
|
c() {
|
|
@@ -4608,12 +4661,12 @@ function ro(e) {
|
|
|
4608
4661
|
}
|
|
4609
4662
|
};
|
|
4610
4663
|
}
|
|
4611
|
-
function
|
|
4664
|
+
function so(e) {
|
|
4612
4665
|
let t;
|
|
4613
4666
|
function r(o, s) {
|
|
4614
4667
|
return (
|
|
4615
4668
|
/*skeletonLoading*/
|
|
4616
|
-
o[1] ?
|
|
4669
|
+
o[1] ? to : eo
|
|
4617
4670
|
);
|
|
4618
4671
|
}
|
|
4619
4672
|
let n = r(e), i = n(e);
|
|
@@ -4635,10 +4688,10 @@ function no(e) {
|
|
|
4635
4688
|
}
|
|
4636
4689
|
};
|
|
4637
4690
|
}
|
|
4638
|
-
function
|
|
4691
|
+
function ao(e, t, r) {
|
|
4639
4692
|
let n;
|
|
4640
|
-
|
|
4641
|
-
let { endpoint: i = "" } = t, { playerid: o = "" } = t, { session: s = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t, h, d =
|
|
4693
|
+
Er(e, Xi, (g) => r(4, n = g));
|
|
4694
|
+
let { endpoint: i = "" } = t, { playerid: o = "" } = t, { session: s = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t, h, d = qi(window.navigator.userAgent) !== "PC", m = !0, p, y = !1, _ = [];
|
|
4642
4695
|
const P = () => {
|
|
4643
4696
|
const g = new URL(`${i}/v1/player/${o}/realitycheck`), E = new Headers();
|
|
4644
4697
|
E.append("X-SessionID", s);
|
|
@@ -4679,7 +4732,7 @@ function io(e, t, r) {
|
|
|
4679
4732
|
text: E / 60 + " " + n("hours")
|
|
4680
4733
|
});
|
|
4681
4734
|
});
|
|
4682
|
-
},
|
|
4735
|
+
}, O = async () => {
|
|
4683
4736
|
const g = new URL(`${i}/v1/player/${o}/realitycheck`), E = new Headers();
|
|
4684
4737
|
E.append("X-SessionID", s), E.append("Content-Type", "application/json"), E.append("Accept", "application/json"), E.append("realityCheckValue", `${parseInt(p, 10)}`);
|
|
4685
4738
|
const W = { method: "POST", headers: E };
|
|
@@ -4688,7 +4741,7 @@ function io(e, t, r) {
|
|
|
4688
4741
|
(L) => (console.error(L), !1)
|
|
4689
4742
|
);
|
|
4690
4743
|
}, B = (g) => {
|
|
4691
|
-
g.preventDefault(),
|
|
4744
|
+
g.preventDefault(), O().then((E) => {
|
|
4692
4745
|
E && (F(), P());
|
|
4693
4746
|
});
|
|
4694
4747
|
}, F = () => {
|
|
@@ -4702,7 +4755,7 @@ function io(e, t, r) {
|
|
|
4702
4755
|
},
|
|
4703
4756
|
window.location.href
|
|
4704
4757
|
), r(3, y = !0), setTimeout(() => r(3, y = !1), 2e3);
|
|
4705
|
-
},
|
|
4758
|
+
}, M = () => {
|
|
4706
4759
|
window.postMessage(
|
|
4707
4760
|
{
|
|
4708
4761
|
type: "PlayerAccountMenuActive",
|
|
@@ -4711,26 +4764,26 @@ function io(e, t, r) {
|
|
|
4711
4764
|
window.location.href
|
|
4712
4765
|
);
|
|
4713
4766
|
}, H = () => {
|
|
4714
|
-
|
|
4767
|
+
Wi(a);
|
|
4715
4768
|
}, G = () => {
|
|
4716
4769
|
fetch(f).then((E) => E.json()).then((E) => {
|
|
4717
4770
|
Object.keys(E).forEach((W) => {
|
|
4718
|
-
|
|
4771
|
+
Rt(W, E[W]);
|
|
4719
4772
|
});
|
|
4720
4773
|
}).catch((E) => {
|
|
4721
4774
|
console.log(E);
|
|
4722
4775
|
});
|
|
4723
4776
|
};
|
|
4724
|
-
Object.keys(
|
|
4725
|
-
|
|
4726
|
-
}),
|
|
4777
|
+
Object.keys(Mt).forEach((g) => {
|
|
4778
|
+
Rt(g, Mt[g]);
|
|
4779
|
+
}), Rr(() => () => {
|
|
4727
4780
|
});
|
|
4728
|
-
const
|
|
4729
|
-
function
|
|
4781
|
+
const R = [[]], ge = () => M();
|
|
4782
|
+
function vr() {
|
|
4730
4783
|
p = this.__value, r(2, p);
|
|
4731
4784
|
}
|
|
4732
|
-
function
|
|
4733
|
-
|
|
4785
|
+
function xr(g) {
|
|
4786
|
+
Fe[g ? "unshift" : "push"](() => {
|
|
4734
4787
|
h = g, r(0, h);
|
|
4735
4788
|
});
|
|
4736
4789
|
}
|
|
@@ -4741,9 +4794,9 @@ function io(e, t, r) {
|
|
|
4741
4794
|
4096 && a && H(), e.$$.dirty[0] & /*endpoint, playerid, session*/
|
|
4742
4795
|
3584 && i && o && s && P(), e.$$.dirty[0] & /*endpoint, playerid, session*/
|
|
4743
4796
|
3584 && i && o && s && I(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4744
|
-
8193 && l && h &&
|
|
4745
|
-
16385 && u && h &&
|
|
4746
|
-
32769 && c && h &&
|
|
4797
|
+
8193 && l && h && Zi(h, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4798
|
+
16385 && u && h && Qi(h, u), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4799
|
+
32769 && c && h && Ji(h, `${c}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4747
4800
|
65536 && f && G();
|
|
4748
4801
|
}, [
|
|
4749
4802
|
h,
|
|
@@ -4754,7 +4807,7 @@ function io(e, t, r) {
|
|
|
4754
4807
|
d,
|
|
4755
4808
|
_,
|
|
4756
4809
|
B,
|
|
4757
|
-
|
|
4810
|
+
M,
|
|
4758
4811
|
i,
|
|
4759
4812
|
o,
|
|
4760
4813
|
s,
|
|
@@ -4764,19 +4817,19 @@ function io(e, t, r) {
|
|
|
4764
4817
|
c,
|
|
4765
4818
|
f,
|
|
4766
4819
|
ge,
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4820
|
+
vr,
|
|
4821
|
+
R,
|
|
4822
|
+
xr
|
|
4770
4823
|
];
|
|
4771
4824
|
}
|
|
4772
|
-
class
|
|
4825
|
+
class uo extends jr {
|
|
4773
4826
|
constructor(t) {
|
|
4774
|
-
super(),
|
|
4827
|
+
super(), Fr(
|
|
4775
4828
|
this,
|
|
4776
4829
|
t,
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4830
|
+
ao,
|
|
4831
|
+
so,
|
|
4832
|
+
$t,
|
|
4780
4833
|
{
|
|
4781
4834
|
endpoint: 9,
|
|
4782
4835
|
playerid: 10,
|
|
@@ -4787,7 +4840,7 @@ class oo extends Ur {
|
|
|
4787
4840
|
mbsource: 15,
|
|
4788
4841
|
translationurl: 16
|
|
4789
4842
|
},
|
|
4790
|
-
|
|
4843
|
+
Yi,
|
|
4791
4844
|
[-1, -1]
|
|
4792
4845
|
);
|
|
4793
4846
|
}
|
|
@@ -4840,7 +4893,7 @@ class oo extends Ur {
|
|
|
4840
4893
|
this.$$set({ translationurl: t }), V();
|
|
4841
4894
|
}
|
|
4842
4895
|
}
|
|
4843
|
-
|
|
4896
|
+
Gr(uo, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
4844
4897
|
export {
|
|
4845
|
-
|
|
4898
|
+
uo as P
|
|
4846
4899
|
};
|