@everymatrix/general-player-sms-verification-form 1.74.8 → 1.74.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralPlayerSmsVerificationForm-uil_tNhE.js → GeneralPlayerSmsVerificationForm-B-2j6bc1.js} +275 -273
- package/components/GeneralPlayerSmsVerificationForm-CWv-zsso.cjs +16 -0
- package/components/{GeneralPlayerSmsVerificationForm-C9wGKSBA.js → GeneralPlayerSmsVerificationForm-DRI1hBtZ.js} +289 -287
- package/es2015/general-player-sms-verification-form.cjs +1 -1
- package/es2015/general-player-sms-verification-form.js +1 -1
- package/esnext/general-player-sms-verification-form.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerSmsVerificationForm-pz5ZHSbw.cjs +0 -16
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function U() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function gt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Qe() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function ne(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(gt);
|
|
11
11
|
}
|
|
12
12
|
function ze(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function vt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Xt(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function yt(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
@@ -27,20 +27,20 @@ function Et(e, ...t) {
|
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function zt(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(yt(t, r));
|
|
32
32
|
}
|
|
33
33
|
function E(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function Wt(e, t, r) {
|
|
37
|
+
const n = Zt(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
|
-
const i =
|
|
40
|
-
i.id = t, i.textContent = r,
|
|
39
|
+
const i = O("style");
|
|
40
|
+
i.id = t, i.textContent = r, Jt(n, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Zt(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,7 +50,7 @@ function Jt(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Jt(e, t) {
|
|
54
54
|
return E(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
@@ -63,14 +63,14 @@ function W(e, t, r) {
|
|
|
63
63
|
function k(e) {
|
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function O(e) {
|
|
67
67
|
return document.createElement(e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function M(e) {
|
|
70
70
|
return document.createTextNode(e);
|
|
71
71
|
}
|
|
72
72
|
function X() {
|
|
73
|
-
return
|
|
73
|
+
return M(" ");
|
|
74
74
|
}
|
|
75
75
|
function pe(e, t, r, n) {
|
|
76
76
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
@@ -78,17 +78,17 @@ function pe(e, t, r, n) {
|
|
|
78
78
|
function B(e, t, r) {
|
|
79
79
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function Qt(e) {
|
|
82
82
|
return Array.from(e.childNodes);
|
|
83
83
|
}
|
|
84
84
|
function F(e, t) {
|
|
85
85
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
86
86
|
t);
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function qe(e, t) {
|
|
89
89
|
e.value = t ?? "";
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function qt(e) {
|
|
92
92
|
const t = {};
|
|
93
93
|
return e.childNodes.forEach(
|
|
94
94
|
/** @param {Element} node */
|
|
@@ -101,20 +101,20 @@ let fe;
|
|
|
101
101
|
function ce(e) {
|
|
102
102
|
fe = e;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function Yt() {
|
|
105
105
|
if (!fe)
|
|
106
106
|
throw new Error("Function called outside component initialization");
|
|
107
107
|
return fe;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
110
|
-
|
|
109
|
+
function Kt(e) {
|
|
110
|
+
Yt().$$.on_mount.push(e);
|
|
111
111
|
}
|
|
112
|
-
const q = [],
|
|
112
|
+
const q = [], Me = [];
|
|
113
113
|
let Y = [];
|
|
114
|
-
const
|
|
114
|
+
const Ye = [], er = /* @__PURE__ */ Promise.resolve();
|
|
115
115
|
let Le = !1;
|
|
116
|
-
function
|
|
117
|
-
Le || (Le = !0,
|
|
116
|
+
function tr() {
|
|
117
|
+
Le || (Le = !0, er.then($));
|
|
118
118
|
}
|
|
119
119
|
function Re(e) {
|
|
120
120
|
Y.push(e);
|
|
@@ -129,53 +129,53 @@ function $() {
|
|
|
129
129
|
try {
|
|
130
130
|
for (; J < q.length; ) {
|
|
131
131
|
const t = q[J];
|
|
132
|
-
J++, ce(t),
|
|
132
|
+
J++, ce(t), rr(t.$$);
|
|
133
133
|
}
|
|
134
134
|
} catch (t) {
|
|
135
135
|
throw q.length = 0, J = 0, t;
|
|
136
136
|
}
|
|
137
|
-
for (ce(null), q.length = 0, J = 0;
|
|
138
|
-
|
|
137
|
+
for (ce(null), q.length = 0, J = 0; Me.length; )
|
|
138
|
+
Me.pop()();
|
|
139
139
|
for (let t = 0; t < Y.length; t += 1) {
|
|
140
140
|
const r = Y[t];
|
|
141
141
|
Ae.has(r) || (Ae.add(r), r());
|
|
142
142
|
}
|
|
143
143
|
Y.length = 0;
|
|
144
144
|
} while (q.length);
|
|
145
|
-
for (;
|
|
146
|
-
|
|
145
|
+
for (; Ye.length; )
|
|
146
|
+
Ye.pop()();
|
|
147
147
|
Le = !1, Ae.clear(), ce(e);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function rr(e) {
|
|
150
150
|
if (e.fragment !== null) {
|
|
151
151
|
e.update(), ne(e.before_update);
|
|
152
152
|
const t = e.dirty;
|
|
153
153
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function nr(e) {
|
|
157
157
|
const t = [], r = [];
|
|
158
158
|
Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
|
|
159
159
|
}
|
|
160
|
-
const
|
|
161
|
-
function
|
|
162
|
-
e && e.i && (
|
|
160
|
+
const ir = /* @__PURE__ */ new Set();
|
|
161
|
+
function or(e, t) {
|
|
162
|
+
e && e.i && (ir.delete(e), e.i(t));
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function sr(e, t, r) {
|
|
165
165
|
const { fragment: n, after_update: i } = e.$$;
|
|
166
166
|
n && n.m(t, r), Re(() => {
|
|
167
|
-
const o = e.$$.on_mount.map(
|
|
167
|
+
const o = e.$$.on_mount.map(gt).filter(ze);
|
|
168
168
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
|
|
169
169
|
}), i.forEach(Re);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function ar(e, t) {
|
|
172
172
|
const r = e.$$;
|
|
173
|
-
r.fragment !== null && (
|
|
173
|
+
r.fragment !== null && (nr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
e.$$.dirty[0] === -1 && (q.push(e),
|
|
175
|
+
function ur(e, t) {
|
|
176
|
+
e.$$.dirty[0] === -1 && (q.push(e), tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function lr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
179
179
|
const h = fe;
|
|
180
180
|
ce(e);
|
|
181
181
|
const u = e.$$ = {
|
|
@@ -185,7 +185,7 @@ function hr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
185
185
|
props: o,
|
|
186
186
|
update: U,
|
|
187
187
|
not_equal: i,
|
|
188
|
-
bound:
|
|
188
|
+
bound: Qe(),
|
|
189
189
|
// lifecycle
|
|
190
190
|
on_mount: [],
|
|
191
191
|
on_destroy: [],
|
|
@@ -194,28 +194,28 @@ function hr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
194
194
|
after_update: [],
|
|
195
195
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
196
196
|
// everything else
|
|
197
|
-
callbacks:
|
|
197
|
+
callbacks: Qe(),
|
|
198
198
|
dirty: s,
|
|
199
199
|
skip_bound: !1,
|
|
200
200
|
root: t.target || h.$$.root
|
|
201
201
|
};
|
|
202
202
|
a && a(u.root);
|
|
203
203
|
let l = !1;
|
|
204
|
-
if (u.ctx = r
|
|
204
|
+
if (u.ctx = r(e, t.props || {}, (c, d, ...g) => {
|
|
205
205
|
const y = g.length ? g[0] : d;
|
|
206
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l &&
|
|
207
|
-
})
|
|
206
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && ur(e, c)), d;
|
|
207
|
+
}), u.update(), l = !0, ne(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
208
208
|
if (t.hydrate) {
|
|
209
|
-
const c =
|
|
209
|
+
const c = Qt(t.target);
|
|
210
210
|
u.fragment && u.fragment.l(c), c.forEach(k);
|
|
211
211
|
} else
|
|
212
212
|
u.fragment && u.fragment.c();
|
|
213
|
-
t.intro &&
|
|
213
|
+
t.intro && or(e.$$.fragment), sr(e, t.target, t.anchor), $();
|
|
214
214
|
}
|
|
215
215
|
ce(h);
|
|
216
216
|
}
|
|
217
|
-
let
|
|
218
|
-
typeof HTMLElement == "function" && (
|
|
217
|
+
let Et;
|
|
218
|
+
typeof HTMLElement == "function" && (Et = class extends HTMLElement {
|
|
219
219
|
/** The Svelte component constructor */
|
|
220
220
|
$$ctor;
|
|
221
221
|
/** Slots */
|
|
@@ -257,7 +257,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
257
257
|
let o;
|
|
258
258
|
return {
|
|
259
259
|
c: function() {
|
|
260
|
-
o =
|
|
260
|
+
o = O("slot"), i !== "default" && B(o, "name", i);
|
|
261
261
|
},
|
|
262
262
|
/**
|
|
263
263
|
* @param {HTMLElement} target
|
|
@@ -274,7 +274,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
274
274
|
};
|
|
275
275
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
276
276
|
return;
|
|
277
|
-
const t = {}, r =
|
|
277
|
+
const t = {}, r = qt(this);
|
|
278
278
|
for (const i of this.$$s)
|
|
279
279
|
i in r && (t[i] = [e(i)]);
|
|
280
280
|
for (const i of this.attributes) {
|
|
@@ -361,8 +361,8 @@ function ge(e, t, r, n) {
|
|
|
361
361
|
return t;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
let a = class extends
|
|
364
|
+
function hr(e, t, r, n, i, o) {
|
|
365
|
+
let a = class extends Et {
|
|
366
366
|
constructor() {
|
|
367
367
|
super(e, r, i), this.$$p_d = t;
|
|
368
368
|
}
|
|
@@ -390,7 +390,7 @@ function cr(e, t, r, n, i, o) {
|
|
|
390
390
|
}), e.element = /** @type {any} */
|
|
391
391
|
a, a;
|
|
392
392
|
}
|
|
393
|
-
class
|
|
393
|
+
class cr {
|
|
394
394
|
/**
|
|
395
395
|
* ### PRIVATE API
|
|
396
396
|
*
|
|
@@ -409,7 +409,7 @@ class fr {
|
|
|
409
409
|
$$set = void 0;
|
|
410
410
|
/** @returns {void} */
|
|
411
411
|
$destroy() {
|
|
412
|
-
|
|
412
|
+
ar(this, 1), this.$destroy = U;
|
|
413
413
|
}
|
|
414
414
|
/**
|
|
415
415
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -431,13 +431,13 @@ class fr {
|
|
|
431
431
|
* @returns {void}
|
|
432
432
|
*/
|
|
433
433
|
$set(t) {
|
|
434
|
-
this.$$set && !
|
|
434
|
+
this.$$set && !Xt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
|
-
const
|
|
438
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
437
|
+
const fr = "4";
|
|
438
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fr);
|
|
439
439
|
const Q = [];
|
|
440
|
-
function
|
|
440
|
+
function dr(e, t) {
|
|
441
441
|
return {
|
|
442
442
|
subscribe: _e(e, t).subscribe
|
|
443
443
|
};
|
|
@@ -446,7 +446,7 @@ function _e(e, t = U) {
|
|
|
446
446
|
let r;
|
|
447
447
|
const n = /* @__PURE__ */ new Set();
|
|
448
448
|
function i(s) {
|
|
449
|
-
if (
|
|
449
|
+
if (vt(e, s) && (e = s, r)) {
|
|
450
450
|
const h = !Q.length;
|
|
451
451
|
for (const u of n)
|
|
452
452
|
u[1](), Q.push(u, e);
|
|
@@ -473,7 +473,7 @@ function ie(e, t, r) {
|
|
|
473
473
|
if (!i.every(Boolean))
|
|
474
474
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
475
475
|
const o = t.length < 2;
|
|
476
|
-
return
|
|
476
|
+
return dr(r, (a, s) => {
|
|
477
477
|
let h = !1;
|
|
478
478
|
const u = [];
|
|
479
479
|
let l = 0, c = U;
|
|
@@ -484,7 +484,7 @@ function ie(e, t, r) {
|
|
|
484
484
|
const y = t(n ? u[0] : u, a, s);
|
|
485
485
|
o ? a(y) : c = ze(y) ? y : U;
|
|
486
486
|
}, g = i.map(
|
|
487
|
-
(y, _) =>
|
|
487
|
+
(y, _) => yt(
|
|
488
488
|
y,
|
|
489
489
|
(T) => {
|
|
490
490
|
u[_] = T, l &= ~(1 << _), h && d();
|
|
@@ -499,70 +499,70 @@ function ie(e, t, r) {
|
|
|
499
499
|
};
|
|
500
500
|
});
|
|
501
501
|
}
|
|
502
|
-
function
|
|
503
|
-
return e
|
|
502
|
+
function mr(e) {
|
|
503
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
504
504
|
}
|
|
505
|
-
var
|
|
506
|
-
return
|
|
505
|
+
var pr = function(t) {
|
|
506
|
+
return br(t) && !gr(t);
|
|
507
507
|
};
|
|
508
|
-
function
|
|
508
|
+
function br(e) {
|
|
509
509
|
return !!e && typeof e == "object";
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function gr(e) {
|
|
512
512
|
var t = Object.prototype.toString.call(e);
|
|
513
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
513
|
+
return t === "[object RegExp]" || t === "[object Date]" || Er(e);
|
|
514
514
|
}
|
|
515
|
-
var
|
|
516
|
-
function
|
|
517
|
-
return e.$$typeof ===
|
|
515
|
+
var vr = typeof Symbol == "function" && Symbol.for, yr = vr ? Symbol.for("react.element") : 60103;
|
|
516
|
+
function Er(e) {
|
|
517
|
+
return e.$$typeof === yr;
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function xr(e) {
|
|
520
520
|
return Array.isArray(e) ? [] : {};
|
|
521
521
|
}
|
|
522
522
|
function de(e, t) {
|
|
523
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? K(
|
|
523
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(xr(e), e, t) : e;
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function _r(e, t, r) {
|
|
526
526
|
return e.concat(t).map(function(n) {
|
|
527
527
|
return de(n, r);
|
|
528
528
|
});
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function Sr(e, t) {
|
|
531
531
|
if (!t.customMerge)
|
|
532
532
|
return K;
|
|
533
533
|
var r = t.customMerge(e);
|
|
534
534
|
return typeof r == "function" ? r : K;
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function Tr(e) {
|
|
537
537
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
538
538
|
return Object.propertyIsEnumerable.call(e, t);
|
|
539
539
|
}) : [];
|
|
540
540
|
}
|
|
541
|
-
function
|
|
542
|
-
return Object.keys(e).concat(
|
|
541
|
+
function Ke(e) {
|
|
542
|
+
return Object.keys(e).concat(Tr(e));
|
|
543
543
|
}
|
|
544
|
-
function
|
|
544
|
+
function xt(e, t) {
|
|
545
545
|
try {
|
|
546
546
|
return t in e;
|
|
547
547
|
} catch {
|
|
548
548
|
return !1;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
function
|
|
552
|
-
return
|
|
551
|
+
function Hr(e, t) {
|
|
552
|
+
return xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function Br(e, t, r) {
|
|
555
555
|
var n = {};
|
|
556
|
-
return r.isMergeableObject(e) &&
|
|
556
|
+
return r.isMergeableObject(e) && Ke(e).forEach(function(i) {
|
|
557
557
|
n[i] = de(e[i], r);
|
|
558
|
-
}),
|
|
559
|
-
|
|
558
|
+
}), Ke(t).forEach(function(i) {
|
|
559
|
+
Hr(e, i) || (xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Sr(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
|
|
560
560
|
}), n;
|
|
561
561
|
}
|
|
562
562
|
function K(e, t, r) {
|
|
563
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
563
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || _r, r.isMergeableObject = r.isMergeableObject || pr, r.cloneUnlessOtherwiseSpecified = de;
|
|
564
564
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
565
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
565
|
+
return o ? n ? r.arrayMerge(e, t, r) : Br(e, t, r) : de(t, r);
|
|
566
566
|
}
|
|
567
567
|
K.all = function(t, r) {
|
|
568
568
|
if (!Array.isArray(t))
|
|
@@ -571,8 +571,8 @@ K.all = function(t, r) {
|
|
|
571
571
|
return K(n, i, r);
|
|
572
572
|
}, {});
|
|
573
573
|
};
|
|
574
|
-
var
|
|
575
|
-
const
|
|
574
|
+
var Ar = K, wr = Ar;
|
|
575
|
+
const Pr = /* @__PURE__ */ mr(wr);
|
|
576
576
|
/*! *****************************************************************************
|
|
577
577
|
Copyright (c) Microsoft Corporation.
|
|
578
578
|
|
|
@@ -630,55 +630,57 @@ function we(e, t, r) {
|
|
|
630
630
|
return e.concat(o || t);
|
|
631
631
|
}
|
|
632
632
|
function Pe(e, t) {
|
|
633
|
-
var r = t && t.cache ? t.cache : $r, n = t && t.serializer ? t.serializer :
|
|
633
|
+
var r = t && t.cache ? t.cache : $r, n = t && t.serializer ? t.serializer : Lr, i = t && t.strategy ? t.strategy : Nr;
|
|
634
634
|
return i(e, {
|
|
635
635
|
cache: r,
|
|
636
636
|
serializer: n
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function Ir(e) {
|
|
640
640
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
641
641
|
}
|
|
642
|
-
function
|
|
643
|
-
var i =
|
|
642
|
+
function _t(e, t, r, n) {
|
|
643
|
+
var i = Ir(n) ? n : r(n), o = t.get(i);
|
|
644
644
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function St(e, t, r) {
|
|
647
647
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
648
648
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
649
649
|
}
|
|
650
650
|
function We(e, t, r, n, i) {
|
|
651
651
|
return r.bind(t, e, n, i);
|
|
652
652
|
}
|
|
653
|
-
function
|
|
654
|
-
var r = e.length === 1 ?
|
|
653
|
+
function Nr(e, t) {
|
|
654
|
+
var r = e.length === 1 ? _t : St;
|
|
655
655
|
return We(e, this, r, t.cache.create(), t.serializer);
|
|
656
656
|
}
|
|
657
657
|
function Or(e, t) {
|
|
658
|
-
return We(e, this, Tt, t.cache.create(), t.serializer);
|
|
659
|
-
}
|
|
660
|
-
function Lr(e, t) {
|
|
661
658
|
return We(e, this, St, t.cache.create(), t.serializer);
|
|
662
659
|
}
|
|
663
|
-
|
|
664
|
-
return
|
|
665
|
-
};
|
|
666
|
-
function Ze() {
|
|
667
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
660
|
+
function Mr(e, t) {
|
|
661
|
+
return We(e, this, _t, t.cache.create(), t.serializer);
|
|
668
662
|
}
|
|
669
|
-
|
|
670
|
-
return
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
663
|
+
var Lr = function() {
|
|
664
|
+
return JSON.stringify(arguments);
|
|
665
|
+
}, Rr = (
|
|
666
|
+
/** @class */
|
|
667
|
+
function() {
|
|
668
|
+
function e() {
|
|
669
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
670
|
+
}
|
|
671
|
+
return e.prototype.get = function(t) {
|
|
672
|
+
return this.cache[t];
|
|
673
|
+
}, e.prototype.set = function(t, r) {
|
|
674
|
+
this.cache[t] = r;
|
|
675
|
+
}, e;
|
|
676
|
+
}()
|
|
677
|
+
), $r = {
|
|
676
678
|
create: function() {
|
|
677
|
-
return new
|
|
679
|
+
return new Rr();
|
|
678
680
|
}
|
|
679
|
-
},
|
|
681
|
+
}, Ce = {
|
|
680
682
|
variadic: Or,
|
|
681
|
-
monadic:
|
|
683
|
+
monadic: Mr
|
|
682
684
|
}, m;
|
|
683
685
|
(function(e) {
|
|
684
686
|
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";
|
|
@@ -691,31 +693,31 @@ var ee;
|
|
|
691
693
|
(function(e) {
|
|
692
694
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
693
695
|
})(ee || (ee = {}));
|
|
694
|
-
function
|
|
696
|
+
function et(e) {
|
|
695
697
|
return e.type === x.literal;
|
|
696
698
|
}
|
|
697
699
|
function Ur(e) {
|
|
698
700
|
return e.type === x.argument;
|
|
699
701
|
}
|
|
700
|
-
function
|
|
702
|
+
function Tt(e) {
|
|
701
703
|
return e.type === x.number;
|
|
702
704
|
}
|
|
703
|
-
function
|
|
705
|
+
function Ht(e) {
|
|
704
706
|
return e.type === x.date;
|
|
705
707
|
}
|
|
706
|
-
function
|
|
708
|
+
function Bt(e) {
|
|
707
709
|
return e.type === x.time;
|
|
708
710
|
}
|
|
709
|
-
function
|
|
711
|
+
function At(e) {
|
|
710
712
|
return e.type === x.select;
|
|
711
713
|
}
|
|
712
|
-
function
|
|
714
|
+
function wt(e) {
|
|
713
715
|
return e.type === x.plural;
|
|
714
716
|
}
|
|
715
717
|
function Dr(e) {
|
|
716
718
|
return e.type === x.pound;
|
|
717
719
|
}
|
|
718
|
-
function
|
|
720
|
+
function Pt(e) {
|
|
719
721
|
return e.type === x.tag;
|
|
720
722
|
}
|
|
721
723
|
function Ct(e) {
|
|
@@ -724,7 +726,7 @@ function Ct(e) {
|
|
|
724
726
|
function Ue(e) {
|
|
725
727
|
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
|
726
728
|
}
|
|
727
|
-
var
|
|
729
|
+
var It = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fr = /(?:[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;
|
|
728
730
|
function Gr(e) {
|
|
729
731
|
var t = {};
|
|
730
732
|
return e.replace(Fr, function(r) {
|
|
@@ -838,14 +840,14 @@ function jr(e) {
|
|
|
838
840
|
function Vr(e) {
|
|
839
841
|
return e.replace(/^(.*?)-/, "");
|
|
840
842
|
}
|
|
841
|
-
var
|
|
842
|
-
function
|
|
843
|
+
var tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ot = /^(0+)$/;
|
|
844
|
+
function rt(e) {
|
|
843
845
|
var t = {};
|
|
844
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
846
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nt, function(r, n, i) {
|
|
845
847
|
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)), "";
|
|
846
848
|
}), t;
|
|
847
849
|
}
|
|
848
|
-
function
|
|
850
|
+
function Mt(e) {
|
|
849
851
|
switch (e) {
|
|
850
852
|
case "sign-auto":
|
|
851
853
|
return {
|
|
@@ -899,8 +901,8 @@ function zr(e) {
|
|
|
899
901
|
}
|
|
900
902
|
return t;
|
|
901
903
|
}
|
|
902
|
-
function
|
|
903
|
-
var t = {}, r =
|
|
904
|
+
function nt(e) {
|
|
905
|
+
var t = {}, r = Mt(e);
|
|
904
906
|
return r || t;
|
|
905
907
|
}
|
|
906
908
|
function Wr(e) {
|
|
@@ -939,12 +941,12 @@ function Wr(e) {
|
|
|
939
941
|
continue;
|
|
940
942
|
case "scientific":
|
|
941
943
|
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
942
|
-
return v(v({}, h),
|
|
944
|
+
return v(v({}, h), nt(u));
|
|
943
945
|
}, {}));
|
|
944
946
|
continue;
|
|
945
947
|
case "engineering":
|
|
946
948
|
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
947
|
-
return v(v({}, h),
|
|
949
|
+
return v(v({}, h), nt(u));
|
|
948
950
|
}, {}));
|
|
949
951
|
continue;
|
|
950
952
|
case "notation-simple":
|
|
@@ -1006,21 +1008,21 @@ function Wr(e) {
|
|
|
1006
1008
|
t.minimumIntegerDigits = i.stem.length;
|
|
1007
1009
|
continue;
|
|
1008
1010
|
}
|
|
1009
|
-
if (
|
|
1011
|
+
if (tt.test(i.stem)) {
|
|
1010
1012
|
if (i.options.length > 1)
|
|
1011
1013
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1012
|
-
i.stem.replace(
|
|
1014
|
+
i.stem.replace(tt, function(h, u, l, c, d, g) {
|
|
1013
1015
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : d && g ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1014
1016
|
});
|
|
1015
1017
|
var o = i.options[0];
|
|
1016
|
-
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t),
|
|
1018
|
+
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), rt(o)));
|
|
1017
1019
|
continue;
|
|
1018
1020
|
}
|
|
1019
|
-
if (
|
|
1020
|
-
t = v(v({}, t),
|
|
1021
|
+
if (Nt.test(i.stem)) {
|
|
1022
|
+
t = v(v({}, t), rt(i.stem));
|
|
1021
1023
|
continue;
|
|
1022
1024
|
}
|
|
1023
|
-
var a =
|
|
1025
|
+
var a = Mt(i.stem);
|
|
1024
1026
|
a && (t = v(v({}, t), a));
|
|
1025
1027
|
var s = zr(i.stem);
|
|
1026
1028
|
s && (t = v(v({}, t), s));
|
|
@@ -2480,7 +2482,7 @@ function Jr(e) {
|
|
|
2480
2482
|
var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
|
|
2481
2483
|
return i[0];
|
|
2482
2484
|
}
|
|
2483
|
-
var
|
|
2485
|
+
var Ie, Qr = new RegExp("^".concat(It.source, "*")), qr = new RegExp("".concat(It.source, "*$"));
|
|
2484
2486
|
function b(e, t) {
|
|
2485
2487
|
return { start: e, end: t };
|
|
2486
2488
|
}
|
|
@@ -2488,12 +2490,12 @@ var Yr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kr = !!String
|
|
|
2488
2490
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2489
2491
|
}, De = !0;
|
|
2490
2492
|
try {
|
|
2491
|
-
var an =
|
|
2492
|
-
De = ((
|
|
2493
|
+
var an = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2494
|
+
De = ((Ie = an.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
|
|
2493
2495
|
} catch {
|
|
2494
2496
|
De = !1;
|
|
2495
2497
|
}
|
|
2496
|
-
var
|
|
2498
|
+
var it = Yr ? (
|
|
2497
2499
|
// Native
|
|
2498
2500
|
function(t, r, n) {
|
|
2499
2501
|
return t.startsWith(r, n);
|
|
@@ -2515,7 +2517,7 @@ var ot = Yr ? (
|
|
|
2515
2517
|
}
|
|
2516
2518
|
return n;
|
|
2517
2519
|
}
|
|
2518
|
-
),
|
|
2520
|
+
), ot = (
|
|
2519
2521
|
// native
|
|
2520
2522
|
en ? Object.fromEntries : (
|
|
2521
2523
|
// Ponyfill
|
|
@@ -2527,7 +2529,7 @@ var ot = Yr ? (
|
|
|
2527
2529
|
return r;
|
|
2528
2530
|
}
|
|
2529
2531
|
)
|
|
2530
|
-
),
|
|
2532
|
+
), Lt = tn ? (
|
|
2531
2533
|
// Native
|
|
2532
2534
|
function(t, r) {
|
|
2533
2535
|
return t.codePointAt(r);
|
|
@@ -2562,23 +2564,23 @@ var ot = Yr ? (
|
|
|
2562
2564
|
return t.replace(qr, "");
|
|
2563
2565
|
}
|
|
2564
2566
|
);
|
|
2565
|
-
function
|
|
2567
|
+
function Rt(e, t) {
|
|
2566
2568
|
return new RegExp(e, t);
|
|
2567
2569
|
}
|
|
2568
2570
|
var Ge;
|
|
2569
2571
|
if (De) {
|
|
2570
|
-
var
|
|
2572
|
+
var st = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2571
2573
|
Ge = function(t, r) {
|
|
2572
2574
|
var n;
|
|
2573
|
-
|
|
2574
|
-
var i =
|
|
2575
|
+
st.lastIndex = r;
|
|
2576
|
+
var i = st.exec(t);
|
|
2575
2577
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2576
2578
|
};
|
|
2577
2579
|
} else
|
|
2578
2580
|
Ge = function(t, r) {
|
|
2579
2581
|
for (var n = []; ; ) {
|
|
2580
|
-
var i =
|
|
2581
|
-
if (i === void 0 ||
|
|
2582
|
+
var i = Lt(t, r);
|
|
2583
|
+
if (i === void 0 || $t(i) || dn(i))
|
|
2582
2584
|
break;
|
|
2583
2585
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2584
2586
|
}
|
|
@@ -2792,7 +2794,7 @@ var hn = (
|
|
|
2792
2794
|
if (y.err)
|
|
2793
2795
|
return y;
|
|
2794
2796
|
var _ = b(i, this.clonePosition());
|
|
2795
|
-
if (u &&
|
|
2797
|
+
if (u && it(u?.style, "::", 0)) {
|
|
2796
2798
|
var T = un(u.style.slice(2));
|
|
2797
2799
|
if (s === "number") {
|
|
2798
2800
|
var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
@@ -2855,7 +2857,7 @@ var hn = (
|
|
|
2855
2857
|
val: {
|
|
2856
2858
|
type: x.select,
|
|
2857
2859
|
value: n,
|
|
2858
|
-
options:
|
|
2860
|
+
options: ot(D.val),
|
|
2859
2861
|
location: j
|
|
2860
2862
|
},
|
|
2861
2863
|
err: null
|
|
@@ -2863,7 +2865,7 @@ var hn = (
|
|
|
2863
2865
|
val: {
|
|
2864
2866
|
type: x.plural,
|
|
2865
2867
|
value: n,
|
|
2866
|
-
options:
|
|
2868
|
+
options: ot(D.val),
|
|
2867
2869
|
offset: N,
|
|
2868
2870
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2869
2871
|
location: j
|
|
@@ -2986,7 +2988,7 @@ var hn = (
|
|
|
2986
2988
|
var t = this.position.offset;
|
|
2987
2989
|
if (t >= this.message.length)
|
|
2988
2990
|
throw Error("out of bound");
|
|
2989
|
-
var r =
|
|
2991
|
+
var r = Lt(this.message, t);
|
|
2990
2992
|
if (r === void 0)
|
|
2991
2993
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
2992
2994
|
return r;
|
|
@@ -3005,7 +3007,7 @@ var hn = (
|
|
|
3005
3007
|
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);
|
|
3006
3008
|
}
|
|
3007
3009
|
}, e.prototype.bumpIf = function(t) {
|
|
3008
|
-
if (
|
|
3010
|
+
if (it(this.message, t, this.offset())) {
|
|
3009
3011
|
for (var r = 0; r < t.length; r++)
|
|
3010
3012
|
this.bump();
|
|
3011
3013
|
return !0;
|
|
@@ -3027,7 +3029,7 @@ var hn = (
|
|
|
3027
3029
|
break;
|
|
3028
3030
|
}
|
|
3029
3031
|
}, e.prototype.bumpSpace = function() {
|
|
3030
|
-
for (; !this.isEOF() &&
|
|
3032
|
+
for (; !this.isEOF() && $t(this.char()); )
|
|
3031
3033
|
this.bump();
|
|
3032
3034
|
}, e.prototype.peek = function() {
|
|
3033
3035
|
if (this.isEOF())
|
|
@@ -3046,7 +3048,7 @@ function cn(e) {
|
|
|
3046
3048
|
function fn(e) {
|
|
3047
3049
|
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;
|
|
3048
3050
|
}
|
|
3049
|
-
function
|
|
3051
|
+
function $t(e) {
|
|
3050
3052
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3051
3053
|
}
|
|
3052
3054
|
function dn(e) {
|
|
@@ -3054,11 +3056,11 @@ function dn(e) {
|
|
|
3054
3056
|
}
|
|
3055
3057
|
function je(e) {
|
|
3056
3058
|
e.forEach(function(t) {
|
|
3057
|
-
if (delete t.location,
|
|
3059
|
+
if (delete t.location, At(t) || wt(t))
|
|
3058
3060
|
for (var r in t.options)
|
|
3059
3061
|
delete t.options[r].location, je(t.options[r].value);
|
|
3060
3062
|
else
|
|
3061
|
-
|
|
3063
|
+
Tt(t) && Ct(t.style) || (Ht(t) || Bt(t)) && Ue(t.style) ? delete t.style.location : Pt(t) && je(t.children);
|
|
3062
3064
|
});
|
|
3063
3065
|
}
|
|
3064
3066
|
function mn(e, t) {
|
|
@@ -3086,7 +3088,7 @@ var Te = (
|
|
|
3086
3088
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3087
3089
|
}, t;
|
|
3088
3090
|
}(Error)
|
|
3089
|
-
),
|
|
3091
|
+
), at = (
|
|
3090
3092
|
/** @class */
|
|
3091
3093
|
function(e) {
|
|
3092
3094
|
Se(t, e);
|
|
@@ -3113,39 +3115,39 @@ var Te = (
|
|
|
3113
3115
|
}
|
|
3114
3116
|
return t;
|
|
3115
3117
|
}(Te)
|
|
3116
|
-
),
|
|
3118
|
+
), I;
|
|
3117
3119
|
(function(e) {
|
|
3118
3120
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3119
|
-
})(
|
|
3121
|
+
})(I || (I = {}));
|
|
3120
3122
|
function gn(e) {
|
|
3121
3123
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3122
3124
|
var n = t[t.length - 1];
|
|
3123
|
-
return !n || n.type !==
|
|
3125
|
+
return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
|
|
3124
3126
|
}, []);
|
|
3125
3127
|
}
|
|
3126
3128
|
function vn(e) {
|
|
3127
3129
|
return typeof e == "function";
|
|
3128
3130
|
}
|
|
3129
3131
|
function ve(e, t, r, n, i, o, a) {
|
|
3130
|
-
if (e.length === 1 &&
|
|
3132
|
+
if (e.length === 1 && et(e[0]))
|
|
3131
3133
|
return [
|
|
3132
3134
|
{
|
|
3133
|
-
type:
|
|
3135
|
+
type: I.literal,
|
|
3134
3136
|
value: e[0].value
|
|
3135
3137
|
}
|
|
3136
3138
|
];
|
|
3137
3139
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
3138
3140
|
var l = u[h];
|
|
3139
|
-
if (
|
|
3141
|
+
if (et(l)) {
|
|
3140
3142
|
s.push({
|
|
3141
|
-
type:
|
|
3143
|
+
type: I.literal,
|
|
3142
3144
|
value: l.value
|
|
3143
3145
|
});
|
|
3144
3146
|
continue;
|
|
3145
3147
|
}
|
|
3146
3148
|
if (Dr(l)) {
|
|
3147
3149
|
typeof o == "number" && s.push({
|
|
3148
|
-
type:
|
|
3150
|
+
type: I.literal,
|
|
3149
3151
|
value: r.getNumberFormat(t).format(o)
|
|
3150
3152
|
});
|
|
3151
3153
|
continue;
|
|
@@ -3156,36 +3158,36 @@ function ve(e, t, r, n, i, o, a) {
|
|
|
3156
3158
|
var d = i[c];
|
|
3157
3159
|
if (Ur(l)) {
|
|
3158
3160
|
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
|
|
3159
|
-
type: typeof d == "string" ?
|
|
3161
|
+
type: typeof d == "string" ? I.literal : I.object,
|
|
3160
3162
|
value: d
|
|
3161
3163
|
});
|
|
3162
3164
|
continue;
|
|
3163
3165
|
}
|
|
3164
|
-
if (
|
|
3166
|
+
if (Ht(l)) {
|
|
3165
3167
|
var g = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
|
|
3166
3168
|
s.push({
|
|
3167
|
-
type:
|
|
3169
|
+
type: I.literal,
|
|
3168
3170
|
value: r.getDateTimeFormat(t, g).format(d)
|
|
3169
3171
|
});
|
|
3170
3172
|
continue;
|
|
3171
3173
|
}
|
|
3172
|
-
if (
|
|
3174
|
+
if (Bt(l)) {
|
|
3173
3175
|
var g = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3174
3176
|
s.push({
|
|
3175
|
-
type:
|
|
3177
|
+
type: I.literal,
|
|
3176
3178
|
value: r.getDateTimeFormat(t, g).format(d)
|
|
3177
3179
|
});
|
|
3178
3180
|
continue;
|
|
3179
3181
|
}
|
|
3180
|
-
if (
|
|
3182
|
+
if (Tt(l)) {
|
|
3181
3183
|
var g = typeof l.style == "string" ? n.number[l.style] : Ct(l.style) ? l.style.parsedOptions : void 0;
|
|
3182
3184
|
g && g.scale && (d = d * (g.scale || 1)), s.push({
|
|
3183
|
-
type:
|
|
3185
|
+
type: I.literal,
|
|
3184
3186
|
value: r.getNumberFormat(t, g).format(d)
|
|
3185
3187
|
});
|
|
3186
3188
|
continue;
|
|
3187
3189
|
}
|
|
3188
|
-
if (
|
|
3190
|
+
if (Pt(l)) {
|
|
3189
3191
|
var y = l.children, _ = l.value, T = i[_];
|
|
3190
3192
|
if (!vn(T))
|
|
3191
3193
|
throw new pn(_, "function", a);
|
|
@@ -3194,19 +3196,19 @@ function ve(e, t, r, n, i, o, a) {
|
|
|
3194
3196
|
}));
|
|
3195
3197
|
Array.isArray(L) || (L = [L]), s.push.apply(s, L.map(function(N) {
|
|
3196
3198
|
return {
|
|
3197
|
-
type: typeof N == "string" ?
|
|
3199
|
+
type: typeof N == "string" ? I.literal : I.object,
|
|
3198
3200
|
value: N
|
|
3199
3201
|
};
|
|
3200
3202
|
}));
|
|
3201
3203
|
}
|
|
3202
|
-
if (
|
|
3204
|
+
if (At(l)) {
|
|
3203
3205
|
var A = l.options[d] || l.options.other;
|
|
3204
3206
|
if (!A)
|
|
3205
|
-
throw new
|
|
3207
|
+
throw new at(l.value, d, Object.keys(l.options), a);
|
|
3206
3208
|
s.push.apply(s, ve(A.value, t, r, n, i));
|
|
3207
3209
|
continue;
|
|
3208
3210
|
}
|
|
3209
|
-
if (
|
|
3211
|
+
if (wt(l)) {
|
|
3210
3212
|
var A = l.options["=".concat(d)];
|
|
3211
3213
|
if (!A) {
|
|
3212
3214
|
if (!Intl.PluralRules)
|
|
@@ -3217,7 +3219,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3217
3219
|
A = l.options[S] || l.options.other;
|
|
3218
3220
|
}
|
|
3219
3221
|
if (!A)
|
|
3220
|
-
throw new
|
|
3222
|
+
throw new at(l.value, d, Object.keys(l.options), a);
|
|
3221
3223
|
s.push.apply(s, ve(A.value, t, r, n, i, d - (l.offset || 0)));
|
|
3222
3224
|
continue;
|
|
3223
3225
|
}
|
|
@@ -3260,7 +3262,7 @@ function xn(e) {
|
|
|
3260
3262
|
return new ((t = Intl.NumberFormat).bind.apply(t, we([void 0], r, !1)))();
|
|
3261
3263
|
}, {
|
|
3262
3264
|
cache: Ne(e.number),
|
|
3263
|
-
strategy:
|
|
3265
|
+
strategy: Ce.variadic
|
|
3264
3266
|
}),
|
|
3265
3267
|
getDateTimeFormat: Pe(function() {
|
|
3266
3268
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
@@ -3268,7 +3270,7 @@ function xn(e) {
|
|
|
3268
3270
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, we([void 0], r, !1)))();
|
|
3269
3271
|
}, {
|
|
3270
3272
|
cache: Ne(e.dateTime),
|
|
3271
|
-
strategy:
|
|
3273
|
+
strategy: Ce.variadic
|
|
3272
3274
|
}),
|
|
3273
3275
|
getPluralRules: Pe(function() {
|
|
3274
3276
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
@@ -3276,7 +3278,7 @@ function xn(e) {
|
|
|
3276
3278
|
return new ((t = Intl.PluralRules).bind.apply(t, we([void 0], r, !1)))();
|
|
3277
3279
|
}, {
|
|
3278
3280
|
cache: Ne(e.pluralRules),
|
|
3279
|
-
strategy:
|
|
3281
|
+
strategy: Ce.variadic
|
|
3280
3282
|
})
|
|
3281
3283
|
};
|
|
3282
3284
|
}
|
|
@@ -3295,7 +3297,7 @@ var _n = (
|
|
|
3295
3297
|
if (u.length === 1)
|
|
3296
3298
|
return u[0].value;
|
|
3297
3299
|
var l = u.reduce(function(c, d) {
|
|
3298
|
-
return !c.length || d.type !==
|
|
3300
|
+
return !c.length || d.type !== I.literal || typeof c[c.length - 1] != "string" ? c.push(d.value) : c[c.length - 1] += d.value, c;
|
|
3299
3301
|
}, []);
|
|
3300
3302
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3301
3303
|
}, this.formatToParts = function(h) {
|
|
@@ -3413,7 +3415,7 @@ function Sn(e, t) {
|
|
|
3413
3415
|
n = void 0;
|
|
3414
3416
|
return n;
|
|
3415
3417
|
}
|
|
3416
|
-
const G = {}, Tn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r),
|
|
3418
|
+
const G = {}, Tn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Ut = (e, t) => {
|
|
3417
3419
|
if (t == null)
|
|
3418
3420
|
return;
|
|
3419
3421
|
if (t in G && e in G[t])
|
|
@@ -3425,16 +3427,16 @@ const G = {}, Tn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][
|
|
|
3425
3427
|
return Tn(e, t, o);
|
|
3426
3428
|
}
|
|
3427
3429
|
};
|
|
3428
|
-
let
|
|
3430
|
+
let Ze;
|
|
3429
3431
|
const oe = _e({});
|
|
3430
3432
|
function Hn(e) {
|
|
3431
|
-
return
|
|
3433
|
+
return Ze[e] || null;
|
|
3432
3434
|
}
|
|
3433
|
-
function
|
|
3434
|
-
return e in
|
|
3435
|
+
function Dt(e) {
|
|
3436
|
+
return e in Ze;
|
|
3435
3437
|
}
|
|
3436
3438
|
function Bn(e, t) {
|
|
3437
|
-
if (!
|
|
3439
|
+
if (!Dt(e))
|
|
3438
3440
|
return null;
|
|
3439
3441
|
const r = Hn(e);
|
|
3440
3442
|
return Sn(r, t);
|
|
@@ -3445,28 +3447,28 @@ function An(e) {
|
|
|
3445
3447
|
const t = He(e);
|
|
3446
3448
|
for (let r = 0; r < t.length; r++) {
|
|
3447
3449
|
const n = t[r];
|
|
3448
|
-
if (
|
|
3450
|
+
if (Dt(n))
|
|
3449
3451
|
return n;
|
|
3450
3452
|
}
|
|
3451
3453
|
}
|
|
3452
|
-
function
|
|
3453
|
-
delete G[e], oe.update((r) => (r[e] =
|
|
3454
|
+
function Ft(e, ...t) {
|
|
3455
|
+
delete G[e], oe.update((r) => (r[e] = Pr.all([r[e] || {}, ...t]), r));
|
|
3454
3456
|
}
|
|
3455
3457
|
ie(
|
|
3456
3458
|
[oe],
|
|
3457
3459
|
([e]) => Object.keys(e)
|
|
3458
3460
|
);
|
|
3459
|
-
oe.subscribe((e) =>
|
|
3461
|
+
oe.subscribe((e) => Ze = e);
|
|
3460
3462
|
const ye = {};
|
|
3461
3463
|
function wn(e, t) {
|
|
3462
3464
|
ye[e].delete(t), ye[e].size === 0 && delete ye[e];
|
|
3463
3465
|
}
|
|
3464
|
-
function
|
|
3466
|
+
function Gt(e) {
|
|
3465
3467
|
return ye[e];
|
|
3466
3468
|
}
|
|
3467
3469
|
function Pn(e) {
|
|
3468
3470
|
return He(e).map((t) => {
|
|
3469
|
-
const r =
|
|
3471
|
+
const r = Gt(t);
|
|
3470
3472
|
return [t, r ? [...r] : []];
|
|
3471
3473
|
}).filter(([, t]) => t.length > 0);
|
|
3472
3474
|
}
|
|
@@ -3474,31 +3476,31 @@ function Ve(e) {
|
|
|
3474
3476
|
return e == null ? !1 : He(e).some(
|
|
3475
3477
|
(t) => {
|
|
3476
3478
|
var r;
|
|
3477
|
-
return (r =
|
|
3479
|
+
return (r = Gt(t)) == null ? void 0 : r.size;
|
|
3478
3480
|
}
|
|
3479
3481
|
);
|
|
3480
3482
|
}
|
|
3481
|
-
function
|
|
3483
|
+
function Cn(e, t) {
|
|
3482
3484
|
return Promise.all(
|
|
3483
3485
|
t.map((n) => (wn(e, n), n().then((i) => i.default || i)))
|
|
3484
|
-
).then((n) =>
|
|
3486
|
+
).then((n) => Ft(e, ...n));
|
|
3485
3487
|
}
|
|
3486
3488
|
const he = {};
|
|
3487
|
-
function
|
|
3489
|
+
function kt(e) {
|
|
3488
3490
|
if (!Ve(e))
|
|
3489
3491
|
return e in he ? he[e] : Promise.resolve();
|
|
3490
3492
|
const t = Pn(e);
|
|
3491
3493
|
return he[e] = Promise.all(
|
|
3492
3494
|
t.map(
|
|
3493
|
-
([r, n]) =>
|
|
3495
|
+
([r, n]) => Cn(r, n)
|
|
3494
3496
|
)
|
|
3495
3497
|
).then(() => {
|
|
3496
3498
|
if (Ve(e))
|
|
3497
|
-
return
|
|
3499
|
+
return kt(e);
|
|
3498
3500
|
delete he[e];
|
|
3499
3501
|
}), he[e];
|
|
3500
3502
|
}
|
|
3501
|
-
const
|
|
3503
|
+
const In = {
|
|
3502
3504
|
number: {
|
|
3503
3505
|
scientific: { notation: "scientific" },
|
|
3504
3506
|
engineering: { notation: "engineering" },
|
|
@@ -3530,31 +3532,31 @@ const Cn = {
|
|
|
3530
3532
|
}, Nn = {
|
|
3531
3533
|
fallbackLocale: null,
|
|
3532
3534
|
loadingDelay: 200,
|
|
3533
|
-
formats:
|
|
3535
|
+
formats: In,
|
|
3534
3536
|
warnOnMissingMessages: !0,
|
|
3535
3537
|
handleMissingMessage: void 0,
|
|
3536
3538
|
ignoreTag: !0
|
|
3537
|
-
},
|
|
3539
|
+
}, On = Nn;
|
|
3538
3540
|
function re() {
|
|
3539
|
-
return
|
|
3540
|
-
}
|
|
3541
|
-
const
|
|
3542
|
-
var
|
|
3543
|
-
for (var r in t
|
|
3544
|
-
$n.call(t, r) &&
|
|
3545
|
-
if (
|
|
3546
|
-
for (var r of
|
|
3547
|
-
Un.call(t, r) &&
|
|
3541
|
+
return On;
|
|
3542
|
+
}
|
|
3543
|
+
const Oe = _e(!1);
|
|
3544
|
+
var Mn = Object.defineProperty, Ln = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, ut = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dn = (e, t) => {
|
|
3545
|
+
for (var r in t)
|
|
3546
|
+
$n.call(t, r) && lt(e, r, t[r]);
|
|
3547
|
+
if (ut)
|
|
3548
|
+
for (var r of ut(t))
|
|
3549
|
+
Un.call(t, r) && lt(e, r, t[r]);
|
|
3548
3550
|
return e;
|
|
3549
3551
|
}, Fn = (e, t) => Ln(e, Rn(t));
|
|
3550
3552
|
let Xe;
|
|
3551
3553
|
const Ee = _e(null);
|
|
3552
|
-
function
|
|
3554
|
+
function ht(e) {
|
|
3553
3555
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3554
3556
|
}
|
|
3555
3557
|
function He(e, t = re().fallbackLocale) {
|
|
3556
|
-
const r =
|
|
3557
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3558
|
+
const r = ht(e);
|
|
3559
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
|
|
3558
3560
|
}
|
|
3559
3561
|
function Z() {
|
|
3560
3562
|
return Xe ?? void 0;
|
|
@@ -3567,12 +3569,12 @@ const Gn = (e) => {
|
|
|
3567
3569
|
const { loadingDelay: t } = re();
|
|
3568
3570
|
let r;
|
|
3569
3571
|
return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
|
|
3570
|
-
() =>
|
|
3572
|
+
() => Oe.set(!0),
|
|
3571
3573
|
t
|
|
3572
|
-
) :
|
|
3574
|
+
) : Oe.set(!0), kt(e).then(() => {
|
|
3573
3575
|
Ee.set(e);
|
|
3574
3576
|
}).finally(() => {
|
|
3575
|
-
clearTimeout(r),
|
|
3577
|
+
clearTimeout(r), Oe.set(!1);
|
|
3576
3578
|
});
|
|
3577
3579
|
}
|
|
3578
3580
|
return Ee.set(e);
|
|
@@ -3585,20 +3587,20 @@ const Gn = (e) => {
|
|
|
3585
3587
|
return i in t ? t[i] : t[i] = e(n);
|
|
3586
3588
|
};
|
|
3587
3589
|
};
|
|
3588
|
-
var kn = Object.defineProperty, xe = Object.getOwnPropertySymbols,
|
|
3590
|
+
var kn = Object.defineProperty, xe = Object.getOwnPropertySymbols, jt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
|
|
3589
3591
|
for (var r in t || (t = {}))
|
|
3590
|
-
|
|
3592
|
+
jt.call(t, r) && ct(e, r, t[r]);
|
|
3591
3593
|
if (xe)
|
|
3592
3594
|
for (var r of xe(t))
|
|
3593
|
-
|
|
3595
|
+
Vt.call(t, r) && ct(e, r, t[r]);
|
|
3594
3596
|
return e;
|
|
3595
3597
|
}, se = (e, t) => {
|
|
3596
3598
|
var r = {};
|
|
3597
3599
|
for (var n in e)
|
|
3598
|
-
|
|
3600
|
+
jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3599
3601
|
if (e != null && xe)
|
|
3600
3602
|
for (var n of xe(e))
|
|
3601
|
-
t.indexOf(n) < 0 &&
|
|
3603
|
+
t.indexOf(n) < 0 && Vt.call(e, n) && (r[n] = e[n]);
|
|
3602
3604
|
return r;
|
|
3603
3605
|
};
|
|
3604
3606
|
const me = (e, t) => {
|
|
@@ -3635,21 +3637,21 @@ const me = (e, t) => {
|
|
|
3635
3637
|
} = t, n = se(t, [
|
|
3636
3638
|
"locale"
|
|
3637
3639
|
]);
|
|
3638
|
-
return jn(
|
|
3640
|
+
return jn(Je({ locale: r }, n));
|
|
3639
3641
|
}, Wn = (e = {}) => {
|
|
3640
3642
|
var t = e, {
|
|
3641
3643
|
locale: r = Z()
|
|
3642
3644
|
} = t, n = se(t, [
|
|
3643
3645
|
"locale"
|
|
3644
3646
|
]);
|
|
3645
|
-
return Vn(
|
|
3647
|
+
return Vn(Je({ locale: r }, n));
|
|
3646
3648
|
}, Zn = (e = {}) => {
|
|
3647
3649
|
var t = e, {
|
|
3648
3650
|
locale: r = Z()
|
|
3649
3651
|
} = t, n = se(t, [
|
|
3650
3652
|
"locale"
|
|
3651
3653
|
]);
|
|
3652
|
-
return Xn(
|
|
3654
|
+
return Xn(Je({ locale: r }, n));
|
|
3653
3655
|
}, Jn = Be(
|
|
3654
3656
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3655
3657
|
(e, t = Z()) => new _n(e, t, re().formats, {
|
|
@@ -3668,7 +3670,7 @@ const me = (e, t) => {
|
|
|
3668
3670
|
throw new Error(
|
|
3669
3671
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3670
3672
|
);
|
|
3671
|
-
let l =
|
|
3673
|
+
let l = Ut(e, h);
|
|
3672
3674
|
if (!l)
|
|
3673
3675
|
l = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
3674
3676
|
else if (typeof l != "string")
|
|
@@ -3687,7 +3689,7 @@ const me = (e, t) => {
|
|
|
3687
3689
|
);
|
|
3688
3690
|
}
|
|
3689
3691
|
return c;
|
|
3690
|
-
}, qn = (e, t) => Zn(t).format(e), Yn = (e, t) => Wn(t).format(e), Kn = (e, t) => zn(t).format(e), ei = (e, t = Z()) =>
|
|
3692
|
+
}, qn = (e, t) => Zn(t).format(e), Yn = (e, t) => Wn(t).format(e), Kn = (e, t) => zn(t).format(e), ei = (e, t = Z()) => Ut(e, t), ti = ie([z, oe], () => Qn);
|
|
3691
3693
|
ie([z], () => qn);
|
|
3692
3694
|
ie([z], () => Yn);
|
|
3693
3695
|
ie([z], () => Kn);
|
|
@@ -3697,10 +3699,10 @@ function ri({ withLocale: e, translations: t }) {
|
|
|
3697
3699
|
r == null && (oe.set(t), z.set(e));
|
|
3698
3700
|
});
|
|
3699
3701
|
}
|
|
3700
|
-
function
|
|
3701
|
-
|
|
3702
|
+
function ft(e, t) {
|
|
3703
|
+
Ft(e, t);
|
|
3702
3704
|
}
|
|
3703
|
-
const
|
|
3705
|
+
const dt = {
|
|
3704
3706
|
en: {
|
|
3705
3707
|
title: "Please enter the verification code you received on your number",
|
|
3706
3708
|
errorTitle: "Your code was invalid, you can resend the code and try again",
|
|
@@ -3831,7 +3833,7 @@ function oi(e, t, r) {
|
|
|
3831
3833
|
}
|
|
3832
3834
|
}
|
|
3833
3835
|
function si(e) {
|
|
3834
|
-
|
|
3836
|
+
Wt(e, "svelte-c25n4u", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Title{font-size:14px;margin:0;padding-bottom:20px}.Field{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.Field label{font-size:14px;font-weight:300;padding-bottom:5px}.Field input,.Field select{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.Field.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.Field.Hidden{display:none}.LoginSMSHint{margin-top:20px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.Button{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.Button[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed}.Button.SmsVerificationResend{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A))}");
|
|
3835
3837
|
}
|
|
3836
3838
|
function ai(e) {
|
|
3837
3839
|
let t = (
|
|
@@ -3840,7 +3842,7 @@ function ai(e) {
|
|
|
3840
3842
|
), r;
|
|
3841
3843
|
return {
|
|
3842
3844
|
c() {
|
|
3843
|
-
r =
|
|
3845
|
+
r = M(t);
|
|
3844
3846
|
},
|
|
3845
3847
|
m(n, i) {
|
|
3846
3848
|
W(n, r, i);
|
|
@@ -3862,7 +3864,7 @@ function ui(e) {
|
|
|
3862
3864
|
), r;
|
|
3863
3865
|
return {
|
|
3864
3866
|
c() {
|
|
3865
|
-
r =
|
|
3867
|
+
r = M(t);
|
|
3866
3868
|
},
|
|
3867
3869
|
m(n, i) {
|
|
3868
3870
|
W(n, r, i);
|
|
@@ -3877,14 +3879,14 @@ function ui(e) {
|
|
|
3877
3879
|
}
|
|
3878
3880
|
};
|
|
3879
3881
|
}
|
|
3880
|
-
function
|
|
3882
|
+
function mt(e) {
|
|
3881
3883
|
let t, r = (
|
|
3882
3884
|
/*$_*/
|
|
3883
3885
|
e[5]("smsCodeError") + ""
|
|
3884
3886
|
), n;
|
|
3885
3887
|
return {
|
|
3886
3888
|
c() {
|
|
3887
|
-
t =
|
|
3889
|
+
t = O("p"), n = M(r), B(t, "class", "InvalidInput");
|
|
3888
3890
|
},
|
|
3889
3891
|
m(i, o) {
|
|
3890
3892
|
W(i, t, o), E(t, n);
|
|
@@ -3899,14 +3901,14 @@ function pt(e) {
|
|
|
3899
3901
|
}
|
|
3900
3902
|
};
|
|
3901
3903
|
}
|
|
3902
|
-
function
|
|
3904
|
+
function pt(e) {
|
|
3903
3905
|
let t, r = (
|
|
3904
3906
|
/*$_*/
|
|
3905
3907
|
e[5]("resendMessage") + ""
|
|
3906
3908
|
), n;
|
|
3907
3909
|
return {
|
|
3908
3910
|
c() {
|
|
3909
|
-
t =
|
|
3911
|
+
t = O("p"), n = M(r), B(t, "class", "SmsVerificationResendMessage");
|
|
3910
3912
|
},
|
|
3911
3913
|
m(i, o) {
|
|
3912
3914
|
W(i, t, o), E(t, n);
|
|
@@ -3921,17 +3923,17 @@ function bt(e) {
|
|
|
3921
3923
|
}
|
|
3922
3924
|
};
|
|
3923
3925
|
}
|
|
3924
|
-
function
|
|
3926
|
+
function bt(e) {
|
|
3925
3927
|
let t, r, n = (
|
|
3926
3928
|
/*secondsLeft*/
|
|
3927
3929
|
e[4] < 10 ? "0" : ""
|
|
3928
3930
|
), i, o, a;
|
|
3929
3931
|
return {
|
|
3930
3932
|
c() {
|
|
3931
|
-
t =
|
|
3933
|
+
t = O("span"), r = M("(0:"), i = M(n), o = M(
|
|
3932
3934
|
/*secondsLeft*/
|
|
3933
3935
|
e[4]
|
|
3934
|
-
), a =
|
|
3936
|
+
), a = M(")"), B(t, "class", "SmsVerificationResendTimer");
|
|
3935
3937
|
},
|
|
3936
3938
|
m(s, h) {
|
|
3937
3939
|
W(s, t, h), E(t, r), E(t, i), E(t, o), E(t, a);
|
|
@@ -3962,28 +3964,28 @@ function li(e) {
|
|
|
3962
3964
|
/*$_*/
|
|
3963
3965
|
e[5]("resend") + ""
|
|
3964
3966
|
), D, j, ae, ue;
|
|
3965
|
-
function le(p,
|
|
3967
|
+
function le(p, C) {
|
|
3966
3968
|
return (
|
|
3967
3969
|
/*isSmsValid*/
|
|
3968
3970
|
p[2] ? ui : ai
|
|
3969
3971
|
);
|
|
3970
3972
|
}
|
|
3971
3973
|
let V = le(e), R = V(e), w = !/*isSmsValid*/
|
|
3972
|
-
e[2] &&
|
|
3974
|
+
e[2] && mt(e), P = (
|
|
3973
3975
|
/*timer*/
|
|
3974
|
-
e[3] &&
|
|
3976
|
+
e[3] && pt(e)
|
|
3975
3977
|
), f = (
|
|
3976
3978
|
/*timer*/
|
|
3977
|
-
e[3] &&
|
|
3979
|
+
e[3] && bt(e)
|
|
3978
3980
|
);
|
|
3979
3981
|
return {
|
|
3980
3982
|
c() {
|
|
3981
|
-
t =
|
|
3983
|
+
t = O("div"), r = O("h3"), R.c(), n = X(), i = O("div"), o = O("label"), s = M(a), h = M(":"), u = O("span"), u.textContent = "*", l = X(), c = O("input"), d = X(), w && w.c(), y = X(), P && P.c(), _ = X(), T = O("button"), L = M(H), A = X(), S = O("button"), D = M(N), j = X(), f && f.c(), B(r, "class", "Title"), B(u, "class", "FormRequired"), B(o, "for", "SmsCode"), B(c, "type", "text"), B(c, "id", "SmsCode"), B(c, "inputmode", "numeric"), B(c, "pattern", "[0-9]*"), B(c, "maxlength", "6"), B(i, "class", g = "Field SmsVerificationField " + (/*isSmsValid*/
|
|
3982
3984
|
e[2] ? "" : "InvalidField")), B(T, "class", "Button SmsVerificationValidate"), B(S, "class", "Button SmsVerificationResend"), S.disabled = /*timer*/
|
|
3983
3985
|
e[3], B(t, "class", "Container SmsVerificationContainer");
|
|
3984
3986
|
},
|
|
3985
|
-
m(p,
|
|
3986
|
-
W(p, t,
|
|
3987
|
+
m(p, C) {
|
|
3988
|
+
W(p, t, C), E(t, r), R.m(r, null), E(t, n), E(t, i), E(i, o), E(o, s), E(o, h), E(o, u), E(i, l), E(i, c), qe(
|
|
3987
3989
|
c,
|
|
3988
3990
|
/*smsCode*/
|
|
3989
3991
|
e[1]
|
|
@@ -4014,25 +4016,25 @@ function li(e) {
|
|
|
4014
4016
|
)
|
|
4015
4017
|
], ae = !0);
|
|
4016
4018
|
},
|
|
4017
|
-
p(p, [
|
|
4018
|
-
V === (V = le(p)) && R ? R.p(p,
|
|
4019
|
+
p(p, [C]) {
|
|
4020
|
+
V === (V = le(p)) && R ? R.p(p, C) : (R.d(1), R = V(p), R && (R.c(), R.m(r, null))), C & /*$_*/
|
|
4019
4021
|
32 && a !== (a = /*$_*/
|
|
4020
|
-
p[5]("code") + "") && F(s, a),
|
|
4022
|
+
p[5]("code") + "") && F(s, a), C & /*smsCode*/
|
|
4021
4023
|
2 && c.value !== /*smsCode*/
|
|
4022
|
-
p[1] &&
|
|
4024
|
+
p[1] && qe(
|
|
4023
4025
|
c,
|
|
4024
4026
|
/*smsCode*/
|
|
4025
4027
|
p[1]
|
|
4026
4028
|
), /*isSmsValid*/
|
|
4027
|
-
p[2] ? w && (w.d(1), w = null) : w ? w.p(p,
|
|
4029
|
+
p[2] ? w && (w.d(1), w = null) : w ? w.p(p, C) : (w = mt(p), w.c(), w.m(i, null)), C & /*isSmsValid*/
|
|
4028
4030
|
4 && g !== (g = "Field SmsVerificationField " + (/*isSmsValid*/
|
|
4029
4031
|
p[2] ? "" : "InvalidField")) && B(i, "class", g), /*timer*/
|
|
4030
|
-
p[3] ? P ? P.p(p,
|
|
4032
|
+
p[3] ? P ? P.p(p, C) : (P = pt(p), P.c(), P.m(t, _)) : P && (P.d(1), P = null), C & /*$_*/
|
|
4031
4033
|
32 && H !== (H = /*$_*/
|
|
4032
|
-
p[5]("activate") + "") && F(L, H),
|
|
4034
|
+
p[5]("activate") + "") && F(L, H), C & /*$_*/
|
|
4033
4035
|
32 && N !== (N = /*$_*/
|
|
4034
4036
|
p[5]("resend") + "") && F(D, N), /*timer*/
|
|
4035
|
-
p[3] ? f ? f.p(p,
|
|
4037
|
+
p[3] ? f ? f.p(p, C) : (f = bt(p), f.c(), f.m(S, null)) : f && (f.d(1), f = null), C & /*timer*/
|
|
4036
4038
|
8 && (S.disabled = /*timer*/
|
|
4037
4039
|
p[3]);
|
|
4038
4040
|
},
|
|
@@ -4045,21 +4047,21 @@ function li(e) {
|
|
|
4045
4047
|
}
|
|
4046
4048
|
function hi(e, t, r) {
|
|
4047
4049
|
let n;
|
|
4048
|
-
|
|
4050
|
+
zt(e, ti, (f) => r(5, n = f));
|
|
4049
4051
|
let { endpoint: i = "" } = t, { tokenid: o = "" } = t, { playerid: a = "" } = t, { smstemplate: s = "Please use this code {0} to activate your accout" } = t, { number: h = "" } = t, { mbsource: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: d = "" } = t, g, y = !0, _ = !1, T, H, L = +localStorage.getItem("smsTimer") || 0, A = Date.now() / 1e3 - L, S = 60 - Math.floor(A);
|
|
4050
4052
|
const N = { numeric: /^[0-9]{0,6}$/ };
|
|
4051
4053
|
ri({ withLocale: "en", translations: {} });
|
|
4052
4054
|
const D = () => {
|
|
4053
4055
|
fetch(d).then((p) => p.json()).then((p) => {
|
|
4054
|
-
Object.keys(p).forEach((
|
|
4055
|
-
|
|
4056
|
+
Object.keys(p).forEach((C) => {
|
|
4057
|
+
ft(C, p[C]);
|
|
4056
4058
|
});
|
|
4057
4059
|
}).catch((p) => {
|
|
4058
4060
|
console.log(p);
|
|
4059
4061
|
});
|
|
4060
4062
|
};
|
|
4061
|
-
Object.keys(
|
|
4062
|
-
|
|
4063
|
+
Object.keys(dt).forEach((f) => {
|
|
4064
|
+
ft(f, dt[f]);
|
|
4063
4065
|
});
|
|
4064
4066
|
const j = async () => {
|
|
4065
4067
|
try {
|
|
@@ -4118,7 +4120,7 @@ function hi(e, t, r) {
|
|
|
4118
4120
|
}, V = (f) => {
|
|
4119
4121
|
!N.numeric.test(f.key) && f.keyCode !== 8 && f.keyCode !== 9 && f.keyCode !== 46 && f.preventDefault();
|
|
4120
4122
|
};
|
|
4121
|
-
|
|
4123
|
+
Kt(() => {
|
|
4122
4124
|
if (!a || !h) {
|
|
4123
4125
|
let f = JSON.parse(localStorage.getItem("playerData"));
|
|
4124
4126
|
r(10, a = f.playerid), r(11, h = f.number);
|
|
@@ -4131,7 +4133,7 @@ function hi(e, t, r) {
|
|
|
4131
4133
|
}
|
|
4132
4134
|
const w = (f) => V(f);
|
|
4133
4135
|
function P(f) {
|
|
4134
|
-
|
|
4136
|
+
Me[f ? "unshift" : "push"](() => {
|
|
4135
4137
|
H = f, r(0, H);
|
|
4136
4138
|
});
|
|
4137
4139
|
}
|
|
@@ -4168,14 +4170,14 @@ function hi(e, t, r) {
|
|
|
4168
4170
|
P
|
|
4169
4171
|
];
|
|
4170
4172
|
}
|
|
4171
|
-
class ci extends
|
|
4173
|
+
class ci extends cr {
|
|
4172
4174
|
constructor(t) {
|
|
4173
|
-
super(),
|
|
4175
|
+
super(), lr(
|
|
4174
4176
|
this,
|
|
4175
4177
|
t,
|
|
4176
4178
|
hi,
|
|
4177
4179
|
li,
|
|
4178
|
-
|
|
4180
|
+
vt,
|
|
4179
4181
|
{
|
|
4180
4182
|
endpoint: 12,
|
|
4181
4183
|
tokenid: 9,
|
|
@@ -4245,7 +4247,7 @@ class ci extends fr {
|
|
|
4245
4247
|
this.$$set({ translationurl: t }), $();
|
|
4246
4248
|
}
|
|
4247
4249
|
}
|
|
4248
|
-
|
|
4250
|
+
hr(ci, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4249
4251
|
export {
|
|
4250
4252
|
ci as G
|
|
4251
4253
|
};
|