@everymatrix/general-player-login-form-nd 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/{GeneralPlayerLoginFormNd-xnE2Zb9y.js → GeneralPlayerLoginFormNd-CtX8_rlt.js} +669 -616
- package/components/{GeneralPlayerLoginFormNd-D3H9ICl3.js → GeneralPlayerLoginFormNd-DTdPAieU.js} +634 -581
- package/components/GeneralPlayerLoginFormNd-JWJvcrfS.cjs +18 -0
- package/components/{GeneralPlayerSmsVerificationForm-BHz4UBWL.js → GeneralPlayerSmsVerificationForm-B2rhd8Mx.js} +23 -23
- package/components/{GeneralPlayerSmsVerificationForm-B2XeBnlv.js → GeneralPlayerSmsVerificationForm-BC3XyseB.js} +25 -25
- package/components/{GeneralPlayerSmsVerificationForm-BDR5z4c0.cjs → GeneralPlayerSmsVerificationForm-Biit2Nc5.cjs} +1 -1
- package/es2015/general-player-login-form-nd.cjs +1 -1
- package/es2015/general-player-login-form-nd.js +1 -1
- package/esnext/general-player-login-form-nd.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerLoginFormNd-C9dwqqQ8.cjs +0 -5
package/components/{GeneralPlayerLoginFormNd-xnE2Zb9y.js → GeneralPlayerLoginFormNd-CtX8_rlt.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function Z() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Er(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Xt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function Me(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(Er);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function kt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function xr(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let tt;
|
|
19
|
-
function
|
|
19
|
+
function Wt(e, t) {
|
|
20
20
|
return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function sn(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function Sr(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,21 +31,22 @@ function wr(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function an(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(Sr(t, r));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function m(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function ln(e, t, r) {
|
|
41
|
+
const n = un(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
43
|
const i = x("style");
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
44
|
+
i.id = t, i.textContent = r, cn(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
if (!e)
|
|
47
|
+
function un(e) {
|
|
48
|
+
if (!e)
|
|
49
|
+
return document;
|
|
49
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
50
51
|
return t && /** @type {ShadowRoot} */
|
|
51
52
|
t.host ? (
|
|
@@ -53,8 +54,8 @@ function on(e) {
|
|
|
53
54
|
t
|
|
54
55
|
) : e.ownerDocument;
|
|
55
56
|
}
|
|
56
|
-
function
|
|
57
|
-
return
|
|
57
|
+
function cn(e, t) {
|
|
58
|
+
return m(
|
|
58
59
|
/** @type {Document} */
|
|
59
60
|
e.head || e,
|
|
60
61
|
t
|
|
@@ -78,7 +79,7 @@ function N(e) {
|
|
|
78
79
|
function j() {
|
|
79
80
|
return N(" ");
|
|
80
81
|
}
|
|
81
|
-
function
|
|
82
|
+
function hn() {
|
|
82
83
|
return N("");
|
|
83
84
|
}
|
|
84
85
|
function oe(e, t, r, n) {
|
|
@@ -91,7 +92,7 @@ function W(e, t, r) {
|
|
|
91
92
|
const n = t.toLowerCase();
|
|
92
93
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : h(e, t, r);
|
|
93
94
|
}
|
|
94
|
-
function
|
|
95
|
+
function fn(e) {
|
|
95
96
|
return Array.from(e.childNodes);
|
|
96
97
|
}
|
|
97
98
|
function te(e, t) {
|
|
@@ -101,7 +102,7 @@ function te(e, t) {
|
|
|
101
102
|
function rt(e, t) {
|
|
102
103
|
e.value = t ?? "";
|
|
103
104
|
}
|
|
104
|
-
function
|
|
105
|
+
function dn(e) {
|
|
105
106
|
const t = {};
|
|
106
107
|
return e.childNodes.forEach(
|
|
107
108
|
/** @param {Element} node */
|
|
@@ -114,21 +115,22 @@ let ze;
|
|
|
114
115
|
function Ve(e) {
|
|
115
116
|
ze = e;
|
|
116
117
|
}
|
|
117
|
-
function
|
|
118
|
-
if (!ze)
|
|
118
|
+
function mn() {
|
|
119
|
+
if (!ze)
|
|
120
|
+
throw new Error("Function called outside component initialization");
|
|
119
121
|
return ze;
|
|
120
122
|
}
|
|
121
|
-
function
|
|
122
|
-
|
|
123
|
+
function pn(e) {
|
|
124
|
+
mn().$$.on_mount.push(e);
|
|
123
125
|
}
|
|
124
126
|
const He = [], ut = [];
|
|
125
127
|
let Be = [];
|
|
126
|
-
const
|
|
127
|
-
let
|
|
128
|
-
function
|
|
129
|
-
|
|
128
|
+
const Zt = [], gn = /* @__PURE__ */ Promise.resolve();
|
|
129
|
+
let Pt = !1;
|
|
130
|
+
function bn() {
|
|
131
|
+
Pt || (Pt = !0, gn.then(K));
|
|
130
132
|
}
|
|
131
|
-
function
|
|
133
|
+
function Tt(e) {
|
|
132
134
|
Be.push(e);
|
|
133
135
|
}
|
|
134
136
|
const bt = /* @__PURE__ */ new Set();
|
|
@@ -141,52 +143,53 @@ function K() {
|
|
|
141
143
|
try {
|
|
142
144
|
for (; Pe < He.length; ) {
|
|
143
145
|
const t = He[Pe];
|
|
144
|
-
Pe++, Ve(t),
|
|
146
|
+
Pe++, Ve(t), vn(t.$$);
|
|
145
147
|
}
|
|
146
148
|
} catch (t) {
|
|
147
149
|
throw He.length = 0, Pe = 0, t;
|
|
148
150
|
}
|
|
149
|
-
for (Ve(null), He.length = 0, Pe = 0; ut.length; )
|
|
151
|
+
for (Ve(null), He.length = 0, Pe = 0; ut.length; )
|
|
152
|
+
ut.pop()();
|
|
150
153
|
for (let t = 0; t < Be.length; t += 1) {
|
|
151
154
|
const r = Be[t];
|
|
152
155
|
bt.has(r) || (bt.add(r), r());
|
|
153
156
|
}
|
|
154
157
|
Be.length = 0;
|
|
155
158
|
} while (He.length);
|
|
156
|
-
for (;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
+
for (; Zt.length; )
|
|
160
|
+
Zt.pop()();
|
|
161
|
+
Pt = !1, bt.clear(), Ve(e);
|
|
159
162
|
}
|
|
160
|
-
function
|
|
163
|
+
function vn(e) {
|
|
161
164
|
if (e.fragment !== null) {
|
|
162
165
|
e.update(), Me(e.before_update);
|
|
163
166
|
const t = e.dirty;
|
|
164
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
167
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Tt);
|
|
165
168
|
}
|
|
166
169
|
}
|
|
167
|
-
function
|
|
170
|
+
function yn(e) {
|
|
168
171
|
const t = [], r = [];
|
|
169
172
|
Be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Be = t;
|
|
170
173
|
}
|
|
171
|
-
const
|
|
172
|
-
function
|
|
173
|
-
e && e.i && (
|
|
174
|
+
const _n = /* @__PURE__ */ new Set();
|
|
175
|
+
function wn(e, t) {
|
|
176
|
+
e && e.i && (_n.delete(e), e.i(t));
|
|
174
177
|
}
|
|
175
|
-
function
|
|
178
|
+
function En(e, t, r) {
|
|
176
179
|
const { fragment: n, after_update: i } = e.$$;
|
|
177
|
-
n && n.m(t, r),
|
|
178
|
-
const o = e.$$.on_mount.map(
|
|
180
|
+
n && n.m(t, r), Tt(() => {
|
|
181
|
+
const o = e.$$.on_mount.map(Er).filter(kt);
|
|
179
182
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Me(o), e.$$.on_mount = [];
|
|
180
|
-
}), i.forEach(
|
|
183
|
+
}), i.forEach(Tt);
|
|
181
184
|
}
|
|
182
|
-
function
|
|
185
|
+
function xn(e, t) {
|
|
183
186
|
const r = e.$$;
|
|
184
|
-
r.fragment !== null && (
|
|
187
|
+
r.fragment !== null && (yn(r.after_update), Me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
185
188
|
}
|
|
186
|
-
function
|
|
187
|
-
e.$$.dirty[0] === -1 && (He.push(e),
|
|
189
|
+
function Sn(e, t) {
|
|
190
|
+
e.$$.dirty[0] === -1 && (He.push(e), bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
188
191
|
}
|
|
189
|
-
function
|
|
192
|
+
function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
190
193
|
const c = ze;
|
|
191
194
|
Ve(e);
|
|
192
195
|
const l = e.$$ = {
|
|
@@ -196,7 +199,7 @@ function wn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
196
199
|
props: o,
|
|
197
200
|
update: Z,
|
|
198
201
|
not_equal: i,
|
|
199
|
-
bound:
|
|
202
|
+
bound: Xt(),
|
|
200
203
|
// lifecycle
|
|
201
204
|
on_mount: [],
|
|
202
205
|
on_destroy: [],
|
|
@@ -205,28 +208,28 @@ function wn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
205
208
|
after_update: [],
|
|
206
209
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
207
210
|
// everything else
|
|
208
|
-
callbacks:
|
|
211
|
+
callbacks: Xt(),
|
|
209
212
|
dirty: a,
|
|
210
213
|
skip_bound: !1,
|
|
211
214
|
root: t.target || c.$$.root
|
|
212
215
|
};
|
|
213
216
|
s && s(l.root);
|
|
214
217
|
let u = !1;
|
|
215
|
-
if (l.ctx = r ? r(e, t.props || {}, (f,
|
|
216
|
-
const y = b.length ? b[0] :
|
|
217
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u &&
|
|
218
|
+
if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
|
|
219
|
+
const y = b.length ? b[0] : d;
|
|
220
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u && Sn(e, f)), d;
|
|
218
221
|
}) : [], l.update(), u = !0, Me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
219
222
|
if (t.hydrate) {
|
|
220
|
-
const f =
|
|
223
|
+
const f = fn(t.target);
|
|
221
224
|
l.fragment && l.fragment.l(f), f.forEach(I);
|
|
222
225
|
} else
|
|
223
226
|
l.fragment && l.fragment.c();
|
|
224
|
-
t.intro &&
|
|
227
|
+
t.intro && wn(e.$$.fragment), En(e, t.target, t.anchor), K();
|
|
225
228
|
}
|
|
226
229
|
Ve(c);
|
|
227
230
|
}
|
|
228
|
-
let
|
|
229
|
-
typeof HTMLElement == "function" && (
|
|
231
|
+
let Pr;
|
|
232
|
+
typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
|
|
230
233
|
/** The Svelte component constructor */
|
|
231
234
|
$$ctor;
|
|
232
235
|
/** Slots */
|
|
@@ -285,7 +288,7 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
|
285
288
|
};
|
|
286
289
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
287
290
|
return;
|
|
288
|
-
const t = {}, r =
|
|
291
|
+
const t = {}, r = dn(this);
|
|
289
292
|
for (const i of this.$$s)
|
|
290
293
|
i in r && (t[i] = [e(i)]);
|
|
291
294
|
for (const i of this.attributes) {
|
|
@@ -372,8 +375,8 @@ function ot(e, t, r, n) {
|
|
|
372
375
|
return t;
|
|
373
376
|
}
|
|
374
377
|
}
|
|
375
|
-
function
|
|
376
|
-
let s = class extends
|
|
378
|
+
function Tn(e, t, r, n, i, o) {
|
|
379
|
+
let s = class extends Pr {
|
|
377
380
|
constructor() {
|
|
378
381
|
super(e, r, i), this.$$p_d = t;
|
|
379
382
|
}
|
|
@@ -401,7 +404,7 @@ function En(e, t, r, n, i, o) {
|
|
|
401
404
|
}), e.element = /** @type {any} */
|
|
402
405
|
s, s;
|
|
403
406
|
}
|
|
404
|
-
class
|
|
407
|
+
class Hn {
|
|
405
408
|
/**
|
|
406
409
|
* ### PRIVATE API
|
|
407
410
|
*
|
|
@@ -420,7 +423,7 @@ class xn {
|
|
|
420
423
|
$$set = void 0;
|
|
421
424
|
/** @returns {void} */
|
|
422
425
|
$destroy() {
|
|
423
|
-
|
|
426
|
+
xn(this, 1), this.$destroy = Z;
|
|
424
427
|
}
|
|
425
428
|
/**
|
|
426
429
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -429,7 +432,7 @@ class xn {
|
|
|
429
432
|
* @returns {() => void}
|
|
430
433
|
*/
|
|
431
434
|
$on(t, r) {
|
|
432
|
-
if (!
|
|
435
|
+
if (!kt(r))
|
|
433
436
|
return Z;
|
|
434
437
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
435
438
|
return n.push(r), () => {
|
|
@@ -442,22 +445,37 @@ class xn {
|
|
|
442
445
|
* @returns {void}
|
|
443
446
|
*/
|
|
444
447
|
$set(t) {
|
|
445
|
-
this.$$set && !
|
|
448
|
+
this.$$set && !sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
446
449
|
}
|
|
447
450
|
}
|
|
448
|
-
const
|
|
449
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
450
|
-
|
|
451
|
-
|
|
451
|
+
const Bn = "4";
|
|
452
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Bn);
|
|
453
|
+
/*! *****************************************************************************
|
|
454
|
+
Copyright (c) Microsoft Corporation.
|
|
455
|
+
|
|
456
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
457
|
+
purpose with or without fee is hereby granted.
|
|
458
|
+
|
|
459
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
460
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
461
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
462
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
463
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
464
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
465
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
466
|
+
***************************************************************************** */
|
|
467
|
+
var Ht = function(e, t) {
|
|
468
|
+
return Ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
452
469
|
r.__proto__ = n;
|
|
453
470
|
} || function(r, n) {
|
|
454
|
-
for (var i in n)
|
|
455
|
-
|
|
471
|
+
for (var i in n)
|
|
472
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
473
|
+
}, Ht(e, t);
|
|
456
474
|
};
|
|
457
475
|
function ae(e, t) {
|
|
458
476
|
if (typeof t != "function" && t !== null)
|
|
459
477
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
460
|
-
|
|
478
|
+
Ht(e, t);
|
|
461
479
|
function r() {
|
|
462
480
|
this.constructor = e;
|
|
463
481
|
}
|
|
@@ -467,61 +485,69 @@ var E = function() {
|
|
|
467
485
|
return E = Object.assign || function(t) {
|
|
468
486
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
469
487
|
r = arguments[n];
|
|
470
|
-
for (var o in r)
|
|
488
|
+
for (var o in r)
|
|
489
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
471
490
|
}
|
|
472
491
|
return t;
|
|
473
492
|
}, E.apply(this, arguments);
|
|
474
493
|
};
|
|
475
|
-
function
|
|
494
|
+
function An(e, t) {
|
|
476
495
|
var r = {};
|
|
477
|
-
for (var n in e)
|
|
496
|
+
for (var n in e)
|
|
497
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
478
498
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
479
499
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
480
500
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
481
501
|
return r;
|
|
482
502
|
}
|
|
483
|
-
function
|
|
503
|
+
function Bt(e) {
|
|
484
504
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
485
|
-
if (r)
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
505
|
+
if (r)
|
|
506
|
+
return r.call(e);
|
|
507
|
+
if (e && typeof e.length == "number")
|
|
508
|
+
return {
|
|
509
|
+
next: function() {
|
|
510
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
511
|
+
}
|
|
512
|
+
};
|
|
491
513
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
492
514
|
}
|
|
493
|
-
function
|
|
515
|
+
function At(e, t) {
|
|
494
516
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
495
|
-
if (!r)
|
|
517
|
+
if (!r)
|
|
518
|
+
return e;
|
|
496
519
|
var n = r.call(e), i, o = [], s;
|
|
497
520
|
try {
|
|
498
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
521
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
522
|
+
o.push(i.value);
|
|
499
523
|
} catch (a) {
|
|
500
524
|
s = { error: a };
|
|
501
525
|
} finally {
|
|
502
526
|
try {
|
|
503
527
|
i && !i.done && (r = n.return) && r.call(n);
|
|
504
528
|
} finally {
|
|
505
|
-
if (s)
|
|
529
|
+
if (s)
|
|
530
|
+
throw s.error;
|
|
506
531
|
}
|
|
507
532
|
}
|
|
508
533
|
return o;
|
|
509
534
|
}
|
|
510
535
|
function Ae(e, t, r) {
|
|
511
|
-
if (r || arguments.length === 2)
|
|
512
|
-
(
|
|
513
|
-
|
|
536
|
+
if (r || arguments.length === 2)
|
|
537
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
538
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
539
|
+
return e.concat(o || t);
|
|
514
540
|
}
|
|
515
541
|
function se(e) {
|
|
516
542
|
return typeof e == "function";
|
|
517
543
|
}
|
|
518
|
-
function
|
|
544
|
+
function Tr(e) {
|
|
519
545
|
var t = function(n) {
|
|
520
546
|
Error.call(n), n.stack = new Error().stack;
|
|
521
547
|
}, r = e(t);
|
|
522
548
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
523
549
|
}
|
|
524
|
-
var vt =
|
|
550
|
+
var vt = Tr(function(e) {
|
|
525
551
|
return function(r) {
|
|
526
552
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
527
553
|
` + r.map(function(n, i) {
|
|
@@ -530,7 +556,7 @@ var vt = xr(function(e) {
|
|
|
530
556
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
531
557
|
};
|
|
532
558
|
});
|
|
533
|
-
function
|
|
559
|
+
function It(e, t) {
|
|
534
560
|
if (e) {
|
|
535
561
|
var r = e.indexOf(t);
|
|
536
562
|
0 <= r && e.splice(r, 1);
|
|
@@ -548,7 +574,7 @@ var ft = function() {
|
|
|
548
574
|
if (s)
|
|
549
575
|
if (this._parentage = null, Array.isArray(s))
|
|
550
576
|
try {
|
|
551
|
-
for (var a =
|
|
577
|
+
for (var a = Bt(s), c = a.next(); !c.done; c = a.next()) {
|
|
552
578
|
var l = c.value;
|
|
553
579
|
l.remove(this);
|
|
554
580
|
}
|
|
@@ -558,7 +584,8 @@ var ft = function() {
|
|
|
558
584
|
try {
|
|
559
585
|
c && !c.done && (r = a.return) && r.call(a);
|
|
560
586
|
} finally {
|
|
561
|
-
if (t)
|
|
587
|
+
if (t)
|
|
588
|
+
throw t.error;
|
|
562
589
|
}
|
|
563
590
|
}
|
|
564
591
|
else
|
|
@@ -574,21 +601,22 @@ var ft = function() {
|
|
|
574
601
|
if (f) {
|
|
575
602
|
this._finalizers = null;
|
|
576
603
|
try {
|
|
577
|
-
for (var
|
|
604
|
+
for (var d = Bt(f), b = d.next(); !b.done; b = d.next()) {
|
|
578
605
|
var y = b.value;
|
|
579
606
|
try {
|
|
580
|
-
|
|
607
|
+
qt(y);
|
|
581
608
|
} catch (g) {
|
|
582
|
-
o = o ?? [], g instanceof vt ? o = Ae(Ae([],
|
|
609
|
+
o = o ?? [], g instanceof vt ? o = Ae(Ae([], At(o)), At(g.errors)) : o.push(g);
|
|
583
610
|
}
|
|
584
611
|
}
|
|
585
612
|
} catch (g) {
|
|
586
613
|
n = { error: g };
|
|
587
614
|
} finally {
|
|
588
615
|
try {
|
|
589
|
-
b && !b.done && (i =
|
|
616
|
+
b && !b.done && (i = d.return) && i.call(d);
|
|
590
617
|
} finally {
|
|
591
|
-
if (n)
|
|
618
|
+
if (n)
|
|
619
|
+
throw n.error;
|
|
592
620
|
}
|
|
593
621
|
}
|
|
594
622
|
}
|
|
@@ -599,7 +627,7 @@ var ft = function() {
|
|
|
599
627
|
var r;
|
|
600
628
|
if (t && t !== this)
|
|
601
629
|
if (this.closed)
|
|
602
|
-
|
|
630
|
+
qt(t);
|
|
603
631
|
else {
|
|
604
632
|
if (t instanceof e) {
|
|
605
633
|
if (t.closed || t._hasParent(this))
|
|
@@ -616,52 +644,56 @@ var ft = function() {
|
|
|
616
644
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
617
645
|
}, e.prototype._removeParent = function(t) {
|
|
618
646
|
var r = this._parentage;
|
|
619
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
647
|
+
r === t ? this._parentage = null : Array.isArray(r) && It(r, t);
|
|
620
648
|
}, e.prototype.remove = function(t) {
|
|
621
649
|
var r = this._finalizers;
|
|
622
|
-
r &&
|
|
650
|
+
r && It(r, t), t instanceof e && t._removeParent(this);
|
|
623
651
|
}, e.EMPTY = function() {
|
|
624
652
|
var t = new e();
|
|
625
653
|
return t.closed = !0, t;
|
|
626
654
|
}(), e;
|
|
627
|
-
}(),
|
|
628
|
-
function
|
|
655
|
+
}(), Hr = ft.EMPTY;
|
|
656
|
+
function Br(e) {
|
|
629
657
|
return e instanceof ft || e && "closed" in e && se(e.remove) && se(e.add) && se(e.unsubscribe);
|
|
630
658
|
}
|
|
631
|
-
function
|
|
659
|
+
function qt(e) {
|
|
632
660
|
se(e) ? e() : e.unsubscribe();
|
|
633
661
|
}
|
|
634
|
-
var
|
|
635
|
-
|
|
636
|
-
|
|
662
|
+
var Ar = {
|
|
663
|
+
onUnhandledError: null,
|
|
664
|
+
onStoppedNotification: null,
|
|
665
|
+
Promise: void 0,
|
|
666
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
667
|
+
useDeprecatedNextContext: !1
|
|
668
|
+
}, In = {
|
|
637
669
|
setTimeout: function(e, t) {
|
|
638
670
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
639
671
|
r[n - 2] = arguments[n];
|
|
640
|
-
return setTimeout.apply(void 0, Ae([e, t],
|
|
672
|
+
return setTimeout.apply(void 0, Ae([e, t], At(r)));
|
|
641
673
|
},
|
|
642
674
|
clearTimeout: function(e) {
|
|
643
675
|
return clearTimeout(e);
|
|
644
676
|
},
|
|
645
677
|
delegate: void 0
|
|
646
678
|
};
|
|
647
|
-
function
|
|
648
|
-
|
|
679
|
+
function Cn(e) {
|
|
680
|
+
In.setTimeout(function() {
|
|
649
681
|
throw e;
|
|
650
682
|
});
|
|
651
683
|
}
|
|
652
|
-
function
|
|
684
|
+
function Jt() {
|
|
653
685
|
}
|
|
654
686
|
function st(e) {
|
|
655
687
|
e();
|
|
656
688
|
}
|
|
657
|
-
var
|
|
689
|
+
var Ir = function(e) {
|
|
658
690
|
ae(t, e);
|
|
659
691
|
function t(r) {
|
|
660
692
|
var n = e.call(this) || this;
|
|
661
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
693
|
+
return n.isStopped = !1, r ? (n.destination = r, Br(r) && r.add(n)) : n.destination = Nn, n;
|
|
662
694
|
}
|
|
663
695
|
return t.create = function(r, n, i) {
|
|
664
|
-
return new
|
|
696
|
+
return new Ct(r, n, i);
|
|
665
697
|
}, t.prototype.next = function(r) {
|
|
666
698
|
this.isStopped || this._next(r);
|
|
667
699
|
}, t.prototype.error = function(r) {
|
|
@@ -685,7 +717,11 @@ var Tr = function(e) {
|
|
|
685
717
|
this.unsubscribe();
|
|
686
718
|
}
|
|
687
719
|
}, t;
|
|
688
|
-
}(ft),
|
|
720
|
+
}(ft), On = Function.prototype.bind;
|
|
721
|
+
function yt(e, t) {
|
|
722
|
+
return On.call(e, t);
|
|
723
|
+
}
|
|
724
|
+
var Ln = function() {
|
|
689
725
|
function e(t) {
|
|
690
726
|
this.partialObserver = t;
|
|
691
727
|
}
|
|
@@ -716,43 +752,55 @@ var Tr = function(e) {
|
|
|
716
752
|
nt(r);
|
|
717
753
|
}
|
|
718
754
|
}, e;
|
|
719
|
-
}(),
|
|
755
|
+
}(), Ct = function(e) {
|
|
720
756
|
ae(t, e);
|
|
721
757
|
function t(r, n, i) {
|
|
722
758
|
var o = e.call(this) || this, s;
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
759
|
+
if (se(r) || !r)
|
|
760
|
+
s = {
|
|
761
|
+
next: r ?? void 0,
|
|
762
|
+
error: n ?? void 0,
|
|
763
|
+
complete: i ?? void 0
|
|
764
|
+
};
|
|
765
|
+
else {
|
|
766
|
+
var a;
|
|
767
|
+
o && Ar.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
768
|
+
return o.unsubscribe();
|
|
769
|
+
}, s = {
|
|
770
|
+
next: r.next && yt(r.next, a),
|
|
771
|
+
error: r.error && yt(r.error, a),
|
|
772
|
+
complete: r.complete && yt(r.complete, a)
|
|
773
|
+
}) : s = r;
|
|
774
|
+
}
|
|
775
|
+
return o.destination = new Ln(s), o;
|
|
728
776
|
}
|
|
729
777
|
return t;
|
|
730
|
-
}(
|
|
778
|
+
}(Ir);
|
|
731
779
|
function nt(e) {
|
|
732
|
-
|
|
780
|
+
Cn(e);
|
|
733
781
|
}
|
|
734
|
-
function
|
|
782
|
+
function Mn(e) {
|
|
735
783
|
throw e;
|
|
736
784
|
}
|
|
737
|
-
var
|
|
785
|
+
var Nn = {
|
|
738
786
|
closed: !0,
|
|
739
|
-
next:
|
|
740
|
-
error:
|
|
741
|
-
complete:
|
|
742
|
-
},
|
|
787
|
+
next: Jt,
|
|
788
|
+
error: Mn,
|
|
789
|
+
complete: Jt
|
|
790
|
+
}, Rn = function() {
|
|
743
791
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
744
792
|
}();
|
|
745
|
-
function
|
|
793
|
+
function Un(e) {
|
|
746
794
|
return e;
|
|
747
795
|
}
|
|
748
|
-
function
|
|
749
|
-
return e.length === 0 ?
|
|
796
|
+
function Fn(e) {
|
|
797
|
+
return e.length === 0 ? Un : e.length === 1 ? e[0] : function(r) {
|
|
750
798
|
return e.reduce(function(n, i) {
|
|
751
799
|
return i(n);
|
|
752
800
|
}, r);
|
|
753
801
|
};
|
|
754
802
|
}
|
|
755
|
-
var
|
|
803
|
+
var Qt = function() {
|
|
756
804
|
function e(t) {
|
|
757
805
|
t && (this._subscribe = t);
|
|
758
806
|
}
|
|
@@ -760,7 +808,7 @@ var Zt = function() {
|
|
|
760
808
|
var r = new e();
|
|
761
809
|
return r.source = this, r.operator = t, r;
|
|
762
810
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
763
|
-
var i = this, o =
|
|
811
|
+
var i = this, o = kn(t) ? t : new Ct(t, r, n);
|
|
764
812
|
return st(function() {
|
|
765
813
|
var s = i, a = s.operator, c = s.source;
|
|
766
814
|
o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -773,8 +821,8 @@ var Zt = function() {
|
|
|
773
821
|
}
|
|
774
822
|
}, e.prototype.forEach = function(t, r) {
|
|
775
823
|
var n = this;
|
|
776
|
-
return r =
|
|
777
|
-
var s = new
|
|
824
|
+
return r = Yt(r), new r(function(i, o) {
|
|
825
|
+
var s = new Ct({
|
|
778
826
|
next: function(a) {
|
|
779
827
|
try {
|
|
780
828
|
t(a);
|
|
@@ -790,15 +838,15 @@ var Zt = function() {
|
|
|
790
838
|
}, e.prototype._subscribe = function(t) {
|
|
791
839
|
var r;
|
|
792
840
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
793
|
-
}, e.prototype[
|
|
841
|
+
}, e.prototype[Rn] = function() {
|
|
794
842
|
return this;
|
|
795
843
|
}, e.prototype.pipe = function() {
|
|
796
844
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
797
845
|
t[r] = arguments[r];
|
|
798
|
-
return
|
|
846
|
+
return Fn(t)(this);
|
|
799
847
|
}, e.prototype.toPromise = function(t) {
|
|
800
848
|
var r = this;
|
|
801
|
-
return t =
|
|
849
|
+
return t = Yt(t), new t(function(n, i) {
|
|
802
850
|
var o;
|
|
803
851
|
r.subscribe(function(s) {
|
|
804
852
|
return o = s;
|
|
@@ -812,32 +860,32 @@ var Zt = function() {
|
|
|
812
860
|
return new e(t);
|
|
813
861
|
}, e;
|
|
814
862
|
}();
|
|
815
|
-
function
|
|
863
|
+
function Yt(e) {
|
|
816
864
|
var t;
|
|
817
|
-
return (t = e ??
|
|
865
|
+
return (t = e ?? Ar.Promise) !== null && t !== void 0 ? t : Promise;
|
|
818
866
|
}
|
|
819
|
-
function
|
|
867
|
+
function Dn(e) {
|
|
820
868
|
return e && se(e.next) && se(e.error) && se(e.complete);
|
|
821
869
|
}
|
|
822
|
-
function
|
|
823
|
-
return e && e instanceof
|
|
870
|
+
function kn(e) {
|
|
871
|
+
return e && e instanceof Ir || Dn(e) && Br(e);
|
|
824
872
|
}
|
|
825
|
-
var
|
|
873
|
+
var Gn = Tr(function(e) {
|
|
826
874
|
return function() {
|
|
827
875
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
828
876
|
};
|
|
829
|
-
}),
|
|
877
|
+
}), Cr = function(e) {
|
|
830
878
|
ae(t, e);
|
|
831
879
|
function t() {
|
|
832
880
|
var r = e.call(this) || this;
|
|
833
881
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
834
882
|
}
|
|
835
883
|
return t.prototype.lift = function(r) {
|
|
836
|
-
var n = new
|
|
884
|
+
var n = new Kt(this, this);
|
|
837
885
|
return n.operator = r, n;
|
|
838
886
|
}, t.prototype._throwIfClosed = function() {
|
|
839
887
|
if (this.closed)
|
|
840
|
-
throw new
|
|
888
|
+
throw new Gn();
|
|
841
889
|
}, t.prototype.next = function(r) {
|
|
842
890
|
var n = this;
|
|
843
891
|
st(function() {
|
|
@@ -845,7 +893,7 @@ var Un = xr(function(e) {
|
|
|
845
893
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
846
894
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
847
895
|
try {
|
|
848
|
-
for (var s =
|
|
896
|
+
for (var s = Bt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
849
897
|
var c = a.value;
|
|
850
898
|
c.next(r);
|
|
851
899
|
}
|
|
@@ -855,7 +903,8 @@ var Un = xr(function(e) {
|
|
|
855
903
|
try {
|
|
856
904
|
a && !a.done && (o = s.return) && o.call(s);
|
|
857
905
|
} finally {
|
|
858
|
-
if (i)
|
|
906
|
+
if (i)
|
|
907
|
+
throw i.error;
|
|
859
908
|
}
|
|
860
909
|
}
|
|
861
910
|
}
|
|
@@ -893,19 +942,19 @@ var Un = xr(function(e) {
|
|
|
893
942
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
894
943
|
}, t.prototype._innerSubscribe = function(r) {
|
|
895
944
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
896
|
-
return o || s ?
|
|
897
|
-
n.currentObservers = null,
|
|
945
|
+
return o || s ? Hr : (this.currentObservers = null, a.push(r), new ft(function() {
|
|
946
|
+
n.currentObservers = null, It(a, r);
|
|
898
947
|
}));
|
|
899
948
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
900
949
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
901
950
|
i ? r.error(o) : s && r.complete();
|
|
902
951
|
}, t.prototype.asObservable = function() {
|
|
903
|
-
var r = new
|
|
952
|
+
var r = new Qt();
|
|
904
953
|
return r.source = this, r;
|
|
905
954
|
}, t.create = function(r, n) {
|
|
906
|
-
return new
|
|
955
|
+
return new Kt(r, n);
|
|
907
956
|
}, t;
|
|
908
|
-
}(
|
|
957
|
+
}(Qt), Kt = function(e) {
|
|
909
958
|
ae(t, e);
|
|
910
959
|
function t(r, n) {
|
|
911
960
|
var i = e.call(this) || this;
|
|
@@ -922,17 +971,17 @@ var Un = xr(function(e) {
|
|
|
922
971
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
923
972
|
}, t.prototype._subscribe = function(r) {
|
|
924
973
|
var n, i;
|
|
925
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
974
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Hr;
|
|
926
975
|
}, t;
|
|
927
|
-
}(
|
|
976
|
+
}(Cr), Or = {
|
|
928
977
|
now: function() {
|
|
929
|
-
return (
|
|
978
|
+
return (Or.delegate || Date).now();
|
|
930
979
|
},
|
|
931
980
|
delegate: void 0
|
|
932
|
-
},
|
|
981
|
+
}, $n = function(e) {
|
|
933
982
|
ae(t, e);
|
|
934
983
|
function t(r, n, i) {
|
|
935
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
984
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Or);
|
|
936
985
|
var o = e.call(this) || this;
|
|
937
986
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
938
987
|
}
|
|
@@ -952,24 +1001,24 @@ var Un = xr(function(e) {
|
|
|
952
1001
|
l && o.splice(0, l + 1);
|
|
953
1002
|
}
|
|
954
1003
|
}, t;
|
|
955
|
-
}(
|
|
956
|
-
const
|
|
957
|
-
if (
|
|
958
|
-
const r = new
|
|
959
|
-
|
|
1004
|
+
}(Cr);
|
|
1005
|
+
const er = [], tr = {}, jn = (e, t = 0) => {
|
|
1006
|
+
if (er.indexOf(e) == -1) {
|
|
1007
|
+
const r = new $n(t);
|
|
1008
|
+
tr[e] = r, er.push(e);
|
|
960
1009
|
}
|
|
961
|
-
return
|
|
1010
|
+
return tr[e];
|
|
962
1011
|
}, Te = [];
|
|
963
|
-
function
|
|
1012
|
+
function Vn(e, t) {
|
|
964
1013
|
return {
|
|
965
|
-
subscribe:
|
|
1014
|
+
subscribe: dt(e, t).subscribe
|
|
966
1015
|
};
|
|
967
1016
|
}
|
|
968
|
-
function
|
|
1017
|
+
function dt(e, t = Z) {
|
|
969
1018
|
let r;
|
|
970
1019
|
const n = /* @__PURE__ */ new Set();
|
|
971
1020
|
function i(a) {
|
|
972
|
-
if (
|
|
1021
|
+
if (xr(e, a) && (e = a, r)) {
|
|
973
1022
|
const c = !Te.length;
|
|
974
1023
|
for (const l of n)
|
|
975
1024
|
l[1](), Te.push(l, e);
|
|
@@ -996,96 +1045,96 @@ function Ne(e, t, r) {
|
|
|
996
1045
|
if (!i.every(Boolean))
|
|
997
1046
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
998
1047
|
const o = t.length < 2;
|
|
999
|
-
return
|
|
1048
|
+
return Vn(r, (s, a) => {
|
|
1000
1049
|
let c = !1;
|
|
1001
1050
|
const l = [];
|
|
1002
1051
|
let u = 0, f = Z;
|
|
1003
|
-
const
|
|
1052
|
+
const d = () => {
|
|
1004
1053
|
if (u)
|
|
1005
1054
|
return;
|
|
1006
1055
|
f();
|
|
1007
1056
|
const y = t(n ? l[0] : l, s, a);
|
|
1008
|
-
o ? s(y) : f =
|
|
1057
|
+
o ? s(y) : f = kt(y) ? y : Z;
|
|
1009
1058
|
}, b = i.map(
|
|
1010
|
-
(y, g) =>
|
|
1059
|
+
(y, g) => Sr(
|
|
1011
1060
|
y,
|
|
1012
1061
|
(S) => {
|
|
1013
|
-
l[g] = S, u &= ~(1 << g), c &&
|
|
1062
|
+
l[g] = S, u &= ~(1 << g), c && d();
|
|
1014
1063
|
},
|
|
1015
1064
|
() => {
|
|
1016
1065
|
u |= 1 << g;
|
|
1017
1066
|
}
|
|
1018
1067
|
)
|
|
1019
1068
|
);
|
|
1020
|
-
return c = !0,
|
|
1069
|
+
return c = !0, d(), function() {
|
|
1021
1070
|
Me(b), f(), c = !1;
|
|
1022
1071
|
};
|
|
1023
1072
|
});
|
|
1024
1073
|
}
|
|
1025
|
-
function
|
|
1074
|
+
function zn(e) {
|
|
1026
1075
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1027
1076
|
}
|
|
1028
|
-
var
|
|
1029
|
-
return
|
|
1077
|
+
var Xn = function(t) {
|
|
1078
|
+
return Wn(t) && !Zn(t);
|
|
1030
1079
|
};
|
|
1031
|
-
function
|
|
1080
|
+
function Wn(e) {
|
|
1032
1081
|
return !!e && typeof e == "object";
|
|
1033
1082
|
}
|
|
1034
|
-
function
|
|
1083
|
+
function Zn(e) {
|
|
1035
1084
|
var t = Object.prototype.toString.call(e);
|
|
1036
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1085
|
+
return t === "[object RegExp]" || t === "[object Date]" || Qn(e);
|
|
1037
1086
|
}
|
|
1038
|
-
var
|
|
1039
|
-
function
|
|
1040
|
-
return e.$$typeof ===
|
|
1087
|
+
var qn = typeof Symbol == "function" && Symbol.for, Jn = qn ? Symbol.for("react.element") : 60103;
|
|
1088
|
+
function Qn(e) {
|
|
1089
|
+
return e.$$typeof === Jn;
|
|
1041
1090
|
}
|
|
1042
|
-
function
|
|
1091
|
+
function Yn(e) {
|
|
1043
1092
|
return Array.isArray(e) ? [] : {};
|
|
1044
1093
|
}
|
|
1045
1094
|
function Xe(e, t) {
|
|
1046
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Ie(
|
|
1095
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ie(Yn(e), e, t) : e;
|
|
1047
1096
|
}
|
|
1048
|
-
function
|
|
1097
|
+
function Kn(e, t, r) {
|
|
1049
1098
|
return e.concat(t).map(function(n) {
|
|
1050
1099
|
return Xe(n, r);
|
|
1051
1100
|
});
|
|
1052
1101
|
}
|
|
1053
|
-
function
|
|
1102
|
+
function ei(e, t) {
|
|
1054
1103
|
if (!t.customMerge)
|
|
1055
1104
|
return Ie;
|
|
1056
1105
|
var r = t.customMerge(e);
|
|
1057
1106
|
return typeof r == "function" ? r : Ie;
|
|
1058
1107
|
}
|
|
1059
|
-
function
|
|
1108
|
+
function ti(e) {
|
|
1060
1109
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1061
1110
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1062
1111
|
}) : [];
|
|
1063
1112
|
}
|
|
1064
|
-
function
|
|
1065
|
-
return Object.keys(e).concat(
|
|
1113
|
+
function rr(e) {
|
|
1114
|
+
return Object.keys(e).concat(ti(e));
|
|
1066
1115
|
}
|
|
1067
|
-
function
|
|
1116
|
+
function Lr(e, t) {
|
|
1068
1117
|
try {
|
|
1069
1118
|
return t in e;
|
|
1070
1119
|
} catch {
|
|
1071
1120
|
return !1;
|
|
1072
1121
|
}
|
|
1073
1122
|
}
|
|
1074
|
-
function
|
|
1075
|
-
return
|
|
1123
|
+
function ri(e, t) {
|
|
1124
|
+
return Lr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1076
1125
|
}
|
|
1077
|
-
function
|
|
1126
|
+
function ni(e, t, r) {
|
|
1078
1127
|
var n = {};
|
|
1079
|
-
return r.isMergeableObject(e) &&
|
|
1128
|
+
return r.isMergeableObject(e) && rr(e).forEach(function(i) {
|
|
1080
1129
|
n[i] = Xe(e[i], r);
|
|
1081
|
-
}),
|
|
1082
|
-
|
|
1130
|
+
}), rr(t).forEach(function(i) {
|
|
1131
|
+
ri(e, i) || (Lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = Xe(t[i], r));
|
|
1083
1132
|
}), n;
|
|
1084
1133
|
}
|
|
1085
1134
|
function Ie(e, t, r) {
|
|
1086
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1135
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = Xe;
|
|
1087
1136
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1088
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1137
|
+
return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : Xe(t, r);
|
|
1089
1138
|
}
|
|
1090
1139
|
Ie.all = function(t, r) {
|
|
1091
1140
|
if (!Array.isArray(t))
|
|
@@ -1094,56 +1143,58 @@ Ie.all = function(t, r) {
|
|
|
1094
1143
|
return Ie(n, i, r);
|
|
1095
1144
|
}, {});
|
|
1096
1145
|
};
|
|
1097
|
-
var
|
|
1098
|
-
const
|
|
1099
|
-
function
|
|
1100
|
-
var r = t && t.cache ? t.cache :
|
|
1146
|
+
var ii = Ie, oi = ii;
|
|
1147
|
+
const si = /* @__PURE__ */ zn(oi);
|
|
1148
|
+
function _t(e, t) {
|
|
1149
|
+
var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : hi, i = t && t.strategy ? t.strategy : li;
|
|
1101
1150
|
return i(e, {
|
|
1102
1151
|
cache: r,
|
|
1103
1152
|
serializer: n
|
|
1104
1153
|
});
|
|
1105
1154
|
}
|
|
1106
|
-
function
|
|
1155
|
+
function ai(e) {
|
|
1107
1156
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1108
1157
|
}
|
|
1109
|
-
function
|
|
1110
|
-
var i =
|
|
1158
|
+
function Mr(e, t, r, n) {
|
|
1159
|
+
var i = ai(n) ? n : r(n), o = t.get(i);
|
|
1111
1160
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1112
1161
|
}
|
|
1113
|
-
function
|
|
1162
|
+
function Nr(e, t, r) {
|
|
1114
1163
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1115
1164
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1116
1165
|
}
|
|
1117
|
-
function
|
|
1166
|
+
function Gt(e, t, r, n, i) {
|
|
1118
1167
|
return r.bind(t, e, n, i);
|
|
1119
1168
|
}
|
|
1120
|
-
function
|
|
1121
|
-
var r = e.length === 1 ?
|
|
1122
|
-
return
|
|
1169
|
+
function li(e, t) {
|
|
1170
|
+
var r = e.length === 1 ? Mr : Nr;
|
|
1171
|
+
return Gt(e, this, r, t.cache.create(), t.serializer);
|
|
1123
1172
|
}
|
|
1124
|
-
function
|
|
1125
|
-
return
|
|
1173
|
+
function ui(e, t) {
|
|
1174
|
+
return Gt(e, this, Nr, t.cache.create(), t.serializer);
|
|
1126
1175
|
}
|
|
1127
|
-
|
|
1176
|
+
function ci(e, t) {
|
|
1177
|
+
return Gt(e, this, Mr, t.cache.create(), t.serializer);
|
|
1178
|
+
}
|
|
1179
|
+
var hi = function() {
|
|
1128
1180
|
return JSON.stringify(arguments);
|
|
1129
|
-
}
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
}()
|
|
1141
|
-
), ui = {
|
|
1181
|
+
};
|
|
1182
|
+
function $t() {
|
|
1183
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1184
|
+
}
|
|
1185
|
+
$t.prototype.get = function(e) {
|
|
1186
|
+
return this.cache[e];
|
|
1187
|
+
};
|
|
1188
|
+
$t.prototype.set = function(e, t) {
|
|
1189
|
+
this.cache[e] = t;
|
|
1190
|
+
};
|
|
1191
|
+
var fi = {
|
|
1142
1192
|
create: function() {
|
|
1143
|
-
return new
|
|
1193
|
+
return new $t();
|
|
1144
1194
|
}
|
|
1145
|
-
},
|
|
1146
|
-
variadic:
|
|
1195
|
+
}, wt = {
|
|
1196
|
+
variadic: ui,
|
|
1197
|
+
monadic: ci
|
|
1147
1198
|
}, _;
|
|
1148
1199
|
(function(e) {
|
|
1149
1200
|
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";
|
|
@@ -1156,43 +1207,43 @@ var Ce;
|
|
|
1156
1207
|
(function(e) {
|
|
1157
1208
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1158
1209
|
})(Ce || (Ce = {}));
|
|
1159
|
-
function
|
|
1210
|
+
function nr(e) {
|
|
1160
1211
|
return e.type === T.literal;
|
|
1161
1212
|
}
|
|
1162
|
-
function
|
|
1213
|
+
function di(e) {
|
|
1163
1214
|
return e.type === T.argument;
|
|
1164
1215
|
}
|
|
1165
|
-
function
|
|
1216
|
+
function Rr(e) {
|
|
1166
1217
|
return e.type === T.number;
|
|
1167
1218
|
}
|
|
1168
|
-
function
|
|
1219
|
+
function Ur(e) {
|
|
1169
1220
|
return e.type === T.date;
|
|
1170
1221
|
}
|
|
1171
|
-
function
|
|
1222
|
+
function Fr(e) {
|
|
1172
1223
|
return e.type === T.time;
|
|
1173
1224
|
}
|
|
1174
|
-
function
|
|
1225
|
+
function Dr(e) {
|
|
1175
1226
|
return e.type === T.select;
|
|
1176
1227
|
}
|
|
1177
|
-
function
|
|
1228
|
+
function kr(e) {
|
|
1178
1229
|
return e.type === T.plural;
|
|
1179
1230
|
}
|
|
1180
|
-
function
|
|
1231
|
+
function mi(e) {
|
|
1181
1232
|
return e.type === T.pound;
|
|
1182
1233
|
}
|
|
1183
|
-
function
|
|
1234
|
+
function Gr(e) {
|
|
1184
1235
|
return e.type === T.tag;
|
|
1185
1236
|
}
|
|
1186
|
-
function
|
|
1237
|
+
function $r(e) {
|
|
1187
1238
|
return !!(e && typeof e == "object" && e.type === Ce.number);
|
|
1188
1239
|
}
|
|
1189
|
-
function
|
|
1240
|
+
function Ot(e) {
|
|
1190
1241
|
return !!(e && typeof e == "object" && e.type === Ce.dateTime);
|
|
1191
1242
|
}
|
|
1192
|
-
var
|
|
1193
|
-
function
|
|
1243
|
+
var jr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[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;
|
|
1244
|
+
function gi(e) {
|
|
1194
1245
|
var t = {};
|
|
1195
|
-
return e.replace(
|
|
1246
|
+
return e.replace(pi, function(r) {
|
|
1196
1247
|
var n = r.length;
|
|
1197
1248
|
switch (r[0]) {
|
|
1198
1249
|
case "G":
|
|
@@ -1281,12 +1332,12 @@ function mi(e) {
|
|
|
1281
1332
|
return "";
|
|
1282
1333
|
}), t;
|
|
1283
1334
|
}
|
|
1284
|
-
var
|
|
1285
|
-
function
|
|
1335
|
+
var bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1336
|
+
function vi(e) {
|
|
1286
1337
|
if (e.length === 0)
|
|
1287
1338
|
throw new Error("Number skeleton cannot be empty");
|
|
1288
|
-
for (var t = e.split(
|
|
1289
|
-
return
|
|
1339
|
+
for (var t = e.split(bi).filter(function(d) {
|
|
1340
|
+
return d.length > 0;
|
|
1290
1341
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1291
1342
|
var o = i[n], s = o.split("/");
|
|
1292
1343
|
if (s.length === 0)
|
|
@@ -1300,17 +1351,17 @@ function pi(e) {
|
|
|
1300
1351
|
}
|
|
1301
1352
|
return r;
|
|
1302
1353
|
}
|
|
1303
|
-
function
|
|
1354
|
+
function yi(e) {
|
|
1304
1355
|
return e.replace(/^(.*?)-/, "");
|
|
1305
1356
|
}
|
|
1306
|
-
var
|
|
1307
|
-
function
|
|
1357
|
+
var ir = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vr = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, zr = /^(0+)$/;
|
|
1358
|
+
function or(e) {
|
|
1308
1359
|
var t = {};
|
|
1309
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1360
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vr, function(r, n, i) {
|
|
1310
1361
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1311
1362
|
}), t;
|
|
1312
1363
|
}
|
|
1313
|
-
function
|
|
1364
|
+
function Xr(e) {
|
|
1314
1365
|
switch (e) {
|
|
1315
1366
|
case "sign-auto":
|
|
1316
1367
|
return {
|
|
@@ -1350,7 +1401,7 @@ function $r(e) {
|
|
|
1350
1401
|
};
|
|
1351
1402
|
}
|
|
1352
1403
|
}
|
|
1353
|
-
function
|
|
1404
|
+
function wi(e) {
|
|
1354
1405
|
var t;
|
|
1355
1406
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1356
1407
|
notation: "engineering"
|
|
@@ -1358,17 +1409,17 @@ function vi(e) {
|
|
|
1358
1409
|
notation: "scientific"
|
|
1359
1410
|
}, e = e.slice(1)), t) {
|
|
1360
1411
|
var r = e.slice(0, 2);
|
|
1361
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1412
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zr.test(e))
|
|
1362
1413
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1363
1414
|
t.minimumIntegerDigits = e.length;
|
|
1364
1415
|
}
|
|
1365
1416
|
return t;
|
|
1366
1417
|
}
|
|
1367
|
-
function
|
|
1368
|
-
var t = {}, r =
|
|
1418
|
+
function sr(e) {
|
|
1419
|
+
var t = {}, r = Xr(e);
|
|
1369
1420
|
return r || t;
|
|
1370
1421
|
}
|
|
1371
|
-
function
|
|
1422
|
+
function Ei(e) {
|
|
1372
1423
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1373
1424
|
var i = n[r];
|
|
1374
1425
|
switch (i.stem) {
|
|
@@ -1392,7 +1443,7 @@ function yi(e) {
|
|
|
1392
1443
|
continue;
|
|
1393
1444
|
case "measure-unit":
|
|
1394
1445
|
case "unit":
|
|
1395
|
-
t.style = "unit", t.unit =
|
|
1446
|
+
t.style = "unit", t.unit = yi(i.options[0]);
|
|
1396
1447
|
continue;
|
|
1397
1448
|
case "compact-short":
|
|
1398
1449
|
case "K":
|
|
@@ -1404,12 +1455,12 @@ function yi(e) {
|
|
|
1404
1455
|
continue;
|
|
1405
1456
|
case "scientific":
|
|
1406
1457
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
|
|
1407
|
-
return E(E({}, c),
|
|
1458
|
+
return E(E({}, c), sr(l));
|
|
1408
1459
|
}, {}));
|
|
1409
1460
|
continue;
|
|
1410
1461
|
case "engineering":
|
|
1411
1462
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
|
|
1412
|
-
return E(E({}, c),
|
|
1463
|
+
return E(E({}, c), sr(l));
|
|
1413
1464
|
}, {}));
|
|
1414
1465
|
continue;
|
|
1415
1466
|
case "notation-simple":
|
|
@@ -1454,11 +1505,11 @@ function yi(e) {
|
|
|
1454
1505
|
case "integer-width":
|
|
1455
1506
|
if (i.options.length > 1)
|
|
1456
1507
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1457
|
-
i.options[0].replace(
|
|
1508
|
+
i.options[0].replace(_i, function(c, l, u, f, d, b) {
|
|
1458
1509
|
if (l)
|
|
1459
1510
|
t.minimumIntegerDigits = u.length;
|
|
1460
1511
|
else {
|
|
1461
|
-
if (f &&
|
|
1512
|
+
if (f && d)
|
|
1462
1513
|
throw new Error("We currently do not support maximum integer digits");
|
|
1463
1514
|
if (b)
|
|
1464
1515
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1467,27 +1518,27 @@ function yi(e) {
|
|
|
1467
1518
|
});
|
|
1468
1519
|
continue;
|
|
1469
1520
|
}
|
|
1470
|
-
if (
|
|
1521
|
+
if (zr.test(i.stem)) {
|
|
1471
1522
|
t.minimumIntegerDigits = i.stem.length;
|
|
1472
1523
|
continue;
|
|
1473
1524
|
}
|
|
1474
|
-
if (
|
|
1525
|
+
if (ir.test(i.stem)) {
|
|
1475
1526
|
if (i.options.length > 1)
|
|
1476
1527
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1477
|
-
i.stem.replace(
|
|
1478
|
-
return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length :
|
|
1528
|
+
i.stem.replace(ir, function(c, l, u, f, d, b) {
|
|
1529
|
+
return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1479
1530
|
});
|
|
1480
1531
|
var o = i.options[0];
|
|
1481
|
-
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t),
|
|
1532
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), or(o)));
|
|
1482
1533
|
continue;
|
|
1483
1534
|
}
|
|
1484
|
-
if (
|
|
1485
|
-
t = E(E({}, t),
|
|
1535
|
+
if (Vr.test(i.stem)) {
|
|
1536
|
+
t = E(E({}, t), or(i.stem));
|
|
1486
1537
|
continue;
|
|
1487
1538
|
}
|
|
1488
|
-
var s =
|
|
1539
|
+
var s = Xr(i.stem);
|
|
1489
1540
|
s && (t = E(E({}, t), s));
|
|
1490
|
-
var a =
|
|
1541
|
+
var a = wi(i.stem);
|
|
1491
1542
|
a && (t = E(E({}, t), a));
|
|
1492
1543
|
}
|
|
1493
1544
|
return t;
|
|
@@ -2907,22 +2958,23 @@ var it = {
|
|
|
2907
2958
|
"h"
|
|
2908
2959
|
]
|
|
2909
2960
|
};
|
|
2910
|
-
function
|
|
2961
|
+
function xi(e, t) {
|
|
2911
2962
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2912
2963
|
var i = e.charAt(n);
|
|
2913
2964
|
if (i === "j") {
|
|
2914
2965
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2915
2966
|
o++, n++;
|
|
2916
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l =
|
|
2967
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Si(t);
|
|
2917
2968
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2918
2969
|
r += c;
|
|
2919
2970
|
for (; s-- > 0; )
|
|
2920
2971
|
r = l + r;
|
|
2921
|
-
} else
|
|
2972
|
+
} else
|
|
2973
|
+
i === "J" ? r += "H" : r += i;
|
|
2922
2974
|
}
|
|
2923
2975
|
return r;
|
|
2924
2976
|
}
|
|
2925
|
-
function
|
|
2977
|
+
function Si(e) {
|
|
2926
2978
|
var t = e.hourCycle;
|
|
2927
2979
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2928
2980
|
e.hourCycles && // @ts-ignore
|
|
@@ -2944,20 +2996,20 @@ function wi(e) {
|
|
|
2944
2996
|
var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
|
|
2945
2997
|
return i[0];
|
|
2946
2998
|
}
|
|
2947
|
-
var
|
|
2999
|
+
var Et, Pi = new RegExp("^".concat(jr.source, "*")), Ti = new RegExp("".concat(jr.source, "*$"));
|
|
2948
3000
|
function w(e, t) {
|
|
2949
3001
|
return { start: e, end: t };
|
|
2950
3002
|
}
|
|
2951
|
-
var
|
|
3003
|
+
var Hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bi = !!String.fromCodePoint, Ai = !!Object.fromEntries, Ii = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Li = !!Number.isSafeInteger, Mi = Li ? Number.isSafeInteger : function(e) {
|
|
2952
3004
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2953
|
-
},
|
|
3005
|
+
}, Lt = !0;
|
|
2954
3006
|
try {
|
|
2955
|
-
var
|
|
2956
|
-
|
|
3007
|
+
var Ni = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3008
|
+
Lt = ((Et = Ni.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
|
|
2957
3009
|
} catch {
|
|
2958
|
-
|
|
3010
|
+
Lt = !1;
|
|
2959
3011
|
}
|
|
2960
|
-
var
|
|
3012
|
+
var ar = Hi ? (
|
|
2961
3013
|
// Native
|
|
2962
3014
|
function(t, r, n) {
|
|
2963
3015
|
return t.startsWith(r, n);
|
|
@@ -2967,7 +3019,7 @@ var ir = Si ? (
|
|
|
2967
3019
|
function(t, r, n) {
|
|
2968
3020
|
return t.slice(n, n + r.length) === r;
|
|
2969
3021
|
}
|
|
2970
|
-
),
|
|
3022
|
+
), Mt = Bi ? String.fromCodePoint : (
|
|
2971
3023
|
// IE11
|
|
2972
3024
|
function() {
|
|
2973
3025
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2979,9 +3031,9 @@ var ir = Si ? (
|
|
|
2979
3031
|
}
|
|
2980
3032
|
return n;
|
|
2981
3033
|
}
|
|
2982
|
-
),
|
|
3034
|
+
), lr = (
|
|
2983
3035
|
// native
|
|
2984
|
-
|
|
3036
|
+
Ai ? Object.fromEntries : (
|
|
2985
3037
|
// Ponyfill
|
|
2986
3038
|
function(t) {
|
|
2987
3039
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2991,7 +3043,7 @@ var ir = Si ? (
|
|
|
2991
3043
|
return r;
|
|
2992
3044
|
}
|
|
2993
3045
|
)
|
|
2994
|
-
),
|
|
3046
|
+
), Wr = Ii ? (
|
|
2995
3047
|
// Native
|
|
2996
3048
|
function(t, r) {
|
|
2997
3049
|
return t.codePointAt(r);
|
|
@@ -3005,7 +3057,7 @@ var ir = Si ? (
|
|
|
3005
3057
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3006
3058
|
}
|
|
3007
3059
|
}
|
|
3008
|
-
),
|
|
3060
|
+
), Ri = Ci ? (
|
|
3009
3061
|
// Native
|
|
3010
3062
|
function(t) {
|
|
3011
3063
|
return t.trimStart();
|
|
@@ -3013,9 +3065,9 @@ var ir = Si ? (
|
|
|
3013
3065
|
) : (
|
|
3014
3066
|
// Ponyfill
|
|
3015
3067
|
function(t) {
|
|
3016
|
-
return t.replace(
|
|
3068
|
+
return t.replace(Pi, "");
|
|
3017
3069
|
}
|
|
3018
|
-
),
|
|
3070
|
+
), Ui = Oi ? (
|
|
3019
3071
|
// Native
|
|
3020
3072
|
function(t) {
|
|
3021
3073
|
return t.trimEnd();
|
|
@@ -3023,32 +3075,32 @@ var ir = Si ? (
|
|
|
3023
3075
|
) : (
|
|
3024
3076
|
// Ponyfill
|
|
3025
3077
|
function(t) {
|
|
3026
|
-
return t.replace(
|
|
3078
|
+
return t.replace(Ti, "");
|
|
3027
3079
|
}
|
|
3028
3080
|
);
|
|
3029
|
-
function
|
|
3081
|
+
function Zr(e, t) {
|
|
3030
3082
|
return new RegExp(e, t);
|
|
3031
3083
|
}
|
|
3032
|
-
var
|
|
3033
|
-
if (
|
|
3034
|
-
var
|
|
3035
|
-
|
|
3084
|
+
var Nt;
|
|
3085
|
+
if (Lt) {
|
|
3086
|
+
var ur = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3087
|
+
Nt = function(t, r) {
|
|
3036
3088
|
var n;
|
|
3037
|
-
|
|
3038
|
-
var i =
|
|
3089
|
+
ur.lastIndex = r;
|
|
3090
|
+
var i = ur.exec(t);
|
|
3039
3091
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3040
3092
|
};
|
|
3041
3093
|
} else
|
|
3042
|
-
|
|
3094
|
+
Nt = function(t, r) {
|
|
3043
3095
|
for (var n = []; ; ) {
|
|
3044
|
-
var i =
|
|
3045
|
-
if (i === void 0 ||
|
|
3096
|
+
var i = Wr(t, r);
|
|
3097
|
+
if (i === void 0 || qr(i) || Gi(i))
|
|
3046
3098
|
break;
|
|
3047
3099
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3048
3100
|
}
|
|
3049
|
-
return
|
|
3101
|
+
return Mt.apply(void 0, n);
|
|
3050
3102
|
};
|
|
3051
|
-
var
|
|
3103
|
+
var Fi = (
|
|
3052
3104
|
/** @class */
|
|
3053
3105
|
function() {
|
|
3054
3106
|
function e(t, r) {
|
|
@@ -3079,7 +3131,7 @@ var Ni = (
|
|
|
3079
3131
|
if (n)
|
|
3080
3132
|
break;
|
|
3081
3133
|
return this.error(_.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
3082
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3134
|
+
} else if (o === 60 && !this.ignoreTag && Rt(this.peek() || 0)) {
|
|
3083
3135
|
var s = this.parseTag(t, r);
|
|
3084
3136
|
if (s.err)
|
|
3085
3137
|
return s;
|
|
@@ -3112,7 +3164,7 @@ var Ni = (
|
|
|
3112
3164
|
return o;
|
|
3113
3165
|
var s = o.val, a = this.clonePosition();
|
|
3114
3166
|
if (this.bumpIf("</")) {
|
|
3115
|
-
if (this.isEOF() || !
|
|
3167
|
+
if (this.isEOF() || !Rt(this.char()))
|
|
3116
3168
|
return this.error(_.INVALID_TAG, w(a, this.clonePosition()));
|
|
3117
3169
|
var c = this.clonePosition(), l = this.parseTagName();
|
|
3118
3170
|
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, w(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3130,7 +3182,7 @@ var Ni = (
|
|
|
3130
3182
|
return this.error(_.INVALID_TAG, w(n, this.clonePosition()));
|
|
3131
3183
|
}, e.prototype.parseTagName = function() {
|
|
3132
3184
|
var t = this.offset();
|
|
3133
|
-
for (this.bump(); !this.isEOF() &&
|
|
3185
|
+
for (this.bump(); !this.isEOF() && ki(this.char()); )
|
|
3134
3186
|
this.bump();
|
|
3135
3187
|
return this.message.slice(t, this.offset());
|
|
3136
3188
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3159,7 +3211,7 @@ var Ni = (
|
|
|
3159
3211
|
};
|
|
3160
3212
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3161
3213
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3162
|
-
!
|
|
3214
|
+
!Di(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3163
3215
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3164
3216
|
if (this.isEOF() || this.char() !== 39)
|
|
3165
3217
|
return null;
|
|
@@ -3193,12 +3245,12 @@ var Ni = (
|
|
|
3193
3245
|
r.push(n);
|
|
3194
3246
|
this.bump();
|
|
3195
3247
|
}
|
|
3196
|
-
return
|
|
3248
|
+
return Mt.apply(void 0, r);
|
|
3197
3249
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3198
3250
|
if (this.isEOF())
|
|
3199
3251
|
return null;
|
|
3200
3252
|
var n = this.char();
|
|
3201
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3253
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Mt(n));
|
|
3202
3254
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3203
3255
|
var n = this.clonePosition();
|
|
3204
3256
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3227,7 +3279,7 @@ var Ni = (
|
|
|
3227
3279
|
return this.error(_.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3228
3280
|
}
|
|
3229
3281
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3230
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3282
|
+
var t = this.clonePosition(), r = this.offset(), n = Nt(this.message, r), i = r + n.length;
|
|
3231
3283
|
this.bumpTo(i);
|
|
3232
3284
|
var o = this.clonePosition(), s = w(t, o);
|
|
3233
3285
|
return { value: n, location: s };
|
|
@@ -3246,18 +3298,18 @@ var Ni = (
|
|
|
3246
3298
|
var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3247
3299
|
if (f.err)
|
|
3248
3300
|
return f;
|
|
3249
|
-
var
|
|
3250
|
-
if (
|
|
3301
|
+
var d = Ui(f.val);
|
|
3302
|
+
if (d.length === 0)
|
|
3251
3303
|
return this.error(_.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
3252
3304
|
var b = w(u, this.clonePosition());
|
|
3253
|
-
l = { style:
|
|
3305
|
+
l = { style: d, styleLocation: b };
|
|
3254
3306
|
}
|
|
3255
3307
|
var y = this.tryParseArgumentClose(i);
|
|
3256
3308
|
if (y.err)
|
|
3257
3309
|
return y;
|
|
3258
3310
|
var g = w(i, this.clonePosition());
|
|
3259
|
-
if (l &&
|
|
3260
|
-
var S =
|
|
3311
|
+
if (l && ar(l?.style, "::", 0)) {
|
|
3312
|
+
var S = Ri(l.style.slice(2));
|
|
3261
3313
|
if (a === "number") {
|
|
3262
3314
|
var f = this.parseNumberSkeletonFromString(S, l.styleLocation);
|
|
3263
3315
|
return f.err ? f : {
|
|
@@ -3268,15 +3320,15 @@ var Ni = (
|
|
|
3268
3320
|
if (S.length === 0)
|
|
3269
3321
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
3270
3322
|
var C = S;
|
|
3271
|
-
this.locale && (C =
|
|
3272
|
-
var
|
|
3323
|
+
this.locale && (C = xi(S, this.locale));
|
|
3324
|
+
var d = {
|
|
3273
3325
|
type: Ce.dateTime,
|
|
3274
3326
|
pattern: C,
|
|
3275
3327
|
location: l.styleLocation,
|
|
3276
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3328
|
+
parsedOptions: this.shouldParseSkeletons ? gi(C) : {}
|
|
3277
3329
|
}, z = a === "date" ? T.date : T.time;
|
|
3278
3330
|
return {
|
|
3279
|
-
val: { type: z, value: n, location: g, style:
|
|
3331
|
+
val: { type: z, value: n, location: g, style: d },
|
|
3280
3332
|
err: null
|
|
3281
3333
|
};
|
|
3282
3334
|
}
|
|
@@ -3319,7 +3371,7 @@ var Ni = (
|
|
|
3319
3371
|
val: {
|
|
3320
3372
|
type: T.select,
|
|
3321
3373
|
value: n,
|
|
3322
|
-
options:
|
|
3374
|
+
options: lr(re.val),
|
|
3323
3375
|
location: H
|
|
3324
3376
|
},
|
|
3325
3377
|
err: null
|
|
@@ -3327,7 +3379,7 @@ var Ni = (
|
|
|
3327
3379
|
val: {
|
|
3328
3380
|
type: T.plural,
|
|
3329
3381
|
value: n,
|
|
3330
|
-
options:
|
|
3382
|
+
options: lr(re.val),
|
|
3331
3383
|
offset: A,
|
|
3332
3384
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3333
3385
|
location: H
|
|
@@ -3378,7 +3430,7 @@ var Ni = (
|
|
|
3378
3430
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3379
3431
|
var n = [];
|
|
3380
3432
|
try {
|
|
3381
|
-
n =
|
|
3433
|
+
n = vi(t);
|
|
3382
3434
|
} catch {
|
|
3383
3435
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3384
3436
|
}
|
|
@@ -3387,7 +3439,7 @@ var Ni = (
|
|
|
3387
3439
|
type: Ce.number,
|
|
3388
3440
|
tokens: n,
|
|
3389
3441
|
location: r,
|
|
3390
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3442
|
+
parsedOptions: this.shouldParseSkeletons ? Ei(n) : {}
|
|
3391
3443
|
},
|
|
3392
3444
|
err: null
|
|
3393
3445
|
};
|
|
@@ -3396,9 +3448,9 @@ var Ni = (
|
|
|
3396
3448
|
if (l.length === 0) {
|
|
3397
3449
|
var f = this.clonePosition();
|
|
3398
3450
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3399
|
-
var
|
|
3400
|
-
if (
|
|
3401
|
-
return
|
|
3451
|
+
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3452
|
+
if (d.err)
|
|
3453
|
+
return d;
|
|
3402
3454
|
u = w(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
|
|
3403
3455
|
} else
|
|
3404
3456
|
break;
|
|
@@ -3435,7 +3487,7 @@ var Ni = (
|
|
|
3435
3487
|
break;
|
|
3436
3488
|
}
|
|
3437
3489
|
var c = w(i, this.clonePosition());
|
|
3438
|
-
return o ? (s *= n,
|
|
3490
|
+
return o ? (s *= n, Mi(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
|
|
3439
3491
|
}, e.prototype.offset = function() {
|
|
3440
3492
|
return this.position.offset;
|
|
3441
3493
|
}, e.prototype.isEOF = function() {
|
|
@@ -3450,7 +3502,7 @@ var Ni = (
|
|
|
3450
3502
|
var t = this.position.offset;
|
|
3451
3503
|
if (t >= this.message.length)
|
|
3452
3504
|
throw Error("out of bound");
|
|
3453
|
-
var r =
|
|
3505
|
+
var r = Wr(this.message, t);
|
|
3454
3506
|
if (r === void 0)
|
|
3455
3507
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3456
3508
|
return r;
|
|
@@ -3469,7 +3521,7 @@ var Ni = (
|
|
|
3469
3521
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3470
3522
|
}
|
|
3471
3523
|
}, e.prototype.bumpIf = function(t) {
|
|
3472
|
-
if (
|
|
3524
|
+
if (ar(this.message, t, this.offset())) {
|
|
3473
3525
|
for (var r = 0; r < t.length; r++)
|
|
3474
3526
|
this.bump();
|
|
3475
3527
|
return !0;
|
|
@@ -3491,7 +3543,7 @@ var Ni = (
|
|
|
3491
3543
|
break;
|
|
3492
3544
|
}
|
|
3493
3545
|
}, e.prototype.bumpSpace = function() {
|
|
3494
|
-
for (; !this.isEOF() &&
|
|
3546
|
+
for (; !this.isEOF() && qr(this.char()); )
|
|
3495
3547
|
this.bump();
|
|
3496
3548
|
}, e.prototype.peek = function() {
|
|
3497
3549
|
if (this.isEOF())
|
|
@@ -3501,43 +3553,44 @@ var Ni = (
|
|
|
3501
3553
|
}, e;
|
|
3502
3554
|
}()
|
|
3503
3555
|
);
|
|
3504
|
-
function
|
|
3556
|
+
function Rt(e) {
|
|
3505
3557
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3506
3558
|
}
|
|
3507
|
-
function
|
|
3508
|
-
return
|
|
3559
|
+
function Di(e) {
|
|
3560
|
+
return Rt(e) || e === 47;
|
|
3509
3561
|
}
|
|
3510
|
-
function
|
|
3562
|
+
function ki(e) {
|
|
3511
3563
|
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;
|
|
3512
3564
|
}
|
|
3513
|
-
function
|
|
3565
|
+
function qr(e) {
|
|
3514
3566
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3515
3567
|
}
|
|
3516
|
-
function
|
|
3568
|
+
function Gi(e) {
|
|
3517
3569
|
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;
|
|
3518
3570
|
}
|
|
3519
|
-
function
|
|
3571
|
+
function Ut(e) {
|
|
3520
3572
|
e.forEach(function(t) {
|
|
3521
|
-
if (delete t.location,
|
|
3573
|
+
if (delete t.location, Dr(t) || kr(t))
|
|
3522
3574
|
for (var r in t.options)
|
|
3523
|
-
delete t.options[r].location,
|
|
3524
|
-
else
|
|
3575
|
+
delete t.options[r].location, Ut(t.options[r].value);
|
|
3576
|
+
else
|
|
3577
|
+
Rr(t) && $r(t.style) || (Ur(t) || Fr(t)) && Ot(t.style) ? delete t.style.location : Gr(t) && Ut(t.children);
|
|
3525
3578
|
});
|
|
3526
3579
|
}
|
|
3527
|
-
function
|
|
3580
|
+
function $i(e, t) {
|
|
3528
3581
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3529
|
-
var r = new
|
|
3582
|
+
var r = new Fi(e, t).parse();
|
|
3530
3583
|
if (r.err) {
|
|
3531
3584
|
var n = SyntaxError(_[r.err.kind]);
|
|
3532
3585
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3533
3586
|
}
|
|
3534
|
-
return t?.captureLocation ||
|
|
3587
|
+
return t?.captureLocation || Ut(r.val), r.val;
|
|
3535
3588
|
}
|
|
3536
3589
|
var Oe;
|
|
3537
3590
|
(function(e) {
|
|
3538
3591
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3539
3592
|
})(Oe || (Oe = {}));
|
|
3540
|
-
var
|
|
3593
|
+
var mt = (
|
|
3541
3594
|
/** @class */
|
|
3542
3595
|
function(e) {
|
|
3543
3596
|
ae(t, e);
|
|
@@ -3549,7 +3602,7 @@ var dt = (
|
|
|
3549
3602
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3550
3603
|
}, t;
|
|
3551
3604
|
}(Error)
|
|
3552
|
-
),
|
|
3605
|
+
), cr = (
|
|
3553
3606
|
/** @class */
|
|
3554
3607
|
function(e) {
|
|
3555
3608
|
ae(t, e);
|
|
@@ -3557,8 +3610,8 @@ var dt = (
|
|
|
3557
3610
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Oe.INVALID_VALUE, o) || this;
|
|
3558
3611
|
}
|
|
3559
3612
|
return t;
|
|
3560
|
-
}(
|
|
3561
|
-
),
|
|
3613
|
+
}(mt)
|
|
3614
|
+
), ji = (
|
|
3562
3615
|
/** @class */
|
|
3563
3616
|
function(e) {
|
|
3564
3617
|
ae(t, e);
|
|
@@ -3566,8 +3619,8 @@ var dt = (
|
|
|
3566
3619
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Oe.INVALID_VALUE, i) || this;
|
|
3567
3620
|
}
|
|
3568
3621
|
return t;
|
|
3569
|
-
}(
|
|
3570
|
-
),
|
|
3622
|
+
}(mt)
|
|
3623
|
+
), Vi = (
|
|
3571
3624
|
/** @class */
|
|
3572
3625
|
function(e) {
|
|
3573
3626
|
ae(t, e);
|
|
@@ -3575,22 +3628,22 @@ var dt = (
|
|
|
3575
3628
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Oe.MISSING_VALUE, n) || this;
|
|
3576
3629
|
}
|
|
3577
3630
|
return t;
|
|
3578
|
-
}(
|
|
3631
|
+
}(mt)
|
|
3579
3632
|
), V;
|
|
3580
3633
|
(function(e) {
|
|
3581
3634
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3582
3635
|
})(V || (V = {}));
|
|
3583
|
-
function
|
|
3636
|
+
function zi(e) {
|
|
3584
3637
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3585
3638
|
var n = t[t.length - 1];
|
|
3586
3639
|
return !n || n.type !== V.literal || r.type !== V.literal ? t.push(r) : n.value += r.value, t;
|
|
3587
3640
|
}, []);
|
|
3588
3641
|
}
|
|
3589
|
-
function
|
|
3642
|
+
function Xi(e) {
|
|
3590
3643
|
return typeof e == "function";
|
|
3591
3644
|
}
|
|
3592
3645
|
function at(e, t, r, n, i, o, s) {
|
|
3593
|
-
if (e.length === 1 &&
|
|
3646
|
+
if (e.length === 1 && nr(e[0]))
|
|
3594
3647
|
return [
|
|
3595
3648
|
{
|
|
3596
3649
|
type: V.literal,
|
|
@@ -3599,14 +3652,14 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3599
3652
|
];
|
|
3600
3653
|
for (var a = [], c = 0, l = e; c < l.length; c++) {
|
|
3601
3654
|
var u = l[c];
|
|
3602
|
-
if (
|
|
3655
|
+
if (nr(u)) {
|
|
3603
3656
|
a.push({
|
|
3604
3657
|
type: V.literal,
|
|
3605
3658
|
value: u.value
|
|
3606
3659
|
});
|
|
3607
3660
|
continue;
|
|
3608
3661
|
}
|
|
3609
|
-
if (
|
|
3662
|
+
if (mi(u)) {
|
|
3610
3663
|
typeof o == "number" && a.push({
|
|
3611
3664
|
type: V.literal,
|
|
3612
3665
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3615,43 +3668,43 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3615
3668
|
}
|
|
3616
3669
|
var f = u.value;
|
|
3617
3670
|
if (!(i && f in i))
|
|
3618
|
-
throw new
|
|
3619
|
-
var
|
|
3620
|
-
if (
|
|
3621
|
-
(!
|
|
3622
|
-
type: typeof
|
|
3623
|
-
value:
|
|
3671
|
+
throw new Vi(f, s);
|
|
3672
|
+
var d = i[f];
|
|
3673
|
+
if (di(u)) {
|
|
3674
|
+
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3675
|
+
type: typeof d == "string" ? V.literal : V.object,
|
|
3676
|
+
value: d
|
|
3624
3677
|
});
|
|
3625
3678
|
continue;
|
|
3626
3679
|
}
|
|
3627
|
-
if (
|
|
3628
|
-
var b = typeof u.style == "string" ? n.date[u.style] :
|
|
3680
|
+
if (Ur(u)) {
|
|
3681
|
+
var b = typeof u.style == "string" ? n.date[u.style] : Ot(u.style) ? u.style.parsedOptions : void 0;
|
|
3629
3682
|
a.push({
|
|
3630
3683
|
type: V.literal,
|
|
3631
|
-
value: r.getDateTimeFormat(t, b).format(
|
|
3684
|
+
value: r.getDateTimeFormat(t, b).format(d)
|
|
3632
3685
|
});
|
|
3633
3686
|
continue;
|
|
3634
3687
|
}
|
|
3635
|
-
if (
|
|
3636
|
-
var b = typeof u.style == "string" ? n.time[u.style] :
|
|
3688
|
+
if (Fr(u)) {
|
|
3689
|
+
var b = typeof u.style == "string" ? n.time[u.style] : Ot(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3637
3690
|
a.push({
|
|
3638
3691
|
type: V.literal,
|
|
3639
|
-
value: r.getDateTimeFormat(t, b).format(
|
|
3692
|
+
value: r.getDateTimeFormat(t, b).format(d)
|
|
3640
3693
|
});
|
|
3641
3694
|
continue;
|
|
3642
3695
|
}
|
|
3643
|
-
if (
|
|
3644
|
-
var b = typeof u.style == "string" ? n.number[u.style] :
|
|
3645
|
-
b && b.scale && (
|
|
3696
|
+
if (Rr(u)) {
|
|
3697
|
+
var b = typeof u.style == "string" ? n.number[u.style] : $r(u.style) ? u.style.parsedOptions : void 0;
|
|
3698
|
+
b && b.scale && (d = d * (b.scale || 1)), a.push({
|
|
3646
3699
|
type: V.literal,
|
|
3647
|
-
value: r.getNumberFormat(t, b).format(
|
|
3700
|
+
value: r.getNumberFormat(t, b).format(d)
|
|
3648
3701
|
});
|
|
3649
3702
|
continue;
|
|
3650
3703
|
}
|
|
3651
|
-
if (
|
|
3704
|
+
if (Gr(u)) {
|
|
3652
3705
|
var y = u.children, g = u.value, S = i[g];
|
|
3653
|
-
if (!
|
|
3654
|
-
throw new
|
|
3706
|
+
if (!Xi(S))
|
|
3707
|
+
throw new ji(g, "function", s);
|
|
3655
3708
|
var C = at(y, t, r, n, i, o), z = S(C.map(function(A) {
|
|
3656
3709
|
return A.value;
|
|
3657
3710
|
}));
|
|
@@ -3662,42 +3715,42 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3662
3715
|
};
|
|
3663
3716
|
}));
|
|
3664
3717
|
}
|
|
3665
|
-
if (
|
|
3666
|
-
var R = u.options[
|
|
3718
|
+
if (Dr(u)) {
|
|
3719
|
+
var R = u.options[d] || u.options.other;
|
|
3667
3720
|
if (!R)
|
|
3668
|
-
throw new
|
|
3721
|
+
throw new cr(u.value, d, Object.keys(u.options), s);
|
|
3669
3722
|
a.push.apply(a, at(R.value, t, r, n, i));
|
|
3670
3723
|
continue;
|
|
3671
3724
|
}
|
|
3672
|
-
if (
|
|
3673
|
-
var R = u.options["=".concat(
|
|
3725
|
+
if (kr(u)) {
|
|
3726
|
+
var R = u.options["=".concat(d)];
|
|
3674
3727
|
if (!R) {
|
|
3675
3728
|
if (!Intl.PluralRules)
|
|
3676
|
-
throw new
|
|
3729
|
+
throw new mt(`Intl.PluralRules is not available in this environment.
|
|
3677
3730
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3678
3731
|
`, Oe.MISSING_INTL_API, s);
|
|
3679
|
-
var U = r.getPluralRules(t, { type: u.pluralType }).select(
|
|
3732
|
+
var U = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
|
|
3680
3733
|
R = u.options[U] || u.options.other;
|
|
3681
3734
|
}
|
|
3682
3735
|
if (!R)
|
|
3683
|
-
throw new
|
|
3684
|
-
a.push.apply(a, at(R.value, t, r, n, i,
|
|
3736
|
+
throw new cr(u.value, d, Object.keys(u.options), s);
|
|
3737
|
+
a.push.apply(a, at(R.value, t, r, n, i, d - (u.offset || 0)));
|
|
3685
3738
|
continue;
|
|
3686
3739
|
}
|
|
3687
3740
|
}
|
|
3688
|
-
return
|
|
3741
|
+
return zi(a);
|
|
3689
3742
|
}
|
|
3690
|
-
function
|
|
3743
|
+
function Wi(e, t) {
|
|
3691
3744
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3692
3745
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3693
3746
|
}, {})) : e;
|
|
3694
3747
|
}
|
|
3695
|
-
function
|
|
3748
|
+
function Zi(e, t) {
|
|
3696
3749
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3697
|
-
return r[n] =
|
|
3750
|
+
return r[n] = Wi(e[n], t[n]), r;
|
|
3698
3751
|
}, E({}, e)) : e;
|
|
3699
3752
|
}
|
|
3700
|
-
function
|
|
3753
|
+
function xt(e) {
|
|
3701
3754
|
return {
|
|
3702
3755
|
create: function() {
|
|
3703
3756
|
return {
|
|
@@ -3711,39 +3764,39 @@ function Et(e) {
|
|
|
3711
3764
|
}
|
|
3712
3765
|
};
|
|
3713
3766
|
}
|
|
3714
|
-
function
|
|
3767
|
+
function qi(e) {
|
|
3715
3768
|
return e === void 0 && (e = {
|
|
3716
3769
|
number: {},
|
|
3717
3770
|
dateTime: {},
|
|
3718
3771
|
pluralRules: {}
|
|
3719
3772
|
}), {
|
|
3720
|
-
getNumberFormat:
|
|
3773
|
+
getNumberFormat: _t(function() {
|
|
3721
3774
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3722
3775
|
r[n] = arguments[n];
|
|
3723
3776
|
return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3724
3777
|
}, {
|
|
3725
|
-
cache:
|
|
3726
|
-
strategy:
|
|
3778
|
+
cache: xt(e.number),
|
|
3779
|
+
strategy: wt.variadic
|
|
3727
3780
|
}),
|
|
3728
|
-
getDateTimeFormat:
|
|
3781
|
+
getDateTimeFormat: _t(function() {
|
|
3729
3782
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3730
3783
|
r[n] = arguments[n];
|
|
3731
3784
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3732
3785
|
}, {
|
|
3733
|
-
cache:
|
|
3734
|
-
strategy:
|
|
3786
|
+
cache: xt(e.dateTime),
|
|
3787
|
+
strategy: wt.variadic
|
|
3735
3788
|
}),
|
|
3736
|
-
getPluralRules:
|
|
3789
|
+
getPluralRules: _t(function() {
|
|
3737
3790
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3738
3791
|
r[n] = arguments[n];
|
|
3739
3792
|
return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3740
3793
|
}, {
|
|
3741
|
-
cache:
|
|
3742
|
-
strategy:
|
|
3794
|
+
cache: xt(e.pluralRules),
|
|
3795
|
+
strategy: wt.variadic
|
|
3743
3796
|
})
|
|
3744
3797
|
};
|
|
3745
3798
|
}
|
|
3746
|
-
var
|
|
3799
|
+
var Ji = (
|
|
3747
3800
|
/** @class */
|
|
3748
3801
|
function() {
|
|
3749
3802
|
function e(t, r, n, i) {
|
|
@@ -3757,8 +3810,8 @@ var Wi = (
|
|
|
3757
3810
|
var l = o.formatToParts(c);
|
|
3758
3811
|
if (l.length === 1)
|
|
3759
3812
|
return l[0].value;
|
|
3760
|
-
var u = l.reduce(function(f,
|
|
3761
|
-
return !f.length ||
|
|
3813
|
+
var u = l.reduce(function(f, d) {
|
|
3814
|
+
return !f.length || d.type !== V.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
|
|
3762
3815
|
}, []);
|
|
3763
3816
|
return u.length <= 1 ? u[0] || "" : u;
|
|
3764
3817
|
}, this.formatToParts = function(c) {
|
|
@@ -3775,13 +3828,13 @@ var Wi = (
|
|
|
3775
3828
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3776
3829
|
var s = i || {};
|
|
3777
3830
|
s.formatters;
|
|
3778
|
-
var a =
|
|
3831
|
+
var a = An(s, ["formatters"]);
|
|
3779
3832
|
this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
|
|
3780
3833
|
} else
|
|
3781
3834
|
this.ast = t;
|
|
3782
3835
|
if (!Array.isArray(this.ast))
|
|
3783
3836
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3784
|
-
this.formats =
|
|
3837
|
+
this.formats = Zi(e.formats, n), this.formatters = i && i.formatters || qi(this.formatterCache);
|
|
3785
3838
|
}
|
|
3786
3839
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3787
3840
|
get: function() {
|
|
@@ -3794,7 +3847,7 @@ var Wi = (
|
|
|
3794
3847
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3795
3848
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3796
3849
|
}
|
|
3797
|
-
}, e.__parse =
|
|
3850
|
+
}, e.__parse = $i, e.formats = {
|
|
3798
3851
|
number: {
|
|
3799
3852
|
integer: {
|
|
3800
3853
|
maximumFractionDigits: 0
|
|
@@ -3855,7 +3908,7 @@ var Wi = (
|
|
|
3855
3908
|
}, e;
|
|
3856
3909
|
}()
|
|
3857
3910
|
);
|
|
3858
|
-
function
|
|
3911
|
+
function Qi(e, t) {
|
|
3859
3912
|
if (t == null)
|
|
3860
3913
|
return;
|
|
3861
3914
|
if (t in e)
|
|
@@ -3876,92 +3929,92 @@ function Zi(e, t) {
|
|
|
3876
3929
|
n = void 0;
|
|
3877
3930
|
return n;
|
|
3878
3931
|
}
|
|
3879
|
-
const ue = {},
|
|
3932
|
+
const ue = {}, Yi = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), Jr = (e, t) => {
|
|
3880
3933
|
if (t == null)
|
|
3881
3934
|
return;
|
|
3882
3935
|
if (t in ue && e in ue[t])
|
|
3883
3936
|
return ue[t][e];
|
|
3884
3937
|
const r = pt(t);
|
|
3885
3938
|
for (let n = 0; n < r.length; n++) {
|
|
3886
|
-
const i = r[n], o =
|
|
3939
|
+
const i = r[n], o = eo(i, e);
|
|
3887
3940
|
if (o)
|
|
3888
|
-
return
|
|
3941
|
+
return Yi(e, t, o);
|
|
3889
3942
|
}
|
|
3890
3943
|
};
|
|
3891
|
-
let
|
|
3892
|
-
const Re =
|
|
3893
|
-
function
|
|
3894
|
-
return
|
|
3944
|
+
let jt;
|
|
3945
|
+
const Re = dt({});
|
|
3946
|
+
function Ki(e) {
|
|
3947
|
+
return jt[e] || null;
|
|
3895
3948
|
}
|
|
3896
|
-
function
|
|
3897
|
-
return e in
|
|
3949
|
+
function Qr(e) {
|
|
3950
|
+
return e in jt;
|
|
3898
3951
|
}
|
|
3899
|
-
function
|
|
3900
|
-
if (!
|
|
3952
|
+
function eo(e, t) {
|
|
3953
|
+
if (!Qr(e))
|
|
3901
3954
|
return null;
|
|
3902
|
-
const r =
|
|
3903
|
-
return
|
|
3955
|
+
const r = Ki(e);
|
|
3956
|
+
return Qi(r, t);
|
|
3904
3957
|
}
|
|
3905
|
-
function
|
|
3958
|
+
function to(e) {
|
|
3906
3959
|
if (e == null)
|
|
3907
3960
|
return;
|
|
3908
3961
|
const t = pt(e);
|
|
3909
3962
|
for (let r = 0; r < t.length; r++) {
|
|
3910
3963
|
const n = t[r];
|
|
3911
|
-
if (
|
|
3964
|
+
if (Qr(n))
|
|
3912
3965
|
return n;
|
|
3913
3966
|
}
|
|
3914
3967
|
}
|
|
3915
|
-
function
|
|
3916
|
-
delete ue[e], Re.update((r) => (r[e] =
|
|
3968
|
+
function Yr(e, ...t) {
|
|
3969
|
+
delete ue[e], Re.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
|
|
3917
3970
|
}
|
|
3918
3971
|
Ne(
|
|
3919
3972
|
[Re],
|
|
3920
3973
|
([e]) => Object.keys(e)
|
|
3921
3974
|
);
|
|
3922
|
-
Re.subscribe((e) =>
|
|
3975
|
+
Re.subscribe((e) => jt = e);
|
|
3923
3976
|
const lt = {};
|
|
3924
|
-
function
|
|
3977
|
+
function ro(e, t) {
|
|
3925
3978
|
lt[e].delete(t), lt[e].size === 0 && delete lt[e];
|
|
3926
3979
|
}
|
|
3927
|
-
function
|
|
3980
|
+
function Kr(e) {
|
|
3928
3981
|
return lt[e];
|
|
3929
3982
|
}
|
|
3930
|
-
function
|
|
3983
|
+
function no(e) {
|
|
3931
3984
|
return pt(e).map((t) => {
|
|
3932
|
-
const r =
|
|
3985
|
+
const r = Kr(t);
|
|
3933
3986
|
return [t, r ? [...r] : []];
|
|
3934
3987
|
}).filter(([, t]) => t.length > 0);
|
|
3935
3988
|
}
|
|
3936
|
-
function
|
|
3989
|
+
function Ft(e) {
|
|
3937
3990
|
return e == null ? !1 : pt(e).some(
|
|
3938
3991
|
(t) => {
|
|
3939
3992
|
var r;
|
|
3940
|
-
return (r =
|
|
3993
|
+
return (r = Kr(t)) == null ? void 0 : r.size;
|
|
3941
3994
|
}
|
|
3942
3995
|
);
|
|
3943
3996
|
}
|
|
3944
|
-
function
|
|
3997
|
+
function io(e, t) {
|
|
3945
3998
|
return Promise.all(
|
|
3946
|
-
t.map((n) => (
|
|
3947
|
-
).then((n) =>
|
|
3999
|
+
t.map((n) => (ro(e, n), n().then((i) => i.default || i)))
|
|
4000
|
+
).then((n) => Yr(e, ...n));
|
|
3948
4001
|
}
|
|
3949
4002
|
const je = {};
|
|
3950
|
-
function
|
|
3951
|
-
if (!
|
|
4003
|
+
function en(e) {
|
|
4004
|
+
if (!Ft(e))
|
|
3952
4005
|
return e in je ? je[e] : Promise.resolve();
|
|
3953
|
-
const t =
|
|
4006
|
+
const t = no(e);
|
|
3954
4007
|
return je[e] = Promise.all(
|
|
3955
4008
|
t.map(
|
|
3956
|
-
([r, n]) =>
|
|
4009
|
+
([r, n]) => io(r, n)
|
|
3957
4010
|
)
|
|
3958
4011
|
).then(() => {
|
|
3959
|
-
if (
|
|
3960
|
-
return
|
|
4012
|
+
if (Ft(e))
|
|
4013
|
+
return en(e);
|
|
3961
4014
|
delete je[e];
|
|
3962
4015
|
}), je[e];
|
|
3963
4016
|
}
|
|
3964
|
-
const
|
|
4017
|
+
const oo = {
|
|
3965
4018
|
number: {
|
|
3966
4019
|
scientific: { notation: "scientific" },
|
|
3967
4020
|
engineering: { notation: "engineering" },
|
|
@@ -3990,57 +4043,57 @@ const ro = {
|
|
|
3990
4043
|
timeZoneName: "short"
|
|
3991
4044
|
}
|
|
3992
4045
|
}
|
|
3993
|
-
},
|
|
4046
|
+
}, so = {
|
|
3994
4047
|
fallbackLocale: null,
|
|
3995
4048
|
loadingDelay: 200,
|
|
3996
|
-
formats:
|
|
4049
|
+
formats: oo,
|
|
3997
4050
|
warnOnMissingMessages: !0,
|
|
3998
4051
|
handleMissingMessage: void 0,
|
|
3999
4052
|
ignoreTag: !0
|
|
4000
|
-
},
|
|
4053
|
+
}, ao = so;
|
|
4001
4054
|
function Le() {
|
|
4002
|
-
return
|
|
4055
|
+
return ao;
|
|
4003
4056
|
}
|
|
4004
|
-
const
|
|
4005
|
-
var
|
|
4057
|
+
const St = dt(!1);
|
|
4058
|
+
var lo = Object.defineProperty, uo = Object.defineProperties, co = Object.getOwnPropertyDescriptors, hr = Object.getOwnPropertySymbols, ho = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mo = (e, t) => {
|
|
4006
4059
|
for (var r in t || (t = {}))
|
|
4007
|
-
|
|
4008
|
-
if (
|
|
4009
|
-
for (var r of
|
|
4010
|
-
|
|
4060
|
+
ho.call(t, r) && fr(e, r, t[r]);
|
|
4061
|
+
if (hr)
|
|
4062
|
+
for (var r of hr(t))
|
|
4063
|
+
fo.call(t, r) && fr(e, r, t[r]);
|
|
4011
4064
|
return e;
|
|
4012
|
-
},
|
|
4013
|
-
let
|
|
4014
|
-
const ct =
|
|
4015
|
-
function
|
|
4065
|
+
}, po = (e, t) => uo(e, co(t));
|
|
4066
|
+
let Dt;
|
|
4067
|
+
const ct = dt(null);
|
|
4068
|
+
function dr(e) {
|
|
4016
4069
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4017
4070
|
}
|
|
4018
4071
|
function pt(e, t = Le().fallbackLocale) {
|
|
4019
|
-
const r =
|
|
4020
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4072
|
+
const r = dr(e);
|
|
4073
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...dr(t)])] : r;
|
|
4021
4074
|
}
|
|
4022
4075
|
function ve() {
|
|
4023
|
-
return
|
|
4076
|
+
return Dt ?? void 0;
|
|
4024
4077
|
}
|
|
4025
4078
|
ct.subscribe((e) => {
|
|
4026
|
-
|
|
4079
|
+
Dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4027
4080
|
});
|
|
4028
|
-
const
|
|
4029
|
-
if (e &&
|
|
4081
|
+
const go = (e) => {
|
|
4082
|
+
if (e && to(e) && Ft(e)) {
|
|
4030
4083
|
const { loadingDelay: t } = Le();
|
|
4031
4084
|
let r;
|
|
4032
4085
|
return typeof window < "u" && ve() != null && t ? r = window.setTimeout(
|
|
4033
|
-
() =>
|
|
4086
|
+
() => St.set(!0),
|
|
4034
4087
|
t
|
|
4035
|
-
) :
|
|
4088
|
+
) : St.set(!0), en(e).then(() => {
|
|
4036
4089
|
ct.set(e);
|
|
4037
4090
|
}).finally(() => {
|
|
4038
|
-
clearTimeout(r),
|
|
4091
|
+
clearTimeout(r), St.set(!1);
|
|
4039
4092
|
});
|
|
4040
4093
|
}
|
|
4041
4094
|
return ct.set(e);
|
|
4042
|
-
}, ce =
|
|
4043
|
-
set:
|
|
4095
|
+
}, ce = po(mo({}, ct), {
|
|
4096
|
+
set: go
|
|
4044
4097
|
}), gt = (e) => {
|
|
4045
4098
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4046
4099
|
return (n) => {
|
|
@@ -4048,20 +4101,20 @@ const fo = (e) => {
|
|
|
4048
4101
|
return i in t ? t[i] : t[i] = e(n);
|
|
4049
4102
|
};
|
|
4050
4103
|
};
|
|
4051
|
-
var
|
|
4104
|
+
var bo = Object.defineProperty, ht = Object.getOwnPropertySymbols, tn = Object.prototype.hasOwnProperty, rn = Object.prototype.propertyIsEnumerable, mr = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
|
|
4052
4105
|
for (var r in t || (t = {}))
|
|
4053
|
-
|
|
4106
|
+
tn.call(t, r) && mr(e, r, t[r]);
|
|
4054
4107
|
if (ht)
|
|
4055
4108
|
for (var r of ht(t))
|
|
4056
|
-
|
|
4109
|
+
rn.call(t, r) && mr(e, r, t[r]);
|
|
4057
4110
|
return e;
|
|
4058
4111
|
}, Ue = (e, t) => {
|
|
4059
4112
|
var r = {};
|
|
4060
4113
|
for (var n in e)
|
|
4061
|
-
|
|
4114
|
+
tn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4062
4115
|
if (e != null && ht)
|
|
4063
4116
|
for (var n of ht(e))
|
|
4064
|
-
t.indexOf(n) < 0 &&
|
|
4117
|
+
t.indexOf(n) < 0 && rn.call(e, n) && (r[n] = e[n]);
|
|
4065
4118
|
return r;
|
|
4066
4119
|
};
|
|
4067
4120
|
const We = (e, t) => {
|
|
@@ -4069,21 +4122,21 @@ const We = (e, t) => {
|
|
|
4069
4122
|
if (e in r && t in r[e])
|
|
4070
4123
|
return r[e][t];
|
|
4071
4124
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4072
|
-
},
|
|
4125
|
+
}, vo = gt(
|
|
4073
4126
|
(e) => {
|
|
4074
4127
|
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4075
4128
|
if (r == null)
|
|
4076
4129
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4077
4130
|
return n && (i = We("number", n)), new Intl.NumberFormat(r, i);
|
|
4078
4131
|
}
|
|
4079
|
-
),
|
|
4132
|
+
), yo = gt(
|
|
4080
4133
|
(e) => {
|
|
4081
4134
|
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4082
4135
|
if (r == null)
|
|
4083
4136
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4084
4137
|
return n ? i = We("date", n) : Object.keys(i).length === 0 && (i = We("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4085
4138
|
}
|
|
4086
|
-
),
|
|
4139
|
+
), _o = gt(
|
|
4087
4140
|
(e) => {
|
|
4088
4141
|
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4089
4142
|
if (r == null)
|
|
@@ -4092,33 +4145,33 @@ const We = (e, t) => {
|
|
|
4092
4145
|
);
|
|
4093
4146
|
return n ? i = We("time", n) : Object.keys(i).length === 0 && (i = We("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4094
4147
|
}
|
|
4095
|
-
),
|
|
4148
|
+
), wo = (e = {}) => {
|
|
4096
4149
|
var t = e, {
|
|
4097
4150
|
locale: r = ve()
|
|
4098
4151
|
} = t, n = Ue(t, [
|
|
4099
4152
|
"locale"
|
|
4100
4153
|
]);
|
|
4101
|
-
return
|
|
4102
|
-
},
|
|
4154
|
+
return vo(Vt({ locale: r }, n));
|
|
4155
|
+
}, Eo = (e = {}) => {
|
|
4103
4156
|
var t = e, {
|
|
4104
4157
|
locale: r = ve()
|
|
4105
4158
|
} = t, n = Ue(t, [
|
|
4106
4159
|
"locale"
|
|
4107
4160
|
]);
|
|
4108
|
-
return
|
|
4109
|
-
},
|
|
4161
|
+
return yo(Vt({ locale: r }, n));
|
|
4162
|
+
}, xo = (e = {}) => {
|
|
4110
4163
|
var t = e, {
|
|
4111
4164
|
locale: r = ve()
|
|
4112
4165
|
} = t, n = Ue(t, [
|
|
4113
4166
|
"locale"
|
|
4114
4167
|
]);
|
|
4115
|
-
return
|
|
4116
|
-
},
|
|
4168
|
+
return _o(Vt({ locale: r }, n));
|
|
4169
|
+
}, So = gt(
|
|
4117
4170
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4118
|
-
(e, t = ve()) => new
|
|
4171
|
+
(e, t = ve()) => new Ji(e, t, Le().formats, {
|
|
4119
4172
|
ignoreTag: Le().ignoreTag
|
|
4120
4173
|
})
|
|
4121
|
-
),
|
|
4174
|
+
), Po = (e, t = {}) => {
|
|
4122
4175
|
var r, n, i, o;
|
|
4123
4176
|
let s = t;
|
|
4124
4177
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4131,7 +4184,7 @@ const We = (e, t) => {
|
|
|
4131
4184
|
throw new Error(
|
|
4132
4185
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4133
4186
|
);
|
|
4134
|
-
let u =
|
|
4187
|
+
let u = Jr(e, c);
|
|
4135
4188
|
if (!u)
|
|
4136
4189
|
u = (o = (i = (n = (r = Le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4137
4190
|
else if (typeof u != "string")
|
|
@@ -4142,33 +4195,33 @@ const We = (e, t) => {
|
|
|
4142
4195
|
return u;
|
|
4143
4196
|
let f = u;
|
|
4144
4197
|
try {
|
|
4145
|
-
f =
|
|
4146
|
-
} catch (
|
|
4147
|
-
|
|
4198
|
+
f = So(u, c).format(a);
|
|
4199
|
+
} catch (d) {
|
|
4200
|
+
d instanceof Error && console.warn(
|
|
4148
4201
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4149
|
-
|
|
4202
|
+
d.message
|
|
4150
4203
|
);
|
|
4151
4204
|
}
|
|
4152
4205
|
return f;
|
|
4153
|
-
},
|
|
4154
|
-
Ne([ce], () =>
|
|
4155
|
-
Ne([ce], () =>
|
|
4156
|
-
Ne([ce], () =>
|
|
4157
|
-
Ne([ce, Re], () =>
|
|
4158
|
-
window.emWidgets = { topic:
|
|
4159
|
-
const
|
|
4160
|
-
function
|
|
4206
|
+
}, To = (e, t) => xo(t).format(e), Ho = (e, t) => Eo(t).format(e), Bo = (e, t) => wo(t).format(e), Ao = (e, t = ve()) => Jr(e, t), Io = Ne([ce, Re], () => Po);
|
|
4207
|
+
Ne([ce], () => To);
|
|
4208
|
+
Ne([ce], () => Ho);
|
|
4209
|
+
Ne([ce], () => Bo);
|
|
4210
|
+
Ne([ce, Re], () => Ao);
|
|
4211
|
+
window.emWidgets = { topic: jn };
|
|
4212
|
+
const Co = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4213
|
+
function Oo({ withLocale: e, translations: t }) {
|
|
4161
4214
|
ce.subscribe((r) => {
|
|
4162
4215
|
r == null && (Re.set(t), ce.set(e));
|
|
4163
4216
|
});
|
|
4164
4217
|
}
|
|
4165
|
-
function
|
|
4166
|
-
|
|
4218
|
+
function pr(e, t) {
|
|
4219
|
+
Yr(e, t);
|
|
4167
4220
|
}
|
|
4168
|
-
function
|
|
4221
|
+
function Lo(e) {
|
|
4169
4222
|
ce.set(e);
|
|
4170
4223
|
}
|
|
4171
|
-
const
|
|
4224
|
+
const gr = {
|
|
4172
4225
|
en: {
|
|
4173
4226
|
loginTitle: "Welcome",
|
|
4174
4227
|
loginSubtitle: "Don't have an account yet?",
|
|
@@ -4313,13 +4366,13 @@ const mr = {
|
|
|
4313
4366
|
successMessage: "Login successful"
|
|
4314
4367
|
}
|
|
4315
4368
|
};
|
|
4316
|
-
function
|
|
4369
|
+
function Mo(e, t) {
|
|
4317
4370
|
if (e) {
|
|
4318
4371
|
const r = document.createElement("style");
|
|
4319
4372
|
r.innerHTML = t, e.appendChild(r);
|
|
4320
4373
|
}
|
|
4321
4374
|
}
|
|
4322
|
-
function
|
|
4375
|
+
function No(e, t) {
|
|
4323
4376
|
const r = new URL(t);
|
|
4324
4377
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4325
4378
|
const i = document.createElement("style");
|
|
@@ -4328,7 +4381,7 @@ function Oo(e, t) {
|
|
|
4328
4381
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4329
4382
|
});
|
|
4330
4383
|
}
|
|
4331
|
-
function
|
|
4384
|
+
function Ro(e, t, r) {
|
|
4332
4385
|
if (window.emMessageBus) {
|
|
4333
4386
|
const n = document.createElement("style");
|
|
4334
4387
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4348,18 +4401,18 @@ if (typeof window < "u") {
|
|
|
4348
4401
|
}
|
|
4349
4402
|
};
|
|
4350
4403
|
};
|
|
4351
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4404
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-B2rhd8Mx.js").then(({ default: t }) => {
|
|
4352
4405
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4353
4406
|
});
|
|
4354
4407
|
}
|
|
4355
|
-
function
|
|
4356
|
-
|
|
4408
|
+
function Uo(e) {
|
|
4409
|
+
ln(e, "svelte-hnczwb", '.grecaptcha-badge{opacity:0}input,select{font-family:inherit}.PlayerLoginFormWrapper{height:100%;border-radius:var(--emw--border-radius-medium, 15px)}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-light, 300);padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border-radius:15px;border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.UserContainer input:focus,.PasswordContainer input:focus,.CaptchaContainer input:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--color-error, var(--emw--color-error, #ed0909));background:var(--emw--color-pale, #FBECF4);outline:none;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, var(--emw--color-error, #ed0909))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.SignInButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-error, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset;border-radius:var(--emw--border-radius-medium, 15px)}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
4357
4410
|
}
|
|
4358
|
-
function
|
|
4411
|
+
function br(e) {
|
|
4359
4412
|
let t, r;
|
|
4360
4413
|
return {
|
|
4361
4414
|
c() {
|
|
4362
|
-
t = x("script"),
|
|
4415
|
+
t = x("script"), Wt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4363
4416
|
e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
|
|
4364
4417
|
},
|
|
4365
4418
|
m(n, i) {
|
|
@@ -4367,7 +4420,7 @@ function dr(e) {
|
|
|
4367
4420
|
},
|
|
4368
4421
|
p(n, i) {
|
|
4369
4422
|
i[0] & /*captchakey*/
|
|
4370
|
-
2 && !
|
|
4423
|
+
2 && !Wt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4371
4424
|
n[1]) && h(t, "src", r);
|
|
4372
4425
|
},
|
|
4373
4426
|
d(n) {
|
|
@@ -4375,12 +4428,12 @@ function dr(e) {
|
|
|
4375
4428
|
}
|
|
4376
4429
|
};
|
|
4377
4430
|
}
|
|
4378
|
-
function
|
|
4431
|
+
function Fo(e) {
|
|
4379
4432
|
let t, r, n;
|
|
4380
4433
|
function i(a, c) {
|
|
4381
4434
|
return (
|
|
4382
4435
|
/*startSmsValidation*/
|
|
4383
|
-
a[21] ?
|
|
4436
|
+
a[21] ? Go : ko
|
|
4384
4437
|
);
|
|
4385
4438
|
}
|
|
4386
4439
|
let o = i(e), s = o(e);
|
|
@@ -4390,7 +4443,7 @@ function No(e) {
|
|
|
4390
4443
|
(e[11] ? "FormMobileContainer" : ""));
|
|
4391
4444
|
},
|
|
4392
4445
|
m(a, c) {
|
|
4393
|
-
L(a, t, c),
|
|
4446
|
+
L(a, t, c), m(t, r), s.m(r, null);
|
|
4394
4447
|
},
|
|
4395
4448
|
p(a, c) {
|
|
4396
4449
|
o === (o = i(a)) && s ? s.p(a, c) : (s.d(1), s = o(a), s && (s.c(), s.m(r, null))), c[0] & /*mobileView*/
|
|
@@ -4402,7 +4455,7 @@ function No(e) {
|
|
|
4402
4455
|
}
|
|
4403
4456
|
};
|
|
4404
4457
|
}
|
|
4405
|
-
function
|
|
4458
|
+
function Do(e) {
|
|
4406
4459
|
let t;
|
|
4407
4460
|
return {
|
|
4408
4461
|
c() {
|
|
@@ -4417,7 +4470,7 @@ function Ro(e) {
|
|
|
4417
4470
|
}
|
|
4418
4471
|
};
|
|
4419
4472
|
}
|
|
4420
|
-
function
|
|
4473
|
+
function ko(e) {
|
|
4421
4474
|
let t, r, n = (
|
|
4422
4475
|
/*$_*/
|
|
4423
4476
|
e[22]("loginTitle") + ""
|
|
@@ -4427,13 +4480,13 @@ function Uo(e) {
|
|
|
4427
4480
|
), c, l, u, f = (
|
|
4428
4481
|
/*$_*/
|
|
4429
4482
|
e[22]("loginSubtitleRegister") + ""
|
|
4430
|
-
),
|
|
4483
|
+
), d, b, y, g, S, C, z = (
|
|
4431
4484
|
/*$_*/
|
|
4432
4485
|
e[22]("loginUsername") + ""
|
|
4433
4486
|
), R, U, A, re, H, ie, he, J, le, B, ne, X = (
|
|
4434
4487
|
/*$_*/
|
|
4435
4488
|
e[22]("loginPassword") + ""
|
|
4436
|
-
), Fe, Ze, fe,
|
|
4489
|
+
), Fe, Ze, fe, de, M, ye, qe, _e, we, me, De, Ee, Q, pe = (
|
|
4437
4490
|
/*$_*/
|
|
4438
4491
|
e[22]("loginButton") + ""
|
|
4439
4492
|
), xe, Je, ge, be = (
|
|
@@ -4441,45 +4494,45 @@ function Uo(e) {
|
|
|
4441
4494
|
e[22]("loginForgotPassword") + ""
|
|
4442
4495
|
), ke, Ge, Qe, F = (
|
|
4443
4496
|
/*invalidName*/
|
|
4444
|
-
e[14] &&
|
|
4497
|
+
e[14] && vr(e)
|
|
4445
4498
|
);
|
|
4446
4499
|
function Ye(v, P) {
|
|
4447
4500
|
return (
|
|
4448
4501
|
/*isPasswordVisible*/
|
|
4449
|
-
v[19] ?
|
|
4502
|
+
v[19] ? jo : $o
|
|
4450
4503
|
);
|
|
4451
4504
|
}
|
|
4452
4505
|
let Se = Ye(e), Y = Se(e), D = (
|
|
4453
4506
|
/*invalidPassword*/
|
|
4454
4507
|
e[15] && /*simplepasswordvalidation*/
|
|
4455
|
-
e[2] !== "true" &&
|
|
4508
|
+
e[2] !== "true" && yr(e)
|
|
4456
4509
|
), k = (
|
|
4457
4510
|
/*invalidPassword*/
|
|
4458
4511
|
e[15] && /*simplepasswordvalidation*/
|
|
4459
|
-
e[2] === "true" &&
|
|
4512
|
+
e[2] === "true" && _r(e)
|
|
4460
4513
|
), G = (
|
|
4461
4514
|
/*errorMessage*/
|
|
4462
|
-
e[16] &&
|
|
4515
|
+
e[16] && wr(e)
|
|
4463
4516
|
);
|
|
4464
4517
|
return {
|
|
4465
4518
|
c() {
|
|
4466
|
-
t = x("div"), r = x("h4"), i = N(n), o = j(), s = x("p"), c = N(a), l = j(), u = x("span"),
|
|
4519
|
+
t = x("div"), r = x("h4"), i = N(n), o = j(), s = x("p"), c = N(a), l = j(), u = x("span"), d = N(f), b = j(), y = x("div"), g = x("form"), S = x("div"), C = x("label"), R = N(z), U = N(":"), A = x("span"), A.textContent = "*", re = j(), H = x("input"), he = j(), F && F.c(), le = j(), B = x("div"), ne = x("label"), Fe = N(X), Ze = N(":"), fe = x("span"), fe.textContent = "*", de = j(), M = x("input"), qe = j(), Y.c(), _e = j(), D && D.c(), we = j(), k && k.c(), De = j(), G && G.c(), Ee = j(), Q = x("button"), xe = N(pe), Je = j(), ge = x("button"), ke = N(be), h(r, "class", "FormHeaderTitle"), h(u, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(A, "class", "FormRequired"), h(C, "for", "username"), h(H, "type", "text"), h(H, "id", "email"), h(H, "name", "email"), h(H, "autocomplete", ie = /*savecredentials*/
|
|
4467
4520
|
e[6] ? "username email" : "off"), H.required = !0, h(S, "class", J = "UserContainer " + /*invalidName*/
|
|
4468
4521
|
(e[14] ? "InvalidField" : "")), h(fe, "class", "FormRequired"), h(ne, "for", "current-password"), h(M, "type", "password"), h(M, "name", "current-password"), h(M, "id", "current-password"), h(M, "autocomplete", ye = /*savecredentials*/
|
|
4469
|
-
e[6] ? "current-password" : "off"), h(M, "aria-describedby", "password-constraints"), M.required = !0, h(B, "class",
|
|
4522
|
+
e[6] ? "current-password" : "off"), h(M, "aria-describedby", "password-constraints"), M.required = !0, h(B, "class", me = "PasswordContainer " + /*invalidPassword*/
|
|
4470
4523
|
(e[15] ? "InvalidField" : "")), h(Q, "class", "SignInButton"), Q.disabled = /*isFormDataInvalid*/
|
|
4471
4524
|
e[20], h(Q, "id", "signin-button"), h(ge, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
|
|
4472
4525
|
},
|
|
4473
4526
|
m(v, P) {
|
|
4474
|
-
L(v, t, P),
|
|
4527
|
+
L(v, t, P), m(t, r), m(r, i), m(t, o), m(t, s), m(s, c), m(s, l), m(s, u), m(u, d), L(v, b, P), L(v, y, P), m(y, g), m(g, S), m(S, C), m(C, R), m(C, U), m(C, A), m(S, re), m(S, H), rt(
|
|
4475
4528
|
H,
|
|
4476
4529
|
/*userValue*/
|
|
4477
4530
|
e[12]
|
|
4478
|
-
),
|
|
4531
|
+
), m(S, he), F && F.m(S, null), m(g, le), m(g, B), m(B, ne), m(ne, Fe), m(ne, Ze), m(ne, fe), m(B, de), m(B, M), rt(
|
|
4479
4532
|
M,
|
|
4480
4533
|
/*userPassword*/
|
|
4481
4534
|
e[13]
|
|
4482
|
-
), e[36](M),
|
|
4535
|
+
), e[36](M), m(B, qe), Y.m(B, null), m(B, _e), D && D.m(B, null), m(B, we), k && k.m(B, null), m(g, De), G && G.m(g, null), m(g, Ee), m(g, Q), m(Q, xe), m(g, Je), m(g, ge), m(ge, ke), Ge || (Qe = [
|
|
4483
4536
|
oe(
|
|
4484
4537
|
u,
|
|
4485
4538
|
"click",
|
|
@@ -4531,7 +4584,7 @@ function Uo(e) {
|
|
|
4531
4584
|
4194304 && a !== (a = /*$_*/
|
|
4532
4585
|
v[22]("loginSubtitle") + "") && te(c, a), P[0] & /*$_*/
|
|
4533
4586
|
4194304 && f !== (f = /*$_*/
|
|
4534
|
-
v[22]("loginSubtitleRegister") + "") && te(
|
|
4587
|
+
v[22]("loginSubtitleRegister") + "") && te(d, f), P[0] & /*$_*/
|
|
4535
4588
|
4194304 && z !== (z = /*$_*/
|
|
4536
4589
|
v[22]("loginUsername") + "") && te(R, z), P[0] & /*savecredentials*/
|
|
4537
4590
|
64 && ie !== (ie = /*savecredentials*/
|
|
@@ -4542,7 +4595,7 @@ function Uo(e) {
|
|
|
4542
4595
|
/*userValue*/
|
|
4543
4596
|
v[12]
|
|
4544
4597
|
), /*invalidName*/
|
|
4545
|
-
v[14] ? F ? F.p(v, P) : (F =
|
|
4598
|
+
v[14] ? F ? F.p(v, P) : (F = vr(v), F.c(), F.m(S, null)) : F && (F.d(1), F = null), P[0] & /*invalidName*/
|
|
4546
4599
|
16384 && J !== (J = "UserContainer " + /*invalidName*/
|
|
4547
4600
|
(v[14] ? "InvalidField" : "")) && h(S, "class", J), P[0] & /*$_*/
|
|
4548
4601
|
4194304 && X !== (X = /*$_*/
|
|
@@ -4556,12 +4609,12 @@ function Uo(e) {
|
|
|
4556
4609
|
v[13]
|
|
4557
4610
|
), Se === (Se = Ye(v)) && Y ? Y.p(v, P) : (Y.d(1), Y = Se(v), Y && (Y.c(), Y.m(B, _e))), /*invalidPassword*/
|
|
4558
4611
|
v[15] && /*simplepasswordvalidation*/
|
|
4559
|
-
v[2] !== "true" ? D ? D.p(v, P) : (D =
|
|
4612
|
+
v[2] !== "true" ? D ? D.p(v, P) : (D = yr(v), D.c(), D.m(B, we)) : D && (D.d(1), D = null), /*invalidPassword*/
|
|
4560
4613
|
v[15] && /*simplepasswordvalidation*/
|
|
4561
|
-
v[2] === "true" ? k ? k.p(v, P) : (k =
|
|
4562
|
-
32768 &&
|
|
4563
|
-
(v[15] ? "InvalidField" : "")) && h(B, "class",
|
|
4564
|
-
v[16] ? G ? G.p(v, P) : (G =
|
|
4614
|
+
v[2] === "true" ? k ? k.p(v, P) : (k = _r(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), P[0] & /*invalidPassword*/
|
|
4615
|
+
32768 && me !== (me = "PasswordContainer " + /*invalidPassword*/
|
|
4616
|
+
(v[15] ? "InvalidField" : "")) && h(B, "class", me), /*errorMessage*/
|
|
4617
|
+
v[16] ? G ? G.p(v, P) : (G = wr(v), G.c(), G.m(g, Ee)) : G && (G.d(1), G = null), P[0] & /*$_*/
|
|
4565
4618
|
4194304 && pe !== (pe = /*$_*/
|
|
4566
4619
|
v[22]("loginButton") + "") && te(xe, pe), P[0] & /*isFormDataInvalid*/
|
|
4567
4620
|
1048576 && (Q.disabled = /*isFormDataInvalid*/
|
|
@@ -4574,7 +4627,7 @@ function Uo(e) {
|
|
|
4574
4627
|
}
|
|
4575
4628
|
};
|
|
4576
4629
|
}
|
|
4577
|
-
function
|
|
4630
|
+
function Go(e) {
|
|
4578
4631
|
let t;
|
|
4579
4632
|
return {
|
|
4580
4633
|
c() {
|
|
@@ -4668,7 +4721,7 @@ function Fo(e) {
|
|
|
4668
4721
|
}
|
|
4669
4722
|
};
|
|
4670
4723
|
}
|
|
4671
|
-
function
|
|
4724
|
+
function vr(e) {
|
|
4672
4725
|
let t, r = (
|
|
4673
4726
|
/*$_*/
|
|
4674
4727
|
e[22]("loginUsernameError") + ""
|
|
@@ -4678,7 +4731,7 @@ function pr(e) {
|
|
|
4678
4731
|
t = x("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4679
4732
|
},
|
|
4680
4733
|
m(i, o) {
|
|
4681
|
-
L(i, t, o),
|
|
4734
|
+
L(i, t, o), m(t, n);
|
|
4682
4735
|
},
|
|
4683
4736
|
p(i, o) {
|
|
4684
4737
|
o[0] & /*$_*/
|
|
@@ -4690,14 +4743,14 @@ function pr(e) {
|
|
|
4690
4743
|
}
|
|
4691
4744
|
};
|
|
4692
4745
|
}
|
|
4693
|
-
function
|
|
4746
|
+
function $o(e) {
|
|
4694
4747
|
let t, r, n, i, o, s, a, c, l;
|
|
4695
4748
|
return {
|
|
4696
4749
|
c() {
|
|
4697
4750
|
t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("path"), a = O("circle"), h(s, "class", "a"), h(s, "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"), h(s, "transform", "translate(0)"), h(a, "class", "a"), h(a, "cx", "2.779"), h(a, "cy", "2.779"), h(a, "r", "2.779"), h(a, "transform", "translate(20.827 30.303)"), h(o, "transform", "translate(-14.185 -27.832)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.843"), h(t, "height", "10.5"), h(t, "viewBox", "0 0 18.843 10.5");
|
|
4698
4751
|
},
|
|
4699
4752
|
m(u, f) {
|
|
4700
|
-
L(u, t, f),
|
|
4753
|
+
L(u, t, f), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), c || (l = oe(
|
|
4701
4754
|
t,
|
|
4702
4755
|
"click",
|
|
4703
4756
|
/*click_handler_2*/
|
|
@@ -4710,14 +4763,14 @@ function Do(e) {
|
|
|
4710
4763
|
}
|
|
4711
4764
|
};
|
|
4712
4765
|
}
|
|
4713
|
-
function
|
|
4714
|
-
let t, r, n, i, o, s, a, c, l, u, f,
|
|
4766
|
+
function jo(e) {
|
|
4767
|
+
let t, r, n, i, o, s, a, c, l, u, f, d, b, y, g;
|
|
4715
4768
|
return {
|
|
4716
4769
|
c() {
|
|
4717
|
-
t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("circle"), a = O("g"), c = O("path"), l = O("path"), u = O("g"), f = O("path"),
|
|
4770
|
+
t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("circle"), a = O("g"), c = O("path"), l = O("path"), u = O("g"), f = O("path"), d = O("path"), b = O("rect"), h(s, "class", "a"), h(s, "cx", "0.05"), h(s, "cy", "0.05"), h(s, "r", "0.05"), h(s, "transform", "translate(121.017 31.148)"), h(c, "class", "a"), h(c, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(c, "transform", "translate(-142.164 -39.123)"), h(l, "class", "a"), h(l, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), h(l, "transform", "translate(-136.413 -42.068)"), h(a, "transform", "translate(117.499 27.37)"), h(f, "class", "a"), h(f, "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"), h(f, "transform", "translate(-110.856 -33.157)"), h(d, "class", "a"), h(d, "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"), h(d, "transform", "translate(-130.743 -29.617)"), h(u, "transform", "translate(110.856 24.899)"), h(b, "class", "a"), h(b, "width", "0.972"), h(b, "height", "15.861"), h(b, "rx", "0.486"), h(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), h(o, "transform", "translate(-110.856 -23.242)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.844"), h(t, "height", "12.887"), h(t, "viewBox", "0 0 18.844 12.887");
|
|
4718
4771
|
},
|
|
4719
4772
|
m(S, C) {
|
|
4720
|
-
L(S, t, C),
|
|
4773
|
+
L(S, t, C), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, c), m(a, l), m(o, u), m(u, f), m(u, d), m(o, b), y || (g = oe(
|
|
4721
4774
|
t,
|
|
4722
4775
|
"click",
|
|
4723
4776
|
/*click_handler_1*/
|
|
@@ -4730,7 +4783,7 @@ function ko(e) {
|
|
|
4730
4783
|
}
|
|
4731
4784
|
};
|
|
4732
4785
|
}
|
|
4733
|
-
function
|
|
4786
|
+
function yr(e) {
|
|
4734
4787
|
let t, r = (
|
|
4735
4788
|
/*$_*/
|
|
4736
4789
|
e[22]("loginPasswordError") + ""
|
|
@@ -4740,7 +4793,7 @@ function gr(e) {
|
|
|
4740
4793
|
t = x("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4741
4794
|
},
|
|
4742
4795
|
m(i, o) {
|
|
4743
|
-
L(i, t, o),
|
|
4796
|
+
L(i, t, o), m(t, n);
|
|
4744
4797
|
},
|
|
4745
4798
|
p(i, o) {
|
|
4746
4799
|
o[0] & /*$_*/
|
|
@@ -4752,7 +4805,7 @@ function gr(e) {
|
|
|
4752
4805
|
}
|
|
4753
4806
|
};
|
|
4754
4807
|
}
|
|
4755
|
-
function
|
|
4808
|
+
function _r(e) {
|
|
4756
4809
|
let t, r = (
|
|
4757
4810
|
/*$_*/
|
|
4758
4811
|
e[22]("loginSimplePasswordError") + ""
|
|
@@ -4762,7 +4815,7 @@ function br(e) {
|
|
|
4762
4815
|
t = x("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4763
4816
|
},
|
|
4764
4817
|
m(i, o) {
|
|
4765
|
-
L(i, t, o),
|
|
4818
|
+
L(i, t, o), m(t, n);
|
|
4766
4819
|
},
|
|
4767
4820
|
p(i, o) {
|
|
4768
4821
|
o[0] & /*$_*/
|
|
@@ -4774,7 +4827,7 @@ function br(e) {
|
|
|
4774
4827
|
}
|
|
4775
4828
|
};
|
|
4776
4829
|
}
|
|
4777
|
-
function
|
|
4830
|
+
function wr(e) {
|
|
4778
4831
|
let t, r;
|
|
4779
4832
|
return {
|
|
4780
4833
|
c() {
|
|
@@ -4784,7 +4837,7 @@ function vr(e) {
|
|
|
4784
4837
|
), h(t, "class", "ErrorMessage");
|
|
4785
4838
|
},
|
|
4786
4839
|
m(n, i) {
|
|
4787
|
-
L(n, t, i),
|
|
4840
|
+
L(n, t, i), m(t, r);
|
|
4788
4841
|
},
|
|
4789
4842
|
p(n, i) {
|
|
4790
4843
|
i[0] & /*errorMessage*/
|
|
@@ -4799,21 +4852,21 @@ function vr(e) {
|
|
|
4799
4852
|
}
|
|
4800
4853
|
};
|
|
4801
4854
|
}
|
|
4802
|
-
function
|
|
4855
|
+
function Vo(e) {
|
|
4803
4856
|
let t, r, n, i, o, s = (
|
|
4804
4857
|
/*captchakey*/
|
|
4805
|
-
e[1] &&
|
|
4858
|
+
e[1] && br(e)
|
|
4806
4859
|
);
|
|
4807
4860
|
function a(u, f) {
|
|
4808
4861
|
return (
|
|
4809
4862
|
/*isLoading*/
|
|
4810
|
-
u[17] ?
|
|
4863
|
+
u[17] ? Do : Fo
|
|
4811
4864
|
);
|
|
4812
4865
|
}
|
|
4813
4866
|
let c = a(e), l = c(e);
|
|
4814
4867
|
return {
|
|
4815
4868
|
c() {
|
|
4816
|
-
s && s.c(), t =
|
|
4869
|
+
s && s.c(), t = hn(), r = j(), n = x("div"), i = j(), o = x("div"), l.c(), h(n, "class", "g-recaptcha"), h(
|
|
4817
4870
|
n,
|
|
4818
4871
|
"data-sitekey",
|
|
4819
4872
|
/*captchakey*/
|
|
@@ -4821,11 +4874,11 @@ function Go(e) {
|
|
|
4821
4874
|
), h(o, "class", "PlayerLoginFormWrapper");
|
|
4822
4875
|
},
|
|
4823
4876
|
m(u, f) {
|
|
4824
|
-
s && s.m(document.head, null),
|
|
4877
|
+
s && s.m(document.head, null), m(document.head, t), L(u, r, f), L(u, n, f), L(u, i, f), L(u, o, f), l.m(o, null), e[41](o);
|
|
4825
4878
|
},
|
|
4826
4879
|
p(u, f) {
|
|
4827
4880
|
/*captchakey*/
|
|
4828
|
-
u[1] ? s ? s.p(u, f) : (s =
|
|
4881
|
+
u[1] ? s ? s.p(u, f) : (s = br(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
|
|
4829
4882
|
2 && h(
|
|
4830
4883
|
n,
|
|
4831
4884
|
"data-sitekey",
|
|
@@ -4840,27 +4893,27 @@ function Go(e) {
|
|
|
4840
4893
|
}
|
|
4841
4894
|
};
|
|
4842
4895
|
}
|
|
4843
|
-
let
|
|
4844
|
-
function
|
|
4896
|
+
let zo = "Please use this code {0} to activate your account";
|
|
4897
|
+
function Xo(e, t, r) {
|
|
4845
4898
|
let n;
|
|
4846
|
-
|
|
4847
|
-
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl:
|
|
4899
|
+
an(e, Io, (p) => r(22, n = p));
|
|
4900
|
+
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, S = !1, C, z = !1, R = window.navigator.userAgent, U = "", A = "", re = { username: "", password: "" }, H = !1, ie = !1, he = "", J = !1, le, B = !1, ne = !0, X, Fe = +localStorage.getItem("smsTimer") || 0, Ze = Date.now() / 1e3 - Fe, fe = localStorage.getItem("smsValidation") == "true" && Ze < 60, de = {
|
|
4848
4901
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4849
4902
|
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,
|
|
4850
4903
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
4851
4904
|
};
|
|
4852
|
-
|
|
4905
|
+
Oo({ withLocale: "en", translations: {} });
|
|
4853
4906
|
const M = () => {
|
|
4854
|
-
fetch(
|
|
4907
|
+
fetch(d).then((q) => q.json()).then((q) => {
|
|
4855
4908
|
Object.keys(q).forEach((ee) => {
|
|
4856
|
-
|
|
4909
|
+
pr(ee, q[ee]);
|
|
4857
4910
|
});
|
|
4858
4911
|
}).catch((q) => {
|
|
4859
4912
|
console.log(q);
|
|
4860
4913
|
});
|
|
4861
4914
|
};
|
|
4862
|
-
Object.keys(
|
|
4863
|
-
|
|
4915
|
+
Object.keys(gr).forEach((p) => {
|
|
4916
|
+
pr(p, gr[p]);
|
|
4864
4917
|
});
|
|
4865
4918
|
const ye = () => new Promise((p, q) => {
|
|
4866
4919
|
grecaptcha.ready(() => {
|
|
@@ -4869,12 +4922,12 @@ function jo(e, t, r) {
|
|
|
4869
4922
|
});
|
|
4870
4923
|
});
|
|
4871
4924
|
}), qe = () => {
|
|
4872
|
-
c == "true" && (
|
|
4925
|
+
c == "true" && (de.password = /^(?!.* ).{8,20}$/);
|
|
4873
4926
|
}, _e = () => {
|
|
4874
|
-
r(19, B = !0),
|
|
4927
|
+
r(19, B = !0), me();
|
|
4875
4928
|
}, we = () => {
|
|
4876
|
-
r(19, B = !1),
|
|
4877
|
-
},
|
|
4929
|
+
r(19, B = !1), me();
|
|
4930
|
+
}, me = () => {
|
|
4878
4931
|
r(18, le.type = B ? "text" : "password", le);
|
|
4879
4932
|
}, De = () => {
|
|
4880
4933
|
window.postMessage({ type: "ToRegister" }, window.location.href);
|
|
@@ -4888,7 +4941,7 @@ function jo(e, t, r) {
|
|
|
4888
4941
|
token: q
|
|
4889
4942
|
}, r(17, J = !0), Ge(re));
|
|
4890
4943
|
});
|
|
4891
|
-
}, pe = (p) => !!((
|
|
4944
|
+
}, pe = (p) => !!((de.user.test(p) || de.email.test(p)) && p.length <= 100), xe = (p) => !!de.password.test(p), Je = () => {
|
|
4892
4945
|
r(14, H = !pe(U)), r(20, ne = !(!H && !ie && A));
|
|
4893
4946
|
}, ge = () => {
|
|
4894
4947
|
r(15, ie = !xe(A)), r(20, ne = !(!H && !ie && U));
|
|
@@ -4913,12 +4966,12 @@ function jo(e, t, r) {
|
|
|
4913
4966
|
let Ke = {
|
|
4914
4967
|
"Content-Type": "application/json",
|
|
4915
4968
|
"g-recaptcha-response": ee
|
|
4916
|
-
}, et = { username: p, password: q },
|
|
4969
|
+
}, et = { username: p, password: q }, on = {
|
|
4917
4970
|
method: "POST",
|
|
4918
4971
|
headers: Ke,
|
|
4919
4972
|
body: JSON.stringify(et)
|
|
4920
4973
|
};
|
|
4921
|
-
fetch(`${i}/v1/player/login/player`,
|
|
4974
|
+
fetch(`${i}/v1/player/login/player`, on).then(($) => ($.status >= 500 && (r(16, he = "Server might not be responsing"), r(17, J = !1), window.postMessage(
|
|
4922
4975
|
{
|
|
4923
4976
|
type: "WidgetNotification",
|
|
4924
4977
|
data: {
|
|
@@ -4964,11 +5017,11 @@ function jo(e, t, r) {
|
|
|
4964
5017
|
window.location.href
|
|
4965
5018
|
);
|
|
4966
5019
|
} catch {
|
|
4967
|
-
let
|
|
4968
|
-
r(16, he =
|
|
5020
|
+
let zt = $.error.substring($.error.indexOf("errorMessage") + 13, $.error.length);
|
|
5021
|
+
r(16, he = zt), r(17, J = !1), window.postMessage(
|
|
4969
5022
|
{
|
|
4970
5023
|
type: "WidgetNotification",
|
|
4971
|
-
data: { type: "error", message:
|
|
5024
|
+
data: { type: "error", message: zt }
|
|
4972
5025
|
},
|
|
4973
5026
|
window.location.href
|
|
4974
5027
|
);
|
|
@@ -4985,7 +5038,7 @@ function jo(e, t, r) {
|
|
|
4985
5038
|
},
|
|
4986
5039
|
body: JSON.stringify({
|
|
4987
5040
|
userId: q,
|
|
4988
|
-
messageTemplate:
|
|
5041
|
+
messageTemplate: zo,
|
|
4989
5042
|
destination: p
|
|
4990
5043
|
})
|
|
4991
5044
|
}), Ke = await ee.json();
|
|
@@ -4999,9 +5052,9 @@ function jo(e, t, r) {
|
|
|
4999
5052
|
S = !0, console.error(ee);
|
|
5000
5053
|
}
|
|
5001
5054
|
}, F = () => {
|
|
5002
|
-
|
|
5055
|
+
Lo(s);
|
|
5003
5056
|
};
|
|
5004
|
-
|
|
5057
|
+
pn(() => (window.addEventListener("message", be, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Co(R)), () => {
|
|
5005
5058
|
window.removeEventListener("message", be);
|
|
5006
5059
|
}));
|
|
5007
5060
|
const Ye = () => De();
|
|
@@ -5017,21 +5070,21 @@ function jo(e, t, r) {
|
|
|
5017
5070
|
});
|
|
5018
5071
|
}
|
|
5019
5072
|
const k = () => we(), G = () => _e(), v = (p) => Q(p), P = (p) => Ee(p);
|
|
5020
|
-
function
|
|
5073
|
+
function nn(p) {
|
|
5021
5074
|
ut[p ? "unshift" : "push"](() => {
|
|
5022
5075
|
X = p, r(7, X);
|
|
5023
5076
|
});
|
|
5024
5077
|
}
|
|
5025
5078
|
return e.$$set = (p) => {
|
|
5026
|
-
"endpoint" in p && r(0, i = p.endpoint), "captchakey" in p && r(1, o = p.captchakey), "lang" in p && r(30, s = p.lang), "smsverification" in p && r(31, a = p.smsverification), "simplepasswordvalidation" in p && r(2, c = p.simplepasswordvalidation), "mbsource" in p && r(3, l = p.mbsource), "clientstyling" in p && r(4, u = p.clientstyling), "clientstylingurl" in p && r(5, f = p.clientstylingurl), "translationurl" in p && r(32,
|
|
5079
|
+
"endpoint" in p && r(0, i = p.endpoint), "captchakey" in p && r(1, o = p.captchakey), "lang" in p && r(30, s = p.lang), "smsverification" in p && r(31, a = p.smsverification), "simplepasswordvalidation" in p && r(2, c = p.simplepasswordvalidation), "mbsource" in p && r(3, l = p.mbsource), "clientstyling" in p && r(4, u = p.clientstyling), "clientstylingurl" in p && r(5, f = p.clientstylingurl), "translationurl" in p && r(32, d = p.translationurl), "savecredentials" in p && r(6, b = p.savecredentials);
|
|
5027
5080
|
}, e.$$.update = () => {
|
|
5028
5081
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
5029
5082
|
1073741825 && i && s && F(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5030
5083
|
4 && c && qe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5031
|
-
144 && u && X &&
|
|
5032
|
-
160 && f && X &&
|
|
5033
|
-
136 && l && X &&
|
|
5034
|
-
2 &&
|
|
5084
|
+
144 && u && X && Mo(X, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5085
|
+
160 && f && X && No(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5086
|
+
136 && l && X && Ro(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
5087
|
+
2 && d && M();
|
|
5035
5088
|
}, [
|
|
5036
5089
|
i,
|
|
5037
5090
|
o,
|
|
@@ -5065,7 +5118,7 @@ function jo(e, t, r) {
|
|
|
5065
5118
|
ge,
|
|
5066
5119
|
s,
|
|
5067
5120
|
a,
|
|
5068
|
-
|
|
5121
|
+
d,
|
|
5069
5122
|
Ye,
|
|
5070
5123
|
Se,
|
|
5071
5124
|
Y,
|
|
@@ -5074,17 +5127,17 @@ function jo(e, t, r) {
|
|
|
5074
5127
|
G,
|
|
5075
5128
|
v,
|
|
5076
5129
|
P,
|
|
5077
|
-
|
|
5130
|
+
nn
|
|
5078
5131
|
];
|
|
5079
5132
|
}
|
|
5080
|
-
class
|
|
5133
|
+
class Wo extends Hn {
|
|
5081
5134
|
constructor(t) {
|
|
5082
|
-
super(),
|
|
5135
|
+
super(), Pn(
|
|
5083
5136
|
this,
|
|
5084
5137
|
t,
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5138
|
+
Xo,
|
|
5139
|
+
Vo,
|
|
5140
|
+
xr,
|
|
5088
5141
|
{
|
|
5089
5142
|
endpoint: 0,
|
|
5090
5143
|
captchakey: 1,
|
|
@@ -5097,7 +5150,7 @@ class Vo extends xn {
|
|
|
5097
5150
|
translationurl: 32,
|
|
5098
5151
|
savecredentials: 6
|
|
5099
5152
|
},
|
|
5100
|
-
|
|
5153
|
+
Uo,
|
|
5101
5154
|
[-1, -1]
|
|
5102
5155
|
);
|
|
5103
5156
|
}
|
|
@@ -5162,35 +5215,35 @@ class Vo extends xn {
|
|
|
5162
5215
|
this.$$set({ savecredentials: t }), K();
|
|
5163
5216
|
}
|
|
5164
5217
|
}
|
|
5165
|
-
|
|
5218
|
+
Tn(Wo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
|
|
5166
5219
|
export {
|
|
5167
5220
|
ce as $,
|
|
5168
|
-
|
|
5169
|
-
|
|
5221
|
+
Wo as G,
|
|
5222
|
+
Hn as S,
|
|
5170
5223
|
Re as a,
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5224
|
+
Yr as b,
|
|
5225
|
+
Tn as c,
|
|
5226
|
+
ln as d,
|
|
5227
|
+
x as e,
|
|
5175
5228
|
K as f,
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5229
|
+
j as g,
|
|
5230
|
+
h,
|
|
5231
|
+
Pn as i,
|
|
5232
|
+
L as j,
|
|
5233
|
+
m as k,
|
|
5234
|
+
rt as l,
|
|
5182
5235
|
oe as m,
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5236
|
+
te as n,
|
|
5237
|
+
Z as o,
|
|
5238
|
+
I as p,
|
|
5239
|
+
an as q,
|
|
5187
5240
|
Me as r,
|
|
5188
|
-
|
|
5241
|
+
xr as s,
|
|
5189
5242
|
N as t,
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5243
|
+
pn as u,
|
|
5244
|
+
No as v,
|
|
5245
|
+
Ro as w,
|
|
5246
|
+
ut as x,
|
|
5247
|
+
Mo as y,
|
|
5248
|
+
Io as z
|
|
5196
5249
|
};
|