@everymatrix/general-player-register-form-step1 1.54.6 → 1.54.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralPlayerRegisterFormStep1-BjblAVQm.js → GeneralPlayerRegisterFormStep1-CYDwnQuK.js} +532 -536
- package/components/GeneralPlayerRegisterFormStep1-CZYzQF86.js +5057 -0
- package/components/GeneralPlayerRegisterFormStep1-oZDxbUpk.cjs +3 -0
- package/es2015/general-player-register-form-step1.cjs +1 -0
- package/es2015/general-player-register-form-step1.js +16 -0
- package/esnext/general-player-register-form-step1.js +1 -1
- package/package.json +1 -1
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function X() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Yt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Tt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function ur(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(Yt);
|
|
11
11
|
}
|
|
12
12
|
function wt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Kt(e, r) {
|
|
16
16
|
return e != e ? r == r : e !== r || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function xi(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function ei(e, ...r) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const i of r)
|
|
24
24
|
i(void 0);
|
|
@@ -27,20 +27,20 @@ function ri(e, ...r) {
|
|
|
27
27
|
const t = e.subscribe(...r);
|
|
28
28
|
return t.unsubscribe ? () => t.unsubscribe() : t;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function Ai(e, r, t) {
|
|
31
|
+
e.$$.on_destroy.push(ei(r, t));
|
|
32
32
|
}
|
|
33
33
|
function l(e, r) {
|
|
34
34
|
e.appendChild(r);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const i =
|
|
36
|
+
function Ti(e, r, t) {
|
|
37
|
+
const i = Hi(e);
|
|
38
38
|
if (!i.getElementById(r)) {
|
|
39
39
|
const n = E("style");
|
|
40
|
-
n.id = r, n.textContent = t,
|
|
40
|
+
n.id = r, n.textContent = t, Ii(i, n);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Hi(e) {
|
|
44
44
|
if (!e) return document;
|
|
45
45
|
const r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
46
46
|
return r && /** @type {ShadowRoot} */
|
|
@@ -49,7 +49,7 @@ function Ii(e) {
|
|
|
49
49
|
r
|
|
50
50
|
) : e.ownerDocument;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Ii(e, r) {
|
|
53
53
|
return l(
|
|
54
54
|
/** @type {Document} */
|
|
55
55
|
e.head || e,
|
|
@@ -77,10 +77,10 @@ function H() {
|
|
|
77
77
|
function x(e, r, t, i) {
|
|
78
78
|
return e.addEventListener(r, t, i), () => e.removeEventListener(r, t, i);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function o(e, r, t) {
|
|
81
81
|
t == null ? e.removeAttribute(r) : e.getAttribute(r) !== t && e.setAttribute(r, t);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function Bi(e) {
|
|
84
84
|
return Array.from(e.childNodes);
|
|
85
85
|
}
|
|
86
86
|
function F(e, r) {
|
|
@@ -90,7 +90,7 @@ function F(e, r) {
|
|
|
90
90
|
function ne(e, r) {
|
|
91
91
|
e.value = r ?? "";
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function Ni(e) {
|
|
94
94
|
const r = {};
|
|
95
95
|
return e.childNodes.forEach(
|
|
96
96
|
/** @param {Element} node */
|
|
@@ -103,19 +103,19 @@ let Cr;
|
|
|
103
103
|
function Sr(e) {
|
|
104
104
|
Cr = e;
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function Oi() {
|
|
107
107
|
if (!Cr) throw new Error("Function called outside component initialization");
|
|
108
108
|
return Cr;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
111
|
-
|
|
110
|
+
function Li(e) {
|
|
111
|
+
Oi().$$.on_mount.push(e);
|
|
112
112
|
}
|
|
113
113
|
const ir = [], Pr = [];
|
|
114
114
|
let nr = [];
|
|
115
|
-
const
|
|
115
|
+
const Ht = [], Mi = /* @__PURE__ */ Promise.resolve();
|
|
116
116
|
let ht = !1;
|
|
117
|
-
function
|
|
118
|
-
ht || (ht = !0,
|
|
117
|
+
function Ri() {
|
|
118
|
+
ht || (ht = !0, Mi.then(Ce));
|
|
119
119
|
}
|
|
120
120
|
function ft(e) {
|
|
121
121
|
nr.push(e);
|
|
@@ -130,7 +130,7 @@ function Ce() {
|
|
|
130
130
|
try {
|
|
131
131
|
for (; rr < ir.length; ) {
|
|
132
132
|
const r = ir[rr];
|
|
133
|
-
rr++, Sr(r),
|
|
133
|
+
rr++, Sr(r), Ui(r.$$);
|
|
134
134
|
}
|
|
135
135
|
} catch (r) {
|
|
136
136
|
throw ir.length = 0, rr = 0, r;
|
|
@@ -142,40 +142,40 @@ function Ce() {
|
|
|
142
142
|
}
|
|
143
143
|
nr.length = 0;
|
|
144
144
|
} while (ir.length);
|
|
145
|
-
for (;
|
|
146
|
-
|
|
145
|
+
for (; Ht.length; )
|
|
146
|
+
Ht.pop()();
|
|
147
147
|
ht = !1, nt.clear(), Sr(e);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Ui(e) {
|
|
150
150
|
if (e.fragment !== null) {
|
|
151
151
|
e.update(), ur(e.before_update);
|
|
152
152
|
const r = e.dirty;
|
|
153
153
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(ft);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function ki(e) {
|
|
157
157
|
const r = [], t = [];
|
|
158
158
|
nr.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), nr = r;
|
|
159
159
|
}
|
|
160
|
-
const
|
|
161
|
-
function
|
|
162
|
-
e && e.i && (
|
|
160
|
+
const Fi = /* @__PURE__ */ new Set();
|
|
161
|
+
function Di(e, r) {
|
|
162
|
+
e && e.i && (Fi.delete(e), e.i(r));
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function Gi(e, r, t) {
|
|
165
165
|
const { fragment: i, after_update: n } = e.$$;
|
|
166
166
|
i && i.m(r, t), ft(() => {
|
|
167
|
-
const s = e.$$.on_mount.map(
|
|
167
|
+
const s = e.$$.on_mount.map(Yt).filter(wt);
|
|
168
168
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ur(s), e.$$.on_mount = [];
|
|
169
169
|
}), n.forEach(ft);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function ji(e, r) {
|
|
172
172
|
const t = e.$$;
|
|
173
|
-
t.fragment !== null && (
|
|
173
|
+
t.fragment !== null && (ki(t.after_update), ur(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
e.$$.dirty[0] === -1 && (ir.push(e),
|
|
175
|
+
function Vi(e, r) {
|
|
176
|
+
e.$$.dirty[0] === -1 && (ir.push(e), Ri(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function $i(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
179
179
|
const f = Cr;
|
|
180
180
|
Sr(e);
|
|
181
181
|
const c = e.$$ = {
|
|
@@ -185,7 +185,7 @@ function Qi(e, r, t, i, n, s, u = null, o = [-1]) {
|
|
|
185
185
|
props: s,
|
|
186
186
|
update: X,
|
|
187
187
|
not_equal: n,
|
|
188
|
-
bound:
|
|
188
|
+
bound: Tt(),
|
|
189
189
|
// lifecycle
|
|
190
190
|
on_mount: [],
|
|
191
191
|
on_destroy: [],
|
|
@@ -194,28 +194,28 @@ function Qi(e, r, t, i, n, s, u = null, o = [-1]) {
|
|
|
194
194
|
after_update: [],
|
|
195
195
|
context: new Map(r.context || (f ? f.$$.context : [])),
|
|
196
196
|
// everything else
|
|
197
|
-
callbacks:
|
|
198
|
-
dirty:
|
|
197
|
+
callbacks: Tt(),
|
|
198
|
+
dirty: a,
|
|
199
199
|
skip_bound: !1,
|
|
200
200
|
root: r.target || f.$$.root
|
|
201
201
|
};
|
|
202
202
|
u && u(c.root);
|
|
203
203
|
let h = !1;
|
|
204
|
-
if (c.ctx = t(e, r.props || {}, (m, g, ...b) => {
|
|
205
|
-
const
|
|
206
|
-
return c.ctx && n(c.ctx[m], c.ctx[m] =
|
|
207
|
-
}), c.update(), h = !0, ur(c.before_update), c.fragment = i(c.ctx), r.target) {
|
|
204
|
+
if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
|
|
205
|
+
const _ = b.length ? b[0] : g;
|
|
206
|
+
return c.ctx && n(c.ctx[m], c.ctx[m] = _) && (!c.skip_bound && c.bound[m] && c.bound[m](_), h && Vi(e, m)), g;
|
|
207
|
+
}) : [], c.update(), h = !0, ur(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
|
|
208
208
|
if (r.hydrate) {
|
|
209
|
-
const m =
|
|
209
|
+
const m = Bi(r.target);
|
|
210
210
|
c.fragment && c.fragment.l(m), m.forEach(se);
|
|
211
211
|
} else
|
|
212
212
|
c.fragment && c.fragment.c();
|
|
213
|
-
r.intro &&
|
|
213
|
+
r.intro && Di(e.$$.fragment), Gi(e, r.target, r.anchor), Ce();
|
|
214
214
|
}
|
|
215
215
|
Sr(f);
|
|
216
216
|
}
|
|
217
|
-
let
|
|
218
|
-
typeof HTMLElement == "function" && (
|
|
217
|
+
let ri;
|
|
218
|
+
typeof HTMLElement == "function" && (ri = class extends HTMLElement {
|
|
219
219
|
/** The Svelte component constructor */
|
|
220
220
|
$$ctor;
|
|
221
221
|
/** Slots */
|
|
@@ -257,7 +257,7 @@ typeof HTMLElement == "function" && (ti = class extends HTMLElement {
|
|
|
257
257
|
let s;
|
|
258
258
|
return {
|
|
259
259
|
c: function() {
|
|
260
|
-
s = E("slot"), n !== "default" &&
|
|
260
|
+
s = E("slot"), n !== "default" && o(s, "name", n);
|
|
261
261
|
},
|
|
262
262
|
/**
|
|
263
263
|
* @param {HTMLElement} target
|
|
@@ -274,7 +274,7 @@ typeof HTMLElement == "function" && (ti = class extends HTMLElement {
|
|
|
274
274
|
};
|
|
275
275
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
276
276
|
return;
|
|
277
|
-
const r = {}, t =
|
|
277
|
+
const r = {}, t = Ni(this);
|
|
278
278
|
for (const n of this.$$s)
|
|
279
279
|
n in t && (r[n] = [e(n)]);
|
|
280
280
|
for (const n of this.attributes) {
|
|
@@ -361,36 +361,36 @@ function Xr(e, r, t, i) {
|
|
|
361
361
|
return r;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
let u = class extends
|
|
364
|
+
function Qi(e, r, t, i, n, s) {
|
|
365
|
+
let u = class extends ri {
|
|
366
366
|
constructor() {
|
|
367
367
|
super(e, t, n), this.$$p_d = r;
|
|
368
368
|
}
|
|
369
369
|
static get observedAttributes() {
|
|
370
370
|
return Object.keys(r).map(
|
|
371
|
-
(
|
|
371
|
+
(a) => (r[a].attribute || a).toLowerCase()
|
|
372
372
|
);
|
|
373
373
|
}
|
|
374
374
|
};
|
|
375
|
-
return Object.keys(r).forEach((
|
|
376
|
-
Object.defineProperty(u.prototype,
|
|
375
|
+
return Object.keys(r).forEach((a) => {
|
|
376
|
+
Object.defineProperty(u.prototype, a, {
|
|
377
377
|
get() {
|
|
378
|
-
return this.$$c &&
|
|
378
|
+
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
379
379
|
},
|
|
380
380
|
set(f) {
|
|
381
|
-
f = Xr(
|
|
381
|
+
f = Xr(a, f, r), this.$$d[a] = f, this.$$c?.$set({ [a]: f });
|
|
382
382
|
}
|
|
383
383
|
});
|
|
384
|
-
}), i.forEach((
|
|
385
|
-
Object.defineProperty(u.prototype,
|
|
384
|
+
}), i.forEach((a) => {
|
|
385
|
+
Object.defineProperty(u.prototype, a, {
|
|
386
386
|
get() {
|
|
387
|
-
return this.$$c?.[
|
|
387
|
+
return this.$$c?.[a];
|
|
388
388
|
}
|
|
389
389
|
});
|
|
390
390
|
}), e.element = /** @type {any} */
|
|
391
391
|
u, u;
|
|
392
392
|
}
|
|
393
|
-
class
|
|
393
|
+
class zi {
|
|
394
394
|
/**
|
|
395
395
|
* ### PRIVATE API
|
|
396
396
|
*
|
|
@@ -409,7 +409,7 @@ class Xi {
|
|
|
409
409
|
$$set = void 0;
|
|
410
410
|
/** @returns {void} */
|
|
411
411
|
$destroy() {
|
|
412
|
-
|
|
412
|
+
ji(this, 1), this.$destroy = X;
|
|
413
413
|
}
|
|
414
414
|
/**
|
|
415
415
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -431,13 +431,13 @@ class Xi {
|
|
|
431
431
|
* @returns {void}
|
|
432
432
|
*/
|
|
433
433
|
$set(r) {
|
|
434
|
-
this.$$set && !
|
|
434
|
+
this.$$set && !xi(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
|
-
const
|
|
438
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
437
|
+
const Xi = "4";
|
|
438
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Xi);
|
|
439
439
|
const tr = [];
|
|
440
|
-
function
|
|
440
|
+
function Zi(e, r) {
|
|
441
441
|
return {
|
|
442
442
|
subscribe: Yr(e, r).subscribe
|
|
443
443
|
};
|
|
@@ -445,8 +445,8 @@ function Wi(e, r) {
|
|
|
445
445
|
function Yr(e, r = X) {
|
|
446
446
|
let t;
|
|
447
447
|
const i = /* @__PURE__ */ new Set();
|
|
448
|
-
function n(
|
|
449
|
-
if (
|
|
448
|
+
function n(a) {
|
|
449
|
+
if (Kt(e, a) && (e = a, t)) {
|
|
450
450
|
const f = !tr.length;
|
|
451
451
|
for (const c of i)
|
|
452
452
|
c[1](), tr.push(c, e);
|
|
@@ -457,12 +457,12 @@ function Yr(e, r = X) {
|
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
|
-
function s(
|
|
461
|
-
n(
|
|
460
|
+
function s(a) {
|
|
461
|
+
n(a(e));
|
|
462
462
|
}
|
|
463
|
-
function u(
|
|
464
|
-
const c = [
|
|
465
|
-
return i.add(c), i.size === 1 && (t = r(n, s) || X),
|
|
463
|
+
function u(a, f = X) {
|
|
464
|
+
const c = [a, f];
|
|
465
|
+
return i.add(c), i.size === 1 && (t = r(n, s) || X), a(e), () => {
|
|
466
466
|
i.delete(c), i.size === 0 && t && (t(), t = null);
|
|
467
467
|
};
|
|
468
468
|
}
|
|
@@ -473,7 +473,7 @@ function cr(e, r, t) {
|
|
|
473
473
|
if (!n.every(Boolean))
|
|
474
474
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
475
475
|
const s = r.length < 2;
|
|
476
|
-
return
|
|
476
|
+
return Zi(t, (u, a) => {
|
|
477
477
|
let f = !1;
|
|
478
478
|
const c = [];
|
|
479
479
|
let h = 0, m = X;
|
|
@@ -481,11 +481,11 @@ function cr(e, r, t) {
|
|
|
481
481
|
if (h)
|
|
482
482
|
return;
|
|
483
483
|
m();
|
|
484
|
-
const
|
|
485
|
-
s ? u(
|
|
484
|
+
const _ = r(i ? c[0] : c, u, a);
|
|
485
|
+
s ? u(_) : m = wt(_) ? _ : X;
|
|
486
486
|
}, b = n.map(
|
|
487
|
-
(
|
|
488
|
-
|
|
487
|
+
(_, y) => ei(
|
|
488
|
+
_,
|
|
489
489
|
(w) => {
|
|
490
490
|
c[y] = w, h &= ~(1 << y), f && g();
|
|
491
491
|
},
|
|
@@ -499,35 +499,35 @@ function cr(e, r, t) {
|
|
|
499
499
|
};
|
|
500
500
|
});
|
|
501
501
|
}
|
|
502
|
-
function
|
|
503
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
502
|
+
function Wi(e) {
|
|
503
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
504
504
|
}
|
|
505
|
-
var
|
|
506
|
-
return
|
|
505
|
+
var qi = function(r) {
|
|
506
|
+
return Ji(r) && !Yi(r);
|
|
507
507
|
};
|
|
508
|
-
function
|
|
508
|
+
function Ji(e) {
|
|
509
509
|
return !!e && typeof e == "object";
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function Yi(e) {
|
|
512
512
|
var r = Object.prototype.toString.call(e);
|
|
513
|
-
return r === "[object RegExp]" || r === "[object Date]" ||
|
|
513
|
+
return r === "[object RegExp]" || r === "[object Date]" || rn(e);
|
|
514
514
|
}
|
|
515
|
-
var
|
|
516
|
-
function
|
|
517
|
-
return e.$$typeof ===
|
|
515
|
+
var Ki = typeof Symbol == "function" && Symbol.for, en = Ki ? Symbol.for("react.element") : 60103;
|
|
516
|
+
function rn(e) {
|
|
517
|
+
return e.$$typeof === en;
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function tn(e) {
|
|
520
520
|
return Array.isArray(e) ? [] : {};
|
|
521
521
|
}
|
|
522
522
|
function xr(e, r) {
|
|
523
|
-
return r.clone !== !1 && r.isMergeableObject(e) ? sr(
|
|
523
|
+
return r.clone !== !1 && r.isMergeableObject(e) ? sr(tn(e), e, r) : e;
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function nn(e, r, t) {
|
|
526
526
|
return e.concat(r).map(function(i) {
|
|
527
527
|
return xr(i, t);
|
|
528
528
|
});
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function sn(e, r) {
|
|
531
531
|
if (!r.customMerge)
|
|
532
532
|
return sr;
|
|
533
533
|
var t = r.customMerge(e);
|
|
@@ -538,31 +538,31 @@ function on(e) {
|
|
|
538
538
|
return Object.propertyIsEnumerable.call(e, r);
|
|
539
539
|
}) : [];
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function It(e) {
|
|
542
542
|
return Object.keys(e).concat(on(e));
|
|
543
543
|
}
|
|
544
|
-
function
|
|
544
|
+
function ti(e, r) {
|
|
545
545
|
try {
|
|
546
546
|
return r in e;
|
|
547
547
|
} catch {
|
|
548
548
|
return !1;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
function
|
|
552
|
-
return
|
|
551
|
+
function an(e, r) {
|
|
552
|
+
return ti(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function ln(e, r, t) {
|
|
555
555
|
var i = {};
|
|
556
|
-
return t.isMergeableObject(e) &&
|
|
556
|
+
return t.isMergeableObject(e) && It(e).forEach(function(n) {
|
|
557
557
|
i[n] = xr(e[n], t);
|
|
558
|
-
}),
|
|
559
|
-
|
|
558
|
+
}), It(r).forEach(function(n) {
|
|
559
|
+
an(e, n) || (ti(e, n) && t.isMergeableObject(r[n]) ? i[n] = sn(n, t)(e[n], r[n], t) : i[n] = xr(r[n], t));
|
|
560
560
|
}), i;
|
|
561
561
|
}
|
|
562
562
|
function sr(e, r, t) {
|
|
563
|
-
t = t || {}, t.arrayMerge = t.arrayMerge ||
|
|
563
|
+
t = t || {}, t.arrayMerge = t.arrayMerge || nn, t.isMergeableObject = t.isMergeableObject || qi, t.cloneUnlessOtherwiseSpecified = xr;
|
|
564
564
|
var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
|
|
565
|
-
return s ? i ? t.arrayMerge(e, r, t) :
|
|
565
|
+
return s ? i ? t.arrayMerge(e, r, t) : ln(e, r, t) : xr(r, t);
|
|
566
566
|
}
|
|
567
567
|
sr.all = function(r, t) {
|
|
568
568
|
if (!Array.isArray(r))
|
|
@@ -571,8 +571,8 @@ sr.all = function(r, t) {
|
|
|
571
571
|
return sr(i, n, t);
|
|
572
572
|
}, {});
|
|
573
573
|
};
|
|
574
|
-
var
|
|
575
|
-
const
|
|
574
|
+
var un = sr, cn = un;
|
|
575
|
+
const hn = /* @__PURE__ */ Wi(cn);
|
|
576
576
|
var dt = function(e, r) {
|
|
577
577
|
return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
578
578
|
t.__proto__ = i;
|
|
@@ -598,7 +598,7 @@ var A = function() {
|
|
|
598
598
|
return r;
|
|
599
599
|
}, A.apply(this, arguments);
|
|
600
600
|
};
|
|
601
|
-
function
|
|
601
|
+
function fn(e, r) {
|
|
602
602
|
var t = {};
|
|
603
603
|
for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
604
604
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -611,40 +611,37 @@ function st(e, r, t) {
|
|
|
611
611
|
(s || !(i in r)) && (s || (s = Array.prototype.slice.call(r, 0, i)), s[i] = r[i]);
|
|
612
612
|
return e.concat(s || Array.prototype.slice.call(r));
|
|
613
613
|
}
|
|
614
|
-
function
|
|
615
|
-
var t = r && r.cache ? r.cache :
|
|
614
|
+
function ot(e, r) {
|
|
615
|
+
var t = r && r.cache ? r.cache : En, i = r && r.serializer ? r.serializer : bn, n = r && r.strategy ? r.strategy : gn;
|
|
616
616
|
return n(e, {
|
|
617
617
|
cache: t,
|
|
618
618
|
serializer: i
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function dn(e) {
|
|
622
622
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
623
623
|
}
|
|
624
|
-
function
|
|
625
|
-
var n =
|
|
624
|
+
function mn(e, r, t, i) {
|
|
625
|
+
var n = dn(i) ? i : t(i), s = r.get(n);
|
|
626
626
|
return typeof s > "u" && (s = e.call(this, i), r.set(n, s)), s;
|
|
627
627
|
}
|
|
628
|
-
function
|
|
628
|
+
function ii(e, r, t) {
|
|
629
629
|
var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
|
|
630
630
|
return typeof s > "u" && (s = e.apply(this, i), r.set(n, s)), s;
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function ni(e, r, t, i, n) {
|
|
633
633
|
return t.bind(r, e, i, n);
|
|
634
634
|
}
|
|
635
635
|
function gn(e, r) {
|
|
636
|
-
var t = e.length === 1 ?
|
|
637
|
-
return
|
|
636
|
+
var t = e.length === 1 ? mn : ii;
|
|
637
|
+
return ni(e, this, t, r.cache.create(), r.serializer);
|
|
638
638
|
}
|
|
639
639
|
function pn(e, r) {
|
|
640
|
-
return
|
|
640
|
+
return ni(e, this, ii, r.cache.create(), r.serializer);
|
|
641
641
|
}
|
|
642
|
-
|
|
643
|
-
return St(e, this, ni, r.cache.create(), r.serializer);
|
|
644
|
-
}
|
|
645
|
-
var yn = function() {
|
|
642
|
+
var bn = function() {
|
|
646
643
|
return JSON.stringify(arguments);
|
|
647
|
-
},
|
|
644
|
+
}, yn = (
|
|
648
645
|
/** @class */
|
|
649
646
|
function() {
|
|
650
647
|
function e() {
|
|
@@ -656,13 +653,12 @@ var yn = function() {
|
|
|
656
653
|
this.cache[r] = t;
|
|
657
654
|
}, e;
|
|
658
655
|
}()
|
|
659
|
-
),
|
|
656
|
+
), En = {
|
|
660
657
|
create: function() {
|
|
661
|
-
return new
|
|
658
|
+
return new yn();
|
|
662
659
|
}
|
|
663
|
-
},
|
|
664
|
-
variadic: pn
|
|
665
|
-
monadic: bn
|
|
660
|
+
}, at = {
|
|
661
|
+
variadic: pn
|
|
666
662
|
}, P;
|
|
667
663
|
(function(e) {
|
|
668
664
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
@@ -671,47 +667,47 @@ var N;
|
|
|
671
667
|
(function(e) {
|
|
672
668
|
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";
|
|
673
669
|
})(N || (N = {}));
|
|
674
|
-
var
|
|
670
|
+
var or;
|
|
675
671
|
(function(e) {
|
|
676
672
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
677
|
-
})(
|
|
678
|
-
function
|
|
673
|
+
})(or || (or = {}));
|
|
674
|
+
function Bt(e) {
|
|
679
675
|
return e.type === N.literal;
|
|
680
676
|
}
|
|
681
677
|
function vn(e) {
|
|
682
678
|
return e.type === N.argument;
|
|
683
679
|
}
|
|
684
|
-
function
|
|
680
|
+
function si(e) {
|
|
685
681
|
return e.type === N.number;
|
|
686
682
|
}
|
|
687
683
|
function oi(e) {
|
|
688
684
|
return e.type === N.date;
|
|
689
685
|
}
|
|
690
|
-
function
|
|
686
|
+
function ai(e) {
|
|
691
687
|
return e.type === N.time;
|
|
692
688
|
}
|
|
693
|
-
function
|
|
689
|
+
function li(e) {
|
|
694
690
|
return e.type === N.select;
|
|
695
691
|
}
|
|
696
|
-
function
|
|
692
|
+
function ui(e) {
|
|
697
693
|
return e.type === N.plural;
|
|
698
694
|
}
|
|
699
|
-
function
|
|
695
|
+
function _n(e) {
|
|
700
696
|
return e.type === N.pound;
|
|
701
697
|
}
|
|
702
|
-
function
|
|
698
|
+
function ci(e) {
|
|
703
699
|
return e.type === N.tag;
|
|
704
700
|
}
|
|
705
|
-
function
|
|
706
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
701
|
+
function hi(e) {
|
|
702
|
+
return !!(e && typeof e == "object" && e.type === or.number);
|
|
707
703
|
}
|
|
708
704
|
function mt(e) {
|
|
709
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
705
|
+
return !!(e && typeof e == "object" && e.type === or.dateTime);
|
|
710
706
|
}
|
|
711
|
-
var
|
|
712
|
-
function
|
|
707
|
+
var fi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
|
|
708
|
+
function Sn(e) {
|
|
713
709
|
var r = {};
|
|
714
|
-
return e.replace(
|
|
710
|
+
return e.replace(wn, function(t) {
|
|
715
711
|
var i = t.length;
|
|
716
712
|
switch (t[0]) {
|
|
717
713
|
case "G":
|
|
@@ -800,36 +796,36 @@ function Pn(e) {
|
|
|
800
796
|
return "";
|
|
801
797
|
}), r;
|
|
802
798
|
}
|
|
803
|
-
var
|
|
804
|
-
function
|
|
799
|
+
var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
800
|
+
function Cn(e) {
|
|
805
801
|
if (e.length === 0)
|
|
806
802
|
throw new Error("Number skeleton cannot be empty");
|
|
807
|
-
for (var r = e.split(
|
|
803
|
+
for (var r = e.split(Pn).filter(function(g) {
|
|
808
804
|
return g.length > 0;
|
|
809
805
|
}), t = [], i = 0, n = r; i < n.length; i++) {
|
|
810
806
|
var s = n[i], u = s.split("/");
|
|
811
807
|
if (u.length === 0)
|
|
812
808
|
throw new Error("Invalid number skeleton");
|
|
813
|
-
for (var
|
|
809
|
+
for (var a = u[0], f = u.slice(1), c = 0, h = f; c < h.length; c++) {
|
|
814
810
|
var m = h[c];
|
|
815
811
|
if (m.length === 0)
|
|
816
812
|
throw new Error("Invalid number skeleton");
|
|
817
813
|
}
|
|
818
|
-
t.push({ stem:
|
|
814
|
+
t.push({ stem: a, options: f });
|
|
819
815
|
}
|
|
820
816
|
return t;
|
|
821
817
|
}
|
|
822
|
-
function
|
|
818
|
+
function xn(e) {
|
|
823
819
|
return e.replace(/^(.*?)-/, "");
|
|
824
820
|
}
|
|
825
|
-
var
|
|
826
|
-
function
|
|
821
|
+
var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, di = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, mi = /^(0+)$/;
|
|
822
|
+
function Ot(e) {
|
|
827
823
|
var r = {};
|
|
828
|
-
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(
|
|
824
|
+
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(di, function(t, i, n) {
|
|
829
825
|
return typeof n != "string" ? (r.minimumSignificantDigits = i.length, r.maximumSignificantDigits = i.length) : n === "+" ? r.minimumSignificantDigits = i.length : i[0] === "#" ? r.maximumSignificantDigits = i.length : (r.minimumSignificantDigits = i.length, r.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
|
|
830
826
|
}), r;
|
|
831
827
|
}
|
|
832
|
-
function
|
|
828
|
+
function gi(e) {
|
|
833
829
|
switch (e) {
|
|
834
830
|
case "sign-auto":
|
|
835
831
|
return {
|
|
@@ -869,7 +865,7 @@ function pi(e) {
|
|
|
869
865
|
};
|
|
870
866
|
}
|
|
871
867
|
}
|
|
872
|
-
function
|
|
868
|
+
function Tn(e) {
|
|
873
869
|
var r;
|
|
874
870
|
if (e[0] === "E" && e[1] === "E" ? (r = {
|
|
875
871
|
notation: "engineering"
|
|
@@ -877,17 +873,17 @@ function Hn(e) {
|
|
|
877
873
|
notation: "scientific"
|
|
878
874
|
}, e = e.slice(1)), r) {
|
|
879
875
|
var t = e.slice(0, 2);
|
|
880
|
-
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
876
|
+
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !mi.test(e))
|
|
881
877
|
throw new Error("Malformed concise eng/scientific notation");
|
|
882
878
|
r.minimumIntegerDigits = e.length;
|
|
883
879
|
}
|
|
884
880
|
return r;
|
|
885
881
|
}
|
|
886
|
-
function
|
|
887
|
-
var r = {}, t =
|
|
882
|
+
function Lt(e) {
|
|
883
|
+
var r = {}, t = gi(e);
|
|
888
884
|
return t || r;
|
|
889
885
|
}
|
|
890
|
-
function
|
|
886
|
+
function Hn(e) {
|
|
891
887
|
for (var r = {}, t = 0, i = e; t < i.length; t++) {
|
|
892
888
|
var n = i[t];
|
|
893
889
|
switch (n.stem) {
|
|
@@ -911,7 +907,7 @@ function In(e) {
|
|
|
911
907
|
continue;
|
|
912
908
|
case "measure-unit":
|
|
913
909
|
case "unit":
|
|
914
|
-
r.style = "unit", r.unit =
|
|
910
|
+
r.style = "unit", r.unit = xn(n.options[0]);
|
|
915
911
|
continue;
|
|
916
912
|
case "compact-short":
|
|
917
913
|
case "K":
|
|
@@ -923,12 +919,12 @@ function In(e) {
|
|
|
923
919
|
continue;
|
|
924
920
|
case "scientific":
|
|
925
921
|
r = A(A(A({}, r), { notation: "scientific" }), n.options.reduce(function(f, c) {
|
|
926
|
-
return A(A({}, f),
|
|
922
|
+
return A(A({}, f), Lt(c));
|
|
927
923
|
}, {}));
|
|
928
924
|
continue;
|
|
929
925
|
case "engineering":
|
|
930
926
|
r = A(A(A({}, r), { notation: "engineering" }), n.options.reduce(function(f, c) {
|
|
931
|
-
return A(A({}, f),
|
|
927
|
+
return A(A({}, f), Lt(c));
|
|
932
928
|
}, {}));
|
|
933
929
|
continue;
|
|
934
930
|
case "notation-simple":
|
|
@@ -973,7 +969,7 @@ function In(e) {
|
|
|
973
969
|
case "integer-width":
|
|
974
970
|
if (n.options.length > 1)
|
|
975
971
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
976
|
-
n.options[0].replace(
|
|
972
|
+
n.options[0].replace(An, function(f, c, h, m, g, b) {
|
|
977
973
|
if (c)
|
|
978
974
|
r.minimumIntegerDigits = h.length;
|
|
979
975
|
else {
|
|
@@ -986,28 +982,28 @@ function In(e) {
|
|
|
986
982
|
});
|
|
987
983
|
continue;
|
|
988
984
|
}
|
|
989
|
-
if (
|
|
985
|
+
if (mi.test(n.stem)) {
|
|
990
986
|
r.minimumIntegerDigits = n.stem.length;
|
|
991
987
|
continue;
|
|
992
988
|
}
|
|
993
|
-
if (
|
|
989
|
+
if (Nt.test(n.stem)) {
|
|
994
990
|
if (n.options.length > 1)
|
|
995
991
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
996
|
-
n.stem.replace(
|
|
992
|
+
n.stem.replace(Nt, function(f, c, h, m, g, b) {
|
|
997
993
|
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), "";
|
|
998
994
|
});
|
|
999
995
|
var s = n.options[0];
|
|
1000
|
-
s === "w" ? r = A(A({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = A(A({}, r),
|
|
996
|
+
s === "w" ? r = A(A({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = A(A({}, r), Ot(s)));
|
|
1001
997
|
continue;
|
|
1002
998
|
}
|
|
1003
|
-
if (
|
|
1004
|
-
r = A(A({}, r),
|
|
999
|
+
if (di.test(n.stem)) {
|
|
1000
|
+
r = A(A({}, r), Ot(n.stem));
|
|
1005
1001
|
continue;
|
|
1006
1002
|
}
|
|
1007
|
-
var u =
|
|
1003
|
+
var u = gi(n.stem);
|
|
1008
1004
|
u && (r = A(A({}, r), u));
|
|
1009
|
-
var
|
|
1010
|
-
|
|
1005
|
+
var a = Tn(n.stem);
|
|
1006
|
+
a && (r = A(A({}, r), a));
|
|
1011
1007
|
}
|
|
1012
1008
|
return r;
|
|
1013
1009
|
}
|
|
@@ -2426,14 +2422,14 @@ var zr = {
|
|
|
2426
2422
|
"h"
|
|
2427
2423
|
]
|
|
2428
2424
|
};
|
|
2429
|
-
function
|
|
2425
|
+
function In(e, r) {
|
|
2430
2426
|
for (var t = "", i = 0; i < e.length; i++) {
|
|
2431
2427
|
var n = e.charAt(i);
|
|
2432
2428
|
if (n === "j") {
|
|
2433
2429
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2434
2430
|
s++, i++;
|
|
2435
|
-
var u = 1 + (s & 1),
|
|
2436
|
-
for ((c == "H" || c == "k") && (
|
|
2431
|
+
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), f = "a", c = Bn(r);
|
|
2432
|
+
for ((c == "H" || c == "k") && (a = 0); a-- > 0; )
|
|
2437
2433
|
t += f;
|
|
2438
2434
|
for (; u-- > 0; )
|
|
2439
2435
|
t = c + t;
|
|
@@ -2441,7 +2437,7 @@ function Bn(e, r) {
|
|
|
2441
2437
|
}
|
|
2442
2438
|
return t;
|
|
2443
2439
|
}
|
|
2444
|
-
function
|
|
2440
|
+
function Bn(e) {
|
|
2445
2441
|
var r = e.hourCycle;
|
|
2446
2442
|
if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2447
2443
|
e.hourCycles && // @ts-ignore
|
|
@@ -2463,20 +2459,20 @@ function Nn(e) {
|
|
|
2463
2459
|
var n = zr[i || ""] || zr[t || ""] || zr["".concat(t, "-001")] || zr["001"];
|
|
2464
2460
|
return n[0];
|
|
2465
2461
|
}
|
|
2466
|
-
var lt,
|
|
2462
|
+
var lt, Nn = new RegExp("^".concat(fi.source, "*")), On = new RegExp("".concat(fi.source, "*$"));
|
|
2467
2463
|
function C(e, r) {
|
|
2468
2464
|
return { start: e, end: r };
|
|
2469
2465
|
}
|
|
2470
|
-
var
|
|
2466
|
+
var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mn = !!String.fromCodePoint, Rn = !!Object.fromEntries, Un = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Gn = Dn ? Number.isSafeInteger : function(e) {
|
|
2471
2467
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2472
2468
|
}, gt = !0;
|
|
2473
2469
|
try {
|
|
2474
|
-
var
|
|
2475
|
-
gt = ((lt =
|
|
2470
|
+
var jn = bi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2471
|
+
gt = ((lt = jn.exec("a")) === null || lt === void 0 ? void 0 : lt[0]) === "a";
|
|
2476
2472
|
} catch {
|
|
2477
2473
|
gt = !1;
|
|
2478
2474
|
}
|
|
2479
|
-
var
|
|
2475
|
+
var Mt = Ln ? (
|
|
2480
2476
|
// Native
|
|
2481
2477
|
function(r, t, i) {
|
|
2482
2478
|
return r.startsWith(t, i);
|
|
@@ -2486,7 +2482,7 @@ var Rt = Mn ? (
|
|
|
2486
2482
|
function(r, t, i) {
|
|
2487
2483
|
return r.slice(i, i + t.length) === t;
|
|
2488
2484
|
}
|
|
2489
|
-
), pt =
|
|
2485
|
+
), pt = Mn ? String.fromCodePoint : (
|
|
2490
2486
|
// IE11
|
|
2491
2487
|
function() {
|
|
2492
2488
|
for (var r = [], t = 0; t < arguments.length; t++)
|
|
@@ -2498,19 +2494,19 @@ var Rt = Mn ? (
|
|
|
2498
2494
|
}
|
|
2499
2495
|
return i;
|
|
2500
2496
|
}
|
|
2501
|
-
),
|
|
2497
|
+
), Rt = (
|
|
2502
2498
|
// native
|
|
2503
|
-
|
|
2499
|
+
Rn ? Object.fromEntries : (
|
|
2504
2500
|
// Ponyfill
|
|
2505
2501
|
function(r) {
|
|
2506
2502
|
for (var t = {}, i = 0, n = r; i < n.length; i++) {
|
|
2507
|
-
var s = n[i], u = s[0],
|
|
2508
|
-
t[u] =
|
|
2503
|
+
var s = n[i], u = s[0], a = s[1];
|
|
2504
|
+
t[u] = a;
|
|
2509
2505
|
}
|
|
2510
2506
|
return t;
|
|
2511
2507
|
}
|
|
2512
2508
|
)
|
|
2513
|
-
),
|
|
2509
|
+
), pi = Un ? (
|
|
2514
2510
|
// Native
|
|
2515
2511
|
function(r, t) {
|
|
2516
2512
|
return r.codePointAt(t);
|
|
@@ -2524,7 +2520,7 @@ var Rt = Mn ? (
|
|
|
2524
2520
|
return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2525
2521
|
}
|
|
2526
2522
|
}
|
|
2527
|
-
),
|
|
2523
|
+
), Vn = kn ? (
|
|
2528
2524
|
// Native
|
|
2529
2525
|
function(r) {
|
|
2530
2526
|
return r.trimStart();
|
|
@@ -2532,9 +2528,9 @@ var Rt = Mn ? (
|
|
|
2532
2528
|
) : (
|
|
2533
2529
|
// Ponyfill
|
|
2534
2530
|
function(r) {
|
|
2535
|
-
return r.replace(
|
|
2531
|
+
return r.replace(Nn, "");
|
|
2536
2532
|
}
|
|
2537
|
-
),
|
|
2533
|
+
), $n = Fn ? (
|
|
2538
2534
|
// Native
|
|
2539
2535
|
function(r) {
|
|
2540
2536
|
return r.trimEnd();
|
|
@@ -2542,32 +2538,32 @@ var Rt = Mn ? (
|
|
|
2542
2538
|
) : (
|
|
2543
2539
|
// Ponyfill
|
|
2544
2540
|
function(r) {
|
|
2545
|
-
return r.replace(
|
|
2541
|
+
return r.replace(On, "");
|
|
2546
2542
|
}
|
|
2547
2543
|
);
|
|
2548
|
-
function
|
|
2544
|
+
function bi(e, r) {
|
|
2549
2545
|
return new RegExp(e, r);
|
|
2550
2546
|
}
|
|
2551
2547
|
var bt;
|
|
2552
2548
|
if (gt) {
|
|
2553
|
-
var
|
|
2549
|
+
var Ut = bi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2554
2550
|
bt = function(r, t) {
|
|
2555
2551
|
var i;
|
|
2556
|
-
|
|
2557
|
-
var n =
|
|
2552
|
+
Ut.lastIndex = t;
|
|
2553
|
+
var n = Ut.exec(r);
|
|
2558
2554
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2559
2555
|
};
|
|
2560
2556
|
} else
|
|
2561
2557
|
bt = function(r, t) {
|
|
2562
2558
|
for (var i = []; ; ) {
|
|
2563
|
-
var n =
|
|
2564
|
-
if (n === void 0 ||
|
|
2559
|
+
var n = pi(r, t);
|
|
2560
|
+
if (n === void 0 || yi(n) || Zn(n))
|
|
2565
2561
|
break;
|
|
2566
2562
|
i.push(n), t += n >= 65536 ? 2 : 1;
|
|
2567
2563
|
}
|
|
2568
2564
|
return pt.apply(void 0, i);
|
|
2569
2565
|
};
|
|
2570
|
-
var
|
|
2566
|
+
var Qn = (
|
|
2571
2567
|
/** @class */
|
|
2572
2568
|
function() {
|
|
2573
2569
|
function e(r, t) {
|
|
@@ -2589,10 +2585,10 @@ var zn = (
|
|
|
2589
2585
|
if (s === 125 && r > 0)
|
|
2590
2586
|
break;
|
|
2591
2587
|
if (s === 35 && (t === "plural" || t === "selectordinal")) {
|
|
2592
|
-
var
|
|
2588
|
+
var a = this.clonePosition();
|
|
2593
2589
|
this.bump(), n.push({
|
|
2594
2590
|
type: N.pound,
|
|
2595
|
-
location: C(
|
|
2591
|
+
location: C(a, this.clonePosition())
|
|
2596
2592
|
});
|
|
2597
2593
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2598
2594
|
if (i)
|
|
@@ -2629,10 +2625,10 @@ var zn = (
|
|
|
2629
2625
|
var s = this.parseMessage(r + 1, t, !0);
|
|
2630
2626
|
if (s.err)
|
|
2631
2627
|
return s;
|
|
2632
|
-
var u = s.val,
|
|
2628
|
+
var u = s.val, a = this.clonePosition();
|
|
2633
2629
|
if (this.bumpIf("</")) {
|
|
2634
2630
|
if (this.isEOF() || !yt(this.char()))
|
|
2635
|
-
return this.error(P.INVALID_TAG, C(
|
|
2631
|
+
return this.error(P.INVALID_TAG, C(a, this.clonePosition()));
|
|
2636
2632
|
var f = this.clonePosition(), c = this.parseTagName();
|
|
2637
2633
|
return n !== c ? this.error(P.UNMATCHED_CLOSING_TAG, C(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2638
2634
|
val: {
|
|
@@ -2642,14 +2638,14 @@ var zn = (
|
|
|
2642
2638
|
location: C(i, this.clonePosition())
|
|
2643
2639
|
},
|
|
2644
2640
|
err: null
|
|
2645
|
-
} : this.error(P.INVALID_TAG, C(
|
|
2641
|
+
} : this.error(P.INVALID_TAG, C(a, this.clonePosition())));
|
|
2646
2642
|
} else
|
|
2647
2643
|
return this.error(P.UNCLOSED_TAG, C(i, this.clonePosition()));
|
|
2648
2644
|
} else
|
|
2649
2645
|
return this.error(P.INVALID_TAG, C(i, this.clonePosition()));
|
|
2650
2646
|
}, e.prototype.parseTagName = function() {
|
|
2651
2647
|
var r = this.offset();
|
|
2652
|
-
for (this.bump(); !this.isEOF() &&
|
|
2648
|
+
for (this.bump(); !this.isEOF() && Xn(this.char()); )
|
|
2653
2649
|
this.bump();
|
|
2654
2650
|
return this.message.slice(r, this.offset());
|
|
2655
2651
|
}, e.prototype.parseLiteral = function(r, t) {
|
|
@@ -2664,9 +2660,9 @@ var zn = (
|
|
|
2664
2660
|
n += u;
|
|
2665
2661
|
continue;
|
|
2666
2662
|
}
|
|
2667
|
-
var
|
|
2668
|
-
if (
|
|
2669
|
-
n +=
|
|
2663
|
+
var a = this.tryParseLeftAngleBracket();
|
|
2664
|
+
if (a) {
|
|
2665
|
+
n += a;
|
|
2670
2666
|
continue;
|
|
2671
2667
|
}
|
|
2672
2668
|
break;
|
|
@@ -2678,7 +2674,7 @@ var zn = (
|
|
|
2678
2674
|
};
|
|
2679
2675
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2680
2676
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2681
|
-
!
|
|
2677
|
+
!zn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2682
2678
|
}, e.prototype.tryParseQuote = function(r) {
|
|
2683
2679
|
if (this.isEOF() || this.char() !== 39)
|
|
2684
2680
|
return null;
|
|
@@ -2751,8 +2747,8 @@ var zn = (
|
|
|
2751
2747
|
var s = this.clonePosition(), u = C(r, s);
|
|
2752
2748
|
return { value: i, location: u };
|
|
2753
2749
|
}, e.prototype.parseArgumentOptions = function(r, t, i, n) {
|
|
2754
|
-
var s, u = this.clonePosition(),
|
|
2755
|
-
switch (
|
|
2750
|
+
var s, u = this.clonePosition(), a = this.parseIdentifierIfPossible().value, f = this.clonePosition();
|
|
2751
|
+
switch (a) {
|
|
2756
2752
|
case "":
|
|
2757
2753
|
return this.error(P.EXPECT_ARGUMENT_TYPE, C(u, f));
|
|
2758
2754
|
case "number":
|
|
@@ -2765,19 +2761,19 @@ var zn = (
|
|
|
2765
2761
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2766
2762
|
if (m.err)
|
|
2767
2763
|
return m;
|
|
2768
|
-
var g =
|
|
2764
|
+
var g = $n(m.val);
|
|
2769
2765
|
if (g.length === 0)
|
|
2770
2766
|
return this.error(P.EXPECT_ARGUMENT_STYLE, C(this.clonePosition(), this.clonePosition()));
|
|
2771
2767
|
var b = C(h, this.clonePosition());
|
|
2772
2768
|
c = { style: g, styleLocation: b };
|
|
2773
2769
|
}
|
|
2774
|
-
var
|
|
2775
|
-
if (
|
|
2776
|
-
return
|
|
2770
|
+
var _ = this.tryParseArgumentClose(n);
|
|
2771
|
+
if (_.err)
|
|
2772
|
+
return _;
|
|
2777
2773
|
var y = C(n, this.clonePosition());
|
|
2778
|
-
if (c &&
|
|
2779
|
-
var w =
|
|
2780
|
-
if (
|
|
2774
|
+
if (c && Mt(c?.style, "::", 0)) {
|
|
2775
|
+
var w = Vn(c.style.slice(2));
|
|
2776
|
+
if (a === "number") {
|
|
2781
2777
|
var m = this.parseNumberSkeletonFromString(w, c.styleLocation);
|
|
2782
2778
|
return m.err ? m : {
|
|
2783
2779
|
val: { type: N.number, value: i, location: y, style: m.val },
|
|
@@ -2787,13 +2783,13 @@ var zn = (
|
|
|
2787
2783
|
if (w.length === 0)
|
|
2788
2784
|
return this.error(P.EXPECT_DATE_TIME_SKELETON, y);
|
|
2789
2785
|
var B = w;
|
|
2790
|
-
this.locale && (B =
|
|
2786
|
+
this.locale && (B = In(w, this.locale));
|
|
2791
2787
|
var g = {
|
|
2792
|
-
type:
|
|
2788
|
+
type: or.dateTime,
|
|
2793
2789
|
pattern: B,
|
|
2794
2790
|
location: c.styleLocation,
|
|
2795
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2796
|
-
}, $ =
|
|
2791
|
+
parsedOptions: this.shouldParseSkeletons ? Sn(B) : {}
|
|
2792
|
+
}, $ = a === "date" ? N.date : N.time;
|
|
2797
2793
|
return {
|
|
2798
2794
|
val: { type: $, value: i, location: y, style: g },
|
|
2799
2795
|
err: null
|
|
@@ -2802,7 +2798,7 @@ var zn = (
|
|
|
2802
2798
|
}
|
|
2803
2799
|
return {
|
|
2804
2800
|
val: {
|
|
2805
|
-
type:
|
|
2801
|
+
type: a === "number" ? N.number : a === "date" ? N.date : N.time,
|
|
2806
2802
|
value: i,
|
|
2807
2803
|
location: y,
|
|
2808
2804
|
style: (s = c?.style) !== null && s !== void 0 ? s : null
|
|
@@ -2818,7 +2814,7 @@ var zn = (
|
|
|
2818
2814
|
return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, C(M, A({}, M)));
|
|
2819
2815
|
this.bumpSpace();
|
|
2820
2816
|
var de = this.parseIdentifierIfPossible(), G = 0;
|
|
2821
|
-
if (
|
|
2817
|
+
if (a !== "select" && de.value === "offset") {
|
|
2822
2818
|
if (!this.bumpIf(":"))
|
|
2823
2819
|
return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C(this.clonePosition(), this.clonePosition()));
|
|
2824
2820
|
this.bumpSpace();
|
|
@@ -2827,18 +2823,18 @@ var zn = (
|
|
|
2827
2823
|
return m;
|
|
2828
2824
|
this.bumpSpace(), de = this.parseIdentifierIfPossible(), G = m.val;
|
|
2829
2825
|
}
|
|
2830
|
-
var be = this.tryParsePluralOrSelectOptions(r,
|
|
2826
|
+
var be = this.tryParsePluralOrSelectOptions(r, a, t, de);
|
|
2831
2827
|
if (be.err)
|
|
2832
2828
|
return be;
|
|
2833
|
-
var
|
|
2834
|
-
if (
|
|
2835
|
-
return
|
|
2829
|
+
var _ = this.tryParseArgumentClose(n);
|
|
2830
|
+
if (_.err)
|
|
2831
|
+
return _;
|
|
2836
2832
|
var R = C(n, this.clonePosition());
|
|
2837
|
-
return
|
|
2833
|
+
return a === "select" ? {
|
|
2838
2834
|
val: {
|
|
2839
2835
|
type: N.select,
|
|
2840
2836
|
value: i,
|
|
2841
|
-
options:
|
|
2837
|
+
options: Rt(be.val),
|
|
2842
2838
|
location: R
|
|
2843
2839
|
},
|
|
2844
2840
|
err: null
|
|
@@ -2846,9 +2842,9 @@ var zn = (
|
|
|
2846
2842
|
val: {
|
|
2847
2843
|
type: N.plural,
|
|
2848
2844
|
value: i,
|
|
2849
|
-
options:
|
|
2845
|
+
options: Rt(be.val),
|
|
2850
2846
|
offset: G,
|
|
2851
|
-
pluralType:
|
|
2847
|
+
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2852
2848
|
location: R
|
|
2853
2849
|
},
|
|
2854
2850
|
err: null
|
|
@@ -2897,21 +2893,21 @@ var zn = (
|
|
|
2897
2893
|
}, e.prototype.parseNumberSkeletonFromString = function(r, t) {
|
|
2898
2894
|
var i = [];
|
|
2899
2895
|
try {
|
|
2900
|
-
i =
|
|
2896
|
+
i = Cn(r);
|
|
2901
2897
|
} catch {
|
|
2902
2898
|
return this.error(P.INVALID_NUMBER_SKELETON, t);
|
|
2903
2899
|
}
|
|
2904
2900
|
return {
|
|
2905
2901
|
val: {
|
|
2906
|
-
type:
|
|
2902
|
+
type: or.number,
|
|
2907
2903
|
tokens: i,
|
|
2908
2904
|
location: t,
|
|
2909
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2905
|
+
parsedOptions: this.shouldParseSkeletons ? Hn(i) : {}
|
|
2910
2906
|
},
|
|
2911
2907
|
err: null
|
|
2912
2908
|
};
|
|
2913
2909
|
}, e.prototype.tryParsePluralOrSelectOptions = function(r, t, i, n) {
|
|
2914
|
-
for (var s, u = !1,
|
|
2910
|
+
for (var s, u = !1, a = [], f = /* @__PURE__ */ new Set(), c = n.value, h = n.location; ; ) {
|
|
2915
2911
|
if (c.length === 0) {
|
|
2916
2912
|
var m = this.clonePosition();
|
|
2917
2913
|
if (t !== "select" && this.bumpIf("=")) {
|
|
@@ -2928,33 +2924,33 @@ var zn = (
|
|
|
2928
2924
|
var b = this.clonePosition();
|
|
2929
2925
|
if (!this.bumpIf("{"))
|
|
2930
2926
|
return this.error(t === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, C(this.clonePosition(), this.clonePosition()));
|
|
2931
|
-
var
|
|
2932
|
-
if (
|
|
2933
|
-
return
|
|
2927
|
+
var _ = this.parseMessage(r + 1, t, i);
|
|
2928
|
+
if (_.err)
|
|
2929
|
+
return _;
|
|
2934
2930
|
var y = this.tryParseArgumentClose(b);
|
|
2935
2931
|
if (y.err)
|
|
2936
2932
|
return y;
|
|
2937
|
-
|
|
2933
|
+
a.push([
|
|
2938
2934
|
c,
|
|
2939
2935
|
{
|
|
2940
|
-
value:
|
|
2936
|
+
value: _.val,
|
|
2941
2937
|
location: C(b, this.clonePosition())
|
|
2942
2938
|
}
|
|
2943
2939
|
]), f.add(c), this.bumpSpace(), s = this.parseIdentifierIfPossible(), c = s.value, h = s.location;
|
|
2944
2940
|
}
|
|
2945
|
-
return
|
|
2941
|
+
return a.length === 0 ? this.error(t === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, C(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(P.MISSING_OTHER_CLAUSE, C(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
2946
2942
|
}, e.prototype.tryParseDecimalInteger = function(r, t) {
|
|
2947
2943
|
var i = 1, n = this.clonePosition();
|
|
2948
2944
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
2949
2945
|
for (var s = !1, u = 0; !this.isEOF(); ) {
|
|
2950
|
-
var
|
|
2951
|
-
if (
|
|
2952
|
-
s = !0, u = u * 10 + (
|
|
2946
|
+
var a = this.char();
|
|
2947
|
+
if (a >= 48 && a <= 57)
|
|
2948
|
+
s = !0, u = u * 10 + (a - 48), this.bump();
|
|
2953
2949
|
else
|
|
2954
2950
|
break;
|
|
2955
2951
|
}
|
|
2956
2952
|
var f = C(n, this.clonePosition());
|
|
2957
|
-
return s ? (u *= i,
|
|
2953
|
+
return s ? (u *= i, Gn(u) ? { val: u, err: null } : this.error(t, f)) : this.error(r, f);
|
|
2958
2954
|
}, e.prototype.offset = function() {
|
|
2959
2955
|
return this.position.offset;
|
|
2960
2956
|
}, e.prototype.isEOF = function() {
|
|
@@ -2969,7 +2965,7 @@ var zn = (
|
|
|
2969
2965
|
var r = this.position.offset;
|
|
2970
2966
|
if (r >= this.message.length)
|
|
2971
2967
|
throw Error("out of bound");
|
|
2972
|
-
var t =
|
|
2968
|
+
var t = pi(this.message, r);
|
|
2973
2969
|
if (t === void 0)
|
|
2974
2970
|
throw Error("Offset ".concat(r, " is at invalid UTF-16 code unit boundary"));
|
|
2975
2971
|
return t;
|
|
@@ -2988,7 +2984,7 @@ var zn = (
|
|
|
2988
2984
|
r === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += r < 65536 ? 1 : 2);
|
|
2989
2985
|
}
|
|
2990
2986
|
}, e.prototype.bumpIf = function(r) {
|
|
2991
|
-
if (
|
|
2987
|
+
if (Mt(this.message, r, this.offset())) {
|
|
2992
2988
|
for (var t = 0; t < r.length; t++)
|
|
2993
2989
|
this.bump();
|
|
2994
2990
|
return !0;
|
|
@@ -3010,7 +3006,7 @@ var zn = (
|
|
|
3010
3006
|
break;
|
|
3011
3007
|
}
|
|
3012
3008
|
}, e.prototype.bumpSpace = function() {
|
|
3013
|
-
for (; !this.isEOF() &&
|
|
3009
|
+
for (; !this.isEOF() && yi(this.char()); )
|
|
3014
3010
|
this.bump();
|
|
3015
3011
|
}, e.prototype.peek = function() {
|
|
3016
3012
|
if (this.isEOF())
|
|
@@ -3023,39 +3019,39 @@ var zn = (
|
|
|
3023
3019
|
function yt(e) {
|
|
3024
3020
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3025
3021
|
}
|
|
3026
|
-
function
|
|
3022
|
+
function zn(e) {
|
|
3027
3023
|
return yt(e) || e === 47;
|
|
3028
3024
|
}
|
|
3029
|
-
function
|
|
3025
|
+
function Xn(e) {
|
|
3030
3026
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3031
3027
|
}
|
|
3032
|
-
function
|
|
3028
|
+
function yi(e) {
|
|
3033
3029
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3034
3030
|
}
|
|
3035
|
-
function
|
|
3031
|
+
function Zn(e) {
|
|
3036
3032
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3037
3033
|
}
|
|
3038
3034
|
function Et(e) {
|
|
3039
3035
|
e.forEach(function(r) {
|
|
3040
|
-
if (delete r.location,
|
|
3036
|
+
if (delete r.location, li(r) || ui(r))
|
|
3041
3037
|
for (var t in r.options)
|
|
3042
3038
|
delete r.options[t].location, Et(r.options[t].value);
|
|
3043
|
-
else
|
|
3039
|
+
else si(r) && hi(r.style) || (oi(r) || ai(r)) && mt(r.style) ? delete r.style.location : ci(r) && Et(r.children);
|
|
3044
3040
|
});
|
|
3045
3041
|
}
|
|
3046
|
-
function
|
|
3042
|
+
function Wn(e, r) {
|
|
3047
3043
|
r === void 0 && (r = {}), r = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
|
|
3048
|
-
var t = new
|
|
3044
|
+
var t = new Qn(e, r).parse();
|
|
3049
3045
|
if (t.err) {
|
|
3050
3046
|
var i = SyntaxError(P[t.err.kind]);
|
|
3051
3047
|
throw i.location = t.err.location, i.originalMessage = t.err.message, i;
|
|
3052
3048
|
}
|
|
3053
3049
|
return r?.captureLocation || Et(t.val), t.val;
|
|
3054
3050
|
}
|
|
3055
|
-
var
|
|
3051
|
+
var ar;
|
|
3056
3052
|
(function(e) {
|
|
3057
3053
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3058
|
-
})(
|
|
3054
|
+
})(ar || (ar = {}));
|
|
3059
3055
|
var et = (
|
|
3060
3056
|
/** @class */
|
|
3061
3057
|
function(e) {
|
|
@@ -3068,30 +3064,30 @@ var et = (
|
|
|
3068
3064
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3069
3065
|
}, r;
|
|
3070
3066
|
}(Error)
|
|
3071
|
-
),
|
|
3067
|
+
), kt = (
|
|
3072
3068
|
/** @class */
|
|
3073
3069
|
function(e) {
|
|
3074
3070
|
Kr(r, e);
|
|
3075
3071
|
function r(t, i, n, s) {
|
|
3076
|
-
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3072
|
+
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ar.INVALID_VALUE, s) || this;
|
|
3077
3073
|
}
|
|
3078
3074
|
return r;
|
|
3079
3075
|
}(et)
|
|
3080
|
-
),
|
|
3076
|
+
), qn = (
|
|
3081
3077
|
/** @class */
|
|
3082
3078
|
function(e) {
|
|
3083
3079
|
Kr(r, e);
|
|
3084
3080
|
function r(t, i, n) {
|
|
3085
|
-
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i),
|
|
3081
|
+
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i), ar.INVALID_VALUE, n) || this;
|
|
3086
3082
|
}
|
|
3087
3083
|
return r;
|
|
3088
3084
|
}(et)
|
|
3089
|
-
),
|
|
3085
|
+
), Jn = (
|
|
3090
3086
|
/** @class */
|
|
3091
3087
|
function(e) {
|
|
3092
3088
|
Kr(r, e);
|
|
3093
3089
|
function r(t, i) {
|
|
3094
|
-
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'),
|
|
3090
|
+
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'), ar.MISSING_VALUE, i) || this;
|
|
3095
3091
|
}
|
|
3096
3092
|
return r;
|
|
3097
3093
|
}(et)
|
|
@@ -3099,34 +3095,34 @@ var et = (
|
|
|
3099
3095
|
(function(e) {
|
|
3100
3096
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3101
3097
|
})(z || (z = {}));
|
|
3102
|
-
function
|
|
3098
|
+
function Yn(e) {
|
|
3103
3099
|
return e.length < 2 ? e : e.reduce(function(r, t) {
|
|
3104
3100
|
var i = r[r.length - 1];
|
|
3105
3101
|
return !i || i.type !== z.literal || t.type !== z.literal ? r.push(t) : i.value += t.value, r;
|
|
3106
3102
|
}, []);
|
|
3107
3103
|
}
|
|
3108
|
-
function
|
|
3104
|
+
function Kn(e) {
|
|
3109
3105
|
return typeof e == "function";
|
|
3110
3106
|
}
|
|
3111
3107
|
function Zr(e, r, t, i, n, s, u) {
|
|
3112
|
-
if (e.length === 1 &&
|
|
3108
|
+
if (e.length === 1 && Bt(e[0]))
|
|
3113
3109
|
return [
|
|
3114
3110
|
{
|
|
3115
3111
|
type: z.literal,
|
|
3116
3112
|
value: e[0].value
|
|
3117
3113
|
}
|
|
3118
3114
|
];
|
|
3119
|
-
for (var
|
|
3115
|
+
for (var a = [], f = 0, c = e; f < c.length; f++) {
|
|
3120
3116
|
var h = c[f];
|
|
3121
|
-
if (
|
|
3122
|
-
|
|
3117
|
+
if (Bt(h)) {
|
|
3118
|
+
a.push({
|
|
3123
3119
|
type: z.literal,
|
|
3124
3120
|
value: h.value
|
|
3125
3121
|
});
|
|
3126
3122
|
continue;
|
|
3127
3123
|
}
|
|
3128
|
-
if (
|
|
3129
|
-
typeof s == "number" &&
|
|
3124
|
+
if (_n(h)) {
|
|
3125
|
+
typeof s == "number" && a.push({
|
|
3130
3126
|
type: z.literal,
|
|
3131
3127
|
value: t.getNumberFormat(r).format(s)
|
|
3132
3128
|
});
|
|
@@ -3134,10 +3130,10 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3134
3130
|
}
|
|
3135
3131
|
var m = h.value;
|
|
3136
3132
|
if (!(n && m in n))
|
|
3137
|
-
throw new
|
|
3133
|
+
throw new Jn(m, u);
|
|
3138
3134
|
var g = n[m];
|
|
3139
3135
|
if (vn(h)) {
|
|
3140
|
-
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""),
|
|
3136
|
+
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), a.push({
|
|
3141
3137
|
type: typeof g == "string" ? z.literal : z.object,
|
|
3142
3138
|
value: g
|
|
3143
3139
|
});
|
|
@@ -3145,75 +3141,75 @@ function Zr(e, r, t, i, n, s, u) {
|
|
|
3145
3141
|
}
|
|
3146
3142
|
if (oi(h)) {
|
|
3147
3143
|
var b = typeof h.style == "string" ? i.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
|
|
3148
|
-
|
|
3144
|
+
a.push({
|
|
3149
3145
|
type: z.literal,
|
|
3150
3146
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3151
3147
|
});
|
|
3152
3148
|
continue;
|
|
3153
3149
|
}
|
|
3154
|
-
if (
|
|
3150
|
+
if (ai(h)) {
|
|
3155
3151
|
var b = typeof h.style == "string" ? i.time[h.style] : mt(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
3156
|
-
|
|
3152
|
+
a.push({
|
|
3157
3153
|
type: z.literal,
|
|
3158
3154
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3159
3155
|
});
|
|
3160
3156
|
continue;
|
|
3161
3157
|
}
|
|
3162
|
-
if (
|
|
3163
|
-
var b = typeof h.style == "string" ? i.number[h.style] :
|
|
3164
|
-
b && b.scale && (g = g * (b.scale || 1)),
|
|
3158
|
+
if (si(h)) {
|
|
3159
|
+
var b = typeof h.style == "string" ? i.number[h.style] : hi(h.style) ? h.style.parsedOptions : void 0;
|
|
3160
|
+
b && b.scale && (g = g * (b.scale || 1)), a.push({
|
|
3165
3161
|
type: z.literal,
|
|
3166
3162
|
value: t.getNumberFormat(r, b).format(g)
|
|
3167
3163
|
});
|
|
3168
3164
|
continue;
|
|
3169
3165
|
}
|
|
3170
|
-
if (
|
|
3171
|
-
var
|
|
3172
|
-
if (!
|
|
3173
|
-
throw new
|
|
3174
|
-
var B = Zr(
|
|
3166
|
+
if (ci(h)) {
|
|
3167
|
+
var _ = h.children, y = h.value, w = n[y];
|
|
3168
|
+
if (!Kn(w))
|
|
3169
|
+
throw new qn(y, "function", u);
|
|
3170
|
+
var B = Zr(_, r, t, i, n, s), $ = w(B.map(function(G) {
|
|
3175
3171
|
return G.value;
|
|
3176
3172
|
}));
|
|
3177
|
-
Array.isArray($) || ($ = [$]),
|
|
3173
|
+
Array.isArray($) || ($ = [$]), a.push.apply(a, $.map(function(G) {
|
|
3178
3174
|
return {
|
|
3179
3175
|
type: typeof G == "string" ? z.literal : z.object,
|
|
3180
3176
|
value: G
|
|
3181
3177
|
};
|
|
3182
3178
|
}));
|
|
3183
3179
|
}
|
|
3184
|
-
if (
|
|
3180
|
+
if (li(h)) {
|
|
3185
3181
|
var M = h.options[g] || h.options.other;
|
|
3186
3182
|
if (!M)
|
|
3187
|
-
throw new
|
|
3188
|
-
|
|
3183
|
+
throw new kt(h.value, g, Object.keys(h.options), u);
|
|
3184
|
+
a.push.apply(a, Zr(M.value, r, t, i, n));
|
|
3189
3185
|
continue;
|
|
3190
3186
|
}
|
|
3191
|
-
if (
|
|
3187
|
+
if (ui(h)) {
|
|
3192
3188
|
var M = h.options["=".concat(g)];
|
|
3193
3189
|
if (!M) {
|
|
3194
3190
|
if (!Intl.PluralRules)
|
|
3195
3191
|
throw new et(`Intl.PluralRules is not available in this environment.
|
|
3196
3192
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3197
|
-
`,
|
|
3193
|
+
`, ar.MISSING_INTL_API, u);
|
|
3198
3194
|
var de = t.getPluralRules(r, { type: h.pluralType }).select(g - (h.offset || 0));
|
|
3199
3195
|
M = h.options[de] || h.options.other;
|
|
3200
3196
|
}
|
|
3201
3197
|
if (!M)
|
|
3202
|
-
throw new
|
|
3203
|
-
|
|
3198
|
+
throw new kt(h.value, g, Object.keys(h.options), u);
|
|
3199
|
+
a.push.apply(a, Zr(M.value, r, t, i, n, g - (h.offset || 0)));
|
|
3204
3200
|
continue;
|
|
3205
3201
|
}
|
|
3206
3202
|
}
|
|
3207
|
-
return
|
|
3203
|
+
return Yn(a);
|
|
3208
3204
|
}
|
|
3209
|
-
function
|
|
3205
|
+
function es(e, r) {
|
|
3210
3206
|
return r ? A(A(A({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
|
|
3211
3207
|
return t[i] = A(A({}, e[i]), r[i] || {}), t;
|
|
3212
3208
|
}, {})) : e;
|
|
3213
3209
|
}
|
|
3214
|
-
function
|
|
3210
|
+
function rs(e, r) {
|
|
3215
3211
|
return r ? Object.keys(e).reduce(function(t, i) {
|
|
3216
|
-
return t[i] =
|
|
3212
|
+
return t[i] = es(e[i], r[i]), t;
|
|
3217
3213
|
}, A({}, e)) : e;
|
|
3218
3214
|
}
|
|
3219
3215
|
function ut(e) {
|
|
@@ -3230,39 +3226,39 @@ function ut(e) {
|
|
|
3230
3226
|
}
|
|
3231
3227
|
};
|
|
3232
3228
|
}
|
|
3233
|
-
function
|
|
3229
|
+
function ts(e) {
|
|
3234
3230
|
return e === void 0 && (e = {
|
|
3235
3231
|
number: {},
|
|
3236
3232
|
dateTime: {},
|
|
3237
3233
|
pluralRules: {}
|
|
3238
3234
|
}), {
|
|
3239
|
-
getNumberFormat:
|
|
3235
|
+
getNumberFormat: ot(function() {
|
|
3240
3236
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3241
3237
|
t[i] = arguments[i];
|
|
3242
3238
|
return new ((r = Intl.NumberFormat).bind.apply(r, st([void 0], t, !1)))();
|
|
3243
3239
|
}, {
|
|
3244
3240
|
cache: ut(e.number),
|
|
3245
|
-
strategy:
|
|
3241
|
+
strategy: at.variadic
|
|
3246
3242
|
}),
|
|
3247
|
-
getDateTimeFormat:
|
|
3243
|
+
getDateTimeFormat: ot(function() {
|
|
3248
3244
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3249
3245
|
t[i] = arguments[i];
|
|
3250
3246
|
return new ((r = Intl.DateTimeFormat).bind.apply(r, st([void 0], t, !1)))();
|
|
3251
3247
|
}, {
|
|
3252
3248
|
cache: ut(e.dateTime),
|
|
3253
|
-
strategy:
|
|
3249
|
+
strategy: at.variadic
|
|
3254
3250
|
}),
|
|
3255
|
-
getPluralRules:
|
|
3251
|
+
getPluralRules: ot(function() {
|
|
3256
3252
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3257
3253
|
t[i] = arguments[i];
|
|
3258
3254
|
return new ((r = Intl.PluralRules).bind.apply(r, st([void 0], t, !1)))();
|
|
3259
3255
|
}, {
|
|
3260
3256
|
cache: ut(e.pluralRules),
|
|
3261
|
-
strategy:
|
|
3257
|
+
strategy: at.variadic
|
|
3262
3258
|
})
|
|
3263
3259
|
};
|
|
3264
3260
|
}
|
|
3265
|
-
var
|
|
3261
|
+
var is = (
|
|
3266
3262
|
/** @class */
|
|
3267
3263
|
function() {
|
|
3268
3264
|
function e(r, t, i, n) {
|
|
@@ -3294,13 +3290,13 @@ var ns = (
|
|
|
3294
3290
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3295
3291
|
var u = n || {};
|
|
3296
3292
|
u.formatters;
|
|
3297
|
-
var
|
|
3298
|
-
this.ast = e.__parse(r, A(A({},
|
|
3293
|
+
var a = fn(u, ["formatters"]);
|
|
3294
|
+
this.ast = e.__parse(r, A(A({}, a), { locale: this.resolvedLocale }));
|
|
3299
3295
|
} else
|
|
3300
3296
|
this.ast = r;
|
|
3301
3297
|
if (!Array.isArray(this.ast))
|
|
3302
3298
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3303
|
-
this.formats =
|
|
3299
|
+
this.formats = rs(e.formats, i), this.formatters = n && n.formatters || ts(this.formatterCache);
|
|
3304
3300
|
}
|
|
3305
3301
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3306
3302
|
get: function() {
|
|
@@ -3313,7 +3309,7 @@ var ns = (
|
|
|
3313
3309
|
var t = Intl.NumberFormat.supportedLocalesOf(r);
|
|
3314
3310
|
return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
|
|
3315
3311
|
}
|
|
3316
|
-
}, e.__parse =
|
|
3312
|
+
}, e.__parse = Wn, e.formats = {
|
|
3317
3313
|
number: {
|
|
3318
3314
|
integer: {
|
|
3319
3315
|
maximumFractionDigits: 0
|
|
@@ -3374,7 +3370,7 @@ var ns = (
|
|
|
3374
3370
|
}, e;
|
|
3375
3371
|
}()
|
|
3376
3372
|
);
|
|
3377
|
-
function
|
|
3373
|
+
function ns(e, r) {
|
|
3378
3374
|
if (r == null)
|
|
3379
3375
|
return;
|
|
3380
3376
|
if (r in e)
|
|
@@ -3395,33 +3391,33 @@ function ss(e, r) {
|
|
|
3395
3391
|
i = void 0;
|
|
3396
3392
|
return i;
|
|
3397
3393
|
}
|
|
3398
|
-
const Be = {},
|
|
3394
|
+
const Be = {}, ss = (e, r, t) => t && (r in Be || (Be[r] = {}), e in Be[r] || (Be[r][e] = t), t), Ei = (e, r) => {
|
|
3399
3395
|
if (r == null)
|
|
3400
3396
|
return;
|
|
3401
3397
|
if (r in Be && e in Be[r])
|
|
3402
3398
|
return Be[r][e];
|
|
3403
3399
|
const t = rt(r);
|
|
3404
3400
|
for (let i = 0; i < t.length; i++) {
|
|
3405
|
-
const n = t[i], s =
|
|
3401
|
+
const n = t[i], s = as(n, e);
|
|
3406
3402
|
if (s)
|
|
3407
|
-
return
|
|
3403
|
+
return ss(e, r, s);
|
|
3408
3404
|
}
|
|
3409
3405
|
};
|
|
3410
|
-
let
|
|
3406
|
+
let St;
|
|
3411
3407
|
const Tr = Yr({});
|
|
3412
3408
|
function os(e) {
|
|
3413
|
-
return
|
|
3409
|
+
return St[e] || null;
|
|
3414
3410
|
}
|
|
3415
3411
|
function vi(e) {
|
|
3416
|
-
return e in
|
|
3412
|
+
return e in St;
|
|
3417
3413
|
}
|
|
3418
|
-
function
|
|
3414
|
+
function as(e, r) {
|
|
3419
3415
|
if (!vi(e))
|
|
3420
3416
|
return null;
|
|
3421
3417
|
const t = os(e);
|
|
3422
|
-
return
|
|
3418
|
+
return ns(t, r);
|
|
3423
3419
|
}
|
|
3424
|
-
function
|
|
3420
|
+
function ls(e) {
|
|
3425
3421
|
if (e == null)
|
|
3426
3422
|
return;
|
|
3427
3423
|
const r = rt(e);
|
|
@@ -3431,56 +3427,56 @@ function us(e) {
|
|
|
3431
3427
|
return i;
|
|
3432
3428
|
}
|
|
3433
3429
|
}
|
|
3434
|
-
function
|
|
3435
|
-
delete Be[e], Tr.update((t) => (t[e] =
|
|
3430
|
+
function _i(e, ...r) {
|
|
3431
|
+
delete Be[e], Tr.update((t) => (t[e] = hn.all([t[e] || {}, ...r]), t));
|
|
3436
3432
|
}
|
|
3437
3433
|
cr(
|
|
3438
3434
|
[Tr],
|
|
3439
3435
|
([e]) => Object.keys(e)
|
|
3440
3436
|
);
|
|
3441
|
-
Tr.subscribe((e) =>
|
|
3437
|
+
Tr.subscribe((e) => St = e);
|
|
3442
3438
|
const Wr = {};
|
|
3443
|
-
function
|
|
3439
|
+
function us(e, r) {
|
|
3444
3440
|
Wr[e].delete(r), Wr[e].size === 0 && delete Wr[e];
|
|
3445
3441
|
}
|
|
3446
|
-
function
|
|
3442
|
+
function wi(e) {
|
|
3447
3443
|
return Wr[e];
|
|
3448
3444
|
}
|
|
3449
|
-
function
|
|
3445
|
+
function cs(e) {
|
|
3450
3446
|
return rt(e).map((r) => {
|
|
3451
|
-
const t =
|
|
3447
|
+
const t = wi(r);
|
|
3452
3448
|
return [r, t ? [...t] : []];
|
|
3453
3449
|
}).filter(([, r]) => r.length > 0);
|
|
3454
3450
|
}
|
|
3455
|
-
function
|
|
3451
|
+
function vt(e) {
|
|
3456
3452
|
return e == null ? !1 : rt(e).some(
|
|
3457
3453
|
(r) => {
|
|
3458
3454
|
var t;
|
|
3459
|
-
return (t =
|
|
3455
|
+
return (t = wi(r)) == null ? void 0 : t.size;
|
|
3460
3456
|
}
|
|
3461
3457
|
);
|
|
3462
3458
|
}
|
|
3463
|
-
function
|
|
3459
|
+
function hs(e, r) {
|
|
3464
3460
|
return Promise.all(
|
|
3465
|
-
r.map((i) => (
|
|
3466
|
-
).then((i) =>
|
|
3461
|
+
r.map((i) => (us(e, i), i().then((n) => n.default || n)))
|
|
3462
|
+
).then((i) => _i(e, ...i));
|
|
3467
3463
|
}
|
|
3468
3464
|
const wr = {};
|
|
3469
|
-
function
|
|
3470
|
-
if (!
|
|
3465
|
+
function Si(e) {
|
|
3466
|
+
if (!vt(e))
|
|
3471
3467
|
return e in wr ? wr[e] : Promise.resolve();
|
|
3472
|
-
const r =
|
|
3468
|
+
const r = cs(e);
|
|
3473
3469
|
return wr[e] = Promise.all(
|
|
3474
3470
|
r.map(
|
|
3475
|
-
([t, i]) =>
|
|
3471
|
+
([t, i]) => hs(t, i)
|
|
3476
3472
|
)
|
|
3477
3473
|
).then(() => {
|
|
3478
|
-
if (
|
|
3479
|
-
return
|
|
3474
|
+
if (vt(e))
|
|
3475
|
+
return Si(e);
|
|
3480
3476
|
delete wr[e];
|
|
3481
3477
|
}), wr[e];
|
|
3482
3478
|
}
|
|
3483
|
-
const
|
|
3479
|
+
const fs = {
|
|
3484
3480
|
number: {
|
|
3485
3481
|
scientific: { notation: "scientific" },
|
|
3486
3482
|
engineering: { notation: "engineering" },
|
|
@@ -3509,57 +3505,57 @@ const ds = {
|
|
|
3509
3505
|
timeZoneName: "short"
|
|
3510
3506
|
}
|
|
3511
3507
|
}
|
|
3512
|
-
},
|
|
3508
|
+
}, ds = {
|
|
3513
3509
|
fallbackLocale: null,
|
|
3514
3510
|
loadingDelay: 200,
|
|
3515
|
-
formats:
|
|
3511
|
+
formats: fs,
|
|
3516
3512
|
warnOnMissingMessages: !0,
|
|
3517
3513
|
handleMissingMessage: void 0,
|
|
3518
3514
|
ignoreTag: !0
|
|
3519
|
-
},
|
|
3515
|
+
}, ms = ds;
|
|
3520
3516
|
function lr() {
|
|
3521
|
-
return
|
|
3517
|
+
return ms;
|
|
3522
3518
|
}
|
|
3523
3519
|
const ct = Yr(!1);
|
|
3524
|
-
var
|
|
3525
|
-
for (var t in r)
|
|
3526
|
-
|
|
3527
|
-
if (
|
|
3528
|
-
for (var t of
|
|
3529
|
-
|
|
3520
|
+
var gs = Object.defineProperty, ps = Object.defineProperties, bs = Object.getOwnPropertyDescriptors, Ft = Object.getOwnPropertySymbols, ys = Object.prototype.hasOwnProperty, Es = Object.prototype.propertyIsEnumerable, Dt = (e, r, t) => r in e ? gs(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, vs = (e, r) => {
|
|
3521
|
+
for (var t in r || (r = {}))
|
|
3522
|
+
ys.call(r, t) && Dt(e, t, r[t]);
|
|
3523
|
+
if (Ft)
|
|
3524
|
+
for (var t of Ft(r))
|
|
3525
|
+
Es.call(r, t) && Dt(e, t, r[t]);
|
|
3530
3526
|
return e;
|
|
3531
|
-
},
|
|
3532
|
-
let
|
|
3527
|
+
}, _s = (e, r) => ps(e, bs(r));
|
|
3528
|
+
let _t;
|
|
3533
3529
|
const qr = Yr(null);
|
|
3534
|
-
function
|
|
3530
|
+
function Gt(e) {
|
|
3535
3531
|
return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
|
|
3536
3532
|
}
|
|
3537
3533
|
function rt(e, r = lr().fallbackLocale) {
|
|
3538
|
-
const t =
|
|
3539
|
-
return r ? [.../* @__PURE__ */ new Set([...t, ...
|
|
3534
|
+
const t = Gt(e);
|
|
3535
|
+
return r ? [.../* @__PURE__ */ new Set([...t, ...Gt(r)])] : t;
|
|
3540
3536
|
}
|
|
3541
3537
|
function Fe() {
|
|
3542
|
-
return
|
|
3538
|
+
return _t ?? void 0;
|
|
3543
3539
|
}
|
|
3544
3540
|
qr.subscribe((e) => {
|
|
3545
|
-
|
|
3541
|
+
_t = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3546
3542
|
});
|
|
3547
|
-
const
|
|
3548
|
-
if (e &&
|
|
3543
|
+
const ws = (e) => {
|
|
3544
|
+
if (e && ls(e) && vt(e)) {
|
|
3549
3545
|
const { loadingDelay: r } = lr();
|
|
3550
3546
|
let t;
|
|
3551
3547
|
return typeof window < "u" && Fe() != null && r ? t = window.setTimeout(
|
|
3552
3548
|
() => ct.set(!0),
|
|
3553
3549
|
r
|
|
3554
|
-
) : ct.set(!0),
|
|
3550
|
+
) : ct.set(!0), Si(e).then(() => {
|
|
3555
3551
|
qr.set(e);
|
|
3556
3552
|
}).finally(() => {
|
|
3557
3553
|
clearTimeout(t), ct.set(!1);
|
|
3558
3554
|
});
|
|
3559
3555
|
}
|
|
3560
3556
|
return qr.set(e);
|
|
3561
|
-
}, hr =
|
|
3562
|
-
set:
|
|
3557
|
+
}, hr = _s(vs({}, qr), {
|
|
3558
|
+
set: ws
|
|
3563
3559
|
}), tt = (e) => {
|
|
3564
3560
|
const r = /* @__PURE__ */ Object.create(null);
|
|
3565
3561
|
return (i) => {
|
|
@@ -3567,20 +3563,20 @@ const Ss = (e) => {
|
|
|
3567
3563
|
return n in r ? r[n] : r[n] = e(i);
|
|
3568
3564
|
};
|
|
3569
3565
|
};
|
|
3570
|
-
var
|
|
3566
|
+
var Ss = Object.defineProperty, Jr = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, jt = (e, r, t) => r in e ? Ss(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Pt = (e, r) => {
|
|
3571
3567
|
for (var t in r || (r = {}))
|
|
3572
|
-
|
|
3568
|
+
Pi.call(r, t) && jt(e, t, r[t]);
|
|
3573
3569
|
if (Jr)
|
|
3574
3570
|
for (var t of Jr(r))
|
|
3575
|
-
|
|
3571
|
+
Ci.call(r, t) && jt(e, t, r[t]);
|
|
3576
3572
|
return e;
|
|
3577
3573
|
}, fr = (e, r) => {
|
|
3578
3574
|
var t = {};
|
|
3579
3575
|
for (var i in e)
|
|
3580
|
-
|
|
3576
|
+
Pi.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
3581
3577
|
if (e != null && Jr)
|
|
3582
3578
|
for (var i of Jr(e))
|
|
3583
|
-
r.indexOf(i) < 0 &&
|
|
3579
|
+
r.indexOf(i) < 0 && Ci.call(e, i) && (t[i] = e[i]);
|
|
3584
3580
|
return t;
|
|
3585
3581
|
};
|
|
3586
3582
|
const Ar = (e, r) => {
|
|
@@ -3588,21 +3584,21 @@ const Ar = (e, r) => {
|
|
|
3588
3584
|
if (e in t && r in t[e])
|
|
3589
3585
|
return t[e][r];
|
|
3590
3586
|
throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
|
|
3591
|
-
},
|
|
3587
|
+
}, Ps = tt(
|
|
3592
3588
|
(e) => {
|
|
3593
3589
|
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3594
3590
|
if (t == null)
|
|
3595
3591
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3596
3592
|
return i && (n = Ar("number", i)), new Intl.NumberFormat(t, n);
|
|
3597
3593
|
}
|
|
3598
|
-
),
|
|
3594
|
+
), Cs = tt(
|
|
3599
3595
|
(e) => {
|
|
3600
3596
|
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3601
3597
|
if (t == null)
|
|
3602
3598
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3603
3599
|
return i ? n = Ar("date", i) : Object.keys(n).length === 0 && (n = Ar("date", "short")), new Intl.DateTimeFormat(t, n);
|
|
3604
3600
|
}
|
|
3605
|
-
),
|
|
3601
|
+
), xs = tt(
|
|
3606
3602
|
(e) => {
|
|
3607
3603
|
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3608
3604
|
if (t == null)
|
|
@@ -3611,38 +3607,38 @@ const Ar = (e, r) => {
|
|
|
3611
3607
|
);
|
|
3612
3608
|
return i ? n = Ar("time", i) : Object.keys(n).length === 0 && (n = Ar("time", "short")), new Intl.DateTimeFormat(t, n);
|
|
3613
3609
|
}
|
|
3614
|
-
),
|
|
3610
|
+
), As = (e = {}) => {
|
|
3615
3611
|
var r = e, {
|
|
3616
3612
|
locale: t = Fe()
|
|
3617
3613
|
} = r, i = fr(r, [
|
|
3618
3614
|
"locale"
|
|
3619
3615
|
]);
|
|
3620
|
-
return
|
|
3621
|
-
},
|
|
3616
|
+
return Ps(Pt({ locale: t }, i));
|
|
3617
|
+
}, Ts = (e = {}) => {
|
|
3622
3618
|
var r = e, {
|
|
3623
3619
|
locale: t = Fe()
|
|
3624
3620
|
} = r, i = fr(r, [
|
|
3625
3621
|
"locale"
|
|
3626
3622
|
]);
|
|
3627
|
-
return
|
|
3628
|
-
},
|
|
3623
|
+
return Cs(Pt({ locale: t }, i));
|
|
3624
|
+
}, Hs = (e = {}) => {
|
|
3629
3625
|
var r = e, {
|
|
3630
3626
|
locale: t = Fe()
|
|
3631
3627
|
} = r, i = fr(r, [
|
|
3632
3628
|
"locale"
|
|
3633
3629
|
]);
|
|
3634
|
-
return
|
|
3635
|
-
},
|
|
3630
|
+
return xs(Pt({ locale: t }, i));
|
|
3631
|
+
}, Is = tt(
|
|
3636
3632
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3637
|
-
(e, r = Fe()) => new
|
|
3633
|
+
(e, r = Fe()) => new is(e, r, lr().formats, {
|
|
3638
3634
|
ignoreTag: lr().ignoreTag
|
|
3639
3635
|
})
|
|
3640
|
-
),
|
|
3636
|
+
), Bs = (e, r = {}) => {
|
|
3641
3637
|
var t, i, n, s;
|
|
3642
3638
|
let u = r;
|
|
3643
3639
|
typeof e == "object" && (u = e, e = u.id);
|
|
3644
3640
|
const {
|
|
3645
|
-
values:
|
|
3641
|
+
values: a,
|
|
3646
3642
|
locale: f = Fe(),
|
|
3647
3643
|
default: c
|
|
3648
3644
|
} = u;
|
|
@@ -3650,18 +3646,18 @@ const Ar = (e, r) => {
|
|
|
3650
3646
|
throw new Error(
|
|
3651
3647
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3652
3648
|
);
|
|
3653
|
-
let h =
|
|
3649
|
+
let h = Ei(e, f);
|
|
3654
3650
|
if (!h)
|
|
3655
3651
|
h = (s = (n = (i = (t = lr()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: f, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
|
|
3656
3652
|
else if (typeof h != "string")
|
|
3657
3653
|
return console.warn(
|
|
3658
3654
|
`[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.`
|
|
3659
3655
|
), h;
|
|
3660
|
-
if (!
|
|
3656
|
+
if (!a)
|
|
3661
3657
|
return h;
|
|
3662
3658
|
let m = h;
|
|
3663
3659
|
try {
|
|
3664
|
-
m =
|
|
3660
|
+
m = Is(h, f).format(a);
|
|
3665
3661
|
} catch (g) {
|
|
3666
3662
|
g instanceof Error && console.warn(
|
|
3667
3663
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3669,18 +3665,18 @@ const Ar = (e, r) => {
|
|
|
3669
3665
|
);
|
|
3670
3666
|
}
|
|
3671
3667
|
return m;
|
|
3672
|
-
},
|
|
3668
|
+
}, Ns = (e, r) => Hs(r).format(e), Os = (e, r) => Ts(r).format(e), Ls = (e, r) => As(r).format(e), Ms = (e, r = Fe()) => Ei(e, r), Rs = cr([hr, Tr], () => Bs);
|
|
3669
|
+
cr([hr], () => Ns);
|
|
3673
3670
|
cr([hr], () => Os);
|
|
3674
3671
|
cr([hr], () => Ls);
|
|
3675
|
-
cr([hr], () => Ms);
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
wi(e, r);
|
|
3672
|
+
cr([hr, Tr], () => Ms);
|
|
3673
|
+
function Vt(e, r) {
|
|
3674
|
+
_i(e, r);
|
|
3679
3675
|
}
|
|
3680
|
-
function
|
|
3676
|
+
function Us(e) {
|
|
3681
3677
|
hr.set(e);
|
|
3682
3678
|
}
|
|
3683
|
-
const
|
|
3679
|
+
const $t = {
|
|
3684
3680
|
en: {
|
|
3685
3681
|
registerTitle: "Create your account",
|
|
3686
3682
|
registerSubtitle: "Already have an account?",
|
|
@@ -3935,17 +3931,17 @@ const Qt = {
|
|
|
3935
3931
|
registerNext: "Next"
|
|
3936
3932
|
}
|
|
3937
3933
|
};
|
|
3938
|
-
function
|
|
3939
|
-
|
|
3934
|
+
function ks(e) {
|
|
3935
|
+
Ti(e, "svelte-6m40jp", ".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.PromoCodeContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.PromoCodeContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.PromoCodeContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.PromoCodeContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.PromoCodeContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect,.ToggleConfirmPasswordVisibility.InvalidToggle path,.ToggleConfirmPasswordVisibility.InvalidToggle circle,.ToggleConfirmPasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}");
|
|
3940
3936
|
}
|
|
3941
|
-
function
|
|
3937
|
+
function Qt(e) {
|
|
3942
3938
|
let r, t = (
|
|
3943
3939
|
/*$_*/
|
|
3944
3940
|
e[30]("registerEmailError") + ""
|
|
3945
3941
|
), i;
|
|
3946
3942
|
return {
|
|
3947
3943
|
c() {
|
|
3948
|
-
r = E("p"), i = T(t),
|
|
3944
|
+
r = E("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
3949
3945
|
},
|
|
3950
3946
|
m(n, s) {
|
|
3951
3947
|
fe(n, r, s), l(r, i);
|
|
@@ -3960,14 +3956,14 @@ function zt(e) {
|
|
|
3960
3956
|
}
|
|
3961
3957
|
};
|
|
3962
3958
|
}
|
|
3963
|
-
function
|
|
3959
|
+
function zt(e) {
|
|
3964
3960
|
let r, t = (
|
|
3965
3961
|
/*$_*/
|
|
3966
3962
|
e[30]("registerUsernameError") + ""
|
|
3967
3963
|
), i;
|
|
3968
3964
|
return {
|
|
3969
3965
|
c() {
|
|
3970
|
-
r = E("p"), i = T(t),
|
|
3966
|
+
r = E("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
3971
3967
|
},
|
|
3972
3968
|
m(n, s) {
|
|
3973
3969
|
fe(n, r, s), l(r, i);
|
|
@@ -3982,14 +3978,14 @@ function Xt(e) {
|
|
|
3982
3978
|
}
|
|
3983
3979
|
};
|
|
3984
3980
|
}
|
|
3985
|
-
function
|
|
3986
|
-
let r, t, i, n, s, u,
|
|
3981
|
+
function Fs(e) {
|
|
3982
|
+
let r, t, i, n, s, u, a, f, c;
|
|
3987
3983
|
return {
|
|
3988
3984
|
c() {
|
|
3989
|
-
r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), u = S("path"),
|
|
3985
|
+
r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), u = S("path"), a = S("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");
|
|
3990
3986
|
},
|
|
3991
3987
|
m(h, m) {
|
|
3992
|
-
fe(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s,
|
|
3988
|
+
fe(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), f || (c = x(
|
|
3993
3989
|
r,
|
|
3994
3990
|
"click",
|
|
3995
3991
|
/*click_handler_2*/
|
|
@@ -4002,34 +3998,34 @@ function Ds(e) {
|
|
|
4002
3998
|
}
|
|
4003
3999
|
};
|
|
4004
4000
|
}
|
|
4005
|
-
function
|
|
4006
|
-
let r, t, i, n, s, u,
|
|
4001
|
+
function Ds(e) {
|
|
4002
|
+
let r, t, i, n, s, u, a, f, c, h, m, g, b, _, y;
|
|
4007
4003
|
return {
|
|
4008
4004
|
c() {
|
|
4009
|
-
r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), u = S("circle"),
|
|
4005
|
+
r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), u = S("circle"), a = S("g"), f = S("path"), c = S("path"), h = S("g"), m = S("path"), g = S("path"), b = S("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");
|
|
4010
4006
|
},
|
|
4011
4007
|
m(w, B) {
|
|
4012
|
-
fe(w, r, B), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s,
|
|
4008
|
+
fe(w, r, B), 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), _ || (y = x(
|
|
4013
4009
|
r,
|
|
4014
4010
|
"click",
|
|
4015
4011
|
/*click_handler_1*/
|
|
4016
4012
|
e[60]
|
|
4017
|
-
),
|
|
4013
|
+
), _ = !0);
|
|
4018
4014
|
},
|
|
4019
4015
|
p: X,
|
|
4020
4016
|
d(w) {
|
|
4021
|
-
w && se(r),
|
|
4017
|
+
w && se(r), _ = !1, y();
|
|
4022
4018
|
}
|
|
4023
4019
|
};
|
|
4024
4020
|
}
|
|
4025
|
-
function
|
|
4021
|
+
function Xt(e) {
|
|
4026
4022
|
let r, t = (
|
|
4027
4023
|
/*$_*/
|
|
4028
4024
|
e[30]("registerPasswordError") + ""
|
|
4029
4025
|
), i;
|
|
4030
4026
|
return {
|
|
4031
4027
|
c() {
|
|
4032
|
-
r = E("p"), i = T(t),
|
|
4028
|
+
r = E("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4033
4029
|
},
|
|
4034
4030
|
m(n, s) {
|
|
4035
4031
|
fe(n, r, s), l(r, i);
|
|
@@ -4044,14 +4040,14 @@ function Zt(e) {
|
|
|
4044
4040
|
}
|
|
4045
4041
|
};
|
|
4046
4042
|
}
|
|
4047
|
-
function
|
|
4043
|
+
function Zt(e) {
|
|
4048
4044
|
let r, t = (
|
|
4049
4045
|
/*$_*/
|
|
4050
4046
|
e[30]("registerSimplePasswordError") + ""
|
|
4051
4047
|
), i;
|
|
4052
4048
|
return {
|
|
4053
4049
|
c() {
|
|
4054
|
-
r = E("p"), i = T(t),
|
|
4050
|
+
r = E("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4055
4051
|
},
|
|
4056
4052
|
m(n, s) {
|
|
4057
4053
|
fe(n, r, s), l(r, i);
|
|
@@ -4066,14 +4062,14 @@ function Wt(e) {
|
|
|
4066
4062
|
}
|
|
4067
4063
|
};
|
|
4068
4064
|
}
|
|
4069
|
-
function
|
|
4070
|
-
let r, t, i, n, s, u,
|
|
4065
|
+
function Gs(e) {
|
|
4066
|
+
let r, t, i, n, s, u, a, f, c;
|
|
4071
4067
|
return {
|
|
4072
4068
|
c() {
|
|
4073
|
-
r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), u = S("path"),
|
|
4069
|
+
r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), u = S("path"), a = S("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");
|
|
4074
4070
|
},
|
|
4075
4071
|
m(h, m) {
|
|
4076
|
-
fe(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s,
|
|
4072
|
+
fe(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), f || (c = x(
|
|
4077
4073
|
r,
|
|
4078
4074
|
"click",
|
|
4079
4075
|
/*click_handler_4*/
|
|
@@ -4086,34 +4082,34 @@ function js(e) {
|
|
|
4086
4082
|
}
|
|
4087
4083
|
};
|
|
4088
4084
|
}
|
|
4089
|
-
function
|
|
4090
|
-
let r, t, i, n, s, u,
|
|
4085
|
+
function js(e) {
|
|
4086
|
+
let r, t, i, n, s, u, a, f, c, h, m, g, b, _, y;
|
|
4091
4087
|
return {
|
|
4092
4088
|
c() {
|
|
4093
|
-
r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), u = S("circle"),
|
|
4089
|
+
r = S("svg"), t = S("defs"), i = S("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = S("g"), u = S("circle"), a = S("g"), f = S("path"), c = S("path"), h = S("g"), m = S("path"), g = S("path"), b = S("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");
|
|
4094
4090
|
},
|
|
4095
4091
|
m(w, B) {
|
|
4096
|
-
fe(w, r, B), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s,
|
|
4092
|
+
fe(w, r, B), 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), _ || (y = x(
|
|
4097
4093
|
r,
|
|
4098
4094
|
"click",
|
|
4099
4095
|
/*click_handler_3*/
|
|
4100
4096
|
e[66]
|
|
4101
|
-
),
|
|
4097
|
+
), _ = !0);
|
|
4102
4098
|
},
|
|
4103
4099
|
p: X,
|
|
4104
4100
|
d(w) {
|
|
4105
|
-
w && se(r),
|
|
4101
|
+
w && se(r), _ = !1, y();
|
|
4106
4102
|
}
|
|
4107
4103
|
};
|
|
4108
4104
|
}
|
|
4109
|
-
function
|
|
4105
|
+
function Wt(e) {
|
|
4110
4106
|
let r, t = (
|
|
4111
4107
|
/*$_*/
|
|
4112
4108
|
e[30]("registerConfirmPasswordError") + ""
|
|
4113
4109
|
), i;
|
|
4114
4110
|
return {
|
|
4115
4111
|
c() {
|
|
4116
|
-
r = E("p"), i = T(t),
|
|
4112
|
+
r = E("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4117
4113
|
},
|
|
4118
4114
|
m(n, s) {
|
|
4119
4115
|
fe(n, r, s), l(r, i);
|
|
@@ -4128,7 +4124,7 @@ function qt(e) {
|
|
|
4128
4124
|
}
|
|
4129
4125
|
};
|
|
4130
4126
|
}
|
|
4131
|
-
function
|
|
4127
|
+
function qt(e) {
|
|
4132
4128
|
let r, t = (
|
|
4133
4129
|
/*custominputtextswitch*/
|
|
4134
4130
|
(e[2] == "true" ? (
|
|
@@ -4141,7 +4137,7 @@ function Jt(e) {
|
|
|
4141
4137
|
), i;
|
|
4142
4138
|
return {
|
|
4143
4139
|
c() {
|
|
4144
|
-
r = E("p"), i = T(t),
|
|
4140
|
+
r = E("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4145
4141
|
},
|
|
4146
4142
|
m(n, s) {
|
|
4147
4143
|
fe(n, r, s), l(r, i);
|
|
@@ -4162,7 +4158,7 @@ function Jt(e) {
|
|
|
4162
4158
|
}
|
|
4163
4159
|
};
|
|
4164
4160
|
}
|
|
4165
|
-
function
|
|
4161
|
+
function Jt(e) {
|
|
4166
4162
|
let r, t = (
|
|
4167
4163
|
/*custominputtextswitch*/
|
|
4168
4164
|
(e[2] == "true" ? (
|
|
@@ -4175,7 +4171,7 @@ function Yt(e) {
|
|
|
4175
4171
|
), i;
|
|
4176
4172
|
return {
|
|
4177
4173
|
c() {
|
|
4178
|
-
r = E("p"), i = T(t),
|
|
4174
|
+
r = E("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4179
4175
|
},
|
|
4180
4176
|
m(n, s) {
|
|
4181
4177
|
fe(n, r, s), l(r, i);
|
|
@@ -4196,23 +4192,23 @@ function Yt(e) {
|
|
|
4196
4192
|
}
|
|
4197
4193
|
};
|
|
4198
4194
|
}
|
|
4199
|
-
function
|
|
4195
|
+
function Vs(e) {
|
|
4200
4196
|
let r, t, i, n = (
|
|
4201
4197
|
/*$_*/
|
|
4202
4198
|
e[30]("registerTitle") + ""
|
|
4203
|
-
), s, u,
|
|
4199
|
+
), s, u, a, f = (
|
|
4204
4200
|
/*$_*/
|
|
4205
4201
|
e[30]("registerSubtitle") + ""
|
|
4206
4202
|
), c, h, m, g = (
|
|
4207
4203
|
/*$_*/
|
|
4208
4204
|
e[30]("registerSubtitleLogin") + ""
|
|
4209
|
-
), b,
|
|
4205
|
+
), b, _, y, w, B, $ = (
|
|
4210
4206
|
/*$_*/
|
|
4211
4207
|
e[30]("registerEmail") + ""
|
|
4212
4208
|
), M, de, G, be, R, De, xe, Ee, U, Z, me = (
|
|
4213
4209
|
/*$_*/
|
|
4214
4210
|
e[30]("registerUsername") + ""
|
|
4215
|
-
), W,
|
|
4211
|
+
), W, oe, ve, Ne, k, _e, Ae, ae, D, O, q, ye = (
|
|
4216
4212
|
/*$_*/
|
|
4217
4213
|
e[30]("registerPassword") + ""
|
|
4218
4214
|
), dr, mr, Ge, le, L, Oe, Hr, je, Ve, Le, Me, gr, j, Te, Re = (
|
|
@@ -4230,7 +4226,7 @@ function $s(e) {
|
|
|
4230
4226
|
/*$_*/
|
|
4231
4227
|
e[30]("registerSecurityQuestion")
|
|
4232
4228
|
)) + ""
|
|
4233
|
-
),
|
|
4229
|
+
), vr, Mr, qe, Rr, ce, Ur, Je, kr, pe, Ie, Ye = (
|
|
4234
4230
|
/*custominputtextswitch*/
|
|
4235
4231
|
(e[2] == "true" ? (
|
|
4236
4232
|
/*$_*/
|
|
@@ -4239,80 +4235,80 @@ function $s(e) {
|
|
|
4239
4235
|
/*$_*/
|
|
4240
4236
|
e[30]("registerSecurityAnswer")
|
|
4241
4237
|
)) + ""
|
|
4242
|
-
),
|
|
4238
|
+
), _r, Fr, Ke, Dr, he, Gr, er, jr, p, I = (
|
|
4243
4239
|
/*$_*/
|
|
4244
4240
|
e[30]("registerNext") + ""
|
|
4245
|
-
), V, Vr, it,
|
|
4241
|
+
), V, Vr, it, Ct, J = (
|
|
4246
4242
|
/*invalidEmail*/
|
|
4247
|
-
e[4] &&
|
|
4243
|
+
e[4] && Qt(e)
|
|
4248
4244
|
), Y = (
|
|
4249
4245
|
/*invalidName*/
|
|
4250
|
-
e[5] &&
|
|
4246
|
+
e[5] && zt(e)
|
|
4251
4247
|
);
|
|
4252
|
-
function
|
|
4248
|
+
function xt(d, v) {
|
|
4253
4249
|
return (
|
|
4254
4250
|
/*isPasswordVisible*/
|
|
4255
|
-
d[25] ?
|
|
4251
|
+
d[25] ? Ds : Fs
|
|
4256
4252
|
);
|
|
4257
4253
|
}
|
|
4258
|
-
let $r =
|
|
4254
|
+
let $r = xt(e), Se = $r(e), K = (
|
|
4259
4255
|
/*invalidPassword*/
|
|
4260
4256
|
e[6] && /*simplepasswordvalidation*/
|
|
4261
|
-
e[0] !== "true" &&
|
|
4257
|
+
e[0] !== "true" && Xt(e)
|
|
4262
4258
|
), ee = (
|
|
4263
4259
|
/*invalidPassword*/
|
|
4264
4260
|
e[6] && /*simplepasswordvalidation*/
|
|
4265
|
-
e[0] === "true" &&
|
|
4261
|
+
e[0] === "true" && Zt(e)
|
|
4266
4262
|
);
|
|
4267
|
-
function
|
|
4263
|
+
function At(d, v) {
|
|
4268
4264
|
return (
|
|
4269
4265
|
/*isConfirmPasswordVisible*/
|
|
4270
|
-
d[26] ?
|
|
4266
|
+
d[26] ? js : Gs
|
|
4271
4267
|
);
|
|
4272
4268
|
}
|
|
4273
|
-
let Qr =
|
|
4269
|
+
let Qr = At(e), Pe = Qr(e), re = (
|
|
4274
4270
|
/*invalidConfirmPassword*/
|
|
4275
|
-
e[7] &&
|
|
4271
|
+
e[7] && Wt(e)
|
|
4276
4272
|
), te = (
|
|
4277
4273
|
/*invalidSecurityQuestion*/
|
|
4278
|
-
e[8] &&
|
|
4274
|
+
e[8] && qt(e)
|
|
4279
4275
|
), ie = (
|
|
4280
4276
|
/*invalidSecurityAnswer*/
|
|
4281
|
-
e[9] &&
|
|
4277
|
+
e[9] && Jt(e)
|
|
4282
4278
|
);
|
|
4283
4279
|
return {
|
|
4284
4280
|
c() {
|
|
4285
|
-
r = E("div"), t = E("div"), i = E("h2"), s = T(n), u = H(),
|
|
4281
|
+
r = E("div"), t = E("div"), i = E("h2"), s = T(n), u = H(), a = E("p"), c = T(f), h = H(), m = E("span"), b = T(g), _ = H(), y = E("form"), w = E("div"), B = E("label"), M = T($), de = T(":"), G = E("span"), G.textContent = "*", be = H(), R = E("input"), De = H(), J && J.c(), Ee = H(), U = E("div"), Z = E("label"), W = T(me), oe = T(":"), ve = E("span"), ve.textContent = "*", Ne = H(), k = E("input"), Ae = H(), Y && Y.c(), D = H(), O = E("div"), q = E("label"), dr = T(ye), mr = T(":"), Ge = E("span"), Ge.textContent = "*", le = H(), L = E("input"), Hr = H(), Se.c(), je = H(), K && K.c(), Ve = H(), ee && ee.c(), gr = H(), j = E("div"), Te = E("label"), pr = T(Re), $e = T(":"), Ue = E("span"), Ue.textContent = "*", br = H(), Q = E("input"), yr = H(), Pe.c(), Qe = H(), re && re.c(), Ir = H(), we = E("div"), ke = E("label"), Er = T(Xe), Br = T(":"), Nr = H(), ue = E("input"), Or = H(), Lr = H(), ge = E("div"), He = E("label"), vr = T(We), Mr = T(":"), qe = E("span"), qe.textContent = "*", Rr = H(), ce = E("input"), Ur = H(), te && te.c(), kr = H(), pe = E("div"), Ie = E("label"), _r = T(Ye), Fr = T(":"), Ke = E("span"), Ke.textContent = "*", Dr = H(), he = E("input"), Gr = H(), ie && ie.c(), jr = H(), p = E("button"), V = T(I), o(i, "class", "RegisterFormTitle"), o(m, "class", "FormLoginCallToAction"), o(a, "class", "RegisterFormSubtitle"), o(t, "class", "RegisterFormHeader"), o(G, "class", "FormRequired"), o(B, "for", "Email"), o(R, "type", "text"), o(R, "id", "Email"), o(w, "class", xe = "EmailContainer " + /*invalidEmail*/
|
|
4286
4282
|
(e[4] && !/*emailFocus*/
|
|
4287
4283
|
e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4288
|
-
(e[17]?.indexOf("email") >= 0 ? "Hidden" : "")),
|
|
4289
|
-
e[1] ? "username" : "off"),
|
|
4284
|
+
(e[17]?.indexOf("email") >= 0 ? "Hidden" : "")), o(ve, "class", "FormRequired"), o(Z, "for", "UserName"), o(k, "type", "text"), o(k, "id", "UserName"), o(k, "autocomplete", _e = /*savecredentials*/
|
|
4285
|
+
e[1] ? "username" : "off"), o(U, "class", ae = "UserContainer " + /*invalidName*/
|
|
4290
4286
|
(e[5] && !/*usernameFocus*/
|
|
4291
4287
|
e[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4292
|
-
(e[17]?.indexOf("username") >= 0 ? "Hidden" : "")),
|
|
4293
|
-
e[1] ? "new-password" : "off"),
|
|
4288
|
+
(e[17]?.indexOf("username") >= 0 ? "Hidden" : "")), o(Ge, "class", "FormRequired"), o(q, "for", "Password"), o(L, "name", "new-password"), o(L, "type", "password"), o(L, "id", "new-password"), o(L, "autocomplete", Oe = /*savecredentials*/
|
|
4289
|
+
e[1] ? "new-password" : "off"), o(L, "aria-describedby", "password-constraints"), o(O, "class", Le = "PasswordContainer " + /*invalidPassword*/
|
|
4294
4290
|
(e[6] && !/*passwordFocus*/
|
|
4295
4291
|
e[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4296
4292
|
(e[17]?.indexOf("password") >= 0 ? "Hidden" : "")), O.hidden = Me = /*disabledFieldsList*/
|
|
4297
|
-
e[17]?.indexOf("password") >= 0,
|
|
4293
|
+
e[17]?.indexOf("password") >= 0, o(Ue, "class", "FormRequired"), o(Te, "for", "ConfirmPassword"), o(Q, "type", "password"), o(Q, "id", "ConfirmPassword"), o(j, "class", ze = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4298
4294
|
(e[7] && !/*confirmPasswordFocus*/
|
|
4299
4295
|
e[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4300
|
-
(e[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")),
|
|
4301
|
-
(e[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")),
|
|
4296
|
+
(e[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")), o(ke, "for", "PromoCode"), o(ue, "type", "text"), o(ue, "id", "PromoCode"), o(we, "class", Ze = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4297
|
+
(e[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")), o(qe, "class", "FormRequired"), o(He, "for", "SecurityQuestion"), o(ce, "type", "text"), o(ce, "id", "SecurityQuestion"), o(ge, "class", Je = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4302
4298
|
(e[8] && !/*securityQFocus*/
|
|
4303
4299
|
e[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4304
|
-
(e[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")),
|
|
4300
|
+
(e[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")), o(Ke, "class", "FormRequired"), o(Ie, "for", "SecurityAnswer"), o(he, "type", "text"), o(he, "id", "SecurityAnswer"), o(pe, "class", er = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4305
4301
|
(e[9] && !/*securityAFocus*/
|
|
4306
4302
|
e[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4307
|
-
(e[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")),
|
|
4308
|
-
e[29],
|
|
4303
|
+
(e[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")), o(p, "class", "RegisterStepNext"), p.disabled = Vr = !/*isValid*/
|
|
4304
|
+
e[29], o(y, "class", "RegisterFormContent");
|
|
4309
4305
|
},
|
|
4310
|
-
m(d,
|
|
4311
|
-
fe(d, r,
|
|
4306
|
+
m(d, v) {
|
|
4307
|
+
fe(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, _), l(r, y), l(y, w), l(w, B), l(B, M), l(B, de), l(B, G), l(w, be), l(w, R), ne(
|
|
4312
4308
|
R,
|
|
4313
4309
|
/*userEmail*/
|
|
4314
4310
|
e[19]
|
|
4315
|
-
), l(w, De), J && J.m(w, null), l(y, Ee), l(y, U), l(U, Z), l(Z, W), l(Z,
|
|
4311
|
+
), l(w, De), J && J.m(w, null), l(y, Ee), l(y, U), l(U, Z), l(Z, W), l(Z, oe), l(Z, ve), l(U, Ne), l(U, k), ne(
|
|
4316
4312
|
k,
|
|
4317
4313
|
/*userValue*/
|
|
4318
4314
|
e[18]
|
|
@@ -4328,15 +4324,15 @@ function $s(e) {
|
|
|
4328
4324
|
ue,
|
|
4329
4325
|
/*promoCode*/
|
|
4330
4326
|
e[24]
|
|
4331
|
-
), l(we, Or), l(y, Lr), l(y, ge), l(ge, He), l(He,
|
|
4327
|
+
), l(we, Or), l(y, Lr), l(y, ge), l(ge, He), l(He, vr), l(He, Mr), l(He, qe), l(ge, Rr), l(ge, ce), ne(
|
|
4332
4328
|
ce,
|
|
4333
4329
|
/*securityQuestion*/
|
|
4334
4330
|
e[22]
|
|
4335
|
-
), l(ge, Ur), te && te.m(ge, null), l(y, kr), l(y, pe), l(pe, Ie), l(Ie,
|
|
4331
|
+
), l(ge, Ur), te && te.m(ge, null), l(y, kr), l(y, pe), l(pe, Ie), l(Ie, _r), l(Ie, Fr), l(Ie, Ke), l(pe, Dr), l(pe, he), ne(
|
|
4336
4332
|
he,
|
|
4337
4333
|
/*securityAnswer*/
|
|
4338
4334
|
e[23]
|
|
4339
|
-
), l(pe, Gr), ie && ie.m(pe, null), l(y, jr), l(y, p), l(p, V), e[78](r), it || (
|
|
4335
|
+
), l(pe, Gr), ie && ie.m(pe, null), l(y, jr), l(y, p), l(p, V), e[78](r), it || (Ct = [
|
|
4340
4336
|
x(
|
|
4341
4337
|
m,
|
|
4342
4338
|
"click",
|
|
@@ -4519,85 +4515,85 @@ function $s(e) {
|
|
|
4519
4515
|
)
|
|
4520
4516
|
], it = !0);
|
|
4521
4517
|
},
|
|
4522
|
-
p(d,
|
|
4523
|
-
|
|
4518
|
+
p(d, v) {
|
|
4519
|
+
v[0] & /*$_*/
|
|
4524
4520
|
1073741824 && n !== (n = /*$_*/
|
|
4525
|
-
d[30]("registerTitle") + "") && F(s, n),
|
|
4521
|
+
d[30]("registerTitle") + "") && F(s, n), v[0] & /*$_*/
|
|
4526
4522
|
1073741824 && f !== (f = /*$_*/
|
|
4527
|
-
d[30]("registerSubtitle") + "") && F(c, f),
|
|
4523
|
+
d[30]("registerSubtitle") + "") && F(c, f), v[0] & /*$_*/
|
|
4528
4524
|
1073741824 && g !== (g = /*$_*/
|
|
4529
|
-
d[30]("registerSubtitleLogin") + "") && F(b, g),
|
|
4525
|
+
d[30]("registerSubtitleLogin") + "") && F(b, g), v[0] & /*$_*/
|
|
4530
4526
|
1073741824 && $ !== ($ = /*$_*/
|
|
4531
|
-
d[30]("registerEmail") + "") && F(M, $),
|
|
4527
|
+
d[30]("registerEmail") + "") && F(M, $), v[0] & /*userEmail*/
|
|
4532
4528
|
524288 && R.value !== /*userEmail*/
|
|
4533
4529
|
d[19] && ne(
|
|
4534
4530
|
R,
|
|
4535
4531
|
/*userEmail*/
|
|
4536
4532
|
d[19]
|
|
4537
4533
|
), /*invalidEmail*/
|
|
4538
|
-
d[4] ? J ? J.p(d,
|
|
4534
|
+
d[4] ? J ? J.p(d, v) : (J = Qt(d), J.c(), J.m(w, null)) : J && (J.d(1), J = null), v[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
|
|
4539
4535
|
132112 && xe !== (xe = "EmailContainer " + /*invalidEmail*/
|
|
4540
4536
|
(d[4] && !/*emailFocus*/
|
|
4541
4537
|
d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4542
|
-
(d[17]?.indexOf("email") >= 0 ? "Hidden" : "")) &&
|
|
4538
|
+
(d[17]?.indexOf("email") >= 0 ? "Hidden" : "")) && o(w, "class", xe), v[0] & /*$_*/
|
|
4543
4539
|
1073741824 && me !== (me = /*$_*/
|
|
4544
|
-
d[30]("registerUsername") + "") && F(W, me),
|
|
4545
|
-
2 &&
|
|
4546
|
-
d[1] ? "username" : "off") &&
|
|
4540
|
+
d[30]("registerUsername") + "") && F(W, me), v[0] & /*savecredentials*/
|
|
4541
|
+
2 && _e !== (_e = /*savecredentials*/
|
|
4542
|
+
d[1] ? "username" : "off") && o(k, "autocomplete", _e), v[0] & /*userValue*/
|
|
4547
4543
|
262144 && k.value !== /*userValue*/
|
|
4548
4544
|
d[18] && ne(
|
|
4549
4545
|
k,
|
|
4550
4546
|
/*userValue*/
|
|
4551
4547
|
d[18]
|
|
4552
4548
|
), /*invalidName*/
|
|
4553
|
-
d[5] ? Y ? Y.p(d,
|
|
4554
|
-
133152 &&
|
|
4549
|
+
d[5] ? Y ? Y.p(d, v) : (Y = zt(d), Y.c(), Y.m(U, null)) : Y && (Y.d(1), Y = null), v[0] & /*invalidName, usernameFocus, disabledFieldsList*/
|
|
4550
|
+
133152 && ae !== (ae = "UserContainer " + /*invalidName*/
|
|
4555
4551
|
(d[5] && !/*usernameFocus*/
|
|
4556
4552
|
d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4557
|
-
(d[17]?.indexOf("username") >= 0 ? "Hidden" : "")) &&
|
|
4553
|
+
(d[17]?.indexOf("username") >= 0 ? "Hidden" : "")) && o(U, "class", ae), v[0] & /*$_*/
|
|
4558
4554
|
1073741824 && ye !== (ye = /*$_*/
|
|
4559
|
-
d[30]("registerPassword") + "") && F(dr, ye),
|
|
4555
|
+
d[30]("registerPassword") + "") && F(dr, ye), v[0] & /*savecredentials*/
|
|
4560
4556
|
2 && Oe !== (Oe = /*savecredentials*/
|
|
4561
|
-
d[1] ? "new-password" : "off") &&
|
|
4557
|
+
d[1] ? "new-password" : "off") && o(L, "autocomplete", Oe), v[0] & /*userPassword*/
|
|
4562
4558
|
1048576 && L.value !== /*userPassword*/
|
|
4563
4559
|
d[20] && ne(
|
|
4564
4560
|
L,
|
|
4565
4561
|
/*userPassword*/
|
|
4566
4562
|
d[20]
|
|
4567
|
-
), $r === ($r =
|
|
4563
|
+
), $r === ($r = xt(d)) && Se ? Se.p(d, v) : (Se.d(1), Se = $r(d), Se && (Se.c(), Se.m(O, je))), /*invalidPassword*/
|
|
4568
4564
|
d[6] && /*simplepasswordvalidation*/
|
|
4569
|
-
d[0] !== "true" ? K ? K.p(d,
|
|
4565
|
+
d[0] !== "true" ? K ? K.p(d, v) : (K = Xt(d), K.c(), K.m(O, Ve)) : K && (K.d(1), K = null), /*invalidPassword*/
|
|
4570
4566
|
d[6] && /*simplepasswordvalidation*/
|
|
4571
|
-
d[0] === "true" ? ee ? ee.p(d,
|
|
4567
|
+
d[0] === "true" ? ee ? ee.p(d, v) : (ee = Zt(d), ee.c(), ee.m(O, null)) : ee && (ee.d(1), ee = null), v[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
|
|
4572
4568
|
135232 && Le !== (Le = "PasswordContainer " + /*invalidPassword*/
|
|
4573
4569
|
(d[6] && !/*passwordFocus*/
|
|
4574
4570
|
d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4575
|
-
(d[17]?.indexOf("password") >= 0 ? "Hidden" : "")) &&
|
|
4571
|
+
(d[17]?.indexOf("password") >= 0 ? "Hidden" : "")) && o(O, "class", Le), v[0] & /*disabledFieldsList*/
|
|
4576
4572
|
131072 && Me !== (Me = /*disabledFieldsList*/
|
|
4577
|
-
d[17]?.indexOf("password") >= 0) && (O.hidden = Me),
|
|
4573
|
+
d[17]?.indexOf("password") >= 0) && (O.hidden = Me), v[0] & /*$_*/
|
|
4578
4574
|
1073741824 && Re !== (Re = /*$_*/
|
|
4579
|
-
d[30]("registerConfirmPassword") + "") && F(pr, Re),
|
|
4575
|
+
d[30]("registerConfirmPassword") + "") && F(pr, Re), v[0] & /*confirmUserPassword*/
|
|
4580
4576
|
2097152 && Q.value !== /*confirmUserPassword*/
|
|
4581
4577
|
d[21] && ne(
|
|
4582
4578
|
Q,
|
|
4583
4579
|
/*confirmUserPassword*/
|
|
4584
4580
|
d[21]
|
|
4585
|
-
), Qr === (Qr =
|
|
4586
|
-
d[7] ? re ? re.p(d,
|
|
4581
|
+
), Qr === (Qr = At(d)) && Pe ? Pe.p(d, v) : (Pe.d(1), Pe = Qr(d), Pe && (Pe.c(), Pe.m(j, Qe))), /*invalidConfirmPassword*/
|
|
4582
|
+
d[7] ? re ? re.p(d, v) : (re = Wt(d), re.c(), re.m(j, null)) : re && (re.d(1), re = null), v[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
|
|
4587
4583
|
139392 && ze !== (ze = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4588
4584
|
(d[7] && !/*confirmPasswordFocus*/
|
|
4589
4585
|
d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4590
|
-
(d[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")) &&
|
|
4586
|
+
(d[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")) && o(j, "class", ze), v[0] & /*$_*/
|
|
4591
4587
|
1073741824 && Xe !== (Xe = /*$_*/
|
|
4592
|
-
d[30]("registerPromoCode") + "") && F(Er, Xe),
|
|
4588
|
+
d[30]("registerPromoCode") + "") && F(Er, Xe), v[0] & /*promoCode*/
|
|
4593
4589
|
16777216 && ue.value !== /*promoCode*/
|
|
4594
4590
|
d[24] && ne(
|
|
4595
4591
|
ue,
|
|
4596
4592
|
/*promoCode*/
|
|
4597
4593
|
d[24]
|
|
4598
|
-
),
|
|
4594
|
+
), v[0] & /*disabledFieldsList*/
|
|
4599
4595
|
131072 && Ze !== (Ze = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4600
|
-
(d[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")) &&
|
|
4596
|
+
(d[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")) && o(we, "class", Ze), v[0] & /*custominputtextswitch, $_*/
|
|
4601
4597
|
1073741828 && We !== (We = /*custominputtextswitch*/
|
|
4602
4598
|
(d[2] == "true" ? (
|
|
4603
4599
|
/*$_*/
|
|
@@ -4605,18 +4601,18 @@ function $s(e) {
|
|
|
4605
4601
|
) : (
|
|
4606
4602
|
/*$_*/
|
|
4607
4603
|
d[30]("registerSecurityQuestion")
|
|
4608
|
-
)) + "") && F(
|
|
4604
|
+
)) + "") && F(vr, We), v[0] & /*securityQuestion*/
|
|
4609
4605
|
4194304 && ce.value !== /*securityQuestion*/
|
|
4610
4606
|
d[22] && ne(
|
|
4611
4607
|
ce,
|
|
4612
4608
|
/*securityQuestion*/
|
|
4613
4609
|
d[22]
|
|
4614
4610
|
), /*invalidSecurityQuestion*/
|
|
4615
|
-
d[8] ? te ? te.p(d,
|
|
4611
|
+
d[8] ? te ? te.p(d, v) : (te = qt(d), te.c(), te.m(ge, null)) : te && (te.d(1), te = null), v[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
|
|
4616
4612
|
147712 && Je !== (Je = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4617
4613
|
(d[8] && !/*securityQFocus*/
|
|
4618
4614
|
d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4619
|
-
(d[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")) &&
|
|
4615
|
+
(d[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")) && o(ge, "class", Je), v[0] & /*custominputtextswitch, $_*/
|
|
4620
4616
|
1073741828 && Ye !== (Ye = /*custominputtextswitch*/
|
|
4621
4617
|
(d[2] == "true" ? (
|
|
4622
4618
|
/*$_*/
|
|
@@ -4624,34 +4620,34 @@ function $s(e) {
|
|
|
4624
4620
|
) : (
|
|
4625
4621
|
/*$_*/
|
|
4626
4622
|
d[30]("registerSecurityAnswer")
|
|
4627
|
-
)) + "") && F(
|
|
4623
|
+
)) + "") && F(_r, Ye), v[0] & /*securityAnswer*/
|
|
4628
4624
|
8388608 && he.value !== /*securityAnswer*/
|
|
4629
4625
|
d[23] && ne(
|
|
4630
4626
|
he,
|
|
4631
4627
|
/*securityAnswer*/
|
|
4632
4628
|
d[23]
|
|
4633
4629
|
), /*invalidSecurityAnswer*/
|
|
4634
|
-
d[9] ? ie ? ie.p(d,
|
|
4630
|
+
d[9] ? ie ? ie.p(d, v) : (ie = Jt(d), ie.c(), ie.m(pe, null)) : ie && (ie.d(1), ie = null), v[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
|
|
4635
4631
|
164352 && er !== (er = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4636
4632
|
(d[9] && !/*securityAFocus*/
|
|
4637
4633
|
d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4638
|
-
(d[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")) &&
|
|
4634
|
+
(d[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")) && o(pe, "class", er), v[0] & /*$_*/
|
|
4639
4635
|
1073741824 && I !== (I = /*$_*/
|
|
4640
|
-
d[30]("registerNext") + "") && F(V, I),
|
|
4636
|
+
d[30]("registerNext") + "") && F(V, I), v[0] & /*isValid*/
|
|
4641
4637
|
536870912 && Vr !== (Vr = !/*isValid*/
|
|
4642
4638
|
d[29]) && (p.disabled = Vr);
|
|
4643
4639
|
},
|
|
4644
4640
|
i: X,
|
|
4645
4641
|
o: X,
|
|
4646
4642
|
d(d) {
|
|
4647
|
-
d && se(r), J && J.d(), Y && Y.d(), e[59](null), Se.d(), K && K.d(), ee && ee.d(), e[65](null), Pe.d(), re && re.d(), te && te.d(), ie && ie.d(), e[78](null), it = !1, ur(
|
|
4643
|
+
d && se(r), J && J.d(), Y && Y.d(), e[59](null), Se.d(), K && K.d(), ee && ee.d(), e[65](null), Pe.d(), re && re.d(), te && te.d(), ie && ie.d(), e[78](null), it = !1, ur(Ct);
|
|
4648
4644
|
}
|
|
4649
4645
|
};
|
|
4650
4646
|
}
|
|
4651
|
-
function
|
|
4647
|
+
function $s(e, r, t) {
|
|
4652
4648
|
let i;
|
|
4653
|
-
|
|
4654
|
-
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: u = "false" } = r, { clientstyling:
|
|
4649
|
+
Ai(e, Rs, (p) => t(30, i = p));
|
|
4650
|
+
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: u = "false" } = r, { clientstyling: a = "" } = r, { clientstylingurl: f = "" } = r, { translationurl: c = "" } = r, { savecredentials: h = "" } = r, { custominputtextswitch: m = "false" } = r, g = !1, b = !1, _ = !1, y = !1, w = !1, B = !1, $ = !1, M = !1, de = !1, G = !1, be = !1, R = !1, De = !1, xe, Ee = "", U = "", Z = "", me = "", W = "", oe = "", ve = "", Ne = !1, k = !1, _e, Ae, ae = {}, D = {
|
|
4655
4651
|
username: !1,
|
|
4656
4652
|
email: !1,
|
|
4657
4653
|
password: !1,
|
|
@@ -4668,14 +4664,14 @@ function Qs(e, r, t) {
|
|
|
4668
4664
|
const dr = () => {
|
|
4669
4665
|
fetch(c).then((I) => I.json()).then((I) => {
|
|
4670
4666
|
Object.keys(I).forEach((V) => {
|
|
4671
|
-
|
|
4667
|
+
Vt(V, I[V]);
|
|
4672
4668
|
});
|
|
4673
4669
|
}).catch((I) => {
|
|
4674
4670
|
console.log(I);
|
|
4675
4671
|
});
|
|
4676
4672
|
};
|
|
4677
|
-
Object.keys(
|
|
4678
|
-
|
|
4673
|
+
Object.keys($t).forEach((p) => {
|
|
4674
|
+
Vt(p, $t[p]);
|
|
4679
4675
|
});
|
|
4680
4676
|
const mr = () => {
|
|
4681
4677
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
@@ -4698,18 +4694,18 @@ function Qs(e, r, t) {
|
|
|
4698
4694
|
t(22, W = I), br();
|
|
4699
4695
|
break;
|
|
4700
4696
|
case "securityAnswer":
|
|
4701
|
-
t(23,
|
|
4697
|
+
t(23, oe = I), Q();
|
|
4702
4698
|
break;
|
|
4703
4699
|
case "promoCode":
|
|
4704
|
-
t(24,
|
|
4700
|
+
t(24, ve = I), Ue();
|
|
4705
4701
|
break;
|
|
4706
4702
|
}
|
|
4707
4703
|
}, le = () => {
|
|
4708
4704
|
t(29, O = Object.keys(D).every((p) => s.includes(p) ? !0 : D[p] !== !1));
|
|
4709
4705
|
}, L = () => {
|
|
4710
|
-
|
|
4706
|
+
ae.email = U, ye.email.test(U) && U.length <= 100 ? t(4, g = !1) : t(4, g = !0), D.email = !g, le();
|
|
4711
4707
|
}, Oe = () => {
|
|
4712
|
-
|
|
4708
|
+
ae.username = Ee, ye.user.test(Ee) && Ee.length <= 20 ? t(5, b = !1) : t(5, b = !0), D.username = !b, le();
|
|
4713
4709
|
}, Hr = () => {
|
|
4714
4710
|
u == "true" && (ye.password = /^(?!.* ).{8,20}$/);
|
|
4715
4711
|
}, je = () => {
|
|
@@ -4721,17 +4717,17 @@ function Qs(e, r, t) {
|
|
|
4721
4717
|
}, Me = () => {
|
|
4722
4718
|
t(26, k = !1), j();
|
|
4723
4719
|
}, gr = () => {
|
|
4724
|
-
t(27,
|
|
4720
|
+
t(27, _e.type = Ne ? "text" : "password", _e);
|
|
4725
4721
|
}, j = () => {
|
|
4726
4722
|
t(28, Ae.type = k ? "text" : "password", Ae);
|
|
4727
4723
|
}, Te = () => !!ye.password.test(Z), Re = () => {
|
|
4728
|
-
|
|
4724
|
+
ae.password = Z, t(6, _ = !Te()), me.length !== 0 && $e(), D.password = !_, le();
|
|
4729
4725
|
}, pr = () => Z === me, $e = () => {
|
|
4730
|
-
|
|
4726
|
+
ae.confirmUserPassword = me, t(7, y = !pr()), D.confirmUserPassword = !y, le();
|
|
4731
4727
|
}, Ue = () => {
|
|
4732
|
-
|
|
4728
|
+
ae.promoCode = ve;
|
|
4733
4729
|
}, br = () => {
|
|
4734
|
-
if (
|
|
4730
|
+
if (ae.securityQuestion = W, W) switch (m) {
|
|
4735
4731
|
case "true":
|
|
4736
4732
|
if (ye.document.test(W) && W.length <= 50) {
|
|
4737
4733
|
t(8, w = !1), D.securityQuestion = !w, le();
|
|
@@ -4747,15 +4743,15 @@ function Qs(e, r, t) {
|
|
|
4747
4743
|
}
|
|
4748
4744
|
t(8, w = !0), D.securityQuestion = !w, le();
|
|
4749
4745
|
}, Q = () => {
|
|
4750
|
-
if (
|
|
4746
|
+
if (ae.securityAnswer = oe, oe) switch (m) {
|
|
4751
4747
|
case "true":
|
|
4752
|
-
if (ye.document.test(
|
|
4748
|
+
if (ye.document.test(oe) && oe.length <= 50) {
|
|
4753
4749
|
t(9, B = !1), D.securityAnswer = !B, le();
|
|
4754
4750
|
return;
|
|
4755
4751
|
}
|
|
4756
4752
|
break;
|
|
4757
4753
|
case "false":
|
|
4758
|
-
if (
|
|
4754
|
+
if (oe && oe.length <= 120) {
|
|
4759
4755
|
t(9, B = !1), D.securityAnswer = !B, le();
|
|
4760
4756
|
return;
|
|
4761
4757
|
}
|
|
@@ -4766,7 +4762,7 @@ function Qs(e, r, t) {
|
|
|
4766
4762
|
p.preventDefault(), window.postMessage(
|
|
4767
4763
|
{
|
|
4768
4764
|
type: "RegisterStepOne",
|
|
4769
|
-
registerStepOneData:
|
|
4765
|
+
registerStepOneData: ae
|
|
4770
4766
|
},
|
|
4771
4767
|
window.location.href
|
|
4772
4768
|
);
|
|
@@ -4783,10 +4779,10 @@ function Qs(e, r, t) {
|
|
|
4783
4779
|
}, ze = () => {
|
|
4784
4780
|
t(17, xe = s.split(","));
|
|
4785
4781
|
}, Ir = () => {
|
|
4786
|
-
|
|
4782
|
+
Us(n);
|
|
4787
4783
|
}, we = () => {
|
|
4788
4784
|
let p = document.createElement("style");
|
|
4789
|
-
p.innerHTML =
|
|
4785
|
+
p.innerHTML = a, q.appendChild(p);
|
|
4790
4786
|
}, ke = () => {
|
|
4791
4787
|
let p = new URL(f), I = document.createElement("style");
|
|
4792
4788
|
fetch(p.href).then((V) => V.text()).then((V) => {
|
|
@@ -4802,7 +4798,7 @@ function Qs(e, r, t) {
|
|
|
4802
4798
|
);
|
|
4803
4799
|
});
|
|
4804
4800
|
};
|
|
4805
|
-
|
|
4801
|
+
Li(() => (window.addEventListener("message", Qe, !1), () => {
|
|
4806
4802
|
window.removeEventListener("message", Qe);
|
|
4807
4803
|
}));
|
|
4808
4804
|
const Xe = () => mr();
|
|
@@ -4820,10 +4816,10 @@ function Qs(e, r, t) {
|
|
|
4820
4816
|
const ge = () => t(12, de = !0), He = () => t(12, de = !1);
|
|
4821
4817
|
function We(p) {
|
|
4822
4818
|
Pr[p ? "unshift" : "push"](() => {
|
|
4823
|
-
|
|
4819
|
+
_e = p, t(27, _e);
|
|
4824
4820
|
});
|
|
4825
4821
|
}
|
|
4826
|
-
const
|
|
4822
|
+
const vr = () => Le(), Mr = () => je();
|
|
4827
4823
|
function qe() {
|
|
4828
4824
|
me = this.value, t(21, me);
|
|
4829
4825
|
}
|
|
@@ -4835,15 +4831,15 @@ function Qs(e, r, t) {
|
|
|
4835
4831
|
}
|
|
4836
4832
|
const Je = () => Me(), kr = () => Ve();
|
|
4837
4833
|
function pe() {
|
|
4838
|
-
|
|
4834
|
+
ve = this.value, t(24, ve);
|
|
4839
4835
|
}
|
|
4840
4836
|
const Ie = () => t(16, De = !0), Ye = () => t(16, De = !1);
|
|
4841
|
-
function
|
|
4837
|
+
function _r() {
|
|
4842
4838
|
W = this.value, t(22, W);
|
|
4843
4839
|
}
|
|
4844
4840
|
const Fr = () => t(14, be = !0), Ke = () => t(14, be = !1);
|
|
4845
4841
|
function Dr() {
|
|
4846
|
-
|
|
4842
|
+
oe = this.value, t(23, oe);
|
|
4847
4843
|
}
|
|
4848
4844
|
const he = () => t(15, R = !0), Gr = () => t(15, R = !1), er = (p) => yr(p);
|
|
4849
4845
|
function jr(p) {
|
|
@@ -4852,14 +4848,14 @@ function Qs(e, r, t) {
|
|
|
4852
4848
|
});
|
|
4853
4849
|
}
|
|
4854
4850
|
return e.$$set = (p) => {
|
|
4855
|
-
"lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0, u = p.simplepasswordvalidation), "clientstyling" in p && t(46,
|
|
4851
|
+
"lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0, u = p.simplepasswordvalidation), "clientstyling" in p && t(46, a = p.clientstyling), "clientstylingurl" in p && t(47, f = p.clientstylingurl), "translationurl" in p && t(48, c = p.translationurl), "savecredentials" in p && t(1, h = p.savecredentials), "custominputtextswitch" in p && t(2, m = p.custominputtextswitch);
|
|
4856
4852
|
}, e.$$.update = () => {
|
|
4857
4853
|
e.$$.dirty[1] & /*lang*/
|
|
4858
4854
|
8192 && n && Ir(), e.$$.dirty[1] & /*disabledfields*/
|
|
4859
4855
|
16384 && s && ze(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
4860
4856
|
1 && u && Hr(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4861
4857
|
8 | e.$$.dirty[1] & /*clientstyling*/
|
|
4862
|
-
32768 &&
|
|
4858
|
+
32768 && a && q && we(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4863
4859
|
8 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
4864
4860
|
65536 && f && q && ke(), e.$$.dirty[1] & /*translationurl*/
|
|
4865
4861
|
131072 && c && dr();
|
|
@@ -4870,7 +4866,7 @@ function Qs(e, r, t) {
|
|
|
4870
4866
|
q,
|
|
4871
4867
|
g,
|
|
4872
4868
|
b,
|
|
4873
|
-
|
|
4869
|
+
_,
|
|
4874
4870
|
y,
|
|
4875
4871
|
w,
|
|
4876
4872
|
B,
|
|
@@ -4887,11 +4883,11 @@ function Qs(e, r, t) {
|
|
|
4887
4883
|
Z,
|
|
4888
4884
|
me,
|
|
4889
4885
|
W,
|
|
4890
|
-
|
|
4891
|
-
|
|
4886
|
+
oe,
|
|
4887
|
+
ve,
|
|
4892
4888
|
Ne,
|
|
4893
4889
|
k,
|
|
4894
|
-
|
|
4890
|
+
_e,
|
|
4895
4891
|
Ae,
|
|
4896
4892
|
O,
|
|
4897
4893
|
i,
|
|
@@ -4910,7 +4906,7 @@ function Qs(e, r, t) {
|
|
|
4910
4906
|
yr,
|
|
4911
4907
|
n,
|
|
4912
4908
|
s,
|
|
4913
|
-
|
|
4909
|
+
a,
|
|
4914
4910
|
f,
|
|
4915
4911
|
c,
|
|
4916
4912
|
Xe,
|
|
@@ -4924,7 +4920,7 @@ function Qs(e, r, t) {
|
|
|
4924
4920
|
ge,
|
|
4925
4921
|
He,
|
|
4926
4922
|
We,
|
|
4927
|
-
|
|
4923
|
+
vr,
|
|
4928
4924
|
Mr,
|
|
4929
4925
|
qe,
|
|
4930
4926
|
Rr,
|
|
@@ -4935,7 +4931,7 @@ function Qs(e, r, t) {
|
|
|
4935
4931
|
pe,
|
|
4936
4932
|
Ie,
|
|
4937
4933
|
Ye,
|
|
4938
|
-
|
|
4934
|
+
_r,
|
|
4939
4935
|
Fr,
|
|
4940
4936
|
Ke,
|
|
4941
4937
|
Dr,
|
|
@@ -4945,14 +4941,14 @@ function Qs(e, r, t) {
|
|
|
4945
4941
|
jr
|
|
4946
4942
|
];
|
|
4947
4943
|
}
|
|
4948
|
-
class
|
|
4944
|
+
class Qs extends zi {
|
|
4949
4945
|
constructor(r) {
|
|
4950
|
-
super(),
|
|
4946
|
+
super(), $i(
|
|
4951
4947
|
this,
|
|
4952
4948
|
r,
|
|
4953
|
-
Qs,
|
|
4954
4949
|
$s,
|
|
4955
|
-
|
|
4950
|
+
Vs,
|
|
4951
|
+
Kt,
|
|
4956
4952
|
{
|
|
4957
4953
|
lang: 44,
|
|
4958
4954
|
disabledfields: 45,
|
|
@@ -4963,7 +4959,7 @@ class zs extends Xi {
|
|
|
4963
4959
|
savecredentials: 1,
|
|
4964
4960
|
custominputtextswitch: 2
|
|
4965
4961
|
},
|
|
4966
|
-
|
|
4962
|
+
ks,
|
|
4967
4963
|
[-1, -1, -1, -1]
|
|
4968
4964
|
);
|
|
4969
4965
|
}
|
|
@@ -5016,7 +5012,7 @@ class zs extends Xi {
|
|
|
5016
5012
|
this.$$set({ custominputtextswitch: r }), Ce();
|
|
5017
5013
|
}
|
|
5018
5014
|
}
|
|
5019
|
-
|
|
5015
|
+
Qi(Qs, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
|
|
5020
5016
|
export {
|
|
5021
|
-
|
|
5017
|
+
Qs as G
|
|
5022
5018
|
};
|