@everymatrix/general-player-register-form-step1-nd 1.55.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralPlayerRegisterFormStep1Nd-DzzCRAEZ.js → GeneralPlayerRegisterFormStep1Nd-C0A8GEix.js} +807 -766
- package/components/{GeneralPlayerRegisterFormStep1Nd--rKz5X4J.js → GeneralPlayerRegisterFormStep1Nd-DEXIfUAt.js} +821 -780
- package/components/GeneralPlayerRegisterFormStep1Nd-DzpM9ZEC.cjs +16 -0
- package/es2015/general-player-register-form-step1-nd.cjs +1 -1
- package/es2015/general-player-register-form-step1-nd.js +1 -1
- package/esnext/general-player-register-form-step1-nd.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerRegisterFormStep1Nd-CGcfxor6.cjs +0 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function Q() {
|
|
2
2
|
}
|
|
3
3
|
function ei(e) {
|
|
4
4
|
return e();
|
|
@@ -6,7 +6,7 @@ function ei(e) {
|
|
|
6
6
|
function Bt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function lr(e) {
|
|
10
10
|
e.forEach(ei);
|
|
11
11
|
}
|
|
12
12
|
function _t(e) {
|
|
@@ -22,7 +22,7 @@ function ti(e, ...r) {
|
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const i of r)
|
|
24
24
|
i(void 0);
|
|
25
|
-
return
|
|
25
|
+
return Q;
|
|
26
26
|
}
|
|
27
27
|
const t = e.subscribe(...r);
|
|
28
28
|
return t.unsubscribe ? () => t.unsubscribe() : t;
|
|
@@ -41,7 +41,8 @@ function Bi(e, r, t) {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
function Ii(e) {
|
|
44
|
-
if (!e)
|
|
44
|
+
if (!e)
|
|
45
|
+
return document;
|
|
45
46
|
const r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
46
47
|
return r && /** @type {ShadowRoot} */
|
|
47
48
|
r.host ? (
|
|
@@ -56,25 +57,25 @@ function Ni(e, r) {
|
|
|
56
57
|
r
|
|
57
58
|
), r.sheet;
|
|
58
59
|
}
|
|
59
|
-
function
|
|
60
|
+
function ue(e, r, t) {
|
|
60
61
|
e.insertBefore(r, t || null);
|
|
61
62
|
}
|
|
62
|
-
function
|
|
63
|
+
function ie(e) {
|
|
63
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
64
65
|
}
|
|
65
66
|
function E(e) {
|
|
66
67
|
return document.createElement(e);
|
|
67
68
|
}
|
|
68
|
-
function
|
|
69
|
+
function _(e) {
|
|
69
70
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
70
71
|
}
|
|
71
|
-
function
|
|
72
|
+
function H(e) {
|
|
72
73
|
return document.createTextNode(e);
|
|
73
74
|
}
|
|
74
|
-
function
|
|
75
|
-
return
|
|
75
|
+
function I() {
|
|
76
|
+
return H(" ");
|
|
76
77
|
}
|
|
77
|
-
function
|
|
78
|
+
function x(e, r, t, i) {
|
|
78
79
|
return e.addEventListener(r, t, i), () => e.removeEventListener(r, t, i);
|
|
79
80
|
}
|
|
80
81
|
function o(e, r, t) {
|
|
@@ -83,11 +84,11 @@ function o(e, r, t) {
|
|
|
83
84
|
function Oi(e) {
|
|
84
85
|
return Array.from(e.childNodes);
|
|
85
86
|
}
|
|
86
|
-
function
|
|
87
|
+
function D(e, r) {
|
|
87
88
|
r = "" + r, e.data !== r && (e.data = /** @type {string} */
|
|
88
89
|
r);
|
|
89
90
|
}
|
|
90
|
-
function
|
|
91
|
+
function te(e, r) {
|
|
91
92
|
e.value = r ?? "";
|
|
92
93
|
}
|
|
93
94
|
function Li(e) {
|
|
@@ -99,63 +100,65 @@ function Li(e) {
|
|
|
99
100
|
}
|
|
100
101
|
), r;
|
|
101
102
|
}
|
|
102
|
-
let
|
|
103
|
-
function
|
|
104
|
-
|
|
103
|
+
let Sr;
|
|
104
|
+
function wr(e) {
|
|
105
|
+
Sr = e;
|
|
105
106
|
}
|
|
106
107
|
function Mi() {
|
|
107
|
-
if (!
|
|
108
|
-
|
|
108
|
+
if (!Sr)
|
|
109
|
+
throw new Error("Function called outside component initialization");
|
|
110
|
+
return Sr;
|
|
109
111
|
}
|
|
110
112
|
function Ri(e) {
|
|
111
113
|
Mi().$$.on_mount.push(e);
|
|
112
114
|
}
|
|
113
|
-
const
|
|
114
|
-
let
|
|
115
|
+
const tr = [], _r = [];
|
|
116
|
+
let ir = [];
|
|
115
117
|
const It = [], Ui = /* @__PURE__ */ Promise.resolve();
|
|
116
118
|
let ht = !1;
|
|
117
119
|
function ki() {
|
|
118
|
-
ht || (ht = !0, Ui.then(
|
|
120
|
+
ht || (ht = !0, Ui.then(be));
|
|
119
121
|
}
|
|
120
122
|
function ft(e) {
|
|
121
|
-
|
|
123
|
+
ir.push(e);
|
|
122
124
|
}
|
|
123
125
|
const nt = /* @__PURE__ */ new Set();
|
|
124
|
-
let
|
|
125
|
-
function
|
|
126
|
-
if (
|
|
126
|
+
let er = 0;
|
|
127
|
+
function be() {
|
|
128
|
+
if (er !== 0)
|
|
127
129
|
return;
|
|
128
|
-
const e =
|
|
130
|
+
const e = Sr;
|
|
129
131
|
do {
|
|
130
132
|
try {
|
|
131
|
-
for (;
|
|
132
|
-
const r =
|
|
133
|
-
|
|
133
|
+
for (; er < tr.length; ) {
|
|
134
|
+
const r = tr[er];
|
|
135
|
+
er++, wr(r), Fi(r.$$);
|
|
134
136
|
}
|
|
135
137
|
} catch (r) {
|
|
136
|
-
throw
|
|
138
|
+
throw tr.length = 0, er = 0, r;
|
|
137
139
|
}
|
|
138
|
-
for (
|
|
139
|
-
|
|
140
|
-
|
|
140
|
+
for (wr(null), tr.length = 0, er = 0; _r.length; )
|
|
141
|
+
_r.pop()();
|
|
142
|
+
for (let r = 0; r < ir.length; r += 1) {
|
|
143
|
+
const t = ir[r];
|
|
141
144
|
nt.has(t) || (nt.add(t), t());
|
|
142
145
|
}
|
|
143
|
-
|
|
144
|
-
} while (
|
|
146
|
+
ir.length = 0;
|
|
147
|
+
} while (tr.length);
|
|
145
148
|
for (; It.length; )
|
|
146
149
|
It.pop()();
|
|
147
|
-
ht = !1, nt.clear(),
|
|
150
|
+
ht = !1, nt.clear(), wr(e);
|
|
148
151
|
}
|
|
149
152
|
function Fi(e) {
|
|
150
153
|
if (e.fragment !== null) {
|
|
151
|
-
e.update(),
|
|
154
|
+
e.update(), lr(e.before_update);
|
|
152
155
|
const r = e.dirty;
|
|
153
156
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(ft);
|
|
154
157
|
}
|
|
155
158
|
}
|
|
156
159
|
function Di(e) {
|
|
157
160
|
const r = [], t = [];
|
|
158
|
-
|
|
161
|
+
ir.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), ir = r;
|
|
159
162
|
}
|
|
160
163
|
const Gi = /* @__PURE__ */ new Set();
|
|
161
164
|
function ji(e, r) {
|
|
@@ -165,25 +168,25 @@ function Vi(e, r, t) {
|
|
|
165
168
|
const { fragment: i, after_update: n } = e.$$;
|
|
166
169
|
i && i.m(r, t), ft(() => {
|
|
167
170
|
const s = e.$$.on_mount.map(ei).filter(_t);
|
|
168
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
171
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : lr(s), e.$$.on_mount = [];
|
|
169
172
|
}), n.forEach(ft);
|
|
170
173
|
}
|
|
171
174
|
function $i(e, r) {
|
|
172
175
|
const t = e.$$;
|
|
173
|
-
t.fragment !== null && (Di(t.after_update),
|
|
176
|
+
t.fragment !== null && (Di(t.after_update), lr(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
|
|
174
177
|
}
|
|
175
178
|
function zi(e, r) {
|
|
176
|
-
e.$$.dirty[0] === -1 && (
|
|
179
|
+
e.$$.dirty[0] === -1 && (tr.push(e), ki(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
|
|
177
180
|
}
|
|
178
181
|
function Qi(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
179
|
-
const f =
|
|
180
|
-
|
|
182
|
+
const f = Sr;
|
|
183
|
+
wr(e);
|
|
181
184
|
const c = e.$$ = {
|
|
182
185
|
fragment: null,
|
|
183
186
|
ctx: [],
|
|
184
187
|
// state
|
|
185
188
|
props: s,
|
|
186
|
-
update:
|
|
189
|
+
update: Q,
|
|
187
190
|
not_equal: n,
|
|
188
191
|
bound: Bt(),
|
|
189
192
|
// lifecycle
|
|
@@ -204,15 +207,15 @@ function Qi(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
|
204
207
|
if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
|
|
205
208
|
const w = b.length ? b[0] : g;
|
|
206
209
|
return c.ctx && n(c.ctx[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), h && zi(e, m)), g;
|
|
207
|
-
}) : [], c.update(), h = !0,
|
|
210
|
+
}) : [], c.update(), h = !0, lr(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
|
|
208
211
|
if (r.hydrate) {
|
|
209
212
|
const m = Oi(r.target);
|
|
210
|
-
c.fragment && c.fragment.l(m), m.forEach(
|
|
213
|
+
c.fragment && c.fragment.l(m), m.forEach(ie);
|
|
211
214
|
} else
|
|
212
215
|
c.fragment && c.fragment.c();
|
|
213
|
-
r.intro && ji(e.$$.fragment), Vi(e, r.target, r.anchor),
|
|
216
|
+
r.intro && ji(e.$$.fragment), Vi(e, r.target, r.anchor), be();
|
|
214
217
|
}
|
|
215
|
-
|
|
218
|
+
wr(f);
|
|
216
219
|
}
|
|
217
220
|
let ii;
|
|
218
221
|
typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
@@ -264,10 +267,10 @@ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
|
264
267
|
* @param {HTMLElement} [anchor]
|
|
265
268
|
*/
|
|
266
269
|
m: function(f, c) {
|
|
267
|
-
|
|
270
|
+
ue(f, s, c);
|
|
268
271
|
},
|
|
269
272
|
d: function(f) {
|
|
270
|
-
f &&
|
|
273
|
+
f && ie(s);
|
|
271
274
|
}
|
|
272
275
|
};
|
|
273
276
|
};
|
|
@@ -279,7 +282,7 @@ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
|
279
282
|
n in t && (r[n] = [e(n)]);
|
|
280
283
|
for (const n of this.attributes) {
|
|
281
284
|
const s = this.$$g_p(n.name);
|
|
282
|
-
s in this.$$d || (this.$$d[s] =
|
|
285
|
+
s in this.$$d || (this.$$d[s] = Qr(s, n.value, this.$$p_d, "toProp"));
|
|
283
286
|
}
|
|
284
287
|
for (const n in this.$$p_d)
|
|
285
288
|
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
@@ -297,7 +300,7 @@ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
|
297
300
|
this.$$r = !0;
|
|
298
301
|
for (const n in this.$$p_d)
|
|
299
302
|
if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
|
|
300
|
-
const s =
|
|
303
|
+
const s = Qr(
|
|
301
304
|
n,
|
|
302
305
|
this.$$d[n],
|
|
303
306
|
this.$$p_d,
|
|
@@ -319,7 +322,7 @@ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
|
319
322
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
320
323
|
// and setting attributes through setAttribute etc, this is helpful
|
|
321
324
|
attributeChangedCallback(e, r, t) {
|
|
322
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
325
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Qr(e, t, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
323
326
|
}
|
|
324
327
|
disconnectedCallback() {
|
|
325
328
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -332,7 +335,7 @@ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
|
332
335
|
) || e;
|
|
333
336
|
}
|
|
334
337
|
});
|
|
335
|
-
function
|
|
338
|
+
function Qr(e, r, t, i) {
|
|
336
339
|
const n = t[e]?.type;
|
|
337
340
|
if (r = n === "Boolean" && typeof r != "boolean" ? r != null : r, !i || !t[e])
|
|
338
341
|
return r;
|
|
@@ -378,7 +381,7 @@ function Xi(e, r, t, i, n, s) {
|
|
|
378
381
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
379
382
|
},
|
|
380
383
|
set(f) {
|
|
381
|
-
f =
|
|
384
|
+
f = Qr(a, f, r), this.$$d[a] = f, this.$$c?.$set({ [a]: f });
|
|
382
385
|
}
|
|
383
386
|
});
|
|
384
387
|
}), i.forEach((a) => {
|
|
@@ -409,7 +412,7 @@ class Zi {
|
|
|
409
412
|
$$set = void 0;
|
|
410
413
|
/** @returns {void} */
|
|
411
414
|
$destroy() {
|
|
412
|
-
$i(this, 1), this.$destroy =
|
|
415
|
+
$i(this, 1), this.$destroy = Q;
|
|
413
416
|
}
|
|
414
417
|
/**
|
|
415
418
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -419,7 +422,7 @@ class Zi {
|
|
|
419
422
|
*/
|
|
420
423
|
$on(r, t) {
|
|
421
424
|
if (!_t(t))
|
|
422
|
-
return
|
|
425
|
+
return Q;
|
|
423
426
|
const i = this.$$.callbacks[r] || (this.$$.callbacks[r] = []);
|
|
424
427
|
return i.push(t), () => {
|
|
425
428
|
const n = i.indexOf(t);
|
|
@@ -436,39 +439,39 @@ class Zi {
|
|
|
436
439
|
}
|
|
437
440
|
const Wi = "4";
|
|
438
441
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wi);
|
|
439
|
-
const
|
|
442
|
+
const rr = [];
|
|
440
443
|
function qi(e, r) {
|
|
441
444
|
return {
|
|
442
|
-
subscribe:
|
|
445
|
+
subscribe: Jr(e, r).subscribe
|
|
443
446
|
};
|
|
444
447
|
}
|
|
445
|
-
function
|
|
448
|
+
function Jr(e, r = Q) {
|
|
446
449
|
let t;
|
|
447
450
|
const i = /* @__PURE__ */ new Set();
|
|
448
451
|
function n(a) {
|
|
449
452
|
if (ri(e, a) && (e = a, t)) {
|
|
450
|
-
const f = !
|
|
453
|
+
const f = !rr.length;
|
|
451
454
|
for (const c of i)
|
|
452
|
-
c[1](),
|
|
455
|
+
c[1](), rr.push(c, e);
|
|
453
456
|
if (f) {
|
|
454
|
-
for (let c = 0; c <
|
|
455
|
-
|
|
456
|
-
|
|
457
|
+
for (let c = 0; c < rr.length; c += 2)
|
|
458
|
+
rr[c][0](rr[c + 1]);
|
|
459
|
+
rr.length = 0;
|
|
457
460
|
}
|
|
458
461
|
}
|
|
459
462
|
}
|
|
460
463
|
function s(a) {
|
|
461
464
|
n(a(e));
|
|
462
465
|
}
|
|
463
|
-
function u(a, f =
|
|
466
|
+
function u(a, f = Q) {
|
|
464
467
|
const c = [a, f];
|
|
465
|
-
return i.add(c), i.size === 1 && (t = r(n, s) ||
|
|
468
|
+
return i.add(c), i.size === 1 && (t = r(n, s) || Q), a(e), () => {
|
|
466
469
|
i.delete(c), i.size === 0 && t && (t(), t = null);
|
|
467
470
|
};
|
|
468
471
|
}
|
|
469
472
|
return { set: n, update: s, subscribe: u };
|
|
470
473
|
}
|
|
471
|
-
function
|
|
474
|
+
function ur(e, r, t) {
|
|
472
475
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
473
476
|
if (!n.every(Boolean))
|
|
474
477
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -476,18 +479,18 @@ function cr(e, r, t) {
|
|
|
476
479
|
return qi(t, (u, a) => {
|
|
477
480
|
let f = !1;
|
|
478
481
|
const c = [];
|
|
479
|
-
let h = 0, m =
|
|
482
|
+
let h = 0, m = Q;
|
|
480
483
|
const g = () => {
|
|
481
484
|
if (h)
|
|
482
485
|
return;
|
|
483
486
|
m();
|
|
484
487
|
const w = r(i ? c[0] : c, u, a);
|
|
485
|
-
s ? u(w) : m = _t(w) ? w :
|
|
488
|
+
s ? u(w) : m = _t(w) ? w : Q;
|
|
486
489
|
}, b = n.map(
|
|
487
490
|
(w, y) => ti(
|
|
488
491
|
w,
|
|
489
|
-
(
|
|
490
|
-
c[y] =
|
|
492
|
+
(A) => {
|
|
493
|
+
c[y] = A, h &= ~(1 << y), f && g();
|
|
491
494
|
},
|
|
492
495
|
() => {
|
|
493
496
|
h |= 1 << y;
|
|
@@ -495,7 +498,7 @@ function cr(e, r, t) {
|
|
|
495
498
|
)
|
|
496
499
|
);
|
|
497
500
|
return f = !0, g(), function() {
|
|
498
|
-
|
|
501
|
+
lr(b), m(), f = !1;
|
|
499
502
|
};
|
|
500
503
|
});
|
|
501
504
|
}
|
|
@@ -519,19 +522,19 @@ function nn(e) {
|
|
|
519
522
|
function sn(e) {
|
|
520
523
|
return Array.isArray(e) ? [] : {};
|
|
521
524
|
}
|
|
522
|
-
function
|
|
523
|
-
return r.clone !== !1 && r.isMergeableObject(e) ?
|
|
525
|
+
function Pr(e, r) {
|
|
526
|
+
return r.clone !== !1 && r.isMergeableObject(e) ? nr(sn(e), e, r) : e;
|
|
524
527
|
}
|
|
525
528
|
function on(e, r, t) {
|
|
526
529
|
return e.concat(r).map(function(i) {
|
|
527
|
-
return
|
|
530
|
+
return Pr(i, t);
|
|
528
531
|
});
|
|
529
532
|
}
|
|
530
533
|
function an(e, r) {
|
|
531
534
|
if (!r.customMerge)
|
|
532
|
-
return
|
|
535
|
+
return nr;
|
|
533
536
|
var t = r.customMerge(e);
|
|
534
|
-
return typeof t == "function" ? t :
|
|
537
|
+
return typeof t == "function" ? t : nr;
|
|
535
538
|
}
|
|
536
539
|
function ln(e) {
|
|
537
540
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
|
|
@@ -554,33 +557,48 @@ function un(e, r) {
|
|
|
554
557
|
function cn(e, r, t) {
|
|
555
558
|
var i = {};
|
|
556
559
|
return t.isMergeableObject(e) && Nt(e).forEach(function(n) {
|
|
557
|
-
i[n] =
|
|
560
|
+
i[n] = Pr(e[n], t);
|
|
558
561
|
}), Nt(r).forEach(function(n) {
|
|
559
|
-
un(e, n) || (ni(e, n) && t.isMergeableObject(r[n]) ? i[n] = an(n, t)(e[n], r[n], t) : i[n] =
|
|
562
|
+
un(e, n) || (ni(e, n) && t.isMergeableObject(r[n]) ? i[n] = an(n, t)(e[n], r[n], t) : i[n] = Pr(r[n], t));
|
|
560
563
|
}), i;
|
|
561
564
|
}
|
|
562
|
-
function
|
|
563
|
-
t = t || {}, t.arrayMerge = t.arrayMerge || on, t.isMergeableObject = t.isMergeableObject || Yi, t.cloneUnlessOtherwiseSpecified =
|
|
565
|
+
function nr(e, r, t) {
|
|
566
|
+
t = t || {}, t.arrayMerge = t.arrayMerge || on, t.isMergeableObject = t.isMergeableObject || Yi, t.cloneUnlessOtherwiseSpecified = Pr;
|
|
564
567
|
var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
|
|
565
|
-
return s ? i ? t.arrayMerge(e, r, t) : cn(e, r, t) :
|
|
568
|
+
return s ? i ? t.arrayMerge(e, r, t) : cn(e, r, t) : Pr(r, t);
|
|
566
569
|
}
|
|
567
|
-
|
|
570
|
+
nr.all = function(r, t) {
|
|
568
571
|
if (!Array.isArray(r))
|
|
569
572
|
throw new Error("first argument should be an array");
|
|
570
573
|
return r.reduce(function(i, n) {
|
|
571
|
-
return
|
|
574
|
+
return nr(i, n, t);
|
|
572
575
|
}, {});
|
|
573
576
|
};
|
|
574
|
-
var hn =
|
|
577
|
+
var hn = nr, fn = hn;
|
|
575
578
|
const dn = /* @__PURE__ */ Ji(fn);
|
|
579
|
+
/*! *****************************************************************************
|
|
580
|
+
Copyright (c) Microsoft Corporation.
|
|
581
|
+
|
|
582
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
583
|
+
purpose with or without fee is hereby granted.
|
|
584
|
+
|
|
585
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
586
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
587
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
588
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
589
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
590
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
591
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
592
|
+
***************************************************************************** */
|
|
576
593
|
var dt = function(e, r) {
|
|
577
594
|
return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
578
595
|
t.__proto__ = i;
|
|
579
596
|
} || function(t, i) {
|
|
580
|
-
for (var n in i)
|
|
597
|
+
for (var n in i)
|
|
598
|
+
Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
|
|
581
599
|
}, dt(e, r);
|
|
582
600
|
};
|
|
583
|
-
function
|
|
601
|
+
function Yr(e, r) {
|
|
584
602
|
if (typeof r != "function" && r !== null)
|
|
585
603
|
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
586
604
|
dt(e, r);
|
|
@@ -589,27 +607,30 @@ function Kr(e, r) {
|
|
|
589
607
|
}
|
|
590
608
|
e.prototype = r === null ? Object.create(r) : (t.prototype = r.prototype, new t());
|
|
591
609
|
}
|
|
592
|
-
var
|
|
593
|
-
return
|
|
610
|
+
var T = function() {
|
|
611
|
+
return T = Object.assign || function(r) {
|
|
594
612
|
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
595
613
|
t = arguments[i];
|
|
596
|
-
for (var s in t)
|
|
614
|
+
for (var s in t)
|
|
615
|
+
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
597
616
|
}
|
|
598
617
|
return r;
|
|
599
|
-
},
|
|
618
|
+
}, T.apply(this, arguments);
|
|
600
619
|
};
|
|
601
620
|
function mn(e, r) {
|
|
602
621
|
var t = {};
|
|
603
|
-
for (var i in e)
|
|
622
|
+
for (var i in e)
|
|
623
|
+
Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
604
624
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
605
625
|
for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
|
|
606
626
|
r.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (t[i[n]] = e[i[n]]);
|
|
607
627
|
return t;
|
|
608
628
|
}
|
|
609
629
|
function st(e, r, t) {
|
|
610
|
-
if (
|
|
611
|
-
(
|
|
612
|
-
|
|
630
|
+
if (arguments.length === 2)
|
|
631
|
+
for (var i = 0, n = r.length, s; i < n; i++)
|
|
632
|
+
(s || !(i in r)) && (s || (s = Array.prototype.slice.call(r, 0, i)), s[i] = r[i]);
|
|
633
|
+
return e.concat(s || r);
|
|
613
634
|
}
|
|
614
635
|
function ot(e, r) {
|
|
615
636
|
var t = r && r.cache ? r.cache : vn, i = r && r.serializer ? r.serializer : En, n = r && r.strategy ? r.strategy : pn;
|
|
@@ -661,50 +682,50 @@ var vn = {
|
|
|
661
682
|
}, at = {
|
|
662
683
|
variadic: bn,
|
|
663
684
|
monadic: yn
|
|
664
|
-
},
|
|
685
|
+
}, S;
|
|
665
686
|
(function(e) {
|
|
666
687
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
667
|
-
})(
|
|
668
|
-
var
|
|
688
|
+
})(S || (S = {}));
|
|
689
|
+
var L;
|
|
669
690
|
(function(e) {
|
|
670
691
|
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";
|
|
671
|
-
})(
|
|
672
|
-
var
|
|
692
|
+
})(L || (L = {}));
|
|
693
|
+
var sr;
|
|
673
694
|
(function(e) {
|
|
674
695
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
675
|
-
})(
|
|
696
|
+
})(sr || (sr = {}));
|
|
676
697
|
function Ot(e) {
|
|
677
|
-
return e.type ===
|
|
698
|
+
return e.type === L.literal;
|
|
678
699
|
}
|
|
679
700
|
function wn(e) {
|
|
680
|
-
return e.type ===
|
|
701
|
+
return e.type === L.argument;
|
|
681
702
|
}
|
|
682
703
|
function ai(e) {
|
|
683
|
-
return e.type ===
|
|
704
|
+
return e.type === L.number;
|
|
684
705
|
}
|
|
685
706
|
function li(e) {
|
|
686
|
-
return e.type ===
|
|
707
|
+
return e.type === L.date;
|
|
687
708
|
}
|
|
688
709
|
function ui(e) {
|
|
689
|
-
return e.type ===
|
|
710
|
+
return e.type === L.time;
|
|
690
711
|
}
|
|
691
712
|
function ci(e) {
|
|
692
|
-
return e.type ===
|
|
713
|
+
return e.type === L.select;
|
|
693
714
|
}
|
|
694
715
|
function hi(e) {
|
|
695
|
-
return e.type ===
|
|
716
|
+
return e.type === L.plural;
|
|
696
717
|
}
|
|
697
718
|
function _n(e) {
|
|
698
|
-
return e.type ===
|
|
719
|
+
return e.type === L.pound;
|
|
699
720
|
}
|
|
700
721
|
function fi(e) {
|
|
701
|
-
return e.type ===
|
|
722
|
+
return e.type === L.tag;
|
|
702
723
|
}
|
|
703
724
|
function di(e) {
|
|
704
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
725
|
+
return !!(e && typeof e == "object" && e.type === sr.number);
|
|
705
726
|
}
|
|
706
727
|
function mt(e) {
|
|
707
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
728
|
+
return !!(e && typeof e == "object" && e.type === sr.dateTime);
|
|
708
729
|
}
|
|
709
730
|
var mi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
710
731
|
function Pn(e) {
|
|
@@ -920,13 +941,13 @@ function Bn(e) {
|
|
|
920
941
|
r.notation = "compact", r.compactDisplay = "long";
|
|
921
942
|
continue;
|
|
922
943
|
case "scientific":
|
|
923
|
-
r =
|
|
924
|
-
return
|
|
944
|
+
r = T(T(T({}, r), { notation: "scientific" }), n.options.reduce(function(f, c) {
|
|
945
|
+
return T(T({}, f), Rt(c));
|
|
925
946
|
}, {}));
|
|
926
947
|
continue;
|
|
927
948
|
case "engineering":
|
|
928
|
-
r =
|
|
929
|
-
return
|
|
949
|
+
r = T(T(T({}, r), { notation: "engineering" }), n.options.reduce(function(f, c) {
|
|
950
|
+
return T(T({}, f), Rt(c));
|
|
930
951
|
}, {}));
|
|
931
952
|
continue;
|
|
932
953
|
case "notation-simple":
|
|
@@ -995,21 +1016,21 @@ function Bn(e) {
|
|
|
995
1016
|
return h === "*" ? r.minimumFractionDigits = c.length : m && m[0] === "#" ? r.maximumFractionDigits = m.length : g && b ? (r.minimumFractionDigits = g.length, r.maximumFractionDigits = g.length + b.length) : (r.minimumFractionDigits = c.length, r.maximumFractionDigits = c.length), "";
|
|
996
1017
|
});
|
|
997
1018
|
var s = n.options[0];
|
|
998
|
-
s === "w" ? r =
|
|
1019
|
+
s === "w" ? r = T(T({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = T(T({}, r), Mt(s)));
|
|
999
1020
|
continue;
|
|
1000
1021
|
}
|
|
1001
1022
|
if (gi.test(n.stem)) {
|
|
1002
|
-
r =
|
|
1023
|
+
r = T(T({}, r), Mt(n.stem));
|
|
1003
1024
|
continue;
|
|
1004
1025
|
}
|
|
1005
1026
|
var u = bi(n.stem);
|
|
1006
|
-
u && (r =
|
|
1027
|
+
u && (r = T(T({}, r), u));
|
|
1007
1028
|
var a = Hn(n.stem);
|
|
1008
|
-
a && (r =
|
|
1029
|
+
a && (r = T(T({}, r), a));
|
|
1009
1030
|
}
|
|
1010
1031
|
return r;
|
|
1011
1032
|
}
|
|
1012
|
-
var
|
|
1033
|
+
var zr = {
|
|
1013
1034
|
"001": [
|
|
1014
1035
|
"H",
|
|
1015
1036
|
"h"
|
|
@@ -2435,7 +2456,8 @@ function In(e, r) {
|
|
|
2435
2456
|
t += f;
|
|
2436
2457
|
for (; u-- > 0; )
|
|
2437
2458
|
t = c + t;
|
|
2438
|
-
} else
|
|
2459
|
+
} else
|
|
2460
|
+
n === "J" ? t += "H" : t += n;
|
|
2439
2461
|
}
|
|
2440
2462
|
return t;
|
|
2441
2463
|
}
|
|
@@ -2458,11 +2480,11 @@ function Nn(e) {
|
|
|
2458
2480
|
}
|
|
2459
2481
|
var t = e.language, i;
|
|
2460
2482
|
t !== "root" && (i = e.maximize().region);
|
|
2461
|
-
var n =
|
|
2483
|
+
var n = zr[i || ""] || zr[t || ""] || zr["".concat(t, "-001")] || zr["001"];
|
|
2462
2484
|
return n[0];
|
|
2463
2485
|
}
|
|
2464
2486
|
var lt, On = new RegExp("^".concat(mi.source, "*")), Ln = new RegExp("".concat(mi.source, "*$"));
|
|
2465
|
-
function
|
|
2487
|
+
function P(e, r) {
|
|
2466
2488
|
return { start: e, end: r };
|
|
2467
2489
|
}
|
|
2468
2490
|
var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Un = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, Dn = !!String.prototype.trimEnd, Gn = !!Number.isSafeInteger, jn = Gn ? Number.isSafeInteger : function(e) {
|
|
@@ -2589,13 +2611,13 @@ var Qn = (
|
|
|
2589
2611
|
if (s === 35 && (t === "plural" || t === "selectordinal")) {
|
|
2590
2612
|
var a = this.clonePosition();
|
|
2591
2613
|
this.bump(), n.push({
|
|
2592
|
-
type:
|
|
2593
|
-
location:
|
|
2614
|
+
type: L.pound,
|
|
2615
|
+
location: P(a, this.clonePosition())
|
|
2594
2616
|
});
|
|
2595
2617
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2596
2618
|
if (i)
|
|
2597
2619
|
break;
|
|
2598
|
-
return this.error(
|
|
2620
|
+
return this.error(S.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
|
|
2599
2621
|
} else if (s === 60 && !this.ignoreTag && yt(this.peek() || 0)) {
|
|
2600
2622
|
var u = this.parseTag(r, t);
|
|
2601
2623
|
if (u.err)
|
|
@@ -2617,9 +2639,9 @@ var Qn = (
|
|
|
2617
2639
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2618
2640
|
return {
|
|
2619
2641
|
val: {
|
|
2620
|
-
type:
|
|
2642
|
+
type: L.literal,
|
|
2621
2643
|
value: "<".concat(n, "/>"),
|
|
2622
|
-
location:
|
|
2644
|
+
location: P(i, this.clonePosition())
|
|
2623
2645
|
},
|
|
2624
2646
|
err: null
|
|
2625
2647
|
};
|
|
@@ -2630,21 +2652,21 @@ var Qn = (
|
|
|
2630
2652
|
var u = s.val, a = this.clonePosition();
|
|
2631
2653
|
if (this.bumpIf("</")) {
|
|
2632
2654
|
if (this.isEOF() || !yt(this.char()))
|
|
2633
|
-
return this.error(
|
|
2655
|
+
return this.error(S.INVALID_TAG, P(a, this.clonePosition()));
|
|
2634
2656
|
var f = this.clonePosition(), c = this.parseTagName();
|
|
2635
|
-
return n !== c ? this.error(
|
|
2657
|
+
return n !== c ? this.error(S.UNMATCHED_CLOSING_TAG, P(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2636
2658
|
val: {
|
|
2637
|
-
type:
|
|
2659
|
+
type: L.tag,
|
|
2638
2660
|
value: n,
|
|
2639
2661
|
children: u,
|
|
2640
|
-
location:
|
|
2662
|
+
location: P(i, this.clonePosition())
|
|
2641
2663
|
},
|
|
2642
2664
|
err: null
|
|
2643
|
-
} : this.error(
|
|
2665
|
+
} : this.error(S.INVALID_TAG, P(a, this.clonePosition())));
|
|
2644
2666
|
} else
|
|
2645
|
-
return this.error(
|
|
2667
|
+
return this.error(S.UNCLOSED_TAG, P(i, this.clonePosition()));
|
|
2646
2668
|
} else
|
|
2647
|
-
return this.error(
|
|
2669
|
+
return this.error(S.INVALID_TAG, P(i, this.clonePosition()));
|
|
2648
2670
|
}, e.prototype.parseTagName = function() {
|
|
2649
2671
|
var r = this.offset();
|
|
2650
2672
|
for (this.bump(); !this.isEOF() && Zn(this.char()); )
|
|
@@ -2669,9 +2691,9 @@ var Qn = (
|
|
|
2669
2691
|
}
|
|
2670
2692
|
break;
|
|
2671
2693
|
}
|
|
2672
|
-
var f =
|
|
2694
|
+
var f = P(i, this.clonePosition());
|
|
2673
2695
|
return {
|
|
2674
|
-
val: { type:
|
|
2696
|
+
val: { type: L.literal, value: n, location: f },
|
|
2675
2697
|
err: null
|
|
2676
2698
|
};
|
|
2677
2699
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -2719,40 +2741,40 @@ var Qn = (
|
|
|
2719
2741
|
}, e.prototype.parseArgument = function(r, t) {
|
|
2720
2742
|
var i = this.clonePosition();
|
|
2721
2743
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2722
|
-
return this.error(
|
|
2744
|
+
return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
|
|
2723
2745
|
if (this.char() === 125)
|
|
2724
|
-
return this.bump(), this.error(
|
|
2746
|
+
return this.bump(), this.error(S.EMPTY_ARGUMENT, P(i, this.clonePosition()));
|
|
2725
2747
|
var n = this.parseIdentifierIfPossible().value;
|
|
2726
2748
|
if (!n)
|
|
2727
|
-
return this.error(
|
|
2749
|
+
return this.error(S.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
|
|
2728
2750
|
if (this.bumpSpace(), this.isEOF())
|
|
2729
|
-
return this.error(
|
|
2751
|
+
return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
|
|
2730
2752
|
switch (this.char()) {
|
|
2731
2753
|
case 125:
|
|
2732
2754
|
return this.bump(), {
|
|
2733
2755
|
val: {
|
|
2734
|
-
type:
|
|
2756
|
+
type: L.argument,
|
|
2735
2757
|
// value does not include the opening and closing braces.
|
|
2736
2758
|
value: n,
|
|
2737
|
-
location:
|
|
2759
|
+
location: P(i, this.clonePosition())
|
|
2738
2760
|
},
|
|
2739
2761
|
err: null
|
|
2740
2762
|
};
|
|
2741
2763
|
case 44:
|
|
2742
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2764
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition())) : this.parseArgumentOptions(r, t, n, i);
|
|
2743
2765
|
default:
|
|
2744
|
-
return this.error(
|
|
2766
|
+
return this.error(S.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
|
|
2745
2767
|
}
|
|
2746
2768
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2747
2769
|
var r = this.clonePosition(), t = this.offset(), i = bt(this.message, t), n = t + i.length;
|
|
2748
2770
|
this.bumpTo(n);
|
|
2749
|
-
var s = this.clonePosition(), u =
|
|
2771
|
+
var s = this.clonePosition(), u = P(r, s);
|
|
2750
2772
|
return { value: i, location: u };
|
|
2751
2773
|
}, e.prototype.parseArgumentOptions = function(r, t, i, n) {
|
|
2752
2774
|
var s, u = this.clonePosition(), a = this.parseIdentifierIfPossible().value, f = this.clonePosition();
|
|
2753
2775
|
switch (a) {
|
|
2754
2776
|
case "":
|
|
2755
|
-
return this.error(
|
|
2777
|
+
return this.error(S.EXPECT_ARGUMENT_TYPE, P(u, f));
|
|
2756
2778
|
case "number":
|
|
2757
2779
|
case "date":
|
|
2758
2780
|
case "time": {
|
|
@@ -2765,42 +2787,42 @@ var Qn = (
|
|
|
2765
2787
|
return m;
|
|
2766
2788
|
var g = zn(m.val);
|
|
2767
2789
|
if (g.length === 0)
|
|
2768
|
-
return this.error(
|
|
2769
|
-
var b =
|
|
2790
|
+
return this.error(S.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
|
|
2791
|
+
var b = P(h, this.clonePosition());
|
|
2770
2792
|
c = { style: g, styleLocation: b };
|
|
2771
2793
|
}
|
|
2772
2794
|
var w = this.tryParseArgumentClose(n);
|
|
2773
2795
|
if (w.err)
|
|
2774
2796
|
return w;
|
|
2775
|
-
var y =
|
|
2797
|
+
var y = P(n, this.clonePosition());
|
|
2776
2798
|
if (c && Ut(c?.style, "::", 0)) {
|
|
2777
|
-
var
|
|
2799
|
+
var A = $n(c.style.slice(2));
|
|
2778
2800
|
if (a === "number") {
|
|
2779
|
-
var m = this.parseNumberSkeletonFromString(
|
|
2801
|
+
var m = this.parseNumberSkeletonFromString(A, c.styleLocation);
|
|
2780
2802
|
return m.err ? m : {
|
|
2781
|
-
val: { type:
|
|
2803
|
+
val: { type: L.number, value: i, location: y, style: m.val },
|
|
2782
2804
|
err: null
|
|
2783
2805
|
};
|
|
2784
2806
|
} else {
|
|
2785
|
-
if (
|
|
2786
|
-
return this.error(
|
|
2787
|
-
var
|
|
2788
|
-
this.locale && (
|
|
2807
|
+
if (A.length === 0)
|
|
2808
|
+
return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
|
|
2809
|
+
var O = A;
|
|
2810
|
+
this.locale && (O = In(A, this.locale));
|
|
2789
2811
|
var g = {
|
|
2790
|
-
type:
|
|
2791
|
-
pattern:
|
|
2812
|
+
type: sr.dateTime,
|
|
2813
|
+
pattern: O,
|
|
2792
2814
|
location: c.styleLocation,
|
|
2793
|
-
parsedOptions: this.shouldParseSkeletons ? Pn(
|
|
2794
|
-
},
|
|
2815
|
+
parsedOptions: this.shouldParseSkeletons ? Pn(O) : {}
|
|
2816
|
+
}, M = a === "date" ? L.date : L.time;
|
|
2795
2817
|
return {
|
|
2796
|
-
val: { type:
|
|
2818
|
+
val: { type: M, value: i, location: y, style: g },
|
|
2797
2819
|
err: null
|
|
2798
2820
|
};
|
|
2799
2821
|
}
|
|
2800
2822
|
}
|
|
2801
2823
|
return {
|
|
2802
2824
|
val: {
|
|
2803
|
-
type: a === "number" ?
|
|
2825
|
+
type: a === "number" ? L.number : a === "date" ? L.date : L.time,
|
|
2804
2826
|
value: i,
|
|
2805
2827
|
location: y,
|
|
2806
2828
|
style: (s = c?.style) !== null && s !== void 0 ? s : null
|
|
@@ -2811,52 +2833,52 @@ var Qn = (
|
|
|
2811
2833
|
case "plural":
|
|
2812
2834
|
case "selectordinal":
|
|
2813
2835
|
case "select": {
|
|
2814
|
-
var
|
|
2836
|
+
var R = this.clonePosition();
|
|
2815
2837
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2816
|
-
return this.error(
|
|
2838
|
+
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, P(R, T({}, R)));
|
|
2817
2839
|
this.bumpSpace();
|
|
2818
|
-
var
|
|
2819
|
-
if (a !== "select" &&
|
|
2840
|
+
var ce = this.parseIdentifierIfPossible(), G = 0;
|
|
2841
|
+
if (a !== "select" && ce.value === "offset") {
|
|
2820
2842
|
if (!this.bumpIf(":"))
|
|
2821
|
-
return this.error(
|
|
2843
|
+
return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
|
|
2822
2844
|
this.bumpSpace();
|
|
2823
|
-
var m = this.tryParseDecimalInteger(
|
|
2845
|
+
var m = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2824
2846
|
if (m.err)
|
|
2825
2847
|
return m;
|
|
2826
|
-
this.bumpSpace(),
|
|
2848
|
+
this.bumpSpace(), ce = this.parseIdentifierIfPossible(), G = m.val;
|
|
2827
2849
|
}
|
|
2828
|
-
var
|
|
2829
|
-
if (
|
|
2830
|
-
return
|
|
2850
|
+
var me = this.tryParsePluralOrSelectOptions(r, a, t, ce);
|
|
2851
|
+
if (me.err)
|
|
2852
|
+
return me;
|
|
2831
2853
|
var w = this.tryParseArgumentClose(n);
|
|
2832
2854
|
if (w.err)
|
|
2833
2855
|
return w;
|
|
2834
|
-
var
|
|
2856
|
+
var U = P(n, this.clonePosition());
|
|
2835
2857
|
return a === "select" ? {
|
|
2836
2858
|
val: {
|
|
2837
|
-
type:
|
|
2859
|
+
type: L.select,
|
|
2838
2860
|
value: i,
|
|
2839
|
-
options: kt(
|
|
2840
|
-
location:
|
|
2861
|
+
options: kt(me.val),
|
|
2862
|
+
location: U
|
|
2841
2863
|
},
|
|
2842
2864
|
err: null
|
|
2843
2865
|
} : {
|
|
2844
2866
|
val: {
|
|
2845
|
-
type:
|
|
2867
|
+
type: L.plural,
|
|
2846
2868
|
value: i,
|
|
2847
|
-
options: kt(
|
|
2869
|
+
options: kt(me.val),
|
|
2848
2870
|
offset: G,
|
|
2849
2871
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2850
|
-
location:
|
|
2872
|
+
location: U
|
|
2851
2873
|
},
|
|
2852
2874
|
err: null
|
|
2853
2875
|
};
|
|
2854
2876
|
}
|
|
2855
2877
|
default:
|
|
2856
|
-
return this.error(
|
|
2878
|
+
return this.error(S.INVALID_ARGUMENT_TYPE, P(u, f));
|
|
2857
2879
|
}
|
|
2858
2880
|
}, e.prototype.tryParseArgumentClose = function(r) {
|
|
2859
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2881
|
+
return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, P(r, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2860
2882
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2861
2883
|
for (var r = 0, t = this.clonePosition(); !this.isEOF(); ) {
|
|
2862
2884
|
var i = this.char();
|
|
@@ -2865,7 +2887,7 @@ var Qn = (
|
|
|
2865
2887
|
this.bump();
|
|
2866
2888
|
var n = this.clonePosition();
|
|
2867
2889
|
if (!this.bumpUntil("'"))
|
|
2868
|
-
return this.error(
|
|
2890
|
+
return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, P(n, this.clonePosition()));
|
|
2869
2891
|
this.bump();
|
|
2870
2892
|
break;
|
|
2871
2893
|
}
|
|
@@ -2897,11 +2919,11 @@ var Qn = (
|
|
|
2897
2919
|
try {
|
|
2898
2920
|
i = Cn(r);
|
|
2899
2921
|
} catch {
|
|
2900
|
-
return this.error(
|
|
2922
|
+
return this.error(S.INVALID_NUMBER_SKELETON, t);
|
|
2901
2923
|
}
|
|
2902
2924
|
return {
|
|
2903
2925
|
val: {
|
|
2904
|
-
type:
|
|
2926
|
+
type: sr.number,
|
|
2905
2927
|
tokens: i,
|
|
2906
2928
|
location: t,
|
|
2907
2929
|
parsedOptions: this.shouldParseSkeletons ? Bn(i) : {}
|
|
@@ -2913,19 +2935,19 @@ var Qn = (
|
|
|
2913
2935
|
if (c.length === 0) {
|
|
2914
2936
|
var m = this.clonePosition();
|
|
2915
2937
|
if (t !== "select" && this.bumpIf("=")) {
|
|
2916
|
-
var g = this.tryParseDecimalInteger(
|
|
2938
|
+
var g = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2917
2939
|
if (g.err)
|
|
2918
2940
|
return g;
|
|
2919
|
-
h =
|
|
2941
|
+
h = P(m, this.clonePosition()), c = this.message.slice(m.offset, this.offset());
|
|
2920
2942
|
} else
|
|
2921
2943
|
break;
|
|
2922
2944
|
}
|
|
2923
2945
|
if (f.has(c))
|
|
2924
|
-
return this.error(t === "select" ?
|
|
2946
|
+
return this.error(t === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
2925
2947
|
c === "other" && (u = !0), this.bumpSpace();
|
|
2926
2948
|
var b = this.clonePosition();
|
|
2927
2949
|
if (!this.bumpIf("{"))
|
|
2928
|
-
return this.error(t === "select" ?
|
|
2950
|
+
return this.error(t === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
|
|
2929
2951
|
var w = this.parseMessage(r + 1, t, i);
|
|
2930
2952
|
if (w.err)
|
|
2931
2953
|
return w;
|
|
@@ -2936,11 +2958,11 @@ var Qn = (
|
|
|
2936
2958
|
c,
|
|
2937
2959
|
{
|
|
2938
2960
|
value: w.val,
|
|
2939
|
-
location:
|
|
2961
|
+
location: P(b, this.clonePosition())
|
|
2940
2962
|
}
|
|
2941
2963
|
]), f.add(c), this.bumpSpace(), s = this.parseIdentifierIfPossible(), c = s.value, h = s.location;
|
|
2942
2964
|
}
|
|
2943
|
-
return a.length === 0 ? this.error(t === "select" ?
|
|
2965
|
+
return a.length === 0 ? this.error(t === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, P(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(S.MISSING_OTHER_CLAUSE, P(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
2944
2966
|
}, e.prototype.tryParseDecimalInteger = function(r, t) {
|
|
2945
2967
|
var i = 1, n = this.clonePosition();
|
|
2946
2968
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
@@ -2951,7 +2973,7 @@ var Qn = (
|
|
|
2951
2973
|
else
|
|
2952
2974
|
break;
|
|
2953
2975
|
}
|
|
2954
|
-
var f =
|
|
2976
|
+
var f = P(n, this.clonePosition());
|
|
2955
2977
|
return s ? (u *= i, jn(u) ? { val: u, err: null } : this.error(t, f)) : this.error(r, f);
|
|
2956
2978
|
}, e.prototype.offset = function() {
|
|
2957
2979
|
return this.position.offset;
|
|
@@ -3038,26 +3060,27 @@ function Et(e) {
|
|
|
3038
3060
|
if (delete r.location, ci(r) || hi(r))
|
|
3039
3061
|
for (var t in r.options)
|
|
3040
3062
|
delete r.options[t].location, Et(r.options[t].value);
|
|
3041
|
-
else
|
|
3063
|
+
else
|
|
3064
|
+
ai(r) && di(r.style) || (li(r) || ui(r)) && mt(r.style) ? delete r.style.location : fi(r) && Et(r.children);
|
|
3042
3065
|
});
|
|
3043
3066
|
}
|
|
3044
3067
|
function qn(e, r) {
|
|
3045
|
-
r === void 0 && (r = {}), r =
|
|
3068
|
+
r === void 0 && (r = {}), r = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
|
|
3046
3069
|
var t = new Qn(e, r).parse();
|
|
3047
3070
|
if (t.err) {
|
|
3048
|
-
var i = SyntaxError(
|
|
3071
|
+
var i = SyntaxError(S[t.err.kind]);
|
|
3049
3072
|
throw i.location = t.err.location, i.originalMessage = t.err.message, i;
|
|
3050
3073
|
}
|
|
3051
3074
|
return r?.captureLocation || Et(t.val), t.val;
|
|
3052
3075
|
}
|
|
3053
|
-
var
|
|
3076
|
+
var or;
|
|
3054
3077
|
(function(e) {
|
|
3055
3078
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3056
|
-
})(
|
|
3057
|
-
var
|
|
3079
|
+
})(or || (or = {}));
|
|
3080
|
+
var Kr = (
|
|
3058
3081
|
/** @class */
|
|
3059
3082
|
function(e) {
|
|
3060
|
-
|
|
3083
|
+
Yr(r, e);
|
|
3061
3084
|
function r(t, i, n) {
|
|
3062
3085
|
var s = e.call(this, t) || this;
|
|
3063
3086
|
return s.code = i, s.originalMessage = n, s;
|
|
@@ -3069,48 +3092,48 @@ var et = (
|
|
|
3069
3092
|
), Dt = (
|
|
3070
3093
|
/** @class */
|
|
3071
3094
|
function(e) {
|
|
3072
|
-
|
|
3095
|
+
Yr(r, e);
|
|
3073
3096
|
function r(t, i, n, s) {
|
|
3074
|
-
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3097
|
+
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), or.INVALID_VALUE, s) || this;
|
|
3075
3098
|
}
|
|
3076
3099
|
return r;
|
|
3077
|
-
}(
|
|
3100
|
+
}(Kr)
|
|
3078
3101
|
), Jn = (
|
|
3079
3102
|
/** @class */
|
|
3080
3103
|
function(e) {
|
|
3081
|
-
|
|
3104
|
+
Yr(r, e);
|
|
3082
3105
|
function r(t, i, n) {
|
|
3083
|
-
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i),
|
|
3106
|
+
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i), or.INVALID_VALUE, n) || this;
|
|
3084
3107
|
}
|
|
3085
3108
|
return r;
|
|
3086
|
-
}(
|
|
3109
|
+
}(Kr)
|
|
3087
3110
|
), Yn = (
|
|
3088
3111
|
/** @class */
|
|
3089
3112
|
function(e) {
|
|
3090
|
-
|
|
3113
|
+
Yr(r, e);
|
|
3091
3114
|
function r(t, i) {
|
|
3092
|
-
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'),
|
|
3115
|
+
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'), or.MISSING_VALUE, i) || this;
|
|
3093
3116
|
}
|
|
3094
3117
|
return r;
|
|
3095
|
-
}(
|
|
3096
|
-
),
|
|
3118
|
+
}(Kr)
|
|
3119
|
+
), z;
|
|
3097
3120
|
(function(e) {
|
|
3098
3121
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3099
|
-
})(
|
|
3122
|
+
})(z || (z = {}));
|
|
3100
3123
|
function Kn(e) {
|
|
3101
3124
|
return e.length < 2 ? e : e.reduce(function(r, t) {
|
|
3102
3125
|
var i = r[r.length - 1];
|
|
3103
|
-
return !i || i.type !==
|
|
3126
|
+
return !i || i.type !== z.literal || t.type !== z.literal ? r.push(t) : i.value += t.value, r;
|
|
3104
3127
|
}, []);
|
|
3105
3128
|
}
|
|
3106
3129
|
function es(e) {
|
|
3107
3130
|
return typeof e == "function";
|
|
3108
3131
|
}
|
|
3109
|
-
function
|
|
3132
|
+
function Xr(e, r, t, i, n, s, u) {
|
|
3110
3133
|
if (e.length === 1 && Ot(e[0]))
|
|
3111
3134
|
return [
|
|
3112
3135
|
{
|
|
3113
|
-
type:
|
|
3136
|
+
type: z.literal,
|
|
3114
3137
|
value: e[0].value
|
|
3115
3138
|
}
|
|
3116
3139
|
];
|
|
@@ -3118,14 +3141,14 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3118
3141
|
var h = c[f];
|
|
3119
3142
|
if (Ot(h)) {
|
|
3120
3143
|
a.push({
|
|
3121
|
-
type:
|
|
3144
|
+
type: z.literal,
|
|
3122
3145
|
value: h.value
|
|
3123
3146
|
});
|
|
3124
3147
|
continue;
|
|
3125
3148
|
}
|
|
3126
3149
|
if (_n(h)) {
|
|
3127
3150
|
typeof s == "number" && a.push({
|
|
3128
|
-
type:
|
|
3151
|
+
type: z.literal,
|
|
3129
3152
|
value: t.getNumberFormat(r).format(s)
|
|
3130
3153
|
});
|
|
3131
3154
|
continue;
|
|
@@ -3136,7 +3159,7 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3136
3159
|
var g = n[m];
|
|
3137
3160
|
if (wn(h)) {
|
|
3138
3161
|
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), a.push({
|
|
3139
|
-
type: typeof g == "string" ?
|
|
3162
|
+
type: typeof g == "string" ? z.literal : z.object,
|
|
3140
3163
|
value: g
|
|
3141
3164
|
});
|
|
3142
3165
|
continue;
|
|
@@ -3144,7 +3167,7 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3144
3167
|
if (li(h)) {
|
|
3145
3168
|
var b = typeof h.style == "string" ? i.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
|
|
3146
3169
|
a.push({
|
|
3147
|
-
type:
|
|
3170
|
+
type: z.literal,
|
|
3148
3171
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3149
3172
|
});
|
|
3150
3173
|
continue;
|
|
@@ -3152,7 +3175,7 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3152
3175
|
if (ui(h)) {
|
|
3153
3176
|
var b = typeof h.style == "string" ? i.time[h.style] : mt(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
3154
3177
|
a.push({
|
|
3155
|
-
type:
|
|
3178
|
+
type: z.literal,
|
|
3156
3179
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3157
3180
|
});
|
|
3158
3181
|
continue;
|
|
@@ -3160,59 +3183,59 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3160
3183
|
if (ai(h)) {
|
|
3161
3184
|
var b = typeof h.style == "string" ? i.number[h.style] : di(h.style) ? h.style.parsedOptions : void 0;
|
|
3162
3185
|
b && b.scale && (g = g * (b.scale || 1)), a.push({
|
|
3163
|
-
type:
|
|
3186
|
+
type: z.literal,
|
|
3164
3187
|
value: t.getNumberFormat(r, b).format(g)
|
|
3165
3188
|
});
|
|
3166
3189
|
continue;
|
|
3167
3190
|
}
|
|
3168
3191
|
if (fi(h)) {
|
|
3169
|
-
var w = h.children, y = h.value,
|
|
3170
|
-
if (!es(
|
|
3192
|
+
var w = h.children, y = h.value, A = n[y];
|
|
3193
|
+
if (!es(A))
|
|
3171
3194
|
throw new Jn(y, "function", u);
|
|
3172
|
-
var
|
|
3195
|
+
var O = Xr(w, r, t, i, n, s), M = A(O.map(function(G) {
|
|
3173
3196
|
return G.value;
|
|
3174
3197
|
}));
|
|
3175
|
-
Array.isArray(
|
|
3198
|
+
Array.isArray(M) || (M = [M]), a.push.apply(a, M.map(function(G) {
|
|
3176
3199
|
return {
|
|
3177
|
-
type: typeof G == "string" ?
|
|
3200
|
+
type: typeof G == "string" ? z.literal : z.object,
|
|
3178
3201
|
value: G
|
|
3179
3202
|
};
|
|
3180
3203
|
}));
|
|
3181
3204
|
}
|
|
3182
3205
|
if (ci(h)) {
|
|
3183
|
-
var
|
|
3184
|
-
if (!
|
|
3206
|
+
var R = h.options[g] || h.options.other;
|
|
3207
|
+
if (!R)
|
|
3185
3208
|
throw new Dt(h.value, g, Object.keys(h.options), u);
|
|
3186
|
-
a.push.apply(a,
|
|
3209
|
+
a.push.apply(a, Xr(R.value, r, t, i, n));
|
|
3187
3210
|
continue;
|
|
3188
3211
|
}
|
|
3189
3212
|
if (hi(h)) {
|
|
3190
|
-
var
|
|
3191
|
-
if (!
|
|
3213
|
+
var R = h.options["=".concat(g)];
|
|
3214
|
+
if (!R) {
|
|
3192
3215
|
if (!Intl.PluralRules)
|
|
3193
|
-
throw new
|
|
3216
|
+
throw new Kr(`Intl.PluralRules is not available in this environment.
|
|
3194
3217
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3195
|
-
`,
|
|
3196
|
-
var
|
|
3197
|
-
|
|
3218
|
+
`, or.MISSING_INTL_API, u);
|
|
3219
|
+
var ce = t.getPluralRules(r, { type: h.pluralType }).select(g - (h.offset || 0));
|
|
3220
|
+
R = h.options[ce] || h.options.other;
|
|
3198
3221
|
}
|
|
3199
|
-
if (!
|
|
3222
|
+
if (!R)
|
|
3200
3223
|
throw new Dt(h.value, g, Object.keys(h.options), u);
|
|
3201
|
-
a.push.apply(a,
|
|
3224
|
+
a.push.apply(a, Xr(R.value, r, t, i, n, g - (h.offset || 0)));
|
|
3202
3225
|
continue;
|
|
3203
3226
|
}
|
|
3204
3227
|
}
|
|
3205
3228
|
return Kn(a);
|
|
3206
3229
|
}
|
|
3207
3230
|
function rs(e, r) {
|
|
3208
|
-
return r ?
|
|
3209
|
-
return t[i] =
|
|
3231
|
+
return r ? T(T(T({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
|
|
3232
|
+
return t[i] = T(T({}, e[i]), r[i] || {}), t;
|
|
3210
3233
|
}, {})) : e;
|
|
3211
3234
|
}
|
|
3212
3235
|
function ts(e, r) {
|
|
3213
3236
|
return r ? Object.keys(e).reduce(function(t, i) {
|
|
3214
3237
|
return t[i] = rs(e[i], r[i]), t;
|
|
3215
|
-
},
|
|
3238
|
+
}, T({}, e)) : e;
|
|
3216
3239
|
}
|
|
3217
3240
|
function ut(e) {
|
|
3218
3241
|
return {
|
|
@@ -3275,11 +3298,11 @@ var ns = (
|
|
|
3275
3298
|
if (c.length === 1)
|
|
3276
3299
|
return c[0].value;
|
|
3277
3300
|
var h = c.reduce(function(m, g) {
|
|
3278
|
-
return !m.length || g.type !==
|
|
3301
|
+
return !m.length || g.type !== z.literal || typeof m[m.length - 1] != "string" ? m.push(g.value) : m[m.length - 1] += g.value, m;
|
|
3279
3302
|
}, []);
|
|
3280
3303
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3281
3304
|
}, this.formatToParts = function(f) {
|
|
3282
|
-
return
|
|
3305
|
+
return Xr(s.ast, s.locales, s.formatters, s.formats, f, void 0, s.message);
|
|
3283
3306
|
}, this.resolvedOptions = function() {
|
|
3284
3307
|
var f;
|
|
3285
3308
|
return {
|
|
@@ -3293,7 +3316,7 @@ var ns = (
|
|
|
3293
3316
|
var u = n || {};
|
|
3294
3317
|
u.formatters;
|
|
3295
3318
|
var a = mn(u, ["formatters"]);
|
|
3296
|
-
this.ast = e.__parse(r,
|
|
3319
|
+
this.ast = e.__parse(r, T(T({}, a), { locale: this.resolvedLocale }));
|
|
3297
3320
|
} else
|
|
3298
3321
|
this.ast = r;
|
|
3299
3322
|
if (!Array.isArray(this.ast))
|
|
@@ -3393,12 +3416,12 @@ function ss(e, r) {
|
|
|
3393
3416
|
i = void 0;
|
|
3394
3417
|
return i;
|
|
3395
3418
|
}
|
|
3396
|
-
const
|
|
3419
|
+
const Ne = {}, os = (e, r, t) => t && (r in Ne || (Ne[r] = {}), e in Ne[r] || (Ne[r][e] = t), t), wi = (e, r) => {
|
|
3397
3420
|
if (r == null)
|
|
3398
3421
|
return;
|
|
3399
|
-
if (r in
|
|
3400
|
-
return
|
|
3401
|
-
const t =
|
|
3422
|
+
if (r in Ne && e in Ne[r])
|
|
3423
|
+
return Ne[r][e];
|
|
3424
|
+
const t = et(r);
|
|
3402
3425
|
for (let i = 0; i < t.length; i++) {
|
|
3403
3426
|
const n = t[i], s = ls(n, e);
|
|
3404
3427
|
if (s)
|
|
@@ -3406,7 +3429,7 @@ const Ie = {}, os = (e, r, t) => t && (r in Ie || (Ie[r] = {}), e in Ie[r] || (I
|
|
|
3406
3429
|
}
|
|
3407
3430
|
};
|
|
3408
3431
|
let xt;
|
|
3409
|
-
const
|
|
3432
|
+
const Cr = Jr({});
|
|
3410
3433
|
function as(e) {
|
|
3411
3434
|
return xt[e] || null;
|
|
3412
3435
|
}
|
|
@@ -3422,7 +3445,7 @@ function ls(e, r) {
|
|
|
3422
3445
|
function us(e) {
|
|
3423
3446
|
if (e == null)
|
|
3424
3447
|
return;
|
|
3425
|
-
const r =
|
|
3448
|
+
const r = et(e);
|
|
3426
3449
|
for (let t = 0; t < r.length; t++) {
|
|
3427
3450
|
const i = r[t];
|
|
3428
3451
|
if (_i(i))
|
|
@@ -3430,28 +3453,28 @@ function us(e) {
|
|
|
3430
3453
|
}
|
|
3431
3454
|
}
|
|
3432
3455
|
function Si(e, ...r) {
|
|
3433
|
-
delete
|
|
3456
|
+
delete Ne[e], Cr.update((t) => (t[e] = dn.all([t[e] || {}, ...r]), t));
|
|
3434
3457
|
}
|
|
3435
|
-
|
|
3436
|
-
[
|
|
3458
|
+
ur(
|
|
3459
|
+
[Cr],
|
|
3437
3460
|
([e]) => Object.keys(e)
|
|
3438
3461
|
);
|
|
3439
|
-
|
|
3440
|
-
const
|
|
3462
|
+
Cr.subscribe((e) => xt = e);
|
|
3463
|
+
const Zr = {};
|
|
3441
3464
|
function cs(e, r) {
|
|
3442
|
-
|
|
3465
|
+
Zr[e].delete(r), Zr[e].size === 0 && delete Zr[e];
|
|
3443
3466
|
}
|
|
3444
3467
|
function Pi(e) {
|
|
3445
|
-
return
|
|
3468
|
+
return Zr[e];
|
|
3446
3469
|
}
|
|
3447
3470
|
function hs(e) {
|
|
3448
|
-
return
|
|
3471
|
+
return et(e).map((r) => {
|
|
3449
3472
|
const t = Pi(r);
|
|
3450
3473
|
return [r, t ? [...t] : []];
|
|
3451
3474
|
}).filter(([, r]) => r.length > 0);
|
|
3452
3475
|
}
|
|
3453
3476
|
function vt(e) {
|
|
3454
|
-
return e == null ? !1 :
|
|
3477
|
+
return e == null ? !1 : et(e).some(
|
|
3455
3478
|
(r) => {
|
|
3456
3479
|
var t;
|
|
3457
3480
|
return (t = Pi(r)) == null ? void 0 : t.size;
|
|
@@ -3463,20 +3486,20 @@ function fs(e, r) {
|
|
|
3463
3486
|
r.map((i) => (cs(e, i), i().then((n) => n.default || n)))
|
|
3464
3487
|
).then((i) => Si(e, ...i));
|
|
3465
3488
|
}
|
|
3466
|
-
const
|
|
3489
|
+
const vr = {};
|
|
3467
3490
|
function xi(e) {
|
|
3468
3491
|
if (!vt(e))
|
|
3469
|
-
return e in
|
|
3492
|
+
return e in vr ? vr[e] : Promise.resolve();
|
|
3470
3493
|
const r = hs(e);
|
|
3471
|
-
return
|
|
3494
|
+
return vr[e] = Promise.all(
|
|
3472
3495
|
r.map(
|
|
3473
3496
|
([t, i]) => fs(t, i)
|
|
3474
3497
|
)
|
|
3475
3498
|
).then(() => {
|
|
3476
3499
|
if (vt(e))
|
|
3477
3500
|
return xi(e);
|
|
3478
|
-
delete
|
|
3479
|
-
}),
|
|
3501
|
+
delete vr[e];
|
|
3502
|
+
}), vr[e];
|
|
3480
3503
|
}
|
|
3481
3504
|
const ds = {
|
|
3482
3505
|
number: {
|
|
@@ -3515,10 +3538,10 @@ const ds = {
|
|
|
3515
3538
|
handleMissingMessage: void 0,
|
|
3516
3539
|
ignoreTag: !0
|
|
3517
3540
|
}, gs = ms;
|
|
3518
|
-
function
|
|
3541
|
+
function ar() {
|
|
3519
3542
|
return gs;
|
|
3520
3543
|
}
|
|
3521
|
-
const ct =
|
|
3544
|
+
const ct = Jr(!1);
|
|
3522
3545
|
var ps = Object.defineProperty, bs = Object.defineProperties, ys = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, Es = Object.prototype.hasOwnProperty, vs = Object.prototype.propertyIsEnumerable, jt = (e, r, t) => r in e ? ps(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, ws = (e, r) => {
|
|
3523
3546
|
for (var t in r || (r = {}))
|
|
3524
3547
|
Es.call(r, t) && jt(e, t, r[t]);
|
|
@@ -3528,112 +3551,112 @@ var ps = Object.defineProperty, bs = Object.defineProperties, ys = Object.getOwn
|
|
|
3528
3551
|
return e;
|
|
3529
3552
|
}, _s = (e, r) => bs(e, ys(r));
|
|
3530
3553
|
let wt;
|
|
3531
|
-
const
|
|
3554
|
+
const Wr = Jr(null);
|
|
3532
3555
|
function Vt(e) {
|
|
3533
3556
|
return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
|
|
3534
3557
|
}
|
|
3535
|
-
function
|
|
3558
|
+
function et(e, r = ar().fallbackLocale) {
|
|
3536
3559
|
const t = Vt(e);
|
|
3537
3560
|
return r ? [.../* @__PURE__ */ new Set([...t, ...Vt(r)])] : t;
|
|
3538
3561
|
}
|
|
3539
3562
|
function Fe() {
|
|
3540
3563
|
return wt ?? void 0;
|
|
3541
3564
|
}
|
|
3542
|
-
|
|
3565
|
+
Wr.subscribe((e) => {
|
|
3543
3566
|
wt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3544
3567
|
});
|
|
3545
3568
|
const Ss = (e) => {
|
|
3546
3569
|
if (e && us(e) && vt(e)) {
|
|
3547
|
-
const { loadingDelay: r } =
|
|
3570
|
+
const { loadingDelay: r } = ar();
|
|
3548
3571
|
let t;
|
|
3549
3572
|
return typeof window < "u" && Fe() != null && r ? t = window.setTimeout(
|
|
3550
3573
|
() => ct.set(!0),
|
|
3551
3574
|
r
|
|
3552
3575
|
) : ct.set(!0), xi(e).then(() => {
|
|
3553
|
-
|
|
3576
|
+
Wr.set(e);
|
|
3554
3577
|
}).finally(() => {
|
|
3555
3578
|
clearTimeout(t), ct.set(!1);
|
|
3556
3579
|
});
|
|
3557
3580
|
}
|
|
3558
|
-
return
|
|
3559
|
-
},
|
|
3581
|
+
return Wr.set(e);
|
|
3582
|
+
}, cr = _s(ws({}, Wr), {
|
|
3560
3583
|
set: Ss
|
|
3561
|
-
}),
|
|
3584
|
+
}), rt = (e) => {
|
|
3562
3585
|
const r = /* @__PURE__ */ Object.create(null);
|
|
3563
3586
|
return (i) => {
|
|
3564
3587
|
const n = JSON.stringify(i);
|
|
3565
3588
|
return n in r ? r[n] : r[n] = e(i);
|
|
3566
3589
|
};
|
|
3567
3590
|
};
|
|
3568
|
-
var Ps = Object.defineProperty,
|
|
3591
|
+
var Ps = Object.defineProperty, qr = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, $t = (e, r, t) => r in e ? Ps(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ct = (e, r) => {
|
|
3569
3592
|
for (var t in r || (r = {}))
|
|
3570
3593
|
Ci.call(r, t) && $t(e, t, r[t]);
|
|
3571
|
-
if (
|
|
3572
|
-
for (var t of
|
|
3594
|
+
if (qr)
|
|
3595
|
+
for (var t of qr(r))
|
|
3573
3596
|
Ai.call(r, t) && $t(e, t, r[t]);
|
|
3574
3597
|
return e;
|
|
3575
|
-
},
|
|
3598
|
+
}, hr = (e, r) => {
|
|
3576
3599
|
var t = {};
|
|
3577
3600
|
for (var i in e)
|
|
3578
3601
|
Ci.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
3579
|
-
if (e != null &&
|
|
3580
|
-
for (var i of
|
|
3602
|
+
if (e != null && qr)
|
|
3603
|
+
for (var i of qr(e))
|
|
3581
3604
|
r.indexOf(i) < 0 && Ai.call(e, i) && (t[i] = e[i]);
|
|
3582
3605
|
return t;
|
|
3583
3606
|
};
|
|
3584
|
-
const
|
|
3585
|
-
const { formats: t } =
|
|
3607
|
+
const xr = (e, r) => {
|
|
3608
|
+
const { formats: t } = ar();
|
|
3586
3609
|
if (e in t && r in t[e])
|
|
3587
3610
|
return t[e][r];
|
|
3588
3611
|
throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
|
|
3589
|
-
}, xs =
|
|
3612
|
+
}, xs = rt(
|
|
3590
3613
|
(e) => {
|
|
3591
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3614
|
+
var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
|
|
3592
3615
|
if (t == null)
|
|
3593
3616
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3594
|
-
return i && (n =
|
|
3617
|
+
return i && (n = xr("number", i)), new Intl.NumberFormat(t, n);
|
|
3595
3618
|
}
|
|
3596
|
-
), Cs =
|
|
3619
|
+
), Cs = rt(
|
|
3597
3620
|
(e) => {
|
|
3598
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3621
|
+
var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
|
|
3599
3622
|
if (t == null)
|
|
3600
3623
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3601
|
-
return i ? n =
|
|
3624
|
+
return i ? n = xr("date", i) : Object.keys(n).length === 0 && (n = xr("date", "short")), new Intl.DateTimeFormat(t, n);
|
|
3602
3625
|
}
|
|
3603
|
-
), As =
|
|
3626
|
+
), As = rt(
|
|
3604
3627
|
(e) => {
|
|
3605
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3628
|
+
var r = e, { locale: t, format: i } = r, n = hr(r, ["locale", "format"]);
|
|
3606
3629
|
if (t == null)
|
|
3607
3630
|
throw new Error(
|
|
3608
3631
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3609
3632
|
);
|
|
3610
|
-
return i ? n =
|
|
3633
|
+
return i ? n = xr("time", i) : Object.keys(n).length === 0 && (n = xr("time", "short")), new Intl.DateTimeFormat(t, n);
|
|
3611
3634
|
}
|
|
3612
3635
|
), Ts = (e = {}) => {
|
|
3613
3636
|
var r = e, {
|
|
3614
3637
|
locale: t = Fe()
|
|
3615
|
-
} = r, i =
|
|
3638
|
+
} = r, i = hr(r, [
|
|
3616
3639
|
"locale"
|
|
3617
3640
|
]);
|
|
3618
3641
|
return xs(Ct({ locale: t }, i));
|
|
3619
3642
|
}, Hs = (e = {}) => {
|
|
3620
3643
|
var r = e, {
|
|
3621
3644
|
locale: t = Fe()
|
|
3622
|
-
} = r, i =
|
|
3645
|
+
} = r, i = hr(r, [
|
|
3623
3646
|
"locale"
|
|
3624
3647
|
]);
|
|
3625
3648
|
return Cs(Ct({ locale: t }, i));
|
|
3626
3649
|
}, Bs = (e = {}) => {
|
|
3627
3650
|
var r = e, {
|
|
3628
3651
|
locale: t = Fe()
|
|
3629
|
-
} = r, i =
|
|
3652
|
+
} = r, i = hr(r, [
|
|
3630
3653
|
"locale"
|
|
3631
3654
|
]);
|
|
3632
3655
|
return As(Ct({ locale: t }, i));
|
|
3633
|
-
}, Is =
|
|
3656
|
+
}, Is = rt(
|
|
3634
3657
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3635
|
-
(e, r = Fe()) => new ns(e, r,
|
|
3636
|
-
ignoreTag:
|
|
3658
|
+
(e, r = Fe()) => new ns(e, r, ar().formats, {
|
|
3659
|
+
ignoreTag: ar().ignoreTag
|
|
3637
3660
|
})
|
|
3638
3661
|
), Ns = (e, r = {}) => {
|
|
3639
3662
|
var t, i, n, s;
|
|
@@ -3650,7 +3673,7 @@ const Ar = (e, r) => {
|
|
|
3650
3673
|
);
|
|
3651
3674
|
let h = wi(e, f);
|
|
3652
3675
|
if (!h)
|
|
3653
|
-
h = (s = (n = (i = (t =
|
|
3676
|
+
h = (s = (n = (i = (t = ar()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: f, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
|
|
3654
3677
|
else if (typeof h != "string")
|
|
3655
3678
|
return console.warn(
|
|
3656
3679
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3667,16 +3690,16 @@ const Ar = (e, r) => {
|
|
|
3667
3690
|
);
|
|
3668
3691
|
}
|
|
3669
3692
|
return m;
|
|
3670
|
-
}, Os = (e, r) => Bs(r).format(e), Ls = (e, r) => Hs(r).format(e), Ms = (e, r) => Ts(r).format(e), Rs = (e, r = Fe()) => wi(e, r), Us =
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3693
|
+
}, Os = (e, r) => Bs(r).format(e), Ls = (e, r) => Hs(r).format(e), Ms = (e, r) => Ts(r).format(e), Rs = (e, r = Fe()) => wi(e, r), Us = ur([cr, Cr], () => Ns);
|
|
3694
|
+
ur([cr], () => Os);
|
|
3695
|
+
ur([cr], () => Ls);
|
|
3696
|
+
ur([cr], () => Ms);
|
|
3697
|
+
ur([cr, Cr], () => Rs);
|
|
3675
3698
|
function zt(e, r) {
|
|
3676
3699
|
Si(e, r);
|
|
3677
3700
|
}
|
|
3678
3701
|
function ks(e) {
|
|
3679
|
-
|
|
3702
|
+
cr.set(e);
|
|
3680
3703
|
}
|
|
3681
3704
|
const Qt = {
|
|
3682
3705
|
en: {
|
|
@@ -3933,7 +3956,30 @@ const Qt = {
|
|
|
3933
3956
|
registerNext: "Next"
|
|
3934
3957
|
}
|
|
3935
3958
|
};
|
|
3936
|
-
function Fs(e) {
|
|
3959
|
+
function Fs(e, r) {
|
|
3960
|
+
if (e) {
|
|
3961
|
+
const t = document.createElement("style");
|
|
3962
|
+
t.innerHTML = r, e.appendChild(t);
|
|
3963
|
+
}
|
|
3964
|
+
}
|
|
3965
|
+
function Ds(e, r) {
|
|
3966
|
+
const t = new URL(r);
|
|
3967
|
+
fetch(t.href).then((i) => i.text()).then((i) => {
|
|
3968
|
+
const n = document.createElement("style");
|
|
3969
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
3970
|
+
}).catch((i) => {
|
|
3971
|
+
console.error("There was an error while trying to load client styling from URL", i);
|
|
3972
|
+
});
|
|
3973
|
+
}
|
|
3974
|
+
function Gs(e, r, t) {
|
|
3975
|
+
if (window.emMessageBus) {
|
|
3976
|
+
const i = document.createElement("style");
|
|
3977
|
+
window.emMessageBus.subscribe(r, (n) => {
|
|
3978
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
3979
|
+
});
|
|
3980
|
+
}
|
|
3981
|
+
}
|
|
3982
|
+
function js(e) {
|
|
3937
3983
|
Bi(e, "svelte-1nn3twh", "input,select{font-family:inherit}.RegisterFormTitle{font-size:var(--emw--font-size-large, 20px);text-transform:uppercase;font-weight:var(--emw--font-weight-light, 300);margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:var(--emw--font-size-small, 14px);margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.PromoCodeContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));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:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.PromoCodeContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border-radius:var(--emw--border-radius-medium, 15px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.EmailContainer input:focus,.UserContainer input:focus,.PasswordContainer input:focus,.ConfirmPasswordContainer input:focus,.PromoCodeContainer input:focus,.SecurityQuestionContainer input:focus,.SecurityAnswerContainer input:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.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--color-error, #F5090A);background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.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, #E1A749))}.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-typography-cotrast, #444444))}.InvalidInput{color:var(--emw--color-error, var(--emw--color-error, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.RegisterStepNext{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);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}");
|
|
3938
3984
|
}
|
|
3939
3985
|
function Xt(e) {
|
|
@@ -3943,18 +3989,18 @@ function Xt(e) {
|
|
|
3943
3989
|
), i;
|
|
3944
3990
|
return {
|
|
3945
3991
|
c() {
|
|
3946
|
-
r = E("p"), i =
|
|
3992
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
3947
3993
|
},
|
|
3948
3994
|
m(n, s) {
|
|
3949
|
-
|
|
3995
|
+
ue(n, r, s), l(r, i);
|
|
3950
3996
|
},
|
|
3951
3997
|
p(n, s) {
|
|
3952
3998
|
s[0] & /*$_*/
|
|
3953
3999
|
1073741824 && t !== (t = /*$_*/
|
|
3954
|
-
n[30]("registerEmailError") + "") &&
|
|
4000
|
+
n[30]("registerEmailError") + "") && D(i, t);
|
|
3955
4001
|
},
|
|
3956
4002
|
d(n) {
|
|
3957
|
-
n &&
|
|
4003
|
+
n && ie(r);
|
|
3958
4004
|
}
|
|
3959
4005
|
};
|
|
3960
4006
|
}
|
|
@@ -3965,58 +4011,58 @@ function Zt(e) {
|
|
|
3965
4011
|
), i;
|
|
3966
4012
|
return {
|
|
3967
4013
|
c() {
|
|
3968
|
-
r = E("p"), i =
|
|
4014
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
3969
4015
|
},
|
|
3970
4016
|
m(n, s) {
|
|
3971
|
-
|
|
4017
|
+
ue(n, r, s), l(r, i);
|
|
3972
4018
|
},
|
|
3973
4019
|
p(n, s) {
|
|
3974
4020
|
s[0] & /*$_*/
|
|
3975
4021
|
1073741824 && t !== (t = /*$_*/
|
|
3976
|
-
n[30]("registerUsernameError") + "") &&
|
|
4022
|
+
n[30]("registerUsernameError") + "") && D(i, t);
|
|
3977
4023
|
},
|
|
3978
4024
|
d(n) {
|
|
3979
|
-
n &&
|
|
4025
|
+
n && ie(r);
|
|
3980
4026
|
}
|
|
3981
4027
|
};
|
|
3982
4028
|
}
|
|
3983
|
-
function
|
|
4029
|
+
function Vs(e) {
|
|
3984
4030
|
let r, t, i, n, s, u, a, f, c;
|
|
3985
4031
|
return {
|
|
3986
4032
|
c() {
|
|
3987
|
-
r =
|
|
4033
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("path"), a = _("circle"), o(u, "class", "a"), o(u, "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(u, "transform", "translate(0)"), o(a, "class", "a"), o(a, "cx", "2.779"), o(a, "cy", "2.779"), o(a, "r", "2.779"), o(a, "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");
|
|
3988
4034
|
},
|
|
3989
4035
|
m(h, m) {
|
|
3990
|
-
|
|
4036
|
+
ue(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), f || (c = x(
|
|
3991
4037
|
r,
|
|
3992
4038
|
"click",
|
|
3993
4039
|
/*click_handler_2*/
|
|
3994
|
-
e[
|
|
4040
|
+
e[62]
|
|
3995
4041
|
), f = !0);
|
|
3996
4042
|
},
|
|
3997
|
-
p:
|
|
4043
|
+
p: Q,
|
|
3998
4044
|
d(h) {
|
|
3999
|
-
h &&
|
|
4045
|
+
h && ie(r), f = !1, c();
|
|
4000
4046
|
}
|
|
4001
4047
|
};
|
|
4002
4048
|
}
|
|
4003
|
-
function
|
|
4049
|
+
function $s(e) {
|
|
4004
4050
|
let r, t, i, n, s, u, a, f, c, h, m, g, b, w, y;
|
|
4005
4051
|
return {
|
|
4006
4052
|
c() {
|
|
4007
|
-
r =
|
|
4053
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("circle"), a = _("g"), f = _("path"), c = _("path"), h = _("g"), m = _("path"), g = _("path"), b = _("rect"), o(u, "class", "a"), o(u, "cx", "0.05"), o(u, "cy", "0.05"), o(u, "r", "0.05"), o(u, "transform", "translate(121.017 31.148)"), o(f, "class", "a"), o(f, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(f, "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(a, "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(h, "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");
|
|
4008
4054
|
},
|
|
4009
|
-
m(
|
|
4010
|
-
|
|
4055
|
+
m(A, O) {
|
|
4056
|
+
ue(A, r, O), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), l(a, f), l(a, c), l(s, h), l(h, m), l(h, g), l(s, b), w || (y = x(
|
|
4011
4057
|
r,
|
|
4012
4058
|
"click",
|
|
4013
4059
|
/*click_handler_1*/
|
|
4014
|
-
e[
|
|
4060
|
+
e[61]
|
|
4015
4061
|
), w = !0);
|
|
4016
4062
|
},
|
|
4017
|
-
p:
|
|
4018
|
-
d(
|
|
4019
|
-
|
|
4063
|
+
p: Q,
|
|
4064
|
+
d(A) {
|
|
4065
|
+
A && ie(r), w = !1, y();
|
|
4020
4066
|
}
|
|
4021
4067
|
};
|
|
4022
4068
|
}
|
|
@@ -4027,18 +4073,18 @@ function Wt(e) {
|
|
|
4027
4073
|
), i;
|
|
4028
4074
|
return {
|
|
4029
4075
|
c() {
|
|
4030
|
-
r = E("p"), i =
|
|
4076
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4031
4077
|
},
|
|
4032
4078
|
m(n, s) {
|
|
4033
|
-
|
|
4079
|
+
ue(n, r, s), l(r, i);
|
|
4034
4080
|
},
|
|
4035
4081
|
p(n, s) {
|
|
4036
4082
|
s[0] & /*$_*/
|
|
4037
4083
|
1073741824 && t !== (t = /*$_*/
|
|
4038
|
-
n[30]("registerPasswordError") + "") &&
|
|
4084
|
+
n[30]("registerPasswordError") + "") && D(i, t);
|
|
4039
4085
|
},
|
|
4040
4086
|
d(n) {
|
|
4041
|
-
n &&
|
|
4087
|
+
n && ie(r);
|
|
4042
4088
|
}
|
|
4043
4089
|
};
|
|
4044
4090
|
}
|
|
@@ -4049,58 +4095,58 @@ function qt(e) {
|
|
|
4049
4095
|
), i;
|
|
4050
4096
|
return {
|
|
4051
4097
|
c() {
|
|
4052
|
-
r = E("p"), i =
|
|
4098
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4053
4099
|
},
|
|
4054
4100
|
m(n, s) {
|
|
4055
|
-
|
|
4101
|
+
ue(n, r, s), l(r, i);
|
|
4056
4102
|
},
|
|
4057
4103
|
p(n, s) {
|
|
4058
4104
|
s[0] & /*$_*/
|
|
4059
4105
|
1073741824 && t !== (t = /*$_*/
|
|
4060
|
-
n[30]("registerSimplePasswordError") + "") &&
|
|
4106
|
+
n[30]("registerSimplePasswordError") + "") && D(i, t);
|
|
4061
4107
|
},
|
|
4062
4108
|
d(n) {
|
|
4063
|
-
n &&
|
|
4109
|
+
n && ie(r);
|
|
4064
4110
|
}
|
|
4065
4111
|
};
|
|
4066
4112
|
}
|
|
4067
|
-
function
|
|
4113
|
+
function zs(e) {
|
|
4068
4114
|
let r, t, i, n, s, u, a, f, c;
|
|
4069
4115
|
return {
|
|
4070
4116
|
c() {
|
|
4071
|
-
r =
|
|
4117
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("path"), a = _("circle"), o(u, "class", "a"), o(u, "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(u, "transform", "translate(0)"), o(a, "class", "a"), o(a, "cx", "2.779"), o(a, "cy", "2.779"), o(a, "r", "2.779"), o(a, "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");
|
|
4072
4118
|
},
|
|
4073
4119
|
m(h, m) {
|
|
4074
|
-
|
|
4120
|
+
ue(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), f || (c = x(
|
|
4075
4121
|
r,
|
|
4076
4122
|
"click",
|
|
4077
4123
|
/*click_handler_4*/
|
|
4078
|
-
e[
|
|
4124
|
+
e[68]
|
|
4079
4125
|
), f = !0);
|
|
4080
4126
|
},
|
|
4081
|
-
p:
|
|
4127
|
+
p: Q,
|
|
4082
4128
|
d(h) {
|
|
4083
|
-
h &&
|
|
4129
|
+
h && ie(r), f = !1, c();
|
|
4084
4130
|
}
|
|
4085
4131
|
};
|
|
4086
4132
|
}
|
|
4087
|
-
function
|
|
4133
|
+
function Qs(e) {
|
|
4088
4134
|
let r, t, i, n, s, u, a, f, c, h, m, g, b, w, y;
|
|
4089
4135
|
return {
|
|
4090
4136
|
c() {
|
|
4091
|
-
r =
|
|
4137
|
+
r = _("svg"), t = _("defs"), i = _("style"), n = H(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = _("g"), u = _("circle"), a = _("g"), f = _("path"), c = _("path"), h = _("g"), m = _("path"), g = _("path"), b = _("rect"), o(u, "class", "a"), o(u, "cx", "0.05"), o(u, "cy", "0.05"), o(u, "r", "0.05"), o(u, "transform", "translate(121.017 31.148)"), o(f, "class", "a"), o(f, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(f, "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(a, "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(h, "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");
|
|
4092
4138
|
},
|
|
4093
|
-
m(
|
|
4094
|
-
|
|
4139
|
+
m(A, O) {
|
|
4140
|
+
ue(A, r, O), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), l(a, f), l(a, c), l(s, h), l(h, m), l(h, g), l(s, b), w || (y = x(
|
|
4095
4141
|
r,
|
|
4096
4142
|
"click",
|
|
4097
4143
|
/*click_handler_3*/
|
|
4098
|
-
e[
|
|
4144
|
+
e[67]
|
|
4099
4145
|
), w = !0);
|
|
4100
4146
|
},
|
|
4101
|
-
p:
|
|
4102
|
-
d(
|
|
4103
|
-
|
|
4147
|
+
p: Q,
|
|
4148
|
+
d(A) {
|
|
4149
|
+
A && ie(r), w = !1, y();
|
|
4104
4150
|
}
|
|
4105
4151
|
};
|
|
4106
4152
|
}
|
|
@@ -4111,18 +4157,18 @@ function Jt(e) {
|
|
|
4111
4157
|
), i;
|
|
4112
4158
|
return {
|
|
4113
4159
|
c() {
|
|
4114
|
-
r = E("p"), i =
|
|
4160
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4115
4161
|
},
|
|
4116
4162
|
m(n, s) {
|
|
4117
|
-
|
|
4163
|
+
ue(n, r, s), l(r, i);
|
|
4118
4164
|
},
|
|
4119
4165
|
p(n, s) {
|
|
4120
4166
|
s[0] & /*$_*/
|
|
4121
4167
|
1073741824 && t !== (t = /*$_*/
|
|
4122
|
-
n[30]("registerConfirmPasswordError") + "") &&
|
|
4168
|
+
n[30]("registerConfirmPasswordError") + "") && D(i, t);
|
|
4123
4169
|
},
|
|
4124
4170
|
d(n) {
|
|
4125
|
-
n &&
|
|
4171
|
+
n && ie(r);
|
|
4126
4172
|
}
|
|
4127
4173
|
};
|
|
4128
4174
|
}
|
|
@@ -4139,10 +4185,10 @@ function Yt(e) {
|
|
|
4139
4185
|
), i;
|
|
4140
4186
|
return {
|
|
4141
4187
|
c() {
|
|
4142
|
-
r = E("p"), i =
|
|
4188
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4143
4189
|
},
|
|
4144
4190
|
m(n, s) {
|
|
4145
|
-
|
|
4191
|
+
ue(n, r, s), l(r, i);
|
|
4146
4192
|
},
|
|
4147
4193
|
p(n, s) {
|
|
4148
4194
|
s[0] & /*custominputtextswitch, $_*/
|
|
@@ -4153,10 +4199,10 @@ function Yt(e) {
|
|
|
4153
4199
|
) : (
|
|
4154
4200
|
/*$_*/
|
|
4155
4201
|
n[30]("registerSecurityQuestionError")
|
|
4156
|
-
)) + "") &&
|
|
4202
|
+
)) + "") && D(i, t);
|
|
4157
4203
|
},
|
|
4158
4204
|
d(n) {
|
|
4159
|
-
n &&
|
|
4205
|
+
n && ie(r);
|
|
4160
4206
|
}
|
|
4161
4207
|
};
|
|
4162
4208
|
}
|
|
@@ -4173,10 +4219,10 @@ function Kt(e) {
|
|
|
4173
4219
|
), i;
|
|
4174
4220
|
return {
|
|
4175
4221
|
c() {
|
|
4176
|
-
r = E("p"), i =
|
|
4222
|
+
r = E("p"), i = H(t), o(r, "class", "InvalidInput");
|
|
4177
4223
|
},
|
|
4178
4224
|
m(n, s) {
|
|
4179
|
-
|
|
4225
|
+
ue(n, r, s), l(r, i);
|
|
4180
4226
|
},
|
|
4181
4227
|
p(n, s) {
|
|
4182
4228
|
s[0] & /*custominputtextswitch, $_*/
|
|
@@ -4187,14 +4233,14 @@ function Kt(e) {
|
|
|
4187
4233
|
) : (
|
|
4188
4234
|
/*$_*/
|
|
4189
4235
|
n[30]("registerSecurityAnswerError")
|
|
4190
|
-
)) + "") &&
|
|
4236
|
+
)) + "") && D(i, t);
|
|
4191
4237
|
},
|
|
4192
4238
|
d(n) {
|
|
4193
|
-
n &&
|
|
4239
|
+
n && ie(r);
|
|
4194
4240
|
}
|
|
4195
4241
|
};
|
|
4196
4242
|
}
|
|
4197
|
-
function
|
|
4243
|
+
function Xs(e) {
|
|
4198
4244
|
let r, t, i, n = (
|
|
4199
4245
|
/*$_*/
|
|
4200
4246
|
e[30]("registerTitle") + ""
|
|
@@ -4204,22 +4250,22 @@ function $s(e) {
|
|
|
4204
4250
|
), c, h, m, g = (
|
|
4205
4251
|
/*$_*/
|
|
4206
4252
|
e[30]("registerSubtitleLogin") + ""
|
|
4207
|
-
), b, w, y,
|
|
4253
|
+
), b, w, y, A, O, M = (
|
|
4208
4254
|
/*$_*/
|
|
4209
4255
|
e[30]("registerEmail") + ""
|
|
4210
|
-
),
|
|
4256
|
+
), R, ce, G, me, U, De, Ce, Ge, k, X, he = (
|
|
4211
4257
|
/*$_*/
|
|
4212
4258
|
e[30]("registerUsername") + ""
|
|
4213
|
-
),
|
|
4259
|
+
), ge, ne, V, Ae, F, Pe, Te, ye, pe, C, Ee, Z = (
|
|
4214
4260
|
/*$_*/
|
|
4215
4261
|
e[30]("registerPassword") + ""
|
|
4216
|
-
),
|
|
4262
|
+
), ve, Ar, Oe, Tr, B, Le, fr, dr, je, Me, Re, mr, j, xe, Ve = (
|
|
4217
4263
|
/*$_*/
|
|
4218
4264
|
e[30]("registerConfirmPassword") + ""
|
|
4219
|
-
),
|
|
4265
|
+
), $e, Hr, He, gr, $, pr, ze, Ue, Br, we, ke, Qe = (
|
|
4220
4266
|
/*$_*/
|
|
4221
4267
|
e[30]("registerPromoCode") + ""
|
|
4222
|
-
),
|
|
4268
|
+
), br, Ir, Nr, se, Or, Xe, Lr, fe, Be, Ze = (
|
|
4223
4269
|
/*custominputtextswitch*/
|
|
4224
4270
|
(e[2] == "true" ? (
|
|
4225
4271
|
/*$_*/
|
|
@@ -4228,7 +4274,7 @@ function $s(e) {
|
|
|
4228
4274
|
/*$_*/
|
|
4229
4275
|
e[30]("registerSecurityQuestion")
|
|
4230
4276
|
)) + ""
|
|
4231
|
-
),
|
|
4277
|
+
), yr, Mr, We, Rr, oe, Ur, qe, kr, de, Ie, Je = (
|
|
4232
4278
|
/*custominputtextswitch*/
|
|
4233
4279
|
(e[2] == "true" ? (
|
|
4234
4280
|
/*$_*/
|
|
@@ -4237,27 +4283,27 @@ function $s(e) {
|
|
|
4237
4283
|
/*$_*/
|
|
4238
4284
|
e[30]("registerSecurityAnswer")
|
|
4239
4285
|
)) + ""
|
|
4240
|
-
),
|
|
4286
|
+
), Er, Fr, Ye, Dr, ae, Gr, Ke, p, N, le = (
|
|
4241
4287
|
/*$_*/
|
|
4242
4288
|
e[30]("registerNext") + ""
|
|
4243
|
-
),
|
|
4289
|
+
), tt, jr, it, At, W = (
|
|
4244
4290
|
/*invalidEmail*/
|
|
4245
4291
|
e[4] && Xt(e)
|
|
4246
|
-
),
|
|
4292
|
+
), q = (
|
|
4247
4293
|
/*invalidName*/
|
|
4248
4294
|
e[5] && Zt(e)
|
|
4249
4295
|
);
|
|
4250
4296
|
function Tt(d, v) {
|
|
4251
4297
|
return (
|
|
4252
4298
|
/*isPasswordVisible*/
|
|
4253
|
-
d[25] ?
|
|
4299
|
+
d[25] ? $s : Vs
|
|
4254
4300
|
);
|
|
4255
4301
|
}
|
|
4256
|
-
let
|
|
4302
|
+
let Vr = Tt(e), _e = Vr(e), J = (
|
|
4257
4303
|
/*invalidPassword*/
|
|
4258
4304
|
e[6] && /*simplepasswordvalidation*/
|
|
4259
4305
|
e[0] !== "true" && Wt(e)
|
|
4260
|
-
),
|
|
4306
|
+
), Y = (
|
|
4261
4307
|
/*invalidPassword*/
|
|
4262
4308
|
e[6] && /*simplepasswordvalidation*/
|
|
4263
4309
|
e[0] === "true" && qt(e)
|
|
@@ -4265,391 +4311,391 @@ function $s(e) {
|
|
|
4265
4311
|
function Ht(d, v) {
|
|
4266
4312
|
return (
|
|
4267
4313
|
/*isConfirmPasswordVisible*/
|
|
4268
|
-
d[26] ?
|
|
4314
|
+
d[26] ? Qs : zs
|
|
4269
4315
|
);
|
|
4270
4316
|
}
|
|
4271
|
-
let
|
|
4317
|
+
let $r = Ht(e), Se = $r(e), K = (
|
|
4272
4318
|
/*invalidConfirmPassword*/
|
|
4273
4319
|
e[7] && Jt(e)
|
|
4274
|
-
),
|
|
4320
|
+
), ee = (
|
|
4275
4321
|
/*invalidSecurityQuestion*/
|
|
4276
4322
|
e[8] && Yt(e)
|
|
4277
|
-
),
|
|
4323
|
+
), re = (
|
|
4278
4324
|
/*invalidSecurityAnswer*/
|
|
4279
4325
|
e[9] && Kt(e)
|
|
4280
4326
|
);
|
|
4281
4327
|
return {
|
|
4282
4328
|
c() {
|
|
4283
|
-
r = E("div"), t = E("div"), i = E("h2"), s =
|
|
4329
|
+
r = E("div"), t = E("div"), i = E("h2"), s = H(n), u = I(), a = E("p"), c = H(f), h = I(), m = E("span"), b = H(g), w = I(), y = E("form"), A = E("div"), O = E("label"), R = H(M), ce = H(":"), G = E("span"), G.textContent = "*", me = I(), U = E("input"), De = I(), W && W.c(), Ge = I(), k = E("div"), X = E("label"), ge = H(he), ne = H(":"), V = E("span"), V.textContent = "*", Ae = I(), F = E("input"), Te = I(), q && q.c(), pe = I(), C = E("div"), Ee = E("label"), ve = H(Z), Ar = H(":"), Oe = E("span"), Oe.textContent = "*", Tr = I(), B = E("input"), fr = I(), _e.c(), dr = I(), J && J.c(), je = I(), Y && Y.c(), mr = I(), j = E("div"), xe = E("label"), $e = H(Ve), Hr = H(":"), He = E("span"), He.textContent = "*", gr = I(), $ = E("input"), pr = I(), Se.c(), ze = I(), K && K.c(), Br = I(), we = E("div"), ke = E("label"), br = H(Qe), Ir = H(":"), Nr = I(), se = E("input"), Or = I(), Lr = I(), fe = E("div"), Be = E("label"), yr = H(Ze), Mr = H(":"), We = E("span"), We.textContent = "*", Rr = I(), oe = E("input"), Ur = I(), ee && ee.c(), kr = I(), de = E("div"), Ie = E("label"), Er = H(Je), Fr = H(":"), Ye = E("span"), Ye.textContent = "*", Dr = I(), ae = E("input"), Gr = I(), re && re.c(), p = I(), N = E("button"), tt = H(le), o(i, "class", "RegisterFormTitle"), o(m, "class", "FormLoginCallToAction"), o(a, "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", Ce = "EmailContainer " + /*invalidEmail*/
|
|
4284
4330
|
(e[4] && !/*emailFocus*/
|
|
4285
4331
|
e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4286
|
-
(e[17]?.indexOf("email") >= 0 ? "Hidden" : "")), o(
|
|
4287
|
-
e[1] ? "username" : "off"), o(
|
|
4332
|
+
(e[17]?.indexOf("email") >= 0 ? "Hidden" : "")), o(V, "class", "FormRequired"), o(X, "for", "UserName"), o(F, "type", "text"), o(F, "id", "UserName"), o(F, "autocomplete", Pe = /*savecredentials*/
|
|
4333
|
+
e[1] ? "username" : "off"), o(k, "class", ye = "UserContainer " + /*invalidName*/
|
|
4288
4334
|
(e[5] && !/*usernameFocus*/
|
|
4289
4335
|
e[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4290
|
-
(e[17]?.indexOf("username") >= 0 ? "Hidden" : "")), o(
|
|
4291
|
-
e[1] ? "new-password" : "off"), o(
|
|
4336
|
+
(e[17]?.indexOf("username") >= 0 ? "Hidden" : "")), o(Oe, "class", "FormRequired"), o(Ee, "for", "Password"), o(B, "name", "new-password"), o(B, "type", "password"), o(B, "id", "new-password"), o(B, "autocomplete", Le = /*savecredentials*/
|
|
4337
|
+
e[1] ? "new-password" : "off"), o(B, "aria-describedby", "password-constraints"), o(C, "class", Me = "PasswordContainer " + /*invalidPassword*/
|
|
4292
4338
|
(e[6] && !/*passwordFocus*/
|
|
4293
4339
|
e[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4294
|
-
(e[17]?.indexOf("password") >= 0 ? "Hidden" : "")),
|
|
4295
|
-
e[17]?.indexOf("password") >= 0, o(
|
|
4340
|
+
(e[17]?.indexOf("password") >= 0 ? "Hidden" : "")), C.hidden = Re = /*disabledFieldsList*/
|
|
4341
|
+
e[17]?.indexOf("password") >= 0, o(He, "class", "FormRequired"), o(xe, "for", "ConfirmPassword"), o($, "type", "password"), o($, "id", "ConfirmPassword"), o(j, "class", Ue = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4296
4342
|
(e[7] && !/*confirmPasswordFocus*/
|
|
4297
4343
|
e[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4298
|
-
(e[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")), o(ke, "for", "PromoCode"), o(
|
|
4299
|
-
(e[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")), o(
|
|
4344
|
+
(e[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")), o(ke, "for", "PromoCode"), o(se, "type", "text"), o(se, "id", "PromoCode"), o(we, "class", Xe = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4345
|
+
(e[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")), o(We, "class", "FormRequired"), o(Be, "for", "SecurityQuestion"), o(oe, "type", "text"), o(oe, "id", "SecurityQuestion"), o(fe, "class", qe = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4300
4346
|
(e[8] && !/*securityQFocus*/
|
|
4301
4347
|
e[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4302
|
-
(e[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")), o(
|
|
4348
|
+
(e[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")), o(Ye, "class", "FormRequired"), o(Ie, "for", "SecurityAnswer"), o(ae, "type", "text"), o(ae, "id", "SecurityAnswer"), o(de, "class", Ke = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4303
4349
|
(e[9] && !/*securityAFocus*/
|
|
4304
4350
|
e[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4305
|
-
(e[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")), o(
|
|
4351
|
+
(e[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")), o(N, "class", "RegisterStepNext"), N.disabled = jr = !/*isValid*/
|
|
4306
4352
|
e[29], o(y, "class", "RegisterFormContent");
|
|
4307
4353
|
},
|
|
4308
4354
|
m(d, v) {
|
|
4309
|
-
|
|
4310
|
-
|
|
4355
|
+
ue(d, r, v), l(r, t), l(t, i), l(i, s), l(t, u), l(t, a), l(a, c), l(a, h), l(a, m), l(m, b), l(r, w), l(r, y), l(y, A), l(A, O), l(O, R), l(O, ce), l(O, G), l(A, me), l(A, U), te(
|
|
4356
|
+
U,
|
|
4311
4357
|
/*userEmail*/
|
|
4312
4358
|
e[19]
|
|
4313
|
-
), l(
|
|
4314
|
-
|
|
4359
|
+
), l(A, De), W && W.m(A, null), l(y, Ge), l(y, k), l(k, X), l(X, ge), l(X, ne), l(X, V), l(k, Ae), l(k, F), te(
|
|
4360
|
+
F,
|
|
4315
4361
|
/*userValue*/
|
|
4316
4362
|
e[18]
|
|
4317
|
-
), l(
|
|
4318
|
-
|
|
4363
|
+
), l(k, Te), q && q.m(k, null), l(y, pe), l(y, C), l(C, Ee), l(Ee, ve), l(Ee, Ar), l(Ee, Oe), l(C, Tr), l(C, B), te(
|
|
4364
|
+
B,
|
|
4319
4365
|
/*userPassword*/
|
|
4320
4366
|
e[20]
|
|
4321
|
-
), e[
|
|
4322
|
-
|
|
4367
|
+
), e[60](B), l(C, fr), _e.m(C, null), l(C, dr), J && J.m(C, null), l(C, je), Y && Y.m(C, null), l(y, mr), l(y, j), l(j, xe), l(xe, $e), l(xe, Hr), l(xe, He), l(j, gr), l(j, $), te(
|
|
4368
|
+
$,
|
|
4323
4369
|
/*confirmUserPassword*/
|
|
4324
4370
|
e[21]
|
|
4325
|
-
), e[
|
|
4326
|
-
|
|
4371
|
+
), e[66]($), l(j, pr), Se.m(j, null), l(j, ze), K && K.m(j, null), l(y, Br), l(y, we), l(we, ke), l(ke, br), l(ke, Ir), l(we, Nr), l(we, se), te(
|
|
4372
|
+
se,
|
|
4327
4373
|
/*promoCode*/
|
|
4328
4374
|
e[24]
|
|
4329
|
-
), l(
|
|
4330
|
-
|
|
4375
|
+
), l(we, Or), l(y, Lr), l(y, fe), l(fe, Be), l(Be, yr), l(Be, Mr), l(Be, We), l(fe, Rr), l(fe, oe), te(
|
|
4376
|
+
oe,
|
|
4331
4377
|
/*securityQuestion*/
|
|
4332
4378
|
e[22]
|
|
4333
|
-
), l(
|
|
4334
|
-
|
|
4379
|
+
), l(fe, Ur), ee && ee.m(fe, null), l(y, kr), l(y, de), l(de, Ie), l(Ie, Er), l(Ie, Fr), l(Ie, Ye), l(de, Dr), l(de, ae), te(
|
|
4380
|
+
ae,
|
|
4335
4381
|
/*securityAnswer*/
|
|
4336
4382
|
e[23]
|
|
4337
|
-
), l(
|
|
4338
|
-
|
|
4383
|
+
), l(de, Gr), re && re.m(de, null), l(y, p), l(y, N), l(N, tt), e[79](r), it || (At = [
|
|
4384
|
+
x(
|
|
4339
4385
|
m,
|
|
4340
4386
|
"click",
|
|
4341
4387
|
/*click_handler*/
|
|
4342
|
-
e[
|
|
4388
|
+
e[50]
|
|
4343
4389
|
),
|
|
4344
|
-
|
|
4345
|
-
|
|
4390
|
+
x(
|
|
4391
|
+
U,
|
|
4346
4392
|
"input",
|
|
4347
4393
|
/*input0_input_handler*/
|
|
4348
|
-
e[
|
|
4394
|
+
e[51]
|
|
4349
4395
|
),
|
|
4350
|
-
|
|
4351
|
-
|
|
4396
|
+
x(
|
|
4397
|
+
U,
|
|
4352
4398
|
"keyup",
|
|
4353
4399
|
/*checkEmailIdentifier*/
|
|
4354
4400
|
e[32]
|
|
4355
4401
|
),
|
|
4356
|
-
|
|
4357
|
-
|
|
4402
|
+
x(
|
|
4403
|
+
U,
|
|
4358
4404
|
"focus",
|
|
4359
4405
|
/*focus_handler*/
|
|
4360
|
-
e[
|
|
4406
|
+
e[52]
|
|
4361
4407
|
),
|
|
4362
|
-
|
|
4363
|
-
|
|
4408
|
+
x(
|
|
4409
|
+
U,
|
|
4364
4410
|
"blur",
|
|
4365
4411
|
/*blur_handler*/
|
|
4366
|
-
e[
|
|
4412
|
+
e[53]
|
|
4367
4413
|
),
|
|
4368
|
-
|
|
4369
|
-
|
|
4414
|
+
x(
|
|
4415
|
+
F,
|
|
4370
4416
|
"input",
|
|
4371
4417
|
/*input1_input_handler*/
|
|
4372
|
-
e[
|
|
4418
|
+
e[54]
|
|
4373
4419
|
),
|
|
4374
|
-
|
|
4375
|
-
|
|
4420
|
+
x(
|
|
4421
|
+
F,
|
|
4376
4422
|
"keyup",
|
|
4377
4423
|
/*checkUserIdentifier*/
|
|
4378
4424
|
e[33]
|
|
4379
4425
|
),
|
|
4380
|
-
|
|
4381
|
-
|
|
4426
|
+
x(
|
|
4427
|
+
F,
|
|
4382
4428
|
"focus",
|
|
4383
4429
|
/*focus_handler_1*/
|
|
4384
|
-
e[
|
|
4430
|
+
e[55]
|
|
4385
4431
|
),
|
|
4386
|
-
|
|
4387
|
-
|
|
4432
|
+
x(
|
|
4433
|
+
F,
|
|
4388
4434
|
"blur",
|
|
4389
4435
|
/*blur_handler_1*/
|
|
4390
|
-
e[
|
|
4436
|
+
e[56]
|
|
4391
4437
|
),
|
|
4392
|
-
|
|
4393
|
-
|
|
4438
|
+
x(
|
|
4439
|
+
B,
|
|
4394
4440
|
"input",
|
|
4395
4441
|
/*input2_input_handler*/
|
|
4396
|
-
e[
|
|
4442
|
+
e[57]
|
|
4397
4443
|
),
|
|
4398
|
-
|
|
4399
|
-
|
|
4444
|
+
x(
|
|
4445
|
+
B,
|
|
4400
4446
|
"keyup",
|
|
4401
4447
|
/*validatePassword*/
|
|
4402
4448
|
e[38]
|
|
4403
4449
|
),
|
|
4404
|
-
|
|
4405
|
-
|
|
4450
|
+
x(
|
|
4451
|
+
B,
|
|
4406
4452
|
"focus",
|
|
4407
4453
|
/*focus_handler_2*/
|
|
4408
|
-
e[
|
|
4454
|
+
e[58]
|
|
4409
4455
|
),
|
|
4410
|
-
|
|
4411
|
-
|
|
4456
|
+
x(
|
|
4457
|
+
B,
|
|
4412
4458
|
"blur",
|
|
4413
4459
|
/*blur_handler_2*/
|
|
4414
|
-
e[
|
|
4460
|
+
e[59]
|
|
4415
4461
|
),
|
|
4416
|
-
|
|
4417
|
-
|
|
4462
|
+
x(
|
|
4463
|
+
$,
|
|
4418
4464
|
"input",
|
|
4419
4465
|
/*input3_input_handler*/
|
|
4420
|
-
e[
|
|
4466
|
+
e[63]
|
|
4421
4467
|
),
|
|
4422
|
-
|
|
4423
|
-
|
|
4468
|
+
x(
|
|
4469
|
+
$,
|
|
4424
4470
|
"keyup",
|
|
4425
4471
|
/*validateConfirmPassword*/
|
|
4426
4472
|
e[39]
|
|
4427
4473
|
),
|
|
4428
|
-
|
|
4429
|
-
|
|
4474
|
+
x(
|
|
4475
|
+
$,
|
|
4430
4476
|
"focus",
|
|
4431
4477
|
/*focus_handler_3*/
|
|
4432
|
-
e[
|
|
4478
|
+
e[64]
|
|
4433
4479
|
),
|
|
4434
|
-
|
|
4435
|
-
|
|
4480
|
+
x(
|
|
4481
|
+
$,
|
|
4436
4482
|
"blur",
|
|
4437
4483
|
/*blur_handler_3*/
|
|
4438
|
-
e[
|
|
4484
|
+
e[65]
|
|
4439
4485
|
),
|
|
4440
|
-
|
|
4441
|
-
|
|
4486
|
+
x(
|
|
4487
|
+
se,
|
|
4442
4488
|
"input",
|
|
4443
4489
|
/*input4_input_handler*/
|
|
4444
|
-
e[
|
|
4490
|
+
e[69]
|
|
4445
4491
|
),
|
|
4446
|
-
|
|
4447
|
-
|
|
4492
|
+
x(
|
|
4493
|
+
se,
|
|
4448
4494
|
"keyup",
|
|
4449
4495
|
/*checkPromoCode*/
|
|
4450
4496
|
e[40]
|
|
4451
4497
|
),
|
|
4452
|
-
|
|
4453
|
-
|
|
4498
|
+
x(
|
|
4499
|
+
se,
|
|
4454
4500
|
"focus",
|
|
4455
4501
|
/*focus_handler_4*/
|
|
4456
|
-
e[
|
|
4502
|
+
e[70]
|
|
4457
4503
|
),
|
|
4458
|
-
|
|
4459
|
-
|
|
4504
|
+
x(
|
|
4505
|
+
se,
|
|
4460
4506
|
"blur",
|
|
4461
4507
|
/*blur_handler_4*/
|
|
4462
|
-
e[
|
|
4508
|
+
e[71]
|
|
4463
4509
|
),
|
|
4464
|
-
|
|
4465
|
-
|
|
4510
|
+
x(
|
|
4511
|
+
oe,
|
|
4466
4512
|
"input",
|
|
4467
4513
|
/*input5_input_handler*/
|
|
4468
|
-
e[
|
|
4514
|
+
e[72]
|
|
4469
4515
|
),
|
|
4470
|
-
|
|
4471
|
-
|
|
4516
|
+
x(
|
|
4517
|
+
oe,
|
|
4472
4518
|
"keyup",
|
|
4473
4519
|
/*checkSecurityQuestion*/
|
|
4474
4520
|
e[41]
|
|
4475
4521
|
),
|
|
4476
|
-
|
|
4477
|
-
|
|
4522
|
+
x(
|
|
4523
|
+
oe,
|
|
4478
4524
|
"focus",
|
|
4479
4525
|
/*focus_handler_5*/
|
|
4480
|
-
e[
|
|
4526
|
+
e[73]
|
|
4481
4527
|
),
|
|
4482
|
-
|
|
4483
|
-
|
|
4528
|
+
x(
|
|
4529
|
+
oe,
|
|
4484
4530
|
"blur",
|
|
4485
4531
|
/*blur_handler_5*/
|
|
4486
|
-
e[
|
|
4532
|
+
e[74]
|
|
4487
4533
|
),
|
|
4488
|
-
|
|
4489
|
-
|
|
4534
|
+
x(
|
|
4535
|
+
ae,
|
|
4490
4536
|
"input",
|
|
4491
4537
|
/*input6_input_handler*/
|
|
4492
|
-
e[
|
|
4538
|
+
e[75]
|
|
4493
4539
|
),
|
|
4494
|
-
|
|
4495
|
-
|
|
4540
|
+
x(
|
|
4541
|
+
ae,
|
|
4496
4542
|
"keyup",
|
|
4497
4543
|
/*checkSecurityAnswer*/
|
|
4498
4544
|
e[42]
|
|
4499
4545
|
),
|
|
4500
|
-
|
|
4501
|
-
|
|
4546
|
+
x(
|
|
4547
|
+
ae,
|
|
4502
4548
|
"focus",
|
|
4503
4549
|
/*focus_handler_6*/
|
|
4504
|
-
e[
|
|
4550
|
+
e[76]
|
|
4505
4551
|
),
|
|
4506
|
-
|
|
4507
|
-
|
|
4552
|
+
x(
|
|
4553
|
+
ae,
|
|
4508
4554
|
"blur",
|
|
4509
4555
|
/*blur_handler_6*/
|
|
4510
|
-
e[
|
|
4556
|
+
e[77]
|
|
4511
4557
|
),
|
|
4512
|
-
|
|
4513
|
-
|
|
4558
|
+
x(
|
|
4559
|
+
N,
|
|
4514
4560
|
"click",
|
|
4515
4561
|
/*click_handler_5*/
|
|
4516
|
-
e[
|
|
4562
|
+
e[78]
|
|
4517
4563
|
)
|
|
4518
4564
|
], it = !0);
|
|
4519
4565
|
},
|
|
4520
4566
|
p(d, v) {
|
|
4521
4567
|
v[0] & /*$_*/
|
|
4522
4568
|
1073741824 && n !== (n = /*$_*/
|
|
4523
|
-
d[30]("registerTitle") + "") &&
|
|
4569
|
+
d[30]("registerTitle") + "") && D(s, n), v[0] & /*$_*/
|
|
4524
4570
|
1073741824 && f !== (f = /*$_*/
|
|
4525
|
-
d[30]("registerSubtitle") + "") &&
|
|
4571
|
+
d[30]("registerSubtitle") + "") && D(c, f), v[0] & /*$_*/
|
|
4526
4572
|
1073741824 && g !== (g = /*$_*/
|
|
4527
|
-
d[30]("registerSubtitleLogin") + "") &&
|
|
4528
|
-
1073741824 &&
|
|
4529
|
-
d[30]("registerEmail") + "") &&
|
|
4530
|
-
524288 &&
|
|
4531
|
-
d[19] &&
|
|
4532
|
-
|
|
4573
|
+
d[30]("registerSubtitleLogin") + "") && D(b, g), v[0] & /*$_*/
|
|
4574
|
+
1073741824 && M !== (M = /*$_*/
|
|
4575
|
+
d[30]("registerEmail") + "") && D(R, M), v[0] & /*userEmail*/
|
|
4576
|
+
524288 && U.value !== /*userEmail*/
|
|
4577
|
+
d[19] && te(
|
|
4578
|
+
U,
|
|
4533
4579
|
/*userEmail*/
|
|
4534
4580
|
d[19]
|
|
4535
4581
|
), /*invalidEmail*/
|
|
4536
|
-
d[4] ?
|
|
4582
|
+
d[4] ? W ? W.p(d, v) : (W = Xt(d), W.c(), W.m(A, null)) : W && (W.d(1), W = null), v[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
|
|
4537
4583
|
132112 && Ce !== (Ce = "EmailContainer " + /*invalidEmail*/
|
|
4538
4584
|
(d[4] && !/*emailFocus*/
|
|
4539
4585
|
d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4540
|
-
(d[17]?.indexOf("email") >= 0 ? "Hidden" : "")) && o(
|
|
4541
|
-
1073741824 &&
|
|
4542
|
-
d[30]("registerUsername") + "") &&
|
|
4543
|
-
2 &&
|
|
4544
|
-
d[1] ? "username" : "off") && o(
|
|
4545
|
-
262144 &&
|
|
4546
|
-
d[18] &&
|
|
4547
|
-
|
|
4586
|
+
(d[17]?.indexOf("email") >= 0 ? "Hidden" : "")) && o(A, "class", Ce), v[0] & /*$_*/
|
|
4587
|
+
1073741824 && he !== (he = /*$_*/
|
|
4588
|
+
d[30]("registerUsername") + "") && D(ge, he), v[0] & /*savecredentials*/
|
|
4589
|
+
2 && Pe !== (Pe = /*savecredentials*/
|
|
4590
|
+
d[1] ? "username" : "off") && o(F, "autocomplete", Pe), v[0] & /*userValue*/
|
|
4591
|
+
262144 && F.value !== /*userValue*/
|
|
4592
|
+
d[18] && te(
|
|
4593
|
+
F,
|
|
4548
4594
|
/*userValue*/
|
|
4549
4595
|
d[18]
|
|
4550
4596
|
), /*invalidName*/
|
|
4551
|
-
d[5] ?
|
|
4552
|
-
133152 &&
|
|
4597
|
+
d[5] ? q ? q.p(d, v) : (q = Zt(d), q.c(), q.m(k, null)) : q && (q.d(1), q = null), v[0] & /*invalidName, usernameFocus, disabledFieldsList*/
|
|
4598
|
+
133152 && ye !== (ye = "UserContainer " + /*invalidName*/
|
|
4553
4599
|
(d[5] && !/*usernameFocus*/
|
|
4554
4600
|
d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4555
|
-
(d[17]?.indexOf("username") >= 0 ? "Hidden" : "")) && o(
|
|
4556
|
-
1073741824 &&
|
|
4557
|
-
d[30]("registerPassword") + "") &&
|
|
4558
|
-
2 &&
|
|
4559
|
-
d[1] ? "new-password" : "off") && o(
|
|
4560
|
-
1048576 &&
|
|
4561
|
-
d[20] &&
|
|
4562
|
-
|
|
4601
|
+
(d[17]?.indexOf("username") >= 0 ? "Hidden" : "")) && o(k, "class", ye), v[0] & /*$_*/
|
|
4602
|
+
1073741824 && Z !== (Z = /*$_*/
|
|
4603
|
+
d[30]("registerPassword") + "") && D(ve, Z), v[0] & /*savecredentials*/
|
|
4604
|
+
2 && Le !== (Le = /*savecredentials*/
|
|
4605
|
+
d[1] ? "new-password" : "off") && o(B, "autocomplete", Le), v[0] & /*userPassword*/
|
|
4606
|
+
1048576 && B.value !== /*userPassword*/
|
|
4607
|
+
d[20] && te(
|
|
4608
|
+
B,
|
|
4563
4609
|
/*userPassword*/
|
|
4564
4610
|
d[20]
|
|
4565
|
-
),
|
|
4611
|
+
), Vr === (Vr = Tt(d)) && _e ? _e.p(d, v) : (_e.d(1), _e = Vr(d), _e && (_e.c(), _e.m(C, dr))), /*invalidPassword*/
|
|
4566
4612
|
d[6] && /*simplepasswordvalidation*/
|
|
4567
|
-
d[0] !== "true" ?
|
|
4613
|
+
d[0] !== "true" ? J ? J.p(d, v) : (J = Wt(d), J.c(), J.m(C, je)) : J && (J.d(1), J = null), /*invalidPassword*/
|
|
4568
4614
|
d[6] && /*simplepasswordvalidation*/
|
|
4569
|
-
d[0] === "true" ?
|
|
4570
|
-
135232 &&
|
|
4615
|
+
d[0] === "true" ? Y ? Y.p(d, v) : (Y = qt(d), Y.c(), Y.m(C, null)) : Y && (Y.d(1), Y = null), v[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
|
|
4616
|
+
135232 && Me !== (Me = "PasswordContainer " + /*invalidPassword*/
|
|
4571
4617
|
(d[6] && !/*passwordFocus*/
|
|
4572
4618
|
d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4573
|
-
(d[17]?.indexOf("password") >= 0 ? "Hidden" : "")) && o(
|
|
4574
|
-
131072 &&
|
|
4575
|
-
d[17]?.indexOf("password") >= 0) && (
|
|
4576
|
-
1073741824 &&
|
|
4577
|
-
d[30]("registerConfirmPassword") + "") &&
|
|
4578
|
-
2097152 &&
|
|
4579
|
-
d[21] &&
|
|
4580
|
-
|
|
4619
|
+
(d[17]?.indexOf("password") >= 0 ? "Hidden" : "")) && o(C, "class", Me), v[0] & /*disabledFieldsList*/
|
|
4620
|
+
131072 && Re !== (Re = /*disabledFieldsList*/
|
|
4621
|
+
d[17]?.indexOf("password") >= 0) && (C.hidden = Re), v[0] & /*$_*/
|
|
4622
|
+
1073741824 && Ve !== (Ve = /*$_*/
|
|
4623
|
+
d[30]("registerConfirmPassword") + "") && D($e, Ve), v[0] & /*confirmUserPassword*/
|
|
4624
|
+
2097152 && $.value !== /*confirmUserPassword*/
|
|
4625
|
+
d[21] && te(
|
|
4626
|
+
$,
|
|
4581
4627
|
/*confirmUserPassword*/
|
|
4582
4628
|
d[21]
|
|
4583
|
-
),
|
|
4584
|
-
d[7] ?
|
|
4585
|
-
139392 &&
|
|
4629
|
+
), $r === ($r = Ht(d)) && Se ? Se.p(d, v) : (Se.d(1), Se = $r(d), Se && (Se.c(), Se.m(j, ze))), /*invalidConfirmPassword*/
|
|
4630
|
+
d[7] ? K ? K.p(d, v) : (K = Jt(d), K.c(), K.m(j, null)) : K && (K.d(1), K = null), v[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
|
|
4631
|
+
139392 && Ue !== (Ue = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4586
4632
|
(d[7] && !/*confirmPasswordFocus*/
|
|
4587
4633
|
d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4588
|
-
(d[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")) && o(j, "class",
|
|
4589
|
-
1073741824 &&
|
|
4590
|
-
d[30]("registerPromoCode") + "") &&
|
|
4591
|
-
16777216 &&
|
|
4592
|
-
d[24] &&
|
|
4593
|
-
|
|
4634
|
+
(d[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")) && o(j, "class", Ue), v[0] & /*$_*/
|
|
4635
|
+
1073741824 && Qe !== (Qe = /*$_*/
|
|
4636
|
+
d[30]("registerPromoCode") + "") && D(br, Qe), v[0] & /*promoCode*/
|
|
4637
|
+
16777216 && se.value !== /*promoCode*/
|
|
4638
|
+
d[24] && te(
|
|
4639
|
+
se,
|
|
4594
4640
|
/*promoCode*/
|
|
4595
4641
|
d[24]
|
|
4596
4642
|
), v[0] & /*disabledFieldsList*/
|
|
4597
|
-
131072 &&
|
|
4598
|
-
(d[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")) && o(
|
|
4599
|
-
1073741828 &&
|
|
4643
|
+
131072 && Xe !== (Xe = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4644
|
+
(d[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")) && o(we, "class", Xe), v[0] & /*custominputtextswitch, $_*/
|
|
4645
|
+
1073741828 && Ze !== (Ze = /*custominputtextswitch*/
|
|
4600
4646
|
(d[2] == "true" ? (
|
|
4601
4647
|
/*$_*/
|
|
4602
4648
|
d[30]("registerSecurityQuestion2")
|
|
4603
4649
|
) : (
|
|
4604
4650
|
/*$_*/
|
|
4605
4651
|
d[30]("registerSecurityQuestion")
|
|
4606
|
-
)) + "") &&
|
|
4607
|
-
4194304 &&
|
|
4608
|
-
d[22] &&
|
|
4609
|
-
|
|
4652
|
+
)) + "") && D(yr, Ze), v[0] & /*securityQuestion*/
|
|
4653
|
+
4194304 && oe.value !== /*securityQuestion*/
|
|
4654
|
+
d[22] && te(
|
|
4655
|
+
oe,
|
|
4610
4656
|
/*securityQuestion*/
|
|
4611
4657
|
d[22]
|
|
4612
4658
|
), /*invalidSecurityQuestion*/
|
|
4613
|
-
d[8] ?
|
|
4614
|
-
147712 &&
|
|
4659
|
+
d[8] ? ee ? ee.p(d, v) : (ee = Yt(d), ee.c(), ee.m(fe, null)) : ee && (ee.d(1), ee = null), v[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
|
|
4660
|
+
147712 && qe !== (qe = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4615
4661
|
(d[8] && !/*securityQFocus*/
|
|
4616
4662
|
d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4617
|
-
(d[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")) && o(
|
|
4618
|
-
1073741828 &&
|
|
4663
|
+
(d[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")) && o(fe, "class", qe), v[0] & /*custominputtextswitch, $_*/
|
|
4664
|
+
1073741828 && Je !== (Je = /*custominputtextswitch*/
|
|
4619
4665
|
(d[2] == "true" ? (
|
|
4620
4666
|
/*$_*/
|
|
4621
4667
|
d[30]("registerSecurityAnswer2")
|
|
4622
4668
|
) : (
|
|
4623
4669
|
/*$_*/
|
|
4624
4670
|
d[30]("registerSecurityAnswer")
|
|
4625
|
-
)) + "") &&
|
|
4626
|
-
8388608 &&
|
|
4627
|
-
d[23] &&
|
|
4628
|
-
|
|
4671
|
+
)) + "") && D(Er, Je), v[0] & /*securityAnswer*/
|
|
4672
|
+
8388608 && ae.value !== /*securityAnswer*/
|
|
4673
|
+
d[23] && te(
|
|
4674
|
+
ae,
|
|
4629
4675
|
/*securityAnswer*/
|
|
4630
4676
|
d[23]
|
|
4631
4677
|
), /*invalidSecurityAnswer*/
|
|
4632
|
-
d[9] ?
|
|
4633
|
-
164352 &&
|
|
4678
|
+
d[9] ? re ? re.p(d, v) : (re = Kt(d), re.c(), re.m(de, null)) : re && (re.d(1), re = null), v[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
|
|
4679
|
+
164352 && Ke !== (Ke = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4634
4680
|
(d[9] && !/*securityAFocus*/
|
|
4635
4681
|
d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4636
|
-
(d[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")) && o(
|
|
4637
|
-
1073741824 &&
|
|
4638
|
-
d[30]("registerNext") + "") &&
|
|
4639
|
-
536870912 &&
|
|
4640
|
-
d[29]) && (
|
|
4682
|
+
(d[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")) && o(de, "class", Ke), v[0] & /*$_*/
|
|
4683
|
+
1073741824 && le !== (le = /*$_*/
|
|
4684
|
+
d[30]("registerNext") + "") && D(tt, le), v[0] & /*isValid*/
|
|
4685
|
+
536870912 && jr !== (jr = !/*isValid*/
|
|
4686
|
+
d[29]) && (N.disabled = jr);
|
|
4641
4687
|
},
|
|
4642
|
-
i:
|
|
4643
|
-
o:
|
|
4688
|
+
i: Q,
|
|
4689
|
+
o: Q,
|
|
4644
4690
|
d(d) {
|
|
4645
|
-
d &&
|
|
4691
|
+
d && ie(r), W && W.d(), q && q.d(), e[60](null), _e.d(), J && J.d(), Y && Y.d(), e[66](null), Se.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null), it = !1, lr(At);
|
|
4646
4692
|
}
|
|
4647
4693
|
};
|
|
4648
4694
|
}
|
|
4649
|
-
function
|
|
4695
|
+
function Zs(e, r, t) {
|
|
4650
4696
|
let i;
|
|
4651
4697
|
Hi(e, Us, (p) => t(30, i = p));
|
|
4652
|
-
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: u = "false" } = r, {
|
|
4698
|
+
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: u = "false" } = r, { mbsource: a } = r, { clientstyling: f = "" } = r, { clientstylingurl: c = "" } = r, { translationurl: h = "" } = r, { savecredentials: m = "" } = r, { custominputtextswitch: g = "false" } = r, b = !1, w = !1, y = !1, A = !1, O = !1, M = !1, R = !1, ce = !1, G = !1, me = !1, U = !1, De = !1, Ce = !1, Ge, k = "", X = "", he = "", ge = "", ne = "", V = "", Ae = "", F = !1, Pe = !1, Te, ye, pe = {}, C = {
|
|
4653
4699
|
username: !1,
|
|
4654
4700
|
email: !1,
|
|
4655
4701
|
password: !1,
|
|
@@ -4657,311 +4703,300 @@ function zs(e, r, t) {
|
|
|
4657
4703
|
securityAnswer: !1,
|
|
4658
4704
|
securityQuestion: !1,
|
|
4659
4705
|
promoCode: !0
|
|
4660
|
-
},
|
|
4706
|
+
}, Ee = !1, Z, ve = {
|
|
4661
4707
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4662
4708
|
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,
|
|
4663
4709
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/,
|
|
4664
4710
|
document: /^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/
|
|
4665
4711
|
};
|
|
4666
|
-
const
|
|
4667
|
-
fetch(
|
|
4668
|
-
Object.keys(
|
|
4669
|
-
zt(
|
|
4712
|
+
const Ar = () => {
|
|
4713
|
+
fetch(h).then((N) => N.json()).then((N) => {
|
|
4714
|
+
Object.keys(N).forEach((le) => {
|
|
4715
|
+
zt(le, N[le]);
|
|
4670
4716
|
});
|
|
4671
|
-
}).catch((
|
|
4672
|
-
console.log(
|
|
4717
|
+
}).catch((N) => {
|
|
4718
|
+
console.log(N);
|
|
4673
4719
|
});
|
|
4674
4720
|
};
|
|
4675
4721
|
Object.keys(Qt).forEach((p) => {
|
|
4676
4722
|
zt(p, Qt[p]);
|
|
4677
4723
|
});
|
|
4678
|
-
const
|
|
4724
|
+
const Oe = () => {
|
|
4679
4725
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
4680
|
-
},
|
|
4681
|
-
if (!(
|
|
4726
|
+
}, Tr = (p, N) => {
|
|
4727
|
+
if (!(Ge.indexOf(p) >= 0))
|
|
4682
4728
|
switch (p) {
|
|
4683
4729
|
case "username":
|
|
4684
|
-
t(18,
|
|
4730
|
+
t(18, k = N), fr();
|
|
4685
4731
|
break;
|
|
4686
4732
|
case "email":
|
|
4687
|
-
t(19,
|
|
4733
|
+
t(19, X = N), Le();
|
|
4688
4734
|
break;
|
|
4689
4735
|
case "password":
|
|
4690
|
-
t(20,
|
|
4736
|
+
t(20, he = N), $e();
|
|
4691
4737
|
break;
|
|
4692
4738
|
case "confirmUserPassword":
|
|
4693
|
-
t(21,
|
|
4739
|
+
t(21, ge = N), He();
|
|
4694
4740
|
break;
|
|
4695
4741
|
case "securityQuestion":
|
|
4696
|
-
t(22,
|
|
4742
|
+
t(22, ne = N), $();
|
|
4697
4743
|
break;
|
|
4698
4744
|
case "securityAnswer":
|
|
4699
|
-
t(23,
|
|
4745
|
+
t(23, V = N), pr();
|
|
4700
4746
|
break;
|
|
4701
4747
|
case "promoCode":
|
|
4702
|
-
t(24,
|
|
4748
|
+
t(24, Ae = N), gr();
|
|
4703
4749
|
break;
|
|
4704
4750
|
}
|
|
4705
|
-
},
|
|
4706
|
-
t(29,
|
|
4707
|
-
}, L = () => {
|
|
4708
|
-
ae.email = U, ye.email.test(U) && U.length <= 100 ? t(4, g = !1) : t(4, g = !0), D.email = !g, le();
|
|
4709
|
-
}, Oe = () => {
|
|
4710
|
-
ae.username = Ee, ye.user.test(Ee) && Ee.length <= 20 ? t(5, b = !1) : t(5, b = !0), D.username = !b, le();
|
|
4711
|
-
}, Hr = () => {
|
|
4712
|
-
u == "true" && (ye.password = /^(?!.* ).{8,20}$/);
|
|
4713
|
-
}, je = () => {
|
|
4714
|
-
t(25, Ne = !0), gr();
|
|
4715
|
-
}, Ve = () => {
|
|
4716
|
-
t(26, k = !0), j();
|
|
4751
|
+
}, B = () => {
|
|
4752
|
+
t(29, Ee = Object.keys(C).every((p) => s.includes(p) ? !0 : C[p] !== !1));
|
|
4717
4753
|
}, Le = () => {
|
|
4718
|
-
t(
|
|
4754
|
+
pe.email = X, ve.email.test(X) && X.length <= 100 ? t(4, b = !1) : t(4, b = !0), C.email = !b, B();
|
|
4755
|
+
}, fr = () => {
|
|
4756
|
+
pe.username = k, ve.user.test(k) && k.length <= 20 ? t(5, w = !1) : t(5, w = !0), C.username = !w, B();
|
|
4757
|
+
}, dr = () => {
|
|
4758
|
+
u == "true" && (ve.password = /^(?!.* ).{8,20}$/);
|
|
4759
|
+
}, je = () => {
|
|
4760
|
+
t(25, F = !0), j();
|
|
4719
4761
|
}, Me = () => {
|
|
4720
|
-
t(26,
|
|
4721
|
-
},
|
|
4722
|
-
t(
|
|
4762
|
+
t(26, Pe = !0), xe();
|
|
4763
|
+
}, Re = () => {
|
|
4764
|
+
t(25, F = !1), j();
|
|
4765
|
+
}, mr = () => {
|
|
4766
|
+
t(26, Pe = !1), xe();
|
|
4723
4767
|
}, j = () => {
|
|
4724
|
-
t(
|
|
4725
|
-
},
|
|
4726
|
-
|
|
4727
|
-
},
|
|
4728
|
-
|
|
4729
|
-
},
|
|
4730
|
-
|
|
4731
|
-
},
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4768
|
+
t(27, Te.type = F ? "text" : "password", Te);
|
|
4769
|
+
}, xe = () => {
|
|
4770
|
+
t(28, ye.type = Pe ? "text" : "password", ye);
|
|
4771
|
+
}, Ve = () => !!ve.password.test(he), $e = () => {
|
|
4772
|
+
pe.password = he, t(6, y = !Ve()), ge.length !== 0 && He(), C.password = !y, B();
|
|
4773
|
+
}, Hr = () => he === ge, He = () => {
|
|
4774
|
+
pe.confirmUserPassword = ge, t(7, A = !Hr()), C.confirmUserPassword = !A, B();
|
|
4775
|
+
}, gr = () => {
|
|
4776
|
+
pe.promoCode = Ae;
|
|
4777
|
+
}, $ = () => {
|
|
4778
|
+
if (pe.securityQuestion = ne, ne)
|
|
4779
|
+
switch (g) {
|
|
4780
|
+
case "true":
|
|
4781
|
+
if (ve.document.test(ne) && ne.length <= 50) {
|
|
4782
|
+
t(8, O = !1), C.securityQuestion = !O, B();
|
|
4783
|
+
return;
|
|
4784
|
+
}
|
|
4785
|
+
break;
|
|
4786
|
+
case "false":
|
|
4787
|
+
if (ne && ne.length <= 120) {
|
|
4788
|
+
t(8, O = !1), C.securityQuestion = !O, B();
|
|
4789
|
+
return;
|
|
4790
|
+
}
|
|
4791
|
+
break;
|
|
4792
|
+
}
|
|
4793
|
+
t(8, O = !0), C.securityQuestion = !O, B();
|
|
4794
|
+
}, pr = () => {
|
|
4795
|
+
if (pe.securityAnswer = V, V)
|
|
4796
|
+
switch (g) {
|
|
4797
|
+
case "true":
|
|
4798
|
+
if (ve.document.test(V) && V.length <= 50) {
|
|
4799
|
+
t(9, M = !1), C.securityAnswer = !M, B();
|
|
4800
|
+
return;
|
|
4801
|
+
}
|
|
4802
|
+
break;
|
|
4803
|
+
case "false":
|
|
4804
|
+
if (V && V.length <= 120) {
|
|
4805
|
+
t(9, M = !1), C.securityAnswer = !M, B();
|
|
4806
|
+
return;
|
|
4807
|
+
}
|
|
4808
|
+
break;
|
|
4809
|
+
}
|
|
4810
|
+
t(9, M = !0), C.securityAnswer = !M, B();
|
|
4811
|
+
}, ze = (p) => {
|
|
4764
4812
|
p.preventDefault(), window.postMessage(
|
|
4765
4813
|
{
|
|
4766
4814
|
type: "RegisterStepOne",
|
|
4767
|
-
registerStepOneData:
|
|
4815
|
+
registerStepOneData: pe
|
|
4768
4816
|
},
|
|
4769
4817
|
window.location.href
|
|
4770
4818
|
);
|
|
4771
|
-
},
|
|
4819
|
+
}, Ue = (p) => {
|
|
4772
4820
|
if (p.data)
|
|
4773
4821
|
switch (p.data.type) {
|
|
4774
4822
|
case "StepOneDataBackup":
|
|
4775
|
-
const
|
|
4776
|
-
for (const
|
|
4777
|
-
|
|
4778
|
-
t(29,
|
|
4823
|
+
const N = p.data.userData;
|
|
4824
|
+
for (const le in N)
|
|
4825
|
+
Tr(le, N[le]);
|
|
4826
|
+
t(29, Ee = Object.keys(C).every((le) => s.includes(le) ? !0 : C[le] !== !1));
|
|
4779
4827
|
break;
|
|
4780
4828
|
}
|
|
4781
|
-
}, Qe = () => {
|
|
4782
|
-
t(17, Ce = s.split(","));
|
|
4783
4829
|
}, Br = () => {
|
|
4830
|
+
t(17, Ge = s.split(","));
|
|
4831
|
+
}, we = () => {
|
|
4784
4832
|
ks(n);
|
|
4785
|
-
}, _e = () => {
|
|
4786
|
-
let p = document.createElement("style");
|
|
4787
|
-
p.innerHTML = a, q.appendChild(p);
|
|
4788
|
-
}, ke = () => {
|
|
4789
|
-
let p = new URL(f), B = document.createElement("style");
|
|
4790
|
-
fetch(p.href).then((V) => V.text()).then((V) => {
|
|
4791
|
-
B.innerHTML = V, setTimeout(
|
|
4792
|
-
() => {
|
|
4793
|
-
q.appendChild(B);
|
|
4794
|
-
},
|
|
4795
|
-
1
|
|
4796
|
-
), setTimeout(
|
|
4797
|
-
() => {
|
|
4798
|
-
},
|
|
4799
|
-
500
|
|
4800
|
-
);
|
|
4801
|
-
});
|
|
4802
4833
|
};
|
|
4803
|
-
Ri(() => (window.addEventListener("message",
|
|
4804
|
-
window.removeEventListener("message",
|
|
4834
|
+
Ri(() => (window.addEventListener("message", Ue, !1), () => {
|
|
4835
|
+
window.removeEventListener("message", Ue);
|
|
4805
4836
|
}));
|
|
4806
|
-
const
|
|
4807
|
-
function
|
|
4808
|
-
|
|
4837
|
+
const ke = () => Oe();
|
|
4838
|
+
function Qe() {
|
|
4839
|
+
X = this.value, t(19, X);
|
|
4809
4840
|
}
|
|
4810
|
-
const
|
|
4811
|
-
function
|
|
4812
|
-
|
|
4841
|
+
const br = () => t(10, R = !0), Ir = () => t(10, R = !1);
|
|
4842
|
+
function Nr() {
|
|
4843
|
+
k = this.value, t(18, k);
|
|
4813
4844
|
}
|
|
4814
|
-
const
|
|
4815
|
-
function
|
|
4816
|
-
|
|
4845
|
+
const se = () => t(11, ce = !0), Or = () => t(11, ce = !1);
|
|
4846
|
+
function Xe() {
|
|
4847
|
+
he = this.value, t(20, he);
|
|
4817
4848
|
}
|
|
4818
|
-
const
|
|
4819
|
-
function
|
|
4820
|
-
|
|
4821
|
-
|
|
4849
|
+
const Lr = () => t(12, G = !0), fe = () => t(12, G = !1);
|
|
4850
|
+
function Be(p) {
|
|
4851
|
+
_r[p ? "unshift" : "push"](() => {
|
|
4852
|
+
Te = p, t(27, Te);
|
|
4822
4853
|
});
|
|
4823
4854
|
}
|
|
4824
|
-
const
|
|
4825
|
-
function
|
|
4826
|
-
|
|
4855
|
+
const Ze = () => Re(), yr = () => je();
|
|
4856
|
+
function Mr() {
|
|
4857
|
+
ge = this.value, t(21, ge);
|
|
4827
4858
|
}
|
|
4828
|
-
const
|
|
4829
|
-
function
|
|
4830
|
-
|
|
4831
|
-
|
|
4859
|
+
const We = () => t(13, me = !0), Rr = () => t(13, me = !1);
|
|
4860
|
+
function oe(p) {
|
|
4861
|
+
_r[p ? "unshift" : "push"](() => {
|
|
4862
|
+
ye = p, t(28, ye);
|
|
4832
4863
|
});
|
|
4833
4864
|
}
|
|
4834
|
-
const
|
|
4835
|
-
function
|
|
4836
|
-
|
|
4865
|
+
const Ur = () => mr(), qe = () => Me();
|
|
4866
|
+
function kr() {
|
|
4867
|
+
Ae = this.value, t(24, Ae);
|
|
4837
4868
|
}
|
|
4838
|
-
const
|
|
4839
|
-
function
|
|
4840
|
-
|
|
4869
|
+
const de = () => t(16, Ce = !0), Ie = () => t(16, Ce = !1);
|
|
4870
|
+
function Je() {
|
|
4871
|
+
ne = this.value, t(22, ne);
|
|
4841
4872
|
}
|
|
4842
|
-
const
|
|
4843
|
-
function
|
|
4844
|
-
|
|
4873
|
+
const Er = () => t(14, U = !0), Fr = () => t(14, U = !1);
|
|
4874
|
+
function Ye() {
|
|
4875
|
+
V = this.value, t(23, V);
|
|
4845
4876
|
}
|
|
4846
|
-
const
|
|
4847
|
-
function
|
|
4848
|
-
|
|
4849
|
-
|
|
4877
|
+
const Dr = () => t(15, De = !0), ae = () => t(15, De = !1), Gr = (p) => ze(p);
|
|
4878
|
+
function Ke(p) {
|
|
4879
|
+
_r[p ? "unshift" : "push"](() => {
|
|
4880
|
+
Z = p, t(3, Z);
|
|
4850
4881
|
});
|
|
4851
4882
|
}
|
|
4852
4883
|
return e.$$set = (p) => {
|
|
4853
|
-
"lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0, u = p.simplepasswordvalidation), "
|
|
4884
|
+
"lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0, u = p.simplepasswordvalidation), "mbsource" in p && t(46, a = p.mbsource), "clientstyling" in p && t(47, f = p.clientstyling), "clientstylingurl" in p && t(48, c = p.clientstylingurl), "translationurl" in p && t(49, h = p.translationurl), "savecredentials" in p && t(1, m = p.savecredentials), "custominputtextswitch" in p && t(2, g = p.custominputtextswitch);
|
|
4854
4885
|
}, e.$$.update = () => {
|
|
4855
4886
|
e.$$.dirty[1] & /*lang*/
|
|
4856
|
-
8192 && n &&
|
|
4857
|
-
16384 && s &&
|
|
4858
|
-
1 && u &&
|
|
4887
|
+
8192 && n && we(), e.$$.dirty[1] & /*disabledfields*/
|
|
4888
|
+
16384 && s && Br(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
4889
|
+
1 && u && dr(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4859
4890
|
8 | e.$$.dirty[1] & /*clientstyling*/
|
|
4860
|
-
|
|
4891
|
+
65536 && f && Z && Fs(Z, f), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4861
4892
|
8 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
4862
|
-
|
|
4863
|
-
|
|
4893
|
+
131072 && c && Z && Ds(Z, c), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4894
|
+
8 | e.$$.dirty[1] & /*mbsource*/
|
|
4895
|
+
32768 && a && Z && Gs(Z, `${a}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
4896
|
+
262144 && h && Ar();
|
|
4864
4897
|
}, [
|
|
4865
4898
|
u,
|
|
4866
|
-
h,
|
|
4867
4899
|
m,
|
|
4868
|
-
q,
|
|
4869
4900
|
g,
|
|
4901
|
+
Z,
|
|
4870
4902
|
b,
|
|
4871
4903
|
w,
|
|
4872
4904
|
y,
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
$,
|
|
4905
|
+
A,
|
|
4906
|
+
O,
|
|
4876
4907
|
M,
|
|
4877
|
-
de,
|
|
4878
|
-
G,
|
|
4879
|
-
be,
|
|
4880
4908
|
R,
|
|
4909
|
+
ce,
|
|
4910
|
+
G,
|
|
4911
|
+
me,
|
|
4912
|
+
U,
|
|
4881
4913
|
De,
|
|
4882
4914
|
Ce,
|
|
4883
|
-
|
|
4884
|
-
U,
|
|
4885
|
-
Z,
|
|
4886
|
-
me,
|
|
4887
|
-
W,
|
|
4888
|
-
oe,
|
|
4889
|
-
ve,
|
|
4890
|
-
Ne,
|
|
4915
|
+
Ge,
|
|
4891
4916
|
k,
|
|
4892
|
-
|
|
4917
|
+
X,
|
|
4918
|
+
he,
|
|
4919
|
+
ge,
|
|
4920
|
+
ne,
|
|
4921
|
+
V,
|
|
4893
4922
|
Ae,
|
|
4894
|
-
|
|
4923
|
+
F,
|
|
4924
|
+
Pe,
|
|
4925
|
+
Te,
|
|
4926
|
+
ye,
|
|
4927
|
+
Ee,
|
|
4895
4928
|
i,
|
|
4896
|
-
mr,
|
|
4897
|
-
L,
|
|
4898
4929
|
Oe,
|
|
4899
|
-
je,
|
|
4900
|
-
Ve,
|
|
4901
4930
|
Le,
|
|
4931
|
+
fr,
|
|
4932
|
+
je,
|
|
4902
4933
|
Me,
|
|
4903
4934
|
Re,
|
|
4935
|
+
mr,
|
|
4904
4936
|
$e,
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4937
|
+
He,
|
|
4938
|
+
gr,
|
|
4939
|
+
$,
|
|
4940
|
+
pr,
|
|
4941
|
+
ze,
|
|
4909
4942
|
n,
|
|
4910
4943
|
s,
|
|
4911
4944
|
a,
|
|
4912
4945
|
f,
|
|
4913
4946
|
c,
|
|
4914
|
-
|
|
4915
|
-
|
|
4947
|
+
h,
|
|
4948
|
+
ke,
|
|
4949
|
+
Qe,
|
|
4950
|
+
br,
|
|
4916
4951
|
Ir,
|
|
4917
4952
|
Nr,
|
|
4918
|
-
|
|
4953
|
+
se,
|
|
4919
4954
|
Or,
|
|
4920
|
-
|
|
4955
|
+
Xe,
|
|
4921
4956
|
Lr,
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4957
|
+
fe,
|
|
4958
|
+
Be,
|
|
4959
|
+
Ze,
|
|
4960
|
+
yr,
|
|
4926
4961
|
Mr,
|
|
4927
|
-
|
|
4962
|
+
We,
|
|
4928
4963
|
Rr,
|
|
4929
|
-
|
|
4964
|
+
oe,
|
|
4930
4965
|
Ur,
|
|
4931
|
-
|
|
4966
|
+
qe,
|
|
4932
4967
|
kr,
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4968
|
+
de,
|
|
4969
|
+
Ie,
|
|
4970
|
+
Je,
|
|
4971
|
+
Er,
|
|
4937
4972
|
Fr,
|
|
4938
|
-
|
|
4973
|
+
Ye,
|
|
4939
4974
|
Dr,
|
|
4940
|
-
|
|
4975
|
+
ae,
|
|
4941
4976
|
Gr,
|
|
4942
|
-
|
|
4943
|
-
jr
|
|
4977
|
+
Ke
|
|
4944
4978
|
];
|
|
4945
4979
|
}
|
|
4946
|
-
class
|
|
4980
|
+
class Ws extends Zi {
|
|
4947
4981
|
constructor(r) {
|
|
4948
4982
|
super(), Qi(
|
|
4949
4983
|
this,
|
|
4950
4984
|
r,
|
|
4951
|
-
|
|
4952
|
-
|
|
4985
|
+
Zs,
|
|
4986
|
+
Xs,
|
|
4953
4987
|
ri,
|
|
4954
4988
|
{
|
|
4955
4989
|
lang: 44,
|
|
4956
4990
|
disabledfields: 45,
|
|
4957
4991
|
simplepasswordvalidation: 0,
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4992
|
+
mbsource: 46,
|
|
4993
|
+
clientstyling: 47,
|
|
4994
|
+
clientstylingurl: 48,
|
|
4995
|
+
translationurl: 49,
|
|
4961
4996
|
savecredentials: 1,
|
|
4962
4997
|
custominputtextswitch: 2
|
|
4963
4998
|
},
|
|
4964
|
-
|
|
4999
|
+
js,
|
|
4965
5000
|
[-1, -1, -1, -1]
|
|
4966
5001
|
);
|
|
4967
5002
|
}
|
|
@@ -4969,52 +5004,58 @@ class Qs extends Zi {
|
|
|
4969
5004
|
return this.$$.ctx[44];
|
|
4970
5005
|
}
|
|
4971
5006
|
set lang(r) {
|
|
4972
|
-
this.$$set({ lang: r }),
|
|
5007
|
+
this.$$set({ lang: r }), be();
|
|
4973
5008
|
}
|
|
4974
5009
|
get disabledfields() {
|
|
4975
5010
|
return this.$$.ctx[45];
|
|
4976
5011
|
}
|
|
4977
5012
|
set disabledfields(r) {
|
|
4978
|
-
this.$$set({ disabledfields: r }),
|
|
5013
|
+
this.$$set({ disabledfields: r }), be();
|
|
4979
5014
|
}
|
|
4980
5015
|
get simplepasswordvalidation() {
|
|
4981
5016
|
return this.$$.ctx[0];
|
|
4982
5017
|
}
|
|
4983
5018
|
set simplepasswordvalidation(r) {
|
|
4984
|
-
this.$$set({ simplepasswordvalidation: r }),
|
|
5019
|
+
this.$$set({ simplepasswordvalidation: r }), be();
|
|
4985
5020
|
}
|
|
4986
|
-
get
|
|
5021
|
+
get mbsource() {
|
|
4987
5022
|
return this.$$.ctx[46];
|
|
4988
5023
|
}
|
|
5024
|
+
set mbsource(r) {
|
|
5025
|
+
this.$$set({ mbsource: r }), be();
|
|
5026
|
+
}
|
|
5027
|
+
get clientstyling() {
|
|
5028
|
+
return this.$$.ctx[47];
|
|
5029
|
+
}
|
|
4989
5030
|
set clientstyling(r) {
|
|
4990
|
-
this.$$set({ clientstyling: r }),
|
|
5031
|
+
this.$$set({ clientstyling: r }), be();
|
|
4991
5032
|
}
|
|
4992
5033
|
get clientstylingurl() {
|
|
4993
|
-
return this.$$.ctx[
|
|
5034
|
+
return this.$$.ctx[48];
|
|
4994
5035
|
}
|
|
4995
5036
|
set clientstylingurl(r) {
|
|
4996
|
-
this.$$set({ clientstylingurl: r }),
|
|
5037
|
+
this.$$set({ clientstylingurl: r }), be();
|
|
4997
5038
|
}
|
|
4998
5039
|
get translationurl() {
|
|
4999
|
-
return this.$$.ctx[
|
|
5040
|
+
return this.$$.ctx[49];
|
|
5000
5041
|
}
|
|
5001
5042
|
set translationurl(r) {
|
|
5002
|
-
this.$$set({ translationurl: r }),
|
|
5043
|
+
this.$$set({ translationurl: r }), be();
|
|
5003
5044
|
}
|
|
5004
5045
|
get savecredentials() {
|
|
5005
5046
|
return this.$$.ctx[1];
|
|
5006
5047
|
}
|
|
5007
5048
|
set savecredentials(r) {
|
|
5008
|
-
this.$$set({ savecredentials: r }),
|
|
5049
|
+
this.$$set({ savecredentials: r }), be();
|
|
5009
5050
|
}
|
|
5010
5051
|
get custominputtextswitch() {
|
|
5011
5052
|
return this.$$.ctx[2];
|
|
5012
5053
|
}
|
|
5013
5054
|
set custominputtextswitch(r) {
|
|
5014
|
-
this.$$set({ custominputtextswitch: r }),
|
|
5055
|
+
this.$$set({ custominputtextswitch: r }), be();
|
|
5015
5056
|
}
|
|
5016
5057
|
}
|
|
5017
|
-
Xi(
|
|
5058
|
+
Xi(Ws, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
|
|
5018
5059
|
export {
|
|
5019
|
-
|
|
5060
|
+
Ws as G
|
|
5020
5061
|
};
|