@everymatrix/general-player-login-form-nd 1.74.3 → 1.74.4
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-0zK-AsMe.js → GeneralPlayerLoginFormNd-BziROfkp.js} +612 -598
- package/components/{GeneralPlayerLoginFormNd-BrD1TESB.js → GeneralPlayerLoginFormNd-DDew4qUQ.js} +593 -579
- package/components/GeneralPlayerLoginFormNd-lkaY-rAF.cjs +18 -0
- package/components/{GeneralPlayerSmsVerificationForm-9nSotkvC.js → GeneralPlayerSmsVerificationForm-CWvL0nV4.js} +5 -5
- package/components/{GeneralPlayerSmsVerificationForm-uyVJACCg.cjs → GeneralPlayerSmsVerificationForm-DCu_6fCZ.cjs} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-CvbvUmlt.js → GeneralPlayerSmsVerificationForm-De0U_8Hy.js} +5 -5
- 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-BVbXxEl6.cjs +0 -18
package/components/{GeneralPlayerLoginFormNd-0zK-AsMe.js → GeneralPlayerLoginFormNd-BziROfkp.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var mn = Object.defineProperty, pn = Object.defineProperties;
|
|
2
|
+
var gn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Jt = Object.getOwnPropertySymbols;
|
|
4
|
+
var bn = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var vt = (e, t, r) => t in e ? mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
bn.call(t, r) && vt(e, r, t[r]);
|
|
8
|
+
if (Jt)
|
|
9
|
+
for (var r of Jt(t))
|
|
10
|
+
vn.call(t, r) && vt(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var K = (e, t, r) => (
|
|
12
|
+
}, Yt = (e, t) => pn(e, gn(t));
|
|
13
|
+
var K = (e, t, r) => (vt(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var et = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (u) => {
|
|
16
16
|
try {
|
|
@@ -29,29 +29,29 @@ var et = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function Z() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Ar(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Kt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function Ne(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(Ar);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function $t(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Ir(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let tt;
|
|
48
|
-
function
|
|
48
|
+
function er(e, t) {
|
|
49
49
|
return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function yn(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Cr(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -60,20 +60,20 @@ function Ar(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function _n(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(Cr(t, r));
|
|
65
65
|
}
|
|
66
66
|
function m(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function wn(e, t, r) {
|
|
70
|
+
const n = En(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
72
|
const i = x("style");
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
73
|
+
i.id = t, i.textContent = r, xn(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function En(e) {
|
|
77
77
|
if (!e)
|
|
78
78
|
return document;
|
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,7 +83,7 @@ function vn(e) {
|
|
|
83
83
|
t
|
|
84
84
|
) : e.ownerDocument;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function xn(e, t) {
|
|
87
87
|
return m(
|
|
88
88
|
/** @type {Document} */
|
|
89
89
|
e.head || e,
|
|
@@ -108,7 +108,7 @@ function N(e) {
|
|
|
108
108
|
function j() {
|
|
109
109
|
return N(" ");
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function Sn() {
|
|
112
112
|
return N("");
|
|
113
113
|
}
|
|
114
114
|
function se(e, t, r, n) {
|
|
@@ -121,7 +121,7 @@ function W(e, t, r) {
|
|
|
121
121
|
const n = t.toLowerCase();
|
|
122
122
|
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);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Pn(e) {
|
|
125
125
|
return Array.from(e.childNodes);
|
|
126
126
|
}
|
|
127
127
|
function re(e, t) {
|
|
@@ -131,7 +131,7 @@ function re(e, t) {
|
|
|
131
131
|
function rt(e, t) {
|
|
132
132
|
e.value = t == null ? "" : t;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Tn(e) {
|
|
135
135
|
const t = {};
|
|
136
136
|
return e.childNodes.forEach(
|
|
137
137
|
/** @param {Element} node */
|
|
@@ -144,25 +144,25 @@ let Xe;
|
|
|
144
144
|
function ze(e) {
|
|
145
145
|
Xe = e;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function Hn() {
|
|
148
148
|
if (!Xe)
|
|
149
149
|
throw new Error("Function called outside component initialization");
|
|
150
150
|
return Xe;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
|
|
152
|
+
function Bn(e) {
|
|
153
|
+
Hn().$$.on_mount.push(e);
|
|
154
154
|
}
|
|
155
155
|
const Be = [], ut = [];
|
|
156
156
|
let Ae = [];
|
|
157
|
-
const
|
|
158
|
-
let
|
|
159
|
-
function
|
|
160
|
-
|
|
157
|
+
const tr = [], An = /* @__PURE__ */ Promise.resolve();
|
|
158
|
+
let Ht = !1;
|
|
159
|
+
function In() {
|
|
160
|
+
Ht || (Ht = !0, An.then(ee));
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function Bt(e) {
|
|
163
163
|
Ae.push(e);
|
|
164
164
|
}
|
|
165
|
-
const
|
|
165
|
+
const yt = /* @__PURE__ */ new Set();
|
|
166
166
|
let Te = 0;
|
|
167
167
|
function ee() {
|
|
168
168
|
if (Te !== 0)
|
|
@@ -172,7 +172,7 @@ function ee() {
|
|
|
172
172
|
try {
|
|
173
173
|
for (; Te < Be.length; ) {
|
|
174
174
|
const t = Be[Te];
|
|
175
|
-
Te++, ze(t),
|
|
175
|
+
Te++, ze(t), Cn(t.$$);
|
|
176
176
|
}
|
|
177
177
|
} catch (t) {
|
|
178
178
|
throw Be.length = 0, Te = 0, t;
|
|
@@ -181,44 +181,44 @@ function ee() {
|
|
|
181
181
|
ut.pop()();
|
|
182
182
|
for (let t = 0; t < Ae.length; t += 1) {
|
|
183
183
|
const r = Ae[t];
|
|
184
|
-
|
|
184
|
+
yt.has(r) || (yt.add(r), r());
|
|
185
185
|
}
|
|
186
186
|
Ae.length = 0;
|
|
187
187
|
} while (Be.length);
|
|
188
|
-
for (;
|
|
189
|
-
|
|
190
|
-
|
|
188
|
+
for (; tr.length; )
|
|
189
|
+
tr.pop()();
|
|
190
|
+
Ht = !1, yt.clear(), ze(e);
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function Cn(e) {
|
|
193
193
|
if (e.fragment !== null) {
|
|
194
194
|
e.update(), Ne(e.before_update);
|
|
195
195
|
const t = e.dirty;
|
|
196
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
196
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Bt);
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function On(e) {
|
|
200
200
|
const t = [], r = [];
|
|
201
201
|
Ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ae = t;
|
|
202
202
|
}
|
|
203
|
-
const
|
|
204
|
-
function
|
|
205
|
-
e && e.i && (
|
|
203
|
+
const Ln = /* @__PURE__ */ new Set();
|
|
204
|
+
function Mn(e, t) {
|
|
205
|
+
e && e.i && (Ln.delete(e), e.i(t));
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function Nn(e, t, r) {
|
|
208
208
|
const { fragment: n, after_update: i } = e.$$;
|
|
209
|
-
n && n.m(t, r),
|
|
210
|
-
const o = e.$$.on_mount.map(
|
|
209
|
+
n && n.m(t, r), Bt(() => {
|
|
210
|
+
const o = e.$$.on_mount.map(Ar).filter($t);
|
|
211
211
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ne(o), e.$$.on_mount = [];
|
|
212
|
-
}), i.forEach(
|
|
212
|
+
}), i.forEach(Bt);
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function Rn(e, t) {
|
|
215
215
|
const r = e.$$;
|
|
216
|
-
r.fragment !== null && (
|
|
216
|
+
r.fragment !== null && (On(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
217
217
|
}
|
|
218
|
-
function
|
|
219
|
-
e.$$.dirty[0] === -1 && (Be.push(e),
|
|
218
|
+
function Un(e, t) {
|
|
219
|
+
e.$$.dirty[0] === -1 && (Be.push(e), In(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function Fn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
222
222
|
const u = Xe;
|
|
223
223
|
ze(e);
|
|
224
224
|
const l = e.$$ = {
|
|
@@ -228,7 +228,7 @@ function Nn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
228
228
|
props: o,
|
|
229
229
|
update: Z,
|
|
230
230
|
not_equal: i,
|
|
231
|
-
bound:
|
|
231
|
+
bound: Kt(),
|
|
232
232
|
// lifecycle
|
|
233
233
|
on_mount: [],
|
|
234
234
|
on_destroy: [],
|
|
@@ -237,7 +237,7 @@ function Nn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
237
237
|
after_update: [],
|
|
238
238
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
239
239
|
// everything else
|
|
240
|
-
callbacks:
|
|
240
|
+
callbacks: Kt(),
|
|
241
241
|
dirty: a,
|
|
242
242
|
skip_bound: !1,
|
|
243
243
|
root: t.target || u.$$.root
|
|
@@ -245,20 +245,20 @@ function Nn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
245
245
|
s && s(l.root);
|
|
246
246
|
let c = !1;
|
|
247
247
|
if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
|
|
248
|
-
const
|
|
249
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] =
|
|
248
|
+
const y = b.length ? b[0] : d;
|
|
249
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c && Un(e, f)), d;
|
|
250
250
|
}) : [], l.update(), c = !0, Ne(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
251
251
|
if (t.hydrate) {
|
|
252
|
-
const f =
|
|
252
|
+
const f = Pn(t.target);
|
|
253
253
|
l.fragment && l.fragment.l(f), f.forEach(I);
|
|
254
254
|
} else
|
|
255
255
|
l.fragment && l.fragment.c();
|
|
256
|
-
t.intro &&
|
|
256
|
+
t.intro && Mn(e.$$.fragment), Nn(e, t.target, t.anchor), ee();
|
|
257
257
|
}
|
|
258
258
|
ze(u);
|
|
259
259
|
}
|
|
260
|
-
let
|
|
261
|
-
typeof HTMLElement == "function" && (
|
|
260
|
+
let Or;
|
|
261
|
+
typeof HTMLElement == "function" && (Or = class extends HTMLElement {
|
|
262
262
|
constructor(t, r, n) {
|
|
263
263
|
super();
|
|
264
264
|
/** The Svelte component constructor */
|
|
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
|
|
|
319
319
|
};
|
|
320
320
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
321
321
|
return;
|
|
322
|
-
const r = {}, n =
|
|
322
|
+
const r = {}, n = Tn(this);
|
|
323
323
|
for (const o of this.$$s)
|
|
324
324
|
o in n && (r[o] = [t(o)]);
|
|
325
325
|
for (const o of this.attributes) {
|
|
@@ -330,7 +330,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
|
|
|
330
330
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
331
331
|
this.$$c = new this.$$ctor({
|
|
332
332
|
target: this.shadowRoot || this,
|
|
333
|
-
props:
|
|
333
|
+
props: Yt(Qt({}, this.$$d), {
|
|
334
334
|
$$slots: r,
|
|
335
335
|
$$scope: {
|
|
336
336
|
ctx: []
|
|
@@ -408,8 +408,8 @@ function ot(e, t, r, n) {
|
|
|
408
408
|
return t;
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
|
-
function
|
|
412
|
-
let s = class extends
|
|
411
|
+
function Dn(e, t, r, n, i, o) {
|
|
412
|
+
let s = class extends Or {
|
|
413
413
|
constructor() {
|
|
414
414
|
super(e, r, i), this.$$p_d = t;
|
|
415
415
|
}
|
|
@@ -439,7 +439,7 @@ function Rn(e, t, r, n, i, o) {
|
|
|
439
439
|
}), e.element = /** @type {any} */
|
|
440
440
|
s, s;
|
|
441
441
|
}
|
|
442
|
-
class
|
|
442
|
+
class kn {
|
|
443
443
|
constructor() {
|
|
444
444
|
/**
|
|
445
445
|
* ### PRIVATE API
|
|
@@ -460,7 +460,7 @@ class Un {
|
|
|
460
460
|
}
|
|
461
461
|
/** @returns {void} */
|
|
462
462
|
$destroy() {
|
|
463
|
-
|
|
463
|
+
Rn(this, 1), this.$destroy = Z;
|
|
464
464
|
}
|
|
465
465
|
/**
|
|
466
466
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -469,7 +469,7 @@ class Un {
|
|
|
469
469
|
* @returns {() => void}
|
|
470
470
|
*/
|
|
471
471
|
$on(t, r) {
|
|
472
|
-
if (
|
|
472
|
+
if (!$t(r))
|
|
473
473
|
return Z;
|
|
474
474
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
475
475
|
return n.push(r), () => {
|
|
@@ -482,11 +482,11 @@ class Un {
|
|
|
482
482
|
* @returns {void}
|
|
483
483
|
*/
|
|
484
484
|
$set(t) {
|
|
485
|
-
this.$$set && !
|
|
485
|
+
this.$$set && !yn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
|
-
const
|
|
489
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
488
|
+
const Gn = "4";
|
|
489
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gn);
|
|
490
490
|
/*! *****************************************************************************
|
|
491
491
|
Copyright (c) Microsoft Corporation.
|
|
492
492
|
|
|
@@ -501,18 +501,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
501
501
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
502
502
|
PERFORMANCE OF THIS SOFTWARE.
|
|
503
503
|
***************************************************************************** */
|
|
504
|
-
var
|
|
505
|
-
return
|
|
504
|
+
var At = function(e, t) {
|
|
505
|
+
return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
506
506
|
r.__proto__ = n;
|
|
507
507
|
} || function(r, n) {
|
|
508
508
|
for (var i in n)
|
|
509
509
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
510
|
-
},
|
|
510
|
+
}, At(e, t);
|
|
511
511
|
};
|
|
512
512
|
function le(e, t) {
|
|
513
513
|
if (typeof t != "function" && t !== null)
|
|
514
514
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
515
|
-
|
|
515
|
+
At(e, t);
|
|
516
516
|
function r() {
|
|
517
517
|
this.constructor = e;
|
|
518
518
|
}
|
|
@@ -528,7 +528,7 @@ var E = function() {
|
|
|
528
528
|
return t;
|
|
529
529
|
}, E.apply(this, arguments);
|
|
530
530
|
};
|
|
531
|
-
function
|
|
531
|
+
function $n(e, t) {
|
|
532
532
|
var r = {};
|
|
533
533
|
for (var n in e)
|
|
534
534
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -537,7 +537,7 @@ function Dn(e, t) {
|
|
|
537
537
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
538
538
|
return r;
|
|
539
539
|
}
|
|
540
|
-
function
|
|
540
|
+
function It(e) {
|
|
541
541
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
542
542
|
if (r)
|
|
543
543
|
return r.call(e);
|
|
@@ -549,7 +549,7 @@ function At(e) {
|
|
|
549
549
|
};
|
|
550
550
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function Ct(e, t) {
|
|
553
553
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
554
554
|
if (!r)
|
|
555
555
|
return e;
|
|
@@ -578,13 +578,13 @@ function Ie(e, t, r) {
|
|
|
578
578
|
function ae(e) {
|
|
579
579
|
return typeof e == "function";
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function Lr(e) {
|
|
582
582
|
var t = function(n) {
|
|
583
583
|
Error.call(n), n.stack = new Error().stack;
|
|
584
584
|
}, r = e(t);
|
|
585
585
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
586
586
|
}
|
|
587
|
-
var _t =
|
|
587
|
+
var _t = Lr(function(e) {
|
|
588
588
|
return function(r) {
|
|
589
589
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
590
590
|
` + r.map(function(n, i) {
|
|
@@ -593,7 +593,7 @@ var _t = Cr(function(e) {
|
|
|
593
593
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
594
594
|
};
|
|
595
595
|
});
|
|
596
|
-
function
|
|
596
|
+
function Ot(e, t) {
|
|
597
597
|
if (e) {
|
|
598
598
|
var r = e.indexOf(t);
|
|
599
599
|
0 <= r && e.splice(r, 1);
|
|
@@ -611,7 +611,7 @@ var ft = function() {
|
|
|
611
611
|
if (s)
|
|
612
612
|
if (this._parentage = null, Array.isArray(s))
|
|
613
613
|
try {
|
|
614
|
-
for (var a =
|
|
614
|
+
for (var a = It(s), u = a.next(); !u.done; u = a.next()) {
|
|
615
615
|
var l = u.value;
|
|
616
616
|
l.remove(this);
|
|
617
617
|
}
|
|
@@ -638,12 +638,12 @@ var ft = function() {
|
|
|
638
638
|
if (f) {
|
|
639
639
|
this._finalizers = null;
|
|
640
640
|
try {
|
|
641
|
-
for (var d =
|
|
642
|
-
var
|
|
641
|
+
for (var d = It(f), b = d.next(); !b.done; b = d.next()) {
|
|
642
|
+
var y = b.value;
|
|
643
643
|
try {
|
|
644
|
-
|
|
644
|
+
rr(y);
|
|
645
645
|
} catch (g) {
|
|
646
|
-
o = o != null ? o : [], g instanceof _t ? o = Ie(Ie([],
|
|
646
|
+
o = o != null ? o : [], g instanceof _t ? o = Ie(Ie([], Ct(o)), Ct(g.errors)) : o.push(g);
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
649
|
} catch (g) {
|
|
@@ -664,7 +664,7 @@ var ft = function() {
|
|
|
664
664
|
var r;
|
|
665
665
|
if (t && t !== this)
|
|
666
666
|
if (this.closed)
|
|
667
|
-
|
|
667
|
+
rr(t);
|
|
668
668
|
else {
|
|
669
669
|
if (t instanceof e) {
|
|
670
670
|
if (t.closed || t._hasParent(this))
|
|
@@ -681,56 +681,56 @@ var ft = function() {
|
|
|
681
681
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
682
682
|
}, e.prototype._removeParent = function(t) {
|
|
683
683
|
var r = this._parentage;
|
|
684
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
684
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ot(r, t);
|
|
685
685
|
}, e.prototype.remove = function(t) {
|
|
686
686
|
var r = this._finalizers;
|
|
687
|
-
r &&
|
|
687
|
+
r && Ot(r, t), t instanceof e && t._removeParent(this);
|
|
688
688
|
}, e.EMPTY = function() {
|
|
689
689
|
var t = new e();
|
|
690
690
|
return t.closed = !0, t;
|
|
691
691
|
}(), e;
|
|
692
|
-
}(),
|
|
693
|
-
function
|
|
692
|
+
}(), Mr = ft.EMPTY;
|
|
693
|
+
function Nr(e) {
|
|
694
694
|
return e instanceof ft || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
|
|
695
695
|
}
|
|
696
|
-
function
|
|
696
|
+
function rr(e) {
|
|
697
697
|
ae(e) ? e() : e.unsubscribe();
|
|
698
698
|
}
|
|
699
|
-
var
|
|
699
|
+
var Rr = {
|
|
700
700
|
onUnhandledError: null,
|
|
701
701
|
onStoppedNotification: null,
|
|
702
702
|
Promise: void 0,
|
|
703
703
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
704
704
|
useDeprecatedNextContext: !1
|
|
705
|
-
},
|
|
705
|
+
}, jn = {
|
|
706
706
|
setTimeout: function(e, t) {
|
|
707
707
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
708
708
|
r[n - 2] = arguments[n];
|
|
709
|
-
return setTimeout.apply(void 0, Ie([e, t],
|
|
709
|
+
return setTimeout.apply(void 0, Ie([e, t], Ct(r)));
|
|
710
710
|
},
|
|
711
711
|
clearTimeout: function(e) {
|
|
712
712
|
return clearTimeout(e);
|
|
713
713
|
},
|
|
714
714
|
delegate: void 0
|
|
715
715
|
};
|
|
716
|
-
function
|
|
717
|
-
|
|
716
|
+
function Vn(e) {
|
|
717
|
+
jn.setTimeout(function() {
|
|
718
718
|
throw e;
|
|
719
719
|
});
|
|
720
720
|
}
|
|
721
|
-
function
|
|
721
|
+
function nr() {
|
|
722
722
|
}
|
|
723
723
|
function st(e) {
|
|
724
724
|
e();
|
|
725
725
|
}
|
|
726
|
-
var
|
|
726
|
+
var Ur = function(e) {
|
|
727
727
|
le(t, e);
|
|
728
728
|
function t(r) {
|
|
729
729
|
var n = e.call(this) || this;
|
|
730
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
730
|
+
return n.isStopped = !1, r ? (n.destination = r, Nr(r) && r.add(n)) : n.destination = Zn, n;
|
|
731
731
|
}
|
|
732
732
|
return t.create = function(r, n, i) {
|
|
733
|
-
return new
|
|
733
|
+
return new Lt(r, n, i);
|
|
734
734
|
}, t.prototype.next = function(r) {
|
|
735
735
|
this.isStopped || this._next(r);
|
|
736
736
|
}, t.prototype.error = function(r) {
|
|
@@ -754,7 +754,11 @@ var Mr = function(e) {
|
|
|
754
754
|
this.unsubscribe();
|
|
755
755
|
}
|
|
756
756
|
}, t;
|
|
757
|
-
}(ft),
|
|
757
|
+
}(ft), zn = Function.prototype.bind;
|
|
758
|
+
function wt(e, t) {
|
|
759
|
+
return zn.call(e, t);
|
|
760
|
+
}
|
|
761
|
+
var Xn = function() {
|
|
758
762
|
function e(t) {
|
|
759
763
|
this.partialObserver = t;
|
|
760
764
|
}
|
|
@@ -785,43 +789,55 @@ var Mr = function(e) {
|
|
|
785
789
|
nt(r);
|
|
786
790
|
}
|
|
787
791
|
}, e;
|
|
788
|
-
}(),
|
|
792
|
+
}(), Lt = function(e) {
|
|
789
793
|
le(t, e);
|
|
790
794
|
function t(r, n, i) {
|
|
791
795
|
var o = e.call(this) || this, s;
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
796
|
+
if (ae(r) || !r)
|
|
797
|
+
s = {
|
|
798
|
+
next: r != null ? r : void 0,
|
|
799
|
+
error: n != null ? n : void 0,
|
|
800
|
+
complete: i != null ? i : void 0
|
|
801
|
+
};
|
|
802
|
+
else {
|
|
803
|
+
var a;
|
|
804
|
+
o && Rr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
805
|
+
return o.unsubscribe();
|
|
806
|
+
}, s = {
|
|
807
|
+
next: r.next && wt(r.next, a),
|
|
808
|
+
error: r.error && wt(r.error, a),
|
|
809
|
+
complete: r.complete && wt(r.complete, a)
|
|
810
|
+
}) : s = r;
|
|
811
|
+
}
|
|
812
|
+
return o.destination = new Xn(s), o;
|
|
797
813
|
}
|
|
798
814
|
return t;
|
|
799
|
-
}(
|
|
815
|
+
}(Ur);
|
|
800
816
|
function nt(e) {
|
|
801
|
-
|
|
817
|
+
Vn(e);
|
|
802
818
|
}
|
|
803
|
-
function
|
|
819
|
+
function Wn(e) {
|
|
804
820
|
throw e;
|
|
805
821
|
}
|
|
806
|
-
var
|
|
822
|
+
var Zn = {
|
|
807
823
|
closed: !0,
|
|
808
|
-
next:
|
|
809
|
-
error:
|
|
810
|
-
complete:
|
|
811
|
-
},
|
|
824
|
+
next: nr,
|
|
825
|
+
error: Wn,
|
|
826
|
+
complete: nr
|
|
827
|
+
}, qn = function() {
|
|
812
828
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
813
829
|
}();
|
|
814
|
-
function
|
|
830
|
+
function Jn(e) {
|
|
815
831
|
return e;
|
|
816
832
|
}
|
|
817
|
-
function
|
|
818
|
-
return e.length === 0 ?
|
|
833
|
+
function Qn(e) {
|
|
834
|
+
return e.length === 0 ? Jn : e.length === 1 ? e[0] : function(r) {
|
|
819
835
|
return e.reduce(function(n, i) {
|
|
820
836
|
return i(n);
|
|
821
837
|
}, r);
|
|
822
838
|
};
|
|
823
839
|
}
|
|
824
|
-
var
|
|
840
|
+
var ir = function() {
|
|
825
841
|
function e(t) {
|
|
826
842
|
t && (this._subscribe = t);
|
|
827
843
|
}
|
|
@@ -829,7 +845,7 @@ var rr = function() {
|
|
|
829
845
|
var r = new e();
|
|
830
846
|
return r.source = this, r.operator = t, r;
|
|
831
847
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
832
|
-
var i = this, o =
|
|
848
|
+
var i = this, o = Kn(t) ? t : new Lt(t, r, n);
|
|
833
849
|
return st(function() {
|
|
834
850
|
var s = i, a = s.operator, u = s.source;
|
|
835
851
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -842,8 +858,8 @@ var rr = function() {
|
|
|
842
858
|
}
|
|
843
859
|
}, e.prototype.forEach = function(t, r) {
|
|
844
860
|
var n = this;
|
|
845
|
-
return r =
|
|
846
|
-
var s = new
|
|
861
|
+
return r = or(r), new r(function(i, o) {
|
|
862
|
+
var s = new Lt({
|
|
847
863
|
next: function(a) {
|
|
848
864
|
try {
|
|
849
865
|
t(a);
|
|
@@ -859,15 +875,15 @@ var rr = function() {
|
|
|
859
875
|
}, e.prototype._subscribe = function(t) {
|
|
860
876
|
var r;
|
|
861
877
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
862
|
-
}, e.prototype[
|
|
878
|
+
}, e.prototype[qn] = function() {
|
|
863
879
|
return this;
|
|
864
880
|
}, e.prototype.pipe = function() {
|
|
865
881
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
866
882
|
t[r] = arguments[r];
|
|
867
|
-
return
|
|
883
|
+
return Qn(t)(this);
|
|
868
884
|
}, e.prototype.toPromise = function(t) {
|
|
869
885
|
var r = this;
|
|
870
|
-
return t =
|
|
886
|
+
return t = or(t), new t(function(n, i) {
|
|
871
887
|
var o;
|
|
872
888
|
r.subscribe(function(s) {
|
|
873
889
|
return o = s;
|
|
@@ -881,32 +897,32 @@ var rr = function() {
|
|
|
881
897
|
return new e(t);
|
|
882
898
|
}, e;
|
|
883
899
|
}();
|
|
884
|
-
function
|
|
900
|
+
function or(e) {
|
|
885
901
|
var t;
|
|
886
|
-
return (t = e != null ? e :
|
|
902
|
+
return (t = e != null ? e : Rr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
887
903
|
}
|
|
888
|
-
function
|
|
904
|
+
function Yn(e) {
|
|
889
905
|
return e && ae(e.next) && ae(e.error) && ae(e.complete);
|
|
890
906
|
}
|
|
891
|
-
function
|
|
892
|
-
return e && e instanceof
|
|
907
|
+
function Kn(e) {
|
|
908
|
+
return e && e instanceof Ur || Yn(e) && Nr(e);
|
|
893
909
|
}
|
|
894
|
-
var
|
|
910
|
+
var ei = Lr(function(e) {
|
|
895
911
|
return function() {
|
|
896
912
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
897
913
|
};
|
|
898
|
-
}),
|
|
914
|
+
}), Fr = function(e) {
|
|
899
915
|
le(t, e);
|
|
900
916
|
function t() {
|
|
901
917
|
var r = e.call(this) || this;
|
|
902
918
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
903
919
|
}
|
|
904
920
|
return t.prototype.lift = function(r) {
|
|
905
|
-
var n = new
|
|
921
|
+
var n = new sr(this, this);
|
|
906
922
|
return n.operator = r, n;
|
|
907
923
|
}, t.prototype._throwIfClosed = function() {
|
|
908
924
|
if (this.closed)
|
|
909
|
-
throw new
|
|
925
|
+
throw new ei();
|
|
910
926
|
}, t.prototype.next = function(r) {
|
|
911
927
|
var n = this;
|
|
912
928
|
st(function() {
|
|
@@ -914,7 +930,7 @@ var Qn = Cr(function(e) {
|
|
|
914
930
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
915
931
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
916
932
|
try {
|
|
917
|
-
for (var s =
|
|
933
|
+
for (var s = It(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
918
934
|
var u = a.value;
|
|
919
935
|
u.next(r);
|
|
920
936
|
}
|
|
@@ -963,19 +979,19 @@ var Qn = Cr(function(e) {
|
|
|
963
979
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
964
980
|
}, t.prototype._innerSubscribe = function(r) {
|
|
965
981
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
966
|
-
return o || s ?
|
|
967
|
-
n.currentObservers = null,
|
|
982
|
+
return o || s ? Mr : (this.currentObservers = null, a.push(r), new ft(function() {
|
|
983
|
+
n.currentObservers = null, Ot(a, r);
|
|
968
984
|
}));
|
|
969
985
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
970
986
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
971
987
|
i ? r.error(o) : s && r.complete();
|
|
972
988
|
}, t.prototype.asObservable = function() {
|
|
973
|
-
var r = new
|
|
989
|
+
var r = new ir();
|
|
974
990
|
return r.source = this, r;
|
|
975
991
|
}, t.create = function(r, n) {
|
|
976
|
-
return new
|
|
992
|
+
return new sr(r, n);
|
|
977
993
|
}, t;
|
|
978
|
-
}(
|
|
994
|
+
}(ir), sr = function(e) {
|
|
979
995
|
le(t, e);
|
|
980
996
|
function t(r, n) {
|
|
981
997
|
var i = e.call(this) || this;
|
|
@@ -992,17 +1008,17 @@ var Qn = Cr(function(e) {
|
|
|
992
1008
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
993
1009
|
}, t.prototype._subscribe = function(r) {
|
|
994
1010
|
var n, i;
|
|
995
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1011
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mr;
|
|
996
1012
|
}, t;
|
|
997
|
-
}(
|
|
1013
|
+
}(Fr), Dr = {
|
|
998
1014
|
now: function() {
|
|
999
|
-
return (
|
|
1015
|
+
return (Dr.delegate || Date).now();
|
|
1000
1016
|
},
|
|
1001
1017
|
delegate: void 0
|
|
1002
|
-
},
|
|
1018
|
+
}, ti = function(e) {
|
|
1003
1019
|
le(t, e);
|
|
1004
1020
|
function t(r, n, i) {
|
|
1005
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1021
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dr);
|
|
1006
1022
|
var o = e.call(this) || this;
|
|
1007
1023
|
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;
|
|
1008
1024
|
}
|
|
@@ -1022,15 +1038,15 @@ var Qn = Cr(function(e) {
|
|
|
1022
1038
|
l && o.splice(0, l + 1);
|
|
1023
1039
|
}
|
|
1024
1040
|
}, t;
|
|
1025
|
-
}(
|
|
1026
|
-
const
|
|
1027
|
-
if (
|
|
1028
|
-
const r = new
|
|
1029
|
-
|
|
1041
|
+
}(Fr);
|
|
1042
|
+
const ar = [], lr = {}, ri = (e, t = 0) => {
|
|
1043
|
+
if (ar.indexOf(e) == -1) {
|
|
1044
|
+
const r = new ti(t);
|
|
1045
|
+
lr[e] = r, ar.push(e);
|
|
1030
1046
|
}
|
|
1031
|
-
return
|
|
1047
|
+
return lr[e];
|
|
1032
1048
|
}, He = [];
|
|
1033
|
-
function
|
|
1049
|
+
function ni(e, t) {
|
|
1034
1050
|
return {
|
|
1035
1051
|
subscribe: dt(e, t).subscribe
|
|
1036
1052
|
};
|
|
@@ -1039,7 +1055,7 @@ function dt(e, t = Z) {
|
|
|
1039
1055
|
let r;
|
|
1040
1056
|
const n = /* @__PURE__ */ new Set();
|
|
1041
1057
|
function i(a) {
|
|
1042
|
-
if (
|
|
1058
|
+
if (Ir(e, a) && (e = a, r)) {
|
|
1043
1059
|
const u = !He.length;
|
|
1044
1060
|
for (const l of n)
|
|
1045
1061
|
l[1](), He.push(l, e);
|
|
@@ -1066,7 +1082,7 @@ function Re(e, t, r) {
|
|
|
1066
1082
|
if (!i.every(Boolean))
|
|
1067
1083
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1068
1084
|
const o = t.length < 2;
|
|
1069
|
-
return
|
|
1085
|
+
return ni(r, (s, a) => {
|
|
1070
1086
|
let u = !1;
|
|
1071
1087
|
const l = [];
|
|
1072
1088
|
let c = 0, f = Z;
|
|
@@ -1074,11 +1090,11 @@ function Re(e, t, r) {
|
|
|
1074
1090
|
if (c)
|
|
1075
1091
|
return;
|
|
1076
1092
|
f();
|
|
1077
|
-
const
|
|
1078
|
-
o ? s(
|
|
1093
|
+
const y = t(n ? l[0] : l, s, a);
|
|
1094
|
+
o ? s(y) : f = $t(y) ? y : Z;
|
|
1079
1095
|
}, b = i.map(
|
|
1080
|
-
(
|
|
1081
|
-
|
|
1096
|
+
(y, g) => Cr(
|
|
1097
|
+
y,
|
|
1082
1098
|
(S) => {
|
|
1083
1099
|
l[g] = S, c &= ~(1 << g), u && d();
|
|
1084
1100
|
},
|
|
@@ -1092,70 +1108,70 @@ function Re(e, t, r) {
|
|
|
1092
1108
|
};
|
|
1093
1109
|
});
|
|
1094
1110
|
}
|
|
1095
|
-
function
|
|
1096
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1111
|
+
function ii(e) {
|
|
1112
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1097
1113
|
}
|
|
1098
|
-
var
|
|
1099
|
-
return
|
|
1114
|
+
var oi = function(t) {
|
|
1115
|
+
return si(t) && !ai(t);
|
|
1100
1116
|
};
|
|
1101
|
-
function
|
|
1117
|
+
function si(e) {
|
|
1102
1118
|
return !!e && typeof e == "object";
|
|
1103
1119
|
}
|
|
1104
|
-
function
|
|
1120
|
+
function ai(e) {
|
|
1105
1121
|
var t = Object.prototype.toString.call(e);
|
|
1106
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1122
|
+
return t === "[object RegExp]" || t === "[object Date]" || ci(e);
|
|
1107
1123
|
}
|
|
1108
|
-
var
|
|
1109
|
-
function
|
|
1110
|
-
return e.$$typeof ===
|
|
1124
|
+
var li = typeof Symbol == "function" && Symbol.for, ui = li ? Symbol.for("react.element") : 60103;
|
|
1125
|
+
function ci(e) {
|
|
1126
|
+
return e.$$typeof === ui;
|
|
1111
1127
|
}
|
|
1112
|
-
function
|
|
1128
|
+
function hi(e) {
|
|
1113
1129
|
return Array.isArray(e) ? [] : {};
|
|
1114
1130
|
}
|
|
1115
1131
|
function We(e, t) {
|
|
1116
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Ce(
|
|
1132
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ce(hi(e), e, t) : e;
|
|
1117
1133
|
}
|
|
1118
|
-
function
|
|
1134
|
+
function fi(e, t, r) {
|
|
1119
1135
|
return e.concat(t).map(function(n) {
|
|
1120
1136
|
return We(n, r);
|
|
1121
1137
|
});
|
|
1122
1138
|
}
|
|
1123
|
-
function
|
|
1139
|
+
function di(e, t) {
|
|
1124
1140
|
if (!t.customMerge)
|
|
1125
1141
|
return Ce;
|
|
1126
1142
|
var r = t.customMerge(e);
|
|
1127
1143
|
return typeof r == "function" ? r : Ce;
|
|
1128
1144
|
}
|
|
1129
|
-
function
|
|
1145
|
+
function mi(e) {
|
|
1130
1146
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1131
1147
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1132
1148
|
}) : [];
|
|
1133
1149
|
}
|
|
1134
|
-
function
|
|
1135
|
-
return Object.keys(e).concat(
|
|
1150
|
+
function ur(e) {
|
|
1151
|
+
return Object.keys(e).concat(mi(e));
|
|
1136
1152
|
}
|
|
1137
|
-
function
|
|
1153
|
+
function kr(e, t) {
|
|
1138
1154
|
try {
|
|
1139
1155
|
return t in e;
|
|
1140
1156
|
} catch (r) {
|
|
1141
1157
|
return !1;
|
|
1142
1158
|
}
|
|
1143
1159
|
}
|
|
1144
|
-
function
|
|
1145
|
-
return
|
|
1160
|
+
function pi(e, t) {
|
|
1161
|
+
return kr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1146
1162
|
}
|
|
1147
|
-
function
|
|
1163
|
+
function gi(e, t, r) {
|
|
1148
1164
|
var n = {};
|
|
1149
|
-
return r.isMergeableObject(e) &&
|
|
1165
|
+
return r.isMergeableObject(e) && ur(e).forEach(function(i) {
|
|
1150
1166
|
n[i] = We(e[i], r);
|
|
1151
|
-
}),
|
|
1152
|
-
|
|
1167
|
+
}), ur(t).forEach(function(i) {
|
|
1168
|
+
pi(e, i) || (kr(e, i) && r.isMergeableObject(t[i]) ? n[i] = di(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
|
|
1153
1169
|
}), n;
|
|
1154
1170
|
}
|
|
1155
1171
|
function Ce(e, t, r) {
|
|
1156
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1172
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || fi, r.isMergeableObject = r.isMergeableObject || oi, r.cloneUnlessOtherwiseSpecified = We;
|
|
1157
1173
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1158
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1174
|
+
return o ? n ? r.arrayMerge(e, t, r) : gi(e, t, r) : We(t, r);
|
|
1159
1175
|
}
|
|
1160
1176
|
Ce.all = function(t, r) {
|
|
1161
1177
|
if (!Array.isArray(t))
|
|
@@ -1164,60 +1180,58 @@ Ce.all = function(t, r) {
|
|
|
1164
1180
|
return Ce(n, i, r);
|
|
1165
1181
|
}, {});
|
|
1166
1182
|
};
|
|
1167
|
-
var
|
|
1168
|
-
const
|
|
1169
|
-
function
|
|
1170
|
-
var r = t && t.cache ? t.cache :
|
|
1183
|
+
var bi = Ce, vi = bi;
|
|
1184
|
+
const yi = /* @__PURE__ */ ii(vi);
|
|
1185
|
+
function Et(e, t) {
|
|
1186
|
+
var r = t && t.cache ? t.cache : Pi, n = t && t.serializer ? t.serializer : Si, i = t && t.strategy ? t.strategy : wi;
|
|
1171
1187
|
return i(e, {
|
|
1172
1188
|
cache: r,
|
|
1173
1189
|
serializer: n
|
|
1174
1190
|
});
|
|
1175
1191
|
}
|
|
1176
|
-
function
|
|
1192
|
+
function _i(e) {
|
|
1177
1193
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1178
1194
|
}
|
|
1179
|
-
function
|
|
1180
|
-
var i =
|
|
1195
|
+
function Gr(e, t, r, n) {
|
|
1196
|
+
var i = _i(n) ? n : r(n), o = t.get(i);
|
|
1181
1197
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1182
1198
|
}
|
|
1183
|
-
function
|
|
1199
|
+
function $r(e, t, r) {
|
|
1184
1200
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1185
1201
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1186
1202
|
}
|
|
1187
|
-
function
|
|
1203
|
+
function jt(e, t, r, n, i) {
|
|
1188
1204
|
return r.bind(t, e, n, i);
|
|
1189
1205
|
}
|
|
1190
|
-
function
|
|
1191
|
-
var r = e.length === 1 ?
|
|
1192
|
-
return
|
|
1206
|
+
function wi(e, t) {
|
|
1207
|
+
var r = e.length === 1 ? Gr : $r;
|
|
1208
|
+
return jt(e, this, r, t.cache.create(), t.serializer);
|
|
1193
1209
|
}
|
|
1194
|
-
function
|
|
1195
|
-
return
|
|
1210
|
+
function Ei(e, t) {
|
|
1211
|
+
return jt(e, this, $r, t.cache.create(), t.serializer);
|
|
1196
1212
|
}
|
|
1197
|
-
function
|
|
1198
|
-
return
|
|
1213
|
+
function xi(e, t) {
|
|
1214
|
+
return jt(e, this, Gr, t.cache.create(), t.serializer);
|
|
1199
1215
|
}
|
|
1200
|
-
var
|
|
1216
|
+
var Si = function() {
|
|
1201
1217
|
return JSON.stringify(arguments);
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
}()
|
|
1214
|
-
), xi = {
|
|
1218
|
+
};
|
|
1219
|
+
function Vt() {
|
|
1220
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1221
|
+
}
|
|
1222
|
+
Vt.prototype.get = function(e) {
|
|
1223
|
+
return this.cache[e];
|
|
1224
|
+
};
|
|
1225
|
+
Vt.prototype.set = function(e, t) {
|
|
1226
|
+
this.cache[e] = t;
|
|
1227
|
+
};
|
|
1228
|
+
var Pi = {
|
|
1215
1229
|
create: function() {
|
|
1216
|
-
return new
|
|
1230
|
+
return new Vt();
|
|
1217
1231
|
}
|
|
1218
|
-
},
|
|
1219
|
-
variadic:
|
|
1220
|
-
monadic:
|
|
1232
|
+
}, xt = {
|
|
1233
|
+
variadic: Ei,
|
|
1234
|
+
monadic: xi
|
|
1221
1235
|
}, _;
|
|
1222
1236
|
(function(e) {
|
|
1223
1237
|
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";
|
|
@@ -1230,43 +1244,43 @@ var Oe;
|
|
|
1230
1244
|
(function(e) {
|
|
1231
1245
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1232
1246
|
})(Oe || (Oe = {}));
|
|
1233
|
-
function
|
|
1247
|
+
function cr(e) {
|
|
1234
1248
|
return e.type === T.literal;
|
|
1235
1249
|
}
|
|
1236
|
-
function
|
|
1250
|
+
function Ti(e) {
|
|
1237
1251
|
return e.type === T.argument;
|
|
1238
1252
|
}
|
|
1239
|
-
function
|
|
1253
|
+
function jr(e) {
|
|
1240
1254
|
return e.type === T.number;
|
|
1241
1255
|
}
|
|
1242
|
-
function
|
|
1256
|
+
function Vr(e) {
|
|
1243
1257
|
return e.type === T.date;
|
|
1244
1258
|
}
|
|
1245
|
-
function
|
|
1259
|
+
function zr(e) {
|
|
1246
1260
|
return e.type === T.time;
|
|
1247
1261
|
}
|
|
1248
|
-
function
|
|
1262
|
+
function Xr(e) {
|
|
1249
1263
|
return e.type === T.select;
|
|
1250
1264
|
}
|
|
1251
|
-
function
|
|
1265
|
+
function Wr(e) {
|
|
1252
1266
|
return e.type === T.plural;
|
|
1253
1267
|
}
|
|
1254
|
-
function
|
|
1268
|
+
function Hi(e) {
|
|
1255
1269
|
return e.type === T.pound;
|
|
1256
1270
|
}
|
|
1257
|
-
function
|
|
1271
|
+
function Zr(e) {
|
|
1258
1272
|
return e.type === T.tag;
|
|
1259
1273
|
}
|
|
1260
|
-
function
|
|
1274
|
+
function qr(e) {
|
|
1261
1275
|
return !!(e && typeof e == "object" && e.type === Oe.number);
|
|
1262
1276
|
}
|
|
1263
|
-
function
|
|
1277
|
+
function Mt(e) {
|
|
1264
1278
|
return !!(e && typeof e == "object" && e.type === Oe.dateTime);
|
|
1265
1279
|
}
|
|
1266
|
-
var
|
|
1267
|
-
function
|
|
1280
|
+
var Jr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bi = /(?:[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;
|
|
1281
|
+
function Ai(e) {
|
|
1268
1282
|
var t = {};
|
|
1269
|
-
return e.replace(
|
|
1283
|
+
return e.replace(Bi, function(r) {
|
|
1270
1284
|
var n = r.length;
|
|
1271
1285
|
switch (r[0]) {
|
|
1272
1286
|
case "G":
|
|
@@ -1355,11 +1369,11 @@ function Hi(e) {
|
|
|
1355
1369
|
return "";
|
|
1356
1370
|
}), t;
|
|
1357
1371
|
}
|
|
1358
|
-
var
|
|
1359
|
-
function
|
|
1372
|
+
var Ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1373
|
+
function Ci(e) {
|
|
1360
1374
|
if (e.length === 0)
|
|
1361
1375
|
throw new Error("Number skeleton cannot be empty");
|
|
1362
|
-
for (var t = e.split(
|
|
1376
|
+
for (var t = e.split(Ii).filter(function(d) {
|
|
1363
1377
|
return d.length > 0;
|
|
1364
1378
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1365
1379
|
var o = i[n], s = o.split("/");
|
|
@@ -1374,17 +1388,17 @@ function Ai(e) {
|
|
|
1374
1388
|
}
|
|
1375
1389
|
return r;
|
|
1376
1390
|
}
|
|
1377
|
-
function
|
|
1391
|
+
function Oi(e) {
|
|
1378
1392
|
return e.replace(/^(.*?)-/, "");
|
|
1379
1393
|
}
|
|
1380
|
-
var
|
|
1381
|
-
function
|
|
1394
|
+
var hr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qr = /^(@+)?(\+|#+)?[rs]?$/g, Li = /(\*)(0+)|(#+)(0+)|(0+)/g, Yr = /^(0+)$/;
|
|
1395
|
+
function fr(e) {
|
|
1382
1396
|
var t = {};
|
|
1383
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1397
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qr, function(r, n, i) {
|
|
1384
1398
|
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)), "";
|
|
1385
1399
|
}), t;
|
|
1386
1400
|
}
|
|
1387
|
-
function
|
|
1401
|
+
function Kr(e) {
|
|
1388
1402
|
switch (e) {
|
|
1389
1403
|
case "sign-auto":
|
|
1390
1404
|
return {
|
|
@@ -1424,7 +1438,7 @@ function Jr(e) {
|
|
|
1424
1438
|
};
|
|
1425
1439
|
}
|
|
1426
1440
|
}
|
|
1427
|
-
function
|
|
1441
|
+
function Mi(e) {
|
|
1428
1442
|
var t;
|
|
1429
1443
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1430
1444
|
notation: "engineering"
|
|
@@ -1432,17 +1446,17 @@ function Oi(e) {
|
|
|
1432
1446
|
notation: "scientific"
|
|
1433
1447
|
}, e = e.slice(1)), t) {
|
|
1434
1448
|
var r = e.slice(0, 2);
|
|
1435
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1449
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yr.test(e))
|
|
1436
1450
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1437
1451
|
t.minimumIntegerDigits = e.length;
|
|
1438
1452
|
}
|
|
1439
1453
|
return t;
|
|
1440
1454
|
}
|
|
1441
|
-
function
|
|
1442
|
-
var t = {}, r =
|
|
1455
|
+
function dr(e) {
|
|
1456
|
+
var t = {}, r = Kr(e);
|
|
1443
1457
|
return r || t;
|
|
1444
1458
|
}
|
|
1445
|
-
function
|
|
1459
|
+
function Ni(e) {
|
|
1446
1460
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1447
1461
|
var i = n[r];
|
|
1448
1462
|
switch (i.stem) {
|
|
@@ -1466,7 +1480,7 @@ function Li(e) {
|
|
|
1466
1480
|
continue;
|
|
1467
1481
|
case "measure-unit":
|
|
1468
1482
|
case "unit":
|
|
1469
|
-
t.style = "unit", t.unit =
|
|
1483
|
+
t.style = "unit", t.unit = Oi(i.options[0]);
|
|
1470
1484
|
continue;
|
|
1471
1485
|
case "compact-short":
|
|
1472
1486
|
case "K":
|
|
@@ -1478,12 +1492,12 @@ function Li(e) {
|
|
|
1478
1492
|
continue;
|
|
1479
1493
|
case "scientific":
|
|
1480
1494
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
1481
|
-
return E(E({}, u),
|
|
1495
|
+
return E(E({}, u), dr(l));
|
|
1482
1496
|
}, {}));
|
|
1483
1497
|
continue;
|
|
1484
1498
|
case "engineering":
|
|
1485
1499
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
1486
|
-
return E(E({}, u),
|
|
1500
|
+
return E(E({}, u), dr(l));
|
|
1487
1501
|
}, {}));
|
|
1488
1502
|
continue;
|
|
1489
1503
|
case "notation-simple":
|
|
@@ -1528,7 +1542,7 @@ function Li(e) {
|
|
|
1528
1542
|
case "integer-width":
|
|
1529
1543
|
if (i.options.length > 1)
|
|
1530
1544
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1531
|
-
i.options[0].replace(
|
|
1545
|
+
i.options[0].replace(Li, function(u, l, c, f, d, b) {
|
|
1532
1546
|
if (l)
|
|
1533
1547
|
t.minimumIntegerDigits = c.length;
|
|
1534
1548
|
else {
|
|
@@ -1541,27 +1555,27 @@ function Li(e) {
|
|
|
1541
1555
|
});
|
|
1542
1556
|
continue;
|
|
1543
1557
|
}
|
|
1544
|
-
if (
|
|
1558
|
+
if (Yr.test(i.stem)) {
|
|
1545
1559
|
t.minimumIntegerDigits = i.stem.length;
|
|
1546
1560
|
continue;
|
|
1547
1561
|
}
|
|
1548
|
-
if (
|
|
1562
|
+
if (hr.test(i.stem)) {
|
|
1549
1563
|
if (i.options.length > 1)
|
|
1550
1564
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1551
|
-
i.stem.replace(
|
|
1565
|
+
i.stem.replace(hr, function(u, l, c, f, d, b) {
|
|
1552
1566
|
return c === "*" ? 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), "";
|
|
1553
1567
|
});
|
|
1554
1568
|
var o = i.options[0];
|
|
1555
|
-
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t),
|
|
1569
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), fr(o)));
|
|
1556
1570
|
continue;
|
|
1557
1571
|
}
|
|
1558
|
-
if (
|
|
1559
|
-
t = E(E({}, t),
|
|
1572
|
+
if (Qr.test(i.stem)) {
|
|
1573
|
+
t = E(E({}, t), fr(i.stem));
|
|
1560
1574
|
continue;
|
|
1561
1575
|
}
|
|
1562
|
-
var s =
|
|
1576
|
+
var s = Kr(i.stem);
|
|
1563
1577
|
s && (t = E(E({}, t), s));
|
|
1564
|
-
var a =
|
|
1578
|
+
var a = Mi(i.stem);
|
|
1565
1579
|
a && (t = E(E({}, t), a));
|
|
1566
1580
|
}
|
|
1567
1581
|
return t;
|
|
@@ -2981,13 +2995,13 @@ var it = {
|
|
|
2981
2995
|
"h"
|
|
2982
2996
|
]
|
|
2983
2997
|
};
|
|
2984
|
-
function
|
|
2998
|
+
function Ri(e, t) {
|
|
2985
2999
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2986
3000
|
var i = e.charAt(n);
|
|
2987
3001
|
if (i === "j") {
|
|
2988
3002
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2989
3003
|
o++, n++;
|
|
2990
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
|
3004
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ui(t);
|
|
2991
3005
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2992
3006
|
r += u;
|
|
2993
3007
|
for (; s-- > 0; )
|
|
@@ -2997,7 +3011,7 @@ function Mi(e, t) {
|
|
|
2997
3011
|
}
|
|
2998
3012
|
return r;
|
|
2999
3013
|
}
|
|
3000
|
-
function
|
|
3014
|
+
function Ui(e) {
|
|
3001
3015
|
var t = e.hourCycle;
|
|
3002
3016
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3003
3017
|
e.hourCycles && // @ts-ignore
|
|
@@ -3019,20 +3033,20 @@ function Ni(e) {
|
|
|
3019
3033
|
var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
|
|
3020
3034
|
return i[0];
|
|
3021
3035
|
}
|
|
3022
|
-
var
|
|
3036
|
+
var St, Fi = new RegExp("^".concat(Jr.source, "*")), Di = new RegExp("".concat(Jr.source, "*$"));
|
|
3023
3037
|
function w(e, t) {
|
|
3024
3038
|
return { start: e, end: t };
|
|
3025
3039
|
}
|
|
3026
|
-
var
|
|
3040
|
+
var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gi = !!String.fromCodePoint, $i = !!Object.fromEntries, ji = !!String.prototype.codePointAt, Vi = !!String.prototype.trimStart, zi = !!String.prototype.trimEnd, Xi = !!Number.isSafeInteger, Wi = Xi ? Number.isSafeInteger : function(e) {
|
|
3027
3041
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3028
|
-
},
|
|
3042
|
+
}, Nt = !0;
|
|
3029
3043
|
try {
|
|
3030
|
-
var
|
|
3031
|
-
|
|
3044
|
+
var Zi = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3045
|
+
Nt = ((St = Zi.exec("a")) === null || St === void 0 ? void 0 : St[0]) === "a";
|
|
3032
3046
|
} catch (e) {
|
|
3033
|
-
|
|
3047
|
+
Nt = !1;
|
|
3034
3048
|
}
|
|
3035
|
-
var
|
|
3049
|
+
var mr = ki ? (
|
|
3036
3050
|
// Native
|
|
3037
3051
|
function(t, r, n) {
|
|
3038
3052
|
return t.startsWith(r, n);
|
|
@@ -3042,7 +3056,7 @@ var fr = Fi ? (
|
|
|
3042
3056
|
function(t, r, n) {
|
|
3043
3057
|
return t.slice(n, n + r.length) === r;
|
|
3044
3058
|
}
|
|
3045
|
-
),
|
|
3059
|
+
), Rt = Gi ? String.fromCodePoint : (
|
|
3046
3060
|
// IE11
|
|
3047
3061
|
function() {
|
|
3048
3062
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3054,9 +3068,9 @@ var fr = Fi ? (
|
|
|
3054
3068
|
}
|
|
3055
3069
|
return n;
|
|
3056
3070
|
}
|
|
3057
|
-
),
|
|
3071
|
+
), pr = (
|
|
3058
3072
|
// native
|
|
3059
|
-
|
|
3073
|
+
$i ? Object.fromEntries : (
|
|
3060
3074
|
// Ponyfill
|
|
3061
3075
|
function(t) {
|
|
3062
3076
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3066,7 +3080,7 @@ var fr = Fi ? (
|
|
|
3066
3080
|
return r;
|
|
3067
3081
|
}
|
|
3068
3082
|
)
|
|
3069
|
-
),
|
|
3083
|
+
), en = ji ? (
|
|
3070
3084
|
// Native
|
|
3071
3085
|
function(t, r) {
|
|
3072
3086
|
return t.codePointAt(r);
|
|
@@ -3080,7 +3094,7 @@ var fr = Fi ? (
|
|
|
3080
3094
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3081
3095
|
}
|
|
3082
3096
|
}
|
|
3083
|
-
),
|
|
3097
|
+
), qi = Vi ? (
|
|
3084
3098
|
// Native
|
|
3085
3099
|
function(t) {
|
|
3086
3100
|
return t.trimStart();
|
|
@@ -3088,9 +3102,9 @@ var fr = Fi ? (
|
|
|
3088
3102
|
) : (
|
|
3089
3103
|
// Ponyfill
|
|
3090
3104
|
function(t) {
|
|
3091
|
-
return t.replace(
|
|
3105
|
+
return t.replace(Fi, "");
|
|
3092
3106
|
}
|
|
3093
|
-
),
|
|
3107
|
+
), Ji = zi ? (
|
|
3094
3108
|
// Native
|
|
3095
3109
|
function(t) {
|
|
3096
3110
|
return t.trimEnd();
|
|
@@ -3098,32 +3112,32 @@ var fr = Fi ? (
|
|
|
3098
3112
|
) : (
|
|
3099
3113
|
// Ponyfill
|
|
3100
3114
|
function(t) {
|
|
3101
|
-
return t.replace(
|
|
3115
|
+
return t.replace(Di, "");
|
|
3102
3116
|
}
|
|
3103
3117
|
);
|
|
3104
|
-
function
|
|
3118
|
+
function tn(e, t) {
|
|
3105
3119
|
return new RegExp(e, t);
|
|
3106
3120
|
}
|
|
3107
|
-
var
|
|
3108
|
-
if (
|
|
3109
|
-
var
|
|
3110
|
-
|
|
3121
|
+
var Ut;
|
|
3122
|
+
if (Nt) {
|
|
3123
|
+
var gr = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3124
|
+
Ut = function(t, r) {
|
|
3111
3125
|
var n;
|
|
3112
|
-
|
|
3113
|
-
var i =
|
|
3126
|
+
gr.lastIndex = r;
|
|
3127
|
+
var i = gr.exec(t);
|
|
3114
3128
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3115
3129
|
};
|
|
3116
3130
|
} else
|
|
3117
|
-
|
|
3131
|
+
Ut = function(t, r) {
|
|
3118
3132
|
for (var n = []; ; ) {
|
|
3119
|
-
var i =
|
|
3120
|
-
if (i === void 0 ||
|
|
3133
|
+
var i = en(t, r);
|
|
3134
|
+
if (i === void 0 || rn(i) || eo(i))
|
|
3121
3135
|
break;
|
|
3122
3136
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3123
3137
|
}
|
|
3124
|
-
return
|
|
3138
|
+
return Rt.apply(void 0, n);
|
|
3125
3139
|
};
|
|
3126
|
-
var
|
|
3140
|
+
var Qi = (
|
|
3127
3141
|
/** @class */
|
|
3128
3142
|
function() {
|
|
3129
3143
|
function e(t, r) {
|
|
@@ -3154,7 +3168,7 @@ var qi = (
|
|
|
3154
3168
|
if (n)
|
|
3155
3169
|
break;
|
|
3156
3170
|
return this.error(_.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
3157
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3171
|
+
} else if (o === 60 && !this.ignoreTag && Ft(this.peek() || 0)) {
|
|
3158
3172
|
var s = this.parseTag(t, r);
|
|
3159
3173
|
if (s.err)
|
|
3160
3174
|
return s;
|
|
@@ -3187,7 +3201,7 @@ var qi = (
|
|
|
3187
3201
|
return o;
|
|
3188
3202
|
var s = o.val, a = this.clonePosition();
|
|
3189
3203
|
if (this.bumpIf("</")) {
|
|
3190
|
-
if (this.isEOF() || !
|
|
3204
|
+
if (this.isEOF() || !Ft(this.char()))
|
|
3191
3205
|
return this.error(_.INVALID_TAG, w(a, this.clonePosition()));
|
|
3192
3206
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
3193
3207
|
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3205,7 +3219,7 @@ var qi = (
|
|
|
3205
3219
|
return this.error(_.INVALID_TAG, w(n, this.clonePosition()));
|
|
3206
3220
|
}, e.prototype.parseTagName = function() {
|
|
3207
3221
|
var t = this.offset();
|
|
3208
|
-
for (this.bump(); !this.isEOF() &&
|
|
3222
|
+
for (this.bump(); !this.isEOF() && Ki(this.char()); )
|
|
3209
3223
|
this.bump();
|
|
3210
3224
|
return this.message.slice(t, this.offset());
|
|
3211
3225
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3234,7 +3248,7 @@ var qi = (
|
|
|
3234
3248
|
};
|
|
3235
3249
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3236
3250
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3237
|
-
!
|
|
3251
|
+
!Yi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3238
3252
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3239
3253
|
if (this.isEOF() || this.char() !== 39)
|
|
3240
3254
|
return null;
|
|
@@ -3268,12 +3282,12 @@ var qi = (
|
|
|
3268
3282
|
r.push(n);
|
|
3269
3283
|
this.bump();
|
|
3270
3284
|
}
|
|
3271
|
-
return
|
|
3285
|
+
return Rt.apply(void 0, r);
|
|
3272
3286
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3273
3287
|
if (this.isEOF())
|
|
3274
3288
|
return null;
|
|
3275
3289
|
var n = this.char();
|
|
3276
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3290
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Rt(n));
|
|
3277
3291
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3278
3292
|
var n = this.clonePosition();
|
|
3279
3293
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3302,7 +3316,7 @@ var qi = (
|
|
|
3302
3316
|
return this.error(_.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3303
3317
|
}
|
|
3304
3318
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3305
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3319
|
+
var t = this.clonePosition(), r = this.offset(), n = Ut(this.message, r), i = r + n.length;
|
|
3306
3320
|
this.bumpTo(i);
|
|
3307
3321
|
var o = this.clonePosition(), s = w(t, o);
|
|
3308
3322
|
return { value: n, location: s };
|
|
@@ -3321,18 +3335,18 @@ var qi = (
|
|
|
3321
3335
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3322
3336
|
if (f.err)
|
|
3323
3337
|
return f;
|
|
3324
|
-
var d =
|
|
3338
|
+
var d = Ji(f.val);
|
|
3325
3339
|
if (d.length === 0)
|
|
3326
3340
|
return this.error(_.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
3327
3341
|
var b = w(c, this.clonePosition());
|
|
3328
3342
|
l = { style: d, styleLocation: b };
|
|
3329
3343
|
}
|
|
3330
|
-
var
|
|
3331
|
-
if (
|
|
3332
|
-
return
|
|
3344
|
+
var y = this.tryParseArgumentClose(i);
|
|
3345
|
+
if (y.err)
|
|
3346
|
+
return y;
|
|
3333
3347
|
var g = w(i, this.clonePosition());
|
|
3334
|
-
if (l &&
|
|
3335
|
-
var S =
|
|
3348
|
+
if (l && mr(l == null ? void 0 : l.style, "::", 0)) {
|
|
3349
|
+
var S = qi(l.style.slice(2));
|
|
3336
3350
|
if (a === "number") {
|
|
3337
3351
|
var f = this.parseNumberSkeletonFromString(S, l.styleLocation);
|
|
3338
3352
|
return f.err ? f : {
|
|
@@ -3343,12 +3357,12 @@ var qi = (
|
|
|
3343
3357
|
if (S.length === 0)
|
|
3344
3358
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
3345
3359
|
var C = S;
|
|
3346
|
-
this.locale && (C =
|
|
3360
|
+
this.locale && (C = Ri(S, this.locale));
|
|
3347
3361
|
var d = {
|
|
3348
3362
|
type: Oe.dateTime,
|
|
3349
3363
|
pattern: C,
|
|
3350
3364
|
location: l.styleLocation,
|
|
3351
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3365
|
+
parsedOptions: this.shouldParseSkeletons ? Ai(C) : {}
|
|
3352
3366
|
}, z = a === "date" ? T.date : T.time;
|
|
3353
3367
|
return {
|
|
3354
3368
|
val: { type: z, value: n, location: g, style: d },
|
|
@@ -3386,15 +3400,15 @@ var qi = (
|
|
|
3386
3400
|
var ne = this.tryParsePluralOrSelectOptions(t, a, r, U);
|
|
3387
3401
|
if (ne.err)
|
|
3388
3402
|
return ne;
|
|
3389
|
-
var
|
|
3390
|
-
if (
|
|
3391
|
-
return
|
|
3403
|
+
var y = this.tryParseArgumentClose(i);
|
|
3404
|
+
if (y.err)
|
|
3405
|
+
return y;
|
|
3392
3406
|
var H = w(i, this.clonePosition());
|
|
3393
3407
|
return a === "select" ? {
|
|
3394
3408
|
val: {
|
|
3395
3409
|
type: T.select,
|
|
3396
3410
|
value: n,
|
|
3397
|
-
options:
|
|
3411
|
+
options: pr(ne.val),
|
|
3398
3412
|
location: H
|
|
3399
3413
|
},
|
|
3400
3414
|
err: null
|
|
@@ -3402,7 +3416,7 @@ var qi = (
|
|
|
3402
3416
|
val: {
|
|
3403
3417
|
type: T.plural,
|
|
3404
3418
|
value: n,
|
|
3405
|
-
options:
|
|
3419
|
+
options: pr(ne.val),
|
|
3406
3420
|
offset: A,
|
|
3407
3421
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3408
3422
|
location: H
|
|
@@ -3453,7 +3467,7 @@ var qi = (
|
|
|
3453
3467
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3454
3468
|
var n = [];
|
|
3455
3469
|
try {
|
|
3456
|
-
n =
|
|
3470
|
+
n = Ci(t);
|
|
3457
3471
|
} catch (i) {
|
|
3458
3472
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3459
3473
|
}
|
|
@@ -3462,7 +3476,7 @@ var qi = (
|
|
|
3462
3476
|
type: Oe.number,
|
|
3463
3477
|
tokens: n,
|
|
3464
3478
|
location: r,
|
|
3465
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3479
|
+
parsedOptions: this.shouldParseSkeletons ? Ni(n) : {}
|
|
3466
3480
|
},
|
|
3467
3481
|
err: null
|
|
3468
3482
|
};
|
|
@@ -3484,16 +3498,16 @@ var qi = (
|
|
|
3484
3498
|
var b = this.clonePosition();
|
|
3485
3499
|
if (!this.bumpIf("{"))
|
|
3486
3500
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
|
|
3487
|
-
var
|
|
3488
|
-
if (
|
|
3489
|
-
return
|
|
3501
|
+
var y = this.parseMessage(t + 1, r, n);
|
|
3502
|
+
if (y.err)
|
|
3503
|
+
return y;
|
|
3490
3504
|
var g = this.tryParseArgumentClose(b);
|
|
3491
3505
|
if (g.err)
|
|
3492
3506
|
return g;
|
|
3493
3507
|
a.push([
|
|
3494
3508
|
l,
|
|
3495
3509
|
{
|
|
3496
|
-
value:
|
|
3510
|
+
value: y.val,
|
|
3497
3511
|
location: w(b, this.clonePosition())
|
|
3498
3512
|
}
|
|
3499
3513
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
|
|
@@ -3510,7 +3524,7 @@ var qi = (
|
|
|
3510
3524
|
break;
|
|
3511
3525
|
}
|
|
3512
3526
|
var u = w(i, this.clonePosition());
|
|
3513
|
-
return o ? (s *= n,
|
|
3527
|
+
return o ? (s *= n, Wi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3514
3528
|
}, e.prototype.offset = function() {
|
|
3515
3529
|
return this.position.offset;
|
|
3516
3530
|
}, e.prototype.isEOF = function() {
|
|
@@ -3525,7 +3539,7 @@ var qi = (
|
|
|
3525
3539
|
var t = this.position.offset;
|
|
3526
3540
|
if (t >= this.message.length)
|
|
3527
3541
|
throw Error("out of bound");
|
|
3528
|
-
var r =
|
|
3542
|
+
var r = en(this.message, t);
|
|
3529
3543
|
if (r === void 0)
|
|
3530
3544
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3531
3545
|
return r;
|
|
@@ -3544,7 +3558,7 @@ var qi = (
|
|
|
3544
3558
|
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);
|
|
3545
3559
|
}
|
|
3546
3560
|
}, e.prototype.bumpIf = function(t) {
|
|
3547
|
-
if (
|
|
3561
|
+
if (mr(this.message, t, this.offset())) {
|
|
3548
3562
|
for (var r = 0; r < t.length; r++)
|
|
3549
3563
|
this.bump();
|
|
3550
3564
|
return !0;
|
|
@@ -3566,7 +3580,7 @@ var qi = (
|
|
|
3566
3580
|
break;
|
|
3567
3581
|
}
|
|
3568
3582
|
}, e.prototype.bumpSpace = function() {
|
|
3569
|
-
for (; !this.isEOF() &&
|
|
3583
|
+
for (; !this.isEOF() && rn(this.char()); )
|
|
3570
3584
|
this.bump();
|
|
3571
3585
|
}, e.prototype.peek = function() {
|
|
3572
3586
|
if (this.isEOF())
|
|
@@ -3576,38 +3590,38 @@ var qi = (
|
|
|
3576
3590
|
}, e;
|
|
3577
3591
|
}()
|
|
3578
3592
|
);
|
|
3579
|
-
function
|
|
3593
|
+
function Ft(e) {
|
|
3580
3594
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3581
3595
|
}
|
|
3582
|
-
function
|
|
3583
|
-
return
|
|
3596
|
+
function Yi(e) {
|
|
3597
|
+
return Ft(e) || e === 47;
|
|
3584
3598
|
}
|
|
3585
|
-
function
|
|
3599
|
+
function Ki(e) {
|
|
3586
3600
|
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;
|
|
3587
3601
|
}
|
|
3588
|
-
function
|
|
3602
|
+
function rn(e) {
|
|
3589
3603
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3590
3604
|
}
|
|
3591
|
-
function
|
|
3605
|
+
function eo(e) {
|
|
3592
3606
|
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;
|
|
3593
3607
|
}
|
|
3594
|
-
function
|
|
3608
|
+
function Dt(e) {
|
|
3595
3609
|
e.forEach(function(t) {
|
|
3596
|
-
if (delete t.location,
|
|
3610
|
+
if (delete t.location, Xr(t) || Wr(t))
|
|
3597
3611
|
for (var r in t.options)
|
|
3598
|
-
delete t.options[r].location,
|
|
3612
|
+
delete t.options[r].location, Dt(t.options[r].value);
|
|
3599
3613
|
else
|
|
3600
|
-
|
|
3614
|
+
jr(t) && qr(t.style) || (Vr(t) || zr(t)) && Mt(t.style) ? delete t.style.location : Zr(t) && Dt(t.children);
|
|
3601
3615
|
});
|
|
3602
3616
|
}
|
|
3603
|
-
function
|
|
3617
|
+
function to(e, t) {
|
|
3604
3618
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3605
|
-
var r = new
|
|
3619
|
+
var r = new Qi(e, t).parse();
|
|
3606
3620
|
if (r.err) {
|
|
3607
3621
|
var n = SyntaxError(_[r.err.kind]);
|
|
3608
3622
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3609
3623
|
}
|
|
3610
|
-
return t != null && t.captureLocation ||
|
|
3624
|
+
return t != null && t.captureLocation || Dt(r.val), r.val;
|
|
3611
3625
|
}
|
|
3612
3626
|
var Le;
|
|
3613
3627
|
(function(e) {
|
|
@@ -3625,7 +3639,7 @@ var mt = (
|
|
|
3625
3639
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3626
3640
|
}, t;
|
|
3627
3641
|
}(Error)
|
|
3628
|
-
),
|
|
3642
|
+
), br = (
|
|
3629
3643
|
/** @class */
|
|
3630
3644
|
function(e) {
|
|
3631
3645
|
le(t, e);
|
|
@@ -3634,7 +3648,7 @@ var mt = (
|
|
|
3634
3648
|
}
|
|
3635
3649
|
return t;
|
|
3636
3650
|
}(mt)
|
|
3637
|
-
),
|
|
3651
|
+
), ro = (
|
|
3638
3652
|
/** @class */
|
|
3639
3653
|
function(e) {
|
|
3640
3654
|
le(t, e);
|
|
@@ -3643,7 +3657,7 @@ var mt = (
|
|
|
3643
3657
|
}
|
|
3644
3658
|
return t;
|
|
3645
3659
|
}(mt)
|
|
3646
|
-
),
|
|
3660
|
+
), no = (
|
|
3647
3661
|
/** @class */
|
|
3648
3662
|
function(e) {
|
|
3649
3663
|
le(t, e);
|
|
@@ -3656,17 +3670,17 @@ var mt = (
|
|
|
3656
3670
|
(function(e) {
|
|
3657
3671
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3658
3672
|
})(V || (V = {}));
|
|
3659
|
-
function
|
|
3673
|
+
function io(e) {
|
|
3660
3674
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3661
3675
|
var n = t[t.length - 1];
|
|
3662
3676
|
return !n || n.type !== V.literal || r.type !== V.literal ? t.push(r) : n.value += r.value, t;
|
|
3663
3677
|
}, []);
|
|
3664
3678
|
}
|
|
3665
|
-
function
|
|
3679
|
+
function oo(e) {
|
|
3666
3680
|
return typeof e == "function";
|
|
3667
3681
|
}
|
|
3668
3682
|
function at(e, t, r, n, i, o, s) {
|
|
3669
|
-
if (e.length === 1 &&
|
|
3683
|
+
if (e.length === 1 && cr(e[0]))
|
|
3670
3684
|
return [
|
|
3671
3685
|
{
|
|
3672
3686
|
type: V.literal,
|
|
@@ -3675,14 +3689,14 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3675
3689
|
];
|
|
3676
3690
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
|
3677
3691
|
var c = l[u];
|
|
3678
|
-
if (
|
|
3692
|
+
if (cr(c)) {
|
|
3679
3693
|
a.push({
|
|
3680
3694
|
type: V.literal,
|
|
3681
3695
|
value: c.value
|
|
3682
3696
|
});
|
|
3683
3697
|
continue;
|
|
3684
3698
|
}
|
|
3685
|
-
if (
|
|
3699
|
+
if (Hi(c)) {
|
|
3686
3700
|
typeof o == "number" && a.push({
|
|
3687
3701
|
type: V.literal,
|
|
3688
3702
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3691,44 +3705,44 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3691
3705
|
}
|
|
3692
3706
|
var f = c.value;
|
|
3693
3707
|
if (!(i && f in i))
|
|
3694
|
-
throw new
|
|
3708
|
+
throw new no(f, s);
|
|
3695
3709
|
var d = i[f];
|
|
3696
|
-
if (
|
|
3710
|
+
if (Ti(c)) {
|
|
3697
3711
|
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3698
3712
|
type: typeof d == "string" ? V.literal : V.object,
|
|
3699
3713
|
value: d
|
|
3700
3714
|
});
|
|
3701
3715
|
continue;
|
|
3702
3716
|
}
|
|
3703
|
-
if (
|
|
3704
|
-
var b = typeof c.style == "string" ? n.date[c.style] :
|
|
3717
|
+
if (Vr(c)) {
|
|
3718
|
+
var b = typeof c.style == "string" ? n.date[c.style] : Mt(c.style) ? c.style.parsedOptions : void 0;
|
|
3705
3719
|
a.push({
|
|
3706
3720
|
type: V.literal,
|
|
3707
3721
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3708
3722
|
});
|
|
3709
3723
|
continue;
|
|
3710
3724
|
}
|
|
3711
|
-
if (
|
|
3712
|
-
var b = typeof c.style == "string" ? n.time[c.style] :
|
|
3725
|
+
if (zr(c)) {
|
|
3726
|
+
var b = typeof c.style == "string" ? n.time[c.style] : Mt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3713
3727
|
a.push({
|
|
3714
3728
|
type: V.literal,
|
|
3715
3729
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3716
3730
|
});
|
|
3717
3731
|
continue;
|
|
3718
3732
|
}
|
|
3719
|
-
if (
|
|
3720
|
-
var b = typeof c.style == "string" ? n.number[c.style] :
|
|
3733
|
+
if (jr(c)) {
|
|
3734
|
+
var b = typeof c.style == "string" ? n.number[c.style] : qr(c.style) ? c.style.parsedOptions : void 0;
|
|
3721
3735
|
b && b.scale && (d = d * (b.scale || 1)), a.push({
|
|
3722
3736
|
type: V.literal,
|
|
3723
3737
|
value: r.getNumberFormat(t, b).format(d)
|
|
3724
3738
|
});
|
|
3725
3739
|
continue;
|
|
3726
3740
|
}
|
|
3727
|
-
if (
|
|
3728
|
-
var
|
|
3729
|
-
if (!
|
|
3730
|
-
throw new
|
|
3731
|
-
var C = at(
|
|
3741
|
+
if (Zr(c)) {
|
|
3742
|
+
var y = c.children, g = c.value, S = i[g];
|
|
3743
|
+
if (!oo(S))
|
|
3744
|
+
throw new ro(g, "function", s);
|
|
3745
|
+
var C = at(y, t, r, n, i, o), z = S(C.map(function(A) {
|
|
3732
3746
|
return A.value;
|
|
3733
3747
|
}));
|
|
3734
3748
|
Array.isArray(z) || (z = [z]), a.push.apply(a, z.map(function(A) {
|
|
@@ -3738,14 +3752,14 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3738
3752
|
};
|
|
3739
3753
|
}));
|
|
3740
3754
|
}
|
|
3741
|
-
if (
|
|
3755
|
+
if (Xr(c)) {
|
|
3742
3756
|
var R = c.options[d] || c.options.other;
|
|
3743
3757
|
if (!R)
|
|
3744
|
-
throw new
|
|
3758
|
+
throw new br(c.value, d, Object.keys(c.options), s);
|
|
3745
3759
|
a.push.apply(a, at(R.value, t, r, n, i));
|
|
3746
3760
|
continue;
|
|
3747
3761
|
}
|
|
3748
|
-
if (
|
|
3762
|
+
if (Wr(c)) {
|
|
3749
3763
|
var R = c.options["=".concat(d)];
|
|
3750
3764
|
if (!R) {
|
|
3751
3765
|
if (!Intl.PluralRules)
|
|
@@ -3756,24 +3770,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3756
3770
|
R = c.options[U] || c.options.other;
|
|
3757
3771
|
}
|
|
3758
3772
|
if (!R)
|
|
3759
|
-
throw new
|
|
3773
|
+
throw new br(c.value, d, Object.keys(c.options), s);
|
|
3760
3774
|
a.push.apply(a, at(R.value, t, r, n, i, d - (c.offset || 0)));
|
|
3761
3775
|
continue;
|
|
3762
3776
|
}
|
|
3763
3777
|
}
|
|
3764
|
-
return
|
|
3778
|
+
return io(a);
|
|
3765
3779
|
}
|
|
3766
|
-
function
|
|
3780
|
+
function so(e, t) {
|
|
3767
3781
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3768
3782
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3769
3783
|
}, {})) : e;
|
|
3770
3784
|
}
|
|
3771
|
-
function
|
|
3785
|
+
function ao(e, t) {
|
|
3772
3786
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3773
|
-
return r[n] =
|
|
3787
|
+
return r[n] = so(e[n], t[n]), r;
|
|
3774
3788
|
}, E({}, e)) : e;
|
|
3775
3789
|
}
|
|
3776
|
-
function
|
|
3790
|
+
function Pt(e) {
|
|
3777
3791
|
return {
|
|
3778
3792
|
create: function() {
|
|
3779
3793
|
return {
|
|
@@ -3787,39 +3801,39 @@ function St(e) {
|
|
|
3787
3801
|
}
|
|
3788
3802
|
};
|
|
3789
3803
|
}
|
|
3790
|
-
function
|
|
3804
|
+
function lo(e) {
|
|
3791
3805
|
return e === void 0 && (e = {
|
|
3792
3806
|
number: {},
|
|
3793
3807
|
dateTime: {},
|
|
3794
3808
|
pluralRules: {}
|
|
3795
3809
|
}), {
|
|
3796
|
-
getNumberFormat:
|
|
3810
|
+
getNumberFormat: Et(function() {
|
|
3797
3811
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3798
3812
|
r[n] = arguments[n];
|
|
3799
3813
|
return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3800
3814
|
}, {
|
|
3801
|
-
cache:
|
|
3802
|
-
strategy:
|
|
3815
|
+
cache: Pt(e.number),
|
|
3816
|
+
strategy: xt.variadic
|
|
3803
3817
|
}),
|
|
3804
|
-
getDateTimeFormat:
|
|
3818
|
+
getDateTimeFormat: Et(function() {
|
|
3805
3819
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3806
3820
|
r[n] = arguments[n];
|
|
3807
3821
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3808
3822
|
}, {
|
|
3809
|
-
cache:
|
|
3810
|
-
strategy:
|
|
3823
|
+
cache: Pt(e.dateTime),
|
|
3824
|
+
strategy: xt.variadic
|
|
3811
3825
|
}),
|
|
3812
|
-
getPluralRules:
|
|
3826
|
+
getPluralRules: Et(function() {
|
|
3813
3827
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3814
3828
|
r[n] = arguments[n];
|
|
3815
3829
|
return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3816
3830
|
}, {
|
|
3817
|
-
cache:
|
|
3818
|
-
strategy:
|
|
3831
|
+
cache: Pt(e.pluralRules),
|
|
3832
|
+
strategy: xt.variadic
|
|
3819
3833
|
})
|
|
3820
3834
|
};
|
|
3821
3835
|
}
|
|
3822
|
-
var
|
|
3836
|
+
var uo = (
|
|
3823
3837
|
/** @class */
|
|
3824
3838
|
function() {
|
|
3825
3839
|
function e(t, r, n, i) {
|
|
@@ -3851,13 +3865,13 @@ var ao = (
|
|
|
3851
3865
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3852
3866
|
var s = i || {};
|
|
3853
3867
|
s.formatters;
|
|
3854
|
-
var a =
|
|
3868
|
+
var a = $n(s, ["formatters"]);
|
|
3855
3869
|
this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
|
|
3856
3870
|
} else
|
|
3857
3871
|
this.ast = t;
|
|
3858
3872
|
if (!Array.isArray(this.ast))
|
|
3859
3873
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3860
|
-
this.formats =
|
|
3874
|
+
this.formats = ao(e.formats, n), this.formatters = i && i.formatters || lo(this.formatterCache);
|
|
3861
3875
|
}
|
|
3862
3876
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3863
3877
|
get: function() {
|
|
@@ -3870,7 +3884,7 @@ var ao = (
|
|
|
3870
3884
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3871
3885
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3872
3886
|
}
|
|
3873
|
-
}, e.__parse =
|
|
3887
|
+
}, e.__parse = to, e.formats = {
|
|
3874
3888
|
number: {
|
|
3875
3889
|
integer: {
|
|
3876
3890
|
maximumFractionDigits: 0
|
|
@@ -3931,7 +3945,7 @@ var ao = (
|
|
|
3931
3945
|
}, e;
|
|
3932
3946
|
}()
|
|
3933
3947
|
);
|
|
3934
|
-
function
|
|
3948
|
+
function co(e, t) {
|
|
3935
3949
|
if (t == null)
|
|
3936
3950
|
return;
|
|
3937
3951
|
if (t in e)
|
|
@@ -3952,92 +3966,92 @@ function lo(e, t) {
|
|
|
3952
3966
|
n = void 0;
|
|
3953
3967
|
return n;
|
|
3954
3968
|
}
|
|
3955
|
-
const ce = {},
|
|
3969
|
+
const ce = {}, ho = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), nn = (e, t) => {
|
|
3956
3970
|
if (t == null)
|
|
3957
3971
|
return;
|
|
3958
3972
|
if (t in ce && e in ce[t])
|
|
3959
3973
|
return ce[t][e];
|
|
3960
3974
|
const r = pt(t);
|
|
3961
3975
|
for (let n = 0; n < r.length; n++) {
|
|
3962
|
-
const i = r[n], o =
|
|
3976
|
+
const i = r[n], o = mo(i, e);
|
|
3963
3977
|
if (o)
|
|
3964
|
-
return
|
|
3978
|
+
return ho(e, t, o);
|
|
3965
3979
|
}
|
|
3966
3980
|
};
|
|
3967
|
-
let
|
|
3981
|
+
let zt;
|
|
3968
3982
|
const Ue = dt({});
|
|
3969
|
-
function
|
|
3970
|
-
return
|
|
3983
|
+
function fo(e) {
|
|
3984
|
+
return zt[e] || null;
|
|
3971
3985
|
}
|
|
3972
|
-
function
|
|
3973
|
-
return e in
|
|
3986
|
+
function on(e) {
|
|
3987
|
+
return e in zt;
|
|
3974
3988
|
}
|
|
3975
|
-
function
|
|
3976
|
-
if (!
|
|
3989
|
+
function mo(e, t) {
|
|
3990
|
+
if (!on(e))
|
|
3977
3991
|
return null;
|
|
3978
|
-
const r =
|
|
3979
|
-
return
|
|
3992
|
+
const r = fo(e);
|
|
3993
|
+
return co(r, t);
|
|
3980
3994
|
}
|
|
3981
|
-
function
|
|
3995
|
+
function po(e) {
|
|
3982
3996
|
if (e == null)
|
|
3983
3997
|
return;
|
|
3984
3998
|
const t = pt(e);
|
|
3985
3999
|
for (let r = 0; r < t.length; r++) {
|
|
3986
4000
|
const n = t[r];
|
|
3987
|
-
if (
|
|
4001
|
+
if (on(n))
|
|
3988
4002
|
return n;
|
|
3989
4003
|
}
|
|
3990
4004
|
}
|
|
3991
|
-
function
|
|
3992
|
-
delete ce[e], Ue.update((r) => (r[e] =
|
|
4005
|
+
function sn(e, ...t) {
|
|
4006
|
+
delete ce[e], Ue.update((r) => (r[e] = yi.all([r[e] || {}, ...t]), r));
|
|
3993
4007
|
}
|
|
3994
4008
|
Re(
|
|
3995
4009
|
[Ue],
|
|
3996
4010
|
([e]) => Object.keys(e)
|
|
3997
4011
|
);
|
|
3998
|
-
Ue.subscribe((e) =>
|
|
4012
|
+
Ue.subscribe((e) => zt = e);
|
|
3999
4013
|
const lt = {};
|
|
4000
|
-
function
|
|
4014
|
+
function go(e, t) {
|
|
4001
4015
|
lt[e].delete(t), lt[e].size === 0 && delete lt[e];
|
|
4002
4016
|
}
|
|
4003
|
-
function
|
|
4017
|
+
function an(e) {
|
|
4004
4018
|
return lt[e];
|
|
4005
4019
|
}
|
|
4006
|
-
function
|
|
4020
|
+
function bo(e) {
|
|
4007
4021
|
return pt(e).map((t) => {
|
|
4008
|
-
const r =
|
|
4022
|
+
const r = an(t);
|
|
4009
4023
|
return [t, r ? [...r] : []];
|
|
4010
4024
|
}).filter(([, t]) => t.length > 0);
|
|
4011
4025
|
}
|
|
4012
|
-
function
|
|
4026
|
+
function kt(e) {
|
|
4013
4027
|
return e == null ? !1 : pt(e).some(
|
|
4014
4028
|
(t) => {
|
|
4015
4029
|
var r;
|
|
4016
|
-
return (r =
|
|
4030
|
+
return (r = an(t)) == null ? void 0 : r.size;
|
|
4017
4031
|
}
|
|
4018
4032
|
);
|
|
4019
4033
|
}
|
|
4020
|
-
function
|
|
4034
|
+
function vo(e, t) {
|
|
4021
4035
|
return Promise.all(
|
|
4022
|
-
t.map((n) => (
|
|
4023
|
-
).then((n) =>
|
|
4036
|
+
t.map((n) => (go(e, n), n().then((i) => i.default || i)))
|
|
4037
|
+
).then((n) => sn(e, ...n));
|
|
4024
4038
|
}
|
|
4025
4039
|
const Ve = {};
|
|
4026
|
-
function
|
|
4027
|
-
if (!
|
|
4040
|
+
function ln(e) {
|
|
4041
|
+
if (!kt(e))
|
|
4028
4042
|
return e in Ve ? Ve[e] : Promise.resolve();
|
|
4029
|
-
const t =
|
|
4043
|
+
const t = bo(e);
|
|
4030
4044
|
return Ve[e] = Promise.all(
|
|
4031
4045
|
t.map(
|
|
4032
|
-
([r, n]) =>
|
|
4046
|
+
([r, n]) => vo(r, n)
|
|
4033
4047
|
)
|
|
4034
4048
|
).then(() => {
|
|
4035
|
-
if (
|
|
4036
|
-
return
|
|
4049
|
+
if (kt(e))
|
|
4050
|
+
return ln(e);
|
|
4037
4051
|
delete Ve[e];
|
|
4038
4052
|
}), Ve[e];
|
|
4039
4053
|
}
|
|
4040
|
-
const
|
|
4054
|
+
const yo = {
|
|
4041
4055
|
number: {
|
|
4042
4056
|
scientific: { notation: "scientific" },
|
|
4043
4057
|
engineering: { notation: "engineering" },
|
|
@@ -4066,57 +4080,57 @@ const bo = {
|
|
|
4066
4080
|
timeZoneName: "short"
|
|
4067
4081
|
}
|
|
4068
4082
|
}
|
|
4069
|
-
},
|
|
4083
|
+
}, _o = {
|
|
4070
4084
|
fallbackLocale: null,
|
|
4071
4085
|
loadingDelay: 200,
|
|
4072
|
-
formats:
|
|
4086
|
+
formats: yo,
|
|
4073
4087
|
warnOnMissingMessages: !0,
|
|
4074
4088
|
handleMissingMessage: void 0,
|
|
4075
4089
|
ignoreTag: !0
|
|
4076
|
-
},
|
|
4090
|
+
}, wo = _o;
|
|
4077
4091
|
function Me() {
|
|
4078
|
-
return
|
|
4079
|
-
}
|
|
4080
|
-
const
|
|
4081
|
-
var
|
|
4082
|
-
for (var r in t)
|
|
4083
|
-
|
|
4084
|
-
if (
|
|
4085
|
-
for (var r of
|
|
4086
|
-
|
|
4092
|
+
return wo;
|
|
4093
|
+
}
|
|
4094
|
+
const Tt = dt(!1);
|
|
4095
|
+
var Eo = Object.defineProperty, xo = Object.defineProperties, So = Object.getOwnPropertyDescriptors, vr = Object.getOwnPropertySymbols, Po = Object.prototype.hasOwnProperty, To = Object.prototype.propertyIsEnumerable, yr = (e, t, r) => t in e ? Eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ho = (e, t) => {
|
|
4096
|
+
for (var r in t || (t = {}))
|
|
4097
|
+
Po.call(t, r) && yr(e, r, t[r]);
|
|
4098
|
+
if (vr)
|
|
4099
|
+
for (var r of vr(t))
|
|
4100
|
+
To.call(t, r) && yr(e, r, t[r]);
|
|
4087
4101
|
return e;
|
|
4088
|
-
},
|
|
4089
|
-
let
|
|
4102
|
+
}, Bo = (e, t) => xo(e, So(t));
|
|
4103
|
+
let Gt;
|
|
4090
4104
|
const ct = dt(null);
|
|
4091
|
-
function
|
|
4105
|
+
function _r(e) {
|
|
4092
4106
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4093
4107
|
}
|
|
4094
4108
|
function pt(e, t = Me().fallbackLocale) {
|
|
4095
|
-
const r =
|
|
4096
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4109
|
+
const r = _r(e);
|
|
4110
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ..._r(t)])] : r;
|
|
4097
4111
|
}
|
|
4098
|
-
function
|
|
4099
|
-
return
|
|
4112
|
+
function ye() {
|
|
4113
|
+
return Gt != null ? Gt : void 0;
|
|
4100
4114
|
}
|
|
4101
4115
|
ct.subscribe((e) => {
|
|
4102
|
-
|
|
4116
|
+
Gt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4103
4117
|
});
|
|
4104
|
-
const
|
|
4105
|
-
if (e &&
|
|
4118
|
+
const Ao = (e) => {
|
|
4119
|
+
if (e && po(e) && kt(e)) {
|
|
4106
4120
|
const { loadingDelay: t } = Me();
|
|
4107
4121
|
let r;
|
|
4108
|
-
return typeof window != "undefined" &&
|
|
4109
|
-
() =>
|
|
4122
|
+
return typeof window != "undefined" && ye() != null && t ? r = window.setTimeout(
|
|
4123
|
+
() => Tt.set(!0),
|
|
4110
4124
|
t
|
|
4111
|
-
) :
|
|
4125
|
+
) : Tt.set(!0), ln(e).then(() => {
|
|
4112
4126
|
ct.set(e);
|
|
4113
4127
|
}).finally(() => {
|
|
4114
|
-
clearTimeout(r),
|
|
4128
|
+
clearTimeout(r), Tt.set(!1);
|
|
4115
4129
|
});
|
|
4116
4130
|
}
|
|
4117
4131
|
return ct.set(e);
|
|
4118
|
-
}, he =
|
|
4119
|
-
set:
|
|
4132
|
+
}, he = Bo(Ho({}, ct), {
|
|
4133
|
+
set: Ao
|
|
4120
4134
|
}), gt = (e) => {
|
|
4121
4135
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4122
4136
|
return (n) => {
|
|
@@ -4124,20 +4138,20 @@ const Ho = (e) => {
|
|
|
4124
4138
|
return i in t ? t[i] : t[i] = e(n);
|
|
4125
4139
|
};
|
|
4126
4140
|
};
|
|
4127
|
-
var
|
|
4141
|
+
var Io = Object.defineProperty, ht = Object.getOwnPropertySymbols, un = Object.prototype.hasOwnProperty, cn = Object.prototype.propertyIsEnumerable, wr = (e, t, r) => t in e ? Io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xt = (e, t) => {
|
|
4128
4142
|
for (var r in t || (t = {}))
|
|
4129
|
-
|
|
4143
|
+
un.call(t, r) && wr(e, r, t[r]);
|
|
4130
4144
|
if (ht)
|
|
4131
4145
|
for (var r of ht(t))
|
|
4132
|
-
|
|
4146
|
+
cn.call(t, r) && wr(e, r, t[r]);
|
|
4133
4147
|
return e;
|
|
4134
4148
|
}, Fe = (e, t) => {
|
|
4135
4149
|
var r = {};
|
|
4136
4150
|
for (var n in e)
|
|
4137
|
-
|
|
4151
|
+
un.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4138
4152
|
if (e != null && ht)
|
|
4139
4153
|
for (var n of ht(e))
|
|
4140
|
-
t.indexOf(n) < 0 &&
|
|
4154
|
+
t.indexOf(n) < 0 && cn.call(e, n) && (r[n] = e[n]);
|
|
4141
4155
|
return r;
|
|
4142
4156
|
};
|
|
4143
4157
|
const Ze = (e, t) => {
|
|
@@ -4145,21 +4159,21 @@ const Ze = (e, t) => {
|
|
|
4145
4159
|
if (e in r && t in r[e])
|
|
4146
4160
|
return r[e][t];
|
|
4147
4161
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4148
|
-
},
|
|
4162
|
+
}, Co = gt(
|
|
4149
4163
|
(e) => {
|
|
4150
4164
|
var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
|
|
4151
4165
|
if (r == null)
|
|
4152
4166
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4153
4167
|
return n && (i = Ze("number", n)), new Intl.NumberFormat(r, i);
|
|
4154
4168
|
}
|
|
4155
|
-
),
|
|
4169
|
+
), Oo = gt(
|
|
4156
4170
|
(e) => {
|
|
4157
4171
|
var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
|
|
4158
4172
|
if (r == null)
|
|
4159
4173
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4160
4174
|
return n ? i = Ze("date", n) : Object.keys(i).length === 0 && (i = Ze("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4161
4175
|
}
|
|
4162
|
-
),
|
|
4176
|
+
), Lo = gt(
|
|
4163
4177
|
(e) => {
|
|
4164
4178
|
var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
|
|
4165
4179
|
if (r == null)
|
|
@@ -4168,46 +4182,46 @@ const Ze = (e, t) => {
|
|
|
4168
4182
|
);
|
|
4169
4183
|
return n ? i = Ze("time", n) : Object.keys(i).length === 0 && (i = Ze("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4170
4184
|
}
|
|
4171
|
-
),
|
|
4185
|
+
), Mo = (e = {}) => {
|
|
4172
4186
|
var t = e, {
|
|
4173
|
-
locale: r =
|
|
4187
|
+
locale: r = ye()
|
|
4174
4188
|
} = t, n = Fe(t, [
|
|
4175
4189
|
"locale"
|
|
4176
4190
|
]);
|
|
4177
|
-
return
|
|
4178
|
-
},
|
|
4191
|
+
return Co(Xt({ locale: r }, n));
|
|
4192
|
+
}, No = (e = {}) => {
|
|
4179
4193
|
var t = e, {
|
|
4180
|
-
locale: r =
|
|
4194
|
+
locale: r = ye()
|
|
4181
4195
|
} = t, n = Fe(t, [
|
|
4182
4196
|
"locale"
|
|
4183
4197
|
]);
|
|
4184
|
-
return
|
|
4185
|
-
},
|
|
4198
|
+
return Oo(Xt({ locale: r }, n));
|
|
4199
|
+
}, Ro = (e = {}) => {
|
|
4186
4200
|
var t = e, {
|
|
4187
|
-
locale: r =
|
|
4201
|
+
locale: r = ye()
|
|
4188
4202
|
} = t, n = Fe(t, [
|
|
4189
4203
|
"locale"
|
|
4190
4204
|
]);
|
|
4191
|
-
return
|
|
4192
|
-
},
|
|
4205
|
+
return Lo(Xt({ locale: r }, n));
|
|
4206
|
+
}, Uo = gt(
|
|
4193
4207
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4194
|
-
(e, t =
|
|
4208
|
+
(e, t = ye()) => new uo(e, t, Me().formats, {
|
|
4195
4209
|
ignoreTag: Me().ignoreTag
|
|
4196
4210
|
})
|
|
4197
|
-
),
|
|
4211
|
+
), Fo = (e, t = {}) => {
|
|
4198
4212
|
var r, n, i, o;
|
|
4199
4213
|
let s = t;
|
|
4200
4214
|
typeof e == "object" && (s = e, e = s.id);
|
|
4201
4215
|
const {
|
|
4202
4216
|
values: a,
|
|
4203
|
-
locale: u =
|
|
4217
|
+
locale: u = ye(),
|
|
4204
4218
|
default: l
|
|
4205
4219
|
} = s;
|
|
4206
4220
|
if (u == null)
|
|
4207
4221
|
throw new Error(
|
|
4208
4222
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4209
4223
|
);
|
|
4210
|
-
let c =
|
|
4224
|
+
let c = nn(e, u);
|
|
4211
4225
|
if (!c)
|
|
4212
4226
|
c = (o = (i = (n = (r = Me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4213
4227
|
else if (typeof c != "string")
|
|
@@ -4218,7 +4232,7 @@ const Ze = (e, t) => {
|
|
|
4218
4232
|
return c;
|
|
4219
4233
|
let f = c;
|
|
4220
4234
|
try {
|
|
4221
|
-
f =
|
|
4235
|
+
f = Uo(c, u).format(a);
|
|
4222
4236
|
} catch (d) {
|
|
4223
4237
|
d instanceof Error && console.warn(
|
|
4224
4238
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4226,25 +4240,25 @@ const Ze = (e, t) => {
|
|
|
4226
4240
|
);
|
|
4227
4241
|
}
|
|
4228
4242
|
return f;
|
|
4229
|
-
},
|
|
4230
|
-
Re([he], () => Uo);
|
|
4231
|
-
Re([he], () => Fo);
|
|
4243
|
+
}, Do = (e, t) => Ro(t).format(e), ko = (e, t) => No(t).format(e), Go = (e, t) => Mo(t).format(e), $o = (e, t = ye()) => nn(e, t), jo = Re([he, Ue], () => Fo);
|
|
4232
4244
|
Re([he], () => Do);
|
|
4233
|
-
Re([he
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4245
|
+
Re([he], () => ko);
|
|
4246
|
+
Re([he], () => Go);
|
|
4247
|
+
Re([he, Ue], () => $o);
|
|
4248
|
+
window.emWidgets = { topic: ri };
|
|
4249
|
+
const Vo = (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));
|
|
4250
|
+
function zo({ withLocale: e, translations: t }) {
|
|
4237
4251
|
he.subscribe((r) => {
|
|
4238
4252
|
r == null && (Ue.set(t), he.set(e));
|
|
4239
4253
|
});
|
|
4240
4254
|
}
|
|
4241
|
-
function
|
|
4242
|
-
|
|
4255
|
+
function Er(e, t) {
|
|
4256
|
+
sn(e, t);
|
|
4243
4257
|
}
|
|
4244
|
-
function
|
|
4258
|
+
function Xo(e) {
|
|
4245
4259
|
he.set(e);
|
|
4246
4260
|
}
|
|
4247
|
-
const
|
|
4261
|
+
const xr = {
|
|
4248
4262
|
en: {
|
|
4249
4263
|
loginTitle: "Welcome",
|
|
4250
4264
|
loginSubtitle: "Don't have an account yet?",
|
|
@@ -4389,13 +4403,13 @@ const wr = {
|
|
|
4389
4403
|
successMessage: "Login successful"
|
|
4390
4404
|
}
|
|
4391
4405
|
};
|
|
4392
|
-
function
|
|
4406
|
+
function Wo(e, t) {
|
|
4393
4407
|
if (e) {
|
|
4394
4408
|
const r = document.createElement("style");
|
|
4395
4409
|
r.innerHTML = t, e.appendChild(r);
|
|
4396
4410
|
}
|
|
4397
4411
|
}
|
|
4398
|
-
function
|
|
4412
|
+
function Zo(e, t) {
|
|
4399
4413
|
const r = new URL(t);
|
|
4400
4414
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4401
4415
|
const i = document.createElement("style");
|
|
@@ -4404,7 +4418,7 @@ function Xo(e, t) {
|
|
|
4404
4418
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4405
4419
|
});
|
|
4406
4420
|
}
|
|
4407
|
-
function
|
|
4421
|
+
function qo(e, t, r) {
|
|
4408
4422
|
if (window.emMessageBus) {
|
|
4409
4423
|
const n = document.createElement("style");
|
|
4410
4424
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4424,18 +4438,18 @@ if (typeof window != "undefined") {
|
|
|
4424
4438
|
}
|
|
4425
4439
|
};
|
|
4426
4440
|
};
|
|
4427
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4441
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-De0U_8Hy.js").then(({ default: t }) => {
|
|
4428
4442
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4429
4443
|
});
|
|
4430
4444
|
}
|
|
4431
|
-
function
|
|
4432
|
-
|
|
4445
|
+
function Jo(e) {
|
|
4446
|
+
wn(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)}}');
|
|
4433
4447
|
}
|
|
4434
|
-
function
|
|
4448
|
+
function Sr(e) {
|
|
4435
4449
|
let t, r;
|
|
4436
4450
|
return {
|
|
4437
4451
|
c() {
|
|
4438
|
-
t = x("script"),
|
|
4452
|
+
t = x("script"), er(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4439
4453
|
e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
|
|
4440
4454
|
},
|
|
4441
4455
|
m(n, i) {
|
|
@@ -4443,7 +4457,7 @@ function Er(e) {
|
|
|
4443
4457
|
},
|
|
4444
4458
|
p(n, i) {
|
|
4445
4459
|
i[0] & /*captchakey*/
|
|
4446
|
-
2 && !
|
|
4460
|
+
2 && !er(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4447
4461
|
n[1]) && h(t, "src", r);
|
|
4448
4462
|
},
|
|
4449
4463
|
d(n) {
|
|
@@ -4451,12 +4465,12 @@ function Er(e) {
|
|
|
4451
4465
|
}
|
|
4452
4466
|
};
|
|
4453
4467
|
}
|
|
4454
|
-
function
|
|
4468
|
+
function Qo(e) {
|
|
4455
4469
|
let t, r, n;
|
|
4456
4470
|
function i(a, u) {
|
|
4457
4471
|
return (
|
|
4458
4472
|
/*startSmsValidation*/
|
|
4459
|
-
a[21] ?
|
|
4473
|
+
a[21] ? es : Ko
|
|
4460
4474
|
);
|
|
4461
4475
|
}
|
|
4462
4476
|
let o = i(e), s = o(e);
|
|
@@ -4478,7 +4492,7 @@ function qo(e) {
|
|
|
4478
4492
|
}
|
|
4479
4493
|
};
|
|
4480
4494
|
}
|
|
4481
|
-
function
|
|
4495
|
+
function Yo(e) {
|
|
4482
4496
|
let t;
|
|
4483
4497
|
return {
|
|
4484
4498
|
c() {
|
|
@@ -4493,7 +4507,7 @@ function Jo(e) {
|
|
|
4493
4507
|
}
|
|
4494
4508
|
};
|
|
4495
4509
|
}
|
|
4496
|
-
function
|
|
4510
|
+
function Ko(e) {
|
|
4497
4511
|
let t, r, n = (
|
|
4498
4512
|
/*$_*/
|
|
4499
4513
|
e[22]("loginTitle") + ""
|
|
@@ -4503,7 +4517,7 @@ function Qo(e) {
|
|
|
4503
4517
|
), u, l, c, f = (
|
|
4504
4518
|
/*$_*/
|
|
4505
4519
|
e[22]("loginSubtitleRegister") + ""
|
|
4506
|
-
), d, b,
|
|
4520
|
+
), d, b, y, g, S, C, z = (
|
|
4507
4521
|
/*$_*/
|
|
4508
4522
|
e[22]("loginUsername") + ""
|
|
4509
4523
|
), R, U, A, ne, H, oe, fe, J, ue, B, ie, X = (
|
|
@@ -4512,42 +4526,42 @@ function Qo(e) {
|
|
|
4512
4526
|
), De, qe, de, me, M, _e, Je, we, Ee, pe, ke, xe, Q, ge = (
|
|
4513
4527
|
/*$_*/
|
|
4514
4528
|
e[22]("loginButton") + ""
|
|
4515
|
-
), Se, Qe, be,
|
|
4529
|
+
), Se, Qe, be, ve = (
|
|
4516
4530
|
/*$_*/
|
|
4517
4531
|
e[22]("loginForgotPassword") + ""
|
|
4518
4532
|
), Ge, $e, Ye, F = (
|
|
4519
4533
|
/*invalidName*/
|
|
4520
|
-
e[14] &&
|
|
4534
|
+
e[14] && Pr(e)
|
|
4521
4535
|
);
|
|
4522
|
-
function Ke(
|
|
4536
|
+
function Ke(v, P) {
|
|
4523
4537
|
return (
|
|
4524
4538
|
/*isPasswordVisible*/
|
|
4525
|
-
|
|
4539
|
+
v[19] ? rs : ts
|
|
4526
4540
|
);
|
|
4527
4541
|
}
|
|
4528
4542
|
let Pe = Ke(e), Y = Pe(e), D = (
|
|
4529
4543
|
/*invalidPassword*/
|
|
4530
4544
|
e[15] && /*simplepasswordvalidation*/
|
|
4531
|
-
e[2] !== "true" &&
|
|
4545
|
+
e[2] !== "true" && Tr(e)
|
|
4532
4546
|
), k = (
|
|
4533
4547
|
/*invalidPassword*/
|
|
4534
4548
|
e[15] && /*simplepasswordvalidation*/
|
|
4535
|
-
e[2] === "true" &&
|
|
4549
|
+
e[2] === "true" && Hr(e)
|
|
4536
4550
|
), G = (
|
|
4537
4551
|
/*errorMessage*/
|
|
4538
|
-
e[16] &&
|
|
4552
|
+
e[16] && Br(e)
|
|
4539
4553
|
);
|
|
4540
4554
|
return {
|
|
4541
4555
|
c() {
|
|
4542
|
-
t = x("div"), r = x("h4"), i = N(n), o = j(), s = x("p"), u = N(a), l = j(), c = x("span"), d = N(f), b = j(),
|
|
4556
|
+
t = x("div"), r = x("h4"), i = N(n), o = j(), s = x("p"), u = N(a), l = j(), c = x("span"), d = N(f), b = j(), y = x("div"), g = x("form"), S = x("div"), C = x("label"), R = N(z), U = N(":"), A = x("span"), A.textContent = "*", ne = j(), H = x("input"), fe = j(), F && F.c(), ue = j(), B = x("div"), ie = x("label"), De = N(X), qe = N(":"), de = x("span"), de.textContent = "*", me = j(), M = x("input"), Je = j(), Y.c(), we = j(), D && D.c(), Ee = j(), k && k.c(), ke = j(), G && G.c(), xe = j(), Q = x("button"), Se = N(ge), Qe = j(), be = x("button"), Ge = N(ve), h(r, "class", "FormHeaderTitle"), h(c, "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", oe = /*savecredentials*/
|
|
4543
4557
|
e[6] ? "username email" : "off"), H.required = !0, h(S, "class", J = "UserContainer " + /*invalidName*/
|
|
4544
4558
|
(e[14] ? "InvalidField" : "")), h(de, "class", "FormRequired"), h(ie, "for", "current-password"), h(M, "type", "password"), h(M, "name", "current-password"), h(M, "id", "current-password"), h(M, "autocomplete", _e = /*savecredentials*/
|
|
4545
4559
|
e[6] ? "current-password" : "off"), h(M, "aria-describedby", "password-constraints"), M.required = !0, h(B, "class", pe = "PasswordContainer " + /*invalidPassword*/
|
|
4546
4560
|
(e[15] ? "InvalidField" : "")), h(Q, "class", "SignInButton"), Q.disabled = /*isFormDataInvalid*/
|
|
4547
|
-
e[20], h(Q, "id", "signin-button"), h(be, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(
|
|
4561
|
+
e[20], h(Q, "id", "signin-button"), h(be, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
|
|
4548
4562
|
},
|
|
4549
|
-
m(
|
|
4550
|
-
L(
|
|
4563
|
+
m(v, P) {
|
|
4564
|
+
L(v, t, P), m(t, r), m(r, i), m(t, o), m(t, s), m(s, u), m(s, l), m(s, c), m(c, d), L(v, b, P), L(v, y, P), m(y, g), m(g, S), m(S, C), m(C, R), m(C, U), m(C, A), m(S, ne), m(S, H), rt(
|
|
4551
4565
|
H,
|
|
4552
4566
|
/*userValue*/
|
|
4553
4567
|
e[12]
|
|
@@ -4600,57 +4614,57 @@ function Qo(e) {
|
|
|
4600
4614
|
)
|
|
4601
4615
|
], $e = !0);
|
|
4602
4616
|
},
|
|
4603
|
-
p(
|
|
4617
|
+
p(v, P) {
|
|
4604
4618
|
P[0] & /*$_*/
|
|
4605
4619
|
4194304 && n !== (n = /*$_*/
|
|
4606
|
-
|
|
4620
|
+
v[22]("loginTitle") + "") && re(i, n), P[0] & /*$_*/
|
|
4607
4621
|
4194304 && a !== (a = /*$_*/
|
|
4608
|
-
|
|
4622
|
+
v[22]("loginSubtitle") + "") && re(u, a), P[0] & /*$_*/
|
|
4609
4623
|
4194304 && f !== (f = /*$_*/
|
|
4610
|
-
|
|
4624
|
+
v[22]("loginSubtitleRegister") + "") && re(d, f), P[0] & /*$_*/
|
|
4611
4625
|
4194304 && z !== (z = /*$_*/
|
|
4612
|
-
|
|
4626
|
+
v[22]("loginUsername") + "") && re(R, z), P[0] & /*savecredentials*/
|
|
4613
4627
|
64 && oe !== (oe = /*savecredentials*/
|
|
4614
|
-
|
|
4628
|
+
v[6] ? "username email" : "off") && h(H, "autocomplete", oe), P[0] & /*userValue*/
|
|
4615
4629
|
4096 && H.value !== /*userValue*/
|
|
4616
|
-
|
|
4630
|
+
v[12] && rt(
|
|
4617
4631
|
H,
|
|
4618
4632
|
/*userValue*/
|
|
4619
|
-
|
|
4633
|
+
v[12]
|
|
4620
4634
|
), /*invalidName*/
|
|
4621
|
-
|
|
4635
|
+
v[14] ? F ? F.p(v, P) : (F = Pr(v), F.c(), F.m(S, null)) : F && (F.d(1), F = null), P[0] & /*invalidName*/
|
|
4622
4636
|
16384 && J !== (J = "UserContainer " + /*invalidName*/
|
|
4623
|
-
(
|
|
4637
|
+
(v[14] ? "InvalidField" : "")) && h(S, "class", J), P[0] & /*$_*/
|
|
4624
4638
|
4194304 && X !== (X = /*$_*/
|
|
4625
|
-
|
|
4639
|
+
v[22]("loginPassword") + "") && re(De, X), P[0] & /*savecredentials*/
|
|
4626
4640
|
64 && _e !== (_e = /*savecredentials*/
|
|
4627
|
-
|
|
4641
|
+
v[6] ? "current-password" : "off") && h(M, "autocomplete", _e), P[0] & /*userPassword*/
|
|
4628
4642
|
8192 && M.value !== /*userPassword*/
|
|
4629
|
-
|
|
4643
|
+
v[13] && rt(
|
|
4630
4644
|
M,
|
|
4631
4645
|
/*userPassword*/
|
|
4632
|
-
|
|
4633
|
-
), Pe === (Pe = Ke(
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4646
|
+
v[13]
|
|
4647
|
+
), Pe === (Pe = Ke(v)) && Y ? Y.p(v, P) : (Y.d(1), Y = Pe(v), Y && (Y.c(), Y.m(B, we))), /*invalidPassword*/
|
|
4648
|
+
v[15] && /*simplepasswordvalidation*/
|
|
4649
|
+
v[2] !== "true" ? D ? D.p(v, P) : (D = Tr(v), D.c(), D.m(B, Ee)) : D && (D.d(1), D = null), /*invalidPassword*/
|
|
4650
|
+
v[15] && /*simplepasswordvalidation*/
|
|
4651
|
+
v[2] === "true" ? k ? k.p(v, P) : (k = Hr(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), P[0] & /*invalidPassword*/
|
|
4638
4652
|
32768 && pe !== (pe = "PasswordContainer " + /*invalidPassword*/
|
|
4639
|
-
(
|
|
4640
|
-
|
|
4653
|
+
(v[15] ? "InvalidField" : "")) && h(B, "class", pe), /*errorMessage*/
|
|
4654
|
+
v[16] ? G ? G.p(v, P) : (G = Br(v), G.c(), G.m(g, xe)) : G && (G.d(1), G = null), P[0] & /*$_*/
|
|
4641
4655
|
4194304 && ge !== (ge = /*$_*/
|
|
4642
|
-
|
|
4656
|
+
v[22]("loginButton") + "") && re(Se, ge), P[0] & /*isFormDataInvalid*/
|
|
4643
4657
|
1048576 && (Q.disabled = /*isFormDataInvalid*/
|
|
4644
|
-
|
|
4645
|
-
4194304 &&
|
|
4646
|
-
|
|
4658
|
+
v[20]), P[0] & /*$_*/
|
|
4659
|
+
4194304 && ve !== (ve = /*$_*/
|
|
4660
|
+
v[22]("loginForgotPassword") + "") && re(Ge, ve);
|
|
4647
4661
|
},
|
|
4648
|
-
d(
|
|
4649
|
-
|
|
4662
|
+
d(v) {
|
|
4663
|
+
v && (I(t), I(b), I(y)), F && F.d(), e[36](null), Y.d(), D && D.d(), k && k.d(), G && G.d(), $e = !1, Ne(Ye);
|
|
4650
4664
|
}
|
|
4651
4665
|
};
|
|
4652
4666
|
}
|
|
4653
|
-
function
|
|
4667
|
+
function es(e) {
|
|
4654
4668
|
let t;
|
|
4655
4669
|
return {
|
|
4656
4670
|
c() {
|
|
@@ -4744,7 +4758,7 @@ function Yo(e) {
|
|
|
4744
4758
|
}
|
|
4745
4759
|
};
|
|
4746
4760
|
}
|
|
4747
|
-
function
|
|
4761
|
+
function Pr(e) {
|
|
4748
4762
|
let t, r = (
|
|
4749
4763
|
/*$_*/
|
|
4750
4764
|
e[22]("loginUsernameError") + ""
|
|
@@ -4766,7 +4780,7 @@ function xr(e) {
|
|
|
4766
4780
|
}
|
|
4767
4781
|
};
|
|
4768
4782
|
}
|
|
4769
|
-
function
|
|
4783
|
+
function ts(e) {
|
|
4770
4784
|
let t, r, n, i, o, s, a, u, l;
|
|
4771
4785
|
return {
|
|
4772
4786
|
c() {
|
|
@@ -4786,27 +4800,27 @@ function Ko(e) {
|
|
|
4786
4800
|
}
|
|
4787
4801
|
};
|
|
4788
4802
|
}
|
|
4789
|
-
function
|
|
4790
|
-
let t, r, n, i, o, s, a, u, l, c, f, d, b,
|
|
4803
|
+
function rs(e) {
|
|
4804
|
+
let t, r, n, i, o, s, a, u, l, c, f, d, b, y, g;
|
|
4791
4805
|
return {
|
|
4792
4806
|
c() {
|
|
4793
4807
|
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"), u = O("path"), l = O("path"), c = 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(u, "class", "a"), h(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(u, "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(c, "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");
|
|
4794
4808
|
},
|
|
4795
4809
|
m(S, C) {
|
|
4796
|
-
L(S, t, C), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, u), m(a, l), m(o, c), m(c, f), m(c, d), m(o, b),
|
|
4810
|
+
L(S, t, C), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, u), m(a, l), m(o, c), m(c, f), m(c, d), m(o, b), y || (g = se(
|
|
4797
4811
|
t,
|
|
4798
4812
|
"click",
|
|
4799
4813
|
/*click_handler_1*/
|
|
4800
4814
|
e[37]
|
|
4801
|
-
),
|
|
4815
|
+
), y = !0);
|
|
4802
4816
|
},
|
|
4803
4817
|
p: Z,
|
|
4804
4818
|
d(S) {
|
|
4805
|
-
S && I(t),
|
|
4819
|
+
S && I(t), y = !1, g();
|
|
4806
4820
|
}
|
|
4807
4821
|
};
|
|
4808
4822
|
}
|
|
4809
|
-
function
|
|
4823
|
+
function Tr(e) {
|
|
4810
4824
|
let t, r = (
|
|
4811
4825
|
/*$_*/
|
|
4812
4826
|
e[22]("loginPasswordError") + ""
|
|
@@ -4828,7 +4842,7 @@ function Sr(e) {
|
|
|
4828
4842
|
}
|
|
4829
4843
|
};
|
|
4830
4844
|
}
|
|
4831
|
-
function
|
|
4845
|
+
function Hr(e) {
|
|
4832
4846
|
let t, r = (
|
|
4833
4847
|
/*$_*/
|
|
4834
4848
|
e[22]("loginSimplePasswordError") + ""
|
|
@@ -4850,7 +4864,7 @@ function Pr(e) {
|
|
|
4850
4864
|
}
|
|
4851
4865
|
};
|
|
4852
4866
|
}
|
|
4853
|
-
function
|
|
4867
|
+
function Br(e) {
|
|
4854
4868
|
let t, r;
|
|
4855
4869
|
return {
|
|
4856
4870
|
c() {
|
|
@@ -4875,21 +4889,21 @@ function Tr(e) {
|
|
|
4875
4889
|
}
|
|
4876
4890
|
};
|
|
4877
4891
|
}
|
|
4878
|
-
function
|
|
4892
|
+
function ns(e) {
|
|
4879
4893
|
let t, r, n, i, o, s = (
|
|
4880
4894
|
/*captchakey*/
|
|
4881
|
-
e[1] &&
|
|
4895
|
+
e[1] && Sr(e)
|
|
4882
4896
|
);
|
|
4883
4897
|
function a(c, f) {
|
|
4884
4898
|
return (
|
|
4885
4899
|
/*isLoading*/
|
|
4886
|
-
c[17] ?
|
|
4900
|
+
c[17] ? Yo : Qo
|
|
4887
4901
|
);
|
|
4888
4902
|
}
|
|
4889
4903
|
let u = a(e), l = u(e);
|
|
4890
4904
|
return {
|
|
4891
4905
|
c() {
|
|
4892
|
-
s && s.c(), t =
|
|
4906
|
+
s && s.c(), t = Sn(), r = j(), n = x("div"), i = j(), o = x("div"), l.c(), h(n, "class", "g-recaptcha"), h(
|
|
4893
4907
|
n,
|
|
4894
4908
|
"data-sitekey",
|
|
4895
4909
|
/*captchakey*/
|
|
@@ -4901,7 +4915,7 @@ function ts(e) {
|
|
|
4901
4915
|
},
|
|
4902
4916
|
p(c, f) {
|
|
4903
4917
|
/*captchakey*/
|
|
4904
|
-
c[1] ? s ? s.p(c, f) : (s =
|
|
4918
|
+
c[1] ? s ? s.p(c, f) : (s = Sr(c), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
|
|
4905
4919
|
2 && h(
|
|
4906
4920
|
n,
|
|
4907
4921
|
"data-sitekey",
|
|
@@ -4916,27 +4930,27 @@ function ts(e) {
|
|
|
4916
4930
|
}
|
|
4917
4931
|
};
|
|
4918
4932
|
}
|
|
4919
|
-
let
|
|
4920
|
-
function
|
|
4933
|
+
let is = "Please use this code {0} to activate your account";
|
|
4934
|
+
function os(e, t, r) {
|
|
4921
4935
|
let n;
|
|
4922
|
-
|
|
4923
|
-
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { mbsource: l } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t,
|
|
4936
|
+
_n(e, jo, (p) => r(22, n = p));
|
|
4937
|
+
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { mbsource: l } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, S = !1, C, z = !1, R = window.navigator.userAgent, U = "", A = "", ne = { username: "", password: "" }, H = !1, oe = !1, fe = "", J = !1, ue, B = !1, ie = !0, X, De = +localStorage.getItem("smsTimer") || 0, qe = Date.now() / 1e3 - De, de = localStorage.getItem("smsValidation") == "true" && qe < 60, me = {
|
|
4924
4938
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4925
4939
|
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,
|
|
4926
4940
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
4927
4941
|
};
|
|
4928
|
-
|
|
4942
|
+
zo({ withLocale: "en", translations: {} });
|
|
4929
4943
|
const M = () => {
|
|
4930
4944
|
fetch(d).then((q) => q.json()).then((q) => {
|
|
4931
4945
|
Object.keys(q).forEach((te) => {
|
|
4932
|
-
|
|
4946
|
+
Er(te, q[te]);
|
|
4933
4947
|
});
|
|
4934
4948
|
}).catch((q) => {
|
|
4935
4949
|
console.log(q);
|
|
4936
4950
|
});
|
|
4937
4951
|
};
|
|
4938
|
-
Object.keys(
|
|
4939
|
-
|
|
4952
|
+
Object.keys(xr).forEach((p) => {
|
|
4953
|
+
Er(p, xr[p]);
|
|
4940
4954
|
});
|
|
4941
4955
|
const _e = () => new Promise((p, q) => {
|
|
4942
4956
|
grecaptcha.ready(() => {
|
|
@@ -4968,7 +4982,7 @@ function ns(e, t, r) {
|
|
|
4968
4982
|
r(14, H = !ge(U)), r(20, ie = !(!H && !oe && A));
|
|
4969
4983
|
}, be = () => {
|
|
4970
4984
|
r(15, oe = !Se(A)), r(20, ie = !(!H && !oe && U));
|
|
4971
|
-
},
|
|
4985
|
+
}, ve = (p) => {
|
|
4972
4986
|
if (p.data)
|
|
4973
4987
|
switch (p.data.type) {
|
|
4974
4988
|
case "ModalLoader":
|
|
@@ -4985,16 +4999,16 @@ function ns(e, t, r) {
|
|
|
4985
4999
|
typeof gtag == "function" && gtag("event", "Login", {
|
|
4986
5000
|
context: "GeneralPlayerLoginRegisterPage"
|
|
4987
5001
|
});
|
|
4988
|
-
}, $e = (
|
|
4989
|
-
let
|
|
5002
|
+
}, $e = (Wt) => et(this, [Wt], function* ({ username: p, password: q, token: te }) {
|
|
5003
|
+
let Zt = {
|
|
4990
5004
|
"Content-Type": "application/json",
|
|
4991
5005
|
"g-recaptcha-response": te
|
|
4992
|
-
}, bt = { username: p, password: q },
|
|
5006
|
+
}, bt = { username: p, password: q }, dn = {
|
|
4993
5007
|
method: "POST",
|
|
4994
|
-
headers:
|
|
5008
|
+
headers: Zt,
|
|
4995
5009
|
body: JSON.stringify(bt)
|
|
4996
5010
|
};
|
|
4997
|
-
fetch(`${i}/v1/player/login/player`,
|
|
5011
|
+
fetch(`${i}/v1/player/login/player`, dn).then(($) => ($.status >= 500 && (r(16, fe = "Server might not be responsing"), r(17, J = !1), window.postMessage(
|
|
4998
5012
|
{
|
|
4999
5013
|
type: "WidgetNotification",
|
|
5000
5014
|
data: {
|
|
@@ -5004,7 +5018,7 @@ function ns(e, t, r) {
|
|
|
5004
5018
|
},
|
|
5005
5019
|
window.location.href
|
|
5006
5020
|
)), $.json())).then(($) => {
|
|
5007
|
-
if ($.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && $.code === 4 && (r(8,
|
|
5021
|
+
if ($.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && $.code === 4 && (r(8, y = $.detail.userId), r(10, C = $.detail.phonePrefix + $.detail.phone), r(21, de = !0), Ye(C, y), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: y, number: C }))), $.sessionID) {
|
|
5008
5022
|
if (window.postMessage(
|
|
5009
5023
|
{
|
|
5010
5024
|
type: "UserSessionID",
|
|
@@ -5040,11 +5054,11 @@ function ns(e, t, r) {
|
|
|
5040
5054
|
window.location.href
|
|
5041
5055
|
);
|
|
5042
5056
|
} catch (je) {
|
|
5043
|
-
let
|
|
5044
|
-
r(16, fe =
|
|
5057
|
+
let qt = $.error.substring($.error.indexOf("errorMessage") + 13, $.error.length);
|
|
5058
|
+
r(16, fe = qt), r(17, J = !1), window.postMessage(
|
|
5045
5059
|
{
|
|
5046
5060
|
type: "WidgetNotification",
|
|
5047
|
-
data: { type: "error", message:
|
|
5061
|
+
data: { type: "error", message: qt }
|
|
5048
5062
|
},
|
|
5049
5063
|
window.location.href
|
|
5050
5064
|
);
|
|
@@ -5061,13 +5075,13 @@ function ns(e, t, r) {
|
|
|
5061
5075
|
},
|
|
5062
5076
|
body: JSON.stringify({
|
|
5063
5077
|
userId: q,
|
|
5064
|
-
messageTemplate:
|
|
5078
|
+
messageTemplate: is,
|
|
5065
5079
|
destination: p
|
|
5066
5080
|
})
|
|
5067
|
-
}),
|
|
5081
|
+
}), Wt = yield te.json();
|
|
5068
5082
|
if (te.ok) {
|
|
5069
|
-
r(9, g =
|
|
5070
|
-
let
|
|
5083
|
+
r(9, g = Wt.id);
|
|
5084
|
+
let Zt = Wt.maxValidationAttempts;
|
|
5071
5085
|
S = !1;
|
|
5072
5086
|
} else
|
|
5073
5087
|
throw S = !0, new Error("Failed to fetch");
|
|
@@ -5075,10 +5089,10 @@ function ns(e, t, r) {
|
|
|
5075
5089
|
S = !0, console.error(te);
|
|
5076
5090
|
}
|
|
5077
5091
|
}), F = () => {
|
|
5078
|
-
|
|
5092
|
+
Xo(s);
|
|
5079
5093
|
};
|
|
5080
|
-
|
|
5081
|
-
window.removeEventListener("message",
|
|
5094
|
+
Bn(() => (window.addEventListener("message", ve, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Vo(R)), () => {
|
|
5095
|
+
window.removeEventListener("message", ve);
|
|
5082
5096
|
}));
|
|
5083
5097
|
const Ke = () => ke();
|
|
5084
5098
|
function Pe() {
|
|
@@ -5092,8 +5106,8 @@ function ns(e, t, r) {
|
|
|
5092
5106
|
ue = p, r(18, ue);
|
|
5093
5107
|
});
|
|
5094
5108
|
}
|
|
5095
|
-
const k = () => Ee(), G = () => we(),
|
|
5096
|
-
function
|
|
5109
|
+
const k = () => Ee(), G = () => we(), v = (p) => Q(p), P = (p) => xe(p);
|
|
5110
|
+
function fn(p) {
|
|
5097
5111
|
ut[p ? "unshift" : "push"](() => {
|
|
5098
5112
|
X = p, r(7, X);
|
|
5099
5113
|
});
|
|
@@ -5104,9 +5118,9 @@ function ns(e, t, r) {
|
|
|
5104
5118
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
5105
5119
|
1073741825 && i && s && F(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5106
5120
|
4 && u && Je(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5107
|
-
144 && c && X &&
|
|
5108
|
-
160 && f && X &&
|
|
5109
|
-
136 && l && X &&
|
|
5121
|
+
144 && c && X && Wo(X, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5122
|
+
160 && f && X && Zo(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5123
|
+
136 && l && X && qo(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
5110
5124
|
2 && d && M();
|
|
5111
5125
|
}, [
|
|
5112
5126
|
i,
|
|
@@ -5117,7 +5131,7 @@ function ns(e, t, r) {
|
|
|
5117
5131
|
f,
|
|
5118
5132
|
b,
|
|
5119
5133
|
X,
|
|
5120
|
-
|
|
5134
|
+
y,
|
|
5121
5135
|
g,
|
|
5122
5136
|
C,
|
|
5123
5137
|
z,
|
|
@@ -5148,19 +5162,19 @@ function ns(e, t, r) {
|
|
|
5148
5162
|
D,
|
|
5149
5163
|
k,
|
|
5150
5164
|
G,
|
|
5151
|
-
|
|
5165
|
+
v,
|
|
5152
5166
|
P,
|
|
5153
|
-
|
|
5167
|
+
fn
|
|
5154
5168
|
];
|
|
5155
5169
|
}
|
|
5156
|
-
class
|
|
5170
|
+
class hn extends kn {
|
|
5157
5171
|
constructor(t) {
|
|
5158
|
-
super(),
|
|
5172
|
+
super(), Fn(
|
|
5159
5173
|
this,
|
|
5160
5174
|
t,
|
|
5175
|
+
os,
|
|
5161
5176
|
ns,
|
|
5162
|
-
|
|
5163
|
-
Br,
|
|
5177
|
+
Ir,
|
|
5164
5178
|
{
|
|
5165
5179
|
endpoint: 0,
|
|
5166
5180
|
captchakey: 1,
|
|
@@ -5173,7 +5187,7 @@ class ln extends Un {
|
|
|
5173
5187
|
translationurl: 32,
|
|
5174
5188
|
savecredentials: 6
|
|
5175
5189
|
},
|
|
5176
|
-
|
|
5190
|
+
Jo,
|
|
5177
5191
|
[-1, -1]
|
|
5178
5192
|
);
|
|
5179
5193
|
}
|
|
@@ -5238,24 +5252,24 @@ class ln extends Un {
|
|
|
5238
5252
|
this.$$set({ savecredentials: t }), ee();
|
|
5239
5253
|
}
|
|
5240
5254
|
}
|
|
5241
|
-
|
|
5242
|
-
const
|
|
5255
|
+
Dn(hn, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
|
|
5256
|
+
const as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5243
5257
|
__proto__: null,
|
|
5244
|
-
default:
|
|
5258
|
+
default: hn
|
|
5245
5259
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5246
5260
|
export {
|
|
5247
5261
|
he as $,
|
|
5248
|
-
|
|
5249
|
-
|
|
5262
|
+
as as G,
|
|
5263
|
+
kn as S,
|
|
5250
5264
|
Ue as a,
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5265
|
+
sn as b,
|
|
5266
|
+
Dn as c,
|
|
5267
|
+
wn as d,
|
|
5254
5268
|
x as e,
|
|
5255
5269
|
ee as f,
|
|
5256
5270
|
j as g,
|
|
5257
5271
|
h,
|
|
5258
|
-
|
|
5272
|
+
Fn as i,
|
|
5259
5273
|
L as j,
|
|
5260
5274
|
m as k,
|
|
5261
5275
|
rt as l,
|
|
@@ -5263,14 +5277,14 @@ export {
|
|
|
5263
5277
|
re as n,
|
|
5264
5278
|
Z as o,
|
|
5265
5279
|
I as p,
|
|
5266
|
-
|
|
5280
|
+
_n as q,
|
|
5267
5281
|
Ne as r,
|
|
5268
|
-
|
|
5282
|
+
Ir as s,
|
|
5269
5283
|
N as t,
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5284
|
+
Bn as u,
|
|
5285
|
+
Zo as v,
|
|
5286
|
+
qo as w,
|
|
5287
|
+
ut as x,
|
|
5274
5288
|
Wo as y,
|
|
5275
|
-
|
|
5289
|
+
jo as z
|
|
5276
5290
|
};
|