@everymatrix/general-player-register-form-nd 1.74.10 → 1.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralPlayerRegisterFormNd-GoBYaeYc.js → GeneralPlayerRegisterFormNd-B81vMd6o.js} +706 -692
- package/components/GeneralPlayerRegisterFormNd-DVeAF24W.cjs +18 -0
- package/components/{GeneralPlayerRegisterFormNd-C1JQ8ARs.js → GeneralPlayerRegisterFormNd-DsMvfO2O.js} +716 -702
- package/components/{GeneralPlayerRegisterFormStep1-PNHf13iF.cjs → GeneralPlayerRegisterFormStep1-B1yUji7Q.cjs} +1 -1
- package/components/{GeneralPlayerRegisterFormStep1-BukkWYjI.js → GeneralPlayerRegisterFormStep1-ChAgwOVE.js} +4 -4
- package/components/{GeneralPlayerRegisterFormStep1-BqlRLeii.js → GeneralPlayerRegisterFormStep1-ChHWqbZT.js} +4 -4
- package/components/{GeneralPlayerRegisterFormStep2-CSz_dCaX.cjs → GeneralPlayerRegisterFormStep2-DOr7-P-1.cjs} +2 -2
- package/components/{GeneralPlayerRegisterFormStep2-DBnZ9YrY.js → GeneralPlayerRegisterFormStep2-m-1TTcWc.js} +991 -991
- package/components/{GeneralPlayerRegisterFormStep2-To7K540j.js → GeneralPlayerRegisterFormStep2-wd8bqKAA.js} +986 -986
- package/components/{GeneralPlayerRegisterFormStep3-CzA9W6SQ.js → GeneralPlayerRegisterFormStep3-BWdiFMfP.js} +5 -5
- package/components/{GeneralPlayerRegisterFormStep3-CcFGaz76.js → GeneralPlayerRegisterFormStep3-CakxX22B.js} +5 -5
- package/components/{GeneralPlayerRegisterFormStep3-Bo5g25HL.cjs → GeneralPlayerRegisterFormStep3-DRKlVOfe.cjs} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-Cz9dvc1N.js → GeneralPlayerSmsVerificationForm-7Ta2HmaS.js} +5 -5
- package/components/{GeneralPlayerSmsVerificationForm-DhT7I5pU.js → GeneralPlayerSmsVerificationForm-BLNcr3Lk.js} +5 -5
- package/components/{GeneralPlayerSmsVerificationForm-DcYEcOTa.cjs → GeneralPlayerSmsVerificationForm-yHLU83KN.cjs} +1 -1
- 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-BTl6uATk.cjs +0 -18
|
@@ -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,20 +31,20 @@ function ar(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
|
|
47
|
+
function nn(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,7 +54,7 @@ function en(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function sn(e, t) {
|
|
58
58
|
return E(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
@@ -64,17 +64,17 @@ function tn(e, t) {
|
|
|
64
64
|
function F(e, t, r) {
|
|
65
65
|
e.insertBefore(t, r || null);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function N(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function $s(e, t) {
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
74
74
|
function B(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Se(e) {
|
|
78
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
79
|
}
|
|
80
80
|
function $(e) {
|
|
@@ -83,30 +83,30 @@ function $(e) {
|
|
|
83
83
|
function U() {
|
|
84
84
|
return $(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function on() {
|
|
87
87
|
return $("");
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function an(e, t, r, n) {
|
|
90
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function x(e, t, r) {
|
|
93
93
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
94
94
|
}
|
|
95
95
|
function m(e, t, r) {
|
|
96
96
|
const n = t.toLowerCase();
|
|
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 :
|
|
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);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function un(e) {
|
|
100
100
|
return Array.from(e.childNodes);
|
|
101
101
|
}
|
|
102
102
|
function K(e, t) {
|
|
103
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
104
104
|
t);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function Vs(e, t) {
|
|
107
107
|
e.value = t ?? "";
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Xs(e, t, r) {
|
|
110
110
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
111
111
|
const i = e.options[n];
|
|
112
112
|
if (i.__value === t) {
|
|
@@ -116,11 +116,11 @@ function $s(e, t, r) {
|
|
|
116
116
|
}
|
|
117
117
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Ws(e) {
|
|
120
120
|
const t = e.querySelector(":checked");
|
|
121
121
|
return t && t.__value;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function ln(e) {
|
|
124
124
|
const t = {};
|
|
125
125
|
return e.childNodes.forEach(
|
|
126
126
|
/** @param {Element} node */
|
|
@@ -133,22 +133,22 @@ let me;
|
|
|
133
133
|
function ce(e) {
|
|
134
134
|
me = e;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function hn() {
|
|
137
137
|
if (!me)
|
|
138
138
|
throw new Error("Function called outside component initialization");
|
|
139
139
|
return me;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
142
|
-
|
|
141
|
+
function fn(e) {
|
|
142
|
+
hn().$$.on_mount.push(e);
|
|
143
143
|
}
|
|
144
144
|
const Y = [], Oe = [];
|
|
145
145
|
let ee = [];
|
|
146
|
-
const
|
|
147
|
-
let
|
|
148
|
-
function
|
|
149
|
-
|
|
146
|
+
const It = [], cn = /* @__PURE__ */ Promise.resolve();
|
|
147
|
+
let qe = !1;
|
|
148
|
+
function mn() {
|
|
149
|
+
qe || (qe = !0, cn.then(A));
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function Qe(e) {
|
|
152
152
|
ee.push(e);
|
|
153
153
|
}
|
|
154
154
|
const je = /* @__PURE__ */ new Set();
|
|
@@ -161,7 +161,7 @@ function A() {
|
|
|
161
161
|
try {
|
|
162
162
|
for (; q < Y.length; ) {
|
|
163
163
|
const t = Y[q];
|
|
164
|
-
q++, ce(t),
|
|
164
|
+
q++, ce(t), pn(t.$$);
|
|
165
165
|
}
|
|
166
166
|
} catch (t) {
|
|
167
167
|
throw Y.length = 0, q = 0, t;
|
|
@@ -174,43 +174,43 @@ function A() {
|
|
|
174
174
|
}
|
|
175
175
|
ee.length = 0;
|
|
176
176
|
} while (Y.length);
|
|
177
|
-
for (;
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
for (; It.length; )
|
|
178
|
+
It.pop()();
|
|
179
|
+
qe = !1, je.clear(), ce(e);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function pn(e) {
|
|
182
182
|
if (e.fragment !== null) {
|
|
183
183
|
e.update(), ge(e.before_update);
|
|
184
184
|
const t = e.dirty;
|
|
185
|
-
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);
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function dn(e) {
|
|
189
189
|
const t = [], r = [];
|
|
190
190
|
ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
|
|
191
191
|
}
|
|
192
|
-
const
|
|
193
|
-
function
|
|
194
|
-
e && e.i && (
|
|
192
|
+
const gn = /* @__PURE__ */ new Set();
|
|
193
|
+
function bn(e, t) {
|
|
194
|
+
e && e.i && (gn.delete(e), e.i(t));
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function zs(e) {
|
|
197
197
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function yn(e, t, r) {
|
|
200
200
|
const { fragment: n, after_update: i } = e.$$;
|
|
201
|
-
n && n.m(t, r),
|
|
202
|
-
const s = e.$$.on_mount.map(
|
|
201
|
+
n && n.m(t, r), Qe(() => {
|
|
202
|
+
const s = e.$$.on_mount.map(ar).filter(ft);
|
|
203
203
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ge(s), e.$$.on_mount = [];
|
|
204
|
-
}), i.forEach(
|
|
204
|
+
}), i.forEach(Qe);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function vn(e, t) {
|
|
207
207
|
const r = e.$$;
|
|
208
|
-
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 = []);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
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;
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function En(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
214
214
|
const h = me;
|
|
215
215
|
ce(e);
|
|
216
216
|
const l = e.$$ = {
|
|
@@ -220,7 +220,7 @@ function yn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
220
220
|
props: s,
|
|
221
221
|
update: k,
|
|
222
222
|
not_equal: i,
|
|
223
|
-
bound:
|
|
223
|
+
bound: Ct(),
|
|
224
224
|
// lifecycle
|
|
225
225
|
on_mount: [],
|
|
226
226
|
on_destroy: [],
|
|
@@ -229,28 +229,28 @@ function yn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
229
229
|
after_update: [],
|
|
230
230
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
231
231
|
// everything else
|
|
232
|
-
callbacks:
|
|
232
|
+
callbacks: Ct(),
|
|
233
233
|
dirty: a,
|
|
234
234
|
skip_bound: !1,
|
|
235
235
|
root: t.target || h.$$.root
|
|
236
236
|
};
|
|
237
237
|
o && o(l.root);
|
|
238
238
|
let u = !1;
|
|
239
|
-
if (l.ctx = r ? r(e, t.props || {}, (c,
|
|
240
|
-
const g = y.length ? y[0] :
|
|
241
|
-
return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), u &&
|
|
239
|
+
if (l.ctx = r ? r(e, t.props || {}, (c, p, ...y) => {
|
|
240
|
+
const g = y.length ? y[0] : p;
|
|
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;
|
|
242
242
|
}) : [], l.update(), u = !0, ge(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
243
243
|
if (t.hydrate) {
|
|
244
|
-
const c =
|
|
245
|
-
l.fragment && l.fragment.l(c), c.forEach(
|
|
244
|
+
const c = un(t.target);
|
|
245
|
+
l.fragment && l.fragment.l(c), c.forEach(N);
|
|
246
246
|
} else
|
|
247
247
|
l.fragment && l.fragment.c();
|
|
248
|
-
t.intro &&
|
|
248
|
+
t.intro && bn(e.$$.fragment), yn(e, t.target, t.anchor), A();
|
|
249
249
|
}
|
|
250
250
|
ce(h);
|
|
251
251
|
}
|
|
252
|
-
let
|
|
253
|
-
typeof HTMLElement == "function" && (
|
|
252
|
+
let hr;
|
|
253
|
+
typeof HTMLElement == "function" && (hr = class extends HTMLElement {
|
|
254
254
|
/** The Svelte component constructor */
|
|
255
255
|
$$ctor;
|
|
256
256
|
/** Slots */
|
|
@@ -292,7 +292,7 @@ typeof HTMLElement == "function" && (ur = class extends HTMLElement {
|
|
|
292
292
|
let s;
|
|
293
293
|
return {
|
|
294
294
|
c: function() {
|
|
295
|
-
s = B("slot"), i !== "default" &&
|
|
295
|
+
s = B("slot"), i !== "default" && x(s, "name", i);
|
|
296
296
|
},
|
|
297
297
|
/**
|
|
298
298
|
* @param {HTMLElement} target
|
|
@@ -302,14 +302,14 @@ typeof HTMLElement == "function" && (ur = class extends HTMLElement {
|
|
|
302
302
|
F(h, s, l);
|
|
303
303
|
},
|
|
304
304
|
d: function(h) {
|
|
305
|
-
h &&
|
|
305
|
+
h && N(s);
|
|
306
306
|
}
|
|
307
307
|
};
|
|
308
308
|
};
|
|
309
309
|
};
|
|
310
310
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
311
311
|
return;
|
|
312
|
-
const t = {}, r =
|
|
312
|
+
const t = {}, r = ln(this);
|
|
313
313
|
for (const i of this.$$s)
|
|
314
314
|
i in r && (t[i] = [e(i)]);
|
|
315
315
|
for (const i of this.attributes) {
|
|
@@ -396,8 +396,8 @@ function He(e, t, r, n) {
|
|
|
396
396
|
return t;
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
|
-
function
|
|
400
|
-
let o = class extends
|
|
399
|
+
function wn(e, t, r, n, i, s) {
|
|
400
|
+
let o = class extends hr {
|
|
401
401
|
constructor() {
|
|
402
402
|
super(e, r, i), this.$$p_d = t;
|
|
403
403
|
}
|
|
@@ -425,7 +425,7 @@ function vn(e, t, r, n, i, s) {
|
|
|
425
425
|
}), e.element = /** @type {any} */
|
|
426
426
|
o, o;
|
|
427
427
|
}
|
|
428
|
-
class
|
|
428
|
+
class Sn {
|
|
429
429
|
/**
|
|
430
430
|
* ### PRIVATE API
|
|
431
431
|
*
|
|
@@ -444,7 +444,7 @@ class _n {
|
|
|
444
444
|
$$set = void 0;
|
|
445
445
|
/** @returns {void} */
|
|
446
446
|
$destroy() {
|
|
447
|
-
|
|
447
|
+
vn(this, 1), this.$destroy = k;
|
|
448
448
|
}
|
|
449
449
|
/**
|
|
450
450
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -453,7 +453,7 @@ class _n {
|
|
|
453
453
|
* @returns {() => void}
|
|
454
454
|
*/
|
|
455
455
|
$on(t, r) {
|
|
456
|
-
if (!
|
|
456
|
+
if (!ft(r))
|
|
457
457
|
return k;
|
|
458
458
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
459
459
|
return n.push(r), () => {
|
|
@@ -466,11 +466,11 @@ class _n {
|
|
|
466
466
|
* @returns {void}
|
|
467
467
|
*/
|
|
468
468
|
$set(t) {
|
|
469
|
-
this.$$set && !
|
|
469
|
+
this.$$set && !en(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
const
|
|
473
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
472
|
+
const xn = "4";
|
|
473
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xn);
|
|
474
474
|
/*! *****************************************************************************
|
|
475
475
|
Copyright (c) Microsoft Corporation.
|
|
476
476
|
|
|
@@ -485,18 +485,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
485
485
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
486
486
|
PERFORMANCE OF THIS SOFTWARE.
|
|
487
487
|
***************************************************************************** */
|
|
488
|
-
var
|
|
489
|
-
return
|
|
488
|
+
var Ye = function(e, t) {
|
|
489
|
+
return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
490
490
|
r.__proto__ = n;
|
|
491
491
|
} || function(r, n) {
|
|
492
492
|
for (var i in n)
|
|
493
493
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
494
|
-
},
|
|
494
|
+
}, Ye(e, t);
|
|
495
495
|
};
|
|
496
496
|
function X(e, t) {
|
|
497
497
|
if (typeof t != "function" && t !== null)
|
|
498
498
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
499
|
-
|
|
499
|
+
Ye(e, t);
|
|
500
500
|
function r() {
|
|
501
501
|
this.constructor = e;
|
|
502
502
|
}
|
|
@@ -512,7 +512,7 @@ var w = function() {
|
|
|
512
512
|
return t;
|
|
513
513
|
}, w.apply(this, arguments);
|
|
514
514
|
};
|
|
515
|
-
function
|
|
515
|
+
function Tn(e, t) {
|
|
516
516
|
var r = {};
|
|
517
517
|
for (var n in e)
|
|
518
518
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -521,7 +521,7 @@ function wn(e, t) {
|
|
|
521
521
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
522
522
|
return r;
|
|
523
523
|
}
|
|
524
|
-
function
|
|
524
|
+
function Ke(e) {
|
|
525
525
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
526
526
|
if (r)
|
|
527
527
|
return r.call(e);
|
|
@@ -533,7 +533,7 @@ function Ye(e) {
|
|
|
533
533
|
};
|
|
534
534
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function et(e, t) {
|
|
537
537
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
538
538
|
if (!r)
|
|
539
539
|
return e;
|
|
@@ -562,13 +562,13 @@ function te(e, t, r) {
|
|
|
562
562
|
function V(e) {
|
|
563
563
|
return typeof e == "function";
|
|
564
564
|
}
|
|
565
|
-
function
|
|
565
|
+
function fr(e) {
|
|
566
566
|
var t = function(n) {
|
|
567
567
|
Error.call(n), n.stack = new Error().stack;
|
|
568
568
|
}, r = e(t);
|
|
569
569
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
570
570
|
}
|
|
571
|
-
var $e =
|
|
571
|
+
var $e = fr(function(e) {
|
|
572
572
|
return function(r) {
|
|
573
573
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
574
574
|
` + r.map(function(n, i) {
|
|
@@ -577,7 +577,7 @@ var $e = lr(function(e) {
|
|
|
577
577
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
578
578
|
};
|
|
579
579
|
});
|
|
580
|
-
function
|
|
580
|
+
function tt(e, t) {
|
|
581
581
|
if (e) {
|
|
582
582
|
var r = e.indexOf(t);
|
|
583
583
|
0 <= r && e.splice(r, 1);
|
|
@@ -595,12 +595,12 @@ var Le = function() {
|
|
|
595
595
|
if (o)
|
|
596
596
|
if (this._parentage = null, Array.isArray(o))
|
|
597
597
|
try {
|
|
598
|
-
for (var a =
|
|
598
|
+
for (var a = Ke(o), h = a.next(); !h.done; h = a.next()) {
|
|
599
599
|
var l = h.value;
|
|
600
600
|
l.remove(this);
|
|
601
601
|
}
|
|
602
|
-
} catch (
|
|
603
|
-
t = { error:
|
|
602
|
+
} catch (d) {
|
|
603
|
+
t = { error: d };
|
|
604
604
|
} finally {
|
|
605
605
|
try {
|
|
606
606
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -615,26 +615,26 @@ var Le = function() {
|
|
|
615
615
|
if (V(u))
|
|
616
616
|
try {
|
|
617
617
|
u();
|
|
618
|
-
} catch (
|
|
619
|
-
s =
|
|
618
|
+
} catch (d) {
|
|
619
|
+
s = d instanceof $e ? d.errors : [d];
|
|
620
620
|
}
|
|
621
621
|
var c = this._finalizers;
|
|
622
622
|
if (c) {
|
|
623
623
|
this._finalizers = null;
|
|
624
624
|
try {
|
|
625
|
-
for (var
|
|
625
|
+
for (var p = Ke(c), y = p.next(); !y.done; y = p.next()) {
|
|
626
626
|
var g = y.value;
|
|
627
627
|
try {
|
|
628
|
-
|
|
629
|
-
} catch (
|
|
630
|
-
s = s ?? [],
|
|
628
|
+
Lt(g);
|
|
629
|
+
} catch (d) {
|
|
630
|
+
s = s ?? [], d instanceof $e ? s = te(te([], et(s)), et(d.errors)) : s.push(d);
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
|
-
} catch (
|
|
634
|
-
n = { error:
|
|
633
|
+
} catch (d) {
|
|
634
|
+
n = { error: d };
|
|
635
635
|
} finally {
|
|
636
636
|
try {
|
|
637
|
-
y && !y.done && (i =
|
|
637
|
+
y && !y.done && (i = p.return) && i.call(p);
|
|
638
638
|
} finally {
|
|
639
639
|
if (n)
|
|
640
640
|
throw n.error;
|
|
@@ -648,7 +648,7 @@ var Le = function() {
|
|
|
648
648
|
var r;
|
|
649
649
|
if (t && t !== this)
|
|
650
650
|
if (this.closed)
|
|
651
|
-
|
|
651
|
+
Lt(t);
|
|
652
652
|
else {
|
|
653
653
|
if (t instanceof e) {
|
|
654
654
|
if (t.closed || t._hasParent(this))
|
|
@@ -665,56 +665,56 @@ var Le = function() {
|
|
|
665
665
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
666
666
|
}, e.prototype._removeParent = function(t) {
|
|
667
667
|
var r = this._parentage;
|
|
668
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
668
|
+
r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
|
|
669
669
|
}, e.prototype.remove = function(t) {
|
|
670
670
|
var r = this._finalizers;
|
|
671
|
-
r &&
|
|
671
|
+
r && tt(r, t), t instanceof e && t._removeParent(this);
|
|
672
672
|
}, e.EMPTY = function() {
|
|
673
673
|
var t = new e();
|
|
674
674
|
return t.closed = !0, t;
|
|
675
675
|
}(), e;
|
|
676
|
-
}(),
|
|
677
|
-
function
|
|
676
|
+
}(), cr = Le.EMPTY;
|
|
677
|
+
function mr(e) {
|
|
678
678
|
return e instanceof Le || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
|
|
679
679
|
}
|
|
680
|
-
function
|
|
680
|
+
function Lt(e) {
|
|
681
681
|
V(e) ? e() : e.unsubscribe();
|
|
682
682
|
}
|
|
683
|
-
var
|
|
683
|
+
var pr = {
|
|
684
684
|
onUnhandledError: null,
|
|
685
685
|
onStoppedNotification: null,
|
|
686
686
|
Promise: void 0,
|
|
687
687
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
688
688
|
useDeprecatedNextContext: !1
|
|
689
|
-
},
|
|
689
|
+
}, Hn = {
|
|
690
690
|
setTimeout: function(e, t) {
|
|
691
691
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
692
692
|
r[n - 2] = arguments[n];
|
|
693
|
-
return setTimeout.apply(void 0, te([e, t],
|
|
693
|
+
return setTimeout.apply(void 0, te([e, t], et(r)));
|
|
694
694
|
},
|
|
695
695
|
clearTimeout: function(e) {
|
|
696
696
|
return clearTimeout(e);
|
|
697
697
|
},
|
|
698
698
|
delegate: void 0
|
|
699
699
|
};
|
|
700
|
-
function
|
|
701
|
-
|
|
700
|
+
function Bn(e) {
|
|
701
|
+
Hn.setTimeout(function() {
|
|
702
702
|
throw e;
|
|
703
703
|
});
|
|
704
704
|
}
|
|
705
|
-
function
|
|
705
|
+
function Rt() {
|
|
706
706
|
}
|
|
707
707
|
function Be(e) {
|
|
708
708
|
e();
|
|
709
709
|
}
|
|
710
|
-
var
|
|
710
|
+
var dr = function(e) {
|
|
711
711
|
X(t, e);
|
|
712
712
|
function t(r) {
|
|
713
713
|
var n = e.call(this) || this;
|
|
714
|
-
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;
|
|
715
715
|
}
|
|
716
716
|
return t.create = function(r, n, i) {
|
|
717
|
-
return new
|
|
717
|
+
return new rt(r, n, i);
|
|
718
718
|
}, t.prototype.next = function(r) {
|
|
719
719
|
this.isStopped || this._next(r);
|
|
720
720
|
}, t.prototype.error = function(r) {
|
|
@@ -738,7 +738,11 @@ var cr = function(e) {
|
|
|
738
738
|
this.unsubscribe();
|
|
739
739
|
}
|
|
740
740
|
}, t;
|
|
741
|
-
}(Le),
|
|
741
|
+
}(Le), An = Function.prototype.bind;
|
|
742
|
+
function Ve(e, t) {
|
|
743
|
+
return An.call(e, t);
|
|
744
|
+
}
|
|
745
|
+
var Pn = function() {
|
|
742
746
|
function e(t) {
|
|
743
747
|
this.partialObserver = t;
|
|
744
748
|
}
|
|
@@ -748,7 +752,7 @@ var cr = function(e) {
|
|
|
748
752
|
try {
|
|
749
753
|
r.next(t);
|
|
750
754
|
} catch (n) {
|
|
751
|
-
|
|
755
|
+
xe(n);
|
|
752
756
|
}
|
|
753
757
|
}, e.prototype.error = function(t) {
|
|
754
758
|
var r = this.partialObserver;
|
|
@@ -756,56 +760,68 @@ var cr = function(e) {
|
|
|
756
760
|
try {
|
|
757
761
|
r.error(t);
|
|
758
762
|
} catch (n) {
|
|
759
|
-
|
|
763
|
+
xe(n);
|
|
760
764
|
}
|
|
761
765
|
else
|
|
762
|
-
|
|
766
|
+
xe(t);
|
|
763
767
|
}, e.prototype.complete = function() {
|
|
764
768
|
var t = this.partialObserver;
|
|
765
769
|
if (t.complete)
|
|
766
770
|
try {
|
|
767
771
|
t.complete();
|
|
768
772
|
} catch (r) {
|
|
769
|
-
|
|
773
|
+
xe(r);
|
|
770
774
|
}
|
|
771
775
|
}, e;
|
|
772
|
-
}(),
|
|
776
|
+
}(), rt = function(e) {
|
|
773
777
|
X(t, e);
|
|
774
778
|
function t(r, n, i) {
|
|
775
779
|
var s = e.call(this) || this, o;
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
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;
|
|
781
797
|
}
|
|
782
798
|
return t;
|
|
783
|
-
}(
|
|
784
|
-
function
|
|
785
|
-
|
|
799
|
+
}(dr);
|
|
800
|
+
function xe(e) {
|
|
801
|
+
Bn(e);
|
|
786
802
|
}
|
|
787
|
-
function
|
|
803
|
+
function On(e) {
|
|
788
804
|
throw e;
|
|
789
805
|
}
|
|
790
|
-
var
|
|
806
|
+
var Cn = {
|
|
791
807
|
closed: !0,
|
|
792
|
-
next:
|
|
793
|
-
error:
|
|
794
|
-
complete:
|
|
795
|
-
},
|
|
808
|
+
next: Rt,
|
|
809
|
+
error: On,
|
|
810
|
+
complete: Rt
|
|
811
|
+
}, In = function() {
|
|
796
812
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
797
813
|
}();
|
|
798
|
-
function
|
|
814
|
+
function Ln(e) {
|
|
799
815
|
return e;
|
|
800
816
|
}
|
|
801
|
-
function
|
|
802
|
-
return e.length === 0 ?
|
|
817
|
+
function Rn(e) {
|
|
818
|
+
return e.length === 0 ? Ln : e.length === 1 ? e[0] : function(r) {
|
|
803
819
|
return e.reduce(function(n, i) {
|
|
804
820
|
return i(n);
|
|
805
821
|
}, r);
|
|
806
822
|
};
|
|
807
823
|
}
|
|
808
|
-
var
|
|
824
|
+
var Mt = function() {
|
|
809
825
|
function e(t) {
|
|
810
826
|
t && (this._subscribe = t);
|
|
811
827
|
}
|
|
@@ -813,7 +829,7 @@ var Lt = function() {
|
|
|
813
829
|
var r = new e();
|
|
814
830
|
return r.source = this, r.operator = t, r;
|
|
815
831
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
816
|
-
var i = this, s =
|
|
832
|
+
var i = this, s = Nn(t) ? t : new rt(t, r, n);
|
|
817
833
|
return Be(function() {
|
|
818
834
|
var o = i, a = o.operator, h = o.source;
|
|
819
835
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
|
@@ -826,8 +842,8 @@ var Lt = function() {
|
|
|
826
842
|
}
|
|
827
843
|
}, e.prototype.forEach = function(t, r) {
|
|
828
844
|
var n = this;
|
|
829
|
-
return r =
|
|
830
|
-
var o = new
|
|
845
|
+
return r = Nt(r), new r(function(i, s) {
|
|
846
|
+
var o = new rt({
|
|
831
847
|
next: function(a) {
|
|
832
848
|
try {
|
|
833
849
|
t(a);
|
|
@@ -843,15 +859,15 @@ var Lt = function() {
|
|
|
843
859
|
}, e.prototype._subscribe = function(t) {
|
|
844
860
|
var r;
|
|
845
861
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
846
|
-
}, e.prototype[
|
|
862
|
+
}, e.prototype[In] = function() {
|
|
847
863
|
return this;
|
|
848
864
|
}, e.prototype.pipe = function() {
|
|
849
865
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
850
866
|
t[r] = arguments[r];
|
|
851
|
-
return
|
|
867
|
+
return Rn(t)(this);
|
|
852
868
|
}, e.prototype.toPromise = function(t) {
|
|
853
869
|
var r = this;
|
|
854
|
-
return t =
|
|
870
|
+
return t = Nt(t), new t(function(n, i) {
|
|
855
871
|
var s;
|
|
856
872
|
r.subscribe(function(o) {
|
|
857
873
|
return s = o;
|
|
@@ -865,32 +881,32 @@ var Lt = function() {
|
|
|
865
881
|
return new e(t);
|
|
866
882
|
}, e;
|
|
867
883
|
}();
|
|
868
|
-
function
|
|
884
|
+
function Nt(e) {
|
|
869
885
|
var t;
|
|
870
|
-
return (t = e ??
|
|
886
|
+
return (t = e ?? pr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
871
887
|
}
|
|
872
|
-
function
|
|
888
|
+
function Mn(e) {
|
|
873
889
|
return e && V(e.next) && V(e.error) && V(e.complete);
|
|
874
890
|
}
|
|
875
|
-
function
|
|
876
|
-
return e && e instanceof
|
|
891
|
+
function Nn(e) {
|
|
892
|
+
return e && e instanceof dr || Mn(e) && mr(e);
|
|
877
893
|
}
|
|
878
|
-
var
|
|
894
|
+
var Dn = fr(function(e) {
|
|
879
895
|
return function() {
|
|
880
896
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
881
897
|
};
|
|
882
|
-
}),
|
|
898
|
+
}), gr = function(e) {
|
|
883
899
|
X(t, e);
|
|
884
900
|
function t() {
|
|
885
901
|
var r = e.call(this) || this;
|
|
886
902
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
887
903
|
}
|
|
888
904
|
return t.prototype.lift = function(r) {
|
|
889
|
-
var n = new
|
|
905
|
+
var n = new Dt(this, this);
|
|
890
906
|
return n.operator = r, n;
|
|
891
907
|
}, t.prototype._throwIfClosed = function() {
|
|
892
908
|
if (this.closed)
|
|
893
|
-
throw new
|
|
909
|
+
throw new Dn();
|
|
894
910
|
}, t.prototype.next = function(r) {
|
|
895
911
|
var n = this;
|
|
896
912
|
Be(function() {
|
|
@@ -898,7 +914,7 @@ var Rn = lr(function(e) {
|
|
|
898
914
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
899
915
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
900
916
|
try {
|
|
901
|
-
for (var o =
|
|
917
|
+
for (var o = Ke(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
902
918
|
var h = a.value;
|
|
903
919
|
h.next(r);
|
|
904
920
|
}
|
|
@@ -947,19 +963,19 @@ var Rn = lr(function(e) {
|
|
|
947
963
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
948
964
|
}, t.prototype._innerSubscribe = function(r) {
|
|
949
965
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
950
|
-
return s || o ?
|
|
951
|
-
n.currentObservers = null,
|
|
966
|
+
return s || o ? cr : (this.currentObservers = null, a.push(r), new Le(function() {
|
|
967
|
+
n.currentObservers = null, tt(a, r);
|
|
952
968
|
}));
|
|
953
969
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
954
970
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
955
971
|
i ? r.error(s) : o && r.complete();
|
|
956
972
|
}, t.prototype.asObservable = function() {
|
|
957
|
-
var r = new
|
|
973
|
+
var r = new Mt();
|
|
958
974
|
return r.source = this, r;
|
|
959
975
|
}, t.create = function(r, n) {
|
|
960
|
-
return new
|
|
976
|
+
return new Dt(r, n);
|
|
961
977
|
}, t;
|
|
962
|
-
}(
|
|
978
|
+
}(Mt), Dt = function(e) {
|
|
963
979
|
X(t, e);
|
|
964
980
|
function t(r, n) {
|
|
965
981
|
var i = e.call(this) || this;
|
|
@@ -976,17 +992,17 @@ var Rn = lr(function(e) {
|
|
|
976
992
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
977
993
|
}, t.prototype._subscribe = function(r) {
|
|
978
994
|
var n, i;
|
|
979
|
-
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;
|
|
980
996
|
}, t;
|
|
981
|
-
}(
|
|
997
|
+
}(gr), br = {
|
|
982
998
|
now: function() {
|
|
983
|
-
return (
|
|
999
|
+
return (br.delegate || Date).now();
|
|
984
1000
|
},
|
|
985
1001
|
delegate: void 0
|
|
986
|
-
},
|
|
1002
|
+
}, Fn = function(e) {
|
|
987
1003
|
X(t, e);
|
|
988
1004
|
function t(r, n, i) {
|
|
989
|
-
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);
|
|
990
1006
|
var s = e.call(this) || this;
|
|
991
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;
|
|
992
1008
|
}
|
|
@@ -1006,15 +1022,15 @@ var Rn = lr(function(e) {
|
|
|
1006
1022
|
l && s.splice(0, l + 1);
|
|
1007
1023
|
}
|
|
1008
1024
|
}, t;
|
|
1009
|
-
}(
|
|
1010
|
-
const
|
|
1011
|
-
if (
|
|
1012
|
-
const r = new
|
|
1013
|
-
|
|
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);
|
|
1014
1030
|
}
|
|
1015
|
-
return
|
|
1031
|
+
return Ut[e];
|
|
1016
1032
|
}, Q = [];
|
|
1017
|
-
function
|
|
1033
|
+
function kn(e, t) {
|
|
1018
1034
|
return {
|
|
1019
1035
|
subscribe: Re(e, t).subscribe
|
|
1020
1036
|
};
|
|
@@ -1023,7 +1039,7 @@ function Re(e, t = k) {
|
|
|
1023
1039
|
let r;
|
|
1024
1040
|
const n = /* @__PURE__ */ new Set();
|
|
1025
1041
|
function i(a) {
|
|
1026
|
-
if (
|
|
1042
|
+
if (ur(e, a) && (e = a, r)) {
|
|
1027
1043
|
const h = !Q.length;
|
|
1028
1044
|
for (const l of n)
|
|
1029
1045
|
l[1](), Q.push(l, e);
|
|
@@ -1050,96 +1066,96 @@ function oe(e, t, r) {
|
|
|
1050
1066
|
if (!i.every(Boolean))
|
|
1051
1067
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1052
1068
|
const s = t.length < 2;
|
|
1053
|
-
return
|
|
1069
|
+
return kn(r, (o, a) => {
|
|
1054
1070
|
let h = !1;
|
|
1055
1071
|
const l = [];
|
|
1056
1072
|
let u = 0, c = k;
|
|
1057
|
-
const
|
|
1073
|
+
const p = () => {
|
|
1058
1074
|
if (u)
|
|
1059
1075
|
return;
|
|
1060
1076
|
c();
|
|
1061
1077
|
const g = t(n ? l[0] : l, o, a);
|
|
1062
|
-
s ? o(g) : c =
|
|
1078
|
+
s ? o(g) : c = ft(g) ? g : k;
|
|
1063
1079
|
}, y = i.map(
|
|
1064
|
-
(g,
|
|
1080
|
+
(g, d) => lr(
|
|
1065
1081
|
g,
|
|
1066
1082
|
(b) => {
|
|
1067
|
-
l[
|
|
1083
|
+
l[d] = b, u &= ~(1 << d), h && p();
|
|
1068
1084
|
},
|
|
1069
1085
|
() => {
|
|
1070
|
-
u |= 1 <<
|
|
1086
|
+
u |= 1 << d;
|
|
1071
1087
|
}
|
|
1072
1088
|
)
|
|
1073
1089
|
);
|
|
1074
|
-
return h = !0,
|
|
1090
|
+
return h = !0, p(), function() {
|
|
1075
1091
|
ge(y), c(), h = !1;
|
|
1076
1092
|
};
|
|
1077
1093
|
});
|
|
1078
1094
|
}
|
|
1079
|
-
function
|
|
1080
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1095
|
+
function Gn(e) {
|
|
1096
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1081
1097
|
}
|
|
1082
|
-
var
|
|
1083
|
-
return
|
|
1098
|
+
var jn = function(t) {
|
|
1099
|
+
return $n(t) && !Vn(t);
|
|
1084
1100
|
};
|
|
1085
|
-
function
|
|
1101
|
+
function $n(e) {
|
|
1086
1102
|
return !!e && typeof e == "object";
|
|
1087
1103
|
}
|
|
1088
|
-
function
|
|
1104
|
+
function Vn(e) {
|
|
1089
1105
|
var t = Object.prototype.toString.call(e);
|
|
1090
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1106
|
+
return t === "[object RegExp]" || t === "[object Date]" || zn(e);
|
|
1091
1107
|
}
|
|
1092
|
-
var
|
|
1093
|
-
function
|
|
1094
|
-
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;
|
|
1095
1111
|
}
|
|
1096
|
-
function
|
|
1112
|
+
function Zn(e) {
|
|
1097
1113
|
return Array.isArray(e) ? [] : {};
|
|
1098
1114
|
}
|
|
1099
|
-
function
|
|
1100
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? re(
|
|
1115
|
+
function pe(e, t) {
|
|
1116
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(Zn(e), e, t) : e;
|
|
1101
1117
|
}
|
|
1102
|
-
function
|
|
1118
|
+
function Jn(e, t, r) {
|
|
1103
1119
|
return e.concat(t).map(function(n) {
|
|
1104
|
-
return
|
|
1120
|
+
return pe(n, r);
|
|
1105
1121
|
});
|
|
1106
1122
|
}
|
|
1107
|
-
function
|
|
1123
|
+
function qn(e, t) {
|
|
1108
1124
|
if (!t.customMerge)
|
|
1109
1125
|
return re;
|
|
1110
1126
|
var r = t.customMerge(e);
|
|
1111
1127
|
return typeof r == "function" ? r : re;
|
|
1112
1128
|
}
|
|
1113
|
-
function
|
|
1129
|
+
function Qn(e) {
|
|
1114
1130
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1115
1131
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1116
1132
|
}) : [];
|
|
1117
1133
|
}
|
|
1118
|
-
function
|
|
1119
|
-
return Object.keys(e).concat(
|
|
1134
|
+
function kt(e) {
|
|
1135
|
+
return Object.keys(e).concat(Qn(e));
|
|
1120
1136
|
}
|
|
1121
|
-
function
|
|
1137
|
+
function yr(e, t) {
|
|
1122
1138
|
try {
|
|
1123
1139
|
return t in e;
|
|
1124
1140
|
} catch {
|
|
1125
1141
|
return !1;
|
|
1126
1142
|
}
|
|
1127
1143
|
}
|
|
1128
|
-
function
|
|
1129
|
-
return
|
|
1144
|
+
function Yn(e, t) {
|
|
1145
|
+
return yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1130
1146
|
}
|
|
1131
|
-
function
|
|
1147
|
+
function Kn(e, t, r) {
|
|
1132
1148
|
var n = {};
|
|
1133
|
-
return r.isMergeableObject(e) &&
|
|
1134
|
-
n[i] =
|
|
1135
|
-
}),
|
|
1136
|
-
|
|
1149
|
+
return r.isMergeableObject(e) && kt(e).forEach(function(i) {
|
|
1150
|
+
n[i] = pe(e[i], r);
|
|
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));
|
|
1137
1153
|
}), n;
|
|
1138
1154
|
}
|
|
1139
1155
|
function re(e, t, r) {
|
|
1140
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1156
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Jn, r.isMergeableObject = r.isMergeableObject || jn, r.cloneUnlessOtherwiseSpecified = pe;
|
|
1141
1157
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1142
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
1158
|
+
return s ? n ? r.arrayMerge(e, t, r) : Kn(e, t, r) : pe(t, r);
|
|
1143
1159
|
}
|
|
1144
1160
|
re.all = function(t, r) {
|
|
1145
1161
|
if (!Array.isArray(t))
|
|
@@ -1148,60 +1164,58 @@ re.all = function(t, r) {
|
|
|
1148
1164
|
return re(n, i, r);
|
|
1149
1165
|
}, {});
|
|
1150
1166
|
};
|
|
1151
|
-
var
|
|
1152
|
-
const
|
|
1153
|
-
function
|
|
1154
|
-
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;
|
|
1155
1171
|
return i(e, {
|
|
1156
1172
|
cache: r,
|
|
1157
1173
|
serializer: n
|
|
1158
1174
|
});
|
|
1159
1175
|
}
|
|
1160
|
-
function
|
|
1176
|
+
function ni(e) {
|
|
1161
1177
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1162
1178
|
}
|
|
1163
|
-
function
|
|
1164
|
-
var i =
|
|
1179
|
+
function vr(e, t, r, n) {
|
|
1180
|
+
var i = ni(n) ? n : r(n), s = t.get(i);
|
|
1165
1181
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1166
1182
|
}
|
|
1167
|
-
function
|
|
1183
|
+
function _r(e, t, r) {
|
|
1168
1184
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1169
1185
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1170
1186
|
}
|
|
1171
|
-
function
|
|
1187
|
+
function ct(e, t, r, n, i) {
|
|
1172
1188
|
return r.bind(t, e, n, i);
|
|
1173
1189
|
}
|
|
1174
|
-
function
|
|
1175
|
-
var r = e.length === 1 ?
|
|
1176
|
-
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);
|
|
1177
1193
|
}
|
|
1178
|
-
function
|
|
1179
|
-
return
|
|
1194
|
+
function si(e, t) {
|
|
1195
|
+
return ct(e, this, _r, t.cache.create(), t.serializer);
|
|
1180
1196
|
}
|
|
1181
|
-
function
|
|
1182
|
-
return
|
|
1197
|
+
function oi(e, t) {
|
|
1198
|
+
return ct(e, this, vr, t.cache.create(), t.serializer);
|
|
1183
1199
|
}
|
|
1184
|
-
var
|
|
1200
|
+
var ai = function() {
|
|
1185
1201
|
return JSON.stringify(arguments);
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
}()
|
|
1198
|
-
), oi = {
|
|
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 = {
|
|
1199
1213
|
create: function() {
|
|
1200
|
-
return new
|
|
1214
|
+
return new mt();
|
|
1201
1215
|
}
|
|
1202
|
-
},
|
|
1203
|
-
variadic:
|
|
1204
|
-
monadic:
|
|
1216
|
+
}, We = {
|
|
1217
|
+
variadic: si,
|
|
1218
|
+
monadic: oi
|
|
1205
1219
|
}, v;
|
|
1206
1220
|
(function(e) {
|
|
1207
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";
|
|
@@ -1214,43 +1228,43 @@ var ne;
|
|
|
1214
1228
|
(function(e) {
|
|
1215
1229
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1216
1230
|
})(ne || (ne = {}));
|
|
1217
|
-
function
|
|
1231
|
+
function Gt(e) {
|
|
1218
1232
|
return e.type === T.literal;
|
|
1219
1233
|
}
|
|
1220
|
-
function
|
|
1234
|
+
function li(e) {
|
|
1221
1235
|
return e.type === T.argument;
|
|
1222
1236
|
}
|
|
1223
|
-
function
|
|
1237
|
+
function Er(e) {
|
|
1224
1238
|
return e.type === T.number;
|
|
1225
1239
|
}
|
|
1226
|
-
function
|
|
1240
|
+
function wr(e) {
|
|
1227
1241
|
return e.type === T.date;
|
|
1228
1242
|
}
|
|
1229
|
-
function
|
|
1243
|
+
function Sr(e) {
|
|
1230
1244
|
return e.type === T.time;
|
|
1231
1245
|
}
|
|
1232
|
-
function
|
|
1246
|
+
function xr(e) {
|
|
1233
1247
|
return e.type === T.select;
|
|
1234
1248
|
}
|
|
1235
|
-
function
|
|
1249
|
+
function Tr(e) {
|
|
1236
1250
|
return e.type === T.plural;
|
|
1237
1251
|
}
|
|
1238
|
-
function
|
|
1252
|
+
function hi(e) {
|
|
1239
1253
|
return e.type === T.pound;
|
|
1240
1254
|
}
|
|
1241
|
-
function
|
|
1255
|
+
function Hr(e) {
|
|
1242
1256
|
return e.type === T.tag;
|
|
1243
1257
|
}
|
|
1244
|
-
function
|
|
1258
|
+
function Br(e) {
|
|
1245
1259
|
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1246
1260
|
}
|
|
1247
|
-
function
|
|
1261
|
+
function nt(e) {
|
|
1248
1262
|
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1249
1263
|
}
|
|
1250
|
-
var
|
|
1251
|
-
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) {
|
|
1252
1266
|
var t = {};
|
|
1253
|
-
return e.replace(
|
|
1267
|
+
return e.replace(fi, function(r) {
|
|
1254
1268
|
var n = r.length;
|
|
1255
1269
|
switch (r[0]) {
|
|
1256
1270
|
case "G":
|
|
@@ -1339,12 +1353,12 @@ function hi(e) {
|
|
|
1339
1353
|
return "";
|
|
1340
1354
|
}), t;
|
|
1341
1355
|
}
|
|
1342
|
-
var
|
|
1343
|
-
function
|
|
1356
|
+
var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1357
|
+
function pi(e) {
|
|
1344
1358
|
if (e.length === 0)
|
|
1345
1359
|
throw new Error("Number skeleton cannot be empty");
|
|
1346
|
-
for (var t = e.split(
|
|
1347
|
-
return
|
|
1360
|
+
for (var t = e.split(mi).filter(function(p) {
|
|
1361
|
+
return p.length > 0;
|
|
1348
1362
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1349
1363
|
var s = i[n], o = s.split("/");
|
|
1350
1364
|
if (o.length === 0)
|
|
@@ -1358,17 +1372,17 @@ function ci(e) {
|
|
|
1358
1372
|
}
|
|
1359
1373
|
return r;
|
|
1360
1374
|
}
|
|
1361
|
-
function
|
|
1375
|
+
function di(e) {
|
|
1362
1376
|
return e.replace(/^(.*?)-/, "");
|
|
1363
1377
|
}
|
|
1364
|
-
var
|
|
1365
|
-
function
|
|
1378
|
+
var jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pr = /^(@+)?(\+|#+)?[rs]?$/g, gi = /(\*)(0+)|(#+)(0+)|(0+)/g, Or = /^(0+)$/;
|
|
1379
|
+
function $t(e) {
|
|
1366
1380
|
var t = {};
|
|
1367
|
-
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) {
|
|
1368
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)), "";
|
|
1369
1383
|
}), t;
|
|
1370
1384
|
}
|
|
1371
|
-
function
|
|
1385
|
+
function Cr(e) {
|
|
1372
1386
|
switch (e) {
|
|
1373
1387
|
case "sign-auto":
|
|
1374
1388
|
return {
|
|
@@ -1408,7 +1422,7 @@ function Ar(e) {
|
|
|
1408
1422
|
};
|
|
1409
1423
|
}
|
|
1410
1424
|
}
|
|
1411
|
-
function
|
|
1425
|
+
function bi(e) {
|
|
1412
1426
|
var t;
|
|
1413
1427
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1414
1428
|
notation: "engineering"
|
|
@@ -1416,17 +1430,17 @@ function pi(e) {
|
|
|
1416
1430
|
notation: "scientific"
|
|
1417
1431
|
}, e = e.slice(1)), t) {
|
|
1418
1432
|
var r = e.slice(0, 2);
|
|
1419
|
-
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))
|
|
1420
1434
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1421
1435
|
t.minimumIntegerDigits = e.length;
|
|
1422
1436
|
}
|
|
1423
1437
|
return t;
|
|
1424
1438
|
}
|
|
1425
|
-
function
|
|
1426
|
-
var t = {}, r =
|
|
1439
|
+
function Vt(e) {
|
|
1440
|
+
var t = {}, r = Cr(e);
|
|
1427
1441
|
return r || t;
|
|
1428
1442
|
}
|
|
1429
|
-
function
|
|
1443
|
+
function yi(e) {
|
|
1430
1444
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1431
1445
|
var i = n[r];
|
|
1432
1446
|
switch (i.stem) {
|
|
@@ -1450,7 +1464,7 @@ function gi(e) {
|
|
|
1450
1464
|
continue;
|
|
1451
1465
|
case "measure-unit":
|
|
1452
1466
|
case "unit":
|
|
1453
|
-
t.style = "unit", t.unit =
|
|
1467
|
+
t.style = "unit", t.unit = di(i.options[0]);
|
|
1454
1468
|
continue;
|
|
1455
1469
|
case "compact-short":
|
|
1456
1470
|
case "K":
|
|
@@ -1462,12 +1476,12 @@ function gi(e) {
|
|
|
1462
1476
|
continue;
|
|
1463
1477
|
case "scientific":
|
|
1464
1478
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
|
1465
|
-
return w(w({}, h),
|
|
1479
|
+
return w(w({}, h), Vt(l));
|
|
1466
1480
|
}, {}));
|
|
1467
1481
|
continue;
|
|
1468
1482
|
case "engineering":
|
|
1469
1483
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
|
1470
|
-
return w(w({}, h),
|
|
1484
|
+
return w(w({}, h), Vt(l));
|
|
1471
1485
|
}, {}));
|
|
1472
1486
|
continue;
|
|
1473
1487
|
case "notation-simple":
|
|
@@ -1512,11 +1526,11 @@ function gi(e) {
|
|
|
1512
1526
|
case "integer-width":
|
|
1513
1527
|
if (i.options.length > 1)
|
|
1514
1528
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1515
|
-
i.options[0].replace(
|
|
1529
|
+
i.options[0].replace(gi, function(h, l, u, c, p, y) {
|
|
1516
1530
|
if (l)
|
|
1517
1531
|
t.minimumIntegerDigits = u.length;
|
|
1518
1532
|
else {
|
|
1519
|
-
if (c &&
|
|
1533
|
+
if (c && p)
|
|
1520
1534
|
throw new Error("We currently do not support maximum integer digits");
|
|
1521
1535
|
if (y)
|
|
1522
1536
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1525,27 +1539,27 @@ function gi(e) {
|
|
|
1525
1539
|
});
|
|
1526
1540
|
continue;
|
|
1527
1541
|
}
|
|
1528
|
-
if (
|
|
1542
|
+
if (Or.test(i.stem)) {
|
|
1529
1543
|
t.minimumIntegerDigits = i.stem.length;
|
|
1530
1544
|
continue;
|
|
1531
1545
|
}
|
|
1532
|
-
if (
|
|
1546
|
+
if (jt.test(i.stem)) {
|
|
1533
1547
|
if (i.options.length > 1)
|
|
1534
1548
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1535
|
-
i.stem.replace(
|
|
1536
|
-
return u === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length :
|
|
1549
|
+
i.stem.replace(jt, function(h, l, u, c, p, y) {
|
|
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), "";
|
|
1537
1551
|
});
|
|
1538
1552
|
var s = i.options[0];
|
|
1539
|
-
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)));
|
|
1540
1554
|
continue;
|
|
1541
1555
|
}
|
|
1542
|
-
if (
|
|
1543
|
-
t = w(w({}, t),
|
|
1556
|
+
if (Pr.test(i.stem)) {
|
|
1557
|
+
t = w(w({}, t), $t(i.stem));
|
|
1544
1558
|
continue;
|
|
1545
1559
|
}
|
|
1546
|
-
var o =
|
|
1560
|
+
var o = Cr(i.stem);
|
|
1547
1561
|
o && (t = w(w({}, t), o));
|
|
1548
|
-
var a =
|
|
1562
|
+
var a = bi(i.stem);
|
|
1549
1563
|
a && (t = w(w({}, t), a));
|
|
1550
1564
|
}
|
|
1551
1565
|
return t;
|
|
@@ -2965,13 +2979,13 @@ var Te = {
|
|
|
2965
2979
|
"h"
|
|
2966
2980
|
]
|
|
2967
2981
|
};
|
|
2968
|
-
function
|
|
2982
|
+
function vi(e, t) {
|
|
2969
2983
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2970
2984
|
var i = e.charAt(n);
|
|
2971
2985
|
if (i === "j") {
|
|
2972
2986
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2973
2987
|
s++, n++;
|
|
2974
|
-
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);
|
|
2975
2989
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2976
2990
|
r += h;
|
|
2977
2991
|
for (; o-- > 0; )
|
|
@@ -2981,7 +2995,7 @@ function bi(e, t) {
|
|
|
2981
2995
|
}
|
|
2982
2996
|
return r;
|
|
2983
2997
|
}
|
|
2984
|
-
function
|
|
2998
|
+
function _i(e) {
|
|
2985
2999
|
var t = e.hourCycle;
|
|
2986
3000
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2987
3001
|
e.hourCycles && // @ts-ignore
|
|
@@ -3003,20 +3017,20 @@ function yi(e) {
|
|
|
3003
3017
|
var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
|
|
3004
3018
|
return i[0];
|
|
3005
3019
|
}
|
|
3006
|
-
var
|
|
3020
|
+
var ze, Ei = new RegExp("^".concat(Ar.source, "*")), wi = new RegExp("".concat(Ar.source, "*$"));
|
|
3007
3021
|
function _(e, t) {
|
|
3008
3022
|
return { start: e, end: t };
|
|
3009
3023
|
}
|
|
3010
|
-
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) {
|
|
3011
3025
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3012
|
-
},
|
|
3026
|
+
}, it = !0;
|
|
3013
3027
|
try {
|
|
3014
|
-
var
|
|
3015
|
-
|
|
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";
|
|
3016
3030
|
} catch {
|
|
3017
|
-
|
|
3031
|
+
it = !1;
|
|
3018
3032
|
}
|
|
3019
|
-
var
|
|
3033
|
+
var Xt = Si ? (
|
|
3020
3034
|
// Native
|
|
3021
3035
|
function(t, r, n) {
|
|
3022
3036
|
return t.startsWith(r, n);
|
|
@@ -3026,7 +3040,7 @@ var $t = Ei ? (
|
|
|
3026
3040
|
function(t, r, n) {
|
|
3027
3041
|
return t.slice(n, n + r.length) === r;
|
|
3028
3042
|
}
|
|
3029
|
-
),
|
|
3043
|
+
), st = xi ? String.fromCodePoint : (
|
|
3030
3044
|
// IE11
|
|
3031
3045
|
function() {
|
|
3032
3046
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3038,9 +3052,9 @@ var $t = Ei ? (
|
|
|
3038
3052
|
}
|
|
3039
3053
|
return n;
|
|
3040
3054
|
}
|
|
3041
|
-
),
|
|
3055
|
+
), Wt = (
|
|
3042
3056
|
// native
|
|
3043
|
-
|
|
3057
|
+
Ti ? Object.fromEntries : (
|
|
3044
3058
|
// Ponyfill
|
|
3045
3059
|
function(t) {
|
|
3046
3060
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3050,7 +3064,7 @@ var $t = Ei ? (
|
|
|
3050
3064
|
return r;
|
|
3051
3065
|
}
|
|
3052
3066
|
)
|
|
3053
|
-
),
|
|
3067
|
+
), Ir = Hi ? (
|
|
3054
3068
|
// Native
|
|
3055
3069
|
function(t, r) {
|
|
3056
3070
|
return t.codePointAt(r);
|
|
@@ -3064,7 +3078,7 @@ var $t = Ei ? (
|
|
|
3064
3078
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3065
3079
|
}
|
|
3066
3080
|
}
|
|
3067
|
-
),
|
|
3081
|
+
), Ii = Bi ? (
|
|
3068
3082
|
// Native
|
|
3069
3083
|
function(t) {
|
|
3070
3084
|
return t.trimStart();
|
|
@@ -3072,9 +3086,9 @@ var $t = Ei ? (
|
|
|
3072
3086
|
) : (
|
|
3073
3087
|
// Ponyfill
|
|
3074
3088
|
function(t) {
|
|
3075
|
-
return t.replace(
|
|
3089
|
+
return t.replace(Ei, "");
|
|
3076
3090
|
}
|
|
3077
|
-
),
|
|
3091
|
+
), Li = Ai ? (
|
|
3078
3092
|
// Native
|
|
3079
3093
|
function(t) {
|
|
3080
3094
|
return t.trimEnd();
|
|
@@ -3082,32 +3096,32 @@ var $t = Ei ? (
|
|
|
3082
3096
|
) : (
|
|
3083
3097
|
// Ponyfill
|
|
3084
3098
|
function(t) {
|
|
3085
|
-
return t.replace(
|
|
3099
|
+
return t.replace(wi, "");
|
|
3086
3100
|
}
|
|
3087
3101
|
);
|
|
3088
|
-
function
|
|
3102
|
+
function Lr(e, t) {
|
|
3089
3103
|
return new RegExp(e, t);
|
|
3090
3104
|
}
|
|
3091
|
-
var
|
|
3092
|
-
if (
|
|
3093
|
-
var
|
|
3094
|
-
|
|
3105
|
+
var ot;
|
|
3106
|
+
if (it) {
|
|
3107
|
+
var zt = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3108
|
+
ot = function(t, r) {
|
|
3095
3109
|
var n;
|
|
3096
|
-
|
|
3097
|
-
var i =
|
|
3110
|
+
zt.lastIndex = r;
|
|
3111
|
+
var i = zt.exec(t);
|
|
3098
3112
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3099
3113
|
};
|
|
3100
3114
|
} else
|
|
3101
|
-
|
|
3115
|
+
ot = function(t, r) {
|
|
3102
3116
|
for (var n = []; ; ) {
|
|
3103
|
-
var i =
|
|
3104
|
-
if (i === void 0 ||
|
|
3117
|
+
var i = Ir(t, r);
|
|
3118
|
+
if (i === void 0 || Rr(i) || Di(i))
|
|
3105
3119
|
break;
|
|
3106
3120
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3107
3121
|
}
|
|
3108
|
-
return
|
|
3122
|
+
return st.apply(void 0, n);
|
|
3109
3123
|
};
|
|
3110
|
-
var
|
|
3124
|
+
var Ri = (
|
|
3111
3125
|
/** @class */
|
|
3112
3126
|
function() {
|
|
3113
3127
|
function e(t, r) {
|
|
@@ -3138,7 +3152,7 @@ var Ii = (
|
|
|
3138
3152
|
if (n)
|
|
3139
3153
|
break;
|
|
3140
3154
|
return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3141
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3155
|
+
} else if (s === 60 && !this.ignoreTag && at(this.peek() || 0)) {
|
|
3142
3156
|
var o = this.parseTag(t, r);
|
|
3143
3157
|
if (o.err)
|
|
3144
3158
|
return o;
|
|
@@ -3171,7 +3185,7 @@ var Ii = (
|
|
|
3171
3185
|
return s;
|
|
3172
3186
|
var o = s.val, a = this.clonePosition();
|
|
3173
3187
|
if (this.bumpIf("</")) {
|
|
3174
|
-
if (this.isEOF() || !
|
|
3188
|
+
if (this.isEOF() || !at(this.char()))
|
|
3175
3189
|
return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
|
|
3176
3190
|
var h = this.clonePosition(), l = this.parseTagName();
|
|
3177
3191
|
return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3189,7 +3203,7 @@ var Ii = (
|
|
|
3189
3203
|
return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
|
|
3190
3204
|
}, e.prototype.parseTagName = function() {
|
|
3191
3205
|
var t = this.offset();
|
|
3192
|
-
for (this.bump(); !this.isEOF() &&
|
|
3206
|
+
for (this.bump(); !this.isEOF() && Ni(this.char()); )
|
|
3193
3207
|
this.bump();
|
|
3194
3208
|
return this.message.slice(t, this.offset());
|
|
3195
3209
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3218,7 +3232,7 @@ var Ii = (
|
|
|
3218
3232
|
};
|
|
3219
3233
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3220
3234
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3221
|
-
!
|
|
3235
|
+
!Mi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3222
3236
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3223
3237
|
if (this.isEOF() || this.char() !== 39)
|
|
3224
3238
|
return null;
|
|
@@ -3252,12 +3266,12 @@ var Ii = (
|
|
|
3252
3266
|
r.push(n);
|
|
3253
3267
|
this.bump();
|
|
3254
3268
|
}
|
|
3255
|
-
return
|
|
3269
|
+
return st.apply(void 0, r);
|
|
3256
3270
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3257
3271
|
if (this.isEOF())
|
|
3258
3272
|
return null;
|
|
3259
3273
|
var n = this.char();
|
|
3260
|
-
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));
|
|
3261
3275
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3262
3276
|
var n = this.clonePosition();
|
|
3263
3277
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3286,7 +3300,7 @@ var Ii = (
|
|
|
3286
3300
|
return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3287
3301
|
}
|
|
3288
3302
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3289
|
-
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;
|
|
3290
3304
|
this.bumpTo(i);
|
|
3291
3305
|
var s = this.clonePosition(), o = _(t, s);
|
|
3292
3306
|
return { value: n, location: o };
|
|
@@ -3305,37 +3319,37 @@ var Ii = (
|
|
|
3305
3319
|
var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3306
3320
|
if (c.err)
|
|
3307
3321
|
return c;
|
|
3308
|
-
var
|
|
3309
|
-
if (
|
|
3322
|
+
var p = Li(c.val);
|
|
3323
|
+
if (p.length === 0)
|
|
3310
3324
|
return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3311
3325
|
var y = _(u, this.clonePosition());
|
|
3312
|
-
l = { style:
|
|
3326
|
+
l = { style: p, styleLocation: y };
|
|
3313
3327
|
}
|
|
3314
3328
|
var g = this.tryParseArgumentClose(i);
|
|
3315
3329
|
if (g.err)
|
|
3316
3330
|
return g;
|
|
3317
|
-
var
|
|
3318
|
-
if (l &&
|
|
3319
|
-
var b =
|
|
3331
|
+
var d = _(i, this.clonePosition());
|
|
3332
|
+
if (l && Xt(l?.style, "::", 0)) {
|
|
3333
|
+
var b = Ii(l.style.slice(2));
|
|
3320
3334
|
if (a === "number") {
|
|
3321
3335
|
var c = this.parseNumberSkeletonFromString(b, l.styleLocation);
|
|
3322
3336
|
return c.err ? c : {
|
|
3323
|
-
val: { type: T.number, value: n, location:
|
|
3337
|
+
val: { type: T.number, value: n, location: d, style: c.val },
|
|
3324
3338
|
err: null
|
|
3325
3339
|
};
|
|
3326
3340
|
} else {
|
|
3327
3341
|
if (b.length === 0)
|
|
3328
|
-
return this.error(v.EXPECT_DATE_TIME_SKELETON,
|
|
3329
|
-
var
|
|
3330
|
-
this.locale && (
|
|
3331
|
-
var
|
|
3342
|
+
return this.error(v.EXPECT_DATE_TIME_SKELETON, d);
|
|
3343
|
+
var S = b;
|
|
3344
|
+
this.locale && (S = vi(b, this.locale));
|
|
3345
|
+
var p = {
|
|
3332
3346
|
type: ne.dateTime,
|
|
3333
|
-
pattern:
|
|
3347
|
+
pattern: S,
|
|
3334
3348
|
location: l.styleLocation,
|
|
3335
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3349
|
+
parsedOptions: this.shouldParseSkeletons ? ci(S) : {}
|
|
3336
3350
|
}, O = a === "date" ? T.date : T.time;
|
|
3337
3351
|
return {
|
|
3338
|
-
val: { type: O, value: n, location:
|
|
3352
|
+
val: { type: O, value: n, location: d, style: p },
|
|
3339
3353
|
err: null
|
|
3340
3354
|
};
|
|
3341
3355
|
}
|
|
@@ -3344,7 +3358,7 @@ var Ii = (
|
|
|
3344
3358
|
val: {
|
|
3345
3359
|
type: a === "number" ? T.number : a === "date" ? T.date : T.time,
|
|
3346
3360
|
value: n,
|
|
3347
|
-
location:
|
|
3361
|
+
location: d,
|
|
3348
3362
|
style: (s = l?.style) !== null && s !== void 0 ? s : null
|
|
3349
3363
|
},
|
|
3350
3364
|
err: null
|
|
@@ -3357,7 +3371,7 @@ var Ii = (
|
|
|
3357
3371
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3358
3372
|
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(P, w({}, P)));
|
|
3359
3373
|
this.bumpSpace();
|
|
3360
|
-
var R = this.parseIdentifierIfPossible(),
|
|
3374
|
+
var R = this.parseIdentifierIfPossible(), M = 0;
|
|
3361
3375
|
if (a !== "select" && R.value === "offset") {
|
|
3362
3376
|
if (!this.bumpIf(":"))
|
|
3363
3377
|
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
@@ -3365,7 +3379,7 @@ var Ii = (
|
|
|
3365
3379
|
var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3366
3380
|
if (c.err)
|
|
3367
3381
|
return c;
|
|
3368
|
-
this.bumpSpace(), R = this.parseIdentifierIfPossible(),
|
|
3382
|
+
this.bumpSpace(), R = this.parseIdentifierIfPossible(), M = c.val;
|
|
3369
3383
|
}
|
|
3370
3384
|
var C = this.tryParsePluralOrSelectOptions(t, a, r, R);
|
|
3371
3385
|
if (C.err)
|
|
@@ -3378,7 +3392,7 @@ var Ii = (
|
|
|
3378
3392
|
val: {
|
|
3379
3393
|
type: T.select,
|
|
3380
3394
|
value: n,
|
|
3381
|
-
options:
|
|
3395
|
+
options: Wt(C.val),
|
|
3382
3396
|
location: D
|
|
3383
3397
|
},
|
|
3384
3398
|
err: null
|
|
@@ -3386,8 +3400,8 @@ var Ii = (
|
|
|
3386
3400
|
val: {
|
|
3387
3401
|
type: T.plural,
|
|
3388
3402
|
value: n,
|
|
3389
|
-
options:
|
|
3390
|
-
offset:
|
|
3403
|
+
options: Wt(C.val),
|
|
3404
|
+
offset: M,
|
|
3391
3405
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3392
3406
|
location: D
|
|
3393
3407
|
},
|
|
@@ -3437,7 +3451,7 @@ var Ii = (
|
|
|
3437
3451
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3438
3452
|
var n = [];
|
|
3439
3453
|
try {
|
|
3440
|
-
n =
|
|
3454
|
+
n = pi(t);
|
|
3441
3455
|
} catch {
|
|
3442
3456
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3443
3457
|
}
|
|
@@ -3446,7 +3460,7 @@ var Ii = (
|
|
|
3446
3460
|
type: ne.number,
|
|
3447
3461
|
tokens: n,
|
|
3448
3462
|
location: r,
|
|
3449
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3463
|
+
parsedOptions: this.shouldParseSkeletons ? yi(n) : {}
|
|
3450
3464
|
},
|
|
3451
3465
|
err: null
|
|
3452
3466
|
};
|
|
@@ -3455,9 +3469,9 @@ var Ii = (
|
|
|
3455
3469
|
if (l.length === 0) {
|
|
3456
3470
|
var c = this.clonePosition();
|
|
3457
3471
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3458
|
-
var
|
|
3459
|
-
if (
|
|
3460
|
-
return
|
|
3472
|
+
var p = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3473
|
+
if (p.err)
|
|
3474
|
+
return p;
|
|
3461
3475
|
u = _(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
|
|
3462
3476
|
} else
|
|
3463
3477
|
break;
|
|
@@ -3471,9 +3485,9 @@ var Ii = (
|
|
|
3471
3485
|
var g = this.parseMessage(t + 1, r, n);
|
|
3472
3486
|
if (g.err)
|
|
3473
3487
|
return g;
|
|
3474
|
-
var
|
|
3475
|
-
if (
|
|
3476
|
-
return
|
|
3488
|
+
var d = this.tryParseArgumentClose(y);
|
|
3489
|
+
if (d.err)
|
|
3490
|
+
return d;
|
|
3477
3491
|
a.push([
|
|
3478
3492
|
l,
|
|
3479
3493
|
{
|
|
@@ -3494,7 +3508,7 @@ var Ii = (
|
|
|
3494
3508
|
break;
|
|
3495
3509
|
}
|
|
3496
3510
|
var h = _(i, this.clonePosition());
|
|
3497
|
-
return s ? (o *= n,
|
|
3511
|
+
return s ? (o *= n, Oi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3498
3512
|
}, e.prototype.offset = function() {
|
|
3499
3513
|
return this.position.offset;
|
|
3500
3514
|
}, e.prototype.isEOF = function() {
|
|
@@ -3509,7 +3523,7 @@ var Ii = (
|
|
|
3509
3523
|
var t = this.position.offset;
|
|
3510
3524
|
if (t >= this.message.length)
|
|
3511
3525
|
throw Error("out of bound");
|
|
3512
|
-
var r =
|
|
3526
|
+
var r = Ir(this.message, t);
|
|
3513
3527
|
if (r === void 0)
|
|
3514
3528
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3515
3529
|
return r;
|
|
@@ -3528,7 +3542,7 @@ var Ii = (
|
|
|
3528
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);
|
|
3529
3543
|
}
|
|
3530
3544
|
}, e.prototype.bumpIf = function(t) {
|
|
3531
|
-
if (
|
|
3545
|
+
if (Xt(this.message, t, this.offset())) {
|
|
3532
3546
|
for (var r = 0; r < t.length; r++)
|
|
3533
3547
|
this.bump();
|
|
3534
3548
|
return !0;
|
|
@@ -3550,7 +3564,7 @@ var Ii = (
|
|
|
3550
3564
|
break;
|
|
3551
3565
|
}
|
|
3552
3566
|
}, e.prototype.bumpSpace = function() {
|
|
3553
|
-
for (; !this.isEOF() &&
|
|
3567
|
+
for (; !this.isEOF() && Rr(this.char()); )
|
|
3554
3568
|
this.bump();
|
|
3555
3569
|
}, e.prototype.peek = function() {
|
|
3556
3570
|
if (this.isEOF())
|
|
@@ -3560,44 +3574,44 @@ var Ii = (
|
|
|
3560
3574
|
}, e;
|
|
3561
3575
|
}()
|
|
3562
3576
|
);
|
|
3563
|
-
function
|
|
3577
|
+
function at(e) {
|
|
3564
3578
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3565
3579
|
}
|
|
3566
|
-
function
|
|
3567
|
-
return
|
|
3580
|
+
function Mi(e) {
|
|
3581
|
+
return at(e) || e === 47;
|
|
3568
3582
|
}
|
|
3569
|
-
function
|
|
3583
|
+
function Ni(e) {
|
|
3570
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;
|
|
3571
3585
|
}
|
|
3572
|
-
function
|
|
3586
|
+
function Rr(e) {
|
|
3573
3587
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3574
3588
|
}
|
|
3575
|
-
function
|
|
3589
|
+
function Di(e) {
|
|
3576
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;
|
|
3577
3591
|
}
|
|
3578
|
-
function
|
|
3592
|
+
function ut(e) {
|
|
3579
3593
|
e.forEach(function(t) {
|
|
3580
|
-
if (delete t.location,
|
|
3594
|
+
if (delete t.location, xr(t) || Tr(t))
|
|
3581
3595
|
for (var r in t.options)
|
|
3582
|
-
delete t.options[r].location,
|
|
3596
|
+
delete t.options[r].location, ut(t.options[r].value);
|
|
3583
3597
|
else
|
|
3584
|
-
|
|
3598
|
+
Er(t) && Br(t.style) || (wr(t) || Sr(t)) && nt(t.style) ? delete t.style.location : Hr(t) && ut(t.children);
|
|
3585
3599
|
});
|
|
3586
3600
|
}
|
|
3587
|
-
function
|
|
3601
|
+
function Fi(e, t) {
|
|
3588
3602
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3589
|
-
var r = new
|
|
3603
|
+
var r = new Ri(e, t).parse();
|
|
3590
3604
|
if (r.err) {
|
|
3591
3605
|
var n = SyntaxError(v[r.err.kind]);
|
|
3592
3606
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3593
3607
|
}
|
|
3594
|
-
return t?.captureLocation ||
|
|
3608
|
+
return t?.captureLocation || ut(r.val), r.val;
|
|
3595
3609
|
}
|
|
3596
3610
|
var ie;
|
|
3597
3611
|
(function(e) {
|
|
3598
3612
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3599
3613
|
})(ie || (ie = {}));
|
|
3600
|
-
var
|
|
3614
|
+
var Me = (
|
|
3601
3615
|
/** @class */
|
|
3602
3616
|
function(e) {
|
|
3603
3617
|
X(t, e);
|
|
@@ -3609,7 +3623,7 @@ var Ne = (
|
|
|
3609
3623
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3610
3624
|
}, t;
|
|
3611
3625
|
}(Error)
|
|
3612
|
-
),
|
|
3626
|
+
), Zt = (
|
|
3613
3627
|
/** @class */
|
|
3614
3628
|
function(e) {
|
|
3615
3629
|
X(t, e);
|
|
@@ -3617,8 +3631,8 @@ var Ne = (
|
|
|
3617
3631
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, s) || this;
|
|
3618
3632
|
}
|
|
3619
3633
|
return t;
|
|
3620
|
-
}(
|
|
3621
|
-
),
|
|
3634
|
+
}(Me)
|
|
3635
|
+
), Ui = (
|
|
3622
3636
|
/** @class */
|
|
3623
3637
|
function(e) {
|
|
3624
3638
|
X(t, e);
|
|
@@ -3626,8 +3640,8 @@ var Ne = (
|
|
|
3626
3640
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
|
|
3627
3641
|
}
|
|
3628
3642
|
return t;
|
|
3629
|
-
}(
|
|
3630
|
-
),
|
|
3643
|
+
}(Me)
|
|
3644
|
+
), ki = (
|
|
3631
3645
|
/** @class */
|
|
3632
3646
|
function(e) {
|
|
3633
3647
|
X(t, e);
|
|
@@ -3635,22 +3649,22 @@ var Ne = (
|
|
|
3635
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;
|
|
3636
3650
|
}
|
|
3637
3651
|
return t;
|
|
3638
|
-
}(
|
|
3652
|
+
}(Me)
|
|
3639
3653
|
), L;
|
|
3640
3654
|
(function(e) {
|
|
3641
3655
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3642
3656
|
})(L || (L = {}));
|
|
3643
|
-
function
|
|
3657
|
+
function Gi(e) {
|
|
3644
3658
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3645
3659
|
var n = t[t.length - 1];
|
|
3646
3660
|
return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
|
|
3647
3661
|
}, []);
|
|
3648
3662
|
}
|
|
3649
|
-
function
|
|
3663
|
+
function ji(e) {
|
|
3650
3664
|
return typeof e == "function";
|
|
3651
3665
|
}
|
|
3652
3666
|
function Ae(e, t, r, n, i, s, o) {
|
|
3653
|
-
if (e.length === 1 &&
|
|
3667
|
+
if (e.length === 1 && Gt(e[0]))
|
|
3654
3668
|
return [
|
|
3655
3669
|
{
|
|
3656
3670
|
type: L.literal,
|
|
@@ -3659,14 +3673,14 @@ function Ae(e, t, r, n, i, s, o) {
|
|
|
3659
3673
|
];
|
|
3660
3674
|
for (var a = [], h = 0, l = e; h < l.length; h++) {
|
|
3661
3675
|
var u = l[h];
|
|
3662
|
-
if (
|
|
3676
|
+
if (Gt(u)) {
|
|
3663
3677
|
a.push({
|
|
3664
3678
|
type: L.literal,
|
|
3665
3679
|
value: u.value
|
|
3666
3680
|
});
|
|
3667
3681
|
continue;
|
|
3668
3682
|
}
|
|
3669
|
-
if (
|
|
3683
|
+
if (hi(u)) {
|
|
3670
3684
|
typeof s == "number" && a.push({
|
|
3671
3685
|
type: L.literal,
|
|
3672
3686
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3675,89 +3689,89 @@ function Ae(e, t, r, n, i, s, o) {
|
|
|
3675
3689
|
}
|
|
3676
3690
|
var c = u.value;
|
|
3677
3691
|
if (!(i && c in i))
|
|
3678
|
-
throw new
|
|
3679
|
-
var
|
|
3680
|
-
if (
|
|
3681
|
-
(!
|
|
3682
|
-
type: typeof
|
|
3683
|
-
value:
|
|
3692
|
+
throw new ki(c, o);
|
|
3693
|
+
var p = i[c];
|
|
3694
|
+
if (li(u)) {
|
|
3695
|
+
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
|
|
3696
|
+
type: typeof p == "string" ? L.literal : L.object,
|
|
3697
|
+
value: p
|
|
3684
3698
|
});
|
|
3685
3699
|
continue;
|
|
3686
3700
|
}
|
|
3687
|
-
if (
|
|
3688
|
-
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;
|
|
3689
3703
|
a.push({
|
|
3690
3704
|
type: L.literal,
|
|
3691
|
-
value: r.getDateTimeFormat(t, y).format(
|
|
3705
|
+
value: r.getDateTimeFormat(t, y).format(p)
|
|
3692
3706
|
});
|
|
3693
3707
|
continue;
|
|
3694
3708
|
}
|
|
3695
|
-
if (
|
|
3696
|
-
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;
|
|
3697
3711
|
a.push({
|
|
3698
3712
|
type: L.literal,
|
|
3699
|
-
value: r.getDateTimeFormat(t, y).format(
|
|
3713
|
+
value: r.getDateTimeFormat(t, y).format(p)
|
|
3700
3714
|
});
|
|
3701
3715
|
continue;
|
|
3702
3716
|
}
|
|
3703
|
-
if (
|
|
3704
|
-
var y = typeof u.style == "string" ? n.number[u.style] :
|
|
3705
|
-
y && y.scale && (
|
|
3717
|
+
if (Er(u)) {
|
|
3718
|
+
var y = typeof u.style == "string" ? n.number[u.style] : Br(u.style) ? u.style.parsedOptions : void 0;
|
|
3719
|
+
y && y.scale && (p = p * (y.scale || 1)), a.push({
|
|
3706
3720
|
type: L.literal,
|
|
3707
|
-
value: r.getNumberFormat(t, y).format(
|
|
3721
|
+
value: r.getNumberFormat(t, y).format(p)
|
|
3708
3722
|
});
|
|
3709
3723
|
continue;
|
|
3710
3724
|
}
|
|
3711
|
-
if (
|
|
3712
|
-
var g = u.children,
|
|
3713
|
-
if (!
|
|
3714
|
-
throw new
|
|
3715
|
-
var
|
|
3716
|
-
return
|
|
3725
|
+
if (Hr(u)) {
|
|
3726
|
+
var g = u.children, d = u.value, b = i[d];
|
|
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;
|
|
3717
3731
|
}));
|
|
3718
|
-
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) {
|
|
3719
3733
|
return {
|
|
3720
|
-
type: typeof
|
|
3721
|
-
value:
|
|
3734
|
+
type: typeof M == "string" ? L.literal : L.object,
|
|
3735
|
+
value: M
|
|
3722
3736
|
};
|
|
3723
3737
|
}));
|
|
3724
3738
|
}
|
|
3725
|
-
if (
|
|
3726
|
-
var P = u.options[
|
|
3739
|
+
if (xr(u)) {
|
|
3740
|
+
var P = u.options[p] || u.options.other;
|
|
3727
3741
|
if (!P)
|
|
3728
|
-
throw new
|
|
3742
|
+
throw new Zt(u.value, p, Object.keys(u.options), o);
|
|
3729
3743
|
a.push.apply(a, Ae(P.value, t, r, n, i));
|
|
3730
3744
|
continue;
|
|
3731
3745
|
}
|
|
3732
|
-
if (
|
|
3733
|
-
var P = u.options["=".concat(
|
|
3746
|
+
if (Tr(u)) {
|
|
3747
|
+
var P = u.options["=".concat(p)];
|
|
3734
3748
|
if (!P) {
|
|
3735
3749
|
if (!Intl.PluralRules)
|
|
3736
|
-
throw new
|
|
3750
|
+
throw new Me(`Intl.PluralRules is not available in this environment.
|
|
3737
3751
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3738
3752
|
`, ie.MISSING_INTL_API, o);
|
|
3739
|
-
var R = r.getPluralRules(t, { type: u.pluralType }).select(
|
|
3753
|
+
var R = r.getPluralRules(t, { type: u.pluralType }).select(p - (u.offset || 0));
|
|
3740
3754
|
P = u.options[R] || u.options.other;
|
|
3741
3755
|
}
|
|
3742
3756
|
if (!P)
|
|
3743
|
-
throw new
|
|
3744
|
-
a.push.apply(a, Ae(P.value, t, r, n, i,
|
|
3757
|
+
throw new Zt(u.value, p, Object.keys(u.options), o);
|
|
3758
|
+
a.push.apply(a, Ae(P.value, t, r, n, i, p - (u.offset || 0)));
|
|
3745
3759
|
continue;
|
|
3746
3760
|
}
|
|
3747
3761
|
}
|
|
3748
|
-
return
|
|
3762
|
+
return Gi(a);
|
|
3749
3763
|
}
|
|
3750
|
-
function
|
|
3764
|
+
function $i(e, t) {
|
|
3751
3765
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3752
3766
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3753
3767
|
}, {})) : e;
|
|
3754
3768
|
}
|
|
3755
|
-
function
|
|
3769
|
+
function Vi(e, t) {
|
|
3756
3770
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3757
|
-
return r[n] =
|
|
3771
|
+
return r[n] = $i(e[n], t[n]), r;
|
|
3758
3772
|
}, w({}, e)) : e;
|
|
3759
3773
|
}
|
|
3760
|
-
function
|
|
3774
|
+
function Ze(e) {
|
|
3761
3775
|
return {
|
|
3762
3776
|
create: function() {
|
|
3763
3777
|
return {
|
|
@@ -3771,39 +3785,39 @@ function ze(e) {
|
|
|
3771
3785
|
}
|
|
3772
3786
|
};
|
|
3773
3787
|
}
|
|
3774
|
-
function
|
|
3788
|
+
function Xi(e) {
|
|
3775
3789
|
return e === void 0 && (e = {
|
|
3776
3790
|
number: {},
|
|
3777
3791
|
dateTime: {},
|
|
3778
3792
|
pluralRules: {}
|
|
3779
3793
|
}), {
|
|
3780
|
-
getNumberFormat:
|
|
3794
|
+
getNumberFormat: Xe(function() {
|
|
3781
3795
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3782
3796
|
r[n] = arguments[n];
|
|
3783
3797
|
return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3784
3798
|
}, {
|
|
3785
|
-
cache:
|
|
3786
|
-
strategy:
|
|
3799
|
+
cache: Ze(e.number),
|
|
3800
|
+
strategy: We.variadic
|
|
3787
3801
|
}),
|
|
3788
|
-
getDateTimeFormat:
|
|
3802
|
+
getDateTimeFormat: Xe(function() {
|
|
3789
3803
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3790
3804
|
r[n] = arguments[n];
|
|
3791
3805
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3792
3806
|
}, {
|
|
3793
|
-
cache:
|
|
3794
|
-
strategy:
|
|
3807
|
+
cache: Ze(e.dateTime),
|
|
3808
|
+
strategy: We.variadic
|
|
3795
3809
|
}),
|
|
3796
|
-
getPluralRules:
|
|
3810
|
+
getPluralRules: Xe(function() {
|
|
3797
3811
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3798
3812
|
r[n] = arguments[n];
|
|
3799
3813
|
return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
|
|
3800
3814
|
}, {
|
|
3801
|
-
cache:
|
|
3802
|
-
strategy:
|
|
3815
|
+
cache: Ze(e.pluralRules),
|
|
3816
|
+
strategy: We.variadic
|
|
3803
3817
|
})
|
|
3804
3818
|
};
|
|
3805
3819
|
}
|
|
3806
|
-
var
|
|
3820
|
+
var Wi = (
|
|
3807
3821
|
/** @class */
|
|
3808
3822
|
function() {
|
|
3809
3823
|
function e(t, r, n, i) {
|
|
@@ -3817,8 +3831,8 @@ var Vi = (
|
|
|
3817
3831
|
var l = s.formatToParts(h);
|
|
3818
3832
|
if (l.length === 1)
|
|
3819
3833
|
return l[0].value;
|
|
3820
|
-
var u = l.reduce(function(c,
|
|
3821
|
-
return !c.length ||
|
|
3834
|
+
var u = l.reduce(function(c, p) {
|
|
3835
|
+
return !c.length || p.type !== L.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
|
|
3822
3836
|
}, []);
|
|
3823
3837
|
return u.length <= 1 ? u[0] || "" : u;
|
|
3824
3838
|
}, this.formatToParts = function(h) {
|
|
@@ -3835,13 +3849,13 @@ var Vi = (
|
|
|
3835
3849
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3836
3850
|
var o = i || {};
|
|
3837
3851
|
o.formatters;
|
|
3838
|
-
var a =
|
|
3852
|
+
var a = Tn(o, ["formatters"]);
|
|
3839
3853
|
this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
|
|
3840
3854
|
} else
|
|
3841
3855
|
this.ast = t;
|
|
3842
3856
|
if (!Array.isArray(this.ast))
|
|
3843
3857
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3844
|
-
this.formats =
|
|
3858
|
+
this.formats = Vi(e.formats, n), this.formatters = i && i.formatters || Xi(this.formatterCache);
|
|
3845
3859
|
}
|
|
3846
3860
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3847
3861
|
get: function() {
|
|
@@ -3854,7 +3868,7 @@ var Vi = (
|
|
|
3854
3868
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3855
3869
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3856
3870
|
}
|
|
3857
|
-
}, e.__parse =
|
|
3871
|
+
}, e.__parse = Fi, e.formats = {
|
|
3858
3872
|
number: {
|
|
3859
3873
|
integer: {
|
|
3860
3874
|
maximumFractionDigits: 0
|
|
@@ -3915,7 +3929,7 @@ var Vi = (
|
|
|
3915
3929
|
}, e;
|
|
3916
3930
|
}()
|
|
3917
3931
|
);
|
|
3918
|
-
function
|
|
3932
|
+
function zi(e, t) {
|
|
3919
3933
|
if (t == null)
|
|
3920
3934
|
return;
|
|
3921
3935
|
if (t in e)
|
|
@@ -3936,92 +3950,92 @@ function Xi(e, t) {
|
|
|
3936
3950
|
n = void 0;
|
|
3937
3951
|
return n;
|
|
3938
3952
|
}
|
|
3939
|
-
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) => {
|
|
3940
3954
|
if (t == null)
|
|
3941
3955
|
return;
|
|
3942
3956
|
if (t in z && e in z[t])
|
|
3943
3957
|
return z[t][e];
|
|
3944
|
-
const r =
|
|
3958
|
+
const r = Ne(t);
|
|
3945
3959
|
for (let n = 0; n < r.length; n++) {
|
|
3946
|
-
const i = r[n], s =
|
|
3960
|
+
const i = r[n], s = qi(i, e);
|
|
3947
3961
|
if (s)
|
|
3948
|
-
return
|
|
3962
|
+
return Zi(e, t, s);
|
|
3949
3963
|
}
|
|
3950
3964
|
};
|
|
3951
|
-
let
|
|
3965
|
+
let pt;
|
|
3952
3966
|
const ae = Re({});
|
|
3953
|
-
function
|
|
3954
|
-
return
|
|
3967
|
+
function Ji(e) {
|
|
3968
|
+
return pt[e] || null;
|
|
3955
3969
|
}
|
|
3956
|
-
function
|
|
3957
|
-
return e in
|
|
3970
|
+
function Nr(e) {
|
|
3971
|
+
return e in pt;
|
|
3958
3972
|
}
|
|
3959
|
-
function
|
|
3960
|
-
if (!
|
|
3973
|
+
function qi(e, t) {
|
|
3974
|
+
if (!Nr(e))
|
|
3961
3975
|
return null;
|
|
3962
|
-
const r =
|
|
3963
|
-
return
|
|
3976
|
+
const r = Ji(e);
|
|
3977
|
+
return zi(r, t);
|
|
3964
3978
|
}
|
|
3965
|
-
function
|
|
3979
|
+
function Qi(e) {
|
|
3966
3980
|
if (e == null)
|
|
3967
3981
|
return;
|
|
3968
|
-
const t =
|
|
3982
|
+
const t = Ne(e);
|
|
3969
3983
|
for (let r = 0; r < t.length; r++) {
|
|
3970
3984
|
const n = t[r];
|
|
3971
|
-
if (
|
|
3985
|
+
if (Nr(n))
|
|
3972
3986
|
return n;
|
|
3973
3987
|
}
|
|
3974
3988
|
}
|
|
3975
|
-
function
|
|
3976
|
-
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));
|
|
3977
3991
|
}
|
|
3978
3992
|
oe(
|
|
3979
3993
|
[ae],
|
|
3980
3994
|
([e]) => Object.keys(e)
|
|
3981
3995
|
);
|
|
3982
|
-
ae.subscribe((e) =>
|
|
3996
|
+
ae.subscribe((e) => pt = e);
|
|
3983
3997
|
const Pe = {};
|
|
3984
|
-
function
|
|
3998
|
+
function Yi(e, t) {
|
|
3985
3999
|
Pe[e].delete(t), Pe[e].size === 0 && delete Pe[e];
|
|
3986
4000
|
}
|
|
3987
|
-
function
|
|
4001
|
+
function Fr(e) {
|
|
3988
4002
|
return Pe[e];
|
|
3989
4003
|
}
|
|
3990
|
-
function
|
|
3991
|
-
return
|
|
3992
|
-
const r =
|
|
4004
|
+
function Ki(e) {
|
|
4005
|
+
return Ne(e).map((t) => {
|
|
4006
|
+
const r = Fr(t);
|
|
3993
4007
|
return [t, r ? [...r] : []];
|
|
3994
4008
|
}).filter(([, t]) => t.length > 0);
|
|
3995
4009
|
}
|
|
3996
|
-
function
|
|
3997
|
-
return e == null ? !1 :
|
|
4010
|
+
function lt(e) {
|
|
4011
|
+
return e == null ? !1 : Ne(e).some(
|
|
3998
4012
|
(t) => {
|
|
3999
4013
|
var r;
|
|
4000
|
-
return (r =
|
|
4014
|
+
return (r = Fr(t)) == null ? void 0 : r.size;
|
|
4001
4015
|
}
|
|
4002
4016
|
);
|
|
4003
4017
|
}
|
|
4004
|
-
function
|
|
4018
|
+
function es(e, t) {
|
|
4005
4019
|
return Promise.all(
|
|
4006
|
-
t.map((n) => (
|
|
4007
|
-
).then((n) =>
|
|
4020
|
+
t.map((n) => (Yi(e, n), n().then((i) => i.default || i)))
|
|
4021
|
+
).then((n) => Dr(e, ...n));
|
|
4008
4022
|
}
|
|
4009
4023
|
const fe = {};
|
|
4010
|
-
function
|
|
4011
|
-
if (!
|
|
4024
|
+
function Ur(e) {
|
|
4025
|
+
if (!lt(e))
|
|
4012
4026
|
return e in fe ? fe[e] : Promise.resolve();
|
|
4013
|
-
const t =
|
|
4027
|
+
const t = Ki(e);
|
|
4014
4028
|
return fe[e] = Promise.all(
|
|
4015
4029
|
t.map(
|
|
4016
|
-
([r, n]) =>
|
|
4030
|
+
([r, n]) => es(r, n)
|
|
4017
4031
|
)
|
|
4018
4032
|
).then(() => {
|
|
4019
|
-
if (
|
|
4020
|
-
return
|
|
4033
|
+
if (lt(e))
|
|
4034
|
+
return Ur(e);
|
|
4021
4035
|
delete fe[e];
|
|
4022
4036
|
}), fe[e];
|
|
4023
4037
|
}
|
|
4024
|
-
const
|
|
4038
|
+
const ts = {
|
|
4025
4039
|
number: {
|
|
4026
4040
|
scientific: { notation: "scientific" },
|
|
4027
4041
|
engineering: { notation: "engineering" },
|
|
@@ -4050,57 +4064,57 @@ const Ki = {
|
|
|
4050
4064
|
timeZoneName: "short"
|
|
4051
4065
|
}
|
|
4052
4066
|
}
|
|
4053
|
-
},
|
|
4067
|
+
}, rs = {
|
|
4054
4068
|
fallbackLocale: null,
|
|
4055
4069
|
loadingDelay: 200,
|
|
4056
|
-
formats:
|
|
4070
|
+
formats: ts,
|
|
4057
4071
|
warnOnMissingMessages: !0,
|
|
4058
4072
|
handleMissingMessage: void 0,
|
|
4059
4073
|
ignoreTag: !0
|
|
4060
|
-
},
|
|
4074
|
+
}, ns = rs;
|
|
4061
4075
|
function se() {
|
|
4062
|
-
return
|
|
4063
|
-
}
|
|
4064
|
-
const
|
|
4065
|
-
var
|
|
4066
|
-
for (var r in t)
|
|
4067
|
-
|
|
4068
|
-
if (
|
|
4069
|
-
for (var r of
|
|
4070
|
-
|
|
4076
|
+
return ns;
|
|
4077
|
+
}
|
|
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) => {
|
|
4080
|
+
for (var r in t || (t = {}))
|
|
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]);
|
|
4071
4085
|
return e;
|
|
4072
|
-
},
|
|
4073
|
-
let
|
|
4086
|
+
}, hs = (e, t) => ss(e, os(t));
|
|
4087
|
+
let ht;
|
|
4074
4088
|
const Ce = Re(null);
|
|
4075
|
-
function
|
|
4089
|
+
function Qt(e) {
|
|
4076
4090
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4077
4091
|
}
|
|
4078
|
-
function
|
|
4079
|
-
const r =
|
|
4080
|
-
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;
|
|
4081
4095
|
}
|
|
4082
4096
|
function J() {
|
|
4083
|
-
return
|
|
4097
|
+
return ht ?? void 0;
|
|
4084
4098
|
}
|
|
4085
4099
|
Ce.subscribe((e) => {
|
|
4086
|
-
|
|
4100
|
+
ht = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4087
4101
|
});
|
|
4088
|
-
const
|
|
4089
|
-
if (e &&
|
|
4102
|
+
const fs = (e) => {
|
|
4103
|
+
if (e && Qi(e) && lt(e)) {
|
|
4090
4104
|
const { loadingDelay: t } = se();
|
|
4091
4105
|
let r;
|
|
4092
4106
|
return typeof window < "u" && J() != null && t ? r = window.setTimeout(
|
|
4093
|
-
() =>
|
|
4107
|
+
() => Je.set(!0),
|
|
4094
4108
|
t
|
|
4095
|
-
) :
|
|
4109
|
+
) : Je.set(!0), Ur(e).then(() => {
|
|
4096
4110
|
Ce.set(e);
|
|
4097
4111
|
}).finally(() => {
|
|
4098
|
-
clearTimeout(r),
|
|
4112
|
+
clearTimeout(r), Je.set(!1);
|
|
4099
4113
|
});
|
|
4100
4114
|
}
|
|
4101
4115
|
return Ce.set(e);
|
|
4102
|
-
}, Z =
|
|
4103
|
-
set:
|
|
4116
|
+
}, Z = hs(ls({}, Ce), {
|
|
4117
|
+
set: fs
|
|
4104
4118
|
}), De = (e) => {
|
|
4105
4119
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4106
4120
|
return (n) => {
|
|
@@ -4108,77 +4122,77 @@ const ls = (e) => {
|
|
|
4108
4122
|
return i in t ? t[i] : t[i] = e(n);
|
|
4109
4123
|
};
|
|
4110
4124
|
};
|
|
4111
|
-
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) => {
|
|
4112
4126
|
for (var r in t || (t = {}))
|
|
4113
|
-
|
|
4127
|
+
kr.call(t, r) && Yt(e, r, t[r]);
|
|
4114
4128
|
if (Ie)
|
|
4115
4129
|
for (var r of Ie(t))
|
|
4116
|
-
|
|
4130
|
+
Gr.call(t, r) && Yt(e, r, t[r]);
|
|
4117
4131
|
return e;
|
|
4118
4132
|
}, ue = (e, t) => {
|
|
4119
4133
|
var r = {};
|
|
4120
4134
|
for (var n in e)
|
|
4121
|
-
|
|
4135
|
+
kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4122
4136
|
if (e != null && Ie)
|
|
4123
4137
|
for (var n of Ie(e))
|
|
4124
|
-
t.indexOf(n) < 0 &&
|
|
4138
|
+
t.indexOf(n) < 0 && Gr.call(e, n) && (r[n] = e[n]);
|
|
4125
4139
|
return r;
|
|
4126
4140
|
};
|
|
4127
|
-
const
|
|
4141
|
+
const de = (e, t) => {
|
|
4128
4142
|
const { formats: r } = se();
|
|
4129
4143
|
if (e in r && t in r[e])
|
|
4130
4144
|
return r[e][t];
|
|
4131
4145
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4132
|
-
},
|
|
4146
|
+
}, ms = De(
|
|
4133
4147
|
(e) => {
|
|
4134
4148
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4135
4149
|
if (r == null)
|
|
4136
4150
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4137
|
-
return n && (i =
|
|
4151
|
+
return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
|
|
4138
4152
|
}
|
|
4139
|
-
),
|
|
4153
|
+
), ps = De(
|
|
4140
4154
|
(e) => {
|
|
4141
4155
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4142
4156
|
if (r == null)
|
|
4143
4157
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4144
|
-
return n ? i =
|
|
4158
|
+
return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4145
4159
|
}
|
|
4146
|
-
),
|
|
4160
|
+
), ds = De(
|
|
4147
4161
|
(e) => {
|
|
4148
4162
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4149
4163
|
if (r == null)
|
|
4150
4164
|
throw new Error(
|
|
4151
4165
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4152
4166
|
);
|
|
4153
|
-
return n ? i =
|
|
4167
|
+
return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4154
4168
|
}
|
|
4155
|
-
),
|
|
4169
|
+
), gs = (e = {}) => {
|
|
4156
4170
|
var t = e, {
|
|
4157
4171
|
locale: r = J()
|
|
4158
4172
|
} = t, n = ue(t, [
|
|
4159
4173
|
"locale"
|
|
4160
4174
|
]);
|
|
4161
|
-
return
|
|
4162
|
-
},
|
|
4175
|
+
return ms(dt({ locale: r }, n));
|
|
4176
|
+
}, bs = (e = {}) => {
|
|
4163
4177
|
var t = e, {
|
|
4164
4178
|
locale: r = J()
|
|
4165
4179
|
} = t, n = ue(t, [
|
|
4166
4180
|
"locale"
|
|
4167
4181
|
]);
|
|
4168
|
-
return
|
|
4169
|
-
},
|
|
4182
|
+
return ps(dt({ locale: r }, n));
|
|
4183
|
+
}, ys = (e = {}) => {
|
|
4170
4184
|
var t = e, {
|
|
4171
4185
|
locale: r = J()
|
|
4172
4186
|
} = t, n = ue(t, [
|
|
4173
4187
|
"locale"
|
|
4174
4188
|
]);
|
|
4175
|
-
return
|
|
4176
|
-
},
|
|
4189
|
+
return ds(dt({ locale: r }, n));
|
|
4190
|
+
}, vs = De(
|
|
4177
4191
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4178
|
-
(e, t = J()) => new
|
|
4192
|
+
(e, t = J()) => new Wi(e, t, se().formats, {
|
|
4179
4193
|
ignoreTag: se().ignoreTag
|
|
4180
4194
|
})
|
|
4181
|
-
),
|
|
4195
|
+
), _s = (e, t = {}) => {
|
|
4182
4196
|
var r, n, i, s;
|
|
4183
4197
|
let o = t;
|
|
4184
4198
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -4191,7 +4205,7 @@ const pe = (e, t) => {
|
|
|
4191
4205
|
throw new Error(
|
|
4192
4206
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4193
4207
|
);
|
|
4194
|
-
let u =
|
|
4208
|
+
let u = Mr(e, h);
|
|
4195
4209
|
if (!u)
|
|
4196
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;
|
|
4197
4211
|
else if (typeof u != "string")
|
|
@@ -4202,33 +4216,33 @@ const pe = (e, t) => {
|
|
|
4202
4216
|
return u;
|
|
4203
4217
|
let c = u;
|
|
4204
4218
|
try {
|
|
4205
|
-
c =
|
|
4206
|
-
} catch (
|
|
4207
|
-
|
|
4219
|
+
c = vs(u, h).format(a);
|
|
4220
|
+
} catch (p) {
|
|
4221
|
+
p instanceof Error && console.warn(
|
|
4208
4222
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4209
|
-
|
|
4223
|
+
p.message
|
|
4210
4224
|
);
|
|
4211
4225
|
}
|
|
4212
4226
|
return c;
|
|
4213
|
-
},
|
|
4214
|
-
oe([Z], () => vs);
|
|
4215
|
-
oe([Z], () => _s);
|
|
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);
|
|
4216
4228
|
oe([Z], () => Es);
|
|
4217
|
-
oe([Z
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
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 }) {
|
|
4221
4235
|
Z.subscribe((r) => {
|
|
4222
4236
|
r == null && (ae.set(t), Z.set(e));
|
|
4223
4237
|
});
|
|
4224
4238
|
}
|
|
4225
|
-
function
|
|
4226
|
-
|
|
4239
|
+
function er(e, t) {
|
|
4240
|
+
Dr(e, t);
|
|
4227
4241
|
}
|
|
4228
|
-
function
|
|
4242
|
+
function Bs(e) {
|
|
4229
4243
|
Z.set(e);
|
|
4230
4244
|
}
|
|
4231
|
-
const
|
|
4245
|
+
const tr = {
|
|
4232
4246
|
en: {
|
|
4233
4247
|
goToLoginButton: "Go To Login",
|
|
4234
4248
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
@@ -4274,13 +4288,13 @@ const Kt = {
|
|
|
4274
4288
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
4275
4289
|
}
|
|
4276
4290
|
};
|
|
4277
|
-
function
|
|
4291
|
+
function As(e, t) {
|
|
4278
4292
|
if (e) {
|
|
4279
4293
|
const r = document.createElement("style");
|
|
4280
4294
|
r.innerHTML = t, e.appendChild(r);
|
|
4281
4295
|
}
|
|
4282
4296
|
}
|
|
4283
|
-
function
|
|
4297
|
+
function Ps(e, t) {
|
|
4284
4298
|
const r = new URL(t);
|
|
4285
4299
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4286
4300
|
const i = document.createElement("style");
|
|
@@ -4289,7 +4303,7 @@ function Bs(e, t) {
|
|
|
4289
4303
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4290
4304
|
});
|
|
4291
4305
|
}
|
|
4292
|
-
function
|
|
4306
|
+
function Os(e, t, r) {
|
|
4293
4307
|
if (window.emMessageBus) {
|
|
4294
4308
|
const n = document.createElement("style");
|
|
4295
4309
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4309,7 +4323,7 @@ if (typeof window < "u") {
|
|
|
4309
4323
|
}
|
|
4310
4324
|
};
|
|
4311
4325
|
};
|
|
4312
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-
|
|
4326
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-ChHWqbZT.js").then(({ default: t }) => {
|
|
4313
4327
|
!customElements.get("general-player-register-form-step1") && customElements.define("general-player-register-form-step1", t.element);
|
|
4314
4328
|
});
|
|
4315
4329
|
}
|
|
@@ -4325,7 +4339,7 @@ if (typeof window < "u") {
|
|
|
4325
4339
|
}
|
|
4326
4340
|
};
|
|
4327
4341
|
};
|
|
4328
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-
|
|
4342
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-m-1TTcWc.js").then(({ default: t }) => {
|
|
4329
4343
|
!customElements.get("general-player-register-form-step2") && customElements.define("general-player-register-form-step2", t.element);
|
|
4330
4344
|
});
|
|
4331
4345
|
}
|
|
@@ -4341,7 +4355,7 @@ if (typeof window < "u") {
|
|
|
4341
4355
|
}
|
|
4342
4356
|
};
|
|
4343
4357
|
};
|
|
4344
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-
|
|
4358
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-BWdiFMfP.js").then(({ default: t }) => {
|
|
4345
4359
|
!customElements.get("general-player-register-form-step3") && customElements.define("general-player-register-form-step3", t.element);
|
|
4346
4360
|
});
|
|
4347
4361
|
}
|
|
@@ -4357,85 +4371,85 @@ if (typeof window < "u") {
|
|
|
4357
4371
|
}
|
|
4358
4372
|
};
|
|
4359
4373
|
};
|
|
4360
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4374
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-7Ta2HmaS.js").then(({ default: t }) => {
|
|
4361
4375
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4362
4376
|
});
|
|
4363
4377
|
}
|
|
4364
|
-
function
|
|
4365
|
-
|
|
4378
|
+
function Cs(e) {
|
|
4379
|
+
rn(e, "svelte-2vt9w2", ".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, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;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, 10px);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}");
|
|
4366
4380
|
}
|
|
4367
|
-
function
|
|
4381
|
+
function Is(e) {
|
|
4368
4382
|
let t, r, n, i, s, o, a, h = (
|
|
4369
4383
|
/*showRegisterStepOne*/
|
|
4370
4384
|
(e[18] || /*showRegisterStepTwo*/
|
|
4371
4385
|
e[19] || /*showRegisterStepThree*/
|
|
4372
|
-
e[20]) &&
|
|
4386
|
+
e[20]) && rr(e)
|
|
4373
4387
|
), l = (
|
|
4374
4388
|
/*showRegisterStepOne*/
|
|
4375
|
-
e[18] &&
|
|
4389
|
+
e[18] && nr(e)
|
|
4376
4390
|
), u = (
|
|
4377
4391
|
/*showRegisterStepTwo*/
|
|
4378
|
-
e[19] &&
|
|
4392
|
+
e[19] && ir(e)
|
|
4379
4393
|
), c = (
|
|
4380
4394
|
/*showRegisterStepThree*/
|
|
4381
|
-
e[20] &&
|
|
4395
|
+
e[20] && sr(e)
|
|
4382
4396
|
);
|
|
4383
|
-
function
|
|
4397
|
+
function p(b, S) {
|
|
4384
4398
|
if (
|
|
4385
4399
|
/*smsverification*/
|
|
4386
4400
|
b[7] && /*showSmsVerification*/
|
|
4387
4401
|
b[21]
|
|
4388
4402
|
)
|
|
4389
|
-
return
|
|
4403
|
+
return Rs;
|
|
4390
4404
|
if (
|
|
4391
4405
|
/*smsSendApiFailed*/
|
|
4392
4406
|
b[31]
|
|
4393
4407
|
)
|
|
4394
|
-
return
|
|
4408
|
+
return Ls;
|
|
4395
4409
|
}
|
|
4396
|
-
let y =
|
|
4410
|
+
let y = p(e), g = y && y(e), d = (
|
|
4397
4411
|
/*showConfirmation*/
|
|
4398
|
-
e[22] &&
|
|
4412
|
+
e[22] && or(e)
|
|
4399
4413
|
);
|
|
4400
4414
|
return {
|
|
4401
4415
|
c() {
|
|
4402
|
-
t = B("div"), r = B("div"), h && h.c(), n = U(), l && l.c(), i = U(), u && u.c(), s = U(), c && c.c(), o = U(), g && g.c(), a = U(),
|
|
4403
|
-
(e[35] ? "RegisterFormContainerMobile" : "")),
|
|
4416
|
+
t = B("div"), r = B("div"), h && h.c(), n = U(), l && l.c(), i = U(), u && u.c(), s = U(), c && c.c(), o = U(), g && g.c(), a = U(), d && d.c(), x(r, "class", "RegisterFormContainer " + /*isMobile*/
|
|
4417
|
+
(e[35] ? "RegisterFormContainerMobile" : "")), x(t, "class", "RegisterFormWrapper");
|
|
4404
4418
|
},
|
|
4405
|
-
m(b,
|
|
4406
|
-
F(b, t,
|
|
4419
|
+
m(b, S) {
|
|
4420
|
+
F(b, t, S), E(t, r), h && h.m(r, null), E(r, n), l && l.m(r, null), E(r, i), u && u.m(r, null), E(r, s), c && c.m(r, null), E(r, o), g && g.m(r, null), E(r, a), d && d.m(r, null);
|
|
4407
4421
|
},
|
|
4408
|
-
p(b,
|
|
4422
|
+
p(b, S) {
|
|
4409
4423
|
/*showRegisterStepOne*/
|
|
4410
4424
|
b[18] || /*showRegisterStepTwo*/
|
|
4411
4425
|
b[19] || /*showRegisterStepThree*/
|
|
4412
|
-
b[20] ? h ? h.p(b,
|
|
4413
|
-
b[18] ? l ? l.p(b,
|
|
4414
|
-
b[19] ? u ? u.p(b,
|
|
4415
|
-
b[20] ? c ? c.p(b,
|
|
4416
|
-
b[22] ?
|
|
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);
|
|
4417
4431
|
},
|
|
4418
4432
|
d(b) {
|
|
4419
|
-
b &&
|
|
4433
|
+
b && N(t), h && h.d(), l && l.d(), u && u.d(), c && c.d(), g && g.d(), d && d.d();
|
|
4420
4434
|
}
|
|
4421
4435
|
};
|
|
4422
4436
|
}
|
|
4423
|
-
function
|
|
4437
|
+
function rr(e) {
|
|
4424
4438
|
let t, r, n, i, s, o, a, h, l;
|
|
4425
4439
|
return {
|
|
4426
4440
|
c() {
|
|
4427
|
-
t = B("div"), r = B("div"), i = U(), s = B("div"), a = U(), h = B("div"),
|
|
4441
|
+
t = B("div"), r = B("div"), i = U(), s = B("div"), a = U(), h = B("div"), x(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
|
|
4428
4442
|
(e[18] || !/*showRegisterStepOne*/
|
|
4429
4443
|
e[18] && /*showRegisterStepTwo*/
|
|
4430
4444
|
e[19] || !/*showRegisterStepOne*/
|
|
4431
4445
|
e[18] && !/*showRegisterStepTwo*/
|
|
4432
4446
|
e[19] && /*showRegisterStepThree*/
|
|
4433
|
-
e[20] ? "RegisterStepDashColor" : "")),
|
|
4447
|
+
e[20] ? "RegisterStepDashColor" : "")), x(s, "class", o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
|
|
4434
4448
|
(e[19] || !/*showRegisterStepOne*/
|
|
4435
4449
|
e[18] && !/*showRegisterStepTwo*/
|
|
4436
4450
|
e[19] && /*showRegisterStepThree*/
|
|
4437
|
-
e[20] ? "RegisterStepDashColor" : "")),
|
|
4438
|
-
(e[20] ? "RegisterStepDashColor" : "")),
|
|
4451
|
+
e[20] ? "RegisterStepDashColor" : "")), x(h, "class", l = "RegisterThirdStepDash " + /*showRegisterStepThree*/
|
|
4452
|
+
(e[20] ? "RegisterStepDashColor" : "")), x(t, "class", "RegisterSteps");
|
|
4439
4453
|
},
|
|
4440
4454
|
m(u, c) {
|
|
4441
4455
|
F(u, t, c), E(t, r), E(t, i), E(t, s), E(t, a), E(t, h), e[41](t);
|
|
@@ -4448,21 +4462,21 @@ function er(e) {
|
|
|
4448
4462
|
u[19] || !/*showRegisterStepOne*/
|
|
4449
4463
|
u[18] && !/*showRegisterStepTwo*/
|
|
4450
4464
|
u[19] && /*showRegisterStepThree*/
|
|
4451
|
-
u[20] ? "RegisterStepDashColor" : "")) &&
|
|
4465
|
+
u[20] ? "RegisterStepDashColor" : "")) && x(r, "class", n), c[0] & /*showRegisterStepTwo, showRegisterStepOne, showRegisterStepThree*/
|
|
4452
4466
|
1835008 && o !== (o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
|
|
4453
4467
|
(u[19] || !/*showRegisterStepOne*/
|
|
4454
4468
|
u[18] && !/*showRegisterStepTwo*/
|
|
4455
4469
|
u[19] && /*showRegisterStepThree*/
|
|
4456
|
-
u[20] ? "RegisterStepDashColor" : "")) &&
|
|
4470
|
+
u[20] ? "RegisterStepDashColor" : "")) && x(s, "class", o), c[0] & /*showRegisterStepThree*/
|
|
4457
4471
|
1048576 && l !== (l = "RegisterThirdStepDash " + /*showRegisterStepThree*/
|
|
4458
|
-
(u[20] ? "RegisterStepDashColor" : "")) &&
|
|
4472
|
+
(u[20] ? "RegisterStepDashColor" : "")) && x(h, "class", l);
|
|
4459
4473
|
},
|
|
4460
4474
|
d(u) {
|
|
4461
|
-
u &&
|
|
4475
|
+
u && N(t), e[41](null);
|
|
4462
4476
|
}
|
|
4463
4477
|
};
|
|
4464
4478
|
}
|
|
4465
|
-
function
|
|
4479
|
+
function nr(e) {
|
|
4466
4480
|
let t, r;
|
|
4467
4481
|
return {
|
|
4468
4482
|
c() {
|
|
@@ -4516,7 +4530,7 @@ function tr(e) {
|
|
|
4516
4530
|
"mbsource",
|
|
4517
4531
|
/*mbsource*/
|
|
4518
4532
|
e[9]
|
|
4519
|
-
),
|
|
4533
|
+
), x(t, "class", "RegisterFormStep1");
|
|
4520
4534
|
},
|
|
4521
4535
|
m(n, i) {
|
|
4522
4536
|
F(n, t, i), E(t, r);
|
|
@@ -4585,11 +4599,11 @@ function tr(e) {
|
|
|
4585
4599
|
);
|
|
4586
4600
|
},
|
|
4587
4601
|
d(n) {
|
|
4588
|
-
n &&
|
|
4602
|
+
n && N(t);
|
|
4589
4603
|
}
|
|
4590
4604
|
};
|
|
4591
4605
|
}
|
|
4592
|
-
function
|
|
4606
|
+
function ir(e) {
|
|
4593
4607
|
let t, r;
|
|
4594
4608
|
return {
|
|
4595
4609
|
c() {
|
|
@@ -4643,7 +4657,7 @@ function rr(e) {
|
|
|
4643
4657
|
"mbsource",
|
|
4644
4658
|
/*mbsource*/
|
|
4645
4659
|
e[9]
|
|
4646
|
-
),
|
|
4660
|
+
), x(t, "class", "RegisterFormStep2");
|
|
4647
4661
|
},
|
|
4648
4662
|
m(n, i) {
|
|
4649
4663
|
F(n, t, i), E(t, r);
|
|
@@ -4712,11 +4726,11 @@ function rr(e) {
|
|
|
4712
4726
|
);
|
|
4713
4727
|
},
|
|
4714
4728
|
d(n) {
|
|
4715
|
-
n &&
|
|
4729
|
+
n && N(t);
|
|
4716
4730
|
}
|
|
4717
4731
|
};
|
|
4718
4732
|
}
|
|
4719
|
-
function
|
|
4733
|
+
function sr(e) {
|
|
4720
4734
|
let t, r;
|
|
4721
4735
|
return {
|
|
4722
4736
|
c() {
|
|
@@ -4785,7 +4799,7 @@ function nr(e) {
|
|
|
4785
4799
|
"mbsource",
|
|
4786
4800
|
/*mbsource*/
|
|
4787
4801
|
e[9]
|
|
4788
|
-
),
|
|
4802
|
+
), x(t, "class", "RegisterFormStep3");
|
|
4789
4803
|
},
|
|
4790
4804
|
m(n, i) {
|
|
4791
4805
|
F(n, t, i), E(t, r);
|
|
@@ -4872,18 +4886,18 @@ function nr(e) {
|
|
|
4872
4886
|
);
|
|
4873
4887
|
},
|
|
4874
4888
|
d(n) {
|
|
4875
|
-
n &&
|
|
4889
|
+
n && N(t);
|
|
4876
4890
|
}
|
|
4877
4891
|
};
|
|
4878
4892
|
}
|
|
4879
|
-
function
|
|
4893
|
+
function Ls(e) {
|
|
4880
4894
|
let t, r = (
|
|
4881
4895
|
/*$_*/
|
|
4882
4896
|
e[34]("error") + ""
|
|
4883
4897
|
), n;
|
|
4884
4898
|
return {
|
|
4885
4899
|
c() {
|
|
4886
|
-
t = B("p"), n = $(r),
|
|
4900
|
+
t = B("p"), n = $(r), x(t, "class", "SMSErrorText");
|
|
4887
4901
|
},
|
|
4888
4902
|
m(i, s) {
|
|
4889
4903
|
F(i, t, s), E(t, n);
|
|
@@ -4894,22 +4908,22 @@ function Cs(e) {
|
|
|
4894
4908
|
i[34]("error") + "") && K(n, r);
|
|
4895
4909
|
},
|
|
4896
4910
|
d(i) {
|
|
4897
|
-
i &&
|
|
4911
|
+
i && N(t);
|
|
4898
4912
|
}
|
|
4899
4913
|
};
|
|
4900
4914
|
}
|
|
4901
|
-
function
|
|
4915
|
+
function Rs(e) {
|
|
4902
4916
|
let t;
|
|
4903
4917
|
function r(s, o) {
|
|
4904
4918
|
return (
|
|
4905
4919
|
/*smsSendApiFailed*/
|
|
4906
|
-
s[31] ?
|
|
4920
|
+
s[31] ? Ms : Ns
|
|
4907
4921
|
);
|
|
4908
4922
|
}
|
|
4909
4923
|
let n = r(e), i = n(e);
|
|
4910
4924
|
return {
|
|
4911
4925
|
c() {
|
|
4912
|
-
i.c(), t =
|
|
4926
|
+
i.c(), t = on();
|
|
4913
4927
|
},
|
|
4914
4928
|
m(s, o) {
|
|
4915
4929
|
i.m(s, o), F(s, t, o);
|
|
@@ -4918,18 +4932,18 @@ function Is(e) {
|
|
|
4918
4932
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t.parentNode, t)));
|
|
4919
4933
|
},
|
|
4920
4934
|
d(s) {
|
|
4921
|
-
s &&
|
|
4935
|
+
s && N(t), i.d(s);
|
|
4922
4936
|
}
|
|
4923
4937
|
};
|
|
4924
4938
|
}
|
|
4925
|
-
function
|
|
4939
|
+
function Ms(e) {
|
|
4926
4940
|
let t, r = (
|
|
4927
4941
|
/*$_*/
|
|
4928
4942
|
e[34]("error") + ""
|
|
4929
4943
|
), n;
|
|
4930
4944
|
return {
|
|
4931
4945
|
c() {
|
|
4932
|
-
t = B("p"), n = $(r),
|
|
4946
|
+
t = B("p"), n = $(r), x(t, "class", "SMSErrorText");
|
|
4933
4947
|
},
|
|
4934
4948
|
m(i, s) {
|
|
4935
4949
|
F(i, t, s), E(t, n);
|
|
@@ -4940,11 +4954,11 @@ function Ls(e) {
|
|
|
4940
4954
|
i[34]("error") + "") && K(n, r);
|
|
4941
4955
|
},
|
|
4942
4956
|
d(i) {
|
|
4943
|
-
i &&
|
|
4957
|
+
i && N(t);
|
|
4944
4958
|
}
|
|
4945
4959
|
};
|
|
4946
4960
|
}
|
|
4947
|
-
function
|
|
4961
|
+
function Ns(e) {
|
|
4948
4962
|
let t;
|
|
4949
4963
|
return {
|
|
4950
4964
|
c() {
|
|
@@ -5045,31 +5059,31 @@ function Rs(e) {
|
|
|
5045
5059
|
);
|
|
5046
5060
|
},
|
|
5047
5061
|
d(r) {
|
|
5048
|
-
r &&
|
|
5062
|
+
r && N(t);
|
|
5049
5063
|
}
|
|
5050
5064
|
};
|
|
5051
5065
|
}
|
|
5052
|
-
function
|
|
5053
|
-
let t, r, n, i, s, o, a, h, l, u, c,
|
|
5066
|
+
function or(e) {
|
|
5067
|
+
let t, r, n, i, s, o, a, h, l, u, c, p, y, g, d, b, S, O = (
|
|
5054
5068
|
/*$_*/
|
|
5055
5069
|
e[34]("goToLoginButton") + ""
|
|
5056
|
-
), P, R,
|
|
5070
|
+
), P, R, M;
|
|
5057
5071
|
return {
|
|
5058
5072
|
c() {
|
|
5059
|
-
t = B("div"), r =
|
|
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 = $(
|
|
5060
5074
|
/*accountCreationTitle*/
|
|
5061
5075
|
e[23]
|
|
5062
|
-
), u = U(), c = B("p"),
|
|
5076
|
+
), u = U(), c = B("p"), p = $(
|
|
5063
5077
|
/*accountCreationSubTitle*/
|
|
5064
5078
|
e[24]
|
|
5065
|
-
), y = U(), g = B("p"),
|
|
5079
|
+
), y = U(), g = B("p"), d = $(
|
|
5066
5080
|
/*accountCreationMessage*/
|
|
5067
5081
|
e[25]
|
|
5068
|
-
), b = U(),
|
|
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");
|
|
5069
5083
|
},
|
|
5070
5084
|
m(C, D) {
|
|
5071
|
-
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,
|
|
5072
|
-
|
|
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(
|
|
5086
|
+
S,
|
|
5073
5087
|
"click",
|
|
5074
5088
|
/*switchToLogin*/
|
|
5075
5089
|
e[36]
|
|
@@ -5083,12 +5097,12 @@ function ir(e) {
|
|
|
5083
5097
|
C[23]
|
|
5084
5098
|
), D[0] & /*accountCreationSubTitle*/
|
|
5085
5099
|
16777216 && K(
|
|
5086
|
-
|
|
5100
|
+
p,
|
|
5087
5101
|
/*accountCreationSubTitle*/
|
|
5088
5102
|
C[24]
|
|
5089
5103
|
), D[0] & /*accountCreationMessage*/
|
|
5090
5104
|
33554432 && K(
|
|
5091
|
-
|
|
5105
|
+
d,
|
|
5092
5106
|
/*accountCreationMessage*/
|
|
5093
5107
|
C[25]
|
|
5094
5108
|
), D[1] & /*$_*/
|
|
@@ -5096,14 +5110,14 @@ function ir(e) {
|
|
|
5096
5110
|
C[34]("goToLoginButton") + "") && K(P, O);
|
|
5097
5111
|
},
|
|
5098
5112
|
d(C) {
|
|
5099
|
-
C &&
|
|
5113
|
+
C && N(t), R = !1, M();
|
|
5100
5114
|
}
|
|
5101
5115
|
};
|
|
5102
5116
|
}
|
|
5103
|
-
function
|
|
5117
|
+
function Ds(e) {
|
|
5104
5118
|
let t;
|
|
5105
5119
|
function r(s, o) {
|
|
5106
|
-
return
|
|
5120
|
+
return Is;
|
|
5107
5121
|
}
|
|
5108
5122
|
let i = r()(e);
|
|
5109
5123
|
return {
|
|
@@ -5119,48 +5133,48 @@ function Ns(e) {
|
|
|
5119
5133
|
i: k,
|
|
5120
5134
|
o: k,
|
|
5121
5135
|
d(s) {
|
|
5122
|
-
s &&
|
|
5136
|
+
s && N(t), i.d(), e[42](null);
|
|
5123
5137
|
}
|
|
5124
5138
|
};
|
|
5125
5139
|
}
|
|
5126
|
-
let
|
|
5127
|
-
function
|
|
5140
|
+
let Fs = "Please use this code {0} to activate your account";
|
|
5141
|
+
function Us(e, t, r) {
|
|
5128
5142
|
let n;
|
|
5129
|
-
|
|
5130
|
-
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:
|
|
5131
|
-
|
|
5132
|
-
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 = () => {
|
|
5133
5147
|
fetch(R).then((H) => H.json()).then((H) => {
|
|
5134
5148
|
Object.keys(H).forEach((I) => {
|
|
5135
|
-
|
|
5149
|
+
er(I, H[I]);
|
|
5136
5150
|
});
|
|
5137
5151
|
}).catch((H) => {
|
|
5138
5152
|
console.log(H);
|
|
5139
5153
|
});
|
|
5140
5154
|
};
|
|
5141
|
-
Object.keys(
|
|
5142
|
-
|
|
5155
|
+
Object.keys(tr).forEach((f) => {
|
|
5156
|
+
er(f, tr[f]);
|
|
5143
5157
|
});
|
|
5144
|
-
const
|
|
5158
|
+
const Vr = () => {
|
|
5145
5159
|
fetch(`${i}/v1/player/consentRequirements`).then((f) => f.json()).then((f) => {
|
|
5146
5160
|
f.items.length > 0 ? (r(26, Ge = "true"), f.items.forEach((H) => {
|
|
5147
5161
|
switch (H.tagCode) {
|
|
5148
5162
|
case "termsandconditions":
|
|
5149
|
-
r(27,
|
|
5163
|
+
r(27, xt = "true");
|
|
5150
5164
|
break;
|
|
5151
5165
|
case "sms":
|
|
5152
|
-
r(28,
|
|
5166
|
+
r(28, Tt = "true");
|
|
5153
5167
|
break;
|
|
5154
5168
|
case "emailmarketing":
|
|
5155
|
-
r(29,
|
|
5169
|
+
r(29, Ht = "true");
|
|
5156
5170
|
break;
|
|
5157
5171
|
}
|
|
5158
5172
|
})) : r(26, Ge = "false");
|
|
5159
5173
|
});
|
|
5160
|
-
},
|
|
5161
|
-
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);
|
|
5162
5176
|
H && (H === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((I) => I.json()).then((I) => {
|
|
5163
|
-
ye = I.registerData, r(23,
|
|
5177
|
+
ye = I.registerData, r(23, yt = ye.title), r(24, vt = ye.subtitle), r(25, _t = ye.content);
|
|
5164
5178
|
}).catch((I) => {
|
|
5165
5179
|
console.error(I);
|
|
5166
5180
|
});
|
|
@@ -5168,19 +5182,19 @@ function Ds(e, t, r) {
|
|
|
5168
5182
|
_e.scrollIntoView();
|
|
5169
5183
|
}, he = (f) => {
|
|
5170
5184
|
for (const H in f)
|
|
5171
|
-
j[H] = f[H], H === "mobile" && r(32,
|
|
5185
|
+
j[H] = f[H], H === "mobile" && r(32, Pt = `${f[H].prefix}${f[H].number}`);
|
|
5172
5186
|
j.affiliateMarker = j.promoCode ? j.promoCode : h ?? "";
|
|
5173
|
-
},
|
|
5187
|
+
}, Ot = (f) => {
|
|
5174
5188
|
if (f.data)
|
|
5175
5189
|
switch (f.data.type) {
|
|
5176
5190
|
case "RegisterStepOne":
|
|
5177
|
-
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);
|
|
5178
5192
|
break;
|
|
5179
5193
|
case "RegisterStepTwo":
|
|
5180
|
-
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);
|
|
5181
5195
|
break;
|
|
5182
5196
|
case "RegisterStepThree":
|
|
5183
|
-
he(f.data.registerStepThreeData),
|
|
5197
|
+
he(f.data.registerStepThreeData), zr(j);
|
|
5184
5198
|
break;
|
|
5185
5199
|
case "SmsHasBeenValidated":
|
|
5186
5200
|
r(22, ke = !0), r(21, Ue = !1);
|
|
@@ -5192,9 +5206,9 @@ function Ds(e, t, r) {
|
|
|
5192
5206
|
he(f.data.registerStepThreeData), Ee(), r(19, le = !0), r(20, be = !1), window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
|
|
5193
5207
|
break;
|
|
5194
5208
|
}
|
|
5195
|
-
},
|
|
5209
|
+
}, Wr = () => {
|
|
5196
5210
|
typeof gtag == "function" && gtag("event", "Register", { context: "GeneralPlayerRegisterForm" });
|
|
5197
|
-
},
|
|
5211
|
+
}, zr = async (f) => {
|
|
5198
5212
|
f.language = u;
|
|
5199
5213
|
let H = {
|
|
5200
5214
|
method: "PUT",
|
|
@@ -5205,15 +5219,15 @@ function Ds(e, t, r) {
|
|
|
5205
5219
|
},
|
|
5206
5220
|
body: JSON.stringify(f)
|
|
5207
5221
|
}, I = await fetch(`${i}/v1/player/register`, H), W = await I.json();
|
|
5208
|
-
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(
|
|
5209
5223
|
{
|
|
5210
5224
|
type: "ShowRegistrationError",
|
|
5211
|
-
showError:
|
|
5212
|
-
error:
|
|
5225
|
+
showError: bt,
|
|
5226
|
+
error: Bt
|
|
5213
5227
|
},
|
|
5214
5228
|
window.location.href
|
|
5215
5229
|
));
|
|
5216
|
-
},
|
|
5230
|
+
}, Zr = async (f, H) => {
|
|
5217
5231
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
5218
5232
|
try {
|
|
5219
5233
|
const I = await fetch(`${i}/v1/player/sms/token`, {
|
|
@@ -5224,107 +5238,107 @@ function Ds(e, t, r) {
|
|
|
5224
5238
|
},
|
|
5225
5239
|
body: JSON.stringify({
|
|
5226
5240
|
userId: H,
|
|
5227
|
-
messageTemplate:
|
|
5241
|
+
messageTemplate: Fs,
|
|
5228
5242
|
destination: `${f.mobile.prefix}${f.mobile.number}`
|
|
5229
5243
|
})
|
|
5230
5244
|
}), W = await I.json();
|
|
5231
5245
|
if (I.ok) {
|
|
5232
|
-
r(30,
|
|
5233
|
-
let
|
|
5246
|
+
r(30, At = W.id);
|
|
5247
|
+
let Gs = W.maxValidationAttempts;
|
|
5234
5248
|
r(21, Ue = !0), r(31, ve = !1);
|
|
5235
5249
|
} else
|
|
5236
5250
|
throw r(31, ve = !0), new Error("Failed to fetch");
|
|
5237
5251
|
} catch (I) {
|
|
5238
5252
|
r(31, ve = !0), console.error(I);
|
|
5239
5253
|
}
|
|
5240
|
-
},
|
|
5241
|
-
|
|
5242
|
-
},
|
|
5254
|
+
}, Jr = () => {
|
|
5255
|
+
p.split(",");
|
|
5256
|
+
}, qr = () => {
|
|
5243
5257
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
5244
|
-
},
|
|
5245
|
-
|
|
5258
|
+
}, Qr = () => {
|
|
5259
|
+
Bs(u);
|
|
5246
5260
|
};
|
|
5247
|
-
|
|
5248
|
-
window.removeEventListener("message",
|
|
5261
|
+
fn(() => (window.addEventListener("message", Ot, !1), () => {
|
|
5262
|
+
window.removeEventListener("message", Ot);
|
|
5249
5263
|
}));
|
|
5250
|
-
function
|
|
5264
|
+
function Yr(f) {
|
|
5251
5265
|
Oe[f ? "unshift" : "push"](() => {
|
|
5252
5266
|
_e = f, r(33, _e);
|
|
5253
5267
|
});
|
|
5254
5268
|
}
|
|
5255
|
-
function
|
|
5269
|
+
function Kr(f) {
|
|
5256
5270
|
Oe[f ? "unshift" : "push"](() => {
|
|
5257
5271
|
G = f, r(16, G);
|
|
5258
5272
|
});
|
|
5259
5273
|
}
|
|
5260
5274
|
return e.$$set = (f) => {
|
|
5261
|
-
"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,
|
|
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);
|
|
5262
5276
|
}, e.$$.update = () => {
|
|
5263
5277
|
e.$$.dirty[0] & /*endpoint*/
|
|
5264
|
-
1 && i &&
|
|
5278
|
+
1 && i && Vr(), e.$$.dirty[0] & /*lang*/
|
|
5265
5279
|
8 | e.$$.dirty[1] & /*cmsendpoint, env, userroles*/
|
|
5266
|
-
704 && s && u && o && b &&
|
|
5280
|
+
704 && s && u && o && b && Xr(), e.$$.dirty[0] & /*playerid, session*/
|
|
5267
5281
|
131074, e.$$.dirty[0] & /*lang*/
|
|
5268
|
-
8 && u &&
|
|
5269
|
-
32 &&
|
|
5270
|
-
66560 && O && G &&
|
|
5271
|
-
67584 && P && G &&
|
|
5272
|
-
66048 &&
|
|
5273
|
-
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();
|
|
5274
5288
|
}, [
|
|
5275
5289
|
i,
|
|
5276
5290
|
a,
|
|
5277
5291
|
l,
|
|
5278
5292
|
u,
|
|
5279
5293
|
c,
|
|
5280
|
-
|
|
5294
|
+
p,
|
|
5281
5295
|
y,
|
|
5282
5296
|
g,
|
|
5283
|
-
|
|
5284
|
-
|
|
5297
|
+
d,
|
|
5298
|
+
S,
|
|
5285
5299
|
O,
|
|
5286
5300
|
P,
|
|
5287
5301
|
R,
|
|
5288
|
-
|
|
5302
|
+
M,
|
|
5289
5303
|
C,
|
|
5290
5304
|
D,
|
|
5291
5305
|
G,
|
|
5292
|
-
|
|
5306
|
+
gt,
|
|
5293
5307
|
Fe,
|
|
5294
5308
|
le,
|
|
5295
5309
|
be,
|
|
5296
5310
|
Ue,
|
|
5297
5311
|
ke,
|
|
5298
|
-
gt,
|
|
5299
|
-
bt,
|
|
5300
5312
|
yt,
|
|
5313
|
+
vt,
|
|
5314
|
+
_t,
|
|
5301
5315
|
Ge,
|
|
5302
|
-
wt,
|
|
5303
5316
|
xt,
|
|
5304
|
-
|
|
5317
|
+
Tt,
|
|
5305
5318
|
Ht,
|
|
5319
|
+
At,
|
|
5306
5320
|
ve,
|
|
5307
|
-
|
|
5321
|
+
Pt,
|
|
5308
5322
|
_e,
|
|
5309
5323
|
n,
|
|
5310
|
-
|
|
5311
|
-
|
|
5324
|
+
jr,
|
|
5325
|
+
qr,
|
|
5312
5326
|
s,
|
|
5313
5327
|
o,
|
|
5314
5328
|
h,
|
|
5315
5329
|
b,
|
|
5316
|
-
|
|
5317
|
-
|
|
5330
|
+
Yr,
|
|
5331
|
+
Kr
|
|
5318
5332
|
];
|
|
5319
5333
|
}
|
|
5320
|
-
class
|
|
5334
|
+
class ks extends Sn {
|
|
5321
5335
|
constructor(t) {
|
|
5322
|
-
super(),
|
|
5336
|
+
super(), En(
|
|
5323
5337
|
this,
|
|
5324
5338
|
t,
|
|
5339
|
+
Us,
|
|
5325
5340
|
Ds,
|
|
5326
|
-
|
|
5327
|
-
or,
|
|
5341
|
+
ur,
|
|
5328
5342
|
{
|
|
5329
5343
|
endpoint: 0,
|
|
5330
5344
|
cmsendpoint: 37,
|
|
@@ -5347,7 +5361,7 @@ class Fs extends _n {
|
|
|
5347
5361
|
custominputtextswitch: 14,
|
|
5348
5362
|
personalidlength: 15
|
|
5349
5363
|
},
|
|
5350
|
-
|
|
5364
|
+
Cs,
|
|
5351
5365
|
[-1, -1, -1]
|
|
5352
5366
|
);
|
|
5353
5367
|
}
|
|
@@ -5472,43 +5486,43 @@ class Fs extends _n {
|
|
|
5472
5486
|
this.$$set({ personalidlength: t }), A();
|
|
5473
5487
|
}
|
|
5474
5488
|
}
|
|
5475
|
-
|
|
5489
|
+
wn(ks, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
|
|
5476
5490
|
export {
|
|
5477
5491
|
Z as $,
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5492
|
+
Qe as A,
|
|
5493
|
+
Xs as B,
|
|
5494
|
+
zs as C,
|
|
5495
|
+
$s as D,
|
|
5496
|
+
on as E,
|
|
5497
|
+
Ws as F,
|
|
5484
5498
|
ae as G,
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5499
|
+
js as H,
|
|
5500
|
+
ks as I,
|
|
5501
|
+
Sn as S,
|
|
5502
|
+
Dr as a,
|
|
5503
|
+
rn as b,
|
|
5504
|
+
wn as c,
|
|
5491
5505
|
U as d,
|
|
5492
5506
|
B as e,
|
|
5493
5507
|
A as f,
|
|
5494
|
-
|
|
5508
|
+
x as g,
|
|
5495
5509
|
F as h,
|
|
5496
|
-
|
|
5510
|
+
En as i,
|
|
5497
5511
|
E as j,
|
|
5498
|
-
|
|
5499
|
-
|
|
5512
|
+
Vs as k,
|
|
5513
|
+
an as l,
|
|
5500
5514
|
K as m,
|
|
5501
5515
|
k as n,
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5516
|
+
N as o,
|
|
5517
|
+
tn as p,
|
|
5518
|
+
fn as q,
|
|
5505
5519
|
ge as r,
|
|
5506
|
-
|
|
5520
|
+
ur as s,
|
|
5507
5521
|
$ as t,
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5522
|
+
Ps as u,
|
|
5523
|
+
Os as v,
|
|
5524
|
+
Oe as w,
|
|
5511
5525
|
As as x,
|
|
5512
|
-
|
|
5513
|
-
|
|
5526
|
+
Se as y,
|
|
5527
|
+
Ts as z
|
|
5514
5528
|
};
|