@everymatrix/player-account-menu-nd 1.54.4 → 1.54.8
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/{GeneralLogout-BYNkUOix.js → GeneralLogout-B2FVSxry.js} +413 -421
- package/components/GeneralLogout-BOYHNH12.js +4525 -0
- package/components/GeneralLogout-DUqwy6B3.cjs +5 -0
- package/components/PlayerAccountMenuNd-6yZm4ssH.cjs +1 -0
- package/components/{PlayerAccountMenuNd-D5LdiSBw.js → PlayerAccountMenuNd-BxoLtN1c.js} +15 -15
- package/components/PlayerAccountMenuNd-CpXDgz6l.js +590 -0
- package/es2015/player-account-menu-nd.cjs +1 -0
- package/es2015/player-account-menu-nd.js +16 -0
- package/esnext/player-account-menu-nd.js +1 -1
- package/package.json +1 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function _t(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function qe() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function oe(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(_t);
|
|
11
11
|
}
|
|
12
12
|
function ze(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function xt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let he;
|
|
19
|
-
function
|
|
19
|
+
function Gi(e, t) {
|
|
20
20
|
return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function or(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function Et(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,20 +31,20 @@ function St(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function sr(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(Et(t, r));
|
|
36
36
|
}
|
|
37
37
|
function S(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function ar(e, t, r) {
|
|
41
|
+
const n = ur(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
43
|
const i = I("style");
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
44
|
+
i.id = t, i.textContent = r, hr(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function ur(e) {
|
|
48
48
|
if (!e) return document;
|
|
49
49
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
50
50
|
return t && /** @type {ShadowRoot} */
|
|
@@ -53,7 +53,7 @@ function hr(e) {
|
|
|
53
53
|
t
|
|
54
54
|
) : e.ownerDocument;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function hr(e, t) {
|
|
57
57
|
return S(
|
|
58
58
|
/** @type {Document} */
|
|
59
59
|
e.head || e,
|
|
@@ -66,7 +66,7 @@ function se(e, t, r) {
|
|
|
66
66
|
function Q(e) {
|
|
67
67
|
e.parentNode && e.parentNode.removeChild(e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function Di(e, t) {
|
|
70
70
|
for (let r = 0; r < e.length; r += 1)
|
|
71
71
|
e[r] && e[r].d(t);
|
|
72
72
|
}
|
|
@@ -79,30 +79,30 @@ function K(e) {
|
|
|
79
79
|
function ye(e) {
|
|
80
80
|
return document.createTextNode(e);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function lr() {
|
|
83
83
|
return ye(" ");
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function St(e, t, r, n) {
|
|
86
86
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
87
87
|
}
|
|
88
88
|
function E(e, t, r) {
|
|
89
89
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function Fi(e, t, r) {
|
|
92
92
|
const n = t.toLowerCase();
|
|
93
93
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : E(e, t, r);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function fr(e) {
|
|
96
96
|
return Array.from(e.childNodes);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Tt(e, t) {
|
|
99
99
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
100
100
|
t);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function cr(e, t, r, n) {
|
|
103
103
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function dr(e) {
|
|
106
106
|
const t = {};
|
|
107
107
|
return e.childNodes.forEach(
|
|
108
108
|
/** @param {Element} node */
|
|
@@ -115,19 +115,19 @@ let re;
|
|
|
115
115
|
function te(e) {
|
|
116
116
|
re = e;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function pr() {
|
|
119
119
|
if (!re) throw new Error("Function called outside component initialization");
|
|
120
120
|
return re;
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
|
|
122
|
+
function ji(e) {
|
|
123
|
+
pr().$$.on_mount.push(e);
|
|
124
124
|
}
|
|
125
125
|
const j = [], Ie = [];
|
|
126
126
|
let k = [];
|
|
127
|
-
const
|
|
127
|
+
const Je = [], mr = /* @__PURE__ */ Promise.resolve();
|
|
128
128
|
let Le = !1;
|
|
129
|
-
function
|
|
130
|
-
Le || (Le = !0,
|
|
129
|
+
function br() {
|
|
130
|
+
Le || (Le = !0, mr.then(O));
|
|
131
131
|
}
|
|
132
132
|
function Ne(e) {
|
|
133
133
|
k.push(e);
|
|
@@ -142,7 +142,7 @@ function O() {
|
|
|
142
142
|
try {
|
|
143
143
|
for (; D < j.length; ) {
|
|
144
144
|
const t = j[D];
|
|
145
|
-
D++, te(t),
|
|
145
|
+
D++, te(t), gr(t.$$);
|
|
146
146
|
}
|
|
147
147
|
} catch (t) {
|
|
148
148
|
throw j.length = 0, D = 0, t;
|
|
@@ -154,43 +154,43 @@ function O() {
|
|
|
154
154
|
}
|
|
155
155
|
k.length = 0;
|
|
156
156
|
} while (j.length);
|
|
157
|
-
for (;
|
|
158
|
-
|
|
157
|
+
for (; Je.length; )
|
|
158
|
+
Je.pop()();
|
|
159
159
|
Le = !1, Te.clear(), te(e);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function gr(e) {
|
|
162
162
|
if (e.fragment !== null) {
|
|
163
163
|
e.update(), oe(e.before_update);
|
|
164
164
|
const t = e.dirty;
|
|
165
165
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function yr(e) {
|
|
169
169
|
const t = [], r = [];
|
|
170
170
|
k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
|
|
171
171
|
}
|
|
172
|
-
const
|
|
173
|
-
function
|
|
174
|
-
e && e.i && (
|
|
172
|
+
const vr = /* @__PURE__ */ new Set();
|
|
173
|
+
function _r(e, t) {
|
|
174
|
+
e && e.i && (vr.delete(e), e.i(t));
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function ki(e) {
|
|
177
177
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function xr(e, t, r) {
|
|
180
180
|
const { fragment: n, after_update: i } = e.$$;
|
|
181
181
|
n && n.m(t, r), Ne(() => {
|
|
182
|
-
const o = e.$$.on_mount.map(
|
|
182
|
+
const o = e.$$.on_mount.map(_t).filter(ze);
|
|
183
183
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
|
|
184
184
|
}), i.forEach(Ne);
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function Er(e, t) {
|
|
187
187
|
const r = e.$$;
|
|
188
|
-
r.fragment !== null && (
|
|
188
|
+
r.fragment !== null && (yr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
191
|
-
e.$$.dirty[0] === -1 && (j.push(e),
|
|
190
|
+
function Sr(e, t) {
|
|
191
|
+
e.$$.dirty[0] === -1 && (j.push(e), br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function Tr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
194
194
|
const h = re;
|
|
195
195
|
te(e);
|
|
196
196
|
const u = e.$$ = {
|
|
@@ -200,7 +200,7 @@ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
200
200
|
props: o,
|
|
201
201
|
update: A,
|
|
202
202
|
not_equal: i,
|
|
203
|
-
bound:
|
|
203
|
+
bound: qe(),
|
|
204
204
|
// lifecycle
|
|
205
205
|
on_mount: [],
|
|
206
206
|
on_destroy: [],
|
|
@@ -209,7 +209,7 @@ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
209
209
|
after_update: [],
|
|
210
210
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
211
211
|
// everything else
|
|
212
|
-
callbacks:
|
|
212
|
+
callbacks: qe(),
|
|
213
213
|
dirty: a,
|
|
214
214
|
skip_bound: !1,
|
|
215
215
|
root: t.target || h.$$.root
|
|
@@ -218,19 +218,19 @@ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
218
218
|
let l = !1;
|
|
219
219
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
220
220
|
const y = d.length ? d[0] : f;
|
|
221
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l &&
|
|
221
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Sr(e, c)), f;
|
|
222
222
|
}) : [], u.update(), l = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
223
223
|
if (t.hydrate) {
|
|
224
|
-
const c =
|
|
224
|
+
const c = fr(t.target);
|
|
225
225
|
u.fragment && u.fragment.l(c), c.forEach(Q);
|
|
226
226
|
} else
|
|
227
227
|
u.fragment && u.fragment.c();
|
|
228
|
-
t.intro &&
|
|
228
|
+
t.intro && _r(e.$$.fragment), xr(e, t.target, t.anchor), O();
|
|
229
229
|
}
|
|
230
230
|
te(h);
|
|
231
231
|
}
|
|
232
|
-
let
|
|
233
|
-
typeof HTMLElement == "function" && (
|
|
232
|
+
let Ht;
|
|
233
|
+
typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
|
|
234
234
|
/** The Svelte component constructor */
|
|
235
235
|
$$ctor;
|
|
236
236
|
/** Slots */
|
|
@@ -289,7 +289,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
|
|
|
289
289
|
};
|
|
290
290
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
291
291
|
return;
|
|
292
|
-
const t = {}, r =
|
|
292
|
+
const t = {}, r = dr(this);
|
|
293
293
|
for (const i of this.$$s)
|
|
294
294
|
i in r && (t[i] = [e(i)]);
|
|
295
295
|
for (const i of this.attributes) {
|
|
@@ -376,8 +376,8 @@ function ce(e, t, r, n) {
|
|
|
376
376
|
return t;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
|
-
function
|
|
380
|
-
let s = class extends
|
|
379
|
+
function Hr(e, t, r, n, i, o) {
|
|
380
|
+
let s = class extends Ht {
|
|
381
381
|
constructor() {
|
|
382
382
|
super(e, r, i), this.$$p_d = t;
|
|
383
383
|
}
|
|
@@ -405,7 +405,7 @@ function Br(e, t, r, n, i, o) {
|
|
|
405
405
|
}), e.element = /** @type {any} */
|
|
406
406
|
s, s;
|
|
407
407
|
}
|
|
408
|
-
class
|
|
408
|
+
class Br {
|
|
409
409
|
/**
|
|
410
410
|
* ### PRIVATE API
|
|
411
411
|
*
|
|
@@ -424,7 +424,7 @@ class Ar {
|
|
|
424
424
|
$$set = void 0;
|
|
425
425
|
/** @returns {void} */
|
|
426
426
|
$destroy() {
|
|
427
|
-
|
|
427
|
+
Er(this, 1), this.$destroy = A;
|
|
428
428
|
}
|
|
429
429
|
/**
|
|
430
430
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -446,11 +446,11 @@ class Ar {
|
|
|
446
446
|
* @returns {void}
|
|
447
447
|
*/
|
|
448
448
|
$set(t) {
|
|
449
|
-
this.$$set && !
|
|
449
|
+
this.$$set && !or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
|
-
const
|
|
453
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
452
|
+
const Ar = "4";
|
|
453
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ar);
|
|
454
454
|
var Me = function(e, t) {
|
|
455
455
|
return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
456
456
|
r.__proto__ = n;
|
|
@@ -476,7 +476,7 @@ var g = function() {
|
|
|
476
476
|
return t;
|
|
477
477
|
}, g.apply(this, arguments);
|
|
478
478
|
};
|
|
479
|
-
function
|
|
479
|
+
function wr(e, t) {
|
|
480
480
|
var r = {};
|
|
481
481
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
482
482
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -519,13 +519,13 @@ function V(e, t, r) {
|
|
|
519
519
|
function L(e) {
|
|
520
520
|
return typeof e == "function";
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function Bt(e) {
|
|
523
523
|
var t = function(n) {
|
|
524
524
|
Error.call(n), n.stack = new Error().stack;
|
|
525
525
|
}, r = e(t);
|
|
526
526
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
527
527
|
}
|
|
528
|
-
var He =
|
|
528
|
+
var He = Bt(function(e) {
|
|
529
529
|
return function(r) {
|
|
530
530
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
531
531
|
` + r.map(function(n, i) {
|
|
@@ -581,7 +581,7 @@ var ve = function() {
|
|
|
581
581
|
for (var f = Ce(c), d = f.next(); !d.done; d = f.next()) {
|
|
582
582
|
var y = d.value;
|
|
583
583
|
try {
|
|
584
|
-
|
|
584
|
+
Ye(y);
|
|
585
585
|
} catch (v) {
|
|
586
586
|
o = o ?? [], v instanceof He ? o = V(V([], $e(o)), $e(v.errors)) : o.push(v);
|
|
587
587
|
}
|
|
@@ -603,7 +603,7 @@ var ve = function() {
|
|
|
603
603
|
var r;
|
|
604
604
|
if (t && t !== this)
|
|
605
605
|
if (this.closed)
|
|
606
|
-
|
|
606
|
+
Ye(t);
|
|
607
607
|
else {
|
|
608
608
|
if (t instanceof e) {
|
|
609
609
|
if (t.closed || t._hasParent(this))
|
|
@@ -628,20 +628,16 @@ var ve = function() {
|
|
|
628
628
|
var t = new e();
|
|
629
629
|
return t.closed = !0, t;
|
|
630
630
|
}(), e;
|
|
631
|
-
}(),
|
|
632
|
-
function
|
|
631
|
+
}(), At = ve.EMPTY;
|
|
632
|
+
function wt(e) {
|
|
633
633
|
return e instanceof ve || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function Ye(e) {
|
|
636
636
|
L(e) ? e() : e.unsubscribe();
|
|
637
637
|
}
|
|
638
|
-
var
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
Promise: void 0,
|
|
642
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
643
|
-
useDeprecatedNextContext: !1
|
|
644
|
-
}, Ir = {
|
|
638
|
+
var Pr = {
|
|
639
|
+
Promise: void 0
|
|
640
|
+
}, Or = {
|
|
645
641
|
setTimeout: function(e, t) {
|
|
646
642
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
647
643
|
r[n - 2] = arguments[n];
|
|
@@ -652,21 +648,21 @@ var Or = {
|
|
|
652
648
|
},
|
|
653
649
|
delegate: void 0
|
|
654
650
|
};
|
|
655
|
-
function
|
|
656
|
-
|
|
651
|
+
function Ir(e) {
|
|
652
|
+
Or.setTimeout(function() {
|
|
657
653
|
throw e;
|
|
658
654
|
});
|
|
659
655
|
}
|
|
660
|
-
function
|
|
656
|
+
function Ke() {
|
|
661
657
|
}
|
|
662
658
|
function de(e) {
|
|
663
659
|
e();
|
|
664
660
|
}
|
|
665
|
-
var
|
|
661
|
+
var Pt = function(e) {
|
|
666
662
|
N(t, e);
|
|
667
663
|
function t(r) {
|
|
668
664
|
var n = e.call(this) || this;
|
|
669
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
665
|
+
return n.isStopped = !1, r ? (n.destination = r, wt(r) && r.add(n)) : n.destination = Mr, n;
|
|
670
666
|
}
|
|
671
667
|
return t.create = function(r, n, i) {
|
|
672
668
|
return new Ue(r, n, i);
|
|
@@ -693,7 +689,7 @@ var Ot = function(e) {
|
|
|
693
689
|
this.unsubscribe();
|
|
694
690
|
}
|
|
695
691
|
}, t;
|
|
696
|
-
}(ve),
|
|
692
|
+
}(ve), Lr = function() {
|
|
697
693
|
function e(t) {
|
|
698
694
|
this.partialObserver = t;
|
|
699
695
|
}
|
|
@@ -732,35 +728,35 @@ var Ot = function(e) {
|
|
|
732
728
|
next: r ?? void 0,
|
|
733
729
|
error: n ?? void 0,
|
|
734
730
|
complete: i ?? void 0
|
|
735
|
-
} : s = r, o.destination = new
|
|
731
|
+
} : s = r, o.destination = new Lr(s), o;
|
|
736
732
|
}
|
|
737
733
|
return t;
|
|
738
|
-
}(
|
|
734
|
+
}(Pt);
|
|
739
735
|
function le(e) {
|
|
740
|
-
|
|
736
|
+
Ir(e);
|
|
741
737
|
}
|
|
742
|
-
function
|
|
738
|
+
function Nr(e) {
|
|
743
739
|
throw e;
|
|
744
740
|
}
|
|
745
|
-
var
|
|
741
|
+
var Mr = {
|
|
746
742
|
closed: !0,
|
|
747
|
-
next:
|
|
748
|
-
error:
|
|
749
|
-
complete:
|
|
750
|
-
},
|
|
743
|
+
next: Ke,
|
|
744
|
+
error: Nr,
|
|
745
|
+
complete: Ke
|
|
746
|
+
}, Cr = function() {
|
|
751
747
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
752
748
|
}();
|
|
753
|
-
function
|
|
749
|
+
function $r(e) {
|
|
754
750
|
return e;
|
|
755
751
|
}
|
|
756
|
-
function
|
|
757
|
-
return e.length === 0 ?
|
|
752
|
+
function Rr(e) {
|
|
753
|
+
return e.length === 0 ? $r : e.length === 1 ? e[0] : function(r) {
|
|
758
754
|
return e.reduce(function(n, i) {
|
|
759
755
|
return i(n);
|
|
760
756
|
}, r);
|
|
761
757
|
};
|
|
762
758
|
}
|
|
763
|
-
var
|
|
759
|
+
var et = function() {
|
|
764
760
|
function e(t) {
|
|
765
761
|
t && (this._subscribe = t);
|
|
766
762
|
}
|
|
@@ -768,7 +764,7 @@ var tt = function() {
|
|
|
768
764
|
var r = new e();
|
|
769
765
|
return r.source = this, r.operator = t, r;
|
|
770
766
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
771
|
-
var i = this, o =
|
|
767
|
+
var i = this, o = Gr(t) ? t : new Ue(t, r, n);
|
|
772
768
|
return de(function() {
|
|
773
769
|
var s = i, a = s.operator, h = s.source;
|
|
774
770
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -781,7 +777,7 @@ var tt = function() {
|
|
|
781
777
|
}
|
|
782
778
|
}, e.prototype.forEach = function(t, r) {
|
|
783
779
|
var n = this;
|
|
784
|
-
return r =
|
|
780
|
+
return r = tt(r), new r(function(i, o) {
|
|
785
781
|
var s = new Ue({
|
|
786
782
|
next: function(a) {
|
|
787
783
|
try {
|
|
@@ -798,15 +794,15 @@ var tt = function() {
|
|
|
798
794
|
}, e.prototype._subscribe = function(t) {
|
|
799
795
|
var r;
|
|
800
796
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
801
|
-
}, e.prototype[
|
|
797
|
+
}, e.prototype[Cr] = function() {
|
|
802
798
|
return this;
|
|
803
799
|
}, e.prototype.pipe = function() {
|
|
804
800
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
805
801
|
t[r] = arguments[r];
|
|
806
|
-
return
|
|
802
|
+
return Rr(t)(this);
|
|
807
803
|
}, e.prototype.toPromise = function(t) {
|
|
808
804
|
var r = this;
|
|
809
|
-
return t =
|
|
805
|
+
return t = tt(t), new t(function(n, i) {
|
|
810
806
|
var o;
|
|
811
807
|
r.subscribe(function(s) {
|
|
812
808
|
return o = s;
|
|
@@ -820,32 +816,32 @@ var tt = function() {
|
|
|
820
816
|
return new e(t);
|
|
821
817
|
}, e;
|
|
822
818
|
}();
|
|
823
|
-
function
|
|
819
|
+
function tt(e) {
|
|
824
820
|
var t;
|
|
825
|
-
return (t = e ??
|
|
821
|
+
return (t = e ?? Pr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
826
822
|
}
|
|
827
|
-
function
|
|
823
|
+
function Ur(e) {
|
|
828
824
|
return e && L(e.next) && L(e.error) && L(e.complete);
|
|
829
825
|
}
|
|
830
|
-
function
|
|
831
|
-
return e && e instanceof
|
|
826
|
+
function Gr(e) {
|
|
827
|
+
return e && e instanceof Pt || Ur(e) && wt(e);
|
|
832
828
|
}
|
|
833
|
-
var
|
|
829
|
+
var Dr = Bt(function(e) {
|
|
834
830
|
return function() {
|
|
835
831
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
836
832
|
};
|
|
837
|
-
}),
|
|
833
|
+
}), Ot = function(e) {
|
|
838
834
|
N(t, e);
|
|
839
835
|
function t() {
|
|
840
836
|
var r = e.call(this) || this;
|
|
841
837
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
842
838
|
}
|
|
843
839
|
return t.prototype.lift = function(r) {
|
|
844
|
-
var n = new
|
|
840
|
+
var n = new rt(this, this);
|
|
845
841
|
return n.operator = r, n;
|
|
846
842
|
}, t.prototype._throwIfClosed = function() {
|
|
847
843
|
if (this.closed)
|
|
848
|
-
throw new
|
|
844
|
+
throw new Dr();
|
|
849
845
|
}, t.prototype.next = function(r) {
|
|
850
846
|
var n = this;
|
|
851
847
|
de(function() {
|
|
@@ -901,19 +897,19 @@ var Fr = At(function(e) {
|
|
|
901
897
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
902
898
|
}, t.prototype._innerSubscribe = function(r) {
|
|
903
899
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
904
|
-
return o || s ?
|
|
900
|
+
return o || s ? At : (this.currentObservers = null, a.push(r), new ve(function() {
|
|
905
901
|
n.currentObservers = null, Re(a, r);
|
|
906
902
|
}));
|
|
907
903
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
908
904
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
909
905
|
i ? r.error(o) : s && r.complete();
|
|
910
906
|
}, t.prototype.asObservable = function() {
|
|
911
|
-
var r = new
|
|
907
|
+
var r = new et();
|
|
912
908
|
return r.source = this, r;
|
|
913
909
|
}, t.create = function(r, n) {
|
|
914
|
-
return new
|
|
910
|
+
return new rt(r, n);
|
|
915
911
|
}, t;
|
|
916
|
-
}(
|
|
912
|
+
}(et), rt = function(e) {
|
|
917
913
|
N(t, e);
|
|
918
914
|
function t(r, n) {
|
|
919
915
|
var i = e.call(this) || this;
|
|
@@ -930,17 +926,17 @@ var Fr = At(function(e) {
|
|
|
930
926
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
931
927
|
}, t.prototype._subscribe = function(r) {
|
|
932
928
|
var n, i;
|
|
933
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
929
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : At;
|
|
934
930
|
}, t;
|
|
935
|
-
}(
|
|
931
|
+
}(Ot), It = {
|
|
936
932
|
now: function() {
|
|
937
|
-
return (
|
|
933
|
+
return (It.delegate || Date).now();
|
|
938
934
|
},
|
|
939
935
|
delegate: void 0
|
|
940
|
-
},
|
|
936
|
+
}, Fr = function(e) {
|
|
941
937
|
N(t, e);
|
|
942
938
|
function t(r, n, i) {
|
|
943
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
939
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = It);
|
|
944
940
|
var o = e.call(this) || this;
|
|
945
941
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
946
942
|
}
|
|
@@ -960,15 +956,15 @@ var Fr = At(function(e) {
|
|
|
960
956
|
u && o.splice(0, u + 1);
|
|
961
957
|
}
|
|
962
958
|
}, t;
|
|
963
|
-
}(
|
|
964
|
-
const
|
|
965
|
-
if (
|
|
966
|
-
const r = new
|
|
967
|
-
|
|
959
|
+
}(Ot);
|
|
960
|
+
const nt = [], it = {}, jr = (e, t = 0) => {
|
|
961
|
+
if (nt.indexOf(e) == -1) {
|
|
962
|
+
const r = new Fr(t);
|
|
963
|
+
it[e] = r, nt.push(e);
|
|
968
964
|
}
|
|
969
|
-
return
|
|
965
|
+
return it[e];
|
|
970
966
|
}, F = [];
|
|
971
|
-
function
|
|
967
|
+
function kr(e, t) {
|
|
972
968
|
return {
|
|
973
969
|
subscribe: _e(e, t).subscribe
|
|
974
970
|
};
|
|
@@ -977,7 +973,7 @@ function _e(e, t = A) {
|
|
|
977
973
|
let r;
|
|
978
974
|
const n = /* @__PURE__ */ new Set();
|
|
979
975
|
function i(a) {
|
|
980
|
-
if (
|
|
976
|
+
if (xt(e, a) && (e = a, r)) {
|
|
981
977
|
const h = !F.length;
|
|
982
978
|
for (const u of n)
|
|
983
979
|
u[1](), F.push(u, e);
|
|
@@ -1004,7 +1000,7 @@ function q(e, t, r) {
|
|
|
1004
1000
|
if (!i.every(Boolean))
|
|
1005
1001
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1006
1002
|
const o = t.length < 2;
|
|
1007
|
-
return
|
|
1003
|
+
return kr(r, (s, a) => {
|
|
1008
1004
|
let h = !1;
|
|
1009
1005
|
const u = [];
|
|
1010
1006
|
let l = 0, c = A;
|
|
@@ -1015,7 +1011,7 @@ function q(e, t, r) {
|
|
|
1015
1011
|
const y = t(n ? u[0] : u, s, a);
|
|
1016
1012
|
o ? s(y) : c = ze(y) ? y : A;
|
|
1017
1013
|
}, d = i.map(
|
|
1018
|
-
(y, v) =>
|
|
1014
|
+
(y, v) => Et(
|
|
1019
1015
|
y,
|
|
1020
1016
|
(H) => {
|
|
1021
1017
|
u[v] = H, l &= ~(1 << v), h && f();
|
|
@@ -1030,70 +1026,70 @@ function q(e, t, r) {
|
|
|
1030
1026
|
};
|
|
1031
1027
|
});
|
|
1032
1028
|
}
|
|
1033
|
-
function
|
|
1034
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1029
|
+
function Vr(e) {
|
|
1030
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1035
1031
|
}
|
|
1036
|
-
var
|
|
1037
|
-
return
|
|
1032
|
+
var Xr = function(t) {
|
|
1033
|
+
return Wr(t) && !zr(t);
|
|
1038
1034
|
};
|
|
1039
|
-
function
|
|
1035
|
+
function Wr(e) {
|
|
1040
1036
|
return !!e && typeof e == "object";
|
|
1041
1037
|
}
|
|
1042
|
-
function
|
|
1038
|
+
function zr(e) {
|
|
1043
1039
|
var t = Object.prototype.toString.call(e);
|
|
1044
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1040
|
+
return t === "[object RegExp]" || t === "[object Date]" || qr(e);
|
|
1045
1041
|
}
|
|
1046
|
-
var
|
|
1047
|
-
function
|
|
1048
|
-
return e.$$typeof ===
|
|
1042
|
+
var Zr = typeof Symbol == "function" && Symbol.for, Qr = Zr ? Symbol.for("react.element") : 60103;
|
|
1043
|
+
function qr(e) {
|
|
1044
|
+
return e.$$typeof === Qr;
|
|
1049
1045
|
}
|
|
1050
|
-
function
|
|
1046
|
+
function Jr(e) {
|
|
1051
1047
|
return Array.isArray(e) ? [] : {};
|
|
1052
1048
|
}
|
|
1053
1049
|
function ne(e, t) {
|
|
1054
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? X(
|
|
1050
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? X(Jr(e), e, t) : e;
|
|
1055
1051
|
}
|
|
1056
|
-
function
|
|
1052
|
+
function Yr(e, t, r) {
|
|
1057
1053
|
return e.concat(t).map(function(n) {
|
|
1058
1054
|
return ne(n, r);
|
|
1059
1055
|
});
|
|
1060
1056
|
}
|
|
1061
|
-
function
|
|
1057
|
+
function Kr(e, t) {
|
|
1062
1058
|
if (!t.customMerge)
|
|
1063
1059
|
return X;
|
|
1064
1060
|
var r = t.customMerge(e);
|
|
1065
1061
|
return typeof r == "function" ? r : X;
|
|
1066
1062
|
}
|
|
1067
|
-
function
|
|
1063
|
+
function en(e) {
|
|
1068
1064
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1069
1065
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1070
1066
|
}) : [];
|
|
1071
1067
|
}
|
|
1072
|
-
function
|
|
1073
|
-
return Object.keys(e).concat(
|
|
1068
|
+
function ot(e) {
|
|
1069
|
+
return Object.keys(e).concat(en(e));
|
|
1074
1070
|
}
|
|
1075
|
-
function
|
|
1071
|
+
function Lt(e, t) {
|
|
1076
1072
|
try {
|
|
1077
1073
|
return t in e;
|
|
1078
1074
|
} catch {
|
|
1079
1075
|
return !1;
|
|
1080
1076
|
}
|
|
1081
1077
|
}
|
|
1082
|
-
function
|
|
1083
|
-
return
|
|
1078
|
+
function tn(e, t) {
|
|
1079
|
+
return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1084
1080
|
}
|
|
1085
|
-
function
|
|
1081
|
+
function rn(e, t, r) {
|
|
1086
1082
|
var n = {};
|
|
1087
|
-
return r.isMergeableObject(e) &&
|
|
1083
|
+
return r.isMergeableObject(e) && ot(e).forEach(function(i) {
|
|
1088
1084
|
n[i] = ne(e[i], r);
|
|
1089
|
-
}),
|
|
1090
|
-
|
|
1085
|
+
}), ot(t).forEach(function(i) {
|
|
1086
|
+
tn(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Kr(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
|
|
1091
1087
|
}), n;
|
|
1092
1088
|
}
|
|
1093
1089
|
function X(e, t, r) {
|
|
1094
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1090
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Yr, r.isMergeableObject = r.isMergeableObject || Xr, r.cloneUnlessOtherwiseSpecified = ne;
|
|
1095
1091
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1096
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1092
|
+
return o ? n ? r.arrayMerge(e, t, r) : rn(e, t, r) : ne(t, r);
|
|
1097
1093
|
}
|
|
1098
1094
|
X.all = function(t, r) {
|
|
1099
1095
|
if (!Array.isArray(t))
|
|
@@ -1102,42 +1098,39 @@ X.all = function(t, r) {
|
|
|
1102
1098
|
return X(n, i, r);
|
|
1103
1099
|
}, {});
|
|
1104
1100
|
};
|
|
1105
|
-
var
|
|
1106
|
-
const
|
|
1101
|
+
var nn = X, on = nn;
|
|
1102
|
+
const sn = /* @__PURE__ */ Vr(on);
|
|
1107
1103
|
function Be(e, t) {
|
|
1108
|
-
var r = t && t.cache ? t.cache :
|
|
1104
|
+
var r = t && t.cache ? t.cache : dn, n = t && t.serializer ? t.serializer : fn, i = t && t.strategy ? t.strategy : hn;
|
|
1109
1105
|
return i(e, {
|
|
1110
1106
|
cache: r,
|
|
1111
1107
|
serializer: n
|
|
1112
1108
|
});
|
|
1113
1109
|
}
|
|
1114
|
-
function
|
|
1110
|
+
function an(e) {
|
|
1115
1111
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1116
1112
|
}
|
|
1117
|
-
function
|
|
1118
|
-
var i =
|
|
1113
|
+
function un(e, t, r, n) {
|
|
1114
|
+
var i = an(n) ? n : r(n), o = t.get(i);
|
|
1119
1115
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1120
1116
|
}
|
|
1121
|
-
function
|
|
1117
|
+
function Nt(e, t, r) {
|
|
1122
1118
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1123
1119
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1124
1120
|
}
|
|
1125
|
-
function
|
|
1121
|
+
function Mt(e, t, r, n, i) {
|
|
1126
1122
|
return r.bind(t, e, n, i);
|
|
1127
1123
|
}
|
|
1128
1124
|
function hn(e, t) {
|
|
1129
|
-
var r = e.length === 1 ?
|
|
1130
|
-
return
|
|
1125
|
+
var r = e.length === 1 ? un : Nt;
|
|
1126
|
+
return Mt(e, this, r, t.cache.create(), t.serializer);
|
|
1131
1127
|
}
|
|
1132
1128
|
function ln(e, t) {
|
|
1133
|
-
return
|
|
1129
|
+
return Mt(e, this, Nt, t.cache.create(), t.serializer);
|
|
1134
1130
|
}
|
|
1135
|
-
|
|
1136
|
-
return Ze(e, this, Mt, t.cache.create(), t.serializer);
|
|
1137
|
-
}
|
|
1138
|
-
var cn = function() {
|
|
1131
|
+
var fn = function() {
|
|
1139
1132
|
return JSON.stringify(arguments);
|
|
1140
|
-
},
|
|
1133
|
+
}, cn = (
|
|
1141
1134
|
/** @class */
|
|
1142
1135
|
function() {
|
|
1143
1136
|
function e() {
|
|
@@ -1149,13 +1142,12 @@ var cn = function() {
|
|
|
1149
1142
|
this.cache[t] = r;
|
|
1150
1143
|
}, e;
|
|
1151
1144
|
}()
|
|
1152
|
-
),
|
|
1145
|
+
), dn = {
|
|
1153
1146
|
create: function() {
|
|
1154
|
-
return new
|
|
1147
|
+
return new cn();
|
|
1155
1148
|
}
|
|
1156
1149
|
}, Ae = {
|
|
1157
|
-
variadic: ln
|
|
1158
|
-
monadic: fn
|
|
1150
|
+
variadic: ln
|
|
1159
1151
|
}, p;
|
|
1160
1152
|
(function(e) {
|
|
1161
1153
|
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";
|
|
@@ -1168,43 +1160,43 @@ var W;
|
|
|
1168
1160
|
(function(e) {
|
|
1169
1161
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1170
1162
|
})(W || (W = {}));
|
|
1171
|
-
function
|
|
1163
|
+
function st(e) {
|
|
1172
1164
|
return e.type === _.literal;
|
|
1173
1165
|
}
|
|
1174
|
-
function
|
|
1166
|
+
function pn(e) {
|
|
1175
1167
|
return e.type === _.argument;
|
|
1176
1168
|
}
|
|
1177
|
-
function
|
|
1169
|
+
function Ct(e) {
|
|
1178
1170
|
return e.type === _.number;
|
|
1179
1171
|
}
|
|
1180
|
-
function
|
|
1172
|
+
function $t(e) {
|
|
1181
1173
|
return e.type === _.date;
|
|
1182
1174
|
}
|
|
1183
|
-
function
|
|
1175
|
+
function Rt(e) {
|
|
1184
1176
|
return e.type === _.time;
|
|
1185
1177
|
}
|
|
1186
|
-
function
|
|
1178
|
+
function Ut(e) {
|
|
1187
1179
|
return e.type === _.select;
|
|
1188
1180
|
}
|
|
1189
|
-
function
|
|
1181
|
+
function Gt(e) {
|
|
1190
1182
|
return e.type === _.plural;
|
|
1191
1183
|
}
|
|
1192
|
-
function
|
|
1184
|
+
function mn(e) {
|
|
1193
1185
|
return e.type === _.pound;
|
|
1194
1186
|
}
|
|
1195
|
-
function
|
|
1187
|
+
function Dt(e) {
|
|
1196
1188
|
return e.type === _.tag;
|
|
1197
1189
|
}
|
|
1198
|
-
function
|
|
1190
|
+
function Ft(e) {
|
|
1199
1191
|
return !!(e && typeof e == "object" && e.type === W.number);
|
|
1200
1192
|
}
|
|
1201
1193
|
function Ge(e) {
|
|
1202
1194
|
return !!(e && typeof e == "object" && e.type === W.dateTime);
|
|
1203
1195
|
}
|
|
1204
|
-
var
|
|
1205
|
-
function
|
|
1196
|
+
var jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bn = /(?:[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;
|
|
1197
|
+
function gn(e) {
|
|
1206
1198
|
var t = {};
|
|
1207
|
-
return e.replace(
|
|
1199
|
+
return e.replace(bn, function(r) {
|
|
1208
1200
|
var n = r.length;
|
|
1209
1201
|
switch (r[0]) {
|
|
1210
1202
|
case "G":
|
|
@@ -1293,11 +1285,11 @@ function yn(e) {
|
|
|
1293
1285
|
return "";
|
|
1294
1286
|
}), t;
|
|
1295
1287
|
}
|
|
1296
|
-
var
|
|
1297
|
-
function
|
|
1288
|
+
var yn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1289
|
+
function vn(e) {
|
|
1298
1290
|
if (e.length === 0)
|
|
1299
1291
|
throw new Error("Number skeleton cannot be empty");
|
|
1300
|
-
for (var t = e.split(
|
|
1292
|
+
for (var t = e.split(yn).filter(function(f) {
|
|
1301
1293
|
return f.length > 0;
|
|
1302
1294
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1303
1295
|
var o = i[n], s = o.split("/");
|
|
@@ -1312,17 +1304,17 @@ function _n(e) {
|
|
|
1312
1304
|
}
|
|
1313
1305
|
return r;
|
|
1314
1306
|
}
|
|
1315
|
-
function
|
|
1307
|
+
function _n(e) {
|
|
1316
1308
|
return e.replace(/^(.*?)-/, "");
|
|
1317
1309
|
}
|
|
1318
|
-
var
|
|
1319
|
-
function
|
|
1310
|
+
var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kt = /^(@+)?(\+|#+)?[rs]?$/g, xn = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
|
|
1311
|
+
function ut(e) {
|
|
1320
1312
|
var t = {};
|
|
1321
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1313
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kt, function(r, n, i) {
|
|
1322
1314
|
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)), "";
|
|
1323
1315
|
}), t;
|
|
1324
1316
|
}
|
|
1325
|
-
function
|
|
1317
|
+
function Xt(e) {
|
|
1326
1318
|
switch (e) {
|
|
1327
1319
|
case "sign-auto":
|
|
1328
1320
|
return {
|
|
@@ -1362,7 +1354,7 @@ function Wt(e) {
|
|
|
1362
1354
|
};
|
|
1363
1355
|
}
|
|
1364
1356
|
}
|
|
1365
|
-
function
|
|
1357
|
+
function En(e) {
|
|
1366
1358
|
var t;
|
|
1367
1359
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1368
1360
|
notation: "engineering"
|
|
@@ -1370,17 +1362,17 @@ function Sn(e) {
|
|
|
1370
1362
|
notation: "scientific"
|
|
1371
1363
|
}, e = e.slice(1)), t) {
|
|
1372
1364
|
var r = e.slice(0, 2);
|
|
1373
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1365
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vt.test(e))
|
|
1374
1366
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1375
1367
|
t.minimumIntegerDigits = e.length;
|
|
1376
1368
|
}
|
|
1377
1369
|
return t;
|
|
1378
1370
|
}
|
|
1379
|
-
function
|
|
1380
|
-
var t = {}, r =
|
|
1371
|
+
function ht(e) {
|
|
1372
|
+
var t = {}, r = Xt(e);
|
|
1381
1373
|
return r || t;
|
|
1382
1374
|
}
|
|
1383
|
-
function
|
|
1375
|
+
function Sn(e) {
|
|
1384
1376
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1385
1377
|
var i = n[r];
|
|
1386
1378
|
switch (i.stem) {
|
|
@@ -1404,7 +1396,7 @@ function Tn(e) {
|
|
|
1404
1396
|
continue;
|
|
1405
1397
|
case "measure-unit":
|
|
1406
1398
|
case "unit":
|
|
1407
|
-
t.style = "unit", t.unit =
|
|
1399
|
+
t.style = "unit", t.unit = _n(i.options[0]);
|
|
1408
1400
|
continue;
|
|
1409
1401
|
case "compact-short":
|
|
1410
1402
|
case "K":
|
|
@@ -1416,12 +1408,12 @@ function Tn(e) {
|
|
|
1416
1408
|
continue;
|
|
1417
1409
|
case "scientific":
|
|
1418
1410
|
t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1419
|
-
return g(g({}, h),
|
|
1411
|
+
return g(g({}, h), ht(u));
|
|
1420
1412
|
}, {}));
|
|
1421
1413
|
continue;
|
|
1422
1414
|
case "engineering":
|
|
1423
1415
|
t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1424
|
-
return g(g({}, h),
|
|
1416
|
+
return g(g({}, h), ht(u));
|
|
1425
1417
|
}, {}));
|
|
1426
1418
|
continue;
|
|
1427
1419
|
case "notation-simple":
|
|
@@ -1466,7 +1458,7 @@ function Tn(e) {
|
|
|
1466
1458
|
case "integer-width":
|
|
1467
1459
|
if (i.options.length > 1)
|
|
1468
1460
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1469
|
-
i.options[0].replace(
|
|
1461
|
+
i.options[0].replace(xn, function(h, u, l, c, f, d) {
|
|
1470
1462
|
if (u)
|
|
1471
1463
|
t.minimumIntegerDigits = l.length;
|
|
1472
1464
|
else {
|
|
@@ -1479,27 +1471,27 @@ function Tn(e) {
|
|
|
1479
1471
|
});
|
|
1480
1472
|
continue;
|
|
1481
1473
|
}
|
|
1482
|
-
if (
|
|
1474
|
+
if (Vt.test(i.stem)) {
|
|
1483
1475
|
t.minimumIntegerDigits = i.stem.length;
|
|
1484
1476
|
continue;
|
|
1485
1477
|
}
|
|
1486
|
-
if (
|
|
1478
|
+
if (at.test(i.stem)) {
|
|
1487
1479
|
if (i.options.length > 1)
|
|
1488
1480
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1489
|
-
i.stem.replace(
|
|
1481
|
+
i.stem.replace(at, function(h, u, l, c, f, d) {
|
|
1490
1482
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1491
1483
|
});
|
|
1492
1484
|
var o = i.options[0];
|
|
1493
|
-
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t),
|
|
1485
|
+
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), ut(o)));
|
|
1494
1486
|
continue;
|
|
1495
1487
|
}
|
|
1496
|
-
if (
|
|
1497
|
-
t = g(g({}, t),
|
|
1488
|
+
if (kt.test(i.stem)) {
|
|
1489
|
+
t = g(g({}, t), ut(i.stem));
|
|
1498
1490
|
continue;
|
|
1499
1491
|
}
|
|
1500
|
-
var s =
|
|
1492
|
+
var s = Xt(i.stem);
|
|
1501
1493
|
s && (t = g(g({}, t), s));
|
|
1502
|
-
var a =
|
|
1494
|
+
var a = En(i.stem);
|
|
1503
1495
|
a && (t = g(g({}, t), a));
|
|
1504
1496
|
}
|
|
1505
1497
|
return t;
|
|
@@ -2919,13 +2911,13 @@ var fe = {
|
|
|
2919
2911
|
"h"
|
|
2920
2912
|
]
|
|
2921
2913
|
};
|
|
2922
|
-
function
|
|
2914
|
+
function Tn(e, t) {
|
|
2923
2915
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2924
2916
|
var i = e.charAt(n);
|
|
2925
2917
|
if (i === "j") {
|
|
2926
2918
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2927
2919
|
o++, n++;
|
|
2928
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2920
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Hn(t);
|
|
2929
2921
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2930
2922
|
r += h;
|
|
2931
2923
|
for (; s-- > 0; )
|
|
@@ -2934,7 +2926,7 @@ function Hn(e, t) {
|
|
|
2934
2926
|
}
|
|
2935
2927
|
return r;
|
|
2936
2928
|
}
|
|
2937
|
-
function
|
|
2929
|
+
function Hn(e) {
|
|
2938
2930
|
var t = e.hourCycle;
|
|
2939
2931
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2940
2932
|
e.hourCycles && // @ts-ignore
|
|
@@ -2956,20 +2948,20 @@ function Bn(e) {
|
|
|
2956
2948
|
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
|
2957
2949
|
return i[0];
|
|
2958
2950
|
}
|
|
2959
|
-
var we,
|
|
2951
|
+
var we, Bn = new RegExp("^".concat(jt.source, "*")), An = new RegExp("".concat(jt.source, "*$"));
|
|
2960
2952
|
function m(e, t) {
|
|
2961
2953
|
return { start: e, end: t };
|
|
2962
2954
|
}
|
|
2963
|
-
var
|
|
2955
|
+
var wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pn = !!String.fromCodePoint, On = !!Object.fromEntries, In = !!String.prototype.codePointAt, Ln = !!String.prototype.trimStart, Nn = !!String.prototype.trimEnd, Mn = !!Number.isSafeInteger, Cn = Mn ? Number.isSafeInteger : function(e) {
|
|
2964
2956
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2965
2957
|
}, De = !0;
|
|
2966
2958
|
try {
|
|
2967
|
-
var
|
|
2968
|
-
De = ((we =
|
|
2959
|
+
var $n = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2960
|
+
De = ((we = $n.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
|
|
2969
2961
|
} catch {
|
|
2970
2962
|
De = !1;
|
|
2971
2963
|
}
|
|
2972
|
-
var
|
|
2964
|
+
var lt = wn ? (
|
|
2973
2965
|
// Native
|
|
2974
2966
|
function(t, r, n) {
|
|
2975
2967
|
return t.startsWith(r, n);
|
|
@@ -2979,7 +2971,7 @@ var ft = Pn ? (
|
|
|
2979
2971
|
function(t, r, n) {
|
|
2980
2972
|
return t.slice(n, n + r.length) === r;
|
|
2981
2973
|
}
|
|
2982
|
-
), Fe =
|
|
2974
|
+
), Fe = Pn ? String.fromCodePoint : (
|
|
2983
2975
|
// IE11
|
|
2984
2976
|
function() {
|
|
2985
2977
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2991,9 +2983,9 @@ var ft = Pn ? (
|
|
|
2991
2983
|
}
|
|
2992
2984
|
return n;
|
|
2993
2985
|
}
|
|
2994
|
-
),
|
|
2986
|
+
), ft = (
|
|
2995
2987
|
// native
|
|
2996
|
-
|
|
2988
|
+
On ? Object.fromEntries : (
|
|
2997
2989
|
// Ponyfill
|
|
2998
2990
|
function(t) {
|
|
2999
2991
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3003,7 +2995,7 @@ var ft = Pn ? (
|
|
|
3003
2995
|
return r;
|
|
3004
2996
|
}
|
|
3005
2997
|
)
|
|
3006
|
-
),
|
|
2998
|
+
), Wt = In ? (
|
|
3007
2999
|
// Native
|
|
3008
3000
|
function(t, r) {
|
|
3009
3001
|
return t.codePointAt(r);
|
|
@@ -3017,7 +3009,7 @@ var ft = Pn ? (
|
|
|
3017
3009
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3018
3010
|
}
|
|
3019
3011
|
}
|
|
3020
|
-
),
|
|
3012
|
+
), Rn = Ln ? (
|
|
3021
3013
|
// Native
|
|
3022
3014
|
function(t) {
|
|
3023
3015
|
return t.trimStart();
|
|
@@ -3025,9 +3017,9 @@ var ft = Pn ? (
|
|
|
3025
3017
|
) : (
|
|
3026
3018
|
// Ponyfill
|
|
3027
3019
|
function(t) {
|
|
3028
|
-
return t.replace(
|
|
3020
|
+
return t.replace(Bn, "");
|
|
3029
3021
|
}
|
|
3030
|
-
),
|
|
3022
|
+
), Un = Nn ? (
|
|
3031
3023
|
// Native
|
|
3032
3024
|
function(t) {
|
|
3033
3025
|
return t.trimEnd();
|
|
@@ -3035,32 +3027,32 @@ var ft = Pn ? (
|
|
|
3035
3027
|
) : (
|
|
3036
3028
|
// Ponyfill
|
|
3037
3029
|
function(t) {
|
|
3038
|
-
return t.replace(
|
|
3030
|
+
return t.replace(An, "");
|
|
3039
3031
|
}
|
|
3040
3032
|
);
|
|
3041
|
-
function
|
|
3033
|
+
function zt(e, t) {
|
|
3042
3034
|
return new RegExp(e, t);
|
|
3043
3035
|
}
|
|
3044
3036
|
var je;
|
|
3045
3037
|
if (De) {
|
|
3046
|
-
var
|
|
3038
|
+
var ct = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3047
3039
|
je = function(t, r) {
|
|
3048
3040
|
var n;
|
|
3049
|
-
|
|
3050
|
-
var i =
|
|
3041
|
+
ct.lastIndex = r;
|
|
3042
|
+
var i = ct.exec(t);
|
|
3051
3043
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3052
3044
|
};
|
|
3053
3045
|
} else
|
|
3054
3046
|
je = function(t, r) {
|
|
3055
3047
|
for (var n = []; ; ) {
|
|
3056
|
-
var i =
|
|
3057
|
-
if (i === void 0 ||
|
|
3048
|
+
var i = Wt(t, r);
|
|
3049
|
+
if (i === void 0 || Zt(i) || jn(i))
|
|
3058
3050
|
break;
|
|
3059
3051
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3060
3052
|
}
|
|
3061
3053
|
return Fe.apply(void 0, n);
|
|
3062
3054
|
};
|
|
3063
|
-
var
|
|
3055
|
+
var Gn = (
|
|
3064
3056
|
/** @class */
|
|
3065
3057
|
function() {
|
|
3066
3058
|
function e(t, r) {
|
|
@@ -3142,7 +3134,7 @@ var Dn = (
|
|
|
3142
3134
|
return this.error(p.INVALID_TAG, m(n, this.clonePosition()));
|
|
3143
3135
|
}, e.prototype.parseTagName = function() {
|
|
3144
3136
|
var t = this.offset();
|
|
3145
|
-
for (this.bump(); !this.isEOF() &&
|
|
3137
|
+
for (this.bump(); !this.isEOF() && Fn(this.char()); )
|
|
3146
3138
|
this.bump();
|
|
3147
3139
|
return this.message.slice(t, this.offset());
|
|
3148
3140
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3171,7 +3163,7 @@ var Dn = (
|
|
|
3171
3163
|
};
|
|
3172
3164
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3173
3165
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3174
|
-
!
|
|
3166
|
+
!Dn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3175
3167
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3176
3168
|
if (this.isEOF() || this.char() !== 39)
|
|
3177
3169
|
return null;
|
|
@@ -3258,7 +3250,7 @@ var Dn = (
|
|
|
3258
3250
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3259
3251
|
if (c.err)
|
|
3260
3252
|
return c;
|
|
3261
|
-
var f =
|
|
3253
|
+
var f = Un(c.val);
|
|
3262
3254
|
if (f.length === 0)
|
|
3263
3255
|
return this.error(p.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
|
|
3264
3256
|
var d = m(l, this.clonePosition());
|
|
@@ -3268,8 +3260,8 @@ var Dn = (
|
|
|
3268
3260
|
if (y.err)
|
|
3269
3261
|
return y;
|
|
3270
3262
|
var v = m(i, this.clonePosition());
|
|
3271
|
-
if (u &&
|
|
3272
|
-
var H =
|
|
3263
|
+
if (u && lt(u?.style, "::", 0)) {
|
|
3264
|
+
var H = Rn(u.style.slice(2));
|
|
3273
3265
|
if (a === "number") {
|
|
3274
3266
|
var c = this.parseNumberSkeletonFromString(H, u.styleLocation);
|
|
3275
3267
|
return c.err ? c : {
|
|
@@ -3280,12 +3272,12 @@ var Dn = (
|
|
|
3280
3272
|
if (H.length === 0)
|
|
3281
3273
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, v);
|
|
3282
3274
|
var C = H;
|
|
3283
|
-
this.locale && (C =
|
|
3275
|
+
this.locale && (C = Tn(H, this.locale));
|
|
3284
3276
|
var f = {
|
|
3285
3277
|
type: W.dateTime,
|
|
3286
3278
|
pattern: C,
|
|
3287
3279
|
location: u.styleLocation,
|
|
3288
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3280
|
+
parsedOptions: this.shouldParseSkeletons ? gn(C) : {}
|
|
3289
3281
|
}, w = a === "date" ? _.date : _.time;
|
|
3290
3282
|
return {
|
|
3291
3283
|
val: { type: w, value: n, location: v, style: f },
|
|
@@ -3331,7 +3323,7 @@ var Dn = (
|
|
|
3331
3323
|
val: {
|
|
3332
3324
|
type: _.select,
|
|
3333
3325
|
value: n,
|
|
3334
|
-
options:
|
|
3326
|
+
options: ft(G.val),
|
|
3335
3327
|
location: ue
|
|
3336
3328
|
},
|
|
3337
3329
|
err: null
|
|
@@ -3339,7 +3331,7 @@ var Dn = (
|
|
|
3339
3331
|
val: {
|
|
3340
3332
|
type: _.plural,
|
|
3341
3333
|
value: n,
|
|
3342
|
-
options:
|
|
3334
|
+
options: ft(G.val),
|
|
3343
3335
|
offset: P,
|
|
3344
3336
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3345
3337
|
location: ue
|
|
@@ -3390,7 +3382,7 @@ var Dn = (
|
|
|
3390
3382
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3391
3383
|
var n = [];
|
|
3392
3384
|
try {
|
|
3393
|
-
n =
|
|
3385
|
+
n = vn(t);
|
|
3394
3386
|
} catch {
|
|
3395
3387
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
|
3396
3388
|
}
|
|
@@ -3399,7 +3391,7 @@ var Dn = (
|
|
|
3399
3391
|
type: W.number,
|
|
3400
3392
|
tokens: n,
|
|
3401
3393
|
location: r,
|
|
3402
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3394
|
+
parsedOptions: this.shouldParseSkeletons ? Sn(n) : {}
|
|
3403
3395
|
},
|
|
3404
3396
|
err: null
|
|
3405
3397
|
};
|
|
@@ -3447,7 +3439,7 @@ var Dn = (
|
|
|
3447
3439
|
break;
|
|
3448
3440
|
}
|
|
3449
3441
|
var h = m(i, this.clonePosition());
|
|
3450
|
-
return o ? (s *= n,
|
|
3442
|
+
return o ? (s *= n, Cn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3451
3443
|
}, e.prototype.offset = function() {
|
|
3452
3444
|
return this.position.offset;
|
|
3453
3445
|
}, e.prototype.isEOF = function() {
|
|
@@ -3462,7 +3454,7 @@ var Dn = (
|
|
|
3462
3454
|
var t = this.position.offset;
|
|
3463
3455
|
if (t >= this.message.length)
|
|
3464
3456
|
throw Error("out of bound");
|
|
3465
|
-
var r =
|
|
3457
|
+
var r = Wt(this.message, t);
|
|
3466
3458
|
if (r === void 0)
|
|
3467
3459
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3468
3460
|
return r;
|
|
@@ -3481,7 +3473,7 @@ var Dn = (
|
|
|
3481
3473
|
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);
|
|
3482
3474
|
}
|
|
3483
3475
|
}, e.prototype.bumpIf = function(t) {
|
|
3484
|
-
if (
|
|
3476
|
+
if (lt(this.message, t, this.offset())) {
|
|
3485
3477
|
for (var r = 0; r < t.length; r++)
|
|
3486
3478
|
this.bump();
|
|
3487
3479
|
return !0;
|
|
@@ -3503,7 +3495,7 @@ var Dn = (
|
|
|
3503
3495
|
break;
|
|
3504
3496
|
}
|
|
3505
3497
|
}, e.prototype.bumpSpace = function() {
|
|
3506
|
-
for (; !this.isEOF() &&
|
|
3498
|
+
for (; !this.isEOF() && Zt(this.char()); )
|
|
3507
3499
|
this.bump();
|
|
3508
3500
|
}, e.prototype.peek = function() {
|
|
3509
3501
|
if (this.isEOF())
|
|
@@ -3516,29 +3508,29 @@ var Dn = (
|
|
|
3516
3508
|
function ke(e) {
|
|
3517
3509
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3518
3510
|
}
|
|
3519
|
-
function
|
|
3511
|
+
function Dn(e) {
|
|
3520
3512
|
return ke(e) || e === 47;
|
|
3521
3513
|
}
|
|
3522
|
-
function
|
|
3514
|
+
function Fn(e) {
|
|
3523
3515
|
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;
|
|
3524
3516
|
}
|
|
3525
|
-
function
|
|
3517
|
+
function Zt(e) {
|
|
3526
3518
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3527
3519
|
}
|
|
3528
|
-
function
|
|
3520
|
+
function jn(e) {
|
|
3529
3521
|
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;
|
|
3530
3522
|
}
|
|
3531
3523
|
function Ve(e) {
|
|
3532
3524
|
e.forEach(function(t) {
|
|
3533
|
-
if (delete t.location,
|
|
3525
|
+
if (delete t.location, Ut(t) || Gt(t))
|
|
3534
3526
|
for (var r in t.options)
|
|
3535
3527
|
delete t.options[r].location, Ve(t.options[r].value);
|
|
3536
|
-
else
|
|
3528
|
+
else Ct(t) && Ft(t.style) || ($t(t) || Rt(t)) && Ge(t.style) ? delete t.style.location : Dt(t) && Ve(t.children);
|
|
3537
3529
|
});
|
|
3538
3530
|
}
|
|
3539
|
-
function
|
|
3531
|
+
function kn(e, t) {
|
|
3540
3532
|
t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3541
|
-
var r = new
|
|
3533
|
+
var r = new Gn(e, t).parse();
|
|
3542
3534
|
if (r.err) {
|
|
3543
3535
|
var n = SyntaxError(p[r.err.kind]);
|
|
3544
3536
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3561,7 +3553,7 @@ var xe = (
|
|
|
3561
3553
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3562
3554
|
}, t;
|
|
3563
3555
|
}(Error)
|
|
3564
|
-
),
|
|
3556
|
+
), dt = (
|
|
3565
3557
|
/** @class */
|
|
3566
3558
|
function(e) {
|
|
3567
3559
|
N(t, e);
|
|
@@ -3570,7 +3562,7 @@ var xe = (
|
|
|
3570
3562
|
}
|
|
3571
3563
|
return t;
|
|
3572
3564
|
}(xe)
|
|
3573
|
-
),
|
|
3565
|
+
), Vn = (
|
|
3574
3566
|
/** @class */
|
|
3575
3567
|
function(e) {
|
|
3576
3568
|
N(t, e);
|
|
@@ -3579,7 +3571,7 @@ var xe = (
|
|
|
3579
3571
|
}
|
|
3580
3572
|
return t;
|
|
3581
3573
|
}(xe)
|
|
3582
|
-
),
|
|
3574
|
+
), Xn = (
|
|
3583
3575
|
/** @class */
|
|
3584
3576
|
function(e) {
|
|
3585
3577
|
N(t, e);
|
|
@@ -3592,17 +3584,17 @@ var xe = (
|
|
|
3592
3584
|
(function(e) {
|
|
3593
3585
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3594
3586
|
})(x || (x = {}));
|
|
3595
|
-
function
|
|
3587
|
+
function Wn(e) {
|
|
3596
3588
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3597
3589
|
var n = t[t.length - 1];
|
|
3598
3590
|
return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
|
|
3599
3591
|
}, []);
|
|
3600
3592
|
}
|
|
3601
|
-
function
|
|
3593
|
+
function zn(e) {
|
|
3602
3594
|
return typeof e == "function";
|
|
3603
3595
|
}
|
|
3604
3596
|
function pe(e, t, r, n, i, o, s) {
|
|
3605
|
-
if (e.length === 1 &&
|
|
3597
|
+
if (e.length === 1 && st(e[0]))
|
|
3606
3598
|
return [
|
|
3607
3599
|
{
|
|
3608
3600
|
type: x.literal,
|
|
@@ -3611,14 +3603,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3611
3603
|
];
|
|
3612
3604
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3613
3605
|
var l = u[h];
|
|
3614
|
-
if (
|
|
3606
|
+
if (st(l)) {
|
|
3615
3607
|
a.push({
|
|
3616
3608
|
type: x.literal,
|
|
3617
3609
|
value: l.value
|
|
3618
3610
|
});
|
|
3619
3611
|
continue;
|
|
3620
3612
|
}
|
|
3621
|
-
if (
|
|
3613
|
+
if (mn(l)) {
|
|
3622
3614
|
typeof o == "number" && a.push({
|
|
3623
3615
|
type: x.literal,
|
|
3624
3616
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3627,16 +3619,16 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3627
3619
|
}
|
|
3628
3620
|
var c = l.value;
|
|
3629
3621
|
if (!(i && c in i))
|
|
3630
|
-
throw new
|
|
3622
|
+
throw new Xn(c, s);
|
|
3631
3623
|
var f = i[c];
|
|
3632
|
-
if (
|
|
3624
|
+
if (pn(l)) {
|
|
3633
3625
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3634
3626
|
type: typeof f == "string" ? x.literal : x.object,
|
|
3635
3627
|
value: f
|
|
3636
3628
|
});
|
|
3637
3629
|
continue;
|
|
3638
3630
|
}
|
|
3639
|
-
if (
|
|
3631
|
+
if ($t(l)) {
|
|
3640
3632
|
var d = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
|
|
3641
3633
|
a.push({
|
|
3642
3634
|
type: x.literal,
|
|
@@ -3644,7 +3636,7 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3644
3636
|
});
|
|
3645
3637
|
continue;
|
|
3646
3638
|
}
|
|
3647
|
-
if (
|
|
3639
|
+
if (Rt(l)) {
|
|
3648
3640
|
var d = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3649
3641
|
a.push({
|
|
3650
3642
|
type: x.literal,
|
|
@@ -3652,18 +3644,18 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3652
3644
|
});
|
|
3653
3645
|
continue;
|
|
3654
3646
|
}
|
|
3655
|
-
if (
|
|
3656
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
|
3647
|
+
if (Ct(l)) {
|
|
3648
|
+
var d = typeof l.style == "string" ? n.number[l.style] : Ft(l.style) ? l.style.parsedOptions : void 0;
|
|
3657
3649
|
d && d.scale && (f = f * (d.scale || 1)), a.push({
|
|
3658
3650
|
type: x.literal,
|
|
3659
3651
|
value: r.getNumberFormat(t, d).format(f)
|
|
3660
3652
|
});
|
|
3661
3653
|
continue;
|
|
3662
3654
|
}
|
|
3663
|
-
if (
|
|
3655
|
+
if (Dt(l)) {
|
|
3664
3656
|
var y = l.children, v = l.value, H = i[v];
|
|
3665
|
-
if (!
|
|
3666
|
-
throw new
|
|
3657
|
+
if (!zn(H))
|
|
3658
|
+
throw new Vn(v, "function", s);
|
|
3667
3659
|
var C = pe(y, t, r, n, i, o), w = H(C.map(function(P) {
|
|
3668
3660
|
return P.value;
|
|
3669
3661
|
}));
|
|
@@ -3674,14 +3666,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3674
3666
|
};
|
|
3675
3667
|
}));
|
|
3676
3668
|
}
|
|
3677
|
-
if (
|
|
3669
|
+
if (Ut(l)) {
|
|
3678
3670
|
var T = l.options[f] || l.options.other;
|
|
3679
3671
|
if (!T)
|
|
3680
|
-
throw new
|
|
3672
|
+
throw new dt(l.value, f, Object.keys(l.options), s);
|
|
3681
3673
|
a.push.apply(a, pe(T.value, t, r, n, i));
|
|
3682
3674
|
continue;
|
|
3683
3675
|
}
|
|
3684
|
-
if (
|
|
3676
|
+
if (Gt(l)) {
|
|
3685
3677
|
var T = l.options["=".concat(f)];
|
|
3686
3678
|
if (!T) {
|
|
3687
3679
|
if (!Intl.PluralRules)
|
|
@@ -3692,21 +3684,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3692
3684
|
T = l.options[$] || l.options.other;
|
|
3693
3685
|
}
|
|
3694
3686
|
if (!T)
|
|
3695
|
-
throw new
|
|
3687
|
+
throw new dt(l.value, f, Object.keys(l.options), s);
|
|
3696
3688
|
a.push.apply(a, pe(T.value, t, r, n, i, f - (l.offset || 0)));
|
|
3697
3689
|
continue;
|
|
3698
3690
|
}
|
|
3699
3691
|
}
|
|
3700
|
-
return
|
|
3692
|
+
return Wn(a);
|
|
3701
3693
|
}
|
|
3702
|
-
function
|
|
3694
|
+
function Zn(e, t) {
|
|
3703
3695
|
return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3704
3696
|
return r[n] = g(g({}, e[n]), t[n] || {}), r;
|
|
3705
3697
|
}, {})) : e;
|
|
3706
3698
|
}
|
|
3707
|
-
function
|
|
3699
|
+
function Qn(e, t) {
|
|
3708
3700
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3709
|
-
return r[n] =
|
|
3701
|
+
return r[n] = Zn(e[n], t[n]), r;
|
|
3710
3702
|
}, g({}, e)) : e;
|
|
3711
3703
|
}
|
|
3712
3704
|
function Pe(e) {
|
|
@@ -3723,7 +3715,7 @@ function Pe(e) {
|
|
|
3723
3715
|
}
|
|
3724
3716
|
};
|
|
3725
3717
|
}
|
|
3726
|
-
function
|
|
3718
|
+
function qn(e) {
|
|
3727
3719
|
return e === void 0 && (e = {
|
|
3728
3720
|
number: {},
|
|
3729
3721
|
dateTime: {},
|
|
@@ -3755,7 +3747,7 @@ function Jn(e) {
|
|
|
3755
3747
|
})
|
|
3756
3748
|
};
|
|
3757
3749
|
}
|
|
3758
|
-
var
|
|
3750
|
+
var Jn = (
|
|
3759
3751
|
/** @class */
|
|
3760
3752
|
function() {
|
|
3761
3753
|
function e(t, r, n, i) {
|
|
@@ -3787,13 +3779,13 @@ var Yn = (
|
|
|
3787
3779
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3788
3780
|
var s = i || {};
|
|
3789
3781
|
s.formatters;
|
|
3790
|
-
var a =
|
|
3782
|
+
var a = wr(s, ["formatters"]);
|
|
3791
3783
|
this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
|
|
3792
3784
|
} else
|
|
3793
3785
|
this.ast = t;
|
|
3794
3786
|
if (!Array.isArray(this.ast))
|
|
3795
3787
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3796
|
-
this.formats =
|
|
3788
|
+
this.formats = Qn(e.formats, n), this.formatters = i && i.formatters || qn(this.formatterCache);
|
|
3797
3789
|
}
|
|
3798
3790
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3799
3791
|
get: function() {
|
|
@@ -3806,7 +3798,7 @@ var Yn = (
|
|
|
3806
3798
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3807
3799
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3808
3800
|
}
|
|
3809
|
-
}, e.__parse =
|
|
3801
|
+
}, e.__parse = kn, e.formats = {
|
|
3810
3802
|
number: {
|
|
3811
3803
|
integer: {
|
|
3812
3804
|
maximumFractionDigits: 0
|
|
@@ -3867,7 +3859,7 @@ var Yn = (
|
|
|
3867
3859
|
}, e;
|
|
3868
3860
|
}()
|
|
3869
3861
|
);
|
|
3870
|
-
function
|
|
3862
|
+
function Yn(e, t) {
|
|
3871
3863
|
if (t == null)
|
|
3872
3864
|
return;
|
|
3873
3865
|
if (t in e)
|
|
@@ -3888,60 +3880,60 @@ function Kn(e, t) {
|
|
|
3888
3880
|
n = void 0;
|
|
3889
3881
|
return n;
|
|
3890
3882
|
}
|
|
3891
|
-
const M = {},
|
|
3883
|
+
const M = {}, Kn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Qt = (e, t) => {
|
|
3892
3884
|
if (t == null)
|
|
3893
3885
|
return;
|
|
3894
3886
|
if (t in M && e in M[t])
|
|
3895
3887
|
return M[t][e];
|
|
3896
3888
|
const r = Ee(t);
|
|
3897
3889
|
for (let n = 0; n < r.length; n++) {
|
|
3898
|
-
const i = r[n], o =
|
|
3890
|
+
const i = r[n], o = ti(i, e);
|
|
3899
3891
|
if (o)
|
|
3900
|
-
return
|
|
3892
|
+
return Kn(e, t, o);
|
|
3901
3893
|
}
|
|
3902
3894
|
};
|
|
3903
|
-
let
|
|
3895
|
+
let Ze;
|
|
3904
3896
|
const ae = _e({});
|
|
3905
|
-
function
|
|
3906
|
-
return
|
|
3897
|
+
function ei(e) {
|
|
3898
|
+
return Ze[e] || null;
|
|
3907
3899
|
}
|
|
3908
|
-
function
|
|
3909
|
-
return e in
|
|
3900
|
+
function qt(e) {
|
|
3901
|
+
return e in Ze;
|
|
3910
3902
|
}
|
|
3911
|
-
function
|
|
3912
|
-
if (!
|
|
3903
|
+
function ti(e, t) {
|
|
3904
|
+
if (!qt(e))
|
|
3913
3905
|
return null;
|
|
3914
|
-
const r =
|
|
3915
|
-
return
|
|
3906
|
+
const r = ei(e);
|
|
3907
|
+
return Yn(r, t);
|
|
3916
3908
|
}
|
|
3917
|
-
function
|
|
3909
|
+
function ri(e) {
|
|
3918
3910
|
if (e == null)
|
|
3919
3911
|
return;
|
|
3920
3912
|
const t = Ee(e);
|
|
3921
3913
|
for (let r = 0; r < t.length; r++) {
|
|
3922
3914
|
const n = t[r];
|
|
3923
|
-
if (
|
|
3915
|
+
if (qt(n))
|
|
3924
3916
|
return n;
|
|
3925
3917
|
}
|
|
3926
3918
|
}
|
|
3927
|
-
function
|
|
3928
|
-
delete M[e], ae.update((r) => (r[e] =
|
|
3919
|
+
function Jt(e, ...t) {
|
|
3920
|
+
delete M[e], ae.update((r) => (r[e] = sn.all([r[e] || {}, ...t]), r));
|
|
3929
3921
|
}
|
|
3930
3922
|
q(
|
|
3931
3923
|
[ae],
|
|
3932
3924
|
([e]) => Object.keys(e)
|
|
3933
3925
|
);
|
|
3934
|
-
ae.subscribe((e) =>
|
|
3926
|
+
ae.subscribe((e) => Ze = e);
|
|
3935
3927
|
const me = {};
|
|
3936
|
-
function
|
|
3928
|
+
function ni(e, t) {
|
|
3937
3929
|
me[e].delete(t), me[e].size === 0 && delete me[e];
|
|
3938
3930
|
}
|
|
3939
|
-
function
|
|
3931
|
+
function Yt(e) {
|
|
3940
3932
|
return me[e];
|
|
3941
3933
|
}
|
|
3942
|
-
function
|
|
3934
|
+
function ii(e) {
|
|
3943
3935
|
return Ee(e).map((t) => {
|
|
3944
|
-
const r =
|
|
3936
|
+
const r = Yt(t);
|
|
3945
3937
|
return [t, r ? [...r] : []];
|
|
3946
3938
|
}).filter(([, t]) => t.length > 0);
|
|
3947
3939
|
}
|
|
@@ -3949,31 +3941,31 @@ function Xe(e) {
|
|
|
3949
3941
|
return e == null ? !1 : Ee(e).some(
|
|
3950
3942
|
(t) => {
|
|
3951
3943
|
var r;
|
|
3952
|
-
return (r =
|
|
3944
|
+
return (r = Yt(t)) == null ? void 0 : r.size;
|
|
3953
3945
|
}
|
|
3954
3946
|
);
|
|
3955
3947
|
}
|
|
3956
|
-
function
|
|
3948
|
+
function oi(e, t) {
|
|
3957
3949
|
return Promise.all(
|
|
3958
|
-
t.map((n) => (
|
|
3959
|
-
).then((n) =>
|
|
3950
|
+
t.map((n) => (ni(e, n), n().then((i) => i.default || i)))
|
|
3951
|
+
).then((n) => Jt(e, ...n));
|
|
3960
3952
|
}
|
|
3961
3953
|
const ee = {};
|
|
3962
|
-
function
|
|
3954
|
+
function Kt(e) {
|
|
3963
3955
|
if (!Xe(e))
|
|
3964
3956
|
return e in ee ? ee[e] : Promise.resolve();
|
|
3965
|
-
const t =
|
|
3957
|
+
const t = ii(e);
|
|
3966
3958
|
return ee[e] = Promise.all(
|
|
3967
3959
|
t.map(
|
|
3968
|
-
([r, n]) =>
|
|
3960
|
+
([r, n]) => oi(r, n)
|
|
3969
3961
|
)
|
|
3970
3962
|
).then(() => {
|
|
3971
3963
|
if (Xe(e))
|
|
3972
|
-
return
|
|
3964
|
+
return Kt(e);
|
|
3973
3965
|
delete ee[e];
|
|
3974
3966
|
}), ee[e];
|
|
3975
3967
|
}
|
|
3976
|
-
const
|
|
3968
|
+
const si = {
|
|
3977
3969
|
number: {
|
|
3978
3970
|
scientific: { notation: "scientific" },
|
|
3979
3971
|
engineering: { notation: "engineering" },
|
|
@@ -4002,34 +3994,34 @@ const ai = {
|
|
|
4002
3994
|
timeZoneName: "short"
|
|
4003
3995
|
}
|
|
4004
3996
|
}
|
|
4005
|
-
},
|
|
3997
|
+
}, ai = {
|
|
4006
3998
|
fallbackLocale: null,
|
|
4007
3999
|
loadingDelay: 200,
|
|
4008
|
-
formats:
|
|
4000
|
+
formats: si,
|
|
4009
4001
|
warnOnMissingMessages: !0,
|
|
4010
4002
|
handleMissingMessage: void 0,
|
|
4011
4003
|
ignoreTag: !0
|
|
4012
|
-
},
|
|
4004
|
+
}, ui = ai;
|
|
4013
4005
|
function Z() {
|
|
4014
|
-
return
|
|
4006
|
+
return ui;
|
|
4015
4007
|
}
|
|
4016
4008
|
const Oe = _e(!1);
|
|
4017
|
-
var
|
|
4018
|
-
for (var r in t)
|
|
4019
|
-
|
|
4020
|
-
if (
|
|
4021
|
-
for (var r of
|
|
4022
|
-
|
|
4009
|
+
var hi = Object.defineProperty, li = Object.defineProperties, fi = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, ci = Object.prototype.hasOwnProperty, di = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pi = (e, t) => {
|
|
4010
|
+
for (var r in t || (t = {}))
|
|
4011
|
+
ci.call(t, r) && mt(e, r, t[r]);
|
|
4012
|
+
if (pt)
|
|
4013
|
+
for (var r of pt(t))
|
|
4014
|
+
di.call(t, r) && mt(e, r, t[r]);
|
|
4023
4015
|
return e;
|
|
4024
|
-
},
|
|
4016
|
+
}, mi = (e, t) => li(e, fi(t));
|
|
4025
4017
|
let We;
|
|
4026
4018
|
const be = _e(null);
|
|
4027
|
-
function
|
|
4019
|
+
function bt(e) {
|
|
4028
4020
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4029
4021
|
}
|
|
4030
4022
|
function Ee(e, t = Z().fallbackLocale) {
|
|
4031
|
-
const r =
|
|
4032
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4023
|
+
const r = bt(e);
|
|
4024
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
|
|
4033
4025
|
}
|
|
4034
4026
|
function U() {
|
|
4035
4027
|
return We ?? void 0;
|
|
@@ -4037,22 +4029,22 @@ function U() {
|
|
|
4037
4029
|
be.subscribe((e) => {
|
|
4038
4030
|
We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4039
4031
|
});
|
|
4040
|
-
const
|
|
4041
|
-
if (e &&
|
|
4032
|
+
const bi = (e) => {
|
|
4033
|
+
if (e && ri(e) && Xe(e)) {
|
|
4042
4034
|
const { loadingDelay: t } = Z();
|
|
4043
4035
|
let r;
|
|
4044
4036
|
return typeof window < "u" && U() != null && t ? r = window.setTimeout(
|
|
4045
4037
|
() => Oe.set(!0),
|
|
4046
4038
|
t
|
|
4047
|
-
) : Oe.set(!0),
|
|
4039
|
+
) : Oe.set(!0), Kt(e).then(() => {
|
|
4048
4040
|
be.set(e);
|
|
4049
4041
|
}).finally(() => {
|
|
4050
4042
|
clearTimeout(r), Oe.set(!1);
|
|
4051
4043
|
});
|
|
4052
4044
|
}
|
|
4053
4045
|
return be.set(e);
|
|
4054
|
-
}, J =
|
|
4055
|
-
set:
|
|
4046
|
+
}, J = mi(pi({}, be), {
|
|
4047
|
+
set: bi
|
|
4056
4048
|
}), Se = (e) => {
|
|
4057
4049
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4058
4050
|
return (n) => {
|
|
@@ -4060,20 +4052,20 @@ const gi = (e) => {
|
|
|
4060
4052
|
return i in t ? t[i] : t[i] = e(n);
|
|
4061
4053
|
};
|
|
4062
4054
|
};
|
|
4063
|
-
var
|
|
4055
|
+
var gi = Object.defineProperty, ge = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
|
|
4064
4056
|
for (var r in t || (t = {}))
|
|
4065
|
-
|
|
4057
|
+
er.call(t, r) && gt(e, r, t[r]);
|
|
4066
4058
|
if (ge)
|
|
4067
4059
|
for (var r of ge(t))
|
|
4068
|
-
|
|
4060
|
+
tr.call(t, r) && gt(e, r, t[r]);
|
|
4069
4061
|
return e;
|
|
4070
4062
|
}, Y = (e, t) => {
|
|
4071
4063
|
var r = {};
|
|
4072
4064
|
for (var n in e)
|
|
4073
|
-
|
|
4065
|
+
er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4074
4066
|
if (e != null && ge)
|
|
4075
4067
|
for (var n of ge(e))
|
|
4076
|
-
t.indexOf(n) < 0 &&
|
|
4068
|
+
t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
|
|
4077
4069
|
return r;
|
|
4078
4070
|
};
|
|
4079
4071
|
const ie = (e, t) => {
|
|
@@ -4081,21 +4073,21 @@ const ie = (e, t) => {
|
|
|
4081
4073
|
if (e in r && t in r[e])
|
|
4082
4074
|
return r[e][t];
|
|
4083
4075
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4084
|
-
},
|
|
4076
|
+
}, yi = Se(
|
|
4085
4077
|
(e) => {
|
|
4086
4078
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4087
4079
|
if (r == null)
|
|
4088
4080
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4089
4081
|
return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
|
|
4090
4082
|
}
|
|
4091
|
-
),
|
|
4083
|
+
), vi = Se(
|
|
4092
4084
|
(e) => {
|
|
4093
4085
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4094
4086
|
if (r == null)
|
|
4095
4087
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4096
4088
|
return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4097
4089
|
}
|
|
4098
|
-
),
|
|
4090
|
+
), _i = Se(
|
|
4099
4091
|
(e) => {
|
|
4100
4092
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4101
4093
|
if (r == null)
|
|
@@ -4104,33 +4096,33 @@ const ie = (e, t) => {
|
|
|
4104
4096
|
);
|
|
4105
4097
|
return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4106
4098
|
}
|
|
4107
|
-
),
|
|
4099
|
+
), xi = (e = {}) => {
|
|
4108
4100
|
var t = e, {
|
|
4109
4101
|
locale: r = U()
|
|
4110
4102
|
} = t, n = Y(t, [
|
|
4111
4103
|
"locale"
|
|
4112
4104
|
]);
|
|
4113
|
-
return
|
|
4114
|
-
},
|
|
4105
|
+
return yi(Qe({ locale: r }, n));
|
|
4106
|
+
}, Ei = (e = {}) => {
|
|
4115
4107
|
var t = e, {
|
|
4116
4108
|
locale: r = U()
|
|
4117
4109
|
} = t, n = Y(t, [
|
|
4118
4110
|
"locale"
|
|
4119
4111
|
]);
|
|
4120
|
-
return
|
|
4121
|
-
},
|
|
4112
|
+
return vi(Qe({ locale: r }, n));
|
|
4113
|
+
}, Si = (e = {}) => {
|
|
4122
4114
|
var t = e, {
|
|
4123
4115
|
locale: r = U()
|
|
4124
4116
|
} = t, n = Y(t, [
|
|
4125
4117
|
"locale"
|
|
4126
4118
|
]);
|
|
4127
|
-
return
|
|
4128
|
-
},
|
|
4119
|
+
return _i(Qe({ locale: r }, n));
|
|
4120
|
+
}, Ti = Se(
|
|
4129
4121
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4130
|
-
(e, t = U()) => new
|
|
4122
|
+
(e, t = U()) => new Jn(e, t, Z().formats, {
|
|
4131
4123
|
ignoreTag: Z().ignoreTag
|
|
4132
4124
|
})
|
|
4133
|
-
),
|
|
4125
|
+
), Hi = (e, t = {}) => {
|
|
4134
4126
|
var r, n, i, o;
|
|
4135
4127
|
let s = t;
|
|
4136
4128
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4143,7 +4135,7 @@ const ie = (e, t) => {
|
|
|
4143
4135
|
throw new Error(
|
|
4144
4136
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4145
4137
|
);
|
|
4146
|
-
let l =
|
|
4138
|
+
let l = Qt(e, h);
|
|
4147
4139
|
if (!l)
|
|
4148
4140
|
l = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4149
4141
|
else if (typeof l != "string")
|
|
@@ -4154,7 +4146,7 @@ const ie = (e, t) => {
|
|
|
4154
4146
|
return l;
|
|
4155
4147
|
let c = l;
|
|
4156
4148
|
try {
|
|
4157
|
-
c =
|
|
4149
|
+
c = Ti(l, h).format(a);
|
|
4158
4150
|
} catch (f) {
|
|
4159
4151
|
f instanceof Error && console.warn(
|
|
4160
4152
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4162,20 +4154,20 @@ const ie = (e, t) => {
|
|
|
4162
4154
|
);
|
|
4163
4155
|
}
|
|
4164
4156
|
return c;
|
|
4165
|
-
},
|
|
4157
|
+
}, Bi = (e, t) => Si(t).format(e), Ai = (e, t) => Ei(t).format(e), wi = (e, t) => xi(t).format(e), Pi = (e, t = U()) => Qt(e, t), Oi = q([J, ae], () => Hi);
|
|
4158
|
+
q([J], () => Bi);
|
|
4166
4159
|
q([J], () => Ai);
|
|
4167
4160
|
q([J], () => wi);
|
|
4168
|
-
q([J], () => Pi);
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
Yt(e, t);
|
|
4161
|
+
q([J, ae], () => Pi);
|
|
4162
|
+
window.emWidgets = { topic: jr };
|
|
4163
|
+
const Ii = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4164
|
+
function yt(e, t) {
|
|
4165
|
+
Jt(e, t);
|
|
4174
4166
|
}
|
|
4175
|
-
function
|
|
4167
|
+
function Li(e) {
|
|
4176
4168
|
J.set(e);
|
|
4177
4169
|
}
|
|
4178
|
-
const
|
|
4170
|
+
const vt = {
|
|
4179
4171
|
en: {
|
|
4180
4172
|
logoutButton: "Logout"
|
|
4181
4173
|
},
|
|
@@ -4210,10 +4202,10 @@ const _t = {
|
|
|
4210
4202
|
logoutButton: "Logout"
|
|
4211
4203
|
}
|
|
4212
4204
|
};
|
|
4213
|
-
function
|
|
4214
|
-
|
|
4205
|
+
function Ni(e) {
|
|
4206
|
+
ar(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
|
|
4215
4207
|
}
|
|
4216
|
-
function
|
|
4208
|
+
function Mi(e) {
|
|
4217
4209
|
let t, r, n, i = (
|
|
4218
4210
|
/*$_*/
|
|
4219
4211
|
e[2]("logoutButton") + ""
|
|
@@ -4223,7 +4215,7 @@ function Ci(e) {
|
|
|
4223
4215
|
t = I("div"), r = I("button"), n = I("span"), o = ye(i), E(t, "class", "GeneralLogout");
|
|
4224
4216
|
},
|
|
4225
4217
|
m(h, u) {
|
|
4226
|
-
se(h, t, u), S(t, r), S(r, n), S(n, o), s || (a =
|
|
4218
|
+
se(h, t, u), S(t, r), S(r, n), S(n, o), s || (a = St(
|
|
4227
4219
|
r,
|
|
4228
4220
|
"click",
|
|
4229
4221
|
/*click_handler_1*/
|
|
@@ -4233,19 +4225,19 @@ function Ci(e) {
|
|
|
4233
4225
|
p(h, u) {
|
|
4234
4226
|
u & /*$_*/
|
|
4235
4227
|
4 && i !== (i = /*$_*/
|
|
4236
|
-
h[2]("logoutButton") + "") &&
|
|
4228
|
+
h[2]("logoutButton") + "") && Tt(o, i);
|
|
4237
4229
|
},
|
|
4238
4230
|
d(h) {
|
|
4239
4231
|
h && Q(t), s = !1, a();
|
|
4240
4232
|
}
|
|
4241
4233
|
};
|
|
4242
4234
|
}
|
|
4243
|
-
function
|
|
4235
|
+
function Ci(e) {
|
|
4244
4236
|
let t, r, n, i, o, s, a, h, u, l, c, f = !/*isMobile*/
|
|
4245
|
-
e[3] &&
|
|
4237
|
+
e[3] && $i(e);
|
|
4246
4238
|
return {
|
|
4247
4239
|
c() {
|
|
4248
|
-
t = I("p"), r = I("span"), n = K("svg"), i = K("defs"), o = K("style"), s = ye(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u =
|
|
4240
|
+
t = I("p"), r = I("span"), n = K("svg"), i = K("defs"), o = K("style"), s = ye(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u = lr(), f && f.c(), E(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), E(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), E(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), E(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), E(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), E(n, "data-name", "Layer 1"), E(n, "xmlns", "http://www.w3.org/2000/svg"), E(n, "viewBox", "0 0 150 150"), cr(r, "width", /*isMobile*/
|
|
4249
4241
|
e[3] ? (
|
|
4250
4242
|
/*mediaQuery*/
|
|
4251
4243
|
e[4].matches ? "50px" : "24px"
|
|
@@ -4255,7 +4247,7 @@ function $i(e) {
|
|
|
4255
4247
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4256
4248
|
},
|
|
4257
4249
|
m(d, y) {
|
|
4258
|
-
se(d, t, y), S(t, r), S(r, n), S(n, i), S(i, o), S(o, s), S(n, a), S(n, h), S(t, u), f && f.m(t, null), l || (c =
|
|
4250
|
+
se(d, t, y), S(t, r), S(r, n), S(n, i), S(i, o), S(o, s), S(n, a), S(n, h), S(t, u), f && f.m(t, null), l || (c = St(
|
|
4259
4251
|
t,
|
|
4260
4252
|
"click",
|
|
4261
4253
|
/*click_handler*/
|
|
@@ -4271,7 +4263,7 @@ function $i(e) {
|
|
|
4271
4263
|
}
|
|
4272
4264
|
};
|
|
4273
4265
|
}
|
|
4274
|
-
function
|
|
4266
|
+
function $i(e) {
|
|
4275
4267
|
let t, r = (
|
|
4276
4268
|
/*$_*/
|
|
4277
4269
|
e[2]("logoutButton") + ""
|
|
@@ -4286,19 +4278,19 @@ function Ri(e) {
|
|
|
4286
4278
|
p(i, o) {
|
|
4287
4279
|
o & /*$_*/
|
|
4288
4280
|
4 && r !== (r = /*$_*/
|
|
4289
|
-
i[2]("logoutButton") + "") &&
|
|
4281
|
+
i[2]("logoutButton") + "") && Tt(n, r);
|
|
4290
4282
|
},
|
|
4291
4283
|
d(i) {
|
|
4292
4284
|
i && Q(t);
|
|
4293
4285
|
}
|
|
4294
4286
|
};
|
|
4295
4287
|
}
|
|
4296
|
-
function
|
|
4288
|
+
function Ri(e) {
|
|
4297
4289
|
let t;
|
|
4298
4290
|
function r(o, s) {
|
|
4299
4291
|
return (
|
|
4300
4292
|
/*buttonlocation*/
|
|
4301
|
-
o[0] === "PlayerAccountMenu" ?
|
|
4293
|
+
o[0] === "PlayerAccountMenu" ? Ci : Mi
|
|
4302
4294
|
);
|
|
4303
4295
|
}
|
|
4304
4296
|
let n = r(e), i = n(e);
|
|
@@ -4319,21 +4311,21 @@ function Ui(e) {
|
|
|
4319
4311
|
}
|
|
4320
4312
|
};
|
|
4321
4313
|
}
|
|
4322
|
-
function
|
|
4314
|
+
function Ui(e, t, r) {
|
|
4323
4315
|
let n;
|
|
4324
|
-
|
|
4325
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: l = "" } = t, c = "", f = !1, d, y = window.navigator.userAgent, v =
|
|
4316
|
+
sr(e, Oi, (b) => r(2, n = b));
|
|
4317
|
+
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: l = "" } = t, c = "", f = !1, d, y = window.navigator.userAgent, v = Ii(y) !== "PC";
|
|
4326
4318
|
const H = window.matchMedia("(min-width: 768px)"), C = () => {
|
|
4327
4319
|
fetch(l).then((B) => B.json()).then((B) => {
|
|
4328
4320
|
Object.keys(B).forEach((R) => {
|
|
4329
|
-
|
|
4321
|
+
yt(R, B[R]);
|
|
4330
4322
|
});
|
|
4331
4323
|
}).catch((B) => {
|
|
4332
4324
|
console.log(B);
|
|
4333
4325
|
});
|
|
4334
4326
|
};
|
|
4335
|
-
Object.keys(
|
|
4336
|
-
|
|
4327
|
+
Object.keys(vt).forEach((b) => {
|
|
4328
|
+
yt(b, vt[b]);
|
|
4337
4329
|
});
|
|
4338
4330
|
const w = () => {
|
|
4339
4331
|
let b = new Headers();
|
|
@@ -4343,7 +4335,7 @@ function Gi(e, t, r) {
|
|
|
4343
4335
|
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
|
|
4344
4336
|
});
|
|
4345
4337
|
}, T = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", f = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", f = !0, console.error(c)), f), $ = () => {
|
|
4346
|
-
|
|
4338
|
+
Li(a);
|
|
4347
4339
|
}, P = () => {
|
|
4348
4340
|
let b = document.createElement("style");
|
|
4349
4341
|
b.innerHTML = h, d.appendChild(b);
|
|
@@ -4361,8 +4353,8 @@ function Gi(e, t, r) {
|
|
|
4361
4353
|
500
|
|
4362
4354
|
);
|
|
4363
4355
|
});
|
|
4364
|
-
}, ue = () => w(),
|
|
4365
|
-
function
|
|
4356
|
+
}, ue = () => w(), nr = () => w();
|
|
4357
|
+
function ir(b) {
|
|
4366
4358
|
Ie[b ? "unshift" : "push"](() => {
|
|
4367
4359
|
d = b, r(1, d);
|
|
4368
4360
|
});
|
|
@@ -4390,18 +4382,18 @@ function Gi(e, t, r) {
|
|
|
4390
4382
|
u,
|
|
4391
4383
|
l,
|
|
4392
4384
|
ue,
|
|
4393
|
-
|
|
4394
|
-
|
|
4385
|
+
nr,
|
|
4386
|
+
ir
|
|
4395
4387
|
];
|
|
4396
4388
|
}
|
|
4397
|
-
class
|
|
4389
|
+
class rr extends Br {
|
|
4398
4390
|
constructor(t) {
|
|
4399
|
-
super(),
|
|
4391
|
+
super(), Tr(
|
|
4400
4392
|
this,
|
|
4401
4393
|
t,
|
|
4402
|
-
Gi,
|
|
4403
4394
|
Ui,
|
|
4404
|
-
|
|
4395
|
+
Ri,
|
|
4396
|
+
xt,
|
|
4405
4397
|
{
|
|
4406
4398
|
endpoint: 6,
|
|
4407
4399
|
session: 7,
|
|
@@ -4411,7 +4403,7 @@ class nr extends Ar {
|
|
|
4411
4403
|
clientstylingurl: 10,
|
|
4412
4404
|
translationurl: 11
|
|
4413
4405
|
},
|
|
4414
|
-
|
|
4406
|
+
Ni
|
|
4415
4407
|
);
|
|
4416
4408
|
}
|
|
4417
4409
|
get endpoint() {
|
|
@@ -4457,40 +4449,40 @@ class nr extends Ar {
|
|
|
4457
4449
|
this.$$set({ translationurl: t }), O();
|
|
4458
4450
|
}
|
|
4459
4451
|
}
|
|
4460
|
-
|
|
4461
|
-
const
|
|
4452
|
+
Hr(rr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4453
|
+
const Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4462
4454
|
__proto__: null,
|
|
4463
|
-
default:
|
|
4455
|
+
default: rr
|
|
4464
4456
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4465
4457
|
export {
|
|
4466
4458
|
J as $,
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4459
|
+
Oi as A,
|
|
4460
|
+
Vi as G,
|
|
4461
|
+
Br as S,
|
|
4462
|
+
Jt as a,
|
|
4463
|
+
ar as b,
|
|
4464
|
+
Hr as c,
|
|
4465
|
+
Q as d,
|
|
4466
|
+
se as e,
|
|
4475
4467
|
O as f,
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4468
|
+
I as g,
|
|
4469
|
+
sr as h,
|
|
4470
|
+
Tr as i,
|
|
4471
|
+
Ii as j,
|
|
4480
4472
|
Ie as k,
|
|
4481
|
-
|
|
4482
|
-
|
|
4473
|
+
ki as l,
|
|
4474
|
+
Di as m,
|
|
4483
4475
|
A as n,
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4476
|
+
ji as o,
|
|
4477
|
+
Tt as p,
|
|
4478
|
+
S as q,
|
|
4479
|
+
lr as r,
|
|
4480
|
+
xt as s,
|
|
4489
4481
|
ye as t,
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4482
|
+
E as u,
|
|
4483
|
+
oe as v,
|
|
4484
|
+
St as w,
|
|
4485
|
+
K as x,
|
|
4486
|
+
Fi as y,
|
|
4487
|
+
Gi as z
|
|
4496
4488
|
};
|