@everymatrix/general-player-register-form-step1 1.76.3 → 1.76.5
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-CFKHrjD_.js → GeneralPlayerRegisterFormStep1-BGNJ1Tpn.js} +870 -868
- package/components/{GeneralPlayerRegisterFormStep1-C7jHytxx.js → GeneralPlayerRegisterFormStep1-CCtaghRj.js} +889 -887
- package/components/GeneralPlayerRegisterFormStep1-CnwnqG8Z.cjs +3 -0
- package/es2015/general-player-register-form-step1.cjs +1 -1
- package/es2015/general-player-register-form-step1.js +1 -1
- package/esnext/general-player-register-form-step1.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerRegisterFormStep1-DqiFdBqW.cjs +0 -16
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function z() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function ei(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Bt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function ur(e) {
|
|
10
|
+
e.forEach(ei);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Pt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function ri(e, r) {
|
|
16
16
|
return e != e ? r == r : e !== r || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Ti(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function ti(e, ...r) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const i of r)
|
|
24
24
|
i(void 0);
|
|
@@ -27,20 +27,20 @@ function 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 Hi(e, r, t) {
|
|
31
|
+
e.$$.on_destroy.push(ti(r, t));
|
|
32
32
|
}
|
|
33
33
|
function l(e, r) {
|
|
34
34
|
e.appendChild(r);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const i =
|
|
36
|
+
function Bi(e, r, t) {
|
|
37
|
+
const i = Ii(e);
|
|
38
38
|
if (!i.getElementById(r)) {
|
|
39
39
|
const n = E("style");
|
|
40
|
-
n.id = r, n.textContent = t,
|
|
40
|
+
n.id = r, n.textContent = t, Ni(i, n);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Ii(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,7 +50,7 @@ function Bi(e) {
|
|
|
50
50
|
r
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Ni(e, r) {
|
|
54
54
|
return l(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
@@ -66,22 +66,22 @@ function ie(e) {
|
|
|
66
66
|
function E(e) {
|
|
67
67
|
return document.createElement(e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function w(e) {
|
|
70
70
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function T(e) {
|
|
73
73
|
return document.createTextNode(e);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
76
|
-
return
|
|
75
|
+
function B() {
|
|
76
|
+
return T(" ");
|
|
77
77
|
}
|
|
78
78
|
function x(e, r, t, i) {
|
|
79
79
|
return e.addEventListener(r, t, i), () => e.removeEventListener(r, t, i);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function o(e, r, t) {
|
|
82
82
|
t == null ? e.removeAttribute(r) : e.getAttribute(r) !== t && e.setAttribute(r, t);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function Oi(e) {
|
|
85
85
|
return Array.from(e.childNodes);
|
|
86
86
|
}
|
|
87
87
|
function D(e, r) {
|
|
@@ -91,7 +91,7 @@ function D(e, r) {
|
|
|
91
91
|
function te(e, r) {
|
|
92
92
|
e.value = r ?? "";
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Li(e) {
|
|
95
95
|
const r = {};
|
|
96
96
|
return e.childNodes.forEach(
|
|
97
97
|
/** @param {Element} node */
|
|
@@ -100,87 +100,87 @@ function Oi(e) {
|
|
|
100
100
|
}
|
|
101
101
|
), r;
|
|
102
102
|
}
|
|
103
|
-
let
|
|
104
|
-
function
|
|
105
|
-
|
|
103
|
+
let Pr;
|
|
104
|
+
function wr(e) {
|
|
105
|
+
Pr = e;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
108
|
-
if (!
|
|
107
|
+
function Mi() {
|
|
108
|
+
if (!Pr)
|
|
109
109
|
throw new Error("Function called outside component initialization");
|
|
110
|
-
return
|
|
110
|
+
return Pr;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
|
|
112
|
+
function Ri(e) {
|
|
113
|
+
Mi().$$.on_mount.push(e);
|
|
114
114
|
}
|
|
115
|
-
const
|
|
116
|
-
let
|
|
117
|
-
const
|
|
118
|
-
let
|
|
119
|
-
function
|
|
120
|
-
|
|
115
|
+
const ir = [], Sr = [];
|
|
116
|
+
let nr = [];
|
|
117
|
+
const It = [], Ui = /* @__PURE__ */ Promise.resolve();
|
|
118
|
+
let dt = !1;
|
|
119
|
+
function ki() {
|
|
120
|
+
dt || (dt = !0, Ui.then(be));
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
|
|
122
|
+
function mt(e) {
|
|
123
|
+
nr.push(e);
|
|
124
124
|
}
|
|
125
|
-
const
|
|
126
|
-
let
|
|
125
|
+
const ot = /* @__PURE__ */ new Set();
|
|
126
|
+
let rr = 0;
|
|
127
127
|
function be() {
|
|
128
|
-
if (
|
|
128
|
+
if (rr !== 0)
|
|
129
129
|
return;
|
|
130
|
-
const e =
|
|
130
|
+
const e = Pr;
|
|
131
131
|
do {
|
|
132
132
|
try {
|
|
133
|
-
for (;
|
|
134
|
-
const r =
|
|
135
|
-
|
|
133
|
+
for (; rr < ir.length; ) {
|
|
134
|
+
const r = ir[rr];
|
|
135
|
+
rr++, wr(r), Fi(r.$$);
|
|
136
136
|
}
|
|
137
137
|
} catch (r) {
|
|
138
|
-
throw
|
|
138
|
+
throw ir.length = 0, rr = 0, r;
|
|
139
139
|
}
|
|
140
|
-
for (
|
|
141
|
-
|
|
142
|
-
for (let r = 0; r <
|
|
143
|
-
const t =
|
|
144
|
-
|
|
140
|
+
for (wr(null), ir.length = 0, rr = 0; Sr.length; )
|
|
141
|
+
Sr.pop()();
|
|
142
|
+
for (let r = 0; r < nr.length; r += 1) {
|
|
143
|
+
const t = nr[r];
|
|
144
|
+
ot.has(t) || (ot.add(t), t());
|
|
145
145
|
}
|
|
146
|
-
|
|
147
|
-
} while (
|
|
148
|
-
for (;
|
|
149
|
-
|
|
150
|
-
|
|
146
|
+
nr.length = 0;
|
|
147
|
+
} while (ir.length);
|
|
148
|
+
for (; It.length; )
|
|
149
|
+
It.pop()();
|
|
150
|
+
dt = !1, ot.clear(), wr(e);
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function Fi(e) {
|
|
153
153
|
if (e.fragment !== null) {
|
|
154
|
-
e.update(),
|
|
154
|
+
e.update(), ur(e.before_update);
|
|
155
155
|
const r = e.dirty;
|
|
156
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(
|
|
156
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(mt);
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Di(e) {
|
|
160
160
|
const r = [], t = [];
|
|
161
|
-
|
|
161
|
+
nr.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), nr = r;
|
|
162
162
|
}
|
|
163
|
-
const
|
|
164
|
-
function
|
|
165
|
-
e && e.i && (
|
|
163
|
+
const Gi = /* @__PURE__ */ new Set();
|
|
164
|
+
function ji(e, r) {
|
|
165
|
+
e && e.i && (Gi.delete(e), e.i(r));
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function Vi(e, r, t) {
|
|
168
168
|
const { fragment: i, after_update: n } = e.$$;
|
|
169
|
-
i && i.m(r, t),
|
|
170
|
-
const s = e.$$.on_mount.map(
|
|
171
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
172
|
-
}), n.forEach(
|
|
169
|
+
i && i.m(r, t), mt(() => {
|
|
170
|
+
const s = e.$$.on_mount.map(ei).filter(Pt);
|
|
171
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ur(s), e.$$.on_mount = [];
|
|
172
|
+
}), n.forEach(mt);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function $i(e, r) {
|
|
175
175
|
const t = e.$$;
|
|
176
|
-
t.fragment !== null && (
|
|
176
|
+
t.fragment !== null && (Di(t.after_update), ur(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
179
|
-
e.$$.dirty[0] === -1 && (
|
|
178
|
+
function Qi(e, r) {
|
|
179
|
+
e.$$.dirty[0] === -1 && (ir.push(e), ki(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
182
|
-
const f =
|
|
183
|
-
|
|
181
|
+
function zi(e, r, t, i, n, s, u = null, a = [-1]) {
|
|
182
|
+
const f = Pr;
|
|
183
|
+
wr(e);
|
|
184
184
|
const c = e.$$ = {
|
|
185
185
|
fragment: null,
|
|
186
186
|
ctx: [],
|
|
@@ -188,7 +188,7 @@ function Qi(e, r, t, i, n, s, u = null, o = [-1]) {
|
|
|
188
188
|
props: s,
|
|
189
189
|
update: z,
|
|
190
190
|
not_equal: n,
|
|
191
|
-
bound:
|
|
191
|
+
bound: Bt(),
|
|
192
192
|
// lifecycle
|
|
193
193
|
on_mount: [],
|
|
194
194
|
on_destroy: [],
|
|
@@ -197,28 +197,28 @@ function Qi(e, r, t, i, n, s, u = null, o = [-1]) {
|
|
|
197
197
|
after_update: [],
|
|
198
198
|
context: new Map(r.context || (f ? f.$$.context : [])),
|
|
199
199
|
// everything else
|
|
200
|
-
callbacks:
|
|
201
|
-
dirty:
|
|
200
|
+
callbacks: Bt(),
|
|
201
|
+
dirty: a,
|
|
202
202
|
skip_bound: !1,
|
|
203
203
|
root: r.target || f.$$.root
|
|
204
204
|
};
|
|
205
205
|
u && u(c.root);
|
|
206
206
|
let h = !1;
|
|
207
|
-
if (c.ctx = t(e, r.props || {}, (m, g, ...b) => {
|
|
207
|
+
if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
|
|
208
208
|
const _ = b.length ? b[0] : g;
|
|
209
|
-
return c.ctx && n(c.ctx[m], c.ctx[m] = _) && (!c.skip_bound && c.bound[m] && c.bound[m](_), h &&
|
|
210
|
-
}), c.update(), h = !0,
|
|
209
|
+
return c.ctx && n(c.ctx[m], c.ctx[m] = _) && (!c.skip_bound && c.bound[m] && c.bound[m](_), h && Qi(e, m)), g;
|
|
210
|
+
}) : [], c.update(), h = !0, ur(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
|
|
211
211
|
if (r.hydrate) {
|
|
212
|
-
const m =
|
|
212
|
+
const m = Oi(r.target);
|
|
213
213
|
c.fragment && c.fragment.l(m), m.forEach(ie);
|
|
214
214
|
} else
|
|
215
215
|
c.fragment && c.fragment.c();
|
|
216
|
-
r.intro &&
|
|
216
|
+
r.intro && ji(e.$$.fragment), Vi(e, r.target, r.anchor), be();
|
|
217
217
|
}
|
|
218
|
-
|
|
218
|
+
wr(f);
|
|
219
219
|
}
|
|
220
|
-
let
|
|
221
|
-
typeof HTMLElement == "function" && (
|
|
220
|
+
let ii;
|
|
221
|
+
typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
222
222
|
/** The Svelte component constructor */
|
|
223
223
|
$$ctor;
|
|
224
224
|
/** Slots */
|
|
@@ -260,7 +260,7 @@ typeof HTMLElement == "function" && (ti = class extends HTMLElement {
|
|
|
260
260
|
let s;
|
|
261
261
|
return {
|
|
262
262
|
c: function() {
|
|
263
|
-
s = E("slot"), n !== "default" &&
|
|
263
|
+
s = E("slot"), n !== "default" && o(s, "name", n);
|
|
264
264
|
},
|
|
265
265
|
/**
|
|
266
266
|
* @param {HTMLElement} target
|
|
@@ -277,12 +277,12 @@ typeof HTMLElement == "function" && (ti = class extends HTMLElement {
|
|
|
277
277
|
};
|
|
278
278
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
279
279
|
return;
|
|
280
|
-
const r = {}, t =
|
|
280
|
+
const r = {}, t = Li(this);
|
|
281
281
|
for (const n of this.$$s)
|
|
282
282
|
n in t && (r[n] = [e(n)]);
|
|
283
283
|
for (const n of this.attributes) {
|
|
284
284
|
const s = this.$$g_p(n.name);
|
|
285
|
-
s in this.$$d || (this.$$d[s] =
|
|
285
|
+
s in this.$$d || (this.$$d[s] = Xr(s, n.value, this.$$p_d, "toProp"));
|
|
286
286
|
}
|
|
287
287
|
for (const n in this.$$p_d)
|
|
288
288
|
!(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
@@ -300,7 +300,7 @@ typeof HTMLElement == "function" && (ti = class extends HTMLElement {
|
|
|
300
300
|
this.$$r = !0;
|
|
301
301
|
for (const n in this.$$p_d)
|
|
302
302
|
if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
|
|
303
|
-
const s =
|
|
303
|
+
const s = Xr(
|
|
304
304
|
n,
|
|
305
305
|
this.$$d[n],
|
|
306
306
|
this.$$p_d,
|
|
@@ -322,7 +322,7 @@ typeof HTMLElement == "function" && (ti = class extends HTMLElement {
|
|
|
322
322
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
323
323
|
// and setting attributes through setAttribute etc, this is helpful
|
|
324
324
|
attributeChangedCallback(e, r, t) {
|
|
325
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
325
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Xr(e, t, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
326
326
|
}
|
|
327
327
|
disconnectedCallback() {
|
|
328
328
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -335,7 +335,7 @@ typeof HTMLElement == "function" && (ti = class extends HTMLElement {
|
|
|
335
335
|
) || e;
|
|
336
336
|
}
|
|
337
337
|
});
|
|
338
|
-
function
|
|
338
|
+
function Xr(e, r, t, i) {
|
|
339
339
|
const n = t[e]?.type;
|
|
340
340
|
if (r = n === "Boolean" && typeof r != "boolean" ? r != null : r, !i || !t[e])
|
|
341
341
|
return r;
|
|
@@ -364,36 +364,36 @@ function zr(e, r, t, i) {
|
|
|
364
364
|
return r;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
function
|
|
368
|
-
let u = class extends
|
|
367
|
+
function Xi(e, r, t, i, n, s) {
|
|
368
|
+
let u = class extends ii {
|
|
369
369
|
constructor() {
|
|
370
370
|
super(e, t, n), this.$$p_d = r;
|
|
371
371
|
}
|
|
372
372
|
static get observedAttributes() {
|
|
373
373
|
return Object.keys(r).map(
|
|
374
|
-
(
|
|
374
|
+
(a) => (r[a].attribute || a).toLowerCase()
|
|
375
375
|
);
|
|
376
376
|
}
|
|
377
377
|
};
|
|
378
|
-
return Object.keys(r).forEach((
|
|
379
|
-
Object.defineProperty(u.prototype,
|
|
378
|
+
return Object.keys(r).forEach((a) => {
|
|
379
|
+
Object.defineProperty(u.prototype, a, {
|
|
380
380
|
get() {
|
|
381
|
-
return this.$$c &&
|
|
381
|
+
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
382
382
|
},
|
|
383
383
|
set(f) {
|
|
384
|
-
f =
|
|
384
|
+
f = Xr(a, f, r), this.$$d[a] = f, this.$$c?.$set({ [a]: f });
|
|
385
385
|
}
|
|
386
386
|
});
|
|
387
|
-
}), i.forEach((
|
|
388
|
-
Object.defineProperty(u.prototype,
|
|
387
|
+
}), i.forEach((a) => {
|
|
388
|
+
Object.defineProperty(u.prototype, a, {
|
|
389
389
|
get() {
|
|
390
|
-
return this.$$c?.[
|
|
390
|
+
return this.$$c?.[a];
|
|
391
391
|
}
|
|
392
392
|
});
|
|
393
393
|
}), e.element = /** @type {any} */
|
|
394
394
|
u, u;
|
|
395
395
|
}
|
|
396
|
-
class
|
|
396
|
+
class Zi {
|
|
397
397
|
/**
|
|
398
398
|
* ### PRIVATE API
|
|
399
399
|
*
|
|
@@ -412,7 +412,7 @@ class Xi {
|
|
|
412
412
|
$$set = void 0;
|
|
413
413
|
/** @returns {void} */
|
|
414
414
|
$destroy() {
|
|
415
|
-
|
|
415
|
+
$i(this, 1), this.$destroy = z;
|
|
416
416
|
}
|
|
417
417
|
/**
|
|
418
418
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -421,7 +421,7 @@ class Xi {
|
|
|
421
421
|
* @returns {() => void}
|
|
422
422
|
*/
|
|
423
423
|
$on(r, t) {
|
|
424
|
-
if (!
|
|
424
|
+
if (!Pt(t))
|
|
425
425
|
return z;
|
|
426
426
|
const i = this.$$.callbacks[r] || (this.$$.callbacks[r] = []);
|
|
427
427
|
return i.push(t), () => {
|
|
@@ -434,49 +434,49 @@ class Xi {
|
|
|
434
434
|
* @returns {void}
|
|
435
435
|
*/
|
|
436
436
|
$set(r) {
|
|
437
|
-
this.$$set && !
|
|
437
|
+
this.$$set && !Ti(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
|
-
const
|
|
441
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
442
|
-
const
|
|
443
|
-
function
|
|
440
|
+
const Wi = "4";
|
|
441
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wi);
|
|
442
|
+
const tr = [];
|
|
443
|
+
function qi(e, r) {
|
|
444
444
|
return {
|
|
445
|
-
subscribe:
|
|
445
|
+
subscribe: Kr(e, r).subscribe
|
|
446
446
|
};
|
|
447
447
|
}
|
|
448
|
-
function
|
|
448
|
+
function Kr(e, r = z) {
|
|
449
449
|
let t;
|
|
450
450
|
const i = /* @__PURE__ */ new Set();
|
|
451
|
-
function n(
|
|
452
|
-
if (
|
|
453
|
-
const f = !
|
|
451
|
+
function n(a) {
|
|
452
|
+
if (ri(e, a) && (e = a, t)) {
|
|
453
|
+
const f = !tr.length;
|
|
454
454
|
for (const c of i)
|
|
455
|
-
c[1](),
|
|
455
|
+
c[1](), tr.push(c, e);
|
|
456
456
|
if (f) {
|
|
457
|
-
for (let c = 0; c <
|
|
458
|
-
|
|
459
|
-
|
|
457
|
+
for (let c = 0; c < tr.length; c += 2)
|
|
458
|
+
tr[c][0](tr[c + 1]);
|
|
459
|
+
tr.length = 0;
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
|
-
function s(
|
|
464
|
-
n(
|
|
463
|
+
function s(a) {
|
|
464
|
+
n(a(e));
|
|
465
465
|
}
|
|
466
|
-
function u(
|
|
467
|
-
const c = [
|
|
468
|
-
return i.add(c), i.size === 1 && (t = r(n, s) || z),
|
|
466
|
+
function u(a, f = z) {
|
|
467
|
+
const c = [a, f];
|
|
468
|
+
return i.add(c), i.size === 1 && (t = r(n, s) || z), a(e), () => {
|
|
469
469
|
i.delete(c), i.size === 0 && t && (t(), t = null);
|
|
470
470
|
};
|
|
471
471
|
}
|
|
472
472
|
return { set: n, update: s, subscribe: u };
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function cr(e, r, t) {
|
|
475
475
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
476
476
|
if (!n.every(Boolean))
|
|
477
477
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
478
478
|
const s = r.length < 2;
|
|
479
|
-
return
|
|
479
|
+
return qi(t, (u, a) => {
|
|
480
480
|
let f = !1;
|
|
481
481
|
const c = [];
|
|
482
482
|
let h = 0, m = z;
|
|
@@ -484,10 +484,10 @@ function ur(e, r, t) {
|
|
|
484
484
|
if (h)
|
|
485
485
|
return;
|
|
486
486
|
m();
|
|
487
|
-
const _ = r(i ? c[0] : c, u,
|
|
488
|
-
s ? u(_) : m =
|
|
487
|
+
const _ = r(i ? c[0] : c, u, a);
|
|
488
|
+
s ? u(_) : m = Pt(_) ? _ : z;
|
|
489
489
|
}, b = n.map(
|
|
490
|
-
(_, y) =>
|
|
490
|
+
(_, y) => ti(
|
|
491
491
|
_,
|
|
492
492
|
(A) => {
|
|
493
493
|
c[y] = A, h &= ~(1 << y), f && g();
|
|
@@ -498,126 +498,112 @@ function ur(e, r, t) {
|
|
|
498
498
|
)
|
|
499
499
|
);
|
|
500
500
|
return f = !0, g(), function() {
|
|
501
|
-
|
|
501
|
+
ur(b), m(), f = !1;
|
|
502
502
|
};
|
|
503
503
|
});
|
|
504
504
|
}
|
|
505
|
-
function
|
|
506
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
505
|
+
function Ji(e) {
|
|
506
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
507
507
|
}
|
|
508
|
-
var
|
|
509
|
-
return
|
|
508
|
+
var Yi = function(r) {
|
|
509
|
+
return Ki(r) && !en(r);
|
|
510
510
|
};
|
|
511
|
-
function
|
|
511
|
+
function Ki(e) {
|
|
512
512
|
return !!e && typeof e == "object";
|
|
513
513
|
}
|
|
514
|
-
function
|
|
514
|
+
function en(e) {
|
|
515
515
|
var r = Object.prototype.toString.call(e);
|
|
516
|
-
return r === "[object RegExp]" || r === "[object Date]" ||
|
|
517
|
-
}
|
|
518
|
-
var en = typeof Symbol == "function" && Symbol.for, rn = en ? Symbol.for("react.element") : 60103;
|
|
519
|
-
function tn(e) {
|
|
520
|
-
return e.$$typeof === rn;
|
|
516
|
+
return r === "[object RegExp]" || r === "[object Date]" || nn(e);
|
|
521
517
|
}
|
|
518
|
+
var rn = typeof Symbol == "function" && Symbol.for, tn = rn ? Symbol.for("react.element") : 60103;
|
|
522
519
|
function nn(e) {
|
|
520
|
+
return e.$$typeof === tn;
|
|
521
|
+
}
|
|
522
|
+
function sn(e) {
|
|
523
523
|
return Array.isArray(e) ? [] : {};
|
|
524
524
|
}
|
|
525
|
-
function
|
|
526
|
-
return r.clone !== !1 && r.isMergeableObject(e) ?
|
|
525
|
+
function xr(e, r) {
|
|
526
|
+
return r.clone !== !1 && r.isMergeableObject(e) ? sr(sn(e), e, r) : e;
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function on(e, r, t) {
|
|
529
529
|
return e.concat(r).map(function(i) {
|
|
530
|
-
return
|
|
530
|
+
return xr(i, t);
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
533
|
function an(e, r) {
|
|
534
534
|
if (!r.customMerge)
|
|
535
|
-
return
|
|
535
|
+
return sr;
|
|
536
536
|
var t = r.customMerge(e);
|
|
537
|
-
return typeof t == "function" ? t :
|
|
537
|
+
return typeof t == "function" ? t : sr;
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function ln(e) {
|
|
540
540
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
|
|
541
541
|
return Object.propertyIsEnumerable.call(e, r);
|
|
542
542
|
}) : [];
|
|
543
543
|
}
|
|
544
|
-
function
|
|
545
|
-
return Object.keys(e).concat(
|
|
544
|
+
function Nt(e) {
|
|
545
|
+
return Object.keys(e).concat(ln(e));
|
|
546
546
|
}
|
|
547
|
-
function
|
|
547
|
+
function ni(e, r) {
|
|
548
548
|
try {
|
|
549
549
|
return r in e;
|
|
550
550
|
} catch {
|
|
551
551
|
return !1;
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
|
-
function
|
|
555
|
-
return
|
|
554
|
+
function un(e, r) {
|
|
555
|
+
return ni(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function cn(e, r, t) {
|
|
558
558
|
var i = {};
|
|
559
|
-
return t.isMergeableObject(e) &&
|
|
560
|
-
i[n] =
|
|
561
|
-
}),
|
|
562
|
-
|
|
559
|
+
return t.isMergeableObject(e) && Nt(e).forEach(function(n) {
|
|
560
|
+
i[n] = xr(e[n], t);
|
|
561
|
+
}), Nt(r).forEach(function(n) {
|
|
562
|
+
un(e, n) || (ni(e, n) && t.isMergeableObject(r[n]) ? i[n] = an(n, t)(e[n], r[n], t) : i[n] = xr(r[n], t));
|
|
563
563
|
}), i;
|
|
564
564
|
}
|
|
565
|
-
function
|
|
566
|
-
t = t || {}, t.arrayMerge = t.arrayMerge ||
|
|
565
|
+
function sr(e, r, t) {
|
|
566
|
+
t = t || {}, t.arrayMerge = t.arrayMerge || on, t.isMergeableObject = t.isMergeableObject || Yi, t.cloneUnlessOtherwiseSpecified = xr;
|
|
567
567
|
var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
|
|
568
|
-
return s ? i ? t.arrayMerge(e, r, t) :
|
|
568
|
+
return s ? i ? t.arrayMerge(e, r, t) : cn(e, r, t) : xr(r, t);
|
|
569
569
|
}
|
|
570
|
-
|
|
570
|
+
sr.all = function(r, t) {
|
|
571
571
|
if (!Array.isArray(r))
|
|
572
572
|
throw new Error("first argument should be an array");
|
|
573
573
|
return r.reduce(function(i, n) {
|
|
574
|
-
return
|
|
574
|
+
return sr(i, n, t);
|
|
575
575
|
}, {});
|
|
576
576
|
};
|
|
577
|
-
var
|
|
578
|
-
const
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
583
|
-
purpose with or without fee is hereby granted.
|
|
584
|
-
|
|
585
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
586
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
587
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
588
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
589
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
590
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
591
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
592
|
-
***************************************************************************** */
|
|
593
|
-
var dt = function(e, r) {
|
|
594
|
-
return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
577
|
+
var hn = sr, fn = hn;
|
|
578
|
+
const dn = /* @__PURE__ */ Ji(fn);
|
|
579
|
+
var gt = function(e, r) {
|
|
580
|
+
return gt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
595
581
|
t.__proto__ = i;
|
|
596
582
|
} || function(t, i) {
|
|
597
583
|
for (var n in i)
|
|
598
584
|
Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
|
|
599
|
-
},
|
|
585
|
+
}, gt(e, r);
|
|
600
586
|
};
|
|
601
|
-
function
|
|
587
|
+
function et(e, r) {
|
|
602
588
|
if (typeof r != "function" && r !== null)
|
|
603
589
|
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
604
|
-
|
|
590
|
+
gt(e, r);
|
|
605
591
|
function t() {
|
|
606
592
|
this.constructor = e;
|
|
607
593
|
}
|
|
608
594
|
e.prototype = r === null ? Object.create(r) : (t.prototype = r.prototype, new t());
|
|
609
595
|
}
|
|
610
|
-
var
|
|
611
|
-
return
|
|
596
|
+
var Pe = function() {
|
|
597
|
+
return Pe = Object.assign || function(r) {
|
|
612
598
|
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
613
599
|
t = arguments[i];
|
|
614
600
|
for (var s in t)
|
|
615
601
|
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
616
602
|
}
|
|
617
603
|
return r;
|
|
618
|
-
},
|
|
604
|
+
}, Pe.apply(this, arguments);
|
|
619
605
|
};
|
|
620
|
-
function
|
|
606
|
+
function mn(e, r) {
|
|
621
607
|
var t = {};
|
|
622
608
|
for (var i in e)
|
|
623
609
|
Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
@@ -626,46 +612,43 @@ function dn(e, r) {
|
|
|
626
612
|
r.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (t[i[n]] = e[i[n]]);
|
|
627
613
|
return t;
|
|
628
614
|
}
|
|
629
|
-
function
|
|
630
|
-
if (arguments.length === 2)
|
|
615
|
+
function at(e, r, t) {
|
|
616
|
+
if (t || arguments.length === 2)
|
|
631
617
|
for (var i = 0, n = r.length, s; i < n; i++)
|
|
632
618
|
(s || !(i in r)) && (s || (s = Array.prototype.slice.call(r, 0, i)), s[i] = r[i]);
|
|
633
|
-
return e.concat(s || r);
|
|
619
|
+
return e.concat(s || Array.prototype.slice.call(r));
|
|
634
620
|
}
|
|
635
|
-
function
|
|
636
|
-
var t = r && r.cache ? r.cache :
|
|
621
|
+
function lt(e, r) {
|
|
622
|
+
var t = r && r.cache ? r.cache : _n, i = r && r.serializer ? r.serializer : En, n = r && r.strategy ? r.strategy : bn;
|
|
637
623
|
return n(e, {
|
|
638
624
|
cache: t,
|
|
639
625
|
serializer: i
|
|
640
626
|
});
|
|
641
627
|
}
|
|
642
|
-
function
|
|
628
|
+
function gn(e) {
|
|
643
629
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
644
630
|
}
|
|
645
|
-
function
|
|
646
|
-
var n =
|
|
631
|
+
function pn(e, r, t, i) {
|
|
632
|
+
var n = gn(i) ? i : t(i), s = r.get(n);
|
|
647
633
|
return typeof s > "u" && (s = e.call(this, i), r.set(n, s)), s;
|
|
648
634
|
}
|
|
649
635
|
function si(e, r, t) {
|
|
650
636
|
var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
|
|
651
637
|
return typeof s > "u" && (s = e.apply(this, i), r.set(n, s)), s;
|
|
652
638
|
}
|
|
653
|
-
function
|
|
639
|
+
function oi(e, r, t, i, n) {
|
|
654
640
|
return t.bind(r, e, i, n);
|
|
655
641
|
}
|
|
656
|
-
function gn(e, r) {
|
|
657
|
-
var t = e.length === 1 ? ni : si;
|
|
658
|
-
return St(e, this, t, r.cache.create(), r.serializer);
|
|
659
|
-
}
|
|
660
|
-
function pn(e, r) {
|
|
661
|
-
return St(e, this, si, r.cache.create(), r.serializer);
|
|
662
|
-
}
|
|
663
642
|
function bn(e, r) {
|
|
664
|
-
|
|
643
|
+
var t = e.length === 1 ? pn : si;
|
|
644
|
+
return oi(e, this, t, r.cache.create(), r.serializer);
|
|
645
|
+
}
|
|
646
|
+
function yn(e, r) {
|
|
647
|
+
return oi(e, this, si, r.cache.create(), r.serializer);
|
|
665
648
|
}
|
|
666
|
-
var
|
|
649
|
+
var En = function() {
|
|
667
650
|
return JSON.stringify(arguments);
|
|
668
|
-
},
|
|
651
|
+
}, vn = (
|
|
669
652
|
/** @class */
|
|
670
653
|
function() {
|
|
671
654
|
function e() {
|
|
@@ -677,62 +660,71 @@ var yn = function() {
|
|
|
677
660
|
this.cache[r] = t;
|
|
678
661
|
}, e;
|
|
679
662
|
}()
|
|
680
|
-
),
|
|
663
|
+
), _n = {
|
|
681
664
|
create: function() {
|
|
682
|
-
return new
|
|
665
|
+
return new vn();
|
|
683
666
|
}
|
|
684
|
-
},
|
|
685
|
-
variadic:
|
|
686
|
-
|
|
687
|
-
|
|
667
|
+
}, ut = {
|
|
668
|
+
variadic: yn
|
|
669
|
+
}, qr = function() {
|
|
670
|
+
return qr = Object.assign || function(r) {
|
|
671
|
+
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
672
|
+
t = arguments[i];
|
|
673
|
+
for (var s in t)
|
|
674
|
+
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
675
|
+
}
|
|
676
|
+
return r;
|
|
677
|
+
}, qr.apply(this, arguments);
|
|
678
|
+
};
|
|
679
|
+
var S;
|
|
688
680
|
(function(e) {
|
|
689
681
|
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";
|
|
690
682
|
})(S || (S = {}));
|
|
691
|
-
var
|
|
683
|
+
var O;
|
|
692
684
|
(function(e) {
|
|
693
685
|
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";
|
|
694
|
-
})(
|
|
695
|
-
var
|
|
686
|
+
})(O || (O = {}));
|
|
687
|
+
var or;
|
|
696
688
|
(function(e) {
|
|
697
689
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
698
|
-
})(
|
|
699
|
-
function
|
|
700
|
-
return e.type ===
|
|
690
|
+
})(or || (or = {}));
|
|
691
|
+
function Ot(e) {
|
|
692
|
+
return e.type === O.literal;
|
|
701
693
|
}
|
|
702
|
-
function
|
|
703
|
-
return e.type ===
|
|
694
|
+
function wn(e) {
|
|
695
|
+
return e.type === O.argument;
|
|
704
696
|
}
|
|
705
697
|
function ai(e) {
|
|
706
|
-
return e.type ===
|
|
707
|
-
}
|
|
708
|
-
function oi(e) {
|
|
709
|
-
return e.type === L.date;
|
|
698
|
+
return e.type === O.number;
|
|
710
699
|
}
|
|
711
700
|
function li(e) {
|
|
712
|
-
return e.type ===
|
|
701
|
+
return e.type === O.date;
|
|
713
702
|
}
|
|
714
703
|
function ui(e) {
|
|
715
|
-
return e.type ===
|
|
704
|
+
return e.type === O.time;
|
|
716
705
|
}
|
|
717
706
|
function ci(e) {
|
|
718
|
-
return e.type ===
|
|
719
|
-
}
|
|
720
|
-
function vn(e) {
|
|
721
|
-
return e.type === L.pound;
|
|
707
|
+
return e.type === O.select;
|
|
722
708
|
}
|
|
723
709
|
function hi(e) {
|
|
724
|
-
return e.type ===
|
|
710
|
+
return e.type === O.plural;
|
|
711
|
+
}
|
|
712
|
+
function Sn(e) {
|
|
713
|
+
return e.type === O.pound;
|
|
725
714
|
}
|
|
726
715
|
function fi(e) {
|
|
727
|
-
return
|
|
716
|
+
return e.type === O.tag;
|
|
728
717
|
}
|
|
729
|
-
function
|
|
730
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
718
|
+
function di(e) {
|
|
719
|
+
return !!(e && typeof e == "object" && e.type === or.number);
|
|
731
720
|
}
|
|
732
|
-
|
|
733
|
-
|
|
721
|
+
function pt(e) {
|
|
722
|
+
return !!(e && typeof e == "object" && e.type === or.dateTime);
|
|
723
|
+
}
|
|
724
|
+
var mi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
|
|
725
|
+
function xn(e) {
|
|
734
726
|
var r = {};
|
|
735
|
-
return e.replace(
|
|
727
|
+
return e.replace(Pn, function(t) {
|
|
736
728
|
var i = t.length;
|
|
737
729
|
switch (t[0]) {
|
|
738
730
|
case "G":
|
|
@@ -821,36 +813,46 @@ function Pn(e) {
|
|
|
821
813
|
return "";
|
|
822
814
|
}), r;
|
|
823
815
|
}
|
|
824
|
-
var
|
|
825
|
-
function
|
|
816
|
+
var L = function() {
|
|
817
|
+
return L = Object.assign || function(r) {
|
|
818
|
+
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
819
|
+
t = arguments[i];
|
|
820
|
+
for (var s in t)
|
|
821
|
+
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
822
|
+
}
|
|
823
|
+
return r;
|
|
824
|
+
}, L.apply(this, arguments);
|
|
825
|
+
};
|
|
826
|
+
var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
827
|
+
function An(e) {
|
|
826
828
|
if (e.length === 0)
|
|
827
829
|
throw new Error("Number skeleton cannot be empty");
|
|
828
|
-
for (var r = e.split(
|
|
830
|
+
for (var r = e.split(Cn).filter(function(g) {
|
|
829
831
|
return g.length > 0;
|
|
830
832
|
}), t = [], i = 0, n = r; i < n.length; i++) {
|
|
831
833
|
var s = n[i], u = s.split("/");
|
|
832
834
|
if (u.length === 0)
|
|
833
835
|
throw new Error("Invalid number skeleton");
|
|
834
|
-
for (var
|
|
836
|
+
for (var a = u[0], f = u.slice(1), c = 0, h = f; c < h.length; c++) {
|
|
835
837
|
var m = h[c];
|
|
836
838
|
if (m.length === 0)
|
|
837
839
|
throw new Error("Invalid number skeleton");
|
|
838
840
|
}
|
|
839
|
-
t.push({ stem:
|
|
841
|
+
t.push({ stem: a, options: f });
|
|
840
842
|
}
|
|
841
843
|
return t;
|
|
842
844
|
}
|
|
843
|
-
function
|
|
845
|
+
function Tn(e) {
|
|
844
846
|
return e.replace(/^(.*?)-/, "");
|
|
845
847
|
}
|
|
846
|
-
var
|
|
847
|
-
function
|
|
848
|
+
var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gi = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, pi = /^(0+)$/;
|
|
849
|
+
function Mt(e) {
|
|
848
850
|
var r = {};
|
|
849
|
-
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(
|
|
851
|
+
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(gi, function(t, i, n) {
|
|
850
852
|
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)), "";
|
|
851
853
|
}), r;
|
|
852
854
|
}
|
|
853
|
-
function
|
|
855
|
+
function bi(e) {
|
|
854
856
|
switch (e) {
|
|
855
857
|
case "sign-auto":
|
|
856
858
|
return {
|
|
@@ -890,7 +892,7 @@ function pi(e) {
|
|
|
890
892
|
};
|
|
891
893
|
}
|
|
892
894
|
}
|
|
893
|
-
function
|
|
895
|
+
function Bn(e) {
|
|
894
896
|
var r;
|
|
895
897
|
if (e[0] === "E" && e[1] === "E" ? (r = {
|
|
896
898
|
notation: "engineering"
|
|
@@ -898,17 +900,17 @@ function Hn(e) {
|
|
|
898
900
|
notation: "scientific"
|
|
899
901
|
}, e = e.slice(1)), r) {
|
|
900
902
|
var t = e.slice(0, 2);
|
|
901
|
-
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
903
|
+
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !pi.test(e))
|
|
902
904
|
throw new Error("Malformed concise eng/scientific notation");
|
|
903
905
|
r.minimumIntegerDigits = e.length;
|
|
904
906
|
}
|
|
905
907
|
return r;
|
|
906
908
|
}
|
|
907
|
-
function
|
|
908
|
-
var r = {}, t =
|
|
909
|
+
function Rt(e) {
|
|
910
|
+
var r = {}, t = bi(e);
|
|
909
911
|
return t || r;
|
|
910
912
|
}
|
|
911
|
-
function
|
|
913
|
+
function In(e) {
|
|
912
914
|
for (var r = {}, t = 0, i = e; t < i.length; t++) {
|
|
913
915
|
var n = i[t];
|
|
914
916
|
switch (n.stem) {
|
|
@@ -932,7 +934,7 @@ function Bn(e) {
|
|
|
932
934
|
continue;
|
|
933
935
|
case "measure-unit":
|
|
934
936
|
case "unit":
|
|
935
|
-
r.style = "unit", r.unit =
|
|
937
|
+
r.style = "unit", r.unit = Tn(n.options[0]);
|
|
936
938
|
continue;
|
|
937
939
|
case "compact-short":
|
|
938
940
|
case "K":
|
|
@@ -943,13 +945,13 @@ function Bn(e) {
|
|
|
943
945
|
r.notation = "compact", r.compactDisplay = "long";
|
|
944
946
|
continue;
|
|
945
947
|
case "scientific":
|
|
946
|
-
r =
|
|
947
|
-
return
|
|
948
|
+
r = L(L(L({}, r), { notation: "scientific" }), n.options.reduce(function(f, c) {
|
|
949
|
+
return L(L({}, f), Rt(c));
|
|
948
950
|
}, {}));
|
|
949
951
|
continue;
|
|
950
952
|
case "engineering":
|
|
951
|
-
r =
|
|
952
|
-
return
|
|
953
|
+
r = L(L(L({}, r), { notation: "engineering" }), n.options.reduce(function(f, c) {
|
|
954
|
+
return L(L({}, f), Rt(c));
|
|
953
955
|
}, {}));
|
|
954
956
|
continue;
|
|
955
957
|
case "notation-simple":
|
|
@@ -994,7 +996,7 @@ function Bn(e) {
|
|
|
994
996
|
case "integer-width":
|
|
995
997
|
if (n.options.length > 1)
|
|
996
998
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
997
|
-
n.options[0].replace(
|
|
999
|
+
n.options[0].replace(Hn, function(f, c, h, m, g, b) {
|
|
998
1000
|
if (c)
|
|
999
1001
|
r.minimumIntegerDigits = h.length;
|
|
1000
1002
|
else {
|
|
@@ -1007,32 +1009,32 @@ function Bn(e) {
|
|
|
1007
1009
|
});
|
|
1008
1010
|
continue;
|
|
1009
1011
|
}
|
|
1010
|
-
if (
|
|
1012
|
+
if (pi.test(n.stem)) {
|
|
1011
1013
|
r.minimumIntegerDigits = n.stem.length;
|
|
1012
1014
|
continue;
|
|
1013
1015
|
}
|
|
1014
|
-
if (
|
|
1016
|
+
if (Lt.test(n.stem)) {
|
|
1015
1017
|
if (n.options.length > 1)
|
|
1016
1018
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1017
|
-
n.stem.replace(
|
|
1019
|
+
n.stem.replace(Lt, function(f, c, h, m, g, b) {
|
|
1018
1020
|
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), "";
|
|
1019
1021
|
});
|
|
1020
1022
|
var s = n.options[0];
|
|
1021
|
-
s === "w" ? r =
|
|
1023
|
+
s === "w" ? r = L(L({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = L(L({}, r), Mt(s)));
|
|
1022
1024
|
continue;
|
|
1023
1025
|
}
|
|
1024
|
-
if (
|
|
1025
|
-
r =
|
|
1026
|
+
if (gi.test(n.stem)) {
|
|
1027
|
+
r = L(L({}, r), Mt(n.stem));
|
|
1026
1028
|
continue;
|
|
1027
1029
|
}
|
|
1028
|
-
var u =
|
|
1029
|
-
u && (r =
|
|
1030
|
-
var
|
|
1031
|
-
|
|
1030
|
+
var u = bi(n.stem);
|
|
1031
|
+
u && (r = L(L({}, r), u));
|
|
1032
|
+
var a = Bn(n.stem);
|
|
1033
|
+
a && (r = L(L({}, r), a));
|
|
1032
1034
|
}
|
|
1033
1035
|
return r;
|
|
1034
1036
|
}
|
|
1035
|
-
var
|
|
1037
|
+
var zr = {
|
|
1036
1038
|
"001": [
|
|
1037
1039
|
"H",
|
|
1038
1040
|
"h"
|
|
@@ -2447,14 +2449,14 @@ var Qr = {
|
|
|
2447
2449
|
"h"
|
|
2448
2450
|
]
|
|
2449
2451
|
};
|
|
2450
|
-
function
|
|
2452
|
+
function Nn(e, r) {
|
|
2451
2453
|
for (var t = "", i = 0; i < e.length; i++) {
|
|
2452
2454
|
var n = e.charAt(i);
|
|
2453
2455
|
if (n === "j") {
|
|
2454
2456
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2455
2457
|
s++, i++;
|
|
2456
|
-
var u = 1 + (s & 1),
|
|
2457
|
-
for ((c == "H" || c == "k") && (
|
|
2458
|
+
var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), f = "a", c = On(r);
|
|
2459
|
+
for ((c == "H" || c == "k") && (a = 0); a-- > 0; )
|
|
2458
2460
|
t += f;
|
|
2459
2461
|
for (; u-- > 0; )
|
|
2460
2462
|
t = c + t;
|
|
@@ -2463,7 +2465,7 @@ function In(e, r) {
|
|
|
2463
2465
|
}
|
|
2464
2466
|
return t;
|
|
2465
2467
|
}
|
|
2466
|
-
function
|
|
2468
|
+
function On(e) {
|
|
2467
2469
|
var r = e.hourCycle;
|
|
2468
2470
|
if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2469
2471
|
e.hourCycles && // @ts-ignore
|
|
@@ -2482,23 +2484,23 @@ function Nn(e) {
|
|
|
2482
2484
|
}
|
|
2483
2485
|
var t = e.language, i;
|
|
2484
2486
|
t !== "root" && (i = e.maximize().region);
|
|
2485
|
-
var n =
|
|
2487
|
+
var n = zr[i || ""] || zr[t || ""] || zr["".concat(t, "-001")] || zr["001"];
|
|
2486
2488
|
return n[0];
|
|
2487
2489
|
}
|
|
2488
|
-
var
|
|
2490
|
+
var ct, Ln = new RegExp("^".concat(mi.source, "*")), Mn = new RegExp("".concat(mi.source, "*$"));
|
|
2489
2491
|
function P(e, r) {
|
|
2490
2492
|
return { start: e, end: r };
|
|
2491
2493
|
}
|
|
2492
|
-
var
|
|
2494
|
+
var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, kn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, Dn = !!String.prototype.trimStart, Gn = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, Vn = jn ? Number.isSafeInteger : function(e) {
|
|
2493
2495
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2494
|
-
},
|
|
2496
|
+
}, bt = !0;
|
|
2495
2497
|
try {
|
|
2496
|
-
var
|
|
2497
|
-
|
|
2498
|
+
var $n = Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2499
|
+
bt = ((ct = $n.exec("a")) === null || ct === void 0 ? void 0 : ct[0]) === "a";
|
|
2498
2500
|
} catch {
|
|
2499
|
-
|
|
2501
|
+
bt = !1;
|
|
2500
2502
|
}
|
|
2501
|
-
var
|
|
2503
|
+
var Ut = Rn ? (
|
|
2502
2504
|
// Native
|
|
2503
2505
|
function(r, t, i) {
|
|
2504
2506
|
return r.startsWith(t, i);
|
|
@@ -2508,7 +2510,7 @@ var Rt = Mn ? (
|
|
|
2508
2510
|
function(r, t, i) {
|
|
2509
2511
|
return r.slice(i, i + t.length) === t;
|
|
2510
2512
|
}
|
|
2511
|
-
),
|
|
2513
|
+
), yt = Un ? String.fromCodePoint : (
|
|
2512
2514
|
// IE11
|
|
2513
2515
|
function() {
|
|
2514
2516
|
for (var r = [], t = 0; t < arguments.length; t++)
|
|
@@ -2520,19 +2522,19 @@ var Rt = Mn ? (
|
|
|
2520
2522
|
}
|
|
2521
2523
|
return i;
|
|
2522
2524
|
}
|
|
2523
|
-
),
|
|
2525
|
+
), kt = (
|
|
2524
2526
|
// native
|
|
2525
|
-
|
|
2527
|
+
kn ? Object.fromEntries : (
|
|
2526
2528
|
// Ponyfill
|
|
2527
2529
|
function(r) {
|
|
2528
2530
|
for (var t = {}, i = 0, n = r; i < n.length; i++) {
|
|
2529
|
-
var s = n[i], u = s[0],
|
|
2530
|
-
t[u] =
|
|
2531
|
+
var s = n[i], u = s[0], a = s[1];
|
|
2532
|
+
t[u] = a;
|
|
2531
2533
|
}
|
|
2532
2534
|
return t;
|
|
2533
2535
|
}
|
|
2534
2536
|
)
|
|
2535
|
-
),
|
|
2537
|
+
), yi = Fn ? (
|
|
2536
2538
|
// Native
|
|
2537
2539
|
function(r, t) {
|
|
2538
2540
|
return r.codePointAt(t);
|
|
@@ -2546,7 +2548,7 @@ var Rt = Mn ? (
|
|
|
2546
2548
|
return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2547
2549
|
}
|
|
2548
2550
|
}
|
|
2549
|
-
),
|
|
2551
|
+
), Qn = Dn ? (
|
|
2550
2552
|
// Native
|
|
2551
2553
|
function(r) {
|
|
2552
2554
|
return r.trimStart();
|
|
@@ -2554,9 +2556,9 @@ var Rt = Mn ? (
|
|
|
2554
2556
|
) : (
|
|
2555
2557
|
// Ponyfill
|
|
2556
2558
|
function(r) {
|
|
2557
|
-
return r.replace(
|
|
2559
|
+
return r.replace(Ln, "");
|
|
2558
2560
|
}
|
|
2559
|
-
),
|
|
2561
|
+
), zn = Gn ? (
|
|
2560
2562
|
// Native
|
|
2561
2563
|
function(r) {
|
|
2562
2564
|
return r.trimEnd();
|
|
@@ -2564,32 +2566,32 @@ var Rt = Mn ? (
|
|
|
2564
2566
|
) : (
|
|
2565
2567
|
// Ponyfill
|
|
2566
2568
|
function(r) {
|
|
2567
|
-
return r.replace(
|
|
2569
|
+
return r.replace(Mn, "");
|
|
2568
2570
|
}
|
|
2569
2571
|
);
|
|
2570
|
-
function
|
|
2572
|
+
function Ei(e, r) {
|
|
2571
2573
|
return new RegExp(e, r);
|
|
2572
2574
|
}
|
|
2573
|
-
var
|
|
2574
|
-
if (
|
|
2575
|
-
var
|
|
2576
|
-
|
|
2575
|
+
var Et;
|
|
2576
|
+
if (bt) {
|
|
2577
|
+
var Ft = Ei("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2578
|
+
Et = function(r, t) {
|
|
2577
2579
|
var i;
|
|
2578
|
-
|
|
2579
|
-
var n =
|
|
2580
|
+
Ft.lastIndex = t;
|
|
2581
|
+
var n = Ft.exec(r);
|
|
2580
2582
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2581
2583
|
};
|
|
2582
2584
|
} else
|
|
2583
|
-
|
|
2585
|
+
Et = function(r, t) {
|
|
2584
2586
|
for (var i = []; ; ) {
|
|
2585
|
-
var n =
|
|
2586
|
-
if (n === void 0 ||
|
|
2587
|
+
var n = yi(r, t);
|
|
2588
|
+
if (n === void 0 || vi(n) || qn(n))
|
|
2587
2589
|
break;
|
|
2588
2590
|
i.push(n), t += n >= 65536 ? 2 : 1;
|
|
2589
2591
|
}
|
|
2590
|
-
return
|
|
2592
|
+
return yt.apply(void 0, i);
|
|
2591
2593
|
};
|
|
2592
|
-
var
|
|
2594
|
+
var Xn = (
|
|
2593
2595
|
/** @class */
|
|
2594
2596
|
function() {
|
|
2595
2597
|
function e(r, t) {
|
|
@@ -2611,16 +2613,16 @@ var zn = (
|
|
|
2611
2613
|
if (s === 125 && r > 0)
|
|
2612
2614
|
break;
|
|
2613
2615
|
if (s === 35 && (t === "plural" || t === "selectordinal")) {
|
|
2614
|
-
var
|
|
2616
|
+
var a = this.clonePosition();
|
|
2615
2617
|
this.bump(), n.push({
|
|
2616
|
-
type:
|
|
2617
|
-
location: P(
|
|
2618
|
+
type: O.pound,
|
|
2619
|
+
location: P(a, this.clonePosition())
|
|
2618
2620
|
});
|
|
2619
2621
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2620
2622
|
if (i)
|
|
2621
2623
|
break;
|
|
2622
2624
|
return this.error(S.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
|
|
2623
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2625
|
+
} else if (s === 60 && !this.ignoreTag && vt(this.peek() || 0)) {
|
|
2624
2626
|
var u = this.parseTag(r, t);
|
|
2625
2627
|
if (u.err)
|
|
2626
2628
|
return u;
|
|
@@ -2641,7 +2643,7 @@ var zn = (
|
|
|
2641
2643
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2642
2644
|
return {
|
|
2643
2645
|
val: {
|
|
2644
|
-
type:
|
|
2646
|
+
type: O.literal,
|
|
2645
2647
|
value: "<".concat(n, "/>"),
|
|
2646
2648
|
location: P(i, this.clonePosition())
|
|
2647
2649
|
},
|
|
@@ -2651,27 +2653,27 @@ var zn = (
|
|
|
2651
2653
|
var s = this.parseMessage(r + 1, t, !0);
|
|
2652
2654
|
if (s.err)
|
|
2653
2655
|
return s;
|
|
2654
|
-
var u = s.val,
|
|
2656
|
+
var u = s.val, a = this.clonePosition();
|
|
2655
2657
|
if (this.bumpIf("</")) {
|
|
2656
|
-
if (this.isEOF() || !
|
|
2657
|
-
return this.error(S.INVALID_TAG, P(
|
|
2658
|
+
if (this.isEOF() || !vt(this.char()))
|
|
2659
|
+
return this.error(S.INVALID_TAG, P(a, this.clonePosition()));
|
|
2658
2660
|
var f = this.clonePosition(), c = this.parseTagName();
|
|
2659
2661
|
return n !== c ? this.error(S.UNMATCHED_CLOSING_TAG, P(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2660
2662
|
val: {
|
|
2661
|
-
type:
|
|
2663
|
+
type: O.tag,
|
|
2662
2664
|
value: n,
|
|
2663
2665
|
children: u,
|
|
2664
2666
|
location: P(i, this.clonePosition())
|
|
2665
2667
|
},
|
|
2666
2668
|
err: null
|
|
2667
|
-
} : this.error(S.INVALID_TAG, P(
|
|
2669
|
+
} : this.error(S.INVALID_TAG, P(a, this.clonePosition())));
|
|
2668
2670
|
} else
|
|
2669
2671
|
return this.error(S.UNCLOSED_TAG, P(i, this.clonePosition()));
|
|
2670
2672
|
} else
|
|
2671
2673
|
return this.error(S.INVALID_TAG, P(i, this.clonePosition()));
|
|
2672
2674
|
}, e.prototype.parseTagName = function() {
|
|
2673
2675
|
var r = this.offset();
|
|
2674
|
-
for (this.bump(); !this.isEOF() &&
|
|
2676
|
+
for (this.bump(); !this.isEOF() && Wn(this.char()); )
|
|
2675
2677
|
this.bump();
|
|
2676
2678
|
return this.message.slice(r, this.offset());
|
|
2677
2679
|
}, e.prototype.parseLiteral = function(r, t) {
|
|
@@ -2686,21 +2688,21 @@ var zn = (
|
|
|
2686
2688
|
n += u;
|
|
2687
2689
|
continue;
|
|
2688
2690
|
}
|
|
2689
|
-
var
|
|
2690
|
-
if (
|
|
2691
|
-
n +=
|
|
2691
|
+
var a = this.tryParseLeftAngleBracket();
|
|
2692
|
+
if (a) {
|
|
2693
|
+
n += a;
|
|
2692
2694
|
continue;
|
|
2693
2695
|
}
|
|
2694
2696
|
break;
|
|
2695
2697
|
}
|
|
2696
2698
|
var f = P(i, this.clonePosition());
|
|
2697
2699
|
return {
|
|
2698
|
-
val: { type:
|
|
2700
|
+
val: { type: O.literal, value: n, location: f },
|
|
2699
2701
|
err: null
|
|
2700
2702
|
};
|
|
2701
2703
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2702
2704
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2703
|
-
!
|
|
2705
|
+
!Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2704
2706
|
}, e.prototype.tryParseQuote = function(r) {
|
|
2705
2707
|
if (this.isEOF() || this.char() !== 39)
|
|
2706
2708
|
return null;
|
|
@@ -2734,12 +2736,12 @@ var zn = (
|
|
|
2734
2736
|
t.push(i);
|
|
2735
2737
|
this.bump();
|
|
2736
2738
|
}
|
|
2737
|
-
return
|
|
2739
|
+
return yt.apply(void 0, t);
|
|
2738
2740
|
}, e.prototype.tryParseUnquoted = function(r, t) {
|
|
2739
2741
|
if (this.isEOF())
|
|
2740
2742
|
return null;
|
|
2741
2743
|
var i = this.char();
|
|
2742
|
-
return i === 60 || i === 123 || i === 35 && (t === "plural" || t === "selectordinal") || i === 125 && r > 0 ? null : (this.bump(),
|
|
2744
|
+
return i === 60 || i === 123 || i === 35 && (t === "plural" || t === "selectordinal") || i === 125 && r > 0 ? null : (this.bump(), yt(i));
|
|
2743
2745
|
}, e.prototype.parseArgument = function(r, t) {
|
|
2744
2746
|
var i = this.clonePosition();
|
|
2745
2747
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2755,7 +2757,7 @@ var zn = (
|
|
|
2755
2757
|
case 125:
|
|
2756
2758
|
return this.bump(), {
|
|
2757
2759
|
val: {
|
|
2758
|
-
type:
|
|
2760
|
+
type: O.argument,
|
|
2759
2761
|
// value does not include the opening and closing braces.
|
|
2760
2762
|
value: n,
|
|
2761
2763
|
location: P(i, this.clonePosition())
|
|
@@ -2768,13 +2770,13 @@ var zn = (
|
|
|
2768
2770
|
return this.error(S.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
|
|
2769
2771
|
}
|
|
2770
2772
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2771
|
-
var r = this.clonePosition(), t = this.offset(), i =
|
|
2773
|
+
var r = this.clonePosition(), t = this.offset(), i = Et(this.message, t), n = t + i.length;
|
|
2772
2774
|
this.bumpTo(n);
|
|
2773
2775
|
var s = this.clonePosition(), u = P(r, s);
|
|
2774
2776
|
return { value: i, location: u };
|
|
2775
2777
|
}, e.prototype.parseArgumentOptions = function(r, t, i, n) {
|
|
2776
|
-
var s, u = this.clonePosition(),
|
|
2777
|
-
switch (
|
|
2778
|
+
var s, u = this.clonePosition(), a = this.parseIdentifierIfPossible().value, f = this.clonePosition();
|
|
2779
|
+
switch (a) {
|
|
2778
2780
|
case "":
|
|
2779
2781
|
return this.error(S.EXPECT_ARGUMENT_TYPE, P(u, f));
|
|
2780
2782
|
case "number":
|
|
@@ -2787,7 +2789,7 @@ var zn = (
|
|
|
2787
2789
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2788
2790
|
if (m.err)
|
|
2789
2791
|
return m;
|
|
2790
|
-
var g =
|
|
2792
|
+
var g = zn(m.val);
|
|
2791
2793
|
if (g.length === 0)
|
|
2792
2794
|
return this.error(S.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
|
|
2793
2795
|
var b = P(h, this.clonePosition());
|
|
@@ -2797,25 +2799,25 @@ var zn = (
|
|
|
2797
2799
|
if (_.err)
|
|
2798
2800
|
return _;
|
|
2799
2801
|
var y = P(n, this.clonePosition());
|
|
2800
|
-
if (c &&
|
|
2801
|
-
var A =
|
|
2802
|
-
if (
|
|
2802
|
+
if (c && Ut(c?.style, "::", 0)) {
|
|
2803
|
+
var A = Qn(c.style.slice(2));
|
|
2804
|
+
if (a === "number") {
|
|
2803
2805
|
var m = this.parseNumberSkeletonFromString(A, c.styleLocation);
|
|
2804
2806
|
return m.err ? m : {
|
|
2805
|
-
val: { type:
|
|
2807
|
+
val: { type: O.number, value: i, location: y, style: m.val },
|
|
2806
2808
|
err: null
|
|
2807
2809
|
};
|
|
2808
2810
|
} else {
|
|
2809
2811
|
if (A.length === 0)
|
|
2810
2812
|
return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
|
|
2811
|
-
var
|
|
2812
|
-
this.locale && (
|
|
2813
|
+
var N = A;
|
|
2814
|
+
this.locale && (N = Nn(A, this.locale));
|
|
2813
2815
|
var g = {
|
|
2814
|
-
type:
|
|
2815
|
-
pattern:
|
|
2816
|
+
type: or.dateTime,
|
|
2817
|
+
pattern: N,
|
|
2816
2818
|
location: c.styleLocation,
|
|
2817
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2818
|
-
}, M =
|
|
2819
|
+
parsedOptions: this.shouldParseSkeletons ? xn(N) : {}
|
|
2820
|
+
}, M = a === "date" ? O.date : O.time;
|
|
2819
2821
|
return {
|
|
2820
2822
|
val: { type: M, value: i, location: y, style: g },
|
|
2821
2823
|
err: null
|
|
@@ -2824,7 +2826,7 @@ var zn = (
|
|
|
2824
2826
|
}
|
|
2825
2827
|
return {
|
|
2826
2828
|
val: {
|
|
2827
|
-
type:
|
|
2829
|
+
type: a === "number" ? O.number : a === "date" ? O.date : O.time,
|
|
2828
2830
|
value: i,
|
|
2829
2831
|
location: y,
|
|
2830
2832
|
style: (s = c?.style) !== null && s !== void 0 ? s : null
|
|
@@ -2837,10 +2839,10 @@ var zn = (
|
|
|
2837
2839
|
case "select": {
|
|
2838
2840
|
var R = this.clonePosition();
|
|
2839
2841
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2840
|
-
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, P(R,
|
|
2842
|
+
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, P(R, qr({}, R)));
|
|
2841
2843
|
this.bumpSpace();
|
|
2842
2844
|
var ce = this.parseIdentifierIfPossible(), G = 0;
|
|
2843
|
-
if (
|
|
2845
|
+
if (a !== "select" && ce.value === "offset") {
|
|
2844
2846
|
if (!this.bumpIf(":"))
|
|
2845
2847
|
return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
|
|
2846
2848
|
this.bumpSpace();
|
|
@@ -2849,28 +2851,28 @@ var zn = (
|
|
|
2849
2851
|
return m;
|
|
2850
2852
|
this.bumpSpace(), ce = this.parseIdentifierIfPossible(), G = m.val;
|
|
2851
2853
|
}
|
|
2852
|
-
var me = this.tryParsePluralOrSelectOptions(r,
|
|
2854
|
+
var me = this.tryParsePluralOrSelectOptions(r, a, t, ce);
|
|
2853
2855
|
if (me.err)
|
|
2854
2856
|
return me;
|
|
2855
2857
|
var _ = this.tryParseArgumentClose(n);
|
|
2856
2858
|
if (_.err)
|
|
2857
2859
|
return _;
|
|
2858
2860
|
var U = P(n, this.clonePosition());
|
|
2859
|
-
return
|
|
2861
|
+
return a === "select" ? {
|
|
2860
2862
|
val: {
|
|
2861
|
-
type:
|
|
2863
|
+
type: O.select,
|
|
2862
2864
|
value: i,
|
|
2863
|
-
options:
|
|
2865
|
+
options: kt(me.val),
|
|
2864
2866
|
location: U
|
|
2865
2867
|
},
|
|
2866
2868
|
err: null
|
|
2867
2869
|
} : {
|
|
2868
2870
|
val: {
|
|
2869
|
-
type:
|
|
2871
|
+
type: O.plural,
|
|
2870
2872
|
value: i,
|
|
2871
|
-
options:
|
|
2873
|
+
options: kt(me.val),
|
|
2872
2874
|
offset: G,
|
|
2873
|
-
pluralType:
|
|
2875
|
+
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2874
2876
|
location: U
|
|
2875
2877
|
},
|
|
2876
2878
|
err: null
|
|
@@ -2919,21 +2921,21 @@ var zn = (
|
|
|
2919
2921
|
}, e.prototype.parseNumberSkeletonFromString = function(r, t) {
|
|
2920
2922
|
var i = [];
|
|
2921
2923
|
try {
|
|
2922
|
-
i =
|
|
2924
|
+
i = An(r);
|
|
2923
2925
|
} catch {
|
|
2924
2926
|
return this.error(S.INVALID_NUMBER_SKELETON, t);
|
|
2925
2927
|
}
|
|
2926
2928
|
return {
|
|
2927
2929
|
val: {
|
|
2928
|
-
type:
|
|
2930
|
+
type: or.number,
|
|
2929
2931
|
tokens: i,
|
|
2930
2932
|
location: t,
|
|
2931
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2933
|
+
parsedOptions: this.shouldParseSkeletons ? In(i) : {}
|
|
2932
2934
|
},
|
|
2933
2935
|
err: null
|
|
2934
2936
|
};
|
|
2935
2937
|
}, e.prototype.tryParsePluralOrSelectOptions = function(r, t, i, n) {
|
|
2936
|
-
for (var s, u = !1,
|
|
2938
|
+
for (var s, u = !1, a = [], f = /* @__PURE__ */ new Set(), c = n.value, h = n.location; ; ) {
|
|
2937
2939
|
if (c.length === 0) {
|
|
2938
2940
|
var m = this.clonePosition();
|
|
2939
2941
|
if (t !== "select" && this.bumpIf("=")) {
|
|
@@ -2956,7 +2958,7 @@ var zn = (
|
|
|
2956
2958
|
var y = this.tryParseArgumentClose(b);
|
|
2957
2959
|
if (y.err)
|
|
2958
2960
|
return y;
|
|
2959
|
-
|
|
2961
|
+
a.push([
|
|
2960
2962
|
c,
|
|
2961
2963
|
{
|
|
2962
2964
|
value: _.val,
|
|
@@ -2964,19 +2966,19 @@ var zn = (
|
|
|
2964
2966
|
}
|
|
2965
2967
|
]), f.add(c), this.bumpSpace(), s = this.parseIdentifierIfPossible(), c = s.value, h = s.location;
|
|
2966
2968
|
}
|
|
2967
|
-
return
|
|
2969
|
+
return a.length === 0 ? this.error(t === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, P(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(S.MISSING_OTHER_CLAUSE, P(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
2968
2970
|
}, e.prototype.tryParseDecimalInteger = function(r, t) {
|
|
2969
2971
|
var i = 1, n = this.clonePosition();
|
|
2970
2972
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
2971
2973
|
for (var s = !1, u = 0; !this.isEOF(); ) {
|
|
2972
|
-
var
|
|
2973
|
-
if (
|
|
2974
|
-
s = !0, u = u * 10 + (
|
|
2974
|
+
var a = this.char();
|
|
2975
|
+
if (a >= 48 && a <= 57)
|
|
2976
|
+
s = !0, u = u * 10 + (a - 48), this.bump();
|
|
2975
2977
|
else
|
|
2976
2978
|
break;
|
|
2977
2979
|
}
|
|
2978
2980
|
var f = P(n, this.clonePosition());
|
|
2979
|
-
return s ? (u *= i,
|
|
2981
|
+
return s ? (u *= i, Vn(u) ? { val: u, err: null } : this.error(t, f)) : this.error(r, f);
|
|
2980
2982
|
}, e.prototype.offset = function() {
|
|
2981
2983
|
return this.position.offset;
|
|
2982
2984
|
}, e.prototype.isEOF = function() {
|
|
@@ -2991,7 +2993,7 @@ var zn = (
|
|
|
2991
2993
|
var r = this.position.offset;
|
|
2992
2994
|
if (r >= this.message.length)
|
|
2993
2995
|
throw Error("out of bound");
|
|
2994
|
-
var t =
|
|
2996
|
+
var t = yi(this.message, r);
|
|
2995
2997
|
if (t === void 0)
|
|
2996
2998
|
throw Error("Offset ".concat(r, " is at invalid UTF-16 code unit boundary"));
|
|
2997
2999
|
return t;
|
|
@@ -3010,7 +3012,7 @@ var zn = (
|
|
|
3010
3012
|
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);
|
|
3011
3013
|
}
|
|
3012
3014
|
}, e.prototype.bumpIf = function(r) {
|
|
3013
|
-
if (
|
|
3015
|
+
if (Ut(this.message, r, this.offset())) {
|
|
3014
3016
|
for (var t = 0; t < r.length; t++)
|
|
3015
3017
|
this.bump();
|
|
3016
3018
|
return !0;
|
|
@@ -3032,7 +3034,7 @@ var zn = (
|
|
|
3032
3034
|
break;
|
|
3033
3035
|
}
|
|
3034
3036
|
}, e.prototype.bumpSpace = function() {
|
|
3035
|
-
for (; !this.isEOF() &&
|
|
3037
|
+
for (; !this.isEOF() && vi(this.char()); )
|
|
3036
3038
|
this.bump();
|
|
3037
3039
|
}, e.prototype.peek = function() {
|
|
3038
3040
|
if (this.isEOF())
|
|
@@ -3042,47 +3044,47 @@ var zn = (
|
|
|
3042
3044
|
}, e;
|
|
3043
3045
|
}()
|
|
3044
3046
|
);
|
|
3045
|
-
function
|
|
3047
|
+
function vt(e) {
|
|
3046
3048
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3047
3049
|
}
|
|
3048
|
-
function Xn(e) {
|
|
3049
|
-
return yt(e) || e === 47;
|
|
3050
|
-
}
|
|
3051
3050
|
function Zn(e) {
|
|
3051
|
+
return vt(e) || e === 47;
|
|
3052
|
+
}
|
|
3053
|
+
function Wn(e) {
|
|
3052
3054
|
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;
|
|
3053
3055
|
}
|
|
3054
|
-
function
|
|
3056
|
+
function vi(e) {
|
|
3055
3057
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3056
3058
|
}
|
|
3057
|
-
function
|
|
3059
|
+
function qn(e) {
|
|
3058
3060
|
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;
|
|
3059
3061
|
}
|
|
3060
|
-
function
|
|
3062
|
+
function _t(e) {
|
|
3061
3063
|
e.forEach(function(r) {
|
|
3062
|
-
if (delete r.location,
|
|
3064
|
+
if (delete r.location, ci(r) || hi(r))
|
|
3063
3065
|
for (var t in r.options)
|
|
3064
|
-
delete r.options[t].location,
|
|
3066
|
+
delete r.options[t].location, _t(r.options[t].value);
|
|
3065
3067
|
else
|
|
3066
|
-
ai(r) &&
|
|
3068
|
+
ai(r) && di(r.style) || (li(r) || ui(r)) && pt(r.style) ? delete r.style.location : fi(r) && _t(r.children);
|
|
3067
3069
|
});
|
|
3068
3070
|
}
|
|
3069
|
-
function
|
|
3070
|
-
r === void 0 && (r = {}), r =
|
|
3071
|
-
var t = new
|
|
3071
|
+
function Jn(e, r) {
|
|
3072
|
+
r === void 0 && (r = {}), r = qr({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
|
|
3073
|
+
var t = new Xn(e, r).parse();
|
|
3072
3074
|
if (t.err) {
|
|
3073
3075
|
var i = SyntaxError(S[t.err.kind]);
|
|
3074
3076
|
throw i.location = t.err.location, i.originalMessage = t.err.message, i;
|
|
3075
3077
|
}
|
|
3076
|
-
return r?.captureLocation ||
|
|
3078
|
+
return r?.captureLocation || _t(t.val), t.val;
|
|
3077
3079
|
}
|
|
3078
3080
|
var ar;
|
|
3079
3081
|
(function(e) {
|
|
3080
3082
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3081
3083
|
})(ar || (ar = {}));
|
|
3082
|
-
var
|
|
3084
|
+
var rt = (
|
|
3083
3085
|
/** @class */
|
|
3084
3086
|
function(e) {
|
|
3085
|
-
|
|
3087
|
+
et(r, e);
|
|
3086
3088
|
function r(t, i, n) {
|
|
3087
3089
|
var s = e.call(this, t) || this;
|
|
3088
3090
|
return s.code = i, s.originalMessage = n, s;
|
|
@@ -3091,65 +3093,65 @@ var Kr = (
|
|
|
3091
3093
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3092
3094
|
}, r;
|
|
3093
3095
|
}(Error)
|
|
3094
|
-
),
|
|
3096
|
+
), Dt = (
|
|
3095
3097
|
/** @class */
|
|
3096
3098
|
function(e) {
|
|
3097
|
-
|
|
3099
|
+
et(r, e);
|
|
3098
3100
|
function r(t, i, n, s) {
|
|
3099
3101
|
return e.call(this, 'Invalid values for "'.concat(t, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ar.INVALID_VALUE, s) || this;
|
|
3100
3102
|
}
|
|
3101
3103
|
return r;
|
|
3102
|
-
}(
|
|
3103
|
-
),
|
|
3104
|
+
}(rt)
|
|
3105
|
+
), Yn = (
|
|
3104
3106
|
/** @class */
|
|
3105
3107
|
function(e) {
|
|
3106
|
-
|
|
3108
|
+
et(r, e);
|
|
3107
3109
|
function r(t, i, n) {
|
|
3108
3110
|
return e.call(this, 'Value for "'.concat(t, '" must be of type ').concat(i), ar.INVALID_VALUE, n) || this;
|
|
3109
3111
|
}
|
|
3110
3112
|
return r;
|
|
3111
|
-
}(
|
|
3112
|
-
),
|
|
3113
|
+
}(rt)
|
|
3114
|
+
), Kn = (
|
|
3113
3115
|
/** @class */
|
|
3114
3116
|
function(e) {
|
|
3115
|
-
|
|
3117
|
+
et(r, e);
|
|
3116
3118
|
function r(t, i) {
|
|
3117
3119
|
return e.call(this, 'The intl string context variable "'.concat(t, '" was not provided to the string "').concat(i, '"'), ar.MISSING_VALUE, i) || this;
|
|
3118
3120
|
}
|
|
3119
3121
|
return r;
|
|
3120
|
-
}(
|
|
3122
|
+
}(rt)
|
|
3121
3123
|
), Q;
|
|
3122
3124
|
(function(e) {
|
|
3123
3125
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3124
3126
|
})(Q || (Q = {}));
|
|
3125
|
-
function
|
|
3127
|
+
function es(e) {
|
|
3126
3128
|
return e.length < 2 ? e : e.reduce(function(r, t) {
|
|
3127
3129
|
var i = r[r.length - 1];
|
|
3128
3130
|
return !i || i.type !== Q.literal || t.type !== Q.literal ? r.push(t) : i.value += t.value, r;
|
|
3129
3131
|
}, []);
|
|
3130
3132
|
}
|
|
3131
|
-
function
|
|
3133
|
+
function rs(e) {
|
|
3132
3134
|
return typeof e == "function";
|
|
3133
3135
|
}
|
|
3134
|
-
function
|
|
3135
|
-
if (e.length === 1 &&
|
|
3136
|
+
function Zr(e, r, t, i, n, s, u) {
|
|
3137
|
+
if (e.length === 1 && Ot(e[0]))
|
|
3136
3138
|
return [
|
|
3137
3139
|
{
|
|
3138
3140
|
type: Q.literal,
|
|
3139
3141
|
value: e[0].value
|
|
3140
3142
|
}
|
|
3141
3143
|
];
|
|
3142
|
-
for (var
|
|
3144
|
+
for (var a = [], f = 0, c = e; f < c.length; f++) {
|
|
3143
3145
|
var h = c[f];
|
|
3144
|
-
if (
|
|
3145
|
-
|
|
3146
|
+
if (Ot(h)) {
|
|
3147
|
+
a.push({
|
|
3146
3148
|
type: Q.literal,
|
|
3147
3149
|
value: h.value
|
|
3148
3150
|
});
|
|
3149
3151
|
continue;
|
|
3150
3152
|
}
|
|
3151
|
-
if (
|
|
3152
|
-
typeof s == "number" &&
|
|
3153
|
+
if (Sn(h)) {
|
|
3154
|
+
typeof s == "number" && a.push({
|
|
3153
3155
|
type: Q.literal,
|
|
3154
3156
|
value: t.getNumberFormat(r).format(s)
|
|
3155
3157
|
});
|
|
@@ -3157,89 +3159,89 @@ function Xr(e, r, t, i, n, s, u) {
|
|
|
3157
3159
|
}
|
|
3158
3160
|
var m = h.value;
|
|
3159
3161
|
if (!(n && m in n))
|
|
3160
|
-
throw new
|
|
3162
|
+
throw new Kn(m, u);
|
|
3161
3163
|
var g = n[m];
|
|
3162
|
-
if (
|
|
3163
|
-
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""),
|
|
3164
|
+
if (wn(h)) {
|
|
3165
|
+
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), a.push({
|
|
3164
3166
|
type: typeof g == "string" ? Q.literal : Q.object,
|
|
3165
3167
|
value: g
|
|
3166
3168
|
});
|
|
3167
3169
|
continue;
|
|
3168
3170
|
}
|
|
3169
|
-
if (
|
|
3170
|
-
var b = typeof h.style == "string" ? i.date[h.style] :
|
|
3171
|
-
|
|
3171
|
+
if (li(h)) {
|
|
3172
|
+
var b = typeof h.style == "string" ? i.date[h.style] : pt(h.style) ? h.style.parsedOptions : void 0;
|
|
3173
|
+
a.push({
|
|
3172
3174
|
type: Q.literal,
|
|
3173
3175
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3174
3176
|
});
|
|
3175
3177
|
continue;
|
|
3176
3178
|
}
|
|
3177
|
-
if (
|
|
3178
|
-
var b = typeof h.style == "string" ? i.time[h.style] :
|
|
3179
|
-
|
|
3179
|
+
if (ui(h)) {
|
|
3180
|
+
var b = typeof h.style == "string" ? i.time[h.style] : pt(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
3181
|
+
a.push({
|
|
3180
3182
|
type: Q.literal,
|
|
3181
3183
|
value: t.getDateTimeFormat(r, b).format(g)
|
|
3182
3184
|
});
|
|
3183
3185
|
continue;
|
|
3184
3186
|
}
|
|
3185
3187
|
if (ai(h)) {
|
|
3186
|
-
var b = typeof h.style == "string" ? i.number[h.style] :
|
|
3187
|
-
b && b.scale && (g = g * (b.scale || 1)),
|
|
3188
|
+
var b = typeof h.style == "string" ? i.number[h.style] : di(h.style) ? h.style.parsedOptions : void 0;
|
|
3189
|
+
b && b.scale && (g = g * (b.scale || 1)), a.push({
|
|
3188
3190
|
type: Q.literal,
|
|
3189
3191
|
value: t.getNumberFormat(r, b).format(g)
|
|
3190
3192
|
});
|
|
3191
3193
|
continue;
|
|
3192
3194
|
}
|
|
3193
|
-
if (
|
|
3195
|
+
if (fi(h)) {
|
|
3194
3196
|
var _ = h.children, y = h.value, A = n[y];
|
|
3195
|
-
if (!
|
|
3196
|
-
throw new
|
|
3197
|
-
var
|
|
3197
|
+
if (!rs(A))
|
|
3198
|
+
throw new Yn(y, "function", u);
|
|
3199
|
+
var N = Zr(_, r, t, i, n, s), M = A(N.map(function(G) {
|
|
3198
3200
|
return G.value;
|
|
3199
3201
|
}));
|
|
3200
|
-
Array.isArray(M) || (M = [M]),
|
|
3202
|
+
Array.isArray(M) || (M = [M]), a.push.apply(a, M.map(function(G) {
|
|
3201
3203
|
return {
|
|
3202
3204
|
type: typeof G == "string" ? Q.literal : Q.object,
|
|
3203
3205
|
value: G
|
|
3204
3206
|
};
|
|
3205
3207
|
}));
|
|
3206
3208
|
}
|
|
3207
|
-
if (
|
|
3209
|
+
if (ci(h)) {
|
|
3208
3210
|
var R = h.options[g] || h.options.other;
|
|
3209
3211
|
if (!R)
|
|
3210
|
-
throw new
|
|
3211
|
-
|
|
3212
|
+
throw new Dt(h.value, g, Object.keys(h.options), u);
|
|
3213
|
+
a.push.apply(a, Zr(R.value, r, t, i, n));
|
|
3212
3214
|
continue;
|
|
3213
3215
|
}
|
|
3214
|
-
if (
|
|
3216
|
+
if (hi(h)) {
|
|
3215
3217
|
var R = h.options["=".concat(g)];
|
|
3216
3218
|
if (!R) {
|
|
3217
3219
|
if (!Intl.PluralRules)
|
|
3218
|
-
throw new
|
|
3220
|
+
throw new rt(`Intl.PluralRules is not available in this environment.
|
|
3219
3221
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3220
3222
|
`, ar.MISSING_INTL_API, u);
|
|
3221
3223
|
var ce = t.getPluralRules(r, { type: h.pluralType }).select(g - (h.offset || 0));
|
|
3222
3224
|
R = h.options[ce] || h.options.other;
|
|
3223
3225
|
}
|
|
3224
3226
|
if (!R)
|
|
3225
|
-
throw new
|
|
3226
|
-
|
|
3227
|
+
throw new Dt(h.value, g, Object.keys(h.options), u);
|
|
3228
|
+
a.push.apply(a, Zr(R.value, r, t, i, n, g - (h.offset || 0)));
|
|
3227
3229
|
continue;
|
|
3228
3230
|
}
|
|
3229
3231
|
}
|
|
3230
|
-
return
|
|
3232
|
+
return es(a);
|
|
3231
3233
|
}
|
|
3232
|
-
function
|
|
3233
|
-
return r ?
|
|
3234
|
-
return t[i] =
|
|
3234
|
+
function ts(e, r) {
|
|
3235
|
+
return r ? Pe(Pe(Pe({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
|
|
3236
|
+
return t[i] = Pe(Pe({}, e[i]), r[i] || {}), t;
|
|
3235
3237
|
}, {})) : e;
|
|
3236
3238
|
}
|
|
3237
|
-
function
|
|
3239
|
+
function is(e, r) {
|
|
3238
3240
|
return r ? Object.keys(e).reduce(function(t, i) {
|
|
3239
|
-
return t[i] =
|
|
3240
|
-
},
|
|
3241
|
+
return t[i] = ts(e[i], r[i]), t;
|
|
3242
|
+
}, Pe({}, e)) : e;
|
|
3241
3243
|
}
|
|
3242
|
-
function
|
|
3244
|
+
function ht(e) {
|
|
3243
3245
|
return {
|
|
3244
3246
|
create: function() {
|
|
3245
3247
|
return {
|
|
@@ -3253,39 +3255,39 @@ function ut(e) {
|
|
|
3253
3255
|
}
|
|
3254
3256
|
};
|
|
3255
3257
|
}
|
|
3256
|
-
function
|
|
3258
|
+
function ns(e) {
|
|
3257
3259
|
return e === void 0 && (e = {
|
|
3258
3260
|
number: {},
|
|
3259
3261
|
dateTime: {},
|
|
3260
3262
|
pluralRules: {}
|
|
3261
3263
|
}), {
|
|
3262
|
-
getNumberFormat:
|
|
3264
|
+
getNumberFormat: lt(function() {
|
|
3263
3265
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3264
3266
|
t[i] = arguments[i];
|
|
3265
|
-
return new ((r = Intl.NumberFormat).bind.apply(r,
|
|
3267
|
+
return new ((r = Intl.NumberFormat).bind.apply(r, at([void 0], t, !1)))();
|
|
3266
3268
|
}, {
|
|
3267
|
-
cache:
|
|
3268
|
-
strategy:
|
|
3269
|
+
cache: ht(e.number),
|
|
3270
|
+
strategy: ut.variadic
|
|
3269
3271
|
}),
|
|
3270
|
-
getDateTimeFormat:
|
|
3272
|
+
getDateTimeFormat: lt(function() {
|
|
3271
3273
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3272
3274
|
t[i] = arguments[i];
|
|
3273
|
-
return new ((r = Intl.DateTimeFormat).bind.apply(r,
|
|
3275
|
+
return new ((r = Intl.DateTimeFormat).bind.apply(r, at([void 0], t, !1)))();
|
|
3274
3276
|
}, {
|
|
3275
|
-
cache:
|
|
3276
|
-
strategy:
|
|
3277
|
+
cache: ht(e.dateTime),
|
|
3278
|
+
strategy: ut.variadic
|
|
3277
3279
|
}),
|
|
3278
|
-
getPluralRules:
|
|
3280
|
+
getPluralRules: lt(function() {
|
|
3279
3281
|
for (var r, t = [], i = 0; i < arguments.length; i++)
|
|
3280
3282
|
t[i] = arguments[i];
|
|
3281
|
-
return new ((r = Intl.PluralRules).bind.apply(r,
|
|
3283
|
+
return new ((r = Intl.PluralRules).bind.apply(r, at([void 0], t, !1)))();
|
|
3282
3284
|
}, {
|
|
3283
|
-
cache:
|
|
3284
|
-
strategy:
|
|
3285
|
+
cache: ht(e.pluralRules),
|
|
3286
|
+
strategy: ut.variadic
|
|
3285
3287
|
})
|
|
3286
3288
|
};
|
|
3287
3289
|
}
|
|
3288
|
-
var
|
|
3290
|
+
var ss = (
|
|
3289
3291
|
/** @class */
|
|
3290
3292
|
function() {
|
|
3291
3293
|
function e(r, t, i, n) {
|
|
@@ -3304,7 +3306,7 @@ var ns = (
|
|
|
3304
3306
|
}, []);
|
|
3305
3307
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3306
3308
|
}, this.formatToParts = function(f) {
|
|
3307
|
-
return
|
|
3309
|
+
return Zr(s.ast, s.locales, s.formatters, s.formats, f, void 0, s.message);
|
|
3308
3310
|
}, this.resolvedOptions = function() {
|
|
3309
3311
|
var f;
|
|
3310
3312
|
return {
|
|
@@ -3317,13 +3319,13 @@ var ns = (
|
|
|
3317
3319
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3318
3320
|
var u = n || {};
|
|
3319
3321
|
u.formatters;
|
|
3320
|
-
var
|
|
3321
|
-
this.ast = e.__parse(r,
|
|
3322
|
+
var a = mn(u, ["formatters"]);
|
|
3323
|
+
this.ast = e.__parse(r, Pe(Pe({}, a), { locale: this.resolvedLocale }));
|
|
3322
3324
|
} else
|
|
3323
3325
|
this.ast = r;
|
|
3324
3326
|
if (!Array.isArray(this.ast))
|
|
3325
3327
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3326
|
-
this.formats =
|
|
3328
|
+
this.formats = is(e.formats, i), this.formatters = n && n.formatters || ns(this.formatterCache);
|
|
3327
3329
|
}
|
|
3328
3330
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3329
3331
|
get: function() {
|
|
@@ -3336,7 +3338,7 @@ var ns = (
|
|
|
3336
3338
|
var t = Intl.NumberFormat.supportedLocalesOf(r);
|
|
3337
3339
|
return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
|
|
3338
3340
|
}
|
|
3339
|
-
}, e.__parse =
|
|
3341
|
+
}, e.__parse = Jn, e.formats = {
|
|
3340
3342
|
number: {
|
|
3341
3343
|
integer: {
|
|
3342
3344
|
maximumFractionDigits: 0
|
|
@@ -3397,7 +3399,7 @@ var ns = (
|
|
|
3397
3399
|
}, e;
|
|
3398
3400
|
}()
|
|
3399
3401
|
);
|
|
3400
|
-
function
|
|
3402
|
+
function os(e, r) {
|
|
3401
3403
|
if (r == null)
|
|
3402
3404
|
return;
|
|
3403
3405
|
if (r in e)
|
|
@@ -3418,92 +3420,92 @@ function ss(e, r) {
|
|
|
3418
3420
|
i = void 0;
|
|
3419
3421
|
return i;
|
|
3420
3422
|
}
|
|
3421
|
-
const
|
|
3423
|
+
const Oe = {}, as = (e, r, t) => t && (r in Oe || (Oe[r] = {}), e in Oe[r] || (Oe[r][e] = t), t), _i = (e, r) => {
|
|
3422
3424
|
if (r == null)
|
|
3423
3425
|
return;
|
|
3424
|
-
if (r in
|
|
3425
|
-
return
|
|
3426
|
-
const t =
|
|
3426
|
+
if (r in Oe && e in Oe[r])
|
|
3427
|
+
return Oe[r][e];
|
|
3428
|
+
const t = tt(r);
|
|
3427
3429
|
for (let i = 0; i < t.length; i++) {
|
|
3428
|
-
const n = t[i], s =
|
|
3430
|
+
const n = t[i], s = us(n, e);
|
|
3429
3431
|
if (s)
|
|
3430
3432
|
return as(e, r, s);
|
|
3431
3433
|
}
|
|
3432
3434
|
};
|
|
3433
|
-
let
|
|
3434
|
-
const
|
|
3435
|
-
function
|
|
3436
|
-
return
|
|
3435
|
+
let xt;
|
|
3436
|
+
const Ar = Kr({});
|
|
3437
|
+
function ls(e) {
|
|
3438
|
+
return xt[e] || null;
|
|
3437
3439
|
}
|
|
3438
|
-
function
|
|
3439
|
-
return e in
|
|
3440
|
+
function wi(e) {
|
|
3441
|
+
return e in xt;
|
|
3440
3442
|
}
|
|
3441
|
-
function
|
|
3442
|
-
if (!
|
|
3443
|
+
function us(e, r) {
|
|
3444
|
+
if (!wi(e))
|
|
3443
3445
|
return null;
|
|
3444
|
-
const t =
|
|
3445
|
-
return
|
|
3446
|
+
const t = ls(e);
|
|
3447
|
+
return os(t, r);
|
|
3446
3448
|
}
|
|
3447
|
-
function
|
|
3449
|
+
function cs(e) {
|
|
3448
3450
|
if (e == null)
|
|
3449
3451
|
return;
|
|
3450
|
-
const r =
|
|
3452
|
+
const r = tt(e);
|
|
3451
3453
|
for (let t = 0; t < r.length; t++) {
|
|
3452
3454
|
const i = r[t];
|
|
3453
|
-
if (
|
|
3455
|
+
if (wi(i))
|
|
3454
3456
|
return i;
|
|
3455
3457
|
}
|
|
3456
3458
|
}
|
|
3457
|
-
function
|
|
3458
|
-
delete
|
|
3459
|
+
function Si(e, ...r) {
|
|
3460
|
+
delete Oe[e], Ar.update((t) => (t[e] = dn.all([t[e] || {}, ...r]), t));
|
|
3459
3461
|
}
|
|
3460
|
-
|
|
3461
|
-
[
|
|
3462
|
+
cr(
|
|
3463
|
+
[Ar],
|
|
3462
3464
|
([e]) => Object.keys(e)
|
|
3463
3465
|
);
|
|
3464
|
-
|
|
3465
|
-
const
|
|
3466
|
-
function
|
|
3467
|
-
|
|
3466
|
+
Ar.subscribe((e) => xt = e);
|
|
3467
|
+
const Wr = {};
|
|
3468
|
+
function hs(e, r) {
|
|
3469
|
+
Wr[e].delete(r), Wr[e].size === 0 && delete Wr[e];
|
|
3468
3470
|
}
|
|
3469
|
-
function
|
|
3470
|
-
return
|
|
3471
|
+
function Pi(e) {
|
|
3472
|
+
return Wr[e];
|
|
3471
3473
|
}
|
|
3472
|
-
function
|
|
3473
|
-
return
|
|
3474
|
-
const t =
|
|
3474
|
+
function fs(e) {
|
|
3475
|
+
return tt(e).map((r) => {
|
|
3476
|
+
const t = Pi(r);
|
|
3475
3477
|
return [r, t ? [...t] : []];
|
|
3476
3478
|
}).filter(([, r]) => r.length > 0);
|
|
3477
3479
|
}
|
|
3478
3480
|
function wt(e) {
|
|
3479
|
-
return e == null ? !1 :
|
|
3481
|
+
return e == null ? !1 : tt(e).some(
|
|
3480
3482
|
(r) => {
|
|
3481
3483
|
var t;
|
|
3482
|
-
return (t =
|
|
3484
|
+
return (t = Pi(r)) == null ? void 0 : t.size;
|
|
3483
3485
|
}
|
|
3484
3486
|
);
|
|
3485
3487
|
}
|
|
3486
|
-
function
|
|
3488
|
+
function ds(e, r) {
|
|
3487
3489
|
return Promise.all(
|
|
3488
|
-
r.map((i) => (
|
|
3489
|
-
).then((i) =>
|
|
3490
|
+
r.map((i) => (hs(e, i), i().then((n) => n.default || n)))
|
|
3491
|
+
).then((i) => Si(e, ...i));
|
|
3490
3492
|
}
|
|
3491
|
-
const
|
|
3492
|
-
function
|
|
3493
|
+
const _r = {};
|
|
3494
|
+
function xi(e) {
|
|
3493
3495
|
if (!wt(e))
|
|
3494
|
-
return e in
|
|
3495
|
-
const r =
|
|
3496
|
-
return
|
|
3496
|
+
return e in _r ? _r[e] : Promise.resolve();
|
|
3497
|
+
const r = fs(e);
|
|
3498
|
+
return _r[e] = Promise.all(
|
|
3497
3499
|
r.map(
|
|
3498
|
-
([t, i]) =>
|
|
3500
|
+
([t, i]) => ds(t, i)
|
|
3499
3501
|
)
|
|
3500
3502
|
).then(() => {
|
|
3501
3503
|
if (wt(e))
|
|
3502
|
-
return
|
|
3503
|
-
delete
|
|
3504
|
-
}),
|
|
3504
|
+
return xi(e);
|
|
3505
|
+
delete _r[e];
|
|
3506
|
+
}), _r[e];
|
|
3505
3507
|
}
|
|
3506
|
-
const
|
|
3508
|
+
const ms = {
|
|
3507
3509
|
number: {
|
|
3508
3510
|
scientific: { notation: "scientific" },
|
|
3509
3511
|
engineering: { notation: "engineering" },
|
|
@@ -3532,159 +3534,159 @@ const ds = {
|
|
|
3532
3534
|
timeZoneName: "short"
|
|
3533
3535
|
}
|
|
3534
3536
|
}
|
|
3535
|
-
},
|
|
3537
|
+
}, gs = {
|
|
3536
3538
|
fallbackLocale: null,
|
|
3537
3539
|
loadingDelay: 200,
|
|
3538
|
-
formats:
|
|
3540
|
+
formats: ms,
|
|
3539
3541
|
warnOnMissingMessages: !0,
|
|
3540
3542
|
handleMissingMessage: void 0,
|
|
3541
3543
|
ignoreTag: !0
|
|
3542
|
-
},
|
|
3543
|
-
function
|
|
3544
|
-
return
|
|
3545
|
-
}
|
|
3546
|
-
const
|
|
3547
|
-
var
|
|
3548
|
-
for (var t in r)
|
|
3549
|
-
|
|
3550
|
-
if (
|
|
3551
|
-
for (var t of
|
|
3552
|
-
|
|
3544
|
+
}, ps = gs;
|
|
3545
|
+
function lr() {
|
|
3546
|
+
return ps;
|
|
3547
|
+
}
|
|
3548
|
+
const ft = Kr(!1);
|
|
3549
|
+
var bs = Object.defineProperty, ys = Object.defineProperties, Es = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, vs = Object.prototype.hasOwnProperty, _s = Object.prototype.propertyIsEnumerable, jt = (e, r, t) => r in e ? bs(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, ws = (e, r) => {
|
|
3550
|
+
for (var t in r || (r = {}))
|
|
3551
|
+
vs.call(r, t) && jt(e, t, r[t]);
|
|
3552
|
+
if (Gt)
|
|
3553
|
+
for (var t of Gt(r))
|
|
3554
|
+
_s.call(r, t) && jt(e, t, r[t]);
|
|
3553
3555
|
return e;
|
|
3554
|
-
},
|
|
3555
|
-
let
|
|
3556
|
-
const
|
|
3557
|
-
function
|
|
3556
|
+
}, Ss = (e, r) => ys(e, Es(r));
|
|
3557
|
+
let St;
|
|
3558
|
+
const Jr = Kr(null);
|
|
3559
|
+
function Vt(e) {
|
|
3558
3560
|
return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
|
|
3559
3561
|
}
|
|
3560
|
-
function
|
|
3561
|
-
const t =
|
|
3562
|
-
return r ? [.../* @__PURE__ */ new Set([...t, ...
|
|
3562
|
+
function tt(e, r = lr().fallbackLocale) {
|
|
3563
|
+
const t = Vt(e);
|
|
3564
|
+
return r ? [.../* @__PURE__ */ new Set([...t, ...Vt(r)])] : t;
|
|
3563
3565
|
}
|
|
3564
|
-
function
|
|
3565
|
-
return
|
|
3566
|
+
function De() {
|
|
3567
|
+
return St ?? void 0;
|
|
3566
3568
|
}
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
+
Jr.subscribe((e) => {
|
|
3570
|
+
St = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3569
3571
|
});
|
|
3570
|
-
const
|
|
3571
|
-
if (e &&
|
|
3572
|
-
const { loadingDelay: r } =
|
|
3572
|
+
const Ps = (e) => {
|
|
3573
|
+
if (e && cs(e) && wt(e)) {
|
|
3574
|
+
const { loadingDelay: r } = lr();
|
|
3573
3575
|
let t;
|
|
3574
|
-
return typeof window < "u" &&
|
|
3575
|
-
() =>
|
|
3576
|
+
return typeof window < "u" && De() != null && r ? t = window.setTimeout(
|
|
3577
|
+
() => ft.set(!0),
|
|
3576
3578
|
r
|
|
3577
|
-
) :
|
|
3578
|
-
|
|
3579
|
+
) : ft.set(!0), xi(e).then(() => {
|
|
3580
|
+
Jr.set(e);
|
|
3579
3581
|
}).finally(() => {
|
|
3580
|
-
clearTimeout(t),
|
|
3582
|
+
clearTimeout(t), ft.set(!1);
|
|
3581
3583
|
});
|
|
3582
3584
|
}
|
|
3583
|
-
return
|
|
3584
|
-
},
|
|
3585
|
-
set:
|
|
3586
|
-
}),
|
|
3585
|
+
return Jr.set(e);
|
|
3586
|
+
}, hr = Ss(ws({}, Jr), {
|
|
3587
|
+
set: Ps
|
|
3588
|
+
}), it = (e) => {
|
|
3587
3589
|
const r = /* @__PURE__ */ Object.create(null);
|
|
3588
3590
|
return (i) => {
|
|
3589
3591
|
const n = JSON.stringify(i);
|
|
3590
3592
|
return n in r ? r[n] : r[n] = e(i);
|
|
3591
3593
|
};
|
|
3592
3594
|
};
|
|
3593
|
-
var
|
|
3595
|
+
var xs = Object.defineProperty, Yr = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, $t = (e, r, t) => r in e ? xs(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ct = (e, r) => {
|
|
3594
3596
|
for (var t in r || (r = {}))
|
|
3595
|
-
|
|
3596
|
-
if (
|
|
3597
|
-
for (var t of
|
|
3598
|
-
|
|
3597
|
+
Ci.call(r, t) && $t(e, t, r[t]);
|
|
3598
|
+
if (Yr)
|
|
3599
|
+
for (var t of Yr(r))
|
|
3600
|
+
Ai.call(r, t) && $t(e, t, r[t]);
|
|
3599
3601
|
return e;
|
|
3600
|
-
},
|
|
3602
|
+
}, fr = (e, r) => {
|
|
3601
3603
|
var t = {};
|
|
3602
3604
|
for (var i in e)
|
|
3603
|
-
|
|
3604
|
-
if (e != null &&
|
|
3605
|
-
for (var i of
|
|
3606
|
-
r.indexOf(i) < 0 &&
|
|
3605
|
+
Ci.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
3606
|
+
if (e != null && Yr)
|
|
3607
|
+
for (var i of Yr(e))
|
|
3608
|
+
r.indexOf(i) < 0 && Ai.call(e, i) && (t[i] = e[i]);
|
|
3607
3609
|
return t;
|
|
3608
3610
|
};
|
|
3609
|
-
const
|
|
3610
|
-
const { formats: t } =
|
|
3611
|
+
const Cr = (e, r) => {
|
|
3612
|
+
const { formats: t } = lr();
|
|
3611
3613
|
if (e in t && r in t[e])
|
|
3612
3614
|
return t[e][r];
|
|
3613
3615
|
throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
|
|
3614
|
-
},
|
|
3616
|
+
}, Cs = it(
|
|
3615
3617
|
(e) => {
|
|
3616
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3618
|
+
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3617
3619
|
if (t == null)
|
|
3618
3620
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3619
|
-
return i && (n =
|
|
3621
|
+
return i && (n = Cr("number", i)), new Intl.NumberFormat(t, n);
|
|
3620
3622
|
}
|
|
3621
|
-
),
|
|
3623
|
+
), As = it(
|
|
3622
3624
|
(e) => {
|
|
3623
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3625
|
+
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3624
3626
|
if (t == null)
|
|
3625
3627
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3626
|
-
return i ? n =
|
|
3628
|
+
return i ? n = Cr("date", i) : Object.keys(n).length === 0 && (n = Cr("date", "short")), new Intl.DateTimeFormat(t, n);
|
|
3627
3629
|
}
|
|
3628
|
-
),
|
|
3630
|
+
), Ts = it(
|
|
3629
3631
|
(e) => {
|
|
3630
|
-
var r = e, { locale: t, format: i } = r, n =
|
|
3632
|
+
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3631
3633
|
if (t == null)
|
|
3632
3634
|
throw new Error(
|
|
3633
3635
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3634
3636
|
);
|
|
3635
|
-
return i ? n =
|
|
3637
|
+
return i ? n = Cr("time", i) : Object.keys(n).length === 0 && (n = Cr("time", "short")), new Intl.DateTimeFormat(t, n);
|
|
3636
3638
|
}
|
|
3637
|
-
),
|
|
3639
|
+
), Hs = (e = {}) => {
|
|
3638
3640
|
var r = e, {
|
|
3639
|
-
locale: t =
|
|
3640
|
-
} = r, i =
|
|
3641
|
+
locale: t = De()
|
|
3642
|
+
} = r, i = fr(r, [
|
|
3641
3643
|
"locale"
|
|
3642
3644
|
]);
|
|
3643
|
-
return
|
|
3644
|
-
},
|
|
3645
|
+
return Cs(Ct({ locale: t }, i));
|
|
3646
|
+
}, Bs = (e = {}) => {
|
|
3645
3647
|
var r = e, {
|
|
3646
|
-
locale: t =
|
|
3647
|
-
} = r, i =
|
|
3648
|
+
locale: t = De()
|
|
3649
|
+
} = r, i = fr(r, [
|
|
3648
3650
|
"locale"
|
|
3649
3651
|
]);
|
|
3650
|
-
return
|
|
3651
|
-
},
|
|
3652
|
+
return As(Ct({ locale: t }, i));
|
|
3653
|
+
}, Is = (e = {}) => {
|
|
3652
3654
|
var r = e, {
|
|
3653
|
-
locale: t =
|
|
3654
|
-
} = r, i =
|
|
3655
|
+
locale: t = De()
|
|
3656
|
+
} = r, i = fr(r, [
|
|
3655
3657
|
"locale"
|
|
3656
3658
|
]);
|
|
3657
|
-
return
|
|
3658
|
-
},
|
|
3659
|
+
return Ts(Ct({ locale: t }, i));
|
|
3660
|
+
}, Ns = it(
|
|
3659
3661
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3660
|
-
(e, r =
|
|
3661
|
-
ignoreTag:
|
|
3662
|
+
(e, r = De()) => new ss(e, r, lr().formats, {
|
|
3663
|
+
ignoreTag: lr().ignoreTag
|
|
3662
3664
|
})
|
|
3663
|
-
),
|
|
3665
|
+
), Os = (e, r = {}) => {
|
|
3664
3666
|
var t, i, n, s;
|
|
3665
3667
|
let u = r;
|
|
3666
3668
|
typeof e == "object" && (u = e, e = u.id);
|
|
3667
3669
|
const {
|
|
3668
|
-
values:
|
|
3669
|
-
locale: f =
|
|
3670
|
+
values: a,
|
|
3671
|
+
locale: f = De(),
|
|
3670
3672
|
default: c
|
|
3671
3673
|
} = u;
|
|
3672
3674
|
if (f == null)
|
|
3673
3675
|
throw new Error(
|
|
3674
3676
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3675
3677
|
);
|
|
3676
|
-
let h =
|
|
3678
|
+
let h = _i(e, f);
|
|
3677
3679
|
if (!h)
|
|
3678
|
-
h = (s = (n = (i = (t =
|
|
3680
|
+
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;
|
|
3679
3681
|
else if (typeof h != "string")
|
|
3680
3682
|
return console.warn(
|
|
3681
3683
|
`[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.`
|
|
3682
3684
|
), h;
|
|
3683
|
-
if (!
|
|
3685
|
+
if (!a)
|
|
3684
3686
|
return h;
|
|
3685
3687
|
let m = h;
|
|
3686
3688
|
try {
|
|
3687
|
-
m =
|
|
3689
|
+
m = Ns(h, f).format(a);
|
|
3688
3690
|
} catch (g) {
|
|
3689
3691
|
g instanceof Error && console.warn(
|
|
3690
3692
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3692,18 +3694,18 @@ const xr = (e, r) => {
|
|
|
3692
3694
|
);
|
|
3693
3695
|
}
|
|
3694
3696
|
return m;
|
|
3695
|
-
},
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
function
|
|
3701
|
-
|
|
3702
|
-
}
|
|
3703
|
-
function
|
|
3704
|
-
|
|
3705
|
-
}
|
|
3706
|
-
const
|
|
3697
|
+
}, Ls = (e, r) => Is(r).format(e), Ms = (e, r) => Bs(r).format(e), Rs = (e, r) => Hs(r).format(e), Us = (e, r = De()) => _i(e, r), ks = cr([hr, Ar], () => Os);
|
|
3698
|
+
cr([hr], () => Ls);
|
|
3699
|
+
cr([hr], () => Ms);
|
|
3700
|
+
cr([hr], () => Rs);
|
|
3701
|
+
cr([hr, Ar], () => Us);
|
|
3702
|
+
function Qt(e, r) {
|
|
3703
|
+
Si(e, r);
|
|
3704
|
+
}
|
|
3705
|
+
function Fs(e) {
|
|
3706
|
+
hr.set(e);
|
|
3707
|
+
}
|
|
3708
|
+
const zt = {
|
|
3707
3709
|
en: {
|
|
3708
3710
|
registerTitle: "Create your account",
|
|
3709
3711
|
registerSubtitle: "Already have an account?",
|
|
@@ -3958,13 +3960,13 @@ const Qt = {
|
|
|
3958
3960
|
registerNext: "Next"
|
|
3959
3961
|
}
|
|
3960
3962
|
};
|
|
3961
|
-
function
|
|
3963
|
+
function Ds(e, r) {
|
|
3962
3964
|
if (e) {
|
|
3963
3965
|
const t = document.createElement("style");
|
|
3964
3966
|
t.innerHTML = r, e.appendChild(t);
|
|
3965
3967
|
}
|
|
3966
3968
|
}
|
|
3967
|
-
function
|
|
3969
|
+
function Gs(e, r) {
|
|
3968
3970
|
const t = new URL(r);
|
|
3969
3971
|
fetch(t.href).then((i) => i.text()).then((i) => {
|
|
3970
3972
|
const n = document.createElement("style");
|
|
@@ -3973,7 +3975,7 @@ function Ds(e, r) {
|
|
|
3973
3975
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
3974
3976
|
});
|
|
3975
3977
|
}
|
|
3976
|
-
function
|
|
3978
|
+
function js(e, r, t) {
|
|
3977
3979
|
if (window.emMessageBus) {
|
|
3978
3980
|
const i = document.createElement("style");
|
|
3979
3981
|
window.emMessageBus.subscribe(r, (n) => {
|
|
@@ -3981,17 +3983,17 @@ function Gs(e, r, t) {
|
|
|
3981
3983
|
});
|
|
3982
3984
|
}
|
|
3983
3985
|
}
|
|
3984
|
-
function
|
|
3985
|
-
|
|
3986
|
+
function Vs(e) {
|
|
3987
|
+
Bi(e, "svelte-1ueqy7d", ".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.PromoCodeContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.PromoCodeContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.PromoCodeContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.PromoCodeContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.PromoCodeContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect,.ToggleConfirmPasswordVisibility.InvalidToggle path,.ToggleConfirmPasswordVisibility.InvalidToggle circle,.ToggleConfirmPasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}");
|
|
3986
3988
|
}
|
|
3987
|
-
function
|
|
3989
|
+
function Xt(e) {
|
|
3988
3990
|
let r, t = (
|
|
3989
3991
|
/*$_*/
|
|
3990
3992
|
e[30]("registerEmailError") + ""
|
|
3991
3993
|
), i;
|
|
3992
3994
|
return {
|
|
3993
3995
|
c() {
|
|
3994
|
-
r = E("p"), i =
|
|
3996
|
+
r = E("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
3995
3997
|
},
|
|
3996
3998
|
m(n, s) {
|
|
3997
3999
|
ue(n, r, s), l(r, i);
|
|
@@ -4006,14 +4008,14 @@ function zt(e) {
|
|
|
4006
4008
|
}
|
|
4007
4009
|
};
|
|
4008
4010
|
}
|
|
4009
|
-
function
|
|
4011
|
+
function Zt(e) {
|
|
4010
4012
|
let r, t = (
|
|
4011
4013
|
/*$_*/
|
|
4012
4014
|
e[30]("registerUsernameError") + ""
|
|
4013
4015
|
), i;
|
|
4014
4016
|
return {
|
|
4015
4017
|
c() {
|
|
4016
|
-
r = E("p"), i =
|
|
4018
|
+
r = E("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4017
4019
|
},
|
|
4018
4020
|
m(n, s) {
|
|
4019
4021
|
ue(n, r, s), l(r, i);
|
|
@@ -4028,14 +4030,14 @@ function Xt(e) {
|
|
|
4028
4030
|
}
|
|
4029
4031
|
};
|
|
4030
4032
|
}
|
|
4031
|
-
function
|
|
4032
|
-
let r, t, i, n, s, u,
|
|
4033
|
+
function $s(e) {
|
|
4034
|
+
let r, t, i, n, s, u, a, f, c;
|
|
4033
4035
|
return {
|
|
4034
4036
|
c() {
|
|
4035
|
-
r =
|
|
4037
|
+
r = w("svg"), t = w("defs"), i = w("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = w("g"), u = w("path"), a = w("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");
|
|
4036
4038
|
},
|
|
4037
4039
|
m(h, m) {
|
|
4038
|
-
ue(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s,
|
|
4040
|
+
ue(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), f || (c = x(
|
|
4039
4041
|
r,
|
|
4040
4042
|
"click",
|
|
4041
4043
|
/*click_handler_2*/
|
|
@@ -4048,14 +4050,14 @@ function Vs(e) {
|
|
|
4048
4050
|
}
|
|
4049
4051
|
};
|
|
4050
4052
|
}
|
|
4051
|
-
function
|
|
4052
|
-
let r, t, i, n, s, u,
|
|
4053
|
+
function Qs(e) {
|
|
4054
|
+
let r, t, i, n, s, u, a, f, c, h, m, g, b, _, y;
|
|
4053
4055
|
return {
|
|
4054
4056
|
c() {
|
|
4055
|
-
r =
|
|
4057
|
+
r = w("svg"), t = w("defs"), i = w("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = w("g"), u = w("circle"), a = w("g"), f = w("path"), c = w("path"), h = w("g"), m = w("path"), g = w("path"), b = w("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");
|
|
4056
4058
|
},
|
|
4057
|
-
m(A,
|
|
4058
|
-
ue(A, r,
|
|
4059
|
+
m(A, N) {
|
|
4060
|
+
ue(A, r, N), 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(
|
|
4059
4061
|
r,
|
|
4060
4062
|
"click",
|
|
4061
4063
|
/*click_handler_1*/
|
|
@@ -4068,14 +4070,14 @@ function $s(e) {
|
|
|
4068
4070
|
}
|
|
4069
4071
|
};
|
|
4070
4072
|
}
|
|
4071
|
-
function
|
|
4073
|
+
function Wt(e) {
|
|
4072
4074
|
let r, t = (
|
|
4073
4075
|
/*$_*/
|
|
4074
4076
|
e[30]("registerPasswordError") + ""
|
|
4075
4077
|
), i;
|
|
4076
4078
|
return {
|
|
4077
4079
|
c() {
|
|
4078
|
-
r = E("p"), i =
|
|
4080
|
+
r = E("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4079
4081
|
},
|
|
4080
4082
|
m(n, s) {
|
|
4081
4083
|
ue(n, r, s), l(r, i);
|
|
@@ -4090,14 +4092,14 @@ function Zt(e) {
|
|
|
4090
4092
|
}
|
|
4091
4093
|
};
|
|
4092
4094
|
}
|
|
4093
|
-
function
|
|
4095
|
+
function qt(e) {
|
|
4094
4096
|
let r, t = (
|
|
4095
4097
|
/*$_*/
|
|
4096
4098
|
e[30]("registerSimplePasswordError") + ""
|
|
4097
4099
|
), i;
|
|
4098
4100
|
return {
|
|
4099
4101
|
c() {
|
|
4100
|
-
r = E("p"), i =
|
|
4102
|
+
r = E("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4101
4103
|
},
|
|
4102
4104
|
m(n, s) {
|
|
4103
4105
|
ue(n, r, s), l(r, i);
|
|
@@ -4112,14 +4114,14 @@ function Wt(e) {
|
|
|
4112
4114
|
}
|
|
4113
4115
|
};
|
|
4114
4116
|
}
|
|
4115
|
-
function
|
|
4116
|
-
let r, t, i, n, s, u,
|
|
4117
|
+
function zs(e) {
|
|
4118
|
+
let r, t, i, n, s, u, a, f, c;
|
|
4117
4119
|
return {
|
|
4118
4120
|
c() {
|
|
4119
|
-
r =
|
|
4121
|
+
r = w("svg"), t = w("defs"), i = w("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = w("g"), u = w("path"), a = w("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");
|
|
4120
4122
|
},
|
|
4121
4123
|
m(h, m) {
|
|
4122
|
-
ue(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s,
|
|
4124
|
+
ue(h, r, m), l(r, t), l(t, i), l(i, n), l(r, s), l(s, u), l(s, a), f || (c = x(
|
|
4123
4125
|
r,
|
|
4124
4126
|
"click",
|
|
4125
4127
|
/*click_handler_4*/
|
|
@@ -4132,14 +4134,14 @@ function Qs(e) {
|
|
|
4132
4134
|
}
|
|
4133
4135
|
};
|
|
4134
4136
|
}
|
|
4135
|
-
function
|
|
4136
|
-
let r, t, i, n, s, u,
|
|
4137
|
+
function Xs(e) {
|
|
4138
|
+
let r, t, i, n, s, u, a, f, c, h, m, g, b, _, y;
|
|
4137
4139
|
return {
|
|
4138
4140
|
c() {
|
|
4139
|
-
r =
|
|
4141
|
+
r = w("svg"), t = w("defs"), i = w("style"), n = T(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), s = w("g"), u = w("circle"), a = w("g"), f = w("path"), c = w("path"), h = w("g"), m = w("path"), g = w("path"), b = w("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");
|
|
4140
4142
|
},
|
|
4141
|
-
m(A,
|
|
4142
|
-
ue(A, r,
|
|
4143
|
+
m(A, N) {
|
|
4144
|
+
ue(A, r, N), 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(
|
|
4143
4145
|
r,
|
|
4144
4146
|
"click",
|
|
4145
4147
|
/*click_handler_3*/
|
|
@@ -4152,14 +4154,14 @@ function zs(e) {
|
|
|
4152
4154
|
}
|
|
4153
4155
|
};
|
|
4154
4156
|
}
|
|
4155
|
-
function
|
|
4157
|
+
function Jt(e) {
|
|
4156
4158
|
let r, t = (
|
|
4157
4159
|
/*$_*/
|
|
4158
4160
|
e[30]("registerConfirmPasswordError") + ""
|
|
4159
4161
|
), i;
|
|
4160
4162
|
return {
|
|
4161
4163
|
c() {
|
|
4162
|
-
r = E("p"), i =
|
|
4164
|
+
r = E("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4163
4165
|
},
|
|
4164
4166
|
m(n, s) {
|
|
4165
4167
|
ue(n, r, s), l(r, i);
|
|
@@ -4174,7 +4176,7 @@ function qt(e) {
|
|
|
4174
4176
|
}
|
|
4175
4177
|
};
|
|
4176
4178
|
}
|
|
4177
|
-
function
|
|
4179
|
+
function Yt(e) {
|
|
4178
4180
|
let r, t = (
|
|
4179
4181
|
/*custominputtextswitch*/
|
|
4180
4182
|
(e[2] == "true" ? (
|
|
@@ -4187,7 +4189,7 @@ function Jt(e) {
|
|
|
4187
4189
|
), i;
|
|
4188
4190
|
return {
|
|
4189
4191
|
c() {
|
|
4190
|
-
r = E("p"), i =
|
|
4192
|
+
r = E("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4191
4193
|
},
|
|
4192
4194
|
m(n, s) {
|
|
4193
4195
|
ue(n, r, s), l(r, i);
|
|
@@ -4208,7 +4210,7 @@ function Jt(e) {
|
|
|
4208
4210
|
}
|
|
4209
4211
|
};
|
|
4210
4212
|
}
|
|
4211
|
-
function
|
|
4213
|
+
function Kt(e) {
|
|
4212
4214
|
let r, t = (
|
|
4213
4215
|
/*custominputtextswitch*/
|
|
4214
4216
|
(e[2] == "true" ? (
|
|
@@ -4221,7 +4223,7 @@ function Yt(e) {
|
|
|
4221
4223
|
), i;
|
|
4222
4224
|
return {
|
|
4223
4225
|
c() {
|
|
4224
|
-
r = E("p"), i =
|
|
4226
|
+
r = E("p"), i = T(t), o(r, "class", "InvalidInput");
|
|
4225
4227
|
},
|
|
4226
4228
|
m(n, s) {
|
|
4227
4229
|
ue(n, r, s), l(r, i);
|
|
@@ -4242,32 +4244,32 @@ function Yt(e) {
|
|
|
4242
4244
|
}
|
|
4243
4245
|
};
|
|
4244
4246
|
}
|
|
4245
|
-
function
|
|
4247
|
+
function Zs(e) {
|
|
4246
4248
|
let r, t, i, n = (
|
|
4247
4249
|
/*$_*/
|
|
4248
4250
|
e[30]("registerTitle") + ""
|
|
4249
|
-
), s, u,
|
|
4251
|
+
), s, u, a, f = (
|
|
4250
4252
|
/*$_*/
|
|
4251
4253
|
e[30]("registerSubtitle") + ""
|
|
4252
4254
|
), c, h, m, g = (
|
|
4253
4255
|
/*$_*/
|
|
4254
4256
|
e[30]("registerSubtitleLogin") + ""
|
|
4255
|
-
), b, _, y, A,
|
|
4257
|
+
), b, _, y, A, N, M = (
|
|
4256
4258
|
/*$_*/
|
|
4257
4259
|
e[30]("registerEmail") + ""
|
|
4258
|
-
), R, ce, G, me, U,
|
|
4260
|
+
), R, ce, G, me, U, Ge, Ae, je, k, X, he = (
|
|
4259
4261
|
/*$_*/
|
|
4260
4262
|
e[30]("registerUsername") + ""
|
|
4261
|
-
), ge, ne, V,
|
|
4263
|
+
), ge, ne, V, Te, F, xe, He, ye, pe, C, Ee, Z = (
|
|
4262
4264
|
/*$_*/
|
|
4263
4265
|
e[30]("registerPassword") + ""
|
|
4264
|
-
),
|
|
4266
|
+
), ve, Tr, Le, Hr, H, Me, dr, mr, Ve, Re, Ue, gr, j, Ce, $e = (
|
|
4265
4267
|
/*$_*/
|
|
4266
4268
|
e[30]("registerConfirmPassword") + ""
|
|
4267
|
-
),
|
|
4269
|
+
), Qe, Br, Be, pr, $, br, ze, ke, Ir, _e, Fe, Xe = (
|
|
4268
4270
|
/*$_*/
|
|
4269
4271
|
e[30]("registerPromoCode") + ""
|
|
4270
|
-
),
|
|
4272
|
+
), yr, Nr, Or, se, Lr, Ze, Mr, fe, Ie, We = (
|
|
4271
4273
|
/*custominputtextswitch*/
|
|
4272
4274
|
(e[2] == "true" ? (
|
|
4273
4275
|
/*$_*/
|
|
@@ -4276,7 +4278,7 @@ function Xs(e) {
|
|
|
4276
4278
|
/*$_*/
|
|
4277
4279
|
e[30]("registerSecurityQuestion")
|
|
4278
4280
|
)) + ""
|
|
4279
|
-
),
|
|
4281
|
+
), Er, Rr, qe, Ur, oe, kr, Je, Fr, de, Ne, Ye = (
|
|
4280
4282
|
/*custominputtextswitch*/
|
|
4281
4283
|
(e[2] == "true" ? (
|
|
4282
4284
|
/*$_*/
|
|
@@ -4285,104 +4287,104 @@ function Xs(e) {
|
|
|
4285
4287
|
/*$_*/
|
|
4286
4288
|
e[30]("registerSecurityAnswer")
|
|
4287
4289
|
)) + ""
|
|
4288
|
-
),
|
|
4290
|
+
), vr, Dr, Ke, Gr, ae, jr, er, p, I, le = (
|
|
4289
4291
|
/*$_*/
|
|
4290
4292
|
e[30]("registerNext") + ""
|
|
4291
|
-
),
|
|
4293
|
+
), nt, Vr, st, At, W = (
|
|
4292
4294
|
/*invalidEmail*/
|
|
4293
|
-
e[4] &&
|
|
4295
|
+
e[4] && Xt(e)
|
|
4294
4296
|
), q = (
|
|
4295
4297
|
/*invalidName*/
|
|
4296
|
-
e[5] &&
|
|
4298
|
+
e[5] && Zt(e)
|
|
4297
4299
|
);
|
|
4298
|
-
function
|
|
4300
|
+
function Tt(d, v) {
|
|
4299
4301
|
return (
|
|
4300
4302
|
/*isPasswordVisible*/
|
|
4301
|
-
d[25] ?
|
|
4303
|
+
d[25] ? Qs : $s
|
|
4302
4304
|
);
|
|
4303
4305
|
}
|
|
4304
|
-
let
|
|
4306
|
+
let $r = Tt(e), we = $r(e), J = (
|
|
4305
4307
|
/*invalidPassword*/
|
|
4306
4308
|
e[6] && /*simplepasswordvalidation*/
|
|
4307
|
-
e[0] !== "true" &&
|
|
4309
|
+
e[0] !== "true" && Wt(e)
|
|
4308
4310
|
), Y = (
|
|
4309
4311
|
/*invalidPassword*/
|
|
4310
4312
|
e[6] && /*simplepasswordvalidation*/
|
|
4311
|
-
e[0] === "true" &&
|
|
4313
|
+
e[0] === "true" && qt(e)
|
|
4312
4314
|
);
|
|
4313
|
-
function
|
|
4315
|
+
function Ht(d, v) {
|
|
4314
4316
|
return (
|
|
4315
4317
|
/*isConfirmPasswordVisible*/
|
|
4316
|
-
d[26] ?
|
|
4318
|
+
d[26] ? Xs : zs
|
|
4317
4319
|
);
|
|
4318
4320
|
}
|
|
4319
|
-
let
|
|
4321
|
+
let Qr = Ht(e), Se = Qr(e), K = (
|
|
4320
4322
|
/*invalidConfirmPassword*/
|
|
4321
|
-
e[7] &&
|
|
4323
|
+
e[7] && Jt(e)
|
|
4322
4324
|
), ee = (
|
|
4323
4325
|
/*invalidSecurityQuestion*/
|
|
4324
|
-
e[8] &&
|
|
4326
|
+
e[8] && Yt(e)
|
|
4325
4327
|
), re = (
|
|
4326
4328
|
/*invalidSecurityAnswer*/
|
|
4327
|
-
e[9] &&
|
|
4329
|
+
e[9] && Kt(e)
|
|
4328
4330
|
);
|
|
4329
4331
|
return {
|
|
4330
4332
|
c() {
|
|
4331
|
-
r = E("div"), t = E("div"), i = E("h2"), s =
|
|
4333
|
+
r = E("div"), t = E("div"), i = E("h2"), s = T(n), u = B(), a = E("p"), c = T(f), h = B(), m = E("span"), b = T(g), _ = B(), y = E("form"), A = E("div"), N = E("label"), R = T(M), ce = T(":"), G = E("span"), G.textContent = "*", me = B(), U = E("input"), Ge = B(), W && W.c(), je = B(), k = E("div"), X = E("label"), ge = T(he), ne = T(":"), V = E("span"), V.textContent = "*", Te = B(), F = E("input"), He = B(), q && q.c(), pe = B(), C = E("div"), Ee = E("label"), ve = T(Z), Tr = T(":"), Le = E("span"), Le.textContent = "*", Hr = B(), H = E("input"), dr = B(), we.c(), mr = B(), J && J.c(), Ve = B(), Y && Y.c(), gr = B(), j = E("div"), Ce = E("label"), Qe = T($e), Br = T(":"), Be = E("span"), Be.textContent = "*", pr = B(), $ = E("input"), br = B(), Se.c(), ze = B(), K && K.c(), Ir = B(), _e = E("div"), Fe = E("label"), yr = T(Xe), Nr = T(":"), Or = B(), se = E("input"), Lr = B(), Mr = B(), fe = E("div"), Ie = E("label"), Er = T(We), Rr = T(":"), qe = E("span"), qe.textContent = "*", Ur = B(), oe = E("input"), kr = B(), ee && ee.c(), Fr = B(), de = E("div"), Ne = E("label"), vr = T(Ye), Dr = T(":"), Ke = E("span"), Ke.textContent = "*", Gr = B(), ae = E("input"), jr = B(), re && re.c(), p = B(), I = E("button"), nt = T(le), o(i, "class", "RegisterFormTitle"), o(m, "class", "FormLoginCallToAction"), o(a, "class", "RegisterFormSubtitle"), o(t, "class", "RegisterFormHeader"), o(G, "class", "FormRequired"), o(N, "for", "Email"), o(U, "type", "text"), o(U, "id", "Email"), o(A, "class", Ae = "EmailContainer " + /*invalidEmail*/
|
|
4332
4334
|
(e[4] && !/*emailFocus*/
|
|
4333
4335
|
e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4334
|
-
(e[17]?.indexOf("email") >= 0 ? "Hidden" : "")),
|
|
4335
|
-
e[1] ? "username" : "off"),
|
|
4336
|
+
(e[17]?.indexOf("email") >= 0 ? "Hidden" : "")), o(V, "class", "FormRequired"), o(X, "for", "UserName"), o(F, "type", "text"), o(F, "id", "UserName"), o(F, "autocomplete", xe = /*savecredentials*/
|
|
4337
|
+
e[1] ? "username" : "off"), o(k, "class", ye = "UserContainer " + /*invalidName*/
|
|
4336
4338
|
(e[5] && !/*usernameFocus*/
|
|
4337
4339
|
e[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4338
|
-
(e[17]?.indexOf("username") >= 0 ? "Hidden" : "")),
|
|
4339
|
-
e[1] ? "new-password" : "off"),
|
|
4340
|
+
(e[17]?.indexOf("username") >= 0 ? "Hidden" : "")), o(Le, "class", "FormRequired"), o(Ee, "for", "Password"), o(H, "name", "new-password"), o(H, "type", "password"), o(H, "id", "new-password"), o(H, "autocomplete", Me = /*savecredentials*/
|
|
4341
|
+
e[1] ? "new-password" : "off"), o(H, "aria-describedby", "password-constraints"), o(C, "class", Re = "PasswordContainer " + /*invalidPassword*/
|
|
4340
4342
|
(e[6] && !/*passwordFocus*/
|
|
4341
4343
|
e[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4342
|
-
(e[17]?.indexOf("password") >= 0 ? "Hidden" : "")), C.hidden =
|
|
4343
|
-
e[17]?.indexOf("password") >= 0,
|
|
4344
|
+
(e[17]?.indexOf("password") >= 0 ? "Hidden" : "")), C.hidden = Ue = /*disabledFieldsList*/
|
|
4345
|
+
e[17]?.indexOf("password") >= 0, o(Be, "class", "FormRequired"), o(Ce, "for", "ConfirmPassword"), o($, "type", "password"), o($, "id", "ConfirmPassword"), o(j, "class", ke = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4344
4346
|
(e[7] && !/*confirmPasswordFocus*/
|
|
4345
4347
|
e[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4346
|
-
(e[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")),
|
|
4347
|
-
(e[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")),
|
|
4348
|
+
(e[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")), o(Fe, "for", "PromoCode"), o(se, "type", "text"), o(se, "id", "PromoCode"), o(_e, "class", Ze = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4349
|
+
(e[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")), o(qe, "class", "FormRequired"), o(Ie, "for", "SecurityQuestion"), o(oe, "type", "text"), o(oe, "id", "SecurityQuestion"), o(fe, "class", Je = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4348
4350
|
(e[8] && !/*securityQFocus*/
|
|
4349
4351
|
e[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4350
|
-
(e[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")),
|
|
4352
|
+
(e[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")), o(Ke, "class", "FormRequired"), o(Ne, "for", "SecurityAnswer"), o(ae, "type", "text"), o(ae, "id", "SecurityAnswer"), o(de, "class", er = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4351
4353
|
(e[9] && !/*securityAFocus*/
|
|
4352
4354
|
e[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4353
|
-
(e[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")),
|
|
4354
|
-
e[29],
|
|
4355
|
+
(e[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")), o(I, "class", "RegisterStepNext"), I.disabled = Vr = !/*isValid*/
|
|
4356
|
+
e[29], o(y, "class", "RegisterFormContent");
|
|
4355
4357
|
},
|
|
4356
|
-
m(d,
|
|
4357
|
-
ue(d, r,
|
|
4358
|
+
m(d, v) {
|
|
4359
|
+
ue(d, r, v), l(r, t), l(t, i), l(i, s), l(t, u), l(t, a), l(a, c), l(a, h), l(a, m), l(m, b), l(r, _), l(r, y), l(y, A), l(A, N), l(N, R), l(N, ce), l(N, G), l(A, me), l(A, U), te(
|
|
4358
4360
|
U,
|
|
4359
4361
|
/*userEmail*/
|
|
4360
4362
|
e[19]
|
|
4361
|
-
), l(A,
|
|
4363
|
+
), l(A, Ge), W && W.m(A, null), l(y, je), l(y, k), l(k, X), l(X, ge), l(X, ne), l(X, V), l(k, Te), l(k, F), te(
|
|
4362
4364
|
F,
|
|
4363
4365
|
/*userValue*/
|
|
4364
4366
|
e[18]
|
|
4365
|
-
), l(k,
|
|
4366
|
-
|
|
4367
|
+
), l(k, He), q && q.m(k, null), l(y, pe), l(y, C), l(C, Ee), l(Ee, ve), l(Ee, Tr), l(Ee, Le), l(C, Hr), l(C, H), te(
|
|
4368
|
+
H,
|
|
4367
4369
|
/*userPassword*/
|
|
4368
4370
|
e[20]
|
|
4369
|
-
), e[60](
|
|
4371
|
+
), e[60](H), l(C, dr), we.m(C, null), l(C, mr), J && J.m(C, null), l(C, Ve), Y && Y.m(C, null), l(y, gr), l(y, j), l(j, Ce), l(Ce, Qe), l(Ce, Br), l(Ce, Be), l(j, pr), l(j, $), te(
|
|
4370
4372
|
$,
|
|
4371
4373
|
/*confirmUserPassword*/
|
|
4372
4374
|
e[21]
|
|
4373
|
-
), e[66]($), l(j,
|
|
4375
|
+
), e[66]($), l(j, br), Se.m(j, null), l(j, ze), K && K.m(j, null), l(y, Ir), l(y, _e), l(_e, Fe), l(Fe, yr), l(Fe, Nr), l(_e, Or), l(_e, se), te(
|
|
4374
4376
|
se,
|
|
4375
4377
|
/*promoCode*/
|
|
4376
4378
|
e[24]
|
|
4377
|
-
), l(_e,
|
|
4378
|
-
|
|
4379
|
+
), l(_e, Lr), l(y, Mr), l(y, fe), l(fe, Ie), l(Ie, Er), l(Ie, Rr), l(Ie, qe), l(fe, Ur), l(fe, oe), te(
|
|
4380
|
+
oe,
|
|
4379
4381
|
/*securityQuestion*/
|
|
4380
4382
|
e[22]
|
|
4381
|
-
), l(fe,
|
|
4382
|
-
|
|
4383
|
+
), l(fe, kr), ee && ee.m(fe, null), l(y, Fr), l(y, de), l(de, Ne), l(Ne, vr), l(Ne, Dr), l(Ne, Ke), l(de, Gr), l(de, ae), te(
|
|
4384
|
+
ae,
|
|
4383
4385
|
/*securityAnswer*/
|
|
4384
4386
|
e[23]
|
|
4385
|
-
), l(de,
|
|
4387
|
+
), l(de, jr), re && re.m(de, null), l(y, p), l(y, I), l(I, nt), e[79](r), st || (At = [
|
|
4386
4388
|
x(
|
|
4387
4389
|
m,
|
|
4388
4390
|
"click",
|
|
@@ -4438,25 +4440,25 @@ function Xs(e) {
|
|
|
4438
4440
|
e[56]
|
|
4439
4441
|
),
|
|
4440
4442
|
x(
|
|
4441
|
-
|
|
4443
|
+
H,
|
|
4442
4444
|
"input",
|
|
4443
4445
|
/*input2_input_handler*/
|
|
4444
4446
|
e[57]
|
|
4445
4447
|
),
|
|
4446
4448
|
x(
|
|
4447
|
-
|
|
4449
|
+
H,
|
|
4448
4450
|
"keyup",
|
|
4449
4451
|
/*validatePassword*/
|
|
4450
4452
|
e[38]
|
|
4451
4453
|
),
|
|
4452
4454
|
x(
|
|
4453
|
-
|
|
4455
|
+
H,
|
|
4454
4456
|
"focus",
|
|
4455
4457
|
/*focus_handler_2*/
|
|
4456
4458
|
e[58]
|
|
4457
4459
|
),
|
|
4458
4460
|
x(
|
|
4459
|
-
|
|
4461
|
+
H,
|
|
4460
4462
|
"blur",
|
|
4461
4463
|
/*blur_handler_2*/
|
|
4462
4464
|
e[59]
|
|
@@ -4510,194 +4512,194 @@ function Xs(e) {
|
|
|
4510
4512
|
e[71]
|
|
4511
4513
|
),
|
|
4512
4514
|
x(
|
|
4513
|
-
|
|
4515
|
+
oe,
|
|
4514
4516
|
"input",
|
|
4515
4517
|
/*input5_input_handler*/
|
|
4516
4518
|
e[72]
|
|
4517
4519
|
),
|
|
4518
4520
|
x(
|
|
4519
|
-
|
|
4521
|
+
oe,
|
|
4520
4522
|
"keyup",
|
|
4521
4523
|
/*checkSecurityQuestion*/
|
|
4522
4524
|
e[41]
|
|
4523
4525
|
),
|
|
4524
4526
|
x(
|
|
4525
|
-
|
|
4527
|
+
oe,
|
|
4526
4528
|
"focus",
|
|
4527
4529
|
/*focus_handler_5*/
|
|
4528
4530
|
e[73]
|
|
4529
4531
|
),
|
|
4530
4532
|
x(
|
|
4531
|
-
|
|
4533
|
+
oe,
|
|
4532
4534
|
"blur",
|
|
4533
4535
|
/*blur_handler_5*/
|
|
4534
4536
|
e[74]
|
|
4535
4537
|
),
|
|
4536
4538
|
x(
|
|
4537
|
-
|
|
4539
|
+
ae,
|
|
4538
4540
|
"input",
|
|
4539
4541
|
/*input6_input_handler*/
|
|
4540
4542
|
e[75]
|
|
4541
4543
|
),
|
|
4542
4544
|
x(
|
|
4543
|
-
|
|
4545
|
+
ae,
|
|
4544
4546
|
"keyup",
|
|
4545
4547
|
/*checkSecurityAnswer*/
|
|
4546
4548
|
e[42]
|
|
4547
4549
|
),
|
|
4548
4550
|
x(
|
|
4549
|
-
|
|
4551
|
+
ae,
|
|
4550
4552
|
"focus",
|
|
4551
4553
|
/*focus_handler_6*/
|
|
4552
4554
|
e[76]
|
|
4553
4555
|
),
|
|
4554
4556
|
x(
|
|
4555
|
-
|
|
4557
|
+
ae,
|
|
4556
4558
|
"blur",
|
|
4557
4559
|
/*blur_handler_6*/
|
|
4558
4560
|
e[77]
|
|
4559
4561
|
),
|
|
4560
4562
|
x(
|
|
4561
|
-
|
|
4563
|
+
I,
|
|
4562
4564
|
"click",
|
|
4563
4565
|
/*click_handler_5*/
|
|
4564
4566
|
e[78]
|
|
4565
4567
|
)
|
|
4566
|
-
],
|
|
4568
|
+
], st = !0);
|
|
4567
4569
|
},
|
|
4568
|
-
p(d,
|
|
4569
|
-
|
|
4570
|
+
p(d, v) {
|
|
4571
|
+
v[0] & /*$_*/
|
|
4570
4572
|
1073741824 && n !== (n = /*$_*/
|
|
4571
|
-
d[30]("registerTitle") + "") && D(s, n),
|
|
4573
|
+
d[30]("registerTitle") + "") && D(s, n), v[0] & /*$_*/
|
|
4572
4574
|
1073741824 && f !== (f = /*$_*/
|
|
4573
|
-
d[30]("registerSubtitle") + "") && D(c, f),
|
|
4575
|
+
d[30]("registerSubtitle") + "") && D(c, f), v[0] & /*$_*/
|
|
4574
4576
|
1073741824 && g !== (g = /*$_*/
|
|
4575
|
-
d[30]("registerSubtitleLogin") + "") && D(b, g),
|
|
4577
|
+
d[30]("registerSubtitleLogin") + "") && D(b, g), v[0] & /*$_*/
|
|
4576
4578
|
1073741824 && M !== (M = /*$_*/
|
|
4577
|
-
d[30]("registerEmail") + "") && D(R, M),
|
|
4579
|
+
d[30]("registerEmail") + "") && D(R, M), v[0] & /*userEmail*/
|
|
4578
4580
|
524288 && U.value !== /*userEmail*/
|
|
4579
4581
|
d[19] && te(
|
|
4580
4582
|
U,
|
|
4581
4583
|
/*userEmail*/
|
|
4582
4584
|
d[19]
|
|
4583
4585
|
), /*invalidEmail*/
|
|
4584
|
-
d[4] ? W ? W.p(d,
|
|
4585
|
-
132112 &&
|
|
4586
|
+
d[4] ? W ? W.p(d, v) : (W = Xt(d), W.c(), W.m(A, null)) : W && (W.d(1), W = null), v[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
|
|
4587
|
+
132112 && Ae !== (Ae = "EmailContainer " + /*invalidEmail*/
|
|
4586
4588
|
(d[4] && !/*emailFocus*/
|
|
4587
4589
|
d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4588
|
-
(d[17]?.indexOf("email") >= 0 ? "Hidden" : "")) &&
|
|
4590
|
+
(d[17]?.indexOf("email") >= 0 ? "Hidden" : "")) && o(A, "class", Ae), v[0] & /*$_*/
|
|
4589
4591
|
1073741824 && he !== (he = /*$_*/
|
|
4590
|
-
d[30]("registerUsername") + "") && D(ge, he),
|
|
4591
|
-
2 &&
|
|
4592
|
-
d[1] ? "username" : "off") &&
|
|
4592
|
+
d[30]("registerUsername") + "") && D(ge, he), v[0] & /*savecredentials*/
|
|
4593
|
+
2 && xe !== (xe = /*savecredentials*/
|
|
4594
|
+
d[1] ? "username" : "off") && o(F, "autocomplete", xe), v[0] & /*userValue*/
|
|
4593
4595
|
262144 && F.value !== /*userValue*/
|
|
4594
4596
|
d[18] && te(
|
|
4595
4597
|
F,
|
|
4596
4598
|
/*userValue*/
|
|
4597
4599
|
d[18]
|
|
4598
4600
|
), /*invalidName*/
|
|
4599
|
-
d[5] ? q ? q.p(d,
|
|
4601
|
+
d[5] ? q ? q.p(d, v) : (q = Zt(d), q.c(), q.m(k, null)) : q && (q.d(1), q = null), v[0] & /*invalidName, usernameFocus, disabledFieldsList*/
|
|
4600
4602
|
133152 && ye !== (ye = "UserContainer " + /*invalidName*/
|
|
4601
4603
|
(d[5] && !/*usernameFocus*/
|
|
4602
4604
|
d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4603
|
-
(d[17]?.indexOf("username") >= 0 ? "Hidden" : "")) &&
|
|
4605
|
+
(d[17]?.indexOf("username") >= 0 ? "Hidden" : "")) && o(k, "class", ye), v[0] & /*$_*/
|
|
4604
4606
|
1073741824 && Z !== (Z = /*$_*/
|
|
4605
|
-
d[30]("registerPassword") + "") && D(
|
|
4606
|
-
2 &&
|
|
4607
|
-
d[1] ? "new-password" : "off") &&
|
|
4608
|
-
1048576 &&
|
|
4607
|
+
d[30]("registerPassword") + "") && D(ve, Z), v[0] & /*savecredentials*/
|
|
4608
|
+
2 && Me !== (Me = /*savecredentials*/
|
|
4609
|
+
d[1] ? "new-password" : "off") && o(H, "autocomplete", Me), v[0] & /*userPassword*/
|
|
4610
|
+
1048576 && H.value !== /*userPassword*/
|
|
4609
4611
|
d[20] && te(
|
|
4610
|
-
|
|
4612
|
+
H,
|
|
4611
4613
|
/*userPassword*/
|
|
4612
4614
|
d[20]
|
|
4613
|
-
),
|
|
4615
|
+
), $r === ($r = Tt(d)) && we ? we.p(d, v) : (we.d(1), we = $r(d), we && (we.c(), we.m(C, mr))), /*invalidPassword*/
|
|
4614
4616
|
d[6] && /*simplepasswordvalidation*/
|
|
4615
|
-
d[0] !== "true" ? J ? J.p(d,
|
|
4617
|
+
d[0] !== "true" ? J ? J.p(d, v) : (J = Wt(d), J.c(), J.m(C, Ve)) : J && (J.d(1), J = null), /*invalidPassword*/
|
|
4616
4618
|
d[6] && /*simplepasswordvalidation*/
|
|
4617
|
-
d[0] === "true" ? Y ? Y.p(d,
|
|
4618
|
-
135232 &&
|
|
4619
|
+
d[0] === "true" ? Y ? Y.p(d, v) : (Y = qt(d), Y.c(), Y.m(C, null)) : Y && (Y.d(1), Y = null), v[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
|
|
4620
|
+
135232 && Re !== (Re = "PasswordContainer " + /*invalidPassword*/
|
|
4619
4621
|
(d[6] && !/*passwordFocus*/
|
|
4620
4622
|
d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4621
|
-
(d[17]?.indexOf("password") >= 0 ? "Hidden" : "")) &&
|
|
4622
|
-
131072 &&
|
|
4623
|
-
d[17]?.indexOf("password") >= 0) && (C.hidden =
|
|
4624
|
-
1073741824 &&
|
|
4625
|
-
d[30]("registerConfirmPassword") + "") && D($e
|
|
4623
|
+
(d[17]?.indexOf("password") >= 0 ? "Hidden" : "")) && o(C, "class", Re), v[0] & /*disabledFieldsList*/
|
|
4624
|
+
131072 && Ue !== (Ue = /*disabledFieldsList*/
|
|
4625
|
+
d[17]?.indexOf("password") >= 0) && (C.hidden = Ue), v[0] & /*$_*/
|
|
4626
|
+
1073741824 && $e !== ($e = /*$_*/
|
|
4627
|
+
d[30]("registerConfirmPassword") + "") && D(Qe, $e), v[0] & /*confirmUserPassword*/
|
|
4626
4628
|
2097152 && $.value !== /*confirmUserPassword*/
|
|
4627
4629
|
d[21] && te(
|
|
4628
4630
|
$,
|
|
4629
4631
|
/*confirmUserPassword*/
|
|
4630
4632
|
d[21]
|
|
4631
|
-
),
|
|
4632
|
-
d[7] ? K ? K.p(d,
|
|
4633
|
-
139392 &&
|
|
4633
|
+
), Qr === (Qr = Ht(d)) && Se ? Se.p(d, v) : (Se.d(1), Se = Qr(d), Se && (Se.c(), Se.m(j, ze))), /*invalidConfirmPassword*/
|
|
4634
|
+
d[7] ? K ? K.p(d, v) : (K = Jt(d), K.c(), K.m(j, null)) : K && (K.d(1), K = null), v[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
|
|
4635
|
+
139392 && ke !== (ke = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4634
4636
|
(d[7] && !/*confirmPasswordFocus*/
|
|
4635
4637
|
d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4636
|
-
(d[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")) &&
|
|
4637
|
-
1073741824 &&
|
|
4638
|
-
d[30]("registerPromoCode") + "") && D(
|
|
4638
|
+
(d[17]?.indexOf("confirmPassword") >= 0 ? "Hidden" : "")) && o(j, "class", ke), v[0] & /*$_*/
|
|
4639
|
+
1073741824 && Xe !== (Xe = /*$_*/
|
|
4640
|
+
d[30]("registerPromoCode") + "") && D(yr, Xe), v[0] & /*promoCode*/
|
|
4639
4641
|
16777216 && se.value !== /*promoCode*/
|
|
4640
4642
|
d[24] && te(
|
|
4641
4643
|
se,
|
|
4642
4644
|
/*promoCode*/
|
|
4643
4645
|
d[24]
|
|
4644
|
-
),
|
|
4645
|
-
131072 &&
|
|
4646
|
-
(d[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")) &&
|
|
4647
|
-
1073741828 &&
|
|
4646
|
+
), v[0] & /*disabledFieldsList*/
|
|
4647
|
+
131072 && Ze !== (Ze = "PromoCodeContainer " + /*disabledFieldsList*/
|
|
4648
|
+
(d[17]?.indexOf("promoCode") >= 0 ? "Hidden" : "")) && o(_e, "class", Ze), v[0] & /*custominputtextswitch, $_*/
|
|
4649
|
+
1073741828 && We !== (We = /*custominputtextswitch*/
|
|
4648
4650
|
(d[2] == "true" ? (
|
|
4649
4651
|
/*$_*/
|
|
4650
4652
|
d[30]("registerSecurityQuestion2")
|
|
4651
4653
|
) : (
|
|
4652
4654
|
/*$_*/
|
|
4653
4655
|
d[30]("registerSecurityQuestion")
|
|
4654
|
-
)) + "") && D(
|
|
4655
|
-
4194304 &&
|
|
4656
|
+
)) + "") && D(Er, We), v[0] & /*securityQuestion*/
|
|
4657
|
+
4194304 && oe.value !== /*securityQuestion*/
|
|
4656
4658
|
d[22] && te(
|
|
4657
|
-
|
|
4659
|
+
oe,
|
|
4658
4660
|
/*securityQuestion*/
|
|
4659
4661
|
d[22]
|
|
4660
4662
|
), /*invalidSecurityQuestion*/
|
|
4661
|
-
d[8] ? ee ? ee.p(d,
|
|
4662
|
-
147712 &&
|
|
4663
|
+
d[8] ? ee ? ee.p(d, v) : (ee = Yt(d), ee.c(), ee.m(fe, null)) : ee && (ee.d(1), ee = null), v[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
|
|
4664
|
+
147712 && Je !== (Je = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4663
4665
|
(d[8] && !/*securityQFocus*/
|
|
4664
4666
|
d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4665
|
-
(d[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")) &&
|
|
4666
|
-
1073741828 &&
|
|
4667
|
+
(d[17]?.indexOf("securityQuestion") >= 0 ? "Hidden" : "")) && o(fe, "class", Je), v[0] & /*custominputtextswitch, $_*/
|
|
4668
|
+
1073741828 && Ye !== (Ye = /*custominputtextswitch*/
|
|
4667
4669
|
(d[2] == "true" ? (
|
|
4668
4670
|
/*$_*/
|
|
4669
4671
|
d[30]("registerSecurityAnswer2")
|
|
4670
4672
|
) : (
|
|
4671
4673
|
/*$_*/
|
|
4672
4674
|
d[30]("registerSecurityAnswer")
|
|
4673
|
-
)) + "") && D(
|
|
4674
|
-
8388608 &&
|
|
4675
|
+
)) + "") && D(vr, Ye), v[0] & /*securityAnswer*/
|
|
4676
|
+
8388608 && ae.value !== /*securityAnswer*/
|
|
4675
4677
|
d[23] && te(
|
|
4676
|
-
|
|
4678
|
+
ae,
|
|
4677
4679
|
/*securityAnswer*/
|
|
4678
4680
|
d[23]
|
|
4679
4681
|
), /*invalidSecurityAnswer*/
|
|
4680
|
-
d[9] ? re ? re.p(d,
|
|
4681
|
-
164352 &&
|
|
4682
|
+
d[9] ? re ? re.p(d, v) : (re = Kt(d), re.c(), re.m(de, null)) : re && (re.d(1), re = null), v[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
|
|
4683
|
+
164352 && er !== (er = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4682
4684
|
(d[9] && !/*securityAFocus*/
|
|
4683
4685
|
d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4684
|
-
(d[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")) &&
|
|
4686
|
+
(d[17]?.indexOf("securityAnswer") >= 0 ? "Hidden" : "")) && o(de, "class", er), v[0] & /*$_*/
|
|
4685
4687
|
1073741824 && le !== (le = /*$_*/
|
|
4686
|
-
d[30]("registerNext") + "") && D(
|
|
4687
|
-
536870912 &&
|
|
4688
|
-
d[29]) && (
|
|
4688
|
+
d[30]("registerNext") + "") && D(nt, le), v[0] & /*isValid*/
|
|
4689
|
+
536870912 && Vr !== (Vr = !/*isValid*/
|
|
4690
|
+
d[29]) && (I.disabled = Vr);
|
|
4689
4691
|
},
|
|
4690
4692
|
i: z,
|
|
4691
4693
|
o: z,
|
|
4692
4694
|
d(d) {
|
|
4693
|
-
d && ie(r), W && W.d(), q && q.d(), e[60](null),
|
|
4695
|
+
d && ie(r), W && W.d(), q && q.d(), e[60](null), we.d(), J && J.d(), Y && Y.d(), e[66](null), Se.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null), st = !1, ur(At);
|
|
4694
4696
|
}
|
|
4695
4697
|
};
|
|
4696
4698
|
}
|
|
4697
|
-
function
|
|
4699
|
+
function Ws(e, r, t) {
|
|
4698
4700
|
let i;
|
|
4699
|
-
|
|
4700
|
-
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: u = "false" } = r, { mbsource:
|
|
4701
|
+
Hi(e, ks, (p) => t(30, i = p));
|
|
4702
|
+
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: u = "false" } = r, { mbsource: a } = r, { clientstyling: f = "" } = r, { clientstylingurl: c = "" } = r, { translationurl: h = "" } = r, { savecredentials: m = "" } = r, { custominputtextswitch: g = "false" } = r, b = !1, _ = !1, y = !1, A = !1, N = !1, M = !1, R = !1, ce = !1, G = !1, me = !1, U = !1, Ge = !1, Ae = !1, je, k = "", X = "", he = "", ge = "", ne = "", V = "", Te = "", F = !1, xe = !1, He, ye, pe = {}, C = {
|
|
4701
4703
|
username: !1,
|
|
4702
4704
|
email: !1,
|
|
4703
4705
|
password: !1,
|
|
@@ -4705,112 +4707,112 @@ function Zs(e, r, t) {
|
|
|
4705
4707
|
securityAnswer: !1,
|
|
4706
4708
|
securityQuestion: !1,
|
|
4707
4709
|
promoCode: !0
|
|
4708
|
-
}, Ee = !1, Z,
|
|
4710
|
+
}, Ee = !1, Z, ve = {
|
|
4709
4711
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4710
4712
|
email: /^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,
|
|
4711
4713
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/,
|
|
4712
4714
|
document: /^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/
|
|
4713
4715
|
};
|
|
4714
|
-
const
|
|
4715
|
-
fetch(h).then((
|
|
4716
|
-
Object.keys(
|
|
4717
|
-
|
|
4716
|
+
const Tr = () => {
|
|
4717
|
+
fetch(h).then((I) => I.json()).then((I) => {
|
|
4718
|
+
Object.keys(I).forEach((le) => {
|
|
4719
|
+
Qt(le, I[le]);
|
|
4718
4720
|
});
|
|
4719
|
-
}).catch((
|
|
4720
|
-
console.log(
|
|
4721
|
+
}).catch((I) => {
|
|
4722
|
+
console.log(I);
|
|
4721
4723
|
});
|
|
4722
4724
|
};
|
|
4723
|
-
Object.keys(
|
|
4724
|
-
|
|
4725
|
+
Object.keys(zt).forEach((p) => {
|
|
4726
|
+
Qt(p, zt[p]);
|
|
4725
4727
|
});
|
|
4726
|
-
const
|
|
4728
|
+
const Le = () => {
|
|
4727
4729
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
4728
|
-
},
|
|
4729
|
-
if (!(
|
|
4730
|
+
}, Hr = (p, I) => {
|
|
4731
|
+
if (!(je.indexOf(p) >= 0))
|
|
4730
4732
|
switch (p) {
|
|
4731
4733
|
case "username":
|
|
4732
|
-
t(18, k =
|
|
4734
|
+
t(18, k = I), dr();
|
|
4733
4735
|
break;
|
|
4734
4736
|
case "email":
|
|
4735
|
-
t(19, X =
|
|
4737
|
+
t(19, X = I), Me();
|
|
4736
4738
|
break;
|
|
4737
4739
|
case "password":
|
|
4738
|
-
t(20, he =
|
|
4740
|
+
t(20, he = I), Qe();
|
|
4739
4741
|
break;
|
|
4740
4742
|
case "confirmUserPassword":
|
|
4741
|
-
t(21, ge =
|
|
4743
|
+
t(21, ge = I), Be();
|
|
4742
4744
|
break;
|
|
4743
4745
|
case "securityQuestion":
|
|
4744
|
-
t(22, ne =
|
|
4746
|
+
t(22, ne = I), $();
|
|
4745
4747
|
break;
|
|
4746
4748
|
case "securityAnswer":
|
|
4747
|
-
t(23, V =
|
|
4749
|
+
t(23, V = I), br();
|
|
4748
4750
|
break;
|
|
4749
4751
|
case "promoCode":
|
|
4750
|
-
t(24,
|
|
4752
|
+
t(24, Te = I), pr();
|
|
4751
4753
|
break;
|
|
4752
4754
|
}
|
|
4753
|
-
},
|
|
4755
|
+
}, H = () => {
|
|
4754
4756
|
t(29, Ee = Object.keys(C).every((p) => s.includes(p) ? !0 : C[p] !== !1));
|
|
4755
|
-
},
|
|
4756
|
-
pe.email = X,
|
|
4757
|
-
}, fr = () => {
|
|
4758
|
-
pe.username = k, we.user.test(k) && k.length <= 20 ? t(5, _ = !1) : t(5, _ = !0), C.username = !_, B();
|
|
4757
|
+
}, Me = () => {
|
|
4758
|
+
pe.email = X, ve.email.test(X) && X.length <= 100 ? t(4, b = !1) : t(4, b = !0), C.email = !b, H();
|
|
4759
4759
|
}, dr = () => {
|
|
4760
|
-
|
|
4761
|
-
},
|
|
4760
|
+
pe.username = k, ve.user.test(k) && k.length <= 20 ? t(5, _ = !1) : t(5, _ = !0), C.username = !_, H();
|
|
4761
|
+
}, mr = () => {
|
|
4762
|
+
u == "true" && (ve.password = /^(?!.* ).{8,20}$/);
|
|
4763
|
+
}, Ve = () => {
|
|
4762
4764
|
t(25, F = !0), j();
|
|
4763
|
-
}, Me = () => {
|
|
4764
|
-
t(26, Pe = !0), xe();
|
|
4765
4765
|
}, Re = () => {
|
|
4766
|
+
t(26, xe = !0), Ce();
|
|
4767
|
+
}, Ue = () => {
|
|
4766
4768
|
t(25, F = !1), j();
|
|
4767
|
-
}, mr = () => {
|
|
4768
|
-
t(26, Pe = !1), xe();
|
|
4769
|
-
}, j = () => {
|
|
4770
|
-
t(27, Te.type = F ? "text" : "password", Te);
|
|
4771
|
-
}, xe = () => {
|
|
4772
|
-
t(28, ye.type = Pe ? "text" : "password", ye);
|
|
4773
|
-
}, Ve = () => !!we.password.test(he), $e = () => {
|
|
4774
|
-
pe.password = he, t(6, y = !Ve()), ge.length !== 0 && He(), C.password = !y, B();
|
|
4775
|
-
}, Hr = () => he === ge, He = () => {
|
|
4776
|
-
pe.confirmUserPassword = ge, t(7, A = !Hr()), C.confirmUserPassword = !A, B();
|
|
4777
4769
|
}, gr = () => {
|
|
4778
|
-
|
|
4770
|
+
t(26, xe = !1), Ce();
|
|
4771
|
+
}, j = () => {
|
|
4772
|
+
t(27, He.type = F ? "text" : "password", He);
|
|
4773
|
+
}, Ce = () => {
|
|
4774
|
+
t(28, ye.type = xe ? "text" : "password", ye);
|
|
4775
|
+
}, $e = () => !!ve.password.test(he), Qe = () => {
|
|
4776
|
+
pe.password = he, t(6, y = !$e()), ge.length !== 0 && Be(), C.password = !y, H();
|
|
4777
|
+
}, Br = () => he === ge, Be = () => {
|
|
4778
|
+
pe.confirmUserPassword = ge, t(7, A = !Br()), C.confirmUserPassword = !A, H();
|
|
4779
|
+
}, pr = () => {
|
|
4780
|
+
pe.promoCode = Te;
|
|
4779
4781
|
}, $ = () => {
|
|
4780
4782
|
if (pe.securityQuestion = ne, ne)
|
|
4781
4783
|
switch (g) {
|
|
4782
4784
|
case "true":
|
|
4783
|
-
if (
|
|
4784
|
-
t(8,
|
|
4785
|
+
if (ve.document.test(ne) && ne.length <= 50) {
|
|
4786
|
+
t(8, N = !1), C.securityQuestion = !N, H();
|
|
4785
4787
|
return;
|
|
4786
4788
|
}
|
|
4787
4789
|
break;
|
|
4788
4790
|
case "false":
|
|
4789
4791
|
if (ne && ne.length <= 120) {
|
|
4790
|
-
t(8,
|
|
4792
|
+
t(8, N = !1), C.securityQuestion = !N, H();
|
|
4791
4793
|
return;
|
|
4792
4794
|
}
|
|
4793
4795
|
break;
|
|
4794
4796
|
}
|
|
4795
|
-
t(8,
|
|
4796
|
-
},
|
|
4797
|
+
t(8, N = !0), C.securityQuestion = !N, H();
|
|
4798
|
+
}, br = () => {
|
|
4797
4799
|
if (pe.securityAnswer = V, V)
|
|
4798
4800
|
switch (g) {
|
|
4799
4801
|
case "true":
|
|
4800
|
-
if (
|
|
4801
|
-
t(9, M = !1), C.securityAnswer = !M,
|
|
4802
|
+
if (ve.document.test(V) && V.length <= 50) {
|
|
4803
|
+
t(9, M = !1), C.securityAnswer = !M, H();
|
|
4802
4804
|
return;
|
|
4803
4805
|
}
|
|
4804
4806
|
break;
|
|
4805
4807
|
case "false":
|
|
4806
4808
|
if (V && V.length <= 120) {
|
|
4807
|
-
t(9, M = !1), C.securityAnswer = !M,
|
|
4809
|
+
t(9, M = !1), C.securityAnswer = !M, H();
|
|
4808
4810
|
return;
|
|
4809
4811
|
}
|
|
4810
4812
|
break;
|
|
4811
4813
|
}
|
|
4812
|
-
t(9, M = !0), C.securityAnswer = !M,
|
|
4813
|
-
},
|
|
4814
|
+
t(9, M = !0), C.securityAnswer = !M, H();
|
|
4815
|
+
}, ze = (p) => {
|
|
4814
4816
|
p.preventDefault(), window.postMessage(
|
|
4815
4817
|
{
|
|
4816
4818
|
type: "RegisterStepOne",
|
|
@@ -4818,84 +4820,84 @@ function Zs(e, r, t) {
|
|
|
4818
4820
|
},
|
|
4819
4821
|
window.location.href
|
|
4820
4822
|
);
|
|
4821
|
-
},
|
|
4823
|
+
}, ke = (p) => {
|
|
4822
4824
|
if (p.data)
|
|
4823
4825
|
switch (p.data.type) {
|
|
4824
4826
|
case "StepOneDataBackup":
|
|
4825
|
-
const
|
|
4826
|
-
for (const le in
|
|
4827
|
-
|
|
4827
|
+
const I = p.data.userData;
|
|
4828
|
+
for (const le in I)
|
|
4829
|
+
Hr(le, I[le]);
|
|
4828
4830
|
t(29, Ee = Object.keys(C).every((le) => s.includes(le) ? !0 : C[le] !== !1));
|
|
4829
4831
|
break;
|
|
4830
4832
|
}
|
|
4831
|
-
},
|
|
4832
|
-
t(17,
|
|
4833
|
+
}, Ir = () => {
|
|
4834
|
+
t(17, je = s.split(","));
|
|
4833
4835
|
}, _e = () => {
|
|
4834
|
-
|
|
4836
|
+
Fs(n);
|
|
4835
4837
|
};
|
|
4836
|
-
|
|
4837
|
-
window.removeEventListener("message",
|
|
4838
|
+
Ri(() => (window.addEventListener("message", ke, !1), () => {
|
|
4839
|
+
window.removeEventListener("message", ke);
|
|
4838
4840
|
}));
|
|
4839
|
-
const
|
|
4840
|
-
function
|
|
4841
|
+
const Fe = () => Le();
|
|
4842
|
+
function Xe() {
|
|
4841
4843
|
X = this.value, t(19, X);
|
|
4842
4844
|
}
|
|
4843
|
-
const
|
|
4844
|
-
function
|
|
4845
|
+
const yr = () => t(10, R = !0), Nr = () => t(10, R = !1);
|
|
4846
|
+
function Or() {
|
|
4845
4847
|
k = this.value, t(18, k);
|
|
4846
4848
|
}
|
|
4847
|
-
const se = () => t(11, ce = !0),
|
|
4848
|
-
function
|
|
4849
|
+
const se = () => t(11, ce = !0), Lr = () => t(11, ce = !1);
|
|
4850
|
+
function Ze() {
|
|
4849
4851
|
he = this.value, t(20, he);
|
|
4850
4852
|
}
|
|
4851
|
-
const
|
|
4852
|
-
function
|
|
4853
|
-
|
|
4854
|
-
|
|
4853
|
+
const Mr = () => t(12, G = !0), fe = () => t(12, G = !1);
|
|
4854
|
+
function Ie(p) {
|
|
4855
|
+
Sr[p ? "unshift" : "push"](() => {
|
|
4856
|
+
He = p, t(27, He);
|
|
4855
4857
|
});
|
|
4856
4858
|
}
|
|
4857
|
-
const
|
|
4858
|
-
function
|
|
4859
|
+
const We = () => Ue(), Er = () => Ve();
|
|
4860
|
+
function Rr() {
|
|
4859
4861
|
ge = this.value, t(21, ge);
|
|
4860
4862
|
}
|
|
4861
|
-
const
|
|
4862
|
-
function
|
|
4863
|
-
|
|
4863
|
+
const qe = () => t(13, me = !0), Ur = () => t(13, me = !1);
|
|
4864
|
+
function oe(p) {
|
|
4865
|
+
Sr[p ? "unshift" : "push"](() => {
|
|
4864
4866
|
ye = p, t(28, ye);
|
|
4865
4867
|
});
|
|
4866
4868
|
}
|
|
4867
|
-
const
|
|
4868
|
-
function
|
|
4869
|
-
|
|
4869
|
+
const kr = () => gr(), Je = () => Re();
|
|
4870
|
+
function Fr() {
|
|
4871
|
+
Te = this.value, t(24, Te);
|
|
4870
4872
|
}
|
|
4871
|
-
const de = () => t(16,
|
|
4872
|
-
function
|
|
4873
|
+
const de = () => t(16, Ae = !0), Ne = () => t(16, Ae = !1);
|
|
4874
|
+
function Ye() {
|
|
4873
4875
|
ne = this.value, t(22, ne);
|
|
4874
4876
|
}
|
|
4875
|
-
const
|
|
4876
|
-
function
|
|
4877
|
+
const vr = () => t(14, U = !0), Dr = () => t(14, U = !1);
|
|
4878
|
+
function Ke() {
|
|
4877
4879
|
V = this.value, t(23, V);
|
|
4878
4880
|
}
|
|
4879
|
-
const
|
|
4880
|
-
function
|
|
4881
|
-
|
|
4881
|
+
const Gr = () => t(15, Ge = !0), ae = () => t(15, Ge = !1), jr = (p) => ze(p);
|
|
4882
|
+
function er(p) {
|
|
4883
|
+
Sr[p ? "unshift" : "push"](() => {
|
|
4882
4884
|
Z = p, t(3, Z);
|
|
4883
4885
|
});
|
|
4884
4886
|
}
|
|
4885
4887
|
return e.$$set = (p) => {
|
|
4886
|
-
"lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0, u = p.simplepasswordvalidation), "mbsource" in p && t(46,
|
|
4888
|
+
"lang" in p && t(44, n = p.lang), "disabledfields" in p && t(45, s = p.disabledfields), "simplepasswordvalidation" in p && t(0, u = p.simplepasswordvalidation), "mbsource" in p && t(46, a = p.mbsource), "clientstyling" in p && t(47, f = p.clientstyling), "clientstylingurl" in p && t(48, c = p.clientstylingurl), "translationurl" in p && t(49, h = p.translationurl), "savecredentials" in p && t(1, m = p.savecredentials), "custominputtextswitch" in p && t(2, g = p.custominputtextswitch);
|
|
4887
4889
|
}, e.$$.update = () => {
|
|
4888
4890
|
e.$$.dirty[1] & /*lang*/
|
|
4889
4891
|
8192 && n && _e(), e.$$.dirty[1] & /*disabledfields*/
|
|
4890
|
-
16384 && s &&
|
|
4891
|
-
1 && u &&
|
|
4892
|
+
16384 && s && Ir(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
4893
|
+
1 && u && mr(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4892
4894
|
8 | e.$$.dirty[1] & /*clientstyling*/
|
|
4893
|
-
65536 && f && Z &&
|
|
4895
|
+
65536 && f && Z && Ds(Z, f), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4894
4896
|
8 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
4895
|
-
131072 && c && Z &&
|
|
4897
|
+
131072 && c && Z && Gs(Z, c), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4896
4898
|
8 | e.$$.dirty[1] & /*mbsource*/
|
|
4897
|
-
32768 &&
|
|
4898
|
-
262144 && h &&
|
|
4899
|
+
32768 && a && Z && js(Z, `${a}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
4900
|
+
262144 && h && Tr();
|
|
4899
4901
|
}, [
|
|
4900
4902
|
u,
|
|
4901
4903
|
m,
|
|
@@ -4905,88 +4907,88 @@ function Zs(e, r, t) {
|
|
|
4905
4907
|
_,
|
|
4906
4908
|
y,
|
|
4907
4909
|
A,
|
|
4908
|
-
|
|
4910
|
+
N,
|
|
4909
4911
|
M,
|
|
4910
4912
|
R,
|
|
4911
4913
|
ce,
|
|
4912
4914
|
G,
|
|
4913
4915
|
me,
|
|
4914
4916
|
U,
|
|
4915
|
-
De,
|
|
4916
|
-
Ce,
|
|
4917
4917
|
Ge,
|
|
4918
|
+
Ae,
|
|
4919
|
+
je,
|
|
4918
4920
|
k,
|
|
4919
4921
|
X,
|
|
4920
4922
|
he,
|
|
4921
4923
|
ge,
|
|
4922
4924
|
ne,
|
|
4923
4925
|
V,
|
|
4924
|
-
Ae,
|
|
4925
|
-
F,
|
|
4926
|
-
Pe,
|
|
4927
4926
|
Te,
|
|
4927
|
+
F,
|
|
4928
|
+
xe,
|
|
4929
|
+
He,
|
|
4928
4930
|
ye,
|
|
4929
4931
|
Ee,
|
|
4930
4932
|
i,
|
|
4931
|
-
Oe,
|
|
4932
4933
|
Le,
|
|
4933
|
-
fr,
|
|
4934
|
-
je,
|
|
4935
4934
|
Me,
|
|
4935
|
+
dr,
|
|
4936
|
+
Ve,
|
|
4936
4937
|
Re,
|
|
4937
|
-
|
|
4938
|
-
$e,
|
|
4939
|
-
He,
|
|
4938
|
+
Ue,
|
|
4940
4939
|
gr,
|
|
4941
|
-
$,
|
|
4942
|
-
pr,
|
|
4943
4940
|
Qe,
|
|
4941
|
+
Be,
|
|
4942
|
+
pr,
|
|
4943
|
+
$,
|
|
4944
|
+
br,
|
|
4945
|
+
ze,
|
|
4944
4946
|
n,
|
|
4945
4947
|
s,
|
|
4946
|
-
|
|
4948
|
+
a,
|
|
4947
4949
|
f,
|
|
4948
4950
|
c,
|
|
4949
4951
|
h,
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
Ir,
|
|
4952
|
+
Fe,
|
|
4953
|
+
Xe,
|
|
4954
|
+
yr,
|
|
4954
4955
|
Nr,
|
|
4955
|
-
se,
|
|
4956
4956
|
Or,
|
|
4957
|
-
|
|
4957
|
+
se,
|
|
4958
4958
|
Lr,
|
|
4959
|
-
fe,
|
|
4960
|
-
Be,
|
|
4961
4959
|
Ze,
|
|
4962
|
-
yr,
|
|
4963
4960
|
Mr,
|
|
4961
|
+
fe,
|
|
4962
|
+
Ie,
|
|
4964
4963
|
We,
|
|
4964
|
+
Er,
|
|
4965
4965
|
Rr,
|
|
4966
|
-
ae,
|
|
4967
|
-
Ur,
|
|
4968
4966
|
qe,
|
|
4967
|
+
Ur,
|
|
4968
|
+
oe,
|
|
4969
4969
|
kr,
|
|
4970
|
-
de,
|
|
4971
|
-
Ie,
|
|
4972
4970
|
Je,
|
|
4973
|
-
Er,
|
|
4974
4971
|
Fr,
|
|
4972
|
+
de,
|
|
4973
|
+
Ne,
|
|
4975
4974
|
Ye,
|
|
4975
|
+
vr,
|
|
4976
4976
|
Dr,
|
|
4977
|
-
|
|
4977
|
+
Ke,
|
|
4978
4978
|
Gr,
|
|
4979
|
-
|
|
4979
|
+
ae,
|
|
4980
|
+
jr,
|
|
4981
|
+
er
|
|
4980
4982
|
];
|
|
4981
4983
|
}
|
|
4982
|
-
class
|
|
4984
|
+
class qs extends Zi {
|
|
4983
4985
|
constructor(r) {
|
|
4984
|
-
super(),
|
|
4986
|
+
super(), zi(
|
|
4985
4987
|
this,
|
|
4986
4988
|
r,
|
|
4989
|
+
Ws,
|
|
4987
4990
|
Zs,
|
|
4988
|
-
|
|
4989
|
-
ei,
|
|
4991
|
+
ri,
|
|
4990
4992
|
{
|
|
4991
4993
|
lang: 44,
|
|
4992
4994
|
disabledfields: 45,
|
|
@@ -4998,7 +5000,7 @@ class Ws extends Xi {
|
|
|
4998
5000
|
savecredentials: 1,
|
|
4999
5001
|
custominputtextswitch: 2
|
|
5000
5002
|
},
|
|
5001
|
-
|
|
5003
|
+
Vs,
|
|
5002
5004
|
[-1, -1, -1, -1]
|
|
5003
5005
|
);
|
|
5004
5006
|
}
|
|
@@ -5057,7 +5059,7 @@ class Ws extends Xi {
|
|
|
5057
5059
|
this.$$set({ custominputtextswitch: r }), be();
|
|
5058
5060
|
}
|
|
5059
5061
|
}
|
|
5060
|
-
|
|
5062
|
+
Xi(qs, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
|
|
5061
5063
|
export {
|
|
5062
|
-
|
|
5064
|
+
qs as G
|
|
5063
5065
|
};
|