@everymatrix/general-player-login-form 1.55.0 → 1.56.0
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/{GeneralPlayerLoginForm-DnwXmexh.js → GeneralPlayerLoginForm-BRVTxLCa.js} +1028 -1025
- package/components/GeneralPlayerLoginForm-C2_RNyby.cjs +5 -0
- package/components/{GeneralPlayerLoginForm-DjD9wSdK.js → GeneralPlayerLoginForm-I1NYdDOX.js} +990 -987
- package/components/GeneralPlayerSmsVerificationForm-9gKc_VsM.cjs +1 -0
- package/components/{GeneralPlayerSmsVerificationForm-ClUWo_HF.js → GeneralPlayerSmsVerificationForm-C7wZcrhZ.js} +182 -189
- package/components/{GeneralPlayerSmsVerificationForm-B6d2Y3hF.js → GeneralPlayerSmsVerificationForm-JKaIZ8Iu.js} +183 -190
- package/es2015/general-player-login-form.cjs +1 -1
- package/es2015/general-player-login-form.js +1 -1
- package/esnext/general-player-login-form.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerLoginForm-BoIsFJsw.cjs +0 -5
- package/components/GeneralPlayerSmsVerificationForm-BmimxoUw.cjs +0 -1
package/components/{GeneralPlayerLoginForm-DjD9wSdK.js → GeneralPlayerLoginForm-I1NYdDOX.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function Z() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function yr(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function jt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function Me(e) {
|
|
10
|
+
e.forEach(yr);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Dt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function _r(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let tt;
|
|
19
|
-
function
|
|
19
|
+
function Vt(e, t) {
|
|
20
20
|
return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function tn(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function Er(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,24 +31,20 @@ function Pr(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function rn(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(Er(t, r));
|
|
36
36
|
}
|
|
37
|
-
const cn = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
|
|
38
|
-
// @ts-ignore Node typings have this
|
|
39
|
-
global
|
|
40
|
-
);
|
|
41
37
|
function m(e, t) {
|
|
42
38
|
e.appendChild(t);
|
|
43
39
|
}
|
|
44
|
-
function
|
|
45
|
-
const n =
|
|
40
|
+
function nn(e, t, r) {
|
|
41
|
+
const n = on(e);
|
|
46
42
|
if (!n.getElementById(t)) {
|
|
47
|
-
const i =
|
|
48
|
-
i.id = t, i.textContent = r,
|
|
43
|
+
const i = x("style");
|
|
44
|
+
i.id = t, i.textContent = r, sn(n, i);
|
|
49
45
|
}
|
|
50
46
|
}
|
|
51
|
-
function
|
|
47
|
+
function on(e) {
|
|
52
48
|
if (!e) return document;
|
|
53
49
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
54
50
|
return t && /** @type {ShadowRoot} */
|
|
@@ -57,45 +53,45 @@ function fn(e) {
|
|
|
57
53
|
t
|
|
58
54
|
) : e.ownerDocument;
|
|
59
55
|
}
|
|
60
|
-
function
|
|
56
|
+
function sn(e, t) {
|
|
61
57
|
return m(
|
|
62
58
|
/** @type {Document} */
|
|
63
59
|
e.head || e,
|
|
64
60
|
t
|
|
65
61
|
), t.sheet;
|
|
66
62
|
}
|
|
67
|
-
function
|
|
63
|
+
function M(e, t, r) {
|
|
68
64
|
e.insertBefore(t, r || null);
|
|
69
65
|
}
|
|
70
66
|
function I(e) {
|
|
71
67
|
e.parentNode && e.parentNode.removeChild(e);
|
|
72
68
|
}
|
|
73
|
-
function
|
|
69
|
+
function x(e) {
|
|
74
70
|
return document.createElement(e);
|
|
75
71
|
}
|
|
76
|
-
function
|
|
72
|
+
function L(e) {
|
|
77
73
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
78
74
|
}
|
|
79
75
|
function N(e) {
|
|
80
76
|
return document.createTextNode(e);
|
|
81
77
|
}
|
|
82
|
-
function
|
|
78
|
+
function j() {
|
|
83
79
|
return N(" ");
|
|
84
80
|
}
|
|
85
|
-
function
|
|
81
|
+
function an() {
|
|
86
82
|
return N("");
|
|
87
83
|
}
|
|
88
|
-
function
|
|
84
|
+
function oe(e, t, r, n) {
|
|
89
85
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
90
86
|
}
|
|
91
87
|
function h(e, t, r) {
|
|
92
88
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
93
89
|
}
|
|
94
|
-
function
|
|
90
|
+
function W(e, t, r) {
|
|
95
91
|
const n = t.toLowerCase();
|
|
96
92
|
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);
|
|
97
93
|
}
|
|
98
|
-
function
|
|
94
|
+
function ln(e) {
|
|
99
95
|
return Array.from(e.childNodes);
|
|
100
96
|
}
|
|
101
97
|
function te(e, t) {
|
|
@@ -105,7 +101,7 @@ function te(e, t) {
|
|
|
105
101
|
function rt(e, t) {
|
|
106
102
|
e.value = t ?? "";
|
|
107
103
|
}
|
|
108
|
-
function
|
|
104
|
+
function un(e) {
|
|
109
105
|
const t = {};
|
|
110
106
|
return e.childNodes.forEach(
|
|
111
107
|
/** @param {Element} node */
|
|
@@ -114,85 +110,85 @@ function gn(e) {
|
|
|
114
110
|
}
|
|
115
111
|
), t;
|
|
116
112
|
}
|
|
117
|
-
let
|
|
118
|
-
function
|
|
119
|
-
|
|
113
|
+
let ze;
|
|
114
|
+
function Ve(e) {
|
|
115
|
+
ze = e;
|
|
120
116
|
}
|
|
121
|
-
function
|
|
122
|
-
if (!
|
|
123
|
-
return
|
|
117
|
+
function cn() {
|
|
118
|
+
if (!ze) throw new Error("Function called outside component initialization");
|
|
119
|
+
return ze;
|
|
124
120
|
}
|
|
125
|
-
function
|
|
126
|
-
|
|
121
|
+
function hn(e) {
|
|
122
|
+
cn().$$.on_mount.push(e);
|
|
127
123
|
}
|
|
128
|
-
const
|
|
129
|
-
let
|
|
130
|
-
const
|
|
131
|
-
let
|
|
132
|
-
function
|
|
133
|
-
|
|
124
|
+
const He = [], ut = [];
|
|
125
|
+
let Be = [];
|
|
126
|
+
const zt = [], fn = /* @__PURE__ */ Promise.resolve();
|
|
127
|
+
let St = !1;
|
|
128
|
+
function dn() {
|
|
129
|
+
St || (St = !0, fn.then(K));
|
|
134
130
|
}
|
|
135
|
-
function
|
|
136
|
-
|
|
131
|
+
function Pt(e) {
|
|
132
|
+
Be.push(e);
|
|
137
133
|
}
|
|
138
134
|
const bt = /* @__PURE__ */ new Set();
|
|
139
|
-
let
|
|
140
|
-
function
|
|
141
|
-
if (
|
|
135
|
+
let Pe = 0;
|
|
136
|
+
function K() {
|
|
137
|
+
if (Pe !== 0)
|
|
142
138
|
return;
|
|
143
|
-
const e =
|
|
139
|
+
const e = ze;
|
|
144
140
|
do {
|
|
145
141
|
try {
|
|
146
|
-
for (;
|
|
147
|
-
const t = Pe
|
|
148
|
-
|
|
142
|
+
for (; Pe < He.length; ) {
|
|
143
|
+
const t = He[Pe];
|
|
144
|
+
Pe++, Ve(t), mn(t.$$);
|
|
149
145
|
}
|
|
150
146
|
} catch (t) {
|
|
151
|
-
throw
|
|
147
|
+
throw He.length = 0, Pe = 0, t;
|
|
152
148
|
}
|
|
153
|
-
for (
|
|
154
|
-
for (let t = 0; t <
|
|
155
|
-
const r =
|
|
149
|
+
for (Ve(null), He.length = 0, Pe = 0; ut.length; ) ut.pop()();
|
|
150
|
+
for (let t = 0; t < Be.length; t += 1) {
|
|
151
|
+
const r = Be[t];
|
|
156
152
|
bt.has(r) || (bt.add(r), r());
|
|
157
153
|
}
|
|
158
|
-
|
|
159
|
-
} while (
|
|
160
|
-
for (;
|
|
161
|
-
|
|
162
|
-
|
|
154
|
+
Be.length = 0;
|
|
155
|
+
} while (He.length);
|
|
156
|
+
for (; zt.length; )
|
|
157
|
+
zt.pop()();
|
|
158
|
+
St = !1, bt.clear(), Ve(e);
|
|
163
159
|
}
|
|
164
|
-
function
|
|
160
|
+
function mn(e) {
|
|
165
161
|
if (e.fragment !== null) {
|
|
166
|
-
e.update(),
|
|
162
|
+
e.update(), Me(e.before_update);
|
|
167
163
|
const t = e.dirty;
|
|
168
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
164
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pt);
|
|
169
165
|
}
|
|
170
166
|
}
|
|
171
|
-
function
|
|
167
|
+
function pn(e) {
|
|
172
168
|
const t = [], r = [];
|
|
173
|
-
|
|
169
|
+
Be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Be = t;
|
|
174
170
|
}
|
|
175
|
-
const
|
|
176
|
-
function
|
|
177
|
-
e && e.i && (
|
|
171
|
+
const gn = /* @__PURE__ */ new Set();
|
|
172
|
+
function bn(e, t) {
|
|
173
|
+
e && e.i && (gn.delete(e), e.i(t));
|
|
178
174
|
}
|
|
179
|
-
function
|
|
175
|
+
function vn(e, t, r) {
|
|
180
176
|
const { fragment: n, after_update: i } = e.$$;
|
|
181
|
-
n && n.m(t, r),
|
|
182
|
-
const o = e.$$.on_mount.map(
|
|
183
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
184
|
-
}), i.forEach(
|
|
177
|
+
n && n.m(t, r), Pt(() => {
|
|
178
|
+
const o = e.$$.on_mount.map(yr).filter(Dt);
|
|
179
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Me(o), e.$$.on_mount = [];
|
|
180
|
+
}), i.forEach(Pt);
|
|
185
181
|
}
|
|
186
|
-
function
|
|
182
|
+
function yn(e, t) {
|
|
187
183
|
const r = e.$$;
|
|
188
|
-
r.fragment !== null && (
|
|
184
|
+
r.fragment !== null && (pn(r.after_update), Me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
189
185
|
}
|
|
190
|
-
function
|
|
191
|
-
e.$$.dirty[0] === -1 && (
|
|
186
|
+
function _n(e, t) {
|
|
187
|
+
e.$$.dirty[0] === -1 && (He.push(e), dn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
192
188
|
}
|
|
193
|
-
function
|
|
194
|
-
const c =
|
|
195
|
-
|
|
189
|
+
function En(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
190
|
+
const c = ze;
|
|
191
|
+
Ve(e);
|
|
196
192
|
const l = e.$$ = {
|
|
197
193
|
fragment: null,
|
|
198
194
|
ctx: [],
|
|
@@ -200,7 +196,7 @@ function Bn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
200
196
|
props: o,
|
|
201
197
|
update: Z,
|
|
202
198
|
not_equal: i,
|
|
203
|
-
bound:
|
|
199
|
+
bound: jt(),
|
|
204
200
|
// lifecycle
|
|
205
201
|
on_mount: [],
|
|
206
202
|
on_destroy: [],
|
|
@@ -209,7 +205,7 @@ function Bn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
209
205
|
after_update: [],
|
|
210
206
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
211
207
|
// everything else
|
|
212
|
-
callbacks:
|
|
208
|
+
callbacks: jt(),
|
|
213
209
|
dirty: a,
|
|
214
210
|
skip_bound: !1,
|
|
215
211
|
root: t.target || c.$$.root
|
|
@@ -218,19 +214,19 @@ function Bn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
218
214
|
let u = !1;
|
|
219
215
|
if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
|
|
220
216
|
const y = b.length ? b[0] : d;
|
|
221
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u &&
|
|
222
|
-
}) : [], l.update(), u = !0,
|
|
217
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u && _n(e, f)), d;
|
|
218
|
+
}) : [], l.update(), u = !0, Me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
223
219
|
if (t.hydrate) {
|
|
224
|
-
const f =
|
|
220
|
+
const f = ln(t.target);
|
|
225
221
|
l.fragment && l.fragment.l(f), f.forEach(I);
|
|
226
222
|
} else
|
|
227
223
|
l.fragment && l.fragment.c();
|
|
228
|
-
t.intro &&
|
|
224
|
+
t.intro && bn(e.$$.fragment), vn(e, t.target, t.anchor), K();
|
|
229
225
|
}
|
|
230
|
-
|
|
226
|
+
Ve(c);
|
|
231
227
|
}
|
|
232
|
-
let
|
|
233
|
-
typeof HTMLElement == "function" && (
|
|
228
|
+
let wr;
|
|
229
|
+
typeof HTMLElement == "function" && (wr = class extends HTMLElement {
|
|
234
230
|
/** The Svelte component constructor */
|
|
235
231
|
$$ctor;
|
|
236
232
|
/** Slots */
|
|
@@ -272,14 +268,14 @@ typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
|
|
|
272
268
|
let o;
|
|
273
269
|
return {
|
|
274
270
|
c: function() {
|
|
275
|
-
o =
|
|
271
|
+
o = x("slot"), i !== "default" && h(o, "name", i);
|
|
276
272
|
},
|
|
277
273
|
/**
|
|
278
274
|
* @param {HTMLElement} target
|
|
279
275
|
* @param {HTMLElement} [anchor]
|
|
280
276
|
*/
|
|
281
277
|
m: function(c, l) {
|
|
282
|
-
|
|
278
|
+
M(c, o, l);
|
|
283
279
|
},
|
|
284
280
|
d: function(c) {
|
|
285
281
|
c && I(o);
|
|
@@ -289,7 +285,7 @@ typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
|
|
|
289
285
|
};
|
|
290
286
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
291
287
|
return;
|
|
292
|
-
const t = {}, r =
|
|
288
|
+
const t = {}, r = un(this);
|
|
293
289
|
for (const i of this.$$s)
|
|
294
290
|
i in r && (t[i] = [e(i)]);
|
|
295
291
|
for (const i of this.attributes) {
|
|
@@ -376,8 +372,8 @@ function ot(e, t, r, n) {
|
|
|
376
372
|
return t;
|
|
377
373
|
}
|
|
378
374
|
}
|
|
379
|
-
function
|
|
380
|
-
let s = class extends
|
|
375
|
+
function wn(e, t, r, n, i, o) {
|
|
376
|
+
let s = class extends wr {
|
|
381
377
|
constructor() {
|
|
382
378
|
super(e, r, i), this.$$p_d = t;
|
|
383
379
|
}
|
|
@@ -405,7 +401,7 @@ function An(e, t, r, n, i, o) {
|
|
|
405
401
|
}), e.element = /** @type {any} */
|
|
406
402
|
s, s;
|
|
407
403
|
}
|
|
408
|
-
class
|
|
404
|
+
class xn {
|
|
409
405
|
/**
|
|
410
406
|
* ### PRIVATE API
|
|
411
407
|
*
|
|
@@ -424,7 +420,7 @@ class In {
|
|
|
424
420
|
$$set = void 0;
|
|
425
421
|
/** @returns {void} */
|
|
426
422
|
$destroy() {
|
|
427
|
-
|
|
423
|
+
yn(this, 1), this.$destroy = Z;
|
|
428
424
|
}
|
|
429
425
|
/**
|
|
430
426
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -433,7 +429,7 @@ class In {
|
|
|
433
429
|
* @returns {() => void}
|
|
434
430
|
*/
|
|
435
431
|
$on(t, r) {
|
|
436
|
-
if (!
|
|
432
|
+
if (!Dt(r))
|
|
437
433
|
return Z;
|
|
438
434
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
439
435
|
return n.push(r), () => {
|
|
@@ -446,22 +442,22 @@ class In {
|
|
|
446
442
|
* @returns {void}
|
|
447
443
|
*/
|
|
448
444
|
$set(t) {
|
|
449
|
-
this.$$set && !
|
|
445
|
+
this.$$set && !tn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
450
446
|
}
|
|
451
447
|
}
|
|
452
|
-
const
|
|
453
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
454
|
-
var
|
|
455
|
-
return
|
|
448
|
+
const Sn = "4";
|
|
449
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sn);
|
|
450
|
+
var Tt = function(e, t) {
|
|
451
|
+
return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
456
452
|
r.__proto__ = n;
|
|
457
453
|
} || function(r, n) {
|
|
458
454
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
459
|
-
},
|
|
455
|
+
}, Tt(e, t);
|
|
460
456
|
};
|
|
461
|
-
function
|
|
457
|
+
function ae(e, t) {
|
|
462
458
|
if (typeof t != "function" && t !== null)
|
|
463
459
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
464
|
-
|
|
460
|
+
Tt(e, t);
|
|
465
461
|
function r() {
|
|
466
462
|
this.constructor = e;
|
|
467
463
|
}
|
|
@@ -476,7 +472,7 @@ var w = function() {
|
|
|
476
472
|
return t;
|
|
477
473
|
}, w.apply(this, arguments);
|
|
478
474
|
};
|
|
479
|
-
function
|
|
475
|
+
function Pn(e, t) {
|
|
480
476
|
var r = {};
|
|
481
477
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
482
478
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -484,7 +480,7 @@ function On(e, t) {
|
|
|
484
480
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
485
481
|
return r;
|
|
486
482
|
}
|
|
487
|
-
function
|
|
483
|
+
function Ht(e) {
|
|
488
484
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
489
485
|
if (r) return r.call(e);
|
|
490
486
|
if (e && typeof e.length == "number") return {
|
|
@@ -494,7 +490,7 @@ function Bt(e) {
|
|
|
494
490
|
};
|
|
495
491
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
496
492
|
}
|
|
497
|
-
function
|
|
493
|
+
function Bt(e, t) {
|
|
498
494
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
499
495
|
if (!r) return e;
|
|
500
496
|
var n = r.call(e), i, o = [], s;
|
|
@@ -511,21 +507,21 @@ function At(e, t) {
|
|
|
511
507
|
}
|
|
512
508
|
return o;
|
|
513
509
|
}
|
|
514
|
-
function
|
|
510
|
+
function Ae(e, t, r) {
|
|
515
511
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
516
512
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
517
513
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
518
514
|
}
|
|
519
|
-
function
|
|
515
|
+
function se(e) {
|
|
520
516
|
return typeof e == "function";
|
|
521
517
|
}
|
|
522
|
-
function
|
|
518
|
+
function xr(e) {
|
|
523
519
|
var t = function(n) {
|
|
524
520
|
Error.call(n), n.stack = new Error().stack;
|
|
525
521
|
}, r = e(t);
|
|
526
522
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
527
523
|
}
|
|
528
|
-
var vt =
|
|
524
|
+
var vt = xr(function(e) {
|
|
529
525
|
return function(r) {
|
|
530
526
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
531
527
|
` + r.map(function(n, i) {
|
|
@@ -534,7 +530,7 @@ var vt = Hr(function(e) {
|
|
|
534
530
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
535
531
|
};
|
|
536
532
|
});
|
|
537
|
-
function
|
|
533
|
+
function At(e, t) {
|
|
538
534
|
if (e) {
|
|
539
535
|
var r = e.indexOf(t);
|
|
540
536
|
0 <= r && e.splice(r, 1);
|
|
@@ -552,7 +548,7 @@ var ft = function() {
|
|
|
552
548
|
if (s)
|
|
553
549
|
if (this._parentage = null, Array.isArray(s))
|
|
554
550
|
try {
|
|
555
|
-
for (var a =
|
|
551
|
+
for (var a = Ht(s), c = a.next(); !c.done; c = a.next()) {
|
|
556
552
|
var l = c.value;
|
|
557
553
|
l.remove(this);
|
|
558
554
|
}
|
|
@@ -568,7 +564,7 @@ var ft = function() {
|
|
|
568
564
|
else
|
|
569
565
|
s.remove(this);
|
|
570
566
|
var u = this.initialTeardown;
|
|
571
|
-
if (
|
|
567
|
+
if (se(u))
|
|
572
568
|
try {
|
|
573
569
|
u();
|
|
574
570
|
} catch (g) {
|
|
@@ -578,12 +574,12 @@ var ft = function() {
|
|
|
578
574
|
if (f) {
|
|
579
575
|
this._finalizers = null;
|
|
580
576
|
try {
|
|
581
|
-
for (var d =
|
|
577
|
+
for (var d = Ht(f), b = d.next(); !b.done; b = d.next()) {
|
|
582
578
|
var y = b.value;
|
|
583
579
|
try {
|
|
584
|
-
|
|
580
|
+
Xt(y);
|
|
585
581
|
} catch (g) {
|
|
586
|
-
o = o ?? [], g instanceof vt ? o =
|
|
582
|
+
o = o ?? [], g instanceof vt ? o = Ae(Ae([], Bt(o)), Bt(g.errors)) : o.push(g);
|
|
587
583
|
}
|
|
588
584
|
}
|
|
589
585
|
} catch (g) {
|
|
@@ -603,7 +599,7 @@ var ft = function() {
|
|
|
603
599
|
var r;
|
|
604
600
|
if (t && t !== this)
|
|
605
601
|
if (this.closed)
|
|
606
|
-
|
|
602
|
+
Xt(t);
|
|
607
603
|
else {
|
|
608
604
|
if (t instanceof e) {
|
|
609
605
|
if (t.closed || t._hasParent(this))
|
|
@@ -620,56 +616,52 @@ var ft = function() {
|
|
|
620
616
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
621
617
|
}, e.prototype._removeParent = function(t) {
|
|
622
618
|
var r = this._parentage;
|
|
623
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
619
|
+
r === t ? this._parentage = null : Array.isArray(r) && At(r, t);
|
|
624
620
|
}, e.prototype.remove = function(t) {
|
|
625
621
|
var r = this._finalizers;
|
|
626
|
-
r &&
|
|
622
|
+
r && At(r, t), t instanceof e && t._removeParent(this);
|
|
627
623
|
}, e.EMPTY = function() {
|
|
628
624
|
var t = new e();
|
|
629
625
|
return t.closed = !0, t;
|
|
630
626
|
}(), e;
|
|
631
|
-
}(),
|
|
632
|
-
function
|
|
633
|
-
return e instanceof ft || e && "closed" in e &&
|
|
627
|
+
}(), Sr = ft.EMPTY;
|
|
628
|
+
function Pr(e) {
|
|
629
|
+
return e instanceof ft || e && "closed" in e && se(e.remove) && se(e.add) && se(e.unsubscribe);
|
|
634
630
|
}
|
|
635
|
-
function
|
|
636
|
-
|
|
637
|
-
}
|
|
638
|
-
var
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
Promise: void 0,
|
|
642
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
643
|
-
useDeprecatedNextContext: !1
|
|
644
|
-
}, Ln = {
|
|
631
|
+
function Xt(e) {
|
|
632
|
+
se(e) ? e() : e.unsubscribe();
|
|
633
|
+
}
|
|
634
|
+
var Tn = {
|
|
635
|
+
Promise: void 0
|
|
636
|
+
}, Hn = {
|
|
645
637
|
setTimeout: function(e, t) {
|
|
646
638
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
647
639
|
r[n - 2] = arguments[n];
|
|
648
|
-
return setTimeout.apply(void 0,
|
|
640
|
+
return setTimeout.apply(void 0, Ae([e, t], Bt(r)));
|
|
649
641
|
},
|
|
650
642
|
clearTimeout: function(e) {
|
|
651
643
|
return clearTimeout(e);
|
|
652
644
|
},
|
|
653
645
|
delegate: void 0
|
|
654
646
|
};
|
|
655
|
-
function
|
|
656
|
-
|
|
647
|
+
function Bn(e) {
|
|
648
|
+
Hn.setTimeout(function() {
|
|
657
649
|
throw e;
|
|
658
650
|
});
|
|
659
651
|
}
|
|
660
|
-
function
|
|
652
|
+
function Wt() {
|
|
661
653
|
}
|
|
662
654
|
function st(e) {
|
|
663
655
|
e();
|
|
664
656
|
}
|
|
665
|
-
var
|
|
666
|
-
|
|
657
|
+
var Tr = function(e) {
|
|
658
|
+
ae(t, e);
|
|
667
659
|
function t(r) {
|
|
668
660
|
var n = e.call(this) || this;
|
|
669
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
661
|
+
return n.isStopped = !1, r ? (n.destination = r, Pr(r) && r.add(n)) : n.destination = Cn, n;
|
|
670
662
|
}
|
|
671
663
|
return t.create = function(r, n, i) {
|
|
672
|
-
return new
|
|
664
|
+
return new It(r, n, i);
|
|
673
665
|
}, t.prototype.next = function(r) {
|
|
674
666
|
this.isStopped || this._next(r);
|
|
675
667
|
}, t.prototype.error = function(r) {
|
|
@@ -693,11 +685,7 @@ var Cr = function(e) {
|
|
|
693
685
|
this.unsubscribe();
|
|
694
686
|
}
|
|
695
687
|
}, t;
|
|
696
|
-
}(ft),
|
|
697
|
-
function yt(e, t) {
|
|
698
|
-
return Nn.call(e, t);
|
|
699
|
-
}
|
|
700
|
-
var Rn = function() {
|
|
688
|
+
}(ft), An = function() {
|
|
701
689
|
function e(t) {
|
|
702
690
|
this.partialObserver = t;
|
|
703
691
|
}
|
|
@@ -728,55 +716,43 @@ var Rn = function() {
|
|
|
728
716
|
nt(r);
|
|
729
717
|
}
|
|
730
718
|
}, e;
|
|
731
|
-
}(),
|
|
732
|
-
|
|
719
|
+
}(), It = function(e) {
|
|
720
|
+
ae(t, e);
|
|
733
721
|
function t(r, n, i) {
|
|
734
722
|
var o = e.call(this) || this, s;
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
};
|
|
741
|
-
else {
|
|
742
|
-
var a;
|
|
743
|
-
o && Ir.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
744
|
-
return o.unsubscribe();
|
|
745
|
-
}, s = {
|
|
746
|
-
next: r.next && yt(r.next, a),
|
|
747
|
-
error: r.error && yt(r.error, a),
|
|
748
|
-
complete: r.complete && yt(r.complete, a)
|
|
749
|
-
}) : s = r;
|
|
750
|
-
}
|
|
751
|
-
return o.destination = new Rn(s), o;
|
|
723
|
+
return se(r) || !r ? s = {
|
|
724
|
+
next: r ?? void 0,
|
|
725
|
+
error: n ?? void 0,
|
|
726
|
+
complete: i ?? void 0
|
|
727
|
+
} : s = r, o.destination = new An(s), o;
|
|
752
728
|
}
|
|
753
729
|
return t;
|
|
754
|
-
}(
|
|
730
|
+
}(Tr);
|
|
755
731
|
function nt(e) {
|
|
756
|
-
|
|
732
|
+
Bn(e);
|
|
757
733
|
}
|
|
758
|
-
function
|
|
734
|
+
function In(e) {
|
|
759
735
|
throw e;
|
|
760
736
|
}
|
|
761
|
-
var
|
|
737
|
+
var Cn = {
|
|
762
738
|
closed: !0,
|
|
763
|
-
next:
|
|
764
|
-
error:
|
|
765
|
-
complete:
|
|
766
|
-
},
|
|
739
|
+
next: Wt,
|
|
740
|
+
error: In,
|
|
741
|
+
complete: Wt
|
|
742
|
+
}, On = function() {
|
|
767
743
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
768
744
|
}();
|
|
769
|
-
function
|
|
745
|
+
function Ln(e) {
|
|
770
746
|
return e;
|
|
771
747
|
}
|
|
772
|
-
function
|
|
773
|
-
return e.length === 0 ?
|
|
748
|
+
function Mn(e) {
|
|
749
|
+
return e.length === 0 ? Ln : e.length === 1 ? e[0] : function(r) {
|
|
774
750
|
return e.reduce(function(n, i) {
|
|
775
751
|
return i(n);
|
|
776
752
|
}, r);
|
|
777
753
|
};
|
|
778
754
|
}
|
|
779
|
-
var
|
|
755
|
+
var Zt = function() {
|
|
780
756
|
function e(t) {
|
|
781
757
|
t && (this._subscribe = t);
|
|
782
758
|
}
|
|
@@ -784,7 +760,7 @@ var Qt = function() {
|
|
|
784
760
|
var r = new e();
|
|
785
761
|
return r.source = this, r.operator = t, r;
|
|
786
762
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
787
|
-
var i = this, o =
|
|
763
|
+
var i = this, o = Rn(t) ? t : new It(t, r, n);
|
|
788
764
|
return st(function() {
|
|
789
765
|
var s = i, a = s.operator, c = s.source;
|
|
790
766
|
o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -797,8 +773,8 @@ var Qt = function() {
|
|
|
797
773
|
}
|
|
798
774
|
}, e.prototype.forEach = function(t, r) {
|
|
799
775
|
var n = this;
|
|
800
|
-
return r =
|
|
801
|
-
var s = new
|
|
776
|
+
return r = qt(r), new r(function(i, o) {
|
|
777
|
+
var s = new It({
|
|
802
778
|
next: function(a) {
|
|
803
779
|
try {
|
|
804
780
|
t(a);
|
|
@@ -814,15 +790,15 @@ var Qt = function() {
|
|
|
814
790
|
}, e.prototype._subscribe = function(t) {
|
|
815
791
|
var r;
|
|
816
792
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
817
|
-
}, e.prototype[
|
|
793
|
+
}, e.prototype[On] = function() {
|
|
818
794
|
return this;
|
|
819
795
|
}, e.prototype.pipe = function() {
|
|
820
796
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
821
797
|
t[r] = arguments[r];
|
|
822
|
-
return
|
|
798
|
+
return Mn(t)(this);
|
|
823
799
|
}, e.prototype.toPromise = function(t) {
|
|
824
800
|
var r = this;
|
|
825
|
-
return t =
|
|
801
|
+
return t = qt(t), new t(function(n, i) {
|
|
826
802
|
var o;
|
|
827
803
|
r.subscribe(function(s) {
|
|
828
804
|
return o = s;
|
|
@@ -836,32 +812,32 @@ var Qt = function() {
|
|
|
836
812
|
return new e(t);
|
|
837
813
|
}, e;
|
|
838
814
|
}();
|
|
839
|
-
function
|
|
815
|
+
function qt(e) {
|
|
840
816
|
var t;
|
|
841
|
-
return (t = e ??
|
|
817
|
+
return (t = e ?? Tn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
842
818
|
}
|
|
843
|
-
function
|
|
844
|
-
return e &&
|
|
819
|
+
function Nn(e) {
|
|
820
|
+
return e && se(e.next) && se(e.error) && se(e.complete);
|
|
845
821
|
}
|
|
846
|
-
function
|
|
847
|
-
return e && e instanceof
|
|
822
|
+
function Rn(e) {
|
|
823
|
+
return e && e instanceof Tr || Nn(e) && Pr(e);
|
|
848
824
|
}
|
|
849
|
-
var
|
|
825
|
+
var Un = xr(function(e) {
|
|
850
826
|
return function() {
|
|
851
827
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
852
828
|
};
|
|
853
|
-
}),
|
|
854
|
-
|
|
829
|
+
}), Hr = function(e) {
|
|
830
|
+
ae(t, e);
|
|
855
831
|
function t() {
|
|
856
832
|
var r = e.call(this) || this;
|
|
857
833
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
858
834
|
}
|
|
859
835
|
return t.prototype.lift = function(r) {
|
|
860
|
-
var n = new
|
|
836
|
+
var n = new Jt(this, this);
|
|
861
837
|
return n.operator = r, n;
|
|
862
838
|
}, t.prototype._throwIfClosed = function() {
|
|
863
839
|
if (this.closed)
|
|
864
|
-
throw new
|
|
840
|
+
throw new Un();
|
|
865
841
|
}, t.prototype.next = function(r) {
|
|
866
842
|
var n = this;
|
|
867
843
|
st(function() {
|
|
@@ -869,7 +845,7 @@ var Vn = Hr(function(e) {
|
|
|
869
845
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
870
846
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
871
847
|
try {
|
|
872
|
-
for (var s =
|
|
848
|
+
for (var s = Ht(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
873
849
|
var c = a.value;
|
|
874
850
|
c.next(r);
|
|
875
851
|
}
|
|
@@ -917,20 +893,20 @@ var Vn = Hr(function(e) {
|
|
|
917
893
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
918
894
|
}, t.prototype._innerSubscribe = function(r) {
|
|
919
895
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
920
|
-
return o || s ?
|
|
921
|
-
n.currentObservers = null,
|
|
896
|
+
return o || s ? Sr : (this.currentObservers = null, a.push(r), new ft(function() {
|
|
897
|
+
n.currentObservers = null, At(a, r);
|
|
922
898
|
}));
|
|
923
899
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
924
900
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
925
901
|
i ? r.error(o) : s && r.complete();
|
|
926
902
|
}, t.prototype.asObservable = function() {
|
|
927
|
-
var r = new
|
|
903
|
+
var r = new Zt();
|
|
928
904
|
return r.source = this, r;
|
|
929
905
|
}, t.create = function(r, n) {
|
|
930
|
-
return new
|
|
906
|
+
return new Jt(r, n);
|
|
931
907
|
}, t;
|
|
932
|
-
}(
|
|
933
|
-
|
|
908
|
+
}(Zt), Jt = function(e) {
|
|
909
|
+
ae(t, e);
|
|
934
910
|
function t(r, n) {
|
|
935
911
|
var i = e.call(this) || this;
|
|
936
912
|
return i.destination = r, i.source = n, i;
|
|
@@ -946,17 +922,17 @@ var Vn = Hr(function(e) {
|
|
|
946
922
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
947
923
|
}, t.prototype._subscribe = function(r) {
|
|
948
924
|
var n, i;
|
|
949
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
925
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Sr;
|
|
950
926
|
}, t;
|
|
951
|
-
}(
|
|
927
|
+
}(Hr), Br = {
|
|
952
928
|
now: function() {
|
|
953
|
-
return (
|
|
929
|
+
return (Br.delegate || Date).now();
|
|
954
930
|
},
|
|
955
931
|
delegate: void 0
|
|
956
|
-
},
|
|
957
|
-
|
|
932
|
+
}, Fn = function(e) {
|
|
933
|
+
ae(t, e);
|
|
958
934
|
function t(r, n, i) {
|
|
959
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
935
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Br);
|
|
960
936
|
var o = e.call(this) || this;
|
|
961
937
|
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;
|
|
962
938
|
}
|
|
@@ -976,15 +952,15 @@ var Vn = Hr(function(e) {
|
|
|
976
952
|
l && o.splice(0, l + 1);
|
|
977
953
|
}
|
|
978
954
|
}, t;
|
|
979
|
-
}(
|
|
980
|
-
const
|
|
981
|
-
if (
|
|
982
|
-
const r = new
|
|
983
|
-
|
|
955
|
+
}(Hr);
|
|
956
|
+
const Qt = [], Yt = {}, Dn = (e, t = 0) => {
|
|
957
|
+
if (Qt.indexOf(e) == -1) {
|
|
958
|
+
const r = new Fn(t);
|
|
959
|
+
Yt[e] = r, Qt.push(e);
|
|
984
960
|
}
|
|
985
|
-
return
|
|
986
|
-
},
|
|
987
|
-
function
|
|
961
|
+
return Yt[e];
|
|
962
|
+
}, Te = [];
|
|
963
|
+
function kn(e, t) {
|
|
988
964
|
return {
|
|
989
965
|
subscribe: dt(e, t).subscribe
|
|
990
966
|
};
|
|
@@ -993,14 +969,14 @@ function dt(e, t = Z) {
|
|
|
993
969
|
let r;
|
|
994
970
|
const n = /* @__PURE__ */ new Set();
|
|
995
971
|
function i(a) {
|
|
996
|
-
if (
|
|
997
|
-
const c = !
|
|
972
|
+
if (_r(e, a) && (e = a, r)) {
|
|
973
|
+
const c = !Te.length;
|
|
998
974
|
for (const l of n)
|
|
999
|
-
l[1](),
|
|
975
|
+
l[1](), Te.push(l, e);
|
|
1000
976
|
if (c) {
|
|
1001
|
-
for (let l = 0; l <
|
|
1002
|
-
|
|
1003
|
-
|
|
977
|
+
for (let l = 0; l < Te.length; l += 2)
|
|
978
|
+
Te[l][0](Te[l + 1]);
|
|
979
|
+
Te.length = 0;
|
|
1004
980
|
}
|
|
1005
981
|
}
|
|
1006
982
|
}
|
|
@@ -1015,12 +991,12 @@ function dt(e, t = Z) {
|
|
|
1015
991
|
}
|
|
1016
992
|
return { set: i, update: o, subscribe: s };
|
|
1017
993
|
}
|
|
1018
|
-
function
|
|
994
|
+
function Ne(e, t, r) {
|
|
1019
995
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1020
996
|
if (!i.every(Boolean))
|
|
1021
997
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1022
998
|
const o = t.length < 2;
|
|
1023
|
-
return
|
|
999
|
+
return kn(r, (s, a) => {
|
|
1024
1000
|
let c = !1;
|
|
1025
1001
|
const l = [];
|
|
1026
1002
|
let u = 0, f = Z;
|
|
@@ -1029,12 +1005,12 @@ function Le(e, t, r) {
|
|
|
1029
1005
|
return;
|
|
1030
1006
|
f();
|
|
1031
1007
|
const y = t(n ? l[0] : l, s, a);
|
|
1032
|
-
o ? s(y) : f =
|
|
1008
|
+
o ? s(y) : f = Dt(y) ? y : Z;
|
|
1033
1009
|
}, b = i.map(
|
|
1034
|
-
(y, g) =>
|
|
1010
|
+
(y, g) => Er(
|
|
1035
1011
|
y,
|
|
1036
|
-
(
|
|
1037
|
-
l[g] =
|
|
1012
|
+
(S) => {
|
|
1013
|
+
l[g] = S, u &= ~(1 << g), c && d();
|
|
1038
1014
|
},
|
|
1039
1015
|
() => {
|
|
1040
1016
|
u |= 1 << g;
|
|
@@ -1042,134 +1018,132 @@ function Le(e, t, r) {
|
|
|
1042
1018
|
)
|
|
1043
1019
|
);
|
|
1044
1020
|
return c = !0, d(), function() {
|
|
1045
|
-
|
|
1021
|
+
Me(b), f(), c = !1;
|
|
1046
1022
|
};
|
|
1047
1023
|
});
|
|
1048
1024
|
}
|
|
1049
|
-
function
|
|
1025
|
+
function Gn(e) {
|
|
1050
1026
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1051
1027
|
}
|
|
1052
|
-
var
|
|
1053
|
-
return
|
|
1028
|
+
var $n = function(t) {
|
|
1029
|
+
return jn(t) && !Vn(t);
|
|
1054
1030
|
};
|
|
1055
|
-
function
|
|
1031
|
+
function jn(e) {
|
|
1056
1032
|
return !!e && typeof e == "object";
|
|
1057
1033
|
}
|
|
1058
|
-
function
|
|
1034
|
+
function Vn(e) {
|
|
1059
1035
|
var t = Object.prototype.toString.call(e);
|
|
1060
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1036
|
+
return t === "[object RegExp]" || t === "[object Date]" || Wn(e);
|
|
1061
1037
|
}
|
|
1062
|
-
var
|
|
1063
|
-
function
|
|
1064
|
-
return e.$$typeof ===
|
|
1038
|
+
var zn = typeof Symbol == "function" && Symbol.for, Xn = zn ? Symbol.for("react.element") : 60103;
|
|
1039
|
+
function Wn(e) {
|
|
1040
|
+
return e.$$typeof === Xn;
|
|
1065
1041
|
}
|
|
1066
|
-
function
|
|
1042
|
+
function Zn(e) {
|
|
1067
1043
|
return Array.isArray(e) ? [] : {};
|
|
1068
1044
|
}
|
|
1069
|
-
function
|
|
1070
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1045
|
+
function Xe(e, t) {
|
|
1046
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ie(Zn(e), e, t) : e;
|
|
1071
1047
|
}
|
|
1072
|
-
function
|
|
1048
|
+
function qn(e, t, r) {
|
|
1073
1049
|
return e.concat(t).map(function(n) {
|
|
1074
|
-
return
|
|
1050
|
+
return Xe(n, r);
|
|
1075
1051
|
});
|
|
1076
1052
|
}
|
|
1077
|
-
function
|
|
1053
|
+
function Jn(e, t) {
|
|
1078
1054
|
if (!t.customMerge)
|
|
1079
|
-
return
|
|
1055
|
+
return Ie;
|
|
1080
1056
|
var r = t.customMerge(e);
|
|
1081
|
-
return typeof r == "function" ? r :
|
|
1057
|
+
return typeof r == "function" ? r : Ie;
|
|
1082
1058
|
}
|
|
1083
|
-
function
|
|
1059
|
+
function Qn(e) {
|
|
1084
1060
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1085
1061
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1086
1062
|
}) : [];
|
|
1087
1063
|
}
|
|
1088
|
-
function
|
|
1089
|
-
return Object.keys(e).concat(
|
|
1064
|
+
function Kt(e) {
|
|
1065
|
+
return Object.keys(e).concat(Qn(e));
|
|
1090
1066
|
}
|
|
1091
|
-
function
|
|
1067
|
+
function Ar(e, t) {
|
|
1092
1068
|
try {
|
|
1093
1069
|
return t in e;
|
|
1094
1070
|
} catch {
|
|
1095
1071
|
return !1;
|
|
1096
1072
|
}
|
|
1097
1073
|
}
|
|
1098
|
-
function
|
|
1099
|
-
return
|
|
1074
|
+
function Yn(e, t) {
|
|
1075
|
+
return Ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1100
1076
|
}
|
|
1101
|
-
function
|
|
1077
|
+
function Kn(e, t, r) {
|
|
1102
1078
|
var n = {};
|
|
1103
|
-
return r.isMergeableObject(e) &&
|
|
1104
|
-
n[i] =
|
|
1105
|
-
}),
|
|
1106
|
-
|
|
1079
|
+
return r.isMergeableObject(e) && Kt(e).forEach(function(i) {
|
|
1080
|
+
n[i] = Xe(e[i], r);
|
|
1081
|
+
}), Kt(t).forEach(function(i) {
|
|
1082
|
+
Yn(e, i) || (Ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = Xe(t[i], r));
|
|
1107
1083
|
}), n;
|
|
1108
1084
|
}
|
|
1109
|
-
function
|
|
1110
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1085
|
+
function Ie(e, t, r) {
|
|
1086
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || qn, r.isMergeableObject = r.isMergeableObject || $n, r.cloneUnlessOtherwiseSpecified = Xe;
|
|
1111
1087
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1112
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1088
|
+
return o ? n ? r.arrayMerge(e, t, r) : Kn(e, t, r) : Xe(t, r);
|
|
1113
1089
|
}
|
|
1114
|
-
|
|
1090
|
+
Ie.all = function(t, r) {
|
|
1115
1091
|
if (!Array.isArray(t))
|
|
1116
1092
|
throw new Error("first argument should be an array");
|
|
1117
1093
|
return t.reduce(function(n, i) {
|
|
1118
|
-
return
|
|
1094
|
+
return Ie(n, i, r);
|
|
1119
1095
|
}, {});
|
|
1120
1096
|
};
|
|
1121
|
-
var
|
|
1122
|
-
const
|
|
1123
|
-
function
|
|
1124
|
-
var r = t && t.cache ? t.cache :
|
|
1097
|
+
var ei = Ie, ti = ei;
|
|
1098
|
+
const ri = /* @__PURE__ */ Gn(ti);
|
|
1099
|
+
function yt(e, t) {
|
|
1100
|
+
var r = t && t.cache ? t.cache : ui, n = t && t.serializer ? t.serializer : ai, i = t && t.strategy ? t.strategy : oi;
|
|
1125
1101
|
return i(e, {
|
|
1126
1102
|
cache: r,
|
|
1127
1103
|
serializer: n
|
|
1128
1104
|
});
|
|
1129
1105
|
}
|
|
1130
|
-
function
|
|
1106
|
+
function ni(e) {
|
|
1131
1107
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1132
1108
|
}
|
|
1133
|
-
function
|
|
1134
|
-
var i =
|
|
1109
|
+
function ii(e, t, r, n) {
|
|
1110
|
+
var i = ni(n) ? n : r(n), o = t.get(i);
|
|
1135
1111
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1136
1112
|
}
|
|
1137
|
-
function
|
|
1113
|
+
function Ir(e, t, r) {
|
|
1138
1114
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1139
1115
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1140
1116
|
}
|
|
1141
|
-
function
|
|
1117
|
+
function Cr(e, t, r, n, i) {
|
|
1142
1118
|
return r.bind(t, e, n, i);
|
|
1143
1119
|
}
|
|
1144
|
-
function
|
|
1145
|
-
var r = e.length === 1 ?
|
|
1146
|
-
return
|
|
1147
|
-
}
|
|
1148
|
-
function fi(e, t) {
|
|
1149
|
-
return $t(e, this, Rr, t.cache.create(), t.serializer);
|
|
1120
|
+
function oi(e, t) {
|
|
1121
|
+
var r = e.length === 1 ? ii : Ir;
|
|
1122
|
+
return Cr(e, this, r, t.cache.create(), t.serializer);
|
|
1150
1123
|
}
|
|
1151
|
-
function
|
|
1152
|
-
return
|
|
1124
|
+
function si(e, t) {
|
|
1125
|
+
return Cr(e, this, Ir, t.cache.create(), t.serializer);
|
|
1153
1126
|
}
|
|
1154
|
-
var
|
|
1127
|
+
var ai = function() {
|
|
1155
1128
|
return JSON.stringify(arguments);
|
|
1156
|
-
}
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1129
|
+
}, li = (
|
|
1130
|
+
/** @class */
|
|
1131
|
+
function() {
|
|
1132
|
+
function e() {
|
|
1133
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1134
|
+
}
|
|
1135
|
+
return e.prototype.get = function(t) {
|
|
1136
|
+
return this.cache[t];
|
|
1137
|
+
}, e.prototype.set = function(t, r) {
|
|
1138
|
+
this.cache[t] = r;
|
|
1139
|
+
}, e;
|
|
1140
|
+
}()
|
|
1141
|
+
), ui = {
|
|
1167
1142
|
create: function() {
|
|
1168
|
-
return new
|
|
1143
|
+
return new li();
|
|
1169
1144
|
}
|
|
1170
|
-
},
|
|
1171
|
-
variadic:
|
|
1172
|
-
monadic: di
|
|
1145
|
+
}, _t = {
|
|
1146
|
+
variadic: si
|
|
1173
1147
|
}, _;
|
|
1174
1148
|
(function(e) {
|
|
1175
1149
|
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";
|
|
@@ -1178,47 +1152,47 @@ var T;
|
|
|
1178
1152
|
(function(e) {
|
|
1179
1153
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1180
1154
|
})(T || (T = {}));
|
|
1181
|
-
var
|
|
1155
|
+
var Ce;
|
|
1182
1156
|
(function(e) {
|
|
1183
1157
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1184
|
-
})(
|
|
1185
|
-
function
|
|
1158
|
+
})(Ce || (Ce = {}));
|
|
1159
|
+
function er(e) {
|
|
1186
1160
|
return e.type === T.literal;
|
|
1187
1161
|
}
|
|
1188
|
-
function
|
|
1162
|
+
function ci(e) {
|
|
1189
1163
|
return e.type === T.argument;
|
|
1190
1164
|
}
|
|
1191
|
-
function
|
|
1165
|
+
function Or(e) {
|
|
1192
1166
|
return e.type === T.number;
|
|
1193
1167
|
}
|
|
1194
|
-
function
|
|
1168
|
+
function Lr(e) {
|
|
1195
1169
|
return e.type === T.date;
|
|
1196
1170
|
}
|
|
1197
|
-
function
|
|
1171
|
+
function Mr(e) {
|
|
1198
1172
|
return e.type === T.time;
|
|
1199
1173
|
}
|
|
1200
|
-
function
|
|
1174
|
+
function Nr(e) {
|
|
1201
1175
|
return e.type === T.select;
|
|
1202
1176
|
}
|
|
1203
|
-
function
|
|
1177
|
+
function Rr(e) {
|
|
1204
1178
|
return e.type === T.plural;
|
|
1205
1179
|
}
|
|
1206
|
-
function
|
|
1180
|
+
function hi(e) {
|
|
1207
1181
|
return e.type === T.pound;
|
|
1208
1182
|
}
|
|
1209
|
-
function
|
|
1183
|
+
function Ur(e) {
|
|
1210
1184
|
return e.type === T.tag;
|
|
1211
1185
|
}
|
|
1212
|
-
function
|
|
1213
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1186
|
+
function Fr(e) {
|
|
1187
|
+
return !!(e && typeof e == "object" && e.type === Ce.number);
|
|
1214
1188
|
}
|
|
1215
|
-
function
|
|
1216
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1189
|
+
function Ct(e) {
|
|
1190
|
+
return !!(e && typeof e == "object" && e.type === Ce.dateTime);
|
|
1217
1191
|
}
|
|
1218
|
-
var
|
|
1219
|
-
function
|
|
1192
|
+
var Dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fi = /(?:[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;
|
|
1193
|
+
function di(e) {
|
|
1220
1194
|
var t = {};
|
|
1221
|
-
return e.replace(
|
|
1195
|
+
return e.replace(fi, function(r) {
|
|
1222
1196
|
var n = r.length;
|
|
1223
1197
|
switch (r[0]) {
|
|
1224
1198
|
case "G":
|
|
@@ -1307,11 +1281,11 @@ function yi(e) {
|
|
|
1307
1281
|
return "";
|
|
1308
1282
|
}), t;
|
|
1309
1283
|
}
|
|
1310
|
-
var
|
|
1311
|
-
function
|
|
1284
|
+
var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1285
|
+
function pi(e) {
|
|
1312
1286
|
if (e.length === 0)
|
|
1313
1287
|
throw new Error("Number skeleton cannot be empty");
|
|
1314
|
-
for (var t = e.split(
|
|
1288
|
+
for (var t = e.split(mi).filter(function(d) {
|
|
1315
1289
|
return d.length > 0;
|
|
1316
1290
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1317
1291
|
var o = i[n], s = o.split("/");
|
|
@@ -1326,17 +1300,17 @@ function Ei(e) {
|
|
|
1326
1300
|
}
|
|
1327
1301
|
return r;
|
|
1328
1302
|
}
|
|
1329
|
-
function
|
|
1303
|
+
function gi(e) {
|
|
1330
1304
|
return e.replace(/^(.*?)-/, "");
|
|
1331
1305
|
}
|
|
1332
|
-
var
|
|
1333
|
-
function
|
|
1306
|
+
var tr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kr = /^(@+)?(\+|#+)?[rs]?$/g, bi = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
|
|
1307
|
+
function rr(e) {
|
|
1334
1308
|
var t = {};
|
|
1335
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1309
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kr, function(r, n, i) {
|
|
1336
1310
|
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)), "";
|
|
1337
1311
|
}), t;
|
|
1338
1312
|
}
|
|
1339
|
-
function
|
|
1313
|
+
function $r(e) {
|
|
1340
1314
|
switch (e) {
|
|
1341
1315
|
case "sign-auto":
|
|
1342
1316
|
return {
|
|
@@ -1376,7 +1350,7 @@ function Wr(e) {
|
|
|
1376
1350
|
};
|
|
1377
1351
|
}
|
|
1378
1352
|
}
|
|
1379
|
-
function
|
|
1353
|
+
function vi(e) {
|
|
1380
1354
|
var t;
|
|
1381
1355
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1382
1356
|
notation: "engineering"
|
|
@@ -1384,17 +1358,17 @@ function Si(e) {
|
|
|
1384
1358
|
notation: "scientific"
|
|
1385
1359
|
}, e = e.slice(1)), t) {
|
|
1386
1360
|
var r = e.slice(0, 2);
|
|
1387
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1361
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gr.test(e))
|
|
1388
1362
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1389
1363
|
t.minimumIntegerDigits = e.length;
|
|
1390
1364
|
}
|
|
1391
1365
|
return t;
|
|
1392
1366
|
}
|
|
1393
|
-
function
|
|
1394
|
-
var t = {}, r =
|
|
1367
|
+
function nr(e) {
|
|
1368
|
+
var t = {}, r = $r(e);
|
|
1395
1369
|
return r || t;
|
|
1396
1370
|
}
|
|
1397
|
-
function
|
|
1371
|
+
function yi(e) {
|
|
1398
1372
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1399
1373
|
var i = n[r];
|
|
1400
1374
|
switch (i.stem) {
|
|
@@ -1418,7 +1392,7 @@ function Pi(e) {
|
|
|
1418
1392
|
continue;
|
|
1419
1393
|
case "measure-unit":
|
|
1420
1394
|
case "unit":
|
|
1421
|
-
t.style = "unit", t.unit =
|
|
1395
|
+
t.style = "unit", t.unit = gi(i.options[0]);
|
|
1422
1396
|
continue;
|
|
1423
1397
|
case "compact-short":
|
|
1424
1398
|
case "K":
|
|
@@ -1430,12 +1404,12 @@ function Pi(e) {
|
|
|
1430
1404
|
continue;
|
|
1431
1405
|
case "scientific":
|
|
1432
1406
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
|
|
1433
|
-
return w(w({}, c),
|
|
1407
|
+
return w(w({}, c), nr(l));
|
|
1434
1408
|
}, {}));
|
|
1435
1409
|
continue;
|
|
1436
1410
|
case "engineering":
|
|
1437
1411
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
|
|
1438
|
-
return w(w({}, c),
|
|
1412
|
+
return w(w({}, c), nr(l));
|
|
1439
1413
|
}, {}));
|
|
1440
1414
|
continue;
|
|
1441
1415
|
case "notation-simple":
|
|
@@ -1480,7 +1454,7 @@ function Pi(e) {
|
|
|
1480
1454
|
case "integer-width":
|
|
1481
1455
|
if (i.options.length > 1)
|
|
1482
1456
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1483
|
-
i.options[0].replace(
|
|
1457
|
+
i.options[0].replace(bi, function(c, l, u, f, d, b) {
|
|
1484
1458
|
if (l)
|
|
1485
1459
|
t.minimumIntegerDigits = u.length;
|
|
1486
1460
|
else {
|
|
@@ -1493,27 +1467,27 @@ function Pi(e) {
|
|
|
1493
1467
|
});
|
|
1494
1468
|
continue;
|
|
1495
1469
|
}
|
|
1496
|
-
if (
|
|
1470
|
+
if (Gr.test(i.stem)) {
|
|
1497
1471
|
t.minimumIntegerDigits = i.stem.length;
|
|
1498
1472
|
continue;
|
|
1499
1473
|
}
|
|
1500
|
-
if (
|
|
1474
|
+
if (tr.test(i.stem)) {
|
|
1501
1475
|
if (i.options.length > 1)
|
|
1502
1476
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1503
|
-
i.stem.replace(
|
|
1477
|
+
i.stem.replace(tr, function(c, l, u, f, d, b) {
|
|
1504
1478
|
return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1505
1479
|
});
|
|
1506
1480
|
var o = i.options[0];
|
|
1507
|
-
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t),
|
|
1481
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), rr(o)));
|
|
1508
1482
|
continue;
|
|
1509
1483
|
}
|
|
1510
|
-
if (
|
|
1511
|
-
t = w(w({}, t),
|
|
1484
|
+
if (kr.test(i.stem)) {
|
|
1485
|
+
t = w(w({}, t), rr(i.stem));
|
|
1512
1486
|
continue;
|
|
1513
1487
|
}
|
|
1514
|
-
var s =
|
|
1488
|
+
var s = $r(i.stem);
|
|
1515
1489
|
s && (t = w(w({}, t), s));
|
|
1516
|
-
var a =
|
|
1490
|
+
var a = vi(i.stem);
|
|
1517
1491
|
a && (t = w(w({}, t), a));
|
|
1518
1492
|
}
|
|
1519
1493
|
return t;
|
|
@@ -2933,13 +2907,13 @@ var it = {
|
|
|
2933
2907
|
"h"
|
|
2934
2908
|
]
|
|
2935
2909
|
};
|
|
2936
|
-
function
|
|
2910
|
+
function _i(e, t) {
|
|
2937
2911
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2938
2912
|
var i = e.charAt(n);
|
|
2939
2913
|
if (i === "j") {
|
|
2940
2914
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2941
2915
|
o++, n++;
|
|
2942
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l =
|
|
2916
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Ei(t);
|
|
2943
2917
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2944
2918
|
r += c;
|
|
2945
2919
|
for (; s-- > 0; )
|
|
@@ -2948,7 +2922,7 @@ function Ti(e, t) {
|
|
|
2948
2922
|
}
|
|
2949
2923
|
return r;
|
|
2950
2924
|
}
|
|
2951
|
-
function
|
|
2925
|
+
function Ei(e) {
|
|
2952
2926
|
var t = e.hourCycle;
|
|
2953
2927
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2954
2928
|
e.hourCycles && // @ts-ignore
|
|
@@ -2970,20 +2944,20 @@ function Hi(e) {
|
|
|
2970
2944
|
var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
|
|
2971
2945
|
return i[0];
|
|
2972
2946
|
}
|
|
2973
|
-
var
|
|
2947
|
+
var Et, wi = new RegExp("^".concat(Dr.source, "*")), xi = new RegExp("".concat(Dr.source, "*$"));
|
|
2974
2948
|
function E(e, t) {
|
|
2975
2949
|
return { start: e, end: t };
|
|
2976
2950
|
}
|
|
2977
|
-
var
|
|
2951
|
+
var Si = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pi = !!String.fromCodePoint, Ti = !!Object.fromEntries, Hi = !!String.prototype.codePointAt, Bi = !!String.prototype.trimStart, Ai = !!String.prototype.trimEnd, Ii = !!Number.isSafeInteger, Ci = Ii ? Number.isSafeInteger : function(e) {
|
|
2978
2952
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2979
|
-
},
|
|
2953
|
+
}, Ot = !0;
|
|
2980
2954
|
try {
|
|
2981
|
-
var
|
|
2982
|
-
|
|
2955
|
+
var Oi = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2956
|
+
Ot = ((Et = Oi.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
|
|
2983
2957
|
} catch {
|
|
2984
|
-
|
|
2958
|
+
Ot = !1;
|
|
2985
2959
|
}
|
|
2986
|
-
var
|
|
2960
|
+
var ir = Si ? (
|
|
2987
2961
|
// Native
|
|
2988
2962
|
function(t, r, n) {
|
|
2989
2963
|
return t.startsWith(r, n);
|
|
@@ -2993,7 +2967,7 @@ var ar = Ii ? (
|
|
|
2993
2967
|
function(t, r, n) {
|
|
2994
2968
|
return t.slice(n, n + r.length) === r;
|
|
2995
2969
|
}
|
|
2996
|
-
),
|
|
2970
|
+
), Lt = Pi ? String.fromCodePoint : (
|
|
2997
2971
|
// IE11
|
|
2998
2972
|
function() {
|
|
2999
2973
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3005,9 +2979,9 @@ var ar = Ii ? (
|
|
|
3005
2979
|
}
|
|
3006
2980
|
return n;
|
|
3007
2981
|
}
|
|
3008
|
-
),
|
|
2982
|
+
), or = (
|
|
3009
2983
|
// native
|
|
3010
|
-
|
|
2984
|
+
Ti ? Object.fromEntries : (
|
|
3011
2985
|
// Ponyfill
|
|
3012
2986
|
function(t) {
|
|
3013
2987
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3017,7 +2991,7 @@ var ar = Ii ? (
|
|
|
3017
2991
|
return r;
|
|
3018
2992
|
}
|
|
3019
2993
|
)
|
|
3020
|
-
),
|
|
2994
|
+
), jr = Hi ? (
|
|
3021
2995
|
// Native
|
|
3022
2996
|
function(t, r) {
|
|
3023
2997
|
return t.codePointAt(r);
|
|
@@ -3031,7 +3005,7 @@ var ar = Ii ? (
|
|
|
3031
3005
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3032
3006
|
}
|
|
3033
3007
|
}
|
|
3034
|
-
),
|
|
3008
|
+
), Li = Bi ? (
|
|
3035
3009
|
// Native
|
|
3036
3010
|
function(t) {
|
|
3037
3011
|
return t.trimStart();
|
|
@@ -3039,9 +3013,9 @@ var ar = Ii ? (
|
|
|
3039
3013
|
) : (
|
|
3040
3014
|
// Ponyfill
|
|
3041
3015
|
function(t) {
|
|
3042
|
-
return t.replace(
|
|
3016
|
+
return t.replace(wi, "");
|
|
3043
3017
|
}
|
|
3044
|
-
),
|
|
3018
|
+
), Mi = Ai ? (
|
|
3045
3019
|
// Native
|
|
3046
3020
|
function(t) {
|
|
3047
3021
|
return t.trimEnd();
|
|
@@ -3049,32 +3023,32 @@ var ar = Ii ? (
|
|
|
3049
3023
|
) : (
|
|
3050
3024
|
// Ponyfill
|
|
3051
3025
|
function(t) {
|
|
3052
|
-
return t.replace(
|
|
3026
|
+
return t.replace(xi, "");
|
|
3053
3027
|
}
|
|
3054
3028
|
);
|
|
3055
|
-
function
|
|
3029
|
+
function Vr(e, t) {
|
|
3056
3030
|
return new RegExp(e, t);
|
|
3057
3031
|
}
|
|
3058
|
-
var
|
|
3059
|
-
if (
|
|
3060
|
-
var
|
|
3061
|
-
|
|
3032
|
+
var Mt;
|
|
3033
|
+
if (Ot) {
|
|
3034
|
+
var sr = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3035
|
+
Mt = function(t, r) {
|
|
3062
3036
|
var n;
|
|
3063
|
-
|
|
3064
|
-
var i =
|
|
3037
|
+
sr.lastIndex = r;
|
|
3038
|
+
var i = sr.exec(t);
|
|
3065
3039
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3066
3040
|
};
|
|
3067
3041
|
} else
|
|
3068
|
-
|
|
3042
|
+
Mt = function(t, r) {
|
|
3069
3043
|
for (var n = []; ; ) {
|
|
3070
|
-
var i =
|
|
3071
|
-
if (i === void 0 ||
|
|
3044
|
+
var i = jr(t, r);
|
|
3045
|
+
if (i === void 0 || zr(i) || Fi(i))
|
|
3072
3046
|
break;
|
|
3073
3047
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3074
3048
|
}
|
|
3075
|
-
return
|
|
3049
|
+
return Lt.apply(void 0, n);
|
|
3076
3050
|
};
|
|
3077
|
-
var
|
|
3051
|
+
var Ni = (
|
|
3078
3052
|
/** @class */
|
|
3079
3053
|
function() {
|
|
3080
3054
|
function e(t, r) {
|
|
@@ -3105,7 +3079,7 @@ var $i = (
|
|
|
3105
3079
|
if (n)
|
|
3106
3080
|
break;
|
|
3107
3081
|
return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
3108
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3082
|
+
} else if (o === 60 && !this.ignoreTag && Nt(this.peek() || 0)) {
|
|
3109
3083
|
var s = this.parseTag(t, r);
|
|
3110
3084
|
if (s.err)
|
|
3111
3085
|
return s;
|
|
@@ -3138,7 +3112,7 @@ var $i = (
|
|
|
3138
3112
|
return o;
|
|
3139
3113
|
var s = o.val, a = this.clonePosition();
|
|
3140
3114
|
if (this.bumpIf("</")) {
|
|
3141
|
-
if (this.isEOF() || !
|
|
3115
|
+
if (this.isEOF() || !Nt(this.char()))
|
|
3142
3116
|
return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
|
|
3143
3117
|
var c = this.clonePosition(), l = this.parseTagName();
|
|
3144
3118
|
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3156,7 +3130,7 @@ var $i = (
|
|
|
3156
3130
|
return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
|
|
3157
3131
|
}, e.prototype.parseTagName = function() {
|
|
3158
3132
|
var t = this.offset();
|
|
3159
|
-
for (this.bump(); !this.isEOF() &&
|
|
3133
|
+
for (this.bump(); !this.isEOF() && Ui(this.char()); )
|
|
3160
3134
|
this.bump();
|
|
3161
3135
|
return this.message.slice(t, this.offset());
|
|
3162
3136
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3185,7 +3159,7 @@ var $i = (
|
|
|
3185
3159
|
};
|
|
3186
3160
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3187
3161
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3188
|
-
!
|
|
3162
|
+
!Ri(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3189
3163
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3190
3164
|
if (this.isEOF() || this.char() !== 39)
|
|
3191
3165
|
return null;
|
|
@@ -3219,12 +3193,12 @@ var $i = (
|
|
|
3219
3193
|
r.push(n);
|
|
3220
3194
|
this.bump();
|
|
3221
3195
|
}
|
|
3222
|
-
return
|
|
3196
|
+
return Lt.apply(void 0, r);
|
|
3223
3197
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3224
3198
|
if (this.isEOF())
|
|
3225
3199
|
return null;
|
|
3226
3200
|
var n = this.char();
|
|
3227
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3201
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Lt(n));
|
|
3228
3202
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3229
3203
|
var n = this.clonePosition();
|
|
3230
3204
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3253,7 +3227,7 @@ var $i = (
|
|
|
3253
3227
|
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3254
3228
|
}
|
|
3255
3229
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3256
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3230
|
+
var t = this.clonePosition(), r = this.offset(), n = Mt(this.message, r), i = r + n.length;
|
|
3257
3231
|
this.bumpTo(i);
|
|
3258
3232
|
var o = this.clonePosition(), s = E(t, o);
|
|
3259
3233
|
return { value: n, location: s };
|
|
@@ -3272,7 +3246,7 @@ var $i = (
|
|
|
3272
3246
|
var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3273
3247
|
if (f.err)
|
|
3274
3248
|
return f;
|
|
3275
|
-
var d =
|
|
3249
|
+
var d = Mi(f.val);
|
|
3276
3250
|
if (d.length === 0)
|
|
3277
3251
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3278
3252
|
var b = E(u, this.clonePosition());
|
|
@@ -3282,27 +3256,27 @@ var $i = (
|
|
|
3282
3256
|
if (y.err)
|
|
3283
3257
|
return y;
|
|
3284
3258
|
var g = E(i, this.clonePosition());
|
|
3285
|
-
if (l &&
|
|
3286
|
-
var
|
|
3259
|
+
if (l && ir(l?.style, "::", 0)) {
|
|
3260
|
+
var S = Li(l.style.slice(2));
|
|
3287
3261
|
if (a === "number") {
|
|
3288
|
-
var f = this.parseNumberSkeletonFromString(
|
|
3262
|
+
var f = this.parseNumberSkeletonFromString(S, l.styleLocation);
|
|
3289
3263
|
return f.err ? f : {
|
|
3290
3264
|
val: { type: T.number, value: n, location: g, style: f.val },
|
|
3291
3265
|
err: null
|
|
3292
3266
|
};
|
|
3293
3267
|
} else {
|
|
3294
|
-
if (
|
|
3268
|
+
if (S.length === 0)
|
|
3295
3269
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
3296
|
-
var
|
|
3297
|
-
this.locale && (
|
|
3270
|
+
var C = S;
|
|
3271
|
+
this.locale && (C = _i(S, this.locale));
|
|
3298
3272
|
var d = {
|
|
3299
|
-
type:
|
|
3300
|
-
pattern:
|
|
3273
|
+
type: Ce.dateTime,
|
|
3274
|
+
pattern: C,
|
|
3301
3275
|
location: l.styleLocation,
|
|
3302
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3303
|
-
},
|
|
3276
|
+
parsedOptions: this.shouldParseSkeletons ? di(C) : {}
|
|
3277
|
+
}, z = a === "date" ? T.date : T.time;
|
|
3304
3278
|
return {
|
|
3305
|
-
val: { type:
|
|
3279
|
+
val: { type: z, value: n, location: g, style: d },
|
|
3306
3280
|
err: null
|
|
3307
3281
|
};
|
|
3308
3282
|
}
|
|
@@ -3320,43 +3294,43 @@ var $i = (
|
|
|
3320
3294
|
case "plural":
|
|
3321
3295
|
case "selectordinal":
|
|
3322
3296
|
case "select": {
|
|
3323
|
-
var
|
|
3297
|
+
var R = this.clonePosition();
|
|
3324
3298
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3325
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(
|
|
3299
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(R, w({}, R)));
|
|
3326
3300
|
this.bumpSpace();
|
|
3327
|
-
var
|
|
3328
|
-
if (a !== "select" &&
|
|
3301
|
+
var U = this.parseIdentifierIfPossible(), A = 0;
|
|
3302
|
+
if (a !== "select" && U.value === "offset") {
|
|
3329
3303
|
if (!this.bumpIf(":"))
|
|
3330
3304
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
|
|
3331
3305
|
this.bumpSpace();
|
|
3332
3306
|
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3333
3307
|
if (f.err)
|
|
3334
3308
|
return f;
|
|
3335
|
-
this.bumpSpace(),
|
|
3309
|
+
this.bumpSpace(), U = this.parseIdentifierIfPossible(), A = f.val;
|
|
3336
3310
|
}
|
|
3337
|
-
var
|
|
3338
|
-
if (
|
|
3339
|
-
return
|
|
3311
|
+
var re = this.tryParsePluralOrSelectOptions(t, a, r, U);
|
|
3312
|
+
if (re.err)
|
|
3313
|
+
return re;
|
|
3340
3314
|
var y = this.tryParseArgumentClose(i);
|
|
3341
3315
|
if (y.err)
|
|
3342
3316
|
return y;
|
|
3343
|
-
var
|
|
3317
|
+
var H = E(i, this.clonePosition());
|
|
3344
3318
|
return a === "select" ? {
|
|
3345
3319
|
val: {
|
|
3346
3320
|
type: T.select,
|
|
3347
3321
|
value: n,
|
|
3348
|
-
options:
|
|
3349
|
-
location:
|
|
3322
|
+
options: or(re.val),
|
|
3323
|
+
location: H
|
|
3350
3324
|
},
|
|
3351
3325
|
err: null
|
|
3352
3326
|
} : {
|
|
3353
3327
|
val: {
|
|
3354
3328
|
type: T.plural,
|
|
3355
3329
|
value: n,
|
|
3356
|
-
options:
|
|
3357
|
-
offset:
|
|
3330
|
+
options: or(re.val),
|
|
3331
|
+
offset: A,
|
|
3358
3332
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3359
|
-
location:
|
|
3333
|
+
location: H
|
|
3360
3334
|
},
|
|
3361
3335
|
err: null
|
|
3362
3336
|
};
|
|
@@ -3404,16 +3378,16 @@ var $i = (
|
|
|
3404
3378
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3405
3379
|
var n = [];
|
|
3406
3380
|
try {
|
|
3407
|
-
n =
|
|
3381
|
+
n = pi(t);
|
|
3408
3382
|
} catch {
|
|
3409
3383
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3410
3384
|
}
|
|
3411
3385
|
return {
|
|
3412
3386
|
val: {
|
|
3413
|
-
type:
|
|
3387
|
+
type: Ce.number,
|
|
3414
3388
|
tokens: n,
|
|
3415
3389
|
location: r,
|
|
3416
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3390
|
+
parsedOptions: this.shouldParseSkeletons ? yi(n) : {}
|
|
3417
3391
|
},
|
|
3418
3392
|
err: null
|
|
3419
3393
|
};
|
|
@@ -3461,7 +3435,7 @@ var $i = (
|
|
|
3461
3435
|
break;
|
|
3462
3436
|
}
|
|
3463
3437
|
var c = E(i, this.clonePosition());
|
|
3464
|
-
return o ? (s *= n,
|
|
3438
|
+
return o ? (s *= n, Ci(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
|
|
3465
3439
|
}, e.prototype.offset = function() {
|
|
3466
3440
|
return this.position.offset;
|
|
3467
3441
|
}, e.prototype.isEOF = function() {
|
|
@@ -3476,7 +3450,7 @@ var $i = (
|
|
|
3476
3450
|
var t = this.position.offset;
|
|
3477
3451
|
if (t >= this.message.length)
|
|
3478
3452
|
throw Error("out of bound");
|
|
3479
|
-
var r =
|
|
3453
|
+
var r = jr(this.message, t);
|
|
3480
3454
|
if (r === void 0)
|
|
3481
3455
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3482
3456
|
return r;
|
|
@@ -3495,7 +3469,7 @@ var $i = (
|
|
|
3495
3469
|
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);
|
|
3496
3470
|
}
|
|
3497
3471
|
}, e.prototype.bumpIf = function(t) {
|
|
3498
|
-
if (
|
|
3472
|
+
if (ir(this.message, t, this.offset())) {
|
|
3499
3473
|
for (var r = 0; r < t.length; r++)
|
|
3500
3474
|
this.bump();
|
|
3501
3475
|
return !0;
|
|
@@ -3517,7 +3491,7 @@ var $i = (
|
|
|
3517
3491
|
break;
|
|
3518
3492
|
}
|
|
3519
3493
|
}, e.prototype.bumpSpace = function() {
|
|
3520
|
-
for (; !this.isEOF() &&
|
|
3494
|
+
for (; !this.isEOF() && zr(this.char()); )
|
|
3521
3495
|
this.bump();
|
|
3522
3496
|
}, e.prototype.peek = function() {
|
|
3523
3497
|
if (this.isEOF())
|
|
@@ -3527,46 +3501,46 @@ var $i = (
|
|
|
3527
3501
|
}, e;
|
|
3528
3502
|
}()
|
|
3529
3503
|
);
|
|
3530
|
-
function
|
|
3504
|
+
function Nt(e) {
|
|
3531
3505
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3532
3506
|
}
|
|
3533
|
-
function
|
|
3534
|
-
return
|
|
3507
|
+
function Ri(e) {
|
|
3508
|
+
return Nt(e) || e === 47;
|
|
3535
3509
|
}
|
|
3536
|
-
function
|
|
3510
|
+
function Ui(e) {
|
|
3537
3511
|
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;
|
|
3538
3512
|
}
|
|
3539
|
-
function
|
|
3513
|
+
function zr(e) {
|
|
3540
3514
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3541
3515
|
}
|
|
3542
|
-
function
|
|
3516
|
+
function Fi(e) {
|
|
3543
3517
|
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;
|
|
3544
3518
|
}
|
|
3545
|
-
function
|
|
3519
|
+
function Rt(e) {
|
|
3546
3520
|
e.forEach(function(t) {
|
|
3547
|
-
if (delete t.location,
|
|
3521
|
+
if (delete t.location, Nr(t) || Rr(t))
|
|
3548
3522
|
for (var r in t.options)
|
|
3549
|
-
delete t.options[r].location,
|
|
3550
|
-
else
|
|
3523
|
+
delete t.options[r].location, Rt(t.options[r].value);
|
|
3524
|
+
else Or(t) && Fr(t.style) || (Lr(t) || Mr(t)) && Ct(t.style) ? delete t.style.location : Ur(t) && Rt(t.children);
|
|
3551
3525
|
});
|
|
3552
3526
|
}
|
|
3553
|
-
function
|
|
3527
|
+
function Di(e, t) {
|
|
3554
3528
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3555
|
-
var r = new
|
|
3529
|
+
var r = new Ni(e, t).parse();
|
|
3556
3530
|
if (r.err) {
|
|
3557
3531
|
var n = SyntaxError(_[r.err.kind]);
|
|
3558
3532
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3559
3533
|
}
|
|
3560
|
-
return t?.captureLocation ||
|
|
3534
|
+
return t?.captureLocation || Rt(r.val), r.val;
|
|
3561
3535
|
}
|
|
3562
|
-
var
|
|
3536
|
+
var Oe;
|
|
3563
3537
|
(function(e) {
|
|
3564
3538
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3565
|
-
})(
|
|
3539
|
+
})(Oe || (Oe = {}));
|
|
3566
3540
|
var mt = (
|
|
3567
3541
|
/** @class */
|
|
3568
3542
|
function(e) {
|
|
3569
|
-
|
|
3543
|
+
ae(t, e);
|
|
3570
3544
|
function t(r, n, i) {
|
|
3571
3545
|
var o = e.call(this, r) || this;
|
|
3572
3546
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3575,155 +3549,155 @@ var mt = (
|
|
|
3575
3549
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3576
3550
|
}, t;
|
|
3577
3551
|
}(Error)
|
|
3578
|
-
),
|
|
3552
|
+
), ar = (
|
|
3579
3553
|
/** @class */
|
|
3580
3554
|
function(e) {
|
|
3581
|
-
|
|
3555
|
+
ae(t, e);
|
|
3582
3556
|
function t(r, n, i, o) {
|
|
3583
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3557
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Oe.INVALID_VALUE, o) || this;
|
|
3584
3558
|
}
|
|
3585
3559
|
return t;
|
|
3586
3560
|
}(mt)
|
|
3587
|
-
),
|
|
3561
|
+
), ki = (
|
|
3588
3562
|
/** @class */
|
|
3589
3563
|
function(e) {
|
|
3590
|
-
|
|
3564
|
+
ae(t, e);
|
|
3591
3565
|
function t(r, n, i) {
|
|
3592
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3566
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Oe.INVALID_VALUE, i) || this;
|
|
3593
3567
|
}
|
|
3594
3568
|
return t;
|
|
3595
3569
|
}(mt)
|
|
3596
|
-
),
|
|
3570
|
+
), Gi = (
|
|
3597
3571
|
/** @class */
|
|
3598
3572
|
function(e) {
|
|
3599
|
-
|
|
3573
|
+
ae(t, e);
|
|
3600
3574
|
function t(r, n) {
|
|
3601
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3575
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Oe.MISSING_VALUE, n) || this;
|
|
3602
3576
|
}
|
|
3603
3577
|
return t;
|
|
3604
3578
|
}(mt)
|
|
3605
|
-
),
|
|
3579
|
+
), V;
|
|
3606
3580
|
(function(e) {
|
|
3607
3581
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3608
|
-
})(
|
|
3609
|
-
function
|
|
3582
|
+
})(V || (V = {}));
|
|
3583
|
+
function $i(e) {
|
|
3610
3584
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3611
3585
|
var n = t[t.length - 1];
|
|
3612
|
-
return !n || n.type !==
|
|
3586
|
+
return !n || n.type !== V.literal || r.type !== V.literal ? t.push(r) : n.value += r.value, t;
|
|
3613
3587
|
}, []);
|
|
3614
3588
|
}
|
|
3615
|
-
function
|
|
3589
|
+
function ji(e) {
|
|
3616
3590
|
return typeof e == "function";
|
|
3617
3591
|
}
|
|
3618
3592
|
function at(e, t, r, n, i, o, s) {
|
|
3619
|
-
if (e.length === 1 &&
|
|
3593
|
+
if (e.length === 1 && er(e[0]))
|
|
3620
3594
|
return [
|
|
3621
3595
|
{
|
|
3622
|
-
type:
|
|
3596
|
+
type: V.literal,
|
|
3623
3597
|
value: e[0].value
|
|
3624
3598
|
}
|
|
3625
3599
|
];
|
|
3626
3600
|
for (var a = [], c = 0, l = e; c < l.length; c++) {
|
|
3627
3601
|
var u = l[c];
|
|
3628
|
-
if (
|
|
3602
|
+
if (er(u)) {
|
|
3629
3603
|
a.push({
|
|
3630
|
-
type:
|
|
3604
|
+
type: V.literal,
|
|
3631
3605
|
value: u.value
|
|
3632
3606
|
});
|
|
3633
3607
|
continue;
|
|
3634
3608
|
}
|
|
3635
|
-
if (
|
|
3609
|
+
if (hi(u)) {
|
|
3636
3610
|
typeof o == "number" && a.push({
|
|
3637
|
-
type:
|
|
3611
|
+
type: V.literal,
|
|
3638
3612
|
value: r.getNumberFormat(t).format(o)
|
|
3639
3613
|
});
|
|
3640
3614
|
continue;
|
|
3641
3615
|
}
|
|
3642
3616
|
var f = u.value;
|
|
3643
3617
|
if (!(i && f in i))
|
|
3644
|
-
throw new
|
|
3618
|
+
throw new Gi(f, s);
|
|
3645
3619
|
var d = i[f];
|
|
3646
|
-
if (
|
|
3620
|
+
if (ci(u)) {
|
|
3647
3621
|
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3648
|
-
type: typeof d == "string" ?
|
|
3622
|
+
type: typeof d == "string" ? V.literal : V.object,
|
|
3649
3623
|
value: d
|
|
3650
3624
|
});
|
|
3651
3625
|
continue;
|
|
3652
3626
|
}
|
|
3653
|
-
if (
|
|
3654
|
-
var b = typeof u.style == "string" ? n.date[u.style] :
|
|
3627
|
+
if (Lr(u)) {
|
|
3628
|
+
var b = typeof u.style == "string" ? n.date[u.style] : Ct(u.style) ? u.style.parsedOptions : void 0;
|
|
3655
3629
|
a.push({
|
|
3656
|
-
type:
|
|
3630
|
+
type: V.literal,
|
|
3657
3631
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3658
3632
|
});
|
|
3659
3633
|
continue;
|
|
3660
3634
|
}
|
|
3661
|
-
if (
|
|
3662
|
-
var b = typeof u.style == "string" ? n.time[u.style] :
|
|
3635
|
+
if (Mr(u)) {
|
|
3636
|
+
var b = typeof u.style == "string" ? n.time[u.style] : Ct(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3663
3637
|
a.push({
|
|
3664
|
-
type:
|
|
3638
|
+
type: V.literal,
|
|
3665
3639
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3666
3640
|
});
|
|
3667
3641
|
continue;
|
|
3668
3642
|
}
|
|
3669
|
-
if (
|
|
3670
|
-
var b = typeof u.style == "string" ? n.number[u.style] :
|
|
3643
|
+
if (Or(u)) {
|
|
3644
|
+
var b = typeof u.style == "string" ? n.number[u.style] : Fr(u.style) ? u.style.parsedOptions : void 0;
|
|
3671
3645
|
b && b.scale && (d = d * (b.scale || 1)), a.push({
|
|
3672
|
-
type:
|
|
3646
|
+
type: V.literal,
|
|
3673
3647
|
value: r.getNumberFormat(t, b).format(d)
|
|
3674
3648
|
});
|
|
3675
3649
|
continue;
|
|
3676
3650
|
}
|
|
3677
|
-
if (
|
|
3678
|
-
var y = u.children, g = u.value,
|
|
3679
|
-
if (!
|
|
3680
|
-
throw new
|
|
3681
|
-
var
|
|
3682
|
-
return
|
|
3651
|
+
if (Ur(u)) {
|
|
3652
|
+
var y = u.children, g = u.value, S = i[g];
|
|
3653
|
+
if (!ji(S))
|
|
3654
|
+
throw new ki(g, "function", s);
|
|
3655
|
+
var C = at(y, t, r, n, i, o), z = S(C.map(function(A) {
|
|
3656
|
+
return A.value;
|
|
3683
3657
|
}));
|
|
3684
|
-
Array.isArray(
|
|
3658
|
+
Array.isArray(z) || (z = [z]), a.push.apply(a, z.map(function(A) {
|
|
3685
3659
|
return {
|
|
3686
|
-
type: typeof
|
|
3687
|
-
value:
|
|
3660
|
+
type: typeof A == "string" ? V.literal : V.object,
|
|
3661
|
+
value: A
|
|
3688
3662
|
};
|
|
3689
3663
|
}));
|
|
3690
3664
|
}
|
|
3691
|
-
if (
|
|
3692
|
-
var
|
|
3693
|
-
if (!
|
|
3694
|
-
throw new
|
|
3695
|
-
a.push.apply(a, at(
|
|
3665
|
+
if (Nr(u)) {
|
|
3666
|
+
var R = u.options[d] || u.options.other;
|
|
3667
|
+
if (!R)
|
|
3668
|
+
throw new ar(u.value, d, Object.keys(u.options), s);
|
|
3669
|
+
a.push.apply(a, at(R.value, t, r, n, i));
|
|
3696
3670
|
continue;
|
|
3697
3671
|
}
|
|
3698
|
-
if (
|
|
3699
|
-
var
|
|
3700
|
-
if (!
|
|
3672
|
+
if (Rr(u)) {
|
|
3673
|
+
var R = u.options["=".concat(d)];
|
|
3674
|
+
if (!R) {
|
|
3701
3675
|
if (!Intl.PluralRules)
|
|
3702
3676
|
throw new mt(`Intl.PluralRules is not available in this environment.
|
|
3703
3677
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3704
|
-
`,
|
|
3705
|
-
var
|
|
3706
|
-
|
|
3678
|
+
`, Oe.MISSING_INTL_API, s);
|
|
3679
|
+
var U = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
|
|
3680
|
+
R = u.options[U] || u.options.other;
|
|
3707
3681
|
}
|
|
3708
|
-
if (!
|
|
3709
|
-
throw new
|
|
3710
|
-
a.push.apply(a, at(
|
|
3682
|
+
if (!R)
|
|
3683
|
+
throw new ar(u.value, d, Object.keys(u.options), s);
|
|
3684
|
+
a.push.apply(a, at(R.value, t, r, n, i, d - (u.offset || 0)));
|
|
3711
3685
|
continue;
|
|
3712
3686
|
}
|
|
3713
3687
|
}
|
|
3714
|
-
return
|
|
3688
|
+
return $i(a);
|
|
3715
3689
|
}
|
|
3716
|
-
function
|
|
3690
|
+
function Vi(e, t) {
|
|
3717
3691
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3718
3692
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3719
3693
|
}, {})) : e;
|
|
3720
3694
|
}
|
|
3721
|
-
function
|
|
3695
|
+
function zi(e, t) {
|
|
3722
3696
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3723
|
-
return r[n] =
|
|
3697
|
+
return r[n] = Vi(e[n], t[n]), r;
|
|
3724
3698
|
}, w({}, e)) : e;
|
|
3725
3699
|
}
|
|
3726
|
-
function
|
|
3700
|
+
function wt(e) {
|
|
3727
3701
|
return {
|
|
3728
3702
|
create: function() {
|
|
3729
3703
|
return {
|
|
@@ -3737,39 +3711,39 @@ function xt(e) {
|
|
|
3737
3711
|
}
|
|
3738
3712
|
};
|
|
3739
3713
|
}
|
|
3740
|
-
function
|
|
3714
|
+
function Xi(e) {
|
|
3741
3715
|
return e === void 0 && (e = {
|
|
3742
3716
|
number: {},
|
|
3743
3717
|
dateTime: {},
|
|
3744
3718
|
pluralRules: {}
|
|
3745
3719
|
}), {
|
|
3746
|
-
getNumberFormat:
|
|
3720
|
+
getNumberFormat: yt(function() {
|
|
3747
3721
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3748
3722
|
r[n] = arguments[n];
|
|
3749
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3723
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3750
3724
|
}, {
|
|
3751
|
-
cache:
|
|
3752
|
-
strategy:
|
|
3725
|
+
cache: wt(e.number),
|
|
3726
|
+
strategy: _t.variadic
|
|
3753
3727
|
}),
|
|
3754
|
-
getDateTimeFormat:
|
|
3728
|
+
getDateTimeFormat: yt(function() {
|
|
3755
3729
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3756
3730
|
r[n] = arguments[n];
|
|
3757
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3731
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3758
3732
|
}, {
|
|
3759
|
-
cache:
|
|
3760
|
-
strategy:
|
|
3733
|
+
cache: wt(e.dateTime),
|
|
3734
|
+
strategy: _t.variadic
|
|
3761
3735
|
}),
|
|
3762
|
-
getPluralRules:
|
|
3736
|
+
getPluralRules: yt(function() {
|
|
3763
3737
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3764
3738
|
r[n] = arguments[n];
|
|
3765
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3739
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3766
3740
|
}, {
|
|
3767
|
-
cache:
|
|
3768
|
-
strategy:
|
|
3741
|
+
cache: wt(e.pluralRules),
|
|
3742
|
+
strategy: _t.variadic
|
|
3769
3743
|
})
|
|
3770
3744
|
};
|
|
3771
3745
|
}
|
|
3772
|
-
var
|
|
3746
|
+
var Wi = (
|
|
3773
3747
|
/** @class */
|
|
3774
3748
|
function() {
|
|
3775
3749
|
function e(t, r, n, i) {
|
|
@@ -3784,7 +3758,7 @@ var Ki = (
|
|
|
3784
3758
|
if (l.length === 1)
|
|
3785
3759
|
return l[0].value;
|
|
3786
3760
|
var u = l.reduce(function(f, d) {
|
|
3787
|
-
return !f.length || d.type !==
|
|
3761
|
+
return !f.length || d.type !== V.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
|
|
3788
3762
|
}, []);
|
|
3789
3763
|
return u.length <= 1 ? u[0] || "" : u;
|
|
3790
3764
|
}, this.formatToParts = function(c) {
|
|
@@ -3801,13 +3775,13 @@ var Ki = (
|
|
|
3801
3775
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3802
3776
|
var s = i || {};
|
|
3803
3777
|
s.formatters;
|
|
3804
|
-
var a =
|
|
3778
|
+
var a = Pn(s, ["formatters"]);
|
|
3805
3779
|
this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
|
|
3806
3780
|
} else
|
|
3807
3781
|
this.ast = t;
|
|
3808
3782
|
if (!Array.isArray(this.ast))
|
|
3809
3783
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3810
|
-
this.formats =
|
|
3784
|
+
this.formats = zi(e.formats, n), this.formatters = i && i.formatters || Xi(this.formatterCache);
|
|
3811
3785
|
}
|
|
3812
3786
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3813
3787
|
get: function() {
|
|
@@ -3820,7 +3794,7 @@ var Ki = (
|
|
|
3820
3794
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3821
3795
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3822
3796
|
}
|
|
3823
|
-
}, e.__parse =
|
|
3797
|
+
}, e.__parse = Di, e.formats = {
|
|
3824
3798
|
number: {
|
|
3825
3799
|
integer: {
|
|
3826
3800
|
maximumFractionDigits: 0
|
|
@@ -3881,7 +3855,7 @@ var Ki = (
|
|
|
3881
3855
|
}, e;
|
|
3882
3856
|
}()
|
|
3883
3857
|
);
|
|
3884
|
-
function
|
|
3858
|
+
function Zi(e, t) {
|
|
3885
3859
|
if (t == null)
|
|
3886
3860
|
return;
|
|
3887
3861
|
if (t in e)
|
|
@@ -3902,92 +3876,92 @@ function eo(e, t) {
|
|
|
3902
3876
|
n = void 0;
|
|
3903
3877
|
return n;
|
|
3904
3878
|
}
|
|
3905
|
-
const
|
|
3879
|
+
const ue = {}, qi = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), Xr = (e, t) => {
|
|
3906
3880
|
if (t == null)
|
|
3907
3881
|
return;
|
|
3908
|
-
if (t in
|
|
3909
|
-
return
|
|
3882
|
+
if (t in ue && e in ue[t])
|
|
3883
|
+
return ue[t][e];
|
|
3910
3884
|
const r = pt(t);
|
|
3911
3885
|
for (let n = 0; n < r.length; n++) {
|
|
3912
|
-
const i = r[n], o =
|
|
3886
|
+
const i = r[n], o = Qi(i, e);
|
|
3913
3887
|
if (o)
|
|
3914
|
-
return
|
|
3888
|
+
return qi(e, t, o);
|
|
3915
3889
|
}
|
|
3916
3890
|
};
|
|
3917
|
-
let
|
|
3918
|
-
const
|
|
3919
|
-
function
|
|
3920
|
-
return
|
|
3891
|
+
let kt;
|
|
3892
|
+
const Re = dt({});
|
|
3893
|
+
function Ji(e) {
|
|
3894
|
+
return kt[e] || null;
|
|
3921
3895
|
}
|
|
3922
|
-
function
|
|
3923
|
-
return e in
|
|
3896
|
+
function Wr(e) {
|
|
3897
|
+
return e in kt;
|
|
3924
3898
|
}
|
|
3925
|
-
function
|
|
3926
|
-
if (!
|
|
3899
|
+
function Qi(e, t) {
|
|
3900
|
+
if (!Wr(e))
|
|
3927
3901
|
return null;
|
|
3928
|
-
const r =
|
|
3929
|
-
return
|
|
3902
|
+
const r = Ji(e);
|
|
3903
|
+
return Zi(r, t);
|
|
3930
3904
|
}
|
|
3931
|
-
function
|
|
3905
|
+
function Yi(e) {
|
|
3932
3906
|
if (e == null)
|
|
3933
3907
|
return;
|
|
3934
3908
|
const t = pt(e);
|
|
3935
3909
|
for (let r = 0; r < t.length; r++) {
|
|
3936
3910
|
const n = t[r];
|
|
3937
|
-
if (
|
|
3911
|
+
if (Wr(n))
|
|
3938
3912
|
return n;
|
|
3939
3913
|
}
|
|
3940
3914
|
}
|
|
3941
|
-
function
|
|
3942
|
-
delete
|
|
3915
|
+
function Zr(e, ...t) {
|
|
3916
|
+
delete ue[e], Re.update((r) => (r[e] = ri.all([r[e] || {}, ...t]), r));
|
|
3943
3917
|
}
|
|
3944
|
-
|
|
3945
|
-
[
|
|
3918
|
+
Ne(
|
|
3919
|
+
[Re],
|
|
3946
3920
|
([e]) => Object.keys(e)
|
|
3947
3921
|
);
|
|
3948
|
-
|
|
3922
|
+
Re.subscribe((e) => kt = e);
|
|
3949
3923
|
const lt = {};
|
|
3950
|
-
function
|
|
3924
|
+
function Ki(e, t) {
|
|
3951
3925
|
lt[e].delete(t), lt[e].size === 0 && delete lt[e];
|
|
3952
3926
|
}
|
|
3953
|
-
function
|
|
3927
|
+
function qr(e) {
|
|
3954
3928
|
return lt[e];
|
|
3955
3929
|
}
|
|
3956
|
-
function
|
|
3930
|
+
function eo(e) {
|
|
3957
3931
|
return pt(e).map((t) => {
|
|
3958
|
-
const r =
|
|
3932
|
+
const r = qr(t);
|
|
3959
3933
|
return [t, r ? [...r] : []];
|
|
3960
3934
|
}).filter(([, t]) => t.length > 0);
|
|
3961
3935
|
}
|
|
3962
|
-
function
|
|
3936
|
+
function Ut(e) {
|
|
3963
3937
|
return e == null ? !1 : pt(e).some(
|
|
3964
3938
|
(t) => {
|
|
3965
3939
|
var r;
|
|
3966
|
-
return (r =
|
|
3940
|
+
return (r = qr(t)) == null ? void 0 : r.size;
|
|
3967
3941
|
}
|
|
3968
3942
|
);
|
|
3969
3943
|
}
|
|
3970
|
-
function
|
|
3944
|
+
function to(e, t) {
|
|
3971
3945
|
return Promise.all(
|
|
3972
|
-
t.map((n) => (
|
|
3973
|
-
).then((n) =>
|
|
3946
|
+
t.map((n) => (Ki(e, n), n().then((i) => i.default || i)))
|
|
3947
|
+
).then((n) => Zr(e, ...n));
|
|
3974
3948
|
}
|
|
3975
|
-
const
|
|
3976
|
-
function
|
|
3977
|
-
if (!
|
|
3978
|
-
return e in
|
|
3979
|
-
const t =
|
|
3980
|
-
return
|
|
3949
|
+
const je = {};
|
|
3950
|
+
function Jr(e) {
|
|
3951
|
+
if (!Ut(e))
|
|
3952
|
+
return e in je ? je[e] : Promise.resolve();
|
|
3953
|
+
const t = eo(e);
|
|
3954
|
+
return je[e] = Promise.all(
|
|
3981
3955
|
t.map(
|
|
3982
|
-
([r, n]) =>
|
|
3956
|
+
([r, n]) => to(r, n)
|
|
3983
3957
|
)
|
|
3984
3958
|
).then(() => {
|
|
3985
|
-
if (
|
|
3986
|
-
return
|
|
3987
|
-
delete
|
|
3988
|
-
}),
|
|
3959
|
+
if (Ut(e))
|
|
3960
|
+
return Jr(e);
|
|
3961
|
+
delete je[e];
|
|
3962
|
+
}), je[e];
|
|
3989
3963
|
}
|
|
3990
|
-
const
|
|
3964
|
+
const ro = {
|
|
3991
3965
|
number: {
|
|
3992
3966
|
scientific: { notation: "scientific" },
|
|
3993
3967
|
engineering: { notation: "engineering" },
|
|
@@ -4016,57 +3990,57 @@ const lo = {
|
|
|
4016
3990
|
timeZoneName: "short"
|
|
4017
3991
|
}
|
|
4018
3992
|
}
|
|
4019
|
-
},
|
|
3993
|
+
}, no = {
|
|
4020
3994
|
fallbackLocale: null,
|
|
4021
3995
|
loadingDelay: 200,
|
|
4022
|
-
formats:
|
|
3996
|
+
formats: ro,
|
|
4023
3997
|
warnOnMissingMessages: !0,
|
|
4024
3998
|
handleMissingMessage: void 0,
|
|
4025
3999
|
ignoreTag: !0
|
|
4026
|
-
},
|
|
4027
|
-
function
|
|
4028
|
-
return
|
|
4000
|
+
}, io = no;
|
|
4001
|
+
function Le() {
|
|
4002
|
+
return io;
|
|
4029
4003
|
}
|
|
4030
|
-
const
|
|
4031
|
-
var
|
|
4004
|
+
const xt = dt(!1);
|
|
4005
|
+
var oo = Object.defineProperty, so = Object.defineProperties, ao = Object.getOwnPropertyDescriptors, lr = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, uo = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, co = (e, t) => {
|
|
4032
4006
|
for (var r in t || (t = {}))
|
|
4033
|
-
|
|
4034
|
-
if (
|
|
4035
|
-
for (var r of
|
|
4036
|
-
|
|
4007
|
+
lo.call(t, r) && ur(e, r, t[r]);
|
|
4008
|
+
if (lr)
|
|
4009
|
+
for (var r of lr(t))
|
|
4010
|
+
uo.call(t, r) && ur(e, r, t[r]);
|
|
4037
4011
|
return e;
|
|
4038
|
-
},
|
|
4039
|
-
let
|
|
4012
|
+
}, ho = (e, t) => so(e, ao(t));
|
|
4013
|
+
let Ft;
|
|
4040
4014
|
const ct = dt(null);
|
|
4041
|
-
function
|
|
4015
|
+
function cr(e) {
|
|
4042
4016
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4043
4017
|
}
|
|
4044
|
-
function pt(e, t =
|
|
4045
|
-
const r =
|
|
4046
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4018
|
+
function pt(e, t = Le().fallbackLocale) {
|
|
4019
|
+
const r = cr(e);
|
|
4020
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...cr(t)])] : r;
|
|
4047
4021
|
}
|
|
4048
|
-
function
|
|
4049
|
-
return
|
|
4022
|
+
function ve() {
|
|
4023
|
+
return Ft ?? void 0;
|
|
4050
4024
|
}
|
|
4051
4025
|
ct.subscribe((e) => {
|
|
4052
|
-
|
|
4026
|
+
Ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4053
4027
|
});
|
|
4054
|
-
const
|
|
4055
|
-
if (e &&
|
|
4056
|
-
const { loadingDelay: t } =
|
|
4028
|
+
const fo = (e) => {
|
|
4029
|
+
if (e && Yi(e) && Ut(e)) {
|
|
4030
|
+
const { loadingDelay: t } = Le();
|
|
4057
4031
|
let r;
|
|
4058
|
-
return typeof window < "u" &&
|
|
4059
|
-
() =>
|
|
4032
|
+
return typeof window < "u" && ve() != null && t ? r = window.setTimeout(
|
|
4033
|
+
() => xt.set(!0),
|
|
4060
4034
|
t
|
|
4061
|
-
) :
|
|
4035
|
+
) : xt.set(!0), Jr(e).then(() => {
|
|
4062
4036
|
ct.set(e);
|
|
4063
4037
|
}).finally(() => {
|
|
4064
|
-
clearTimeout(r),
|
|
4038
|
+
clearTimeout(r), xt.set(!1);
|
|
4065
4039
|
});
|
|
4066
4040
|
}
|
|
4067
4041
|
return ct.set(e);
|
|
4068
|
-
},
|
|
4069
|
-
set:
|
|
4042
|
+
}, ce = ho(co({}, ct), {
|
|
4043
|
+
set: fo
|
|
4070
4044
|
}), gt = (e) => {
|
|
4071
4045
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4072
4046
|
return (n) => {
|
|
@@ -4074,92 +4048,92 @@ const yo = (e) => {
|
|
|
4074
4048
|
return i in t ? t[i] : t[i] = e(n);
|
|
4075
4049
|
};
|
|
4076
4050
|
};
|
|
4077
|
-
var
|
|
4051
|
+
var mo = Object.defineProperty, ht = Object.getOwnPropertySymbols, Qr = Object.prototype.hasOwnProperty, Yr = Object.prototype.propertyIsEnumerable, hr = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gt = (e, t) => {
|
|
4078
4052
|
for (var r in t || (t = {}))
|
|
4079
|
-
|
|
4053
|
+
Qr.call(t, r) && hr(e, r, t[r]);
|
|
4080
4054
|
if (ht)
|
|
4081
4055
|
for (var r of ht(t))
|
|
4082
|
-
|
|
4056
|
+
Yr.call(t, r) && hr(e, r, t[r]);
|
|
4083
4057
|
return e;
|
|
4084
|
-
},
|
|
4058
|
+
}, Ue = (e, t) => {
|
|
4085
4059
|
var r = {};
|
|
4086
4060
|
for (var n in e)
|
|
4087
|
-
|
|
4061
|
+
Qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4088
4062
|
if (e != null && ht)
|
|
4089
4063
|
for (var n of ht(e))
|
|
4090
|
-
t.indexOf(n) < 0 &&
|
|
4064
|
+
t.indexOf(n) < 0 && Yr.call(e, n) && (r[n] = e[n]);
|
|
4091
4065
|
return r;
|
|
4092
4066
|
};
|
|
4093
|
-
const
|
|
4094
|
-
const { formats: r } =
|
|
4067
|
+
const We = (e, t) => {
|
|
4068
|
+
const { formats: r } = Le();
|
|
4095
4069
|
if (e in r && t in r[e])
|
|
4096
4070
|
return r[e][t];
|
|
4097
4071
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4098
|
-
},
|
|
4072
|
+
}, po = gt(
|
|
4099
4073
|
(e) => {
|
|
4100
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4074
|
+
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4101
4075
|
if (r == null)
|
|
4102
4076
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4103
|
-
return n && (i =
|
|
4077
|
+
return n && (i = We("number", n)), new Intl.NumberFormat(r, i);
|
|
4104
4078
|
}
|
|
4105
|
-
),
|
|
4079
|
+
), go = gt(
|
|
4106
4080
|
(e) => {
|
|
4107
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4081
|
+
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4108
4082
|
if (r == null)
|
|
4109
4083
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4110
|
-
return n ? i =
|
|
4084
|
+
return n ? i = We("date", n) : Object.keys(i).length === 0 && (i = We("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4111
4085
|
}
|
|
4112
|
-
),
|
|
4086
|
+
), bo = gt(
|
|
4113
4087
|
(e) => {
|
|
4114
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4088
|
+
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4115
4089
|
if (r == null)
|
|
4116
4090
|
throw new Error(
|
|
4117
4091
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4118
4092
|
);
|
|
4119
|
-
return n ? i =
|
|
4093
|
+
return n ? i = We("time", n) : Object.keys(i).length === 0 && (i = We("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4120
4094
|
}
|
|
4121
|
-
),
|
|
4095
|
+
), vo = (e = {}) => {
|
|
4122
4096
|
var t = e, {
|
|
4123
|
-
locale: r =
|
|
4124
|
-
} = t, n =
|
|
4097
|
+
locale: r = ve()
|
|
4098
|
+
} = t, n = Ue(t, [
|
|
4125
4099
|
"locale"
|
|
4126
4100
|
]);
|
|
4127
|
-
return
|
|
4128
|
-
},
|
|
4101
|
+
return po(Gt({ locale: r }, n));
|
|
4102
|
+
}, yo = (e = {}) => {
|
|
4129
4103
|
var t = e, {
|
|
4130
|
-
locale: r =
|
|
4131
|
-
} = t, n =
|
|
4104
|
+
locale: r = ve()
|
|
4105
|
+
} = t, n = Ue(t, [
|
|
4132
4106
|
"locale"
|
|
4133
4107
|
]);
|
|
4134
|
-
return
|
|
4135
|
-
},
|
|
4108
|
+
return go(Gt({ locale: r }, n));
|
|
4109
|
+
}, _o = (e = {}) => {
|
|
4136
4110
|
var t = e, {
|
|
4137
|
-
locale: r =
|
|
4138
|
-
} = t, n =
|
|
4111
|
+
locale: r = ve()
|
|
4112
|
+
} = t, n = Ue(t, [
|
|
4139
4113
|
"locale"
|
|
4140
4114
|
]);
|
|
4141
|
-
return
|
|
4142
|
-
},
|
|
4115
|
+
return bo(Gt({ locale: r }, n));
|
|
4116
|
+
}, Eo = gt(
|
|
4143
4117
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4144
|
-
(e, t =
|
|
4145
|
-
ignoreTag:
|
|
4118
|
+
(e, t = ve()) => new Wi(e, t, Le().formats, {
|
|
4119
|
+
ignoreTag: Le().ignoreTag
|
|
4146
4120
|
})
|
|
4147
|
-
),
|
|
4121
|
+
), wo = (e, t = {}) => {
|
|
4148
4122
|
var r, n, i, o;
|
|
4149
4123
|
let s = t;
|
|
4150
4124
|
typeof e == "object" && (s = e, e = s.id);
|
|
4151
4125
|
const {
|
|
4152
4126
|
values: a,
|
|
4153
|
-
locale: c =
|
|
4127
|
+
locale: c = ve(),
|
|
4154
4128
|
default: l
|
|
4155
4129
|
} = s;
|
|
4156
4130
|
if (c == null)
|
|
4157
4131
|
throw new Error(
|
|
4158
4132
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4159
4133
|
);
|
|
4160
|
-
let u =
|
|
4134
|
+
let u = Xr(e, c);
|
|
4161
4135
|
if (!u)
|
|
4162
|
-
u = (o = (i = (n = (r =
|
|
4136
|
+
u = (o = (i = (n = (r = Le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4163
4137
|
else if (typeof u != "string")
|
|
4164
4138
|
return console.warn(
|
|
4165
4139
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4168,7 +4142,7 @@ const Ze = (e, t) => {
|
|
|
4168
4142
|
return u;
|
|
4169
4143
|
let f = u;
|
|
4170
4144
|
try {
|
|
4171
|
-
f =
|
|
4145
|
+
f = Eo(u, c).format(a);
|
|
4172
4146
|
} catch (d) {
|
|
4173
4147
|
d instanceof Error && console.warn(
|
|
4174
4148
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4176,13 +4150,36 @@ const Ze = (e, t) => {
|
|
|
4176
4150
|
);
|
|
4177
4151
|
}
|
|
4178
4152
|
return f;
|
|
4179
|
-
},
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
window.emWidgets = { topic:
|
|
4185
|
-
const
|
|
4153
|
+
}, xo = (e, t) => _o(t).format(e), So = (e, t) => yo(t).format(e), Po = (e, t) => vo(t).format(e), To = (e, t = ve()) => Xr(e, t), Ho = Ne([ce, Re], () => wo);
|
|
4154
|
+
Ne([ce], () => xo);
|
|
4155
|
+
Ne([ce], () => So);
|
|
4156
|
+
Ne([ce], () => Po);
|
|
4157
|
+
Ne([ce, Re], () => To);
|
|
4158
|
+
window.emWidgets = { topic: Dn };
|
|
4159
|
+
const Bo = (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));
|
|
4160
|
+
function Ao(e, t) {
|
|
4161
|
+
if (e) {
|
|
4162
|
+
const r = document.createElement("style");
|
|
4163
|
+
r.innerHTML = t, e.appendChild(r);
|
|
4164
|
+
}
|
|
4165
|
+
}
|
|
4166
|
+
function Io(e, t) {
|
|
4167
|
+
const r = new URL(t);
|
|
4168
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4169
|
+
const i = document.createElement("style");
|
|
4170
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4171
|
+
}).catch((n) => {
|
|
4172
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4173
|
+
});
|
|
4174
|
+
}
|
|
4175
|
+
function Co(e, t, r) {
|
|
4176
|
+
if (window.emMessageBus) {
|
|
4177
|
+
const n = document.createElement("style");
|
|
4178
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
4179
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4180
|
+
});
|
|
4181
|
+
}
|
|
4182
|
+
}
|
|
4186
4183
|
if (typeof window < "u") {
|
|
4187
4184
|
let e = function(t) {
|
|
4188
4185
|
return function(...r) {
|
|
@@ -4195,22 +4192,22 @@ if (typeof window < "u") {
|
|
|
4195
4192
|
}
|
|
4196
4193
|
};
|
|
4197
4194
|
};
|
|
4198
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4195
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-C7wZcrhZ.js").then(({ default: t }) => {
|
|
4199
4196
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4200
4197
|
});
|
|
4201
4198
|
}
|
|
4202
|
-
function
|
|
4203
|
-
|
|
4204
|
-
r == null && (
|
|
4199
|
+
function Oo({ withLocale: e, translations: t }) {
|
|
4200
|
+
ce.subscribe((r) => {
|
|
4201
|
+
r == null && (Re.set(t), ce.set(e));
|
|
4205
4202
|
});
|
|
4206
4203
|
}
|
|
4207
|
-
function
|
|
4208
|
-
|
|
4204
|
+
function fr(e, t) {
|
|
4205
|
+
Zr(e, t);
|
|
4209
4206
|
}
|
|
4210
|
-
function
|
|
4211
|
-
|
|
4207
|
+
function Lo(e) {
|
|
4208
|
+
ce.set(e);
|
|
4212
4209
|
}
|
|
4213
|
-
const
|
|
4210
|
+
const dr = {
|
|
4214
4211
|
en: {
|
|
4215
4212
|
loginTitle: "Welcome",
|
|
4216
4213
|
loginSubtitle: "Don't have an account yet?",
|
|
@@ -4354,23 +4351,23 @@ const gr = {
|
|
|
4354
4351
|
loginForgotPassword: "I forgot my password",
|
|
4355
4352
|
successMessage: "Login successful"
|
|
4356
4353
|
}
|
|
4357
|
-
}
|
|
4358
|
-
function
|
|
4359
|
-
|
|
4354
|
+
};
|
|
4355
|
+
function Mo(e) {
|
|
4356
|
+
nn(e, "svelte-b3dr9t", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.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--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.SignInButton{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.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:14px;font-weight:300;color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset}.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, #D0046C));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) 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)}}');
|
|
4360
4357
|
}
|
|
4361
|
-
function
|
|
4358
|
+
function mr(e) {
|
|
4362
4359
|
let t, r;
|
|
4363
4360
|
return {
|
|
4364
4361
|
c() {
|
|
4365
|
-
t =
|
|
4362
|
+
t = x("script"), Vt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4366
4363
|
e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
|
|
4367
4364
|
},
|
|
4368
4365
|
m(n, i) {
|
|
4369
|
-
|
|
4366
|
+
M(n, t, i);
|
|
4370
4367
|
},
|
|
4371
4368
|
p(n, i) {
|
|
4372
4369
|
i[0] & /*captchakey*/
|
|
4373
|
-
2 && !
|
|
4370
|
+
2 && !Vt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4374
4371
|
n[1]) && h(t, "src", r);
|
|
4375
4372
|
},
|
|
4376
4373
|
d(n) {
|
|
@@ -4378,41 +4375,41 @@ function vr(e) {
|
|
|
4378
4375
|
}
|
|
4379
4376
|
};
|
|
4380
4377
|
}
|
|
4381
|
-
function
|
|
4378
|
+
function No(e) {
|
|
4382
4379
|
let t, r, n;
|
|
4383
4380
|
function i(a, c) {
|
|
4384
4381
|
return (
|
|
4385
4382
|
/*startSmsValidation*/
|
|
4386
|
-
a[
|
|
4383
|
+
a[21] ? Fo : Uo
|
|
4387
4384
|
);
|
|
4388
4385
|
}
|
|
4389
4386
|
let o = i(e), s = o(e);
|
|
4390
4387
|
return {
|
|
4391
4388
|
c() {
|
|
4392
|
-
t =
|
|
4393
|
-
(e[
|
|
4389
|
+
t = x("div"), r = x("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
|
|
4390
|
+
(e[11] ? "FormMobileContainer" : ""));
|
|
4394
4391
|
},
|
|
4395
4392
|
m(a, c) {
|
|
4396
|
-
|
|
4393
|
+
M(a, t, c), m(t, r), s.m(r, null);
|
|
4397
4394
|
},
|
|
4398
4395
|
p(a, c) {
|
|
4399
4396
|
o === (o = i(a)) && s ? s.p(a, c) : (s.d(1), s = o(a), s && (s.c(), s.m(r, null))), c[0] & /*mobileView*/
|
|
4400
|
-
|
|
4401
|
-
(a[
|
|
4397
|
+
2048 && n !== (n = "FormContainer " + /*mobileView*/
|
|
4398
|
+
(a[11] ? "FormMobileContainer" : "")) && h(t, "class", n);
|
|
4402
4399
|
},
|
|
4403
4400
|
d(a) {
|
|
4404
4401
|
a && I(t), s.d();
|
|
4405
4402
|
}
|
|
4406
4403
|
};
|
|
4407
4404
|
}
|
|
4408
|
-
function
|
|
4405
|
+
function Ro(e) {
|
|
4409
4406
|
let t;
|
|
4410
4407
|
return {
|
|
4411
4408
|
c() {
|
|
4412
|
-
t =
|
|
4409
|
+
t = x("div"), t.innerHTML = '<div class="ModalLoader"></div>', h(t, "class", "ModalLoaderWrapper");
|
|
4413
4410
|
},
|
|
4414
4411
|
m(r, n) {
|
|
4415
|
-
|
|
4412
|
+
M(r, t, n);
|
|
4416
4413
|
},
|
|
4417
4414
|
p: Z,
|
|
4418
4415
|
d(r) {
|
|
@@ -4420,239 +4417,250 @@ function Do(e) {
|
|
|
4420
4417
|
}
|
|
4421
4418
|
};
|
|
4422
4419
|
}
|
|
4423
|
-
function
|
|
4420
|
+
function Uo(e) {
|
|
4424
4421
|
let t, r, n = (
|
|
4425
4422
|
/*$_*/
|
|
4426
|
-
e[
|
|
4423
|
+
e[22]("loginTitle") + ""
|
|
4427
4424
|
), i, o, s, a = (
|
|
4428
4425
|
/*$_*/
|
|
4429
|
-
e[
|
|
4426
|
+
e[22]("loginSubtitle") + ""
|
|
4430
4427
|
), c, l, u, f = (
|
|
4431
4428
|
/*$_*/
|
|
4432
|
-
e[
|
|
4433
|
-
), d, b, y, g,
|
|
4429
|
+
e[22]("loginSubtitleRegister") + ""
|
|
4430
|
+
), d, b, y, g, S, C, z = (
|
|
4434
4431
|
/*$_*/
|
|
4435
|
-
e[
|
|
4436
|
-
),
|
|
4432
|
+
e[22]("loginUsername") + ""
|
|
4433
|
+
), R, U, A, re, H, ie, he, J, le, B, ne, X = (
|
|
4437
4434
|
/*$_*/
|
|
4438
|
-
e[
|
|
4439
|
-
),
|
|
4435
|
+
e[22]("loginPassword") + ""
|
|
4436
|
+
), Fe, Ze, fe, de, O, ye, qe, _e, Ee, me, De, we, Q, pe = (
|
|
4440
4437
|
/*$_*/
|
|
4441
|
-
e[
|
|
4442
|
-
),
|
|
4438
|
+
e[22]("loginButton") + ""
|
|
4439
|
+
), xe, Je, ge, be = (
|
|
4443
4440
|
/*$_*/
|
|
4444
|
-
e[
|
|
4445
|
-
),
|
|
4441
|
+
e[22]("loginForgotPassword") + ""
|
|
4442
|
+
), ke, Ge, Qe, F = (
|
|
4446
4443
|
/*invalidName*/
|
|
4447
|
-
e[
|
|
4444
|
+
e[14] && pr(e)
|
|
4448
4445
|
);
|
|
4449
4446
|
function Ye(v, P) {
|
|
4450
4447
|
return (
|
|
4451
4448
|
/*isPasswordVisible*/
|
|
4452
|
-
v[
|
|
4449
|
+
v[19] ? ko : Do
|
|
4453
4450
|
);
|
|
4454
4451
|
}
|
|
4455
|
-
let
|
|
4456
|
-
/*invalidPassword*/
|
|
4457
|
-
e[14] && /*simplepasswordvalidation*/
|
|
4458
|
-
e[2] !== "true" && _r(e)
|
|
4459
|
-
), D = (
|
|
4452
|
+
let Se = Ye(e), Y = Se(e), D = (
|
|
4460
4453
|
/*invalidPassword*/
|
|
4461
|
-
e[
|
|
4462
|
-
e[2]
|
|
4454
|
+
e[15] && /*simplepasswordvalidation*/
|
|
4455
|
+
e[2] !== "true" && gr(e)
|
|
4463
4456
|
), k = (
|
|
4457
|
+
/*invalidPassword*/
|
|
4458
|
+
e[15] && /*simplepasswordvalidation*/
|
|
4459
|
+
e[2] === "true" && br(e)
|
|
4460
|
+
), G = (
|
|
4464
4461
|
/*errorMessage*/
|
|
4465
|
-
e[
|
|
4462
|
+
e[16] && vr(e)
|
|
4466
4463
|
);
|
|
4467
4464
|
return {
|
|
4468
4465
|
c() {
|
|
4469
|
-
t =
|
|
4470
|
-
e[
|
|
4471
|
-
(e[
|
|
4472
|
-
e[
|
|
4473
|
-
(e[
|
|
4474
|
-
e[
|
|
4466
|
+
t = x("div"), r = x("h4"), i = N(n), o = j(), s = x("p"), c = N(a), l = j(), u = x("span"), d = N(f), b = j(), y = x("div"), g = x("form"), S = x("div"), C = x("label"), R = N(z), U = N(":"), A = x("span"), A.textContent = "*", re = j(), H = x("input"), he = j(), F && F.c(), le = j(), B = x("div"), ne = x("label"), Fe = N(X), Ze = N(":"), fe = x("span"), fe.textContent = "*", de = j(), O = x("input"), qe = j(), Y.c(), _e = j(), D && D.c(), Ee = j(), k && k.c(), De = j(), G && G.c(), we = j(), Q = x("button"), xe = N(pe), Je = j(), ge = x("button"), ke = N(be), h(r, "class", "FormHeaderTitle"), h(u, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(A, "class", "FormRequired"), h(C, "for", "username"), h(H, "type", "text"), h(H, "id", "email"), h(H, "name", "email"), h(H, "autocapitalize", "none"), h(H, "autocomplete", ie = /*savecredentials*/
|
|
4467
|
+
e[6] ? "username email" : "off"), H.required = !0, h(S, "class", J = "UserContainer " + /*invalidName*/
|
|
4468
|
+
(e[14] ? "InvalidField" : "")), h(fe, "class", "FormRequired"), h(ne, "for", "current-password"), h(O, "type", "password"), h(O, "name", "current-password"), h(O, "id", "current-password"), h(O, "autocapitalize", "none"), h(O, "autocomplete", ye = /*savecredentials*/
|
|
4469
|
+
e[6] ? "current-password" : "off"), h(O, "aria-describedby", "password-constraints"), O.required = !0, h(B, "class", me = "PasswordContainer " + /*invalidPassword*/
|
|
4470
|
+
(e[15] ? "InvalidField" : "")), h(Q, "class", "SignInButton"), Q.disabled = /*isFormDataInvalid*/
|
|
4471
|
+
e[20], h(Q, "id", "signin-button"), h(ge, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
|
|
4475
4472
|
},
|
|
4476
4473
|
m(v, P) {
|
|
4477
|
-
|
|
4478
|
-
|
|
4474
|
+
M(v, t, P), m(t, r), m(r, i), m(t, o), m(t, s), m(s, c), m(s, l), m(s, u), m(u, d), M(v, b, P), M(v, y, P), m(y, g), m(g, S), m(S, C), m(C, R), m(C, U), m(C, A), m(S, re), m(S, H), rt(
|
|
4475
|
+
H,
|
|
4479
4476
|
/*userValue*/
|
|
4480
|
-
e[11]
|
|
4481
|
-
), m(x, re), U && U.m(x, null), m(g, fe), m(g, A), m(A, W), m(W, Re), m(W, Ue), m(W, oe), m(A, qe), m(A, C), rt(
|
|
4482
|
-
C,
|
|
4483
|
-
/*userPassword*/
|
|
4484
4477
|
e[12]
|
|
4485
|
-
),
|
|
4486
|
-
|
|
4478
|
+
), m(S, he), F && F.m(S, null), m(g, le), m(g, B), m(B, ne), m(ne, Fe), m(ne, Ze), m(ne, fe), m(B, de), m(B, O), rt(
|
|
4479
|
+
O,
|
|
4480
|
+
/*userPassword*/
|
|
4481
|
+
e[13]
|
|
4482
|
+
), e[36](O), m(B, qe), Y.m(B, null), m(B, _e), D && D.m(B, null), m(B, Ee), k && k.m(B, null), m(g, De), G && G.m(g, null), m(g, we), m(g, Q), m(Q, xe), m(g, Je), m(g, ge), m(ge, ke), Ge || (Qe = [
|
|
4483
|
+
oe(
|
|
4487
4484
|
u,
|
|
4488
4485
|
"click",
|
|
4489
4486
|
/*click_handler*/
|
|
4490
|
-
e[
|
|
4487
|
+
e[33]
|
|
4491
4488
|
),
|
|
4492
|
-
|
|
4493
|
-
|
|
4489
|
+
oe(
|
|
4490
|
+
H,
|
|
4494
4491
|
"input",
|
|
4495
4492
|
/*input0_input_handler*/
|
|
4496
|
-
e[
|
|
4493
|
+
e[34]
|
|
4497
4494
|
),
|
|
4498
|
-
|
|
4499
|
-
|
|
4495
|
+
oe(
|
|
4496
|
+
H,
|
|
4500
4497
|
"input",
|
|
4501
4498
|
/*validateUserName*/
|
|
4502
|
-
e[
|
|
4499
|
+
e[28]
|
|
4503
4500
|
),
|
|
4504
|
-
|
|
4505
|
-
|
|
4501
|
+
oe(
|
|
4502
|
+
O,
|
|
4506
4503
|
"input",
|
|
4507
4504
|
/*input1_input_handler*/
|
|
4508
|
-
e[
|
|
4505
|
+
e[35]
|
|
4509
4506
|
),
|
|
4510
|
-
|
|
4511
|
-
|
|
4507
|
+
oe(
|
|
4508
|
+
O,
|
|
4512
4509
|
"input",
|
|
4513
4510
|
/*validatePassword*/
|
|
4514
|
-
e[
|
|
4511
|
+
e[29]
|
|
4515
4512
|
),
|
|
4516
|
-
|
|
4517
|
-
|
|
4513
|
+
oe(
|
|
4514
|
+
Q,
|
|
4518
4515
|
"click",
|
|
4519
4516
|
/*click_handler_3*/
|
|
4520
|
-
e[
|
|
4517
|
+
e[39]
|
|
4521
4518
|
),
|
|
4522
|
-
|
|
4523
|
-
|
|
4519
|
+
oe(
|
|
4520
|
+
ge,
|
|
4524
4521
|
"click",
|
|
4525
4522
|
/*click_handler_4*/
|
|
4526
|
-
e[
|
|
4523
|
+
e[40]
|
|
4527
4524
|
)
|
|
4528
4525
|
], Ge = !0);
|
|
4529
4526
|
},
|
|
4530
4527
|
p(v, P) {
|
|
4531
4528
|
P[0] & /*$_*/
|
|
4532
|
-
|
|
4533
|
-
v[
|
|
4534
|
-
|
|
4535
|
-
v[
|
|
4536
|
-
|
|
4537
|
-
v[
|
|
4538
|
-
|
|
4539
|
-
v[
|
|
4540
|
-
|
|
4541
|
-
v[
|
|
4542
|
-
|
|
4543
|
-
v[
|
|
4544
|
-
|
|
4529
|
+
4194304 && n !== (n = /*$_*/
|
|
4530
|
+
v[22]("loginTitle") + "") && te(i, n), P[0] & /*$_*/
|
|
4531
|
+
4194304 && a !== (a = /*$_*/
|
|
4532
|
+
v[22]("loginSubtitle") + "") && te(c, a), P[0] & /*$_*/
|
|
4533
|
+
4194304 && f !== (f = /*$_*/
|
|
4534
|
+
v[22]("loginSubtitleRegister") + "") && te(d, f), P[0] & /*$_*/
|
|
4535
|
+
4194304 && z !== (z = /*$_*/
|
|
4536
|
+
v[22]("loginUsername") + "") && te(R, z), P[0] & /*savecredentials*/
|
|
4537
|
+
64 && ie !== (ie = /*savecredentials*/
|
|
4538
|
+
v[6] ? "username email" : "off") && h(H, "autocomplete", ie), P[0] & /*userValue*/
|
|
4539
|
+
4096 && H.value !== /*userValue*/
|
|
4540
|
+
v[12] && rt(
|
|
4541
|
+
H,
|
|
4545
4542
|
/*userValue*/
|
|
4546
|
-
v[
|
|
4543
|
+
v[12]
|
|
4547
4544
|
), /*invalidName*/
|
|
4548
|
-
v[
|
|
4549
|
-
|
|
4550
|
-
(v[
|
|
4551
|
-
|
|
4552
|
-
v[
|
|
4553
|
-
|
|
4554
|
-
v[
|
|
4555
|
-
|
|
4556
|
-
v[
|
|
4557
|
-
|
|
4545
|
+
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*/
|
|
4546
|
+
16384 && J !== (J = "UserContainer " + /*invalidName*/
|
|
4547
|
+
(v[14] ? "InvalidField" : "")) && h(S, "class", J), P[0] & /*$_*/
|
|
4548
|
+
4194304 && X !== (X = /*$_*/
|
|
4549
|
+
v[22]("loginPassword") + "") && te(Fe, X), P[0] & /*savecredentials*/
|
|
4550
|
+
64 && ye !== (ye = /*savecredentials*/
|
|
4551
|
+
v[6] ? "current-password" : "off") && h(O, "autocomplete", ye), P[0] & /*userPassword*/
|
|
4552
|
+
8192 && O.value !== /*userPassword*/
|
|
4553
|
+
v[13] && rt(
|
|
4554
|
+
O,
|
|
4558
4555
|
/*userPassword*/
|
|
4559
|
-
v[
|
|
4560
|
-
),
|
|
4561
|
-
v[
|
|
4562
|
-
v[2] !== "true" ?
|
|
4563
|
-
v[
|
|
4564
|
-
v[2] === "true" ?
|
|
4565
|
-
|
|
4566
|
-
(v[
|
|
4567
|
-
v[
|
|
4568
|
-
|
|
4569
|
-
v[
|
|
4570
|
-
|
|
4571
|
-
v[
|
|
4572
|
-
|
|
4573
|
-
v[
|
|
4556
|
+
v[13]
|
|
4557
|
+
), Se === (Se = Ye(v)) && Y ? Y.p(v, P) : (Y.d(1), Y = Se(v), Y && (Y.c(), Y.m(B, _e))), /*invalidPassword*/
|
|
4558
|
+
v[15] && /*simplepasswordvalidation*/
|
|
4559
|
+
v[2] !== "true" ? D ? D.p(v, P) : (D = gr(v), D.c(), D.m(B, Ee)) : D && (D.d(1), D = null), /*invalidPassword*/
|
|
4560
|
+
v[15] && /*simplepasswordvalidation*/
|
|
4561
|
+
v[2] === "true" ? k ? k.p(v, P) : (k = br(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), P[0] & /*invalidPassword*/
|
|
4562
|
+
32768 && me !== (me = "PasswordContainer " + /*invalidPassword*/
|
|
4563
|
+
(v[15] ? "InvalidField" : "")) && h(B, "class", me), /*errorMessage*/
|
|
4564
|
+
v[16] ? G ? G.p(v, P) : (G = vr(v), G.c(), G.m(g, we)) : G && (G.d(1), G = null), P[0] & /*$_*/
|
|
4565
|
+
4194304 && pe !== (pe = /*$_*/
|
|
4566
|
+
v[22]("loginButton") + "") && te(xe, pe), P[0] & /*isFormDataInvalid*/
|
|
4567
|
+
1048576 && (Q.disabled = /*isFormDataInvalid*/
|
|
4568
|
+
v[20]), P[0] & /*$_*/
|
|
4569
|
+
4194304 && be !== (be = /*$_*/
|
|
4570
|
+
v[22]("loginForgotPassword") + "") && te(ke, be);
|
|
4574
4571
|
},
|
|
4575
4572
|
d(v) {
|
|
4576
|
-
v && (I(t), I(b), I(y)),
|
|
4573
|
+
v && (I(t), I(b), I(y)), F && F.d(), e[36](null), Y.d(), D && D.d(), k && k.d(), G && G.d(), Ge = !1, Me(Qe);
|
|
4577
4574
|
}
|
|
4578
4575
|
};
|
|
4579
4576
|
}
|
|
4580
|
-
function
|
|
4577
|
+
function Fo(e) {
|
|
4581
4578
|
let t;
|
|
4582
4579
|
return {
|
|
4583
4580
|
c() {
|
|
4584
|
-
t =
|
|
4581
|
+
t = x("general-player-sms-verification-form"), W(
|
|
4585
4582
|
t,
|
|
4586
4583
|
"endpoint",
|
|
4587
4584
|
/*endpoint*/
|
|
4588
4585
|
e[0]
|
|
4589
|
-
),
|
|
4586
|
+
), W(
|
|
4590
4587
|
t,
|
|
4591
4588
|
"number",
|
|
4592
4589
|
/*number*/
|
|
4593
|
-
e[
|
|
4594
|
-
),
|
|
4590
|
+
e[10]
|
|
4591
|
+
), W(
|
|
4595
4592
|
t,
|
|
4596
4593
|
"clientstyling",
|
|
4597
4594
|
/*clientstyling*/
|
|
4598
|
-
e[
|
|
4599
|
-
),
|
|
4595
|
+
e[4]
|
|
4596
|
+
), W(
|
|
4600
4597
|
t,
|
|
4601
4598
|
"clientstylingurl",
|
|
4602
4599
|
/*clientstylingurl*/
|
|
4603
|
-
e[
|
|
4604
|
-
),
|
|
4600
|
+
e[5]
|
|
4601
|
+
), W(
|
|
4605
4602
|
t,
|
|
4606
4603
|
"playerid",
|
|
4607
4604
|
/*playerId*/
|
|
4608
|
-
e[
|
|
4609
|
-
),
|
|
4605
|
+
e[8]
|
|
4606
|
+
), W(
|
|
4610
4607
|
t,
|
|
4611
4608
|
"tokenid",
|
|
4612
4609
|
/*smsTokenId*/
|
|
4613
|
-
e[
|
|
4610
|
+
e[9]
|
|
4611
|
+
), W(
|
|
4612
|
+
t,
|
|
4613
|
+
"mbsource",
|
|
4614
|
+
/*mbsource*/
|
|
4615
|
+
e[3]
|
|
4614
4616
|
);
|
|
4615
4617
|
},
|
|
4616
4618
|
m(r, n) {
|
|
4617
|
-
|
|
4619
|
+
M(r, t, n);
|
|
4618
4620
|
},
|
|
4619
4621
|
p(r, n) {
|
|
4620
4622
|
n[0] & /*endpoint*/
|
|
4621
|
-
1 &&
|
|
4623
|
+
1 && W(
|
|
4622
4624
|
t,
|
|
4623
4625
|
"endpoint",
|
|
4624
4626
|
/*endpoint*/
|
|
4625
4627
|
r[0]
|
|
4626
4628
|
), n[0] & /*number*/
|
|
4627
|
-
|
|
4629
|
+
1024 && W(
|
|
4628
4630
|
t,
|
|
4629
4631
|
"number",
|
|
4630
4632
|
/*number*/
|
|
4631
|
-
r[
|
|
4633
|
+
r[10]
|
|
4632
4634
|
), n[0] & /*clientstyling*/
|
|
4633
|
-
|
|
4635
|
+
16 && W(
|
|
4634
4636
|
t,
|
|
4635
4637
|
"clientstyling",
|
|
4636
4638
|
/*clientstyling*/
|
|
4637
|
-
r[
|
|
4639
|
+
r[4]
|
|
4638
4640
|
), n[0] & /*clientstylingurl*/
|
|
4639
|
-
|
|
4641
|
+
32 && W(
|
|
4640
4642
|
t,
|
|
4641
4643
|
"clientstylingurl",
|
|
4642
4644
|
/*clientstylingurl*/
|
|
4643
|
-
r[
|
|
4645
|
+
r[5]
|
|
4644
4646
|
), n[0] & /*playerId*/
|
|
4645
|
-
|
|
4647
|
+
256 && W(
|
|
4646
4648
|
t,
|
|
4647
4649
|
"playerid",
|
|
4648
4650
|
/*playerId*/
|
|
4649
|
-
r[
|
|
4651
|
+
r[8]
|
|
4650
4652
|
), n[0] & /*smsTokenId*/
|
|
4651
|
-
|
|
4653
|
+
512 && W(
|
|
4652
4654
|
t,
|
|
4653
4655
|
"tokenid",
|
|
4654
4656
|
/*smsTokenId*/
|
|
4655
|
-
r[
|
|
4657
|
+
r[9]
|
|
4658
|
+
), n[0] & /*mbsource*/
|
|
4659
|
+
8 && W(
|
|
4660
|
+
t,
|
|
4661
|
+
"mbsource",
|
|
4662
|
+
/*mbsource*/
|
|
4663
|
+
r[3]
|
|
4656
4664
|
);
|
|
4657
4665
|
},
|
|
4658
4666
|
d(r) {
|
|
@@ -4660,40 +4668,40 @@ function $o(e) {
|
|
|
4660
4668
|
}
|
|
4661
4669
|
};
|
|
4662
4670
|
}
|
|
4663
|
-
function
|
|
4671
|
+
function pr(e) {
|
|
4664
4672
|
let t, r = (
|
|
4665
4673
|
/*$_*/
|
|
4666
|
-
e[
|
|
4674
|
+
e[22]("loginUsernameError") + ""
|
|
4667
4675
|
), n;
|
|
4668
4676
|
return {
|
|
4669
4677
|
c() {
|
|
4670
|
-
t =
|
|
4678
|
+
t = x("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4671
4679
|
},
|
|
4672
4680
|
m(i, o) {
|
|
4673
|
-
|
|
4681
|
+
M(i, t, o), m(t, n);
|
|
4674
4682
|
},
|
|
4675
4683
|
p(i, o) {
|
|
4676
4684
|
o[0] & /*$_*/
|
|
4677
|
-
|
|
4678
|
-
i[
|
|
4685
|
+
4194304 && r !== (r = /*$_*/
|
|
4686
|
+
i[22]("loginUsernameError") + "") && te(n, r);
|
|
4679
4687
|
},
|
|
4680
4688
|
d(i) {
|
|
4681
4689
|
i && I(t);
|
|
4682
4690
|
}
|
|
4683
4691
|
};
|
|
4684
4692
|
}
|
|
4685
|
-
function
|
|
4693
|
+
function Do(e) {
|
|
4686
4694
|
let t, r, n, i, o, s, a, c, l;
|
|
4687
4695
|
return {
|
|
4688
4696
|
c() {
|
|
4689
|
-
t =
|
|
4697
|
+
t = L("svg"), r = L("defs"), n = L("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = L("g"), s = L("path"), a = L("circle"), h(s, "class", "a"), h(s, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), h(s, "transform", "translate(0)"), h(a, "class", "a"), h(a, "cx", "2.779"), h(a, "cy", "2.779"), h(a, "r", "2.779"), h(a, "transform", "translate(20.827 30.303)"), h(o, "transform", "translate(-14.185 -27.832)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.843"), h(t, "height", "10.5"), h(t, "viewBox", "0 0 18.843 10.5");
|
|
4690
4698
|
},
|
|
4691
4699
|
m(u, f) {
|
|
4692
|
-
|
|
4700
|
+
M(u, t, f), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), c || (l = oe(
|
|
4693
4701
|
t,
|
|
4694
4702
|
"click",
|
|
4695
4703
|
/*click_handler_2*/
|
|
4696
|
-
e[
|
|
4704
|
+
e[38]
|
|
4697
4705
|
), c = !0);
|
|
4698
4706
|
},
|
|
4699
4707
|
p: Z,
|
|
@@ -4702,88 +4710,88 @@ function Go(e) {
|
|
|
4702
4710
|
}
|
|
4703
4711
|
};
|
|
4704
4712
|
}
|
|
4705
|
-
function
|
|
4713
|
+
function ko(e) {
|
|
4706
4714
|
let t, r, n, i, o, s, a, c, l, u, f, d, b, y, g;
|
|
4707
4715
|
return {
|
|
4708
4716
|
c() {
|
|
4709
|
-
t =
|
|
4717
|
+
t = L("svg"), r = L("defs"), n = L("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = L("g"), s = L("circle"), a = L("g"), c = L("path"), l = L("path"), u = L("g"), f = L("path"), d = L("path"), b = L("rect"), h(s, "class", "a"), h(s, "cx", "0.05"), h(s, "cy", "0.05"), h(s, "r", "0.05"), h(s, "transform", "translate(121.017 31.148)"), h(c, "class", "a"), h(c, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(c, "transform", "translate(-142.164 -39.123)"), h(l, "class", "a"), h(l, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), h(l, "transform", "translate(-136.413 -42.068)"), h(a, "transform", "translate(117.499 27.37)"), h(f, "class", "a"), h(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), h(f, "transform", "translate(-110.856 -33.157)"), h(d, "class", "a"), h(d, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), h(d, "transform", "translate(-130.743 -29.617)"), h(u, "transform", "translate(110.856 24.899)"), h(b, "class", "a"), h(b, "width", "0.972"), h(b, "height", "15.861"), h(b, "rx", "0.486"), h(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), h(o, "transform", "translate(-110.856 -23.242)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.844"), h(t, "height", "12.887"), h(t, "viewBox", "0 0 18.844 12.887");
|
|
4710
4718
|
},
|
|
4711
|
-
m(
|
|
4712
|
-
|
|
4719
|
+
m(S, C) {
|
|
4720
|
+
M(S, t, C), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, c), m(a, l), m(o, u), m(u, f), m(u, d), m(o, b), y || (g = oe(
|
|
4713
4721
|
t,
|
|
4714
4722
|
"click",
|
|
4715
4723
|
/*click_handler_1*/
|
|
4716
|
-
e[
|
|
4724
|
+
e[37]
|
|
4717
4725
|
), y = !0);
|
|
4718
4726
|
},
|
|
4719
4727
|
p: Z,
|
|
4720
|
-
d(
|
|
4721
|
-
|
|
4728
|
+
d(S) {
|
|
4729
|
+
S && I(t), y = !1, g();
|
|
4722
4730
|
}
|
|
4723
4731
|
};
|
|
4724
4732
|
}
|
|
4725
|
-
function
|
|
4733
|
+
function gr(e) {
|
|
4726
4734
|
let t, r = (
|
|
4727
4735
|
/*$_*/
|
|
4728
|
-
e[
|
|
4736
|
+
e[22]("loginPasswordError") + ""
|
|
4729
4737
|
), n;
|
|
4730
4738
|
return {
|
|
4731
4739
|
c() {
|
|
4732
|
-
t =
|
|
4740
|
+
t = x("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4733
4741
|
},
|
|
4734
4742
|
m(i, o) {
|
|
4735
|
-
|
|
4743
|
+
M(i, t, o), m(t, n);
|
|
4736
4744
|
},
|
|
4737
4745
|
p(i, o) {
|
|
4738
4746
|
o[0] & /*$_*/
|
|
4739
|
-
|
|
4740
|
-
i[
|
|
4747
|
+
4194304 && r !== (r = /*$_*/
|
|
4748
|
+
i[22]("loginPasswordError") + "") && te(n, r);
|
|
4741
4749
|
},
|
|
4742
4750
|
d(i) {
|
|
4743
4751
|
i && I(t);
|
|
4744
4752
|
}
|
|
4745
4753
|
};
|
|
4746
4754
|
}
|
|
4747
|
-
function
|
|
4755
|
+
function br(e) {
|
|
4748
4756
|
let t, r = (
|
|
4749
4757
|
/*$_*/
|
|
4750
|
-
e[
|
|
4758
|
+
e[22]("loginSimplePasswordError") + ""
|
|
4751
4759
|
), n;
|
|
4752
4760
|
return {
|
|
4753
4761
|
c() {
|
|
4754
|
-
t =
|
|
4762
|
+
t = x("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4755
4763
|
},
|
|
4756
4764
|
m(i, o) {
|
|
4757
|
-
|
|
4765
|
+
M(i, t, o), m(t, n);
|
|
4758
4766
|
},
|
|
4759
4767
|
p(i, o) {
|
|
4760
4768
|
o[0] & /*$_*/
|
|
4761
|
-
|
|
4762
|
-
i[
|
|
4769
|
+
4194304 && r !== (r = /*$_*/
|
|
4770
|
+
i[22]("loginSimplePasswordError") + "") && te(n, r);
|
|
4763
4771
|
},
|
|
4764
4772
|
d(i) {
|
|
4765
4773
|
i && I(t);
|
|
4766
4774
|
}
|
|
4767
4775
|
};
|
|
4768
4776
|
}
|
|
4769
|
-
function
|
|
4777
|
+
function vr(e) {
|
|
4770
4778
|
let t, r;
|
|
4771
4779
|
return {
|
|
4772
4780
|
c() {
|
|
4773
|
-
t =
|
|
4781
|
+
t = x("p"), r = N(
|
|
4774
4782
|
/*errorMessage*/
|
|
4775
|
-
e[
|
|
4783
|
+
e[16]
|
|
4776
4784
|
), h(t, "class", "ErrorMessage");
|
|
4777
4785
|
},
|
|
4778
4786
|
m(n, i) {
|
|
4779
|
-
|
|
4787
|
+
M(n, t, i), m(t, r);
|
|
4780
4788
|
},
|
|
4781
4789
|
p(n, i) {
|
|
4782
4790
|
i[0] & /*errorMessage*/
|
|
4783
|
-
|
|
4791
|
+
65536 && te(
|
|
4784
4792
|
r,
|
|
4785
4793
|
/*errorMessage*/
|
|
4786
|
-
n[
|
|
4794
|
+
n[16]
|
|
4787
4795
|
);
|
|
4788
4796
|
},
|
|
4789
4797
|
d(n) {
|
|
@@ -4791,21 +4799,21 @@ function wr(e) {
|
|
|
4791
4799
|
}
|
|
4792
4800
|
};
|
|
4793
4801
|
}
|
|
4794
|
-
function
|
|
4802
|
+
function Go(e) {
|
|
4795
4803
|
let t, r, n, i, o, s = (
|
|
4796
4804
|
/*captchakey*/
|
|
4797
|
-
e[1] &&
|
|
4805
|
+
e[1] && mr(e)
|
|
4798
4806
|
);
|
|
4799
4807
|
function a(u, f) {
|
|
4800
4808
|
return (
|
|
4801
4809
|
/*isLoading*/
|
|
4802
|
-
u[
|
|
4810
|
+
u[17] ? Ro : No
|
|
4803
4811
|
);
|
|
4804
4812
|
}
|
|
4805
4813
|
let c = a(e), l = c(e);
|
|
4806
4814
|
return {
|
|
4807
4815
|
c() {
|
|
4808
|
-
s && s.c(), t =
|
|
4816
|
+
s && s.c(), t = an(), r = j(), n = x("div"), i = j(), o = x("div"), l.c(), h(n, "class", "g-recaptcha"), h(
|
|
4809
4817
|
n,
|
|
4810
4818
|
"data-sitekey",
|
|
4811
4819
|
/*captchakey*/
|
|
@@ -4813,11 +4821,11 @@ function Vo(e) {
|
|
|
4813
4821
|
), h(o, "class", "PlayerLoginFormWrapper");
|
|
4814
4822
|
},
|
|
4815
4823
|
m(u, f) {
|
|
4816
|
-
s && s.m(
|
|
4824
|
+
s && s.m(document.head, null), m(document.head, t), M(u, r, f), M(u, n, f), M(u, i, f), M(u, o, f), l.m(o, null), e[41](o);
|
|
4817
4825
|
},
|
|
4818
4826
|
p(u, f) {
|
|
4819
4827
|
/*captchakey*/
|
|
4820
|
-
u[1] ? s ? s.p(u, f) : (s =
|
|
4828
|
+
u[1] ? s ? s.p(u, f) : (s = mr(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
|
|
4821
4829
|
2 && h(
|
|
4822
4830
|
n,
|
|
4823
4831
|
"data-sitekey",
|
|
@@ -4828,89 +4836,89 @@ function Vo(e) {
|
|
|
4828
4836
|
i: Z,
|
|
4829
4837
|
o: Z,
|
|
4830
4838
|
d(u) {
|
|
4831
|
-
u && (I(r), I(n), I(i), I(o)), s && s.d(u), I(t), l.d(), e[
|
|
4839
|
+
u && (I(r), I(n), I(i), I(o)), s && s.d(u), I(t), l.d(), e[41](null);
|
|
4832
4840
|
}
|
|
4833
4841
|
};
|
|
4834
4842
|
}
|
|
4835
|
-
let
|
|
4836
|
-
function
|
|
4843
|
+
let $o = "Please use this code {0} to activate your account";
|
|
4844
|
+
function jo(e, t, r) {
|
|
4837
4845
|
let n;
|
|
4838
|
-
|
|
4839
|
-
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, {
|
|
4846
|
+
rn(e, Ho, (p) => r(22, n = p));
|
|
4847
|
+
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, S = !1, C, z = !1, R = window.navigator.userAgent, U = "", A = "", re = { username: "", password: "" }, H = !1, ie = !1, he = "", J = !1, le, B = !1, ne = !0, X, Fe = +localStorage.getItem("smsTimer") || 0, Ze = Date.now() / 1e3 - Fe, fe = localStorage.getItem("smsValidation") == "true" && Ze < 60, de = {
|
|
4840
4848
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4841
4849
|
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,
|
|
4842
4850
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
4843
4851
|
};
|
|
4844
|
-
|
|
4845
|
-
const
|
|
4846
|
-
fetch(
|
|
4847
|
-
Object.keys(
|
|
4848
|
-
|
|
4852
|
+
Oo({ withLocale: "en", translations: {} });
|
|
4853
|
+
const O = () => {
|
|
4854
|
+
fetch(d).then((q) => q.json()).then((q) => {
|
|
4855
|
+
Object.keys(q).forEach((ee) => {
|
|
4856
|
+
fr(ee, q[ee]);
|
|
4849
4857
|
});
|
|
4850
|
-
}).catch((
|
|
4851
|
-
console.log(
|
|
4858
|
+
}).catch((q) => {
|
|
4859
|
+
console.log(q);
|
|
4852
4860
|
});
|
|
4853
4861
|
};
|
|
4854
|
-
Object.keys(
|
|
4855
|
-
|
|
4862
|
+
Object.keys(dr).forEach((p) => {
|
|
4863
|
+
fr(p, dr[p]);
|
|
4856
4864
|
});
|
|
4857
|
-
const
|
|
4865
|
+
const ye = () => new Promise((p, q) => {
|
|
4858
4866
|
grecaptcha.ready(() => {
|
|
4859
|
-
grecaptcha.execute(o, { action: "submit" }).then((
|
|
4860
|
-
p(
|
|
4867
|
+
grecaptcha.execute(o, { action: "submit" }).then((ee) => {
|
|
4868
|
+
p(ee);
|
|
4861
4869
|
});
|
|
4862
4870
|
});
|
|
4863
|
-
}),
|
|
4864
|
-
c == "true" && (
|
|
4865
|
-
}, Fe = () => {
|
|
4866
|
-
r(18, fe = !0), _e();
|
|
4867
|
-
}, ye = () => {
|
|
4868
|
-
r(18, fe = !1), _e();
|
|
4871
|
+
}), qe = () => {
|
|
4872
|
+
c == "true" && (de.password = /^(?!.* ).{8,20}$/);
|
|
4869
4873
|
}, _e = () => {
|
|
4870
|
-
r(
|
|
4871
|
-
},
|
|
4874
|
+
r(19, B = !0), me();
|
|
4875
|
+
}, Ee = () => {
|
|
4876
|
+
r(19, B = !1), me();
|
|
4877
|
+
}, me = () => {
|
|
4878
|
+
r(18, le.type = B ? "text" : "password", le);
|
|
4879
|
+
}, De = () => {
|
|
4872
4880
|
window.postMessage({ type: "ToRegister" }, window.location.href);
|
|
4873
|
-
},
|
|
4881
|
+
}, we = (p) => {
|
|
4874
4882
|
p.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
|
|
4875
|
-
},
|
|
4876
|
-
p?.preventDefault(),
|
|
4877
|
-
|
|
4878
|
-
username:
|
|
4879
|
-
password:
|
|
4880
|
-
token:
|
|
4881
|
-
}, r(
|
|
4883
|
+
}, Q = (p) => {
|
|
4884
|
+
p?.preventDefault(), ye().then((q) => {
|
|
4885
|
+
pe(U) && xe(A) && (re = {
|
|
4886
|
+
username: U,
|
|
4887
|
+
password: A,
|
|
4888
|
+
token: q
|
|
4889
|
+
}, r(17, J = !0), Ge(re));
|
|
4882
4890
|
});
|
|
4883
|
-
},
|
|
4884
|
-
r(
|
|
4885
|
-
},
|
|
4886
|
-
r(
|
|
4887
|
-
},
|
|
4891
|
+
}, pe = (p) => !!((de.user.test(p) || de.email.test(p)) && p.length <= 100), xe = (p) => !!de.password.test(p), Je = () => {
|
|
4892
|
+
r(14, H = !pe(U)), r(20, ne = !(!H && !ie && A));
|
|
4893
|
+
}, ge = () => {
|
|
4894
|
+
r(15, ie = !xe(A)), r(20, ne = !(!H && !ie && U));
|
|
4895
|
+
}, be = (p) => {
|
|
4888
4896
|
if (p.data)
|
|
4889
4897
|
switch (p.data.type) {
|
|
4890
4898
|
case "ModalLoader":
|
|
4891
|
-
r(
|
|
4899
|
+
r(17, J = !1);
|
|
4892
4900
|
break;
|
|
4893
4901
|
case "UserSessionID":
|
|
4894
|
-
r(
|
|
4902
|
+
r(17, J = !1);
|
|
4895
4903
|
break;
|
|
4896
4904
|
case "SmsHasBeenValidated":
|
|
4897
|
-
|
|
4905
|
+
Q();
|
|
4898
4906
|
break;
|
|
4899
4907
|
}
|
|
4900
|
-
},
|
|
4908
|
+
}, ke = (p) => {
|
|
4901
4909
|
typeof gtag == "function" && gtag("event", "Login", {
|
|
4902
4910
|
context: "GeneralPlayerLoginRegisterPage"
|
|
4903
4911
|
});
|
|
4904
|
-
},
|
|
4912
|
+
}, Ge = async ({ username: p, password: q, token: ee }) => {
|
|
4905
4913
|
let Ke = {
|
|
4906
4914
|
"Content-Type": "application/json",
|
|
4907
|
-
"g-recaptcha-response":
|
|
4908
|
-
}, et = { username: p, password:
|
|
4915
|
+
"g-recaptcha-response": ee
|
|
4916
|
+
}, et = { username: p, password: q }, en = {
|
|
4909
4917
|
method: "POST",
|
|
4910
4918
|
headers: Ke,
|
|
4911
4919
|
body: JSON.stringify(et)
|
|
4912
4920
|
};
|
|
4913
|
-
fetch(`${i}/v1/player/login/player`,
|
|
4921
|
+
fetch(`${i}/v1/player/login/player`, en).then(($) => ($.status >= 500 && (r(16, he = "Server might not be responsing"), r(17, J = !1), window.postMessage(
|
|
4914
4922
|
{
|
|
4915
4923
|
type: "WidgetNotification",
|
|
4916
4924
|
data: {
|
|
@@ -4919,13 +4927,13 @@ function Xo(e, t, r) {
|
|
|
4919
4927
|
}
|
|
4920
4928
|
},
|
|
4921
4929
|
window.location.href
|
|
4922
|
-
)),
|
|
4923
|
-
if (
|
|
4930
|
+
)), $.json())).then(($) => {
|
|
4931
|
+
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, fe = !0), Qe(C, y), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: y, number: C }))), $.sessionID) {
|
|
4924
4932
|
if (window.postMessage(
|
|
4925
4933
|
{
|
|
4926
4934
|
type: "UserSessionID",
|
|
4927
|
-
session:
|
|
4928
|
-
userid:
|
|
4935
|
+
session: $.sessionID,
|
|
4936
|
+
userid: $.universalID
|
|
4929
4937
|
},
|
|
4930
4938
|
window.location.href
|
|
4931
4939
|
), window.postMessage(
|
|
@@ -4937,173 +4945,159 @@ function Xo(e, t, r) {
|
|
|
4937
4945
|
}
|
|
4938
4946
|
},
|
|
4939
4947
|
window.location.href
|
|
4940
|
-
), window.PasswordCredential &&
|
|
4941
|
-
const
|
|
4948
|
+
), window.PasswordCredential && b == "true") {
|
|
4949
|
+
const $e = new PasswordCredential({
|
|
4942
4950
|
password: et.password,
|
|
4943
4951
|
id: et.username
|
|
4944
4952
|
});
|
|
4945
|
-
navigator.credentials.store(
|
|
4953
|
+
navigator.credentials.store($e);
|
|
4946
4954
|
}
|
|
4947
|
-
|
|
4955
|
+
ke();
|
|
4948
4956
|
} else
|
|
4949
4957
|
try {
|
|
4950
|
-
let
|
|
4951
|
-
r(
|
|
4958
|
+
let $e = $.error;
|
|
4959
|
+
r(16, he = $e), r(17, J = !1), window.postMessage(
|
|
4952
4960
|
{
|
|
4953
4961
|
type: "WidgetNotification",
|
|
4954
|
-
data: { type: "error", message:
|
|
4962
|
+
data: { type: "error", message: $e }
|
|
4955
4963
|
},
|
|
4956
4964
|
window.location.href
|
|
4957
4965
|
);
|
|
4958
4966
|
} catch {
|
|
4959
|
-
let
|
|
4960
|
-
r(
|
|
4967
|
+
let $t = $.error.substring($.error.indexOf("errorMessage") + 13, $.error.length);
|
|
4968
|
+
r(16, he = $t), r(17, J = !1), window.postMessage(
|
|
4961
4969
|
{
|
|
4962
4970
|
type: "WidgetNotification",
|
|
4963
|
-
data: { type: "error", message:
|
|
4971
|
+
data: { type: "error", message: $t }
|
|
4964
4972
|
},
|
|
4965
4973
|
window.location.href
|
|
4966
4974
|
);
|
|
4967
4975
|
}
|
|
4968
4976
|
});
|
|
4969
|
-
},
|
|
4977
|
+
}, Qe = async (p, q) => {
|
|
4970
4978
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
4971
4979
|
try {
|
|
4972
|
-
const
|
|
4980
|
+
const ee = await fetch(`${i}/v1/player/sms/token`, {
|
|
4973
4981
|
method: "POST",
|
|
4974
4982
|
headers: {
|
|
4975
4983
|
"Content-Type": "application/json",
|
|
4976
4984
|
accept: "application/json"
|
|
4977
4985
|
},
|
|
4978
4986
|
body: JSON.stringify({
|
|
4979
|
-
userId:
|
|
4980
|
-
messageTemplate:
|
|
4987
|
+
userId: q,
|
|
4988
|
+
messageTemplate: $o,
|
|
4981
4989
|
destination: p
|
|
4982
4990
|
})
|
|
4983
|
-
}), Ke = await
|
|
4984
|
-
if (
|
|
4985
|
-
r(
|
|
4991
|
+
}), Ke = await ee.json();
|
|
4992
|
+
if (ee.ok) {
|
|
4993
|
+
r(9, g = Ke.id);
|
|
4986
4994
|
let et = Ke.maxValidationAttempts;
|
|
4987
|
-
|
|
4995
|
+
S = !1;
|
|
4988
4996
|
} else
|
|
4989
|
-
throw
|
|
4990
|
-
} catch (
|
|
4991
|
-
|
|
4997
|
+
throw S = !0, new Error("Failed to fetch");
|
|
4998
|
+
} catch (ee) {
|
|
4999
|
+
S = !0, console.error(ee);
|
|
4992
5000
|
}
|
|
4993
|
-
},
|
|
4994
|
-
|
|
4995
|
-
}, U = () => {
|
|
4996
|
-
let p = document.createElement("style");
|
|
4997
|
-
p.innerHTML = l, W.appendChild(p);
|
|
4998
|
-
}, Ye = () => {
|
|
4999
|
-
let p = new URL(u), $ = document.createElement("style");
|
|
5000
|
-
fetch(p.href).then((j) => j.text()).then((j) => {
|
|
5001
|
-
$.innerHTML = j, setTimeout(
|
|
5002
|
-
() => {
|
|
5003
|
-
W.appendChild($);
|
|
5004
|
-
},
|
|
5005
|
-
1
|
|
5006
|
-
), setTimeout(
|
|
5007
|
-
() => {
|
|
5008
|
-
},
|
|
5009
|
-
500
|
|
5010
|
-
);
|
|
5011
|
-
});
|
|
5001
|
+
}, F = () => {
|
|
5002
|
+
Lo(s);
|
|
5012
5003
|
};
|
|
5013
|
-
|
|
5014
|
-
window.removeEventListener("message",
|
|
5004
|
+
hn(() => (window.addEventListener("message", be, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Bo(R)), () => {
|
|
5005
|
+
window.removeEventListener("message", be);
|
|
5015
5006
|
}));
|
|
5016
|
-
const
|
|
5017
|
-
function
|
|
5018
|
-
|
|
5007
|
+
const Ye = () => De();
|
|
5008
|
+
function Se() {
|
|
5009
|
+
U = this.value, r(12, U);
|
|
5019
5010
|
}
|
|
5020
|
-
function
|
|
5021
|
-
|
|
5011
|
+
function Y() {
|
|
5012
|
+
A = this.value, r(13, A);
|
|
5022
5013
|
}
|
|
5023
5014
|
function D(p) {
|
|
5024
5015
|
ut[p ? "unshift" : "push"](() => {
|
|
5025
|
-
|
|
5016
|
+
le = p, r(18, le);
|
|
5026
5017
|
});
|
|
5027
5018
|
}
|
|
5028
|
-
const k = () =>
|
|
5029
|
-
function
|
|
5019
|
+
const k = () => Ee(), G = () => _e(), v = (p) => Q(p), P = (p) => we(p);
|
|
5020
|
+
function Kr(p) {
|
|
5030
5021
|
ut[p ? "unshift" : "push"](() => {
|
|
5031
|
-
|
|
5022
|
+
X = p, r(7, X);
|
|
5032
5023
|
});
|
|
5033
5024
|
}
|
|
5034
5025
|
return e.$$set = (p) => {
|
|
5035
|
-
"endpoint" in p && r(0, i = p.endpoint), "captchakey" in p && r(1, o = p.captchakey), "lang" in p && r(
|
|
5026
|
+
"endpoint" in p && r(0, i = p.endpoint), "captchakey" in p && r(1, o = p.captchakey), "lang" in p && r(30, s = p.lang), "smsverification" in p && r(31, a = p.smsverification), "simplepasswordvalidation" in p && r(2, c = p.simplepasswordvalidation), "mbsource" in p && r(3, l = p.mbsource), "clientstyling" in p && r(4, u = p.clientstyling), "clientstylingurl" in p && r(5, f = p.clientstylingurl), "translationurl" in p && r(32, d = p.translationurl), "savecredentials" in p && r(6, b = p.savecredentials);
|
|
5036
5027
|
}, e.$$.update = () => {
|
|
5037
5028
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
5038
|
-
|
|
5039
|
-
4 && c &&
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5029
|
+
1073741825 && i && s && F(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5030
|
+
4 && c && qe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5031
|
+
144 && u && X && Ao(X, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5032
|
+
160 && f && X && Io(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5033
|
+
136 && l && X && Co(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
5034
|
+
2 && d && O();
|
|
5043
5035
|
}, [
|
|
5044
5036
|
i,
|
|
5045
5037
|
o,
|
|
5046
5038
|
c,
|
|
5047
5039
|
l,
|
|
5048
5040
|
u,
|
|
5049
|
-
|
|
5050
|
-
W,
|
|
5041
|
+
f,
|
|
5051
5042
|
b,
|
|
5043
|
+
X,
|
|
5052
5044
|
y,
|
|
5053
|
-
|
|
5054
|
-
|
|
5045
|
+
g,
|
|
5046
|
+
C,
|
|
5047
|
+
z,
|
|
5048
|
+
U,
|
|
5049
|
+
A,
|
|
5055
5050
|
H,
|
|
5056
|
-
|
|
5051
|
+
ie,
|
|
5052
|
+
he,
|
|
5057
5053
|
J,
|
|
5054
|
+
le,
|
|
5058
5055
|
B,
|
|
5059
|
-
ie,
|
|
5060
|
-
re,
|
|
5061
5056
|
ne,
|
|
5062
5057
|
fe,
|
|
5063
|
-
A,
|
|
5064
|
-
Ue,
|
|
5065
5058
|
n,
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
de,
|
|
5059
|
+
_e,
|
|
5060
|
+
Ee,
|
|
5069
5061
|
De,
|
|
5070
|
-
|
|
5071
|
-
|
|
5062
|
+
we,
|
|
5063
|
+
Q,
|
|
5072
5064
|
Je,
|
|
5065
|
+
ge,
|
|
5073
5066
|
s,
|
|
5074
5067
|
a,
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5068
|
+
d,
|
|
5069
|
+
Ye,
|
|
5070
|
+
Se,
|
|
5071
|
+
Y,
|
|
5079
5072
|
D,
|
|
5080
5073
|
k,
|
|
5074
|
+
G,
|
|
5081
5075
|
v,
|
|
5082
5076
|
P,
|
|
5083
|
-
|
|
5084
|
-
sn
|
|
5077
|
+
Kr
|
|
5085
5078
|
];
|
|
5086
5079
|
}
|
|
5087
|
-
class
|
|
5080
|
+
class Vo extends xn {
|
|
5088
5081
|
constructor(t) {
|
|
5089
|
-
super(),
|
|
5082
|
+
super(), En(
|
|
5090
5083
|
this,
|
|
5091
5084
|
t,
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5085
|
+
jo,
|
|
5086
|
+
Go,
|
|
5087
|
+
_r,
|
|
5095
5088
|
{
|
|
5096
5089
|
endpoint: 0,
|
|
5097
5090
|
captchakey: 1,
|
|
5098
|
-
lang:
|
|
5099
|
-
smsverification:
|
|
5091
|
+
lang: 30,
|
|
5092
|
+
smsverification: 31,
|
|
5100
5093
|
simplepasswordvalidation: 2,
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5094
|
+
mbsource: 3,
|
|
5095
|
+
clientstyling: 4,
|
|
5096
|
+
clientstylingurl: 5,
|
|
5097
|
+
translationurl: 32,
|
|
5098
|
+
savecredentials: 6
|
|
5105
5099
|
},
|
|
5106
|
-
|
|
5100
|
+
Mo,
|
|
5107
5101
|
[-1, -1]
|
|
5108
5102
|
);
|
|
5109
5103
|
}
|
|
@@ -5111,83 +5105,92 @@ class Wo extends In {
|
|
|
5111
5105
|
return this.$$.ctx[0];
|
|
5112
5106
|
}
|
|
5113
5107
|
set endpoint(t) {
|
|
5114
|
-
this.$$set({ endpoint: t }),
|
|
5108
|
+
this.$$set({ endpoint: t }), K();
|
|
5115
5109
|
}
|
|
5116
5110
|
get captchakey() {
|
|
5117
5111
|
return this.$$.ctx[1];
|
|
5118
5112
|
}
|
|
5119
5113
|
set captchakey(t) {
|
|
5120
|
-
this.$$set({ captchakey: t }),
|
|
5114
|
+
this.$$set({ captchakey: t }), K();
|
|
5121
5115
|
}
|
|
5122
5116
|
get lang() {
|
|
5123
|
-
return this.$$.ctx[
|
|
5117
|
+
return this.$$.ctx[30];
|
|
5124
5118
|
}
|
|
5125
5119
|
set lang(t) {
|
|
5126
|
-
this.$$set({ lang: t }),
|
|
5120
|
+
this.$$set({ lang: t }), K();
|
|
5127
5121
|
}
|
|
5128
5122
|
get smsverification() {
|
|
5129
|
-
return this.$$.ctx[
|
|
5123
|
+
return this.$$.ctx[31];
|
|
5130
5124
|
}
|
|
5131
5125
|
set smsverification(t) {
|
|
5132
|
-
this.$$set({ smsverification: t }),
|
|
5126
|
+
this.$$set({ smsverification: t }), K();
|
|
5133
5127
|
}
|
|
5134
5128
|
get simplepasswordvalidation() {
|
|
5135
5129
|
return this.$$.ctx[2];
|
|
5136
5130
|
}
|
|
5137
5131
|
set simplepasswordvalidation(t) {
|
|
5138
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5132
|
+
this.$$set({ simplepasswordvalidation: t }), K();
|
|
5139
5133
|
}
|
|
5140
|
-
get
|
|
5134
|
+
get mbsource() {
|
|
5141
5135
|
return this.$$.ctx[3];
|
|
5142
5136
|
}
|
|
5137
|
+
set mbsource(t) {
|
|
5138
|
+
this.$$set({ mbsource: t }), K();
|
|
5139
|
+
}
|
|
5140
|
+
get clientstyling() {
|
|
5141
|
+
return this.$$.ctx[4];
|
|
5142
|
+
}
|
|
5143
5143
|
set clientstyling(t) {
|
|
5144
|
-
this.$$set({ clientstyling: t }),
|
|
5144
|
+
this.$$set({ clientstyling: t }), K();
|
|
5145
5145
|
}
|
|
5146
5146
|
get clientstylingurl() {
|
|
5147
|
-
return this.$$.ctx[
|
|
5147
|
+
return this.$$.ctx[5];
|
|
5148
5148
|
}
|
|
5149
5149
|
set clientstylingurl(t) {
|
|
5150
|
-
this.$$set({ clientstylingurl: t }),
|
|
5150
|
+
this.$$set({ clientstylingurl: t }), K();
|
|
5151
5151
|
}
|
|
5152
5152
|
get translationurl() {
|
|
5153
|
-
return this.$$.ctx[
|
|
5153
|
+
return this.$$.ctx[32];
|
|
5154
5154
|
}
|
|
5155
5155
|
set translationurl(t) {
|
|
5156
|
-
this.$$set({ translationurl: t }),
|
|
5156
|
+
this.$$set({ translationurl: t }), K();
|
|
5157
5157
|
}
|
|
5158
5158
|
get savecredentials() {
|
|
5159
|
-
return this.$$.ctx[
|
|
5159
|
+
return this.$$.ctx[6];
|
|
5160
5160
|
}
|
|
5161
5161
|
set savecredentials(t) {
|
|
5162
|
-
this.$$set({ savecredentials: t }),
|
|
5162
|
+
this.$$set({ savecredentials: t }), K();
|
|
5163
5163
|
}
|
|
5164
5164
|
}
|
|
5165
|
-
|
|
5165
|
+
wn(Vo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
|
|
5166
5166
|
export {
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
h,
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5167
|
+
ce as $,
|
|
5168
|
+
Vo as G,
|
|
5169
|
+
xn as S,
|
|
5170
|
+
Re as a,
|
|
5171
|
+
Zr as b,
|
|
5172
|
+
wn as c,
|
|
5173
|
+
nn as d,
|
|
5174
|
+
I as e,
|
|
5175
|
+
K as f,
|
|
5176
|
+
te as g,
|
|
5177
|
+
rt as h,
|
|
5178
|
+
En as i,
|
|
5179
|
+
h as j,
|
|
5180
|
+
M as k,
|
|
5181
|
+
m as l,
|
|
5182
|
+
oe as m,
|
|
5183
|
+
Z as n,
|
|
5184
|
+
x as o,
|
|
5185
|
+
j as p,
|
|
5186
|
+
rn as q,
|
|
5187
|
+
Me as r,
|
|
5188
|
+
_r as s,
|
|
5189
5189
|
N as t,
|
|
5190
|
-
|
|
5190
|
+
hn as u,
|
|
5191
5191
|
ut as v,
|
|
5192
|
-
|
|
5192
|
+
Ho as w,
|
|
5193
|
+
Ao as x,
|
|
5194
|
+
Io as y,
|
|
5195
|
+
Co as z
|
|
5193
5196
|
};
|