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