@everymatrix/player-email-verification 1.57.0 → 1.58.1
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-64YgAa6l.js → PlayerEmailVerification-B8FDJz7U.js} +328 -330
- package/components/PlayerEmailVerification-BgaLOCyP.cjs +16 -0
- package/components/{PlayerEmailVerification-DIJ00Em1.js → PlayerEmailVerification-Cpwx80XQ.js} +315 -317
- 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 +3 -2
- package/components/PlayerEmailVerification-CC6x_teP.cjs +0 -16
package/components/{PlayerEmailVerification-DIJ00Em1.js → PlayerEmailVerification-Cpwx80XQ.js}
RENAMED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function v() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Ze(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Oe() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function W(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(Ze);
|
|
11
11
|
}
|
|
12
12
|
function Te(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Qe(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Tt(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Je(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
@@ -27,25 +27,25 @@ function Ye(e, ...t) {
|
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function St(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(Je(t, r));
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function qe(e, t, r) {
|
|
34
34
|
e.insertBefore(t, r || null);
|
|
35
35
|
}
|
|
36
36
|
function Se(e) {
|
|
37
37
|
e.parentNode && e.parentNode.removeChild(e);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function Ye(e) {
|
|
40
40
|
return document.createElement(e);
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Bt(e, t, r) {
|
|
43
43
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function At(e) {
|
|
46
46
|
return Array.from(e.childNodes);
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function Pt(e) {
|
|
49
49
|
const t = {};
|
|
50
50
|
return e.childNodes.forEach(
|
|
51
51
|
/** @param {Element} node */
|
|
@@ -58,12 +58,12 @@ let Be;
|
|
|
58
58
|
function V(e) {
|
|
59
59
|
Be = e;
|
|
60
60
|
}
|
|
61
|
-
const O = [],
|
|
61
|
+
const O = [], Ie = [];
|
|
62
62
|
let w = [];
|
|
63
|
-
const
|
|
63
|
+
const we = [], Nt = /* @__PURE__ */ Promise.resolve();
|
|
64
64
|
let me = !1;
|
|
65
|
-
function
|
|
66
|
-
me || (me = !0,
|
|
65
|
+
function Ot() {
|
|
66
|
+
me || (me = !0, Nt.then(I));
|
|
67
67
|
}
|
|
68
68
|
function pe(e) {
|
|
69
69
|
w.push(e);
|
|
@@ -78,53 +78,53 @@ function I() {
|
|
|
78
78
|
try {
|
|
79
79
|
for (; P < O.length; ) {
|
|
80
80
|
const t = O[P];
|
|
81
|
-
P++, V(t),
|
|
81
|
+
P++, V(t), It(t.$$);
|
|
82
82
|
}
|
|
83
83
|
} catch (t) {
|
|
84
84
|
throw O.length = 0, P = 0, t;
|
|
85
85
|
}
|
|
86
|
-
for (V(null), O.length = 0, P = 0;
|
|
87
|
-
|
|
86
|
+
for (V(null), O.length = 0, P = 0; Ie.length; )
|
|
87
|
+
Ie.pop()();
|
|
88
88
|
for (let t = 0; t < w.length; t += 1) {
|
|
89
89
|
const r = w[t];
|
|
90
90
|
oe.has(r) || (oe.add(r), r());
|
|
91
91
|
}
|
|
92
92
|
w.length = 0;
|
|
93
93
|
} while (O.length);
|
|
94
|
-
for (;
|
|
95
|
-
|
|
94
|
+
for (; we.length; )
|
|
95
|
+
we.pop()();
|
|
96
96
|
me = !1, oe.clear(), V(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function It(e) {
|
|
99
99
|
if (e.fragment !== null) {
|
|
100
100
|
e.update(), W(e.before_update);
|
|
101
101
|
const t = e.dirty;
|
|
102
102
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(pe);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function wt(e) {
|
|
106
106
|
const t = [], r = [];
|
|
107
107
|
w.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), w = t;
|
|
108
108
|
}
|
|
109
|
-
const
|
|
110
|
-
function
|
|
111
|
-
e && e.i && (
|
|
109
|
+
const $t = /* @__PURE__ */ new Set();
|
|
110
|
+
function Lt(e, t) {
|
|
111
|
+
e && e.i && ($t.delete(e), e.i(t));
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function Mt(e, t, r) {
|
|
114
114
|
const { fragment: n, after_update: i } = e.$$;
|
|
115
115
|
n && n.m(t, r), pe(() => {
|
|
116
|
-
const s = e.$$.on_mount.map(
|
|
116
|
+
const s = e.$$.on_mount.map(Ze).filter(Te);
|
|
117
117
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : W(s), e.$$.on_mount = [];
|
|
118
118
|
}), i.forEach(pe);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Ct(e, t) {
|
|
121
121
|
const r = e.$$;
|
|
122
|
-
r.fragment !== null && (
|
|
122
|
+
r.fragment !== null && (wt(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
125
|
-
e.$$.dirty[0] === -1 && (O.push(e),
|
|
124
|
+
function Rt(e, t) {
|
|
125
|
+
e.$$.dirty[0] === -1 && (O.push(e), Ot(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function Ut(e, t, r, n, i, s, h = null, o = [-1]) {
|
|
128
128
|
const f = Be;
|
|
129
129
|
V(e);
|
|
130
130
|
const a = e.$$ = {
|
|
@@ -134,7 +134,7 @@ function Dt(e, t, r, n, i, s, h = null, o = [-1]) {
|
|
|
134
134
|
props: s,
|
|
135
135
|
update: v,
|
|
136
136
|
not_equal: i,
|
|
137
|
-
bound:
|
|
137
|
+
bound: Oe(),
|
|
138
138
|
// lifecycle
|
|
139
139
|
on_mount: [],
|
|
140
140
|
on_destroy: [],
|
|
@@ -143,7 +143,7 @@ function Dt(e, t, r, n, i, s, h = null, o = [-1]) {
|
|
|
143
143
|
after_update: [],
|
|
144
144
|
context: new Map(t.context || (f ? f.$$.context : [])),
|
|
145
145
|
// everything else
|
|
146
|
-
callbacks:
|
|
146
|
+
callbacks: Oe(),
|
|
147
147
|
dirty: o,
|
|
148
148
|
skip_bound: !1,
|
|
149
149
|
root: t.target || f.$$.root
|
|
@@ -152,19 +152,19 @@ function Dt(e, t, r, n, i, s, h = null, o = [-1]) {
|
|
|
152
152
|
let u = !1;
|
|
153
153
|
if (a.ctx = r ? r(e, t.props || {}, (l, c, ...b) => {
|
|
154
154
|
const g = b.length ? b[0] : c;
|
|
155
|
-
return a.ctx && i(a.ctx[l], a.ctx[l] = g) && (!a.skip_bound && a.bound[l] && a.bound[l](g), u &&
|
|
155
|
+
return a.ctx && i(a.ctx[l], a.ctx[l] = g) && (!a.skip_bound && a.bound[l] && a.bound[l](g), u && Rt(e, l)), c;
|
|
156
156
|
}) : [], a.update(), u = !0, W(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
157
157
|
if (t.hydrate) {
|
|
158
|
-
const l =
|
|
158
|
+
const l = At(t.target);
|
|
159
159
|
a.fragment && a.fragment.l(l), l.forEach(Se);
|
|
160
160
|
} else
|
|
161
161
|
a.fragment && a.fragment.c();
|
|
162
|
-
t.intro &&
|
|
162
|
+
t.intro && Lt(e.$$.fragment), Mt(e, t.target, t.anchor), I();
|
|
163
163
|
}
|
|
164
164
|
V(f);
|
|
165
165
|
}
|
|
166
|
-
let
|
|
167
|
-
typeof HTMLElement == "function" && (
|
|
166
|
+
let Ke;
|
|
167
|
+
typeof HTMLElement == "function" && (Ke = class extends HTMLElement {
|
|
168
168
|
/** The Svelte component constructor */
|
|
169
169
|
$$ctor;
|
|
170
170
|
/** Slots */
|
|
@@ -206,14 +206,14 @@ typeof HTMLElement == "function" && (tt = class extends HTMLElement {
|
|
|
206
206
|
let s;
|
|
207
207
|
return {
|
|
208
208
|
c: function() {
|
|
209
|
-
s =
|
|
209
|
+
s = Ye("slot"), i !== "default" && Bt(s, "name", i);
|
|
210
210
|
},
|
|
211
211
|
/**
|
|
212
212
|
* @param {HTMLElement} target
|
|
213
213
|
* @param {HTMLElement} [anchor]
|
|
214
214
|
*/
|
|
215
215
|
m: function(f, a) {
|
|
216
|
-
|
|
216
|
+
qe(f, s, a);
|
|
217
217
|
},
|
|
218
218
|
d: function(f) {
|
|
219
219
|
f && Se(s);
|
|
@@ -223,7 +223,7 @@ typeof HTMLElement == "function" && (tt = class extends HTMLElement {
|
|
|
223
223
|
};
|
|
224
224
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
225
225
|
return;
|
|
226
|
-
const t = {}, r =
|
|
226
|
+
const t = {}, r = Pt(this);
|
|
227
227
|
for (const i of this.$$s)
|
|
228
228
|
i in r && (t[i] = [e(i)]);
|
|
229
229
|
for (const i of this.attributes) {
|
|
@@ -310,8 +310,8 @@ function J(e, t, r, n) {
|
|
|
310
310
|
return t;
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
-
function
|
|
314
|
-
let h = class extends
|
|
313
|
+
function Gt(e, t, r, n, i, s) {
|
|
314
|
+
let h = class extends Ke {
|
|
315
315
|
constructor() {
|
|
316
316
|
super(e, r, i), this.$$p_d = t;
|
|
317
317
|
}
|
|
@@ -339,7 +339,7 @@ function Ft(e, t, r, n, i, s) {
|
|
|
339
339
|
}), e.element = /** @type {any} */
|
|
340
340
|
h, h;
|
|
341
341
|
}
|
|
342
|
-
class
|
|
342
|
+
class Dt {
|
|
343
343
|
/**
|
|
344
344
|
* ### PRIVATE API
|
|
345
345
|
*
|
|
@@ -358,7 +358,7 @@ class jt {
|
|
|
358
358
|
$$set = void 0;
|
|
359
359
|
/** @returns {void} */
|
|
360
360
|
$destroy() {
|
|
361
|
-
|
|
361
|
+
Ct(this, 1), this.$destroy = v;
|
|
362
362
|
}
|
|
363
363
|
/**
|
|
364
364
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -380,13 +380,13 @@ class jt {
|
|
|
380
380
|
* @returns {void}
|
|
381
381
|
*/
|
|
382
382
|
$set(t) {
|
|
383
|
-
this.$$set && !
|
|
383
|
+
this.$$set && !Tt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
const
|
|
387
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
386
|
+
const Ft = "4";
|
|
387
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ft);
|
|
388
388
|
const N = [];
|
|
389
|
-
function
|
|
389
|
+
function jt(e, t) {
|
|
390
390
|
return {
|
|
391
391
|
subscribe: te(e, t).subscribe
|
|
392
392
|
};
|
|
@@ -395,7 +395,7 @@ function te(e, t = v) {
|
|
|
395
395
|
let r;
|
|
396
396
|
const n = /* @__PURE__ */ new Set();
|
|
397
397
|
function i(o) {
|
|
398
|
-
if (
|
|
398
|
+
if (Qe(e, o) && (e = o, r)) {
|
|
399
399
|
const f = !N.length;
|
|
400
400
|
for (const a of n)
|
|
401
401
|
a[1](), N.push(a, e);
|
|
@@ -422,7 +422,7 @@ function R(e, t, r) {
|
|
|
422
422
|
if (!i.every(Boolean))
|
|
423
423
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
424
424
|
const s = t.length < 2;
|
|
425
|
-
return
|
|
425
|
+
return jt(r, (h, o) => {
|
|
426
426
|
let f = !1;
|
|
427
427
|
const a = [];
|
|
428
428
|
let u = 0, l = v;
|
|
@@ -433,7 +433,7 @@ function R(e, t, r) {
|
|
|
433
433
|
const g = t(n ? a[0] : a, h, o);
|
|
434
434
|
s ? h(g) : l = Te(g) ? g : v;
|
|
435
435
|
}, b = i.map(
|
|
436
|
-
(g, y) =>
|
|
436
|
+
(g, y) => Je(
|
|
437
437
|
g,
|
|
438
438
|
(H) => {
|
|
439
439
|
a[y] = H, u &= ~(1 << y), f && c();
|
|
@@ -448,70 +448,70 @@ function R(e, t, r) {
|
|
|
448
448
|
};
|
|
449
449
|
});
|
|
450
450
|
}
|
|
451
|
-
function
|
|
451
|
+
function Vt(e) {
|
|
452
452
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
453
453
|
}
|
|
454
|
-
var
|
|
455
|
-
return
|
|
454
|
+
var kt = function(t) {
|
|
455
|
+
return Xt(t) && !Wt(t);
|
|
456
456
|
};
|
|
457
|
-
function
|
|
457
|
+
function Xt(e) {
|
|
458
458
|
return !!e && typeof e == "object";
|
|
459
459
|
}
|
|
460
|
-
function
|
|
460
|
+
function Wt(e) {
|
|
461
461
|
var t = Object.prototype.toString.call(e);
|
|
462
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
462
|
+
return t === "[object RegExp]" || t === "[object Date]" || Qt(e);
|
|
463
463
|
}
|
|
464
|
-
var
|
|
465
|
-
function
|
|
466
|
-
return e.$$typeof ===
|
|
464
|
+
var zt = typeof Symbol == "function" && Symbol.for, Zt = zt ? Symbol.for("react.element") : 60103;
|
|
465
|
+
function Qt(e) {
|
|
466
|
+
return e.$$typeof === Zt;
|
|
467
467
|
}
|
|
468
|
-
function
|
|
468
|
+
function Jt(e) {
|
|
469
469
|
return Array.isArray(e) ? [] : {};
|
|
470
470
|
}
|
|
471
471
|
function k(e, t) {
|
|
472
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? $(
|
|
472
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? $(Jt(e), e, t) : e;
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function qt(e, t, r) {
|
|
475
475
|
return e.concat(t).map(function(n) {
|
|
476
476
|
return k(n, r);
|
|
477
477
|
});
|
|
478
478
|
}
|
|
479
|
-
function
|
|
479
|
+
function Yt(e, t) {
|
|
480
480
|
if (!t.customMerge)
|
|
481
481
|
return $;
|
|
482
482
|
var r = t.customMerge(e);
|
|
483
483
|
return typeof r == "function" ? r : $;
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function Kt(e) {
|
|
486
486
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
487
487
|
return Object.propertyIsEnumerable.call(e, t);
|
|
488
488
|
}) : [];
|
|
489
489
|
}
|
|
490
|
-
function
|
|
491
|
-
return Object.keys(e).concat(
|
|
490
|
+
function $e(e) {
|
|
491
|
+
return Object.keys(e).concat(Kt(e));
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function et(e, t) {
|
|
494
494
|
try {
|
|
495
495
|
return t in e;
|
|
496
496
|
} catch {
|
|
497
497
|
return !1;
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
|
-
function
|
|
501
|
-
return
|
|
500
|
+
function er(e, t) {
|
|
501
|
+
return et(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function tr(e, t, r) {
|
|
504
504
|
var n = {};
|
|
505
|
-
return r.isMergeableObject(e) &&
|
|
505
|
+
return r.isMergeableObject(e) && $e(e).forEach(function(i) {
|
|
506
506
|
n[i] = k(e[i], r);
|
|
507
|
-
}),
|
|
508
|
-
|
|
507
|
+
}), $e(t).forEach(function(i) {
|
|
508
|
+
er(e, i) || (et(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yt(i, r)(e[i], t[i], r) : n[i] = k(t[i], r));
|
|
509
509
|
}), n;
|
|
510
510
|
}
|
|
511
511
|
function $(e, t, r) {
|
|
512
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
512
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || qt, r.isMergeableObject = r.isMergeableObject || kt, r.cloneUnlessOtherwiseSpecified = k;
|
|
513
513
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
514
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
514
|
+
return s ? n ? r.arrayMerge(e, t, r) : tr(e, t, r) : k(t, r);
|
|
515
515
|
}
|
|
516
516
|
$.all = function(t, r) {
|
|
517
517
|
if (!Array.isArray(t))
|
|
@@ -520,8 +520,8 @@ $.all = function(t, r) {
|
|
|
520
520
|
return $(n, i, r);
|
|
521
521
|
}, {});
|
|
522
522
|
};
|
|
523
|
-
var
|
|
524
|
-
const
|
|
523
|
+
var rr = $, nr = rr;
|
|
524
|
+
const ir = /* @__PURE__ */ Vt(nr);
|
|
525
525
|
/*! *****************************************************************************
|
|
526
526
|
Copyright (c) Microsoft Corporation.
|
|
527
527
|
|
|
@@ -563,7 +563,7 @@ var d = function() {
|
|
|
563
563
|
return t;
|
|
564
564
|
}, d.apply(this, arguments);
|
|
565
565
|
};
|
|
566
|
-
function
|
|
566
|
+
function sr(e, t) {
|
|
567
567
|
var r = {};
|
|
568
568
|
for (var n in e)
|
|
569
569
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -579,55 +579,53 @@ function ae(e, t, r) {
|
|
|
579
579
|
return e.concat(s || t);
|
|
580
580
|
}
|
|
581
581
|
function he(e, t) {
|
|
582
|
-
var r = t && t.cache ? t.cache :
|
|
582
|
+
var r = t && t.cache ? t.cache : cr, n = t && t.serializer ? t.serializer : lr, i = t && t.strategy ? t.strategy : hr;
|
|
583
583
|
return i(e, {
|
|
584
584
|
cache: r,
|
|
585
585
|
serializer: n
|
|
586
586
|
});
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function or(e) {
|
|
589
589
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
590
590
|
}
|
|
591
|
-
function
|
|
592
|
-
var i =
|
|
591
|
+
function ar(e, t, r, n) {
|
|
592
|
+
var i = or(n) ? n : r(n), s = t.get(i);
|
|
593
593
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
594
594
|
}
|
|
595
|
-
function
|
|
595
|
+
function tt(e, t, r) {
|
|
596
596
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
597
597
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
598
598
|
}
|
|
599
|
-
function
|
|
599
|
+
function rt(e, t, r, n, i) {
|
|
600
600
|
return r.bind(t, e, n, i);
|
|
601
601
|
}
|
|
602
|
-
function
|
|
603
|
-
var r = e.length === 1 ?
|
|
604
|
-
return
|
|
605
|
-
}
|
|
606
|
-
function lr(e, t) {
|
|
607
|
-
return Ae(e, this, it, t.cache.create(), t.serializer);
|
|
602
|
+
function hr(e, t) {
|
|
603
|
+
var r = e.length === 1 ? ar : tt;
|
|
604
|
+
return rt(e, this, r, t.cache.create(), t.serializer);
|
|
608
605
|
}
|
|
609
|
-
function
|
|
610
|
-
return
|
|
606
|
+
function ur(e, t) {
|
|
607
|
+
return rt(e, this, tt, t.cache.create(), t.serializer);
|
|
611
608
|
}
|
|
612
|
-
var
|
|
609
|
+
var lr = function() {
|
|
613
610
|
return JSON.stringify(arguments);
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
611
|
+
}, fr = (
|
|
612
|
+
/** @class */
|
|
613
|
+
function() {
|
|
614
|
+
function e() {
|
|
615
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
616
|
+
}
|
|
617
|
+
return e.prototype.get = function(t) {
|
|
618
|
+
return this.cache[t];
|
|
619
|
+
}, e.prototype.set = function(t, r) {
|
|
620
|
+
this.cache[t] = r;
|
|
621
|
+
}, e;
|
|
622
|
+
}()
|
|
623
|
+
), cr = {
|
|
625
624
|
create: function() {
|
|
626
|
-
return new
|
|
625
|
+
return new fr();
|
|
627
626
|
}
|
|
628
627
|
}, ue = {
|
|
629
|
-
variadic:
|
|
630
|
-
monadic: fr
|
|
628
|
+
variadic: ur
|
|
631
629
|
}, m;
|
|
632
630
|
(function(e) {
|
|
633
631
|
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";
|
|
@@ -640,43 +638,43 @@ var L;
|
|
|
640
638
|
(function(e) {
|
|
641
639
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
642
640
|
})(L || (L = {}));
|
|
643
|
-
function
|
|
641
|
+
function Le(e) {
|
|
644
642
|
return e.type === E.literal;
|
|
645
643
|
}
|
|
646
|
-
function
|
|
644
|
+
function mr(e) {
|
|
647
645
|
return e.type === E.argument;
|
|
648
646
|
}
|
|
649
|
-
function
|
|
647
|
+
function nt(e) {
|
|
650
648
|
return e.type === E.number;
|
|
651
649
|
}
|
|
652
|
-
function
|
|
650
|
+
function it(e) {
|
|
653
651
|
return e.type === E.date;
|
|
654
652
|
}
|
|
655
|
-
function
|
|
653
|
+
function st(e) {
|
|
656
654
|
return e.type === E.time;
|
|
657
655
|
}
|
|
658
|
-
function
|
|
656
|
+
function ot(e) {
|
|
659
657
|
return e.type === E.select;
|
|
660
658
|
}
|
|
661
|
-
function
|
|
659
|
+
function at(e) {
|
|
662
660
|
return e.type === E.plural;
|
|
663
661
|
}
|
|
664
|
-
function
|
|
662
|
+
function pr(e) {
|
|
665
663
|
return e.type === E.pound;
|
|
666
664
|
}
|
|
667
|
-
function
|
|
665
|
+
function ht(e) {
|
|
668
666
|
return e.type === E.tag;
|
|
669
667
|
}
|
|
670
|
-
function
|
|
668
|
+
function ut(e) {
|
|
671
669
|
return !!(e && typeof e == "object" && e.type === L.number);
|
|
672
670
|
}
|
|
673
671
|
function be(e) {
|
|
674
672
|
return !!(e && typeof e == "object" && e.type === L.dateTime);
|
|
675
673
|
}
|
|
676
|
-
var
|
|
677
|
-
function
|
|
674
|
+
var lt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dr = /(?:[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;
|
|
675
|
+
function br(e) {
|
|
678
676
|
var t = {};
|
|
679
|
-
return e.replace(
|
|
677
|
+
return e.replace(dr, function(r) {
|
|
680
678
|
var n = r.length;
|
|
681
679
|
switch (r[0]) {
|
|
682
680
|
case "G":
|
|
@@ -765,11 +763,11 @@ function gr(e) {
|
|
|
765
763
|
return "";
|
|
766
764
|
}), t;
|
|
767
765
|
}
|
|
768
|
-
var
|
|
769
|
-
function
|
|
766
|
+
var gr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
767
|
+
function Er(e) {
|
|
770
768
|
if (e.length === 0)
|
|
771
769
|
throw new Error("Number skeleton cannot be empty");
|
|
772
|
-
for (var t = e.split(
|
|
770
|
+
for (var t = e.split(gr).filter(function(c) {
|
|
773
771
|
return c.length > 0;
|
|
774
772
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
775
773
|
var s = i[n], h = s.split("/");
|
|
@@ -784,17 +782,17 @@ function xr(e) {
|
|
|
784
782
|
}
|
|
785
783
|
return r;
|
|
786
784
|
}
|
|
787
|
-
function
|
|
785
|
+
function xr(e) {
|
|
788
786
|
return e.replace(/^(.*?)-/, "");
|
|
789
787
|
}
|
|
790
|
-
var
|
|
791
|
-
function
|
|
788
|
+
var Me = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ft = /^(@+)?(\+|#+)?[rs]?$/g, yr = /(\*)(0+)|(#+)(0+)|(0+)/g, ct = /^(0+)$/;
|
|
789
|
+
function Ce(e) {
|
|
792
790
|
var t = {};
|
|
793
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
791
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ft, function(r, n, i) {
|
|
794
792
|
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)), "";
|
|
795
793
|
}), t;
|
|
796
794
|
}
|
|
797
|
-
function
|
|
795
|
+
function mt(e) {
|
|
798
796
|
switch (e) {
|
|
799
797
|
case "sign-auto":
|
|
800
798
|
return {
|
|
@@ -834,7 +832,7 @@ function dt(e) {
|
|
|
834
832
|
};
|
|
835
833
|
}
|
|
836
834
|
}
|
|
837
|
-
function
|
|
835
|
+
function vr(e) {
|
|
838
836
|
var t;
|
|
839
837
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
840
838
|
notation: "engineering"
|
|
@@ -842,17 +840,17 @@ function _r(e) {
|
|
|
842
840
|
notation: "scientific"
|
|
843
841
|
}, e = e.slice(1)), t) {
|
|
844
842
|
var r = e.slice(0, 2);
|
|
845
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
843
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ct.test(e))
|
|
846
844
|
throw new Error("Malformed concise eng/scientific notation");
|
|
847
845
|
t.minimumIntegerDigits = e.length;
|
|
848
846
|
}
|
|
849
847
|
return t;
|
|
850
848
|
}
|
|
851
|
-
function
|
|
852
|
-
var t = {}, r =
|
|
849
|
+
function Re(e) {
|
|
850
|
+
var t = {}, r = mt(e);
|
|
853
851
|
return r || t;
|
|
854
852
|
}
|
|
855
|
-
function
|
|
853
|
+
function _r(e) {
|
|
856
854
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
857
855
|
var i = n[r];
|
|
858
856
|
switch (i.stem) {
|
|
@@ -876,7 +874,7 @@ function Hr(e) {
|
|
|
876
874
|
continue;
|
|
877
875
|
case "measure-unit":
|
|
878
876
|
case "unit":
|
|
879
|
-
t.style = "unit", t.unit =
|
|
877
|
+
t.style = "unit", t.unit = xr(i.options[0]);
|
|
880
878
|
continue;
|
|
881
879
|
case "compact-short":
|
|
882
880
|
case "K":
|
|
@@ -888,12 +886,12 @@ function Hr(e) {
|
|
|
888
886
|
continue;
|
|
889
887
|
case "scientific":
|
|
890
888
|
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(f, a) {
|
|
891
|
-
return d(d({}, f),
|
|
889
|
+
return d(d({}, f), Re(a));
|
|
892
890
|
}, {}));
|
|
893
891
|
continue;
|
|
894
892
|
case "engineering":
|
|
895
893
|
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(f, a) {
|
|
896
|
-
return d(d({}, f),
|
|
894
|
+
return d(d({}, f), Re(a));
|
|
897
895
|
}, {}));
|
|
898
896
|
continue;
|
|
899
897
|
case "notation-simple":
|
|
@@ -938,7 +936,7 @@ function Hr(e) {
|
|
|
938
936
|
case "integer-width":
|
|
939
937
|
if (i.options.length > 1)
|
|
940
938
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
941
|
-
i.options[0].replace(
|
|
939
|
+
i.options[0].replace(yr, function(f, a, u, l, c, b) {
|
|
942
940
|
if (a)
|
|
943
941
|
t.minimumIntegerDigits = u.length;
|
|
944
942
|
else {
|
|
@@ -951,27 +949,27 @@ function Hr(e) {
|
|
|
951
949
|
});
|
|
952
950
|
continue;
|
|
953
951
|
}
|
|
954
|
-
if (
|
|
952
|
+
if (ct.test(i.stem)) {
|
|
955
953
|
t.minimumIntegerDigits = i.stem.length;
|
|
956
954
|
continue;
|
|
957
955
|
}
|
|
958
|
-
if (
|
|
956
|
+
if (Me.test(i.stem)) {
|
|
959
957
|
if (i.options.length > 1)
|
|
960
958
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
961
|
-
i.stem.replace(
|
|
959
|
+
i.stem.replace(Me, function(f, a, u, l, c, b) {
|
|
962
960
|
return u === "*" ? t.minimumFractionDigits = a.length : l && l[0] === "#" ? t.maximumFractionDigits = l.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
963
961
|
});
|
|
964
962
|
var s = i.options[0];
|
|
965
|
-
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t),
|
|
963
|
+
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), Ce(s)));
|
|
966
964
|
continue;
|
|
967
965
|
}
|
|
968
|
-
if (
|
|
969
|
-
t = d(d({}, t),
|
|
966
|
+
if (ft.test(i.stem)) {
|
|
967
|
+
t = d(d({}, t), Ce(i.stem));
|
|
970
968
|
continue;
|
|
971
969
|
}
|
|
972
|
-
var h =
|
|
970
|
+
var h = mt(i.stem);
|
|
973
971
|
h && (t = d(d({}, t), h));
|
|
974
|
-
var o =
|
|
972
|
+
var o = vr(i.stem);
|
|
975
973
|
o && (t = d(d({}, t), o));
|
|
976
974
|
}
|
|
977
975
|
return t;
|
|
@@ -2391,13 +2389,13 @@ var Q = {
|
|
|
2391
2389
|
"h"
|
|
2392
2390
|
]
|
|
2393
2391
|
};
|
|
2394
|
-
function
|
|
2392
|
+
function Hr(e, t) {
|
|
2395
2393
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2396
2394
|
var i = e.charAt(n);
|
|
2397
2395
|
if (i === "j") {
|
|
2398
2396
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2399
2397
|
s++, n++;
|
|
2400
|
-
var h = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), f = "a", a =
|
|
2398
|
+
var h = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), f = "a", a = Tr(t);
|
|
2401
2399
|
for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
|
|
2402
2400
|
r += f;
|
|
2403
2401
|
for (; h-- > 0; )
|
|
@@ -2407,7 +2405,7 @@ function Tr(e, t) {
|
|
|
2407
2405
|
}
|
|
2408
2406
|
return r;
|
|
2409
2407
|
}
|
|
2410
|
-
function
|
|
2408
|
+
function Tr(e) {
|
|
2411
2409
|
var t = e.hourCycle;
|
|
2412
2410
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2413
2411
|
e.hourCycles && // @ts-ignore
|
|
@@ -2429,20 +2427,20 @@ function Sr(e) {
|
|
|
2429
2427
|
var i = Q[n || ""] || Q[r || ""] || Q["".concat(r, "-001")] || Q["001"];
|
|
2430
2428
|
return i[0];
|
|
2431
2429
|
}
|
|
2432
|
-
var le,
|
|
2430
|
+
var le, Sr = new RegExp("^".concat(lt.source, "*")), Br = new RegExp("".concat(lt.source, "*$"));
|
|
2433
2431
|
function p(e, t) {
|
|
2434
2432
|
return { start: e, end: t };
|
|
2435
2433
|
}
|
|
2436
|
-
var
|
|
2434
|
+
var Ar = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pr = !!String.fromCodePoint, Nr = !!Object.fromEntries, Or = !!String.prototype.codePointAt, Ir = !!String.prototype.trimStart, wr = !!String.prototype.trimEnd, $r = !!Number.isSafeInteger, Lr = $r ? Number.isSafeInteger : function(e) {
|
|
2437
2435
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2438
2436
|
}, ge = !0;
|
|
2439
2437
|
try {
|
|
2440
|
-
var
|
|
2441
|
-
ge = ((le =
|
|
2438
|
+
var Mr = dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2439
|
+
ge = ((le = Mr.exec("a")) === null || le === void 0 ? void 0 : le[0]) === "a";
|
|
2442
2440
|
} catch {
|
|
2443
2441
|
ge = !1;
|
|
2444
2442
|
}
|
|
2445
|
-
var
|
|
2443
|
+
var Ue = Ar ? (
|
|
2446
2444
|
// Native
|
|
2447
2445
|
function(t, r, n) {
|
|
2448
2446
|
return t.startsWith(r, n);
|
|
@@ -2452,7 +2450,7 @@ var De = Pr ? (
|
|
|
2452
2450
|
function(t, r, n) {
|
|
2453
2451
|
return t.slice(n, n + r.length) === r;
|
|
2454
2452
|
}
|
|
2455
|
-
), Ee =
|
|
2453
|
+
), Ee = Pr ? String.fromCodePoint : (
|
|
2456
2454
|
// IE11
|
|
2457
2455
|
function() {
|
|
2458
2456
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2464,9 +2462,9 @@ var De = Pr ? (
|
|
|
2464
2462
|
}
|
|
2465
2463
|
return n;
|
|
2466
2464
|
}
|
|
2467
|
-
),
|
|
2465
|
+
), Ge = (
|
|
2468
2466
|
// native
|
|
2469
|
-
|
|
2467
|
+
Nr ? Object.fromEntries : (
|
|
2470
2468
|
// Ponyfill
|
|
2471
2469
|
function(t) {
|
|
2472
2470
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2476,7 +2474,7 @@ var De = Pr ? (
|
|
|
2476
2474
|
return r;
|
|
2477
2475
|
}
|
|
2478
2476
|
)
|
|
2479
|
-
),
|
|
2477
|
+
), pt = Or ? (
|
|
2480
2478
|
// Native
|
|
2481
2479
|
function(t, r) {
|
|
2482
2480
|
return t.codePointAt(r);
|
|
@@ -2490,7 +2488,7 @@ var De = Pr ? (
|
|
|
2490
2488
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2491
2489
|
}
|
|
2492
2490
|
}
|
|
2493
|
-
),
|
|
2491
|
+
), Cr = Ir ? (
|
|
2494
2492
|
// Native
|
|
2495
2493
|
function(t) {
|
|
2496
2494
|
return t.trimStart();
|
|
@@ -2498,9 +2496,9 @@ var De = Pr ? (
|
|
|
2498
2496
|
) : (
|
|
2499
2497
|
// Ponyfill
|
|
2500
2498
|
function(t) {
|
|
2501
|
-
return t.replace(
|
|
2499
|
+
return t.replace(Sr, "");
|
|
2502
2500
|
}
|
|
2503
|
-
),
|
|
2501
|
+
), Rr = wr ? (
|
|
2504
2502
|
// Native
|
|
2505
2503
|
function(t) {
|
|
2506
2504
|
return t.trimEnd();
|
|
@@ -2508,32 +2506,32 @@ var De = Pr ? (
|
|
|
2508
2506
|
) : (
|
|
2509
2507
|
// Ponyfill
|
|
2510
2508
|
function(t) {
|
|
2511
|
-
return t.replace(
|
|
2509
|
+
return t.replace(Br, "");
|
|
2512
2510
|
}
|
|
2513
2511
|
);
|
|
2514
|
-
function
|
|
2512
|
+
function dt(e, t) {
|
|
2515
2513
|
return new RegExp(e, t);
|
|
2516
2514
|
}
|
|
2517
2515
|
var xe;
|
|
2518
2516
|
if (ge) {
|
|
2519
|
-
var
|
|
2517
|
+
var De = dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2520
2518
|
xe = function(t, r) {
|
|
2521
2519
|
var n;
|
|
2522
|
-
|
|
2523
|
-
var i =
|
|
2520
|
+
De.lastIndex = r;
|
|
2521
|
+
var i = De.exec(t);
|
|
2524
2522
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2525
2523
|
};
|
|
2526
2524
|
} else
|
|
2527
2525
|
xe = function(t, r) {
|
|
2528
2526
|
for (var n = []; ; ) {
|
|
2529
|
-
var i =
|
|
2530
|
-
if (i === void 0 ||
|
|
2527
|
+
var i = pt(t, r);
|
|
2528
|
+
if (i === void 0 || bt(i) || Fr(i))
|
|
2531
2529
|
break;
|
|
2532
2530
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2533
2531
|
}
|
|
2534
2532
|
return Ee.apply(void 0, n);
|
|
2535
2533
|
};
|
|
2536
|
-
var
|
|
2534
|
+
var Ur = (
|
|
2537
2535
|
/** @class */
|
|
2538
2536
|
function() {
|
|
2539
2537
|
function e(t, r) {
|
|
@@ -2615,7 +2613,7 @@ var Gr = (
|
|
|
2615
2613
|
return this.error(m.INVALID_TAG, p(n, this.clonePosition()));
|
|
2616
2614
|
}, e.prototype.parseTagName = function() {
|
|
2617
2615
|
var t = this.offset();
|
|
2618
|
-
for (this.bump(); !this.isEOF() &&
|
|
2616
|
+
for (this.bump(); !this.isEOF() && Dr(this.char()); )
|
|
2619
2617
|
this.bump();
|
|
2620
2618
|
return this.message.slice(t, this.offset());
|
|
2621
2619
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2644,7 +2642,7 @@ var Gr = (
|
|
|
2644
2642
|
};
|
|
2645
2643
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2646
2644
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2647
|
-
!
|
|
2645
|
+
!Gr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2648
2646
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2649
2647
|
if (this.isEOF() || this.char() !== 39)
|
|
2650
2648
|
return null;
|
|
@@ -2731,7 +2729,7 @@ var Gr = (
|
|
|
2731
2729
|
var u = this.clonePosition(), l = this.parseSimpleArgStyleIfPossible();
|
|
2732
2730
|
if (l.err)
|
|
2733
2731
|
return l;
|
|
2734
|
-
var c =
|
|
2732
|
+
var c = Rr(l.val);
|
|
2735
2733
|
if (c.length === 0)
|
|
2736
2734
|
return this.error(m.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2737
2735
|
var b = p(u, this.clonePosition());
|
|
@@ -2741,8 +2739,8 @@ var Gr = (
|
|
|
2741
2739
|
if (g.err)
|
|
2742
2740
|
return g;
|
|
2743
2741
|
var y = p(i, this.clonePosition());
|
|
2744
|
-
if (a &&
|
|
2745
|
-
var H =
|
|
2742
|
+
if (a && Ue(a?.style, "::", 0)) {
|
|
2743
|
+
var H = Cr(a.style.slice(2));
|
|
2746
2744
|
if (o === "number") {
|
|
2747
2745
|
var l = this.parseNumberSkeletonFromString(H, a.styleLocation);
|
|
2748
2746
|
return l.err ? l : {
|
|
@@ -2753,12 +2751,12 @@ var Gr = (
|
|
|
2753
2751
|
if (H.length === 0)
|
|
2754
2752
|
return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
|
|
2755
2753
|
var D = H;
|
|
2756
|
-
this.locale && (D =
|
|
2754
|
+
this.locale && (D = Hr(H, this.locale));
|
|
2757
2755
|
var c = {
|
|
2758
2756
|
type: L.dateTime,
|
|
2759
2757
|
pattern: D,
|
|
2760
2758
|
location: a.styleLocation,
|
|
2761
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2759
|
+
parsedOptions: this.shouldParseSkeletons ? br(D) : {}
|
|
2762
2760
|
}, A = o === "date" ? E.date : E.time;
|
|
2763
2761
|
return {
|
|
2764
2762
|
val: { type: A, value: n, location: y, style: c },
|
|
@@ -2799,23 +2797,23 @@ var Gr = (
|
|
|
2799
2797
|
var g = this.tryParseArgumentClose(i);
|
|
2800
2798
|
if (g.err)
|
|
2801
2799
|
return g;
|
|
2802
|
-
var
|
|
2800
|
+
var Ne = p(i, this.clonePosition());
|
|
2803
2801
|
return o === "select" ? {
|
|
2804
2802
|
val: {
|
|
2805
2803
|
type: E.select,
|
|
2806
2804
|
value: n,
|
|
2807
|
-
options:
|
|
2808
|
-
location:
|
|
2805
|
+
options: Ge(Z.val),
|
|
2806
|
+
location: Ne
|
|
2809
2807
|
},
|
|
2810
2808
|
err: null
|
|
2811
2809
|
} : {
|
|
2812
2810
|
val: {
|
|
2813
2811
|
type: E.plural,
|
|
2814
2812
|
value: n,
|
|
2815
|
-
options:
|
|
2813
|
+
options: Ge(Z.val),
|
|
2816
2814
|
offset: S,
|
|
2817
2815
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
2818
|
-
location:
|
|
2816
|
+
location: Ne
|
|
2819
2817
|
},
|
|
2820
2818
|
err: null
|
|
2821
2819
|
};
|
|
@@ -2863,7 +2861,7 @@ var Gr = (
|
|
|
2863
2861
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2864
2862
|
var n = [];
|
|
2865
2863
|
try {
|
|
2866
|
-
n =
|
|
2864
|
+
n = Er(t);
|
|
2867
2865
|
} catch {
|
|
2868
2866
|
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
|
2869
2867
|
}
|
|
@@ -2872,7 +2870,7 @@ var Gr = (
|
|
|
2872
2870
|
type: L.number,
|
|
2873
2871
|
tokens: n,
|
|
2874
2872
|
location: r,
|
|
2875
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2873
|
+
parsedOptions: this.shouldParseSkeletons ? _r(n) : {}
|
|
2876
2874
|
},
|
|
2877
2875
|
err: null
|
|
2878
2876
|
};
|
|
@@ -2920,7 +2918,7 @@ var Gr = (
|
|
|
2920
2918
|
break;
|
|
2921
2919
|
}
|
|
2922
2920
|
var f = p(i, this.clonePosition());
|
|
2923
|
-
return s ? (h *= n,
|
|
2921
|
+
return s ? (h *= n, Lr(h) ? { val: h, err: null } : this.error(r, f)) : this.error(t, f);
|
|
2924
2922
|
}, e.prototype.offset = function() {
|
|
2925
2923
|
return this.position.offset;
|
|
2926
2924
|
}, e.prototype.isEOF = function() {
|
|
@@ -2935,7 +2933,7 @@ var Gr = (
|
|
|
2935
2933
|
var t = this.position.offset;
|
|
2936
2934
|
if (t >= this.message.length)
|
|
2937
2935
|
throw Error("out of bound");
|
|
2938
|
-
var r =
|
|
2936
|
+
var r = pt(this.message, t);
|
|
2939
2937
|
if (r === void 0)
|
|
2940
2938
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
2941
2939
|
return r;
|
|
@@ -2954,7 +2952,7 @@ var Gr = (
|
|
|
2954
2952
|
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);
|
|
2955
2953
|
}
|
|
2956
2954
|
}, e.prototype.bumpIf = function(t) {
|
|
2957
|
-
if (
|
|
2955
|
+
if (Ue(this.message, t, this.offset())) {
|
|
2958
2956
|
for (var r = 0; r < t.length; r++)
|
|
2959
2957
|
this.bump();
|
|
2960
2958
|
return !0;
|
|
@@ -2976,7 +2974,7 @@ var Gr = (
|
|
|
2976
2974
|
break;
|
|
2977
2975
|
}
|
|
2978
2976
|
}, e.prototype.bumpSpace = function() {
|
|
2979
|
-
for (; !this.isEOF() &&
|
|
2977
|
+
for (; !this.isEOF() && bt(this.char()); )
|
|
2980
2978
|
this.bump();
|
|
2981
2979
|
}, e.prototype.peek = function() {
|
|
2982
2980
|
if (this.isEOF())
|
|
@@ -2989,30 +2987,30 @@ var Gr = (
|
|
|
2989
2987
|
function ye(e) {
|
|
2990
2988
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
2991
2989
|
}
|
|
2992
|
-
function
|
|
2990
|
+
function Gr(e) {
|
|
2993
2991
|
return ye(e) || e === 47;
|
|
2994
2992
|
}
|
|
2995
|
-
function
|
|
2993
|
+
function Dr(e) {
|
|
2996
2994
|
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;
|
|
2997
2995
|
}
|
|
2998
|
-
function
|
|
2996
|
+
function bt(e) {
|
|
2999
2997
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3000
2998
|
}
|
|
3001
|
-
function
|
|
2999
|
+
function Fr(e) {
|
|
3002
3000
|
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;
|
|
3003
3001
|
}
|
|
3004
3002
|
function ve(e) {
|
|
3005
3003
|
e.forEach(function(t) {
|
|
3006
|
-
if (delete t.location,
|
|
3004
|
+
if (delete t.location, ot(t) || at(t))
|
|
3007
3005
|
for (var r in t.options)
|
|
3008
3006
|
delete t.options[r].location, ve(t.options[r].value);
|
|
3009
3007
|
else
|
|
3010
|
-
|
|
3008
|
+
nt(t) && ut(t.style) || (it(t) || st(t)) && be(t.style) ? delete t.style.location : ht(t) && ve(t.children);
|
|
3011
3009
|
});
|
|
3012
3010
|
}
|
|
3013
|
-
function
|
|
3011
|
+
function jr(e, t) {
|
|
3014
3012
|
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3015
|
-
var r = new
|
|
3013
|
+
var r = new Ur(e, t).parse();
|
|
3016
3014
|
if (r.err) {
|
|
3017
3015
|
var n = SyntaxError(m[r.err.kind]);
|
|
3018
3016
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3035,7 +3033,7 @@ var ne = (
|
|
|
3035
3033
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3036
3034
|
}, t;
|
|
3037
3035
|
}(Error)
|
|
3038
|
-
),
|
|
3036
|
+
), Fe = (
|
|
3039
3037
|
/** @class */
|
|
3040
3038
|
function(e) {
|
|
3041
3039
|
re(t, e);
|
|
@@ -3044,7 +3042,7 @@ var ne = (
|
|
|
3044
3042
|
}
|
|
3045
3043
|
return t;
|
|
3046
3044
|
}(ne)
|
|
3047
|
-
),
|
|
3045
|
+
), Vr = (
|
|
3048
3046
|
/** @class */
|
|
3049
3047
|
function(e) {
|
|
3050
3048
|
re(t, e);
|
|
@@ -3053,7 +3051,7 @@ var ne = (
|
|
|
3053
3051
|
}
|
|
3054
3052
|
return t;
|
|
3055
3053
|
}(ne)
|
|
3056
|
-
),
|
|
3054
|
+
), kr = (
|
|
3057
3055
|
/** @class */
|
|
3058
3056
|
function(e) {
|
|
3059
3057
|
re(t, e);
|
|
@@ -3066,17 +3064,17 @@ var ne = (
|
|
|
3066
3064
|
(function(e) {
|
|
3067
3065
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3068
3066
|
})(x || (x = {}));
|
|
3069
|
-
function
|
|
3067
|
+
function Xr(e) {
|
|
3070
3068
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3071
3069
|
var n = t[t.length - 1];
|
|
3072
3070
|
return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
|
|
3073
3071
|
}, []);
|
|
3074
3072
|
}
|
|
3075
|
-
function
|
|
3073
|
+
function Wr(e) {
|
|
3076
3074
|
return typeof e == "function";
|
|
3077
3075
|
}
|
|
3078
3076
|
function q(e, t, r, n, i, s, h) {
|
|
3079
|
-
if (e.length === 1 &&
|
|
3077
|
+
if (e.length === 1 && Le(e[0]))
|
|
3080
3078
|
return [
|
|
3081
3079
|
{
|
|
3082
3080
|
type: x.literal,
|
|
@@ -3085,14 +3083,14 @@ function q(e, t, r, n, i, s, h) {
|
|
|
3085
3083
|
];
|
|
3086
3084
|
for (var o = [], f = 0, a = e; f < a.length; f++) {
|
|
3087
3085
|
var u = a[f];
|
|
3088
|
-
if (
|
|
3086
|
+
if (Le(u)) {
|
|
3089
3087
|
o.push({
|
|
3090
3088
|
type: x.literal,
|
|
3091
3089
|
value: u.value
|
|
3092
3090
|
});
|
|
3093
3091
|
continue;
|
|
3094
3092
|
}
|
|
3095
|
-
if (
|
|
3093
|
+
if (pr(u)) {
|
|
3096
3094
|
typeof s == "number" && o.push({
|
|
3097
3095
|
type: x.literal,
|
|
3098
3096
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3101,16 +3099,16 @@ function q(e, t, r, n, i, s, h) {
|
|
|
3101
3099
|
}
|
|
3102
3100
|
var l = u.value;
|
|
3103
3101
|
if (!(i && l in i))
|
|
3104
|
-
throw new
|
|
3102
|
+
throw new kr(l, h);
|
|
3105
3103
|
var c = i[l];
|
|
3106
|
-
if (
|
|
3104
|
+
if (mr(u)) {
|
|
3107
3105
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
|
|
3108
3106
|
type: typeof c == "string" ? x.literal : x.object,
|
|
3109
3107
|
value: c
|
|
3110
3108
|
});
|
|
3111
3109
|
continue;
|
|
3112
3110
|
}
|
|
3113
|
-
if (
|
|
3111
|
+
if (it(u)) {
|
|
3114
3112
|
var b = typeof u.style == "string" ? n.date[u.style] : be(u.style) ? u.style.parsedOptions : void 0;
|
|
3115
3113
|
o.push({
|
|
3116
3114
|
type: x.literal,
|
|
@@ -3118,7 +3116,7 @@ function q(e, t, r, n, i, s, h) {
|
|
|
3118
3116
|
});
|
|
3119
3117
|
continue;
|
|
3120
3118
|
}
|
|
3121
|
-
if (
|
|
3119
|
+
if (st(u)) {
|
|
3122
3120
|
var b = typeof u.style == "string" ? n.time[u.style] : be(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3123
3121
|
o.push({
|
|
3124
3122
|
type: x.literal,
|
|
@@ -3126,18 +3124,18 @@ function q(e, t, r, n, i, s, h) {
|
|
|
3126
3124
|
});
|
|
3127
3125
|
continue;
|
|
3128
3126
|
}
|
|
3129
|
-
if (
|
|
3130
|
-
var b = typeof u.style == "string" ? n.number[u.style] :
|
|
3127
|
+
if (nt(u)) {
|
|
3128
|
+
var b = typeof u.style == "string" ? n.number[u.style] : ut(u.style) ? u.style.parsedOptions : void 0;
|
|
3131
3129
|
b && b.scale && (c = c * (b.scale || 1)), o.push({
|
|
3132
3130
|
type: x.literal,
|
|
3133
3131
|
value: r.getNumberFormat(t, b).format(c)
|
|
3134
3132
|
});
|
|
3135
3133
|
continue;
|
|
3136
3134
|
}
|
|
3137
|
-
if (
|
|
3135
|
+
if (ht(u)) {
|
|
3138
3136
|
var g = u.children, y = u.value, H = i[y];
|
|
3139
|
-
if (!
|
|
3140
|
-
throw new
|
|
3137
|
+
if (!Wr(H))
|
|
3138
|
+
throw new Vr(y, "function", h);
|
|
3141
3139
|
var D = q(g, t, r, n, i, s), A = H(D.map(function(S) {
|
|
3142
3140
|
return S.value;
|
|
3143
3141
|
}));
|
|
@@ -3148,14 +3146,14 @@ function q(e, t, r, n, i, s, h) {
|
|
|
3148
3146
|
};
|
|
3149
3147
|
}));
|
|
3150
3148
|
}
|
|
3151
|
-
if (
|
|
3149
|
+
if (ot(u)) {
|
|
3152
3150
|
var _ = u.options[c] || u.options.other;
|
|
3153
3151
|
if (!_)
|
|
3154
|
-
throw new
|
|
3152
|
+
throw new Fe(u.value, c, Object.keys(u.options), h);
|
|
3155
3153
|
o.push.apply(o, q(_.value, t, r, n, i));
|
|
3156
3154
|
continue;
|
|
3157
3155
|
}
|
|
3158
|
-
if (
|
|
3156
|
+
if (at(u)) {
|
|
3159
3157
|
var _ = u.options["=".concat(c)];
|
|
3160
3158
|
if (!_) {
|
|
3161
3159
|
if (!Intl.PluralRules)
|
|
@@ -3166,21 +3164,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3166
3164
|
_ = u.options[F] || u.options.other;
|
|
3167
3165
|
}
|
|
3168
3166
|
if (!_)
|
|
3169
|
-
throw new
|
|
3167
|
+
throw new Fe(u.value, c, Object.keys(u.options), h);
|
|
3170
3168
|
o.push.apply(o, q(_.value, t, r, n, i, c - (u.offset || 0)));
|
|
3171
3169
|
continue;
|
|
3172
3170
|
}
|
|
3173
3171
|
}
|
|
3174
|
-
return
|
|
3172
|
+
return Xr(o);
|
|
3175
3173
|
}
|
|
3176
|
-
function
|
|
3174
|
+
function zr(e, t) {
|
|
3177
3175
|
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3178
3176
|
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
|
3179
3177
|
}, {})) : e;
|
|
3180
3178
|
}
|
|
3181
|
-
function
|
|
3179
|
+
function Zr(e, t) {
|
|
3182
3180
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3183
|
-
return r[n] =
|
|
3181
|
+
return r[n] = zr(e[n], t[n]), r;
|
|
3184
3182
|
}, d({}, e)) : e;
|
|
3185
3183
|
}
|
|
3186
3184
|
function fe(e) {
|
|
@@ -3197,7 +3195,7 @@ function fe(e) {
|
|
|
3197
3195
|
}
|
|
3198
3196
|
};
|
|
3199
3197
|
}
|
|
3200
|
-
function
|
|
3198
|
+
function Qr(e) {
|
|
3201
3199
|
return e === void 0 && (e = {
|
|
3202
3200
|
number: {},
|
|
3203
3201
|
dateTime: {},
|
|
@@ -3229,7 +3227,7 @@ function Jr(e) {
|
|
|
3229
3227
|
})
|
|
3230
3228
|
};
|
|
3231
3229
|
}
|
|
3232
|
-
var
|
|
3230
|
+
var Jr = (
|
|
3233
3231
|
/** @class */
|
|
3234
3232
|
function() {
|
|
3235
3233
|
function e(t, r, n, i) {
|
|
@@ -3261,13 +3259,13 @@ var qr = (
|
|
|
3261
3259
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3262
3260
|
var h = i || {};
|
|
3263
3261
|
h.formatters;
|
|
3264
|
-
var o =
|
|
3262
|
+
var o = sr(h, ["formatters"]);
|
|
3265
3263
|
this.ast = e.__parse(t, d(d({}, o), { locale: this.resolvedLocale }));
|
|
3266
3264
|
} else
|
|
3267
3265
|
this.ast = t;
|
|
3268
3266
|
if (!Array.isArray(this.ast))
|
|
3269
3267
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3270
|
-
this.formats =
|
|
3268
|
+
this.formats = Zr(e.formats, n), this.formatters = i && i.formatters || Qr(this.formatterCache);
|
|
3271
3269
|
}
|
|
3272
3270
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3273
3271
|
get: function() {
|
|
@@ -3280,7 +3278,7 @@ var qr = (
|
|
|
3280
3278
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3281
3279
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3282
3280
|
}
|
|
3283
|
-
}, e.__parse =
|
|
3281
|
+
}, e.__parse = jr, e.formats = {
|
|
3284
3282
|
number: {
|
|
3285
3283
|
integer: {
|
|
3286
3284
|
maximumFractionDigits: 0
|
|
@@ -3341,7 +3339,7 @@ var qr = (
|
|
|
3341
3339
|
}, e;
|
|
3342
3340
|
}()
|
|
3343
3341
|
);
|
|
3344
|
-
function
|
|
3342
|
+
function qr(e, t) {
|
|
3345
3343
|
if (t == null)
|
|
3346
3344
|
return;
|
|
3347
3345
|
if (t in e)
|
|
@@ -3362,60 +3360,60 @@ function Yr(e, t) {
|
|
|
3362
3360
|
n = void 0;
|
|
3363
3361
|
return n;
|
|
3364
3362
|
}
|
|
3365
|
-
const T = {},
|
|
3363
|
+
const T = {}, Yr = (e, t, r) => r && (t in T || (T[t] = {}), e in T[t] || (T[t][e] = r), r), gt = (e, t) => {
|
|
3366
3364
|
if (t == null)
|
|
3367
3365
|
return;
|
|
3368
3366
|
if (t in T && e in T[t])
|
|
3369
3367
|
return T[t][e];
|
|
3370
3368
|
const r = ie(t);
|
|
3371
3369
|
for (let n = 0; n < r.length; n++) {
|
|
3372
|
-
const i = r[n], s =
|
|
3370
|
+
const i = r[n], s = en(i, e);
|
|
3373
3371
|
if (s)
|
|
3374
|
-
return
|
|
3372
|
+
return Yr(e, t, s);
|
|
3375
3373
|
}
|
|
3376
3374
|
};
|
|
3377
|
-
let
|
|
3375
|
+
let Ae;
|
|
3378
3376
|
const z = te({});
|
|
3379
|
-
function
|
|
3380
|
-
return
|
|
3377
|
+
function Kr(e) {
|
|
3378
|
+
return Ae[e] || null;
|
|
3381
3379
|
}
|
|
3382
|
-
function
|
|
3383
|
-
return e in
|
|
3380
|
+
function Et(e) {
|
|
3381
|
+
return e in Ae;
|
|
3384
3382
|
}
|
|
3385
|
-
function
|
|
3386
|
-
if (!
|
|
3383
|
+
function en(e, t) {
|
|
3384
|
+
if (!Et(e))
|
|
3387
3385
|
return null;
|
|
3388
|
-
const r =
|
|
3389
|
-
return
|
|
3386
|
+
const r = Kr(e);
|
|
3387
|
+
return qr(r, t);
|
|
3390
3388
|
}
|
|
3391
|
-
function
|
|
3389
|
+
function tn(e) {
|
|
3392
3390
|
if (e == null)
|
|
3393
3391
|
return;
|
|
3394
3392
|
const t = ie(e);
|
|
3395
3393
|
for (let r = 0; r < t.length; r++) {
|
|
3396
3394
|
const n = t[r];
|
|
3397
|
-
if (
|
|
3395
|
+
if (Et(n))
|
|
3398
3396
|
return n;
|
|
3399
3397
|
}
|
|
3400
3398
|
}
|
|
3401
|
-
function
|
|
3402
|
-
delete T[e], z.update((r) => (r[e] =
|
|
3399
|
+
function xt(e, ...t) {
|
|
3400
|
+
delete T[e], z.update((r) => (r[e] = ir.all([r[e] || {}, ...t]), r));
|
|
3403
3401
|
}
|
|
3404
3402
|
R(
|
|
3405
3403
|
[z],
|
|
3406
3404
|
([e]) => Object.keys(e)
|
|
3407
3405
|
);
|
|
3408
|
-
z.subscribe((e) =>
|
|
3406
|
+
z.subscribe((e) => Ae = e);
|
|
3409
3407
|
const Y = {};
|
|
3410
|
-
function
|
|
3408
|
+
function rn(e, t) {
|
|
3411
3409
|
Y[e].delete(t), Y[e].size === 0 && delete Y[e];
|
|
3412
3410
|
}
|
|
3413
|
-
function
|
|
3411
|
+
function yt(e) {
|
|
3414
3412
|
return Y[e];
|
|
3415
3413
|
}
|
|
3416
|
-
function
|
|
3414
|
+
function nn(e) {
|
|
3417
3415
|
return ie(e).map((t) => {
|
|
3418
|
-
const r =
|
|
3416
|
+
const r = yt(t);
|
|
3419
3417
|
return [t, r ? [...r] : []];
|
|
3420
3418
|
}).filter(([, t]) => t.length > 0);
|
|
3421
3419
|
}
|
|
@@ -3423,31 +3421,31 @@ function _e(e) {
|
|
|
3423
3421
|
return e == null ? !1 : ie(e).some(
|
|
3424
3422
|
(t) => {
|
|
3425
3423
|
var r;
|
|
3426
|
-
return (r =
|
|
3424
|
+
return (r = yt(t)) == null ? void 0 : r.size;
|
|
3427
3425
|
}
|
|
3428
3426
|
);
|
|
3429
3427
|
}
|
|
3430
|
-
function
|
|
3428
|
+
function sn(e, t) {
|
|
3431
3429
|
return Promise.all(
|
|
3432
|
-
t.map((n) => (
|
|
3433
|
-
).then((n) =>
|
|
3430
|
+
t.map((n) => (rn(e, n), n().then((i) => i.default || i)))
|
|
3431
|
+
).then((n) => xt(e, ...n));
|
|
3434
3432
|
}
|
|
3435
3433
|
const j = {};
|
|
3436
|
-
function
|
|
3434
|
+
function vt(e) {
|
|
3437
3435
|
if (!_e(e))
|
|
3438
3436
|
return e in j ? j[e] : Promise.resolve();
|
|
3439
|
-
const t =
|
|
3437
|
+
const t = nn(e);
|
|
3440
3438
|
return j[e] = Promise.all(
|
|
3441
3439
|
t.map(
|
|
3442
|
-
([r, n]) =>
|
|
3440
|
+
([r, n]) => sn(r, n)
|
|
3443
3441
|
)
|
|
3444
3442
|
).then(() => {
|
|
3445
3443
|
if (_e(e))
|
|
3446
|
-
return
|
|
3444
|
+
return vt(e);
|
|
3447
3445
|
delete j[e];
|
|
3448
3446
|
}), j[e];
|
|
3449
3447
|
}
|
|
3450
|
-
const
|
|
3448
|
+
const on = {
|
|
3451
3449
|
number: {
|
|
3452
3450
|
scientific: { notation: "scientific" },
|
|
3453
3451
|
engineering: { notation: "engineering" },
|
|
@@ -3476,34 +3474,34 @@ const an = {
|
|
|
3476
3474
|
timeZoneName: "short"
|
|
3477
3475
|
}
|
|
3478
3476
|
}
|
|
3479
|
-
},
|
|
3477
|
+
}, an = {
|
|
3480
3478
|
fallbackLocale: null,
|
|
3481
3479
|
loadingDelay: 200,
|
|
3482
|
-
formats:
|
|
3480
|
+
formats: on,
|
|
3483
3481
|
warnOnMissingMessages: !0,
|
|
3484
3482
|
handleMissingMessage: void 0,
|
|
3485
3483
|
ignoreTag: !0
|
|
3486
|
-
},
|
|
3484
|
+
}, hn = an;
|
|
3487
3485
|
function C() {
|
|
3488
|
-
return
|
|
3486
|
+
return hn;
|
|
3489
3487
|
}
|
|
3490
3488
|
const ce = te(!1);
|
|
3491
|
-
var
|
|
3489
|
+
var un = Object.defineProperty, ln = Object.defineProperties, fn = Object.getOwnPropertyDescriptors, je = Object.getOwnPropertySymbols, cn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable, Ve = (e, t, r) => t in e ? un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pn = (e, t) => {
|
|
3492
3490
|
for (var r in t || (t = {}))
|
|
3493
|
-
|
|
3494
|
-
if (
|
|
3495
|
-
for (var r of
|
|
3496
|
-
|
|
3491
|
+
cn.call(t, r) && Ve(e, r, t[r]);
|
|
3492
|
+
if (je)
|
|
3493
|
+
for (var r of je(t))
|
|
3494
|
+
mn.call(t, r) && Ve(e, r, t[r]);
|
|
3497
3495
|
return e;
|
|
3498
|
-
},
|
|
3496
|
+
}, dn = (e, t) => ln(e, fn(t));
|
|
3499
3497
|
let He;
|
|
3500
3498
|
const K = te(null);
|
|
3501
|
-
function
|
|
3499
|
+
function ke(e) {
|
|
3502
3500
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3503
3501
|
}
|
|
3504
3502
|
function ie(e, t = C().fallbackLocale) {
|
|
3505
|
-
const r =
|
|
3506
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3503
|
+
const r = ke(e);
|
|
3504
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ke(t)])] : r;
|
|
3507
3505
|
}
|
|
3508
3506
|
function B() {
|
|
3509
3507
|
return He ?? void 0;
|
|
@@ -3511,22 +3509,22 @@ function B() {
|
|
|
3511
3509
|
K.subscribe((e) => {
|
|
3512
3510
|
He = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3513
3511
|
});
|
|
3514
|
-
const
|
|
3515
|
-
if (e &&
|
|
3512
|
+
const bn = (e) => {
|
|
3513
|
+
if (e && tn(e) && _e(e)) {
|
|
3516
3514
|
const { loadingDelay: t } = C();
|
|
3517
3515
|
let r;
|
|
3518
3516
|
return typeof window < "u" && B() != null && t ? r = window.setTimeout(
|
|
3519
3517
|
() => ce.set(!0),
|
|
3520
3518
|
t
|
|
3521
|
-
) : ce.set(!0),
|
|
3519
|
+
) : ce.set(!0), vt(e).then(() => {
|
|
3522
3520
|
K.set(e);
|
|
3523
3521
|
}).finally(() => {
|
|
3524
3522
|
clearTimeout(r), ce.set(!1);
|
|
3525
3523
|
});
|
|
3526
3524
|
}
|
|
3527
3525
|
return K.set(e);
|
|
3528
|
-
}, U =
|
|
3529
|
-
set:
|
|
3526
|
+
}, U = dn(pn({}, K), {
|
|
3527
|
+
set: bn
|
|
3530
3528
|
}), se = (e) => {
|
|
3531
3529
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3532
3530
|
return (n) => {
|
|
@@ -3534,20 +3532,20 @@ const gn = (e) => {
|
|
|
3534
3532
|
return i in t ? t[i] : t[i] = e(n);
|
|
3535
3533
|
};
|
|
3536
3534
|
};
|
|
3537
|
-
var
|
|
3535
|
+
var gn = Object.defineProperty, ee = Object.getOwnPropertySymbols, _t = Object.prototype.hasOwnProperty, Ht = Object.prototype.propertyIsEnumerable, Xe = (e, t, r) => t in e ? gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pe = (e, t) => {
|
|
3538
3536
|
for (var r in t || (t = {}))
|
|
3539
|
-
|
|
3537
|
+
_t.call(t, r) && Xe(e, r, t[r]);
|
|
3540
3538
|
if (ee)
|
|
3541
3539
|
for (var r of ee(t))
|
|
3542
|
-
|
|
3540
|
+
Ht.call(t, r) && Xe(e, r, t[r]);
|
|
3543
3541
|
return e;
|
|
3544
3542
|
}, G = (e, t) => {
|
|
3545
3543
|
var r = {};
|
|
3546
3544
|
for (var n in e)
|
|
3547
|
-
|
|
3545
|
+
_t.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3548
3546
|
if (e != null && ee)
|
|
3549
3547
|
for (var n of ee(e))
|
|
3550
|
-
t.indexOf(n) < 0 &&
|
|
3548
|
+
t.indexOf(n) < 0 && Ht.call(e, n) && (r[n] = e[n]);
|
|
3551
3549
|
return r;
|
|
3552
3550
|
};
|
|
3553
3551
|
const X = (e, t) => {
|
|
@@ -3555,21 +3553,21 @@ const X = (e, t) => {
|
|
|
3555
3553
|
if (e in r && t in r[e])
|
|
3556
3554
|
return r[e][t];
|
|
3557
3555
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3558
|
-
},
|
|
3556
|
+
}, En = se(
|
|
3559
3557
|
(e) => {
|
|
3560
3558
|
var t = e, { locale: r, format: n } = t, i = G(t, ["locale", "format"]);
|
|
3561
3559
|
if (r == null)
|
|
3562
3560
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3563
3561
|
return n && (i = X("number", n)), new Intl.NumberFormat(r, i);
|
|
3564
3562
|
}
|
|
3565
|
-
),
|
|
3563
|
+
), xn = se(
|
|
3566
3564
|
(e) => {
|
|
3567
3565
|
var t = e, { locale: r, format: n } = t, i = G(t, ["locale", "format"]);
|
|
3568
3566
|
if (r == null)
|
|
3569
3567
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3570
3568
|
return n ? i = X("date", n) : Object.keys(i).length === 0 && (i = X("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3571
3569
|
}
|
|
3572
|
-
),
|
|
3570
|
+
), yn = se(
|
|
3573
3571
|
(e) => {
|
|
3574
3572
|
var t = e, { locale: r, format: n } = t, i = G(t, ["locale", "format"]);
|
|
3575
3573
|
if (r == null)
|
|
@@ -3578,33 +3576,33 @@ const X = (e, t) => {
|
|
|
3578
3576
|
);
|
|
3579
3577
|
return n ? i = X("time", n) : Object.keys(i).length === 0 && (i = X("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3580
3578
|
}
|
|
3581
|
-
),
|
|
3579
|
+
), vn = (e = {}) => {
|
|
3582
3580
|
var t = e, {
|
|
3583
3581
|
locale: r = B()
|
|
3584
3582
|
} = t, n = G(t, [
|
|
3585
3583
|
"locale"
|
|
3586
3584
|
]);
|
|
3587
|
-
return
|
|
3588
|
-
},
|
|
3585
|
+
return En(Pe({ locale: r }, n));
|
|
3586
|
+
}, _n = (e = {}) => {
|
|
3589
3587
|
var t = e, {
|
|
3590
3588
|
locale: r = B()
|
|
3591
3589
|
} = t, n = G(t, [
|
|
3592
3590
|
"locale"
|
|
3593
3591
|
]);
|
|
3594
|
-
return
|
|
3595
|
-
},
|
|
3592
|
+
return xn(Pe({ locale: r }, n));
|
|
3593
|
+
}, Hn = (e = {}) => {
|
|
3596
3594
|
var t = e, {
|
|
3597
3595
|
locale: r = B()
|
|
3598
3596
|
} = t, n = G(t, [
|
|
3599
3597
|
"locale"
|
|
3600
3598
|
]);
|
|
3601
|
-
return
|
|
3602
|
-
},
|
|
3599
|
+
return yn(Pe({ locale: r }, n));
|
|
3600
|
+
}, Tn = se(
|
|
3603
3601
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3604
|
-
(e, t = B()) => new
|
|
3602
|
+
(e, t = B()) => new Jr(e, t, C().formats, {
|
|
3605
3603
|
ignoreTag: C().ignoreTag
|
|
3606
3604
|
})
|
|
3607
|
-
),
|
|
3605
|
+
), Sn = (e, t = {}) => {
|
|
3608
3606
|
var r, n, i, s;
|
|
3609
3607
|
let h = t;
|
|
3610
3608
|
typeof e == "object" && (h = e, e = h.id);
|
|
@@ -3617,7 +3615,7 @@ const X = (e, t) => {
|
|
|
3617
3615
|
throw new Error(
|
|
3618
3616
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3619
3617
|
);
|
|
3620
|
-
let u =
|
|
3618
|
+
let u = gt(e, f);
|
|
3621
3619
|
if (!u)
|
|
3622
3620
|
u = (s = (i = (n = (r = C()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3623
3621
|
else if (typeof u != "string")
|
|
@@ -3628,7 +3626,7 @@ const X = (e, t) => {
|
|
|
3628
3626
|
return u;
|
|
3629
3627
|
let l = u;
|
|
3630
3628
|
try {
|
|
3631
|
-
l =
|
|
3629
|
+
l = Tn(u, f).format(o);
|
|
3632
3630
|
} catch (c) {
|
|
3633
3631
|
c instanceof Error && console.warn(
|
|
3634
3632
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3636,18 +3634,18 @@ const X = (e, t) => {
|
|
|
3636
3634
|
);
|
|
3637
3635
|
}
|
|
3638
3636
|
return l;
|
|
3639
|
-
},
|
|
3637
|
+
}, Bn = (e, t) => Hn(t).format(e), An = (e, t) => _n(t).format(e), Pn = (e, t) => vn(t).format(e), Nn = (e, t = B()) => gt(e, t), On = R([U, z], () => Sn);
|
|
3638
|
+
R([U], () => Bn);
|
|
3640
3639
|
R([U], () => An);
|
|
3641
3640
|
R([U], () => Pn);
|
|
3642
|
-
R([U], () => Nn);
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
vt(e, t);
|
|
3641
|
+
R([U, z], () => Nn);
|
|
3642
|
+
function We(e, t) {
|
|
3643
|
+
xt(e, t);
|
|
3646
3644
|
}
|
|
3647
|
-
function
|
|
3645
|
+
function In(e) {
|
|
3648
3646
|
U.set(e);
|
|
3649
3647
|
}
|
|
3650
|
-
const
|
|
3648
|
+
const ze = {
|
|
3651
3649
|
en: {
|
|
3652
3650
|
errServerUnavailable: "Server unavailable",
|
|
3653
3651
|
errEmailVerification: "Sorry! Your e-mail could not be verified. Please try again",
|
|
@@ -3661,14 +3659,14 @@ const Qe = {
|
|
|
3661
3659
|
msgEmailVerificationSuccess: "Succes! E-mailul tău a fost verificat cu succes"
|
|
3662
3660
|
}
|
|
3663
3661
|
};
|
|
3664
|
-
function
|
|
3662
|
+
function wn(e) {
|
|
3665
3663
|
let t;
|
|
3666
3664
|
return {
|
|
3667
3665
|
c() {
|
|
3668
|
-
t =
|
|
3666
|
+
t = Ye("div");
|
|
3669
3667
|
},
|
|
3670
3668
|
m(r, n) {
|
|
3671
|
-
|
|
3669
|
+
qe(r, t, n);
|
|
3672
3670
|
},
|
|
3673
3671
|
p: v,
|
|
3674
3672
|
i: v,
|
|
@@ -3678,24 +3676,24 @@ function $n(e) {
|
|
|
3678
3676
|
}
|
|
3679
3677
|
};
|
|
3680
3678
|
}
|
|
3681
|
-
function
|
|
3679
|
+
function $n(e, t, r) {
|
|
3682
3680
|
let n;
|
|
3683
|
-
|
|
3681
|
+
St(e, On, (l) => r(4, n = l));
|
|
3684
3682
|
let { lang: i = "en" } = t, { endpoint: s = "" } = t, { key: h = "" } = t, { translationurl: o = "" } = t;
|
|
3685
3683
|
const f = () => {
|
|
3686
3684
|
fetch(o).then((c) => c.json()).then((c) => {
|
|
3687
3685
|
Object.keys(c).forEach((b) => {
|
|
3688
|
-
|
|
3686
|
+
We(b, c[b]);
|
|
3689
3687
|
});
|
|
3690
3688
|
}).catch((c) => {
|
|
3691
3689
|
console.log(c);
|
|
3692
3690
|
});
|
|
3693
3691
|
};
|
|
3694
|
-
Object.keys(
|
|
3695
|
-
|
|
3692
|
+
Object.keys(ze).forEach((l) => {
|
|
3693
|
+
We(l, ze[l]);
|
|
3696
3694
|
});
|
|
3697
3695
|
const a = () => {
|
|
3698
|
-
|
|
3696
|
+
In(i);
|
|
3699
3697
|
}, u = () => {
|
|
3700
3698
|
let l = new URL(`${s}/v1/player/activatePlayerByHashKey`), b = {
|
|
3701
3699
|
method: "POST",
|
|
@@ -3754,9 +3752,9 @@ function Ln(e, t, r) {
|
|
|
3754
3752
|
6 && s && h && u();
|
|
3755
3753
|
}, [i, s, h, o];
|
|
3756
3754
|
}
|
|
3757
|
-
class
|
|
3755
|
+
class Ln extends Dt {
|
|
3758
3756
|
constructor(t) {
|
|
3759
|
-
super(),
|
|
3757
|
+
super(), Ut(this, t, $n, wn, Qe, {
|
|
3760
3758
|
lang: 0,
|
|
3761
3759
|
endpoint: 1,
|
|
3762
3760
|
key: 2,
|
|
@@ -3788,7 +3786,7 @@ class Mn extends jt {
|
|
|
3788
3786
|
this.$$set({ translationurl: t }), I();
|
|
3789
3787
|
}
|
|
3790
3788
|
}
|
|
3791
|
-
|
|
3789
|
+
Gt(Ln, { lang: {}, endpoint: {}, key: {}, translationurl: {} }, [], [], !0);
|
|
3792
3790
|
export {
|
|
3793
|
-
|
|
3791
|
+
Ln as P
|
|
3794
3792
|
};
|