@everymatrix/general-player-register-form-nd 1.86.4 → 1.86.5
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-AdY-ygv5.cjs +18 -0
- package/components/{GeneralPlayerRegisterFormNd-B9Ri_AnB.js → GeneralPlayerRegisterFormNd-BNU8-hxb.js} +959 -938
- package/components/{GeneralPlayerRegisterFormNd-C9h_fAZ_.js → GeneralPlayerRegisterFormNd-Cmu-fwTG.js} +969 -948
- package/components/{GeneralPlayerRegisterFormStep1-CVNpgs9l.cjs → GeneralPlayerRegisterFormStep1-BXBM8-6A.cjs} +1 -1
- package/components/{GeneralPlayerRegisterFormStep1-BG5wmTbz.js → GeneralPlayerRegisterFormStep1-IbpEhuja.js} +33 -33
- package/components/{GeneralPlayerRegisterFormStep1-BaTdJr_Q.js → GeneralPlayerRegisterFormStep1-dUJTbKi2.js} +29 -29
- package/components/{GeneralPlayerRegisterFormStep2-CZ455r_G.js → GeneralPlayerRegisterFormStep2-CIqQiJZi.js} +51 -53
- package/components/GeneralPlayerRegisterFormStep2-ClIjcJ8l.cjs +2 -0
- package/components/{GeneralPlayerRegisterFormStep2-BOxhamSC.js → GeneralPlayerRegisterFormStep2-jv0Zt0Bp.js} +51 -53
- package/components/{GeneralPlayerRegisterFormStep3-B_Sbpd5j.js → GeneralPlayerRegisterFormStep3-BY2vb5X8.js} +14 -14
- package/components/{GeneralPlayerRegisterFormStep3-BhS8JzCj.js → GeneralPlayerRegisterFormStep3-CZAxmL2d.js} +14 -14
- package/components/{GeneralPlayerRegisterFormStep3-C5yXIxJo.cjs → GeneralPlayerRegisterFormStep3-b1rbNBze.cjs} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-BrqgOUMw.js → GeneralPlayerSmsVerificationForm-BXZMmRNO.js} +25 -25
- package/components/{GeneralPlayerSmsVerificationForm-Duv45Kb9.cjs → GeneralPlayerSmsVerificationForm-Bx7lBTRi.cjs} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-40ZhiUQ5.js → GeneralPlayerSmsVerificationForm-RA_OFoKD.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-DLLiT-6t.cjs +0 -18
- package/components/GeneralPlayerRegisterFormStep2-DN2TJVzp.cjs +0 -2
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function k() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function lr(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Rt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function de(e) {
|
|
10
|
+
e.forEach(lr);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function dt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function hr(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 Vs(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 tn(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function fr(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,20 +31,20 @@ function lr(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function rn(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(fr(t, r));
|
|
36
36
|
}
|
|
37
37
|
function E(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function nn(e, t, r) {
|
|
41
|
+
const n = sn(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
43
|
+
const i = H("style");
|
|
44
|
+
i.id = t, i.textContent = r, on(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function sn(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,7 +54,7 @@ function nn(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function on(e, t) {
|
|
58
58
|
return E(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
@@ -64,49 +64,49 @@ function sn(e, t) {
|
|
|
64
64
|
function F(e, t, r) {
|
|
65
65
|
e.insertBefore(t, r || null);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function M(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Xs(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 H(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
77
|
function Se(e) {
|
|
78
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function V(e) {
|
|
81
81
|
return document.createTextNode(e);
|
|
82
82
|
}
|
|
83
83
|
function U() {
|
|
84
|
-
return
|
|
84
|
+
return V(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function an() {
|
|
87
|
+
return V("");
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function un(e, t, r, n) {
|
|
90
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function S(e, t, r) {
|
|
93
93
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function p(e, t, r) {
|
|
96
96
|
const n = t.toLowerCase();
|
|
97
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
97
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : S(e, t, r);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function ln(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 Ws(e, t) {
|
|
107
107
|
e.value = t ?? "";
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function zs(e, t, r) {
|
|
110
110
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
111
111
|
const i = e.options[n];
|
|
112
112
|
if (i.__value === t) {
|
|
@@ -116,11 +116,11 @@ function Xs(e, t, r) {
|
|
|
116
116
|
}
|
|
117
117
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Zs(e) {
|
|
120
120
|
const t = e.querySelector(":checked");
|
|
121
121
|
return t && t.__value;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function hn(e) {
|
|
124
124
|
const t = {};
|
|
125
125
|
return e.childNodes.forEach(
|
|
126
126
|
/** @param {Element} node */
|
|
@@ -129,90 +129,90 @@ function ln(e) {
|
|
|
129
129
|
}
|
|
130
130
|
), t;
|
|
131
131
|
}
|
|
132
|
-
let
|
|
133
|
-
function
|
|
134
|
-
|
|
132
|
+
let ce;
|
|
133
|
+
function fe(e) {
|
|
134
|
+
ce = e;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
if (!
|
|
136
|
+
function fn() {
|
|
137
|
+
if (!ce)
|
|
138
138
|
throw new Error("Function called outside component initialization");
|
|
139
|
-
return
|
|
139
|
+
return ce;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
142
|
-
|
|
141
|
+
function cn(e) {
|
|
142
|
+
fn().$$.on_mount.push(e);
|
|
143
143
|
}
|
|
144
144
|
const Y = [], Oe = [];
|
|
145
145
|
let ee = [];
|
|
146
|
-
const
|
|
147
|
-
let
|
|
146
|
+
const Lt = [], pn = /* @__PURE__ */ Promise.resolve();
|
|
147
|
+
let Ye = !1;
|
|
148
148
|
function mn() {
|
|
149
|
-
|
|
149
|
+
Ye || (Ye = !0, pn.then(B));
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function Ke(e) {
|
|
152
152
|
ee.push(e);
|
|
153
153
|
}
|
|
154
|
-
const
|
|
154
|
+
const Ve = /* @__PURE__ */ new Set();
|
|
155
155
|
let q = 0;
|
|
156
|
-
function
|
|
156
|
+
function B() {
|
|
157
157
|
if (q !== 0)
|
|
158
158
|
return;
|
|
159
|
-
const e =
|
|
159
|
+
const e = ce;
|
|
160
160
|
do {
|
|
161
161
|
try {
|
|
162
162
|
for (; q < Y.length; ) {
|
|
163
163
|
const t = Y[q];
|
|
164
|
-
q++,
|
|
164
|
+
q++, fe(t), dn(t.$$);
|
|
165
165
|
}
|
|
166
166
|
} catch (t) {
|
|
167
167
|
throw Y.length = 0, q = 0, t;
|
|
168
168
|
}
|
|
169
|
-
for (
|
|
169
|
+
for (fe(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
|
+
Ve.has(r) || (Ve.add(r), r());
|
|
174
174
|
}
|
|
175
175
|
ee.length = 0;
|
|
176
176
|
} while (Y.length);
|
|
177
|
-
for (;
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
for (; Lt.length; )
|
|
178
|
+
Lt.pop()();
|
|
179
|
+
Ye = !1, Ve.clear(), fe(e);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function dn(e) {
|
|
182
182
|
if (e.fragment !== null) {
|
|
183
|
-
e.update(),
|
|
183
|
+
e.update(), de(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(Ke);
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function gn(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 bn = /* @__PURE__ */ new Set();
|
|
193
|
+
function yn(e, t) {
|
|
194
|
+
e && e.i && (bn.delete(e), e.i(t));
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function Js(e) {
|
|
197
197
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function vn(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), Ke(() => {
|
|
202
|
+
const s = e.$$.on_mount.map(lr).filter(dt);
|
|
203
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : de(s), e.$$.on_mount = [];
|
|
204
|
+
}), i.forEach(Ke);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function _n(e, t) {
|
|
207
207
|
const r = e.$$;
|
|
208
|
-
r.fragment !== null && (
|
|
208
|
+
r.fragment !== null && (gn(r.after_update), de(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function En(e, t) {
|
|
211
211
|
e.$$.dirty[0] === -1 && (Y.push(e), mn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
212
212
|
}
|
|
213
|
-
function
|
|
214
|
-
const h =
|
|
215
|
-
|
|
213
|
+
function wn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
214
|
+
const h = ce;
|
|
215
|
+
fe(e);
|
|
216
216
|
const l = e.$$ = {
|
|
217
217
|
fragment: null,
|
|
218
218
|
ctx: [],
|
|
@@ -220,7 +220,7 @@ function En(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
220
220
|
props: s,
|
|
221
221
|
update: k,
|
|
222
222
|
not_equal: i,
|
|
223
|
-
bound:
|
|
223
|
+
bound: Rt(),
|
|
224
224
|
// lifecycle
|
|
225
225
|
on_mount: [],
|
|
226
226
|
on_destroy: [],
|
|
@@ -229,28 +229,28 @@ function En(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
229
229
|
after_update: [],
|
|
230
230
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
231
231
|
// everything else
|
|
232
|
-
callbacks:
|
|
232
|
+
callbacks: Rt(),
|
|
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, m, ...y) => {
|
|
240
|
+
const g = y.length ? y[0] : m;
|
|
241
|
+
return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), u && En(e, c)), m;
|
|
242
|
+
}) : [], l.update(), u = !0, de(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
243
243
|
if (t.hydrate) {
|
|
244
|
-
const c =
|
|
245
|
-
l.fragment && l.fragment.l(c), c.forEach(
|
|
244
|
+
const c = ln(t.target);
|
|
245
|
+
l.fragment && l.fragment.l(c), c.forEach(M);
|
|
246
246
|
} else
|
|
247
247
|
l.fragment && l.fragment.c();
|
|
248
|
-
t.intro &&
|
|
248
|
+
t.intro && yn(e.$$.fragment), vn(e, t.target, t.anchor), B();
|
|
249
249
|
}
|
|
250
|
-
|
|
250
|
+
fe(h);
|
|
251
251
|
}
|
|
252
|
-
let
|
|
253
|
-
typeof HTMLElement == "function" && (
|
|
252
|
+
let cr;
|
|
253
|
+
typeof HTMLElement == "function" && (cr = class extends HTMLElement {
|
|
254
254
|
/** The Svelte component constructor */
|
|
255
255
|
$$ctor;
|
|
256
256
|
/** Slots */
|
|
@@ -292,7 +292,7 @@ typeof HTMLElement == "function" && (hr = class extends HTMLElement {
|
|
|
292
292
|
let s;
|
|
293
293
|
return {
|
|
294
294
|
c: function() {
|
|
295
|
-
s =
|
|
295
|
+
s = H("slot"), i !== "default" && S(s, "name", i);
|
|
296
296
|
},
|
|
297
297
|
/**
|
|
298
298
|
* @param {HTMLElement} target
|
|
@@ -302,14 +302,14 @@ typeof HTMLElement == "function" && (hr = class extends HTMLElement {
|
|
|
302
302
|
F(h, s, l);
|
|
303
303
|
},
|
|
304
304
|
d: function(h) {
|
|
305
|
-
h &&
|
|
305
|
+
h && M(s);
|
|
306
306
|
}
|
|
307
307
|
};
|
|
308
308
|
};
|
|
309
309
|
};
|
|
310
310
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
311
311
|
return;
|
|
312
|
-
const t = {}, r =
|
|
312
|
+
const t = {}, r = hn(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 Sn(e, t, r, n, i, s) {
|
|
400
|
+
let o = class extends cr {
|
|
401
401
|
constructor() {
|
|
402
402
|
super(e, r, i), this.$$p_d = t;
|
|
403
403
|
}
|
|
@@ -425,7 +425,7 @@ function wn(e, t, r, n, i, s) {
|
|
|
425
425
|
}), e.element = /** @type {any} */
|
|
426
426
|
o, o;
|
|
427
427
|
}
|
|
428
|
-
class
|
|
428
|
+
class xn {
|
|
429
429
|
/**
|
|
430
430
|
* ### PRIVATE API
|
|
431
431
|
*
|
|
@@ -444,7 +444,7 @@ class Sn {
|
|
|
444
444
|
$$set = void 0;
|
|
445
445
|
/** @returns {void} */
|
|
446
446
|
$destroy() {
|
|
447
|
-
|
|
447
|
+
_n(this, 1), this.$destroy = k;
|
|
448
448
|
}
|
|
449
449
|
/**
|
|
450
450
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -453,7 +453,7 @@ class Sn {
|
|
|
453
453
|
* @returns {() => void}
|
|
454
454
|
*/
|
|
455
455
|
$on(t, r) {
|
|
456
|
-
if (!
|
|
456
|
+
if (!dt(r))
|
|
457
457
|
return k;
|
|
458
458
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
459
459
|
return n.push(r), () => {
|
|
@@ -466,11 +466,11 @@ class Sn {
|
|
|
466
466
|
* @returns {void}
|
|
467
467
|
*/
|
|
468
468
|
$set(t) {
|
|
469
|
-
this.$$set && !
|
|
469
|
+
this.$$set && !tn(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 Tn = "4";
|
|
473
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Tn);
|
|
474
474
|
/*! *****************************************************************************
|
|
475
475
|
Copyright (c) Microsoft Corporation.
|
|
476
476
|
|
|
@@ -485,43 +485,24 @@ 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 et = function(e, t) {
|
|
489
|
+
return et = 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
|
+
}, et(e, t);
|
|
495
495
|
};
|
|
496
|
-
function
|
|
496
|
+
function ge(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
|
+
et(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
|
-
|
|
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 Tn(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 Ke(e) {
|
|
505
|
+
function tt(e) {
|
|
525
506
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
526
507
|
if (r)
|
|
527
508
|
return r.call(e);
|
|
@@ -533,7 +514,7 @@ function Ke(e) {
|
|
|
533
514
|
};
|
|
534
515
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
535
516
|
}
|
|
536
|
-
function
|
|
517
|
+
function rt(e, t) {
|
|
537
518
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
538
519
|
if (!r)
|
|
539
520
|
return e;
|
|
@@ -553,22 +534,22 @@ function et(e, t) {
|
|
|
553
534
|
}
|
|
554
535
|
return s;
|
|
555
536
|
}
|
|
556
|
-
function
|
|
557
|
-
if (
|
|
537
|
+
function nt(e, t, r) {
|
|
538
|
+
if (arguments.length === 2)
|
|
558
539
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
559
540
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
560
541
|
return e.concat(s || t);
|
|
561
542
|
}
|
|
562
|
-
function
|
|
543
|
+
function X(e) {
|
|
563
544
|
return typeof e == "function";
|
|
564
545
|
}
|
|
565
|
-
function
|
|
546
|
+
function pr(e) {
|
|
566
547
|
var t = function(n) {
|
|
567
548
|
Error.call(n), n.stack = new Error().stack;
|
|
568
549
|
}, r = e(t);
|
|
569
550
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
570
551
|
}
|
|
571
|
-
var
|
|
552
|
+
var Xe = pr(function(e) {
|
|
572
553
|
return function(r) {
|
|
573
554
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
574
555
|
` + r.map(function(n, i) {
|
|
@@ -577,13 +558,13 @@ var $e = fr(function(e) {
|
|
|
577
558
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
578
559
|
};
|
|
579
560
|
});
|
|
580
|
-
function
|
|
561
|
+
function it(e, t) {
|
|
581
562
|
if (e) {
|
|
582
563
|
var r = e.indexOf(t);
|
|
583
564
|
0 <= r && e.splice(r, 1);
|
|
584
565
|
}
|
|
585
566
|
}
|
|
586
|
-
var
|
|
567
|
+
var Le = function() {
|
|
587
568
|
function e(t) {
|
|
588
569
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
589
570
|
}
|
|
@@ -595,7 +576,7 @@ var Re = function() {
|
|
|
595
576
|
if (o)
|
|
596
577
|
if (this._parentage = null, Array.isArray(o))
|
|
597
578
|
try {
|
|
598
|
-
for (var a =
|
|
579
|
+
for (var a = tt(o), h = a.next(); !h.done; h = a.next()) {
|
|
599
580
|
var l = h.value;
|
|
600
581
|
l.remove(this);
|
|
601
582
|
}
|
|
@@ -612,29 +593,29 @@ var Re = function() {
|
|
|
612
593
|
else
|
|
613
594
|
o.remove(this);
|
|
614
595
|
var u = this.initialTeardown;
|
|
615
|
-
if (
|
|
596
|
+
if (X(u))
|
|
616
597
|
try {
|
|
617
598
|
u();
|
|
618
599
|
} catch (d) {
|
|
619
|
-
s = d instanceof
|
|
600
|
+
s = d instanceof Xe ? d.errors : [d];
|
|
620
601
|
}
|
|
621
602
|
var c = this._finalizers;
|
|
622
603
|
if (c) {
|
|
623
604
|
this._finalizers = null;
|
|
624
605
|
try {
|
|
625
|
-
for (var
|
|
606
|
+
for (var m = tt(c), y = m.next(); !y.done; y = m.next()) {
|
|
626
607
|
var g = y.value;
|
|
627
608
|
try {
|
|
628
|
-
|
|
609
|
+
Nt(g);
|
|
629
610
|
} catch (d) {
|
|
630
|
-
s = s ?? [], d instanceof
|
|
611
|
+
s = s ?? [], d instanceof Xe ? s = nt(nt([], rt(s)), rt(d.errors)) : s.push(d);
|
|
631
612
|
}
|
|
632
613
|
}
|
|
633
614
|
} catch (d) {
|
|
634
615
|
n = { error: d };
|
|
635
616
|
} finally {
|
|
636
617
|
try {
|
|
637
|
-
y && !y.done && (i =
|
|
618
|
+
y && !y.done && (i = m.return) && i.call(m);
|
|
638
619
|
} finally {
|
|
639
620
|
if (n)
|
|
640
621
|
throw n.error;
|
|
@@ -642,13 +623,13 @@ var Re = function() {
|
|
|
642
623
|
}
|
|
643
624
|
}
|
|
644
625
|
if (s)
|
|
645
|
-
throw new
|
|
626
|
+
throw new Xe(s);
|
|
646
627
|
}
|
|
647
628
|
}, e.prototype.add = function(t) {
|
|
648
629
|
var r;
|
|
649
630
|
if (t && t !== this)
|
|
650
631
|
if (this.closed)
|
|
651
|
-
|
|
632
|
+
Nt(t);
|
|
652
633
|
else {
|
|
653
634
|
if (t instanceof e) {
|
|
654
635
|
if (t.closed || t._hasParent(this))
|
|
@@ -665,56 +646,52 @@ var Re = function() {
|
|
|
665
646
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
666
647
|
}, e.prototype._removeParent = function(t) {
|
|
667
648
|
var r = this._parentage;
|
|
668
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
649
|
+
r === t ? this._parentage = null : Array.isArray(r) && it(r, t);
|
|
669
650
|
}, e.prototype.remove = function(t) {
|
|
670
651
|
var r = this._finalizers;
|
|
671
|
-
r &&
|
|
652
|
+
r && it(r, t), t instanceof e && t._removeParent(this);
|
|
672
653
|
}, e.EMPTY = function() {
|
|
673
654
|
var t = new e();
|
|
674
655
|
return t.closed = !0, t;
|
|
675
656
|
}(), e;
|
|
676
|
-
}(),
|
|
677
|
-
function
|
|
678
|
-
return e instanceof
|
|
679
|
-
}
|
|
680
|
-
function
|
|
681
|
-
|
|
682
|
-
}
|
|
683
|
-
var
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
Promise: void 0,
|
|
687
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
688
|
-
useDeprecatedNextContext: !1
|
|
689
|
-
}, Hn = {
|
|
657
|
+
}(), mr = Le.EMPTY;
|
|
658
|
+
function dr(e) {
|
|
659
|
+
return e instanceof Le || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
|
|
660
|
+
}
|
|
661
|
+
function Nt(e) {
|
|
662
|
+
X(e) ? e() : e.unsubscribe();
|
|
663
|
+
}
|
|
664
|
+
var Hn = {
|
|
665
|
+
Promise: void 0
|
|
666
|
+
}, Bn = {
|
|
690
667
|
setTimeout: function(e, t) {
|
|
691
668
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
692
669
|
r[n - 2] = arguments[n];
|
|
693
|
-
return setTimeout.apply(void 0,
|
|
670
|
+
return setTimeout.apply(void 0, nt([e, t], rt(r)));
|
|
694
671
|
},
|
|
695
672
|
clearTimeout: function(e) {
|
|
696
673
|
return clearTimeout(e);
|
|
697
674
|
},
|
|
698
675
|
delegate: void 0
|
|
699
676
|
};
|
|
700
|
-
function
|
|
701
|
-
|
|
677
|
+
function An(e) {
|
|
678
|
+
Bn.setTimeout(function() {
|
|
702
679
|
throw e;
|
|
703
680
|
});
|
|
704
681
|
}
|
|
705
|
-
function
|
|
682
|
+
function Mt() {
|
|
706
683
|
}
|
|
707
684
|
function Be(e) {
|
|
708
685
|
e();
|
|
709
686
|
}
|
|
710
|
-
var
|
|
711
|
-
|
|
687
|
+
var gr = function(e) {
|
|
688
|
+
ge(t, e);
|
|
712
689
|
function t(r) {
|
|
713
690
|
var n = e.call(this) || this;
|
|
714
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
691
|
+
return n.isStopped = !1, r ? (n.destination = r, dr(r) && r.add(n)) : n.destination = Cn, n;
|
|
715
692
|
}
|
|
716
693
|
return t.create = function(r, n, i) {
|
|
717
|
-
return new
|
|
694
|
+
return new st(r, n, i);
|
|
718
695
|
}, t.prototype.next = function(r) {
|
|
719
696
|
this.isStopped || this._next(r);
|
|
720
697
|
}, t.prototype.error = function(r) {
|
|
@@ -738,11 +715,7 @@ var dr = function(e) {
|
|
|
738
715
|
this.unsubscribe();
|
|
739
716
|
}
|
|
740
717
|
}, t;
|
|
741
|
-
}(
|
|
742
|
-
function Ve(e, t) {
|
|
743
|
-
return An.call(e, t);
|
|
744
|
-
}
|
|
745
|
-
var Pn = function() {
|
|
718
|
+
}(Le), Pn = function() {
|
|
746
719
|
function e(t) {
|
|
747
720
|
this.partialObserver = t;
|
|
748
721
|
}
|
|
@@ -773,41 +746,29 @@ var Pn = function() {
|
|
|
773
746
|
xe(r);
|
|
774
747
|
}
|
|
775
748
|
}, e;
|
|
776
|
-
}(),
|
|
777
|
-
|
|
749
|
+
}(), st = function(e) {
|
|
750
|
+
ge(t, e);
|
|
778
751
|
function t(r, n, i) {
|
|
779
752
|
var s = e.call(this) || this, o;
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
};
|
|
786
|
-
else {
|
|
787
|
-
var a;
|
|
788
|
-
s && pr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
789
|
-
return s.unsubscribe();
|
|
790
|
-
}, o = {
|
|
791
|
-
next: r.next && Ve(r.next, a),
|
|
792
|
-
error: r.error && Ve(r.error, a),
|
|
793
|
-
complete: r.complete && Ve(r.complete, a)
|
|
794
|
-
}) : o = r;
|
|
795
|
-
}
|
|
796
|
-
return s.destination = new Pn(o), s;
|
|
753
|
+
return X(r) || !r ? o = {
|
|
754
|
+
next: r ?? void 0,
|
|
755
|
+
error: n ?? void 0,
|
|
756
|
+
complete: i ?? void 0
|
|
757
|
+
} : o = r, s.destination = new Pn(o), s;
|
|
797
758
|
}
|
|
798
759
|
return t;
|
|
799
|
-
}(
|
|
760
|
+
}(gr);
|
|
800
761
|
function xe(e) {
|
|
801
|
-
|
|
762
|
+
An(e);
|
|
802
763
|
}
|
|
803
764
|
function On(e) {
|
|
804
765
|
throw e;
|
|
805
766
|
}
|
|
806
767
|
var Cn = {
|
|
807
768
|
closed: !0,
|
|
808
|
-
next:
|
|
769
|
+
next: Mt,
|
|
809
770
|
error: On,
|
|
810
|
-
complete:
|
|
771
|
+
complete: Mt
|
|
811
772
|
}, In = function() {
|
|
812
773
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
813
774
|
}();
|
|
@@ -821,7 +782,7 @@ function Ln(e) {
|
|
|
821
782
|
}, r);
|
|
822
783
|
};
|
|
823
784
|
}
|
|
824
|
-
var
|
|
785
|
+
var Dt = function() {
|
|
825
786
|
function e(t) {
|
|
826
787
|
t && (this._subscribe = t);
|
|
827
788
|
}
|
|
@@ -829,7 +790,7 @@ var Mt = function() {
|
|
|
829
790
|
var r = new e();
|
|
830
791
|
return r.source = this, r.operator = t, r;
|
|
831
792
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
832
|
-
var i = this, s =
|
|
793
|
+
var i = this, s = Mn(t) ? t : new st(t, r, n);
|
|
833
794
|
return Be(function() {
|
|
834
795
|
var o = i, a = o.operator, h = o.source;
|
|
835
796
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
|
@@ -842,8 +803,8 @@ var Mt = function() {
|
|
|
842
803
|
}
|
|
843
804
|
}, e.prototype.forEach = function(t, r) {
|
|
844
805
|
var n = this;
|
|
845
|
-
return r =
|
|
846
|
-
var o = new
|
|
806
|
+
return r = Ft(r), new r(function(i, s) {
|
|
807
|
+
var o = new st({
|
|
847
808
|
next: function(a) {
|
|
848
809
|
try {
|
|
849
810
|
t(a);
|
|
@@ -867,7 +828,7 @@ var Mt = function() {
|
|
|
867
828
|
return Ln(t)(this);
|
|
868
829
|
}, e.prototype.toPromise = function(t) {
|
|
869
830
|
var r = this;
|
|
870
|
-
return t =
|
|
831
|
+
return t = Ft(t), new t(function(n, i) {
|
|
871
832
|
var s;
|
|
872
833
|
r.subscribe(function(o) {
|
|
873
834
|
return s = o;
|
|
@@ -881,28 +842,28 @@ var Mt = function() {
|
|
|
881
842
|
return new e(t);
|
|
882
843
|
}, e;
|
|
883
844
|
}();
|
|
884
|
-
function
|
|
845
|
+
function Ft(e) {
|
|
885
846
|
var t;
|
|
886
|
-
return (t = e ??
|
|
887
|
-
}
|
|
888
|
-
function Mn(e) {
|
|
889
|
-
return e && V(e.next) && V(e.error) && V(e.complete);
|
|
847
|
+
return (t = e ?? Hn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
890
848
|
}
|
|
891
849
|
function Nn(e) {
|
|
892
|
-
return e && e
|
|
850
|
+
return e && X(e.next) && X(e.error) && X(e.complete);
|
|
893
851
|
}
|
|
894
|
-
|
|
852
|
+
function Mn(e) {
|
|
853
|
+
return e && e instanceof gr || Nn(e) && dr(e);
|
|
854
|
+
}
|
|
855
|
+
var Dn = pr(function(e) {
|
|
895
856
|
return function() {
|
|
896
857
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
897
858
|
};
|
|
898
|
-
}),
|
|
899
|
-
|
|
859
|
+
}), br = function(e) {
|
|
860
|
+
ge(t, e);
|
|
900
861
|
function t() {
|
|
901
862
|
var r = e.call(this) || this;
|
|
902
863
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
903
864
|
}
|
|
904
865
|
return t.prototype.lift = function(r) {
|
|
905
|
-
var n = new
|
|
866
|
+
var n = new Ut(this, this);
|
|
906
867
|
return n.operator = r, n;
|
|
907
868
|
}, t.prototype._throwIfClosed = function() {
|
|
908
869
|
if (this.closed)
|
|
@@ -914,7 +875,7 @@ var Dn = fr(function(e) {
|
|
|
914
875
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
915
876
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
916
877
|
try {
|
|
917
|
-
for (var o =
|
|
878
|
+
for (var o = tt(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
918
879
|
var h = a.value;
|
|
919
880
|
h.next(r);
|
|
920
881
|
}
|
|
@@ -963,20 +924,20 @@ var Dn = fr(function(e) {
|
|
|
963
924
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
964
925
|
}, t.prototype._innerSubscribe = function(r) {
|
|
965
926
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
966
|
-
return s || o ?
|
|
967
|
-
n.currentObservers = null,
|
|
927
|
+
return s || o ? mr : (this.currentObservers = null, a.push(r), new Le(function() {
|
|
928
|
+
n.currentObservers = null, it(a, r);
|
|
968
929
|
}));
|
|
969
930
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
970
931
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
971
932
|
i ? r.error(s) : o && r.complete();
|
|
972
933
|
}, t.prototype.asObservable = function() {
|
|
973
|
-
var r = new
|
|
934
|
+
var r = new Dt();
|
|
974
935
|
return r.source = this, r;
|
|
975
936
|
}, t.create = function(r, n) {
|
|
976
|
-
return new
|
|
937
|
+
return new Ut(r, n);
|
|
977
938
|
}, t;
|
|
978
|
-
}(
|
|
979
|
-
|
|
939
|
+
}(Dt), Ut = function(e) {
|
|
940
|
+
ge(t, e);
|
|
980
941
|
function t(r, n) {
|
|
981
942
|
var i = e.call(this) || this;
|
|
982
943
|
return i.destination = r, i.source = n, i;
|
|
@@ -992,17 +953,17 @@ var Dn = fr(function(e) {
|
|
|
992
953
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
993
954
|
}, t.prototype._subscribe = function(r) {
|
|
994
955
|
var n, i;
|
|
995
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
956
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : mr;
|
|
996
957
|
}, t;
|
|
997
|
-
}(
|
|
958
|
+
}(br), yr = {
|
|
998
959
|
now: function() {
|
|
999
|
-
return (
|
|
960
|
+
return (yr.delegate || Date).now();
|
|
1000
961
|
},
|
|
1001
962
|
delegate: void 0
|
|
1002
963
|
}, Fn = function(e) {
|
|
1003
|
-
|
|
964
|
+
ge(t, e);
|
|
1004
965
|
function t(r, n, i) {
|
|
1005
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
966
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = yr);
|
|
1006
967
|
var s = e.call(this) || this;
|
|
1007
968
|
return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
|
|
1008
969
|
}
|
|
@@ -1022,24 +983,24 @@ var Dn = fr(function(e) {
|
|
|
1022
983
|
l && s.splice(0, l + 1);
|
|
1023
984
|
}
|
|
1024
985
|
}, t;
|
|
1025
|
-
}(
|
|
1026
|
-
const
|
|
1027
|
-
if (
|
|
986
|
+
}(br);
|
|
987
|
+
const kt = [], Gt = {}, Un = (e, t = 0) => {
|
|
988
|
+
if (kt.indexOf(e) == -1) {
|
|
1028
989
|
const r = new Fn(t);
|
|
1029
|
-
|
|
990
|
+
Gt[e] = r, kt.push(e);
|
|
1030
991
|
}
|
|
1031
|
-
return
|
|
992
|
+
return Gt[e];
|
|
1032
993
|
}, Q = [];
|
|
1033
994
|
function kn(e, t) {
|
|
1034
995
|
return {
|
|
1035
|
-
subscribe:
|
|
996
|
+
subscribe: Ne(e, t).subscribe
|
|
1036
997
|
};
|
|
1037
998
|
}
|
|
1038
|
-
function
|
|
999
|
+
function Ne(e, t = k) {
|
|
1039
1000
|
let r;
|
|
1040
1001
|
const n = /* @__PURE__ */ new Set();
|
|
1041
1002
|
function i(a) {
|
|
1042
|
-
if (
|
|
1003
|
+
if (hr(e, a) && (e = a, r)) {
|
|
1043
1004
|
const h = !Q.length;
|
|
1044
1005
|
for (const l of n)
|
|
1045
1006
|
l[1](), Q.push(l, e);
|
|
@@ -1061,7 +1022,7 @@ function Le(e, t = k) {
|
|
|
1061
1022
|
}
|
|
1062
1023
|
return { set: i, update: s, subscribe: o };
|
|
1063
1024
|
}
|
|
1064
|
-
function
|
|
1025
|
+
function se(e, t, r) {
|
|
1065
1026
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1066
1027
|
if (!i.every(Boolean))
|
|
1067
1028
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1070,25 +1031,25 @@ function oe(e, t, r) {
|
|
|
1070
1031
|
let h = !1;
|
|
1071
1032
|
const l = [];
|
|
1072
1033
|
let u = 0, c = k;
|
|
1073
|
-
const
|
|
1034
|
+
const m = () => {
|
|
1074
1035
|
if (u)
|
|
1075
1036
|
return;
|
|
1076
1037
|
c();
|
|
1077
1038
|
const g = t(n ? l[0] : l, o, a);
|
|
1078
|
-
s ? o(g) : c =
|
|
1039
|
+
s ? o(g) : c = dt(g) ? g : k;
|
|
1079
1040
|
}, y = i.map(
|
|
1080
|
-
(g, d) =>
|
|
1041
|
+
(g, d) => fr(
|
|
1081
1042
|
g,
|
|
1082
1043
|
(b) => {
|
|
1083
|
-
l[d] = b, u &= ~(1 << d), h &&
|
|
1044
|
+
l[d] = b, u &= ~(1 << d), h && m();
|
|
1084
1045
|
},
|
|
1085
1046
|
() => {
|
|
1086
1047
|
u |= 1 << d;
|
|
1087
1048
|
}
|
|
1088
1049
|
)
|
|
1089
1050
|
);
|
|
1090
|
-
return h = !0,
|
|
1091
|
-
|
|
1051
|
+
return h = !0, m(), function() {
|
|
1052
|
+
de(y), c(), h = !1;
|
|
1092
1053
|
};
|
|
1093
1054
|
});
|
|
1094
1055
|
}
|
|
@@ -1113,7 +1074,7 @@ function Zn(e) {
|
|
|
1113
1074
|
return Array.isArray(e) ? [] : {};
|
|
1114
1075
|
}
|
|
1115
1076
|
function pe(e, t) {
|
|
1116
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1077
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? te(Zn(e), e, t) : e;
|
|
1117
1078
|
}
|
|
1118
1079
|
function Jn(e, t, r) {
|
|
1119
1080
|
return e.concat(t).map(function(n) {
|
|
@@ -1122,19 +1083,19 @@ function Jn(e, t, r) {
|
|
|
1122
1083
|
}
|
|
1123
1084
|
function qn(e, t) {
|
|
1124
1085
|
if (!t.customMerge)
|
|
1125
|
-
return
|
|
1086
|
+
return te;
|
|
1126
1087
|
var r = t.customMerge(e);
|
|
1127
|
-
return typeof r == "function" ? r :
|
|
1088
|
+
return typeof r == "function" ? r : te;
|
|
1128
1089
|
}
|
|
1129
1090
|
function Qn(e) {
|
|
1130
1091
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1131
1092
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1132
1093
|
}) : [];
|
|
1133
1094
|
}
|
|
1134
|
-
function
|
|
1095
|
+
function jt(e) {
|
|
1135
1096
|
return Object.keys(e).concat(Qn(e));
|
|
1136
1097
|
}
|
|
1137
|
-
function
|
|
1098
|
+
function vr(e, t) {
|
|
1138
1099
|
try {
|
|
1139
1100
|
return t in e;
|
|
1140
1101
|
} catch {
|
|
@@ -1142,129 +1103,179 @@ function yr(e, t) {
|
|
|
1142
1103
|
}
|
|
1143
1104
|
}
|
|
1144
1105
|
function Yn(e, t) {
|
|
1145
|
-
return
|
|
1106
|
+
return vr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1146
1107
|
}
|
|
1147
1108
|
function Kn(e, t, r) {
|
|
1148
1109
|
var n = {};
|
|
1149
|
-
return r.isMergeableObject(e) &&
|
|
1110
|
+
return r.isMergeableObject(e) && jt(e).forEach(function(i) {
|
|
1150
1111
|
n[i] = pe(e[i], r);
|
|
1151
|
-
}),
|
|
1152
|
-
Yn(e, i) || (
|
|
1112
|
+
}), jt(t).forEach(function(i) {
|
|
1113
|
+
Yn(e, i) || (vr(e, i) && r.isMergeableObject(t[i]) ? n[i] = qn(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
|
|
1153
1114
|
}), n;
|
|
1154
1115
|
}
|
|
1155
|
-
function
|
|
1116
|
+
function te(e, t, r) {
|
|
1156
1117
|
r = r || {}, r.arrayMerge = r.arrayMerge || Jn, r.isMergeableObject = r.isMergeableObject || jn, r.cloneUnlessOtherwiseSpecified = pe;
|
|
1157
1118
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1158
1119
|
return s ? n ? r.arrayMerge(e, t, r) : Kn(e, t, r) : pe(t, r);
|
|
1159
1120
|
}
|
|
1160
|
-
|
|
1121
|
+
te.all = function(t, r) {
|
|
1161
1122
|
if (!Array.isArray(t))
|
|
1162
1123
|
throw new Error("first argument should be an array");
|
|
1163
1124
|
return t.reduce(function(n, i) {
|
|
1164
|
-
return
|
|
1125
|
+
return te(n, i, r);
|
|
1165
1126
|
}, {});
|
|
1166
1127
|
};
|
|
1167
|
-
var ei =
|
|
1128
|
+
var ei = te, ti = ei;
|
|
1168
1129
|
const ri = /* @__PURE__ */ Gn(ti);
|
|
1169
|
-
function
|
|
1170
|
-
|
|
1130
|
+
var ot = function(e, t) {
|
|
1131
|
+
return ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
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;
|
|
1171
1174
|
return i(e, {
|
|
1172
1175
|
cache: r,
|
|
1173
1176
|
serializer: n
|
|
1174
1177
|
});
|
|
1175
1178
|
}
|
|
1176
|
-
function
|
|
1179
|
+
function ii(e) {
|
|
1177
1180
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1178
1181
|
}
|
|
1179
|
-
function
|
|
1180
|
-
var i =
|
|
1182
|
+
function si(e, t, r, n) {
|
|
1183
|
+
var i = ii(n) ? n : r(n), s = t.get(i);
|
|
1181
1184
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1182
1185
|
}
|
|
1183
1186
|
function _r(e, t, r) {
|
|
1184
1187
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1185
1188
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1186
1189
|
}
|
|
1187
|
-
function
|
|
1190
|
+
function Er(e, t, r, n, i) {
|
|
1188
1191
|
return r.bind(t, e, n, i);
|
|
1189
1192
|
}
|
|
1190
|
-
function ii(e, t) {
|
|
1191
|
-
var r = e.length === 1 ? vr : _r;
|
|
1192
|
-
return ct(e, this, r, t.cache.create(), t.serializer);
|
|
1193
|
-
}
|
|
1194
|
-
function si(e, t) {
|
|
1195
|
-
return ct(e, this, _r, t.cache.create(), t.serializer);
|
|
1196
|
-
}
|
|
1197
1193
|
function oi(e, t) {
|
|
1198
|
-
|
|
1194
|
+
var r = e.length === 1 ? si : _r;
|
|
1195
|
+
return Er(e, this, r, t.cache.create(), t.serializer);
|
|
1199
1196
|
}
|
|
1200
|
-
|
|
1201
|
-
return
|
|
1202
|
-
};
|
|
1203
|
-
function mt() {
|
|
1204
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1197
|
+
function ai(e, t) {
|
|
1198
|
+
return Er(e, this, _r, t.cache.create(), t.serializer);
|
|
1205
1199
|
}
|
|
1206
|
-
|
|
1207
|
-
return
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1200
|
+
var ui = function() {
|
|
1201
|
+
return JSON.stringify(arguments);
|
|
1202
|
+
}, li = (
|
|
1203
|
+
/** @class */
|
|
1204
|
+
function() {
|
|
1205
|
+
function e() {
|
|
1206
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1207
|
+
}
|
|
1208
|
+
return e.prototype.get = function(t) {
|
|
1209
|
+
return this.cache[t];
|
|
1210
|
+
}, e.prototype.set = function(t, r) {
|
|
1211
|
+
this.cache[t] = r;
|
|
1212
|
+
}, e;
|
|
1213
|
+
}()
|
|
1214
|
+
), hi = {
|
|
1213
1215
|
create: function() {
|
|
1214
|
-
return new
|
|
1216
|
+
return new li();
|
|
1215
1217
|
}
|
|
1216
|
-
},
|
|
1217
|
-
variadic:
|
|
1218
|
-
|
|
1219
|
-
|
|
1218
|
+
}, Ze = {
|
|
1219
|
+
variadic: ai
|
|
1220
|
+
}, Ce = function() {
|
|
1221
|
+
return Ce = Object.assign || function(t) {
|
|
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;
|
|
1220
1231
|
(function(e) {
|
|
1221
1232
|
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";
|
|
1222
1233
|
})(v || (v = {}));
|
|
1223
|
-
var
|
|
1234
|
+
var x;
|
|
1224
1235
|
(function(e) {
|
|
1225
1236
|
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";
|
|
1226
|
-
})(
|
|
1227
|
-
var
|
|
1237
|
+
})(x || (x = {}));
|
|
1238
|
+
var re;
|
|
1228
1239
|
(function(e) {
|
|
1229
1240
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1230
|
-
})(
|
|
1231
|
-
function
|
|
1232
|
-
return e.type ===
|
|
1233
|
-
}
|
|
1234
|
-
function li(e) {
|
|
1235
|
-
return e.type === T.argument;
|
|
1241
|
+
})(re || (re = {}));
|
|
1242
|
+
function $t(e) {
|
|
1243
|
+
return e.type === x.literal;
|
|
1236
1244
|
}
|
|
1237
|
-
function
|
|
1238
|
-
return e.type ===
|
|
1245
|
+
function fi(e) {
|
|
1246
|
+
return e.type === x.argument;
|
|
1239
1247
|
}
|
|
1240
1248
|
function wr(e) {
|
|
1241
|
-
return e.type ===
|
|
1249
|
+
return e.type === x.number;
|
|
1242
1250
|
}
|
|
1243
1251
|
function Sr(e) {
|
|
1244
|
-
return e.type ===
|
|
1252
|
+
return e.type === x.date;
|
|
1245
1253
|
}
|
|
1246
1254
|
function xr(e) {
|
|
1247
|
-
return e.type ===
|
|
1255
|
+
return e.type === x.time;
|
|
1248
1256
|
}
|
|
1249
1257
|
function Tr(e) {
|
|
1250
|
-
return e.type ===
|
|
1251
|
-
}
|
|
1252
|
-
function hi(e) {
|
|
1253
|
-
return e.type === T.pound;
|
|
1258
|
+
return e.type === x.select;
|
|
1254
1259
|
}
|
|
1255
1260
|
function Hr(e) {
|
|
1256
|
-
return e.type ===
|
|
1261
|
+
return e.type === x.plural;
|
|
1262
|
+
}
|
|
1263
|
+
function ci(e) {
|
|
1264
|
+
return e.type === x.pound;
|
|
1257
1265
|
}
|
|
1258
1266
|
function Br(e) {
|
|
1259
|
-
return
|
|
1267
|
+
return e.type === x.tag;
|
|
1260
1268
|
}
|
|
1261
|
-
function
|
|
1262
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1269
|
+
function Ar(e) {
|
|
1270
|
+
return !!(e && typeof e == "object" && e.type === re.number);
|
|
1263
1271
|
}
|
|
1264
|
-
|
|
1265
|
-
|
|
1272
|
+
function at(e) {
|
|
1273
|
+
return !!(e && typeof e == "object" && e.type === re.dateTime);
|
|
1274
|
+
}
|
|
1275
|
+
var Pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[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;
|
|
1276
|
+
function mi(e) {
|
|
1266
1277
|
var t = {};
|
|
1267
|
-
return e.replace(
|
|
1278
|
+
return e.replace(pi, function(r) {
|
|
1268
1279
|
var n = r.length;
|
|
1269
1280
|
switch (r[0]) {
|
|
1270
1281
|
case "G":
|
|
@@ -1353,12 +1364,22 @@ function ci(e) {
|
|
|
1353
1364
|
return "";
|
|
1354
1365
|
}), t;
|
|
1355
1366
|
}
|
|
1356
|
-
var
|
|
1357
|
-
function
|
|
1367
|
+
var A = function() {
|
|
1368
|
+
return A = Object.assign || function(t) {
|
|
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) {
|
|
1358
1379
|
if (e.length === 0)
|
|
1359
1380
|
throw new Error("Number skeleton cannot be empty");
|
|
1360
|
-
for (var t = e.split(
|
|
1361
|
-
return
|
|
1381
|
+
for (var t = e.split(di).filter(function(m) {
|
|
1382
|
+
return m.length > 0;
|
|
1362
1383
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1363
1384
|
var s = i[n], o = s.split("/");
|
|
1364
1385
|
if (o.length === 0)
|
|
@@ -1372,17 +1393,17 @@ function pi(e) {
|
|
|
1372
1393
|
}
|
|
1373
1394
|
return r;
|
|
1374
1395
|
}
|
|
1375
|
-
function
|
|
1396
|
+
function bi(e) {
|
|
1376
1397
|
return e.replace(/^(.*?)-/, "");
|
|
1377
1398
|
}
|
|
1378
|
-
var
|
|
1379
|
-
function
|
|
1399
|
+
var Vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Or = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, Cr = /^(0+)$/;
|
|
1400
|
+
function Xt(e) {
|
|
1380
1401
|
var t = {};
|
|
1381
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1402
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Or, function(r, n, i) {
|
|
1382
1403
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1383
1404
|
}), t;
|
|
1384
1405
|
}
|
|
1385
|
-
function
|
|
1406
|
+
function Ir(e) {
|
|
1386
1407
|
switch (e) {
|
|
1387
1408
|
case "sign-auto":
|
|
1388
1409
|
return {
|
|
@@ -1422,7 +1443,7 @@ function Cr(e) {
|
|
|
1422
1443
|
};
|
|
1423
1444
|
}
|
|
1424
1445
|
}
|
|
1425
|
-
function
|
|
1446
|
+
function vi(e) {
|
|
1426
1447
|
var t;
|
|
1427
1448
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1428
1449
|
notation: "engineering"
|
|
@@ -1430,17 +1451,17 @@ function bi(e) {
|
|
|
1430
1451
|
notation: "scientific"
|
|
1431
1452
|
}, e = e.slice(1)), t) {
|
|
1432
1453
|
var r = e.slice(0, 2);
|
|
1433
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1454
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Cr.test(e))
|
|
1434
1455
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1435
1456
|
t.minimumIntegerDigits = e.length;
|
|
1436
1457
|
}
|
|
1437
1458
|
return t;
|
|
1438
1459
|
}
|
|
1439
|
-
function
|
|
1440
|
-
var t = {}, r =
|
|
1460
|
+
function Wt(e) {
|
|
1461
|
+
var t = {}, r = Ir(e);
|
|
1441
1462
|
return r || t;
|
|
1442
1463
|
}
|
|
1443
|
-
function
|
|
1464
|
+
function _i(e) {
|
|
1444
1465
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1445
1466
|
var i = n[r];
|
|
1446
1467
|
switch (i.stem) {
|
|
@@ -1464,7 +1485,7 @@ function yi(e) {
|
|
|
1464
1485
|
continue;
|
|
1465
1486
|
case "measure-unit":
|
|
1466
1487
|
case "unit":
|
|
1467
|
-
t.style = "unit", t.unit =
|
|
1488
|
+
t.style = "unit", t.unit = bi(i.options[0]);
|
|
1468
1489
|
continue;
|
|
1469
1490
|
case "compact-short":
|
|
1470
1491
|
case "K":
|
|
@@ -1475,13 +1496,13 @@ function yi(e) {
|
|
|
1475
1496
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1476
1497
|
continue;
|
|
1477
1498
|
case "scientific":
|
|
1478
|
-
t =
|
|
1479
|
-
return
|
|
1499
|
+
t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
|
1500
|
+
return A(A({}, h), Wt(l));
|
|
1480
1501
|
}, {}));
|
|
1481
1502
|
continue;
|
|
1482
1503
|
case "engineering":
|
|
1483
|
-
t =
|
|
1484
|
-
return
|
|
1504
|
+
t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
|
1505
|
+
return A(A({}, h), Wt(l));
|
|
1485
1506
|
}, {}));
|
|
1486
1507
|
continue;
|
|
1487
1508
|
case "notation-simple":
|
|
@@ -1526,11 +1547,11 @@ function yi(e) {
|
|
|
1526
1547
|
case "integer-width":
|
|
1527
1548
|
if (i.options.length > 1)
|
|
1528
1549
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1529
|
-
i.options[0].replace(
|
|
1550
|
+
i.options[0].replace(yi, function(h, l, u, c, m, y) {
|
|
1530
1551
|
if (l)
|
|
1531
1552
|
t.minimumIntegerDigits = u.length;
|
|
1532
1553
|
else {
|
|
1533
|
-
if (c &&
|
|
1554
|
+
if (c && m)
|
|
1534
1555
|
throw new Error("We currently do not support maximum integer digits");
|
|
1535
1556
|
if (y)
|
|
1536
1557
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1539,28 +1560,28 @@ function yi(e) {
|
|
|
1539
1560
|
});
|
|
1540
1561
|
continue;
|
|
1541
1562
|
}
|
|
1542
|
-
if (
|
|
1563
|
+
if (Cr.test(i.stem)) {
|
|
1543
1564
|
t.minimumIntegerDigits = i.stem.length;
|
|
1544
1565
|
continue;
|
|
1545
1566
|
}
|
|
1546
|
-
if (
|
|
1567
|
+
if (Vt.test(i.stem)) {
|
|
1547
1568
|
if (i.options.length > 1)
|
|
1548
1569
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1549
|
-
i.stem.replace(
|
|
1550
|
-
return u === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length :
|
|
1570
|
+
i.stem.replace(Vt, function(h, l, u, c, m, y) {
|
|
1571
|
+
return u === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && y ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1551
1572
|
});
|
|
1552
1573
|
var s = i.options[0];
|
|
1553
|
-
s === "w" ? t =
|
|
1574
|
+
s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), Xt(s)));
|
|
1554
1575
|
continue;
|
|
1555
1576
|
}
|
|
1556
|
-
if (
|
|
1557
|
-
t =
|
|
1577
|
+
if (Or.test(i.stem)) {
|
|
1578
|
+
t = A(A({}, t), Xt(i.stem));
|
|
1558
1579
|
continue;
|
|
1559
1580
|
}
|
|
1560
|
-
var o =
|
|
1561
|
-
o && (t =
|
|
1562
|
-
var a =
|
|
1563
|
-
a && (t =
|
|
1581
|
+
var o = Ir(i.stem);
|
|
1582
|
+
o && (t = A(A({}, t), o));
|
|
1583
|
+
var a = vi(i.stem);
|
|
1584
|
+
a && (t = A(A({}, t), a));
|
|
1564
1585
|
}
|
|
1565
1586
|
return t;
|
|
1566
1587
|
}
|
|
@@ -2979,13 +3000,13 @@ var Te = {
|
|
|
2979
3000
|
"h"
|
|
2980
3001
|
]
|
|
2981
3002
|
};
|
|
2982
|
-
function
|
|
3003
|
+
function Ei(e, t) {
|
|
2983
3004
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2984
3005
|
var i = e.charAt(n);
|
|
2985
3006
|
if (i === "j") {
|
|
2986
3007
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2987
3008
|
s++, n++;
|
|
2988
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l =
|
|
3009
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = wi(t);
|
|
2989
3010
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2990
3011
|
r += h;
|
|
2991
3012
|
for (; o-- > 0; )
|
|
@@ -2995,7 +3016,7 @@ function vi(e, t) {
|
|
|
2995
3016
|
}
|
|
2996
3017
|
return r;
|
|
2997
3018
|
}
|
|
2998
|
-
function
|
|
3019
|
+
function wi(e) {
|
|
2999
3020
|
var t = e.hourCycle;
|
|
3000
3021
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3001
3022
|
e.hourCycles && // @ts-ignore
|
|
@@ -3017,20 +3038,20 @@ function _i(e) {
|
|
|
3017
3038
|
var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
|
|
3018
3039
|
return i[0];
|
|
3019
3040
|
}
|
|
3020
|
-
var
|
|
3041
|
+
var Je, Si = new RegExp("^".concat(Pr.source, "*")), xi = new RegExp("".concat(Pr.source, "*$"));
|
|
3021
3042
|
function _(e, t) {
|
|
3022
3043
|
return { start: e, end: t };
|
|
3023
3044
|
}
|
|
3024
|
-
var
|
|
3045
|
+
var Ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hi = !!String.fromCodePoint, Bi = !!Object.fromEntries, Ai = !!String.prototype.codePointAt, Pi = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Ci = !!Number.isSafeInteger, Ii = Ci ? Number.isSafeInteger : function(e) {
|
|
3025
3046
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3026
|
-
},
|
|
3047
|
+
}, ut = !0;
|
|
3027
3048
|
try {
|
|
3028
|
-
var
|
|
3029
|
-
|
|
3049
|
+
var Ri = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3050
|
+
ut = ((Je = Ri.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
|
|
3030
3051
|
} catch {
|
|
3031
|
-
|
|
3052
|
+
ut = !1;
|
|
3032
3053
|
}
|
|
3033
|
-
var
|
|
3054
|
+
var zt = Ti ? (
|
|
3034
3055
|
// Native
|
|
3035
3056
|
function(t, r, n) {
|
|
3036
3057
|
return t.startsWith(r, n);
|
|
@@ -3040,7 +3061,7 @@ var Xt = Si ? (
|
|
|
3040
3061
|
function(t, r, n) {
|
|
3041
3062
|
return t.slice(n, n + r.length) === r;
|
|
3042
3063
|
}
|
|
3043
|
-
),
|
|
3064
|
+
), lt = Hi ? String.fromCodePoint : (
|
|
3044
3065
|
// IE11
|
|
3045
3066
|
function() {
|
|
3046
3067
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3052,9 +3073,9 @@ var Xt = Si ? (
|
|
|
3052
3073
|
}
|
|
3053
3074
|
return n;
|
|
3054
3075
|
}
|
|
3055
|
-
),
|
|
3076
|
+
), Zt = (
|
|
3056
3077
|
// native
|
|
3057
|
-
|
|
3078
|
+
Bi ? Object.fromEntries : (
|
|
3058
3079
|
// Ponyfill
|
|
3059
3080
|
function(t) {
|
|
3060
3081
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3064,7 +3085,7 @@ var Xt = Si ? (
|
|
|
3064
3085
|
return r;
|
|
3065
3086
|
}
|
|
3066
3087
|
)
|
|
3067
|
-
),
|
|
3088
|
+
), Rr = Ai ? (
|
|
3068
3089
|
// Native
|
|
3069
3090
|
function(t, r) {
|
|
3070
3091
|
return t.codePointAt(r);
|
|
@@ -3078,7 +3099,7 @@ var Xt = Si ? (
|
|
|
3078
3099
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3079
3100
|
}
|
|
3080
3101
|
}
|
|
3081
|
-
),
|
|
3102
|
+
), Li = Pi ? (
|
|
3082
3103
|
// Native
|
|
3083
3104
|
function(t) {
|
|
3084
3105
|
return t.trimStart();
|
|
@@ -3086,9 +3107,9 @@ var Xt = Si ? (
|
|
|
3086
3107
|
) : (
|
|
3087
3108
|
// Ponyfill
|
|
3088
3109
|
function(t) {
|
|
3089
|
-
return t.replace(
|
|
3110
|
+
return t.replace(Si, "");
|
|
3090
3111
|
}
|
|
3091
|
-
),
|
|
3112
|
+
), Ni = Oi ? (
|
|
3092
3113
|
// Native
|
|
3093
3114
|
function(t) {
|
|
3094
3115
|
return t.trimEnd();
|
|
@@ -3096,32 +3117,32 @@ var Xt = Si ? (
|
|
|
3096
3117
|
) : (
|
|
3097
3118
|
// Ponyfill
|
|
3098
3119
|
function(t) {
|
|
3099
|
-
return t.replace(
|
|
3120
|
+
return t.replace(xi, "");
|
|
3100
3121
|
}
|
|
3101
3122
|
);
|
|
3102
|
-
function
|
|
3123
|
+
function Lr(e, t) {
|
|
3103
3124
|
return new RegExp(e, t);
|
|
3104
3125
|
}
|
|
3105
|
-
var
|
|
3106
|
-
if (
|
|
3107
|
-
var
|
|
3108
|
-
|
|
3126
|
+
var ht;
|
|
3127
|
+
if (ut) {
|
|
3128
|
+
var Jt = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3129
|
+
ht = function(t, r) {
|
|
3109
3130
|
var n;
|
|
3110
|
-
|
|
3111
|
-
var i =
|
|
3131
|
+
Jt.lastIndex = r;
|
|
3132
|
+
var i = Jt.exec(t);
|
|
3112
3133
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3113
3134
|
};
|
|
3114
3135
|
} else
|
|
3115
|
-
|
|
3136
|
+
ht = function(t, r) {
|
|
3116
3137
|
for (var n = []; ; ) {
|
|
3117
|
-
var i =
|
|
3118
|
-
if (i === void 0 ||
|
|
3138
|
+
var i = Rr(t, r);
|
|
3139
|
+
if (i === void 0 || Nr(i) || Ui(i))
|
|
3119
3140
|
break;
|
|
3120
3141
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3121
3142
|
}
|
|
3122
|
-
return
|
|
3143
|
+
return lt.apply(void 0, n);
|
|
3123
3144
|
};
|
|
3124
|
-
var
|
|
3145
|
+
var Mi = (
|
|
3125
3146
|
/** @class */
|
|
3126
3147
|
function() {
|
|
3127
3148
|
function e(t, r) {
|
|
@@ -3145,14 +3166,14 @@ var Li = (
|
|
|
3145
3166
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3146
3167
|
var a = this.clonePosition();
|
|
3147
3168
|
this.bump(), i.push({
|
|
3148
|
-
type:
|
|
3169
|
+
type: x.pound,
|
|
3149
3170
|
location: _(a, this.clonePosition())
|
|
3150
3171
|
});
|
|
3151
3172
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3152
3173
|
if (n)
|
|
3153
3174
|
break;
|
|
3154
3175
|
return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3155
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3176
|
+
} else if (s === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
|
|
3156
3177
|
var o = this.parseTag(t, r);
|
|
3157
3178
|
if (o.err)
|
|
3158
3179
|
return o;
|
|
@@ -3173,7 +3194,7 @@ var Li = (
|
|
|
3173
3194
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3174
3195
|
return {
|
|
3175
3196
|
val: {
|
|
3176
|
-
type:
|
|
3197
|
+
type: x.literal,
|
|
3177
3198
|
value: "<".concat(i, "/>"),
|
|
3178
3199
|
location: _(n, this.clonePosition())
|
|
3179
3200
|
},
|
|
@@ -3185,12 +3206,12 @@ var Li = (
|
|
|
3185
3206
|
return s;
|
|
3186
3207
|
var o = s.val, a = this.clonePosition();
|
|
3187
3208
|
if (this.bumpIf("</")) {
|
|
3188
|
-
if (this.isEOF() || !
|
|
3209
|
+
if (this.isEOF() || !ft(this.char()))
|
|
3189
3210
|
return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
|
|
3190
3211
|
var h = this.clonePosition(), l = this.parseTagName();
|
|
3191
3212
|
return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3192
3213
|
val: {
|
|
3193
|
-
type:
|
|
3214
|
+
type: x.tag,
|
|
3194
3215
|
value: i,
|
|
3195
3216
|
children: o,
|
|
3196
3217
|
location: _(n, this.clonePosition())
|
|
@@ -3203,7 +3224,7 @@ var Li = (
|
|
|
3203
3224
|
return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
|
|
3204
3225
|
}, e.prototype.parseTagName = function() {
|
|
3205
3226
|
var t = this.offset();
|
|
3206
|
-
for (this.bump(); !this.isEOF() &&
|
|
3227
|
+
for (this.bump(); !this.isEOF() && Fi(this.char()); )
|
|
3207
3228
|
this.bump();
|
|
3208
3229
|
return this.message.slice(t, this.offset());
|
|
3209
3230
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3227,12 +3248,12 @@ var Li = (
|
|
|
3227
3248
|
}
|
|
3228
3249
|
var h = _(n, this.clonePosition());
|
|
3229
3250
|
return {
|
|
3230
|
-
val: { type:
|
|
3251
|
+
val: { type: x.literal, value: i, location: h },
|
|
3231
3252
|
err: null
|
|
3232
3253
|
};
|
|
3233
3254
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3234
3255
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3235
|
-
!
|
|
3256
|
+
!Di(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3236
3257
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3237
3258
|
if (this.isEOF() || this.char() !== 39)
|
|
3238
3259
|
return null;
|
|
@@ -3266,12 +3287,12 @@ var Li = (
|
|
|
3266
3287
|
r.push(n);
|
|
3267
3288
|
this.bump();
|
|
3268
3289
|
}
|
|
3269
|
-
return
|
|
3290
|
+
return lt.apply(void 0, r);
|
|
3270
3291
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3271
3292
|
if (this.isEOF())
|
|
3272
3293
|
return null;
|
|
3273
3294
|
var n = this.char();
|
|
3274
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3295
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), lt(n));
|
|
3275
3296
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3276
3297
|
var n = this.clonePosition();
|
|
3277
3298
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3287,7 +3308,7 @@ var Li = (
|
|
|
3287
3308
|
case 125:
|
|
3288
3309
|
return this.bump(), {
|
|
3289
3310
|
val: {
|
|
3290
|
-
type:
|
|
3311
|
+
type: x.argument,
|
|
3291
3312
|
// value does not include the opening and closing braces.
|
|
3292
3313
|
value: i,
|
|
3293
3314
|
location: _(n, this.clonePosition())
|
|
@@ -3300,7 +3321,7 @@ var Li = (
|
|
|
3300
3321
|
return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3301
3322
|
}
|
|
3302
3323
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3303
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3324
|
+
var t = this.clonePosition(), r = this.offset(), n = ht(this.message, r), i = r + n.length;
|
|
3304
3325
|
this.bumpTo(i);
|
|
3305
3326
|
var s = this.clonePosition(), o = _(t, s);
|
|
3306
3327
|
return { value: n, location: o };
|
|
@@ -3319,44 +3340,44 @@ var Li = (
|
|
|
3319
3340
|
var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3320
3341
|
if (c.err)
|
|
3321
3342
|
return c;
|
|
3322
|
-
var
|
|
3323
|
-
if (
|
|
3343
|
+
var m = Ni(c.val);
|
|
3344
|
+
if (m.length === 0)
|
|
3324
3345
|
return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3325
3346
|
var y = _(u, this.clonePosition());
|
|
3326
|
-
l = { style:
|
|
3347
|
+
l = { style: m, styleLocation: y };
|
|
3327
3348
|
}
|
|
3328
3349
|
var g = this.tryParseArgumentClose(i);
|
|
3329
3350
|
if (g.err)
|
|
3330
3351
|
return g;
|
|
3331
3352
|
var d = _(i, this.clonePosition());
|
|
3332
|
-
if (l &&
|
|
3333
|
-
var b =
|
|
3353
|
+
if (l && zt(l?.style, "::", 0)) {
|
|
3354
|
+
var b = Li(l.style.slice(2));
|
|
3334
3355
|
if (a === "number") {
|
|
3335
3356
|
var c = this.parseNumberSkeletonFromString(b, l.styleLocation);
|
|
3336
3357
|
return c.err ? c : {
|
|
3337
|
-
val: { type:
|
|
3358
|
+
val: { type: x.number, value: n, location: d, style: c.val },
|
|
3338
3359
|
err: null
|
|
3339
3360
|
};
|
|
3340
3361
|
} else {
|
|
3341
3362
|
if (b.length === 0)
|
|
3342
3363
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, d);
|
|
3343
|
-
var
|
|
3344
|
-
this.locale && (
|
|
3345
|
-
var
|
|
3346
|
-
type:
|
|
3347
|
-
pattern:
|
|
3364
|
+
var w = b;
|
|
3365
|
+
this.locale && (w = Ei(b, this.locale));
|
|
3366
|
+
var m = {
|
|
3367
|
+
type: re.dateTime,
|
|
3368
|
+
pattern: w,
|
|
3348
3369
|
location: l.styleLocation,
|
|
3349
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3350
|
-
}, O = a === "date" ?
|
|
3370
|
+
parsedOptions: this.shouldParseSkeletons ? mi(w) : {}
|
|
3371
|
+
}, O = a === "date" ? x.date : x.time;
|
|
3351
3372
|
return {
|
|
3352
|
-
val: { type: O, value: n, location: d, style:
|
|
3373
|
+
val: { type: O, value: n, location: d, style: m },
|
|
3353
3374
|
err: null
|
|
3354
3375
|
};
|
|
3355
3376
|
}
|
|
3356
3377
|
}
|
|
3357
3378
|
return {
|
|
3358
3379
|
val: {
|
|
3359
|
-
type: a === "number" ?
|
|
3380
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3360
3381
|
value: n,
|
|
3361
3382
|
location: d,
|
|
3362
3383
|
style: (s = l?.style) !== null && s !== void 0 ? s : null
|
|
@@ -3369,9 +3390,9 @@ var Li = (
|
|
|
3369
3390
|
case "select": {
|
|
3370
3391
|
var P = this.clonePosition();
|
|
3371
3392
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3372
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(P,
|
|
3393
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(P, Ce({}, P)));
|
|
3373
3394
|
this.bumpSpace();
|
|
3374
|
-
var L = this.parseIdentifierIfPossible(),
|
|
3395
|
+
var L = this.parseIdentifierIfPossible(), N = 0;
|
|
3375
3396
|
if (a !== "select" && L.value === "offset") {
|
|
3376
3397
|
if (!this.bumpIf(":"))
|
|
3377
3398
|
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
@@ -3379,7 +3400,7 @@ var Li = (
|
|
|
3379
3400
|
var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3380
3401
|
if (c.err)
|
|
3381
3402
|
return c;
|
|
3382
|
-
this.bumpSpace(), L = this.parseIdentifierIfPossible(),
|
|
3403
|
+
this.bumpSpace(), L = this.parseIdentifierIfPossible(), N = c.val;
|
|
3383
3404
|
}
|
|
3384
3405
|
var C = this.tryParsePluralOrSelectOptions(t, a, r, L);
|
|
3385
3406
|
if (C.err)
|
|
@@ -3390,18 +3411,18 @@ var Li = (
|
|
|
3390
3411
|
var D = _(i, this.clonePosition());
|
|
3391
3412
|
return a === "select" ? {
|
|
3392
3413
|
val: {
|
|
3393
|
-
type:
|
|
3414
|
+
type: x.select,
|
|
3394
3415
|
value: n,
|
|
3395
|
-
options:
|
|
3416
|
+
options: Zt(C.val),
|
|
3396
3417
|
location: D
|
|
3397
3418
|
},
|
|
3398
3419
|
err: null
|
|
3399
3420
|
} : {
|
|
3400
3421
|
val: {
|
|
3401
|
-
type:
|
|
3422
|
+
type: x.plural,
|
|
3402
3423
|
value: n,
|
|
3403
|
-
options:
|
|
3404
|
-
offset:
|
|
3424
|
+
options: Zt(C.val),
|
|
3425
|
+
offset: N,
|
|
3405
3426
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3406
3427
|
location: D
|
|
3407
3428
|
},
|
|
@@ -3451,16 +3472,16 @@ var Li = (
|
|
|
3451
3472
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3452
3473
|
var n = [];
|
|
3453
3474
|
try {
|
|
3454
|
-
n =
|
|
3475
|
+
n = gi(t);
|
|
3455
3476
|
} catch {
|
|
3456
3477
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3457
3478
|
}
|
|
3458
3479
|
return {
|
|
3459
3480
|
val: {
|
|
3460
|
-
type:
|
|
3481
|
+
type: re.number,
|
|
3461
3482
|
tokens: n,
|
|
3462
3483
|
location: r,
|
|
3463
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3484
|
+
parsedOptions: this.shouldParseSkeletons ? _i(n) : {}
|
|
3464
3485
|
},
|
|
3465
3486
|
err: null
|
|
3466
3487
|
};
|
|
@@ -3469,9 +3490,9 @@ var Li = (
|
|
|
3469
3490
|
if (l.length === 0) {
|
|
3470
3491
|
var c = this.clonePosition();
|
|
3471
3492
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3472
|
-
var
|
|
3473
|
-
if (
|
|
3474
|
-
return
|
|
3493
|
+
var m = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3494
|
+
if (m.err)
|
|
3495
|
+
return m;
|
|
3475
3496
|
u = _(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
|
|
3476
3497
|
} else
|
|
3477
3498
|
break;
|
|
@@ -3508,7 +3529,7 @@ var Li = (
|
|
|
3508
3529
|
break;
|
|
3509
3530
|
}
|
|
3510
3531
|
var h = _(i, this.clonePosition());
|
|
3511
|
-
return s ? (o *= n,
|
|
3532
|
+
return s ? (o *= n, Ii(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3512
3533
|
}, e.prototype.offset = function() {
|
|
3513
3534
|
return this.position.offset;
|
|
3514
3535
|
}, e.prototype.isEOF = function() {
|
|
@@ -3523,7 +3544,7 @@ var Li = (
|
|
|
3523
3544
|
var t = this.position.offset;
|
|
3524
3545
|
if (t >= this.message.length)
|
|
3525
3546
|
throw Error("out of bound");
|
|
3526
|
-
var r =
|
|
3547
|
+
var r = Rr(this.message, t);
|
|
3527
3548
|
if (r === void 0)
|
|
3528
3549
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3529
3550
|
return r;
|
|
@@ -3542,7 +3563,7 @@ var Li = (
|
|
|
3542
3563
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3543
3564
|
}
|
|
3544
3565
|
}, e.prototype.bumpIf = function(t) {
|
|
3545
|
-
if (
|
|
3566
|
+
if (zt(this.message, t, this.offset())) {
|
|
3546
3567
|
for (var r = 0; r < t.length; r++)
|
|
3547
3568
|
this.bump();
|
|
3548
3569
|
return !0;
|
|
@@ -3564,7 +3585,7 @@ var Li = (
|
|
|
3564
3585
|
break;
|
|
3565
3586
|
}
|
|
3566
3587
|
}, e.prototype.bumpSpace = function() {
|
|
3567
|
-
for (; !this.isEOF() &&
|
|
3588
|
+
for (; !this.isEOF() && Nr(this.char()); )
|
|
3568
3589
|
this.bump();
|
|
3569
3590
|
}, e.prototype.peek = function() {
|
|
3570
3591
|
if (this.isEOF())
|
|
@@ -3574,47 +3595,47 @@ var Li = (
|
|
|
3574
3595
|
}, e;
|
|
3575
3596
|
}()
|
|
3576
3597
|
);
|
|
3577
|
-
function
|
|
3598
|
+
function ft(e) {
|
|
3578
3599
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3579
3600
|
}
|
|
3580
|
-
function
|
|
3581
|
-
return
|
|
3601
|
+
function Di(e) {
|
|
3602
|
+
return ft(e) || e === 47;
|
|
3582
3603
|
}
|
|
3583
|
-
function
|
|
3604
|
+
function Fi(e) {
|
|
3584
3605
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3585
3606
|
}
|
|
3586
|
-
function
|
|
3607
|
+
function Nr(e) {
|
|
3587
3608
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3588
3609
|
}
|
|
3589
|
-
function
|
|
3610
|
+
function Ui(e) {
|
|
3590
3611
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3591
3612
|
}
|
|
3592
|
-
function
|
|
3613
|
+
function ct(e) {
|
|
3593
3614
|
e.forEach(function(t) {
|
|
3594
|
-
if (delete t.location,
|
|
3615
|
+
if (delete t.location, Tr(t) || Hr(t))
|
|
3595
3616
|
for (var r in t.options)
|
|
3596
|
-
delete t.options[r].location,
|
|
3617
|
+
delete t.options[r].location, ct(t.options[r].value);
|
|
3597
3618
|
else
|
|
3598
|
-
|
|
3619
|
+
wr(t) && Ar(t.style) || (Sr(t) || xr(t)) && at(t.style) ? delete t.style.location : Br(t) && ct(t.children);
|
|
3599
3620
|
});
|
|
3600
3621
|
}
|
|
3601
|
-
function
|
|
3602
|
-
t === void 0 && (t = {}), t =
|
|
3603
|
-
var r = new
|
|
3622
|
+
function ki(e, t) {
|
|
3623
|
+
t === void 0 && (t = {}), t = Ce({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3624
|
+
var r = new Mi(e, t).parse();
|
|
3604
3625
|
if (r.err) {
|
|
3605
3626
|
var n = SyntaxError(v[r.err.kind]);
|
|
3606
3627
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3607
3628
|
}
|
|
3608
|
-
return t?.captureLocation ||
|
|
3629
|
+
return t?.captureLocation || ct(r.val), r.val;
|
|
3609
3630
|
}
|
|
3610
|
-
var
|
|
3631
|
+
var ne;
|
|
3611
3632
|
(function(e) {
|
|
3612
3633
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3613
|
-
})(
|
|
3614
|
-
var
|
|
3634
|
+
})(ne || (ne = {}));
|
|
3635
|
+
var De = (
|
|
3615
3636
|
/** @class */
|
|
3616
3637
|
function(e) {
|
|
3617
|
-
|
|
3638
|
+
Me(t, e);
|
|
3618
3639
|
function t(r, n, i) {
|
|
3619
3640
|
var s = e.call(this, r) || this;
|
|
3620
3641
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3623,48 +3644,48 @@ var Me = (
|
|
|
3623
3644
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3624
3645
|
}, t;
|
|
3625
3646
|
}(Error)
|
|
3626
|
-
),
|
|
3647
|
+
), qt = (
|
|
3627
3648
|
/** @class */
|
|
3628
3649
|
function(e) {
|
|
3629
|
-
|
|
3650
|
+
Me(t, e);
|
|
3630
3651
|
function t(r, n, i, s) {
|
|
3631
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3652
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, s) || this;
|
|
3632
3653
|
}
|
|
3633
3654
|
return t;
|
|
3634
|
-
}(
|
|
3635
|
-
),
|
|
3655
|
+
}(De)
|
|
3656
|
+
), Gi = (
|
|
3636
3657
|
/** @class */
|
|
3637
3658
|
function(e) {
|
|
3638
|
-
|
|
3659
|
+
Me(t, e);
|
|
3639
3660
|
function t(r, n, i) {
|
|
3640
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3661
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
|
|
3641
3662
|
}
|
|
3642
3663
|
return t;
|
|
3643
|
-
}(
|
|
3644
|
-
),
|
|
3664
|
+
}(De)
|
|
3665
|
+
), ji = (
|
|
3645
3666
|
/** @class */
|
|
3646
3667
|
function(e) {
|
|
3647
|
-
|
|
3668
|
+
Me(t, e);
|
|
3648
3669
|
function t(r, n) {
|
|
3649
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3670
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
|
|
3650
3671
|
}
|
|
3651
3672
|
return t;
|
|
3652
|
-
}(
|
|
3673
|
+
}(De)
|
|
3653
3674
|
), R;
|
|
3654
3675
|
(function(e) {
|
|
3655
3676
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3656
3677
|
})(R || (R = {}));
|
|
3657
|
-
function
|
|
3678
|
+
function $i(e) {
|
|
3658
3679
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3659
3680
|
var n = t[t.length - 1];
|
|
3660
3681
|
return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
|
|
3661
3682
|
}, []);
|
|
3662
3683
|
}
|
|
3663
|
-
function
|
|
3684
|
+
function Vi(e) {
|
|
3664
3685
|
return typeof e == "function";
|
|
3665
3686
|
}
|
|
3666
3687
|
function Ae(e, t, r, n, i, s, o) {
|
|
3667
|
-
if (e.length === 1 &&
|
|
3688
|
+
if (e.length === 1 && $t(e[0]))
|
|
3668
3689
|
return [
|
|
3669
3690
|
{
|
|
3670
3691
|
type: R.literal,
|
|
@@ -3673,14 +3694,14 @@ function Ae(e, t, r, n, i, s, o) {
|
|
|
3673
3694
|
];
|
|
3674
3695
|
for (var a = [], h = 0, l = e; h < l.length; h++) {
|
|
3675
3696
|
var u = l[h];
|
|
3676
|
-
if (
|
|
3697
|
+
if ($t(u)) {
|
|
3677
3698
|
a.push({
|
|
3678
3699
|
type: R.literal,
|
|
3679
3700
|
value: u.value
|
|
3680
3701
|
});
|
|
3681
3702
|
continue;
|
|
3682
3703
|
}
|
|
3683
|
-
if (
|
|
3704
|
+
if (ci(u)) {
|
|
3684
3705
|
typeof s == "number" && a.push({
|
|
3685
3706
|
type: R.literal,
|
|
3686
3707
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3689,89 +3710,89 @@ function Ae(e, t, r, n, i, s, o) {
|
|
|
3689
3710
|
}
|
|
3690
3711
|
var c = u.value;
|
|
3691
3712
|
if (!(i && c in i))
|
|
3692
|
-
throw new
|
|
3693
|
-
var
|
|
3694
|
-
if (
|
|
3695
|
-
(!
|
|
3696
|
-
type: typeof
|
|
3697
|
-
value:
|
|
3713
|
+
throw new ji(c, o);
|
|
3714
|
+
var m = i[c];
|
|
3715
|
+
if (fi(u)) {
|
|
3716
|
+
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
|
|
3717
|
+
type: typeof m == "string" ? R.literal : R.object,
|
|
3718
|
+
value: m
|
|
3698
3719
|
});
|
|
3699
3720
|
continue;
|
|
3700
3721
|
}
|
|
3701
|
-
if (
|
|
3702
|
-
var y = typeof u.style == "string" ? n.date[u.style] :
|
|
3722
|
+
if (Sr(u)) {
|
|
3723
|
+
var y = typeof u.style == "string" ? n.date[u.style] : at(u.style) ? u.style.parsedOptions : void 0;
|
|
3703
3724
|
a.push({
|
|
3704
3725
|
type: R.literal,
|
|
3705
|
-
value: r.getDateTimeFormat(t, y).format(
|
|
3726
|
+
value: r.getDateTimeFormat(t, y).format(m)
|
|
3706
3727
|
});
|
|
3707
3728
|
continue;
|
|
3708
3729
|
}
|
|
3709
|
-
if (
|
|
3710
|
-
var y = typeof u.style == "string" ? n.time[u.style] :
|
|
3730
|
+
if (xr(u)) {
|
|
3731
|
+
var y = typeof u.style == "string" ? n.time[u.style] : at(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3711
3732
|
a.push({
|
|
3712
3733
|
type: R.literal,
|
|
3713
|
-
value: r.getDateTimeFormat(t, y).format(
|
|
3734
|
+
value: r.getDateTimeFormat(t, y).format(m)
|
|
3714
3735
|
});
|
|
3715
3736
|
continue;
|
|
3716
3737
|
}
|
|
3717
|
-
if (
|
|
3718
|
-
var y = typeof u.style == "string" ? n.number[u.style] :
|
|
3719
|
-
y && y.scale && (
|
|
3738
|
+
if (wr(u)) {
|
|
3739
|
+
var y = typeof u.style == "string" ? n.number[u.style] : Ar(u.style) ? u.style.parsedOptions : void 0;
|
|
3740
|
+
y && y.scale && (m = m * (y.scale || 1)), a.push({
|
|
3720
3741
|
type: R.literal,
|
|
3721
|
-
value: r.getNumberFormat(t, y).format(
|
|
3742
|
+
value: r.getNumberFormat(t, y).format(m)
|
|
3722
3743
|
});
|
|
3723
3744
|
continue;
|
|
3724
3745
|
}
|
|
3725
|
-
if (
|
|
3746
|
+
if (Br(u)) {
|
|
3726
3747
|
var g = u.children, d = u.value, b = i[d];
|
|
3727
|
-
if (!
|
|
3728
|
-
throw new
|
|
3729
|
-
var
|
|
3730
|
-
return
|
|
3748
|
+
if (!Vi(b))
|
|
3749
|
+
throw new Gi(d, "function", o);
|
|
3750
|
+
var w = Ae(g, t, r, n, i, s), O = b(w.map(function(N) {
|
|
3751
|
+
return N.value;
|
|
3731
3752
|
}));
|
|
3732
|
-
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(
|
|
3753
|
+
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(N) {
|
|
3733
3754
|
return {
|
|
3734
|
-
type: typeof
|
|
3735
|
-
value:
|
|
3755
|
+
type: typeof N == "string" ? R.literal : R.object,
|
|
3756
|
+
value: N
|
|
3736
3757
|
};
|
|
3737
3758
|
}));
|
|
3738
3759
|
}
|
|
3739
|
-
if (
|
|
3740
|
-
var P = u.options[
|
|
3760
|
+
if (Tr(u)) {
|
|
3761
|
+
var P = u.options[m] || u.options.other;
|
|
3741
3762
|
if (!P)
|
|
3742
|
-
throw new
|
|
3763
|
+
throw new qt(u.value, m, Object.keys(u.options), o);
|
|
3743
3764
|
a.push.apply(a, Ae(P.value, t, r, n, i));
|
|
3744
3765
|
continue;
|
|
3745
3766
|
}
|
|
3746
|
-
if (
|
|
3747
|
-
var P = u.options["=".concat(
|
|
3767
|
+
if (Hr(u)) {
|
|
3768
|
+
var P = u.options["=".concat(m)];
|
|
3748
3769
|
if (!P) {
|
|
3749
3770
|
if (!Intl.PluralRules)
|
|
3750
|
-
throw new
|
|
3771
|
+
throw new De(`Intl.PluralRules is not available in this environment.
|
|
3751
3772
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3752
|
-
`,
|
|
3753
|
-
var L = r.getPluralRules(t, { type: u.pluralType }).select(
|
|
3773
|
+
`, ne.MISSING_INTL_API, o);
|
|
3774
|
+
var L = r.getPluralRules(t, { type: u.pluralType }).select(m - (u.offset || 0));
|
|
3754
3775
|
P = u.options[L] || u.options.other;
|
|
3755
3776
|
}
|
|
3756
3777
|
if (!P)
|
|
3757
|
-
throw new
|
|
3758
|
-
a.push.apply(a, Ae(P.value, t, r, n, i,
|
|
3778
|
+
throw new qt(u.value, m, Object.keys(u.options), o);
|
|
3779
|
+
a.push.apply(a, Ae(P.value, t, r, n, i, m - (u.offset || 0)));
|
|
3759
3780
|
continue;
|
|
3760
3781
|
}
|
|
3761
3782
|
}
|
|
3762
|
-
return
|
|
3783
|
+
return $i(a);
|
|
3763
3784
|
}
|
|
3764
|
-
function
|
|
3765
|
-
return t ?
|
|
3766
|
-
return r[n] =
|
|
3785
|
+
function Xi(e, t) {
|
|
3786
|
+
return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3787
|
+
return r[n] = G(G({}, e[n]), t[n] || {}), r;
|
|
3767
3788
|
}, {})) : e;
|
|
3768
3789
|
}
|
|
3769
|
-
function
|
|
3790
|
+
function Wi(e, t) {
|
|
3770
3791
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3771
|
-
return r[n] =
|
|
3772
|
-
},
|
|
3792
|
+
return r[n] = Xi(e[n], t[n]), r;
|
|
3793
|
+
}, G({}, e)) : e;
|
|
3773
3794
|
}
|
|
3774
|
-
function
|
|
3795
|
+
function qe(e) {
|
|
3775
3796
|
return {
|
|
3776
3797
|
create: function() {
|
|
3777
3798
|
return {
|
|
@@ -3785,39 +3806,39 @@ function Ze(e) {
|
|
|
3785
3806
|
}
|
|
3786
3807
|
};
|
|
3787
3808
|
}
|
|
3788
|
-
function
|
|
3809
|
+
function zi(e) {
|
|
3789
3810
|
return e === void 0 && (e = {
|
|
3790
3811
|
number: {},
|
|
3791
3812
|
dateTime: {},
|
|
3792
3813
|
pluralRules: {}
|
|
3793
3814
|
}), {
|
|
3794
|
-
getNumberFormat:
|
|
3815
|
+
getNumberFormat: ze(function() {
|
|
3795
3816
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3796
3817
|
r[n] = arguments[n];
|
|
3797
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3818
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, We([void 0], r, !1)))();
|
|
3798
3819
|
}, {
|
|
3799
|
-
cache:
|
|
3800
|
-
strategy:
|
|
3820
|
+
cache: qe(e.number),
|
|
3821
|
+
strategy: Ze.variadic
|
|
3801
3822
|
}),
|
|
3802
|
-
getDateTimeFormat:
|
|
3823
|
+
getDateTimeFormat: ze(function() {
|
|
3803
3824
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3804
3825
|
r[n] = arguments[n];
|
|
3805
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3826
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, We([void 0], r, !1)))();
|
|
3806
3827
|
}, {
|
|
3807
|
-
cache:
|
|
3808
|
-
strategy:
|
|
3828
|
+
cache: qe(e.dateTime),
|
|
3829
|
+
strategy: Ze.variadic
|
|
3809
3830
|
}),
|
|
3810
|
-
getPluralRules:
|
|
3831
|
+
getPluralRules: ze(function() {
|
|
3811
3832
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3812
3833
|
r[n] = arguments[n];
|
|
3813
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3834
|
+
return new ((t = Intl.PluralRules).bind.apply(t, We([void 0], r, !1)))();
|
|
3814
3835
|
}, {
|
|
3815
|
-
cache:
|
|
3816
|
-
strategy:
|
|
3836
|
+
cache: qe(e.pluralRules),
|
|
3837
|
+
strategy: Ze.variadic
|
|
3817
3838
|
})
|
|
3818
3839
|
};
|
|
3819
3840
|
}
|
|
3820
|
-
var
|
|
3841
|
+
var Zi = (
|
|
3821
3842
|
/** @class */
|
|
3822
3843
|
function() {
|
|
3823
3844
|
function e(t, r, n, i) {
|
|
@@ -3831,8 +3852,8 @@ var Wi = (
|
|
|
3831
3852
|
var l = s.formatToParts(h);
|
|
3832
3853
|
if (l.length === 1)
|
|
3833
3854
|
return l[0].value;
|
|
3834
|
-
var u = l.reduce(function(c,
|
|
3835
|
-
return !c.length ||
|
|
3855
|
+
var u = l.reduce(function(c, m) {
|
|
3856
|
+
return !c.length || m.type !== R.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
|
|
3836
3857
|
}, []);
|
|
3837
3858
|
return u.length <= 1 ? u[0] || "" : u;
|
|
3838
3859
|
}, this.formatToParts = function(h) {
|
|
@@ -3849,13 +3870,13 @@ var Wi = (
|
|
|
3849
3870
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3850
3871
|
var o = i || {};
|
|
3851
3872
|
o.formatters;
|
|
3852
|
-
var a =
|
|
3853
|
-
this.ast = e.__parse(t,
|
|
3873
|
+
var a = ni(o, ["formatters"]);
|
|
3874
|
+
this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
|
|
3854
3875
|
} else
|
|
3855
3876
|
this.ast = t;
|
|
3856
3877
|
if (!Array.isArray(this.ast))
|
|
3857
3878
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3858
|
-
this.formats =
|
|
3879
|
+
this.formats = Wi(e.formats, n), this.formatters = i && i.formatters || zi(this.formatterCache);
|
|
3859
3880
|
}
|
|
3860
3881
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3861
3882
|
get: function() {
|
|
@@ -3868,7 +3889,7 @@ var Wi = (
|
|
|
3868
3889
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3869
3890
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3870
3891
|
}
|
|
3871
|
-
}, e.__parse =
|
|
3892
|
+
}, e.__parse = ki, e.formats = {
|
|
3872
3893
|
number: {
|
|
3873
3894
|
integer: {
|
|
3874
3895
|
maximumFractionDigits: 0
|
|
@@ -3929,7 +3950,7 @@ var Wi = (
|
|
|
3929
3950
|
}, e;
|
|
3930
3951
|
}()
|
|
3931
3952
|
);
|
|
3932
|
-
function
|
|
3953
|
+
function Ji(e, t) {
|
|
3933
3954
|
if (t == null)
|
|
3934
3955
|
return;
|
|
3935
3956
|
if (t in e)
|
|
@@ -3950,92 +3971,92 @@ function zi(e, t) {
|
|
|
3950
3971
|
n = void 0;
|
|
3951
3972
|
return n;
|
|
3952
3973
|
}
|
|
3953
|
-
const z = {},
|
|
3974
|
+
const z = {}, qi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Mr = (e, t) => {
|
|
3954
3975
|
if (t == null)
|
|
3955
3976
|
return;
|
|
3956
3977
|
if (t in z && e in z[t])
|
|
3957
3978
|
return z[t][e];
|
|
3958
|
-
const r =
|
|
3979
|
+
const r = Fe(t);
|
|
3959
3980
|
for (let n = 0; n < r.length; n++) {
|
|
3960
|
-
const i = r[n], s =
|
|
3981
|
+
const i = r[n], s = Yi(i, e);
|
|
3961
3982
|
if (s)
|
|
3962
|
-
return
|
|
3983
|
+
return qi(e, t, s);
|
|
3963
3984
|
}
|
|
3964
3985
|
};
|
|
3965
|
-
let
|
|
3966
|
-
const
|
|
3967
|
-
function
|
|
3968
|
-
return
|
|
3986
|
+
let gt;
|
|
3987
|
+
const oe = Ne({});
|
|
3988
|
+
function Qi(e) {
|
|
3989
|
+
return gt[e] || null;
|
|
3969
3990
|
}
|
|
3970
|
-
function
|
|
3971
|
-
return e in
|
|
3991
|
+
function Dr(e) {
|
|
3992
|
+
return e in gt;
|
|
3972
3993
|
}
|
|
3973
|
-
function
|
|
3974
|
-
if (!
|
|
3994
|
+
function Yi(e, t) {
|
|
3995
|
+
if (!Dr(e))
|
|
3975
3996
|
return null;
|
|
3976
|
-
const r =
|
|
3977
|
-
return
|
|
3997
|
+
const r = Qi(e);
|
|
3998
|
+
return Ji(r, t);
|
|
3978
3999
|
}
|
|
3979
|
-
function
|
|
4000
|
+
function Ki(e) {
|
|
3980
4001
|
if (e == null)
|
|
3981
4002
|
return;
|
|
3982
|
-
const t =
|
|
4003
|
+
const t = Fe(e);
|
|
3983
4004
|
for (let r = 0; r < t.length; r++) {
|
|
3984
4005
|
const n = t[r];
|
|
3985
|
-
if (
|
|
4006
|
+
if (Dr(n))
|
|
3986
4007
|
return n;
|
|
3987
4008
|
}
|
|
3988
4009
|
}
|
|
3989
|
-
function
|
|
3990
|
-
delete z[e],
|
|
4010
|
+
function Fr(e, ...t) {
|
|
4011
|
+
delete z[e], oe.update((r) => (r[e] = ri.all([r[e] || {}, ...t]), r));
|
|
3991
4012
|
}
|
|
3992
|
-
|
|
3993
|
-
[
|
|
4013
|
+
se(
|
|
4014
|
+
[oe],
|
|
3994
4015
|
([e]) => Object.keys(e)
|
|
3995
4016
|
);
|
|
3996
|
-
|
|
4017
|
+
oe.subscribe((e) => gt = e);
|
|
3997
4018
|
const Pe = {};
|
|
3998
|
-
function
|
|
4019
|
+
function es(e, t) {
|
|
3999
4020
|
Pe[e].delete(t), Pe[e].size === 0 && delete Pe[e];
|
|
4000
4021
|
}
|
|
4001
|
-
function
|
|
4022
|
+
function Ur(e) {
|
|
4002
4023
|
return Pe[e];
|
|
4003
4024
|
}
|
|
4004
|
-
function
|
|
4005
|
-
return
|
|
4006
|
-
const r =
|
|
4025
|
+
function ts(e) {
|
|
4026
|
+
return Fe(e).map((t) => {
|
|
4027
|
+
const r = Ur(t);
|
|
4007
4028
|
return [t, r ? [...r] : []];
|
|
4008
4029
|
}).filter(([, t]) => t.length > 0);
|
|
4009
4030
|
}
|
|
4010
|
-
function
|
|
4011
|
-
return e == null ? !1 :
|
|
4031
|
+
function pt(e) {
|
|
4032
|
+
return e == null ? !1 : Fe(e).some(
|
|
4012
4033
|
(t) => {
|
|
4013
4034
|
var r;
|
|
4014
|
-
return (r =
|
|
4035
|
+
return (r = Ur(t)) == null ? void 0 : r.size;
|
|
4015
4036
|
}
|
|
4016
4037
|
);
|
|
4017
4038
|
}
|
|
4018
|
-
function
|
|
4039
|
+
function rs(e, t) {
|
|
4019
4040
|
return Promise.all(
|
|
4020
|
-
t.map((n) => (
|
|
4021
|
-
).then((n) =>
|
|
4022
|
-
}
|
|
4023
|
-
const
|
|
4024
|
-
function
|
|
4025
|
-
if (!
|
|
4026
|
-
return e in
|
|
4027
|
-
const t =
|
|
4028
|
-
return
|
|
4041
|
+
t.map((n) => (es(e, n), n().then((i) => i.default || i)))
|
|
4042
|
+
).then((n) => Fr(e, ...n));
|
|
4043
|
+
}
|
|
4044
|
+
const he = {};
|
|
4045
|
+
function kr(e) {
|
|
4046
|
+
if (!pt(e))
|
|
4047
|
+
return e in he ? he[e] : Promise.resolve();
|
|
4048
|
+
const t = ts(e);
|
|
4049
|
+
return he[e] = Promise.all(
|
|
4029
4050
|
t.map(
|
|
4030
|
-
([r, n]) =>
|
|
4051
|
+
([r, n]) => rs(r, n)
|
|
4031
4052
|
)
|
|
4032
4053
|
).then(() => {
|
|
4033
|
-
if (
|
|
4034
|
-
return
|
|
4035
|
-
delete
|
|
4036
|
-
}),
|
|
4054
|
+
if (pt(e))
|
|
4055
|
+
return kr(e);
|
|
4056
|
+
delete he[e];
|
|
4057
|
+
}), he[e];
|
|
4037
4058
|
}
|
|
4038
|
-
const
|
|
4059
|
+
const ns = {
|
|
4039
4060
|
number: {
|
|
4040
4061
|
scientific: { notation: "scientific" },
|
|
4041
4062
|
engineering: { notation: "engineering" },
|
|
@@ -4064,135 +4085,135 @@ const ts = {
|
|
|
4064
4085
|
timeZoneName: "short"
|
|
4065
4086
|
}
|
|
4066
4087
|
}
|
|
4067
|
-
},
|
|
4088
|
+
}, is = {
|
|
4068
4089
|
fallbackLocale: null,
|
|
4069
4090
|
loadingDelay: 200,
|
|
4070
|
-
formats:
|
|
4091
|
+
formats: ns,
|
|
4071
4092
|
warnOnMissingMessages: !0,
|
|
4072
4093
|
handleMissingMessage: void 0,
|
|
4073
4094
|
ignoreTag: !0
|
|
4074
|
-
},
|
|
4075
|
-
function
|
|
4076
|
-
return
|
|
4095
|
+
}, ss = is;
|
|
4096
|
+
function ie() {
|
|
4097
|
+
return ss;
|
|
4077
4098
|
}
|
|
4078
|
-
const
|
|
4079
|
-
var
|
|
4099
|
+
const Qe = Ne(!1);
|
|
4100
|
+
var os = Object.defineProperty, as = Object.defineProperties, us = Object.getOwnPropertyDescriptors, Qt = Object.getOwnPropertySymbols, ls = Object.prototype.hasOwnProperty, hs = Object.prototype.propertyIsEnumerable, Yt = (e, t, r) => t in e ? os(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fs = (e, t) => {
|
|
4080
4101
|
for (var r in t || (t = {}))
|
|
4081
|
-
|
|
4082
|
-
if (
|
|
4083
|
-
for (var r of
|
|
4084
|
-
|
|
4102
|
+
ls.call(t, r) && Yt(e, r, t[r]);
|
|
4103
|
+
if (Qt)
|
|
4104
|
+
for (var r of Qt(t))
|
|
4105
|
+
hs.call(t, r) && Yt(e, r, t[r]);
|
|
4085
4106
|
return e;
|
|
4086
|
-
},
|
|
4087
|
-
let
|
|
4088
|
-
const
|
|
4089
|
-
function
|
|
4107
|
+
}, cs = (e, t) => as(e, us(t));
|
|
4108
|
+
let mt;
|
|
4109
|
+
const Ie = Ne(null);
|
|
4110
|
+
function Kt(e) {
|
|
4090
4111
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4091
4112
|
}
|
|
4092
|
-
function
|
|
4093
|
-
const r =
|
|
4094
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4113
|
+
function Fe(e, t = ie().fallbackLocale) {
|
|
4114
|
+
const r = Kt(e);
|
|
4115
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Kt(t)])] : r;
|
|
4095
4116
|
}
|
|
4096
4117
|
function J() {
|
|
4097
|
-
return
|
|
4118
|
+
return mt ?? void 0;
|
|
4098
4119
|
}
|
|
4099
|
-
|
|
4100
|
-
|
|
4120
|
+
Ie.subscribe((e) => {
|
|
4121
|
+
mt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4101
4122
|
});
|
|
4102
|
-
const
|
|
4103
|
-
if (e &&
|
|
4104
|
-
const { loadingDelay: t } =
|
|
4123
|
+
const ps = (e) => {
|
|
4124
|
+
if (e && Ki(e) && pt(e)) {
|
|
4125
|
+
const { loadingDelay: t } = ie();
|
|
4105
4126
|
let r;
|
|
4106
4127
|
return typeof window < "u" && J() != null && t ? r = window.setTimeout(
|
|
4107
|
-
() =>
|
|
4128
|
+
() => Qe.set(!0),
|
|
4108
4129
|
t
|
|
4109
|
-
) :
|
|
4110
|
-
|
|
4130
|
+
) : Qe.set(!0), kr(e).then(() => {
|
|
4131
|
+
Ie.set(e);
|
|
4111
4132
|
}).finally(() => {
|
|
4112
|
-
clearTimeout(r),
|
|
4133
|
+
clearTimeout(r), Qe.set(!1);
|
|
4113
4134
|
});
|
|
4114
4135
|
}
|
|
4115
|
-
return
|
|
4116
|
-
}, Z =
|
|
4117
|
-
set:
|
|
4118
|
-
}),
|
|
4136
|
+
return Ie.set(e);
|
|
4137
|
+
}, Z = cs(fs({}, Ie), {
|
|
4138
|
+
set: ps
|
|
4139
|
+
}), Ue = (e) => {
|
|
4119
4140
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4120
4141
|
return (n) => {
|
|
4121
4142
|
const i = JSON.stringify(n);
|
|
4122
4143
|
return i in t ? t[i] : t[i] = e(n);
|
|
4123
4144
|
};
|
|
4124
4145
|
};
|
|
4125
|
-
var
|
|
4146
|
+
var ms = Object.defineProperty, Re = Object.getOwnPropertySymbols, Gr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable, er = (e, t, r) => t in e ? ms(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
|
|
4126
4147
|
for (var r in t || (t = {}))
|
|
4127
|
-
|
|
4128
|
-
if (
|
|
4129
|
-
for (var r of
|
|
4130
|
-
|
|
4148
|
+
Gr.call(t, r) && er(e, r, t[r]);
|
|
4149
|
+
if (Re)
|
|
4150
|
+
for (var r of Re(t))
|
|
4151
|
+
jr.call(t, r) && er(e, r, t[r]);
|
|
4131
4152
|
return e;
|
|
4132
|
-
},
|
|
4153
|
+
}, ae = (e, t) => {
|
|
4133
4154
|
var r = {};
|
|
4134
4155
|
for (var n in e)
|
|
4135
|
-
|
|
4136
|
-
if (e != null &&
|
|
4137
|
-
for (var n of
|
|
4138
|
-
t.indexOf(n) < 0 &&
|
|
4156
|
+
Gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4157
|
+
if (e != null && Re)
|
|
4158
|
+
for (var n of Re(e))
|
|
4159
|
+
t.indexOf(n) < 0 && jr.call(e, n) && (r[n] = e[n]);
|
|
4139
4160
|
return r;
|
|
4140
4161
|
};
|
|
4141
|
-
const
|
|
4142
|
-
const { formats: r } =
|
|
4162
|
+
const me = (e, t) => {
|
|
4163
|
+
const { formats: r } = ie();
|
|
4143
4164
|
if (e in r && t in r[e])
|
|
4144
4165
|
return r[e][t];
|
|
4145
4166
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4146
|
-
},
|
|
4167
|
+
}, ds = Ue(
|
|
4147
4168
|
(e) => {
|
|
4148
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4169
|
+
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
4149
4170
|
if (r == null)
|
|
4150
4171
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4151
|
-
return n && (i =
|
|
4172
|
+
return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
|
|
4152
4173
|
}
|
|
4153
|
-
),
|
|
4174
|
+
), gs = Ue(
|
|
4154
4175
|
(e) => {
|
|
4155
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4176
|
+
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
4156
4177
|
if (r == null)
|
|
4157
4178
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4158
|
-
return n ? i =
|
|
4179
|
+
return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4159
4180
|
}
|
|
4160
|
-
),
|
|
4181
|
+
), bs = Ue(
|
|
4161
4182
|
(e) => {
|
|
4162
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4183
|
+
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
4163
4184
|
if (r == null)
|
|
4164
4185
|
throw new Error(
|
|
4165
4186
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4166
4187
|
);
|
|
4167
|
-
return n ? i =
|
|
4188
|
+
return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4168
4189
|
}
|
|
4169
|
-
),
|
|
4190
|
+
), ys = (e = {}) => {
|
|
4170
4191
|
var t = e, {
|
|
4171
4192
|
locale: r = J()
|
|
4172
|
-
} = t, n =
|
|
4193
|
+
} = t, n = ae(t, [
|
|
4173
4194
|
"locale"
|
|
4174
4195
|
]);
|
|
4175
|
-
return
|
|
4176
|
-
},
|
|
4196
|
+
return ds(bt({ locale: r }, n));
|
|
4197
|
+
}, vs = (e = {}) => {
|
|
4177
4198
|
var t = e, {
|
|
4178
4199
|
locale: r = J()
|
|
4179
|
-
} = t, n =
|
|
4200
|
+
} = t, n = ae(t, [
|
|
4180
4201
|
"locale"
|
|
4181
4202
|
]);
|
|
4182
|
-
return
|
|
4183
|
-
},
|
|
4203
|
+
return gs(bt({ locale: r }, n));
|
|
4204
|
+
}, _s = (e = {}) => {
|
|
4184
4205
|
var t = e, {
|
|
4185
4206
|
locale: r = J()
|
|
4186
|
-
} = t, n =
|
|
4207
|
+
} = t, n = ae(t, [
|
|
4187
4208
|
"locale"
|
|
4188
4209
|
]);
|
|
4189
|
-
return
|
|
4190
|
-
},
|
|
4210
|
+
return bs(bt({ locale: r }, n));
|
|
4211
|
+
}, Es = Ue(
|
|
4191
4212
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4192
|
-
(e, t = J()) => new
|
|
4193
|
-
ignoreTag:
|
|
4213
|
+
(e, t = J()) => new Zi(e, t, ie().formats, {
|
|
4214
|
+
ignoreTag: ie().ignoreTag
|
|
4194
4215
|
})
|
|
4195
|
-
),
|
|
4216
|
+
), ws = (e, t = {}) => {
|
|
4196
4217
|
var r, n, i, s;
|
|
4197
4218
|
let o = t;
|
|
4198
4219
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -4207,7 +4228,7 @@ const de = (e, t) => {
|
|
|
4207
4228
|
);
|
|
4208
4229
|
let u = Mr(e, h);
|
|
4209
4230
|
if (!u)
|
|
4210
|
-
u = (s = (i = (n = (r =
|
|
4231
|
+
u = (s = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
|
|
4211
4232
|
else if (typeof u != "string")
|
|
4212
4233
|
return console.warn(
|
|
4213
4234
|
`[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.`
|
|
@@ -4216,34 +4237,34 @@ const de = (e, t) => {
|
|
|
4216
4237
|
return u;
|
|
4217
4238
|
let c = u;
|
|
4218
4239
|
try {
|
|
4219
|
-
c =
|
|
4220
|
-
} catch (
|
|
4221
|
-
|
|
4240
|
+
c = Es(u, h).format(a);
|
|
4241
|
+
} catch (m) {
|
|
4242
|
+
m instanceof Error && console.warn(
|
|
4222
4243
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4223
|
-
|
|
4244
|
+
m.message
|
|
4224
4245
|
);
|
|
4225
4246
|
}
|
|
4226
4247
|
return c;
|
|
4227
|
-
},
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4248
|
+
}, Ss = (e, t) => _s(t).format(e), xs = (e, t) => vs(t).format(e), Ts = (e, t) => ys(t).format(e), Hs = (e, t = J()) => Mr(e, t), Bs = se([Z, oe], () => ws);
|
|
4249
|
+
se([Z], () => Ss);
|
|
4250
|
+
se([Z], () => xs);
|
|
4251
|
+
se([Z], () => Ts);
|
|
4252
|
+
se([Z, oe], () => Hs);
|
|
4232
4253
|
window.emWidgets = { topic: Un };
|
|
4233
|
-
const
|
|
4254
|
+
const tr = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4234
4255
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4235
|
-
function
|
|
4256
|
+
function As({ withLocale: e, translations: t }) {
|
|
4236
4257
|
Z.subscribe((r) => {
|
|
4237
|
-
r == null && (
|
|
4258
|
+
r == null && (oe.set(t), Z.set(e));
|
|
4238
4259
|
});
|
|
4239
4260
|
}
|
|
4240
|
-
function
|
|
4241
|
-
|
|
4261
|
+
function rr(e, t) {
|
|
4262
|
+
Fr(e, t);
|
|
4242
4263
|
}
|
|
4243
|
-
function
|
|
4264
|
+
function Ps(e) {
|
|
4244
4265
|
Z.set(e);
|
|
4245
4266
|
}
|
|
4246
|
-
const
|
|
4267
|
+
const nr = {
|
|
4247
4268
|
en: {
|
|
4248
4269
|
goToLoginButton: "Go To Login",
|
|
4249
4270
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
@@ -4289,13 +4310,13 @@ const tr = {
|
|
|
4289
4310
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
4290
4311
|
}
|
|
4291
4312
|
};
|
|
4292
|
-
function
|
|
4313
|
+
function Os(e, t) {
|
|
4293
4314
|
if (e) {
|
|
4294
4315
|
const r = document.createElement("style");
|
|
4295
4316
|
r.innerHTML = t, e.appendChild(r);
|
|
4296
4317
|
}
|
|
4297
4318
|
}
|
|
4298
|
-
function
|
|
4319
|
+
function Cs(e, t) {
|
|
4299
4320
|
if (!e || !t)
|
|
4300
4321
|
return;
|
|
4301
4322
|
const r = new URL(t);
|
|
@@ -4306,7 +4327,7 @@ function Ps(e, t) {
|
|
|
4306
4327
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4307
4328
|
});
|
|
4308
4329
|
}
|
|
4309
|
-
function
|
|
4330
|
+
function Is(e, t, r) {
|
|
4310
4331
|
if (window.emMessageBus) {
|
|
4311
4332
|
const n = document.createElement("style");
|
|
4312
4333
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4326,7 +4347,7 @@ if (typeof window < "u") {
|
|
|
4326
4347
|
}
|
|
4327
4348
|
};
|
|
4328
4349
|
};
|
|
4329
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-
|
|
4350
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-dUJTbKi2.js").then(({ default: t }) => {
|
|
4330
4351
|
!customElements.get("general-player-register-form-step1") && customElements.define("general-player-register-form-step1", t.element);
|
|
4331
4352
|
});
|
|
4332
4353
|
}
|
|
@@ -4342,7 +4363,7 @@ if (typeof window < "u") {
|
|
|
4342
4363
|
}
|
|
4343
4364
|
};
|
|
4344
4365
|
};
|
|
4345
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-
|
|
4366
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-jv0Zt0Bp.js").then(({ default: t }) => {
|
|
4346
4367
|
!customElements.get("general-player-register-form-step2") && customElements.define("general-player-register-form-step2", t.element);
|
|
4347
4368
|
});
|
|
4348
4369
|
}
|
|
@@ -4358,7 +4379,7 @@ if (typeof window < "u") {
|
|
|
4358
4379
|
}
|
|
4359
4380
|
};
|
|
4360
4381
|
};
|
|
4361
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-
|
|
4382
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-BY2vb5X8.js").then(({ default: t }) => {
|
|
4362
4383
|
!customElements.get("general-player-register-form-step3") && customElements.define("general-player-register-form-step3", t.element);
|
|
4363
4384
|
});
|
|
4364
4385
|
}
|
|
@@ -4374,85 +4395,85 @@ if (typeof window < "u") {
|
|
|
4374
4395
|
}
|
|
4375
4396
|
};
|
|
4376
4397
|
};
|
|
4377
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4398
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-RA_OFoKD.js").then(({ default: t }) => {
|
|
4378
4399
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4379
4400
|
});
|
|
4380
4401
|
}
|
|
4381
|
-
function
|
|
4382
|
-
|
|
4402
|
+
function Rs(e) {
|
|
4403
|
+
nn(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}");
|
|
4383
4404
|
}
|
|
4384
|
-
function
|
|
4405
|
+
function Ls(e) {
|
|
4385
4406
|
let t, r, n, i, s, o, a, h = (
|
|
4386
4407
|
/*showRegisterStepOne*/
|
|
4387
4408
|
(e[18] || /*showRegisterStepTwo*/
|
|
4388
4409
|
e[19] || /*showRegisterStepThree*/
|
|
4389
|
-
e[20]) &&
|
|
4410
|
+
e[20]) && ir(e)
|
|
4390
4411
|
), l = (
|
|
4391
4412
|
/*showRegisterStepOne*/
|
|
4392
|
-
e[18] &&
|
|
4413
|
+
e[18] && sr(e)
|
|
4393
4414
|
), u = (
|
|
4394
4415
|
/*showRegisterStepTwo*/
|
|
4395
|
-
e[19] &&
|
|
4416
|
+
e[19] && or(e)
|
|
4396
4417
|
), c = (
|
|
4397
4418
|
/*showRegisterStepThree*/
|
|
4398
|
-
e[20] &&
|
|
4419
|
+
e[20] && ar(e)
|
|
4399
4420
|
);
|
|
4400
|
-
function
|
|
4421
|
+
function m(b, w) {
|
|
4401
4422
|
if (
|
|
4402
4423
|
/*smsverification*/
|
|
4403
4424
|
b[7] && /*showSmsVerification*/
|
|
4404
4425
|
b[21]
|
|
4405
4426
|
)
|
|
4406
|
-
return
|
|
4427
|
+
return Ms;
|
|
4407
4428
|
if (
|
|
4408
4429
|
/*smsSendApiFailed*/
|
|
4409
4430
|
b[31]
|
|
4410
4431
|
)
|
|
4411
|
-
return
|
|
4432
|
+
return Ns;
|
|
4412
4433
|
}
|
|
4413
|
-
let y =
|
|
4434
|
+
let y = m(e), g = y && y(e), d = (
|
|
4414
4435
|
/*showConfirmation*/
|
|
4415
|
-
e[22] &&
|
|
4436
|
+
e[22] && ur(e)
|
|
4416
4437
|
);
|
|
4417
4438
|
return {
|
|
4418
4439
|
c() {
|
|
4419
|
-
t =
|
|
4420
|
-
(e[35] ? "RegisterFormContainerMobile" : "")),
|
|
4440
|
+
t = H("div"), r = H("div"), h && h.c(), n = U(), l && l.c(), i = U(), u && u.c(), s = U(), c && c.c(), o = U(), g && g.c(), a = U(), d && d.c(), S(r, "class", "RegisterFormContainer " + /*isMobile*/
|
|
4441
|
+
(e[35] ? "RegisterFormContainerMobile" : "")), S(t, "class", "RegisterFormWrapper");
|
|
4421
4442
|
},
|
|
4422
|
-
m(b,
|
|
4423
|
-
F(b, t,
|
|
4443
|
+
m(b, w) {
|
|
4444
|
+
F(b, t, w), E(t, r), h && h.m(r, null), E(r, n), l && l.m(r, null), E(r, i), u && u.m(r, null), E(r, s), c && c.m(r, null), E(r, o), g && g.m(r, null), E(r, a), d && d.m(r, null);
|
|
4424
4445
|
},
|
|
4425
|
-
p(b,
|
|
4446
|
+
p(b, w) {
|
|
4426
4447
|
/*showRegisterStepOne*/
|
|
4427
4448
|
b[18] || /*showRegisterStepTwo*/
|
|
4428
4449
|
b[19] || /*showRegisterStepThree*/
|
|
4429
|
-
b[20] ? h ? h.p(b,
|
|
4430
|
-
b[18] ? l ? l.p(b,
|
|
4431
|
-
b[19] ? u ? u.p(b,
|
|
4432
|
-
b[20] ? c ? c.p(b,
|
|
4433
|
-
b[22] ? d ? d.p(b,
|
|
4450
|
+
b[20] ? h ? h.p(b, w) : (h = ir(b), h.c(), h.m(r, n)) : h && (h.d(1), h = null), /*showRegisterStepOne*/
|
|
4451
|
+
b[18] ? l ? l.p(b, w) : (l = sr(b), l.c(), l.m(r, i)) : l && (l.d(1), l = null), /*showRegisterStepTwo*/
|
|
4452
|
+
b[19] ? u ? u.p(b, w) : (u = or(b), u.c(), u.m(r, s)) : u && (u.d(1), u = null), /*showRegisterStepThree*/
|
|
4453
|
+
b[20] ? c ? c.p(b, w) : (c = ar(b), c.c(), c.m(r, o)) : c && (c.d(1), c = null), y === (y = m(b)) && g ? g.p(b, w) : (g && g.d(1), g = y && y(b), g && (g.c(), g.m(r, a))), /*showConfirmation*/
|
|
4454
|
+
b[22] ? d ? d.p(b, w) : (d = ur(b), d.c(), d.m(r, null)) : d && (d.d(1), d = null);
|
|
4434
4455
|
},
|
|
4435
4456
|
d(b) {
|
|
4436
|
-
b &&
|
|
4457
|
+
b && M(t), h && h.d(), l && l.d(), u && u.d(), c && c.d(), g && g.d(), d && d.d();
|
|
4437
4458
|
}
|
|
4438
4459
|
};
|
|
4439
4460
|
}
|
|
4440
|
-
function
|
|
4461
|
+
function ir(e) {
|
|
4441
4462
|
let t, r, n, i, s, o, a, h, l;
|
|
4442
4463
|
return {
|
|
4443
4464
|
c() {
|
|
4444
|
-
t =
|
|
4465
|
+
t = H("div"), r = H("div"), i = U(), s = H("div"), a = U(), h = H("div"), S(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
|
|
4445
4466
|
(e[18] || !/*showRegisterStepOne*/
|
|
4446
4467
|
e[18] && /*showRegisterStepTwo*/
|
|
4447
4468
|
e[19] || !/*showRegisterStepOne*/
|
|
4448
4469
|
e[18] && !/*showRegisterStepTwo*/
|
|
4449
4470
|
e[19] && /*showRegisterStepThree*/
|
|
4450
|
-
e[20] ? "RegisterStepDashColor" : "")),
|
|
4471
|
+
e[20] ? "RegisterStepDashColor" : "")), S(s, "class", o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
|
|
4451
4472
|
(e[19] || !/*showRegisterStepOne*/
|
|
4452
4473
|
e[18] && !/*showRegisterStepTwo*/
|
|
4453
4474
|
e[19] && /*showRegisterStepThree*/
|
|
4454
|
-
e[20] ? "RegisterStepDashColor" : "")),
|
|
4455
|
-
(e[20] ? "RegisterStepDashColor" : "")),
|
|
4475
|
+
e[20] ? "RegisterStepDashColor" : "")), S(h, "class", l = "RegisterThirdStepDash " + /*showRegisterStepThree*/
|
|
4476
|
+
(e[20] ? "RegisterStepDashColor" : "")), S(t, "class", "RegisterSteps");
|
|
4456
4477
|
},
|
|
4457
4478
|
m(u, c) {
|
|
4458
4479
|
F(u, t, c), E(t, r), E(t, i), E(t, s), E(t, a), E(t, h), e[41](t);
|
|
@@ -4465,136 +4486,136 @@ function rr(e) {
|
|
|
4465
4486
|
u[19] || !/*showRegisterStepOne*/
|
|
4466
4487
|
u[18] && !/*showRegisterStepTwo*/
|
|
4467
4488
|
u[19] && /*showRegisterStepThree*/
|
|
4468
|
-
u[20] ? "RegisterStepDashColor" : "")) &&
|
|
4489
|
+
u[20] ? "RegisterStepDashColor" : "")) && S(r, "class", n), c[0] & /*showRegisterStepTwo, showRegisterStepOne, showRegisterStepThree*/
|
|
4469
4490
|
1835008 && o !== (o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
|
|
4470
4491
|
(u[19] || !/*showRegisterStepOne*/
|
|
4471
4492
|
u[18] && !/*showRegisterStepTwo*/
|
|
4472
4493
|
u[19] && /*showRegisterStepThree*/
|
|
4473
|
-
u[20] ? "RegisterStepDashColor" : "")) &&
|
|
4494
|
+
u[20] ? "RegisterStepDashColor" : "")) && S(s, "class", o), c[0] & /*showRegisterStepThree*/
|
|
4474
4495
|
1048576 && l !== (l = "RegisterThirdStepDash " + /*showRegisterStepThree*/
|
|
4475
|
-
(u[20] ? "RegisterStepDashColor" : "")) &&
|
|
4496
|
+
(u[20] ? "RegisterStepDashColor" : "")) && S(h, "class", l);
|
|
4476
4497
|
},
|
|
4477
4498
|
d(u) {
|
|
4478
|
-
u &&
|
|
4499
|
+
u && M(t), e[41](null);
|
|
4479
4500
|
}
|
|
4480
4501
|
};
|
|
4481
4502
|
}
|
|
4482
|
-
function
|
|
4503
|
+
function sr(e) {
|
|
4483
4504
|
let t, r;
|
|
4484
4505
|
return {
|
|
4485
4506
|
c() {
|
|
4486
|
-
t =
|
|
4507
|
+
t = H("div"), r = H("general-player-register-form-step1"), p(
|
|
4487
4508
|
r,
|
|
4488
4509
|
"lang",
|
|
4489
4510
|
/*lang*/
|
|
4490
4511
|
e[3]
|
|
4491
|
-
),
|
|
4512
|
+
), p(
|
|
4492
4513
|
r,
|
|
4493
4514
|
"disabledfields",
|
|
4494
4515
|
/*disabledfields*/
|
|
4495
4516
|
e[5]
|
|
4496
|
-
),
|
|
4517
|
+
), p(
|
|
4497
4518
|
r,
|
|
4498
4519
|
"defaultoptions",
|
|
4499
4520
|
/*defaultoptions*/
|
|
4500
4521
|
e[6]
|
|
4501
|
-
),
|
|
4522
|
+
), p(
|
|
4502
4523
|
r,
|
|
4503
4524
|
"custominputtextswitch",
|
|
4504
4525
|
/*custominputtextswitch*/
|
|
4505
4526
|
e[14]
|
|
4506
|
-
),
|
|
4527
|
+
), p(
|
|
4507
4528
|
r,
|
|
4508
4529
|
"simplepasswordvalidation",
|
|
4509
4530
|
/*simplepasswordvalidation*/
|
|
4510
4531
|
e[8]
|
|
4511
|
-
),
|
|
4532
|
+
), p(
|
|
4512
4533
|
r,
|
|
4513
4534
|
"clientstyling",
|
|
4514
4535
|
/*clientstyling*/
|
|
4515
4536
|
e[10]
|
|
4516
|
-
),
|
|
4537
|
+
), p(
|
|
4517
4538
|
r,
|
|
4518
4539
|
"clientstylingurl",
|
|
4519
4540
|
/*clientstylingurl*/
|
|
4520
4541
|
e[11]
|
|
4521
|
-
),
|
|
4542
|
+
), p(
|
|
4522
4543
|
r,
|
|
4523
4544
|
"savecredentials",
|
|
4524
4545
|
/*savecredentials*/
|
|
4525
4546
|
e[13]
|
|
4526
|
-
),
|
|
4547
|
+
), p(
|
|
4527
4548
|
r,
|
|
4528
4549
|
"translationurl",
|
|
4529
4550
|
/*translationurl*/
|
|
4530
4551
|
e[12]
|
|
4531
|
-
),
|
|
4552
|
+
), p(
|
|
4532
4553
|
r,
|
|
4533
4554
|
"mbsource",
|
|
4534
4555
|
/*mbsource*/
|
|
4535
4556
|
e[9]
|
|
4536
|
-
),
|
|
4557
|
+
), S(t, "class", "RegisterFormStep1");
|
|
4537
4558
|
},
|
|
4538
4559
|
m(n, i) {
|
|
4539
4560
|
F(n, t, i), E(t, r);
|
|
4540
4561
|
},
|
|
4541
4562
|
p(n, i) {
|
|
4542
4563
|
i[0] & /*lang*/
|
|
4543
|
-
8 &&
|
|
4564
|
+
8 && p(
|
|
4544
4565
|
r,
|
|
4545
4566
|
"lang",
|
|
4546
4567
|
/*lang*/
|
|
4547
4568
|
n[3]
|
|
4548
4569
|
), i[0] & /*disabledfields*/
|
|
4549
|
-
32 &&
|
|
4570
|
+
32 && p(
|
|
4550
4571
|
r,
|
|
4551
4572
|
"disabledfields",
|
|
4552
4573
|
/*disabledfields*/
|
|
4553
4574
|
n[5]
|
|
4554
4575
|
), i[0] & /*defaultoptions*/
|
|
4555
|
-
64 &&
|
|
4576
|
+
64 && p(
|
|
4556
4577
|
r,
|
|
4557
4578
|
"defaultoptions",
|
|
4558
4579
|
/*defaultoptions*/
|
|
4559
4580
|
n[6]
|
|
4560
4581
|
), i[0] & /*custominputtextswitch*/
|
|
4561
|
-
16384 &&
|
|
4582
|
+
16384 && p(
|
|
4562
4583
|
r,
|
|
4563
4584
|
"custominputtextswitch",
|
|
4564
4585
|
/*custominputtextswitch*/
|
|
4565
4586
|
n[14]
|
|
4566
4587
|
), i[0] & /*simplepasswordvalidation*/
|
|
4567
|
-
256 &&
|
|
4588
|
+
256 && p(
|
|
4568
4589
|
r,
|
|
4569
4590
|
"simplepasswordvalidation",
|
|
4570
4591
|
/*simplepasswordvalidation*/
|
|
4571
4592
|
n[8]
|
|
4572
4593
|
), i[0] & /*clientstyling*/
|
|
4573
|
-
1024 &&
|
|
4594
|
+
1024 && p(
|
|
4574
4595
|
r,
|
|
4575
4596
|
"clientstyling",
|
|
4576
4597
|
/*clientstyling*/
|
|
4577
4598
|
n[10]
|
|
4578
4599
|
), i[0] & /*clientstylingurl*/
|
|
4579
|
-
2048 &&
|
|
4600
|
+
2048 && p(
|
|
4580
4601
|
r,
|
|
4581
4602
|
"clientstylingurl",
|
|
4582
4603
|
/*clientstylingurl*/
|
|
4583
4604
|
n[11]
|
|
4584
4605
|
), i[0] & /*savecredentials*/
|
|
4585
|
-
8192 &&
|
|
4606
|
+
8192 && p(
|
|
4586
4607
|
r,
|
|
4587
4608
|
"savecredentials",
|
|
4588
4609
|
/*savecredentials*/
|
|
4589
4610
|
n[13]
|
|
4590
4611
|
), i[0] & /*translationurl*/
|
|
4591
|
-
4096 &&
|
|
4612
|
+
4096 && p(
|
|
4592
4613
|
r,
|
|
4593
4614
|
"translationurl",
|
|
4594
4615
|
/*translationurl*/
|
|
4595
4616
|
n[12]
|
|
4596
4617
|
), i[0] & /*mbsource*/
|
|
4597
|
-
512 &&
|
|
4618
|
+
512 && p(
|
|
4598
4619
|
r,
|
|
4599
4620
|
"mbsource",
|
|
4600
4621
|
/*mbsource*/
|
|
@@ -4602,126 +4623,126 @@ function nr(e) {
|
|
|
4602
4623
|
);
|
|
4603
4624
|
},
|
|
4604
4625
|
d(n) {
|
|
4605
|
-
n &&
|
|
4626
|
+
n && M(t);
|
|
4606
4627
|
}
|
|
4607
4628
|
};
|
|
4608
4629
|
}
|
|
4609
|
-
function
|
|
4630
|
+
function or(e) {
|
|
4610
4631
|
let t, r;
|
|
4611
4632
|
return {
|
|
4612
4633
|
c() {
|
|
4613
|
-
t =
|
|
4634
|
+
t = H("div"), r = H("general-player-register-form-step2"), p(
|
|
4614
4635
|
r,
|
|
4615
4636
|
"endpoint",
|
|
4616
4637
|
/*endpoint*/
|
|
4617
4638
|
e[0]
|
|
4618
|
-
),
|
|
4639
|
+
), p(
|
|
4619
4640
|
r,
|
|
4620
4641
|
"lang",
|
|
4621
4642
|
/*lang*/
|
|
4622
4643
|
e[3]
|
|
4623
|
-
),
|
|
4644
|
+
), p(
|
|
4624
4645
|
r,
|
|
4625
4646
|
"licenseyears",
|
|
4626
4647
|
/*licenseyears*/
|
|
4627
4648
|
e[4]
|
|
4628
|
-
),
|
|
4649
|
+
), p(
|
|
4629
4650
|
r,
|
|
4630
4651
|
"disabledfields",
|
|
4631
4652
|
/*disabledfields*/
|
|
4632
4653
|
e[5]
|
|
4633
|
-
),
|
|
4654
|
+
), p(
|
|
4634
4655
|
r,
|
|
4635
4656
|
"defaultoptions",
|
|
4636
4657
|
/*defaultoptions*/
|
|
4637
4658
|
e[6]
|
|
4638
|
-
),
|
|
4659
|
+
), p(
|
|
4639
4660
|
r,
|
|
4640
4661
|
"personalidlength",
|
|
4641
4662
|
/*personalidlength*/
|
|
4642
4663
|
e[15]
|
|
4643
|
-
),
|
|
4664
|
+
), p(
|
|
4644
4665
|
r,
|
|
4645
4666
|
"clientstyling",
|
|
4646
4667
|
/*clientstyling*/
|
|
4647
4668
|
e[10]
|
|
4648
|
-
),
|
|
4669
|
+
), p(
|
|
4649
4670
|
r,
|
|
4650
4671
|
"clientstylingurl",
|
|
4651
4672
|
/*clientstylingurl*/
|
|
4652
4673
|
e[11]
|
|
4653
|
-
),
|
|
4674
|
+
), p(
|
|
4654
4675
|
r,
|
|
4655
4676
|
"translationurl",
|
|
4656
4677
|
/*translationurl*/
|
|
4657
4678
|
e[12]
|
|
4658
|
-
),
|
|
4679
|
+
), p(
|
|
4659
4680
|
r,
|
|
4660
4681
|
"mbsource",
|
|
4661
4682
|
/*mbsource*/
|
|
4662
4683
|
e[9]
|
|
4663
|
-
),
|
|
4684
|
+
), S(t, "class", "RegisterFormStep2");
|
|
4664
4685
|
},
|
|
4665
4686
|
m(n, i) {
|
|
4666
4687
|
F(n, t, i), E(t, r);
|
|
4667
4688
|
},
|
|
4668
4689
|
p(n, i) {
|
|
4669
4690
|
i[0] & /*endpoint*/
|
|
4670
|
-
1 &&
|
|
4691
|
+
1 && p(
|
|
4671
4692
|
r,
|
|
4672
4693
|
"endpoint",
|
|
4673
4694
|
/*endpoint*/
|
|
4674
4695
|
n[0]
|
|
4675
4696
|
), i[0] & /*lang*/
|
|
4676
|
-
8 &&
|
|
4697
|
+
8 && p(
|
|
4677
4698
|
r,
|
|
4678
4699
|
"lang",
|
|
4679
4700
|
/*lang*/
|
|
4680
4701
|
n[3]
|
|
4681
4702
|
), i[0] & /*licenseyears*/
|
|
4682
|
-
16 &&
|
|
4703
|
+
16 && p(
|
|
4683
4704
|
r,
|
|
4684
4705
|
"licenseyears",
|
|
4685
4706
|
/*licenseyears*/
|
|
4686
4707
|
n[4]
|
|
4687
4708
|
), i[0] & /*disabledfields*/
|
|
4688
|
-
32 &&
|
|
4709
|
+
32 && p(
|
|
4689
4710
|
r,
|
|
4690
4711
|
"disabledfields",
|
|
4691
4712
|
/*disabledfields*/
|
|
4692
4713
|
n[5]
|
|
4693
4714
|
), i[0] & /*defaultoptions*/
|
|
4694
|
-
64 &&
|
|
4715
|
+
64 && p(
|
|
4695
4716
|
r,
|
|
4696
4717
|
"defaultoptions",
|
|
4697
4718
|
/*defaultoptions*/
|
|
4698
4719
|
n[6]
|
|
4699
4720
|
), i[0] & /*personalidlength*/
|
|
4700
|
-
32768 &&
|
|
4721
|
+
32768 && p(
|
|
4701
4722
|
r,
|
|
4702
4723
|
"personalidlength",
|
|
4703
4724
|
/*personalidlength*/
|
|
4704
4725
|
n[15]
|
|
4705
4726
|
), i[0] & /*clientstyling*/
|
|
4706
|
-
1024 &&
|
|
4727
|
+
1024 && p(
|
|
4707
4728
|
r,
|
|
4708
4729
|
"clientstyling",
|
|
4709
4730
|
/*clientstyling*/
|
|
4710
4731
|
n[10]
|
|
4711
4732
|
), i[0] & /*clientstylingurl*/
|
|
4712
|
-
2048 &&
|
|
4733
|
+
2048 && p(
|
|
4713
4734
|
r,
|
|
4714
4735
|
"clientstylingurl",
|
|
4715
4736
|
/*clientstylingurl*/
|
|
4716
4737
|
n[11]
|
|
4717
4738
|
), i[0] & /*translationurl*/
|
|
4718
|
-
4096 &&
|
|
4739
|
+
4096 && p(
|
|
4719
4740
|
r,
|
|
4720
4741
|
"translationurl",
|
|
4721
4742
|
/*translationurl*/
|
|
4722
4743
|
n[12]
|
|
4723
4744
|
), i[0] & /*mbsource*/
|
|
4724
|
-
512 &&
|
|
4745
|
+
512 && p(
|
|
4725
4746
|
r,
|
|
4726
4747
|
"mbsource",
|
|
4727
4748
|
/*mbsource*/
|
|
@@ -4729,159 +4750,159 @@ function ir(e) {
|
|
|
4729
4750
|
);
|
|
4730
4751
|
},
|
|
4731
4752
|
d(n) {
|
|
4732
|
-
n &&
|
|
4753
|
+
n && M(t);
|
|
4733
4754
|
}
|
|
4734
4755
|
};
|
|
4735
4756
|
}
|
|
4736
|
-
function
|
|
4757
|
+
function ar(e) {
|
|
4737
4758
|
let t, r;
|
|
4738
4759
|
return {
|
|
4739
4760
|
c() {
|
|
4740
|
-
t =
|
|
4761
|
+
t = H("div"), r = H("general-player-register-form-step3"), p(
|
|
4741
4762
|
r,
|
|
4742
4763
|
"userconsentsexist",
|
|
4743
4764
|
/*userconsentsexist*/
|
|
4744
4765
|
e[26]
|
|
4745
|
-
),
|
|
4766
|
+
), p(
|
|
4746
4767
|
r,
|
|
4747
4768
|
"termsconditions",
|
|
4748
4769
|
/*termsconditions*/
|
|
4749
4770
|
e[27]
|
|
4750
|
-
),
|
|
4771
|
+
), p(
|
|
4751
4772
|
r,
|
|
4752
4773
|
"smsoffers",
|
|
4753
4774
|
/*smsoffers*/
|
|
4754
4775
|
e[28]
|
|
4755
|
-
),
|
|
4776
|
+
), p(
|
|
4756
4777
|
r,
|
|
4757
4778
|
"emailmarketing",
|
|
4758
4779
|
/*emailmarketing*/
|
|
4759
4780
|
e[29]
|
|
4760
|
-
),
|
|
4781
|
+
), p(
|
|
4761
4782
|
r,
|
|
4762
4783
|
"endpoint",
|
|
4763
4784
|
/*endpoint*/
|
|
4764
4785
|
e[0]
|
|
4765
|
-
),
|
|
4786
|
+
), p(
|
|
4766
4787
|
r,
|
|
4767
4788
|
"captchakey",
|
|
4768
4789
|
/*captchakey*/
|
|
4769
4790
|
e[2]
|
|
4770
|
-
),
|
|
4791
|
+
), p(
|
|
4771
4792
|
r,
|
|
4772
4793
|
"lang",
|
|
4773
4794
|
/*lang*/
|
|
4774
4795
|
e[3]
|
|
4775
|
-
),
|
|
4796
|
+
), p(
|
|
4776
4797
|
r,
|
|
4777
4798
|
"defaultoptions",
|
|
4778
4799
|
/*defaultoptions*/
|
|
4779
4800
|
e[6]
|
|
4780
|
-
),
|
|
4801
|
+
), p(
|
|
4781
4802
|
r,
|
|
4782
4803
|
"disabledfields",
|
|
4783
4804
|
/*disabledfields*/
|
|
4784
4805
|
e[5]
|
|
4785
|
-
),
|
|
4806
|
+
), p(
|
|
4786
4807
|
r,
|
|
4787
4808
|
"clientstyling",
|
|
4788
4809
|
/*clientstyling*/
|
|
4789
4810
|
e[10]
|
|
4790
|
-
),
|
|
4811
|
+
), p(
|
|
4791
4812
|
r,
|
|
4792
4813
|
"clientstylingurl",
|
|
4793
4814
|
/*clientstylingurl*/
|
|
4794
4815
|
e[11]
|
|
4795
|
-
),
|
|
4816
|
+
), p(
|
|
4796
4817
|
r,
|
|
4797
4818
|
"translationurl",
|
|
4798
4819
|
/*translationurl*/
|
|
4799
4820
|
e[12]
|
|
4800
|
-
),
|
|
4821
|
+
), p(
|
|
4801
4822
|
r,
|
|
4802
4823
|
"mbsource",
|
|
4803
4824
|
/*mbsource*/
|
|
4804
4825
|
e[9]
|
|
4805
|
-
),
|
|
4826
|
+
), S(t, "class", "RegisterFormStep3");
|
|
4806
4827
|
},
|
|
4807
4828
|
m(n, i) {
|
|
4808
4829
|
F(n, t, i), E(t, r);
|
|
4809
4830
|
},
|
|
4810
4831
|
p(n, i) {
|
|
4811
4832
|
i[0] & /*userconsentsexist*/
|
|
4812
|
-
67108864 &&
|
|
4833
|
+
67108864 && p(
|
|
4813
4834
|
r,
|
|
4814
4835
|
"userconsentsexist",
|
|
4815
4836
|
/*userconsentsexist*/
|
|
4816
4837
|
n[26]
|
|
4817
4838
|
), i[0] & /*termsconditions*/
|
|
4818
|
-
134217728 &&
|
|
4839
|
+
134217728 && p(
|
|
4819
4840
|
r,
|
|
4820
4841
|
"termsconditions",
|
|
4821
4842
|
/*termsconditions*/
|
|
4822
4843
|
n[27]
|
|
4823
4844
|
), i[0] & /*smsoffers*/
|
|
4824
|
-
268435456 &&
|
|
4845
|
+
268435456 && p(
|
|
4825
4846
|
r,
|
|
4826
4847
|
"smsoffers",
|
|
4827
4848
|
/*smsoffers*/
|
|
4828
4849
|
n[28]
|
|
4829
4850
|
), i[0] & /*emailmarketing*/
|
|
4830
|
-
536870912 &&
|
|
4851
|
+
536870912 && p(
|
|
4831
4852
|
r,
|
|
4832
4853
|
"emailmarketing",
|
|
4833
4854
|
/*emailmarketing*/
|
|
4834
4855
|
n[29]
|
|
4835
4856
|
), i[0] & /*endpoint*/
|
|
4836
|
-
1 &&
|
|
4857
|
+
1 && p(
|
|
4837
4858
|
r,
|
|
4838
4859
|
"endpoint",
|
|
4839
4860
|
/*endpoint*/
|
|
4840
4861
|
n[0]
|
|
4841
4862
|
), i[0] & /*captchakey*/
|
|
4842
|
-
4 &&
|
|
4863
|
+
4 && p(
|
|
4843
4864
|
r,
|
|
4844
4865
|
"captchakey",
|
|
4845
4866
|
/*captchakey*/
|
|
4846
4867
|
n[2]
|
|
4847
4868
|
), i[0] & /*lang*/
|
|
4848
|
-
8 &&
|
|
4869
|
+
8 && p(
|
|
4849
4870
|
r,
|
|
4850
4871
|
"lang",
|
|
4851
4872
|
/*lang*/
|
|
4852
4873
|
n[3]
|
|
4853
4874
|
), i[0] & /*defaultoptions*/
|
|
4854
|
-
64 &&
|
|
4875
|
+
64 && p(
|
|
4855
4876
|
r,
|
|
4856
4877
|
"defaultoptions",
|
|
4857
4878
|
/*defaultoptions*/
|
|
4858
4879
|
n[6]
|
|
4859
4880
|
), i[0] & /*disabledfields*/
|
|
4860
|
-
32 &&
|
|
4881
|
+
32 && p(
|
|
4861
4882
|
r,
|
|
4862
4883
|
"disabledfields",
|
|
4863
4884
|
/*disabledfields*/
|
|
4864
4885
|
n[5]
|
|
4865
4886
|
), i[0] & /*clientstyling*/
|
|
4866
|
-
1024 &&
|
|
4887
|
+
1024 && p(
|
|
4867
4888
|
r,
|
|
4868
4889
|
"clientstyling",
|
|
4869
4890
|
/*clientstyling*/
|
|
4870
4891
|
n[10]
|
|
4871
4892
|
), i[0] & /*clientstylingurl*/
|
|
4872
|
-
2048 &&
|
|
4893
|
+
2048 && p(
|
|
4873
4894
|
r,
|
|
4874
4895
|
"clientstylingurl",
|
|
4875
4896
|
/*clientstylingurl*/
|
|
4876
4897
|
n[11]
|
|
4877
4898
|
), i[0] & /*translationurl*/
|
|
4878
|
-
4096 &&
|
|
4899
|
+
4096 && p(
|
|
4879
4900
|
r,
|
|
4880
4901
|
"translationurl",
|
|
4881
4902
|
/*translationurl*/
|
|
4882
4903
|
n[12]
|
|
4883
4904
|
), i[0] & /*mbsource*/
|
|
4884
|
-
512 &&
|
|
4905
|
+
512 && p(
|
|
4885
4906
|
r,
|
|
4886
4907
|
"mbsource",
|
|
4887
4908
|
/*mbsource*/
|
|
@@ -4889,18 +4910,18 @@ function sr(e) {
|
|
|
4889
4910
|
);
|
|
4890
4911
|
},
|
|
4891
4912
|
d(n) {
|
|
4892
|
-
n &&
|
|
4913
|
+
n && M(t);
|
|
4893
4914
|
}
|
|
4894
4915
|
};
|
|
4895
4916
|
}
|
|
4896
|
-
function
|
|
4917
|
+
function Ns(e) {
|
|
4897
4918
|
let t, r = (
|
|
4898
4919
|
/*$_*/
|
|
4899
4920
|
e[34]("error") + ""
|
|
4900
4921
|
), n;
|
|
4901
4922
|
return {
|
|
4902
4923
|
c() {
|
|
4903
|
-
t =
|
|
4924
|
+
t = H("p"), n = V(r), S(t, "class", "SMSErrorText");
|
|
4904
4925
|
},
|
|
4905
4926
|
m(i, s) {
|
|
4906
4927
|
F(i, t, s), E(t, n);
|
|
@@ -4911,22 +4932,22 @@ function Rs(e) {
|
|
|
4911
4932
|
i[34]("error") + "") && K(n, r);
|
|
4912
4933
|
},
|
|
4913
4934
|
d(i) {
|
|
4914
|
-
i &&
|
|
4935
|
+
i && M(t);
|
|
4915
4936
|
}
|
|
4916
4937
|
};
|
|
4917
4938
|
}
|
|
4918
|
-
function
|
|
4939
|
+
function Ms(e) {
|
|
4919
4940
|
let t;
|
|
4920
4941
|
function r(s, o) {
|
|
4921
4942
|
return (
|
|
4922
4943
|
/*smsSendApiFailed*/
|
|
4923
|
-
s[31] ?
|
|
4944
|
+
s[31] ? Ds : Fs
|
|
4924
4945
|
);
|
|
4925
4946
|
}
|
|
4926
4947
|
let n = r(e), i = n(e);
|
|
4927
4948
|
return {
|
|
4928
4949
|
c() {
|
|
4929
|
-
i.c(), t =
|
|
4950
|
+
i.c(), t = an();
|
|
4930
4951
|
},
|
|
4931
4952
|
m(s, o) {
|
|
4932
4953
|
i.m(s, o), F(s, t, o);
|
|
@@ -4935,18 +4956,18 @@ function Ls(e) {
|
|
|
4935
4956
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t.parentNode, t)));
|
|
4936
4957
|
},
|
|
4937
4958
|
d(s) {
|
|
4938
|
-
s &&
|
|
4959
|
+
s && M(t), i.d(s);
|
|
4939
4960
|
}
|
|
4940
4961
|
};
|
|
4941
4962
|
}
|
|
4942
|
-
function
|
|
4963
|
+
function Ds(e) {
|
|
4943
4964
|
let t, r = (
|
|
4944
4965
|
/*$_*/
|
|
4945
4966
|
e[34]("error") + ""
|
|
4946
4967
|
), n;
|
|
4947
4968
|
return {
|
|
4948
4969
|
c() {
|
|
4949
|
-
t =
|
|
4970
|
+
t = H("p"), n = V(r), S(t, "class", "SMSErrorText");
|
|
4950
4971
|
},
|
|
4951
4972
|
m(i, s) {
|
|
4952
4973
|
F(i, t, s), E(t, n);
|
|
@@ -4957,50 +4978,50 @@ function Ms(e) {
|
|
|
4957
4978
|
i[34]("error") + "") && K(n, r);
|
|
4958
4979
|
},
|
|
4959
4980
|
d(i) {
|
|
4960
|
-
i &&
|
|
4981
|
+
i && M(t);
|
|
4961
4982
|
}
|
|
4962
4983
|
};
|
|
4963
4984
|
}
|
|
4964
|
-
function
|
|
4985
|
+
function Fs(e) {
|
|
4965
4986
|
let t;
|
|
4966
4987
|
return {
|
|
4967
4988
|
c() {
|
|
4968
|
-
t =
|
|
4989
|
+
t = H("general-player-sms-verification-form"), p(
|
|
4969
4990
|
t,
|
|
4970
4991
|
"endpoint",
|
|
4971
4992
|
/*endpoint*/
|
|
4972
4993
|
e[0]
|
|
4973
|
-
),
|
|
4994
|
+
), p(
|
|
4974
4995
|
t,
|
|
4975
4996
|
"session",
|
|
4976
4997
|
/*session*/
|
|
4977
4998
|
e[1]
|
|
4978
|
-
),
|
|
4999
|
+
), p(
|
|
4979
5000
|
t,
|
|
4980
5001
|
"number",
|
|
4981
5002
|
/*number*/
|
|
4982
5003
|
e[32]
|
|
4983
|
-
),
|
|
5004
|
+
), p(
|
|
4984
5005
|
t,
|
|
4985
5006
|
"playerid",
|
|
4986
5007
|
/*playerid*/
|
|
4987
5008
|
e[17]
|
|
4988
|
-
),
|
|
5009
|
+
), p(
|
|
4989
5010
|
t,
|
|
4990
5011
|
"tokenid",
|
|
4991
5012
|
/*smstokenid*/
|
|
4992
5013
|
e[30]
|
|
4993
|
-
),
|
|
5014
|
+
), p(
|
|
4994
5015
|
t,
|
|
4995
5016
|
"clientstyling",
|
|
4996
5017
|
/*clientstyling*/
|
|
4997
5018
|
e[10]
|
|
4998
|
-
),
|
|
5019
|
+
), p(
|
|
4999
5020
|
t,
|
|
5000
5021
|
"clientstylingurl",
|
|
5001
5022
|
/*clientstylingurl*/
|
|
5002
5023
|
e[11]
|
|
5003
|
-
),
|
|
5024
|
+
), p(
|
|
5004
5025
|
t,
|
|
5005
5026
|
"mbsource",
|
|
5006
5027
|
/*mbsource*/
|
|
@@ -5012,49 +5033,49 @@ function Ns(e) {
|
|
|
5012
5033
|
},
|
|
5013
5034
|
p(r, n) {
|
|
5014
5035
|
n[0] & /*endpoint*/
|
|
5015
|
-
1 &&
|
|
5036
|
+
1 && p(
|
|
5016
5037
|
t,
|
|
5017
5038
|
"endpoint",
|
|
5018
5039
|
/*endpoint*/
|
|
5019
5040
|
r[0]
|
|
5020
5041
|
), n[0] & /*session*/
|
|
5021
|
-
2 &&
|
|
5042
|
+
2 && p(
|
|
5022
5043
|
t,
|
|
5023
5044
|
"session",
|
|
5024
5045
|
/*session*/
|
|
5025
5046
|
r[1]
|
|
5026
5047
|
), n[1] & /*number*/
|
|
5027
|
-
2 &&
|
|
5048
|
+
2 && p(
|
|
5028
5049
|
t,
|
|
5029
5050
|
"number",
|
|
5030
5051
|
/*number*/
|
|
5031
5052
|
r[32]
|
|
5032
5053
|
), n[0] & /*playerid*/
|
|
5033
|
-
131072 &&
|
|
5054
|
+
131072 && p(
|
|
5034
5055
|
t,
|
|
5035
5056
|
"playerid",
|
|
5036
5057
|
/*playerid*/
|
|
5037
5058
|
r[17]
|
|
5038
5059
|
), n[0] & /*smstokenid*/
|
|
5039
|
-
1073741824 &&
|
|
5060
|
+
1073741824 && p(
|
|
5040
5061
|
t,
|
|
5041
5062
|
"tokenid",
|
|
5042
5063
|
/*smstokenid*/
|
|
5043
5064
|
r[30]
|
|
5044
5065
|
), n[0] & /*clientstyling*/
|
|
5045
|
-
1024 &&
|
|
5066
|
+
1024 && p(
|
|
5046
5067
|
t,
|
|
5047
5068
|
"clientstyling",
|
|
5048
5069
|
/*clientstyling*/
|
|
5049
5070
|
r[10]
|
|
5050
5071
|
), n[0] & /*clientstylingurl*/
|
|
5051
|
-
2048 &&
|
|
5072
|
+
2048 && p(
|
|
5052
5073
|
t,
|
|
5053
5074
|
"clientstylingurl",
|
|
5054
5075
|
/*clientstylingurl*/
|
|
5055
5076
|
r[11]
|
|
5056
5077
|
), n[0] & /*mbsource*/
|
|
5057
|
-
512 &&
|
|
5078
|
+
512 && p(
|
|
5058
5079
|
t,
|
|
5059
5080
|
"mbsource",
|
|
5060
5081
|
/*mbsource*/
|
|
@@ -5062,31 +5083,31 @@ function Ns(e) {
|
|
|
5062
5083
|
);
|
|
5063
5084
|
},
|
|
5064
5085
|
d(r) {
|
|
5065
|
-
r &&
|
|
5086
|
+
r && M(t);
|
|
5066
5087
|
}
|
|
5067
5088
|
};
|
|
5068
5089
|
}
|
|
5069
|
-
function
|
|
5070
|
-
let t, r, n, i, s, o, a, h, l, u, c,
|
|
5090
|
+
function ur(e) {
|
|
5091
|
+
let t, r, n, i, s, o, a, h, l, u, c, m, y, g, d, b, w, O = (
|
|
5071
5092
|
/*$_*/
|
|
5072
5093
|
e[34]("goToLoginButton") + ""
|
|
5073
|
-
), P, L,
|
|
5094
|
+
), P, L, N;
|
|
5074
5095
|
return {
|
|
5075
5096
|
c() {
|
|
5076
|
-
t =
|
|
5097
|
+
t = H("div"), r = Se("svg"), n = Se("defs"), i = Se("style"), s = V(".a{fill:#var(--emw--color-valid, var(--emw--color-green, #48952a));}"), o = Se("path"), a = U(), h = H("h2"), l = V(
|
|
5077
5098
|
/*accountCreationTitle*/
|
|
5078
5099
|
e[23]
|
|
5079
|
-
), u = U(), c =
|
|
5100
|
+
), u = U(), c = H("p"), m = V(
|
|
5080
5101
|
/*accountCreationSubTitle*/
|
|
5081
5102
|
e[24]
|
|
5082
|
-
), y = U(), g =
|
|
5103
|
+
), y = U(), g = H("p"), d = V(
|
|
5083
5104
|
/*accountCreationMessage*/
|
|
5084
5105
|
e[25]
|
|
5085
|
-
), b = U(),
|
|
5106
|
+
), b = U(), w = H("button"), P = V(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(w, "class", "RegisterConfirmationGoToLogin"), S(t, "class", "RegisterConfirmation");
|
|
5086
5107
|
},
|
|
5087
5108
|
m(C, D) {
|
|
5088
|
-
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,
|
|
5089
|
-
|
|
5109
|
+
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, m), E(t, y), E(t, g), E(g, d), E(t, b), E(t, w), E(w, P), L || (N = un(
|
|
5110
|
+
w,
|
|
5090
5111
|
"click",
|
|
5091
5112
|
/*switchToLogin*/
|
|
5092
5113
|
e[36]
|
|
@@ -5100,7 +5121,7 @@ function or(e) {
|
|
|
5100
5121
|
C[23]
|
|
5101
5122
|
), D[0] & /*accountCreationSubTitle*/
|
|
5102
5123
|
16777216 && K(
|
|
5103
|
-
|
|
5124
|
+
m,
|
|
5104
5125
|
/*accountCreationSubTitle*/
|
|
5105
5126
|
C[24]
|
|
5106
5127
|
), D[0] & /*accountCreationMessage*/
|
|
@@ -5113,19 +5134,19 @@ function or(e) {
|
|
|
5113
5134
|
C[34]("goToLoginButton") + "") && K(P, O);
|
|
5114
5135
|
},
|
|
5115
5136
|
d(C) {
|
|
5116
|
-
C &&
|
|
5137
|
+
C && M(t), L = !1, N();
|
|
5117
5138
|
}
|
|
5118
5139
|
};
|
|
5119
5140
|
}
|
|
5120
|
-
function
|
|
5141
|
+
function Us(e) {
|
|
5121
5142
|
let t;
|
|
5122
5143
|
function r(s, o) {
|
|
5123
|
-
return
|
|
5144
|
+
return Ls;
|
|
5124
5145
|
}
|
|
5125
5146
|
let i = r()(e);
|
|
5126
5147
|
return {
|
|
5127
5148
|
c() {
|
|
5128
|
-
t =
|
|
5149
|
+
t = H("div"), i.c();
|
|
5129
5150
|
},
|
|
5130
5151
|
m(s, o) {
|
|
5131
5152
|
F(s, t, o), i.m(t, null), e[42](t);
|
|
@@ -5136,84 +5157,84 @@ function Ds(e) {
|
|
|
5136
5157
|
i: k,
|
|
5137
5158
|
o: k,
|
|
5138
5159
|
d(s) {
|
|
5139
|
-
s &&
|
|
5160
|
+
s && M(t), i.d(), e[42](null);
|
|
5140
5161
|
}
|
|
5141
5162
|
};
|
|
5142
5163
|
}
|
|
5143
|
-
let
|
|
5144
|
-
function
|
|
5164
|
+
let ks = "Please use this code {0} to activate your account";
|
|
5165
|
+
function Gs(e, t, r) {
|
|
5145
5166
|
let n;
|
|
5146
|
-
|
|
5147
|
-
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:
|
|
5148
|
-
|
|
5149
|
-
const
|
|
5150
|
-
fetch(L).then((
|
|
5151
|
-
Object.keys(
|
|
5152
|
-
|
|
5167
|
+
rn(e, Bs, (f) => r(34, n = f));
|
|
5168
|
+
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: m = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: d = "false" } = t, { userroles: b = "" } = t, { mbsource: w } = t, { clientstyling: O = "" } = t, { clientstylingurl: P = "" } = t, { translationurl: L = "" } = t, { savecredentials: N = "" } = t, { custominputtextswitch: C = "false" } = t, { personalidlength: D = "13" } = t, j, yt = "", ke = !0, ue = !1, be = !1, Ge = !1, je = !1, ye, vt = !1, _t = "", Et = "", wt = "", St = window.navigator.userAgent, $r = tr(St) !== "PC", $ = {}, xt = !1, Tt = !1, $e = "false", Ht = "false", Bt = "false", At = "false", Pt = "", Ot, ve = !1, Ct, _e;
|
|
5169
|
+
As({ withLocale: "en", translations: {} });
|
|
5170
|
+
const Vr = () => {
|
|
5171
|
+
fetch(L).then((T) => T.json()).then((T) => {
|
|
5172
|
+
Object.keys(T).forEach((I) => {
|
|
5173
|
+
rr(I, T[I]);
|
|
5153
5174
|
});
|
|
5154
|
-
}).catch((
|
|
5155
|
-
console.log(
|
|
5175
|
+
}).catch((T) => {
|
|
5176
|
+
console.log(T);
|
|
5156
5177
|
});
|
|
5157
5178
|
};
|
|
5158
|
-
Object.keys(
|
|
5159
|
-
|
|
5179
|
+
Object.keys(nr).forEach((f) => {
|
|
5180
|
+
rr(f, nr[f]);
|
|
5160
5181
|
});
|
|
5161
|
-
const
|
|
5182
|
+
const Xr = () => {
|
|
5162
5183
|
fetch(`${i}/v1/player/consentRequirements`).then((f) => f.json()).then((f) => {
|
|
5163
|
-
f.items.length > 0 ? (r(26,
|
|
5164
|
-
switch (
|
|
5184
|
+
f.items.length > 0 ? (r(26, $e = "true"), f.items.forEach((T) => {
|
|
5185
|
+
switch (T.tagCode) {
|
|
5165
5186
|
case "termsandconditions":
|
|
5166
|
-
r(27,
|
|
5187
|
+
r(27, Ht = "true");
|
|
5167
5188
|
break;
|
|
5168
5189
|
case "sms":
|
|
5169
|
-
r(28,
|
|
5190
|
+
r(28, Bt = "true");
|
|
5170
5191
|
break;
|
|
5171
5192
|
case "emailmarketing":
|
|
5172
|
-
r(29,
|
|
5193
|
+
r(29, At = "true");
|
|
5173
5194
|
break;
|
|
5174
5195
|
}
|
|
5175
|
-
})) : r(26,
|
|
5196
|
+
})) : r(26, $e = "false");
|
|
5176
5197
|
});
|
|
5177
|
-
},
|
|
5178
|
-
let f = new URL(`${s}/${u}/login-register-content?env=${o}`),
|
|
5179
|
-
|
|
5180
|
-
ye = I.registerData, r(23,
|
|
5198
|
+
}, Wr = () => {
|
|
5199
|
+
let f = new URL(`${s}/${u}/login-register-content?env=${o}`), T = tr(St);
|
|
5200
|
+
T && (T === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((I) => I.json()).then((I) => {
|
|
5201
|
+
ye = I.registerData, r(23, _t = ye.title), r(24, Et = ye.subtitle), r(25, wt = ye.content);
|
|
5181
5202
|
}).catch((I) => {
|
|
5182
5203
|
console.error(I);
|
|
5183
5204
|
});
|
|
5184
5205
|
}, Ee = () => {
|
|
5185
5206
|
_e.scrollIntoView();
|
|
5186
|
-
},
|
|
5187
|
-
for (const
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
},
|
|
5207
|
+
}, le = (f) => {
|
|
5208
|
+
for (const T in f)
|
|
5209
|
+
$[T] = f[T], T === "mobile" && r(32, Ct = `${f[T].prefix}${f[T].number}`);
|
|
5210
|
+
$.affiliateMarker = $.promoCode ? $.promoCode : h ?? "";
|
|
5211
|
+
}, It = (f) => {
|
|
5191
5212
|
if (f.data)
|
|
5192
5213
|
switch (f.data.type) {
|
|
5193
5214
|
case "RegisterStepOne":
|
|
5194
|
-
|
|
5215
|
+
le(f.data.registerStepOneData), Ee(), r(18, ke = !1), r(19, ue = !0), xt == !1 ? xt = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: $ }, window.location.href);
|
|
5195
5216
|
break;
|
|
5196
5217
|
case "RegisterStepTwo":
|
|
5197
|
-
|
|
5218
|
+
le(f.data.registerStepTwoData), Ee(), r(19, ue = !1), r(20, be = !0), Tt == !1 ? Tt = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: $ }, window.location.href);
|
|
5198
5219
|
break;
|
|
5199
5220
|
case "RegisterStepThree":
|
|
5200
|
-
|
|
5221
|
+
le(f.data.registerStepThreeData), Zr($);
|
|
5201
5222
|
break;
|
|
5202
5223
|
case "SmsHasBeenValidated":
|
|
5203
|
-
r(22,
|
|
5224
|
+
r(22, je = !0), r(21, Ge = !1);
|
|
5204
5225
|
break;
|
|
5205
5226
|
case "GoBackStepTwo":
|
|
5206
|
-
|
|
5227
|
+
le(f.data.registerStepTwoData), Ee(), r(18, ke = !0), r(19, ue = !1), window.postMessage({ type: "StepOneDataBackup", userData: $ }, window.location.href);
|
|
5207
5228
|
break;
|
|
5208
5229
|
case "GoBackStepThree":
|
|
5209
|
-
|
|
5230
|
+
le(f.data.registerStepThreeData), Ee(), r(19, ue = !0), r(20, be = !1), window.postMessage({ type: "StepTwoDataBackup", userData: $ }, window.location.href);
|
|
5210
5231
|
break;
|
|
5211
5232
|
}
|
|
5212
|
-
},
|
|
5233
|
+
}, zr = () => {
|
|
5213
5234
|
typeof gtag == "function" && gtag("event", "Register", { context: "GeneralPlayerRegisterForm" });
|
|
5214
|
-
},
|
|
5235
|
+
}, Zr = async (f) => {
|
|
5215
5236
|
f.language = u;
|
|
5216
|
-
let
|
|
5237
|
+
let T = {
|
|
5217
5238
|
method: "PUT",
|
|
5218
5239
|
headers: {
|
|
5219
5240
|
"g-recaptcha-response": f.token,
|
|
@@ -5221,16 +5242,16 @@ function Us(e, t, r) {
|
|
|
5221
5242
|
Accept: "application/json"
|
|
5222
5243
|
},
|
|
5223
5244
|
body: JSON.stringify(f)
|
|
5224
|
-
}, I = await fetch(`${i}/v1/player/register`,
|
|
5225
|
-
I.ok ? (r(20, be = !1), g === "false" ? r(22,
|
|
5245
|
+
}, I = await fetch(`${i}/v1/player/register`, T), W = await I.json();
|
|
5246
|
+
I.ok ? (r(20, be = !1), g === "false" ? r(22, je = !0) : (r(17, yt = W.id), Jr(f, W.id)), f.username, f.password, zr()) : (Pt = W.error.substring(W.error.indexOf("errorMessage") + 13, W.error.length), vt = !0, window.postMessage(
|
|
5226
5247
|
{
|
|
5227
5248
|
type: "ShowRegistrationError",
|
|
5228
|
-
showError:
|
|
5229
|
-
error:
|
|
5249
|
+
showError: vt,
|
|
5250
|
+
error: Pt
|
|
5230
5251
|
},
|
|
5231
5252
|
window.location.href
|
|
5232
5253
|
));
|
|
5233
|
-
},
|
|
5254
|
+
}, Jr = async (f, T) => {
|
|
5234
5255
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
5235
5256
|
try {
|
|
5236
5257
|
const I = await fetch(`${i}/v1/player/sms/token`, {
|
|
@@ -5240,108 +5261,108 @@ function Us(e, t, r) {
|
|
|
5240
5261
|
accept: "application/json"
|
|
5241
5262
|
},
|
|
5242
5263
|
body: JSON.stringify({
|
|
5243
|
-
userId:
|
|
5244
|
-
messageTemplate:
|
|
5264
|
+
userId: T,
|
|
5265
|
+
messageTemplate: ks,
|
|
5245
5266
|
destination: `${f.mobile.prefix}${f.mobile.number}`
|
|
5246
5267
|
})
|
|
5247
5268
|
}), W = await I.json();
|
|
5248
5269
|
if (I.ok) {
|
|
5249
|
-
r(30,
|
|
5250
|
-
let
|
|
5251
|
-
r(21,
|
|
5270
|
+
r(30, Ot = W.id);
|
|
5271
|
+
let $s = W.maxValidationAttempts;
|
|
5272
|
+
r(21, Ge = !0), r(31, ve = !1);
|
|
5252
5273
|
} else
|
|
5253
5274
|
throw r(31, ve = !0), new Error("Failed to fetch");
|
|
5254
5275
|
} catch (I) {
|
|
5255
5276
|
r(31, ve = !0), console.error(I);
|
|
5256
5277
|
}
|
|
5257
|
-
}, Jr = () => {
|
|
5258
|
-
p.split(",");
|
|
5259
5278
|
}, qr = () => {
|
|
5260
|
-
|
|
5279
|
+
m.split(",");
|
|
5261
5280
|
}, Qr = () => {
|
|
5262
|
-
|
|
5281
|
+
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
5282
|
+
}, Yr = () => {
|
|
5283
|
+
Ps(u);
|
|
5263
5284
|
};
|
|
5264
|
-
|
|
5265
|
-
window.removeEventListener("message",
|
|
5285
|
+
cn(() => (window.addEventListener("message", It, !1), () => {
|
|
5286
|
+
window.removeEventListener("message", It);
|
|
5266
5287
|
}));
|
|
5267
|
-
function
|
|
5288
|
+
function Kr(f) {
|
|
5268
5289
|
Oe[f ? "unshift" : "push"](() => {
|
|
5269
5290
|
_e = f, r(33, _e);
|
|
5270
5291
|
});
|
|
5271
5292
|
}
|
|
5272
|
-
function
|
|
5293
|
+
function en(f) {
|
|
5273
5294
|
Oe[f ? "unshift" : "push"](() => {
|
|
5274
|
-
|
|
5295
|
+
j = f, r(16, j);
|
|
5275
5296
|
});
|
|
5276
5297
|
}
|
|
5277
5298
|
return e.$$set = (f) => {
|
|
5278
|
-
"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,
|
|
5299
|
+
"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, m = f.disabledfields), "defaultoptions" in f && r(6, y = f.defaultoptions), "smsverification" in f && r(7, g = f.smsverification), "simplepasswordvalidation" in f && r(8, d = f.simplepasswordvalidation), "userroles" in f && r(40, b = f.userroles), "mbsource" in f && r(9, w = f.mbsource), "clientstyling" in f && r(10, O = f.clientstyling), "clientstylingurl" in f && r(11, P = f.clientstylingurl), "translationurl" in f && r(12, L = 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);
|
|
5279
5300
|
}, e.$$.update = () => {
|
|
5280
5301
|
e.$$.dirty[0] & /*endpoint*/
|
|
5281
|
-
1 && i &&
|
|
5302
|
+
1 && i && Xr(), e.$$.dirty[0] & /*lang*/
|
|
5282
5303
|
8 | e.$$.dirty[1] & /*cmsendpoint, env, userroles*/
|
|
5283
|
-
704 && s && u && o && b &&
|
|
5304
|
+
704 && s && u && o && b && Wr(), e.$$.dirty[0] & /*playerid, session*/
|
|
5284
5305
|
131074, e.$$.dirty[0] & /*lang*/
|
|
5285
|
-
8 && u &&
|
|
5286
|
-
32 &&
|
|
5287
|
-
66560 && O &&
|
|
5288
|
-
67584 && P &&
|
|
5289
|
-
66048 &&
|
|
5290
|
-
4096 && L &&
|
|
5306
|
+
8 && u && Yr(), e.$$.dirty[0] & /*disabledfields*/
|
|
5307
|
+
32 && m && qr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5308
|
+
66560 && O && j && Os(j, O), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5309
|
+
67584 && P && j && Cs(j, P), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5310
|
+
66048 && w && j && Is(j, `${w}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5311
|
+
4096 && L && Vr();
|
|
5291
5312
|
}, [
|
|
5292
5313
|
i,
|
|
5293
5314
|
a,
|
|
5294
5315
|
l,
|
|
5295
5316
|
u,
|
|
5296
5317
|
c,
|
|
5297
|
-
|
|
5318
|
+
m,
|
|
5298
5319
|
y,
|
|
5299
5320
|
g,
|
|
5300
5321
|
d,
|
|
5301
|
-
|
|
5322
|
+
w,
|
|
5302
5323
|
O,
|
|
5303
5324
|
P,
|
|
5304
5325
|
L,
|
|
5305
|
-
|
|
5326
|
+
N,
|
|
5306
5327
|
C,
|
|
5307
5328
|
D,
|
|
5308
|
-
|
|
5309
|
-
gt,
|
|
5310
|
-
Fe,
|
|
5311
|
-
le,
|
|
5312
|
-
be,
|
|
5313
|
-
Ue,
|
|
5314
|
-
ke,
|
|
5329
|
+
j,
|
|
5315
5330
|
yt,
|
|
5316
|
-
|
|
5317
|
-
|
|
5331
|
+
ke,
|
|
5332
|
+
ue,
|
|
5333
|
+
be,
|
|
5318
5334
|
Ge,
|
|
5319
|
-
|
|
5320
|
-
|
|
5335
|
+
je,
|
|
5336
|
+
_t,
|
|
5337
|
+
Et,
|
|
5338
|
+
wt,
|
|
5339
|
+
$e,
|
|
5321
5340
|
Ht,
|
|
5341
|
+
Bt,
|
|
5322
5342
|
At,
|
|
5343
|
+
Ot,
|
|
5323
5344
|
ve,
|
|
5324
|
-
|
|
5345
|
+
Ct,
|
|
5325
5346
|
_e,
|
|
5326
5347
|
n,
|
|
5327
|
-
|
|
5328
|
-
|
|
5348
|
+
$r,
|
|
5349
|
+
Qr,
|
|
5329
5350
|
s,
|
|
5330
5351
|
o,
|
|
5331
5352
|
h,
|
|
5332
5353
|
b,
|
|
5333
|
-
|
|
5334
|
-
|
|
5354
|
+
Kr,
|
|
5355
|
+
en
|
|
5335
5356
|
];
|
|
5336
5357
|
}
|
|
5337
|
-
class
|
|
5358
|
+
class js extends xn {
|
|
5338
5359
|
constructor(t) {
|
|
5339
|
-
super(),
|
|
5360
|
+
super(), wn(
|
|
5340
5361
|
this,
|
|
5341
5362
|
t,
|
|
5363
|
+
Gs,
|
|
5342
5364
|
Us,
|
|
5343
|
-
|
|
5344
|
-
ur,
|
|
5365
|
+
hr,
|
|
5345
5366
|
{
|
|
5346
5367
|
endpoint: 0,
|
|
5347
5368
|
cmsendpoint: 37,
|
|
@@ -5364,7 +5385,7 @@ class ks extends Sn {
|
|
|
5364
5385
|
custominputtextswitch: 14,
|
|
5365
5386
|
personalidlength: 15
|
|
5366
5387
|
},
|
|
5367
|
-
|
|
5388
|
+
Rs,
|
|
5368
5389
|
[-1, -1, -1]
|
|
5369
5390
|
);
|
|
5370
5391
|
}
|
|
@@ -5372,160 +5393,160 @@ class ks extends Sn {
|
|
|
5372
5393
|
return this.$$.ctx[0];
|
|
5373
5394
|
}
|
|
5374
5395
|
set endpoint(t) {
|
|
5375
|
-
this.$$set({ endpoint: t }),
|
|
5396
|
+
this.$$set({ endpoint: t }), B();
|
|
5376
5397
|
}
|
|
5377
5398
|
get cmsendpoint() {
|
|
5378
5399
|
return this.$$.ctx[37];
|
|
5379
5400
|
}
|
|
5380
5401
|
set cmsendpoint(t) {
|
|
5381
|
-
this.$$set({ cmsendpoint: t }),
|
|
5402
|
+
this.$$set({ cmsendpoint: t }), B();
|
|
5382
5403
|
}
|
|
5383
5404
|
get env() {
|
|
5384
5405
|
return this.$$.ctx[38];
|
|
5385
5406
|
}
|
|
5386
5407
|
set env(t) {
|
|
5387
|
-
this.$$set({ env: t }),
|
|
5408
|
+
this.$$set({ env: t }), B();
|
|
5388
5409
|
}
|
|
5389
5410
|
get session() {
|
|
5390
5411
|
return this.$$.ctx[1];
|
|
5391
5412
|
}
|
|
5392
5413
|
set session(t) {
|
|
5393
|
-
this.$$set({ session: t }),
|
|
5414
|
+
this.$$set({ session: t }), B();
|
|
5394
5415
|
}
|
|
5395
5416
|
get trackedanalyticsdata() {
|
|
5396
5417
|
return this.$$.ctx[39];
|
|
5397
5418
|
}
|
|
5398
5419
|
set trackedanalyticsdata(t) {
|
|
5399
|
-
this.$$set({ trackedanalyticsdata: t }),
|
|
5420
|
+
this.$$set({ trackedanalyticsdata: t }), B();
|
|
5400
5421
|
}
|
|
5401
5422
|
get captchakey() {
|
|
5402
5423
|
return this.$$.ctx[2];
|
|
5403
5424
|
}
|
|
5404
5425
|
set captchakey(t) {
|
|
5405
|
-
this.$$set({ captchakey: t }),
|
|
5426
|
+
this.$$set({ captchakey: t }), B();
|
|
5406
5427
|
}
|
|
5407
5428
|
get lang() {
|
|
5408
5429
|
return this.$$.ctx[3];
|
|
5409
5430
|
}
|
|
5410
5431
|
set lang(t) {
|
|
5411
|
-
this.$$set({ lang: t }),
|
|
5432
|
+
this.$$set({ lang: t }), B();
|
|
5412
5433
|
}
|
|
5413
5434
|
get licenseyears() {
|
|
5414
5435
|
return this.$$.ctx[4];
|
|
5415
5436
|
}
|
|
5416
5437
|
set licenseyears(t) {
|
|
5417
|
-
this.$$set({ licenseyears: t }),
|
|
5438
|
+
this.$$set({ licenseyears: t }), B();
|
|
5418
5439
|
}
|
|
5419
5440
|
get disabledfields() {
|
|
5420
5441
|
return this.$$.ctx[5];
|
|
5421
5442
|
}
|
|
5422
5443
|
set disabledfields(t) {
|
|
5423
|
-
this.$$set({ disabledfields: t }),
|
|
5444
|
+
this.$$set({ disabledfields: t }), B();
|
|
5424
5445
|
}
|
|
5425
5446
|
get defaultoptions() {
|
|
5426
5447
|
return this.$$.ctx[6];
|
|
5427
5448
|
}
|
|
5428
5449
|
set defaultoptions(t) {
|
|
5429
|
-
this.$$set({ defaultoptions: t }),
|
|
5450
|
+
this.$$set({ defaultoptions: t }), B();
|
|
5430
5451
|
}
|
|
5431
5452
|
get smsverification() {
|
|
5432
5453
|
return this.$$.ctx[7];
|
|
5433
5454
|
}
|
|
5434
5455
|
set smsverification(t) {
|
|
5435
|
-
this.$$set({ smsverification: t }),
|
|
5456
|
+
this.$$set({ smsverification: t }), B();
|
|
5436
5457
|
}
|
|
5437
5458
|
get simplepasswordvalidation() {
|
|
5438
5459
|
return this.$$.ctx[8];
|
|
5439
5460
|
}
|
|
5440
5461
|
set simplepasswordvalidation(t) {
|
|
5441
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5462
|
+
this.$$set({ simplepasswordvalidation: t }), B();
|
|
5442
5463
|
}
|
|
5443
5464
|
get userroles() {
|
|
5444
5465
|
return this.$$.ctx[40];
|
|
5445
5466
|
}
|
|
5446
5467
|
set userroles(t) {
|
|
5447
|
-
this.$$set({ userroles: t }),
|
|
5468
|
+
this.$$set({ userroles: t }), B();
|
|
5448
5469
|
}
|
|
5449
5470
|
get mbsource() {
|
|
5450
5471
|
return this.$$.ctx[9];
|
|
5451
5472
|
}
|
|
5452
5473
|
set mbsource(t) {
|
|
5453
|
-
this.$$set({ mbsource: t }),
|
|
5474
|
+
this.$$set({ mbsource: t }), B();
|
|
5454
5475
|
}
|
|
5455
5476
|
get clientstyling() {
|
|
5456
5477
|
return this.$$.ctx[10];
|
|
5457
5478
|
}
|
|
5458
5479
|
set clientstyling(t) {
|
|
5459
|
-
this.$$set({ clientstyling: t }),
|
|
5480
|
+
this.$$set({ clientstyling: t }), B();
|
|
5460
5481
|
}
|
|
5461
5482
|
get clientstylingurl() {
|
|
5462
5483
|
return this.$$.ctx[11];
|
|
5463
5484
|
}
|
|
5464
5485
|
set clientstylingurl(t) {
|
|
5465
|
-
this.$$set({ clientstylingurl: t }),
|
|
5486
|
+
this.$$set({ clientstylingurl: t }), B();
|
|
5466
5487
|
}
|
|
5467
5488
|
get translationurl() {
|
|
5468
5489
|
return this.$$.ctx[12];
|
|
5469
5490
|
}
|
|
5470
5491
|
set translationurl(t) {
|
|
5471
|
-
this.$$set({ translationurl: t }),
|
|
5492
|
+
this.$$set({ translationurl: t }), B();
|
|
5472
5493
|
}
|
|
5473
5494
|
get savecredentials() {
|
|
5474
5495
|
return this.$$.ctx[13];
|
|
5475
5496
|
}
|
|
5476
5497
|
set savecredentials(t) {
|
|
5477
|
-
this.$$set({ savecredentials: t }),
|
|
5498
|
+
this.$$set({ savecredentials: t }), B();
|
|
5478
5499
|
}
|
|
5479
5500
|
get custominputtextswitch() {
|
|
5480
5501
|
return this.$$.ctx[14];
|
|
5481
5502
|
}
|
|
5482
5503
|
set custominputtextswitch(t) {
|
|
5483
|
-
this.$$set({ custominputtextswitch: t }),
|
|
5504
|
+
this.$$set({ custominputtextswitch: t }), B();
|
|
5484
5505
|
}
|
|
5485
5506
|
get personalidlength() {
|
|
5486
5507
|
return this.$$.ctx[15];
|
|
5487
5508
|
}
|
|
5488
5509
|
set personalidlength(t) {
|
|
5489
|
-
this.$$set({ personalidlength: t }),
|
|
5510
|
+
this.$$set({ personalidlength: t }), B();
|
|
5490
5511
|
}
|
|
5491
5512
|
}
|
|
5492
|
-
|
|
5513
|
+
Sn(js, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
|
|
5493
5514
|
export {
|
|
5494
5515
|
Z as $,
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5516
|
+
zs as A,
|
|
5517
|
+
Ke as B,
|
|
5518
|
+
Js as C,
|
|
5519
|
+
Xs as D,
|
|
5520
|
+
Zs as E,
|
|
5521
|
+
an as F,
|
|
5522
|
+
oe as G,
|
|
5523
|
+
Vs as H,
|
|
5524
|
+
js as I,
|
|
5525
|
+
xn as S,
|
|
5526
|
+
Fr as a,
|
|
5527
|
+
nn as b,
|
|
5528
|
+
Sn as c,
|
|
5529
|
+
M as d,
|
|
5530
|
+
K as e,
|
|
5531
|
+
B as f,
|
|
5532
|
+
Ws as g,
|
|
5533
|
+
S as h,
|
|
5534
|
+
wn as i,
|
|
5535
|
+
F as j,
|
|
5536
|
+
E as k,
|
|
5537
|
+
un as l,
|
|
5538
|
+
H as m,
|
|
5518
5539
|
k as n,
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5540
|
+
U as o,
|
|
5541
|
+
rn as p,
|
|
5542
|
+
cn as q,
|
|
5543
|
+
de as r,
|
|
5544
|
+
hr as s,
|
|
5545
|
+
V as t,
|
|
5546
|
+
Oe as u,
|
|
5547
|
+
Se as v,
|
|
5548
|
+
Bs as w,
|
|
5549
|
+
Os as x,
|
|
5550
|
+
Cs as y,
|
|
5551
|
+
Is as z
|
|
5531
5552
|
};
|