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