@everymatrix/player-email-verification 1.59.1 → 1.59.2
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/{PlayerEmailVerification-B8FDJz7U.js → PlayerEmailVerification-64YgAa6l.js} +330 -328
- package/components/PlayerEmailVerification-CC6x_teP.cjs +16 -0
- package/components/{PlayerEmailVerification-Cpwx80XQ.js → PlayerEmailVerification-DIJ00Em1.js} +317 -315
- package/es2015/player-email-verification.cjs +1 -1
- package/es2015/player-email-verification.js +1 -1
- package/esnext/player-email-verification.js +1 -1
- package/package.json +1 -1
- package/components/PlayerEmailVerification-BgaLOCyP.cjs +0 -16
package/components/{PlayerEmailVerification-B8FDJz7U.js → PlayerEmailVerification-64YgAa6l.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var ae = (e, t, r) => t in e ?
|
|
1
|
+
var wt = Object.defineProperty, $t = Object.defineProperties;
|
|
2
|
+
var Lt = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Le = Object.getOwnPropertySymbols;
|
|
4
|
+
var Mt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ae = (e, t, r) => t in e ? wt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Me = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Mt.call(t, r) && ae(e, r, t[r]);
|
|
8
|
+
if (Le)
|
|
9
|
+
for (var r of Le(t))
|
|
10
|
+
Ct.call(t, r) && ae(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Ce = (e, t) => $t(e, Lt(t));
|
|
13
13
|
var v = (e, t, r) => (ae(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var Re = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (u) => {
|
|
16
16
|
try {
|
|
17
17
|
h(r.next(u));
|
|
@@ -29,25 +29,25 @@ var Me = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function _() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function rt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Ue() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function z(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(rt);
|
|
40
40
|
}
|
|
41
41
|
function Be(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function nt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Rt(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function it(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
@@ -56,25 +56,25 @@ function rt(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 Ut(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push(it(t, r));
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function st(e, t, r) {
|
|
63
63
|
e.insertBefore(t, r || null);
|
|
64
64
|
}
|
|
65
65
|
function Ae(e) {
|
|
66
66
|
e.parentNode && e.parentNode.removeChild(e);
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function ot(e) {
|
|
69
69
|
return document.createElement(e);
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Gt(e, t, r) {
|
|
72
72
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function Dt(e) {
|
|
75
75
|
return Array.from(e.childNodes);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Ft(e) {
|
|
78
78
|
const t = {};
|
|
79
79
|
return e.childNodes.forEach(
|
|
80
80
|
/** @param {Element} node */
|
|
@@ -87,12 +87,12 @@ let Pe;
|
|
|
87
87
|
function k(e) {
|
|
88
88
|
Pe = e;
|
|
89
89
|
}
|
|
90
|
-
const I = [],
|
|
90
|
+
const I = [], Ge = [];
|
|
91
91
|
let $ = [];
|
|
92
|
-
const
|
|
92
|
+
const De = [], jt = /* @__PURE__ */ Promise.resolve();
|
|
93
93
|
let de = !1;
|
|
94
|
-
function
|
|
95
|
-
de || (de = !0,
|
|
94
|
+
function Vt() {
|
|
95
|
+
de || (de = !0, jt.then(w));
|
|
96
96
|
}
|
|
97
97
|
function be(e) {
|
|
98
98
|
$.push(e);
|
|
@@ -107,53 +107,53 @@ function w() {
|
|
|
107
107
|
try {
|
|
108
108
|
for (; N < I.length; ) {
|
|
109
109
|
const t = I[N];
|
|
110
|
-
N++, k(t),
|
|
110
|
+
N++, k(t), kt(t.$$);
|
|
111
111
|
}
|
|
112
112
|
} catch (t) {
|
|
113
113
|
throw I.length = 0, N = 0, t;
|
|
114
114
|
}
|
|
115
|
-
for (k(null), I.length = 0, N = 0;
|
|
116
|
-
|
|
115
|
+
for (k(null), I.length = 0, N = 0; Ge.length; )
|
|
116
|
+
Ge.pop()();
|
|
117
117
|
for (let t = 0; t < $.length; t += 1) {
|
|
118
118
|
const r = $[t];
|
|
119
119
|
he.has(r) || (he.add(r), r());
|
|
120
120
|
}
|
|
121
121
|
$.length = 0;
|
|
122
122
|
} while (I.length);
|
|
123
|
-
for (;
|
|
124
|
-
|
|
123
|
+
for (; De.length; )
|
|
124
|
+
De.pop()();
|
|
125
125
|
de = !1, he.clear(), k(e);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function kt(e) {
|
|
128
128
|
if (e.fragment !== null) {
|
|
129
129
|
e.update(), z(e.before_update);
|
|
130
130
|
const t = e.dirty;
|
|
131
131
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(be);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Xt(e) {
|
|
135
135
|
const t = [], r = [];
|
|
136
136
|
$.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), $ = t;
|
|
137
137
|
}
|
|
138
|
-
const
|
|
139
|
-
function
|
|
140
|
-
e && e.i && (
|
|
138
|
+
const Wt = /* @__PURE__ */ new Set();
|
|
139
|
+
function zt(e, t) {
|
|
140
|
+
e && e.i && (Wt.delete(e), e.i(t));
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function Zt(e, t, r) {
|
|
143
143
|
const { fragment: n, after_update: i } = e.$$;
|
|
144
144
|
n && n.m(t, r), be(() => {
|
|
145
|
-
const s = e.$$.on_mount.map(
|
|
145
|
+
const s = e.$$.on_mount.map(rt).filter(Be);
|
|
146
146
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
|
|
147
147
|
}), i.forEach(be);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Qt(e, t) {
|
|
150
150
|
const r = e.$$;
|
|
151
|
-
r.fragment !== null && (
|
|
151
|
+
r.fragment !== null && (Xt(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
e.$$.dirty[0] === -1 && (I.push(e),
|
|
153
|
+
function Jt(e, t) {
|
|
154
|
+
e.$$.dirty[0] === -1 && (I.push(e), Vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function qt(e, t, r, n, i, s, o = null, h = [-1]) {
|
|
157
157
|
const u = Pe;
|
|
158
158
|
k(e);
|
|
159
159
|
const a = e.$$ = {
|
|
@@ -163,7 +163,7 @@ function Qt(e, t, r, n, i, s, o = null, h = [-1]) {
|
|
|
163
163
|
props: s,
|
|
164
164
|
update: _,
|
|
165
165
|
not_equal: i,
|
|
166
|
-
bound:
|
|
166
|
+
bound: Ue(),
|
|
167
167
|
// lifecycle
|
|
168
168
|
on_mount: [],
|
|
169
169
|
on_destroy: [],
|
|
@@ -172,7 +172,7 @@ function Qt(e, t, r, n, i, s, o = null, h = [-1]) {
|
|
|
172
172
|
after_update: [],
|
|
173
173
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
174
174
|
// everything else
|
|
175
|
-
callbacks:
|
|
175
|
+
callbacks: Ue(),
|
|
176
176
|
dirty: h,
|
|
177
177
|
skip_bound: !1,
|
|
178
178
|
root: t.target || u.$$.root
|
|
@@ -181,19 +181,19 @@ function Qt(e, t, r, n, i, s, o = null, h = [-1]) {
|
|
|
181
181
|
let l = !1;
|
|
182
182
|
if (a.ctx = r ? r(e, t.props || {}, (f, c, ...b) => {
|
|
183
183
|
const g = b.length ? b[0] : c;
|
|
184
|
-
return a.ctx && i(a.ctx[f], a.ctx[f] = g) && (!a.skip_bound && a.bound[f] && a.bound[f](g), l &&
|
|
184
|
+
return a.ctx && i(a.ctx[f], a.ctx[f] = g) && (!a.skip_bound && a.bound[f] && a.bound[f](g), l && Jt(e, f)), c;
|
|
185
185
|
}) : [], a.update(), l = !0, z(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
186
186
|
if (t.hydrate) {
|
|
187
|
-
const f =
|
|
187
|
+
const f = Dt(t.target);
|
|
188
188
|
a.fragment && a.fragment.l(f), f.forEach(Ae);
|
|
189
189
|
} else
|
|
190
190
|
a.fragment && a.fragment.c();
|
|
191
|
-
t.intro &&
|
|
191
|
+
t.intro && zt(e.$$.fragment), Zt(e, t.target, t.anchor), w();
|
|
192
192
|
}
|
|
193
193
|
k(u);
|
|
194
194
|
}
|
|
195
|
-
let
|
|
196
|
-
typeof HTMLElement == "function" && (
|
|
195
|
+
let at;
|
|
196
|
+
typeof HTMLElement == "function" && (at = class extends HTMLElement {
|
|
197
197
|
constructor(t, r, n) {
|
|
198
198
|
super();
|
|
199
199
|
/** The Svelte component constructor */
|
|
@@ -230,21 +230,21 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
|
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
connectedCallback() {
|
|
233
|
-
return
|
|
233
|
+
return Re(this, null, function* () {
|
|
234
234
|
if (this.$$cn = !0, !this.$$c) {
|
|
235
235
|
let t = function(s) {
|
|
236
236
|
return () => {
|
|
237
237
|
let o;
|
|
238
238
|
return {
|
|
239
239
|
c: function() {
|
|
240
|
-
o =
|
|
240
|
+
o = ot("slot"), s !== "default" && Gt(o, "name", s);
|
|
241
241
|
},
|
|
242
242
|
/**
|
|
243
243
|
* @param {HTMLElement} target
|
|
244
244
|
* @param {HTMLElement} [anchor]
|
|
245
245
|
*/
|
|
246
246
|
m: function(a, l) {
|
|
247
|
-
|
|
247
|
+
st(a, o, l);
|
|
248
248
|
},
|
|
249
249
|
d: function(a) {
|
|
250
250
|
a && Ae(o);
|
|
@@ -254,7 +254,7 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
|
|
|
254
254
|
};
|
|
255
255
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
256
256
|
return;
|
|
257
|
-
const r = {}, n =
|
|
257
|
+
const r = {}, n = Ft(this);
|
|
258
258
|
for (const s of this.$$s)
|
|
259
259
|
s in n && (r[s] = [t(s)]);
|
|
260
260
|
for (const s of this.attributes) {
|
|
@@ -265,7 +265,7 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
|
|
|
265
265
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
266
266
|
this.$$c = new this.$$ctor({
|
|
267
267
|
target: this.shadowRoot || this,
|
|
268
|
-
props:
|
|
268
|
+
props: Ce(Me({}, this.$$d), {
|
|
269
269
|
$$slots: r,
|
|
270
270
|
$$scope: {
|
|
271
271
|
ctx: []
|
|
@@ -343,8 +343,8 @@ function q(e, t, r, n) {
|
|
|
343
343
|
return t;
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
|
-
function
|
|
347
|
-
let o = class extends
|
|
346
|
+
function Yt(e, t, r, n, i, s) {
|
|
347
|
+
let o = class extends at {
|
|
348
348
|
constructor() {
|
|
349
349
|
super(e, r, i), this.$$p_d = t;
|
|
350
350
|
}
|
|
@@ -374,7 +374,7 @@ function Jt(e, t, r, n, i, s) {
|
|
|
374
374
|
}), e.element = /** @type {any} */
|
|
375
375
|
o, o;
|
|
376
376
|
}
|
|
377
|
-
class
|
|
377
|
+
class Kt {
|
|
378
378
|
constructor() {
|
|
379
379
|
/**
|
|
380
380
|
* ### PRIVATE API
|
|
@@ -395,7 +395,7 @@ class qt {
|
|
|
395
395
|
}
|
|
396
396
|
/** @returns {void} */
|
|
397
397
|
$destroy() {
|
|
398
|
-
|
|
398
|
+
Qt(this, 1), this.$destroy = _;
|
|
399
399
|
}
|
|
400
400
|
/**
|
|
401
401
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -417,13 +417,13 @@ class qt {
|
|
|
417
417
|
* @returns {void}
|
|
418
418
|
*/
|
|
419
419
|
$set(t) {
|
|
420
|
-
this.$$set && !
|
|
420
|
+
this.$$set && !Rt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
const
|
|
424
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
423
|
+
const er = "4";
|
|
424
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(er);
|
|
425
425
|
const O = [];
|
|
426
|
-
function
|
|
426
|
+
function tr(e, t) {
|
|
427
427
|
return {
|
|
428
428
|
subscribe: re(e, t).subscribe
|
|
429
429
|
};
|
|
@@ -432,7 +432,7 @@ function re(e, t = _) {
|
|
|
432
432
|
let r;
|
|
433
433
|
const n = /* @__PURE__ */ new Set();
|
|
434
434
|
function i(h) {
|
|
435
|
-
if (
|
|
435
|
+
if (nt(e, h) && (e = h, r)) {
|
|
436
436
|
const u = !O.length;
|
|
437
437
|
for (const a of n)
|
|
438
438
|
a[1](), O.push(a, e);
|
|
@@ -459,7 +459,7 @@ function U(e, t, r) {
|
|
|
459
459
|
if (!i.every(Boolean))
|
|
460
460
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
461
461
|
const s = t.length < 2;
|
|
462
|
-
return
|
|
462
|
+
return tr(r, (o, h) => {
|
|
463
463
|
let u = !1;
|
|
464
464
|
const a = [];
|
|
465
465
|
let l = 0, f = _;
|
|
@@ -470,7 +470,7 @@ function U(e, t, r) {
|
|
|
470
470
|
const g = t(n ? a[0] : a, o, h);
|
|
471
471
|
s ? o(g) : f = Be(g) ? g : _;
|
|
472
472
|
}, b = i.map(
|
|
473
|
-
(g, y) =>
|
|
473
|
+
(g, y) => it(
|
|
474
474
|
g,
|
|
475
475
|
(T) => {
|
|
476
476
|
a[y] = T, l &= ~(1 << y), u && c();
|
|
@@ -485,70 +485,70 @@ function U(e, t, r) {
|
|
|
485
485
|
};
|
|
486
486
|
});
|
|
487
487
|
}
|
|
488
|
-
function
|
|
488
|
+
function rr(e) {
|
|
489
489
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
490
490
|
}
|
|
491
|
-
var
|
|
492
|
-
return
|
|
491
|
+
var nr = function(t) {
|
|
492
|
+
return ir(t) && !sr(t);
|
|
493
493
|
};
|
|
494
|
-
function
|
|
494
|
+
function ir(e) {
|
|
495
495
|
return !!e && typeof e == "object";
|
|
496
496
|
}
|
|
497
|
-
function
|
|
497
|
+
function sr(e) {
|
|
498
498
|
var t = Object.prototype.toString.call(e);
|
|
499
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
499
|
+
return t === "[object RegExp]" || t === "[object Date]" || hr(e);
|
|
500
500
|
}
|
|
501
|
-
var
|
|
502
|
-
function
|
|
503
|
-
return e.$$typeof ===
|
|
501
|
+
var or = typeof Symbol == "function" && Symbol.for, ar = or ? Symbol.for("react.element") : 60103;
|
|
502
|
+
function hr(e) {
|
|
503
|
+
return e.$$typeof === ar;
|
|
504
504
|
}
|
|
505
|
-
function
|
|
505
|
+
function ur(e) {
|
|
506
506
|
return Array.isArray(e) ? [] : {};
|
|
507
507
|
}
|
|
508
508
|
function X(e, t) {
|
|
509
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? L(
|
|
509
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? L(ur(e), e, t) : e;
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function lr(e, t, r) {
|
|
512
512
|
return e.concat(t).map(function(n) {
|
|
513
513
|
return X(n, r);
|
|
514
514
|
});
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function fr(e, t) {
|
|
517
517
|
if (!t.customMerge)
|
|
518
518
|
return L;
|
|
519
519
|
var r = t.customMerge(e);
|
|
520
520
|
return typeof r == "function" ? r : L;
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function cr(e) {
|
|
523
523
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
524
524
|
return Object.propertyIsEnumerable.call(e, t);
|
|
525
525
|
}) : [];
|
|
526
526
|
}
|
|
527
|
-
function
|
|
528
|
-
return Object.keys(e).concat(
|
|
527
|
+
function Fe(e) {
|
|
528
|
+
return Object.keys(e).concat(cr(e));
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function ht(e, t) {
|
|
531
531
|
try {
|
|
532
532
|
return t in e;
|
|
533
533
|
} catch (r) {
|
|
534
534
|
return !1;
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
|
-
function
|
|
538
|
-
return
|
|
537
|
+
function mr(e, t) {
|
|
538
|
+
return ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
539
539
|
}
|
|
540
|
-
function
|
|
540
|
+
function pr(e, t, r) {
|
|
541
541
|
var n = {};
|
|
542
|
-
return r.isMergeableObject(e) &&
|
|
542
|
+
return r.isMergeableObject(e) && Fe(e).forEach(function(i) {
|
|
543
543
|
n[i] = X(e[i], r);
|
|
544
|
-
}),
|
|
545
|
-
|
|
544
|
+
}), Fe(t).forEach(function(i) {
|
|
545
|
+
mr(e, i) || (ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = fr(i, r)(e[i], t[i], r) : n[i] = X(t[i], r));
|
|
546
546
|
}), n;
|
|
547
547
|
}
|
|
548
548
|
function L(e, t, r) {
|
|
549
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
549
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || lr, r.isMergeableObject = r.isMergeableObject || nr, r.cloneUnlessOtherwiseSpecified = X;
|
|
550
550
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
551
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
551
|
+
return s ? n ? r.arrayMerge(e, t, r) : pr(e, t, r) : X(t, r);
|
|
552
552
|
}
|
|
553
553
|
L.all = function(t, r) {
|
|
554
554
|
if (!Array.isArray(t))
|
|
@@ -557,8 +557,8 @@ L.all = function(t, r) {
|
|
|
557
557
|
return L(n, i, r);
|
|
558
558
|
}, {});
|
|
559
559
|
};
|
|
560
|
-
var
|
|
561
|
-
const
|
|
560
|
+
var dr = L, br = dr;
|
|
561
|
+
const gr = /* @__PURE__ */ rr(br);
|
|
562
562
|
/*! *****************************************************************************
|
|
563
563
|
Copyright (c) Microsoft Corporation.
|
|
564
564
|
|
|
@@ -600,7 +600,7 @@ var d = function() {
|
|
|
600
600
|
return t;
|
|
601
601
|
}, d.apply(this, arguments);
|
|
602
602
|
};
|
|
603
|
-
function
|
|
603
|
+
function Er(e, t) {
|
|
604
604
|
var r = {};
|
|
605
605
|
for (var n in e)
|
|
606
606
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -616,53 +616,55 @@ function ue(e, t, r) {
|
|
|
616
616
|
return e.concat(s || t);
|
|
617
617
|
}
|
|
618
618
|
function le(e, t) {
|
|
619
|
-
var r = t && t.cache ? t.cache :
|
|
619
|
+
var r = t && t.cache ? t.cache : Tr, n = t && t.serializer ? t.serializer : Hr, i = t && t.strategy ? t.strategy : yr;
|
|
620
620
|
return i(e, {
|
|
621
621
|
cache: r,
|
|
622
622
|
serializer: n
|
|
623
623
|
});
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function xr(e) {
|
|
626
626
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
627
627
|
}
|
|
628
|
-
function
|
|
629
|
-
var i =
|
|
628
|
+
function ut(e, t, r, n) {
|
|
629
|
+
var i = xr(n) ? n : r(n), s = t.get(i);
|
|
630
630
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function lt(e, t, r) {
|
|
633
633
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
634
634
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
635
635
|
}
|
|
636
|
-
function
|
|
636
|
+
function Ne(e, t, r, n, i) {
|
|
637
637
|
return r.bind(t, e, n, i);
|
|
638
638
|
}
|
|
639
|
-
function xr(e, t) {
|
|
640
|
-
var r = e.length === 1 ? Er : at;
|
|
641
|
-
return ht(e, this, r, t.cache.create(), t.serializer);
|
|
642
|
-
}
|
|
643
639
|
function yr(e, t) {
|
|
644
|
-
|
|
640
|
+
var r = e.length === 1 ? ut : lt;
|
|
641
|
+
return Ne(e, this, r, t.cache.create(), t.serializer);
|
|
642
|
+
}
|
|
643
|
+
function vr(e, t) {
|
|
644
|
+
return Ne(e, this, lt, t.cache.create(), t.serializer);
|
|
645
|
+
}
|
|
646
|
+
function _r(e, t) {
|
|
647
|
+
return Ne(e, this, ut, t.cache.create(), t.serializer);
|
|
645
648
|
}
|
|
646
|
-
var
|
|
649
|
+
var Hr = function() {
|
|
647
650
|
return JSON.stringify(arguments);
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
}()
|
|
660
|
-
), Hr = {
|
|
651
|
+
};
|
|
652
|
+
function Oe() {
|
|
653
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
654
|
+
}
|
|
655
|
+
Oe.prototype.get = function(e) {
|
|
656
|
+
return this.cache[e];
|
|
657
|
+
};
|
|
658
|
+
Oe.prototype.set = function(e, t) {
|
|
659
|
+
this.cache[e] = t;
|
|
660
|
+
};
|
|
661
|
+
var Tr = {
|
|
661
662
|
create: function() {
|
|
662
|
-
return new
|
|
663
|
+
return new Oe();
|
|
663
664
|
}
|
|
664
665
|
}, fe = {
|
|
665
|
-
variadic:
|
|
666
|
+
variadic: vr,
|
|
667
|
+
monadic: _r
|
|
666
668
|
}, m;
|
|
667
669
|
(function(e) {
|
|
668
670
|
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";
|
|
@@ -675,43 +677,43 @@ var M;
|
|
|
675
677
|
(function(e) {
|
|
676
678
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
677
679
|
})(M || (M = {}));
|
|
678
|
-
function
|
|
680
|
+
function je(e) {
|
|
679
681
|
return e.type === E.literal;
|
|
680
682
|
}
|
|
681
|
-
function
|
|
683
|
+
function Sr(e) {
|
|
682
684
|
return e.type === E.argument;
|
|
683
685
|
}
|
|
684
|
-
function
|
|
686
|
+
function ft(e) {
|
|
685
687
|
return e.type === E.number;
|
|
686
688
|
}
|
|
687
|
-
function
|
|
689
|
+
function ct(e) {
|
|
688
690
|
return e.type === E.date;
|
|
689
691
|
}
|
|
690
|
-
function
|
|
692
|
+
function mt(e) {
|
|
691
693
|
return e.type === E.time;
|
|
692
694
|
}
|
|
693
|
-
function
|
|
695
|
+
function pt(e) {
|
|
694
696
|
return e.type === E.select;
|
|
695
697
|
}
|
|
696
|
-
function
|
|
698
|
+
function dt(e) {
|
|
697
699
|
return e.type === E.plural;
|
|
698
700
|
}
|
|
699
|
-
function
|
|
701
|
+
function Br(e) {
|
|
700
702
|
return e.type === E.pound;
|
|
701
703
|
}
|
|
702
|
-
function
|
|
704
|
+
function bt(e) {
|
|
703
705
|
return e.type === E.tag;
|
|
704
706
|
}
|
|
705
|
-
function
|
|
707
|
+
function gt(e) {
|
|
706
708
|
return !!(e && typeof e == "object" && e.type === M.number);
|
|
707
709
|
}
|
|
708
710
|
function Ee(e) {
|
|
709
711
|
return !!(e && typeof e == "object" && e.type === M.dateTime);
|
|
710
712
|
}
|
|
711
|
-
var
|
|
712
|
-
function
|
|
713
|
+
var Et = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ar = /(?:[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;
|
|
714
|
+
function Pr(e) {
|
|
713
715
|
var t = {};
|
|
714
|
-
return e.replace(
|
|
716
|
+
return e.replace(Ar, function(r) {
|
|
715
717
|
var n = r.length;
|
|
716
718
|
switch (r[0]) {
|
|
717
719
|
case "G":
|
|
@@ -800,11 +802,11 @@ function Ar(e) {
|
|
|
800
802
|
return "";
|
|
801
803
|
}), t;
|
|
802
804
|
}
|
|
803
|
-
var
|
|
804
|
-
function
|
|
805
|
+
var Nr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
806
|
+
function Or(e) {
|
|
805
807
|
if (e.length === 0)
|
|
806
808
|
throw new Error("Number skeleton cannot be empty");
|
|
807
|
-
for (var t = e.split(
|
|
809
|
+
for (var t = e.split(Nr).filter(function(c) {
|
|
808
810
|
return c.length > 0;
|
|
809
811
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
810
812
|
var s = i[n], o = s.split("/");
|
|
@@ -819,17 +821,17 @@ function Nr(e) {
|
|
|
819
821
|
}
|
|
820
822
|
return r;
|
|
821
823
|
}
|
|
822
|
-
function
|
|
824
|
+
function Ir(e) {
|
|
823
825
|
return e.replace(/^(.*?)-/, "");
|
|
824
826
|
}
|
|
825
|
-
var
|
|
826
|
-
function
|
|
827
|
+
var Ve = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g, wr = /(\*)(0+)|(#+)(0+)|(0+)/g, yt = /^(0+)$/;
|
|
828
|
+
function ke(e) {
|
|
827
829
|
var t = {};
|
|
828
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
830
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xt, function(r, n, i) {
|
|
829
831
|
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)), "";
|
|
830
832
|
}), t;
|
|
831
833
|
}
|
|
832
|
-
function
|
|
834
|
+
function vt(e) {
|
|
833
835
|
switch (e) {
|
|
834
836
|
case "sign-auto":
|
|
835
837
|
return {
|
|
@@ -869,7 +871,7 @@ function xt(e) {
|
|
|
869
871
|
};
|
|
870
872
|
}
|
|
871
873
|
}
|
|
872
|
-
function
|
|
874
|
+
function $r(e) {
|
|
873
875
|
var t;
|
|
874
876
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
875
877
|
notation: "engineering"
|
|
@@ -877,17 +879,17 @@ function wr(e) {
|
|
|
877
879
|
notation: "scientific"
|
|
878
880
|
}, e = e.slice(1)), t) {
|
|
879
881
|
var r = e.slice(0, 2);
|
|
880
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
882
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yt.test(e))
|
|
881
883
|
throw new Error("Malformed concise eng/scientific notation");
|
|
882
884
|
t.minimumIntegerDigits = e.length;
|
|
883
885
|
}
|
|
884
886
|
return t;
|
|
885
887
|
}
|
|
886
|
-
function
|
|
887
|
-
var t = {}, r =
|
|
888
|
+
function Xe(e) {
|
|
889
|
+
var t = {}, r = vt(e);
|
|
888
890
|
return r || t;
|
|
889
891
|
}
|
|
890
|
-
function
|
|
892
|
+
function Lr(e) {
|
|
891
893
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
892
894
|
var i = n[r];
|
|
893
895
|
switch (i.stem) {
|
|
@@ -911,7 +913,7 @@ function $r(e) {
|
|
|
911
913
|
continue;
|
|
912
914
|
case "measure-unit":
|
|
913
915
|
case "unit":
|
|
914
|
-
t.style = "unit", t.unit =
|
|
916
|
+
t.style = "unit", t.unit = Ir(i.options[0]);
|
|
915
917
|
continue;
|
|
916
918
|
case "compact-short":
|
|
917
919
|
case "K":
|
|
@@ -923,12 +925,12 @@ function $r(e) {
|
|
|
923
925
|
continue;
|
|
924
926
|
case "scientific":
|
|
925
927
|
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(u, a) {
|
|
926
|
-
return d(d({}, u),
|
|
928
|
+
return d(d({}, u), Xe(a));
|
|
927
929
|
}, {}));
|
|
928
930
|
continue;
|
|
929
931
|
case "engineering":
|
|
930
932
|
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(u, a) {
|
|
931
|
-
return d(d({}, u),
|
|
933
|
+
return d(d({}, u), Xe(a));
|
|
932
934
|
}, {}));
|
|
933
935
|
continue;
|
|
934
936
|
case "notation-simple":
|
|
@@ -973,7 +975,7 @@ function $r(e) {
|
|
|
973
975
|
case "integer-width":
|
|
974
976
|
if (i.options.length > 1)
|
|
975
977
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
976
|
-
i.options[0].replace(
|
|
978
|
+
i.options[0].replace(wr, function(u, a, l, f, c, b) {
|
|
977
979
|
if (a)
|
|
978
980
|
t.minimumIntegerDigits = l.length;
|
|
979
981
|
else {
|
|
@@ -986,27 +988,27 @@ function $r(e) {
|
|
|
986
988
|
});
|
|
987
989
|
continue;
|
|
988
990
|
}
|
|
989
|
-
if (
|
|
991
|
+
if (yt.test(i.stem)) {
|
|
990
992
|
t.minimumIntegerDigits = i.stem.length;
|
|
991
993
|
continue;
|
|
992
994
|
}
|
|
993
|
-
if (
|
|
995
|
+
if (Ve.test(i.stem)) {
|
|
994
996
|
if (i.options.length > 1)
|
|
995
997
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
996
|
-
i.stem.replace(
|
|
998
|
+
i.stem.replace(Ve, function(u, a, l, f, c, b) {
|
|
997
999
|
return l === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
998
1000
|
});
|
|
999
1001
|
var s = i.options[0];
|
|
1000
|
-
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t),
|
|
1002
|
+
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), ke(s)));
|
|
1001
1003
|
continue;
|
|
1002
1004
|
}
|
|
1003
|
-
if (
|
|
1004
|
-
t = d(d({}, t),
|
|
1005
|
+
if (xt.test(i.stem)) {
|
|
1006
|
+
t = d(d({}, t), ke(i.stem));
|
|
1005
1007
|
continue;
|
|
1006
1008
|
}
|
|
1007
|
-
var o =
|
|
1009
|
+
var o = vt(i.stem);
|
|
1008
1010
|
o && (t = d(d({}, t), o));
|
|
1009
|
-
var h =
|
|
1011
|
+
var h = $r(i.stem);
|
|
1010
1012
|
h && (t = d(d({}, t), h));
|
|
1011
1013
|
}
|
|
1012
1014
|
return t;
|
|
@@ -2426,13 +2428,13 @@ var J = {
|
|
|
2426
2428
|
"h"
|
|
2427
2429
|
]
|
|
2428
2430
|
};
|
|
2429
|
-
function
|
|
2431
|
+
function Mr(e, t) {
|
|
2430
2432
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2431
2433
|
var i = e.charAt(n);
|
|
2432
2434
|
if (i === "j") {
|
|
2433
2435
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2434
2436
|
s++, n++;
|
|
2435
|
-
var o = 1 + (s & 1), h = s < 2 ? 1 : 3 + (s >> 1), u = "a", a =
|
|
2437
|
+
var o = 1 + (s & 1), h = s < 2 ? 1 : 3 + (s >> 1), u = "a", a = Cr(t);
|
|
2436
2438
|
for ((a == "H" || a == "k") && (h = 0); h-- > 0; )
|
|
2437
2439
|
r += u;
|
|
2438
2440
|
for (; o-- > 0; )
|
|
@@ -2442,7 +2444,7 @@ function Lr(e, t) {
|
|
|
2442
2444
|
}
|
|
2443
2445
|
return r;
|
|
2444
2446
|
}
|
|
2445
|
-
function
|
|
2447
|
+
function Cr(e) {
|
|
2446
2448
|
var t = e.hourCycle;
|
|
2447
2449
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2448
2450
|
e.hourCycles && // @ts-ignore
|
|
@@ -2464,20 +2466,20 @@ function Mr(e) {
|
|
|
2464
2466
|
var i = J[n || ""] || J[r || ""] || J["".concat(r, "-001")] || J["001"];
|
|
2465
2467
|
return i[0];
|
|
2466
2468
|
}
|
|
2467
|
-
var ce,
|
|
2469
|
+
var ce, Rr = new RegExp("^".concat(Et.source, "*")), Ur = new RegExp("".concat(Et.source, "*$"));
|
|
2468
2470
|
function p(e, t) {
|
|
2469
2471
|
return { start: e, end: t };
|
|
2470
2472
|
}
|
|
2471
|
-
var
|
|
2473
|
+
var Gr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dr = !!String.fromCodePoint, Fr = !!Object.fromEntries, jr = !!String.prototype.codePointAt, Vr = !!String.prototype.trimStart, kr = !!String.prototype.trimEnd, Xr = !!Number.isSafeInteger, Wr = Xr ? Number.isSafeInteger : function(e) {
|
|
2472
2474
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2473
2475
|
}, xe = !0;
|
|
2474
2476
|
try {
|
|
2475
|
-
var
|
|
2476
|
-
xe = ((ce =
|
|
2477
|
+
var zr = Ht("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2478
|
+
xe = ((ce = zr.exec("a")) === null || ce === void 0 ? void 0 : ce[0]) === "a";
|
|
2477
2479
|
} catch (e) {
|
|
2478
2480
|
xe = !1;
|
|
2479
2481
|
}
|
|
2480
|
-
var
|
|
2482
|
+
var We = Gr ? (
|
|
2481
2483
|
// Native
|
|
2482
2484
|
function(t, r, n) {
|
|
2483
2485
|
return t.startsWith(r, n);
|
|
@@ -2487,7 +2489,7 @@ var ke = Ur ? (
|
|
|
2487
2489
|
function(t, r, n) {
|
|
2488
2490
|
return t.slice(n, n + r.length) === r;
|
|
2489
2491
|
}
|
|
2490
|
-
), ye =
|
|
2492
|
+
), ye = Dr ? String.fromCodePoint : (
|
|
2491
2493
|
// IE11
|
|
2492
2494
|
function() {
|
|
2493
2495
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2499,9 +2501,9 @@ var ke = Ur ? (
|
|
|
2499
2501
|
}
|
|
2500
2502
|
return n;
|
|
2501
2503
|
}
|
|
2502
|
-
),
|
|
2504
|
+
), ze = (
|
|
2503
2505
|
// native
|
|
2504
|
-
|
|
2506
|
+
Fr ? Object.fromEntries : (
|
|
2505
2507
|
// Ponyfill
|
|
2506
2508
|
function(t) {
|
|
2507
2509
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2511,7 +2513,7 @@ var ke = Ur ? (
|
|
|
2511
2513
|
return r;
|
|
2512
2514
|
}
|
|
2513
2515
|
)
|
|
2514
|
-
),
|
|
2516
|
+
), _t = jr ? (
|
|
2515
2517
|
// Native
|
|
2516
2518
|
function(t, r) {
|
|
2517
2519
|
return t.codePointAt(r);
|
|
@@ -2525,7 +2527,7 @@ var ke = Ur ? (
|
|
|
2525
2527
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2526
2528
|
}
|
|
2527
2529
|
}
|
|
2528
|
-
),
|
|
2530
|
+
), Zr = Vr ? (
|
|
2529
2531
|
// Native
|
|
2530
2532
|
function(t) {
|
|
2531
2533
|
return t.trimStart();
|
|
@@ -2533,9 +2535,9 @@ var ke = Ur ? (
|
|
|
2533
2535
|
) : (
|
|
2534
2536
|
// Ponyfill
|
|
2535
2537
|
function(t) {
|
|
2536
|
-
return t.replace(
|
|
2538
|
+
return t.replace(Rr, "");
|
|
2537
2539
|
}
|
|
2538
|
-
),
|
|
2540
|
+
), Qr = kr ? (
|
|
2539
2541
|
// Native
|
|
2540
2542
|
function(t) {
|
|
2541
2543
|
return t.trimEnd();
|
|
@@ -2543,32 +2545,32 @@ var ke = Ur ? (
|
|
|
2543
2545
|
) : (
|
|
2544
2546
|
// Ponyfill
|
|
2545
2547
|
function(t) {
|
|
2546
|
-
return t.replace(
|
|
2548
|
+
return t.replace(Ur, "");
|
|
2547
2549
|
}
|
|
2548
2550
|
);
|
|
2549
|
-
function
|
|
2551
|
+
function Ht(e, t) {
|
|
2550
2552
|
return new RegExp(e, t);
|
|
2551
2553
|
}
|
|
2552
2554
|
var ve;
|
|
2553
2555
|
if (xe) {
|
|
2554
|
-
var
|
|
2556
|
+
var Ze = Ht("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2555
2557
|
ve = function(t, r) {
|
|
2556
2558
|
var n;
|
|
2557
|
-
|
|
2558
|
-
var i =
|
|
2559
|
+
Ze.lastIndex = r;
|
|
2560
|
+
var i = Ze.exec(t);
|
|
2559
2561
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2560
2562
|
};
|
|
2561
2563
|
} else
|
|
2562
2564
|
ve = function(t, r) {
|
|
2563
2565
|
for (var n = []; ; ) {
|
|
2564
|
-
var i =
|
|
2565
|
-
if (i === void 0 ||
|
|
2566
|
+
var i = _t(t, r);
|
|
2567
|
+
if (i === void 0 || Tt(i) || Kr(i))
|
|
2566
2568
|
break;
|
|
2567
2569
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2568
2570
|
}
|
|
2569
2571
|
return ye.apply(void 0, n);
|
|
2570
2572
|
};
|
|
2571
|
-
var
|
|
2573
|
+
var Jr = (
|
|
2572
2574
|
/** @class */
|
|
2573
2575
|
function() {
|
|
2574
2576
|
function e(t, r) {
|
|
@@ -2650,7 +2652,7 @@ var Qr = (
|
|
|
2650
2652
|
return this.error(m.INVALID_TAG, p(n, this.clonePosition()));
|
|
2651
2653
|
}, e.prototype.parseTagName = function() {
|
|
2652
2654
|
var t = this.offset();
|
|
2653
|
-
for (this.bump(); !this.isEOF() &&
|
|
2655
|
+
for (this.bump(); !this.isEOF() && Yr(this.char()); )
|
|
2654
2656
|
this.bump();
|
|
2655
2657
|
return this.message.slice(t, this.offset());
|
|
2656
2658
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2679,7 +2681,7 @@ var Qr = (
|
|
|
2679
2681
|
};
|
|
2680
2682
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2681
2683
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2682
|
-
!
|
|
2684
|
+
!qr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2683
2685
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2684
2686
|
if (this.isEOF() || this.char() !== 39)
|
|
2685
2687
|
return null;
|
|
@@ -2766,7 +2768,7 @@ var Qr = (
|
|
|
2766
2768
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
2767
2769
|
if (f.err)
|
|
2768
2770
|
return f;
|
|
2769
|
-
var c =
|
|
2771
|
+
var c = Qr(f.val);
|
|
2770
2772
|
if (c.length === 0)
|
|
2771
2773
|
return this.error(m.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2772
2774
|
var b = p(l, this.clonePosition());
|
|
@@ -2776,8 +2778,8 @@ var Qr = (
|
|
|
2776
2778
|
if (g.err)
|
|
2777
2779
|
return g;
|
|
2778
2780
|
var y = p(i, this.clonePosition());
|
|
2779
|
-
if (a &&
|
|
2780
|
-
var T =
|
|
2781
|
+
if (a && We(a == null ? void 0 : a.style, "::", 0)) {
|
|
2782
|
+
var T = Zr(a.style.slice(2));
|
|
2781
2783
|
if (h === "number") {
|
|
2782
2784
|
var f = this.parseNumberSkeletonFromString(T, a.styleLocation);
|
|
2783
2785
|
return f.err ? f : {
|
|
@@ -2788,12 +2790,12 @@ var Qr = (
|
|
|
2788
2790
|
if (T.length === 0)
|
|
2789
2791
|
return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
|
|
2790
2792
|
var F = T;
|
|
2791
|
-
this.locale && (F =
|
|
2793
|
+
this.locale && (F = Mr(T, this.locale));
|
|
2792
2794
|
var c = {
|
|
2793
2795
|
type: M.dateTime,
|
|
2794
2796
|
pattern: F,
|
|
2795
2797
|
location: a.styleLocation,
|
|
2796
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2798
|
+
parsedOptions: this.shouldParseSkeletons ? Pr(F) : {}
|
|
2797
2799
|
}, P = h === "date" ? E.date : E.time;
|
|
2798
2800
|
return {
|
|
2799
2801
|
val: { type: P, value: n, location: y, style: c },
|
|
@@ -2834,23 +2836,23 @@ var Qr = (
|
|
|
2834
2836
|
var g = this.tryParseArgumentClose(i);
|
|
2835
2837
|
if (g.err)
|
|
2836
2838
|
return g;
|
|
2837
|
-
var
|
|
2839
|
+
var $e = p(i, this.clonePosition());
|
|
2838
2840
|
return h === "select" ? {
|
|
2839
2841
|
val: {
|
|
2840
2842
|
type: E.select,
|
|
2841
2843
|
value: n,
|
|
2842
|
-
options:
|
|
2843
|
-
location:
|
|
2844
|
+
options: ze(Q.val),
|
|
2845
|
+
location: $e
|
|
2844
2846
|
},
|
|
2845
2847
|
err: null
|
|
2846
2848
|
} : {
|
|
2847
2849
|
val: {
|
|
2848
2850
|
type: E.plural,
|
|
2849
2851
|
value: n,
|
|
2850
|
-
options:
|
|
2852
|
+
options: ze(Q.val),
|
|
2851
2853
|
offset: B,
|
|
2852
2854
|
pluralType: h === "plural" ? "cardinal" : "ordinal",
|
|
2853
|
-
location:
|
|
2855
|
+
location: $e
|
|
2854
2856
|
},
|
|
2855
2857
|
err: null
|
|
2856
2858
|
};
|
|
@@ -2898,7 +2900,7 @@ var Qr = (
|
|
|
2898
2900
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2899
2901
|
var n = [];
|
|
2900
2902
|
try {
|
|
2901
|
-
n =
|
|
2903
|
+
n = Or(t);
|
|
2902
2904
|
} catch (i) {
|
|
2903
2905
|
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
|
2904
2906
|
}
|
|
@@ -2907,7 +2909,7 @@ var Qr = (
|
|
|
2907
2909
|
type: M.number,
|
|
2908
2910
|
tokens: n,
|
|
2909
2911
|
location: r,
|
|
2910
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2912
|
+
parsedOptions: this.shouldParseSkeletons ? Lr(n) : {}
|
|
2911
2913
|
},
|
|
2912
2914
|
err: null
|
|
2913
2915
|
};
|
|
@@ -2955,7 +2957,7 @@ var Qr = (
|
|
|
2955
2957
|
break;
|
|
2956
2958
|
}
|
|
2957
2959
|
var u = p(i, this.clonePosition());
|
|
2958
|
-
return s ? (o *= n,
|
|
2960
|
+
return s ? (o *= n, Wr(o) ? { val: o, err: null } : this.error(r, u)) : this.error(t, u);
|
|
2959
2961
|
}, e.prototype.offset = function() {
|
|
2960
2962
|
return this.position.offset;
|
|
2961
2963
|
}, e.prototype.isEOF = function() {
|
|
@@ -2970,7 +2972,7 @@ var Qr = (
|
|
|
2970
2972
|
var t = this.position.offset;
|
|
2971
2973
|
if (t >= this.message.length)
|
|
2972
2974
|
throw Error("out of bound");
|
|
2973
|
-
var r =
|
|
2975
|
+
var r = _t(this.message, t);
|
|
2974
2976
|
if (r === void 0)
|
|
2975
2977
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
2976
2978
|
return r;
|
|
@@ -2989,7 +2991,7 @@ var Qr = (
|
|
|
2989
2991
|
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);
|
|
2990
2992
|
}
|
|
2991
2993
|
}, e.prototype.bumpIf = function(t) {
|
|
2992
|
-
if (
|
|
2994
|
+
if (We(this.message, t, this.offset())) {
|
|
2993
2995
|
for (var r = 0; r < t.length; r++)
|
|
2994
2996
|
this.bump();
|
|
2995
2997
|
return !0;
|
|
@@ -3011,7 +3013,7 @@ var Qr = (
|
|
|
3011
3013
|
break;
|
|
3012
3014
|
}
|
|
3013
3015
|
}, e.prototype.bumpSpace = function() {
|
|
3014
|
-
for (; !this.isEOF() &&
|
|
3016
|
+
for (; !this.isEOF() && Tt(this.char()); )
|
|
3015
3017
|
this.bump();
|
|
3016
3018
|
}, e.prototype.peek = function() {
|
|
3017
3019
|
if (this.isEOF())
|
|
@@ -3024,30 +3026,30 @@ var Qr = (
|
|
|
3024
3026
|
function _e(e) {
|
|
3025
3027
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3026
3028
|
}
|
|
3027
|
-
function
|
|
3029
|
+
function qr(e) {
|
|
3028
3030
|
return _e(e) || e === 47;
|
|
3029
3031
|
}
|
|
3030
|
-
function
|
|
3032
|
+
function Yr(e) {
|
|
3031
3033
|
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;
|
|
3032
3034
|
}
|
|
3033
|
-
function
|
|
3035
|
+
function Tt(e) {
|
|
3034
3036
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3035
3037
|
}
|
|
3036
|
-
function
|
|
3038
|
+
function Kr(e) {
|
|
3037
3039
|
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;
|
|
3038
3040
|
}
|
|
3039
3041
|
function He(e) {
|
|
3040
3042
|
e.forEach(function(t) {
|
|
3041
|
-
if (delete t.location,
|
|
3043
|
+
if (delete t.location, pt(t) || dt(t))
|
|
3042
3044
|
for (var r in t.options)
|
|
3043
3045
|
delete t.options[r].location, He(t.options[r].value);
|
|
3044
3046
|
else
|
|
3045
|
-
|
|
3047
|
+
ft(t) && gt(t.style) || (ct(t) || mt(t)) && Ee(t.style) ? delete t.style.location : bt(t) && He(t.children);
|
|
3046
3048
|
});
|
|
3047
3049
|
}
|
|
3048
|
-
function
|
|
3050
|
+
function en(e, t) {
|
|
3049
3051
|
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3050
|
-
var r = new
|
|
3052
|
+
var r = new Jr(e, t).parse();
|
|
3051
3053
|
if (r.err) {
|
|
3052
3054
|
var n = SyntaxError(m[r.err.kind]);
|
|
3053
3055
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3070,7 +3072,7 @@ var ie = (
|
|
|
3070
3072
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3071
3073
|
}, t;
|
|
3072
3074
|
}(Error)
|
|
3073
|
-
),
|
|
3075
|
+
), Qe = (
|
|
3074
3076
|
/** @class */
|
|
3075
3077
|
function(e) {
|
|
3076
3078
|
ne(t, e);
|
|
@@ -3079,7 +3081,7 @@ var ie = (
|
|
|
3079
3081
|
}
|
|
3080
3082
|
return t;
|
|
3081
3083
|
}(ie)
|
|
3082
|
-
),
|
|
3084
|
+
), tn = (
|
|
3083
3085
|
/** @class */
|
|
3084
3086
|
function(e) {
|
|
3085
3087
|
ne(t, e);
|
|
@@ -3088,7 +3090,7 @@ var ie = (
|
|
|
3088
3090
|
}
|
|
3089
3091
|
return t;
|
|
3090
3092
|
}(ie)
|
|
3091
|
-
),
|
|
3093
|
+
), rn = (
|
|
3092
3094
|
/** @class */
|
|
3093
3095
|
function(e) {
|
|
3094
3096
|
ne(t, e);
|
|
@@ -3101,17 +3103,17 @@ var ie = (
|
|
|
3101
3103
|
(function(e) {
|
|
3102
3104
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3103
3105
|
})(x || (x = {}));
|
|
3104
|
-
function
|
|
3106
|
+
function nn(e) {
|
|
3105
3107
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3106
3108
|
var n = t[t.length - 1];
|
|
3107
3109
|
return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
|
|
3108
3110
|
}, []);
|
|
3109
3111
|
}
|
|
3110
|
-
function
|
|
3112
|
+
function sn(e) {
|
|
3111
3113
|
return typeof e == "function";
|
|
3112
3114
|
}
|
|
3113
3115
|
function Y(e, t, r, n, i, s, o) {
|
|
3114
|
-
if (e.length === 1 &&
|
|
3116
|
+
if (e.length === 1 && je(e[0]))
|
|
3115
3117
|
return [
|
|
3116
3118
|
{
|
|
3117
3119
|
type: x.literal,
|
|
@@ -3120,14 +3122,14 @@ function Y(e, t, r, n, i, s, o) {
|
|
|
3120
3122
|
];
|
|
3121
3123
|
for (var h = [], u = 0, a = e; u < a.length; u++) {
|
|
3122
3124
|
var l = a[u];
|
|
3123
|
-
if (
|
|
3125
|
+
if (je(l)) {
|
|
3124
3126
|
h.push({
|
|
3125
3127
|
type: x.literal,
|
|
3126
3128
|
value: l.value
|
|
3127
3129
|
});
|
|
3128
3130
|
continue;
|
|
3129
3131
|
}
|
|
3130
|
-
if (
|
|
3132
|
+
if (Br(l)) {
|
|
3131
3133
|
typeof s == "number" && h.push({
|
|
3132
3134
|
type: x.literal,
|
|
3133
3135
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3136,16 +3138,16 @@ function Y(e, t, r, n, i, s, o) {
|
|
|
3136
3138
|
}
|
|
3137
3139
|
var f = l.value;
|
|
3138
3140
|
if (!(i && f in i))
|
|
3139
|
-
throw new
|
|
3141
|
+
throw new rn(f, o);
|
|
3140
3142
|
var c = i[f];
|
|
3141
|
-
if (
|
|
3143
|
+
if (Sr(l)) {
|
|
3142
3144
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), h.push({
|
|
3143
3145
|
type: typeof c == "string" ? x.literal : x.object,
|
|
3144
3146
|
value: c
|
|
3145
3147
|
});
|
|
3146
3148
|
continue;
|
|
3147
3149
|
}
|
|
3148
|
-
if (
|
|
3150
|
+
if (ct(l)) {
|
|
3149
3151
|
var b = typeof l.style == "string" ? n.date[l.style] : Ee(l.style) ? l.style.parsedOptions : void 0;
|
|
3150
3152
|
h.push({
|
|
3151
3153
|
type: x.literal,
|
|
@@ -3153,7 +3155,7 @@ function Y(e, t, r, n, i, s, o) {
|
|
|
3153
3155
|
});
|
|
3154
3156
|
continue;
|
|
3155
3157
|
}
|
|
3156
|
-
if (
|
|
3158
|
+
if (mt(l)) {
|
|
3157
3159
|
var b = typeof l.style == "string" ? n.time[l.style] : Ee(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3158
3160
|
h.push({
|
|
3159
3161
|
type: x.literal,
|
|
@@ -3161,18 +3163,18 @@ function Y(e, t, r, n, i, s, o) {
|
|
|
3161
3163
|
});
|
|
3162
3164
|
continue;
|
|
3163
3165
|
}
|
|
3164
|
-
if (
|
|
3165
|
-
var b = typeof l.style == "string" ? n.number[l.style] :
|
|
3166
|
+
if (ft(l)) {
|
|
3167
|
+
var b = typeof l.style == "string" ? n.number[l.style] : gt(l.style) ? l.style.parsedOptions : void 0;
|
|
3166
3168
|
b && b.scale && (c = c * (b.scale || 1)), h.push({
|
|
3167
3169
|
type: x.literal,
|
|
3168
3170
|
value: r.getNumberFormat(t, b).format(c)
|
|
3169
3171
|
});
|
|
3170
3172
|
continue;
|
|
3171
3173
|
}
|
|
3172
|
-
if (
|
|
3174
|
+
if (bt(l)) {
|
|
3173
3175
|
var g = l.children, y = l.value, T = i[y];
|
|
3174
|
-
if (!
|
|
3175
|
-
throw new
|
|
3176
|
+
if (!sn(T))
|
|
3177
|
+
throw new tn(y, "function", o);
|
|
3176
3178
|
var F = Y(g, t, r, n, i, s), P = T(F.map(function(B) {
|
|
3177
3179
|
return B.value;
|
|
3178
3180
|
}));
|
|
@@ -3183,14 +3185,14 @@ function Y(e, t, r, n, i, s, o) {
|
|
|
3183
3185
|
};
|
|
3184
3186
|
}));
|
|
3185
3187
|
}
|
|
3186
|
-
if (
|
|
3188
|
+
if (pt(l)) {
|
|
3187
3189
|
var H = l.options[c] || l.options.other;
|
|
3188
3190
|
if (!H)
|
|
3189
|
-
throw new
|
|
3191
|
+
throw new Qe(l.value, c, Object.keys(l.options), o);
|
|
3190
3192
|
h.push.apply(h, Y(H.value, t, r, n, i));
|
|
3191
3193
|
continue;
|
|
3192
3194
|
}
|
|
3193
|
-
if (
|
|
3195
|
+
if (dt(l)) {
|
|
3194
3196
|
var H = l.options["=".concat(c)];
|
|
3195
3197
|
if (!H) {
|
|
3196
3198
|
if (!Intl.PluralRules)
|
|
@@ -3201,21 +3203,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3201
3203
|
H = l.options[j] || l.options.other;
|
|
3202
3204
|
}
|
|
3203
3205
|
if (!H)
|
|
3204
|
-
throw new
|
|
3206
|
+
throw new Qe(l.value, c, Object.keys(l.options), o);
|
|
3205
3207
|
h.push.apply(h, Y(H.value, t, r, n, i, c - (l.offset || 0)));
|
|
3206
3208
|
continue;
|
|
3207
3209
|
}
|
|
3208
3210
|
}
|
|
3209
|
-
return
|
|
3211
|
+
return nn(h);
|
|
3210
3212
|
}
|
|
3211
|
-
function
|
|
3213
|
+
function on(e, t) {
|
|
3212
3214
|
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3213
3215
|
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
|
3214
3216
|
}, {})) : e;
|
|
3215
3217
|
}
|
|
3216
|
-
function
|
|
3218
|
+
function an(e, t) {
|
|
3217
3219
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3218
|
-
return r[n] =
|
|
3220
|
+
return r[n] = on(e[n], t[n]), r;
|
|
3219
3221
|
}, d({}, e)) : e;
|
|
3220
3222
|
}
|
|
3221
3223
|
function me(e) {
|
|
@@ -3232,7 +3234,7 @@ function me(e) {
|
|
|
3232
3234
|
}
|
|
3233
3235
|
};
|
|
3234
3236
|
}
|
|
3235
|
-
function
|
|
3237
|
+
function hn(e) {
|
|
3236
3238
|
return e === void 0 && (e = {
|
|
3237
3239
|
number: {},
|
|
3238
3240
|
dateTime: {},
|
|
@@ -3264,7 +3266,7 @@ function an(e) {
|
|
|
3264
3266
|
})
|
|
3265
3267
|
};
|
|
3266
3268
|
}
|
|
3267
|
-
var
|
|
3269
|
+
var un = (
|
|
3268
3270
|
/** @class */
|
|
3269
3271
|
function() {
|
|
3270
3272
|
function e(t, r, n, i) {
|
|
@@ -3296,13 +3298,13 @@ var hn = (
|
|
|
3296
3298
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3297
3299
|
var o = i || {};
|
|
3298
3300
|
o.formatters;
|
|
3299
|
-
var h =
|
|
3301
|
+
var h = Er(o, ["formatters"]);
|
|
3300
3302
|
this.ast = e.__parse(t, d(d({}, h), { locale: this.resolvedLocale }));
|
|
3301
3303
|
} else
|
|
3302
3304
|
this.ast = t;
|
|
3303
3305
|
if (!Array.isArray(this.ast))
|
|
3304
3306
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3305
|
-
this.formats =
|
|
3307
|
+
this.formats = an(e.formats, n), this.formatters = i && i.formatters || hn(this.formatterCache);
|
|
3306
3308
|
}
|
|
3307
3309
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3308
3310
|
get: function() {
|
|
@@ -3315,7 +3317,7 @@ var hn = (
|
|
|
3315
3317
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3316
3318
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3317
3319
|
}
|
|
3318
|
-
}, e.__parse =
|
|
3320
|
+
}, e.__parse = en, e.formats = {
|
|
3319
3321
|
number: {
|
|
3320
3322
|
integer: {
|
|
3321
3323
|
maximumFractionDigits: 0
|
|
@@ -3376,7 +3378,7 @@ var hn = (
|
|
|
3376
3378
|
}, e;
|
|
3377
3379
|
}()
|
|
3378
3380
|
);
|
|
3379
|
-
function
|
|
3381
|
+
function ln(e, t) {
|
|
3380
3382
|
if (t == null)
|
|
3381
3383
|
return;
|
|
3382
3384
|
if (t in e)
|
|
@@ -3397,60 +3399,60 @@ function un(e, t) {
|
|
|
3397
3399
|
n = void 0;
|
|
3398
3400
|
return n;
|
|
3399
3401
|
}
|
|
3400
|
-
const S = {},
|
|
3402
|
+
const S = {}, fn = (e, t, r) => r && (t in S || (S[t] = {}), e in S[t] || (S[t][e] = r), r), St = (e, t) => {
|
|
3401
3403
|
if (t == null)
|
|
3402
3404
|
return;
|
|
3403
3405
|
if (t in S && e in S[t])
|
|
3404
3406
|
return S[t][e];
|
|
3405
3407
|
const r = se(t);
|
|
3406
3408
|
for (let n = 0; n < r.length; n++) {
|
|
3407
|
-
const i = r[n], s =
|
|
3409
|
+
const i = r[n], s = mn(i, e);
|
|
3408
3410
|
if (s)
|
|
3409
|
-
return
|
|
3411
|
+
return fn(e, t, s);
|
|
3410
3412
|
}
|
|
3411
3413
|
};
|
|
3412
|
-
let
|
|
3414
|
+
let Ie;
|
|
3413
3415
|
const Z = re({});
|
|
3414
|
-
function
|
|
3415
|
-
return
|
|
3416
|
+
function cn(e) {
|
|
3417
|
+
return Ie[e] || null;
|
|
3416
3418
|
}
|
|
3417
|
-
function
|
|
3418
|
-
return e in
|
|
3419
|
+
function Bt(e) {
|
|
3420
|
+
return e in Ie;
|
|
3419
3421
|
}
|
|
3420
|
-
function
|
|
3421
|
-
if (!
|
|
3422
|
+
function mn(e, t) {
|
|
3423
|
+
if (!Bt(e))
|
|
3422
3424
|
return null;
|
|
3423
|
-
const r =
|
|
3424
|
-
return
|
|
3425
|
+
const r = cn(e);
|
|
3426
|
+
return ln(r, t);
|
|
3425
3427
|
}
|
|
3426
|
-
function
|
|
3428
|
+
function pn(e) {
|
|
3427
3429
|
if (e == null)
|
|
3428
3430
|
return;
|
|
3429
3431
|
const t = se(e);
|
|
3430
3432
|
for (let r = 0; r < t.length; r++) {
|
|
3431
3433
|
const n = t[r];
|
|
3432
|
-
if (
|
|
3434
|
+
if (Bt(n))
|
|
3433
3435
|
return n;
|
|
3434
3436
|
}
|
|
3435
3437
|
}
|
|
3436
|
-
function
|
|
3437
|
-
delete S[e], Z.update((r) => (r[e] =
|
|
3438
|
+
function At(e, ...t) {
|
|
3439
|
+
delete S[e], Z.update((r) => (r[e] = gr.all([r[e] || {}, ...t]), r));
|
|
3438
3440
|
}
|
|
3439
3441
|
U(
|
|
3440
3442
|
[Z],
|
|
3441
3443
|
([e]) => Object.keys(e)
|
|
3442
3444
|
);
|
|
3443
|
-
Z.subscribe((e) =>
|
|
3445
|
+
Z.subscribe((e) => Ie = e);
|
|
3444
3446
|
const K = {};
|
|
3445
|
-
function
|
|
3447
|
+
function dn(e, t) {
|
|
3446
3448
|
K[e].delete(t), K[e].size === 0 && delete K[e];
|
|
3447
3449
|
}
|
|
3448
|
-
function
|
|
3450
|
+
function Pt(e) {
|
|
3449
3451
|
return K[e];
|
|
3450
3452
|
}
|
|
3451
|
-
function
|
|
3453
|
+
function bn(e) {
|
|
3452
3454
|
return se(e).map((t) => {
|
|
3453
|
-
const r =
|
|
3455
|
+
const r = Pt(t);
|
|
3454
3456
|
return [t, r ? [...r] : []];
|
|
3455
3457
|
}).filter(([, t]) => t.length > 0);
|
|
3456
3458
|
}
|
|
@@ -3458,31 +3460,31 @@ function Te(e) {
|
|
|
3458
3460
|
return e == null ? !1 : se(e).some(
|
|
3459
3461
|
(t) => {
|
|
3460
3462
|
var r;
|
|
3461
|
-
return (r =
|
|
3463
|
+
return (r = Pt(t)) == null ? void 0 : r.size;
|
|
3462
3464
|
}
|
|
3463
3465
|
);
|
|
3464
3466
|
}
|
|
3465
|
-
function
|
|
3467
|
+
function gn(e, t) {
|
|
3466
3468
|
return Promise.all(
|
|
3467
|
-
t.map((n) => (
|
|
3468
|
-
).then((n) =>
|
|
3469
|
+
t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
|
|
3470
|
+
).then((n) => At(e, ...n));
|
|
3469
3471
|
}
|
|
3470
3472
|
const V = {};
|
|
3471
|
-
function
|
|
3473
|
+
function Nt(e) {
|
|
3472
3474
|
if (!Te(e))
|
|
3473
3475
|
return e in V ? V[e] : Promise.resolve();
|
|
3474
|
-
const t =
|
|
3476
|
+
const t = bn(e);
|
|
3475
3477
|
return V[e] = Promise.all(
|
|
3476
3478
|
t.map(
|
|
3477
|
-
([r, n]) =>
|
|
3479
|
+
([r, n]) => gn(r, n)
|
|
3478
3480
|
)
|
|
3479
3481
|
).then(() => {
|
|
3480
3482
|
if (Te(e))
|
|
3481
|
-
return
|
|
3483
|
+
return Nt(e);
|
|
3482
3484
|
delete V[e];
|
|
3483
3485
|
}), V[e];
|
|
3484
3486
|
}
|
|
3485
|
-
const
|
|
3487
|
+
const En = {
|
|
3486
3488
|
number: {
|
|
3487
3489
|
scientific: { notation: "scientific" },
|
|
3488
3490
|
engineering: { notation: "engineering" },
|
|
@@ -3511,34 +3513,34 @@ const gn = {
|
|
|
3511
3513
|
timeZoneName: "short"
|
|
3512
3514
|
}
|
|
3513
3515
|
}
|
|
3514
|
-
},
|
|
3516
|
+
}, xn = {
|
|
3515
3517
|
fallbackLocale: null,
|
|
3516
3518
|
loadingDelay: 200,
|
|
3517
|
-
formats:
|
|
3519
|
+
formats: En,
|
|
3518
3520
|
warnOnMissingMessages: !0,
|
|
3519
3521
|
handleMissingMessage: void 0,
|
|
3520
3522
|
ignoreTag: !0
|
|
3521
|
-
},
|
|
3523
|
+
}, yn = xn;
|
|
3522
3524
|
function R() {
|
|
3523
|
-
return
|
|
3525
|
+
return yn;
|
|
3524
3526
|
}
|
|
3525
3527
|
const pe = re(!1);
|
|
3526
|
-
var
|
|
3528
|
+
var vn = Object.defineProperty, _n = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Je = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, qe = (e, t, r) => t in e ? vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bn = (e, t) => {
|
|
3527
3529
|
for (var r in t || (t = {}))
|
|
3528
|
-
|
|
3529
|
-
if (
|
|
3530
|
-
for (var r of
|
|
3531
|
-
|
|
3530
|
+
Tn.call(t, r) && qe(e, r, t[r]);
|
|
3531
|
+
if (Je)
|
|
3532
|
+
for (var r of Je(t))
|
|
3533
|
+
Sn.call(t, r) && qe(e, r, t[r]);
|
|
3532
3534
|
return e;
|
|
3533
|
-
},
|
|
3535
|
+
}, An = (e, t) => _n(e, Hn(t));
|
|
3534
3536
|
let Se;
|
|
3535
3537
|
const ee = re(null);
|
|
3536
|
-
function
|
|
3538
|
+
function Ye(e) {
|
|
3537
3539
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3538
3540
|
}
|
|
3539
3541
|
function se(e, t = R().fallbackLocale) {
|
|
3540
|
-
const r =
|
|
3541
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3542
|
+
const r = Ye(e);
|
|
3543
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ye(t)])] : r;
|
|
3542
3544
|
}
|
|
3543
3545
|
function A() {
|
|
3544
3546
|
return Se != null ? Se : void 0;
|
|
@@ -3546,22 +3548,22 @@ function A() {
|
|
|
3546
3548
|
ee.subscribe((e) => {
|
|
3547
3549
|
Se = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3548
3550
|
});
|
|
3549
|
-
const
|
|
3550
|
-
if (e &&
|
|
3551
|
+
const Pn = (e) => {
|
|
3552
|
+
if (e && pn(e) && Te(e)) {
|
|
3551
3553
|
const { loadingDelay: t } = R();
|
|
3552
3554
|
let r;
|
|
3553
3555
|
return typeof window != "undefined" && A() != null && t ? r = window.setTimeout(
|
|
3554
3556
|
() => pe.set(!0),
|
|
3555
3557
|
t
|
|
3556
|
-
) : pe.set(!0),
|
|
3558
|
+
) : pe.set(!0), Nt(e).then(() => {
|
|
3557
3559
|
ee.set(e);
|
|
3558
3560
|
}).finally(() => {
|
|
3559
3561
|
clearTimeout(r), pe.set(!1);
|
|
3560
3562
|
});
|
|
3561
3563
|
}
|
|
3562
3564
|
return ee.set(e);
|
|
3563
|
-
}, G = Bn(
|
|
3564
|
-
set:
|
|
3565
|
+
}, G = An(Bn({}, ee), {
|
|
3566
|
+
set: Pn
|
|
3565
3567
|
}), oe = (e) => {
|
|
3566
3568
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3567
3569
|
return (n) => {
|
|
@@ -3569,20 +3571,20 @@ const An = (e) => {
|
|
|
3569
3571
|
return i in t ? t[i] : t[i] = e(n);
|
|
3570
3572
|
};
|
|
3571
3573
|
};
|
|
3572
|
-
var
|
|
3574
|
+
var Nn = Object.defineProperty, te = Object.getOwnPropertySymbols, Ot = Object.prototype.hasOwnProperty, It = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, we = (e, t) => {
|
|
3573
3575
|
for (var r in t || (t = {}))
|
|
3574
|
-
|
|
3576
|
+
Ot.call(t, r) && Ke(e, r, t[r]);
|
|
3575
3577
|
if (te)
|
|
3576
3578
|
for (var r of te(t))
|
|
3577
|
-
|
|
3579
|
+
It.call(t, r) && Ke(e, r, t[r]);
|
|
3578
3580
|
return e;
|
|
3579
3581
|
}, D = (e, t) => {
|
|
3580
3582
|
var r = {};
|
|
3581
3583
|
for (var n in e)
|
|
3582
|
-
|
|
3584
|
+
Ot.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3583
3585
|
if (e != null && te)
|
|
3584
3586
|
for (var n of te(e))
|
|
3585
|
-
t.indexOf(n) < 0 &&
|
|
3587
|
+
t.indexOf(n) < 0 && It.call(e, n) && (r[n] = e[n]);
|
|
3586
3588
|
return r;
|
|
3587
3589
|
};
|
|
3588
3590
|
const W = (e, t) => {
|
|
@@ -3590,21 +3592,21 @@ const W = (e, t) => {
|
|
|
3590
3592
|
if (e in r && t in r[e])
|
|
3591
3593
|
return r[e][t];
|
|
3592
3594
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3593
|
-
},
|
|
3595
|
+
}, On = oe(
|
|
3594
3596
|
(e) => {
|
|
3595
3597
|
var t = e, { locale: r, format: n } = t, i = D(t, ["locale", "format"]);
|
|
3596
3598
|
if (r == null)
|
|
3597
3599
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3598
3600
|
return n && (i = W("number", n)), new Intl.NumberFormat(r, i);
|
|
3599
3601
|
}
|
|
3600
|
-
),
|
|
3602
|
+
), In = oe(
|
|
3601
3603
|
(e) => {
|
|
3602
3604
|
var t = e, { locale: r, format: n } = t, i = D(t, ["locale", "format"]);
|
|
3603
3605
|
if (r == null)
|
|
3604
3606
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3605
3607
|
return n ? i = W("date", n) : Object.keys(i).length === 0 && (i = W("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3606
3608
|
}
|
|
3607
|
-
),
|
|
3609
|
+
), wn = oe(
|
|
3608
3610
|
(e) => {
|
|
3609
3611
|
var t = e, { locale: r, format: n } = t, i = D(t, ["locale", "format"]);
|
|
3610
3612
|
if (r == null)
|
|
@@ -3613,33 +3615,33 @@ const W = (e, t) => {
|
|
|
3613
3615
|
);
|
|
3614
3616
|
return n ? i = W("time", n) : Object.keys(i).length === 0 && (i = W("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3615
3617
|
}
|
|
3616
|
-
),
|
|
3618
|
+
), $n = (e = {}) => {
|
|
3617
3619
|
var t = e, {
|
|
3618
3620
|
locale: r = A()
|
|
3619
3621
|
} = t, n = D(t, [
|
|
3620
3622
|
"locale"
|
|
3621
3623
|
]);
|
|
3622
|
-
return
|
|
3623
|
-
},
|
|
3624
|
+
return On(we({ locale: r }, n));
|
|
3625
|
+
}, Ln = (e = {}) => {
|
|
3624
3626
|
var t = e, {
|
|
3625
3627
|
locale: r = A()
|
|
3626
3628
|
} = t, n = D(t, [
|
|
3627
3629
|
"locale"
|
|
3628
3630
|
]);
|
|
3629
|
-
return
|
|
3630
|
-
},
|
|
3631
|
+
return In(we({ locale: r }, n));
|
|
3632
|
+
}, Mn = (e = {}) => {
|
|
3631
3633
|
var t = e, {
|
|
3632
3634
|
locale: r = A()
|
|
3633
3635
|
} = t, n = D(t, [
|
|
3634
3636
|
"locale"
|
|
3635
3637
|
]);
|
|
3636
|
-
return
|
|
3637
|
-
},
|
|
3638
|
+
return wn(we({ locale: r }, n));
|
|
3639
|
+
}, Cn = oe(
|
|
3638
3640
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3639
|
-
(e, t = A()) => new
|
|
3641
|
+
(e, t = A()) => new un(e, t, R().formats, {
|
|
3640
3642
|
ignoreTag: R().ignoreTag
|
|
3641
3643
|
})
|
|
3642
|
-
),
|
|
3644
|
+
), Rn = (e, t = {}) => {
|
|
3643
3645
|
var r, n, i, s;
|
|
3644
3646
|
let o = t;
|
|
3645
3647
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -3652,7 +3654,7 @@ const W = (e, t) => {
|
|
|
3652
3654
|
throw new Error(
|
|
3653
3655
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3654
3656
|
);
|
|
3655
|
-
let l =
|
|
3657
|
+
let l = St(e, u);
|
|
3656
3658
|
if (!l)
|
|
3657
3659
|
l = (s = (i = (n = (r = R()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3658
3660
|
else if (typeof l != "string")
|
|
@@ -3663,7 +3665,7 @@ const W = (e, t) => {
|
|
|
3663
3665
|
return l;
|
|
3664
3666
|
let f = l;
|
|
3665
3667
|
try {
|
|
3666
|
-
f =
|
|
3668
|
+
f = Cn(l, u).format(h);
|
|
3667
3669
|
} catch (c) {
|
|
3668
3670
|
c instanceof Error && console.warn(
|
|
3669
3671
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3671,18 +3673,18 @@ const W = (e, t) => {
|
|
|
3671
3673
|
);
|
|
3672
3674
|
}
|
|
3673
3675
|
return f;
|
|
3674
|
-
},
|
|
3675
|
-
U([G], () => Rn);
|
|
3676
|
+
}, Un = (e, t) => Mn(t).format(e), Gn = (e, t) => Ln(t).format(e), Dn = (e, t) => $n(t).format(e), Fn = (e, t = A()) => St(e, t), jn = U([G, Z], () => Rn);
|
|
3676
3677
|
U([G], () => Un);
|
|
3677
3678
|
U([G], () => Gn);
|
|
3678
|
-
U([G
|
|
3679
|
-
|
|
3680
|
-
|
|
3679
|
+
U([G], () => Dn);
|
|
3680
|
+
U([G, Z], () => Fn);
|
|
3681
|
+
function et(e, t) {
|
|
3682
|
+
At(e, t);
|
|
3681
3683
|
}
|
|
3682
|
-
function
|
|
3684
|
+
function Vn(e) {
|
|
3683
3685
|
G.set(e);
|
|
3684
3686
|
}
|
|
3685
|
-
const
|
|
3687
|
+
const tt = {
|
|
3686
3688
|
en: {
|
|
3687
3689
|
errServerUnavailable: "Server unavailable",
|
|
3688
3690
|
errEmailVerification: "Sorry! Your e-mail could not be verified. Please try again",
|
|
@@ -3696,14 +3698,14 @@ const Ke = {
|
|
|
3696
3698
|
msgEmailVerificationSuccess: "Succes! E-mailul tău a fost verificat cu succes"
|
|
3697
3699
|
}
|
|
3698
3700
|
};
|
|
3699
|
-
function
|
|
3701
|
+
function kn(e) {
|
|
3700
3702
|
let t;
|
|
3701
3703
|
return {
|
|
3702
3704
|
c() {
|
|
3703
|
-
t =
|
|
3705
|
+
t = ot("div");
|
|
3704
3706
|
},
|
|
3705
3707
|
m(r, n) {
|
|
3706
|
-
|
|
3708
|
+
st(r, t, n);
|
|
3707
3709
|
},
|
|
3708
3710
|
p: _,
|
|
3709
3711
|
i: _,
|
|
@@ -3713,24 +3715,24 @@ function Vn(e) {
|
|
|
3713
3715
|
}
|
|
3714
3716
|
};
|
|
3715
3717
|
}
|
|
3716
|
-
function
|
|
3718
|
+
function Xn(e, t, r) {
|
|
3717
3719
|
let n;
|
|
3718
|
-
|
|
3720
|
+
Ut(e, jn, (f) => r(4, n = f));
|
|
3719
3721
|
let { lang: i = "en" } = t, { endpoint: s = "" } = t, { key: o = "" } = t, { translationurl: h = "" } = t;
|
|
3720
3722
|
const u = () => {
|
|
3721
3723
|
fetch(h).then((c) => c.json()).then((c) => {
|
|
3722
3724
|
Object.keys(c).forEach((b) => {
|
|
3723
|
-
|
|
3725
|
+
et(b, c[b]);
|
|
3724
3726
|
});
|
|
3725
3727
|
}).catch((c) => {
|
|
3726
3728
|
console.log(c);
|
|
3727
3729
|
});
|
|
3728
3730
|
};
|
|
3729
|
-
Object.keys(
|
|
3730
|
-
|
|
3731
|
+
Object.keys(tt).forEach((f) => {
|
|
3732
|
+
et(f, tt[f]);
|
|
3731
3733
|
});
|
|
3732
3734
|
const a = () => {
|
|
3733
|
-
|
|
3735
|
+
Vn(i);
|
|
3734
3736
|
}, l = () => {
|
|
3735
3737
|
let f = new URL(`${s}/v1/player/activatePlayerByHashKey`), b = {
|
|
3736
3738
|
method: "POST",
|
|
@@ -3789,9 +3791,9 @@ function kn(e, t, r) {
|
|
|
3789
3791
|
6 && s && o && l();
|
|
3790
3792
|
}, [i, s, o, h];
|
|
3791
3793
|
}
|
|
3792
|
-
class
|
|
3794
|
+
class Wn extends Kt {
|
|
3793
3795
|
constructor(t) {
|
|
3794
|
-
super(),
|
|
3796
|
+
super(), qt(this, t, Xn, kn, nt, {
|
|
3795
3797
|
lang: 0,
|
|
3796
3798
|
endpoint: 1,
|
|
3797
3799
|
key: 2,
|
|
@@ -3823,7 +3825,7 @@ class Xn extends qt {
|
|
|
3823
3825
|
this.$$set({ translationurl: t }), w();
|
|
3824
3826
|
}
|
|
3825
3827
|
}
|
|
3826
|
-
|
|
3828
|
+
Yt(Wn, { lang: {}, endpoint: {}, key: {}, translationurl: {} }, [], [], !0);
|
|
3827
3829
|
export {
|
|
3828
|
-
|
|
3830
|
+
Wn as default
|
|
3829
3831
|
};
|