@everymatrix/general-player-sms-verification-form 1.45.0 → 1.45.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralPlayerSmsVerificationForm-Bld7c3oG.js → GeneralPlayerSmsVerificationForm-Be513Gma.js} +142 -142
- package/components/{GeneralPlayerSmsVerificationForm-D_Ls9pi0.cjs → GeneralPlayerSmsVerificationForm-Dmddxcjp.cjs} +2 -2
- package/es2015/general-player-sms-verification-form.cjs +1 -1
- package/es2015/general-player-sms-verification-form.js +1 -1
- package/package.json +2 -2
|
@@ -59,7 +59,7 @@ function Bt(e, ...t) {
|
|
|
59
59
|
function or(e, t, r) {
|
|
60
60
|
e.$$.on_destroy.push(Bt(t, r));
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function E(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
65
|
function sr(e, t, r) {
|
|
@@ -79,7 +79,7 @@ function ar(e) {
|
|
|
79
79
|
) : e.ownerDocument;
|
|
80
80
|
}
|
|
81
81
|
function ur(e, t) {
|
|
82
|
-
return
|
|
82
|
+
return E(
|
|
83
83
|
/** @type {Document} */
|
|
84
84
|
e.head || e,
|
|
85
85
|
t
|
|
@@ -103,13 +103,13 @@ function z() {
|
|
|
103
103
|
function ve(e, t, r, n) {
|
|
104
104
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function A(e, t, r) {
|
|
107
107
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
108
108
|
}
|
|
109
109
|
function lr(e) {
|
|
110
110
|
return Array.from(e.childNodes);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function G(e, t) {
|
|
113
113
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
114
114
|
t);
|
|
115
115
|
}
|
|
@@ -141,14 +141,14 @@ let te = [];
|
|
|
141
141
|
const st = [], dr = /* @__PURE__ */ Promise.resolve();
|
|
142
142
|
let De = !1;
|
|
143
143
|
function mr() {
|
|
144
|
-
De || (De = !0, dr.then(
|
|
144
|
+
De || (De = !0, dr.then(F));
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function Fe(e) {
|
|
147
147
|
te.push(e);
|
|
148
148
|
}
|
|
149
149
|
const Ne = /* @__PURE__ */ new Set();
|
|
150
150
|
let Y = 0;
|
|
151
|
-
function
|
|
151
|
+
function F() {
|
|
152
152
|
if (Y !== 0)
|
|
153
153
|
return;
|
|
154
154
|
const e = fe;
|
|
@@ -176,7 +176,7 @@ function pr(e) {
|
|
|
176
176
|
if (e.fragment !== null) {
|
|
177
177
|
e.update(), se(e.before_update);
|
|
178
178
|
const t = e.dirty;
|
|
179
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
179
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
function br(e) {
|
|
@@ -187,18 +187,18 @@ const gr = /* @__PURE__ */ new Set();
|
|
|
187
187
|
function vr(e, t) {
|
|
188
188
|
e && e.i && (gr.delete(e), e.i(t));
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function yr(e, t, r) {
|
|
191
191
|
const { fragment: n, after_update: i } = e.$$;
|
|
192
|
-
n && n.m(t, r),
|
|
192
|
+
n && n.m(t, r), Fe(() => {
|
|
193
193
|
const o = e.$$.on_mount.map(Ht).filter(Qe);
|
|
194
194
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
|
|
195
|
-
}), i.forEach(
|
|
195
|
+
}), i.forEach(Fe);
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function Er(e, t) {
|
|
198
198
|
const r = e.$$;
|
|
199
199
|
r.fragment !== null && (br(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function xr(e, t) {
|
|
202
202
|
e.$$.dirty[0] === -1 && (ee.push(e), mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
203
203
|
}
|
|
204
204
|
function _r(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
@@ -229,14 +229,14 @@ function _r(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
229
229
|
let h = !1;
|
|
230
230
|
if (u.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
|
|
231
231
|
const v = b.length ? b[0] : d;
|
|
232
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), h &&
|
|
232
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), h && xr(e, f)), d;
|
|
233
233
|
}) : [], u.update(), h = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
234
234
|
if (t.hydrate) {
|
|
235
235
|
const f = lr(t.target);
|
|
236
236
|
u.fragment && u.fragment.l(f), f.forEach(j);
|
|
237
237
|
} else
|
|
238
238
|
u.fragment && u.fragment.c();
|
|
239
|
-
t.intro && vr(e.$$.fragment),
|
|
239
|
+
t.intro && vr(e.$$.fragment), yr(e, t.target, t.anchor), F();
|
|
240
240
|
}
|
|
241
241
|
ce(l);
|
|
242
242
|
}
|
|
@@ -285,7 +285,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
|
|
|
285
285
|
let s;
|
|
286
286
|
return {
|
|
287
287
|
c: function() {
|
|
288
|
-
s = M("slot"), o !== "default" &&
|
|
288
|
+
s = M("slot"), o !== "default" && A(s, "name", o);
|
|
289
289
|
},
|
|
290
290
|
/**
|
|
291
291
|
* @param {HTMLElement} target
|
|
@@ -307,7 +307,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
|
|
|
307
307
|
o in n && (r[o] = [t(o)]);
|
|
308
308
|
for (const o of this.attributes) {
|
|
309
309
|
const s = this.$$g_p(o.name);
|
|
310
|
-
s in this.$$d || (this.$$d[s] =
|
|
310
|
+
s in this.$$d || (this.$$d[s] = Ee(s, o.value, this.$$p_d, "toProp"));
|
|
311
311
|
}
|
|
312
312
|
for (const o in this.$$p_d)
|
|
313
313
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
@@ -324,7 +324,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
|
|
|
324
324
|
this.$$r = !0;
|
|
325
325
|
for (const o in this.$$p_d)
|
|
326
326
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
327
|
-
const s =
|
|
327
|
+
const s = Ee(
|
|
328
328
|
o,
|
|
329
329
|
this.$$d[o],
|
|
330
330
|
this.$$p_d,
|
|
@@ -348,7 +348,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
|
|
|
348
348
|
// and setting attributes through setAttribute etc, this is helpful
|
|
349
349
|
attributeChangedCallback(t, r, n) {
|
|
350
350
|
var i;
|
|
351
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
351
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
352
352
|
}
|
|
353
353
|
disconnectedCallback() {
|
|
354
354
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -361,7 +361,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
|
|
|
361
361
|
) || t;
|
|
362
362
|
}
|
|
363
363
|
});
|
|
364
|
-
function
|
|
364
|
+
function Ee(e, t, r, n) {
|
|
365
365
|
var o;
|
|
366
366
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
367
367
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -409,7 +409,7 @@ function Sr(e, t, r, n, i, o) {
|
|
|
409
409
|
},
|
|
410
410
|
set(l) {
|
|
411
411
|
var u;
|
|
412
|
-
l =
|
|
412
|
+
l = Ee(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
|
|
413
413
|
}
|
|
414
414
|
});
|
|
415
415
|
}), n.forEach((a) => {
|
|
@@ -443,7 +443,7 @@ class Tr {
|
|
|
443
443
|
}
|
|
444
444
|
/** @returns {void} */
|
|
445
445
|
$destroy() {
|
|
446
|
-
|
|
446
|
+
Er(this, 1), this.$destroy = U;
|
|
447
447
|
}
|
|
448
448
|
/**
|
|
449
449
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -605,19 +605,19 @@ re.all = function(t, r) {
|
|
|
605
605
|
return re(n, i, r);
|
|
606
606
|
}, {});
|
|
607
607
|
};
|
|
608
|
-
var
|
|
609
|
-
const kr = /* @__PURE__ */ Br(
|
|
610
|
-
var
|
|
611
|
-
return
|
|
608
|
+
var Fr = re, Gr = Fr;
|
|
609
|
+
const kr = /* @__PURE__ */ Br(Gr);
|
|
610
|
+
var Ge = function(e, t) {
|
|
611
|
+
return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
612
612
|
r.__proto__ = n;
|
|
613
613
|
} || function(r, n) {
|
|
614
614
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
615
|
-
},
|
|
615
|
+
}, Ge(e, t);
|
|
616
616
|
};
|
|
617
617
|
function Ae(e, t) {
|
|
618
618
|
if (typeof t != "function" && t !== null)
|
|
619
619
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
620
|
-
|
|
620
|
+
Ge(e, t);
|
|
621
621
|
function r() {
|
|
622
622
|
this.constructor = e;
|
|
623
623
|
}
|
|
@@ -649,40 +649,40 @@ var m;
|
|
|
649
649
|
(function(e) {
|
|
650
650
|
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";
|
|
651
651
|
})(m || (m = {}));
|
|
652
|
-
var
|
|
652
|
+
var x;
|
|
653
653
|
(function(e) {
|
|
654
654
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
655
|
-
})(
|
|
655
|
+
})(x || (x = {}));
|
|
656
656
|
var ne;
|
|
657
657
|
(function(e) {
|
|
658
658
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
659
659
|
})(ne || (ne = {}));
|
|
660
660
|
function ut(e) {
|
|
661
|
-
return e.type ===
|
|
661
|
+
return e.type === x.literal;
|
|
662
662
|
}
|
|
663
663
|
function Vr(e) {
|
|
664
|
-
return e.type ===
|
|
664
|
+
return e.type === x.argument;
|
|
665
665
|
}
|
|
666
666
|
function Ct(e) {
|
|
667
|
-
return e.type ===
|
|
667
|
+
return e.type === x.number;
|
|
668
668
|
}
|
|
669
669
|
function Nt(e) {
|
|
670
|
-
return e.type ===
|
|
670
|
+
return e.type === x.date;
|
|
671
671
|
}
|
|
672
672
|
function It(e) {
|
|
673
|
-
return e.type ===
|
|
673
|
+
return e.type === x.time;
|
|
674
674
|
}
|
|
675
675
|
function Ot(e) {
|
|
676
|
-
return e.type ===
|
|
676
|
+
return e.type === x.select;
|
|
677
677
|
}
|
|
678
678
|
function Mt(e) {
|
|
679
|
-
return e.type ===
|
|
679
|
+
return e.type === x.plural;
|
|
680
680
|
}
|
|
681
681
|
function Xr(e) {
|
|
682
|
-
return e.type ===
|
|
682
|
+
return e.type === x.pound;
|
|
683
683
|
}
|
|
684
684
|
function Lt(e) {
|
|
685
|
-
return e.type ===
|
|
685
|
+
return e.type === x.tag;
|
|
686
686
|
}
|
|
687
687
|
function Rt(e) {
|
|
688
688
|
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
@@ -811,7 +811,7 @@ function ht(e) {
|
|
|
811
811
|
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)), "";
|
|
812
812
|
}), t;
|
|
813
813
|
}
|
|
814
|
-
function
|
|
814
|
+
function Ft(e) {
|
|
815
815
|
switch (e) {
|
|
816
816
|
case "sign-auto":
|
|
817
817
|
return {
|
|
@@ -866,7 +866,7 @@ function Yr(e) {
|
|
|
866
866
|
return t;
|
|
867
867
|
}
|
|
868
868
|
function ct(e) {
|
|
869
|
-
var t = {}, r =
|
|
869
|
+
var t = {}, r = Ft(e);
|
|
870
870
|
return r || t;
|
|
871
871
|
}
|
|
872
872
|
function Kr(e) {
|
|
@@ -986,14 +986,14 @@ function Kr(e) {
|
|
|
986
986
|
t = g(g({}, t), ht(i.stem));
|
|
987
987
|
continue;
|
|
988
988
|
}
|
|
989
|
-
var s =
|
|
989
|
+
var s = Ft(i.stem);
|
|
990
990
|
s && (t = g(g({}, t), s));
|
|
991
991
|
var a = Yr(i.stem);
|
|
992
992
|
a && (t = g(g({}, t), a));
|
|
993
993
|
}
|
|
994
994
|
return t;
|
|
995
995
|
}
|
|
996
|
-
var
|
|
996
|
+
var ye = {
|
|
997
997
|
"001": [
|
|
998
998
|
"H",
|
|
999
999
|
"h"
|
|
@@ -2436,7 +2436,7 @@ function tn(e) {
|
|
|
2436
2436
|
}
|
|
2437
2437
|
var r = e.language, n;
|
|
2438
2438
|
r !== "root" && (n = e.maximize().region);
|
|
2439
|
-
var i =
|
|
2439
|
+
var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
|
|
2440
2440
|
return i[0];
|
|
2441
2441
|
}
|
|
2442
2442
|
var Oe, rn = new RegExp("^".concat($t.source, "*")), nn = new RegExp("".concat($t.source, "*$"));
|
|
@@ -2486,7 +2486,7 @@ var ft = on ? (
|
|
|
2486
2486
|
return r;
|
|
2487
2487
|
}
|
|
2488
2488
|
)
|
|
2489
|
-
),
|
|
2489
|
+
), Gt = un ? (
|
|
2490
2490
|
// Native
|
|
2491
2491
|
function(t, r) {
|
|
2492
2492
|
return t.codePointAt(r);
|
|
@@ -2536,8 +2536,8 @@ if (je) {
|
|
|
2536
2536
|
} else
|
|
2537
2537
|
Xe = function(t, r) {
|
|
2538
2538
|
for (var n = []; ; ) {
|
|
2539
|
-
var i =
|
|
2540
|
-
if (i === void 0 || jt(i) ||
|
|
2539
|
+
var i = Gt(t, r);
|
|
2540
|
+
if (i === void 0 || jt(i) || yn(i))
|
|
2541
2541
|
break;
|
|
2542
2542
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2543
2543
|
}
|
|
@@ -2567,7 +2567,7 @@ var bn = (
|
|
|
2567
2567
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2568
2568
|
var a = this.clonePosition();
|
|
2569
2569
|
this.bump(), i.push({
|
|
2570
|
-
type:
|
|
2570
|
+
type: x.pound,
|
|
2571
2571
|
location: p(a, this.clonePosition())
|
|
2572
2572
|
});
|
|
2573
2573
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
@@ -2595,7 +2595,7 @@ var bn = (
|
|
|
2595
2595
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2596
2596
|
return {
|
|
2597
2597
|
val: {
|
|
2598
|
-
type:
|
|
2598
|
+
type: x.literal,
|
|
2599
2599
|
value: "<".concat(i, "/>"),
|
|
2600
2600
|
location: p(n, this.clonePosition())
|
|
2601
2601
|
},
|
|
@@ -2612,7 +2612,7 @@ var bn = (
|
|
|
2612
2612
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
2613
2613
|
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2614
2614
|
val: {
|
|
2615
|
-
type:
|
|
2615
|
+
type: x.tag,
|
|
2616
2616
|
value: i,
|
|
2617
2617
|
children: s,
|
|
2618
2618
|
location: p(n, this.clonePosition())
|
|
@@ -2649,7 +2649,7 @@ var bn = (
|
|
|
2649
2649
|
}
|
|
2650
2650
|
var l = p(n, this.clonePosition());
|
|
2651
2651
|
return {
|
|
2652
|
-
val: { type:
|
|
2652
|
+
val: { type: x.literal, value: i, location: l },
|
|
2653
2653
|
err: null
|
|
2654
2654
|
};
|
|
2655
2655
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -2709,7 +2709,7 @@ var bn = (
|
|
|
2709
2709
|
case 125:
|
|
2710
2710
|
return this.bump(), {
|
|
2711
2711
|
val: {
|
|
2712
|
-
type:
|
|
2712
|
+
type: x.argument,
|
|
2713
2713
|
// value does not include the opening and closing braces.
|
|
2714
2714
|
value: i,
|
|
2715
2715
|
location: p(n, this.clonePosition())
|
|
@@ -2756,7 +2756,7 @@ var bn = (
|
|
|
2756
2756
|
if (a === "number") {
|
|
2757
2757
|
var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
2758
2758
|
return f.err ? f : {
|
|
2759
|
-
val: { type:
|
|
2759
|
+
val: { type: x.number, value: n, location: _, style: f.val },
|
|
2760
2760
|
err: null
|
|
2761
2761
|
};
|
|
2762
2762
|
} else {
|
|
@@ -2769,7 +2769,7 @@ var bn = (
|
|
|
2769
2769
|
pattern: R,
|
|
2770
2770
|
location: u.styleLocation,
|
|
2771
2771
|
parsedOptions: this.shouldParseSkeletons ? Wr(R) : {}
|
|
2772
|
-
}, I = a === "date" ?
|
|
2772
|
+
}, I = a === "date" ? x.date : x.time;
|
|
2773
2773
|
return {
|
|
2774
2774
|
val: { type: I, value: n, location: _, style: d },
|
|
2775
2775
|
err: null
|
|
@@ -2778,7 +2778,7 @@ var bn = (
|
|
|
2778
2778
|
}
|
|
2779
2779
|
return {
|
|
2780
2780
|
val: {
|
|
2781
|
-
type: a === "number" ?
|
|
2781
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
2782
2782
|
value: n,
|
|
2783
2783
|
location: _,
|
|
2784
2784
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -2793,17 +2793,17 @@ var bn = (
|
|
|
2793
2793
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2794
2794
|
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, p(T, g({}, T)));
|
|
2795
2795
|
this.bumpSpace();
|
|
2796
|
-
var
|
|
2797
|
-
if (a !== "select" &&
|
|
2796
|
+
var H = this.parseIdentifierIfPossible(), N = 0;
|
|
2797
|
+
if (a !== "select" && H.value === "offset") {
|
|
2798
2798
|
if (!this.bumpIf(":"))
|
|
2799
2799
|
return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
|
|
2800
2800
|
this.bumpSpace();
|
|
2801
2801
|
var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2802
2802
|
if (f.err)
|
|
2803
2803
|
return f;
|
|
2804
|
-
this.bumpSpace(),
|
|
2804
|
+
this.bumpSpace(), H = this.parseIdentifierIfPossible(), N = f.val;
|
|
2805
2805
|
}
|
|
2806
|
-
var D = this.tryParsePluralOrSelectOptions(t, a, r,
|
|
2806
|
+
var D = this.tryParsePluralOrSelectOptions(t, a, r, H);
|
|
2807
2807
|
if (D.err)
|
|
2808
2808
|
return D;
|
|
2809
2809
|
var v = this.tryParseArgumentClose(i);
|
|
@@ -2812,7 +2812,7 @@ var bn = (
|
|
|
2812
2812
|
var V = p(i, this.clonePosition());
|
|
2813
2813
|
return a === "select" ? {
|
|
2814
2814
|
val: {
|
|
2815
|
-
type:
|
|
2815
|
+
type: x.select,
|
|
2816
2816
|
value: n,
|
|
2817
2817
|
options: dt(D.val),
|
|
2818
2818
|
location: V
|
|
@@ -2820,7 +2820,7 @@ var bn = (
|
|
|
2820
2820
|
err: null
|
|
2821
2821
|
} : {
|
|
2822
2822
|
val: {
|
|
2823
|
-
type:
|
|
2823
|
+
type: x.plural,
|
|
2824
2824
|
value: n,
|
|
2825
2825
|
options: dt(D.val),
|
|
2826
2826
|
offset: N,
|
|
@@ -2945,7 +2945,7 @@ var bn = (
|
|
|
2945
2945
|
var t = this.position.offset;
|
|
2946
2946
|
if (t >= this.message.length)
|
|
2947
2947
|
throw Error("out of bound");
|
|
2948
|
-
var r =
|
|
2948
|
+
var r = Gt(this.message, t);
|
|
2949
2949
|
if (r === void 0)
|
|
2950
2950
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
2951
2951
|
return r;
|
|
@@ -3008,7 +3008,7 @@ function vn(e) {
|
|
|
3008
3008
|
function jt(e) {
|
|
3009
3009
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3010
3010
|
}
|
|
3011
|
-
function
|
|
3011
|
+
function yn(e) {
|
|
3012
3012
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3013
3013
|
}
|
|
3014
3014
|
function We(e) {
|
|
@@ -3019,7 +3019,7 @@ function We(e) {
|
|
|
3019
3019
|
else Ct(t) && Rt(t.style) || (Nt(t) || It(t)) && ke(t.style) ? delete t.style.location : Lt(t) && We(t.children);
|
|
3020
3020
|
});
|
|
3021
3021
|
}
|
|
3022
|
-
function
|
|
3022
|
+
function En(e, t) {
|
|
3023
3023
|
t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3024
3024
|
var r = new bn(e, t).parse();
|
|
3025
3025
|
if (r.err) {
|
|
@@ -3035,11 +3035,11 @@ function Me(e, t) {
|
|
|
3035
3035
|
serializer: n
|
|
3036
3036
|
});
|
|
3037
3037
|
}
|
|
3038
|
-
function
|
|
3038
|
+
function xn(e) {
|
|
3039
3039
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3040
3040
|
}
|
|
3041
3041
|
function Vt(e, t, r, n) {
|
|
3042
|
-
var i =
|
|
3042
|
+
var i = xn(n) ? n : r(n), o = t.get(i);
|
|
3043
3043
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
3044
3044
|
}
|
|
3045
3045
|
function Xt(e, t, r) {
|
|
@@ -3134,7 +3134,7 @@ function Pn(e) {
|
|
|
3134
3134
|
function Cn(e) {
|
|
3135
3135
|
return typeof e == "function";
|
|
3136
3136
|
}
|
|
3137
|
-
function
|
|
3137
|
+
function xe(e, t, r, n, i, o, s) {
|
|
3138
3138
|
if (e.length === 1 && ut(e[0]))
|
|
3139
3139
|
return [
|
|
3140
3140
|
{
|
|
@@ -3197,7 +3197,7 @@ function Ee(e, t, r, n, i, o, s) {
|
|
|
3197
3197
|
var v = h.children, _ = h.value, S = i[_];
|
|
3198
3198
|
if (!Cn(S))
|
|
3199
3199
|
throw new Bn(_, "function", s);
|
|
3200
|
-
var R =
|
|
3200
|
+
var R = xe(v, t, r, n, i, o), I = S(R.map(function(N) {
|
|
3201
3201
|
return N.value;
|
|
3202
3202
|
}));
|
|
3203
3203
|
Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(N) {
|
|
@@ -3211,7 +3211,7 @@ function Ee(e, t, r, n, i, o, s) {
|
|
|
3211
3211
|
var T = h.options[d] || h.options.other;
|
|
3212
3212
|
if (!T)
|
|
3213
3213
|
throw new pt(h.value, d, Object.keys(h.options), s);
|
|
3214
|
-
a.push.apply(a,
|
|
3214
|
+
a.push.apply(a, xe(T.value, t, r, n, i));
|
|
3215
3215
|
continue;
|
|
3216
3216
|
}
|
|
3217
3217
|
if (Mt(h)) {
|
|
@@ -3221,12 +3221,12 @@ function Ee(e, t, r, n, i, o, s) {
|
|
|
3221
3221
|
throw new Be(`Intl.PluralRules is not available in this environment.
|
|
3222
3222
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3223
3223
|
`, ie.MISSING_INTL_API, s);
|
|
3224
|
-
var
|
|
3225
|
-
T = h.options[
|
|
3224
|
+
var H = r.getPluralRules(t, { type: h.pluralType }).select(d - (h.offset || 0));
|
|
3225
|
+
T = h.options[H] || h.options.other;
|
|
3226
3226
|
}
|
|
3227
3227
|
if (!T)
|
|
3228
3228
|
throw new pt(h.value, d, Object.keys(h.options), s);
|
|
3229
|
-
a.push.apply(a,
|
|
3229
|
+
a.push.apply(a, xe(T.value, t, r, n, i, d - (h.offset || 0)));
|
|
3230
3230
|
continue;
|
|
3231
3231
|
}
|
|
3232
3232
|
}
|
|
@@ -3306,7 +3306,7 @@ var Mn = (
|
|
|
3306
3306
|
}, []);
|
|
3307
3307
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3308
3308
|
}, this.formatToParts = function(l) {
|
|
3309
|
-
return
|
|
3309
|
+
return xe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3310
3310
|
}, this.resolvedOptions = function() {
|
|
3311
3311
|
var l;
|
|
3312
3312
|
return {
|
|
@@ -3338,7 +3338,7 @@ var Mn = (
|
|
|
3338
3338
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3339
3339
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3340
3340
|
}
|
|
3341
|
-
}, e.__parse =
|
|
3341
|
+
}, e.__parse = En, e.formats = {
|
|
3342
3342
|
number: {
|
|
3343
3343
|
integer: {
|
|
3344
3344
|
maximumFractionDigits: 0
|
|
@@ -3465,13 +3465,13 @@ ae(
|
|
|
3465
3465
|
);
|
|
3466
3466
|
ue.subscribe((e) => Ke = e);
|
|
3467
3467
|
const _e = {};
|
|
3468
|
-
function
|
|
3468
|
+
function Fn(e, t) {
|
|
3469
3469
|
_e[e].delete(t), _e[e].size === 0 && delete _e[e];
|
|
3470
3470
|
}
|
|
3471
3471
|
function Jt(e) {
|
|
3472
3472
|
return _e[e];
|
|
3473
3473
|
}
|
|
3474
|
-
function
|
|
3474
|
+
function Gn(e) {
|
|
3475
3475
|
return we(e).map((t) => {
|
|
3476
3476
|
const r = Jt(t);
|
|
3477
3477
|
return [t, r ? [...r] : []];
|
|
@@ -3487,14 +3487,14 @@ function Ze(e) {
|
|
|
3487
3487
|
}
|
|
3488
3488
|
function kn(e, t) {
|
|
3489
3489
|
return Promise.all(
|
|
3490
|
-
t.map((n) => (
|
|
3490
|
+
t.map((n) => (Fn(e, n), n().then((i) => i.default || i)))
|
|
3491
3491
|
).then((n) => Zt(e, ...n));
|
|
3492
3492
|
}
|
|
3493
3493
|
const he = {};
|
|
3494
3494
|
function Qt(e) {
|
|
3495
3495
|
if (!Ze(e))
|
|
3496
3496
|
return e in he ? he[e] : Promise.resolve();
|
|
3497
|
-
const t =
|
|
3497
|
+
const t = Gn(e);
|
|
3498
3498
|
return he[e] = Promise.all(
|
|
3499
3499
|
t.map(
|
|
3500
3500
|
([r, n]) => kn(r, n)
|
|
@@ -3592,12 +3592,12 @@ const Kn = (e) => {
|
|
|
3592
3592
|
return i in t ? t[i] : t[i] = e(n);
|
|
3593
3593
|
};
|
|
3594
3594
|
};
|
|
3595
|
-
var ei = Object.defineProperty, Te = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Yt = Object.prototype.propertyIsEnumerable,
|
|
3595
|
+
var ei = Object.defineProperty, Te = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Yt = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
|
|
3596
3596
|
for (var r in t || (t = {}))
|
|
3597
|
-
qt.call(t, r) &&
|
|
3597
|
+
qt.call(t, r) && yt(e, r, t[r]);
|
|
3598
3598
|
if (Te)
|
|
3599
3599
|
for (var r of Te(t))
|
|
3600
|
-
Yt.call(t, r) &&
|
|
3600
|
+
Yt.call(t, r) && yt(e, r, t[r]);
|
|
3601
3601
|
return e;
|
|
3602
3602
|
}, le = (e, t) => {
|
|
3603
3603
|
var r = {};
|
|
@@ -3704,10 +3704,10 @@ function mi({ withLocale: e, translations: t }) {
|
|
|
3704
3704
|
r == null && (ue.set(t), W.set(e));
|
|
3705
3705
|
});
|
|
3706
3706
|
}
|
|
3707
|
-
function
|
|
3707
|
+
function Et(e, t) {
|
|
3708
3708
|
Zt(e, t);
|
|
3709
3709
|
}
|
|
3710
|
-
const
|
|
3710
|
+
const xt = {
|
|
3711
3711
|
en: {
|
|
3712
3712
|
title: "Please enter the verification code you received on your number",
|
|
3713
3713
|
errorTitle: "Your code was invalid, you can resend the code and try again",
|
|
@@ -3805,7 +3805,7 @@ const Et = {
|
|
|
3805
3805
|
}
|
|
3806
3806
|
};
|
|
3807
3807
|
function pi(e) {
|
|
3808
|
-
sr(e, "svelte-
|
|
3808
|
+
sr(e, "svelte-6sviug", "*,*::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(--emfe-w-registration-contrast, var(--emfe-w-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(--emfe-w-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(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.Field.Hidden{display:none}.LoginSMSHint{margin-top:20px}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));font-size:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.Button{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.Button[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed}.Button.SmsVerificationResend{background:var(--emfe-w-registration-color-bg, var(--emfe-w-color-gray-50, #F9F8F8));color:var(--emfe-w-registration-typography, var(--emfe-w-color-contrast, #07072A))}");
|
|
3809
3809
|
}
|
|
3810
3810
|
function bi(e) {
|
|
3811
3811
|
let t = (
|
|
@@ -3822,7 +3822,7 @@ function bi(e) {
|
|
|
3822
3822
|
p(n, i) {
|
|
3823
3823
|
i & /*$_*/
|
|
3824
3824
|
32 && t !== (t = /*$_*/
|
|
3825
|
-
n[5]("errorTitle") + "") &&
|
|
3825
|
+
n[5]("errorTitle") + "") && G(r, t);
|
|
3826
3826
|
},
|
|
3827
3827
|
d(n) {
|
|
3828
3828
|
n && j(r);
|
|
@@ -3844,7 +3844,7 @@ function gi(e) {
|
|
|
3844
3844
|
p(n, i) {
|
|
3845
3845
|
i & /*$_*/
|
|
3846
3846
|
32 && t !== (t = /*$_*/
|
|
3847
|
-
n[5]("title") + "") &&
|
|
3847
|
+
n[5]("title") + "") && G(r, t);
|
|
3848
3848
|
},
|
|
3849
3849
|
d(n) {
|
|
3850
3850
|
n && j(r);
|
|
@@ -3858,15 +3858,15 @@ function _t(e) {
|
|
|
3858
3858
|
), n;
|
|
3859
3859
|
return {
|
|
3860
3860
|
c() {
|
|
3861
|
-
t = M("p"), n = L(r),
|
|
3861
|
+
t = M("p"), n = L(r), A(t, "class", "InvalidInput");
|
|
3862
3862
|
},
|
|
3863
3863
|
m(i, o) {
|
|
3864
|
-
Z(i, t, o),
|
|
3864
|
+
Z(i, t, o), E(t, n);
|
|
3865
3865
|
},
|
|
3866
3866
|
p(i, o) {
|
|
3867
3867
|
o & /*$_*/
|
|
3868
3868
|
32 && r !== (r = /*$_*/
|
|
3869
|
-
i[5]("smsCodeError") + "") &&
|
|
3869
|
+
i[5]("smsCodeError") + "") && G(n, r);
|
|
3870
3870
|
},
|
|
3871
3871
|
d(i) {
|
|
3872
3872
|
i && j(t);
|
|
@@ -3880,15 +3880,15 @@ function St(e) {
|
|
|
3880
3880
|
), n;
|
|
3881
3881
|
return {
|
|
3882
3882
|
c() {
|
|
3883
|
-
t = M("p"), n = L(r),
|
|
3883
|
+
t = M("p"), n = L(r), A(t, "class", "SmsVerificationResendMessage");
|
|
3884
3884
|
},
|
|
3885
3885
|
m(i, o) {
|
|
3886
|
-
Z(i, t, o),
|
|
3886
|
+
Z(i, t, o), E(t, n);
|
|
3887
3887
|
},
|
|
3888
3888
|
p(i, o) {
|
|
3889
3889
|
o & /*$_*/
|
|
3890
3890
|
32 && r !== (r = /*$_*/
|
|
3891
|
-
i[5]("resendMessage") + "") &&
|
|
3891
|
+
i[5]("resendMessage") + "") && G(n, r);
|
|
3892
3892
|
},
|
|
3893
3893
|
d(i) {
|
|
3894
3894
|
i && j(t);
|
|
@@ -3905,16 +3905,16 @@ function Tt(e) {
|
|
|
3905
3905
|
t = M("span"), r = L("(0:"), i = L(n), o = L(
|
|
3906
3906
|
/*secondsLeft*/
|
|
3907
3907
|
e[4]
|
|
3908
|
-
), s = L(")"),
|
|
3908
|
+
), s = L(")"), A(t, "class", "SmsVerificationResendTimer");
|
|
3909
3909
|
},
|
|
3910
3910
|
m(a, l) {
|
|
3911
|
-
Z(a, t, l),
|
|
3911
|
+
Z(a, t, l), E(t, r), E(t, i), E(t, o), E(t, s);
|
|
3912
3912
|
},
|
|
3913
3913
|
p(a, l) {
|
|
3914
3914
|
l & /*secondsLeft*/
|
|
3915
3915
|
16 && n !== (n = /*secondsLeft*/
|
|
3916
|
-
a[4] < 10 ? "0" : "") &&
|
|
3917
|
-
16 &&
|
|
3916
|
+
a[4] < 10 ? "0" : "") && G(i, n), l & /*secondsLeft*/
|
|
3917
|
+
16 && G(
|
|
3918
3918
|
o,
|
|
3919
3919
|
/*secondsLeft*/
|
|
3920
3920
|
a[4]
|
|
@@ -3932,11 +3932,11 @@ function vi(e) {
|
|
|
3932
3932
|
), a, l, u, h, f, d, b, v, _, S, R = (
|
|
3933
3933
|
/*$_*/
|
|
3934
3934
|
e[5]("activate") + ""
|
|
3935
|
-
), I, T,
|
|
3935
|
+
), I, T, H, N = (
|
|
3936
3936
|
/*$_*/
|
|
3937
3937
|
e[5]("resend") + ""
|
|
3938
3938
|
), D, V, Q, pe;
|
|
3939
|
-
function be(c,
|
|
3939
|
+
function be(c, y) {
|
|
3940
3940
|
return (
|
|
3941
3941
|
/*isSmsValid*/
|
|
3942
3942
|
c[2] ? gi : bi
|
|
@@ -3952,16 +3952,16 @@ function vi(e) {
|
|
|
3952
3952
|
);
|
|
3953
3953
|
return {
|
|
3954
3954
|
c() {
|
|
3955
|
-
t = M("div"), r = M("h3"), O.c(), n = z(), i = M("div"), o = M("label"), a = L(s), l = L(":"), u = M("span"), u.textContent = "*", h = z(), f = M("input"), d = z(), B && B.c(), v = z(), w && w.c(), _ = z(), S = M("button"), I = L(R), T = z(),
|
|
3956
|
-
e[2] ? "" : "InvalidField")
|
|
3957
|
-
e[3],
|
|
3955
|
+
t = M("div"), r = M("h3"), O.c(), n = z(), i = M("div"), o = M("label"), a = L(s), l = L(":"), u = M("span"), u.textContent = "*", h = z(), f = M("input"), d = z(), B && B.c(), v = z(), w && w.c(), _ = z(), S = M("button"), I = L(R), T = z(), H = M("button"), D = L(N), V = z(), P && P.c(), A(r, "class", "Title"), A(u, "class", "FormRequired"), A(o, "for", "SmsCode"), A(f, "type", "text"), A(f, "id", "SmsCode"), A(f, "inputmode", "numeric"), A(f, "pattern", "[0-9]*"), A(f, "maxlength", "6"), A(i, "class", b = "Field SmsVerificationField " + (/*isSmsValid*/
|
|
3956
|
+
e[2] ? "" : "InvalidField")), A(S, "class", "Button SmsVerificationValidate"), A(H, "class", "Button SmsVerificationResend"), H.disabled = /*timer*/
|
|
3957
|
+
e[3], A(t, "class", "Container SmsVerificationContainer");
|
|
3958
3958
|
},
|
|
3959
|
-
m(c,
|
|
3960
|
-
Z(c, t,
|
|
3959
|
+
m(c, y) {
|
|
3960
|
+
Z(c, t, y), E(t, r), O.m(r, null), E(t, n), E(t, i), E(i, o), E(o, a), E(o, l), E(o, u), E(i, h), E(i, f), ot(
|
|
3961
3961
|
f,
|
|
3962
3962
|
/*smsCode*/
|
|
3963
3963
|
e[1]
|
|
3964
|
-
),
|
|
3964
|
+
), E(i, d), B && B.m(i, null), E(t, v), w && w.m(t, null), E(t, _), E(t, S), E(S, I), E(t, T), E(t, H), E(H, D), E(H, V), P && P.m(H, null), e[19](t), Q || (pe = [
|
|
3965
3965
|
ve(
|
|
3966
3966
|
f,
|
|
3967
3967
|
"input",
|
|
@@ -3981,33 +3981,33 @@ function vi(e) {
|
|
|
3981
3981
|
e[6]
|
|
3982
3982
|
),
|
|
3983
3983
|
ve(
|
|
3984
|
-
|
|
3984
|
+
H,
|
|
3985
3985
|
"click",
|
|
3986
3986
|
/*resendCode*/
|
|
3987
3987
|
e[7]
|
|
3988
3988
|
)
|
|
3989
3989
|
], Q = !0);
|
|
3990
3990
|
},
|
|
3991
|
-
p(c, [
|
|
3992
|
-
X === (X = be(c)) && O ? O.p(c,
|
|
3991
|
+
p(c, [y]) {
|
|
3992
|
+
X === (X = be(c)) && O ? O.p(c, y) : (O.d(1), O = X(c), O && (O.c(), O.m(r, null))), y & /*$_*/
|
|
3993
3993
|
32 && s !== (s = /*$_*/
|
|
3994
|
-
c[5]("code") + "") &&
|
|
3994
|
+
c[5]("code") + "") && G(a, s), y & /*smsCode*/
|
|
3995
3995
|
2 && f.value !== /*smsCode*/
|
|
3996
3996
|
c[1] && ot(
|
|
3997
3997
|
f,
|
|
3998
3998
|
/*smsCode*/
|
|
3999
3999
|
c[1]
|
|
4000
4000
|
), /*isSmsValid*/
|
|
4001
|
-
c[2] ? B && (B.d(1), B = null) : B ? B.p(c,
|
|
4001
|
+
c[2] ? B && (B.d(1), B = null) : B ? B.p(c, y) : (B = _t(c), B.c(), B.m(i, null)), y & /*isSmsValid*/
|
|
4002
4002
|
4 && b !== (b = "Field SmsVerificationField " + (/*isSmsValid*/
|
|
4003
|
-
c[2] ? "" : "InvalidField")
|
|
4004
|
-
c[3] ? w ? w.p(c,
|
|
4003
|
+
c[2] ? "" : "InvalidField")) && A(i, "class", b), /*timer*/
|
|
4004
|
+
c[3] ? w ? w.p(c, y) : (w = St(c), w.c(), w.m(t, _)) : w && (w.d(1), w = null), y & /*$_*/
|
|
4005
4005
|
32 && R !== (R = /*$_*/
|
|
4006
|
-
c[5]("activate") + "") &&
|
|
4006
|
+
c[5]("activate") + "") && G(I, R), y & /*$_*/
|
|
4007
4007
|
32 && N !== (N = /*$_*/
|
|
4008
|
-
c[5]("resend") + "") &&
|
|
4009
|
-
c[3] ? P ? P.p(c,
|
|
4010
|
-
8 && (
|
|
4008
|
+
c[5]("resend") + "") && G(D, N), /*timer*/
|
|
4009
|
+
c[3] ? P ? P.p(c, y) : (P = Tt(c), P.c(), P.m(H, null)) : P && (P.d(1), P = null), y & /*timer*/
|
|
4010
|
+
8 && (H.disabled = /*timer*/
|
|
4011
4011
|
c[3]);
|
|
4012
4012
|
},
|
|
4013
4013
|
i: U,
|
|
@@ -4017,23 +4017,23 @@ function vi(e) {
|
|
|
4017
4017
|
}
|
|
4018
4018
|
};
|
|
4019
4019
|
}
|
|
4020
|
-
function
|
|
4020
|
+
function yi(e, t, r) {
|
|
4021
4021
|
let n;
|
|
4022
4022
|
or(e, di, (c) => r(5, n = c));
|
|
4023
4023
|
let { endpoint: i = "" } = t, { tokenid: o = "" } = t, { playerid: s = "" } = t, { smstemplate: a = "Please use this code {0} to activate your accout" } = t, { number: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, d, b = !0, v = !1, _, S, R = +localStorage.getItem("smsTimer") || 0, I = Date.now() / 1e3 - R, T = 60 - Math.floor(I);
|
|
4024
|
-
const
|
|
4024
|
+
const H = { numeric: /^[0-9]{0,6}$/ };
|
|
4025
4025
|
mi({ withLocale: "en", translations: {} });
|
|
4026
4026
|
const N = () => {
|
|
4027
|
-
fetch(f).then((
|
|
4028
|
-
Object.keys(
|
|
4029
|
-
|
|
4027
|
+
fetch(f).then((y) => y.json()).then((y) => {
|
|
4028
|
+
Object.keys(y).forEach((q) => {
|
|
4029
|
+
Et(q, y[q]);
|
|
4030
4030
|
});
|
|
4031
|
-
}).catch((
|
|
4032
|
-
console.log(
|
|
4031
|
+
}).catch((y) => {
|
|
4032
|
+
console.log(y);
|
|
4033
4033
|
});
|
|
4034
4034
|
};
|
|
4035
|
-
Object.keys(
|
|
4036
|
-
|
|
4035
|
+
Object.keys(xt).forEach((c) => {
|
|
4036
|
+
Et(c, xt[c]);
|
|
4037
4037
|
});
|
|
4038
4038
|
const D = () => ge(this, null, function* () {
|
|
4039
4039
|
try {
|
|
@@ -4072,9 +4072,9 @@ function xi(e, t, r) {
|
|
|
4072
4072
|
messageTemplate: a,
|
|
4073
4073
|
destination: l
|
|
4074
4074
|
})
|
|
4075
|
-
}),
|
|
4075
|
+
}), y = yield c.json();
|
|
4076
4076
|
if (c.ok)
|
|
4077
|
-
r(9, o =
|
|
4077
|
+
r(9, o = y.id), v = !1, Q();
|
|
4078
4078
|
else
|
|
4079
4079
|
throw v = !0, new Error("Failed to fetch");
|
|
4080
4080
|
} catch (c) {
|
|
@@ -4086,11 +4086,11 @@ function xi(e, t, r) {
|
|
|
4086
4086
|
let c = document.createElement("style");
|
|
4087
4087
|
c.innerHTML = u, S.appendChild(c);
|
|
4088
4088
|
}, be = () => {
|
|
4089
|
-
let c = new URL(h),
|
|
4089
|
+
let c = new URL(h), y = document.createElement("style");
|
|
4090
4090
|
fetch(c.href).then((q) => q.text()).then((q) => {
|
|
4091
|
-
|
|
4091
|
+
y.innerHTML = q, setTimeout(
|
|
4092
4092
|
() => {
|
|
4093
|
-
S.appendChild(
|
|
4093
|
+
S.appendChild(y);
|
|
4094
4094
|
},
|
|
4095
4095
|
1
|
|
4096
4096
|
), setTimeout(
|
|
@@ -4107,7 +4107,7 @@ function xi(e, t, r) {
|
|
|
4107
4107
|
1e3
|
|
4108
4108
|
));
|
|
4109
4109
|
}, O = (c) => {
|
|
4110
|
-
!
|
|
4110
|
+
!H.numeric.test(c.key) && c.keyCode !== 8 && c.keyCode !== 9 && c.keyCode !== 46 && c.preventDefault();
|
|
4111
4111
|
};
|
|
4112
4112
|
fr(() => {
|
|
4113
4113
|
if (!s || !l) {
|
|
@@ -4156,12 +4156,12 @@ function xi(e, t, r) {
|
|
|
4156
4156
|
P
|
|
4157
4157
|
];
|
|
4158
4158
|
}
|
|
4159
|
-
class
|
|
4159
|
+
class Ei extends Tr {
|
|
4160
4160
|
constructor(t) {
|
|
4161
4161
|
super(), _r(
|
|
4162
4162
|
this,
|
|
4163
4163
|
t,
|
|
4164
|
-
|
|
4164
|
+
yi,
|
|
4165
4165
|
vi,
|
|
4166
4166
|
At,
|
|
4167
4167
|
{
|
|
@@ -4181,52 +4181,52 @@ class yi extends Tr {
|
|
|
4181
4181
|
return this.$$.ctx[12];
|
|
4182
4182
|
}
|
|
4183
4183
|
set endpoint(t) {
|
|
4184
|
-
this.$$set({ endpoint: t }),
|
|
4184
|
+
this.$$set({ endpoint: t }), F();
|
|
4185
4185
|
}
|
|
4186
4186
|
get tokenid() {
|
|
4187
4187
|
return this.$$.ctx[9];
|
|
4188
4188
|
}
|
|
4189
4189
|
set tokenid(t) {
|
|
4190
|
-
this.$$set({ tokenid: t }),
|
|
4190
|
+
this.$$set({ tokenid: t }), F();
|
|
4191
4191
|
}
|
|
4192
4192
|
get playerid() {
|
|
4193
4193
|
return this.$$.ctx[10];
|
|
4194
4194
|
}
|
|
4195
4195
|
set playerid(t) {
|
|
4196
|
-
this.$$set({ playerid: t }),
|
|
4196
|
+
this.$$set({ playerid: t }), F();
|
|
4197
4197
|
}
|
|
4198
4198
|
get smstemplate() {
|
|
4199
4199
|
return this.$$.ctx[13];
|
|
4200
4200
|
}
|
|
4201
4201
|
set smstemplate(t) {
|
|
4202
|
-
this.$$set({ smstemplate: t }),
|
|
4202
|
+
this.$$set({ smstemplate: t }), F();
|
|
4203
4203
|
}
|
|
4204
4204
|
get number() {
|
|
4205
4205
|
return this.$$.ctx[11];
|
|
4206
4206
|
}
|
|
4207
4207
|
set number(t) {
|
|
4208
|
-
this.$$set({ number: t }),
|
|
4208
|
+
this.$$set({ number: t }), F();
|
|
4209
4209
|
}
|
|
4210
4210
|
get clientstyling() {
|
|
4211
4211
|
return this.$$.ctx[14];
|
|
4212
4212
|
}
|
|
4213
4213
|
set clientstyling(t) {
|
|
4214
|
-
this.$$set({ clientstyling: t }),
|
|
4214
|
+
this.$$set({ clientstyling: t }), F();
|
|
4215
4215
|
}
|
|
4216
4216
|
get clientstylingurl() {
|
|
4217
4217
|
return this.$$.ctx[15];
|
|
4218
4218
|
}
|
|
4219
4219
|
set clientstylingurl(t) {
|
|
4220
|
-
this.$$set({ clientstylingurl: t }),
|
|
4220
|
+
this.$$set({ clientstylingurl: t }), F();
|
|
4221
4221
|
}
|
|
4222
4222
|
get translationurl() {
|
|
4223
4223
|
return this.$$.ctx[16];
|
|
4224
4224
|
}
|
|
4225
4225
|
set translationurl(t) {
|
|
4226
|
-
this.$$set({ translationurl: t }),
|
|
4226
|
+
this.$$set({ translationurl: t }), F();
|
|
4227
4227
|
}
|
|
4228
4228
|
}
|
|
4229
|
-
Sr(
|
|
4229
|
+
Sr(Ei, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4230
4230
|
export {
|
|
4231
|
-
|
|
4231
|
+
Ei as default
|
|
4232
4232
|
};
|