@everymatrix/general-player-register-form-nd 1.74.1 → 1.74.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/GeneralPlayerRegisterFormNd-BTl6uATk.cjs +18 -0
- package/components/{GeneralPlayerRegisterFormNd-DC5YFwAY.js → GeneralPlayerRegisterFormNd-C1JQ8ARs.js} +946 -981
- package/components/{GeneralPlayerRegisterFormNd-DFOeIajF.js → GeneralPlayerRegisterFormNd-GoBYaeYc.js} +966 -1001
- package/components/{GeneralPlayerRegisterFormStep1-B8x2npcd.js → GeneralPlayerRegisterFormStep1-BqlRLeii.js} +31 -31
- package/components/{GeneralPlayerRegisterFormStep1-FnS-hDMY.js → GeneralPlayerRegisterFormStep1-BukkWYjI.js} +33 -33
- package/components/{GeneralPlayerRegisterFormStep1-DSOyErgo.cjs → GeneralPlayerRegisterFormStep1-PNHf13iF.cjs} +1 -1
- package/components/GeneralPlayerRegisterFormStep2-CSz_dCaX.cjs +2 -0
- package/components/{GeneralPlayerRegisterFormStep2-ALcjJ8nv.js → GeneralPlayerRegisterFormStep2-DBnZ9YrY.js} +1014 -1012
- package/components/{GeneralPlayerRegisterFormStep2-B1mLv9cm.js → GeneralPlayerRegisterFormStep2-To7K540j.js} +1003 -1001
- package/components/{GeneralPlayerRegisterFormStep3-B842736j.cjs → GeneralPlayerRegisterFormStep3-Bo5g25HL.cjs} +1 -1
- package/components/{GeneralPlayerRegisterFormStep3-DL4phv_H.js → GeneralPlayerRegisterFormStep3-CcFGaz76.js} +14 -14
- package/components/{GeneralPlayerRegisterFormStep3-BrmjFpUQ.js → GeneralPlayerRegisterFormStep3-CzA9W6SQ.js} +14 -14
- package/components/{GeneralPlayerSmsVerificationForm-CMoVD2PA.js → GeneralPlayerSmsVerificationForm-Cz9dvc1N.js} +25 -25
- package/components/{GeneralPlayerSmsVerificationForm-CuVBltwG.cjs → GeneralPlayerSmsVerificationForm-DcYEcOTa.cjs} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-BdCceV0k.js → GeneralPlayerSmsVerificationForm-DhT7I5pU.js} +25 -25
- package/es2015/general-player-register-form-nd.cjs +1 -1
- package/es2015/general-player-register-form-nd.js +1 -1
- package/esnext/general-player-register-form-nd.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerRegisterFormNd-DjCemZTL.cjs +0 -18
- package/components/GeneralPlayerRegisterFormStep2-DWAnaeOm.cjs +0 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var sn = Object.defineProperty, on = Object.defineProperties;
|
|
2
|
+
var an = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var It = Object.getOwnPropertySymbols;
|
|
4
|
+
var un = Object.prototype.hasOwnProperty, ln = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ve = (e, t, r) => t in e ? sn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
un.call(t, r) && Ve(e, r, t[r]);
|
|
8
|
+
if (It)
|
|
9
|
+
for (var r of It(t))
|
|
10
|
+
ln.call(t, r) && Ve(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var F = (e, t, r) => (
|
|
12
|
+
}, Lt = (e, t) => on(e, an(t));
|
|
13
|
+
var F = (e, t, r) => (Ve(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var Se = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (l) => {
|
|
16
16
|
try {
|
|
@@ -29,29 +29,29 @@ var Se = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function k() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function fr(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Nt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function be(e) {
|
|
39
|
+
e.forEach(fr);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function mt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function cr(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let xe;
|
|
48
|
-
function
|
|
48
|
+
function Ys(e, t) {
|
|
49
49
|
return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function hn(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function mr(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -60,20 +60,20 @@ function br(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function fn(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(mr(t, r));
|
|
65
65
|
}
|
|
66
66
|
function E(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function cn(e, t, r) {
|
|
70
|
+
const n = mn(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
|
-
const i =
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
72
|
+
const i = B("style");
|
|
73
|
+
i.id = t, i.textContent = r, dn(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function mn(e) {
|
|
77
77
|
if (!e)
|
|
78
78
|
return document;
|
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,7 +83,7 @@ function bn(e) {
|
|
|
83
83
|
t
|
|
84
84
|
) : e.ownerDocument;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function dn(e, t) {
|
|
87
87
|
return E(
|
|
88
88
|
/** @type {Document} */
|
|
89
89
|
e.head || e,
|
|
@@ -96,46 +96,46 @@ function U(e, t, r) {
|
|
|
96
96
|
function M(e) {
|
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Ks(e, t) {
|
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
|
101
101
|
e[r] && e[r].d(t);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function B(e) {
|
|
104
104
|
return document.createElement(e);
|
|
105
105
|
}
|
|
106
106
|
function Te(e) {
|
|
107
107
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function V(e) {
|
|
110
110
|
return document.createTextNode(e);
|
|
111
111
|
}
|
|
112
112
|
function G() {
|
|
113
|
-
return
|
|
113
|
+
return V(" ");
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
return
|
|
115
|
+
function pn() {
|
|
116
|
+
return V("");
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function gn(e, t, r, n) {
|
|
119
119
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function x(e, t, r) {
|
|
122
122
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function m(e, t, r) {
|
|
125
125
|
const n = t.toLowerCase();
|
|
126
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
126
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function bn(e) {
|
|
129
129
|
return Array.from(e.childNodes);
|
|
130
130
|
}
|
|
131
131
|
function ee(e, t) {
|
|
132
132
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
133
133
|
t);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function eo(e, t) {
|
|
136
136
|
e.value = t == null ? "" : t;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function to(e, t, r) {
|
|
139
139
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
140
140
|
const i = e.options[n];
|
|
141
141
|
if (i.__value === t) {
|
|
@@ -145,11 +145,11 @@ function so(e, t, r) {
|
|
|
145
145
|
}
|
|
146
146
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function ro(e) {
|
|
149
149
|
const t = e.querySelector(":checked");
|
|
150
150
|
return t && t.__value;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function yn(e) {
|
|
153
153
|
const t = {};
|
|
154
154
|
return e.childNodes.forEach(
|
|
155
155
|
/** @param {Element} node */
|
|
@@ -158,90 +158,90 @@ function wn(e) {
|
|
|
158
158
|
}
|
|
159
159
|
), t;
|
|
160
160
|
}
|
|
161
|
-
let
|
|
162
|
-
function
|
|
163
|
-
|
|
161
|
+
let de;
|
|
162
|
+
function me(e) {
|
|
163
|
+
de = e;
|
|
164
164
|
}
|
|
165
|
-
function
|
|
166
|
-
if (!
|
|
165
|
+
function vn() {
|
|
166
|
+
if (!de)
|
|
167
167
|
throw new Error("Function called outside component initialization");
|
|
168
|
-
return
|
|
168
|
+
return de;
|
|
169
169
|
}
|
|
170
|
-
function
|
|
171
|
-
|
|
170
|
+
function _n(e) {
|
|
171
|
+
vn().$$.on_mount.push(e);
|
|
172
172
|
}
|
|
173
173
|
const K = [], Ie = [];
|
|
174
174
|
let te = [];
|
|
175
|
-
const
|
|
176
|
-
let
|
|
177
|
-
function
|
|
178
|
-
|
|
175
|
+
const Mt = [], En = /* @__PURE__ */ Promise.resolve();
|
|
176
|
+
let Ye = !1;
|
|
177
|
+
function wn() {
|
|
178
|
+
Ye || (Ye = !0, En.then(P));
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function Ke(e) {
|
|
181
181
|
te.push(e);
|
|
182
182
|
}
|
|
183
|
-
const
|
|
183
|
+
const Xe = /* @__PURE__ */ new Set();
|
|
184
184
|
let Q = 0;
|
|
185
|
-
function
|
|
185
|
+
function P() {
|
|
186
186
|
if (Q !== 0)
|
|
187
187
|
return;
|
|
188
|
-
const e =
|
|
188
|
+
const e = de;
|
|
189
189
|
do {
|
|
190
190
|
try {
|
|
191
191
|
for (; Q < K.length; ) {
|
|
192
192
|
const t = K[Q];
|
|
193
|
-
Q++,
|
|
193
|
+
Q++, me(t), Sn(t.$$);
|
|
194
194
|
}
|
|
195
195
|
} catch (t) {
|
|
196
196
|
throw K.length = 0, Q = 0, t;
|
|
197
197
|
}
|
|
198
|
-
for (
|
|
198
|
+
for (me(null), K.length = 0, Q = 0; Ie.length; )
|
|
199
199
|
Ie.pop()();
|
|
200
200
|
for (let t = 0; t < te.length; t += 1) {
|
|
201
201
|
const r = te[t];
|
|
202
|
-
|
|
202
|
+
Xe.has(r) || (Xe.add(r), r());
|
|
203
203
|
}
|
|
204
204
|
te.length = 0;
|
|
205
205
|
} while (K.length);
|
|
206
|
-
for (;
|
|
207
|
-
|
|
208
|
-
|
|
206
|
+
for (; Mt.length; )
|
|
207
|
+
Mt.pop()();
|
|
208
|
+
Ye = !1, Xe.clear(), me(e);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Sn(e) {
|
|
211
211
|
if (e.fragment !== null) {
|
|
212
|
-
e.update(),
|
|
212
|
+
e.update(), be(e.before_update);
|
|
213
213
|
const t = e.dirty;
|
|
214
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
214
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function xn(e) {
|
|
218
218
|
const t = [], r = [];
|
|
219
219
|
te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
|
|
220
220
|
}
|
|
221
|
-
const
|
|
222
|
-
function
|
|
223
|
-
e && e.i && (
|
|
221
|
+
const Tn = /* @__PURE__ */ new Set();
|
|
222
|
+
function Hn(e, t) {
|
|
223
|
+
e && e.i && (Tn.delete(e), e.i(t));
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function no(e) {
|
|
226
226
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function Bn(e, t, r) {
|
|
229
229
|
const { fragment: n, after_update: i } = e.$$;
|
|
230
|
-
n && n.m(t, r),
|
|
231
|
-
const s = e.$$.on_mount.map(
|
|
232
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
233
|
-
}), i.forEach(
|
|
230
|
+
n && n.m(t, r), Ke(() => {
|
|
231
|
+
const s = e.$$.on_mount.map(fr).filter(mt);
|
|
232
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : be(s), e.$$.on_mount = [];
|
|
233
|
+
}), i.forEach(Ke);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function Pn(e, t) {
|
|
236
236
|
const r = e.$$;
|
|
237
|
-
r.fragment !== null && (
|
|
237
|
+
r.fragment !== null && (xn(r.after_update), be(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
238
238
|
}
|
|
239
|
-
function
|
|
240
|
-
e.$$.dirty[0] === -1 && (K.push(e),
|
|
239
|
+
function An(e, t) {
|
|
240
|
+
e.$$.dirty[0] === -1 && (K.push(e), wn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
241
241
|
}
|
|
242
|
-
function
|
|
243
|
-
const l =
|
|
244
|
-
|
|
242
|
+
function On(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
243
|
+
const l = de;
|
|
244
|
+
me(e);
|
|
245
245
|
const u = e.$$ = {
|
|
246
246
|
fragment: null,
|
|
247
247
|
ctx: [],
|
|
@@ -249,7 +249,7 @@ function Ln(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
249
249
|
props: s,
|
|
250
250
|
update: k,
|
|
251
251
|
not_equal: i,
|
|
252
|
-
bound:
|
|
252
|
+
bound: Nt(),
|
|
253
253
|
// lifecycle
|
|
254
254
|
on_mount: [],
|
|
255
255
|
on_destroy: [],
|
|
@@ -258,28 +258,28 @@ function Ln(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
258
258
|
after_update: [],
|
|
259
259
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
260
260
|
// everything else
|
|
261
|
-
callbacks:
|
|
261
|
+
callbacks: Nt(),
|
|
262
262
|
dirty: a,
|
|
263
263
|
skip_bound: !1,
|
|
264
264
|
root: t.target || l.$$.root
|
|
265
265
|
};
|
|
266
266
|
o && o(u.root);
|
|
267
267
|
let h = !1;
|
|
268
|
-
if (u.ctx = r ? r(e, t.props || {}, (c,
|
|
269
|
-
const g = y.length ? y[0] :
|
|
270
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h &&
|
|
271
|
-
}) : [], u.update(), h = !0,
|
|
268
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, d, ...y) => {
|
|
269
|
+
const g = y.length ? y[0] : d;
|
|
270
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h && An(e, c)), d;
|
|
271
|
+
}) : [], u.update(), h = !0, be(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
272
272
|
if (t.hydrate) {
|
|
273
|
-
const c =
|
|
273
|
+
const c = bn(t.target);
|
|
274
274
|
u.fragment && u.fragment.l(c), c.forEach(M);
|
|
275
275
|
} else
|
|
276
276
|
u.fragment && u.fragment.c();
|
|
277
|
-
t.intro &&
|
|
277
|
+
t.intro && Hn(e.$$.fragment), Bn(e, t.target, t.anchor), P();
|
|
278
278
|
}
|
|
279
|
-
|
|
279
|
+
me(l);
|
|
280
280
|
}
|
|
281
|
-
let
|
|
282
|
-
typeof HTMLElement == "function" && (
|
|
281
|
+
let dr;
|
|
282
|
+
typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
283
283
|
constructor(t, r, n) {
|
|
284
284
|
super();
|
|
285
285
|
/** The Svelte component constructor */
|
|
@@ -323,7 +323,7 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
323
323
|
let o;
|
|
324
324
|
return {
|
|
325
325
|
c: function() {
|
|
326
|
-
o =
|
|
326
|
+
o = B("slot"), s !== "default" && x(o, "name", s);
|
|
327
327
|
},
|
|
328
328
|
/**
|
|
329
329
|
* @param {HTMLElement} target
|
|
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
340
340
|
};
|
|
341
341
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
342
342
|
return;
|
|
343
|
-
const r = {}, n =
|
|
343
|
+
const r = {}, n = yn(this);
|
|
344
344
|
for (const s of this.$$s)
|
|
345
345
|
s in n && (r[s] = [t(s)]);
|
|
346
346
|
for (const s of this.attributes) {
|
|
@@ -351,7 +351,7 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
351
351
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
352
352
|
this.$$c = new this.$$ctor({
|
|
353
353
|
target: this.shadowRoot || this,
|
|
354
|
-
props:
|
|
354
|
+
props: Lt(Rt({}, this.$$d), {
|
|
355
355
|
$$slots: r,
|
|
356
356
|
$$scope: {
|
|
357
357
|
ctx: []
|
|
@@ -429,8 +429,8 @@ function Pe(e, t, r, n) {
|
|
|
429
429
|
return t;
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
|
-
function
|
|
433
|
-
let o = class extends
|
|
432
|
+
function Cn(e, t, r, n, i, s) {
|
|
433
|
+
let o = class extends dr {
|
|
434
434
|
constructor() {
|
|
435
435
|
super(e, r, i), this.$$p_d = t;
|
|
436
436
|
}
|
|
@@ -460,7 +460,7 @@ function Nn(e, t, r, n, i, s) {
|
|
|
460
460
|
}), e.element = /** @type {any} */
|
|
461
461
|
o, o;
|
|
462
462
|
}
|
|
463
|
-
class
|
|
463
|
+
class In {
|
|
464
464
|
constructor() {
|
|
465
465
|
/**
|
|
466
466
|
* ### PRIVATE API
|
|
@@ -481,7 +481,7 @@ class Mn {
|
|
|
481
481
|
}
|
|
482
482
|
/** @returns {void} */
|
|
483
483
|
$destroy() {
|
|
484
|
-
|
|
484
|
+
Pn(this, 1), this.$destroy = k;
|
|
485
485
|
}
|
|
486
486
|
/**
|
|
487
487
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -490,7 +490,7 @@ class Mn {
|
|
|
490
490
|
* @returns {() => void}
|
|
491
491
|
*/
|
|
492
492
|
$on(t, r) {
|
|
493
|
-
if (!
|
|
493
|
+
if (!mt(r))
|
|
494
494
|
return k;
|
|
495
495
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
496
496
|
return n.push(r), () => {
|
|
@@ -503,11 +503,11 @@ class Mn {
|
|
|
503
503
|
* @returns {void}
|
|
504
504
|
*/
|
|
505
505
|
$set(t) {
|
|
506
|
-
this.$$set && !
|
|
506
|
+
this.$$set && !hn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
|
-
const
|
|
510
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
509
|
+
const Rn = "4";
|
|
510
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rn);
|
|
511
511
|
/*! *****************************************************************************
|
|
512
512
|
Copyright (c) Microsoft Corporation.
|
|
513
513
|
|
|
@@ -522,24 +522,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
522
522
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
523
523
|
PERFORMANCE OF THIS SOFTWARE.
|
|
524
524
|
***************************************************************************** */
|
|
525
|
-
var
|
|
526
|
-
return
|
|
525
|
+
var et = function(e, t) {
|
|
526
|
+
return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
527
527
|
r.__proto__ = n;
|
|
528
528
|
} || function(r, n) {
|
|
529
529
|
for (var i in n)
|
|
530
530
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
531
|
-
},
|
|
531
|
+
}, et(e, t);
|
|
532
532
|
};
|
|
533
|
-
function
|
|
533
|
+
function W(e, t) {
|
|
534
534
|
if (typeof t != "function" && t !== null)
|
|
535
535
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
536
|
-
|
|
536
|
+
et(e, t);
|
|
537
537
|
function r() {
|
|
538
538
|
this.constructor = e;
|
|
539
539
|
}
|
|
540
540
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
var w = function() {
|
|
543
|
+
return w = Object.assign || function(t) {
|
|
544
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
545
|
+
r = arguments[n];
|
|
546
|
+
for (var s in r)
|
|
547
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
548
|
+
}
|
|
549
|
+
return t;
|
|
550
|
+
}, w.apply(this, arguments);
|
|
551
|
+
};
|
|
552
|
+
function Ln(e, t) {
|
|
553
|
+
var r = {};
|
|
554
|
+
for (var n in e)
|
|
555
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
556
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
557
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
558
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
559
|
+
return r;
|
|
560
|
+
}
|
|
561
|
+
function tt(e) {
|
|
543
562
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
544
563
|
if (r)
|
|
545
564
|
return r.call(e);
|
|
@@ -551,7 +570,7 @@ function it(e) {
|
|
|
551
570
|
};
|
|
552
571
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
553
572
|
}
|
|
554
|
-
function
|
|
573
|
+
function rt(e, t) {
|
|
555
574
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
556
575
|
if (!r)
|
|
557
576
|
return e;
|
|
@@ -571,22 +590,22 @@ function st(e, t) {
|
|
|
571
590
|
}
|
|
572
591
|
return s;
|
|
573
592
|
}
|
|
574
|
-
function
|
|
575
|
-
if (arguments.length === 2)
|
|
593
|
+
function re(e, t, r) {
|
|
594
|
+
if (r || arguments.length === 2)
|
|
576
595
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
577
596
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
578
597
|
return e.concat(s || t);
|
|
579
598
|
}
|
|
580
|
-
function
|
|
599
|
+
function X(e) {
|
|
581
600
|
return typeof e == "function";
|
|
582
601
|
}
|
|
583
|
-
function
|
|
602
|
+
function pr(e) {
|
|
584
603
|
var t = function(n) {
|
|
585
604
|
Error.call(n), n.stack = new Error().stack;
|
|
586
605
|
}, r = e(t);
|
|
587
606
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
588
607
|
}
|
|
589
|
-
var
|
|
608
|
+
var We = pr(function(e) {
|
|
590
609
|
return function(r) {
|
|
591
610
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
592
611
|
` + r.map(function(n, i) {
|
|
@@ -595,13 +614,13 @@ var Ze = vr(function(e) {
|
|
|
595
614
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
596
615
|
};
|
|
597
616
|
});
|
|
598
|
-
function
|
|
617
|
+
function nt(e, t) {
|
|
599
618
|
if (e) {
|
|
600
619
|
var r = e.indexOf(t);
|
|
601
620
|
0 <= r && e.splice(r, 1);
|
|
602
621
|
}
|
|
603
622
|
}
|
|
604
|
-
var
|
|
623
|
+
var Ne = function() {
|
|
605
624
|
function e(t) {
|
|
606
625
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
607
626
|
}
|
|
@@ -613,12 +632,12 @@ var Me = function() {
|
|
|
613
632
|
if (o)
|
|
614
633
|
if (this._parentage = null, Array.isArray(o))
|
|
615
634
|
try {
|
|
616
|
-
for (var a =
|
|
635
|
+
for (var a = tt(o), l = a.next(); !l.done; l = a.next()) {
|
|
617
636
|
var u = l.value;
|
|
618
637
|
u.remove(this);
|
|
619
638
|
}
|
|
620
|
-
} catch (
|
|
621
|
-
t = { error:
|
|
639
|
+
} catch (p) {
|
|
640
|
+
t = { error: p };
|
|
622
641
|
} finally {
|
|
623
642
|
try {
|
|
624
643
|
l && !l.done && (r = a.return) && r.call(a);
|
|
@@ -630,29 +649,29 @@ var Me = function() {
|
|
|
630
649
|
else
|
|
631
650
|
o.remove(this);
|
|
632
651
|
var h = this.initialTeardown;
|
|
633
|
-
if (
|
|
652
|
+
if (X(h))
|
|
634
653
|
try {
|
|
635
654
|
h();
|
|
636
|
-
} catch (
|
|
637
|
-
s =
|
|
655
|
+
} catch (p) {
|
|
656
|
+
s = p instanceof We ? p.errors : [p];
|
|
638
657
|
}
|
|
639
658
|
var c = this._finalizers;
|
|
640
659
|
if (c) {
|
|
641
660
|
this._finalizers = null;
|
|
642
661
|
try {
|
|
643
|
-
for (var
|
|
662
|
+
for (var d = tt(c), y = d.next(); !y.done; y = d.next()) {
|
|
644
663
|
var g = y.value;
|
|
645
664
|
try {
|
|
646
|
-
|
|
647
|
-
} catch (
|
|
648
|
-
s = s != null ? s : [],
|
|
665
|
+
Dt(g);
|
|
666
|
+
} catch (p) {
|
|
667
|
+
s = s != null ? s : [], p instanceof We ? s = re(re([], rt(s)), rt(p.errors)) : s.push(p);
|
|
649
668
|
}
|
|
650
669
|
}
|
|
651
|
-
} catch (
|
|
652
|
-
n = { error:
|
|
670
|
+
} catch (p) {
|
|
671
|
+
n = { error: p };
|
|
653
672
|
} finally {
|
|
654
673
|
try {
|
|
655
|
-
y && !y.done && (i =
|
|
674
|
+
y && !y.done && (i = d.return) && i.call(d);
|
|
656
675
|
} finally {
|
|
657
676
|
if (n)
|
|
658
677
|
throw n.error;
|
|
@@ -660,13 +679,13 @@ var Me = function() {
|
|
|
660
679
|
}
|
|
661
680
|
}
|
|
662
681
|
if (s)
|
|
663
|
-
throw new
|
|
682
|
+
throw new We(s);
|
|
664
683
|
}
|
|
665
684
|
}, e.prototype.add = function(t) {
|
|
666
685
|
var r;
|
|
667
686
|
if (t && t !== this)
|
|
668
687
|
if (this.closed)
|
|
669
|
-
|
|
688
|
+
Dt(t);
|
|
670
689
|
else {
|
|
671
690
|
if (t instanceof e) {
|
|
672
691
|
if (t.closed || t._hasParent(this))
|
|
@@ -683,52 +702,56 @@ var Me = function() {
|
|
|
683
702
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
684
703
|
}, e.prototype._removeParent = function(t) {
|
|
685
704
|
var r = this._parentage;
|
|
686
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
705
|
+
r === t ? this._parentage = null : Array.isArray(r) && nt(r, t);
|
|
687
706
|
}, e.prototype.remove = function(t) {
|
|
688
707
|
var r = this._finalizers;
|
|
689
|
-
r &&
|
|
708
|
+
r && nt(r, t), t instanceof e && t._removeParent(this);
|
|
690
709
|
}, e.EMPTY = function() {
|
|
691
710
|
var t = new e();
|
|
692
711
|
return t.closed = !0, t;
|
|
693
712
|
}(), e;
|
|
694
|
-
}(),
|
|
695
|
-
function
|
|
696
|
-
return e instanceof
|
|
697
|
-
}
|
|
698
|
-
function
|
|
699
|
-
|
|
700
|
-
}
|
|
701
|
-
var
|
|
702
|
-
|
|
703
|
-
|
|
713
|
+
}(), gr = Ne.EMPTY;
|
|
714
|
+
function br(e) {
|
|
715
|
+
return e instanceof Ne || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
|
|
716
|
+
}
|
|
717
|
+
function Dt(e) {
|
|
718
|
+
X(e) ? e() : e.unsubscribe();
|
|
719
|
+
}
|
|
720
|
+
var Nn = {
|
|
721
|
+
onUnhandledError: null,
|
|
722
|
+
onStoppedNotification: null,
|
|
723
|
+
Promise: void 0,
|
|
724
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
725
|
+
useDeprecatedNextContext: !1
|
|
726
|
+
}, Mn = {
|
|
704
727
|
setTimeout: function(e, t) {
|
|
705
728
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
706
729
|
r[n - 2] = arguments[n];
|
|
707
|
-
return setTimeout.apply(void 0,
|
|
730
|
+
return setTimeout.apply(void 0, re([e, t], rt(r)));
|
|
708
731
|
},
|
|
709
732
|
clearTimeout: function(e) {
|
|
710
733
|
return clearTimeout(e);
|
|
711
734
|
},
|
|
712
735
|
delegate: void 0
|
|
713
736
|
};
|
|
714
|
-
function
|
|
715
|
-
|
|
737
|
+
function Dn(e) {
|
|
738
|
+
Mn.setTimeout(function() {
|
|
716
739
|
throw e;
|
|
717
740
|
});
|
|
718
741
|
}
|
|
719
|
-
function
|
|
742
|
+
function Ft() {
|
|
720
743
|
}
|
|
721
744
|
function Ae(e) {
|
|
722
745
|
e();
|
|
723
746
|
}
|
|
724
|
-
var
|
|
725
|
-
|
|
747
|
+
var yr = function(e) {
|
|
748
|
+
W(t, e);
|
|
726
749
|
function t(r) {
|
|
727
750
|
var n = e.call(this) || this;
|
|
728
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
751
|
+
return n.isStopped = !1, r ? (n.destination = r, br(r) && r.add(n)) : n.destination = Gn, n;
|
|
729
752
|
}
|
|
730
753
|
return t.create = function(r, n, i) {
|
|
731
|
-
return new
|
|
754
|
+
return new it(r, n, i);
|
|
732
755
|
}, t.prototype.next = function(r) {
|
|
733
756
|
this.isStopped || this._next(r);
|
|
734
757
|
}, t.prototype.error = function(r) {
|
|
@@ -752,7 +775,7 @@ var wr = function(e) {
|
|
|
752
775
|
this.unsubscribe();
|
|
753
776
|
}
|
|
754
777
|
}, t;
|
|
755
|
-
}(
|
|
778
|
+
}(Ne), Fn = function() {
|
|
756
779
|
function e(t) {
|
|
757
780
|
this.partialObserver = t;
|
|
758
781
|
}
|
|
@@ -783,43 +806,43 @@ var wr = function(e) {
|
|
|
783
806
|
He(r);
|
|
784
807
|
}
|
|
785
808
|
}, e;
|
|
786
|
-
}(),
|
|
787
|
-
|
|
809
|
+
}(), it = function(e) {
|
|
810
|
+
W(t, e);
|
|
788
811
|
function t(r, n, i) {
|
|
789
812
|
var s = e.call(this) || this, o;
|
|
790
|
-
return
|
|
813
|
+
return X(r) || !r ? o = {
|
|
791
814
|
next: r != null ? r : void 0,
|
|
792
815
|
error: n != null ? n : void 0,
|
|
793
816
|
complete: i != null ? i : void 0
|
|
794
|
-
} : o = r, s.destination = new
|
|
817
|
+
} : o = r, s.destination = new Fn(o), s;
|
|
795
818
|
}
|
|
796
819
|
return t;
|
|
797
|
-
}(
|
|
820
|
+
}(yr);
|
|
798
821
|
function He(e) {
|
|
799
|
-
|
|
822
|
+
Dn(e);
|
|
800
823
|
}
|
|
801
|
-
function
|
|
824
|
+
function Un(e) {
|
|
802
825
|
throw e;
|
|
803
826
|
}
|
|
804
|
-
var
|
|
827
|
+
var Gn = {
|
|
805
828
|
closed: !0,
|
|
806
|
-
next:
|
|
807
|
-
error:
|
|
808
|
-
complete:
|
|
809
|
-
},
|
|
829
|
+
next: Ft,
|
|
830
|
+
error: Un,
|
|
831
|
+
complete: Ft
|
|
832
|
+
}, kn = function() {
|
|
810
833
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
811
834
|
}();
|
|
812
|
-
function
|
|
835
|
+
function jn(e) {
|
|
813
836
|
return e;
|
|
814
837
|
}
|
|
815
|
-
function
|
|
816
|
-
return e.length === 0 ?
|
|
838
|
+
function $n(e) {
|
|
839
|
+
return e.length === 0 ? jn : e.length === 1 ? e[0] : function(r) {
|
|
817
840
|
return e.reduce(function(n, i) {
|
|
818
841
|
return i(n);
|
|
819
842
|
}, r);
|
|
820
843
|
};
|
|
821
844
|
}
|
|
822
|
-
var
|
|
845
|
+
var Ut = function() {
|
|
823
846
|
function e(t) {
|
|
824
847
|
t && (this._subscribe = t);
|
|
825
848
|
}
|
|
@@ -827,7 +850,7 @@ var $t = function() {
|
|
|
827
850
|
var r = new e();
|
|
828
851
|
return r.source = this, r.operator = t, r;
|
|
829
852
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
830
|
-
var i = this, s =
|
|
853
|
+
var i = this, s = Xn(t) ? t : new it(t, r, n);
|
|
831
854
|
return Ae(function() {
|
|
832
855
|
var o = i, a = o.operator, l = o.source;
|
|
833
856
|
s.add(a ? a.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
|
|
@@ -840,8 +863,8 @@ var $t = function() {
|
|
|
840
863
|
}
|
|
841
864
|
}, e.prototype.forEach = function(t, r) {
|
|
842
865
|
var n = this;
|
|
843
|
-
return r =
|
|
844
|
-
var o = new
|
|
866
|
+
return r = Gt(r), new r(function(i, s) {
|
|
867
|
+
var o = new it({
|
|
845
868
|
next: function(a) {
|
|
846
869
|
try {
|
|
847
870
|
t(a);
|
|
@@ -857,15 +880,15 @@ var $t = function() {
|
|
|
857
880
|
}, e.prototype._subscribe = function(t) {
|
|
858
881
|
var r;
|
|
859
882
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
860
|
-
}, e.prototype[
|
|
883
|
+
}, e.prototype[kn] = function() {
|
|
861
884
|
return this;
|
|
862
885
|
}, e.prototype.pipe = function() {
|
|
863
886
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
864
887
|
t[r] = arguments[r];
|
|
865
|
-
return
|
|
888
|
+
return $n(t)(this);
|
|
866
889
|
}, e.prototype.toPromise = function(t) {
|
|
867
890
|
var r = this;
|
|
868
|
-
return t =
|
|
891
|
+
return t = Gt(t), new t(function(n, i) {
|
|
869
892
|
var s;
|
|
870
893
|
r.subscribe(function(o) {
|
|
871
894
|
return s = o;
|
|
@@ -879,32 +902,32 @@ var $t = function() {
|
|
|
879
902
|
return new e(t);
|
|
880
903
|
}, e;
|
|
881
904
|
}();
|
|
882
|
-
function
|
|
905
|
+
function Gt(e) {
|
|
883
906
|
var t;
|
|
884
|
-
return (t = e != null ? e :
|
|
907
|
+
return (t = e != null ? e : Nn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
885
908
|
}
|
|
886
|
-
function
|
|
887
|
-
return e &&
|
|
909
|
+
function Vn(e) {
|
|
910
|
+
return e && X(e.next) && X(e.error) && X(e.complete);
|
|
888
911
|
}
|
|
889
|
-
function
|
|
890
|
-
return e && e instanceof
|
|
912
|
+
function Xn(e) {
|
|
913
|
+
return e && e instanceof yr || Vn(e) && br(e);
|
|
891
914
|
}
|
|
892
|
-
var
|
|
915
|
+
var Wn = pr(function(e) {
|
|
893
916
|
return function() {
|
|
894
917
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
895
918
|
};
|
|
896
|
-
}),
|
|
897
|
-
|
|
919
|
+
}), vr = function(e) {
|
|
920
|
+
W(t, e);
|
|
898
921
|
function t() {
|
|
899
922
|
var r = e.call(this) || this;
|
|
900
923
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
901
924
|
}
|
|
902
925
|
return t.prototype.lift = function(r) {
|
|
903
|
-
var n = new
|
|
926
|
+
var n = new kt(this, this);
|
|
904
927
|
return n.operator = r, n;
|
|
905
928
|
}, t.prototype._throwIfClosed = function() {
|
|
906
929
|
if (this.closed)
|
|
907
|
-
throw new
|
|
930
|
+
throw new Wn();
|
|
908
931
|
}, t.prototype.next = function(r) {
|
|
909
932
|
var n = this;
|
|
910
933
|
Ae(function() {
|
|
@@ -912,7 +935,7 @@ var Jn = vr(function(e) {
|
|
|
912
935
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
913
936
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
914
937
|
try {
|
|
915
|
-
for (var o =
|
|
938
|
+
for (var o = tt(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
916
939
|
var l = a.value;
|
|
917
940
|
l.next(r);
|
|
918
941
|
}
|
|
@@ -961,20 +984,20 @@ var Jn = vr(function(e) {
|
|
|
961
984
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
962
985
|
}, t.prototype._innerSubscribe = function(r) {
|
|
963
986
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
964
|
-
return s || o ?
|
|
965
|
-
n.currentObservers = null,
|
|
987
|
+
return s || o ? gr : (this.currentObservers = null, a.push(r), new Ne(function() {
|
|
988
|
+
n.currentObservers = null, nt(a, r);
|
|
966
989
|
}));
|
|
967
990
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
968
991
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
969
992
|
i ? r.error(s) : o && r.complete();
|
|
970
993
|
}, t.prototype.asObservable = function() {
|
|
971
|
-
var r = new
|
|
994
|
+
var r = new Ut();
|
|
972
995
|
return r.source = this, r;
|
|
973
996
|
}, t.create = function(r, n) {
|
|
974
|
-
return new
|
|
997
|
+
return new kt(r, n);
|
|
975
998
|
}, t;
|
|
976
|
-
}(
|
|
977
|
-
|
|
999
|
+
}(Ut), kt = function(e) {
|
|
1000
|
+
W(t, e);
|
|
978
1001
|
function t(r, n) {
|
|
979
1002
|
var i = e.call(this) || this;
|
|
980
1003
|
return i.destination = r, i.source = n, i;
|
|
@@ -990,17 +1013,17 @@ var Jn = vr(function(e) {
|
|
|
990
1013
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
991
1014
|
}, t.prototype._subscribe = function(r) {
|
|
992
1015
|
var n, i;
|
|
993
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1016
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : gr;
|
|
994
1017
|
}, t;
|
|
995
|
-
}(
|
|
1018
|
+
}(vr), _r = {
|
|
996
1019
|
now: function() {
|
|
997
|
-
return (
|
|
1020
|
+
return (_r.delegate || Date).now();
|
|
998
1021
|
},
|
|
999
1022
|
delegate: void 0
|
|
1000
|
-
},
|
|
1001
|
-
|
|
1023
|
+
}, zn = function(e) {
|
|
1024
|
+
W(t, e);
|
|
1002
1025
|
function t(r, n, i) {
|
|
1003
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1026
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = _r);
|
|
1004
1027
|
var s = e.call(this) || this;
|
|
1005
1028
|
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;
|
|
1006
1029
|
}
|
|
@@ -1020,24 +1043,24 @@ var Jn = vr(function(e) {
|
|
|
1020
1043
|
u && s.splice(0, u + 1);
|
|
1021
1044
|
}
|
|
1022
1045
|
}, t;
|
|
1023
|
-
}(
|
|
1024
|
-
const
|
|
1025
|
-
if (
|
|
1026
|
-
const r = new
|
|
1027
|
-
|
|
1046
|
+
}(vr);
|
|
1047
|
+
const jt = [], $t = {}, Zn = (e, t = 0) => {
|
|
1048
|
+
if (jt.indexOf(e) == -1) {
|
|
1049
|
+
const r = new zn(t);
|
|
1050
|
+
$t[e] = r, jt.push(e);
|
|
1028
1051
|
}
|
|
1029
|
-
return
|
|
1052
|
+
return $t[e];
|
|
1030
1053
|
}, Y = [];
|
|
1031
|
-
function
|
|
1054
|
+
function Jn(e, t) {
|
|
1032
1055
|
return {
|
|
1033
|
-
subscribe:
|
|
1056
|
+
subscribe: Me(e, t).subscribe
|
|
1034
1057
|
};
|
|
1035
1058
|
}
|
|
1036
|
-
function
|
|
1059
|
+
function Me(e, t = k) {
|
|
1037
1060
|
let r;
|
|
1038
1061
|
const n = /* @__PURE__ */ new Set();
|
|
1039
1062
|
function i(a) {
|
|
1040
|
-
if (
|
|
1063
|
+
if (cr(e, a) && (e = a, r)) {
|
|
1041
1064
|
const l = !Y.length;
|
|
1042
1065
|
for (const u of n)
|
|
1043
1066
|
u[1](), Y.push(u, e);
|
|
@@ -1059,184 +1082,145 @@ function De(e, t = k) {
|
|
|
1059
1082
|
}
|
|
1060
1083
|
return { set: i, update: s, subscribe: o };
|
|
1061
1084
|
}
|
|
1062
|
-
function
|
|
1085
|
+
function ae(e, t, r) {
|
|
1063
1086
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1064
1087
|
if (!i.every(Boolean))
|
|
1065
1088
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1066
1089
|
const s = t.length < 2;
|
|
1067
|
-
return
|
|
1090
|
+
return Jn(r, (o, a) => {
|
|
1068
1091
|
let l = !1;
|
|
1069
1092
|
const u = [];
|
|
1070
1093
|
let h = 0, c = k;
|
|
1071
|
-
const
|
|
1094
|
+
const d = () => {
|
|
1072
1095
|
if (h)
|
|
1073
1096
|
return;
|
|
1074
1097
|
c();
|
|
1075
1098
|
const g = t(n ? u[0] : u, o, a);
|
|
1076
|
-
s ? o(g) : c =
|
|
1099
|
+
s ? o(g) : c = mt(g) ? g : k;
|
|
1077
1100
|
}, y = i.map(
|
|
1078
|
-
(g,
|
|
1101
|
+
(g, p) => mr(
|
|
1079
1102
|
g,
|
|
1080
1103
|
(b) => {
|
|
1081
|
-
u[
|
|
1104
|
+
u[p] = b, h &= ~(1 << p), l && d();
|
|
1082
1105
|
},
|
|
1083
1106
|
() => {
|
|
1084
|
-
h |= 1 <<
|
|
1107
|
+
h |= 1 << p;
|
|
1085
1108
|
}
|
|
1086
1109
|
)
|
|
1087
1110
|
);
|
|
1088
|
-
return l = !0,
|
|
1089
|
-
|
|
1111
|
+
return l = !0, d(), function() {
|
|
1112
|
+
be(y), c(), l = !1;
|
|
1090
1113
|
};
|
|
1091
1114
|
});
|
|
1092
1115
|
}
|
|
1093
|
-
function
|
|
1094
|
-
return e
|
|
1116
|
+
function qn(e) {
|
|
1117
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1095
1118
|
}
|
|
1096
|
-
var
|
|
1097
|
-
return
|
|
1119
|
+
var Qn = function(t) {
|
|
1120
|
+
return Yn(t) && !Kn(t);
|
|
1098
1121
|
};
|
|
1099
|
-
function
|
|
1122
|
+
function Yn(e) {
|
|
1100
1123
|
return !!e && typeof e == "object";
|
|
1101
1124
|
}
|
|
1102
|
-
function
|
|
1125
|
+
function Kn(e) {
|
|
1103
1126
|
var t = Object.prototype.toString.call(e);
|
|
1104
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1127
|
+
return t === "[object RegExp]" || t === "[object Date]" || ri(e);
|
|
1105
1128
|
}
|
|
1106
|
-
var
|
|
1107
|
-
function
|
|
1108
|
-
return e.$$typeof ===
|
|
1129
|
+
var ei = typeof Symbol == "function" && Symbol.for, ti = ei ? Symbol.for("react.element") : 60103;
|
|
1130
|
+
function ri(e) {
|
|
1131
|
+
return e.$$typeof === ti;
|
|
1109
1132
|
}
|
|
1110
|
-
function
|
|
1133
|
+
function ni(e) {
|
|
1111
1134
|
return Array.isArray(e) ? [] : {};
|
|
1112
1135
|
}
|
|
1113
|
-
function
|
|
1114
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1136
|
+
function pe(e, t) {
|
|
1137
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(ni(e), e, t) : e;
|
|
1115
1138
|
}
|
|
1116
|
-
function
|
|
1139
|
+
function ii(e, t, r) {
|
|
1117
1140
|
return e.concat(t).map(function(n) {
|
|
1118
|
-
return
|
|
1141
|
+
return pe(n, r);
|
|
1119
1142
|
});
|
|
1120
1143
|
}
|
|
1121
|
-
function
|
|
1144
|
+
function si(e, t) {
|
|
1122
1145
|
if (!t.customMerge)
|
|
1123
|
-
return
|
|
1146
|
+
return ne;
|
|
1124
1147
|
var r = t.customMerge(e);
|
|
1125
|
-
return typeof r == "function" ? r :
|
|
1148
|
+
return typeof r == "function" ? r : ne;
|
|
1126
1149
|
}
|
|
1127
|
-
function
|
|
1150
|
+
function oi(e) {
|
|
1128
1151
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1129
1152
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1130
1153
|
}) : [];
|
|
1131
1154
|
}
|
|
1132
|
-
function
|
|
1133
|
-
return Object.keys(e).concat(
|
|
1155
|
+
function Vt(e) {
|
|
1156
|
+
return Object.keys(e).concat(oi(e));
|
|
1134
1157
|
}
|
|
1135
|
-
function
|
|
1158
|
+
function Er(e, t) {
|
|
1136
1159
|
try {
|
|
1137
1160
|
return t in e;
|
|
1138
1161
|
} catch (r) {
|
|
1139
1162
|
return !1;
|
|
1140
1163
|
}
|
|
1141
1164
|
}
|
|
1142
|
-
function
|
|
1143
|
-
return
|
|
1165
|
+
function ai(e, t) {
|
|
1166
|
+
return Er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1144
1167
|
}
|
|
1145
|
-
function
|
|
1168
|
+
function ui(e, t, r) {
|
|
1146
1169
|
var n = {};
|
|
1147
|
-
return r.isMergeableObject(e) &&
|
|
1148
|
-
n[i] =
|
|
1149
|
-
}),
|
|
1150
|
-
|
|
1170
|
+
return r.isMergeableObject(e) && Vt(e).forEach(function(i) {
|
|
1171
|
+
n[i] = pe(e[i], r);
|
|
1172
|
+
}), Vt(t).forEach(function(i) {
|
|
1173
|
+
ai(e, i) || (Er(e, i) && r.isMergeableObject(t[i]) ? n[i] = si(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
|
|
1151
1174
|
}), n;
|
|
1152
1175
|
}
|
|
1153
|
-
function
|
|
1154
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1176
|
+
function ne(e, t, r) {
|
|
1177
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ii, r.isMergeableObject = r.isMergeableObject || Qn, r.cloneUnlessOtherwiseSpecified = pe;
|
|
1155
1178
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1156
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
1179
|
+
return s ? n ? r.arrayMerge(e, t, r) : ui(e, t, r) : pe(t, r);
|
|
1157
1180
|
}
|
|
1158
|
-
|
|
1181
|
+
ne.all = function(t, r) {
|
|
1159
1182
|
if (!Array.isArray(t))
|
|
1160
1183
|
throw new Error("first argument should be an array");
|
|
1161
1184
|
return t.reduce(function(n, i) {
|
|
1162
|
-
return
|
|
1185
|
+
return ne(n, i, r);
|
|
1163
1186
|
}, {});
|
|
1164
1187
|
};
|
|
1165
|
-
var
|
|
1166
|
-
const
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
r.__proto__ = n;
|
|
1170
|
-
} || function(r, n) {
|
|
1171
|
-
for (var i in n)
|
|
1172
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1173
|
-
}, lt(e, t);
|
|
1174
|
-
};
|
|
1175
|
-
function Fe(e, t) {
|
|
1176
|
-
if (typeof t != "function" && t !== null)
|
|
1177
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1178
|
-
lt(e, t);
|
|
1179
|
-
function r() {
|
|
1180
|
-
this.constructor = e;
|
|
1181
|
-
}
|
|
1182
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1183
|
-
}
|
|
1184
|
-
var j = function() {
|
|
1185
|
-
return j = Object.assign || function(t) {
|
|
1186
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1187
|
-
r = arguments[n];
|
|
1188
|
-
for (var s in r)
|
|
1189
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1190
|
-
}
|
|
1191
|
-
return t;
|
|
1192
|
-
}, j.apply(this, arguments);
|
|
1193
|
-
};
|
|
1194
|
-
function di(e, t) {
|
|
1195
|
-
var r = {};
|
|
1196
|
-
for (var n in e)
|
|
1197
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1198
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1199
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1200
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1201
|
-
return r;
|
|
1202
|
-
}
|
|
1203
|
-
function Je(e, t, r) {
|
|
1204
|
-
if (r || arguments.length === 2)
|
|
1205
|
-
for (var n = 0, i = t.length, s; n < i; n++)
|
|
1206
|
-
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
1207
|
-
return e.concat(s || Array.prototype.slice.call(t));
|
|
1208
|
-
}
|
|
1209
|
-
function qe(e, t) {
|
|
1210
|
-
var r = t && t.cache ? t.cache : wi, n = t && t.serializer ? t.serializer : _i, i = t && t.strategy ? t.strategy : yi;
|
|
1188
|
+
var li = ne, hi = li;
|
|
1189
|
+
const fi = /* @__PURE__ */ qn(hi);
|
|
1190
|
+
function ze(e, t) {
|
|
1191
|
+
var r = t && t.cache ? t.cache : yi, n = t && t.serializer ? t.serializer : gi, i = t && t.strategy ? t.strategy : mi;
|
|
1211
1192
|
return i(e, {
|
|
1212
1193
|
cache: r,
|
|
1213
1194
|
serializer: n
|
|
1214
1195
|
});
|
|
1215
1196
|
}
|
|
1216
|
-
function
|
|
1197
|
+
function ci(e) {
|
|
1217
1198
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1218
1199
|
}
|
|
1219
|
-
function
|
|
1220
|
-
var i =
|
|
1200
|
+
function wr(e, t, r, n) {
|
|
1201
|
+
var i = ci(n) ? n : r(n), s = t.get(i);
|
|
1221
1202
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1222
1203
|
}
|
|
1223
|
-
function
|
|
1204
|
+
function Sr(e, t, r) {
|
|
1224
1205
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1225
1206
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1226
1207
|
}
|
|
1227
|
-
function
|
|
1208
|
+
function dt(e, t, r, n, i) {
|
|
1228
1209
|
return r.bind(t, e, n, i);
|
|
1229
1210
|
}
|
|
1230
|
-
function
|
|
1231
|
-
var r = e.length === 1 ?
|
|
1232
|
-
return
|
|
1211
|
+
function mi(e, t) {
|
|
1212
|
+
var r = e.length === 1 ? wr : Sr;
|
|
1213
|
+
return dt(e, this, r, t.cache.create(), t.serializer);
|
|
1214
|
+
}
|
|
1215
|
+
function di(e, t) {
|
|
1216
|
+
return dt(e, this, Sr, t.cache.create(), t.serializer);
|
|
1233
1217
|
}
|
|
1234
|
-
function
|
|
1235
|
-
return
|
|
1218
|
+
function pi(e, t) {
|
|
1219
|
+
return dt(e, this, wr, t.cache.create(), t.serializer);
|
|
1236
1220
|
}
|
|
1237
|
-
var
|
|
1221
|
+
var gi = function() {
|
|
1238
1222
|
return JSON.stringify(arguments);
|
|
1239
|
-
},
|
|
1223
|
+
}, bi = (
|
|
1240
1224
|
/** @class */
|
|
1241
1225
|
function() {
|
|
1242
1226
|
function e() {
|
|
@@ -1248,71 +1232,62 @@ var _i = function() {
|
|
|
1248
1232
|
this.cache[t] = r;
|
|
1249
1233
|
}, e;
|
|
1250
1234
|
}()
|
|
1251
|
-
),
|
|
1235
|
+
), yi = {
|
|
1252
1236
|
create: function() {
|
|
1253
|
-
return new
|
|
1237
|
+
return new bi();
|
|
1254
1238
|
}
|
|
1255
|
-
},
|
|
1256
|
-
variadic:
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1260
|
-
r = arguments[n];
|
|
1261
|
-
for (var s in r)
|
|
1262
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1263
|
-
}
|
|
1264
|
-
return t;
|
|
1265
|
-
}, Re.apply(this, arguments);
|
|
1266
|
-
};
|
|
1267
|
-
var v;
|
|
1239
|
+
}, Ze = {
|
|
1240
|
+
variadic: di,
|
|
1241
|
+
monadic: pi
|
|
1242
|
+
}, v;
|
|
1268
1243
|
(function(e) {
|
|
1269
1244
|
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";
|
|
1270
1245
|
})(v || (v = {}));
|
|
1271
|
-
var
|
|
1246
|
+
var T;
|
|
1272
1247
|
(function(e) {
|
|
1273
1248
|
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";
|
|
1274
|
-
})(
|
|
1275
|
-
var
|
|
1249
|
+
})(T || (T = {}));
|
|
1250
|
+
var ie;
|
|
1276
1251
|
(function(e) {
|
|
1277
1252
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1278
|
-
})(
|
|
1279
|
-
function
|
|
1280
|
-
return e.type ===
|
|
1253
|
+
})(ie || (ie = {}));
|
|
1254
|
+
function Xt(e) {
|
|
1255
|
+
return e.type === T.literal;
|
|
1281
1256
|
}
|
|
1282
|
-
function
|
|
1283
|
-
return e.type ===
|
|
1257
|
+
function vi(e) {
|
|
1258
|
+
return e.type === T.argument;
|
|
1284
1259
|
}
|
|
1285
|
-
function
|
|
1286
|
-
return e.type ===
|
|
1260
|
+
function xr(e) {
|
|
1261
|
+
return e.type === T.number;
|
|
1287
1262
|
}
|
|
1288
|
-
function
|
|
1289
|
-
return e.type ===
|
|
1263
|
+
function Tr(e) {
|
|
1264
|
+
return e.type === T.date;
|
|
1290
1265
|
}
|
|
1291
|
-
function
|
|
1292
|
-
return e.type ===
|
|
1266
|
+
function Hr(e) {
|
|
1267
|
+
return e.type === T.time;
|
|
1293
1268
|
}
|
|
1294
|
-
function
|
|
1295
|
-
return e.type ===
|
|
1269
|
+
function Br(e) {
|
|
1270
|
+
return e.type === T.select;
|
|
1296
1271
|
}
|
|
1297
|
-
function
|
|
1298
|
-
return e.type ===
|
|
1272
|
+
function Pr(e) {
|
|
1273
|
+
return e.type === T.plural;
|
|
1299
1274
|
}
|
|
1300
|
-
function
|
|
1301
|
-
return e.type ===
|
|
1275
|
+
function _i(e) {
|
|
1276
|
+
return e.type === T.pound;
|
|
1302
1277
|
}
|
|
1303
|
-
function
|
|
1304
|
-
return e.type ===
|
|
1278
|
+
function Ar(e) {
|
|
1279
|
+
return e.type === T.tag;
|
|
1305
1280
|
}
|
|
1306
|
-
function
|
|
1307
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1281
|
+
function Or(e) {
|
|
1282
|
+
return !!(e && typeof e == "object" && e.type === ie.number);
|
|
1308
1283
|
}
|
|
1309
|
-
function
|
|
1310
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1284
|
+
function st(e) {
|
|
1285
|
+
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
|
1311
1286
|
}
|
|
1312
|
-
var
|
|
1313
|
-
function
|
|
1287
|
+
var Cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ei = /(?:[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;
|
|
1288
|
+
function wi(e) {
|
|
1314
1289
|
var t = {};
|
|
1315
|
-
return e.replace(
|
|
1290
|
+
return e.replace(Ei, function(r) {
|
|
1316
1291
|
var n = r.length;
|
|
1317
1292
|
switch (r[0]) {
|
|
1318
1293
|
case "G":
|
|
@@ -1401,22 +1376,12 @@ function Hi(e) {
|
|
|
1401
1376
|
return "";
|
|
1402
1377
|
}), t;
|
|
1403
1378
|
}
|
|
1404
|
-
var
|
|
1405
|
-
|
|
1406
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1407
|
-
r = arguments[n];
|
|
1408
|
-
for (var s in r)
|
|
1409
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1410
|
-
}
|
|
1411
|
-
return t;
|
|
1412
|
-
}, P.apply(this, arguments);
|
|
1413
|
-
};
|
|
1414
|
-
var Bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1415
|
-
function Pi(e) {
|
|
1379
|
+
var Si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1380
|
+
function xi(e) {
|
|
1416
1381
|
if (e.length === 0)
|
|
1417
1382
|
throw new Error("Number skeleton cannot be empty");
|
|
1418
|
-
for (var t = e.split(
|
|
1419
|
-
return
|
|
1383
|
+
for (var t = e.split(Si).filter(function(d) {
|
|
1384
|
+
return d.length > 0;
|
|
1420
1385
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1421
1386
|
var s = i[n], o = s.split("/");
|
|
1422
1387
|
if (o.length === 0)
|
|
@@ -1430,17 +1395,17 @@ function Pi(e) {
|
|
|
1430
1395
|
}
|
|
1431
1396
|
return r;
|
|
1432
1397
|
}
|
|
1433
|
-
function
|
|
1398
|
+
function Ti(e) {
|
|
1434
1399
|
return e.replace(/^(.*?)-/, "");
|
|
1435
1400
|
}
|
|
1436
|
-
var
|
|
1437
|
-
function
|
|
1401
|
+
var Wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ir = /^(@+)?(\+|#+)?[rs]?$/g, Hi = /(\*)(0+)|(#+)(0+)|(0+)/g, Rr = /^(0+)$/;
|
|
1402
|
+
function zt(e) {
|
|
1438
1403
|
var t = {};
|
|
1439
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1404
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ir, function(r, n, i) {
|
|
1440
1405
|
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)), "";
|
|
1441
1406
|
}), t;
|
|
1442
1407
|
}
|
|
1443
|
-
function
|
|
1408
|
+
function Lr(e) {
|
|
1444
1409
|
switch (e) {
|
|
1445
1410
|
case "sign-auto":
|
|
1446
1411
|
return {
|
|
@@ -1480,7 +1445,7 @@ function Fr(e) {
|
|
|
1480
1445
|
};
|
|
1481
1446
|
}
|
|
1482
1447
|
}
|
|
1483
|
-
function
|
|
1448
|
+
function Bi(e) {
|
|
1484
1449
|
var t;
|
|
1485
1450
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1486
1451
|
notation: "engineering"
|
|
@@ -1488,17 +1453,17 @@ function Ci(e) {
|
|
|
1488
1453
|
notation: "scientific"
|
|
1489
1454
|
}, e = e.slice(1)), t) {
|
|
1490
1455
|
var r = e.slice(0, 2);
|
|
1491
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1456
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rr.test(e))
|
|
1492
1457
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1493
1458
|
t.minimumIntegerDigits = e.length;
|
|
1494
1459
|
}
|
|
1495
1460
|
return t;
|
|
1496
1461
|
}
|
|
1497
|
-
function
|
|
1498
|
-
var t = {}, r =
|
|
1462
|
+
function Zt(e) {
|
|
1463
|
+
var t = {}, r = Lr(e);
|
|
1499
1464
|
return r || t;
|
|
1500
1465
|
}
|
|
1501
|
-
function
|
|
1466
|
+
function Pi(e) {
|
|
1502
1467
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1503
1468
|
var i = n[r];
|
|
1504
1469
|
switch (i.stem) {
|
|
@@ -1522,7 +1487,7 @@ function Ii(e) {
|
|
|
1522
1487
|
continue;
|
|
1523
1488
|
case "measure-unit":
|
|
1524
1489
|
case "unit":
|
|
1525
|
-
t.style = "unit", t.unit =
|
|
1490
|
+
t.style = "unit", t.unit = Ti(i.options[0]);
|
|
1526
1491
|
continue;
|
|
1527
1492
|
case "compact-short":
|
|
1528
1493
|
case "K":
|
|
@@ -1533,13 +1498,13 @@ function Ii(e) {
|
|
|
1533
1498
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1534
1499
|
continue;
|
|
1535
1500
|
case "scientific":
|
|
1536
|
-
t =
|
|
1537
|
-
return
|
|
1501
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1502
|
+
return w(w({}, l), Zt(u));
|
|
1538
1503
|
}, {}));
|
|
1539
1504
|
continue;
|
|
1540
1505
|
case "engineering":
|
|
1541
|
-
t =
|
|
1542
|
-
return
|
|
1506
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1507
|
+
return w(w({}, l), Zt(u));
|
|
1543
1508
|
}, {}));
|
|
1544
1509
|
continue;
|
|
1545
1510
|
case "notation-simple":
|
|
@@ -1584,11 +1549,11 @@ function Ii(e) {
|
|
|
1584
1549
|
case "integer-width":
|
|
1585
1550
|
if (i.options.length > 1)
|
|
1586
1551
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1587
|
-
i.options[0].replace(
|
|
1552
|
+
i.options[0].replace(Hi, function(l, u, h, c, d, y) {
|
|
1588
1553
|
if (u)
|
|
1589
1554
|
t.minimumIntegerDigits = h.length;
|
|
1590
1555
|
else {
|
|
1591
|
-
if (c &&
|
|
1556
|
+
if (c && d)
|
|
1592
1557
|
throw new Error("We currently do not support maximum integer digits");
|
|
1593
1558
|
if (y)
|
|
1594
1559
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1597,28 +1562,28 @@ function Ii(e) {
|
|
|
1597
1562
|
});
|
|
1598
1563
|
continue;
|
|
1599
1564
|
}
|
|
1600
|
-
if (
|
|
1565
|
+
if (Rr.test(i.stem)) {
|
|
1601
1566
|
t.minimumIntegerDigits = i.stem.length;
|
|
1602
1567
|
continue;
|
|
1603
1568
|
}
|
|
1604
|
-
if (
|
|
1569
|
+
if (Wt.test(i.stem)) {
|
|
1605
1570
|
if (i.options.length > 1)
|
|
1606
1571
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1607
|
-
i.stem.replace(
|
|
1608
|
-
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length :
|
|
1572
|
+
i.stem.replace(Wt, function(l, u, h, c, d, y) {
|
|
1573
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : d && y ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1609
1574
|
});
|
|
1610
1575
|
var s = i.options[0];
|
|
1611
|
-
s === "w" ? t =
|
|
1576
|
+
s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), zt(s)));
|
|
1612
1577
|
continue;
|
|
1613
1578
|
}
|
|
1614
|
-
if (
|
|
1615
|
-
t =
|
|
1579
|
+
if (Ir.test(i.stem)) {
|
|
1580
|
+
t = w(w({}, t), zt(i.stem));
|
|
1616
1581
|
continue;
|
|
1617
1582
|
}
|
|
1618
|
-
var o =
|
|
1619
|
-
o && (t =
|
|
1620
|
-
var a =
|
|
1621
|
-
a && (t =
|
|
1583
|
+
var o = Lr(i.stem);
|
|
1584
|
+
o && (t = w(w({}, t), o));
|
|
1585
|
+
var a = Bi(i.stem);
|
|
1586
|
+
a && (t = w(w({}, t), a));
|
|
1622
1587
|
}
|
|
1623
1588
|
return t;
|
|
1624
1589
|
}
|
|
@@ -3037,13 +3002,13 @@ var Be = {
|
|
|
3037
3002
|
"h"
|
|
3038
3003
|
]
|
|
3039
3004
|
};
|
|
3040
|
-
function
|
|
3005
|
+
function Ai(e, t) {
|
|
3041
3006
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3042
3007
|
var i = e.charAt(n);
|
|
3043
3008
|
if (i === "j") {
|
|
3044
3009
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3045
3010
|
s++, n++;
|
|
3046
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
3011
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Oi(t);
|
|
3047
3012
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3048
3013
|
r += l;
|
|
3049
3014
|
for (; o-- > 0; )
|
|
@@ -3053,7 +3018,7 @@ function Ri(e, t) {
|
|
|
3053
3018
|
}
|
|
3054
3019
|
return r;
|
|
3055
3020
|
}
|
|
3056
|
-
function
|
|
3021
|
+
function Oi(e) {
|
|
3057
3022
|
var t = e.hourCycle;
|
|
3058
3023
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3059
3024
|
e.hourCycles && // @ts-ignore
|
|
@@ -3075,20 +3040,20 @@ function Li(e) {
|
|
|
3075
3040
|
var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
|
|
3076
3041
|
return i[0];
|
|
3077
3042
|
}
|
|
3078
|
-
var
|
|
3043
|
+
var Je, Ci = new RegExp("^".concat(Cr.source, "*")), Ii = new RegExp("".concat(Cr.source, "*$"));
|
|
3079
3044
|
function _(e, t) {
|
|
3080
3045
|
return { start: e, end: t };
|
|
3081
3046
|
}
|
|
3082
|
-
var
|
|
3047
|
+
var Ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), Li = !!String.fromCodePoint, Ni = !!Object.fromEntries, Mi = !!String.prototype.codePointAt, Di = !!String.prototype.trimStart, Fi = !!String.prototype.trimEnd, Ui = !!Number.isSafeInteger, Gi = Ui ? Number.isSafeInteger : function(e) {
|
|
3083
3048
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3084
|
-
},
|
|
3049
|
+
}, ot = !0;
|
|
3085
3050
|
try {
|
|
3086
|
-
var
|
|
3087
|
-
|
|
3051
|
+
var ki = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3052
|
+
ot = ((Je = ki.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
|
|
3088
3053
|
} catch (e) {
|
|
3089
|
-
|
|
3054
|
+
ot = !1;
|
|
3090
3055
|
}
|
|
3091
|
-
var
|
|
3056
|
+
var Jt = Ri ? (
|
|
3092
3057
|
// Native
|
|
3093
3058
|
function(t, r, n) {
|
|
3094
3059
|
return t.startsWith(r, n);
|
|
@@ -3098,7 +3063,7 @@ var Kt = Di ? (
|
|
|
3098
3063
|
function(t, r, n) {
|
|
3099
3064
|
return t.slice(n, n + r.length) === r;
|
|
3100
3065
|
}
|
|
3101
|
-
),
|
|
3066
|
+
), at = Li ? String.fromCodePoint : (
|
|
3102
3067
|
// IE11
|
|
3103
3068
|
function() {
|
|
3104
3069
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3110,9 +3075,9 @@ var Kt = Di ? (
|
|
|
3110
3075
|
}
|
|
3111
3076
|
return n;
|
|
3112
3077
|
}
|
|
3113
|
-
),
|
|
3078
|
+
), qt = (
|
|
3114
3079
|
// native
|
|
3115
|
-
|
|
3080
|
+
Ni ? Object.fromEntries : (
|
|
3116
3081
|
// Ponyfill
|
|
3117
3082
|
function(t) {
|
|
3118
3083
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3122,7 +3087,7 @@ var Kt = Di ? (
|
|
|
3122
3087
|
return r;
|
|
3123
3088
|
}
|
|
3124
3089
|
)
|
|
3125
|
-
),
|
|
3090
|
+
), Nr = Mi ? (
|
|
3126
3091
|
// Native
|
|
3127
3092
|
function(t, r) {
|
|
3128
3093
|
return t.codePointAt(r);
|
|
@@ -3136,7 +3101,7 @@ var Kt = Di ? (
|
|
|
3136
3101
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3137
3102
|
}
|
|
3138
3103
|
}
|
|
3139
|
-
),
|
|
3104
|
+
), ji = Di ? (
|
|
3140
3105
|
// Native
|
|
3141
3106
|
function(t) {
|
|
3142
3107
|
return t.trimStart();
|
|
@@ -3144,9 +3109,9 @@ var Kt = Di ? (
|
|
|
3144
3109
|
) : (
|
|
3145
3110
|
// Ponyfill
|
|
3146
3111
|
function(t) {
|
|
3147
|
-
return t.replace(
|
|
3112
|
+
return t.replace(Ci, "");
|
|
3148
3113
|
}
|
|
3149
|
-
),
|
|
3114
|
+
), $i = Fi ? (
|
|
3150
3115
|
// Native
|
|
3151
3116
|
function(t) {
|
|
3152
3117
|
return t.trimEnd();
|
|
@@ -3154,32 +3119,32 @@ var Kt = Di ? (
|
|
|
3154
3119
|
) : (
|
|
3155
3120
|
// Ponyfill
|
|
3156
3121
|
function(t) {
|
|
3157
|
-
return t.replace(
|
|
3122
|
+
return t.replace(Ii, "");
|
|
3158
3123
|
}
|
|
3159
3124
|
);
|
|
3160
|
-
function
|
|
3125
|
+
function Mr(e, t) {
|
|
3161
3126
|
return new RegExp(e, t);
|
|
3162
3127
|
}
|
|
3163
|
-
var
|
|
3164
|
-
if (
|
|
3165
|
-
var
|
|
3166
|
-
|
|
3128
|
+
var ut;
|
|
3129
|
+
if (ot) {
|
|
3130
|
+
var Qt = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3131
|
+
ut = function(t, r) {
|
|
3167
3132
|
var n;
|
|
3168
|
-
|
|
3169
|
-
var i =
|
|
3133
|
+
Qt.lastIndex = r;
|
|
3134
|
+
var i = Qt.exec(t);
|
|
3170
3135
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3171
3136
|
};
|
|
3172
3137
|
} else
|
|
3173
|
-
|
|
3138
|
+
ut = function(t, r) {
|
|
3174
3139
|
for (var n = []; ; ) {
|
|
3175
|
-
var i =
|
|
3176
|
-
if (i === void 0 ||
|
|
3140
|
+
var i = Nr(t, r);
|
|
3141
|
+
if (i === void 0 || Dr(i) || zi(i))
|
|
3177
3142
|
break;
|
|
3178
3143
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3179
3144
|
}
|
|
3180
|
-
return
|
|
3145
|
+
return at.apply(void 0, n);
|
|
3181
3146
|
};
|
|
3182
|
-
var
|
|
3147
|
+
var Vi = (
|
|
3183
3148
|
/** @class */
|
|
3184
3149
|
function() {
|
|
3185
3150
|
function e(t, r) {
|
|
@@ -3203,14 +3168,14 @@ var Zi = (
|
|
|
3203
3168
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3204
3169
|
var a = this.clonePosition();
|
|
3205
3170
|
this.bump(), i.push({
|
|
3206
|
-
type:
|
|
3171
|
+
type: T.pound,
|
|
3207
3172
|
location: _(a, this.clonePosition())
|
|
3208
3173
|
});
|
|
3209
3174
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3210
3175
|
if (n)
|
|
3211
3176
|
break;
|
|
3212
3177
|
return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3213
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3178
|
+
} else if (s === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
|
|
3214
3179
|
var o = this.parseTag(t, r);
|
|
3215
3180
|
if (o.err)
|
|
3216
3181
|
return o;
|
|
@@ -3231,7 +3196,7 @@ var Zi = (
|
|
|
3231
3196
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3232
3197
|
return {
|
|
3233
3198
|
val: {
|
|
3234
|
-
type:
|
|
3199
|
+
type: T.literal,
|
|
3235
3200
|
value: "<".concat(i, "/>"),
|
|
3236
3201
|
location: _(n, this.clonePosition())
|
|
3237
3202
|
},
|
|
@@ -3243,12 +3208,12 @@ var Zi = (
|
|
|
3243
3208
|
return s;
|
|
3244
3209
|
var o = s.val, a = this.clonePosition();
|
|
3245
3210
|
if (this.bumpIf("</")) {
|
|
3246
|
-
if (this.isEOF() || !
|
|
3211
|
+
if (this.isEOF() || !lt(this.char()))
|
|
3247
3212
|
return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
|
|
3248
3213
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3249
3214
|
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3250
3215
|
val: {
|
|
3251
|
-
type:
|
|
3216
|
+
type: T.tag,
|
|
3252
3217
|
value: i,
|
|
3253
3218
|
children: o,
|
|
3254
3219
|
location: _(n, this.clonePosition())
|
|
@@ -3261,7 +3226,7 @@ var Zi = (
|
|
|
3261
3226
|
return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
|
|
3262
3227
|
}, e.prototype.parseTagName = function() {
|
|
3263
3228
|
var t = this.offset();
|
|
3264
|
-
for (this.bump(); !this.isEOF() &&
|
|
3229
|
+
for (this.bump(); !this.isEOF() && Wi(this.char()); )
|
|
3265
3230
|
this.bump();
|
|
3266
3231
|
return this.message.slice(t, this.offset());
|
|
3267
3232
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3285,12 +3250,12 @@ var Zi = (
|
|
|
3285
3250
|
}
|
|
3286
3251
|
var l = _(n, this.clonePosition());
|
|
3287
3252
|
return {
|
|
3288
|
-
val: { type:
|
|
3253
|
+
val: { type: T.literal, value: i, location: l },
|
|
3289
3254
|
err: null
|
|
3290
3255
|
};
|
|
3291
3256
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3292
3257
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3293
|
-
!
|
|
3258
|
+
!Xi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3294
3259
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3295
3260
|
if (this.isEOF() || this.char() !== 39)
|
|
3296
3261
|
return null;
|
|
@@ -3324,12 +3289,12 @@ var Zi = (
|
|
|
3324
3289
|
r.push(n);
|
|
3325
3290
|
this.bump();
|
|
3326
3291
|
}
|
|
3327
|
-
return
|
|
3292
|
+
return at.apply(void 0, r);
|
|
3328
3293
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3329
3294
|
if (this.isEOF())
|
|
3330
3295
|
return null;
|
|
3331
3296
|
var n = this.char();
|
|
3332
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3297
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), at(n));
|
|
3333
3298
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3334
3299
|
var n = this.clonePosition();
|
|
3335
3300
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3345,7 +3310,7 @@ var Zi = (
|
|
|
3345
3310
|
case 125:
|
|
3346
3311
|
return this.bump(), {
|
|
3347
3312
|
val: {
|
|
3348
|
-
type:
|
|
3313
|
+
type: T.argument,
|
|
3349
3314
|
// value does not include the opening and closing braces.
|
|
3350
3315
|
value: i,
|
|
3351
3316
|
location: _(n, this.clonePosition())
|
|
@@ -3358,7 +3323,7 @@ var Zi = (
|
|
|
3358
3323
|
return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3359
3324
|
}
|
|
3360
3325
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3361
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3326
|
+
var t = this.clonePosition(), r = this.offset(), n = ut(this.message, r), i = r + n.length;
|
|
3362
3327
|
this.bumpTo(i);
|
|
3363
3328
|
var s = this.clonePosition(), o = _(t, s);
|
|
3364
3329
|
return { value: n, location: o };
|
|
@@ -3377,46 +3342,46 @@ var Zi = (
|
|
|
3377
3342
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3378
3343
|
if (c.err)
|
|
3379
3344
|
return c;
|
|
3380
|
-
var
|
|
3381
|
-
if (
|
|
3345
|
+
var d = $i(c.val);
|
|
3346
|
+
if (d.length === 0)
|
|
3382
3347
|
return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3383
3348
|
var y = _(h, this.clonePosition());
|
|
3384
|
-
u = { style:
|
|
3349
|
+
u = { style: d, styleLocation: y };
|
|
3385
3350
|
}
|
|
3386
3351
|
var g = this.tryParseArgumentClose(i);
|
|
3387
3352
|
if (g.err)
|
|
3388
3353
|
return g;
|
|
3389
|
-
var
|
|
3390
|
-
if (u &&
|
|
3391
|
-
var b =
|
|
3354
|
+
var p = _(i, this.clonePosition());
|
|
3355
|
+
if (u && Jt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3356
|
+
var b = ji(u.style.slice(2));
|
|
3392
3357
|
if (a === "number") {
|
|
3393
3358
|
var c = this.parseNumberSkeletonFromString(b, u.styleLocation);
|
|
3394
3359
|
return c.err ? c : {
|
|
3395
|
-
val: { type:
|
|
3360
|
+
val: { type: T.number, value: n, location: p, style: c.val },
|
|
3396
3361
|
err: null
|
|
3397
3362
|
};
|
|
3398
3363
|
} else {
|
|
3399
3364
|
if (b.length === 0)
|
|
3400
|
-
return this.error(v.EXPECT_DATE_TIME_SKELETON,
|
|
3401
|
-
var
|
|
3402
|
-
this.locale && (
|
|
3403
|
-
var
|
|
3404
|
-
type:
|
|
3405
|
-
pattern:
|
|
3365
|
+
return this.error(v.EXPECT_DATE_TIME_SKELETON, p);
|
|
3366
|
+
var S = b;
|
|
3367
|
+
this.locale && (S = Ai(b, this.locale));
|
|
3368
|
+
var d = {
|
|
3369
|
+
type: ie.dateTime,
|
|
3370
|
+
pattern: S,
|
|
3406
3371
|
location: u.styleLocation,
|
|
3407
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3408
|
-
}, O = a === "date" ?
|
|
3372
|
+
parsedOptions: this.shouldParseSkeletons ? wi(S) : {}
|
|
3373
|
+
}, O = a === "date" ? T.date : T.time;
|
|
3409
3374
|
return {
|
|
3410
|
-
val: { type: O, value: n, location:
|
|
3375
|
+
val: { type: O, value: n, location: p, style: d },
|
|
3411
3376
|
err: null
|
|
3412
3377
|
};
|
|
3413
3378
|
}
|
|
3414
3379
|
}
|
|
3415
3380
|
return {
|
|
3416
3381
|
val: {
|
|
3417
|
-
type: a === "number" ?
|
|
3382
|
+
type: a === "number" ? T.number : a === "date" ? T.date : T.time,
|
|
3418
3383
|
value: n,
|
|
3419
|
-
location:
|
|
3384
|
+
location: p,
|
|
3420
3385
|
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
|
3421
3386
|
},
|
|
3422
3387
|
err: null
|
|
@@ -3427,7 +3392,7 @@ var Zi = (
|
|
|
3427
3392
|
case "select": {
|
|
3428
3393
|
var A = this.clonePosition();
|
|
3429
3394
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3430
|
-
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A,
|
|
3395
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A, w({}, A)));
|
|
3431
3396
|
this.bumpSpace();
|
|
3432
3397
|
var L = this.parseIdentifierIfPossible(), N = 0;
|
|
3433
3398
|
if (a !== "select" && L.value === "offset") {
|
|
@@ -3448,17 +3413,17 @@ var Zi = (
|
|
|
3448
3413
|
var D = _(i, this.clonePosition());
|
|
3449
3414
|
return a === "select" ? {
|
|
3450
3415
|
val: {
|
|
3451
|
-
type:
|
|
3416
|
+
type: T.select,
|
|
3452
3417
|
value: n,
|
|
3453
|
-
options:
|
|
3418
|
+
options: qt(C.val),
|
|
3454
3419
|
location: D
|
|
3455
3420
|
},
|
|
3456
3421
|
err: null
|
|
3457
3422
|
} : {
|
|
3458
3423
|
val: {
|
|
3459
|
-
type:
|
|
3424
|
+
type: T.plural,
|
|
3460
3425
|
value: n,
|
|
3461
|
-
options:
|
|
3426
|
+
options: qt(C.val),
|
|
3462
3427
|
offset: N,
|
|
3463
3428
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3464
3429
|
location: D
|
|
@@ -3509,16 +3474,16 @@ var Zi = (
|
|
|
3509
3474
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3510
3475
|
var n = [];
|
|
3511
3476
|
try {
|
|
3512
|
-
n =
|
|
3477
|
+
n = xi(t);
|
|
3513
3478
|
} catch (i) {
|
|
3514
3479
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
3515
3480
|
}
|
|
3516
3481
|
return {
|
|
3517
3482
|
val: {
|
|
3518
|
-
type:
|
|
3483
|
+
type: ie.number,
|
|
3519
3484
|
tokens: n,
|
|
3520
3485
|
location: r,
|
|
3521
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3486
|
+
parsedOptions: this.shouldParseSkeletons ? Pi(n) : {}
|
|
3522
3487
|
},
|
|
3523
3488
|
err: null
|
|
3524
3489
|
};
|
|
@@ -3527,9 +3492,9 @@ var Zi = (
|
|
|
3527
3492
|
if (u.length === 0) {
|
|
3528
3493
|
var c = this.clonePosition();
|
|
3529
3494
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3530
|
-
var
|
|
3531
|
-
if (
|
|
3532
|
-
return
|
|
3495
|
+
var d = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3496
|
+
if (d.err)
|
|
3497
|
+
return d;
|
|
3533
3498
|
h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3534
3499
|
} else
|
|
3535
3500
|
break;
|
|
@@ -3543,9 +3508,9 @@ var Zi = (
|
|
|
3543
3508
|
var g = this.parseMessage(t + 1, r, n);
|
|
3544
3509
|
if (g.err)
|
|
3545
3510
|
return g;
|
|
3546
|
-
var
|
|
3547
|
-
if (
|
|
3548
|
-
return
|
|
3511
|
+
var p = this.tryParseArgumentClose(y);
|
|
3512
|
+
if (p.err)
|
|
3513
|
+
return p;
|
|
3549
3514
|
a.push([
|
|
3550
3515
|
u,
|
|
3551
3516
|
{
|
|
@@ -3566,7 +3531,7 @@ var Zi = (
|
|
|
3566
3531
|
break;
|
|
3567
3532
|
}
|
|
3568
3533
|
var l = _(i, this.clonePosition());
|
|
3569
|
-
return s ? (o *= n,
|
|
3534
|
+
return s ? (o *= n, Gi(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3570
3535
|
}, e.prototype.offset = function() {
|
|
3571
3536
|
return this.position.offset;
|
|
3572
3537
|
}, e.prototype.isEOF = function() {
|
|
@@ -3581,7 +3546,7 @@ var Zi = (
|
|
|
3581
3546
|
var t = this.position.offset;
|
|
3582
3547
|
if (t >= this.message.length)
|
|
3583
3548
|
throw Error("out of bound");
|
|
3584
|
-
var r =
|
|
3549
|
+
var r = Nr(this.message, t);
|
|
3585
3550
|
if (r === void 0)
|
|
3586
3551
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3587
3552
|
return r;
|
|
@@ -3600,7 +3565,7 @@ var Zi = (
|
|
|
3600
3565
|
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);
|
|
3601
3566
|
}
|
|
3602
3567
|
}, e.prototype.bumpIf = function(t) {
|
|
3603
|
-
if (
|
|
3568
|
+
if (Jt(this.message, t, this.offset())) {
|
|
3604
3569
|
for (var r = 0; r < t.length; r++)
|
|
3605
3570
|
this.bump();
|
|
3606
3571
|
return !0;
|
|
@@ -3622,7 +3587,7 @@ var Zi = (
|
|
|
3622
3587
|
break;
|
|
3623
3588
|
}
|
|
3624
3589
|
}, e.prototype.bumpSpace = function() {
|
|
3625
|
-
for (; !this.isEOF() &&
|
|
3590
|
+
for (; !this.isEOF() && Dr(this.char()); )
|
|
3626
3591
|
this.bump();
|
|
3627
3592
|
}, e.prototype.peek = function() {
|
|
3628
3593
|
if (this.isEOF())
|
|
@@ -3632,47 +3597,47 @@ var Zi = (
|
|
|
3632
3597
|
}, e;
|
|
3633
3598
|
}()
|
|
3634
3599
|
);
|
|
3635
|
-
function
|
|
3600
|
+
function lt(e) {
|
|
3636
3601
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3637
3602
|
}
|
|
3638
|
-
function
|
|
3639
|
-
return
|
|
3603
|
+
function Xi(e) {
|
|
3604
|
+
return lt(e) || e === 47;
|
|
3640
3605
|
}
|
|
3641
|
-
function
|
|
3606
|
+
function Wi(e) {
|
|
3642
3607
|
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;
|
|
3643
3608
|
}
|
|
3644
|
-
function
|
|
3609
|
+
function Dr(e) {
|
|
3645
3610
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3646
3611
|
}
|
|
3647
|
-
function
|
|
3612
|
+
function zi(e) {
|
|
3648
3613
|
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;
|
|
3649
3614
|
}
|
|
3650
|
-
function
|
|
3615
|
+
function ht(e) {
|
|
3651
3616
|
e.forEach(function(t) {
|
|
3652
|
-
if (delete t.location,
|
|
3617
|
+
if (delete t.location, Br(t) || Pr(t))
|
|
3653
3618
|
for (var r in t.options)
|
|
3654
|
-
delete t.options[r].location,
|
|
3619
|
+
delete t.options[r].location, ht(t.options[r].value);
|
|
3655
3620
|
else
|
|
3656
|
-
|
|
3621
|
+
xr(t) && Or(t.style) || (Tr(t) || Hr(t)) && st(t.style) ? delete t.style.location : Ar(t) && ht(t.children);
|
|
3657
3622
|
});
|
|
3658
3623
|
}
|
|
3659
|
-
function
|
|
3660
|
-
t === void 0 && (t = {}), t =
|
|
3661
|
-
var r = new
|
|
3624
|
+
function Zi(e, t) {
|
|
3625
|
+
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3626
|
+
var r = new Vi(e, t).parse();
|
|
3662
3627
|
if (r.err) {
|
|
3663
3628
|
var n = SyntaxError(v[r.err.kind]);
|
|
3664
3629
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3665
3630
|
}
|
|
3666
|
-
return t != null && t.captureLocation ||
|
|
3631
|
+
return t != null && t.captureLocation || ht(r.val), r.val;
|
|
3667
3632
|
}
|
|
3668
|
-
var
|
|
3633
|
+
var se;
|
|
3669
3634
|
(function(e) {
|
|
3670
3635
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3671
|
-
})(
|
|
3672
|
-
var
|
|
3636
|
+
})(se || (se = {}));
|
|
3637
|
+
var De = (
|
|
3673
3638
|
/** @class */
|
|
3674
3639
|
function(e) {
|
|
3675
|
-
|
|
3640
|
+
W(t, e);
|
|
3676
3641
|
function t(r, n, i) {
|
|
3677
3642
|
var s = e.call(this, r) || this;
|
|
3678
3643
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3681,48 +3646,48 @@ var Ue = (
|
|
|
3681
3646
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3682
3647
|
}, t;
|
|
3683
3648
|
}(Error)
|
|
3684
|
-
),
|
|
3649
|
+
), Yt = (
|
|
3685
3650
|
/** @class */
|
|
3686
3651
|
function(e) {
|
|
3687
|
-
|
|
3652
|
+
W(t, e);
|
|
3688
3653
|
function t(r, n, i, s) {
|
|
3689
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3654
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), se.INVALID_VALUE, s) || this;
|
|
3690
3655
|
}
|
|
3691
3656
|
return t;
|
|
3692
|
-
}(
|
|
3693
|
-
),
|
|
3657
|
+
}(De)
|
|
3658
|
+
), Ji = (
|
|
3694
3659
|
/** @class */
|
|
3695
3660
|
function(e) {
|
|
3696
|
-
|
|
3661
|
+
W(t, e);
|
|
3697
3662
|
function t(r, n, i) {
|
|
3698
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3663
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), se.INVALID_VALUE, i) || this;
|
|
3699
3664
|
}
|
|
3700
3665
|
return t;
|
|
3701
|
-
}(
|
|
3702
|
-
),
|
|
3666
|
+
}(De)
|
|
3667
|
+
), qi = (
|
|
3703
3668
|
/** @class */
|
|
3704
3669
|
function(e) {
|
|
3705
|
-
|
|
3670
|
+
W(t, e);
|
|
3706
3671
|
function t(r, n) {
|
|
3707
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3672
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), se.MISSING_VALUE, n) || this;
|
|
3708
3673
|
}
|
|
3709
3674
|
return t;
|
|
3710
|
-
}(
|
|
3675
|
+
}(De)
|
|
3711
3676
|
), R;
|
|
3712
3677
|
(function(e) {
|
|
3713
3678
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3714
3679
|
})(R || (R = {}));
|
|
3715
|
-
function
|
|
3680
|
+
function Qi(e) {
|
|
3716
3681
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3717
3682
|
var n = t[t.length - 1];
|
|
3718
3683
|
return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
|
|
3719
3684
|
}, []);
|
|
3720
3685
|
}
|
|
3721
|
-
function
|
|
3686
|
+
function Yi(e) {
|
|
3722
3687
|
return typeof e == "function";
|
|
3723
3688
|
}
|
|
3724
3689
|
function Oe(e, t, r, n, i, s, o) {
|
|
3725
|
-
if (e.length === 1 &&
|
|
3690
|
+
if (e.length === 1 && Xt(e[0]))
|
|
3726
3691
|
return [
|
|
3727
3692
|
{
|
|
3728
3693
|
type: R.literal,
|
|
@@ -3731,14 +3696,14 @@ function Oe(e, t, r, n, i, s, o) {
|
|
|
3731
3696
|
];
|
|
3732
3697
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3733
3698
|
var h = u[l];
|
|
3734
|
-
if (
|
|
3699
|
+
if (Xt(h)) {
|
|
3735
3700
|
a.push({
|
|
3736
3701
|
type: R.literal,
|
|
3737
3702
|
value: h.value
|
|
3738
3703
|
});
|
|
3739
3704
|
continue;
|
|
3740
3705
|
}
|
|
3741
|
-
if (
|
|
3706
|
+
if (_i(h)) {
|
|
3742
3707
|
typeof s == "number" && a.push({
|
|
3743
3708
|
type: R.literal,
|
|
3744
3709
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3747,44 +3712,44 @@ function Oe(e, t, r, n, i, s, o) {
|
|
|
3747
3712
|
}
|
|
3748
3713
|
var c = h.value;
|
|
3749
3714
|
if (!(i && c in i))
|
|
3750
|
-
throw new
|
|
3751
|
-
var
|
|
3752
|
-
if (
|
|
3753
|
-
(!
|
|
3754
|
-
type: typeof
|
|
3755
|
-
value:
|
|
3715
|
+
throw new qi(c, o);
|
|
3716
|
+
var d = i[c];
|
|
3717
|
+
if (vi(h)) {
|
|
3718
|
+
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3719
|
+
type: typeof d == "string" ? R.literal : R.object,
|
|
3720
|
+
value: d
|
|
3756
3721
|
});
|
|
3757
3722
|
continue;
|
|
3758
3723
|
}
|
|
3759
|
-
if (
|
|
3760
|
-
var y = typeof h.style == "string" ? n.date[h.style] :
|
|
3724
|
+
if (Tr(h)) {
|
|
3725
|
+
var y = typeof h.style == "string" ? n.date[h.style] : st(h.style) ? h.style.parsedOptions : void 0;
|
|
3761
3726
|
a.push({
|
|
3762
3727
|
type: R.literal,
|
|
3763
|
-
value: r.getDateTimeFormat(t, y).format(
|
|
3728
|
+
value: r.getDateTimeFormat(t, y).format(d)
|
|
3764
3729
|
});
|
|
3765
3730
|
continue;
|
|
3766
3731
|
}
|
|
3767
|
-
if (
|
|
3768
|
-
var y = typeof h.style == "string" ? n.time[h.style] :
|
|
3732
|
+
if (Hr(h)) {
|
|
3733
|
+
var y = typeof h.style == "string" ? n.time[h.style] : st(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3769
3734
|
a.push({
|
|
3770
3735
|
type: R.literal,
|
|
3771
|
-
value: r.getDateTimeFormat(t, y).format(
|
|
3736
|
+
value: r.getDateTimeFormat(t, y).format(d)
|
|
3772
3737
|
});
|
|
3773
3738
|
continue;
|
|
3774
3739
|
}
|
|
3775
|
-
if (
|
|
3776
|
-
var y = typeof h.style == "string" ? n.number[h.style] :
|
|
3777
|
-
y && y.scale && (
|
|
3740
|
+
if (xr(h)) {
|
|
3741
|
+
var y = typeof h.style == "string" ? n.number[h.style] : Or(h.style) ? h.style.parsedOptions : void 0;
|
|
3742
|
+
y && y.scale && (d = d * (y.scale || 1)), a.push({
|
|
3778
3743
|
type: R.literal,
|
|
3779
|
-
value: r.getNumberFormat(t, y).format(
|
|
3744
|
+
value: r.getNumberFormat(t, y).format(d)
|
|
3780
3745
|
});
|
|
3781
3746
|
continue;
|
|
3782
3747
|
}
|
|
3783
|
-
if (
|
|
3784
|
-
var g = h.children,
|
|
3785
|
-
if (!
|
|
3786
|
-
throw new
|
|
3787
|
-
var
|
|
3748
|
+
if (Ar(h)) {
|
|
3749
|
+
var g = h.children, p = h.value, b = i[p];
|
|
3750
|
+
if (!Yi(b))
|
|
3751
|
+
throw new Ji(p, "function", o);
|
|
3752
|
+
var S = Oe(g, t, r, n, i, s), O = b(S.map(function(N) {
|
|
3788
3753
|
return N.value;
|
|
3789
3754
|
}));
|
|
3790
3755
|
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(N) {
|
|
@@ -3794,42 +3759,42 @@ function Oe(e, t, r, n, i, s, o) {
|
|
|
3794
3759
|
};
|
|
3795
3760
|
}));
|
|
3796
3761
|
}
|
|
3797
|
-
if (
|
|
3798
|
-
var A = h.options[
|
|
3762
|
+
if (Br(h)) {
|
|
3763
|
+
var A = h.options[d] || h.options.other;
|
|
3799
3764
|
if (!A)
|
|
3800
|
-
throw new
|
|
3765
|
+
throw new Yt(h.value, d, Object.keys(h.options), o);
|
|
3801
3766
|
a.push.apply(a, Oe(A.value, t, r, n, i));
|
|
3802
3767
|
continue;
|
|
3803
3768
|
}
|
|
3804
|
-
if (
|
|
3805
|
-
var A = h.options["=".concat(
|
|
3769
|
+
if (Pr(h)) {
|
|
3770
|
+
var A = h.options["=".concat(d)];
|
|
3806
3771
|
if (!A) {
|
|
3807
3772
|
if (!Intl.PluralRules)
|
|
3808
|
-
throw new
|
|
3773
|
+
throw new De(`Intl.PluralRules is not available in this environment.
|
|
3809
3774
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3810
|
-
`,
|
|
3811
|
-
var L = r.getPluralRules(t, { type: h.pluralType }).select(
|
|
3775
|
+
`, se.MISSING_INTL_API, o);
|
|
3776
|
+
var L = r.getPluralRules(t, { type: h.pluralType }).select(d - (h.offset || 0));
|
|
3812
3777
|
A = h.options[L] || h.options.other;
|
|
3813
3778
|
}
|
|
3814
3779
|
if (!A)
|
|
3815
|
-
throw new
|
|
3816
|
-
a.push.apply(a, Oe(A.value, t, r, n, i,
|
|
3780
|
+
throw new Yt(h.value, d, Object.keys(h.options), o);
|
|
3781
|
+
a.push.apply(a, Oe(A.value, t, r, n, i, d - (h.offset || 0)));
|
|
3817
3782
|
continue;
|
|
3818
3783
|
}
|
|
3819
3784
|
}
|
|
3820
|
-
return
|
|
3785
|
+
return Qi(a);
|
|
3821
3786
|
}
|
|
3822
|
-
function
|
|
3823
|
-
return t ?
|
|
3824
|
-
return r[n] =
|
|
3787
|
+
function Ki(e, t) {
|
|
3788
|
+
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3789
|
+
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3825
3790
|
}, {})) : e;
|
|
3826
3791
|
}
|
|
3827
|
-
function
|
|
3792
|
+
function es(e, t) {
|
|
3828
3793
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3829
|
-
return r[n] =
|
|
3830
|
-
},
|
|
3794
|
+
return r[n] = Ki(e[n], t[n]), r;
|
|
3795
|
+
}, w({}, e)) : e;
|
|
3831
3796
|
}
|
|
3832
|
-
function
|
|
3797
|
+
function qe(e) {
|
|
3833
3798
|
return {
|
|
3834
3799
|
create: function() {
|
|
3835
3800
|
return {
|
|
@@ -3843,39 +3808,39 @@ function Ke(e) {
|
|
|
3843
3808
|
}
|
|
3844
3809
|
};
|
|
3845
3810
|
}
|
|
3846
|
-
function
|
|
3811
|
+
function ts(e) {
|
|
3847
3812
|
return e === void 0 && (e = {
|
|
3848
3813
|
number: {},
|
|
3849
3814
|
dateTime: {},
|
|
3850
3815
|
pluralRules: {}
|
|
3851
3816
|
}), {
|
|
3852
|
-
getNumberFormat:
|
|
3817
|
+
getNumberFormat: ze(function() {
|
|
3853
3818
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3854
3819
|
r[n] = arguments[n];
|
|
3855
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3820
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, re([void 0], r, !1)))();
|
|
3856
3821
|
}, {
|
|
3857
|
-
cache:
|
|
3858
|
-
strategy:
|
|
3822
|
+
cache: qe(e.number),
|
|
3823
|
+
strategy: Ze.variadic
|
|
3859
3824
|
}),
|
|
3860
|
-
getDateTimeFormat:
|
|
3825
|
+
getDateTimeFormat: ze(function() {
|
|
3861
3826
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3862
3827
|
r[n] = arguments[n];
|
|
3863
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3828
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, re([void 0], r, !1)))();
|
|
3864
3829
|
}, {
|
|
3865
|
-
cache:
|
|
3866
|
-
strategy:
|
|
3830
|
+
cache: qe(e.dateTime),
|
|
3831
|
+
strategy: Ze.variadic
|
|
3867
3832
|
}),
|
|
3868
|
-
getPluralRules:
|
|
3833
|
+
getPluralRules: ze(function() {
|
|
3869
3834
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3870
3835
|
r[n] = arguments[n];
|
|
3871
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3836
|
+
return new ((t = Intl.PluralRules).bind.apply(t, re([void 0], r, !1)))();
|
|
3872
3837
|
}, {
|
|
3873
|
-
cache:
|
|
3874
|
-
strategy:
|
|
3838
|
+
cache: qe(e.pluralRules),
|
|
3839
|
+
strategy: Ze.variadic
|
|
3875
3840
|
})
|
|
3876
3841
|
};
|
|
3877
3842
|
}
|
|
3878
|
-
var
|
|
3843
|
+
var rs = (
|
|
3879
3844
|
/** @class */
|
|
3880
3845
|
function() {
|
|
3881
3846
|
function e(t, r, n, i) {
|
|
@@ -3889,8 +3854,8 @@ var os = (
|
|
|
3889
3854
|
var u = s.formatToParts(l);
|
|
3890
3855
|
if (u.length === 1)
|
|
3891
3856
|
return u[0].value;
|
|
3892
|
-
var h = u.reduce(function(c,
|
|
3893
|
-
return !c.length ||
|
|
3857
|
+
var h = u.reduce(function(c, d) {
|
|
3858
|
+
return !c.length || d.type !== R.literal || typeof c[c.length - 1] != "string" ? c.push(d.value) : c[c.length - 1] += d.value, c;
|
|
3894
3859
|
}, []);
|
|
3895
3860
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3896
3861
|
}, this.formatToParts = function(l) {
|
|
@@ -3907,13 +3872,13 @@ var os = (
|
|
|
3907
3872
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3908
3873
|
var o = i || {};
|
|
3909
3874
|
o.formatters;
|
|
3910
|
-
var a =
|
|
3911
|
-
this.ast = e.__parse(t,
|
|
3875
|
+
var a = Ln(o, ["formatters"]);
|
|
3876
|
+
this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
|
|
3912
3877
|
} else
|
|
3913
3878
|
this.ast = t;
|
|
3914
3879
|
if (!Array.isArray(this.ast))
|
|
3915
3880
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3916
|
-
this.formats =
|
|
3881
|
+
this.formats = es(e.formats, n), this.formatters = i && i.formatters || ts(this.formatterCache);
|
|
3917
3882
|
}
|
|
3918
3883
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3919
3884
|
get: function() {
|
|
@@ -3926,7 +3891,7 @@ var os = (
|
|
|
3926
3891
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3927
3892
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3928
3893
|
}
|
|
3929
|
-
}, e.__parse =
|
|
3894
|
+
}, e.__parse = Zi, e.formats = {
|
|
3930
3895
|
number: {
|
|
3931
3896
|
integer: {
|
|
3932
3897
|
maximumFractionDigits: 0
|
|
@@ -3987,7 +3952,7 @@ var os = (
|
|
|
3987
3952
|
}, e;
|
|
3988
3953
|
}()
|
|
3989
3954
|
);
|
|
3990
|
-
function
|
|
3955
|
+
function ns(e, t) {
|
|
3991
3956
|
if (t == null)
|
|
3992
3957
|
return;
|
|
3993
3958
|
if (t in e)
|
|
@@ -4008,92 +3973,92 @@ function as(e, t) {
|
|
|
4008
3973
|
n = void 0;
|
|
4009
3974
|
return n;
|
|
4010
3975
|
}
|
|
4011
|
-
const Z = {},
|
|
3976
|
+
const Z = {}, is = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), Fr = (e, t) => {
|
|
4012
3977
|
if (t == null)
|
|
4013
3978
|
return;
|
|
4014
3979
|
if (t in Z && e in Z[t])
|
|
4015
3980
|
return Z[t][e];
|
|
4016
|
-
const r =
|
|
3981
|
+
const r = Fe(t);
|
|
4017
3982
|
for (let n = 0; n < r.length; n++) {
|
|
4018
|
-
const i = r[n], s =
|
|
3983
|
+
const i = r[n], s = os(i, e);
|
|
4019
3984
|
if (s)
|
|
4020
|
-
return
|
|
3985
|
+
return is(e, t, s);
|
|
4021
3986
|
}
|
|
4022
3987
|
};
|
|
4023
|
-
let
|
|
4024
|
-
const
|
|
4025
|
-
function
|
|
4026
|
-
return
|
|
3988
|
+
let pt;
|
|
3989
|
+
const ue = Me({});
|
|
3990
|
+
function ss(e) {
|
|
3991
|
+
return pt[e] || null;
|
|
4027
3992
|
}
|
|
4028
|
-
function
|
|
4029
|
-
return e in
|
|
3993
|
+
function Ur(e) {
|
|
3994
|
+
return e in pt;
|
|
4030
3995
|
}
|
|
4031
|
-
function
|
|
4032
|
-
if (
|
|
3996
|
+
function os(e, t) {
|
|
3997
|
+
if (!Ur(e))
|
|
4033
3998
|
return null;
|
|
4034
|
-
const r =
|
|
4035
|
-
return
|
|
3999
|
+
const r = ss(e);
|
|
4000
|
+
return ns(r, t);
|
|
4036
4001
|
}
|
|
4037
|
-
function
|
|
4002
|
+
function as(e) {
|
|
4038
4003
|
if (e == null)
|
|
4039
4004
|
return;
|
|
4040
|
-
const t =
|
|
4005
|
+
const t = Fe(e);
|
|
4041
4006
|
for (let r = 0; r < t.length; r++) {
|
|
4042
4007
|
const n = t[r];
|
|
4043
|
-
if (
|
|
4008
|
+
if (Ur(n))
|
|
4044
4009
|
return n;
|
|
4045
4010
|
}
|
|
4046
4011
|
}
|
|
4047
|
-
function
|
|
4048
|
-
delete Z[e],
|
|
4012
|
+
function Gr(e, ...t) {
|
|
4013
|
+
delete Z[e], ue.update((r) => (r[e] = fi.all([r[e] || {}, ...t]), r));
|
|
4049
4014
|
}
|
|
4050
|
-
|
|
4051
|
-
[
|
|
4015
|
+
ae(
|
|
4016
|
+
[ue],
|
|
4052
4017
|
([e]) => Object.keys(e)
|
|
4053
4018
|
);
|
|
4054
|
-
|
|
4019
|
+
ue.subscribe((e) => pt = e);
|
|
4055
4020
|
const Ce = {};
|
|
4056
|
-
function
|
|
4021
|
+
function us(e, t) {
|
|
4057
4022
|
Ce[e].delete(t), Ce[e].size === 0 && delete Ce[e];
|
|
4058
4023
|
}
|
|
4059
|
-
function
|
|
4024
|
+
function kr(e) {
|
|
4060
4025
|
return Ce[e];
|
|
4061
4026
|
}
|
|
4062
|
-
function
|
|
4063
|
-
return
|
|
4064
|
-
const r =
|
|
4027
|
+
function ls(e) {
|
|
4028
|
+
return Fe(e).map((t) => {
|
|
4029
|
+
const r = kr(t);
|
|
4065
4030
|
return [t, r ? [...r] : []];
|
|
4066
4031
|
}).filter(([, t]) => t.length > 0);
|
|
4067
4032
|
}
|
|
4068
|
-
function
|
|
4069
|
-
return e == null ? !1 :
|
|
4033
|
+
function ft(e) {
|
|
4034
|
+
return e == null ? !1 : Fe(e).some(
|
|
4070
4035
|
(t) => {
|
|
4071
4036
|
var r;
|
|
4072
|
-
return (r =
|
|
4037
|
+
return (r = kr(t)) == null ? void 0 : r.size;
|
|
4073
4038
|
}
|
|
4074
4039
|
);
|
|
4075
4040
|
}
|
|
4076
|
-
function
|
|
4041
|
+
function hs(e, t) {
|
|
4077
4042
|
return Promise.all(
|
|
4078
|
-
t.map((n) => (
|
|
4079
|
-
).then((n) =>
|
|
4080
|
-
}
|
|
4081
|
-
const
|
|
4082
|
-
function
|
|
4083
|
-
if (!
|
|
4084
|
-
return e in
|
|
4085
|
-
const t =
|
|
4086
|
-
return
|
|
4043
|
+
t.map((n) => (us(e, n), n().then((i) => i.default || i)))
|
|
4044
|
+
).then((n) => Gr(e, ...n));
|
|
4045
|
+
}
|
|
4046
|
+
const ce = {};
|
|
4047
|
+
function jr(e) {
|
|
4048
|
+
if (!ft(e))
|
|
4049
|
+
return e in ce ? ce[e] : Promise.resolve();
|
|
4050
|
+
const t = ls(e);
|
|
4051
|
+
return ce[e] = Promise.all(
|
|
4087
4052
|
t.map(
|
|
4088
|
-
([r, n]) =>
|
|
4053
|
+
([r, n]) => hs(r, n)
|
|
4089
4054
|
)
|
|
4090
4055
|
).then(() => {
|
|
4091
|
-
if (
|
|
4092
|
-
return
|
|
4093
|
-
delete
|
|
4094
|
-
}),
|
|
4056
|
+
if (ft(e))
|
|
4057
|
+
return jr(e);
|
|
4058
|
+
delete ce[e];
|
|
4059
|
+
}), ce[e];
|
|
4095
4060
|
}
|
|
4096
|
-
const
|
|
4061
|
+
const fs = {
|
|
4097
4062
|
number: {
|
|
4098
4063
|
scientific: { notation: "scientific" },
|
|
4099
4064
|
engineering: { notation: "engineering" },
|
|
@@ -4122,135 +4087,135 @@ const ds = {
|
|
|
4122
4087
|
timeZoneName: "short"
|
|
4123
4088
|
}
|
|
4124
4089
|
}
|
|
4125
|
-
},
|
|
4090
|
+
}, cs = {
|
|
4126
4091
|
fallbackLocale: null,
|
|
4127
4092
|
loadingDelay: 200,
|
|
4128
|
-
formats:
|
|
4093
|
+
formats: fs,
|
|
4129
4094
|
warnOnMissingMessages: !0,
|
|
4130
4095
|
handleMissingMessage: void 0,
|
|
4131
4096
|
ignoreTag: !0
|
|
4132
|
-
},
|
|
4133
|
-
function
|
|
4134
|
-
return
|
|
4135
|
-
}
|
|
4136
|
-
const
|
|
4137
|
-
var
|
|
4138
|
-
for (var r in t
|
|
4139
|
-
|
|
4140
|
-
if (
|
|
4141
|
-
for (var r of
|
|
4142
|
-
|
|
4097
|
+
}, ms = cs;
|
|
4098
|
+
function oe() {
|
|
4099
|
+
return ms;
|
|
4100
|
+
}
|
|
4101
|
+
const Qe = Me(!1);
|
|
4102
|
+
var ds = Object.defineProperty, ps = Object.defineProperties, gs = Object.getOwnPropertyDescriptors, Kt = Object.getOwnPropertySymbols, bs = Object.prototype.hasOwnProperty, ys = Object.prototype.propertyIsEnumerable, er = (e, t, r) => t in e ? ds(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vs = (e, t) => {
|
|
4103
|
+
for (var r in t)
|
|
4104
|
+
bs.call(t, r) && er(e, r, t[r]);
|
|
4105
|
+
if (Kt)
|
|
4106
|
+
for (var r of Kt(t))
|
|
4107
|
+
ys.call(t, r) && er(e, r, t[r]);
|
|
4143
4108
|
return e;
|
|
4144
|
-
},
|
|
4145
|
-
let
|
|
4146
|
-
const
|
|
4147
|
-
function
|
|
4109
|
+
}, _s = (e, t) => ps(e, gs(t));
|
|
4110
|
+
let ct;
|
|
4111
|
+
const Re = Me(null);
|
|
4112
|
+
function tr(e) {
|
|
4148
4113
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4149
4114
|
}
|
|
4150
|
-
function
|
|
4151
|
-
const r =
|
|
4152
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4115
|
+
function Fe(e, t = oe().fallbackLocale) {
|
|
4116
|
+
const r = tr(e);
|
|
4117
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...tr(t)])] : r;
|
|
4153
4118
|
}
|
|
4154
4119
|
function q() {
|
|
4155
|
-
return
|
|
4120
|
+
return ct != null ? ct : void 0;
|
|
4156
4121
|
}
|
|
4157
|
-
|
|
4158
|
-
|
|
4122
|
+
Re.subscribe((e) => {
|
|
4123
|
+
ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4159
4124
|
});
|
|
4160
|
-
const
|
|
4161
|
-
if (e &&
|
|
4162
|
-
const { loadingDelay: t } =
|
|
4125
|
+
const Es = (e) => {
|
|
4126
|
+
if (e && as(e) && ft(e)) {
|
|
4127
|
+
const { loadingDelay: t } = oe();
|
|
4163
4128
|
let r;
|
|
4164
4129
|
return typeof window != "undefined" && q() != null && t ? r = window.setTimeout(
|
|
4165
|
-
() =>
|
|
4130
|
+
() => Qe.set(!0),
|
|
4166
4131
|
t
|
|
4167
|
-
) :
|
|
4168
|
-
|
|
4132
|
+
) : Qe.set(!0), jr(e).then(() => {
|
|
4133
|
+
Re.set(e);
|
|
4169
4134
|
}).finally(() => {
|
|
4170
|
-
clearTimeout(r),
|
|
4135
|
+
clearTimeout(r), Qe.set(!1);
|
|
4171
4136
|
});
|
|
4172
4137
|
}
|
|
4173
|
-
return
|
|
4174
|
-
}, J =
|
|
4175
|
-
set:
|
|
4176
|
-
}),
|
|
4138
|
+
return Re.set(e);
|
|
4139
|
+
}, J = _s(vs({}, Re), {
|
|
4140
|
+
set: Es
|
|
4141
|
+
}), Ue = (e) => {
|
|
4177
4142
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4178
4143
|
return (n) => {
|
|
4179
4144
|
const i = JSON.stringify(n);
|
|
4180
4145
|
return i in t ? t[i] : t[i] = e(n);
|
|
4181
4146
|
};
|
|
4182
4147
|
};
|
|
4183
|
-
var
|
|
4148
|
+
var ws = Object.defineProperty, Le = Object.getOwnPropertySymbols, $r = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable, rr = (e, t, r) => t in e ? ws(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
|
|
4184
4149
|
for (var r in t || (t = {}))
|
|
4185
|
-
|
|
4186
|
-
if (
|
|
4187
|
-
for (var r of
|
|
4188
|
-
|
|
4150
|
+
$r.call(t, r) && rr(e, r, t[r]);
|
|
4151
|
+
if (Le)
|
|
4152
|
+
for (var r of Le(t))
|
|
4153
|
+
Vr.call(t, r) && rr(e, r, t[r]);
|
|
4189
4154
|
return e;
|
|
4190
|
-
},
|
|
4155
|
+
}, le = (e, t) => {
|
|
4191
4156
|
var r = {};
|
|
4192
4157
|
for (var n in e)
|
|
4193
|
-
|
|
4194
|
-
if (e != null &&
|
|
4195
|
-
for (var n of
|
|
4196
|
-
t.indexOf(n) < 0 &&
|
|
4158
|
+
$r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4159
|
+
if (e != null && Le)
|
|
4160
|
+
for (var n of Le(e))
|
|
4161
|
+
t.indexOf(n) < 0 && Vr.call(e, n) && (r[n] = e[n]);
|
|
4197
4162
|
return r;
|
|
4198
4163
|
};
|
|
4199
|
-
const
|
|
4200
|
-
const { formats: r } =
|
|
4164
|
+
const ge = (e, t) => {
|
|
4165
|
+
const { formats: r } = oe();
|
|
4201
4166
|
if (e in r && t in r[e])
|
|
4202
4167
|
return r[e][t];
|
|
4203
4168
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4204
|
-
},
|
|
4169
|
+
}, Ss = Ue(
|
|
4205
4170
|
(e) => {
|
|
4206
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4171
|
+
var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
|
|
4207
4172
|
if (r == null)
|
|
4208
4173
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4209
|
-
return n && (i =
|
|
4174
|
+
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
4210
4175
|
}
|
|
4211
|
-
),
|
|
4176
|
+
), xs = Ue(
|
|
4212
4177
|
(e) => {
|
|
4213
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4178
|
+
var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
|
|
4214
4179
|
if (r == null)
|
|
4215
4180
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4216
|
-
return n ? i =
|
|
4181
|
+
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4217
4182
|
}
|
|
4218
|
-
),
|
|
4183
|
+
), Ts = Ue(
|
|
4219
4184
|
(e) => {
|
|
4220
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4185
|
+
var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
|
|
4221
4186
|
if (r == null)
|
|
4222
4187
|
throw new Error(
|
|
4223
4188
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4224
4189
|
);
|
|
4225
|
-
return n ? i =
|
|
4190
|
+
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4226
4191
|
}
|
|
4227
|
-
),
|
|
4192
|
+
), Hs = (e = {}) => {
|
|
4228
4193
|
var t = e, {
|
|
4229
4194
|
locale: r = q()
|
|
4230
|
-
} = t, n =
|
|
4195
|
+
} = t, n = le(t, [
|
|
4231
4196
|
"locale"
|
|
4232
4197
|
]);
|
|
4233
|
-
return
|
|
4234
|
-
},
|
|
4198
|
+
return Ss(gt({ locale: r }, n));
|
|
4199
|
+
}, Bs = (e = {}) => {
|
|
4235
4200
|
var t = e, {
|
|
4236
4201
|
locale: r = q()
|
|
4237
|
-
} = t, n =
|
|
4202
|
+
} = t, n = le(t, [
|
|
4238
4203
|
"locale"
|
|
4239
4204
|
]);
|
|
4240
|
-
return
|
|
4241
|
-
},
|
|
4205
|
+
return xs(gt({ locale: r }, n));
|
|
4206
|
+
}, Ps = (e = {}) => {
|
|
4242
4207
|
var t = e, {
|
|
4243
4208
|
locale: r = q()
|
|
4244
|
-
} = t, n =
|
|
4209
|
+
} = t, n = le(t, [
|
|
4245
4210
|
"locale"
|
|
4246
4211
|
]);
|
|
4247
|
-
return
|
|
4248
|
-
},
|
|
4212
|
+
return Ts(gt({ locale: r }, n));
|
|
4213
|
+
}, As = Ue(
|
|
4249
4214
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4250
|
-
(e, t = q()) => new
|
|
4251
|
-
ignoreTag:
|
|
4215
|
+
(e, t = q()) => new rs(e, t, oe().formats, {
|
|
4216
|
+
ignoreTag: oe().ignoreTag
|
|
4252
4217
|
})
|
|
4253
|
-
),
|
|
4218
|
+
), Os = (e, t = {}) => {
|
|
4254
4219
|
var r, n, i, s;
|
|
4255
4220
|
let o = t;
|
|
4256
4221
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -4263,9 +4228,9 @@ const de = (e, t) => {
|
|
|
4263
4228
|
throw new Error(
|
|
4264
4229
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4265
4230
|
);
|
|
4266
|
-
let h =
|
|
4231
|
+
let h = Fr(e, l);
|
|
4267
4232
|
if (!h)
|
|
4268
|
-
h = (s = (i = (n = (r =
|
|
4233
|
+
h = (s = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
4269
4234
|
else if (typeof h != "string")
|
|
4270
4235
|
return console.warn(
|
|
4271
4236
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4274,33 +4239,33 @@ const de = (e, t) => {
|
|
|
4274
4239
|
return h;
|
|
4275
4240
|
let c = h;
|
|
4276
4241
|
try {
|
|
4277
|
-
c =
|
|
4278
|
-
} catch (
|
|
4279
|
-
|
|
4242
|
+
c = As(h, l).format(a);
|
|
4243
|
+
} catch (d) {
|
|
4244
|
+
d instanceof Error && console.warn(
|
|
4280
4245
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4281
|
-
|
|
4246
|
+
d.message
|
|
4282
4247
|
);
|
|
4283
4248
|
}
|
|
4284
4249
|
return c;
|
|
4285
|
-
},
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
window.emWidgets = { topic:
|
|
4291
|
-
const
|
|
4292
|
-
function
|
|
4250
|
+
}, Cs = (e, t) => Ps(t).format(e), Is = (e, t) => Bs(t).format(e), Rs = (e, t) => Hs(t).format(e), Ls = (e, t = q()) => Fr(e, t), Ns = ae([J, ue], () => Os);
|
|
4251
|
+
ae([J], () => Cs);
|
|
4252
|
+
ae([J], () => Is);
|
|
4253
|
+
ae([J], () => Rs);
|
|
4254
|
+
ae([J, ue], () => Ls);
|
|
4255
|
+
window.emWidgets = { topic: Zn };
|
|
4256
|
+
const nr = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4257
|
+
function Ms({ withLocale: e, translations: t }) {
|
|
4293
4258
|
J.subscribe((r) => {
|
|
4294
|
-
r == null && (
|
|
4259
|
+
r == null && (ue.set(t), J.set(e));
|
|
4295
4260
|
});
|
|
4296
4261
|
}
|
|
4297
|
-
function
|
|
4298
|
-
|
|
4262
|
+
function ir(e, t) {
|
|
4263
|
+
Gr(e, t);
|
|
4299
4264
|
}
|
|
4300
|
-
function
|
|
4265
|
+
function Ds(e) {
|
|
4301
4266
|
J.set(e);
|
|
4302
4267
|
}
|
|
4303
|
-
const
|
|
4268
|
+
const sr = {
|
|
4304
4269
|
en: {
|
|
4305
4270
|
goToLoginButton: "Go To Login",
|
|
4306
4271
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
@@ -4346,13 +4311,13 @@ const lr = {
|
|
|
4346
4311
|
error: "We encountered an issue. Please go to Login to receive your SMS code."
|
|
4347
4312
|
}
|
|
4348
4313
|
};
|
|
4349
|
-
function
|
|
4314
|
+
function Fs(e, t) {
|
|
4350
4315
|
if (e) {
|
|
4351
4316
|
const r = document.createElement("style");
|
|
4352
4317
|
r.innerHTML = t, e.appendChild(r);
|
|
4353
4318
|
}
|
|
4354
4319
|
}
|
|
4355
|
-
function
|
|
4320
|
+
function Us(e, t) {
|
|
4356
4321
|
const r = new URL(t);
|
|
4357
4322
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4358
4323
|
const i = document.createElement("style");
|
|
@@ -4361,7 +4326,7 @@ function $s(e, t) {
|
|
|
4361
4326
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4362
4327
|
});
|
|
4363
4328
|
}
|
|
4364
|
-
function
|
|
4329
|
+
function Gs(e, t, r) {
|
|
4365
4330
|
if (window.emMessageBus) {
|
|
4366
4331
|
const n = document.createElement("style");
|
|
4367
4332
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4381,7 +4346,7 @@ if (typeof window != "undefined") {
|
|
|
4381
4346
|
}
|
|
4382
4347
|
};
|
|
4383
4348
|
};
|
|
4384
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-
|
|
4349
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-BukkWYjI.js").then(({ default: t }) => {
|
|
4385
4350
|
!customElements.get("general-player-register-form-step1") && customElements.define("general-player-register-form-step1", t.element);
|
|
4386
4351
|
});
|
|
4387
4352
|
}
|
|
@@ -4397,7 +4362,7 @@ if (typeof window != "undefined") {
|
|
|
4397
4362
|
}
|
|
4398
4363
|
};
|
|
4399
4364
|
};
|
|
4400
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-
|
|
4365
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-To7K540j.js").then(({ default: t }) => {
|
|
4401
4366
|
!customElements.get("general-player-register-form-step2") && customElements.define("general-player-register-form-step2", t.element);
|
|
4402
4367
|
});
|
|
4403
4368
|
}
|
|
@@ -4413,7 +4378,7 @@ if (typeof window != "undefined") {
|
|
|
4413
4378
|
}
|
|
4414
4379
|
};
|
|
4415
4380
|
};
|
|
4416
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-
|
|
4381
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-CcFGaz76.js").then(({ default: t }) => {
|
|
4417
4382
|
!customElements.get("general-player-register-form-step3") && customElements.define("general-player-register-form-step3", t.element);
|
|
4418
4383
|
});
|
|
4419
4384
|
}
|
|
@@ -4429,85 +4394,85 @@ if (typeof window != "undefined") {
|
|
|
4429
4394
|
}
|
|
4430
4395
|
};
|
|
4431
4396
|
};
|
|
4432
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4397
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-DhT7I5pU.js").then(({ default: t }) => {
|
|
4433
4398
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4434
4399
|
});
|
|
4435
4400
|
}
|
|
4436
|
-
function
|
|
4437
|
-
|
|
4401
|
+
function ks(e) {
|
|
4402
|
+
cn(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}");
|
|
4438
4403
|
}
|
|
4439
|
-
function
|
|
4404
|
+
function js(e) {
|
|
4440
4405
|
let t, r, n, i, s, o, a, l = (
|
|
4441
4406
|
/*showRegisterStepOne*/
|
|
4442
4407
|
(e[18] || /*showRegisterStepTwo*/
|
|
4443
4408
|
e[19] || /*showRegisterStepThree*/
|
|
4444
|
-
e[20]) &&
|
|
4409
|
+
e[20]) && or(e)
|
|
4445
4410
|
), u = (
|
|
4446
4411
|
/*showRegisterStepOne*/
|
|
4447
|
-
e[18] &&
|
|
4412
|
+
e[18] && ar(e)
|
|
4448
4413
|
), h = (
|
|
4449
4414
|
/*showRegisterStepTwo*/
|
|
4450
|
-
e[19] &&
|
|
4415
|
+
e[19] && ur(e)
|
|
4451
4416
|
), c = (
|
|
4452
4417
|
/*showRegisterStepThree*/
|
|
4453
|
-
e[20] &&
|
|
4418
|
+
e[20] && lr(e)
|
|
4454
4419
|
);
|
|
4455
|
-
function
|
|
4420
|
+
function d(b, S) {
|
|
4456
4421
|
if (
|
|
4457
4422
|
/*smsverification*/
|
|
4458
4423
|
b[7] && /*showSmsVerification*/
|
|
4459
4424
|
b[21]
|
|
4460
4425
|
)
|
|
4461
|
-
return
|
|
4426
|
+
return Vs;
|
|
4462
4427
|
if (
|
|
4463
4428
|
/*smsSendApiFailed*/
|
|
4464
4429
|
b[31]
|
|
4465
4430
|
)
|
|
4466
|
-
return
|
|
4431
|
+
return $s;
|
|
4467
4432
|
}
|
|
4468
|
-
let y =
|
|
4433
|
+
let y = d(e), g = y && y(e), p = (
|
|
4469
4434
|
/*showConfirmation*/
|
|
4470
|
-
e[22] &&
|
|
4435
|
+
e[22] && hr(e)
|
|
4471
4436
|
);
|
|
4472
4437
|
return {
|
|
4473
4438
|
c() {
|
|
4474
|
-
t =
|
|
4475
|
-
(e[35] ? "RegisterFormContainerMobile" : "")),
|
|
4439
|
+
t = B("div"), r = B("div"), l && l.c(), n = G(), u && u.c(), i = G(), h && h.c(), s = G(), c && c.c(), o = G(), g && g.c(), a = G(), p && p.c(), x(r, "class", "RegisterFormContainer " + /*isMobile*/
|
|
4440
|
+
(e[35] ? "RegisterFormContainerMobile" : "")), x(t, "class", "RegisterFormWrapper");
|
|
4476
4441
|
},
|
|
4477
|
-
m(b,
|
|
4478
|
-
U(b, t,
|
|
4442
|
+
m(b, S) {
|
|
4443
|
+
U(b, t, S), E(t, r), l && l.m(r, null), E(r, n), u && u.m(r, null), E(r, i), h && h.m(r, null), E(r, s), c && c.m(r, null), E(r, o), g && g.m(r, null), E(r, a), p && p.m(r, null);
|
|
4479
4444
|
},
|
|
4480
|
-
p(b,
|
|
4445
|
+
p(b, S) {
|
|
4481
4446
|
/*showRegisterStepOne*/
|
|
4482
4447
|
b[18] || /*showRegisterStepTwo*/
|
|
4483
4448
|
b[19] || /*showRegisterStepThree*/
|
|
4484
|
-
b[20] ? l ? l.p(b,
|
|
4485
|
-
b[18] ? u ? u.p(b,
|
|
4486
|
-
b[19] ? h ? h.p(b,
|
|
4487
|
-
b[20] ? c ? c.p(b,
|
|
4488
|
-
b[22] ?
|
|
4449
|
+
b[20] ? l ? l.p(b, S) : (l = or(b), l.c(), l.m(r, n)) : l && (l.d(1), l = null), /*showRegisterStepOne*/
|
|
4450
|
+
b[18] ? u ? u.p(b, S) : (u = ar(b), u.c(), u.m(r, i)) : u && (u.d(1), u = null), /*showRegisterStepTwo*/
|
|
4451
|
+
b[19] ? h ? h.p(b, S) : (h = ur(b), h.c(), h.m(r, s)) : h && (h.d(1), h = null), /*showRegisterStepThree*/
|
|
4452
|
+
b[20] ? c ? c.p(b, S) : (c = lr(b), c.c(), c.m(r, o)) : c && (c.d(1), c = null), y === (y = d(b)) && g ? g.p(b, S) : (g && g.d(1), g = y && y(b), g && (g.c(), g.m(r, a))), /*showConfirmation*/
|
|
4453
|
+
b[22] ? p ? p.p(b, S) : (p = hr(b), p.c(), p.m(r, null)) : p && (p.d(1), p = null);
|
|
4489
4454
|
},
|
|
4490
4455
|
d(b) {
|
|
4491
|
-
b && M(t), l && l.d(), u && u.d(), h && h.d(), c && c.d(), g && g.d(),
|
|
4456
|
+
b && M(t), l && l.d(), u && u.d(), h && h.d(), c && c.d(), g && g.d(), p && p.d();
|
|
4492
4457
|
}
|
|
4493
4458
|
};
|
|
4494
4459
|
}
|
|
4495
|
-
function
|
|
4460
|
+
function or(e) {
|
|
4496
4461
|
let t, r, n, i, s, o, a, l, u;
|
|
4497
4462
|
return {
|
|
4498
4463
|
c() {
|
|
4499
|
-
t =
|
|
4464
|
+
t = B("div"), r = B("div"), i = G(), s = B("div"), a = G(), l = B("div"), x(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
|
|
4500
4465
|
(e[18] || !/*showRegisterStepOne*/
|
|
4501
4466
|
e[18] && /*showRegisterStepTwo*/
|
|
4502
4467
|
e[19] || !/*showRegisterStepOne*/
|
|
4503
4468
|
e[18] && !/*showRegisterStepTwo*/
|
|
4504
4469
|
e[19] && /*showRegisterStepThree*/
|
|
4505
|
-
e[20] ? "RegisterStepDashColor" : "")),
|
|
4470
|
+
e[20] ? "RegisterStepDashColor" : "")), x(s, "class", o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
|
|
4506
4471
|
(e[19] || !/*showRegisterStepOne*/
|
|
4507
4472
|
e[18] && !/*showRegisterStepTwo*/
|
|
4508
4473
|
e[19] && /*showRegisterStepThree*/
|
|
4509
|
-
e[20] ? "RegisterStepDashColor" : "")),
|
|
4510
|
-
(e[20] ? "RegisterStepDashColor" : "")),
|
|
4474
|
+
e[20] ? "RegisterStepDashColor" : "")), x(l, "class", u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
|
|
4475
|
+
(e[20] ? "RegisterStepDashColor" : "")), x(t, "class", "RegisterSteps");
|
|
4511
4476
|
},
|
|
4512
4477
|
m(h, c) {
|
|
4513
4478
|
U(h, t, c), E(t, r), E(t, i), E(t, s), E(t, a), E(t, l), e[41](t);
|
|
@@ -4520,136 +4485,136 @@ function hr(e) {
|
|
|
4520
4485
|
h[19] || !/*showRegisterStepOne*/
|
|
4521
4486
|
h[18] && !/*showRegisterStepTwo*/
|
|
4522
4487
|
h[19] && /*showRegisterStepThree*/
|
|
4523
|
-
h[20] ? "RegisterStepDashColor" : "")) &&
|
|
4488
|
+
h[20] ? "RegisterStepDashColor" : "")) && x(r, "class", n), c[0] & /*showRegisterStepTwo, showRegisterStepOne, showRegisterStepThree*/
|
|
4524
4489
|
1835008 && o !== (o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
|
|
4525
4490
|
(h[19] || !/*showRegisterStepOne*/
|
|
4526
4491
|
h[18] && !/*showRegisterStepTwo*/
|
|
4527
4492
|
h[19] && /*showRegisterStepThree*/
|
|
4528
|
-
h[20] ? "RegisterStepDashColor" : "")) &&
|
|
4493
|
+
h[20] ? "RegisterStepDashColor" : "")) && x(s, "class", o), c[0] & /*showRegisterStepThree*/
|
|
4529
4494
|
1048576 && u !== (u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
|
|
4530
|
-
(h[20] ? "RegisterStepDashColor" : "")) &&
|
|
4495
|
+
(h[20] ? "RegisterStepDashColor" : "")) && x(l, "class", u);
|
|
4531
4496
|
},
|
|
4532
4497
|
d(h) {
|
|
4533
4498
|
h && M(t), e[41](null);
|
|
4534
4499
|
}
|
|
4535
4500
|
};
|
|
4536
4501
|
}
|
|
4537
|
-
function
|
|
4502
|
+
function ar(e) {
|
|
4538
4503
|
let t, r;
|
|
4539
4504
|
return {
|
|
4540
4505
|
c() {
|
|
4541
|
-
t =
|
|
4506
|
+
t = B("div"), r = B("general-player-register-form-step1"), m(
|
|
4542
4507
|
r,
|
|
4543
4508
|
"lang",
|
|
4544
4509
|
/*lang*/
|
|
4545
4510
|
e[3]
|
|
4546
|
-
),
|
|
4511
|
+
), m(
|
|
4547
4512
|
r,
|
|
4548
4513
|
"disabledfields",
|
|
4549
4514
|
/*disabledfields*/
|
|
4550
4515
|
e[5]
|
|
4551
|
-
),
|
|
4516
|
+
), m(
|
|
4552
4517
|
r,
|
|
4553
4518
|
"defaultoptions",
|
|
4554
4519
|
/*defaultoptions*/
|
|
4555
4520
|
e[6]
|
|
4556
|
-
),
|
|
4521
|
+
), m(
|
|
4557
4522
|
r,
|
|
4558
4523
|
"custominputtextswitch",
|
|
4559
4524
|
/*custominputtextswitch*/
|
|
4560
4525
|
e[14]
|
|
4561
|
-
),
|
|
4526
|
+
), m(
|
|
4562
4527
|
r,
|
|
4563
4528
|
"simplepasswordvalidation",
|
|
4564
4529
|
/*simplepasswordvalidation*/
|
|
4565
4530
|
e[8]
|
|
4566
|
-
),
|
|
4531
|
+
), m(
|
|
4567
4532
|
r,
|
|
4568
4533
|
"clientstyling",
|
|
4569
4534
|
/*clientstyling*/
|
|
4570
4535
|
e[10]
|
|
4571
|
-
),
|
|
4536
|
+
), m(
|
|
4572
4537
|
r,
|
|
4573
4538
|
"clientstylingurl",
|
|
4574
4539
|
/*clientstylingurl*/
|
|
4575
4540
|
e[11]
|
|
4576
|
-
),
|
|
4541
|
+
), m(
|
|
4577
4542
|
r,
|
|
4578
4543
|
"savecredentials",
|
|
4579
4544
|
/*savecredentials*/
|
|
4580
4545
|
e[13]
|
|
4581
|
-
),
|
|
4546
|
+
), m(
|
|
4582
4547
|
r,
|
|
4583
4548
|
"translationurl",
|
|
4584
4549
|
/*translationurl*/
|
|
4585
4550
|
e[12]
|
|
4586
|
-
),
|
|
4551
|
+
), m(
|
|
4587
4552
|
r,
|
|
4588
4553
|
"mbsource",
|
|
4589
4554
|
/*mbsource*/
|
|
4590
4555
|
e[9]
|
|
4591
|
-
),
|
|
4556
|
+
), x(t, "class", "RegisterFormStep1");
|
|
4592
4557
|
},
|
|
4593
4558
|
m(n, i) {
|
|
4594
4559
|
U(n, t, i), E(t, r);
|
|
4595
4560
|
},
|
|
4596
4561
|
p(n, i) {
|
|
4597
4562
|
i[0] & /*lang*/
|
|
4598
|
-
8 &&
|
|
4563
|
+
8 && m(
|
|
4599
4564
|
r,
|
|
4600
4565
|
"lang",
|
|
4601
4566
|
/*lang*/
|
|
4602
4567
|
n[3]
|
|
4603
4568
|
), i[0] & /*disabledfields*/
|
|
4604
|
-
32 &&
|
|
4569
|
+
32 && m(
|
|
4605
4570
|
r,
|
|
4606
4571
|
"disabledfields",
|
|
4607
4572
|
/*disabledfields*/
|
|
4608
4573
|
n[5]
|
|
4609
4574
|
), i[0] & /*defaultoptions*/
|
|
4610
|
-
64 &&
|
|
4575
|
+
64 && m(
|
|
4611
4576
|
r,
|
|
4612
4577
|
"defaultoptions",
|
|
4613
4578
|
/*defaultoptions*/
|
|
4614
4579
|
n[6]
|
|
4615
4580
|
), i[0] & /*custominputtextswitch*/
|
|
4616
|
-
16384 &&
|
|
4581
|
+
16384 && m(
|
|
4617
4582
|
r,
|
|
4618
4583
|
"custominputtextswitch",
|
|
4619
4584
|
/*custominputtextswitch*/
|
|
4620
4585
|
n[14]
|
|
4621
4586
|
), i[0] & /*simplepasswordvalidation*/
|
|
4622
|
-
256 &&
|
|
4587
|
+
256 && m(
|
|
4623
4588
|
r,
|
|
4624
4589
|
"simplepasswordvalidation",
|
|
4625
4590
|
/*simplepasswordvalidation*/
|
|
4626
4591
|
n[8]
|
|
4627
4592
|
), i[0] & /*clientstyling*/
|
|
4628
|
-
1024 &&
|
|
4593
|
+
1024 && m(
|
|
4629
4594
|
r,
|
|
4630
4595
|
"clientstyling",
|
|
4631
4596
|
/*clientstyling*/
|
|
4632
4597
|
n[10]
|
|
4633
4598
|
), i[0] & /*clientstylingurl*/
|
|
4634
|
-
2048 &&
|
|
4599
|
+
2048 && m(
|
|
4635
4600
|
r,
|
|
4636
4601
|
"clientstylingurl",
|
|
4637
4602
|
/*clientstylingurl*/
|
|
4638
4603
|
n[11]
|
|
4639
4604
|
), i[0] & /*savecredentials*/
|
|
4640
|
-
8192 &&
|
|
4605
|
+
8192 && m(
|
|
4641
4606
|
r,
|
|
4642
4607
|
"savecredentials",
|
|
4643
4608
|
/*savecredentials*/
|
|
4644
4609
|
n[13]
|
|
4645
4610
|
), i[0] & /*translationurl*/
|
|
4646
|
-
4096 &&
|
|
4611
|
+
4096 && m(
|
|
4647
4612
|
r,
|
|
4648
4613
|
"translationurl",
|
|
4649
4614
|
/*translationurl*/
|
|
4650
4615
|
n[12]
|
|
4651
4616
|
), i[0] & /*mbsource*/
|
|
4652
|
-
512 &&
|
|
4617
|
+
512 && m(
|
|
4653
4618
|
r,
|
|
4654
4619
|
"mbsource",
|
|
4655
4620
|
/*mbsource*/
|
|
@@ -4661,122 +4626,122 @@ function fr(e) {
|
|
|
4661
4626
|
}
|
|
4662
4627
|
};
|
|
4663
4628
|
}
|
|
4664
|
-
function
|
|
4629
|
+
function ur(e) {
|
|
4665
4630
|
let t, r;
|
|
4666
4631
|
return {
|
|
4667
4632
|
c() {
|
|
4668
|
-
t =
|
|
4633
|
+
t = B("div"), r = B("general-player-register-form-step2"), m(
|
|
4669
4634
|
r,
|
|
4670
4635
|
"endpoint",
|
|
4671
4636
|
/*endpoint*/
|
|
4672
4637
|
e[0]
|
|
4673
|
-
),
|
|
4638
|
+
), m(
|
|
4674
4639
|
r,
|
|
4675
4640
|
"lang",
|
|
4676
4641
|
/*lang*/
|
|
4677
4642
|
e[3]
|
|
4678
|
-
),
|
|
4643
|
+
), m(
|
|
4679
4644
|
r,
|
|
4680
4645
|
"licenseyears",
|
|
4681
4646
|
/*licenseyears*/
|
|
4682
4647
|
e[4]
|
|
4683
|
-
),
|
|
4648
|
+
), m(
|
|
4684
4649
|
r,
|
|
4685
4650
|
"disabledfields",
|
|
4686
4651
|
/*disabledfields*/
|
|
4687
4652
|
e[5]
|
|
4688
|
-
),
|
|
4653
|
+
), m(
|
|
4689
4654
|
r,
|
|
4690
4655
|
"defaultoptions",
|
|
4691
4656
|
/*defaultoptions*/
|
|
4692
4657
|
e[6]
|
|
4693
|
-
),
|
|
4658
|
+
), m(
|
|
4694
4659
|
r,
|
|
4695
4660
|
"personalidlength",
|
|
4696
4661
|
/*personalidlength*/
|
|
4697
4662
|
e[15]
|
|
4698
|
-
),
|
|
4663
|
+
), m(
|
|
4699
4664
|
r,
|
|
4700
4665
|
"clientstyling",
|
|
4701
4666
|
/*clientstyling*/
|
|
4702
4667
|
e[10]
|
|
4703
|
-
),
|
|
4668
|
+
), m(
|
|
4704
4669
|
r,
|
|
4705
4670
|
"clientstylingurl",
|
|
4706
4671
|
/*clientstylingurl*/
|
|
4707
4672
|
e[11]
|
|
4708
|
-
),
|
|
4673
|
+
), m(
|
|
4709
4674
|
r,
|
|
4710
4675
|
"translationurl",
|
|
4711
4676
|
/*translationurl*/
|
|
4712
4677
|
e[12]
|
|
4713
|
-
),
|
|
4678
|
+
), m(
|
|
4714
4679
|
r,
|
|
4715
4680
|
"mbsource",
|
|
4716
4681
|
/*mbsource*/
|
|
4717
4682
|
e[9]
|
|
4718
|
-
),
|
|
4683
|
+
), x(t, "class", "RegisterFormStep2");
|
|
4719
4684
|
},
|
|
4720
4685
|
m(n, i) {
|
|
4721
4686
|
U(n, t, i), E(t, r);
|
|
4722
4687
|
},
|
|
4723
4688
|
p(n, i) {
|
|
4724
4689
|
i[0] & /*endpoint*/
|
|
4725
|
-
1 &&
|
|
4690
|
+
1 && m(
|
|
4726
4691
|
r,
|
|
4727
4692
|
"endpoint",
|
|
4728
4693
|
/*endpoint*/
|
|
4729
4694
|
n[0]
|
|
4730
4695
|
), i[0] & /*lang*/
|
|
4731
|
-
8 &&
|
|
4696
|
+
8 && m(
|
|
4732
4697
|
r,
|
|
4733
4698
|
"lang",
|
|
4734
4699
|
/*lang*/
|
|
4735
4700
|
n[3]
|
|
4736
4701
|
), i[0] & /*licenseyears*/
|
|
4737
|
-
16 &&
|
|
4702
|
+
16 && m(
|
|
4738
4703
|
r,
|
|
4739
4704
|
"licenseyears",
|
|
4740
4705
|
/*licenseyears*/
|
|
4741
4706
|
n[4]
|
|
4742
4707
|
), i[0] & /*disabledfields*/
|
|
4743
|
-
32 &&
|
|
4708
|
+
32 && m(
|
|
4744
4709
|
r,
|
|
4745
4710
|
"disabledfields",
|
|
4746
4711
|
/*disabledfields*/
|
|
4747
4712
|
n[5]
|
|
4748
4713
|
), i[0] & /*defaultoptions*/
|
|
4749
|
-
64 &&
|
|
4714
|
+
64 && m(
|
|
4750
4715
|
r,
|
|
4751
4716
|
"defaultoptions",
|
|
4752
4717
|
/*defaultoptions*/
|
|
4753
4718
|
n[6]
|
|
4754
4719
|
), i[0] & /*personalidlength*/
|
|
4755
|
-
32768 &&
|
|
4720
|
+
32768 && m(
|
|
4756
4721
|
r,
|
|
4757
4722
|
"personalidlength",
|
|
4758
4723
|
/*personalidlength*/
|
|
4759
4724
|
n[15]
|
|
4760
4725
|
), i[0] & /*clientstyling*/
|
|
4761
|
-
1024 &&
|
|
4726
|
+
1024 && m(
|
|
4762
4727
|
r,
|
|
4763
4728
|
"clientstyling",
|
|
4764
4729
|
/*clientstyling*/
|
|
4765
4730
|
n[10]
|
|
4766
4731
|
), i[0] & /*clientstylingurl*/
|
|
4767
|
-
2048 &&
|
|
4732
|
+
2048 && m(
|
|
4768
4733
|
r,
|
|
4769
4734
|
"clientstylingurl",
|
|
4770
4735
|
/*clientstylingurl*/
|
|
4771
4736
|
n[11]
|
|
4772
4737
|
), i[0] & /*translationurl*/
|
|
4773
|
-
4096 &&
|
|
4738
|
+
4096 && m(
|
|
4774
4739
|
r,
|
|
4775
4740
|
"translationurl",
|
|
4776
4741
|
/*translationurl*/
|
|
4777
4742
|
n[12]
|
|
4778
4743
|
), i[0] & /*mbsource*/
|
|
4779
|
-
512 &&
|
|
4744
|
+
512 && m(
|
|
4780
4745
|
r,
|
|
4781
4746
|
"mbsource",
|
|
4782
4747
|
/*mbsource*/
|
|
@@ -4788,155 +4753,155 @@ function cr(e) {
|
|
|
4788
4753
|
}
|
|
4789
4754
|
};
|
|
4790
4755
|
}
|
|
4791
|
-
function
|
|
4756
|
+
function lr(e) {
|
|
4792
4757
|
let t, r;
|
|
4793
4758
|
return {
|
|
4794
4759
|
c() {
|
|
4795
|
-
t =
|
|
4760
|
+
t = B("div"), r = B("general-player-register-form-step3"), m(
|
|
4796
4761
|
r,
|
|
4797
4762
|
"userconsentsexist",
|
|
4798
4763
|
/*userconsentsexist*/
|
|
4799
4764
|
e[26]
|
|
4800
|
-
),
|
|
4765
|
+
), m(
|
|
4801
4766
|
r,
|
|
4802
4767
|
"termsconditions",
|
|
4803
4768
|
/*termsconditions*/
|
|
4804
4769
|
e[27]
|
|
4805
|
-
),
|
|
4770
|
+
), m(
|
|
4806
4771
|
r,
|
|
4807
4772
|
"smsoffers",
|
|
4808
4773
|
/*smsoffers*/
|
|
4809
4774
|
e[28]
|
|
4810
|
-
),
|
|
4775
|
+
), m(
|
|
4811
4776
|
r,
|
|
4812
4777
|
"emailmarketing",
|
|
4813
4778
|
/*emailmarketing*/
|
|
4814
4779
|
e[29]
|
|
4815
|
-
),
|
|
4780
|
+
), m(
|
|
4816
4781
|
r,
|
|
4817
4782
|
"endpoint",
|
|
4818
4783
|
/*endpoint*/
|
|
4819
4784
|
e[0]
|
|
4820
|
-
),
|
|
4785
|
+
), m(
|
|
4821
4786
|
r,
|
|
4822
4787
|
"captchakey",
|
|
4823
4788
|
/*captchakey*/
|
|
4824
4789
|
e[2]
|
|
4825
|
-
),
|
|
4790
|
+
), m(
|
|
4826
4791
|
r,
|
|
4827
4792
|
"lang",
|
|
4828
4793
|
/*lang*/
|
|
4829
4794
|
e[3]
|
|
4830
|
-
),
|
|
4795
|
+
), m(
|
|
4831
4796
|
r,
|
|
4832
4797
|
"defaultoptions",
|
|
4833
4798
|
/*defaultoptions*/
|
|
4834
4799
|
e[6]
|
|
4835
|
-
),
|
|
4800
|
+
), m(
|
|
4836
4801
|
r,
|
|
4837
4802
|
"disabledfields",
|
|
4838
4803
|
/*disabledfields*/
|
|
4839
4804
|
e[5]
|
|
4840
|
-
),
|
|
4805
|
+
), m(
|
|
4841
4806
|
r,
|
|
4842
4807
|
"clientstyling",
|
|
4843
4808
|
/*clientstyling*/
|
|
4844
4809
|
e[10]
|
|
4845
|
-
),
|
|
4810
|
+
), m(
|
|
4846
4811
|
r,
|
|
4847
4812
|
"clientstylingurl",
|
|
4848
4813
|
/*clientstylingurl*/
|
|
4849
4814
|
e[11]
|
|
4850
|
-
),
|
|
4815
|
+
), m(
|
|
4851
4816
|
r,
|
|
4852
4817
|
"translationurl",
|
|
4853
4818
|
/*translationurl*/
|
|
4854
4819
|
e[12]
|
|
4855
|
-
),
|
|
4820
|
+
), m(
|
|
4856
4821
|
r,
|
|
4857
4822
|
"mbsource",
|
|
4858
4823
|
/*mbsource*/
|
|
4859
4824
|
e[9]
|
|
4860
|
-
),
|
|
4825
|
+
), x(t, "class", "RegisterFormStep3");
|
|
4861
4826
|
},
|
|
4862
4827
|
m(n, i) {
|
|
4863
4828
|
U(n, t, i), E(t, r);
|
|
4864
4829
|
},
|
|
4865
4830
|
p(n, i) {
|
|
4866
4831
|
i[0] & /*userconsentsexist*/
|
|
4867
|
-
67108864 &&
|
|
4832
|
+
67108864 && m(
|
|
4868
4833
|
r,
|
|
4869
4834
|
"userconsentsexist",
|
|
4870
4835
|
/*userconsentsexist*/
|
|
4871
4836
|
n[26]
|
|
4872
4837
|
), i[0] & /*termsconditions*/
|
|
4873
|
-
134217728 &&
|
|
4838
|
+
134217728 && m(
|
|
4874
4839
|
r,
|
|
4875
4840
|
"termsconditions",
|
|
4876
4841
|
/*termsconditions*/
|
|
4877
4842
|
n[27]
|
|
4878
4843
|
), i[0] & /*smsoffers*/
|
|
4879
|
-
268435456 &&
|
|
4844
|
+
268435456 && m(
|
|
4880
4845
|
r,
|
|
4881
4846
|
"smsoffers",
|
|
4882
4847
|
/*smsoffers*/
|
|
4883
4848
|
n[28]
|
|
4884
4849
|
), i[0] & /*emailmarketing*/
|
|
4885
|
-
536870912 &&
|
|
4850
|
+
536870912 && m(
|
|
4886
4851
|
r,
|
|
4887
4852
|
"emailmarketing",
|
|
4888
4853
|
/*emailmarketing*/
|
|
4889
4854
|
n[29]
|
|
4890
4855
|
), i[0] & /*endpoint*/
|
|
4891
|
-
1 &&
|
|
4856
|
+
1 && m(
|
|
4892
4857
|
r,
|
|
4893
4858
|
"endpoint",
|
|
4894
4859
|
/*endpoint*/
|
|
4895
4860
|
n[0]
|
|
4896
4861
|
), i[0] & /*captchakey*/
|
|
4897
|
-
4 &&
|
|
4862
|
+
4 && m(
|
|
4898
4863
|
r,
|
|
4899
4864
|
"captchakey",
|
|
4900
4865
|
/*captchakey*/
|
|
4901
4866
|
n[2]
|
|
4902
4867
|
), i[0] & /*lang*/
|
|
4903
|
-
8 &&
|
|
4868
|
+
8 && m(
|
|
4904
4869
|
r,
|
|
4905
4870
|
"lang",
|
|
4906
4871
|
/*lang*/
|
|
4907
4872
|
n[3]
|
|
4908
4873
|
), i[0] & /*defaultoptions*/
|
|
4909
|
-
64 &&
|
|
4874
|
+
64 && m(
|
|
4910
4875
|
r,
|
|
4911
4876
|
"defaultoptions",
|
|
4912
4877
|
/*defaultoptions*/
|
|
4913
4878
|
n[6]
|
|
4914
4879
|
), i[0] & /*disabledfields*/
|
|
4915
|
-
32 &&
|
|
4880
|
+
32 && m(
|
|
4916
4881
|
r,
|
|
4917
4882
|
"disabledfields",
|
|
4918
4883
|
/*disabledfields*/
|
|
4919
4884
|
n[5]
|
|
4920
4885
|
), i[0] & /*clientstyling*/
|
|
4921
|
-
1024 &&
|
|
4886
|
+
1024 && m(
|
|
4922
4887
|
r,
|
|
4923
4888
|
"clientstyling",
|
|
4924
4889
|
/*clientstyling*/
|
|
4925
4890
|
n[10]
|
|
4926
4891
|
), i[0] & /*clientstylingurl*/
|
|
4927
|
-
2048 &&
|
|
4892
|
+
2048 && m(
|
|
4928
4893
|
r,
|
|
4929
4894
|
"clientstylingurl",
|
|
4930
4895
|
/*clientstylingurl*/
|
|
4931
4896
|
n[11]
|
|
4932
4897
|
), i[0] & /*translationurl*/
|
|
4933
|
-
4096 &&
|
|
4898
|
+
4096 && m(
|
|
4934
4899
|
r,
|
|
4935
4900
|
"translationurl",
|
|
4936
4901
|
/*translationurl*/
|
|
4937
4902
|
n[12]
|
|
4938
4903
|
), i[0] & /*mbsource*/
|
|
4939
|
-
512 &&
|
|
4904
|
+
512 && m(
|
|
4940
4905
|
r,
|
|
4941
4906
|
"mbsource",
|
|
4942
4907
|
/*mbsource*/
|
|
@@ -4948,14 +4913,14 @@ function pr(e) {
|
|
|
4948
4913
|
}
|
|
4949
4914
|
};
|
|
4950
4915
|
}
|
|
4951
|
-
function
|
|
4916
|
+
function $s(e) {
|
|
4952
4917
|
let t, r = (
|
|
4953
4918
|
/*$_*/
|
|
4954
4919
|
e[34]("error") + ""
|
|
4955
4920
|
), n;
|
|
4956
4921
|
return {
|
|
4957
4922
|
c() {
|
|
4958
|
-
t =
|
|
4923
|
+
t = B("p"), n = V(r), x(t, "class", "SMSErrorText");
|
|
4959
4924
|
},
|
|
4960
4925
|
m(i, s) {
|
|
4961
4926
|
U(i, t, s), E(t, n);
|
|
@@ -4970,18 +4935,18 @@ function zs(e) {
|
|
|
4970
4935
|
}
|
|
4971
4936
|
};
|
|
4972
4937
|
}
|
|
4973
|
-
function
|
|
4938
|
+
function Vs(e) {
|
|
4974
4939
|
let t;
|
|
4975
4940
|
function r(s, o) {
|
|
4976
4941
|
return (
|
|
4977
4942
|
/*smsSendApiFailed*/
|
|
4978
|
-
s[31] ?
|
|
4943
|
+
s[31] ? Xs : Ws
|
|
4979
4944
|
);
|
|
4980
4945
|
}
|
|
4981
4946
|
let n = r(e), i = n(e);
|
|
4982
4947
|
return {
|
|
4983
4948
|
c() {
|
|
4984
|
-
i.c(), t =
|
|
4949
|
+
i.c(), t = pn();
|
|
4985
4950
|
},
|
|
4986
4951
|
m(s, o) {
|
|
4987
4952
|
i.m(s, o), U(s, t, o);
|
|
@@ -4994,14 +4959,14 @@ function Zs(e) {
|
|
|
4994
4959
|
}
|
|
4995
4960
|
};
|
|
4996
4961
|
}
|
|
4997
|
-
function
|
|
4962
|
+
function Xs(e) {
|
|
4998
4963
|
let t, r = (
|
|
4999
4964
|
/*$_*/
|
|
5000
4965
|
e[34]("error") + ""
|
|
5001
4966
|
), n;
|
|
5002
4967
|
return {
|
|
5003
4968
|
c() {
|
|
5004
|
-
t =
|
|
4969
|
+
t = B("p"), n = V(r), x(t, "class", "SMSErrorText");
|
|
5005
4970
|
},
|
|
5006
4971
|
m(i, s) {
|
|
5007
4972
|
U(i, t, s), E(t, n);
|
|
@@ -5016,46 +4981,46 @@ function Js(e) {
|
|
|
5016
4981
|
}
|
|
5017
4982
|
};
|
|
5018
4983
|
}
|
|
5019
|
-
function
|
|
4984
|
+
function Ws(e) {
|
|
5020
4985
|
let t;
|
|
5021
4986
|
return {
|
|
5022
4987
|
c() {
|
|
5023
|
-
t =
|
|
4988
|
+
t = B("general-player-sms-verification-form"), m(
|
|
5024
4989
|
t,
|
|
5025
4990
|
"endpoint",
|
|
5026
4991
|
/*endpoint*/
|
|
5027
4992
|
e[0]
|
|
5028
|
-
),
|
|
4993
|
+
), m(
|
|
5029
4994
|
t,
|
|
5030
4995
|
"session",
|
|
5031
4996
|
/*session*/
|
|
5032
4997
|
e[1]
|
|
5033
|
-
),
|
|
4998
|
+
), m(
|
|
5034
4999
|
t,
|
|
5035
5000
|
"number",
|
|
5036
5001
|
/*number*/
|
|
5037
5002
|
e[32]
|
|
5038
|
-
),
|
|
5003
|
+
), m(
|
|
5039
5004
|
t,
|
|
5040
5005
|
"playerid",
|
|
5041
5006
|
/*playerid*/
|
|
5042
5007
|
e[17]
|
|
5043
|
-
),
|
|
5008
|
+
), m(
|
|
5044
5009
|
t,
|
|
5045
5010
|
"tokenid",
|
|
5046
5011
|
/*smstokenid*/
|
|
5047
5012
|
e[30]
|
|
5048
|
-
),
|
|
5013
|
+
), m(
|
|
5049
5014
|
t,
|
|
5050
5015
|
"clientstyling",
|
|
5051
5016
|
/*clientstyling*/
|
|
5052
5017
|
e[10]
|
|
5053
|
-
),
|
|
5018
|
+
), m(
|
|
5054
5019
|
t,
|
|
5055
5020
|
"clientstylingurl",
|
|
5056
5021
|
/*clientstylingurl*/
|
|
5057
5022
|
e[11]
|
|
5058
|
-
),
|
|
5023
|
+
), m(
|
|
5059
5024
|
t,
|
|
5060
5025
|
"mbsource",
|
|
5061
5026
|
/*mbsource*/
|
|
@@ -5067,49 +5032,49 @@ function qs(e) {
|
|
|
5067
5032
|
},
|
|
5068
5033
|
p(r, n) {
|
|
5069
5034
|
n[0] & /*endpoint*/
|
|
5070
|
-
1 &&
|
|
5035
|
+
1 && m(
|
|
5071
5036
|
t,
|
|
5072
5037
|
"endpoint",
|
|
5073
5038
|
/*endpoint*/
|
|
5074
5039
|
r[0]
|
|
5075
5040
|
), n[0] & /*session*/
|
|
5076
|
-
2 &&
|
|
5041
|
+
2 && m(
|
|
5077
5042
|
t,
|
|
5078
5043
|
"session",
|
|
5079
5044
|
/*session*/
|
|
5080
5045
|
r[1]
|
|
5081
5046
|
), n[1] & /*number*/
|
|
5082
|
-
2 &&
|
|
5047
|
+
2 && m(
|
|
5083
5048
|
t,
|
|
5084
5049
|
"number",
|
|
5085
5050
|
/*number*/
|
|
5086
5051
|
r[32]
|
|
5087
5052
|
), n[0] & /*playerid*/
|
|
5088
|
-
131072 &&
|
|
5053
|
+
131072 && m(
|
|
5089
5054
|
t,
|
|
5090
5055
|
"playerid",
|
|
5091
5056
|
/*playerid*/
|
|
5092
5057
|
r[17]
|
|
5093
5058
|
), n[0] & /*smstokenid*/
|
|
5094
|
-
1073741824 &&
|
|
5059
|
+
1073741824 && m(
|
|
5095
5060
|
t,
|
|
5096
5061
|
"tokenid",
|
|
5097
5062
|
/*smstokenid*/
|
|
5098
5063
|
r[30]
|
|
5099
5064
|
), n[0] & /*clientstyling*/
|
|
5100
|
-
1024 &&
|
|
5065
|
+
1024 && m(
|
|
5101
5066
|
t,
|
|
5102
5067
|
"clientstyling",
|
|
5103
5068
|
/*clientstyling*/
|
|
5104
5069
|
r[10]
|
|
5105
5070
|
), n[0] & /*clientstylingurl*/
|
|
5106
|
-
2048 &&
|
|
5071
|
+
2048 && m(
|
|
5107
5072
|
t,
|
|
5108
5073
|
"clientstylingurl",
|
|
5109
5074
|
/*clientstylingurl*/
|
|
5110
5075
|
r[11]
|
|
5111
5076
|
), n[0] & /*mbsource*/
|
|
5112
|
-
512 &&
|
|
5077
|
+
512 && m(
|
|
5113
5078
|
t,
|
|
5114
5079
|
"mbsource",
|
|
5115
5080
|
/*mbsource*/
|
|
@@ -5121,27 +5086,27 @@ function qs(e) {
|
|
|
5121
5086
|
}
|
|
5122
5087
|
};
|
|
5123
5088
|
}
|
|
5124
|
-
function
|
|
5125
|
-
let t, r, n, i, s, o, a, l, u, h, c,
|
|
5089
|
+
function hr(e) {
|
|
5090
|
+
let t, r, n, i, s, o, a, l, u, h, c, d, y, g, p, b, S, O = (
|
|
5126
5091
|
/*$_*/
|
|
5127
5092
|
e[34]("goToLoginButton") + ""
|
|
5128
5093
|
), A, L, N;
|
|
5129
5094
|
return {
|
|
5130
5095
|
c() {
|
|
5131
|
-
t =
|
|
5096
|
+
t = B("div"), r = Te("svg"), n = Te("defs"), i = Te("style"), s = V(".a{fill:#var(--emw--color-valid, var(--emw--color-green, #48952a));}"), o = Te("path"), a = G(), l = B("h2"), u = V(
|
|
5132
5097
|
/*accountCreationTitle*/
|
|
5133
5098
|
e[23]
|
|
5134
|
-
), h = G(), c =
|
|
5099
|
+
), h = G(), c = B("p"), d = V(
|
|
5135
5100
|
/*accountCreationSubTitle*/
|
|
5136
5101
|
e[24]
|
|
5137
|
-
), y = G(), g =
|
|
5102
|
+
), y = G(), g = B("p"), p = V(
|
|
5138
5103
|
/*accountCreationMessage*/
|
|
5139
5104
|
e[25]
|
|
5140
|
-
), b = G(),
|
|
5105
|
+
), b = G(), S = B("button"), A = V(O), x(o, "class", "a"), x(o, "d", "M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "viewBox", "0 0 73.95 51"), x(l, "class", "RegisterConfirmationTitle"), x(c, "class", "RegisterConfirmationSubtitle"), x(g, "class", "RegisterConfirmationNote"), x(S, "class", "RegisterConfirmationGoToLogin"), x(t, "class", "RegisterConfirmation");
|
|
5141
5106
|
},
|
|
5142
5107
|
m(C, D) {
|
|
5143
|
-
U(C, t, D), E(t, r), E(r, n), E(n, i), E(i, s), E(r, o), E(t, a), E(t, l), E(l, u), E(t, h), E(t, c), E(c,
|
|
5144
|
-
|
|
5108
|
+
U(C, t, D), E(t, r), E(r, n), E(n, i), E(i, s), E(r, o), E(t, a), E(t, l), E(l, u), E(t, h), E(t, c), E(c, d), E(t, y), E(t, g), E(g, p), E(t, b), E(t, S), E(S, A), L || (N = gn(
|
|
5109
|
+
S,
|
|
5145
5110
|
"click",
|
|
5146
5111
|
/*switchToLogin*/
|
|
5147
5112
|
e[36]
|
|
@@ -5155,12 +5120,12 @@ function mr(e) {
|
|
|
5155
5120
|
C[23]
|
|
5156
5121
|
), D[0] & /*accountCreationSubTitle*/
|
|
5157
5122
|
16777216 && ee(
|
|
5158
|
-
|
|
5123
|
+
d,
|
|
5159
5124
|
/*accountCreationSubTitle*/
|
|
5160
5125
|
C[24]
|
|
5161
5126
|
), D[0] & /*accountCreationMessage*/
|
|
5162
5127
|
33554432 && ee(
|
|
5163
|
-
|
|
5128
|
+
p,
|
|
5164
5129
|
/*accountCreationMessage*/
|
|
5165
5130
|
C[25]
|
|
5166
5131
|
), D[1] & /*$_*/
|
|
@@ -5172,15 +5137,15 @@ function mr(e) {
|
|
|
5172
5137
|
}
|
|
5173
5138
|
};
|
|
5174
5139
|
}
|
|
5175
|
-
function
|
|
5140
|
+
function zs(e) {
|
|
5176
5141
|
let t;
|
|
5177
5142
|
function r(s, o) {
|
|
5178
|
-
return
|
|
5143
|
+
return js;
|
|
5179
5144
|
}
|
|
5180
5145
|
let i = r()(e);
|
|
5181
5146
|
return {
|
|
5182
5147
|
c() {
|
|
5183
|
-
t =
|
|
5148
|
+
t = B("div"), i.c();
|
|
5184
5149
|
},
|
|
5185
5150
|
m(s, o) {
|
|
5186
5151
|
U(s, t, o), i.m(t, null), e[42](t);
|
|
@@ -5195,80 +5160,80 @@ function Qs(e) {
|
|
|
5195
5160
|
}
|
|
5196
5161
|
};
|
|
5197
5162
|
}
|
|
5198
|
-
let
|
|
5199
|
-
function
|
|
5163
|
+
let Zs = "Please use this code {0} to activate your account";
|
|
5164
|
+
function Js(e, t, r) {
|
|
5200
5165
|
let n;
|
|
5201
|
-
|
|
5202
|
-
let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: l = "" } = t, { captchakey: u = "" } = t, { lang: h = "en" } = t, { licenseyears: c = "" } = t, { disabledfields:
|
|
5203
|
-
|
|
5204
|
-
const
|
|
5205
|
-
fetch(L).then((
|
|
5206
|
-
Object.keys(
|
|
5207
|
-
|
|
5166
|
+
fn(e, Ns, (f) => r(34, n = f));
|
|
5167
|
+
let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: l = "" } = t, { captchakey: u = "" } = t, { lang: h = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: d = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: p = "false" } = t, { userroles: b = "" } = t, { mbsource: S } = t, { clientstyling: O = "" } = t, { clientstylingurl: A = "" } = t, { translationurl: L = "" } = t, { savecredentials: N = "" } = t, { custominputtextswitch: C = "false" } = t, { personalidlength: D = "13" } = t, j, bt = "", Ge = !0, he = !1, ye = !1, ke = !1, je = !1, ve, yt = !1, vt = "", _t = "", Et = "", wt = window.navigator.userAgent, Wr = nr(wt) !== "PC", $ = {}, St = !1, xt = !1, $e = "false", Tt = "false", Ht = "false", Bt = "false", Pt = "", At, _e = !1, Ot, Ee;
|
|
5168
|
+
Ms({ withLocale: "en", translations: {} });
|
|
5169
|
+
const zr = () => {
|
|
5170
|
+
fetch(L).then((H) => H.json()).then((H) => {
|
|
5171
|
+
Object.keys(H).forEach((I) => {
|
|
5172
|
+
ir(I, H[I]);
|
|
5208
5173
|
});
|
|
5209
|
-
}).catch((
|
|
5210
|
-
console.log(
|
|
5174
|
+
}).catch((H) => {
|
|
5175
|
+
console.log(H);
|
|
5211
5176
|
});
|
|
5212
5177
|
};
|
|
5213
|
-
Object.keys(
|
|
5214
|
-
|
|
5178
|
+
Object.keys(sr).forEach((f) => {
|
|
5179
|
+
ir(f, sr[f]);
|
|
5215
5180
|
});
|
|
5216
|
-
const
|
|
5181
|
+
const Zr = () => {
|
|
5217
5182
|
fetch(`${i}/v1/player/consentRequirements`).then((f) => f.json()).then((f) => {
|
|
5218
|
-
f.items.length > 0 ? (r(26,
|
|
5219
|
-
switch (
|
|
5183
|
+
f.items.length > 0 ? (r(26, $e = "true"), f.items.forEach((H) => {
|
|
5184
|
+
switch (H.tagCode) {
|
|
5220
5185
|
case "termsandconditions":
|
|
5221
|
-
r(27,
|
|
5186
|
+
r(27, Tt = "true");
|
|
5222
5187
|
break;
|
|
5223
5188
|
case "sms":
|
|
5224
|
-
r(28,
|
|
5189
|
+
r(28, Ht = "true");
|
|
5225
5190
|
break;
|
|
5226
5191
|
case "emailmarketing":
|
|
5227
|
-
r(29,
|
|
5192
|
+
r(29, Bt = "true");
|
|
5228
5193
|
break;
|
|
5229
5194
|
}
|
|
5230
|
-
})) : r(26,
|
|
5195
|
+
})) : r(26, $e = "false");
|
|
5231
5196
|
});
|
|
5232
|
-
},
|
|
5233
|
-
let f = new URL(`${s}/${h}/login-register-content?env=${o}`),
|
|
5234
|
-
|
|
5235
|
-
ve = I.registerData, r(23,
|
|
5197
|
+
}, Jr = () => {
|
|
5198
|
+
let f = new URL(`${s}/${h}/login-register-content?env=${o}`), H = nr(wt);
|
|
5199
|
+
H && (H === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((I) => I.json()).then((I) => {
|
|
5200
|
+
ve = I.registerData, r(23, vt = ve.title), r(24, _t = ve.subtitle), r(25, Et = ve.content);
|
|
5236
5201
|
}).catch((I) => {
|
|
5237
5202
|
console.error(I);
|
|
5238
5203
|
});
|
|
5239
5204
|
}, we = () => {
|
|
5240
5205
|
Ee.scrollIntoView();
|
|
5241
|
-
},
|
|
5242
|
-
for (const
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
},
|
|
5206
|
+
}, fe = (f) => {
|
|
5207
|
+
for (const H in f)
|
|
5208
|
+
$[H] = f[H], H === "mobile" && r(32, Ot = `${f[H].prefix}${f[H].number}`);
|
|
5209
|
+
$.affiliateMarker = $.promoCode ? $.promoCode : l != null ? l : "";
|
|
5210
|
+
}, Ct = (f) => {
|
|
5246
5211
|
if (f.data)
|
|
5247
5212
|
switch (f.data.type) {
|
|
5248
5213
|
case "RegisterStepOne":
|
|
5249
|
-
|
|
5214
|
+
fe(f.data.registerStepOneData), we(), r(18, Ge = !1), r(19, he = !0), St == !1 ? St = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: $ }, window.location.href);
|
|
5250
5215
|
break;
|
|
5251
5216
|
case "RegisterStepTwo":
|
|
5252
|
-
|
|
5217
|
+
fe(f.data.registerStepTwoData), we(), r(19, he = !1), r(20, ye = !0), xt == !1 ? xt = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: $ }, window.location.href);
|
|
5253
5218
|
break;
|
|
5254
5219
|
case "RegisterStepThree":
|
|
5255
|
-
|
|
5220
|
+
fe(f.data.registerStepThreeData), Qr($);
|
|
5256
5221
|
break;
|
|
5257
5222
|
case "SmsHasBeenValidated":
|
|
5258
|
-
r(22,
|
|
5223
|
+
r(22, je = !0), r(21, ke = !1);
|
|
5259
5224
|
break;
|
|
5260
5225
|
case "GoBackStepTwo":
|
|
5261
|
-
|
|
5226
|
+
fe(f.data.registerStepTwoData), we(), r(18, Ge = !0), r(19, he = !1), window.postMessage({ type: "StepOneDataBackup", userData: $ }, window.location.href);
|
|
5262
5227
|
break;
|
|
5263
5228
|
case "GoBackStepThree":
|
|
5264
|
-
|
|
5229
|
+
fe(f.data.registerStepThreeData), we(), r(19, he = !0), r(20, ye = !1), window.postMessage({ type: "StepTwoDataBackup", userData: $ }, window.location.href);
|
|
5265
5230
|
break;
|
|
5266
5231
|
}
|
|
5267
|
-
},
|
|
5232
|
+
}, qr = () => {
|
|
5268
5233
|
typeof gtag == "function" && gtag("event", "Register", { context: "GeneralPlayerRegisterForm" });
|
|
5269
|
-
},
|
|
5234
|
+
}, Qr = (f) => Se(this, null, function* () {
|
|
5270
5235
|
f.language = h;
|
|
5271
|
-
let
|
|
5236
|
+
let H = {
|
|
5272
5237
|
method: "PUT",
|
|
5273
5238
|
headers: {
|
|
5274
5239
|
"g-recaptcha-response": f.token,
|
|
@@ -5276,16 +5241,16 @@ function Ks(e, t, r) {
|
|
|
5276
5241
|
Accept: "application/json"
|
|
5277
5242
|
},
|
|
5278
5243
|
body: JSON.stringify(f)
|
|
5279
|
-
}, I = yield fetch(`${i}/v1/player/register`,
|
|
5280
|
-
I.ok ? (r(20, ye = !1), g === "false" ? r(22,
|
|
5244
|
+
}, I = yield fetch(`${i}/v1/player/register`, H), z = yield I.json();
|
|
5245
|
+
I.ok ? (r(20, ye = !1), g === "false" ? r(22, je = !0) : (r(17, bt = z.id), Yr(f, z.id)), f.username, f.password, qr()) : (Pt = z.error.substring(z.error.indexOf("errorMessage") + 13, z.error.length), yt = !0, window.postMessage(
|
|
5281
5246
|
{
|
|
5282
5247
|
type: "ShowRegistrationError",
|
|
5283
|
-
showError:
|
|
5284
|
-
error:
|
|
5248
|
+
showError: yt,
|
|
5249
|
+
error: Pt
|
|
5285
5250
|
},
|
|
5286
5251
|
window.location.href
|
|
5287
5252
|
));
|
|
5288
|
-
}),
|
|
5253
|
+
}), Yr = (f, H) => Se(this, null, function* () {
|
|
5289
5254
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
5290
5255
|
try {
|
|
5291
5256
|
const I = yield fetch(`${i}/v1/player/sms/token`, {
|
|
@@ -5295,108 +5260,108 @@ function Ks(e, t, r) {
|
|
|
5295
5260
|
accept: "application/json"
|
|
5296
5261
|
},
|
|
5297
5262
|
body: JSON.stringify({
|
|
5298
|
-
userId:
|
|
5299
|
-
messageTemplate:
|
|
5263
|
+
userId: H,
|
|
5264
|
+
messageTemplate: Zs,
|
|
5300
5265
|
destination: `${f.mobile.prefix}${f.mobile.number}`
|
|
5301
5266
|
})
|
|
5302
5267
|
}), z = yield I.json();
|
|
5303
5268
|
if (I.ok) {
|
|
5304
|
-
r(30,
|
|
5305
|
-
let
|
|
5306
|
-
r(21,
|
|
5269
|
+
r(30, At = z.id);
|
|
5270
|
+
let qs = z.maxValidationAttempts;
|
|
5271
|
+
r(21, ke = !0), r(31, _e = !1);
|
|
5307
5272
|
} else
|
|
5308
5273
|
throw r(31, _e = !0), new Error("Failed to fetch");
|
|
5309
5274
|
} catch (I) {
|
|
5310
5275
|
r(31, _e = !0), console.error(I);
|
|
5311
5276
|
}
|
|
5312
|
-
}),
|
|
5313
|
-
|
|
5314
|
-
},
|
|
5277
|
+
}), Kr = () => {
|
|
5278
|
+
d.split(",");
|
|
5279
|
+
}, en = () => {
|
|
5315
5280
|
window.postMessage({ type: "ToLogin" }, window.location.href);
|
|
5316
|
-
},
|
|
5317
|
-
|
|
5281
|
+
}, tn = () => {
|
|
5282
|
+
Ds(h);
|
|
5318
5283
|
};
|
|
5319
|
-
|
|
5320
|
-
window.removeEventListener("message",
|
|
5284
|
+
_n(() => (window.addEventListener("message", Ct, !1), () => {
|
|
5285
|
+
window.removeEventListener("message", Ct);
|
|
5321
5286
|
}));
|
|
5322
|
-
function
|
|
5287
|
+
function rn(f) {
|
|
5323
5288
|
Ie[f ? "unshift" : "push"](() => {
|
|
5324
5289
|
Ee = f, r(33, Ee);
|
|
5325
5290
|
});
|
|
5326
5291
|
}
|
|
5327
|
-
function
|
|
5292
|
+
function nn(f) {
|
|
5328
5293
|
Ie[f ? "unshift" : "push"](() => {
|
|
5329
|
-
|
|
5294
|
+
j = f, r(16, j);
|
|
5330
5295
|
});
|
|
5331
5296
|
}
|
|
5332
5297
|
return e.$$set = (f) => {
|
|
5333
|
-
"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, l = f.trackedanalyticsdata), "captchakey" in f && r(2, u = f.captchakey), "lang" in f && r(3, h = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5,
|
|
5298
|
+
"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, l = f.trackedanalyticsdata), "captchakey" in f && r(2, u = f.captchakey), "lang" in f && r(3, h = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5, d = f.disabledfields), "defaultoptions" in f && r(6, y = f.defaultoptions), "smsverification" in f && r(7, g = f.smsverification), "simplepasswordvalidation" in f && r(8, p = f.simplepasswordvalidation), "userroles" in f && r(40, b = f.userroles), "mbsource" in f && r(9, S = f.mbsource), "clientstyling" in f && r(10, O = f.clientstyling), "clientstylingurl" in f && r(11, A = 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);
|
|
5334
5299
|
}, e.$$.update = () => {
|
|
5335
5300
|
e.$$.dirty[0] & /*endpoint*/
|
|
5336
|
-
1 && i &&
|
|
5301
|
+
1 && i && Zr(), e.$$.dirty[0] & /*lang*/
|
|
5337
5302
|
8 | e.$$.dirty[1] & /*cmsendpoint, env, userroles*/
|
|
5338
|
-
704 && s && h && o && b &&
|
|
5303
|
+
704 && s && h && o && b && Jr(), e.$$.dirty[0] & /*playerid, session*/
|
|
5339
5304
|
131074, e.$$.dirty[0] & /*lang*/
|
|
5340
|
-
8 && h &&
|
|
5341
|
-
32 &&
|
|
5342
|
-
66560 && O &&
|
|
5343
|
-
67584 && A &&
|
|
5344
|
-
66048 &&
|
|
5345
|
-
4096 && L &&
|
|
5305
|
+
8 && h && tn(), e.$$.dirty[0] & /*disabledfields*/
|
|
5306
|
+
32 && d && Kr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5307
|
+
66560 && O && j && Fs(j, O), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5308
|
+
67584 && A && j && Us(j, A), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5309
|
+
66048 && S && j && Gs(j, `${S}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5310
|
+
4096 && L && zr();
|
|
5346
5311
|
}, [
|
|
5347
5312
|
i,
|
|
5348
5313
|
a,
|
|
5349
5314
|
u,
|
|
5350
5315
|
h,
|
|
5351
5316
|
c,
|
|
5352
|
-
|
|
5317
|
+
d,
|
|
5353
5318
|
y,
|
|
5354
5319
|
g,
|
|
5355
|
-
|
|
5356
|
-
|
|
5320
|
+
p,
|
|
5321
|
+
S,
|
|
5357
5322
|
O,
|
|
5358
5323
|
A,
|
|
5359
5324
|
L,
|
|
5360
5325
|
N,
|
|
5361
5326
|
C,
|
|
5362
5327
|
D,
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5328
|
+
j,
|
|
5329
|
+
bt,
|
|
5330
|
+
Ge,
|
|
5331
|
+
he,
|
|
5367
5332
|
ye,
|
|
5333
|
+
ke,
|
|
5334
|
+
je,
|
|
5335
|
+
vt,
|
|
5336
|
+
_t,
|
|
5337
|
+
Et,
|
|
5368
5338
|
$e,
|
|
5369
|
-
Ve,
|
|
5370
|
-
St,
|
|
5371
|
-
xt,
|
|
5372
5339
|
Tt,
|
|
5373
|
-
|
|
5340
|
+
Ht,
|
|
5341
|
+
Bt,
|
|
5374
5342
|
At,
|
|
5375
|
-
Ot,
|
|
5376
|
-
Ct,
|
|
5377
|
-
Rt,
|
|
5378
5343
|
_e,
|
|
5379
|
-
|
|
5344
|
+
Ot,
|
|
5380
5345
|
Ee,
|
|
5381
5346
|
n,
|
|
5382
|
-
|
|
5383
|
-
|
|
5347
|
+
Wr,
|
|
5348
|
+
en,
|
|
5384
5349
|
s,
|
|
5385
5350
|
o,
|
|
5386
5351
|
l,
|
|
5387
5352
|
b,
|
|
5388
|
-
|
|
5389
|
-
|
|
5353
|
+
rn,
|
|
5354
|
+
nn
|
|
5390
5355
|
];
|
|
5391
5356
|
}
|
|
5392
|
-
class
|
|
5357
|
+
class Xr extends In {
|
|
5393
5358
|
constructor(t) {
|
|
5394
|
-
super(),
|
|
5359
|
+
super(), On(
|
|
5395
5360
|
this,
|
|
5396
5361
|
t,
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5362
|
+
Js,
|
|
5363
|
+
zs,
|
|
5364
|
+
cr,
|
|
5400
5365
|
{
|
|
5401
5366
|
endpoint: 0,
|
|
5402
5367
|
cmsendpoint: 37,
|
|
@@ -5419,7 +5384,7 @@ class Jr extends Mn {
|
|
|
5419
5384
|
custominputtextswitch: 14,
|
|
5420
5385
|
personalidlength: 15
|
|
5421
5386
|
},
|
|
5422
|
-
|
|
5387
|
+
ks,
|
|
5423
5388
|
[-1, -1, -1]
|
|
5424
5389
|
);
|
|
5425
5390
|
}
|
|
@@ -5427,164 +5392,164 @@ class Jr extends Mn {
|
|
|
5427
5392
|
return this.$$.ctx[0];
|
|
5428
5393
|
}
|
|
5429
5394
|
set endpoint(t) {
|
|
5430
|
-
this.$$set({ endpoint: t }),
|
|
5395
|
+
this.$$set({ endpoint: t }), P();
|
|
5431
5396
|
}
|
|
5432
5397
|
get cmsendpoint() {
|
|
5433
5398
|
return this.$$.ctx[37];
|
|
5434
5399
|
}
|
|
5435
5400
|
set cmsendpoint(t) {
|
|
5436
|
-
this.$$set({ cmsendpoint: t }),
|
|
5401
|
+
this.$$set({ cmsendpoint: t }), P();
|
|
5437
5402
|
}
|
|
5438
5403
|
get env() {
|
|
5439
5404
|
return this.$$.ctx[38];
|
|
5440
5405
|
}
|
|
5441
5406
|
set env(t) {
|
|
5442
|
-
this.$$set({ env: t }),
|
|
5407
|
+
this.$$set({ env: t }), P();
|
|
5443
5408
|
}
|
|
5444
5409
|
get session() {
|
|
5445
5410
|
return this.$$.ctx[1];
|
|
5446
5411
|
}
|
|
5447
5412
|
set session(t) {
|
|
5448
|
-
this.$$set({ session: t }),
|
|
5413
|
+
this.$$set({ session: t }), P();
|
|
5449
5414
|
}
|
|
5450
5415
|
get trackedanalyticsdata() {
|
|
5451
5416
|
return this.$$.ctx[39];
|
|
5452
5417
|
}
|
|
5453
5418
|
set trackedanalyticsdata(t) {
|
|
5454
|
-
this.$$set({ trackedanalyticsdata: t }),
|
|
5419
|
+
this.$$set({ trackedanalyticsdata: t }), P();
|
|
5455
5420
|
}
|
|
5456
5421
|
get captchakey() {
|
|
5457
5422
|
return this.$$.ctx[2];
|
|
5458
5423
|
}
|
|
5459
5424
|
set captchakey(t) {
|
|
5460
|
-
this.$$set({ captchakey: t }),
|
|
5425
|
+
this.$$set({ captchakey: t }), P();
|
|
5461
5426
|
}
|
|
5462
5427
|
get lang() {
|
|
5463
5428
|
return this.$$.ctx[3];
|
|
5464
5429
|
}
|
|
5465
5430
|
set lang(t) {
|
|
5466
|
-
this.$$set({ lang: t }),
|
|
5431
|
+
this.$$set({ lang: t }), P();
|
|
5467
5432
|
}
|
|
5468
5433
|
get licenseyears() {
|
|
5469
5434
|
return this.$$.ctx[4];
|
|
5470
5435
|
}
|
|
5471
5436
|
set licenseyears(t) {
|
|
5472
|
-
this.$$set({ licenseyears: t }),
|
|
5437
|
+
this.$$set({ licenseyears: t }), P();
|
|
5473
5438
|
}
|
|
5474
5439
|
get disabledfields() {
|
|
5475
5440
|
return this.$$.ctx[5];
|
|
5476
5441
|
}
|
|
5477
5442
|
set disabledfields(t) {
|
|
5478
|
-
this.$$set({ disabledfields: t }),
|
|
5443
|
+
this.$$set({ disabledfields: t }), P();
|
|
5479
5444
|
}
|
|
5480
5445
|
get defaultoptions() {
|
|
5481
5446
|
return this.$$.ctx[6];
|
|
5482
5447
|
}
|
|
5483
5448
|
set defaultoptions(t) {
|
|
5484
|
-
this.$$set({ defaultoptions: t }),
|
|
5449
|
+
this.$$set({ defaultoptions: t }), P();
|
|
5485
5450
|
}
|
|
5486
5451
|
get smsverification() {
|
|
5487
5452
|
return this.$$.ctx[7];
|
|
5488
5453
|
}
|
|
5489
5454
|
set smsverification(t) {
|
|
5490
|
-
this.$$set({ smsverification: t }),
|
|
5455
|
+
this.$$set({ smsverification: t }), P();
|
|
5491
5456
|
}
|
|
5492
5457
|
get simplepasswordvalidation() {
|
|
5493
5458
|
return this.$$.ctx[8];
|
|
5494
5459
|
}
|
|
5495
5460
|
set simplepasswordvalidation(t) {
|
|
5496
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5461
|
+
this.$$set({ simplepasswordvalidation: t }), P();
|
|
5497
5462
|
}
|
|
5498
5463
|
get userroles() {
|
|
5499
5464
|
return this.$$.ctx[40];
|
|
5500
5465
|
}
|
|
5501
5466
|
set userroles(t) {
|
|
5502
|
-
this.$$set({ userroles: t }),
|
|
5467
|
+
this.$$set({ userroles: t }), P();
|
|
5503
5468
|
}
|
|
5504
5469
|
get mbsource() {
|
|
5505
5470
|
return this.$$.ctx[9];
|
|
5506
5471
|
}
|
|
5507
5472
|
set mbsource(t) {
|
|
5508
|
-
this.$$set({ mbsource: t }),
|
|
5473
|
+
this.$$set({ mbsource: t }), P();
|
|
5509
5474
|
}
|
|
5510
5475
|
get clientstyling() {
|
|
5511
5476
|
return this.$$.ctx[10];
|
|
5512
5477
|
}
|
|
5513
5478
|
set clientstyling(t) {
|
|
5514
|
-
this.$$set({ clientstyling: t }),
|
|
5479
|
+
this.$$set({ clientstyling: t }), P();
|
|
5515
5480
|
}
|
|
5516
5481
|
get clientstylingurl() {
|
|
5517
5482
|
return this.$$.ctx[11];
|
|
5518
5483
|
}
|
|
5519
5484
|
set clientstylingurl(t) {
|
|
5520
|
-
this.$$set({ clientstylingurl: t }),
|
|
5485
|
+
this.$$set({ clientstylingurl: t }), P();
|
|
5521
5486
|
}
|
|
5522
5487
|
get translationurl() {
|
|
5523
5488
|
return this.$$.ctx[12];
|
|
5524
5489
|
}
|
|
5525
5490
|
set translationurl(t) {
|
|
5526
|
-
this.$$set({ translationurl: t }),
|
|
5491
|
+
this.$$set({ translationurl: t }), P();
|
|
5527
5492
|
}
|
|
5528
5493
|
get savecredentials() {
|
|
5529
5494
|
return this.$$.ctx[13];
|
|
5530
5495
|
}
|
|
5531
5496
|
set savecredentials(t) {
|
|
5532
|
-
this.$$set({ savecredentials: t }),
|
|
5497
|
+
this.$$set({ savecredentials: t }), P();
|
|
5533
5498
|
}
|
|
5534
5499
|
get custominputtextswitch() {
|
|
5535
5500
|
return this.$$.ctx[14];
|
|
5536
5501
|
}
|
|
5537
5502
|
set custominputtextswitch(t) {
|
|
5538
|
-
this.$$set({ custominputtextswitch: t }),
|
|
5503
|
+
this.$$set({ custominputtextswitch: t }), P();
|
|
5539
5504
|
}
|
|
5540
5505
|
get personalidlength() {
|
|
5541
5506
|
return this.$$.ctx[15];
|
|
5542
5507
|
}
|
|
5543
5508
|
set personalidlength(t) {
|
|
5544
|
-
this.$$set({ personalidlength: t }),
|
|
5509
|
+
this.$$set({ personalidlength: t }), P();
|
|
5545
5510
|
}
|
|
5546
5511
|
}
|
|
5547
|
-
|
|
5548
|
-
const
|
|
5512
|
+
Cn(Xr, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
|
|
5513
|
+
const io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5549
5514
|
__proto__: null,
|
|
5550
|
-
default:
|
|
5515
|
+
default: Xr
|
|
5551
5516
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5552
5517
|
export {
|
|
5553
5518
|
J as $,
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5519
|
+
Ke as A,
|
|
5520
|
+
to as B,
|
|
5521
|
+
no as C,
|
|
5522
|
+
Ks as D,
|
|
5523
|
+
pn as E,
|
|
5524
|
+
ro as F,
|
|
5525
|
+
ue as G,
|
|
5526
|
+
Ys as H,
|
|
5527
|
+
io as I,
|
|
5528
|
+
In as S,
|
|
5529
|
+
Gr as a,
|
|
5530
|
+
cn as b,
|
|
5531
|
+
Cn as c,
|
|
5532
|
+
G as d,
|
|
5533
|
+
B as e,
|
|
5534
|
+
P as f,
|
|
5535
|
+
x as g,
|
|
5571
5536
|
U as h,
|
|
5572
|
-
|
|
5537
|
+
On as i,
|
|
5573
5538
|
E as j,
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5539
|
+
eo as k,
|
|
5540
|
+
gn as l,
|
|
5541
|
+
ee as m,
|
|
5577
5542
|
k as n,
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5543
|
+
M as o,
|
|
5544
|
+
fn as p,
|
|
5545
|
+
_n as q,
|
|
5546
|
+
be as r,
|
|
5547
|
+
cr as s,
|
|
5548
|
+
V as t,
|
|
5549
|
+
Ie as u,
|
|
5550
|
+
Fs as v,
|
|
5551
|
+
Us as w,
|
|
5552
|
+
Gs as x,
|
|
5553
|
+
Te as y,
|
|
5554
|
+
Ns as z
|
|
5590
5555
|
};
|