@everymatrix/general-player-register-form-step1 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralPlayerRegisterFormStep1-DGWK-Fld.js → GeneralPlayerRegisterFormStep1-85Tc7Od4.js} +423 -396
- package/components/GeneralPlayerRegisterFormStep1-CfFfqZHI.cjs +16 -0
- package/components/{GeneralPlayerRegisterFormStep1-CzBIdYyE.js → GeneralPlayerRegisterFormStep1-q-cbAkVG.js} +440 -413
- package/es2015/general-player-register-form-step1.cjs +1 -1
- package/es2015/general-player-register-form-step1.js +1 -1
- package/esnext/general-player-register-form-step1.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerRegisterFormStep1-Dgzyl0Td.cjs +0 -3
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function z() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function ei(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Bt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function lr(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(ei);
|
|
11
11
|
}
|
|
12
12
|
function _t(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function ri(e, r) {
|
|
16
16
|
return e != e ? r == r : e !== r || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Ti(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function ti(e, ...r) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const i of r)
|
|
24
24
|
i(void 0);
|
|
@@ -27,21 +27,22 @@ function ei(e, ...r) {
|
|
|
27
27
|
const t = e.subscribe(...r);
|
|
28
28
|
return t.unsubscribe ? () => t.unsubscribe() : t;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function Hi(e, r, t) {
|
|
31
|
+
e.$$.on_destroy.push(ti(r, t));
|
|
32
32
|
}
|
|
33
33
|
function l(e, r) {
|
|
34
34
|
e.appendChild(r);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const i =
|
|
36
|
+
function Bi(e, r, t) {
|
|
37
|
+
const i = Ii(e);
|
|
38
38
|
if (!i.getElementById(r)) {
|
|
39
39
|
const n = E("style");
|
|
40
|
-
n.id = r, n.textContent = t,
|
|
40
|
+
n.id = r, n.textContent = t, Ni(i, n);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
if (!e)
|
|
43
|
+
function Ii(e) {
|
|
44
|
+
if (!e)
|
|
45
|
+
return document;
|
|
45
46
|
const r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
46
47
|
return r && /** @type {ShadowRoot} */
|
|
47
48
|
r.host ? (
|
|
@@ -49,7 +50,7 @@ function Hi(e) {
|
|
|
49
50
|
r
|
|
50
51
|
) : e.ownerDocument;
|
|
51
52
|
}
|
|
52
|
-
function
|
|
53
|
+
function Ni(e, r) {
|
|
53
54
|
return l(
|
|
54
55
|
/** @type {Document} */
|
|
55
56
|
e.head || e,
|
|
@@ -80,7 +81,7 @@ function x(e, r, t, i) {
|
|
|
80
81
|
function o(e, r, t) {
|
|
81
82
|
t == null ? e.removeAttribute(r) : e.getAttribute(r) !== t && e.setAttribute(r, t);
|
|
82
83
|
}
|
|
83
|
-
function
|
|
84
|
+
function Oi(e) {
|
|
84
85
|
return Array.from(e.childNodes);
|
|
85
86
|
}
|
|
86
87
|
function D(e, r) {
|
|
@@ -90,7 +91,7 @@ function D(e, r) {
|
|
|
90
91
|
function te(e, r) {
|
|
91
92
|
e.value = r ?? "";
|
|
92
93
|
}
|
|
93
|
-
function
|
|
94
|
+
function Li(e) {
|
|
94
95
|
const r = {};
|
|
95
96
|
return e.childNodes.forEach(
|
|
96
97
|
/** @param {Element} node */
|
|
@@ -103,19 +104,20 @@ let Sr;
|
|
|
103
104
|
function wr(e) {
|
|
104
105
|
Sr = e;
|
|
105
106
|
}
|
|
106
|
-
function
|
|
107
|
-
if (!Sr)
|
|
107
|
+
function Mi() {
|
|
108
|
+
if (!Sr)
|
|
109
|
+
throw new Error("Function called outside component initialization");
|
|
108
110
|
return Sr;
|
|
109
111
|
}
|
|
110
|
-
function
|
|
111
|
-
|
|
112
|
+
function Ri(e) {
|
|
113
|
+
Mi().$$.on_mount.push(e);
|
|
112
114
|
}
|
|
113
115
|
const tr = [], _r = [];
|
|
114
116
|
let ir = [];
|
|
115
|
-
const
|
|
117
|
+
const It = [], Ui = /* @__PURE__ */ Promise.resolve();
|
|
116
118
|
let ht = !1;
|
|
117
|
-
function
|
|
118
|
-
ht || (ht = !0,
|
|
119
|
+
function ki() {
|
|
120
|
+
ht || (ht = !0, Ui.then(be));
|
|
119
121
|
}
|
|
120
122
|
function ft(e) {
|
|
121
123
|
ir.push(e);
|
|
@@ -130,52 +132,53 @@ function be() {
|
|
|
130
132
|
try {
|
|
131
133
|
for (; er < tr.length; ) {
|
|
132
134
|
const r = tr[er];
|
|
133
|
-
er++, wr(r),
|
|
135
|
+
er++, wr(r), Fi(r.$$);
|
|
134
136
|
}
|
|
135
137
|
} catch (r) {
|
|
136
138
|
throw tr.length = 0, er = 0, r;
|
|
137
139
|
}
|
|
138
|
-
for (wr(null), tr.length = 0, er = 0; _r.length; )
|
|
140
|
+
for (wr(null), tr.length = 0, er = 0; _r.length; )
|
|
141
|
+
_r.pop()();
|
|
139
142
|
for (let r = 0; r < ir.length; r += 1) {
|
|
140
143
|
const t = ir[r];
|
|
141
144
|
nt.has(t) || (nt.add(t), t());
|
|
142
145
|
}
|
|
143
146
|
ir.length = 0;
|
|
144
147
|
} while (tr.length);
|
|
145
|
-
for (;
|
|
146
|
-
|
|
148
|
+
for (; It.length; )
|
|
149
|
+
It.pop()();
|
|
147
150
|
ht = !1, nt.clear(), wr(e);
|
|
148
151
|
}
|
|
149
|
-
function
|
|
152
|
+
function Fi(e) {
|
|
150
153
|
if (e.fragment !== null) {
|
|
151
154
|
e.update(), lr(e.before_update);
|
|
152
155
|
const r = e.dirty;
|
|
153
156
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(ft);
|
|
154
157
|
}
|
|
155
158
|
}
|
|
156
|
-
function
|
|
159
|
+
function Di(e) {
|
|
157
160
|
const r = [], t = [];
|
|
158
161
|
ir.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), ir = r;
|
|
159
162
|
}
|
|
160
|
-
const
|
|
161
|
-
function
|
|
162
|
-
e && e.i && (
|
|
163
|
+
const Gi = /* @__PURE__ */ new Set();
|
|
164
|
+
function ji(e, r) {
|
|
165
|
+
e && e.i && (Gi.delete(e), e.i(r));
|
|
163
166
|
}
|
|
164
|
-
function
|
|
167
|
+
function Vi(e, r, t) {
|
|
165
168
|
const { fragment: i, after_update: n } = e.$$;
|
|
166
169
|
i && i.m(r, t), ft(() => {
|
|
167
|
-
const s = e.$$.on_mount.map(
|
|
170
|
+
const s = e.$$.on_mount.map(ei).filter(_t);
|
|
168
171
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : lr(s), e.$$.on_mount = [];
|
|
169
172
|
}), n.forEach(ft);
|
|
170
173
|
}
|
|
171
|
-
function
|
|
174
|
+
function $i(e, r) {
|
|
172
175
|
const t = e.$$;
|
|
173
|
-
t.fragment !== null && (
|
|
176
|
+
t.fragment !== null && (Di(t.after_update), lr(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
|
|
174
177
|
}
|
|
175
|
-
function
|
|
176
|
-
e.$$.dirty[0] === -1 && (tr.push(e),
|
|
178
|
+
function Qi(e, r) {
|
|
179
|
+
e.$$.dirty[0] === -1 && (tr.push(e), ki(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
|
|
177
180
|
}
|
|
178
|
-
function
|
|
181
|
+
function zi(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
179
182
|
const f = Sr;
|
|
180
183
|
wr(e);
|
|
181
184
|
const c = e.$$ = {
|
|
@@ -185,7 +188,7 @@ function $i(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
|
185
188
|
props: s,
|
|
186
189
|
update: z,
|
|
187
190
|
not_equal: n,
|
|
188
|
-
bound:
|
|
191
|
+
bound: Bt(),
|
|
189
192
|
// lifecycle
|
|
190
193
|
on_mount: [],
|
|
191
194
|
on_destroy: [],
|
|
@@ -194,7 +197,7 @@ function $i(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
|
194
197
|
after_update: [],
|
|
195
198
|
context: new Map(r.context || (f ? f.$$.context : [])),
|
|
196
199
|
// everything else
|
|
197
|
-
callbacks:
|
|
200
|
+
callbacks: Bt(),
|
|
198
201
|
dirty: a,
|
|
199
202
|
skip_bound: !1,
|
|
200
203
|
root: r.target || f.$$.root
|
|
@@ -203,19 +206,19 @@ function $i(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
|
203
206
|
let h = !1;
|
|
204
207
|
if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
|
|
205
208
|
const w = b.length ? b[0] : g;
|
|
206
|
-
return c.ctx && n(c.ctx[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), h &&
|
|
209
|
+
return c.ctx && n(c.ctx[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), h && Qi(e, m)), g;
|
|
207
210
|
}) : [], c.update(), h = !0, lr(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
|
|
208
211
|
if (r.hydrate) {
|
|
209
|
-
const m =
|
|
212
|
+
const m = Oi(r.target);
|
|
210
213
|
c.fragment && c.fragment.l(m), m.forEach(ie);
|
|
211
214
|
} else
|
|
212
215
|
c.fragment && c.fragment.c();
|
|
213
|
-
r.intro &&
|
|
216
|
+
r.intro && ji(e.$$.fragment), Vi(e, r.target, r.anchor), be();
|
|
214
217
|
}
|
|
215
218
|
wr(f);
|
|
216
219
|
}
|
|
217
|
-
let
|
|
218
|
-
typeof HTMLElement == "function" && (
|
|
220
|
+
let ii;
|
|
221
|
+
typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
219
222
|
/** The Svelte component constructor */
|
|
220
223
|
$$ctor;
|
|
221
224
|
/** Slots */
|
|
@@ -274,7 +277,7 @@ typeof HTMLElement == "function" && (ri = class extends HTMLElement {
|
|
|
274
277
|
};
|
|
275
278
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
276
279
|
return;
|
|
277
|
-
const r = {}, t =
|
|
280
|
+
const r = {}, t = Li(this);
|
|
278
281
|
for (const n of this.$$s)
|
|
279
282
|
n in t && (r[n] = [e(n)]);
|
|
280
283
|
for (const n of this.attributes) {
|
|
@@ -361,8 +364,8 @@ function zr(e, r, t, i) {
|
|
|
361
364
|
return r;
|
|
362
365
|
}
|
|
363
366
|
}
|
|
364
|
-
function
|
|
365
|
-
let u = class extends
|
|
367
|
+
function Xi(e, r, t, i, n, s) {
|
|
368
|
+
let u = class extends ii {
|
|
366
369
|
constructor() {
|
|
367
370
|
super(e, t, n), this.$$p_d = r;
|
|
368
371
|
}
|
|
@@ -390,7 +393,7 @@ function Qi(e, r, t, i, n, s) {
|
|
|
390
393
|
}), e.element = /** @type {any} */
|
|
391
394
|
u, u;
|
|
392
395
|
}
|
|
393
|
-
class
|
|
396
|
+
class Zi {
|
|
394
397
|
/**
|
|
395
398
|
* ### PRIVATE API
|
|
396
399
|
*
|
|
@@ -409,7 +412,7 @@ class zi {
|
|
|
409
412
|
$$set = void 0;
|
|
410
413
|
/** @returns {void} */
|
|
411
414
|
$destroy() {
|
|
412
|
-
|
|
415
|
+
$i(this, 1), this.$destroy = z;
|
|
413
416
|
}
|
|
414
417
|
/**
|
|
415
418
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -431,13 +434,13 @@ class zi {
|
|
|
431
434
|
* @returns {void}
|
|
432
435
|
*/
|
|
433
436
|
$set(r) {
|
|
434
|
-
this.$$set && !
|
|
437
|
+
this.$$set && !Ti(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
|
|
435
438
|
}
|
|
436
439
|
}
|
|
437
|
-
const
|
|
438
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
440
|
+
const Wi = "4";
|
|
441
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wi);
|
|
439
442
|
const rr = [];
|
|
440
|
-
function
|
|
443
|
+
function qi(e, r) {
|
|
441
444
|
return {
|
|
442
445
|
subscribe: Jr(e, r).subscribe
|
|
443
446
|
};
|
|
@@ -446,7 +449,7 @@ function Jr(e, r = z) {
|
|
|
446
449
|
let t;
|
|
447
450
|
const i = /* @__PURE__ */ new Set();
|
|
448
451
|
function n(a) {
|
|
449
|
-
if (
|
|
452
|
+
if (ri(e, a) && (e = a, t)) {
|
|
450
453
|
const f = !rr.length;
|
|
451
454
|
for (const c of i)
|
|
452
455
|
c[1](), rr.push(c, e);
|
|
@@ -473,7 +476,7 @@ function ur(e, r, t) {
|
|
|
473
476
|
if (!n.every(Boolean))
|
|
474
477
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
475
478
|
const s = r.length < 2;
|
|
476
|
-
return
|
|
479
|
+
return qi(t, (u, a) => {
|
|
477
480
|
let f = !1;
|
|
478
481
|
const c = [];
|
|
479
482
|
let h = 0, m = z;
|
|
@@ -484,7 +487,7 @@ function ur(e, r, t) {
|
|
|
484
487
|
const w = r(i ? c[0] : c, u, a);
|
|
485
488
|
s ? u(w) : m = _t(w) ? w : z;
|
|
486
489
|
}, b = n.map(
|
|
487
|
-
(w, y) =>
|
|
490
|
+
(w, y) => ti(
|
|
488
491
|
w,
|
|
489
492
|
(A) => {
|
|
490
493
|
c[y] = A, h &= ~(1 << y), f && g();
|
|
@@ -499,70 +502,70 @@ function ur(e, r, t) {
|
|
|
499
502
|
};
|
|
500
503
|
});
|
|
501
504
|
}
|
|
502
|
-
function
|
|
505
|
+
function Ji(e) {
|
|
503
506
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
504
507
|
}
|
|
505
|
-
var
|
|
506
|
-
return
|
|
508
|
+
var Yi = function(r) {
|
|
509
|
+
return Ki(r) && !en(r);
|
|
507
510
|
};
|
|
508
|
-
function
|
|
511
|
+
function Ki(e) {
|
|
509
512
|
return !!e && typeof e == "object";
|
|
510
513
|
}
|
|
511
|
-
function
|
|
514
|
+
function en(e) {
|
|
512
515
|
var r = Object.prototype.toString.call(e);
|
|
513
|
-
return r === "[object RegExp]" || r === "[object Date]" ||
|
|
516
|
+
return r === "[object RegExp]" || r === "[object Date]" || nn(e);
|
|
514
517
|
}
|
|
515
|
-
var
|
|
516
|
-
function
|
|
517
|
-
return e.$$typeof ===
|
|
518
|
+
var rn = typeof Symbol == "function" && Symbol.for, tn = rn ? Symbol.for("react.element") : 60103;
|
|
519
|
+
function nn(e) {
|
|
520
|
+
return e.$$typeof === tn;
|
|
518
521
|
}
|
|
519
|
-
function
|
|
522
|
+
function sn(e) {
|
|
520
523
|
return Array.isArray(e) ? [] : {};
|
|
521
524
|
}
|
|
522
525
|
function Pr(e, r) {
|
|
523
|
-
return r.clone !== !1 && r.isMergeableObject(e) ? nr(
|
|
526
|
+
return r.clone !== !1 && r.isMergeableObject(e) ? nr(sn(e), e, r) : e;
|
|
524
527
|
}
|
|
525
|
-
function
|
|
528
|
+
function on(e, r, t) {
|
|
526
529
|
return e.concat(r).map(function(i) {
|
|
527
530
|
return Pr(i, t);
|
|
528
531
|
});
|
|
529
532
|
}
|
|
530
|
-
function
|
|
533
|
+
function an(e, r) {
|
|
531
534
|
if (!r.customMerge)
|
|
532
535
|
return nr;
|
|
533
536
|
var t = r.customMerge(e);
|
|
534
537
|
return typeof t == "function" ? t : nr;
|
|
535
538
|
}
|
|
536
|
-
function
|
|
539
|
+
function ln(e) {
|
|
537
540
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
|
|
538
541
|
return Object.propertyIsEnumerable.call(e, r);
|
|
539
542
|
}) : [];
|
|
540
543
|
}
|
|
541
|
-
function
|
|
542
|
-
return Object.keys(e).concat(
|
|
544
|
+
function Nt(e) {
|
|
545
|
+
return Object.keys(e).concat(ln(e));
|
|
543
546
|
}
|
|
544
|
-
function
|
|
547
|
+
function ni(e, r) {
|
|
545
548
|
try {
|
|
546
549
|
return r in e;
|
|
547
550
|
} catch {
|
|
548
551
|
return !1;
|
|
549
552
|
}
|
|
550
553
|
}
|
|
551
|
-
function
|
|
552
|
-
return
|
|
554
|
+
function un(e, r) {
|
|
555
|
+
return ni(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
|
|
553
556
|
}
|
|
554
|
-
function
|
|
557
|
+
function cn(e, r, t) {
|
|
555
558
|
var i = {};
|
|
556
|
-
return t.isMergeableObject(e) &&
|
|
559
|
+
return t.isMergeableObject(e) && Nt(e).forEach(function(n) {
|
|
557
560
|
i[n] = Pr(e[n], t);
|
|
558
|
-
}),
|
|
559
|
-
|
|
561
|
+
}), Nt(r).forEach(function(n) {
|
|
562
|
+
un(e, n) || (ni(e, n) && t.isMergeableObject(r[n]) ? i[n] = an(n, t)(e[n], r[n], t) : i[n] = Pr(r[n], t));
|
|
560
563
|
}), i;
|
|
561
564
|
}
|
|
562
565
|
function nr(e, r, t) {
|
|
563
|
-
t = t || {}, t.arrayMerge = t.arrayMerge ||
|
|
566
|
+
t = t || {}, t.arrayMerge = t.arrayMerge || on, t.isMergeableObject = t.isMergeableObject || Yi, t.cloneUnlessOtherwiseSpecified = Pr;
|
|
564
567
|
var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
|
|
565
|
-
return s ? i ? t.arrayMerge(e, r, t) :
|
|
568
|
+
return s ? i ? t.arrayMerge(e, r, t) : cn(e, r, t) : Pr(r, t);
|
|
566
569
|
}
|
|
567
570
|
nr.all = function(r, t) {
|
|
568
571
|
if (!Array.isArray(r))
|
|
@@ -571,13 +574,28 @@ nr.all = function(r, t) {
|
|
|
571
574
|
return nr(i, n, t);
|
|
572
575
|
}, {});
|
|
573
576
|
};
|
|
574
|
-
var
|
|
575
|
-
const
|
|
577
|
+
var hn = nr, fn = hn;
|
|
578
|
+
const dn = /* @__PURE__ */ Ji(fn);
|
|
579
|
+
/*! *****************************************************************************
|
|
580
|
+
Copyright (c) Microsoft Corporation.
|
|
581
|
+
|
|
582
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
583
|
+
purpose with or without fee is hereby granted.
|
|
584
|
+
|
|
585
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
586
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
587
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
588
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
589
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
590
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
591
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
592
|
+
***************************************************************************** */
|
|
576
593
|
var dt = function(e, r) {
|
|
577
594
|
return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
578
595
|
t.__proto__ = i;
|
|
579
596
|
} || function(t, i) {
|
|
580
|
-
for (var n in i)
|
|
597
|
+
for (var n in i)
|
|
598
|
+
Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
|
|
581
599
|
}, dt(e, r);
|
|
582
600
|
};
|
|
583
601
|
function Yr(e, r) {
|
|
@@ -593,72 +611,77 @@ var T = function() {
|
|
|
593
611
|
return T = Object.assign || function(r) {
|
|
594
612
|
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
595
613
|
t = arguments[i];
|
|
596
|
-
for (var s in t)
|
|
614
|
+
for (var s in t)
|
|
615
|
+
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
597
616
|
}
|
|
598
617
|
return r;
|
|
599
618
|
}, T.apply(this, arguments);
|
|
600
619
|
};
|
|
601
|
-
function
|
|
620
|
+
function mn(e, r) {
|
|
602
621
|
var t = {};
|
|
603
|
-
for (var i in e)
|
|
622
|
+
for (var i in e)
|
|
623
|
+
Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
604
624
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
605
625
|
for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
|
|
606
626
|
r.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (t[i[n]] = e[i[n]]);
|
|
607
627
|
return t;
|
|
608
628
|
}
|
|
609
629
|
function st(e, r, t) {
|
|
610
|
-
if (
|
|
611
|
-
(
|
|
612
|
-
|
|
630
|
+
if (arguments.length === 2)
|
|
631
|
+
for (var i = 0, n = r.length, s; i < n; i++)
|
|
632
|
+
(s || !(i in r)) && (s || (s = Array.prototype.slice.call(r, 0, i)), s[i] = r[i]);
|
|
633
|
+
return e.concat(s || r);
|
|
613
634
|
}
|
|
614
635
|
function ot(e, r) {
|
|
615
|
-
var t = r && r.cache ? r.cache :
|
|
636
|
+
var t = r && r.cache ? r.cache : vn, i = r && r.serializer ? r.serializer : En, n = r && r.strategy ? r.strategy : pn;
|
|
616
637
|
return n(e, {
|
|
617
638
|
cache: t,
|
|
618
639
|
serializer: i
|
|
619
640
|
});
|
|
620
641
|
}
|
|
621
|
-
function
|
|
642
|
+
function gn(e) {
|
|
622
643
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
623
644
|
}
|
|
624
|
-
function
|
|
625
|
-
var n =
|
|
645
|
+
function si(e, r, t, i) {
|
|
646
|
+
var n = gn(i) ? i : t(i), s = r.get(n);
|
|
626
647
|
return typeof s > "u" && (s = e.call(this, i), r.set(n, s)), s;
|
|
627
648
|
}
|
|
628
|
-
function
|
|
649
|
+
function oi(e, r, t) {
|
|
629
650
|
var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
|
|
630
651
|
return typeof s > "u" && (s = e.apply(this, i), r.set(n, s)), s;
|
|
631
652
|
}
|
|
632
|
-
function
|
|
653
|
+
function St(e, r, t, i, n) {
|
|
633
654
|
return t.bind(r, e, i, n);
|
|
634
655
|
}
|
|
635
|
-
function gn(e, r) {
|
|
636
|
-
var t = e.length === 1 ? mn : ii;
|
|
637
|
-
return ni(e, this, t, r.cache.create(), r.serializer);
|
|
638
|
-
}
|
|
639
656
|
function pn(e, r) {
|
|
640
|
-
|
|
657
|
+
var t = e.length === 1 ? si : oi;
|
|
658
|
+
return St(e, this, t, r.cache.create(), r.serializer);
|
|
659
|
+
}
|
|
660
|
+
function bn(e, r) {
|
|
661
|
+
return St(e, this, oi, r.cache.create(), r.serializer);
|
|
662
|
+
}
|
|
663
|
+
function yn(e, r) {
|
|
664
|
+
return St(e, this, si, r.cache.create(), r.serializer);
|
|
641
665
|
}
|
|
642
|
-
var
|
|
666
|
+
var En = function() {
|
|
643
667
|
return JSON.stringify(arguments);
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
}()
|
|
656
|
-
), En = {
|
|
668
|
+
};
|
|
669
|
+
function Pt() {
|
|
670
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
671
|
+
}
|
|
672
|
+
Pt.prototype.get = function(e) {
|
|
673
|
+
return this.cache[e];
|
|
674
|
+
};
|
|
675
|
+
Pt.prototype.set = function(e, r) {
|
|
676
|
+
this.cache[e] = r;
|
|
677
|
+
};
|
|
678
|
+
var vn = {
|
|
657
679
|
create: function() {
|
|
658
|
-
return new
|
|
680
|
+
return new Pt();
|
|
659
681
|
}
|
|
660
682
|
}, at = {
|
|
661
|
-
variadic:
|
|
683
|
+
variadic: bn,
|
|
684
|
+
monadic: yn
|
|
662
685
|
}, S;
|
|
663
686
|
(function(e) {
|
|
664
687
|
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";
|
|
@@ -671,43 +694,43 @@ var sr;
|
|
|
671
694
|
(function(e) {
|
|
672
695
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
673
696
|
})(sr || (sr = {}));
|
|
674
|
-
function
|
|
697
|
+
function Ot(e) {
|
|
675
698
|
return e.type === L.literal;
|
|
676
699
|
}
|
|
677
|
-
function
|
|
700
|
+
function wn(e) {
|
|
678
701
|
return e.type === L.argument;
|
|
679
702
|
}
|
|
680
|
-
function
|
|
703
|
+
function ai(e) {
|
|
681
704
|
return e.type === L.number;
|
|
682
705
|
}
|
|
683
|
-
function
|
|
706
|
+
function li(e) {
|
|
684
707
|
return e.type === L.date;
|
|
685
708
|
}
|
|
686
|
-
function
|
|
709
|
+
function ui(e) {
|
|
687
710
|
return e.type === L.time;
|
|
688
711
|
}
|
|
689
|
-
function
|
|
712
|
+
function ci(e) {
|
|
690
713
|
return e.type === L.select;
|
|
691
714
|
}
|
|
692
|
-
function
|
|
715
|
+
function hi(e) {
|
|
693
716
|
return e.type === L.plural;
|
|
694
717
|
}
|
|
695
|
-
function
|
|
718
|
+
function _n(e) {
|
|
696
719
|
return e.type === L.pound;
|
|
697
720
|
}
|
|
698
|
-
function
|
|
721
|
+
function fi(e) {
|
|
699
722
|
return e.type === L.tag;
|
|
700
723
|
}
|
|
701
|
-
function
|
|
724
|
+
function di(e) {
|
|
702
725
|
return !!(e && typeof e == "object" && e.type === sr.number);
|
|
703
726
|
}
|
|
704
727
|
function mt(e) {
|
|
705
728
|
return !!(e && typeof e == "object" && e.type === sr.dateTime);
|
|
706
729
|
}
|
|
707
|
-
var
|
|
708
|
-
function
|
|
730
|
+
var mi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
|
|
731
|
+
function Pn(e) {
|
|
709
732
|
var r = {};
|
|
710
|
-
return e.replace(
|
|
733
|
+
return e.replace(Sn, function(t) {
|
|
711
734
|
var i = t.length;
|
|
712
735
|
switch (t[0]) {
|
|
713
736
|
case "G":
|
|
@@ -796,11 +819,11 @@ function Sn(e) {
|
|
|
796
819
|
return "";
|
|
797
820
|
}), r;
|
|
798
821
|
}
|
|
799
|
-
var
|
|
800
|
-
function
|
|
822
|
+
var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
823
|
+
function Cn(e) {
|
|
801
824
|
if (e.length === 0)
|
|
802
825
|
throw new Error("Number skeleton cannot be empty");
|
|
803
|
-
for (var r = e.split(
|
|
826
|
+
for (var r = e.split(xn).filter(function(g) {
|
|
804
827
|
return g.length > 0;
|
|
805
828
|
}), t = [], i = 0, n = r; i < n.length; i++) {
|
|
806
829
|
var s = n[i], u = s.split("/");
|
|
@@ -815,17 +838,17 @@ function xn(e) {
|
|
|
815
838
|
}
|
|
816
839
|
return t;
|
|
817
840
|
}
|
|
818
|
-
function
|
|
841
|
+
function An(e) {
|
|
819
842
|
return e.replace(/^(.*?)-/, "");
|
|
820
843
|
}
|
|
821
|
-
var
|
|
822
|
-
function
|
|
844
|
+
var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gi = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, pi = /^(0+)$/;
|
|
845
|
+
function Mt(e) {
|
|
823
846
|
var r = {};
|
|
824
|
-
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(
|
|
847
|
+
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(gi, function(t, i, n) {
|
|
825
848
|
return typeof n != "string" ? (r.minimumSignificantDigits = i.length, r.maximumSignificantDigits = i.length) : n === "+" ? r.minimumSignificantDigits = i.length : i[0] === "#" ? r.maximumSignificantDigits = i.length : (r.minimumSignificantDigits = i.length, r.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
|
|
826
849
|
}), r;
|
|
827
850
|
}
|
|
828
|
-
function
|
|
851
|
+
function bi(e) {
|
|
829
852
|
switch (e) {
|
|
830
853
|
case "sign-auto":
|
|
831
854
|
return {
|
|
@@ -865,7 +888,7 @@ function gi(e) {
|
|
|
865
888
|
};
|
|
866
889
|
}
|
|
867
890
|
}
|
|
868
|
-
function
|
|
891
|
+
function Hn(e) {
|
|
869
892
|
var r;
|
|
870
893
|
if (e[0] === "E" && e[1] === "E" ? (r = {
|
|
871
894
|
notation: "engineering"
|
|
@@ -873,17 +896,17 @@ function Tn(e) {
|
|
|
873
896
|
notation: "scientific"
|
|
874
897
|
}, e = e.slice(1)), r) {
|
|
875
898
|
var t = e.slice(0, 2);
|
|
876
|
-
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
899
|
+
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !pi.test(e))
|
|
877
900
|
throw new Error("Malformed concise eng/scientific notation");
|
|
878
901
|
r.minimumIntegerDigits = e.length;
|
|
879
902
|
}
|
|
880
903
|
return r;
|
|
881
904
|
}
|
|
882
|
-
function
|
|
883
|
-
var r = {}, t =
|
|
905
|
+
function Rt(e) {
|
|
906
|
+
var r = {}, t = bi(e);
|
|
884
907
|
return t || r;
|
|
885
908
|
}
|
|
886
|
-
function
|
|
909
|
+
function Bn(e) {
|
|
887
910
|
for (var r = {}, t = 0, i = e; t < i.length; t++) {
|
|
888
911
|
var n = i[t];
|
|
889
912
|
switch (n.stem) {
|
|
@@ -907,7 +930,7 @@ function Hn(e) {
|
|
|
907
930
|
continue;
|
|
908
931
|
case "measure-unit":
|
|
909
932
|
case "unit":
|
|
910
|
-
r.style = "unit", r.unit =
|
|
933
|
+
r.style = "unit", r.unit = An(n.options[0]);
|
|
911
934
|
continue;
|
|
912
935
|
case "compact-short":
|
|
913
936
|
case "K":
|
|
@@ -919,12 +942,12 @@ function Hn(e) {
|
|
|
919
942
|
continue;
|
|
920
943
|
case "scientific":
|
|
921
944
|
r = T(T(T({}, r), { notation: "scientific" }), n.options.reduce(function(f, c) {
|
|
922
|
-
return T(T({}, f),
|
|
945
|
+
return T(T({}, f), Rt(c));
|
|
923
946
|
}, {}));
|
|
924
947
|
continue;
|
|
925
948
|
case "engineering":
|
|
926
949
|
r = T(T(T({}, r), { notation: "engineering" }), n.options.reduce(function(f, c) {
|
|
927
|
-
return T(T({}, f),
|
|
950
|
+
return T(T({}, f), Rt(c));
|
|
928
951
|
}, {}));
|
|
929
952
|
continue;
|
|
930
953
|
case "notation-simple":
|
|
@@ -969,7 +992,7 @@ function Hn(e) {
|
|
|
969
992
|
case "integer-width":
|
|
970
993
|
if (n.options.length > 1)
|
|
971
994
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
972
|
-
n.options[0].replace(
|
|
995
|
+
n.options[0].replace(Tn, function(f, c, h, m, g, b) {
|
|
973
996
|
if (c)
|
|
974
997
|
r.minimumIntegerDigits = h.length;
|
|
975
998
|
else {
|
|
@@ -982,27 +1005,27 @@ function Hn(e) {
|
|
|
982
1005
|
});
|
|
983
1006
|
continue;
|
|
984
1007
|
}
|
|
985
|
-
if (
|
|
1008
|
+
if (pi.test(n.stem)) {
|
|
986
1009
|
r.minimumIntegerDigits = n.stem.length;
|
|
987
1010
|
continue;
|
|
988
1011
|
}
|
|
989
|
-
if (
|
|
1012
|
+
if (Lt.test(n.stem)) {
|
|
990
1013
|
if (n.options.length > 1)
|
|
991
1014
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
992
|
-
n.stem.replace(
|
|
1015
|
+
n.stem.replace(Lt, function(f, c, h, m, g, b) {
|
|
993
1016
|
return h === "*" ? r.minimumFractionDigits = c.length : m && m[0] === "#" ? r.maximumFractionDigits = m.length : g && b ? (r.minimumFractionDigits = g.length, r.maximumFractionDigits = g.length + b.length) : (r.minimumFractionDigits = c.length, r.maximumFractionDigits = c.length), "";
|
|
994
1017
|
});
|
|
995
1018
|
var s = n.options[0];
|
|
996
|
-
s === "w" ? r = T(T({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = T(T({}, r),
|
|
1019
|
+
s === "w" ? r = T(T({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = T(T({}, r), Mt(s)));
|
|
997
1020
|
continue;
|
|
998
1021
|
}
|
|
999
|
-
if (
|
|
1000
|
-
r = T(T({}, r),
|
|
1022
|
+
if (gi.test(n.stem)) {
|
|
1023
|
+
r = T(T({}, r), Mt(n.stem));
|
|
1001
1024
|
continue;
|
|
1002
1025
|
}
|
|
1003
|
-
var u =
|
|
1026
|
+
var u = bi(n.stem);
|
|
1004
1027
|
u && (r = T(T({}, r), u));
|
|
1005
|
-
var a =
|
|
1028
|
+
var a = Hn(n.stem);
|
|
1006
1029
|
a && (r = T(T({}, r), a));
|
|
1007
1030
|
}
|
|
1008
1031
|
return r;
|
|
@@ -2422,22 +2445,23 @@ var Qr = {
|
|
|
2422
2445
|
"h"
|
|
2423
2446
|
]
|
|
2424
2447
|
};
|
|
2425
|
-
function
|
|
2448
|
+
function In(e, r) {
|
|
2426
2449
|
for (var t = "", i = 0; i < e.length; i++) {
|
|
2427
2450
|
var n = e.charAt(i);
|
|
2428
2451
|
if (n === "j") {
|
|
2429
2452
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2430
2453
|
s++, i++;
|
|
2431
|
-
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), f = "a", c =
|
|
2454
|
+
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), f = "a", c = Nn(r);
|
|
2432
2455
|
for ((c == "H" || c == "k") && (a = 0); a-- > 0; )
|
|
2433
2456
|
t += f;
|
|
2434
2457
|
for (; u-- > 0; )
|
|
2435
2458
|
t = c + t;
|
|
2436
|
-
} else
|
|
2459
|
+
} else
|
|
2460
|
+
n === "J" ? t += "H" : t += n;
|
|
2437
2461
|
}
|
|
2438
2462
|
return t;
|
|
2439
2463
|
}
|
|
2440
|
-
function
|
|
2464
|
+
function Nn(e) {
|
|
2441
2465
|
var r = e.hourCycle;
|
|
2442
2466
|
if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2443
2467
|
e.hourCycles && // @ts-ignore
|
|
@@ -2459,20 +2483,20 @@ function In(e) {
|
|
|
2459
2483
|
var n = Qr[i || ""] || Qr[t || ""] || Qr["".concat(t, "-001")] || Qr["001"];
|
|
2460
2484
|
return n[0];
|
|
2461
2485
|
}
|
|
2462
|
-
var lt,
|
|
2486
|
+
var lt, On = new RegExp("^".concat(mi.source, "*")), Ln = new RegExp("".concat(mi.source, "*$"));
|
|
2463
2487
|
function P(e, r) {
|
|
2464
2488
|
return { start: e, end: r };
|
|
2465
2489
|
}
|
|
2466
|
-
var
|
|
2490
|
+
var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Un = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, Dn = !!String.prototype.trimEnd, Gn = !!Number.isSafeInteger, jn = Gn ? Number.isSafeInteger : function(e) {
|
|
2467
2491
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2468
2492
|
}, gt = !0;
|
|
2469
2493
|
try {
|
|
2470
|
-
var
|
|
2471
|
-
gt = ((lt =
|
|
2494
|
+
var Vn = Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2495
|
+
gt = ((lt = Vn.exec("a")) === null || lt === void 0 ? void 0 : lt[0]) === "a";
|
|
2472
2496
|
} catch {
|
|
2473
2497
|
gt = !1;
|
|
2474
2498
|
}
|
|
2475
|
-
var
|
|
2499
|
+
var Ut = Mn ? (
|
|
2476
2500
|
// Native
|
|
2477
2501
|
function(r, t, i) {
|
|
2478
2502
|
return r.startsWith(t, i);
|
|
@@ -2482,7 +2506,7 @@ var Mt = Ln ? (
|
|
|
2482
2506
|
function(r, t, i) {
|
|
2483
2507
|
return r.slice(i, i + t.length) === t;
|
|
2484
2508
|
}
|
|
2485
|
-
), pt =
|
|
2509
|
+
), pt = Rn ? String.fromCodePoint : (
|
|
2486
2510
|
// IE11
|
|
2487
2511
|
function() {
|
|
2488
2512
|
for (var r = [], t = 0; t < arguments.length; t++)
|
|
@@ -2494,9 +2518,9 @@ var Mt = Ln ? (
|
|
|
2494
2518
|
}
|
|
2495
2519
|
return i;
|
|
2496
2520
|
}
|
|
2497
|
-
),
|
|
2521
|
+
), kt = (
|
|
2498
2522
|
// native
|
|
2499
|
-
|
|
2523
|
+
Un ? Object.fromEntries : (
|
|
2500
2524
|
// Ponyfill
|
|
2501
2525
|
function(r) {
|
|
2502
2526
|
for (var t = {}, i = 0, n = r; i < n.length; i++) {
|
|
@@ -2506,7 +2530,7 @@ var Mt = Ln ? (
|
|
|
2506
2530
|
return t;
|
|
2507
2531
|
}
|
|
2508
2532
|
)
|
|
2509
|
-
),
|
|
2533
|
+
), yi = kn ? (
|
|
2510
2534
|
// Native
|
|
2511
2535
|
function(r, t) {
|
|
2512
2536
|
return r.codePointAt(t);
|
|
@@ -2520,7 +2544,7 @@ var Mt = Ln ? (
|
|
|
2520
2544
|
return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2521
2545
|
}
|
|
2522
2546
|
}
|
|
2523
|
-
),
|
|
2547
|
+
), $n = Fn ? (
|
|
2524
2548
|
// Native
|
|
2525
2549
|
function(r) {
|
|
2526
2550
|
return r.trimStart();
|
|
@@ -2528,9 +2552,9 @@ var Mt = Ln ? (
|
|
|
2528
2552
|
) : (
|
|
2529
2553
|
// Ponyfill
|
|
2530
2554
|
function(r) {
|
|
2531
|
-
return r.replace(
|
|
2555
|
+
return r.replace(On, "");
|
|
2532
2556
|
}
|
|
2533
|
-
),
|
|
2557
|
+
), Qn = Dn ? (
|
|
2534
2558
|
// Native
|
|
2535
2559
|
function(r) {
|
|
2536
2560
|
return r.trimEnd();
|
|
@@ -2538,32 +2562,32 @@ var Mt = Ln ? (
|
|
|
2538
2562
|
) : (
|
|
2539
2563
|
// Ponyfill
|
|
2540
2564
|
function(r) {
|
|
2541
|
-
return r.replace(
|
|
2565
|
+
return r.replace(Ln, "");
|
|
2542
2566
|
}
|
|
2543
2567
|
);
|
|
2544
|
-
function
|
|
2568
|
+
function Ei(e, r) {
|
|
2545
2569
|
return new RegExp(e, r);
|
|
2546
2570
|
}
|
|
2547
2571
|
var bt;
|
|
2548
2572
|
if (gt) {
|
|
2549
|
-
var
|
|
2573
|
+
var Ft = Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2550
2574
|
bt = function(r, t) {
|
|
2551
2575
|
var i;
|
|
2552
|
-
|
|
2553
|
-
var n =
|
|
2576
|
+
Ft.lastIndex = t;
|
|
2577
|
+
var n = Ft.exec(r);
|
|
2554
2578
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2555
2579
|
};
|
|
2556
2580
|
} else
|
|
2557
2581
|
bt = function(r, t) {
|
|
2558
2582
|
for (var i = []; ; ) {
|
|
2559
|
-
var n =
|
|
2560
|
-
if (n === void 0 ||
|
|
2583
|
+
var n = yi(r, t);
|
|
2584
|
+
if (n === void 0 || vi(n) || Wn(n))
|
|
2561
2585
|
break;
|
|
2562
2586
|
i.push(n), t += n >= 65536 ? 2 : 1;
|
|
2563
2587
|
}
|
|
2564
2588
|
return pt.apply(void 0, i);
|
|
2565
2589
|
};
|
|
2566
|
-
var
|
|
2590
|
+
var zn = (
|
|
2567
2591
|
/** @class */
|
|
2568
2592
|
function() {
|
|
2569
2593
|
function e(r, t) {
|
|
@@ -2645,7 +2669,7 @@ var Qn = (
|
|
|
2645
2669
|
return this.error(S.INVALID_TAG, P(i, this.clonePosition()));
|
|
2646
2670
|
}, e.prototype.parseTagName = function() {
|
|
2647
2671
|
var r = this.offset();
|
|
2648
|
-
for (this.bump(); !this.isEOF() &&
|
|
2672
|
+
for (this.bump(); !this.isEOF() && Zn(this.char()); )
|
|
2649
2673
|
this.bump();
|
|
2650
2674
|
return this.message.slice(r, this.offset());
|
|
2651
2675
|
}, e.prototype.parseLiteral = function(r, t) {
|
|
@@ -2674,7 +2698,7 @@ var Qn = (
|
|
|
2674
2698
|
};
|
|
2675
2699
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2676
2700
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2677
|
-
!
|
|
2701
|
+
!Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2678
2702
|
}, e.prototype.tryParseQuote = function(r) {
|
|
2679
2703
|
if (this.isEOF() || this.char() !== 39)
|
|
2680
2704
|
return null;
|
|
@@ -2761,7 +2785,7 @@ var Qn = (
|
|
|
2761
2785
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2762
2786
|
if (m.err)
|
|
2763
2787
|
return m;
|
|
2764
|
-
var g =
|
|
2788
|
+
var g = Qn(m.val);
|
|
2765
2789
|
if (g.length === 0)
|
|
2766
2790
|
return this.error(S.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
|
|
2767
2791
|
var b = P(h, this.clonePosition());
|
|
@@ -2771,8 +2795,8 @@ var Qn = (
|
|
|
2771
2795
|
if (w.err)
|
|
2772
2796
|
return w;
|
|
2773
2797
|
var y = P(n, this.clonePosition());
|
|
2774
|
-
if (c &&
|
|
2775
|
-
var A =
|
|
2798
|
+
if (c && Ut(c?.style, "::", 0)) {
|
|
2799
|
+
var A = $n(c.style.slice(2));
|
|
2776
2800
|
if (a === "number") {
|
|
2777
2801
|
var m = this.parseNumberSkeletonFromString(A, c.styleLocation);
|
|
2778
2802
|
return m.err ? m : {
|
|
@@ -2783,12 +2807,12 @@ var Qn = (
|
|
|
2783
2807
|
if (A.length === 0)
|
|
2784
2808
|
return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
|
|
2785
2809
|
var O = A;
|
|
2786
|
-
this.locale && (O =
|
|
2810
|
+
this.locale && (O = In(A, this.locale));
|
|
2787
2811
|
var g = {
|
|
2788
2812
|
type: sr.dateTime,
|
|
2789
2813
|
pattern: O,
|
|
2790
2814
|
location: c.styleLocation,
|
|
2791
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2815
|
+
parsedOptions: this.shouldParseSkeletons ? Pn(O) : {}
|
|
2792
2816
|
}, M = a === "date" ? L.date : L.time;
|
|
2793
2817
|
return {
|
|
2794
2818
|
val: { type: M, value: i, location: y, style: g },
|
|
@@ -2834,7 +2858,7 @@ var Qn = (
|
|
|
2834
2858
|
val: {
|
|
2835
2859
|
type: L.select,
|
|
2836
2860
|
value: i,
|
|
2837
|
-
options:
|
|
2861
|
+
options: kt(me.val),
|
|
2838
2862
|
location: U
|
|
2839
2863
|
},
|
|
2840
2864
|
err: null
|
|
@@ -2842,7 +2866,7 @@ var Qn = (
|
|
|
2842
2866
|
val: {
|
|
2843
2867
|
type: L.plural,
|
|
2844
2868
|
value: i,
|
|
2845
|
-
options:
|
|
2869
|
+
options: kt(me.val),
|
|
2846
2870
|
offset: G,
|
|
2847
2871
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2848
2872
|
location: U
|
|
@@ -2893,7 +2917,7 @@ var Qn = (
|
|
|
2893
2917
|
}, e.prototype.parseNumberSkeletonFromString = function(r, t) {
|
|
2894
2918
|
var i = [];
|
|
2895
2919
|
try {
|
|
2896
|
-
i =
|
|
2920
|
+
i = Cn(r);
|
|
2897
2921
|
} catch {
|
|
2898
2922
|
return this.error(S.INVALID_NUMBER_SKELETON, t);
|
|
2899
2923
|
}
|
|
@@ -2902,7 +2926,7 @@ var Qn = (
|
|
|
2902
2926
|
type: sr.number,
|
|
2903
2927
|
tokens: i,
|
|
2904
2928
|
location: t,
|
|
2905
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2929
|
+
parsedOptions: this.shouldParseSkeletons ? Bn(i) : {}
|
|
2906
2930
|
},
|
|
2907
2931
|
err: null
|
|
2908
2932
|
};
|
|
@@ -2950,7 +2974,7 @@ var Qn = (
|
|
|
2950
2974
|
break;
|
|
2951
2975
|
}
|
|
2952
2976
|
var f = P(n, this.clonePosition());
|
|
2953
|
-
return s ? (u *= i,
|
|
2977
|
+
return s ? (u *= i, jn(u) ? { val: u, err: null } : this.error(t, f)) : this.error(r, f);
|
|
2954
2978
|
}, e.prototype.offset = function() {
|
|
2955
2979
|
return this.position.offset;
|
|
2956
2980
|
}, e.prototype.isEOF = function() {
|
|
@@ -2965,7 +2989,7 @@ var Qn = (
|
|
|
2965
2989
|
var r = this.position.offset;
|
|
2966
2990
|
if (r >= this.message.length)
|
|
2967
2991
|
throw Error("out of bound");
|
|
2968
|
-
var t =
|
|
2992
|
+
var t = yi(this.message, r);
|
|
2969
2993
|
if (t === void 0)
|
|
2970
2994
|
throw Error("Offset ".concat(r, " is at invalid UTF-16 code unit boundary"));
|
|
2971
2995
|
return t;
|
|
@@ -2984,7 +3008,7 @@ var Qn = (
|
|
|
2984
3008
|
r === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += r < 65536 ? 1 : 2);
|
|
2985
3009
|
}
|
|
2986
3010
|
}, e.prototype.bumpIf = function(r) {
|
|
2987
|
-
if (
|
|
3011
|
+
if (Ut(this.message, r, this.offset())) {
|
|
2988
3012
|
for (var t = 0; t < r.length; t++)
|
|
2989
3013
|
this.bump();
|
|
2990
3014
|
return !0;
|
|
@@ -3006,7 +3030,7 @@ var Qn = (
|
|
|
3006
3030
|
break;
|
|
3007
3031
|
}
|
|
3008
3032
|
}, e.prototype.bumpSpace = function() {
|
|
3009
|
-
for (; !this.isEOF() &&
|
|
3033
|
+
for (; !this.isEOF() && vi(this.char()); )
|
|
3010
3034
|
this.bump();
|
|
3011
3035
|
}, e.prototype.peek = function() {
|
|
3012
3036
|
if (this.isEOF())
|
|
@@ -3019,29 +3043,30 @@ var Qn = (
|
|
|
3019
3043
|
function yt(e) {
|
|
3020
3044
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3021
3045
|
}
|
|
3022
|
-
function
|
|
3046
|
+
function Xn(e) {
|
|
3023
3047
|
return yt(e) || e === 47;
|
|
3024
3048
|
}
|
|
3025
|
-
function
|
|
3049
|
+
function Zn(e) {
|
|
3026
3050
|
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;
|
|
3027
3051
|
}
|
|
3028
|
-
function
|
|
3052
|
+
function vi(e) {
|
|
3029
3053
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3030
3054
|
}
|
|
3031
|
-
function
|
|
3055
|
+
function Wn(e) {
|
|
3032
3056
|
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;
|
|
3033
3057
|
}
|
|
3034
3058
|
function Et(e) {
|
|
3035
3059
|
e.forEach(function(r) {
|
|
3036
|
-
if (delete r.location,
|
|
3060
|
+
if (delete r.location, ci(r) || hi(r))
|
|
3037
3061
|
for (var t in r.options)
|
|
3038
3062
|
delete r.options[t].location, Et(r.options[t].value);
|
|
3039
|
-
else
|
|
3063
|
+
else
|
|
3064
|
+
ai(r) && di(r.style) || (li(r) || ui(r)) && mt(r.style) ? delete r.style.location : fi(r) && Et(r.children);
|
|
3040
3065
|
});
|
|
3041
3066
|
}
|
|
3042
|
-
function
|
|
3067
|
+
function qn(e, r) {
|
|
3043
3068
|
r === void 0 && (r = {}), r = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
|
|
3044
|
-
var t = new
|
|
3069
|
+
var t = new zn(e, r).parse();
|
|
3045
3070
|
if (t.err) {
|
|
3046
3071
|
var i = SyntaxError(S[t.err.kind]);
|
|
3047
3072
|
throw i.location = t.err.location, i.originalMessage = t.err.message, i;
|
|
@@ -3064,7 +3089,7 @@ var Kr = (
|
|
|
3064
3089
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3065
3090
|
}, r;
|
|
3066
3091
|
}(Error)
|
|
3067
|
-
),
|
|
3092
|
+
), Dt = (
|
|
3068
3093
|
/** @class */
|
|
3069
3094
|
function(e) {
|
|
3070
3095
|
Yr(r, e);
|
|
@@ -3073,7 +3098,7 @@ var Kr = (
|
|
|
3073
3098
|
}
|
|
3074
3099
|
return r;
|
|
3075
3100
|
}(Kr)
|
|
3076
|
-
),
|
|
3101
|
+
), Jn = (
|
|
3077
3102
|
/** @class */
|
|
3078
3103
|
function(e) {
|
|
3079
3104
|
Yr(r, e);
|
|
@@ -3082,7 +3107,7 @@ var Kr = (
|
|
|
3082
3107
|
}
|
|
3083
3108
|
return r;
|
|
3084
3109
|
}(Kr)
|
|
3085
|
-
),
|
|
3110
|
+
), Yn = (
|
|
3086
3111
|
/** @class */
|
|
3087
3112
|
function(e) {
|
|
3088
3113
|
Yr(r, e);
|
|
@@ -3095,17 +3120,17 @@ var Kr = (
|
|
|
3095
3120
|
(function(e) {
|
|
3096
3121
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3097
3122
|
})(Q || (Q = {}));
|
|
3098
|
-
function
|
|
3123
|
+
function Kn(e) {
|
|
3099
3124
|
return e.length < 2 ? e : e.reduce(function(r, t) {
|
|
3100
3125
|
var i = r[r.length - 1];
|
|
3101
3126
|
return !i || i.type !== Q.literal || t.type !== Q.literal ? r.push(t) : i.value += t.value, r;
|
|
3102
3127
|
}, []);
|
|
3103
3128
|
}
|
|
3104
|
-
function
|
|
3129
|
+
function es(e) {
|
|
3105
3130
|
return typeof e == "function";
|
|
3106
3131
|
}
|
|
3107
3132
|
function Xr(e, r, t, i, n, s, u) {
|
|
3108
|
-
if (e.length === 1 &&
|
|
3133
|
+
if (e.length === 1 && Ot(e[0]))
|
|
3109
3134
|
return [
|
|
3110
3135
|
{
|
|
3111
3136
|
type: Q.literal,
|
|
@@ -3114,14 +3139,14 @@ function Xr(e, r, t, i, n, s, u) {
|
|
|
3114
3139
|
];
|
|
3115
3140
|
for (var a = [], f = 0, c = e; f < c.length; f++) {
|
|
3116
3141
|
var h = c[f];
|
|
3117
|
-
if (
|
|
3142
|
+
if (Ot(h)) {
|
|
3118
3143
|
a.push({
|
|
3119
3144
|
type: Q.literal,
|
|
3120
3145
|
value: h.value
|
|
3121
3146
|
});
|
|
3122
3147
|
continue;
|
|
3123
3148
|
}
|
|
3124
|
-
if (
|
|
3149
|
+
if (_n(h)) {
|
|
3125
3150
|
typeof s == "number" && a.push({
|
|
3126
3151
|
type: Q.literal,
|
|
3127
3152
|
value: t.getNumberFormat(r).format(s)
|
|
@@ -3130,16 +3155,16 @@ function Xr(e, r, t, i, n, s, u) {
|
|
|
3130
3155
|
}
|
|
3131
3156
|
var m = h.value;
|
|
3132
3157
|
if (!(n && m in n))
|
|
3133
|
-
throw new
|
|
3158
|
+
throw new Yn(m, u);
|
|
3134
3159
|
var g = n[m];
|
|
3135
|
-
if (
|
|
3160
|
+
if (wn(h)) {
|
|
3136
3161
|
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), a.push({
|
|
3137
3162
|
type: typeof g == "string" ? Q.literal : Q.object,
|
|
3138
3163
|
value: g
|
|
3139
3164
|
});
|
|
3140
3165
|
continue;
|
|
3141
3166
|
}
|
|
3142
|
-
if (
|
|
3167
|
+
if (li(h)) {
|
|
3143
3168
|
var b = typeof h.style == "string" ? i.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
|
|
3144
3169
|
a.push({
|
|
3145
3170
|
type: Q.literal,
|
|
@@ -3147,7 +3172,7 @@ function Xr(e, r, t, i, n, s, u) {
|
|
|
3147
3172
|
});
|
|
3148
3173
|
continue;
|
|
3149
3174
|
}
|
|
3150
|
-
if (
|
|
3175
|
+
if (ui(h)) {
|
|
3151
3176
|
var b = typeof h.style == "string" ? i.time[h.style] : mt(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
3152
3177
|
a.push({
|
|
3153
3178
|
type: Q.literal,
|
|
@@ -3155,18 +3180,18 @@ function Xr(e, r, t, i, n, s, u) {
|
|
|
3155
3180
|
});
|
|
3156
3181
|
continue;
|
|
3157
3182
|
}
|
|
3158
|
-
if (
|
|
3159
|
-
var b = typeof h.style == "string" ? i.number[h.style] :
|
|
3183
|
+
if (ai(h)) {
|
|
3184
|
+
var b = typeof h.style == "string" ? i.number[h.style] : di(h.style) ? h.style.parsedOptions : void 0;
|
|
3160
3185
|
b && b.scale && (g = g * (b.scale || 1)), a.push({
|
|
3161
3186
|
type: Q.literal,
|
|
3162
3187
|
value: t.getNumberFormat(r, b).format(g)
|
|
3163
3188
|
});
|
|
3164
3189
|
continue;
|
|
3165
3190
|
}
|
|
3166
|
-
if (
|
|
3191
|
+
if (fi(h)) {
|
|
3167
3192
|
var w = h.children, y = h.value, A = n[y];
|
|
3168
|
-
if (!
|
|
3169
|
-
throw new
|
|
3193
|
+
if (!es(A))
|
|
3194
|
+
throw new Jn(y, "function", u);
|
|
3170
3195
|
var O = Xr(w, r, t, i, n, s), M = A(O.map(function(G) {
|
|
3171
3196
|
return G.value;
|
|
3172
3197
|
}));
|
|
@@ -3177,14 +3202,14 @@ function Xr(e, r, t, i, n, s, u) {
|
|
|
3177
3202
|
};
|
|
3178
3203
|
}));
|
|
3179
3204
|
}
|
|
3180
|
-
if (
|
|
3205
|
+
if (ci(h)) {
|
|
3181
3206
|
var R = h.options[g] || h.options.other;
|
|
3182
3207
|
if (!R)
|
|
3183
|
-
throw new
|
|
3208
|
+
throw new Dt(h.value, g, Object.keys(h.options), u);
|
|
3184
3209
|
a.push.apply(a, Xr(R.value, r, t, i, n));
|
|
3185
3210
|
continue;
|
|
3186
3211
|
}
|
|
3187
|
-
if (
|
|
3212
|
+
if (hi(h)) {
|
|
3188
3213
|
var R = h.options["=".concat(g)];
|
|
3189
3214
|
if (!R) {
|
|
3190
3215
|
if (!Intl.PluralRules)
|
|
@@ -3195,21 +3220,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3195
3220
|
R = h.options[ce] || h.options.other;
|
|
3196
3221
|
}
|
|
3197
3222
|
if (!R)
|
|
3198
|
-
throw new
|
|
3223
|
+
throw new Dt(h.value, g, Object.keys(h.options), u);
|
|
3199
3224
|
a.push.apply(a, Xr(R.value, r, t, i, n, g - (h.offset || 0)));
|
|
3200
3225
|
continue;
|
|
3201
3226
|
}
|
|
3202
3227
|
}
|
|
3203
|
-
return
|
|
3228
|
+
return Kn(a);
|
|
3204
3229
|
}
|
|
3205
|
-
function
|
|
3230
|
+
function rs(e, r) {
|
|
3206
3231
|
return r ? T(T(T({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
|
|
3207
3232
|
return t[i] = T(T({}, e[i]), r[i] || {}), t;
|
|
3208
3233
|
}, {})) : e;
|
|
3209
3234
|
}
|
|
3210
|
-
function
|
|
3235
|
+
function ts(e, r) {
|
|
3211
3236
|
return r ? Object.keys(e).reduce(function(t, i) {
|
|
3212
|
-
return t[i] =
|
|
3237
|
+
return t[i] = rs(e[i], r[i]), t;
|
|
3213
3238
|
}, T({}, e)) : e;
|
|
3214
3239
|
}
|
|
3215
3240
|
function ut(e) {
|
|
@@ -3226,7 +3251,7 @@ function ut(e) {
|
|
|
3226
3251
|
}
|
|
3227
3252
|
};
|
|
3228
3253
|
}
|
|
3229
|
-
function
|
|
3254
|
+
function is(e) {
|
|
3230
3255
|
return e === void 0 && (e = {
|
|
3231
3256
|
number: {},
|
|
3232
3257
|
dateTime: {},
|
|
@@ -3258,7 +3283,7 @@ function ts(e) {
|
|
|
3258
3283
|
})
|
|
3259
3284
|
};
|
|
3260
3285
|
}
|
|
3261
|
-
var
|
|
3286
|
+
var ns = (
|
|
3262
3287
|
/** @class */
|
|
3263
3288
|
function() {
|
|
3264
3289
|
function e(r, t, i, n) {
|
|
@@ -3290,13 +3315,13 @@ var is = (
|
|
|
3290
3315
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3291
3316
|
var u = n || {};
|
|
3292
3317
|
u.formatters;
|
|
3293
|
-
var a =
|
|
3318
|
+
var a = mn(u, ["formatters"]);
|
|
3294
3319
|
this.ast = e.__parse(r, T(T({}, a), { locale: this.resolvedLocale }));
|
|
3295
3320
|
} else
|
|
3296
3321
|
this.ast = r;
|
|
3297
3322
|
if (!Array.isArray(this.ast))
|
|
3298
3323
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3299
|
-
this.formats =
|
|
3324
|
+
this.formats = ts(e.formats, i), this.formatters = n && n.formatters || is(this.formatterCache);
|
|
3300
3325
|
}
|
|
3301
3326
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3302
3327
|
get: function() {
|
|
@@ -3309,7 +3334,7 @@ var is = (
|
|
|
3309
3334
|
var t = Intl.NumberFormat.supportedLocalesOf(r);
|
|
3310
3335
|
return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
|
|
3311
3336
|
}
|
|
3312
|
-
}, e.__parse =
|
|
3337
|
+
}, e.__parse = qn, e.formats = {
|
|
3313
3338
|
number: {
|
|
3314
3339
|
integer: {
|
|
3315
3340
|
maximumFractionDigits: 0
|
|
@@ -3370,7 +3395,7 @@ var is = (
|
|
|
3370
3395
|
}, e;
|
|
3371
3396
|
}()
|
|
3372
3397
|
);
|
|
3373
|
-
function
|
|
3398
|
+
function ss(e, r) {
|
|
3374
3399
|
if (r == null)
|
|
3375
3400
|
return;
|
|
3376
3401
|
if (r in e)
|
|
@@ -3391,60 +3416,60 @@ function ns(e, r) {
|
|
|
3391
3416
|
i = void 0;
|
|
3392
3417
|
return i;
|
|
3393
3418
|
}
|
|
3394
|
-
const Ne = {},
|
|
3419
|
+
const Ne = {}, os = (e, r, t) => t && (r in Ne || (Ne[r] = {}), e in Ne[r] || (Ne[r][e] = t), t), wi = (e, r) => {
|
|
3395
3420
|
if (r == null)
|
|
3396
3421
|
return;
|
|
3397
3422
|
if (r in Ne && e in Ne[r])
|
|
3398
3423
|
return Ne[r][e];
|
|
3399
3424
|
const t = et(r);
|
|
3400
3425
|
for (let i = 0; i < t.length; i++) {
|
|
3401
|
-
const n = t[i], s =
|
|
3426
|
+
const n = t[i], s = ls(n, e);
|
|
3402
3427
|
if (s)
|
|
3403
|
-
return
|
|
3428
|
+
return os(e, r, s);
|
|
3404
3429
|
}
|
|
3405
3430
|
};
|
|
3406
|
-
let
|
|
3431
|
+
let xt;
|
|
3407
3432
|
const Cr = Jr({});
|
|
3408
|
-
function
|
|
3409
|
-
return
|
|
3433
|
+
function as(e) {
|
|
3434
|
+
return xt[e] || null;
|
|
3410
3435
|
}
|
|
3411
|
-
function
|
|
3412
|
-
return e in
|
|
3436
|
+
function _i(e) {
|
|
3437
|
+
return e in xt;
|
|
3413
3438
|
}
|
|
3414
|
-
function
|
|
3415
|
-
if (!
|
|
3439
|
+
function ls(e, r) {
|
|
3440
|
+
if (!_i(e))
|
|
3416
3441
|
return null;
|
|
3417
|
-
const t =
|
|
3418
|
-
return
|
|
3442
|
+
const t = as(e);
|
|
3443
|
+
return ss(t, r);
|
|
3419
3444
|
}
|
|
3420
|
-
function
|
|
3445
|
+
function us(e) {
|
|
3421
3446
|
if (e == null)
|
|
3422
3447
|
return;
|
|
3423
3448
|
const r = et(e);
|
|
3424
3449
|
for (let t = 0; t < r.length; t++) {
|
|
3425
3450
|
const i = r[t];
|
|
3426
|
-
if (
|
|
3451
|
+
if (_i(i))
|
|
3427
3452
|
return i;
|
|
3428
3453
|
}
|
|
3429
3454
|
}
|
|
3430
|
-
function
|
|
3431
|
-
delete Ne[e], Cr.update((t) => (t[e] =
|
|
3455
|
+
function Si(e, ...r) {
|
|
3456
|
+
delete Ne[e], Cr.update((t) => (t[e] = dn.all([t[e] || {}, ...r]), t));
|
|
3432
3457
|
}
|
|
3433
3458
|
ur(
|
|
3434
3459
|
[Cr],
|
|
3435
3460
|
([e]) => Object.keys(e)
|
|
3436
3461
|
);
|
|
3437
|
-
Cr.subscribe((e) =>
|
|
3462
|
+
Cr.subscribe((e) => xt = e);
|
|
3438
3463
|
const Zr = {};
|
|
3439
|
-
function
|
|
3464
|
+
function cs(e, r) {
|
|
3440
3465
|
Zr[e].delete(r), Zr[e].size === 0 && delete Zr[e];
|
|
3441
3466
|
}
|
|
3442
|
-
function
|
|
3467
|
+
function Pi(e) {
|
|
3443
3468
|
return Zr[e];
|
|
3444
3469
|
}
|
|
3445
|
-
function
|
|
3470
|
+
function hs(e) {
|
|
3446
3471
|
return et(e).map((r) => {
|
|
3447
|
-
const t =
|
|
3472
|
+
const t = Pi(r);
|
|
3448
3473
|
return [r, t ? [...t] : []];
|
|
3449
3474
|
}).filter(([, r]) => r.length > 0);
|
|
3450
3475
|
}
|
|
@@ -3452,31 +3477,31 @@ function vt(e) {
|
|
|
3452
3477
|
return e == null ? !1 : et(e).some(
|
|
3453
3478
|
(r) => {
|
|
3454
3479
|
var t;
|
|
3455
|
-
return (t =
|
|
3480
|
+
return (t = Pi(r)) == null ? void 0 : t.size;
|
|
3456
3481
|
}
|
|
3457
3482
|
);
|
|
3458
3483
|
}
|
|
3459
|
-
function
|
|
3484
|
+
function fs(e, r) {
|
|
3460
3485
|
return Promise.all(
|
|
3461
|
-
r.map((i) => (
|
|
3462
|
-
).then((i) =>
|
|
3486
|
+
r.map((i) => (cs(e, i), i().then((n) => n.default || n)))
|
|
3487
|
+
).then((i) => Si(e, ...i));
|
|
3463
3488
|
}
|
|
3464
3489
|
const vr = {};
|
|
3465
|
-
function
|
|
3490
|
+
function xi(e) {
|
|
3466
3491
|
if (!vt(e))
|
|
3467
3492
|
return e in vr ? vr[e] : Promise.resolve();
|
|
3468
|
-
const r =
|
|
3493
|
+
const r = hs(e);
|
|
3469
3494
|
return vr[e] = Promise.all(
|
|
3470
3495
|
r.map(
|
|
3471
|
-
([t, i]) =>
|
|
3496
|
+
([t, i]) => fs(t, i)
|
|
3472
3497
|
)
|
|
3473
3498
|
).then(() => {
|
|
3474
3499
|
if (vt(e))
|
|
3475
|
-
return
|
|
3500
|
+
return xi(e);
|
|
3476
3501
|
delete vr[e];
|
|
3477
3502
|
}), vr[e];
|
|
3478
3503
|
}
|
|
3479
|
-
const
|
|
3504
|
+
const ds = {
|
|
3480
3505
|
number: {
|
|
3481
3506
|
scientific: { notation: "scientific" },
|
|
3482
3507
|
engineering: { notation: "engineering" },
|
|
@@ -3505,34 +3530,34 @@ const fs = {
|
|
|
3505
3530
|
timeZoneName: "short"
|
|
3506
3531
|
}
|
|
3507
3532
|
}
|
|
3508
|
-
},
|
|
3533
|
+
}, ms = {
|
|
3509
3534
|
fallbackLocale: null,
|
|
3510
3535
|
loadingDelay: 200,
|
|
3511
|
-
formats:
|
|
3536
|
+
formats: ds,
|
|
3512
3537
|
warnOnMissingMessages: !0,
|
|
3513
3538
|
handleMissingMessage: void 0,
|
|
3514
3539
|
ignoreTag: !0
|
|
3515
|
-
},
|
|
3540
|
+
}, gs = ms;
|
|
3516
3541
|
function ar() {
|
|
3517
|
-
return
|
|
3542
|
+
return gs;
|
|
3518
3543
|
}
|
|
3519
3544
|
const ct = Jr(!1);
|
|
3520
|
-
var
|
|
3545
|
+
var ps = Object.defineProperty, bs = Object.defineProperties, ys = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, Es = Object.prototype.hasOwnProperty, vs = Object.prototype.propertyIsEnumerable, jt = (e, r, t) => r in e ? ps(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, ws = (e, r) => {
|
|
3521
3546
|
for (var t in r || (r = {}))
|
|
3522
|
-
|
|
3523
|
-
if (
|
|
3524
|
-
for (var t of
|
|
3525
|
-
|
|
3547
|
+
Es.call(r, t) && jt(e, t, r[t]);
|
|
3548
|
+
if (Gt)
|
|
3549
|
+
for (var t of Gt(r))
|
|
3550
|
+
vs.call(r, t) && jt(e, t, r[t]);
|
|
3526
3551
|
return e;
|
|
3527
|
-
},
|
|
3552
|
+
}, _s = (e, r) => bs(e, ys(r));
|
|
3528
3553
|
let wt;
|
|
3529
3554
|
const Wr = Jr(null);
|
|
3530
|
-
function
|
|
3555
|
+
function Vt(e) {
|
|
3531
3556
|
return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
|
|
3532
3557
|
}
|
|
3533
3558
|
function et(e, r = ar().fallbackLocale) {
|
|
3534
|
-
const t =
|
|
3535
|
-
return r ? [.../* @__PURE__ */ new Set([...t, ...
|
|
3559
|
+
const t = Vt(e);
|
|
3560
|
+
return r ? [.../* @__PURE__ */ new Set([...t, ...Vt(r)])] : t;
|
|
3536
3561
|
}
|
|
3537
3562
|
function Fe() {
|
|
3538
3563
|
return wt ?? void 0;
|
|
@@ -3540,22 +3565,22 @@ function Fe() {
|
|
|
3540
3565
|
Wr.subscribe((e) => {
|
|
3541
3566
|
wt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3542
3567
|
});
|
|
3543
|
-
const
|
|
3544
|
-
if (e &&
|
|
3568
|
+
const Ss = (e) => {
|
|
3569
|
+
if (e && us(e) && vt(e)) {
|
|
3545
3570
|
const { loadingDelay: r } = ar();
|
|
3546
3571
|
let t;
|
|
3547
3572
|
return typeof window < "u" && Fe() != null && r ? t = window.setTimeout(
|
|
3548
3573
|
() => ct.set(!0),
|
|
3549
3574
|
r
|
|
3550
|
-
) : ct.set(!0),
|
|
3575
|
+
) : ct.set(!0), xi(e).then(() => {
|
|
3551
3576
|
Wr.set(e);
|
|
3552
3577
|
}).finally(() => {
|
|
3553
3578
|
clearTimeout(t), ct.set(!1);
|
|
3554
3579
|
});
|
|
3555
3580
|
}
|
|
3556
3581
|
return Wr.set(e);
|
|
3557
|
-
}, cr = ws(
|
|
3558
|
-
set:
|
|
3582
|
+
}, cr = _s(ws({}, Wr), {
|
|
3583
|
+
set: Ss
|
|
3559
3584
|
}), rt = (e) => {
|
|
3560
3585
|
const r = /* @__PURE__ */ Object.create(null);
|
|
3561
3586
|
return (i) => {
|
|
@@ -3563,20 +3588,20 @@ const _s = (e) => {
|
|
|
3563
3588
|
return n in r ? r[n] : r[n] = e(i);
|
|
3564
3589
|
};
|
|
3565
3590
|
};
|
|
3566
|
-
var
|
|
3591
|
+
var Ps = Object.defineProperty, qr = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, $t = (e, r, t) => r in e ? Ps(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ct = (e, r) => {
|
|
3567
3592
|
for (var t in r || (r = {}))
|
|
3568
|
-
|
|
3593
|
+
Ci.call(r, t) && $t(e, t, r[t]);
|
|
3569
3594
|
if (qr)
|
|
3570
3595
|
for (var t of qr(r))
|
|
3571
|
-
|
|
3596
|
+
Ai.call(r, t) && $t(e, t, r[t]);
|
|
3572
3597
|
return e;
|
|
3573
3598
|
}, hr = (e, r) => {
|
|
3574
3599
|
var t = {};
|
|
3575
3600
|
for (var i in e)
|
|
3576
|
-
|
|
3601
|
+
Ci.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
3577
3602
|
if (e != null && qr)
|
|
3578
3603
|
for (var i of qr(e))
|
|
3579
|
-
r.indexOf(i) < 0 &&
|
|
3604
|
+
r.indexOf(i) < 0 && Ai.call(e, i) && (t[i] = e[i]);
|
|
3580
3605
|
return t;
|
|
3581
3606
|
};
|
|
3582
3607
|
const xr = (e, r) => {
|
|
@@ -3584,21 +3609,21 @@ const xr = (e, r) => {
|
|
|
3584
3609
|
if (e in t && r in t[e])
|
|
3585
3610
|
return t[e][r];
|
|
3586
3611
|
throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
|
|
3587
|
-
},
|
|
3612
|
+
}, xs = rt(
|
|
3588
3613
|
(e) => {
|
|
3589
3614
|
var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
|
|
3590
3615
|
if (t == null)
|
|
3591
3616
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3592
3617
|
return i && (n = xr("number", i)), new Intl.NumberFormat(t, n);
|
|
3593
3618
|
}
|
|
3594
|
-
),
|
|
3619
|
+
), Cs = rt(
|
|
3595
3620
|
(e) => {
|
|
3596
3621
|
var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
|
|
3597
3622
|
if (t == null)
|
|
3598
3623
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3599
3624
|
return i ? n = xr("date", i) : Object.keys(n).length === 0 && (n = xr("date", "short")), new Intl.DateTimeFormat(t, n);
|
|
3600
3625
|
}
|
|
3601
|
-
),
|
|
3626
|
+
), As = rt(
|
|
3602
3627
|
(e) => {
|
|
3603
3628
|
var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
|
|
3604
3629
|
if (t == null)
|
|
@@ -3607,33 +3632,33 @@ const xr = (e, r) => {
|
|
|
3607
3632
|
);
|
|
3608
3633
|
return i ? n = xr("time", i) : Object.keys(n).length === 0 && (n = xr("time", "short")), new Intl.DateTimeFormat(t, n);
|
|
3609
3634
|
}
|
|
3610
|
-
),
|
|
3635
|
+
), Ts = (e = {}) => {
|
|
3611
3636
|
var r = e, {
|
|
3612
3637
|
locale: t = Fe()
|
|
3613
3638
|
} = r, i = hr(r, [
|
|
3614
3639
|
"locale"
|
|
3615
3640
|
]);
|
|
3616
|
-
return
|
|
3617
|
-
},
|
|
3641
|
+
return xs(Ct({ locale: t }, i));
|
|
3642
|
+
}, Hs = (e = {}) => {
|
|
3618
3643
|
var r = e, {
|
|
3619
3644
|
locale: t = Fe()
|
|
3620
3645
|
} = r, i = hr(r, [
|
|
3621
3646
|
"locale"
|
|
3622
3647
|
]);
|
|
3623
|
-
return
|
|
3624
|
-
},
|
|
3648
|
+
return Cs(Ct({ locale: t }, i));
|
|
3649
|
+
}, Bs = (e = {}) => {
|
|
3625
3650
|
var r = e, {
|
|
3626
3651
|
locale: t = Fe()
|
|
3627
3652
|
} = r, i = hr(r, [
|
|
3628
3653
|
"locale"
|
|
3629
3654
|
]);
|
|
3630
|
-
return
|
|
3631
|
-
},
|
|
3655
|
+
return As(Ct({ locale: t }, i));
|
|
3656
|
+
}, Is = rt(
|
|
3632
3657
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3633
|
-
(e, r = Fe()) => new
|
|
3658
|
+
(e, r = Fe()) => new ns(e, r, ar().formats, {
|
|
3634
3659
|
ignoreTag: ar().ignoreTag
|
|
3635
3660
|
})
|
|
3636
|
-
),
|
|
3661
|
+
), Ns = (e, r = {}) => {
|
|
3637
3662
|
var t, i, n, s;
|
|
3638
3663
|
let u = r;
|
|
3639
3664
|
typeof e == "object" && (u = e, e = u.id);
|
|
@@ -3646,7 +3671,7 @@ const xr = (e, r) => {
|
|
|
3646
3671
|
throw new Error(
|
|
3647
3672
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3648
3673
|
);
|
|
3649
|
-
let h =
|
|
3674
|
+
let h = wi(e, f);
|
|
3650
3675
|
if (!h)
|
|
3651
3676
|
h = (s = (n = (i = (t = ar()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: f, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
|
|
3652
3677
|
else if (typeof h != "string")
|
|
@@ -3657,7 +3682,7 @@ const xr = (e, r) => {
|
|
|
3657
3682
|
return h;
|
|
3658
3683
|
let m = h;
|
|
3659
3684
|
try {
|
|
3660
|
-
m =
|
|
3685
|
+
m = Is(h, f).format(a);
|
|
3661
3686
|
} catch (g) {
|
|
3662
3687
|
g instanceof Error && console.warn(
|
|
3663
3688
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3665,18 +3690,18 @@ const xr = (e, r) => {
|
|
|
3665
3690
|
);
|
|
3666
3691
|
}
|
|
3667
3692
|
return m;
|
|
3668
|
-
},
|
|
3669
|
-
ur([cr], () => Ns);
|
|
3693
|
+
}, Os = (e, r) => Bs(r).format(e), Ls = (e, r) => Hs(r).format(e), Ms = (e, r) => Ts(r).format(e), Rs = (e, r = Fe()) => wi(e, r), Us = ur([cr, Cr], () => Ns);
|
|
3670
3694
|
ur([cr], () => Os);
|
|
3671
3695
|
ur([cr], () => Ls);
|
|
3672
|
-
ur([cr
|
|
3673
|
-
|
|
3674
|
-
|
|
3696
|
+
ur([cr], () => Ms);
|
|
3697
|
+
ur([cr, Cr], () => Rs);
|
|
3698
|
+
function Qt(e, r) {
|
|
3699
|
+
Si(e, r);
|
|
3675
3700
|
}
|
|
3676
|
-
function
|
|
3701
|
+
function ks(e) {
|
|
3677
3702
|
cr.set(e);
|
|
3678
3703
|
}
|
|
3679
|
-
const
|
|
3704
|
+
const zt = {
|
|
3680
3705
|
en: {
|
|
3681
3706
|
registerTitle: "Create your account",
|
|
3682
3707
|
registerSubtitle: "Already have an account?",
|
|
@@ -3931,13 +3956,13 @@ const $t = {
|
|
|
3931
3956
|
registerNext: "Next"
|
|
3932
3957
|
}
|
|
3933
3958
|
};
|
|
3934
|
-
function
|
|
3959
|
+
function Fs(e, r) {
|
|
3935
3960
|
if (e) {
|
|
3936
3961
|
const t = document.createElement("style");
|
|
3937
3962
|
t.innerHTML = r, e.appendChild(t);
|
|
3938
3963
|
}
|
|
3939
3964
|
}
|
|
3940
|
-
function
|
|
3965
|
+
function Ds(e, r) {
|
|
3941
3966
|
const t = new URL(r);
|
|
3942
3967
|
fetch(t.href).then((i) => i.text()).then((i) => {
|
|
3943
3968
|
const n = document.createElement("style");
|
|
@@ -3946,7 +3971,7 @@ function Fs(e, r) {
|
|
|
3946
3971
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
3947
3972
|
});
|
|
3948
3973
|
}
|
|
3949
|
-
function
|
|
3974
|
+
function Gs(e, r, t) {
|
|
3950
3975
|
if (window.emMessageBus) {
|
|
3951
3976
|
const i = document.createElement("style");
|
|
3952
3977
|
window.emMessageBus.subscribe(r, (n) => {
|
|
@@ -3954,10 +3979,10 @@ function Ds(e, r, t) {
|
|
|
3954
3979
|
});
|
|
3955
3980
|
}
|
|
3956
3981
|
}
|
|
3957
|
-
function
|
|
3958
|
-
|
|
3982
|
+
function js(e) {
|
|
3983
|
+
Bi(e, "svelte-6m40jp", ".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.PromoCodeContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.PromoCodeContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.PromoCodeContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.PromoCodeContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.PromoCodeContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect,.ToggleConfirmPasswordVisibility.InvalidToggle path,.ToggleConfirmPasswordVisibility.InvalidToggle circle,.ToggleConfirmPasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}");
|
|
3959
3984
|
}
|
|
3960
|
-
function
|
|
3985
|
+
function Xt(e) {
|
|
3961
3986
|
let r, t = (
|
|
3962
3987
|
/*$_*/
|
|
3963
3988
|
e[30]("registerEmailError") + ""
|
|
@@ -3979,7 +4004,7 @@ function Qt(e) {
|
|
|
3979
4004
|
}
|
|
3980
4005
|
};
|
|
3981
4006
|
}
|
|
3982
|
-
function
|
|
4007
|
+
function Zt(e) {
|
|
3983
4008
|
let r, t = (
|
|
3984
4009
|
/*$_*/
|
|
3985
4010
|
e[30]("registerUsernameError") + ""
|
|
@@ -4001,7 +4026,7 @@ function zt(e) {
|
|
|
4001
4026
|
}
|
|
4002
4027
|
};
|
|
4003
4028
|
}
|
|
4004
|
-
function
|
|
4029
|
+
function Vs(e) {
|
|
4005
4030
|
let r, t, i, n, s, u, a, f, c;
|
|
4006
4031
|
return {
|
|
4007
4032
|
c() {
|
|
@@ -4021,7 +4046,7 @@ function js(e) {
|
|
|
4021
4046
|
}
|
|
4022
4047
|
};
|
|
4023
4048
|
}
|
|
4024
|
-
function
|
|
4049
|
+
function $s(e) {
|
|
4025
4050
|
let r, t, i, n, s, u, a, f, c, h, m, g, b, w, y;
|
|
4026
4051
|
return {
|
|
4027
4052
|
c() {
|
|
@@ -4041,7 +4066,7 @@ function Vs(e) {
|
|
|
4041
4066
|
}
|
|
4042
4067
|
};
|
|
4043
4068
|
}
|
|
4044
|
-
function
|
|
4069
|
+
function Wt(e) {
|
|
4045
4070
|
let r, t = (
|
|
4046
4071
|
/*$_*/
|
|
4047
4072
|
e[30]("registerPasswordError") + ""
|
|
@@ -4063,7 +4088,7 @@ function Xt(e) {
|
|
|
4063
4088
|
}
|
|
4064
4089
|
};
|
|
4065
4090
|
}
|
|
4066
|
-
function
|
|
4091
|
+
function qt(e) {
|
|
4067
4092
|
let r, t = (
|
|
4068
4093
|
/*$_*/
|
|
4069
4094
|
e[30]("registerSimplePasswordError") + ""
|
|
@@ -4085,7 +4110,7 @@ function Zt(e) {
|
|
|
4085
4110
|
}
|
|
4086
4111
|
};
|
|
4087
4112
|
}
|
|
4088
|
-
function
|
|
4113
|
+
function Qs(e) {
|
|
4089
4114
|
let r, t, i, n, s, u, a, f, c;
|
|
4090
4115
|
return {
|
|
4091
4116
|
c() {
|
|
@@ -4105,7 +4130,7 @@ function $s(e) {
|
|
|
4105
4130
|
}
|
|
4106
4131
|
};
|
|
4107
4132
|
}
|
|
4108
|
-
function
|
|
4133
|
+
function zs(e) {
|
|
4109
4134
|
let r, t, i, n, s, u, a, f, c, h, m, g, b, w, y;
|
|
4110
4135
|
return {
|
|
4111
4136
|
c() {
|
|
@@ -4125,7 +4150,7 @@ function Qs(e) {
|
|
|
4125
4150
|
}
|
|
4126
4151
|
};
|
|
4127
4152
|
}
|
|
4128
|
-
function
|
|
4153
|
+
function Jt(e) {
|
|
4129
4154
|
let r, t = (
|
|
4130
4155
|
/*$_*/
|
|
4131
4156
|
e[30]("registerConfirmPasswordError") + ""
|
|
@@ -4147,7 +4172,7 @@ function Wt(e) {
|
|
|
4147
4172
|
}
|
|
4148
4173
|
};
|
|
4149
4174
|
}
|
|
4150
|
-
function
|
|
4175
|
+
function Yt(e) {
|
|
4151
4176
|
let r, t = (
|
|
4152
4177
|
/*custominputtextswitch*/
|
|
4153
4178
|
(e[2] == "true" ? (
|
|
@@ -4181,7 +4206,7 @@ function qt(e) {
|
|
|
4181
4206
|
}
|
|
4182
4207
|
};
|
|
4183
4208
|
}
|
|
4184
|
-
function
|
|
4209
|
+
function Kt(e) {
|
|
4185
4210
|
let r, t = (
|
|
4186
4211
|
/*custominputtextswitch*/
|
|
4187
4212
|
(e[2] == "true" ? (
|
|
@@ -4215,7 +4240,7 @@ function Jt(e) {
|
|
|
4215
4240
|
}
|
|
4216
4241
|
};
|
|
4217
4242
|
}
|
|
4218
|
-
function
|
|
4243
|
+
function Xs(e) {
|
|
4219
4244
|
let r, t, i, n = (
|
|
4220
4245
|
/*$_*/
|
|
4221
4246
|
e[30]("registerTitle") + ""
|
|
@@ -4261,43 +4286,43 @@ function zs(e) {
|
|
|
4261
4286
|
), Er, Fr, Ye, Dr, ae, Gr, Ke, p, N, le = (
|
|
4262
4287
|
/*$_*/
|
|
4263
4288
|
e[30]("registerNext") + ""
|
|
4264
|
-
), tt, jr, it,
|
|
4289
|
+
), tt, jr, it, At, W = (
|
|
4265
4290
|
/*invalidEmail*/
|
|
4266
|
-
e[4] &&
|
|
4291
|
+
e[4] && Xt(e)
|
|
4267
4292
|
), q = (
|
|
4268
4293
|
/*invalidName*/
|
|
4269
|
-
e[5] &&
|
|
4294
|
+
e[5] && Zt(e)
|
|
4270
4295
|
);
|
|
4271
|
-
function
|
|
4296
|
+
function Tt(d, v) {
|
|
4272
4297
|
return (
|
|
4273
4298
|
/*isPasswordVisible*/
|
|
4274
|
-
d[25] ?
|
|
4299
|
+
d[25] ? $s : Vs
|
|
4275
4300
|
);
|
|
4276
4301
|
}
|
|
4277
|
-
let Vr =
|
|
4302
|
+
let Vr = Tt(e), _e = Vr(e), J = (
|
|
4278
4303
|
/*invalidPassword*/
|
|
4279
4304
|
e[6] && /*simplepasswordvalidation*/
|
|
4280
|
-
e[0] !== "true" &&
|
|
4305
|
+
e[0] !== "true" && Wt(e)
|
|
4281
4306
|
), Y = (
|
|
4282
4307
|
/*invalidPassword*/
|
|
4283
4308
|
e[6] && /*simplepasswordvalidation*/
|
|
4284
|
-
e[0] === "true" &&
|
|
4309
|
+
e[0] === "true" && qt(e)
|
|
4285
4310
|
);
|
|
4286
|
-
function
|
|
4311
|
+
function Ht(d, v) {
|
|
4287
4312
|
return (
|
|
4288
4313
|
/*isConfirmPasswordVisible*/
|
|
4289
|
-
d[26] ?
|
|
4314
|
+
d[26] ? zs : Qs
|
|
4290
4315
|
);
|
|
4291
4316
|
}
|
|
4292
|
-
let $r =
|
|
4317
|
+
let $r = Ht(e), Se = $r(e), K = (
|
|
4293
4318
|
/*invalidConfirmPassword*/
|
|
4294
|
-
e[7] &&
|
|
4319
|
+
e[7] && Jt(e)
|
|
4295
4320
|
), ee = (
|
|
4296
4321
|
/*invalidSecurityQuestion*/
|
|
4297
|
-
e[8] &&
|
|
4322
|
+
e[8] && Yt(e)
|
|
4298
4323
|
), re = (
|
|
4299
4324
|
/*invalidSecurityAnswer*/
|
|
4300
|
-
e[9] &&
|
|
4325
|
+
e[9] && Kt(e)
|
|
4301
4326
|
);
|
|
4302
4327
|
return {
|
|
4303
4328
|
c() {
|
|
@@ -4355,7 +4380,7 @@ function zs(e) {
|
|
|
4355
4380
|
ae,
|
|
4356
4381
|
/*securityAnswer*/
|
|
4357
4382
|
e[23]
|
|
4358
|
-
), l(de, Gr), re && re.m(de, null), l(y, p), l(y, N), l(N, tt), e[79](r), it || (
|
|
4383
|
+
), l(de, Gr), re && re.m(de, null), l(y, p), l(y, N), l(N, tt), e[79](r), it || (At = [
|
|
4359
4384
|
x(
|
|
4360
4385
|
m,
|
|
4361
4386
|
"click",
|
|
@@ -4554,7 +4579,7 @@ function zs(e) {
|
|
|
4554
4579
|
/*userEmail*/
|
|
4555
4580
|
d[19]
|
|
4556
4581
|
), /*invalidEmail*/
|
|
4557
|
-
d[4] ? W ? W.p(d, v) : (W =
|
|
4582
|
+
d[4] ? W ? W.p(d, v) : (W = Xt(d), W.c(), W.m(A, null)) : W && (W.d(1), W = null), v[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
|
|
4558
4583
|
132112 && Ce !== (Ce = "EmailContainer " + /*invalidEmail*/
|
|
4559
4584
|
(d[4] && !/*emailFocus*/
|
|
4560
4585
|
d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4569,7 +4594,7 @@ function zs(e) {
|
|
|
4569
4594
|
/*userValue*/
|
|
4570
4595
|
d[18]
|
|
4571
4596
|
), /*invalidName*/
|
|
4572
|
-
d[5] ? q ? q.p(d, v) : (q =
|
|
4597
|
+
d[5] ? q ? q.p(d, v) : (q = Zt(d), q.c(), q.m(k, null)) : q && (q.d(1), q = null), v[0] & /*invalidName, usernameFocus, disabledFieldsList*/
|
|
4573
4598
|
133152 && ye !== (ye = "UserContainer " + /*invalidName*/
|
|
4574
4599
|
(d[5] && !/*usernameFocus*/
|
|
4575
4600
|
d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4583,11 +4608,11 @@ function zs(e) {
|
|
|
4583
4608
|
B,
|
|
4584
4609
|
/*userPassword*/
|
|
4585
4610
|
d[20]
|
|
4586
|
-
), Vr === (Vr =
|
|
4611
|
+
), Vr === (Vr = Tt(d)) && _e ? _e.p(d, v) : (_e.d(1), _e = Vr(d), _e && (_e.c(), _e.m(C, dr))), /*invalidPassword*/
|
|
4587
4612
|
d[6] && /*simplepasswordvalidation*/
|
|
4588
|
-
d[0] !== "true" ? J ? J.p(d, v) : (J =
|
|
4613
|
+
d[0] !== "true" ? J ? J.p(d, v) : (J = Wt(d), J.c(), J.m(C, je)) : J && (J.d(1), J = null), /*invalidPassword*/
|
|
4589
4614
|
d[6] && /*simplepasswordvalidation*/
|
|
4590
|
-
d[0] === "true" ? Y ? Y.p(d, v) : (Y =
|
|
4615
|
+
d[0] === "true" ? Y ? Y.p(d, v) : (Y = qt(d), Y.c(), Y.m(C, null)) : Y && (Y.d(1), Y = null), v[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
|
|
4591
4616
|
135232 && Me !== (Me = "PasswordContainer " + /*invalidPassword*/
|
|
4592
4617
|
(d[6] && !/*passwordFocus*/
|
|
4593
4618
|
d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4601,8 +4626,8 @@ function zs(e) {
|
|
|
4601
4626
|
$,
|
|
4602
4627
|
/*confirmUserPassword*/
|
|
4603
4628
|
d[21]
|
|
4604
|
-
), $r === ($r =
|
|
4605
|
-
d[7] ? K ? K.p(d, v) : (K =
|
|
4629
|
+
), $r === ($r = Ht(d)) && Se ? Se.p(d, v) : (Se.d(1), Se = $r(d), Se && (Se.c(), Se.m(j, Qe))), /*invalidConfirmPassword*/
|
|
4630
|
+
d[7] ? K ? K.p(d, v) : (K = Jt(d), K.c(), K.m(j, null)) : K && (K.d(1), K = null), v[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
|
|
4606
4631
|
139392 && Ue !== (Ue = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4607
4632
|
(d[7] && !/*confirmPasswordFocus*/
|
|
4608
4633
|
d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4631,7 +4656,7 @@ function zs(e) {
|
|
|
4631
4656
|
/*securityQuestion*/
|
|
4632
4657
|
d[22]
|
|
4633
4658
|
), /*invalidSecurityQuestion*/
|
|
4634
|
-
d[8] ? ee ? ee.p(d, v) : (ee =
|
|
4659
|
+
d[8] ? ee ? ee.p(d, v) : (ee = Yt(d), ee.c(), ee.m(fe, null)) : ee && (ee.d(1), ee = null), v[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
|
|
4635
4660
|
147712 && qe !== (qe = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4636
4661
|
(d[8] && !/*securityQFocus*/
|
|
4637
4662
|
d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4650,7 +4675,7 @@ function zs(e) {
|
|
|
4650
4675
|
/*securityAnswer*/
|
|
4651
4676
|
d[23]
|
|
4652
4677
|
), /*invalidSecurityAnswer*/
|
|
4653
|
-
d[9] ? re ? re.p(d, v) : (re =
|
|
4678
|
+
d[9] ? re ? re.p(d, v) : (re = Kt(d), re.c(), re.m(de, null)) : re && (re.d(1), re = null), v[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
|
|
4654
4679
|
164352 && Ke !== (Ke = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4655
4680
|
(d[9] && !/*securityAFocus*/
|
|
4656
4681
|
d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4663,13 +4688,13 @@ function zs(e) {
|
|
|
4663
4688
|
i: z,
|
|
4664
4689
|
o: z,
|
|
4665
4690
|
d(d) {
|
|
4666
|
-
d && ie(r), W && W.d(), q && q.d(), e[60](null), _e.d(), J && J.d(), Y && Y.d(), e[66](null), Se.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null), it = !1, lr(
|
|
4691
|
+
d && ie(r), W && W.d(), q && q.d(), e[60](null), _e.d(), J && J.d(), Y && Y.d(), e[66](null), Se.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null), it = !1, lr(At);
|
|
4667
4692
|
}
|
|
4668
4693
|
};
|
|
4669
4694
|
}
|
|
4670
|
-
function
|
|
4695
|
+
function Zs(e, r, t) {
|
|
4671
4696
|
let i;
|
|
4672
|
-
|
|
4697
|
+
Hi(e, Us, (p) => t(30, i = p));
|
|
4673
4698
|
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: u = "false" } = r, { mbsource: a } = r, { clientstyling: f = "" } = r, { clientstylingurl: c = "" } = r, { translationurl: h = "" } = r, { savecredentials: m = "" } = r, { custominputtextswitch: g = "false" } = r, b = !1, w = !1, y = !1, A = !1, O = !1, M = !1, R = !1, ce = !1, G = !1, me = !1, U = !1, De = !1, Ce = !1, Ge, k = "", X = "", he = "", ge = "", ne = "", V = "", Ae = "", F = !1, Pe = !1, Te, ye, pe = {}, C = {
|
|
4674
4699
|
username: !1,
|
|
4675
4700
|
email: !1,
|
|
@@ -4687,14 +4712,14 @@ function Xs(e, r, t) {
|
|
|
4687
4712
|
const Ar = () => {
|
|
4688
4713
|
fetch(h).then((N) => N.json()).then((N) => {
|
|
4689
4714
|
Object.keys(N).forEach((le) => {
|
|
4690
|
-
|
|
4715
|
+
Qt(le, N[le]);
|
|
4691
4716
|
});
|
|
4692
4717
|
}).catch((N) => {
|
|
4693
4718
|
console.log(N);
|
|
4694
4719
|
});
|
|
4695
4720
|
};
|
|
4696
|
-
Object.keys(
|
|
4697
|
-
|
|
4721
|
+
Object.keys(zt).forEach((p) => {
|
|
4722
|
+
Qt(p, zt[p]);
|
|
4698
4723
|
});
|
|
4699
4724
|
const Oe = () => {
|
|
4700
4725
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
@@ -4750,36 +4775,38 @@ function Xs(e, r, t) {
|
|
|
4750
4775
|
}, gr = () => {
|
|
4751
4776
|
pe.promoCode = Ae;
|
|
4752
4777
|
}, $ = () => {
|
|
4753
|
-
if (pe.securityQuestion = ne, ne)
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4778
|
+
if (pe.securityQuestion = ne, ne)
|
|
4779
|
+
switch (g) {
|
|
4780
|
+
case "true":
|
|
4781
|
+
if (ve.document.test(ne) && ne.length <= 50) {
|
|
4782
|
+
t(8, O = !1), C.securityQuestion = !O, B();
|
|
4783
|
+
return;
|
|
4784
|
+
}
|
|
4785
|
+
break;
|
|
4786
|
+
case "false":
|
|
4787
|
+
if (ne && ne.length <= 120) {
|
|
4788
|
+
t(8, O = !1), C.securityQuestion = !O, B();
|
|
4789
|
+
return;
|
|
4790
|
+
}
|
|
4791
|
+
break;
|
|
4792
|
+
}
|
|
4767
4793
|
t(8, O = !0), C.securityQuestion = !O, B();
|
|
4768
4794
|
}, pr = () => {
|
|
4769
|
-
if (pe.securityAnswer = V, V)
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4795
|
+
if (pe.securityAnswer = V, V)
|
|
4796
|
+
switch (g) {
|
|
4797
|
+
case "true":
|
|
4798
|
+
if (ve.document.test(V) && V.length <= 50) {
|
|
4799
|
+
t(9, M = !1), C.securityAnswer = !M, B();
|
|
4800
|
+
return;
|
|
4801
|
+
}
|
|
4802
|
+
break;
|
|
4803
|
+
case "false":
|
|
4804
|
+
if (V && V.length <= 120) {
|
|
4805
|
+
t(9, M = !1), C.securityAnswer = !M, B();
|
|
4806
|
+
return;
|
|
4807
|
+
}
|
|
4808
|
+
break;
|
|
4809
|
+
}
|
|
4783
4810
|
t(9, M = !0), C.securityAnswer = !M, B();
|
|
4784
4811
|
}, Qe = (p) => {
|
|
4785
4812
|
p.preventDefault(), window.postMessage(
|
|
@@ -4802,9 +4829,9 @@ function Xs(e, r, t) {
|
|
|
4802
4829
|
}, Br = () => {
|
|
4803
4830
|
t(17, Ge = s.split(","));
|
|
4804
4831
|
}, we = () => {
|
|
4805
|
-
|
|
4832
|
+
ks(n);
|
|
4806
4833
|
};
|
|
4807
|
-
|
|
4834
|
+
Ri(() => (window.addEventListener("message", Ue, !1), () => {
|
|
4808
4835
|
window.removeEventListener("message", Ue);
|
|
4809
4836
|
}));
|
|
4810
4837
|
const ke = () => Oe();
|
|
@@ -4861,11 +4888,11 @@ function Xs(e, r, t) {
|
|
|
4861
4888
|
16384 && s && Br(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
4862
4889
|
1 && u && dr(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4863
4890
|
8 | e.$$.dirty[1] & /*clientstyling*/
|
|
4864
|
-
65536 && f && Z &&
|
|
4891
|
+
65536 && f && Z && Fs(Z, f), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4865
4892
|
8 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
4866
|
-
131072 && c && Z &&
|
|
4893
|
+
131072 && c && Z && Ds(Z, c), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4867
4894
|
8 | e.$$.dirty[1] & /*mbsource*/
|
|
4868
|
-
32768 && a && Z &&
|
|
4895
|
+
32768 && a && Z && Gs(Z, `${a}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
4869
4896
|
262144 && h && Ar();
|
|
4870
4897
|
}, [
|
|
4871
4898
|
u,
|
|
@@ -4950,14 +4977,14 @@ function Xs(e, r, t) {
|
|
|
4950
4977
|
Ke
|
|
4951
4978
|
];
|
|
4952
4979
|
}
|
|
4953
|
-
class
|
|
4980
|
+
class Ws extends Zi {
|
|
4954
4981
|
constructor(r) {
|
|
4955
|
-
super(),
|
|
4982
|
+
super(), zi(
|
|
4956
4983
|
this,
|
|
4957
4984
|
r,
|
|
4985
|
+
Zs,
|
|
4958
4986
|
Xs,
|
|
4959
|
-
|
|
4960
|
-
Kt,
|
|
4987
|
+
ri,
|
|
4961
4988
|
{
|
|
4962
4989
|
lang: 44,
|
|
4963
4990
|
disabledfields: 45,
|
|
@@ -4969,7 +4996,7 @@ class Zs extends zi {
|
|
|
4969
4996
|
savecredentials: 1,
|
|
4970
4997
|
custominputtextswitch: 2
|
|
4971
4998
|
},
|
|
4972
|
-
|
|
4999
|
+
js,
|
|
4973
5000
|
[-1, -1, -1, -1]
|
|
4974
5001
|
);
|
|
4975
5002
|
}
|
|
@@ -5028,7 +5055,7 @@ class Zs extends zi {
|
|
|
5028
5055
|
this.$$set({ custominputtextswitch: r }), be();
|
|
5029
5056
|
}
|
|
5030
5057
|
}
|
|
5031
|
-
|
|
5058
|
+
Xi(Ws, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
|
|
5032
5059
|
export {
|
|
5033
|
-
|
|
5060
|
+
Ws as G
|
|
5034
5061
|
};
|