@everymatrix/general-player-login-form-nd 1.74.2 → 1.74.3
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-BziROfkp.js → GeneralPlayerLoginFormNd-0zK-AsMe.js} +598 -612
- package/components/GeneralPlayerLoginFormNd-BVbXxEl6.cjs +18 -0
- package/components/{GeneralPlayerLoginFormNd-DDew4qUQ.js → GeneralPlayerLoginFormNd-BrD1TESB.js} +579 -593
- package/components/{GeneralPlayerSmsVerificationForm-CWvL0nV4.js → GeneralPlayerSmsVerificationForm-9nSotkvC.js} +5 -5
- package/components/{GeneralPlayerSmsVerificationForm-De0U_8Hy.js → GeneralPlayerSmsVerificationForm-CvbvUmlt.js} +5 -5
- package/components/{GeneralPlayerSmsVerificationForm-DCu_6fCZ.cjs → GeneralPlayerSmsVerificationForm-uyVJACCg.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-lkaY-rAF.cjs +0 -18
package/components/{GeneralPlayerLoginFormNd-DDew4qUQ.js → GeneralPlayerLoginFormNd-BrD1TESB.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function Z() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function _r(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Vt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function Me(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(_r);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Dt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function wr(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 zt(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 rn(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function Er(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,20 +31,20 @@ function Sr(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 nn(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(Er(t, r));
|
|
36
36
|
}
|
|
37
37
|
function m(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function on(e, t, r) {
|
|
41
|
+
const n = sn(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, an(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function sn(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,7 +54,7 @@ function un(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function an(e, t) {
|
|
58
58
|
return m(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
@@ -79,7 +79,7 @@ function N(e) {
|
|
|
79
79
|
function j() {
|
|
80
80
|
return N(" ");
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function ln() {
|
|
83
83
|
return N("");
|
|
84
84
|
}
|
|
85
85
|
function oe(e, t, r, n) {
|
|
@@ -92,7 +92,7 @@ function W(e, t, r) {
|
|
|
92
92
|
const n = t.toLowerCase();
|
|
93
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);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function un(e) {
|
|
96
96
|
return Array.from(e.childNodes);
|
|
97
97
|
}
|
|
98
98
|
function te(e, t) {
|
|
@@ -102,7 +102,7 @@ function te(e, t) {
|
|
|
102
102
|
function rt(e, t) {
|
|
103
103
|
e.value = t ?? "";
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function cn(e) {
|
|
106
106
|
const t = {};
|
|
107
107
|
return e.childNodes.forEach(
|
|
108
108
|
/** @param {Element} node */
|
|
@@ -115,22 +115,22 @@ let ze;
|
|
|
115
115
|
function Ve(e) {
|
|
116
116
|
ze = e;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function hn() {
|
|
119
119
|
if (!ze)
|
|
120
120
|
throw new Error("Function called outside component initialization");
|
|
121
121
|
return ze;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
124
|
-
|
|
123
|
+
function fn(e) {
|
|
124
|
+
hn().$$.on_mount.push(e);
|
|
125
125
|
}
|
|
126
126
|
const He = [], ut = [];
|
|
127
127
|
let Be = [];
|
|
128
|
-
const
|
|
129
|
-
let
|
|
130
|
-
function
|
|
131
|
-
|
|
128
|
+
const Xt = [], dn = /* @__PURE__ */ Promise.resolve();
|
|
129
|
+
let St = !1;
|
|
130
|
+
function mn() {
|
|
131
|
+
St || (St = !0, dn.then(K));
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function Pt(e) {
|
|
134
134
|
Be.push(e);
|
|
135
135
|
}
|
|
136
136
|
const bt = /* @__PURE__ */ new Set();
|
|
@@ -143,7 +143,7 @@ function K() {
|
|
|
143
143
|
try {
|
|
144
144
|
for (; Pe < He.length; ) {
|
|
145
145
|
const t = He[Pe];
|
|
146
|
-
Pe++, Ve(t),
|
|
146
|
+
Pe++, Ve(t), pn(t.$$);
|
|
147
147
|
}
|
|
148
148
|
} catch (t) {
|
|
149
149
|
throw He.length = 0, Pe = 0, t;
|
|
@@ -156,40 +156,40 @@ function K() {
|
|
|
156
156
|
}
|
|
157
157
|
Be.length = 0;
|
|
158
158
|
} while (He.length);
|
|
159
|
-
for (;
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
for (; Xt.length; )
|
|
160
|
+
Xt.pop()();
|
|
161
|
+
St = !1, bt.clear(), Ve(e);
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function pn(e) {
|
|
164
164
|
if (e.fragment !== null) {
|
|
165
165
|
e.update(), Me(e.before_update);
|
|
166
166
|
const t = e.dirty;
|
|
167
|
-
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(Pt);
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
function
|
|
170
|
+
function gn(e) {
|
|
171
171
|
const t = [], r = [];
|
|
172
172
|
Be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Be = t;
|
|
173
173
|
}
|
|
174
|
-
const
|
|
175
|
-
function
|
|
176
|
-
e && e.i && (
|
|
174
|
+
const bn = /* @__PURE__ */ new Set();
|
|
175
|
+
function yn(e, t) {
|
|
176
|
+
e && e.i && (bn.delete(e), e.i(t));
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function vn(e, t, r) {
|
|
179
179
|
const { fragment: n, after_update: i } = e.$$;
|
|
180
|
-
n && n.m(t, r),
|
|
181
|
-
const o = e.$$.on_mount.map(
|
|
180
|
+
n && n.m(t, r), Pt(() => {
|
|
181
|
+
const o = e.$$.on_mount.map(_r).filter(Dt);
|
|
182
182
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Me(o), e.$$.on_mount = [];
|
|
183
|
-
}), i.forEach(
|
|
183
|
+
}), i.forEach(Pt);
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function _n(e, t) {
|
|
186
186
|
const r = e.$$;
|
|
187
|
-
r.fragment !== null && (
|
|
187
|
+
r.fragment !== null && (gn(r.after_update), Me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
e.$$.dirty[0] === -1 && (He.push(e),
|
|
189
|
+
function wn(e, t) {
|
|
190
|
+
e.$$.dirty[0] === -1 && (He.push(e), mn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function En(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
193
193
|
const c = ze;
|
|
194
194
|
Ve(e);
|
|
195
195
|
const l = e.$$ = {
|
|
@@ -199,7 +199,7 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
199
199
|
props: o,
|
|
200
200
|
update: Z,
|
|
201
201
|
not_equal: i,
|
|
202
|
-
bound:
|
|
202
|
+
bound: Vt(),
|
|
203
203
|
// lifecycle
|
|
204
204
|
on_mount: [],
|
|
205
205
|
on_destroy: [],
|
|
@@ -208,7 +208,7 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
208
208
|
after_update: [],
|
|
209
209
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
210
210
|
// everything else
|
|
211
|
-
callbacks:
|
|
211
|
+
callbacks: Vt(),
|
|
212
212
|
dirty: a,
|
|
213
213
|
skip_bound: !1,
|
|
214
214
|
root: t.target || c.$$.root
|
|
@@ -216,20 +216,20 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
216
216
|
s && s(l.root);
|
|
217
217
|
let u = !1;
|
|
218
218
|
if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
|
|
219
|
-
const
|
|
220
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] =
|
|
219
|
+
const v = b.length ? b[0] : d;
|
|
220
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = v) && (!l.skip_bound && l.bound[f] && l.bound[f](v), u && wn(e, f)), d;
|
|
221
221
|
}) : [], l.update(), u = !0, Me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
222
222
|
if (t.hydrate) {
|
|
223
|
-
const f =
|
|
223
|
+
const f = un(t.target);
|
|
224
224
|
l.fragment && l.fragment.l(f), f.forEach(I);
|
|
225
225
|
} else
|
|
226
226
|
l.fragment && l.fragment.c();
|
|
227
|
-
t.intro &&
|
|
227
|
+
t.intro && yn(e.$$.fragment), vn(e, t.target, t.anchor), K();
|
|
228
228
|
}
|
|
229
229
|
Ve(c);
|
|
230
230
|
}
|
|
231
|
-
let
|
|
232
|
-
typeof HTMLElement == "function" && (
|
|
231
|
+
let xr;
|
|
232
|
+
typeof HTMLElement == "function" && (xr = class extends HTMLElement {
|
|
233
233
|
/** The Svelte component constructor */
|
|
234
234
|
$$ctor;
|
|
235
235
|
/** Slots */
|
|
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
|
|
|
288
288
|
};
|
|
289
289
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
290
290
|
return;
|
|
291
|
-
const t = {}, r =
|
|
291
|
+
const t = {}, r = cn(this);
|
|
292
292
|
for (const i of this.$$s)
|
|
293
293
|
i in r && (t[i] = [e(i)]);
|
|
294
294
|
for (const i of this.attributes) {
|
|
@@ -375,8 +375,8 @@ function ot(e, t, r, n) {
|
|
|
375
375
|
return t;
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
|
-
function
|
|
379
|
-
let s = class extends
|
|
378
|
+
function xn(e, t, r, n, i, o) {
|
|
379
|
+
let s = class extends xr {
|
|
380
380
|
constructor() {
|
|
381
381
|
super(e, r, i), this.$$p_d = t;
|
|
382
382
|
}
|
|
@@ -404,7 +404,7 @@ function Tn(e, t, r, n, i, o) {
|
|
|
404
404
|
}), e.element = /** @type {any} */
|
|
405
405
|
s, s;
|
|
406
406
|
}
|
|
407
|
-
class
|
|
407
|
+
class Sn {
|
|
408
408
|
/**
|
|
409
409
|
* ### PRIVATE API
|
|
410
410
|
*
|
|
@@ -423,7 +423,7 @@ class Hn {
|
|
|
423
423
|
$$set = void 0;
|
|
424
424
|
/** @returns {void} */
|
|
425
425
|
$destroy() {
|
|
426
|
-
|
|
426
|
+
_n(this, 1), this.$destroy = Z;
|
|
427
427
|
}
|
|
428
428
|
/**
|
|
429
429
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -432,7 +432,7 @@ class Hn {
|
|
|
432
432
|
* @returns {() => void}
|
|
433
433
|
*/
|
|
434
434
|
$on(t, r) {
|
|
435
|
-
if (!
|
|
435
|
+
if (!Dt(r))
|
|
436
436
|
return Z;
|
|
437
437
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
438
438
|
return n.push(r), () => {
|
|
@@ -445,11 +445,11 @@ class Hn {
|
|
|
445
445
|
* @returns {void}
|
|
446
446
|
*/
|
|
447
447
|
$set(t) {
|
|
448
|
-
this.$$set && !
|
|
448
|
+
this.$$set && !rn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
|
-
const
|
|
452
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
451
|
+
const Pn = "4";
|
|
452
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pn);
|
|
453
453
|
/*! *****************************************************************************
|
|
454
454
|
Copyright (c) Microsoft Corporation.
|
|
455
455
|
|
|
@@ -464,18 +464,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
464
464
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
465
465
|
PERFORMANCE OF THIS SOFTWARE.
|
|
466
466
|
***************************************************************************** */
|
|
467
|
-
var
|
|
468
|
-
return
|
|
467
|
+
var Tt = function(e, t) {
|
|
468
|
+
return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
469
469
|
r.__proto__ = n;
|
|
470
470
|
} || function(r, n) {
|
|
471
471
|
for (var i in n)
|
|
472
472
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
473
|
-
},
|
|
473
|
+
}, Tt(e, t);
|
|
474
474
|
};
|
|
475
475
|
function ae(e, t) {
|
|
476
476
|
if (typeof t != "function" && t !== null)
|
|
477
477
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
478
|
-
|
|
478
|
+
Tt(e, t);
|
|
479
479
|
function r() {
|
|
480
480
|
this.constructor = e;
|
|
481
481
|
}
|
|
@@ -491,7 +491,7 @@ var E = function() {
|
|
|
491
491
|
return t;
|
|
492
492
|
}, E.apply(this, arguments);
|
|
493
493
|
};
|
|
494
|
-
function
|
|
494
|
+
function Tn(e, t) {
|
|
495
495
|
var r = {};
|
|
496
496
|
for (var n in e)
|
|
497
497
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -500,7 +500,7 @@ function An(e, t) {
|
|
|
500
500
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
501
501
|
return r;
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function Ht(e) {
|
|
504
504
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
505
505
|
if (r)
|
|
506
506
|
return r.call(e);
|
|
@@ -512,7 +512,7 @@ function Bt(e) {
|
|
|
512
512
|
};
|
|
513
513
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function Bt(e, t) {
|
|
516
516
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
517
517
|
if (!r)
|
|
518
518
|
return e;
|
|
@@ -541,13 +541,13 @@ function Ae(e, t, r) {
|
|
|
541
541
|
function se(e) {
|
|
542
542
|
return typeof e == "function";
|
|
543
543
|
}
|
|
544
|
-
function
|
|
544
|
+
function Sr(e) {
|
|
545
545
|
var t = function(n) {
|
|
546
546
|
Error.call(n), n.stack = new Error().stack;
|
|
547
547
|
}, r = e(t);
|
|
548
548
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
549
549
|
}
|
|
550
|
-
var
|
|
550
|
+
var yt = Sr(function(e) {
|
|
551
551
|
return function(r) {
|
|
552
552
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
553
553
|
` + r.map(function(n, i) {
|
|
@@ -556,7 +556,7 @@ var vt = Tr(function(e) {
|
|
|
556
556
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
557
557
|
};
|
|
558
558
|
});
|
|
559
|
-
function
|
|
559
|
+
function At(e, t) {
|
|
560
560
|
if (e) {
|
|
561
561
|
var r = e.indexOf(t);
|
|
562
562
|
0 <= r && e.splice(r, 1);
|
|
@@ -574,7 +574,7 @@ var ft = function() {
|
|
|
574
574
|
if (s)
|
|
575
575
|
if (this._parentage = null, Array.isArray(s))
|
|
576
576
|
try {
|
|
577
|
-
for (var a =
|
|
577
|
+
for (var a = Ht(s), c = a.next(); !c.done; c = a.next()) {
|
|
578
578
|
var l = c.value;
|
|
579
579
|
l.remove(this);
|
|
580
580
|
}
|
|
@@ -595,18 +595,18 @@ var ft = function() {
|
|
|
595
595
|
try {
|
|
596
596
|
u();
|
|
597
597
|
} catch (g) {
|
|
598
|
-
o = g instanceof
|
|
598
|
+
o = g instanceof yt ? g.errors : [g];
|
|
599
599
|
}
|
|
600
600
|
var f = this._finalizers;
|
|
601
601
|
if (f) {
|
|
602
602
|
this._finalizers = null;
|
|
603
603
|
try {
|
|
604
|
-
for (var d =
|
|
605
|
-
var
|
|
604
|
+
for (var d = Ht(f), b = d.next(); !b.done; b = d.next()) {
|
|
605
|
+
var v = b.value;
|
|
606
606
|
try {
|
|
607
|
-
|
|
607
|
+
Wt(v);
|
|
608
608
|
} catch (g) {
|
|
609
|
-
o = o ?? [], g instanceof
|
|
609
|
+
o = o ?? [], g instanceof yt ? o = Ae(Ae([], Bt(o)), Bt(g.errors)) : o.push(g);
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
612
|
} catch (g) {
|
|
@@ -621,13 +621,13 @@ var ft = function() {
|
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
623
|
if (o)
|
|
624
|
-
throw new
|
|
624
|
+
throw new yt(o);
|
|
625
625
|
}
|
|
626
626
|
}, e.prototype.add = function(t) {
|
|
627
627
|
var r;
|
|
628
628
|
if (t && t !== this)
|
|
629
629
|
if (this.closed)
|
|
630
|
-
|
|
630
|
+
Wt(t);
|
|
631
631
|
else {
|
|
632
632
|
if (t instanceof e) {
|
|
633
633
|
if (t.closed || t._hasParent(this))
|
|
@@ -644,56 +644,56 @@ var ft = function() {
|
|
|
644
644
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
645
645
|
}, e.prototype._removeParent = function(t) {
|
|
646
646
|
var r = this._parentage;
|
|
647
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
647
|
+
r === t ? this._parentage = null : Array.isArray(r) && At(r, t);
|
|
648
648
|
}, e.prototype.remove = function(t) {
|
|
649
649
|
var r = this._finalizers;
|
|
650
|
-
r &&
|
|
650
|
+
r && At(r, t), t instanceof e && t._removeParent(this);
|
|
651
651
|
}, e.EMPTY = function() {
|
|
652
652
|
var t = new e();
|
|
653
653
|
return t.closed = !0, t;
|
|
654
654
|
}(), e;
|
|
655
|
-
}(),
|
|
656
|
-
function
|
|
655
|
+
}(), Pr = ft.EMPTY;
|
|
656
|
+
function Tr(e) {
|
|
657
657
|
return e instanceof ft || e && "closed" in e && se(e.remove) && se(e.add) && se(e.unsubscribe);
|
|
658
658
|
}
|
|
659
|
-
function
|
|
659
|
+
function Wt(e) {
|
|
660
660
|
se(e) ? e() : e.unsubscribe();
|
|
661
661
|
}
|
|
662
|
-
var
|
|
662
|
+
var Hn = {
|
|
663
663
|
onUnhandledError: null,
|
|
664
664
|
onStoppedNotification: null,
|
|
665
665
|
Promise: void 0,
|
|
666
666
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
667
667
|
useDeprecatedNextContext: !1
|
|
668
|
-
},
|
|
668
|
+
}, Bn = {
|
|
669
669
|
setTimeout: function(e, t) {
|
|
670
670
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
671
671
|
r[n - 2] = arguments[n];
|
|
672
|
-
return setTimeout.apply(void 0, Ae([e, t],
|
|
672
|
+
return setTimeout.apply(void 0, Ae([e, t], Bt(r)));
|
|
673
673
|
},
|
|
674
674
|
clearTimeout: function(e) {
|
|
675
675
|
return clearTimeout(e);
|
|
676
676
|
},
|
|
677
677
|
delegate: void 0
|
|
678
678
|
};
|
|
679
|
-
function
|
|
680
|
-
|
|
679
|
+
function An(e) {
|
|
680
|
+
Bn.setTimeout(function() {
|
|
681
681
|
throw e;
|
|
682
682
|
});
|
|
683
683
|
}
|
|
684
|
-
function
|
|
684
|
+
function Zt() {
|
|
685
685
|
}
|
|
686
686
|
function st(e) {
|
|
687
687
|
e();
|
|
688
688
|
}
|
|
689
|
-
var
|
|
689
|
+
var Hr = function(e) {
|
|
690
690
|
ae(t, e);
|
|
691
691
|
function t(r) {
|
|
692
692
|
var n = e.call(this) || this;
|
|
693
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
693
|
+
return n.isStopped = !1, r ? (n.destination = r, Tr(r) && r.add(n)) : n.destination = On, n;
|
|
694
694
|
}
|
|
695
695
|
return t.create = function(r, n, i) {
|
|
696
|
-
return new
|
|
696
|
+
return new It(r, n, i);
|
|
697
697
|
}, t.prototype.next = function(r) {
|
|
698
698
|
this.isStopped || this._next(r);
|
|
699
699
|
}, t.prototype.error = function(r) {
|
|
@@ -717,11 +717,7 @@ var Ir = function(e) {
|
|
|
717
717
|
this.unsubscribe();
|
|
718
718
|
}
|
|
719
719
|
}, t;
|
|
720
|
-
}(ft),
|
|
721
|
-
function yt(e, t) {
|
|
722
|
-
return On.call(e, t);
|
|
723
|
-
}
|
|
724
|
-
var Ln = function() {
|
|
720
|
+
}(ft), In = function() {
|
|
725
721
|
function e(t) {
|
|
726
722
|
this.partialObserver = t;
|
|
727
723
|
}
|
|
@@ -752,55 +748,43 @@ var Ln = function() {
|
|
|
752
748
|
nt(r);
|
|
753
749
|
}
|
|
754
750
|
}, e;
|
|
755
|
-
}(),
|
|
751
|
+
}(), It = function(e) {
|
|
756
752
|
ae(t, e);
|
|
757
753
|
function t(r, n, i) {
|
|
758
754
|
var o = e.call(this) || this, s;
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
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;
|
|
755
|
+
return se(r) || !r ? s = {
|
|
756
|
+
next: r ?? void 0,
|
|
757
|
+
error: n ?? void 0,
|
|
758
|
+
complete: i ?? void 0
|
|
759
|
+
} : s = r, o.destination = new In(s), o;
|
|
776
760
|
}
|
|
777
761
|
return t;
|
|
778
|
-
}(
|
|
762
|
+
}(Hr);
|
|
779
763
|
function nt(e) {
|
|
780
|
-
|
|
764
|
+
An(e);
|
|
781
765
|
}
|
|
782
|
-
function
|
|
766
|
+
function Cn(e) {
|
|
783
767
|
throw e;
|
|
784
768
|
}
|
|
785
|
-
var
|
|
769
|
+
var On = {
|
|
786
770
|
closed: !0,
|
|
787
|
-
next:
|
|
788
|
-
error:
|
|
789
|
-
complete:
|
|
790
|
-
},
|
|
771
|
+
next: Zt,
|
|
772
|
+
error: Cn,
|
|
773
|
+
complete: Zt
|
|
774
|
+
}, Ln = function() {
|
|
791
775
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
792
776
|
}();
|
|
793
|
-
function
|
|
777
|
+
function Mn(e) {
|
|
794
778
|
return e;
|
|
795
779
|
}
|
|
796
|
-
function
|
|
797
|
-
return e.length === 0 ?
|
|
780
|
+
function Nn(e) {
|
|
781
|
+
return e.length === 0 ? Mn : e.length === 1 ? e[0] : function(r) {
|
|
798
782
|
return e.reduce(function(n, i) {
|
|
799
783
|
return i(n);
|
|
800
784
|
}, r);
|
|
801
785
|
};
|
|
802
786
|
}
|
|
803
|
-
var
|
|
787
|
+
var qt = function() {
|
|
804
788
|
function e(t) {
|
|
805
789
|
t && (this._subscribe = t);
|
|
806
790
|
}
|
|
@@ -808,7 +792,7 @@ var Qt = function() {
|
|
|
808
792
|
var r = new e();
|
|
809
793
|
return r.source = this, r.operator = t, r;
|
|
810
794
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
811
|
-
var i = this, o =
|
|
795
|
+
var i = this, o = Un(t) ? t : new It(t, r, n);
|
|
812
796
|
return st(function() {
|
|
813
797
|
var s = i, a = s.operator, c = s.source;
|
|
814
798
|
o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -821,8 +805,8 @@ var Qt = function() {
|
|
|
821
805
|
}
|
|
822
806
|
}, e.prototype.forEach = function(t, r) {
|
|
823
807
|
var n = this;
|
|
824
|
-
return r =
|
|
825
|
-
var s = new
|
|
808
|
+
return r = Jt(r), new r(function(i, o) {
|
|
809
|
+
var s = new It({
|
|
826
810
|
next: function(a) {
|
|
827
811
|
try {
|
|
828
812
|
t(a);
|
|
@@ -838,15 +822,15 @@ var Qt = function() {
|
|
|
838
822
|
}, e.prototype._subscribe = function(t) {
|
|
839
823
|
var r;
|
|
840
824
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
841
|
-
}, e.prototype[
|
|
825
|
+
}, e.prototype[Ln] = function() {
|
|
842
826
|
return this;
|
|
843
827
|
}, e.prototype.pipe = function() {
|
|
844
828
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
845
829
|
t[r] = arguments[r];
|
|
846
|
-
return
|
|
830
|
+
return Nn(t)(this);
|
|
847
831
|
}, e.prototype.toPromise = function(t) {
|
|
848
832
|
var r = this;
|
|
849
|
-
return t =
|
|
833
|
+
return t = Jt(t), new t(function(n, i) {
|
|
850
834
|
var o;
|
|
851
835
|
r.subscribe(function(s) {
|
|
852
836
|
return o = s;
|
|
@@ -860,32 +844,32 @@ var Qt = function() {
|
|
|
860
844
|
return new e(t);
|
|
861
845
|
}, e;
|
|
862
846
|
}();
|
|
863
|
-
function
|
|
847
|
+
function Jt(e) {
|
|
864
848
|
var t;
|
|
865
|
-
return (t = e ??
|
|
849
|
+
return (t = e ?? Hn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
866
850
|
}
|
|
867
|
-
function
|
|
851
|
+
function Rn(e) {
|
|
868
852
|
return e && se(e.next) && se(e.error) && se(e.complete);
|
|
869
853
|
}
|
|
870
|
-
function
|
|
871
|
-
return e && e instanceof
|
|
854
|
+
function Un(e) {
|
|
855
|
+
return e && e instanceof Hr || Rn(e) && Tr(e);
|
|
872
856
|
}
|
|
873
|
-
var
|
|
857
|
+
var Fn = Sr(function(e) {
|
|
874
858
|
return function() {
|
|
875
859
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
876
860
|
};
|
|
877
|
-
}),
|
|
861
|
+
}), Br = function(e) {
|
|
878
862
|
ae(t, e);
|
|
879
863
|
function t() {
|
|
880
864
|
var r = e.call(this) || this;
|
|
881
865
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
882
866
|
}
|
|
883
867
|
return t.prototype.lift = function(r) {
|
|
884
|
-
var n = new
|
|
868
|
+
var n = new Qt(this, this);
|
|
885
869
|
return n.operator = r, n;
|
|
886
870
|
}, t.prototype._throwIfClosed = function() {
|
|
887
871
|
if (this.closed)
|
|
888
|
-
throw new
|
|
872
|
+
throw new Fn();
|
|
889
873
|
}, t.prototype.next = function(r) {
|
|
890
874
|
var n = this;
|
|
891
875
|
st(function() {
|
|
@@ -893,7 +877,7 @@ var Gn = Tr(function(e) {
|
|
|
893
877
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
894
878
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
895
879
|
try {
|
|
896
|
-
for (var s =
|
|
880
|
+
for (var s = Ht(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
897
881
|
var c = a.value;
|
|
898
882
|
c.next(r);
|
|
899
883
|
}
|
|
@@ -942,19 +926,19 @@ var Gn = Tr(function(e) {
|
|
|
942
926
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
943
927
|
}, t.prototype._innerSubscribe = function(r) {
|
|
944
928
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
945
|
-
return o || s ?
|
|
946
|
-
n.currentObservers = null,
|
|
929
|
+
return o || s ? Pr : (this.currentObservers = null, a.push(r), new ft(function() {
|
|
930
|
+
n.currentObservers = null, At(a, r);
|
|
947
931
|
}));
|
|
948
932
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
949
933
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
950
934
|
i ? r.error(o) : s && r.complete();
|
|
951
935
|
}, t.prototype.asObservable = function() {
|
|
952
|
-
var r = new
|
|
936
|
+
var r = new qt();
|
|
953
937
|
return r.source = this, r;
|
|
954
938
|
}, t.create = function(r, n) {
|
|
955
|
-
return new
|
|
939
|
+
return new Qt(r, n);
|
|
956
940
|
}, t;
|
|
957
|
-
}(
|
|
941
|
+
}(qt), Qt = function(e) {
|
|
958
942
|
ae(t, e);
|
|
959
943
|
function t(r, n) {
|
|
960
944
|
var i = e.call(this) || this;
|
|
@@ -971,17 +955,17 @@ var Gn = Tr(function(e) {
|
|
|
971
955
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
972
956
|
}, t.prototype._subscribe = function(r) {
|
|
973
957
|
var n, i;
|
|
974
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
958
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pr;
|
|
975
959
|
}, t;
|
|
976
|
-
}(
|
|
960
|
+
}(Br), Ar = {
|
|
977
961
|
now: function() {
|
|
978
|
-
return (
|
|
962
|
+
return (Ar.delegate || Date).now();
|
|
979
963
|
},
|
|
980
964
|
delegate: void 0
|
|
981
|
-
},
|
|
965
|
+
}, Dn = function(e) {
|
|
982
966
|
ae(t, e);
|
|
983
967
|
function t(r, n, i) {
|
|
984
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
968
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ar);
|
|
985
969
|
var o = e.call(this) || this;
|
|
986
970
|
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;
|
|
987
971
|
}
|
|
@@ -1001,15 +985,15 @@ var Gn = Tr(function(e) {
|
|
|
1001
985
|
l && o.splice(0, l + 1);
|
|
1002
986
|
}
|
|
1003
987
|
}, t;
|
|
1004
|
-
}(
|
|
1005
|
-
const
|
|
1006
|
-
if (
|
|
1007
|
-
const r = new
|
|
1008
|
-
|
|
988
|
+
}(Br);
|
|
989
|
+
const Yt = [], Kt = {}, kn = (e, t = 0) => {
|
|
990
|
+
if (Yt.indexOf(e) == -1) {
|
|
991
|
+
const r = new Dn(t);
|
|
992
|
+
Kt[e] = r, Yt.push(e);
|
|
1009
993
|
}
|
|
1010
|
-
return
|
|
994
|
+
return Kt[e];
|
|
1011
995
|
}, Te = [];
|
|
1012
|
-
function
|
|
996
|
+
function Gn(e, t) {
|
|
1013
997
|
return {
|
|
1014
998
|
subscribe: dt(e, t).subscribe
|
|
1015
999
|
};
|
|
@@ -1018,7 +1002,7 @@ function dt(e, t = Z) {
|
|
|
1018
1002
|
let r;
|
|
1019
1003
|
const n = /* @__PURE__ */ new Set();
|
|
1020
1004
|
function i(a) {
|
|
1021
|
-
if (
|
|
1005
|
+
if (wr(e, a) && (e = a, r)) {
|
|
1022
1006
|
const c = !Te.length;
|
|
1023
1007
|
for (const l of n)
|
|
1024
1008
|
l[1](), Te.push(l, e);
|
|
@@ -1045,7 +1029,7 @@ function Ne(e, t, r) {
|
|
|
1045
1029
|
if (!i.every(Boolean))
|
|
1046
1030
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1047
1031
|
const o = t.length < 2;
|
|
1048
|
-
return
|
|
1032
|
+
return Gn(r, (s, a) => {
|
|
1049
1033
|
let c = !1;
|
|
1050
1034
|
const l = [];
|
|
1051
1035
|
let u = 0, f = Z;
|
|
@@ -1053,11 +1037,11 @@ function Ne(e, t, r) {
|
|
|
1053
1037
|
if (u)
|
|
1054
1038
|
return;
|
|
1055
1039
|
f();
|
|
1056
|
-
const
|
|
1057
|
-
o ? s(
|
|
1040
|
+
const v = t(n ? l[0] : l, s, a);
|
|
1041
|
+
o ? s(v) : f = Dt(v) ? v : Z;
|
|
1058
1042
|
}, b = i.map(
|
|
1059
|
-
(
|
|
1060
|
-
|
|
1043
|
+
(v, g) => Er(
|
|
1044
|
+
v,
|
|
1061
1045
|
(S) => {
|
|
1062
1046
|
l[g] = S, u &= ~(1 << g), c && d();
|
|
1063
1047
|
},
|
|
@@ -1071,70 +1055,70 @@ function Ne(e, t, r) {
|
|
|
1071
1055
|
};
|
|
1072
1056
|
});
|
|
1073
1057
|
}
|
|
1074
|
-
function
|
|
1075
|
-
return e
|
|
1058
|
+
function $n(e) {
|
|
1059
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1076
1060
|
}
|
|
1077
|
-
var
|
|
1078
|
-
return
|
|
1061
|
+
var jn = function(t) {
|
|
1062
|
+
return Vn(t) && !zn(t);
|
|
1079
1063
|
};
|
|
1080
|
-
function
|
|
1064
|
+
function Vn(e) {
|
|
1081
1065
|
return !!e && typeof e == "object";
|
|
1082
1066
|
}
|
|
1083
|
-
function
|
|
1067
|
+
function zn(e) {
|
|
1084
1068
|
var t = Object.prototype.toString.call(e);
|
|
1085
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1069
|
+
return t === "[object RegExp]" || t === "[object Date]" || Zn(e);
|
|
1086
1070
|
}
|
|
1087
|
-
var
|
|
1088
|
-
function
|
|
1089
|
-
return e.$$typeof ===
|
|
1071
|
+
var Xn = typeof Symbol == "function" && Symbol.for, Wn = Xn ? Symbol.for("react.element") : 60103;
|
|
1072
|
+
function Zn(e) {
|
|
1073
|
+
return e.$$typeof === Wn;
|
|
1090
1074
|
}
|
|
1091
|
-
function
|
|
1075
|
+
function qn(e) {
|
|
1092
1076
|
return Array.isArray(e) ? [] : {};
|
|
1093
1077
|
}
|
|
1094
1078
|
function Xe(e, t) {
|
|
1095
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Ie(
|
|
1079
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ie(qn(e), e, t) : e;
|
|
1096
1080
|
}
|
|
1097
|
-
function
|
|
1081
|
+
function Jn(e, t, r) {
|
|
1098
1082
|
return e.concat(t).map(function(n) {
|
|
1099
1083
|
return Xe(n, r);
|
|
1100
1084
|
});
|
|
1101
1085
|
}
|
|
1102
|
-
function
|
|
1086
|
+
function Qn(e, t) {
|
|
1103
1087
|
if (!t.customMerge)
|
|
1104
1088
|
return Ie;
|
|
1105
1089
|
var r = t.customMerge(e);
|
|
1106
1090
|
return typeof r == "function" ? r : Ie;
|
|
1107
1091
|
}
|
|
1108
|
-
function
|
|
1092
|
+
function Yn(e) {
|
|
1109
1093
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1110
1094
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1111
1095
|
}) : [];
|
|
1112
1096
|
}
|
|
1113
|
-
function
|
|
1114
|
-
return Object.keys(e).concat(
|
|
1097
|
+
function er(e) {
|
|
1098
|
+
return Object.keys(e).concat(Yn(e));
|
|
1115
1099
|
}
|
|
1116
|
-
function
|
|
1100
|
+
function Ir(e, t) {
|
|
1117
1101
|
try {
|
|
1118
1102
|
return t in e;
|
|
1119
1103
|
} catch {
|
|
1120
1104
|
return !1;
|
|
1121
1105
|
}
|
|
1122
1106
|
}
|
|
1123
|
-
function
|
|
1124
|
-
return
|
|
1107
|
+
function Kn(e, t) {
|
|
1108
|
+
return Ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1125
1109
|
}
|
|
1126
|
-
function
|
|
1110
|
+
function ei(e, t, r) {
|
|
1127
1111
|
var n = {};
|
|
1128
|
-
return r.isMergeableObject(e) &&
|
|
1112
|
+
return r.isMergeableObject(e) && er(e).forEach(function(i) {
|
|
1129
1113
|
n[i] = Xe(e[i], r);
|
|
1130
|
-
}),
|
|
1131
|
-
|
|
1114
|
+
}), er(t).forEach(function(i) {
|
|
1115
|
+
Kn(e, i) || (Ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qn(i, r)(e[i], t[i], r) : n[i] = Xe(t[i], r));
|
|
1132
1116
|
}), n;
|
|
1133
1117
|
}
|
|
1134
1118
|
function Ie(e, t, r) {
|
|
1135
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1119
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Jn, r.isMergeableObject = r.isMergeableObject || jn, r.cloneUnlessOtherwiseSpecified = Xe;
|
|
1136
1120
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1137
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1121
|
+
return o ? n ? r.arrayMerge(e, t, r) : ei(e, t, r) : Xe(t, r);
|
|
1138
1122
|
}
|
|
1139
1123
|
Ie.all = function(t, r) {
|
|
1140
1124
|
if (!Array.isArray(t))
|
|
@@ -1143,58 +1127,60 @@ Ie.all = function(t, r) {
|
|
|
1143
1127
|
return Ie(n, i, r);
|
|
1144
1128
|
}, {});
|
|
1145
1129
|
};
|
|
1146
|
-
var
|
|
1147
|
-
const
|
|
1148
|
-
function
|
|
1149
|
-
var r = t && t.cache ? t.cache :
|
|
1130
|
+
var ti = Ie, ri = ti;
|
|
1131
|
+
const ni = /* @__PURE__ */ $n(ri);
|
|
1132
|
+
function vt(e, t) {
|
|
1133
|
+
var r = t && t.cache ? t.cache : ci, n = t && t.serializer ? t.serializer : li, i = t && t.strategy ? t.strategy : oi;
|
|
1150
1134
|
return i(e, {
|
|
1151
1135
|
cache: r,
|
|
1152
1136
|
serializer: n
|
|
1153
1137
|
});
|
|
1154
1138
|
}
|
|
1155
|
-
function
|
|
1139
|
+
function ii(e) {
|
|
1156
1140
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1157
1141
|
}
|
|
1158
|
-
function
|
|
1159
|
-
var i =
|
|
1142
|
+
function Cr(e, t, r, n) {
|
|
1143
|
+
var i = ii(n) ? n : r(n), o = t.get(i);
|
|
1160
1144
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1161
1145
|
}
|
|
1162
|
-
function
|
|
1146
|
+
function Or(e, t, r) {
|
|
1163
1147
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1164
1148
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1165
1149
|
}
|
|
1166
|
-
function
|
|
1150
|
+
function kt(e, t, r, n, i) {
|
|
1167
1151
|
return r.bind(t, e, n, i);
|
|
1168
1152
|
}
|
|
1169
|
-
function
|
|
1170
|
-
var r = e.length === 1 ?
|
|
1171
|
-
return
|
|
1153
|
+
function oi(e, t) {
|
|
1154
|
+
var r = e.length === 1 ? Cr : Or;
|
|
1155
|
+
return kt(e, this, r, t.cache.create(), t.serializer);
|
|
1172
1156
|
}
|
|
1173
|
-
function
|
|
1174
|
-
return
|
|
1157
|
+
function si(e, t) {
|
|
1158
|
+
return kt(e, this, Or, t.cache.create(), t.serializer);
|
|
1175
1159
|
}
|
|
1176
|
-
function
|
|
1177
|
-
return
|
|
1160
|
+
function ai(e, t) {
|
|
1161
|
+
return kt(e, this, Cr, t.cache.create(), t.serializer);
|
|
1178
1162
|
}
|
|
1179
|
-
var
|
|
1163
|
+
var li = function() {
|
|
1180
1164
|
return JSON.stringify(arguments);
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1165
|
+
}, ui = (
|
|
1166
|
+
/** @class */
|
|
1167
|
+
function() {
|
|
1168
|
+
function e() {
|
|
1169
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1170
|
+
}
|
|
1171
|
+
return e.prototype.get = function(t) {
|
|
1172
|
+
return this.cache[t];
|
|
1173
|
+
}, e.prototype.set = function(t, r) {
|
|
1174
|
+
this.cache[t] = r;
|
|
1175
|
+
}, e;
|
|
1176
|
+
}()
|
|
1177
|
+
), ci = {
|
|
1192
1178
|
create: function() {
|
|
1193
|
-
return new
|
|
1179
|
+
return new ui();
|
|
1194
1180
|
}
|
|
1195
|
-
},
|
|
1196
|
-
variadic:
|
|
1197
|
-
monadic:
|
|
1181
|
+
}, _t = {
|
|
1182
|
+
variadic: si,
|
|
1183
|
+
monadic: ai
|
|
1198
1184
|
}, _;
|
|
1199
1185
|
(function(e) {
|
|
1200
1186
|
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";
|
|
@@ -1207,43 +1193,43 @@ var Ce;
|
|
|
1207
1193
|
(function(e) {
|
|
1208
1194
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1209
1195
|
})(Ce || (Ce = {}));
|
|
1210
|
-
function
|
|
1196
|
+
function tr(e) {
|
|
1211
1197
|
return e.type === T.literal;
|
|
1212
1198
|
}
|
|
1213
|
-
function
|
|
1199
|
+
function hi(e) {
|
|
1214
1200
|
return e.type === T.argument;
|
|
1215
1201
|
}
|
|
1216
|
-
function
|
|
1202
|
+
function Lr(e) {
|
|
1217
1203
|
return e.type === T.number;
|
|
1218
1204
|
}
|
|
1219
|
-
function
|
|
1205
|
+
function Mr(e) {
|
|
1220
1206
|
return e.type === T.date;
|
|
1221
1207
|
}
|
|
1222
|
-
function
|
|
1208
|
+
function Nr(e) {
|
|
1223
1209
|
return e.type === T.time;
|
|
1224
1210
|
}
|
|
1225
|
-
function
|
|
1211
|
+
function Rr(e) {
|
|
1226
1212
|
return e.type === T.select;
|
|
1227
1213
|
}
|
|
1228
|
-
function
|
|
1214
|
+
function Ur(e) {
|
|
1229
1215
|
return e.type === T.plural;
|
|
1230
1216
|
}
|
|
1231
|
-
function
|
|
1217
|
+
function fi(e) {
|
|
1232
1218
|
return e.type === T.pound;
|
|
1233
1219
|
}
|
|
1234
|
-
function
|
|
1220
|
+
function Fr(e) {
|
|
1235
1221
|
return e.type === T.tag;
|
|
1236
1222
|
}
|
|
1237
|
-
function
|
|
1223
|
+
function Dr(e) {
|
|
1238
1224
|
return !!(e && typeof e == "object" && e.type === Ce.number);
|
|
1239
1225
|
}
|
|
1240
|
-
function
|
|
1226
|
+
function Ct(e) {
|
|
1241
1227
|
return !!(e && typeof e == "object" && e.type === Ce.dateTime);
|
|
1242
1228
|
}
|
|
1243
|
-
var
|
|
1244
|
-
function
|
|
1229
|
+
var kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, di = /(?:[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;
|
|
1230
|
+
function mi(e) {
|
|
1245
1231
|
var t = {};
|
|
1246
|
-
return e.replace(
|
|
1232
|
+
return e.replace(di, function(r) {
|
|
1247
1233
|
var n = r.length;
|
|
1248
1234
|
switch (r[0]) {
|
|
1249
1235
|
case "G":
|
|
@@ -1332,11 +1318,11 @@ function gi(e) {
|
|
|
1332
1318
|
return "";
|
|
1333
1319
|
}), t;
|
|
1334
1320
|
}
|
|
1335
|
-
var
|
|
1336
|
-
function
|
|
1321
|
+
var pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1322
|
+
function gi(e) {
|
|
1337
1323
|
if (e.length === 0)
|
|
1338
1324
|
throw new Error("Number skeleton cannot be empty");
|
|
1339
|
-
for (var t = e.split(
|
|
1325
|
+
for (var t = e.split(pi).filter(function(d) {
|
|
1340
1326
|
return d.length > 0;
|
|
1341
1327
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1342
1328
|
var o = i[n], s = o.split("/");
|
|
@@ -1351,17 +1337,17 @@ function vi(e) {
|
|
|
1351
1337
|
}
|
|
1352
1338
|
return r;
|
|
1353
1339
|
}
|
|
1354
|
-
function
|
|
1340
|
+
function bi(e) {
|
|
1355
1341
|
return e.replace(/^(.*?)-/, "");
|
|
1356
1342
|
}
|
|
1357
|
-
var
|
|
1358
|
-
function
|
|
1343
|
+
var rr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gr = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, $r = /^(0+)$/;
|
|
1344
|
+
function nr(e) {
|
|
1359
1345
|
var t = {};
|
|
1360
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1346
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gr, function(r, n, i) {
|
|
1361
1347
|
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)), "";
|
|
1362
1348
|
}), t;
|
|
1363
1349
|
}
|
|
1364
|
-
function
|
|
1350
|
+
function jr(e) {
|
|
1365
1351
|
switch (e) {
|
|
1366
1352
|
case "sign-auto":
|
|
1367
1353
|
return {
|
|
@@ -1401,7 +1387,7 @@ function Xr(e) {
|
|
|
1401
1387
|
};
|
|
1402
1388
|
}
|
|
1403
1389
|
}
|
|
1404
|
-
function
|
|
1390
|
+
function vi(e) {
|
|
1405
1391
|
var t;
|
|
1406
1392
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1407
1393
|
notation: "engineering"
|
|
@@ -1409,17 +1395,17 @@ function wi(e) {
|
|
|
1409
1395
|
notation: "scientific"
|
|
1410
1396
|
}, e = e.slice(1)), t) {
|
|
1411
1397
|
var r = e.slice(0, 2);
|
|
1412
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)),
|
|
1398
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$r.test(e))
|
|
1413
1399
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1414
1400
|
t.minimumIntegerDigits = e.length;
|
|
1415
1401
|
}
|
|
1416
1402
|
return t;
|
|
1417
1403
|
}
|
|
1418
|
-
function
|
|
1419
|
-
var t = {}, r =
|
|
1404
|
+
function ir(e) {
|
|
1405
|
+
var t = {}, r = jr(e);
|
|
1420
1406
|
return r || t;
|
|
1421
1407
|
}
|
|
1422
|
-
function
|
|
1408
|
+
function _i(e) {
|
|
1423
1409
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1424
1410
|
var i = n[r];
|
|
1425
1411
|
switch (i.stem) {
|
|
@@ -1443,7 +1429,7 @@ function Ei(e) {
|
|
|
1443
1429
|
continue;
|
|
1444
1430
|
case "measure-unit":
|
|
1445
1431
|
case "unit":
|
|
1446
|
-
t.style = "unit", t.unit =
|
|
1432
|
+
t.style = "unit", t.unit = bi(i.options[0]);
|
|
1447
1433
|
continue;
|
|
1448
1434
|
case "compact-short":
|
|
1449
1435
|
case "K":
|
|
@@ -1455,12 +1441,12 @@ function Ei(e) {
|
|
|
1455
1441
|
continue;
|
|
1456
1442
|
case "scientific":
|
|
1457
1443
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
|
|
1458
|
-
return E(E({}, c),
|
|
1444
|
+
return E(E({}, c), ir(l));
|
|
1459
1445
|
}, {}));
|
|
1460
1446
|
continue;
|
|
1461
1447
|
case "engineering":
|
|
1462
1448
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
|
|
1463
|
-
return E(E({}, c),
|
|
1449
|
+
return E(E({}, c), ir(l));
|
|
1464
1450
|
}, {}));
|
|
1465
1451
|
continue;
|
|
1466
1452
|
case "notation-simple":
|
|
@@ -1505,7 +1491,7 @@ function Ei(e) {
|
|
|
1505
1491
|
case "integer-width":
|
|
1506
1492
|
if (i.options.length > 1)
|
|
1507
1493
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1508
|
-
i.options[0].replace(
|
|
1494
|
+
i.options[0].replace(yi, function(c, l, u, f, d, b) {
|
|
1509
1495
|
if (l)
|
|
1510
1496
|
t.minimumIntegerDigits = u.length;
|
|
1511
1497
|
else {
|
|
@@ -1518,27 +1504,27 @@ function Ei(e) {
|
|
|
1518
1504
|
});
|
|
1519
1505
|
continue;
|
|
1520
1506
|
}
|
|
1521
|
-
if (
|
|
1507
|
+
if ($r.test(i.stem)) {
|
|
1522
1508
|
t.minimumIntegerDigits = i.stem.length;
|
|
1523
1509
|
continue;
|
|
1524
1510
|
}
|
|
1525
|
-
if (
|
|
1511
|
+
if (rr.test(i.stem)) {
|
|
1526
1512
|
if (i.options.length > 1)
|
|
1527
1513
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1528
|
-
i.stem.replace(
|
|
1514
|
+
i.stem.replace(rr, function(c, l, u, f, d, b) {
|
|
1529
1515
|
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), "";
|
|
1530
1516
|
});
|
|
1531
1517
|
var o = i.options[0];
|
|
1532
|
-
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t),
|
|
1518
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), nr(o)));
|
|
1533
1519
|
continue;
|
|
1534
1520
|
}
|
|
1535
|
-
if (
|
|
1536
|
-
t = E(E({}, t),
|
|
1521
|
+
if (Gr.test(i.stem)) {
|
|
1522
|
+
t = E(E({}, t), nr(i.stem));
|
|
1537
1523
|
continue;
|
|
1538
1524
|
}
|
|
1539
|
-
var s =
|
|
1525
|
+
var s = jr(i.stem);
|
|
1540
1526
|
s && (t = E(E({}, t), s));
|
|
1541
|
-
var a =
|
|
1527
|
+
var a = vi(i.stem);
|
|
1542
1528
|
a && (t = E(E({}, t), a));
|
|
1543
1529
|
}
|
|
1544
1530
|
return t;
|
|
@@ -2958,13 +2944,13 @@ var it = {
|
|
|
2958
2944
|
"h"
|
|
2959
2945
|
]
|
|
2960
2946
|
};
|
|
2961
|
-
function
|
|
2947
|
+
function wi(e, t) {
|
|
2962
2948
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2963
2949
|
var i = e.charAt(n);
|
|
2964
2950
|
if (i === "j") {
|
|
2965
2951
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2966
2952
|
o++, n++;
|
|
2967
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l =
|
|
2953
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Ei(t);
|
|
2968
2954
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2969
2955
|
r += c;
|
|
2970
2956
|
for (; s-- > 0; )
|
|
@@ -2974,7 +2960,7 @@ function xi(e, t) {
|
|
|
2974
2960
|
}
|
|
2975
2961
|
return r;
|
|
2976
2962
|
}
|
|
2977
|
-
function
|
|
2963
|
+
function Ei(e) {
|
|
2978
2964
|
var t = e.hourCycle;
|
|
2979
2965
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2980
2966
|
e.hourCycles && // @ts-ignore
|
|
@@ -2996,20 +2982,20 @@ function Si(e) {
|
|
|
2996
2982
|
var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
|
|
2997
2983
|
return i[0];
|
|
2998
2984
|
}
|
|
2999
|
-
var
|
|
2985
|
+
var wt, xi = new RegExp("^".concat(kr.source, "*")), Si = new RegExp("".concat(kr.source, "*$"));
|
|
3000
2986
|
function w(e, t) {
|
|
3001
2987
|
return { start: e, end: t };
|
|
3002
2988
|
}
|
|
3003
|
-
var
|
|
2989
|
+
var Pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ti = !!String.fromCodePoint, Hi = !!Object.fromEntries, Bi = !!String.prototype.codePointAt, Ai = !!String.prototype.trimStart, Ii = !!String.prototype.trimEnd, Ci = !!Number.isSafeInteger, Oi = Ci ? Number.isSafeInteger : function(e) {
|
|
3004
2990
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3005
|
-
},
|
|
2991
|
+
}, Ot = !0;
|
|
3006
2992
|
try {
|
|
3007
|
-
var
|
|
3008
|
-
|
|
2993
|
+
var Li = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2994
|
+
Ot = ((wt = Li.exec("a")) === null || wt === void 0 ? void 0 : wt[0]) === "a";
|
|
3009
2995
|
} catch {
|
|
3010
|
-
|
|
2996
|
+
Ot = !1;
|
|
3011
2997
|
}
|
|
3012
|
-
var
|
|
2998
|
+
var or = Pi ? (
|
|
3013
2999
|
// Native
|
|
3014
3000
|
function(t, r, n) {
|
|
3015
3001
|
return t.startsWith(r, n);
|
|
@@ -3019,7 +3005,7 @@ var ar = Hi ? (
|
|
|
3019
3005
|
function(t, r, n) {
|
|
3020
3006
|
return t.slice(n, n + r.length) === r;
|
|
3021
3007
|
}
|
|
3022
|
-
),
|
|
3008
|
+
), Lt = Ti ? String.fromCodePoint : (
|
|
3023
3009
|
// IE11
|
|
3024
3010
|
function() {
|
|
3025
3011
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3031,9 +3017,9 @@ var ar = Hi ? (
|
|
|
3031
3017
|
}
|
|
3032
3018
|
return n;
|
|
3033
3019
|
}
|
|
3034
|
-
),
|
|
3020
|
+
), sr = (
|
|
3035
3021
|
// native
|
|
3036
|
-
|
|
3022
|
+
Hi ? Object.fromEntries : (
|
|
3037
3023
|
// Ponyfill
|
|
3038
3024
|
function(t) {
|
|
3039
3025
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3043,7 +3029,7 @@ var ar = Hi ? (
|
|
|
3043
3029
|
return r;
|
|
3044
3030
|
}
|
|
3045
3031
|
)
|
|
3046
|
-
),
|
|
3032
|
+
), Vr = Bi ? (
|
|
3047
3033
|
// Native
|
|
3048
3034
|
function(t, r) {
|
|
3049
3035
|
return t.codePointAt(r);
|
|
@@ -3057,7 +3043,7 @@ var ar = Hi ? (
|
|
|
3057
3043
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3058
3044
|
}
|
|
3059
3045
|
}
|
|
3060
|
-
),
|
|
3046
|
+
), Mi = Ai ? (
|
|
3061
3047
|
// Native
|
|
3062
3048
|
function(t) {
|
|
3063
3049
|
return t.trimStart();
|
|
@@ -3065,9 +3051,9 @@ var ar = Hi ? (
|
|
|
3065
3051
|
) : (
|
|
3066
3052
|
// Ponyfill
|
|
3067
3053
|
function(t) {
|
|
3068
|
-
return t.replace(
|
|
3054
|
+
return t.replace(xi, "");
|
|
3069
3055
|
}
|
|
3070
|
-
),
|
|
3056
|
+
), Ni = Ii ? (
|
|
3071
3057
|
// Native
|
|
3072
3058
|
function(t) {
|
|
3073
3059
|
return t.trimEnd();
|
|
@@ -3075,32 +3061,32 @@ var ar = Hi ? (
|
|
|
3075
3061
|
) : (
|
|
3076
3062
|
// Ponyfill
|
|
3077
3063
|
function(t) {
|
|
3078
|
-
return t.replace(
|
|
3064
|
+
return t.replace(Si, "");
|
|
3079
3065
|
}
|
|
3080
3066
|
);
|
|
3081
|
-
function
|
|
3067
|
+
function zr(e, t) {
|
|
3082
3068
|
return new RegExp(e, t);
|
|
3083
3069
|
}
|
|
3084
|
-
var
|
|
3085
|
-
if (
|
|
3086
|
-
var
|
|
3087
|
-
|
|
3070
|
+
var Mt;
|
|
3071
|
+
if (Ot) {
|
|
3072
|
+
var ar = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3073
|
+
Mt = function(t, r) {
|
|
3088
3074
|
var n;
|
|
3089
|
-
|
|
3090
|
-
var i =
|
|
3075
|
+
ar.lastIndex = r;
|
|
3076
|
+
var i = ar.exec(t);
|
|
3091
3077
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3092
3078
|
};
|
|
3093
3079
|
} else
|
|
3094
|
-
|
|
3080
|
+
Mt = function(t, r) {
|
|
3095
3081
|
for (var n = []; ; ) {
|
|
3096
|
-
var i =
|
|
3097
|
-
if (i === void 0 ||
|
|
3082
|
+
var i = Vr(t, r);
|
|
3083
|
+
if (i === void 0 || Xr(i) || Di(i))
|
|
3098
3084
|
break;
|
|
3099
3085
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3100
3086
|
}
|
|
3101
|
-
return
|
|
3087
|
+
return Lt.apply(void 0, n);
|
|
3102
3088
|
};
|
|
3103
|
-
var
|
|
3089
|
+
var Ri = (
|
|
3104
3090
|
/** @class */
|
|
3105
3091
|
function() {
|
|
3106
3092
|
function e(t, r) {
|
|
@@ -3131,7 +3117,7 @@ var Fi = (
|
|
|
3131
3117
|
if (n)
|
|
3132
3118
|
break;
|
|
3133
3119
|
return this.error(_.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
3134
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3120
|
+
} else if (o === 60 && !this.ignoreTag && Nt(this.peek() || 0)) {
|
|
3135
3121
|
var s = this.parseTag(t, r);
|
|
3136
3122
|
if (s.err)
|
|
3137
3123
|
return s;
|
|
@@ -3164,7 +3150,7 @@ var Fi = (
|
|
|
3164
3150
|
return o;
|
|
3165
3151
|
var s = o.val, a = this.clonePosition();
|
|
3166
3152
|
if (this.bumpIf("</")) {
|
|
3167
|
-
if (this.isEOF() || !
|
|
3153
|
+
if (this.isEOF() || !Nt(this.char()))
|
|
3168
3154
|
return this.error(_.INVALID_TAG, w(a, this.clonePosition()));
|
|
3169
3155
|
var c = this.clonePosition(), l = this.parseTagName();
|
|
3170
3156
|
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, w(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3182,7 +3168,7 @@ var Fi = (
|
|
|
3182
3168
|
return this.error(_.INVALID_TAG, w(n, this.clonePosition()));
|
|
3183
3169
|
}, e.prototype.parseTagName = function() {
|
|
3184
3170
|
var t = this.offset();
|
|
3185
|
-
for (this.bump(); !this.isEOF() &&
|
|
3171
|
+
for (this.bump(); !this.isEOF() && Fi(this.char()); )
|
|
3186
3172
|
this.bump();
|
|
3187
3173
|
return this.message.slice(t, this.offset());
|
|
3188
3174
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3211,7 +3197,7 @@ var Fi = (
|
|
|
3211
3197
|
};
|
|
3212
3198
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3213
3199
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3214
|
-
!
|
|
3200
|
+
!Ui(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3215
3201
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3216
3202
|
if (this.isEOF() || this.char() !== 39)
|
|
3217
3203
|
return null;
|
|
@@ -3245,12 +3231,12 @@ var Fi = (
|
|
|
3245
3231
|
r.push(n);
|
|
3246
3232
|
this.bump();
|
|
3247
3233
|
}
|
|
3248
|
-
return
|
|
3234
|
+
return Lt.apply(void 0, r);
|
|
3249
3235
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3250
3236
|
if (this.isEOF())
|
|
3251
3237
|
return null;
|
|
3252
3238
|
var n = this.char();
|
|
3253
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3239
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Lt(n));
|
|
3254
3240
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3255
3241
|
var n = this.clonePosition();
|
|
3256
3242
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3279,7 +3265,7 @@ var Fi = (
|
|
|
3279
3265
|
return this.error(_.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3280
3266
|
}
|
|
3281
3267
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3282
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3268
|
+
var t = this.clonePosition(), r = this.offset(), n = Mt(this.message, r), i = r + n.length;
|
|
3283
3269
|
this.bumpTo(i);
|
|
3284
3270
|
var o = this.clonePosition(), s = w(t, o);
|
|
3285
3271
|
return { value: n, location: s };
|
|
@@ -3298,18 +3284,18 @@ var Fi = (
|
|
|
3298
3284
|
var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3299
3285
|
if (f.err)
|
|
3300
3286
|
return f;
|
|
3301
|
-
var d =
|
|
3287
|
+
var d = Ni(f.val);
|
|
3302
3288
|
if (d.length === 0)
|
|
3303
3289
|
return this.error(_.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
3304
3290
|
var b = w(u, this.clonePosition());
|
|
3305
3291
|
l = { style: d, styleLocation: b };
|
|
3306
3292
|
}
|
|
3307
|
-
var
|
|
3308
|
-
if (
|
|
3309
|
-
return
|
|
3293
|
+
var v = this.tryParseArgumentClose(i);
|
|
3294
|
+
if (v.err)
|
|
3295
|
+
return v;
|
|
3310
3296
|
var g = w(i, this.clonePosition());
|
|
3311
|
-
if (l &&
|
|
3312
|
-
var S =
|
|
3297
|
+
if (l && or(l?.style, "::", 0)) {
|
|
3298
|
+
var S = Mi(l.style.slice(2));
|
|
3313
3299
|
if (a === "number") {
|
|
3314
3300
|
var f = this.parseNumberSkeletonFromString(S, l.styleLocation);
|
|
3315
3301
|
return f.err ? f : {
|
|
@@ -3320,12 +3306,12 @@ var Fi = (
|
|
|
3320
3306
|
if (S.length === 0)
|
|
3321
3307
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
3322
3308
|
var C = S;
|
|
3323
|
-
this.locale && (C =
|
|
3309
|
+
this.locale && (C = wi(S, this.locale));
|
|
3324
3310
|
var d = {
|
|
3325
3311
|
type: Ce.dateTime,
|
|
3326
3312
|
pattern: C,
|
|
3327
3313
|
location: l.styleLocation,
|
|
3328
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3314
|
+
parsedOptions: this.shouldParseSkeletons ? mi(C) : {}
|
|
3329
3315
|
}, z = a === "date" ? T.date : T.time;
|
|
3330
3316
|
return {
|
|
3331
3317
|
val: { type: z, value: n, location: g, style: d },
|
|
@@ -3363,15 +3349,15 @@ var Fi = (
|
|
|
3363
3349
|
var re = this.tryParsePluralOrSelectOptions(t, a, r, U);
|
|
3364
3350
|
if (re.err)
|
|
3365
3351
|
return re;
|
|
3366
|
-
var
|
|
3367
|
-
if (
|
|
3368
|
-
return
|
|
3352
|
+
var v = this.tryParseArgumentClose(i);
|
|
3353
|
+
if (v.err)
|
|
3354
|
+
return v;
|
|
3369
3355
|
var H = w(i, this.clonePosition());
|
|
3370
3356
|
return a === "select" ? {
|
|
3371
3357
|
val: {
|
|
3372
3358
|
type: T.select,
|
|
3373
3359
|
value: n,
|
|
3374
|
-
options:
|
|
3360
|
+
options: sr(re.val),
|
|
3375
3361
|
location: H
|
|
3376
3362
|
},
|
|
3377
3363
|
err: null
|
|
@@ -3379,7 +3365,7 @@ var Fi = (
|
|
|
3379
3365
|
val: {
|
|
3380
3366
|
type: T.plural,
|
|
3381
3367
|
value: n,
|
|
3382
|
-
options:
|
|
3368
|
+
options: sr(re.val),
|
|
3383
3369
|
offset: A,
|
|
3384
3370
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3385
3371
|
location: H
|
|
@@ -3430,7 +3416,7 @@ var Fi = (
|
|
|
3430
3416
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3431
3417
|
var n = [];
|
|
3432
3418
|
try {
|
|
3433
|
-
n =
|
|
3419
|
+
n = gi(t);
|
|
3434
3420
|
} catch {
|
|
3435
3421
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3436
3422
|
}
|
|
@@ -3439,7 +3425,7 @@ var Fi = (
|
|
|
3439
3425
|
type: Ce.number,
|
|
3440
3426
|
tokens: n,
|
|
3441
3427
|
location: r,
|
|
3442
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3428
|
+
parsedOptions: this.shouldParseSkeletons ? _i(n) : {}
|
|
3443
3429
|
},
|
|
3444
3430
|
err: null
|
|
3445
3431
|
};
|
|
@@ -3461,16 +3447,16 @@ var Fi = (
|
|
|
3461
3447
|
var b = this.clonePosition();
|
|
3462
3448
|
if (!this.bumpIf("{"))
|
|
3463
3449
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
|
|
3464
|
-
var
|
|
3465
|
-
if (
|
|
3466
|
-
return
|
|
3450
|
+
var v = this.parseMessage(t + 1, r, n);
|
|
3451
|
+
if (v.err)
|
|
3452
|
+
return v;
|
|
3467
3453
|
var g = this.tryParseArgumentClose(b);
|
|
3468
3454
|
if (g.err)
|
|
3469
3455
|
return g;
|
|
3470
3456
|
a.push([
|
|
3471
3457
|
l,
|
|
3472
3458
|
{
|
|
3473
|
-
value:
|
|
3459
|
+
value: v.val,
|
|
3474
3460
|
location: w(b, this.clonePosition())
|
|
3475
3461
|
}
|
|
3476
3462
|
]), c.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
|
|
@@ -3487,7 +3473,7 @@ var Fi = (
|
|
|
3487
3473
|
break;
|
|
3488
3474
|
}
|
|
3489
3475
|
var c = w(i, this.clonePosition());
|
|
3490
|
-
return o ? (s *= n,
|
|
3476
|
+
return o ? (s *= n, Oi(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
|
|
3491
3477
|
}, e.prototype.offset = function() {
|
|
3492
3478
|
return this.position.offset;
|
|
3493
3479
|
}, e.prototype.isEOF = function() {
|
|
@@ -3502,7 +3488,7 @@ var Fi = (
|
|
|
3502
3488
|
var t = this.position.offset;
|
|
3503
3489
|
if (t >= this.message.length)
|
|
3504
3490
|
throw Error("out of bound");
|
|
3505
|
-
var r =
|
|
3491
|
+
var r = Vr(this.message, t);
|
|
3506
3492
|
if (r === void 0)
|
|
3507
3493
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3508
3494
|
return r;
|
|
@@ -3521,7 +3507,7 @@ var Fi = (
|
|
|
3521
3507
|
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);
|
|
3522
3508
|
}
|
|
3523
3509
|
}, e.prototype.bumpIf = function(t) {
|
|
3524
|
-
if (
|
|
3510
|
+
if (or(this.message, t, this.offset())) {
|
|
3525
3511
|
for (var r = 0; r < t.length; r++)
|
|
3526
3512
|
this.bump();
|
|
3527
3513
|
return !0;
|
|
@@ -3543,7 +3529,7 @@ var Fi = (
|
|
|
3543
3529
|
break;
|
|
3544
3530
|
}
|
|
3545
3531
|
}, e.prototype.bumpSpace = function() {
|
|
3546
|
-
for (; !this.isEOF() &&
|
|
3532
|
+
for (; !this.isEOF() && Xr(this.char()); )
|
|
3547
3533
|
this.bump();
|
|
3548
3534
|
}, e.prototype.peek = function() {
|
|
3549
3535
|
if (this.isEOF())
|
|
@@ -3553,38 +3539,38 @@ var Fi = (
|
|
|
3553
3539
|
}, e;
|
|
3554
3540
|
}()
|
|
3555
3541
|
);
|
|
3556
|
-
function
|
|
3542
|
+
function Nt(e) {
|
|
3557
3543
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3558
3544
|
}
|
|
3559
|
-
function
|
|
3560
|
-
return
|
|
3545
|
+
function Ui(e) {
|
|
3546
|
+
return Nt(e) || e === 47;
|
|
3561
3547
|
}
|
|
3562
|
-
function
|
|
3548
|
+
function Fi(e) {
|
|
3563
3549
|
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;
|
|
3564
3550
|
}
|
|
3565
|
-
function
|
|
3551
|
+
function Xr(e) {
|
|
3566
3552
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3567
3553
|
}
|
|
3568
|
-
function
|
|
3554
|
+
function Di(e) {
|
|
3569
3555
|
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;
|
|
3570
3556
|
}
|
|
3571
|
-
function
|
|
3557
|
+
function Rt(e) {
|
|
3572
3558
|
e.forEach(function(t) {
|
|
3573
|
-
if (delete t.location,
|
|
3559
|
+
if (delete t.location, Rr(t) || Ur(t))
|
|
3574
3560
|
for (var r in t.options)
|
|
3575
|
-
delete t.options[r].location,
|
|
3561
|
+
delete t.options[r].location, Rt(t.options[r].value);
|
|
3576
3562
|
else
|
|
3577
|
-
|
|
3563
|
+
Lr(t) && Dr(t.style) || (Mr(t) || Nr(t)) && Ct(t.style) ? delete t.style.location : Fr(t) && Rt(t.children);
|
|
3578
3564
|
});
|
|
3579
3565
|
}
|
|
3580
|
-
function
|
|
3566
|
+
function ki(e, t) {
|
|
3581
3567
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3582
|
-
var r = new
|
|
3568
|
+
var r = new Ri(e, t).parse();
|
|
3583
3569
|
if (r.err) {
|
|
3584
3570
|
var n = SyntaxError(_[r.err.kind]);
|
|
3585
3571
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3586
3572
|
}
|
|
3587
|
-
return t?.captureLocation ||
|
|
3573
|
+
return t?.captureLocation || Rt(r.val), r.val;
|
|
3588
3574
|
}
|
|
3589
3575
|
var Oe;
|
|
3590
3576
|
(function(e) {
|
|
@@ -3602,7 +3588,7 @@ var mt = (
|
|
|
3602
3588
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3603
3589
|
}, t;
|
|
3604
3590
|
}(Error)
|
|
3605
|
-
),
|
|
3591
|
+
), lr = (
|
|
3606
3592
|
/** @class */
|
|
3607
3593
|
function(e) {
|
|
3608
3594
|
ae(t, e);
|
|
@@ -3611,7 +3597,7 @@ var mt = (
|
|
|
3611
3597
|
}
|
|
3612
3598
|
return t;
|
|
3613
3599
|
}(mt)
|
|
3614
|
-
),
|
|
3600
|
+
), Gi = (
|
|
3615
3601
|
/** @class */
|
|
3616
3602
|
function(e) {
|
|
3617
3603
|
ae(t, e);
|
|
@@ -3620,7 +3606,7 @@ var mt = (
|
|
|
3620
3606
|
}
|
|
3621
3607
|
return t;
|
|
3622
3608
|
}(mt)
|
|
3623
|
-
),
|
|
3609
|
+
), $i = (
|
|
3624
3610
|
/** @class */
|
|
3625
3611
|
function(e) {
|
|
3626
3612
|
ae(t, e);
|
|
@@ -3633,17 +3619,17 @@ var mt = (
|
|
|
3633
3619
|
(function(e) {
|
|
3634
3620
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3635
3621
|
})(V || (V = {}));
|
|
3636
|
-
function
|
|
3622
|
+
function ji(e) {
|
|
3637
3623
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3638
3624
|
var n = t[t.length - 1];
|
|
3639
3625
|
return !n || n.type !== V.literal || r.type !== V.literal ? t.push(r) : n.value += r.value, t;
|
|
3640
3626
|
}, []);
|
|
3641
3627
|
}
|
|
3642
|
-
function
|
|
3628
|
+
function Vi(e) {
|
|
3643
3629
|
return typeof e == "function";
|
|
3644
3630
|
}
|
|
3645
3631
|
function at(e, t, r, n, i, o, s) {
|
|
3646
|
-
if (e.length === 1 &&
|
|
3632
|
+
if (e.length === 1 && tr(e[0]))
|
|
3647
3633
|
return [
|
|
3648
3634
|
{
|
|
3649
3635
|
type: V.literal,
|
|
@@ -3652,14 +3638,14 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3652
3638
|
];
|
|
3653
3639
|
for (var a = [], c = 0, l = e; c < l.length; c++) {
|
|
3654
3640
|
var u = l[c];
|
|
3655
|
-
if (
|
|
3641
|
+
if (tr(u)) {
|
|
3656
3642
|
a.push({
|
|
3657
3643
|
type: V.literal,
|
|
3658
3644
|
value: u.value
|
|
3659
3645
|
});
|
|
3660
3646
|
continue;
|
|
3661
3647
|
}
|
|
3662
|
-
if (
|
|
3648
|
+
if (fi(u)) {
|
|
3663
3649
|
typeof o == "number" && a.push({
|
|
3664
3650
|
type: V.literal,
|
|
3665
3651
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3668,44 +3654,44 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3668
3654
|
}
|
|
3669
3655
|
var f = u.value;
|
|
3670
3656
|
if (!(i && f in i))
|
|
3671
|
-
throw new
|
|
3657
|
+
throw new $i(f, s);
|
|
3672
3658
|
var d = i[f];
|
|
3673
|
-
if (
|
|
3659
|
+
if (hi(u)) {
|
|
3674
3660
|
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3675
3661
|
type: typeof d == "string" ? V.literal : V.object,
|
|
3676
3662
|
value: d
|
|
3677
3663
|
});
|
|
3678
3664
|
continue;
|
|
3679
3665
|
}
|
|
3680
|
-
if (
|
|
3681
|
-
var b = typeof u.style == "string" ? n.date[u.style] :
|
|
3666
|
+
if (Mr(u)) {
|
|
3667
|
+
var b = typeof u.style == "string" ? n.date[u.style] : Ct(u.style) ? u.style.parsedOptions : void 0;
|
|
3682
3668
|
a.push({
|
|
3683
3669
|
type: V.literal,
|
|
3684
3670
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3685
3671
|
});
|
|
3686
3672
|
continue;
|
|
3687
3673
|
}
|
|
3688
|
-
if (
|
|
3689
|
-
var b = typeof u.style == "string" ? n.time[u.style] :
|
|
3674
|
+
if (Nr(u)) {
|
|
3675
|
+
var b = typeof u.style == "string" ? n.time[u.style] : Ct(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3690
3676
|
a.push({
|
|
3691
3677
|
type: V.literal,
|
|
3692
3678
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3693
3679
|
});
|
|
3694
3680
|
continue;
|
|
3695
3681
|
}
|
|
3696
|
-
if (
|
|
3697
|
-
var b = typeof u.style == "string" ? n.number[u.style] :
|
|
3682
|
+
if (Lr(u)) {
|
|
3683
|
+
var b = typeof u.style == "string" ? n.number[u.style] : Dr(u.style) ? u.style.parsedOptions : void 0;
|
|
3698
3684
|
b && b.scale && (d = d * (b.scale || 1)), a.push({
|
|
3699
3685
|
type: V.literal,
|
|
3700
3686
|
value: r.getNumberFormat(t, b).format(d)
|
|
3701
3687
|
});
|
|
3702
3688
|
continue;
|
|
3703
3689
|
}
|
|
3704
|
-
if (
|
|
3705
|
-
var
|
|
3706
|
-
if (!
|
|
3707
|
-
throw new
|
|
3708
|
-
var C = at(
|
|
3690
|
+
if (Fr(u)) {
|
|
3691
|
+
var v = u.children, g = u.value, S = i[g];
|
|
3692
|
+
if (!Vi(S))
|
|
3693
|
+
throw new Gi(g, "function", s);
|
|
3694
|
+
var C = at(v, t, r, n, i, o), z = S(C.map(function(A) {
|
|
3709
3695
|
return A.value;
|
|
3710
3696
|
}));
|
|
3711
3697
|
Array.isArray(z) || (z = [z]), a.push.apply(a, z.map(function(A) {
|
|
@@ -3715,14 +3701,14 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3715
3701
|
};
|
|
3716
3702
|
}));
|
|
3717
3703
|
}
|
|
3718
|
-
if (
|
|
3704
|
+
if (Rr(u)) {
|
|
3719
3705
|
var R = u.options[d] || u.options.other;
|
|
3720
3706
|
if (!R)
|
|
3721
|
-
throw new
|
|
3707
|
+
throw new lr(u.value, d, Object.keys(u.options), s);
|
|
3722
3708
|
a.push.apply(a, at(R.value, t, r, n, i));
|
|
3723
3709
|
continue;
|
|
3724
3710
|
}
|
|
3725
|
-
if (
|
|
3711
|
+
if (Ur(u)) {
|
|
3726
3712
|
var R = u.options["=".concat(d)];
|
|
3727
3713
|
if (!R) {
|
|
3728
3714
|
if (!Intl.PluralRules)
|
|
@@ -3733,24 +3719,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3733
3719
|
R = u.options[U] || u.options.other;
|
|
3734
3720
|
}
|
|
3735
3721
|
if (!R)
|
|
3736
|
-
throw new
|
|
3722
|
+
throw new lr(u.value, d, Object.keys(u.options), s);
|
|
3737
3723
|
a.push.apply(a, at(R.value, t, r, n, i, d - (u.offset || 0)));
|
|
3738
3724
|
continue;
|
|
3739
3725
|
}
|
|
3740
3726
|
}
|
|
3741
|
-
return
|
|
3727
|
+
return ji(a);
|
|
3742
3728
|
}
|
|
3743
|
-
function
|
|
3729
|
+
function zi(e, t) {
|
|
3744
3730
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3745
3731
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3746
3732
|
}, {})) : e;
|
|
3747
3733
|
}
|
|
3748
|
-
function
|
|
3734
|
+
function Xi(e, t) {
|
|
3749
3735
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3750
|
-
return r[n] =
|
|
3736
|
+
return r[n] = zi(e[n], t[n]), r;
|
|
3751
3737
|
}, E({}, e)) : e;
|
|
3752
3738
|
}
|
|
3753
|
-
function
|
|
3739
|
+
function Et(e) {
|
|
3754
3740
|
return {
|
|
3755
3741
|
create: function() {
|
|
3756
3742
|
return {
|
|
@@ -3764,39 +3750,39 @@ function xt(e) {
|
|
|
3764
3750
|
}
|
|
3765
3751
|
};
|
|
3766
3752
|
}
|
|
3767
|
-
function
|
|
3753
|
+
function Wi(e) {
|
|
3768
3754
|
return e === void 0 && (e = {
|
|
3769
3755
|
number: {},
|
|
3770
3756
|
dateTime: {},
|
|
3771
3757
|
pluralRules: {}
|
|
3772
3758
|
}), {
|
|
3773
|
-
getNumberFormat:
|
|
3759
|
+
getNumberFormat: vt(function() {
|
|
3774
3760
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3775
3761
|
r[n] = arguments[n];
|
|
3776
3762
|
return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3777
3763
|
}, {
|
|
3778
|
-
cache:
|
|
3779
|
-
strategy:
|
|
3764
|
+
cache: Et(e.number),
|
|
3765
|
+
strategy: _t.variadic
|
|
3780
3766
|
}),
|
|
3781
|
-
getDateTimeFormat:
|
|
3767
|
+
getDateTimeFormat: vt(function() {
|
|
3782
3768
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3783
3769
|
r[n] = arguments[n];
|
|
3784
3770
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3785
3771
|
}, {
|
|
3786
|
-
cache:
|
|
3787
|
-
strategy:
|
|
3772
|
+
cache: Et(e.dateTime),
|
|
3773
|
+
strategy: _t.variadic
|
|
3788
3774
|
}),
|
|
3789
|
-
getPluralRules:
|
|
3775
|
+
getPluralRules: vt(function() {
|
|
3790
3776
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3791
3777
|
r[n] = arguments[n];
|
|
3792
3778
|
return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3793
3779
|
}, {
|
|
3794
|
-
cache:
|
|
3795
|
-
strategy:
|
|
3780
|
+
cache: Et(e.pluralRules),
|
|
3781
|
+
strategy: _t.variadic
|
|
3796
3782
|
})
|
|
3797
3783
|
};
|
|
3798
3784
|
}
|
|
3799
|
-
var
|
|
3785
|
+
var Zi = (
|
|
3800
3786
|
/** @class */
|
|
3801
3787
|
function() {
|
|
3802
3788
|
function e(t, r, n, i) {
|
|
@@ -3828,13 +3814,13 @@ var Ji = (
|
|
|
3828
3814
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3829
3815
|
var s = i || {};
|
|
3830
3816
|
s.formatters;
|
|
3831
|
-
var a =
|
|
3817
|
+
var a = Tn(s, ["formatters"]);
|
|
3832
3818
|
this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
|
|
3833
3819
|
} else
|
|
3834
3820
|
this.ast = t;
|
|
3835
3821
|
if (!Array.isArray(this.ast))
|
|
3836
3822
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3837
|
-
this.formats =
|
|
3823
|
+
this.formats = Xi(e.formats, n), this.formatters = i && i.formatters || Wi(this.formatterCache);
|
|
3838
3824
|
}
|
|
3839
3825
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3840
3826
|
get: function() {
|
|
@@ -3847,7 +3833,7 @@ var Ji = (
|
|
|
3847
3833
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3848
3834
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3849
3835
|
}
|
|
3850
|
-
}, e.__parse =
|
|
3836
|
+
}, e.__parse = ki, e.formats = {
|
|
3851
3837
|
number: {
|
|
3852
3838
|
integer: {
|
|
3853
3839
|
maximumFractionDigits: 0
|
|
@@ -3908,7 +3894,7 @@ var Ji = (
|
|
|
3908
3894
|
}, e;
|
|
3909
3895
|
}()
|
|
3910
3896
|
);
|
|
3911
|
-
function
|
|
3897
|
+
function qi(e, t) {
|
|
3912
3898
|
if (t == null)
|
|
3913
3899
|
return;
|
|
3914
3900
|
if (t in e)
|
|
@@ -3929,92 +3915,92 @@ function Qi(e, t) {
|
|
|
3929
3915
|
n = void 0;
|
|
3930
3916
|
return n;
|
|
3931
3917
|
}
|
|
3932
|
-
const ue = {},
|
|
3918
|
+
const ue = {}, Ji = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), Wr = (e, t) => {
|
|
3933
3919
|
if (t == null)
|
|
3934
3920
|
return;
|
|
3935
3921
|
if (t in ue && e in ue[t])
|
|
3936
3922
|
return ue[t][e];
|
|
3937
3923
|
const r = pt(t);
|
|
3938
3924
|
for (let n = 0; n < r.length; n++) {
|
|
3939
|
-
const i = r[n], o =
|
|
3925
|
+
const i = r[n], o = Yi(i, e);
|
|
3940
3926
|
if (o)
|
|
3941
|
-
return
|
|
3927
|
+
return Ji(e, t, o);
|
|
3942
3928
|
}
|
|
3943
3929
|
};
|
|
3944
|
-
let
|
|
3930
|
+
let Gt;
|
|
3945
3931
|
const Re = dt({});
|
|
3946
|
-
function
|
|
3947
|
-
return
|
|
3932
|
+
function Qi(e) {
|
|
3933
|
+
return Gt[e] || null;
|
|
3948
3934
|
}
|
|
3949
|
-
function
|
|
3950
|
-
return e in
|
|
3935
|
+
function Zr(e) {
|
|
3936
|
+
return e in Gt;
|
|
3951
3937
|
}
|
|
3952
|
-
function
|
|
3953
|
-
if (!
|
|
3938
|
+
function Yi(e, t) {
|
|
3939
|
+
if (!Zr(e))
|
|
3954
3940
|
return null;
|
|
3955
|
-
const r =
|
|
3956
|
-
return
|
|
3941
|
+
const r = Qi(e);
|
|
3942
|
+
return qi(r, t);
|
|
3957
3943
|
}
|
|
3958
|
-
function
|
|
3944
|
+
function Ki(e) {
|
|
3959
3945
|
if (e == null)
|
|
3960
3946
|
return;
|
|
3961
3947
|
const t = pt(e);
|
|
3962
3948
|
for (let r = 0; r < t.length; r++) {
|
|
3963
3949
|
const n = t[r];
|
|
3964
|
-
if (
|
|
3950
|
+
if (Zr(n))
|
|
3965
3951
|
return n;
|
|
3966
3952
|
}
|
|
3967
3953
|
}
|
|
3968
|
-
function
|
|
3969
|
-
delete ue[e], Re.update((r) => (r[e] =
|
|
3954
|
+
function qr(e, ...t) {
|
|
3955
|
+
delete ue[e], Re.update((r) => (r[e] = ni.all([r[e] || {}, ...t]), r));
|
|
3970
3956
|
}
|
|
3971
3957
|
Ne(
|
|
3972
3958
|
[Re],
|
|
3973
3959
|
([e]) => Object.keys(e)
|
|
3974
3960
|
);
|
|
3975
|
-
Re.subscribe((e) =>
|
|
3961
|
+
Re.subscribe((e) => Gt = e);
|
|
3976
3962
|
const lt = {};
|
|
3977
|
-
function
|
|
3963
|
+
function eo(e, t) {
|
|
3978
3964
|
lt[e].delete(t), lt[e].size === 0 && delete lt[e];
|
|
3979
3965
|
}
|
|
3980
|
-
function
|
|
3966
|
+
function Jr(e) {
|
|
3981
3967
|
return lt[e];
|
|
3982
3968
|
}
|
|
3983
|
-
function
|
|
3969
|
+
function to(e) {
|
|
3984
3970
|
return pt(e).map((t) => {
|
|
3985
|
-
const r =
|
|
3971
|
+
const r = Jr(t);
|
|
3986
3972
|
return [t, r ? [...r] : []];
|
|
3987
3973
|
}).filter(([, t]) => t.length > 0);
|
|
3988
3974
|
}
|
|
3989
|
-
function
|
|
3975
|
+
function Ut(e) {
|
|
3990
3976
|
return e == null ? !1 : pt(e).some(
|
|
3991
3977
|
(t) => {
|
|
3992
3978
|
var r;
|
|
3993
|
-
return (r =
|
|
3979
|
+
return (r = Jr(t)) == null ? void 0 : r.size;
|
|
3994
3980
|
}
|
|
3995
3981
|
);
|
|
3996
3982
|
}
|
|
3997
|
-
function
|
|
3983
|
+
function ro(e, t) {
|
|
3998
3984
|
return Promise.all(
|
|
3999
|
-
t.map((n) => (
|
|
4000
|
-
).then((n) =>
|
|
3985
|
+
t.map((n) => (eo(e, n), n().then((i) => i.default || i)))
|
|
3986
|
+
).then((n) => qr(e, ...n));
|
|
4001
3987
|
}
|
|
4002
3988
|
const je = {};
|
|
4003
|
-
function
|
|
4004
|
-
if (!
|
|
3989
|
+
function Qr(e) {
|
|
3990
|
+
if (!Ut(e))
|
|
4005
3991
|
return e in je ? je[e] : Promise.resolve();
|
|
4006
|
-
const t =
|
|
3992
|
+
const t = to(e);
|
|
4007
3993
|
return je[e] = Promise.all(
|
|
4008
3994
|
t.map(
|
|
4009
|
-
([r, n]) =>
|
|
3995
|
+
([r, n]) => ro(r, n)
|
|
4010
3996
|
)
|
|
4011
3997
|
).then(() => {
|
|
4012
|
-
if (
|
|
4013
|
-
return
|
|
3998
|
+
if (Ut(e))
|
|
3999
|
+
return Qr(e);
|
|
4014
4000
|
delete je[e];
|
|
4015
4001
|
}), je[e];
|
|
4016
4002
|
}
|
|
4017
|
-
const
|
|
4003
|
+
const no = {
|
|
4018
4004
|
number: {
|
|
4019
4005
|
scientific: { notation: "scientific" },
|
|
4020
4006
|
engineering: { notation: "engineering" },
|
|
@@ -4043,57 +4029,57 @@ const oo = {
|
|
|
4043
4029
|
timeZoneName: "short"
|
|
4044
4030
|
}
|
|
4045
4031
|
}
|
|
4046
|
-
},
|
|
4032
|
+
}, io = {
|
|
4047
4033
|
fallbackLocale: null,
|
|
4048
4034
|
loadingDelay: 200,
|
|
4049
|
-
formats:
|
|
4035
|
+
formats: no,
|
|
4050
4036
|
warnOnMissingMessages: !0,
|
|
4051
4037
|
handleMissingMessage: void 0,
|
|
4052
4038
|
ignoreTag: !0
|
|
4053
|
-
},
|
|
4039
|
+
}, oo = io;
|
|
4054
4040
|
function Le() {
|
|
4055
|
-
return
|
|
4056
|
-
}
|
|
4057
|
-
const
|
|
4058
|
-
var
|
|
4059
|
-
for (var r in t
|
|
4060
|
-
|
|
4061
|
-
if (
|
|
4062
|
-
for (var r of
|
|
4063
|
-
|
|
4041
|
+
return oo;
|
|
4042
|
+
}
|
|
4043
|
+
const xt = dt(!1);
|
|
4044
|
+
var so = Object.defineProperty, ao = Object.defineProperties, lo = Object.getOwnPropertyDescriptors, ur = Object.getOwnPropertySymbols, uo = Object.prototype.hasOwnProperty, co = Object.prototype.propertyIsEnumerable, cr = (e, t, r) => t in e ? so(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ho = (e, t) => {
|
|
4045
|
+
for (var r in t)
|
|
4046
|
+
uo.call(t, r) && cr(e, r, t[r]);
|
|
4047
|
+
if (ur)
|
|
4048
|
+
for (var r of ur(t))
|
|
4049
|
+
co.call(t, r) && cr(e, r, t[r]);
|
|
4064
4050
|
return e;
|
|
4065
|
-
},
|
|
4066
|
-
let
|
|
4051
|
+
}, fo = (e, t) => ao(e, lo(t));
|
|
4052
|
+
let Ft;
|
|
4067
4053
|
const ct = dt(null);
|
|
4068
|
-
function
|
|
4054
|
+
function hr(e) {
|
|
4069
4055
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4070
4056
|
}
|
|
4071
4057
|
function pt(e, t = Le().fallbackLocale) {
|
|
4072
|
-
const r =
|
|
4073
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4058
|
+
const r = hr(e);
|
|
4059
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...hr(t)])] : r;
|
|
4074
4060
|
}
|
|
4075
|
-
function
|
|
4076
|
-
return
|
|
4061
|
+
function ye() {
|
|
4062
|
+
return Ft ?? void 0;
|
|
4077
4063
|
}
|
|
4078
4064
|
ct.subscribe((e) => {
|
|
4079
|
-
|
|
4065
|
+
Ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4080
4066
|
});
|
|
4081
|
-
const
|
|
4082
|
-
if (e &&
|
|
4067
|
+
const mo = (e) => {
|
|
4068
|
+
if (e && Ki(e) && Ut(e)) {
|
|
4083
4069
|
const { loadingDelay: t } = Le();
|
|
4084
4070
|
let r;
|
|
4085
|
-
return typeof window < "u" &&
|
|
4086
|
-
() =>
|
|
4071
|
+
return typeof window < "u" && ye() != null && t ? r = window.setTimeout(
|
|
4072
|
+
() => xt.set(!0),
|
|
4087
4073
|
t
|
|
4088
|
-
) :
|
|
4074
|
+
) : xt.set(!0), Qr(e).then(() => {
|
|
4089
4075
|
ct.set(e);
|
|
4090
4076
|
}).finally(() => {
|
|
4091
|
-
clearTimeout(r),
|
|
4077
|
+
clearTimeout(r), xt.set(!1);
|
|
4092
4078
|
});
|
|
4093
4079
|
}
|
|
4094
4080
|
return ct.set(e);
|
|
4095
|
-
}, ce =
|
|
4096
|
-
set:
|
|
4081
|
+
}, ce = fo(ho({}, ct), {
|
|
4082
|
+
set: mo
|
|
4097
4083
|
}), gt = (e) => {
|
|
4098
4084
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4099
4085
|
return (n) => {
|
|
@@ -4101,20 +4087,20 @@ const go = (e) => {
|
|
|
4101
4087
|
return i in t ? t[i] : t[i] = e(n);
|
|
4102
4088
|
};
|
|
4103
4089
|
};
|
|
4104
|
-
var
|
|
4090
|
+
var po = Object.defineProperty, ht = Object.getOwnPropertySymbols, Yr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $t = (e, t) => {
|
|
4105
4091
|
for (var r in t || (t = {}))
|
|
4106
|
-
|
|
4092
|
+
Yr.call(t, r) && fr(e, r, t[r]);
|
|
4107
4093
|
if (ht)
|
|
4108
4094
|
for (var r of ht(t))
|
|
4109
|
-
|
|
4095
|
+
Kr.call(t, r) && fr(e, r, t[r]);
|
|
4110
4096
|
return e;
|
|
4111
4097
|
}, Ue = (e, t) => {
|
|
4112
4098
|
var r = {};
|
|
4113
4099
|
for (var n in e)
|
|
4114
|
-
|
|
4100
|
+
Yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4115
4101
|
if (e != null && ht)
|
|
4116
4102
|
for (var n of ht(e))
|
|
4117
|
-
t.indexOf(n) < 0 &&
|
|
4103
|
+
t.indexOf(n) < 0 && Kr.call(e, n) && (r[n] = e[n]);
|
|
4118
4104
|
return r;
|
|
4119
4105
|
};
|
|
4120
4106
|
const We = (e, t) => {
|
|
@@ -4122,21 +4108,21 @@ const We = (e, t) => {
|
|
|
4122
4108
|
if (e in r && t in r[e])
|
|
4123
4109
|
return r[e][t];
|
|
4124
4110
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4125
|
-
},
|
|
4111
|
+
}, go = gt(
|
|
4126
4112
|
(e) => {
|
|
4127
4113
|
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4128
4114
|
if (r == null)
|
|
4129
4115
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4130
4116
|
return n && (i = We("number", n)), new Intl.NumberFormat(r, i);
|
|
4131
4117
|
}
|
|
4132
|
-
),
|
|
4118
|
+
), bo = gt(
|
|
4133
4119
|
(e) => {
|
|
4134
4120
|
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4135
4121
|
if (r == null)
|
|
4136
4122
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4137
4123
|
return n ? i = We("date", n) : Object.keys(i).length === 0 && (i = We("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4138
4124
|
}
|
|
4139
|
-
),
|
|
4125
|
+
), yo = gt(
|
|
4140
4126
|
(e) => {
|
|
4141
4127
|
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4142
4128
|
if (r == null)
|
|
@@ -4145,46 +4131,46 @@ const We = (e, t) => {
|
|
|
4145
4131
|
);
|
|
4146
4132
|
return n ? i = We("time", n) : Object.keys(i).length === 0 && (i = We("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4147
4133
|
}
|
|
4148
|
-
),
|
|
4134
|
+
), vo = (e = {}) => {
|
|
4149
4135
|
var t = e, {
|
|
4150
|
-
locale: r =
|
|
4136
|
+
locale: r = ye()
|
|
4151
4137
|
} = t, n = Ue(t, [
|
|
4152
4138
|
"locale"
|
|
4153
4139
|
]);
|
|
4154
|
-
return
|
|
4155
|
-
},
|
|
4140
|
+
return go($t({ locale: r }, n));
|
|
4141
|
+
}, _o = (e = {}) => {
|
|
4156
4142
|
var t = e, {
|
|
4157
|
-
locale: r =
|
|
4143
|
+
locale: r = ye()
|
|
4158
4144
|
} = t, n = Ue(t, [
|
|
4159
4145
|
"locale"
|
|
4160
4146
|
]);
|
|
4161
|
-
return
|
|
4162
|
-
},
|
|
4147
|
+
return bo($t({ locale: r }, n));
|
|
4148
|
+
}, wo = (e = {}) => {
|
|
4163
4149
|
var t = e, {
|
|
4164
|
-
locale: r =
|
|
4150
|
+
locale: r = ye()
|
|
4165
4151
|
} = t, n = Ue(t, [
|
|
4166
4152
|
"locale"
|
|
4167
4153
|
]);
|
|
4168
|
-
return
|
|
4169
|
-
},
|
|
4154
|
+
return yo($t({ locale: r }, n));
|
|
4155
|
+
}, Eo = gt(
|
|
4170
4156
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4171
|
-
(e, t =
|
|
4157
|
+
(e, t = ye()) => new Zi(e, t, Le().formats, {
|
|
4172
4158
|
ignoreTag: Le().ignoreTag
|
|
4173
4159
|
})
|
|
4174
|
-
),
|
|
4160
|
+
), xo = (e, t = {}) => {
|
|
4175
4161
|
var r, n, i, o;
|
|
4176
4162
|
let s = t;
|
|
4177
4163
|
typeof e == "object" && (s = e, e = s.id);
|
|
4178
4164
|
const {
|
|
4179
4165
|
values: a,
|
|
4180
|
-
locale: c =
|
|
4166
|
+
locale: c = ye(),
|
|
4181
4167
|
default: l
|
|
4182
4168
|
} = s;
|
|
4183
4169
|
if (c == null)
|
|
4184
4170
|
throw new Error(
|
|
4185
4171
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4186
4172
|
);
|
|
4187
|
-
let u =
|
|
4173
|
+
let u = Wr(e, c);
|
|
4188
4174
|
if (!u)
|
|
4189
4175
|
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;
|
|
4190
4176
|
else if (typeof u != "string")
|
|
@@ -4195,7 +4181,7 @@ const We = (e, t) => {
|
|
|
4195
4181
|
return u;
|
|
4196
4182
|
let f = u;
|
|
4197
4183
|
try {
|
|
4198
|
-
f =
|
|
4184
|
+
f = Eo(u, c).format(a);
|
|
4199
4185
|
} catch (d) {
|
|
4200
4186
|
d instanceof Error && console.warn(
|
|
4201
4187
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4203,25 +4189,25 @@ const We = (e, t) => {
|
|
|
4203
4189
|
);
|
|
4204
4190
|
}
|
|
4205
4191
|
return f;
|
|
4206
|
-
},
|
|
4192
|
+
}, So = (e, t) => wo(t).format(e), Po = (e, t) => _o(t).format(e), To = (e, t) => vo(t).format(e), Ho = (e, t = ye()) => Wr(e, t), Bo = Ne([ce, Re], () => xo);
|
|
4193
|
+
Ne([ce], () => So);
|
|
4194
|
+
Ne([ce], () => Po);
|
|
4207
4195
|
Ne([ce], () => To);
|
|
4208
|
-
Ne([ce], () => Ho);
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
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 }) {
|
|
4196
|
+
Ne([ce, Re], () => Ho);
|
|
4197
|
+
window.emWidgets = { topic: kn };
|
|
4198
|
+
const Ao = (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));
|
|
4199
|
+
function Io({ withLocale: e, translations: t }) {
|
|
4214
4200
|
ce.subscribe((r) => {
|
|
4215
4201
|
r == null && (Re.set(t), ce.set(e));
|
|
4216
4202
|
});
|
|
4217
4203
|
}
|
|
4218
|
-
function
|
|
4219
|
-
|
|
4204
|
+
function dr(e, t) {
|
|
4205
|
+
qr(e, t);
|
|
4220
4206
|
}
|
|
4221
|
-
function
|
|
4207
|
+
function Co(e) {
|
|
4222
4208
|
ce.set(e);
|
|
4223
4209
|
}
|
|
4224
|
-
const
|
|
4210
|
+
const mr = {
|
|
4225
4211
|
en: {
|
|
4226
4212
|
loginTitle: "Welcome",
|
|
4227
4213
|
loginSubtitle: "Don't have an account yet?",
|
|
@@ -4366,13 +4352,13 @@ const gr = {
|
|
|
4366
4352
|
successMessage: "Login successful"
|
|
4367
4353
|
}
|
|
4368
4354
|
};
|
|
4369
|
-
function
|
|
4355
|
+
function Oo(e, t) {
|
|
4370
4356
|
if (e) {
|
|
4371
4357
|
const r = document.createElement("style");
|
|
4372
4358
|
r.innerHTML = t, e.appendChild(r);
|
|
4373
4359
|
}
|
|
4374
4360
|
}
|
|
4375
|
-
function
|
|
4361
|
+
function Lo(e, t) {
|
|
4376
4362
|
const r = new URL(t);
|
|
4377
4363
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4378
4364
|
const i = document.createElement("style");
|
|
@@ -4381,7 +4367,7 @@ function No(e, t) {
|
|
|
4381
4367
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4382
4368
|
});
|
|
4383
4369
|
}
|
|
4384
|
-
function
|
|
4370
|
+
function Mo(e, t, r) {
|
|
4385
4371
|
if (window.emMessageBus) {
|
|
4386
4372
|
const n = document.createElement("style");
|
|
4387
4373
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4401,18 +4387,18 @@ if (typeof window < "u") {
|
|
|
4401
4387
|
}
|
|
4402
4388
|
};
|
|
4403
4389
|
};
|
|
4404
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4390
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-9nSotkvC.js").then(({ default: t }) => {
|
|
4405
4391
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4406
4392
|
});
|
|
4407
4393
|
}
|
|
4408
|
-
function
|
|
4409
|
-
|
|
4394
|
+
function No(e) {
|
|
4395
|
+
on(e, "svelte-7c22cn", '.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, 10px);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)}}');
|
|
4410
4396
|
}
|
|
4411
|
-
function
|
|
4397
|
+
function pr(e) {
|
|
4412
4398
|
let t, r;
|
|
4413
4399
|
return {
|
|
4414
4400
|
c() {
|
|
4415
|
-
t = x("script"),
|
|
4401
|
+
t = x("script"), zt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4416
4402
|
e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
|
|
4417
4403
|
},
|
|
4418
4404
|
m(n, i) {
|
|
@@ -4420,7 +4406,7 @@ function br(e) {
|
|
|
4420
4406
|
},
|
|
4421
4407
|
p(n, i) {
|
|
4422
4408
|
i[0] & /*captchakey*/
|
|
4423
|
-
2 && !
|
|
4409
|
+
2 && !zt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4424
4410
|
n[1]) && h(t, "src", r);
|
|
4425
4411
|
},
|
|
4426
4412
|
d(n) {
|
|
@@ -4428,12 +4414,12 @@ function br(e) {
|
|
|
4428
4414
|
}
|
|
4429
4415
|
};
|
|
4430
4416
|
}
|
|
4431
|
-
function
|
|
4417
|
+
function Ro(e) {
|
|
4432
4418
|
let t, r, n;
|
|
4433
4419
|
function i(a, c) {
|
|
4434
4420
|
return (
|
|
4435
4421
|
/*startSmsValidation*/
|
|
4436
|
-
a[21] ?
|
|
4422
|
+
a[21] ? Do : Fo
|
|
4437
4423
|
);
|
|
4438
4424
|
}
|
|
4439
4425
|
let o = i(e), s = o(e);
|
|
@@ -4455,7 +4441,7 @@ function Fo(e) {
|
|
|
4455
4441
|
}
|
|
4456
4442
|
};
|
|
4457
4443
|
}
|
|
4458
|
-
function
|
|
4444
|
+
function Uo(e) {
|
|
4459
4445
|
let t;
|
|
4460
4446
|
return {
|
|
4461
4447
|
c() {
|
|
@@ -4470,7 +4456,7 @@ function Do(e) {
|
|
|
4470
4456
|
}
|
|
4471
4457
|
};
|
|
4472
4458
|
}
|
|
4473
|
-
function
|
|
4459
|
+
function Fo(e) {
|
|
4474
4460
|
let t, r, n = (
|
|
4475
4461
|
/*$_*/
|
|
4476
4462
|
e[22]("loginTitle") + ""
|
|
@@ -4480,13 +4466,13 @@ function ko(e) {
|
|
|
4480
4466
|
), c, l, u, f = (
|
|
4481
4467
|
/*$_*/
|
|
4482
4468
|
e[22]("loginSubtitleRegister") + ""
|
|
4483
|
-
), d, b,
|
|
4469
|
+
), d, b, v, g, S, C, z = (
|
|
4484
4470
|
/*$_*/
|
|
4485
4471
|
e[22]("loginUsername") + ""
|
|
4486
4472
|
), R, U, A, re, H, ie, he, J, le, B, ne, X = (
|
|
4487
4473
|
/*$_*/
|
|
4488
4474
|
e[22]("loginPassword") + ""
|
|
4489
|
-
), Fe, Ze, fe, de, M,
|
|
4475
|
+
), Fe, Ze, fe, de, M, ve, qe, _e, we, me, De, Ee, Q, pe = (
|
|
4490
4476
|
/*$_*/
|
|
4491
4477
|
e[22]("loginButton") + ""
|
|
4492
4478
|
), xe, Je, ge, be = (
|
|
@@ -4494,37 +4480,37 @@ function ko(e) {
|
|
|
4494
4480
|
e[22]("loginForgotPassword") + ""
|
|
4495
4481
|
), ke, Ge, Qe, F = (
|
|
4496
4482
|
/*invalidName*/
|
|
4497
|
-
e[14] &&
|
|
4483
|
+
e[14] && gr(e)
|
|
4498
4484
|
);
|
|
4499
|
-
function Ye(
|
|
4485
|
+
function Ye(y, P) {
|
|
4500
4486
|
return (
|
|
4501
4487
|
/*isPasswordVisible*/
|
|
4502
|
-
|
|
4488
|
+
y[19] ? Go : ko
|
|
4503
4489
|
);
|
|
4504
4490
|
}
|
|
4505
4491
|
let Se = Ye(e), Y = Se(e), D = (
|
|
4506
4492
|
/*invalidPassword*/
|
|
4507
4493
|
e[15] && /*simplepasswordvalidation*/
|
|
4508
|
-
e[2] !== "true" &&
|
|
4494
|
+
e[2] !== "true" && br(e)
|
|
4509
4495
|
), k = (
|
|
4510
4496
|
/*invalidPassword*/
|
|
4511
4497
|
e[15] && /*simplepasswordvalidation*/
|
|
4512
|
-
e[2] === "true" &&
|
|
4498
|
+
e[2] === "true" && yr(e)
|
|
4513
4499
|
), G = (
|
|
4514
4500
|
/*errorMessage*/
|
|
4515
|
-
e[16] &&
|
|
4501
|
+
e[16] && vr(e)
|
|
4516
4502
|
);
|
|
4517
4503
|
return {
|
|
4518
4504
|
c() {
|
|
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(),
|
|
4505
|
+
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(), v = 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*/
|
|
4520
4506
|
e[6] ? "username email" : "off"), H.required = !0, h(S, "class", J = "UserContainer " + /*invalidName*/
|
|
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",
|
|
4507
|
+
(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", ve = /*savecredentials*/
|
|
4522
4508
|
e[6] ? "current-password" : "off"), h(M, "aria-describedby", "password-constraints"), M.required = !0, h(B, "class", me = "PasswordContainer " + /*invalidPassword*/
|
|
4523
4509
|
(e[15] ? "InvalidField" : "")), h(Q, "class", "SignInButton"), Q.disabled = /*isFormDataInvalid*/
|
|
4524
|
-
e[20], h(Q, "id", "signin-button"), h(ge, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(
|
|
4510
|
+
e[20], h(Q, "id", "signin-button"), h(ge, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(v, "class", "FormContent");
|
|
4525
4511
|
},
|
|
4526
|
-
m(
|
|
4527
|
-
L(
|
|
4512
|
+
m(y, P) {
|
|
4513
|
+
L(y, 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(y, b, P), L(y, v, P), m(v, g), m(g, S), m(S, C), m(C, R), m(C, U), m(C, A), m(S, re), m(S, H), rt(
|
|
4528
4514
|
H,
|
|
4529
4515
|
/*userValue*/
|
|
4530
4516
|
e[12]
|
|
@@ -4577,57 +4563,57 @@ function ko(e) {
|
|
|
4577
4563
|
)
|
|
4578
4564
|
], Ge = !0);
|
|
4579
4565
|
},
|
|
4580
|
-
p(
|
|
4566
|
+
p(y, P) {
|
|
4581
4567
|
P[0] & /*$_*/
|
|
4582
4568
|
4194304 && n !== (n = /*$_*/
|
|
4583
|
-
|
|
4569
|
+
y[22]("loginTitle") + "") && te(i, n), P[0] & /*$_*/
|
|
4584
4570
|
4194304 && a !== (a = /*$_*/
|
|
4585
|
-
|
|
4571
|
+
y[22]("loginSubtitle") + "") && te(c, a), P[0] & /*$_*/
|
|
4586
4572
|
4194304 && f !== (f = /*$_*/
|
|
4587
|
-
|
|
4573
|
+
y[22]("loginSubtitleRegister") + "") && te(d, f), P[0] & /*$_*/
|
|
4588
4574
|
4194304 && z !== (z = /*$_*/
|
|
4589
|
-
|
|
4575
|
+
y[22]("loginUsername") + "") && te(R, z), P[0] & /*savecredentials*/
|
|
4590
4576
|
64 && ie !== (ie = /*savecredentials*/
|
|
4591
|
-
|
|
4577
|
+
y[6] ? "username email" : "off") && h(H, "autocomplete", ie), P[0] & /*userValue*/
|
|
4592
4578
|
4096 && H.value !== /*userValue*/
|
|
4593
|
-
|
|
4579
|
+
y[12] && rt(
|
|
4594
4580
|
H,
|
|
4595
4581
|
/*userValue*/
|
|
4596
|
-
|
|
4582
|
+
y[12]
|
|
4597
4583
|
), /*invalidName*/
|
|
4598
|
-
|
|
4584
|
+
y[14] ? F ? F.p(y, P) : (F = gr(y), F.c(), F.m(S, null)) : F && (F.d(1), F = null), P[0] & /*invalidName*/
|
|
4599
4585
|
16384 && J !== (J = "UserContainer " + /*invalidName*/
|
|
4600
|
-
(
|
|
4586
|
+
(y[14] ? "InvalidField" : "")) && h(S, "class", J), P[0] & /*$_*/
|
|
4601
4587
|
4194304 && X !== (X = /*$_*/
|
|
4602
|
-
|
|
4603
|
-
64 &&
|
|
4604
|
-
|
|
4588
|
+
y[22]("loginPassword") + "") && te(Fe, X), P[0] & /*savecredentials*/
|
|
4589
|
+
64 && ve !== (ve = /*savecredentials*/
|
|
4590
|
+
y[6] ? "current-password" : "off") && h(M, "autocomplete", ve), P[0] & /*userPassword*/
|
|
4605
4591
|
8192 && M.value !== /*userPassword*/
|
|
4606
|
-
|
|
4592
|
+
y[13] && rt(
|
|
4607
4593
|
M,
|
|
4608
4594
|
/*userPassword*/
|
|
4609
|
-
|
|
4610
|
-
), Se === (Se = Ye(
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4595
|
+
y[13]
|
|
4596
|
+
), Se === (Se = Ye(y)) && Y ? Y.p(y, P) : (Y.d(1), Y = Se(y), Y && (Y.c(), Y.m(B, _e))), /*invalidPassword*/
|
|
4597
|
+
y[15] && /*simplepasswordvalidation*/
|
|
4598
|
+
y[2] !== "true" ? D ? D.p(y, P) : (D = br(y), D.c(), D.m(B, we)) : D && (D.d(1), D = null), /*invalidPassword*/
|
|
4599
|
+
y[15] && /*simplepasswordvalidation*/
|
|
4600
|
+
y[2] === "true" ? k ? k.p(y, P) : (k = yr(y), k.c(), k.m(B, null)) : k && (k.d(1), k = null), P[0] & /*invalidPassword*/
|
|
4615
4601
|
32768 && me !== (me = "PasswordContainer " + /*invalidPassword*/
|
|
4616
|
-
(
|
|
4617
|
-
|
|
4602
|
+
(y[15] ? "InvalidField" : "")) && h(B, "class", me), /*errorMessage*/
|
|
4603
|
+
y[16] ? G ? G.p(y, P) : (G = vr(y), G.c(), G.m(g, Ee)) : G && (G.d(1), G = null), P[0] & /*$_*/
|
|
4618
4604
|
4194304 && pe !== (pe = /*$_*/
|
|
4619
|
-
|
|
4605
|
+
y[22]("loginButton") + "") && te(xe, pe), P[0] & /*isFormDataInvalid*/
|
|
4620
4606
|
1048576 && (Q.disabled = /*isFormDataInvalid*/
|
|
4621
|
-
|
|
4607
|
+
y[20]), P[0] & /*$_*/
|
|
4622
4608
|
4194304 && be !== (be = /*$_*/
|
|
4623
|
-
|
|
4609
|
+
y[22]("loginForgotPassword") + "") && te(ke, be);
|
|
4624
4610
|
},
|
|
4625
|
-
d(
|
|
4626
|
-
|
|
4611
|
+
d(y) {
|
|
4612
|
+
y && (I(t), I(b), I(v)), F && F.d(), e[36](null), Y.d(), D && D.d(), k && k.d(), G && G.d(), Ge = !1, Me(Qe);
|
|
4627
4613
|
}
|
|
4628
4614
|
};
|
|
4629
4615
|
}
|
|
4630
|
-
function
|
|
4616
|
+
function Do(e) {
|
|
4631
4617
|
let t;
|
|
4632
4618
|
return {
|
|
4633
4619
|
c() {
|
|
@@ -4721,7 +4707,7 @@ function Go(e) {
|
|
|
4721
4707
|
}
|
|
4722
4708
|
};
|
|
4723
4709
|
}
|
|
4724
|
-
function
|
|
4710
|
+
function gr(e) {
|
|
4725
4711
|
let t, r = (
|
|
4726
4712
|
/*$_*/
|
|
4727
4713
|
e[22]("loginUsernameError") + ""
|
|
@@ -4743,7 +4729,7 @@ function vr(e) {
|
|
|
4743
4729
|
}
|
|
4744
4730
|
};
|
|
4745
4731
|
}
|
|
4746
|
-
function
|
|
4732
|
+
function ko(e) {
|
|
4747
4733
|
let t, r, n, i, o, s, a, c, l;
|
|
4748
4734
|
return {
|
|
4749
4735
|
c() {
|
|
@@ -4763,27 +4749,27 @@ function $o(e) {
|
|
|
4763
4749
|
}
|
|
4764
4750
|
};
|
|
4765
4751
|
}
|
|
4766
|
-
function
|
|
4767
|
-
let t, r, n, i, o, s, a, c, l, u, f, d, b,
|
|
4752
|
+
function Go(e) {
|
|
4753
|
+
let t, r, n, i, o, s, a, c, l, u, f, d, b, v, g;
|
|
4768
4754
|
return {
|
|
4769
4755
|
c() {
|
|
4770
4756
|
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");
|
|
4771
4757
|
},
|
|
4772
4758
|
m(S, 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),
|
|
4759
|
+
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), v || (g = oe(
|
|
4774
4760
|
t,
|
|
4775
4761
|
"click",
|
|
4776
4762
|
/*click_handler_1*/
|
|
4777
4763
|
e[37]
|
|
4778
|
-
),
|
|
4764
|
+
), v = !0);
|
|
4779
4765
|
},
|
|
4780
4766
|
p: Z,
|
|
4781
4767
|
d(S) {
|
|
4782
|
-
S && I(t),
|
|
4768
|
+
S && I(t), v = !1, g();
|
|
4783
4769
|
}
|
|
4784
4770
|
};
|
|
4785
4771
|
}
|
|
4786
|
-
function
|
|
4772
|
+
function br(e) {
|
|
4787
4773
|
let t, r = (
|
|
4788
4774
|
/*$_*/
|
|
4789
4775
|
e[22]("loginPasswordError") + ""
|
|
@@ -4805,7 +4791,7 @@ function yr(e) {
|
|
|
4805
4791
|
}
|
|
4806
4792
|
};
|
|
4807
4793
|
}
|
|
4808
|
-
function
|
|
4794
|
+
function yr(e) {
|
|
4809
4795
|
let t, r = (
|
|
4810
4796
|
/*$_*/
|
|
4811
4797
|
e[22]("loginSimplePasswordError") + ""
|
|
@@ -4827,7 +4813,7 @@ function _r(e) {
|
|
|
4827
4813
|
}
|
|
4828
4814
|
};
|
|
4829
4815
|
}
|
|
4830
|
-
function
|
|
4816
|
+
function vr(e) {
|
|
4831
4817
|
let t, r;
|
|
4832
4818
|
return {
|
|
4833
4819
|
c() {
|
|
@@ -4852,21 +4838,21 @@ function wr(e) {
|
|
|
4852
4838
|
}
|
|
4853
4839
|
};
|
|
4854
4840
|
}
|
|
4855
|
-
function
|
|
4841
|
+
function $o(e) {
|
|
4856
4842
|
let t, r, n, i, o, s = (
|
|
4857
4843
|
/*captchakey*/
|
|
4858
|
-
e[1] &&
|
|
4844
|
+
e[1] && pr(e)
|
|
4859
4845
|
);
|
|
4860
4846
|
function a(u, f) {
|
|
4861
4847
|
return (
|
|
4862
4848
|
/*isLoading*/
|
|
4863
|
-
u[17] ?
|
|
4849
|
+
u[17] ? Uo : Ro
|
|
4864
4850
|
);
|
|
4865
4851
|
}
|
|
4866
4852
|
let c = a(e), l = c(e);
|
|
4867
4853
|
return {
|
|
4868
4854
|
c() {
|
|
4869
|
-
s && s.c(), t =
|
|
4855
|
+
s && s.c(), t = ln(), r = j(), n = x("div"), i = j(), o = x("div"), l.c(), h(n, "class", "g-recaptcha"), h(
|
|
4870
4856
|
n,
|
|
4871
4857
|
"data-sitekey",
|
|
4872
4858
|
/*captchakey*/
|
|
@@ -4878,7 +4864,7 @@ function Vo(e) {
|
|
|
4878
4864
|
},
|
|
4879
4865
|
p(u, f) {
|
|
4880
4866
|
/*captchakey*/
|
|
4881
|
-
u[1] ? s ? s.p(u, f) : (s =
|
|
4867
|
+
u[1] ? s ? s.p(u, f) : (s = pr(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
|
|
4882
4868
|
2 && h(
|
|
4883
4869
|
n,
|
|
4884
4870
|
"data-sitekey",
|
|
@@ -4893,29 +4879,29 @@ function Vo(e) {
|
|
|
4893
4879
|
}
|
|
4894
4880
|
};
|
|
4895
4881
|
}
|
|
4896
|
-
let
|
|
4897
|
-
function
|
|
4882
|
+
let jo = "Please use this code {0} to activate your account";
|
|
4883
|
+
function Vo(e, t, r) {
|
|
4898
4884
|
let n;
|
|
4899
|
-
|
|
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,
|
|
4885
|
+
nn(e, Bo, (p) => r(22, n = p));
|
|
4886
|
+
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, v, 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 = {
|
|
4901
4887
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4902
4888
|
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,
|
|
4903
4889
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
4904
4890
|
};
|
|
4905
|
-
|
|
4891
|
+
Io({ withLocale: "en", translations: {} });
|
|
4906
4892
|
const M = () => {
|
|
4907
4893
|
fetch(d).then((q) => q.json()).then((q) => {
|
|
4908
4894
|
Object.keys(q).forEach((ee) => {
|
|
4909
|
-
|
|
4895
|
+
dr(ee, q[ee]);
|
|
4910
4896
|
});
|
|
4911
4897
|
}).catch((q) => {
|
|
4912
4898
|
console.log(q);
|
|
4913
4899
|
});
|
|
4914
4900
|
};
|
|
4915
|
-
Object.keys(
|
|
4916
|
-
|
|
4901
|
+
Object.keys(mr).forEach((p) => {
|
|
4902
|
+
dr(p, mr[p]);
|
|
4917
4903
|
});
|
|
4918
|
-
const
|
|
4904
|
+
const ve = () => new Promise((p, q) => {
|
|
4919
4905
|
grecaptcha.ready(() => {
|
|
4920
4906
|
grecaptcha.execute(o, { action: "submit" }).then((ee) => {
|
|
4921
4907
|
p(ee);
|
|
@@ -4934,7 +4920,7 @@ function Xo(e, t, r) {
|
|
|
4934
4920
|
}, Ee = (p) => {
|
|
4935
4921
|
p.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
|
|
4936
4922
|
}, Q = (p) => {
|
|
4937
|
-
p?.preventDefault(),
|
|
4923
|
+
p?.preventDefault(), ve().then((q) => {
|
|
4938
4924
|
pe(U) && xe(A) && (re = {
|
|
4939
4925
|
username: U,
|
|
4940
4926
|
password: A,
|
|
@@ -4966,12 +4952,12 @@ function Xo(e, t, r) {
|
|
|
4966
4952
|
let Ke = {
|
|
4967
4953
|
"Content-Type": "application/json",
|
|
4968
4954
|
"g-recaptcha-response": ee
|
|
4969
|
-
}, et = { username: p, password: q },
|
|
4955
|
+
}, et = { username: p, password: q }, tn = {
|
|
4970
4956
|
method: "POST",
|
|
4971
4957
|
headers: Ke,
|
|
4972
4958
|
body: JSON.stringify(et)
|
|
4973
4959
|
};
|
|
4974
|
-
fetch(`${i}/v1/player/login/player`,
|
|
4960
|
+
fetch(`${i}/v1/player/login/player`, tn).then(($) => ($.status >= 500 && (r(16, he = "Server might not be responsing"), r(17, J = !1), window.postMessage(
|
|
4975
4961
|
{
|
|
4976
4962
|
type: "WidgetNotification",
|
|
4977
4963
|
data: {
|
|
@@ -4981,7 +4967,7 @@ function Xo(e, t, r) {
|
|
|
4981
4967
|
},
|
|
4982
4968
|
window.location.href
|
|
4983
4969
|
)), $.json())).then(($) => {
|
|
4984
|
-
if ($.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && $.code === 4 && (r(8,
|
|
4970
|
+
if ($.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && $.code === 4 && (r(8, v = $.detail.userId), r(10, C = $.detail.phonePrefix + $.detail.phone), r(21, fe = !0), Qe(C, v), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: v, number: C }))), $.sessionID) {
|
|
4985
4971
|
if (window.postMessage(
|
|
4986
4972
|
{
|
|
4987
4973
|
type: "UserSessionID",
|
|
@@ -5017,11 +5003,11 @@ function Xo(e, t, r) {
|
|
|
5017
5003
|
window.location.href
|
|
5018
5004
|
);
|
|
5019
5005
|
} catch {
|
|
5020
|
-
let
|
|
5021
|
-
r(16, he =
|
|
5006
|
+
let jt = $.error.substring($.error.indexOf("errorMessage") + 13, $.error.length);
|
|
5007
|
+
r(16, he = jt), r(17, J = !1), window.postMessage(
|
|
5022
5008
|
{
|
|
5023
5009
|
type: "WidgetNotification",
|
|
5024
|
-
data: { type: "error", message:
|
|
5010
|
+
data: { type: "error", message: jt }
|
|
5025
5011
|
},
|
|
5026
5012
|
window.location.href
|
|
5027
5013
|
);
|
|
@@ -5038,7 +5024,7 @@ function Xo(e, t, r) {
|
|
|
5038
5024
|
},
|
|
5039
5025
|
body: JSON.stringify({
|
|
5040
5026
|
userId: q,
|
|
5041
|
-
messageTemplate:
|
|
5027
|
+
messageTemplate: jo,
|
|
5042
5028
|
destination: p
|
|
5043
5029
|
})
|
|
5044
5030
|
}), Ke = await ee.json();
|
|
@@ -5052,9 +5038,9 @@ function Xo(e, t, r) {
|
|
|
5052
5038
|
S = !0, console.error(ee);
|
|
5053
5039
|
}
|
|
5054
5040
|
}, F = () => {
|
|
5055
|
-
|
|
5041
|
+
Co(s);
|
|
5056
5042
|
};
|
|
5057
|
-
|
|
5043
|
+
fn(() => (window.addEventListener("message", be, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Ao(R)), () => {
|
|
5058
5044
|
window.removeEventListener("message", be);
|
|
5059
5045
|
}));
|
|
5060
5046
|
const Ye = () => De();
|
|
@@ -5069,8 +5055,8 @@ function Xo(e, t, r) {
|
|
|
5069
5055
|
le = p, r(18, le);
|
|
5070
5056
|
});
|
|
5071
5057
|
}
|
|
5072
|
-
const k = () => we(), G = () => _e(),
|
|
5073
|
-
function
|
|
5058
|
+
const k = () => we(), G = () => _e(), y = (p) => Q(p), P = (p) => Ee(p);
|
|
5059
|
+
function en(p) {
|
|
5074
5060
|
ut[p ? "unshift" : "push"](() => {
|
|
5075
5061
|
X = p, r(7, X);
|
|
5076
5062
|
});
|
|
@@ -5081,9 +5067,9 @@ function Xo(e, t, r) {
|
|
|
5081
5067
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
5082
5068
|
1073741825 && i && s && F(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5083
5069
|
4 && c && qe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5084
|
-
144 && u && X &&
|
|
5085
|
-
160 && f && X &&
|
|
5086
|
-
136 && l && X &&
|
|
5070
|
+
144 && u && X && Oo(X, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5071
|
+
160 && f && X && Lo(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5072
|
+
136 && l && X && Mo(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
5087
5073
|
2 && d && M();
|
|
5088
5074
|
}, [
|
|
5089
5075
|
i,
|
|
@@ -5094,7 +5080,7 @@ function Xo(e, t, r) {
|
|
|
5094
5080
|
f,
|
|
5095
5081
|
b,
|
|
5096
5082
|
X,
|
|
5097
|
-
|
|
5083
|
+
v,
|
|
5098
5084
|
g,
|
|
5099
5085
|
C,
|
|
5100
5086
|
z,
|
|
@@ -5125,19 +5111,19 @@ function Xo(e, t, r) {
|
|
|
5125
5111
|
D,
|
|
5126
5112
|
k,
|
|
5127
5113
|
G,
|
|
5128
|
-
|
|
5114
|
+
y,
|
|
5129
5115
|
P,
|
|
5130
|
-
|
|
5116
|
+
en
|
|
5131
5117
|
];
|
|
5132
5118
|
}
|
|
5133
|
-
class
|
|
5119
|
+
class zo extends Sn {
|
|
5134
5120
|
constructor(t) {
|
|
5135
|
-
super(),
|
|
5121
|
+
super(), En(
|
|
5136
5122
|
this,
|
|
5137
5123
|
t,
|
|
5138
|
-
Xo,
|
|
5139
5124
|
Vo,
|
|
5140
|
-
|
|
5125
|
+
$o,
|
|
5126
|
+
wr,
|
|
5141
5127
|
{
|
|
5142
5128
|
endpoint: 0,
|
|
5143
5129
|
captchakey: 1,
|
|
@@ -5150,7 +5136,7 @@ class Wo extends Hn {
|
|
|
5150
5136
|
translationurl: 32,
|
|
5151
5137
|
savecredentials: 6
|
|
5152
5138
|
},
|
|
5153
|
-
|
|
5139
|
+
No,
|
|
5154
5140
|
[-1, -1]
|
|
5155
5141
|
);
|
|
5156
5142
|
}
|
|
@@ -5215,20 +5201,20 @@ class Wo extends Hn {
|
|
|
5215
5201
|
this.$$set({ savecredentials: t }), K();
|
|
5216
5202
|
}
|
|
5217
5203
|
}
|
|
5218
|
-
|
|
5204
|
+
xn(zo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
|
|
5219
5205
|
export {
|
|
5220
5206
|
ce as $,
|
|
5221
|
-
|
|
5222
|
-
|
|
5207
|
+
zo as G,
|
|
5208
|
+
Sn as S,
|
|
5223
5209
|
Re as a,
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5210
|
+
qr as b,
|
|
5211
|
+
xn as c,
|
|
5212
|
+
on as d,
|
|
5227
5213
|
x as e,
|
|
5228
5214
|
K as f,
|
|
5229
5215
|
j as g,
|
|
5230
5216
|
h,
|
|
5231
|
-
|
|
5217
|
+
En as i,
|
|
5232
5218
|
L as j,
|
|
5233
5219
|
m as k,
|
|
5234
5220
|
rt as l,
|
|
@@ -5236,14 +5222,14 @@ export {
|
|
|
5236
5222
|
te as n,
|
|
5237
5223
|
Z as o,
|
|
5238
5224
|
I as p,
|
|
5239
|
-
|
|
5225
|
+
nn as q,
|
|
5240
5226
|
Me as r,
|
|
5241
|
-
|
|
5227
|
+
wr as s,
|
|
5242
5228
|
N as t,
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5229
|
+
fn as u,
|
|
5230
|
+
ut as v,
|
|
5231
|
+
Oo as w,
|
|
5232
|
+
Lo as x,
|
|
5247
5233
|
Mo as y,
|
|
5248
|
-
|
|
5234
|
+
Bo as z
|
|
5249
5235
|
};
|