@everymatrix/general-player-login-form-nd 1.75.0 → 1.76.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/{GeneralPlayerLoginFormNd-BziROfkp.js → GeneralPlayerLoginFormNd-1DxGEPP9.js} +786 -765
- package/components/{GeneralPlayerLoginFormNd-DDew4qUQ.js → GeneralPlayerLoginFormNd-CUIevjh8.js} +764 -743
- package/components/GeneralPlayerLoginFormNd-Dv0P7KwS.cjs +18 -0
- package/components/{GeneralPlayerSmsVerificationForm-De0U_8Hy.js → GeneralPlayerSmsVerificationForm-BKWeCfRG.js} +25 -25
- package/components/{GeneralPlayerSmsVerificationForm-CWvL0nV4.js → GeneralPlayerSmsVerificationForm-DJahVXQg.js} +23 -23
- package/components/{GeneralPlayerSmsVerificationForm-DCu_6fCZ.cjs → GeneralPlayerSmsVerificationForm-Dx63x365.cjs} +1 -1
- package/es2015/general-player-login-form-nd.cjs +1 -1
- package/es2015/general-player-login-form-nd.js +1 -1
- package/esnext/general-player-login-form-nd.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerLoginFormNd-lkaY-rAF.cjs +0 -18
package/components/{GeneralPlayerLoginFormNd-DDew4qUQ.js → GeneralPlayerLoginFormNd-CUIevjh8.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function Z() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Sr(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Zt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function Le(e) {
|
|
10
|
+
e.forEach(Sr);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Vt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Pr(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 qt(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 an(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function Tr(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,20 +31,20 @@ function Sr(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function ln(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(Tr(t, r));
|
|
36
36
|
}
|
|
37
37
|
function m(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function un(e, t, r) {
|
|
41
|
+
const n = cn(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
43
|
+
const i = E("style");
|
|
44
|
+
i.id = t, i.textContent = r, hn(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function cn(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,7 +54,7 @@ function un(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function hn(e, t) {
|
|
58
58
|
return m(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
@@ -67,10 +67,10 @@ function L(e, t, r) {
|
|
|
67
67
|
function I(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function E(e) {
|
|
71
71
|
return document.createElement(e);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function C(e) {
|
|
74
74
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
75
75
|
}
|
|
76
76
|
function N(e) {
|
|
@@ -79,10 +79,10 @@ function N(e) {
|
|
|
79
79
|
function j() {
|
|
80
80
|
return N(" ");
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function fn() {
|
|
83
83
|
return N("");
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function se(e, t, r, n) {
|
|
86
86
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
87
87
|
}
|
|
88
88
|
function h(e, t, r) {
|
|
@@ -92,7 +92,7 @@ function W(e, t, r) {
|
|
|
92
92
|
const n = t.toLowerCase();
|
|
93
93
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : h(e, t, r);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function dn(e) {
|
|
96
96
|
return Array.from(e.childNodes);
|
|
97
97
|
}
|
|
98
98
|
function te(e, t) {
|
|
@@ -102,7 +102,7 @@ function te(e, t) {
|
|
|
102
102
|
function rt(e, t) {
|
|
103
103
|
e.value = t ?? "";
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function mn(e) {
|
|
106
106
|
const t = {};
|
|
107
107
|
return e.childNodes.forEach(
|
|
108
108
|
/** @param {Element} node */
|
|
@@ -111,87 +111,87 @@ function dn(e) {
|
|
|
111
111
|
}
|
|
112
112
|
), t;
|
|
113
113
|
}
|
|
114
|
-
let
|
|
115
|
-
function
|
|
116
|
-
|
|
114
|
+
let Ve;
|
|
115
|
+
function je(e) {
|
|
116
|
+
Ve = e;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
119
|
-
if (!
|
|
118
|
+
function pn() {
|
|
119
|
+
if (!Ve)
|
|
120
120
|
throw new Error("Function called outside component initialization");
|
|
121
|
-
return
|
|
121
|
+
return Ve;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
124
|
-
|
|
123
|
+
function gn(e) {
|
|
124
|
+
pn().$$.on_mount.push(e);
|
|
125
125
|
}
|
|
126
126
|
const He = [], ut = [];
|
|
127
127
|
let Be = [];
|
|
128
|
-
const
|
|
129
|
-
let
|
|
130
|
-
function
|
|
131
|
-
|
|
128
|
+
const Jt = [], bn = /* @__PURE__ */ Promise.resolve();
|
|
129
|
+
let Ht = !1;
|
|
130
|
+
function vn() {
|
|
131
|
+
Ht || (Ht = !0, bn.then(K));
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function Bt(e) {
|
|
134
134
|
Be.push(e);
|
|
135
135
|
}
|
|
136
|
-
const
|
|
136
|
+
const yt = /* @__PURE__ */ new Set();
|
|
137
137
|
let Pe = 0;
|
|
138
138
|
function K() {
|
|
139
139
|
if (Pe !== 0)
|
|
140
140
|
return;
|
|
141
|
-
const e =
|
|
141
|
+
const e = Ve;
|
|
142
142
|
do {
|
|
143
143
|
try {
|
|
144
144
|
for (; Pe < He.length; ) {
|
|
145
145
|
const t = He[Pe];
|
|
146
|
-
Pe++,
|
|
146
|
+
Pe++, je(t), yn(t.$$);
|
|
147
147
|
}
|
|
148
148
|
} catch (t) {
|
|
149
149
|
throw He.length = 0, Pe = 0, t;
|
|
150
150
|
}
|
|
151
|
-
for (
|
|
151
|
+
for (je(null), He.length = 0, Pe = 0; ut.length; )
|
|
152
152
|
ut.pop()();
|
|
153
153
|
for (let t = 0; t < Be.length; t += 1) {
|
|
154
154
|
const r = Be[t];
|
|
155
|
-
|
|
155
|
+
yt.has(r) || (yt.add(r), r());
|
|
156
156
|
}
|
|
157
157
|
Be.length = 0;
|
|
158
158
|
} while (He.length);
|
|
159
|
-
for (;
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
for (; Jt.length; )
|
|
160
|
+
Jt.pop()();
|
|
161
|
+
Ht = !1, yt.clear(), je(e);
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function yn(e) {
|
|
164
164
|
if (e.fragment !== null) {
|
|
165
|
-
e.update(),
|
|
165
|
+
e.update(), Le(e.before_update);
|
|
166
166
|
const t = e.dirty;
|
|
167
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
167
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Bt);
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
function
|
|
170
|
+
function _n(e) {
|
|
171
171
|
const t = [], r = [];
|
|
172
172
|
Be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Be = t;
|
|
173
173
|
}
|
|
174
|
-
const
|
|
175
|
-
function
|
|
176
|
-
e && e.i && (
|
|
174
|
+
const wn = /* @__PURE__ */ new Set();
|
|
175
|
+
function En(e, t) {
|
|
176
|
+
e && e.i && (wn.delete(e), e.i(t));
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function xn(e, t, r) {
|
|
179
179
|
const { fragment: n, after_update: i } = e.$$;
|
|
180
|
-
n && n.m(t, r),
|
|
181
|
-
const o = e.$$.on_mount.map(
|
|
182
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
183
|
-
}), i.forEach(
|
|
180
|
+
n && n.m(t, r), Bt(() => {
|
|
181
|
+
const o = e.$$.on_mount.map(Sr).filter(Vt);
|
|
182
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Le(o), e.$$.on_mount = [];
|
|
183
|
+
}), i.forEach(Bt);
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Sn(e, t) {
|
|
186
186
|
const r = e.$$;
|
|
187
|
-
r.fragment !== null && (
|
|
187
|
+
r.fragment !== null && (_n(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
e.$$.dirty[0] === -1 && (He.push(e),
|
|
189
|
+
function Pn(e, t) {
|
|
190
|
+
e.$$.dirty[0] === -1 && (He.push(e), vn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
191
191
|
}
|
|
192
|
-
function
|
|
193
|
-
const c =
|
|
194
|
-
|
|
192
|
+
function Tn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
193
|
+
const c = Ve;
|
|
194
|
+
je(e);
|
|
195
195
|
const l = e.$$ = {
|
|
196
196
|
fragment: null,
|
|
197
197
|
ctx: [],
|
|
@@ -199,7 +199,7 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
199
199
|
props: o,
|
|
200
200
|
update: Z,
|
|
201
201
|
not_equal: i,
|
|
202
|
-
bound:
|
|
202
|
+
bound: Zt(),
|
|
203
203
|
// lifecycle
|
|
204
204
|
on_mount: [],
|
|
205
205
|
on_destroy: [],
|
|
@@ -208,7 +208,7 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
208
208
|
after_update: [],
|
|
209
209
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
210
210
|
// everything else
|
|
211
|
-
callbacks:
|
|
211
|
+
callbacks: Zt(),
|
|
212
212
|
dirty: a,
|
|
213
213
|
skip_bound: !1,
|
|
214
214
|
root: t.target || c.$$.root
|
|
@@ -217,19 +217,19 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
217
217
|
let u = !1;
|
|
218
218
|
if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
|
|
219
219
|
const y = b.length ? b[0] : d;
|
|
220
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u &&
|
|
221
|
-
}) : [], l.update(), u = !0,
|
|
220
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u && Pn(e, f)), d;
|
|
221
|
+
}) : [], l.update(), u = !0, Le(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
222
222
|
if (t.hydrate) {
|
|
223
|
-
const f =
|
|
223
|
+
const f = dn(t.target);
|
|
224
224
|
l.fragment && l.fragment.l(f), f.forEach(I);
|
|
225
225
|
} else
|
|
226
226
|
l.fragment && l.fragment.c();
|
|
227
|
-
t.intro &&
|
|
227
|
+
t.intro && En(e.$$.fragment), xn(e, t.target, t.anchor), K();
|
|
228
228
|
}
|
|
229
|
-
|
|
229
|
+
je(c);
|
|
230
230
|
}
|
|
231
|
-
let
|
|
232
|
-
typeof HTMLElement == "function" && (
|
|
231
|
+
let Hr;
|
|
232
|
+
typeof HTMLElement == "function" && (Hr = class extends HTMLElement {
|
|
233
233
|
/** The Svelte component constructor */
|
|
234
234
|
$$ctor;
|
|
235
235
|
/** Slots */
|
|
@@ -271,7 +271,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
|
|
|
271
271
|
let o;
|
|
272
272
|
return {
|
|
273
273
|
c: function() {
|
|
274
|
-
o =
|
|
274
|
+
o = E("slot"), i !== "default" && h(o, "name", i);
|
|
275
275
|
},
|
|
276
276
|
/**
|
|
277
277
|
* @param {HTMLElement} target
|
|
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
|
|
|
288
288
|
};
|
|
289
289
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
290
290
|
return;
|
|
291
|
-
const t = {}, r =
|
|
291
|
+
const t = {}, r = mn(this);
|
|
292
292
|
for (const i of this.$$s)
|
|
293
293
|
i in r && (t[i] = [e(i)]);
|
|
294
294
|
for (const i of this.attributes) {
|
|
@@ -375,8 +375,8 @@ function ot(e, t, r, n) {
|
|
|
375
375
|
return t;
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
|
-
function
|
|
379
|
-
let s = class extends
|
|
378
|
+
function Hn(e, t, r, n, i, o) {
|
|
379
|
+
let s = class extends Hr {
|
|
380
380
|
constructor() {
|
|
381
381
|
super(e, r, i), this.$$p_d = t;
|
|
382
382
|
}
|
|
@@ -404,7 +404,7 @@ function Tn(e, t, r, n, i, o) {
|
|
|
404
404
|
}), e.element = /** @type {any} */
|
|
405
405
|
s, s;
|
|
406
406
|
}
|
|
407
|
-
class
|
|
407
|
+
class Bn {
|
|
408
408
|
/**
|
|
409
409
|
* ### PRIVATE API
|
|
410
410
|
*
|
|
@@ -423,7 +423,7 @@ class Hn {
|
|
|
423
423
|
$$set = void 0;
|
|
424
424
|
/** @returns {void} */
|
|
425
425
|
$destroy() {
|
|
426
|
-
|
|
426
|
+
Sn(this, 1), this.$destroy = Z;
|
|
427
427
|
}
|
|
428
428
|
/**
|
|
429
429
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -432,7 +432,7 @@ class Hn {
|
|
|
432
432
|
* @returns {() => void}
|
|
433
433
|
*/
|
|
434
434
|
$on(t, r) {
|
|
435
|
-
if (!
|
|
435
|
+
if (!Vt(r))
|
|
436
436
|
return Z;
|
|
437
437
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
438
438
|
return n.push(r), () => {
|
|
@@ -445,11 +445,11 @@ class Hn {
|
|
|
445
445
|
* @returns {void}
|
|
446
446
|
*/
|
|
447
447
|
$set(t) {
|
|
448
|
-
this.$$set && !
|
|
448
|
+
this.$$set && !an(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
|
-
const
|
|
452
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
451
|
+
const An = "4";
|
|
452
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(An);
|
|
453
453
|
/*! *****************************************************************************
|
|
454
454
|
Copyright (c) Microsoft Corporation.
|
|
455
455
|
|
|
@@ -464,43 +464,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
464
464
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
465
465
|
PERFORMANCE OF THIS SOFTWARE.
|
|
466
466
|
***************************************************************************** */
|
|
467
|
-
var
|
|
468
|
-
return
|
|
467
|
+
var At = function(e, t) {
|
|
468
|
+
return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
469
469
|
r.__proto__ = n;
|
|
470
470
|
} || function(r, n) {
|
|
471
471
|
for (var i in n)
|
|
472
472
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
473
|
-
},
|
|
473
|
+
}, At(e, t);
|
|
474
474
|
};
|
|
475
|
-
function
|
|
475
|
+
function We(e, t) {
|
|
476
476
|
if (typeof t != "function" && t !== null)
|
|
477
477
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
478
|
-
|
|
478
|
+
At(e, t);
|
|
479
479
|
function r() {
|
|
480
480
|
this.constructor = e;
|
|
481
481
|
}
|
|
482
482
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
483
483
|
}
|
|
484
|
-
|
|
485
|
-
return E = Object.assign || function(t) {
|
|
486
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
487
|
-
r = arguments[n];
|
|
488
|
-
for (var o in r)
|
|
489
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
490
|
-
}
|
|
491
|
-
return t;
|
|
492
|
-
}, E.apply(this, arguments);
|
|
493
|
-
};
|
|
494
|
-
function An(e, t) {
|
|
495
|
-
var r = {};
|
|
496
|
-
for (var n in e)
|
|
497
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
498
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
499
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
500
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
501
|
-
return r;
|
|
502
|
-
}
|
|
503
|
-
function Bt(e) {
|
|
484
|
+
function It(e) {
|
|
504
485
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
505
486
|
if (r)
|
|
506
487
|
return r.call(e);
|
|
@@ -512,7 +493,7 @@ function Bt(e) {
|
|
|
512
493
|
};
|
|
513
494
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
514
495
|
}
|
|
515
|
-
function
|
|
496
|
+
function Ot(e, t) {
|
|
516
497
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
517
498
|
if (!r)
|
|
518
499
|
return e;
|
|
@@ -532,22 +513,22 @@ function At(e, t) {
|
|
|
532
513
|
}
|
|
533
514
|
return o;
|
|
534
515
|
}
|
|
535
|
-
function
|
|
536
|
-
if (
|
|
516
|
+
function Ct(e, t, r) {
|
|
517
|
+
if (arguments.length === 2)
|
|
537
518
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
538
519
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
539
520
|
return e.concat(o || t);
|
|
540
521
|
}
|
|
541
|
-
function
|
|
522
|
+
function ae(e) {
|
|
542
523
|
return typeof e == "function";
|
|
543
524
|
}
|
|
544
|
-
function
|
|
525
|
+
function Br(e) {
|
|
545
526
|
var t = function(n) {
|
|
546
527
|
Error.call(n), n.stack = new Error().stack;
|
|
547
528
|
}, r = e(t);
|
|
548
529
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
549
530
|
}
|
|
550
|
-
var
|
|
531
|
+
var _t = Br(function(e) {
|
|
551
532
|
return function(r) {
|
|
552
533
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
553
534
|
` + r.map(function(n, i) {
|
|
@@ -556,13 +537,13 @@ var vt = Tr(function(e) {
|
|
|
556
537
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
557
538
|
};
|
|
558
539
|
});
|
|
559
|
-
function
|
|
540
|
+
function Lt(e, t) {
|
|
560
541
|
if (e) {
|
|
561
542
|
var r = e.indexOf(t);
|
|
562
543
|
0 <= r && e.splice(r, 1);
|
|
563
544
|
}
|
|
564
545
|
}
|
|
565
|
-
var
|
|
546
|
+
var dt = function() {
|
|
566
547
|
function e(t) {
|
|
567
548
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
568
549
|
}
|
|
@@ -574,7 +555,7 @@ var ft = function() {
|
|
|
574
555
|
if (s)
|
|
575
556
|
if (this._parentage = null, Array.isArray(s))
|
|
576
557
|
try {
|
|
577
|
-
for (var a =
|
|
558
|
+
for (var a = It(s), c = a.next(); !c.done; c = a.next()) {
|
|
578
559
|
var l = c.value;
|
|
579
560
|
l.remove(this);
|
|
580
561
|
}
|
|
@@ -591,22 +572,22 @@ var ft = function() {
|
|
|
591
572
|
else
|
|
592
573
|
s.remove(this);
|
|
593
574
|
var u = this.initialTeardown;
|
|
594
|
-
if (
|
|
575
|
+
if (ae(u))
|
|
595
576
|
try {
|
|
596
577
|
u();
|
|
597
578
|
} catch (g) {
|
|
598
|
-
o = g instanceof
|
|
579
|
+
o = g instanceof _t ? g.errors : [g];
|
|
599
580
|
}
|
|
600
581
|
var f = this._finalizers;
|
|
601
582
|
if (f) {
|
|
602
583
|
this._finalizers = null;
|
|
603
584
|
try {
|
|
604
|
-
for (var d =
|
|
585
|
+
for (var d = It(f), b = d.next(); !b.done; b = d.next()) {
|
|
605
586
|
var y = b.value;
|
|
606
587
|
try {
|
|
607
|
-
|
|
588
|
+
Qt(y);
|
|
608
589
|
} catch (g) {
|
|
609
|
-
o = o ?? [], g instanceof
|
|
590
|
+
o = o ?? [], g instanceof _t ? o = Ct(Ct([], Ot(o)), Ot(g.errors)) : o.push(g);
|
|
610
591
|
}
|
|
611
592
|
}
|
|
612
593
|
} catch (g) {
|
|
@@ -621,13 +602,13 @@ var ft = function() {
|
|
|
621
602
|
}
|
|
622
603
|
}
|
|
623
604
|
if (o)
|
|
624
|
-
throw new
|
|
605
|
+
throw new _t(o);
|
|
625
606
|
}
|
|
626
607
|
}, e.prototype.add = function(t) {
|
|
627
608
|
var r;
|
|
628
609
|
if (t && t !== this)
|
|
629
610
|
if (this.closed)
|
|
630
|
-
|
|
611
|
+
Qt(t);
|
|
631
612
|
else {
|
|
632
613
|
if (t instanceof e) {
|
|
633
614
|
if (t.closed || t._hasParent(this))
|
|
@@ -644,32 +625,28 @@ var ft = function() {
|
|
|
644
625
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
645
626
|
}, e.prototype._removeParent = function(t) {
|
|
646
627
|
var r = this._parentage;
|
|
647
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
628
|
+
r === t ? this._parentage = null : Array.isArray(r) && Lt(r, t);
|
|
648
629
|
}, e.prototype.remove = function(t) {
|
|
649
630
|
var r = this._finalizers;
|
|
650
|
-
r &&
|
|
631
|
+
r && Lt(r, t), t instanceof e && t._removeParent(this);
|
|
651
632
|
}, e.EMPTY = function() {
|
|
652
633
|
var t = new e();
|
|
653
634
|
return t.closed = !0, t;
|
|
654
635
|
}(), e;
|
|
655
|
-
}(),
|
|
656
|
-
function
|
|
657
|
-
return e instanceof
|
|
658
|
-
}
|
|
659
|
-
function
|
|
660
|
-
|
|
661
|
-
}
|
|
662
|
-
var
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
Promise: void 0,
|
|
666
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
667
|
-
useDeprecatedNextContext: !1
|
|
668
|
-
}, In = {
|
|
636
|
+
}(), Ar = dt.EMPTY;
|
|
637
|
+
function Ir(e) {
|
|
638
|
+
return e instanceof dt || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
|
|
639
|
+
}
|
|
640
|
+
function Qt(e) {
|
|
641
|
+
ae(e) ? e() : e.unsubscribe();
|
|
642
|
+
}
|
|
643
|
+
var In = {
|
|
644
|
+
Promise: void 0
|
|
645
|
+
}, On = {
|
|
669
646
|
setTimeout: function(e, t) {
|
|
670
647
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
671
648
|
r[n - 2] = arguments[n];
|
|
672
|
-
return setTimeout.apply(void 0,
|
|
649
|
+
return setTimeout.apply(void 0, Ct([e, t], Ot(r)));
|
|
673
650
|
},
|
|
674
651
|
clearTimeout: function(e) {
|
|
675
652
|
return clearTimeout(e);
|
|
@@ -677,23 +654,23 @@ var Ar = {
|
|
|
677
654
|
delegate: void 0
|
|
678
655
|
};
|
|
679
656
|
function Cn(e) {
|
|
680
|
-
|
|
657
|
+
On.setTimeout(function() {
|
|
681
658
|
throw e;
|
|
682
659
|
});
|
|
683
660
|
}
|
|
684
|
-
function
|
|
661
|
+
function Yt() {
|
|
685
662
|
}
|
|
686
663
|
function st(e) {
|
|
687
664
|
e();
|
|
688
665
|
}
|
|
689
|
-
var
|
|
690
|
-
|
|
666
|
+
var Or = function(e) {
|
|
667
|
+
We(t, e);
|
|
691
668
|
function t(r) {
|
|
692
669
|
var n = e.call(this) || this;
|
|
693
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
670
|
+
return n.isStopped = !1, r ? (n.destination = r, Ir(r) && r.add(n)) : n.destination = Nn, n;
|
|
694
671
|
}
|
|
695
672
|
return t.create = function(r, n, i) {
|
|
696
|
-
return new
|
|
673
|
+
return new Mt(r, n, i);
|
|
697
674
|
}, t.prototype.next = function(r) {
|
|
698
675
|
this.isStopped || this._next(r);
|
|
699
676
|
}, t.prototype.error = function(r) {
|
|
@@ -717,11 +694,7 @@ var Ir = function(e) {
|
|
|
717
694
|
this.unsubscribe();
|
|
718
695
|
}
|
|
719
696
|
}, t;
|
|
720
|
-
}(
|
|
721
|
-
function yt(e, t) {
|
|
722
|
-
return On.call(e, t);
|
|
723
|
-
}
|
|
724
|
-
var Ln = function() {
|
|
697
|
+
}(dt), Ln = function() {
|
|
725
698
|
function e(t) {
|
|
726
699
|
this.partialObserver = t;
|
|
727
700
|
}
|
|
@@ -752,30 +725,18 @@ var Ln = function() {
|
|
|
752
725
|
nt(r);
|
|
753
726
|
}
|
|
754
727
|
}, e;
|
|
755
|
-
}(),
|
|
756
|
-
|
|
728
|
+
}(), Mt = function(e) {
|
|
729
|
+
We(t, e);
|
|
757
730
|
function t(r, n, i) {
|
|
758
731
|
var o = e.call(this) || this, s;
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
};
|
|
765
|
-
else {
|
|
766
|
-
var a;
|
|
767
|
-
o && Ar.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
768
|
-
return o.unsubscribe();
|
|
769
|
-
}, s = {
|
|
770
|
-
next: r.next && yt(r.next, a),
|
|
771
|
-
error: r.error && yt(r.error, a),
|
|
772
|
-
complete: r.complete && yt(r.complete, a)
|
|
773
|
-
}) : s = r;
|
|
774
|
-
}
|
|
775
|
-
return o.destination = new Ln(s), o;
|
|
732
|
+
return ae(r) || !r ? s = {
|
|
733
|
+
next: r ?? void 0,
|
|
734
|
+
error: n ?? void 0,
|
|
735
|
+
complete: i ?? void 0
|
|
736
|
+
} : s = r, o.destination = new Ln(s), o;
|
|
776
737
|
}
|
|
777
738
|
return t;
|
|
778
|
-
}(
|
|
739
|
+
}(Or);
|
|
779
740
|
function nt(e) {
|
|
780
741
|
Cn(e);
|
|
781
742
|
}
|
|
@@ -784,9 +745,9 @@ function Mn(e) {
|
|
|
784
745
|
}
|
|
785
746
|
var Nn = {
|
|
786
747
|
closed: !0,
|
|
787
|
-
next:
|
|
748
|
+
next: Yt,
|
|
788
749
|
error: Mn,
|
|
789
|
-
complete:
|
|
750
|
+
complete: Yt
|
|
790
751
|
}, Rn = function() {
|
|
791
752
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
792
753
|
}();
|
|
@@ -800,7 +761,7 @@ function Fn(e) {
|
|
|
800
761
|
}, r);
|
|
801
762
|
};
|
|
802
763
|
}
|
|
803
|
-
var
|
|
764
|
+
var Kt = function() {
|
|
804
765
|
function e(t) {
|
|
805
766
|
t && (this._subscribe = t);
|
|
806
767
|
}
|
|
@@ -808,7 +769,7 @@ var Qt = function() {
|
|
|
808
769
|
var r = new e();
|
|
809
770
|
return r.source = this, r.operator = t, r;
|
|
810
771
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
811
|
-
var i = this, o = kn(t) ? t : new
|
|
772
|
+
var i = this, o = kn(t) ? t : new Mt(t, r, n);
|
|
812
773
|
return st(function() {
|
|
813
774
|
var s = i, a = s.operator, c = s.source;
|
|
814
775
|
o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -821,8 +782,8 @@ var Qt = function() {
|
|
|
821
782
|
}
|
|
822
783
|
}, e.prototype.forEach = function(t, r) {
|
|
823
784
|
var n = this;
|
|
824
|
-
return r =
|
|
825
|
-
var s = new
|
|
785
|
+
return r = er(r), new r(function(i, o) {
|
|
786
|
+
var s = new Mt({
|
|
826
787
|
next: function(a) {
|
|
827
788
|
try {
|
|
828
789
|
t(a);
|
|
@@ -846,7 +807,7 @@ var Qt = function() {
|
|
|
846
807
|
return Fn(t)(this);
|
|
847
808
|
}, e.prototype.toPromise = function(t) {
|
|
848
809
|
var r = this;
|
|
849
|
-
return t =
|
|
810
|
+
return t = er(t), new t(function(n, i) {
|
|
850
811
|
var o;
|
|
851
812
|
r.subscribe(function(s) {
|
|
852
813
|
return o = s;
|
|
@@ -860,32 +821,32 @@ var Qt = function() {
|
|
|
860
821
|
return new e(t);
|
|
861
822
|
}, e;
|
|
862
823
|
}();
|
|
863
|
-
function
|
|
824
|
+
function er(e) {
|
|
864
825
|
var t;
|
|
865
|
-
return (t = e ??
|
|
826
|
+
return (t = e ?? In.Promise) !== null && t !== void 0 ? t : Promise;
|
|
866
827
|
}
|
|
867
828
|
function Dn(e) {
|
|
868
|
-
return e &&
|
|
829
|
+
return e && ae(e.next) && ae(e.error) && ae(e.complete);
|
|
869
830
|
}
|
|
870
831
|
function kn(e) {
|
|
871
|
-
return e && e instanceof
|
|
832
|
+
return e && e instanceof Or || Dn(e) && Ir(e);
|
|
872
833
|
}
|
|
873
|
-
var
|
|
834
|
+
var $n = Br(function(e) {
|
|
874
835
|
return function() {
|
|
875
836
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
876
837
|
};
|
|
877
838
|
}), Cr = function(e) {
|
|
878
|
-
|
|
839
|
+
We(t, e);
|
|
879
840
|
function t() {
|
|
880
841
|
var r = e.call(this) || this;
|
|
881
842
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
882
843
|
}
|
|
883
844
|
return t.prototype.lift = function(r) {
|
|
884
|
-
var n = new
|
|
845
|
+
var n = new tr(this, this);
|
|
885
846
|
return n.operator = r, n;
|
|
886
847
|
}, t.prototype._throwIfClosed = function() {
|
|
887
848
|
if (this.closed)
|
|
888
|
-
throw new
|
|
849
|
+
throw new $n();
|
|
889
850
|
}, t.prototype.next = function(r) {
|
|
890
851
|
var n = this;
|
|
891
852
|
st(function() {
|
|
@@ -893,7 +854,7 @@ var Gn = Tr(function(e) {
|
|
|
893
854
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
894
855
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
895
856
|
try {
|
|
896
|
-
for (var s =
|
|
857
|
+
for (var s = It(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
897
858
|
var c = a.value;
|
|
898
859
|
c.next(r);
|
|
899
860
|
}
|
|
@@ -942,20 +903,20 @@ var Gn = Tr(function(e) {
|
|
|
942
903
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
943
904
|
}, t.prototype._innerSubscribe = function(r) {
|
|
944
905
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
945
|
-
return o || s ?
|
|
946
|
-
n.currentObservers = null,
|
|
906
|
+
return o || s ? Ar : (this.currentObservers = null, a.push(r), new dt(function() {
|
|
907
|
+
n.currentObservers = null, Lt(a, r);
|
|
947
908
|
}));
|
|
948
909
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
949
910
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
950
911
|
i ? r.error(o) : s && r.complete();
|
|
951
912
|
}, t.prototype.asObservable = function() {
|
|
952
|
-
var r = new
|
|
913
|
+
var r = new Kt();
|
|
953
914
|
return r.source = this, r;
|
|
954
915
|
}, t.create = function(r, n) {
|
|
955
|
-
return new
|
|
916
|
+
return new tr(r, n);
|
|
956
917
|
}, t;
|
|
957
|
-
}(
|
|
958
|
-
|
|
918
|
+
}(Kt), tr = function(e) {
|
|
919
|
+
We(t, e);
|
|
959
920
|
function t(r, n) {
|
|
960
921
|
var i = e.call(this) || this;
|
|
961
922
|
return i.destination = r, i.source = n, i;
|
|
@@ -971,17 +932,17 @@ var Gn = Tr(function(e) {
|
|
|
971
932
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
972
933
|
}, t.prototype._subscribe = function(r) {
|
|
973
934
|
var n, i;
|
|
974
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
935
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ar;
|
|
975
936
|
}, t;
|
|
976
|
-
}(Cr),
|
|
937
|
+
}(Cr), Lr = {
|
|
977
938
|
now: function() {
|
|
978
|
-
return (
|
|
939
|
+
return (Lr.delegate || Date).now();
|
|
979
940
|
},
|
|
980
941
|
delegate: void 0
|
|
981
|
-
},
|
|
982
|
-
|
|
942
|
+
}, Gn = function(e) {
|
|
943
|
+
We(t, e);
|
|
983
944
|
function t(r, n, i) {
|
|
984
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
945
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Lr);
|
|
985
946
|
var o = e.call(this) || this;
|
|
986
947
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
987
948
|
}
|
|
@@ -1002,23 +963,23 @@ var Gn = Tr(function(e) {
|
|
|
1002
963
|
}
|
|
1003
964
|
}, t;
|
|
1004
965
|
}(Cr);
|
|
1005
|
-
const
|
|
1006
|
-
if (
|
|
1007
|
-
const r = new
|
|
1008
|
-
|
|
966
|
+
const rr = [], nr = {}, jn = (e, t = 0) => {
|
|
967
|
+
if (rr.indexOf(e) == -1) {
|
|
968
|
+
const r = new Gn(t);
|
|
969
|
+
nr[e] = r, rr.push(e);
|
|
1009
970
|
}
|
|
1010
|
-
return
|
|
971
|
+
return nr[e];
|
|
1011
972
|
}, Te = [];
|
|
1012
973
|
function Vn(e, t) {
|
|
1013
974
|
return {
|
|
1014
|
-
subscribe:
|
|
975
|
+
subscribe: mt(e, t).subscribe
|
|
1015
976
|
};
|
|
1016
977
|
}
|
|
1017
|
-
function
|
|
978
|
+
function mt(e, t = Z) {
|
|
1018
979
|
let r;
|
|
1019
980
|
const n = /* @__PURE__ */ new Set();
|
|
1020
981
|
function i(a) {
|
|
1021
|
-
if (
|
|
982
|
+
if (Pr(e, a) && (e = a, r)) {
|
|
1022
983
|
const c = !Te.length;
|
|
1023
984
|
for (const l of n)
|
|
1024
985
|
l[1](), Te.push(l, e);
|
|
@@ -1040,7 +1001,7 @@ function dt(e, t = Z) {
|
|
|
1040
1001
|
}
|
|
1041
1002
|
return { set: i, update: o, subscribe: s };
|
|
1042
1003
|
}
|
|
1043
|
-
function
|
|
1004
|
+
function Me(e, t, r) {
|
|
1044
1005
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1045
1006
|
if (!i.every(Boolean))
|
|
1046
1007
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1054,12 +1015,12 @@ function Ne(e, t, r) {
|
|
|
1054
1015
|
return;
|
|
1055
1016
|
f();
|
|
1056
1017
|
const y = t(n ? l[0] : l, s, a);
|
|
1057
|
-
o ? s(y) : f =
|
|
1018
|
+
o ? s(y) : f = Vt(y) ? y : Z;
|
|
1058
1019
|
}, b = i.map(
|
|
1059
|
-
(y, g) =>
|
|
1020
|
+
(y, g) => Tr(
|
|
1060
1021
|
y,
|
|
1061
|
-
(
|
|
1062
|
-
l[g] =
|
|
1022
|
+
(x) => {
|
|
1023
|
+
l[g] = x, u &= ~(1 << g), c && d();
|
|
1063
1024
|
},
|
|
1064
1025
|
() => {
|
|
1065
1026
|
u |= 1 << g;
|
|
@@ -1067,7 +1028,7 @@ function Ne(e, t, r) {
|
|
|
1067
1028
|
)
|
|
1068
1029
|
);
|
|
1069
1030
|
return c = !0, d(), function() {
|
|
1070
|
-
|
|
1031
|
+
Le(b), f(), c = !1;
|
|
1071
1032
|
};
|
|
1072
1033
|
});
|
|
1073
1034
|
}
|
|
@@ -1091,29 +1052,29 @@ function Qn(e) {
|
|
|
1091
1052
|
function Yn(e) {
|
|
1092
1053
|
return Array.isArray(e) ? [] : {};
|
|
1093
1054
|
}
|
|
1094
|
-
function
|
|
1095
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1055
|
+
function ze(e, t) {
|
|
1056
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ae(Yn(e), e, t) : e;
|
|
1096
1057
|
}
|
|
1097
1058
|
function Kn(e, t, r) {
|
|
1098
1059
|
return e.concat(t).map(function(n) {
|
|
1099
|
-
return
|
|
1060
|
+
return ze(n, r);
|
|
1100
1061
|
});
|
|
1101
1062
|
}
|
|
1102
1063
|
function ei(e, t) {
|
|
1103
1064
|
if (!t.customMerge)
|
|
1104
|
-
return
|
|
1065
|
+
return Ae;
|
|
1105
1066
|
var r = t.customMerge(e);
|
|
1106
|
-
return typeof r == "function" ? r :
|
|
1067
|
+
return typeof r == "function" ? r : Ae;
|
|
1107
1068
|
}
|
|
1108
1069
|
function ti(e) {
|
|
1109
1070
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1110
1071
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1111
1072
|
}) : [];
|
|
1112
1073
|
}
|
|
1113
|
-
function
|
|
1074
|
+
function ir(e) {
|
|
1114
1075
|
return Object.keys(e).concat(ti(e));
|
|
1115
1076
|
}
|
|
1116
|
-
function
|
|
1077
|
+
function Mr(e, t) {
|
|
1117
1078
|
try {
|
|
1118
1079
|
return t in e;
|
|
1119
1080
|
} catch {
|
|
@@ -1121,129 +1082,179 @@ function Lr(e, t) {
|
|
|
1121
1082
|
}
|
|
1122
1083
|
}
|
|
1123
1084
|
function ri(e, t) {
|
|
1124
|
-
return
|
|
1085
|
+
return Mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1125
1086
|
}
|
|
1126
1087
|
function ni(e, t, r) {
|
|
1127
1088
|
var n = {};
|
|
1128
|
-
return r.isMergeableObject(e) &&
|
|
1129
|
-
n[i] =
|
|
1130
|
-
}),
|
|
1131
|
-
ri(e, i) || (
|
|
1089
|
+
return r.isMergeableObject(e) && ir(e).forEach(function(i) {
|
|
1090
|
+
n[i] = ze(e[i], r);
|
|
1091
|
+
}), ir(t).forEach(function(i) {
|
|
1092
|
+
ri(e, i) || (Mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = ze(t[i], r));
|
|
1132
1093
|
}), n;
|
|
1133
1094
|
}
|
|
1134
|
-
function
|
|
1135
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified =
|
|
1095
|
+
function Ae(e, t, r) {
|
|
1096
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = ze;
|
|
1136
1097
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1137
|
-
return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) :
|
|
1098
|
+
return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : ze(t, r);
|
|
1138
1099
|
}
|
|
1139
|
-
|
|
1100
|
+
Ae.all = function(t, r) {
|
|
1140
1101
|
if (!Array.isArray(t))
|
|
1141
1102
|
throw new Error("first argument should be an array");
|
|
1142
1103
|
return t.reduce(function(n, i) {
|
|
1143
|
-
return
|
|
1104
|
+
return Ae(n, i, r);
|
|
1144
1105
|
}, {});
|
|
1145
1106
|
};
|
|
1146
|
-
var ii =
|
|
1107
|
+
var ii = Ae, oi = ii;
|
|
1147
1108
|
const si = /* @__PURE__ */ zn(oi);
|
|
1148
|
-
function
|
|
1149
|
-
|
|
1109
|
+
var Nt = function(e, t) {
|
|
1110
|
+
return Nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1111
|
+
r.__proto__ = n;
|
|
1112
|
+
} || function(r, n) {
|
|
1113
|
+
for (var i in n)
|
|
1114
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1115
|
+
}, Nt(e, t);
|
|
1116
|
+
};
|
|
1117
|
+
function pt(e, t) {
|
|
1118
|
+
if (typeof t != "function" && t !== null)
|
|
1119
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1120
|
+
Nt(e, t);
|
|
1121
|
+
function r() {
|
|
1122
|
+
this.constructor = e;
|
|
1123
|
+
}
|
|
1124
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1125
|
+
}
|
|
1126
|
+
var ie = function() {
|
|
1127
|
+
return ie = Object.assign || function(t) {
|
|
1128
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1129
|
+
r = arguments[n];
|
|
1130
|
+
for (var o in r)
|
|
1131
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1132
|
+
}
|
|
1133
|
+
return t;
|
|
1134
|
+
}, ie.apply(this, arguments);
|
|
1135
|
+
};
|
|
1136
|
+
function ai(e, t) {
|
|
1137
|
+
var r = {};
|
|
1138
|
+
for (var n in e)
|
|
1139
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1140
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1141
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1142
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1143
|
+
return r;
|
|
1144
|
+
}
|
|
1145
|
+
function wt(e, t, r) {
|
|
1146
|
+
if (r || arguments.length === 2)
|
|
1147
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1148
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1149
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1150
|
+
}
|
|
1151
|
+
function Et(e, t) {
|
|
1152
|
+
var r = t && t.cache ? t.cache : mi, n = t && t.serializer ? t.serializer : fi, i = t && t.strategy ? t.strategy : ci;
|
|
1150
1153
|
return i(e, {
|
|
1151
1154
|
cache: r,
|
|
1152
1155
|
serializer: n
|
|
1153
1156
|
});
|
|
1154
1157
|
}
|
|
1155
|
-
function
|
|
1158
|
+
function li(e) {
|
|
1156
1159
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1157
1160
|
}
|
|
1158
|
-
function
|
|
1159
|
-
var i =
|
|
1161
|
+
function ui(e, t, r, n) {
|
|
1162
|
+
var i = li(n) ? n : r(n), o = t.get(i);
|
|
1160
1163
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1161
1164
|
}
|
|
1162
1165
|
function Nr(e, t, r) {
|
|
1163
1166
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1164
1167
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1165
1168
|
}
|
|
1166
|
-
function
|
|
1169
|
+
function Rr(e, t, r, n, i) {
|
|
1167
1170
|
return r.bind(t, e, n, i);
|
|
1168
1171
|
}
|
|
1169
|
-
function li(e, t) {
|
|
1170
|
-
var r = e.length === 1 ? Mr : Nr;
|
|
1171
|
-
return Gt(e, this, r, t.cache.create(), t.serializer);
|
|
1172
|
-
}
|
|
1173
|
-
function ui(e, t) {
|
|
1174
|
-
return Gt(e, this, Nr, t.cache.create(), t.serializer);
|
|
1175
|
-
}
|
|
1176
1172
|
function ci(e, t) {
|
|
1177
|
-
|
|
1173
|
+
var r = e.length === 1 ? ui : Nr;
|
|
1174
|
+
return Rr(e, this, r, t.cache.create(), t.serializer);
|
|
1178
1175
|
}
|
|
1179
|
-
|
|
1180
|
-
return
|
|
1181
|
-
};
|
|
1182
|
-
function $t() {
|
|
1183
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1176
|
+
function hi(e, t) {
|
|
1177
|
+
return Rr(e, this, Nr, t.cache.create(), t.serializer);
|
|
1184
1178
|
}
|
|
1185
|
-
|
|
1186
|
-
return
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1179
|
+
var fi = function() {
|
|
1180
|
+
return JSON.stringify(arguments);
|
|
1181
|
+
}, di = (
|
|
1182
|
+
/** @class */
|
|
1183
|
+
function() {
|
|
1184
|
+
function e() {
|
|
1185
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1186
|
+
}
|
|
1187
|
+
return e.prototype.get = function(t) {
|
|
1188
|
+
return this.cache[t];
|
|
1189
|
+
}, e.prototype.set = function(t, r) {
|
|
1190
|
+
this.cache[t] = r;
|
|
1191
|
+
}, e;
|
|
1192
|
+
}()
|
|
1193
|
+
), mi = {
|
|
1192
1194
|
create: function() {
|
|
1193
|
-
return new
|
|
1195
|
+
return new di();
|
|
1194
1196
|
}
|
|
1195
|
-
},
|
|
1196
|
-
variadic:
|
|
1197
|
-
|
|
1198
|
-
|
|
1197
|
+
}, xt = {
|
|
1198
|
+
variadic: hi
|
|
1199
|
+
}, ct = function() {
|
|
1200
|
+
return ct = Object.assign || function(t) {
|
|
1201
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1202
|
+
r = arguments[n];
|
|
1203
|
+
for (var o in r)
|
|
1204
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1205
|
+
}
|
|
1206
|
+
return t;
|
|
1207
|
+
}, ct.apply(this, arguments);
|
|
1208
|
+
};
|
|
1209
|
+
var _;
|
|
1199
1210
|
(function(e) {
|
|
1200
1211
|
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";
|
|
1201
1212
|
})(_ || (_ = {}));
|
|
1202
|
-
var
|
|
1213
|
+
var P;
|
|
1203
1214
|
(function(e) {
|
|
1204
1215
|
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";
|
|
1205
|
-
})(
|
|
1206
|
-
var
|
|
1216
|
+
})(P || (P = {}));
|
|
1217
|
+
var Ie;
|
|
1207
1218
|
(function(e) {
|
|
1208
1219
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1209
|
-
})(
|
|
1210
|
-
function
|
|
1211
|
-
return e.type ===
|
|
1212
|
-
}
|
|
1213
|
-
function di(e) {
|
|
1214
|
-
return e.type === T.argument;
|
|
1220
|
+
})(Ie || (Ie = {}));
|
|
1221
|
+
function or(e) {
|
|
1222
|
+
return e.type === P.literal;
|
|
1215
1223
|
}
|
|
1216
|
-
function
|
|
1217
|
-
return e.type ===
|
|
1224
|
+
function pi(e) {
|
|
1225
|
+
return e.type === P.argument;
|
|
1218
1226
|
}
|
|
1219
1227
|
function Ur(e) {
|
|
1220
|
-
return e.type ===
|
|
1228
|
+
return e.type === P.number;
|
|
1221
1229
|
}
|
|
1222
1230
|
function Fr(e) {
|
|
1223
|
-
return e.type ===
|
|
1231
|
+
return e.type === P.date;
|
|
1224
1232
|
}
|
|
1225
1233
|
function Dr(e) {
|
|
1226
|
-
return e.type ===
|
|
1234
|
+
return e.type === P.time;
|
|
1227
1235
|
}
|
|
1228
1236
|
function kr(e) {
|
|
1229
|
-
return e.type ===
|
|
1237
|
+
return e.type === P.select;
|
|
1230
1238
|
}
|
|
1231
|
-
function
|
|
1232
|
-
return e.type ===
|
|
1239
|
+
function $r(e) {
|
|
1240
|
+
return e.type === P.plural;
|
|
1241
|
+
}
|
|
1242
|
+
function gi(e) {
|
|
1243
|
+
return e.type === P.pound;
|
|
1233
1244
|
}
|
|
1234
1245
|
function Gr(e) {
|
|
1235
|
-
return e.type ===
|
|
1246
|
+
return e.type === P.tag;
|
|
1236
1247
|
}
|
|
1237
|
-
function
|
|
1238
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1248
|
+
function jr(e) {
|
|
1249
|
+
return !!(e && typeof e == "object" && e.type === Ie.number);
|
|
1239
1250
|
}
|
|
1240
|
-
function
|
|
1241
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1251
|
+
function Rt(e) {
|
|
1252
|
+
return !!(e && typeof e == "object" && e.type === Ie.dateTime);
|
|
1242
1253
|
}
|
|
1243
|
-
var
|
|
1244
|
-
function
|
|
1254
|
+
var Vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1255
|
+
function vi(e) {
|
|
1245
1256
|
var t = {};
|
|
1246
|
-
return e.replace(
|
|
1257
|
+
return e.replace(bi, function(r) {
|
|
1247
1258
|
var n = r.length;
|
|
1248
1259
|
switch (r[0]) {
|
|
1249
1260
|
case "G":
|
|
@@ -1332,11 +1343,21 @@ function gi(e) {
|
|
|
1332
1343
|
return "";
|
|
1333
1344
|
}), t;
|
|
1334
1345
|
}
|
|
1335
|
-
var
|
|
1336
|
-
function
|
|
1346
|
+
var T = function() {
|
|
1347
|
+
return T = Object.assign || function(t) {
|
|
1348
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1349
|
+
r = arguments[n];
|
|
1350
|
+
for (var o in r)
|
|
1351
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1352
|
+
}
|
|
1353
|
+
return t;
|
|
1354
|
+
}, T.apply(this, arguments);
|
|
1355
|
+
};
|
|
1356
|
+
var yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1357
|
+
function _i(e) {
|
|
1337
1358
|
if (e.length === 0)
|
|
1338
1359
|
throw new Error("Number skeleton cannot be empty");
|
|
1339
|
-
for (var t = e.split(
|
|
1360
|
+
for (var t = e.split(yi).filter(function(d) {
|
|
1340
1361
|
return d.length > 0;
|
|
1341
1362
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1342
1363
|
var o = i[n], s = o.split("/");
|
|
@@ -1351,17 +1372,17 @@ function vi(e) {
|
|
|
1351
1372
|
}
|
|
1352
1373
|
return r;
|
|
1353
1374
|
}
|
|
1354
|
-
function
|
|
1375
|
+
function wi(e) {
|
|
1355
1376
|
return e.replace(/^(.*?)-/, "");
|
|
1356
1377
|
}
|
|
1357
|
-
var
|
|
1358
|
-
function
|
|
1378
|
+
var sr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zr = /^(@+)?(\+|#+)?[rs]?$/g, Ei = /(\*)(0+)|(#+)(0+)|(0+)/g, Xr = /^(0+)$/;
|
|
1379
|
+
function ar(e) {
|
|
1359
1380
|
var t = {};
|
|
1360
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1381
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zr, function(r, n, i) {
|
|
1361
1382
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1362
1383
|
}), t;
|
|
1363
1384
|
}
|
|
1364
|
-
function
|
|
1385
|
+
function Wr(e) {
|
|
1365
1386
|
switch (e) {
|
|
1366
1387
|
case "sign-auto":
|
|
1367
1388
|
return {
|
|
@@ -1401,7 +1422,7 @@ function Xr(e) {
|
|
|
1401
1422
|
};
|
|
1402
1423
|
}
|
|
1403
1424
|
}
|
|
1404
|
-
function
|
|
1425
|
+
function xi(e) {
|
|
1405
1426
|
var t;
|
|
1406
1427
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1407
1428
|
notation: "engineering"
|
|
@@ -1409,17 +1430,17 @@ function wi(e) {
|
|
|
1409
1430
|
notation: "scientific"
|
|
1410
1431
|
}, e = e.slice(1)), t) {
|
|
1411
1432
|
var r = e.slice(0, 2);
|
|
1412
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1433
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xr.test(e))
|
|
1413
1434
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1414
1435
|
t.minimumIntegerDigits = e.length;
|
|
1415
1436
|
}
|
|
1416
1437
|
return t;
|
|
1417
1438
|
}
|
|
1418
|
-
function
|
|
1419
|
-
var t = {}, r =
|
|
1439
|
+
function lr(e) {
|
|
1440
|
+
var t = {}, r = Wr(e);
|
|
1420
1441
|
return r || t;
|
|
1421
1442
|
}
|
|
1422
|
-
function
|
|
1443
|
+
function Si(e) {
|
|
1423
1444
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1424
1445
|
var i = n[r];
|
|
1425
1446
|
switch (i.stem) {
|
|
@@ -1443,7 +1464,7 @@ function Ei(e) {
|
|
|
1443
1464
|
continue;
|
|
1444
1465
|
case "measure-unit":
|
|
1445
1466
|
case "unit":
|
|
1446
|
-
t.style = "unit", t.unit =
|
|
1467
|
+
t.style = "unit", t.unit = wi(i.options[0]);
|
|
1447
1468
|
continue;
|
|
1448
1469
|
case "compact-short":
|
|
1449
1470
|
case "K":
|
|
@@ -1454,13 +1475,13 @@ function Ei(e) {
|
|
|
1454
1475
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1455
1476
|
continue;
|
|
1456
1477
|
case "scientific":
|
|
1457
|
-
t =
|
|
1458
|
-
return
|
|
1478
|
+
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
|
|
1479
|
+
return T(T({}, c), lr(l));
|
|
1459
1480
|
}, {}));
|
|
1460
1481
|
continue;
|
|
1461
1482
|
case "engineering":
|
|
1462
|
-
t =
|
|
1463
|
-
return
|
|
1483
|
+
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
|
|
1484
|
+
return T(T({}, c), lr(l));
|
|
1464
1485
|
}, {}));
|
|
1465
1486
|
continue;
|
|
1466
1487
|
case "notation-simple":
|
|
@@ -1505,7 +1526,7 @@ function Ei(e) {
|
|
|
1505
1526
|
case "integer-width":
|
|
1506
1527
|
if (i.options.length > 1)
|
|
1507
1528
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1508
|
-
i.options[0].replace(
|
|
1529
|
+
i.options[0].replace(Ei, function(c, l, u, f, d, b) {
|
|
1509
1530
|
if (l)
|
|
1510
1531
|
t.minimumIntegerDigits = u.length;
|
|
1511
1532
|
else {
|
|
@@ -1518,28 +1539,28 @@ function Ei(e) {
|
|
|
1518
1539
|
});
|
|
1519
1540
|
continue;
|
|
1520
1541
|
}
|
|
1521
|
-
if (
|
|
1542
|
+
if (Xr.test(i.stem)) {
|
|
1522
1543
|
t.minimumIntegerDigits = i.stem.length;
|
|
1523
1544
|
continue;
|
|
1524
1545
|
}
|
|
1525
|
-
if (
|
|
1546
|
+
if (sr.test(i.stem)) {
|
|
1526
1547
|
if (i.options.length > 1)
|
|
1527
1548
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1528
|
-
i.stem.replace(
|
|
1549
|
+
i.stem.replace(sr, function(c, l, u, f, d, b) {
|
|
1529
1550
|
return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1530
1551
|
});
|
|
1531
1552
|
var o = i.options[0];
|
|
1532
|
-
o === "w" ? t =
|
|
1553
|
+
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), ar(o)));
|
|
1533
1554
|
continue;
|
|
1534
1555
|
}
|
|
1535
|
-
if (
|
|
1536
|
-
t =
|
|
1556
|
+
if (zr.test(i.stem)) {
|
|
1557
|
+
t = T(T({}, t), ar(i.stem));
|
|
1537
1558
|
continue;
|
|
1538
1559
|
}
|
|
1539
|
-
var s =
|
|
1540
|
-
s && (t =
|
|
1541
|
-
var a =
|
|
1542
|
-
a && (t =
|
|
1560
|
+
var s = Wr(i.stem);
|
|
1561
|
+
s && (t = T(T({}, t), s));
|
|
1562
|
+
var a = xi(i.stem);
|
|
1563
|
+
a && (t = T(T({}, t), a));
|
|
1543
1564
|
}
|
|
1544
1565
|
return t;
|
|
1545
1566
|
}
|
|
@@ -2958,13 +2979,13 @@ var it = {
|
|
|
2958
2979
|
"h"
|
|
2959
2980
|
]
|
|
2960
2981
|
};
|
|
2961
|
-
function
|
|
2982
|
+
function Pi(e, t) {
|
|
2962
2983
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2963
2984
|
var i = e.charAt(n);
|
|
2964
2985
|
if (i === "j") {
|
|
2965
2986
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2966
2987
|
o++, n++;
|
|
2967
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l =
|
|
2988
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Ti(t);
|
|
2968
2989
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2969
2990
|
r += c;
|
|
2970
2991
|
for (; s-- > 0; )
|
|
@@ -2974,7 +2995,7 @@ function xi(e, t) {
|
|
|
2974
2995
|
}
|
|
2975
2996
|
return r;
|
|
2976
2997
|
}
|
|
2977
|
-
function
|
|
2998
|
+
function Ti(e) {
|
|
2978
2999
|
var t = e.hourCycle;
|
|
2979
3000
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2980
3001
|
e.hourCycles && // @ts-ignore
|
|
@@ -2996,20 +3017,20 @@ function Si(e) {
|
|
|
2996
3017
|
var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
|
|
2997
3018
|
return i[0];
|
|
2998
3019
|
}
|
|
2999
|
-
var
|
|
3020
|
+
var St, Hi = new RegExp("^".concat(Vr.source, "*")), Bi = new RegExp("".concat(Vr.source, "*$"));
|
|
3000
3021
|
function w(e, t) {
|
|
3001
3022
|
return { start: e, end: t };
|
|
3002
3023
|
}
|
|
3003
|
-
var
|
|
3024
|
+
var Ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ii = !!String.fromCodePoint, Oi = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Li = !!String.prototype.trimStart, Mi = !!String.prototype.trimEnd, Ni = !!Number.isSafeInteger, Ri = Ni ? Number.isSafeInteger : function(e) {
|
|
3004
3025
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3005
|
-
},
|
|
3026
|
+
}, Ut = !0;
|
|
3006
3027
|
try {
|
|
3007
|
-
var
|
|
3008
|
-
|
|
3028
|
+
var Ui = qr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3029
|
+
Ut = ((St = Ui.exec("a")) === null || St === void 0 ? void 0 : St[0]) === "a";
|
|
3009
3030
|
} catch {
|
|
3010
|
-
|
|
3031
|
+
Ut = !1;
|
|
3011
3032
|
}
|
|
3012
|
-
var
|
|
3033
|
+
var ur = Ai ? (
|
|
3013
3034
|
// Native
|
|
3014
3035
|
function(t, r, n) {
|
|
3015
3036
|
return t.startsWith(r, n);
|
|
@@ -3019,7 +3040,7 @@ var ar = Hi ? (
|
|
|
3019
3040
|
function(t, r, n) {
|
|
3020
3041
|
return t.slice(n, n + r.length) === r;
|
|
3021
3042
|
}
|
|
3022
|
-
),
|
|
3043
|
+
), Ft = Ii ? String.fromCodePoint : (
|
|
3023
3044
|
// IE11
|
|
3024
3045
|
function() {
|
|
3025
3046
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3031,9 +3052,9 @@ var ar = Hi ? (
|
|
|
3031
3052
|
}
|
|
3032
3053
|
return n;
|
|
3033
3054
|
}
|
|
3034
|
-
),
|
|
3055
|
+
), cr = (
|
|
3035
3056
|
// native
|
|
3036
|
-
|
|
3057
|
+
Oi ? Object.fromEntries : (
|
|
3037
3058
|
// Ponyfill
|
|
3038
3059
|
function(t) {
|
|
3039
3060
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3043,7 +3064,7 @@ var ar = Hi ? (
|
|
|
3043
3064
|
return r;
|
|
3044
3065
|
}
|
|
3045
3066
|
)
|
|
3046
|
-
),
|
|
3067
|
+
), Zr = Ci ? (
|
|
3047
3068
|
// Native
|
|
3048
3069
|
function(t, r) {
|
|
3049
3070
|
return t.codePointAt(r);
|
|
@@ -3057,7 +3078,7 @@ var ar = Hi ? (
|
|
|
3057
3078
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3058
3079
|
}
|
|
3059
3080
|
}
|
|
3060
|
-
),
|
|
3081
|
+
), Fi = Li ? (
|
|
3061
3082
|
// Native
|
|
3062
3083
|
function(t) {
|
|
3063
3084
|
return t.trimStart();
|
|
@@ -3065,9 +3086,9 @@ var ar = Hi ? (
|
|
|
3065
3086
|
) : (
|
|
3066
3087
|
// Ponyfill
|
|
3067
3088
|
function(t) {
|
|
3068
|
-
return t.replace(
|
|
3089
|
+
return t.replace(Hi, "");
|
|
3069
3090
|
}
|
|
3070
|
-
),
|
|
3091
|
+
), Di = Mi ? (
|
|
3071
3092
|
// Native
|
|
3072
3093
|
function(t) {
|
|
3073
3094
|
return t.trimEnd();
|
|
@@ -3075,32 +3096,32 @@ var ar = Hi ? (
|
|
|
3075
3096
|
) : (
|
|
3076
3097
|
// Ponyfill
|
|
3077
3098
|
function(t) {
|
|
3078
|
-
return t.replace(
|
|
3099
|
+
return t.replace(Bi, "");
|
|
3079
3100
|
}
|
|
3080
3101
|
);
|
|
3081
|
-
function
|
|
3102
|
+
function qr(e, t) {
|
|
3082
3103
|
return new RegExp(e, t);
|
|
3083
3104
|
}
|
|
3084
|
-
var
|
|
3085
|
-
if (
|
|
3086
|
-
var
|
|
3087
|
-
|
|
3105
|
+
var Dt;
|
|
3106
|
+
if (Ut) {
|
|
3107
|
+
var hr = qr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3108
|
+
Dt = function(t, r) {
|
|
3088
3109
|
var n;
|
|
3089
|
-
|
|
3090
|
-
var i =
|
|
3110
|
+
hr.lastIndex = r;
|
|
3111
|
+
var i = hr.exec(t);
|
|
3091
3112
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3092
3113
|
};
|
|
3093
3114
|
} else
|
|
3094
|
-
|
|
3115
|
+
Dt = function(t, r) {
|
|
3095
3116
|
for (var n = []; ; ) {
|
|
3096
|
-
var i =
|
|
3097
|
-
if (i === void 0 ||
|
|
3117
|
+
var i = Zr(t, r);
|
|
3118
|
+
if (i === void 0 || Jr(i) || ji(i))
|
|
3098
3119
|
break;
|
|
3099
3120
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3100
3121
|
}
|
|
3101
|
-
return
|
|
3122
|
+
return Ft.apply(void 0, n);
|
|
3102
3123
|
};
|
|
3103
|
-
var
|
|
3124
|
+
var ki = (
|
|
3104
3125
|
/** @class */
|
|
3105
3126
|
function() {
|
|
3106
3127
|
function e(t, r) {
|
|
@@ -3124,14 +3145,14 @@ var Fi = (
|
|
|
3124
3145
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3125
3146
|
var a = this.clonePosition();
|
|
3126
3147
|
this.bump(), i.push({
|
|
3127
|
-
type:
|
|
3148
|
+
type: P.pound,
|
|
3128
3149
|
location: w(a, this.clonePosition())
|
|
3129
3150
|
});
|
|
3130
3151
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3131
3152
|
if (n)
|
|
3132
3153
|
break;
|
|
3133
3154
|
return this.error(_.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
3134
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3155
|
+
} else if (o === 60 && !this.ignoreTag && kt(this.peek() || 0)) {
|
|
3135
3156
|
var s = this.parseTag(t, r);
|
|
3136
3157
|
if (s.err)
|
|
3137
3158
|
return s;
|
|
@@ -3152,7 +3173,7 @@ var Fi = (
|
|
|
3152
3173
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3153
3174
|
return {
|
|
3154
3175
|
val: {
|
|
3155
|
-
type:
|
|
3176
|
+
type: P.literal,
|
|
3156
3177
|
value: "<".concat(i, "/>"),
|
|
3157
3178
|
location: w(n, this.clonePosition())
|
|
3158
3179
|
},
|
|
@@ -3164,12 +3185,12 @@ var Fi = (
|
|
|
3164
3185
|
return o;
|
|
3165
3186
|
var s = o.val, a = this.clonePosition();
|
|
3166
3187
|
if (this.bumpIf("</")) {
|
|
3167
|
-
if (this.isEOF() || !
|
|
3188
|
+
if (this.isEOF() || !kt(this.char()))
|
|
3168
3189
|
return this.error(_.INVALID_TAG, w(a, this.clonePosition()));
|
|
3169
3190
|
var c = this.clonePosition(), l = this.parseTagName();
|
|
3170
3191
|
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, w(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3171
3192
|
val: {
|
|
3172
|
-
type:
|
|
3193
|
+
type: P.tag,
|
|
3173
3194
|
value: i,
|
|
3174
3195
|
children: s,
|
|
3175
3196
|
location: w(n, this.clonePosition())
|
|
@@ -3182,7 +3203,7 @@ var Fi = (
|
|
|
3182
3203
|
return this.error(_.INVALID_TAG, w(n, this.clonePosition()));
|
|
3183
3204
|
}, e.prototype.parseTagName = function() {
|
|
3184
3205
|
var t = this.offset();
|
|
3185
|
-
for (this.bump(); !this.isEOF() &&
|
|
3206
|
+
for (this.bump(); !this.isEOF() && Gi(this.char()); )
|
|
3186
3207
|
this.bump();
|
|
3187
3208
|
return this.message.slice(t, this.offset());
|
|
3188
3209
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3206,12 +3227,12 @@ var Fi = (
|
|
|
3206
3227
|
}
|
|
3207
3228
|
var c = w(n, this.clonePosition());
|
|
3208
3229
|
return {
|
|
3209
|
-
val: { type:
|
|
3230
|
+
val: { type: P.literal, value: i, location: c },
|
|
3210
3231
|
err: null
|
|
3211
3232
|
};
|
|
3212
3233
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3213
3234
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3214
|
-
|
|
3235
|
+
!$i(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3215
3236
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3216
3237
|
if (this.isEOF() || this.char() !== 39)
|
|
3217
3238
|
return null;
|
|
@@ -3245,12 +3266,12 @@ var Fi = (
|
|
|
3245
3266
|
r.push(n);
|
|
3246
3267
|
this.bump();
|
|
3247
3268
|
}
|
|
3248
|
-
return
|
|
3269
|
+
return Ft.apply(void 0, r);
|
|
3249
3270
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3250
3271
|
if (this.isEOF())
|
|
3251
3272
|
return null;
|
|
3252
3273
|
var n = this.char();
|
|
3253
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3274
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ft(n));
|
|
3254
3275
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3255
3276
|
var n = this.clonePosition();
|
|
3256
3277
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3266,7 +3287,7 @@ var Fi = (
|
|
|
3266
3287
|
case 125:
|
|
3267
3288
|
return this.bump(), {
|
|
3268
3289
|
val: {
|
|
3269
|
-
type:
|
|
3290
|
+
type: P.argument,
|
|
3270
3291
|
// value does not include the opening and closing braces.
|
|
3271
3292
|
value: i,
|
|
3272
3293
|
location: w(n, this.clonePosition())
|
|
@@ -3279,7 +3300,7 @@ var Fi = (
|
|
|
3279
3300
|
return this.error(_.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3280
3301
|
}
|
|
3281
3302
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3282
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3303
|
+
var t = this.clonePosition(), r = this.offset(), n = Dt(this.message, r), i = r + n.length;
|
|
3283
3304
|
this.bumpTo(i);
|
|
3284
3305
|
var o = this.clonePosition(), s = w(t, o);
|
|
3285
3306
|
return { value: n, location: s };
|
|
@@ -3298,7 +3319,7 @@ var Fi = (
|
|
|
3298
3319
|
var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3299
3320
|
if (f.err)
|
|
3300
3321
|
return f;
|
|
3301
|
-
var d =
|
|
3322
|
+
var d = Di(f.val);
|
|
3302
3323
|
if (d.length === 0)
|
|
3303
3324
|
return this.error(_.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
3304
3325
|
var b = w(u, this.clonePosition());
|
|
@@ -3308,25 +3329,25 @@ var Fi = (
|
|
|
3308
3329
|
if (y.err)
|
|
3309
3330
|
return y;
|
|
3310
3331
|
var g = w(i, this.clonePosition());
|
|
3311
|
-
if (l &&
|
|
3312
|
-
var
|
|
3332
|
+
if (l && ur(l?.style, "::", 0)) {
|
|
3333
|
+
var x = Fi(l.style.slice(2));
|
|
3313
3334
|
if (a === "number") {
|
|
3314
|
-
var f = this.parseNumberSkeletonFromString(
|
|
3335
|
+
var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
|
|
3315
3336
|
return f.err ? f : {
|
|
3316
|
-
val: { type:
|
|
3337
|
+
val: { type: P.number, value: n, location: g, style: f.val },
|
|
3317
3338
|
err: null
|
|
3318
3339
|
};
|
|
3319
3340
|
} else {
|
|
3320
|
-
if (
|
|
3341
|
+
if (x.length === 0)
|
|
3321
3342
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
3322
|
-
var
|
|
3323
|
-
this.locale && (
|
|
3343
|
+
var O = x;
|
|
3344
|
+
this.locale && (O = Pi(x, this.locale));
|
|
3324
3345
|
var d = {
|
|
3325
|
-
type:
|
|
3326
|
-
pattern:
|
|
3346
|
+
type: Ie.dateTime,
|
|
3347
|
+
pattern: O,
|
|
3327
3348
|
location: l.styleLocation,
|
|
3328
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3329
|
-
}, z = a === "date" ?
|
|
3349
|
+
parsedOptions: this.shouldParseSkeletons ? vi(O) : {}
|
|
3350
|
+
}, z = a === "date" ? P.date : P.time;
|
|
3330
3351
|
return {
|
|
3331
3352
|
val: { type: z, value: n, location: g, style: d },
|
|
3332
3353
|
err: null
|
|
@@ -3335,7 +3356,7 @@ var Fi = (
|
|
|
3335
3356
|
}
|
|
3336
3357
|
return {
|
|
3337
3358
|
val: {
|
|
3338
|
-
type: a === "number" ?
|
|
3359
|
+
type: a === "number" ? P.number : a === "date" ? P.date : P.time,
|
|
3339
3360
|
value: n,
|
|
3340
3361
|
location: g,
|
|
3341
3362
|
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3348,7 +3369,7 @@ var Fi = (
|
|
|
3348
3369
|
case "select": {
|
|
3349
3370
|
var R = this.clonePosition();
|
|
3350
3371
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3351
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, w(R,
|
|
3372
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, w(R, ct({}, R)));
|
|
3352
3373
|
this.bumpSpace();
|
|
3353
3374
|
var U = this.parseIdentifierIfPossible(), A = 0;
|
|
3354
3375
|
if (a !== "select" && U.value === "offset") {
|
|
@@ -3369,17 +3390,17 @@ var Fi = (
|
|
|
3369
3390
|
var H = w(i, this.clonePosition());
|
|
3370
3391
|
return a === "select" ? {
|
|
3371
3392
|
val: {
|
|
3372
|
-
type:
|
|
3393
|
+
type: P.select,
|
|
3373
3394
|
value: n,
|
|
3374
|
-
options:
|
|
3395
|
+
options: cr(re.val),
|
|
3375
3396
|
location: H
|
|
3376
3397
|
},
|
|
3377
3398
|
err: null
|
|
3378
3399
|
} : {
|
|
3379
3400
|
val: {
|
|
3380
|
-
type:
|
|
3401
|
+
type: P.plural,
|
|
3381
3402
|
value: n,
|
|
3382
|
-
options:
|
|
3403
|
+
options: cr(re.val),
|
|
3383
3404
|
offset: A,
|
|
3384
3405
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3385
3406
|
location: H
|
|
@@ -3430,16 +3451,16 @@ var Fi = (
|
|
|
3430
3451
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3431
3452
|
var n = [];
|
|
3432
3453
|
try {
|
|
3433
|
-
n =
|
|
3454
|
+
n = _i(t);
|
|
3434
3455
|
} catch {
|
|
3435
3456
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3436
3457
|
}
|
|
3437
3458
|
return {
|
|
3438
3459
|
val: {
|
|
3439
|
-
type:
|
|
3460
|
+
type: Ie.number,
|
|
3440
3461
|
tokens: n,
|
|
3441
3462
|
location: r,
|
|
3442
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3463
|
+
parsedOptions: this.shouldParseSkeletons ? Si(n) : {}
|
|
3443
3464
|
},
|
|
3444
3465
|
err: null
|
|
3445
3466
|
};
|
|
@@ -3487,7 +3508,7 @@ var Fi = (
|
|
|
3487
3508
|
break;
|
|
3488
3509
|
}
|
|
3489
3510
|
var c = w(i, this.clonePosition());
|
|
3490
|
-
return o ? (s *= n,
|
|
3511
|
+
return o ? (s *= n, Ri(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
|
|
3491
3512
|
}, e.prototype.offset = function() {
|
|
3492
3513
|
return this.position.offset;
|
|
3493
3514
|
}, e.prototype.isEOF = function() {
|
|
@@ -3502,7 +3523,7 @@ var Fi = (
|
|
|
3502
3523
|
var t = this.position.offset;
|
|
3503
3524
|
if (t >= this.message.length)
|
|
3504
3525
|
throw Error("out of bound");
|
|
3505
|
-
var r =
|
|
3526
|
+
var r = Zr(this.message, t);
|
|
3506
3527
|
if (r === void 0)
|
|
3507
3528
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3508
3529
|
return r;
|
|
@@ -3521,7 +3542,7 @@ var Fi = (
|
|
|
3521
3542
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3522
3543
|
}
|
|
3523
3544
|
}, e.prototype.bumpIf = function(t) {
|
|
3524
|
-
if (
|
|
3545
|
+
if (ur(this.message, t, this.offset())) {
|
|
3525
3546
|
for (var r = 0; r < t.length; r++)
|
|
3526
3547
|
this.bump();
|
|
3527
3548
|
return !0;
|
|
@@ -3543,7 +3564,7 @@ var Fi = (
|
|
|
3543
3564
|
break;
|
|
3544
3565
|
}
|
|
3545
3566
|
}, e.prototype.bumpSpace = function() {
|
|
3546
|
-
for (; !this.isEOF() &&
|
|
3567
|
+
for (; !this.isEOF() && Jr(this.char()); )
|
|
3547
3568
|
this.bump();
|
|
3548
3569
|
}, e.prototype.peek = function() {
|
|
3549
3570
|
if (this.isEOF())
|
|
@@ -3553,47 +3574,47 @@ var Fi = (
|
|
|
3553
3574
|
}, e;
|
|
3554
3575
|
}()
|
|
3555
3576
|
);
|
|
3556
|
-
function
|
|
3577
|
+
function kt(e) {
|
|
3557
3578
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3558
3579
|
}
|
|
3559
|
-
function
|
|
3560
|
-
return
|
|
3580
|
+
function $i(e) {
|
|
3581
|
+
return kt(e) || e === 47;
|
|
3561
3582
|
}
|
|
3562
|
-
function
|
|
3583
|
+
function Gi(e) {
|
|
3563
3584
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3564
3585
|
}
|
|
3565
|
-
function
|
|
3586
|
+
function Jr(e) {
|
|
3566
3587
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3567
3588
|
}
|
|
3568
|
-
function
|
|
3589
|
+
function ji(e) {
|
|
3569
3590
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3570
3591
|
}
|
|
3571
|
-
function
|
|
3592
|
+
function $t(e) {
|
|
3572
3593
|
e.forEach(function(t) {
|
|
3573
|
-
if (delete t.location,
|
|
3594
|
+
if (delete t.location, kr(t) || $r(t))
|
|
3574
3595
|
for (var r in t.options)
|
|
3575
|
-
delete t.options[r].location,
|
|
3596
|
+
delete t.options[r].location, $t(t.options[r].value);
|
|
3576
3597
|
else
|
|
3577
|
-
|
|
3598
|
+
Ur(t) && jr(t.style) || (Fr(t) || Dr(t)) && Rt(t.style) ? delete t.style.location : Gr(t) && $t(t.children);
|
|
3578
3599
|
});
|
|
3579
3600
|
}
|
|
3580
|
-
function
|
|
3581
|
-
t === void 0 && (t = {}), t =
|
|
3582
|
-
var r = new
|
|
3601
|
+
function Vi(e, t) {
|
|
3602
|
+
t === void 0 && (t = {}), t = ct({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3603
|
+
var r = new ki(e, t).parse();
|
|
3583
3604
|
if (r.err) {
|
|
3584
3605
|
var n = SyntaxError(_[r.err.kind]);
|
|
3585
3606
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3586
3607
|
}
|
|
3587
|
-
return t?.captureLocation ||
|
|
3608
|
+
return t?.captureLocation || $t(r.val), r.val;
|
|
3588
3609
|
}
|
|
3589
3610
|
var Oe;
|
|
3590
3611
|
(function(e) {
|
|
3591
3612
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3592
3613
|
})(Oe || (Oe = {}));
|
|
3593
|
-
var
|
|
3614
|
+
var gt = (
|
|
3594
3615
|
/** @class */
|
|
3595
3616
|
function(e) {
|
|
3596
|
-
|
|
3617
|
+
pt(t, e);
|
|
3597
3618
|
function t(r, n, i) {
|
|
3598
3619
|
var o = e.call(this, r) || this;
|
|
3599
3620
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3602,48 +3623,48 @@ var mt = (
|
|
|
3602
3623
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3603
3624
|
}, t;
|
|
3604
3625
|
}(Error)
|
|
3605
|
-
),
|
|
3626
|
+
), fr = (
|
|
3606
3627
|
/** @class */
|
|
3607
3628
|
function(e) {
|
|
3608
|
-
|
|
3629
|
+
pt(t, e);
|
|
3609
3630
|
function t(r, n, i, o) {
|
|
3610
3631
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Oe.INVALID_VALUE, o) || this;
|
|
3611
3632
|
}
|
|
3612
3633
|
return t;
|
|
3613
|
-
}(
|
|
3614
|
-
),
|
|
3634
|
+
}(gt)
|
|
3635
|
+
), zi = (
|
|
3615
3636
|
/** @class */
|
|
3616
3637
|
function(e) {
|
|
3617
|
-
|
|
3638
|
+
pt(t, e);
|
|
3618
3639
|
function t(r, n, i) {
|
|
3619
3640
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Oe.INVALID_VALUE, i) || this;
|
|
3620
3641
|
}
|
|
3621
3642
|
return t;
|
|
3622
|
-
}(
|
|
3623
|
-
),
|
|
3643
|
+
}(gt)
|
|
3644
|
+
), Xi = (
|
|
3624
3645
|
/** @class */
|
|
3625
3646
|
function(e) {
|
|
3626
|
-
|
|
3647
|
+
pt(t, e);
|
|
3627
3648
|
function t(r, n) {
|
|
3628
3649
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Oe.MISSING_VALUE, n) || this;
|
|
3629
3650
|
}
|
|
3630
3651
|
return t;
|
|
3631
|
-
}(
|
|
3652
|
+
}(gt)
|
|
3632
3653
|
), V;
|
|
3633
3654
|
(function(e) {
|
|
3634
3655
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3635
3656
|
})(V || (V = {}));
|
|
3636
|
-
function
|
|
3657
|
+
function Wi(e) {
|
|
3637
3658
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3638
3659
|
var n = t[t.length - 1];
|
|
3639
3660
|
return !n || n.type !== V.literal || r.type !== V.literal ? t.push(r) : n.value += r.value, t;
|
|
3640
3661
|
}, []);
|
|
3641
3662
|
}
|
|
3642
|
-
function
|
|
3663
|
+
function Zi(e) {
|
|
3643
3664
|
return typeof e == "function";
|
|
3644
3665
|
}
|
|
3645
3666
|
function at(e, t, r, n, i, o, s) {
|
|
3646
|
-
if (e.length === 1 &&
|
|
3667
|
+
if (e.length === 1 && or(e[0]))
|
|
3647
3668
|
return [
|
|
3648
3669
|
{
|
|
3649
3670
|
type: V.literal,
|
|
@@ -3652,14 +3673,14 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3652
3673
|
];
|
|
3653
3674
|
for (var a = [], c = 0, l = e; c < l.length; c++) {
|
|
3654
3675
|
var u = l[c];
|
|
3655
|
-
if (
|
|
3676
|
+
if (or(u)) {
|
|
3656
3677
|
a.push({
|
|
3657
3678
|
type: V.literal,
|
|
3658
3679
|
value: u.value
|
|
3659
3680
|
});
|
|
3660
3681
|
continue;
|
|
3661
3682
|
}
|
|
3662
|
-
if (
|
|
3683
|
+
if (gi(u)) {
|
|
3663
3684
|
typeof o == "number" && a.push({
|
|
3664
3685
|
type: V.literal,
|
|
3665
3686
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3668,33 +3689,33 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3668
3689
|
}
|
|
3669
3690
|
var f = u.value;
|
|
3670
3691
|
if (!(i && f in i))
|
|
3671
|
-
throw new
|
|
3692
|
+
throw new Xi(f, s);
|
|
3672
3693
|
var d = i[f];
|
|
3673
|
-
if (
|
|
3694
|
+
if (pi(u)) {
|
|
3674
3695
|
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3675
3696
|
type: typeof d == "string" ? V.literal : V.object,
|
|
3676
3697
|
value: d
|
|
3677
3698
|
});
|
|
3678
3699
|
continue;
|
|
3679
3700
|
}
|
|
3680
|
-
if (
|
|
3681
|
-
var b = typeof u.style == "string" ? n.date[u.style] :
|
|
3701
|
+
if (Fr(u)) {
|
|
3702
|
+
var b = typeof u.style == "string" ? n.date[u.style] : Rt(u.style) ? u.style.parsedOptions : void 0;
|
|
3682
3703
|
a.push({
|
|
3683
3704
|
type: V.literal,
|
|
3684
3705
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3685
3706
|
});
|
|
3686
3707
|
continue;
|
|
3687
3708
|
}
|
|
3688
|
-
if (
|
|
3689
|
-
var b = typeof u.style == "string" ? n.time[u.style] :
|
|
3709
|
+
if (Dr(u)) {
|
|
3710
|
+
var b = typeof u.style == "string" ? n.time[u.style] : Rt(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3690
3711
|
a.push({
|
|
3691
3712
|
type: V.literal,
|
|
3692
3713
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3693
3714
|
});
|
|
3694
3715
|
continue;
|
|
3695
3716
|
}
|
|
3696
|
-
if (
|
|
3697
|
-
var b = typeof u.style == "string" ? n.number[u.style] :
|
|
3717
|
+
if (Ur(u)) {
|
|
3718
|
+
var b = typeof u.style == "string" ? n.number[u.style] : jr(u.style) ? u.style.parsedOptions : void 0;
|
|
3698
3719
|
b && b.scale && (d = d * (b.scale || 1)), a.push({
|
|
3699
3720
|
type: V.literal,
|
|
3700
3721
|
value: r.getNumberFormat(t, b).format(d)
|
|
@@ -3702,10 +3723,10 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3702
3723
|
continue;
|
|
3703
3724
|
}
|
|
3704
3725
|
if (Gr(u)) {
|
|
3705
|
-
var y = u.children, g = u.value,
|
|
3706
|
-
if (!
|
|
3707
|
-
throw new
|
|
3708
|
-
var
|
|
3726
|
+
var y = u.children, g = u.value, x = i[g];
|
|
3727
|
+
if (!Zi(x))
|
|
3728
|
+
throw new zi(g, "function", s);
|
|
3729
|
+
var O = at(y, t, r, n, i, o), z = x(O.map(function(A) {
|
|
3709
3730
|
return A.value;
|
|
3710
3731
|
}));
|
|
3711
3732
|
Array.isArray(z) || (z = [z]), a.push.apply(a, z.map(function(A) {
|
|
@@ -3715,42 +3736,42 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3715
3736
|
};
|
|
3716
3737
|
}));
|
|
3717
3738
|
}
|
|
3718
|
-
if (
|
|
3739
|
+
if (kr(u)) {
|
|
3719
3740
|
var R = u.options[d] || u.options.other;
|
|
3720
3741
|
if (!R)
|
|
3721
|
-
throw new
|
|
3742
|
+
throw new fr(u.value, d, Object.keys(u.options), s);
|
|
3722
3743
|
a.push.apply(a, at(R.value, t, r, n, i));
|
|
3723
3744
|
continue;
|
|
3724
3745
|
}
|
|
3725
|
-
if (
|
|
3746
|
+
if ($r(u)) {
|
|
3726
3747
|
var R = u.options["=".concat(d)];
|
|
3727
3748
|
if (!R) {
|
|
3728
3749
|
if (!Intl.PluralRules)
|
|
3729
|
-
throw new
|
|
3750
|
+
throw new gt(`Intl.PluralRules is not available in this environment.
|
|
3730
3751
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3731
3752
|
`, Oe.MISSING_INTL_API, s);
|
|
3732
3753
|
var U = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
|
|
3733
3754
|
R = u.options[U] || u.options.other;
|
|
3734
3755
|
}
|
|
3735
3756
|
if (!R)
|
|
3736
|
-
throw new
|
|
3757
|
+
throw new fr(u.value, d, Object.keys(u.options), s);
|
|
3737
3758
|
a.push.apply(a, at(R.value, t, r, n, i, d - (u.offset || 0)));
|
|
3738
3759
|
continue;
|
|
3739
3760
|
}
|
|
3740
3761
|
}
|
|
3741
|
-
return
|
|
3762
|
+
return Wi(a);
|
|
3742
3763
|
}
|
|
3743
|
-
function
|
|
3744
|
-
return t ?
|
|
3745
|
-
return r[n] =
|
|
3764
|
+
function qi(e, t) {
|
|
3765
|
+
return t ? ie(ie(ie({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3766
|
+
return r[n] = ie(ie({}, e[n]), t[n] || {}), r;
|
|
3746
3767
|
}, {})) : e;
|
|
3747
3768
|
}
|
|
3748
|
-
function
|
|
3769
|
+
function Ji(e, t) {
|
|
3749
3770
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3750
|
-
return r[n] =
|
|
3751
|
-
},
|
|
3771
|
+
return r[n] = qi(e[n], t[n]), r;
|
|
3772
|
+
}, ie({}, e)) : e;
|
|
3752
3773
|
}
|
|
3753
|
-
function
|
|
3774
|
+
function Pt(e) {
|
|
3754
3775
|
return {
|
|
3755
3776
|
create: function() {
|
|
3756
3777
|
return {
|
|
@@ -3764,39 +3785,39 @@ function xt(e) {
|
|
|
3764
3785
|
}
|
|
3765
3786
|
};
|
|
3766
3787
|
}
|
|
3767
|
-
function
|
|
3788
|
+
function Qi(e) {
|
|
3768
3789
|
return e === void 0 && (e = {
|
|
3769
3790
|
number: {},
|
|
3770
3791
|
dateTime: {},
|
|
3771
3792
|
pluralRules: {}
|
|
3772
3793
|
}), {
|
|
3773
|
-
getNumberFormat:
|
|
3794
|
+
getNumberFormat: Et(function() {
|
|
3774
3795
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3775
3796
|
r[n] = arguments[n];
|
|
3776
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3797
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, wt([void 0], r, !1)))();
|
|
3777
3798
|
}, {
|
|
3778
|
-
cache:
|
|
3779
|
-
strategy:
|
|
3799
|
+
cache: Pt(e.number),
|
|
3800
|
+
strategy: xt.variadic
|
|
3780
3801
|
}),
|
|
3781
|
-
getDateTimeFormat:
|
|
3802
|
+
getDateTimeFormat: Et(function() {
|
|
3782
3803
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3783
3804
|
r[n] = arguments[n];
|
|
3784
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3805
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, wt([void 0], r, !1)))();
|
|
3785
3806
|
}, {
|
|
3786
|
-
cache:
|
|
3787
|
-
strategy:
|
|
3807
|
+
cache: Pt(e.dateTime),
|
|
3808
|
+
strategy: xt.variadic
|
|
3788
3809
|
}),
|
|
3789
|
-
getPluralRules:
|
|
3810
|
+
getPluralRules: Et(function() {
|
|
3790
3811
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3791
3812
|
r[n] = arguments[n];
|
|
3792
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3813
|
+
return new ((t = Intl.PluralRules).bind.apply(t, wt([void 0], r, !1)))();
|
|
3793
3814
|
}, {
|
|
3794
|
-
cache:
|
|
3795
|
-
strategy:
|
|
3815
|
+
cache: Pt(e.pluralRules),
|
|
3816
|
+
strategy: xt.variadic
|
|
3796
3817
|
})
|
|
3797
3818
|
};
|
|
3798
3819
|
}
|
|
3799
|
-
var
|
|
3820
|
+
var Yi = (
|
|
3800
3821
|
/** @class */
|
|
3801
3822
|
function() {
|
|
3802
3823
|
function e(t, r, n, i) {
|
|
@@ -3828,13 +3849,13 @@ var Ji = (
|
|
|
3828
3849
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3829
3850
|
var s = i || {};
|
|
3830
3851
|
s.formatters;
|
|
3831
|
-
var a =
|
|
3832
|
-
this.ast = e.__parse(t,
|
|
3852
|
+
var a = ai(s, ["formatters"]);
|
|
3853
|
+
this.ast = e.__parse(t, ie(ie({}, a), { locale: this.resolvedLocale }));
|
|
3833
3854
|
} else
|
|
3834
3855
|
this.ast = t;
|
|
3835
3856
|
if (!Array.isArray(this.ast))
|
|
3836
3857
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3837
|
-
this.formats =
|
|
3858
|
+
this.formats = Ji(e.formats, n), this.formatters = i && i.formatters || Qi(this.formatterCache);
|
|
3838
3859
|
}
|
|
3839
3860
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3840
3861
|
get: function() {
|
|
@@ -3847,7 +3868,7 @@ var Ji = (
|
|
|
3847
3868
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3848
3869
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3849
3870
|
}
|
|
3850
|
-
}, e.__parse =
|
|
3871
|
+
}, e.__parse = Vi, e.formats = {
|
|
3851
3872
|
number: {
|
|
3852
3873
|
integer: {
|
|
3853
3874
|
maximumFractionDigits: 0
|
|
@@ -3908,7 +3929,7 @@ var Ji = (
|
|
|
3908
3929
|
}, e;
|
|
3909
3930
|
}()
|
|
3910
3931
|
);
|
|
3911
|
-
function
|
|
3932
|
+
function Ki(e, t) {
|
|
3912
3933
|
if (t == null)
|
|
3913
3934
|
return;
|
|
3914
3935
|
if (t in e)
|
|
@@ -3929,92 +3950,92 @@ function Qi(e, t) {
|
|
|
3929
3950
|
n = void 0;
|
|
3930
3951
|
return n;
|
|
3931
3952
|
}
|
|
3932
|
-
const ue = {},
|
|
3953
|
+
const ue = {}, eo = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), Qr = (e, t) => {
|
|
3933
3954
|
if (t == null)
|
|
3934
3955
|
return;
|
|
3935
3956
|
if (t in ue && e in ue[t])
|
|
3936
3957
|
return ue[t][e];
|
|
3937
|
-
const r =
|
|
3958
|
+
const r = bt(t);
|
|
3938
3959
|
for (let n = 0; n < r.length; n++) {
|
|
3939
|
-
const i = r[n], o =
|
|
3960
|
+
const i = r[n], o = ro(i, e);
|
|
3940
3961
|
if (o)
|
|
3941
|
-
return
|
|
3962
|
+
return eo(e, t, o);
|
|
3942
3963
|
}
|
|
3943
3964
|
};
|
|
3944
|
-
let
|
|
3945
|
-
const
|
|
3946
|
-
function
|
|
3947
|
-
return
|
|
3965
|
+
let zt;
|
|
3966
|
+
const Ne = mt({});
|
|
3967
|
+
function to(e) {
|
|
3968
|
+
return zt[e] || null;
|
|
3948
3969
|
}
|
|
3949
|
-
function
|
|
3950
|
-
return e in
|
|
3970
|
+
function Yr(e) {
|
|
3971
|
+
return e in zt;
|
|
3951
3972
|
}
|
|
3952
|
-
function
|
|
3953
|
-
if (!
|
|
3973
|
+
function ro(e, t) {
|
|
3974
|
+
if (!Yr(e))
|
|
3954
3975
|
return null;
|
|
3955
|
-
const r =
|
|
3956
|
-
return
|
|
3976
|
+
const r = to(e);
|
|
3977
|
+
return Ki(r, t);
|
|
3957
3978
|
}
|
|
3958
|
-
function
|
|
3979
|
+
function no(e) {
|
|
3959
3980
|
if (e == null)
|
|
3960
3981
|
return;
|
|
3961
|
-
const t =
|
|
3982
|
+
const t = bt(e);
|
|
3962
3983
|
for (let r = 0; r < t.length; r++) {
|
|
3963
3984
|
const n = t[r];
|
|
3964
|
-
if (
|
|
3985
|
+
if (Yr(n))
|
|
3965
3986
|
return n;
|
|
3966
3987
|
}
|
|
3967
3988
|
}
|
|
3968
|
-
function
|
|
3969
|
-
delete ue[e],
|
|
3989
|
+
function Kr(e, ...t) {
|
|
3990
|
+
delete ue[e], Ne.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
|
|
3970
3991
|
}
|
|
3971
|
-
|
|
3972
|
-
[
|
|
3992
|
+
Me(
|
|
3993
|
+
[Ne],
|
|
3973
3994
|
([e]) => Object.keys(e)
|
|
3974
3995
|
);
|
|
3975
|
-
|
|
3996
|
+
Ne.subscribe((e) => zt = e);
|
|
3976
3997
|
const lt = {};
|
|
3977
|
-
function
|
|
3998
|
+
function io(e, t) {
|
|
3978
3999
|
lt[e].delete(t), lt[e].size === 0 && delete lt[e];
|
|
3979
4000
|
}
|
|
3980
|
-
function
|
|
4001
|
+
function en(e) {
|
|
3981
4002
|
return lt[e];
|
|
3982
4003
|
}
|
|
3983
|
-
function
|
|
3984
|
-
return
|
|
3985
|
-
const r =
|
|
4004
|
+
function oo(e) {
|
|
4005
|
+
return bt(e).map((t) => {
|
|
4006
|
+
const r = en(t);
|
|
3986
4007
|
return [t, r ? [...r] : []];
|
|
3987
4008
|
}).filter(([, t]) => t.length > 0);
|
|
3988
4009
|
}
|
|
3989
|
-
function
|
|
3990
|
-
return e == null ? !1 :
|
|
4010
|
+
function Gt(e) {
|
|
4011
|
+
return e == null ? !1 : bt(e).some(
|
|
3991
4012
|
(t) => {
|
|
3992
4013
|
var r;
|
|
3993
|
-
return (r =
|
|
4014
|
+
return (r = en(t)) == null ? void 0 : r.size;
|
|
3994
4015
|
}
|
|
3995
4016
|
);
|
|
3996
4017
|
}
|
|
3997
|
-
function
|
|
4018
|
+
function so(e, t) {
|
|
3998
4019
|
return Promise.all(
|
|
3999
|
-
t.map((n) => (
|
|
4000
|
-
).then((n) =>
|
|
4001
|
-
}
|
|
4002
|
-
const
|
|
4003
|
-
function
|
|
4004
|
-
if (!
|
|
4005
|
-
return e in
|
|
4006
|
-
const t =
|
|
4007
|
-
return
|
|
4020
|
+
t.map((n) => (io(e, n), n().then((i) => i.default || i)))
|
|
4021
|
+
).then((n) => Kr(e, ...n));
|
|
4022
|
+
}
|
|
4023
|
+
const Ge = {};
|
|
4024
|
+
function tn(e) {
|
|
4025
|
+
if (!Gt(e))
|
|
4026
|
+
return e in Ge ? Ge[e] : Promise.resolve();
|
|
4027
|
+
const t = oo(e);
|
|
4028
|
+
return Ge[e] = Promise.all(
|
|
4008
4029
|
t.map(
|
|
4009
|
-
([r, n]) =>
|
|
4030
|
+
([r, n]) => so(r, n)
|
|
4010
4031
|
)
|
|
4011
4032
|
).then(() => {
|
|
4012
|
-
if (
|
|
4013
|
-
return
|
|
4014
|
-
delete
|
|
4015
|
-
}),
|
|
4033
|
+
if (Gt(e))
|
|
4034
|
+
return tn(e);
|
|
4035
|
+
delete Ge[e];
|
|
4036
|
+
}), Ge[e];
|
|
4016
4037
|
}
|
|
4017
|
-
const
|
|
4038
|
+
const ao = {
|
|
4018
4039
|
number: {
|
|
4019
4040
|
scientific: { notation: "scientific" },
|
|
4020
4041
|
engineering: { notation: "engineering" },
|
|
@@ -4043,135 +4064,135 @@ const oo = {
|
|
|
4043
4064
|
timeZoneName: "short"
|
|
4044
4065
|
}
|
|
4045
4066
|
}
|
|
4046
|
-
},
|
|
4067
|
+
}, lo = {
|
|
4047
4068
|
fallbackLocale: null,
|
|
4048
4069
|
loadingDelay: 200,
|
|
4049
|
-
formats:
|
|
4070
|
+
formats: ao,
|
|
4050
4071
|
warnOnMissingMessages: !0,
|
|
4051
4072
|
handleMissingMessage: void 0,
|
|
4052
4073
|
ignoreTag: !0
|
|
4053
|
-
},
|
|
4054
|
-
function
|
|
4055
|
-
return
|
|
4074
|
+
}, uo = lo;
|
|
4075
|
+
function Ce() {
|
|
4076
|
+
return uo;
|
|
4056
4077
|
}
|
|
4057
|
-
const
|
|
4058
|
-
var
|
|
4078
|
+
const Tt = mt(!1);
|
|
4079
|
+
var co = Object.defineProperty, ho = Object.defineProperties, fo = Object.getOwnPropertyDescriptors, dr = Object.getOwnPropertySymbols, mo = Object.prototype.hasOwnProperty, po = Object.prototype.propertyIsEnumerable, mr = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, go = (e, t) => {
|
|
4059
4080
|
for (var r in t || (t = {}))
|
|
4060
|
-
|
|
4061
|
-
if (
|
|
4062
|
-
for (var r of
|
|
4063
|
-
|
|
4081
|
+
mo.call(t, r) && mr(e, r, t[r]);
|
|
4082
|
+
if (dr)
|
|
4083
|
+
for (var r of dr(t))
|
|
4084
|
+
po.call(t, r) && mr(e, r, t[r]);
|
|
4064
4085
|
return e;
|
|
4065
|
-
},
|
|
4066
|
-
let
|
|
4067
|
-
const
|
|
4068
|
-
function
|
|
4086
|
+
}, bo = (e, t) => ho(e, fo(t));
|
|
4087
|
+
let jt;
|
|
4088
|
+
const ht = mt(null);
|
|
4089
|
+
function pr(e) {
|
|
4069
4090
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4070
4091
|
}
|
|
4071
|
-
function
|
|
4072
|
-
const r =
|
|
4073
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4092
|
+
function bt(e, t = Ce().fallbackLocale) {
|
|
4093
|
+
const r = pr(e);
|
|
4094
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...pr(t)])] : r;
|
|
4074
4095
|
}
|
|
4075
4096
|
function ve() {
|
|
4076
|
-
return
|
|
4097
|
+
return jt ?? void 0;
|
|
4077
4098
|
}
|
|
4078
|
-
|
|
4079
|
-
|
|
4099
|
+
ht.subscribe((e) => {
|
|
4100
|
+
jt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4080
4101
|
});
|
|
4081
|
-
const
|
|
4082
|
-
if (e &&
|
|
4083
|
-
const { loadingDelay: t } =
|
|
4102
|
+
const vo = (e) => {
|
|
4103
|
+
if (e && no(e) && Gt(e)) {
|
|
4104
|
+
const { loadingDelay: t } = Ce();
|
|
4084
4105
|
let r;
|
|
4085
4106
|
return typeof window < "u" && ve() != null && t ? r = window.setTimeout(
|
|
4086
|
-
() =>
|
|
4107
|
+
() => Tt.set(!0),
|
|
4087
4108
|
t
|
|
4088
|
-
) :
|
|
4089
|
-
|
|
4109
|
+
) : Tt.set(!0), tn(e).then(() => {
|
|
4110
|
+
ht.set(e);
|
|
4090
4111
|
}).finally(() => {
|
|
4091
|
-
clearTimeout(r),
|
|
4112
|
+
clearTimeout(r), Tt.set(!1);
|
|
4092
4113
|
});
|
|
4093
4114
|
}
|
|
4094
|
-
return
|
|
4095
|
-
}, ce =
|
|
4096
|
-
set:
|
|
4097
|
-
}),
|
|
4115
|
+
return ht.set(e);
|
|
4116
|
+
}, ce = bo(go({}, ht), {
|
|
4117
|
+
set: vo
|
|
4118
|
+
}), vt = (e) => {
|
|
4098
4119
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4099
4120
|
return (n) => {
|
|
4100
4121
|
const i = JSON.stringify(n);
|
|
4101
4122
|
return i in t ? t[i] : t[i] = e(n);
|
|
4102
4123
|
};
|
|
4103
4124
|
};
|
|
4104
|
-
var
|
|
4125
|
+
var yo = Object.defineProperty, ft = Object.getOwnPropertySymbols, rn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable, gr = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xt = (e, t) => {
|
|
4105
4126
|
for (var r in t || (t = {}))
|
|
4106
|
-
|
|
4107
|
-
if (
|
|
4108
|
-
for (var r of
|
|
4109
|
-
|
|
4127
|
+
rn.call(t, r) && gr(e, r, t[r]);
|
|
4128
|
+
if (ft)
|
|
4129
|
+
for (var r of ft(t))
|
|
4130
|
+
nn.call(t, r) && gr(e, r, t[r]);
|
|
4110
4131
|
return e;
|
|
4111
|
-
},
|
|
4132
|
+
}, Re = (e, t) => {
|
|
4112
4133
|
var r = {};
|
|
4113
4134
|
for (var n in e)
|
|
4114
|
-
|
|
4115
|
-
if (e != null &&
|
|
4116
|
-
for (var n of
|
|
4117
|
-
t.indexOf(n) < 0 &&
|
|
4135
|
+
rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4136
|
+
if (e != null && ft)
|
|
4137
|
+
for (var n of ft(e))
|
|
4138
|
+
t.indexOf(n) < 0 && nn.call(e, n) && (r[n] = e[n]);
|
|
4118
4139
|
return r;
|
|
4119
4140
|
};
|
|
4120
|
-
const
|
|
4121
|
-
const { formats: r } =
|
|
4141
|
+
const Xe = (e, t) => {
|
|
4142
|
+
const { formats: r } = Ce();
|
|
4122
4143
|
if (e in r && t in r[e])
|
|
4123
4144
|
return r[e][t];
|
|
4124
4145
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4125
|
-
},
|
|
4146
|
+
}, _o = vt(
|
|
4126
4147
|
(e) => {
|
|
4127
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4148
|
+
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4128
4149
|
if (r == null)
|
|
4129
4150
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4130
|
-
return n && (i =
|
|
4151
|
+
return n && (i = Xe("number", n)), new Intl.NumberFormat(r, i);
|
|
4131
4152
|
}
|
|
4132
|
-
),
|
|
4153
|
+
), wo = vt(
|
|
4133
4154
|
(e) => {
|
|
4134
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4155
|
+
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4135
4156
|
if (r == null)
|
|
4136
4157
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4137
|
-
return n ? i =
|
|
4158
|
+
return n ? i = Xe("date", n) : Object.keys(i).length === 0 && (i = Xe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4138
4159
|
}
|
|
4139
|
-
),
|
|
4160
|
+
), Eo = vt(
|
|
4140
4161
|
(e) => {
|
|
4141
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4162
|
+
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4142
4163
|
if (r == null)
|
|
4143
4164
|
throw new Error(
|
|
4144
4165
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4145
4166
|
);
|
|
4146
|
-
return n ? i =
|
|
4167
|
+
return n ? i = Xe("time", n) : Object.keys(i).length === 0 && (i = Xe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4147
4168
|
}
|
|
4148
|
-
),
|
|
4169
|
+
), xo = (e = {}) => {
|
|
4149
4170
|
var t = e, {
|
|
4150
4171
|
locale: r = ve()
|
|
4151
|
-
} = t, n =
|
|
4172
|
+
} = t, n = Re(t, [
|
|
4152
4173
|
"locale"
|
|
4153
4174
|
]);
|
|
4154
|
-
return
|
|
4155
|
-
},
|
|
4175
|
+
return _o(Xt({ locale: r }, n));
|
|
4176
|
+
}, So = (e = {}) => {
|
|
4156
4177
|
var t = e, {
|
|
4157
4178
|
locale: r = ve()
|
|
4158
|
-
} = t, n =
|
|
4179
|
+
} = t, n = Re(t, [
|
|
4159
4180
|
"locale"
|
|
4160
4181
|
]);
|
|
4161
|
-
return
|
|
4162
|
-
},
|
|
4182
|
+
return wo(Xt({ locale: r }, n));
|
|
4183
|
+
}, Po = (e = {}) => {
|
|
4163
4184
|
var t = e, {
|
|
4164
4185
|
locale: r = ve()
|
|
4165
|
-
} = t, n =
|
|
4186
|
+
} = t, n = Re(t, [
|
|
4166
4187
|
"locale"
|
|
4167
4188
|
]);
|
|
4168
|
-
return
|
|
4169
|
-
},
|
|
4189
|
+
return Eo(Xt({ locale: r }, n));
|
|
4190
|
+
}, To = vt(
|
|
4170
4191
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4171
|
-
(e, t = ve()) => new
|
|
4172
|
-
ignoreTag:
|
|
4192
|
+
(e, t = ve()) => new Yi(e, t, Ce().formats, {
|
|
4193
|
+
ignoreTag: Ce().ignoreTag
|
|
4173
4194
|
})
|
|
4174
|
-
),
|
|
4195
|
+
), Ho = (e, t = {}) => {
|
|
4175
4196
|
var r, n, i, o;
|
|
4176
4197
|
let s = t;
|
|
4177
4198
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4184,9 +4205,9 @@ const We = (e, t) => {
|
|
|
4184
4205
|
throw new Error(
|
|
4185
4206
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4186
4207
|
);
|
|
4187
|
-
let u =
|
|
4208
|
+
let u = Qr(e, c);
|
|
4188
4209
|
if (!u)
|
|
4189
|
-
u = (o = (i = (n = (r =
|
|
4210
|
+
u = (o = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4190
4211
|
else if (typeof u != "string")
|
|
4191
4212
|
return console.warn(
|
|
4192
4213
|
`[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.`
|
|
@@ -4195,7 +4216,7 @@ const We = (e, t) => {
|
|
|
4195
4216
|
return u;
|
|
4196
4217
|
let f = u;
|
|
4197
4218
|
try {
|
|
4198
|
-
f =
|
|
4219
|
+
f = To(u, c).format(a);
|
|
4199
4220
|
} catch (d) {
|
|
4200
4221
|
d instanceof Error && console.warn(
|
|
4201
4222
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4203,25 +4224,25 @@ const We = (e, t) => {
|
|
|
4203
4224
|
);
|
|
4204
4225
|
}
|
|
4205
4226
|
return f;
|
|
4206
|
-
},
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4227
|
+
}, Bo = (e, t) => Po(t).format(e), Ao = (e, t) => So(t).format(e), Io = (e, t) => xo(t).format(e), Oo = (e, t = ve()) => Qr(e, t), Co = Me([ce, Ne], () => Ho);
|
|
4228
|
+
Me([ce], () => Bo);
|
|
4229
|
+
Me([ce], () => Ao);
|
|
4230
|
+
Me([ce], () => Io);
|
|
4231
|
+
Me([ce, Ne], () => Oo);
|
|
4211
4232
|
window.emWidgets = { topic: jn };
|
|
4212
|
-
const
|
|
4213
|
-
function
|
|
4233
|
+
const Lo = (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));
|
|
4234
|
+
function Mo({ withLocale: e, translations: t }) {
|
|
4214
4235
|
ce.subscribe((r) => {
|
|
4215
|
-
r == null && (
|
|
4236
|
+
r == null && (Ne.set(t), ce.set(e));
|
|
4216
4237
|
});
|
|
4217
4238
|
}
|
|
4218
|
-
function
|
|
4219
|
-
|
|
4239
|
+
function br(e, t) {
|
|
4240
|
+
Kr(e, t);
|
|
4220
4241
|
}
|
|
4221
|
-
function
|
|
4242
|
+
function No(e) {
|
|
4222
4243
|
ce.set(e);
|
|
4223
4244
|
}
|
|
4224
|
-
const
|
|
4245
|
+
const vr = {
|
|
4225
4246
|
en: {
|
|
4226
4247
|
loginTitle: "Welcome",
|
|
4227
4248
|
loginSubtitle: "Don't have an account yet?",
|
|
@@ -4366,13 +4387,13 @@ const gr = {
|
|
|
4366
4387
|
successMessage: "Login successful"
|
|
4367
4388
|
}
|
|
4368
4389
|
};
|
|
4369
|
-
function
|
|
4390
|
+
function Ro(e, t) {
|
|
4370
4391
|
if (e) {
|
|
4371
4392
|
const r = document.createElement("style");
|
|
4372
4393
|
r.innerHTML = t, e.appendChild(r);
|
|
4373
4394
|
}
|
|
4374
4395
|
}
|
|
4375
|
-
function
|
|
4396
|
+
function Uo(e, t) {
|
|
4376
4397
|
const r = new URL(t);
|
|
4377
4398
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4378
4399
|
const i = document.createElement("style");
|
|
@@ -4381,7 +4402,7 @@ function No(e, t) {
|
|
|
4381
4402
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4382
4403
|
});
|
|
4383
4404
|
}
|
|
4384
|
-
function
|
|
4405
|
+
function Fo(e, t, r) {
|
|
4385
4406
|
if (window.emMessageBus) {
|
|
4386
4407
|
const n = document.createElement("style");
|
|
4387
4408
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4401,18 +4422,18 @@ if (typeof window < "u") {
|
|
|
4401
4422
|
}
|
|
4402
4423
|
};
|
|
4403
4424
|
};
|
|
4404
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4425
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-DJahVXQg.js").then(({ default: t }) => {
|
|
4405
4426
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4406
4427
|
});
|
|
4407
4428
|
}
|
|
4408
|
-
function
|
|
4409
|
-
|
|
4429
|
+
function Do(e) {
|
|
4430
|
+
un(e, "svelte-7c22cn", '.grecaptcha-badge{opacity:0}input,select{font-family:inherit}.PlayerLoginFormWrapper{height:100%;border-radius:var(--emw--border-radius-medium, 15px)}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-light, 300);padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border-radius:15px;border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.UserContainer input:focus,.PasswordContainer input:focus,.CaptchaContainer input:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--color-error, var(--emw--color-error, #ed0909));background:var(--emw--color-pale, #FBECF4);outline:none;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, var(--emw--color-error, #ed0909))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.SignInButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-error, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset;border-radius:var(--emw--border-radius-medium, 15px)}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
4410
4431
|
}
|
|
4411
|
-
function
|
|
4432
|
+
function yr(e) {
|
|
4412
4433
|
let t, r;
|
|
4413
4434
|
return {
|
|
4414
4435
|
c() {
|
|
4415
|
-
t =
|
|
4436
|
+
t = E("script"), qt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4416
4437
|
e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
|
|
4417
4438
|
},
|
|
4418
4439
|
m(n, i) {
|
|
@@ -4420,7 +4441,7 @@ function br(e) {
|
|
|
4420
4441
|
},
|
|
4421
4442
|
p(n, i) {
|
|
4422
4443
|
i[0] & /*captchakey*/
|
|
4423
|
-
2 && !
|
|
4444
|
+
2 && !qt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4424
4445
|
n[1]) && h(t, "src", r);
|
|
4425
4446
|
},
|
|
4426
4447
|
d(n) {
|
|
@@ -4428,18 +4449,18 @@ function br(e) {
|
|
|
4428
4449
|
}
|
|
4429
4450
|
};
|
|
4430
4451
|
}
|
|
4431
|
-
function
|
|
4452
|
+
function ko(e) {
|
|
4432
4453
|
let t, r, n;
|
|
4433
4454
|
function i(a, c) {
|
|
4434
4455
|
return (
|
|
4435
4456
|
/*startSmsValidation*/
|
|
4436
|
-
a[21] ?
|
|
4457
|
+
a[21] ? jo : Go
|
|
4437
4458
|
);
|
|
4438
4459
|
}
|
|
4439
4460
|
let o = i(e), s = o(e);
|
|
4440
4461
|
return {
|
|
4441
4462
|
c() {
|
|
4442
|
-
t =
|
|
4463
|
+
t = E("div"), r = E("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
|
|
4443
4464
|
(e[11] ? "FormMobileContainer" : ""));
|
|
4444
4465
|
},
|
|
4445
4466
|
m(a, c) {
|
|
@@ -4455,11 +4476,11 @@ function Fo(e) {
|
|
|
4455
4476
|
}
|
|
4456
4477
|
};
|
|
4457
4478
|
}
|
|
4458
|
-
function
|
|
4479
|
+
function $o(e) {
|
|
4459
4480
|
let t;
|
|
4460
4481
|
return {
|
|
4461
4482
|
c() {
|
|
4462
|
-
t =
|
|
4483
|
+
t = E("div"), t.innerHTML = '<div class="ModalLoader"></div>', h(t, "class", "ModalLoaderWrapper");
|
|
4463
4484
|
},
|
|
4464
4485
|
m(r, n) {
|
|
4465
4486
|
L(r, t, n);
|
|
@@ -4470,7 +4491,7 @@ function Do(e) {
|
|
|
4470
4491
|
}
|
|
4471
4492
|
};
|
|
4472
4493
|
}
|
|
4473
|
-
function
|
|
4494
|
+
function Go(e) {
|
|
4474
4495
|
let t, r, n = (
|
|
4475
4496
|
/*$_*/
|
|
4476
4497
|
e[22]("loginTitle") + ""
|
|
@@ -4480,158 +4501,158 @@ function ko(e) {
|
|
|
4480
4501
|
), c, l, u, f = (
|
|
4481
4502
|
/*$_*/
|
|
4482
4503
|
e[22]("loginSubtitleRegister") + ""
|
|
4483
|
-
), d, b, y, g,
|
|
4504
|
+
), d, b, y, g, x, O, z = (
|
|
4484
4505
|
/*$_*/
|
|
4485
4506
|
e[22]("loginUsername") + ""
|
|
4486
|
-
), R, U, A, re, H,
|
|
4507
|
+
), R, U, A, re, H, oe, he, J, le, B, ne, X = (
|
|
4487
4508
|
/*$_*/
|
|
4488
4509
|
e[22]("loginPassword") + ""
|
|
4489
|
-
),
|
|
4510
|
+
), Ue, Ze, fe, de, M, ye, qe, _e, we, me, Fe, Ee, Q, pe = (
|
|
4490
4511
|
/*$_*/
|
|
4491
4512
|
e[22]("loginButton") + ""
|
|
4492
4513
|
), xe, Je, ge, be = (
|
|
4493
4514
|
/*$_*/
|
|
4494
4515
|
e[22]("loginForgotPassword") + ""
|
|
4495
|
-
),
|
|
4516
|
+
), De, ke, Qe, F = (
|
|
4496
4517
|
/*invalidName*/
|
|
4497
|
-
e[14] &&
|
|
4518
|
+
e[14] && _r(e)
|
|
4498
4519
|
);
|
|
4499
|
-
function Ye(v,
|
|
4520
|
+
function Ye(v, S) {
|
|
4500
4521
|
return (
|
|
4501
4522
|
/*isPasswordVisible*/
|
|
4502
|
-
v[19] ?
|
|
4523
|
+
v[19] ? zo : Vo
|
|
4503
4524
|
);
|
|
4504
4525
|
}
|
|
4505
4526
|
let Se = Ye(e), Y = Se(e), D = (
|
|
4506
4527
|
/*invalidPassword*/
|
|
4507
4528
|
e[15] && /*simplepasswordvalidation*/
|
|
4508
|
-
e[2] !== "true" &&
|
|
4529
|
+
e[2] !== "true" && wr(e)
|
|
4509
4530
|
), k = (
|
|
4510
4531
|
/*invalidPassword*/
|
|
4511
4532
|
e[15] && /*simplepasswordvalidation*/
|
|
4512
|
-
e[2] === "true" &&
|
|
4513
|
-
),
|
|
4533
|
+
e[2] === "true" && Er(e)
|
|
4534
|
+
), $ = (
|
|
4514
4535
|
/*errorMessage*/
|
|
4515
|
-
e[16] &&
|
|
4536
|
+
e[16] && xr(e)
|
|
4516
4537
|
);
|
|
4517
4538
|
return {
|
|
4518
4539
|
c() {
|
|
4519
|
-
t =
|
|
4520
|
-
e[6] ? "username email" : "off"), H.required = !0, h(
|
|
4540
|
+
t = E("div"), r = E("h4"), i = N(n), o = j(), s = E("p"), c = N(a), l = j(), u = E("span"), d = N(f), b = j(), y = E("div"), g = E("form"), x = E("div"), O = E("label"), R = N(z), U = N(":"), A = E("span"), A.textContent = "*", re = j(), H = E("input"), he = j(), F && F.c(), le = j(), B = E("div"), ne = E("label"), Ue = N(X), Ze = N(":"), fe = E("span"), fe.textContent = "*", de = j(), M = E("input"), qe = j(), Y.c(), _e = j(), D && D.c(), we = j(), k && k.c(), Fe = j(), $ && $.c(), Ee = j(), Q = E("button"), xe = N(pe), Je = j(), ge = E("button"), De = N(be), h(r, "class", "FormHeaderTitle"), h(u, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(A, "class", "FormRequired"), h(O, "for", "username"), h(H, "type", "text"), h(H, "id", "email"), h(H, "name", "email"), h(H, "autocomplete", oe = /*savecredentials*/
|
|
4541
|
+
e[6] ? "username email" : "off"), H.required = !0, h(x, "class", J = "UserContainer " + /*invalidName*/
|
|
4521
4542
|
(e[14] ? "InvalidField" : "")), h(fe, "class", "FormRequired"), h(ne, "for", "current-password"), h(M, "type", "password"), h(M, "name", "current-password"), h(M, "id", "current-password"), h(M, "autocomplete", ye = /*savecredentials*/
|
|
4522
4543
|
e[6] ? "current-password" : "off"), h(M, "aria-describedby", "password-constraints"), M.required = !0, h(B, "class", me = "PasswordContainer " + /*invalidPassword*/
|
|
4523
4544
|
(e[15] ? "InvalidField" : "")), h(Q, "class", "SignInButton"), Q.disabled = /*isFormDataInvalid*/
|
|
4524
4545
|
e[20], h(Q, "id", "signin-button"), h(ge, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
|
|
4525
4546
|
},
|
|
4526
|
-
m(v,
|
|
4527
|
-
L(v, t,
|
|
4547
|
+
m(v, S) {
|
|
4548
|
+
L(v, t, S), m(t, r), m(r, i), m(t, o), m(t, s), m(s, c), m(s, l), m(s, u), m(u, d), L(v, b, S), L(v, y, S), m(y, g), m(g, x), m(x, O), m(O, R), m(O, U), m(O, A), m(x, re), m(x, H), rt(
|
|
4528
4549
|
H,
|
|
4529
4550
|
/*userValue*/
|
|
4530
4551
|
e[12]
|
|
4531
|
-
), m(
|
|
4552
|
+
), m(x, he), F && F.m(x, null), m(g, le), m(g, B), m(B, ne), m(ne, Ue), m(ne, Ze), m(ne, fe), m(B, de), m(B, M), rt(
|
|
4532
4553
|
M,
|
|
4533
4554
|
/*userPassword*/
|
|
4534
4555
|
e[13]
|
|
4535
|
-
), e[36](M), m(B, qe), Y.m(B, null), m(B, _e), D && D.m(B, null), m(B, we), k && k.m(B, null), m(g,
|
|
4536
|
-
|
|
4556
|
+
), e[36](M), m(B, qe), Y.m(B, null), m(B, _e), D && D.m(B, null), m(B, we), k && k.m(B, null), m(g, Fe), $ && $.m(g, null), m(g, Ee), m(g, Q), m(Q, xe), m(g, Je), m(g, ge), m(ge, De), ke || (Qe = [
|
|
4557
|
+
se(
|
|
4537
4558
|
u,
|
|
4538
4559
|
"click",
|
|
4539
4560
|
/*click_handler*/
|
|
4540
4561
|
e[33]
|
|
4541
4562
|
),
|
|
4542
|
-
|
|
4563
|
+
se(
|
|
4543
4564
|
H,
|
|
4544
4565
|
"input",
|
|
4545
4566
|
/*input0_input_handler*/
|
|
4546
4567
|
e[34]
|
|
4547
4568
|
),
|
|
4548
|
-
|
|
4569
|
+
se(
|
|
4549
4570
|
H,
|
|
4550
4571
|
"input",
|
|
4551
4572
|
/*validateUserName*/
|
|
4552
4573
|
e[28]
|
|
4553
4574
|
),
|
|
4554
|
-
|
|
4575
|
+
se(
|
|
4555
4576
|
M,
|
|
4556
4577
|
"input",
|
|
4557
4578
|
/*input1_input_handler*/
|
|
4558
4579
|
e[35]
|
|
4559
4580
|
),
|
|
4560
|
-
|
|
4581
|
+
se(
|
|
4561
4582
|
M,
|
|
4562
4583
|
"input",
|
|
4563
4584
|
/*validatePassword*/
|
|
4564
4585
|
e[29]
|
|
4565
4586
|
),
|
|
4566
|
-
|
|
4587
|
+
se(
|
|
4567
4588
|
Q,
|
|
4568
4589
|
"click",
|
|
4569
4590
|
/*click_handler_3*/
|
|
4570
4591
|
e[39]
|
|
4571
4592
|
),
|
|
4572
|
-
|
|
4593
|
+
se(
|
|
4573
4594
|
ge,
|
|
4574
4595
|
"click",
|
|
4575
4596
|
/*click_handler_4*/
|
|
4576
4597
|
e[40]
|
|
4577
4598
|
)
|
|
4578
|
-
],
|
|
4599
|
+
], ke = !0);
|
|
4579
4600
|
},
|
|
4580
|
-
p(v,
|
|
4581
|
-
|
|
4601
|
+
p(v, S) {
|
|
4602
|
+
S[0] & /*$_*/
|
|
4582
4603
|
4194304 && n !== (n = /*$_*/
|
|
4583
|
-
v[22]("loginTitle") + "") && te(i, n),
|
|
4604
|
+
v[22]("loginTitle") + "") && te(i, n), S[0] & /*$_*/
|
|
4584
4605
|
4194304 && a !== (a = /*$_*/
|
|
4585
|
-
v[22]("loginSubtitle") + "") && te(c, a),
|
|
4606
|
+
v[22]("loginSubtitle") + "") && te(c, a), S[0] & /*$_*/
|
|
4586
4607
|
4194304 && f !== (f = /*$_*/
|
|
4587
|
-
v[22]("loginSubtitleRegister") + "") && te(d, f),
|
|
4608
|
+
v[22]("loginSubtitleRegister") + "") && te(d, f), S[0] & /*$_*/
|
|
4588
4609
|
4194304 && z !== (z = /*$_*/
|
|
4589
|
-
v[22]("loginUsername") + "") && te(R, z),
|
|
4590
|
-
64 &&
|
|
4591
|
-
v[6] ? "username email" : "off") && h(H, "autocomplete",
|
|
4610
|
+
v[22]("loginUsername") + "") && te(R, z), S[0] & /*savecredentials*/
|
|
4611
|
+
64 && oe !== (oe = /*savecredentials*/
|
|
4612
|
+
v[6] ? "username email" : "off") && h(H, "autocomplete", oe), S[0] & /*userValue*/
|
|
4592
4613
|
4096 && H.value !== /*userValue*/
|
|
4593
4614
|
v[12] && rt(
|
|
4594
4615
|
H,
|
|
4595
4616
|
/*userValue*/
|
|
4596
4617
|
v[12]
|
|
4597
4618
|
), /*invalidName*/
|
|
4598
|
-
v[14] ? F ? F.p(v,
|
|
4619
|
+
v[14] ? F ? F.p(v, S) : (F = _r(v), F.c(), F.m(x, null)) : F && (F.d(1), F = null), S[0] & /*invalidName*/
|
|
4599
4620
|
16384 && J !== (J = "UserContainer " + /*invalidName*/
|
|
4600
|
-
(v[14] ? "InvalidField" : "")) && h(
|
|
4621
|
+
(v[14] ? "InvalidField" : "")) && h(x, "class", J), S[0] & /*$_*/
|
|
4601
4622
|
4194304 && X !== (X = /*$_*/
|
|
4602
|
-
v[22]("loginPassword") + "") && te(
|
|
4623
|
+
v[22]("loginPassword") + "") && te(Ue, X), S[0] & /*savecredentials*/
|
|
4603
4624
|
64 && ye !== (ye = /*savecredentials*/
|
|
4604
|
-
v[6] ? "current-password" : "off") && h(M, "autocomplete", ye),
|
|
4625
|
+
v[6] ? "current-password" : "off") && h(M, "autocomplete", ye), S[0] & /*userPassword*/
|
|
4605
4626
|
8192 && M.value !== /*userPassword*/
|
|
4606
4627
|
v[13] && rt(
|
|
4607
4628
|
M,
|
|
4608
4629
|
/*userPassword*/
|
|
4609
4630
|
v[13]
|
|
4610
|
-
), Se === (Se = Ye(v)) && Y ? Y.p(v,
|
|
4631
|
+
), Se === (Se = Ye(v)) && Y ? Y.p(v, S) : (Y.d(1), Y = Se(v), Y && (Y.c(), Y.m(B, _e))), /*invalidPassword*/
|
|
4611
4632
|
v[15] && /*simplepasswordvalidation*/
|
|
4612
|
-
v[2] !== "true" ? D ? D.p(v,
|
|
4633
|
+
v[2] !== "true" ? D ? D.p(v, S) : (D = wr(v), D.c(), D.m(B, we)) : D && (D.d(1), D = null), /*invalidPassword*/
|
|
4613
4634
|
v[15] && /*simplepasswordvalidation*/
|
|
4614
|
-
v[2] === "true" ? k ? k.p(v,
|
|
4635
|
+
v[2] === "true" ? k ? k.p(v, S) : (k = Er(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), S[0] & /*invalidPassword*/
|
|
4615
4636
|
32768 && me !== (me = "PasswordContainer " + /*invalidPassword*/
|
|
4616
4637
|
(v[15] ? "InvalidField" : "")) && h(B, "class", me), /*errorMessage*/
|
|
4617
|
-
v[16] ?
|
|
4638
|
+
v[16] ? $ ? $.p(v, S) : ($ = xr(v), $.c(), $.m(g, Ee)) : $ && ($.d(1), $ = null), S[0] & /*$_*/
|
|
4618
4639
|
4194304 && pe !== (pe = /*$_*/
|
|
4619
|
-
v[22]("loginButton") + "") && te(xe, pe),
|
|
4640
|
+
v[22]("loginButton") + "") && te(xe, pe), S[0] & /*isFormDataInvalid*/
|
|
4620
4641
|
1048576 && (Q.disabled = /*isFormDataInvalid*/
|
|
4621
|
-
v[20]),
|
|
4642
|
+
v[20]), S[0] & /*$_*/
|
|
4622
4643
|
4194304 && be !== (be = /*$_*/
|
|
4623
|
-
v[22]("loginForgotPassword") + "") && te(
|
|
4644
|
+
v[22]("loginForgotPassword") + "") && te(De, be);
|
|
4624
4645
|
},
|
|
4625
4646
|
d(v) {
|
|
4626
|
-
v && (I(t), I(b), I(y)), F && F.d(), e[36](null), Y.d(), D && D.d(), k && k.d(),
|
|
4647
|
+
v && (I(t), I(b), I(y)), F && F.d(), e[36](null), Y.d(), D && D.d(), k && k.d(), $ && $.d(), ke = !1, Le(Qe);
|
|
4627
4648
|
}
|
|
4628
4649
|
};
|
|
4629
4650
|
}
|
|
4630
|
-
function
|
|
4651
|
+
function jo(e) {
|
|
4631
4652
|
let t;
|
|
4632
4653
|
return {
|
|
4633
4654
|
c() {
|
|
4634
|
-
t =
|
|
4655
|
+
t = E("general-player-sms-verification-form"), W(
|
|
4635
4656
|
t,
|
|
4636
4657
|
"endpoint",
|
|
4637
4658
|
/*endpoint*/
|
|
@@ -4721,14 +4742,14 @@ function Go(e) {
|
|
|
4721
4742
|
}
|
|
4722
4743
|
};
|
|
4723
4744
|
}
|
|
4724
|
-
function
|
|
4745
|
+
function _r(e) {
|
|
4725
4746
|
let t, r = (
|
|
4726
4747
|
/*$_*/
|
|
4727
4748
|
e[22]("loginUsernameError") + ""
|
|
4728
4749
|
), n;
|
|
4729
4750
|
return {
|
|
4730
4751
|
c() {
|
|
4731
|
-
t =
|
|
4752
|
+
t = E("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4732
4753
|
},
|
|
4733
4754
|
m(i, o) {
|
|
4734
4755
|
L(i, t, o), m(t, n);
|
|
@@ -4743,14 +4764,14 @@ function vr(e) {
|
|
|
4743
4764
|
}
|
|
4744
4765
|
};
|
|
4745
4766
|
}
|
|
4746
|
-
function
|
|
4767
|
+
function Vo(e) {
|
|
4747
4768
|
let t, r, n, i, o, s, a, c, l;
|
|
4748
4769
|
return {
|
|
4749
4770
|
c() {
|
|
4750
|
-
t =
|
|
4771
|
+
t = C("svg"), r = C("defs"), n = C("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = C("g"), s = C("path"), a = C("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");
|
|
4751
4772
|
},
|
|
4752
4773
|
m(u, f) {
|
|
4753
|
-
L(u, t, f), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), c || (l =
|
|
4774
|
+
L(u, t, f), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), c || (l = se(
|
|
4754
4775
|
t,
|
|
4755
4776
|
"click",
|
|
4756
4777
|
/*click_handler_2*/
|
|
@@ -4763,14 +4784,14 @@ function $o(e) {
|
|
|
4763
4784
|
}
|
|
4764
4785
|
};
|
|
4765
4786
|
}
|
|
4766
|
-
function
|
|
4787
|
+
function zo(e) {
|
|
4767
4788
|
let t, r, n, i, o, s, a, c, l, u, f, d, b, y, g;
|
|
4768
4789
|
return {
|
|
4769
4790
|
c() {
|
|
4770
|
-
t =
|
|
4791
|
+
t = C("svg"), r = C("defs"), n = C("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = C("g"), s = C("circle"), a = C("g"), c = C("path"), l = C("path"), u = C("g"), f = C("path"), d = C("path"), b = C("rect"), h(s, "class", "a"), h(s, "cx", "0.05"), h(s, "cy", "0.05"), h(s, "r", "0.05"), h(s, "transform", "translate(121.017 31.148)"), h(c, "class", "a"), h(c, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(c, "transform", "translate(-142.164 -39.123)"), h(l, "class", "a"), h(l, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), h(l, "transform", "translate(-136.413 -42.068)"), h(a, "transform", "translate(117.499 27.37)"), h(f, "class", "a"), h(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), h(f, "transform", "translate(-110.856 -33.157)"), h(d, "class", "a"), h(d, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), h(d, "transform", "translate(-130.743 -29.617)"), h(u, "transform", "translate(110.856 24.899)"), h(b, "class", "a"), h(b, "width", "0.972"), h(b, "height", "15.861"), h(b, "rx", "0.486"), h(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), h(o, "transform", "translate(-110.856 -23.242)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.844"), h(t, "height", "12.887"), h(t, "viewBox", "0 0 18.844 12.887");
|
|
4771
4792
|
},
|
|
4772
|
-
m(
|
|
4773
|
-
L(
|
|
4793
|
+
m(x, O) {
|
|
4794
|
+
L(x, t, O), 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 = se(
|
|
4774
4795
|
t,
|
|
4775
4796
|
"click",
|
|
4776
4797
|
/*click_handler_1*/
|
|
@@ -4778,19 +4799,19 @@ function jo(e) {
|
|
|
4778
4799
|
), y = !0);
|
|
4779
4800
|
},
|
|
4780
4801
|
p: Z,
|
|
4781
|
-
d(
|
|
4782
|
-
|
|
4802
|
+
d(x) {
|
|
4803
|
+
x && I(t), y = !1, g();
|
|
4783
4804
|
}
|
|
4784
4805
|
};
|
|
4785
4806
|
}
|
|
4786
|
-
function
|
|
4807
|
+
function wr(e) {
|
|
4787
4808
|
let t, r = (
|
|
4788
4809
|
/*$_*/
|
|
4789
4810
|
e[22]("loginPasswordError") + ""
|
|
4790
4811
|
), n;
|
|
4791
4812
|
return {
|
|
4792
4813
|
c() {
|
|
4793
|
-
t =
|
|
4814
|
+
t = E("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4794
4815
|
},
|
|
4795
4816
|
m(i, o) {
|
|
4796
4817
|
L(i, t, o), m(t, n);
|
|
@@ -4805,14 +4826,14 @@ function yr(e) {
|
|
|
4805
4826
|
}
|
|
4806
4827
|
};
|
|
4807
4828
|
}
|
|
4808
|
-
function
|
|
4829
|
+
function Er(e) {
|
|
4809
4830
|
let t, r = (
|
|
4810
4831
|
/*$_*/
|
|
4811
4832
|
e[22]("loginSimplePasswordError") + ""
|
|
4812
4833
|
), n;
|
|
4813
4834
|
return {
|
|
4814
4835
|
c() {
|
|
4815
|
-
t =
|
|
4836
|
+
t = E("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4816
4837
|
},
|
|
4817
4838
|
m(i, o) {
|
|
4818
4839
|
L(i, t, o), m(t, n);
|
|
@@ -4827,11 +4848,11 @@ function _r(e) {
|
|
|
4827
4848
|
}
|
|
4828
4849
|
};
|
|
4829
4850
|
}
|
|
4830
|
-
function
|
|
4851
|
+
function xr(e) {
|
|
4831
4852
|
let t, r;
|
|
4832
4853
|
return {
|
|
4833
4854
|
c() {
|
|
4834
|
-
t =
|
|
4855
|
+
t = E("p"), r = N(
|
|
4835
4856
|
/*errorMessage*/
|
|
4836
4857
|
e[16]
|
|
4837
4858
|
), h(t, "class", "ErrorMessage");
|
|
@@ -4852,21 +4873,21 @@ function wr(e) {
|
|
|
4852
4873
|
}
|
|
4853
4874
|
};
|
|
4854
4875
|
}
|
|
4855
|
-
function
|
|
4876
|
+
function Xo(e) {
|
|
4856
4877
|
let t, r, n, i, o, s = (
|
|
4857
4878
|
/*captchakey*/
|
|
4858
|
-
e[1] &&
|
|
4879
|
+
e[1] && yr(e)
|
|
4859
4880
|
);
|
|
4860
4881
|
function a(u, f) {
|
|
4861
4882
|
return (
|
|
4862
4883
|
/*isLoading*/
|
|
4863
|
-
u[17] ?
|
|
4884
|
+
u[17] ? $o : ko
|
|
4864
4885
|
);
|
|
4865
4886
|
}
|
|
4866
4887
|
let c = a(e), l = c(e);
|
|
4867
4888
|
return {
|
|
4868
4889
|
c() {
|
|
4869
|
-
s && s.c(), t =
|
|
4890
|
+
s && s.c(), t = fn(), r = j(), n = E("div"), i = j(), o = E("div"), l.c(), h(n, "class", "g-recaptcha"), h(
|
|
4870
4891
|
n,
|
|
4871
4892
|
"data-sitekey",
|
|
4872
4893
|
/*captchakey*/
|
|
@@ -4878,7 +4899,7 @@ function Vo(e) {
|
|
|
4878
4899
|
},
|
|
4879
4900
|
p(u, f) {
|
|
4880
4901
|
/*captchakey*/
|
|
4881
|
-
u[1] ? s ? s.p(u, f) : (s =
|
|
4902
|
+
u[1] ? s ? s.p(u, f) : (s = yr(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
|
|
4882
4903
|
2 && h(
|
|
4883
4904
|
n,
|
|
4884
4905
|
"data-sitekey",
|
|
@@ -4893,27 +4914,27 @@ function Vo(e) {
|
|
|
4893
4914
|
}
|
|
4894
4915
|
};
|
|
4895
4916
|
}
|
|
4896
|
-
let
|
|
4897
|
-
function
|
|
4917
|
+
let Wo = "Please use this code {0} to activate your account";
|
|
4918
|
+
function Zo(e, t, r) {
|
|
4898
4919
|
let n;
|
|
4899
|
-
|
|
4900
|
-
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g,
|
|
4920
|
+
ln(e, Co, (p) => r(22, n = p));
|
|
4921
|
+
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, x = !1, O, z = !1, R = window.navigator.userAgent, U = "", A = "", re = { username: "", password: "" }, H = !1, oe = !1, he = "", J = !1, le, B = !1, ne = !0, X, Ue = +localStorage.getItem("smsTimer") || 0, Ze = Date.now() / 1e3 - Ue, fe = localStorage.getItem("smsValidation") == "true" && Ze < 60, de = {
|
|
4901
4922
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4902
4923
|
email: /^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,
|
|
4903
4924
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
4904
4925
|
};
|
|
4905
|
-
|
|
4926
|
+
Mo({ withLocale: "en", translations: {} });
|
|
4906
4927
|
const M = () => {
|
|
4907
4928
|
fetch(d).then((q) => q.json()).then((q) => {
|
|
4908
4929
|
Object.keys(q).forEach((ee) => {
|
|
4909
|
-
|
|
4930
|
+
br(ee, q[ee]);
|
|
4910
4931
|
});
|
|
4911
4932
|
}).catch((q) => {
|
|
4912
4933
|
console.log(q);
|
|
4913
4934
|
});
|
|
4914
4935
|
};
|
|
4915
|
-
Object.keys(
|
|
4916
|
-
|
|
4936
|
+
Object.keys(vr).forEach((p) => {
|
|
4937
|
+
br(p, vr[p]);
|
|
4917
4938
|
});
|
|
4918
4939
|
const ye = () => new Promise((p, q) => {
|
|
4919
4940
|
grecaptcha.ready(() => {
|
|
@@ -4929,7 +4950,7 @@ function Xo(e, t, r) {
|
|
|
4929
4950
|
r(19, B = !1), me();
|
|
4930
4951
|
}, me = () => {
|
|
4931
4952
|
r(18, le.type = B ? "text" : "password", le);
|
|
4932
|
-
},
|
|
4953
|
+
}, Fe = () => {
|
|
4933
4954
|
window.postMessage({ type: "ToRegister" }, window.location.href);
|
|
4934
4955
|
}, Ee = (p) => {
|
|
4935
4956
|
p.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
|
|
@@ -4939,12 +4960,12 @@ function Xo(e, t, r) {
|
|
|
4939
4960
|
username: U,
|
|
4940
4961
|
password: A,
|
|
4941
4962
|
token: q
|
|
4942
|
-
}, r(17, J = !0),
|
|
4963
|
+
}, r(17, J = !0), ke(re));
|
|
4943
4964
|
});
|
|
4944
4965
|
}, pe = (p) => !!((de.user.test(p) || de.email.test(p)) && p.length <= 100), xe = (p) => !!de.password.test(p), Je = () => {
|
|
4945
|
-
r(14, H = !pe(U)), r(20, ne = !(!H && !
|
|
4966
|
+
r(14, H = !pe(U)), r(20, ne = !(!H && !oe && A));
|
|
4946
4967
|
}, ge = () => {
|
|
4947
|
-
r(15,
|
|
4968
|
+
r(15, oe = !xe(A)), r(20, ne = !(!H && !oe && U));
|
|
4948
4969
|
}, be = (p) => {
|
|
4949
4970
|
if (p.data)
|
|
4950
4971
|
switch (p.data.type) {
|
|
@@ -4958,20 +4979,20 @@ function Xo(e, t, r) {
|
|
|
4958
4979
|
Q();
|
|
4959
4980
|
break;
|
|
4960
4981
|
}
|
|
4961
|
-
},
|
|
4982
|
+
}, De = (p) => {
|
|
4962
4983
|
typeof gtag == "function" && gtag("event", "Login", {
|
|
4963
4984
|
context: "GeneralPlayerLoginRegisterPage"
|
|
4964
4985
|
});
|
|
4965
|
-
},
|
|
4986
|
+
}, ke = async ({ username: p, password: q, token: ee }) => {
|
|
4966
4987
|
let Ke = {
|
|
4967
4988
|
"Content-Type": "application/json",
|
|
4968
4989
|
"g-recaptcha-response": ee
|
|
4969
|
-
}, et = { username: p, password: q },
|
|
4990
|
+
}, et = { username: p, password: q }, sn = {
|
|
4970
4991
|
method: "POST",
|
|
4971
4992
|
headers: Ke,
|
|
4972
4993
|
body: JSON.stringify(et)
|
|
4973
4994
|
};
|
|
4974
|
-
fetch(`${i}/v1/player/login/player`,
|
|
4995
|
+
fetch(`${i}/v1/player/login/player`, sn).then((G) => (G.status >= 500 && (r(16, he = "Server might not be responsing"), r(17, J = !1), window.postMessage(
|
|
4975
4996
|
{
|
|
4976
4997
|
type: "WidgetNotification",
|
|
4977
4998
|
data: {
|
|
@@ -4980,13 +5001,13 @@ function Xo(e, t, r) {
|
|
|
4980
5001
|
}
|
|
4981
5002
|
},
|
|
4982
5003
|
window.location.href
|
|
4983
|
-
)),
|
|
4984
|
-
if (
|
|
5004
|
+
)), G.json())).then((G) => {
|
|
5005
|
+
if (G.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && G.code === 4 && (r(8, y = G.detail.userId), r(10, O = G.detail.phonePrefix + G.detail.phone), r(21, fe = !0), Qe(O, y), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: y, number: O }))), G.sessionID) {
|
|
4985
5006
|
if (window.postMessage(
|
|
4986
5007
|
{
|
|
4987
5008
|
type: "UserSessionID",
|
|
4988
|
-
session:
|
|
4989
|
-
userid:
|
|
5009
|
+
session: G.sessionID,
|
|
5010
|
+
userid: G.universalID
|
|
4990
5011
|
},
|
|
4991
5012
|
window.location.href
|
|
4992
5013
|
), window.postMessage(
|
|
@@ -5005,10 +5026,10 @@ function Xo(e, t, r) {
|
|
|
5005
5026
|
});
|
|
5006
5027
|
navigator.credentials.store($e);
|
|
5007
5028
|
}
|
|
5008
|
-
|
|
5029
|
+
De();
|
|
5009
5030
|
} else
|
|
5010
5031
|
try {
|
|
5011
|
-
let $e =
|
|
5032
|
+
let $e = G.error;
|
|
5012
5033
|
r(16, he = $e), r(17, J = !1), window.postMessage(
|
|
5013
5034
|
{
|
|
5014
5035
|
type: "WidgetNotification",
|
|
@@ -5017,11 +5038,11 @@ function Xo(e, t, r) {
|
|
|
5017
5038
|
window.location.href
|
|
5018
5039
|
);
|
|
5019
5040
|
} catch {
|
|
5020
|
-
let
|
|
5021
|
-
r(16, he =
|
|
5041
|
+
let Wt = G.error.substring(G.error.indexOf("errorMessage") + 13, G.error.length);
|
|
5042
|
+
r(16, he = Wt), r(17, J = !1), window.postMessage(
|
|
5022
5043
|
{
|
|
5023
5044
|
type: "WidgetNotification",
|
|
5024
|
-
data: { type: "error", message:
|
|
5045
|
+
data: { type: "error", message: Wt }
|
|
5025
5046
|
},
|
|
5026
5047
|
window.location.href
|
|
5027
5048
|
);
|
|
@@ -5038,26 +5059,26 @@ function Xo(e, t, r) {
|
|
|
5038
5059
|
},
|
|
5039
5060
|
body: JSON.stringify({
|
|
5040
5061
|
userId: q,
|
|
5041
|
-
messageTemplate:
|
|
5062
|
+
messageTemplate: Wo,
|
|
5042
5063
|
destination: p
|
|
5043
5064
|
})
|
|
5044
5065
|
}), Ke = await ee.json();
|
|
5045
5066
|
if (ee.ok) {
|
|
5046
5067
|
r(9, g = Ke.id);
|
|
5047
5068
|
let et = Ke.maxValidationAttempts;
|
|
5048
|
-
|
|
5069
|
+
x = !1;
|
|
5049
5070
|
} else
|
|
5050
|
-
throw
|
|
5071
|
+
throw x = !0, new Error("Failed to fetch");
|
|
5051
5072
|
} catch (ee) {
|
|
5052
|
-
|
|
5073
|
+
x = !0, console.error(ee);
|
|
5053
5074
|
}
|
|
5054
5075
|
}, F = () => {
|
|
5055
|
-
|
|
5076
|
+
No(s);
|
|
5056
5077
|
};
|
|
5057
|
-
|
|
5078
|
+
gn(() => (window.addEventListener("message", be, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Lo(R)), () => {
|
|
5058
5079
|
window.removeEventListener("message", be);
|
|
5059
5080
|
}));
|
|
5060
|
-
const Ye = () =>
|
|
5081
|
+
const Ye = () => Fe();
|
|
5061
5082
|
function Se() {
|
|
5062
5083
|
U = this.value, r(12, U);
|
|
5063
5084
|
}
|
|
@@ -5069,8 +5090,8 @@ function Xo(e, t, r) {
|
|
|
5069
5090
|
le = p, r(18, le);
|
|
5070
5091
|
});
|
|
5071
5092
|
}
|
|
5072
|
-
const k = () => we(),
|
|
5073
|
-
function
|
|
5093
|
+
const k = () => we(), $ = () => _e(), v = (p) => Q(p), S = (p) => Ee(p);
|
|
5094
|
+
function on(p) {
|
|
5074
5095
|
ut[p ? "unshift" : "push"](() => {
|
|
5075
5096
|
X = p, r(7, X);
|
|
5076
5097
|
});
|
|
@@ -5081,9 +5102,9 @@ function Xo(e, t, r) {
|
|
|
5081
5102
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
5082
5103
|
1073741825 && i && s && F(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5083
5104
|
4 && c && qe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5084
|
-
144 && u && X &&
|
|
5085
|
-
160 && f && X &&
|
|
5086
|
-
136 && l && X &&
|
|
5105
|
+
144 && u && X && Ro(X, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5106
|
+
160 && f && X && Uo(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5107
|
+
136 && l && X && Fo(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
5087
5108
|
2 && d && M();
|
|
5088
5109
|
}, [
|
|
5089
5110
|
i,
|
|
@@ -5096,12 +5117,12 @@ function Xo(e, t, r) {
|
|
|
5096
5117
|
X,
|
|
5097
5118
|
y,
|
|
5098
5119
|
g,
|
|
5099
|
-
|
|
5120
|
+
O,
|
|
5100
5121
|
z,
|
|
5101
5122
|
U,
|
|
5102
5123
|
A,
|
|
5103
5124
|
H,
|
|
5104
|
-
|
|
5125
|
+
oe,
|
|
5105
5126
|
he,
|
|
5106
5127
|
J,
|
|
5107
5128
|
le,
|
|
@@ -5111,7 +5132,7 @@ function Xo(e, t, r) {
|
|
|
5111
5132
|
n,
|
|
5112
5133
|
_e,
|
|
5113
5134
|
we,
|
|
5114
|
-
|
|
5135
|
+
Fe,
|
|
5115
5136
|
Ee,
|
|
5116
5137
|
Q,
|
|
5117
5138
|
Je,
|
|
@@ -5124,20 +5145,20 @@ function Xo(e, t, r) {
|
|
|
5124
5145
|
Y,
|
|
5125
5146
|
D,
|
|
5126
5147
|
k,
|
|
5127
|
-
|
|
5148
|
+
$,
|
|
5128
5149
|
v,
|
|
5129
|
-
|
|
5130
|
-
|
|
5150
|
+
S,
|
|
5151
|
+
on
|
|
5131
5152
|
];
|
|
5132
5153
|
}
|
|
5133
|
-
class
|
|
5154
|
+
class qo extends Bn {
|
|
5134
5155
|
constructor(t) {
|
|
5135
|
-
super(),
|
|
5156
|
+
super(), Tn(
|
|
5136
5157
|
this,
|
|
5137
5158
|
t,
|
|
5159
|
+
Zo,
|
|
5138
5160
|
Xo,
|
|
5139
|
-
|
|
5140
|
-
xr,
|
|
5161
|
+
Pr,
|
|
5141
5162
|
{
|
|
5142
5163
|
endpoint: 0,
|
|
5143
5164
|
captchakey: 1,
|
|
@@ -5150,7 +5171,7 @@ class Wo extends Hn {
|
|
|
5150
5171
|
translationurl: 32,
|
|
5151
5172
|
savecredentials: 6
|
|
5152
5173
|
},
|
|
5153
|
-
|
|
5174
|
+
Do,
|
|
5154
5175
|
[-1, -1]
|
|
5155
5176
|
);
|
|
5156
5177
|
}
|
|
@@ -5215,35 +5236,35 @@ class Wo extends Hn {
|
|
|
5215
5236
|
this.$$set({ savecredentials: t }), K();
|
|
5216
5237
|
}
|
|
5217
5238
|
}
|
|
5218
|
-
|
|
5239
|
+
Hn(qo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
|
|
5219
5240
|
export {
|
|
5220
5241
|
ce as $,
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5242
|
+
qo as G,
|
|
5243
|
+
Bn as S,
|
|
5244
|
+
Ne as a,
|
|
5245
|
+
Kr as b,
|
|
5246
|
+
Hn as c,
|
|
5247
|
+
un as d,
|
|
5248
|
+
I as e,
|
|
5228
5249
|
K as f,
|
|
5229
|
-
|
|
5230
|
-
h,
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5250
|
+
te as g,
|
|
5251
|
+
rt as h,
|
|
5252
|
+
Tn as i,
|
|
5253
|
+
h as j,
|
|
5254
|
+
L as k,
|
|
5255
|
+
m as l,
|
|
5256
|
+
se as m,
|
|
5257
|
+
Z as n,
|
|
5258
|
+
E as o,
|
|
5259
|
+
j as p,
|
|
5260
|
+
ln as q,
|
|
5261
|
+
Le as r,
|
|
5262
|
+
Pr as s,
|
|
5242
5263
|
N as t,
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5264
|
+
gn as u,
|
|
5265
|
+
ut as v,
|
|
5266
|
+
Co as w,
|
|
5267
|
+
Ro as x,
|
|
5268
|
+
Uo as y,
|
|
5269
|
+
Fo as z
|
|
5249
5270
|
};
|