@everymatrix/general-player-register-form-step1 1.54.12 → 1.55.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/{GeneralPlayerRegisterFormStep1-CZYzQF86.js → GeneralPlayerRegisterFormStep1-Boik-UZd.js} +370 -368
- package/components/{GeneralPlayerRegisterFormStep1-oZDxbUpk.cjs → GeneralPlayerRegisterFormStep1-GnOqmsg8.cjs} +2 -2
- package/components/{GeneralPlayerRegisterFormStep1-CYDwnQuK.js → GeneralPlayerRegisterFormStep1-yVXLDNXE.js} +354 -352
- 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
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function X() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function ei(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function It() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function ur(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(ei);
|
|
11
11
|
}
|
|
12
12
|
function wt(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,20 +27,20 @@ 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 Ii(e, r, t) {
|
|
37
|
+
const i = Bi(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
|
|
43
|
+
function Bi(e) {
|
|
44
44
|
if (!e) return document;
|
|
45
45
|
const r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
46
46
|
return r && /** @type {ShadowRoot} */
|
|
@@ -49,7 +49,7 @@ function Hi(e) {
|
|
|
49
49
|
r
|
|
50
50
|
) : e.ownerDocument;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Ni(e, r) {
|
|
53
53
|
return l(
|
|
54
54
|
/** @type {Document} */
|
|
55
55
|
e.head || e,
|
|
@@ -80,7 +80,7 @@ function x(e, r, t, i) {
|
|
|
80
80
|
function o(e, r, t) {
|
|
81
81
|
t == null ? e.removeAttribute(r) : e.getAttribute(r) !== t && e.setAttribute(r, t);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function Oi(e) {
|
|
84
84
|
return Array.from(e.childNodes);
|
|
85
85
|
}
|
|
86
86
|
function F(e, r) {
|
|
@@ -90,7 +90,7 @@ function F(e, r) {
|
|
|
90
90
|
function ne(e, r) {
|
|
91
91
|
e.value = r ?? "";
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function Li(e) {
|
|
94
94
|
const r = {};
|
|
95
95
|
return e.childNodes.forEach(
|
|
96
96
|
/** @param {Element} node */
|
|
@@ -103,19 +103,19 @@ let Cr;
|
|
|
103
103
|
function Sr(e) {
|
|
104
104
|
Cr = e;
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function Mi() {
|
|
107
107
|
if (!Cr) throw new Error("Function called outside component initialization");
|
|
108
108
|
return Cr;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
111
|
-
|
|
110
|
+
function Ri(e) {
|
|
111
|
+
Mi().$$.on_mount.push(e);
|
|
112
112
|
}
|
|
113
113
|
const ir = [], Pr = [];
|
|
114
114
|
let nr = [];
|
|
115
|
-
const
|
|
115
|
+
const Bt = [], Ui = /* @__PURE__ */ Promise.resolve();
|
|
116
116
|
let ht = !1;
|
|
117
|
-
function
|
|
118
|
-
ht || (ht = !0,
|
|
117
|
+
function ki() {
|
|
118
|
+
ht || (ht = !0, Ui.then(Ce));
|
|
119
119
|
}
|
|
120
120
|
function ft(e) {
|
|
121
121
|
nr.push(e);
|
|
@@ -130,7 +130,7 @@ function Ce() {
|
|
|
130
130
|
try {
|
|
131
131
|
for (; rr < ir.length; ) {
|
|
132
132
|
const r = ir[rr];
|
|
133
|
-
rr++, Sr(r),
|
|
133
|
+
rr++, Sr(r), Fi(r.$$);
|
|
134
134
|
}
|
|
135
135
|
} catch (r) {
|
|
136
136
|
throw ir.length = 0, rr = 0, r;
|
|
@@ -142,40 +142,40 @@ function Ce() {
|
|
|
142
142
|
}
|
|
143
143
|
nr.length = 0;
|
|
144
144
|
} while (ir.length);
|
|
145
|
-
for (;
|
|
146
|
-
|
|
145
|
+
for (; Bt.length; )
|
|
146
|
+
Bt.pop()();
|
|
147
147
|
ht = !1, nt.clear(), Sr(e);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Fi(e) {
|
|
150
150
|
if (e.fragment !== null) {
|
|
151
151
|
e.update(), ur(e.before_update);
|
|
152
152
|
const r = e.dirty;
|
|
153
153
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(ft);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function Di(e) {
|
|
157
157
|
const r = [], t = [];
|
|
158
158
|
nr.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), nr = r;
|
|
159
159
|
}
|
|
160
|
-
const
|
|
161
|
-
function
|
|
162
|
-
e && e.i && (
|
|
160
|
+
const Gi = /* @__PURE__ */ new Set();
|
|
161
|
+
function ji(e, r) {
|
|
162
|
+
e && e.i && (Gi.delete(e), e.i(r));
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function Vi(e, r, t) {
|
|
165
165
|
const { fragment: i, after_update: n } = e.$$;
|
|
166
166
|
i && i.m(r, t), ft(() => {
|
|
167
|
-
const s = e.$$.on_mount.map(
|
|
167
|
+
const s = e.$$.on_mount.map(ei).filter(wt);
|
|
168
168
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ur(s), e.$$.on_mount = [];
|
|
169
169
|
}), n.forEach(ft);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function $i(e, r) {
|
|
172
172
|
const t = e.$$;
|
|
173
|
-
t.fragment !== null && (
|
|
173
|
+
t.fragment !== null && (Di(t.after_update), ur(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
e.$$.dirty[0] === -1 && (ir.push(e),
|
|
175
|
+
function Qi(e, r) {
|
|
176
|
+
e.$$.dirty[0] === -1 && (ir.push(e), ki(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function zi(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
179
179
|
const f = Cr;
|
|
180
180
|
Sr(e);
|
|
181
181
|
const c = e.$$ = {
|
|
@@ -185,7 +185,7 @@ function $i(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
|
185
185
|
props: s,
|
|
186
186
|
update: X,
|
|
187
187
|
not_equal: n,
|
|
188
|
-
bound:
|
|
188
|
+
bound: It(),
|
|
189
189
|
// lifecycle
|
|
190
190
|
on_mount: [],
|
|
191
191
|
on_destroy: [],
|
|
@@ -194,7 +194,7 @@ function $i(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
|
194
194
|
after_update: [],
|
|
195
195
|
context: new Map(r.context || (f ? f.$$.context : [])),
|
|
196
196
|
// everything else
|
|
197
|
-
callbacks:
|
|
197
|
+
callbacks: It(),
|
|
198
198
|
dirty: a,
|
|
199
199
|
skip_bound: !1,
|
|
200
200
|
root: r.target || f.$$.root
|
|
@@ -203,19 +203,19 @@ function $i(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
|
203
203
|
let h = !1;
|
|
204
204
|
if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
|
|
205
205
|
const _ = b.length ? b[0] : g;
|
|
206
|
-
return c.ctx && n(c.ctx[m], c.ctx[m] = _) && (!c.skip_bound && c.bound[m] && c.bound[m](_), h &&
|
|
206
|
+
return c.ctx && n(c.ctx[m], c.ctx[m] = _) && (!c.skip_bound && c.bound[m] && c.bound[m](_), h && Qi(e, m)), g;
|
|
207
207
|
}) : [], c.update(), h = !0, ur(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
|
|
208
208
|
if (r.hydrate) {
|
|
209
|
-
const m =
|
|
209
|
+
const m = Oi(r.target);
|
|
210
210
|
c.fragment && c.fragment.l(m), m.forEach(se);
|
|
211
211
|
} else
|
|
212
212
|
c.fragment && c.fragment.c();
|
|
213
|
-
r.intro &&
|
|
213
|
+
r.intro && ji(e.$$.fragment), Vi(e, r.target, r.anchor), Ce();
|
|
214
214
|
}
|
|
215
215
|
Sr(f);
|
|
216
216
|
}
|
|
217
|
-
let
|
|
218
|
-
typeof HTMLElement == "function" && (
|
|
217
|
+
let ii;
|
|
218
|
+
typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
219
219
|
/** The Svelte component constructor */
|
|
220
220
|
$$ctor;
|
|
221
221
|
/** Slots */
|
|
@@ -274,7 +274,7 @@ typeof HTMLElement == "function" && (ri = class extends HTMLElement {
|
|
|
274
274
|
};
|
|
275
275
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
276
276
|
return;
|
|
277
|
-
const r = {}, t =
|
|
277
|
+
const r = {}, t = Li(this);
|
|
278
278
|
for (const n of this.$$s)
|
|
279
279
|
n in t && (r[n] = [e(n)]);
|
|
280
280
|
for (const n of this.attributes) {
|
|
@@ -361,8 +361,8 @@ function Xr(e, r, t, i) {
|
|
|
361
361
|
return r;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
let u = class extends
|
|
364
|
+
function Xi(e, r, t, i, n, s) {
|
|
365
|
+
let u = class extends ii {
|
|
366
366
|
constructor() {
|
|
367
367
|
super(e, t, n), this.$$p_d = r;
|
|
368
368
|
}
|
|
@@ -390,7 +390,7 @@ function Qi(e, r, t, i, n, s) {
|
|
|
390
390
|
}), e.element = /** @type {any} */
|
|
391
391
|
u, u;
|
|
392
392
|
}
|
|
393
|
-
class
|
|
393
|
+
class Zi {
|
|
394
394
|
/**
|
|
395
395
|
* ### PRIVATE API
|
|
396
396
|
*
|
|
@@ -409,7 +409,7 @@ class zi {
|
|
|
409
409
|
$$set = void 0;
|
|
410
410
|
/** @returns {void} */
|
|
411
411
|
$destroy() {
|
|
412
|
-
|
|
412
|
+
$i(this, 1), this.$destroy = X;
|
|
413
413
|
}
|
|
414
414
|
/**
|
|
415
415
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -431,13 +431,13 @@ class zi {
|
|
|
431
431
|
* @returns {void}
|
|
432
432
|
*/
|
|
433
433
|
$set(r) {
|
|
434
|
-
this.$$set && !
|
|
434
|
+
this.$$set && !Ti(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
|
-
const
|
|
438
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
437
|
+
const Wi = "4";
|
|
438
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wi);
|
|
439
439
|
const tr = [];
|
|
440
|
-
function
|
|
440
|
+
function qi(e, r) {
|
|
441
441
|
return {
|
|
442
442
|
subscribe: Yr(e, r).subscribe
|
|
443
443
|
};
|
|
@@ -446,7 +446,7 @@ function Yr(e, r = X) {
|
|
|
446
446
|
let t;
|
|
447
447
|
const i = /* @__PURE__ */ new Set();
|
|
448
448
|
function n(a) {
|
|
449
|
-
if (
|
|
449
|
+
if (ri(e, a) && (e = a, t)) {
|
|
450
450
|
const f = !tr.length;
|
|
451
451
|
for (const c of i)
|
|
452
452
|
c[1](), tr.push(c, e);
|
|
@@ -473,7 +473,7 @@ function cr(e, r, t) {
|
|
|
473
473
|
if (!n.every(Boolean))
|
|
474
474
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
475
475
|
const s = r.length < 2;
|
|
476
|
-
return
|
|
476
|
+
return qi(t, (u, a) => {
|
|
477
477
|
let f = !1;
|
|
478
478
|
const c = [];
|
|
479
479
|
let h = 0, m = X;
|
|
@@ -484,7 +484,7 @@ function cr(e, r, t) {
|
|
|
484
484
|
const _ = r(i ? c[0] : c, u, a);
|
|
485
485
|
s ? u(_) : m = wt(_) ? _ : X;
|
|
486
486
|
}, b = n.map(
|
|
487
|
-
(_, y) =>
|
|
487
|
+
(_, y) => ti(
|
|
488
488
|
_,
|
|
489
489
|
(w) => {
|
|
490
490
|
c[y] = w, h &= ~(1 << y), f && g();
|
|
@@ -499,70 +499,70 @@ function cr(e, r, t) {
|
|
|
499
499
|
};
|
|
500
500
|
});
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function Ji(e) {
|
|
503
503
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
504
504
|
}
|
|
505
|
-
var
|
|
506
|
-
return
|
|
505
|
+
var Yi = function(r) {
|
|
506
|
+
return Ki(r) && !en(r);
|
|
507
507
|
};
|
|
508
|
-
function
|
|
508
|
+
function Ki(e) {
|
|
509
509
|
return !!e && typeof e == "object";
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function en(e) {
|
|
512
512
|
var r = Object.prototype.toString.call(e);
|
|
513
|
-
return r === "[object RegExp]" || r === "[object Date]" ||
|
|
513
|
+
return r === "[object RegExp]" || r === "[object Date]" || nn(e);
|
|
514
514
|
}
|
|
515
|
-
var
|
|
516
|
-
function
|
|
517
|
-
return e.$$typeof ===
|
|
515
|
+
var rn = typeof Symbol == "function" && Symbol.for, tn = rn ? Symbol.for("react.element") : 60103;
|
|
516
|
+
function nn(e) {
|
|
517
|
+
return e.$$typeof === tn;
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function sn(e) {
|
|
520
520
|
return Array.isArray(e) ? [] : {};
|
|
521
521
|
}
|
|
522
522
|
function xr(e, r) {
|
|
523
|
-
return r.clone !== !1 && r.isMergeableObject(e) ? sr(
|
|
523
|
+
return r.clone !== !1 && r.isMergeableObject(e) ? sr(sn(e), e, r) : e;
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function on(e, r, t) {
|
|
526
526
|
return e.concat(r).map(function(i) {
|
|
527
527
|
return xr(i, t);
|
|
528
528
|
});
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function an(e, r) {
|
|
531
531
|
if (!r.customMerge)
|
|
532
532
|
return sr;
|
|
533
533
|
var t = r.customMerge(e);
|
|
534
534
|
return typeof t == "function" ? t : sr;
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function ln(e) {
|
|
537
537
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
|
|
538
538
|
return Object.propertyIsEnumerable.call(e, r);
|
|
539
539
|
}) : [];
|
|
540
540
|
}
|
|
541
|
-
function
|
|
542
|
-
return Object.keys(e).concat(
|
|
541
|
+
function Nt(e) {
|
|
542
|
+
return Object.keys(e).concat(ln(e));
|
|
543
543
|
}
|
|
544
|
-
function
|
|
544
|
+
function ni(e, r) {
|
|
545
545
|
try {
|
|
546
546
|
return r in e;
|
|
547
547
|
} catch {
|
|
548
548
|
return !1;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
function
|
|
552
|
-
return
|
|
551
|
+
function un(e, r) {
|
|
552
|
+
return ni(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function cn(e, r, t) {
|
|
555
555
|
var i = {};
|
|
556
|
-
return t.isMergeableObject(e) &&
|
|
556
|
+
return t.isMergeableObject(e) && Nt(e).forEach(function(n) {
|
|
557
557
|
i[n] = xr(e[n], t);
|
|
558
|
-
}),
|
|
559
|
-
|
|
558
|
+
}), Nt(r).forEach(function(n) {
|
|
559
|
+
un(e, n) || (ni(e, n) && t.isMergeableObject(r[n]) ? i[n] = an(n, t)(e[n], r[n], t) : i[n] = xr(r[n], t));
|
|
560
560
|
}), i;
|
|
561
561
|
}
|
|
562
562
|
function sr(e, r, t) {
|
|
563
|
-
t = t || {}, t.arrayMerge = t.arrayMerge ||
|
|
563
|
+
t = t || {}, t.arrayMerge = t.arrayMerge || on, t.isMergeableObject = t.isMergeableObject || Yi, t.cloneUnlessOtherwiseSpecified = xr;
|
|
564
564
|
var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
|
|
565
|
-
return s ? i ? t.arrayMerge(e, r, t) :
|
|
565
|
+
return s ? i ? t.arrayMerge(e, r, t) : cn(e, r, t) : xr(r, t);
|
|
566
566
|
}
|
|
567
567
|
sr.all = function(r, t) {
|
|
568
568
|
if (!Array.isArray(r))
|
|
@@ -571,8 +571,8 @@ sr.all = function(r, t) {
|
|
|
571
571
|
return sr(i, n, t);
|
|
572
572
|
}, {});
|
|
573
573
|
};
|
|
574
|
-
var
|
|
575
|
-
const
|
|
574
|
+
var hn = sr, fn = hn;
|
|
575
|
+
const dn = /* @__PURE__ */ Ji(fn);
|
|
576
576
|
var dt = function(e, r) {
|
|
577
577
|
return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
578
578
|
t.__proto__ = i;
|
|
@@ -598,7 +598,7 @@ var A = function() {
|
|
|
598
598
|
return r;
|
|
599
599
|
}, A.apply(this, arguments);
|
|
600
600
|
};
|
|
601
|
-
function
|
|
601
|
+
function mn(e, r) {
|
|
602
602
|
var t = {};
|
|
603
603
|
for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
604
604
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -612,53 +612,55 @@ function st(e, r, t) {
|
|
|
612
612
|
return e.concat(s || Array.prototype.slice.call(r));
|
|
613
613
|
}
|
|
614
614
|
function ot(e, r) {
|
|
615
|
-
var t = r && r.cache ? r.cache :
|
|
615
|
+
var t = r && r.cache ? r.cache : vn, i = r && r.serializer ? r.serializer : En, n = r && r.strategy ? r.strategy : pn;
|
|
616
616
|
return n(e, {
|
|
617
617
|
cache: t,
|
|
618
618
|
serializer: i
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function gn(e) {
|
|
622
622
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
623
623
|
}
|
|
624
|
-
function
|
|
625
|
-
var n =
|
|
624
|
+
function si(e, r, t, i) {
|
|
625
|
+
var n = gn(i) ? i : t(i), s = r.get(n);
|
|
626
626
|
return typeof s > "u" && (s = e.call(this, i), r.set(n, s)), s;
|
|
627
627
|
}
|
|
628
|
-
function
|
|
628
|
+
function oi(e, r, t) {
|
|
629
629
|
var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
|
|
630
630
|
return typeof s > "u" && (s = e.apply(this, i), r.set(n, s)), s;
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function St(e, r, t, i, n) {
|
|
633
633
|
return t.bind(r, e, i, n);
|
|
634
634
|
}
|
|
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
635
|
function pn(e, r) {
|
|
640
|
-
|
|
636
|
+
var t = e.length === 1 ? si : oi;
|
|
637
|
+
return St(e, this, t, r.cache.create(), r.serializer);
|
|
638
|
+
}
|
|
639
|
+
function bn(e, r) {
|
|
640
|
+
return St(e, this, oi, r.cache.create(), r.serializer);
|
|
641
641
|
}
|
|
642
|
-
|
|
642
|
+
function yn(e, r) {
|
|
643
|
+
return St(e, this, si, r.cache.create(), r.serializer);
|
|
644
|
+
}
|
|
645
|
+
var En = function() {
|
|
643
646
|
return JSON.stringify(arguments);
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
}()
|
|
656
|
-
), En = {
|
|
647
|
+
};
|
|
648
|
+
function Pt() {
|
|
649
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
650
|
+
}
|
|
651
|
+
Pt.prototype.get = function(e) {
|
|
652
|
+
return this.cache[e];
|
|
653
|
+
};
|
|
654
|
+
Pt.prototype.set = function(e, r) {
|
|
655
|
+
this.cache[e] = r;
|
|
656
|
+
};
|
|
657
|
+
var vn = {
|
|
657
658
|
create: function() {
|
|
658
|
-
return new
|
|
659
|
+
return new Pt();
|
|
659
660
|
}
|
|
660
661
|
}, at = {
|
|
661
|
-
variadic:
|
|
662
|
+
variadic: bn,
|
|
663
|
+
monadic: yn
|
|
662
664
|
}, P;
|
|
663
665
|
(function(e) {
|
|
664
666
|
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 +673,43 @@ var or;
|
|
|
671
673
|
(function(e) {
|
|
672
674
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
673
675
|
})(or || (or = {}));
|
|
674
|
-
function
|
|
676
|
+
function Ot(e) {
|
|
675
677
|
return e.type === N.literal;
|
|
676
678
|
}
|
|
677
|
-
function
|
|
679
|
+
function _n(e) {
|
|
678
680
|
return e.type === N.argument;
|
|
679
681
|
}
|
|
680
|
-
function
|
|
682
|
+
function ai(e) {
|
|
681
683
|
return e.type === N.number;
|
|
682
684
|
}
|
|
683
|
-
function
|
|
685
|
+
function li(e) {
|
|
684
686
|
return e.type === N.date;
|
|
685
687
|
}
|
|
686
|
-
function
|
|
688
|
+
function ui(e) {
|
|
687
689
|
return e.type === N.time;
|
|
688
690
|
}
|
|
689
|
-
function
|
|
691
|
+
function ci(e) {
|
|
690
692
|
return e.type === N.select;
|
|
691
693
|
}
|
|
692
|
-
function
|
|
694
|
+
function hi(e) {
|
|
693
695
|
return e.type === N.plural;
|
|
694
696
|
}
|
|
695
|
-
function
|
|
697
|
+
function wn(e) {
|
|
696
698
|
return e.type === N.pound;
|
|
697
699
|
}
|
|
698
|
-
function
|
|
700
|
+
function fi(e) {
|
|
699
701
|
return e.type === N.tag;
|
|
700
702
|
}
|
|
701
|
-
function
|
|
703
|
+
function di(e) {
|
|
702
704
|
return !!(e && typeof e == "object" && e.type === or.number);
|
|
703
705
|
}
|
|
704
706
|
function mt(e) {
|
|
705
707
|
return !!(e && typeof e == "object" && e.type === or.dateTime);
|
|
706
708
|
}
|
|
707
|
-
var
|
|
708
|
-
function
|
|
709
|
+
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;
|
|
710
|
+
function Pn(e) {
|
|
709
711
|
var r = {};
|
|
710
|
-
return e.replace(
|
|
712
|
+
return e.replace(Sn, function(t) {
|
|
711
713
|
var i = t.length;
|
|
712
714
|
switch (t[0]) {
|
|
713
715
|
case "G":
|
|
@@ -796,11 +798,11 @@ function Sn(e) {
|
|
|
796
798
|
return "";
|
|
797
799
|
}), r;
|
|
798
800
|
}
|
|
799
|
-
var
|
|
800
|
-
function
|
|
801
|
+
var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
802
|
+
function xn(e) {
|
|
801
803
|
if (e.length === 0)
|
|
802
804
|
throw new Error("Number skeleton cannot be empty");
|
|
803
|
-
for (var r = e.split(
|
|
805
|
+
for (var r = e.split(Cn).filter(function(g) {
|
|
804
806
|
return g.length > 0;
|
|
805
807
|
}), t = [], i = 0, n = r; i < n.length; i++) {
|
|
806
808
|
var s = n[i], u = s.split("/");
|
|
@@ -815,17 +817,17 @@ function Cn(e) {
|
|
|
815
817
|
}
|
|
816
818
|
return t;
|
|
817
819
|
}
|
|
818
|
-
function
|
|
820
|
+
function An(e) {
|
|
819
821
|
return e.replace(/^(.*?)-/, "");
|
|
820
822
|
}
|
|
821
|
-
var
|
|
822
|
-
function
|
|
823
|
+
var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gi = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, pi = /^(0+)$/;
|
|
824
|
+
function Mt(e) {
|
|
823
825
|
var r = {};
|
|
824
|
-
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(
|
|
826
|
+
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
827
|
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
828
|
}), r;
|
|
827
829
|
}
|
|
828
|
-
function
|
|
830
|
+
function bi(e) {
|
|
829
831
|
switch (e) {
|
|
830
832
|
case "sign-auto":
|
|
831
833
|
return {
|
|
@@ -865,7 +867,7 @@ function gi(e) {
|
|
|
865
867
|
};
|
|
866
868
|
}
|
|
867
869
|
}
|
|
868
|
-
function
|
|
870
|
+
function Hn(e) {
|
|
869
871
|
var r;
|
|
870
872
|
if (e[0] === "E" && e[1] === "E" ? (r = {
|
|
871
873
|
notation: "engineering"
|
|
@@ -873,17 +875,17 @@ function Tn(e) {
|
|
|
873
875
|
notation: "scientific"
|
|
874
876
|
}, e = e.slice(1)), r) {
|
|
875
877
|
var t = e.slice(0, 2);
|
|
876
|
-
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
878
|
+
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !pi.test(e))
|
|
877
879
|
throw new Error("Malformed concise eng/scientific notation");
|
|
878
880
|
r.minimumIntegerDigits = e.length;
|
|
879
881
|
}
|
|
880
882
|
return r;
|
|
881
883
|
}
|
|
882
|
-
function
|
|
883
|
-
var r = {}, t =
|
|
884
|
+
function Rt(e) {
|
|
885
|
+
var r = {}, t = bi(e);
|
|
884
886
|
return t || r;
|
|
885
887
|
}
|
|
886
|
-
function
|
|
888
|
+
function In(e) {
|
|
887
889
|
for (var r = {}, t = 0, i = e; t < i.length; t++) {
|
|
888
890
|
var n = i[t];
|
|
889
891
|
switch (n.stem) {
|
|
@@ -907,7 +909,7 @@ function Hn(e) {
|
|
|
907
909
|
continue;
|
|
908
910
|
case "measure-unit":
|
|
909
911
|
case "unit":
|
|
910
|
-
r.style = "unit", r.unit =
|
|
912
|
+
r.style = "unit", r.unit = An(n.options[0]);
|
|
911
913
|
continue;
|
|
912
914
|
case "compact-short":
|
|
913
915
|
case "K":
|
|
@@ -919,12 +921,12 @@ function Hn(e) {
|
|
|
919
921
|
continue;
|
|
920
922
|
case "scientific":
|
|
921
923
|
r = A(A(A({}, r), { notation: "scientific" }), n.options.reduce(function(f, c) {
|
|
922
|
-
return A(A({}, f),
|
|
924
|
+
return A(A({}, f), Rt(c));
|
|
923
925
|
}, {}));
|
|
924
926
|
continue;
|
|
925
927
|
case "engineering":
|
|
926
928
|
r = A(A(A({}, r), { notation: "engineering" }), n.options.reduce(function(f, c) {
|
|
927
|
-
return A(A({}, f),
|
|
929
|
+
return A(A({}, f), Rt(c));
|
|
928
930
|
}, {}));
|
|
929
931
|
continue;
|
|
930
932
|
case "notation-simple":
|
|
@@ -969,7 +971,7 @@ function Hn(e) {
|
|
|
969
971
|
case "integer-width":
|
|
970
972
|
if (n.options.length > 1)
|
|
971
973
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
972
|
-
n.options[0].replace(
|
|
974
|
+
n.options[0].replace(Tn, function(f, c, h, m, g, b) {
|
|
973
975
|
if (c)
|
|
974
976
|
r.minimumIntegerDigits = h.length;
|
|
975
977
|
else {
|
|
@@ -982,27 +984,27 @@ function Hn(e) {
|
|
|
982
984
|
});
|
|
983
985
|
continue;
|
|
984
986
|
}
|
|
985
|
-
if (
|
|
987
|
+
if (pi.test(n.stem)) {
|
|
986
988
|
r.minimumIntegerDigits = n.stem.length;
|
|
987
989
|
continue;
|
|
988
990
|
}
|
|
989
|
-
if (
|
|
991
|
+
if (Lt.test(n.stem)) {
|
|
990
992
|
if (n.options.length > 1)
|
|
991
993
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
992
|
-
n.stem.replace(
|
|
994
|
+
n.stem.replace(Lt, function(f, c, h, m, g, b) {
|
|
993
995
|
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
996
|
});
|
|
995
997
|
var s = n.options[0];
|
|
996
|
-
s === "w" ? r = A(A({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = A(A({}, r),
|
|
998
|
+
s === "w" ? r = A(A({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = A(A({}, r), Mt(s)));
|
|
997
999
|
continue;
|
|
998
1000
|
}
|
|
999
|
-
if (
|
|
1000
|
-
r = A(A({}, r),
|
|
1001
|
+
if (gi.test(n.stem)) {
|
|
1002
|
+
r = A(A({}, r), Mt(n.stem));
|
|
1001
1003
|
continue;
|
|
1002
1004
|
}
|
|
1003
|
-
var u =
|
|
1005
|
+
var u = bi(n.stem);
|
|
1004
1006
|
u && (r = A(A({}, r), u));
|
|
1005
|
-
var a =
|
|
1007
|
+
var a = Hn(n.stem);
|
|
1006
1008
|
a && (r = A(A({}, r), a));
|
|
1007
1009
|
}
|
|
1008
1010
|
return r;
|
|
@@ -2422,13 +2424,13 @@ var zr = {
|
|
|
2422
2424
|
"h"
|
|
2423
2425
|
]
|
|
2424
2426
|
};
|
|
2425
|
-
function
|
|
2427
|
+
function Bn(e, r) {
|
|
2426
2428
|
for (var t = "", i = 0; i < e.length; i++) {
|
|
2427
2429
|
var n = e.charAt(i);
|
|
2428
2430
|
if (n === "j") {
|
|
2429
2431
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2430
2432
|
s++, i++;
|
|
2431
|
-
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), f = "a", c =
|
|
2433
|
+
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), f = "a", c = Nn(r);
|
|
2432
2434
|
for ((c == "H" || c == "k") && (a = 0); a-- > 0; )
|
|
2433
2435
|
t += f;
|
|
2434
2436
|
for (; u-- > 0; )
|
|
@@ -2437,7 +2439,7 @@ function In(e, r) {
|
|
|
2437
2439
|
}
|
|
2438
2440
|
return t;
|
|
2439
2441
|
}
|
|
2440
|
-
function
|
|
2442
|
+
function Nn(e) {
|
|
2441
2443
|
var r = e.hourCycle;
|
|
2442
2444
|
if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2443
2445
|
e.hourCycles && // @ts-ignore
|
|
@@ -2459,20 +2461,20 @@ function Bn(e) {
|
|
|
2459
2461
|
var n = zr[i || ""] || zr[t || ""] || zr["".concat(t, "-001")] || zr["001"];
|
|
2460
2462
|
return n[0];
|
|
2461
2463
|
}
|
|
2462
|
-
var lt,
|
|
2464
|
+
var lt, On = new RegExp("^".concat(mi.source, "*")), Ln = new RegExp("".concat(mi.source, "*$"));
|
|
2463
2465
|
function C(e, r) {
|
|
2464
2466
|
return { start: e, end: r };
|
|
2465
2467
|
}
|
|
2466
|
-
var
|
|
2468
|
+
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
2469
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2468
2470
|
}, gt = !0;
|
|
2469
2471
|
try {
|
|
2470
|
-
var
|
|
2471
|
-
gt = ((lt =
|
|
2472
|
+
var Vn = Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2473
|
+
gt = ((lt = Vn.exec("a")) === null || lt === void 0 ? void 0 : lt[0]) === "a";
|
|
2472
2474
|
} catch {
|
|
2473
2475
|
gt = !1;
|
|
2474
2476
|
}
|
|
2475
|
-
var
|
|
2477
|
+
var Ut = Mn ? (
|
|
2476
2478
|
// Native
|
|
2477
2479
|
function(r, t, i) {
|
|
2478
2480
|
return r.startsWith(t, i);
|
|
@@ -2482,7 +2484,7 @@ var Mt = Ln ? (
|
|
|
2482
2484
|
function(r, t, i) {
|
|
2483
2485
|
return r.slice(i, i + t.length) === t;
|
|
2484
2486
|
}
|
|
2485
|
-
), pt =
|
|
2487
|
+
), pt = Rn ? String.fromCodePoint : (
|
|
2486
2488
|
// IE11
|
|
2487
2489
|
function() {
|
|
2488
2490
|
for (var r = [], t = 0; t < arguments.length; t++)
|
|
@@ -2494,9 +2496,9 @@ var Mt = Ln ? (
|
|
|
2494
2496
|
}
|
|
2495
2497
|
return i;
|
|
2496
2498
|
}
|
|
2497
|
-
),
|
|
2499
|
+
), kt = (
|
|
2498
2500
|
// native
|
|
2499
|
-
|
|
2501
|
+
Un ? Object.fromEntries : (
|
|
2500
2502
|
// Ponyfill
|
|
2501
2503
|
function(r) {
|
|
2502
2504
|
for (var t = {}, i = 0, n = r; i < n.length; i++) {
|
|
@@ -2506,7 +2508,7 @@ var Mt = Ln ? (
|
|
|
2506
2508
|
return t;
|
|
2507
2509
|
}
|
|
2508
2510
|
)
|
|
2509
|
-
),
|
|
2511
|
+
), yi = kn ? (
|
|
2510
2512
|
// Native
|
|
2511
2513
|
function(r, t) {
|
|
2512
2514
|
return r.codePointAt(t);
|
|
@@ -2520,7 +2522,7 @@ var Mt = Ln ? (
|
|
|
2520
2522
|
return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2521
2523
|
}
|
|
2522
2524
|
}
|
|
2523
|
-
),
|
|
2525
|
+
), $n = Fn ? (
|
|
2524
2526
|
// Native
|
|
2525
2527
|
function(r) {
|
|
2526
2528
|
return r.trimStart();
|
|
@@ -2528,9 +2530,9 @@ var Mt = Ln ? (
|
|
|
2528
2530
|
) : (
|
|
2529
2531
|
// Ponyfill
|
|
2530
2532
|
function(r) {
|
|
2531
|
-
return r.replace(
|
|
2533
|
+
return r.replace(On, "");
|
|
2532
2534
|
}
|
|
2533
|
-
),
|
|
2535
|
+
), Qn = Dn ? (
|
|
2534
2536
|
// Native
|
|
2535
2537
|
function(r) {
|
|
2536
2538
|
return r.trimEnd();
|
|
@@ -2538,32 +2540,32 @@ var Mt = Ln ? (
|
|
|
2538
2540
|
) : (
|
|
2539
2541
|
// Ponyfill
|
|
2540
2542
|
function(r) {
|
|
2541
|
-
return r.replace(
|
|
2543
|
+
return r.replace(Ln, "");
|
|
2542
2544
|
}
|
|
2543
2545
|
);
|
|
2544
|
-
function
|
|
2546
|
+
function Ei(e, r) {
|
|
2545
2547
|
return new RegExp(e, r);
|
|
2546
2548
|
}
|
|
2547
2549
|
var bt;
|
|
2548
2550
|
if (gt) {
|
|
2549
|
-
var
|
|
2551
|
+
var Ft = Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2550
2552
|
bt = function(r, t) {
|
|
2551
2553
|
var i;
|
|
2552
|
-
|
|
2553
|
-
var n =
|
|
2554
|
+
Ft.lastIndex = t;
|
|
2555
|
+
var n = Ft.exec(r);
|
|
2554
2556
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2555
2557
|
};
|
|
2556
2558
|
} else
|
|
2557
2559
|
bt = function(r, t) {
|
|
2558
2560
|
for (var i = []; ; ) {
|
|
2559
|
-
var n =
|
|
2560
|
-
if (n === void 0 ||
|
|
2561
|
+
var n = yi(r, t);
|
|
2562
|
+
if (n === void 0 || vi(n) || Wn(n))
|
|
2561
2563
|
break;
|
|
2562
2564
|
i.push(n), t += n >= 65536 ? 2 : 1;
|
|
2563
2565
|
}
|
|
2564
2566
|
return pt.apply(void 0, i);
|
|
2565
2567
|
};
|
|
2566
|
-
var
|
|
2568
|
+
var zn = (
|
|
2567
2569
|
/** @class */
|
|
2568
2570
|
function() {
|
|
2569
2571
|
function e(r, t) {
|
|
@@ -2645,7 +2647,7 @@ var Qn = (
|
|
|
2645
2647
|
return this.error(P.INVALID_TAG, C(i, this.clonePosition()));
|
|
2646
2648
|
}, e.prototype.parseTagName = function() {
|
|
2647
2649
|
var r = this.offset();
|
|
2648
|
-
for (this.bump(); !this.isEOF() &&
|
|
2650
|
+
for (this.bump(); !this.isEOF() && Zn(this.char()); )
|
|
2649
2651
|
this.bump();
|
|
2650
2652
|
return this.message.slice(r, this.offset());
|
|
2651
2653
|
}, e.prototype.parseLiteral = function(r, t) {
|
|
@@ -2674,7 +2676,7 @@ var Qn = (
|
|
|
2674
2676
|
};
|
|
2675
2677
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2676
2678
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2677
|
-
!
|
|
2679
|
+
!Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2678
2680
|
}, e.prototype.tryParseQuote = function(r) {
|
|
2679
2681
|
if (this.isEOF() || this.char() !== 39)
|
|
2680
2682
|
return null;
|
|
@@ -2761,7 +2763,7 @@ var Qn = (
|
|
|
2761
2763
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2762
2764
|
if (m.err)
|
|
2763
2765
|
return m;
|
|
2764
|
-
var g =
|
|
2766
|
+
var g = Qn(m.val);
|
|
2765
2767
|
if (g.length === 0)
|
|
2766
2768
|
return this.error(P.EXPECT_ARGUMENT_STYLE, C(this.clonePosition(), this.clonePosition()));
|
|
2767
2769
|
var b = C(h, this.clonePosition());
|
|
@@ -2771,8 +2773,8 @@ var Qn = (
|
|
|
2771
2773
|
if (_.err)
|
|
2772
2774
|
return _;
|
|
2773
2775
|
var y = C(n, this.clonePosition());
|
|
2774
|
-
if (c &&
|
|
2775
|
-
var w =
|
|
2776
|
+
if (c && Ut(c?.style, "::", 0)) {
|
|
2777
|
+
var w = $n(c.style.slice(2));
|
|
2776
2778
|
if (a === "number") {
|
|
2777
2779
|
var m = this.parseNumberSkeletonFromString(w, c.styleLocation);
|
|
2778
2780
|
return m.err ? m : {
|
|
@@ -2783,12 +2785,12 @@ var Qn = (
|
|
|
2783
2785
|
if (w.length === 0)
|
|
2784
2786
|
return this.error(P.EXPECT_DATE_TIME_SKELETON, y);
|
|
2785
2787
|
var B = w;
|
|
2786
|
-
this.locale && (B =
|
|
2788
|
+
this.locale && (B = Bn(w, this.locale));
|
|
2787
2789
|
var g = {
|
|
2788
2790
|
type: or.dateTime,
|
|
2789
2791
|
pattern: B,
|
|
2790
2792
|
location: c.styleLocation,
|
|
2791
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2793
|
+
parsedOptions: this.shouldParseSkeletons ? Pn(B) : {}
|
|
2792
2794
|
}, $ = a === "date" ? N.date : N.time;
|
|
2793
2795
|
return {
|
|
2794
2796
|
val: { type: $, value: i, location: y, style: g },
|
|
@@ -2834,7 +2836,7 @@ var Qn = (
|
|
|
2834
2836
|
val: {
|
|
2835
2837
|
type: N.select,
|
|
2836
2838
|
value: i,
|
|
2837
|
-
options:
|
|
2839
|
+
options: kt(be.val),
|
|
2838
2840
|
location: R
|
|
2839
2841
|
},
|
|
2840
2842
|
err: null
|
|
@@ -2842,7 +2844,7 @@ var Qn = (
|
|
|
2842
2844
|
val: {
|
|
2843
2845
|
type: N.plural,
|
|
2844
2846
|
value: i,
|
|
2845
|
-
options:
|
|
2847
|
+
options: kt(be.val),
|
|
2846
2848
|
offset: G,
|
|
2847
2849
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2848
2850
|
location: R
|
|
@@ -2893,7 +2895,7 @@ var Qn = (
|
|
|
2893
2895
|
}, e.prototype.parseNumberSkeletonFromString = function(r, t) {
|
|
2894
2896
|
var i = [];
|
|
2895
2897
|
try {
|
|
2896
|
-
i =
|
|
2898
|
+
i = xn(r);
|
|
2897
2899
|
} catch {
|
|
2898
2900
|
return this.error(P.INVALID_NUMBER_SKELETON, t);
|
|
2899
2901
|
}
|
|
@@ -2902,7 +2904,7 @@ var Qn = (
|
|
|
2902
2904
|
type: or.number,
|
|
2903
2905
|
tokens: i,
|
|
2904
2906
|
location: t,
|
|
2905
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2907
|
+
parsedOptions: this.shouldParseSkeletons ? In(i) : {}
|
|
2906
2908
|
},
|
|
2907
2909
|
err: null
|
|
2908
2910
|
};
|
|
@@ -2950,7 +2952,7 @@ var Qn = (
|
|
|
2950
2952
|
break;
|
|
2951
2953
|
}
|
|
2952
2954
|
var f = C(n, this.clonePosition());
|
|
2953
|
-
return s ? (u *= i,
|
|
2955
|
+
return s ? (u *= i, jn(u) ? { val: u, err: null } : this.error(t, f)) : this.error(r, f);
|
|
2954
2956
|
}, e.prototype.offset = function() {
|
|
2955
2957
|
return this.position.offset;
|
|
2956
2958
|
}, e.prototype.isEOF = function() {
|
|
@@ -2965,7 +2967,7 @@ var Qn = (
|
|
|
2965
2967
|
var r = this.position.offset;
|
|
2966
2968
|
if (r >= this.message.length)
|
|
2967
2969
|
throw Error("out of bound");
|
|
2968
|
-
var t =
|
|
2970
|
+
var t = yi(this.message, r);
|
|
2969
2971
|
if (t === void 0)
|
|
2970
2972
|
throw Error("Offset ".concat(r, " is at invalid UTF-16 code unit boundary"));
|
|
2971
2973
|
return t;
|
|
@@ -2984,7 +2986,7 @@ var Qn = (
|
|
|
2984
2986
|
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
2987
|
}
|
|
2986
2988
|
}, e.prototype.bumpIf = function(r) {
|
|
2987
|
-
if (
|
|
2989
|
+
if (Ut(this.message, r, this.offset())) {
|
|
2988
2990
|
for (var t = 0; t < r.length; t++)
|
|
2989
2991
|
this.bump();
|
|
2990
2992
|
return !0;
|
|
@@ -3006,7 +3008,7 @@ var Qn = (
|
|
|
3006
3008
|
break;
|
|
3007
3009
|
}
|
|
3008
3010
|
}, e.prototype.bumpSpace = function() {
|
|
3009
|
-
for (; !this.isEOF() &&
|
|
3011
|
+
for (; !this.isEOF() && vi(this.char()); )
|
|
3010
3012
|
this.bump();
|
|
3011
3013
|
}, e.prototype.peek = function() {
|
|
3012
3014
|
if (this.isEOF())
|
|
@@ -3019,29 +3021,29 @@ var Qn = (
|
|
|
3019
3021
|
function yt(e) {
|
|
3020
3022
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3021
3023
|
}
|
|
3022
|
-
function
|
|
3024
|
+
function Xn(e) {
|
|
3023
3025
|
return yt(e) || e === 47;
|
|
3024
3026
|
}
|
|
3025
|
-
function
|
|
3027
|
+
function Zn(e) {
|
|
3026
3028
|
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
3029
|
}
|
|
3028
|
-
function
|
|
3030
|
+
function vi(e) {
|
|
3029
3031
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3030
3032
|
}
|
|
3031
|
-
function
|
|
3033
|
+
function Wn(e) {
|
|
3032
3034
|
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
3035
|
}
|
|
3034
3036
|
function Et(e) {
|
|
3035
3037
|
e.forEach(function(r) {
|
|
3036
|
-
if (delete r.location,
|
|
3038
|
+
if (delete r.location, ci(r) || hi(r))
|
|
3037
3039
|
for (var t in r.options)
|
|
3038
3040
|
delete r.options[t].location, Et(r.options[t].value);
|
|
3039
|
-
else
|
|
3041
|
+
else ai(r) && di(r.style) || (li(r) || ui(r)) && mt(r.style) ? delete r.style.location : fi(r) && Et(r.children);
|
|
3040
3042
|
});
|
|
3041
3043
|
}
|
|
3042
|
-
function
|
|
3044
|
+
function qn(e, r) {
|
|
3043
3045
|
r === void 0 && (r = {}), r = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
|
|
3044
|
-
var t = new
|
|
3046
|
+
var t = new zn(e, r).parse();
|
|
3045
3047
|
if (t.err) {
|
|
3046
3048
|
var i = SyntaxError(P[t.err.kind]);
|
|
3047
3049
|
throw i.location = t.err.location, i.originalMessage = t.err.message, i;
|
|
@@ -3064,7 +3066,7 @@ var et = (
|
|
|
3064
3066
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3065
3067
|
}, r;
|
|
3066
3068
|
}(Error)
|
|
3067
|
-
),
|
|
3069
|
+
), Dt = (
|
|
3068
3070
|
/** @class */
|
|
3069
3071
|
function(e) {
|
|
3070
3072
|
Kr(r, e);
|
|
@@ -3073,7 +3075,7 @@ var et = (
|
|
|
3073
3075
|
}
|
|
3074
3076
|
return r;
|
|
3075
3077
|
}(et)
|
|
3076
|
-
),
|
|
3078
|
+
), Jn = (
|
|
3077
3079
|
/** @class */
|
|
3078
3080
|
function(e) {
|
|
3079
3081
|
Kr(r, e);
|
|
@@ -3082,7 +3084,7 @@ var et = (
|
|
|
3082
3084
|
}
|
|
3083
3085
|
return r;
|
|
3084
3086
|
}(et)
|
|
3085
|
-
),
|
|
3087
|
+
), Yn = (
|
|
3086
3088
|
/** @class */
|
|
3087
3089
|
function(e) {
|
|
3088
3090
|
Kr(r, e);
|
|
@@ -3095,17 +3097,17 @@ var et = (
|
|
|
3095
3097
|
(function(e) {
|
|
3096
3098
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3097
3099
|
})(z || (z = {}));
|
|
3098
|
-
function
|
|
3100
|
+
function Kn(e) {
|
|
3099
3101
|
return e.length < 2 ? e : e.reduce(function(r, t) {
|
|
3100
3102
|
var i = r[r.length - 1];
|
|
3101
3103
|
return !i || i.type !== z.literal || t.type !== z.literal ? r.push(t) : i.value += t.value, r;
|
|
3102
3104
|
}, []);
|
|
3103
3105
|
}
|
|
3104
|
-
function
|
|
3106
|
+
function es(e) {
|
|
3105
3107
|
return typeof e == "function";
|
|
3106
3108
|
}
|
|
3107
3109
|
function Zr(e, r, t, i, n, s, u) {
|
|
3108
|
-
if (e.length === 1 &&
|
|
3110
|
+
if (e.length === 1 && Ot(e[0]))
|
|
3109
3111
|
return [
|
|
3110
3112
|
{
|
|
3111
3113
|
type: z.literal,
|
|
@@ -3114,14 +3116,14 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3114
3116
|
];
|
|
3115
3117
|
for (var a = [], f = 0, c = e; f < c.length; f++) {
|
|
3116
3118
|
var h = c[f];
|
|
3117
|
-
if (
|
|
3119
|
+
if (Ot(h)) {
|
|
3118
3120
|
a.push({
|
|
3119
3121
|
type: z.literal,
|
|
3120
3122
|
value: h.value
|
|
3121
3123
|
});
|
|
3122
3124
|
continue;
|
|
3123
3125
|
}
|
|
3124
|
-
if (
|
|
3126
|
+
if (wn(h)) {
|
|
3125
3127
|
typeof s == "number" && a.push({
|
|
3126
3128
|
type: z.literal,
|
|
3127
3129
|
value: t.getNumberFormat(r).format(s)
|
|
@@ -3130,16 +3132,16 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3130
3132
|
}
|
|
3131
3133
|
var m = h.value;
|
|
3132
3134
|
if (!(n && m in n))
|
|
3133
|
-
throw new
|
|
3135
|
+
throw new Yn(m, u);
|
|
3134
3136
|
var g = n[m];
|
|
3135
|
-
if (
|
|
3137
|
+
if (_n(h)) {
|
|
3136
3138
|
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), a.push({
|
|
3137
3139
|
type: typeof g == "string" ? z.literal : z.object,
|
|
3138
3140
|
value: g
|
|
3139
3141
|
});
|
|
3140
3142
|
continue;
|
|
3141
3143
|
}
|
|
3142
|
-
if (
|
|
3144
|
+
if (li(h)) {
|
|
3143
3145
|
var b = typeof h.style == "string" ? i.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
|
|
3144
3146
|
a.push({
|
|
3145
3147
|
type: z.literal,
|
|
@@ -3147,7 +3149,7 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3147
3149
|
});
|
|
3148
3150
|
continue;
|
|
3149
3151
|
}
|
|
3150
|
-
if (
|
|
3152
|
+
if (ui(h)) {
|
|
3151
3153
|
var b = typeof h.style == "string" ? i.time[h.style] : mt(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
3152
3154
|
a.push({
|
|
3153
3155
|
type: z.literal,
|
|
@@ -3155,18 +3157,18 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3155
3157
|
});
|
|
3156
3158
|
continue;
|
|
3157
3159
|
}
|
|
3158
|
-
if (
|
|
3159
|
-
var b = typeof h.style == "string" ? i.number[h.style] :
|
|
3160
|
+
if (ai(h)) {
|
|
3161
|
+
var b = typeof h.style == "string" ? i.number[h.style] : di(h.style) ? h.style.parsedOptions : void 0;
|
|
3160
3162
|
b && b.scale && (g = g * (b.scale || 1)), a.push({
|
|
3161
3163
|
type: z.literal,
|
|
3162
3164
|
value: t.getNumberFormat(r, b).format(g)
|
|
3163
3165
|
});
|
|
3164
3166
|
continue;
|
|
3165
3167
|
}
|
|
3166
|
-
if (
|
|
3168
|
+
if (fi(h)) {
|
|
3167
3169
|
var _ = h.children, y = h.value, w = n[y];
|
|
3168
|
-
if (!
|
|
3169
|
-
throw new
|
|
3170
|
+
if (!es(w))
|
|
3171
|
+
throw new Jn(y, "function", u);
|
|
3170
3172
|
var B = Zr(_, r, t, i, n, s), $ = w(B.map(function(G) {
|
|
3171
3173
|
return G.value;
|
|
3172
3174
|
}));
|
|
@@ -3177,14 +3179,14 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3177
3179
|
};
|
|
3178
3180
|
}));
|
|
3179
3181
|
}
|
|
3180
|
-
if (
|
|
3182
|
+
if (ci(h)) {
|
|
3181
3183
|
var M = h.options[g] || h.options.other;
|
|
3182
3184
|
if (!M)
|
|
3183
|
-
throw new
|
|
3185
|
+
throw new Dt(h.value, g, Object.keys(h.options), u);
|
|
3184
3186
|
a.push.apply(a, Zr(M.value, r, t, i, n));
|
|
3185
3187
|
continue;
|
|
3186
3188
|
}
|
|
3187
|
-
if (
|
|
3189
|
+
if (hi(h)) {
|
|
3188
3190
|
var M = h.options["=".concat(g)];
|
|
3189
3191
|
if (!M) {
|
|
3190
3192
|
if (!Intl.PluralRules)
|
|
@@ -3195,21 +3197,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3195
3197
|
M = h.options[de] || h.options.other;
|
|
3196
3198
|
}
|
|
3197
3199
|
if (!M)
|
|
3198
|
-
throw new
|
|
3200
|
+
throw new Dt(h.value, g, Object.keys(h.options), u);
|
|
3199
3201
|
a.push.apply(a, Zr(M.value, r, t, i, n, g - (h.offset || 0)));
|
|
3200
3202
|
continue;
|
|
3201
3203
|
}
|
|
3202
3204
|
}
|
|
3203
|
-
return
|
|
3205
|
+
return Kn(a);
|
|
3204
3206
|
}
|
|
3205
|
-
function
|
|
3207
|
+
function rs(e, r) {
|
|
3206
3208
|
return r ? A(A(A({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
|
|
3207
3209
|
return t[i] = A(A({}, e[i]), r[i] || {}), t;
|
|
3208
3210
|
}, {})) : e;
|
|
3209
3211
|
}
|
|
3210
|
-
function
|
|
3212
|
+
function ts(e, r) {
|
|
3211
3213
|
return r ? Object.keys(e).reduce(function(t, i) {
|
|
3212
|
-
return t[i] =
|
|
3214
|
+
return t[i] = rs(e[i], r[i]), t;
|
|
3213
3215
|
}, A({}, e)) : e;
|
|
3214
3216
|
}
|
|
3215
3217
|
function ut(e) {
|
|
@@ -3226,7 +3228,7 @@ function ut(e) {
|
|
|
3226
3228
|
}
|
|
3227
3229
|
};
|
|
3228
3230
|
}
|
|
3229
|
-
function
|
|
3231
|
+
function is(e) {
|
|
3230
3232
|
return e === void 0 && (e = {
|
|
3231
3233
|
number: {},
|
|
3232
3234
|
dateTime: {},
|
|
@@ -3258,7 +3260,7 @@ function ts(e) {
|
|
|
3258
3260
|
})
|
|
3259
3261
|
};
|
|
3260
3262
|
}
|
|
3261
|
-
var
|
|
3263
|
+
var ns = (
|
|
3262
3264
|
/** @class */
|
|
3263
3265
|
function() {
|
|
3264
3266
|
function e(r, t, i, n) {
|
|
@@ -3290,13 +3292,13 @@ var is = (
|
|
|
3290
3292
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3291
3293
|
var u = n || {};
|
|
3292
3294
|
u.formatters;
|
|
3293
|
-
var a =
|
|
3295
|
+
var a = mn(u, ["formatters"]);
|
|
3294
3296
|
this.ast = e.__parse(r, A(A({}, a), { locale: this.resolvedLocale }));
|
|
3295
3297
|
} else
|
|
3296
3298
|
this.ast = r;
|
|
3297
3299
|
if (!Array.isArray(this.ast))
|
|
3298
3300
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3299
|
-
this.formats =
|
|
3301
|
+
this.formats = ts(e.formats, i), this.formatters = n && n.formatters || is(this.formatterCache);
|
|
3300
3302
|
}
|
|
3301
3303
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3302
3304
|
get: function() {
|
|
@@ -3309,7 +3311,7 @@ var is = (
|
|
|
3309
3311
|
var t = Intl.NumberFormat.supportedLocalesOf(r);
|
|
3310
3312
|
return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
|
|
3311
3313
|
}
|
|
3312
|
-
}, e.__parse =
|
|
3314
|
+
}, e.__parse = qn, e.formats = {
|
|
3313
3315
|
number: {
|
|
3314
3316
|
integer: {
|
|
3315
3317
|
maximumFractionDigits: 0
|
|
@@ -3370,7 +3372,7 @@ var is = (
|
|
|
3370
3372
|
}, e;
|
|
3371
3373
|
}()
|
|
3372
3374
|
);
|
|
3373
|
-
function
|
|
3375
|
+
function ss(e, r) {
|
|
3374
3376
|
if (r == null)
|
|
3375
3377
|
return;
|
|
3376
3378
|
if (r in e)
|
|
@@ -3391,60 +3393,60 @@ function ns(e, r) {
|
|
|
3391
3393
|
i = void 0;
|
|
3392
3394
|
return i;
|
|
3393
3395
|
}
|
|
3394
|
-
const Be = {},
|
|
3396
|
+
const Be = {}, os = (e, r, t) => t && (r in Be || (Be[r] = {}), e in Be[r] || (Be[r][e] = t), t), _i = (e, r) => {
|
|
3395
3397
|
if (r == null)
|
|
3396
3398
|
return;
|
|
3397
3399
|
if (r in Be && e in Be[r])
|
|
3398
3400
|
return Be[r][e];
|
|
3399
3401
|
const t = rt(r);
|
|
3400
3402
|
for (let i = 0; i < t.length; i++) {
|
|
3401
|
-
const n = t[i], s =
|
|
3403
|
+
const n = t[i], s = ls(n, e);
|
|
3402
3404
|
if (s)
|
|
3403
|
-
return
|
|
3405
|
+
return os(e, r, s);
|
|
3404
3406
|
}
|
|
3405
3407
|
};
|
|
3406
|
-
let
|
|
3408
|
+
let Ct;
|
|
3407
3409
|
const Tr = Yr({});
|
|
3408
|
-
function
|
|
3409
|
-
return
|
|
3410
|
+
function as(e) {
|
|
3411
|
+
return Ct[e] || null;
|
|
3410
3412
|
}
|
|
3411
|
-
function
|
|
3412
|
-
return e in
|
|
3413
|
+
function wi(e) {
|
|
3414
|
+
return e in Ct;
|
|
3413
3415
|
}
|
|
3414
|
-
function
|
|
3415
|
-
if (!
|
|
3416
|
+
function ls(e, r) {
|
|
3417
|
+
if (!wi(e))
|
|
3416
3418
|
return null;
|
|
3417
|
-
const t =
|
|
3418
|
-
return
|
|
3419
|
+
const t = as(e);
|
|
3420
|
+
return ss(t, r);
|
|
3419
3421
|
}
|
|
3420
|
-
function
|
|
3422
|
+
function us(e) {
|
|
3421
3423
|
if (e == null)
|
|
3422
3424
|
return;
|
|
3423
3425
|
const r = rt(e);
|
|
3424
3426
|
for (let t = 0; t < r.length; t++) {
|
|
3425
3427
|
const i = r[t];
|
|
3426
|
-
if (
|
|
3428
|
+
if (wi(i))
|
|
3427
3429
|
return i;
|
|
3428
3430
|
}
|
|
3429
3431
|
}
|
|
3430
|
-
function
|
|
3431
|
-
delete Be[e], Tr.update((t) => (t[e] =
|
|
3432
|
+
function Si(e, ...r) {
|
|
3433
|
+
delete Be[e], Tr.update((t) => (t[e] = dn.all([t[e] || {}, ...r]), t));
|
|
3432
3434
|
}
|
|
3433
3435
|
cr(
|
|
3434
3436
|
[Tr],
|
|
3435
3437
|
([e]) => Object.keys(e)
|
|
3436
3438
|
);
|
|
3437
|
-
Tr.subscribe((e) =>
|
|
3439
|
+
Tr.subscribe((e) => Ct = e);
|
|
3438
3440
|
const Wr = {};
|
|
3439
|
-
function
|
|
3441
|
+
function cs(e, r) {
|
|
3440
3442
|
Wr[e].delete(r), Wr[e].size === 0 && delete Wr[e];
|
|
3441
3443
|
}
|
|
3442
|
-
function
|
|
3444
|
+
function Pi(e) {
|
|
3443
3445
|
return Wr[e];
|
|
3444
3446
|
}
|
|
3445
|
-
function
|
|
3447
|
+
function hs(e) {
|
|
3446
3448
|
return rt(e).map((r) => {
|
|
3447
|
-
const t =
|
|
3449
|
+
const t = Pi(r);
|
|
3448
3450
|
return [r, t ? [...t] : []];
|
|
3449
3451
|
}).filter(([, r]) => r.length > 0);
|
|
3450
3452
|
}
|
|
@@ -3452,31 +3454,31 @@ function vt(e) {
|
|
|
3452
3454
|
return e == null ? !1 : rt(e).some(
|
|
3453
3455
|
(r) => {
|
|
3454
3456
|
var t;
|
|
3455
|
-
return (t =
|
|
3457
|
+
return (t = Pi(r)) == null ? void 0 : t.size;
|
|
3456
3458
|
}
|
|
3457
3459
|
);
|
|
3458
3460
|
}
|
|
3459
|
-
function
|
|
3461
|
+
function fs(e, r) {
|
|
3460
3462
|
return Promise.all(
|
|
3461
|
-
r.map((i) => (
|
|
3462
|
-
).then((i) =>
|
|
3463
|
+
r.map((i) => (cs(e, i), i().then((n) => n.default || n)))
|
|
3464
|
+
).then((i) => Si(e, ...i));
|
|
3463
3465
|
}
|
|
3464
3466
|
const wr = {};
|
|
3465
|
-
function
|
|
3467
|
+
function Ci(e) {
|
|
3466
3468
|
if (!vt(e))
|
|
3467
3469
|
return e in wr ? wr[e] : Promise.resolve();
|
|
3468
|
-
const r =
|
|
3470
|
+
const r = hs(e);
|
|
3469
3471
|
return wr[e] = Promise.all(
|
|
3470
3472
|
r.map(
|
|
3471
|
-
([t, i]) =>
|
|
3473
|
+
([t, i]) => fs(t, i)
|
|
3472
3474
|
)
|
|
3473
3475
|
).then(() => {
|
|
3474
3476
|
if (vt(e))
|
|
3475
|
-
return
|
|
3477
|
+
return Ci(e);
|
|
3476
3478
|
delete wr[e];
|
|
3477
3479
|
}), wr[e];
|
|
3478
3480
|
}
|
|
3479
|
-
const
|
|
3481
|
+
const ds = {
|
|
3480
3482
|
number: {
|
|
3481
3483
|
scientific: { notation: "scientific" },
|
|
3482
3484
|
engineering: { notation: "engineering" },
|
|
@@ -3505,34 +3507,34 @@ const fs = {
|
|
|
3505
3507
|
timeZoneName: "short"
|
|
3506
3508
|
}
|
|
3507
3509
|
}
|
|
3508
|
-
},
|
|
3510
|
+
}, ms = {
|
|
3509
3511
|
fallbackLocale: null,
|
|
3510
3512
|
loadingDelay: 200,
|
|
3511
|
-
formats:
|
|
3513
|
+
formats: ds,
|
|
3512
3514
|
warnOnMissingMessages: !0,
|
|
3513
3515
|
handleMissingMessage: void 0,
|
|
3514
3516
|
ignoreTag: !0
|
|
3515
|
-
},
|
|
3517
|
+
}, gs = ms;
|
|
3516
3518
|
function lr() {
|
|
3517
|
-
return
|
|
3519
|
+
return gs;
|
|
3518
3520
|
}
|
|
3519
3521
|
const ct = Yr(!1);
|
|
3520
|
-
var
|
|
3522
|
+
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, _s = (e, r) => {
|
|
3521
3523
|
for (var t in r || (r = {}))
|
|
3522
|
-
|
|
3523
|
-
if (
|
|
3524
|
-
for (var t of
|
|
3525
|
-
|
|
3524
|
+
Es.call(r, t) && jt(e, t, r[t]);
|
|
3525
|
+
if (Gt)
|
|
3526
|
+
for (var t of Gt(r))
|
|
3527
|
+
vs.call(r, t) && jt(e, t, r[t]);
|
|
3526
3528
|
return e;
|
|
3527
|
-
},
|
|
3529
|
+
}, ws = (e, r) => bs(e, ys(r));
|
|
3528
3530
|
let _t;
|
|
3529
3531
|
const qr = Yr(null);
|
|
3530
|
-
function
|
|
3532
|
+
function Vt(e) {
|
|
3531
3533
|
return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
|
|
3532
3534
|
}
|
|
3533
3535
|
function rt(e, r = lr().fallbackLocale) {
|
|
3534
|
-
const t =
|
|
3535
|
-
return r ? [.../* @__PURE__ */ new Set([...t, ...
|
|
3536
|
+
const t = Vt(e);
|
|
3537
|
+
return r ? [.../* @__PURE__ */ new Set([...t, ...Vt(r)])] : t;
|
|
3536
3538
|
}
|
|
3537
3539
|
function Fe() {
|
|
3538
3540
|
return _t ?? void 0;
|
|
@@ -3540,22 +3542,22 @@ function Fe() {
|
|
|
3540
3542
|
qr.subscribe((e) => {
|
|
3541
3543
|
_t = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3542
3544
|
});
|
|
3543
|
-
const
|
|
3544
|
-
if (e &&
|
|
3545
|
+
const Ss = (e) => {
|
|
3546
|
+
if (e && us(e) && vt(e)) {
|
|
3545
3547
|
const { loadingDelay: r } = lr();
|
|
3546
3548
|
let t;
|
|
3547
3549
|
return typeof window < "u" && Fe() != null && r ? t = window.setTimeout(
|
|
3548
3550
|
() => ct.set(!0),
|
|
3549
3551
|
r
|
|
3550
|
-
) : ct.set(!0),
|
|
3552
|
+
) : ct.set(!0), Ci(e).then(() => {
|
|
3551
3553
|
qr.set(e);
|
|
3552
3554
|
}).finally(() => {
|
|
3553
3555
|
clearTimeout(t), ct.set(!1);
|
|
3554
3556
|
});
|
|
3555
3557
|
}
|
|
3556
3558
|
return qr.set(e);
|
|
3557
|
-
}, hr = _s(
|
|
3558
|
-
set:
|
|
3559
|
+
}, hr = ws(_s({}, qr), {
|
|
3560
|
+
set: Ss
|
|
3559
3561
|
}), tt = (e) => {
|
|
3560
3562
|
const r = /* @__PURE__ */ Object.create(null);
|
|
3561
3563
|
return (i) => {
|
|
@@ -3563,20 +3565,20 @@ const ws = (e) => {
|
|
|
3563
3565
|
return n in r ? r[n] : r[n] = e(i);
|
|
3564
3566
|
};
|
|
3565
3567
|
};
|
|
3566
|
-
var
|
|
3568
|
+
var Ps = Object.defineProperty, Jr = Object.getOwnPropertySymbols, xi = 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, xt = (e, r) => {
|
|
3567
3569
|
for (var t in r || (r = {}))
|
|
3568
|
-
|
|
3570
|
+
xi.call(r, t) && $t(e, t, r[t]);
|
|
3569
3571
|
if (Jr)
|
|
3570
3572
|
for (var t of Jr(r))
|
|
3571
|
-
|
|
3573
|
+
Ai.call(r, t) && $t(e, t, r[t]);
|
|
3572
3574
|
return e;
|
|
3573
3575
|
}, fr = (e, r) => {
|
|
3574
3576
|
var t = {};
|
|
3575
3577
|
for (var i in e)
|
|
3576
|
-
|
|
3578
|
+
xi.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
3577
3579
|
if (e != null && Jr)
|
|
3578
3580
|
for (var i of Jr(e))
|
|
3579
|
-
r.indexOf(i) < 0 &&
|
|
3581
|
+
r.indexOf(i) < 0 && Ai.call(e, i) && (t[i] = e[i]);
|
|
3580
3582
|
return t;
|
|
3581
3583
|
};
|
|
3582
3584
|
const Ar = (e, r) => {
|
|
@@ -3584,21 +3586,21 @@ const Ar = (e, r) => {
|
|
|
3584
3586
|
if (e in t && r in t[e])
|
|
3585
3587
|
return t[e][r];
|
|
3586
3588
|
throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
|
|
3587
|
-
},
|
|
3589
|
+
}, Cs = tt(
|
|
3588
3590
|
(e) => {
|
|
3589
3591
|
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3590
3592
|
if (t == null)
|
|
3591
3593
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3592
3594
|
return i && (n = Ar("number", i)), new Intl.NumberFormat(t, n);
|
|
3593
3595
|
}
|
|
3594
|
-
),
|
|
3596
|
+
), xs = tt(
|
|
3595
3597
|
(e) => {
|
|
3596
3598
|
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3597
3599
|
if (t == null)
|
|
3598
3600
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3599
3601
|
return i ? n = Ar("date", i) : Object.keys(n).length === 0 && (n = Ar("date", "short")), new Intl.DateTimeFormat(t, n);
|
|
3600
3602
|
}
|
|
3601
|
-
),
|
|
3603
|
+
), As = tt(
|
|
3602
3604
|
(e) => {
|
|
3603
3605
|
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3604
3606
|
if (t == null)
|
|
@@ -3607,33 +3609,33 @@ const Ar = (e, r) => {
|
|
|
3607
3609
|
);
|
|
3608
3610
|
return i ? n = Ar("time", i) : Object.keys(n).length === 0 && (n = Ar("time", "short")), new Intl.DateTimeFormat(t, n);
|
|
3609
3611
|
}
|
|
3610
|
-
),
|
|
3612
|
+
), Ts = (e = {}) => {
|
|
3611
3613
|
var r = e, {
|
|
3612
3614
|
locale: t = Fe()
|
|
3613
3615
|
} = r, i = fr(r, [
|
|
3614
3616
|
"locale"
|
|
3615
3617
|
]);
|
|
3616
|
-
return
|
|
3617
|
-
},
|
|
3618
|
+
return Cs(xt({ locale: t }, i));
|
|
3619
|
+
}, Hs = (e = {}) => {
|
|
3618
3620
|
var r = e, {
|
|
3619
3621
|
locale: t = Fe()
|
|
3620
3622
|
} = r, i = fr(r, [
|
|
3621
3623
|
"locale"
|
|
3622
3624
|
]);
|
|
3623
|
-
return
|
|
3624
|
-
},
|
|
3625
|
+
return xs(xt({ locale: t }, i));
|
|
3626
|
+
}, Is = (e = {}) => {
|
|
3625
3627
|
var r = e, {
|
|
3626
3628
|
locale: t = Fe()
|
|
3627
3629
|
} = r, i = fr(r, [
|
|
3628
3630
|
"locale"
|
|
3629
3631
|
]);
|
|
3630
|
-
return
|
|
3631
|
-
},
|
|
3632
|
+
return As(xt({ locale: t }, i));
|
|
3633
|
+
}, Bs = tt(
|
|
3632
3634
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3633
|
-
(e, r = Fe()) => new
|
|
3635
|
+
(e, r = Fe()) => new ns(e, r, lr().formats, {
|
|
3634
3636
|
ignoreTag: lr().ignoreTag
|
|
3635
3637
|
})
|
|
3636
|
-
),
|
|
3638
|
+
), Ns = (e, r = {}) => {
|
|
3637
3639
|
var t, i, n, s;
|
|
3638
3640
|
let u = r;
|
|
3639
3641
|
typeof e == "object" && (u = e, e = u.id);
|
|
@@ -3646,7 +3648,7 @@ const Ar = (e, r) => {
|
|
|
3646
3648
|
throw new Error(
|
|
3647
3649
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3648
3650
|
);
|
|
3649
|
-
let h =
|
|
3651
|
+
let h = _i(e, f);
|
|
3650
3652
|
if (!h)
|
|
3651
3653
|
h = (s = (n = (i = (t = lr()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: f, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
|
|
3652
3654
|
else if (typeof h != "string")
|
|
@@ -3657,7 +3659,7 @@ const Ar = (e, r) => {
|
|
|
3657
3659
|
return h;
|
|
3658
3660
|
let m = h;
|
|
3659
3661
|
try {
|
|
3660
|
-
m =
|
|
3662
|
+
m = Bs(h, f).format(a);
|
|
3661
3663
|
} catch (g) {
|
|
3662
3664
|
g instanceof Error && console.warn(
|
|
3663
3665
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3665,18 +3667,18 @@ const Ar = (e, r) => {
|
|
|
3665
3667
|
);
|
|
3666
3668
|
}
|
|
3667
3669
|
return m;
|
|
3668
|
-
},
|
|
3669
|
-
cr([hr], () => Ns);
|
|
3670
|
+
}, Os = (e, r) => Is(r).format(e), Ls = (e, r) => Hs(r).format(e), Ms = (e, r) => Ts(r).format(e), Rs = (e, r = Fe()) => _i(e, r), Us = cr([hr, Tr], () => Ns);
|
|
3670
3671
|
cr([hr], () => Os);
|
|
3671
3672
|
cr([hr], () => Ls);
|
|
3672
|
-
cr([hr
|
|
3673
|
-
|
|
3674
|
-
|
|
3673
|
+
cr([hr], () => Ms);
|
|
3674
|
+
cr([hr, Tr], () => Rs);
|
|
3675
|
+
function Qt(e, r) {
|
|
3676
|
+
Si(e, r);
|
|
3675
3677
|
}
|
|
3676
|
-
function
|
|
3678
|
+
function ks(e) {
|
|
3677
3679
|
hr.set(e);
|
|
3678
3680
|
}
|
|
3679
|
-
const
|
|
3681
|
+
const zt = {
|
|
3680
3682
|
en: {
|
|
3681
3683
|
registerTitle: "Create your account",
|
|
3682
3684
|
registerSubtitle: "Already have an account?",
|
|
@@ -3931,10 +3933,10 @@ const $t = {
|
|
|
3931
3933
|
registerNext: "Next"
|
|
3932
3934
|
}
|
|
3933
3935
|
};
|
|
3934
|
-
function
|
|
3935
|
-
|
|
3936
|
+
function Fs(e) {
|
|
3937
|
+
Ii(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}");
|
|
3936
3938
|
}
|
|
3937
|
-
function
|
|
3939
|
+
function Xt(e) {
|
|
3938
3940
|
let r, t = (
|
|
3939
3941
|
/*$_*/
|
|
3940
3942
|
e[30]("registerEmailError") + ""
|
|
@@ -3956,7 +3958,7 @@ function Qt(e) {
|
|
|
3956
3958
|
}
|
|
3957
3959
|
};
|
|
3958
3960
|
}
|
|
3959
|
-
function
|
|
3961
|
+
function Zt(e) {
|
|
3960
3962
|
let r, t = (
|
|
3961
3963
|
/*$_*/
|
|
3962
3964
|
e[30]("registerUsernameError") + ""
|
|
@@ -3978,7 +3980,7 @@ function zt(e) {
|
|
|
3978
3980
|
}
|
|
3979
3981
|
};
|
|
3980
3982
|
}
|
|
3981
|
-
function
|
|
3983
|
+
function Ds(e) {
|
|
3982
3984
|
let r, t, i, n, s, u, a, f, c;
|
|
3983
3985
|
return {
|
|
3984
3986
|
c() {
|
|
@@ -3998,7 +4000,7 @@ function Fs(e) {
|
|
|
3998
4000
|
}
|
|
3999
4001
|
};
|
|
4000
4002
|
}
|
|
4001
|
-
function
|
|
4003
|
+
function Gs(e) {
|
|
4002
4004
|
let r, t, i, n, s, u, a, f, c, h, m, g, b, _, y;
|
|
4003
4005
|
return {
|
|
4004
4006
|
c() {
|
|
@@ -4018,7 +4020,7 @@ function Ds(e) {
|
|
|
4018
4020
|
}
|
|
4019
4021
|
};
|
|
4020
4022
|
}
|
|
4021
|
-
function
|
|
4023
|
+
function Wt(e) {
|
|
4022
4024
|
let r, t = (
|
|
4023
4025
|
/*$_*/
|
|
4024
4026
|
e[30]("registerPasswordError") + ""
|
|
@@ -4040,7 +4042,7 @@ function Xt(e) {
|
|
|
4040
4042
|
}
|
|
4041
4043
|
};
|
|
4042
4044
|
}
|
|
4043
|
-
function
|
|
4045
|
+
function qt(e) {
|
|
4044
4046
|
let r, t = (
|
|
4045
4047
|
/*$_*/
|
|
4046
4048
|
e[30]("registerSimplePasswordError") + ""
|
|
@@ -4062,7 +4064,7 @@ function Zt(e) {
|
|
|
4062
4064
|
}
|
|
4063
4065
|
};
|
|
4064
4066
|
}
|
|
4065
|
-
function
|
|
4067
|
+
function js(e) {
|
|
4066
4068
|
let r, t, i, n, s, u, a, f, c;
|
|
4067
4069
|
return {
|
|
4068
4070
|
c() {
|
|
@@ -4082,7 +4084,7 @@ function Gs(e) {
|
|
|
4082
4084
|
}
|
|
4083
4085
|
};
|
|
4084
4086
|
}
|
|
4085
|
-
function
|
|
4087
|
+
function Vs(e) {
|
|
4086
4088
|
let r, t, i, n, s, u, a, f, c, h, m, g, b, _, y;
|
|
4087
4089
|
return {
|
|
4088
4090
|
c() {
|
|
@@ -4102,7 +4104,7 @@ function js(e) {
|
|
|
4102
4104
|
}
|
|
4103
4105
|
};
|
|
4104
4106
|
}
|
|
4105
|
-
function
|
|
4107
|
+
function Jt(e) {
|
|
4106
4108
|
let r, t = (
|
|
4107
4109
|
/*$_*/
|
|
4108
4110
|
e[30]("registerConfirmPasswordError") + ""
|
|
@@ -4124,7 +4126,7 @@ function Wt(e) {
|
|
|
4124
4126
|
}
|
|
4125
4127
|
};
|
|
4126
4128
|
}
|
|
4127
|
-
function
|
|
4129
|
+
function Yt(e) {
|
|
4128
4130
|
let r, t = (
|
|
4129
4131
|
/*custominputtextswitch*/
|
|
4130
4132
|
(e[2] == "true" ? (
|
|
@@ -4158,7 +4160,7 @@ function qt(e) {
|
|
|
4158
4160
|
}
|
|
4159
4161
|
};
|
|
4160
4162
|
}
|
|
4161
|
-
function
|
|
4163
|
+
function Kt(e) {
|
|
4162
4164
|
let r, t = (
|
|
4163
4165
|
/*custominputtextswitch*/
|
|
4164
4166
|
(e[2] == "true" ? (
|
|
@@ -4192,7 +4194,7 @@ function Jt(e) {
|
|
|
4192
4194
|
}
|
|
4193
4195
|
};
|
|
4194
4196
|
}
|
|
4195
|
-
function
|
|
4197
|
+
function $s(e) {
|
|
4196
4198
|
let r, t, i, n = (
|
|
4197
4199
|
/*$_*/
|
|
4198
4200
|
e[30]("registerTitle") + ""
|
|
@@ -4238,43 +4240,43 @@ function Vs(e) {
|
|
|
4238
4240
|
), _r, Fr, Ke, Dr, he, Gr, er, jr, p, I = (
|
|
4239
4241
|
/*$_*/
|
|
4240
4242
|
e[30]("registerNext") + ""
|
|
4241
|
-
), V, Vr, it,
|
|
4243
|
+
), V, Vr, it, At, J = (
|
|
4242
4244
|
/*invalidEmail*/
|
|
4243
|
-
e[4] &&
|
|
4245
|
+
e[4] && Xt(e)
|
|
4244
4246
|
), Y = (
|
|
4245
4247
|
/*invalidName*/
|
|
4246
|
-
e[5] &&
|
|
4248
|
+
e[5] && Zt(e)
|
|
4247
4249
|
);
|
|
4248
|
-
function
|
|
4250
|
+
function Tt(d, v) {
|
|
4249
4251
|
return (
|
|
4250
4252
|
/*isPasswordVisible*/
|
|
4251
|
-
d[25] ?
|
|
4253
|
+
d[25] ? Gs : Ds
|
|
4252
4254
|
);
|
|
4253
4255
|
}
|
|
4254
|
-
let $r =
|
|
4256
|
+
let $r = Tt(e), Se = $r(e), K = (
|
|
4255
4257
|
/*invalidPassword*/
|
|
4256
4258
|
e[6] && /*simplepasswordvalidation*/
|
|
4257
|
-
e[0] !== "true" &&
|
|
4259
|
+
e[0] !== "true" && Wt(e)
|
|
4258
4260
|
), ee = (
|
|
4259
4261
|
/*invalidPassword*/
|
|
4260
4262
|
e[6] && /*simplepasswordvalidation*/
|
|
4261
|
-
e[0] === "true" &&
|
|
4263
|
+
e[0] === "true" && qt(e)
|
|
4262
4264
|
);
|
|
4263
|
-
function
|
|
4265
|
+
function Ht(d, v) {
|
|
4264
4266
|
return (
|
|
4265
4267
|
/*isConfirmPasswordVisible*/
|
|
4266
|
-
d[26] ?
|
|
4268
|
+
d[26] ? Vs : js
|
|
4267
4269
|
);
|
|
4268
4270
|
}
|
|
4269
|
-
let Qr =
|
|
4271
|
+
let Qr = Ht(e), Pe = Qr(e), re = (
|
|
4270
4272
|
/*invalidConfirmPassword*/
|
|
4271
|
-
e[7] &&
|
|
4273
|
+
e[7] && Jt(e)
|
|
4272
4274
|
), te = (
|
|
4273
4275
|
/*invalidSecurityQuestion*/
|
|
4274
|
-
e[8] &&
|
|
4276
|
+
e[8] && Yt(e)
|
|
4275
4277
|
), ie = (
|
|
4276
4278
|
/*invalidSecurityAnswer*/
|
|
4277
|
-
e[9] &&
|
|
4279
|
+
e[9] && Kt(e)
|
|
4278
4280
|
);
|
|
4279
4281
|
return {
|
|
4280
4282
|
c() {
|
|
@@ -4332,7 +4334,7 @@ function Vs(e) {
|
|
|
4332
4334
|
he,
|
|
4333
4335
|
/*securityAnswer*/
|
|
4334
4336
|
e[23]
|
|
4335
|
-
), l(pe, Gr), ie && ie.m(pe, null), l(y, jr), l(y, p), l(p, V), e[78](r), it || (
|
|
4337
|
+
), l(pe, Gr), ie && ie.m(pe, null), l(y, jr), l(y, p), l(p, V), e[78](r), it || (At = [
|
|
4336
4338
|
x(
|
|
4337
4339
|
m,
|
|
4338
4340
|
"click",
|
|
@@ -4531,7 +4533,7 @@ function Vs(e) {
|
|
|
4531
4533
|
/*userEmail*/
|
|
4532
4534
|
d[19]
|
|
4533
4535
|
), /*invalidEmail*/
|
|
4534
|
-
d[4] ? J ? J.p(d, v) : (J =
|
|
4536
|
+
d[4] ? J ? J.p(d, v) : (J = Xt(d), J.c(), J.m(w, null)) : J && (J.d(1), J = null), v[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
|
|
4535
4537
|
132112 && xe !== (xe = "EmailContainer " + /*invalidEmail*/
|
|
4536
4538
|
(d[4] && !/*emailFocus*/
|
|
4537
4539
|
d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4546,7 +4548,7 @@ function Vs(e) {
|
|
|
4546
4548
|
/*userValue*/
|
|
4547
4549
|
d[18]
|
|
4548
4550
|
), /*invalidName*/
|
|
4549
|
-
d[5] ? Y ? Y.p(d, v) : (Y =
|
|
4551
|
+
d[5] ? Y ? Y.p(d, v) : (Y = Zt(d), Y.c(), Y.m(U, null)) : Y && (Y.d(1), Y = null), v[0] & /*invalidName, usernameFocus, disabledFieldsList*/
|
|
4550
4552
|
133152 && ae !== (ae = "UserContainer " + /*invalidName*/
|
|
4551
4553
|
(d[5] && !/*usernameFocus*/
|
|
4552
4554
|
d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4560,11 +4562,11 @@ function Vs(e) {
|
|
|
4560
4562
|
L,
|
|
4561
4563
|
/*userPassword*/
|
|
4562
4564
|
d[20]
|
|
4563
|
-
), $r === ($r =
|
|
4565
|
+
), $r === ($r = Tt(d)) && Se ? Se.p(d, v) : (Se.d(1), Se = $r(d), Se && (Se.c(), Se.m(O, je))), /*invalidPassword*/
|
|
4564
4566
|
d[6] && /*simplepasswordvalidation*/
|
|
4565
|
-
d[0] !== "true" ? K ? K.p(d, v) : (K =
|
|
4567
|
+
d[0] !== "true" ? K ? K.p(d, v) : (K = Wt(d), K.c(), K.m(O, Ve)) : K && (K.d(1), K = null), /*invalidPassword*/
|
|
4566
4568
|
d[6] && /*simplepasswordvalidation*/
|
|
4567
|
-
d[0] === "true" ? ee ? ee.p(d, v) : (ee =
|
|
4569
|
+
d[0] === "true" ? ee ? ee.p(d, v) : (ee = qt(d), ee.c(), ee.m(O, null)) : ee && (ee.d(1), ee = null), v[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
|
|
4568
4570
|
135232 && Le !== (Le = "PasswordContainer " + /*invalidPassword*/
|
|
4569
4571
|
(d[6] && !/*passwordFocus*/
|
|
4570
4572
|
d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4578,8 +4580,8 @@ function Vs(e) {
|
|
|
4578
4580
|
Q,
|
|
4579
4581
|
/*confirmUserPassword*/
|
|
4580
4582
|
d[21]
|
|
4581
|
-
), Qr === (Qr =
|
|
4582
|
-
d[7] ? re ? re.p(d, v) : (re =
|
|
4583
|
+
), Qr === (Qr = Ht(d)) && Pe ? Pe.p(d, v) : (Pe.d(1), Pe = Qr(d), Pe && (Pe.c(), Pe.m(j, Qe))), /*invalidConfirmPassword*/
|
|
4584
|
+
d[7] ? re ? re.p(d, v) : (re = Jt(d), re.c(), re.m(j, null)) : re && (re.d(1), re = null), v[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
|
|
4583
4585
|
139392 && ze !== (ze = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4584
4586
|
(d[7] && !/*confirmPasswordFocus*/
|
|
4585
4587
|
d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4608,7 +4610,7 @@ function Vs(e) {
|
|
|
4608
4610
|
/*securityQuestion*/
|
|
4609
4611
|
d[22]
|
|
4610
4612
|
), /*invalidSecurityQuestion*/
|
|
4611
|
-
d[8] ? te ? te.p(d, v) : (te =
|
|
4613
|
+
d[8] ? te ? te.p(d, v) : (te = Yt(d), te.c(), te.m(ge, null)) : te && (te.d(1), te = null), v[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
|
|
4612
4614
|
147712 && Je !== (Je = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4613
4615
|
(d[8] && !/*securityQFocus*/
|
|
4614
4616
|
d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4627,7 +4629,7 @@ function Vs(e) {
|
|
|
4627
4629
|
/*securityAnswer*/
|
|
4628
4630
|
d[23]
|
|
4629
4631
|
), /*invalidSecurityAnswer*/
|
|
4630
|
-
d[9] ? ie ? ie.p(d, v) : (ie =
|
|
4632
|
+
d[9] ? ie ? ie.p(d, v) : (ie = Kt(d), ie.c(), ie.m(pe, null)) : ie && (ie.d(1), ie = null), v[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
|
|
4631
4633
|
164352 && er !== (er = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4632
4634
|
(d[9] && !/*securityAFocus*/
|
|
4633
4635
|
d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4640,13 +4642,13 @@ function Vs(e) {
|
|
|
4640
4642
|
i: X,
|
|
4641
4643
|
o: X,
|
|
4642
4644
|
d(d) {
|
|
4643
|
-
d && se(r), J && J.d(), Y && Y.d(), e[59](null), Se.d(), K && K.d(), ee && ee.d(), e[65](null), Pe.d(), re && re.d(), te && te.d(), ie && ie.d(), e[78](null), it = !1, ur(
|
|
4645
|
+
d && se(r), J && J.d(), Y && Y.d(), e[59](null), Se.d(), K && K.d(), ee && ee.d(), e[65](null), Pe.d(), re && re.d(), te && te.d(), ie && ie.d(), e[78](null), it = !1, ur(At);
|
|
4644
4646
|
}
|
|
4645
4647
|
};
|
|
4646
4648
|
}
|
|
4647
|
-
function
|
|
4649
|
+
function Qs(e, r, t) {
|
|
4648
4650
|
let i;
|
|
4649
|
-
|
|
4651
|
+
Hi(e, Us, (p) => t(30, i = p));
|
|
4650
4652
|
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: u = "false" } = r, { clientstyling: a = "" } = r, { clientstylingurl: f = "" } = r, { translationurl: c = "" } = r, { savecredentials: h = "" } = r, { custominputtextswitch: m = "false" } = r, g = !1, b = !1, _ = !1, y = !1, w = !1, B = !1, $ = !1, M = !1, de = !1, G = !1, be = !1, R = !1, De = !1, xe, Ee = "", U = "", Z = "", me = "", W = "", oe = "", ve = "", Ne = !1, k = !1, _e, Ae, ae = {}, D = {
|
|
4651
4653
|
username: !1,
|
|
4652
4654
|
email: !1,
|
|
@@ -4664,14 +4666,14 @@ function $s(e, r, t) {
|
|
|
4664
4666
|
const dr = () => {
|
|
4665
4667
|
fetch(c).then((I) => I.json()).then((I) => {
|
|
4666
4668
|
Object.keys(I).forEach((V) => {
|
|
4667
|
-
|
|
4669
|
+
Qt(V, I[V]);
|
|
4668
4670
|
});
|
|
4669
4671
|
}).catch((I) => {
|
|
4670
4672
|
console.log(I);
|
|
4671
4673
|
});
|
|
4672
4674
|
};
|
|
4673
|
-
Object.keys(
|
|
4674
|
-
|
|
4675
|
+
Object.keys(zt).forEach((p) => {
|
|
4676
|
+
Qt(p, zt[p]);
|
|
4675
4677
|
});
|
|
4676
4678
|
const mr = () => {
|
|
4677
4679
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
@@ -4779,7 +4781,7 @@ function $s(e, r, t) {
|
|
|
4779
4781
|
}, ze = () => {
|
|
4780
4782
|
t(17, xe = s.split(","));
|
|
4781
4783
|
}, Ir = () => {
|
|
4782
|
-
|
|
4784
|
+
ks(n);
|
|
4783
4785
|
}, we = () => {
|
|
4784
4786
|
let p = document.createElement("style");
|
|
4785
4787
|
p.innerHTML = a, q.appendChild(p);
|
|
@@ -4798,7 +4800,7 @@ function $s(e, r, t) {
|
|
|
4798
4800
|
);
|
|
4799
4801
|
});
|
|
4800
4802
|
};
|
|
4801
|
-
|
|
4803
|
+
Ri(() => (window.addEventListener("message", Qe, !1), () => {
|
|
4802
4804
|
window.removeEventListener("message", Qe);
|
|
4803
4805
|
}));
|
|
4804
4806
|
const Xe = () => mr();
|
|
@@ -4941,14 +4943,14 @@ function $s(e, r, t) {
|
|
|
4941
4943
|
jr
|
|
4942
4944
|
];
|
|
4943
4945
|
}
|
|
4944
|
-
class
|
|
4946
|
+
class zs extends Zi {
|
|
4945
4947
|
constructor(r) {
|
|
4946
|
-
super(),
|
|
4948
|
+
super(), zi(
|
|
4947
4949
|
this,
|
|
4948
4950
|
r,
|
|
4951
|
+
Qs,
|
|
4949
4952
|
$s,
|
|
4950
|
-
|
|
4951
|
-
Kt,
|
|
4953
|
+
ri,
|
|
4952
4954
|
{
|
|
4953
4955
|
lang: 44,
|
|
4954
4956
|
disabledfields: 45,
|
|
@@ -4959,7 +4961,7 @@ class Qs extends zi {
|
|
|
4959
4961
|
savecredentials: 1,
|
|
4960
4962
|
custominputtextswitch: 2
|
|
4961
4963
|
},
|
|
4962
|
-
|
|
4964
|
+
Fs,
|
|
4963
4965
|
[-1, -1, -1, -1]
|
|
4964
4966
|
);
|
|
4965
4967
|
}
|
|
@@ -5012,7 +5014,7 @@ class Qs extends zi {
|
|
|
5012
5014
|
this.$$set({ custominputtextswitch: r }), Ce();
|
|
5013
5015
|
}
|
|
5014
5016
|
}
|
|
5015
|
-
|
|
5017
|
+
Xi(zs, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
|
|
5016
5018
|
export {
|
|
5017
|
-
|
|
5019
|
+
zs as G
|
|
5018
5020
|
};
|