@everymatrix/general-player-sms-verification-form 1.74.7 → 1.74.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralPlayerSmsVerificationForm-uil_tNhE.js → GeneralPlayerSmsVerificationForm-B-2j6bc1.js} +275 -273
- package/components/GeneralPlayerSmsVerificationForm-CWv-zsso.cjs +16 -0
- package/components/{GeneralPlayerSmsVerificationForm-C9wGKSBA.js → GeneralPlayerSmsVerificationForm-DRI1hBtZ.js} +289 -287
- package/es2015/general-player-sms-verification-form.cjs +1 -1
- package/es2015/general-player-sms-verification-form.js +1 -1
- package/esnext/general-player-sms-verification-form.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerSmsVerificationForm-pz5ZHSbw.cjs +0 -16
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Pe = (e, t, r) => t in e ?
|
|
1
|
+
var qt = Object.defineProperty, Yt = Object.defineProperties;
|
|
2
|
+
var Kt = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Ke = Object.getOwnPropertySymbols;
|
|
4
|
+
var er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Pe = (e, t, r) => t in e ? qt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
er.call(t, r) && Pe(e, r, t[r]);
|
|
8
|
+
if (Ke)
|
|
9
|
+
for (var r of Ke(t))
|
|
10
|
+
tr.call(t, r) && Pe(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, tt = (e, t) => Yt(e, Kt(t));
|
|
13
13
|
var $ = (e, t, r) => (Pe(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var be = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
@@ -29,25 +29,25 @@ var be = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function D() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function St(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function rt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function ie(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(St);
|
|
40
40
|
}
|
|
41
41
|
function Je(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Tt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function rr(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Ht(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
@@ -56,20 +56,20 @@ function Bt(e, ...t) {
|
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function nr(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push(Ht(t, r));
|
|
61
61
|
}
|
|
62
62
|
function E(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function ir(e, t, r) {
|
|
66
|
+
const n = or(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
|
-
const i =
|
|
69
|
-
i.id = t, i.textContent = r,
|
|
68
|
+
const i = O("style");
|
|
69
|
+
i.id = t, i.textContent = r, sr(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function or(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,7 +79,7 @@ function sr(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function sr(e, t) {
|
|
83
83
|
return E(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
@@ -92,14 +92,14 @@ function Z(e, t, r) {
|
|
|
92
92
|
function j(e) {
|
|
93
93
|
e.parentNode && e.parentNode.removeChild(e);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function O(e) {
|
|
96
96
|
return document.createElement(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function M(e) {
|
|
99
99
|
return document.createTextNode(e);
|
|
100
100
|
}
|
|
101
101
|
function z() {
|
|
102
|
-
return
|
|
102
|
+
return M(" ");
|
|
103
103
|
}
|
|
104
104
|
function ge(e, t, r, n) {
|
|
105
105
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
@@ -107,17 +107,17 @@ function ge(e, t, r, n) {
|
|
|
107
107
|
function B(e, t, r) {
|
|
108
108
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function ar(e) {
|
|
111
111
|
return Array.from(e.childNodes);
|
|
112
112
|
}
|
|
113
113
|
function G(e, t) {
|
|
114
114
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
115
115
|
t);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function nt(e, t) {
|
|
118
118
|
e.value = t == null ? "" : t;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function ur(e) {
|
|
121
121
|
const t = {};
|
|
122
122
|
return e.childNodes.forEach(
|
|
123
123
|
/** @param {Element} node */
|
|
@@ -130,25 +130,25 @@ let de;
|
|
|
130
130
|
function fe(e) {
|
|
131
131
|
de = e;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function lr() {
|
|
134
134
|
if (!de)
|
|
135
135
|
throw new Error("Function called outside component initialization");
|
|
136
136
|
return de;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
|
|
138
|
+
function hr(e) {
|
|
139
|
+
lr().$$.on_mount.push(e);
|
|
140
140
|
}
|
|
141
141
|
const Y = [], $e = [];
|
|
142
142
|
let K = [];
|
|
143
|
-
const
|
|
143
|
+
const it = [], cr = /* @__PURE__ */ Promise.resolve();
|
|
144
144
|
let Ue = !1;
|
|
145
|
-
function
|
|
146
|
-
Ue || (Ue = !0,
|
|
145
|
+
function fr() {
|
|
146
|
+
Ue || (Ue = !0, cr.then(U));
|
|
147
147
|
}
|
|
148
148
|
function De(e) {
|
|
149
149
|
K.push(e);
|
|
150
150
|
}
|
|
151
|
-
const
|
|
151
|
+
const Ce = /* @__PURE__ */ new Set();
|
|
152
152
|
let Q = 0;
|
|
153
153
|
function U() {
|
|
154
154
|
if (Q !== 0)
|
|
@@ -158,7 +158,7 @@ function U() {
|
|
|
158
158
|
try {
|
|
159
159
|
for (; Q < Y.length; ) {
|
|
160
160
|
const t = Y[Q];
|
|
161
|
-
Q++, fe(t),
|
|
161
|
+
Q++, fe(t), dr(t.$$);
|
|
162
162
|
}
|
|
163
163
|
} catch (t) {
|
|
164
164
|
throw Y.length = 0, Q = 0, t;
|
|
@@ -167,44 +167,44 @@ function U() {
|
|
|
167
167
|
$e.pop()();
|
|
168
168
|
for (let t = 0; t < K.length; t += 1) {
|
|
169
169
|
const r = K[t];
|
|
170
|
-
|
|
170
|
+
Ce.has(r) || (Ce.add(r), r());
|
|
171
171
|
}
|
|
172
172
|
K.length = 0;
|
|
173
173
|
} while (Y.length);
|
|
174
|
-
for (;
|
|
175
|
-
|
|
176
|
-
Ue = !1,
|
|
174
|
+
for (; it.length; )
|
|
175
|
+
it.pop()();
|
|
176
|
+
Ue = !1, Ce.clear(), fe(e);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function dr(e) {
|
|
179
179
|
if (e.fragment !== null) {
|
|
180
180
|
e.update(), ie(e.before_update);
|
|
181
181
|
const t = e.dirty;
|
|
182
182
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function mr(e) {
|
|
186
186
|
const t = [], r = [];
|
|
187
187
|
K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
|
|
188
188
|
}
|
|
189
|
-
const
|
|
190
|
-
function
|
|
191
|
-
e && e.i && (
|
|
189
|
+
const pr = /* @__PURE__ */ new Set();
|
|
190
|
+
function br(e, t) {
|
|
191
|
+
e && e.i && (pr.delete(e), e.i(t));
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function gr(e, t, r) {
|
|
194
194
|
const { fragment: n, after_update: i } = e.$$;
|
|
195
195
|
n && n.m(t, r), De(() => {
|
|
196
|
-
const o = e.$$.on_mount.map(
|
|
196
|
+
const o = e.$$.on_mount.map(St).filter(Je);
|
|
197
197
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
|
|
198
198
|
}), i.forEach(De);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function vr(e, t) {
|
|
201
201
|
const r = e.$$;
|
|
202
|
-
r.fragment !== null && (
|
|
202
|
+
r.fragment !== null && (mr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
205
|
-
e.$$.dirty[0] === -1 && (Y.push(e),
|
|
204
|
+
function yr(e, t) {
|
|
205
|
+
e.$$.dirty[0] === -1 && (Y.push(e), fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function Er(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
208
208
|
const l = de;
|
|
209
209
|
fe(e);
|
|
210
210
|
const u = e.$$ = {
|
|
@@ -214,7 +214,7 @@ function xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
214
214
|
props: o,
|
|
215
215
|
update: D,
|
|
216
216
|
not_equal: i,
|
|
217
|
-
bound:
|
|
217
|
+
bound: rt(),
|
|
218
218
|
// lifecycle
|
|
219
219
|
on_mount: [],
|
|
220
220
|
on_destroy: [],
|
|
@@ -223,28 +223,28 @@ function xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
223
223
|
after_update: [],
|
|
224
224
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
225
225
|
// everything else
|
|
226
|
-
callbacks:
|
|
226
|
+
callbacks: rt(),
|
|
227
227
|
dirty: a,
|
|
228
228
|
skip_bound: !1,
|
|
229
229
|
root: t.target || l.$$.root
|
|
230
230
|
};
|
|
231
231
|
s && s(u.root);
|
|
232
232
|
let h = !1;
|
|
233
|
-
if (u.ctx = r
|
|
233
|
+
if (u.ctx = r(e, t.props || {}, (c, d, ...g) => {
|
|
234
234
|
const y = g.length ? g[0] : d;
|
|
235
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h &&
|
|
236
|
-
})
|
|
235
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && yr(e, c)), d;
|
|
236
|
+
}), u.update(), h = !0, ie(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
237
237
|
if (t.hydrate) {
|
|
238
|
-
const c =
|
|
238
|
+
const c = ar(t.target);
|
|
239
239
|
u.fragment && u.fragment.l(c), c.forEach(j);
|
|
240
240
|
} else
|
|
241
241
|
u.fragment && u.fragment.c();
|
|
242
|
-
t.intro &&
|
|
242
|
+
t.intro && br(e.$$.fragment), gr(e, t.target, t.anchor), U();
|
|
243
243
|
}
|
|
244
244
|
fe(l);
|
|
245
245
|
}
|
|
246
|
-
let
|
|
247
|
-
typeof HTMLElement == "function" && (
|
|
246
|
+
let Bt;
|
|
247
|
+
typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
248
248
|
constructor(t, r, n) {
|
|
249
249
|
super();
|
|
250
250
|
/** The Svelte component constructor */
|
|
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
288
288
|
let s;
|
|
289
289
|
return {
|
|
290
290
|
c: function() {
|
|
291
|
-
s =
|
|
291
|
+
s = O("slot"), o !== "default" && B(s, "name", o);
|
|
292
292
|
},
|
|
293
293
|
/**
|
|
294
294
|
* @param {HTMLElement} target
|
|
@@ -305,7 +305,7 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
305
305
|
};
|
|
306
306
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
307
307
|
return;
|
|
308
|
-
const r = {}, n =
|
|
308
|
+
const r = {}, n = ur(this);
|
|
309
309
|
for (const o of this.$$s)
|
|
310
310
|
o in n && (r[o] = [t(o)]);
|
|
311
311
|
for (const o of this.attributes) {
|
|
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
316
316
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
317
317
|
this.$$c = new this.$$ctor({
|
|
318
318
|
target: this.shadowRoot || this,
|
|
319
|
-
props:
|
|
319
|
+
props: tt(et({}, this.$$d), {
|
|
320
320
|
$$slots: r,
|
|
321
321
|
$$scope: {
|
|
322
322
|
ctx: []
|
|
@@ -394,8 +394,8 @@ function ye(e, t, r, n) {
|
|
|
394
394
|
return t;
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
function
|
|
398
|
-
let s = class extends
|
|
397
|
+
function xr(e, t, r, n, i, o) {
|
|
398
|
+
let s = class extends Bt {
|
|
399
399
|
constructor() {
|
|
400
400
|
super(e, r, i), this.$$p_d = t;
|
|
401
401
|
}
|
|
@@ -425,7 +425,7 @@ function _r(e, t, r, n, i, o) {
|
|
|
425
425
|
}), e.element = /** @type {any} */
|
|
426
426
|
s, s;
|
|
427
427
|
}
|
|
428
|
-
class
|
|
428
|
+
class _r {
|
|
429
429
|
constructor() {
|
|
430
430
|
/**
|
|
431
431
|
* ### PRIVATE API
|
|
@@ -446,7 +446,7 @@ class Sr {
|
|
|
446
446
|
}
|
|
447
447
|
/** @returns {void} */
|
|
448
448
|
$destroy() {
|
|
449
|
-
|
|
449
|
+
vr(this, 1), this.$destroy = D;
|
|
450
450
|
}
|
|
451
451
|
/**
|
|
452
452
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -468,13 +468,13 @@ class Sr {
|
|
|
468
468
|
* @returns {void}
|
|
469
469
|
*/
|
|
470
470
|
$set(t) {
|
|
471
|
-
this.$$set && !
|
|
471
|
+
this.$$set && !rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
const
|
|
475
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
474
|
+
const Sr = "4";
|
|
475
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sr);
|
|
476
476
|
const q = [];
|
|
477
|
-
function
|
|
477
|
+
function Tr(e, t) {
|
|
478
478
|
return {
|
|
479
479
|
subscribe: Te(e, t).subscribe
|
|
480
480
|
};
|
|
@@ -483,7 +483,7 @@ function Te(e, t = D) {
|
|
|
483
483
|
let r;
|
|
484
484
|
const n = /* @__PURE__ */ new Set();
|
|
485
485
|
function i(a) {
|
|
486
|
-
if (
|
|
486
|
+
if (Tt(e, a) && (e = a, r)) {
|
|
487
487
|
const l = !q.length;
|
|
488
488
|
for (const u of n)
|
|
489
489
|
u[1](), q.push(u, e);
|
|
@@ -510,7 +510,7 @@ function oe(e, t, r) {
|
|
|
510
510
|
if (!i.every(Boolean))
|
|
511
511
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
512
512
|
const o = t.length < 2;
|
|
513
|
-
return
|
|
513
|
+
return Tr(r, (s, a) => {
|
|
514
514
|
let l = !1;
|
|
515
515
|
const u = [];
|
|
516
516
|
let h = 0, c = D;
|
|
@@ -521,7 +521,7 @@ function oe(e, t, r) {
|
|
|
521
521
|
const y = t(n ? u[0] : u, s, a);
|
|
522
522
|
o ? s(y) : c = Je(y) ? y : D;
|
|
523
523
|
}, g = i.map(
|
|
524
|
-
(y, _) =>
|
|
524
|
+
(y, _) => Ht(
|
|
525
525
|
y,
|
|
526
526
|
(T) => {
|
|
527
527
|
u[_] = T, h &= ~(1 << _), l && d();
|
|
@@ -536,70 +536,70 @@ function oe(e, t, r) {
|
|
|
536
536
|
};
|
|
537
537
|
});
|
|
538
538
|
}
|
|
539
|
-
function
|
|
540
|
-
return e
|
|
539
|
+
function Hr(e) {
|
|
540
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
541
541
|
}
|
|
542
|
-
var
|
|
543
|
-
return
|
|
542
|
+
var Br = function(t) {
|
|
543
|
+
return Ar(t) && !wr(t);
|
|
544
544
|
};
|
|
545
|
-
function
|
|
545
|
+
function Ar(e) {
|
|
546
546
|
return !!e && typeof e == "object";
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function wr(e) {
|
|
549
549
|
var t = Object.prototype.toString.call(e);
|
|
550
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
550
|
+
return t === "[object RegExp]" || t === "[object Date]" || Ir(e);
|
|
551
551
|
}
|
|
552
|
-
var
|
|
553
|
-
function
|
|
552
|
+
var Pr = typeof Symbol == "function" && Symbol.for, Cr = Pr ? Symbol.for("react.element") : 60103;
|
|
553
|
+
function Ir(e) {
|
|
554
554
|
return e.$$typeof === Cr;
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function Nr(e) {
|
|
557
557
|
return Array.isArray(e) ? [] : {};
|
|
558
558
|
}
|
|
559
559
|
function me(e, t) {
|
|
560
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ee(
|
|
560
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ee(Nr(e), e, t) : e;
|
|
561
561
|
}
|
|
562
562
|
function Or(e, t, r) {
|
|
563
563
|
return e.concat(t).map(function(n) {
|
|
564
564
|
return me(n, r);
|
|
565
565
|
});
|
|
566
566
|
}
|
|
567
|
-
function
|
|
567
|
+
function Mr(e, t) {
|
|
568
568
|
if (!t.customMerge)
|
|
569
569
|
return ee;
|
|
570
570
|
var r = t.customMerge(e);
|
|
571
571
|
return typeof r == "function" ? r : ee;
|
|
572
572
|
}
|
|
573
|
-
function
|
|
573
|
+
function Lr(e) {
|
|
574
574
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
575
575
|
return Object.propertyIsEnumerable.call(e, t);
|
|
576
576
|
}) : [];
|
|
577
577
|
}
|
|
578
|
-
function
|
|
579
|
-
return Object.keys(e).concat(
|
|
578
|
+
function ot(e) {
|
|
579
|
+
return Object.keys(e).concat(Lr(e));
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function At(e, t) {
|
|
582
582
|
try {
|
|
583
583
|
return t in e;
|
|
584
584
|
} catch (r) {
|
|
585
585
|
return !1;
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
function
|
|
589
|
-
return
|
|
588
|
+
function Rr(e, t) {
|
|
589
|
+
return At(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
590
590
|
}
|
|
591
|
-
function
|
|
591
|
+
function $r(e, t, r) {
|
|
592
592
|
var n = {};
|
|
593
|
-
return r.isMergeableObject(e) &&
|
|
593
|
+
return r.isMergeableObject(e) && ot(e).forEach(function(i) {
|
|
594
594
|
n[i] = me(e[i], r);
|
|
595
|
-
}),
|
|
596
|
-
|
|
595
|
+
}), ot(t).forEach(function(i) {
|
|
596
|
+
Rr(e, i) || (At(e, i) && r.isMergeableObject(t[i]) ? n[i] = Mr(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
|
|
597
597
|
}), n;
|
|
598
598
|
}
|
|
599
599
|
function ee(e, t, r) {
|
|
600
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Or, r.isMergeableObject = r.isMergeableObject ||
|
|
600
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Or, r.isMergeableObject = r.isMergeableObject || Br, r.cloneUnlessOtherwiseSpecified = me;
|
|
601
601
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
602
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
602
|
+
return o ? n ? r.arrayMerge(e, t, r) : $r(e, t, r) : me(t, r);
|
|
603
603
|
}
|
|
604
604
|
ee.all = function(t, r) {
|
|
605
605
|
if (!Array.isArray(t))
|
|
@@ -608,8 +608,8 @@ ee.all = function(t, r) {
|
|
|
608
608
|
return ee(n, i, r);
|
|
609
609
|
}, {});
|
|
610
610
|
};
|
|
611
|
-
var
|
|
612
|
-
const
|
|
611
|
+
var Ur = ee, Dr = Ur;
|
|
612
|
+
const Fr = /* @__PURE__ */ Hr(Dr);
|
|
613
613
|
/*! *****************************************************************************
|
|
614
614
|
Copyright (c) Microsoft Corporation.
|
|
615
615
|
|
|
@@ -651,7 +651,7 @@ var v = function() {
|
|
|
651
651
|
return t;
|
|
652
652
|
}, v.apply(this, arguments);
|
|
653
653
|
};
|
|
654
|
-
function
|
|
654
|
+
function Gr(e, t) {
|
|
655
655
|
var r = {};
|
|
656
656
|
for (var n in e)
|
|
657
657
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -660,62 +660,64 @@ function kr(e, t) {
|
|
|
660
660
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
661
661
|
return r;
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function Ie(e, t, r) {
|
|
664
664
|
if (arguments.length === 2)
|
|
665
665
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
666
666
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
667
667
|
return e.concat(o || t);
|
|
668
668
|
}
|
|
669
669
|
function Ne(e, t) {
|
|
670
|
-
var r = t && t.cache ? t.cache : Zr, n = t && t.serializer ? t.serializer :
|
|
670
|
+
var r = t && t.cache ? t.cache : Zr, n = t && t.serializer ? t.serializer : zr, i = t && t.strategy ? t.strategy : jr;
|
|
671
671
|
return i(e, {
|
|
672
672
|
cache: r,
|
|
673
673
|
serializer: n
|
|
674
674
|
});
|
|
675
675
|
}
|
|
676
|
-
function
|
|
676
|
+
function kr(e) {
|
|
677
677
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
678
678
|
}
|
|
679
|
-
function
|
|
680
|
-
var i =
|
|
679
|
+
function wt(e, t, r, n) {
|
|
680
|
+
var i = kr(n) ? n : r(n), o = t.get(i);
|
|
681
681
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
682
682
|
}
|
|
683
|
-
function
|
|
683
|
+
function Pt(e, t, r) {
|
|
684
684
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
685
685
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
686
686
|
}
|
|
687
687
|
function Qe(e, t, r, n, i) {
|
|
688
688
|
return r.bind(t, e, n, i);
|
|
689
689
|
}
|
|
690
|
-
function
|
|
691
|
-
var r = e.length === 1 ?
|
|
690
|
+
function jr(e, t) {
|
|
691
|
+
var r = e.length === 1 ? wt : Pt;
|
|
692
692
|
return Qe(e, this, r, t.cache.create(), t.serializer);
|
|
693
693
|
}
|
|
694
|
-
function
|
|
695
|
-
return Qe(e, this, It, t.cache.create(), t.serializer);
|
|
696
|
-
}
|
|
697
|
-
function zr(e, t) {
|
|
694
|
+
function Vr(e, t) {
|
|
698
695
|
return Qe(e, this, Pt, t.cache.create(), t.serializer);
|
|
699
696
|
}
|
|
700
|
-
|
|
701
|
-
return
|
|
702
|
-
};
|
|
703
|
-
function qe() {
|
|
704
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
697
|
+
function Xr(e, t) {
|
|
698
|
+
return Qe(e, this, wt, t.cache.create(), t.serializer);
|
|
705
699
|
}
|
|
706
|
-
|
|
707
|
-
return
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
700
|
+
var zr = function() {
|
|
701
|
+
return JSON.stringify(arguments);
|
|
702
|
+
}, Wr = (
|
|
703
|
+
/** @class */
|
|
704
|
+
function() {
|
|
705
|
+
function e() {
|
|
706
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
707
|
+
}
|
|
708
|
+
return e.prototype.get = function(t) {
|
|
709
|
+
return this.cache[t];
|
|
710
|
+
}, e.prototype.set = function(t, r) {
|
|
711
|
+
this.cache[t] = r;
|
|
712
|
+
}, e;
|
|
713
|
+
}()
|
|
714
|
+
), Zr = {
|
|
713
715
|
create: function() {
|
|
714
|
-
return new
|
|
716
|
+
return new Wr();
|
|
715
717
|
}
|
|
716
|
-
},
|
|
717
|
-
variadic:
|
|
718
|
-
monadic:
|
|
718
|
+
}, Oe = {
|
|
719
|
+
variadic: Vr,
|
|
720
|
+
monadic: Xr
|
|
719
721
|
}, m;
|
|
720
722
|
(function(e) {
|
|
721
723
|
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";
|
|
@@ -728,7 +730,7 @@ var te;
|
|
|
728
730
|
(function(e) {
|
|
729
731
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
730
732
|
})(te || (te = {}));
|
|
731
|
-
function
|
|
733
|
+
function st(e) {
|
|
732
734
|
return e.type === x.literal;
|
|
733
735
|
}
|
|
734
736
|
function Jr(e) {
|
|
@@ -737,31 +739,31 @@ function Jr(e) {
|
|
|
737
739
|
function Ct(e) {
|
|
738
740
|
return e.type === x.number;
|
|
739
741
|
}
|
|
740
|
-
function
|
|
742
|
+
function It(e) {
|
|
741
743
|
return e.type === x.date;
|
|
742
744
|
}
|
|
743
|
-
function
|
|
745
|
+
function Nt(e) {
|
|
744
746
|
return e.type === x.time;
|
|
745
747
|
}
|
|
746
748
|
function Ot(e) {
|
|
747
749
|
return e.type === x.select;
|
|
748
750
|
}
|
|
749
|
-
function
|
|
751
|
+
function Mt(e) {
|
|
750
752
|
return e.type === x.plural;
|
|
751
753
|
}
|
|
752
754
|
function Qr(e) {
|
|
753
755
|
return e.type === x.pound;
|
|
754
756
|
}
|
|
755
|
-
function
|
|
757
|
+
function Lt(e) {
|
|
756
758
|
return e.type === x.tag;
|
|
757
759
|
}
|
|
758
|
-
function
|
|
760
|
+
function Rt(e) {
|
|
759
761
|
return !!(e && typeof e == "object" && e.type === te.number);
|
|
760
762
|
}
|
|
761
763
|
function Ge(e) {
|
|
762
764
|
return !!(e && typeof e == "object" && e.type === te.dateTime);
|
|
763
765
|
}
|
|
764
|
-
var
|
|
766
|
+
var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, qr = /(?:[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;
|
|
765
767
|
function Yr(e) {
|
|
766
768
|
var t = {};
|
|
767
769
|
return e.replace(qr, function(r) {
|
|
@@ -875,14 +877,14 @@ function en(e) {
|
|
|
875
877
|
function tn(e) {
|
|
876
878
|
return e.replace(/^(.*?)-/, "");
|
|
877
879
|
}
|
|
878
|
-
var
|
|
879
|
-
function
|
|
880
|
+
var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ut = /^(@+)?(\+|#+)?[rs]?$/g, rn = /(\*)(0+)|(#+)(0+)|(0+)/g, Dt = /^(0+)$/;
|
|
881
|
+
function ut(e) {
|
|
880
882
|
var t = {};
|
|
881
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
883
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ut, function(r, n, i) {
|
|
882
884
|
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)), "";
|
|
883
885
|
}), t;
|
|
884
886
|
}
|
|
885
|
-
function
|
|
887
|
+
function Ft(e) {
|
|
886
888
|
switch (e) {
|
|
887
889
|
case "sign-auto":
|
|
888
890
|
return {
|
|
@@ -930,14 +932,14 @@ function nn(e) {
|
|
|
930
932
|
notation: "scientific"
|
|
931
933
|
}, e = e.slice(1)), t) {
|
|
932
934
|
var r = e.slice(0, 2);
|
|
933
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
935
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Dt.test(e))
|
|
934
936
|
throw new Error("Malformed concise eng/scientific notation");
|
|
935
937
|
t.minimumIntegerDigits = e.length;
|
|
936
938
|
}
|
|
937
939
|
return t;
|
|
938
940
|
}
|
|
939
|
-
function
|
|
940
|
-
var t = {}, r =
|
|
941
|
+
function lt(e) {
|
|
942
|
+
var t = {}, r = Ft(e);
|
|
941
943
|
return r || t;
|
|
942
944
|
}
|
|
943
945
|
function on(e) {
|
|
@@ -976,12 +978,12 @@ function on(e) {
|
|
|
976
978
|
continue;
|
|
977
979
|
case "scientific":
|
|
978
980
|
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
979
|
-
return v(v({}, l),
|
|
981
|
+
return v(v({}, l), lt(u));
|
|
980
982
|
}, {}));
|
|
981
983
|
continue;
|
|
982
984
|
case "engineering":
|
|
983
985
|
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
984
|
-
return v(v({}, l),
|
|
986
|
+
return v(v({}, l), lt(u));
|
|
985
987
|
}, {}));
|
|
986
988
|
continue;
|
|
987
989
|
case "notation-simple":
|
|
@@ -1039,25 +1041,25 @@ function on(e) {
|
|
|
1039
1041
|
});
|
|
1040
1042
|
continue;
|
|
1041
1043
|
}
|
|
1042
|
-
if (
|
|
1044
|
+
if (Dt.test(i.stem)) {
|
|
1043
1045
|
t.minimumIntegerDigits = i.stem.length;
|
|
1044
1046
|
continue;
|
|
1045
1047
|
}
|
|
1046
|
-
if (
|
|
1048
|
+
if (at.test(i.stem)) {
|
|
1047
1049
|
if (i.options.length > 1)
|
|
1048
1050
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1049
|
-
i.stem.replace(
|
|
1051
|
+
i.stem.replace(at, function(l, u, h, c, d, g) {
|
|
1050
1052
|
return h === "*" ? 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), "";
|
|
1051
1053
|
});
|
|
1052
1054
|
var o = i.options[0];
|
|
1053
|
-
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t),
|
|
1055
|
+
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), ut(o)));
|
|
1054
1056
|
continue;
|
|
1055
1057
|
}
|
|
1056
|
-
if (
|
|
1057
|
-
t = v(v({}, t),
|
|
1058
|
+
if (Ut.test(i.stem)) {
|
|
1059
|
+
t = v(v({}, t), ut(i.stem));
|
|
1058
1060
|
continue;
|
|
1059
1061
|
}
|
|
1060
|
-
var s =
|
|
1062
|
+
var s = Ft(i.stem);
|
|
1061
1063
|
s && (t = v(v({}, t), s));
|
|
1062
1064
|
var a = nn(i.stem);
|
|
1063
1065
|
a && (t = v(v({}, t), a));
|
|
@@ -2517,7 +2519,7 @@ function an(e) {
|
|
|
2517
2519
|
var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
2518
2520
|
return i[0];
|
|
2519
2521
|
}
|
|
2520
|
-
var
|
|
2522
|
+
var Me, un = new RegExp("^".concat($t.source, "*")), ln = new RegExp("".concat($t.source, "*$"));
|
|
2521
2523
|
function b(e, t) {
|
|
2522
2524
|
return { start: e, end: t };
|
|
2523
2525
|
}
|
|
@@ -2525,12 +2527,12 @@ var hn = !!String.prototype.startsWith && "_a".startsWith("a", 1), cn = !!String
|
|
|
2525
2527
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2526
2528
|
}, ke = !0;
|
|
2527
2529
|
try {
|
|
2528
|
-
var vn =
|
|
2529
|
-
ke = ((
|
|
2530
|
+
var vn = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2531
|
+
ke = ((Me = vn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
|
|
2530
2532
|
} catch (e) {
|
|
2531
2533
|
ke = !1;
|
|
2532
2534
|
}
|
|
2533
|
-
var
|
|
2535
|
+
var ht = hn ? (
|
|
2534
2536
|
// Native
|
|
2535
2537
|
function(t, r, n) {
|
|
2536
2538
|
return t.startsWith(r, n);
|
|
@@ -2552,7 +2554,7 @@ var ct = hn ? (
|
|
|
2552
2554
|
}
|
|
2553
2555
|
return n;
|
|
2554
2556
|
}
|
|
2555
|
-
),
|
|
2557
|
+
), ct = (
|
|
2556
2558
|
// native
|
|
2557
2559
|
fn ? Object.fromEntries : (
|
|
2558
2560
|
// Ponyfill
|
|
@@ -2564,7 +2566,7 @@ var ct = hn ? (
|
|
|
2564
2566
|
return r;
|
|
2565
2567
|
}
|
|
2566
2568
|
)
|
|
2567
|
-
),
|
|
2569
|
+
), Gt = dn ? (
|
|
2568
2570
|
// Native
|
|
2569
2571
|
function(t, r) {
|
|
2570
2572
|
return t.codePointAt(r);
|
|
@@ -2599,23 +2601,23 @@ var ct = hn ? (
|
|
|
2599
2601
|
return t.replace(ln, "");
|
|
2600
2602
|
}
|
|
2601
2603
|
);
|
|
2602
|
-
function
|
|
2604
|
+
function kt(e, t) {
|
|
2603
2605
|
return new RegExp(e, t);
|
|
2604
2606
|
}
|
|
2605
2607
|
var Ve;
|
|
2606
2608
|
if (ke) {
|
|
2607
|
-
var
|
|
2609
|
+
var ft = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2608
2610
|
Ve = function(t, r) {
|
|
2609
2611
|
var n;
|
|
2610
|
-
|
|
2611
|
-
var i =
|
|
2612
|
+
ft.lastIndex = r;
|
|
2613
|
+
var i = ft.exec(t);
|
|
2612
2614
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2613
2615
|
};
|
|
2614
2616
|
} else
|
|
2615
2617
|
Ve = function(t, r) {
|
|
2616
2618
|
for (var n = []; ; ) {
|
|
2617
|
-
var i =
|
|
2618
|
-
if (i === void 0 ||
|
|
2619
|
+
var i = Gt(t, r);
|
|
2620
|
+
if (i === void 0 || jt(i) || Tn(i))
|
|
2619
2621
|
break;
|
|
2620
2622
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2621
2623
|
}
|
|
@@ -2829,7 +2831,7 @@ var xn = (
|
|
|
2829
2831
|
if (y.err)
|
|
2830
2832
|
return y;
|
|
2831
2833
|
var _ = b(i, this.clonePosition());
|
|
2832
|
-
if (u &&
|
|
2834
|
+
if (u && ht(u == null ? void 0 : u.style, "::", 0)) {
|
|
2833
2835
|
var T = yn(u.style.slice(2));
|
|
2834
2836
|
if (a === "number") {
|
|
2835
2837
|
var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
@@ -2892,7 +2894,7 @@ var xn = (
|
|
|
2892
2894
|
val: {
|
|
2893
2895
|
type: x.select,
|
|
2894
2896
|
value: n,
|
|
2895
|
-
options:
|
|
2897
|
+
options: ct(F.val),
|
|
2896
2898
|
location: V
|
|
2897
2899
|
},
|
|
2898
2900
|
err: null
|
|
@@ -2900,7 +2902,7 @@ var xn = (
|
|
|
2900
2902
|
val: {
|
|
2901
2903
|
type: x.plural,
|
|
2902
2904
|
value: n,
|
|
2903
|
-
options:
|
|
2905
|
+
options: ct(F.val),
|
|
2904
2906
|
offset: N,
|
|
2905
2907
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2906
2908
|
location: V
|
|
@@ -3023,7 +3025,7 @@ var xn = (
|
|
|
3023
3025
|
var t = this.position.offset;
|
|
3024
3026
|
if (t >= this.message.length)
|
|
3025
3027
|
throw Error("out of bound");
|
|
3026
|
-
var r =
|
|
3028
|
+
var r = Gt(this.message, t);
|
|
3027
3029
|
if (r === void 0)
|
|
3028
3030
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3029
3031
|
return r;
|
|
@@ -3042,7 +3044,7 @@ var xn = (
|
|
|
3042
3044
|
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);
|
|
3043
3045
|
}
|
|
3044
3046
|
}, e.prototype.bumpIf = function(t) {
|
|
3045
|
-
if (
|
|
3047
|
+
if (ht(this.message, t, this.offset())) {
|
|
3046
3048
|
for (var r = 0; r < t.length; r++)
|
|
3047
3049
|
this.bump();
|
|
3048
3050
|
return !0;
|
|
@@ -3064,7 +3066,7 @@ var xn = (
|
|
|
3064
3066
|
break;
|
|
3065
3067
|
}
|
|
3066
3068
|
}, e.prototype.bumpSpace = function() {
|
|
3067
|
-
for (; !this.isEOF() &&
|
|
3069
|
+
for (; !this.isEOF() && jt(this.char()); )
|
|
3068
3070
|
this.bump();
|
|
3069
3071
|
}, e.prototype.peek = function() {
|
|
3070
3072
|
if (this.isEOF())
|
|
@@ -3083,7 +3085,7 @@ function _n(e) {
|
|
|
3083
3085
|
function Sn(e) {
|
|
3084
3086
|
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;
|
|
3085
3087
|
}
|
|
3086
|
-
function
|
|
3088
|
+
function jt(e) {
|
|
3087
3089
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3088
3090
|
}
|
|
3089
3091
|
function Tn(e) {
|
|
@@ -3091,11 +3093,11 @@ function Tn(e) {
|
|
|
3091
3093
|
}
|
|
3092
3094
|
function ze(e) {
|
|
3093
3095
|
e.forEach(function(t) {
|
|
3094
|
-
if (delete t.location, Ot(t) ||
|
|
3096
|
+
if (delete t.location, Ot(t) || Mt(t))
|
|
3095
3097
|
for (var r in t.options)
|
|
3096
3098
|
delete t.options[r].location, ze(t.options[r].value);
|
|
3097
3099
|
else
|
|
3098
|
-
Ct(t) &&
|
|
3100
|
+
Ct(t) && Rt(t.style) || (It(t) || Nt(t)) && Ge(t.style) ? delete t.style.location : Lt(t) && ze(t.children);
|
|
3099
3101
|
});
|
|
3100
3102
|
}
|
|
3101
3103
|
function Hn(e, t) {
|
|
@@ -3123,7 +3125,7 @@ var Be = (
|
|
|
3123
3125
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3124
3126
|
}, t;
|
|
3125
3127
|
}(Error)
|
|
3126
|
-
),
|
|
3128
|
+
), dt = (
|
|
3127
3129
|
/** @class */
|
|
3128
3130
|
function(e) {
|
|
3129
3131
|
He(t, e);
|
|
@@ -3150,39 +3152,39 @@ var Be = (
|
|
|
3150
3152
|
}
|
|
3151
3153
|
return t;
|
|
3152
3154
|
}(Be)
|
|
3153
|
-
),
|
|
3155
|
+
), I;
|
|
3154
3156
|
(function(e) {
|
|
3155
3157
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3156
|
-
})(
|
|
3158
|
+
})(I || (I = {}));
|
|
3157
3159
|
function wn(e) {
|
|
3158
3160
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3159
3161
|
var n = t[t.length - 1];
|
|
3160
|
-
return !n || n.type !==
|
|
3162
|
+
return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
|
|
3161
3163
|
}, []);
|
|
3162
3164
|
}
|
|
3163
3165
|
function Pn(e) {
|
|
3164
3166
|
return typeof e == "function";
|
|
3165
3167
|
}
|
|
3166
3168
|
function Ee(e, t, r, n, i, o, s) {
|
|
3167
|
-
if (e.length === 1 &&
|
|
3169
|
+
if (e.length === 1 && st(e[0]))
|
|
3168
3170
|
return [
|
|
3169
3171
|
{
|
|
3170
|
-
type:
|
|
3172
|
+
type: I.literal,
|
|
3171
3173
|
value: e[0].value
|
|
3172
3174
|
}
|
|
3173
3175
|
];
|
|
3174
3176
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3175
3177
|
var h = u[l];
|
|
3176
|
-
if (
|
|
3178
|
+
if (st(h)) {
|
|
3177
3179
|
a.push({
|
|
3178
|
-
type:
|
|
3180
|
+
type: I.literal,
|
|
3179
3181
|
value: h.value
|
|
3180
3182
|
});
|
|
3181
3183
|
continue;
|
|
3182
3184
|
}
|
|
3183
3185
|
if (Qr(h)) {
|
|
3184
3186
|
typeof o == "number" && a.push({
|
|
3185
|
-
type:
|
|
3187
|
+
type: I.literal,
|
|
3186
3188
|
value: r.getNumberFormat(t).format(o)
|
|
3187
3189
|
});
|
|
3188
3190
|
continue;
|
|
@@ -3193,36 +3195,36 @@ function Ee(e, t, r, n, i, o, s) {
|
|
|
3193
3195
|
var d = i[c];
|
|
3194
3196
|
if (Jr(h)) {
|
|
3195
3197
|
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3196
|
-
type: typeof d == "string" ?
|
|
3198
|
+
type: typeof d == "string" ? I.literal : I.object,
|
|
3197
3199
|
value: d
|
|
3198
3200
|
});
|
|
3199
3201
|
continue;
|
|
3200
3202
|
}
|
|
3201
|
-
if (
|
|
3203
|
+
if (It(h)) {
|
|
3202
3204
|
var g = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
|
|
3203
3205
|
a.push({
|
|
3204
|
-
type:
|
|
3206
|
+
type: I.literal,
|
|
3205
3207
|
value: r.getDateTimeFormat(t, g).format(d)
|
|
3206
3208
|
});
|
|
3207
3209
|
continue;
|
|
3208
3210
|
}
|
|
3209
|
-
if (
|
|
3211
|
+
if (Nt(h)) {
|
|
3210
3212
|
var g = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3211
3213
|
a.push({
|
|
3212
|
-
type:
|
|
3214
|
+
type: I.literal,
|
|
3213
3215
|
value: r.getDateTimeFormat(t, g).format(d)
|
|
3214
3216
|
});
|
|
3215
3217
|
continue;
|
|
3216
3218
|
}
|
|
3217
3219
|
if (Ct(h)) {
|
|
3218
|
-
var g = typeof h.style == "string" ? n.number[h.style] :
|
|
3220
|
+
var g = typeof h.style == "string" ? n.number[h.style] : Rt(h.style) ? h.style.parsedOptions : void 0;
|
|
3219
3221
|
g && g.scale && (d = d * (g.scale || 1)), a.push({
|
|
3220
|
-
type:
|
|
3222
|
+
type: I.literal,
|
|
3221
3223
|
value: r.getNumberFormat(t, g).format(d)
|
|
3222
3224
|
});
|
|
3223
3225
|
continue;
|
|
3224
3226
|
}
|
|
3225
|
-
if (
|
|
3227
|
+
if (Lt(h)) {
|
|
3226
3228
|
var y = h.children, _ = h.value, T = i[_];
|
|
3227
3229
|
if (!Pn(T))
|
|
3228
3230
|
throw new Bn(_, "function", s);
|
|
@@ -3231,7 +3233,7 @@ function Ee(e, t, r, n, i, o, s) {
|
|
|
3231
3233
|
}));
|
|
3232
3234
|
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(N) {
|
|
3233
3235
|
return {
|
|
3234
|
-
type: typeof N == "string" ?
|
|
3236
|
+
type: typeof N == "string" ? I.literal : I.object,
|
|
3235
3237
|
value: N
|
|
3236
3238
|
};
|
|
3237
3239
|
}));
|
|
@@ -3239,11 +3241,11 @@ function Ee(e, t, r, n, i, o, s) {
|
|
|
3239
3241
|
if (Ot(h)) {
|
|
3240
3242
|
var A = h.options[d] || h.options.other;
|
|
3241
3243
|
if (!A)
|
|
3242
|
-
throw new
|
|
3244
|
+
throw new dt(h.value, d, Object.keys(h.options), s);
|
|
3243
3245
|
a.push.apply(a, Ee(A.value, t, r, n, i));
|
|
3244
3246
|
continue;
|
|
3245
3247
|
}
|
|
3246
|
-
if (
|
|
3248
|
+
if (Mt(h)) {
|
|
3247
3249
|
var A = h.options["=".concat(d)];
|
|
3248
3250
|
if (!A) {
|
|
3249
3251
|
if (!Intl.PluralRules)
|
|
@@ -3254,21 +3256,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3254
3256
|
A = h.options[S] || h.options.other;
|
|
3255
3257
|
}
|
|
3256
3258
|
if (!A)
|
|
3257
|
-
throw new
|
|
3259
|
+
throw new dt(h.value, d, Object.keys(h.options), s);
|
|
3258
3260
|
a.push.apply(a, Ee(A.value, t, r, n, i, d - (h.offset || 0)));
|
|
3259
3261
|
continue;
|
|
3260
3262
|
}
|
|
3261
3263
|
}
|
|
3262
3264
|
return wn(a);
|
|
3263
3265
|
}
|
|
3264
|
-
function
|
|
3266
|
+
function Cn(e, t) {
|
|
3265
3267
|
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3266
3268
|
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
3267
3269
|
}, {})) : e;
|
|
3268
3270
|
}
|
|
3269
|
-
function
|
|
3271
|
+
function In(e, t) {
|
|
3270
3272
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3271
|
-
return r[n] =
|
|
3273
|
+
return r[n] = Cn(e[n], t[n]), r;
|
|
3272
3274
|
}, v({}, e)) : e;
|
|
3273
3275
|
}
|
|
3274
3276
|
function Le(e) {
|
|
@@ -3294,30 +3296,30 @@ function Nn(e) {
|
|
|
3294
3296
|
getNumberFormat: Ne(function() {
|
|
3295
3297
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3296
3298
|
r[n] = arguments[n];
|
|
3297
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3299
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3298
3300
|
}, {
|
|
3299
3301
|
cache: Le(e.number),
|
|
3300
|
-
strategy:
|
|
3302
|
+
strategy: Oe.variadic
|
|
3301
3303
|
}),
|
|
3302
3304
|
getDateTimeFormat: Ne(function() {
|
|
3303
3305
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3304
3306
|
r[n] = arguments[n];
|
|
3305
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3307
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3306
3308
|
}, {
|
|
3307
3309
|
cache: Le(e.dateTime),
|
|
3308
|
-
strategy:
|
|
3310
|
+
strategy: Oe.variadic
|
|
3309
3311
|
}),
|
|
3310
3312
|
getPluralRules: Ne(function() {
|
|
3311
3313
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3312
3314
|
r[n] = arguments[n];
|
|
3313
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3315
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3314
3316
|
}, {
|
|
3315
3317
|
cache: Le(e.pluralRules),
|
|
3316
|
-
strategy:
|
|
3318
|
+
strategy: Oe.variadic
|
|
3317
3319
|
})
|
|
3318
3320
|
};
|
|
3319
3321
|
}
|
|
3320
|
-
var
|
|
3322
|
+
var On = (
|
|
3321
3323
|
/** @class */
|
|
3322
3324
|
function() {
|
|
3323
3325
|
function e(t, r, n, i) {
|
|
@@ -3332,7 +3334,7 @@ var Mn = (
|
|
|
3332
3334
|
if (u.length === 1)
|
|
3333
3335
|
return u[0].value;
|
|
3334
3336
|
var h = u.reduce(function(c, d) {
|
|
3335
|
-
return !c.length || d.type !==
|
|
3337
|
+
return !c.length || d.type !== I.literal || typeof c[c.length - 1] != "string" ? c.push(d.value) : c[c.length - 1] += d.value, c;
|
|
3336
3338
|
}, []);
|
|
3337
3339
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3338
3340
|
}, this.formatToParts = function(l) {
|
|
@@ -3349,13 +3351,13 @@ var Mn = (
|
|
|
3349
3351
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3350
3352
|
var s = i || {};
|
|
3351
3353
|
s.formatters;
|
|
3352
|
-
var a =
|
|
3354
|
+
var a = Gr(s, ["formatters"]);
|
|
3353
3355
|
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
|
3354
3356
|
} else
|
|
3355
3357
|
this.ast = t;
|
|
3356
3358
|
if (!Array.isArray(this.ast))
|
|
3357
3359
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3358
|
-
this.formats =
|
|
3360
|
+
this.formats = In(e.formats, n), this.formatters = i && i.formatters || Nn(this.formatterCache);
|
|
3359
3361
|
}
|
|
3360
3362
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3361
3363
|
get: function() {
|
|
@@ -3429,7 +3431,7 @@ var Mn = (
|
|
|
3429
3431
|
}, e;
|
|
3430
3432
|
}()
|
|
3431
3433
|
);
|
|
3432
|
-
function
|
|
3434
|
+
function Mn(e, t) {
|
|
3433
3435
|
if (t == null)
|
|
3434
3436
|
return;
|
|
3435
3437
|
if (t in e)
|
|
@@ -3450,7 +3452,7 @@ function On(e, t) {
|
|
|
3450
3452
|
n = void 0;
|
|
3451
3453
|
return n;
|
|
3452
3454
|
}
|
|
3453
|
-
const k = {}, Ln = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r),
|
|
3455
|
+
const k = {}, Ln = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), Vt = (e, t) => {
|
|
3454
3456
|
if (t == null)
|
|
3455
3457
|
return;
|
|
3456
3458
|
if (t in k && e in k[t])
|
|
@@ -3462,19 +3464,19 @@ const k = {}, Ln = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][
|
|
|
3462
3464
|
return Ln(e, t, o);
|
|
3463
3465
|
}
|
|
3464
3466
|
};
|
|
3465
|
-
let
|
|
3467
|
+
let qe;
|
|
3466
3468
|
const se = Te({});
|
|
3467
3469
|
function Rn(e) {
|
|
3468
|
-
return
|
|
3470
|
+
return qe[e] || null;
|
|
3469
3471
|
}
|
|
3470
|
-
function
|
|
3471
|
-
return e in
|
|
3472
|
+
function Xt(e) {
|
|
3473
|
+
return e in qe;
|
|
3472
3474
|
}
|
|
3473
3475
|
function $n(e, t) {
|
|
3474
|
-
if (!
|
|
3476
|
+
if (!Xt(e))
|
|
3475
3477
|
return null;
|
|
3476
3478
|
const r = Rn(e);
|
|
3477
|
-
return
|
|
3479
|
+
return Mn(r, t);
|
|
3478
3480
|
}
|
|
3479
3481
|
function Un(e) {
|
|
3480
3482
|
if (e == null)
|
|
@@ -3482,28 +3484,28 @@ function Un(e) {
|
|
|
3482
3484
|
const t = Ae(e);
|
|
3483
3485
|
for (let r = 0; r < t.length; r++) {
|
|
3484
3486
|
const n = t[r];
|
|
3485
|
-
if (
|
|
3487
|
+
if (Xt(n))
|
|
3486
3488
|
return n;
|
|
3487
3489
|
}
|
|
3488
3490
|
}
|
|
3489
|
-
function
|
|
3490
|
-
delete k[e], se.update((r) => (r[e] =
|
|
3491
|
+
function zt(e, ...t) {
|
|
3492
|
+
delete k[e], se.update((r) => (r[e] = Fr.all([r[e] || {}, ...t]), r));
|
|
3491
3493
|
}
|
|
3492
3494
|
oe(
|
|
3493
3495
|
[se],
|
|
3494
3496
|
([e]) => Object.keys(e)
|
|
3495
3497
|
);
|
|
3496
|
-
se.subscribe((e) =>
|
|
3498
|
+
se.subscribe((e) => qe = e);
|
|
3497
3499
|
const xe = {};
|
|
3498
3500
|
function Dn(e, t) {
|
|
3499
3501
|
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
|
3500
3502
|
}
|
|
3501
|
-
function
|
|
3503
|
+
function Wt(e) {
|
|
3502
3504
|
return xe[e];
|
|
3503
3505
|
}
|
|
3504
3506
|
function Fn(e) {
|
|
3505
3507
|
return Ae(e).map((t) => {
|
|
3506
|
-
const r =
|
|
3508
|
+
const r = Wt(t);
|
|
3507
3509
|
return [t, r ? [...r] : []];
|
|
3508
3510
|
}).filter(([, t]) => t.length > 0);
|
|
3509
3511
|
}
|
|
@@ -3511,17 +3513,17 @@ function We(e) {
|
|
|
3511
3513
|
return e == null ? !1 : Ae(e).some(
|
|
3512
3514
|
(t) => {
|
|
3513
3515
|
var r;
|
|
3514
|
-
return (r =
|
|
3516
|
+
return (r = Wt(t)) == null ? void 0 : r.size;
|
|
3515
3517
|
}
|
|
3516
3518
|
);
|
|
3517
3519
|
}
|
|
3518
3520
|
function Gn(e, t) {
|
|
3519
3521
|
return Promise.all(
|
|
3520
3522
|
t.map((n) => (Dn(e, n), n().then((i) => i.default || i)))
|
|
3521
|
-
).then((n) =>
|
|
3523
|
+
).then((n) => zt(e, ...n));
|
|
3522
3524
|
}
|
|
3523
3525
|
const ce = {};
|
|
3524
|
-
function
|
|
3526
|
+
function Zt(e) {
|
|
3525
3527
|
if (!We(e))
|
|
3526
3528
|
return e in ce ? ce[e] : Promise.resolve();
|
|
3527
3529
|
const t = Fn(e);
|
|
@@ -3531,7 +3533,7 @@ function Jt(e) {
|
|
|
3531
3533
|
)
|
|
3532
3534
|
).then(() => {
|
|
3533
3535
|
if (We(e))
|
|
3534
|
-
return
|
|
3536
|
+
return Zt(e);
|
|
3535
3537
|
delete ce[e];
|
|
3536
3538
|
}), ce[e];
|
|
3537
3539
|
}
|
|
@@ -3576,22 +3578,22 @@ function ne() {
|
|
|
3576
3578
|
return Vn;
|
|
3577
3579
|
}
|
|
3578
3580
|
const Re = Te(!1);
|
|
3579
|
-
var Xn = Object.defineProperty, zn = Object.defineProperties, Wn = Object.getOwnPropertyDescriptors,
|
|
3580
|
-
for (var r in t
|
|
3581
|
-
Zn.call(t, r) &&
|
|
3582
|
-
if (
|
|
3583
|
-
for (var r of
|
|
3584
|
-
Jn.call(t, r) &&
|
|
3581
|
+
var Xn = Object.defineProperty, zn = Object.defineProperties, Wn = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qn = (e, t) => {
|
|
3582
|
+
for (var r in t)
|
|
3583
|
+
Zn.call(t, r) && pt(e, r, t[r]);
|
|
3584
|
+
if (mt)
|
|
3585
|
+
for (var r of mt(t))
|
|
3586
|
+
Jn.call(t, r) && pt(e, r, t[r]);
|
|
3585
3587
|
return e;
|
|
3586
3588
|
}, qn = (e, t) => zn(e, Wn(t));
|
|
3587
3589
|
let Ze;
|
|
3588
3590
|
const _e = Te(null);
|
|
3589
|
-
function
|
|
3591
|
+
function bt(e) {
|
|
3590
3592
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3591
3593
|
}
|
|
3592
3594
|
function Ae(e, t = ne().fallbackLocale) {
|
|
3593
|
-
const r =
|
|
3594
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3595
|
+
const r = bt(e);
|
|
3596
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
|
|
3595
3597
|
}
|
|
3596
3598
|
function J() {
|
|
3597
3599
|
return Ze != null ? Ze : void 0;
|
|
@@ -3606,7 +3608,7 @@ const Yn = (e) => {
|
|
|
3606
3608
|
return typeof window != "undefined" && J() != null && t ? r = window.setTimeout(
|
|
3607
3609
|
() => Re.set(!0),
|
|
3608
3610
|
t
|
|
3609
|
-
) : Re.set(!0),
|
|
3611
|
+
) : Re.set(!0), Zt(e).then(() => {
|
|
3610
3612
|
_e.set(e);
|
|
3611
3613
|
}).finally(() => {
|
|
3612
3614
|
clearTimeout(r), Re.set(!1);
|
|
@@ -3622,20 +3624,20 @@ const Yn = (e) => {
|
|
|
3622
3624
|
return i in t ? t[i] : t[i] = e(n);
|
|
3623
3625
|
};
|
|
3624
3626
|
};
|
|
3625
|
-
var Kn = Object.defineProperty, Se = Object.getOwnPropertySymbols,
|
|
3627
|
+
var Kn = Object.defineProperty, Se = Object.getOwnPropertySymbols, Jt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
|
|
3626
3628
|
for (var r in t || (t = {}))
|
|
3627
|
-
|
|
3629
|
+
Jt.call(t, r) && gt(e, r, t[r]);
|
|
3628
3630
|
if (Se)
|
|
3629
3631
|
for (var r of Se(t))
|
|
3630
|
-
|
|
3632
|
+
Qt.call(t, r) && gt(e, r, t[r]);
|
|
3631
3633
|
return e;
|
|
3632
3634
|
}, ae = (e, t) => {
|
|
3633
3635
|
var r = {};
|
|
3634
3636
|
for (var n in e)
|
|
3635
|
-
|
|
3637
|
+
Jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3636
3638
|
if (e != null && Se)
|
|
3637
3639
|
for (var n of Se(e))
|
|
3638
|
-
t.indexOf(n) < 0 &&
|
|
3640
|
+
t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
|
|
3639
3641
|
return r;
|
|
3640
3642
|
};
|
|
3641
3643
|
const pe = (e, t) => {
|
|
@@ -3672,24 +3674,24 @@ const pe = (e, t) => {
|
|
|
3672
3674
|
} = t, n = ae(t, [
|
|
3673
3675
|
"locale"
|
|
3674
3676
|
]);
|
|
3675
|
-
return ei(
|
|
3677
|
+
return ei(Ye({ locale: r }, n));
|
|
3676
3678
|
}, ii = (e = {}) => {
|
|
3677
3679
|
var t = e, {
|
|
3678
3680
|
locale: r = J()
|
|
3679
3681
|
} = t, n = ae(t, [
|
|
3680
3682
|
"locale"
|
|
3681
3683
|
]);
|
|
3682
|
-
return ti(
|
|
3684
|
+
return ti(Ye({ locale: r }, n));
|
|
3683
3685
|
}, oi = (e = {}) => {
|
|
3684
3686
|
var t = e, {
|
|
3685
3687
|
locale: r = J()
|
|
3686
3688
|
} = t, n = ae(t, [
|
|
3687
3689
|
"locale"
|
|
3688
3690
|
]);
|
|
3689
|
-
return ri(
|
|
3691
|
+
return ri(Ye({ locale: r }, n));
|
|
3690
3692
|
}, si = we(
|
|
3691
3693
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3692
|
-
(e, t = J()) => new
|
|
3694
|
+
(e, t = J()) => new On(e, t, ne().formats, {
|
|
3693
3695
|
ignoreTag: ne().ignoreTag
|
|
3694
3696
|
})
|
|
3695
3697
|
), ai = (e, t = {}) => {
|
|
@@ -3705,7 +3707,7 @@ const pe = (e, t) => {
|
|
|
3705
3707
|
throw new Error(
|
|
3706
3708
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3707
3709
|
);
|
|
3708
|
-
let h =
|
|
3710
|
+
let h = Vt(e, l);
|
|
3709
3711
|
if (!h)
|
|
3710
3712
|
h = (o = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
3711
3713
|
else if (typeof h != "string")
|
|
@@ -3724,7 +3726,7 @@ const pe = (e, t) => {
|
|
|
3724
3726
|
);
|
|
3725
3727
|
}
|
|
3726
3728
|
return c;
|
|
3727
|
-
}, ui = (e, t) => oi(t).format(e), li = (e, t) => ii(t).format(e), hi = (e, t) => ni(t).format(e), ci = (e, t = J()) =>
|
|
3729
|
+
}, ui = (e, t) => oi(t).format(e), li = (e, t) => ii(t).format(e), hi = (e, t) => ni(t).format(e), ci = (e, t = J()) => Vt(e, t), fi = oe([W, se], () => ai);
|
|
3728
3730
|
oe([W], () => ui);
|
|
3729
3731
|
oe([W], () => li);
|
|
3730
3732
|
oe([W], () => hi);
|
|
@@ -3734,10 +3736,10 @@ function di({ withLocale: e, translations: t }) {
|
|
|
3734
3736
|
r == null && (se.set(t), W.set(e));
|
|
3735
3737
|
});
|
|
3736
3738
|
}
|
|
3737
|
-
function
|
|
3738
|
-
|
|
3739
|
+
function vt(e, t) {
|
|
3740
|
+
zt(e, t);
|
|
3739
3741
|
}
|
|
3740
|
-
const
|
|
3742
|
+
const yt = {
|
|
3741
3743
|
en: {
|
|
3742
3744
|
title: "Please enter the verification code you received on your number",
|
|
3743
3745
|
errorTitle: "Your code was invalid, you can resend the code and try again",
|
|
@@ -3868,7 +3870,7 @@ function bi(e, t, r) {
|
|
|
3868
3870
|
}
|
|
3869
3871
|
}
|
|
3870
3872
|
function gi(e) {
|
|
3871
|
-
|
|
3873
|
+
ir(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))}");
|
|
3872
3874
|
}
|
|
3873
3875
|
function vi(e) {
|
|
3874
3876
|
let t = (
|
|
@@ -3877,7 +3879,7 @@ function vi(e) {
|
|
|
3877
3879
|
), r;
|
|
3878
3880
|
return {
|
|
3879
3881
|
c() {
|
|
3880
|
-
r =
|
|
3882
|
+
r = M(t);
|
|
3881
3883
|
},
|
|
3882
3884
|
m(n, i) {
|
|
3883
3885
|
Z(n, r, i);
|
|
@@ -3899,7 +3901,7 @@ function yi(e) {
|
|
|
3899
3901
|
), r;
|
|
3900
3902
|
return {
|
|
3901
3903
|
c() {
|
|
3902
|
-
r =
|
|
3904
|
+
r = M(t);
|
|
3903
3905
|
},
|
|
3904
3906
|
m(n, i) {
|
|
3905
3907
|
Z(n, r, i);
|
|
@@ -3914,14 +3916,14 @@ function yi(e) {
|
|
|
3914
3916
|
}
|
|
3915
3917
|
};
|
|
3916
3918
|
}
|
|
3917
|
-
function
|
|
3919
|
+
function Et(e) {
|
|
3918
3920
|
let t, r = (
|
|
3919
3921
|
/*$_*/
|
|
3920
3922
|
e[5]("smsCodeError") + ""
|
|
3921
3923
|
), n;
|
|
3922
3924
|
return {
|
|
3923
3925
|
c() {
|
|
3924
|
-
t =
|
|
3926
|
+
t = O("p"), n = M(r), B(t, "class", "InvalidInput");
|
|
3925
3927
|
},
|
|
3926
3928
|
m(i, o) {
|
|
3927
3929
|
Z(i, t, o), E(t, n);
|
|
@@ -3936,14 +3938,14 @@ function xt(e) {
|
|
|
3936
3938
|
}
|
|
3937
3939
|
};
|
|
3938
3940
|
}
|
|
3939
|
-
function
|
|
3941
|
+
function xt(e) {
|
|
3940
3942
|
let t, r = (
|
|
3941
3943
|
/*$_*/
|
|
3942
3944
|
e[5]("resendMessage") + ""
|
|
3943
3945
|
), n;
|
|
3944
3946
|
return {
|
|
3945
3947
|
c() {
|
|
3946
|
-
t =
|
|
3948
|
+
t = O("p"), n = M(r), B(t, "class", "SmsVerificationResendMessage");
|
|
3947
3949
|
},
|
|
3948
3950
|
m(i, o) {
|
|
3949
3951
|
Z(i, t, o), E(t, n);
|
|
@@ -3958,17 +3960,17 @@ function _t(e) {
|
|
|
3958
3960
|
}
|
|
3959
3961
|
};
|
|
3960
3962
|
}
|
|
3961
|
-
function
|
|
3963
|
+
function _t(e) {
|
|
3962
3964
|
let t, r, n = (
|
|
3963
3965
|
/*secondsLeft*/
|
|
3964
3966
|
e[4] < 10 ? "0" : ""
|
|
3965
3967
|
), i, o, s;
|
|
3966
3968
|
return {
|
|
3967
3969
|
c() {
|
|
3968
|
-
t =
|
|
3970
|
+
t = O("span"), r = M("(0:"), i = M(n), o = M(
|
|
3969
3971
|
/*secondsLeft*/
|
|
3970
3972
|
e[4]
|
|
3971
|
-
), s =
|
|
3973
|
+
), s = M(")"), B(t, "class", "SmsVerificationResendTimer");
|
|
3972
3974
|
},
|
|
3973
3975
|
m(a, l) {
|
|
3974
3976
|
Z(a, t, l), E(t, r), E(t, i), E(t, o), E(t, s);
|
|
@@ -3999,28 +4001,28 @@ function Ei(e) {
|
|
|
3999
4001
|
/*$_*/
|
|
4000
4002
|
e[5]("resend") + ""
|
|
4001
4003
|
), F, V, ue, le;
|
|
4002
|
-
function he(p,
|
|
4004
|
+
function he(p, C) {
|
|
4003
4005
|
return (
|
|
4004
4006
|
/*isSmsValid*/
|
|
4005
4007
|
p[2] ? yi : vi
|
|
4006
4008
|
);
|
|
4007
4009
|
}
|
|
4008
4010
|
let X = he(e), R = X(e), w = !/*isSmsValid*/
|
|
4009
|
-
e[2] &&
|
|
4011
|
+
e[2] && Et(e), P = (
|
|
4010
4012
|
/*timer*/
|
|
4011
|
-
e[3] &&
|
|
4013
|
+
e[3] && xt(e)
|
|
4012
4014
|
), f = (
|
|
4013
4015
|
/*timer*/
|
|
4014
|
-
e[3] &&
|
|
4016
|
+
e[3] && _t(e)
|
|
4015
4017
|
);
|
|
4016
4018
|
return {
|
|
4017
4019
|
c() {
|
|
4018
|
-
t =
|
|
4020
|
+
t = O("div"), r = O("h3"), R.c(), n = z(), i = O("div"), o = O("label"), a = M(s), l = M(":"), u = O("span"), u.textContent = "*", h = z(), c = O("input"), d = z(), w && w.c(), y = z(), P && P.c(), _ = z(), T = O("button"), L = M(H), A = z(), S = O("button"), F = M(N), V = z(), 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*/
|
|
4019
4021
|
e[2] ? "" : "InvalidField")), B(T, "class", "Button SmsVerificationValidate"), B(S, "class", "Button SmsVerificationResend"), S.disabled = /*timer*/
|
|
4020
4022
|
e[3], B(t, "class", "Container SmsVerificationContainer");
|
|
4021
4023
|
},
|
|
4022
|
-
m(p,
|
|
4023
|
-
Z(p, t,
|
|
4024
|
+
m(p, C) {
|
|
4025
|
+
Z(p, t, C), E(t, r), R.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, c), nt(
|
|
4024
4026
|
c,
|
|
4025
4027
|
/*smsCode*/
|
|
4026
4028
|
e[1]
|
|
@@ -4051,25 +4053,25 @@ function Ei(e) {
|
|
|
4051
4053
|
)
|
|
4052
4054
|
], ue = !0);
|
|
4053
4055
|
},
|
|
4054
|
-
p(p, [
|
|
4055
|
-
X === (X = he(p)) && R ? R.p(p,
|
|
4056
|
+
p(p, [C]) {
|
|
4057
|
+
X === (X = he(p)) && R ? R.p(p, C) : (R.d(1), R = X(p), R && (R.c(), R.m(r, null))), C & /*$_*/
|
|
4056
4058
|
32 && s !== (s = /*$_*/
|
|
4057
|
-
p[5]("code") + "") && G(a, s),
|
|
4059
|
+
p[5]("code") + "") && G(a, s), C & /*smsCode*/
|
|
4058
4060
|
2 && c.value !== /*smsCode*/
|
|
4059
|
-
p[1] &&
|
|
4061
|
+
p[1] && nt(
|
|
4060
4062
|
c,
|
|
4061
4063
|
/*smsCode*/
|
|
4062
4064
|
p[1]
|
|
4063
4065
|
), /*isSmsValid*/
|
|
4064
|
-
p[2] ? w && (w.d(1), w = null) : w ? w.p(p,
|
|
4066
|
+
p[2] ? w && (w.d(1), w = null) : w ? w.p(p, C) : (w = Et(p), w.c(), w.m(i, null)), C & /*isSmsValid*/
|
|
4065
4067
|
4 && g !== (g = "Field SmsVerificationField " + (/*isSmsValid*/
|
|
4066
4068
|
p[2] ? "" : "InvalidField")) && B(i, "class", g), /*timer*/
|
|
4067
|
-
p[3] ? P ? P.p(p,
|
|
4069
|
+
p[3] ? P ? P.p(p, C) : (P = xt(p), P.c(), P.m(t, _)) : P && (P.d(1), P = null), C & /*$_*/
|
|
4068
4070
|
32 && H !== (H = /*$_*/
|
|
4069
|
-
p[5]("activate") + "") && G(L, H),
|
|
4071
|
+
p[5]("activate") + "") && G(L, H), C & /*$_*/
|
|
4070
4072
|
32 && N !== (N = /*$_*/
|
|
4071
4073
|
p[5]("resend") + "") && G(F, N), /*timer*/
|
|
4072
|
-
p[3] ? f ? f.p(p,
|
|
4074
|
+
p[3] ? f ? f.p(p, C) : (f = _t(p), f.c(), f.m(S, null)) : f && (f.d(1), f = null), C & /*timer*/
|
|
4073
4075
|
8 && (S.disabled = /*timer*/
|
|
4074
4076
|
p[3]);
|
|
4075
4077
|
},
|
|
@@ -4082,21 +4084,21 @@ function Ei(e) {
|
|
|
4082
4084
|
}
|
|
4083
4085
|
function xi(e, t, r) {
|
|
4084
4086
|
let n;
|
|
4085
|
-
|
|
4087
|
+
nr(e, fi, (f) => r(5, n = f));
|
|
4086
4088
|
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, { mbsource: u } = t, { clientstyling: h = "" } = 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);
|
|
4087
4089
|
const N = { numeric: /^[0-9]{0,6}$/ };
|
|
4088
4090
|
di({ withLocale: "en", translations: {} });
|
|
4089
4091
|
const F = () => {
|
|
4090
4092
|
fetch(d).then((p) => p.json()).then((p) => {
|
|
4091
|
-
Object.keys(p).forEach((
|
|
4092
|
-
|
|
4093
|
+
Object.keys(p).forEach((C) => {
|
|
4094
|
+
vt(C, p[C]);
|
|
4093
4095
|
});
|
|
4094
4096
|
}).catch((p) => {
|
|
4095
4097
|
console.log(p);
|
|
4096
4098
|
});
|
|
4097
4099
|
};
|
|
4098
|
-
Object.keys(
|
|
4099
|
-
|
|
4100
|
+
Object.keys(yt).forEach((f) => {
|
|
4101
|
+
vt(f, yt[f]);
|
|
4100
4102
|
});
|
|
4101
4103
|
const V = () => be(this, null, function* () {
|
|
4102
4104
|
try {
|
|
@@ -4155,7 +4157,7 @@ function xi(e, t, r) {
|
|
|
4155
4157
|
}, X = (f) => {
|
|
4156
4158
|
!N.numeric.test(f.key) && f.keyCode !== 8 && f.keyCode !== 9 && f.keyCode !== 46 && f.preventDefault();
|
|
4157
4159
|
};
|
|
4158
|
-
|
|
4160
|
+
hr(() => {
|
|
4159
4161
|
if (!s || !l) {
|
|
4160
4162
|
let f = JSON.parse(localStorage.getItem("playerData"));
|
|
4161
4163
|
r(10, s = f.playerid), r(11, l = f.number);
|
|
@@ -4205,14 +4207,14 @@ function xi(e, t, r) {
|
|
|
4205
4207
|
P
|
|
4206
4208
|
];
|
|
4207
4209
|
}
|
|
4208
|
-
class _i extends
|
|
4210
|
+
class _i extends _r {
|
|
4209
4211
|
constructor(t) {
|
|
4210
|
-
super(),
|
|
4212
|
+
super(), Er(
|
|
4211
4213
|
this,
|
|
4212
4214
|
t,
|
|
4213
4215
|
xi,
|
|
4214
4216
|
Ei,
|
|
4215
|
-
|
|
4217
|
+
Tt,
|
|
4216
4218
|
{
|
|
4217
4219
|
endpoint: 12,
|
|
4218
4220
|
tokenid: 9,
|
|
@@ -4282,7 +4284,7 @@ class _i extends Sr {
|
|
|
4282
4284
|
this.$$set({ translationurl: t }), U();
|
|
4283
4285
|
}
|
|
4284
4286
|
}
|
|
4285
|
-
|
|
4287
|
+
xr(_i, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4286
4288
|
export {
|
|
4287
4289
|
_i as default
|
|
4288
4290
|
};
|