@everymatrix/general-player-register-form-step1 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralPlayerRegisterFormStep1-DGWK-Fld.js → GeneralPlayerRegisterFormStep1-85Tc7Od4.js} +423 -396
- package/components/GeneralPlayerRegisterFormStep1-CfFfqZHI.cjs +16 -0
- package/components/{GeneralPlayerRegisterFormStep1-CzBIdYyE.js → GeneralPlayerRegisterFormStep1-q-cbAkVG.js} +440 -413
- 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-Dgzyl0Td.cjs +0 -3
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var ht = (e, r, t) => r in e ?
|
|
1
|
+
var ji = Object.defineProperty, Vi = Object.defineProperties;
|
|
2
|
+
var $i = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Dt = Object.getOwnPropertySymbols;
|
|
4
|
+
var Qi = Object.prototype.hasOwnProperty, zi = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ht = (e, r, t) => r in e ? ji(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Gt = (e, r) => {
|
|
6
6
|
for (var t in r || (r = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
10
|
-
|
|
7
|
+
Qi.call(r, t) && ht(e, t, r[t]);
|
|
8
|
+
if (Dt)
|
|
9
|
+
for (var t of Dt(r))
|
|
10
|
+
zi.call(r, t) && ht(e, t, r[t]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var me = (e, r, t) => ht(e, typeof r != "symbol" ? r + "" : r, t);
|
|
14
|
-
var
|
|
12
|
+
}, jt = (e, r) => Vi(e, $i(r));
|
|
13
|
+
var me = (e, r, t) => (ht(e, typeof r != "symbol" ? r + "" : r, t), t);
|
|
14
|
+
var Vt = (e, r, t) => new Promise((i, n) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
l(t.next(h));
|
|
@@ -29,25 +29,25 @@ var Gt = (e, r, t) => new Promise((i, n) => {
|
|
|
29
29
|
});
|
|
30
30
|
function z() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function mi(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function $t() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function ur(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(mi);
|
|
40
40
|
}
|
|
41
41
|
function Bt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function gi(e, r) {
|
|
45
45
|
return e != e ? r == r : e !== r || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Xi(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function pi(e, ...r) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const i of r)
|
|
53
53
|
i(void 0);
|
|
@@ -56,21 +56,22 @@ function mi(e, ...r) {
|
|
|
56
56
|
const t = e.subscribe(...r);
|
|
57
57
|
return t.unsubscribe ? () => t.unsubscribe() : t;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function Zi(e, r, t) {
|
|
60
|
+
e.$$.on_destroy.push(pi(r, t));
|
|
61
61
|
}
|
|
62
62
|
function u(e, r) {
|
|
63
63
|
e.appendChild(r);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const i =
|
|
65
|
+
function Wi(e, r, t) {
|
|
66
|
+
const i = qi(e);
|
|
67
67
|
if (!i.getElementById(r)) {
|
|
68
68
|
const n = v("style");
|
|
69
|
-
n.id = r, n.textContent = t,
|
|
69
|
+
n.id = r, n.textContent = t, Ji(i, n);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
if (!e)
|
|
72
|
+
function qi(e) {
|
|
73
|
+
if (!e)
|
|
74
|
+
return document;
|
|
74
75
|
const r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
75
76
|
return r && /** @type {ShadowRoot} */
|
|
76
77
|
r.host ? (
|
|
@@ -78,7 +79,7 @@ function Zi(e) {
|
|
|
78
79
|
r
|
|
79
80
|
) : e.ownerDocument;
|
|
80
81
|
}
|
|
81
|
-
function
|
|
82
|
+
function Ji(e, r) {
|
|
82
83
|
return u(
|
|
83
84
|
/** @type {Document} */
|
|
84
85
|
e.head || e,
|
|
@@ -109,7 +110,7 @@ function x(e, r, t, i) {
|
|
|
109
110
|
function o(e, r, t) {
|
|
110
111
|
t == null ? e.removeAttribute(r) : e.getAttribute(r) !== t && e.setAttribute(r, t);
|
|
111
112
|
}
|
|
112
|
-
function
|
|
113
|
+
function Yi(e) {
|
|
113
114
|
return Array.from(e.childNodes);
|
|
114
115
|
}
|
|
115
116
|
function D(e, r) {
|
|
@@ -119,7 +120,7 @@ function D(e, r) {
|
|
|
119
120
|
function te(e, r) {
|
|
120
121
|
e.value = r == null ? "" : r;
|
|
121
122
|
}
|
|
122
|
-
function
|
|
123
|
+
function Ki(e) {
|
|
123
124
|
const r = {};
|
|
124
125
|
return e.childNodes.forEach(
|
|
125
126
|
/** @param {Element} node */
|
|
@@ -132,19 +133,20 @@ let Br;
|
|
|
132
133
|
function Tr(e) {
|
|
133
134
|
Br = e;
|
|
134
135
|
}
|
|
135
|
-
function
|
|
136
|
-
if (!Br)
|
|
136
|
+
function en() {
|
|
137
|
+
if (!Br)
|
|
138
|
+
throw new Error("Function called outside component initialization");
|
|
137
139
|
return Br;
|
|
138
140
|
}
|
|
139
|
-
function
|
|
140
|
-
|
|
141
|
+
function rn(e) {
|
|
142
|
+
en().$$.on_mount.push(e);
|
|
141
143
|
}
|
|
142
144
|
const ir = [], Hr = [];
|
|
143
145
|
let nr = [];
|
|
144
|
-
const
|
|
146
|
+
const Qt = [], tn = /* @__PURE__ */ Promise.resolve();
|
|
145
147
|
let Et = !1;
|
|
146
|
-
function
|
|
147
|
-
Et || (Et = !0,
|
|
148
|
+
function nn() {
|
|
149
|
+
Et || (Et = !0, tn.then(ye));
|
|
148
150
|
}
|
|
149
151
|
function vt(e) {
|
|
150
152
|
nr.push(e);
|
|
@@ -159,52 +161,53 @@ function ye() {
|
|
|
159
161
|
try {
|
|
160
162
|
for (; rr < ir.length; ) {
|
|
161
163
|
const r = ir[rr];
|
|
162
|
-
rr++, Tr(r),
|
|
164
|
+
rr++, Tr(r), sn(r.$$);
|
|
163
165
|
}
|
|
164
166
|
} catch (r) {
|
|
165
167
|
throw ir.length = 0, rr = 0, r;
|
|
166
168
|
}
|
|
167
|
-
for (Tr(null), ir.length = 0, rr = 0; Hr.length; )
|
|
169
|
+
for (Tr(null), ir.length = 0, rr = 0; Hr.length; )
|
|
170
|
+
Hr.pop()();
|
|
168
171
|
for (let r = 0; r < nr.length; r += 1) {
|
|
169
172
|
const t = nr[r];
|
|
170
173
|
ft.has(t) || (ft.add(t), t());
|
|
171
174
|
}
|
|
172
175
|
nr.length = 0;
|
|
173
176
|
} while (ir.length);
|
|
174
|
-
for (;
|
|
175
|
-
|
|
177
|
+
for (; Qt.length; )
|
|
178
|
+
Qt.pop()();
|
|
176
179
|
Et = !1, ft.clear(), Tr(e);
|
|
177
180
|
}
|
|
178
|
-
function
|
|
181
|
+
function sn(e) {
|
|
179
182
|
if (e.fragment !== null) {
|
|
180
183
|
e.update(), ur(e.before_update);
|
|
181
184
|
const r = e.dirty;
|
|
182
185
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, r), e.after_update.forEach(vt);
|
|
183
186
|
}
|
|
184
187
|
}
|
|
185
|
-
function
|
|
188
|
+
function on(e) {
|
|
186
189
|
const r = [], t = [];
|
|
187
190
|
nr.forEach((i) => e.indexOf(i) === -1 ? r.push(i) : t.push(i)), t.forEach((i) => i()), nr = r;
|
|
188
191
|
}
|
|
189
|
-
const
|
|
190
|
-
function
|
|
191
|
-
e && e.i && (
|
|
192
|
+
const an = /* @__PURE__ */ new Set();
|
|
193
|
+
function ln(e, r) {
|
|
194
|
+
e && e.i && (an.delete(e), e.i(r));
|
|
192
195
|
}
|
|
193
|
-
function
|
|
196
|
+
function un(e, r, t) {
|
|
194
197
|
const { fragment: i, after_update: n } = e.$$;
|
|
195
198
|
i && i.m(r, t), vt(() => {
|
|
196
|
-
const s = e.$$.on_mount.map(
|
|
199
|
+
const s = e.$$.on_mount.map(mi).filter(Bt);
|
|
197
200
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ur(s), e.$$.on_mount = [];
|
|
198
201
|
}), n.forEach(vt);
|
|
199
202
|
}
|
|
200
|
-
function
|
|
203
|
+
function cn(e, r) {
|
|
201
204
|
const t = e.$$;
|
|
202
|
-
t.fragment !== null && (
|
|
205
|
+
t.fragment !== null && (on(t.after_update), ur(t.on_destroy), t.fragment && t.fragment.d(r), t.on_destroy = t.fragment = null, t.ctx = []);
|
|
203
206
|
}
|
|
204
|
-
function
|
|
205
|
-
e.$$.dirty[0] === -1 && (ir.push(e),
|
|
207
|
+
function hn(e, r) {
|
|
208
|
+
e.$$.dirty[0] === -1 && (ir.push(e), nn(), e.$$.dirty.fill(0)), e.$$.dirty[r / 31 | 0] |= 1 << r % 31;
|
|
206
209
|
}
|
|
207
|
-
function
|
|
210
|
+
function fn(e, r, t, i, n, s, a = null, l = [-1]) {
|
|
208
211
|
const h = Br;
|
|
209
212
|
Tr(e);
|
|
210
213
|
const c = e.$$ = {
|
|
@@ -214,7 +217,7 @@ function cn(e, r, t, i, n, s, a = null, l = [-1]) {
|
|
|
214
217
|
props: s,
|
|
215
218
|
update: z,
|
|
216
219
|
not_equal: n,
|
|
217
|
-
bound:
|
|
220
|
+
bound: $t(),
|
|
218
221
|
// lifecycle
|
|
219
222
|
on_mount: [],
|
|
220
223
|
on_destroy: [],
|
|
@@ -223,7 +226,7 @@ function cn(e, r, t, i, n, s, a = null, l = [-1]) {
|
|
|
223
226
|
after_update: [],
|
|
224
227
|
context: new Map(r.context || (h ? h.$$.context : [])),
|
|
225
228
|
// everything else
|
|
226
|
-
callbacks:
|
|
229
|
+
callbacks: $t(),
|
|
227
230
|
dirty: l,
|
|
228
231
|
skip_bound: !1,
|
|
229
232
|
root: r.target || h.$$.root
|
|
@@ -232,19 +235,19 @@ function cn(e, r, t, i, n, s, a = null, l = [-1]) {
|
|
|
232
235
|
let f = !1;
|
|
233
236
|
if (c.ctx = t ? t(e, r.props || {}, (m, g, ...b) => {
|
|
234
237
|
const w = b.length ? b[0] : g;
|
|
235
|
-
return c.ctx && n(c.ctx[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), f &&
|
|
238
|
+
return c.ctx && n(c.ctx[m], c.ctx[m] = w) && (!c.skip_bound && c.bound[m] && c.bound[m](w), f && hn(e, m)), g;
|
|
236
239
|
}) : [], c.update(), f = !0, ur(c.before_update), c.fragment = i ? i(c.ctx) : !1, r.target) {
|
|
237
240
|
if (r.hydrate) {
|
|
238
|
-
const m =
|
|
241
|
+
const m = Yi(r.target);
|
|
239
242
|
c.fragment && c.fragment.l(m), m.forEach(ie);
|
|
240
243
|
} else
|
|
241
244
|
c.fragment && c.fragment.c();
|
|
242
|
-
r.intro &&
|
|
245
|
+
r.intro && ln(e.$$.fragment), un(e, r.target, r.anchor), ye();
|
|
243
246
|
}
|
|
244
247
|
Tr(h);
|
|
245
248
|
}
|
|
246
|
-
let
|
|
247
|
-
typeof HTMLElement == "function" && (
|
|
249
|
+
let bi;
|
|
250
|
+
typeof HTMLElement == "function" && (bi = class extends HTMLElement {
|
|
248
251
|
constructor(r, t, i) {
|
|
249
252
|
super();
|
|
250
253
|
/** The Svelte component constructor */
|
|
@@ -281,7 +284,7 @@ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
|
|
|
281
284
|
}
|
|
282
285
|
}
|
|
283
286
|
connectedCallback() {
|
|
284
|
-
return
|
|
287
|
+
return Vt(this, null, function* () {
|
|
285
288
|
if (this.$$cn = !0, !this.$$c) {
|
|
286
289
|
let r = function(s) {
|
|
287
290
|
return () => {
|
|
@@ -305,7 +308,7 @@ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
|
|
|
305
308
|
};
|
|
306
309
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
307
310
|
return;
|
|
308
|
-
const t = {}, i =
|
|
311
|
+
const t = {}, i = Ki(this);
|
|
309
312
|
for (const s of this.$$s)
|
|
310
313
|
s in i && (t[s] = [r(s)]);
|
|
311
314
|
for (const s of this.attributes) {
|
|
@@ -316,7 +319,7 @@ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
|
|
|
316
319
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
317
320
|
this.$$c = new this.$$ctor({
|
|
318
321
|
target: this.shadowRoot || this,
|
|
319
|
-
props:
|
|
322
|
+
props: jt(Gt({}, this.$$d), {
|
|
320
323
|
$$slots: t,
|
|
321
324
|
$$scope: {
|
|
322
325
|
ctx: []
|
|
@@ -394,8 +397,8 @@ function Kr(e, r, t, i) {
|
|
|
394
397
|
return r;
|
|
395
398
|
}
|
|
396
399
|
}
|
|
397
|
-
function
|
|
398
|
-
let a = class extends
|
|
400
|
+
function dn(e, r, t, i, n, s) {
|
|
401
|
+
let a = class extends bi {
|
|
399
402
|
constructor() {
|
|
400
403
|
super(e, t, n), this.$$p_d = r;
|
|
401
404
|
}
|
|
@@ -425,7 +428,7 @@ function hn(e, r, t, i, n, s) {
|
|
|
425
428
|
}), e.element = /** @type {any} */
|
|
426
429
|
a, a;
|
|
427
430
|
}
|
|
428
|
-
class
|
|
431
|
+
class mn {
|
|
429
432
|
constructor() {
|
|
430
433
|
/**
|
|
431
434
|
* ### PRIVATE API
|
|
@@ -446,7 +449,7 @@ class fn {
|
|
|
446
449
|
}
|
|
447
450
|
/** @returns {void} */
|
|
448
451
|
$destroy() {
|
|
449
|
-
|
|
452
|
+
cn(this, 1), this.$destroy = z;
|
|
450
453
|
}
|
|
451
454
|
/**
|
|
452
455
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -468,13 +471,13 @@ class fn {
|
|
|
468
471
|
* @returns {void}
|
|
469
472
|
*/
|
|
470
473
|
$set(r) {
|
|
471
|
-
this.$$set && !
|
|
474
|
+
this.$$set && !Xi(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
|
|
472
475
|
}
|
|
473
476
|
}
|
|
474
|
-
const
|
|
475
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
477
|
+
const gn = "4";
|
|
478
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
|
|
476
479
|
const tr = [];
|
|
477
|
-
function
|
|
480
|
+
function pn(e, r) {
|
|
478
481
|
return {
|
|
479
482
|
subscribe: nt(e, r).subscribe
|
|
480
483
|
};
|
|
@@ -483,7 +486,7 @@ function nt(e, r = z) {
|
|
|
483
486
|
let t;
|
|
484
487
|
const i = /* @__PURE__ */ new Set();
|
|
485
488
|
function n(l) {
|
|
486
|
-
if (
|
|
489
|
+
if (gi(e, l) && (e = l, t)) {
|
|
487
490
|
const h = !tr.length;
|
|
488
491
|
for (const c of i)
|
|
489
492
|
c[1](), tr.push(c, e);
|
|
@@ -510,7 +513,7 @@ function cr(e, r, t) {
|
|
|
510
513
|
if (!n.every(Boolean))
|
|
511
514
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
512
515
|
const s = r.length < 2;
|
|
513
|
-
return
|
|
516
|
+
return pn(t, (a, l) => {
|
|
514
517
|
let h = !1;
|
|
515
518
|
const c = [];
|
|
516
519
|
let f = 0, m = z;
|
|
@@ -521,7 +524,7 @@ function cr(e, r, t) {
|
|
|
521
524
|
const w = r(i ? c[0] : c, a, l);
|
|
522
525
|
s ? a(w) : m = Bt(w) ? w : z;
|
|
523
526
|
}, b = n.map(
|
|
524
|
-
(w, E) =>
|
|
527
|
+
(w, E) => pi(
|
|
525
528
|
w,
|
|
526
529
|
(A) => {
|
|
527
530
|
c[E] = A, f &= ~(1 << E), h && g();
|
|
@@ -536,70 +539,70 @@ function cr(e, r, t) {
|
|
|
536
539
|
};
|
|
537
540
|
});
|
|
538
541
|
}
|
|
539
|
-
function
|
|
542
|
+
function bn(e) {
|
|
540
543
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
541
544
|
}
|
|
542
|
-
var
|
|
543
|
-
return
|
|
545
|
+
var yn = function(r) {
|
|
546
|
+
return En(r) && !vn(r);
|
|
544
547
|
};
|
|
545
|
-
function
|
|
548
|
+
function En(e) {
|
|
546
549
|
return !!e && typeof e == "object";
|
|
547
550
|
}
|
|
548
|
-
function
|
|
551
|
+
function vn(e) {
|
|
549
552
|
var r = Object.prototype.toString.call(e);
|
|
550
|
-
return r === "[object RegExp]" || r === "[object Date]" ||
|
|
553
|
+
return r === "[object RegExp]" || r === "[object Date]" || Sn(e);
|
|
551
554
|
}
|
|
552
|
-
var
|
|
553
|
-
function
|
|
554
|
-
return e.$$typeof ===
|
|
555
|
+
var wn = typeof Symbol == "function" && Symbol.for, _n = wn ? Symbol.for("react.element") : 60103;
|
|
556
|
+
function Sn(e) {
|
|
557
|
+
return e.$$typeof === _n;
|
|
555
558
|
}
|
|
556
|
-
function
|
|
559
|
+
function Pn(e) {
|
|
557
560
|
return Array.isArray(e) ? [] : {};
|
|
558
561
|
}
|
|
559
562
|
function Ir(e, r) {
|
|
560
|
-
return r.clone !== !1 && r.isMergeableObject(e) ? sr(
|
|
563
|
+
return r.clone !== !1 && r.isMergeableObject(e) ? sr(Pn(e), e, r) : e;
|
|
561
564
|
}
|
|
562
|
-
function
|
|
565
|
+
function xn(e, r, t) {
|
|
563
566
|
return e.concat(r).map(function(i) {
|
|
564
567
|
return Ir(i, t);
|
|
565
568
|
});
|
|
566
569
|
}
|
|
567
|
-
function
|
|
570
|
+
function Cn(e, r) {
|
|
568
571
|
if (!r.customMerge)
|
|
569
572
|
return sr;
|
|
570
573
|
var t = r.customMerge(e);
|
|
571
574
|
return typeof t == "function" ? t : sr;
|
|
572
575
|
}
|
|
573
|
-
function
|
|
576
|
+
function An(e) {
|
|
574
577
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
|
|
575
578
|
return Object.propertyIsEnumerable.call(e, r);
|
|
576
579
|
}) : [];
|
|
577
580
|
}
|
|
578
|
-
function
|
|
579
|
-
return Object.keys(e).concat(
|
|
581
|
+
function zt(e) {
|
|
582
|
+
return Object.keys(e).concat(An(e));
|
|
580
583
|
}
|
|
581
|
-
function
|
|
584
|
+
function yi(e, r) {
|
|
582
585
|
try {
|
|
583
586
|
return r in e;
|
|
584
587
|
} catch (t) {
|
|
585
588
|
return !1;
|
|
586
589
|
}
|
|
587
590
|
}
|
|
588
|
-
function
|
|
589
|
-
return
|
|
591
|
+
function Tn(e, r) {
|
|
592
|
+
return yi(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
|
|
590
593
|
}
|
|
591
|
-
function
|
|
594
|
+
function Hn(e, r, t) {
|
|
592
595
|
var i = {};
|
|
593
|
-
return t.isMergeableObject(e) &&
|
|
596
|
+
return t.isMergeableObject(e) && zt(e).forEach(function(n) {
|
|
594
597
|
i[n] = Ir(e[n], t);
|
|
595
|
-
}),
|
|
596
|
-
|
|
598
|
+
}), zt(r).forEach(function(n) {
|
|
599
|
+
Tn(e, n) || (yi(e, n) && t.isMergeableObject(r[n]) ? i[n] = Cn(n, t)(e[n], r[n], t) : i[n] = Ir(r[n], t));
|
|
597
600
|
}), i;
|
|
598
601
|
}
|
|
599
602
|
function sr(e, r, t) {
|
|
600
|
-
t = t || {}, t.arrayMerge = t.arrayMerge ||
|
|
603
|
+
t = t || {}, t.arrayMerge = t.arrayMerge || xn, t.isMergeableObject = t.isMergeableObject || yn, t.cloneUnlessOtherwiseSpecified = Ir;
|
|
601
604
|
var i = Array.isArray(r), n = Array.isArray(e), s = i === n;
|
|
602
|
-
return s ? i ? t.arrayMerge(e, r, t) :
|
|
605
|
+
return s ? i ? t.arrayMerge(e, r, t) : Hn(e, r, t) : Ir(r, t);
|
|
603
606
|
}
|
|
604
607
|
sr.all = function(r, t) {
|
|
605
608
|
if (!Array.isArray(r))
|
|
@@ -608,13 +611,28 @@ sr.all = function(r, t) {
|
|
|
608
611
|
return sr(i, n, t);
|
|
609
612
|
}, {});
|
|
610
613
|
};
|
|
611
|
-
var
|
|
612
|
-
const
|
|
614
|
+
var Bn = sr, In = Bn;
|
|
615
|
+
const Nn = /* @__PURE__ */ bn(In);
|
|
616
|
+
/*! *****************************************************************************
|
|
617
|
+
Copyright (c) Microsoft Corporation.
|
|
618
|
+
|
|
619
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
620
|
+
purpose with or without fee is hereby granted.
|
|
621
|
+
|
|
622
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
623
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
624
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
625
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
626
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
627
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
628
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
629
|
+
***************************************************************************** */
|
|
613
630
|
var wt = function(e, r) {
|
|
614
631
|
return wt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
615
632
|
t.__proto__ = i;
|
|
616
633
|
} || function(t, i) {
|
|
617
|
-
for (var n in i)
|
|
634
|
+
for (var n in i)
|
|
635
|
+
Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
|
|
618
636
|
}, wt(e, r);
|
|
619
637
|
};
|
|
620
638
|
function st(e, r) {
|
|
@@ -630,72 +648,77 @@ var T = function() {
|
|
|
630
648
|
return T = Object.assign || function(r) {
|
|
631
649
|
for (var t, i = 1, n = arguments.length; i < n; i++) {
|
|
632
650
|
t = arguments[i];
|
|
633
|
-
for (var s in t)
|
|
651
|
+
for (var s in t)
|
|
652
|
+
Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
|
|
634
653
|
}
|
|
635
654
|
return r;
|
|
636
655
|
}, T.apply(this, arguments);
|
|
637
656
|
};
|
|
638
|
-
function
|
|
657
|
+
function On(e, r) {
|
|
639
658
|
var t = {};
|
|
640
|
-
for (var i in e)
|
|
659
|
+
for (var i in e)
|
|
660
|
+
Object.prototype.hasOwnProperty.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
641
661
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
642
662
|
for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
|
|
643
663
|
r.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (t[i[n]] = e[i[n]]);
|
|
644
664
|
return t;
|
|
645
665
|
}
|
|
646
666
|
function dt(e, r, t) {
|
|
647
|
-
if (
|
|
648
|
-
(
|
|
649
|
-
|
|
667
|
+
if (arguments.length === 2)
|
|
668
|
+
for (var i = 0, n = r.length, s; i < n; i++)
|
|
669
|
+
(s || !(i in r)) && (s || (s = Array.prototype.slice.call(r, 0, i)), s[i] = r[i]);
|
|
670
|
+
return e.concat(s || r);
|
|
650
671
|
}
|
|
651
672
|
function mt(e, r) {
|
|
652
|
-
var t = r && r.cache ? r.cache :
|
|
673
|
+
var t = r && r.cache ? r.cache : Fn, i = r && r.serializer ? r.serializer : kn, n = r && r.strategy ? r.strategy : Mn;
|
|
653
674
|
return n(e, {
|
|
654
675
|
cache: t,
|
|
655
676
|
serializer: i
|
|
656
677
|
});
|
|
657
678
|
}
|
|
658
|
-
function
|
|
679
|
+
function Ln(e) {
|
|
659
680
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
660
681
|
}
|
|
661
|
-
function
|
|
662
|
-
var n =
|
|
682
|
+
function Ei(e, r, t, i) {
|
|
683
|
+
var n = Ln(i) ? i : t(i), s = r.get(n);
|
|
663
684
|
return typeof s == "undefined" && (s = e.call(this, i), r.set(n, s)), s;
|
|
664
685
|
}
|
|
665
|
-
function
|
|
686
|
+
function vi(e, r, t) {
|
|
666
687
|
var i = Array.prototype.slice.call(arguments, 3), n = t(i), s = r.get(n);
|
|
667
688
|
return typeof s == "undefined" && (s = e.apply(this, i), r.set(n, s)), s;
|
|
668
689
|
}
|
|
669
|
-
function
|
|
690
|
+
function It(e, r, t, i, n) {
|
|
670
691
|
return t.bind(r, e, i, n);
|
|
671
692
|
}
|
|
672
|
-
function Ln(e, r) {
|
|
673
|
-
var t = e.length === 1 ? On : bi;
|
|
674
|
-
return yi(e, this, t, r.cache.create(), r.serializer);
|
|
675
|
-
}
|
|
676
693
|
function Mn(e, r) {
|
|
677
|
-
|
|
694
|
+
var t = e.length === 1 ? Ei : vi;
|
|
695
|
+
return It(e, this, t, r.cache.create(), r.serializer);
|
|
696
|
+
}
|
|
697
|
+
function Rn(e, r) {
|
|
698
|
+
return It(e, this, vi, r.cache.create(), r.serializer);
|
|
678
699
|
}
|
|
679
|
-
|
|
700
|
+
function Un(e, r) {
|
|
701
|
+
return It(e, this, Ei, r.cache.create(), r.serializer);
|
|
702
|
+
}
|
|
703
|
+
var kn = function() {
|
|
680
704
|
return JSON.stringify(arguments);
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
}()
|
|
693
|
-
), kn = {
|
|
705
|
+
};
|
|
706
|
+
function Nt() {
|
|
707
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
708
|
+
}
|
|
709
|
+
Nt.prototype.get = function(e) {
|
|
710
|
+
return this.cache[e];
|
|
711
|
+
};
|
|
712
|
+
Nt.prototype.set = function(e, r) {
|
|
713
|
+
this.cache[e] = r;
|
|
714
|
+
};
|
|
715
|
+
var Fn = {
|
|
694
716
|
create: function() {
|
|
695
|
-
return new
|
|
717
|
+
return new Nt();
|
|
696
718
|
}
|
|
697
719
|
}, gt = {
|
|
698
|
-
variadic:
|
|
720
|
+
variadic: Rn,
|
|
721
|
+
monadic: Un
|
|
699
722
|
}, S;
|
|
700
723
|
(function(e) {
|
|
701
724
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
@@ -708,43 +731,43 @@ var or;
|
|
|
708
731
|
(function(e) {
|
|
709
732
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
710
733
|
})(or || (or = {}));
|
|
711
|
-
function
|
|
734
|
+
function Xt(e) {
|
|
712
735
|
return e.type === L.literal;
|
|
713
736
|
}
|
|
714
|
-
function
|
|
737
|
+
function Dn(e) {
|
|
715
738
|
return e.type === L.argument;
|
|
716
739
|
}
|
|
717
|
-
function
|
|
740
|
+
function wi(e) {
|
|
718
741
|
return e.type === L.number;
|
|
719
742
|
}
|
|
720
|
-
function
|
|
743
|
+
function _i(e) {
|
|
721
744
|
return e.type === L.date;
|
|
722
745
|
}
|
|
723
|
-
function
|
|
746
|
+
function Si(e) {
|
|
724
747
|
return e.type === L.time;
|
|
725
748
|
}
|
|
726
|
-
function
|
|
749
|
+
function Pi(e) {
|
|
727
750
|
return e.type === L.select;
|
|
728
751
|
}
|
|
729
|
-
function
|
|
752
|
+
function xi(e) {
|
|
730
753
|
return e.type === L.plural;
|
|
731
754
|
}
|
|
732
|
-
function
|
|
755
|
+
function Gn(e) {
|
|
733
756
|
return e.type === L.pound;
|
|
734
757
|
}
|
|
735
|
-
function
|
|
758
|
+
function Ci(e) {
|
|
736
759
|
return e.type === L.tag;
|
|
737
760
|
}
|
|
738
|
-
function
|
|
761
|
+
function Ai(e) {
|
|
739
762
|
return !!(e && typeof e == "object" && e.type === or.number);
|
|
740
763
|
}
|
|
741
764
|
function _t(e) {
|
|
742
765
|
return !!(e && typeof e == "object" && e.type === or.dateTime);
|
|
743
766
|
}
|
|
744
|
-
var
|
|
745
|
-
function
|
|
767
|
+
var Ti = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
768
|
+
function Vn(e) {
|
|
746
769
|
var r = {};
|
|
747
|
-
return e.replace(
|
|
770
|
+
return e.replace(jn, function(t) {
|
|
748
771
|
var i = t.length;
|
|
749
772
|
switch (t[0]) {
|
|
750
773
|
case "G":
|
|
@@ -833,11 +856,11 @@ function jn(e) {
|
|
|
833
856
|
return "";
|
|
834
857
|
}), r;
|
|
835
858
|
}
|
|
836
|
-
var
|
|
837
|
-
function
|
|
859
|
+
var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
860
|
+
function Qn(e) {
|
|
838
861
|
if (e.length === 0)
|
|
839
862
|
throw new Error("Number skeleton cannot be empty");
|
|
840
|
-
for (var r = e.split(
|
|
863
|
+
for (var r = e.split($n).filter(function(g) {
|
|
841
864
|
return g.length > 0;
|
|
842
865
|
}), t = [], i = 0, n = r; i < n.length; i++) {
|
|
843
866
|
var s = n[i], a = s.split("/");
|
|
@@ -852,17 +875,17 @@ function $n(e) {
|
|
|
852
875
|
}
|
|
853
876
|
return t;
|
|
854
877
|
}
|
|
855
|
-
function
|
|
878
|
+
function zn(e) {
|
|
856
879
|
return e.replace(/^(.*?)-/, "");
|
|
857
880
|
}
|
|
858
|
-
var
|
|
859
|
-
function
|
|
881
|
+
var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Hi = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, Bi = /^(0+)$/;
|
|
882
|
+
function Wt(e) {
|
|
860
883
|
var r = {};
|
|
861
|
-
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(
|
|
884
|
+
return e[e.length - 1] === "r" ? r.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (r.roundingPriority = "lessPrecision"), e.replace(Hi, function(t, i, n) {
|
|
862
885
|
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)), "";
|
|
863
886
|
}), r;
|
|
864
887
|
}
|
|
865
|
-
function
|
|
888
|
+
function Ii(e) {
|
|
866
889
|
switch (e) {
|
|
867
890
|
case "sign-auto":
|
|
868
891
|
return {
|
|
@@ -902,7 +925,7 @@ function Hi(e) {
|
|
|
902
925
|
};
|
|
903
926
|
}
|
|
904
927
|
}
|
|
905
|
-
function
|
|
928
|
+
function Zn(e) {
|
|
906
929
|
var r;
|
|
907
930
|
if (e[0] === "E" && e[1] === "E" ? (r = {
|
|
908
931
|
notation: "engineering"
|
|
@@ -910,17 +933,17 @@ function Xn(e) {
|
|
|
910
933
|
notation: "scientific"
|
|
911
934
|
}, e = e.slice(1)), r) {
|
|
912
935
|
var t = e.slice(0, 2);
|
|
913
|
-
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
936
|
+
if (t === "+!" ? (r.signDisplay = "always", e = e.slice(2)) : t === "+?" && (r.signDisplay = "exceptZero", e = e.slice(2)), !Bi.test(e))
|
|
914
937
|
throw new Error("Malformed concise eng/scientific notation");
|
|
915
938
|
r.minimumIntegerDigits = e.length;
|
|
916
939
|
}
|
|
917
940
|
return r;
|
|
918
941
|
}
|
|
919
|
-
function
|
|
920
|
-
var r = {}, t =
|
|
942
|
+
function qt(e) {
|
|
943
|
+
var r = {}, t = Ii(e);
|
|
921
944
|
return t || r;
|
|
922
945
|
}
|
|
923
|
-
function
|
|
946
|
+
function Wn(e) {
|
|
924
947
|
for (var r = {}, t = 0, i = e; t < i.length; t++) {
|
|
925
948
|
var n = i[t];
|
|
926
949
|
switch (n.stem) {
|
|
@@ -944,7 +967,7 @@ function Zn(e) {
|
|
|
944
967
|
continue;
|
|
945
968
|
case "measure-unit":
|
|
946
969
|
case "unit":
|
|
947
|
-
r.style = "unit", r.unit =
|
|
970
|
+
r.style = "unit", r.unit = zn(n.options[0]);
|
|
948
971
|
continue;
|
|
949
972
|
case "compact-short":
|
|
950
973
|
case "K":
|
|
@@ -956,12 +979,12 @@ function Zn(e) {
|
|
|
956
979
|
continue;
|
|
957
980
|
case "scientific":
|
|
958
981
|
r = T(T(T({}, r), { notation: "scientific" }), n.options.reduce(function(h, c) {
|
|
959
|
-
return T(T({}, h),
|
|
982
|
+
return T(T({}, h), qt(c));
|
|
960
983
|
}, {}));
|
|
961
984
|
continue;
|
|
962
985
|
case "engineering":
|
|
963
986
|
r = T(T(T({}, r), { notation: "engineering" }), n.options.reduce(function(h, c) {
|
|
964
|
-
return T(T({}, h),
|
|
987
|
+
return T(T({}, h), qt(c));
|
|
965
988
|
}, {}));
|
|
966
989
|
continue;
|
|
967
990
|
case "notation-simple":
|
|
@@ -1006,7 +1029,7 @@ function Zn(e) {
|
|
|
1006
1029
|
case "integer-width":
|
|
1007
1030
|
if (n.options.length > 1)
|
|
1008
1031
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1009
|
-
n.options[0].replace(
|
|
1032
|
+
n.options[0].replace(Xn, function(h, c, f, m, g, b) {
|
|
1010
1033
|
if (c)
|
|
1011
1034
|
r.minimumIntegerDigits = f.length;
|
|
1012
1035
|
else {
|
|
@@ -1019,27 +1042,27 @@ function Zn(e) {
|
|
|
1019
1042
|
});
|
|
1020
1043
|
continue;
|
|
1021
1044
|
}
|
|
1022
|
-
if (
|
|
1045
|
+
if (Bi.test(n.stem)) {
|
|
1023
1046
|
r.minimumIntegerDigits = n.stem.length;
|
|
1024
1047
|
continue;
|
|
1025
1048
|
}
|
|
1026
|
-
if (
|
|
1049
|
+
if (Zt.test(n.stem)) {
|
|
1027
1050
|
if (n.options.length > 1)
|
|
1028
1051
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1029
|
-
n.stem.replace(
|
|
1052
|
+
n.stem.replace(Zt, function(h, c, f, m, g, b) {
|
|
1030
1053
|
return f === "*" ? r.minimumFractionDigits = c.length : m && m[0] === "#" ? r.maximumFractionDigits = m.length : g && b ? (r.minimumFractionDigits = g.length, r.maximumFractionDigits = g.length + b.length) : (r.minimumFractionDigits = c.length, r.maximumFractionDigits = c.length), "";
|
|
1031
1054
|
});
|
|
1032
1055
|
var s = n.options[0];
|
|
1033
|
-
s === "w" ? r = T(T({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = T(T({}, r),
|
|
1056
|
+
s === "w" ? r = T(T({}, r), { trailingZeroDisplay: "stripIfInteger" }) : s && (r = T(T({}, r), Wt(s)));
|
|
1034
1057
|
continue;
|
|
1035
1058
|
}
|
|
1036
|
-
if (
|
|
1037
|
-
r = T(T({}, r),
|
|
1059
|
+
if (Hi.test(n.stem)) {
|
|
1060
|
+
r = T(T({}, r), Wt(n.stem));
|
|
1038
1061
|
continue;
|
|
1039
1062
|
}
|
|
1040
|
-
var a =
|
|
1063
|
+
var a = Ii(n.stem);
|
|
1041
1064
|
a && (r = T(T({}, r), a));
|
|
1042
|
-
var l =
|
|
1065
|
+
var l = Zn(n.stem);
|
|
1043
1066
|
l && (r = T(T({}, r), l));
|
|
1044
1067
|
}
|
|
1045
1068
|
return r;
|
|
@@ -2459,22 +2482,23 @@ var Yr = {
|
|
|
2459
2482
|
"h"
|
|
2460
2483
|
]
|
|
2461
2484
|
};
|
|
2462
|
-
function
|
|
2485
|
+
function qn(e, r) {
|
|
2463
2486
|
for (var t = "", i = 0; i < e.length; i++) {
|
|
2464
2487
|
var n = e.charAt(i);
|
|
2465
2488
|
if (n === "j") {
|
|
2466
2489
|
for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2467
2490
|
s++, i++;
|
|
2468
|
-
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", c =
|
|
2491
|
+
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", c = Jn(r);
|
|
2469
2492
|
for ((c == "H" || c == "k") && (l = 0); l-- > 0; )
|
|
2470
2493
|
t += h;
|
|
2471
2494
|
for (; a-- > 0; )
|
|
2472
2495
|
t = c + t;
|
|
2473
|
-
} else
|
|
2496
|
+
} else
|
|
2497
|
+
n === "J" ? t += "H" : t += n;
|
|
2474
2498
|
}
|
|
2475
2499
|
return t;
|
|
2476
2500
|
}
|
|
2477
|
-
function
|
|
2501
|
+
function Jn(e) {
|
|
2478
2502
|
var r = e.hourCycle;
|
|
2479
2503
|
if (r === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2480
2504
|
e.hourCycles && // @ts-ignore
|
|
@@ -2496,20 +2520,20 @@ function qn(e) {
|
|
|
2496
2520
|
var n = Yr[i || ""] || Yr[t || ""] || Yr["".concat(t, "-001")] || Yr["001"];
|
|
2497
2521
|
return n[0];
|
|
2498
2522
|
}
|
|
2499
|
-
var pt,
|
|
2523
|
+
var pt, Yn = new RegExp("^".concat(Ti.source, "*")), Kn = new RegExp("".concat(Ti.source, "*$"));
|
|
2500
2524
|
function P(e, r) {
|
|
2501
2525
|
return { start: e, end: r };
|
|
2502
2526
|
}
|
|
2503
|
-
var
|
|
2527
|
+
var es = !!String.prototype.startsWith && "_a".startsWith("a", 1), rs = !!String.fromCodePoint, ts = !!Object.fromEntries, is = !!String.prototype.codePointAt, ns = !!String.prototype.trimStart, ss = !!String.prototype.trimEnd, os = !!Number.isSafeInteger, as = os ? Number.isSafeInteger : function(e) {
|
|
2504
2528
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2505
2529
|
}, St = !0;
|
|
2506
2530
|
try {
|
|
2507
|
-
var
|
|
2508
|
-
St = ((pt =
|
|
2531
|
+
var ls = Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2532
|
+
St = ((pt = ls.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
|
|
2509
2533
|
} catch (e) {
|
|
2510
2534
|
St = !1;
|
|
2511
2535
|
}
|
|
2512
|
-
var
|
|
2536
|
+
var Jt = es ? (
|
|
2513
2537
|
// Native
|
|
2514
2538
|
function(r, t, i) {
|
|
2515
2539
|
return r.startsWith(t, i);
|
|
@@ -2519,7 +2543,7 @@ var Wt = Kn ? (
|
|
|
2519
2543
|
function(r, t, i) {
|
|
2520
2544
|
return r.slice(i, i + t.length) === t;
|
|
2521
2545
|
}
|
|
2522
|
-
), Pt =
|
|
2546
|
+
), Pt = rs ? String.fromCodePoint : (
|
|
2523
2547
|
// IE11
|
|
2524
2548
|
function() {
|
|
2525
2549
|
for (var r = [], t = 0; t < arguments.length; t++)
|
|
@@ -2531,9 +2555,9 @@ var Wt = Kn ? (
|
|
|
2531
2555
|
}
|
|
2532
2556
|
return i;
|
|
2533
2557
|
}
|
|
2534
|
-
),
|
|
2558
|
+
), Yt = (
|
|
2535
2559
|
// native
|
|
2536
|
-
|
|
2560
|
+
ts ? Object.fromEntries : (
|
|
2537
2561
|
// Ponyfill
|
|
2538
2562
|
function(r) {
|
|
2539
2563
|
for (var t = {}, i = 0, n = r; i < n.length; i++) {
|
|
@@ -2543,7 +2567,7 @@ var Wt = Kn ? (
|
|
|
2543
2567
|
return t;
|
|
2544
2568
|
}
|
|
2545
2569
|
)
|
|
2546
|
-
),
|
|
2570
|
+
), Ni = is ? (
|
|
2547
2571
|
// Native
|
|
2548
2572
|
function(r, t) {
|
|
2549
2573
|
return r.codePointAt(t);
|
|
@@ -2557,7 +2581,7 @@ var Wt = Kn ? (
|
|
|
2557
2581
|
return n < 55296 || n > 56319 || t + 1 === i || (s = r.charCodeAt(t + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
|
|
2558
2582
|
}
|
|
2559
2583
|
}
|
|
2560
|
-
),
|
|
2584
|
+
), us = ns ? (
|
|
2561
2585
|
// Native
|
|
2562
2586
|
function(r) {
|
|
2563
2587
|
return r.trimStart();
|
|
@@ -2565,9 +2589,9 @@ var Wt = Kn ? (
|
|
|
2565
2589
|
) : (
|
|
2566
2590
|
// Ponyfill
|
|
2567
2591
|
function(r) {
|
|
2568
|
-
return r.replace(
|
|
2592
|
+
return r.replace(Yn, "");
|
|
2569
2593
|
}
|
|
2570
|
-
),
|
|
2594
|
+
), cs = ss ? (
|
|
2571
2595
|
// Native
|
|
2572
2596
|
function(r) {
|
|
2573
2597
|
return r.trimEnd();
|
|
@@ -2575,32 +2599,32 @@ var Wt = Kn ? (
|
|
|
2575
2599
|
) : (
|
|
2576
2600
|
// Ponyfill
|
|
2577
2601
|
function(r) {
|
|
2578
|
-
return r.replace(
|
|
2602
|
+
return r.replace(Kn, "");
|
|
2579
2603
|
}
|
|
2580
2604
|
);
|
|
2581
|
-
function
|
|
2605
|
+
function Oi(e, r) {
|
|
2582
2606
|
return new RegExp(e, r);
|
|
2583
2607
|
}
|
|
2584
2608
|
var xt;
|
|
2585
2609
|
if (St) {
|
|
2586
|
-
var
|
|
2610
|
+
var Kt = Oi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2587
2611
|
xt = function(r, t) {
|
|
2588
2612
|
var i;
|
|
2589
|
-
|
|
2590
|
-
var n =
|
|
2613
|
+
Kt.lastIndex = t;
|
|
2614
|
+
var n = Kt.exec(r);
|
|
2591
2615
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2592
2616
|
};
|
|
2593
2617
|
} else
|
|
2594
2618
|
xt = function(r, t) {
|
|
2595
2619
|
for (var i = []; ; ) {
|
|
2596
|
-
var n =
|
|
2597
|
-
if (n === void 0 ||
|
|
2620
|
+
var n = Ni(r, t);
|
|
2621
|
+
if (n === void 0 || Li(n) || ms(n))
|
|
2598
2622
|
break;
|
|
2599
2623
|
i.push(n), t += n >= 65536 ? 2 : 1;
|
|
2600
2624
|
}
|
|
2601
2625
|
return Pt.apply(void 0, i);
|
|
2602
2626
|
};
|
|
2603
|
-
var
|
|
2627
|
+
var hs = (
|
|
2604
2628
|
/** @class */
|
|
2605
2629
|
function() {
|
|
2606
2630
|
function e(r, t) {
|
|
@@ -2682,7 +2706,7 @@ var cs = (
|
|
|
2682
2706
|
return this.error(S.INVALID_TAG, P(i, this.clonePosition()));
|
|
2683
2707
|
}, e.prototype.parseTagName = function() {
|
|
2684
2708
|
var r = this.offset();
|
|
2685
|
-
for (this.bump(); !this.isEOF() &&
|
|
2709
|
+
for (this.bump(); !this.isEOF() && ds(this.char()); )
|
|
2686
2710
|
this.bump();
|
|
2687
2711
|
return this.message.slice(r, this.offset());
|
|
2688
2712
|
}, e.prototype.parseLiteral = function(r, t) {
|
|
@@ -2711,7 +2735,7 @@ var cs = (
|
|
|
2711
2735
|
};
|
|
2712
2736
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2713
2737
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2714
|
-
!
|
|
2738
|
+
!fs(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2715
2739
|
}, e.prototype.tryParseQuote = function(r) {
|
|
2716
2740
|
if (this.isEOF() || this.char() !== 39)
|
|
2717
2741
|
return null;
|
|
@@ -2798,7 +2822,7 @@ var cs = (
|
|
|
2798
2822
|
var f = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2799
2823
|
if (m.err)
|
|
2800
2824
|
return m;
|
|
2801
|
-
var g =
|
|
2825
|
+
var g = cs(m.val);
|
|
2802
2826
|
if (g.length === 0)
|
|
2803
2827
|
return this.error(S.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
|
|
2804
2828
|
var b = P(f, this.clonePosition());
|
|
@@ -2808,8 +2832,8 @@ var cs = (
|
|
|
2808
2832
|
if (w.err)
|
|
2809
2833
|
return w;
|
|
2810
2834
|
var E = P(n, this.clonePosition());
|
|
2811
|
-
if (c &&
|
|
2812
|
-
var A =
|
|
2835
|
+
if (c && Jt(c == null ? void 0 : c.style, "::", 0)) {
|
|
2836
|
+
var A = us(c.style.slice(2));
|
|
2813
2837
|
if (l === "number") {
|
|
2814
2838
|
var m = this.parseNumberSkeletonFromString(A, c.styleLocation);
|
|
2815
2839
|
return m.err ? m : {
|
|
@@ -2820,12 +2844,12 @@ var cs = (
|
|
|
2820
2844
|
if (A.length === 0)
|
|
2821
2845
|
return this.error(S.EXPECT_DATE_TIME_SKELETON, E);
|
|
2822
2846
|
var O = A;
|
|
2823
|
-
this.locale && (O =
|
|
2847
|
+
this.locale && (O = qn(A, this.locale));
|
|
2824
2848
|
var g = {
|
|
2825
2849
|
type: or.dateTime,
|
|
2826
2850
|
pattern: O,
|
|
2827
2851
|
location: c.styleLocation,
|
|
2828
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2852
|
+
parsedOptions: this.shouldParseSkeletons ? Vn(O) : {}
|
|
2829
2853
|
}, M = l === "date" ? L.date : L.time;
|
|
2830
2854
|
return {
|
|
2831
2855
|
val: { type: M, value: i, location: E, style: g },
|
|
@@ -2871,7 +2895,7 @@ var cs = (
|
|
|
2871
2895
|
val: {
|
|
2872
2896
|
type: L.select,
|
|
2873
2897
|
value: i,
|
|
2874
|
-
options:
|
|
2898
|
+
options: Yt(ge.val),
|
|
2875
2899
|
location: U
|
|
2876
2900
|
},
|
|
2877
2901
|
err: null
|
|
@@ -2879,7 +2903,7 @@ var cs = (
|
|
|
2879
2903
|
val: {
|
|
2880
2904
|
type: L.plural,
|
|
2881
2905
|
value: i,
|
|
2882
|
-
options:
|
|
2906
|
+
options: Yt(ge.val),
|
|
2883
2907
|
offset: G,
|
|
2884
2908
|
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
2885
2909
|
location: U
|
|
@@ -2930,7 +2954,7 @@ var cs = (
|
|
|
2930
2954
|
}, e.prototype.parseNumberSkeletonFromString = function(r, t) {
|
|
2931
2955
|
var i = [];
|
|
2932
2956
|
try {
|
|
2933
|
-
i =
|
|
2957
|
+
i = Qn(r);
|
|
2934
2958
|
} catch (n) {
|
|
2935
2959
|
return this.error(S.INVALID_NUMBER_SKELETON, t);
|
|
2936
2960
|
}
|
|
@@ -2939,7 +2963,7 @@ var cs = (
|
|
|
2939
2963
|
type: or.number,
|
|
2940
2964
|
tokens: i,
|
|
2941
2965
|
location: t,
|
|
2942
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2966
|
+
parsedOptions: this.shouldParseSkeletons ? Wn(i) : {}
|
|
2943
2967
|
},
|
|
2944
2968
|
err: null
|
|
2945
2969
|
};
|
|
@@ -2987,7 +3011,7 @@ var cs = (
|
|
|
2987
3011
|
break;
|
|
2988
3012
|
}
|
|
2989
3013
|
var h = P(n, this.clonePosition());
|
|
2990
|
-
return s ? (a *= i,
|
|
3014
|
+
return s ? (a *= i, as(a) ? { val: a, err: null } : this.error(t, h)) : this.error(r, h);
|
|
2991
3015
|
}, e.prototype.offset = function() {
|
|
2992
3016
|
return this.position.offset;
|
|
2993
3017
|
}, e.prototype.isEOF = function() {
|
|
@@ -3002,7 +3026,7 @@ var cs = (
|
|
|
3002
3026
|
var r = this.position.offset;
|
|
3003
3027
|
if (r >= this.message.length)
|
|
3004
3028
|
throw Error("out of bound");
|
|
3005
|
-
var t =
|
|
3029
|
+
var t = Ni(this.message, r);
|
|
3006
3030
|
if (t === void 0)
|
|
3007
3031
|
throw Error("Offset ".concat(r, " is at invalid UTF-16 code unit boundary"));
|
|
3008
3032
|
return t;
|
|
@@ -3021,7 +3045,7 @@ var cs = (
|
|
|
3021
3045
|
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);
|
|
3022
3046
|
}
|
|
3023
3047
|
}, e.prototype.bumpIf = function(r) {
|
|
3024
|
-
if (
|
|
3048
|
+
if (Jt(this.message, r, this.offset())) {
|
|
3025
3049
|
for (var t = 0; t < r.length; t++)
|
|
3026
3050
|
this.bump();
|
|
3027
3051
|
return !0;
|
|
@@ -3043,7 +3067,7 @@ var cs = (
|
|
|
3043
3067
|
break;
|
|
3044
3068
|
}
|
|
3045
3069
|
}, e.prototype.bumpSpace = function() {
|
|
3046
|
-
for (; !this.isEOF() &&
|
|
3070
|
+
for (; !this.isEOF() && Li(this.char()); )
|
|
3047
3071
|
this.bump();
|
|
3048
3072
|
}, e.prototype.peek = function() {
|
|
3049
3073
|
if (this.isEOF())
|
|
@@ -3056,29 +3080,30 @@ var cs = (
|
|
|
3056
3080
|
function Ct(e) {
|
|
3057
3081
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3058
3082
|
}
|
|
3059
|
-
function
|
|
3083
|
+
function fs(e) {
|
|
3060
3084
|
return Ct(e) || e === 47;
|
|
3061
3085
|
}
|
|
3062
|
-
function
|
|
3086
|
+
function ds(e) {
|
|
3063
3087
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3064
3088
|
}
|
|
3065
|
-
function
|
|
3089
|
+
function Li(e) {
|
|
3066
3090
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3067
3091
|
}
|
|
3068
|
-
function
|
|
3092
|
+
function ms(e) {
|
|
3069
3093
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3070
3094
|
}
|
|
3071
3095
|
function At(e) {
|
|
3072
3096
|
e.forEach(function(r) {
|
|
3073
|
-
if (delete r.location,
|
|
3097
|
+
if (delete r.location, Pi(r) || xi(r))
|
|
3074
3098
|
for (var t in r.options)
|
|
3075
3099
|
delete r.options[t].location, At(r.options[t].value);
|
|
3076
|
-
else
|
|
3100
|
+
else
|
|
3101
|
+
wi(r) && Ai(r.style) || (_i(r) || Si(r)) && _t(r.style) ? delete r.style.location : Ci(r) && At(r.children);
|
|
3077
3102
|
});
|
|
3078
3103
|
}
|
|
3079
|
-
function
|
|
3104
|
+
function gs(e, r) {
|
|
3080
3105
|
r === void 0 && (r = {}), r = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, r);
|
|
3081
|
-
var t = new
|
|
3106
|
+
var t = new hs(e, r).parse();
|
|
3082
3107
|
if (t.err) {
|
|
3083
3108
|
var i = SyntaxError(S[t.err.kind]);
|
|
3084
3109
|
throw i.location = t.err.location, i.originalMessage = t.err.message, i;
|
|
@@ -3101,7 +3126,7 @@ var ot = (
|
|
|
3101
3126
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3102
3127
|
}, r;
|
|
3103
3128
|
}(Error)
|
|
3104
|
-
),
|
|
3129
|
+
), ei = (
|
|
3105
3130
|
/** @class */
|
|
3106
3131
|
function(e) {
|
|
3107
3132
|
st(r, e);
|
|
@@ -3110,7 +3135,7 @@ var ot = (
|
|
|
3110
3135
|
}
|
|
3111
3136
|
return r;
|
|
3112
3137
|
}(ot)
|
|
3113
|
-
),
|
|
3138
|
+
), ps = (
|
|
3114
3139
|
/** @class */
|
|
3115
3140
|
function(e) {
|
|
3116
3141
|
st(r, e);
|
|
@@ -3119,7 +3144,7 @@ var ot = (
|
|
|
3119
3144
|
}
|
|
3120
3145
|
return r;
|
|
3121
3146
|
}(ot)
|
|
3122
|
-
),
|
|
3147
|
+
), bs = (
|
|
3123
3148
|
/** @class */
|
|
3124
3149
|
function(e) {
|
|
3125
3150
|
st(r, e);
|
|
@@ -3132,17 +3157,17 @@ var ot = (
|
|
|
3132
3157
|
(function(e) {
|
|
3133
3158
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3134
3159
|
})(Q || (Q = {}));
|
|
3135
|
-
function
|
|
3160
|
+
function ys(e) {
|
|
3136
3161
|
return e.length < 2 ? e : e.reduce(function(r, t) {
|
|
3137
3162
|
var i = r[r.length - 1];
|
|
3138
3163
|
return !i || i.type !== Q.literal || t.type !== Q.literal ? r.push(t) : i.value += t.value, r;
|
|
3139
3164
|
}, []);
|
|
3140
3165
|
}
|
|
3141
|
-
function
|
|
3166
|
+
function Es(e) {
|
|
3142
3167
|
return typeof e == "function";
|
|
3143
3168
|
}
|
|
3144
3169
|
function et(e, r, t, i, n, s, a) {
|
|
3145
|
-
if (e.length === 1 &&
|
|
3170
|
+
if (e.length === 1 && Xt(e[0]))
|
|
3146
3171
|
return [
|
|
3147
3172
|
{
|
|
3148
3173
|
type: Q.literal,
|
|
@@ -3151,14 +3176,14 @@ function et(e, r, t, i, n, s, a) {
|
|
|
3151
3176
|
];
|
|
3152
3177
|
for (var l = [], h = 0, c = e; h < c.length; h++) {
|
|
3153
3178
|
var f = c[h];
|
|
3154
|
-
if (
|
|
3179
|
+
if (Xt(f)) {
|
|
3155
3180
|
l.push({
|
|
3156
3181
|
type: Q.literal,
|
|
3157
3182
|
value: f.value
|
|
3158
3183
|
});
|
|
3159
3184
|
continue;
|
|
3160
3185
|
}
|
|
3161
|
-
if (
|
|
3186
|
+
if (Gn(f)) {
|
|
3162
3187
|
typeof s == "number" && l.push({
|
|
3163
3188
|
type: Q.literal,
|
|
3164
3189
|
value: t.getNumberFormat(r).format(s)
|
|
@@ -3167,16 +3192,16 @@ function et(e, r, t, i, n, s, a) {
|
|
|
3167
3192
|
}
|
|
3168
3193
|
var m = f.value;
|
|
3169
3194
|
if (!(n && m in n))
|
|
3170
|
-
throw new
|
|
3195
|
+
throw new bs(m, a);
|
|
3171
3196
|
var g = n[m];
|
|
3172
|
-
if (
|
|
3197
|
+
if (Dn(f)) {
|
|
3173
3198
|
(!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), l.push({
|
|
3174
3199
|
type: typeof g == "string" ? Q.literal : Q.object,
|
|
3175
3200
|
value: g
|
|
3176
3201
|
});
|
|
3177
3202
|
continue;
|
|
3178
3203
|
}
|
|
3179
|
-
if (
|
|
3204
|
+
if (_i(f)) {
|
|
3180
3205
|
var b = typeof f.style == "string" ? i.date[f.style] : _t(f.style) ? f.style.parsedOptions : void 0;
|
|
3181
3206
|
l.push({
|
|
3182
3207
|
type: Q.literal,
|
|
@@ -3184,7 +3209,7 @@ function et(e, r, t, i, n, s, a) {
|
|
|
3184
3209
|
});
|
|
3185
3210
|
continue;
|
|
3186
3211
|
}
|
|
3187
|
-
if (
|
|
3212
|
+
if (Si(f)) {
|
|
3188
3213
|
var b = typeof f.style == "string" ? i.time[f.style] : _t(f.style) ? f.style.parsedOptions : i.time.medium;
|
|
3189
3214
|
l.push({
|
|
3190
3215
|
type: Q.literal,
|
|
@@ -3192,18 +3217,18 @@ function et(e, r, t, i, n, s, a) {
|
|
|
3192
3217
|
});
|
|
3193
3218
|
continue;
|
|
3194
3219
|
}
|
|
3195
|
-
if (
|
|
3196
|
-
var b = typeof f.style == "string" ? i.number[f.style] :
|
|
3220
|
+
if (wi(f)) {
|
|
3221
|
+
var b = typeof f.style == "string" ? i.number[f.style] : Ai(f.style) ? f.style.parsedOptions : void 0;
|
|
3197
3222
|
b && b.scale && (g = g * (b.scale || 1)), l.push({
|
|
3198
3223
|
type: Q.literal,
|
|
3199
3224
|
value: t.getNumberFormat(r, b).format(g)
|
|
3200
3225
|
});
|
|
3201
3226
|
continue;
|
|
3202
3227
|
}
|
|
3203
|
-
if (
|
|
3228
|
+
if (Ci(f)) {
|
|
3204
3229
|
var w = f.children, E = f.value, A = n[E];
|
|
3205
|
-
if (!
|
|
3206
|
-
throw new
|
|
3230
|
+
if (!Es(A))
|
|
3231
|
+
throw new ps(E, "function", a);
|
|
3207
3232
|
var O = et(w, r, t, i, n, s), M = A(O.map(function(G) {
|
|
3208
3233
|
return G.value;
|
|
3209
3234
|
}));
|
|
@@ -3214,14 +3239,14 @@ function et(e, r, t, i, n, s, a) {
|
|
|
3214
3239
|
};
|
|
3215
3240
|
}));
|
|
3216
3241
|
}
|
|
3217
|
-
if (
|
|
3242
|
+
if (Pi(f)) {
|
|
3218
3243
|
var R = f.options[g] || f.options.other;
|
|
3219
3244
|
if (!R)
|
|
3220
|
-
throw new
|
|
3245
|
+
throw new ei(f.value, g, Object.keys(f.options), a);
|
|
3221
3246
|
l.push.apply(l, et(R.value, r, t, i, n));
|
|
3222
3247
|
continue;
|
|
3223
3248
|
}
|
|
3224
|
-
if (
|
|
3249
|
+
if (xi(f)) {
|
|
3225
3250
|
var R = f.options["=".concat(g)];
|
|
3226
3251
|
if (!R) {
|
|
3227
3252
|
if (!Intl.PluralRules)
|
|
@@ -3232,21 +3257,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3232
3257
|
R = f.options[ce] || f.options.other;
|
|
3233
3258
|
}
|
|
3234
3259
|
if (!R)
|
|
3235
|
-
throw new
|
|
3260
|
+
throw new ei(f.value, g, Object.keys(f.options), a);
|
|
3236
3261
|
l.push.apply(l, et(R.value, r, t, i, n, g - (f.offset || 0)));
|
|
3237
3262
|
continue;
|
|
3238
3263
|
}
|
|
3239
3264
|
}
|
|
3240
|
-
return
|
|
3265
|
+
return ys(l);
|
|
3241
3266
|
}
|
|
3242
|
-
function
|
|
3267
|
+
function vs(e, r) {
|
|
3243
3268
|
return r ? T(T(T({}, e || {}), r || {}), Object.keys(e).reduce(function(t, i) {
|
|
3244
3269
|
return t[i] = T(T({}, e[i]), r[i] || {}), t;
|
|
3245
3270
|
}, {})) : e;
|
|
3246
3271
|
}
|
|
3247
|
-
function
|
|
3272
|
+
function ws(e, r) {
|
|
3248
3273
|
return r ? Object.keys(e).reduce(function(t, i) {
|
|
3249
|
-
return t[i] =
|
|
3274
|
+
return t[i] = vs(e[i], r[i]), t;
|
|
3250
3275
|
}, T({}, e)) : e;
|
|
3251
3276
|
}
|
|
3252
3277
|
function bt(e) {
|
|
@@ -3263,7 +3288,7 @@ function bt(e) {
|
|
|
3263
3288
|
}
|
|
3264
3289
|
};
|
|
3265
3290
|
}
|
|
3266
|
-
function
|
|
3291
|
+
function _s(e) {
|
|
3267
3292
|
return e === void 0 && (e = {
|
|
3268
3293
|
number: {},
|
|
3269
3294
|
dateTime: {},
|
|
@@ -3295,7 +3320,7 @@ function ws(e) {
|
|
|
3295
3320
|
})
|
|
3296
3321
|
};
|
|
3297
3322
|
}
|
|
3298
|
-
var
|
|
3323
|
+
var Ss = (
|
|
3299
3324
|
/** @class */
|
|
3300
3325
|
function() {
|
|
3301
3326
|
function e(r, t, i, n) {
|
|
@@ -3327,13 +3352,13 @@ var _s = (
|
|
|
3327
3352
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3328
3353
|
var a = n || {};
|
|
3329
3354
|
a.formatters;
|
|
3330
|
-
var l =
|
|
3355
|
+
var l = On(a, ["formatters"]);
|
|
3331
3356
|
this.ast = e.__parse(r, T(T({}, l), { locale: this.resolvedLocale }));
|
|
3332
3357
|
} else
|
|
3333
3358
|
this.ast = r;
|
|
3334
3359
|
if (!Array.isArray(this.ast))
|
|
3335
3360
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3336
|
-
this.formats =
|
|
3361
|
+
this.formats = ws(e.formats, i), this.formatters = n && n.formatters || _s(this.formatterCache);
|
|
3337
3362
|
}
|
|
3338
3363
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3339
3364
|
get: function() {
|
|
@@ -3346,7 +3371,7 @@ var _s = (
|
|
|
3346
3371
|
var t = Intl.NumberFormat.supportedLocalesOf(r);
|
|
3347
3372
|
return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof r == "string" ? r : r[0]);
|
|
3348
3373
|
}
|
|
3349
|
-
}, e.__parse =
|
|
3374
|
+
}, e.__parse = gs, e.formats = {
|
|
3350
3375
|
number: {
|
|
3351
3376
|
integer: {
|
|
3352
3377
|
maximumFractionDigits: 0
|
|
@@ -3407,7 +3432,7 @@ var _s = (
|
|
|
3407
3432
|
}, e;
|
|
3408
3433
|
}()
|
|
3409
3434
|
);
|
|
3410
|
-
function
|
|
3435
|
+
function Ps(e, r) {
|
|
3411
3436
|
if (r == null)
|
|
3412
3437
|
return;
|
|
3413
3438
|
if (r in e)
|
|
@@ -3428,60 +3453,60 @@ function Ss(e, r) {
|
|
|
3428
3453
|
i = void 0;
|
|
3429
3454
|
return i;
|
|
3430
3455
|
}
|
|
3431
|
-
const Oe = {},
|
|
3456
|
+
const Oe = {}, xs = (e, r, t) => t && (r in Oe || (Oe[r] = {}), e in Oe[r] || (Oe[r][e] = t), t), Mi = (e, r) => {
|
|
3432
3457
|
if (r == null)
|
|
3433
3458
|
return;
|
|
3434
3459
|
if (r in Oe && e in Oe[r])
|
|
3435
3460
|
return Oe[r][e];
|
|
3436
3461
|
const t = at(r);
|
|
3437
3462
|
for (let i = 0; i < t.length; i++) {
|
|
3438
|
-
const n = t[i], s =
|
|
3463
|
+
const n = t[i], s = As(n, e);
|
|
3439
3464
|
if (s)
|
|
3440
|
-
return
|
|
3465
|
+
return xs(e, r, s);
|
|
3441
3466
|
}
|
|
3442
3467
|
};
|
|
3443
|
-
let
|
|
3468
|
+
let Ot;
|
|
3444
3469
|
const Or = nt({});
|
|
3445
|
-
function
|
|
3446
|
-
return
|
|
3470
|
+
function Cs(e) {
|
|
3471
|
+
return Ot[e] || null;
|
|
3447
3472
|
}
|
|
3448
|
-
function
|
|
3449
|
-
return e in
|
|
3473
|
+
function Ri(e) {
|
|
3474
|
+
return e in Ot;
|
|
3450
3475
|
}
|
|
3451
|
-
function
|
|
3452
|
-
if (!
|
|
3476
|
+
function As(e, r) {
|
|
3477
|
+
if (!Ri(e))
|
|
3453
3478
|
return null;
|
|
3454
|
-
const t =
|
|
3455
|
-
return
|
|
3479
|
+
const t = Cs(e);
|
|
3480
|
+
return Ps(t, r);
|
|
3456
3481
|
}
|
|
3457
|
-
function
|
|
3482
|
+
function Ts(e) {
|
|
3458
3483
|
if (e == null)
|
|
3459
3484
|
return;
|
|
3460
3485
|
const r = at(e);
|
|
3461
3486
|
for (let t = 0; t < r.length; t++) {
|
|
3462
3487
|
const i = r[t];
|
|
3463
|
-
if (
|
|
3488
|
+
if (Ri(i))
|
|
3464
3489
|
return i;
|
|
3465
3490
|
}
|
|
3466
3491
|
}
|
|
3467
|
-
function
|
|
3468
|
-
delete Oe[e], Or.update((t) => (t[e] =
|
|
3492
|
+
function Ui(e, ...r) {
|
|
3493
|
+
delete Oe[e], Or.update((t) => (t[e] = Nn.all([t[e] || {}, ...r]), t));
|
|
3469
3494
|
}
|
|
3470
3495
|
cr(
|
|
3471
3496
|
[Or],
|
|
3472
3497
|
([e]) => Object.keys(e)
|
|
3473
3498
|
);
|
|
3474
|
-
Or.subscribe((e) =>
|
|
3499
|
+
Or.subscribe((e) => Ot = e);
|
|
3475
3500
|
const rt = {};
|
|
3476
|
-
function
|
|
3501
|
+
function Hs(e, r) {
|
|
3477
3502
|
rt[e].delete(r), rt[e].size === 0 && delete rt[e];
|
|
3478
3503
|
}
|
|
3479
|
-
function
|
|
3504
|
+
function ki(e) {
|
|
3480
3505
|
return rt[e];
|
|
3481
3506
|
}
|
|
3482
|
-
function
|
|
3507
|
+
function Bs(e) {
|
|
3483
3508
|
return at(e).map((r) => {
|
|
3484
|
-
const t =
|
|
3509
|
+
const t = ki(r);
|
|
3485
3510
|
return [r, t ? [...t] : []];
|
|
3486
3511
|
}).filter(([, r]) => r.length > 0);
|
|
3487
3512
|
}
|
|
@@ -3489,31 +3514,31 @@ function Tt(e) {
|
|
|
3489
3514
|
return e == null ? !1 : at(e).some(
|
|
3490
3515
|
(r) => {
|
|
3491
3516
|
var t;
|
|
3492
|
-
return (t =
|
|
3517
|
+
return (t = ki(r)) == null ? void 0 : t.size;
|
|
3493
3518
|
}
|
|
3494
3519
|
);
|
|
3495
3520
|
}
|
|
3496
|
-
function
|
|
3521
|
+
function Is(e, r) {
|
|
3497
3522
|
return Promise.all(
|
|
3498
|
-
r.map((i) => (
|
|
3499
|
-
).then((i) =>
|
|
3523
|
+
r.map((i) => (Hs(e, i), i().then((n) => n.default || n)))
|
|
3524
|
+
).then((i) => Ui(e, ...i));
|
|
3500
3525
|
}
|
|
3501
3526
|
const Ar = {};
|
|
3502
|
-
function
|
|
3527
|
+
function Fi(e) {
|
|
3503
3528
|
if (!Tt(e))
|
|
3504
3529
|
return e in Ar ? Ar[e] : Promise.resolve();
|
|
3505
|
-
const r =
|
|
3530
|
+
const r = Bs(e);
|
|
3506
3531
|
return Ar[e] = Promise.all(
|
|
3507
3532
|
r.map(
|
|
3508
|
-
([t, i]) =>
|
|
3533
|
+
([t, i]) => Is(t, i)
|
|
3509
3534
|
)
|
|
3510
3535
|
).then(() => {
|
|
3511
3536
|
if (Tt(e))
|
|
3512
|
-
return
|
|
3537
|
+
return Fi(e);
|
|
3513
3538
|
delete Ar[e];
|
|
3514
3539
|
}), Ar[e];
|
|
3515
3540
|
}
|
|
3516
|
-
const
|
|
3541
|
+
const Ns = {
|
|
3517
3542
|
number: {
|
|
3518
3543
|
scientific: { notation: "scientific" },
|
|
3519
3544
|
engineering: { notation: "engineering" },
|
|
@@ -3542,34 +3567,34 @@ const Is = {
|
|
|
3542
3567
|
timeZoneName: "short"
|
|
3543
3568
|
}
|
|
3544
3569
|
}
|
|
3545
|
-
},
|
|
3570
|
+
}, Os = {
|
|
3546
3571
|
fallbackLocale: null,
|
|
3547
3572
|
loadingDelay: 200,
|
|
3548
|
-
formats:
|
|
3573
|
+
formats: Ns,
|
|
3549
3574
|
warnOnMissingMessages: !0,
|
|
3550
3575
|
handleMissingMessage: void 0,
|
|
3551
3576
|
ignoreTag: !0
|
|
3552
|
-
},
|
|
3577
|
+
}, Ls = Os;
|
|
3553
3578
|
function lr() {
|
|
3554
|
-
return
|
|
3579
|
+
return Ls;
|
|
3555
3580
|
}
|
|
3556
3581
|
const yt = nt(!1);
|
|
3557
|
-
var
|
|
3582
|
+
var Ms = Object.defineProperty, Rs = Object.defineProperties, Us = Object.getOwnPropertyDescriptors, ri = Object.getOwnPropertySymbols, ks = Object.prototype.hasOwnProperty, Fs = Object.prototype.propertyIsEnumerable, ti = (e, r, t) => r in e ? Ms(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Ds = (e, r) => {
|
|
3558
3583
|
for (var t in r || (r = {}))
|
|
3559
|
-
|
|
3560
|
-
if (
|
|
3561
|
-
for (var t of
|
|
3562
|
-
|
|
3584
|
+
ks.call(r, t) && ti(e, t, r[t]);
|
|
3585
|
+
if (ri)
|
|
3586
|
+
for (var t of ri(r))
|
|
3587
|
+
Fs.call(r, t) && ti(e, t, r[t]);
|
|
3563
3588
|
return e;
|
|
3564
|
-
},
|
|
3589
|
+
}, Gs = (e, r) => Rs(e, Us(r));
|
|
3565
3590
|
let Ht;
|
|
3566
3591
|
const tt = nt(null);
|
|
3567
|
-
function
|
|
3592
|
+
function ii(e) {
|
|
3568
3593
|
return e.split("-").map((r, t, i) => i.slice(0, t + 1).join("-")).reverse();
|
|
3569
3594
|
}
|
|
3570
3595
|
function at(e, r = lr().fallbackLocale) {
|
|
3571
|
-
const t =
|
|
3572
|
-
return r ? [.../* @__PURE__ */ new Set([...t, ...
|
|
3596
|
+
const t = ii(e);
|
|
3597
|
+
return r ? [.../* @__PURE__ */ new Set([...t, ...ii(r)])] : t;
|
|
3573
3598
|
}
|
|
3574
3599
|
function De() {
|
|
3575
3600
|
return Ht != null ? Ht : void 0;
|
|
@@ -3577,22 +3602,22 @@ function De() {
|
|
|
3577
3602
|
tt.subscribe((e) => {
|
|
3578
3603
|
Ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3579
3604
|
});
|
|
3580
|
-
const
|
|
3581
|
-
if (e &&
|
|
3605
|
+
const js = (e) => {
|
|
3606
|
+
if (e && Ts(e) && Tt(e)) {
|
|
3582
3607
|
const { loadingDelay: r } = lr();
|
|
3583
3608
|
let t;
|
|
3584
3609
|
return typeof window != "undefined" && De() != null && r ? t = window.setTimeout(
|
|
3585
3610
|
() => yt.set(!0),
|
|
3586
3611
|
r
|
|
3587
|
-
) : yt.set(!0),
|
|
3612
|
+
) : yt.set(!0), Fi(e).then(() => {
|
|
3588
3613
|
tt.set(e);
|
|
3589
3614
|
}).finally(() => {
|
|
3590
3615
|
clearTimeout(t), yt.set(!1);
|
|
3591
3616
|
});
|
|
3592
3617
|
}
|
|
3593
3618
|
return tt.set(e);
|
|
3594
|
-
}, hr = Ds(
|
|
3595
|
-
set:
|
|
3619
|
+
}, hr = Gs(Ds({}, tt), {
|
|
3620
|
+
set: js
|
|
3596
3621
|
}), lt = (e) => {
|
|
3597
3622
|
const r = /* @__PURE__ */ Object.create(null);
|
|
3598
3623
|
return (i) => {
|
|
@@ -3600,20 +3625,20 @@ const Gs = (e) => {
|
|
|
3600
3625
|
return n in r ? r[n] : r[n] = e(i);
|
|
3601
3626
|
};
|
|
3602
3627
|
};
|
|
3603
|
-
var
|
|
3628
|
+
var Vs = Object.defineProperty, it = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, ni = (e, r, t) => r in e ? Vs(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, Lt = (e, r) => {
|
|
3604
3629
|
for (var t in r || (r = {}))
|
|
3605
|
-
|
|
3630
|
+
Di.call(r, t) && ni(e, t, r[t]);
|
|
3606
3631
|
if (it)
|
|
3607
3632
|
for (var t of it(r))
|
|
3608
|
-
|
|
3633
|
+
Gi.call(r, t) && ni(e, t, r[t]);
|
|
3609
3634
|
return e;
|
|
3610
3635
|
}, fr = (e, r) => {
|
|
3611
3636
|
var t = {};
|
|
3612
3637
|
for (var i in e)
|
|
3613
|
-
|
|
3638
|
+
Di.call(e, i) && r.indexOf(i) < 0 && (t[i] = e[i]);
|
|
3614
3639
|
if (e != null && it)
|
|
3615
3640
|
for (var i of it(e))
|
|
3616
|
-
r.indexOf(i) < 0 &&
|
|
3641
|
+
r.indexOf(i) < 0 && Gi.call(e, i) && (t[i] = e[i]);
|
|
3617
3642
|
return t;
|
|
3618
3643
|
};
|
|
3619
3644
|
const Nr = (e, r) => {
|
|
@@ -3621,21 +3646,21 @@ const Nr = (e, r) => {
|
|
|
3621
3646
|
if (e in t && r in t[e])
|
|
3622
3647
|
return t[e][r];
|
|
3623
3648
|
throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`);
|
|
3624
|
-
},
|
|
3649
|
+
}, $s = lt(
|
|
3625
3650
|
(e) => {
|
|
3626
3651
|
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3627
3652
|
if (t == null)
|
|
3628
3653
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3629
3654
|
return i && (n = Nr("number", i)), new Intl.NumberFormat(t, n);
|
|
3630
3655
|
}
|
|
3631
|
-
),
|
|
3656
|
+
), Qs = lt(
|
|
3632
3657
|
(e) => {
|
|
3633
3658
|
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3634
3659
|
if (t == null)
|
|
3635
3660
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3636
3661
|
return i ? n = Nr("date", i) : Object.keys(n).length === 0 && (n = Nr("date", "short")), new Intl.DateTimeFormat(t, n);
|
|
3637
3662
|
}
|
|
3638
|
-
),
|
|
3663
|
+
), zs = lt(
|
|
3639
3664
|
(e) => {
|
|
3640
3665
|
var r = e, { locale: t, format: i } = r, n = fr(r, ["locale", "format"]);
|
|
3641
3666
|
if (t == null)
|
|
@@ -3644,33 +3669,33 @@ const Nr = (e, r) => {
|
|
|
3644
3669
|
);
|
|
3645
3670
|
return i ? n = Nr("time", i) : Object.keys(n).length === 0 && (n = Nr("time", "short")), new Intl.DateTimeFormat(t, n);
|
|
3646
3671
|
}
|
|
3647
|
-
),
|
|
3672
|
+
), Xs = (e = {}) => {
|
|
3648
3673
|
var r = e, {
|
|
3649
3674
|
locale: t = De()
|
|
3650
3675
|
} = r, i = fr(r, [
|
|
3651
3676
|
"locale"
|
|
3652
3677
|
]);
|
|
3653
|
-
return
|
|
3654
|
-
},
|
|
3678
|
+
return $s(Lt({ locale: t }, i));
|
|
3679
|
+
}, Zs = (e = {}) => {
|
|
3655
3680
|
var r = e, {
|
|
3656
3681
|
locale: t = De()
|
|
3657
3682
|
} = r, i = fr(r, [
|
|
3658
3683
|
"locale"
|
|
3659
3684
|
]);
|
|
3660
|
-
return
|
|
3661
|
-
},
|
|
3685
|
+
return Qs(Lt({ locale: t }, i));
|
|
3686
|
+
}, Ws = (e = {}) => {
|
|
3662
3687
|
var r = e, {
|
|
3663
3688
|
locale: t = De()
|
|
3664
3689
|
} = r, i = fr(r, [
|
|
3665
3690
|
"locale"
|
|
3666
3691
|
]);
|
|
3667
|
-
return
|
|
3668
|
-
},
|
|
3692
|
+
return zs(Lt({ locale: t }, i));
|
|
3693
|
+
}, qs = lt(
|
|
3669
3694
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3670
|
-
(e, r = De()) => new
|
|
3695
|
+
(e, r = De()) => new Ss(e, r, lr().formats, {
|
|
3671
3696
|
ignoreTag: lr().ignoreTag
|
|
3672
3697
|
})
|
|
3673
|
-
),
|
|
3698
|
+
), Js = (e, r = {}) => {
|
|
3674
3699
|
var t, i, n, s;
|
|
3675
3700
|
let a = r;
|
|
3676
3701
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3683,7 +3708,7 @@ const Nr = (e, r) => {
|
|
|
3683
3708
|
throw new Error(
|
|
3684
3709
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3685
3710
|
);
|
|
3686
|
-
let f =
|
|
3711
|
+
let f = Mi(e, h);
|
|
3687
3712
|
if (!f)
|
|
3688
3713
|
f = (s = (n = (i = (t = lr()).handleMissingMessage) == null ? void 0 : i.call(t, { locale: h, id: e, defaultValue: c })) != null ? n : c) != null ? s : e;
|
|
3689
3714
|
else if (typeof f != "string")
|
|
@@ -3694,7 +3719,7 @@ const Nr = (e, r) => {
|
|
|
3694
3719
|
return f;
|
|
3695
3720
|
let m = f;
|
|
3696
3721
|
try {
|
|
3697
|
-
m =
|
|
3722
|
+
m = qs(f, h).format(l);
|
|
3698
3723
|
} catch (g) {
|
|
3699
3724
|
g instanceof Error && console.warn(
|
|
3700
3725
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3702,18 +3727,18 @@ const Nr = (e, r) => {
|
|
|
3702
3727
|
);
|
|
3703
3728
|
}
|
|
3704
3729
|
return m;
|
|
3705
|
-
},
|
|
3706
|
-
cr([hr], () => Js);
|
|
3730
|
+
}, Ys = (e, r) => Ws(r).format(e), Ks = (e, r) => Zs(r).format(e), eo = (e, r) => Xs(r).format(e), ro = (e, r = De()) => Mi(e, r), to = cr([hr, Or], () => Js);
|
|
3707
3731
|
cr([hr], () => Ys);
|
|
3708
3732
|
cr([hr], () => Ks);
|
|
3709
|
-
cr([hr
|
|
3710
|
-
|
|
3711
|
-
|
|
3733
|
+
cr([hr], () => eo);
|
|
3734
|
+
cr([hr, Or], () => ro);
|
|
3735
|
+
function si(e, r) {
|
|
3736
|
+
Ui(e, r);
|
|
3712
3737
|
}
|
|
3713
|
-
function
|
|
3738
|
+
function io(e) {
|
|
3714
3739
|
hr.set(e);
|
|
3715
3740
|
}
|
|
3716
|
-
const
|
|
3741
|
+
const oi = {
|
|
3717
3742
|
en: {
|
|
3718
3743
|
registerTitle: "Create your account",
|
|
3719
3744
|
registerSubtitle: "Already have an account?",
|
|
@@ -3968,13 +3993,13 @@ const ni = {
|
|
|
3968
3993
|
registerNext: "Next"
|
|
3969
3994
|
}
|
|
3970
3995
|
};
|
|
3971
|
-
function
|
|
3996
|
+
function no(e, r) {
|
|
3972
3997
|
if (e) {
|
|
3973
3998
|
const t = document.createElement("style");
|
|
3974
3999
|
t.innerHTML = r, e.appendChild(t);
|
|
3975
4000
|
}
|
|
3976
4001
|
}
|
|
3977
|
-
function
|
|
4002
|
+
function so(e, r) {
|
|
3978
4003
|
const t = new URL(r);
|
|
3979
4004
|
fetch(t.href).then((i) => i.text()).then((i) => {
|
|
3980
4005
|
const n = document.createElement("style");
|
|
@@ -3983,7 +4008,7 @@ function no(e, r) {
|
|
|
3983
4008
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
3984
4009
|
});
|
|
3985
4010
|
}
|
|
3986
|
-
function
|
|
4011
|
+
function oo(e, r, t) {
|
|
3987
4012
|
if (window.emMessageBus) {
|
|
3988
4013
|
const i = document.createElement("style");
|
|
3989
4014
|
window.emMessageBus.subscribe(r, (n) => {
|
|
@@ -3991,10 +4016,10 @@ function so(e, r, t) {
|
|
|
3991
4016
|
});
|
|
3992
4017
|
}
|
|
3993
4018
|
}
|
|
3994
|
-
function
|
|
3995
|
-
|
|
4019
|
+
function ao(e) {
|
|
4020
|
+
Wi(e, "svelte-6m40jp", ".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.PromoCodeContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.PromoCodeContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.PromoCodeContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.PromoCodeContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.PromoCodeContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect,.ToggleConfirmPasswordVisibility.InvalidToggle path,.ToggleConfirmPasswordVisibility.InvalidToggle circle,.ToggleConfirmPasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}");
|
|
3996
4021
|
}
|
|
3997
|
-
function
|
|
4022
|
+
function ai(e) {
|
|
3998
4023
|
let r, t = (
|
|
3999
4024
|
/*$_*/
|
|
4000
4025
|
e[30]("registerEmailError") + ""
|
|
@@ -4016,7 +4041,7 @@ function si(e) {
|
|
|
4016
4041
|
}
|
|
4017
4042
|
};
|
|
4018
4043
|
}
|
|
4019
|
-
function
|
|
4044
|
+
function li(e) {
|
|
4020
4045
|
let r, t = (
|
|
4021
4046
|
/*$_*/
|
|
4022
4047
|
e[30]("registerUsernameError") + ""
|
|
@@ -4038,7 +4063,7 @@ function oi(e) {
|
|
|
4038
4063
|
}
|
|
4039
4064
|
};
|
|
4040
4065
|
}
|
|
4041
|
-
function
|
|
4066
|
+
function lo(e) {
|
|
4042
4067
|
let r, t, i, n, s, a, l, h, c;
|
|
4043
4068
|
return {
|
|
4044
4069
|
c() {
|
|
@@ -4058,7 +4083,7 @@ function ao(e) {
|
|
|
4058
4083
|
}
|
|
4059
4084
|
};
|
|
4060
4085
|
}
|
|
4061
|
-
function
|
|
4086
|
+
function uo(e) {
|
|
4062
4087
|
let r, t, i, n, s, a, l, h, c, f, m, g, b, w, E;
|
|
4063
4088
|
return {
|
|
4064
4089
|
c() {
|
|
@@ -4078,7 +4103,7 @@ function lo(e) {
|
|
|
4078
4103
|
}
|
|
4079
4104
|
};
|
|
4080
4105
|
}
|
|
4081
|
-
function
|
|
4106
|
+
function ui(e) {
|
|
4082
4107
|
let r, t = (
|
|
4083
4108
|
/*$_*/
|
|
4084
4109
|
e[30]("registerPasswordError") + ""
|
|
@@ -4100,7 +4125,7 @@ function ai(e) {
|
|
|
4100
4125
|
}
|
|
4101
4126
|
};
|
|
4102
4127
|
}
|
|
4103
|
-
function
|
|
4128
|
+
function ci(e) {
|
|
4104
4129
|
let r, t = (
|
|
4105
4130
|
/*$_*/
|
|
4106
4131
|
e[30]("registerSimplePasswordError") + ""
|
|
@@ -4122,7 +4147,7 @@ function li(e) {
|
|
|
4122
4147
|
}
|
|
4123
4148
|
};
|
|
4124
4149
|
}
|
|
4125
|
-
function
|
|
4150
|
+
function co(e) {
|
|
4126
4151
|
let r, t, i, n, s, a, l, h, c;
|
|
4127
4152
|
return {
|
|
4128
4153
|
c() {
|
|
@@ -4142,7 +4167,7 @@ function uo(e) {
|
|
|
4142
4167
|
}
|
|
4143
4168
|
};
|
|
4144
4169
|
}
|
|
4145
|
-
function
|
|
4170
|
+
function ho(e) {
|
|
4146
4171
|
let r, t, i, n, s, a, l, h, c, f, m, g, b, w, E;
|
|
4147
4172
|
return {
|
|
4148
4173
|
c() {
|
|
@@ -4162,7 +4187,7 @@ function co(e) {
|
|
|
4162
4187
|
}
|
|
4163
4188
|
};
|
|
4164
4189
|
}
|
|
4165
|
-
function
|
|
4190
|
+
function hi(e) {
|
|
4166
4191
|
let r, t = (
|
|
4167
4192
|
/*$_*/
|
|
4168
4193
|
e[30]("registerConfirmPasswordError") + ""
|
|
@@ -4184,7 +4209,7 @@ function ui(e) {
|
|
|
4184
4209
|
}
|
|
4185
4210
|
};
|
|
4186
4211
|
}
|
|
4187
|
-
function
|
|
4212
|
+
function fi(e) {
|
|
4188
4213
|
let r, t = (
|
|
4189
4214
|
/*custominputtextswitch*/
|
|
4190
4215
|
(e[2] == "true" ? (
|
|
@@ -4218,7 +4243,7 @@ function ci(e) {
|
|
|
4218
4243
|
}
|
|
4219
4244
|
};
|
|
4220
4245
|
}
|
|
4221
|
-
function
|
|
4246
|
+
function di(e) {
|
|
4222
4247
|
let r, t = (
|
|
4223
4248
|
/*custominputtextswitch*/
|
|
4224
4249
|
(e[2] == "true" ? (
|
|
@@ -4252,7 +4277,7 @@ function hi(e) {
|
|
|
4252
4277
|
}
|
|
4253
4278
|
};
|
|
4254
4279
|
}
|
|
4255
|
-
function
|
|
4280
|
+
function fo(e) {
|
|
4256
4281
|
let r, t, i, n = (
|
|
4257
4282
|
/*$_*/
|
|
4258
4283
|
e[30]("registerTitle") + ""
|
|
@@ -4298,43 +4323,43 @@ function ho(e) {
|
|
|
4298
4323
|
), vr, zr, Ke, Xr, ae, Zr, er, p, N, le = (
|
|
4299
4324
|
/*$_*/
|
|
4300
4325
|
e[30]("registerNext") + ""
|
|
4301
|
-
), ut, Wr, ct,
|
|
4326
|
+
), ut, Wr, ct, Mt, W = (
|
|
4302
4327
|
/*invalidEmail*/
|
|
4303
|
-
e[4] &&
|
|
4328
|
+
e[4] && ai(e)
|
|
4304
4329
|
), q = (
|
|
4305
4330
|
/*invalidName*/
|
|
4306
|
-
e[5] &&
|
|
4331
|
+
e[5] && li(e)
|
|
4307
4332
|
);
|
|
4308
|
-
function
|
|
4333
|
+
function Rt(d, y) {
|
|
4309
4334
|
return (
|
|
4310
4335
|
/*isPasswordVisible*/
|
|
4311
|
-
d[25] ?
|
|
4336
|
+
d[25] ? uo : lo
|
|
4312
4337
|
);
|
|
4313
4338
|
}
|
|
4314
|
-
let qr =
|
|
4339
|
+
let qr = Rt(e), Se = qr(e), J = (
|
|
4315
4340
|
/*invalidPassword*/
|
|
4316
4341
|
e[6] && /*simplepasswordvalidation*/
|
|
4317
|
-
e[0] !== "true" &&
|
|
4342
|
+
e[0] !== "true" && ui(e)
|
|
4318
4343
|
), Y = (
|
|
4319
4344
|
/*invalidPassword*/
|
|
4320
4345
|
e[6] && /*simplepasswordvalidation*/
|
|
4321
|
-
e[0] === "true" &&
|
|
4346
|
+
e[0] === "true" && ci(e)
|
|
4322
4347
|
);
|
|
4323
|
-
function
|
|
4348
|
+
function Ut(d, y) {
|
|
4324
4349
|
return (
|
|
4325
4350
|
/*isConfirmPasswordVisible*/
|
|
4326
|
-
d[26] ?
|
|
4351
|
+
d[26] ? ho : co
|
|
4327
4352
|
);
|
|
4328
4353
|
}
|
|
4329
|
-
let Jr =
|
|
4354
|
+
let Jr = Ut(e), Pe = Jr(e), K = (
|
|
4330
4355
|
/*invalidConfirmPassword*/
|
|
4331
|
-
e[7] &&
|
|
4356
|
+
e[7] && hi(e)
|
|
4332
4357
|
), ee = (
|
|
4333
4358
|
/*invalidSecurityQuestion*/
|
|
4334
|
-
e[8] &&
|
|
4359
|
+
e[8] && fi(e)
|
|
4335
4360
|
), re = (
|
|
4336
4361
|
/*invalidSecurityAnswer*/
|
|
4337
|
-
e[9] &&
|
|
4362
|
+
e[9] && di(e)
|
|
4338
4363
|
);
|
|
4339
4364
|
return {
|
|
4340
4365
|
c() {
|
|
@@ -4393,7 +4418,7 @@ function ho(e) {
|
|
|
4393
4418
|
ae,
|
|
4394
4419
|
/*securityAnswer*/
|
|
4395
4420
|
e[23]
|
|
4396
|
-
), u(de, Zr), re && re.m(de, null), u(E, p), u(E, N), u(N, ut), e[79](r), ct || (
|
|
4421
|
+
), u(de, Zr), re && re.m(de, null), u(E, p), u(E, N), u(N, ut), e[79](r), ct || (Mt = [
|
|
4397
4422
|
x(
|
|
4398
4423
|
m,
|
|
4399
4424
|
"click",
|
|
@@ -4577,7 +4602,7 @@ function ho(e) {
|
|
|
4577
4602
|
], ct = !0);
|
|
4578
4603
|
},
|
|
4579
4604
|
p(d, y) {
|
|
4580
|
-
var wr, _r, Sr, Pr, xr, Cr,
|
|
4605
|
+
var wr, _r, Sr, Pr, xr, Cr, kt, Ft;
|
|
4581
4606
|
y[0] & /*$_*/
|
|
4582
4607
|
1073741824 && n !== (n = /*$_*/
|
|
4583
4608
|
d[30]("registerTitle") + "") && D(s, n), y[0] & /*$_*/
|
|
@@ -4593,7 +4618,7 @@ function ho(e) {
|
|
|
4593
4618
|
/*userEmail*/
|
|
4594
4619
|
d[19]
|
|
4595
4620
|
), /*invalidEmail*/
|
|
4596
|
-
d[4] ? W ? W.p(d, y) : (W =
|
|
4621
|
+
d[4] ? W ? W.p(d, y) : (W = ai(d), W.c(), W.m(A, null)) : W && (W.d(1), W = null), y[0] & /*invalidEmail, emailFocus, disabledFieldsList*/
|
|
4597
4622
|
132112 && Ae !== (Ae = "EmailContainer " + /*invalidEmail*/
|
|
4598
4623
|
(d[4] && !/*emailFocus*/
|
|
4599
4624
|
d[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4608,7 +4633,7 @@ function ho(e) {
|
|
|
4608
4633
|
/*userValue*/
|
|
4609
4634
|
d[18]
|
|
4610
4635
|
), /*invalidName*/
|
|
4611
|
-
d[5] ? q ? q.p(d, y) : (q =
|
|
4636
|
+
d[5] ? q ? q.p(d, y) : (q = li(d), q.c(), q.m(k, null)) : q && (q.d(1), q = null), y[0] & /*invalidName, usernameFocus, disabledFieldsList*/
|
|
4612
4637
|
133152 && Ee !== (Ee = "UserContainer " + /*invalidName*/
|
|
4613
4638
|
(d[5] && !/*usernameFocus*/
|
|
4614
4639
|
d[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4622,11 +4647,11 @@ function ho(e) {
|
|
|
4622
4647
|
B,
|
|
4623
4648
|
/*userPassword*/
|
|
4624
4649
|
d[20]
|
|
4625
|
-
), qr === (qr =
|
|
4650
|
+
), qr === (qr = Rt(d)) && Se ? Se.p(d, y) : (Se.d(1), Se = qr(d), Se && (Se.c(), Se.m(C, mr))), /*invalidPassword*/
|
|
4626
4651
|
d[6] && /*simplepasswordvalidation*/
|
|
4627
|
-
d[0] !== "true" ? J ? J.p(d, y) : (J =
|
|
4652
|
+
d[0] !== "true" ? J ? J.p(d, y) : (J = ui(d), J.c(), J.m(C, Ve)) : J && (J.d(1), J = null), /*invalidPassword*/
|
|
4628
4653
|
d[6] && /*simplepasswordvalidation*/
|
|
4629
|
-
d[0] === "true" ? Y ? Y.p(d, y) : (Y =
|
|
4654
|
+
d[0] === "true" ? Y ? Y.p(d, y) : (Y = ci(d), Y.c(), Y.m(C, null)) : Y && (Y.d(1), Y = null), y[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
|
|
4630
4655
|
135232 && Re !== (Re = "PasswordContainer " + /*invalidPassword*/
|
|
4631
4656
|
(d[6] && !/*passwordFocus*/
|
|
4632
4657
|
d[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4640,8 +4665,8 @@ function ho(e) {
|
|
|
4640
4665
|
$,
|
|
4641
4666
|
/*confirmUserPassword*/
|
|
4642
4667
|
d[21]
|
|
4643
|
-
), Jr === (Jr =
|
|
4644
|
-
d[7] ? K ? K.p(d, y) : (K =
|
|
4668
|
+
), Jr === (Jr = Ut(d)) && Pe ? Pe.p(d, y) : (Pe.d(1), Pe = Jr(d), Pe && (Pe.c(), Pe.m(j, ze))), /*invalidConfirmPassword*/
|
|
4669
|
+
d[7] ? K ? K.p(d, y) : (K = hi(d), K.c(), K.m(j, null)) : K && (K.d(1), K = null), y[0] & /*invalidConfirmPassword, confirmPasswordFocus, disabledFieldsList*/
|
|
4645
4670
|
139392 && ke !== (ke = "ConfirmPasswordContainer " + /*invalidConfirmPassword*/
|
|
4646
4671
|
(d[7] && !/*confirmPasswordFocus*/
|
|
4647
4672
|
d[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -4670,11 +4695,11 @@ function ho(e) {
|
|
|
4670
4695
|
/*securityQuestion*/
|
|
4671
4696
|
d[22]
|
|
4672
4697
|
), /*invalidSecurityQuestion*/
|
|
4673
|
-
d[8] ? ee ? ee.p(d, y) : (ee =
|
|
4698
|
+
d[8] ? ee ? ee.p(d, y) : (ee = fi(d), ee.c(), ee.m(fe, null)) : ee && (ee.d(1), ee = null), y[0] & /*invalidSecurityQuestion, securityQFocus, disabledFieldsList*/
|
|
4674
4699
|
147712 && Je !== (Je = "SecurityQuestionContainer " + /*invalidSecurityQuestion*/
|
|
4675
4700
|
(d[8] && !/*securityQFocus*/
|
|
4676
4701
|
d[14] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4677
|
-
(((
|
|
4702
|
+
(((kt = d[17]) == null ? void 0 : kt.indexOf("securityQuestion")) >= 0 ? "Hidden" : "")) && o(fe, "class", Je), y[0] & /*custominputtextswitch, $_*/
|
|
4678
4703
|
1073741828 && Ye !== (Ye = /*custominputtextswitch*/
|
|
4679
4704
|
(d[2] == "true" ? (
|
|
4680
4705
|
/*$_*/
|
|
@@ -4689,11 +4714,11 @@ function ho(e) {
|
|
|
4689
4714
|
/*securityAnswer*/
|
|
4690
4715
|
d[23]
|
|
4691
4716
|
), /*invalidSecurityAnswer*/
|
|
4692
|
-
d[9] ? re ? re.p(d, y) : (re =
|
|
4717
|
+
d[9] ? re ? re.p(d, y) : (re = di(d), re.c(), re.m(de, null)) : re && (re.d(1), re = null), y[0] & /*invalidSecurityAnswer, securityAFocus, disabledFieldsList*/
|
|
4693
4718
|
164352 && er !== (er = "SecurityAnswerContainer " + /*invalidSecurityAnswer*/
|
|
4694
4719
|
(d[9] && !/*securityAFocus*/
|
|
4695
4720
|
d[15] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
4696
|
-
(((
|
|
4721
|
+
(((Ft = d[17]) == null ? void 0 : Ft.indexOf("securityAnswer")) >= 0 ? "Hidden" : "")) && o(de, "class", er), y[0] & /*$_*/
|
|
4697
4722
|
1073741824 && le !== (le = /*$_*/
|
|
4698
4723
|
d[30]("registerNext") + "") && D(ut, le), y[0] & /*isValid*/
|
|
4699
4724
|
536870912 && Wr !== (Wr = !/*isValid*/
|
|
@@ -4702,13 +4727,13 @@ function ho(e) {
|
|
|
4702
4727
|
i: z,
|
|
4703
4728
|
o: z,
|
|
4704
4729
|
d(d) {
|
|
4705
|
-
d && ie(r), W && W.d(), q && q.d(), e[60](null), Se.d(), J && J.d(), Y && Y.d(), e[66](null), Pe.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null), ct = !1, ur(
|
|
4730
|
+
d && ie(r), W && W.d(), q && q.d(), e[60](null), Se.d(), J && J.d(), Y && Y.d(), e[66](null), Pe.d(), K && K.d(), ee && ee.d(), re && re.d(), e[79](null), ct = !1, ur(Mt);
|
|
4706
4731
|
}
|
|
4707
4732
|
};
|
|
4708
4733
|
}
|
|
4709
|
-
function
|
|
4734
|
+
function mo(e, r, t) {
|
|
4710
4735
|
let i;
|
|
4711
|
-
|
|
4736
|
+
Zi(e, to, (p) => t(30, i = p));
|
|
4712
4737
|
let { lang: n = "" } = r, { disabledfields: s = "" } = r, { simplepasswordvalidation: a = "false" } = r, { mbsource: l } = r, { clientstyling: h = "" } = r, { clientstylingurl: c = "" } = r, { translationurl: f = "" } = r, { savecredentials: m = "" } = r, { custominputtextswitch: g = "false" } = r, b = !1, w = !1, E = !1, A = !1, O = !1, M = !1, R = !1, ce = !1, G = !1, ge = !1, U = !1, Ge = !1, Ae = !1, je, k = "", X = "", he = "", pe = "", ne = "", V = "", Te = "", F = !1, xe = !1, He, Ee, be = {}, C = {
|
|
4713
4738
|
username: !1,
|
|
4714
4739
|
email: !1,
|
|
@@ -4726,14 +4751,14 @@ function fo(e, r, t) {
|
|
|
4726
4751
|
const Lr = () => {
|
|
4727
4752
|
fetch(f).then((N) => N.json()).then((N) => {
|
|
4728
4753
|
Object.keys(N).forEach((le) => {
|
|
4729
|
-
|
|
4754
|
+
si(le, N[le]);
|
|
4730
4755
|
});
|
|
4731
4756
|
}).catch((N) => {
|
|
4732
4757
|
console.log(N);
|
|
4733
4758
|
});
|
|
4734
4759
|
};
|
|
4735
|
-
Object.keys(
|
|
4736
|
-
|
|
4760
|
+
Object.keys(oi).forEach((p) => {
|
|
4761
|
+
si(p, oi[p]);
|
|
4737
4762
|
});
|
|
4738
4763
|
const Le = () => {
|
|
4739
4764
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
@@ -4789,36 +4814,38 @@ function fo(e, r, t) {
|
|
|
4789
4814
|
}, pr = () => {
|
|
4790
4815
|
be.promoCode = Te;
|
|
4791
4816
|
}, $ = () => {
|
|
4792
|
-
if (be.securityQuestion = ne, ne)
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4817
|
+
if (be.securityQuestion = ne, ne)
|
|
4818
|
+
switch (g) {
|
|
4819
|
+
case "true":
|
|
4820
|
+
if (we.document.test(ne) && ne.length <= 50) {
|
|
4821
|
+
t(8, O = !1), C.securityQuestion = !O, B();
|
|
4822
|
+
return;
|
|
4823
|
+
}
|
|
4824
|
+
break;
|
|
4825
|
+
case "false":
|
|
4826
|
+
if (ne && ne.length <= 120) {
|
|
4827
|
+
t(8, O = !1), C.securityQuestion = !O, B();
|
|
4828
|
+
return;
|
|
4829
|
+
}
|
|
4830
|
+
break;
|
|
4831
|
+
}
|
|
4806
4832
|
t(8, O = !0), C.securityQuestion = !O, B();
|
|
4807
4833
|
}, br = () => {
|
|
4808
|
-
if (be.securityAnswer = V, V)
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4834
|
+
if (be.securityAnswer = V, V)
|
|
4835
|
+
switch (g) {
|
|
4836
|
+
case "true":
|
|
4837
|
+
if (we.document.test(V) && V.length <= 50) {
|
|
4838
|
+
t(9, M = !1), C.securityAnswer = !M, B();
|
|
4839
|
+
return;
|
|
4840
|
+
}
|
|
4841
|
+
break;
|
|
4842
|
+
case "false":
|
|
4843
|
+
if (V && V.length <= 120) {
|
|
4844
|
+
t(9, M = !1), C.securityAnswer = !M, B();
|
|
4845
|
+
return;
|
|
4846
|
+
}
|
|
4847
|
+
break;
|
|
4848
|
+
}
|
|
4822
4849
|
t(9, M = !0), C.securityAnswer = !M, B();
|
|
4823
4850
|
}, ze = (p) => {
|
|
4824
4851
|
p.preventDefault(), window.postMessage(
|
|
@@ -4841,9 +4868,9 @@ function fo(e, r, t) {
|
|
|
4841
4868
|
}, Ur = () => {
|
|
4842
4869
|
t(17, je = s.split(","));
|
|
4843
4870
|
}, _e = () => {
|
|
4844
|
-
|
|
4871
|
+
io(n);
|
|
4845
4872
|
};
|
|
4846
|
-
|
|
4873
|
+
rn(() => (window.addEventListener("message", ke, !1), () => {
|
|
4847
4874
|
window.removeEventListener("message", ke);
|
|
4848
4875
|
}));
|
|
4849
4876
|
const Fe = () => Le();
|
|
@@ -4900,11 +4927,11 @@ function fo(e, r, t) {
|
|
|
4900
4927
|
16384 && s && Ur(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
4901
4928
|
1 && a && mr(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4902
4929
|
8 | e.$$.dirty[1] & /*clientstyling*/
|
|
4903
|
-
65536 && h && Z &&
|
|
4930
|
+
65536 && h && Z && no(Z, h), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4904
4931
|
8 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
4905
|
-
131072 && c && Z &&
|
|
4932
|
+
131072 && c && Z && so(Z, c), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4906
4933
|
8 | e.$$.dirty[1] & /*mbsource*/
|
|
4907
|
-
32768 && l && Z &&
|
|
4934
|
+
32768 && l && Z && oo(Z, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
4908
4935
|
262144 && f && Lr();
|
|
4909
4936
|
}, [
|
|
4910
4937
|
a,
|
|
@@ -4989,14 +5016,14 @@ function fo(e, r, t) {
|
|
|
4989
5016
|
er
|
|
4990
5017
|
];
|
|
4991
5018
|
}
|
|
4992
|
-
class
|
|
5019
|
+
class go extends mn {
|
|
4993
5020
|
constructor(r) {
|
|
4994
|
-
super(),
|
|
5021
|
+
super(), fn(
|
|
4995
5022
|
this,
|
|
4996
5023
|
r,
|
|
5024
|
+
mo,
|
|
4997
5025
|
fo,
|
|
4998
|
-
|
|
4999
|
-
di,
|
|
5026
|
+
gi,
|
|
5000
5027
|
{
|
|
5001
5028
|
lang: 44,
|
|
5002
5029
|
disabledfields: 45,
|
|
@@ -5008,7 +5035,7 @@ class mo extends fn {
|
|
|
5008
5035
|
savecredentials: 1,
|
|
5009
5036
|
custominputtextswitch: 2
|
|
5010
5037
|
},
|
|
5011
|
-
|
|
5038
|
+
ao,
|
|
5012
5039
|
[-1, -1, -1, -1]
|
|
5013
5040
|
);
|
|
5014
5041
|
}
|
|
@@ -5067,7 +5094,7 @@ class mo extends fn {
|
|
|
5067
5094
|
this.$$set({ custominputtextswitch: r }), ye();
|
|
5068
5095
|
}
|
|
5069
5096
|
}
|
|
5070
|
-
|
|
5097
|
+
dn(go, { lang: {}, disabledfields: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {} }, [], [], !0);
|
|
5071
5098
|
export {
|
|
5072
|
-
|
|
5099
|
+
go as default
|
|
5073
5100
|
};
|