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