@everymatrix/general-player-register-form-step1 1.86.2 → 1.86.4
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-DS_CaKnE.cjs +16 -0
- package/components/{GeneralPlayerRegisterFormStep1-WExqDnGU.js → GeneralPlayerRegisterFormStep1-DgDtAv9h.js} +659 -663
- package/components/{GeneralPlayerRegisterFormStep1-DwmzFer2.js → GeneralPlayerRegisterFormStep1-Jj0arex1.js} +641 -645
- 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-vleLCtgb.cjs +0 -3
|
@@ -2,15 +2,15 @@ var ji = Object.defineProperty, Vi = Object.defineProperties;
|
|
|
2
2
|
var $i = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Dt = Object.getOwnPropertySymbols;
|
|
4
4
|
var Qi = Object.prototype.hasOwnProperty, zi = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var ht = (e, r, t) => r in e ? ji(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Gt = (e, r) => {
|
|
6
6
|
for (var t in r || (r = {}))
|
|
7
|
-
Qi.call(r, t) &&
|
|
7
|
+
Qi.call(r, t) && ht(e, t, r[t]);
|
|
8
8
|
if (Dt)
|
|
9
9
|
for (var t of Dt(r))
|
|
10
|
-
zi.call(r, t) &&
|
|
10
|
+
zi.call(r, t) && ht(e, t, r[t]);
|
|
11
11
|
return e;
|
|
12
12
|
}, jt = (e, r) => Vi(e, $i(r));
|
|
13
|
-
var me = (e, r, t) => (
|
|
13
|
+
var me = (e, r, t) => (ht(e, typeof r != "symbol" ? r + "" : r, t), t);
|
|
14
14
|
var Vt = (e, r, t) => new Promise((i, n) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
@@ -35,10 +35,10 @@ function mi(e) {
|
|
|
35
35
|
function $t() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function ur(e) {
|
|
39
39
|
e.forEach(mi);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Bt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
44
|
function gi(e, r) {
|
|
@@ -95,14 +95,14 @@ function ie(e) {
|
|
|
95
95
|
function v(e) {
|
|
96
96
|
return document.createElement(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function _(e) {
|
|
99
99
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function H(e) {
|
|
102
102
|
return document.createTextNode(e);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
return
|
|
104
|
+
function I() {
|
|
105
|
+
return H(" ");
|
|
106
106
|
}
|
|
107
107
|
function x(e, r, t, i) {
|
|
108
108
|
return e.addEventListener(r, t, i), () => e.removeEventListener(r, t, i);
|
|
@@ -129,65 +129,65 @@ function Ki(e) {
|
|
|
129
129
|
}
|
|
130
130
|
), r;
|
|
131
131
|
}
|
|
132
|
-
let
|
|
133
|
-
function
|
|
134
|
-
|
|
132
|
+
let Br;
|
|
133
|
+
function Tr(e) {
|
|
134
|
+
Br = e;
|
|
135
135
|
}
|
|
136
136
|
function en() {
|
|
137
|
-
if (!
|
|
137
|
+
if (!Br)
|
|
138
138
|
throw new Error("Function called outside component initialization");
|
|
139
|
-
return
|
|
139
|
+
return Br;
|
|
140
140
|
}
|
|
141
141
|
function rn(e) {
|
|
142
142
|
en().$$.on_mount.push(e);
|
|
143
143
|
}
|
|
144
|
-
const
|
|
145
|
-
let
|
|
144
|
+
const ir = [], Hr = [];
|
|
145
|
+
let nr = [];
|
|
146
146
|
const Qt = [], tn = /* @__PURE__ */ Promise.resolve();
|
|
147
|
-
let
|
|
147
|
+
let Et = !1;
|
|
148
148
|
function nn() {
|
|
149
|
-
|
|
149
|
+
Et || (Et = !0, tn.then(ye));
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
|
|
151
|
+
function vt(e) {
|
|
152
|
+
nr.push(e);
|
|
153
153
|
}
|
|
154
|
-
const
|
|
155
|
-
let
|
|
154
|
+
const ft = /* @__PURE__ */ new Set();
|
|
155
|
+
let rr = 0;
|
|
156
156
|
function ye() {
|
|
157
|
-
if (
|
|
157
|
+
if (rr !== 0)
|
|
158
158
|
return;
|
|
159
|
-
const e =
|
|
159
|
+
const e = Br;
|
|
160
160
|
do {
|
|
161
161
|
try {
|
|
162
|
-
for (;
|
|
163
|
-
const r =
|
|
164
|
-
|
|
162
|
+
for (; rr < ir.length; ) {
|
|
163
|
+
const r = ir[rr];
|
|
164
|
+
rr++, Tr(r), sn(r.$$);
|
|
165
165
|
}
|
|
166
166
|
} catch (r) {
|
|
167
|
-
throw
|
|
167
|
+
throw ir.length = 0, rr = 0, r;
|
|
168
168
|
}
|
|
169
|
-
for (
|
|
170
|
-
|
|
171
|
-
for (let r = 0; r <
|
|
172
|
-
const t =
|
|
173
|
-
|
|
169
|
+
for (Tr(null), ir.length = 0, rr = 0; Hr.length; )
|
|
170
|
+
Hr.pop()();
|
|
171
|
+
for (let r = 0; r < nr.length; r += 1) {
|
|
172
|
+
const t = nr[r];
|
|
173
|
+
ft.has(t) || (ft.add(t), t());
|
|
174
174
|
}
|
|
175
|
-
|
|
176
|
-
} while (
|
|
175
|
+
nr.length = 0;
|
|
176
|
+
} while (ir.length);
|
|
177
177
|
for (; Qt.length; )
|
|
178
178
|
Qt.pop()();
|
|
179
|
-
|
|
179
|
+
Et = !1, ft.clear(), Tr(e);
|
|
180
180
|
}
|
|
181
181
|
function sn(e) {
|
|
182
182
|
if (e.fragment !== null) {
|
|
183
|
-
e.update(),
|
|
183
|
+
e.update(), ur(e.before_update);
|
|
184
184
|
const r = e.dirty;
|
|
185
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(
|
|
185
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(vt);
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
function on(e) {
|
|
189
189
|
const r = [], t = [];
|
|
190
|
-
|
|
190
|
+
nr.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), nr = r;
|
|
191
191
|
}
|
|
192
192
|
const an = /* @__PURE__ */ new Set();
|
|
193
193
|
function ln(e, r) {
|
|
@@ -195,21 +195,21 @@ function ln(e, r) {
|
|
|
195
195
|
}
|
|
196
196
|
function un(e, r, t) {
|
|
197
197
|
const { fragment: i, after_update: n } = e.$$;
|
|
198
|
-
i && i.m(r, t),
|
|
199
|
-
const s = e.$$.on_mount.map(mi).filter(
|
|
200
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
201
|
-
}), n.forEach(
|
|
198
|
+
i && i.m(r, t), vt(() => {
|
|
199
|
+
const s = e.$$.on_mount.map(mi).filter(Bt);
|
|
200
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ur(s), e.$$.on_mount = [];
|
|
201
|
+
}), n.forEach(vt);
|
|
202
202
|
}
|
|
203
203
|
function cn(e, r) {
|
|
204
204
|
const t = e.$$;
|
|
205
|
-
t.fragment !== null && (on(t.after_update),
|
|
205
|
+
t.fragment !== null && (on(t.after_update), ur(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
|
|
206
206
|
}
|
|
207
207
|
function hn(e, r) {
|
|
208
|
-
e.$$.dirty[0] === -1 && (
|
|
208
|
+
e.$$.dirty[0] === -1 && (ir.push(e), nn(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
|
|
209
209
|
}
|
|
210
210
|
function fn(e, r, t, i, n, s, a = null, l = [-1]) {
|
|
211
|
-
const h =
|
|
212
|
-
|
|
211
|
+
const h = Br;
|
|
212
|
+
Tr(e);
|
|
213
213
|
const c = e.$$ = {
|
|
214
214
|
fragment: null,
|
|
215
215
|
ctx: [],
|
|
@@ -234,9 +234,9 @@ function fn(e, r, t, i, n, s, a = null, l = [-1]) {
|
|
|
234
234
|
a && a(c.root);
|
|
235
235
|
let f = !1;
|
|
236
236
|
if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
|
|
237
|
-
const
|
|
238
|
-
return c.ctx && n(c.ctx[m], c.ctx[m] =
|
|
239
|
-
}) : [], c.update(), f = !0,
|
|
237
|
+
const w = b.length ? b[0] : g;
|
|
238
|
+
return c.ctx && n(c.ctx[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), f && hn(e, m)), g;
|
|
239
|
+
}) : [], c.update(), f = !0, ur(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
|
|
240
240
|
if (r.hydrate) {
|
|
241
241
|
const m = Yi(r.target);
|
|
242
242
|
c.fragment && c.fragment.l(m), m.forEach(ie);
|
|
@@ -244,7 +244,7 @@ function fn(e, r, t, i, n, s, a = null, l = [-1]) {
|
|
|
244
244
|
c.fragment && c.fragment.c();
|
|
245
245
|
r.intro && ln(e.$$.fragment), un(e, r.target, r.anchor), ye();
|
|
246
246
|
}
|
|
247
|
-
|
|
247
|
+
Tr(h);
|
|
248
248
|
}
|
|
249
249
|
let bi;
|
|
250
250
|
typeof HTMLElement == "function" && (bi = class extends HTMLElement {
|
|
@@ -313,7 +313,7 @@ typeof HTMLElement == "function" && (bi = class extends HTMLElement {
|
|
|
313
313
|
s in i && (t[s] = [r(s)]);
|
|
314
314
|
for (const s of this.attributes) {
|
|
315
315
|
const a = this.$$g_p(s.name);
|
|
316
|
-
a in this.$$d || (this.$$d[a] =
|
|
316
|
+
a in this.$$d || (this.$$d[a] = Kr(a, s.value, this.$$p_d, "toProp"));
|
|
317
317
|
}
|
|
318
318
|
for (const s in this.$$p_d)
|
|
319
319
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
@@ -330,7 +330,7 @@ typeof HTMLElement == "function" && (bi = class extends HTMLElement {
|
|
|
330
330
|
this.$$r = !0;
|
|
331
331
|
for (const s in this.$$p_d)
|
|
332
332
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
333
|
-
const a =
|
|
333
|
+
const a = Kr(
|
|
334
334
|
s,
|
|
335
335
|
this.$$d[s],
|
|
336
336
|
this.$$p_d,
|
|
@@ -354,7 +354,7 @@ typeof HTMLElement == "function" && (bi = class extends HTMLElement {
|
|
|
354
354
|
// and setting attributes through setAttribute etc, this is helpful
|
|
355
355
|
attributeChangedCallback(r, t, i) {
|
|
356
356
|
var n;
|
|
357
|
-
this.$$r || (r = this.$$g_p(r), this.$$d[r] =
|
|
357
|
+
this.$$r || (r = this.$$g_p(r), this.$$d[r] = Kr(r, i, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [r]: this.$$d[r] }));
|
|
358
358
|
}
|
|
359
359
|
disconnectedCallback() {
|
|
360
360
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -367,7 +367,7 @@ typeof HTMLElement == "function" && (bi = class extends HTMLElement {
|
|
|
367
367
|
) || r;
|
|
368
368
|
}
|
|
369
369
|
});
|
|
370
|
-
function
|
|
370
|
+
function Kr(e, r, t, i) {
|
|
371
371
|
var s;
|
|
372
372
|
const n = (s = t[e]) == null ? void 0 : s.type;
|
|
373
373
|
if (r = n === "Boolean" && typeof r != "boolean" ? r != null : r, !i || !t[e])
|
|
@@ -415,7 +415,7 @@ function dn(e, r, t, i, n, s) {
|
|
|
415
415
|
},
|
|
416
416
|
set(h) {
|
|
417
417
|
var c;
|
|
418
|
-
h =
|
|
418
|
+
h = Kr(l, h, r), this.$$d[l] = h, (c = this.$$c) == null || c.$set({ [l]: h });
|
|
419
419
|
}
|
|
420
420
|
});
|
|
421
421
|
}), i.forEach((l) => {
|
|
@@ -458,7 +458,7 @@ class mn {
|
|
|
458
458
|
* @returns {() => void}
|
|
459
459
|
*/
|
|
460
460
|
$on(r, t) {
|
|
461
|
-
if (!
|
|
461
|
+
if (!Bt(t))
|
|
462
462
|
return z;
|
|
463
463
|
const i = this.$$.callbacks[r] || (this.$$.callbacks[r] = []);
|
|
464
464
|
return i.push(t), () => {
|
|
@@ -476,24 +476,24 @@ class mn {
|
|
|
476
476
|
}
|
|
477
477
|
const gn = "4";
|
|
478
478
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
|
|
479
|
-
const
|
|
479
|
+
const tr = [];
|
|
480
480
|
function pn(e, r) {
|
|
481
481
|
return {
|
|
482
|
-
subscribe:
|
|
482
|
+
subscribe: nt(e, r).subscribe
|
|
483
483
|
};
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function nt(e, r = z) {
|
|
486
486
|
let t;
|
|
487
487
|
const i = /* @__PURE__ */ new Set();
|
|
488
488
|
function n(l) {
|
|
489
489
|
if (gi(e, l) && (e = l, t)) {
|
|
490
|
-
const h = !
|
|
490
|
+
const h = !tr.length;
|
|
491
491
|
for (const c of i)
|
|
492
|
-
c[1](),
|
|
492
|
+
c[1](), tr.push(c, e);
|
|
493
493
|
if (h) {
|
|
494
|
-
for (let c = 0; c <
|
|
495
|
-
|
|
496
|
-
|
|
494
|
+
for (let c = 0; c < tr.length; c += 2)
|
|
495
|
+
tr[c][0](tr[c + 1]);
|
|
496
|
+
tr.length = 0;
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
}
|
|
@@ -508,7 +508,7 @@ function ot(e, r = z) {
|
|
|
508
508
|
}
|
|
509
509
|
return { set: n, update: s, subscribe: a };
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function cr(e, r, t) {
|
|
512
512
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
513
513
|
if (!n.every(Boolean))
|
|
514
514
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -521,11 +521,11 @@ function hr(e, r, t) {
|
|
|
521
521
|
if (f)
|
|
522
522
|
return;
|
|
523
523
|
m();
|
|
524
|
-
const
|
|
525
|
-
s ? a(
|
|
524
|
+
const w = r(i ? c[0] : c, a, l);
|
|
525
|
+
s ? a(w) : m = Bt(w) ? w : z;
|
|
526
526
|
}, b = n.map(
|
|
527
|
-
(
|
|
528
|
-
|
|
527
|
+
(w, E) => pi(
|
|
528
|
+
w,
|
|
529
529
|
(A) => {
|
|
530
530
|
c[E] = A, f &= ~(1 << E), h && g();
|
|
531
531
|
},
|
|
@@ -535,7 +535,7 @@ function hr(e, r, t) {
|
|
|
535
535
|
)
|
|
536
536
|
);
|
|
537
537
|
return h = !0, g(), function() {
|
|
538
|
-
|
|
538
|
+
ur(b), m(), h = !1;
|
|
539
539
|
};
|
|
540
540
|
});
|
|
541
541
|
}
|
|
@@ -552,26 +552,26 @@ function vn(e) {
|
|
|
552
552
|
var r = Object.prototype.toString.call(e);
|
|
553
553
|
return r === "[object RegExp]" || r === "[object Date]" || Sn(e);
|
|
554
554
|
}
|
|
555
|
-
var
|
|
555
|
+
var wn = typeof Symbol == "function" && Symbol.for, _n = wn ? Symbol.for("react.element") : 60103;
|
|
556
556
|
function Sn(e) {
|
|
557
|
-
return e.$$typeof ===
|
|
557
|
+
return e.$$typeof === _n;
|
|
558
558
|
}
|
|
559
559
|
function Pn(e) {
|
|
560
560
|
return Array.isArray(e) ? [] : {};
|
|
561
561
|
}
|
|
562
|
-
function
|
|
563
|
-
return r.clone !== !1 && r.isMergeableObject(e) ?
|
|
562
|
+
function Ir(e, r) {
|
|
563
|
+
return r.clone !== !1 && r.isMergeableObject(e) ? sr(Pn(e), e, r) : e;
|
|
564
564
|
}
|
|
565
565
|
function xn(e, r, t) {
|
|
566
566
|
return e.concat(r).map(function(i) {
|
|
567
|
-
return
|
|
567
|
+
return Ir(i, t);
|
|
568
568
|
});
|
|
569
569
|
}
|
|
570
570
|
function Cn(e, r) {
|
|
571
571
|
if (!r.customMerge)
|
|
572
|
-
return
|
|
572
|
+
return sr;
|
|
573
573
|
var t = r.customMerge(e);
|
|
574
|
-
return typeof t == "function" ? t :
|
|
574
|
+
return typeof t == "function" ? t : sr;
|
|
575
575
|
}
|
|
576
576
|
function An(e) {
|
|
577
577
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
|
|
@@ -594,51 +594,65 @@ function Tn(e, r) {
|
|
|
594
594
|
function Hn(e, r, t) {
|
|
595
595
|
var i = {};
|
|
596
596
|
return t.isMergeableObject(e) && zt(e).forEach(function(n) {
|
|
597
|
-
i[n] =
|
|
597
|
+
i[n] = Ir(e[n], t);
|
|
598
598
|
}), zt(r).forEach(function(n) {
|
|
599
|
-
Tn(e, n) || (yi(e, n) && t.isMergeableObject(r[n]) ? i[n] = Cn(n, t)(e[n], r[n], t) : i[n] =
|
|
599
|
+
Tn(e, n) || (yi(e, n) && t.isMergeableObject(r[n]) ? i[n] = Cn(n, t)(e[n], r[n], t) : i[n] = Ir(r[n], t));
|
|
600
600
|
}), i;
|
|
601
601
|
}
|
|
602
|
-
function
|
|
603
|
-
t = t || {}, t.arrayMerge = t.arrayMerge || xn, t.isMergeableObject = t.isMergeableObject || yn, t.cloneUnlessOtherwiseSpecified =
|
|
602
|
+
function sr(e, r, t) {
|
|
603
|
+
t = t || {}, t.arrayMerge = t.arrayMerge || xn, t.isMergeableObject = t.isMergeableObject || yn, t.cloneUnlessOtherwiseSpecified = Ir;
|
|
604
604
|
var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
|
|
605
|
-
return s ? i ? t.arrayMerge(e, r, t) : Hn(e, r, t) :
|
|
605
|
+
return s ? i ? t.arrayMerge(e, r, t) : Hn(e, r, t) : Ir(r, t);
|
|
606
606
|
}
|
|
607
|
-
|
|
607
|
+
sr.all = function(r, t) {
|
|
608
608
|
if (!Array.isArray(r))
|
|
609
609
|
throw new Error("first argument should be an array");
|
|
610
610
|
return r.reduce(function(i, n) {
|
|
611
|
-
return
|
|
611
|
+
return sr(i, n, t);
|
|
612
612
|
}, {});
|
|
613
613
|
};
|
|
614
|
-
var Bn =
|
|
614
|
+
var Bn = sr, In = Bn;
|
|
615
615
|
const Nn = /* @__PURE__ */ bn(In);
|
|
616
|
-
|
|
617
|
-
|
|
616
|
+
/*! *****************************************************************************
|
|
617
|
+
Copyright (c) Microsoft Corporation.
|
|
618
|
+
|
|
619
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
620
|
+
purpose with or without fee is hereby granted.
|
|
621
|
+
|
|
622
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
623
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
624
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
625
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
626
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
627
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
628
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
629
|
+
***************************************************************************** */
|
|
630
|
+
var wt = function(e, r) {
|
|
631
|
+
return wt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
618
632
|
t.__proto__ = i;
|
|
619
633
|
} || function(t, i) {
|
|
620
634
|
for (var n in i)
|
|
621
635
|
Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
|
|
622
|
-
},
|
|
636
|
+
}, wt(e, r);
|
|
623
637
|
};
|
|
624
|
-
function
|
|
638
|
+
function st(e, r) {
|
|
625
639
|
if (typeof r != "function" && r !== null)
|
|
626
640
|
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
627
|
-
|
|
641
|
+
wt(e, r);
|
|
628
642
|
function t() {
|
|
629
643
|
this.constructor = e;
|
|
630
644
|
}
|
|
631
645
|
e.prototype = r === null ? Object.create(r) : (t.prototype = r.prototype, new t());
|
|
632
646
|
}
|
|
633
|
-
var
|
|
634
|
-
return
|
|
647
|
+
var T = function() {
|
|
648
|
+
return T = Object.assign || function(r) {
|
|
635
649
|
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
636
650
|
t = arguments[i];
|
|
637
651
|
for (var s in t)
|
|
638
652
|
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
639
653
|
}
|
|
640
654
|
return r;
|
|
641
|
-
},
|
|
655
|
+
}, T.apply(this, arguments);
|
|
642
656
|
};
|
|
643
657
|
function On(e, r) {
|
|
644
658
|
var t = {};
|
|
@@ -649,14 +663,14 @@ function On(e, r) {
|
|
|
649
663
|
r.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (t[i[n]] = e[i[n]]);
|
|
650
664
|
return t;
|
|
651
665
|
}
|
|
652
|
-
function
|
|
653
|
-
if (
|
|
666
|
+
function dt(e, r, t) {
|
|
667
|
+
if (arguments.length === 2)
|
|
654
668
|
for (var i = 0, n = r.length, s; i < n; i++)
|
|
655
669
|
(s || !(i in r)) && (s || (s = Array.prototype.slice.call(r, 0, i)), s[i] = r[i]);
|
|
656
|
-
return e.concat(s ||
|
|
670
|
+
return e.concat(s || r);
|
|
657
671
|
}
|
|
658
|
-
function
|
|
659
|
-
var t = r && r.cache ? r.cache :
|
|
672
|
+
function mt(e, r) {
|
|
673
|
+
var t = r && r.cache ? r.cache : Fn, i = r && r.serializer ? r.serializer : kn, n = r && r.strategy ? r.strategy : Mn;
|
|
660
674
|
return n(e, {
|
|
661
675
|
cache: t,
|
|
662
676
|
serializer: i
|
|
@@ -665,103 +679,95 @@ function pt(e, r) {
|
|
|
665
679
|
function Ln(e) {
|
|
666
680
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
667
681
|
}
|
|
668
|
-
function
|
|
682
|
+
function Ei(e, r, t, i) {
|
|
669
683
|
var n = Ln(i) ? i : t(i), s = r.get(n);
|
|
670
684
|
return typeof s == "undefined" && (s = e.call(this, i), r.set(n, s)), s;
|
|
671
685
|
}
|
|
672
|
-
function
|
|
686
|
+
function vi(e, r, t) {
|
|
673
687
|
var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
|
|
674
688
|
return typeof s == "undefined" && (s = e.apply(this, i), r.set(n, s)), s;
|
|
675
689
|
}
|
|
676
|
-
function
|
|
690
|
+
function It(e, r, t, i, n) {
|
|
677
691
|
return t.bind(r, e, i, n);
|
|
678
692
|
}
|
|
693
|
+
function Mn(e, r) {
|
|
694
|
+
var t = e.length === 1 ? Ei : vi;
|
|
695
|
+
return It(e, this, t, r.cache.create(), r.serializer);
|
|
696
|
+
}
|
|
679
697
|
function Rn(e, r) {
|
|
680
|
-
|
|
681
|
-
return vi(e, this, t, r.cache.create(), r.serializer);
|
|
698
|
+
return It(e, this, vi, r.cache.create(), r.serializer);
|
|
682
699
|
}
|
|
683
700
|
function Un(e, r) {
|
|
684
|
-
return
|
|
701
|
+
return It(e, this, Ei, r.cache.create(), r.serializer);
|
|
685
702
|
}
|
|
686
703
|
var kn = function() {
|
|
687
704
|
return JSON.stringify(arguments);
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
}()
|
|
700
|
-
), Dn = {
|
|
705
|
+
};
|
|
706
|
+
function Nt() {
|
|
707
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
708
|
+
}
|
|
709
|
+
Nt.prototype.get = function(e) {
|
|
710
|
+
return this.cache[e];
|
|
711
|
+
};
|
|
712
|
+
Nt.prototype.set = function(e, r) {
|
|
713
|
+
this.cache[e] = r;
|
|
714
|
+
};
|
|
715
|
+
var Fn = {
|
|
701
716
|
create: function() {
|
|
702
|
-
return new
|
|
717
|
+
return new Nt();
|
|
703
718
|
}
|
|
704
|
-
},
|
|
705
|
-
variadic:
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
709
|
-
t = arguments[i];
|
|
710
|
-
for (var s in t)
|
|
711
|
-
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
712
|
-
}
|
|
713
|
-
return r;
|
|
714
|
-
}, it.apply(this, arguments);
|
|
715
|
-
};
|
|
716
|
-
var S;
|
|
719
|
+
}, gt = {
|
|
720
|
+
variadic: Rn,
|
|
721
|
+
monadic: Un
|
|
722
|
+
}, S;
|
|
717
723
|
(function(e) {
|
|
718
724
|
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";
|
|
719
725
|
})(S || (S = {}));
|
|
720
|
-
var
|
|
726
|
+
var L;
|
|
721
727
|
(function(e) {
|
|
722
728
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
723
|
-
})(
|
|
724
|
-
var
|
|
729
|
+
})(L || (L = {}));
|
|
730
|
+
var or;
|
|
725
731
|
(function(e) {
|
|
726
732
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
727
|
-
})(
|
|
733
|
+
})(or || (or = {}));
|
|
728
734
|
function Xt(e) {
|
|
729
|
-
return e.type ===
|
|
735
|
+
return e.type === L.literal;
|
|
730
736
|
}
|
|
731
|
-
function
|
|
732
|
-
return e.type ===
|
|
733
|
-
}
|
|
734
|
-
function _i(e) {
|
|
735
|
-
return e.type === O.number;
|
|
737
|
+
function Dn(e) {
|
|
738
|
+
return e.type === L.argument;
|
|
736
739
|
}
|
|
737
740
|
function wi(e) {
|
|
738
|
-
return e.type ===
|
|
741
|
+
return e.type === L.number;
|
|
742
|
+
}
|
|
743
|
+
function _i(e) {
|
|
744
|
+
return e.type === L.date;
|
|
739
745
|
}
|
|
740
746
|
function Si(e) {
|
|
741
|
-
return e.type ===
|
|
747
|
+
return e.type === L.time;
|
|
742
748
|
}
|
|
743
749
|
function Pi(e) {
|
|
744
|
-
return e.type ===
|
|
750
|
+
return e.type === L.select;
|
|
745
751
|
}
|
|
746
752
|
function xi(e) {
|
|
747
|
-
return e.type ===
|
|
753
|
+
return e.type === L.plural;
|
|
748
754
|
}
|
|
749
|
-
function
|
|
750
|
-
return e.type ===
|
|
755
|
+
function Gn(e) {
|
|
756
|
+
return e.type === L.pound;
|
|
751
757
|
}
|
|
752
758
|
function Ci(e) {
|
|
753
|
-
return e.type ===
|
|
759
|
+
return e.type === L.tag;
|
|
754
760
|
}
|
|
755
761
|
function Ai(e) {
|
|
756
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
762
|
+
return !!(e && typeof e == "object" && e.type === or.number);
|
|
757
763
|
}
|
|
758
|
-
function
|
|
759
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
764
|
+
function _t(e) {
|
|
765
|
+
return !!(e && typeof e == "object" && e.type === or.dateTime);
|
|
760
766
|
}
|
|
761
|
-
var Ti = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
762
|
-
function
|
|
767
|
+
var Ti = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
|
|
768
|
+
function Vn(e) {
|
|
763
769
|
var r = {};
|
|
764
|
-
return e.replace(
|
|
770
|
+
return e.replace(jn, function(t) {
|
|
765
771
|
var i = t.length;
|
|
766
772
|
switch (t[0]) {
|
|
767
773
|
case "G":
|
|
@@ -850,21 +856,11 @@ function $n(e) {
|
|
|
850
856
|
return "";
|
|
851
857
|
}), r;
|
|
852
858
|
}
|
|
853
|
-
var
|
|
854
|
-
|
|
855
|
-
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
856
|
-
t = arguments[i];
|
|
857
|
-
for (var s in t)
|
|
858
|
-
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
859
|
-
}
|
|
860
|
-
return r;
|
|
861
|
-
}, L.apply(this, arguments);
|
|
862
|
-
};
|
|
863
|
-
var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
864
|
-
function zn(e) {
|
|
859
|
+
var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
860
|
+
function Qn(e) {
|
|
865
861
|
if (e.length === 0)
|
|
866
862
|
throw new Error("Number skeleton cannot be empty");
|
|
867
|
-
for (var r = e.split(
|
|
863
|
+
for (var r = e.split($n).filter(function(g) {
|
|
868
864
|
return g.length > 0;
|
|
869
865
|
}), t = [], i = 0, n = r; i < n.length; i++) {
|
|
870
866
|
var s = n[i], a = s.split("/");
|
|
@@ -879,10 +875,10 @@ function zn(e) {
|
|
|
879
875
|
}
|
|
880
876
|
return t;
|
|
881
877
|
}
|
|
882
|
-
function
|
|
878
|
+
function zn(e) {
|
|
883
879
|
return e.replace(/^(.*?)-/, "");
|
|
884
880
|
}
|
|
885
|
-
var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Hi = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
881
|
+
var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Hi = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, Bi = /^(0+)$/;
|
|
886
882
|
function Wt(e) {
|
|
887
883
|
var r = {};
|
|
888
884
|
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(Hi, function(t, i, n) {
|
|
@@ -929,7 +925,7 @@ function Ii(e) {
|
|
|
929
925
|
};
|
|
930
926
|
}
|
|
931
927
|
}
|
|
932
|
-
function
|
|
928
|
+
function Zn(e) {
|
|
933
929
|
var r;
|
|
934
930
|
if (e[0] === "E" && e[1] === "E" ? (r = {
|
|
935
931
|
notation: "engineering"
|
|
@@ -947,7 +943,7 @@ function qt(e) {
|
|
|
947
943
|
var r = {}, t = Ii(e);
|
|
948
944
|
return t || r;
|
|
949
945
|
}
|
|
950
|
-
function
|
|
946
|
+
function Wn(e) {
|
|
951
947
|
for (var r = {}, t = 0, i = e; t < i.length; t++) {
|
|
952
948
|
var n = i[t];
|
|
953
949
|
switch (n.stem) {
|
|
@@ -971,7 +967,7 @@ function qn(e) {
|
|
|
971
967
|
continue;
|
|
972
968
|
case "measure-unit":
|
|
973
969
|
case "unit":
|
|
974
|
-
r.style = "unit", r.unit =
|
|
970
|
+
r.style = "unit", r.unit = zn(n.options[0]);
|
|
975
971
|
continue;
|
|
976
972
|
case "compact-short":
|
|
977
973
|
case "K":
|
|
@@ -982,13 +978,13 @@ function qn(e) {
|
|
|
982
978
|
r.notation = "compact", r.compactDisplay = "long";
|
|
983
979
|
continue;
|
|
984
980
|
case "scientific":
|
|
985
|
-
r =
|
|
986
|
-
return
|
|
981
|
+
r = T(T(T({}, r), { notation: "scientific" }), n.options.reduce(function(h, c) {
|
|
982
|
+
return T(T({}, h), qt(c));
|
|
987
983
|
}, {}));
|
|
988
984
|
continue;
|
|
989
985
|
case "engineering":
|
|
990
|
-
r =
|
|
991
|
-
return
|
|
986
|
+
r = T(T(T({}, r), { notation: "engineering" }), n.options.reduce(function(h, c) {
|
|
987
|
+
return T(T({}, h), qt(c));
|
|
992
988
|
}, {}));
|
|
993
989
|
continue;
|
|
994
990
|
case "notation-simple":
|
|
@@ -1033,7 +1029,7 @@ function qn(e) {
|
|
|
1033
1029
|
case "integer-width":
|
|
1034
1030
|
if (n.options.length > 1)
|
|
1035
1031
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1036
|
-
n.options[0].replace(
|
|
1032
|
+
n.options[0].replace(Xn, function(h, c, f, m, g, b) {
|
|
1037
1033
|
if (c)
|
|
1038
1034
|
r.minimumIntegerDigits = f.length;
|
|
1039
1035
|
else {
|
|
@@ -1057,21 +1053,21 @@ function qn(e) {
|
|
|
1057
1053
|
return f === "*" ? 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), "";
|
|
1058
1054
|
});
|
|
1059
1055
|
var s = n.options[0];
|
|
1060
|
-
s === "w" ? r =
|
|
1056
|
+
s === "w" ? r = T(T({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = T(T({}, r), Wt(s)));
|
|
1061
1057
|
continue;
|
|
1062
1058
|
}
|
|
1063
1059
|
if (Hi.test(n.stem)) {
|
|
1064
|
-
r =
|
|
1060
|
+
r = T(T({}, r), Wt(n.stem));
|
|
1065
1061
|
continue;
|
|
1066
1062
|
}
|
|
1067
1063
|
var a = Ii(n.stem);
|
|
1068
|
-
a && (r =
|
|
1069
|
-
var l =
|
|
1070
|
-
l && (r =
|
|
1064
|
+
a && (r = T(T({}, r), a));
|
|
1065
|
+
var l = Zn(n.stem);
|
|
1066
|
+
l && (r = T(T({}, r), l));
|
|
1071
1067
|
}
|
|
1072
1068
|
return r;
|
|
1073
1069
|
}
|
|
1074
|
-
var
|
|
1070
|
+
var Yr = {
|
|
1075
1071
|
"001": [
|
|
1076
1072
|
"H",
|
|
1077
1073
|
"h"
|
|
@@ -2486,13 +2482,13 @@ var Kr = {
|
|
|
2486
2482
|
"h"
|
|
2487
2483
|
]
|
|
2488
2484
|
};
|
|
2489
|
-
function
|
|
2485
|
+
function qn(e, r) {
|
|
2490
2486
|
for (var t = "", i = 0; i < e.length; i++) {
|
|
2491
2487
|
var n = e.charAt(i);
|
|
2492
2488
|
if (n === "j") {
|
|
2493
2489
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2494
2490
|
s++, i++;
|
|
2495
|
-
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", c =
|
|
2491
|
+
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", c = Jn(r);
|
|
2496
2492
|
for ((c == "H" || c == "k") && (l = 0); l-- > 0; )
|
|
2497
2493
|
t += h;
|
|
2498
2494
|
for (; a-- > 0; )
|
|
@@ -2502,7 +2498,7 @@ function Jn(e, r) {
|
|
|
2502
2498
|
}
|
|
2503
2499
|
return t;
|
|
2504
2500
|
}
|
|
2505
|
-
function
|
|
2501
|
+
function Jn(e) {
|
|
2506
2502
|
var r = e.hourCycle;
|
|
2507
2503
|
if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2508
2504
|
e.hourCycles && // @ts-ignore
|
|
@@ -2521,23 +2517,23 @@ function Yn(e) {
|
|
|
2521
2517
|
}
|
|
2522
2518
|
var t = e.language, i;
|
|
2523
2519
|
t !== "root" && (i = e.maximize().region);
|
|
2524
|
-
var n =
|
|
2520
|
+
var n = Yr[i || ""] || Yr[t || ""] || Yr["".concat(t, "-001")] || Yr["001"];
|
|
2525
2521
|
return n[0];
|
|
2526
2522
|
}
|
|
2527
|
-
var
|
|
2523
|
+
var pt, Yn = new RegExp("^".concat(Ti.source, "*")), Kn = new RegExp("".concat(Ti.source, "*$"));
|
|
2528
2524
|
function P(e, r) {
|
|
2529
2525
|
return { start: e, end: r };
|
|
2530
2526
|
}
|
|
2531
|
-
var
|
|
2527
|
+
var es = !!String.prototype.startsWith && "_a".startsWith("a", 1), rs = !!String.fromCodePoint, ts = !!Object.fromEntries, is = !!String.prototype.codePointAt, ns = !!String.prototype.trimStart, ss = !!String.prototype.trimEnd, os = !!Number.isSafeInteger, as = os ? Number.isSafeInteger : function(e) {
|
|
2532
2528
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2533
|
-
},
|
|
2529
|
+
}, St = !0;
|
|
2534
2530
|
try {
|
|
2535
|
-
var
|
|
2536
|
-
|
|
2531
|
+
var ls = Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2532
|
+
St = ((pt = ls.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
|
|
2537
2533
|
} catch (e) {
|
|
2538
|
-
|
|
2534
|
+
St = !1;
|
|
2539
2535
|
}
|
|
2540
|
-
var Jt =
|
|
2536
|
+
var Jt = es ? (
|
|
2541
2537
|
// Native
|
|
2542
2538
|
function(r, t, i) {
|
|
2543
2539
|
return r.startsWith(t, i);
|
|
@@ -2547,7 +2543,7 @@ var Jt = rs ? (
|
|
|
2547
2543
|
function(r, t, i) {
|
|
2548
2544
|
return r.slice(i, i + t.length) === t;
|
|
2549
2545
|
}
|
|
2550
|
-
),
|
|
2546
|
+
), Pt = rs ? String.fromCodePoint : (
|
|
2551
2547
|
// IE11
|
|
2552
2548
|
function() {
|
|
2553
2549
|
for (var r = [], t = 0; t < arguments.length; t++)
|
|
@@ -2561,7 +2557,7 @@ var Jt = rs ? (
|
|
|
2561
2557
|
}
|
|
2562
2558
|
), Yt = (
|
|
2563
2559
|
// native
|
|
2564
|
-
|
|
2560
|
+
ts ? Object.fromEntries : (
|
|
2565
2561
|
// Ponyfill
|
|
2566
2562
|
function(r) {
|
|
2567
2563
|
for (var t = {}, i = 0, n = r; i < n.length; i++) {
|
|
@@ -2571,7 +2567,7 @@ var Jt = rs ? (
|
|
|
2571
2567
|
return t;
|
|
2572
2568
|
}
|
|
2573
2569
|
)
|
|
2574
|
-
), Ni =
|
|
2570
|
+
), Ni = is ? (
|
|
2575
2571
|
// Native
|
|
2576
2572
|
function(r, t) {
|
|
2577
2573
|
return r.codePointAt(t);
|
|
@@ -2585,7 +2581,7 @@ var Jt = rs ? (
|
|
|
2585
2581
|
return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2586
2582
|
}
|
|
2587
2583
|
}
|
|
2588
|
-
),
|
|
2584
|
+
), us = ns ? (
|
|
2589
2585
|
// Native
|
|
2590
2586
|
function(r) {
|
|
2591
2587
|
return r.trimStart();
|
|
@@ -2593,9 +2589,9 @@ var Jt = rs ? (
|
|
|
2593
2589
|
) : (
|
|
2594
2590
|
// Ponyfill
|
|
2595
2591
|
function(r) {
|
|
2596
|
-
return r.replace(
|
|
2592
|
+
return r.replace(Yn, "");
|
|
2597
2593
|
}
|
|
2598
|
-
),
|
|
2594
|
+
), cs = ss ? (
|
|
2599
2595
|
// Native
|
|
2600
2596
|
function(r) {
|
|
2601
2597
|
return r.trimEnd();
|
|
@@ -2603,32 +2599,32 @@ var Jt = rs ? (
|
|
|
2603
2599
|
) : (
|
|
2604
2600
|
// Ponyfill
|
|
2605
2601
|
function(r) {
|
|
2606
|
-
return r.replace(
|
|
2602
|
+
return r.replace(Kn, "");
|
|
2607
2603
|
}
|
|
2608
2604
|
);
|
|
2609
2605
|
function Oi(e, r) {
|
|
2610
2606
|
return new RegExp(e, r);
|
|
2611
2607
|
}
|
|
2612
|
-
var
|
|
2613
|
-
if (
|
|
2608
|
+
var xt;
|
|
2609
|
+
if (St) {
|
|
2614
2610
|
var Kt = Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2615
|
-
|
|
2611
|
+
xt = function(r, t) {
|
|
2616
2612
|
var i;
|
|
2617
2613
|
Kt.lastIndex = t;
|
|
2618
2614
|
var n = Kt.exec(r);
|
|
2619
2615
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2620
2616
|
};
|
|
2621
2617
|
} else
|
|
2622
|
-
|
|
2618
|
+
xt = function(r, t) {
|
|
2623
2619
|
for (var i = []; ; ) {
|
|
2624
2620
|
var n = Ni(r, t);
|
|
2625
|
-
if (n === void 0 || Li(n) ||
|
|
2621
|
+
if (n === void 0 || Li(n) || ms(n))
|
|
2626
2622
|
break;
|
|
2627
2623
|
i.push(n), t += n >= 65536 ? 2 : 1;
|
|
2628
2624
|
}
|
|
2629
|
-
return
|
|
2625
|
+
return Pt.apply(void 0, i);
|
|
2630
2626
|
};
|
|
2631
|
-
var
|
|
2627
|
+
var hs = (
|
|
2632
2628
|
/** @class */
|
|
2633
2629
|
function() {
|
|
2634
2630
|
function e(r, t) {
|
|
@@ -2652,14 +2648,14 @@ var fs = (
|
|
|
2652
2648
|
if (s === 35 && (t === "plural" || t === "selectordinal")) {
|
|
2653
2649
|
var l = this.clonePosition();
|
|
2654
2650
|
this.bump(), n.push({
|
|
2655
|
-
type:
|
|
2651
|
+
type: L.pound,
|
|
2656
2652
|
location: P(l, this.clonePosition())
|
|
2657
2653
|
});
|
|
2658
2654
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2659
2655
|
if (i)
|
|
2660
2656
|
break;
|
|
2661
2657
|
return this.error(S.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
|
|
2662
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2658
|
+
} else if (s === 60 && !this.ignoreTag && Ct(this.peek() || 0)) {
|
|
2663
2659
|
var a = this.parseTag(r, t);
|
|
2664
2660
|
if (a.err)
|
|
2665
2661
|
return a;
|
|
@@ -2680,7 +2676,7 @@ var fs = (
|
|
|
2680
2676
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2681
2677
|
return {
|
|
2682
2678
|
val: {
|
|
2683
|
-
type:
|
|
2679
|
+
type: L.literal,
|
|
2684
2680
|
value: "<".concat(n, "/>"),
|
|
2685
2681
|
location: P(i, this.clonePosition())
|
|
2686
2682
|
},
|
|
@@ -2692,12 +2688,12 @@ var fs = (
|
|
|
2692
2688
|
return s;
|
|
2693
2689
|
var a = s.val, l = this.clonePosition();
|
|
2694
2690
|
if (this.bumpIf("</")) {
|
|
2695
|
-
if (this.isEOF() || !
|
|
2691
|
+
if (this.isEOF() || !Ct(this.char()))
|
|
2696
2692
|
return this.error(S.INVALID_TAG, P(l, this.clonePosition()));
|
|
2697
2693
|
var h = this.clonePosition(), c = this.parseTagName();
|
|
2698
2694
|
return n !== c ? this.error(S.UNMATCHED_CLOSING_TAG, P(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2699
2695
|
val: {
|
|
2700
|
-
type:
|
|
2696
|
+
type: L.tag,
|
|
2701
2697
|
value: n,
|
|
2702
2698
|
children: a,
|
|
2703
2699
|
location: P(i, this.clonePosition())
|
|
@@ -2710,7 +2706,7 @@ var fs = (
|
|
|
2710
2706
|
return this.error(S.INVALID_TAG, P(i, this.clonePosition()));
|
|
2711
2707
|
}, e.prototype.parseTagName = function() {
|
|
2712
2708
|
var r = this.offset();
|
|
2713
|
-
for (this.bump(); !this.isEOF() &&
|
|
2709
|
+
for (this.bump(); !this.isEOF() && ds(this.char()); )
|
|
2714
2710
|
this.bump();
|
|
2715
2711
|
return this.message.slice(r, this.offset());
|
|
2716
2712
|
}, e.prototype.parseLiteral = function(r, t) {
|
|
@@ -2734,12 +2730,12 @@ var fs = (
|
|
|
2734
2730
|
}
|
|
2735
2731
|
var h = P(i, this.clonePosition());
|
|
2736
2732
|
return {
|
|
2737
|
-
val: { type:
|
|
2733
|
+
val: { type: L.literal, value: n, location: h },
|
|
2738
2734
|
err: null
|
|
2739
2735
|
};
|
|
2740
2736
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2741
2737
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2742
|
-
!
|
|
2738
|
+
!fs(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2743
2739
|
}, e.prototype.tryParseQuote = function(r) {
|
|
2744
2740
|
if (this.isEOF() || this.char() !== 39)
|
|
2745
2741
|
return null;
|
|
@@ -2773,12 +2769,12 @@ var fs = (
|
|
|
2773
2769
|
t.push(i);
|
|
2774
2770
|
this.bump();
|
|
2775
2771
|
}
|
|
2776
|
-
return
|
|
2772
|
+
return Pt.apply(void 0, t);
|
|
2777
2773
|
}, e.prototype.tryParseUnquoted = function(r, t) {
|
|
2778
2774
|
if (this.isEOF())
|
|
2779
2775
|
return null;
|
|
2780
2776
|
var i = this.char();
|
|
2781
|
-
return i === 60 || i === 123 || i === 35 && (t === "plural" || t === "selectordinal") || i === 125 && r > 0 ? null : (this.bump(),
|
|
2777
|
+
return i === 60 || i === 123 || i === 35 && (t === "plural" || t === "selectordinal") || i === 125 && r > 0 ? null : (this.bump(), Pt(i));
|
|
2782
2778
|
}, e.prototype.parseArgument = function(r, t) {
|
|
2783
2779
|
var i = this.clonePosition();
|
|
2784
2780
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2794,7 +2790,7 @@ var fs = (
|
|
|
2794
2790
|
case 125:
|
|
2795
2791
|
return this.bump(), {
|
|
2796
2792
|
val: {
|
|
2797
|
-
type:
|
|
2793
|
+
type: L.argument,
|
|
2798
2794
|
// value does not include the opening and closing braces.
|
|
2799
2795
|
value: n,
|
|
2800
2796
|
location: P(i, this.clonePosition())
|
|
@@ -2807,7 +2803,7 @@ var fs = (
|
|
|
2807
2803
|
return this.error(S.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
|
|
2808
2804
|
}
|
|
2809
2805
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2810
|
-
var r = this.clonePosition(), t = this.offset(), i =
|
|
2806
|
+
var r = this.clonePosition(), t = this.offset(), i = xt(this.message, t), n = t + i.length;
|
|
2811
2807
|
this.bumpTo(n);
|
|
2812
2808
|
var s = this.clonePosition(), a = P(r, s);
|
|
2813
2809
|
return { value: i, location: a };
|
|
@@ -2826,35 +2822,35 @@ var fs = (
|
|
|
2826
2822
|
var f = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2827
2823
|
if (m.err)
|
|
2828
2824
|
return m;
|
|
2829
|
-
var g =
|
|
2825
|
+
var g = cs(m.val);
|
|
2830
2826
|
if (g.length === 0)
|
|
2831
2827
|
return this.error(S.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
|
|
2832
2828
|
var b = P(f, this.clonePosition());
|
|
2833
2829
|
c = { style: g, styleLocation: b };
|
|
2834
2830
|
}
|
|
2835
|
-
var
|
|
2836
|
-
if (
|
|
2837
|
-
return
|
|
2831
|
+
var w = this.tryParseArgumentClose(n);
|
|
2832
|
+
if (w.err)
|
|
2833
|
+
return w;
|
|
2838
2834
|
var E = P(n, this.clonePosition());
|
|
2839
2835
|
if (c && Jt(c == null ? void 0 : c.style, "::", 0)) {
|
|
2840
|
-
var A =
|
|
2836
|
+
var A = us(c.style.slice(2));
|
|
2841
2837
|
if (l === "number") {
|
|
2842
2838
|
var m = this.parseNumberSkeletonFromString(A, c.styleLocation);
|
|
2843
2839
|
return m.err ? m : {
|
|
2844
|
-
val: { type:
|
|
2840
|
+
val: { type: L.number, value: i, location: E, style: m.val },
|
|
2845
2841
|
err: null
|
|
2846
2842
|
};
|
|
2847
2843
|
} else {
|
|
2848
2844
|
if (A.length === 0)
|
|
2849
2845
|
return this.error(S.EXPECT_DATE_TIME_SKELETON, E);
|
|
2850
|
-
var
|
|
2851
|
-
this.locale && (
|
|
2846
|
+
var O = A;
|
|
2847
|
+
this.locale && (O = qn(A, this.locale));
|
|
2852
2848
|
var g = {
|
|
2853
|
-
type:
|
|
2854
|
-
pattern:
|
|
2849
|
+
type: or.dateTime,
|
|
2850
|
+
pattern: O,
|
|
2855
2851
|
location: c.styleLocation,
|
|
2856
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2857
|
-
}, M = l === "date" ?
|
|
2852
|
+
parsedOptions: this.shouldParseSkeletons ? Vn(O) : {}
|
|
2853
|
+
}, M = l === "date" ? L.date : L.time;
|
|
2858
2854
|
return {
|
|
2859
2855
|
val: { type: M, value: i, location: E, style: g },
|
|
2860
2856
|
err: null
|
|
@@ -2863,7 +2859,7 @@ var fs = (
|
|
|
2863
2859
|
}
|
|
2864
2860
|
return {
|
|
2865
2861
|
val: {
|
|
2866
|
-
type: l === "number" ?
|
|
2862
|
+
type: l === "number" ? L.number : l === "date" ? L.date : L.time,
|
|
2867
2863
|
value: i,
|
|
2868
2864
|
location: E,
|
|
2869
2865
|
style: (s = c == null ? void 0 : c.style) !== null && s !== void 0 ? s : null
|
|
@@ -2876,7 +2872,7 @@ var fs = (
|
|
|
2876
2872
|
case "select": {
|
|
2877
2873
|
var R = this.clonePosition();
|
|
2878
2874
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2879
|
-
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, P(R,
|
|
2875
|
+
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, P(R, T({}, R)));
|
|
2880
2876
|
this.bumpSpace();
|
|
2881
2877
|
var ce = this.parseIdentifierIfPossible(), G = 0;
|
|
2882
2878
|
if (l !== "select" && ce.value === "offset") {
|
|
@@ -2891,13 +2887,13 @@ var fs = (
|
|
|
2891
2887
|
var ge = this.tryParsePluralOrSelectOptions(r, l, t, ce);
|
|
2892
2888
|
if (ge.err)
|
|
2893
2889
|
return ge;
|
|
2894
|
-
var
|
|
2895
|
-
if (
|
|
2896
|
-
return
|
|
2890
|
+
var w = this.tryParseArgumentClose(n);
|
|
2891
|
+
if (w.err)
|
|
2892
|
+
return w;
|
|
2897
2893
|
var U = P(n, this.clonePosition());
|
|
2898
2894
|
return l === "select" ? {
|
|
2899
2895
|
val: {
|
|
2900
|
-
type:
|
|
2896
|
+
type: L.select,
|
|
2901
2897
|
value: i,
|
|
2902
2898
|
options: Yt(ge.val),
|
|
2903
2899
|
location: U
|
|
@@ -2905,7 +2901,7 @@ var fs = (
|
|
|
2905
2901
|
err: null
|
|
2906
2902
|
} : {
|
|
2907
2903
|
val: {
|
|
2908
|
-
type:
|
|
2904
|
+
type: L.plural,
|
|
2909
2905
|
value: i,
|
|
2910
2906
|
options: Yt(ge.val),
|
|
2911
2907
|
offset: G,
|
|
@@ -2958,16 +2954,16 @@ var fs = (
|
|
|
2958
2954
|
}, e.prototype.parseNumberSkeletonFromString = function(r, t) {
|
|
2959
2955
|
var i = [];
|
|
2960
2956
|
try {
|
|
2961
|
-
i =
|
|
2957
|
+
i = Qn(r);
|
|
2962
2958
|
} catch (n) {
|
|
2963
2959
|
return this.error(S.INVALID_NUMBER_SKELETON, t);
|
|
2964
2960
|
}
|
|
2965
2961
|
return {
|
|
2966
2962
|
val: {
|
|
2967
|
-
type:
|
|
2963
|
+
type: or.number,
|
|
2968
2964
|
tokens: i,
|
|
2969
2965
|
location: t,
|
|
2970
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2966
|
+
parsedOptions: this.shouldParseSkeletons ? Wn(i) : {}
|
|
2971
2967
|
},
|
|
2972
2968
|
err: null
|
|
2973
2969
|
};
|
|
@@ -2989,16 +2985,16 @@ var fs = (
|
|
|
2989
2985
|
var b = this.clonePosition();
|
|
2990
2986
|
if (!this.bumpIf("{"))
|
|
2991
2987
|
return this.error(t === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
|
|
2992
|
-
var
|
|
2993
|
-
if (
|
|
2994
|
-
return
|
|
2988
|
+
var w = this.parseMessage(r + 1, t, i);
|
|
2989
|
+
if (w.err)
|
|
2990
|
+
return w;
|
|
2995
2991
|
var E = this.tryParseArgumentClose(b);
|
|
2996
2992
|
if (E.err)
|
|
2997
2993
|
return E;
|
|
2998
2994
|
l.push([
|
|
2999
2995
|
c,
|
|
3000
2996
|
{
|
|
3001
|
-
value:
|
|
2997
|
+
value: w.val,
|
|
3002
2998
|
location: P(b, this.clonePosition())
|
|
3003
2999
|
}
|
|
3004
3000
|
]), h.add(c), this.bumpSpace(), s = this.parseIdentifierIfPossible(), c = s.value, f = s.location;
|
|
@@ -3015,7 +3011,7 @@ var fs = (
|
|
|
3015
3011
|
break;
|
|
3016
3012
|
}
|
|
3017
3013
|
var h = P(n, this.clonePosition());
|
|
3018
|
-
return s ? (a *= i,
|
|
3014
|
+
return s ? (a *= i, as(a) ? { val: a, err: null } : this.error(t, h)) : this.error(r, h);
|
|
3019
3015
|
}, e.prototype.offset = function() {
|
|
3020
3016
|
return this.position.offset;
|
|
3021
3017
|
}, e.prototype.isEOF = function() {
|
|
@@ -3081,47 +3077,47 @@ var fs = (
|
|
|
3081
3077
|
}, e;
|
|
3082
3078
|
}()
|
|
3083
3079
|
);
|
|
3084
|
-
function
|
|
3080
|
+
function Ct(e) {
|
|
3085
3081
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3086
3082
|
}
|
|
3087
|
-
function
|
|
3088
|
-
return
|
|
3083
|
+
function fs(e) {
|
|
3084
|
+
return Ct(e) || e === 47;
|
|
3089
3085
|
}
|
|
3090
|
-
function
|
|
3086
|
+
function ds(e) {
|
|
3091
3087
|
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;
|
|
3092
3088
|
}
|
|
3093
3089
|
function Li(e) {
|
|
3094
3090
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3095
3091
|
}
|
|
3096
|
-
function
|
|
3092
|
+
function ms(e) {
|
|
3097
3093
|
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;
|
|
3098
3094
|
}
|
|
3099
|
-
function
|
|
3095
|
+
function At(e) {
|
|
3100
3096
|
e.forEach(function(r) {
|
|
3101
3097
|
if (delete r.location, Pi(r) || xi(r))
|
|
3102
3098
|
for (var t in r.options)
|
|
3103
|
-
delete r.options[t].location,
|
|
3099
|
+
delete r.options[t].location, At(r.options[t].value);
|
|
3104
3100
|
else
|
|
3105
|
-
|
|
3101
|
+
wi(r) && Ai(r.style) || (_i(r) || Si(r)) && _t(r.style) ? delete r.style.location : Ci(r) && At(r.children);
|
|
3106
3102
|
});
|
|
3107
3103
|
}
|
|
3108
|
-
function
|
|
3109
|
-
r === void 0 && (r = {}), r =
|
|
3110
|
-
var t = new
|
|
3104
|
+
function gs(e, r) {
|
|
3105
|
+
r === void 0 && (r = {}), r = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
|
|
3106
|
+
var t = new hs(e, r).parse();
|
|
3111
3107
|
if (t.err) {
|
|
3112
3108
|
var i = SyntaxError(S[t.err.kind]);
|
|
3113
3109
|
throw i.location = t.err.location, i.originalMessage = t.err.message, i;
|
|
3114
3110
|
}
|
|
3115
|
-
return r != null && r.captureLocation ||
|
|
3111
|
+
return r != null && r.captureLocation || At(t.val), t.val;
|
|
3116
3112
|
}
|
|
3117
|
-
var
|
|
3113
|
+
var ar;
|
|
3118
3114
|
(function(e) {
|
|
3119
3115
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3120
|
-
})(
|
|
3121
|
-
var
|
|
3116
|
+
})(ar || (ar = {}));
|
|
3117
|
+
var ot = (
|
|
3122
3118
|
/** @class */
|
|
3123
3119
|
function(e) {
|
|
3124
|
-
|
|
3120
|
+
st(r, e);
|
|
3125
3121
|
function r(t, i, n) {
|
|
3126
3122
|
var s = e.call(this, t) || this;
|
|
3127
3123
|
return s.code = i, s.originalMessage = n, s;
|
|
@@ -3133,44 +3129,44 @@ var lt = (
|
|
|
3133
3129
|
), ei = (
|
|
3134
3130
|
/** @class */
|
|
3135
3131
|
function(e) {
|
|
3136
|
-
|
|
3132
|
+
st(r, e);
|
|
3137
3133
|
function r(t, i, n, s) {
|
|
3138
|
-
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3134
|
+
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ar.INVALID_VALUE, s) || this;
|
|
3139
3135
|
}
|
|
3140
3136
|
return r;
|
|
3141
|
-
}(
|
|
3142
|
-
),
|
|
3137
|
+
}(ot)
|
|
3138
|
+
), ps = (
|
|
3143
3139
|
/** @class */
|
|
3144
3140
|
function(e) {
|
|
3145
|
-
|
|
3141
|
+
st(r, e);
|
|
3146
3142
|
function r(t, i, n) {
|
|
3147
|
-
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i),
|
|
3143
|
+
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i), ar.INVALID_VALUE, n) || this;
|
|
3148
3144
|
}
|
|
3149
3145
|
return r;
|
|
3150
|
-
}(
|
|
3151
|
-
),
|
|
3146
|
+
}(ot)
|
|
3147
|
+
), bs = (
|
|
3152
3148
|
/** @class */
|
|
3153
3149
|
function(e) {
|
|
3154
|
-
|
|
3150
|
+
st(r, e);
|
|
3155
3151
|
function r(t, i) {
|
|
3156
|
-
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'),
|
|
3152
|
+
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'), ar.MISSING_VALUE, i) || this;
|
|
3157
3153
|
}
|
|
3158
3154
|
return r;
|
|
3159
|
-
}(
|
|
3155
|
+
}(ot)
|
|
3160
3156
|
), Q;
|
|
3161
3157
|
(function(e) {
|
|
3162
3158
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3163
3159
|
})(Q || (Q = {}));
|
|
3164
|
-
function
|
|
3160
|
+
function ys(e) {
|
|
3165
3161
|
return e.length < 2 ? e : e.reduce(function(r, t) {
|
|
3166
3162
|
var i = r[r.length - 1];
|
|
3167
3163
|
return !i || i.type !== Q.literal || t.type !== Q.literal ? r.push(t) : i.value += t.value, r;
|
|
3168
3164
|
}, []);
|
|
3169
3165
|
}
|
|
3170
|
-
function
|
|
3166
|
+
function Es(e) {
|
|
3171
3167
|
return typeof e == "function";
|
|
3172
3168
|
}
|
|
3173
|
-
function
|
|
3169
|
+
function et(e, r, t, i, n, s, a) {
|
|
3174
3170
|
if (e.length === 1 && Xt(e[0]))
|
|
3175
3171
|
return [
|
|
3176
3172
|
{
|
|
@@ -3187,7 +3183,7 @@ function rt(e, r, t, i, n, s, a) {
|
|
|
3187
3183
|
});
|
|
3188
3184
|
continue;
|
|
3189
3185
|
}
|
|
3190
|
-
if (
|
|
3186
|
+
if (Gn(f)) {
|
|
3191
3187
|
typeof s == "number" && l.push({
|
|
3192
3188
|
type: Q.literal,
|
|
3193
3189
|
value: t.getNumberFormat(r).format(s)
|
|
@@ -3196,17 +3192,17 @@ function rt(e, r, t, i, n, s, a) {
|
|
|
3196
3192
|
}
|
|
3197
3193
|
var m = f.value;
|
|
3198
3194
|
if (!(n && m in n))
|
|
3199
|
-
throw new
|
|
3195
|
+
throw new bs(m, a);
|
|
3200
3196
|
var g = n[m];
|
|
3201
|
-
if (
|
|
3197
|
+
if (Dn(f)) {
|
|
3202
3198
|
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), l.push({
|
|
3203
3199
|
type: typeof g == "string" ? Q.literal : Q.object,
|
|
3204
3200
|
value: g
|
|
3205
3201
|
});
|
|
3206
3202
|
continue;
|
|
3207
3203
|
}
|
|
3208
|
-
if (
|
|
3209
|
-
var b = typeof f.style == "string" ? i.date[f.style] :
|
|
3204
|
+
if (_i(f)) {
|
|
3205
|
+
var b = typeof f.style == "string" ? i.date[f.style] : _t(f.style) ? f.style.parsedOptions : void 0;
|
|
3210
3206
|
l.push({
|
|
3211
3207
|
type: Q.literal,
|
|
3212
3208
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
@@ -3214,14 +3210,14 @@ function rt(e, r, t, i, n, s, a) {
|
|
|
3214
3210
|
continue;
|
|
3215
3211
|
}
|
|
3216
3212
|
if (Si(f)) {
|
|
3217
|
-
var b = typeof f.style == "string" ? i.time[f.style] :
|
|
3213
|
+
var b = typeof f.style == "string" ? i.time[f.style] : _t(f.style) ? f.style.parsedOptions : i.time.medium;
|
|
3218
3214
|
l.push({
|
|
3219
3215
|
type: Q.literal,
|
|
3220
3216
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3221
3217
|
});
|
|
3222
3218
|
continue;
|
|
3223
3219
|
}
|
|
3224
|
-
if (
|
|
3220
|
+
if (wi(f)) {
|
|
3225
3221
|
var b = typeof f.style == "string" ? i.number[f.style] : Ai(f.style) ? f.style.parsedOptions : void 0;
|
|
3226
3222
|
b && b.scale && (g = g * (b.scale || 1)), l.push({
|
|
3227
3223
|
type: Q.literal,
|
|
@@ -3230,10 +3226,10 @@ function rt(e, r, t, i, n, s, a) {
|
|
|
3230
3226
|
continue;
|
|
3231
3227
|
}
|
|
3232
3228
|
if (Ci(f)) {
|
|
3233
|
-
var
|
|
3234
|
-
if (!
|
|
3235
|
-
throw new
|
|
3236
|
-
var
|
|
3229
|
+
var w = f.children, E = f.value, A = n[E];
|
|
3230
|
+
if (!Es(A))
|
|
3231
|
+
throw new ps(E, "function", a);
|
|
3232
|
+
var O = et(w, r, t, i, n, s), M = A(O.map(function(G) {
|
|
3237
3233
|
return G.value;
|
|
3238
3234
|
}));
|
|
3239
3235
|
Array.isArray(M) || (M = [M]), l.push.apply(l, M.map(function(G) {
|
|
@@ -3247,38 +3243,38 @@ function rt(e, r, t, i, n, s, a) {
|
|
|
3247
3243
|
var R = f.options[g] || f.options.other;
|
|
3248
3244
|
if (!R)
|
|
3249
3245
|
throw new ei(f.value, g, Object.keys(f.options), a);
|
|
3250
|
-
l.push.apply(l,
|
|
3246
|
+
l.push.apply(l, et(R.value, r, t, i, n));
|
|
3251
3247
|
continue;
|
|
3252
3248
|
}
|
|
3253
3249
|
if (xi(f)) {
|
|
3254
3250
|
var R = f.options["=".concat(g)];
|
|
3255
3251
|
if (!R) {
|
|
3256
3252
|
if (!Intl.PluralRules)
|
|
3257
|
-
throw new
|
|
3253
|
+
throw new ot(`Intl.PluralRules is not available in this environment.
|
|
3258
3254
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3259
|
-
`,
|
|
3255
|
+
`, ar.MISSING_INTL_API, a);
|
|
3260
3256
|
var ce = t.getPluralRules(r, { type: f.pluralType }).select(g - (f.offset || 0));
|
|
3261
3257
|
R = f.options[ce] || f.options.other;
|
|
3262
3258
|
}
|
|
3263
3259
|
if (!R)
|
|
3264
3260
|
throw new ei(f.value, g, Object.keys(f.options), a);
|
|
3265
|
-
l.push.apply(l,
|
|
3261
|
+
l.push.apply(l, et(R.value, r, t, i, n, g - (f.offset || 0)));
|
|
3266
3262
|
continue;
|
|
3267
3263
|
}
|
|
3268
3264
|
}
|
|
3269
|
-
return
|
|
3265
|
+
return ys(l);
|
|
3270
3266
|
}
|
|
3271
|
-
function
|
|
3272
|
-
return r ?
|
|
3273
|
-
return t[i] =
|
|
3267
|
+
function vs(e, r) {
|
|
3268
|
+
return r ? T(T(T({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
|
|
3269
|
+
return t[i] = T(T({}, e[i]), r[i] || {}), t;
|
|
3274
3270
|
}, {})) : e;
|
|
3275
3271
|
}
|
|
3276
3272
|
function ws(e, r) {
|
|
3277
3273
|
return r ? Object.keys(e).reduce(function(t, i) {
|
|
3278
|
-
return t[i] =
|
|
3279
|
-
},
|
|
3274
|
+
return t[i] = vs(e[i], r[i]), t;
|
|
3275
|
+
}, T({}, e)) : e;
|
|
3280
3276
|
}
|
|
3281
|
-
function
|
|
3277
|
+
function bt(e) {
|
|
3282
3278
|
return {
|
|
3283
3279
|
create: function() {
|
|
3284
3280
|
return {
|
|
@@ -3292,39 +3288,39 @@ function Et(e) {
|
|
|
3292
3288
|
}
|
|
3293
3289
|
};
|
|
3294
3290
|
}
|
|
3295
|
-
function
|
|
3291
|
+
function _s(e) {
|
|
3296
3292
|
return e === void 0 && (e = {
|
|
3297
3293
|
number: {},
|
|
3298
3294
|
dateTime: {},
|
|
3299
3295
|
pluralRules: {}
|
|
3300
3296
|
}), {
|
|
3301
|
-
getNumberFormat:
|
|
3297
|
+
getNumberFormat: mt(function() {
|
|
3302
3298
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3303
3299
|
t[i] = arguments[i];
|
|
3304
|
-
return new ((r = Intl.NumberFormat).bind.apply(r,
|
|
3300
|
+
return new ((r = Intl.NumberFormat).bind.apply(r, dt([void 0], t, !1)))();
|
|
3305
3301
|
}, {
|
|
3306
|
-
cache:
|
|
3307
|
-
strategy:
|
|
3302
|
+
cache: bt(e.number),
|
|
3303
|
+
strategy: gt.variadic
|
|
3308
3304
|
}),
|
|
3309
|
-
getDateTimeFormat:
|
|
3305
|
+
getDateTimeFormat: mt(function() {
|
|
3310
3306
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3311
3307
|
t[i] = arguments[i];
|
|
3312
|
-
return new ((r = Intl.DateTimeFormat).bind.apply(r,
|
|
3308
|
+
return new ((r = Intl.DateTimeFormat).bind.apply(r, dt([void 0], t, !1)))();
|
|
3313
3309
|
}, {
|
|
3314
|
-
cache:
|
|
3315
|
-
strategy:
|
|
3310
|
+
cache: bt(e.dateTime),
|
|
3311
|
+
strategy: gt.variadic
|
|
3316
3312
|
}),
|
|
3317
|
-
getPluralRules:
|
|
3313
|
+
getPluralRules: mt(function() {
|
|
3318
3314
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3319
3315
|
t[i] = arguments[i];
|
|
3320
|
-
return new ((r = Intl.PluralRules).bind.apply(r,
|
|
3316
|
+
return new ((r = Intl.PluralRules).bind.apply(r, dt([void 0], t, !1)))();
|
|
3321
3317
|
}, {
|
|
3322
|
-
cache:
|
|
3323
|
-
strategy:
|
|
3318
|
+
cache: bt(e.pluralRules),
|
|
3319
|
+
strategy: gt.variadic
|
|
3324
3320
|
})
|
|
3325
3321
|
};
|
|
3326
3322
|
}
|
|
3327
|
-
var
|
|
3323
|
+
var Ss = (
|
|
3328
3324
|
/** @class */
|
|
3329
3325
|
function() {
|
|
3330
3326
|
function e(r, t, i, n) {
|
|
@@ -3343,7 +3339,7 @@ var Ps = (
|
|
|
3343
3339
|
}, []);
|
|
3344
3340
|
return f.length <= 1 ? f[0] || "" : f;
|
|
3345
3341
|
}, this.formatToParts = function(h) {
|
|
3346
|
-
return
|
|
3342
|
+
return et(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3347
3343
|
}, this.resolvedOptions = function() {
|
|
3348
3344
|
var h;
|
|
3349
3345
|
return {
|
|
@@ -3357,12 +3353,12 @@ var Ps = (
|
|
|
3357
3353
|
var a = n || {};
|
|
3358
3354
|
a.formatters;
|
|
3359
3355
|
var l = On(a, ["formatters"]);
|
|
3360
|
-
this.ast = e.__parse(r,
|
|
3356
|
+
this.ast = e.__parse(r, T(T({}, l), { locale: this.resolvedLocale }));
|
|
3361
3357
|
} else
|
|
3362
3358
|
this.ast = r;
|
|
3363
3359
|
if (!Array.isArray(this.ast))
|
|
3364
3360
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3365
|
-
this.formats = ws(e.formats, i), this.formatters = n && n.formatters ||
|
|
3361
|
+
this.formats = ws(e.formats, i), this.formatters = n && n.formatters || _s(this.formatterCache);
|
|
3366
3362
|
}
|
|
3367
3363
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3368
3364
|
get: function() {
|
|
@@ -3375,7 +3371,7 @@ var Ps = (
|
|
|
3375
3371
|
var t = Intl.NumberFormat.supportedLocalesOf(r);
|
|
3376
3372
|
return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
|
|
3377
3373
|
}
|
|
3378
|
-
}, e.__parse =
|
|
3374
|
+
}, e.__parse = gs, e.formats = {
|
|
3379
3375
|
number: {
|
|
3380
3376
|
integer: {
|
|
3381
3377
|
maximumFractionDigits: 0
|
|
@@ -3436,7 +3432,7 @@ var Ps = (
|
|
|
3436
3432
|
}, e;
|
|
3437
3433
|
}()
|
|
3438
3434
|
);
|
|
3439
|
-
function
|
|
3435
|
+
function Ps(e, r) {
|
|
3440
3436
|
if (r == null)
|
|
3441
3437
|
return;
|
|
3442
3438
|
if (r in e)
|
|
@@ -3457,36 +3453,36 @@ function xs(e, r) {
|
|
|
3457
3453
|
i = void 0;
|
|
3458
3454
|
return i;
|
|
3459
3455
|
}
|
|
3460
|
-
const
|
|
3456
|
+
const Oe = {}, xs = (e, r, t) => t && (r in Oe || (Oe[r] = {}), e in Oe[r] || (Oe[r][e] = t), t), Mi = (e, r) => {
|
|
3461
3457
|
if (r == null)
|
|
3462
3458
|
return;
|
|
3463
|
-
if (r in
|
|
3464
|
-
return
|
|
3465
|
-
const t =
|
|
3459
|
+
if (r in Oe && e in Oe[r])
|
|
3460
|
+
return Oe[r][e];
|
|
3461
|
+
const t = at(r);
|
|
3466
3462
|
for (let i = 0; i < t.length; i++) {
|
|
3467
|
-
const n = t[i], s =
|
|
3463
|
+
const n = t[i], s = As(n, e);
|
|
3468
3464
|
if (s)
|
|
3469
|
-
return
|
|
3465
|
+
return xs(e, r, s);
|
|
3470
3466
|
}
|
|
3471
3467
|
};
|
|
3472
3468
|
let Ot;
|
|
3473
|
-
const
|
|
3474
|
-
function
|
|
3469
|
+
const Or = nt({});
|
|
3470
|
+
function Cs(e) {
|
|
3475
3471
|
return Ot[e] || null;
|
|
3476
3472
|
}
|
|
3477
3473
|
function Ri(e) {
|
|
3478
3474
|
return e in Ot;
|
|
3479
3475
|
}
|
|
3480
|
-
function
|
|
3476
|
+
function As(e, r) {
|
|
3481
3477
|
if (!Ri(e))
|
|
3482
3478
|
return null;
|
|
3483
|
-
const t =
|
|
3484
|
-
return
|
|
3479
|
+
const t = Cs(e);
|
|
3480
|
+
return Ps(t, r);
|
|
3485
3481
|
}
|
|
3486
|
-
function
|
|
3482
|
+
function Ts(e) {
|
|
3487
3483
|
if (e == null)
|
|
3488
3484
|
return;
|
|
3489
|
-
const r =
|
|
3485
|
+
const r = at(e);
|
|
3490
3486
|
for (let t = 0; t < r.length; t++) {
|
|
3491
3487
|
const i = r[t];
|
|
3492
3488
|
if (Ri(i))
|
|
@@ -3494,55 +3490,55 @@ function Hs(e) {
|
|
|
3494
3490
|
}
|
|
3495
3491
|
}
|
|
3496
3492
|
function Ui(e, ...r) {
|
|
3497
|
-
delete
|
|
3493
|
+
delete Oe[e], Or.update((t) => (t[e] = Nn.all([t[e] || {}, ...r]), t));
|
|
3498
3494
|
}
|
|
3499
|
-
|
|
3500
|
-
[
|
|
3495
|
+
cr(
|
|
3496
|
+
[Or],
|
|
3501
3497
|
([e]) => Object.keys(e)
|
|
3502
3498
|
);
|
|
3503
|
-
|
|
3504
|
-
const
|
|
3505
|
-
function
|
|
3506
|
-
|
|
3499
|
+
Or.subscribe((e) => Ot = e);
|
|
3500
|
+
const rt = {};
|
|
3501
|
+
function Hs(e, r) {
|
|
3502
|
+
rt[e].delete(r), rt[e].size === 0 && delete rt[e];
|
|
3507
3503
|
}
|
|
3508
3504
|
function ki(e) {
|
|
3509
|
-
return
|
|
3505
|
+
return rt[e];
|
|
3510
3506
|
}
|
|
3511
|
-
function
|
|
3512
|
-
return
|
|
3507
|
+
function Bs(e) {
|
|
3508
|
+
return at(e).map((r) => {
|
|
3513
3509
|
const t = ki(r);
|
|
3514
3510
|
return [r, t ? [...t] : []];
|
|
3515
3511
|
}).filter(([, r]) => r.length > 0);
|
|
3516
3512
|
}
|
|
3517
|
-
function
|
|
3518
|
-
return e == null ? !1 :
|
|
3513
|
+
function Tt(e) {
|
|
3514
|
+
return e == null ? !1 : at(e).some(
|
|
3519
3515
|
(r) => {
|
|
3520
3516
|
var t;
|
|
3521
3517
|
return (t = ki(r)) == null ? void 0 : t.size;
|
|
3522
3518
|
}
|
|
3523
3519
|
);
|
|
3524
3520
|
}
|
|
3525
|
-
function
|
|
3521
|
+
function Is(e, r) {
|
|
3526
3522
|
return Promise.all(
|
|
3527
|
-
r.map((i) => (
|
|
3523
|
+
r.map((i) => (Hs(e, i), i().then((n) => n.default || n)))
|
|
3528
3524
|
).then((i) => Ui(e, ...i));
|
|
3529
3525
|
}
|
|
3530
|
-
const
|
|
3526
|
+
const Ar = {};
|
|
3531
3527
|
function Fi(e) {
|
|
3532
|
-
if (!
|
|
3533
|
-
return e in
|
|
3534
|
-
const r =
|
|
3535
|
-
return
|
|
3528
|
+
if (!Tt(e))
|
|
3529
|
+
return e in Ar ? Ar[e] : Promise.resolve();
|
|
3530
|
+
const r = Bs(e);
|
|
3531
|
+
return Ar[e] = Promise.all(
|
|
3536
3532
|
r.map(
|
|
3537
|
-
([t, i]) =>
|
|
3533
|
+
([t, i]) => Is(t, i)
|
|
3538
3534
|
)
|
|
3539
3535
|
).then(() => {
|
|
3540
|
-
if (
|
|
3536
|
+
if (Tt(e))
|
|
3541
3537
|
return Fi(e);
|
|
3542
|
-
delete
|
|
3543
|
-
}),
|
|
3538
|
+
delete Ar[e];
|
|
3539
|
+
}), Ar[e];
|
|
3544
3540
|
}
|
|
3545
|
-
const
|
|
3541
|
+
const Ns = {
|
|
3546
3542
|
number: {
|
|
3547
3543
|
scientific: { notation: "scientific" },
|
|
3548
3544
|
engineering: { notation: "engineering" },
|
|
@@ -3571,141 +3567,141 @@ const Os = {
|
|
|
3571
3567
|
timeZoneName: "short"
|
|
3572
3568
|
}
|
|
3573
3569
|
}
|
|
3574
|
-
},
|
|
3570
|
+
}, Os = {
|
|
3575
3571
|
fallbackLocale: null,
|
|
3576
3572
|
loadingDelay: 200,
|
|
3577
|
-
formats:
|
|
3573
|
+
formats: Ns,
|
|
3578
3574
|
warnOnMissingMessages: !0,
|
|
3579
3575
|
handleMissingMessage: void 0,
|
|
3580
3576
|
ignoreTag: !0
|
|
3581
|
-
},
|
|
3582
|
-
function
|
|
3583
|
-
return
|
|
3577
|
+
}, Ls = Os;
|
|
3578
|
+
function lr() {
|
|
3579
|
+
return Ls;
|
|
3584
3580
|
}
|
|
3585
|
-
const
|
|
3586
|
-
var
|
|
3581
|
+
const yt = nt(!1);
|
|
3582
|
+
var Ms = Object.defineProperty, Rs = Object.defineProperties, Us = Object.getOwnPropertyDescriptors, ri = Object.getOwnPropertySymbols, ks = Object.prototype.hasOwnProperty, Fs = Object.prototype.propertyIsEnumerable, ti = (e, r, t) => r in e ? Ms(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ds = (e, r) => {
|
|
3587
3583
|
for (var t in r || (r = {}))
|
|
3588
|
-
|
|
3584
|
+
ks.call(r, t) && ti(e, t, r[t]);
|
|
3589
3585
|
if (ri)
|
|
3590
3586
|
for (var t of ri(r))
|
|
3591
|
-
|
|
3587
|
+
Fs.call(r, t) && ti(e, t, r[t]);
|
|
3592
3588
|
return e;
|
|
3593
|
-
},
|
|
3594
|
-
let
|
|
3595
|
-
const
|
|
3589
|
+
}, Gs = (e, r) => Rs(e, Us(r));
|
|
3590
|
+
let Ht;
|
|
3591
|
+
const tt = nt(null);
|
|
3596
3592
|
function ii(e) {
|
|
3597
3593
|
return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
|
|
3598
3594
|
}
|
|
3599
|
-
function
|
|
3595
|
+
function at(e, r = lr().fallbackLocale) {
|
|
3600
3596
|
const t = ii(e);
|
|
3601
3597
|
return r ? [.../* @__PURE__ */ new Set([...t, ...ii(r)])] : t;
|
|
3602
3598
|
}
|
|
3603
|
-
function
|
|
3604
|
-
return
|
|
3599
|
+
function De() {
|
|
3600
|
+
return Ht != null ? Ht : void 0;
|
|
3605
3601
|
}
|
|
3606
|
-
|
|
3607
|
-
|
|
3602
|
+
tt.subscribe((e) => {
|
|
3603
|
+
Ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3608
3604
|
});
|
|
3609
|
-
const
|
|
3610
|
-
if (e &&
|
|
3611
|
-
const { loadingDelay: r } =
|
|
3605
|
+
const js = (e) => {
|
|
3606
|
+
if (e && Ts(e) && Tt(e)) {
|
|
3607
|
+
const { loadingDelay: r } = lr();
|
|
3612
3608
|
let t;
|
|
3613
|
-
return typeof window != "undefined" &&
|
|
3614
|
-
() =>
|
|
3609
|
+
return typeof window != "undefined" && De() != null && r ? t = window.setTimeout(
|
|
3610
|
+
() => yt.set(!0),
|
|
3615
3611
|
r
|
|
3616
|
-
) :
|
|
3617
|
-
|
|
3612
|
+
) : yt.set(!0), Fi(e).then(() => {
|
|
3613
|
+
tt.set(e);
|
|
3618
3614
|
}).finally(() => {
|
|
3619
|
-
clearTimeout(t),
|
|
3615
|
+
clearTimeout(t), yt.set(!1);
|
|
3620
3616
|
});
|
|
3621
3617
|
}
|
|
3622
|
-
return
|
|
3623
|
-
},
|
|
3624
|
-
set:
|
|
3625
|
-
}),
|
|
3618
|
+
return tt.set(e);
|
|
3619
|
+
}, hr = Gs(Ds({}, tt), {
|
|
3620
|
+
set: js
|
|
3621
|
+
}), lt = (e) => {
|
|
3626
3622
|
const r = /* @__PURE__ */ Object.create(null);
|
|
3627
3623
|
return (i) => {
|
|
3628
3624
|
const n = JSON.stringify(i);
|
|
3629
3625
|
return n in r ? r[n] : r[n] = e(i);
|
|
3630
3626
|
};
|
|
3631
3627
|
};
|
|
3632
|
-
var
|
|
3628
|
+
var Vs = Object.defineProperty, it = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, ni = (e, r, t) => r in e ? Vs(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Lt = (e, r) => {
|
|
3633
3629
|
for (var t in r || (r = {}))
|
|
3634
3630
|
Di.call(r, t) && ni(e, t, r[t]);
|
|
3635
|
-
if (
|
|
3636
|
-
for (var t of
|
|
3631
|
+
if (it)
|
|
3632
|
+
for (var t of it(r))
|
|
3637
3633
|
Gi.call(r, t) && ni(e, t, r[t]);
|
|
3638
3634
|
return e;
|
|
3639
|
-
},
|
|
3635
|
+
}, fr = (e, r) => {
|
|
3640
3636
|
var t = {};
|
|
3641
3637
|
for (var i in e)
|
|
3642
3638
|
Di.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
3643
|
-
if (e != null &&
|
|
3644
|
-
for (var i of
|
|
3639
|
+
if (e != null && it)
|
|
3640
|
+
for (var i of it(e))
|
|
3645
3641
|
r.indexOf(i) < 0 && Gi.call(e, i) && (t[i] = e[i]);
|
|
3646
3642
|
return t;
|
|
3647
3643
|
};
|
|
3648
|
-
const
|
|
3649
|
-
const { formats: t } =
|
|
3644
|
+
const Nr = (e, r) => {
|
|
3645
|
+
const { formats: t } = lr();
|
|
3650
3646
|
if (e in t && r in t[e])
|
|
3651
3647
|
return t[e][r];
|
|
3652
3648
|
throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
|
|
3653
|
-
},
|
|
3649
|
+
}, $s = lt(
|
|
3654
3650
|
(e) => {
|
|
3655
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3651
|
+
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3656
3652
|
if (t == null)
|
|
3657
3653
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3658
|
-
return i && (n =
|
|
3654
|
+
return i && (n = Nr("number", i)), new Intl.NumberFormat(t, n);
|
|
3659
3655
|
}
|
|
3660
|
-
),
|
|
3656
|
+
), Qs = lt(
|
|
3661
3657
|
(e) => {
|
|
3662
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3658
|
+
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3663
3659
|
if (t == null)
|
|
3664
3660
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3665
|
-
return i ? n =
|
|
3661
|
+
return i ? n = Nr("date", i) : Object.keys(n).length === 0 && (n = Nr("date", "short")), new Intl.DateTimeFormat(t, n);
|
|
3666
3662
|
}
|
|
3667
|
-
),
|
|
3663
|
+
), zs = lt(
|
|
3668
3664
|
(e) => {
|
|
3669
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3665
|
+
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3670
3666
|
if (t == null)
|
|
3671
3667
|
throw new Error(
|
|
3672
3668
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3673
3669
|
);
|
|
3674
|
-
return i ? n =
|
|
3670
|
+
return i ? n = Nr("time", i) : Object.keys(n).length === 0 && (n = Nr("time", "short")), new Intl.DateTimeFormat(t, n);
|
|
3675
3671
|
}
|
|
3676
|
-
),
|
|
3672
|
+
), Xs = (e = {}) => {
|
|
3677
3673
|
var r = e, {
|
|
3678
|
-
locale: t =
|
|
3679
|
-
} = r, i =
|
|
3674
|
+
locale: t = De()
|
|
3675
|
+
} = r, i = fr(r, [
|
|
3680
3676
|
"locale"
|
|
3681
3677
|
]);
|
|
3682
|
-
return
|
|
3683
|
-
},
|
|
3678
|
+
return $s(Lt({ locale: t }, i));
|
|
3679
|
+
}, Zs = (e = {}) => {
|
|
3684
3680
|
var r = e, {
|
|
3685
|
-
locale: t =
|
|
3686
|
-
} = r, i =
|
|
3681
|
+
locale: t = De()
|
|
3682
|
+
} = r, i = fr(r, [
|
|
3687
3683
|
"locale"
|
|
3688
3684
|
]);
|
|
3689
|
-
return
|
|
3690
|
-
},
|
|
3685
|
+
return Qs(Lt({ locale: t }, i));
|
|
3686
|
+
}, Ws = (e = {}) => {
|
|
3691
3687
|
var r = e, {
|
|
3692
|
-
locale: t =
|
|
3693
|
-
} = r, i =
|
|
3688
|
+
locale: t = De()
|
|
3689
|
+
} = r, i = fr(r, [
|
|
3694
3690
|
"locale"
|
|
3695
3691
|
]);
|
|
3696
|
-
return
|
|
3697
|
-
},
|
|
3692
|
+
return zs(Lt({ locale: t }, i));
|
|
3693
|
+
}, qs = lt(
|
|
3698
3694
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3699
|
-
(e, r =
|
|
3700
|
-
ignoreTag:
|
|
3695
|
+
(e, r = De()) => new Ss(e, r, lr().formats, {
|
|
3696
|
+
ignoreTag: lr().ignoreTag
|
|
3701
3697
|
})
|
|
3702
|
-
),
|
|
3698
|
+
), Js = (e, r = {}) => {
|
|
3703
3699
|
var t, i, n, s;
|
|
3704
3700
|
let a = r;
|
|
3705
3701
|
typeof e == "object" && (a = e, e = a.id);
|
|
3706
3702
|
const {
|
|
3707
3703
|
values: l,
|
|
3708
|
-
locale: h =
|
|
3704
|
+
locale: h = De(),
|
|
3709
3705
|
default: c
|
|
3710
3706
|
} = a;
|
|
3711
3707
|
if (h == null)
|
|
@@ -3714,7 +3710,7 @@ const Or = (e, r) => {
|
|
|
3714
3710
|
);
|
|
3715
3711
|
let f = Mi(e, h);
|
|
3716
3712
|
if (!f)
|
|
3717
|
-
f = (s = (n = (i = (t =
|
|
3713
|
+
f = (s = (n = (i = (t = lr()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: h, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
|
|
3718
3714
|
else if (typeof f != "string")
|
|
3719
3715
|
return console.warn(
|
|
3720
3716
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3723,7 +3719,7 @@ const Or = (e, r) => {
|
|
|
3723
3719
|
return f;
|
|
3724
3720
|
let m = f;
|
|
3725
3721
|
try {
|
|
3726
|
-
m =
|
|
3722
|
+
m = qs(f, h).format(l);
|
|
3727
3723
|
} catch (g) {
|
|
3728
3724
|
g instanceof Error && console.warn(
|
|
3729
3725
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3731,16 +3727,16 @@ const Or = (e, r) => {
|
|
|
3731
3727
|
);
|
|
3732
3728
|
}
|
|
3733
3729
|
return m;
|
|
3734
|
-
},
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3730
|
+
}, Ys = (e, r) => Ws(r).format(e), Ks = (e, r) => Zs(r).format(e), eo = (e, r) => Xs(r).format(e), ro = (e, r = De()) => Mi(e, r), to = cr([hr, Or], () => Js);
|
|
3731
|
+
cr([hr], () => Ys);
|
|
3732
|
+
cr([hr], () => Ks);
|
|
3733
|
+
cr([hr], () => eo);
|
|
3734
|
+
cr([hr, Or], () => ro);
|
|
3739
3735
|
function si(e, r) {
|
|
3740
3736
|
Ui(e, r);
|
|
3741
3737
|
}
|
|
3742
|
-
function
|
|
3743
|
-
|
|
3738
|
+
function io(e) {
|
|
3739
|
+
hr.set(e);
|
|
3744
3740
|
}
|
|
3745
3741
|
const oi = {
|
|
3746
3742
|
en: {
|
|
@@ -3997,13 +3993,13 @@ const oi = {
|
|
|
3997
3993
|
registerNext: "Next"
|
|
3998
3994
|
}
|
|
3999
3995
|
};
|
|
4000
|
-
function
|
|
3996
|
+
function no(e, r) {
|
|
4001
3997
|
if (e) {
|
|
4002
3998
|
const t = document.createElement("style");
|
|
4003
3999
|
t.innerHTML = r, e.appendChild(t);
|
|
4004
4000
|
}
|
|
4005
4001
|
}
|
|
4006
|
-
function
|
|
4002
|
+
function so(e, r) {
|
|
4007
4003
|
if (!e || !r)
|
|
4008
4004
|
return;
|
|
4009
4005
|
const t = new URL(r);
|
|
@@ -4014,7 +4010,7 @@ function oo(e, r) {
|
|
|
4014
4010
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
4015
4011
|
});
|
|
4016
4012
|
}
|
|
4017
|
-
function
|
|
4013
|
+
function oo(e, r, t) {
|
|
4018
4014
|
if (window.emMessageBus) {
|
|
4019
4015
|
const i = document.createElement("style");
|
|
4020
4016
|
window.emMessageBus.subscribe(r, (n) => {
|
|
@@ -4022,7 +4018,7 @@ function ao(e, r, t) {
|
|
|
4022
4018
|
});
|
|
4023
4019
|
}
|
|
4024
4020
|
}
|
|
4025
|
-
function
|
|
4021
|
+
function ao(e) {
|
|
4026
4022
|
Wi(e, "svelte-1ueqy7d", ".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, #22B04E));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, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.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, #22B04E))}.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, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));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}");
|
|
4027
4023
|
}
|
|
4028
4024
|
function ai(e) {
|
|
@@ -4032,7 +4028,7 @@ function ai(e) {
|
|
|
4032
4028
|
), i;
|
|
4033
4029
|
return {
|
|
4034
4030
|
c() {
|
|
4035
|
-
r = v("p"), i =
|
|
4031
|
+
r = v("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4036
4032
|
},
|
|
4037
4033
|
m(n, s) {
|
|
4038
4034
|
ue(n, r, s), u(r, i);
|
|
@@ -4054,7 +4050,7 @@ function li(e) {
|
|
|
4054
4050
|
), i;
|
|
4055
4051
|
return {
|
|
4056
4052
|
c() {
|
|
4057
|
-
r = v("p"), i =
|
|
4053
|
+
r = v("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4058
4054
|
},
|
|
4059
4055
|
m(n, s) {
|
|
4060
4056
|
ue(n, r, s), u(r, i);
|
|
@@ -4069,11 +4065,11 @@ function li(e) {
|
|
|
4069
4065
|
}
|
|
4070
4066
|
};
|
|
4071
4067
|
}
|
|
4072
|
-
function
|
|
4068
|
+
function lo(e) {
|
|
4073
4069
|
let r, t, i, n, s, a, l, h, c;
|
|
4074
4070
|
return {
|
|
4075
4071
|
c() {
|
|
4076
|
-
r =
|
|
4072
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), a = _("path"), l = _("circle"), o(a, "class", "a"), o(a, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(a, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(s, "transform", "translate(-14.185 -27.832)"), o(r, "class", "TogglePasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.843"), o(r, "height", "10.5"), o(r, "viewBox", "0 0 18.843 10.5");
|
|
4077
4073
|
},
|
|
4078
4074
|
m(f, m) {
|
|
4079
4075
|
ue(f, r, m), u(r, t), u(t, i), u(i, n), u(r, s), u(s, a), u(s, l), h || (c = x(
|
|
@@ -4089,23 +4085,23 @@ function uo(e) {
|
|
|
4089
4085
|
}
|
|
4090
4086
|
};
|
|
4091
4087
|
}
|
|
4092
|
-
function
|
|
4093
|
-
let r, t, i, n, s, a, l, h, c, f, m, g, b,
|
|
4088
|
+
function uo(e) {
|
|
4089
|
+
let r, t, i, n, s, a, l, h, c, f, m, g, b, w, E;
|
|
4094
4090
|
return {
|
|
4095
4091
|
c() {
|
|
4096
|
-
r =
|
|
4092
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), a = _("circle"), l = _("g"), h = _("path"), c = _("path"), f = _("g"), m = _("path"), g = _("path"), b = _("rect"), o(a, "class", "a"), o(a, "cx", "0.05"), o(a, "cy", "0.05"), o(a, "r", "0.05"), o(a, "transform", "translate(121.017 31.148)"), o(h, "class", "a"), o(h, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(h, "transform", "translate(-142.164 -39.123)"), o(c, "class", "a"), o(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(c, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(m, "class", "a"), o(m, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(m, "transform", "translate(-110.856 -33.157)"), o(g, "class", "a"), o(g, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(g, "transform", "translate(-130.743 -29.617)"), o(f, "transform", "translate(110.856 24.899)"), o(b, "class", "a"), o(b, "width", "0.972"), o(b, "height", "15.861"), o(b, "rx", "0.486"), o(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(s, "transform", "translate(-110.856 -23.242)"), o(r, "class", "TogglePasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.844"), o(r, "height", "12.887"), o(r, "viewBox", "0 0 18.844 12.887");
|
|
4097
4093
|
},
|
|
4098
|
-
m(A,
|
|
4099
|
-
ue(A, r,
|
|
4094
|
+
m(A, O) {
|
|
4095
|
+
ue(A, r, O), u(r, t), u(t, i), u(i, n), u(r, s), u(s, a), u(s, l), u(l, h), u(l, c), u(s, f), u(f, m), u(f, g), u(s, b), w || (E = x(
|
|
4100
4096
|
r,
|
|
4101
4097
|
"click",
|
|
4102
4098
|
/*click_handler_1*/
|
|
4103
4099
|
e[61]
|
|
4104
|
-
),
|
|
4100
|
+
), w = !0);
|
|
4105
4101
|
},
|
|
4106
4102
|
p: z,
|
|
4107
4103
|
d(A) {
|
|
4108
|
-
A && ie(r),
|
|
4104
|
+
A && ie(r), w = !1, E();
|
|
4109
4105
|
}
|
|
4110
4106
|
};
|
|
4111
4107
|
}
|
|
@@ -4116,7 +4112,7 @@ function ui(e) {
|
|
|
4116
4112
|
), i;
|
|
4117
4113
|
return {
|
|
4118
4114
|
c() {
|
|
4119
|
-
r = v("p"), i =
|
|
4115
|
+
r = v("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4120
4116
|
},
|
|
4121
4117
|
m(n, s) {
|
|
4122
4118
|
ue(n, r, s), u(r, i);
|
|
@@ -4138,7 +4134,7 @@ function ci(e) {
|
|
|
4138
4134
|
), i;
|
|
4139
4135
|
return {
|
|
4140
4136
|
c() {
|
|
4141
|
-
r = v("p"), i =
|
|
4137
|
+
r = v("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4142
4138
|
},
|
|
4143
4139
|
m(n, s) {
|
|
4144
4140
|
ue(n, r, s), u(r, i);
|
|
@@ -4153,11 +4149,11 @@ function ci(e) {
|
|
|
4153
4149
|
}
|
|
4154
4150
|
};
|
|
4155
4151
|
}
|
|
4156
|
-
function
|
|
4152
|
+
function co(e) {
|
|
4157
4153
|
let r, t, i, n, s, a, l, h, c;
|
|
4158
4154
|
return {
|
|
4159
4155
|
c() {
|
|
4160
|
-
r =
|
|
4156
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), a = _("path"), l = _("circle"), o(a, "class", "a"), o(a, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), o(a, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(s, "transform", "translate(-14.185 -27.832)"), o(r, "class", "ToggleConfirmPasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.843"), o(r, "height", "10.5"), o(r, "viewBox", "0 0 18.843 10.5");
|
|
4161
4157
|
},
|
|
4162
4158
|
m(f, m) {
|
|
4163
4159
|
ue(f, r, m), u(r, t), u(t, i), u(i, n), u(r, s), u(s, a), u(s, l), h || (c = x(
|
|
@@ -4173,23 +4169,23 @@ function ho(e) {
|
|
|
4173
4169
|
}
|
|
4174
4170
|
};
|
|
4175
4171
|
}
|
|
4176
|
-
function
|
|
4177
|
-
let r, t, i, n, s, a, l, h, c, f, m, g, b,
|
|
4172
|
+
function ho(e) {
|
|
4173
|
+
let r, t, i, n, s, a, l, h, c, f, m, g, b, w, E;
|
|
4178
4174
|
return {
|
|
4179
4175
|
c() {
|
|
4180
|
-
r =
|
|
4176
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), a = _("circle"), l = _("g"), h = _("path"), c = _("path"), f = _("g"), m = _("path"), g = _("path"), b = _("rect"), o(a, "class", "a"), o(a, "cx", "0.05"), o(a, "cy", "0.05"), o(a, "r", "0.05"), o(a, "transform", "translate(121.017 31.148)"), o(h, "class", "a"), o(h, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(h, "transform", "translate(-142.164 -39.123)"), o(c, "class", "a"), o(c, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(c, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(m, "class", "a"), o(m, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), o(m, "transform", "translate(-110.856 -33.157)"), o(g, "class", "a"), o(g, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), o(g, "transform", "translate(-130.743 -29.617)"), o(f, "transform", "translate(110.856 24.899)"), o(b, "class", "a"), o(b, "width", "0.972"), o(b, "height", "15.861"), o(b, "rx", "0.486"), o(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(s, "transform", "translate(-110.856 -23.242)"), o(r, "class", "ToggleConfirmPasswordVisibility"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "18.844"), o(r, "height", "12.887"), o(r, "viewBox", "0 0 18.844 12.887");
|
|
4181
4177
|
},
|
|
4182
|
-
m(A,
|
|
4183
|
-
ue(A, r,
|
|
4178
|
+
m(A, O) {
|
|
4179
|
+
ue(A, r, O), u(r, t), u(t, i), u(i, n), u(r, s), u(s, a), u(s, l), u(l, h), u(l, c), u(s, f), u(f, m), u(f, g), u(s, b), w || (E = x(
|
|
4184
4180
|
r,
|
|
4185
4181
|
"click",
|
|
4186
4182
|
/*click_handler_3*/
|
|
4187
4183
|
e[67]
|
|
4188
|
-
),
|
|
4184
|
+
), w = !0);
|
|
4189
4185
|
},
|
|
4190
4186
|
p: z,
|
|
4191
4187
|
d(A) {
|
|
4192
|
-
A && ie(r),
|
|
4188
|
+
A && ie(r), w = !1, E();
|
|
4193
4189
|
}
|
|
4194
4190
|
};
|
|
4195
4191
|
}
|
|
@@ -4200,7 +4196,7 @@ function hi(e) {
|
|
|
4200
4196
|
), i;
|
|
4201
4197
|
return {
|
|
4202
4198
|
c() {
|
|
4203
|
-
r = v("p"), i =
|
|
4199
|
+
r = v("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4204
4200
|
},
|
|
4205
4201
|
m(n, s) {
|
|
4206
4202
|
ue(n, r, s), u(r, i);
|
|
@@ -4228,7 +4224,7 @@ function fi(e) {
|
|
|
4228
4224
|
), i;
|
|
4229
4225
|
return {
|
|
4230
4226
|
c() {
|
|
4231
|
-
r = v("p"), i =
|
|
4227
|
+
r = v("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4232
4228
|
},
|
|
4233
4229
|
m(n, s) {
|
|
4234
4230
|
ue(n, r, s), u(r, i);
|
|
@@ -4262,7 +4258,7 @@ function di(e) {
|
|
|
4262
4258
|
), i;
|
|
4263
4259
|
return {
|
|
4264
4260
|
c() {
|
|
4265
|
-
r = v("p"), i =
|
|
4261
|
+
r = v("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4266
4262
|
},
|
|
4267
4263
|
m(n, s) {
|
|
4268
4264
|
ue(n, r, s), u(r, i);
|
|
@@ -4283,7 +4279,7 @@ function di(e) {
|
|
|
4283
4279
|
}
|
|
4284
4280
|
};
|
|
4285
4281
|
}
|
|
4286
|
-
function
|
|
4282
|
+
function fo(e) {
|
|
4287
4283
|
let r, t, i, n = (
|
|
4288
4284
|
/*$_*/
|
|
4289
4285
|
e[30]("registerTitle") + ""
|
|
@@ -4293,22 +4289,22 @@ function mo(e) {
|
|
|
4293
4289
|
), c, f, m, g = (
|
|
4294
4290
|
/*$_*/
|
|
4295
4291
|
e[30]("registerSubtitleLogin") + ""
|
|
4296
|
-
), b,
|
|
4292
|
+
), b, w, E, A, O, M = (
|
|
4297
4293
|
/*$_*/
|
|
4298
4294
|
e[30]("registerEmail") + ""
|
|
4299
|
-
), R, ce, G, ge, U,
|
|
4295
|
+
), R, ce, G, ge, U, Ge, Ae, je, k, X, he = (
|
|
4300
4296
|
/*$_*/
|
|
4301
4297
|
e[30]("registerUsername") + ""
|
|
4302
|
-
), pe, ne, V,
|
|
4298
|
+
), pe, ne, V, Te, F, xe, He, Ee, be, C, ve, Z = (
|
|
4303
4299
|
/*$_*/
|
|
4304
4300
|
e[30]("registerPassword") + ""
|
|
4305
|
-
),
|
|
4301
|
+
), we, Lr, Le, Mr, B, Me, dr, mr, Ve, Re, Ue, gr, j, Ce, $e = (
|
|
4306
4302
|
/*$_*/
|
|
4307
4303
|
e[30]("registerConfirmPassword") + ""
|
|
4308
|
-
),
|
|
4304
|
+
), Qe, Rr, Be, pr, $, br, ze, ke, Ur, _e, Fe, Xe = (
|
|
4309
4305
|
/*$_*/
|
|
4310
4306
|
e[30]("registerPromoCode") + ""
|
|
4311
|
-
),
|
|
4307
|
+
), yr, kr, Fr, se, Dr, Ze, Gr, fe, Ie, We = (
|
|
4312
4308
|
/*custominputtextswitch*/
|
|
4313
4309
|
(e[2] == "true" ? (
|
|
4314
4310
|
/*$_*/
|
|
@@ -4317,7 +4313,7 @@ function mo(e) {
|
|
|
4317
4313
|
/*$_*/
|
|
4318
4314
|
e[30]("registerSecurityQuestion")
|
|
4319
4315
|
)) + ""
|
|
4320
|
-
),
|
|
4316
|
+
), Er, jr, qe, Vr, oe, $r, Je, Qr, de, Ne, Ye = (
|
|
4321
4317
|
/*custominputtextswitch*/
|
|
4322
4318
|
(e[2] == "true" ? (
|
|
4323
4319
|
/*$_*/
|
|
@@ -4326,10 +4322,10 @@ function mo(e) {
|
|
|
4326
4322
|
/*$_*/
|
|
4327
4323
|
e[30]("registerSecurityAnswer")
|
|
4328
4324
|
)) + ""
|
|
4329
|
-
),
|
|
4325
|
+
), vr, zr, Ke, Xr, ae, Zr, er, p, N, le = (
|
|
4330
4326
|
/*$_*/
|
|
4331
4327
|
e[30]("registerNext") + ""
|
|
4332
|
-
),
|
|
4328
|
+
), ut, Wr, ct, Mt, W = (
|
|
4333
4329
|
/*invalidEmail*/
|
|
4334
4330
|
e[4] && ai(e)
|
|
4335
4331
|
), q = (
|
|
@@ -4339,10 +4335,10 @@ function mo(e) {
|
|
|
4339
4335
|
function Rt(d, y) {
|
|
4340
4336
|
return (
|
|
4341
4337
|
/*isPasswordVisible*/
|
|
4342
|
-
d[25] ?
|
|
4338
|
+
d[25] ? uo : lo
|
|
4343
4339
|
);
|
|
4344
4340
|
}
|
|
4345
|
-
let
|
|
4341
|
+
let qr = Rt(e), Se = qr(e), J = (
|
|
4346
4342
|
/*invalidPassword*/
|
|
4347
4343
|
e[6] && /*simplepasswordvalidation*/
|
|
4348
4344
|
e[0] !== "true" && ui(e)
|
|
@@ -4354,10 +4350,10 @@ function mo(e) {
|
|
|
4354
4350
|
function Ut(d, y) {
|
|
4355
4351
|
return (
|
|
4356
4352
|
/*isConfirmPasswordVisible*/
|
|
4357
|
-
d[26] ?
|
|
4353
|
+
d[26] ? ho : co
|
|
4358
4354
|
);
|
|
4359
4355
|
}
|
|
4360
|
-
let
|
|
4356
|
+
let Jr = Ut(e), Pe = Jr(e), K = (
|
|
4361
4357
|
/*invalidConfirmPassword*/
|
|
4362
4358
|
e[7] && hi(e)
|
|
4363
4359
|
), ee = (
|
|
@@ -4369,62 +4365,62 @@ function mo(e) {
|
|
|
4369
4365
|
);
|
|
4370
4366
|
return {
|
|
4371
4367
|
c() {
|
|
4372
|
-
var d, y, wr, Sr, Pr, xr, Cr
|
|
4373
|
-
r = v("div"), t = v("div"), i = v("h2"), s =
|
|
4368
|
+
var d, y, wr, _r, Sr, Pr, xr, Cr;
|
|
4369
|
+
r = v("div"), t = v("div"), i = v("h2"), s = H(n), a = I(), l = v("p"), c = H(h), f = I(), m = v("span"), b = H(g), w = I(), E = v("form"), A = v("div"), O = v("label"), R = H(M), ce = H(":"), G = v("span"), G.textContent = "*", ge = I(), U = v("input"), Ge = I(), W && W.c(), je = I(), k = v("div"), X = v("label"), pe = H(he), ne = H(":"), V = v("span"), V.textContent = "*", Te = I(), F = v("input"), He = I(), q && q.c(), be = I(), C = v("div"), ve = v("label"), we = H(Z), Lr = H(":"), Le = v("span"), Le.textContent = "*", Mr = I(), B = v("input"), dr = I(), Se.c(), mr = I(), J && J.c(), Ve = I(), Y && Y.c(), gr = I(), j = v("div"), Ce = v("label"), Qe = H($e), Rr = H(":"), Be = v("span"), Be.textContent = "*", pr = I(), $ = v("input"), br = I(), Pe.c(), ze = I(), K && K.c(), Ur = I(), _e = v("div"), Fe = v("label"), yr = H(Xe), kr = H(":"), Fr = I(), se = v("input"), Dr = I(), Gr = I(), fe = v("div"), Ie = v("label"), Er = H(We), jr = H(":"), qe = v("span"), qe.textContent = "*", Vr = I(), oe = v("input"), $r = I(), ee && ee.c(), Qr = I(), de = v("div"), Ne = v("label"), vr = H(Ye), zr = H(":"), Ke = v("span"), Ke.textContent = "*", Xr = I(), ae = v("input"), Zr = I(), re && re.c(), p = I(), N = v("button"), ut = H(le), o(i, "class", "RegisterFormTitle"), o(m, "class", "FormLoginCallToAction"), o(l, "class", "RegisterFormSubtitle"), o(t, "class", "RegisterFormHeader"), o(G, "class", "FormRequired"), o(O, "for", "Email"), o(U, "type", "text"), o(U, "id", "Email"), o(A, "class", Ae = "EmailContainer " + /*invalidEmail*/
|
|
4374
4370
|
(e[4] && !/*emailFocus*/
|
|
4375
4371
|
e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4376
|
-
(((d = e[17]) == null ? void 0 : d.indexOf("email")) >= 0 ? "Hidden" : "")), o(V, "class", "FormRequired"), o(X, "for", "UserName"), o(F, "type", "text"), o(F, "id", "UserName"), o(F, "autocomplete",
|
|
4372
|
+
(((d = e[17]) == null ? void 0 : d.indexOf("email")) >= 0 ? "Hidden" : "")), o(V, "class", "FormRequired"), o(X, "for", "UserName"), o(F, "type", "text"), o(F, "id", "UserName"), o(F, "autocomplete", xe = /*savecredentials*/
|
|
4377
4373
|
e[1] ? "username" : "off"), o(k, "class", Ee = "UserContainer " + /*invalidName*/
|
|
4378
4374
|
(e[5] && !/*usernameFocus*/
|
|
4379
4375
|
e[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4380
|
-
(((y = e[17]) == null ? void 0 : y.indexOf("username")) >= 0 ? "Hidden" : "")), o(
|
|
4381
|
-
e[1] ? "new-password" : "off"), o(
|
|
4376
|
+
(((y = e[17]) == null ? void 0 : y.indexOf("username")) >= 0 ? "Hidden" : "")), o(Le, "class", "FormRequired"), o(ve, "for", "Password"), o(B, "name", "new-password"), o(B, "type", "password"), o(B, "id", "new-password"), o(B, "autocomplete", Me = /*savecredentials*/
|
|
4377
|
+
e[1] ? "new-password" : "off"), o(B, "aria-describedby", "password-constraints"), o(C, "class", Re = "PasswordContainer " + /*invalidPassword*/
|
|
4382
4378
|
(e[6] && !/*passwordFocus*/
|
|
4383
4379
|
e[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4384
|
-
(((wr = e[17]) == null ? void 0 : wr.indexOf("password")) >= 0 ? "Hidden" : "")), C.hidden =
|
|
4385
|
-
((
|
|
4380
|
+
(((wr = e[17]) == null ? void 0 : wr.indexOf("password")) >= 0 ? "Hidden" : "")), C.hidden = Ue = /*disabledFieldsList*/
|
|
4381
|
+
((_r = e[17]) == null ? void 0 : _r.indexOf("password")) >= 0, o(Be, "class", "FormRequired"), o(Ce, "for", "ConfirmPassword"), o($, "type", "password"), o($, "id", "ConfirmPassword"), o(j, "class", ke = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4386
4382
|
(e[7] && !/*confirmPasswordFocus*/
|
|
4387
4383
|
e[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4388
|
-
(((
|
|
4389
|
-
(((
|
|
4384
|
+
(((Sr = e[17]) == null ? void 0 : Sr.indexOf("confirmPassword")) >= 0 ? "Hidden" : "")), o(Fe, "for", "PromoCode"), o(se, "type", "text"), o(se, "id", "PromoCode"), o(_e, "class", Ze = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4385
|
+
(((Pr = e[17]) == null ? void 0 : Pr.indexOf("promoCode")) >= 0 ? "Hidden" : "")), o(qe, "class", "FormRequired"), o(Ie, "for", "SecurityQuestion"), o(oe, "type", "text"), o(oe, "id", "SecurityQuestion"), o(fe, "class", Je = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4390
4386
|
(e[8] && !/*securityQFocus*/
|
|
4391
4387
|
e[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4392
|
-
(((
|
|
4388
|
+
(((xr = e[17]) == null ? void 0 : xr.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")), o(Ke, "class", "FormRequired"), o(Ne, "for", "SecurityAnswer"), o(ae, "type", "text"), o(ae, "id", "SecurityAnswer"), o(de, "class", er = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4393
4389
|
(e[9] && !/*securityAFocus*/
|
|
4394
4390
|
e[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4395
|
-
(((
|
|
4391
|
+
(((Cr = e[17]) == null ? void 0 : Cr.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")), o(N, "class", "RegisterStepNext"), N.disabled = Wr = !/*isValid*/
|
|
4396
4392
|
e[29], o(E, "class", "RegisterFormContent");
|
|
4397
4393
|
},
|
|
4398
4394
|
m(d, y) {
|
|
4399
|
-
ue(d, r, y), u(r, t), u(t, i), u(i, s), u(t, a), u(t, l), u(l, c), u(l, f), u(l, m), u(m, b), u(r,
|
|
4395
|
+
ue(d, r, y), u(r, t), u(t, i), u(i, s), u(t, a), u(t, l), u(l, c), u(l, f), u(l, m), u(m, b), u(r, w), u(r, E), u(E, A), u(A, O), u(O, R), u(O, ce), u(O, G), u(A, ge), u(A, U), te(
|
|
4400
4396
|
U,
|
|
4401
4397
|
/*userEmail*/
|
|
4402
4398
|
e[19]
|
|
4403
|
-
), u(A,
|
|
4399
|
+
), u(A, Ge), W && W.m(A, null), u(E, je), u(E, k), u(k, X), u(X, pe), u(X, ne), u(X, V), u(k, Te), u(k, F), te(
|
|
4404
4400
|
F,
|
|
4405
4401
|
/*userValue*/
|
|
4406
4402
|
e[18]
|
|
4407
|
-
), u(k,
|
|
4408
|
-
|
|
4403
|
+
), u(k, He), q && q.m(k, null), u(E, be), u(E, C), u(C, ve), u(ve, we), u(ve, Lr), u(ve, Le), u(C, Mr), u(C, B), te(
|
|
4404
|
+
B,
|
|
4409
4405
|
/*userPassword*/
|
|
4410
4406
|
e[20]
|
|
4411
|
-
), e[60](
|
|
4407
|
+
), e[60](B), u(C, dr), Se.m(C, null), u(C, mr), J && J.m(C, null), u(C, Ve), Y && Y.m(C, null), u(E, gr), u(E, j), u(j, Ce), u(Ce, Qe), u(Ce, Rr), u(Ce, Be), u(j, pr), u(j, $), te(
|
|
4412
4408
|
$,
|
|
4413
4409
|
/*confirmUserPassword*/
|
|
4414
4410
|
e[21]
|
|
4415
|
-
), e[66]($), u(j,
|
|
4411
|
+
), e[66]($), u(j, br), Pe.m(j, null), u(j, ze), K && K.m(j, null), u(E, Ur), u(E, _e), u(_e, Fe), u(Fe, yr), u(Fe, kr), u(_e, Fr), u(_e, se), te(
|
|
4416
4412
|
se,
|
|
4417
4413
|
/*promoCode*/
|
|
4418
4414
|
e[24]
|
|
4419
|
-
), u(
|
|
4415
|
+
), u(_e, Dr), u(E, Gr), u(E, fe), u(fe, Ie), u(Ie, Er), u(Ie, jr), u(Ie, qe), u(fe, Vr), u(fe, oe), te(
|
|
4420
4416
|
oe,
|
|
4421
4417
|
/*securityQuestion*/
|
|
4422
4418
|
e[22]
|
|
4423
|
-
), u(fe,
|
|
4419
|
+
), u(fe, $r), ee && ee.m(fe, null), u(E, Qr), u(E, de), u(de, Ne), u(Ne, vr), u(Ne, zr), u(Ne, Ke), u(de, Xr), u(de, ae), te(
|
|
4424
4420
|
ae,
|
|
4425
4421
|
/*securityAnswer*/
|
|
4426
4422
|
e[23]
|
|
4427
|
-
), u(de,
|
|
4423
|
+
), u(de, Zr), re && re.m(de, null), u(E, p), u(E, N), u(N, ut), e[79](r), ct || (Mt = [
|
|
4428
4424
|
x(
|
|
4429
4425
|
m,
|
|
4430
4426
|
"click",
|
|
@@ -4480,25 +4476,25 @@ function mo(e) {
|
|
|
4480
4476
|
e[56]
|
|
4481
4477
|
),
|
|
4482
4478
|
x(
|
|
4483
|
-
|
|
4479
|
+
B,
|
|
4484
4480
|
"input",
|
|
4485
4481
|
/*input2_input_handler*/
|
|
4486
4482
|
e[57]
|
|
4487
4483
|
),
|
|
4488
4484
|
x(
|
|
4489
|
-
|
|
4485
|
+
B,
|
|
4490
4486
|
"keyup",
|
|
4491
4487
|
/*validatePassword*/
|
|
4492
4488
|
e[38]
|
|
4493
4489
|
),
|
|
4494
4490
|
x(
|
|
4495
|
-
|
|
4491
|
+
B,
|
|
4496
4492
|
"focus",
|
|
4497
4493
|
/*focus_handler_2*/
|
|
4498
4494
|
e[58]
|
|
4499
4495
|
),
|
|
4500
4496
|
x(
|
|
4501
|
-
|
|
4497
|
+
B,
|
|
4502
4498
|
"blur",
|
|
4503
4499
|
/*blur_handler_2*/
|
|
4504
4500
|
e[59]
|
|
@@ -4600,15 +4596,15 @@ function mo(e) {
|
|
|
4600
4596
|
e[77]
|
|
4601
4597
|
),
|
|
4602
4598
|
x(
|
|
4603
|
-
|
|
4599
|
+
N,
|
|
4604
4600
|
"click",
|
|
4605
4601
|
/*click_handler_5*/
|
|
4606
4602
|
e[78]
|
|
4607
4603
|
)
|
|
4608
|
-
],
|
|
4604
|
+
], ct = !0);
|
|
4609
4605
|
},
|
|
4610
4606
|
p(d, y) {
|
|
4611
|
-
var wr, Sr, Pr, xr, Cr,
|
|
4607
|
+
var wr, _r, Sr, Pr, xr, Cr, kt, Ft;
|
|
4612
4608
|
y[0] & /*$_*/
|
|
4613
4609
|
1073741824 && n !== (n = /*$_*/
|
|
4614
4610
|
d[30]("registerTitle") + "") && D(s, n), y[0] & /*$_*/
|
|
@@ -4625,14 +4621,14 @@ function mo(e) {
|
|
|
4625
4621
|
d[19]
|
|
4626
4622
|
), /*invalidEmail*/
|
|
4627
4623
|
d[4] ? W ? W.p(d, y) : (W = ai(d), W.c(), W.m(A, null)) : W && (W.d(1), W = null), y[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
|
|
4628
|
-
132112 &&
|
|
4624
|
+
132112 && Ae !== (Ae = "EmailContainer " + /*invalidEmail*/
|
|
4629
4625
|
(d[4] && !/*emailFocus*/
|
|
4630
4626
|
d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4631
|
-
(((wr = d[17]) == null ? void 0 : wr.indexOf("email")) >= 0 ? "Hidden" : "")) && o(A, "class",
|
|
4627
|
+
(((wr = d[17]) == null ? void 0 : wr.indexOf("email")) >= 0 ? "Hidden" : "")) && o(A, "class", Ae), y[0] & /*$_*/
|
|
4632
4628
|
1073741824 && he !== (he = /*$_*/
|
|
4633
4629
|
d[30]("registerUsername") + "") && D(pe, he), y[0] & /*savecredentials*/
|
|
4634
|
-
2 &&
|
|
4635
|
-
d[1] ? "username" : "off") && o(F, "autocomplete",
|
|
4630
|
+
2 && xe !== (xe = /*savecredentials*/
|
|
4631
|
+
d[1] ? "username" : "off") && o(F, "autocomplete", xe), y[0] & /*userValue*/
|
|
4636
4632
|
262144 && F.value !== /*userValue*/
|
|
4637
4633
|
d[18] && te(
|
|
4638
4634
|
F,
|
|
@@ -4643,58 +4639,58 @@ function mo(e) {
|
|
|
4643
4639
|
133152 && Ee !== (Ee = "UserContainer " + /*invalidName*/
|
|
4644
4640
|
(d[5] && !/*usernameFocus*/
|
|
4645
4641
|
d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4646
|
-
(((
|
|
4642
|
+
(((_r = d[17]) == null ? void 0 : _r.indexOf("username")) >= 0 ? "Hidden" : "")) && o(k, "class", Ee), y[0] & /*$_*/
|
|
4647
4643
|
1073741824 && Z !== (Z = /*$_*/
|
|
4648
|
-
d[30]("registerPassword") + "") && D(
|
|
4649
|
-
2 &&
|
|
4650
|
-
d[1] ? "new-password" : "off") && o(
|
|
4651
|
-
1048576 &&
|
|
4644
|
+
d[30]("registerPassword") + "") && D(we, Z), y[0] & /*savecredentials*/
|
|
4645
|
+
2 && Me !== (Me = /*savecredentials*/
|
|
4646
|
+
d[1] ? "new-password" : "off") && o(B, "autocomplete", Me), y[0] & /*userPassword*/
|
|
4647
|
+
1048576 && B.value !== /*userPassword*/
|
|
4652
4648
|
d[20] && te(
|
|
4653
|
-
|
|
4649
|
+
B,
|
|
4654
4650
|
/*userPassword*/
|
|
4655
4651
|
d[20]
|
|
4656
|
-
),
|
|
4652
|
+
), qr === (qr = Rt(d)) && Se ? Se.p(d, y) : (Se.d(1), Se = qr(d), Se && (Se.c(), Se.m(C, mr))), /*invalidPassword*/
|
|
4657
4653
|
d[6] && /*simplepasswordvalidation*/
|
|
4658
|
-
d[0] !== "true" ? J ? J.p(d, y) : (J = ui(d), J.c(), J.m(C,
|
|
4654
|
+
d[0] !== "true" ? J ? J.p(d, y) : (J = ui(d), J.c(), J.m(C, Ve)) : J && (J.d(1), J = null), /*invalidPassword*/
|
|
4659
4655
|
d[6] && /*simplepasswordvalidation*/
|
|
4660
4656
|
d[0] === "true" ? Y ? Y.p(d, y) : (Y = ci(d), Y.c(), Y.m(C, null)) : Y && (Y.d(1), Y = null), y[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
|
|
4661
|
-
135232 &&
|
|
4657
|
+
135232 && Re !== (Re = "PasswordContainer " + /*invalidPassword*/
|
|
4662
4658
|
(d[6] && !/*passwordFocus*/
|
|
4663
4659
|
d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4664
|
-
(((
|
|
4665
|
-
131072 &&
|
|
4666
|
-
((
|
|
4667
|
-
1073741824 &&
|
|
4668
|
-
d[30]("registerConfirmPassword") + "") && D(
|
|
4660
|
+
(((Sr = d[17]) == null ? void 0 : Sr.indexOf("password")) >= 0 ? "Hidden" : "")) && o(C, "class", Re), y[0] & /*disabledFieldsList*/
|
|
4661
|
+
131072 && Ue !== (Ue = /*disabledFieldsList*/
|
|
4662
|
+
((Pr = d[17]) == null ? void 0 : Pr.indexOf("password")) >= 0) && (C.hidden = Ue), y[0] & /*$_*/
|
|
4663
|
+
1073741824 && $e !== ($e = /*$_*/
|
|
4664
|
+
d[30]("registerConfirmPassword") + "") && D(Qe, $e), y[0] & /*confirmUserPassword*/
|
|
4669
4665
|
2097152 && $.value !== /*confirmUserPassword*/
|
|
4670
4666
|
d[21] && te(
|
|
4671
4667
|
$,
|
|
4672
4668
|
/*confirmUserPassword*/
|
|
4673
4669
|
d[21]
|
|
4674
|
-
),
|
|
4670
|
+
), Jr === (Jr = Ut(d)) && Pe ? Pe.p(d, y) : (Pe.d(1), Pe = Jr(d), Pe && (Pe.c(), Pe.m(j, ze))), /*invalidConfirmPassword*/
|
|
4675
4671
|
d[7] ? K ? K.p(d, y) : (K = hi(d), K.c(), K.m(j, null)) : K && (K.d(1), K = null), y[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
|
|
4676
|
-
139392 &&
|
|
4672
|
+
139392 && ke !== (ke = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4677
4673
|
(d[7] && !/*confirmPasswordFocus*/
|
|
4678
4674
|
d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4679
|
-
(((
|
|
4680
|
-
1073741824 &&
|
|
4681
|
-
d[30]("registerPromoCode") + "") && D(
|
|
4675
|
+
(((xr = d[17]) == null ? void 0 : xr.indexOf("confirmPassword")) >= 0 ? "Hidden" : "")) && o(j, "class", ke), y[0] & /*$_*/
|
|
4676
|
+
1073741824 && Xe !== (Xe = /*$_*/
|
|
4677
|
+
d[30]("registerPromoCode") + "") && D(yr, Xe), y[0] & /*promoCode*/
|
|
4682
4678
|
16777216 && se.value !== /*promoCode*/
|
|
4683
4679
|
d[24] && te(
|
|
4684
4680
|
se,
|
|
4685
4681
|
/*promoCode*/
|
|
4686
4682
|
d[24]
|
|
4687
4683
|
), y[0] & /*disabledFieldsList*/
|
|
4688
|
-
131072 &&
|
|
4689
|
-
(((
|
|
4690
|
-
1073741828 &&
|
|
4684
|
+
131072 && Ze !== (Ze = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4685
|
+
(((Cr = d[17]) == null ? void 0 : Cr.indexOf("promoCode")) >= 0 ? "Hidden" : "")) && o(_e, "class", Ze), y[0] & /*custominputtextswitch, $_*/
|
|
4686
|
+
1073741828 && We !== (We = /*custominputtextswitch*/
|
|
4691
4687
|
(d[2] == "true" ? (
|
|
4692
4688
|
/*$_*/
|
|
4693
4689
|
d[30]("registerSecurityQuestion2")
|
|
4694
4690
|
) : (
|
|
4695
4691
|
/*$_*/
|
|
4696
4692
|
d[30]("registerSecurityQuestion")
|
|
4697
|
-
)) + "") && D(
|
|
4693
|
+
)) + "") && D(Er, We), y[0] & /*securityQuestion*/
|
|
4698
4694
|
4194304 && oe.value !== /*securityQuestion*/
|
|
4699
4695
|
d[22] && te(
|
|
4700
4696
|
oe,
|
|
@@ -4702,18 +4698,18 @@ function mo(e) {
|
|
|
4702
4698
|
d[22]
|
|
4703
4699
|
), /*invalidSecurityQuestion*/
|
|
4704
4700
|
d[8] ? ee ? ee.p(d, y) : (ee = fi(d), ee.c(), ee.m(fe, null)) : ee && (ee.d(1), ee = null), y[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
|
|
4705
|
-
147712 &&
|
|
4701
|
+
147712 && Je !== (Je = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4706
4702
|
(d[8] && !/*securityQFocus*/
|
|
4707
4703
|
d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4708
|
-
(((kt = d[17]) == null ? void 0 : kt.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")) && o(fe, "class",
|
|
4709
|
-
1073741828 &&
|
|
4704
|
+
(((kt = d[17]) == null ? void 0 : kt.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")) && o(fe, "class", Je), y[0] & /*custominputtextswitch, $_*/
|
|
4705
|
+
1073741828 && Ye !== (Ye = /*custominputtextswitch*/
|
|
4710
4706
|
(d[2] == "true" ? (
|
|
4711
4707
|
/*$_*/
|
|
4712
4708
|
d[30]("registerSecurityAnswer2")
|
|
4713
4709
|
) : (
|
|
4714
4710
|
/*$_*/
|
|
4715
4711
|
d[30]("registerSecurityAnswer")
|
|
4716
|
-
)) + "") && D(
|
|
4712
|
+
)) + "") && D(vr, Ye), y[0] & /*securityAnswer*/
|
|
4717
4713
|
8388608 && ae.value !== /*securityAnswer*/
|
|
4718
4714
|
d[23] && te(
|
|
4719
4715
|
ae,
|
|
@@ -4721,26 +4717,26 @@ function mo(e) {
|
|
|
4721
4717
|
d[23]
|
|
4722
4718
|
), /*invalidSecurityAnswer*/
|
|
4723
4719
|
d[9] ? re ? re.p(d, y) : (re = di(d), re.c(), re.m(de, null)) : re && (re.d(1), re = null), y[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
|
|
4724
|
-
164352 &&
|
|
4720
|
+
164352 && er !== (er = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4725
4721
|
(d[9] && !/*securityAFocus*/
|
|
4726
4722
|
d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4727
|
-
(((Ft = d[17]) == null ? void 0 : Ft.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")) && o(de, "class",
|
|
4723
|
+
(((Ft = d[17]) == null ? void 0 : Ft.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")) && o(de, "class", er), y[0] & /*$_*/
|
|
4728
4724
|
1073741824 && le !== (le = /*$_*/
|
|
4729
|
-
d[30]("registerNext") + "") && D(
|
|
4730
|
-
536870912 &&
|
|
4731
|
-
d[29]) && (
|
|
4725
|
+
d[30]("registerNext") + "") && D(ut, le), y[0] & /*isValid*/
|
|
4726
|
+
536870912 && Wr !== (Wr = !/*isValid*/
|
|
4727
|
+
d[29]) && (N.disabled = Wr);
|
|
4732
4728
|
},
|
|
4733
4729
|
i: z,
|
|
4734
4730
|
o: z,
|
|
4735
4731
|
d(d) {
|
|
4736
|
-
d && ie(r), W && W.d(), q && q.d(), e[60](null), Se.d(), J && J.d(), Y && Y.d(), e[66](null), Pe.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null),
|
|
4732
|
+
d && ie(r), W && W.d(), q && q.d(), e[60](null), Se.d(), J && J.d(), Y && Y.d(), e[66](null), Pe.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null), ct = !1, ur(Mt);
|
|
4737
4733
|
}
|
|
4738
4734
|
};
|
|
4739
4735
|
}
|
|
4740
|
-
function
|
|
4736
|
+
function mo(e, r, t) {
|
|
4741
4737
|
let i;
|
|
4742
|
-
Zi(e,
|
|
4743
|
-
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: a = "false" } = r, { mbsource: l } = r, { clientstyling: h = "" } = r, { clientstylingurl: c = "" } = r, { translationurl: f = "" } = r, { savecredentials: m = "" } = r, { custominputtextswitch: g = "false" } = r, b = !1,
|
|
4738
|
+
Zi(e, to, (p) => t(30, i = p));
|
|
4739
|
+
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: a = "false" } = r, { mbsource: l } = r, { clientstyling: h = "" } = r, { clientstylingurl: c = "" } = r, { translationurl: f = "" } = r, { savecredentials: m = "" } = r, { custominputtextswitch: g = "false" } = r, b = !1, w = !1, E = !1, A = !1, O = !1, M = !1, R = !1, ce = !1, G = !1, ge = !1, U = !1, Ge = !1, Ae = !1, je, k = "", X = "", he = "", pe = "", ne = "", V = "", Te = "", F = !1, xe = !1, He, Ee, be = {}, C = {
|
|
4744
4740
|
username: !1,
|
|
4745
4741
|
email: !1,
|
|
4746
4742
|
password: !1,
|
|
@@ -4748,112 +4744,112 @@ function go(e, r, t) {
|
|
|
4748
4744
|
securityAnswer: !1,
|
|
4749
4745
|
securityQuestion: !1,
|
|
4750
4746
|
promoCode: !0
|
|
4751
|
-
}, ve = !1, Z,
|
|
4747
|
+
}, ve = !1, Z, we = {
|
|
4752
4748
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4753
4749
|
email: /^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,
|
|
4754
4750
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/,
|
|
4755
4751
|
document: /^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/
|
|
4756
4752
|
};
|
|
4757
|
-
const
|
|
4758
|
-
fetch(f).then((
|
|
4759
|
-
Object.keys(
|
|
4760
|
-
si(le,
|
|
4753
|
+
const Lr = () => {
|
|
4754
|
+
fetch(f).then((N) => N.json()).then((N) => {
|
|
4755
|
+
Object.keys(N).forEach((le) => {
|
|
4756
|
+
si(le, N[le]);
|
|
4761
4757
|
});
|
|
4762
|
-
}).catch((
|
|
4763
|
-
console.log(
|
|
4758
|
+
}).catch((N) => {
|
|
4759
|
+
console.log(N);
|
|
4764
4760
|
});
|
|
4765
4761
|
};
|
|
4766
4762
|
Object.keys(oi).forEach((p) => {
|
|
4767
4763
|
si(p, oi[p]);
|
|
4768
4764
|
});
|
|
4769
|
-
const
|
|
4765
|
+
const Le = () => {
|
|
4770
4766
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
4771
|
-
},
|
|
4772
|
-
if (!(
|
|
4767
|
+
}, Mr = (p, N) => {
|
|
4768
|
+
if (!(je.indexOf(p) >= 0))
|
|
4773
4769
|
switch (p) {
|
|
4774
4770
|
case "username":
|
|
4775
|
-
t(18, k =
|
|
4771
|
+
t(18, k = N), dr();
|
|
4776
4772
|
break;
|
|
4777
4773
|
case "email":
|
|
4778
|
-
t(19, X =
|
|
4774
|
+
t(19, X = N), Me();
|
|
4779
4775
|
break;
|
|
4780
4776
|
case "password":
|
|
4781
|
-
t(20, he =
|
|
4777
|
+
t(20, he = N), Qe();
|
|
4782
4778
|
break;
|
|
4783
4779
|
case "confirmUserPassword":
|
|
4784
|
-
t(21, pe =
|
|
4780
|
+
t(21, pe = N), Be();
|
|
4785
4781
|
break;
|
|
4786
4782
|
case "securityQuestion":
|
|
4787
|
-
t(22, ne =
|
|
4783
|
+
t(22, ne = N), $();
|
|
4788
4784
|
break;
|
|
4789
4785
|
case "securityAnswer":
|
|
4790
|
-
t(23, V =
|
|
4786
|
+
t(23, V = N), br();
|
|
4791
4787
|
break;
|
|
4792
4788
|
case "promoCode":
|
|
4793
|
-
t(24,
|
|
4789
|
+
t(24, Te = N), pr();
|
|
4794
4790
|
break;
|
|
4795
4791
|
}
|
|
4796
|
-
},
|
|
4792
|
+
}, B = () => {
|
|
4797
4793
|
t(29, ve = Object.keys(C).every((p) => s.includes(p) ? !0 : C[p] !== !1));
|
|
4798
|
-
},
|
|
4799
|
-
be.email = X,
|
|
4794
|
+
}, Me = () => {
|
|
4795
|
+
be.email = X, we.email.test(X) && X.length <= 100 ? t(4, b = !1) : t(4, b = !0), C.email = !b, B();
|
|
4796
|
+
}, dr = () => {
|
|
4797
|
+
be.username = k, we.user.test(k) && k.length <= 20 ? t(5, w = !1) : t(5, w = !0), C.username = !w, B();
|
|
4800
4798
|
}, mr = () => {
|
|
4801
|
-
|
|
4802
|
-
},
|
|
4803
|
-
a == "true" && (_e.password = /^(?!.* ).{8,20}$/);
|
|
4804
|
-
}, $e = () => {
|
|
4799
|
+
a == "true" && (we.password = /^(?!.* ).{8,20}$/);
|
|
4800
|
+
}, Ve = () => {
|
|
4805
4801
|
t(25, F = !0), j();
|
|
4802
|
+
}, Re = () => {
|
|
4803
|
+
t(26, xe = !0), Ce();
|
|
4806
4804
|
}, Ue = () => {
|
|
4807
|
-
t(26, Ce = !0), Ae();
|
|
4808
|
-
}, ke = () => {
|
|
4809
4805
|
t(25, F = !1), j();
|
|
4810
|
-
},
|
|
4811
|
-
t(26,
|
|
4806
|
+
}, gr = () => {
|
|
4807
|
+
t(26, xe = !1), Ce();
|
|
4812
4808
|
}, j = () => {
|
|
4813
|
-
t(27,
|
|
4814
|
-
},
|
|
4815
|
-
t(28, Ee.type =
|
|
4816
|
-
},
|
|
4817
|
-
be.password = he, t(6, E =
|
|
4818
|
-
},
|
|
4819
|
-
be.confirmUserPassword = pe, t(7, A = !
|
|
4820
|
-
},
|
|
4821
|
-
be.promoCode =
|
|
4809
|
+
t(27, He.type = F ? "text" : "password", He);
|
|
4810
|
+
}, Ce = () => {
|
|
4811
|
+
t(28, Ee.type = xe ? "text" : "password", Ee);
|
|
4812
|
+
}, $e = () => !!we.password.test(he), Qe = () => {
|
|
4813
|
+
be.password = he, t(6, E = !$e()), pe.length !== 0 && Be(), C.password = !E, B();
|
|
4814
|
+
}, Rr = () => he === pe, Be = () => {
|
|
4815
|
+
be.confirmUserPassword = pe, t(7, A = !Rr()), C.confirmUserPassword = !A, B();
|
|
4816
|
+
}, pr = () => {
|
|
4817
|
+
be.promoCode = Te;
|
|
4822
4818
|
}, $ = () => {
|
|
4823
4819
|
if (be.securityQuestion = ne, ne)
|
|
4824
4820
|
switch (g) {
|
|
4825
4821
|
case "true":
|
|
4826
|
-
if (
|
|
4827
|
-
t(8,
|
|
4822
|
+
if (we.document.test(ne) && ne.length <= 50) {
|
|
4823
|
+
t(8, O = !1), C.securityQuestion = !O, B();
|
|
4828
4824
|
return;
|
|
4829
4825
|
}
|
|
4830
4826
|
break;
|
|
4831
4827
|
case "false":
|
|
4832
4828
|
if (ne && ne.length <= 120) {
|
|
4833
|
-
t(8,
|
|
4829
|
+
t(8, O = !1), C.securityQuestion = !O, B();
|
|
4834
4830
|
return;
|
|
4835
4831
|
}
|
|
4836
4832
|
break;
|
|
4837
4833
|
}
|
|
4838
|
-
t(8,
|
|
4839
|
-
},
|
|
4834
|
+
t(8, O = !0), C.securityQuestion = !O, B();
|
|
4835
|
+
}, br = () => {
|
|
4840
4836
|
if (be.securityAnswer = V, V)
|
|
4841
4837
|
switch (g) {
|
|
4842
4838
|
case "true":
|
|
4843
|
-
if (
|
|
4844
|
-
t(9, M = !1), C.securityAnswer = !M,
|
|
4839
|
+
if (we.document.test(V) && V.length <= 50) {
|
|
4840
|
+
t(9, M = !1), C.securityAnswer = !M, B();
|
|
4845
4841
|
return;
|
|
4846
4842
|
}
|
|
4847
4843
|
break;
|
|
4848
4844
|
case "false":
|
|
4849
4845
|
if (V && V.length <= 120) {
|
|
4850
|
-
t(9, M = !1), C.securityAnswer = !M,
|
|
4846
|
+
t(9, M = !1), C.securityAnswer = !M, B();
|
|
4851
4847
|
return;
|
|
4852
4848
|
}
|
|
4853
4849
|
break;
|
|
4854
4850
|
}
|
|
4855
|
-
t(9, M = !0), C.securityAnswer = !M,
|
|
4856
|
-
},
|
|
4851
|
+
t(9, M = !0), C.securityAnswer = !M, B();
|
|
4852
|
+
}, ze = (p) => {
|
|
4857
4853
|
p.preventDefault(), window.postMessage(
|
|
4858
4854
|
{
|
|
4859
4855
|
type: "RegisterStepOne",
|
|
@@ -4861,67 +4857,67 @@ function go(e, r, t) {
|
|
|
4861
4857
|
},
|
|
4862
4858
|
window.location.href
|
|
4863
4859
|
);
|
|
4864
|
-
},
|
|
4860
|
+
}, ke = (p) => {
|
|
4865
4861
|
if (p.data)
|
|
4866
4862
|
switch (p.data.type) {
|
|
4867
4863
|
case "StepOneDataBackup":
|
|
4868
|
-
const
|
|
4869
|
-
for (const le in
|
|
4870
|
-
|
|
4864
|
+
const N = p.data.userData;
|
|
4865
|
+
for (const le in N)
|
|
4866
|
+
Mr(le, N[le]);
|
|
4871
4867
|
t(29, ve = Object.keys(C).every((le) => s.includes(le) ? !0 : C[le] !== !1));
|
|
4872
4868
|
break;
|
|
4873
4869
|
}
|
|
4874
|
-
},
|
|
4875
|
-
t(17,
|
|
4876
|
-
},
|
|
4877
|
-
|
|
4870
|
+
}, Ur = () => {
|
|
4871
|
+
t(17, je = s.split(","));
|
|
4872
|
+
}, _e = () => {
|
|
4873
|
+
io(n);
|
|
4878
4874
|
};
|
|
4879
|
-
rn(() => (window.addEventListener("message",
|
|
4880
|
-
window.removeEventListener("message",
|
|
4875
|
+
rn(() => (window.addEventListener("message", ke, !1), () => {
|
|
4876
|
+
window.removeEventListener("message", ke);
|
|
4881
4877
|
}));
|
|
4882
|
-
const
|
|
4883
|
-
function
|
|
4878
|
+
const Fe = () => Le();
|
|
4879
|
+
function Xe() {
|
|
4884
4880
|
X = this.value, t(19, X);
|
|
4885
4881
|
}
|
|
4886
|
-
const
|
|
4887
|
-
function
|
|
4882
|
+
const yr = () => t(10, R = !0), kr = () => t(10, R = !1);
|
|
4883
|
+
function Fr() {
|
|
4888
4884
|
k = this.value, t(18, k);
|
|
4889
4885
|
}
|
|
4890
|
-
const se = () => t(11, ce = !0),
|
|
4891
|
-
function
|
|
4886
|
+
const se = () => t(11, ce = !0), Dr = () => t(11, ce = !1);
|
|
4887
|
+
function Ze() {
|
|
4892
4888
|
he = this.value, t(20, he);
|
|
4893
4889
|
}
|
|
4894
|
-
const
|
|
4895
|
-
function
|
|
4896
|
-
|
|
4897
|
-
|
|
4890
|
+
const Gr = () => t(12, G = !0), fe = () => t(12, G = !1);
|
|
4891
|
+
function Ie(p) {
|
|
4892
|
+
Hr[p ? "unshift" : "push"](() => {
|
|
4893
|
+
He = p, t(27, He);
|
|
4898
4894
|
});
|
|
4899
4895
|
}
|
|
4900
|
-
const
|
|
4901
|
-
function
|
|
4896
|
+
const We = () => Ue(), Er = () => Ve();
|
|
4897
|
+
function jr() {
|
|
4902
4898
|
pe = this.value, t(21, pe);
|
|
4903
4899
|
}
|
|
4904
|
-
const
|
|
4900
|
+
const qe = () => t(13, ge = !0), Vr = () => t(13, ge = !1);
|
|
4905
4901
|
function oe(p) {
|
|
4906
|
-
|
|
4902
|
+
Hr[p ? "unshift" : "push"](() => {
|
|
4907
4903
|
Ee = p, t(28, Ee);
|
|
4908
4904
|
});
|
|
4909
4905
|
}
|
|
4910
|
-
const
|
|
4911
|
-
function
|
|
4912
|
-
|
|
4906
|
+
const $r = () => gr(), Je = () => Re();
|
|
4907
|
+
function Qr() {
|
|
4908
|
+
Te = this.value, t(24, Te);
|
|
4913
4909
|
}
|
|
4914
|
-
const de = () => t(16,
|
|
4915
|
-
function
|
|
4910
|
+
const de = () => t(16, Ae = !0), Ne = () => t(16, Ae = !1);
|
|
4911
|
+
function Ye() {
|
|
4916
4912
|
ne = this.value, t(22, ne);
|
|
4917
4913
|
}
|
|
4918
|
-
const
|
|
4919
|
-
function
|
|
4914
|
+
const vr = () => t(14, U = !0), zr = () => t(14, U = !1);
|
|
4915
|
+
function Ke() {
|
|
4920
4916
|
V = this.value, t(23, V);
|
|
4921
4917
|
}
|
|
4922
|
-
const
|
|
4923
|
-
function
|
|
4924
|
-
|
|
4918
|
+
const Xr = () => t(15, Ge = !0), ae = () => t(15, Ge = !1), Zr = (p) => ze(p);
|
|
4919
|
+
function er(p) {
|
|
4920
|
+
Hr[p ? "unshift" : "push"](() => {
|
|
4925
4921
|
Z = p, t(3, Z);
|
|
4926
4922
|
});
|
|
4927
4923
|
}
|
|
@@ -4929,106 +4925,106 @@ function go(e, r, t) {
|
|
|
4929
4925
|
"lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0, a = p.simplepasswordvalidation), "mbsource" in p && t(46, l = p.mbsource), "clientstyling" in p && t(47, h = p.clientstyling), "clientstylingurl" in p && t(48, c = p.clientstylingurl), "translationurl" in p && t(49, f = p.translationurl), "savecredentials" in p && t(1, m = p.savecredentials), "custominputtextswitch" in p && t(2, g = p.custominputtextswitch);
|
|
4930
4926
|
}, e.$$.update = () => {
|
|
4931
4927
|
e.$$.dirty[1] & /*lang*/
|
|
4932
|
-
8192 && n &&
|
|
4933
|
-
16384 && s &&
|
|
4934
|
-
1 && a &&
|
|
4928
|
+
8192 && n && _e(), e.$$.dirty[1] & /*disabledfields*/
|
|
4929
|
+
16384 && s && Ur(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
4930
|
+
1 && a && mr(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4935
4931
|
8 | e.$$.dirty[1] & /*clientstyling*/
|
|
4936
|
-
65536 && h && Z &&
|
|
4932
|
+
65536 && h && Z && no(Z, h), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4937
4933
|
8 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
4938
|
-
131072 && c && Z &&
|
|
4934
|
+
131072 && c && Z && so(Z, c), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4939
4935
|
8 | e.$$.dirty[1] & /*mbsource*/
|
|
4940
|
-
32768 && l && Z &&
|
|
4941
|
-
262144 && f &&
|
|
4936
|
+
32768 && l && Z && oo(Z, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
4937
|
+
262144 && f && Lr();
|
|
4942
4938
|
}, [
|
|
4943
4939
|
a,
|
|
4944
4940
|
m,
|
|
4945
4941
|
g,
|
|
4946
4942
|
Z,
|
|
4947
4943
|
b,
|
|
4948
|
-
|
|
4944
|
+
w,
|
|
4949
4945
|
E,
|
|
4950
4946
|
A,
|
|
4951
|
-
|
|
4947
|
+
O,
|
|
4952
4948
|
M,
|
|
4953
4949
|
R,
|
|
4954
4950
|
ce,
|
|
4955
4951
|
G,
|
|
4956
4952
|
ge,
|
|
4957
4953
|
U,
|
|
4954
|
+
Ge,
|
|
4955
|
+
Ae,
|
|
4958
4956
|
je,
|
|
4959
|
-
Te,
|
|
4960
|
-
Ve,
|
|
4961
4957
|
k,
|
|
4962
4958
|
X,
|
|
4963
4959
|
he,
|
|
4964
4960
|
pe,
|
|
4965
4961
|
ne,
|
|
4966
4962
|
V,
|
|
4967
|
-
|
|
4963
|
+
Te,
|
|
4968
4964
|
F,
|
|
4969
|
-
|
|
4970
|
-
|
|
4965
|
+
xe,
|
|
4966
|
+
He,
|
|
4971
4967
|
Ee,
|
|
4972
4968
|
ve,
|
|
4973
4969
|
i,
|
|
4970
|
+
Le,
|
|
4974
4971
|
Me,
|
|
4972
|
+
dr,
|
|
4973
|
+
Ve,
|
|
4975
4974
|
Re,
|
|
4976
|
-
mr,
|
|
4977
|
-
$e,
|
|
4978
4975
|
Ue,
|
|
4979
|
-
|
|
4976
|
+
gr,
|
|
4977
|
+
Qe,
|
|
4978
|
+
Be,
|
|
4980
4979
|
pr,
|
|
4981
|
-
ze,
|
|
4982
|
-
Ie,
|
|
4983
|
-
br,
|
|
4984
4980
|
$,
|
|
4985
|
-
|
|
4986
|
-
|
|
4981
|
+
br,
|
|
4982
|
+
ze,
|
|
4987
4983
|
n,
|
|
4988
4984
|
s,
|
|
4989
4985
|
l,
|
|
4990
4986
|
h,
|
|
4991
4987
|
c,
|
|
4992
4988
|
f,
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4989
|
+
Fe,
|
|
4990
|
+
Xe,
|
|
4991
|
+
yr,
|
|
4992
|
+
kr,
|
|
4996
4993
|
Fr,
|
|
4997
|
-
Dr,
|
|
4998
4994
|
se,
|
|
4995
|
+
Dr,
|
|
4996
|
+
Ze,
|
|
4999
4997
|
Gr,
|
|
4998
|
+
fe,
|
|
4999
|
+
Ie,
|
|
5000
5000
|
We,
|
|
5001
|
+
Er,
|
|
5001
5002
|
jr,
|
|
5002
|
-
fe,
|
|
5003
|
-
Ne,
|
|
5004
5003
|
qe,
|
|
5005
|
-
vr,
|
|
5006
5004
|
Vr,
|
|
5007
|
-
Je,
|
|
5008
|
-
$r,
|
|
5009
5005
|
oe,
|
|
5006
|
+
$r,
|
|
5007
|
+
Je,
|
|
5010
5008
|
Qr,
|
|
5009
|
+
de,
|
|
5010
|
+
Ne,
|
|
5011
5011
|
Ye,
|
|
5012
|
+
vr,
|
|
5012
5013
|
zr,
|
|
5013
|
-
de,
|
|
5014
|
-
Oe,
|
|
5015
5014
|
Ke,
|
|
5016
|
-
_r,
|
|
5017
5015
|
Xr,
|
|
5018
|
-
er,
|
|
5019
|
-
Zr,
|
|
5020
5016
|
ae,
|
|
5021
|
-
|
|
5022
|
-
|
|
5017
|
+
Zr,
|
|
5018
|
+
er
|
|
5023
5019
|
];
|
|
5024
5020
|
}
|
|
5025
|
-
class
|
|
5021
|
+
class go extends mn {
|
|
5026
5022
|
constructor(r) {
|
|
5027
5023
|
super(), fn(
|
|
5028
5024
|
this,
|
|
5029
5025
|
r,
|
|
5030
|
-
go,
|
|
5031
5026
|
mo,
|
|
5027
|
+
fo,
|
|
5032
5028
|
gi,
|
|
5033
5029
|
{
|
|
5034
5030
|
lang: 44,
|
|
@@ -5041,7 +5037,7 @@ class po extends mn {
|
|
|
5041
5037
|
savecredentials: 1,
|
|
5042
5038
|
custominputtextswitch: 2
|
|
5043
5039
|
},
|
|
5044
|
-
|
|
5040
|
+
ao,
|
|
5045
5041
|
[-1, -1, -1, -1]
|
|
5046
5042
|
);
|
|
5047
5043
|
}
|
|
@@ -5100,7 +5096,7 @@ class po extends mn {
|
|
|
5100
5096
|
this.$$set({ custominputtextswitch: r }), ye();
|
|
5101
5097
|
}
|
|
5102
5098
|
}
|
|
5103
|
-
dn(
|
|
5099
|
+
dn(go, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
|
|
5104
5100
|
export {
|
|
5105
|
-
|
|
5101
|
+
go as default
|
|
5106
5102
|
};
|