@everymatrix/player-account-notifications 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountNotifications-DV4AWk6M.js → PlayerAccountNotifications--wYD9-eK.js} +561 -506
- package/components/{PlayerAccountNotifications-CQrLBwIL.js → PlayerAccountNotifications-CzV6_Ilj.js} +575 -520
- package/components/PlayerAccountNotifications-jbHMw1lp.cjs +18 -0
- package/es2015/player-account-notifications.cjs +1 -1
- package/es2015/player-account-notifications.js +1 -1
- package/esnext/player-account-notifications.js +1 -1
- package/package.json +1 -1
- package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
- package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
- package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
- package/stencil/{ui-skeleton-DtnYQAt6.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
- package/stencil/{ui-skeleton-rqI1NmdA.js → ui-skeleton-C5gPr5Xv.js} +2 -2
- package/stencil/{ui-skeleton-DlfwJJb1.js → ui-skeleton-M7HNQCk1.js} +2 -2
- package/stencil/{ui-skeleton-982450d2-BH4FIF5y.js → ui-skeleton-a642cced-BFJMszWG.js} +21 -21
- package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +1 -0
- package/stencil/{ui-skeleton-982450d2-DGJAETMx.js → ui-skeleton-a642cced-p8tGooXk.js} +21 -21
- package/components/PlayerAccountNotifications-0A_JrLa5.cjs +0 -5
- package/stencil/index-db5752f9--Bvt52z2.js +0 -610
- package/stencil/index-db5752f9-CAzJb5N3.js +0 -594
- package/stencil/index-db5752f9-CEbtfUsZ.cjs +0 -1
- package/stencil/ui-skeleton-982450d2-BYrWGs9b.cjs +0 -1
package/components/{PlayerAccountNotifications-DV4AWk6M.js → PlayerAccountNotifications--wYD9-eK.js}
RENAMED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import "../stencil/ui-skeleton-C5gPr5Xv.js";
|
|
2
2
|
function H() {
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function Pt(e) {
|
|
5
5
|
return e();
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function Ye() {
|
|
8
8
|
return /* @__PURE__ */ Object.create(null);
|
|
9
9
|
}
|
|
10
10
|
function ie(e) {
|
|
11
|
-
e.forEach(
|
|
11
|
+
e.forEach(Pt);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function ze(e) {
|
|
14
14
|
return typeof e == "function";
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function wt(e, t) {
|
|
17
17
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
18
18
|
}
|
|
19
19
|
let ae;
|
|
20
|
-
function
|
|
20
|
+
function Ke(e, t) {
|
|
21
21
|
return e === t ? !0 : (ae || (ae = document.createElement("a")), ae.href = t, e === ae.href);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function hr(e) {
|
|
24
24
|
return Object.keys(e).length === 0;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function lr(e, ...t) {
|
|
27
27
|
if (e == null) {
|
|
28
28
|
for (const n of t)
|
|
29
29
|
n(void 0);
|
|
@@ -35,15 +35,16 @@ function sr(e, ...t) {
|
|
|
35
35
|
function P(e, t) {
|
|
36
36
|
e.appendChild(t);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
const n =
|
|
38
|
+
function cr(e, t, r) {
|
|
39
|
+
const n = fr(e);
|
|
40
40
|
if (!n.getElementById(t)) {
|
|
41
41
|
const i = T("style");
|
|
42
|
-
i.id = t, i.textContent = r,
|
|
42
|
+
i.id = t, i.textContent = r, pr(n, i);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
function
|
|
46
|
-
if (!e)
|
|
45
|
+
function fr(e) {
|
|
46
|
+
if (!e)
|
|
47
|
+
return document;
|
|
47
48
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
48
49
|
return t && /** @type {ShadowRoot} */
|
|
49
50
|
t.host ? (
|
|
@@ -51,7 +52,7 @@ function ur(e) {
|
|
|
51
52
|
t
|
|
52
53
|
) : e.ownerDocument;
|
|
53
54
|
}
|
|
54
|
-
function
|
|
55
|
+
function pr(e, t) {
|
|
55
56
|
return P(
|
|
56
57
|
/** @type {Document} */
|
|
57
58
|
e.head || e,
|
|
@@ -64,18 +65,18 @@ function M(e, t, r) {
|
|
|
64
65
|
function O(e) {
|
|
65
66
|
e.parentNode && e.parentNode.removeChild(e);
|
|
66
67
|
}
|
|
67
|
-
function
|
|
68
|
+
function Bt(e, t) {
|
|
68
69
|
for (let r = 0; r < e.length; r += 1)
|
|
69
70
|
e[r] && e[r].d(t);
|
|
70
71
|
}
|
|
71
72
|
function T(e) {
|
|
72
73
|
return document.createElement(e);
|
|
73
74
|
}
|
|
74
|
-
function
|
|
75
|
+
function Nt(e) {
|
|
75
76
|
return document.createTextNode(e);
|
|
76
77
|
}
|
|
77
78
|
function le() {
|
|
78
|
-
return
|
|
79
|
+
return Nt(" ");
|
|
79
80
|
}
|
|
80
81
|
function x(e, t, r) {
|
|
81
82
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
@@ -84,17 +85,17 @@ function V(e, t, r) {
|
|
|
84
85
|
const n = t.toLowerCase();
|
|
85
86
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
|
|
86
87
|
}
|
|
87
|
-
function
|
|
88
|
+
function mr(e) {
|
|
88
89
|
return Array.from(e.childNodes);
|
|
89
90
|
}
|
|
90
|
-
function
|
|
91
|
+
function dr(e, t) {
|
|
91
92
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
92
93
|
t);
|
|
93
94
|
}
|
|
94
|
-
function
|
|
95
|
+
function et(e, t, r, n) {
|
|
95
96
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
96
97
|
}
|
|
97
|
-
function
|
|
98
|
+
function br(e) {
|
|
98
99
|
const t = {};
|
|
99
100
|
return e.childNodes.forEach(
|
|
100
101
|
/** @param {Element} node */
|
|
@@ -107,21 +108,22 @@ let te;
|
|
|
107
108
|
function ee(e) {
|
|
108
109
|
te = e;
|
|
109
110
|
}
|
|
110
|
-
function
|
|
111
|
-
if (!te)
|
|
111
|
+
function gr() {
|
|
112
|
+
if (!te)
|
|
113
|
+
throw new Error("Function called outside component initialization");
|
|
112
114
|
return te;
|
|
113
115
|
}
|
|
114
|
-
function
|
|
115
|
-
|
|
116
|
+
function yr(e) {
|
|
117
|
+
gr().$$.on_mount.push(e);
|
|
116
118
|
}
|
|
117
|
-
const j = [],
|
|
119
|
+
const j = [], Oe = [];
|
|
118
120
|
let X = [];
|
|
119
|
-
const
|
|
120
|
-
let
|
|
121
|
-
function
|
|
122
|
-
|
|
121
|
+
const tt = [], vr = /* @__PURE__ */ Promise.resolve();
|
|
122
|
+
let Ie = !1;
|
|
123
|
+
function _r() {
|
|
124
|
+
Ie || (Ie = !0, vr.then(B));
|
|
123
125
|
}
|
|
124
|
-
function
|
|
126
|
+
function Ce(e) {
|
|
125
127
|
X.push(e);
|
|
126
128
|
}
|
|
127
129
|
const Se = /* @__PURE__ */ new Set();
|
|
@@ -134,55 +136,56 @@ function B() {
|
|
|
134
136
|
try {
|
|
135
137
|
for (; F < j.length; ) {
|
|
136
138
|
const t = j[F];
|
|
137
|
-
F++, ee(t),
|
|
139
|
+
F++, ee(t), xr(t.$$);
|
|
138
140
|
}
|
|
139
141
|
} catch (t) {
|
|
140
142
|
throw j.length = 0, F = 0, t;
|
|
141
143
|
}
|
|
142
|
-
for (ee(null), j.length = 0, F = 0;
|
|
144
|
+
for (ee(null), j.length = 0, F = 0; Oe.length; )
|
|
145
|
+
Oe.pop()();
|
|
143
146
|
for (let t = 0; t < X.length; t += 1) {
|
|
144
147
|
const r = X[t];
|
|
145
148
|
Se.has(r) || (Se.add(r), r());
|
|
146
149
|
}
|
|
147
150
|
X.length = 0;
|
|
148
151
|
} while (j.length);
|
|
149
|
-
for (;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
+
for (; tt.length; )
|
|
153
|
+
tt.pop()();
|
|
154
|
+
Ie = !1, Se.clear(), ee(e);
|
|
152
155
|
}
|
|
153
|
-
function
|
|
156
|
+
function xr(e) {
|
|
154
157
|
if (e.fragment !== null) {
|
|
155
158
|
e.update(), ie(e.before_update);
|
|
156
159
|
const t = e.dirty;
|
|
157
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
160
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
|
|
158
161
|
}
|
|
159
162
|
}
|
|
160
|
-
function
|
|
163
|
+
function Er(e) {
|
|
161
164
|
const t = [], r = [];
|
|
162
165
|
X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
|
|
163
166
|
}
|
|
164
|
-
const
|
|
165
|
-
function
|
|
166
|
-
e && e.i && (
|
|
167
|
+
const Sr = /* @__PURE__ */ new Set();
|
|
168
|
+
function Tr(e, t) {
|
|
169
|
+
e && e.i && (Sr.delete(e), e.i(t));
|
|
167
170
|
}
|
|
168
171
|
function de(e) {
|
|
169
172
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
170
173
|
}
|
|
171
|
-
function
|
|
174
|
+
function Hr(e, t, r) {
|
|
172
175
|
const { fragment: n, after_update: i } = e.$$;
|
|
173
|
-
n && n.m(t, r),
|
|
174
|
-
const o = e.$$.on_mount.map(
|
|
176
|
+
n && n.m(t, r), Ce(() => {
|
|
177
|
+
const o = e.$$.on_mount.map(Pt).filter(ze);
|
|
175
178
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
|
|
176
|
-
}), i.forEach(
|
|
179
|
+
}), i.forEach(Ce);
|
|
177
180
|
}
|
|
178
|
-
function
|
|
181
|
+
function Ar(e, t) {
|
|
179
182
|
const r = e.$$;
|
|
180
|
-
r.fragment !== null && (
|
|
183
|
+
r.fragment !== null && (Er(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
181
184
|
}
|
|
182
|
-
function
|
|
183
|
-
e.$$.dirty[0] === -1 && (j.push(e),
|
|
185
|
+
function Pr(e, t) {
|
|
186
|
+
e.$$.dirty[0] === -1 && (j.push(e), _r(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
184
187
|
}
|
|
185
|
-
function
|
|
188
|
+
function wr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
186
189
|
const h = te;
|
|
187
190
|
ee(e);
|
|
188
191
|
const u = e.$$ = {
|
|
@@ -192,7 +195,7 @@ function Tr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
192
195
|
props: o,
|
|
193
196
|
update: H,
|
|
194
197
|
not_equal: i,
|
|
195
|
-
bound:
|
|
198
|
+
bound: Ye(),
|
|
196
199
|
// lifecycle
|
|
197
200
|
on_mount: [],
|
|
198
201
|
on_destroy: [],
|
|
@@ -201,7 +204,7 @@ function Tr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
201
204
|
after_update: [],
|
|
202
205
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
203
206
|
// everything else
|
|
204
|
-
callbacks:
|
|
207
|
+
callbacks: Ye(),
|
|
205
208
|
dirty: a,
|
|
206
209
|
skip_bound: !1,
|
|
207
210
|
root: t.target || h.$$.root
|
|
@@ -210,19 +213,19 @@ function Tr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
210
213
|
let l = !1;
|
|
211
214
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
|
|
212
215
|
const d = m.length ? m[0] : f;
|
|
213
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), l &&
|
|
216
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), l && Pr(e, c)), f;
|
|
214
217
|
}) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
215
218
|
if (t.hydrate) {
|
|
216
|
-
const c =
|
|
219
|
+
const c = mr(t.target);
|
|
217
220
|
u.fragment && u.fragment.l(c), c.forEach(O);
|
|
218
221
|
} else
|
|
219
222
|
u.fragment && u.fragment.c();
|
|
220
|
-
t.intro &&
|
|
223
|
+
t.intro && Tr(e.$$.fragment), Hr(e, t.target, t.anchor), B();
|
|
221
224
|
}
|
|
222
225
|
ee(h);
|
|
223
226
|
}
|
|
224
|
-
let
|
|
225
|
-
typeof HTMLElement == "function" && (
|
|
227
|
+
let Ot;
|
|
228
|
+
typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
226
229
|
/** The Svelte component constructor */
|
|
227
230
|
$$ctor;
|
|
228
231
|
/** Slots */
|
|
@@ -281,7 +284,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
|
|
|
281
284
|
};
|
|
282
285
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
283
286
|
return;
|
|
284
|
-
const t = {}, r =
|
|
287
|
+
const t = {}, r = br(this);
|
|
285
288
|
for (const i of this.$$s)
|
|
286
289
|
i in r && (t[i] = [e(i)]);
|
|
287
290
|
for (const i of this.attributes) {
|
|
@@ -368,8 +371,8 @@ function ce(e, t, r, n) {
|
|
|
368
371
|
return t;
|
|
369
372
|
}
|
|
370
373
|
}
|
|
371
|
-
function
|
|
372
|
-
let s = class extends
|
|
374
|
+
function Br(e, t, r, n, i, o) {
|
|
375
|
+
let s = class extends Ot {
|
|
373
376
|
constructor() {
|
|
374
377
|
super(e, r, i), this.$$p_d = t;
|
|
375
378
|
}
|
|
@@ -397,7 +400,7 @@ function Hr(e, t, r, n, i, o) {
|
|
|
397
400
|
}), e.element = /** @type {any} */
|
|
398
401
|
s, s;
|
|
399
402
|
}
|
|
400
|
-
class
|
|
403
|
+
class Nr {
|
|
401
404
|
/**
|
|
402
405
|
* ### PRIVATE API
|
|
403
406
|
*
|
|
@@ -416,7 +419,7 @@ class Ar {
|
|
|
416
419
|
$$set = void 0;
|
|
417
420
|
/** @returns {void} */
|
|
418
421
|
$destroy() {
|
|
419
|
-
|
|
422
|
+
Ar(this, 1), this.$destroy = H;
|
|
420
423
|
}
|
|
421
424
|
/**
|
|
422
425
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -425,7 +428,7 @@ class Ar {
|
|
|
425
428
|
* @returns {() => void}
|
|
426
429
|
*/
|
|
427
430
|
$on(t, r) {
|
|
428
|
-
if (!
|
|
431
|
+
if (!ze(r))
|
|
429
432
|
return H;
|
|
430
433
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
431
434
|
return n.push(r), () => {
|
|
@@ -438,22 +441,37 @@ class Ar {
|
|
|
438
441
|
* @returns {void}
|
|
439
442
|
*/
|
|
440
443
|
$set(t) {
|
|
441
|
-
this.$$set && !
|
|
444
|
+
this.$$set && !hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
442
445
|
}
|
|
443
446
|
}
|
|
444
|
-
const
|
|
445
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
446
|
-
|
|
447
|
-
|
|
447
|
+
const Or = "4";
|
|
448
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Or);
|
|
449
|
+
/*! *****************************************************************************
|
|
450
|
+
Copyright (c) Microsoft Corporation.
|
|
451
|
+
|
|
452
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
453
|
+
purpose with or without fee is hereby granted.
|
|
454
|
+
|
|
455
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
456
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
457
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
458
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
459
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
460
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
461
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
462
|
+
***************************************************************************** */
|
|
463
|
+
var Le = function(e, t) {
|
|
464
|
+
return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
448
465
|
r.__proto__ = n;
|
|
449
466
|
} || function(r, n) {
|
|
450
|
-
for (var i in n)
|
|
451
|
-
|
|
467
|
+
for (var i in n)
|
|
468
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
469
|
+
}, Le(e, t);
|
|
452
470
|
};
|
|
453
471
|
function I(e, t) {
|
|
454
472
|
if (typeof t != "function" && t !== null)
|
|
455
473
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
456
|
-
|
|
474
|
+
Le(e, t);
|
|
457
475
|
function r() {
|
|
458
476
|
this.constructor = e;
|
|
459
477
|
}
|
|
@@ -463,61 +481,69 @@ var v = function() {
|
|
|
463
481
|
return v = Object.assign || function(t) {
|
|
464
482
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
465
483
|
r = arguments[n];
|
|
466
|
-
for (var o in r)
|
|
484
|
+
for (var o in r)
|
|
485
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
467
486
|
}
|
|
468
487
|
return t;
|
|
469
488
|
}, v.apply(this, arguments);
|
|
470
489
|
};
|
|
471
|
-
function
|
|
490
|
+
function Ir(e, t) {
|
|
472
491
|
var r = {};
|
|
473
|
-
for (var n in e)
|
|
492
|
+
for (var n in e)
|
|
493
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
474
494
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
475
495
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
476
496
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
477
497
|
return r;
|
|
478
498
|
}
|
|
479
|
-
function
|
|
499
|
+
function Me(e) {
|
|
480
500
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
481
|
-
if (r)
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
501
|
+
if (r)
|
|
502
|
+
return r.call(e);
|
|
503
|
+
if (e && typeof e.length == "number")
|
|
504
|
+
return {
|
|
505
|
+
next: function() {
|
|
506
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
507
|
+
}
|
|
508
|
+
};
|
|
487
509
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
488
510
|
}
|
|
489
|
-
function
|
|
511
|
+
function $e(e, t) {
|
|
490
512
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
491
|
-
if (!r)
|
|
513
|
+
if (!r)
|
|
514
|
+
return e;
|
|
492
515
|
var n = r.call(e), i, o = [], s;
|
|
493
516
|
try {
|
|
494
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
517
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
518
|
+
o.push(i.value);
|
|
495
519
|
} catch (a) {
|
|
496
520
|
s = { error: a };
|
|
497
521
|
} finally {
|
|
498
522
|
try {
|
|
499
523
|
i && !i.done && (r = n.return) && r.call(n);
|
|
500
524
|
} finally {
|
|
501
|
-
if (s)
|
|
525
|
+
if (s)
|
|
526
|
+
throw s.error;
|
|
502
527
|
}
|
|
503
528
|
}
|
|
504
529
|
return o;
|
|
505
530
|
}
|
|
506
531
|
function W(e, t, r) {
|
|
507
|
-
if (r || arguments.length === 2)
|
|
508
|
-
(
|
|
509
|
-
|
|
532
|
+
if (r || arguments.length === 2)
|
|
533
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
534
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
535
|
+
return e.concat(o || t);
|
|
510
536
|
}
|
|
511
537
|
function N(e) {
|
|
512
538
|
return typeof e == "function";
|
|
513
539
|
}
|
|
514
|
-
function
|
|
540
|
+
function It(e) {
|
|
515
541
|
var t = function(n) {
|
|
516
542
|
Error.call(n), n.stack = new Error().stack;
|
|
517
543
|
}, r = e(t);
|
|
518
544
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
519
545
|
}
|
|
520
|
-
var Te =
|
|
546
|
+
var Te = It(function(e) {
|
|
521
547
|
return function(r) {
|
|
522
548
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
523
549
|
` + r.map(function(n, i) {
|
|
@@ -526,7 +552,7 @@ var Te = Bt(function(e) {
|
|
|
526
552
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
527
553
|
};
|
|
528
554
|
});
|
|
529
|
-
function
|
|
555
|
+
function Re(e, t) {
|
|
530
556
|
if (e) {
|
|
531
557
|
var r = e.indexOf(t);
|
|
532
558
|
0 <= r && e.splice(r, 1);
|
|
@@ -544,7 +570,7 @@ var ye = function() {
|
|
|
544
570
|
if (s)
|
|
545
571
|
if (this._parentage = null, Array.isArray(s))
|
|
546
572
|
try {
|
|
547
|
-
for (var a =
|
|
573
|
+
for (var a = Me(s), h = a.next(); !h.done; h = a.next()) {
|
|
548
574
|
var u = h.value;
|
|
549
575
|
u.remove(this);
|
|
550
576
|
}
|
|
@@ -554,7 +580,8 @@ var ye = function() {
|
|
|
554
580
|
try {
|
|
555
581
|
h && !h.done && (r = a.return) && r.call(a);
|
|
556
582
|
} finally {
|
|
557
|
-
if (t)
|
|
583
|
+
if (t)
|
|
584
|
+
throw t.error;
|
|
558
585
|
}
|
|
559
586
|
}
|
|
560
587
|
else
|
|
@@ -570,12 +597,12 @@ var ye = function() {
|
|
|
570
597
|
if (c) {
|
|
571
598
|
this._finalizers = null;
|
|
572
599
|
try {
|
|
573
|
-
for (var f =
|
|
600
|
+
for (var f = Me(c), m = f.next(); !m.done; m = f.next()) {
|
|
574
601
|
var d = m.value;
|
|
575
602
|
try {
|
|
576
|
-
|
|
603
|
+
rt(d);
|
|
577
604
|
} catch (p) {
|
|
578
|
-
o = o ?? [], p instanceof Te ? o = W(W([],
|
|
605
|
+
o = o ?? [], p instanceof Te ? o = W(W([], $e(o)), $e(p.errors)) : o.push(p);
|
|
579
606
|
}
|
|
580
607
|
}
|
|
581
608
|
} catch (p) {
|
|
@@ -584,7 +611,8 @@ var ye = function() {
|
|
|
584
611
|
try {
|
|
585
612
|
m && !m.done && (i = f.return) && i.call(f);
|
|
586
613
|
} finally {
|
|
587
|
-
if (n)
|
|
614
|
+
if (n)
|
|
615
|
+
throw n.error;
|
|
588
616
|
}
|
|
589
617
|
}
|
|
590
618
|
}
|
|
@@ -595,7 +623,7 @@ var ye = function() {
|
|
|
595
623
|
var r;
|
|
596
624
|
if (t && t !== this)
|
|
597
625
|
if (this.closed)
|
|
598
|
-
|
|
626
|
+
rt(t);
|
|
599
627
|
else {
|
|
600
628
|
if (t instanceof e) {
|
|
601
629
|
if (t.closed || t._hasParent(this))
|
|
@@ -612,52 +640,56 @@ var ye = function() {
|
|
|
612
640
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
613
641
|
}, e.prototype._removeParent = function(t) {
|
|
614
642
|
var r = this._parentage;
|
|
615
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
643
|
+
r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
|
|
616
644
|
}, e.prototype.remove = function(t) {
|
|
617
645
|
var r = this._finalizers;
|
|
618
|
-
r &&
|
|
646
|
+
r && Re(r, t), t instanceof e && t._removeParent(this);
|
|
619
647
|
}, e.EMPTY = function() {
|
|
620
648
|
var t = new e();
|
|
621
649
|
return t.closed = !0, t;
|
|
622
650
|
}(), e;
|
|
623
|
-
}(),
|
|
624
|
-
function
|
|
651
|
+
}(), Ct = ye.EMPTY;
|
|
652
|
+
function Lt(e) {
|
|
625
653
|
return e instanceof ye || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
|
|
626
654
|
}
|
|
627
|
-
function
|
|
655
|
+
function rt(e) {
|
|
628
656
|
N(e) ? e() : e.unsubscribe();
|
|
629
657
|
}
|
|
630
|
-
var
|
|
631
|
-
|
|
632
|
-
|
|
658
|
+
var Mt = {
|
|
659
|
+
onUnhandledError: null,
|
|
660
|
+
onStoppedNotification: null,
|
|
661
|
+
Promise: void 0,
|
|
662
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
663
|
+
useDeprecatedNextContext: !1
|
|
664
|
+
}, Cr = {
|
|
633
665
|
setTimeout: function(e, t) {
|
|
634
666
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
635
667
|
r[n - 2] = arguments[n];
|
|
636
|
-
return setTimeout.apply(void 0, W([e, t],
|
|
668
|
+
return setTimeout.apply(void 0, W([e, t], $e(r)));
|
|
637
669
|
},
|
|
638
670
|
clearTimeout: function(e) {
|
|
639
671
|
return clearTimeout(e);
|
|
640
672
|
},
|
|
641
673
|
delegate: void 0
|
|
642
674
|
};
|
|
643
|
-
function
|
|
644
|
-
|
|
675
|
+
function Lr(e) {
|
|
676
|
+
Cr.setTimeout(function() {
|
|
645
677
|
throw e;
|
|
646
678
|
});
|
|
647
679
|
}
|
|
648
|
-
function
|
|
680
|
+
function nt() {
|
|
649
681
|
}
|
|
650
682
|
function fe(e) {
|
|
651
683
|
e();
|
|
652
684
|
}
|
|
653
|
-
var
|
|
685
|
+
var $t = function(e) {
|
|
654
686
|
I(t, e);
|
|
655
687
|
function t(r) {
|
|
656
688
|
var n = e.call(this) || this;
|
|
657
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
689
|
+
return n.isStopped = !1, r ? (n.destination = r, Lt(r) && r.add(n)) : n.destination = Ur, n;
|
|
658
690
|
}
|
|
659
691
|
return t.create = function(r, n, i) {
|
|
660
|
-
return new
|
|
692
|
+
return new Ue(r, n, i);
|
|
661
693
|
}, t.prototype.next = function(r) {
|
|
662
694
|
this.isStopped || this._next(r);
|
|
663
695
|
}, t.prototype.error = function(r) {
|
|
@@ -681,7 +713,11 @@ var It = function(e) {
|
|
|
681
713
|
this.unsubscribe();
|
|
682
714
|
}
|
|
683
715
|
}, t;
|
|
684
|
-
}(ye),
|
|
716
|
+
}(ye), Mr = Function.prototype.bind;
|
|
717
|
+
function He(e, t) {
|
|
718
|
+
return Mr.call(e, t);
|
|
719
|
+
}
|
|
720
|
+
var $r = function() {
|
|
685
721
|
function e(t) {
|
|
686
722
|
this.partialObserver = t;
|
|
687
723
|
}
|
|
@@ -712,43 +748,55 @@ var It = function(e) {
|
|
|
712
748
|
ue(r);
|
|
713
749
|
}
|
|
714
750
|
}, e;
|
|
715
|
-
}(),
|
|
751
|
+
}(), Ue = function(e) {
|
|
716
752
|
I(t, e);
|
|
717
753
|
function t(r, n, i) {
|
|
718
754
|
var o = e.call(this) || this, s;
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
755
|
+
if (N(r) || !r)
|
|
756
|
+
s = {
|
|
757
|
+
next: r ?? void 0,
|
|
758
|
+
error: n ?? void 0,
|
|
759
|
+
complete: i ?? void 0
|
|
760
|
+
};
|
|
761
|
+
else {
|
|
762
|
+
var a;
|
|
763
|
+
o && Mt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
764
|
+
return o.unsubscribe();
|
|
765
|
+
}, s = {
|
|
766
|
+
next: r.next && He(r.next, a),
|
|
767
|
+
error: r.error && He(r.error, a),
|
|
768
|
+
complete: r.complete && He(r.complete, a)
|
|
769
|
+
}) : s = r;
|
|
770
|
+
}
|
|
771
|
+
return o.destination = new $r(s), o;
|
|
724
772
|
}
|
|
725
773
|
return t;
|
|
726
|
-
}(
|
|
774
|
+
}($t);
|
|
727
775
|
function ue(e) {
|
|
728
|
-
|
|
776
|
+
Lr(e);
|
|
729
777
|
}
|
|
730
|
-
function
|
|
778
|
+
function Rr(e) {
|
|
731
779
|
throw e;
|
|
732
780
|
}
|
|
733
|
-
var
|
|
781
|
+
var Ur = {
|
|
734
782
|
closed: !0,
|
|
735
|
-
next:
|
|
736
|
-
error:
|
|
737
|
-
complete:
|
|
738
|
-
},
|
|
783
|
+
next: nt,
|
|
784
|
+
error: Rr,
|
|
785
|
+
complete: nt
|
|
786
|
+
}, Dr = function() {
|
|
739
787
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
740
788
|
}();
|
|
741
|
-
function
|
|
789
|
+
function Gr(e) {
|
|
742
790
|
return e;
|
|
743
791
|
}
|
|
744
|
-
function
|
|
745
|
-
return e.length === 0 ?
|
|
792
|
+
function Fr(e) {
|
|
793
|
+
return e.length === 0 ? Gr : e.length === 1 ? e[0] : function(r) {
|
|
746
794
|
return e.reduce(function(n, i) {
|
|
747
795
|
return i(n);
|
|
748
796
|
}, r);
|
|
749
797
|
};
|
|
750
798
|
}
|
|
751
|
-
var
|
|
799
|
+
var it = function() {
|
|
752
800
|
function e(t) {
|
|
753
801
|
t && (this._subscribe = t);
|
|
754
802
|
}
|
|
@@ -756,7 +804,7 @@ var tt = function() {
|
|
|
756
804
|
var r = new e();
|
|
757
805
|
return r.source = this, r.operator = t, r;
|
|
758
806
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
759
|
-
var i = this, o =
|
|
807
|
+
var i = this, o = jr(t) ? t : new Ue(t, r, n);
|
|
760
808
|
return fe(function() {
|
|
761
809
|
var s = i, a = s.operator, h = s.source;
|
|
762
810
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -769,8 +817,8 @@ var tt = function() {
|
|
|
769
817
|
}
|
|
770
818
|
}, e.prototype.forEach = function(t, r) {
|
|
771
819
|
var n = this;
|
|
772
|
-
return r =
|
|
773
|
-
var s = new
|
|
820
|
+
return r = ot(r), new r(function(i, o) {
|
|
821
|
+
var s = new Ue({
|
|
774
822
|
next: function(a) {
|
|
775
823
|
try {
|
|
776
824
|
t(a);
|
|
@@ -786,15 +834,15 @@ var tt = function() {
|
|
|
786
834
|
}, e.prototype._subscribe = function(t) {
|
|
787
835
|
var r;
|
|
788
836
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
789
|
-
}, e.prototype[
|
|
837
|
+
}, e.prototype[Dr] = function() {
|
|
790
838
|
return this;
|
|
791
839
|
}, e.prototype.pipe = function() {
|
|
792
840
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
793
841
|
t[r] = arguments[r];
|
|
794
|
-
return
|
|
842
|
+
return Fr(t)(this);
|
|
795
843
|
}, e.prototype.toPromise = function(t) {
|
|
796
844
|
var r = this;
|
|
797
|
-
return t =
|
|
845
|
+
return t = ot(t), new t(function(n, i) {
|
|
798
846
|
var o;
|
|
799
847
|
r.subscribe(function(s) {
|
|
800
848
|
return o = s;
|
|
@@ -808,32 +856,32 @@ var tt = function() {
|
|
|
808
856
|
return new e(t);
|
|
809
857
|
}, e;
|
|
810
858
|
}();
|
|
811
|
-
function
|
|
859
|
+
function ot(e) {
|
|
812
860
|
var t;
|
|
813
|
-
return (t = e ??
|
|
861
|
+
return (t = e ?? Mt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
814
862
|
}
|
|
815
|
-
function
|
|
863
|
+
function kr(e) {
|
|
816
864
|
return e && N(e.next) && N(e.error) && N(e.complete);
|
|
817
865
|
}
|
|
818
|
-
function
|
|
819
|
-
return e && e instanceof
|
|
866
|
+
function jr(e) {
|
|
867
|
+
return e && e instanceof $t || kr(e) && Lt(e);
|
|
820
868
|
}
|
|
821
|
-
var
|
|
869
|
+
var Vr = It(function(e) {
|
|
822
870
|
return function() {
|
|
823
871
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
824
872
|
};
|
|
825
|
-
}),
|
|
873
|
+
}), Rt = function(e) {
|
|
826
874
|
I(t, e);
|
|
827
875
|
function t() {
|
|
828
876
|
var r = e.call(this) || this;
|
|
829
877
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
830
878
|
}
|
|
831
879
|
return t.prototype.lift = function(r) {
|
|
832
|
-
var n = new
|
|
880
|
+
var n = new st(this, this);
|
|
833
881
|
return n.operator = r, n;
|
|
834
882
|
}, t.prototype._throwIfClosed = function() {
|
|
835
883
|
if (this.closed)
|
|
836
|
-
throw new
|
|
884
|
+
throw new Vr();
|
|
837
885
|
}, t.prototype.next = function(r) {
|
|
838
886
|
var n = this;
|
|
839
887
|
fe(function() {
|
|
@@ -841,7 +889,7 @@ var Gr = Bt(function(e) {
|
|
|
841
889
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
842
890
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
843
891
|
try {
|
|
844
|
-
for (var s =
|
|
892
|
+
for (var s = Me(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
845
893
|
var h = a.value;
|
|
846
894
|
h.next(r);
|
|
847
895
|
}
|
|
@@ -851,7 +899,8 @@ var Gr = Bt(function(e) {
|
|
|
851
899
|
try {
|
|
852
900
|
a && !a.done && (o = s.return) && o.call(s);
|
|
853
901
|
} finally {
|
|
854
|
-
if (i)
|
|
902
|
+
if (i)
|
|
903
|
+
throw i.error;
|
|
855
904
|
}
|
|
856
905
|
}
|
|
857
906
|
}
|
|
@@ -889,19 +938,19 @@ var Gr = Bt(function(e) {
|
|
|
889
938
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
890
939
|
}, t.prototype._innerSubscribe = function(r) {
|
|
891
940
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
892
|
-
return o || s ?
|
|
893
|
-
n.currentObservers = null,
|
|
941
|
+
return o || s ? Ct : (this.currentObservers = null, a.push(r), new ye(function() {
|
|
942
|
+
n.currentObservers = null, Re(a, r);
|
|
894
943
|
}));
|
|
895
944
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
896
945
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
897
946
|
i ? r.error(o) : s && r.complete();
|
|
898
947
|
}, t.prototype.asObservable = function() {
|
|
899
|
-
var r = new
|
|
948
|
+
var r = new it();
|
|
900
949
|
return r.source = this, r;
|
|
901
950
|
}, t.create = function(r, n) {
|
|
902
|
-
return new
|
|
951
|
+
return new st(r, n);
|
|
903
952
|
}, t;
|
|
904
|
-
}(
|
|
953
|
+
}(it), st = function(e) {
|
|
905
954
|
I(t, e);
|
|
906
955
|
function t(r, n) {
|
|
907
956
|
var i = e.call(this) || this;
|
|
@@ -918,17 +967,17 @@ var Gr = Bt(function(e) {
|
|
|
918
967
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
919
968
|
}, t.prototype._subscribe = function(r) {
|
|
920
969
|
var n, i;
|
|
921
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
970
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ct;
|
|
922
971
|
}, t;
|
|
923
|
-
}(
|
|
972
|
+
}(Rt), Ut = {
|
|
924
973
|
now: function() {
|
|
925
|
-
return (
|
|
974
|
+
return (Ut.delegate || Date).now();
|
|
926
975
|
},
|
|
927
976
|
delegate: void 0
|
|
928
|
-
},
|
|
977
|
+
}, Xr = function(e) {
|
|
929
978
|
I(t, e);
|
|
930
979
|
function t(r, n, i) {
|
|
931
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
980
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
|
|
932
981
|
var o = e.call(this) || this;
|
|
933
982
|
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;
|
|
934
983
|
}
|
|
@@ -948,15 +997,15 @@ var Gr = Bt(function(e) {
|
|
|
948
997
|
u && o.splice(0, u + 1);
|
|
949
998
|
}
|
|
950
999
|
}, t;
|
|
951
|
-
}(
|
|
952
|
-
const
|
|
953
|
-
if (
|
|
954
|
-
const r = new
|
|
955
|
-
|
|
1000
|
+
}(Rt);
|
|
1001
|
+
const at = [], ut = {}, Wr = (e, t = 0) => {
|
|
1002
|
+
if (at.indexOf(e) == -1) {
|
|
1003
|
+
const r = new Xr(t);
|
|
1004
|
+
ut[e] = r, at.push(e);
|
|
956
1005
|
}
|
|
957
|
-
return
|
|
1006
|
+
return ut[e];
|
|
958
1007
|
}, k = [];
|
|
959
|
-
function
|
|
1008
|
+
function zr(e, t) {
|
|
960
1009
|
return {
|
|
961
1010
|
subscribe: ve(e, t).subscribe
|
|
962
1011
|
};
|
|
@@ -965,7 +1014,7 @@ function ve(e, t = H) {
|
|
|
965
1014
|
let r;
|
|
966
1015
|
const n = /* @__PURE__ */ new Set();
|
|
967
1016
|
function i(a) {
|
|
968
|
-
if (
|
|
1017
|
+
if (wt(e, a) && (e = a, r)) {
|
|
969
1018
|
const h = !k.length;
|
|
970
1019
|
for (const u of n)
|
|
971
1020
|
u[1](), k.push(u, e);
|
|
@@ -992,7 +1041,7 @@ function q(e, t, r) {
|
|
|
992
1041
|
if (!i.every(Boolean))
|
|
993
1042
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
994
1043
|
const o = t.length < 2;
|
|
995
|
-
return
|
|
1044
|
+
return zr(r, (s, a) => {
|
|
996
1045
|
let h = !1;
|
|
997
1046
|
const u = [];
|
|
998
1047
|
let l = 0, c = H;
|
|
@@ -1001,9 +1050,9 @@ function q(e, t, r) {
|
|
|
1001
1050
|
return;
|
|
1002
1051
|
c();
|
|
1003
1052
|
const d = t(n ? u[0] : u, s, a);
|
|
1004
|
-
o ? s(d) : c =
|
|
1053
|
+
o ? s(d) : c = ze(d) ? d : H;
|
|
1005
1054
|
}, m = i.map(
|
|
1006
|
-
(d, p) =>
|
|
1055
|
+
(d, p) => lr(
|
|
1007
1056
|
d,
|
|
1008
1057
|
(S) => {
|
|
1009
1058
|
u[p] = S, l &= ~(1 << p), h && f();
|
|
@@ -1018,70 +1067,70 @@ function q(e, t, r) {
|
|
|
1018
1067
|
};
|
|
1019
1068
|
});
|
|
1020
1069
|
}
|
|
1021
|
-
function
|
|
1070
|
+
function Zr(e) {
|
|
1022
1071
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1023
1072
|
}
|
|
1024
|
-
var
|
|
1025
|
-
return
|
|
1073
|
+
var Qr = function(t) {
|
|
1074
|
+
return Jr(t) && !qr(t);
|
|
1026
1075
|
};
|
|
1027
|
-
function
|
|
1076
|
+
function Jr(e) {
|
|
1028
1077
|
return !!e && typeof e == "object";
|
|
1029
1078
|
}
|
|
1030
|
-
function
|
|
1079
|
+
function qr(e) {
|
|
1031
1080
|
var t = Object.prototype.toString.call(e);
|
|
1032
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1081
|
+
return t === "[object RegExp]" || t === "[object Date]" || en(e);
|
|
1033
1082
|
}
|
|
1034
|
-
var
|
|
1035
|
-
function
|
|
1036
|
-
return e.$$typeof ===
|
|
1083
|
+
var Yr = typeof Symbol == "function" && Symbol.for, Kr = Yr ? Symbol.for("react.element") : 60103;
|
|
1084
|
+
function en(e) {
|
|
1085
|
+
return e.$$typeof === Kr;
|
|
1037
1086
|
}
|
|
1038
|
-
function
|
|
1087
|
+
function tn(e) {
|
|
1039
1088
|
return Array.isArray(e) ? [] : {};
|
|
1040
1089
|
}
|
|
1041
1090
|
function re(e, t) {
|
|
1042
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? z(
|
|
1091
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? z(tn(e), e, t) : e;
|
|
1043
1092
|
}
|
|
1044
|
-
function
|
|
1093
|
+
function rn(e, t, r) {
|
|
1045
1094
|
return e.concat(t).map(function(n) {
|
|
1046
1095
|
return re(n, r);
|
|
1047
1096
|
});
|
|
1048
1097
|
}
|
|
1049
|
-
function
|
|
1098
|
+
function nn(e, t) {
|
|
1050
1099
|
if (!t.customMerge)
|
|
1051
1100
|
return z;
|
|
1052
1101
|
var r = t.customMerge(e);
|
|
1053
1102
|
return typeof r == "function" ? r : z;
|
|
1054
1103
|
}
|
|
1055
|
-
function
|
|
1104
|
+
function on(e) {
|
|
1056
1105
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1057
1106
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1058
1107
|
}) : [];
|
|
1059
1108
|
}
|
|
1060
|
-
function
|
|
1061
|
-
return Object.keys(e).concat(
|
|
1109
|
+
function ht(e) {
|
|
1110
|
+
return Object.keys(e).concat(on(e));
|
|
1062
1111
|
}
|
|
1063
|
-
function
|
|
1112
|
+
function Dt(e, t) {
|
|
1064
1113
|
try {
|
|
1065
1114
|
return t in e;
|
|
1066
1115
|
} catch {
|
|
1067
1116
|
return !1;
|
|
1068
1117
|
}
|
|
1069
1118
|
}
|
|
1070
|
-
function
|
|
1071
|
-
return
|
|
1119
|
+
function sn(e, t) {
|
|
1120
|
+
return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1072
1121
|
}
|
|
1073
|
-
function
|
|
1122
|
+
function an(e, t, r) {
|
|
1074
1123
|
var n = {};
|
|
1075
|
-
return r.isMergeableObject(e) &&
|
|
1124
|
+
return r.isMergeableObject(e) && ht(e).forEach(function(i) {
|
|
1076
1125
|
n[i] = re(e[i], r);
|
|
1077
|
-
}),
|
|
1078
|
-
|
|
1126
|
+
}), ht(t).forEach(function(i) {
|
|
1127
|
+
sn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = nn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
|
|
1079
1128
|
}), n;
|
|
1080
1129
|
}
|
|
1081
1130
|
function z(e, t, r) {
|
|
1082
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1131
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || rn, r.isMergeableObject = r.isMergeableObject || Qr, r.cloneUnlessOtherwiseSpecified = re;
|
|
1083
1132
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1084
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1133
|
+
return o ? n ? r.arrayMerge(e, t, r) : an(e, t, r) : re(t, r);
|
|
1085
1134
|
}
|
|
1086
1135
|
z.all = function(t, r) {
|
|
1087
1136
|
if (!Array.isArray(t))
|
|
@@ -1090,56 +1139,58 @@ z.all = function(t, r) {
|
|
|
1090
1139
|
return z(n, i, r);
|
|
1091
1140
|
}, {});
|
|
1092
1141
|
};
|
|
1093
|
-
var
|
|
1094
|
-
const
|
|
1095
|
-
function
|
|
1096
|
-
var r = t && t.cache ? t.cache :
|
|
1142
|
+
var un = z, hn = un;
|
|
1143
|
+
const ln = /* @__PURE__ */ Zr(hn);
|
|
1144
|
+
function Ae(e, t) {
|
|
1145
|
+
var r = t && t.cache ? t.cache : bn, n = t && t.serializer ? t.serializer : dn, i = t && t.strategy ? t.strategy : fn;
|
|
1097
1146
|
return i(e, {
|
|
1098
1147
|
cache: r,
|
|
1099
1148
|
serializer: n
|
|
1100
1149
|
});
|
|
1101
1150
|
}
|
|
1102
|
-
function
|
|
1151
|
+
function cn(e) {
|
|
1103
1152
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1104
1153
|
}
|
|
1105
|
-
function
|
|
1106
|
-
var i =
|
|
1154
|
+
function Gt(e, t, r, n) {
|
|
1155
|
+
var i = cn(n) ? n : r(n), o = t.get(i);
|
|
1107
1156
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1108
1157
|
}
|
|
1109
|
-
function
|
|
1158
|
+
function Ft(e, t, r) {
|
|
1110
1159
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1111
1160
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1112
1161
|
}
|
|
1113
|
-
function
|
|
1162
|
+
function Ze(e, t, r, n, i) {
|
|
1114
1163
|
return r.bind(t, e, n, i);
|
|
1115
1164
|
}
|
|
1116
|
-
function
|
|
1117
|
-
var r = e.length === 1 ?
|
|
1118
|
-
return
|
|
1165
|
+
function fn(e, t) {
|
|
1166
|
+
var r = e.length === 1 ? Gt : Ft;
|
|
1167
|
+
return Ze(e, this, r, t.cache.create(), t.serializer);
|
|
1168
|
+
}
|
|
1169
|
+
function pn(e, t) {
|
|
1170
|
+
return Ze(e, this, Ft, t.cache.create(), t.serializer);
|
|
1119
1171
|
}
|
|
1120
|
-
function
|
|
1121
|
-
return
|
|
1172
|
+
function mn(e, t) {
|
|
1173
|
+
return Ze(e, this, Gt, t.cache.create(), t.serializer);
|
|
1122
1174
|
}
|
|
1123
|
-
var
|
|
1175
|
+
var dn = function() {
|
|
1124
1176
|
return JSON.stringify(arguments);
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
}()
|
|
1137
|
-
), pn = {
|
|
1177
|
+
};
|
|
1178
|
+
function Qe() {
|
|
1179
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1180
|
+
}
|
|
1181
|
+
Qe.prototype.get = function(e) {
|
|
1182
|
+
return this.cache[e];
|
|
1183
|
+
};
|
|
1184
|
+
Qe.prototype.set = function(e, t) {
|
|
1185
|
+
this.cache[e] = t;
|
|
1186
|
+
};
|
|
1187
|
+
var bn = {
|
|
1138
1188
|
create: function() {
|
|
1139
|
-
return new
|
|
1189
|
+
return new Qe();
|
|
1140
1190
|
}
|
|
1141
|
-
},
|
|
1142
|
-
variadic:
|
|
1191
|
+
}, Pe = {
|
|
1192
|
+
variadic: pn,
|
|
1193
|
+
monadic: mn
|
|
1143
1194
|
}, b;
|
|
1144
1195
|
(function(e) {
|
|
1145
1196
|
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";
|
|
@@ -1152,43 +1203,43 @@ var Z;
|
|
|
1152
1203
|
(function(e) {
|
|
1153
1204
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1154
1205
|
})(Z || (Z = {}));
|
|
1155
|
-
function
|
|
1206
|
+
function lt(e) {
|
|
1156
1207
|
return e.type === _.literal;
|
|
1157
1208
|
}
|
|
1158
|
-
function
|
|
1209
|
+
function gn(e) {
|
|
1159
1210
|
return e.type === _.argument;
|
|
1160
1211
|
}
|
|
1161
|
-
function
|
|
1212
|
+
function kt(e) {
|
|
1162
1213
|
return e.type === _.number;
|
|
1163
1214
|
}
|
|
1164
|
-
function
|
|
1215
|
+
function jt(e) {
|
|
1165
1216
|
return e.type === _.date;
|
|
1166
1217
|
}
|
|
1167
|
-
function
|
|
1218
|
+
function Vt(e) {
|
|
1168
1219
|
return e.type === _.time;
|
|
1169
1220
|
}
|
|
1170
|
-
function
|
|
1221
|
+
function Xt(e) {
|
|
1171
1222
|
return e.type === _.select;
|
|
1172
1223
|
}
|
|
1173
|
-
function
|
|
1224
|
+
function Wt(e) {
|
|
1174
1225
|
return e.type === _.plural;
|
|
1175
1226
|
}
|
|
1176
|
-
function
|
|
1227
|
+
function yn(e) {
|
|
1177
1228
|
return e.type === _.pound;
|
|
1178
1229
|
}
|
|
1179
|
-
function
|
|
1230
|
+
function zt(e) {
|
|
1180
1231
|
return e.type === _.tag;
|
|
1181
1232
|
}
|
|
1182
|
-
function
|
|
1233
|
+
function Zt(e) {
|
|
1183
1234
|
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
1184
1235
|
}
|
|
1185
|
-
function
|
|
1236
|
+
function De(e) {
|
|
1186
1237
|
return !!(e && typeof e == "object" && e.type === Z.dateTime);
|
|
1187
1238
|
}
|
|
1188
|
-
var
|
|
1189
|
-
function
|
|
1239
|
+
var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, vn = /(?:[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;
|
|
1240
|
+
function _n(e) {
|
|
1190
1241
|
var t = {};
|
|
1191
|
-
return e.replace(
|
|
1242
|
+
return e.replace(vn, function(r) {
|
|
1192
1243
|
var n = r.length;
|
|
1193
1244
|
switch (r[0]) {
|
|
1194
1245
|
case "G":
|
|
@@ -1277,11 +1328,11 @@ function gn(e) {
|
|
|
1277
1328
|
return "";
|
|
1278
1329
|
}), t;
|
|
1279
1330
|
}
|
|
1280
|
-
var
|
|
1281
|
-
function
|
|
1331
|
+
var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1332
|
+
function En(e) {
|
|
1282
1333
|
if (e.length === 0)
|
|
1283
1334
|
throw new Error("Number skeleton cannot be empty");
|
|
1284
|
-
for (var t = e.split(
|
|
1335
|
+
for (var t = e.split(xn).filter(function(f) {
|
|
1285
1336
|
return f.length > 0;
|
|
1286
1337
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1287
1338
|
var o = i[n], s = o.split("/");
|
|
@@ -1296,17 +1347,17 @@ function vn(e) {
|
|
|
1296
1347
|
}
|
|
1297
1348
|
return r;
|
|
1298
1349
|
}
|
|
1299
|
-
function
|
|
1350
|
+
function Sn(e) {
|
|
1300
1351
|
return e.replace(/^(.*?)-/, "");
|
|
1301
1352
|
}
|
|
1302
|
-
var
|
|
1303
|
-
function
|
|
1353
|
+
var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
|
|
1354
|
+
function ft(e) {
|
|
1304
1355
|
var t = {};
|
|
1305
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1356
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
|
|
1306
1357
|
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)), "";
|
|
1307
1358
|
}), t;
|
|
1308
1359
|
}
|
|
1309
|
-
function
|
|
1360
|
+
function Yt(e) {
|
|
1310
1361
|
switch (e) {
|
|
1311
1362
|
case "sign-auto":
|
|
1312
1363
|
return {
|
|
@@ -1346,7 +1397,7 @@ function Zt(e) {
|
|
|
1346
1397
|
};
|
|
1347
1398
|
}
|
|
1348
1399
|
}
|
|
1349
|
-
function
|
|
1400
|
+
function Hn(e) {
|
|
1350
1401
|
var t;
|
|
1351
1402
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1352
1403
|
notation: "engineering"
|
|
@@ -1354,17 +1405,17 @@ function En(e) {
|
|
|
1354
1405
|
notation: "scientific"
|
|
1355
1406
|
}, e = e.slice(1)), t) {
|
|
1356
1407
|
var r = e.slice(0, 2);
|
|
1357
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1408
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
|
|
1358
1409
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1359
1410
|
t.minimumIntegerDigits = e.length;
|
|
1360
1411
|
}
|
|
1361
1412
|
return t;
|
|
1362
1413
|
}
|
|
1363
|
-
function
|
|
1364
|
-
var t = {}, r =
|
|
1414
|
+
function pt(e) {
|
|
1415
|
+
var t = {}, r = Yt(e);
|
|
1365
1416
|
return r || t;
|
|
1366
1417
|
}
|
|
1367
|
-
function
|
|
1418
|
+
function An(e) {
|
|
1368
1419
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1369
1420
|
var i = n[r];
|
|
1370
1421
|
switch (i.stem) {
|
|
@@ -1388,7 +1439,7 @@ function Sn(e) {
|
|
|
1388
1439
|
continue;
|
|
1389
1440
|
case "measure-unit":
|
|
1390
1441
|
case "unit":
|
|
1391
|
-
t.style = "unit", t.unit =
|
|
1442
|
+
t.style = "unit", t.unit = Sn(i.options[0]);
|
|
1392
1443
|
continue;
|
|
1393
1444
|
case "compact-short":
|
|
1394
1445
|
case "K":
|
|
@@ -1400,12 +1451,12 @@ function Sn(e) {
|
|
|
1400
1451
|
continue;
|
|
1401
1452
|
case "scientific":
|
|
1402
1453
|
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1403
|
-
return v(v({}, h),
|
|
1454
|
+
return v(v({}, h), pt(u));
|
|
1404
1455
|
}, {}));
|
|
1405
1456
|
continue;
|
|
1406
1457
|
case "engineering":
|
|
1407
1458
|
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1408
|
-
return v(v({}, h),
|
|
1459
|
+
return v(v({}, h), pt(u));
|
|
1409
1460
|
}, {}));
|
|
1410
1461
|
continue;
|
|
1411
1462
|
case "notation-simple":
|
|
@@ -1450,7 +1501,7 @@ function Sn(e) {
|
|
|
1450
1501
|
case "integer-width":
|
|
1451
1502
|
if (i.options.length > 1)
|
|
1452
1503
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1453
|
-
i.options[0].replace(
|
|
1504
|
+
i.options[0].replace(Tn, function(h, u, l, c, f, m) {
|
|
1454
1505
|
if (u)
|
|
1455
1506
|
t.minimumIntegerDigits = l.length;
|
|
1456
1507
|
else {
|
|
@@ -1463,27 +1514,27 @@ function Sn(e) {
|
|
|
1463
1514
|
});
|
|
1464
1515
|
continue;
|
|
1465
1516
|
}
|
|
1466
|
-
if (
|
|
1517
|
+
if (qt.test(i.stem)) {
|
|
1467
1518
|
t.minimumIntegerDigits = i.stem.length;
|
|
1468
1519
|
continue;
|
|
1469
1520
|
}
|
|
1470
|
-
if (
|
|
1521
|
+
if (ct.test(i.stem)) {
|
|
1471
1522
|
if (i.options.length > 1)
|
|
1472
1523
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1473
|
-
i.stem.replace(
|
|
1524
|
+
i.stem.replace(ct, function(h, u, l, c, f, m) {
|
|
1474
1525
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1475
1526
|
});
|
|
1476
1527
|
var o = i.options[0];
|
|
1477
|
-
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t),
|
|
1528
|
+
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), ft(o)));
|
|
1478
1529
|
continue;
|
|
1479
1530
|
}
|
|
1480
|
-
if (
|
|
1481
|
-
t = v(v({}, t),
|
|
1531
|
+
if (Jt.test(i.stem)) {
|
|
1532
|
+
t = v(v({}, t), ft(i.stem));
|
|
1482
1533
|
continue;
|
|
1483
1534
|
}
|
|
1484
|
-
var s =
|
|
1535
|
+
var s = Yt(i.stem);
|
|
1485
1536
|
s && (t = v(v({}, t), s));
|
|
1486
|
-
var a =
|
|
1537
|
+
var a = Hn(i.stem);
|
|
1487
1538
|
a && (t = v(v({}, t), a));
|
|
1488
1539
|
}
|
|
1489
1540
|
return t;
|
|
@@ -2903,22 +2954,23 @@ var he = {
|
|
|
2903
2954
|
"h"
|
|
2904
2955
|
]
|
|
2905
2956
|
};
|
|
2906
|
-
function
|
|
2957
|
+
function Pn(e, t) {
|
|
2907
2958
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2908
2959
|
var i = e.charAt(n);
|
|
2909
2960
|
if (i === "j") {
|
|
2910
2961
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2911
2962
|
o++, n++;
|
|
2912
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2963
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = wn(t);
|
|
2913
2964
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2914
2965
|
r += h;
|
|
2915
2966
|
for (; s-- > 0; )
|
|
2916
2967
|
r = u + r;
|
|
2917
|
-
} else
|
|
2968
|
+
} else
|
|
2969
|
+
i === "J" ? r += "H" : r += i;
|
|
2918
2970
|
}
|
|
2919
2971
|
return r;
|
|
2920
2972
|
}
|
|
2921
|
-
function
|
|
2973
|
+
function wn(e) {
|
|
2922
2974
|
var t = e.hourCycle;
|
|
2923
2975
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2924
2976
|
e.hourCycles && // @ts-ignore
|
|
@@ -2940,20 +2992,20 @@ function Hn(e) {
|
|
|
2940
2992
|
var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
|
|
2941
2993
|
return i[0];
|
|
2942
2994
|
}
|
|
2943
|
-
var
|
|
2995
|
+
var we, Bn = new RegExp("^".concat(Qt.source, "*")), Nn = new RegExp("".concat(Qt.source, "*$"));
|
|
2944
2996
|
function g(e, t) {
|
|
2945
2997
|
return { start: e, end: t };
|
|
2946
2998
|
}
|
|
2947
|
-
var
|
|
2999
|
+
var On = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Cn = !!Object.fromEntries, Ln = !!String.prototype.codePointAt, Mn = !!String.prototype.trimStart, $n = !!String.prototype.trimEnd, Rn = !!Number.isSafeInteger, Un = Rn ? Number.isSafeInteger : function(e) {
|
|
2948
3000
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2949
|
-
},
|
|
3001
|
+
}, Ge = !0;
|
|
2950
3002
|
try {
|
|
2951
|
-
var
|
|
2952
|
-
|
|
3003
|
+
var Dn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3004
|
+
Ge = ((we = Dn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
|
|
2953
3005
|
} catch {
|
|
2954
|
-
|
|
3006
|
+
Ge = !1;
|
|
2955
3007
|
}
|
|
2956
|
-
var
|
|
3008
|
+
var mt = On ? (
|
|
2957
3009
|
// Native
|
|
2958
3010
|
function(t, r, n) {
|
|
2959
3011
|
return t.startsWith(r, n);
|
|
@@ -2963,7 +3015,7 @@ var ct = wn ? (
|
|
|
2963
3015
|
function(t, r, n) {
|
|
2964
3016
|
return t.slice(n, n + r.length) === r;
|
|
2965
3017
|
}
|
|
2966
|
-
),
|
|
3018
|
+
), Fe = In ? String.fromCodePoint : (
|
|
2967
3019
|
// IE11
|
|
2968
3020
|
function() {
|
|
2969
3021
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2975,9 +3027,9 @@ var ct = wn ? (
|
|
|
2975
3027
|
}
|
|
2976
3028
|
return n;
|
|
2977
3029
|
}
|
|
2978
|
-
),
|
|
3030
|
+
), dt = (
|
|
2979
3031
|
// native
|
|
2980
|
-
|
|
3032
|
+
Cn ? Object.fromEntries : (
|
|
2981
3033
|
// Ponyfill
|
|
2982
3034
|
function(t) {
|
|
2983
3035
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2987,7 +3039,7 @@ var ct = wn ? (
|
|
|
2987
3039
|
return r;
|
|
2988
3040
|
}
|
|
2989
3041
|
)
|
|
2990
|
-
),
|
|
3042
|
+
), Kt = Ln ? (
|
|
2991
3043
|
// Native
|
|
2992
3044
|
function(t, r) {
|
|
2993
3045
|
return t.codePointAt(r);
|
|
@@ -3001,7 +3053,7 @@ var ct = wn ? (
|
|
|
3001
3053
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3002
3054
|
}
|
|
3003
3055
|
}
|
|
3004
|
-
),
|
|
3056
|
+
), Gn = Mn ? (
|
|
3005
3057
|
// Native
|
|
3006
3058
|
function(t) {
|
|
3007
3059
|
return t.trimStart();
|
|
@@ -3009,9 +3061,9 @@ var ct = wn ? (
|
|
|
3009
3061
|
) : (
|
|
3010
3062
|
// Ponyfill
|
|
3011
3063
|
function(t) {
|
|
3012
|
-
return t.replace(
|
|
3064
|
+
return t.replace(Bn, "");
|
|
3013
3065
|
}
|
|
3014
|
-
),
|
|
3066
|
+
), Fn = $n ? (
|
|
3015
3067
|
// Native
|
|
3016
3068
|
function(t) {
|
|
3017
3069
|
return t.trimEnd();
|
|
@@ -3019,32 +3071,32 @@ var ct = wn ? (
|
|
|
3019
3071
|
) : (
|
|
3020
3072
|
// Ponyfill
|
|
3021
3073
|
function(t) {
|
|
3022
|
-
return t.replace(
|
|
3074
|
+
return t.replace(Nn, "");
|
|
3023
3075
|
}
|
|
3024
3076
|
);
|
|
3025
|
-
function
|
|
3077
|
+
function er(e, t) {
|
|
3026
3078
|
return new RegExp(e, t);
|
|
3027
3079
|
}
|
|
3028
|
-
var
|
|
3029
|
-
if (
|
|
3030
|
-
var
|
|
3031
|
-
|
|
3080
|
+
var ke;
|
|
3081
|
+
if (Ge) {
|
|
3082
|
+
var bt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3083
|
+
ke = function(t, r) {
|
|
3032
3084
|
var n;
|
|
3033
|
-
|
|
3034
|
-
var i =
|
|
3085
|
+
bt.lastIndex = r;
|
|
3086
|
+
var i = bt.exec(t);
|
|
3035
3087
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3036
3088
|
};
|
|
3037
3089
|
} else
|
|
3038
|
-
|
|
3090
|
+
ke = function(t, r) {
|
|
3039
3091
|
for (var n = []; ; ) {
|
|
3040
|
-
var i =
|
|
3041
|
-
if (i === void 0 ||
|
|
3092
|
+
var i = Kt(t, r);
|
|
3093
|
+
if (i === void 0 || tr(i) || Xn(i))
|
|
3042
3094
|
break;
|
|
3043
3095
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3044
3096
|
}
|
|
3045
|
-
return
|
|
3097
|
+
return Fe.apply(void 0, n);
|
|
3046
3098
|
};
|
|
3047
|
-
var
|
|
3099
|
+
var kn = (
|
|
3048
3100
|
/** @class */
|
|
3049
3101
|
function() {
|
|
3050
3102
|
function e(t, r) {
|
|
@@ -3075,7 +3127,7 @@ var Dn = (
|
|
|
3075
3127
|
if (n)
|
|
3076
3128
|
break;
|
|
3077
3129
|
return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3078
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3130
|
+
} else if (o === 60 && !this.ignoreTag && je(this.peek() || 0)) {
|
|
3079
3131
|
var s = this.parseTag(t, r);
|
|
3080
3132
|
if (s.err)
|
|
3081
3133
|
return s;
|
|
@@ -3108,7 +3160,7 @@ var Dn = (
|
|
|
3108
3160
|
return o;
|
|
3109
3161
|
var s = o.val, a = this.clonePosition();
|
|
3110
3162
|
if (this.bumpIf("</")) {
|
|
3111
|
-
if (this.isEOF() || !
|
|
3163
|
+
if (this.isEOF() || !je(this.char()))
|
|
3112
3164
|
return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
|
|
3113
3165
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3114
3166
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3126,7 +3178,7 @@ var Dn = (
|
|
|
3126
3178
|
return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
|
|
3127
3179
|
}, e.prototype.parseTagName = function() {
|
|
3128
3180
|
var t = this.offset();
|
|
3129
|
-
for (this.bump(); !this.isEOF() &&
|
|
3181
|
+
for (this.bump(); !this.isEOF() && Vn(this.char()); )
|
|
3130
3182
|
this.bump();
|
|
3131
3183
|
return this.message.slice(t, this.offset());
|
|
3132
3184
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3155,7 +3207,7 @@ var Dn = (
|
|
|
3155
3207
|
};
|
|
3156
3208
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3157
3209
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3158
|
-
!
|
|
3210
|
+
!jn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3159
3211
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3160
3212
|
if (this.isEOF() || this.char() !== 39)
|
|
3161
3213
|
return null;
|
|
@@ -3189,12 +3241,12 @@ var Dn = (
|
|
|
3189
3241
|
r.push(n);
|
|
3190
3242
|
this.bump();
|
|
3191
3243
|
}
|
|
3192
|
-
return
|
|
3244
|
+
return Fe.apply(void 0, r);
|
|
3193
3245
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3194
3246
|
if (this.isEOF())
|
|
3195
3247
|
return null;
|
|
3196
3248
|
var n = this.char();
|
|
3197
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3249
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
|
|
3198
3250
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3199
3251
|
var n = this.clonePosition();
|
|
3200
3252
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3223,7 +3275,7 @@ var Dn = (
|
|
|
3223
3275
|
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3224
3276
|
}
|
|
3225
3277
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3226
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3278
|
+
var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
|
|
3227
3279
|
this.bumpTo(i);
|
|
3228
3280
|
var o = this.clonePosition(), s = g(t, o);
|
|
3229
3281
|
return { value: n, location: s };
|
|
@@ -3242,7 +3294,7 @@ var Dn = (
|
|
|
3242
3294
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3243
3295
|
if (c.err)
|
|
3244
3296
|
return c;
|
|
3245
|
-
var f =
|
|
3297
|
+
var f = Fn(c.val);
|
|
3246
3298
|
if (f.length === 0)
|
|
3247
3299
|
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3248
3300
|
var m = g(l, this.clonePosition());
|
|
@@ -3252,8 +3304,8 @@ var Dn = (
|
|
|
3252
3304
|
if (d.err)
|
|
3253
3305
|
return d;
|
|
3254
3306
|
var p = g(i, this.clonePosition());
|
|
3255
|
-
if (u &&
|
|
3256
|
-
var S =
|
|
3307
|
+
if (u && mt(u?.style, "::", 0)) {
|
|
3308
|
+
var S = Gn(u.style.slice(2));
|
|
3257
3309
|
if (a === "number") {
|
|
3258
3310
|
var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
3259
3311
|
return c.err ? c : {
|
|
@@ -3264,12 +3316,12 @@ var Dn = (
|
|
|
3264
3316
|
if (S.length === 0)
|
|
3265
3317
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
|
|
3266
3318
|
var $ = S;
|
|
3267
|
-
this.locale && ($ =
|
|
3319
|
+
this.locale && ($ = Pn(S, this.locale));
|
|
3268
3320
|
var f = {
|
|
3269
3321
|
type: Z.dateTime,
|
|
3270
3322
|
pattern: $,
|
|
3271
3323
|
location: u.styleLocation,
|
|
3272
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3324
|
+
parsedOptions: this.shouldParseSkeletons ? _n($) : {}
|
|
3273
3325
|
}, C = a === "date" ? _.date : _.time;
|
|
3274
3326
|
return {
|
|
3275
3327
|
val: { type: C, value: n, location: p, style: f },
|
|
@@ -3315,7 +3367,7 @@ var Dn = (
|
|
|
3315
3367
|
val: {
|
|
3316
3368
|
type: _.select,
|
|
3317
3369
|
value: n,
|
|
3318
|
-
options:
|
|
3370
|
+
options: dt(D.val),
|
|
3319
3371
|
location: y
|
|
3320
3372
|
},
|
|
3321
3373
|
err: null
|
|
@@ -3323,7 +3375,7 @@ var Dn = (
|
|
|
3323
3375
|
val: {
|
|
3324
3376
|
type: _.plural,
|
|
3325
3377
|
value: n,
|
|
3326
|
-
options:
|
|
3378
|
+
options: dt(D.val),
|
|
3327
3379
|
offset: w,
|
|
3328
3380
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3329
3381
|
location: y
|
|
@@ -3374,7 +3426,7 @@ var Dn = (
|
|
|
3374
3426
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3375
3427
|
var n = [];
|
|
3376
3428
|
try {
|
|
3377
|
-
n =
|
|
3429
|
+
n = En(t);
|
|
3378
3430
|
} catch {
|
|
3379
3431
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3380
3432
|
}
|
|
@@ -3383,7 +3435,7 @@ var Dn = (
|
|
|
3383
3435
|
type: Z.number,
|
|
3384
3436
|
tokens: n,
|
|
3385
3437
|
location: r,
|
|
3386
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3438
|
+
parsedOptions: this.shouldParseSkeletons ? An(n) : {}
|
|
3387
3439
|
},
|
|
3388
3440
|
err: null
|
|
3389
3441
|
};
|
|
@@ -3431,7 +3483,7 @@ var Dn = (
|
|
|
3431
3483
|
break;
|
|
3432
3484
|
}
|
|
3433
3485
|
var h = g(i, this.clonePosition());
|
|
3434
|
-
return o ? (s *= n,
|
|
3486
|
+
return o ? (s *= n, Un(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3435
3487
|
}, e.prototype.offset = function() {
|
|
3436
3488
|
return this.position.offset;
|
|
3437
3489
|
}, e.prototype.isEOF = function() {
|
|
@@ -3446,7 +3498,7 @@ var Dn = (
|
|
|
3446
3498
|
var t = this.position.offset;
|
|
3447
3499
|
if (t >= this.message.length)
|
|
3448
3500
|
throw Error("out of bound");
|
|
3449
|
-
var r =
|
|
3501
|
+
var r = Kt(this.message, t);
|
|
3450
3502
|
if (r === void 0)
|
|
3451
3503
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3452
3504
|
return r;
|
|
@@ -3465,7 +3517,7 @@ var Dn = (
|
|
|
3465
3517
|
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);
|
|
3466
3518
|
}
|
|
3467
3519
|
}, e.prototype.bumpIf = function(t) {
|
|
3468
|
-
if (
|
|
3520
|
+
if (mt(this.message, t, this.offset())) {
|
|
3469
3521
|
for (var r = 0; r < t.length; r++)
|
|
3470
3522
|
this.bump();
|
|
3471
3523
|
return !0;
|
|
@@ -3487,7 +3539,7 @@ var Dn = (
|
|
|
3487
3539
|
break;
|
|
3488
3540
|
}
|
|
3489
3541
|
}, e.prototype.bumpSpace = function() {
|
|
3490
|
-
for (; !this.isEOF() &&
|
|
3542
|
+
for (; !this.isEOF() && tr(this.char()); )
|
|
3491
3543
|
this.bump();
|
|
3492
3544
|
}, e.prototype.peek = function() {
|
|
3493
3545
|
if (this.isEOF())
|
|
@@ -3497,37 +3549,38 @@ var Dn = (
|
|
|
3497
3549
|
}, e;
|
|
3498
3550
|
}()
|
|
3499
3551
|
);
|
|
3500
|
-
function
|
|
3552
|
+
function je(e) {
|
|
3501
3553
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3502
3554
|
}
|
|
3503
|
-
function
|
|
3504
|
-
return
|
|
3555
|
+
function jn(e) {
|
|
3556
|
+
return je(e) || e === 47;
|
|
3505
3557
|
}
|
|
3506
|
-
function
|
|
3558
|
+
function Vn(e) {
|
|
3507
3559
|
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;
|
|
3508
3560
|
}
|
|
3509
|
-
function
|
|
3561
|
+
function tr(e) {
|
|
3510
3562
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3511
3563
|
}
|
|
3512
|
-
function
|
|
3564
|
+
function Xn(e) {
|
|
3513
3565
|
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;
|
|
3514
3566
|
}
|
|
3515
|
-
function
|
|
3567
|
+
function Ve(e) {
|
|
3516
3568
|
e.forEach(function(t) {
|
|
3517
|
-
if (delete t.location,
|
|
3569
|
+
if (delete t.location, Xt(t) || Wt(t))
|
|
3518
3570
|
for (var r in t.options)
|
|
3519
|
-
delete t.options[r].location,
|
|
3520
|
-
else
|
|
3571
|
+
delete t.options[r].location, Ve(t.options[r].value);
|
|
3572
|
+
else
|
|
3573
|
+
kt(t) && Zt(t.style) || (jt(t) || Vt(t)) && De(t.style) ? delete t.style.location : zt(t) && Ve(t.children);
|
|
3521
3574
|
});
|
|
3522
3575
|
}
|
|
3523
|
-
function
|
|
3576
|
+
function Wn(e, t) {
|
|
3524
3577
|
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3525
|
-
var r = new
|
|
3578
|
+
var r = new kn(e, t).parse();
|
|
3526
3579
|
if (r.err) {
|
|
3527
3580
|
var n = SyntaxError(b[r.err.kind]);
|
|
3528
3581
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3529
3582
|
}
|
|
3530
|
-
return t?.captureLocation ||
|
|
3583
|
+
return t?.captureLocation || Ve(r.val), r.val;
|
|
3531
3584
|
}
|
|
3532
3585
|
var Q;
|
|
3533
3586
|
(function(e) {
|
|
@@ -3545,7 +3598,7 @@ var _e = (
|
|
|
3545
3598
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3546
3599
|
}, t;
|
|
3547
3600
|
}(Error)
|
|
3548
|
-
),
|
|
3601
|
+
), gt = (
|
|
3549
3602
|
/** @class */
|
|
3550
3603
|
function(e) {
|
|
3551
3604
|
I(t, e);
|
|
@@ -3554,7 +3607,7 @@ var _e = (
|
|
|
3554
3607
|
}
|
|
3555
3608
|
return t;
|
|
3556
3609
|
}(_e)
|
|
3557
|
-
),
|
|
3610
|
+
), zn = (
|
|
3558
3611
|
/** @class */
|
|
3559
3612
|
function(e) {
|
|
3560
3613
|
I(t, e);
|
|
@@ -3563,7 +3616,7 @@ var _e = (
|
|
|
3563
3616
|
}
|
|
3564
3617
|
return t;
|
|
3565
3618
|
}(_e)
|
|
3566
|
-
),
|
|
3619
|
+
), Zn = (
|
|
3567
3620
|
/** @class */
|
|
3568
3621
|
function(e) {
|
|
3569
3622
|
I(t, e);
|
|
@@ -3576,17 +3629,17 @@ var _e = (
|
|
|
3576
3629
|
(function(e) {
|
|
3577
3630
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3578
3631
|
})(E || (E = {}));
|
|
3579
|
-
function
|
|
3632
|
+
function Qn(e) {
|
|
3580
3633
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3581
3634
|
var n = t[t.length - 1];
|
|
3582
3635
|
return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
|
|
3583
3636
|
}, []);
|
|
3584
3637
|
}
|
|
3585
|
-
function
|
|
3638
|
+
function Jn(e) {
|
|
3586
3639
|
return typeof e == "function";
|
|
3587
3640
|
}
|
|
3588
3641
|
function pe(e, t, r, n, i, o, s) {
|
|
3589
|
-
if (e.length === 1 &&
|
|
3642
|
+
if (e.length === 1 && lt(e[0]))
|
|
3590
3643
|
return [
|
|
3591
3644
|
{
|
|
3592
3645
|
type: E.literal,
|
|
@@ -3595,14 +3648,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3595
3648
|
];
|
|
3596
3649
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3597
3650
|
var l = u[h];
|
|
3598
|
-
if (
|
|
3651
|
+
if (lt(l)) {
|
|
3599
3652
|
a.push({
|
|
3600
3653
|
type: E.literal,
|
|
3601
3654
|
value: l.value
|
|
3602
3655
|
});
|
|
3603
3656
|
continue;
|
|
3604
3657
|
}
|
|
3605
|
-
if (
|
|
3658
|
+
if (yn(l)) {
|
|
3606
3659
|
typeof o == "number" && a.push({
|
|
3607
3660
|
type: E.literal,
|
|
3608
3661
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3611,43 +3664,43 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3611
3664
|
}
|
|
3612
3665
|
var c = l.value;
|
|
3613
3666
|
if (!(i && c in i))
|
|
3614
|
-
throw new
|
|
3667
|
+
throw new Zn(c, s);
|
|
3615
3668
|
var f = i[c];
|
|
3616
|
-
if (
|
|
3669
|
+
if (gn(l)) {
|
|
3617
3670
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3618
3671
|
type: typeof f == "string" ? E.literal : E.object,
|
|
3619
3672
|
value: f
|
|
3620
3673
|
});
|
|
3621
3674
|
continue;
|
|
3622
3675
|
}
|
|
3623
|
-
if (
|
|
3624
|
-
var m = typeof l.style == "string" ? n.date[l.style] :
|
|
3676
|
+
if (jt(l)) {
|
|
3677
|
+
var m = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
|
|
3625
3678
|
a.push({
|
|
3626
3679
|
type: E.literal,
|
|
3627
3680
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3628
3681
|
});
|
|
3629
3682
|
continue;
|
|
3630
3683
|
}
|
|
3631
|
-
if (
|
|
3632
|
-
var m = typeof l.style == "string" ? n.time[l.style] :
|
|
3684
|
+
if (Vt(l)) {
|
|
3685
|
+
var m = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3633
3686
|
a.push({
|
|
3634
3687
|
type: E.literal,
|
|
3635
3688
|
value: r.getDateTimeFormat(t, m).format(f)
|
|
3636
3689
|
});
|
|
3637
3690
|
continue;
|
|
3638
3691
|
}
|
|
3639
|
-
if (
|
|
3640
|
-
var m = typeof l.style == "string" ? n.number[l.style] :
|
|
3692
|
+
if (kt(l)) {
|
|
3693
|
+
var m = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
|
|
3641
3694
|
m && m.scale && (f = f * (m.scale || 1)), a.push({
|
|
3642
3695
|
type: E.literal,
|
|
3643
3696
|
value: r.getNumberFormat(t, m).format(f)
|
|
3644
3697
|
});
|
|
3645
3698
|
continue;
|
|
3646
3699
|
}
|
|
3647
|
-
if (
|
|
3700
|
+
if (zt(l)) {
|
|
3648
3701
|
var d = l.children, p = l.value, S = i[p];
|
|
3649
|
-
if (!
|
|
3650
|
-
throw new
|
|
3702
|
+
if (!Jn(S))
|
|
3703
|
+
throw new zn(p, "function", s);
|
|
3651
3704
|
var $ = pe(d, t, r, n, i, o), C = S($.map(function(w) {
|
|
3652
3705
|
return w.value;
|
|
3653
3706
|
}));
|
|
@@ -3658,14 +3711,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3658
3711
|
};
|
|
3659
3712
|
}));
|
|
3660
3713
|
}
|
|
3661
|
-
if (
|
|
3714
|
+
if (Xt(l)) {
|
|
3662
3715
|
var A = l.options[f] || l.options.other;
|
|
3663
3716
|
if (!A)
|
|
3664
|
-
throw new
|
|
3717
|
+
throw new gt(l.value, f, Object.keys(l.options), s);
|
|
3665
3718
|
a.push.apply(a, pe(A.value, t, r, n, i));
|
|
3666
3719
|
continue;
|
|
3667
3720
|
}
|
|
3668
|
-
if (
|
|
3721
|
+
if (Wt(l)) {
|
|
3669
3722
|
var A = l.options["=".concat(f)];
|
|
3670
3723
|
if (!A) {
|
|
3671
3724
|
if (!Intl.PluralRules)
|
|
@@ -3676,24 +3729,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3676
3729
|
A = l.options[R] || l.options.other;
|
|
3677
3730
|
}
|
|
3678
3731
|
if (!A)
|
|
3679
|
-
throw new
|
|
3732
|
+
throw new gt(l.value, f, Object.keys(l.options), s);
|
|
3680
3733
|
a.push.apply(a, pe(A.value, t, r, n, i, f - (l.offset || 0)));
|
|
3681
3734
|
continue;
|
|
3682
3735
|
}
|
|
3683
3736
|
}
|
|
3684
|
-
return
|
|
3737
|
+
return Qn(a);
|
|
3685
3738
|
}
|
|
3686
|
-
function
|
|
3739
|
+
function qn(e, t) {
|
|
3687
3740
|
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3688
3741
|
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
3689
3742
|
}, {})) : e;
|
|
3690
3743
|
}
|
|
3691
|
-
function
|
|
3744
|
+
function Yn(e, t) {
|
|
3692
3745
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3693
|
-
return r[n] =
|
|
3746
|
+
return r[n] = qn(e[n], t[n]), r;
|
|
3694
3747
|
}, v({}, e)) : e;
|
|
3695
3748
|
}
|
|
3696
|
-
function
|
|
3749
|
+
function Be(e) {
|
|
3697
3750
|
return {
|
|
3698
3751
|
create: function() {
|
|
3699
3752
|
return {
|
|
@@ -3707,39 +3760,39 @@ function we(e) {
|
|
|
3707
3760
|
}
|
|
3708
3761
|
};
|
|
3709
3762
|
}
|
|
3710
|
-
function
|
|
3763
|
+
function Kn(e) {
|
|
3711
3764
|
return e === void 0 && (e = {
|
|
3712
3765
|
number: {},
|
|
3713
3766
|
dateTime: {},
|
|
3714
3767
|
pluralRules: {}
|
|
3715
3768
|
}), {
|
|
3716
|
-
getNumberFormat:
|
|
3769
|
+
getNumberFormat: Ae(function() {
|
|
3717
3770
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3718
3771
|
r[n] = arguments[n];
|
|
3719
3772
|
return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
3720
3773
|
}, {
|
|
3721
|
-
cache:
|
|
3722
|
-
strategy:
|
|
3774
|
+
cache: Be(e.number),
|
|
3775
|
+
strategy: Pe.variadic
|
|
3723
3776
|
}),
|
|
3724
|
-
getDateTimeFormat:
|
|
3777
|
+
getDateTimeFormat: Ae(function() {
|
|
3725
3778
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3726
3779
|
r[n] = arguments[n];
|
|
3727
3780
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
3728
3781
|
}, {
|
|
3729
|
-
cache:
|
|
3730
|
-
strategy:
|
|
3782
|
+
cache: Be(e.dateTime),
|
|
3783
|
+
strategy: Pe.variadic
|
|
3731
3784
|
}),
|
|
3732
|
-
getPluralRules:
|
|
3785
|
+
getPluralRules: Ae(function() {
|
|
3733
3786
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3734
3787
|
r[n] = arguments[n];
|
|
3735
3788
|
return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
|
|
3736
3789
|
}, {
|
|
3737
|
-
cache:
|
|
3738
|
-
strategy:
|
|
3790
|
+
cache: Be(e.pluralRules),
|
|
3791
|
+
strategy: Pe.variadic
|
|
3739
3792
|
})
|
|
3740
3793
|
};
|
|
3741
3794
|
}
|
|
3742
|
-
var
|
|
3795
|
+
var ei = (
|
|
3743
3796
|
/** @class */
|
|
3744
3797
|
function() {
|
|
3745
3798
|
function e(t, r, n, i) {
|
|
@@ -3771,13 +3824,13 @@ var qn = (
|
|
|
3771
3824
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3772
3825
|
var s = i || {};
|
|
3773
3826
|
s.formatters;
|
|
3774
|
-
var a =
|
|
3827
|
+
var a = Ir(s, ["formatters"]);
|
|
3775
3828
|
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
|
3776
3829
|
} else
|
|
3777
3830
|
this.ast = t;
|
|
3778
3831
|
if (!Array.isArray(this.ast))
|
|
3779
3832
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3780
|
-
this.formats =
|
|
3833
|
+
this.formats = Yn(e.formats, n), this.formatters = i && i.formatters || Kn(this.formatterCache);
|
|
3781
3834
|
}
|
|
3782
3835
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3783
3836
|
get: function() {
|
|
@@ -3790,7 +3843,7 @@ var qn = (
|
|
|
3790
3843
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3791
3844
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3792
3845
|
}
|
|
3793
|
-
}, e.__parse =
|
|
3846
|
+
}, e.__parse = Wn, e.formats = {
|
|
3794
3847
|
number: {
|
|
3795
3848
|
integer: {
|
|
3796
3849
|
maximumFractionDigits: 0
|
|
@@ -3851,7 +3904,7 @@ var qn = (
|
|
|
3851
3904
|
}, e;
|
|
3852
3905
|
}()
|
|
3853
3906
|
);
|
|
3854
|
-
function
|
|
3907
|
+
function ti(e, t) {
|
|
3855
3908
|
if (t == null)
|
|
3856
3909
|
return;
|
|
3857
3910
|
if (t in e)
|
|
@@ -3872,92 +3925,92 @@ function Yn(e, t) {
|
|
|
3872
3925
|
n = void 0;
|
|
3873
3926
|
return n;
|
|
3874
3927
|
}
|
|
3875
|
-
const L = {},
|
|
3928
|
+
const L = {}, ri = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), rr = (e, t) => {
|
|
3876
3929
|
if (t == null)
|
|
3877
3930
|
return;
|
|
3878
3931
|
if (t in L && e in L[t])
|
|
3879
3932
|
return L[t][e];
|
|
3880
3933
|
const r = xe(t);
|
|
3881
3934
|
for (let n = 0; n < r.length; n++) {
|
|
3882
|
-
const i = r[n], o =
|
|
3935
|
+
const i = r[n], o = ii(i, e);
|
|
3883
3936
|
if (o)
|
|
3884
|
-
return
|
|
3937
|
+
return ri(e, t, o);
|
|
3885
3938
|
}
|
|
3886
3939
|
};
|
|
3887
|
-
let
|
|
3940
|
+
let Je;
|
|
3888
3941
|
const oe = ve({});
|
|
3889
|
-
function
|
|
3890
|
-
return
|
|
3942
|
+
function ni(e) {
|
|
3943
|
+
return Je[e] || null;
|
|
3891
3944
|
}
|
|
3892
|
-
function
|
|
3893
|
-
return e in
|
|
3945
|
+
function nr(e) {
|
|
3946
|
+
return e in Je;
|
|
3894
3947
|
}
|
|
3895
|
-
function
|
|
3896
|
-
if (!
|
|
3948
|
+
function ii(e, t) {
|
|
3949
|
+
if (!nr(e))
|
|
3897
3950
|
return null;
|
|
3898
|
-
const r =
|
|
3899
|
-
return
|
|
3951
|
+
const r = ni(e);
|
|
3952
|
+
return ti(r, t);
|
|
3900
3953
|
}
|
|
3901
|
-
function
|
|
3954
|
+
function oi(e) {
|
|
3902
3955
|
if (e == null)
|
|
3903
3956
|
return;
|
|
3904
3957
|
const t = xe(e);
|
|
3905
3958
|
for (let r = 0; r < t.length; r++) {
|
|
3906
3959
|
const n = t[r];
|
|
3907
|
-
if (
|
|
3960
|
+
if (nr(n))
|
|
3908
3961
|
return n;
|
|
3909
3962
|
}
|
|
3910
3963
|
}
|
|
3911
|
-
function
|
|
3912
|
-
delete L[e], oe.update((r) => (r[e] =
|
|
3964
|
+
function si(e, ...t) {
|
|
3965
|
+
delete L[e], oe.update((r) => (r[e] = ln.all([r[e] || {}, ...t]), r));
|
|
3913
3966
|
}
|
|
3914
3967
|
q(
|
|
3915
3968
|
[oe],
|
|
3916
3969
|
([e]) => Object.keys(e)
|
|
3917
3970
|
);
|
|
3918
|
-
oe.subscribe((e) =>
|
|
3971
|
+
oe.subscribe((e) => Je = e);
|
|
3919
3972
|
const me = {};
|
|
3920
|
-
function
|
|
3973
|
+
function ai(e, t) {
|
|
3921
3974
|
me[e].delete(t), me[e].size === 0 && delete me[e];
|
|
3922
3975
|
}
|
|
3923
|
-
function
|
|
3976
|
+
function ir(e) {
|
|
3924
3977
|
return me[e];
|
|
3925
3978
|
}
|
|
3926
|
-
function
|
|
3979
|
+
function ui(e) {
|
|
3927
3980
|
return xe(e).map((t) => {
|
|
3928
|
-
const r =
|
|
3981
|
+
const r = ir(t);
|
|
3929
3982
|
return [t, r ? [...r] : []];
|
|
3930
3983
|
}).filter(([, t]) => t.length > 0);
|
|
3931
3984
|
}
|
|
3932
|
-
function
|
|
3985
|
+
function Xe(e) {
|
|
3933
3986
|
return e == null ? !1 : xe(e).some(
|
|
3934
3987
|
(t) => {
|
|
3935
3988
|
var r;
|
|
3936
|
-
return (r =
|
|
3989
|
+
return (r = ir(t)) == null ? void 0 : r.size;
|
|
3937
3990
|
}
|
|
3938
3991
|
);
|
|
3939
3992
|
}
|
|
3940
|
-
function
|
|
3993
|
+
function hi(e, t) {
|
|
3941
3994
|
return Promise.all(
|
|
3942
|
-
t.map((n) => (
|
|
3943
|
-
).then((n) =>
|
|
3995
|
+
t.map((n) => (ai(e, n), n().then((i) => i.default || i)))
|
|
3996
|
+
).then((n) => si(e, ...n));
|
|
3944
3997
|
}
|
|
3945
3998
|
const K = {};
|
|
3946
|
-
function
|
|
3947
|
-
if (!
|
|
3999
|
+
function or(e) {
|
|
4000
|
+
if (!Xe(e))
|
|
3948
4001
|
return e in K ? K[e] : Promise.resolve();
|
|
3949
|
-
const t =
|
|
4002
|
+
const t = ui(e);
|
|
3950
4003
|
return K[e] = Promise.all(
|
|
3951
4004
|
t.map(
|
|
3952
|
-
([r, n]) =>
|
|
4005
|
+
([r, n]) => hi(r, n)
|
|
3953
4006
|
)
|
|
3954
4007
|
).then(() => {
|
|
3955
|
-
if (
|
|
3956
|
-
return
|
|
4008
|
+
if (Xe(e))
|
|
4009
|
+
return or(e);
|
|
3957
4010
|
delete K[e];
|
|
3958
4011
|
}), K[e];
|
|
3959
4012
|
}
|
|
3960
|
-
const
|
|
4013
|
+
const li = {
|
|
3961
4014
|
number: {
|
|
3962
4015
|
scientific: { notation: "scientific" },
|
|
3963
4016
|
engineering: { notation: "engineering" },
|
|
@@ -3986,57 +4039,57 @@ const ai = {
|
|
|
3986
4039
|
timeZoneName: "short"
|
|
3987
4040
|
}
|
|
3988
4041
|
}
|
|
3989
|
-
},
|
|
4042
|
+
}, ci = {
|
|
3990
4043
|
fallbackLocale: null,
|
|
3991
4044
|
loadingDelay: 200,
|
|
3992
|
-
formats:
|
|
4045
|
+
formats: li,
|
|
3993
4046
|
warnOnMissingMessages: !0,
|
|
3994
4047
|
handleMissingMessage: void 0,
|
|
3995
4048
|
ignoreTag: !0
|
|
3996
|
-
},
|
|
4049
|
+
}, fi = ci;
|
|
3997
4050
|
function J() {
|
|
3998
|
-
return
|
|
4051
|
+
return fi;
|
|
3999
4052
|
}
|
|
4000
|
-
const
|
|
4001
|
-
var
|
|
4053
|
+
const Ne = ve(!1);
|
|
4054
|
+
var pi = Object.defineProperty, mi = Object.defineProperties, di = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, gi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yi = (e, t) => {
|
|
4002
4055
|
for (var r in t || (t = {}))
|
|
4003
|
-
|
|
4004
|
-
if (
|
|
4005
|
-
for (var r of
|
|
4006
|
-
|
|
4056
|
+
bi.call(t, r) && vt(e, r, t[r]);
|
|
4057
|
+
if (yt)
|
|
4058
|
+
for (var r of yt(t))
|
|
4059
|
+
gi.call(t, r) && vt(e, r, t[r]);
|
|
4007
4060
|
return e;
|
|
4008
|
-
},
|
|
4009
|
-
let
|
|
4061
|
+
}, vi = (e, t) => mi(e, di(t));
|
|
4062
|
+
let We;
|
|
4010
4063
|
const be = ve(null);
|
|
4011
|
-
function
|
|
4064
|
+
function _t(e) {
|
|
4012
4065
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4013
4066
|
}
|
|
4014
4067
|
function xe(e, t = J().fallbackLocale) {
|
|
4015
|
-
const r =
|
|
4016
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4068
|
+
const r = _t(e);
|
|
4069
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
|
|
4017
4070
|
}
|
|
4018
4071
|
function U() {
|
|
4019
|
-
return
|
|
4072
|
+
return We ?? void 0;
|
|
4020
4073
|
}
|
|
4021
4074
|
be.subscribe((e) => {
|
|
4022
|
-
|
|
4075
|
+
We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4023
4076
|
});
|
|
4024
|
-
const
|
|
4025
|
-
if (e &&
|
|
4077
|
+
const _i = (e) => {
|
|
4078
|
+
if (e && oi(e) && Xe(e)) {
|
|
4026
4079
|
const { loadingDelay: t } = J();
|
|
4027
4080
|
let r;
|
|
4028
4081
|
return typeof window < "u" && U() != null && t ? r = window.setTimeout(
|
|
4029
|
-
() =>
|
|
4082
|
+
() => Ne.set(!0),
|
|
4030
4083
|
t
|
|
4031
|
-
) :
|
|
4084
|
+
) : Ne.set(!0), or(e).then(() => {
|
|
4032
4085
|
be.set(e);
|
|
4033
4086
|
}).finally(() => {
|
|
4034
|
-
clearTimeout(r),
|
|
4087
|
+
clearTimeout(r), Ne.set(!1);
|
|
4035
4088
|
});
|
|
4036
4089
|
}
|
|
4037
4090
|
return be.set(e);
|
|
4038
|
-
}, se =
|
|
4039
|
-
set:
|
|
4091
|
+
}, se = vi(yi({}, be), {
|
|
4092
|
+
set: _i
|
|
4040
4093
|
}), Ee = (e) => {
|
|
4041
4094
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4042
4095
|
return (n) => {
|
|
@@ -4044,20 +4097,20 @@ const gi = (e) => {
|
|
|
4044
4097
|
return i in t ? t[i] : t[i] = e(n);
|
|
4045
4098
|
};
|
|
4046
4099
|
};
|
|
4047
|
-
var
|
|
4100
|
+
var xi = Object.defineProperty, ge = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
|
|
4048
4101
|
for (var r in t || (t = {}))
|
|
4049
|
-
|
|
4102
|
+
sr.call(t, r) && xt(e, r, t[r]);
|
|
4050
4103
|
if (ge)
|
|
4051
4104
|
for (var r of ge(t))
|
|
4052
|
-
|
|
4105
|
+
ar.call(t, r) && xt(e, r, t[r]);
|
|
4053
4106
|
return e;
|
|
4054
4107
|
}, Y = (e, t) => {
|
|
4055
4108
|
var r = {};
|
|
4056
4109
|
for (var n in e)
|
|
4057
|
-
|
|
4110
|
+
sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4058
4111
|
if (e != null && ge)
|
|
4059
4112
|
for (var n of ge(e))
|
|
4060
|
-
t.indexOf(n) < 0 &&
|
|
4113
|
+
t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
|
|
4061
4114
|
return r;
|
|
4062
4115
|
};
|
|
4063
4116
|
const ne = (e, t) => {
|
|
@@ -4065,21 +4118,21 @@ const ne = (e, t) => {
|
|
|
4065
4118
|
if (e in r && t in r[e])
|
|
4066
4119
|
return r[e][t];
|
|
4067
4120
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4068
|
-
},
|
|
4121
|
+
}, Ei = Ee(
|
|
4069
4122
|
(e) => {
|
|
4070
4123
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4071
4124
|
if (r == null)
|
|
4072
4125
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4073
4126
|
return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
|
|
4074
4127
|
}
|
|
4075
|
-
),
|
|
4128
|
+
), Si = Ee(
|
|
4076
4129
|
(e) => {
|
|
4077
4130
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4078
4131
|
if (r == null)
|
|
4079
4132
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4080
4133
|
return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4081
4134
|
}
|
|
4082
|
-
),
|
|
4135
|
+
), Ti = Ee(
|
|
4083
4136
|
(e) => {
|
|
4084
4137
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4085
4138
|
if (r == null)
|
|
@@ -4088,33 +4141,33 @@ const ne = (e, t) => {
|
|
|
4088
4141
|
);
|
|
4089
4142
|
return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4090
4143
|
}
|
|
4091
|
-
),
|
|
4144
|
+
), Hi = (e = {}) => {
|
|
4092
4145
|
var t = e, {
|
|
4093
4146
|
locale: r = U()
|
|
4094
4147
|
} = t, n = Y(t, [
|
|
4095
4148
|
"locale"
|
|
4096
4149
|
]);
|
|
4097
|
-
return
|
|
4098
|
-
},
|
|
4150
|
+
return Ei(qe({ locale: r }, n));
|
|
4151
|
+
}, Ai = (e = {}) => {
|
|
4099
4152
|
var t = e, {
|
|
4100
4153
|
locale: r = U()
|
|
4101
4154
|
} = t, n = Y(t, [
|
|
4102
4155
|
"locale"
|
|
4103
4156
|
]);
|
|
4104
|
-
return
|
|
4105
|
-
},
|
|
4157
|
+
return Si(qe({ locale: r }, n));
|
|
4158
|
+
}, Pi = (e = {}) => {
|
|
4106
4159
|
var t = e, {
|
|
4107
4160
|
locale: r = U()
|
|
4108
4161
|
} = t, n = Y(t, [
|
|
4109
4162
|
"locale"
|
|
4110
4163
|
]);
|
|
4111
|
-
return
|
|
4112
|
-
},
|
|
4164
|
+
return Ti(qe({ locale: r }, n));
|
|
4165
|
+
}, wi = Ee(
|
|
4113
4166
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4114
|
-
(e, t = U()) => new
|
|
4167
|
+
(e, t = U()) => new ei(e, t, J().formats, {
|
|
4115
4168
|
ignoreTag: J().ignoreTag
|
|
4116
4169
|
})
|
|
4117
|
-
),
|
|
4170
|
+
), Bi = (e, t = {}) => {
|
|
4118
4171
|
var r, n, i, o;
|
|
4119
4172
|
let s = t;
|
|
4120
4173
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4127,7 +4180,7 @@ const ne = (e, t) => {
|
|
|
4127
4180
|
throw new Error(
|
|
4128
4181
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4129
4182
|
);
|
|
4130
|
-
let l =
|
|
4183
|
+
let l = rr(e, h);
|
|
4131
4184
|
if (!l)
|
|
4132
4185
|
l = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4133
4186
|
else if (typeof l != "string")
|
|
@@ -4138,7 +4191,7 @@ const ne = (e, t) => {
|
|
|
4138
4191
|
return l;
|
|
4139
4192
|
let c = l;
|
|
4140
4193
|
try {
|
|
4141
|
-
c =
|
|
4194
|
+
c = wi(l, h).format(a);
|
|
4142
4195
|
} catch (f) {
|
|
4143
4196
|
f instanceof Error && console.warn(
|
|
4144
4197
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4146,21 +4199,21 @@ const ne = (e, t) => {
|
|
|
4146
4199
|
);
|
|
4147
4200
|
}
|
|
4148
4201
|
return c;
|
|
4149
|
-
},
|
|
4150
|
-
q([se, oe], () =>
|
|
4151
|
-
q([se], () =>
|
|
4152
|
-
q([se], () =>
|
|
4153
|
-
q([se], () =>
|
|
4154
|
-
q([se, oe], () =>
|
|
4155
|
-
window.emWidgets = { topic:
|
|
4156
|
-
const
|
|
4157
|
-
function
|
|
4202
|
+
}, Ni = (e, t) => Pi(t).format(e), Oi = (e, t) => Ai(t).format(e), Ii = (e, t) => Hi(t).format(e), Ci = (e, t = U()) => rr(e, t);
|
|
4203
|
+
q([se, oe], () => Bi);
|
|
4204
|
+
q([se], () => Ni);
|
|
4205
|
+
q([se], () => Oi);
|
|
4206
|
+
q([se], () => Ii);
|
|
4207
|
+
q([se, oe], () => Ci);
|
|
4208
|
+
window.emWidgets = { topic: Wr };
|
|
4209
|
+
const Et = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4210
|
+
function Li(e, t) {
|
|
4158
4211
|
if (e) {
|
|
4159
4212
|
const r = document.createElement("style");
|
|
4160
4213
|
r.innerHTML = t, e.appendChild(r);
|
|
4161
4214
|
}
|
|
4162
4215
|
}
|
|
4163
|
-
function
|
|
4216
|
+
function Mi(e, t) {
|
|
4164
4217
|
const r = new URL(t);
|
|
4165
4218
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4166
4219
|
const i = document.createElement("style");
|
|
@@ -4169,7 +4222,7 @@ function Ii(e, t) {
|
|
|
4169
4222
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4170
4223
|
});
|
|
4171
4224
|
}
|
|
4172
|
-
function
|
|
4225
|
+
function $i(e, t, r) {
|
|
4173
4226
|
if (window.emMessageBus) {
|
|
4174
4227
|
const n = document.createElement("style");
|
|
4175
4228
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4177,24 +4230,24 @@ function Ci(e, t, r) {
|
|
|
4177
4230
|
});
|
|
4178
4231
|
}
|
|
4179
4232
|
}
|
|
4180
|
-
function
|
|
4181
|
-
|
|
4233
|
+
function Ri(e) {
|
|
4234
|
+
cr(e, "svelte-1eyrk9m", '.PlayerAccountNotificationsContainer{padding:0 5px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountNotificationBox{display:block;padding:20px;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}.skeletonContainer{container-type:inline-size}.skeletonContainer .skeletonWrapper{animation:fadeIn ease 0.3s}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@container (max-width: 425px){.skeletonContainer .skeletonWrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:20px;padding:0px 10px}.skeletonContainer .skeletonWrapper .skeletonNotification{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
4182
4235
|
}
|
|
4183
|
-
function
|
|
4236
|
+
function St(e, t, r) {
|
|
4184
4237
|
const n = e.slice();
|
|
4185
4238
|
return n[24] = t[r], n;
|
|
4186
4239
|
}
|
|
4187
|
-
function
|
|
4240
|
+
function Tt(e, t, r) {
|
|
4188
4241
|
const n = e.slice();
|
|
4189
4242
|
return n[21] = t[r], n;
|
|
4190
4243
|
}
|
|
4191
|
-
function
|
|
4244
|
+
function Ui(e) {
|
|
4192
4245
|
let t, r = de(
|
|
4193
4246
|
/*notificationsData*/
|
|
4194
4247
|
e[1]
|
|
4195
4248
|
), n = [];
|
|
4196
4249
|
for (let i = 0; i < r.length; i += 1)
|
|
4197
|
-
n[i] =
|
|
4250
|
+
n[i] = Ht(St(e, r, i));
|
|
4198
4251
|
return {
|
|
4199
4252
|
c() {
|
|
4200
4253
|
t = T("div");
|
|
@@ -4226,8 +4279,8 @@ function Mi(e) {
|
|
|
4226
4279
|
);
|
|
4227
4280
|
let s;
|
|
4228
4281
|
for (s = 0; s < r.length; s += 1) {
|
|
4229
|
-
const a =
|
|
4230
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4282
|
+
const a = St(i, r, s);
|
|
4283
|
+
n[s] ? n[s].p(a, o) : (n[s] = Ht(a), n[s].c(), n[s].m(t, null));
|
|
4231
4284
|
}
|
|
4232
4285
|
for (; s < n.length; s += 1)
|
|
4233
4286
|
n[s].d(1);
|
|
@@ -4235,14 +4288,14 @@ function Mi(e) {
|
|
|
4235
4288
|
}
|
|
4236
4289
|
},
|
|
4237
4290
|
d(i) {
|
|
4238
|
-
i && O(t),
|
|
4291
|
+
i && O(t), Bt(n, i);
|
|
4239
4292
|
}
|
|
4240
4293
|
};
|
|
4241
4294
|
}
|
|
4242
|
-
function
|
|
4295
|
+
function Di(e) {
|
|
4243
4296
|
let t, r, n = de({ length: 3 }), i = [];
|
|
4244
4297
|
for (let o = 0; o < n.length; o += 1)
|
|
4245
|
-
i[o] =
|
|
4298
|
+
i[o] = At(Tt(e, n, o));
|
|
4246
4299
|
return {
|
|
4247
4300
|
c() {
|
|
4248
4301
|
t = T("div"), r = T("div");
|
|
@@ -4261,8 +4314,8 @@ function $i(e) {
|
|
|
4261
4314
|
n = de({ length: 3 });
|
|
4262
4315
|
let a;
|
|
4263
4316
|
for (a = 0; a < n.length; a += 1) {
|
|
4264
|
-
const h =
|
|
4265
|
-
i[a] ? i[a].p(h, s) : (i[a] =
|
|
4317
|
+
const h = Tt(o, n, a);
|
|
4318
|
+
i[a] ? i[a].p(h, s) : (i[a] = At(h), i[a].c(), i[a].m(r, null));
|
|
4266
4319
|
}
|
|
4267
4320
|
for (; a < i.length; a += 1)
|
|
4268
4321
|
i[a].d(1);
|
|
@@ -4270,11 +4323,11 @@ function $i(e) {
|
|
|
4270
4323
|
}
|
|
4271
4324
|
},
|
|
4272
4325
|
d(o) {
|
|
4273
|
-
o && O(t),
|
|
4326
|
+
o && O(t), Bt(i, o);
|
|
4274
4327
|
}
|
|
4275
4328
|
};
|
|
4276
4329
|
}
|
|
4277
|
-
function
|
|
4330
|
+
function Ht(e) {
|
|
4278
4331
|
let t, r, n, i, o, s, a, h = (
|
|
4279
4332
|
/*notification*/
|
|
4280
4333
|
e[24].title + ""
|
|
@@ -4284,9 +4337,9 @@ function Et(e) {
|
|
|
4284
4337
|
), m;
|
|
4285
4338
|
return {
|
|
4286
4339
|
c() {
|
|
4287
|
-
t = T("div"), r = T("div"), n = T("img"), s = le(), a = T("p"), u =
|
|
4340
|
+
t = T("div"), r = T("div"), n = T("img"), s = le(), a = T("p"), u = Nt(h), l = le(), c = T("p"), m = le(), x(n, "class", "PlayerAccountNotificationIcon"), x(n, "width", "24px"), x(n, "height", "24px"), Ke(n.src, i = /*notification*/
|
|
4288
4341
|
e[24].icon) || x(n, "src", i), x(n, "alt", o = /*notification*/
|
|
4289
|
-
e[24].title), x(a, "class", "PlayerAccountNotificationTitle"), x(r, "class", "PlayerAccountNotificationBoxHeader"), x(c, "class", "PlayerAccountNotificationText"), x(t, "class", "PlayerAccountNotificationBox"),
|
|
4342
|
+
e[24].title), x(a, "class", "PlayerAccountNotificationTitle"), x(r, "class", "PlayerAccountNotificationBoxHeader"), x(c, "class", "PlayerAccountNotificationText"), x(t, "class", "PlayerAccountNotificationBox"), et(
|
|
4290
4343
|
t,
|
|
4291
4344
|
"background",
|
|
4292
4345
|
/*notification*/
|
|
@@ -4298,15 +4351,15 @@ function Et(e) {
|
|
|
4298
4351
|
},
|
|
4299
4352
|
p(d, p) {
|
|
4300
4353
|
p & /*notificationsData*/
|
|
4301
|
-
2 && !
|
|
4354
|
+
2 && !Ke(n.src, i = /*notification*/
|
|
4302
4355
|
d[24].icon) && x(n, "src", i), p & /*notificationsData*/
|
|
4303
4356
|
2 && o !== (o = /*notification*/
|
|
4304
4357
|
d[24].title) && x(n, "alt", o), p & /*notificationsData*/
|
|
4305
4358
|
2 && h !== (h = /*notification*/
|
|
4306
|
-
d[24].title + "") &&
|
|
4359
|
+
d[24].title + "") && dr(u, h), p & /*notificationsData*/
|
|
4307
4360
|
2 && f !== (f = /*notification*/
|
|
4308
4361
|
d[24].description + "") && (c.innerHTML = f), p & /*notificationsData*/
|
|
4309
|
-
2 &&
|
|
4362
|
+
2 && et(
|
|
4310
4363
|
t,
|
|
4311
4364
|
"background",
|
|
4312
4365
|
/*notification*/
|
|
@@ -4318,7 +4371,7 @@ function Et(e) {
|
|
|
4318
4371
|
}
|
|
4319
4372
|
};
|
|
4320
4373
|
}
|
|
4321
|
-
function
|
|
4374
|
+
function Gi(e) {
|
|
4322
4375
|
let t;
|
|
4323
4376
|
return {
|
|
4324
4377
|
c() {
|
|
@@ -4339,7 +4392,7 @@ function Ri(e) {
|
|
|
4339
4392
|
}
|
|
4340
4393
|
};
|
|
4341
4394
|
}
|
|
4342
|
-
function
|
|
4395
|
+
function Fi(e) {
|
|
4343
4396
|
let t;
|
|
4344
4397
|
return {
|
|
4345
4398
|
c() {
|
|
@@ -4354,12 +4407,12 @@ function Ui(e) {
|
|
|
4354
4407
|
}
|
|
4355
4408
|
};
|
|
4356
4409
|
}
|
|
4357
|
-
function
|
|
4410
|
+
function At(e) {
|
|
4358
4411
|
let t, r;
|
|
4359
4412
|
function n(s, a) {
|
|
4360
4413
|
return (
|
|
4361
4414
|
/*isMobile*/
|
|
4362
|
-
s[3] ?
|
|
4415
|
+
s[3] ? Gi : Fi
|
|
4363
4416
|
);
|
|
4364
4417
|
}
|
|
4365
4418
|
let o = n(e)(e);
|
|
@@ -4378,17 +4431,19 @@ function St(e) {
|
|
|
4378
4431
|
}
|
|
4379
4432
|
};
|
|
4380
4433
|
}
|
|
4381
|
-
function
|
|
4434
|
+
function ki(e) {
|
|
4382
4435
|
let t;
|
|
4383
4436
|
function r(o, s) {
|
|
4384
4437
|
if (
|
|
4385
4438
|
/*skeletonLoading*/
|
|
4386
4439
|
o[2]
|
|
4387
|
-
)
|
|
4440
|
+
)
|
|
4441
|
+
return Di;
|
|
4388
4442
|
if (
|
|
4389
4443
|
/*notificationsData*/
|
|
4390
4444
|
o[1]?.length
|
|
4391
|
-
)
|
|
4445
|
+
)
|
|
4446
|
+
return Ui;
|
|
4392
4447
|
}
|
|
4393
4448
|
let n = r(e), i = n && n(e);
|
|
4394
4449
|
return {
|
|
@@ -4408,19 +4463,19 @@ function Di(e) {
|
|
|
4408
4463
|
}
|
|
4409
4464
|
};
|
|
4410
4465
|
}
|
|
4411
|
-
function
|
|
4412
|
-
let { lang: n = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: s = "" } = t, { customnotif: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: l } = t, c, f = !0, m = window.navigator.userAgent, d =
|
|
4466
|
+
function ji(e, t, r) {
|
|
4467
|
+
let { lang: n = "" } = t, { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: s = "" } = t, { customnotif: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: l } = t, c, f = !0, m = window.navigator.userAgent, d = Et(m) !== "PC", p = [], S = [], $ = A();
|
|
4413
4468
|
const C = window.matchMedia("(min-width: 768px)");
|
|
4414
4469
|
function A() {
|
|
4415
|
-
const y =
|
|
4470
|
+
const y = Et(m);
|
|
4416
4471
|
if (y)
|
|
4417
4472
|
return y === "PC" ? "dk" : "mtWeb";
|
|
4418
4473
|
}
|
|
4419
4474
|
const R = () => {
|
|
4420
4475
|
const y = new URL(`${i}/${n}/support-information`);
|
|
4421
4476
|
y.searchParams.append("env", o), y.searchParams.append("userRoles", s), y.searchParams.append("device", $), fetch(y.href).then((G) => G.json()).then((G) => {
|
|
4422
|
-
G.length && (r(1, p = G[0].children), p?.forEach((
|
|
4423
|
-
S.length && (
|
|
4477
|
+
G.length && (r(1, p = G[0].children), p?.forEach((ur) => {
|
|
4478
|
+
S.length && (ur.backgroundColor = S[0], S.shift());
|
|
4424
4479
|
}));
|
|
4425
4480
|
}).catch((G) => {
|
|
4426
4481
|
console.error(G);
|
|
@@ -4435,10 +4490,10 @@ function Gi(e, t, r) {
|
|
|
4435
4490
|
}, w = () => {
|
|
4436
4491
|
a.replace(" ", ""), S = a.split(",");
|
|
4437
4492
|
};
|
|
4438
|
-
|
|
4493
|
+
yr(() => () => {
|
|
4439
4494
|
});
|
|
4440
4495
|
function D(y) {
|
|
4441
|
-
|
|
4496
|
+
Oe[y ? "unshift" : "push"](() => {
|
|
4442
4497
|
c = y, r(0, c);
|
|
4443
4498
|
});
|
|
4444
4499
|
}
|
|
@@ -4449,9 +4504,9 @@ function Gi(e, t, r) {
|
|
|
4449
4504
|
512 && a && w(), e.$$.dirty & /*notificationsData*/
|
|
4450
4505
|
2 && p && w(), e.$$.dirty & /*userroles, cmsendpoint, env, lang*/
|
|
4451
4506
|
480 && s && i && o && n && R(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4452
|
-
1025 && h && c &&
|
|
4453
|
-
2049 && u && c &&
|
|
4454
|
-
4097 && l && c &&
|
|
4507
|
+
1025 && h && c && Li(c, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4508
|
+
2049 && u && c && Mi(c, u), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4509
|
+
4097 && l && c && $i(c, `${l}.Style`);
|
|
4455
4510
|
}, [
|
|
4456
4511
|
c,
|
|
4457
4512
|
p,
|
|
@@ -4469,14 +4524,14 @@ function Gi(e, t, r) {
|
|
|
4469
4524
|
D
|
|
4470
4525
|
];
|
|
4471
4526
|
}
|
|
4472
|
-
class
|
|
4527
|
+
class Vi extends Nr {
|
|
4473
4528
|
constructor(t) {
|
|
4474
|
-
super(),
|
|
4529
|
+
super(), wr(
|
|
4475
4530
|
this,
|
|
4476
4531
|
t,
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4532
|
+
ji,
|
|
4533
|
+
ki,
|
|
4534
|
+
wt,
|
|
4480
4535
|
{
|
|
4481
4536
|
lang: 5,
|
|
4482
4537
|
cmsendpoint: 6,
|
|
@@ -4487,7 +4542,7 @@ class Fi extends Ar {
|
|
|
4487
4542
|
clientstylingurl: 11,
|
|
4488
4543
|
mbsource: 12
|
|
4489
4544
|
},
|
|
4490
|
-
|
|
4545
|
+
Ri
|
|
4491
4546
|
);
|
|
4492
4547
|
}
|
|
4493
4548
|
get lang() {
|
|
@@ -4539,7 +4594,7 @@ class Fi extends Ar {
|
|
|
4539
4594
|
this.$$set({ mbsource: t }), B();
|
|
4540
4595
|
}
|
|
4541
4596
|
}
|
|
4542
|
-
|
|
4597
|
+
Br(Vi, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
4543
4598
|
export {
|
|
4544
|
-
|
|
4599
|
+
Vi as P
|
|
4545
4600
|
};
|