@everymatrix/player-account-notifications 1.61.1 → 1.62.0
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-TBBQy_AM.js → PlayerAccountNotifications-B6QNRxEX.js} +559 -537
- package/components/PlayerAccountNotifications-BJqTMEH1.cjs +18 -0
- package/components/{PlayerAccountNotifications-BFrSKB5L.js → PlayerAccountNotifications-BUtacwzG.js} +571 -549
- 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-b2193545-CbGN-1Xz.cjs +1 -0
- package/stencil/index-b2193545-CbUHNmek.js +503 -0
- package/stencil/index-b2193545-DFFkPUVU.js +519 -0
- package/stencil/index-b7bbd57e-5H13jtcn.cjs +1 -0
- package/stencil/index-b7bbd57e-D2mZ7-kv.js +534 -0
- package/stencil/index-b7bbd57e-VSGyGiy1.js +550 -0
- package/stencil/{ui-image-38c3c15f-DHu3p_Um.cjs → ui-image-38c3c15f-3U8WBsCg.cjs} +1 -1
- package/stencil/{ui-image-38c3c15f-D8q8WO62.js → ui-image-38c3c15f-Cix0ZMEZ.js} +1 -1
- package/stencil/{ui-image-38c3c15f-DNKzX83k.js → ui-image-38c3c15f-jaErZeBj.js} +1 -1
- package/stencil/{ui-image-BWdEHrqs.js → ui-image-6OX7DHzp.js} +2 -2
- package/stencil/{ui-image-Cq69wjLL.js → ui-image-DvmqpXjR.js} +2 -2
- package/stencil/{ui-image-hWt-DWaG.cjs → ui-image-sdP0Y0JV.cjs} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-CKWpp1By.js → ui-skeleton-6d1c12ae-BpEpsLuu.js} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-DXSQpIKe.cjs → ui-skeleton-6d1c12ae-CZrIANSq.cjs} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-Cy_R_9Cz.js → ui-skeleton-6d1c12ae-koE69yYD.js} +1 -1
- package/stencil/{ui-skeleton-BMWABShx.js → ui-skeleton-BOseIl79.js} +2 -2
- package/stencil/{ui-skeleton-CkUGY95J.js → ui-skeleton-BVyEf4P7.js} +2 -2
- package/stencil/{ui-skeleton-DXc0L06e.cjs → ui-skeleton-C2O4H76Q.cjs} +1 -1
- package/components/PlayerAccountNotifications-BpuDN8Ne.cjs +0 -18
- package/stencil/index-b2193545-B5BzVbnP.cjs +0 -1
- package/stencil/index-b2193545-BranxwW4.js +0 -519
- package/stencil/index-b2193545-D-GB6w--.js +0 -503
- package/stencil/index-b7bbd57e-CQ75dRCG.js +0 -550
- package/stencil/index-b7bbd57e-Cacu08c5.js +0 -534
- package/stencil/index-b7bbd57e-DF6DA3M_.cjs +0 -1
package/components/{PlayerAccountNotifications-TBBQy_AM.js → PlayerAccountNotifications-B6QNRxEX.js}
RENAMED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import "../stencil/ui-image-
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import "../stencil/ui-image-6OX7DHzp.js";
|
|
2
|
+
import "../stencil/ui-skeleton-BVyEf4P7.js";
|
|
3
3
|
function H() {
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function Pt(e) {
|
|
6
6
|
return e();
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function Ye() {
|
|
9
9
|
return /* @__PURE__ */ Object.create(null);
|
|
10
10
|
}
|
|
11
11
|
function ie(e) {
|
|
12
|
-
e.forEach(
|
|
12
|
+
e.forEach(Pt);
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function ze(e) {
|
|
15
15
|
return typeof e == "function";
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function wt(e, t) {
|
|
18
18
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
19
19
|
}
|
|
20
20
|
let ae;
|
|
21
|
-
function
|
|
21
|
+
function Ke(e, t) {
|
|
22
22
|
return e === t ? !0 : (ae || (ae = document.createElement("a")), ae.href = t, e === ae.href);
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function hr(e) {
|
|
25
25
|
return Object.keys(e).length === 0;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function lr(e, ...t) {
|
|
28
28
|
if (e == null) {
|
|
29
29
|
for (const n of t)
|
|
30
30
|
n(void 0);
|
|
@@ -36,14 +36,14 @@ function sr(e, ...t) {
|
|
|
36
36
|
function P(e, t) {
|
|
37
37
|
e.appendChild(t);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
const n =
|
|
39
|
+
function cr(e, t, r) {
|
|
40
|
+
const n = fr(e);
|
|
41
41
|
if (!n.getElementById(t)) {
|
|
42
42
|
const i = S("style");
|
|
43
|
-
i.id = t, i.textContent = r,
|
|
43
|
+
i.id = t, i.textContent = r, pr(n, i);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function fr(e) {
|
|
47
47
|
if (!e)
|
|
48
48
|
return document;
|
|
49
49
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -53,7 +53,7 @@ function ur(e) {
|
|
|
53
53
|
t
|
|
54
54
|
) : e.ownerDocument;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function pr(e, t) {
|
|
57
57
|
return P(
|
|
58
58
|
/** @type {Document} */
|
|
59
59
|
e.head || e,
|
|
@@ -66,18 +66,18 @@ function $(e, t, r) {
|
|
|
66
66
|
function I(e) {
|
|
67
67
|
e.parentNode && e.parentNode.removeChild(e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function Bt(e, t) {
|
|
70
70
|
for (let r = 0; r < e.length; r += 1)
|
|
71
71
|
e[r] && e[r].d(t);
|
|
72
72
|
}
|
|
73
73
|
function S(e) {
|
|
74
74
|
return document.createElement(e);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Nt(e) {
|
|
77
77
|
return document.createTextNode(e);
|
|
78
78
|
}
|
|
79
79
|
function le() {
|
|
80
|
-
return
|
|
80
|
+
return Nt(" ");
|
|
81
81
|
}
|
|
82
82
|
function w(e, t, r) {
|
|
83
83
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
@@ -86,17 +86,17 @@ function T(e, t, r) {
|
|
|
86
86
|
const n = t.toLowerCase();
|
|
87
87
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : w(e, t, r);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function dr(e) {
|
|
90
90
|
return Array.from(e.childNodes);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function mr(e, t) {
|
|
93
93
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
94
94
|
t);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function et(e, t, r, n) {
|
|
97
97
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function br(e) {
|
|
100
100
|
const t = {};
|
|
101
101
|
return e.childNodes.forEach(
|
|
102
102
|
/** @param {Element} node */
|
|
@@ -109,22 +109,22 @@ let te;
|
|
|
109
109
|
function ee(e) {
|
|
110
110
|
te = e;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function gr() {
|
|
113
113
|
if (!te)
|
|
114
114
|
throw new Error("Function called outside component initialization");
|
|
115
115
|
return te;
|
|
116
116
|
}
|
|
117
|
-
function
|
|
118
|
-
|
|
117
|
+
function yr(e) {
|
|
118
|
+
gr().$$.on_mount.push(e);
|
|
119
119
|
}
|
|
120
|
-
const V = [],
|
|
120
|
+
const V = [], Oe = [];
|
|
121
121
|
let X = [];
|
|
122
|
-
const
|
|
123
|
-
let
|
|
124
|
-
function
|
|
125
|
-
|
|
122
|
+
const tt = [], vr = /* @__PURE__ */ Promise.resolve();
|
|
123
|
+
let Ie = !1;
|
|
124
|
+
function _r() {
|
|
125
|
+
Ie || (Ie = !0, vr.then(N));
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function Ce(e) {
|
|
128
128
|
X.push(e);
|
|
129
129
|
}
|
|
130
130
|
const Se = /* @__PURE__ */ new Set();
|
|
@@ -137,56 +137,56 @@ function N() {
|
|
|
137
137
|
try {
|
|
138
138
|
for (; k < V.length; ) {
|
|
139
139
|
const t = V[k];
|
|
140
|
-
k++, ee(t),
|
|
140
|
+
k++, ee(t), xr(t.$$);
|
|
141
141
|
}
|
|
142
142
|
} catch (t) {
|
|
143
143
|
throw V.length = 0, k = 0, t;
|
|
144
144
|
}
|
|
145
|
-
for (ee(null), V.length = 0, k = 0;
|
|
146
|
-
|
|
145
|
+
for (ee(null), V.length = 0, k = 0; Oe.length; )
|
|
146
|
+
Oe.pop()();
|
|
147
147
|
for (let t = 0; t < X.length; t += 1) {
|
|
148
148
|
const r = X[t];
|
|
149
149
|
Se.has(r) || (Se.add(r), r());
|
|
150
150
|
}
|
|
151
151
|
X.length = 0;
|
|
152
152
|
} while (V.length);
|
|
153
|
-
for (;
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
for (; tt.length; )
|
|
154
|
+
tt.pop()();
|
|
155
|
+
Ie = !1, Se.clear(), ee(e);
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function xr(e) {
|
|
158
158
|
if (e.fragment !== null) {
|
|
159
159
|
e.update(), ie(e.before_update);
|
|
160
160
|
const t = e.dirty;
|
|
161
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
161
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function Er(e) {
|
|
165
165
|
const t = [], r = [];
|
|
166
166
|
X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
|
|
167
167
|
}
|
|
168
|
-
const
|
|
169
|
-
function
|
|
170
|
-
e && e.i && (
|
|
168
|
+
const Sr = /* @__PURE__ */ new Set();
|
|
169
|
+
function Tr(e, t) {
|
|
170
|
+
e && e.i && (Sr.delete(e), e.i(t));
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function me(e) {
|
|
173
173
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function Hr(e, t, r) {
|
|
176
176
|
const { fragment: n, after_update: i } = e.$$;
|
|
177
|
-
n && n.m(t, r),
|
|
178
|
-
const o = e.$$.on_mount.map(
|
|
177
|
+
n && n.m(t, r), Ce(() => {
|
|
178
|
+
const o = e.$$.on_mount.map(Pt).filter(ze);
|
|
179
179
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
|
|
180
|
-
}), i.forEach(
|
|
180
|
+
}), i.forEach(Ce);
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Ar(e, t) {
|
|
183
183
|
const r = e.$$;
|
|
184
|
-
r.fragment !== null && (
|
|
184
|
+
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 = []);
|
|
185
185
|
}
|
|
186
|
-
function
|
|
187
|
-
e.$$.dirty[0] === -1 && (V.push(e),
|
|
186
|
+
function Pr(e, t) {
|
|
187
|
+
e.$$.dirty[0] === -1 && (V.push(e), _r(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function wr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
190
190
|
const h = te;
|
|
191
191
|
ee(e);
|
|
192
192
|
const u = e.$$ = {
|
|
@@ -196,7 +196,7 @@ function Tr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
196
196
|
props: o,
|
|
197
197
|
update: H,
|
|
198
198
|
not_equal: i,
|
|
199
|
-
bound:
|
|
199
|
+
bound: Ye(),
|
|
200
200
|
// lifecycle
|
|
201
201
|
on_mount: [],
|
|
202
202
|
on_destroy: [],
|
|
@@ -205,28 +205,28 @@ function Tr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
205
205
|
after_update: [],
|
|
206
206
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
207
207
|
// everything else
|
|
208
|
-
callbacks:
|
|
208
|
+
callbacks: Ye(),
|
|
209
209
|
dirty: a,
|
|
210
210
|
skip_bound: !1,
|
|
211
211
|
root: t.target || h.$$.root
|
|
212
212
|
};
|
|
213
213
|
s && s(u.root);
|
|
214
214
|
let l = !1;
|
|
215
|
-
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
216
|
-
const
|
|
217
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] =
|
|
215
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
216
|
+
const m = d.length ? d[0] : f;
|
|
217
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Pr(e, c)), f;
|
|
218
218
|
}) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
219
219
|
if (t.hydrate) {
|
|
220
|
-
const c =
|
|
220
|
+
const c = dr(t.target);
|
|
221
221
|
u.fragment && u.fragment.l(c), c.forEach(I);
|
|
222
222
|
} else
|
|
223
223
|
u.fragment && u.fragment.c();
|
|
224
|
-
t.intro &&
|
|
224
|
+
t.intro && Tr(e.$$.fragment), Hr(e, t.target, t.anchor), N();
|
|
225
225
|
}
|
|
226
226
|
ee(h);
|
|
227
227
|
}
|
|
228
|
-
let
|
|
229
|
-
typeof HTMLElement == "function" && (
|
|
228
|
+
let Ot;
|
|
229
|
+
typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
230
230
|
/** The Svelte component constructor */
|
|
231
231
|
$$ctor;
|
|
232
232
|
/** Slots */
|
|
@@ -285,7 +285,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
|
|
|
285
285
|
};
|
|
286
286
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
287
287
|
return;
|
|
288
|
-
const t = {}, r =
|
|
288
|
+
const t = {}, r = br(this);
|
|
289
289
|
for (const i of this.$$s)
|
|
290
290
|
i in r && (t[i] = [e(i)]);
|
|
291
291
|
for (const i of this.attributes) {
|
|
@@ -372,8 +372,8 @@ function ce(e, t, r, n) {
|
|
|
372
372
|
return t;
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
|
-
function
|
|
376
|
-
let s = class extends
|
|
375
|
+
function Br(e, t, r, n, i, o) {
|
|
376
|
+
let s = class extends Ot {
|
|
377
377
|
constructor() {
|
|
378
378
|
super(e, r, i), this.$$p_d = t;
|
|
379
379
|
}
|
|
@@ -401,7 +401,7 @@ function Hr(e, t, r, n, i, o) {
|
|
|
401
401
|
}), e.element = /** @type {any} */
|
|
402
402
|
s, s;
|
|
403
403
|
}
|
|
404
|
-
class
|
|
404
|
+
class Nr {
|
|
405
405
|
/**
|
|
406
406
|
* ### PRIVATE API
|
|
407
407
|
*
|
|
@@ -420,7 +420,7 @@ class Ar {
|
|
|
420
420
|
$$set = void 0;
|
|
421
421
|
/** @returns {void} */
|
|
422
422
|
$destroy() {
|
|
423
|
-
|
|
423
|
+
Ar(this, 1), this.$destroy = H;
|
|
424
424
|
}
|
|
425
425
|
/**
|
|
426
426
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -429,7 +429,7 @@ class Ar {
|
|
|
429
429
|
* @returns {() => void}
|
|
430
430
|
*/
|
|
431
431
|
$on(t, r) {
|
|
432
|
-
if (!
|
|
432
|
+
if (!ze(r))
|
|
433
433
|
return H;
|
|
434
434
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
435
435
|
return n.push(r), () => {
|
|
@@ -442,11 +442,11 @@ class Ar {
|
|
|
442
442
|
* @returns {void}
|
|
443
443
|
*/
|
|
444
444
|
$set(t) {
|
|
445
|
-
this.$$set && !
|
|
445
|
+
this.$$set && !hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
const
|
|
449
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
448
|
+
const Or = "4";
|
|
449
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Or);
|
|
450
450
|
/*! *****************************************************************************
|
|
451
451
|
Copyright (c) Microsoft Corporation.
|
|
452
452
|
|
|
@@ -461,18 +461,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
461
461
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
462
462
|
PERFORMANCE OF THIS SOFTWARE.
|
|
463
463
|
***************************************************************************** */
|
|
464
|
-
var
|
|
465
|
-
return
|
|
464
|
+
var Le = function(e, t) {
|
|
465
|
+
return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
466
466
|
r.__proto__ = n;
|
|
467
467
|
} || function(r, n) {
|
|
468
468
|
for (var i in n)
|
|
469
469
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
470
|
-
},
|
|
470
|
+
}, Le(e, t);
|
|
471
471
|
};
|
|
472
472
|
function C(e, t) {
|
|
473
473
|
if (typeof t != "function" && t !== null)
|
|
474
474
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
475
|
-
|
|
475
|
+
Le(e, t);
|
|
476
476
|
function r() {
|
|
477
477
|
this.constructor = e;
|
|
478
478
|
}
|
|
@@ -488,7 +488,7 @@ var v = function() {
|
|
|
488
488
|
return t;
|
|
489
489
|
}, v.apply(this, arguments);
|
|
490
490
|
};
|
|
491
|
-
function
|
|
491
|
+
function Ir(e, t) {
|
|
492
492
|
var r = {};
|
|
493
493
|
for (var n in e)
|
|
494
494
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -497,7 +497,7 @@ function wr(e, t) {
|
|
|
497
497
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
498
498
|
return r;
|
|
499
499
|
}
|
|
500
|
-
function
|
|
500
|
+
function Me(e) {
|
|
501
501
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
502
502
|
if (r)
|
|
503
503
|
return r.call(e);
|
|
@@ -509,7 +509,7 @@ function Le(e) {
|
|
|
509
509
|
};
|
|
510
510
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
511
511
|
}
|
|
512
|
-
function
|
|
512
|
+
function $e(e, t) {
|
|
513
513
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
514
514
|
if (!r)
|
|
515
515
|
return e;
|
|
@@ -538,13 +538,13 @@ function W(e, t, r) {
|
|
|
538
538
|
function O(e) {
|
|
539
539
|
return typeof e == "function";
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function It(e) {
|
|
542
542
|
var t = function(n) {
|
|
543
543
|
Error.call(n), n.stack = new Error().stack;
|
|
544
544
|
}, r = e(t);
|
|
545
545
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
546
546
|
}
|
|
547
|
-
var Te =
|
|
547
|
+
var Te = It(function(e) {
|
|
548
548
|
return function(r) {
|
|
549
549
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
550
550
|
` + r.map(function(n, i) {
|
|
@@ -553,7 +553,7 @@ var Te = Bt(function(e) {
|
|
|
553
553
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
554
554
|
};
|
|
555
555
|
});
|
|
556
|
-
function
|
|
556
|
+
function Re(e, t) {
|
|
557
557
|
if (e) {
|
|
558
558
|
var r = e.indexOf(t);
|
|
559
559
|
0 <= r && e.splice(r, 1);
|
|
@@ -571,7 +571,7 @@ var ye = function() {
|
|
|
571
571
|
if (s)
|
|
572
572
|
if (this._parentage = null, Array.isArray(s))
|
|
573
573
|
try {
|
|
574
|
-
for (var a =
|
|
574
|
+
for (var a = Me(s), h = a.next(); !h.done; h = a.next()) {
|
|
575
575
|
var u = h.value;
|
|
576
576
|
u.remove(this);
|
|
577
577
|
}
|
|
@@ -598,19 +598,19 @@ var ye = function() {
|
|
|
598
598
|
if (c) {
|
|
599
599
|
this._finalizers = null;
|
|
600
600
|
try {
|
|
601
|
-
for (var f =
|
|
602
|
-
var
|
|
601
|
+
for (var f = Me(c), d = f.next(); !d.done; d = f.next()) {
|
|
602
|
+
var m = d.value;
|
|
603
603
|
try {
|
|
604
|
-
|
|
604
|
+
rt(m);
|
|
605
605
|
} catch (p) {
|
|
606
|
-
o = o ?? [], p instanceof Te ? o = W(W([],
|
|
606
|
+
o = o ?? [], p instanceof Te ? o = W(W([], $e(o)), $e(p.errors)) : o.push(p);
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
} catch (p) {
|
|
610
610
|
n = { error: p };
|
|
611
611
|
} finally {
|
|
612
612
|
try {
|
|
613
|
-
|
|
613
|
+
d && !d.done && (i = f.return) && i.call(f);
|
|
614
614
|
} finally {
|
|
615
615
|
if (n)
|
|
616
616
|
throw n.error;
|
|
@@ -624,7 +624,7 @@ var ye = function() {
|
|
|
624
624
|
var r;
|
|
625
625
|
if (t && t !== this)
|
|
626
626
|
if (this.closed)
|
|
627
|
-
|
|
627
|
+
rt(t);
|
|
628
628
|
else {
|
|
629
629
|
if (t instanceof e) {
|
|
630
630
|
if (t.closed || t._hasParent(this))
|
|
@@ -641,52 +641,56 @@ var ye = function() {
|
|
|
641
641
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
642
642
|
}, e.prototype._removeParent = function(t) {
|
|
643
643
|
var r = this._parentage;
|
|
644
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
644
|
+
r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
|
|
645
645
|
}, e.prototype.remove = function(t) {
|
|
646
646
|
var r = this._finalizers;
|
|
647
|
-
r &&
|
|
647
|
+
r && Re(r, t), t instanceof e && t._removeParent(this);
|
|
648
648
|
}, e.EMPTY = function() {
|
|
649
649
|
var t = new e();
|
|
650
650
|
return t.closed = !0, t;
|
|
651
651
|
}(), e;
|
|
652
|
-
}(),
|
|
653
|
-
function
|
|
652
|
+
}(), Ct = ye.EMPTY;
|
|
653
|
+
function Lt(e) {
|
|
654
654
|
return e instanceof ye || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
|
|
655
655
|
}
|
|
656
|
-
function
|
|
656
|
+
function rt(e) {
|
|
657
657
|
O(e) ? e() : e.unsubscribe();
|
|
658
658
|
}
|
|
659
|
-
var
|
|
660
|
-
|
|
661
|
-
|
|
659
|
+
var Mt = {
|
|
660
|
+
onUnhandledError: null,
|
|
661
|
+
onStoppedNotification: null,
|
|
662
|
+
Promise: void 0,
|
|
663
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
664
|
+
useDeprecatedNextContext: !1
|
|
665
|
+
}, Cr = {
|
|
662
666
|
setTimeout: function(e, t) {
|
|
663
667
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
664
668
|
r[n - 2] = arguments[n];
|
|
665
|
-
return setTimeout.apply(void 0, W([e, t],
|
|
669
|
+
return setTimeout.apply(void 0, W([e, t], $e(r)));
|
|
666
670
|
},
|
|
667
671
|
clearTimeout: function(e) {
|
|
668
672
|
return clearTimeout(e);
|
|
669
673
|
},
|
|
670
674
|
delegate: void 0
|
|
671
675
|
};
|
|
672
|
-
function
|
|
673
|
-
|
|
676
|
+
function Lr(e) {
|
|
677
|
+
Cr.setTimeout(function() {
|
|
674
678
|
throw e;
|
|
675
679
|
});
|
|
676
680
|
}
|
|
677
|
-
function
|
|
681
|
+
function nt() {
|
|
678
682
|
}
|
|
679
683
|
function fe(e) {
|
|
680
684
|
e();
|
|
681
685
|
}
|
|
682
|
-
var
|
|
686
|
+
var $t = function(e) {
|
|
683
687
|
C(t, e);
|
|
684
688
|
function t(r) {
|
|
685
689
|
var n = e.call(this) || this;
|
|
686
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
690
|
+
return n.isStopped = !1, r ? (n.destination = r, Lt(r) && r.add(n)) : n.destination = Ur, n;
|
|
687
691
|
}
|
|
688
692
|
return t.create = function(r, n, i) {
|
|
689
|
-
return new
|
|
693
|
+
return new Ue(r, n, i);
|
|
690
694
|
}, t.prototype.next = function(r) {
|
|
691
695
|
this.isStopped || this._next(r);
|
|
692
696
|
}, t.prototype.error = function(r) {
|
|
@@ -710,7 +714,11 @@ var It = function(e) {
|
|
|
710
714
|
this.unsubscribe();
|
|
711
715
|
}
|
|
712
716
|
}, t;
|
|
713
|
-
}(ye),
|
|
717
|
+
}(ye), Mr = Function.prototype.bind;
|
|
718
|
+
function He(e, t) {
|
|
719
|
+
return Mr.call(e, t);
|
|
720
|
+
}
|
|
721
|
+
var $r = function() {
|
|
714
722
|
function e(t) {
|
|
715
723
|
this.partialObserver = t;
|
|
716
724
|
}
|
|
@@ -741,43 +749,55 @@ var It = function(e) {
|
|
|
741
749
|
ue(r);
|
|
742
750
|
}
|
|
743
751
|
}, e;
|
|
744
|
-
}(),
|
|
752
|
+
}(), Ue = function(e) {
|
|
745
753
|
C(t, e);
|
|
746
754
|
function t(r, n, i) {
|
|
747
755
|
var o = e.call(this) || this, s;
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
756
|
+
if (O(r) || !r)
|
|
757
|
+
s = {
|
|
758
|
+
next: r ?? void 0,
|
|
759
|
+
error: n ?? void 0,
|
|
760
|
+
complete: i ?? void 0
|
|
761
|
+
};
|
|
762
|
+
else {
|
|
763
|
+
var a;
|
|
764
|
+
o && Mt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
765
|
+
return o.unsubscribe();
|
|
766
|
+
}, s = {
|
|
767
|
+
next: r.next && He(r.next, a),
|
|
768
|
+
error: r.error && He(r.error, a),
|
|
769
|
+
complete: r.complete && He(r.complete, a)
|
|
770
|
+
}) : s = r;
|
|
771
|
+
}
|
|
772
|
+
return o.destination = new $r(s), o;
|
|
753
773
|
}
|
|
754
774
|
return t;
|
|
755
|
-
}(
|
|
775
|
+
}($t);
|
|
756
776
|
function ue(e) {
|
|
757
|
-
|
|
777
|
+
Lr(e);
|
|
758
778
|
}
|
|
759
|
-
function
|
|
779
|
+
function Rr(e) {
|
|
760
780
|
throw e;
|
|
761
781
|
}
|
|
762
|
-
var
|
|
782
|
+
var Ur = {
|
|
763
783
|
closed: !0,
|
|
764
|
-
next:
|
|
765
|
-
error:
|
|
766
|
-
complete:
|
|
767
|
-
},
|
|
784
|
+
next: nt,
|
|
785
|
+
error: Rr,
|
|
786
|
+
complete: nt
|
|
787
|
+
}, Dr = function() {
|
|
768
788
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
769
789
|
}();
|
|
770
|
-
function
|
|
790
|
+
function Gr(e) {
|
|
771
791
|
return e;
|
|
772
792
|
}
|
|
773
|
-
function
|
|
774
|
-
return e.length === 0 ?
|
|
793
|
+
function Fr(e) {
|
|
794
|
+
return e.length === 0 ? Gr : e.length === 1 ? e[0] : function(r) {
|
|
775
795
|
return e.reduce(function(n, i) {
|
|
776
796
|
return i(n);
|
|
777
797
|
}, r);
|
|
778
798
|
};
|
|
779
799
|
}
|
|
780
|
-
var
|
|
800
|
+
var it = function() {
|
|
781
801
|
function e(t) {
|
|
782
802
|
t && (this._subscribe = t);
|
|
783
803
|
}
|
|
@@ -785,7 +805,7 @@ var tt = function() {
|
|
|
785
805
|
var r = new e();
|
|
786
806
|
return r.source = this, r.operator = t, r;
|
|
787
807
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
788
|
-
var i = this, o =
|
|
808
|
+
var i = this, o = jr(t) ? t : new Ue(t, r, n);
|
|
789
809
|
return fe(function() {
|
|
790
810
|
var s = i, a = s.operator, h = s.source;
|
|
791
811
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -798,8 +818,8 @@ var tt = function() {
|
|
|
798
818
|
}
|
|
799
819
|
}, e.prototype.forEach = function(t, r) {
|
|
800
820
|
var n = this;
|
|
801
|
-
return r =
|
|
802
|
-
var s = new
|
|
821
|
+
return r = ot(r), new r(function(i, o) {
|
|
822
|
+
var s = new Ue({
|
|
803
823
|
next: function(a) {
|
|
804
824
|
try {
|
|
805
825
|
t(a);
|
|
@@ -815,15 +835,15 @@ var tt = function() {
|
|
|
815
835
|
}, e.prototype._subscribe = function(t) {
|
|
816
836
|
var r;
|
|
817
837
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
818
|
-
}, e.prototype[
|
|
838
|
+
}, e.prototype[Dr] = function() {
|
|
819
839
|
return this;
|
|
820
840
|
}, e.prototype.pipe = function() {
|
|
821
841
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
822
842
|
t[r] = arguments[r];
|
|
823
|
-
return
|
|
843
|
+
return Fr(t)(this);
|
|
824
844
|
}, e.prototype.toPromise = function(t) {
|
|
825
845
|
var r = this;
|
|
826
|
-
return t =
|
|
846
|
+
return t = ot(t), new t(function(n, i) {
|
|
827
847
|
var o;
|
|
828
848
|
r.subscribe(function(s) {
|
|
829
849
|
return o = s;
|
|
@@ -837,32 +857,32 @@ var tt = function() {
|
|
|
837
857
|
return new e(t);
|
|
838
858
|
}, e;
|
|
839
859
|
}();
|
|
840
|
-
function
|
|
860
|
+
function ot(e) {
|
|
841
861
|
var t;
|
|
842
|
-
return (t = e ??
|
|
862
|
+
return (t = e ?? Mt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
843
863
|
}
|
|
844
|
-
function
|
|
864
|
+
function kr(e) {
|
|
845
865
|
return e && O(e.next) && O(e.error) && O(e.complete);
|
|
846
866
|
}
|
|
847
|
-
function
|
|
848
|
-
return e && e instanceof
|
|
867
|
+
function jr(e) {
|
|
868
|
+
return e && e instanceof $t || kr(e) && Lt(e);
|
|
849
869
|
}
|
|
850
|
-
var
|
|
870
|
+
var Vr = It(function(e) {
|
|
851
871
|
return function() {
|
|
852
872
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
853
873
|
};
|
|
854
|
-
}),
|
|
874
|
+
}), Rt = function(e) {
|
|
855
875
|
C(t, e);
|
|
856
876
|
function t() {
|
|
857
877
|
var r = e.call(this) || this;
|
|
858
878
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
859
879
|
}
|
|
860
880
|
return t.prototype.lift = function(r) {
|
|
861
|
-
var n = new
|
|
881
|
+
var n = new st(this, this);
|
|
862
882
|
return n.operator = r, n;
|
|
863
883
|
}, t.prototype._throwIfClosed = function() {
|
|
864
884
|
if (this.closed)
|
|
865
|
-
throw new
|
|
885
|
+
throw new Vr();
|
|
866
886
|
}, t.prototype.next = function(r) {
|
|
867
887
|
var n = this;
|
|
868
888
|
fe(function() {
|
|
@@ -870,7 +890,7 @@ var Gr = Bt(function(e) {
|
|
|
870
890
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
871
891
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
872
892
|
try {
|
|
873
|
-
for (var s =
|
|
893
|
+
for (var s = Me(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
874
894
|
var h = a.value;
|
|
875
895
|
h.next(r);
|
|
876
896
|
}
|
|
@@ -919,19 +939,19 @@ var Gr = Bt(function(e) {
|
|
|
919
939
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
920
940
|
}, t.prototype._innerSubscribe = function(r) {
|
|
921
941
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
922
|
-
return o || s ?
|
|
923
|
-
n.currentObservers = null,
|
|
942
|
+
return o || s ? Ct : (this.currentObservers = null, a.push(r), new ye(function() {
|
|
943
|
+
n.currentObservers = null, Re(a, r);
|
|
924
944
|
}));
|
|
925
945
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
926
946
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
927
947
|
i ? r.error(o) : s && r.complete();
|
|
928
948
|
}, t.prototype.asObservable = function() {
|
|
929
|
-
var r = new
|
|
949
|
+
var r = new it();
|
|
930
950
|
return r.source = this, r;
|
|
931
951
|
}, t.create = function(r, n) {
|
|
932
|
-
return new
|
|
952
|
+
return new st(r, n);
|
|
933
953
|
}, t;
|
|
934
|
-
}(
|
|
954
|
+
}(it), st = function(e) {
|
|
935
955
|
C(t, e);
|
|
936
956
|
function t(r, n) {
|
|
937
957
|
var i = e.call(this) || this;
|
|
@@ -948,17 +968,17 @@ var Gr = Bt(function(e) {
|
|
|
948
968
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
949
969
|
}, t.prototype._subscribe = function(r) {
|
|
950
970
|
var n, i;
|
|
951
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
971
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ct;
|
|
952
972
|
}, t;
|
|
953
|
-
}(
|
|
973
|
+
}(Rt), Ut = {
|
|
954
974
|
now: function() {
|
|
955
|
-
return (
|
|
975
|
+
return (Ut.delegate || Date).now();
|
|
956
976
|
},
|
|
957
977
|
delegate: void 0
|
|
958
|
-
},
|
|
978
|
+
}, Xr = function(e) {
|
|
959
979
|
C(t, e);
|
|
960
980
|
function t(r, n, i) {
|
|
961
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
981
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
|
|
962
982
|
var o = e.call(this) || this;
|
|
963
983
|
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;
|
|
964
984
|
}
|
|
@@ -978,15 +998,15 @@ var Gr = Bt(function(e) {
|
|
|
978
998
|
u && o.splice(0, u + 1);
|
|
979
999
|
}
|
|
980
1000
|
}, t;
|
|
981
|
-
}(
|
|
982
|
-
const
|
|
983
|
-
if (
|
|
984
|
-
const r = new
|
|
985
|
-
|
|
1001
|
+
}(Rt);
|
|
1002
|
+
const at = [], ut = {}, Wr = (e, t = 0) => {
|
|
1003
|
+
if (at.indexOf(e) == -1) {
|
|
1004
|
+
const r = new Xr(t);
|
|
1005
|
+
ut[e] = r, at.push(e);
|
|
986
1006
|
}
|
|
987
|
-
return
|
|
1007
|
+
return ut[e];
|
|
988
1008
|
}, j = [];
|
|
989
|
-
function
|
|
1009
|
+
function zr(e, t) {
|
|
990
1010
|
return {
|
|
991
1011
|
subscribe: ve(e, t).subscribe
|
|
992
1012
|
};
|
|
@@ -995,7 +1015,7 @@ function ve(e, t = H) {
|
|
|
995
1015
|
let r;
|
|
996
1016
|
const n = /* @__PURE__ */ new Set();
|
|
997
1017
|
function i(a) {
|
|
998
|
-
if (
|
|
1018
|
+
if (wt(e, a) && (e = a, r)) {
|
|
999
1019
|
const h = !j.length;
|
|
1000
1020
|
for (const u of n)
|
|
1001
1021
|
u[1](), j.push(u, e);
|
|
@@ -1022,7 +1042,7 @@ function q(e, t, r) {
|
|
|
1022
1042
|
if (!i.every(Boolean))
|
|
1023
1043
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1024
1044
|
const o = t.length < 2;
|
|
1025
|
-
return
|
|
1045
|
+
return zr(r, (s, a) => {
|
|
1026
1046
|
let h = !1;
|
|
1027
1047
|
const u = [];
|
|
1028
1048
|
let l = 0, c = H;
|
|
@@ -1030,11 +1050,11 @@ function q(e, t, r) {
|
|
|
1030
1050
|
if (l)
|
|
1031
1051
|
return;
|
|
1032
1052
|
c();
|
|
1033
|
-
const
|
|
1034
|
-
o ? s(
|
|
1035
|
-
},
|
|
1036
|
-
(
|
|
1037
|
-
|
|
1053
|
+
const m = t(n ? u[0] : u, s, a);
|
|
1054
|
+
o ? s(m) : c = ze(m) ? m : H;
|
|
1055
|
+
}, d = i.map(
|
|
1056
|
+
(m, p) => lr(
|
|
1057
|
+
m,
|
|
1038
1058
|
(E) => {
|
|
1039
1059
|
u[p] = E, l &= ~(1 << p), h && f();
|
|
1040
1060
|
},
|
|
@@ -1044,74 +1064,74 @@ function q(e, t, r) {
|
|
|
1044
1064
|
)
|
|
1045
1065
|
);
|
|
1046
1066
|
return h = !0, f(), function() {
|
|
1047
|
-
ie(
|
|
1067
|
+
ie(d), c(), h = !1;
|
|
1048
1068
|
};
|
|
1049
1069
|
});
|
|
1050
1070
|
}
|
|
1051
|
-
function
|
|
1071
|
+
function Zr(e) {
|
|
1052
1072
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1053
1073
|
}
|
|
1054
|
-
var
|
|
1055
|
-
return
|
|
1074
|
+
var Qr = function(t) {
|
|
1075
|
+
return Jr(t) && !qr(t);
|
|
1056
1076
|
};
|
|
1057
|
-
function
|
|
1077
|
+
function Jr(e) {
|
|
1058
1078
|
return !!e && typeof e == "object";
|
|
1059
1079
|
}
|
|
1060
|
-
function
|
|
1080
|
+
function qr(e) {
|
|
1061
1081
|
var t = Object.prototype.toString.call(e);
|
|
1062
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1082
|
+
return t === "[object RegExp]" || t === "[object Date]" || en(e);
|
|
1063
1083
|
}
|
|
1064
|
-
var
|
|
1065
|
-
function
|
|
1066
|
-
return e.$$typeof ===
|
|
1084
|
+
var Yr = typeof Symbol == "function" && Symbol.for, Kr = Yr ? Symbol.for("react.element") : 60103;
|
|
1085
|
+
function en(e) {
|
|
1086
|
+
return e.$$typeof === Kr;
|
|
1067
1087
|
}
|
|
1068
|
-
function
|
|
1088
|
+
function tn(e) {
|
|
1069
1089
|
return Array.isArray(e) ? [] : {};
|
|
1070
1090
|
}
|
|
1071
1091
|
function re(e, t) {
|
|
1072
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? z(
|
|
1092
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? z(tn(e), e, t) : e;
|
|
1073
1093
|
}
|
|
1074
|
-
function
|
|
1094
|
+
function rn(e, t, r) {
|
|
1075
1095
|
return e.concat(t).map(function(n) {
|
|
1076
1096
|
return re(n, r);
|
|
1077
1097
|
});
|
|
1078
1098
|
}
|
|
1079
|
-
function
|
|
1099
|
+
function nn(e, t) {
|
|
1080
1100
|
if (!t.customMerge)
|
|
1081
1101
|
return z;
|
|
1082
1102
|
var r = t.customMerge(e);
|
|
1083
1103
|
return typeof r == "function" ? r : z;
|
|
1084
1104
|
}
|
|
1085
|
-
function
|
|
1105
|
+
function on(e) {
|
|
1086
1106
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1087
1107
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1088
1108
|
}) : [];
|
|
1089
1109
|
}
|
|
1090
|
-
function
|
|
1091
|
-
return Object.keys(e).concat(
|
|
1110
|
+
function ht(e) {
|
|
1111
|
+
return Object.keys(e).concat(on(e));
|
|
1092
1112
|
}
|
|
1093
|
-
function
|
|
1113
|
+
function Dt(e, t) {
|
|
1094
1114
|
try {
|
|
1095
1115
|
return t in e;
|
|
1096
1116
|
} catch {
|
|
1097
1117
|
return !1;
|
|
1098
1118
|
}
|
|
1099
1119
|
}
|
|
1100
|
-
function
|
|
1101
|
-
return
|
|
1120
|
+
function sn(e, t) {
|
|
1121
|
+
return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1102
1122
|
}
|
|
1103
|
-
function
|
|
1123
|
+
function an(e, t, r) {
|
|
1104
1124
|
var n = {};
|
|
1105
|
-
return r.isMergeableObject(e) &&
|
|
1125
|
+
return r.isMergeableObject(e) && ht(e).forEach(function(i) {
|
|
1106
1126
|
n[i] = re(e[i], r);
|
|
1107
|
-
}),
|
|
1108
|
-
|
|
1127
|
+
}), ht(t).forEach(function(i) {
|
|
1128
|
+
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));
|
|
1109
1129
|
}), n;
|
|
1110
1130
|
}
|
|
1111
1131
|
function z(e, t, r) {
|
|
1112
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1132
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || rn, r.isMergeableObject = r.isMergeableObject || Qr, r.cloneUnlessOtherwiseSpecified = re;
|
|
1113
1133
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1114
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1134
|
+
return o ? n ? r.arrayMerge(e, t, r) : an(e, t, r) : re(t, r);
|
|
1115
1135
|
}
|
|
1116
1136
|
z.all = function(t, r) {
|
|
1117
1137
|
if (!Array.isArray(t))
|
|
@@ -1120,56 +1140,58 @@ z.all = function(t, r) {
|
|
|
1120
1140
|
return z(n, i, r);
|
|
1121
1141
|
}, {});
|
|
1122
1142
|
};
|
|
1123
|
-
var
|
|
1124
|
-
const
|
|
1125
|
-
function
|
|
1126
|
-
var r = t && t.cache ? t.cache :
|
|
1143
|
+
var un = z, hn = un;
|
|
1144
|
+
const ln = /* @__PURE__ */ Zr(hn);
|
|
1145
|
+
function Ae(e, t) {
|
|
1146
|
+
var r = t && t.cache ? t.cache : bn, n = t && t.serializer ? t.serializer : mn, i = t && t.strategy ? t.strategy : fn;
|
|
1127
1147
|
return i(e, {
|
|
1128
1148
|
cache: r,
|
|
1129
1149
|
serializer: n
|
|
1130
1150
|
});
|
|
1131
1151
|
}
|
|
1132
|
-
function
|
|
1152
|
+
function cn(e) {
|
|
1133
1153
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1134
1154
|
}
|
|
1135
|
-
function
|
|
1136
|
-
var i =
|
|
1155
|
+
function Gt(e, t, r, n) {
|
|
1156
|
+
var i = cn(n) ? n : r(n), o = t.get(i);
|
|
1137
1157
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1138
1158
|
}
|
|
1139
|
-
function
|
|
1159
|
+
function Ft(e, t, r) {
|
|
1140
1160
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1141
1161
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1142
1162
|
}
|
|
1143
|
-
function
|
|
1163
|
+
function Ze(e, t, r, n, i) {
|
|
1144
1164
|
return r.bind(t, e, n, i);
|
|
1145
1165
|
}
|
|
1146
|
-
function
|
|
1147
|
-
var r = e.length === 1 ?
|
|
1148
|
-
return
|
|
1166
|
+
function fn(e, t) {
|
|
1167
|
+
var r = e.length === 1 ? Gt : Ft;
|
|
1168
|
+
return Ze(e, this, r, t.cache.create(), t.serializer);
|
|
1169
|
+
}
|
|
1170
|
+
function pn(e, t) {
|
|
1171
|
+
return Ze(e, this, Ft, t.cache.create(), t.serializer);
|
|
1149
1172
|
}
|
|
1150
|
-
function
|
|
1151
|
-
return
|
|
1173
|
+
function dn(e, t) {
|
|
1174
|
+
return Ze(e, this, Gt, t.cache.create(), t.serializer);
|
|
1152
1175
|
}
|
|
1153
|
-
var
|
|
1176
|
+
var mn = function() {
|
|
1154
1177
|
return JSON.stringify(arguments);
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
}()
|
|
1167
|
-
), pn = {
|
|
1178
|
+
};
|
|
1179
|
+
function Qe() {
|
|
1180
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1181
|
+
}
|
|
1182
|
+
Qe.prototype.get = function(e) {
|
|
1183
|
+
return this.cache[e];
|
|
1184
|
+
};
|
|
1185
|
+
Qe.prototype.set = function(e, t) {
|
|
1186
|
+
this.cache[e] = t;
|
|
1187
|
+
};
|
|
1188
|
+
var bn = {
|
|
1168
1189
|
create: function() {
|
|
1169
|
-
return new
|
|
1190
|
+
return new Qe();
|
|
1170
1191
|
}
|
|
1171
|
-
},
|
|
1172
|
-
variadic:
|
|
1192
|
+
}, Pe = {
|
|
1193
|
+
variadic: pn,
|
|
1194
|
+
monadic: dn
|
|
1173
1195
|
}, b;
|
|
1174
1196
|
(function(e) {
|
|
1175
1197
|
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";
|
|
@@ -1182,43 +1204,43 @@ var Z;
|
|
|
1182
1204
|
(function(e) {
|
|
1183
1205
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1184
1206
|
})(Z || (Z = {}));
|
|
1185
|
-
function
|
|
1207
|
+
function lt(e) {
|
|
1186
1208
|
return e.type === _.literal;
|
|
1187
1209
|
}
|
|
1188
|
-
function
|
|
1210
|
+
function gn(e) {
|
|
1189
1211
|
return e.type === _.argument;
|
|
1190
1212
|
}
|
|
1191
|
-
function
|
|
1213
|
+
function kt(e) {
|
|
1192
1214
|
return e.type === _.number;
|
|
1193
1215
|
}
|
|
1194
|
-
function
|
|
1216
|
+
function jt(e) {
|
|
1195
1217
|
return e.type === _.date;
|
|
1196
1218
|
}
|
|
1197
|
-
function
|
|
1219
|
+
function Vt(e) {
|
|
1198
1220
|
return e.type === _.time;
|
|
1199
1221
|
}
|
|
1200
|
-
function
|
|
1222
|
+
function Xt(e) {
|
|
1201
1223
|
return e.type === _.select;
|
|
1202
1224
|
}
|
|
1203
|
-
function
|
|
1225
|
+
function Wt(e) {
|
|
1204
1226
|
return e.type === _.plural;
|
|
1205
1227
|
}
|
|
1206
|
-
function
|
|
1228
|
+
function yn(e) {
|
|
1207
1229
|
return e.type === _.pound;
|
|
1208
1230
|
}
|
|
1209
|
-
function
|
|
1231
|
+
function zt(e) {
|
|
1210
1232
|
return e.type === _.tag;
|
|
1211
1233
|
}
|
|
1212
|
-
function
|
|
1234
|
+
function Zt(e) {
|
|
1213
1235
|
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
1214
1236
|
}
|
|
1215
|
-
function
|
|
1237
|
+
function De(e) {
|
|
1216
1238
|
return !!(e && typeof e == "object" && e.type === Z.dateTime);
|
|
1217
1239
|
}
|
|
1218
|
-
var
|
|
1219
|
-
function
|
|
1240
|
+
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;
|
|
1241
|
+
function _n(e) {
|
|
1220
1242
|
var t = {};
|
|
1221
|
-
return e.replace(
|
|
1243
|
+
return e.replace(vn, function(r) {
|
|
1222
1244
|
var n = r.length;
|
|
1223
1245
|
switch (r[0]) {
|
|
1224
1246
|
case "G":
|
|
@@ -1307,11 +1329,11 @@ function gn(e) {
|
|
|
1307
1329
|
return "";
|
|
1308
1330
|
}), t;
|
|
1309
1331
|
}
|
|
1310
|
-
var
|
|
1311
|
-
function
|
|
1332
|
+
var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1333
|
+
function En(e) {
|
|
1312
1334
|
if (e.length === 0)
|
|
1313
1335
|
throw new Error("Number skeleton cannot be empty");
|
|
1314
|
-
for (var t = e.split(
|
|
1336
|
+
for (var t = e.split(xn).filter(function(f) {
|
|
1315
1337
|
return f.length > 0;
|
|
1316
1338
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1317
1339
|
var o = i[n], s = o.split("/");
|
|
@@ -1326,17 +1348,17 @@ function vn(e) {
|
|
|
1326
1348
|
}
|
|
1327
1349
|
return r;
|
|
1328
1350
|
}
|
|
1329
|
-
function
|
|
1351
|
+
function Sn(e) {
|
|
1330
1352
|
return e.replace(/^(.*?)-/, "");
|
|
1331
1353
|
}
|
|
1332
|
-
var
|
|
1333
|
-
function
|
|
1354
|
+
var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
|
|
1355
|
+
function ft(e) {
|
|
1334
1356
|
var t = {};
|
|
1335
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1357
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
|
|
1336
1358
|
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)), "";
|
|
1337
1359
|
}), t;
|
|
1338
1360
|
}
|
|
1339
|
-
function
|
|
1361
|
+
function Yt(e) {
|
|
1340
1362
|
switch (e) {
|
|
1341
1363
|
case "sign-auto":
|
|
1342
1364
|
return {
|
|
@@ -1376,7 +1398,7 @@ function Zt(e) {
|
|
|
1376
1398
|
};
|
|
1377
1399
|
}
|
|
1378
1400
|
}
|
|
1379
|
-
function
|
|
1401
|
+
function Hn(e) {
|
|
1380
1402
|
var t;
|
|
1381
1403
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1382
1404
|
notation: "engineering"
|
|
@@ -1384,17 +1406,17 @@ function En(e) {
|
|
|
1384
1406
|
notation: "scientific"
|
|
1385
1407
|
}, e = e.slice(1)), t) {
|
|
1386
1408
|
var r = e.slice(0, 2);
|
|
1387
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1409
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
|
|
1388
1410
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1389
1411
|
t.minimumIntegerDigits = e.length;
|
|
1390
1412
|
}
|
|
1391
1413
|
return t;
|
|
1392
1414
|
}
|
|
1393
|
-
function
|
|
1394
|
-
var t = {}, r =
|
|
1415
|
+
function pt(e) {
|
|
1416
|
+
var t = {}, r = Yt(e);
|
|
1395
1417
|
return r || t;
|
|
1396
1418
|
}
|
|
1397
|
-
function
|
|
1419
|
+
function An(e) {
|
|
1398
1420
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1399
1421
|
var i = n[r];
|
|
1400
1422
|
switch (i.stem) {
|
|
@@ -1418,7 +1440,7 @@ function Sn(e) {
|
|
|
1418
1440
|
continue;
|
|
1419
1441
|
case "measure-unit":
|
|
1420
1442
|
case "unit":
|
|
1421
|
-
t.style = "unit", t.unit =
|
|
1443
|
+
t.style = "unit", t.unit = Sn(i.options[0]);
|
|
1422
1444
|
continue;
|
|
1423
1445
|
case "compact-short":
|
|
1424
1446
|
case "K":
|
|
@@ -1430,12 +1452,12 @@ function Sn(e) {
|
|
|
1430
1452
|
continue;
|
|
1431
1453
|
case "scientific":
|
|
1432
1454
|
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1433
|
-
return v(v({}, h),
|
|
1455
|
+
return v(v({}, h), pt(u));
|
|
1434
1456
|
}, {}));
|
|
1435
1457
|
continue;
|
|
1436
1458
|
case "engineering":
|
|
1437
1459
|
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1438
|
-
return v(v({}, h),
|
|
1460
|
+
return v(v({}, h), pt(u));
|
|
1439
1461
|
}, {}));
|
|
1440
1462
|
continue;
|
|
1441
1463
|
case "notation-simple":
|
|
@@ -1480,40 +1502,40 @@ function Sn(e) {
|
|
|
1480
1502
|
case "integer-width":
|
|
1481
1503
|
if (i.options.length > 1)
|
|
1482
1504
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1483
|
-
i.options[0].replace(
|
|
1505
|
+
i.options[0].replace(Tn, function(h, u, l, c, f, d) {
|
|
1484
1506
|
if (u)
|
|
1485
1507
|
t.minimumIntegerDigits = l.length;
|
|
1486
1508
|
else {
|
|
1487
1509
|
if (c && f)
|
|
1488
1510
|
throw new Error("We currently do not support maximum integer digits");
|
|
1489
|
-
if (
|
|
1511
|
+
if (d)
|
|
1490
1512
|
throw new Error("We currently do not support exact integer digits");
|
|
1491
1513
|
}
|
|
1492
1514
|
return "";
|
|
1493
1515
|
});
|
|
1494
1516
|
continue;
|
|
1495
1517
|
}
|
|
1496
|
-
if (
|
|
1518
|
+
if (qt.test(i.stem)) {
|
|
1497
1519
|
t.minimumIntegerDigits = i.stem.length;
|
|
1498
1520
|
continue;
|
|
1499
1521
|
}
|
|
1500
|
-
if (
|
|
1522
|
+
if (ct.test(i.stem)) {
|
|
1501
1523
|
if (i.options.length > 1)
|
|
1502
1524
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1503
|
-
i.stem.replace(
|
|
1504
|
-
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1525
|
+
i.stem.replace(ct, function(h, u, l, c, f, d) {
|
|
1526
|
+
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1505
1527
|
});
|
|
1506
1528
|
var o = i.options[0];
|
|
1507
|
-
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t),
|
|
1529
|
+
o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), ft(o)));
|
|
1508
1530
|
continue;
|
|
1509
1531
|
}
|
|
1510
|
-
if (
|
|
1511
|
-
t = v(v({}, t),
|
|
1532
|
+
if (Jt.test(i.stem)) {
|
|
1533
|
+
t = v(v({}, t), ft(i.stem));
|
|
1512
1534
|
continue;
|
|
1513
1535
|
}
|
|
1514
|
-
var s =
|
|
1536
|
+
var s = Yt(i.stem);
|
|
1515
1537
|
s && (t = v(v({}, t), s));
|
|
1516
|
-
var a =
|
|
1538
|
+
var a = Hn(i.stem);
|
|
1517
1539
|
a && (t = v(v({}, t), a));
|
|
1518
1540
|
}
|
|
1519
1541
|
return t;
|
|
@@ -2933,13 +2955,13 @@ var he = {
|
|
|
2933
2955
|
"h"
|
|
2934
2956
|
]
|
|
2935
2957
|
};
|
|
2936
|
-
function
|
|
2958
|
+
function Pn(e, t) {
|
|
2937
2959
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2938
2960
|
var i = e.charAt(n);
|
|
2939
2961
|
if (i === "j") {
|
|
2940
2962
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2941
2963
|
o++, n++;
|
|
2942
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2964
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = wn(t);
|
|
2943
2965
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2944
2966
|
r += h;
|
|
2945
2967
|
for (; s-- > 0; )
|
|
@@ -2949,7 +2971,7 @@ function Tn(e, t) {
|
|
|
2949
2971
|
}
|
|
2950
2972
|
return r;
|
|
2951
2973
|
}
|
|
2952
|
-
function
|
|
2974
|
+
function wn(e) {
|
|
2953
2975
|
var t = e.hourCycle;
|
|
2954
2976
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2955
2977
|
e.hourCycles && // @ts-ignore
|
|
@@ -2971,20 +2993,20 @@ function Hn(e) {
|
|
|
2971
2993
|
var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
|
|
2972
2994
|
return i[0];
|
|
2973
2995
|
}
|
|
2974
|
-
var
|
|
2996
|
+
var we, Bn = new RegExp("^".concat(Qt.source, "*")), Nn = new RegExp("".concat(Qt.source, "*$"));
|
|
2975
2997
|
function g(e, t) {
|
|
2976
2998
|
return { start: e, end: t };
|
|
2977
2999
|
}
|
|
2978
|
-
var
|
|
3000
|
+
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) {
|
|
2979
3001
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2980
|
-
},
|
|
3002
|
+
}, Ge = !0;
|
|
2981
3003
|
try {
|
|
2982
|
-
var
|
|
2983
|
-
|
|
3004
|
+
var Dn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3005
|
+
Ge = ((we = Dn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
|
|
2984
3006
|
} catch {
|
|
2985
|
-
|
|
3007
|
+
Ge = !1;
|
|
2986
3008
|
}
|
|
2987
|
-
var
|
|
3009
|
+
var dt = On ? (
|
|
2988
3010
|
// Native
|
|
2989
3011
|
function(t, r, n) {
|
|
2990
3012
|
return t.startsWith(r, n);
|
|
@@ -2994,7 +3016,7 @@ var ct = wn ? (
|
|
|
2994
3016
|
function(t, r, n) {
|
|
2995
3017
|
return t.slice(n, n + r.length) === r;
|
|
2996
3018
|
}
|
|
2997
|
-
),
|
|
3019
|
+
), Fe = In ? String.fromCodePoint : (
|
|
2998
3020
|
// IE11
|
|
2999
3021
|
function() {
|
|
3000
3022
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3006,9 +3028,9 @@ var ct = wn ? (
|
|
|
3006
3028
|
}
|
|
3007
3029
|
return n;
|
|
3008
3030
|
}
|
|
3009
|
-
),
|
|
3031
|
+
), mt = (
|
|
3010
3032
|
// native
|
|
3011
|
-
|
|
3033
|
+
Cn ? Object.fromEntries : (
|
|
3012
3034
|
// Ponyfill
|
|
3013
3035
|
function(t) {
|
|
3014
3036
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3018,7 +3040,7 @@ var ct = wn ? (
|
|
|
3018
3040
|
return r;
|
|
3019
3041
|
}
|
|
3020
3042
|
)
|
|
3021
|
-
),
|
|
3043
|
+
), Kt = Ln ? (
|
|
3022
3044
|
// Native
|
|
3023
3045
|
function(t, r) {
|
|
3024
3046
|
return t.codePointAt(r);
|
|
@@ -3032,7 +3054,7 @@ var ct = wn ? (
|
|
|
3032
3054
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3033
3055
|
}
|
|
3034
3056
|
}
|
|
3035
|
-
),
|
|
3057
|
+
), Gn = Mn ? (
|
|
3036
3058
|
// Native
|
|
3037
3059
|
function(t) {
|
|
3038
3060
|
return t.trimStart();
|
|
@@ -3040,9 +3062,9 @@ var ct = wn ? (
|
|
|
3040
3062
|
) : (
|
|
3041
3063
|
// Ponyfill
|
|
3042
3064
|
function(t) {
|
|
3043
|
-
return t.replace(
|
|
3065
|
+
return t.replace(Bn, "");
|
|
3044
3066
|
}
|
|
3045
|
-
),
|
|
3067
|
+
), Fn = $n ? (
|
|
3046
3068
|
// Native
|
|
3047
3069
|
function(t) {
|
|
3048
3070
|
return t.trimEnd();
|
|
@@ -3050,32 +3072,32 @@ var ct = wn ? (
|
|
|
3050
3072
|
) : (
|
|
3051
3073
|
// Ponyfill
|
|
3052
3074
|
function(t) {
|
|
3053
|
-
return t.replace(
|
|
3075
|
+
return t.replace(Nn, "");
|
|
3054
3076
|
}
|
|
3055
3077
|
);
|
|
3056
|
-
function
|
|
3078
|
+
function er(e, t) {
|
|
3057
3079
|
return new RegExp(e, t);
|
|
3058
3080
|
}
|
|
3059
|
-
var
|
|
3060
|
-
if (
|
|
3061
|
-
var
|
|
3062
|
-
|
|
3081
|
+
var ke;
|
|
3082
|
+
if (Ge) {
|
|
3083
|
+
var bt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3084
|
+
ke = function(t, r) {
|
|
3063
3085
|
var n;
|
|
3064
|
-
|
|
3065
|
-
var i =
|
|
3086
|
+
bt.lastIndex = r;
|
|
3087
|
+
var i = bt.exec(t);
|
|
3066
3088
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3067
3089
|
};
|
|
3068
3090
|
} else
|
|
3069
|
-
|
|
3091
|
+
ke = function(t, r) {
|
|
3070
3092
|
for (var n = []; ; ) {
|
|
3071
|
-
var i =
|
|
3072
|
-
if (i === void 0 ||
|
|
3093
|
+
var i = Kt(t, r);
|
|
3094
|
+
if (i === void 0 || tr(i) || Xn(i))
|
|
3073
3095
|
break;
|
|
3074
3096
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3075
3097
|
}
|
|
3076
|
-
return
|
|
3098
|
+
return Fe.apply(void 0, n);
|
|
3077
3099
|
};
|
|
3078
|
-
var
|
|
3100
|
+
var kn = (
|
|
3079
3101
|
/** @class */
|
|
3080
3102
|
function() {
|
|
3081
3103
|
function e(t, r) {
|
|
@@ -3106,7 +3128,7 @@ var Dn = (
|
|
|
3106
3128
|
if (n)
|
|
3107
3129
|
break;
|
|
3108
3130
|
return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3109
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3131
|
+
} else if (o === 60 && !this.ignoreTag && je(this.peek() || 0)) {
|
|
3110
3132
|
var s = this.parseTag(t, r);
|
|
3111
3133
|
if (s.err)
|
|
3112
3134
|
return s;
|
|
@@ -3139,7 +3161,7 @@ var Dn = (
|
|
|
3139
3161
|
return o;
|
|
3140
3162
|
var s = o.val, a = this.clonePosition();
|
|
3141
3163
|
if (this.bumpIf("</")) {
|
|
3142
|
-
if (this.isEOF() || !
|
|
3164
|
+
if (this.isEOF() || !je(this.char()))
|
|
3143
3165
|
return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
|
|
3144
3166
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3145
3167
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3157,7 +3179,7 @@ var Dn = (
|
|
|
3157
3179
|
return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
|
|
3158
3180
|
}, e.prototype.parseTagName = function() {
|
|
3159
3181
|
var t = this.offset();
|
|
3160
|
-
for (this.bump(); !this.isEOF() &&
|
|
3182
|
+
for (this.bump(); !this.isEOF() && Vn(this.char()); )
|
|
3161
3183
|
this.bump();
|
|
3162
3184
|
return this.message.slice(t, this.offset());
|
|
3163
3185
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3186,7 +3208,7 @@ var Dn = (
|
|
|
3186
3208
|
};
|
|
3187
3209
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3188
3210
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3189
|
-
!
|
|
3211
|
+
!jn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3190
3212
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3191
3213
|
if (this.isEOF() || this.char() !== 39)
|
|
3192
3214
|
return null;
|
|
@@ -3220,12 +3242,12 @@ var Dn = (
|
|
|
3220
3242
|
r.push(n);
|
|
3221
3243
|
this.bump();
|
|
3222
3244
|
}
|
|
3223
|
-
return
|
|
3245
|
+
return Fe.apply(void 0, r);
|
|
3224
3246
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3225
3247
|
if (this.isEOF())
|
|
3226
3248
|
return null;
|
|
3227
3249
|
var n = this.char();
|
|
3228
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3250
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
|
|
3229
3251
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3230
3252
|
var n = this.clonePosition();
|
|
3231
3253
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3254,7 +3276,7 @@ var Dn = (
|
|
|
3254
3276
|
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3255
3277
|
}
|
|
3256
3278
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3257
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3279
|
+
var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
|
|
3258
3280
|
this.bumpTo(i);
|
|
3259
3281
|
var o = this.clonePosition(), s = g(t, o);
|
|
3260
3282
|
return { value: n, location: s };
|
|
@@ -3273,18 +3295,18 @@ var Dn = (
|
|
|
3273
3295
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3274
3296
|
if (c.err)
|
|
3275
3297
|
return c;
|
|
3276
|
-
var f =
|
|
3298
|
+
var f = Fn(c.val);
|
|
3277
3299
|
if (f.length === 0)
|
|
3278
3300
|
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3279
|
-
var
|
|
3280
|
-
u = { style: f, styleLocation:
|
|
3301
|
+
var d = g(l, this.clonePosition());
|
|
3302
|
+
u = { style: f, styleLocation: d };
|
|
3281
3303
|
}
|
|
3282
|
-
var
|
|
3283
|
-
if (
|
|
3284
|
-
return
|
|
3304
|
+
var m = this.tryParseArgumentClose(i);
|
|
3305
|
+
if (m.err)
|
|
3306
|
+
return m;
|
|
3285
3307
|
var p = g(i, this.clonePosition());
|
|
3286
|
-
if (u &&
|
|
3287
|
-
var E =
|
|
3308
|
+
if (u && dt(u?.style, "::", 0)) {
|
|
3309
|
+
var E = Gn(u.style.slice(2));
|
|
3288
3310
|
if (a === "number") {
|
|
3289
3311
|
var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
|
|
3290
3312
|
return c.err ? c : {
|
|
@@ -3295,12 +3317,12 @@ var Dn = (
|
|
|
3295
3317
|
if (E.length === 0)
|
|
3296
3318
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
|
|
3297
3319
|
var R = E;
|
|
3298
|
-
this.locale && (R =
|
|
3320
|
+
this.locale && (R = Pn(E, this.locale));
|
|
3299
3321
|
var f = {
|
|
3300
3322
|
type: Z.dateTime,
|
|
3301
3323
|
pattern: R,
|
|
3302
3324
|
location: u.styleLocation,
|
|
3303
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3325
|
+
parsedOptions: this.shouldParseSkeletons ? _n(R) : {}
|
|
3304
3326
|
}, L = a === "date" ? _.date : _.time;
|
|
3305
3327
|
return {
|
|
3306
3328
|
val: { type: L, value: n, location: p, style: f },
|
|
@@ -3338,15 +3360,15 @@ var Dn = (
|
|
|
3338
3360
|
var G = this.tryParsePluralOrSelectOptions(t, a, r, U);
|
|
3339
3361
|
if (G.err)
|
|
3340
3362
|
return G;
|
|
3341
|
-
var
|
|
3342
|
-
if (
|
|
3343
|
-
return
|
|
3363
|
+
var m = this.tryParseArgumentClose(i);
|
|
3364
|
+
if (m.err)
|
|
3365
|
+
return m;
|
|
3344
3366
|
var y = g(i, this.clonePosition());
|
|
3345
3367
|
return a === "select" ? {
|
|
3346
3368
|
val: {
|
|
3347
3369
|
type: _.select,
|
|
3348
3370
|
value: n,
|
|
3349
|
-
options:
|
|
3371
|
+
options: mt(G.val),
|
|
3350
3372
|
location: y
|
|
3351
3373
|
},
|
|
3352
3374
|
err: null
|
|
@@ -3354,7 +3376,7 @@ var Dn = (
|
|
|
3354
3376
|
val: {
|
|
3355
3377
|
type: _.plural,
|
|
3356
3378
|
value: n,
|
|
3357
|
-
options:
|
|
3379
|
+
options: mt(G.val),
|
|
3358
3380
|
offset: B,
|
|
3359
3381
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3360
3382
|
location: y
|
|
@@ -3405,7 +3427,7 @@ var Dn = (
|
|
|
3405
3427
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3406
3428
|
var n = [];
|
|
3407
3429
|
try {
|
|
3408
|
-
n =
|
|
3430
|
+
n = En(t);
|
|
3409
3431
|
} catch {
|
|
3410
3432
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3411
3433
|
}
|
|
@@ -3414,7 +3436,7 @@ var Dn = (
|
|
|
3414
3436
|
type: Z.number,
|
|
3415
3437
|
tokens: n,
|
|
3416
3438
|
location: r,
|
|
3417
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3439
|
+
parsedOptions: this.shouldParseSkeletons ? An(n) : {}
|
|
3418
3440
|
},
|
|
3419
3441
|
err: null
|
|
3420
3442
|
};
|
|
@@ -3433,20 +3455,20 @@ var Dn = (
|
|
|
3433
3455
|
if (h.has(u))
|
|
3434
3456
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3435
3457
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3436
|
-
var
|
|
3458
|
+
var d = this.clonePosition();
|
|
3437
3459
|
if (!this.bumpIf("{"))
|
|
3438
3460
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3439
|
-
var
|
|
3440
|
-
if (
|
|
3441
|
-
return
|
|
3442
|
-
var p = this.tryParseArgumentClose(
|
|
3461
|
+
var m = this.parseMessage(t + 1, r, n);
|
|
3462
|
+
if (m.err)
|
|
3463
|
+
return m;
|
|
3464
|
+
var p = this.tryParseArgumentClose(d);
|
|
3443
3465
|
if (p.err)
|
|
3444
3466
|
return p;
|
|
3445
3467
|
a.push([
|
|
3446
3468
|
u,
|
|
3447
3469
|
{
|
|
3448
|
-
value:
|
|
3449
|
-
location: g(
|
|
3470
|
+
value: m.val,
|
|
3471
|
+
location: g(d, this.clonePosition())
|
|
3450
3472
|
}
|
|
3451
3473
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3452
3474
|
}
|
|
@@ -3462,7 +3484,7 @@ var Dn = (
|
|
|
3462
3484
|
break;
|
|
3463
3485
|
}
|
|
3464
3486
|
var h = g(i, this.clonePosition());
|
|
3465
|
-
return o ? (s *= n,
|
|
3487
|
+
return o ? (s *= n, Un(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3466
3488
|
}, e.prototype.offset = function() {
|
|
3467
3489
|
return this.position.offset;
|
|
3468
3490
|
}, e.prototype.isEOF = function() {
|
|
@@ -3477,7 +3499,7 @@ var Dn = (
|
|
|
3477
3499
|
var t = this.position.offset;
|
|
3478
3500
|
if (t >= this.message.length)
|
|
3479
3501
|
throw Error("out of bound");
|
|
3480
|
-
var r =
|
|
3502
|
+
var r = Kt(this.message, t);
|
|
3481
3503
|
if (r === void 0)
|
|
3482
3504
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3483
3505
|
return r;
|
|
@@ -3496,7 +3518,7 @@ var Dn = (
|
|
|
3496
3518
|
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);
|
|
3497
3519
|
}
|
|
3498
3520
|
}, e.prototype.bumpIf = function(t) {
|
|
3499
|
-
if (
|
|
3521
|
+
if (dt(this.message, t, this.offset())) {
|
|
3500
3522
|
for (var r = 0; r < t.length; r++)
|
|
3501
3523
|
this.bump();
|
|
3502
3524
|
return !0;
|
|
@@ -3518,7 +3540,7 @@ var Dn = (
|
|
|
3518
3540
|
break;
|
|
3519
3541
|
}
|
|
3520
3542
|
}, e.prototype.bumpSpace = function() {
|
|
3521
|
-
for (; !this.isEOF() &&
|
|
3543
|
+
for (; !this.isEOF() && tr(this.char()); )
|
|
3522
3544
|
this.bump();
|
|
3523
3545
|
}, e.prototype.peek = function() {
|
|
3524
3546
|
if (this.isEOF())
|
|
@@ -3528,38 +3550,38 @@ var Dn = (
|
|
|
3528
3550
|
}, e;
|
|
3529
3551
|
}()
|
|
3530
3552
|
);
|
|
3531
|
-
function
|
|
3553
|
+
function je(e) {
|
|
3532
3554
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3533
3555
|
}
|
|
3534
|
-
function
|
|
3535
|
-
return
|
|
3556
|
+
function jn(e) {
|
|
3557
|
+
return je(e) || e === 47;
|
|
3536
3558
|
}
|
|
3537
|
-
function
|
|
3559
|
+
function Vn(e) {
|
|
3538
3560
|
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;
|
|
3539
3561
|
}
|
|
3540
|
-
function
|
|
3562
|
+
function tr(e) {
|
|
3541
3563
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3542
3564
|
}
|
|
3543
|
-
function
|
|
3565
|
+
function Xn(e) {
|
|
3544
3566
|
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;
|
|
3545
3567
|
}
|
|
3546
|
-
function
|
|
3568
|
+
function Ve(e) {
|
|
3547
3569
|
e.forEach(function(t) {
|
|
3548
|
-
if (delete t.location,
|
|
3570
|
+
if (delete t.location, Xt(t) || Wt(t))
|
|
3549
3571
|
for (var r in t.options)
|
|
3550
|
-
delete t.options[r].location,
|
|
3572
|
+
delete t.options[r].location, Ve(t.options[r].value);
|
|
3551
3573
|
else
|
|
3552
|
-
|
|
3574
|
+
kt(t) && Zt(t.style) || (jt(t) || Vt(t)) && De(t.style) ? delete t.style.location : zt(t) && Ve(t.children);
|
|
3553
3575
|
});
|
|
3554
3576
|
}
|
|
3555
|
-
function
|
|
3577
|
+
function Wn(e, t) {
|
|
3556
3578
|
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3557
|
-
var r = new
|
|
3579
|
+
var r = new kn(e, t).parse();
|
|
3558
3580
|
if (r.err) {
|
|
3559
3581
|
var n = SyntaxError(b[r.err.kind]);
|
|
3560
3582
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3561
3583
|
}
|
|
3562
|
-
return t?.captureLocation ||
|
|
3584
|
+
return t?.captureLocation || Ve(r.val), r.val;
|
|
3563
3585
|
}
|
|
3564
3586
|
var Q;
|
|
3565
3587
|
(function(e) {
|
|
@@ -3577,7 +3599,7 @@ var _e = (
|
|
|
3577
3599
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3578
3600
|
}, t;
|
|
3579
3601
|
}(Error)
|
|
3580
|
-
),
|
|
3602
|
+
), gt = (
|
|
3581
3603
|
/** @class */
|
|
3582
3604
|
function(e) {
|
|
3583
3605
|
C(t, e);
|
|
@@ -3586,7 +3608,7 @@ var _e = (
|
|
|
3586
3608
|
}
|
|
3587
3609
|
return t;
|
|
3588
3610
|
}(_e)
|
|
3589
|
-
),
|
|
3611
|
+
), zn = (
|
|
3590
3612
|
/** @class */
|
|
3591
3613
|
function(e) {
|
|
3592
3614
|
C(t, e);
|
|
@@ -3595,7 +3617,7 @@ var _e = (
|
|
|
3595
3617
|
}
|
|
3596
3618
|
return t;
|
|
3597
3619
|
}(_e)
|
|
3598
|
-
),
|
|
3620
|
+
), Zn = (
|
|
3599
3621
|
/** @class */
|
|
3600
3622
|
function(e) {
|
|
3601
3623
|
C(t, e);
|
|
@@ -3608,17 +3630,17 @@ var _e = (
|
|
|
3608
3630
|
(function(e) {
|
|
3609
3631
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3610
3632
|
})(x || (x = {}));
|
|
3611
|
-
function
|
|
3633
|
+
function Qn(e) {
|
|
3612
3634
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3613
3635
|
var n = t[t.length - 1];
|
|
3614
3636
|
return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
|
|
3615
3637
|
}, []);
|
|
3616
3638
|
}
|
|
3617
|
-
function
|
|
3639
|
+
function Jn(e) {
|
|
3618
3640
|
return typeof e == "function";
|
|
3619
3641
|
}
|
|
3620
3642
|
function pe(e, t, r, n, i, o, s) {
|
|
3621
|
-
if (e.length === 1 &&
|
|
3643
|
+
if (e.length === 1 && lt(e[0]))
|
|
3622
3644
|
return [
|
|
3623
3645
|
{
|
|
3624
3646
|
type: x.literal,
|
|
@@ -3627,14 +3649,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3627
3649
|
];
|
|
3628
3650
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3629
3651
|
var l = u[h];
|
|
3630
|
-
if (
|
|
3652
|
+
if (lt(l)) {
|
|
3631
3653
|
a.push({
|
|
3632
3654
|
type: x.literal,
|
|
3633
3655
|
value: l.value
|
|
3634
3656
|
});
|
|
3635
3657
|
continue;
|
|
3636
3658
|
}
|
|
3637
|
-
if (
|
|
3659
|
+
if (yn(l)) {
|
|
3638
3660
|
typeof o == "number" && a.push({
|
|
3639
3661
|
type: x.literal,
|
|
3640
3662
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3643,44 +3665,44 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3643
3665
|
}
|
|
3644
3666
|
var c = l.value;
|
|
3645
3667
|
if (!(i && c in i))
|
|
3646
|
-
throw new
|
|
3668
|
+
throw new Zn(c, s);
|
|
3647
3669
|
var f = i[c];
|
|
3648
|
-
if (
|
|
3670
|
+
if (gn(l)) {
|
|
3649
3671
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3650
3672
|
type: typeof f == "string" ? x.literal : x.object,
|
|
3651
3673
|
value: f
|
|
3652
3674
|
});
|
|
3653
3675
|
continue;
|
|
3654
3676
|
}
|
|
3655
|
-
if (
|
|
3656
|
-
var
|
|
3677
|
+
if (jt(l)) {
|
|
3678
|
+
var d = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
|
|
3657
3679
|
a.push({
|
|
3658
3680
|
type: x.literal,
|
|
3659
|
-
value: r.getDateTimeFormat(t,
|
|
3681
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3660
3682
|
});
|
|
3661
3683
|
continue;
|
|
3662
3684
|
}
|
|
3663
|
-
if (
|
|
3664
|
-
var
|
|
3685
|
+
if (Vt(l)) {
|
|
3686
|
+
var d = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3665
3687
|
a.push({
|
|
3666
3688
|
type: x.literal,
|
|
3667
|
-
value: r.getDateTimeFormat(t,
|
|
3689
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3668
3690
|
});
|
|
3669
3691
|
continue;
|
|
3670
3692
|
}
|
|
3671
|
-
if (
|
|
3672
|
-
var
|
|
3673
|
-
|
|
3693
|
+
if (kt(l)) {
|
|
3694
|
+
var d = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
|
|
3695
|
+
d && d.scale && (f = f * (d.scale || 1)), a.push({
|
|
3674
3696
|
type: x.literal,
|
|
3675
|
-
value: r.getNumberFormat(t,
|
|
3697
|
+
value: r.getNumberFormat(t, d).format(f)
|
|
3676
3698
|
});
|
|
3677
3699
|
continue;
|
|
3678
3700
|
}
|
|
3679
|
-
if (
|
|
3680
|
-
var
|
|
3681
|
-
if (!
|
|
3682
|
-
throw new
|
|
3683
|
-
var R = pe(
|
|
3701
|
+
if (zt(l)) {
|
|
3702
|
+
var m = l.children, p = l.value, E = i[p];
|
|
3703
|
+
if (!Jn(E))
|
|
3704
|
+
throw new zn(p, "function", s);
|
|
3705
|
+
var R = pe(m, t, r, n, i, o), L = E(R.map(function(B) {
|
|
3684
3706
|
return B.value;
|
|
3685
3707
|
}));
|
|
3686
3708
|
Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(B) {
|
|
@@ -3690,14 +3712,14 @@ function pe(e, t, r, n, i, o, s) {
|
|
|
3690
3712
|
};
|
|
3691
3713
|
}));
|
|
3692
3714
|
}
|
|
3693
|
-
if (
|
|
3715
|
+
if (Xt(l)) {
|
|
3694
3716
|
var A = l.options[f] || l.options.other;
|
|
3695
3717
|
if (!A)
|
|
3696
|
-
throw new
|
|
3718
|
+
throw new gt(l.value, f, Object.keys(l.options), s);
|
|
3697
3719
|
a.push.apply(a, pe(A.value, t, r, n, i));
|
|
3698
3720
|
continue;
|
|
3699
3721
|
}
|
|
3700
|
-
if (
|
|
3722
|
+
if (Wt(l)) {
|
|
3701
3723
|
var A = l.options["=".concat(f)];
|
|
3702
3724
|
if (!A) {
|
|
3703
3725
|
if (!Intl.PluralRules)
|
|
@@ -3708,24 +3730,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3708
3730
|
A = l.options[U] || l.options.other;
|
|
3709
3731
|
}
|
|
3710
3732
|
if (!A)
|
|
3711
|
-
throw new
|
|
3733
|
+
throw new gt(l.value, f, Object.keys(l.options), s);
|
|
3712
3734
|
a.push.apply(a, pe(A.value, t, r, n, i, f - (l.offset || 0)));
|
|
3713
3735
|
continue;
|
|
3714
3736
|
}
|
|
3715
3737
|
}
|
|
3716
|
-
return
|
|
3738
|
+
return Qn(a);
|
|
3717
3739
|
}
|
|
3718
|
-
function
|
|
3740
|
+
function qn(e, t) {
|
|
3719
3741
|
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3720
3742
|
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
3721
3743
|
}, {})) : e;
|
|
3722
3744
|
}
|
|
3723
|
-
function
|
|
3745
|
+
function Yn(e, t) {
|
|
3724
3746
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3725
|
-
return r[n] =
|
|
3747
|
+
return r[n] = qn(e[n], t[n]), r;
|
|
3726
3748
|
}, v({}, e)) : e;
|
|
3727
3749
|
}
|
|
3728
|
-
function
|
|
3750
|
+
function Be(e) {
|
|
3729
3751
|
return {
|
|
3730
3752
|
create: function() {
|
|
3731
3753
|
return {
|
|
@@ -3739,39 +3761,39 @@ function we(e) {
|
|
|
3739
3761
|
}
|
|
3740
3762
|
};
|
|
3741
3763
|
}
|
|
3742
|
-
function
|
|
3764
|
+
function Kn(e) {
|
|
3743
3765
|
return e === void 0 && (e = {
|
|
3744
3766
|
number: {},
|
|
3745
3767
|
dateTime: {},
|
|
3746
3768
|
pluralRules: {}
|
|
3747
3769
|
}), {
|
|
3748
|
-
getNumberFormat:
|
|
3770
|
+
getNumberFormat: Ae(function() {
|
|
3749
3771
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3750
3772
|
r[n] = arguments[n];
|
|
3751
3773
|
return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
3752
3774
|
}, {
|
|
3753
|
-
cache:
|
|
3754
|
-
strategy:
|
|
3775
|
+
cache: Be(e.number),
|
|
3776
|
+
strategy: Pe.variadic
|
|
3755
3777
|
}),
|
|
3756
|
-
getDateTimeFormat:
|
|
3778
|
+
getDateTimeFormat: Ae(function() {
|
|
3757
3779
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3758
3780
|
r[n] = arguments[n];
|
|
3759
3781
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
|
|
3760
3782
|
}, {
|
|
3761
|
-
cache:
|
|
3762
|
-
strategy:
|
|
3783
|
+
cache: Be(e.dateTime),
|
|
3784
|
+
strategy: Pe.variadic
|
|
3763
3785
|
}),
|
|
3764
|
-
getPluralRules:
|
|
3786
|
+
getPluralRules: Ae(function() {
|
|
3765
3787
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3766
3788
|
r[n] = arguments[n];
|
|
3767
3789
|
return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
|
|
3768
3790
|
}, {
|
|
3769
|
-
cache:
|
|
3770
|
-
strategy:
|
|
3791
|
+
cache: Be(e.pluralRules),
|
|
3792
|
+
strategy: Pe.variadic
|
|
3771
3793
|
})
|
|
3772
3794
|
};
|
|
3773
3795
|
}
|
|
3774
|
-
var
|
|
3796
|
+
var ei = (
|
|
3775
3797
|
/** @class */
|
|
3776
3798
|
function() {
|
|
3777
3799
|
function e(t, r, n, i) {
|
|
@@ -3803,13 +3825,13 @@ var qn = (
|
|
|
3803
3825
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3804
3826
|
var s = i || {};
|
|
3805
3827
|
s.formatters;
|
|
3806
|
-
var a =
|
|
3828
|
+
var a = Ir(s, ["formatters"]);
|
|
3807
3829
|
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
|
3808
3830
|
} else
|
|
3809
3831
|
this.ast = t;
|
|
3810
3832
|
if (!Array.isArray(this.ast))
|
|
3811
3833
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3812
|
-
this.formats =
|
|
3834
|
+
this.formats = Yn(e.formats, n), this.formatters = i && i.formatters || Kn(this.formatterCache);
|
|
3813
3835
|
}
|
|
3814
3836
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3815
3837
|
get: function() {
|
|
@@ -3822,7 +3844,7 @@ var qn = (
|
|
|
3822
3844
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3823
3845
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3824
3846
|
}
|
|
3825
|
-
}, e.__parse =
|
|
3847
|
+
}, e.__parse = Wn, e.formats = {
|
|
3826
3848
|
number: {
|
|
3827
3849
|
integer: {
|
|
3828
3850
|
maximumFractionDigits: 0
|
|
@@ -3883,7 +3905,7 @@ var qn = (
|
|
|
3883
3905
|
}, e;
|
|
3884
3906
|
}()
|
|
3885
3907
|
);
|
|
3886
|
-
function
|
|
3908
|
+
function ti(e, t) {
|
|
3887
3909
|
if (t == null)
|
|
3888
3910
|
return;
|
|
3889
3911
|
if (t in e)
|
|
@@ -3904,92 +3926,92 @@ function Yn(e, t) {
|
|
|
3904
3926
|
n = void 0;
|
|
3905
3927
|
return n;
|
|
3906
3928
|
}
|
|
3907
|
-
const M = {},
|
|
3929
|
+
const M = {}, ri = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), rr = (e, t) => {
|
|
3908
3930
|
if (t == null)
|
|
3909
3931
|
return;
|
|
3910
3932
|
if (t in M && e in M[t])
|
|
3911
3933
|
return M[t][e];
|
|
3912
3934
|
const r = xe(t);
|
|
3913
3935
|
for (let n = 0; n < r.length; n++) {
|
|
3914
|
-
const i = r[n], o =
|
|
3936
|
+
const i = r[n], o = ii(i, e);
|
|
3915
3937
|
if (o)
|
|
3916
|
-
return
|
|
3938
|
+
return ri(e, t, o);
|
|
3917
3939
|
}
|
|
3918
3940
|
};
|
|
3919
|
-
let
|
|
3941
|
+
let Je;
|
|
3920
3942
|
const oe = ve({});
|
|
3921
|
-
function
|
|
3922
|
-
return
|
|
3943
|
+
function ni(e) {
|
|
3944
|
+
return Je[e] || null;
|
|
3923
3945
|
}
|
|
3924
|
-
function
|
|
3925
|
-
return e in
|
|
3946
|
+
function nr(e) {
|
|
3947
|
+
return e in Je;
|
|
3926
3948
|
}
|
|
3927
|
-
function
|
|
3928
|
-
if (!
|
|
3949
|
+
function ii(e, t) {
|
|
3950
|
+
if (!nr(e))
|
|
3929
3951
|
return null;
|
|
3930
|
-
const r =
|
|
3931
|
-
return
|
|
3952
|
+
const r = ni(e);
|
|
3953
|
+
return ti(r, t);
|
|
3932
3954
|
}
|
|
3933
|
-
function
|
|
3955
|
+
function oi(e) {
|
|
3934
3956
|
if (e == null)
|
|
3935
3957
|
return;
|
|
3936
3958
|
const t = xe(e);
|
|
3937
3959
|
for (let r = 0; r < t.length; r++) {
|
|
3938
3960
|
const n = t[r];
|
|
3939
|
-
if (
|
|
3961
|
+
if (nr(n))
|
|
3940
3962
|
return n;
|
|
3941
3963
|
}
|
|
3942
3964
|
}
|
|
3943
|
-
function
|
|
3944
|
-
delete M[e], oe.update((r) => (r[e] =
|
|
3965
|
+
function si(e, ...t) {
|
|
3966
|
+
delete M[e], oe.update((r) => (r[e] = ln.all([r[e] || {}, ...t]), r));
|
|
3945
3967
|
}
|
|
3946
3968
|
q(
|
|
3947
3969
|
[oe],
|
|
3948
3970
|
([e]) => Object.keys(e)
|
|
3949
3971
|
);
|
|
3950
|
-
oe.subscribe((e) =>
|
|
3951
|
-
const
|
|
3952
|
-
function
|
|
3953
|
-
|
|
3972
|
+
oe.subscribe((e) => Je = e);
|
|
3973
|
+
const de = {};
|
|
3974
|
+
function ai(e, t) {
|
|
3975
|
+
de[e].delete(t), de[e].size === 0 && delete de[e];
|
|
3954
3976
|
}
|
|
3955
|
-
function
|
|
3956
|
-
return
|
|
3977
|
+
function ir(e) {
|
|
3978
|
+
return de[e];
|
|
3957
3979
|
}
|
|
3958
|
-
function
|
|
3980
|
+
function ui(e) {
|
|
3959
3981
|
return xe(e).map((t) => {
|
|
3960
|
-
const r =
|
|
3982
|
+
const r = ir(t);
|
|
3961
3983
|
return [t, r ? [...r] : []];
|
|
3962
3984
|
}).filter(([, t]) => t.length > 0);
|
|
3963
3985
|
}
|
|
3964
|
-
function
|
|
3986
|
+
function Xe(e) {
|
|
3965
3987
|
return e == null ? !1 : xe(e).some(
|
|
3966
3988
|
(t) => {
|
|
3967
3989
|
var r;
|
|
3968
|
-
return (r =
|
|
3990
|
+
return (r = ir(t)) == null ? void 0 : r.size;
|
|
3969
3991
|
}
|
|
3970
3992
|
);
|
|
3971
3993
|
}
|
|
3972
|
-
function
|
|
3994
|
+
function hi(e, t) {
|
|
3973
3995
|
return Promise.all(
|
|
3974
|
-
t.map((n) => (
|
|
3975
|
-
).then((n) =>
|
|
3996
|
+
t.map((n) => (ai(e, n), n().then((i) => i.default || i)))
|
|
3997
|
+
).then((n) => si(e, ...n));
|
|
3976
3998
|
}
|
|
3977
3999
|
const K = {};
|
|
3978
|
-
function
|
|
3979
|
-
if (!
|
|
4000
|
+
function or(e) {
|
|
4001
|
+
if (!Xe(e))
|
|
3980
4002
|
return e in K ? K[e] : Promise.resolve();
|
|
3981
|
-
const t =
|
|
4003
|
+
const t = ui(e);
|
|
3982
4004
|
return K[e] = Promise.all(
|
|
3983
4005
|
t.map(
|
|
3984
|
-
([r, n]) =>
|
|
4006
|
+
([r, n]) => hi(r, n)
|
|
3985
4007
|
)
|
|
3986
4008
|
).then(() => {
|
|
3987
|
-
if (
|
|
3988
|
-
return
|
|
4009
|
+
if (Xe(e))
|
|
4010
|
+
return or(e);
|
|
3989
4011
|
delete K[e];
|
|
3990
4012
|
}), K[e];
|
|
3991
4013
|
}
|
|
3992
|
-
const
|
|
4014
|
+
const li = {
|
|
3993
4015
|
number: {
|
|
3994
4016
|
scientific: { notation: "scientific" },
|
|
3995
4017
|
engineering: { notation: "engineering" },
|
|
@@ -4018,57 +4040,57 @@ const ai = {
|
|
|
4018
4040
|
timeZoneName: "short"
|
|
4019
4041
|
}
|
|
4020
4042
|
}
|
|
4021
|
-
},
|
|
4043
|
+
}, ci = {
|
|
4022
4044
|
fallbackLocale: null,
|
|
4023
4045
|
loadingDelay: 200,
|
|
4024
|
-
formats:
|
|
4046
|
+
formats: li,
|
|
4025
4047
|
warnOnMissingMessages: !0,
|
|
4026
4048
|
handleMissingMessage: void 0,
|
|
4027
4049
|
ignoreTag: !0
|
|
4028
|
-
},
|
|
4050
|
+
}, fi = ci;
|
|
4029
4051
|
function J() {
|
|
4030
|
-
return
|
|
4052
|
+
return fi;
|
|
4031
4053
|
}
|
|
4032
|
-
const
|
|
4033
|
-
var
|
|
4054
|
+
const Ne = ve(!1);
|
|
4055
|
+
var pi = Object.defineProperty, di = Object.defineProperties, mi = 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) => {
|
|
4034
4056
|
for (var r in t || (t = {}))
|
|
4035
|
-
|
|
4036
|
-
if (
|
|
4037
|
-
for (var r of
|
|
4038
|
-
|
|
4057
|
+
bi.call(t, r) && vt(e, r, t[r]);
|
|
4058
|
+
if (yt)
|
|
4059
|
+
for (var r of yt(t))
|
|
4060
|
+
gi.call(t, r) && vt(e, r, t[r]);
|
|
4039
4061
|
return e;
|
|
4040
|
-
},
|
|
4041
|
-
let
|
|
4062
|
+
}, vi = (e, t) => di(e, mi(t));
|
|
4063
|
+
let We;
|
|
4042
4064
|
const be = ve(null);
|
|
4043
|
-
function
|
|
4065
|
+
function _t(e) {
|
|
4044
4066
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4045
4067
|
}
|
|
4046
4068
|
function xe(e, t = J().fallbackLocale) {
|
|
4047
|
-
const r =
|
|
4048
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4069
|
+
const r = _t(e);
|
|
4070
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
|
|
4049
4071
|
}
|
|
4050
4072
|
function D() {
|
|
4051
|
-
return
|
|
4073
|
+
return We ?? void 0;
|
|
4052
4074
|
}
|
|
4053
4075
|
be.subscribe((e) => {
|
|
4054
|
-
|
|
4076
|
+
We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4055
4077
|
});
|
|
4056
|
-
const
|
|
4057
|
-
if (e &&
|
|
4078
|
+
const _i = (e) => {
|
|
4079
|
+
if (e && oi(e) && Xe(e)) {
|
|
4058
4080
|
const { loadingDelay: t } = J();
|
|
4059
4081
|
let r;
|
|
4060
4082
|
return typeof window < "u" && D() != null && t ? r = window.setTimeout(
|
|
4061
|
-
() =>
|
|
4083
|
+
() => Ne.set(!0),
|
|
4062
4084
|
t
|
|
4063
|
-
) :
|
|
4085
|
+
) : Ne.set(!0), or(e).then(() => {
|
|
4064
4086
|
be.set(e);
|
|
4065
4087
|
}).finally(() => {
|
|
4066
|
-
clearTimeout(r),
|
|
4088
|
+
clearTimeout(r), Ne.set(!1);
|
|
4067
4089
|
});
|
|
4068
4090
|
}
|
|
4069
4091
|
return be.set(e);
|
|
4070
|
-
}, se =
|
|
4071
|
-
set:
|
|
4092
|
+
}, se = vi(yi({}, be), {
|
|
4093
|
+
set: _i
|
|
4072
4094
|
}), Ee = (e) => {
|
|
4073
4095
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4074
4096
|
return (n) => {
|
|
@@ -4076,20 +4098,20 @@ const gi = (e) => {
|
|
|
4076
4098
|
return i in t ? t[i] : t[i] = e(n);
|
|
4077
4099
|
};
|
|
4078
4100
|
};
|
|
4079
|
-
var
|
|
4101
|
+
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) => {
|
|
4080
4102
|
for (var r in t || (t = {}))
|
|
4081
|
-
|
|
4103
|
+
sr.call(t, r) && xt(e, r, t[r]);
|
|
4082
4104
|
if (ge)
|
|
4083
4105
|
for (var r of ge(t))
|
|
4084
|
-
|
|
4106
|
+
ar.call(t, r) && xt(e, r, t[r]);
|
|
4085
4107
|
return e;
|
|
4086
4108
|
}, Y = (e, t) => {
|
|
4087
4109
|
var r = {};
|
|
4088
4110
|
for (var n in e)
|
|
4089
|
-
|
|
4111
|
+
sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4090
4112
|
if (e != null && ge)
|
|
4091
4113
|
for (var n of ge(e))
|
|
4092
|
-
t.indexOf(n) < 0 &&
|
|
4114
|
+
t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
|
|
4093
4115
|
return r;
|
|
4094
4116
|
};
|
|
4095
4117
|
const ne = (e, t) => {
|
|
@@ -4097,21 +4119,21 @@ const ne = (e, t) => {
|
|
|
4097
4119
|
if (e in r && t in r[e])
|
|
4098
4120
|
return r[e][t];
|
|
4099
4121
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4100
|
-
},
|
|
4122
|
+
}, Ei = Ee(
|
|
4101
4123
|
(e) => {
|
|
4102
4124
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4103
4125
|
if (r == null)
|
|
4104
4126
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4105
4127
|
return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
|
|
4106
4128
|
}
|
|
4107
|
-
),
|
|
4129
|
+
), Si = Ee(
|
|
4108
4130
|
(e) => {
|
|
4109
4131
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4110
4132
|
if (r == null)
|
|
4111
4133
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4112
4134
|
return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4113
4135
|
}
|
|
4114
|
-
),
|
|
4136
|
+
), Ti = Ee(
|
|
4115
4137
|
(e) => {
|
|
4116
4138
|
var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
|
|
4117
4139
|
if (r == null)
|
|
@@ -4120,33 +4142,33 @@ const ne = (e, t) => {
|
|
|
4120
4142
|
);
|
|
4121
4143
|
return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4122
4144
|
}
|
|
4123
|
-
),
|
|
4145
|
+
), Hi = (e = {}) => {
|
|
4124
4146
|
var t = e, {
|
|
4125
4147
|
locale: r = D()
|
|
4126
4148
|
} = t, n = Y(t, [
|
|
4127
4149
|
"locale"
|
|
4128
4150
|
]);
|
|
4129
|
-
return
|
|
4130
|
-
},
|
|
4151
|
+
return Ei(qe({ locale: r }, n));
|
|
4152
|
+
}, Ai = (e = {}) => {
|
|
4131
4153
|
var t = e, {
|
|
4132
4154
|
locale: r = D()
|
|
4133
4155
|
} = t, n = Y(t, [
|
|
4134
4156
|
"locale"
|
|
4135
4157
|
]);
|
|
4136
|
-
return
|
|
4137
|
-
},
|
|
4158
|
+
return Si(qe({ locale: r }, n));
|
|
4159
|
+
}, Pi = (e = {}) => {
|
|
4138
4160
|
var t = e, {
|
|
4139
4161
|
locale: r = D()
|
|
4140
4162
|
} = t, n = Y(t, [
|
|
4141
4163
|
"locale"
|
|
4142
4164
|
]);
|
|
4143
|
-
return
|
|
4144
|
-
},
|
|
4165
|
+
return Ti(qe({ locale: r }, n));
|
|
4166
|
+
}, wi = Ee(
|
|
4145
4167
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4146
|
-
(e, t = D()) => new
|
|
4168
|
+
(e, t = D()) => new ei(e, t, J().formats, {
|
|
4147
4169
|
ignoreTag: J().ignoreTag
|
|
4148
4170
|
})
|
|
4149
|
-
),
|
|
4171
|
+
), Bi = (e, t = {}) => {
|
|
4150
4172
|
var r, n, i, o;
|
|
4151
4173
|
let s = t;
|
|
4152
4174
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4159,7 +4181,7 @@ const ne = (e, t) => {
|
|
|
4159
4181
|
throw new Error(
|
|
4160
4182
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4161
4183
|
);
|
|
4162
|
-
let l =
|
|
4184
|
+
let l = rr(e, h);
|
|
4163
4185
|
if (!l)
|
|
4164
4186
|
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;
|
|
4165
4187
|
else if (typeof l != "string")
|
|
@@ -4170,7 +4192,7 @@ const ne = (e, t) => {
|
|
|
4170
4192
|
return l;
|
|
4171
4193
|
let c = l;
|
|
4172
4194
|
try {
|
|
4173
|
-
c =
|
|
4195
|
+
c = wi(l, h).format(a);
|
|
4174
4196
|
} catch (f) {
|
|
4175
4197
|
f instanceof Error && console.warn(
|
|
4176
4198
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4178,21 +4200,21 @@ const ne = (e, t) => {
|
|
|
4178
4200
|
);
|
|
4179
4201
|
}
|
|
4180
4202
|
return c;
|
|
4181
|
-
},
|
|
4182
|
-
q([se, oe], () =>
|
|
4183
|
-
q([se], () =>
|
|
4184
|
-
q([se], () =>
|
|
4185
|
-
q([se], () =>
|
|
4186
|
-
q([se, oe], () =>
|
|
4187
|
-
window.emWidgets = { topic:
|
|
4188
|
-
const
|
|
4189
|
-
function
|
|
4203
|
+
}, Ni = (e, t) => Pi(t).format(e), Oi = (e, t) => Ai(t).format(e), Ii = (e, t) => Hi(t).format(e), Ci = (e, t = D()) => rr(e, t);
|
|
4204
|
+
q([se, oe], () => Bi);
|
|
4205
|
+
q([se], () => Ni);
|
|
4206
|
+
q([se], () => Oi);
|
|
4207
|
+
q([se], () => Ii);
|
|
4208
|
+
q([se, oe], () => Ci);
|
|
4209
|
+
window.emWidgets = { topic: Wr };
|
|
4210
|
+
const Et = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4211
|
+
function Li(e, t) {
|
|
4190
4212
|
if (e) {
|
|
4191
4213
|
const r = document.createElement("style");
|
|
4192
4214
|
r.innerHTML = t, e.appendChild(r);
|
|
4193
4215
|
}
|
|
4194
4216
|
}
|
|
4195
|
-
function
|
|
4217
|
+
function Mi(e, t) {
|
|
4196
4218
|
const r = new URL(t);
|
|
4197
4219
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4198
4220
|
const i = document.createElement("style");
|
|
@@ -4201,7 +4223,7 @@ function Ii(e, t) {
|
|
|
4201
4223
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4202
4224
|
});
|
|
4203
4225
|
}
|
|
4204
|
-
function
|
|
4226
|
+
function $i(e, t, r) {
|
|
4205
4227
|
if (window.emMessageBus) {
|
|
4206
4228
|
const n = document.createElement("style");
|
|
4207
4229
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4209,24 +4231,24 @@ function Ci(e, t, r) {
|
|
|
4209
4231
|
});
|
|
4210
4232
|
}
|
|
4211
4233
|
}
|
|
4212
|
-
function
|
|
4213
|
-
|
|
4234
|
+
function Ri(e) {
|
|
4235
|
+
cr(e, "svelte-yka2kr", ':host{padding:0;margin:0;font-family:inherit}.PlayerAccountNotificationsContainer{padding:0 5px;display:grid;grid-gap:20px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountNotificationBox{display:block;padding:10px;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-word;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal}.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}}');
|
|
4214
4236
|
}
|
|
4215
|
-
function
|
|
4237
|
+
function St(e, t, r) {
|
|
4216
4238
|
const n = e.slice();
|
|
4217
4239
|
return n[24] = t[r], n;
|
|
4218
4240
|
}
|
|
4219
|
-
function
|
|
4241
|
+
function Tt(e, t, r) {
|
|
4220
4242
|
const n = e.slice();
|
|
4221
4243
|
return n[21] = t[r], n;
|
|
4222
4244
|
}
|
|
4223
|
-
function
|
|
4224
|
-
let t, r =
|
|
4245
|
+
function Ui(e) {
|
|
4246
|
+
let t, r = me(
|
|
4225
4247
|
/*notificationsData*/
|
|
4226
4248
|
e[1]
|
|
4227
4249
|
), n = [];
|
|
4228
4250
|
for (let i = 0; i < r.length; i += 1)
|
|
4229
|
-
n[i] =
|
|
4251
|
+
n[i] = Ht(St(e, r, i));
|
|
4230
4252
|
return {
|
|
4231
4253
|
c() {
|
|
4232
4254
|
t = S("div");
|
|
@@ -4252,14 +4274,14 @@ function Mi(e) {
|
|
|
4252
4274
|
p(i, o) {
|
|
4253
4275
|
if (o & /*notificationsData*/
|
|
4254
4276
|
2) {
|
|
4255
|
-
r =
|
|
4277
|
+
r = me(
|
|
4256
4278
|
/*notificationsData*/
|
|
4257
4279
|
i[1]
|
|
4258
4280
|
);
|
|
4259
4281
|
let s;
|
|
4260
4282
|
for (s = 0; s < r.length; s += 1) {
|
|
4261
|
-
const a =
|
|
4262
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4283
|
+
const a = St(i, r, s);
|
|
4284
|
+
n[s] ? n[s].p(a, o) : (n[s] = Ht(a), n[s].c(), n[s].m(t, null));
|
|
4263
4285
|
}
|
|
4264
4286
|
for (; s < n.length; s += 1)
|
|
4265
4287
|
n[s].d(1);
|
|
@@ -4267,14 +4289,14 @@ function Mi(e) {
|
|
|
4267
4289
|
}
|
|
4268
4290
|
},
|
|
4269
4291
|
d(i) {
|
|
4270
|
-
i && I(t),
|
|
4292
|
+
i && I(t), Bt(n, i);
|
|
4271
4293
|
}
|
|
4272
4294
|
};
|
|
4273
4295
|
}
|
|
4274
|
-
function
|
|
4275
|
-
let t, r, n =
|
|
4296
|
+
function Di(e) {
|
|
4297
|
+
let t, r, n = me({ length: 3 }), i = [];
|
|
4276
4298
|
for (let o = 0; o < n.length; o += 1)
|
|
4277
|
-
i[o] =
|
|
4299
|
+
i[o] = At(Tt(e, n, o));
|
|
4278
4300
|
return {
|
|
4279
4301
|
c() {
|
|
4280
4302
|
t = S("div"), r = S("div");
|
|
@@ -4290,11 +4312,11 @@ function $i(e) {
|
|
|
4290
4312
|
p(o, s) {
|
|
4291
4313
|
if (s & /*isMobile, mediaQuery*/
|
|
4292
4314
|
24) {
|
|
4293
|
-
n =
|
|
4315
|
+
n = me({ length: 3 });
|
|
4294
4316
|
let a;
|
|
4295
4317
|
for (a = 0; a < n.length; a += 1) {
|
|
4296
|
-
const h =
|
|
4297
|
-
i[a] ? i[a].p(h, s) : (i[a] =
|
|
4318
|
+
const h = Tt(o, n, a);
|
|
4319
|
+
i[a] ? i[a].p(h, s) : (i[a] = At(h), i[a].c(), i[a].m(r, null));
|
|
4298
4320
|
}
|
|
4299
4321
|
for (; a < i.length; a += 1)
|
|
4300
4322
|
i[a].d(1);
|
|
@@ -4302,55 +4324,55 @@ function $i(e) {
|
|
|
4302
4324
|
}
|
|
4303
4325
|
},
|
|
4304
4326
|
d(o) {
|
|
4305
|
-
o && I(t),
|
|
4327
|
+
o && I(t), Bt(i, o);
|
|
4306
4328
|
}
|
|
4307
4329
|
};
|
|
4308
4330
|
}
|
|
4309
|
-
function
|
|
4331
|
+
function Ht(e) {
|
|
4310
4332
|
let t, r, n, i, o, s, a, h = (
|
|
4311
4333
|
/*notification*/
|
|
4312
4334
|
e[24].title + ""
|
|
4313
4335
|
), u, l, c, f = (
|
|
4314
4336
|
/*notification*/
|
|
4315
4337
|
e[24].description + ""
|
|
4316
|
-
),
|
|
4338
|
+
), d;
|
|
4317
4339
|
return {
|
|
4318
4340
|
c() {
|
|
4319
|
-
t = S("div"), r = S("div"), n = S("ui-image"), s = le(), a = S("p"), u =
|
|
4341
|
+
t = S("div"), r = S("div"), n = S("ui-image"), s = le(), a = S("p"), u = Nt(h), l = le(), c = S("p"), d = le(), T(n, "imgClass", "PlayerAccountNotificationIcon"), T(n, "width", "24px"), T(n, "height", "24px"), Ke(n.src, i = /*notification*/
|
|
4320
4342
|
e[24].icon) || T(n, "src", i), T(n, "alt", o = /*notification*/
|
|
4321
|
-
e[24].title), w(a, "class", "PlayerAccountNotificationTitle"), w(r, "class", "PlayerAccountNotificationBoxHeader"), w(c, "class", "PlayerAccountNotificationText"), w(t, "class", "PlayerAccountNotificationBox"),
|
|
4343
|
+
e[24].title), w(a, "class", "PlayerAccountNotificationTitle"), w(r, "class", "PlayerAccountNotificationBoxHeader"), w(c, "class", "PlayerAccountNotificationText"), w(t, "class", "PlayerAccountNotificationBox"), et(
|
|
4322
4344
|
t,
|
|
4323
4345
|
"background",
|
|
4324
4346
|
/*notification*/
|
|
4325
4347
|
e[24].backgroundColor
|
|
4326
4348
|
);
|
|
4327
4349
|
},
|
|
4328
|
-
m(
|
|
4329
|
-
$(
|
|
4350
|
+
m(m, p) {
|
|
4351
|
+
$(m, t, p), P(t, r), P(r, n), P(r, s), P(r, a), P(a, u), P(t, l), P(t, c), c.innerHTML = f, P(t, d);
|
|
4330
4352
|
},
|
|
4331
|
-
p(
|
|
4353
|
+
p(m, p) {
|
|
4332
4354
|
p & /*notificationsData*/
|
|
4333
|
-
2 && !
|
|
4334
|
-
|
|
4355
|
+
2 && !Ke(n.src, i = /*notification*/
|
|
4356
|
+
m[24].icon) && T(n, "src", i), p & /*notificationsData*/
|
|
4335
4357
|
2 && o !== (o = /*notification*/
|
|
4336
|
-
|
|
4358
|
+
m[24].title) && T(n, "alt", o), p & /*notificationsData*/
|
|
4337
4359
|
2 && h !== (h = /*notification*/
|
|
4338
|
-
|
|
4360
|
+
m[24].title + "") && mr(u, h), p & /*notificationsData*/
|
|
4339
4361
|
2 && f !== (f = /*notification*/
|
|
4340
|
-
|
|
4341
|
-
2 &&
|
|
4362
|
+
m[24].description + "") && (c.innerHTML = f), p & /*notificationsData*/
|
|
4363
|
+
2 && et(
|
|
4342
4364
|
t,
|
|
4343
4365
|
"background",
|
|
4344
4366
|
/*notification*/
|
|
4345
|
-
|
|
4367
|
+
m[24].backgroundColor
|
|
4346
4368
|
);
|
|
4347
4369
|
},
|
|
4348
|
-
d(
|
|
4349
|
-
|
|
4370
|
+
d(m) {
|
|
4371
|
+
m && I(t);
|
|
4350
4372
|
}
|
|
4351
4373
|
};
|
|
4352
4374
|
}
|
|
4353
|
-
function
|
|
4375
|
+
function Gi(e) {
|
|
4354
4376
|
let t;
|
|
4355
4377
|
return {
|
|
4356
4378
|
c() {
|
|
@@ -4371,7 +4393,7 @@ function Ri(e) {
|
|
|
4371
4393
|
}
|
|
4372
4394
|
};
|
|
4373
4395
|
}
|
|
4374
|
-
function
|
|
4396
|
+
function Fi(e) {
|
|
4375
4397
|
let t;
|
|
4376
4398
|
return {
|
|
4377
4399
|
c() {
|
|
@@ -4386,12 +4408,12 @@ function Ui(e) {
|
|
|
4386
4408
|
}
|
|
4387
4409
|
};
|
|
4388
4410
|
}
|
|
4389
|
-
function
|
|
4411
|
+
function At(e) {
|
|
4390
4412
|
let t, r;
|
|
4391
4413
|
function n(s, a) {
|
|
4392
4414
|
return (
|
|
4393
4415
|
/*isMobile*/
|
|
4394
|
-
s[3] ?
|
|
4416
|
+
s[3] ? Gi : Fi
|
|
4395
4417
|
);
|
|
4396
4418
|
}
|
|
4397
4419
|
let o = n(e)(e);
|
|
@@ -4410,19 +4432,19 @@ function St(e) {
|
|
|
4410
4432
|
}
|
|
4411
4433
|
};
|
|
4412
4434
|
}
|
|
4413
|
-
function
|
|
4435
|
+
function ki(e) {
|
|
4414
4436
|
let t;
|
|
4415
4437
|
function r(o, s) {
|
|
4416
4438
|
if (
|
|
4417
4439
|
/*skeletonLoading*/
|
|
4418
4440
|
o[2]
|
|
4419
4441
|
)
|
|
4420
|
-
return
|
|
4442
|
+
return Di;
|
|
4421
4443
|
if (
|
|
4422
4444
|
/*notificationsData*/
|
|
4423
4445
|
o[1]?.length
|
|
4424
4446
|
)
|
|
4425
|
-
return
|
|
4447
|
+
return Ui;
|
|
4426
4448
|
}
|
|
4427
4449
|
let n = r(e), i = n && n(e);
|
|
4428
4450
|
return {
|
|
@@ -4442,19 +4464,19 @@ function Di(e) {
|
|
|
4442
4464
|
}
|
|
4443
4465
|
};
|
|
4444
4466
|
}
|
|
4445
|
-
function
|
|
4446
|
-
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,
|
|
4467
|
+
function ji(e, t, r) {
|
|
4468
|
+
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, d = window.navigator.userAgent, m = Et(d) !== "PC", p = [], E = [], R = A();
|
|
4447
4469
|
const L = window.matchMedia("(min-width: 768px)");
|
|
4448
4470
|
function A() {
|
|
4449
|
-
const y =
|
|
4471
|
+
const y = Et(d);
|
|
4450
4472
|
if (y)
|
|
4451
4473
|
return y === "PC" ? "dk" : "mtWeb";
|
|
4452
4474
|
}
|
|
4453
4475
|
const U = () => {
|
|
4454
4476
|
const y = new URL(`${i}/${n}/support-information`);
|
|
4455
4477
|
y.searchParams.append("env", o), y.searchParams.append("userRoles", s), y.searchParams.append("device", R), fetch(y.href).then((F) => F.json()).then((F) => {
|
|
4456
|
-
F.length && (r(1, p = F[0].children), p?.forEach((
|
|
4457
|
-
E.length && (
|
|
4478
|
+
F.length && (r(1, p = F[0].children), p?.forEach((ur) => {
|
|
4479
|
+
E.length && (ur.backgroundColor = E[0], E.shift());
|
|
4458
4480
|
}));
|
|
4459
4481
|
}).catch((F) => {
|
|
4460
4482
|
console.error(F);
|
|
@@ -4469,10 +4491,10 @@ function Gi(e, t, r) {
|
|
|
4469
4491
|
}, B = () => {
|
|
4470
4492
|
a.replace(" ", ""), E = a.split(",");
|
|
4471
4493
|
};
|
|
4472
|
-
|
|
4494
|
+
yr(() => () => {
|
|
4473
4495
|
});
|
|
4474
4496
|
function G(y) {
|
|
4475
|
-
|
|
4497
|
+
Oe[y ? "unshift" : "push"](() => {
|
|
4476
4498
|
c = y, r(0, c);
|
|
4477
4499
|
});
|
|
4478
4500
|
}
|
|
@@ -4483,14 +4505,14 @@ function Gi(e, t, r) {
|
|
|
4483
4505
|
512 && a && B(), e.$$.dirty & /*notificationsData*/
|
|
4484
4506
|
2 && p && B(), e.$$.dirty & /*userroles, cmsendpoint, env, lang*/
|
|
4485
4507
|
480 && s && i && o && n && U(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4486
|
-
1025 && h && c &&
|
|
4487
|
-
2049 && u && c &&
|
|
4488
|
-
4097 && l && c &&
|
|
4508
|
+
1025 && h && c && Li(c, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4509
|
+
2049 && u && c && Mi(c, u), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4510
|
+
4097 && l && c && $i(c, `${l}.Style`);
|
|
4489
4511
|
}, [
|
|
4490
4512
|
c,
|
|
4491
4513
|
p,
|
|
4492
4514
|
f,
|
|
4493
|
-
|
|
4515
|
+
m,
|
|
4494
4516
|
L,
|
|
4495
4517
|
n,
|
|
4496
4518
|
i,
|
|
@@ -4503,14 +4525,14 @@ function Gi(e, t, r) {
|
|
|
4503
4525
|
G
|
|
4504
4526
|
];
|
|
4505
4527
|
}
|
|
4506
|
-
class
|
|
4528
|
+
class Vi extends Nr {
|
|
4507
4529
|
constructor(t) {
|
|
4508
|
-
super(),
|
|
4530
|
+
super(), wr(
|
|
4509
4531
|
this,
|
|
4510
4532
|
t,
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4533
|
+
ji,
|
|
4534
|
+
ki,
|
|
4535
|
+
wt,
|
|
4514
4536
|
{
|
|
4515
4537
|
lang: 5,
|
|
4516
4538
|
cmsendpoint: 6,
|
|
@@ -4521,7 +4543,7 @@ class Fi extends Ar {
|
|
|
4521
4543
|
clientstylingurl: 11,
|
|
4522
4544
|
mbsource: 12
|
|
4523
4545
|
},
|
|
4524
|
-
|
|
4546
|
+
Ri
|
|
4525
4547
|
);
|
|
4526
4548
|
}
|
|
4527
4549
|
get lang() {
|
|
@@ -4573,7 +4595,7 @@ class Fi extends Ar {
|
|
|
4573
4595
|
this.$$set({ mbsource: t }), N();
|
|
4574
4596
|
}
|
|
4575
4597
|
}
|
|
4576
|
-
|
|
4598
|
+
Br(Vi, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
4577
4599
|
export {
|
|
4578
|
-
|
|
4600
|
+
Vi as P
|
|
4579
4601
|
};
|