@everymatrix/player-account-biometrics 1.54.12 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountBiometrics-Dv_ulOxS.js → PlayerAccountBiometrics-Bh-Sx76R.js} +936 -907
- package/components/{PlayerAccountBiometrics-Cw0rz_gd.js → PlayerAccountBiometrics-C6wDdTp0.js} +946 -917
- package/components/PlayerAccountBiometrics-D0WC5iwy.cjs +5 -0
- package/es2015/player-account-biometrics.cjs +1 -1
- package/es2015/player-account-biometrics.js +1 -1
- package/esnext/player-account-biometrics.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountBiometrics-Byl5SETI.cjs +0 -5
package/components/{PlayerAccountBiometrics-Dv_ulOxS.js → PlayerAccountBiometrics-Bh-Sx76R.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function I() {
|
|
2
2
|
}
|
|
3
3
|
function Et(e) {
|
|
4
4
|
return e();
|
|
@@ -6,10 +6,10 @@ function Et(e) {
|
|
|
6
6
|
function Qe() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function ae(e) {
|
|
10
10
|
e.forEach(Et);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function We(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
15
|
function _t(e, t) {
|
|
@@ -20,9 +20,9 @@ function tr(e) {
|
|
|
20
20
|
}
|
|
21
21
|
function xt(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
|
-
for (const
|
|
24
|
-
|
|
25
|
-
return
|
|
23
|
+
for (const n of t)
|
|
24
|
+
n(void 0);
|
|
25
|
+
return I;
|
|
26
26
|
}
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
@@ -33,14 +33,14 @@ function rr(e, t, r) {
|
|
|
33
33
|
function E(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const
|
|
38
|
-
if (!
|
|
39
|
-
const
|
|
40
|
-
|
|
36
|
+
function nr(e, t, r) {
|
|
37
|
+
const n = ir(e);
|
|
38
|
+
if (!n.getElementById(t)) {
|
|
39
|
+
const i = O("style");
|
|
40
|
+
i.id = t, i.textContent = r, or(n, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function ir(e) {
|
|
44
44
|
if (!e) return document;
|
|
45
45
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
46
46
|
return t && /** @type {ShadowRoot} */
|
|
@@ -56,13 +56,13 @@ function or(e, t) {
|
|
|
56
56
|
t
|
|
57
57
|
), t.sheet;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function ze(e, t, r) {
|
|
60
60
|
e.insertBefore(t, r || null);
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function ge(e) {
|
|
63
63
|
e.parentNode && e.parentNode.removeChild(e);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function O(e) {
|
|
66
66
|
return document.createElement(e);
|
|
67
67
|
}
|
|
68
68
|
function F(e) {
|
|
@@ -74,8 +74,8 @@ function U(e) {
|
|
|
74
74
|
function te() {
|
|
75
75
|
return U(" ");
|
|
76
76
|
}
|
|
77
|
-
function Bt(e, t, r,
|
|
78
|
-
return e.addEventListener(t, r,
|
|
77
|
+
function Bt(e, t, r, n) {
|
|
78
|
+
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
79
79
|
}
|
|
80
80
|
function B(e, t, r) {
|
|
81
81
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
@@ -96,85 +96,92 @@ function ar(e) {
|
|
|
96
96
|
}
|
|
97
97
|
), t;
|
|
98
98
|
}
|
|
99
|
-
let
|
|
100
|
-
function
|
|
101
|
-
|
|
99
|
+
let ie;
|
|
100
|
+
function ne(e) {
|
|
101
|
+
ie = e;
|
|
102
102
|
}
|
|
103
|
-
|
|
103
|
+
function ur() {
|
|
104
|
+
if (!ie) throw new Error("Function called outside component initialization");
|
|
105
|
+
return ie;
|
|
106
|
+
}
|
|
107
|
+
function hr(e) {
|
|
108
|
+
ur().$$.on_mount.push(e);
|
|
109
|
+
}
|
|
110
|
+
const V = [], Oe = [];
|
|
104
111
|
let X = [];
|
|
105
|
-
const Je = [],
|
|
106
|
-
let
|
|
107
|
-
function
|
|
108
|
-
|
|
112
|
+
const Je = [], lr = /* @__PURE__ */ Promise.resolve();
|
|
113
|
+
let Ie = !1;
|
|
114
|
+
function cr() {
|
|
115
|
+
Ie || (Ie = !0, lr.then($));
|
|
109
116
|
}
|
|
110
|
-
function
|
|
117
|
+
function Ne(e) {
|
|
111
118
|
X.push(e);
|
|
112
119
|
}
|
|
113
|
-
const
|
|
120
|
+
const Be = /* @__PURE__ */ new Set();
|
|
114
121
|
let j = 0;
|
|
115
|
-
function
|
|
122
|
+
function $() {
|
|
116
123
|
if (j !== 0)
|
|
117
124
|
return;
|
|
118
|
-
const e =
|
|
125
|
+
const e = ie;
|
|
119
126
|
do {
|
|
120
127
|
try {
|
|
121
128
|
for (; j < V.length; ) {
|
|
122
129
|
const t = V[j];
|
|
123
|
-
j++,
|
|
130
|
+
j++, ne(t), fr(t.$$);
|
|
124
131
|
}
|
|
125
132
|
} catch (t) {
|
|
126
133
|
throw V.length = 0, j = 0, t;
|
|
127
134
|
}
|
|
128
|
-
for (
|
|
135
|
+
for (ne(null), V.length = 0, j = 0; Oe.length; ) Oe.pop()();
|
|
129
136
|
for (let t = 0; t < X.length; t += 1) {
|
|
130
137
|
const r = X[t];
|
|
131
|
-
|
|
138
|
+
Be.has(r) || (Be.add(r), r());
|
|
132
139
|
}
|
|
133
140
|
X.length = 0;
|
|
134
141
|
} while (V.length);
|
|
135
142
|
for (; Je.length; )
|
|
136
143
|
Je.pop()();
|
|
137
|
-
|
|
144
|
+
Ie = !1, Be.clear(), ne(e);
|
|
138
145
|
}
|
|
139
|
-
function
|
|
146
|
+
function fr(e) {
|
|
140
147
|
if (e.fragment !== null) {
|
|
141
|
-
e.update(),
|
|
148
|
+
e.update(), ae(e.before_update);
|
|
142
149
|
const t = e.dirty;
|
|
143
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
150
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
|
|
144
151
|
}
|
|
145
152
|
}
|
|
146
|
-
function
|
|
153
|
+
function pr(e) {
|
|
147
154
|
const t = [], r = [];
|
|
148
|
-
X.forEach((
|
|
155
|
+
X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
|
|
149
156
|
}
|
|
150
|
-
const
|
|
151
|
-
function
|
|
152
|
-
e && e.i && (
|
|
157
|
+
const mr = /* @__PURE__ */ new Set();
|
|
158
|
+
function br(e, t) {
|
|
159
|
+
e && e.i && (mr.delete(e), e.i(t));
|
|
153
160
|
}
|
|
154
|
-
function
|
|
155
|
-
const { fragment:
|
|
156
|
-
|
|
157
|
-
const o = e.$$.on_mount.map(Et).filter(
|
|
158
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
159
|
-
}),
|
|
161
|
+
function dr(e, t, r) {
|
|
162
|
+
const { fragment: n, after_update: i } = e.$$;
|
|
163
|
+
n && n.m(t, r), Ne(() => {
|
|
164
|
+
const o = e.$$.on_mount.map(Et).filter(We);
|
|
165
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
|
|
166
|
+
}), i.forEach(Ne);
|
|
160
167
|
}
|
|
161
|
-
function
|
|
168
|
+
function gr(e, t) {
|
|
162
169
|
const r = e.$$;
|
|
163
|
-
r.fragment !== null && (
|
|
170
|
+
r.fragment !== null && (pr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
164
171
|
}
|
|
165
|
-
function
|
|
166
|
-
e.$$.dirty[0] === -1 && (V.push(e),
|
|
172
|
+
function yr(e, t) {
|
|
173
|
+
e.$$.dirty[0] === -1 && (V.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
167
174
|
}
|
|
168
|
-
function
|
|
169
|
-
const h =
|
|
170
|
-
|
|
175
|
+
function vr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
176
|
+
const h = ie;
|
|
177
|
+
ne(e);
|
|
171
178
|
const u = e.$$ = {
|
|
172
179
|
fragment: null,
|
|
173
180
|
ctx: [],
|
|
174
181
|
// state
|
|
175
182
|
props: o,
|
|
176
|
-
update:
|
|
177
|
-
not_equal:
|
|
183
|
+
update: I,
|
|
184
|
+
not_equal: i,
|
|
178
185
|
bound: Qe(),
|
|
179
186
|
// lifecycle
|
|
180
187
|
on_mount: [],
|
|
@@ -192,17 +199,17 @@ function gr(e, t, r, i, n, o, s = null, a = [-1]) {
|
|
|
192
199
|
s && s(u.root);
|
|
193
200
|
let l = !1;
|
|
194
201
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
195
|
-
const
|
|
196
|
-
return u.ctx &&
|
|
197
|
-
}) : [], u.update(), l = !0,
|
|
202
|
+
const g = p.length ? p[0] : f;
|
|
203
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), l && yr(e, c)), f;
|
|
204
|
+
}) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
198
205
|
if (t.hydrate) {
|
|
199
206
|
const c = sr(t.target);
|
|
200
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
207
|
+
u.fragment && u.fragment.l(c), c.forEach(ge);
|
|
201
208
|
} else
|
|
202
209
|
u.fragment && u.fragment.c();
|
|
203
|
-
t.intro &&
|
|
210
|
+
t.intro && br(e.$$.fragment), dr(e, t.target, t.anchor), $();
|
|
204
211
|
}
|
|
205
|
-
|
|
212
|
+
ne(h);
|
|
206
213
|
}
|
|
207
214
|
let St;
|
|
208
215
|
typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
@@ -229,35 +236,35 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
229
236
|
}
|
|
230
237
|
addEventListener(e, t, r) {
|
|
231
238
|
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
|
232
|
-
const
|
|
233
|
-
this.$$l_u.set(t,
|
|
239
|
+
const n = this.$$c.$on(e, t);
|
|
240
|
+
this.$$l_u.set(t, n);
|
|
234
241
|
}
|
|
235
242
|
super.addEventListener(e, t, r);
|
|
236
243
|
}
|
|
237
244
|
removeEventListener(e, t, r) {
|
|
238
245
|
if (super.removeEventListener(e, t, r), this.$$c) {
|
|
239
|
-
const
|
|
240
|
-
|
|
246
|
+
const n = this.$$l_u.get(t);
|
|
247
|
+
n && (n(), this.$$l_u.delete(t));
|
|
241
248
|
}
|
|
242
249
|
}
|
|
243
250
|
async connectedCallback() {
|
|
244
251
|
if (this.$$cn = !0, !this.$$c) {
|
|
245
|
-
let e = function(
|
|
252
|
+
let e = function(i) {
|
|
246
253
|
return () => {
|
|
247
254
|
let o;
|
|
248
255
|
return {
|
|
249
256
|
c: function() {
|
|
250
|
-
o =
|
|
257
|
+
o = O("slot"), i !== "default" && B(o, "name", i);
|
|
251
258
|
},
|
|
252
259
|
/**
|
|
253
260
|
* @param {HTMLElement} target
|
|
254
261
|
* @param {HTMLElement} [anchor]
|
|
255
262
|
*/
|
|
256
263
|
m: function(h, u) {
|
|
257
|
-
|
|
264
|
+
ze(h, o, u);
|
|
258
265
|
},
|
|
259
266
|
d: function(h) {
|
|
260
|
-
h &&
|
|
267
|
+
h && ge(o);
|
|
261
268
|
}
|
|
262
269
|
};
|
|
263
270
|
};
|
|
@@ -265,14 +272,14 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
265
272
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
266
273
|
return;
|
|
267
274
|
const t = {}, r = ar(this);
|
|
268
|
-
for (const
|
|
269
|
-
|
|
270
|
-
for (const
|
|
271
|
-
const o = this.$$g_p(
|
|
272
|
-
o in this.$$d || (this.$$d[o] =
|
|
275
|
+
for (const i of this.$$s)
|
|
276
|
+
i in r && (t[i] = [e(i)]);
|
|
277
|
+
for (const i of this.attributes) {
|
|
278
|
+
const o = this.$$g_p(i.name);
|
|
279
|
+
o in this.$$d || (this.$$d[o] = ce(o, i.value, this.$$p_d, "toProp"));
|
|
273
280
|
}
|
|
274
|
-
for (const
|
|
275
|
-
!(
|
|
281
|
+
for (const i in this.$$p_d)
|
|
282
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
276
283
|
this.$$c = new this.$$ctor({
|
|
277
284
|
target: this.shadowRoot || this,
|
|
278
285
|
props: {
|
|
@@ -283,24 +290,24 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
283
290
|
}
|
|
284
291
|
}
|
|
285
292
|
});
|
|
286
|
-
const
|
|
293
|
+
const n = () => {
|
|
287
294
|
this.$$r = !0;
|
|
288
|
-
for (const
|
|
289
|
-
if (this.$$d[
|
|
290
|
-
const o =
|
|
291
|
-
|
|
292
|
-
this.$$d[
|
|
295
|
+
for (const i in this.$$p_d)
|
|
296
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
297
|
+
const o = ce(
|
|
298
|
+
i,
|
|
299
|
+
this.$$d[i],
|
|
293
300
|
this.$$p_d,
|
|
294
301
|
"toAttribute"
|
|
295
302
|
);
|
|
296
|
-
o == null ? this.removeAttribute(this.$$p_d[
|
|
303
|
+
o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
|
|
297
304
|
}
|
|
298
305
|
this.$$r = !1;
|
|
299
306
|
};
|
|
300
|
-
this.$$c.$$.after_update.push(
|
|
301
|
-
for (const
|
|
302
|
-
for (const o of this.$$l[
|
|
303
|
-
const s = this.$$c.$on(
|
|
307
|
+
this.$$c.$$.after_update.push(n), n();
|
|
308
|
+
for (const i in this.$$l)
|
|
309
|
+
for (const o of this.$$l[i]) {
|
|
310
|
+
const s = this.$$c.$on(i, o);
|
|
304
311
|
this.$$l_u.set(o, s);
|
|
305
312
|
}
|
|
306
313
|
this.$$l = {};
|
|
@@ -309,7 +316,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
309
316
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
310
317
|
// and setting attributes through setAttribute etc, this is helpful
|
|
311
318
|
attributeChangedCallback(e, t, r) {
|
|
312
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
319
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ce(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
313
320
|
}
|
|
314
321
|
disconnectedCallback() {
|
|
315
322
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -322,12 +329,12 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
322
329
|
) || e;
|
|
323
330
|
}
|
|
324
331
|
});
|
|
325
|
-
function
|
|
326
|
-
const
|
|
327
|
-
if (t =
|
|
332
|
+
function ce(e, t, r, n) {
|
|
333
|
+
const i = r[e]?.type;
|
|
334
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
328
335
|
return t;
|
|
329
|
-
if (
|
|
330
|
-
switch (
|
|
336
|
+
if (n === "toAttribute")
|
|
337
|
+
switch (i) {
|
|
331
338
|
case "Object":
|
|
332
339
|
case "Array":
|
|
333
340
|
return t == null ? null : JSON.stringify(t);
|
|
@@ -339,7 +346,7 @@ function le(e, t, r, i) {
|
|
|
339
346
|
return t;
|
|
340
347
|
}
|
|
341
348
|
else
|
|
342
|
-
switch (
|
|
349
|
+
switch (i) {
|
|
343
350
|
case "Object":
|
|
344
351
|
case "Array":
|
|
345
352
|
return t && JSON.parse(t);
|
|
@@ -351,10 +358,10 @@ function le(e, t, r, i) {
|
|
|
351
358
|
return t;
|
|
352
359
|
}
|
|
353
360
|
}
|
|
354
|
-
function
|
|
361
|
+
function Er(e, t, r, n, i, o) {
|
|
355
362
|
let s = class extends St {
|
|
356
363
|
constructor() {
|
|
357
|
-
super(e, r,
|
|
364
|
+
super(e, r, i), this.$$p_d = t;
|
|
358
365
|
}
|
|
359
366
|
static get observedAttributes() {
|
|
360
367
|
return Object.keys(t).map(
|
|
@@ -368,10 +375,10 @@ function yr(e, t, r, i, n, o) {
|
|
|
368
375
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
369
376
|
},
|
|
370
377
|
set(h) {
|
|
371
|
-
h =
|
|
378
|
+
h = ce(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
|
372
379
|
}
|
|
373
380
|
});
|
|
374
|
-
}),
|
|
381
|
+
}), n.forEach((a) => {
|
|
375
382
|
Object.defineProperty(s.prototype, a, {
|
|
376
383
|
get() {
|
|
377
384
|
return this.$$c?.[a];
|
|
@@ -380,7 +387,7 @@ function yr(e, t, r, i, n, o) {
|
|
|
380
387
|
}), e.element = /** @type {any} */
|
|
381
388
|
s, s;
|
|
382
389
|
}
|
|
383
|
-
class
|
|
390
|
+
class _r {
|
|
384
391
|
/**
|
|
385
392
|
* ### PRIVATE API
|
|
386
393
|
*
|
|
@@ -399,7 +406,7 @@ class vr {
|
|
|
399
406
|
$$set = void 0;
|
|
400
407
|
/** @returns {void} */
|
|
401
408
|
$destroy() {
|
|
402
|
-
|
|
409
|
+
gr(this, 1), this.$destroy = I;
|
|
403
410
|
}
|
|
404
411
|
/**
|
|
405
412
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -408,12 +415,12 @@ class vr {
|
|
|
408
415
|
* @returns {() => void}
|
|
409
416
|
*/
|
|
410
417
|
$on(t, r) {
|
|
411
|
-
if (!
|
|
412
|
-
return
|
|
413
|
-
const
|
|
414
|
-
return
|
|
415
|
-
const
|
|
416
|
-
|
|
418
|
+
if (!We(r))
|
|
419
|
+
return I;
|
|
420
|
+
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
421
|
+
return n.push(r), () => {
|
|
422
|
+
const i = n.indexOf(r);
|
|
423
|
+
i !== -1 && n.splice(i, 1);
|
|
417
424
|
};
|
|
418
425
|
}
|
|
419
426
|
/**
|
|
@@ -424,62 +431,62 @@ class vr {
|
|
|
424
431
|
this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
425
432
|
}
|
|
426
433
|
}
|
|
427
|
-
const
|
|
428
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
429
|
-
var
|
|
430
|
-
return
|
|
431
|
-
r.__proto__ =
|
|
432
|
-
} || function(r,
|
|
433
|
-
for (var
|
|
434
|
-
},
|
|
434
|
+
const xr = "4";
|
|
435
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xr);
|
|
436
|
+
var Me = function(e, t) {
|
|
437
|
+
return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
438
|
+
r.__proto__ = n;
|
|
439
|
+
} || function(r, n) {
|
|
440
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
441
|
+
}, Me(e, t);
|
|
435
442
|
};
|
|
436
|
-
function
|
|
443
|
+
function C(e, t) {
|
|
437
444
|
if (typeof t != "function" && t !== null)
|
|
438
445
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
439
|
-
|
|
446
|
+
Me(e, t);
|
|
440
447
|
function r() {
|
|
441
448
|
this.constructor = e;
|
|
442
449
|
}
|
|
443
450
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
444
451
|
}
|
|
445
|
-
var
|
|
446
|
-
return
|
|
447
|
-
for (var r,
|
|
448
|
-
r = arguments[
|
|
452
|
+
var y = function() {
|
|
453
|
+
return y = Object.assign || function(t) {
|
|
454
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
455
|
+
r = arguments[n];
|
|
449
456
|
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
450
457
|
}
|
|
451
458
|
return t;
|
|
452
|
-
},
|
|
459
|
+
}, y.apply(this, arguments);
|
|
453
460
|
};
|
|
454
|
-
function
|
|
461
|
+
function Br(e, t) {
|
|
455
462
|
var r = {};
|
|
456
|
-
for (var
|
|
463
|
+
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
457
464
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
458
|
-
for (var
|
|
459
|
-
t.indexOf(i
|
|
465
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
466
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
460
467
|
return r;
|
|
461
468
|
}
|
|
462
|
-
function
|
|
463
|
-
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t],
|
|
469
|
+
function Le(e) {
|
|
470
|
+
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
464
471
|
if (r) return r.call(e);
|
|
465
472
|
if (e && typeof e.length == "number") return {
|
|
466
473
|
next: function() {
|
|
467
|
-
return e &&
|
|
474
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
468
475
|
}
|
|
469
476
|
};
|
|
470
477
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
471
478
|
}
|
|
472
|
-
function
|
|
479
|
+
function Ce(e, t) {
|
|
473
480
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
474
481
|
if (!r) return e;
|
|
475
|
-
var
|
|
482
|
+
var n = r.call(e), i, o = [], s;
|
|
476
483
|
try {
|
|
477
|
-
for (; (t === void 0 || t-- > 0) && !(
|
|
484
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
|
|
478
485
|
} catch (a) {
|
|
479
486
|
s = { error: a };
|
|
480
487
|
} finally {
|
|
481
488
|
try {
|
|
482
|
-
|
|
489
|
+
i && !i.done && (r = n.return) && r.call(n);
|
|
483
490
|
} finally {
|
|
484
491
|
if (s) throw s.error;
|
|
485
492
|
}
|
|
@@ -487,47 +494,47 @@ function Me(e, t) {
|
|
|
487
494
|
return o;
|
|
488
495
|
}
|
|
489
496
|
function W(e, t, r) {
|
|
490
|
-
if (r || arguments.length === 2) for (var
|
|
491
|
-
(o || !(
|
|
497
|
+
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
498
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
492
499
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
493
500
|
}
|
|
494
|
-
function
|
|
501
|
+
function L(e) {
|
|
495
502
|
return typeof e == "function";
|
|
496
503
|
}
|
|
497
504
|
function Tt(e) {
|
|
498
|
-
var t = function(
|
|
499
|
-
Error.call(
|
|
505
|
+
var t = function(n) {
|
|
506
|
+
Error.call(n), n.stack = new Error().stack;
|
|
500
507
|
}, r = e(t);
|
|
501
508
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
502
509
|
}
|
|
503
|
-
var
|
|
510
|
+
var Se = Tt(function(e) {
|
|
504
511
|
return function(r) {
|
|
505
512
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
506
|
-
` + r.map(function(
|
|
507
|
-
return
|
|
513
|
+
` + r.map(function(n, i) {
|
|
514
|
+
return i + 1 + ") " + n.toString();
|
|
508
515
|
}).join(`
|
|
509
516
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
510
517
|
};
|
|
511
518
|
});
|
|
512
|
-
function
|
|
519
|
+
function $e(e, t) {
|
|
513
520
|
if (e) {
|
|
514
521
|
var r = e.indexOf(t);
|
|
515
522
|
0 <= r && e.splice(r, 1);
|
|
516
523
|
}
|
|
517
524
|
}
|
|
518
|
-
var
|
|
525
|
+
var ye = function() {
|
|
519
526
|
function e(t) {
|
|
520
527
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
521
528
|
}
|
|
522
529
|
return e.prototype.unsubscribe = function() {
|
|
523
|
-
var t, r,
|
|
530
|
+
var t, r, n, i, o;
|
|
524
531
|
if (!this.closed) {
|
|
525
532
|
this.closed = !0;
|
|
526
533
|
var s = this._parentage;
|
|
527
534
|
if (s)
|
|
528
535
|
if (this._parentage = null, Array.isArray(s))
|
|
529
536
|
try {
|
|
530
|
-
for (var a =
|
|
537
|
+
for (var a = Le(s), h = a.next(); !h.done; h = a.next()) {
|
|
531
538
|
var u = h.value;
|
|
532
539
|
u.remove(this);
|
|
533
540
|
}
|
|
@@ -543,36 +550,36 @@ var ge = function() {
|
|
|
543
550
|
else
|
|
544
551
|
s.remove(this);
|
|
545
552
|
var l = this.initialTeardown;
|
|
546
|
-
if (
|
|
553
|
+
if (L(l))
|
|
547
554
|
try {
|
|
548
555
|
l();
|
|
549
556
|
} catch (m) {
|
|
550
|
-
o = m instanceof
|
|
557
|
+
o = m instanceof Se ? m.errors : [m];
|
|
551
558
|
}
|
|
552
559
|
var c = this._finalizers;
|
|
553
560
|
if (c) {
|
|
554
561
|
this._finalizers = null;
|
|
555
562
|
try {
|
|
556
|
-
for (var f =
|
|
557
|
-
var
|
|
563
|
+
for (var f = Le(c), p = f.next(); !p.done; p = f.next()) {
|
|
564
|
+
var g = p.value;
|
|
558
565
|
try {
|
|
559
|
-
qe(
|
|
566
|
+
qe(g);
|
|
560
567
|
} catch (m) {
|
|
561
|
-
o = o ?? [], m instanceof
|
|
568
|
+
o = o ?? [], m instanceof Se ? o = W(W([], Ce(o)), Ce(m.errors)) : o.push(m);
|
|
562
569
|
}
|
|
563
570
|
}
|
|
564
571
|
} catch (m) {
|
|
565
|
-
|
|
572
|
+
n = { error: m };
|
|
566
573
|
} finally {
|
|
567
574
|
try {
|
|
568
|
-
p && !p.done && (
|
|
575
|
+
p && !p.done && (i = f.return) && i.call(f);
|
|
569
576
|
} finally {
|
|
570
|
-
if (
|
|
577
|
+
if (n) throw n.error;
|
|
571
578
|
}
|
|
572
579
|
}
|
|
573
580
|
}
|
|
574
581
|
if (o)
|
|
575
|
-
throw new
|
|
582
|
+
throw new Se(o);
|
|
576
583
|
}
|
|
577
584
|
}, e.prototype.add = function(t) {
|
|
578
585
|
var r;
|
|
@@ -595,52 +602,52 @@ var ge = function() {
|
|
|
595
602
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
596
603
|
}, e.prototype._removeParent = function(t) {
|
|
597
604
|
var r = this._parentage;
|
|
598
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
605
|
+
r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
|
|
599
606
|
}, e.prototype.remove = function(t) {
|
|
600
607
|
var r = this._finalizers;
|
|
601
|
-
r &&
|
|
608
|
+
r && $e(r, t), t instanceof e && t._removeParent(this);
|
|
602
609
|
}, e.EMPTY = function() {
|
|
603
610
|
var t = new e();
|
|
604
611
|
return t.closed = !0, t;
|
|
605
612
|
}(), e;
|
|
606
|
-
}(),
|
|
607
|
-
function
|
|
608
|
-
return e instanceof
|
|
613
|
+
}(), wt = ye.EMPTY;
|
|
614
|
+
function Ht(e) {
|
|
615
|
+
return e instanceof ye || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
|
|
609
616
|
}
|
|
610
617
|
function qe(e) {
|
|
611
|
-
|
|
618
|
+
L(e) ? e() : e.unsubscribe();
|
|
612
619
|
}
|
|
613
|
-
var
|
|
620
|
+
var Sr = {
|
|
614
621
|
Promise: void 0
|
|
615
|
-
},
|
|
622
|
+
}, Tr = {
|
|
616
623
|
setTimeout: function(e, t) {
|
|
617
|
-
for (var r = [],
|
|
618
|
-
r[
|
|
619
|
-
return setTimeout.apply(void 0, W([e, t],
|
|
624
|
+
for (var r = [], n = 2; n < arguments.length; n++)
|
|
625
|
+
r[n - 2] = arguments[n];
|
|
626
|
+
return setTimeout.apply(void 0, W([e, t], Ce(r)));
|
|
620
627
|
},
|
|
621
628
|
clearTimeout: function(e) {
|
|
622
629
|
return clearTimeout(e);
|
|
623
630
|
},
|
|
624
631
|
delegate: void 0
|
|
625
632
|
};
|
|
626
|
-
function
|
|
627
|
-
|
|
633
|
+
function wr(e) {
|
|
634
|
+
Tr.setTimeout(function() {
|
|
628
635
|
throw e;
|
|
629
636
|
});
|
|
630
637
|
}
|
|
631
638
|
function Ke() {
|
|
632
639
|
}
|
|
633
|
-
function
|
|
640
|
+
function fe(e) {
|
|
634
641
|
e();
|
|
635
642
|
}
|
|
636
643
|
var At = function(e) {
|
|
637
|
-
|
|
644
|
+
C(t, e);
|
|
638
645
|
function t(r) {
|
|
639
|
-
var
|
|
640
|
-
return
|
|
646
|
+
var n = e.call(this) || this;
|
|
647
|
+
return n.isStopped = !1, r ? (n.destination = r, Ht(r) && r.add(n)) : n.destination = Pr, n;
|
|
641
648
|
}
|
|
642
|
-
return t.create = function(r,
|
|
643
|
-
return new
|
|
649
|
+
return t.create = function(r, n, i) {
|
|
650
|
+
return new Re(r, n, i);
|
|
644
651
|
}, t.prototype.next = function(r) {
|
|
645
652
|
this.isStopped || this._next(r);
|
|
646
653
|
}, t.prototype.error = function(r) {
|
|
@@ -664,7 +671,7 @@ var At = function(e) {
|
|
|
664
671
|
this.unsubscribe();
|
|
665
672
|
}
|
|
666
673
|
}, t;
|
|
667
|
-
}(
|
|
674
|
+
}(ye), Hr = function() {
|
|
668
675
|
function e(t) {
|
|
669
676
|
this.partialObserver = t;
|
|
670
677
|
}
|
|
@@ -673,61 +680,61 @@ var At = function(e) {
|
|
|
673
680
|
if (r.next)
|
|
674
681
|
try {
|
|
675
682
|
r.next(t);
|
|
676
|
-
} catch (
|
|
677
|
-
|
|
683
|
+
} catch (n) {
|
|
684
|
+
he(n);
|
|
678
685
|
}
|
|
679
686
|
}, e.prototype.error = function(t) {
|
|
680
687
|
var r = this.partialObserver;
|
|
681
688
|
if (r.error)
|
|
682
689
|
try {
|
|
683
690
|
r.error(t);
|
|
684
|
-
} catch (
|
|
685
|
-
|
|
691
|
+
} catch (n) {
|
|
692
|
+
he(n);
|
|
686
693
|
}
|
|
687
694
|
else
|
|
688
|
-
|
|
695
|
+
he(t);
|
|
689
696
|
}, e.prototype.complete = function() {
|
|
690
697
|
var t = this.partialObserver;
|
|
691
698
|
if (t.complete)
|
|
692
699
|
try {
|
|
693
700
|
t.complete();
|
|
694
701
|
} catch (r) {
|
|
695
|
-
|
|
702
|
+
he(r);
|
|
696
703
|
}
|
|
697
704
|
}, e;
|
|
698
|
-
}(),
|
|
699
|
-
|
|
700
|
-
function t(r,
|
|
705
|
+
}(), Re = function(e) {
|
|
706
|
+
C(t, e);
|
|
707
|
+
function t(r, n, i) {
|
|
701
708
|
var o = e.call(this) || this, s;
|
|
702
|
-
return
|
|
709
|
+
return L(r) || !r ? s = {
|
|
703
710
|
next: r ?? void 0,
|
|
704
|
-
error:
|
|
705
|
-
complete:
|
|
706
|
-
} : s = r, o.destination = new
|
|
711
|
+
error: n ?? void 0,
|
|
712
|
+
complete: i ?? void 0
|
|
713
|
+
} : s = r, o.destination = new Hr(s), o;
|
|
707
714
|
}
|
|
708
715
|
return t;
|
|
709
716
|
}(At);
|
|
710
|
-
function
|
|
711
|
-
|
|
717
|
+
function he(e) {
|
|
718
|
+
wr(e);
|
|
712
719
|
}
|
|
713
|
-
function
|
|
720
|
+
function Ar(e) {
|
|
714
721
|
throw e;
|
|
715
722
|
}
|
|
716
|
-
var
|
|
723
|
+
var Pr = {
|
|
717
724
|
closed: !0,
|
|
718
725
|
next: Ke,
|
|
719
|
-
error:
|
|
726
|
+
error: Ar,
|
|
720
727
|
complete: Ke
|
|
721
|
-
},
|
|
728
|
+
}, Or = function() {
|
|
722
729
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
723
730
|
}();
|
|
724
|
-
function
|
|
731
|
+
function Ir(e) {
|
|
725
732
|
return e;
|
|
726
733
|
}
|
|
727
|
-
function
|
|
728
|
-
return e.length === 0 ?
|
|
729
|
-
return e.reduce(function(
|
|
730
|
-
return n
|
|
734
|
+
function Nr(e) {
|
|
735
|
+
return e.length === 0 ? Ir : e.length === 1 ? e[0] : function(r) {
|
|
736
|
+
return e.reduce(function(n, i) {
|
|
737
|
+
return i(n);
|
|
731
738
|
}, r);
|
|
732
739
|
};
|
|
733
740
|
}
|
|
@@ -738,11 +745,11 @@ var et = function() {
|
|
|
738
745
|
return e.prototype.lift = function(t) {
|
|
739
746
|
var r = new e();
|
|
740
747
|
return r.source = this, r.operator = t, r;
|
|
741
|
-
}, e.prototype.subscribe = function(t, r,
|
|
742
|
-
var
|
|
743
|
-
return
|
|
744
|
-
var s =
|
|
745
|
-
o.add(a ? a.call(o, h) : h ?
|
|
748
|
+
}, e.prototype.subscribe = function(t, r, n) {
|
|
749
|
+
var i = this, o = Lr(t) ? t : new Re(t, r, n);
|
|
750
|
+
return fe(function() {
|
|
751
|
+
var s = i, a = s.operator, h = s.source;
|
|
752
|
+
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
746
753
|
}), o;
|
|
747
754
|
}, e.prototype._trySubscribe = function(t) {
|
|
748
755
|
try {
|
|
@@ -751,9 +758,9 @@ var et = function() {
|
|
|
751
758
|
t.error(r);
|
|
752
759
|
}
|
|
753
760
|
}, e.prototype.forEach = function(t, r) {
|
|
754
|
-
var
|
|
755
|
-
return r = tt(r), new r(function(
|
|
756
|
-
var s = new
|
|
761
|
+
var n = this;
|
|
762
|
+
return r = tt(r), new r(function(i, o) {
|
|
763
|
+
var s = new Re({
|
|
757
764
|
next: function(a) {
|
|
758
765
|
try {
|
|
759
766
|
t(a);
|
|
@@ -762,29 +769,29 @@ var et = function() {
|
|
|
762
769
|
}
|
|
763
770
|
},
|
|
764
771
|
error: o,
|
|
765
|
-
complete:
|
|
772
|
+
complete: i
|
|
766
773
|
});
|
|
767
|
-
|
|
774
|
+
n.subscribe(s);
|
|
768
775
|
});
|
|
769
776
|
}, e.prototype._subscribe = function(t) {
|
|
770
777
|
var r;
|
|
771
778
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
772
|
-
}, e.prototype[
|
|
779
|
+
}, e.prototype[Or] = function() {
|
|
773
780
|
return this;
|
|
774
781
|
}, e.prototype.pipe = function() {
|
|
775
782
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
776
783
|
t[r] = arguments[r];
|
|
777
|
-
return
|
|
784
|
+
return Nr(t)(this);
|
|
778
785
|
}, e.prototype.toPromise = function(t) {
|
|
779
786
|
var r = this;
|
|
780
|
-
return t = tt(t), new t(function(
|
|
787
|
+
return t = tt(t), new t(function(n, i) {
|
|
781
788
|
var o;
|
|
782
789
|
r.subscribe(function(s) {
|
|
783
790
|
return o = s;
|
|
784
791
|
}, function(s) {
|
|
785
|
-
return
|
|
792
|
+
return i(s);
|
|
786
793
|
}, function() {
|
|
787
|
-
return
|
|
794
|
+
return n(o);
|
|
788
795
|
});
|
|
789
796
|
});
|
|
790
797
|
}, e.create = function(t) {
|
|
@@ -793,68 +800,68 @@ var et = function() {
|
|
|
793
800
|
}();
|
|
794
801
|
function tt(e) {
|
|
795
802
|
var t;
|
|
796
|
-
return (t = e ??
|
|
803
|
+
return (t = e ?? Sr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
797
804
|
}
|
|
798
|
-
function
|
|
799
|
-
return e &&
|
|
805
|
+
function Mr(e) {
|
|
806
|
+
return e && L(e.next) && L(e.error) && L(e.complete);
|
|
800
807
|
}
|
|
801
|
-
function
|
|
802
|
-
return e && e instanceof At ||
|
|
808
|
+
function Lr(e) {
|
|
809
|
+
return e && e instanceof At || Mr(e) && Ht(e);
|
|
803
810
|
}
|
|
804
811
|
var Cr = Tt(function(e) {
|
|
805
812
|
return function() {
|
|
806
813
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
807
814
|
};
|
|
808
815
|
}), Pt = function(e) {
|
|
809
|
-
|
|
816
|
+
C(t, e);
|
|
810
817
|
function t() {
|
|
811
818
|
var r = e.call(this) || this;
|
|
812
819
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
813
820
|
}
|
|
814
821
|
return t.prototype.lift = function(r) {
|
|
815
|
-
var
|
|
816
|
-
return
|
|
822
|
+
var n = new rt(this, this);
|
|
823
|
+
return n.operator = r, n;
|
|
817
824
|
}, t.prototype._throwIfClosed = function() {
|
|
818
825
|
if (this.closed)
|
|
819
826
|
throw new Cr();
|
|
820
827
|
}, t.prototype.next = function(r) {
|
|
821
|
-
var
|
|
822
|
-
|
|
823
|
-
var
|
|
824
|
-
if (
|
|
825
|
-
|
|
828
|
+
var n = this;
|
|
829
|
+
fe(function() {
|
|
830
|
+
var i, o;
|
|
831
|
+
if (n._throwIfClosed(), !n.isStopped) {
|
|
832
|
+
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
826
833
|
try {
|
|
827
|
-
for (var s =
|
|
834
|
+
for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
828
835
|
var h = a.value;
|
|
829
836
|
h.next(r);
|
|
830
837
|
}
|
|
831
838
|
} catch (u) {
|
|
832
|
-
|
|
839
|
+
i = { error: u };
|
|
833
840
|
} finally {
|
|
834
841
|
try {
|
|
835
842
|
a && !a.done && (o = s.return) && o.call(s);
|
|
836
843
|
} finally {
|
|
837
|
-
if (
|
|
844
|
+
if (i) throw i.error;
|
|
838
845
|
}
|
|
839
846
|
}
|
|
840
847
|
}
|
|
841
848
|
});
|
|
842
849
|
}, t.prototype.error = function(r) {
|
|
843
|
-
var
|
|
844
|
-
|
|
845
|
-
if (
|
|
846
|
-
|
|
847
|
-
for (var
|
|
848
|
-
|
|
850
|
+
var n = this;
|
|
851
|
+
fe(function() {
|
|
852
|
+
if (n._throwIfClosed(), !n.isStopped) {
|
|
853
|
+
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
854
|
+
for (var i = n.observers; i.length; )
|
|
855
|
+
i.shift().error(r);
|
|
849
856
|
}
|
|
850
857
|
});
|
|
851
858
|
}, t.prototype.complete = function() {
|
|
852
859
|
var r = this;
|
|
853
|
-
|
|
860
|
+
fe(function() {
|
|
854
861
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
855
862
|
r.isStopped = !0;
|
|
856
|
-
for (var
|
|
857
|
-
|
|
863
|
+
for (var n = r.observers; n.length; )
|
|
864
|
+
n.shift().complete();
|
|
858
865
|
}
|
|
859
866
|
});
|
|
860
867
|
}, t.prototype.unsubscribe = function() {
|
|
@@ -871,86 +878,86 @@ var Cr = Tt(function(e) {
|
|
|
871
878
|
}, t.prototype._subscribe = function(r) {
|
|
872
879
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
873
880
|
}, t.prototype._innerSubscribe = function(r) {
|
|
874
|
-
var
|
|
875
|
-
return o || s ?
|
|
876
|
-
|
|
881
|
+
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
882
|
+
return o || s ? wt : (this.currentObservers = null, a.push(r), new ye(function() {
|
|
883
|
+
n.currentObservers = null, $e(a, r);
|
|
877
884
|
}));
|
|
878
885
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
879
|
-
var
|
|
880
|
-
|
|
886
|
+
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
887
|
+
i ? r.error(o) : s && r.complete();
|
|
881
888
|
}, t.prototype.asObservable = function() {
|
|
882
889
|
var r = new et();
|
|
883
890
|
return r.source = this, r;
|
|
884
|
-
}, t.create = function(r,
|
|
885
|
-
return new rt(r,
|
|
891
|
+
}, t.create = function(r, n) {
|
|
892
|
+
return new rt(r, n);
|
|
886
893
|
}, t;
|
|
887
894
|
}(et), rt = function(e) {
|
|
888
|
-
|
|
889
|
-
function t(r,
|
|
890
|
-
var
|
|
891
|
-
return
|
|
895
|
+
C(t, e);
|
|
896
|
+
function t(r, n) {
|
|
897
|
+
var i = e.call(this) || this;
|
|
898
|
+
return i.destination = r, i.source = n, i;
|
|
892
899
|
}
|
|
893
900
|
return t.prototype.next = function(r) {
|
|
894
|
-
var
|
|
895
|
-
(
|
|
901
|
+
var n, i;
|
|
902
|
+
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
|
|
896
903
|
}, t.prototype.error = function(r) {
|
|
897
|
-
var
|
|
898
|
-
(
|
|
904
|
+
var n, i;
|
|
905
|
+
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
|
|
899
906
|
}, t.prototype.complete = function() {
|
|
900
|
-
var r,
|
|
901
|
-
(
|
|
907
|
+
var r, n;
|
|
908
|
+
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
902
909
|
}, t.prototype._subscribe = function(r) {
|
|
903
|
-
var
|
|
904
|
-
return (
|
|
910
|
+
var n, i;
|
|
911
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : wt;
|
|
905
912
|
}, t;
|
|
906
913
|
}(Pt), Ot = {
|
|
907
914
|
now: function() {
|
|
908
915
|
return (Ot.delegate || Date).now();
|
|
909
916
|
},
|
|
910
917
|
delegate: void 0
|
|
911
|
-
},
|
|
912
|
-
|
|
913
|
-
function t(r,
|
|
914
|
-
r === void 0 && (r = 1 / 0),
|
|
918
|
+
}, $r = function(e) {
|
|
919
|
+
C(t, e);
|
|
920
|
+
function t(r, n, i) {
|
|
921
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ot);
|
|
915
922
|
var o = e.call(this) || this;
|
|
916
|
-
return o._bufferSize = r, o._windowTime =
|
|
923
|
+
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;
|
|
917
924
|
}
|
|
918
925
|
return t.prototype.next = function(r) {
|
|
919
|
-
var
|
|
920
|
-
|
|
926
|
+
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
|
|
927
|
+
i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
921
928
|
}, t.prototype._subscribe = function(r) {
|
|
922
929
|
this._throwIfClosed(), this._trimBuffer();
|
|
923
|
-
for (var
|
|
930
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), h = 0; h < a.length && !r.closed; h += o ? 1 : 2)
|
|
924
931
|
r.next(a[h]);
|
|
925
|
-
return this._checkFinalizedStatuses(r),
|
|
932
|
+
return this._checkFinalizedStatuses(r), n;
|
|
926
933
|
}, t.prototype._trimBuffer = function() {
|
|
927
|
-
var r = this,
|
|
928
|
-
if (
|
|
929
|
-
for (var h =
|
|
934
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
935
|
+
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
936
|
+
for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
|
|
930
937
|
u = l;
|
|
931
938
|
u && o.splice(0, u + 1);
|
|
932
939
|
}
|
|
933
940
|
}, t;
|
|
934
941
|
}(Pt);
|
|
935
|
-
const
|
|
936
|
-
if (
|
|
937
|
-
const r = new
|
|
938
|
-
|
|
942
|
+
const nt = [], it = {}, Rr = (e, t = 0) => {
|
|
943
|
+
if (nt.indexOf(e) == -1) {
|
|
944
|
+
const r = new $r(t);
|
|
945
|
+
it[e] = r, nt.push(e);
|
|
939
946
|
}
|
|
940
|
-
return
|
|
947
|
+
return it[e];
|
|
941
948
|
}, k = [];
|
|
942
|
-
function
|
|
949
|
+
function Dr(e, t) {
|
|
943
950
|
return {
|
|
944
|
-
subscribe:
|
|
951
|
+
subscribe: ve(e, t).subscribe
|
|
945
952
|
};
|
|
946
953
|
}
|
|
947
|
-
function
|
|
954
|
+
function ve(e, t = I) {
|
|
948
955
|
let r;
|
|
949
|
-
const
|
|
950
|
-
function
|
|
956
|
+
const n = /* @__PURE__ */ new Set();
|
|
957
|
+
function i(a) {
|
|
951
958
|
if (_t(e, a) && (e = a, r)) {
|
|
952
959
|
const h = !k.length;
|
|
953
|
-
for (const u of
|
|
960
|
+
for (const u of n)
|
|
954
961
|
u[1](), k.push(u, e);
|
|
955
962
|
if (h) {
|
|
956
963
|
for (let u = 0; u < k.length; u += 2)
|
|
@@ -960,34 +967,34 @@ function ye(e, t = C) {
|
|
|
960
967
|
}
|
|
961
968
|
}
|
|
962
969
|
function o(a) {
|
|
963
|
-
|
|
970
|
+
i(a(e));
|
|
964
971
|
}
|
|
965
|
-
function s(a, h =
|
|
972
|
+
function s(a, h = I) {
|
|
966
973
|
const u = [a, h];
|
|
967
|
-
return
|
|
968
|
-
|
|
974
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
|
|
975
|
+
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
969
976
|
};
|
|
970
977
|
}
|
|
971
|
-
return { set:
|
|
978
|
+
return { set: i, update: o, subscribe: s };
|
|
972
979
|
}
|
|
973
980
|
function J(e, t, r) {
|
|
974
|
-
const
|
|
975
|
-
if (!
|
|
981
|
+
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
982
|
+
if (!i.every(Boolean))
|
|
976
983
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
977
984
|
const o = t.length < 2;
|
|
978
|
-
return
|
|
985
|
+
return Dr(r, (s, a) => {
|
|
979
986
|
let h = !1;
|
|
980
987
|
const u = [];
|
|
981
|
-
let l = 0, c =
|
|
988
|
+
let l = 0, c = I;
|
|
982
989
|
const f = () => {
|
|
983
990
|
if (l)
|
|
984
991
|
return;
|
|
985
992
|
c();
|
|
986
|
-
const
|
|
987
|
-
o ? s(
|
|
988
|
-
}, p =
|
|
989
|
-
(
|
|
990
|
-
|
|
993
|
+
const g = t(n ? u[0] : u, s, a);
|
|
994
|
+
o ? s(g) : c = We(g) ? g : I;
|
|
995
|
+
}, p = i.map(
|
|
996
|
+
(g, m) => xt(
|
|
997
|
+
g,
|
|
991
998
|
(x) => {
|
|
992
999
|
u[m] = x, l &= ~(1 << m), h && f();
|
|
993
1000
|
},
|
|
@@ -997,51 +1004,51 @@ function J(e, t, r) {
|
|
|
997
1004
|
)
|
|
998
1005
|
);
|
|
999
1006
|
return h = !0, f(), function() {
|
|
1000
|
-
|
|
1007
|
+
ae(p), c(), h = !1;
|
|
1001
1008
|
};
|
|
1002
1009
|
});
|
|
1003
1010
|
}
|
|
1004
|
-
function
|
|
1011
|
+
function Ur(e) {
|
|
1005
1012
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1006
1013
|
}
|
|
1007
|
-
var
|
|
1008
|
-
return
|
|
1014
|
+
var Gr = function(t) {
|
|
1015
|
+
return Fr(t) && !jr(t);
|
|
1009
1016
|
};
|
|
1010
|
-
function
|
|
1017
|
+
function Fr(e) {
|
|
1011
1018
|
return !!e && typeof e == "object";
|
|
1012
1019
|
}
|
|
1013
|
-
function
|
|
1020
|
+
function jr(e) {
|
|
1014
1021
|
var t = Object.prototype.toString.call(e);
|
|
1015
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1022
|
+
return t === "[object RegExp]" || t === "[object Date]" || Xr(e);
|
|
1016
1023
|
}
|
|
1017
|
-
var
|
|
1018
|
-
function
|
|
1019
|
-
return e.$$typeof ===
|
|
1024
|
+
var kr = typeof Symbol == "function" && Symbol.for, Vr = kr ? Symbol.for("react.element") : 60103;
|
|
1025
|
+
function Xr(e) {
|
|
1026
|
+
return e.$$typeof === Vr;
|
|
1020
1027
|
}
|
|
1021
|
-
function
|
|
1028
|
+
function Wr(e) {
|
|
1022
1029
|
return Array.isArray(e) ? [] : {};
|
|
1023
1030
|
}
|
|
1024
|
-
function
|
|
1025
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? z(
|
|
1031
|
+
function oe(e, t) {
|
|
1032
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? z(Wr(e), e, t) : e;
|
|
1026
1033
|
}
|
|
1027
|
-
function
|
|
1028
|
-
return e.concat(t).map(function(
|
|
1029
|
-
return
|
|
1034
|
+
function zr(e, t, r) {
|
|
1035
|
+
return e.concat(t).map(function(n) {
|
|
1036
|
+
return oe(n, r);
|
|
1030
1037
|
});
|
|
1031
1038
|
}
|
|
1032
|
-
function
|
|
1039
|
+
function Zr(e, t) {
|
|
1033
1040
|
if (!t.customMerge)
|
|
1034
1041
|
return z;
|
|
1035
1042
|
var r = t.customMerge(e);
|
|
1036
1043
|
return typeof r == "function" ? r : z;
|
|
1037
1044
|
}
|
|
1038
|
-
function
|
|
1045
|
+
function Yr(e) {
|
|
1039
1046
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1040
1047
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1041
1048
|
}) : [];
|
|
1042
1049
|
}
|
|
1043
1050
|
function ot(e) {
|
|
1044
|
-
return Object.keys(e).concat(
|
|
1051
|
+
return Object.keys(e).concat(Yr(e));
|
|
1045
1052
|
}
|
|
1046
1053
|
function It(e, t) {
|
|
1047
1054
|
try {
|
|
@@ -1050,62 +1057,62 @@ function It(e, t) {
|
|
|
1050
1057
|
return !1;
|
|
1051
1058
|
}
|
|
1052
1059
|
}
|
|
1053
|
-
function
|
|
1060
|
+
function Qr(e, t) {
|
|
1054
1061
|
return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1055
1062
|
}
|
|
1056
|
-
function
|
|
1057
|
-
var
|
|
1058
|
-
return r.isMergeableObject(e) && ot(e).forEach(function(
|
|
1059
|
-
i
|
|
1060
|
-
}), ot(t).forEach(function(
|
|
1061
|
-
|
|
1062
|
-
}),
|
|
1063
|
+
function Jr(e, t, r) {
|
|
1064
|
+
var n = {};
|
|
1065
|
+
return r.isMergeableObject(e) && ot(e).forEach(function(i) {
|
|
1066
|
+
n[i] = oe(e[i], r);
|
|
1067
|
+
}), ot(t).forEach(function(i) {
|
|
1068
|
+
Qr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1069
|
+
}), n;
|
|
1063
1070
|
}
|
|
1064
1071
|
function z(e, t, r) {
|
|
1065
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1066
|
-
var
|
|
1067
|
-
return o ?
|
|
1072
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || zr, r.isMergeableObject = r.isMergeableObject || Gr, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1073
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1074
|
+
return o ? n ? r.arrayMerge(e, t, r) : Jr(e, t, r) : oe(t, r);
|
|
1068
1075
|
}
|
|
1069
1076
|
z.all = function(t, r) {
|
|
1070
1077
|
if (!Array.isArray(t))
|
|
1071
1078
|
throw new Error("first argument should be an array");
|
|
1072
|
-
return t.reduce(function(
|
|
1073
|
-
return z(
|
|
1079
|
+
return t.reduce(function(n, i) {
|
|
1080
|
+
return z(n, i, r);
|
|
1074
1081
|
}, {});
|
|
1075
1082
|
};
|
|
1076
|
-
var
|
|
1077
|
-
const
|
|
1078
|
-
function
|
|
1079
|
-
var r = t && t.cache ? t.cache :
|
|
1080
|
-
return
|
|
1083
|
+
var qr = z, Kr = qr;
|
|
1084
|
+
const en = /* @__PURE__ */ Ur(Kr);
|
|
1085
|
+
function Te(e, t) {
|
|
1086
|
+
var r = t && t.cache ? t.cache : un, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : nn;
|
|
1087
|
+
return i(e, {
|
|
1081
1088
|
cache: r,
|
|
1082
|
-
serializer:
|
|
1089
|
+
serializer: n
|
|
1083
1090
|
});
|
|
1084
1091
|
}
|
|
1085
|
-
function
|
|
1092
|
+
function tn(e) {
|
|
1086
1093
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1087
1094
|
}
|
|
1088
|
-
function
|
|
1089
|
-
var
|
|
1090
|
-
return typeof o > "u" && (o = e.call(this,
|
|
1095
|
+
function rn(e, t, r, n) {
|
|
1096
|
+
var i = tn(n) ? n : r(n), o = t.get(i);
|
|
1097
|
+
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1091
1098
|
}
|
|
1092
1099
|
function Nt(e, t, r) {
|
|
1093
|
-
var
|
|
1094
|
-
return typeof o > "u" && (o = e.apply(this,
|
|
1100
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1101
|
+
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1095
1102
|
}
|
|
1096
|
-
function
|
|
1097
|
-
return r.bind(t, e,
|
|
1103
|
+
function Mt(e, t, r, n, i) {
|
|
1104
|
+
return r.bind(t, e, n, i);
|
|
1098
1105
|
}
|
|
1099
|
-
function
|
|
1100
|
-
var r = e.length === 1 ?
|
|
1101
|
-
return
|
|
1106
|
+
function nn(e, t) {
|
|
1107
|
+
var r = e.length === 1 ? rn : Nt;
|
|
1108
|
+
return Mt(e, this, r, t.cache.create(), t.serializer);
|
|
1102
1109
|
}
|
|
1103
|
-
function
|
|
1104
|
-
return
|
|
1110
|
+
function on(e, t) {
|
|
1111
|
+
return Mt(e, this, Nt, t.cache.create(), t.serializer);
|
|
1105
1112
|
}
|
|
1106
|
-
var
|
|
1113
|
+
var sn = function() {
|
|
1107
1114
|
return JSON.stringify(arguments);
|
|
1108
|
-
},
|
|
1115
|
+
}, an = (
|
|
1109
1116
|
/** @class */
|
|
1110
1117
|
function() {
|
|
1111
1118
|
function e() {
|
|
@@ -1117,16 +1124,16 @@ var ii = function() {
|
|
|
1117
1124
|
this.cache[t] = r;
|
|
1118
1125
|
}, e;
|
|
1119
1126
|
}()
|
|
1120
|
-
),
|
|
1127
|
+
), un = {
|
|
1121
1128
|
create: function() {
|
|
1122
|
-
return new
|
|
1129
|
+
return new an();
|
|
1123
1130
|
}
|
|
1124
|
-
},
|
|
1125
|
-
variadic:
|
|
1126
|
-
},
|
|
1131
|
+
}, we = {
|
|
1132
|
+
variadic: on
|
|
1133
|
+
}, b;
|
|
1127
1134
|
(function(e) {
|
|
1128
1135
|
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";
|
|
1129
|
-
})(
|
|
1136
|
+
})(b || (b = {}));
|
|
1130
1137
|
var _;
|
|
1131
1138
|
(function(e) {
|
|
1132
1139
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
@@ -1138,13 +1145,13 @@ var Z;
|
|
|
1138
1145
|
function st(e) {
|
|
1139
1146
|
return e.type === _.literal;
|
|
1140
1147
|
}
|
|
1141
|
-
function
|
|
1148
|
+
function hn(e) {
|
|
1142
1149
|
return e.type === _.argument;
|
|
1143
1150
|
}
|
|
1144
|
-
function
|
|
1151
|
+
function Lt(e) {
|
|
1145
1152
|
return e.type === _.number;
|
|
1146
1153
|
}
|
|
1147
|
-
function
|
|
1154
|
+
function Ct(e) {
|
|
1148
1155
|
return e.type === _.date;
|
|
1149
1156
|
}
|
|
1150
1157
|
function $t(e) {
|
|
@@ -1156,7 +1163,7 @@ function Rt(e) {
|
|
|
1156
1163
|
function Dt(e) {
|
|
1157
1164
|
return e.type === _.plural;
|
|
1158
1165
|
}
|
|
1159
|
-
function
|
|
1166
|
+
function ln(e) {
|
|
1160
1167
|
return e.type === _.pound;
|
|
1161
1168
|
}
|
|
1162
1169
|
function Ut(e) {
|
|
@@ -1165,20 +1172,20 @@ function Ut(e) {
|
|
|
1165
1172
|
function Gt(e) {
|
|
1166
1173
|
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
1167
1174
|
}
|
|
1168
|
-
function
|
|
1175
|
+
function De(e) {
|
|
1169
1176
|
return !!(e && typeof e == "object" && e.type === Z.dateTime);
|
|
1170
1177
|
}
|
|
1171
|
-
var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
1172
|
-
function
|
|
1178
|
+
var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, cn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1179
|
+
function fn(e) {
|
|
1173
1180
|
var t = {};
|
|
1174
|
-
return e.replace(
|
|
1175
|
-
var
|
|
1181
|
+
return e.replace(cn, function(r) {
|
|
1182
|
+
var n = r.length;
|
|
1176
1183
|
switch (r[0]) {
|
|
1177
1184
|
case "G":
|
|
1178
|
-
t.era =
|
|
1185
|
+
t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
1179
1186
|
break;
|
|
1180
1187
|
case "y":
|
|
1181
|
-
t.year =
|
|
1188
|
+
t.year = n === 2 ? "2-digit" : "numeric";
|
|
1182
1189
|
break;
|
|
1183
1190
|
case "Y":
|
|
1184
1191
|
case "u":
|
|
@@ -1190,30 +1197,30 @@ function hi(e) {
|
|
|
1190
1197
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
1191
1198
|
case "M":
|
|
1192
1199
|
case "L":
|
|
1193
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
1200
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
|
|
1194
1201
|
break;
|
|
1195
1202
|
case "w":
|
|
1196
1203
|
case "W":
|
|
1197
1204
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
1198
1205
|
case "d":
|
|
1199
|
-
t.day = ["numeric", "2-digit"][
|
|
1206
|
+
t.day = ["numeric", "2-digit"][n - 1];
|
|
1200
1207
|
break;
|
|
1201
1208
|
case "D":
|
|
1202
1209
|
case "F":
|
|
1203
1210
|
case "g":
|
|
1204
1211
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
1205
1212
|
case "E":
|
|
1206
|
-
t.weekday =
|
|
1213
|
+
t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
1207
1214
|
break;
|
|
1208
1215
|
case "e":
|
|
1209
|
-
if (
|
|
1216
|
+
if (n < 4)
|
|
1210
1217
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
1211
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
1218
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
1212
1219
|
break;
|
|
1213
1220
|
case "c":
|
|
1214
|
-
if (
|
|
1221
|
+
if (n < 4)
|
|
1215
1222
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
1216
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
1223
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
1217
1224
|
break;
|
|
1218
1225
|
case "a":
|
|
1219
1226
|
t.hour12 = !0;
|
|
@@ -1222,32 +1229,32 @@ function hi(e) {
|
|
|
1222
1229
|
case "B":
|
|
1223
1230
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
1224
1231
|
case "h":
|
|
1225
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
1232
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1226
1233
|
break;
|
|
1227
1234
|
case "H":
|
|
1228
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
1235
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1229
1236
|
break;
|
|
1230
1237
|
case "K":
|
|
1231
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
1238
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1232
1239
|
break;
|
|
1233
1240
|
case "k":
|
|
1234
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
1241
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1235
1242
|
break;
|
|
1236
1243
|
case "j":
|
|
1237
1244
|
case "J":
|
|
1238
1245
|
case "C":
|
|
1239
1246
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
1240
1247
|
case "m":
|
|
1241
|
-
t.minute = ["numeric", "2-digit"][
|
|
1248
|
+
t.minute = ["numeric", "2-digit"][n - 1];
|
|
1242
1249
|
break;
|
|
1243
1250
|
case "s":
|
|
1244
|
-
t.second = ["numeric", "2-digit"][
|
|
1251
|
+
t.second = ["numeric", "2-digit"][n - 1];
|
|
1245
1252
|
break;
|
|
1246
1253
|
case "S":
|
|
1247
1254
|
case "A":
|
|
1248
1255
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
1249
1256
|
case "z":
|
|
1250
|
-
t.timeZoneName =
|
|
1257
|
+
t.timeZoneName = n < 4 ? "short" : "long";
|
|
1251
1258
|
break;
|
|
1252
1259
|
case "Z":
|
|
1253
1260
|
case "O":
|
|
@@ -1260,14 +1267,14 @@ function hi(e) {
|
|
|
1260
1267
|
return "";
|
|
1261
1268
|
}), t;
|
|
1262
1269
|
}
|
|
1263
|
-
var
|
|
1264
|
-
function
|
|
1270
|
+
var pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1271
|
+
function mn(e) {
|
|
1265
1272
|
if (e.length === 0)
|
|
1266
1273
|
throw new Error("Number skeleton cannot be empty");
|
|
1267
|
-
for (var t = e.split(
|
|
1274
|
+
for (var t = e.split(pn).filter(function(f) {
|
|
1268
1275
|
return f.length > 0;
|
|
1269
|
-
}), r = [],
|
|
1270
|
-
var o = n
|
|
1276
|
+
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1277
|
+
var o = i[n], s = o.split("/");
|
|
1271
1278
|
if (s.length === 0)
|
|
1272
1279
|
throw new Error("Invalid number skeleton");
|
|
1273
1280
|
for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
@@ -1279,14 +1286,14 @@ function ci(e) {
|
|
|
1279
1286
|
}
|
|
1280
1287
|
return r;
|
|
1281
1288
|
}
|
|
1282
|
-
function
|
|
1289
|
+
function bn(e) {
|
|
1283
1290
|
return e.replace(/^(.*?)-/, "");
|
|
1284
1291
|
}
|
|
1285
|
-
var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1292
|
+
var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, dn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
|
|
1286
1293
|
function ut(e) {
|
|
1287
1294
|
var t = {};
|
|
1288
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r,
|
|
1289
|
-
return typeof
|
|
1295
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
|
|
1296
|
+
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)), "";
|
|
1290
1297
|
}), t;
|
|
1291
1298
|
}
|
|
1292
1299
|
function Vt(e) {
|
|
@@ -1329,7 +1336,7 @@ function Vt(e) {
|
|
|
1329
1336
|
};
|
|
1330
1337
|
}
|
|
1331
1338
|
}
|
|
1332
|
-
function
|
|
1339
|
+
function gn(e) {
|
|
1333
1340
|
var t;
|
|
1334
1341
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1335
1342
|
notation: "engineering"
|
|
@@ -1347,10 +1354,10 @@ function ht(e) {
|
|
|
1347
1354
|
var t = {}, r = Vt(e);
|
|
1348
1355
|
return r || t;
|
|
1349
1356
|
}
|
|
1350
|
-
function
|
|
1351
|
-
for (var t = {}, r = 0,
|
|
1352
|
-
var
|
|
1353
|
-
switch (
|
|
1357
|
+
function yn(e) {
|
|
1358
|
+
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1359
|
+
var i = n[r];
|
|
1360
|
+
switch (i.stem) {
|
|
1354
1361
|
case "percent":
|
|
1355
1362
|
case "%":
|
|
1356
1363
|
t.style = "percent";
|
|
@@ -1359,7 +1366,7 @@ function bi(e) {
|
|
|
1359
1366
|
t.style = "percent", t.scale = 100;
|
|
1360
1367
|
continue;
|
|
1361
1368
|
case "currency":
|
|
1362
|
-
t.style = "currency", t.currency =
|
|
1369
|
+
t.style = "currency", t.currency = i.options[0];
|
|
1363
1370
|
continue;
|
|
1364
1371
|
case "group-off":
|
|
1365
1372
|
case ",_":
|
|
@@ -1371,7 +1378,7 @@ function bi(e) {
|
|
|
1371
1378
|
continue;
|
|
1372
1379
|
case "measure-unit":
|
|
1373
1380
|
case "unit":
|
|
1374
|
-
t.style = "unit", t.unit =
|
|
1381
|
+
t.style = "unit", t.unit = bn(i.options[0]);
|
|
1375
1382
|
continue;
|
|
1376
1383
|
case "compact-short":
|
|
1377
1384
|
case "K":
|
|
@@ -1382,13 +1389,13 @@ function bi(e) {
|
|
|
1382
1389
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1383
1390
|
continue;
|
|
1384
1391
|
case "scientific":
|
|
1385
|
-
t =
|
|
1386
|
-
return
|
|
1392
|
+
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1393
|
+
return y(y({}, h), ht(u));
|
|
1387
1394
|
}, {}));
|
|
1388
1395
|
continue;
|
|
1389
1396
|
case "engineering":
|
|
1390
|
-
t =
|
|
1391
|
-
return
|
|
1397
|
+
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1398
|
+
return y(y({}, h), ht(u));
|
|
1392
1399
|
}, {}));
|
|
1393
1400
|
continue;
|
|
1394
1401
|
case "notation-simple":
|
|
@@ -1407,7 +1414,7 @@ function bi(e) {
|
|
|
1407
1414
|
t.currencyDisplay = "symbol";
|
|
1408
1415
|
continue;
|
|
1409
1416
|
case "scale":
|
|
1410
|
-
t.scale = parseFloat(
|
|
1417
|
+
t.scale = parseFloat(i.options[0]);
|
|
1411
1418
|
continue;
|
|
1412
1419
|
case "rounding-mode-floor":
|
|
1413
1420
|
t.roundingMode = "floor";
|
|
@@ -1431,9 +1438,9 @@ function bi(e) {
|
|
|
1431
1438
|
t.roundingMode = "halfExpand";
|
|
1432
1439
|
continue;
|
|
1433
1440
|
case "integer-width":
|
|
1434
|
-
if (
|
|
1441
|
+
if (i.options.length > 1)
|
|
1435
1442
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1436
|
-
|
|
1443
|
+
i.options[0].replace(dn, function(h, u, l, c, f, p) {
|
|
1437
1444
|
if (u)
|
|
1438
1445
|
t.minimumIntegerDigits = l.length;
|
|
1439
1446
|
else {
|
|
@@ -1446,32 +1453,32 @@ function bi(e) {
|
|
|
1446
1453
|
});
|
|
1447
1454
|
continue;
|
|
1448
1455
|
}
|
|
1449
|
-
if (kt.test(
|
|
1450
|
-
t.minimumIntegerDigits =
|
|
1456
|
+
if (kt.test(i.stem)) {
|
|
1457
|
+
t.minimumIntegerDigits = i.stem.length;
|
|
1451
1458
|
continue;
|
|
1452
1459
|
}
|
|
1453
|
-
if (at.test(
|
|
1454
|
-
if (
|
|
1460
|
+
if (at.test(i.stem)) {
|
|
1461
|
+
if (i.options.length > 1)
|
|
1455
1462
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1456
|
-
|
|
1463
|
+
i.stem.replace(at, function(h, u, l, c, f, p) {
|
|
1457
1464
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1458
1465
|
});
|
|
1459
|
-
var o =
|
|
1460
|
-
o === "w" ? t =
|
|
1466
|
+
var o = i.options[0];
|
|
1467
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ut(o)));
|
|
1461
1468
|
continue;
|
|
1462
1469
|
}
|
|
1463
|
-
if (jt.test(
|
|
1464
|
-
t =
|
|
1470
|
+
if (jt.test(i.stem)) {
|
|
1471
|
+
t = y(y({}, t), ut(i.stem));
|
|
1465
1472
|
continue;
|
|
1466
1473
|
}
|
|
1467
|
-
var s = Vt(
|
|
1468
|
-
s && (t =
|
|
1469
|
-
var a =
|
|
1470
|
-
a && (t =
|
|
1474
|
+
var s = Vt(i.stem);
|
|
1475
|
+
s && (t = y(y({}, t), s));
|
|
1476
|
+
var a = gn(i.stem);
|
|
1477
|
+
a && (t = y(y({}, t), a));
|
|
1471
1478
|
}
|
|
1472
1479
|
return t;
|
|
1473
1480
|
}
|
|
1474
|
-
var
|
|
1481
|
+
var le = {
|
|
1475
1482
|
"001": [
|
|
1476
1483
|
"H",
|
|
1477
1484
|
"h"
|
|
@@ -2886,22 +2893,22 @@ var he = {
|
|
|
2886
2893
|
"h"
|
|
2887
2894
|
]
|
|
2888
2895
|
};
|
|
2889
|
-
function
|
|
2890
|
-
for (var r = "",
|
|
2891
|
-
var
|
|
2892
|
-
if (
|
|
2893
|
-
for (var o = 0;
|
|
2894
|
-
o++,
|
|
2895
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2896
|
+
function vn(e, t) {
|
|
2897
|
+
for (var r = "", n = 0; n < e.length; n++) {
|
|
2898
|
+
var i = e.charAt(n);
|
|
2899
|
+
if (i === "j") {
|
|
2900
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2901
|
+
o++, n++;
|
|
2902
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = En(t);
|
|
2896
2903
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2897
2904
|
r += h;
|
|
2898
2905
|
for (; s-- > 0; )
|
|
2899
2906
|
r = u + r;
|
|
2900
|
-
} else
|
|
2907
|
+
} else i === "J" ? r += "H" : r += i;
|
|
2901
2908
|
}
|
|
2902
2909
|
return r;
|
|
2903
2910
|
}
|
|
2904
|
-
function
|
|
2911
|
+
function En(e) {
|
|
2905
2912
|
var t = e.hourCycle;
|
|
2906
2913
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2907
2914
|
e.hourCycles && // @ts-ignore
|
|
@@ -2918,59 +2925,59 @@ function gi(e) {
|
|
|
2918
2925
|
default:
|
|
2919
2926
|
throw new Error("Invalid hourCycle");
|
|
2920
2927
|
}
|
|
2921
|
-
var r = e.language,
|
|
2922
|
-
r !== "root" && (
|
|
2923
|
-
var
|
|
2924
|
-
return
|
|
2928
|
+
var r = e.language, n;
|
|
2929
|
+
r !== "root" && (n = e.maximize().region);
|
|
2930
|
+
var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
|
|
2931
|
+
return i[0];
|
|
2925
2932
|
}
|
|
2926
|
-
var He,
|
|
2927
|
-
function
|
|
2933
|
+
var He, _n = new RegExp("^".concat(Ft.source, "*")), xn = new RegExp("".concat(Ft.source, "*$"));
|
|
2934
|
+
function d(e, t) {
|
|
2928
2935
|
return { start: e, end: t };
|
|
2929
2936
|
}
|
|
2930
|
-
var
|
|
2937
|
+
var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Sn = !!String.fromCodePoint, Tn = !!Object.fromEntries, wn = !!String.prototype.codePointAt, Hn = !!String.prototype.trimStart, An = !!String.prototype.trimEnd, Pn = !!Number.isSafeInteger, On = Pn ? Number.isSafeInteger : function(e) {
|
|
2931
2938
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2932
|
-
},
|
|
2939
|
+
}, Ue = !0;
|
|
2933
2940
|
try {
|
|
2934
|
-
var
|
|
2935
|
-
|
|
2941
|
+
var In = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2942
|
+
Ue = ((He = In.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
|
|
2936
2943
|
} catch {
|
|
2937
|
-
|
|
2944
|
+
Ue = !1;
|
|
2938
2945
|
}
|
|
2939
|
-
var lt =
|
|
2946
|
+
var lt = Bn ? (
|
|
2940
2947
|
// Native
|
|
2941
|
-
function(t, r,
|
|
2942
|
-
return t.startsWith(r,
|
|
2948
|
+
function(t, r, n) {
|
|
2949
|
+
return t.startsWith(r, n);
|
|
2943
2950
|
}
|
|
2944
2951
|
) : (
|
|
2945
2952
|
// For IE11
|
|
2946
|
-
function(t, r,
|
|
2947
|
-
return t.slice(
|
|
2953
|
+
function(t, r, n) {
|
|
2954
|
+
return t.slice(n, n + r.length) === r;
|
|
2948
2955
|
}
|
|
2949
|
-
),
|
|
2956
|
+
), Ge = Sn ? String.fromCodePoint : (
|
|
2950
2957
|
// IE11
|
|
2951
2958
|
function() {
|
|
2952
2959
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2953
2960
|
t[r] = arguments[r];
|
|
2954
|
-
for (var
|
|
2961
|
+
for (var n = "", i = t.length, o = 0, s; i > o; ) {
|
|
2955
2962
|
if (s = t[o++], s > 1114111)
|
|
2956
2963
|
throw RangeError(s + " is not a valid code point");
|
|
2957
|
-
|
|
2964
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
2958
2965
|
}
|
|
2959
|
-
return
|
|
2966
|
+
return n;
|
|
2960
2967
|
}
|
|
2961
2968
|
), ct = (
|
|
2962
2969
|
// native
|
|
2963
|
-
|
|
2970
|
+
Tn ? Object.fromEntries : (
|
|
2964
2971
|
// Ponyfill
|
|
2965
2972
|
function(t) {
|
|
2966
|
-
for (var r = {},
|
|
2967
|
-
var o = n
|
|
2973
|
+
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2974
|
+
var o = i[n], s = o[0], a = o[1];
|
|
2968
2975
|
r[s] = a;
|
|
2969
2976
|
}
|
|
2970
2977
|
return r;
|
|
2971
2978
|
}
|
|
2972
2979
|
)
|
|
2973
|
-
), Xt =
|
|
2980
|
+
), Xt = wn ? (
|
|
2974
2981
|
// Native
|
|
2975
2982
|
function(t, r) {
|
|
2976
2983
|
return t.codePointAt(r);
|
|
@@ -2978,13 +2985,13 @@ var lt = Ei ? (
|
|
|
2978
2985
|
) : (
|
|
2979
2986
|
// IE 11
|
|
2980
2987
|
function(t, r) {
|
|
2981
|
-
var
|
|
2982
|
-
if (!(r < 0 || r >=
|
|
2983
|
-
var
|
|
2984
|
-
return
|
|
2988
|
+
var n = t.length;
|
|
2989
|
+
if (!(r < 0 || r >= n)) {
|
|
2990
|
+
var i = t.charCodeAt(r), o;
|
|
2991
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2985
2992
|
}
|
|
2986
2993
|
}
|
|
2987
|
-
),
|
|
2994
|
+
), Nn = Hn ? (
|
|
2988
2995
|
// Native
|
|
2989
2996
|
function(t) {
|
|
2990
2997
|
return t.trimStart();
|
|
@@ -2992,9 +2999,9 @@ var lt = Ei ? (
|
|
|
2992
2999
|
) : (
|
|
2993
3000
|
// Ponyfill
|
|
2994
3001
|
function(t) {
|
|
2995
|
-
return t.replace(
|
|
3002
|
+
return t.replace(_n, "");
|
|
2996
3003
|
}
|
|
2997
|
-
),
|
|
3004
|
+
), Mn = An ? (
|
|
2998
3005
|
// Native
|
|
2999
3006
|
function(t) {
|
|
3000
3007
|
return t.trimEnd();
|
|
@@ -3002,32 +3009,32 @@ var lt = Ei ? (
|
|
|
3002
3009
|
) : (
|
|
3003
3010
|
// Ponyfill
|
|
3004
3011
|
function(t) {
|
|
3005
|
-
return t.replace(
|
|
3012
|
+
return t.replace(xn, "");
|
|
3006
3013
|
}
|
|
3007
3014
|
);
|
|
3008
3015
|
function Wt(e, t) {
|
|
3009
3016
|
return new RegExp(e, t);
|
|
3010
3017
|
}
|
|
3011
|
-
var
|
|
3012
|
-
if (
|
|
3018
|
+
var Fe;
|
|
3019
|
+
if (Ue) {
|
|
3013
3020
|
var ft = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3014
|
-
|
|
3015
|
-
var
|
|
3021
|
+
Fe = function(t, r) {
|
|
3022
|
+
var n;
|
|
3016
3023
|
ft.lastIndex = r;
|
|
3017
|
-
var
|
|
3018
|
-
return (
|
|
3024
|
+
var i = ft.exec(t);
|
|
3025
|
+
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3019
3026
|
};
|
|
3020
3027
|
} else
|
|
3021
|
-
|
|
3022
|
-
for (var
|
|
3023
|
-
var
|
|
3024
|
-
if (
|
|
3028
|
+
Fe = function(t, r) {
|
|
3029
|
+
for (var n = []; ; ) {
|
|
3030
|
+
var i = Xt(t, r);
|
|
3031
|
+
if (i === void 0 || zt(i) || Rn(i))
|
|
3025
3032
|
break;
|
|
3026
|
-
|
|
3033
|
+
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3027
3034
|
}
|
|
3028
|
-
return
|
|
3035
|
+
return Ge.apply(void 0, n);
|
|
3029
3036
|
};
|
|
3030
|
-
var
|
|
3037
|
+
var Ln = (
|
|
3031
3038
|
/** @class */
|
|
3032
3039
|
function() {
|
|
3033
3040
|
function e(t, r) {
|
|
@@ -3037,51 +3044,51 @@ var Ii = (
|
|
|
3037
3044
|
if (this.offset() !== 0)
|
|
3038
3045
|
throw Error("parser can only be used once");
|
|
3039
3046
|
return this.parseMessage(0, "", !1);
|
|
3040
|
-
}, e.prototype.parseMessage = function(t, r,
|
|
3041
|
-
for (var
|
|
3047
|
+
}, e.prototype.parseMessage = function(t, r, n) {
|
|
3048
|
+
for (var i = []; !this.isEOF(); ) {
|
|
3042
3049
|
var o = this.char();
|
|
3043
3050
|
if (o === 123) {
|
|
3044
|
-
var s = this.parseArgument(t,
|
|
3051
|
+
var s = this.parseArgument(t, n);
|
|
3045
3052
|
if (s.err)
|
|
3046
3053
|
return s;
|
|
3047
|
-
|
|
3054
|
+
i.push(s.val);
|
|
3048
3055
|
} else {
|
|
3049
3056
|
if (o === 125 && t > 0)
|
|
3050
3057
|
break;
|
|
3051
3058
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3052
3059
|
var a = this.clonePosition();
|
|
3053
|
-
this.bump(),
|
|
3060
|
+
this.bump(), i.push({
|
|
3054
3061
|
type: _.pound,
|
|
3055
|
-
location:
|
|
3062
|
+
location: d(a, this.clonePosition())
|
|
3056
3063
|
});
|
|
3057
3064
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3058
|
-
if (
|
|
3065
|
+
if (n)
|
|
3059
3066
|
break;
|
|
3060
|
-
return this.error(
|
|
3061
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3067
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
|
|
3068
|
+
} else if (o === 60 && !this.ignoreTag && je(this.peek() || 0)) {
|
|
3062
3069
|
var s = this.parseTag(t, r);
|
|
3063
3070
|
if (s.err)
|
|
3064
3071
|
return s;
|
|
3065
|
-
|
|
3072
|
+
i.push(s.val);
|
|
3066
3073
|
} else {
|
|
3067
3074
|
var s = this.parseLiteral(t, r);
|
|
3068
3075
|
if (s.err)
|
|
3069
3076
|
return s;
|
|
3070
|
-
|
|
3077
|
+
i.push(s.val);
|
|
3071
3078
|
}
|
|
3072
3079
|
}
|
|
3073
3080
|
}
|
|
3074
|
-
return { val:
|
|
3081
|
+
return { val: i, err: null };
|
|
3075
3082
|
}, e.prototype.parseTag = function(t, r) {
|
|
3076
|
-
var
|
|
3083
|
+
var n = this.clonePosition();
|
|
3077
3084
|
this.bump();
|
|
3078
|
-
var
|
|
3085
|
+
var i = this.parseTagName();
|
|
3079
3086
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3080
3087
|
return {
|
|
3081
3088
|
val: {
|
|
3082
3089
|
type: _.literal,
|
|
3083
|
-
value: "<".concat(
|
|
3084
|
-
location:
|
|
3090
|
+
value: "<".concat(i, "/>"),
|
|
3091
|
+
location: d(n, this.clonePosition())
|
|
3085
3092
|
},
|
|
3086
3093
|
err: null
|
|
3087
3094
|
};
|
|
@@ -3091,54 +3098,54 @@ var Ii = (
|
|
|
3091
3098
|
return o;
|
|
3092
3099
|
var s = o.val, a = this.clonePosition();
|
|
3093
3100
|
if (this.bumpIf("</")) {
|
|
3094
|
-
if (this.isEOF() || !
|
|
3095
|
-
return this.error(
|
|
3101
|
+
if (this.isEOF() || !je(this.char()))
|
|
3102
|
+
return this.error(b.INVALID_TAG, d(a, this.clonePosition()));
|
|
3096
3103
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3097
|
-
return
|
|
3104
|
+
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, d(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3098
3105
|
val: {
|
|
3099
3106
|
type: _.tag,
|
|
3100
|
-
value:
|
|
3107
|
+
value: i,
|
|
3101
3108
|
children: s,
|
|
3102
|
-
location:
|
|
3109
|
+
location: d(n, this.clonePosition())
|
|
3103
3110
|
},
|
|
3104
3111
|
err: null
|
|
3105
|
-
} : this.error(
|
|
3112
|
+
} : this.error(b.INVALID_TAG, d(a, this.clonePosition())));
|
|
3106
3113
|
} else
|
|
3107
|
-
return this.error(
|
|
3114
|
+
return this.error(b.UNCLOSED_TAG, d(n, this.clonePosition()));
|
|
3108
3115
|
} else
|
|
3109
|
-
return this.error(
|
|
3116
|
+
return this.error(b.INVALID_TAG, d(n, this.clonePosition()));
|
|
3110
3117
|
}, e.prototype.parseTagName = function() {
|
|
3111
3118
|
var t = this.offset();
|
|
3112
|
-
for (this.bump(); !this.isEOF() &&
|
|
3119
|
+
for (this.bump(); !this.isEOF() && $n(this.char()); )
|
|
3113
3120
|
this.bump();
|
|
3114
3121
|
return this.message.slice(t, this.offset());
|
|
3115
3122
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
3116
|
-
for (var
|
|
3123
|
+
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
3117
3124
|
var o = this.tryParseQuote(r);
|
|
3118
3125
|
if (o) {
|
|
3119
|
-
|
|
3126
|
+
i += o;
|
|
3120
3127
|
continue;
|
|
3121
3128
|
}
|
|
3122
3129
|
var s = this.tryParseUnquoted(t, r);
|
|
3123
3130
|
if (s) {
|
|
3124
|
-
|
|
3131
|
+
i += s;
|
|
3125
3132
|
continue;
|
|
3126
3133
|
}
|
|
3127
3134
|
var a = this.tryParseLeftAngleBracket();
|
|
3128
3135
|
if (a) {
|
|
3129
|
-
|
|
3136
|
+
i += a;
|
|
3130
3137
|
continue;
|
|
3131
3138
|
}
|
|
3132
3139
|
break;
|
|
3133
3140
|
}
|
|
3134
|
-
var h =
|
|
3141
|
+
var h = d(n, this.clonePosition());
|
|
3135
3142
|
return {
|
|
3136
|
-
val: { type: _.literal, value:
|
|
3143
|
+
val: { type: _.literal, value: i, location: h },
|
|
3137
3144
|
err: null
|
|
3138
3145
|
};
|
|
3139
3146
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3140
3147
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3141
|
-
!
|
|
3148
|
+
!Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3142
3149
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3143
3150
|
if (this.isEOF() || this.char() !== 39)
|
|
3144
3151
|
return null;
|
|
@@ -3160,8 +3167,8 @@ var Ii = (
|
|
|
3160
3167
|
this.bump();
|
|
3161
3168
|
var r = [this.char()];
|
|
3162
3169
|
for (this.bump(); !this.isEOF(); ) {
|
|
3163
|
-
var
|
|
3164
|
-
if (
|
|
3170
|
+
var n = this.char();
|
|
3171
|
+
if (n === 39)
|
|
3165
3172
|
if (this.peek() === 39)
|
|
3166
3173
|
r.push(39), this.bump();
|
|
3167
3174
|
else {
|
|
@@ -3169,52 +3176,52 @@ var Ii = (
|
|
|
3169
3176
|
break;
|
|
3170
3177
|
}
|
|
3171
3178
|
else
|
|
3172
|
-
r.push(
|
|
3179
|
+
r.push(n);
|
|
3173
3180
|
this.bump();
|
|
3174
3181
|
}
|
|
3175
|
-
return
|
|
3182
|
+
return Ge.apply(void 0, r);
|
|
3176
3183
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3177
3184
|
if (this.isEOF())
|
|
3178
3185
|
return null;
|
|
3179
|
-
var
|
|
3180
|
-
return
|
|
3186
|
+
var n = this.char();
|
|
3187
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
|
|
3181
3188
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3182
|
-
var
|
|
3189
|
+
var n = this.clonePosition();
|
|
3183
3190
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3184
|
-
return this.error(
|
|
3191
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
|
|
3185
3192
|
if (this.char() === 125)
|
|
3186
|
-
return this.bump(), this.error(
|
|
3187
|
-
var
|
|
3188
|
-
if (!
|
|
3189
|
-
return this.error(
|
|
3193
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, d(n, this.clonePosition()));
|
|
3194
|
+
var i = this.parseIdentifierIfPossible().value;
|
|
3195
|
+
if (!i)
|
|
3196
|
+
return this.error(b.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
|
|
3190
3197
|
if (this.bumpSpace(), this.isEOF())
|
|
3191
|
-
return this.error(
|
|
3198
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
|
|
3192
3199
|
switch (this.char()) {
|
|
3193
3200
|
case 125:
|
|
3194
3201
|
return this.bump(), {
|
|
3195
3202
|
val: {
|
|
3196
3203
|
type: _.argument,
|
|
3197
3204
|
// value does not include the opening and closing braces.
|
|
3198
|
-
value:
|
|
3199
|
-
location:
|
|
3205
|
+
value: i,
|
|
3206
|
+
location: d(n, this.clonePosition())
|
|
3200
3207
|
},
|
|
3201
3208
|
err: null
|
|
3202
3209
|
};
|
|
3203
3210
|
case 44:
|
|
3204
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3211
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3205
3212
|
default:
|
|
3206
|
-
return this.error(
|
|
3213
|
+
return this.error(b.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
|
|
3207
3214
|
}
|
|
3208
3215
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3209
|
-
var t = this.clonePosition(), r = this.offset(),
|
|
3210
|
-
this.bumpTo(
|
|
3211
|
-
var o = this.clonePosition(), s =
|
|
3212
|
-
return { value:
|
|
3213
|
-
}, e.prototype.parseArgumentOptions = function(t, r,
|
|
3216
|
+
var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
|
|
3217
|
+
this.bumpTo(i);
|
|
3218
|
+
var o = this.clonePosition(), s = d(t, o);
|
|
3219
|
+
return { value: n, location: s };
|
|
3220
|
+
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3214
3221
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3215
3222
|
switch (a) {
|
|
3216
3223
|
case "":
|
|
3217
|
-
return this.error(
|
|
3224
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, d(s, h));
|
|
3218
3225
|
case "number":
|
|
3219
3226
|
case "date":
|
|
3220
3227
|
case "time": {
|
|
@@ -3225,37 +3232,37 @@ var Ii = (
|
|
|
3225
3232
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3226
3233
|
if (c.err)
|
|
3227
3234
|
return c;
|
|
3228
|
-
var f =
|
|
3235
|
+
var f = Mn(c.val);
|
|
3229
3236
|
if (f.length === 0)
|
|
3230
|
-
return this.error(
|
|
3231
|
-
var p =
|
|
3237
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
|
|
3238
|
+
var p = d(l, this.clonePosition());
|
|
3232
3239
|
u = { style: f, styleLocation: p };
|
|
3233
3240
|
}
|
|
3234
|
-
var
|
|
3235
|
-
if (
|
|
3236
|
-
return
|
|
3237
|
-
var m =
|
|
3241
|
+
var g = this.tryParseArgumentClose(i);
|
|
3242
|
+
if (g.err)
|
|
3243
|
+
return g;
|
|
3244
|
+
var m = d(i, this.clonePosition());
|
|
3238
3245
|
if (u && lt(u?.style, "::", 0)) {
|
|
3239
|
-
var x =
|
|
3246
|
+
var x = Nn(u.style.slice(2));
|
|
3240
3247
|
if (a === "number") {
|
|
3241
3248
|
var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
|
|
3242
3249
|
return c.err ? c : {
|
|
3243
|
-
val: { type: _.number, value:
|
|
3250
|
+
val: { type: _.number, value: n, location: m, style: c.val },
|
|
3244
3251
|
err: null
|
|
3245
3252
|
};
|
|
3246
3253
|
} else {
|
|
3247
3254
|
if (x.length === 0)
|
|
3248
|
-
return this.error(
|
|
3249
|
-
var
|
|
3250
|
-
this.locale && (
|
|
3255
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3256
|
+
var A = x;
|
|
3257
|
+
this.locale && (A = vn(x, this.locale));
|
|
3251
3258
|
var f = {
|
|
3252
3259
|
type: Z.dateTime,
|
|
3253
|
-
pattern:
|
|
3260
|
+
pattern: A,
|
|
3254
3261
|
location: u.styleLocation,
|
|
3255
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3256
|
-
},
|
|
3262
|
+
parsedOptions: this.shouldParseSkeletons ? fn(A) : {}
|
|
3263
|
+
}, H = a === "date" ? _.date : _.time;
|
|
3257
3264
|
return {
|
|
3258
|
-
val: { type:
|
|
3265
|
+
val: { type: H, value: n, location: m, style: f },
|
|
3259
3266
|
err: null
|
|
3260
3267
|
};
|
|
3261
3268
|
}
|
|
@@ -3263,7 +3270,7 @@ var Ii = (
|
|
|
3263
3270
|
return {
|
|
3264
3271
|
val: {
|
|
3265
3272
|
type: a === "number" ? _.number : a === "date" ? _.date : _.time,
|
|
3266
|
-
value:
|
|
3273
|
+
value: n,
|
|
3267
3274
|
location: m,
|
|
3268
3275
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3269
3276
|
},
|
|
@@ -3273,61 +3280,61 @@ var Ii = (
|
|
|
3273
3280
|
case "plural":
|
|
3274
3281
|
case "selectordinal":
|
|
3275
3282
|
case "select": {
|
|
3276
|
-
var
|
|
3283
|
+
var T = this.clonePosition();
|
|
3277
3284
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3278
|
-
return this.error(
|
|
3285
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, d(T, y({}, T)));
|
|
3279
3286
|
this.bumpSpace();
|
|
3280
|
-
var
|
|
3281
|
-
if (a !== "select" &&
|
|
3287
|
+
var v = this.parseIdentifierIfPossible(), S = 0;
|
|
3288
|
+
if (a !== "select" && v.value === "offset") {
|
|
3282
3289
|
if (!this.bumpIf(":"))
|
|
3283
|
-
return this.error(
|
|
3290
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
|
|
3284
3291
|
this.bumpSpace();
|
|
3285
|
-
var c = this.tryParseDecimalInteger(
|
|
3292
|
+
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3286
3293
|
if (c.err)
|
|
3287
3294
|
return c;
|
|
3288
|
-
this.bumpSpace(),
|
|
3295
|
+
this.bumpSpace(), v = this.parseIdentifierIfPossible(), S = c.val;
|
|
3289
3296
|
}
|
|
3290
|
-
var
|
|
3291
|
-
if (
|
|
3292
|
-
return
|
|
3293
|
-
var
|
|
3294
|
-
if (
|
|
3295
|
-
return
|
|
3296
|
-
var
|
|
3297
|
+
var N = this.tryParsePluralOrSelectOptions(t, a, r, v);
|
|
3298
|
+
if (N.err)
|
|
3299
|
+
return N;
|
|
3300
|
+
var g = this.tryParseArgumentClose(i);
|
|
3301
|
+
if (g.err)
|
|
3302
|
+
return g;
|
|
3303
|
+
var M = d(i, this.clonePosition());
|
|
3297
3304
|
return a === "select" ? {
|
|
3298
3305
|
val: {
|
|
3299
3306
|
type: _.select,
|
|
3300
|
-
value:
|
|
3301
|
-
options: ct(
|
|
3302
|
-
location:
|
|
3307
|
+
value: n,
|
|
3308
|
+
options: ct(N.val),
|
|
3309
|
+
location: M
|
|
3303
3310
|
},
|
|
3304
3311
|
err: null
|
|
3305
3312
|
} : {
|
|
3306
3313
|
val: {
|
|
3307
3314
|
type: _.plural,
|
|
3308
|
-
value:
|
|
3309
|
-
options: ct(
|
|
3310
|
-
offset:
|
|
3315
|
+
value: n,
|
|
3316
|
+
options: ct(N.val),
|
|
3317
|
+
offset: S,
|
|
3311
3318
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3312
|
-
location:
|
|
3319
|
+
location: M
|
|
3313
3320
|
},
|
|
3314
3321
|
err: null
|
|
3315
3322
|
};
|
|
3316
3323
|
}
|
|
3317
3324
|
default:
|
|
3318
|
-
return this.error(
|
|
3325
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, d(s, h));
|
|
3319
3326
|
}
|
|
3320
3327
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3321
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3328
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3322
3329
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3323
3330
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3324
|
-
var
|
|
3325
|
-
switch (
|
|
3331
|
+
var n = this.char();
|
|
3332
|
+
switch (n) {
|
|
3326
3333
|
case 39: {
|
|
3327
3334
|
this.bump();
|
|
3328
|
-
var
|
|
3335
|
+
var i = this.clonePosition();
|
|
3329
3336
|
if (!this.bumpUntil("'"))
|
|
3330
|
-
return this.error(
|
|
3337
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
|
|
3331
3338
|
this.bump();
|
|
3332
3339
|
break;
|
|
3333
3340
|
}
|
|
@@ -3355,57 +3362,57 @@ var Ii = (
|
|
|
3355
3362
|
err: null
|
|
3356
3363
|
};
|
|
3357
3364
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3358
|
-
var
|
|
3365
|
+
var n = [];
|
|
3359
3366
|
try {
|
|
3360
|
-
|
|
3367
|
+
n = mn(t);
|
|
3361
3368
|
} catch {
|
|
3362
|
-
return this.error(
|
|
3369
|
+
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3363
3370
|
}
|
|
3364
3371
|
return {
|
|
3365
3372
|
val: {
|
|
3366
3373
|
type: Z.number,
|
|
3367
|
-
tokens:
|
|
3374
|
+
tokens: n,
|
|
3368
3375
|
location: r,
|
|
3369
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3376
|
+
parsedOptions: this.shouldParseSkeletons ? yn(n) : {}
|
|
3370
3377
|
},
|
|
3371
3378
|
err: null
|
|
3372
3379
|
};
|
|
3373
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r,
|
|
3374
|
-
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u =
|
|
3380
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3381
|
+
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3375
3382
|
if (u.length === 0) {
|
|
3376
3383
|
var c = this.clonePosition();
|
|
3377
3384
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3378
|
-
var f = this.tryParseDecimalInteger(
|
|
3385
|
+
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3379
3386
|
if (f.err)
|
|
3380
3387
|
return f;
|
|
3381
|
-
l =
|
|
3388
|
+
l = d(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3382
3389
|
} else
|
|
3383
3390
|
break;
|
|
3384
3391
|
}
|
|
3385
3392
|
if (h.has(u))
|
|
3386
|
-
return this.error(r === "select" ?
|
|
3393
|
+
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3387
3394
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3388
3395
|
var p = this.clonePosition();
|
|
3389
3396
|
if (!this.bumpIf("{"))
|
|
3390
|
-
return this.error(r === "select" ?
|
|
3391
|
-
var
|
|
3392
|
-
if (
|
|
3393
|
-
return
|
|
3397
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
|
|
3398
|
+
var g = this.parseMessage(t + 1, r, n);
|
|
3399
|
+
if (g.err)
|
|
3400
|
+
return g;
|
|
3394
3401
|
var m = this.tryParseArgumentClose(p);
|
|
3395
3402
|
if (m.err)
|
|
3396
3403
|
return m;
|
|
3397
3404
|
a.push([
|
|
3398
3405
|
u,
|
|
3399
3406
|
{
|
|
3400
|
-
value:
|
|
3401
|
-
location:
|
|
3407
|
+
value: g.val,
|
|
3408
|
+
location: d(p, this.clonePosition())
|
|
3402
3409
|
}
|
|
3403
3410
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3404
3411
|
}
|
|
3405
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3412
|
+
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3406
3413
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3407
|
-
var
|
|
3408
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
3414
|
+
var n = 1, i = this.clonePosition();
|
|
3415
|
+
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3409
3416
|
for (var o = !1, s = 0; !this.isEOF(); ) {
|
|
3410
3417
|
var a = this.char();
|
|
3411
3418
|
if (a >= 48 && a <= 57)
|
|
@@ -3413,8 +3420,8 @@ var Ii = (
|
|
|
3413
3420
|
else
|
|
3414
3421
|
break;
|
|
3415
3422
|
}
|
|
3416
|
-
var h =
|
|
3417
|
-
return o ? (s *=
|
|
3423
|
+
var h = d(i, this.clonePosition());
|
|
3424
|
+
return o ? (s *= n, On(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3418
3425
|
}, e.prototype.offset = function() {
|
|
3419
3426
|
return this.position.offset;
|
|
3420
3427
|
}, e.prototype.isEOF = function() {
|
|
@@ -3455,8 +3462,8 @@ var Ii = (
|
|
|
3455
3462
|
}
|
|
3456
3463
|
return !1;
|
|
3457
3464
|
}, e.prototype.bumpUntil = function(t) {
|
|
3458
|
-
var r = this.offset(),
|
|
3459
|
-
return
|
|
3465
|
+
var r = this.offset(), n = this.message.indexOf(t, r);
|
|
3466
|
+
return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
|
|
3460
3467
|
}, e.prototype.bumpTo = function(t) {
|
|
3461
3468
|
if (this.offset() > t)
|
|
3462
3469
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
@@ -3475,54 +3482,54 @@ var Ii = (
|
|
|
3475
3482
|
}, e.prototype.peek = function() {
|
|
3476
3483
|
if (this.isEOF())
|
|
3477
3484
|
return null;
|
|
3478
|
-
var t = this.char(), r = this.offset(),
|
|
3479
|
-
return
|
|
3485
|
+
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3486
|
+
return n ?? null;
|
|
3480
3487
|
}, e;
|
|
3481
3488
|
}()
|
|
3482
3489
|
);
|
|
3483
|
-
function
|
|
3490
|
+
function je(e) {
|
|
3484
3491
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3485
3492
|
}
|
|
3486
|
-
function
|
|
3487
|
-
return
|
|
3493
|
+
function Cn(e) {
|
|
3494
|
+
return je(e) || e === 47;
|
|
3488
3495
|
}
|
|
3489
|
-
function
|
|
3496
|
+
function $n(e) {
|
|
3490
3497
|
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;
|
|
3491
3498
|
}
|
|
3492
3499
|
function zt(e) {
|
|
3493
3500
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3494
3501
|
}
|
|
3495
|
-
function
|
|
3502
|
+
function Rn(e) {
|
|
3496
3503
|
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;
|
|
3497
3504
|
}
|
|
3498
|
-
function
|
|
3505
|
+
function ke(e) {
|
|
3499
3506
|
e.forEach(function(t) {
|
|
3500
3507
|
if (delete t.location, Rt(t) || Dt(t))
|
|
3501
3508
|
for (var r in t.options)
|
|
3502
|
-
delete t.options[r].location,
|
|
3503
|
-
else
|
|
3509
|
+
delete t.options[r].location, ke(t.options[r].value);
|
|
3510
|
+
else Lt(t) && Gt(t.style) || (Ct(t) || $t(t)) && De(t.style) ? delete t.style.location : Ut(t) && ke(t.children);
|
|
3504
3511
|
});
|
|
3505
3512
|
}
|
|
3506
|
-
function
|
|
3507
|
-
t === void 0 && (t = {}), t =
|
|
3508
|
-
var r = new
|
|
3513
|
+
function Dn(e, t) {
|
|
3514
|
+
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3515
|
+
var r = new Ln(e, t).parse();
|
|
3509
3516
|
if (r.err) {
|
|
3510
|
-
var
|
|
3511
|
-
throw
|
|
3517
|
+
var n = SyntaxError(b[r.err.kind]);
|
|
3518
|
+
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3512
3519
|
}
|
|
3513
|
-
return t?.captureLocation ||
|
|
3520
|
+
return t?.captureLocation || ke(r.val), r.val;
|
|
3514
3521
|
}
|
|
3515
3522
|
var Y;
|
|
3516
3523
|
(function(e) {
|
|
3517
3524
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3518
3525
|
})(Y || (Y = {}));
|
|
3519
|
-
var
|
|
3526
|
+
var Ee = (
|
|
3520
3527
|
/** @class */
|
|
3521
3528
|
function(e) {
|
|
3522
|
-
|
|
3523
|
-
function t(r,
|
|
3529
|
+
C(t, e);
|
|
3530
|
+
function t(r, n, i) {
|
|
3524
3531
|
var o = e.call(this, r) || this;
|
|
3525
|
-
return o.code =
|
|
3532
|
+
return o.code = n, o.originalMessage = i, o;
|
|
3526
3533
|
}
|
|
3527
3534
|
return t.prototype.toString = function() {
|
|
3528
3535
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
@@ -3531,44 +3538,44 @@ var ve = (
|
|
|
3531
3538
|
), pt = (
|
|
3532
3539
|
/** @class */
|
|
3533
3540
|
function(e) {
|
|
3534
|
-
|
|
3535
|
-
function t(r,
|
|
3536
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(
|
|
3541
|
+
C(t, e);
|
|
3542
|
+
function t(r, n, i, o) {
|
|
3543
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
|
|
3537
3544
|
}
|
|
3538
3545
|
return t;
|
|
3539
|
-
}(
|
|
3540
|
-
),
|
|
3546
|
+
}(Ee)
|
|
3547
|
+
), Un = (
|
|
3541
3548
|
/** @class */
|
|
3542
3549
|
function(e) {
|
|
3543
|
-
|
|
3544
|
-
function t(r,
|
|
3545
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(
|
|
3550
|
+
C(t, e);
|
|
3551
|
+
function t(r, n, i) {
|
|
3552
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
|
|
3546
3553
|
}
|
|
3547
3554
|
return t;
|
|
3548
|
-
}(
|
|
3549
|
-
),
|
|
3555
|
+
}(Ee)
|
|
3556
|
+
), Gn = (
|
|
3550
3557
|
/** @class */
|
|
3551
3558
|
function(e) {
|
|
3552
|
-
|
|
3553
|
-
function t(r,
|
|
3554
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(
|
|
3559
|
+
C(t, e);
|
|
3560
|
+
function t(r, n) {
|
|
3561
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
|
|
3555
3562
|
}
|
|
3556
3563
|
return t;
|
|
3557
|
-
}(
|
|
3564
|
+
}(Ee)
|
|
3558
3565
|
), w;
|
|
3559
3566
|
(function(e) {
|
|
3560
3567
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3561
3568
|
})(w || (w = {}));
|
|
3562
|
-
function
|
|
3569
|
+
function Fn(e) {
|
|
3563
3570
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3564
|
-
var
|
|
3565
|
-
return !
|
|
3571
|
+
var n = t[t.length - 1];
|
|
3572
|
+
return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
|
|
3566
3573
|
}, []);
|
|
3567
3574
|
}
|
|
3568
|
-
function
|
|
3575
|
+
function jn(e) {
|
|
3569
3576
|
return typeof e == "function";
|
|
3570
3577
|
}
|
|
3571
|
-
function
|
|
3578
|
+
function pe(e, t, r, n, i, o, s) {
|
|
3572
3579
|
if (e.length === 1 && st(e[0]))
|
|
3573
3580
|
return [
|
|
3574
3581
|
{
|
|
@@ -3585,7 +3592,7 @@ function fe(e, t, r, i, n, o, s) {
|
|
|
3585
3592
|
});
|
|
3586
3593
|
continue;
|
|
3587
3594
|
}
|
|
3588
|
-
if (
|
|
3595
|
+
if (ln(l)) {
|
|
3589
3596
|
typeof o == "number" && a.push({
|
|
3590
3597
|
type: w.literal,
|
|
3591
3598
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3593,18 +3600,18 @@ function fe(e, t, r, i, n, o, s) {
|
|
|
3593
3600
|
continue;
|
|
3594
3601
|
}
|
|
3595
3602
|
var c = l.value;
|
|
3596
|
-
if (!(
|
|
3597
|
-
throw new
|
|
3598
|
-
var f =
|
|
3599
|
-
if (
|
|
3603
|
+
if (!(i && c in i))
|
|
3604
|
+
throw new Gn(c, s);
|
|
3605
|
+
var f = i[c];
|
|
3606
|
+
if (hn(l)) {
|
|
3600
3607
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3601
3608
|
type: typeof f == "string" ? w.literal : w.object,
|
|
3602
3609
|
value: f
|
|
3603
3610
|
});
|
|
3604
3611
|
continue;
|
|
3605
3612
|
}
|
|
3606
|
-
if (
|
|
3607
|
-
var p = typeof l.style == "string" ?
|
|
3613
|
+
if (Ct(l)) {
|
|
3614
|
+
var p = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
|
|
3608
3615
|
a.push({
|
|
3609
3616
|
type: w.literal,
|
|
3610
3617
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
@@ -3612,15 +3619,15 @@ function fe(e, t, r, i, n, o, s) {
|
|
|
3612
3619
|
continue;
|
|
3613
3620
|
}
|
|
3614
3621
|
if ($t(l)) {
|
|
3615
|
-
var p = typeof l.style == "string" ?
|
|
3622
|
+
var p = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3616
3623
|
a.push({
|
|
3617
3624
|
type: w.literal,
|
|
3618
3625
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3619
3626
|
});
|
|
3620
3627
|
continue;
|
|
3621
3628
|
}
|
|
3622
|
-
if (
|
|
3623
|
-
var p = typeof l.style == "string" ?
|
|
3629
|
+
if (Lt(l)) {
|
|
3630
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Gt(l.style) ? l.style.parsedOptions : void 0;
|
|
3624
3631
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3625
3632
|
type: w.literal,
|
|
3626
3633
|
value: r.getNumberFormat(t, p).format(f)
|
|
@@ -3628,55 +3635,55 @@ function fe(e, t, r, i, n, o, s) {
|
|
|
3628
3635
|
continue;
|
|
3629
3636
|
}
|
|
3630
3637
|
if (Ut(l)) {
|
|
3631
|
-
var
|
|
3632
|
-
if (!
|
|
3633
|
-
throw new
|
|
3634
|
-
var
|
|
3635
|
-
return
|
|
3638
|
+
var g = l.children, m = l.value, x = i[m];
|
|
3639
|
+
if (!jn(x))
|
|
3640
|
+
throw new Un(m, "function", s);
|
|
3641
|
+
var A = pe(g, t, r, n, i, o), H = x(A.map(function(S) {
|
|
3642
|
+
return S.value;
|
|
3636
3643
|
}));
|
|
3637
|
-
Array.isArray(
|
|
3644
|
+
Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(S) {
|
|
3638
3645
|
return {
|
|
3639
|
-
type: typeof
|
|
3640
|
-
value:
|
|
3646
|
+
type: typeof S == "string" ? w.literal : w.object,
|
|
3647
|
+
value: S
|
|
3641
3648
|
};
|
|
3642
3649
|
}));
|
|
3643
3650
|
}
|
|
3644
3651
|
if (Rt(l)) {
|
|
3645
|
-
var
|
|
3646
|
-
if (!
|
|
3652
|
+
var T = l.options[f] || l.options.other;
|
|
3653
|
+
if (!T)
|
|
3647
3654
|
throw new pt(l.value, f, Object.keys(l.options), s);
|
|
3648
|
-
a.push.apply(a,
|
|
3655
|
+
a.push.apply(a, pe(T.value, t, r, n, i));
|
|
3649
3656
|
continue;
|
|
3650
3657
|
}
|
|
3651
3658
|
if (Dt(l)) {
|
|
3652
|
-
var
|
|
3653
|
-
if (!
|
|
3659
|
+
var T = l.options["=".concat(f)];
|
|
3660
|
+
if (!T) {
|
|
3654
3661
|
if (!Intl.PluralRules)
|
|
3655
|
-
throw new
|
|
3662
|
+
throw new Ee(`Intl.PluralRules is not available in this environment.
|
|
3656
3663
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3657
3664
|
`, Y.MISSING_INTL_API, s);
|
|
3658
|
-
var
|
|
3659
|
-
|
|
3665
|
+
var v = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3666
|
+
T = l.options[v] || l.options.other;
|
|
3660
3667
|
}
|
|
3661
|
-
if (!
|
|
3668
|
+
if (!T)
|
|
3662
3669
|
throw new pt(l.value, f, Object.keys(l.options), s);
|
|
3663
|
-
a.push.apply(a,
|
|
3670
|
+
a.push.apply(a, pe(T.value, t, r, n, i, f - (l.offset || 0)));
|
|
3664
3671
|
continue;
|
|
3665
3672
|
}
|
|
3666
3673
|
}
|
|
3667
|
-
return
|
|
3674
|
+
return Fn(a);
|
|
3668
3675
|
}
|
|
3669
|
-
function
|
|
3670
|
-
return t ?
|
|
3671
|
-
return r[
|
|
3676
|
+
function kn(e, t) {
|
|
3677
|
+
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3678
|
+
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3672
3679
|
}, {})) : e;
|
|
3673
3680
|
}
|
|
3674
|
-
function
|
|
3675
|
-
return t ? Object.keys(e).reduce(function(r,
|
|
3676
|
-
return r[
|
|
3677
|
-
},
|
|
3681
|
+
function Vn(e, t) {
|
|
3682
|
+
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3683
|
+
return r[n] = kn(e[n], t[n]), r;
|
|
3684
|
+
}, y({}, e)) : e;
|
|
3678
3685
|
}
|
|
3679
|
-
function
|
|
3686
|
+
function Ae(e) {
|
|
3680
3687
|
return {
|
|
3681
3688
|
create: function() {
|
|
3682
3689
|
return {
|
|
@@ -3690,42 +3697,42 @@ function we(e) {
|
|
|
3690
3697
|
}
|
|
3691
3698
|
};
|
|
3692
3699
|
}
|
|
3693
|
-
function
|
|
3700
|
+
function Xn(e) {
|
|
3694
3701
|
return e === void 0 && (e = {
|
|
3695
3702
|
number: {},
|
|
3696
3703
|
dateTime: {},
|
|
3697
3704
|
pluralRules: {}
|
|
3698
3705
|
}), {
|
|
3699
|
-
getNumberFormat:
|
|
3700
|
-
for (var t, r = [],
|
|
3701
|
-
r[
|
|
3706
|
+
getNumberFormat: Te(function() {
|
|
3707
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3708
|
+
r[n] = arguments[n];
|
|
3702
3709
|
return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
3703
3710
|
}, {
|
|
3704
|
-
cache:
|
|
3705
|
-
strategy:
|
|
3711
|
+
cache: Ae(e.number),
|
|
3712
|
+
strategy: we.variadic
|
|
3706
3713
|
}),
|
|
3707
|
-
getDateTimeFormat:
|
|
3708
|
-
for (var t, r = [],
|
|
3709
|
-
r[
|
|
3714
|
+
getDateTimeFormat: Te(function() {
|
|
3715
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3716
|
+
r[n] = arguments[n];
|
|
3710
3717
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
3711
3718
|
}, {
|
|
3712
|
-
cache:
|
|
3713
|
-
strategy:
|
|
3719
|
+
cache: Ae(e.dateTime),
|
|
3720
|
+
strategy: we.variadic
|
|
3714
3721
|
}),
|
|
3715
|
-
getPluralRules:
|
|
3716
|
-
for (var t, r = [],
|
|
3717
|
-
r[
|
|
3722
|
+
getPluralRules: Te(function() {
|
|
3723
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3724
|
+
r[n] = arguments[n];
|
|
3718
3725
|
return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
|
|
3719
3726
|
}, {
|
|
3720
|
-
cache:
|
|
3721
|
-
strategy:
|
|
3727
|
+
cache: Ae(e.pluralRules),
|
|
3728
|
+
strategy: we.variadic
|
|
3722
3729
|
})
|
|
3723
3730
|
};
|
|
3724
3731
|
}
|
|
3725
|
-
var
|
|
3732
|
+
var Wn = (
|
|
3726
3733
|
/** @class */
|
|
3727
3734
|
function() {
|
|
3728
|
-
function e(t, r,
|
|
3735
|
+
function e(t, r, n, i) {
|
|
3729
3736
|
r === void 0 && (r = e.defaultLocale);
|
|
3730
3737
|
var o = this;
|
|
3731
3738
|
if (this.formatterCache = {
|
|
@@ -3741,7 +3748,7 @@ var ki = (
|
|
|
3741
3748
|
}, []);
|
|
3742
3749
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3743
3750
|
}, this.formatToParts = function(h) {
|
|
3744
|
-
return
|
|
3751
|
+
return pe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3745
3752
|
}, this.resolvedOptions = function() {
|
|
3746
3753
|
var h;
|
|
3747
3754
|
return {
|
|
@@ -3752,15 +3759,15 @@ var ki = (
|
|
|
3752
3759
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3753
3760
|
if (this.message = t, !e.__parse)
|
|
3754
3761
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3755
|
-
var s =
|
|
3762
|
+
var s = i || {};
|
|
3756
3763
|
s.formatters;
|
|
3757
|
-
var a =
|
|
3758
|
-
this.ast = e.__parse(t,
|
|
3764
|
+
var a = Br(s, ["formatters"]);
|
|
3765
|
+
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3759
3766
|
} else
|
|
3760
3767
|
this.ast = t;
|
|
3761
3768
|
if (!Array.isArray(this.ast))
|
|
3762
3769
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3763
|
-
this.formats =
|
|
3770
|
+
this.formats = Vn(e.formats, n), this.formatters = i && i.formatters || Xn(this.formatterCache);
|
|
3764
3771
|
}
|
|
3765
3772
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3766
3773
|
get: function() {
|
|
@@ -3773,7 +3780,7 @@ var ki = (
|
|
|
3773
3780
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3774
3781
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3775
3782
|
}
|
|
3776
|
-
}, e.__parse =
|
|
3783
|
+
}, e.__parse = Dn, e.formats = {
|
|
3777
3784
|
number: {
|
|
3778
3785
|
integer: {
|
|
3779
3786
|
maximumFractionDigits: 0
|
|
@@ -3834,113 +3841,113 @@ var ki = (
|
|
|
3834
3841
|
}, e;
|
|
3835
3842
|
}()
|
|
3836
3843
|
);
|
|
3837
|
-
function
|
|
3844
|
+
function zn(e, t) {
|
|
3838
3845
|
if (t == null)
|
|
3839
3846
|
return;
|
|
3840
3847
|
if (t in e)
|
|
3841
3848
|
return e[t];
|
|
3842
3849
|
const r = t.split(".");
|
|
3843
|
-
let
|
|
3844
|
-
for (let
|
|
3845
|
-
if (typeof
|
|
3846
|
-
if (
|
|
3847
|
-
const o = r.slice(
|
|
3848
|
-
if (o in
|
|
3849
|
-
|
|
3850
|
+
let n = e;
|
|
3851
|
+
for (let i = 0; i < r.length; i++)
|
|
3852
|
+
if (typeof n == "object") {
|
|
3853
|
+
if (i > 0) {
|
|
3854
|
+
const o = r.slice(i, r.length).join(".");
|
|
3855
|
+
if (o in n) {
|
|
3856
|
+
n = n[o];
|
|
3850
3857
|
break;
|
|
3851
3858
|
}
|
|
3852
3859
|
}
|
|
3853
|
-
|
|
3860
|
+
n = n[r[i]];
|
|
3854
3861
|
} else
|
|
3855
|
-
|
|
3856
|
-
return
|
|
3862
|
+
n = void 0;
|
|
3863
|
+
return n;
|
|
3857
3864
|
}
|
|
3858
|
-
const
|
|
3865
|
+
const R = {}, Zn = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), Zt = (e, t) => {
|
|
3859
3866
|
if (t == null)
|
|
3860
3867
|
return;
|
|
3861
|
-
if (t in
|
|
3862
|
-
return
|
|
3863
|
-
const r =
|
|
3864
|
-
for (let
|
|
3865
|
-
const
|
|
3868
|
+
if (t in R && e in R[t])
|
|
3869
|
+
return R[t][e];
|
|
3870
|
+
const r = _e(t);
|
|
3871
|
+
for (let n = 0; n < r.length; n++) {
|
|
3872
|
+
const i = r[n], o = Qn(i, e);
|
|
3866
3873
|
if (o)
|
|
3867
|
-
return
|
|
3874
|
+
return Zn(e, t, o);
|
|
3868
3875
|
}
|
|
3869
3876
|
};
|
|
3870
3877
|
let Ze;
|
|
3871
|
-
const
|
|
3872
|
-
function
|
|
3878
|
+
const ue = ve({});
|
|
3879
|
+
function Yn(e) {
|
|
3873
3880
|
return Ze[e] || null;
|
|
3874
3881
|
}
|
|
3875
3882
|
function Yt(e) {
|
|
3876
3883
|
return e in Ze;
|
|
3877
3884
|
}
|
|
3878
|
-
function
|
|
3885
|
+
function Qn(e, t) {
|
|
3879
3886
|
if (!Yt(e))
|
|
3880
3887
|
return null;
|
|
3881
|
-
const r =
|
|
3882
|
-
return
|
|
3888
|
+
const r = Yn(e);
|
|
3889
|
+
return zn(r, t);
|
|
3883
3890
|
}
|
|
3884
|
-
function
|
|
3891
|
+
function Jn(e) {
|
|
3885
3892
|
if (e == null)
|
|
3886
3893
|
return;
|
|
3887
|
-
const t =
|
|
3894
|
+
const t = _e(e);
|
|
3888
3895
|
for (let r = 0; r < t.length; r++) {
|
|
3889
|
-
const
|
|
3890
|
-
if (Yt(
|
|
3891
|
-
return
|
|
3896
|
+
const n = t[r];
|
|
3897
|
+
if (Yt(n))
|
|
3898
|
+
return n;
|
|
3892
3899
|
}
|
|
3893
3900
|
}
|
|
3894
3901
|
function Qt(e, ...t) {
|
|
3895
|
-
delete
|
|
3902
|
+
delete R[e], ue.update((r) => (r[e] = en.all([r[e] || {}, ...t]), r));
|
|
3896
3903
|
}
|
|
3897
3904
|
J(
|
|
3898
|
-
[
|
|
3905
|
+
[ue],
|
|
3899
3906
|
([e]) => Object.keys(e)
|
|
3900
3907
|
);
|
|
3901
|
-
|
|
3902
|
-
const
|
|
3903
|
-
function
|
|
3904
|
-
|
|
3908
|
+
ue.subscribe((e) => Ze = e);
|
|
3909
|
+
const me = {};
|
|
3910
|
+
function qn(e, t) {
|
|
3911
|
+
me[e].delete(t), me[e].size === 0 && delete me[e];
|
|
3905
3912
|
}
|
|
3906
3913
|
function Jt(e) {
|
|
3907
|
-
return
|
|
3914
|
+
return me[e];
|
|
3908
3915
|
}
|
|
3909
|
-
function
|
|
3910
|
-
return
|
|
3916
|
+
function Kn(e) {
|
|
3917
|
+
return _e(e).map((t) => {
|
|
3911
3918
|
const r = Jt(t);
|
|
3912
3919
|
return [t, r ? [...r] : []];
|
|
3913
3920
|
}).filter(([, t]) => t.length > 0);
|
|
3914
3921
|
}
|
|
3915
|
-
function
|
|
3916
|
-
return e == null ? !1 :
|
|
3922
|
+
function Ve(e) {
|
|
3923
|
+
return e == null ? !1 : _e(e).some(
|
|
3917
3924
|
(t) => {
|
|
3918
3925
|
var r;
|
|
3919
3926
|
return (r = Jt(t)) == null ? void 0 : r.size;
|
|
3920
3927
|
}
|
|
3921
3928
|
);
|
|
3922
3929
|
}
|
|
3923
|
-
function
|
|
3930
|
+
function ei(e, t) {
|
|
3924
3931
|
return Promise.all(
|
|
3925
|
-
t.map((
|
|
3926
|
-
).then((
|
|
3932
|
+
t.map((n) => (qn(e, n), n().then((i) => i.default || i)))
|
|
3933
|
+
).then((n) => Qt(e, ...n));
|
|
3927
3934
|
}
|
|
3928
3935
|
const ee = {};
|
|
3929
3936
|
function qt(e) {
|
|
3930
|
-
if (!
|
|
3937
|
+
if (!Ve(e))
|
|
3931
3938
|
return e in ee ? ee[e] : Promise.resolve();
|
|
3932
|
-
const t =
|
|
3939
|
+
const t = Kn(e);
|
|
3933
3940
|
return ee[e] = Promise.all(
|
|
3934
3941
|
t.map(
|
|
3935
|
-
([r,
|
|
3942
|
+
([r, n]) => ei(r, n)
|
|
3936
3943
|
)
|
|
3937
3944
|
).then(() => {
|
|
3938
|
-
if (
|
|
3945
|
+
if (Ve(e))
|
|
3939
3946
|
return qt(e);
|
|
3940
3947
|
delete ee[e];
|
|
3941
3948
|
}), ee[e];
|
|
3942
3949
|
}
|
|
3943
|
-
const
|
|
3950
|
+
const ti = {
|
|
3944
3951
|
number: {
|
|
3945
3952
|
scientific: { notation: "scientific" },
|
|
3946
3953
|
engineering: { notation: "engineering" },
|
|
@@ -3969,136 +3976,136 @@ const qi = {
|
|
|
3969
3976
|
timeZoneName: "short"
|
|
3970
3977
|
}
|
|
3971
3978
|
}
|
|
3972
|
-
},
|
|
3979
|
+
}, ri = {
|
|
3973
3980
|
fallbackLocale: null,
|
|
3974
3981
|
loadingDelay: 200,
|
|
3975
|
-
formats:
|
|
3982
|
+
formats: ti,
|
|
3976
3983
|
warnOnMissingMessages: !0,
|
|
3977
3984
|
handleMissingMessage: void 0,
|
|
3978
3985
|
ignoreTag: !0
|
|
3979
|
-
},
|
|
3986
|
+
}, ni = ri;
|
|
3980
3987
|
function Q() {
|
|
3981
|
-
return
|
|
3988
|
+
return ni;
|
|
3982
3989
|
}
|
|
3983
|
-
const
|
|
3984
|
-
var
|
|
3990
|
+
const Pe = ve(!1);
|
|
3991
|
+
var ii = Object.defineProperty, oi = Object.defineProperties, si = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, ai = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
|
|
3985
3992
|
for (var r in t || (t = {}))
|
|
3986
|
-
|
|
3993
|
+
ai.call(t, r) && bt(e, r, t[r]);
|
|
3987
3994
|
if (mt)
|
|
3988
3995
|
for (var r of mt(t))
|
|
3989
|
-
|
|
3996
|
+
ui.call(t, r) && bt(e, r, t[r]);
|
|
3990
3997
|
return e;
|
|
3991
|
-
},
|
|
3992
|
-
let
|
|
3993
|
-
const
|
|
3998
|
+
}, li = (e, t) => oi(e, si(t));
|
|
3999
|
+
let Xe;
|
|
4000
|
+
const be = ve(null);
|
|
3994
4001
|
function dt(e) {
|
|
3995
|
-
return e.split("-").map((t, r,
|
|
4002
|
+
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3996
4003
|
}
|
|
3997
|
-
function
|
|
4004
|
+
function _e(e, t = Q().fallbackLocale) {
|
|
3998
4005
|
const r = dt(e);
|
|
3999
4006
|
return t ? [.../* @__PURE__ */ new Set([...r, ...dt(t)])] : r;
|
|
4000
4007
|
}
|
|
4001
4008
|
function G() {
|
|
4002
|
-
return
|
|
4009
|
+
return Xe ?? void 0;
|
|
4003
4010
|
}
|
|
4004
|
-
|
|
4005
|
-
|
|
4011
|
+
be.subscribe((e) => {
|
|
4012
|
+
Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4006
4013
|
});
|
|
4007
|
-
const
|
|
4008
|
-
if (e &&
|
|
4014
|
+
const ci = (e) => {
|
|
4015
|
+
if (e && Jn(e) && Ve(e)) {
|
|
4009
4016
|
const { loadingDelay: t } = Q();
|
|
4010
4017
|
let r;
|
|
4011
4018
|
return typeof window < "u" && G() != null && t ? r = window.setTimeout(
|
|
4012
|
-
() =>
|
|
4019
|
+
() => Pe.set(!0),
|
|
4013
4020
|
t
|
|
4014
|
-
) :
|
|
4015
|
-
|
|
4021
|
+
) : Pe.set(!0), qt(e).then(() => {
|
|
4022
|
+
be.set(e);
|
|
4016
4023
|
}).finally(() => {
|
|
4017
|
-
clearTimeout(r),
|
|
4024
|
+
clearTimeout(r), Pe.set(!1);
|
|
4018
4025
|
});
|
|
4019
4026
|
}
|
|
4020
|
-
return
|
|
4021
|
-
}, q =
|
|
4022
|
-
set:
|
|
4023
|
-
}),
|
|
4027
|
+
return be.set(e);
|
|
4028
|
+
}, q = li(hi({}, be), {
|
|
4029
|
+
set: ci
|
|
4030
|
+
}), xe = (e) => {
|
|
4024
4031
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4025
|
-
return (
|
|
4026
|
-
const
|
|
4027
|
-
return
|
|
4032
|
+
return (n) => {
|
|
4033
|
+
const i = JSON.stringify(n);
|
|
4034
|
+
return i in t ? t[i] : t[i] = e(n);
|
|
4028
4035
|
};
|
|
4029
4036
|
};
|
|
4030
|
-
var
|
|
4037
|
+
var fi = Object.defineProperty, de = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
|
|
4031
4038
|
for (var r in t || (t = {}))
|
|
4032
4039
|
Kt.call(t, r) && gt(e, r, t[r]);
|
|
4033
|
-
if (
|
|
4034
|
-
for (var r of
|
|
4040
|
+
if (de)
|
|
4041
|
+
for (var r of de(t))
|
|
4035
4042
|
er.call(t, r) && gt(e, r, t[r]);
|
|
4036
4043
|
return e;
|
|
4037
4044
|
}, K = (e, t) => {
|
|
4038
4045
|
var r = {};
|
|
4039
|
-
for (var
|
|
4040
|
-
Kt.call(e,
|
|
4041
|
-
if (e != null &&
|
|
4042
|
-
for (var
|
|
4043
|
-
t.indexOf(
|
|
4046
|
+
for (var n in e)
|
|
4047
|
+
Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4048
|
+
if (e != null && de)
|
|
4049
|
+
for (var n of de(e))
|
|
4050
|
+
t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
|
|
4044
4051
|
return r;
|
|
4045
4052
|
};
|
|
4046
|
-
const
|
|
4053
|
+
const se = (e, t) => {
|
|
4047
4054
|
const { formats: r } = Q();
|
|
4048
4055
|
if (e in r && t in r[e])
|
|
4049
4056
|
return r[e][t];
|
|
4050
4057
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4051
|
-
},
|
|
4058
|
+
}, pi = xe(
|
|
4052
4059
|
(e) => {
|
|
4053
|
-
var t = e, { locale: r, format:
|
|
4060
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4054
4061
|
if (r == null)
|
|
4055
4062
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4056
|
-
return
|
|
4063
|
+
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4057
4064
|
}
|
|
4058
|
-
),
|
|
4065
|
+
), mi = xe(
|
|
4059
4066
|
(e) => {
|
|
4060
|
-
var t = e, { locale: r, format:
|
|
4067
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4061
4068
|
if (r == null)
|
|
4062
4069
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4063
|
-
return
|
|
4070
|
+
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4064
4071
|
}
|
|
4065
|
-
),
|
|
4072
|
+
), bi = xe(
|
|
4066
4073
|
(e) => {
|
|
4067
|
-
var t = e, { locale: r, format:
|
|
4074
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4068
4075
|
if (r == null)
|
|
4069
4076
|
throw new Error(
|
|
4070
4077
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4071
4078
|
);
|
|
4072
|
-
return
|
|
4079
|
+
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4073
4080
|
}
|
|
4074
|
-
),
|
|
4081
|
+
), di = (e = {}) => {
|
|
4075
4082
|
var t = e, {
|
|
4076
4083
|
locale: r = G()
|
|
4077
|
-
} = t,
|
|
4084
|
+
} = t, n = K(t, [
|
|
4078
4085
|
"locale"
|
|
4079
4086
|
]);
|
|
4080
|
-
return
|
|
4081
|
-
},
|
|
4087
|
+
return pi(Ye({ locale: r }, n));
|
|
4088
|
+
}, gi = (e = {}) => {
|
|
4082
4089
|
var t = e, {
|
|
4083
4090
|
locale: r = G()
|
|
4084
|
-
} = t,
|
|
4091
|
+
} = t, n = K(t, [
|
|
4085
4092
|
"locale"
|
|
4086
4093
|
]);
|
|
4087
|
-
return
|
|
4088
|
-
},
|
|
4094
|
+
return mi(Ye({ locale: r }, n));
|
|
4095
|
+
}, yi = (e = {}) => {
|
|
4089
4096
|
var t = e, {
|
|
4090
4097
|
locale: r = G()
|
|
4091
|
-
} = t,
|
|
4098
|
+
} = t, n = K(t, [
|
|
4092
4099
|
"locale"
|
|
4093
4100
|
]);
|
|
4094
|
-
return
|
|
4095
|
-
},
|
|
4101
|
+
return bi(Ye({ locale: r }, n));
|
|
4102
|
+
}, vi = xe(
|
|
4096
4103
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4097
|
-
(e, t = G()) => new
|
|
4104
|
+
(e, t = G()) => new Wn(e, t, Q().formats, {
|
|
4098
4105
|
ignoreTag: Q().ignoreTag
|
|
4099
4106
|
})
|
|
4100
|
-
),
|
|
4101
|
-
var r,
|
|
4107
|
+
), Ei = (e, t = {}) => {
|
|
4108
|
+
var r, n, i, o;
|
|
4102
4109
|
let s = t;
|
|
4103
4110
|
typeof e == "object" && (s = e, e = s.id);
|
|
4104
4111
|
const {
|
|
@@ -4112,7 +4119,7 @@ const oe = (e, t) => {
|
|
|
4112
4119
|
);
|
|
4113
4120
|
let l = Zt(e, h);
|
|
4114
4121
|
if (!l)
|
|
4115
|
-
l = (o = (
|
|
4122
|
+
l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4116
4123
|
else if (typeof l != "string")
|
|
4117
4124
|
return console.warn(
|
|
4118
4125
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4121,7 +4128,7 @@ const oe = (e, t) => {
|
|
|
4121
4128
|
return l;
|
|
4122
4129
|
let c = l;
|
|
4123
4130
|
try {
|
|
4124
|
-
c =
|
|
4131
|
+
c = vi(l, h).format(a);
|
|
4125
4132
|
} catch (f) {
|
|
4126
4133
|
f instanceof Error && console.warn(
|
|
4127
4134
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4129,17 +4136,17 @@ const oe = (e, t) => {
|
|
|
4129
4136
|
);
|
|
4130
4137
|
}
|
|
4131
4138
|
return c;
|
|
4132
|
-
},
|
|
4133
|
-
J([q], () =>
|
|
4134
|
-
J([q], () =>
|
|
4135
|
-
J([q], () =>
|
|
4136
|
-
J([q,
|
|
4137
|
-
window.emWidgets = { topic:
|
|
4138
|
-
const
|
|
4139
|
+
}, _i = (e, t) => yi(t).format(e), xi = (e, t) => gi(t).format(e), Bi = (e, t) => di(t).format(e), Si = (e, t = G()) => Zt(e, t), Ti = J([q, ue], () => Ei);
|
|
4140
|
+
J([q], () => _i);
|
|
4141
|
+
J([q], () => xi);
|
|
4142
|
+
J([q], () => Bi);
|
|
4143
|
+
J([q, ue], () => Si);
|
|
4144
|
+
window.emWidgets = { topic: Rr };
|
|
4145
|
+
const wi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4139
4146
|
function yt(e, t) {
|
|
4140
4147
|
Qt(e, t);
|
|
4141
4148
|
}
|
|
4142
|
-
function
|
|
4149
|
+
function Hi(e) {
|
|
4143
4150
|
q.set(e);
|
|
4144
4151
|
}
|
|
4145
4152
|
const vt = {
|
|
@@ -4221,24 +4228,47 @@ const vt = {
|
|
|
4221
4228
|
btnDisableBiometrics: "Disable biometrics"
|
|
4222
4229
|
}
|
|
4223
4230
|
};
|
|
4224
|
-
function
|
|
4225
|
-
|
|
4231
|
+
function Ai(e, t) {
|
|
4232
|
+
if (e) {
|
|
4233
|
+
const r = document.createElement("style");
|
|
4234
|
+
r.innerHTML = t, e.appendChild(r);
|
|
4235
|
+
}
|
|
4236
|
+
}
|
|
4237
|
+
function Pi(e, t) {
|
|
4238
|
+
const r = new URL(t);
|
|
4239
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4240
|
+
const i = document.createElement("style");
|
|
4241
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4242
|
+
}).catch((n) => {
|
|
4243
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4244
|
+
});
|
|
4226
4245
|
}
|
|
4227
|
-
function
|
|
4228
|
-
|
|
4246
|
+
function Oi(e, t, r) {
|
|
4247
|
+
if (window.emMessageBus) {
|
|
4248
|
+
const n = document.createElement("style");
|
|
4249
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
4250
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4251
|
+
});
|
|
4252
|
+
}
|
|
4253
|
+
}
|
|
4254
|
+
function Ii(e) {
|
|
4255
|
+
nr(e, "svelte-1cpvxby", ".BiometricsWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.BiometricsWrapper.BiometricsWrapperMobile{padding:20px 15px;max-width:unset}.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))}.BiometricsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.BiometricsTitleMobile{font-size:16px}.BiometricsTitleNone{display:none}.BiometricsDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.BiometricsDescription.BiometricsDescriptionMobile{font-size:12px;line-height:18px}.BiometricsActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.BiometricsActionButtons .BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsActionButtons.BiometricsActionButtonsMobile{width:100%;grid-template-columns:1fr}.BiometricsActionButtons.BiometricsActionButtonsMobile .BiometricsToggle{height:40px;font-size:12px}");
|
|
4256
|
+
}
|
|
4257
|
+
function Ni(e) {
|
|
4258
|
+
let t, r, n, i, o, s, a, h, u, l, c = (
|
|
4229
4259
|
/*$_*/
|
|
4230
4260
|
e[2]("titleBiometrics") + ""
|
|
4231
|
-
), f, p,
|
|
4261
|
+
), f, p, g;
|
|
4232
4262
|
return {
|
|
4233
4263
|
c() {
|
|
4234
|
-
t =
|
|
4264
|
+
t = O("div"), r = F("svg"), n = F("defs"), i = F("style"), o = U(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), s = F("g"), a = F("g"), h = F("path"), u = te(), l = O("h2"), f = U(c), B(h, "class", "aaa"), B(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), B(h, "transform", "translate(15 15) rotate(180)"), B(a, "transform", "translate(20 158)"), B(s, "transform", "translate(-20 -158)"), B(r, "xmlns", "http://www.w3.org/2000/svg"), B(r, "width", "15"), B(r, "height", "15"), B(r, "viewBox", "0 0 15 15"), B(l, "class", "BiometricsTitleMobile"), B(l, "part", "BiometricsTitleMobile"), B(t, "class", "MenuReturnButton"), B(t, "part", "MenuReturnButton");
|
|
4235
4265
|
},
|
|
4236
4266
|
m(m, x) {
|
|
4237
|
-
|
|
4267
|
+
ze(m, t, x), E(t, r), E(r, n), E(n, i), E(i, o), E(r, s), E(s, a), E(a, h), E(t, u), E(t, l), E(l, f), p || (g = Bt(
|
|
4238
4268
|
t,
|
|
4239
4269
|
"click",
|
|
4240
4270
|
/*click_handler*/
|
|
4241
|
-
e[
|
|
4271
|
+
e[11]
|
|
4242
4272
|
), p = !0);
|
|
4243
4273
|
},
|
|
4244
4274
|
p(m, x) {
|
|
@@ -4247,21 +4277,21 @@ function wn(e) {
|
|
|
4247
4277
|
m[2]("titleBiometrics") + "") && re(f, c);
|
|
4248
4278
|
},
|
|
4249
4279
|
d(m) {
|
|
4250
|
-
m &&
|
|
4280
|
+
m && ge(t), p = !1, g();
|
|
4251
4281
|
}
|
|
4252
4282
|
};
|
|
4253
4283
|
}
|
|
4254
|
-
function
|
|
4255
|
-
let t, r,
|
|
4284
|
+
function Mi(e) {
|
|
4285
|
+
let t, r, n, i, o = (
|
|
4256
4286
|
/*$_*/
|
|
4257
4287
|
e[2]("titleBiometrics") + ""
|
|
4258
4288
|
), s, a, h, u, l = (
|
|
4259
4289
|
/*$_*/
|
|
4260
4290
|
e[2]("descriptionParagraph1") + ""
|
|
4261
|
-
), c, f, p,
|
|
4291
|
+
), c, f, p, g = (
|
|
4262
4292
|
/*$_*/
|
|
4263
4293
|
e[2]("descriptionParagraph2") + ""
|
|
4264
|
-
), m, x,
|
|
4294
|
+
), m, x, A, H, T = (
|
|
4265
4295
|
/*biometricsenabled*/
|
|
4266
4296
|
(e[0] === "true" ? (
|
|
4267
4297
|
/*$_*/
|
|
@@ -4270,175 +4300,174 @@ function An(e) {
|
|
|
4270
4300
|
/*$_*/
|
|
4271
4301
|
e[2]("btnEnableBiometrics")
|
|
4272
4302
|
)) + ""
|
|
4273
|
-
),
|
|
4303
|
+
), v, S, N, M = (
|
|
4274
4304
|
/*isMobile*/
|
|
4275
|
-
e[3] &&
|
|
4305
|
+
e[3] && Ni(e)
|
|
4276
4306
|
);
|
|
4277
4307
|
return {
|
|
4278
4308
|
c() {
|
|
4279
|
-
t =
|
|
4309
|
+
t = O("div"), r = O("div"), M && M.c(), n = te(), i = O("h2"), s = U(o), a = te(), h = O("div"), u = O("p"), c = U(l), f = te(), p = O("p"), m = U(g), x = te(), A = O("div"), H = O("button"), v = U(T), B(i, "class", "BiometricsTitle " + /*isMobile*/
|
|
4280
4310
|
(e[3] ? "BiometricsTitleNone" : "")), B(h, "class", "BiometricsDescription " + /*isMobile*/
|
|
4281
|
-
(e[3] ? "BiometricsDescriptionMobile" : "")), B(
|
|
4311
|
+
(e[3] ? "BiometricsDescriptionMobile" : "")), B(H, "class", "BiometricsToggle"), B(A, "class", "BiometricsActionButtons " + /*isMobile*/
|
|
4282
4312
|
(e[3] ? "BiometricsActionButtonsMobile" : "")), B(r, "class", "BiometricsWrapper " + /*isMobile*/
|
|
4283
4313
|
(e[3] ? "BiometricsWrapperMobile" : ""));
|
|
4284
4314
|
},
|
|
4285
|
-
m(
|
|
4286
|
-
|
|
4287
|
-
|
|
4315
|
+
m(P, D) {
|
|
4316
|
+
ze(P, t, D), E(t, r), M && M.m(r, null), E(r, n), E(r, i), E(i, s), E(r, a), E(r, h), E(h, u), E(u, c), E(h, f), E(h, p), E(p, m), E(r, x), E(r, A), E(A, H), E(H, v), e[13](t), S || (N = Bt(
|
|
4317
|
+
H,
|
|
4288
4318
|
"click",
|
|
4289
4319
|
/*click_handler_1*/
|
|
4290
|
-
e[
|
|
4291
|
-
),
|
|
4320
|
+
e[12]
|
|
4321
|
+
), S = !0);
|
|
4292
4322
|
},
|
|
4293
|
-
p(
|
|
4323
|
+
p(P, [D]) {
|
|
4294
4324
|
/*isMobile*/
|
|
4295
|
-
|
|
4325
|
+
P[3] && M.p(P, D), D & /*$_*/
|
|
4296
4326
|
4 && o !== (o = /*$_*/
|
|
4297
|
-
|
|
4327
|
+
P[2]("titleBiometrics") + "") && re(s, o), D & /*$_*/
|
|
4298
4328
|
4 && l !== (l = /*$_*/
|
|
4299
|
-
|
|
4300
|
-
4 &&
|
|
4301
|
-
|
|
4302
|
-
5 &&
|
|
4303
|
-
(
|
|
4329
|
+
P[2]("descriptionParagraph1") + "") && re(c, l), D & /*$_*/
|
|
4330
|
+
4 && g !== (g = /*$_*/
|
|
4331
|
+
P[2]("descriptionParagraph2") + "") && re(m, g), D & /*biometricsenabled, $_*/
|
|
4332
|
+
5 && T !== (T = /*biometricsenabled*/
|
|
4333
|
+
(P[0] === "true" ? (
|
|
4304
4334
|
/*$_*/
|
|
4305
|
-
|
|
4335
|
+
P[2]("btnDisableBiometrics")
|
|
4306
4336
|
) : (
|
|
4307
4337
|
/*$_*/
|
|
4308
|
-
|
|
4309
|
-
)) + "") && re(
|
|
4338
|
+
P[2]("btnEnableBiometrics")
|
|
4339
|
+
)) + "") && re(v, T);
|
|
4310
4340
|
},
|
|
4311
|
-
i:
|
|
4312
|
-
o:
|
|
4313
|
-
d(
|
|
4314
|
-
|
|
4341
|
+
i: I,
|
|
4342
|
+
o: I,
|
|
4343
|
+
d(P) {
|
|
4344
|
+
P && ge(t), M && M.d(), e[13](null), S = !1, N();
|
|
4315
4345
|
}
|
|
4316
4346
|
};
|
|
4317
4347
|
}
|
|
4318
|
-
function
|
|
4319
|
-
let
|
|
4320
|
-
rr(e,
|
|
4321
|
-
let { biometricsenabled:
|
|
4322
|
-
const
|
|
4323
|
-
fetch(
|
|
4324
|
-
Object.keys(
|
|
4325
|
-
yt(
|
|
4348
|
+
function Li(e, t, r) {
|
|
4349
|
+
let n;
|
|
4350
|
+
rr(e, Ti, (v) => r(2, n = v));
|
|
4351
|
+
let { biometricsenabled: i = "false" } = t, { lang: o = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: h } = t, { translationurl: u = "" } = t, l, c = window.navigator.userAgent, f = wi(c) !== "PC";
|
|
4352
|
+
const p = () => {
|
|
4353
|
+
fetch(u).then((S) => S.json()).then((S) => {
|
|
4354
|
+
Object.keys(S).forEach((N) => {
|
|
4355
|
+
yt(N, S[N]);
|
|
4326
4356
|
});
|
|
4327
|
-
}).catch((
|
|
4328
|
-
console.log(
|
|
4357
|
+
}).catch((S) => {
|
|
4358
|
+
console.log(S);
|
|
4329
4359
|
});
|
|
4330
4360
|
};
|
|
4331
|
-
Object.keys(vt).forEach((
|
|
4332
|
-
yt(
|
|
4361
|
+
Object.keys(vt).forEach((v) => {
|
|
4362
|
+
yt(v, vt[v]);
|
|
4333
4363
|
});
|
|
4334
|
-
const
|
|
4335
|
-
|
|
4336
|
-
b.innerHTML = s, u.appendChild(b);
|
|
4337
|
-
}, y = () => {
|
|
4338
|
-
let b = new URL(a), T = document.createElement("style");
|
|
4339
|
-
fetch(b.href).then((H) => H.text()).then((H) => {
|
|
4340
|
-
T.innerHTML = H, setTimeout(
|
|
4341
|
-
() => {
|
|
4342
|
-
u.appendChild(T);
|
|
4343
|
-
},
|
|
4344
|
-
1
|
|
4345
|
-
);
|
|
4346
|
-
});
|
|
4364
|
+
const g = () => {
|
|
4365
|
+
Hi(o);
|
|
4347
4366
|
}, m = () => {
|
|
4348
|
-
Tn(o);
|
|
4349
|
-
}, x = () => {
|
|
4350
4367
|
window.postMessage(
|
|
4351
4368
|
{
|
|
4352
4369
|
type: "PlayerAccountMenuActive",
|
|
4353
|
-
isMobile:
|
|
4370
|
+
isMobile: f
|
|
4354
4371
|
},
|
|
4355
4372
|
window.location.href
|
|
4356
4373
|
);
|
|
4357
|
-
},
|
|
4358
|
-
|
|
4374
|
+
}, x = () => {
|
|
4375
|
+
i === "true" ? r(0, i = "false") : i === "false" && r(0, i = "true"), window.postMessage({
|
|
4359
4376
|
type: "ToggleBiometrics",
|
|
4360
|
-
data:
|
|
4377
|
+
data: i
|
|
4361
4378
|
});
|
|
4362
|
-
}
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4379
|
+
};
|
|
4380
|
+
hr(() => () => {
|
|
4381
|
+
});
|
|
4382
|
+
const A = () => m(), H = () => x();
|
|
4383
|
+
function T(v) {
|
|
4384
|
+
Oe[v ? "unshift" : "push"](() => {
|
|
4385
|
+
l = v, r(1, l);
|
|
4366
4386
|
});
|
|
4367
4387
|
}
|
|
4368
|
-
return e.$$set = (
|
|
4369
|
-
"biometricsenabled" in
|
|
4388
|
+
return e.$$set = (v) => {
|
|
4389
|
+
"biometricsenabled" in v && r(0, i = v.biometricsenabled), "lang" in v && r(6, o = v.lang), "clientstyling" in v && r(7, s = v.clientstyling), "clientstylingurl" in v && r(8, a = v.clientstylingurl), "mbsource" in v && r(9, h = v.mbsource), "translationurl" in v && r(10, u = v.translationurl);
|
|
4370
4390
|
}, e.$$.update = () => {
|
|
4371
4391
|
e.$$.dirty & /*lang*/
|
|
4372
|
-
64 && o &&
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4392
|
+
64 && o && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4393
|
+
130 && s && l && Ai(l, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4394
|
+
258 && a && l && Pi(l, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4395
|
+
514 && h && l && Oi(l, `${h}.Style`), e.$$.dirty & /*translationurl*/
|
|
4396
|
+
1024 && u && p();
|
|
4376
4397
|
}, [
|
|
4377
|
-
n,
|
|
4378
|
-
u,
|
|
4379
4398
|
i,
|
|
4380
|
-
|
|
4399
|
+
l,
|
|
4400
|
+
n,
|
|
4401
|
+
f,
|
|
4402
|
+
m,
|
|
4381
4403
|
x,
|
|
4382
|
-
P,
|
|
4383
4404
|
o,
|
|
4384
4405
|
s,
|
|
4385
4406
|
a,
|
|
4386
4407
|
h,
|
|
4408
|
+
u,
|
|
4387
4409
|
A,
|
|
4388
|
-
|
|
4389
|
-
|
|
4410
|
+
H,
|
|
4411
|
+
T
|
|
4390
4412
|
];
|
|
4391
4413
|
}
|
|
4392
|
-
class
|
|
4414
|
+
class Ci extends _r {
|
|
4393
4415
|
constructor(t) {
|
|
4394
|
-
super(),
|
|
4416
|
+
super(), vr(
|
|
4395
4417
|
this,
|
|
4396
4418
|
t,
|
|
4397
|
-
|
|
4398
|
-
|
|
4419
|
+
Li,
|
|
4420
|
+
Mi,
|
|
4399
4421
|
_t,
|
|
4400
4422
|
{
|
|
4401
4423
|
biometricsenabled: 0,
|
|
4402
4424
|
lang: 6,
|
|
4403
4425
|
clientstyling: 7,
|
|
4404
4426
|
clientstylingurl: 8,
|
|
4405
|
-
|
|
4427
|
+
mbsource: 9,
|
|
4428
|
+
translationurl: 10
|
|
4406
4429
|
},
|
|
4407
|
-
|
|
4430
|
+
Ii
|
|
4408
4431
|
);
|
|
4409
4432
|
}
|
|
4410
4433
|
get biometricsenabled() {
|
|
4411
4434
|
return this.$$.ctx[0];
|
|
4412
4435
|
}
|
|
4413
4436
|
set biometricsenabled(t) {
|
|
4414
|
-
this.$$set({ biometricsenabled: t }),
|
|
4437
|
+
this.$$set({ biometricsenabled: t }), $();
|
|
4415
4438
|
}
|
|
4416
4439
|
get lang() {
|
|
4417
4440
|
return this.$$.ctx[6];
|
|
4418
4441
|
}
|
|
4419
4442
|
set lang(t) {
|
|
4420
|
-
this.$$set({ lang: t }),
|
|
4443
|
+
this.$$set({ lang: t }), $();
|
|
4421
4444
|
}
|
|
4422
4445
|
get clientstyling() {
|
|
4423
4446
|
return this.$$.ctx[7];
|
|
4424
4447
|
}
|
|
4425
4448
|
set clientstyling(t) {
|
|
4426
|
-
this.$$set({ clientstyling: t }),
|
|
4449
|
+
this.$$set({ clientstyling: t }), $();
|
|
4427
4450
|
}
|
|
4428
4451
|
get clientstylingurl() {
|
|
4429
4452
|
return this.$$.ctx[8];
|
|
4430
4453
|
}
|
|
4431
4454
|
set clientstylingurl(t) {
|
|
4432
|
-
this.$$set({ clientstylingurl: t }),
|
|
4455
|
+
this.$$set({ clientstylingurl: t }), $();
|
|
4433
4456
|
}
|
|
4434
|
-
get
|
|
4457
|
+
get mbsource() {
|
|
4435
4458
|
return this.$$.ctx[9];
|
|
4436
4459
|
}
|
|
4460
|
+
set mbsource(t) {
|
|
4461
|
+
this.$$set({ mbsource: t }), $();
|
|
4462
|
+
}
|
|
4463
|
+
get translationurl() {
|
|
4464
|
+
return this.$$.ctx[10];
|
|
4465
|
+
}
|
|
4437
4466
|
set translationurl(t) {
|
|
4438
|
-
this.$$set({ translationurl: t }),
|
|
4467
|
+
this.$$set({ translationurl: t }), $();
|
|
4439
4468
|
}
|
|
4440
4469
|
}
|
|
4441
|
-
|
|
4470
|
+
Er(Ci, { biometricsenabled: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
4442
4471
|
export {
|
|
4443
|
-
|
|
4472
|
+
Ci as P
|
|
4444
4473
|
};
|