@everymatrix/general-player-register-form-nd 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralPlayerRegisterFormNd-DiQsI4kU.js → GeneralPlayerRegisterFormNd-8VTYGxnW.js} +686 -631
- package/components/{GeneralPlayerRegisterFormNd-BUMyIh_U.js → GeneralPlayerRegisterFormNd-BjOJLme-.js} +707 -652
- package/components/GeneralPlayerRegisterFormNd-COjoPcnq.cjs +18 -0
- package/components/{GeneralPlayerRegisterFormStep1-Di85W0GA.cjs → GeneralPlayerRegisterFormStep1-BsCbmcDH.cjs} +1 -1
- package/components/{GeneralPlayerRegisterFormStep1-ohqnb9Z5.js → GeneralPlayerRegisterFormStep1-CCva_4Fo.js} +61 -59
- package/components/{GeneralPlayerRegisterFormStep1-Ctnn3VLy.js → GeneralPlayerRegisterFormStep1-DugGIjlq.js} +61 -59
- package/components/GeneralPlayerRegisterFormStep2-BeQ6H63w.cjs +10 -0
- package/components/{GeneralPlayerRegisterFormStep2-Dn3Oqt8U.js → GeneralPlayerRegisterFormStep2-JKnXlklk.js} +1275 -1329
- package/components/{GeneralPlayerRegisterFormStep2-bfUHBIKJ.js → GeneralPlayerRegisterFormStep2-p71LzdWX.js} +1256 -1310
- package/components/{GeneralPlayerRegisterFormStep3-Bem9xLXM.js → GeneralPlayerRegisterFormStep3-8H6c1Q-J.js} +14 -14
- package/components/{GeneralPlayerRegisterFormStep3-DtEbjUb_.js → GeneralPlayerRegisterFormStep3-CZTxpXVK.js} +14 -14
- package/components/{GeneralPlayerRegisterFormStep3-BG4PaZHC.cjs → GeneralPlayerRegisterFormStep3-Cpht1p_r.cjs} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-jQD-XdiY.cjs → GeneralPlayerSmsVerificationForm-CnRSLLl4.cjs} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-CU2--1J3.js → GeneralPlayerSmsVerificationForm-gWDpjIxA.js} +25 -25
- package/components/{GeneralPlayerSmsVerificationForm-tOuaq6vc.js → GeneralPlayerSmsVerificationForm-us-I-beF.js} +25 -25
- package/es2015/general-player-register-form-nd.cjs +1 -1
- package/es2015/general-player-register-form-nd.js +1 -1
- package/esnext/general-player-register-form-nd.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerRegisterFormNd-D_476bDL.cjs +0 -5
- package/components/GeneralPlayerRegisterFormStep2-BzFYy8Ta.cjs +0 -10
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function k() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function ar(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Ct() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function ge(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(ar);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function ft(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function ur(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let we;
|
|
19
|
-
function
|
|
19
|
+
function js(e, t) {
|
|
20
20
|
return e === t ? !0 : (we || (we = document.createElement("a")), we.href = t, e === we.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function en(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function lr(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,21 +31,22 @@ function or(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 tn(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(lr(t, r));
|
|
36
36
|
}
|
|
37
37
|
function E(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function rn(e, t, r) {
|
|
41
|
+
const n = nn(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
43
|
const i = B("style");
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
44
|
+
i.id = t, i.textContent = r, sn(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
if (!e)
|
|
47
|
+
function nn(e) {
|
|
48
|
+
if (!e)
|
|
49
|
+
return document;
|
|
49
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
50
51
|
return t && /** @type {ShadowRoot} */
|
|
51
52
|
t.host ? (
|
|
@@ -53,7 +54,7 @@ function Kr(e) {
|
|
|
53
54
|
t
|
|
54
55
|
) : e.ownerDocument;
|
|
55
56
|
}
|
|
56
|
-
function
|
|
57
|
+
function sn(e, t) {
|
|
57
58
|
return E(
|
|
58
59
|
/** @type {Document} */
|
|
59
60
|
e.head || e,
|
|
@@ -63,10 +64,10 @@ function en(e, t) {
|
|
|
63
64
|
function F(e, t, r) {
|
|
64
65
|
e.insertBefore(t, r || null);
|
|
65
66
|
}
|
|
66
|
-
function
|
|
67
|
+
function N(e) {
|
|
67
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
68
69
|
}
|
|
69
|
-
function
|
|
70
|
+
function $s(e, t) {
|
|
70
71
|
for (let r = 0; r < e.length; r += 1)
|
|
71
72
|
e[r] && e[r].d(t);
|
|
72
73
|
}
|
|
@@ -82,10 +83,10 @@ function $(e) {
|
|
|
82
83
|
function U() {
|
|
83
84
|
return $(" ");
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
+
function on() {
|
|
86
87
|
return $("");
|
|
87
88
|
}
|
|
88
|
-
function
|
|
89
|
+
function an(e, t, r, n) {
|
|
89
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
90
91
|
}
|
|
91
92
|
function x(e, t, r) {
|
|
@@ -95,17 +96,17 @@ function m(e, t, r) {
|
|
|
95
96
|
const n = t.toLowerCase();
|
|
96
97
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
|
|
97
98
|
}
|
|
98
|
-
function
|
|
99
|
+
function un(e) {
|
|
99
100
|
return Array.from(e.childNodes);
|
|
100
101
|
}
|
|
101
102
|
function K(e, t) {
|
|
102
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
103
104
|
t);
|
|
104
105
|
}
|
|
105
|
-
function
|
|
106
|
+
function Vs(e, t) {
|
|
106
107
|
e.value = t ?? "";
|
|
107
108
|
}
|
|
108
|
-
function
|
|
109
|
+
function Xs(e, t, r) {
|
|
109
110
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
110
111
|
const i = e.options[n];
|
|
111
112
|
if (i.__value === t) {
|
|
@@ -115,11 +116,11 @@ function js(e, t, r) {
|
|
|
115
116
|
}
|
|
116
117
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
117
118
|
}
|
|
118
|
-
function
|
|
119
|
+
function Ws(e) {
|
|
119
120
|
const t = e.querySelector(":checked");
|
|
120
121
|
return t && t.__value;
|
|
121
122
|
}
|
|
122
|
-
function
|
|
123
|
+
function ln(e) {
|
|
123
124
|
const t = {};
|
|
124
125
|
return e.childNodes.forEach(
|
|
125
126
|
/** @param {Element} node */
|
|
@@ -132,21 +133,22 @@ let me;
|
|
|
132
133
|
function ce(e) {
|
|
133
134
|
me = e;
|
|
134
135
|
}
|
|
135
|
-
function
|
|
136
|
-
if (!me)
|
|
136
|
+
function hn() {
|
|
137
|
+
if (!me)
|
|
138
|
+
throw new Error("Function called outside component initialization");
|
|
137
139
|
return me;
|
|
138
140
|
}
|
|
139
|
-
function
|
|
140
|
-
|
|
141
|
+
function fn(e) {
|
|
142
|
+
hn().$$.on_mount.push(e);
|
|
141
143
|
}
|
|
142
144
|
const Y = [], Oe = [];
|
|
143
145
|
let ee = [];
|
|
144
|
-
const
|
|
145
|
-
let
|
|
146
|
-
function
|
|
147
|
-
|
|
146
|
+
const It = [], cn = /* @__PURE__ */ Promise.resolve();
|
|
147
|
+
let qe = !1;
|
|
148
|
+
function mn() {
|
|
149
|
+
qe || (qe = !0, cn.then(A));
|
|
148
150
|
}
|
|
149
|
-
function
|
|
151
|
+
function Qe(e) {
|
|
150
152
|
ee.push(e);
|
|
151
153
|
}
|
|
152
154
|
const je = /* @__PURE__ */ new Set();
|
|
@@ -159,55 +161,56 @@ function A() {
|
|
|
159
161
|
try {
|
|
160
162
|
for (; q < Y.length; ) {
|
|
161
163
|
const t = Y[q];
|
|
162
|
-
q++, ce(t),
|
|
164
|
+
q++, ce(t), pn(t.$$);
|
|
163
165
|
}
|
|
164
166
|
} catch (t) {
|
|
165
167
|
throw Y.length = 0, q = 0, t;
|
|
166
168
|
}
|
|
167
|
-
for (ce(null), Y.length = 0, q = 0; Oe.length; )
|
|
169
|
+
for (ce(null), Y.length = 0, q = 0; Oe.length; )
|
|
170
|
+
Oe.pop()();
|
|
168
171
|
for (let t = 0; t < ee.length; t += 1) {
|
|
169
172
|
const r = ee[t];
|
|
170
173
|
je.has(r) || (je.add(r), r());
|
|
171
174
|
}
|
|
172
175
|
ee.length = 0;
|
|
173
176
|
} while (Y.length);
|
|
174
|
-
for (;
|
|
175
|
-
|
|
176
|
-
|
|
177
|
+
for (; It.length; )
|
|
178
|
+
It.pop()();
|
|
179
|
+
qe = !1, je.clear(), ce(e);
|
|
177
180
|
}
|
|
178
|
-
function
|
|
181
|
+
function pn(e) {
|
|
179
182
|
if (e.fragment !== null) {
|
|
180
183
|
e.update(), ge(e.before_update);
|
|
181
184
|
const t = e.dirty;
|
|
182
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
185
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
|
|
183
186
|
}
|
|
184
187
|
}
|
|
185
|
-
function
|
|
188
|
+
function dn(e) {
|
|
186
189
|
const t = [], r = [];
|
|
187
190
|
ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
|
|
188
191
|
}
|
|
189
|
-
const
|
|
190
|
-
function
|
|
191
|
-
e && e.i && (
|
|
192
|
+
const gn = /* @__PURE__ */ new Set();
|
|
193
|
+
function bn(e, t) {
|
|
194
|
+
e && e.i && (gn.delete(e), e.i(t));
|
|
192
195
|
}
|
|
193
|
-
function
|
|
196
|
+
function zs(e) {
|
|
194
197
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
195
198
|
}
|
|
196
|
-
function
|
|
199
|
+
function yn(e, t, r) {
|
|
197
200
|
const { fragment: n, after_update: i } = e.$$;
|
|
198
|
-
n && n.m(t, r),
|
|
199
|
-
const s = e.$$.on_mount.map(
|
|
201
|
+
n && n.m(t, r), Qe(() => {
|
|
202
|
+
const s = e.$$.on_mount.map(ar).filter(ft);
|
|
200
203
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ge(s), e.$$.on_mount = [];
|
|
201
|
-
}), i.forEach(
|
|
204
|
+
}), i.forEach(Qe);
|
|
202
205
|
}
|
|
203
|
-
function
|
|
206
|
+
function vn(e, t) {
|
|
204
207
|
const r = e.$$;
|
|
205
|
-
r.fragment !== null && (
|
|
208
|
+
r.fragment !== null && (dn(r.after_update), ge(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
206
209
|
}
|
|
207
|
-
function
|
|
208
|
-
e.$$.dirty[0] === -1 && (Y.push(e),
|
|
210
|
+
function _n(e, t) {
|
|
211
|
+
e.$$.dirty[0] === -1 && (Y.push(e), mn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
209
212
|
}
|
|
210
|
-
function
|
|
213
|
+
function En(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
211
214
|
const h = me;
|
|
212
215
|
ce(e);
|
|
213
216
|
const l = e.$$ = {
|
|
@@ -217,7 +220,7 @@ function bn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
217
220
|
props: s,
|
|
218
221
|
update: k,
|
|
219
222
|
not_equal: i,
|
|
220
|
-
bound:
|
|
223
|
+
bound: Ct(),
|
|
221
224
|
// lifecycle
|
|
222
225
|
on_mount: [],
|
|
223
226
|
on_destroy: [],
|
|
@@ -226,7 +229,7 @@ function bn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
226
229
|
after_update: [],
|
|
227
230
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
228
231
|
// everything else
|
|
229
|
-
callbacks:
|
|
232
|
+
callbacks: Ct(),
|
|
230
233
|
dirty: a,
|
|
231
234
|
skip_bound: !1,
|
|
232
235
|
root: t.target || h.$$.root
|
|
@@ -235,19 +238,19 @@ function bn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
235
238
|
let u = !1;
|
|
236
239
|
if (l.ctx = r ? r(e, t.props || {}, (c, p, ...y) => {
|
|
237
240
|
const g = y.length ? y[0] : p;
|
|
238
|
-
return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), u &&
|
|
241
|
+
return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), u && _n(e, c)), p;
|
|
239
242
|
}) : [], l.update(), u = !0, ge(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
240
243
|
if (t.hydrate) {
|
|
241
|
-
const c =
|
|
242
|
-
l.fragment && l.fragment.l(c), c.forEach(
|
|
244
|
+
const c = un(t.target);
|
|
245
|
+
l.fragment && l.fragment.l(c), c.forEach(N);
|
|
243
246
|
} else
|
|
244
247
|
l.fragment && l.fragment.c();
|
|
245
|
-
t.intro &&
|
|
248
|
+
t.intro && bn(e.$$.fragment), yn(e, t.target, t.anchor), A();
|
|
246
249
|
}
|
|
247
250
|
ce(h);
|
|
248
251
|
}
|
|
249
|
-
let
|
|
250
|
-
typeof HTMLElement == "function" && (
|
|
252
|
+
let hr;
|
|
253
|
+
typeof HTMLElement == "function" && (hr = class extends HTMLElement {
|
|
251
254
|
/** The Svelte component constructor */
|
|
252
255
|
$$ctor;
|
|
253
256
|
/** Slots */
|
|
@@ -299,14 +302,14 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
|
|
|
299
302
|
F(h, s, l);
|
|
300
303
|
},
|
|
301
304
|
d: function(h) {
|
|
302
|
-
h &&
|
|
305
|
+
h && N(s);
|
|
303
306
|
}
|
|
304
307
|
};
|
|
305
308
|
};
|
|
306
309
|
};
|
|
307
310
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
308
311
|
return;
|
|
309
|
-
const t = {}, r =
|
|
312
|
+
const t = {}, r = ln(this);
|
|
310
313
|
for (const i of this.$$s)
|
|
311
314
|
i in r && (t[i] = [e(i)]);
|
|
312
315
|
for (const i of this.attributes) {
|
|
@@ -393,8 +396,8 @@ function He(e, t, r, n) {
|
|
|
393
396
|
return t;
|
|
394
397
|
}
|
|
395
398
|
}
|
|
396
|
-
function
|
|
397
|
-
let o = class extends
|
|
399
|
+
function wn(e, t, r, n, i, s) {
|
|
400
|
+
let o = class extends hr {
|
|
398
401
|
constructor() {
|
|
399
402
|
super(e, r, i), this.$$p_d = t;
|
|
400
403
|
}
|
|
@@ -422,7 +425,7 @@ function yn(e, t, r, n, i, s) {
|
|
|
422
425
|
}), e.element = /** @type {any} */
|
|
423
426
|
o, o;
|
|
424
427
|
}
|
|
425
|
-
class
|
|
428
|
+
class Sn {
|
|
426
429
|
/**
|
|
427
430
|
* ### PRIVATE API
|
|
428
431
|
*
|
|
@@ -441,7 +444,7 @@ class vn {
|
|
|
441
444
|
$$set = void 0;
|
|
442
445
|
/** @returns {void} */
|
|
443
446
|
$destroy() {
|
|
444
|
-
|
|
447
|
+
vn(this, 1), this.$destroy = k;
|
|
445
448
|
}
|
|
446
449
|
/**
|
|
447
450
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -450,7 +453,7 @@ class vn {
|
|
|
450
453
|
* @returns {() => void}
|
|
451
454
|
*/
|
|
452
455
|
$on(t, r) {
|
|
453
|
-
if (!
|
|
456
|
+
if (!ft(r))
|
|
454
457
|
return k;
|
|
455
458
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
456
459
|
return n.push(r), () => {
|
|
@@ -463,22 +466,37 @@ class vn {
|
|
|
463
466
|
* @returns {void}
|
|
464
467
|
*/
|
|
465
468
|
$set(t) {
|
|
466
|
-
this.$$set && !
|
|
469
|
+
this.$$set && !en(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
467
470
|
}
|
|
468
471
|
}
|
|
469
|
-
const
|
|
470
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
471
|
-
|
|
472
|
-
|
|
472
|
+
const xn = "4";
|
|
473
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xn);
|
|
474
|
+
/*! *****************************************************************************
|
|
475
|
+
Copyright (c) Microsoft Corporation.
|
|
476
|
+
|
|
477
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
478
|
+
purpose with or without fee is hereby granted.
|
|
479
|
+
|
|
480
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
481
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
482
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
483
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
484
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
485
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
486
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
487
|
+
***************************************************************************** */
|
|
488
|
+
var Ye = function(e, t) {
|
|
489
|
+
return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
473
490
|
r.__proto__ = n;
|
|
474
491
|
} || function(r, n) {
|
|
475
|
-
for (var i in n)
|
|
476
|
-
|
|
492
|
+
for (var i in n)
|
|
493
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
494
|
+
}, Ye(e, t);
|
|
477
495
|
};
|
|
478
496
|
function X(e, t) {
|
|
479
497
|
if (typeof t != "function" && t !== null)
|
|
480
498
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
481
|
-
|
|
499
|
+
Ye(e, t);
|
|
482
500
|
function r() {
|
|
483
501
|
this.constructor = e;
|
|
484
502
|
}
|
|
@@ -488,61 +506,69 @@ var w = function() {
|
|
|
488
506
|
return w = Object.assign || function(t) {
|
|
489
507
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
490
508
|
r = arguments[n];
|
|
491
|
-
for (var s in r)
|
|
509
|
+
for (var s in r)
|
|
510
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
492
511
|
}
|
|
493
512
|
return t;
|
|
494
513
|
}, w.apply(this, arguments);
|
|
495
514
|
};
|
|
496
|
-
function
|
|
515
|
+
function Tn(e, t) {
|
|
497
516
|
var r = {};
|
|
498
|
-
for (var n in e)
|
|
517
|
+
for (var n in e)
|
|
518
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
499
519
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
500
520
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
501
521
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
502
522
|
return r;
|
|
503
523
|
}
|
|
504
|
-
function
|
|
524
|
+
function Ke(e) {
|
|
505
525
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
506
|
-
if (r)
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
526
|
+
if (r)
|
|
527
|
+
return r.call(e);
|
|
528
|
+
if (e && typeof e.length == "number")
|
|
529
|
+
return {
|
|
530
|
+
next: function() {
|
|
531
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
532
|
+
}
|
|
533
|
+
};
|
|
512
534
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
513
535
|
}
|
|
514
|
-
function
|
|
536
|
+
function et(e, t) {
|
|
515
537
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
516
|
-
if (!r)
|
|
538
|
+
if (!r)
|
|
539
|
+
return e;
|
|
517
540
|
var n = r.call(e), i, s = [], o;
|
|
518
541
|
try {
|
|
519
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
542
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
543
|
+
s.push(i.value);
|
|
520
544
|
} catch (a) {
|
|
521
545
|
o = { error: a };
|
|
522
546
|
} finally {
|
|
523
547
|
try {
|
|
524
548
|
i && !i.done && (r = n.return) && r.call(n);
|
|
525
549
|
} finally {
|
|
526
|
-
if (o)
|
|
550
|
+
if (o)
|
|
551
|
+
throw o.error;
|
|
527
552
|
}
|
|
528
553
|
}
|
|
529
554
|
return s;
|
|
530
555
|
}
|
|
531
556
|
function te(e, t, r) {
|
|
532
|
-
if (r || arguments.length === 2)
|
|
533
|
-
(
|
|
534
|
-
|
|
557
|
+
if (r || arguments.length === 2)
|
|
558
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
559
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
560
|
+
return e.concat(s || t);
|
|
535
561
|
}
|
|
536
562
|
function V(e) {
|
|
537
563
|
return typeof e == "function";
|
|
538
564
|
}
|
|
539
|
-
function
|
|
565
|
+
function fr(e) {
|
|
540
566
|
var t = function(n) {
|
|
541
567
|
Error.call(n), n.stack = new Error().stack;
|
|
542
568
|
}, r = e(t);
|
|
543
569
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
544
570
|
}
|
|
545
|
-
var $e =
|
|
571
|
+
var $e = fr(function(e) {
|
|
546
572
|
return function(r) {
|
|
547
573
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
548
574
|
` + r.map(function(n, i) {
|
|
@@ -551,7 +577,7 @@ var $e = ur(function(e) {
|
|
|
551
577
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
552
578
|
};
|
|
553
579
|
});
|
|
554
|
-
function
|
|
580
|
+
function tt(e, t) {
|
|
555
581
|
if (e) {
|
|
556
582
|
var r = e.indexOf(t);
|
|
557
583
|
0 <= r && e.splice(r, 1);
|
|
@@ -569,7 +595,7 @@ var Le = function() {
|
|
|
569
595
|
if (o)
|
|
570
596
|
if (this._parentage = null, Array.isArray(o))
|
|
571
597
|
try {
|
|
572
|
-
for (var a =
|
|
598
|
+
for (var a = Ke(o), h = a.next(); !h.done; h = a.next()) {
|
|
573
599
|
var l = h.value;
|
|
574
600
|
l.remove(this);
|
|
575
601
|
}
|
|
@@ -579,7 +605,8 @@ var Le = function() {
|
|
|
579
605
|
try {
|
|
580
606
|
h && !h.done && (r = a.return) && r.call(a);
|
|
581
607
|
} finally {
|
|
582
|
-
if (t)
|
|
608
|
+
if (t)
|
|
609
|
+
throw t.error;
|
|
583
610
|
}
|
|
584
611
|
}
|
|
585
612
|
else
|
|
@@ -595,12 +622,12 @@ var Le = function() {
|
|
|
595
622
|
if (c) {
|
|
596
623
|
this._finalizers = null;
|
|
597
624
|
try {
|
|
598
|
-
for (var p =
|
|
625
|
+
for (var p = Ke(c), y = p.next(); !y.done; y = p.next()) {
|
|
599
626
|
var g = y.value;
|
|
600
627
|
try {
|
|
601
|
-
|
|
628
|
+
Lt(g);
|
|
602
629
|
} catch (d) {
|
|
603
|
-
s = s ?? [], d instanceof $e ? s = te(te([],
|
|
630
|
+
s = s ?? [], d instanceof $e ? s = te(te([], et(s)), et(d.errors)) : s.push(d);
|
|
604
631
|
}
|
|
605
632
|
}
|
|
606
633
|
} catch (d) {
|
|
@@ -609,7 +636,8 @@ var Le = function() {
|
|
|
609
636
|
try {
|
|
610
637
|
y && !y.done && (i = p.return) && i.call(p);
|
|
611
638
|
} finally {
|
|
612
|
-
if (n)
|
|
639
|
+
if (n)
|
|
640
|
+
throw n.error;
|
|
613
641
|
}
|
|
614
642
|
}
|
|
615
643
|
}
|
|
@@ -620,7 +648,7 @@ var Le = function() {
|
|
|
620
648
|
var r;
|
|
621
649
|
if (t && t !== this)
|
|
622
650
|
if (this.closed)
|
|
623
|
-
|
|
651
|
+
Lt(t);
|
|
624
652
|
else {
|
|
625
653
|
if (t instanceof e) {
|
|
626
654
|
if (t.closed || t._hasParent(this))
|
|
@@ -637,52 +665,56 @@ var Le = function() {
|
|
|
637
665
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
638
666
|
}, e.prototype._removeParent = function(t) {
|
|
639
667
|
var r = this._parentage;
|
|
640
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
668
|
+
r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
|
|
641
669
|
}, e.prototype.remove = function(t) {
|
|
642
670
|
var r = this._finalizers;
|
|
643
|
-
r &&
|
|
671
|
+
r && tt(r, t), t instanceof e && t._removeParent(this);
|
|
644
672
|
}, e.EMPTY = function() {
|
|
645
673
|
var t = new e();
|
|
646
674
|
return t.closed = !0, t;
|
|
647
675
|
}(), e;
|
|
648
|
-
}(),
|
|
649
|
-
function
|
|
676
|
+
}(), cr = Le.EMPTY;
|
|
677
|
+
function mr(e) {
|
|
650
678
|
return e instanceof Le || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
|
|
651
679
|
}
|
|
652
|
-
function
|
|
680
|
+
function Lt(e) {
|
|
653
681
|
V(e) ? e() : e.unsubscribe();
|
|
654
682
|
}
|
|
655
|
-
var
|
|
656
|
-
|
|
657
|
-
|
|
683
|
+
var pr = {
|
|
684
|
+
onUnhandledError: null,
|
|
685
|
+
onStoppedNotification: null,
|
|
686
|
+
Promise: void 0,
|
|
687
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
688
|
+
useDeprecatedNextContext: !1
|
|
689
|
+
}, Hn = {
|
|
658
690
|
setTimeout: function(e, t) {
|
|
659
691
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
660
692
|
r[n - 2] = arguments[n];
|
|
661
|
-
return setTimeout.apply(void 0, te([e, t],
|
|
693
|
+
return setTimeout.apply(void 0, te([e, t], et(r)));
|
|
662
694
|
},
|
|
663
695
|
clearTimeout: function(e) {
|
|
664
696
|
return clearTimeout(e);
|
|
665
697
|
},
|
|
666
698
|
delegate: void 0
|
|
667
699
|
};
|
|
668
|
-
function
|
|
669
|
-
|
|
700
|
+
function Bn(e) {
|
|
701
|
+
Hn.setTimeout(function() {
|
|
670
702
|
throw e;
|
|
671
703
|
});
|
|
672
704
|
}
|
|
673
|
-
function
|
|
705
|
+
function Rt() {
|
|
674
706
|
}
|
|
675
707
|
function Be(e) {
|
|
676
708
|
e();
|
|
677
709
|
}
|
|
678
|
-
var
|
|
710
|
+
var dr = function(e) {
|
|
679
711
|
X(t, e);
|
|
680
712
|
function t(r) {
|
|
681
713
|
var n = e.call(this) || this;
|
|
682
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
714
|
+
return n.isStopped = !1, r ? (n.destination = r, mr(r) && r.add(n)) : n.destination = Cn, n;
|
|
683
715
|
}
|
|
684
716
|
return t.create = function(r, n, i) {
|
|
685
|
-
return new
|
|
717
|
+
return new rt(r, n, i);
|
|
686
718
|
}, t.prototype.next = function(r) {
|
|
687
719
|
this.isStopped || this._next(r);
|
|
688
720
|
}, t.prototype.error = function(r) {
|
|
@@ -706,7 +738,11 @@ var fr = function(e) {
|
|
|
706
738
|
this.unsubscribe();
|
|
707
739
|
}
|
|
708
740
|
}, t;
|
|
709
|
-
}(Le),
|
|
741
|
+
}(Le), An = Function.prototype.bind;
|
|
742
|
+
function Ve(e, t) {
|
|
743
|
+
return An.call(e, t);
|
|
744
|
+
}
|
|
745
|
+
var Pn = function() {
|
|
710
746
|
function e(t) {
|
|
711
747
|
this.partialObserver = t;
|
|
712
748
|
}
|
|
@@ -737,43 +773,55 @@ var fr = function(e) {
|
|
|
737
773
|
xe(r);
|
|
738
774
|
}
|
|
739
775
|
}, e;
|
|
740
|
-
}(),
|
|
776
|
+
}(), rt = function(e) {
|
|
741
777
|
X(t, e);
|
|
742
778
|
function t(r, n, i) {
|
|
743
779
|
var s = e.call(this) || this, o;
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
780
|
+
if (V(r) || !r)
|
|
781
|
+
o = {
|
|
782
|
+
next: r ?? void 0,
|
|
783
|
+
error: n ?? void 0,
|
|
784
|
+
complete: i ?? void 0
|
|
785
|
+
};
|
|
786
|
+
else {
|
|
787
|
+
var a;
|
|
788
|
+
s && pr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
789
|
+
return s.unsubscribe();
|
|
790
|
+
}, o = {
|
|
791
|
+
next: r.next && Ve(r.next, a),
|
|
792
|
+
error: r.error && Ve(r.error, a),
|
|
793
|
+
complete: r.complete && Ve(r.complete, a)
|
|
794
|
+
}) : o = r;
|
|
795
|
+
}
|
|
796
|
+
return s.destination = new Pn(o), s;
|
|
749
797
|
}
|
|
750
798
|
return t;
|
|
751
|
-
}(
|
|
799
|
+
}(dr);
|
|
752
800
|
function xe(e) {
|
|
753
|
-
|
|
801
|
+
Bn(e);
|
|
754
802
|
}
|
|
755
|
-
function
|
|
803
|
+
function On(e) {
|
|
756
804
|
throw e;
|
|
757
805
|
}
|
|
758
|
-
var
|
|
806
|
+
var Cn = {
|
|
759
807
|
closed: !0,
|
|
760
|
-
next:
|
|
761
|
-
error:
|
|
762
|
-
complete:
|
|
763
|
-
},
|
|
808
|
+
next: Rt,
|
|
809
|
+
error: On,
|
|
810
|
+
complete: Rt
|
|
811
|
+
}, In = function() {
|
|
764
812
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
765
813
|
}();
|
|
766
|
-
function
|
|
814
|
+
function Ln(e) {
|
|
767
815
|
return e;
|
|
768
816
|
}
|
|
769
|
-
function
|
|
770
|
-
return e.length === 0 ?
|
|
817
|
+
function Rn(e) {
|
|
818
|
+
return e.length === 0 ? Ln : e.length === 1 ? e[0] : function(r) {
|
|
771
819
|
return e.reduce(function(n, i) {
|
|
772
820
|
return i(n);
|
|
773
821
|
}, r);
|
|
774
822
|
};
|
|
775
823
|
}
|
|
776
|
-
var
|
|
824
|
+
var Mt = function() {
|
|
777
825
|
function e(t) {
|
|
778
826
|
t && (this._subscribe = t);
|
|
779
827
|
}
|
|
@@ -781,7 +829,7 @@ var It = function() {
|
|
|
781
829
|
var r = new e();
|
|
782
830
|
return r.source = this, r.operator = t, r;
|
|
783
831
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
784
|
-
var i = this, s =
|
|
832
|
+
var i = this, s = Nn(t) ? t : new rt(t, r, n);
|
|
785
833
|
return Be(function() {
|
|
786
834
|
var o = i, a = o.operator, h = o.source;
|
|
787
835
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
|
@@ -794,8 +842,8 @@ var It = function() {
|
|
|
794
842
|
}
|
|
795
843
|
}, e.prototype.forEach = function(t, r) {
|
|
796
844
|
var n = this;
|
|
797
|
-
return r =
|
|
798
|
-
var o = new
|
|
845
|
+
return r = Nt(r), new r(function(i, s) {
|
|
846
|
+
var o = new rt({
|
|
799
847
|
next: function(a) {
|
|
800
848
|
try {
|
|
801
849
|
t(a);
|
|
@@ -811,15 +859,15 @@ var It = function() {
|
|
|
811
859
|
}, e.prototype._subscribe = function(t) {
|
|
812
860
|
var r;
|
|
813
861
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
814
|
-
}, e.prototype[
|
|
862
|
+
}, e.prototype[In] = function() {
|
|
815
863
|
return this;
|
|
816
864
|
}, e.prototype.pipe = function() {
|
|
817
865
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
818
866
|
t[r] = arguments[r];
|
|
819
|
-
return
|
|
867
|
+
return Rn(t)(this);
|
|
820
868
|
}, e.prototype.toPromise = function(t) {
|
|
821
869
|
var r = this;
|
|
822
|
-
return t =
|
|
870
|
+
return t = Nt(t), new t(function(n, i) {
|
|
823
871
|
var s;
|
|
824
872
|
r.subscribe(function(o) {
|
|
825
873
|
return s = o;
|
|
@@ -833,32 +881,32 @@ var It = function() {
|
|
|
833
881
|
return new e(t);
|
|
834
882
|
}, e;
|
|
835
883
|
}();
|
|
836
|
-
function
|
|
884
|
+
function Nt(e) {
|
|
837
885
|
var t;
|
|
838
|
-
return (t = e ??
|
|
886
|
+
return (t = e ?? pr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
839
887
|
}
|
|
840
|
-
function
|
|
888
|
+
function Mn(e) {
|
|
841
889
|
return e && V(e.next) && V(e.error) && V(e.complete);
|
|
842
890
|
}
|
|
843
|
-
function
|
|
844
|
-
return e && e instanceof
|
|
891
|
+
function Nn(e) {
|
|
892
|
+
return e && e instanceof dr || Mn(e) && mr(e);
|
|
845
893
|
}
|
|
846
|
-
var
|
|
894
|
+
var Dn = fr(function(e) {
|
|
847
895
|
return function() {
|
|
848
896
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
849
897
|
};
|
|
850
|
-
}),
|
|
898
|
+
}), gr = function(e) {
|
|
851
899
|
X(t, e);
|
|
852
900
|
function t() {
|
|
853
901
|
var r = e.call(this) || this;
|
|
854
902
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
855
903
|
}
|
|
856
904
|
return t.prototype.lift = function(r) {
|
|
857
|
-
var n = new
|
|
905
|
+
var n = new Dt(this, this);
|
|
858
906
|
return n.operator = r, n;
|
|
859
907
|
}, t.prototype._throwIfClosed = function() {
|
|
860
908
|
if (this.closed)
|
|
861
|
-
throw new
|
|
909
|
+
throw new Dn();
|
|
862
910
|
}, t.prototype.next = function(r) {
|
|
863
911
|
var n = this;
|
|
864
912
|
Be(function() {
|
|
@@ -866,7 +914,7 @@ var Ln = ur(function(e) {
|
|
|
866
914
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
867
915
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
868
916
|
try {
|
|
869
|
-
for (var o =
|
|
917
|
+
for (var o = Ke(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
870
918
|
var h = a.value;
|
|
871
919
|
h.next(r);
|
|
872
920
|
}
|
|
@@ -876,7 +924,8 @@ var Ln = ur(function(e) {
|
|
|
876
924
|
try {
|
|
877
925
|
a && !a.done && (s = o.return) && s.call(o);
|
|
878
926
|
} finally {
|
|
879
|
-
if (i)
|
|
927
|
+
if (i)
|
|
928
|
+
throw i.error;
|
|
880
929
|
}
|
|
881
930
|
}
|
|
882
931
|
}
|
|
@@ -914,19 +963,19 @@ var Ln = ur(function(e) {
|
|
|
914
963
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
915
964
|
}, t.prototype._innerSubscribe = function(r) {
|
|
916
965
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
917
|
-
return s || o ?
|
|
918
|
-
n.currentObservers = null,
|
|
966
|
+
return s || o ? cr : (this.currentObservers = null, a.push(r), new Le(function() {
|
|
967
|
+
n.currentObservers = null, tt(a, r);
|
|
919
968
|
}));
|
|
920
969
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
921
970
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
922
971
|
i ? r.error(s) : o && r.complete();
|
|
923
972
|
}, t.prototype.asObservable = function() {
|
|
924
|
-
var r = new
|
|
973
|
+
var r = new Mt();
|
|
925
974
|
return r.source = this, r;
|
|
926
975
|
}, t.create = function(r, n) {
|
|
927
|
-
return new
|
|
976
|
+
return new Dt(r, n);
|
|
928
977
|
}, t;
|
|
929
|
-
}(
|
|
978
|
+
}(Mt), Dt = function(e) {
|
|
930
979
|
X(t, e);
|
|
931
980
|
function t(r, n) {
|
|
932
981
|
var i = e.call(this) || this;
|
|
@@ -943,17 +992,17 @@ var Ln = ur(function(e) {
|
|
|
943
992
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
944
993
|
}, t.prototype._subscribe = function(r) {
|
|
945
994
|
var n, i;
|
|
946
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
995
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : cr;
|
|
947
996
|
}, t;
|
|
948
|
-
}(
|
|
997
|
+
}(gr), br = {
|
|
949
998
|
now: function() {
|
|
950
|
-
return (
|
|
999
|
+
return (br.delegate || Date).now();
|
|
951
1000
|
},
|
|
952
1001
|
delegate: void 0
|
|
953
|
-
},
|
|
1002
|
+
}, Fn = function(e) {
|
|
954
1003
|
X(t, e);
|
|
955
1004
|
function t(r, n, i) {
|
|
956
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1005
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = br);
|
|
957
1006
|
var s = e.call(this) || this;
|
|
958
1007
|
return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
|
|
959
1008
|
}
|
|
@@ -973,15 +1022,15 @@ var Ln = ur(function(e) {
|
|
|
973
1022
|
l && s.splice(0, l + 1);
|
|
974
1023
|
}
|
|
975
1024
|
}, t;
|
|
976
|
-
}(
|
|
977
|
-
const
|
|
978
|
-
if (
|
|
979
|
-
const r = new
|
|
980
|
-
|
|
1025
|
+
}(gr);
|
|
1026
|
+
const Ft = [], Ut = {}, Un = (e, t = 0) => {
|
|
1027
|
+
if (Ft.indexOf(e) == -1) {
|
|
1028
|
+
const r = new Fn(t);
|
|
1029
|
+
Ut[e] = r, Ft.push(e);
|
|
981
1030
|
}
|
|
982
|
-
return
|
|
1031
|
+
return Ut[e];
|
|
983
1032
|
}, Q = [];
|
|
984
|
-
function
|
|
1033
|
+
function kn(e, t) {
|
|
985
1034
|
return {
|
|
986
1035
|
subscribe: Re(e, t).subscribe
|
|
987
1036
|
};
|
|
@@ -990,7 +1039,7 @@ function Re(e, t = k) {
|
|
|
990
1039
|
let r;
|
|
991
1040
|
const n = /* @__PURE__ */ new Set();
|
|
992
1041
|
function i(a) {
|
|
993
|
-
if (
|
|
1042
|
+
if (ur(e, a) && (e = a, r)) {
|
|
994
1043
|
const h = !Q.length;
|
|
995
1044
|
for (const l of n)
|
|
996
1045
|
l[1](), Q.push(l, e);
|
|
@@ -1017,7 +1066,7 @@ function oe(e, t, r) {
|
|
|
1017
1066
|
if (!i.every(Boolean))
|
|
1018
1067
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1019
1068
|
const s = t.length < 2;
|
|
1020
|
-
return
|
|
1069
|
+
return kn(r, (o, a) => {
|
|
1021
1070
|
let h = !1;
|
|
1022
1071
|
const l = [];
|
|
1023
1072
|
let u = 0, c = k;
|
|
@@ -1026,9 +1075,9 @@ function oe(e, t, r) {
|
|
|
1026
1075
|
return;
|
|
1027
1076
|
c();
|
|
1028
1077
|
const g = t(n ? l[0] : l, o, a);
|
|
1029
|
-
s ? o(g) : c =
|
|
1078
|
+
s ? o(g) : c = ft(g) ? g : k;
|
|
1030
1079
|
}, y = i.map(
|
|
1031
|
-
(g, d) =>
|
|
1080
|
+
(g, d) => lr(
|
|
1032
1081
|
g,
|
|
1033
1082
|
(b) => {
|
|
1034
1083
|
l[d] = b, u &= ~(1 << d), h && p();
|
|
@@ -1043,70 +1092,70 @@ function oe(e, t, r) {
|
|
|
1043
1092
|
};
|
|
1044
1093
|
});
|
|
1045
1094
|
}
|
|
1046
|
-
function
|
|
1095
|
+
function Gn(e) {
|
|
1047
1096
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1048
1097
|
}
|
|
1049
|
-
var
|
|
1050
|
-
return
|
|
1098
|
+
var jn = function(t) {
|
|
1099
|
+
return $n(t) && !Vn(t);
|
|
1051
1100
|
};
|
|
1052
|
-
function
|
|
1101
|
+
function $n(e) {
|
|
1053
1102
|
return !!e && typeof e == "object";
|
|
1054
1103
|
}
|
|
1055
|
-
function
|
|
1104
|
+
function Vn(e) {
|
|
1056
1105
|
var t = Object.prototype.toString.call(e);
|
|
1057
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1106
|
+
return t === "[object RegExp]" || t === "[object Date]" || zn(e);
|
|
1058
1107
|
}
|
|
1059
|
-
var
|
|
1060
|
-
function
|
|
1061
|
-
return e.$$typeof ===
|
|
1108
|
+
var Xn = typeof Symbol == "function" && Symbol.for, Wn = Xn ? Symbol.for("react.element") : 60103;
|
|
1109
|
+
function zn(e) {
|
|
1110
|
+
return e.$$typeof === Wn;
|
|
1062
1111
|
}
|
|
1063
|
-
function
|
|
1112
|
+
function Zn(e) {
|
|
1064
1113
|
return Array.isArray(e) ? [] : {};
|
|
1065
1114
|
}
|
|
1066
1115
|
function pe(e, t) {
|
|
1067
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? re(
|
|
1116
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(Zn(e), e, t) : e;
|
|
1068
1117
|
}
|
|
1069
|
-
function
|
|
1118
|
+
function Jn(e, t, r) {
|
|
1070
1119
|
return e.concat(t).map(function(n) {
|
|
1071
1120
|
return pe(n, r);
|
|
1072
1121
|
});
|
|
1073
1122
|
}
|
|
1074
|
-
function
|
|
1123
|
+
function qn(e, t) {
|
|
1075
1124
|
if (!t.customMerge)
|
|
1076
1125
|
return re;
|
|
1077
1126
|
var r = t.customMerge(e);
|
|
1078
1127
|
return typeof r == "function" ? r : re;
|
|
1079
1128
|
}
|
|
1080
|
-
function
|
|
1129
|
+
function Qn(e) {
|
|
1081
1130
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1082
1131
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1083
1132
|
}) : [];
|
|
1084
1133
|
}
|
|
1085
|
-
function
|
|
1086
|
-
return Object.keys(e).concat(
|
|
1134
|
+
function kt(e) {
|
|
1135
|
+
return Object.keys(e).concat(Qn(e));
|
|
1087
1136
|
}
|
|
1088
|
-
function
|
|
1137
|
+
function yr(e, t) {
|
|
1089
1138
|
try {
|
|
1090
1139
|
return t in e;
|
|
1091
1140
|
} catch {
|
|
1092
1141
|
return !1;
|
|
1093
1142
|
}
|
|
1094
1143
|
}
|
|
1095
|
-
function
|
|
1096
|
-
return
|
|
1144
|
+
function Yn(e, t) {
|
|
1145
|
+
return yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1097
1146
|
}
|
|
1098
|
-
function
|
|
1147
|
+
function Kn(e, t, r) {
|
|
1099
1148
|
var n = {};
|
|
1100
|
-
return r.isMergeableObject(e) &&
|
|
1149
|
+
return r.isMergeableObject(e) && kt(e).forEach(function(i) {
|
|
1101
1150
|
n[i] = pe(e[i], r);
|
|
1102
|
-
}),
|
|
1103
|
-
|
|
1151
|
+
}), kt(t).forEach(function(i) {
|
|
1152
|
+
Yn(e, i) || (yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = qn(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
|
|
1104
1153
|
}), n;
|
|
1105
1154
|
}
|
|
1106
1155
|
function re(e, t, r) {
|
|
1107
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1156
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Jn, r.isMergeableObject = r.isMergeableObject || jn, r.cloneUnlessOtherwiseSpecified = pe;
|
|
1108
1157
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1109
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
1158
|
+
return s ? n ? r.arrayMerge(e, t, r) : Kn(e, t, r) : pe(t, r);
|
|
1110
1159
|
}
|
|
1111
1160
|
re.all = function(t, r) {
|
|
1112
1161
|
if (!Array.isArray(t))
|
|
@@ -1115,56 +1164,58 @@ re.all = function(t, r) {
|
|
|
1115
1164
|
return re(n, i, r);
|
|
1116
1165
|
}, {});
|
|
1117
1166
|
};
|
|
1118
|
-
var
|
|
1119
|
-
const
|
|
1120
|
-
function
|
|
1121
|
-
var r = t && t.cache ? t.cache :
|
|
1167
|
+
var ei = re, ti = ei;
|
|
1168
|
+
const ri = /* @__PURE__ */ Gn(ti);
|
|
1169
|
+
function Xe(e, t) {
|
|
1170
|
+
var r = t && t.cache ? t.cache : ui, n = t && t.serializer ? t.serializer : ai, i = t && t.strategy ? t.strategy : ii;
|
|
1122
1171
|
return i(e, {
|
|
1123
1172
|
cache: r,
|
|
1124
1173
|
serializer: n
|
|
1125
1174
|
});
|
|
1126
1175
|
}
|
|
1127
|
-
function
|
|
1176
|
+
function ni(e) {
|
|
1128
1177
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1129
1178
|
}
|
|
1130
|
-
function
|
|
1131
|
-
var i =
|
|
1179
|
+
function vr(e, t, r, n) {
|
|
1180
|
+
var i = ni(n) ? n : r(n), s = t.get(i);
|
|
1132
1181
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1133
1182
|
}
|
|
1134
|
-
function
|
|
1183
|
+
function _r(e, t, r) {
|
|
1135
1184
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1136
1185
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1137
1186
|
}
|
|
1138
|
-
function
|
|
1187
|
+
function ct(e, t, r, n, i) {
|
|
1139
1188
|
return r.bind(t, e, n, i);
|
|
1140
1189
|
}
|
|
1141
|
-
function
|
|
1142
|
-
var r = e.length === 1 ?
|
|
1143
|
-
return
|
|
1190
|
+
function ii(e, t) {
|
|
1191
|
+
var r = e.length === 1 ? vr : _r;
|
|
1192
|
+
return ct(e, this, r, t.cache.create(), t.serializer);
|
|
1193
|
+
}
|
|
1194
|
+
function si(e, t) {
|
|
1195
|
+
return ct(e, this, _r, t.cache.create(), t.serializer);
|
|
1144
1196
|
}
|
|
1145
|
-
function
|
|
1146
|
-
return
|
|
1197
|
+
function oi(e, t) {
|
|
1198
|
+
return ct(e, this, vr, t.cache.create(), t.serializer);
|
|
1147
1199
|
}
|
|
1148
|
-
var
|
|
1200
|
+
var ai = function() {
|
|
1149
1201
|
return JSON.stringify(arguments);
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
}()
|
|
1162
|
-
), si = {
|
|
1202
|
+
};
|
|
1203
|
+
function mt() {
|
|
1204
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1205
|
+
}
|
|
1206
|
+
mt.prototype.get = function(e) {
|
|
1207
|
+
return this.cache[e];
|
|
1208
|
+
};
|
|
1209
|
+
mt.prototype.set = function(e, t) {
|
|
1210
|
+
this.cache[e] = t;
|
|
1211
|
+
};
|
|
1212
|
+
var ui = {
|
|
1163
1213
|
create: function() {
|
|
1164
|
-
return new
|
|
1214
|
+
return new mt();
|
|
1165
1215
|
}
|
|
1166
|
-
},
|
|
1167
|
-
variadic:
|
|
1216
|
+
}, We = {
|
|
1217
|
+
variadic: si,
|
|
1218
|
+
monadic: oi
|
|
1168
1219
|
}, v;
|
|
1169
1220
|
(function(e) {
|
|
1170
1221
|
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";
|
|
@@ -1177,43 +1228,43 @@ var ne;
|
|
|
1177
1228
|
(function(e) {
|
|
1178
1229
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1179
1230
|
})(ne || (ne = {}));
|
|
1180
|
-
function
|
|
1231
|
+
function Gt(e) {
|
|
1181
1232
|
return e.type === T.literal;
|
|
1182
1233
|
}
|
|
1183
|
-
function
|
|
1234
|
+
function li(e) {
|
|
1184
1235
|
return e.type === T.argument;
|
|
1185
1236
|
}
|
|
1186
|
-
function
|
|
1237
|
+
function Er(e) {
|
|
1187
1238
|
return e.type === T.number;
|
|
1188
1239
|
}
|
|
1189
|
-
function
|
|
1240
|
+
function wr(e) {
|
|
1190
1241
|
return e.type === T.date;
|
|
1191
1242
|
}
|
|
1192
|
-
function
|
|
1243
|
+
function Sr(e) {
|
|
1193
1244
|
return e.type === T.time;
|
|
1194
1245
|
}
|
|
1195
|
-
function
|
|
1246
|
+
function xr(e) {
|
|
1196
1247
|
return e.type === T.select;
|
|
1197
1248
|
}
|
|
1198
|
-
function
|
|
1249
|
+
function Tr(e) {
|
|
1199
1250
|
return e.type === T.plural;
|
|
1200
1251
|
}
|
|
1201
|
-
function
|
|
1252
|
+
function hi(e) {
|
|
1202
1253
|
return e.type === T.pound;
|
|
1203
1254
|
}
|
|
1204
|
-
function
|
|
1255
|
+
function Hr(e) {
|
|
1205
1256
|
return e.type === T.tag;
|
|
1206
1257
|
}
|
|
1207
|
-
function
|
|
1258
|
+
function Br(e) {
|
|
1208
1259
|
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1209
1260
|
}
|
|
1210
|
-
function
|
|
1261
|
+
function nt(e) {
|
|
1211
1262
|
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1212
1263
|
}
|
|
1213
|
-
var
|
|
1214
|
-
function
|
|
1264
|
+
var Ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1265
|
+
function ci(e) {
|
|
1215
1266
|
var t = {};
|
|
1216
|
-
return e.replace(
|
|
1267
|
+
return e.replace(fi, function(r) {
|
|
1217
1268
|
var n = r.length;
|
|
1218
1269
|
switch (r[0]) {
|
|
1219
1270
|
case "G":
|
|
@@ -1302,11 +1353,11 @@ function li(e) {
|
|
|
1302
1353
|
return "";
|
|
1303
1354
|
}), t;
|
|
1304
1355
|
}
|
|
1305
|
-
var
|
|
1306
|
-
function
|
|
1356
|
+
var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1357
|
+
function pi(e) {
|
|
1307
1358
|
if (e.length === 0)
|
|
1308
1359
|
throw new Error("Number skeleton cannot be empty");
|
|
1309
|
-
for (var t = e.split(
|
|
1360
|
+
for (var t = e.split(mi).filter(function(p) {
|
|
1310
1361
|
return p.length > 0;
|
|
1311
1362
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1312
1363
|
var s = i[n], o = s.split("/");
|
|
@@ -1321,17 +1372,17 @@ function fi(e) {
|
|
|
1321
1372
|
}
|
|
1322
1373
|
return r;
|
|
1323
1374
|
}
|
|
1324
|
-
function
|
|
1375
|
+
function di(e) {
|
|
1325
1376
|
return e.replace(/^(.*?)-/, "");
|
|
1326
1377
|
}
|
|
1327
|
-
var
|
|
1328
|
-
function
|
|
1378
|
+
var jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pr = /^(@+)?(\+|#+)?[rs]?$/g, gi = /(\*)(0+)|(#+)(0+)|(0+)/g, Or = /^(0+)$/;
|
|
1379
|
+
function $t(e) {
|
|
1329
1380
|
var t = {};
|
|
1330
|
-
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(Pr, function(r, n, i) {
|
|
1331
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)), "";
|
|
1332
1383
|
}), t;
|
|
1333
1384
|
}
|
|
1334
|
-
function
|
|
1385
|
+
function Cr(e) {
|
|
1335
1386
|
switch (e) {
|
|
1336
1387
|
case "sign-auto":
|
|
1337
1388
|
return {
|
|
@@ -1371,7 +1422,7 @@ function Br(e) {
|
|
|
1371
1422
|
};
|
|
1372
1423
|
}
|
|
1373
1424
|
}
|
|
1374
|
-
function
|
|
1425
|
+
function bi(e) {
|
|
1375
1426
|
var t;
|
|
1376
1427
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1377
1428
|
notation: "engineering"
|
|
@@ -1379,17 +1430,17 @@ function pi(e) {
|
|
|
1379
1430
|
notation: "scientific"
|
|
1380
1431
|
}, e = e.slice(1)), t) {
|
|
1381
1432
|
var r = e.slice(0, 2);
|
|
1382
|
-
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)), !Or.test(e))
|
|
1383
1434
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1384
1435
|
t.minimumIntegerDigits = e.length;
|
|
1385
1436
|
}
|
|
1386
1437
|
return t;
|
|
1387
1438
|
}
|
|
1388
|
-
function
|
|
1389
|
-
var t = {}, r =
|
|
1439
|
+
function Vt(e) {
|
|
1440
|
+
var t = {}, r = Cr(e);
|
|
1390
1441
|
return r || t;
|
|
1391
1442
|
}
|
|
1392
|
-
function
|
|
1443
|
+
function yi(e) {
|
|
1393
1444
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1394
1445
|
var i = n[r];
|
|
1395
1446
|
switch (i.stem) {
|
|
@@ -1413,7 +1464,7 @@ function di(e) {
|
|
|
1413
1464
|
continue;
|
|
1414
1465
|
case "measure-unit":
|
|
1415
1466
|
case "unit":
|
|
1416
|
-
t.style = "unit", t.unit =
|
|
1467
|
+
t.style = "unit", t.unit = di(i.options[0]);
|
|
1417
1468
|
continue;
|
|
1418
1469
|
case "compact-short":
|
|
1419
1470
|
case "K":
|
|
@@ -1425,12 +1476,12 @@ function di(e) {
|
|
|
1425
1476
|
continue;
|
|
1426
1477
|
case "scientific":
|
|
1427
1478
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
|
1428
|
-
return w(w({}, h),
|
|
1479
|
+
return w(w({}, h), Vt(l));
|
|
1429
1480
|
}, {}));
|
|
1430
1481
|
continue;
|
|
1431
1482
|
case "engineering":
|
|
1432
1483
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
|
1433
|
-
return w(w({}, h),
|
|
1484
|
+
return w(w({}, h), Vt(l));
|
|
1434
1485
|
}, {}));
|
|
1435
1486
|
continue;
|
|
1436
1487
|
case "notation-simple":
|
|
@@ -1475,7 +1526,7 @@ function di(e) {
|
|
|
1475
1526
|
case "integer-width":
|
|
1476
1527
|
if (i.options.length > 1)
|
|
1477
1528
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1478
|
-
i.options[0].replace(
|
|
1529
|
+
i.options[0].replace(gi, function(h, l, u, c, p, y) {
|
|
1479
1530
|
if (l)
|
|
1480
1531
|
t.minimumIntegerDigits = u.length;
|
|
1481
1532
|
else {
|
|
@@ -1488,27 +1539,27 @@ function di(e) {
|
|
|
1488
1539
|
});
|
|
1489
1540
|
continue;
|
|
1490
1541
|
}
|
|
1491
|
-
if (
|
|
1542
|
+
if (Or.test(i.stem)) {
|
|
1492
1543
|
t.minimumIntegerDigits = i.stem.length;
|
|
1493
1544
|
continue;
|
|
1494
1545
|
}
|
|
1495
|
-
if (
|
|
1546
|
+
if (jt.test(i.stem)) {
|
|
1496
1547
|
if (i.options.length > 1)
|
|
1497
1548
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1498
|
-
i.stem.replace(
|
|
1549
|
+
i.stem.replace(jt, function(h, l, u, c, p, y) {
|
|
1499
1550
|
return u === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && y ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1500
1551
|
});
|
|
1501
1552
|
var s = i.options[0];
|
|
1502
|
-
s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t),
|
|
1553
|
+
s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), $t(s)));
|
|
1503
1554
|
continue;
|
|
1504
1555
|
}
|
|
1505
|
-
if (
|
|
1506
|
-
t = w(w({}, t),
|
|
1556
|
+
if (Pr.test(i.stem)) {
|
|
1557
|
+
t = w(w({}, t), $t(i.stem));
|
|
1507
1558
|
continue;
|
|
1508
1559
|
}
|
|
1509
|
-
var o =
|
|
1560
|
+
var o = Cr(i.stem);
|
|
1510
1561
|
o && (t = w(w({}, t), o));
|
|
1511
|
-
var a =
|
|
1562
|
+
var a = bi(i.stem);
|
|
1512
1563
|
a && (t = w(w({}, t), a));
|
|
1513
1564
|
}
|
|
1514
1565
|
return t;
|
|
@@ -2928,22 +2979,23 @@ var Te = {
|
|
|
2928
2979
|
"h"
|
|
2929
2980
|
]
|
|
2930
2981
|
};
|
|
2931
|
-
function
|
|
2982
|
+
function vi(e, t) {
|
|
2932
2983
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2933
2984
|
var i = e.charAt(n);
|
|
2934
2985
|
if (i === "j") {
|
|
2935
2986
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2936
2987
|
s++, n++;
|
|
2937
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l =
|
|
2988
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = _i(t);
|
|
2938
2989
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2939
2990
|
r += h;
|
|
2940
2991
|
for (; o-- > 0; )
|
|
2941
2992
|
r = l + r;
|
|
2942
|
-
} else
|
|
2993
|
+
} else
|
|
2994
|
+
i === "J" ? r += "H" : r += i;
|
|
2943
2995
|
}
|
|
2944
2996
|
return r;
|
|
2945
2997
|
}
|
|
2946
|
-
function
|
|
2998
|
+
function _i(e) {
|
|
2947
2999
|
var t = e.hourCycle;
|
|
2948
3000
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2949
3001
|
e.hourCycles && // @ts-ignore
|
|
@@ -2965,20 +3017,20 @@ function bi(e) {
|
|
|
2965
3017
|
var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
|
|
2966
3018
|
return i[0];
|
|
2967
3019
|
}
|
|
2968
|
-
var
|
|
3020
|
+
var ze, Ei = new RegExp("^".concat(Ar.source, "*")), wi = new RegExp("".concat(Ar.source, "*$"));
|
|
2969
3021
|
function _(e, t) {
|
|
2970
3022
|
return { start: e, end: t };
|
|
2971
3023
|
}
|
|
2972
|
-
var
|
|
3024
|
+
var Si = !!String.prototype.startsWith && "_a".startsWith("a", 1), xi = !!String.fromCodePoint, Ti = !!Object.fromEntries, Hi = !!String.prototype.codePointAt, Bi = !!String.prototype.trimStart, Ai = !!String.prototype.trimEnd, Pi = !!Number.isSafeInteger, Oi = Pi ? Number.isSafeInteger : function(e) {
|
|
2973
3025
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2974
|
-
},
|
|
3026
|
+
}, it = !0;
|
|
2975
3027
|
try {
|
|
2976
|
-
var
|
|
2977
|
-
|
|
3028
|
+
var Ci = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3029
|
+
it = ((ze = Ci.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
|
|
2978
3030
|
} catch {
|
|
2979
|
-
|
|
3031
|
+
it = !1;
|
|
2980
3032
|
}
|
|
2981
|
-
var
|
|
3033
|
+
var Xt = Si ? (
|
|
2982
3034
|
// Native
|
|
2983
3035
|
function(t, r, n) {
|
|
2984
3036
|
return t.startsWith(r, n);
|
|
@@ -2988,7 +3040,7 @@ var jt = _i ? (
|
|
|
2988
3040
|
function(t, r, n) {
|
|
2989
3041
|
return t.slice(n, n + r.length) === r;
|
|
2990
3042
|
}
|
|
2991
|
-
),
|
|
3043
|
+
), st = xi ? String.fromCodePoint : (
|
|
2992
3044
|
// IE11
|
|
2993
3045
|
function() {
|
|
2994
3046
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3000,9 +3052,9 @@ var jt = _i ? (
|
|
|
3000
3052
|
}
|
|
3001
3053
|
return n;
|
|
3002
3054
|
}
|
|
3003
|
-
),
|
|
3055
|
+
), Wt = (
|
|
3004
3056
|
// native
|
|
3005
|
-
|
|
3057
|
+
Ti ? Object.fromEntries : (
|
|
3006
3058
|
// Ponyfill
|
|
3007
3059
|
function(t) {
|
|
3008
3060
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3012,7 +3064,7 @@ var jt = _i ? (
|
|
|
3012
3064
|
return r;
|
|
3013
3065
|
}
|
|
3014
3066
|
)
|
|
3015
|
-
),
|
|
3067
|
+
), Ir = Hi ? (
|
|
3016
3068
|
// Native
|
|
3017
3069
|
function(t, r) {
|
|
3018
3070
|
return t.codePointAt(r);
|
|
@@ -3026,7 +3078,7 @@ var jt = _i ? (
|
|
|
3026
3078
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3027
3079
|
}
|
|
3028
3080
|
}
|
|
3029
|
-
),
|
|
3081
|
+
), Ii = Bi ? (
|
|
3030
3082
|
// Native
|
|
3031
3083
|
function(t) {
|
|
3032
3084
|
return t.trimStart();
|
|
@@ -3034,9 +3086,9 @@ var jt = _i ? (
|
|
|
3034
3086
|
) : (
|
|
3035
3087
|
// Ponyfill
|
|
3036
3088
|
function(t) {
|
|
3037
|
-
return t.replace(
|
|
3089
|
+
return t.replace(Ei, "");
|
|
3038
3090
|
}
|
|
3039
|
-
),
|
|
3091
|
+
), Li = Ai ? (
|
|
3040
3092
|
// Native
|
|
3041
3093
|
function(t) {
|
|
3042
3094
|
return t.trimEnd();
|
|
@@ -3044,32 +3096,32 @@ var jt = _i ? (
|
|
|
3044
3096
|
) : (
|
|
3045
3097
|
// Ponyfill
|
|
3046
3098
|
function(t) {
|
|
3047
|
-
return t.replace(
|
|
3099
|
+
return t.replace(wi, "");
|
|
3048
3100
|
}
|
|
3049
3101
|
);
|
|
3050
|
-
function
|
|
3102
|
+
function Lr(e, t) {
|
|
3051
3103
|
return new RegExp(e, t);
|
|
3052
3104
|
}
|
|
3053
|
-
var
|
|
3054
|
-
if (
|
|
3055
|
-
var
|
|
3056
|
-
|
|
3105
|
+
var ot;
|
|
3106
|
+
if (it) {
|
|
3107
|
+
var zt = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3108
|
+
ot = function(t, r) {
|
|
3057
3109
|
var n;
|
|
3058
|
-
|
|
3059
|
-
var i =
|
|
3110
|
+
zt.lastIndex = r;
|
|
3111
|
+
var i = zt.exec(t);
|
|
3060
3112
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3061
3113
|
};
|
|
3062
3114
|
} else
|
|
3063
|
-
|
|
3115
|
+
ot = function(t, r) {
|
|
3064
3116
|
for (var n = []; ; ) {
|
|
3065
|
-
var i =
|
|
3066
|
-
if (i === void 0 ||
|
|
3117
|
+
var i = Ir(t, r);
|
|
3118
|
+
if (i === void 0 || Rr(i) || Di(i))
|
|
3067
3119
|
break;
|
|
3068
3120
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3069
3121
|
}
|
|
3070
|
-
return
|
|
3122
|
+
return st.apply(void 0, n);
|
|
3071
3123
|
};
|
|
3072
|
-
var
|
|
3124
|
+
var Ri = (
|
|
3073
3125
|
/** @class */
|
|
3074
3126
|
function() {
|
|
3075
3127
|
function e(t, r) {
|
|
@@ -3100,7 +3152,7 @@ var Ci = (
|
|
|
3100
3152
|
if (n)
|
|
3101
3153
|
break;
|
|
3102
3154
|
return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3103
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3155
|
+
} else if (s === 60 && !this.ignoreTag && at(this.peek() || 0)) {
|
|
3104
3156
|
var o = this.parseTag(t, r);
|
|
3105
3157
|
if (o.err)
|
|
3106
3158
|
return o;
|
|
@@ -3133,7 +3185,7 @@ var Ci = (
|
|
|
3133
3185
|
return s;
|
|
3134
3186
|
var o = s.val, a = this.clonePosition();
|
|
3135
3187
|
if (this.bumpIf("</")) {
|
|
3136
|
-
if (this.isEOF() || !
|
|
3188
|
+
if (this.isEOF() || !at(this.char()))
|
|
3137
3189
|
return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
|
|
3138
3190
|
var h = this.clonePosition(), l = this.parseTagName();
|
|
3139
3191
|
return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3151,7 +3203,7 @@ var Ci = (
|
|
|
3151
3203
|
return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
|
|
3152
3204
|
}, e.prototype.parseTagName = function() {
|
|
3153
3205
|
var t = this.offset();
|
|
3154
|
-
for (this.bump(); !this.isEOF() &&
|
|
3206
|
+
for (this.bump(); !this.isEOF() && Ni(this.char()); )
|
|
3155
3207
|
this.bump();
|
|
3156
3208
|
return this.message.slice(t, this.offset());
|
|
3157
3209
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3180,7 +3232,7 @@ var Ci = (
|
|
|
3180
3232
|
};
|
|
3181
3233
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3182
3234
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3183
|
-
!
|
|
3235
|
+
!Mi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3184
3236
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3185
3237
|
if (this.isEOF() || this.char() !== 39)
|
|
3186
3238
|
return null;
|
|
@@ -3214,12 +3266,12 @@ var Ci = (
|
|
|
3214
3266
|
r.push(n);
|
|
3215
3267
|
this.bump();
|
|
3216
3268
|
}
|
|
3217
|
-
return
|
|
3269
|
+
return st.apply(void 0, r);
|
|
3218
3270
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3219
3271
|
if (this.isEOF())
|
|
3220
3272
|
return null;
|
|
3221
3273
|
var n = this.char();
|
|
3222
|
-
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(), st(n));
|
|
3223
3275
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3224
3276
|
var n = this.clonePosition();
|
|
3225
3277
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3248,7 +3300,7 @@ var Ci = (
|
|
|
3248
3300
|
return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3249
3301
|
}
|
|
3250
3302
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3251
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3303
|
+
var t = this.clonePosition(), r = this.offset(), n = ot(this.message, r), i = r + n.length;
|
|
3252
3304
|
this.bumpTo(i);
|
|
3253
3305
|
var s = this.clonePosition(), o = _(t, s);
|
|
3254
3306
|
return { value: n, location: o };
|
|
@@ -3267,7 +3319,7 @@ var Ci = (
|
|
|
3267
3319
|
var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3268
3320
|
if (c.err)
|
|
3269
3321
|
return c;
|
|
3270
|
-
var p =
|
|
3322
|
+
var p = Li(c.val);
|
|
3271
3323
|
if (p.length === 0)
|
|
3272
3324
|
return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3273
3325
|
var y = _(u, this.clonePosition());
|
|
@@ -3277,8 +3329,8 @@ var Ci = (
|
|
|
3277
3329
|
if (g.err)
|
|
3278
3330
|
return g;
|
|
3279
3331
|
var d = _(i, this.clonePosition());
|
|
3280
|
-
if (l &&
|
|
3281
|
-
var b =
|
|
3332
|
+
if (l && Xt(l?.style, "::", 0)) {
|
|
3333
|
+
var b = Ii(l.style.slice(2));
|
|
3282
3334
|
if (a === "number") {
|
|
3283
3335
|
var c = this.parseNumberSkeletonFromString(b, l.styleLocation);
|
|
3284
3336
|
return c.err ? c : {
|
|
@@ -3289,12 +3341,12 @@ var Ci = (
|
|
|
3289
3341
|
if (b.length === 0)
|
|
3290
3342
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, d);
|
|
3291
3343
|
var S = b;
|
|
3292
|
-
this.locale && (S =
|
|
3344
|
+
this.locale && (S = vi(b, this.locale));
|
|
3293
3345
|
var p = {
|
|
3294
3346
|
type: ne.dateTime,
|
|
3295
3347
|
pattern: S,
|
|
3296
3348
|
location: l.styleLocation,
|
|
3297
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3349
|
+
parsedOptions: this.shouldParseSkeletons ? ci(S) : {}
|
|
3298
3350
|
}, O = a === "date" ? T.date : T.time;
|
|
3299
3351
|
return {
|
|
3300
3352
|
val: { type: O, value: n, location: d, style: p },
|
|
@@ -3319,7 +3371,7 @@ var Ci = (
|
|
|
3319
3371
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3320
3372
|
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(P, w({}, P)));
|
|
3321
3373
|
this.bumpSpace();
|
|
3322
|
-
var R = this.parseIdentifierIfPossible(),
|
|
3374
|
+
var R = this.parseIdentifierIfPossible(), M = 0;
|
|
3323
3375
|
if (a !== "select" && R.value === "offset") {
|
|
3324
3376
|
if (!this.bumpIf(":"))
|
|
3325
3377
|
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
@@ -3327,7 +3379,7 @@ var Ci = (
|
|
|
3327
3379
|
var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3328
3380
|
if (c.err)
|
|
3329
3381
|
return c;
|
|
3330
|
-
this.bumpSpace(), R = this.parseIdentifierIfPossible(),
|
|
3382
|
+
this.bumpSpace(), R = this.parseIdentifierIfPossible(), M = c.val;
|
|
3331
3383
|
}
|
|
3332
3384
|
var C = this.tryParsePluralOrSelectOptions(t, a, r, R);
|
|
3333
3385
|
if (C.err)
|
|
@@ -3340,7 +3392,7 @@ var Ci = (
|
|
|
3340
3392
|
val: {
|
|
3341
3393
|
type: T.select,
|
|
3342
3394
|
value: n,
|
|
3343
|
-
options:
|
|
3395
|
+
options: Wt(C.val),
|
|
3344
3396
|
location: D
|
|
3345
3397
|
},
|
|
3346
3398
|
err: null
|
|
@@ -3348,8 +3400,8 @@ var Ci = (
|
|
|
3348
3400
|
val: {
|
|
3349
3401
|
type: T.plural,
|
|
3350
3402
|
value: n,
|
|
3351
|
-
options:
|
|
3352
|
-
offset:
|
|
3403
|
+
options: Wt(C.val),
|
|
3404
|
+
offset: M,
|
|
3353
3405
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3354
3406
|
location: D
|
|
3355
3407
|
},
|
|
@@ -3399,7 +3451,7 @@ var Ci = (
|
|
|
3399
3451
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3400
3452
|
var n = [];
|
|
3401
3453
|
try {
|
|
3402
|
-
n =
|
|
3454
|
+
n = pi(t);
|
|
3403
3455
|
} catch {
|
|
3404
3456
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3405
3457
|
}
|
|
@@ -3408,7 +3460,7 @@ var Ci = (
|
|
|
3408
3460
|
type: ne.number,
|
|
3409
3461
|
tokens: n,
|
|
3410
3462
|
location: r,
|
|
3411
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3463
|
+
parsedOptions: this.shouldParseSkeletons ? yi(n) : {}
|
|
3412
3464
|
},
|
|
3413
3465
|
err: null
|
|
3414
3466
|
};
|
|
@@ -3456,7 +3508,7 @@ var Ci = (
|
|
|
3456
3508
|
break;
|
|
3457
3509
|
}
|
|
3458
3510
|
var h = _(i, this.clonePosition());
|
|
3459
|
-
return s ? (o *= n,
|
|
3511
|
+
return s ? (o *= n, Oi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3460
3512
|
}, e.prototype.offset = function() {
|
|
3461
3513
|
return this.position.offset;
|
|
3462
3514
|
}, e.prototype.isEOF = function() {
|
|
@@ -3471,7 +3523,7 @@ var Ci = (
|
|
|
3471
3523
|
var t = this.position.offset;
|
|
3472
3524
|
if (t >= this.message.length)
|
|
3473
3525
|
throw Error("out of bound");
|
|
3474
|
-
var r =
|
|
3526
|
+
var r = Ir(this.message, t);
|
|
3475
3527
|
if (r === void 0)
|
|
3476
3528
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3477
3529
|
return r;
|
|
@@ -3490,7 +3542,7 @@ var Ci = (
|
|
|
3490
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);
|
|
3491
3543
|
}
|
|
3492
3544
|
}, e.prototype.bumpIf = function(t) {
|
|
3493
|
-
if (
|
|
3545
|
+
if (Xt(this.message, t, this.offset())) {
|
|
3494
3546
|
for (var r = 0; r < t.length; r++)
|
|
3495
3547
|
this.bump();
|
|
3496
3548
|
return !0;
|
|
@@ -3512,7 +3564,7 @@ var Ci = (
|
|
|
3512
3564
|
break;
|
|
3513
3565
|
}
|
|
3514
3566
|
}, e.prototype.bumpSpace = function() {
|
|
3515
|
-
for (; !this.isEOF() &&
|
|
3567
|
+
for (; !this.isEOF() && Rr(this.char()); )
|
|
3516
3568
|
this.bump();
|
|
3517
3569
|
}, e.prototype.peek = function() {
|
|
3518
3570
|
if (this.isEOF())
|
|
@@ -3522,43 +3574,44 @@ var Ci = (
|
|
|
3522
3574
|
}, e;
|
|
3523
3575
|
}()
|
|
3524
3576
|
);
|
|
3525
|
-
function
|
|
3577
|
+
function at(e) {
|
|
3526
3578
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3527
3579
|
}
|
|
3528
|
-
function
|
|
3529
|
-
return
|
|
3580
|
+
function Mi(e) {
|
|
3581
|
+
return at(e) || e === 47;
|
|
3530
3582
|
}
|
|
3531
|
-
function
|
|
3583
|
+
function Ni(e) {
|
|
3532
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;
|
|
3533
3585
|
}
|
|
3534
|
-
function
|
|
3586
|
+
function Rr(e) {
|
|
3535
3587
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3536
3588
|
}
|
|
3537
|
-
function
|
|
3589
|
+
function Di(e) {
|
|
3538
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;
|
|
3539
3591
|
}
|
|
3540
|
-
function
|
|
3592
|
+
function ut(e) {
|
|
3541
3593
|
e.forEach(function(t) {
|
|
3542
|
-
if (delete t.location,
|
|
3594
|
+
if (delete t.location, xr(t) || Tr(t))
|
|
3543
3595
|
for (var r in t.options)
|
|
3544
|
-
delete t.options[r].location,
|
|
3545
|
-
else
|
|
3596
|
+
delete t.options[r].location, ut(t.options[r].value);
|
|
3597
|
+
else
|
|
3598
|
+
Er(t) && Br(t.style) || (wr(t) || Sr(t)) && nt(t.style) ? delete t.style.location : Hr(t) && ut(t.children);
|
|
3546
3599
|
});
|
|
3547
3600
|
}
|
|
3548
|
-
function
|
|
3601
|
+
function Fi(e, t) {
|
|
3549
3602
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3550
|
-
var r = new
|
|
3603
|
+
var r = new Ri(e, t).parse();
|
|
3551
3604
|
if (r.err) {
|
|
3552
3605
|
var n = SyntaxError(v[r.err.kind]);
|
|
3553
3606
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3554
3607
|
}
|
|
3555
|
-
return t?.captureLocation ||
|
|
3608
|
+
return t?.captureLocation || ut(r.val), r.val;
|
|
3556
3609
|
}
|
|
3557
3610
|
var ie;
|
|
3558
3611
|
(function(e) {
|
|
3559
3612
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3560
3613
|
})(ie || (ie = {}));
|
|
3561
|
-
var
|
|
3614
|
+
var Me = (
|
|
3562
3615
|
/** @class */
|
|
3563
3616
|
function(e) {
|
|
3564
3617
|
X(t, e);
|
|
@@ -3570,7 +3623,7 @@ var Ne = (
|
|
|
3570
3623
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3571
3624
|
}, t;
|
|
3572
3625
|
}(Error)
|
|
3573
|
-
),
|
|
3626
|
+
), Zt = (
|
|
3574
3627
|
/** @class */
|
|
3575
3628
|
function(e) {
|
|
3576
3629
|
X(t, e);
|
|
@@ -3578,8 +3631,8 @@ var Ne = (
|
|
|
3578
3631
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, s) || this;
|
|
3579
3632
|
}
|
|
3580
3633
|
return t;
|
|
3581
|
-
}(
|
|
3582
|
-
),
|
|
3634
|
+
}(Me)
|
|
3635
|
+
), Ui = (
|
|
3583
3636
|
/** @class */
|
|
3584
3637
|
function(e) {
|
|
3585
3638
|
X(t, e);
|
|
@@ -3587,8 +3640,8 @@ var Ne = (
|
|
|
3587
3640
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
|
|
3588
3641
|
}
|
|
3589
3642
|
return t;
|
|
3590
|
-
}(
|
|
3591
|
-
),
|
|
3643
|
+
}(Me)
|
|
3644
|
+
), ki = (
|
|
3592
3645
|
/** @class */
|
|
3593
3646
|
function(e) {
|
|
3594
3647
|
X(t, e);
|
|
@@ -3596,22 +3649,22 @@ var Ne = (
|
|
|
3596
3649
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
|
|
3597
3650
|
}
|
|
3598
3651
|
return t;
|
|
3599
|
-
}(
|
|
3652
|
+
}(Me)
|
|
3600
3653
|
), L;
|
|
3601
3654
|
(function(e) {
|
|
3602
3655
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3603
3656
|
})(L || (L = {}));
|
|
3604
|
-
function
|
|
3657
|
+
function Gi(e) {
|
|
3605
3658
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3606
3659
|
var n = t[t.length - 1];
|
|
3607
3660
|
return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
|
|
3608
3661
|
}, []);
|
|
3609
3662
|
}
|
|
3610
|
-
function
|
|
3663
|
+
function ji(e) {
|
|
3611
3664
|
return typeof e == "function";
|
|
3612
3665
|
}
|
|
3613
3666
|
function Ae(e, t, r, n, i, s, o) {
|
|
3614
|
-
if (e.length === 1 &&
|
|
3667
|
+
if (e.length === 1 && Gt(e[0]))
|
|
3615
3668
|
return [
|
|
3616
3669
|
{
|
|
3617
3670
|
type: L.literal,
|
|
@@ -3620,14 +3673,14 @@ function Ae(e, t, r, n, i, s, o) {
|
|
|
3620
3673
|
];
|
|
3621
3674
|
for (var a = [], h = 0, l = e; h < l.length; h++) {
|
|
3622
3675
|
var u = l[h];
|
|
3623
|
-
if (
|
|
3676
|
+
if (Gt(u)) {
|
|
3624
3677
|
a.push({
|
|
3625
3678
|
type: L.literal,
|
|
3626
3679
|
value: u.value
|
|
3627
3680
|
});
|
|
3628
3681
|
continue;
|
|
3629
3682
|
}
|
|
3630
|
-
if (
|
|
3683
|
+
if (hi(u)) {
|
|
3631
3684
|
typeof s == "number" && a.push({
|
|
3632
3685
|
type: L.literal,
|
|
3633
3686
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3636,89 +3689,89 @@ function Ae(e, t, r, n, i, s, o) {
|
|
|
3636
3689
|
}
|
|
3637
3690
|
var c = u.value;
|
|
3638
3691
|
if (!(i && c in i))
|
|
3639
|
-
throw new
|
|
3692
|
+
throw new ki(c, o);
|
|
3640
3693
|
var p = i[c];
|
|
3641
|
-
if (
|
|
3694
|
+
if (li(u)) {
|
|
3642
3695
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
|
|
3643
3696
|
type: typeof p == "string" ? L.literal : L.object,
|
|
3644
3697
|
value: p
|
|
3645
3698
|
});
|
|
3646
3699
|
continue;
|
|
3647
3700
|
}
|
|
3648
|
-
if (
|
|
3649
|
-
var y = typeof u.style == "string" ? n.date[u.style] :
|
|
3701
|
+
if (wr(u)) {
|
|
3702
|
+
var y = typeof u.style == "string" ? n.date[u.style] : nt(u.style) ? u.style.parsedOptions : void 0;
|
|
3650
3703
|
a.push({
|
|
3651
3704
|
type: L.literal,
|
|
3652
3705
|
value: r.getDateTimeFormat(t, y).format(p)
|
|
3653
3706
|
});
|
|
3654
3707
|
continue;
|
|
3655
3708
|
}
|
|
3656
|
-
if (
|
|
3657
|
-
var y = typeof u.style == "string" ? n.time[u.style] :
|
|
3709
|
+
if (Sr(u)) {
|
|
3710
|
+
var y = typeof u.style == "string" ? n.time[u.style] : nt(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3658
3711
|
a.push({
|
|
3659
3712
|
type: L.literal,
|
|
3660
3713
|
value: r.getDateTimeFormat(t, y).format(p)
|
|
3661
3714
|
});
|
|
3662
3715
|
continue;
|
|
3663
3716
|
}
|
|
3664
|
-
if (
|
|
3665
|
-
var y = typeof u.style == "string" ? n.number[u.style] :
|
|
3717
|
+
if (Er(u)) {
|
|
3718
|
+
var y = typeof u.style == "string" ? n.number[u.style] : Br(u.style) ? u.style.parsedOptions : void 0;
|
|
3666
3719
|
y && y.scale && (p = p * (y.scale || 1)), a.push({
|
|
3667
3720
|
type: L.literal,
|
|
3668
3721
|
value: r.getNumberFormat(t, y).format(p)
|
|
3669
3722
|
});
|
|
3670
3723
|
continue;
|
|
3671
3724
|
}
|
|
3672
|
-
if (
|
|
3725
|
+
if (Hr(u)) {
|
|
3673
3726
|
var g = u.children, d = u.value, b = i[d];
|
|
3674
|
-
if (!
|
|
3675
|
-
throw new
|
|
3676
|
-
var S = Ae(g, t, r, n, i, s), O = b(S.map(function(
|
|
3677
|
-
return
|
|
3727
|
+
if (!ji(b))
|
|
3728
|
+
throw new Ui(d, "function", o);
|
|
3729
|
+
var S = Ae(g, t, r, n, i, s), O = b(S.map(function(M) {
|
|
3730
|
+
return M.value;
|
|
3678
3731
|
}));
|
|
3679
|
-
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(
|
|
3732
|
+
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(M) {
|
|
3680
3733
|
return {
|
|
3681
|
-
type: typeof
|
|
3682
|
-
value:
|
|
3734
|
+
type: typeof M == "string" ? L.literal : L.object,
|
|
3735
|
+
value: M
|
|
3683
3736
|
};
|
|
3684
3737
|
}));
|
|
3685
3738
|
}
|
|
3686
|
-
if (
|
|
3739
|
+
if (xr(u)) {
|
|
3687
3740
|
var P = u.options[p] || u.options.other;
|
|
3688
3741
|
if (!P)
|
|
3689
|
-
throw new
|
|
3742
|
+
throw new Zt(u.value, p, Object.keys(u.options), o);
|
|
3690
3743
|
a.push.apply(a, Ae(P.value, t, r, n, i));
|
|
3691
3744
|
continue;
|
|
3692
3745
|
}
|
|
3693
|
-
if (
|
|
3746
|
+
if (Tr(u)) {
|
|
3694
3747
|
var P = u.options["=".concat(p)];
|
|
3695
3748
|
if (!P) {
|
|
3696
3749
|
if (!Intl.PluralRules)
|
|
3697
|
-
throw new
|
|
3750
|
+
throw new Me(`Intl.PluralRules is not available in this environment.
|
|
3698
3751
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3699
3752
|
`, ie.MISSING_INTL_API, o);
|
|
3700
3753
|
var R = r.getPluralRules(t, { type: u.pluralType }).select(p - (u.offset || 0));
|
|
3701
3754
|
P = u.options[R] || u.options.other;
|
|
3702
3755
|
}
|
|
3703
3756
|
if (!P)
|
|
3704
|
-
throw new
|
|
3757
|
+
throw new Zt(u.value, p, Object.keys(u.options), o);
|
|
3705
3758
|
a.push.apply(a, Ae(P.value, t, r, n, i, p - (u.offset || 0)));
|
|
3706
3759
|
continue;
|
|
3707
3760
|
}
|
|
3708
3761
|
}
|
|
3709
|
-
return
|
|
3762
|
+
return Gi(a);
|
|
3710
3763
|
}
|
|
3711
|
-
function
|
|
3764
|
+
function $i(e, t) {
|
|
3712
3765
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3713
3766
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3714
3767
|
}, {})) : e;
|
|
3715
3768
|
}
|
|
3716
|
-
function
|
|
3769
|
+
function Vi(e, t) {
|
|
3717
3770
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3718
|
-
return r[n] =
|
|
3771
|
+
return r[n] = $i(e[n], t[n]), r;
|
|
3719
3772
|
}, w({}, e)) : e;
|
|
3720
3773
|
}
|
|
3721
|
-
function
|
|
3774
|
+
function Ze(e) {
|
|
3722
3775
|
return {
|
|
3723
3776
|
create: function() {
|
|
3724
3777
|
return {
|
|
@@ -3732,39 +3785,39 @@ function ze(e) {
|
|
|
3732
3785
|
}
|
|
3733
3786
|
};
|
|
3734
3787
|
}
|
|
3735
|
-
function
|
|
3788
|
+
function Xi(e) {
|
|
3736
3789
|
return e === void 0 && (e = {
|
|
3737
3790
|
number: {},
|
|
3738
3791
|
dateTime: {},
|
|
3739
3792
|
pluralRules: {}
|
|
3740
3793
|
}), {
|
|
3741
|
-
getNumberFormat:
|
|
3794
|
+
getNumberFormat: Xe(function() {
|
|
3742
3795
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3743
3796
|
r[n] = arguments[n];
|
|
3744
3797
|
return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3745
3798
|
}, {
|
|
3746
|
-
cache:
|
|
3747
|
-
strategy:
|
|
3799
|
+
cache: Ze(e.number),
|
|
3800
|
+
strategy: We.variadic
|
|
3748
3801
|
}),
|
|
3749
|
-
getDateTimeFormat:
|
|
3802
|
+
getDateTimeFormat: Xe(function() {
|
|
3750
3803
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3751
3804
|
r[n] = arguments[n];
|
|
3752
3805
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3753
3806
|
}, {
|
|
3754
|
-
cache:
|
|
3755
|
-
strategy:
|
|
3807
|
+
cache: Ze(e.dateTime),
|
|
3808
|
+
strategy: We.variadic
|
|
3756
3809
|
}),
|
|
3757
|
-
getPluralRules:
|
|
3810
|
+
getPluralRules: Xe(function() {
|
|
3758
3811
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3759
3812
|
r[n] = arguments[n];
|
|
3760
3813
|
return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
|
|
3761
3814
|
}, {
|
|
3762
|
-
cache:
|
|
3763
|
-
strategy:
|
|
3815
|
+
cache: Ze(e.pluralRules),
|
|
3816
|
+
strategy: We.variadic
|
|
3764
3817
|
})
|
|
3765
3818
|
};
|
|
3766
3819
|
}
|
|
3767
|
-
var
|
|
3820
|
+
var Wi = (
|
|
3768
3821
|
/** @class */
|
|
3769
3822
|
function() {
|
|
3770
3823
|
function e(t, r, n, i) {
|
|
@@ -3796,13 +3849,13 @@ var $i = (
|
|
|
3796
3849
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3797
3850
|
var o = i || {};
|
|
3798
3851
|
o.formatters;
|
|
3799
|
-
var a =
|
|
3852
|
+
var a = Tn(o, ["formatters"]);
|
|
3800
3853
|
this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
|
|
3801
3854
|
} else
|
|
3802
3855
|
this.ast = t;
|
|
3803
3856
|
if (!Array.isArray(this.ast))
|
|
3804
3857
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3805
|
-
this.formats =
|
|
3858
|
+
this.formats = Vi(e.formats, n), this.formatters = i && i.formatters || Xi(this.formatterCache);
|
|
3806
3859
|
}
|
|
3807
3860
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3808
3861
|
get: function() {
|
|
@@ -3815,7 +3868,7 @@ var $i = (
|
|
|
3815
3868
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3816
3869
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3817
3870
|
}
|
|
3818
|
-
}, e.__parse =
|
|
3871
|
+
}, e.__parse = Fi, e.formats = {
|
|
3819
3872
|
number: {
|
|
3820
3873
|
integer: {
|
|
3821
3874
|
maximumFractionDigits: 0
|
|
@@ -3876,7 +3929,7 @@ var $i = (
|
|
|
3876
3929
|
}, e;
|
|
3877
3930
|
}()
|
|
3878
3931
|
);
|
|
3879
|
-
function
|
|
3932
|
+
function zi(e, t) {
|
|
3880
3933
|
if (t == null)
|
|
3881
3934
|
return;
|
|
3882
3935
|
if (t in e)
|
|
@@ -3897,92 +3950,92 @@ function Vi(e, t) {
|
|
|
3897
3950
|
n = void 0;
|
|
3898
3951
|
return n;
|
|
3899
3952
|
}
|
|
3900
|
-
const z = {},
|
|
3953
|
+
const z = {}, Zi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Mr = (e, t) => {
|
|
3901
3954
|
if (t == null)
|
|
3902
3955
|
return;
|
|
3903
3956
|
if (t in z && e in z[t])
|
|
3904
3957
|
return z[t][e];
|
|
3905
|
-
const r =
|
|
3958
|
+
const r = Ne(t);
|
|
3906
3959
|
for (let n = 0; n < r.length; n++) {
|
|
3907
|
-
const i = r[n], s =
|
|
3960
|
+
const i = r[n], s = qi(i, e);
|
|
3908
3961
|
if (s)
|
|
3909
|
-
return
|
|
3962
|
+
return Zi(e, t, s);
|
|
3910
3963
|
}
|
|
3911
3964
|
};
|
|
3912
|
-
let
|
|
3965
|
+
let pt;
|
|
3913
3966
|
const ae = Re({});
|
|
3914
|
-
function
|
|
3915
|
-
return
|
|
3967
|
+
function Ji(e) {
|
|
3968
|
+
return pt[e] || null;
|
|
3916
3969
|
}
|
|
3917
|
-
function
|
|
3918
|
-
return e in
|
|
3970
|
+
function Nr(e) {
|
|
3971
|
+
return e in pt;
|
|
3919
3972
|
}
|
|
3920
|
-
function
|
|
3921
|
-
if (!
|
|
3973
|
+
function qi(e, t) {
|
|
3974
|
+
if (!Nr(e))
|
|
3922
3975
|
return null;
|
|
3923
|
-
const r =
|
|
3924
|
-
return
|
|
3976
|
+
const r = Ji(e);
|
|
3977
|
+
return zi(r, t);
|
|
3925
3978
|
}
|
|
3926
|
-
function
|
|
3979
|
+
function Qi(e) {
|
|
3927
3980
|
if (e == null)
|
|
3928
3981
|
return;
|
|
3929
|
-
const t =
|
|
3982
|
+
const t = Ne(e);
|
|
3930
3983
|
for (let r = 0; r < t.length; r++) {
|
|
3931
3984
|
const n = t[r];
|
|
3932
|
-
if (
|
|
3985
|
+
if (Nr(n))
|
|
3933
3986
|
return n;
|
|
3934
3987
|
}
|
|
3935
3988
|
}
|
|
3936
|
-
function
|
|
3937
|
-
delete z[e], ae.update((r) => (r[e] =
|
|
3989
|
+
function Dr(e, ...t) {
|
|
3990
|
+
delete z[e], ae.update((r) => (r[e] = ri.all([r[e] || {}, ...t]), r));
|
|
3938
3991
|
}
|
|
3939
3992
|
oe(
|
|
3940
3993
|
[ae],
|
|
3941
3994
|
([e]) => Object.keys(e)
|
|
3942
3995
|
);
|
|
3943
|
-
ae.subscribe((e) =>
|
|
3996
|
+
ae.subscribe((e) => pt = e);
|
|
3944
3997
|
const Pe = {};
|
|
3945
|
-
function
|
|
3998
|
+
function Yi(e, t) {
|
|
3946
3999
|
Pe[e].delete(t), Pe[e].size === 0 && delete Pe[e];
|
|
3947
4000
|
}
|
|
3948
|
-
function
|
|
4001
|
+
function Fr(e) {
|
|
3949
4002
|
return Pe[e];
|
|
3950
4003
|
}
|
|
3951
|
-
function
|
|
3952
|
-
return
|
|
3953
|
-
const r =
|
|
4004
|
+
function Ki(e) {
|
|
4005
|
+
return Ne(e).map((t) => {
|
|
4006
|
+
const r = Fr(t);
|
|
3954
4007
|
return [t, r ? [...r] : []];
|
|
3955
4008
|
}).filter(([, t]) => t.length > 0);
|
|
3956
4009
|
}
|
|
3957
|
-
function
|
|
3958
|
-
return e == null ? !1 :
|
|
4010
|
+
function lt(e) {
|
|
4011
|
+
return e == null ? !1 : Ne(e).some(
|
|
3959
4012
|
(t) => {
|
|
3960
4013
|
var r;
|
|
3961
|
-
return (r =
|
|
4014
|
+
return (r = Fr(t)) == null ? void 0 : r.size;
|
|
3962
4015
|
}
|
|
3963
4016
|
);
|
|
3964
4017
|
}
|
|
3965
|
-
function
|
|
4018
|
+
function es(e, t) {
|
|
3966
4019
|
return Promise.all(
|
|
3967
|
-
t.map((n) => (
|
|
3968
|
-
).then((n) =>
|
|
4020
|
+
t.map((n) => (Yi(e, n), n().then((i) => i.default || i)))
|
|
4021
|
+
).then((n) => Dr(e, ...n));
|
|
3969
4022
|
}
|
|
3970
4023
|
const fe = {};
|
|
3971
|
-
function
|
|
3972
|
-
if (!
|
|
4024
|
+
function Ur(e) {
|
|
4025
|
+
if (!lt(e))
|
|
3973
4026
|
return e in fe ? fe[e] : Promise.resolve();
|
|
3974
|
-
const t =
|
|
4027
|
+
const t = Ki(e);
|
|
3975
4028
|
return fe[e] = Promise.all(
|
|
3976
4029
|
t.map(
|
|
3977
|
-
([r, n]) =>
|
|
4030
|
+
([r, n]) => es(r, n)
|
|
3978
4031
|
)
|
|
3979
4032
|
).then(() => {
|
|
3980
|
-
if (
|
|
3981
|
-
return
|
|
4033
|
+
if (lt(e))
|
|
4034
|
+
return Ur(e);
|
|
3982
4035
|
delete fe[e];
|
|
3983
4036
|
}), fe[e];
|
|
3984
4037
|
}
|
|
3985
|
-
const
|
|
4038
|
+
const ts = {
|
|
3986
4039
|
number: {
|
|
3987
4040
|
scientific: { notation: "scientific" },
|
|
3988
4041
|
engineering: { notation: "engineering" },
|
|
@@ -4011,57 +4064,57 @@ const Yi = {
|
|
|
4011
4064
|
timeZoneName: "short"
|
|
4012
4065
|
}
|
|
4013
4066
|
}
|
|
4014
|
-
},
|
|
4067
|
+
}, rs = {
|
|
4015
4068
|
fallbackLocale: null,
|
|
4016
4069
|
loadingDelay: 200,
|
|
4017
|
-
formats:
|
|
4070
|
+
formats: ts,
|
|
4018
4071
|
warnOnMissingMessages: !0,
|
|
4019
4072
|
handleMissingMessage: void 0,
|
|
4020
4073
|
ignoreTag: !0
|
|
4021
|
-
},
|
|
4074
|
+
}, ns = rs;
|
|
4022
4075
|
function se() {
|
|
4023
|
-
return
|
|
4076
|
+
return ns;
|
|
4024
4077
|
}
|
|
4025
|
-
const
|
|
4026
|
-
var
|
|
4078
|
+
const Je = Re(!1);
|
|
4079
|
+
var is = Object.defineProperty, ss = Object.defineProperties, os = Object.getOwnPropertyDescriptors, Jt = Object.getOwnPropertySymbols, as = Object.prototype.hasOwnProperty, us = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? is(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ls = (e, t) => {
|
|
4027
4080
|
for (var r in t || (t = {}))
|
|
4028
|
-
|
|
4029
|
-
if (
|
|
4030
|
-
for (var r of
|
|
4031
|
-
|
|
4081
|
+
as.call(t, r) && qt(e, r, t[r]);
|
|
4082
|
+
if (Jt)
|
|
4083
|
+
for (var r of Jt(t))
|
|
4084
|
+
us.call(t, r) && qt(e, r, t[r]);
|
|
4032
4085
|
return e;
|
|
4033
|
-
},
|
|
4034
|
-
let
|
|
4086
|
+
}, hs = (e, t) => ss(e, os(t));
|
|
4087
|
+
let ht;
|
|
4035
4088
|
const Ce = Re(null);
|
|
4036
|
-
function
|
|
4089
|
+
function Qt(e) {
|
|
4037
4090
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4038
4091
|
}
|
|
4039
|
-
function
|
|
4040
|
-
const r =
|
|
4041
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4092
|
+
function Ne(e, t = se().fallbackLocale) {
|
|
4093
|
+
const r = Qt(e);
|
|
4094
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Qt(t)])] : r;
|
|
4042
4095
|
}
|
|
4043
4096
|
function J() {
|
|
4044
|
-
return
|
|
4097
|
+
return ht ?? void 0;
|
|
4045
4098
|
}
|
|
4046
4099
|
Ce.subscribe((e) => {
|
|
4047
|
-
|
|
4100
|
+
ht = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4048
4101
|
});
|
|
4049
|
-
const
|
|
4050
|
-
if (e &&
|
|
4102
|
+
const fs = (e) => {
|
|
4103
|
+
if (e && Qi(e) && lt(e)) {
|
|
4051
4104
|
const { loadingDelay: t } = se();
|
|
4052
4105
|
let r;
|
|
4053
4106
|
return typeof window < "u" && J() != null && t ? r = window.setTimeout(
|
|
4054
|
-
() =>
|
|
4107
|
+
() => Je.set(!0),
|
|
4055
4108
|
t
|
|
4056
|
-
) :
|
|
4109
|
+
) : Je.set(!0), Ur(e).then(() => {
|
|
4057
4110
|
Ce.set(e);
|
|
4058
4111
|
}).finally(() => {
|
|
4059
|
-
clearTimeout(r),
|
|
4112
|
+
clearTimeout(r), Je.set(!1);
|
|
4060
4113
|
});
|
|
4061
4114
|
}
|
|
4062
4115
|
return Ce.set(e);
|
|
4063
|
-
}, Z =
|
|
4064
|
-
set:
|
|
4116
|
+
}, Z = hs(ls({}, Ce), {
|
|
4117
|
+
set: fs
|
|
4065
4118
|
}), De = (e) => {
|
|
4066
4119
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4067
4120
|
return (n) => {
|
|
@@ -4069,20 +4122,20 @@ const us = (e) => {
|
|
|
4069
4122
|
return i in t ? t[i] : t[i] = e(n);
|
|
4070
4123
|
};
|
|
4071
4124
|
};
|
|
4072
|
-
var
|
|
4125
|
+
var cs = Object.defineProperty, Ie = Object.getOwnPropertySymbols, kr = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable, Yt = (e, t, r) => t in e ? cs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
|
|
4073
4126
|
for (var r in t || (t = {}))
|
|
4074
|
-
|
|
4127
|
+
kr.call(t, r) && Yt(e, r, t[r]);
|
|
4075
4128
|
if (Ie)
|
|
4076
4129
|
for (var r of Ie(t))
|
|
4077
|
-
|
|
4130
|
+
Gr.call(t, r) && Yt(e, r, t[r]);
|
|
4078
4131
|
return e;
|
|
4079
4132
|
}, ue = (e, t) => {
|
|
4080
4133
|
var r = {};
|
|
4081
4134
|
for (var n in e)
|
|
4082
|
-
|
|
4135
|
+
kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4083
4136
|
if (e != null && Ie)
|
|
4084
4137
|
for (var n of Ie(e))
|
|
4085
|
-
t.indexOf(n) < 0 &&
|
|
4138
|
+
t.indexOf(n) < 0 && Gr.call(e, n) && (r[n] = e[n]);
|
|
4086
4139
|
return r;
|
|
4087
4140
|
};
|
|
4088
4141
|
const de = (e, t) => {
|
|
@@ -4090,21 +4143,21 @@ const de = (e, t) => {
|
|
|
4090
4143
|
if (e in r && t in r[e])
|
|
4091
4144
|
return r[e][t];
|
|
4092
4145
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4093
|
-
},
|
|
4146
|
+
}, ms = De(
|
|
4094
4147
|
(e) => {
|
|
4095
4148
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4096
4149
|
if (r == null)
|
|
4097
4150
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4098
4151
|
return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
|
|
4099
4152
|
}
|
|
4100
|
-
),
|
|
4153
|
+
), ps = De(
|
|
4101
4154
|
(e) => {
|
|
4102
4155
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4103
4156
|
if (r == null)
|
|
4104
4157
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4105
4158
|
return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4106
4159
|
}
|
|
4107
|
-
),
|
|
4160
|
+
), ds = De(
|
|
4108
4161
|
(e) => {
|
|
4109
4162
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4110
4163
|
if (r == null)
|
|
@@ -4113,33 +4166,33 @@ const de = (e, t) => {
|
|
|
4113
4166
|
);
|
|
4114
4167
|
return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4115
4168
|
}
|
|
4116
|
-
),
|
|
4169
|
+
), gs = (e = {}) => {
|
|
4117
4170
|
var t = e, {
|
|
4118
4171
|
locale: r = J()
|
|
4119
4172
|
} = t, n = ue(t, [
|
|
4120
4173
|
"locale"
|
|
4121
4174
|
]);
|
|
4122
|
-
return
|
|
4123
|
-
},
|
|
4175
|
+
return ms(dt({ locale: r }, n));
|
|
4176
|
+
}, bs = (e = {}) => {
|
|
4124
4177
|
var t = e, {
|
|
4125
4178
|
locale: r = J()
|
|
4126
4179
|
} = t, n = ue(t, [
|
|
4127
4180
|
"locale"
|
|
4128
4181
|
]);
|
|
4129
|
-
return
|
|
4130
|
-
},
|
|
4182
|
+
return ps(dt({ locale: r }, n));
|
|
4183
|
+
}, ys = (e = {}) => {
|
|
4131
4184
|
var t = e, {
|
|
4132
4185
|
locale: r = J()
|
|
4133
4186
|
} = t, n = ue(t, [
|
|
4134
4187
|
"locale"
|
|
4135
4188
|
]);
|
|
4136
|
-
return
|
|
4137
|
-
},
|
|
4189
|
+
return ds(dt({ locale: r }, n));
|
|
4190
|
+
}, vs = De(
|
|
4138
4191
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4139
|
-
(e, t = J()) => new
|
|
4192
|
+
(e, t = J()) => new Wi(e, t, se().formats, {
|
|
4140
4193
|
ignoreTag: se().ignoreTag
|
|
4141
4194
|
})
|
|
4142
|
-
),
|
|
4195
|
+
), _s = (e, t = {}) => {
|
|
4143
4196
|
var r, n, i, s;
|
|
4144
4197
|
let o = t;
|
|
4145
4198
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -4152,7 +4205,7 @@ const de = (e, t) => {
|
|
|
4152
4205
|
throw new Error(
|
|
4153
4206
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4154
4207
|
);
|
|
4155
|
-
let u =
|
|
4208
|
+
let u = Mr(e, h);
|
|
4156
4209
|
if (!u)
|
|
4157
4210
|
u = (s = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
|
|
4158
4211
|
else if (typeof u != "string")
|
|
@@ -4163,7 +4216,7 @@ const de = (e, t) => {
|
|
|
4163
4216
|
return u;
|
|
4164
4217
|
let c = u;
|
|
4165
4218
|
try {
|
|
4166
|
-
c =
|
|
4219
|
+
c = vs(u, h).format(a);
|
|
4167
4220
|
} catch (p) {
|
|
4168
4221
|
p instanceof Error && console.warn(
|
|
4169
4222
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4171,25 +4224,25 @@ const de = (e, t) => {
|
|
|
4171
4224
|
);
|
|
4172
4225
|
}
|
|
4173
4226
|
return c;
|
|
4174
|
-
},
|
|
4175
|
-
oe([Z], () =>
|
|
4176
|
-
oe([Z], () =>
|
|
4177
|
-
oe([Z], () =>
|
|
4178
|
-
oe([Z, ae], () =>
|
|
4179
|
-
window.emWidgets = { topic:
|
|
4180
|
-
const
|
|
4181
|
-
function
|
|
4227
|
+
}, Es = (e, t) => ys(t).format(e), ws = (e, t) => bs(t).format(e), Ss = (e, t) => gs(t).format(e), xs = (e, t = J()) => Mr(e, t), Ts = oe([Z, ae], () => _s);
|
|
4228
|
+
oe([Z], () => Es);
|
|
4229
|
+
oe([Z], () => ws);
|
|
4230
|
+
oe([Z], () => Ss);
|
|
4231
|
+
oe([Z, ae], () => xs);
|
|
4232
|
+
window.emWidgets = { topic: Un };
|
|
4233
|
+
const Kt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4234
|
+
function Hs({ withLocale: e, translations: t }) {
|
|
4182
4235
|
Z.subscribe((r) => {
|
|
4183
4236
|
r == null && (ae.set(t), Z.set(e));
|
|
4184
4237
|
});
|
|
4185
4238
|
}
|
|
4186
|
-
function
|
|
4187
|
-
|
|
4239
|
+
function er(e, t) {
|
|
4240
|
+
Dr(e, t);
|
|
4188
4241
|
}
|
|
4189
|
-
function
|
|
4242
|
+
function Bs(e) {
|
|
4190
4243
|
Z.set(e);
|
|
4191
4244
|
}
|
|
4192
|
-
const
|
|
4245
|
+
const tr = {
|
|
4193
4246
|
en: {
|
|
4194
4247
|
goToLoginButton: "Go To Login",
|
|
4195
4248
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
@@ -4235,13 +4288,13 @@ const Yt = {
|
|
|
4235
4288
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
4236
4289
|
}
|
|
4237
4290
|
};
|
|
4238
|
-
function
|
|
4291
|
+
function As(e, t) {
|
|
4239
4292
|
if (e) {
|
|
4240
4293
|
const r = document.createElement("style");
|
|
4241
4294
|
r.innerHTML = t, e.appendChild(r);
|
|
4242
4295
|
}
|
|
4243
4296
|
}
|
|
4244
|
-
function
|
|
4297
|
+
function Ps(e, t) {
|
|
4245
4298
|
const r = new URL(t);
|
|
4246
4299
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4247
4300
|
const i = document.createElement("style");
|
|
@@ -4250,7 +4303,7 @@ function Hs(e, t) {
|
|
|
4250
4303
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4251
4304
|
});
|
|
4252
4305
|
}
|
|
4253
|
-
function
|
|
4306
|
+
function Os(e, t, r) {
|
|
4254
4307
|
if (window.emMessageBus) {
|
|
4255
4308
|
const n = document.createElement("style");
|
|
4256
4309
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4270,7 +4323,7 @@ if (typeof window < "u") {
|
|
|
4270
4323
|
}
|
|
4271
4324
|
};
|
|
4272
4325
|
};
|
|
4273
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-
|
|
4326
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-DugGIjlq.js").then(({ default: t }) => {
|
|
4274
4327
|
!customElements.get("general-player-register-form-step1") && customElements.define("general-player-register-form-step1", t.element);
|
|
4275
4328
|
});
|
|
4276
4329
|
}
|
|
@@ -4286,7 +4339,7 @@ if (typeof window < "u") {
|
|
|
4286
4339
|
}
|
|
4287
4340
|
};
|
|
4288
4341
|
};
|
|
4289
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-
|
|
4342
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-p71LzdWX.js").then(({ default: t }) => {
|
|
4290
4343
|
!customElements.get("general-player-register-form-step2") && customElements.define("general-player-register-form-step2", t.element);
|
|
4291
4344
|
});
|
|
4292
4345
|
}
|
|
@@ -4302,7 +4355,7 @@ if (typeof window < "u") {
|
|
|
4302
4355
|
}
|
|
4303
4356
|
};
|
|
4304
4357
|
};
|
|
4305
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-
|
|
4358
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-8H6c1Q-J.js").then(({ default: t }) => {
|
|
4306
4359
|
!customElements.get("general-player-register-form-step3") && customElements.define("general-player-register-form-step3", t.element);
|
|
4307
4360
|
});
|
|
4308
4361
|
}
|
|
@@ -4318,43 +4371,45 @@ if (typeof window < "u") {
|
|
|
4318
4371
|
}
|
|
4319
4372
|
};
|
|
4320
4373
|
};
|
|
4321
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4374
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-gWDpjIxA.js").then(({ default: t }) => {
|
|
4322
4375
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4323
4376
|
});
|
|
4324
4377
|
}
|
|
4325
|
-
function
|
|
4326
|
-
|
|
4378
|
+
function Cs(e) {
|
|
4379
|
+
rn(e, "svelte-1ybwcf6", ".RegisterFormWrapper{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));border-radius:15px}.RegisterFormContainer{padding:25px;height:404px;overflow-y:auto;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-50, #F9F8F8);scrollbar-width:thin}.RegisterFormContainer.RegisterFormContainerMobile{padding:40px 20px;height:65vh;overflow-y:scroll}.RegisterFormContainer::-webkit-scrollbar{width:6px}.RegisterFormContainer::-webkit-scrollbar-track{background:var(--emw--color-gray-50, #F9F8F8)}.RegisterFormContainer::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.RegisterSteps{display:flex;gap:10px;padding:20px 0 30px}.RegisterFirstStepDash,.RegisterSecondStepDash,.RegisterThirdStepDash{width:50px;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6)}.RegisterStepDashColor{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.RegisterStepNext{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}.SMSErrorText{height:80%;display:flex;align-items:center}.RegisterConfirmation{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-top:60px}.RegisterConfirmation svg{width:74px}.RegisterConfirmation .RegisterConfirmationTitle{color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:24px;font-weight:var(--emw--font-weight-normal, 400);text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:22px}.RegisterConfirmationGoToLogin{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}");
|
|
4327
4380
|
}
|
|
4328
|
-
function
|
|
4381
|
+
function Is(e) {
|
|
4329
4382
|
let t, r, n, i, s, o, a, h = (
|
|
4330
4383
|
/*showRegisterStepOne*/
|
|
4331
4384
|
(e[18] || /*showRegisterStepTwo*/
|
|
4332
4385
|
e[19] || /*showRegisterStepThree*/
|
|
4333
|
-
e[20]) &&
|
|
4386
|
+
e[20]) && rr(e)
|
|
4334
4387
|
), l = (
|
|
4335
4388
|
/*showRegisterStepOne*/
|
|
4336
|
-
e[18] &&
|
|
4389
|
+
e[18] && nr(e)
|
|
4337
4390
|
), u = (
|
|
4338
4391
|
/*showRegisterStepTwo*/
|
|
4339
|
-
e[19] &&
|
|
4392
|
+
e[19] && ir(e)
|
|
4340
4393
|
), c = (
|
|
4341
4394
|
/*showRegisterStepThree*/
|
|
4342
|
-
e[20] &&
|
|
4395
|
+
e[20] && sr(e)
|
|
4343
4396
|
);
|
|
4344
4397
|
function p(b, S) {
|
|
4345
4398
|
if (
|
|
4346
4399
|
/*smsverification*/
|
|
4347
4400
|
b[7] && /*showSmsVerification*/
|
|
4348
4401
|
b[21]
|
|
4349
|
-
)
|
|
4402
|
+
)
|
|
4403
|
+
return Rs;
|
|
4350
4404
|
if (
|
|
4351
4405
|
/*smsSendApiFailed*/
|
|
4352
4406
|
b[31]
|
|
4353
|
-
)
|
|
4407
|
+
)
|
|
4408
|
+
return Ls;
|
|
4354
4409
|
}
|
|
4355
4410
|
let y = p(e), g = y && y(e), d = (
|
|
4356
4411
|
/*showConfirmation*/
|
|
4357
|
-
e[22] &&
|
|
4412
|
+
e[22] && or(e)
|
|
4358
4413
|
);
|
|
4359
4414
|
return {
|
|
4360
4415
|
c() {
|
|
@@ -4368,18 +4423,18 @@ function Ps(e) {
|
|
|
4368
4423
|
/*showRegisterStepOne*/
|
|
4369
4424
|
b[18] || /*showRegisterStepTwo*/
|
|
4370
4425
|
b[19] || /*showRegisterStepThree*/
|
|
4371
|
-
b[20] ? h ? h.p(b, S) : (h =
|
|
4372
|
-
b[18] ? l ? l.p(b, S) : (l =
|
|
4373
|
-
b[19] ? u ? u.p(b, S) : (u =
|
|
4374
|
-
b[20] ? c ? c.p(b, S) : (c =
|
|
4375
|
-
b[22] ? d ? d.p(b, S) : (d =
|
|
4426
|
+
b[20] ? h ? h.p(b, S) : (h = rr(b), h.c(), h.m(r, n)) : h && (h.d(1), h = null), /*showRegisterStepOne*/
|
|
4427
|
+
b[18] ? l ? l.p(b, S) : (l = nr(b), l.c(), l.m(r, i)) : l && (l.d(1), l = null), /*showRegisterStepTwo*/
|
|
4428
|
+
b[19] ? u ? u.p(b, S) : (u = ir(b), u.c(), u.m(r, s)) : u && (u.d(1), u = null), /*showRegisterStepThree*/
|
|
4429
|
+
b[20] ? c ? c.p(b, S) : (c = sr(b), c.c(), c.m(r, o)) : c && (c.d(1), c = null), y === (y = p(b)) && g ? g.p(b, S) : (g && g.d(1), g = y && y(b), g && (g.c(), g.m(r, a))), /*showConfirmation*/
|
|
4430
|
+
b[22] ? d ? d.p(b, S) : (d = or(b), d.c(), d.m(r, null)) : d && (d.d(1), d = null);
|
|
4376
4431
|
},
|
|
4377
4432
|
d(b) {
|
|
4378
|
-
b &&
|
|
4433
|
+
b && N(t), h && h.d(), l && l.d(), u && u.d(), c && c.d(), g && g.d(), d && d.d();
|
|
4379
4434
|
}
|
|
4380
4435
|
};
|
|
4381
4436
|
}
|
|
4382
|
-
function
|
|
4437
|
+
function rr(e) {
|
|
4383
4438
|
let t, r, n, i, s, o, a, h, l;
|
|
4384
4439
|
return {
|
|
4385
4440
|
c() {
|
|
@@ -4417,11 +4472,11 @@ function Kt(e) {
|
|
|
4417
4472
|
(u[20] ? "RegisterStepDashColor" : "")) && x(h, "class", l);
|
|
4418
4473
|
},
|
|
4419
4474
|
d(u) {
|
|
4420
|
-
u &&
|
|
4475
|
+
u && N(t), e[41](null);
|
|
4421
4476
|
}
|
|
4422
4477
|
};
|
|
4423
4478
|
}
|
|
4424
|
-
function
|
|
4479
|
+
function nr(e) {
|
|
4425
4480
|
let t, r;
|
|
4426
4481
|
return {
|
|
4427
4482
|
c() {
|
|
@@ -4544,11 +4599,11 @@ function er(e) {
|
|
|
4544
4599
|
);
|
|
4545
4600
|
},
|
|
4546
4601
|
d(n) {
|
|
4547
|
-
n &&
|
|
4602
|
+
n && N(t);
|
|
4548
4603
|
}
|
|
4549
4604
|
};
|
|
4550
4605
|
}
|
|
4551
|
-
function
|
|
4606
|
+
function ir(e) {
|
|
4552
4607
|
let t, r;
|
|
4553
4608
|
return {
|
|
4554
4609
|
c() {
|
|
@@ -4671,11 +4726,11 @@ function tr(e) {
|
|
|
4671
4726
|
);
|
|
4672
4727
|
},
|
|
4673
4728
|
d(n) {
|
|
4674
|
-
n &&
|
|
4729
|
+
n && N(t);
|
|
4675
4730
|
}
|
|
4676
4731
|
};
|
|
4677
4732
|
}
|
|
4678
|
-
function
|
|
4733
|
+
function sr(e) {
|
|
4679
4734
|
let t, r;
|
|
4680
4735
|
return {
|
|
4681
4736
|
c() {
|
|
@@ -4831,11 +4886,11 @@ function rr(e) {
|
|
|
4831
4886
|
);
|
|
4832
4887
|
},
|
|
4833
4888
|
d(n) {
|
|
4834
|
-
n &&
|
|
4889
|
+
n && N(t);
|
|
4835
4890
|
}
|
|
4836
4891
|
};
|
|
4837
4892
|
}
|
|
4838
|
-
function
|
|
4893
|
+
function Ls(e) {
|
|
4839
4894
|
let t, r = (
|
|
4840
4895
|
/*$_*/
|
|
4841
4896
|
e[34]("error") + ""
|
|
@@ -4853,22 +4908,22 @@ function Os(e) {
|
|
|
4853
4908
|
i[34]("error") + "") && K(n, r);
|
|
4854
4909
|
},
|
|
4855
4910
|
d(i) {
|
|
4856
|
-
i &&
|
|
4911
|
+
i && N(t);
|
|
4857
4912
|
}
|
|
4858
4913
|
};
|
|
4859
4914
|
}
|
|
4860
|
-
function
|
|
4915
|
+
function Rs(e) {
|
|
4861
4916
|
let t;
|
|
4862
4917
|
function r(s, o) {
|
|
4863
4918
|
return (
|
|
4864
4919
|
/*smsSendApiFailed*/
|
|
4865
|
-
s[31] ?
|
|
4920
|
+
s[31] ? Ms : Ns
|
|
4866
4921
|
);
|
|
4867
4922
|
}
|
|
4868
4923
|
let n = r(e), i = n(e);
|
|
4869
4924
|
return {
|
|
4870
4925
|
c() {
|
|
4871
|
-
i.c(), t =
|
|
4926
|
+
i.c(), t = on();
|
|
4872
4927
|
},
|
|
4873
4928
|
m(s, o) {
|
|
4874
4929
|
i.m(s, o), F(s, t, o);
|
|
@@ -4877,11 +4932,11 @@ function Cs(e) {
|
|
|
4877
4932
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t.parentNode, t)));
|
|
4878
4933
|
},
|
|
4879
4934
|
d(s) {
|
|
4880
|
-
s &&
|
|
4935
|
+
s && N(t), i.d(s);
|
|
4881
4936
|
}
|
|
4882
4937
|
};
|
|
4883
4938
|
}
|
|
4884
|
-
function
|
|
4939
|
+
function Ms(e) {
|
|
4885
4940
|
let t, r = (
|
|
4886
4941
|
/*$_*/
|
|
4887
4942
|
e[34]("error") + ""
|
|
@@ -4899,11 +4954,11 @@ function Is(e) {
|
|
|
4899
4954
|
i[34]("error") + "") && K(n, r);
|
|
4900
4955
|
},
|
|
4901
4956
|
d(i) {
|
|
4902
|
-
i &&
|
|
4957
|
+
i && N(t);
|
|
4903
4958
|
}
|
|
4904
4959
|
};
|
|
4905
4960
|
}
|
|
4906
|
-
function
|
|
4961
|
+
function Ns(e) {
|
|
4907
4962
|
let t;
|
|
4908
4963
|
return {
|
|
4909
4964
|
c() {
|
|
@@ -5004,15 +5059,15 @@ function Ls(e) {
|
|
|
5004
5059
|
);
|
|
5005
5060
|
},
|
|
5006
5061
|
d(r) {
|
|
5007
|
-
r &&
|
|
5062
|
+
r && N(t);
|
|
5008
5063
|
}
|
|
5009
5064
|
};
|
|
5010
5065
|
}
|
|
5011
|
-
function
|
|
5066
|
+
function or(e) {
|
|
5012
5067
|
let t, r, n, i, s, o, a, h, l, u, c, p, y, g, d, b, S, O = (
|
|
5013
5068
|
/*$_*/
|
|
5014
5069
|
e[34]("goToLoginButton") + ""
|
|
5015
|
-
), P, R,
|
|
5070
|
+
), P, R, M;
|
|
5016
5071
|
return {
|
|
5017
5072
|
c() {
|
|
5018
5073
|
t = B("div"), r = Se("svg"), n = Se("defs"), i = Se("style"), s = $(".a{fill:#var(--emw--color-valid, var(--emw--color-green, #48952a));}"), o = Se("path"), a = U(), h = B("h2"), l = $(
|
|
@@ -5027,7 +5082,7 @@ function nr(e) {
|
|
|
5027
5082
|
), b = U(), S = B("button"), P = $(O), x(o, "class", "a"), x(o, "d", "M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "viewBox", "0 0 73.95 51"), x(h, "class", "RegisterConfirmationTitle"), x(c, "class", "RegisterConfirmationSubtitle"), x(g, "class", "RegisterConfirmationNote"), x(S, "class", "RegisterConfirmationGoToLogin"), x(t, "class", "RegisterConfirmation");
|
|
5028
5083
|
},
|
|
5029
5084
|
m(C, D) {
|
|
5030
|
-
F(C, t, D), E(t, r), E(r, n), E(n, i), E(i, s), E(r, o), E(t, a), E(t, h), E(h, l), E(t, u), E(t, c), E(c, p), E(t, y), E(t, g), E(g, d), E(t, b), E(t, S), E(S, P), R || (
|
|
5085
|
+
F(C, t, D), E(t, r), E(r, n), E(n, i), E(i, s), E(r, o), E(t, a), E(t, h), E(h, l), E(t, u), E(t, c), E(c, p), E(t, y), E(t, g), E(g, d), E(t, b), E(t, S), E(S, P), R || (M = an(
|
|
5031
5086
|
S,
|
|
5032
5087
|
"click",
|
|
5033
5088
|
/*switchToLogin*/
|
|
@@ -5055,14 +5110,14 @@ function nr(e) {
|
|
|
5055
5110
|
C[34]("goToLoginButton") + "") && K(P, O);
|
|
5056
5111
|
},
|
|
5057
5112
|
d(C) {
|
|
5058
|
-
C &&
|
|
5113
|
+
C && N(t), R = !1, M();
|
|
5059
5114
|
}
|
|
5060
5115
|
};
|
|
5061
5116
|
}
|
|
5062
|
-
function
|
|
5117
|
+
function Ds(e) {
|
|
5063
5118
|
let t;
|
|
5064
5119
|
function r(s, o) {
|
|
5065
|
-
return
|
|
5120
|
+
return Is;
|
|
5066
5121
|
}
|
|
5067
5122
|
let i = r()(e);
|
|
5068
5123
|
return {
|
|
@@ -5078,48 +5133,48 @@ function Rs(e) {
|
|
|
5078
5133
|
i: k,
|
|
5079
5134
|
o: k,
|
|
5080
5135
|
d(s) {
|
|
5081
|
-
s &&
|
|
5136
|
+
s && N(t), i.d(), e[42](null);
|
|
5082
5137
|
}
|
|
5083
5138
|
};
|
|
5084
5139
|
}
|
|
5085
|
-
let
|
|
5086
|
-
function
|
|
5140
|
+
let Fs = "Please use this code {0} to activate your account";
|
|
5141
|
+
function Us(e, t, r) {
|
|
5087
5142
|
let n;
|
|
5088
|
-
|
|
5089
|
-
let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: h = "" } = t, { captchakey: l = "" } = t, { lang: u = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: p = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: d = "false" } = t, { userroles: b = "" } = t, { mbsource: S } = t, { clientstyling: O = "" } = t, { clientstylingurl: P = "" } = t, { translationurl: R = "" } = t, { savecredentials:
|
|
5090
|
-
|
|
5091
|
-
const
|
|
5143
|
+
tn(e, Ts, (f) => r(34, n = f));
|
|
5144
|
+
let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: h = "" } = t, { captchakey: l = "" } = t, { lang: u = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: p = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: d = "false" } = t, { userroles: b = "" } = t, { mbsource: S } = t, { clientstyling: O = "" } = t, { clientstylingurl: P = "" } = t, { translationurl: R = "" } = t, { savecredentials: M = "" } = t, { custominputtextswitch: C = "false" } = t, { personalidlength: D = "13" } = t, G, gt = "", Fe = !0, le = !1, be = !1, Ue = !1, ke = !1, ye, bt = !1, yt = "", vt = "", _t = "", Et = window.navigator.userAgent, jr = Kt(Et) !== "PC", j = {}, wt = !1, St = !1, Ge = "false", xt = "false", Tt = "false", Ht = "false", Bt = "", At, ve = !1, Pt, _e;
|
|
5145
|
+
Hs({ withLocale: "en", translations: {} });
|
|
5146
|
+
const $r = () => {
|
|
5092
5147
|
fetch(R).then((H) => H.json()).then((H) => {
|
|
5093
5148
|
Object.keys(H).forEach((I) => {
|
|
5094
|
-
|
|
5149
|
+
er(I, H[I]);
|
|
5095
5150
|
});
|
|
5096
5151
|
}).catch((H) => {
|
|
5097
5152
|
console.log(H);
|
|
5098
5153
|
});
|
|
5099
5154
|
};
|
|
5100
|
-
Object.keys(
|
|
5101
|
-
|
|
5155
|
+
Object.keys(tr).forEach((f) => {
|
|
5156
|
+
er(f, tr[f]);
|
|
5102
5157
|
});
|
|
5103
|
-
const
|
|
5158
|
+
const Vr = () => {
|
|
5104
5159
|
fetch(`${i}/v1/player/consentRequirements`).then((f) => f.json()).then((f) => {
|
|
5105
5160
|
f.items.length > 0 ? (r(26, Ge = "true"), f.items.forEach((H) => {
|
|
5106
5161
|
switch (H.tagCode) {
|
|
5107
5162
|
case "termsandconditions":
|
|
5108
|
-
r(27,
|
|
5163
|
+
r(27, xt = "true");
|
|
5109
5164
|
break;
|
|
5110
5165
|
case "sms":
|
|
5111
|
-
r(28,
|
|
5166
|
+
r(28, Tt = "true");
|
|
5112
5167
|
break;
|
|
5113
5168
|
case "emailmarketing":
|
|
5114
|
-
r(29,
|
|
5169
|
+
r(29, Ht = "true");
|
|
5115
5170
|
break;
|
|
5116
5171
|
}
|
|
5117
5172
|
})) : r(26, Ge = "false");
|
|
5118
5173
|
});
|
|
5119
|
-
},
|
|
5120
|
-
let f = new URL(`${s}/${u}/login-register-content?env=${o}`), H =
|
|
5174
|
+
}, Xr = () => {
|
|
5175
|
+
let f = new URL(`${s}/${u}/login-register-content?env=${o}`), H = Kt(Et);
|
|
5121
5176
|
H && (H === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((I) => I.json()).then((I) => {
|
|
5122
|
-
ye = I.registerData, r(23,
|
|
5177
|
+
ye = I.registerData, r(23, yt = ye.title), r(24, vt = ye.subtitle), r(25, _t = ye.content);
|
|
5123
5178
|
}).catch((I) => {
|
|
5124
5179
|
console.error(I);
|
|
5125
5180
|
});
|
|
@@ -5127,19 +5182,19 @@ function Ms(e, t, r) {
|
|
|
5127
5182
|
_e.scrollIntoView();
|
|
5128
5183
|
}, he = (f) => {
|
|
5129
5184
|
for (const H in f)
|
|
5130
|
-
j[H] = f[H], H === "mobile" && r(32,
|
|
5185
|
+
j[H] = f[H], H === "mobile" && r(32, Pt = `${f[H].prefix}${f[H].number}`);
|
|
5131
5186
|
j.affiliateMarker = j.promoCode ? j.promoCode : h ?? "";
|
|
5132
|
-
},
|
|
5187
|
+
}, Ot = (f) => {
|
|
5133
5188
|
if (f.data)
|
|
5134
5189
|
switch (f.data.type) {
|
|
5135
5190
|
case "RegisterStepOne":
|
|
5136
|
-
he(f.data.registerStepOneData), Ee(), r(18, Fe = !1), r(19, le = !0),
|
|
5191
|
+
he(f.data.registerStepOneData), Ee(), r(18, Fe = !1), r(19, le = !0), wt == !1 ? wt = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
|
|
5137
5192
|
break;
|
|
5138
5193
|
case "RegisterStepTwo":
|
|
5139
|
-
he(f.data.registerStepTwoData), Ee(), r(19, le = !1), r(20, be = !0),
|
|
5194
|
+
he(f.data.registerStepTwoData), Ee(), r(19, le = !1), r(20, be = !0), St == !1 ? St = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: j }, window.location.href);
|
|
5140
5195
|
break;
|
|
5141
5196
|
case "RegisterStepThree":
|
|
5142
|
-
he(f.data.registerStepThreeData),
|
|
5197
|
+
he(f.data.registerStepThreeData), zr(j);
|
|
5143
5198
|
break;
|
|
5144
5199
|
case "SmsHasBeenValidated":
|
|
5145
5200
|
r(22, ke = !0), r(21, Ue = !1);
|
|
@@ -5151,9 +5206,9 @@ function Ms(e, t, r) {
|
|
|
5151
5206
|
he(f.data.registerStepThreeData), Ee(), r(19, le = !0), r(20, be = !1), window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
|
|
5152
5207
|
break;
|
|
5153
5208
|
}
|
|
5154
|
-
},
|
|
5209
|
+
}, Wr = () => {
|
|
5155
5210
|
typeof gtag == "function" && gtag("event", "Register", { context: "GeneralPlayerRegisterForm" });
|
|
5156
|
-
},
|
|
5211
|
+
}, zr = async (f) => {
|
|
5157
5212
|
f.language = u;
|
|
5158
5213
|
let H = {
|
|
5159
5214
|
method: "PUT",
|
|
@@ -5164,15 +5219,15 @@ function Ms(e, t, r) {
|
|
|
5164
5219
|
},
|
|
5165
5220
|
body: JSON.stringify(f)
|
|
5166
5221
|
}, I = await fetch(`${i}/v1/player/register`, H), W = await I.json();
|
|
5167
|
-
I.ok ? (r(20, be = !1), g === "false" ? r(22, ke = !0) : (r(17,
|
|
5222
|
+
I.ok ? (r(20, be = !1), g === "false" ? r(22, ke = !0) : (r(17, gt = W.id), Zr(f, W.id)), f.username, f.password, Wr()) : (Bt = W.error.substring(W.error.indexOf("errorMessage") + 13, W.error.length), bt = !0, window.postMessage(
|
|
5168
5223
|
{
|
|
5169
5224
|
type: "ShowRegistrationError",
|
|
5170
|
-
showError:
|
|
5171
|
-
error:
|
|
5225
|
+
showError: bt,
|
|
5226
|
+
error: Bt
|
|
5172
5227
|
},
|
|
5173
5228
|
window.location.href
|
|
5174
5229
|
));
|
|
5175
|
-
},
|
|
5230
|
+
}, Zr = async (f, H) => {
|
|
5176
5231
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
5177
5232
|
try {
|
|
5178
5233
|
const I = await fetch(`${i}/v1/player/sms/token`, {
|
|
@@ -5183,53 +5238,53 @@ function Ms(e, t, r) {
|
|
|
5183
5238
|
},
|
|
5184
5239
|
body: JSON.stringify({
|
|
5185
5240
|
userId: H,
|
|
5186
|
-
messageTemplate:
|
|
5241
|
+
messageTemplate: Fs,
|
|
5187
5242
|
destination: `${f.mobile.prefix}${f.mobile.number}`
|
|
5188
5243
|
})
|
|
5189
5244
|
}), W = await I.json();
|
|
5190
5245
|
if (I.ok) {
|
|
5191
|
-
r(30,
|
|
5192
|
-
let
|
|
5246
|
+
r(30, At = W.id);
|
|
5247
|
+
let Gs = W.maxValidationAttempts;
|
|
5193
5248
|
r(21, Ue = !0), r(31, ve = !1);
|
|
5194
5249
|
} else
|
|
5195
5250
|
throw r(31, ve = !0), new Error("Failed to fetch");
|
|
5196
5251
|
} catch (I) {
|
|
5197
5252
|
r(31, ve = !0), console.error(I);
|
|
5198
5253
|
}
|
|
5199
|
-
},
|
|
5254
|
+
}, Jr = () => {
|
|
5200
5255
|
p.split(",");
|
|
5201
|
-
},
|
|
5256
|
+
}, qr = () => {
|
|
5202
5257
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
5203
|
-
},
|
|
5204
|
-
|
|
5258
|
+
}, Qr = () => {
|
|
5259
|
+
Bs(u);
|
|
5205
5260
|
};
|
|
5206
|
-
|
|
5207
|
-
window.removeEventListener("message",
|
|
5261
|
+
fn(() => (window.addEventListener("message", Ot, !1), () => {
|
|
5262
|
+
window.removeEventListener("message", Ot);
|
|
5208
5263
|
}));
|
|
5209
|
-
function
|
|
5264
|
+
function Yr(f) {
|
|
5210
5265
|
Oe[f ? "unshift" : "push"](() => {
|
|
5211
5266
|
_e = f, r(33, _e);
|
|
5212
5267
|
});
|
|
5213
5268
|
}
|
|
5214
|
-
function
|
|
5269
|
+
function Kr(f) {
|
|
5215
5270
|
Oe[f ? "unshift" : "push"](() => {
|
|
5216
5271
|
G = f, r(16, G);
|
|
5217
5272
|
});
|
|
5218
5273
|
}
|
|
5219
5274
|
return e.$$set = (f) => {
|
|
5220
|
-
"endpoint" in f && r(0, i = f.endpoint), "cmsendpoint" in f && r(37, s = f.cmsendpoint), "env" in f && r(38, o = f.env), "session" in f && r(1, a = f.session), "trackedanalyticsdata" in f && r(39, h = f.trackedanalyticsdata), "captchakey" in f && r(2, l = f.captchakey), "lang" in f && r(3, u = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5, p = f.disabledfields), "defaultoptions" in f && r(6, y = f.defaultoptions), "smsverification" in f && r(7, g = f.smsverification), "simplepasswordvalidation" in f && r(8, d = f.simplepasswordvalidation), "userroles" in f && r(40, b = f.userroles), "mbsource" in f && r(9, S = f.mbsource), "clientstyling" in f && r(10, O = f.clientstyling), "clientstylingurl" in f && r(11, P = f.clientstylingurl), "translationurl" in f && r(12, R = f.translationurl), "savecredentials" in f && r(13,
|
|
5275
|
+
"endpoint" in f && r(0, i = f.endpoint), "cmsendpoint" in f && r(37, s = f.cmsendpoint), "env" in f && r(38, o = f.env), "session" in f && r(1, a = f.session), "trackedanalyticsdata" in f && r(39, h = f.trackedanalyticsdata), "captchakey" in f && r(2, l = f.captchakey), "lang" in f && r(3, u = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5, p = f.disabledfields), "defaultoptions" in f && r(6, y = f.defaultoptions), "smsverification" in f && r(7, g = f.smsverification), "simplepasswordvalidation" in f && r(8, d = f.simplepasswordvalidation), "userroles" in f && r(40, b = f.userroles), "mbsource" in f && r(9, S = f.mbsource), "clientstyling" in f && r(10, O = f.clientstyling), "clientstylingurl" in f && r(11, P = f.clientstylingurl), "translationurl" in f && r(12, R = f.translationurl), "savecredentials" in f && r(13, M = f.savecredentials), "custominputtextswitch" in f && r(14, C = f.custominputtextswitch), "personalidlength" in f && r(15, D = f.personalidlength);
|
|
5221
5276
|
}, e.$$.update = () => {
|
|
5222
5277
|
e.$$.dirty[0] & /*endpoint*/
|
|
5223
|
-
1 && i &&
|
|
5278
|
+
1 && i && Vr(), e.$$.dirty[0] & /*lang*/
|
|
5224
5279
|
8 | e.$$.dirty[1] & /*cmsendpoint, env, userroles*/
|
|
5225
|
-
704 && s && u && o && b &&
|
|
5280
|
+
704 && s && u && o && b && Xr(), e.$$.dirty[0] & /*playerid, session*/
|
|
5226
5281
|
131074, e.$$.dirty[0] & /*lang*/
|
|
5227
|
-
8 && u &&
|
|
5228
|
-
32 && p &&
|
|
5229
|
-
66560 && O && G &&
|
|
5230
|
-
67584 && P && G &&
|
|
5231
|
-
66048 && S && G &&
|
|
5232
|
-
4096 && R &&
|
|
5282
|
+
8 && u && Qr(), e.$$.dirty[0] & /*disabledfields*/
|
|
5283
|
+
32 && p && Jr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5284
|
+
66560 && O && G && As(G, O), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5285
|
+
67584 && P && G && Ps(G, P), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5286
|
+
66048 && S && G && Os(G, `${S}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5287
|
+
4096 && R && $r();
|
|
5233
5288
|
}, [
|
|
5234
5289
|
i,
|
|
5235
5290
|
a,
|
|
@@ -5244,46 +5299,46 @@ function Ms(e, t, r) {
|
|
|
5244
5299
|
O,
|
|
5245
5300
|
P,
|
|
5246
5301
|
R,
|
|
5247
|
-
|
|
5302
|
+
M,
|
|
5248
5303
|
C,
|
|
5249
5304
|
D,
|
|
5250
5305
|
G,
|
|
5251
|
-
|
|
5306
|
+
gt,
|
|
5252
5307
|
Fe,
|
|
5253
5308
|
le,
|
|
5254
5309
|
be,
|
|
5255
5310
|
Ue,
|
|
5256
5311
|
ke,
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5312
|
+
yt,
|
|
5313
|
+
vt,
|
|
5314
|
+
_t,
|
|
5260
5315
|
Ge,
|
|
5261
|
-
|
|
5262
|
-
wt,
|
|
5263
|
-
St,
|
|
5316
|
+
xt,
|
|
5264
5317
|
Tt,
|
|
5265
|
-
ve,
|
|
5266
5318
|
Ht,
|
|
5319
|
+
At,
|
|
5320
|
+
ve,
|
|
5321
|
+
Pt,
|
|
5267
5322
|
_e,
|
|
5268
5323
|
n,
|
|
5269
|
-
|
|
5270
|
-
|
|
5324
|
+
jr,
|
|
5325
|
+
qr,
|
|
5271
5326
|
s,
|
|
5272
5327
|
o,
|
|
5273
5328
|
h,
|
|
5274
5329
|
b,
|
|
5275
|
-
|
|
5276
|
-
|
|
5330
|
+
Yr,
|
|
5331
|
+
Kr
|
|
5277
5332
|
];
|
|
5278
5333
|
}
|
|
5279
|
-
class
|
|
5334
|
+
class ks extends Sn {
|
|
5280
5335
|
constructor(t) {
|
|
5281
|
-
super(),
|
|
5336
|
+
super(), En(
|
|
5282
5337
|
this,
|
|
5283
5338
|
t,
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5339
|
+
Us,
|
|
5340
|
+
Ds,
|
|
5341
|
+
ur,
|
|
5287
5342
|
{
|
|
5288
5343
|
endpoint: 0,
|
|
5289
5344
|
cmsendpoint: 37,
|
|
@@ -5306,7 +5361,7 @@ class Ds extends vn {
|
|
|
5306
5361
|
custominputtextswitch: 14,
|
|
5307
5362
|
personalidlength: 15
|
|
5308
5363
|
},
|
|
5309
|
-
|
|
5364
|
+
Cs,
|
|
5310
5365
|
[-1, -1, -1]
|
|
5311
5366
|
);
|
|
5312
5367
|
}
|
|
@@ -5431,43 +5486,43 @@ class Ds extends vn {
|
|
|
5431
5486
|
this.$$set({ personalidlength: t }), A();
|
|
5432
5487
|
}
|
|
5433
5488
|
}
|
|
5434
|
-
|
|
5489
|
+
wn(ks, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
|
|
5435
5490
|
export {
|
|
5436
5491
|
Z as $,
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5492
|
+
Qe as A,
|
|
5493
|
+
Xs as B,
|
|
5494
|
+
zs as C,
|
|
5495
|
+
$s as D,
|
|
5496
|
+
on as E,
|
|
5497
|
+
Ws as F,
|
|
5443
5498
|
ae as G,
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5499
|
+
js as H,
|
|
5500
|
+
ks as I,
|
|
5501
|
+
Sn as S,
|
|
5502
|
+
Dr as a,
|
|
5503
|
+
rn as b,
|
|
5504
|
+
wn as c,
|
|
5505
|
+
U as d,
|
|
5506
|
+
B as e,
|
|
5452
5507
|
A as f,
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5508
|
+
x as g,
|
|
5509
|
+
F as h,
|
|
5510
|
+
En as i,
|
|
5511
|
+
E as j,
|
|
5512
|
+
Vs as k,
|
|
5513
|
+
an as l,
|
|
5514
|
+
K as m,
|
|
5460
5515
|
k as n,
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5516
|
+
N as o,
|
|
5517
|
+
tn as p,
|
|
5518
|
+
fn as q,
|
|
5464
5519
|
ge as r,
|
|
5465
|
-
|
|
5520
|
+
ur as s,
|
|
5466
5521
|
$ as t,
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5522
|
+
Ps as u,
|
|
5523
|
+
Os as v,
|
|
5524
|
+
Oe as w,
|
|
5525
|
+
As as x,
|
|
5526
|
+
Se as y,
|
|
5527
|
+
Ts as z
|
|
5473
5528
|
};
|