@everymatrix/general-player-register-form-nd 1.76.0 → 1.76.3
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-DC5YFwAY.js → GeneralPlayerRegisterFormNd-C1JQ8ARs.js} +946 -981
- package/components/{GeneralPlayerRegisterFormNd-DFOeIajF.js → GeneralPlayerRegisterFormNd-GoBYaeYc.js} +966 -1001
- package/components/{GeneralPlayerRegisterFormStep1-B8x2npcd.js → GeneralPlayerRegisterFormStep1-BqlRLeii.js} +31 -31
- package/components/{GeneralPlayerRegisterFormStep1-FnS-hDMY.js → GeneralPlayerRegisterFormStep1-BukkWYjI.js} +33 -33
- package/components/{GeneralPlayerRegisterFormStep1-DSOyErgo.cjs → GeneralPlayerRegisterFormStep1-PNHf13iF.cjs} +1 -1
- package/components/GeneralPlayerRegisterFormStep2-CSz_dCaX.cjs +2 -0
- package/components/{GeneralPlayerRegisterFormStep2-ALcjJ8nv.js → GeneralPlayerRegisterFormStep2-DBnZ9YrY.js} +1014 -1012
- package/components/{GeneralPlayerRegisterFormStep2-B1mLv9cm.js → GeneralPlayerRegisterFormStep2-To7K540j.js} +1003 -1001
- package/components/{GeneralPlayerRegisterFormStep3-B842736j.cjs → GeneralPlayerRegisterFormStep3-Bo5g25HL.cjs} +1 -1
- package/components/{GeneralPlayerRegisterFormStep3-DL4phv_H.js → GeneralPlayerRegisterFormStep3-CcFGaz76.js} +14 -14
- package/components/{GeneralPlayerRegisterFormStep3-BrmjFpUQ.js → GeneralPlayerRegisterFormStep3-CzA9W6SQ.js} +14 -14
- package/components/{GeneralPlayerSmsVerificationForm-CMoVD2PA.js → GeneralPlayerSmsVerificationForm-Cz9dvc1N.js} +25 -25
- package/components/{GeneralPlayerSmsVerificationForm-CuVBltwG.cjs → GeneralPlayerSmsVerificationForm-DcYEcOTa.cjs} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-BdCceV0k.js → GeneralPlayerSmsVerificationForm-DhT7I5pU.js} +25 -25
- package/es2015/general-player-register-form-nd.cjs +1 -1
- package/es2015/general-player-register-form-nd.js +1 -1
- package/esnext/general-player-register-form-nd.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerRegisterFormNd-DjCemZTL.cjs +0 -18
- package/components/GeneralPlayerRegisterFormStep2-DWAnaeOm.cjs +0 -2
|
@@ -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
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function ge(e) {
|
|
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 fr(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
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
43
|
+
const i = B("style");
|
|
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 sn(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,
|
|
@@ -67,46 +67,46 @@ function F(e, t, r) {
|
|
|
67
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
|
-
function
|
|
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
|
-
function
|
|
80
|
+
function $(e) {
|
|
81
81
|
return document.createTextNode(e);
|
|
82
82
|
}
|
|
83
83
|
function U() {
|
|
84
|
-
return
|
|
84
|
+
return $(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function rn() {
|
|
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
92
|
function S(e, t, r) {
|
|
93
93
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function m(e, t, r) {
|
|
96
96
|
const n = t.toLowerCase();
|
|
97
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 zs(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 */
|
|
@@ -129,90 +129,90 @@ function hn(e) {
|
|
|
129
129
|
}
|
|
130
130
|
), t;
|
|
131
131
|
}
|
|
132
|
-
let
|
|
133
|
-
function
|
|
134
|
-
|
|
132
|
+
let me;
|
|
133
|
+
function ce(e) {
|
|
134
|
+
me = e;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
if (!
|
|
136
|
+
function an() {
|
|
137
|
+
if (!me)
|
|
138
138
|
throw new Error("Function called outside component initialization");
|
|
139
|
-
return
|
|
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
|
-
const
|
|
154
|
+
const je = /* @__PURE__ */ new Set();
|
|
155
155
|
let q = 0;
|
|
156
|
-
function
|
|
156
|
+
function A() {
|
|
157
157
|
if (q !== 0)
|
|
158
158
|
return;
|
|
159
|
-
const e =
|
|
159
|
+
const e = me;
|
|
160
160
|
do {
|
|
161
161
|
try {
|
|
162
162
|
for (; q < Y.length; ) {
|
|
163
163
|
const t = Y[q];
|
|
164
|
-
q++,
|
|
164
|
+
q++, ce(t), fn(t.$$);
|
|
165
165
|
}
|
|
166
166
|
} catch (t) {
|
|
167
167
|
throw Y.length = 0, q = 0, t;
|
|
168
168
|
}
|
|
169
|
-
for (
|
|
169
|
+
for (ce(null), Y.length = 0, q = 0; Oe.length; )
|
|
170
170
|
Oe.pop()();
|
|
171
171
|
for (let t = 0; t < ee.length; t += 1) {
|
|
172
172
|
const r = ee[t];
|
|
173
|
-
|
|
173
|
+
je.has(r) || (je.add(r), r());
|
|
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
|
-
e.update(),
|
|
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(
|
|
203
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
204
|
-
}), i.forEach(
|
|
201
|
+
n && n.m(t, r), qe(() => {
|
|
202
|
+
const s = e.$$.on_mount.map(sr).filter(ht);
|
|
203
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ge(s), e.$$.on_mount = [];
|
|
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
|
|
214
|
-
const h =
|
|
215
|
-
|
|
213
|
+
function yn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
214
|
+
const h = me;
|
|
215
|
+
ce(e);
|
|
216
216
|
const l = e.$$ = {
|
|
217
217
|
fragment: null,
|
|
218
218
|
ctx: [],
|
|
@@ -220,7 +220,7 @@ function wn(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 wn(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 &&
|
|
242
|
-
}) : [], l.update(), u = !0,
|
|
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
|
+
}) : [], 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 =
|
|
244
|
+
const c = sn(t.target);
|
|
245
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" && (cr = class extends HTMLElement {
|
|
|
292
292
|
let s;
|
|
293
293
|
return {
|
|
294
294
|
c: function() {
|
|
295
|
-
s =
|
|
295
|
+
s = B("slot"), i !== "default" && S(s, "name", i);
|
|
296
296
|
},
|
|
297
297
|
/**
|
|
298
298
|
* @param {HTMLElement} target
|
|
@@ -309,7 +309,7 @@ typeof HTMLElement == "function" && (cr = class extends HTMLElement {
|
|
|
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 Sn(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 xn {
|
|
|
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 xn {
|
|
|
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 xn {
|
|
|
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,24 +485,43 @@ 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
|
-
function
|
|
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
|
}
|
|
503
503
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
504
504
|
}
|
|
505
|
-
function
|
|
505
|
+
var w = function() {
|
|
506
|
+
return w = Object.assign || function(t) {
|
|
507
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
508
|
+
r = arguments[n];
|
|
509
|
+
for (var s in r)
|
|
510
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
511
|
+
}
|
|
512
|
+
return t;
|
|
513
|
+
}, w.apply(this, arguments);
|
|
514
|
+
};
|
|
515
|
+
function wn(e, t) {
|
|
516
|
+
var r = {};
|
|
517
|
+
for (var n in e)
|
|
518
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
519
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
520
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
521
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
522
|
+
return r;
|
|
523
|
+
}
|
|
524
|
+
function Ye(e) {
|
|
506
525
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
507
526
|
if (r)
|
|
508
527
|
return r.call(e);
|
|
@@ -514,7 +533,7 @@ function tt(e) {
|
|
|
514
533
|
};
|
|
515
534
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
516
535
|
}
|
|
517
|
-
function
|
|
536
|
+
function Ke(e, t) {
|
|
518
537
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
519
538
|
if (!r)
|
|
520
539
|
return e;
|
|
@@ -534,22 +553,22 @@ function rt(e, t) {
|
|
|
534
553
|
}
|
|
535
554
|
return s;
|
|
536
555
|
}
|
|
537
|
-
function
|
|
538
|
-
if (arguments.length === 2)
|
|
556
|
+
function te(e, t, r) {
|
|
557
|
+
if (r || arguments.length === 2)
|
|
539
558
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
540
559
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
541
560
|
return e.concat(s || t);
|
|
542
561
|
}
|
|
543
|
-
function
|
|
562
|
+
function V(e) {
|
|
544
563
|
return typeof e == "function";
|
|
545
564
|
}
|
|
546
|
-
function
|
|
565
|
+
function lr(e) {
|
|
547
566
|
var t = function(n) {
|
|
548
567
|
Error.call(n), n.stack = new Error().stack;
|
|
549
568
|
}, r = e(t);
|
|
550
569
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
551
570
|
}
|
|
552
|
-
var
|
|
571
|
+
var $e = lr(function(e) {
|
|
553
572
|
return function(r) {
|
|
554
573
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
555
574
|
` + r.map(function(n, i) {
|
|
@@ -558,13 +577,13 @@ var Xe = pr(function(e) {
|
|
|
558
577
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
559
578
|
};
|
|
560
579
|
});
|
|
561
|
-
function
|
|
580
|
+
function et(e, t) {
|
|
562
581
|
if (e) {
|
|
563
582
|
var r = e.indexOf(t);
|
|
564
583
|
0 <= r && e.splice(r, 1);
|
|
565
584
|
}
|
|
566
585
|
}
|
|
567
|
-
var
|
|
586
|
+
var Le = function() {
|
|
568
587
|
function e(t) {
|
|
569
588
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
570
589
|
}
|
|
@@ -576,12 +595,12 @@ var Re = function() {
|
|
|
576
595
|
if (o)
|
|
577
596
|
if (this._parentage = null, Array.isArray(o))
|
|
578
597
|
try {
|
|
579
|
-
for (var a =
|
|
598
|
+
for (var a = Ye(o), h = a.next(); !h.done; h = a.next()) {
|
|
580
599
|
var l = h.value;
|
|
581
600
|
l.remove(this);
|
|
582
601
|
}
|
|
583
|
-
} catch (
|
|
584
|
-
t = { error:
|
|
602
|
+
} catch (p) {
|
|
603
|
+
t = { error: p };
|
|
585
604
|
} finally {
|
|
586
605
|
try {
|
|
587
606
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -593,29 +612,29 @@ var Re = function() {
|
|
|
593
612
|
else
|
|
594
613
|
o.remove(this);
|
|
595
614
|
var u = this.initialTeardown;
|
|
596
|
-
if (
|
|
615
|
+
if (V(u))
|
|
597
616
|
try {
|
|
598
617
|
u();
|
|
599
|
-
} catch (
|
|
600
|
-
s =
|
|
618
|
+
} catch (p) {
|
|
619
|
+
s = p instanceof $e ? p.errors : [p];
|
|
601
620
|
}
|
|
602
621
|
var c = this._finalizers;
|
|
603
622
|
if (c) {
|
|
604
623
|
this._finalizers = null;
|
|
605
624
|
try {
|
|
606
|
-
for (var
|
|
625
|
+
for (var d = Ye(c), y = d.next(); !y.done; y = d.next()) {
|
|
607
626
|
var g = y.value;
|
|
608
627
|
try {
|
|
609
|
-
|
|
610
|
-
} catch (
|
|
611
|
-
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);
|
|
612
631
|
}
|
|
613
632
|
}
|
|
614
|
-
} catch (
|
|
615
|
-
n = { error:
|
|
633
|
+
} catch (p) {
|
|
634
|
+
n = { error: p };
|
|
616
635
|
} finally {
|
|
617
636
|
try {
|
|
618
|
-
y && !y.done && (i =
|
|
637
|
+
y && !y.done && (i = d.return) && i.call(d);
|
|
619
638
|
} finally {
|
|
620
639
|
if (n)
|
|
621
640
|
throw n.error;
|
|
@@ -623,13 +642,13 @@ var Re = function() {
|
|
|
623
642
|
}
|
|
624
643
|
}
|
|
625
644
|
if (s)
|
|
626
|
-
throw new
|
|
645
|
+
throw new $e(s);
|
|
627
646
|
}
|
|
628
647
|
}, e.prototype.add = function(t) {
|
|
629
648
|
var r;
|
|
630
649
|
if (t && t !== this)
|
|
631
650
|
if (this.closed)
|
|
632
|
-
|
|
651
|
+
Ct(t);
|
|
633
652
|
else {
|
|
634
653
|
if (t instanceof e) {
|
|
635
654
|
if (t.closed || t._hasParent(this))
|
|
@@ -646,52 +665,56 @@ var Re = function() {
|
|
|
646
665
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
647
666
|
}, e.prototype._removeParent = function(t) {
|
|
648
667
|
var r = this._parentage;
|
|
649
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
668
|
+
r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
|
|
650
669
|
}, e.prototype.remove = function(t) {
|
|
651
670
|
var r = this._finalizers;
|
|
652
|
-
r &&
|
|
671
|
+
r && et(r, t), t instanceof e && t._removeParent(this);
|
|
653
672
|
}, e.EMPTY = function() {
|
|
654
673
|
var t = new e();
|
|
655
674
|
return t.closed = !0, t;
|
|
656
675
|
}(), e;
|
|
657
|
-
}(),
|
|
658
|
-
function
|
|
659
|
-
return e instanceof
|
|
660
|
-
}
|
|
661
|
-
function
|
|
662
|
-
|
|
663
|
-
}
|
|
664
|
-
var
|
|
665
|
-
|
|
666
|
-
|
|
676
|
+
}(), hr = Le.EMPTY;
|
|
677
|
+
function fr(e) {
|
|
678
|
+
return e instanceof Le || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
|
|
679
|
+
}
|
|
680
|
+
function Ct(e) {
|
|
681
|
+
V(e) ? e() : e.unsubscribe();
|
|
682
|
+
}
|
|
683
|
+
var xn = {
|
|
684
|
+
onUnhandledError: null,
|
|
685
|
+
onStoppedNotification: null,
|
|
686
|
+
Promise: void 0,
|
|
687
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
688
|
+
useDeprecatedNextContext: !1
|
|
689
|
+
}, Sn = {
|
|
667
690
|
setTimeout: function(e, t) {
|
|
668
691
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
669
692
|
r[n - 2] = arguments[n];
|
|
670
|
-
return setTimeout.apply(void 0,
|
|
693
|
+
return setTimeout.apply(void 0, te([e, t], Ke(r)));
|
|
671
694
|
},
|
|
672
695
|
clearTimeout: function(e) {
|
|
673
696
|
return clearTimeout(e);
|
|
674
697
|
},
|
|
675
698
|
delegate: void 0
|
|
676
699
|
};
|
|
677
|
-
function
|
|
678
|
-
|
|
700
|
+
function Tn(e) {
|
|
701
|
+
Sn.setTimeout(function() {
|
|
679
702
|
throw e;
|
|
680
703
|
});
|
|
681
704
|
}
|
|
682
|
-
function
|
|
705
|
+
function It() {
|
|
683
706
|
}
|
|
684
707
|
function Be(e) {
|
|
685
708
|
e();
|
|
686
709
|
}
|
|
687
|
-
var
|
|
688
|
-
|
|
710
|
+
var cr = function(e) {
|
|
711
|
+
X(t, e);
|
|
689
712
|
function t(r) {
|
|
690
713
|
var n = e.call(this) || this;
|
|
691
|
-
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;
|
|
692
715
|
}
|
|
693
716
|
return t.create = function(r, n, i) {
|
|
694
|
-
return new
|
|
717
|
+
return new tt(r, n, i);
|
|
695
718
|
}, t.prototype.next = function(r) {
|
|
696
719
|
this.isStopped || this._next(r);
|
|
697
720
|
}, t.prototype.error = function(r) {
|
|
@@ -715,7 +738,7 @@ var gr = function(e) {
|
|
|
715
738
|
this.unsubscribe();
|
|
716
739
|
}
|
|
717
740
|
}, t;
|
|
718
|
-
}(
|
|
741
|
+
}(Le), Hn = function() {
|
|
719
742
|
function e(t) {
|
|
720
743
|
this.partialObserver = t;
|
|
721
744
|
}
|
|
@@ -725,7 +748,7 @@ var gr = function(e) {
|
|
|
725
748
|
try {
|
|
726
749
|
r.next(t);
|
|
727
750
|
} catch (n) {
|
|
728
|
-
|
|
751
|
+
Se(n);
|
|
729
752
|
}
|
|
730
753
|
}, e.prototype.error = function(t) {
|
|
731
754
|
var r = this.partialObserver;
|
|
@@ -733,56 +756,56 @@ var gr = function(e) {
|
|
|
733
756
|
try {
|
|
734
757
|
r.error(t);
|
|
735
758
|
} catch (n) {
|
|
736
|
-
|
|
759
|
+
Se(n);
|
|
737
760
|
}
|
|
738
761
|
else
|
|
739
|
-
|
|
762
|
+
Se(t);
|
|
740
763
|
}, e.prototype.complete = function() {
|
|
741
764
|
var t = this.partialObserver;
|
|
742
765
|
if (t.complete)
|
|
743
766
|
try {
|
|
744
767
|
t.complete();
|
|
745
768
|
} catch (r) {
|
|
746
|
-
|
|
769
|
+
Se(r);
|
|
747
770
|
}
|
|
748
771
|
}, e;
|
|
749
|
-
}(),
|
|
750
|
-
|
|
772
|
+
}(), tt = function(e) {
|
|
773
|
+
X(t, e);
|
|
751
774
|
function t(r, n, i) {
|
|
752
775
|
var s = e.call(this) || this, o;
|
|
753
|
-
return
|
|
776
|
+
return V(r) || !r ? o = {
|
|
754
777
|
next: r ?? void 0,
|
|
755
778
|
error: n ?? void 0,
|
|
756
779
|
complete: i ?? void 0
|
|
757
|
-
} : o = r, s.destination = new
|
|
780
|
+
} : o = r, s.destination = new Hn(o), s;
|
|
758
781
|
}
|
|
759
782
|
return t;
|
|
760
|
-
}(
|
|
761
|
-
function
|
|
762
|
-
|
|
783
|
+
}(cr);
|
|
784
|
+
function Se(e) {
|
|
785
|
+
Tn(e);
|
|
763
786
|
}
|
|
764
|
-
function
|
|
787
|
+
function Bn(e) {
|
|
765
788
|
throw e;
|
|
766
789
|
}
|
|
767
|
-
var
|
|
790
|
+
var An = {
|
|
768
791
|
closed: !0,
|
|
769
|
-
next:
|
|
770
|
-
error:
|
|
771
|
-
complete:
|
|
772
|
-
},
|
|
792
|
+
next: It,
|
|
793
|
+
error: Bn,
|
|
794
|
+
complete: It
|
|
795
|
+
}, Pn = function() {
|
|
773
796
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
774
797
|
}();
|
|
775
|
-
function
|
|
798
|
+
function On(e) {
|
|
776
799
|
return e;
|
|
777
800
|
}
|
|
778
|
-
function
|
|
779
|
-
return e.length === 0 ?
|
|
801
|
+
function Cn(e) {
|
|
802
|
+
return e.length === 0 ? On : e.length === 1 ? e[0] : function(r) {
|
|
780
803
|
return e.reduce(function(n, i) {
|
|
781
804
|
return i(n);
|
|
782
805
|
}, r);
|
|
783
806
|
};
|
|
784
807
|
}
|
|
785
|
-
var
|
|
808
|
+
var Lt = function() {
|
|
786
809
|
function e(t) {
|
|
787
810
|
t && (this._subscribe = t);
|
|
788
811
|
}
|
|
@@ -790,7 +813,7 @@ var Dt = function() {
|
|
|
790
813
|
var r = new e();
|
|
791
814
|
return r.source = this, r.operator = t, r;
|
|
792
815
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
793
|
-
var i = this, s =
|
|
816
|
+
var i = this, s = Ln(t) ? t : new tt(t, r, n);
|
|
794
817
|
return Be(function() {
|
|
795
818
|
var o = i, a = o.operator, h = o.source;
|
|
796
819
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
|
@@ -803,8 +826,8 @@ var Dt = function() {
|
|
|
803
826
|
}
|
|
804
827
|
}, e.prototype.forEach = function(t, r) {
|
|
805
828
|
var n = this;
|
|
806
|
-
return r =
|
|
807
|
-
var o = new
|
|
829
|
+
return r = Rt(r), new r(function(i, s) {
|
|
830
|
+
var o = new tt({
|
|
808
831
|
next: function(a) {
|
|
809
832
|
try {
|
|
810
833
|
t(a);
|
|
@@ -820,15 +843,15 @@ var Dt = function() {
|
|
|
820
843
|
}, e.prototype._subscribe = function(t) {
|
|
821
844
|
var r;
|
|
822
845
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
823
|
-
}, e.prototype[
|
|
846
|
+
}, e.prototype[Pn] = function() {
|
|
824
847
|
return this;
|
|
825
848
|
}, e.prototype.pipe = function() {
|
|
826
849
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
827
850
|
t[r] = arguments[r];
|
|
828
|
-
return
|
|
851
|
+
return Cn(t)(this);
|
|
829
852
|
}, e.prototype.toPromise = function(t) {
|
|
830
853
|
var r = this;
|
|
831
|
-
return t =
|
|
854
|
+
return t = Rt(t), new t(function(n, i) {
|
|
832
855
|
var s;
|
|
833
856
|
r.subscribe(function(o) {
|
|
834
857
|
return s = o;
|
|
@@ -842,32 +865,32 @@ var Dt = function() {
|
|
|
842
865
|
return new e(t);
|
|
843
866
|
}, e;
|
|
844
867
|
}();
|
|
845
|
-
function
|
|
868
|
+
function Rt(e) {
|
|
846
869
|
var t;
|
|
847
|
-
return (t = e ??
|
|
870
|
+
return (t = e ?? xn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
848
871
|
}
|
|
849
|
-
function
|
|
850
|
-
return e &&
|
|
872
|
+
function In(e) {
|
|
873
|
+
return e && V(e.next) && V(e.error) && V(e.complete);
|
|
851
874
|
}
|
|
852
|
-
function
|
|
853
|
-
return e && e instanceof
|
|
875
|
+
function Ln(e) {
|
|
876
|
+
return e && e instanceof cr || In(e) && fr(e);
|
|
854
877
|
}
|
|
855
|
-
var
|
|
878
|
+
var Rn = lr(function(e) {
|
|
856
879
|
return function() {
|
|
857
880
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
858
881
|
};
|
|
859
|
-
}),
|
|
860
|
-
|
|
882
|
+
}), mr = function(e) {
|
|
883
|
+
X(t, e);
|
|
861
884
|
function t() {
|
|
862
885
|
var r = e.call(this) || this;
|
|
863
886
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
864
887
|
}
|
|
865
888
|
return t.prototype.lift = function(r) {
|
|
866
|
-
var n = new
|
|
889
|
+
var n = new Nt(this, this);
|
|
867
890
|
return n.operator = r, n;
|
|
868
891
|
}, t.prototype._throwIfClosed = function() {
|
|
869
892
|
if (this.closed)
|
|
870
|
-
throw new
|
|
893
|
+
throw new Rn();
|
|
871
894
|
}, t.prototype.next = function(r) {
|
|
872
895
|
var n = this;
|
|
873
896
|
Be(function() {
|
|
@@ -875,7 +898,7 @@ var Dn = pr(function(e) {
|
|
|
875
898
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
876
899
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
877
900
|
try {
|
|
878
|
-
for (var o =
|
|
901
|
+
for (var o = Ye(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
879
902
|
var h = a.value;
|
|
880
903
|
h.next(r);
|
|
881
904
|
}
|
|
@@ -924,20 +947,20 @@ var Dn = pr(function(e) {
|
|
|
924
947
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
925
948
|
}, t.prototype._innerSubscribe = function(r) {
|
|
926
949
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
927
|
-
return s || o ?
|
|
928
|
-
n.currentObservers = null,
|
|
950
|
+
return s || o ? hr : (this.currentObservers = null, a.push(r), new Le(function() {
|
|
951
|
+
n.currentObservers = null, et(a, r);
|
|
929
952
|
}));
|
|
930
953
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
931
954
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
932
955
|
i ? r.error(s) : o && r.complete();
|
|
933
956
|
}, t.prototype.asObservable = function() {
|
|
934
|
-
var r = new
|
|
957
|
+
var r = new Lt();
|
|
935
958
|
return r.source = this, r;
|
|
936
959
|
}, t.create = function(r, n) {
|
|
937
|
-
return new
|
|
960
|
+
return new Nt(r, n);
|
|
938
961
|
}, t;
|
|
939
|
-
}(
|
|
940
|
-
|
|
962
|
+
}(Lt), Nt = function(e) {
|
|
963
|
+
X(t, e);
|
|
941
964
|
function t(r, n) {
|
|
942
965
|
var i = e.call(this) || this;
|
|
943
966
|
return i.destination = r, i.source = n, i;
|
|
@@ -953,17 +976,17 @@ var Dn = pr(function(e) {
|
|
|
953
976
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
954
977
|
}, t.prototype._subscribe = function(r) {
|
|
955
978
|
var n, i;
|
|
956
|
-
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;
|
|
957
980
|
}, t;
|
|
958
|
-
}(
|
|
981
|
+
}(mr), dr = {
|
|
959
982
|
now: function() {
|
|
960
|
-
return (
|
|
983
|
+
return (dr.delegate || Date).now();
|
|
961
984
|
},
|
|
962
985
|
delegate: void 0
|
|
963
|
-
},
|
|
964
|
-
|
|
986
|
+
}, Nn = function(e) {
|
|
987
|
+
X(t, e);
|
|
965
988
|
function t(r, n, i) {
|
|
966
|
-
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);
|
|
967
990
|
var s = e.call(this) || this;
|
|
968
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;
|
|
969
992
|
}
|
|
@@ -983,24 +1006,24 @@ var Dn = pr(function(e) {
|
|
|
983
1006
|
l && s.splice(0, l + 1);
|
|
984
1007
|
}
|
|
985
1008
|
}, t;
|
|
986
|
-
}(
|
|
987
|
-
const
|
|
988
|
-
if (
|
|
989
|
-
const r = new
|
|
990
|
-
|
|
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);
|
|
991
1014
|
}
|
|
992
|
-
return
|
|
1015
|
+
return Dt[e];
|
|
993
1016
|
}, Q = [];
|
|
994
|
-
function
|
|
1017
|
+
function Dn(e, t) {
|
|
995
1018
|
return {
|
|
996
|
-
subscribe:
|
|
1019
|
+
subscribe: Re(e, t).subscribe
|
|
997
1020
|
};
|
|
998
1021
|
}
|
|
999
|
-
function
|
|
1022
|
+
function Re(e, t = k) {
|
|
1000
1023
|
let r;
|
|
1001
1024
|
const n = /* @__PURE__ */ new Set();
|
|
1002
1025
|
function i(a) {
|
|
1003
|
-
if (
|
|
1026
|
+
if (or(e, a) && (e = a, r)) {
|
|
1004
1027
|
const h = !Q.length;
|
|
1005
1028
|
for (const l of n)
|
|
1006
1029
|
l[1](), Q.push(l, e);
|
|
@@ -1022,184 +1045,145 @@ function Ne(e, t = k) {
|
|
|
1022
1045
|
}
|
|
1023
1046
|
return { set: i, update: s, subscribe: o };
|
|
1024
1047
|
}
|
|
1025
|
-
function
|
|
1048
|
+
function oe(e, t, r) {
|
|
1026
1049
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1027
1050
|
if (!i.every(Boolean))
|
|
1028
1051
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1029
1052
|
const s = t.length < 2;
|
|
1030
|
-
return
|
|
1053
|
+
return Dn(r, (o, a) => {
|
|
1031
1054
|
let h = !1;
|
|
1032
1055
|
const l = [];
|
|
1033
1056
|
let u = 0, c = k;
|
|
1034
|
-
const
|
|
1057
|
+
const d = () => {
|
|
1035
1058
|
if (u)
|
|
1036
1059
|
return;
|
|
1037
1060
|
c();
|
|
1038
1061
|
const g = t(n ? l[0] : l, o, a);
|
|
1039
|
-
s ? o(g) : c =
|
|
1062
|
+
s ? o(g) : c = ht(g) ? g : k;
|
|
1040
1063
|
}, y = i.map(
|
|
1041
|
-
(g,
|
|
1064
|
+
(g, p) => ar(
|
|
1042
1065
|
g,
|
|
1043
1066
|
(b) => {
|
|
1044
|
-
l[
|
|
1067
|
+
l[p] = b, u &= ~(1 << p), h && d();
|
|
1045
1068
|
},
|
|
1046
1069
|
() => {
|
|
1047
|
-
u |= 1 <<
|
|
1070
|
+
u |= 1 << p;
|
|
1048
1071
|
}
|
|
1049
1072
|
)
|
|
1050
1073
|
);
|
|
1051
|
-
return h = !0,
|
|
1052
|
-
|
|
1074
|
+
return h = !0, d(), function() {
|
|
1075
|
+
ge(y), c(), h = !1;
|
|
1053
1076
|
};
|
|
1054
1077
|
});
|
|
1055
1078
|
}
|
|
1056
|
-
function
|
|
1057
|
-
return e
|
|
1079
|
+
function Fn(e) {
|
|
1080
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1058
1081
|
}
|
|
1059
|
-
var
|
|
1060
|
-
return
|
|
1082
|
+
var Un = function(t) {
|
|
1083
|
+
return kn(t) && !Gn(t);
|
|
1061
1084
|
};
|
|
1062
|
-
function
|
|
1085
|
+
function kn(e) {
|
|
1063
1086
|
return !!e && typeof e == "object";
|
|
1064
1087
|
}
|
|
1065
|
-
function
|
|
1088
|
+
function Gn(e) {
|
|
1066
1089
|
var t = Object.prototype.toString.call(e);
|
|
1067
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1090
|
+
return t === "[object RegExp]" || t === "[object Date]" || Vn(e);
|
|
1068
1091
|
}
|
|
1069
|
-
var
|
|
1070
|
-
function
|
|
1071
|
-
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;
|
|
1072
1095
|
}
|
|
1073
|
-
function
|
|
1096
|
+
function Xn(e) {
|
|
1074
1097
|
return Array.isArray(e) ? [] : {};
|
|
1075
1098
|
}
|
|
1076
|
-
function
|
|
1077
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1099
|
+
function de(e, t) {
|
|
1100
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(Xn(e), e, t) : e;
|
|
1078
1101
|
}
|
|
1079
|
-
function
|
|
1102
|
+
function Wn(e, t, r) {
|
|
1080
1103
|
return e.concat(t).map(function(n) {
|
|
1081
|
-
return
|
|
1104
|
+
return de(n, r);
|
|
1082
1105
|
});
|
|
1083
1106
|
}
|
|
1084
|
-
function
|
|
1107
|
+
function zn(e, t) {
|
|
1085
1108
|
if (!t.customMerge)
|
|
1086
|
-
return
|
|
1109
|
+
return re;
|
|
1087
1110
|
var r = t.customMerge(e);
|
|
1088
|
-
return typeof r == "function" ? r :
|
|
1111
|
+
return typeof r == "function" ? r : re;
|
|
1089
1112
|
}
|
|
1090
|
-
function
|
|
1113
|
+
function Zn(e) {
|
|
1091
1114
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1092
1115
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1093
1116
|
}) : [];
|
|
1094
1117
|
}
|
|
1095
|
-
function
|
|
1096
|
-
return Object.keys(e).concat(
|
|
1118
|
+
function Ft(e) {
|
|
1119
|
+
return Object.keys(e).concat(Zn(e));
|
|
1097
1120
|
}
|
|
1098
|
-
function
|
|
1121
|
+
function pr(e, t) {
|
|
1099
1122
|
try {
|
|
1100
1123
|
return t in e;
|
|
1101
1124
|
} catch {
|
|
1102
1125
|
return !1;
|
|
1103
1126
|
}
|
|
1104
1127
|
}
|
|
1105
|
-
function
|
|
1106
|
-
return
|
|
1128
|
+
function Jn(e, t) {
|
|
1129
|
+
return pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1107
1130
|
}
|
|
1108
|
-
function
|
|
1131
|
+
function qn(e, t, r) {
|
|
1109
1132
|
var n = {};
|
|
1110
|
-
return r.isMergeableObject(e) &&
|
|
1111
|
-
n[i] =
|
|
1112
|
-
}),
|
|
1113
|
-
|
|
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));
|
|
1114
1137
|
}), n;
|
|
1115
1138
|
}
|
|
1116
|
-
function
|
|
1117
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1139
|
+
function re(e, t, r) {
|
|
1140
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Wn, r.isMergeableObject = r.isMergeableObject || Un, r.cloneUnlessOtherwiseSpecified = de;
|
|
1118
1141
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1119
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
1142
|
+
return s ? n ? r.arrayMerge(e, t, r) : qn(e, t, r) : de(t, r);
|
|
1120
1143
|
}
|
|
1121
|
-
|
|
1144
|
+
re.all = function(t, r) {
|
|
1122
1145
|
if (!Array.isArray(t))
|
|
1123
1146
|
throw new Error("first argument should be an array");
|
|
1124
1147
|
return t.reduce(function(n, i) {
|
|
1125
|
-
return
|
|
1148
|
+
return re(n, i, r);
|
|
1126
1149
|
}, {});
|
|
1127
1150
|
};
|
|
1128
|
-
var
|
|
1129
|
-
const
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
r.__proto__ = n;
|
|
1133
|
-
} || function(r, n) {
|
|
1134
|
-
for (var i in n)
|
|
1135
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1136
|
-
}, ot(e, t);
|
|
1137
|
-
};
|
|
1138
|
-
function Me(e, t) {
|
|
1139
|
-
if (typeof t != "function" && t !== null)
|
|
1140
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1141
|
-
ot(e, t);
|
|
1142
|
-
function r() {
|
|
1143
|
-
this.constructor = e;
|
|
1144
|
-
}
|
|
1145
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1146
|
-
}
|
|
1147
|
-
var G = function() {
|
|
1148
|
-
return G = Object.assign || function(t) {
|
|
1149
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1150
|
-
r = arguments[n];
|
|
1151
|
-
for (var s in r)
|
|
1152
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1153
|
-
}
|
|
1154
|
-
return t;
|
|
1155
|
-
}, G.apply(this, arguments);
|
|
1156
|
-
};
|
|
1157
|
-
function ni(e, t) {
|
|
1158
|
-
var r = {};
|
|
1159
|
-
for (var n in e)
|
|
1160
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1161
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1162
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1163
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1164
|
-
return r;
|
|
1165
|
-
}
|
|
1166
|
-
function We(e, t, r) {
|
|
1167
|
-
if (r || arguments.length === 2)
|
|
1168
|
-
for (var n = 0, i = t.length, s; n < i; n++)
|
|
1169
|
-
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
1170
|
-
return e.concat(s || Array.prototype.slice.call(t));
|
|
1171
|
-
}
|
|
1172
|
-
function ze(e, t) {
|
|
1173
|
-
var r = t && t.cache ? t.cache : hi, n = t && t.serializer ? t.serializer : ui, i = t && t.strategy ? t.strategy : oi;
|
|
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;
|
|
1174
1155
|
return i(e, {
|
|
1175
1156
|
cache: r,
|
|
1176
1157
|
serializer: n
|
|
1177
1158
|
});
|
|
1178
1159
|
}
|
|
1179
|
-
function
|
|
1160
|
+
function ei(e) {
|
|
1180
1161
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1181
1162
|
}
|
|
1182
|
-
function
|
|
1183
|
-
var i =
|
|
1163
|
+
function gr(e, t, r, n) {
|
|
1164
|
+
var i = ei(n) ? n : r(n), s = t.get(i);
|
|
1184
1165
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1185
1166
|
}
|
|
1186
|
-
function
|
|
1167
|
+
function br(e, t, r) {
|
|
1187
1168
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1188
1169
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1189
1170
|
}
|
|
1190
|
-
function
|
|
1171
|
+
function ft(e, t, r, n, i) {
|
|
1191
1172
|
return r.bind(t, e, n, i);
|
|
1192
1173
|
}
|
|
1193
|
-
function
|
|
1194
|
-
var r = e.length === 1 ?
|
|
1195
|
-
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);
|
|
1177
|
+
}
|
|
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
|
-
},
|
|
1186
|
+
}, si = (
|
|
1203
1187
|
/** @class */
|
|
1204
1188
|
function() {
|
|
1205
1189
|
function e() {
|
|
@@ -1211,71 +1195,62 @@ var ui = function() {
|
|
|
1211
1195
|
this.cache[t] = r;
|
|
1212
1196
|
}, e;
|
|
1213
1197
|
}()
|
|
1214
|
-
),
|
|
1198
|
+
), oi = {
|
|
1215
1199
|
create: function() {
|
|
1216
|
-
return new
|
|
1200
|
+
return new si();
|
|
1217
1201
|
}
|
|
1218
|
-
},
|
|
1219
|
-
variadic:
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1223
|
-
r = arguments[n];
|
|
1224
|
-
for (var s in r)
|
|
1225
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1226
|
-
}
|
|
1227
|
-
return t;
|
|
1228
|
-
}, Ce.apply(this, arguments);
|
|
1229
|
-
};
|
|
1230
|
-
var v;
|
|
1202
|
+
}, Xe = {
|
|
1203
|
+
variadic: ri,
|
|
1204
|
+
monadic: ni
|
|
1205
|
+
}, v;
|
|
1231
1206
|
(function(e) {
|
|
1232
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";
|
|
1233
1208
|
})(v || (v = {}));
|
|
1234
|
-
var
|
|
1209
|
+
var T;
|
|
1235
1210
|
(function(e) {
|
|
1236
1211
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1237
|
-
})(
|
|
1238
|
-
var
|
|
1212
|
+
})(T || (T = {}));
|
|
1213
|
+
var ne;
|
|
1239
1214
|
(function(e) {
|
|
1240
1215
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1241
|
-
})(
|
|
1242
|
-
function
|
|
1243
|
-
return e.type ===
|
|
1216
|
+
})(ne || (ne = {}));
|
|
1217
|
+
function Ut(e) {
|
|
1218
|
+
return e.type === T.literal;
|
|
1244
1219
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return e.type ===
|
|
1220
|
+
function ai(e) {
|
|
1221
|
+
return e.type === T.argument;
|
|
1247
1222
|
}
|
|
1248
|
-
function
|
|
1249
|
-
return e.type ===
|
|
1223
|
+
function yr(e) {
|
|
1224
|
+
return e.type === T.number;
|
|
1250
1225
|
}
|
|
1251
|
-
function
|
|
1252
|
-
return e.type ===
|
|
1226
|
+
function vr(e) {
|
|
1227
|
+
return e.type === T.date;
|
|
1253
1228
|
}
|
|
1254
|
-
function
|
|
1255
|
-
return e.type ===
|
|
1229
|
+
function _r(e) {
|
|
1230
|
+
return e.type === T.time;
|
|
1256
1231
|
}
|
|
1257
|
-
function
|
|
1258
|
-
return e.type ===
|
|
1232
|
+
function Er(e) {
|
|
1233
|
+
return e.type === T.select;
|
|
1259
1234
|
}
|
|
1260
|
-
function
|
|
1261
|
-
return e.type ===
|
|
1235
|
+
function wr(e) {
|
|
1236
|
+
return e.type === T.plural;
|
|
1262
1237
|
}
|
|
1263
|
-
function
|
|
1264
|
-
return e.type ===
|
|
1238
|
+
function ui(e) {
|
|
1239
|
+
return e.type === T.pound;
|
|
1265
1240
|
}
|
|
1266
|
-
function
|
|
1267
|
-
return e.type ===
|
|
1241
|
+
function xr(e) {
|
|
1242
|
+
return e.type === T.tag;
|
|
1268
1243
|
}
|
|
1269
|
-
function
|
|
1270
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1244
|
+
function Sr(e) {
|
|
1245
|
+
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1271
1246
|
}
|
|
1272
|
-
function
|
|
1273
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1247
|
+
function rt(e) {
|
|
1248
|
+
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1274
1249
|
}
|
|
1275
|
-
var
|
|
1276
|
-
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) {
|
|
1277
1252
|
var t = {};
|
|
1278
|
-
return e.replace(
|
|
1253
|
+
return e.replace(li, function(r) {
|
|
1279
1254
|
var n = r.length;
|
|
1280
1255
|
switch (r[0]) {
|
|
1281
1256
|
case "G":
|
|
@@ -1364,22 +1339,12 @@ function mi(e) {
|
|
|
1364
1339
|
return "";
|
|
1365
1340
|
}), t;
|
|
1366
1341
|
}
|
|
1367
|
-
var
|
|
1368
|
-
|
|
1369
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1370
|
-
r = arguments[n];
|
|
1371
|
-
for (var s in r)
|
|
1372
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1373
|
-
}
|
|
1374
|
-
return t;
|
|
1375
|
-
}, A.apply(this, arguments);
|
|
1376
|
-
};
|
|
1377
|
-
var di = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1378
|
-
function gi(e) {
|
|
1342
|
+
var fi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1343
|
+
function ci(e) {
|
|
1379
1344
|
if (e.length === 0)
|
|
1380
1345
|
throw new Error("Number skeleton cannot be empty");
|
|
1381
|
-
for (var t = e.split(
|
|
1382
|
-
return
|
|
1346
|
+
for (var t = e.split(fi).filter(function(d) {
|
|
1347
|
+
return d.length > 0;
|
|
1383
1348
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1384
1349
|
var s = i[n], o = s.split("/");
|
|
1385
1350
|
if (o.length === 0)
|
|
@@ -1393,17 +1358,17 @@ function gi(e) {
|
|
|
1393
1358
|
}
|
|
1394
1359
|
return r;
|
|
1395
1360
|
}
|
|
1396
|
-
function
|
|
1361
|
+
function mi(e) {
|
|
1397
1362
|
return e.replace(/^(.*?)-/, "");
|
|
1398
1363
|
}
|
|
1399
|
-
var
|
|
1400
|
-
function
|
|
1364
|
+
var kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Hr = /^(@+)?(\+|#+)?[rs]?$/g, di = /(\*)(0+)|(#+)(0+)|(0+)/g, Br = /^(0+)$/;
|
|
1365
|
+
function Gt(e) {
|
|
1401
1366
|
var t = {};
|
|
1402
|
-
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) {
|
|
1403
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)), "";
|
|
1404
1369
|
}), t;
|
|
1405
1370
|
}
|
|
1406
|
-
function
|
|
1371
|
+
function Ar(e) {
|
|
1407
1372
|
switch (e) {
|
|
1408
1373
|
case "sign-auto":
|
|
1409
1374
|
return {
|
|
@@ -1443,7 +1408,7 @@ function Ir(e) {
|
|
|
1443
1408
|
};
|
|
1444
1409
|
}
|
|
1445
1410
|
}
|
|
1446
|
-
function
|
|
1411
|
+
function pi(e) {
|
|
1447
1412
|
var t;
|
|
1448
1413
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1449
1414
|
notation: "engineering"
|
|
@@ -1451,17 +1416,17 @@ function vi(e) {
|
|
|
1451
1416
|
notation: "scientific"
|
|
1452
1417
|
}, e = e.slice(1)), t) {
|
|
1453
1418
|
var r = e.slice(0, 2);
|
|
1454
|
-
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))
|
|
1455
1420
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1456
1421
|
t.minimumIntegerDigits = e.length;
|
|
1457
1422
|
}
|
|
1458
1423
|
return t;
|
|
1459
1424
|
}
|
|
1460
|
-
function
|
|
1461
|
-
var t = {}, r =
|
|
1425
|
+
function jt(e) {
|
|
1426
|
+
var t = {}, r = Ar(e);
|
|
1462
1427
|
return r || t;
|
|
1463
1428
|
}
|
|
1464
|
-
function
|
|
1429
|
+
function gi(e) {
|
|
1465
1430
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1466
1431
|
var i = n[r];
|
|
1467
1432
|
switch (i.stem) {
|
|
@@ -1485,7 +1450,7 @@ function _i(e) {
|
|
|
1485
1450
|
continue;
|
|
1486
1451
|
case "measure-unit":
|
|
1487
1452
|
case "unit":
|
|
1488
|
-
t.style = "unit", t.unit =
|
|
1453
|
+
t.style = "unit", t.unit = mi(i.options[0]);
|
|
1489
1454
|
continue;
|
|
1490
1455
|
case "compact-short":
|
|
1491
1456
|
case "K":
|
|
@@ -1496,13 +1461,13 @@ function _i(e) {
|
|
|
1496
1461
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1497
1462
|
continue;
|
|
1498
1463
|
case "scientific":
|
|
1499
|
-
t =
|
|
1500
|
-
return
|
|
1464
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
|
1465
|
+
return w(w({}, h), jt(l));
|
|
1501
1466
|
}, {}));
|
|
1502
1467
|
continue;
|
|
1503
1468
|
case "engineering":
|
|
1504
|
-
t =
|
|
1505
|
-
return
|
|
1469
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
|
1470
|
+
return w(w({}, h), jt(l));
|
|
1506
1471
|
}, {}));
|
|
1507
1472
|
continue;
|
|
1508
1473
|
case "notation-simple":
|
|
@@ -1547,11 +1512,11 @@ function _i(e) {
|
|
|
1547
1512
|
case "integer-width":
|
|
1548
1513
|
if (i.options.length > 1)
|
|
1549
1514
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1550
|
-
i.options[0].replace(
|
|
1515
|
+
i.options[0].replace(di, function(h, l, u, c, d, y) {
|
|
1551
1516
|
if (l)
|
|
1552
1517
|
t.minimumIntegerDigits = u.length;
|
|
1553
1518
|
else {
|
|
1554
|
-
if (c &&
|
|
1519
|
+
if (c && d)
|
|
1555
1520
|
throw new Error("We currently do not support maximum integer digits");
|
|
1556
1521
|
if (y)
|
|
1557
1522
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1560,28 +1525,28 @@ function _i(e) {
|
|
|
1560
1525
|
});
|
|
1561
1526
|
continue;
|
|
1562
1527
|
}
|
|
1563
|
-
if (
|
|
1528
|
+
if (Br.test(i.stem)) {
|
|
1564
1529
|
t.minimumIntegerDigits = i.stem.length;
|
|
1565
1530
|
continue;
|
|
1566
1531
|
}
|
|
1567
|
-
if (
|
|
1532
|
+
if (kt.test(i.stem)) {
|
|
1568
1533
|
if (i.options.length > 1)
|
|
1569
1534
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1570
|
-
i.stem.replace(
|
|
1571
|
-
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), "";
|
|
1572
1537
|
});
|
|
1573
1538
|
var s = i.options[0];
|
|
1574
|
-
s === "w" ? t =
|
|
1539
|
+
s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), Gt(s)));
|
|
1575
1540
|
continue;
|
|
1576
1541
|
}
|
|
1577
|
-
if (
|
|
1578
|
-
t =
|
|
1542
|
+
if (Hr.test(i.stem)) {
|
|
1543
|
+
t = w(w({}, t), Gt(i.stem));
|
|
1579
1544
|
continue;
|
|
1580
1545
|
}
|
|
1581
|
-
var o =
|
|
1582
|
-
o && (t =
|
|
1583
|
-
var a =
|
|
1584
|
-
a && (t =
|
|
1546
|
+
var o = Ar(i.stem);
|
|
1547
|
+
o && (t = w(w({}, t), o));
|
|
1548
|
+
var a = pi(i.stem);
|
|
1549
|
+
a && (t = w(w({}, t), a));
|
|
1585
1550
|
}
|
|
1586
1551
|
return t;
|
|
1587
1552
|
}
|
|
@@ -3000,13 +2965,13 @@ var Te = {
|
|
|
3000
2965
|
"h"
|
|
3001
2966
|
]
|
|
3002
2967
|
};
|
|
3003
|
-
function
|
|
2968
|
+
function bi(e, t) {
|
|
3004
2969
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3005
2970
|
var i = e.charAt(n);
|
|
3006
2971
|
if (i === "j") {
|
|
3007
2972
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3008
2973
|
s++, n++;
|
|
3009
|
-
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);
|
|
3010
2975
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
3011
2976
|
r += h;
|
|
3012
2977
|
for (; o-- > 0; )
|
|
@@ -3016,7 +2981,7 @@ function Ei(e, t) {
|
|
|
3016
2981
|
}
|
|
3017
2982
|
return r;
|
|
3018
2983
|
}
|
|
3019
|
-
function
|
|
2984
|
+
function yi(e) {
|
|
3020
2985
|
var t = e.hourCycle;
|
|
3021
2986
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3022
2987
|
e.hourCycles && // @ts-ignore
|
|
@@ -3038,20 +3003,20 @@ function wi(e) {
|
|
|
3038
3003
|
var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
|
|
3039
3004
|
return i[0];
|
|
3040
3005
|
}
|
|
3041
|
-
var
|
|
3006
|
+
var We, vi = new RegExp("^".concat(Tr.source, "*")), _i = new RegExp("".concat(Tr.source, "*$"));
|
|
3042
3007
|
function _(e, t) {
|
|
3043
3008
|
return { start: e, end: t };
|
|
3044
3009
|
}
|
|
3045
|
-
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) {
|
|
3046
3011
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3047
|
-
},
|
|
3012
|
+
}, nt = !0;
|
|
3048
3013
|
try {
|
|
3049
|
-
var
|
|
3050
|
-
|
|
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";
|
|
3051
3016
|
} catch {
|
|
3052
|
-
|
|
3017
|
+
nt = !1;
|
|
3053
3018
|
}
|
|
3054
|
-
var
|
|
3019
|
+
var $t = Ei ? (
|
|
3055
3020
|
// Native
|
|
3056
3021
|
function(t, r, n) {
|
|
3057
3022
|
return t.startsWith(r, n);
|
|
@@ -3061,7 +3026,7 @@ var zt = Ti ? (
|
|
|
3061
3026
|
function(t, r, n) {
|
|
3062
3027
|
return t.slice(n, n + r.length) === r;
|
|
3063
3028
|
}
|
|
3064
|
-
),
|
|
3029
|
+
), it = wi ? String.fromCodePoint : (
|
|
3065
3030
|
// IE11
|
|
3066
3031
|
function() {
|
|
3067
3032
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3073,9 +3038,9 @@ var zt = Ti ? (
|
|
|
3073
3038
|
}
|
|
3074
3039
|
return n;
|
|
3075
3040
|
}
|
|
3076
|
-
),
|
|
3041
|
+
), Vt = (
|
|
3077
3042
|
// native
|
|
3078
|
-
|
|
3043
|
+
xi ? Object.fromEntries : (
|
|
3079
3044
|
// Ponyfill
|
|
3080
3045
|
function(t) {
|
|
3081
3046
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3085,7 +3050,7 @@ var zt = Ti ? (
|
|
|
3085
3050
|
return r;
|
|
3086
3051
|
}
|
|
3087
3052
|
)
|
|
3088
|
-
),
|
|
3053
|
+
), Pr = Si ? (
|
|
3089
3054
|
// Native
|
|
3090
3055
|
function(t, r) {
|
|
3091
3056
|
return t.codePointAt(r);
|
|
@@ -3099,7 +3064,7 @@ var zt = Ti ? (
|
|
|
3099
3064
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3100
3065
|
}
|
|
3101
3066
|
}
|
|
3102
|
-
),
|
|
3067
|
+
), Oi = Ti ? (
|
|
3103
3068
|
// Native
|
|
3104
3069
|
function(t) {
|
|
3105
3070
|
return t.trimStart();
|
|
@@ -3107,9 +3072,9 @@ var zt = Ti ? (
|
|
|
3107
3072
|
) : (
|
|
3108
3073
|
// Ponyfill
|
|
3109
3074
|
function(t) {
|
|
3110
|
-
return t.replace(
|
|
3075
|
+
return t.replace(vi, "");
|
|
3111
3076
|
}
|
|
3112
|
-
),
|
|
3077
|
+
), Ci = Hi ? (
|
|
3113
3078
|
// Native
|
|
3114
3079
|
function(t) {
|
|
3115
3080
|
return t.trimEnd();
|
|
@@ -3117,32 +3082,32 @@ var zt = Ti ? (
|
|
|
3117
3082
|
) : (
|
|
3118
3083
|
// Ponyfill
|
|
3119
3084
|
function(t) {
|
|
3120
|
-
return t.replace(
|
|
3085
|
+
return t.replace(_i, "");
|
|
3121
3086
|
}
|
|
3122
3087
|
);
|
|
3123
|
-
function
|
|
3088
|
+
function Or(e, t) {
|
|
3124
3089
|
return new RegExp(e, t);
|
|
3125
3090
|
}
|
|
3126
|
-
var
|
|
3127
|
-
if (
|
|
3128
|
-
var
|
|
3129
|
-
|
|
3091
|
+
var st;
|
|
3092
|
+
if (nt) {
|
|
3093
|
+
var Xt = Or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3094
|
+
st = function(t, r) {
|
|
3130
3095
|
var n;
|
|
3131
|
-
|
|
3132
|
-
var i =
|
|
3096
|
+
Xt.lastIndex = r;
|
|
3097
|
+
var i = Xt.exec(t);
|
|
3133
3098
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3134
3099
|
};
|
|
3135
3100
|
} else
|
|
3136
|
-
|
|
3101
|
+
st = function(t, r) {
|
|
3137
3102
|
for (var n = []; ; ) {
|
|
3138
|
-
var i =
|
|
3139
|
-
if (i === void 0 ||
|
|
3103
|
+
var i = Pr(t, r);
|
|
3104
|
+
if (i === void 0 || Cr(i) || Ni(i))
|
|
3140
3105
|
break;
|
|
3141
3106
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3142
3107
|
}
|
|
3143
|
-
return
|
|
3108
|
+
return it.apply(void 0, n);
|
|
3144
3109
|
};
|
|
3145
|
-
var
|
|
3110
|
+
var Ii = (
|
|
3146
3111
|
/** @class */
|
|
3147
3112
|
function() {
|
|
3148
3113
|
function e(t, r) {
|
|
@@ -3166,14 +3131,14 @@ var Mi = (
|
|
|
3166
3131
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3167
3132
|
var a = this.clonePosition();
|
|
3168
3133
|
this.bump(), i.push({
|
|
3169
|
-
type:
|
|
3134
|
+
type: T.pound,
|
|
3170
3135
|
location: _(a, this.clonePosition())
|
|
3171
3136
|
});
|
|
3172
3137
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3173
3138
|
if (n)
|
|
3174
3139
|
break;
|
|
3175
3140
|
return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3176
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3141
|
+
} else if (s === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
|
|
3177
3142
|
var o = this.parseTag(t, r);
|
|
3178
3143
|
if (o.err)
|
|
3179
3144
|
return o;
|
|
@@ -3194,7 +3159,7 @@ var Mi = (
|
|
|
3194
3159
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3195
3160
|
return {
|
|
3196
3161
|
val: {
|
|
3197
|
-
type:
|
|
3162
|
+
type: T.literal,
|
|
3198
3163
|
value: "<".concat(i, "/>"),
|
|
3199
3164
|
location: _(n, this.clonePosition())
|
|
3200
3165
|
},
|
|
@@ -3206,12 +3171,12 @@ var Mi = (
|
|
|
3206
3171
|
return s;
|
|
3207
3172
|
var o = s.val, a = this.clonePosition();
|
|
3208
3173
|
if (this.bumpIf("</")) {
|
|
3209
|
-
if (this.isEOF() || !
|
|
3174
|
+
if (this.isEOF() || !ot(this.char()))
|
|
3210
3175
|
return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
|
|
3211
3176
|
var h = this.clonePosition(), l = this.parseTagName();
|
|
3212
3177
|
return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3213
3178
|
val: {
|
|
3214
|
-
type:
|
|
3179
|
+
type: T.tag,
|
|
3215
3180
|
value: i,
|
|
3216
3181
|
children: o,
|
|
3217
3182
|
location: _(n, this.clonePosition())
|
|
@@ -3224,7 +3189,7 @@ var Mi = (
|
|
|
3224
3189
|
return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
|
|
3225
3190
|
}, e.prototype.parseTagName = function() {
|
|
3226
3191
|
var t = this.offset();
|
|
3227
|
-
for (this.bump(); !this.isEOF() &&
|
|
3192
|
+
for (this.bump(); !this.isEOF() && Ri(this.char()); )
|
|
3228
3193
|
this.bump();
|
|
3229
3194
|
return this.message.slice(t, this.offset());
|
|
3230
3195
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3248,12 +3213,12 @@ var Mi = (
|
|
|
3248
3213
|
}
|
|
3249
3214
|
var h = _(n, this.clonePosition());
|
|
3250
3215
|
return {
|
|
3251
|
-
val: { type:
|
|
3216
|
+
val: { type: T.literal, value: i, location: h },
|
|
3252
3217
|
err: null
|
|
3253
3218
|
};
|
|
3254
3219
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3255
3220
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3256
|
-
!
|
|
3221
|
+
!Li(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3257
3222
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3258
3223
|
if (this.isEOF() || this.char() !== 39)
|
|
3259
3224
|
return null;
|
|
@@ -3287,12 +3252,12 @@ var Mi = (
|
|
|
3287
3252
|
r.push(n);
|
|
3288
3253
|
this.bump();
|
|
3289
3254
|
}
|
|
3290
|
-
return
|
|
3255
|
+
return it.apply(void 0, r);
|
|
3291
3256
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3292
3257
|
if (this.isEOF())
|
|
3293
3258
|
return null;
|
|
3294
3259
|
var n = this.char();
|
|
3295
|
-
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));
|
|
3296
3261
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3297
3262
|
var n = this.clonePosition();
|
|
3298
3263
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3308,7 +3273,7 @@ var Mi = (
|
|
|
3308
3273
|
case 125:
|
|
3309
3274
|
return this.bump(), {
|
|
3310
3275
|
val: {
|
|
3311
|
-
type:
|
|
3276
|
+
type: T.argument,
|
|
3312
3277
|
// value does not include the opening and closing braces.
|
|
3313
3278
|
value: i,
|
|
3314
3279
|
location: _(n, this.clonePosition())
|
|
@@ -3321,7 +3286,7 @@ var Mi = (
|
|
|
3321
3286
|
return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3322
3287
|
}
|
|
3323
3288
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3324
|
-
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;
|
|
3325
3290
|
this.bumpTo(i);
|
|
3326
3291
|
var s = this.clonePosition(), o = _(t, s);
|
|
3327
3292
|
return { value: n, location: o };
|
|
@@ -3340,46 +3305,46 @@ var Mi = (
|
|
|
3340
3305
|
var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3341
3306
|
if (c.err)
|
|
3342
3307
|
return c;
|
|
3343
|
-
var
|
|
3344
|
-
if (
|
|
3308
|
+
var d = Ci(c.val);
|
|
3309
|
+
if (d.length === 0)
|
|
3345
3310
|
return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3346
3311
|
var y = _(u, this.clonePosition());
|
|
3347
|
-
l = { style:
|
|
3312
|
+
l = { style: d, styleLocation: y };
|
|
3348
3313
|
}
|
|
3349
3314
|
var g = this.tryParseArgumentClose(i);
|
|
3350
3315
|
if (g.err)
|
|
3351
3316
|
return g;
|
|
3352
|
-
var
|
|
3353
|
-
if (l &&
|
|
3354
|
-
var b =
|
|
3317
|
+
var p = _(i, this.clonePosition());
|
|
3318
|
+
if (l && $t(l?.style, "::", 0)) {
|
|
3319
|
+
var b = Oi(l.style.slice(2));
|
|
3355
3320
|
if (a === "number") {
|
|
3356
3321
|
var c = this.parseNumberSkeletonFromString(b, l.styleLocation);
|
|
3357
3322
|
return c.err ? c : {
|
|
3358
|
-
val: { type:
|
|
3323
|
+
val: { type: T.number, value: n, location: p, style: c.val },
|
|
3359
3324
|
err: null
|
|
3360
3325
|
};
|
|
3361
3326
|
} else {
|
|
3362
3327
|
if (b.length === 0)
|
|
3363
|
-
return this.error(v.EXPECT_DATE_TIME_SKELETON,
|
|
3364
|
-
var
|
|
3365
|
-
this.locale && (
|
|
3366
|
-
var
|
|
3367
|
-
type:
|
|
3368
|
-
pattern:
|
|
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 = {
|
|
3332
|
+
type: ne.dateTime,
|
|
3333
|
+
pattern: x,
|
|
3369
3334
|
location: l.styleLocation,
|
|
3370
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3371
|
-
}, O = a === "date" ?
|
|
3335
|
+
parsedOptions: this.shouldParseSkeletons ? hi(x) : {}
|
|
3336
|
+
}, O = a === "date" ? T.date : T.time;
|
|
3372
3337
|
return {
|
|
3373
|
-
val: { type: O, value: n, location:
|
|
3338
|
+
val: { type: O, value: n, location: p, style: d },
|
|
3374
3339
|
err: null
|
|
3375
3340
|
};
|
|
3376
3341
|
}
|
|
3377
3342
|
}
|
|
3378
3343
|
return {
|
|
3379
3344
|
val: {
|
|
3380
|
-
type: a === "number" ?
|
|
3345
|
+
type: a === "number" ? T.number : a === "date" ? T.date : T.time,
|
|
3381
3346
|
value: n,
|
|
3382
|
-
location:
|
|
3347
|
+
location: p,
|
|
3383
3348
|
style: (s = l?.style) !== null && s !== void 0 ? s : null
|
|
3384
3349
|
},
|
|
3385
3350
|
err: null
|
|
@@ -3390,7 +3355,7 @@ var Mi = (
|
|
|
3390
3355
|
case "select": {
|
|
3391
3356
|
var P = this.clonePosition();
|
|
3392
3357
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3393
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(P,
|
|
3358
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(P, w({}, P)));
|
|
3394
3359
|
this.bumpSpace();
|
|
3395
3360
|
var R = this.parseIdentifierIfPossible(), N = 0;
|
|
3396
3361
|
if (a !== "select" && R.value === "offset") {
|
|
@@ -3411,17 +3376,17 @@ var Mi = (
|
|
|
3411
3376
|
var D = _(i, this.clonePosition());
|
|
3412
3377
|
return a === "select" ? {
|
|
3413
3378
|
val: {
|
|
3414
|
-
type:
|
|
3379
|
+
type: T.select,
|
|
3415
3380
|
value: n,
|
|
3416
|
-
options:
|
|
3381
|
+
options: Vt(C.val),
|
|
3417
3382
|
location: D
|
|
3418
3383
|
},
|
|
3419
3384
|
err: null
|
|
3420
3385
|
} : {
|
|
3421
3386
|
val: {
|
|
3422
|
-
type:
|
|
3387
|
+
type: T.plural,
|
|
3423
3388
|
value: n,
|
|
3424
|
-
options:
|
|
3389
|
+
options: Vt(C.val),
|
|
3425
3390
|
offset: N,
|
|
3426
3391
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3427
3392
|
location: D
|
|
@@ -3472,16 +3437,16 @@ var Mi = (
|
|
|
3472
3437
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3473
3438
|
var n = [];
|
|
3474
3439
|
try {
|
|
3475
|
-
n =
|
|
3440
|
+
n = ci(t);
|
|
3476
3441
|
} catch {
|
|
3477
3442
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3478
3443
|
}
|
|
3479
3444
|
return {
|
|
3480
3445
|
val: {
|
|
3481
|
-
type:
|
|
3446
|
+
type: ne.number,
|
|
3482
3447
|
tokens: n,
|
|
3483
3448
|
location: r,
|
|
3484
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3449
|
+
parsedOptions: this.shouldParseSkeletons ? gi(n) : {}
|
|
3485
3450
|
},
|
|
3486
3451
|
err: null
|
|
3487
3452
|
};
|
|
@@ -3490,9 +3455,9 @@ var Mi = (
|
|
|
3490
3455
|
if (l.length === 0) {
|
|
3491
3456
|
var c = this.clonePosition();
|
|
3492
3457
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3493
|
-
var
|
|
3494
|
-
if (
|
|
3495
|
-
return
|
|
3458
|
+
var d = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3459
|
+
if (d.err)
|
|
3460
|
+
return d;
|
|
3496
3461
|
u = _(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
|
|
3497
3462
|
} else
|
|
3498
3463
|
break;
|
|
@@ -3506,9 +3471,9 @@ var Mi = (
|
|
|
3506
3471
|
var g = this.parseMessage(t + 1, r, n);
|
|
3507
3472
|
if (g.err)
|
|
3508
3473
|
return g;
|
|
3509
|
-
var
|
|
3510
|
-
if (
|
|
3511
|
-
return
|
|
3474
|
+
var p = this.tryParseArgumentClose(y);
|
|
3475
|
+
if (p.err)
|
|
3476
|
+
return p;
|
|
3512
3477
|
a.push([
|
|
3513
3478
|
l,
|
|
3514
3479
|
{
|
|
@@ -3529,7 +3494,7 @@ var Mi = (
|
|
|
3529
3494
|
break;
|
|
3530
3495
|
}
|
|
3531
3496
|
var h = _(i, this.clonePosition());
|
|
3532
|
-
return s ? (o *= n,
|
|
3497
|
+
return s ? (o *= n, Ai(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3533
3498
|
}, e.prototype.offset = function() {
|
|
3534
3499
|
return this.position.offset;
|
|
3535
3500
|
}, e.prototype.isEOF = function() {
|
|
@@ -3544,7 +3509,7 @@ var Mi = (
|
|
|
3544
3509
|
var t = this.position.offset;
|
|
3545
3510
|
if (t >= this.message.length)
|
|
3546
3511
|
throw Error("out of bound");
|
|
3547
|
-
var r =
|
|
3512
|
+
var r = Pr(this.message, t);
|
|
3548
3513
|
if (r === void 0)
|
|
3549
3514
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3550
3515
|
return r;
|
|
@@ -3563,7 +3528,7 @@ var Mi = (
|
|
|
3563
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);
|
|
3564
3529
|
}
|
|
3565
3530
|
}, e.prototype.bumpIf = function(t) {
|
|
3566
|
-
if (
|
|
3531
|
+
if ($t(this.message, t, this.offset())) {
|
|
3567
3532
|
for (var r = 0; r < t.length; r++)
|
|
3568
3533
|
this.bump();
|
|
3569
3534
|
return !0;
|
|
@@ -3585,7 +3550,7 @@ var Mi = (
|
|
|
3585
3550
|
break;
|
|
3586
3551
|
}
|
|
3587
3552
|
}, e.prototype.bumpSpace = function() {
|
|
3588
|
-
for (; !this.isEOF() &&
|
|
3553
|
+
for (; !this.isEOF() && Cr(this.char()); )
|
|
3589
3554
|
this.bump();
|
|
3590
3555
|
}, e.prototype.peek = function() {
|
|
3591
3556
|
if (this.isEOF())
|
|
@@ -3595,47 +3560,47 @@ var Mi = (
|
|
|
3595
3560
|
}, e;
|
|
3596
3561
|
}()
|
|
3597
3562
|
);
|
|
3598
|
-
function
|
|
3563
|
+
function ot(e) {
|
|
3599
3564
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3600
3565
|
}
|
|
3601
|
-
function
|
|
3602
|
-
return
|
|
3566
|
+
function Li(e) {
|
|
3567
|
+
return ot(e) || e === 47;
|
|
3603
3568
|
}
|
|
3604
|
-
function
|
|
3569
|
+
function Ri(e) {
|
|
3605
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;
|
|
3606
3571
|
}
|
|
3607
|
-
function
|
|
3572
|
+
function Cr(e) {
|
|
3608
3573
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3609
3574
|
}
|
|
3610
|
-
function
|
|
3575
|
+
function Ni(e) {
|
|
3611
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;
|
|
3612
3577
|
}
|
|
3613
|
-
function
|
|
3578
|
+
function at(e) {
|
|
3614
3579
|
e.forEach(function(t) {
|
|
3615
|
-
if (delete t.location,
|
|
3580
|
+
if (delete t.location, Er(t) || wr(t))
|
|
3616
3581
|
for (var r in t.options)
|
|
3617
|
-
delete t.options[r].location,
|
|
3582
|
+
delete t.options[r].location, at(t.options[r].value);
|
|
3618
3583
|
else
|
|
3619
|
-
|
|
3584
|
+
yr(t) && Sr(t.style) || (vr(t) || _r(t)) && rt(t.style) ? delete t.style.location : xr(t) && at(t.children);
|
|
3620
3585
|
});
|
|
3621
3586
|
}
|
|
3622
|
-
function
|
|
3623
|
-
t === void 0 && (t = {}), t =
|
|
3624
|
-
var r = new
|
|
3587
|
+
function Mi(e, t) {
|
|
3588
|
+
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3589
|
+
var r = new Ii(e, t).parse();
|
|
3625
3590
|
if (r.err) {
|
|
3626
3591
|
var n = SyntaxError(v[r.err.kind]);
|
|
3627
3592
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3628
3593
|
}
|
|
3629
|
-
return t?.captureLocation ||
|
|
3594
|
+
return t?.captureLocation || at(r.val), r.val;
|
|
3630
3595
|
}
|
|
3631
|
-
var
|
|
3596
|
+
var ie;
|
|
3632
3597
|
(function(e) {
|
|
3633
3598
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3634
|
-
})(
|
|
3635
|
-
var
|
|
3599
|
+
})(ie || (ie = {}));
|
|
3600
|
+
var Ne = (
|
|
3636
3601
|
/** @class */
|
|
3637
3602
|
function(e) {
|
|
3638
|
-
|
|
3603
|
+
X(t, e);
|
|
3639
3604
|
function t(r, n, i) {
|
|
3640
3605
|
var s = e.call(this, r) || this;
|
|
3641
3606
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3644,48 +3609,48 @@ var De = (
|
|
|
3644
3609
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3645
3610
|
}, t;
|
|
3646
3611
|
}(Error)
|
|
3647
|
-
),
|
|
3612
|
+
), Wt = (
|
|
3648
3613
|
/** @class */
|
|
3649
3614
|
function(e) {
|
|
3650
|
-
|
|
3615
|
+
X(t, e);
|
|
3651
3616
|
function t(r, n, i, s) {
|
|
3652
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3617
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, s) || this;
|
|
3653
3618
|
}
|
|
3654
3619
|
return t;
|
|
3655
|
-
}(
|
|
3656
|
-
),
|
|
3620
|
+
}(Ne)
|
|
3621
|
+
), Di = (
|
|
3657
3622
|
/** @class */
|
|
3658
3623
|
function(e) {
|
|
3659
|
-
|
|
3624
|
+
X(t, e);
|
|
3660
3625
|
function t(r, n, i) {
|
|
3661
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3626
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
|
|
3662
3627
|
}
|
|
3663
3628
|
return t;
|
|
3664
|
-
}(
|
|
3665
|
-
),
|
|
3629
|
+
}(Ne)
|
|
3630
|
+
), Fi = (
|
|
3666
3631
|
/** @class */
|
|
3667
3632
|
function(e) {
|
|
3668
|
-
|
|
3633
|
+
X(t, e);
|
|
3669
3634
|
function t(r, n) {
|
|
3670
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
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;
|
|
3671
3636
|
}
|
|
3672
3637
|
return t;
|
|
3673
|
-
}(
|
|
3638
|
+
}(Ne)
|
|
3674
3639
|
), L;
|
|
3675
3640
|
(function(e) {
|
|
3676
3641
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3677
3642
|
})(L || (L = {}));
|
|
3678
|
-
function
|
|
3643
|
+
function Ui(e) {
|
|
3679
3644
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3680
3645
|
var n = t[t.length - 1];
|
|
3681
3646
|
return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
|
|
3682
3647
|
}, []);
|
|
3683
3648
|
}
|
|
3684
|
-
function
|
|
3649
|
+
function ki(e) {
|
|
3685
3650
|
return typeof e == "function";
|
|
3686
3651
|
}
|
|
3687
3652
|
function Ae(e, t, r, n, i, s, o) {
|
|
3688
|
-
if (e.length === 1 &&
|
|
3653
|
+
if (e.length === 1 && Ut(e[0]))
|
|
3689
3654
|
return [
|
|
3690
3655
|
{
|
|
3691
3656
|
type: L.literal,
|
|
@@ -3694,14 +3659,14 @@ function Ae(e, t, r, n, i, s, o) {
|
|
|
3694
3659
|
];
|
|
3695
3660
|
for (var a = [], h = 0, l = e; h < l.length; h++) {
|
|
3696
3661
|
var u = l[h];
|
|
3697
|
-
if (
|
|
3662
|
+
if (Ut(u)) {
|
|
3698
3663
|
a.push({
|
|
3699
3664
|
type: L.literal,
|
|
3700
3665
|
value: u.value
|
|
3701
3666
|
});
|
|
3702
3667
|
continue;
|
|
3703
3668
|
}
|
|
3704
|
-
if (
|
|
3669
|
+
if (ui(u)) {
|
|
3705
3670
|
typeof s == "number" && a.push({
|
|
3706
3671
|
type: L.literal,
|
|
3707
3672
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3710,44 +3675,44 @@ function Ae(e, t, r, n, i, s, o) {
|
|
|
3710
3675
|
}
|
|
3711
3676
|
var c = u.value;
|
|
3712
3677
|
if (!(i && c in i))
|
|
3713
|
-
throw new
|
|
3714
|
-
var
|
|
3715
|
-
if (
|
|
3716
|
-
(!
|
|
3717
|
-
type: typeof
|
|
3718
|
-
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
|
|
3719
3684
|
});
|
|
3720
3685
|
continue;
|
|
3721
3686
|
}
|
|
3722
|
-
if (
|
|
3723
|
-
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;
|
|
3724
3689
|
a.push({
|
|
3725
3690
|
type: L.literal,
|
|
3726
|
-
value: r.getDateTimeFormat(t, y).format(
|
|
3691
|
+
value: r.getDateTimeFormat(t, y).format(d)
|
|
3727
3692
|
});
|
|
3728
3693
|
continue;
|
|
3729
3694
|
}
|
|
3730
|
-
if (
|
|
3731
|
-
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;
|
|
3732
3697
|
a.push({
|
|
3733
3698
|
type: L.literal,
|
|
3734
|
-
value: r.getDateTimeFormat(t, y).format(
|
|
3699
|
+
value: r.getDateTimeFormat(t, y).format(d)
|
|
3735
3700
|
});
|
|
3736
3701
|
continue;
|
|
3737
3702
|
}
|
|
3738
|
-
if (
|
|
3739
|
-
var y = typeof u.style == "string" ? n.number[u.style] :
|
|
3740
|
-
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({
|
|
3741
3706
|
type: L.literal,
|
|
3742
|
-
value: r.getNumberFormat(t, y).format(
|
|
3707
|
+
value: r.getNumberFormat(t, y).format(d)
|
|
3743
3708
|
});
|
|
3744
3709
|
continue;
|
|
3745
3710
|
}
|
|
3746
|
-
if (
|
|
3747
|
-
var g = u.children,
|
|
3748
|
-
if (!
|
|
3749
|
-
throw new
|
|
3750
|
-
var
|
|
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) {
|
|
3751
3716
|
return N.value;
|
|
3752
3717
|
}));
|
|
3753
3718
|
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(N) {
|
|
@@ -3757,42 +3722,42 @@ function Ae(e, t, r, n, i, s, o) {
|
|
|
3757
3722
|
};
|
|
3758
3723
|
}));
|
|
3759
3724
|
}
|
|
3760
|
-
if (
|
|
3761
|
-
var P = u.options[
|
|
3725
|
+
if (Er(u)) {
|
|
3726
|
+
var P = u.options[d] || u.options.other;
|
|
3762
3727
|
if (!P)
|
|
3763
|
-
throw new
|
|
3728
|
+
throw new Wt(u.value, d, Object.keys(u.options), o);
|
|
3764
3729
|
a.push.apply(a, Ae(P.value, t, r, n, i));
|
|
3765
3730
|
continue;
|
|
3766
3731
|
}
|
|
3767
|
-
if (
|
|
3768
|
-
var P = u.options["=".concat(
|
|
3732
|
+
if (wr(u)) {
|
|
3733
|
+
var P = u.options["=".concat(d)];
|
|
3769
3734
|
if (!P) {
|
|
3770
3735
|
if (!Intl.PluralRules)
|
|
3771
|
-
throw new
|
|
3736
|
+
throw new Ne(`Intl.PluralRules is not available in this environment.
|
|
3772
3737
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3773
|
-
`,
|
|
3774
|
-
var R = r.getPluralRules(t, { type: u.pluralType }).select(
|
|
3738
|
+
`, ie.MISSING_INTL_API, o);
|
|
3739
|
+
var R = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
|
|
3775
3740
|
P = u.options[R] || u.options.other;
|
|
3776
3741
|
}
|
|
3777
3742
|
if (!P)
|
|
3778
|
-
throw new
|
|
3779
|
-
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)));
|
|
3780
3745
|
continue;
|
|
3781
3746
|
}
|
|
3782
3747
|
}
|
|
3783
|
-
return
|
|
3748
|
+
return Ui(a);
|
|
3784
3749
|
}
|
|
3785
|
-
function
|
|
3786
|
-
return t ?
|
|
3787
|
-
return r[n] =
|
|
3750
|
+
function Gi(e, t) {
|
|
3751
|
+
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3752
|
+
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3788
3753
|
}, {})) : e;
|
|
3789
3754
|
}
|
|
3790
|
-
function
|
|
3755
|
+
function ji(e, t) {
|
|
3791
3756
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3792
|
-
return r[n] =
|
|
3793
|
-
},
|
|
3757
|
+
return r[n] = Gi(e[n], t[n]), r;
|
|
3758
|
+
}, w({}, e)) : e;
|
|
3794
3759
|
}
|
|
3795
|
-
function
|
|
3760
|
+
function ze(e) {
|
|
3796
3761
|
return {
|
|
3797
3762
|
create: function() {
|
|
3798
3763
|
return {
|
|
@@ -3806,39 +3771,39 @@ function qe(e) {
|
|
|
3806
3771
|
}
|
|
3807
3772
|
};
|
|
3808
3773
|
}
|
|
3809
|
-
function
|
|
3774
|
+
function $i(e) {
|
|
3810
3775
|
return e === void 0 && (e = {
|
|
3811
3776
|
number: {},
|
|
3812
3777
|
dateTime: {},
|
|
3813
3778
|
pluralRules: {}
|
|
3814
3779
|
}), {
|
|
3815
|
-
getNumberFormat:
|
|
3780
|
+
getNumberFormat: Ve(function() {
|
|
3816
3781
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3817
3782
|
r[n] = arguments[n];
|
|
3818
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3783
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3819
3784
|
}, {
|
|
3820
|
-
cache:
|
|
3821
|
-
strategy:
|
|
3785
|
+
cache: ze(e.number),
|
|
3786
|
+
strategy: Xe.variadic
|
|
3822
3787
|
}),
|
|
3823
|
-
getDateTimeFormat:
|
|
3788
|
+
getDateTimeFormat: Ve(function() {
|
|
3824
3789
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3825
3790
|
r[n] = arguments[n];
|
|
3826
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3791
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3827
3792
|
}, {
|
|
3828
|
-
cache:
|
|
3829
|
-
strategy:
|
|
3793
|
+
cache: ze(e.dateTime),
|
|
3794
|
+
strategy: Xe.variadic
|
|
3830
3795
|
}),
|
|
3831
|
-
getPluralRules:
|
|
3796
|
+
getPluralRules: Ve(function() {
|
|
3832
3797
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3833
3798
|
r[n] = arguments[n];
|
|
3834
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3799
|
+
return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
|
|
3835
3800
|
}, {
|
|
3836
|
-
cache:
|
|
3837
|
-
strategy:
|
|
3801
|
+
cache: ze(e.pluralRules),
|
|
3802
|
+
strategy: Xe.variadic
|
|
3838
3803
|
})
|
|
3839
3804
|
};
|
|
3840
3805
|
}
|
|
3841
|
-
var
|
|
3806
|
+
var Vi = (
|
|
3842
3807
|
/** @class */
|
|
3843
3808
|
function() {
|
|
3844
3809
|
function e(t, r, n, i) {
|
|
@@ -3852,8 +3817,8 @@ var Zi = (
|
|
|
3852
3817
|
var l = s.formatToParts(h);
|
|
3853
3818
|
if (l.length === 1)
|
|
3854
3819
|
return l[0].value;
|
|
3855
|
-
var u = l.reduce(function(c,
|
|
3856
|
-
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;
|
|
3857
3822
|
}, []);
|
|
3858
3823
|
return u.length <= 1 ? u[0] || "" : u;
|
|
3859
3824
|
}, this.formatToParts = function(h) {
|
|
@@ -3870,13 +3835,13 @@ var Zi = (
|
|
|
3870
3835
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3871
3836
|
var o = i || {};
|
|
3872
3837
|
o.formatters;
|
|
3873
|
-
var a =
|
|
3874
|
-
this.ast = e.__parse(t,
|
|
3838
|
+
var a = wn(o, ["formatters"]);
|
|
3839
|
+
this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
|
|
3875
3840
|
} else
|
|
3876
3841
|
this.ast = t;
|
|
3877
3842
|
if (!Array.isArray(this.ast))
|
|
3878
3843
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3879
|
-
this.formats =
|
|
3844
|
+
this.formats = ji(e.formats, n), this.formatters = i && i.formatters || $i(this.formatterCache);
|
|
3880
3845
|
}
|
|
3881
3846
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3882
3847
|
get: function() {
|
|
@@ -3889,7 +3854,7 @@ var Zi = (
|
|
|
3889
3854
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3890
3855
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3891
3856
|
}
|
|
3892
|
-
}, e.__parse =
|
|
3857
|
+
}, e.__parse = Mi, e.formats = {
|
|
3893
3858
|
number: {
|
|
3894
3859
|
integer: {
|
|
3895
3860
|
maximumFractionDigits: 0
|
|
@@ -3950,7 +3915,7 @@ var Zi = (
|
|
|
3950
3915
|
}, e;
|
|
3951
3916
|
}()
|
|
3952
3917
|
);
|
|
3953
|
-
function
|
|
3918
|
+
function Xi(e, t) {
|
|
3954
3919
|
if (t == null)
|
|
3955
3920
|
return;
|
|
3956
3921
|
if (t in e)
|
|
@@ -3971,92 +3936,92 @@ function Ji(e, t) {
|
|
|
3971
3936
|
n = void 0;
|
|
3972
3937
|
return n;
|
|
3973
3938
|
}
|
|
3974
|
-
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) => {
|
|
3975
3940
|
if (t == null)
|
|
3976
3941
|
return;
|
|
3977
3942
|
if (t in z && e in z[t])
|
|
3978
3943
|
return z[t][e];
|
|
3979
|
-
const r =
|
|
3944
|
+
const r = Me(t);
|
|
3980
3945
|
for (let n = 0; n < r.length; n++) {
|
|
3981
|
-
const i = r[n], s =
|
|
3946
|
+
const i = r[n], s = Zi(i, e);
|
|
3982
3947
|
if (s)
|
|
3983
|
-
return
|
|
3948
|
+
return Wi(e, t, s);
|
|
3984
3949
|
}
|
|
3985
3950
|
};
|
|
3986
|
-
let
|
|
3987
|
-
const
|
|
3988
|
-
function
|
|
3989
|
-
return
|
|
3951
|
+
let ct;
|
|
3952
|
+
const ae = Re({});
|
|
3953
|
+
function zi(e) {
|
|
3954
|
+
return ct[e] || null;
|
|
3990
3955
|
}
|
|
3991
|
-
function
|
|
3992
|
-
return e in
|
|
3956
|
+
function Lr(e) {
|
|
3957
|
+
return e in ct;
|
|
3993
3958
|
}
|
|
3994
|
-
function
|
|
3995
|
-
if (!
|
|
3959
|
+
function Zi(e, t) {
|
|
3960
|
+
if (!Lr(e))
|
|
3996
3961
|
return null;
|
|
3997
|
-
const r =
|
|
3998
|
-
return
|
|
3962
|
+
const r = zi(e);
|
|
3963
|
+
return Xi(r, t);
|
|
3999
3964
|
}
|
|
4000
|
-
function
|
|
3965
|
+
function Ji(e) {
|
|
4001
3966
|
if (e == null)
|
|
4002
3967
|
return;
|
|
4003
|
-
const t =
|
|
3968
|
+
const t = Me(e);
|
|
4004
3969
|
for (let r = 0; r < t.length; r++) {
|
|
4005
3970
|
const n = t[r];
|
|
4006
|
-
if (
|
|
3971
|
+
if (Lr(n))
|
|
4007
3972
|
return n;
|
|
4008
3973
|
}
|
|
4009
3974
|
}
|
|
4010
|
-
function
|
|
4011
|
-
delete z[e],
|
|
3975
|
+
function Rr(e, ...t) {
|
|
3976
|
+
delete z[e], ae.update((r) => (r[e] = Kn.all([r[e] || {}, ...t]), r));
|
|
4012
3977
|
}
|
|
4013
|
-
|
|
4014
|
-
[
|
|
3978
|
+
oe(
|
|
3979
|
+
[ae],
|
|
4015
3980
|
([e]) => Object.keys(e)
|
|
4016
3981
|
);
|
|
4017
|
-
|
|
3982
|
+
ae.subscribe((e) => ct = e);
|
|
4018
3983
|
const Pe = {};
|
|
4019
|
-
function
|
|
3984
|
+
function qi(e, t) {
|
|
4020
3985
|
Pe[e].delete(t), Pe[e].size === 0 && delete Pe[e];
|
|
4021
3986
|
}
|
|
4022
|
-
function
|
|
3987
|
+
function Nr(e) {
|
|
4023
3988
|
return Pe[e];
|
|
4024
3989
|
}
|
|
4025
|
-
function
|
|
4026
|
-
return
|
|
4027
|
-
const r =
|
|
3990
|
+
function Qi(e) {
|
|
3991
|
+
return Me(e).map((t) => {
|
|
3992
|
+
const r = Nr(t);
|
|
4028
3993
|
return [t, r ? [...r] : []];
|
|
4029
3994
|
}).filter(([, t]) => t.length > 0);
|
|
4030
3995
|
}
|
|
4031
|
-
function
|
|
4032
|
-
return e == null ? !1 :
|
|
3996
|
+
function ut(e) {
|
|
3997
|
+
return e == null ? !1 : Me(e).some(
|
|
4033
3998
|
(t) => {
|
|
4034
3999
|
var r;
|
|
4035
|
-
return (r =
|
|
4000
|
+
return (r = Nr(t)) == null ? void 0 : r.size;
|
|
4036
4001
|
}
|
|
4037
4002
|
);
|
|
4038
4003
|
}
|
|
4039
|
-
function
|
|
4004
|
+
function Yi(e, t) {
|
|
4040
4005
|
return Promise.all(
|
|
4041
|
-
t.map((n) => (
|
|
4042
|
-
).then((n) =>
|
|
4043
|
-
}
|
|
4044
|
-
const
|
|
4045
|
-
function
|
|
4046
|
-
if (!
|
|
4047
|
-
return e in
|
|
4048
|
-
const t =
|
|
4049
|
-
return
|
|
4006
|
+
t.map((n) => (qi(e, n), n().then((i) => i.default || i)))
|
|
4007
|
+
).then((n) => Rr(e, ...n));
|
|
4008
|
+
}
|
|
4009
|
+
const fe = {};
|
|
4010
|
+
function Mr(e) {
|
|
4011
|
+
if (!ut(e))
|
|
4012
|
+
return e in fe ? fe[e] : Promise.resolve();
|
|
4013
|
+
const t = Qi(e);
|
|
4014
|
+
return fe[e] = Promise.all(
|
|
4050
4015
|
t.map(
|
|
4051
|
-
([r, n]) =>
|
|
4016
|
+
([r, n]) => Yi(r, n)
|
|
4052
4017
|
)
|
|
4053
4018
|
).then(() => {
|
|
4054
|
-
if (
|
|
4055
|
-
return
|
|
4056
|
-
delete
|
|
4057
|
-
}),
|
|
4019
|
+
if (ut(e))
|
|
4020
|
+
return Mr(e);
|
|
4021
|
+
delete fe[e];
|
|
4022
|
+
}), fe[e];
|
|
4058
4023
|
}
|
|
4059
|
-
const
|
|
4024
|
+
const Ki = {
|
|
4060
4025
|
number: {
|
|
4061
4026
|
scientific: { notation: "scientific" },
|
|
4062
4027
|
engineering: { notation: "engineering" },
|
|
@@ -4085,135 +4050,135 @@ const ns = {
|
|
|
4085
4050
|
timeZoneName: "short"
|
|
4086
4051
|
}
|
|
4087
4052
|
}
|
|
4088
|
-
},
|
|
4053
|
+
}, es = {
|
|
4089
4054
|
fallbackLocale: null,
|
|
4090
4055
|
loadingDelay: 200,
|
|
4091
|
-
formats:
|
|
4056
|
+
formats: Ki,
|
|
4092
4057
|
warnOnMissingMessages: !0,
|
|
4093
4058
|
handleMissingMessage: void 0,
|
|
4094
4059
|
ignoreTag: !0
|
|
4095
|
-
},
|
|
4096
|
-
function
|
|
4097
|
-
return
|
|
4098
|
-
}
|
|
4099
|
-
const
|
|
4100
|
-
var
|
|
4101
|
-
for (var r in t
|
|
4102
|
-
|
|
4103
|
-
if (
|
|
4104
|
-
for (var r of
|
|
4105
|
-
|
|
4060
|
+
}, ts = es;
|
|
4061
|
+
function se() {
|
|
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]);
|
|
4106
4071
|
return e;
|
|
4107
|
-
},
|
|
4108
|
-
let
|
|
4109
|
-
const
|
|
4110
|
-
function
|
|
4072
|
+
}, us = (e, t) => ns(e, is(t));
|
|
4073
|
+
let lt;
|
|
4074
|
+
const Ce = Re(null);
|
|
4075
|
+
function Jt(e) {
|
|
4111
4076
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4112
4077
|
}
|
|
4113
|
-
function
|
|
4114
|
-
const r =
|
|
4115
|
-
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;
|
|
4116
4081
|
}
|
|
4117
4082
|
function J() {
|
|
4118
|
-
return
|
|
4083
|
+
return lt ?? void 0;
|
|
4119
4084
|
}
|
|
4120
|
-
|
|
4121
|
-
|
|
4085
|
+
Ce.subscribe((e) => {
|
|
4086
|
+
lt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4122
4087
|
});
|
|
4123
|
-
const
|
|
4124
|
-
if (e &&
|
|
4125
|
-
const { loadingDelay: t } =
|
|
4088
|
+
const ls = (e) => {
|
|
4089
|
+
if (e && Ji(e) && ut(e)) {
|
|
4090
|
+
const { loadingDelay: t } = se();
|
|
4126
4091
|
let r;
|
|
4127
4092
|
return typeof window < "u" && J() != null && t ? r = window.setTimeout(
|
|
4128
|
-
() =>
|
|
4093
|
+
() => Ze.set(!0),
|
|
4129
4094
|
t
|
|
4130
|
-
) :
|
|
4131
|
-
|
|
4095
|
+
) : Ze.set(!0), Mr(e).then(() => {
|
|
4096
|
+
Ce.set(e);
|
|
4132
4097
|
}).finally(() => {
|
|
4133
|
-
clearTimeout(r),
|
|
4098
|
+
clearTimeout(r), Ze.set(!1);
|
|
4134
4099
|
});
|
|
4135
4100
|
}
|
|
4136
|
-
return
|
|
4137
|
-
}, Z =
|
|
4138
|
-
set:
|
|
4139
|
-
}),
|
|
4101
|
+
return Ce.set(e);
|
|
4102
|
+
}, Z = us(as({}, Ce), {
|
|
4103
|
+
set: ls
|
|
4104
|
+
}), De = (e) => {
|
|
4140
4105
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4141
4106
|
return (n) => {
|
|
4142
4107
|
const i = JSON.stringify(n);
|
|
4143
4108
|
return i in t ? t[i] : t[i] = e(n);
|
|
4144
4109
|
};
|
|
4145
4110
|
};
|
|
4146
|
-
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) => {
|
|
4147
4112
|
for (var r in t || (t = {}))
|
|
4148
|
-
|
|
4149
|
-
if (
|
|
4150
|
-
for (var r of
|
|
4151
|
-
|
|
4113
|
+
Dr.call(t, r) && qt(e, r, t[r]);
|
|
4114
|
+
if (Ie)
|
|
4115
|
+
for (var r of Ie(t))
|
|
4116
|
+
Fr.call(t, r) && qt(e, r, t[r]);
|
|
4152
4117
|
return e;
|
|
4153
|
-
},
|
|
4118
|
+
}, ue = (e, t) => {
|
|
4154
4119
|
var r = {};
|
|
4155
4120
|
for (var n in e)
|
|
4156
|
-
|
|
4157
|
-
if (e != null &&
|
|
4158
|
-
for (var n of
|
|
4159
|
-
t.indexOf(n) < 0 &&
|
|
4121
|
+
Dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4122
|
+
if (e != null && Ie)
|
|
4123
|
+
for (var n of Ie(e))
|
|
4124
|
+
t.indexOf(n) < 0 && Fr.call(e, n) && (r[n] = e[n]);
|
|
4160
4125
|
return r;
|
|
4161
4126
|
};
|
|
4162
|
-
const
|
|
4163
|
-
const { formats: r } =
|
|
4127
|
+
const pe = (e, t) => {
|
|
4128
|
+
const { formats: r } = se();
|
|
4164
4129
|
if (e in r && t in r[e])
|
|
4165
4130
|
return r[e][t];
|
|
4166
4131
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4167
|
-
},
|
|
4132
|
+
}, fs = De(
|
|
4168
4133
|
(e) => {
|
|
4169
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4134
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4170
4135
|
if (r == null)
|
|
4171
4136
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4172
|
-
return n && (i =
|
|
4137
|
+
return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
|
|
4173
4138
|
}
|
|
4174
|
-
),
|
|
4139
|
+
), cs = De(
|
|
4175
4140
|
(e) => {
|
|
4176
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4141
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4177
4142
|
if (r == null)
|
|
4178
4143
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4179
|
-
return n ? i =
|
|
4144
|
+
return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4180
4145
|
}
|
|
4181
|
-
),
|
|
4146
|
+
), ms = De(
|
|
4182
4147
|
(e) => {
|
|
4183
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4148
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4184
4149
|
if (r == null)
|
|
4185
4150
|
throw new Error(
|
|
4186
4151
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4187
4152
|
);
|
|
4188
|
-
return n ? i =
|
|
4153
|
+
return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4189
4154
|
}
|
|
4190
|
-
),
|
|
4155
|
+
), ds = (e = {}) => {
|
|
4191
4156
|
var t = e, {
|
|
4192
4157
|
locale: r = J()
|
|
4193
|
-
} = t, n =
|
|
4158
|
+
} = t, n = ue(t, [
|
|
4194
4159
|
"locale"
|
|
4195
4160
|
]);
|
|
4196
|
-
return
|
|
4197
|
-
},
|
|
4161
|
+
return fs(mt({ locale: r }, n));
|
|
4162
|
+
}, ps = (e = {}) => {
|
|
4198
4163
|
var t = e, {
|
|
4199
4164
|
locale: r = J()
|
|
4200
|
-
} = t, n =
|
|
4165
|
+
} = t, n = ue(t, [
|
|
4201
4166
|
"locale"
|
|
4202
4167
|
]);
|
|
4203
|
-
return
|
|
4204
|
-
},
|
|
4168
|
+
return cs(mt({ locale: r }, n));
|
|
4169
|
+
}, gs = (e = {}) => {
|
|
4205
4170
|
var t = e, {
|
|
4206
4171
|
locale: r = J()
|
|
4207
|
-
} = t, n =
|
|
4172
|
+
} = t, n = ue(t, [
|
|
4208
4173
|
"locale"
|
|
4209
4174
|
]);
|
|
4210
|
-
return
|
|
4211
|
-
},
|
|
4175
|
+
return ms(mt({ locale: r }, n));
|
|
4176
|
+
}, bs = De(
|
|
4212
4177
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4213
|
-
(e, t = J()) => new
|
|
4214
|
-
ignoreTag:
|
|
4178
|
+
(e, t = J()) => new Vi(e, t, se().formats, {
|
|
4179
|
+
ignoreTag: se().ignoreTag
|
|
4215
4180
|
})
|
|
4216
|
-
),
|
|
4181
|
+
), ys = (e, t = {}) => {
|
|
4217
4182
|
var r, n, i, s;
|
|
4218
4183
|
let o = t;
|
|
4219
4184
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -4226,9 +4191,9 @@ const me = (e, t) => {
|
|
|
4226
4191
|
throw new Error(
|
|
4227
4192
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4228
4193
|
);
|
|
4229
|
-
let u =
|
|
4194
|
+
let u = Ir(e, h);
|
|
4230
4195
|
if (!u)
|
|
4231
|
-
u = (s = (i = (n = (r =
|
|
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;
|
|
4232
4197
|
else if (typeof u != "string")
|
|
4233
4198
|
return console.warn(
|
|
4234
4199
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4237,33 +4202,33 @@ const me = (e, t) => {
|
|
|
4237
4202
|
return u;
|
|
4238
4203
|
let c = u;
|
|
4239
4204
|
try {
|
|
4240
|
-
c =
|
|
4241
|
-
} catch (
|
|
4242
|
-
|
|
4205
|
+
c = bs(u, h).format(a);
|
|
4206
|
+
} catch (d) {
|
|
4207
|
+
d instanceof Error && console.warn(
|
|
4243
4208
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4244
|
-
|
|
4209
|
+
d.message
|
|
4245
4210
|
);
|
|
4246
4211
|
}
|
|
4247
4212
|
return c;
|
|
4248
|
-
},
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
window.emWidgets = { topic:
|
|
4254
|
-
const
|
|
4255
|
-
function
|
|
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);
|
|
4216
|
+
oe([Z], () => Es);
|
|
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 }) {
|
|
4256
4221
|
Z.subscribe((r) => {
|
|
4257
|
-
r == null && (
|
|
4222
|
+
r == null && (ae.set(t), Z.set(e));
|
|
4258
4223
|
});
|
|
4259
4224
|
}
|
|
4260
|
-
function
|
|
4261
|
-
|
|
4225
|
+
function Yt(e, t) {
|
|
4226
|
+
Rr(e, t);
|
|
4262
4227
|
}
|
|
4263
|
-
function
|
|
4228
|
+
function Ts(e) {
|
|
4264
4229
|
Z.set(e);
|
|
4265
4230
|
}
|
|
4266
|
-
const
|
|
4231
|
+
const Kt = {
|
|
4267
4232
|
en: {
|
|
4268
4233
|
goToLoginButton: "Go To Login",
|
|
4269
4234
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
@@ -4309,13 +4274,13 @@ const nr = {
|
|
|
4309
4274
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
4310
4275
|
}
|
|
4311
4276
|
};
|
|
4312
|
-
function
|
|
4277
|
+
function Hs(e, t) {
|
|
4313
4278
|
if (e) {
|
|
4314
4279
|
const r = document.createElement("style");
|
|
4315
4280
|
r.innerHTML = t, e.appendChild(r);
|
|
4316
4281
|
}
|
|
4317
4282
|
}
|
|
4318
|
-
function
|
|
4283
|
+
function Bs(e, t) {
|
|
4319
4284
|
const r = new URL(t);
|
|
4320
4285
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4321
4286
|
const i = document.createElement("style");
|
|
@@ -4324,7 +4289,7 @@ function Cs(e, t) {
|
|
|
4324
4289
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4325
4290
|
});
|
|
4326
4291
|
}
|
|
4327
|
-
function
|
|
4292
|
+
function As(e, t, r) {
|
|
4328
4293
|
if (window.emMessageBus) {
|
|
4329
4294
|
const n = document.createElement("style");
|
|
4330
4295
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4344,7 +4309,7 @@ if (typeof window < "u") {
|
|
|
4344
4309
|
}
|
|
4345
4310
|
};
|
|
4346
4311
|
};
|
|
4347
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-
|
|
4312
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-BqlRLeii.js").then(({ default: t }) => {
|
|
4348
4313
|
!customElements.get("general-player-register-form-step1") && customElements.define("general-player-register-form-step1", t.element);
|
|
4349
4314
|
});
|
|
4350
4315
|
}
|
|
@@ -4360,7 +4325,7 @@ if (typeof window < "u") {
|
|
|
4360
4325
|
}
|
|
4361
4326
|
};
|
|
4362
4327
|
};
|
|
4363
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-
|
|
4328
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-DBnZ9YrY.js").then(({ default: t }) => {
|
|
4364
4329
|
!customElements.get("general-player-register-form-step2") && customElements.define("general-player-register-form-step2", t.element);
|
|
4365
4330
|
});
|
|
4366
4331
|
}
|
|
@@ -4376,7 +4341,7 @@ if (typeof window < "u") {
|
|
|
4376
4341
|
}
|
|
4377
4342
|
};
|
|
4378
4343
|
};
|
|
4379
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-
|
|
4344
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-CzA9W6SQ.js").then(({ default: t }) => {
|
|
4380
4345
|
!customElements.get("general-player-register-form-step3") && customElements.define("general-player-register-form-step3", t.element);
|
|
4381
4346
|
});
|
|
4382
4347
|
}
|
|
@@ -4392,74 +4357,74 @@ if (typeof window < "u") {
|
|
|
4392
4357
|
}
|
|
4393
4358
|
};
|
|
4394
4359
|
};
|
|
4395
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4360
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-Cz9dvc1N.js").then(({ default: t }) => {
|
|
4396
4361
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4397
4362
|
});
|
|
4398
4363
|
}
|
|
4399
|
-
function
|
|
4400
|
-
|
|
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}");
|
|
4401
4366
|
}
|
|
4402
|
-
function
|
|
4367
|
+
function Os(e) {
|
|
4403
4368
|
let t, r, n, i, s, o, a, h = (
|
|
4404
4369
|
/*showRegisterStepOne*/
|
|
4405
4370
|
(e[18] || /*showRegisterStepTwo*/
|
|
4406
4371
|
e[19] || /*showRegisterStepThree*/
|
|
4407
|
-
e[20]) &&
|
|
4372
|
+
e[20]) && er(e)
|
|
4408
4373
|
), l = (
|
|
4409
4374
|
/*showRegisterStepOne*/
|
|
4410
|
-
e[18] &&
|
|
4375
|
+
e[18] && tr(e)
|
|
4411
4376
|
), u = (
|
|
4412
4377
|
/*showRegisterStepTwo*/
|
|
4413
|
-
e[19] &&
|
|
4378
|
+
e[19] && rr(e)
|
|
4414
4379
|
), c = (
|
|
4415
4380
|
/*showRegisterStepThree*/
|
|
4416
|
-
e[20] &&
|
|
4381
|
+
e[20] && nr(e)
|
|
4417
4382
|
);
|
|
4418
|
-
function
|
|
4383
|
+
function d(b, x) {
|
|
4419
4384
|
if (
|
|
4420
4385
|
/*smsverification*/
|
|
4421
4386
|
b[7] && /*showSmsVerification*/
|
|
4422
4387
|
b[21]
|
|
4423
4388
|
)
|
|
4424
|
-
return
|
|
4389
|
+
return Is;
|
|
4425
4390
|
if (
|
|
4426
4391
|
/*smsSendApiFailed*/
|
|
4427
4392
|
b[31]
|
|
4428
4393
|
)
|
|
4429
|
-
return
|
|
4394
|
+
return Cs;
|
|
4430
4395
|
}
|
|
4431
|
-
let y =
|
|
4396
|
+
let y = d(e), g = y && y(e), p = (
|
|
4432
4397
|
/*showConfirmation*/
|
|
4433
|
-
e[22] &&
|
|
4398
|
+
e[22] && ir(e)
|
|
4434
4399
|
);
|
|
4435
4400
|
return {
|
|
4436
4401
|
c() {
|
|
4437
|
-
t =
|
|
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*/
|
|
4438
4403
|
(e[35] ? "RegisterFormContainerMobile" : "")), S(t, "class", "RegisterFormWrapper");
|
|
4439
4404
|
},
|
|
4440
|
-
m(b,
|
|
4441
|
-
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);
|
|
4442
4407
|
},
|
|
4443
|
-
p(b,
|
|
4408
|
+
p(b, x) {
|
|
4444
4409
|
/*showRegisterStepOne*/
|
|
4445
4410
|
b[18] || /*showRegisterStepTwo*/
|
|
4446
4411
|
b[19] || /*showRegisterStepThree*/
|
|
4447
|
-
b[20] ? h ? h.p(b,
|
|
4448
|
-
b[18] ? l ? l.p(b,
|
|
4449
|
-
b[19] ? u ? u.p(b,
|
|
4450
|
-
b[20] ? c ? c.p(b,
|
|
4451
|
-
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);
|
|
4452
4417
|
},
|
|
4453
4418
|
d(b) {
|
|
4454
|
-
b && M(t), h && h.d(), l && l.d(), u && u.d(), c && c.d(), g && g.d(),
|
|
4419
|
+
b && M(t), h && h.d(), l && l.d(), u && u.d(), c && c.d(), g && g.d(), p && p.d();
|
|
4455
4420
|
}
|
|
4456
4421
|
};
|
|
4457
4422
|
}
|
|
4458
|
-
function
|
|
4423
|
+
function er(e) {
|
|
4459
4424
|
let t, r, n, i, s, o, a, h, l;
|
|
4460
4425
|
return {
|
|
4461
4426
|
c() {
|
|
4462
|
-
t =
|
|
4427
|
+
t = B("div"), r = B("div"), i = U(), s = B("div"), a = U(), h = B("div"), S(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
|
|
4463
4428
|
(e[18] || !/*showRegisterStepOne*/
|
|
4464
4429
|
e[18] && /*showRegisterStepTwo*/
|
|
4465
4430
|
e[19] || !/*showRegisterStepOne*/
|
|
@@ -4497,56 +4462,56 @@ function ir(e) {
|
|
|
4497
4462
|
}
|
|
4498
4463
|
};
|
|
4499
4464
|
}
|
|
4500
|
-
function
|
|
4465
|
+
function tr(e) {
|
|
4501
4466
|
let t, r;
|
|
4502
4467
|
return {
|
|
4503
4468
|
c() {
|
|
4504
|
-
t =
|
|
4469
|
+
t = B("div"), r = B("general-player-register-form-step1"), m(
|
|
4505
4470
|
r,
|
|
4506
4471
|
"lang",
|
|
4507
4472
|
/*lang*/
|
|
4508
4473
|
e[3]
|
|
4509
|
-
),
|
|
4474
|
+
), m(
|
|
4510
4475
|
r,
|
|
4511
4476
|
"disabledfields",
|
|
4512
4477
|
/*disabledfields*/
|
|
4513
4478
|
e[5]
|
|
4514
|
-
),
|
|
4479
|
+
), m(
|
|
4515
4480
|
r,
|
|
4516
4481
|
"defaultoptions",
|
|
4517
4482
|
/*defaultoptions*/
|
|
4518
4483
|
e[6]
|
|
4519
|
-
),
|
|
4484
|
+
), m(
|
|
4520
4485
|
r,
|
|
4521
4486
|
"custominputtextswitch",
|
|
4522
4487
|
/*custominputtextswitch*/
|
|
4523
4488
|
e[14]
|
|
4524
|
-
),
|
|
4489
|
+
), m(
|
|
4525
4490
|
r,
|
|
4526
4491
|
"simplepasswordvalidation",
|
|
4527
4492
|
/*simplepasswordvalidation*/
|
|
4528
4493
|
e[8]
|
|
4529
|
-
),
|
|
4494
|
+
), m(
|
|
4530
4495
|
r,
|
|
4531
4496
|
"clientstyling",
|
|
4532
4497
|
/*clientstyling*/
|
|
4533
4498
|
e[10]
|
|
4534
|
-
),
|
|
4499
|
+
), m(
|
|
4535
4500
|
r,
|
|
4536
4501
|
"clientstylingurl",
|
|
4537
4502
|
/*clientstylingurl*/
|
|
4538
4503
|
e[11]
|
|
4539
|
-
),
|
|
4504
|
+
), m(
|
|
4540
4505
|
r,
|
|
4541
4506
|
"savecredentials",
|
|
4542
4507
|
/*savecredentials*/
|
|
4543
4508
|
e[13]
|
|
4544
|
-
),
|
|
4509
|
+
), m(
|
|
4545
4510
|
r,
|
|
4546
4511
|
"translationurl",
|
|
4547
4512
|
/*translationurl*/
|
|
4548
4513
|
e[12]
|
|
4549
|
-
),
|
|
4514
|
+
), m(
|
|
4550
4515
|
r,
|
|
4551
4516
|
"mbsource",
|
|
4552
4517
|
/*mbsource*/
|
|
@@ -4558,61 +4523,61 @@ function sr(e) {
|
|
|
4558
4523
|
},
|
|
4559
4524
|
p(n, i) {
|
|
4560
4525
|
i[0] & /*lang*/
|
|
4561
|
-
8 &&
|
|
4526
|
+
8 && m(
|
|
4562
4527
|
r,
|
|
4563
4528
|
"lang",
|
|
4564
4529
|
/*lang*/
|
|
4565
4530
|
n[3]
|
|
4566
4531
|
), i[0] & /*disabledfields*/
|
|
4567
|
-
32 &&
|
|
4532
|
+
32 && m(
|
|
4568
4533
|
r,
|
|
4569
4534
|
"disabledfields",
|
|
4570
4535
|
/*disabledfields*/
|
|
4571
4536
|
n[5]
|
|
4572
4537
|
), i[0] & /*defaultoptions*/
|
|
4573
|
-
64 &&
|
|
4538
|
+
64 && m(
|
|
4574
4539
|
r,
|
|
4575
4540
|
"defaultoptions",
|
|
4576
4541
|
/*defaultoptions*/
|
|
4577
4542
|
n[6]
|
|
4578
4543
|
), i[0] & /*custominputtextswitch*/
|
|
4579
|
-
16384 &&
|
|
4544
|
+
16384 && m(
|
|
4580
4545
|
r,
|
|
4581
4546
|
"custominputtextswitch",
|
|
4582
4547
|
/*custominputtextswitch*/
|
|
4583
4548
|
n[14]
|
|
4584
4549
|
), i[0] & /*simplepasswordvalidation*/
|
|
4585
|
-
256 &&
|
|
4550
|
+
256 && m(
|
|
4586
4551
|
r,
|
|
4587
4552
|
"simplepasswordvalidation",
|
|
4588
4553
|
/*simplepasswordvalidation*/
|
|
4589
4554
|
n[8]
|
|
4590
4555
|
), i[0] & /*clientstyling*/
|
|
4591
|
-
1024 &&
|
|
4556
|
+
1024 && m(
|
|
4592
4557
|
r,
|
|
4593
4558
|
"clientstyling",
|
|
4594
4559
|
/*clientstyling*/
|
|
4595
4560
|
n[10]
|
|
4596
4561
|
), i[0] & /*clientstylingurl*/
|
|
4597
|
-
2048 &&
|
|
4562
|
+
2048 && m(
|
|
4598
4563
|
r,
|
|
4599
4564
|
"clientstylingurl",
|
|
4600
4565
|
/*clientstylingurl*/
|
|
4601
4566
|
n[11]
|
|
4602
4567
|
), i[0] & /*savecredentials*/
|
|
4603
|
-
8192 &&
|
|
4568
|
+
8192 && m(
|
|
4604
4569
|
r,
|
|
4605
4570
|
"savecredentials",
|
|
4606
4571
|
/*savecredentials*/
|
|
4607
4572
|
n[13]
|
|
4608
4573
|
), i[0] & /*translationurl*/
|
|
4609
|
-
4096 &&
|
|
4574
|
+
4096 && m(
|
|
4610
4575
|
r,
|
|
4611
4576
|
"translationurl",
|
|
4612
4577
|
/*translationurl*/
|
|
4613
4578
|
n[12]
|
|
4614
4579
|
), i[0] & /*mbsource*/
|
|
4615
|
-
512 &&
|
|
4580
|
+
512 && m(
|
|
4616
4581
|
r,
|
|
4617
4582
|
"mbsource",
|
|
4618
4583
|
/*mbsource*/
|
|
@@ -4624,56 +4589,56 @@ function sr(e) {
|
|
|
4624
4589
|
}
|
|
4625
4590
|
};
|
|
4626
4591
|
}
|
|
4627
|
-
function
|
|
4592
|
+
function rr(e) {
|
|
4628
4593
|
let t, r;
|
|
4629
4594
|
return {
|
|
4630
4595
|
c() {
|
|
4631
|
-
t =
|
|
4596
|
+
t = B("div"), r = B("general-player-register-form-step2"), m(
|
|
4632
4597
|
r,
|
|
4633
4598
|
"endpoint",
|
|
4634
4599
|
/*endpoint*/
|
|
4635
4600
|
e[0]
|
|
4636
|
-
),
|
|
4601
|
+
), m(
|
|
4637
4602
|
r,
|
|
4638
4603
|
"lang",
|
|
4639
4604
|
/*lang*/
|
|
4640
4605
|
e[3]
|
|
4641
|
-
),
|
|
4606
|
+
), m(
|
|
4642
4607
|
r,
|
|
4643
4608
|
"licenseyears",
|
|
4644
4609
|
/*licenseyears*/
|
|
4645
4610
|
e[4]
|
|
4646
|
-
),
|
|
4611
|
+
), m(
|
|
4647
4612
|
r,
|
|
4648
4613
|
"disabledfields",
|
|
4649
4614
|
/*disabledfields*/
|
|
4650
4615
|
e[5]
|
|
4651
|
-
),
|
|
4616
|
+
), m(
|
|
4652
4617
|
r,
|
|
4653
4618
|
"defaultoptions",
|
|
4654
4619
|
/*defaultoptions*/
|
|
4655
4620
|
e[6]
|
|
4656
|
-
),
|
|
4621
|
+
), m(
|
|
4657
4622
|
r,
|
|
4658
4623
|
"personalidlength",
|
|
4659
4624
|
/*personalidlength*/
|
|
4660
4625
|
e[15]
|
|
4661
|
-
),
|
|
4626
|
+
), m(
|
|
4662
4627
|
r,
|
|
4663
4628
|
"clientstyling",
|
|
4664
4629
|
/*clientstyling*/
|
|
4665
4630
|
e[10]
|
|
4666
|
-
),
|
|
4631
|
+
), m(
|
|
4667
4632
|
r,
|
|
4668
4633
|
"clientstylingurl",
|
|
4669
4634
|
/*clientstylingurl*/
|
|
4670
4635
|
e[11]
|
|
4671
|
-
),
|
|
4636
|
+
), m(
|
|
4672
4637
|
r,
|
|
4673
4638
|
"translationurl",
|
|
4674
4639
|
/*translationurl*/
|
|
4675
4640
|
e[12]
|
|
4676
|
-
),
|
|
4641
|
+
), m(
|
|
4677
4642
|
r,
|
|
4678
4643
|
"mbsource",
|
|
4679
4644
|
/*mbsource*/
|
|
@@ -4685,61 +4650,61 @@ function or(e) {
|
|
|
4685
4650
|
},
|
|
4686
4651
|
p(n, i) {
|
|
4687
4652
|
i[0] & /*endpoint*/
|
|
4688
|
-
1 &&
|
|
4653
|
+
1 && m(
|
|
4689
4654
|
r,
|
|
4690
4655
|
"endpoint",
|
|
4691
4656
|
/*endpoint*/
|
|
4692
4657
|
n[0]
|
|
4693
4658
|
), i[0] & /*lang*/
|
|
4694
|
-
8 &&
|
|
4659
|
+
8 && m(
|
|
4695
4660
|
r,
|
|
4696
4661
|
"lang",
|
|
4697
4662
|
/*lang*/
|
|
4698
4663
|
n[3]
|
|
4699
4664
|
), i[0] & /*licenseyears*/
|
|
4700
|
-
16 &&
|
|
4665
|
+
16 && m(
|
|
4701
4666
|
r,
|
|
4702
4667
|
"licenseyears",
|
|
4703
4668
|
/*licenseyears*/
|
|
4704
4669
|
n[4]
|
|
4705
4670
|
), i[0] & /*disabledfields*/
|
|
4706
|
-
32 &&
|
|
4671
|
+
32 && m(
|
|
4707
4672
|
r,
|
|
4708
4673
|
"disabledfields",
|
|
4709
4674
|
/*disabledfields*/
|
|
4710
4675
|
n[5]
|
|
4711
4676
|
), i[0] & /*defaultoptions*/
|
|
4712
|
-
64 &&
|
|
4677
|
+
64 && m(
|
|
4713
4678
|
r,
|
|
4714
4679
|
"defaultoptions",
|
|
4715
4680
|
/*defaultoptions*/
|
|
4716
4681
|
n[6]
|
|
4717
4682
|
), i[0] & /*personalidlength*/
|
|
4718
|
-
32768 &&
|
|
4683
|
+
32768 && m(
|
|
4719
4684
|
r,
|
|
4720
4685
|
"personalidlength",
|
|
4721
4686
|
/*personalidlength*/
|
|
4722
4687
|
n[15]
|
|
4723
4688
|
), i[0] & /*clientstyling*/
|
|
4724
|
-
1024 &&
|
|
4689
|
+
1024 && m(
|
|
4725
4690
|
r,
|
|
4726
4691
|
"clientstyling",
|
|
4727
4692
|
/*clientstyling*/
|
|
4728
4693
|
n[10]
|
|
4729
4694
|
), i[0] & /*clientstylingurl*/
|
|
4730
|
-
2048 &&
|
|
4695
|
+
2048 && m(
|
|
4731
4696
|
r,
|
|
4732
4697
|
"clientstylingurl",
|
|
4733
4698
|
/*clientstylingurl*/
|
|
4734
4699
|
n[11]
|
|
4735
4700
|
), i[0] & /*translationurl*/
|
|
4736
|
-
4096 &&
|
|
4701
|
+
4096 && m(
|
|
4737
4702
|
r,
|
|
4738
4703
|
"translationurl",
|
|
4739
4704
|
/*translationurl*/
|
|
4740
4705
|
n[12]
|
|
4741
4706
|
), i[0] & /*mbsource*/
|
|
4742
|
-
512 &&
|
|
4707
|
+
512 && m(
|
|
4743
4708
|
r,
|
|
4744
4709
|
"mbsource",
|
|
4745
4710
|
/*mbsource*/
|
|
@@ -4751,71 +4716,71 @@ function or(e) {
|
|
|
4751
4716
|
}
|
|
4752
4717
|
};
|
|
4753
4718
|
}
|
|
4754
|
-
function
|
|
4719
|
+
function nr(e) {
|
|
4755
4720
|
let t, r;
|
|
4756
4721
|
return {
|
|
4757
4722
|
c() {
|
|
4758
|
-
t =
|
|
4723
|
+
t = B("div"), r = B("general-player-register-form-step3"), m(
|
|
4759
4724
|
r,
|
|
4760
4725
|
"userconsentsexist",
|
|
4761
4726
|
/*userconsentsexist*/
|
|
4762
4727
|
e[26]
|
|
4763
|
-
),
|
|
4728
|
+
), m(
|
|
4764
4729
|
r,
|
|
4765
4730
|
"termsconditions",
|
|
4766
4731
|
/*termsconditions*/
|
|
4767
4732
|
e[27]
|
|
4768
|
-
),
|
|
4733
|
+
), m(
|
|
4769
4734
|
r,
|
|
4770
4735
|
"smsoffers",
|
|
4771
4736
|
/*smsoffers*/
|
|
4772
4737
|
e[28]
|
|
4773
|
-
),
|
|
4738
|
+
), m(
|
|
4774
4739
|
r,
|
|
4775
4740
|
"emailmarketing",
|
|
4776
4741
|
/*emailmarketing*/
|
|
4777
4742
|
e[29]
|
|
4778
|
-
),
|
|
4743
|
+
), m(
|
|
4779
4744
|
r,
|
|
4780
4745
|
"endpoint",
|
|
4781
4746
|
/*endpoint*/
|
|
4782
4747
|
e[0]
|
|
4783
|
-
),
|
|
4748
|
+
), m(
|
|
4784
4749
|
r,
|
|
4785
4750
|
"captchakey",
|
|
4786
4751
|
/*captchakey*/
|
|
4787
4752
|
e[2]
|
|
4788
|
-
),
|
|
4753
|
+
), m(
|
|
4789
4754
|
r,
|
|
4790
4755
|
"lang",
|
|
4791
4756
|
/*lang*/
|
|
4792
4757
|
e[3]
|
|
4793
|
-
),
|
|
4758
|
+
), m(
|
|
4794
4759
|
r,
|
|
4795
4760
|
"defaultoptions",
|
|
4796
4761
|
/*defaultoptions*/
|
|
4797
4762
|
e[6]
|
|
4798
|
-
),
|
|
4763
|
+
), m(
|
|
4799
4764
|
r,
|
|
4800
4765
|
"disabledfields",
|
|
4801
4766
|
/*disabledfields*/
|
|
4802
4767
|
e[5]
|
|
4803
|
-
),
|
|
4768
|
+
), m(
|
|
4804
4769
|
r,
|
|
4805
4770
|
"clientstyling",
|
|
4806
4771
|
/*clientstyling*/
|
|
4807
4772
|
e[10]
|
|
4808
|
-
),
|
|
4773
|
+
), m(
|
|
4809
4774
|
r,
|
|
4810
4775
|
"clientstylingurl",
|
|
4811
4776
|
/*clientstylingurl*/
|
|
4812
4777
|
e[11]
|
|
4813
|
-
),
|
|
4778
|
+
), m(
|
|
4814
4779
|
r,
|
|
4815
4780
|
"translationurl",
|
|
4816
4781
|
/*translationurl*/
|
|
4817
4782
|
e[12]
|
|
4818
|
-
),
|
|
4783
|
+
), m(
|
|
4819
4784
|
r,
|
|
4820
4785
|
"mbsource",
|
|
4821
4786
|
/*mbsource*/
|
|
@@ -4827,79 +4792,79 @@ function ar(e) {
|
|
|
4827
4792
|
},
|
|
4828
4793
|
p(n, i) {
|
|
4829
4794
|
i[0] & /*userconsentsexist*/
|
|
4830
|
-
67108864 &&
|
|
4795
|
+
67108864 && m(
|
|
4831
4796
|
r,
|
|
4832
4797
|
"userconsentsexist",
|
|
4833
4798
|
/*userconsentsexist*/
|
|
4834
4799
|
n[26]
|
|
4835
4800
|
), i[0] & /*termsconditions*/
|
|
4836
|
-
134217728 &&
|
|
4801
|
+
134217728 && m(
|
|
4837
4802
|
r,
|
|
4838
4803
|
"termsconditions",
|
|
4839
4804
|
/*termsconditions*/
|
|
4840
4805
|
n[27]
|
|
4841
4806
|
), i[0] & /*smsoffers*/
|
|
4842
|
-
268435456 &&
|
|
4807
|
+
268435456 && m(
|
|
4843
4808
|
r,
|
|
4844
4809
|
"smsoffers",
|
|
4845
4810
|
/*smsoffers*/
|
|
4846
4811
|
n[28]
|
|
4847
4812
|
), i[0] & /*emailmarketing*/
|
|
4848
|
-
536870912 &&
|
|
4813
|
+
536870912 && m(
|
|
4849
4814
|
r,
|
|
4850
4815
|
"emailmarketing",
|
|
4851
4816
|
/*emailmarketing*/
|
|
4852
4817
|
n[29]
|
|
4853
4818
|
), i[0] & /*endpoint*/
|
|
4854
|
-
1 &&
|
|
4819
|
+
1 && m(
|
|
4855
4820
|
r,
|
|
4856
4821
|
"endpoint",
|
|
4857
4822
|
/*endpoint*/
|
|
4858
4823
|
n[0]
|
|
4859
4824
|
), i[0] & /*captchakey*/
|
|
4860
|
-
4 &&
|
|
4825
|
+
4 && m(
|
|
4861
4826
|
r,
|
|
4862
4827
|
"captchakey",
|
|
4863
4828
|
/*captchakey*/
|
|
4864
4829
|
n[2]
|
|
4865
4830
|
), i[0] & /*lang*/
|
|
4866
|
-
8 &&
|
|
4831
|
+
8 && m(
|
|
4867
4832
|
r,
|
|
4868
4833
|
"lang",
|
|
4869
4834
|
/*lang*/
|
|
4870
4835
|
n[3]
|
|
4871
4836
|
), i[0] & /*defaultoptions*/
|
|
4872
|
-
64 &&
|
|
4837
|
+
64 && m(
|
|
4873
4838
|
r,
|
|
4874
4839
|
"defaultoptions",
|
|
4875
4840
|
/*defaultoptions*/
|
|
4876
4841
|
n[6]
|
|
4877
4842
|
), i[0] & /*disabledfields*/
|
|
4878
|
-
32 &&
|
|
4843
|
+
32 && m(
|
|
4879
4844
|
r,
|
|
4880
4845
|
"disabledfields",
|
|
4881
4846
|
/*disabledfields*/
|
|
4882
4847
|
n[5]
|
|
4883
4848
|
), i[0] & /*clientstyling*/
|
|
4884
|
-
1024 &&
|
|
4849
|
+
1024 && m(
|
|
4885
4850
|
r,
|
|
4886
4851
|
"clientstyling",
|
|
4887
4852
|
/*clientstyling*/
|
|
4888
4853
|
n[10]
|
|
4889
4854
|
), i[0] & /*clientstylingurl*/
|
|
4890
|
-
2048 &&
|
|
4855
|
+
2048 && m(
|
|
4891
4856
|
r,
|
|
4892
4857
|
"clientstylingurl",
|
|
4893
4858
|
/*clientstylingurl*/
|
|
4894
4859
|
n[11]
|
|
4895
4860
|
), i[0] & /*translationurl*/
|
|
4896
|
-
4096 &&
|
|
4861
|
+
4096 && m(
|
|
4897
4862
|
r,
|
|
4898
4863
|
"translationurl",
|
|
4899
4864
|
/*translationurl*/
|
|
4900
4865
|
n[12]
|
|
4901
4866
|
), i[0] & /*mbsource*/
|
|
4902
|
-
512 &&
|
|
4867
|
+
512 && m(
|
|
4903
4868
|
r,
|
|
4904
4869
|
"mbsource",
|
|
4905
4870
|
/*mbsource*/
|
|
@@ -4911,14 +4876,14 @@ function ar(e) {
|
|
|
4911
4876
|
}
|
|
4912
4877
|
};
|
|
4913
4878
|
}
|
|
4914
|
-
function
|
|
4879
|
+
function Cs(e) {
|
|
4915
4880
|
let t, r = (
|
|
4916
4881
|
/*$_*/
|
|
4917
4882
|
e[34]("error") + ""
|
|
4918
4883
|
), n;
|
|
4919
4884
|
return {
|
|
4920
4885
|
c() {
|
|
4921
|
-
t =
|
|
4886
|
+
t = B("p"), n = $(r), S(t, "class", "SMSErrorText");
|
|
4922
4887
|
},
|
|
4923
4888
|
m(i, s) {
|
|
4924
4889
|
F(i, t, s), E(t, n);
|
|
@@ -4933,18 +4898,18 @@ function Ns(e) {
|
|
|
4933
4898
|
}
|
|
4934
4899
|
};
|
|
4935
4900
|
}
|
|
4936
|
-
function
|
|
4901
|
+
function Is(e) {
|
|
4937
4902
|
let t;
|
|
4938
4903
|
function r(s, o) {
|
|
4939
4904
|
return (
|
|
4940
4905
|
/*smsSendApiFailed*/
|
|
4941
|
-
s[31] ?
|
|
4906
|
+
s[31] ? Ls : Rs
|
|
4942
4907
|
);
|
|
4943
4908
|
}
|
|
4944
4909
|
let n = r(e), i = n(e);
|
|
4945
4910
|
return {
|
|
4946
4911
|
c() {
|
|
4947
|
-
i.c(), t =
|
|
4912
|
+
i.c(), t = rn();
|
|
4948
4913
|
},
|
|
4949
4914
|
m(s, o) {
|
|
4950
4915
|
i.m(s, o), F(s, t, o);
|
|
@@ -4957,14 +4922,14 @@ function Ms(e) {
|
|
|
4957
4922
|
}
|
|
4958
4923
|
};
|
|
4959
4924
|
}
|
|
4960
|
-
function
|
|
4925
|
+
function Ls(e) {
|
|
4961
4926
|
let t, r = (
|
|
4962
4927
|
/*$_*/
|
|
4963
4928
|
e[34]("error") + ""
|
|
4964
4929
|
), n;
|
|
4965
4930
|
return {
|
|
4966
4931
|
c() {
|
|
4967
|
-
t =
|
|
4932
|
+
t = B("p"), n = $(r), S(t, "class", "SMSErrorText");
|
|
4968
4933
|
},
|
|
4969
4934
|
m(i, s) {
|
|
4970
4935
|
F(i, t, s), E(t, n);
|
|
@@ -4979,46 +4944,46 @@ function Ds(e) {
|
|
|
4979
4944
|
}
|
|
4980
4945
|
};
|
|
4981
4946
|
}
|
|
4982
|
-
function
|
|
4947
|
+
function Rs(e) {
|
|
4983
4948
|
let t;
|
|
4984
4949
|
return {
|
|
4985
4950
|
c() {
|
|
4986
|
-
t =
|
|
4951
|
+
t = B("general-player-sms-verification-form"), m(
|
|
4987
4952
|
t,
|
|
4988
4953
|
"endpoint",
|
|
4989
4954
|
/*endpoint*/
|
|
4990
4955
|
e[0]
|
|
4991
|
-
),
|
|
4956
|
+
), m(
|
|
4992
4957
|
t,
|
|
4993
4958
|
"session",
|
|
4994
4959
|
/*session*/
|
|
4995
4960
|
e[1]
|
|
4996
|
-
),
|
|
4961
|
+
), m(
|
|
4997
4962
|
t,
|
|
4998
4963
|
"number",
|
|
4999
4964
|
/*number*/
|
|
5000
4965
|
e[32]
|
|
5001
|
-
),
|
|
4966
|
+
), m(
|
|
5002
4967
|
t,
|
|
5003
4968
|
"playerid",
|
|
5004
4969
|
/*playerid*/
|
|
5005
4970
|
e[17]
|
|
5006
|
-
),
|
|
4971
|
+
), m(
|
|
5007
4972
|
t,
|
|
5008
4973
|
"tokenid",
|
|
5009
4974
|
/*smstokenid*/
|
|
5010
4975
|
e[30]
|
|
5011
|
-
),
|
|
4976
|
+
), m(
|
|
5012
4977
|
t,
|
|
5013
4978
|
"clientstyling",
|
|
5014
4979
|
/*clientstyling*/
|
|
5015
4980
|
e[10]
|
|
5016
|
-
),
|
|
4981
|
+
), m(
|
|
5017
4982
|
t,
|
|
5018
4983
|
"clientstylingurl",
|
|
5019
4984
|
/*clientstylingurl*/
|
|
5020
4985
|
e[11]
|
|
5021
|
-
),
|
|
4986
|
+
), m(
|
|
5022
4987
|
t,
|
|
5023
4988
|
"mbsource",
|
|
5024
4989
|
/*mbsource*/
|
|
@@ -5030,49 +4995,49 @@ function Fs(e) {
|
|
|
5030
4995
|
},
|
|
5031
4996
|
p(r, n) {
|
|
5032
4997
|
n[0] & /*endpoint*/
|
|
5033
|
-
1 &&
|
|
4998
|
+
1 && m(
|
|
5034
4999
|
t,
|
|
5035
5000
|
"endpoint",
|
|
5036
5001
|
/*endpoint*/
|
|
5037
5002
|
r[0]
|
|
5038
5003
|
), n[0] & /*session*/
|
|
5039
|
-
2 &&
|
|
5004
|
+
2 && m(
|
|
5040
5005
|
t,
|
|
5041
5006
|
"session",
|
|
5042
5007
|
/*session*/
|
|
5043
5008
|
r[1]
|
|
5044
5009
|
), n[1] & /*number*/
|
|
5045
|
-
2 &&
|
|
5010
|
+
2 && m(
|
|
5046
5011
|
t,
|
|
5047
5012
|
"number",
|
|
5048
5013
|
/*number*/
|
|
5049
5014
|
r[32]
|
|
5050
5015
|
), n[0] & /*playerid*/
|
|
5051
|
-
131072 &&
|
|
5016
|
+
131072 && m(
|
|
5052
5017
|
t,
|
|
5053
5018
|
"playerid",
|
|
5054
5019
|
/*playerid*/
|
|
5055
5020
|
r[17]
|
|
5056
5021
|
), n[0] & /*smstokenid*/
|
|
5057
|
-
1073741824 &&
|
|
5022
|
+
1073741824 && m(
|
|
5058
5023
|
t,
|
|
5059
5024
|
"tokenid",
|
|
5060
5025
|
/*smstokenid*/
|
|
5061
5026
|
r[30]
|
|
5062
5027
|
), n[0] & /*clientstyling*/
|
|
5063
|
-
1024 &&
|
|
5028
|
+
1024 && m(
|
|
5064
5029
|
t,
|
|
5065
5030
|
"clientstyling",
|
|
5066
5031
|
/*clientstyling*/
|
|
5067
5032
|
r[10]
|
|
5068
5033
|
), n[0] & /*clientstylingurl*/
|
|
5069
|
-
2048 &&
|
|
5034
|
+
2048 && m(
|
|
5070
5035
|
t,
|
|
5071
5036
|
"clientstylingurl",
|
|
5072
5037
|
/*clientstylingurl*/
|
|
5073
5038
|
r[11]
|
|
5074
5039
|
), n[0] & /*mbsource*/
|
|
5075
|
-
512 &&
|
|
5040
|
+
512 && m(
|
|
5076
5041
|
t,
|
|
5077
5042
|
"mbsource",
|
|
5078
5043
|
/*mbsource*/
|
|
@@ -5084,27 +5049,27 @@ function Fs(e) {
|
|
|
5084
5049
|
}
|
|
5085
5050
|
};
|
|
5086
5051
|
}
|
|
5087
|
-
function
|
|
5088
|
-
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 = (
|
|
5089
5054
|
/*$_*/
|
|
5090
5055
|
e[34]("goToLoginButton") + ""
|
|
5091
5056
|
), P, R, N;
|
|
5092
5057
|
return {
|
|
5093
5058
|
c() {
|
|
5094
|
-
t =
|
|
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 = $(
|
|
5095
5060
|
/*accountCreationTitle*/
|
|
5096
5061
|
e[23]
|
|
5097
|
-
), u = U(), c =
|
|
5062
|
+
), u = U(), c = B("p"), d = $(
|
|
5098
5063
|
/*accountCreationSubTitle*/
|
|
5099
5064
|
e[24]
|
|
5100
|
-
), y = U(), g =
|
|
5065
|
+
), y = U(), g = B("p"), p = $(
|
|
5101
5066
|
/*accountCreationMessage*/
|
|
5102
5067
|
e[25]
|
|
5103
|
-
), 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");
|
|
5104
5069
|
},
|
|
5105
5070
|
m(C, D) {
|
|
5106
|
-
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,
|
|
5107
|
-
|
|
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,
|
|
5108
5073
|
"click",
|
|
5109
5074
|
/*switchToLogin*/
|
|
5110
5075
|
e[36]
|
|
@@ -5118,12 +5083,12 @@ function ur(e) {
|
|
|
5118
5083
|
C[23]
|
|
5119
5084
|
), D[0] & /*accountCreationSubTitle*/
|
|
5120
5085
|
16777216 && K(
|
|
5121
|
-
|
|
5086
|
+
d,
|
|
5122
5087
|
/*accountCreationSubTitle*/
|
|
5123
5088
|
C[24]
|
|
5124
5089
|
), D[0] & /*accountCreationMessage*/
|
|
5125
5090
|
33554432 && K(
|
|
5126
|
-
|
|
5091
|
+
p,
|
|
5127
5092
|
/*accountCreationMessage*/
|
|
5128
5093
|
C[25]
|
|
5129
5094
|
), D[1] & /*$_*/
|
|
@@ -5135,15 +5100,15 @@ function ur(e) {
|
|
|
5135
5100
|
}
|
|
5136
5101
|
};
|
|
5137
5102
|
}
|
|
5138
|
-
function
|
|
5103
|
+
function Ns(e) {
|
|
5139
5104
|
let t;
|
|
5140
5105
|
function r(s, o) {
|
|
5141
|
-
return
|
|
5106
|
+
return Os;
|
|
5142
5107
|
}
|
|
5143
5108
|
let i = r()(e);
|
|
5144
5109
|
return {
|
|
5145
5110
|
c() {
|
|
5146
|
-
t =
|
|
5111
|
+
t = B("div"), i.c();
|
|
5147
5112
|
},
|
|
5148
5113
|
m(s, o) {
|
|
5149
5114
|
F(s, t, o), i.m(t, null), e[42](t);
|
|
@@ -5158,80 +5123,80 @@ function Us(e) {
|
|
|
5158
5123
|
}
|
|
5159
5124
|
};
|
|
5160
5125
|
}
|
|
5161
|
-
let
|
|
5162
|
-
function
|
|
5126
|
+
let Ms = "Please use this code {0} to activate your account";
|
|
5127
|
+
function Ds(e, t, r) {
|
|
5163
5128
|
let n;
|
|
5164
|
-
|
|
5165
|
-
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:
|
|
5166
|
-
|
|
5167
|
-
const
|
|
5168
|
-
fetch(R).then((
|
|
5169
|
-
Object.keys(
|
|
5170
|
-
|
|
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 = () => {
|
|
5133
|
+
fetch(R).then((H) => H.json()).then((H) => {
|
|
5134
|
+
Object.keys(H).forEach((I) => {
|
|
5135
|
+
Yt(I, H[I]);
|
|
5171
5136
|
});
|
|
5172
|
-
}).catch((
|
|
5173
|
-
console.log(
|
|
5137
|
+
}).catch((H) => {
|
|
5138
|
+
console.log(H);
|
|
5174
5139
|
});
|
|
5175
5140
|
};
|
|
5176
|
-
Object.keys(
|
|
5177
|
-
|
|
5141
|
+
Object.keys(Kt).forEach((f) => {
|
|
5142
|
+
Yt(f, Kt[f]);
|
|
5178
5143
|
});
|
|
5179
|
-
const
|
|
5144
|
+
const Gr = () => {
|
|
5180
5145
|
fetch(`${i}/v1/player/consentRequirements`).then((f) => f.json()).then((f) => {
|
|
5181
|
-
f.items.length > 0 ? (r(26,
|
|
5182
|
-
switch (
|
|
5146
|
+
f.items.length > 0 ? (r(26, Ge = "true"), f.items.forEach((H) => {
|
|
5147
|
+
switch (H.tagCode) {
|
|
5183
5148
|
case "termsandconditions":
|
|
5184
|
-
r(27,
|
|
5149
|
+
r(27, wt = "true");
|
|
5185
5150
|
break;
|
|
5186
5151
|
case "sms":
|
|
5187
|
-
r(28,
|
|
5152
|
+
r(28, xt = "true");
|
|
5188
5153
|
break;
|
|
5189
5154
|
case "emailmarketing":
|
|
5190
|
-
r(29,
|
|
5155
|
+
r(29, St = "true");
|
|
5191
5156
|
break;
|
|
5192
5157
|
}
|
|
5193
|
-
})) : r(26,
|
|
5158
|
+
})) : r(26, Ge = "false");
|
|
5194
5159
|
});
|
|
5195
|
-
},
|
|
5196
|
-
let f = new URL(`${s}/${u}/login-register-content?env=${o}`),
|
|
5197
|
-
|
|
5198
|
-
ye = I.registerData, r(23,
|
|
5160
|
+
}, jr = () => {
|
|
5161
|
+
let f = new URL(`${s}/${u}/login-register-content?env=${o}`), H = Qt(vt);
|
|
5162
|
+
H && (H === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((I) => I.json()).then((I) => {
|
|
5163
|
+
ye = I.registerData, r(23, gt = ye.title), r(24, bt = ye.subtitle), r(25, yt = ye.content);
|
|
5199
5164
|
}).catch((I) => {
|
|
5200
5165
|
console.error(I);
|
|
5201
5166
|
});
|
|
5202
5167
|
}, Ee = () => {
|
|
5203
5168
|
_e.scrollIntoView();
|
|
5204
|
-
},
|
|
5205
|
-
for (const
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
},
|
|
5169
|
+
}, he = (f) => {
|
|
5170
|
+
for (const H in f)
|
|
5171
|
+
j[H] = f[H], H === "mobile" && r(32, Bt = `${f[H].prefix}${f[H].number}`);
|
|
5172
|
+
j.affiliateMarker = j.promoCode ? j.promoCode : h ?? "";
|
|
5173
|
+
}, At = (f) => {
|
|
5209
5174
|
if (f.data)
|
|
5210
5175
|
switch (f.data.type) {
|
|
5211
5176
|
case "RegisterStepOne":
|
|
5212
|
-
|
|
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);
|
|
5213
5178
|
break;
|
|
5214
5179
|
case "RegisterStepTwo":
|
|
5215
|
-
|
|
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);
|
|
5216
5181
|
break;
|
|
5217
5182
|
case "RegisterStepThree":
|
|
5218
|
-
|
|
5183
|
+
he(f.data.registerStepThreeData), Vr(j);
|
|
5219
5184
|
break;
|
|
5220
5185
|
case "SmsHasBeenValidated":
|
|
5221
|
-
r(22,
|
|
5186
|
+
r(22, ke = !0), r(21, Ue = !1);
|
|
5222
5187
|
break;
|
|
5223
5188
|
case "GoBackStepTwo":
|
|
5224
|
-
|
|
5189
|
+
he(f.data.registerStepTwoData), Ee(), r(18, Fe = !0), r(19, le = !1), window.postMessage({ type: "StepOneDataBackup", userData: j }, window.location.href);
|
|
5225
5190
|
break;
|
|
5226
5191
|
case "GoBackStepThree":
|
|
5227
|
-
|
|
5192
|
+
he(f.data.registerStepThreeData), Ee(), r(19, le = !0), r(20, be = !1), window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
|
|
5228
5193
|
break;
|
|
5229
5194
|
}
|
|
5230
|
-
},
|
|
5195
|
+
}, $r = () => {
|
|
5231
5196
|
typeof gtag == "function" && gtag("event", "Register", { context: "GeneralPlayerRegisterForm" });
|
|
5232
|
-
},
|
|
5197
|
+
}, Vr = async (f) => {
|
|
5233
5198
|
f.language = u;
|
|
5234
|
-
let
|
|
5199
|
+
let H = {
|
|
5235
5200
|
method: "PUT",
|
|
5236
5201
|
headers: {
|
|
5237
5202
|
"g-recaptcha-response": f.token,
|
|
@@ -5239,16 +5204,16 @@ function Gs(e, t, r) {
|
|
|
5239
5204
|
Accept: "application/json"
|
|
5240
5205
|
},
|
|
5241
5206
|
body: JSON.stringify(f)
|
|
5242
|
-
}, I = await fetch(`${i}/v1/player/register`,
|
|
5243
|
-
I.ok ? (r(20, be = !1), g === "false" ? r(22,
|
|
5207
|
+
}, I = await fetch(`${i}/v1/player/register`, H), W = await I.json();
|
|
5208
|
+
I.ok ? (r(20, be = !1), g === "false" ? r(22, ke = !0) : (r(17, 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(
|
|
5244
5209
|
{
|
|
5245
5210
|
type: "ShowRegistrationError",
|
|
5246
|
-
showError:
|
|
5247
|
-
error:
|
|
5211
|
+
showError: pt,
|
|
5212
|
+
error: Tt
|
|
5248
5213
|
},
|
|
5249
5214
|
window.location.href
|
|
5250
5215
|
));
|
|
5251
|
-
},
|
|
5216
|
+
}, Xr = async (f, H) => {
|
|
5252
5217
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
5253
5218
|
try {
|
|
5254
5219
|
const I = await fetch(`${i}/v1/player/sms/token`, {
|
|
@@ -5258,108 +5223,108 @@ function Gs(e, t, r) {
|
|
|
5258
5223
|
accept: "application/json"
|
|
5259
5224
|
},
|
|
5260
5225
|
body: JSON.stringify({
|
|
5261
|
-
userId:
|
|
5262
|
-
messageTemplate:
|
|
5226
|
+
userId: H,
|
|
5227
|
+
messageTemplate: Ms,
|
|
5263
5228
|
destination: `${f.mobile.prefix}${f.mobile.number}`
|
|
5264
5229
|
})
|
|
5265
5230
|
}), W = await I.json();
|
|
5266
5231
|
if (I.ok) {
|
|
5267
|
-
r(30,
|
|
5268
|
-
let
|
|
5269
|
-
r(21,
|
|
5232
|
+
r(30, Ht = W.id);
|
|
5233
|
+
let Us = W.maxValidationAttempts;
|
|
5234
|
+
r(21, Ue = !0), r(31, ve = !1);
|
|
5270
5235
|
} else
|
|
5271
5236
|
throw r(31, ve = !0), new Error("Failed to fetch");
|
|
5272
5237
|
} catch (I) {
|
|
5273
5238
|
r(31, ve = !0), console.error(I);
|
|
5274
5239
|
}
|
|
5275
|
-
},
|
|
5276
|
-
|
|
5277
|
-
},
|
|
5240
|
+
}, Wr = () => {
|
|
5241
|
+
d.split(",");
|
|
5242
|
+
}, zr = () => {
|
|
5278
5243
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
5279
|
-
},
|
|
5280
|
-
|
|
5244
|
+
}, Zr = () => {
|
|
5245
|
+
Ts(u);
|
|
5281
5246
|
};
|
|
5282
|
-
|
|
5283
|
-
window.removeEventListener("message",
|
|
5247
|
+
un(() => (window.addEventListener("message", At, !1), () => {
|
|
5248
|
+
window.removeEventListener("message", At);
|
|
5284
5249
|
}));
|
|
5285
|
-
function
|
|
5250
|
+
function Jr(f) {
|
|
5286
5251
|
Oe[f ? "unshift" : "push"](() => {
|
|
5287
5252
|
_e = f, r(33, _e);
|
|
5288
5253
|
});
|
|
5289
5254
|
}
|
|
5290
|
-
function
|
|
5255
|
+
function qr(f) {
|
|
5291
5256
|
Oe[f ? "unshift" : "push"](() => {
|
|
5292
|
-
|
|
5257
|
+
G = f, r(16, G);
|
|
5293
5258
|
});
|
|
5294
5259
|
}
|
|
5295
5260
|
return e.$$set = (f) => {
|
|
5296
|
-
"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);
|
|
5297
5262
|
}, e.$$.update = () => {
|
|
5298
5263
|
e.$$.dirty[0] & /*endpoint*/
|
|
5299
|
-
1 && i &&
|
|
5264
|
+
1 && i && Gr(), e.$$.dirty[0] & /*lang*/
|
|
5300
5265
|
8 | e.$$.dirty[1] & /*cmsendpoint, env, userroles*/
|
|
5301
|
-
704 && s && u && o && b &&
|
|
5266
|
+
704 && s && u && o && b && jr(), e.$$.dirty[0] & /*playerid, session*/
|
|
5302
5267
|
131074, e.$$.dirty[0] & /*lang*/
|
|
5303
|
-
8 && u &&
|
|
5304
|
-
32 &&
|
|
5305
|
-
66560 && O &&
|
|
5306
|
-
67584 && P &&
|
|
5307
|
-
66048 &&
|
|
5308
|
-
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();
|
|
5309
5274
|
}, [
|
|
5310
5275
|
i,
|
|
5311
5276
|
a,
|
|
5312
5277
|
l,
|
|
5313
5278
|
u,
|
|
5314
5279
|
c,
|
|
5315
|
-
|
|
5280
|
+
d,
|
|
5316
5281
|
y,
|
|
5317
5282
|
g,
|
|
5318
|
-
|
|
5319
|
-
|
|
5283
|
+
p,
|
|
5284
|
+
x,
|
|
5320
5285
|
O,
|
|
5321
5286
|
P,
|
|
5322
5287
|
R,
|
|
5323
5288
|
N,
|
|
5324
5289
|
C,
|
|
5325
5290
|
D,
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5291
|
+
G,
|
|
5292
|
+
dt,
|
|
5293
|
+
Fe,
|
|
5294
|
+
le,
|
|
5330
5295
|
be,
|
|
5296
|
+
Ue,
|
|
5297
|
+
ke,
|
|
5298
|
+
gt,
|
|
5299
|
+
bt,
|
|
5300
|
+
yt,
|
|
5331
5301
|
Ge,
|
|
5332
|
-
je,
|
|
5333
|
-
_t,
|
|
5334
|
-
Et,
|
|
5335
5302
|
wt,
|
|
5336
|
-
|
|
5303
|
+
xt,
|
|
5304
|
+
St,
|
|
5337
5305
|
Ht,
|
|
5338
|
-
Bt,
|
|
5339
|
-
At,
|
|
5340
|
-
Ot,
|
|
5341
5306
|
ve,
|
|
5342
|
-
|
|
5307
|
+
Bt,
|
|
5343
5308
|
_e,
|
|
5344
5309
|
n,
|
|
5345
|
-
|
|
5346
|
-
|
|
5310
|
+
Ur,
|
|
5311
|
+
zr,
|
|
5347
5312
|
s,
|
|
5348
5313
|
o,
|
|
5349
5314
|
h,
|
|
5350
5315
|
b,
|
|
5351
|
-
|
|
5352
|
-
|
|
5316
|
+
Jr,
|
|
5317
|
+
qr
|
|
5353
5318
|
];
|
|
5354
5319
|
}
|
|
5355
|
-
class
|
|
5320
|
+
class Fs extends _n {
|
|
5356
5321
|
constructor(t) {
|
|
5357
|
-
super(),
|
|
5322
|
+
super(), yn(
|
|
5358
5323
|
this,
|
|
5359
5324
|
t,
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5325
|
+
Ds,
|
|
5326
|
+
Ns,
|
|
5327
|
+
or,
|
|
5363
5328
|
{
|
|
5364
5329
|
endpoint: 0,
|
|
5365
5330
|
cmsendpoint: 37,
|
|
@@ -5382,7 +5347,7 @@ class js extends xn {
|
|
|
5382
5347
|
custominputtextswitch: 14,
|
|
5383
5348
|
personalidlength: 15
|
|
5384
5349
|
},
|
|
5385
|
-
|
|
5350
|
+
Ps,
|
|
5386
5351
|
[-1, -1, -1]
|
|
5387
5352
|
);
|
|
5388
5353
|
}
|
|
@@ -5390,160 +5355,160 @@ class js extends xn {
|
|
|
5390
5355
|
return this.$$.ctx[0];
|
|
5391
5356
|
}
|
|
5392
5357
|
set endpoint(t) {
|
|
5393
|
-
this.$$set({ endpoint: t }),
|
|
5358
|
+
this.$$set({ endpoint: t }), A();
|
|
5394
5359
|
}
|
|
5395
5360
|
get cmsendpoint() {
|
|
5396
5361
|
return this.$$.ctx[37];
|
|
5397
5362
|
}
|
|
5398
5363
|
set cmsendpoint(t) {
|
|
5399
|
-
this.$$set({ cmsendpoint: t }),
|
|
5364
|
+
this.$$set({ cmsendpoint: t }), A();
|
|
5400
5365
|
}
|
|
5401
5366
|
get env() {
|
|
5402
5367
|
return this.$$.ctx[38];
|
|
5403
5368
|
}
|
|
5404
5369
|
set env(t) {
|
|
5405
|
-
this.$$set({ env: t }),
|
|
5370
|
+
this.$$set({ env: t }), A();
|
|
5406
5371
|
}
|
|
5407
5372
|
get session() {
|
|
5408
5373
|
return this.$$.ctx[1];
|
|
5409
5374
|
}
|
|
5410
5375
|
set session(t) {
|
|
5411
|
-
this.$$set({ session: t }),
|
|
5376
|
+
this.$$set({ session: t }), A();
|
|
5412
5377
|
}
|
|
5413
5378
|
get trackedanalyticsdata() {
|
|
5414
5379
|
return this.$$.ctx[39];
|
|
5415
5380
|
}
|
|
5416
5381
|
set trackedanalyticsdata(t) {
|
|
5417
|
-
this.$$set({ trackedanalyticsdata: t }),
|
|
5382
|
+
this.$$set({ trackedanalyticsdata: t }), A();
|
|
5418
5383
|
}
|
|
5419
5384
|
get captchakey() {
|
|
5420
5385
|
return this.$$.ctx[2];
|
|
5421
5386
|
}
|
|
5422
5387
|
set captchakey(t) {
|
|
5423
|
-
this.$$set({ captchakey: t }),
|
|
5388
|
+
this.$$set({ captchakey: t }), A();
|
|
5424
5389
|
}
|
|
5425
5390
|
get lang() {
|
|
5426
5391
|
return this.$$.ctx[3];
|
|
5427
5392
|
}
|
|
5428
5393
|
set lang(t) {
|
|
5429
|
-
this.$$set({ lang: t }),
|
|
5394
|
+
this.$$set({ lang: t }), A();
|
|
5430
5395
|
}
|
|
5431
5396
|
get licenseyears() {
|
|
5432
5397
|
return this.$$.ctx[4];
|
|
5433
5398
|
}
|
|
5434
5399
|
set licenseyears(t) {
|
|
5435
|
-
this.$$set({ licenseyears: t }),
|
|
5400
|
+
this.$$set({ licenseyears: t }), A();
|
|
5436
5401
|
}
|
|
5437
5402
|
get disabledfields() {
|
|
5438
5403
|
return this.$$.ctx[5];
|
|
5439
5404
|
}
|
|
5440
5405
|
set disabledfields(t) {
|
|
5441
|
-
this.$$set({ disabledfields: t }),
|
|
5406
|
+
this.$$set({ disabledfields: t }), A();
|
|
5442
5407
|
}
|
|
5443
5408
|
get defaultoptions() {
|
|
5444
5409
|
return this.$$.ctx[6];
|
|
5445
5410
|
}
|
|
5446
5411
|
set defaultoptions(t) {
|
|
5447
|
-
this.$$set({ defaultoptions: t }),
|
|
5412
|
+
this.$$set({ defaultoptions: t }), A();
|
|
5448
5413
|
}
|
|
5449
5414
|
get smsverification() {
|
|
5450
5415
|
return this.$$.ctx[7];
|
|
5451
5416
|
}
|
|
5452
5417
|
set smsverification(t) {
|
|
5453
|
-
this.$$set({ smsverification: t }),
|
|
5418
|
+
this.$$set({ smsverification: t }), A();
|
|
5454
5419
|
}
|
|
5455
5420
|
get simplepasswordvalidation() {
|
|
5456
5421
|
return this.$$.ctx[8];
|
|
5457
5422
|
}
|
|
5458
5423
|
set simplepasswordvalidation(t) {
|
|
5459
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5424
|
+
this.$$set({ simplepasswordvalidation: t }), A();
|
|
5460
5425
|
}
|
|
5461
5426
|
get userroles() {
|
|
5462
5427
|
return this.$$.ctx[40];
|
|
5463
5428
|
}
|
|
5464
5429
|
set userroles(t) {
|
|
5465
|
-
this.$$set({ userroles: t }),
|
|
5430
|
+
this.$$set({ userroles: t }), A();
|
|
5466
5431
|
}
|
|
5467
5432
|
get mbsource() {
|
|
5468
5433
|
return this.$$.ctx[9];
|
|
5469
5434
|
}
|
|
5470
5435
|
set mbsource(t) {
|
|
5471
|
-
this.$$set({ mbsource: t }),
|
|
5436
|
+
this.$$set({ mbsource: t }), A();
|
|
5472
5437
|
}
|
|
5473
5438
|
get clientstyling() {
|
|
5474
5439
|
return this.$$.ctx[10];
|
|
5475
5440
|
}
|
|
5476
5441
|
set clientstyling(t) {
|
|
5477
|
-
this.$$set({ clientstyling: t }),
|
|
5442
|
+
this.$$set({ clientstyling: t }), A();
|
|
5478
5443
|
}
|
|
5479
5444
|
get clientstylingurl() {
|
|
5480
5445
|
return this.$$.ctx[11];
|
|
5481
5446
|
}
|
|
5482
5447
|
set clientstylingurl(t) {
|
|
5483
|
-
this.$$set({ clientstylingurl: t }),
|
|
5448
|
+
this.$$set({ clientstylingurl: t }), A();
|
|
5484
5449
|
}
|
|
5485
5450
|
get translationurl() {
|
|
5486
5451
|
return this.$$.ctx[12];
|
|
5487
5452
|
}
|
|
5488
5453
|
set translationurl(t) {
|
|
5489
|
-
this.$$set({ translationurl: t }),
|
|
5454
|
+
this.$$set({ translationurl: t }), A();
|
|
5490
5455
|
}
|
|
5491
5456
|
get savecredentials() {
|
|
5492
5457
|
return this.$$.ctx[13];
|
|
5493
5458
|
}
|
|
5494
5459
|
set savecredentials(t) {
|
|
5495
|
-
this.$$set({ savecredentials: t }),
|
|
5460
|
+
this.$$set({ savecredentials: t }), A();
|
|
5496
5461
|
}
|
|
5497
5462
|
get custominputtextswitch() {
|
|
5498
5463
|
return this.$$.ctx[14];
|
|
5499
5464
|
}
|
|
5500
5465
|
set custominputtextswitch(t) {
|
|
5501
|
-
this.$$set({ custominputtextswitch: t }),
|
|
5466
|
+
this.$$set({ custominputtextswitch: t }), A();
|
|
5502
5467
|
}
|
|
5503
5468
|
get personalidlength() {
|
|
5504
5469
|
return this.$$.ctx[15];
|
|
5505
5470
|
}
|
|
5506
5471
|
set personalidlength(t) {
|
|
5507
|
-
this.$$set({ personalidlength: t }),
|
|
5472
|
+
this.$$set({ personalidlength: t }), A();
|
|
5508
5473
|
}
|
|
5509
5474
|
}
|
|
5510
|
-
|
|
5475
|
+
vn(Fs, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
|
|
5511
5476
|
export {
|
|
5512
5477
|
Z as $,
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5478
|
+
qe as A,
|
|
5479
|
+
$s as B,
|
|
5480
|
+
Xs as C,
|
|
5481
|
+
Gs as D,
|
|
5482
|
+
rn as E,
|
|
5483
|
+
Vs as F,
|
|
5484
|
+
ae as G,
|
|
5485
|
+
ks as H,
|
|
5486
|
+
Fs as I,
|
|
5487
|
+
_n as S,
|
|
5488
|
+
Rr as a,
|
|
5489
|
+
Kr as b,
|
|
5490
|
+
vn as c,
|
|
5491
|
+
U as d,
|
|
5492
|
+
B as e,
|
|
5493
|
+
A as f,
|
|
5494
|
+
S as g,
|
|
5495
|
+
F as h,
|
|
5496
|
+
yn as i,
|
|
5497
|
+
E as j,
|
|
5498
|
+
js as k,
|
|
5499
|
+
nn as l,
|
|
5500
|
+
K as m,
|
|
5536
5501
|
k as n,
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5502
|
+
M as o,
|
|
5503
|
+
Yr as p,
|
|
5504
|
+
un as q,
|
|
5505
|
+
ge as r,
|
|
5506
|
+
or as s,
|
|
5507
|
+
$ as t,
|
|
5543
5508
|
Oe as u,
|
|
5544
|
-
|
|
5509
|
+
Hs as v,
|
|
5545
5510
|
Bs as w,
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5511
|
+
As as x,
|
|
5512
|
+
xe as y,
|
|
5513
|
+
xs as z
|
|
5549
5514
|
};
|