@everymatrix/general-navigation-bar 1.57.0 → 1.59.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/{GeneralNavigationBar-DE5JbVID.js → GeneralNavigationBar-BEV7uNkn.js} +574 -596
- package/components/{GeneralNavigationBar-B53b74Yg.js → GeneralNavigationBar-CaEqjE1K.js} +602 -624
- package/components/GeneralNavigationBar-b20nGieO.cjs +18 -0
- package/es2015/general-navigation-bar.cjs +1 -1
- package/es2015/general-navigation-bar.js +1 -1
- package/esnext/general-navigation-bar.js +1 -1
- package/package.json +1 -1
- package/components/GeneralNavigationBar-DJdDik_E.cjs +0 -18
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function R() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function zr(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,29 +8,29 @@ function Jr(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function er(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function yt() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
17
|
function ae(e) {
|
|
18
|
-
e.forEach(
|
|
18
|
+
e.forEach(er);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function ht(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function tr(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
26
|
let _e;
|
|
27
27
|
function te(e, t) {
|
|
28
28
|
return e === t ? !0 : (_e || (_e = document.createElement("a")), _e.href = t, e === _e.href);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function Zr(e) {
|
|
31
31
|
return Object.keys(e).length === 0;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function rr(e, ...t) {
|
|
34
34
|
if (e == null) {
|
|
35
35
|
for (const n of t)
|
|
36
36
|
n(void 0);
|
|
@@ -39,19 +39,19 @@ function or(e, ...t) {
|
|
|
39
39
|
const r = e.subscribe(...t);
|
|
40
40
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
e.$$.on_destroy.push(
|
|
42
|
+
function Qr(e, t, r) {
|
|
43
|
+
e.$$.on_destroy.push(rr(t, r));
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Yr(e, t, r, n) {
|
|
46
46
|
if (e) {
|
|
47
|
-
const i =
|
|
47
|
+
const i = nr(e, t, r, n);
|
|
48
48
|
return e[0](i);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
return e[1] && n ?
|
|
51
|
+
function nr(e, t, r, n) {
|
|
52
|
+
return e[1] && n ? zr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Jr(e, t, r, n) {
|
|
55
55
|
if (e[2] && n) {
|
|
56
56
|
const i = e[2](n(r));
|
|
57
57
|
if (t.dirty === void 0)
|
|
@@ -66,13 +66,13 @@ function tn(e, t, r, n) {
|
|
|
66
66
|
}
|
|
67
67
|
return t.dirty;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function qr(e, t, r, n, i, o) {
|
|
70
70
|
if (i) {
|
|
71
|
-
const a =
|
|
71
|
+
const a = nr(t, r, n, o);
|
|
72
72
|
e.p(a, i);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function Kr(e) {
|
|
76
76
|
if (e.ctx.length > 32) {
|
|
77
77
|
const t = [], r = e.ctx.length / 32;
|
|
78
78
|
for (let n = 0; n < r; n++)
|
|
@@ -84,14 +84,14 @@ function nn(e) {
|
|
|
84
84
|
function y(e, t) {
|
|
85
85
|
e.appendChild(t);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
const n =
|
|
87
|
+
function en(e, t, r) {
|
|
88
|
+
const n = tn(e);
|
|
89
89
|
if (!n.getElementById(t)) {
|
|
90
90
|
const i = B("style");
|
|
91
|
-
i.id = t, i.textContent = r,
|
|
91
|
+
i.id = t, i.textContent = r, rn(n, i);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function tn(e) {
|
|
95
95
|
if (!e)
|
|
96
96
|
return document;
|
|
97
97
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -101,7 +101,7 @@ function an(e) {
|
|
|
101
101
|
t
|
|
102
102
|
) : e.ownerDocument;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function rn(e, t) {
|
|
105
105
|
return y(
|
|
106
106
|
/** @type {Document} */
|
|
107
107
|
e.head || e,
|
|
@@ -114,14 +114,14 @@ function L(e, t, r) {
|
|
|
114
114
|
function O(e) {
|
|
115
115
|
e.parentNode && e.parentNode.removeChild(e);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function ir(e, t) {
|
|
118
118
|
for (let r = 0; r < e.length; r += 1)
|
|
119
119
|
e[r] && e[r].d(t);
|
|
120
120
|
}
|
|
121
121
|
function B(e) {
|
|
122
122
|
return document.createElement(e);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function H(e) {
|
|
125
125
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
126
126
|
}
|
|
127
127
|
function ve(e) {
|
|
@@ -130,23 +130,23 @@ function ve(e) {
|
|
|
130
130
|
function $() {
|
|
131
131
|
return ve(" ");
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function nn() {
|
|
134
134
|
return ve("");
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function He(e, t, r, n) {
|
|
137
137
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
138
138
|
}
|
|
139
139
|
function c(e, t, r) {
|
|
140
140
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function on(e) {
|
|
143
143
|
return Array.from(e.childNodes);
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function ct(e, t) {
|
|
146
146
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
147
147
|
t);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function an(e) {
|
|
150
150
|
const t = {};
|
|
151
151
|
return e.childNodes.forEach(
|
|
152
152
|
/** @param {Element} node */
|
|
@@ -159,22 +159,22 @@ let de;
|
|
|
159
159
|
function fe(e) {
|
|
160
160
|
de = e;
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function sn() {
|
|
163
163
|
if (!de)
|
|
164
164
|
throw new Error("Function called outside component initialization");
|
|
165
165
|
return de;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
168
|
-
|
|
167
|
+
function ln(e) {
|
|
168
|
+
sn().$$.on_mount.push(e);
|
|
169
169
|
}
|
|
170
|
-
const q = [],
|
|
170
|
+
const q = [], Ze = [];
|
|
171
171
|
let K = [];
|
|
172
|
-
const
|
|
173
|
-
let
|
|
174
|
-
function
|
|
175
|
-
|
|
172
|
+
const _t = [], un = /* @__PURE__ */ Promise.resolve();
|
|
173
|
+
let Qe = !1;
|
|
174
|
+
function hn() {
|
|
175
|
+
Qe || (Qe = !0, un.then(F));
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Ye(e) {
|
|
178
178
|
K.push(e);
|
|
179
179
|
}
|
|
180
180
|
const $e = /* @__PURE__ */ new Set();
|
|
@@ -187,37 +187,37 @@ function F() {
|
|
|
187
187
|
try {
|
|
188
188
|
for (; Y < q.length; ) {
|
|
189
189
|
const t = q[Y];
|
|
190
|
-
Y++, fe(t),
|
|
190
|
+
Y++, fe(t), cn(t.$$);
|
|
191
191
|
}
|
|
192
192
|
} catch (t) {
|
|
193
193
|
throw q.length = 0, Y = 0, t;
|
|
194
194
|
}
|
|
195
|
-
for (fe(null), q.length = 0, Y = 0;
|
|
196
|
-
|
|
195
|
+
for (fe(null), q.length = 0, Y = 0; Ze.length; )
|
|
196
|
+
Ze.pop()();
|
|
197
197
|
for (let t = 0; t < K.length; t += 1) {
|
|
198
198
|
const r = K[t];
|
|
199
199
|
$e.has(r) || ($e.add(r), r());
|
|
200
200
|
}
|
|
201
201
|
K.length = 0;
|
|
202
202
|
} while (q.length);
|
|
203
|
-
for (;
|
|
204
|
-
|
|
205
|
-
|
|
203
|
+
for (; _t.length; )
|
|
204
|
+
_t.pop()();
|
|
205
|
+
Qe = !1, $e.clear(), fe(e);
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function cn(e) {
|
|
208
208
|
if (e.fragment !== null) {
|
|
209
209
|
e.update(), ae(e.before_update);
|
|
210
210
|
const t = e.dirty;
|
|
211
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
211
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function fn(e) {
|
|
215
215
|
const t = [], r = [];
|
|
216
216
|
K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
|
|
217
217
|
}
|
|
218
218
|
const Ee = /* @__PURE__ */ new Set();
|
|
219
219
|
let z;
|
|
220
|
-
function
|
|
220
|
+
function or() {
|
|
221
221
|
z = {
|
|
222
222
|
r: 0,
|
|
223
223
|
c: [],
|
|
@@ -225,7 +225,7 @@ function lr() {
|
|
|
225
225
|
// parent group
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function ar() {
|
|
229
229
|
z.r || ae(z.c), z = z.p;
|
|
230
230
|
}
|
|
231
231
|
function V(e, t) {
|
|
@@ -244,21 +244,21 @@ function me(e, t, r, n) {
|
|
|
244
244
|
function Ae(e) {
|
|
245
245
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function dn(e, t, r) {
|
|
248
248
|
const { fragment: n, after_update: i } = e.$$;
|
|
249
|
-
n && n.m(t, r),
|
|
250
|
-
const o = e.$$.on_mount.map(
|
|
249
|
+
n && n.m(t, r), Ye(() => {
|
|
250
|
+
const o = e.$$.on_mount.map(er).filter(ht);
|
|
251
251
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
|
|
252
|
-
}), i.forEach(
|
|
252
|
+
}), i.forEach(Ye);
|
|
253
253
|
}
|
|
254
|
-
function
|
|
254
|
+
function mn(e, t) {
|
|
255
255
|
const r = e.$$;
|
|
256
|
-
r.fragment !== null && (
|
|
256
|
+
r.fragment !== null && (fn(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
257
257
|
}
|
|
258
|
-
function
|
|
259
|
-
e.$$.dirty[0] === -1 && (q.push(e),
|
|
258
|
+
function pn(e, t) {
|
|
259
|
+
e.$$.dirty[0] === -1 && (q.push(e), hn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function gn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
262
262
|
const l = de;
|
|
263
263
|
fe(e);
|
|
264
264
|
const u = e.$$ = {
|
|
@@ -268,7 +268,7 @@ function _n(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
268
268
|
props: o,
|
|
269
269
|
update: R,
|
|
270
270
|
not_equal: i,
|
|
271
|
-
bound:
|
|
271
|
+
bound: yt(),
|
|
272
272
|
// lifecycle
|
|
273
273
|
on_mount: [],
|
|
274
274
|
on_destroy: [],
|
|
@@ -277,7 +277,7 @@ function _n(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
277
277
|
after_update: [],
|
|
278
278
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
279
279
|
// everything else
|
|
280
|
-
callbacks:
|
|
280
|
+
callbacks: yt(),
|
|
281
281
|
dirty: s,
|
|
282
282
|
skip_bound: !1,
|
|
283
283
|
root: t.target || l.$$.root
|
|
@@ -286,19 +286,19 @@ function _n(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
286
286
|
let h = !1;
|
|
287
287
|
if (u.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
|
|
288
288
|
const g = p.length ? p[0] : f;
|
|
289
|
-
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h &&
|
|
289
|
+
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && pn(e, d)), f;
|
|
290
290
|
}) : [], u.update(), h = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
291
291
|
if (t.hydrate) {
|
|
292
|
-
const d =
|
|
292
|
+
const d = on(t.target);
|
|
293
293
|
u.fragment && u.fragment.l(d), d.forEach(O);
|
|
294
294
|
} else
|
|
295
295
|
u.fragment && u.fragment.c();
|
|
296
|
-
t.intro && V(e.$$.fragment),
|
|
296
|
+
t.intro && V(e.$$.fragment), dn(e, t.target, t.anchor), F();
|
|
297
297
|
}
|
|
298
298
|
fe(l);
|
|
299
299
|
}
|
|
300
|
-
let
|
|
301
|
-
typeof HTMLElement == "function" && (
|
|
300
|
+
let sr;
|
|
301
|
+
typeof HTMLElement == "function" && (sr = class extends HTMLElement {
|
|
302
302
|
/** The Svelte component constructor */
|
|
303
303
|
$$ctor;
|
|
304
304
|
/** Slots */
|
|
@@ -357,7 +357,7 @@ typeof HTMLElement == "function" && (hr = class extends HTMLElement {
|
|
|
357
357
|
};
|
|
358
358
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
359
359
|
return;
|
|
360
|
-
const t = {}, r =
|
|
360
|
+
const t = {}, r = an(this);
|
|
361
361
|
for (const i of this.$$s)
|
|
362
362
|
i in r && (t[i] = [e(i)]);
|
|
363
363
|
for (const i of this.attributes) {
|
|
@@ -444,8 +444,8 @@ function Ne(e, t, r, n) {
|
|
|
444
444
|
return t;
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
function
|
|
448
|
-
let a = class extends
|
|
447
|
+
function vn(e, t, r, n, i, o) {
|
|
448
|
+
let a = class extends sr {
|
|
449
449
|
constructor() {
|
|
450
450
|
super(e, r, i), this.$$p_d = t;
|
|
451
451
|
}
|
|
@@ -473,7 +473,7 @@ function xn(e, t, r, n, i, o) {
|
|
|
473
473
|
}), e.element = /** @type {any} */
|
|
474
474
|
a, a;
|
|
475
475
|
}
|
|
476
|
-
class
|
|
476
|
+
class bn {
|
|
477
477
|
/**
|
|
478
478
|
* ### PRIVATE API
|
|
479
479
|
*
|
|
@@ -492,7 +492,7 @@ class wn {
|
|
|
492
492
|
$$set = void 0;
|
|
493
493
|
/** @returns {void} */
|
|
494
494
|
$destroy() {
|
|
495
|
-
|
|
495
|
+
mn(this, 1), this.$destroy = R;
|
|
496
496
|
}
|
|
497
497
|
/**
|
|
498
498
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -501,7 +501,7 @@ class wn {
|
|
|
501
501
|
* @returns {() => void}
|
|
502
502
|
*/
|
|
503
503
|
$on(t, r) {
|
|
504
|
-
if (!
|
|
504
|
+
if (!ht(r))
|
|
505
505
|
return R;
|
|
506
506
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
507
507
|
return n.push(r), () => {
|
|
@@ -514,11 +514,11 @@ class wn {
|
|
|
514
514
|
* @returns {void}
|
|
515
515
|
*/
|
|
516
516
|
$set(t) {
|
|
517
|
-
this.$$set && !
|
|
517
|
+
this.$$set && !Zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
|
-
const
|
|
521
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
520
|
+
const yn = "4";
|
|
521
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yn);
|
|
522
522
|
/*! *****************************************************************************
|
|
523
523
|
Copyright (c) Microsoft Corporation.
|
|
524
524
|
|
|
@@ -533,18 +533,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
533
533
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
534
534
|
PERFORMANCE OF THIS SOFTWARE.
|
|
535
535
|
***************************************************************************** */
|
|
536
|
-
var
|
|
537
|
-
return
|
|
536
|
+
var Je = function(e, t) {
|
|
537
|
+
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
538
538
|
r.__proto__ = n;
|
|
539
539
|
} || function(r, n) {
|
|
540
540
|
for (var i in n)
|
|
541
541
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
542
|
-
},
|
|
542
|
+
}, Je(e, t);
|
|
543
543
|
};
|
|
544
544
|
function k(e, t) {
|
|
545
545
|
if (typeof t != "function" && t !== null)
|
|
546
546
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
547
|
-
|
|
547
|
+
Je(e, t);
|
|
548
548
|
function r() {
|
|
549
549
|
this.constructor = e;
|
|
550
550
|
}
|
|
@@ -560,7 +560,7 @@ var w = function() {
|
|
|
560
560
|
return t;
|
|
561
561
|
}, w.apply(this, arguments);
|
|
562
562
|
};
|
|
563
|
-
function
|
|
563
|
+
function _n(e, t) {
|
|
564
564
|
var r = {};
|
|
565
565
|
for (var n in e)
|
|
566
566
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -569,7 +569,7 @@ function Nn(e, t) {
|
|
|
569
569
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
570
570
|
return r;
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function qe(e) {
|
|
573
573
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
574
574
|
if (r)
|
|
575
575
|
return r.call(e);
|
|
@@ -581,7 +581,7 @@ function Ke(e) {
|
|
|
581
581
|
};
|
|
582
582
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
583
583
|
}
|
|
584
|
-
function
|
|
584
|
+
function Ke(e, t) {
|
|
585
585
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
586
586
|
if (!r)
|
|
587
587
|
return e;
|
|
@@ -610,13 +610,13 @@ function ee(e, t, r) {
|
|
|
610
610
|
function G(e) {
|
|
611
611
|
return typeof e == "function";
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function lr(e) {
|
|
614
614
|
var t = function(n) {
|
|
615
615
|
Error.call(n), n.stack = new Error().stack;
|
|
616
616
|
}, r = e(t);
|
|
617
617
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
618
618
|
}
|
|
619
|
-
var ke =
|
|
619
|
+
var ke = lr(function(e) {
|
|
620
620
|
return function(r) {
|
|
621
621
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
622
622
|
` + r.map(function(n, i) {
|
|
@@ -625,7 +625,7 @@ var ke = cr(function(e) {
|
|
|
625
625
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
626
626
|
};
|
|
627
627
|
});
|
|
628
|
-
function
|
|
628
|
+
function et(e, t) {
|
|
629
629
|
if (e) {
|
|
630
630
|
var r = e.indexOf(t);
|
|
631
631
|
0 <= r && e.splice(r, 1);
|
|
@@ -643,7 +643,7 @@ var Me = function() {
|
|
|
643
643
|
if (a)
|
|
644
644
|
if (this._parentage = null, Array.isArray(a))
|
|
645
645
|
try {
|
|
646
|
-
for (var s =
|
|
646
|
+
for (var s = qe(a), l = s.next(); !l.done; l = s.next()) {
|
|
647
647
|
var u = l.value;
|
|
648
648
|
u.remove(this);
|
|
649
649
|
}
|
|
@@ -670,12 +670,12 @@ var Me = function() {
|
|
|
670
670
|
if (d) {
|
|
671
671
|
this._finalizers = null;
|
|
672
672
|
try {
|
|
673
|
-
for (var f =
|
|
673
|
+
for (var f = qe(d), p = f.next(); !p.done; p = f.next()) {
|
|
674
674
|
var g = p.value;
|
|
675
675
|
try {
|
|
676
|
-
|
|
676
|
+
xt(g);
|
|
677
677
|
} catch (v) {
|
|
678
|
-
o = o ?? [], v instanceof ke ? o = ee(ee([],
|
|
678
|
+
o = o ?? [], v instanceof ke ? o = ee(ee([], Ke(o)), Ke(v.errors)) : o.push(v);
|
|
679
679
|
}
|
|
680
680
|
}
|
|
681
681
|
} catch (v) {
|
|
@@ -696,7 +696,7 @@ var Me = function() {
|
|
|
696
696
|
var r;
|
|
697
697
|
if (t && t !== this)
|
|
698
698
|
if (this.closed)
|
|
699
|
-
|
|
699
|
+
xt(t);
|
|
700
700
|
else {
|
|
701
701
|
if (t instanceof e) {
|
|
702
702
|
if (t.closed || t._hasParent(this))
|
|
@@ -713,56 +713,52 @@ var Me = function() {
|
|
|
713
713
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
714
714
|
}, e.prototype._removeParent = function(t) {
|
|
715
715
|
var r = this._parentage;
|
|
716
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
716
|
+
r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
|
|
717
717
|
}, e.prototype.remove = function(t) {
|
|
718
718
|
var r = this._finalizers;
|
|
719
|
-
r &&
|
|
719
|
+
r && et(r, t), t instanceof e && t._removeParent(this);
|
|
720
720
|
}, e.EMPTY = function() {
|
|
721
721
|
var t = new e();
|
|
722
722
|
return t.closed = !0, t;
|
|
723
723
|
}(), e;
|
|
724
|
-
}(),
|
|
725
|
-
function
|
|
724
|
+
}(), ur = Me.EMPTY;
|
|
725
|
+
function hr(e) {
|
|
726
726
|
return e instanceof Me || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
|
727
727
|
}
|
|
728
|
-
function
|
|
728
|
+
function xt(e) {
|
|
729
729
|
G(e) ? e() : e.unsubscribe();
|
|
730
730
|
}
|
|
731
|
-
var
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
Promise: void 0,
|
|
735
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
736
|
-
useDeprecatedNextContext: !1
|
|
737
|
-
}, Sn = {
|
|
731
|
+
var xn = {
|
|
732
|
+
Promise: void 0
|
|
733
|
+
}, wn = {
|
|
738
734
|
setTimeout: function(e, t) {
|
|
739
735
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
740
736
|
r[n - 2] = arguments[n];
|
|
741
|
-
return setTimeout.apply(void 0, ee([e, t],
|
|
737
|
+
return setTimeout.apply(void 0, ee([e, t], Ke(r)));
|
|
742
738
|
},
|
|
743
739
|
clearTimeout: function(e) {
|
|
744
740
|
return clearTimeout(e);
|
|
745
741
|
},
|
|
746
742
|
delegate: void 0
|
|
747
743
|
};
|
|
748
|
-
function
|
|
749
|
-
|
|
744
|
+
function En(e) {
|
|
745
|
+
wn.setTimeout(function() {
|
|
750
746
|
throw e;
|
|
751
747
|
});
|
|
752
748
|
}
|
|
753
|
-
function
|
|
749
|
+
function wt() {
|
|
754
750
|
}
|
|
755
751
|
function Se(e) {
|
|
756
752
|
e();
|
|
757
753
|
}
|
|
758
|
-
var
|
|
754
|
+
var cr = function(e) {
|
|
759
755
|
k(t, e);
|
|
760
756
|
function t(r) {
|
|
761
757
|
var n = e.call(this) || this;
|
|
762
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
758
|
+
return n.isStopped = !1, r ? (n.destination = r, hr(r) && r.add(n)) : n.destination = In, n;
|
|
763
759
|
}
|
|
764
760
|
return t.create = function(r, n, i) {
|
|
765
|
-
return new
|
|
761
|
+
return new tt(r, n, i);
|
|
766
762
|
}, t.prototype.next = function(r) {
|
|
767
763
|
this.isStopped || this._next(r);
|
|
768
764
|
}, t.prototype.error = function(r) {
|
|
@@ -786,11 +782,7 @@ var pr = function(e) {
|
|
|
786
782
|
this.unsubscribe();
|
|
787
783
|
}
|
|
788
784
|
}, t;
|
|
789
|
-
}(Me),
|
|
790
|
-
function je(e, t) {
|
|
791
|
-
return Bn.call(e, t);
|
|
792
|
-
}
|
|
793
|
-
var An = function() {
|
|
785
|
+
}(Me), Nn = function() {
|
|
794
786
|
function e(t) {
|
|
795
787
|
this.partialObserver = t;
|
|
796
788
|
}
|
|
@@ -821,55 +813,43 @@ var An = function() {
|
|
|
821
813
|
xe(r);
|
|
822
814
|
}
|
|
823
815
|
}, e;
|
|
824
|
-
}(),
|
|
816
|
+
}(), tt = function(e) {
|
|
825
817
|
k(t, e);
|
|
826
818
|
function t(r, n, i) {
|
|
827
819
|
var o = e.call(this) || this, a;
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
};
|
|
834
|
-
else {
|
|
835
|
-
var s;
|
|
836
|
-
o && mr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
837
|
-
return o.unsubscribe();
|
|
838
|
-
}, a = {
|
|
839
|
-
next: r.next && je(r.next, s),
|
|
840
|
-
error: r.error && je(r.error, s),
|
|
841
|
-
complete: r.complete && je(r.complete, s)
|
|
842
|
-
}) : a = r;
|
|
843
|
-
}
|
|
844
|
-
return o.destination = new An(a), o;
|
|
820
|
+
return G(r) || !r ? a = {
|
|
821
|
+
next: r ?? void 0,
|
|
822
|
+
error: n ?? void 0,
|
|
823
|
+
complete: i ?? void 0
|
|
824
|
+
} : a = r, o.destination = new Nn(a), o;
|
|
845
825
|
}
|
|
846
826
|
return t;
|
|
847
|
-
}(
|
|
827
|
+
}(cr);
|
|
848
828
|
function xe(e) {
|
|
849
|
-
|
|
829
|
+
En(e);
|
|
850
830
|
}
|
|
851
|
-
function
|
|
831
|
+
function Sn(e) {
|
|
852
832
|
throw e;
|
|
853
833
|
}
|
|
854
|
-
var
|
|
834
|
+
var In = {
|
|
855
835
|
closed: !0,
|
|
856
|
-
next:
|
|
857
|
-
error:
|
|
858
|
-
complete:
|
|
859
|
-
},
|
|
836
|
+
next: wt,
|
|
837
|
+
error: Sn,
|
|
838
|
+
complete: wt
|
|
839
|
+
}, Bn = function() {
|
|
860
840
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
861
841
|
}();
|
|
862
|
-
function
|
|
842
|
+
function An(e) {
|
|
863
843
|
return e;
|
|
864
844
|
}
|
|
865
|
-
function
|
|
866
|
-
return e.length === 0 ?
|
|
845
|
+
function Tn(e) {
|
|
846
|
+
return e.length === 0 ? An : e.length === 1 ? e[0] : function(r) {
|
|
867
847
|
return e.reduce(function(n, i) {
|
|
868
848
|
return i(n);
|
|
869
849
|
}, r);
|
|
870
850
|
};
|
|
871
851
|
}
|
|
872
|
-
var
|
|
852
|
+
var Et = function() {
|
|
873
853
|
function e(t) {
|
|
874
854
|
t && (this._subscribe = t);
|
|
875
855
|
}
|
|
@@ -877,7 +857,7 @@ var It = function() {
|
|
|
877
857
|
var r = new e();
|
|
878
858
|
return r.source = this, r.operator = t, r;
|
|
879
859
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
880
|
-
var i = this, o =
|
|
860
|
+
var i = this, o = Hn(t) ? t : new tt(t, r, n);
|
|
881
861
|
return Se(function() {
|
|
882
862
|
var a = i, s = a.operator, l = a.source;
|
|
883
863
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -890,8 +870,8 @@ var It = function() {
|
|
|
890
870
|
}
|
|
891
871
|
}, e.prototype.forEach = function(t, r) {
|
|
892
872
|
var n = this;
|
|
893
|
-
return r =
|
|
894
|
-
var a = new
|
|
873
|
+
return r = Nt(r), new r(function(i, o) {
|
|
874
|
+
var a = new tt({
|
|
895
875
|
next: function(s) {
|
|
896
876
|
try {
|
|
897
877
|
t(s);
|
|
@@ -907,15 +887,15 @@ var It = function() {
|
|
|
907
887
|
}, e.prototype._subscribe = function(t) {
|
|
908
888
|
var r;
|
|
909
889
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
910
|
-
}, e.prototype[
|
|
890
|
+
}, e.prototype[Bn] = function() {
|
|
911
891
|
return this;
|
|
912
892
|
}, e.prototype.pipe = function() {
|
|
913
893
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
914
894
|
t[r] = arguments[r];
|
|
915
|
-
return
|
|
895
|
+
return Tn(t)(this);
|
|
916
896
|
}, e.prototype.toPromise = function(t) {
|
|
917
897
|
var r = this;
|
|
918
|
-
return t =
|
|
898
|
+
return t = Nt(t), new t(function(n, i) {
|
|
919
899
|
var o;
|
|
920
900
|
r.subscribe(function(a) {
|
|
921
901
|
return o = a;
|
|
@@ -929,32 +909,32 @@ var It = function() {
|
|
|
929
909
|
return new e(t);
|
|
930
910
|
}, e;
|
|
931
911
|
}();
|
|
932
|
-
function
|
|
912
|
+
function Nt(e) {
|
|
933
913
|
var t;
|
|
934
|
-
return (t = e ??
|
|
914
|
+
return (t = e ?? xn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
935
915
|
}
|
|
936
|
-
function
|
|
916
|
+
function Pn(e) {
|
|
937
917
|
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
938
918
|
}
|
|
939
|
-
function
|
|
940
|
-
return e && e instanceof
|
|
919
|
+
function Hn(e) {
|
|
920
|
+
return e && e instanceof cr || Pn(e) && hr(e);
|
|
941
921
|
}
|
|
942
|
-
var
|
|
922
|
+
var Mn = lr(function(e) {
|
|
943
923
|
return function() {
|
|
944
924
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
945
925
|
};
|
|
946
|
-
}),
|
|
926
|
+
}), fr = function(e) {
|
|
947
927
|
k(t, e);
|
|
948
928
|
function t() {
|
|
949
929
|
var r = e.call(this) || this;
|
|
950
930
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
951
931
|
}
|
|
952
932
|
return t.prototype.lift = function(r) {
|
|
953
|
-
var n = new
|
|
933
|
+
var n = new St(this, this);
|
|
954
934
|
return n.operator = r, n;
|
|
955
935
|
}, t.prototype._throwIfClosed = function() {
|
|
956
936
|
if (this.closed)
|
|
957
|
-
throw new
|
|
937
|
+
throw new Mn();
|
|
958
938
|
}, t.prototype.next = function(r) {
|
|
959
939
|
var n = this;
|
|
960
940
|
Se(function() {
|
|
@@ -962,7 +942,7 @@ var Fn = cr(function(e) {
|
|
|
962
942
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
963
943
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
964
944
|
try {
|
|
965
|
-
for (var a =
|
|
945
|
+
for (var a = qe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
966
946
|
var l = s.value;
|
|
967
947
|
l.next(r);
|
|
968
948
|
}
|
|
@@ -1011,19 +991,19 @@ var Fn = cr(function(e) {
|
|
|
1011
991
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1012
992
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1013
993
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1014
|
-
return o || a ?
|
|
1015
|
-
n.currentObservers = null,
|
|
994
|
+
return o || a ? ur : (this.currentObservers = null, s.push(r), new Me(function() {
|
|
995
|
+
n.currentObservers = null, et(s, r);
|
|
1016
996
|
}));
|
|
1017
997
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1018
998
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1019
999
|
i ? r.error(o) : a && r.complete();
|
|
1020
1000
|
}, t.prototype.asObservable = function() {
|
|
1021
|
-
var r = new
|
|
1001
|
+
var r = new Et();
|
|
1022
1002
|
return r.source = this, r;
|
|
1023
1003
|
}, t.create = function(r, n) {
|
|
1024
|
-
return new
|
|
1004
|
+
return new St(r, n);
|
|
1025
1005
|
}, t;
|
|
1026
|
-
}(
|
|
1006
|
+
}(Et), St = function(e) {
|
|
1027
1007
|
k(t, e);
|
|
1028
1008
|
function t(r, n) {
|
|
1029
1009
|
var i = e.call(this) || this;
|
|
@@ -1040,17 +1020,17 @@ var Fn = cr(function(e) {
|
|
|
1040
1020
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1041
1021
|
}, t.prototype._subscribe = function(r) {
|
|
1042
1022
|
var n, i;
|
|
1043
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1023
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ur;
|
|
1044
1024
|
}, t;
|
|
1045
|
-
}(
|
|
1025
|
+
}(fr), dr = {
|
|
1046
1026
|
now: function() {
|
|
1047
|
-
return (
|
|
1027
|
+
return (dr.delegate || Date).now();
|
|
1048
1028
|
},
|
|
1049
1029
|
delegate: void 0
|
|
1050
|
-
},
|
|
1030
|
+
}, On = function(e) {
|
|
1051
1031
|
k(t, e);
|
|
1052
1032
|
function t(r, n, i) {
|
|
1053
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1033
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = dr);
|
|
1054
1034
|
var o = e.call(this) || this;
|
|
1055
1035
|
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;
|
|
1056
1036
|
}
|
|
@@ -1070,15 +1050,15 @@ var Fn = cr(function(e) {
|
|
|
1070
1050
|
u && o.splice(0, u + 1);
|
|
1071
1051
|
}
|
|
1072
1052
|
}, t;
|
|
1073
|
-
}(
|
|
1074
|
-
const
|
|
1075
|
-
if (
|
|
1076
|
-
const r = new
|
|
1077
|
-
|
|
1053
|
+
}(fr);
|
|
1054
|
+
const It = [], Bt = {}, Ln = (e, t = 0) => {
|
|
1055
|
+
if (It.indexOf(e) == -1) {
|
|
1056
|
+
const r = new On(t);
|
|
1057
|
+
Bt[e] = r, It.push(e);
|
|
1078
1058
|
}
|
|
1079
|
-
return
|
|
1059
|
+
return Bt[e];
|
|
1080
1060
|
}, J = [];
|
|
1081
|
-
function
|
|
1061
|
+
function Cn(e, t) {
|
|
1082
1062
|
return {
|
|
1083
1063
|
subscribe: Oe(e, t).subscribe
|
|
1084
1064
|
};
|
|
@@ -1087,7 +1067,7 @@ function Oe(e, t = R) {
|
|
|
1087
1067
|
let r;
|
|
1088
1068
|
const n = /* @__PURE__ */ new Set();
|
|
1089
1069
|
function i(s) {
|
|
1090
|
-
if (
|
|
1070
|
+
if (tr(e, s) && (e = s, r)) {
|
|
1091
1071
|
const l = !J.length;
|
|
1092
1072
|
for (const u of n)
|
|
1093
1073
|
u[1](), J.push(u, e);
|
|
@@ -1114,7 +1094,7 @@ function se(e, t, r) {
|
|
|
1114
1094
|
if (!i.every(Boolean))
|
|
1115
1095
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1116
1096
|
const o = t.length < 2;
|
|
1117
|
-
return
|
|
1097
|
+
return Cn(r, (a, s) => {
|
|
1118
1098
|
let l = !1;
|
|
1119
1099
|
const u = [];
|
|
1120
1100
|
let h = 0, d = R;
|
|
@@ -1123,9 +1103,9 @@ function se(e, t, r) {
|
|
|
1123
1103
|
return;
|
|
1124
1104
|
d();
|
|
1125
1105
|
const g = t(n ? u[0] : u, a, s);
|
|
1126
|
-
o ? a(g) : d =
|
|
1106
|
+
o ? a(g) : d = ht(g) ? g : R;
|
|
1127
1107
|
}, p = i.map(
|
|
1128
|
-
(g, v) =>
|
|
1108
|
+
(g, v) => rr(
|
|
1129
1109
|
g,
|
|
1130
1110
|
(A) => {
|
|
1131
1111
|
u[v] = A, h &= ~(1 << v), l && f();
|
|
@@ -1140,70 +1120,70 @@ function se(e, t, r) {
|
|
|
1140
1120
|
};
|
|
1141
1121
|
});
|
|
1142
1122
|
}
|
|
1143
|
-
function
|
|
1123
|
+
function Fn(e) {
|
|
1144
1124
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1145
1125
|
}
|
|
1146
|
-
var
|
|
1147
|
-
return
|
|
1126
|
+
var Rn = function(t) {
|
|
1127
|
+
return Un(t) && !Dn(t);
|
|
1148
1128
|
};
|
|
1149
|
-
function
|
|
1129
|
+
function Un(e) {
|
|
1150
1130
|
return !!e && typeof e == "object";
|
|
1151
1131
|
}
|
|
1152
|
-
function
|
|
1132
|
+
function Dn(e) {
|
|
1153
1133
|
var t = Object.prototype.toString.call(e);
|
|
1154
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1134
|
+
return t === "[object RegExp]" || t === "[object Date]" || kn(e);
|
|
1155
1135
|
}
|
|
1156
|
-
var
|
|
1157
|
-
function
|
|
1158
|
-
return e.$$typeof ===
|
|
1136
|
+
var Gn = typeof Symbol == "function" && Symbol.for, $n = Gn ? Symbol.for("react.element") : 60103;
|
|
1137
|
+
function kn(e) {
|
|
1138
|
+
return e.$$typeof === $n;
|
|
1159
1139
|
}
|
|
1160
|
-
function
|
|
1140
|
+
function jn(e) {
|
|
1161
1141
|
return Array.isArray(e) ? [] : {};
|
|
1162
1142
|
}
|
|
1163
1143
|
function pe(e, t) {
|
|
1164
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? re(
|
|
1144
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(jn(e), e, t) : e;
|
|
1165
1145
|
}
|
|
1166
|
-
function
|
|
1146
|
+
function Wn(e, t, r) {
|
|
1167
1147
|
return e.concat(t).map(function(n) {
|
|
1168
1148
|
return pe(n, r);
|
|
1169
1149
|
});
|
|
1170
1150
|
}
|
|
1171
|
-
function
|
|
1151
|
+
function Vn(e, t) {
|
|
1172
1152
|
if (!t.customMerge)
|
|
1173
1153
|
return re;
|
|
1174
1154
|
var r = t.customMerge(e);
|
|
1175
1155
|
return typeof r == "function" ? r : re;
|
|
1176
1156
|
}
|
|
1177
|
-
function
|
|
1157
|
+
function Xn(e) {
|
|
1178
1158
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1179
1159
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1180
1160
|
}) : [];
|
|
1181
1161
|
}
|
|
1182
|
-
function
|
|
1183
|
-
return Object.keys(e).concat(
|
|
1162
|
+
function At(e) {
|
|
1163
|
+
return Object.keys(e).concat(Xn(e));
|
|
1184
1164
|
}
|
|
1185
|
-
function
|
|
1165
|
+
function mr(e, t) {
|
|
1186
1166
|
try {
|
|
1187
1167
|
return t in e;
|
|
1188
1168
|
} catch {
|
|
1189
1169
|
return !1;
|
|
1190
1170
|
}
|
|
1191
1171
|
}
|
|
1192
|
-
function
|
|
1193
|
-
return
|
|
1172
|
+
function zn(e, t) {
|
|
1173
|
+
return mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1194
1174
|
}
|
|
1195
|
-
function
|
|
1175
|
+
function Zn(e, t, r) {
|
|
1196
1176
|
var n = {};
|
|
1197
|
-
return r.isMergeableObject(e) &&
|
|
1177
|
+
return r.isMergeableObject(e) && At(e).forEach(function(i) {
|
|
1198
1178
|
n[i] = pe(e[i], r);
|
|
1199
|
-
}),
|
|
1200
|
-
|
|
1179
|
+
}), At(t).forEach(function(i) {
|
|
1180
|
+
zn(e, i) || (mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vn(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
|
|
1201
1181
|
}), n;
|
|
1202
1182
|
}
|
|
1203
1183
|
function re(e, t, r) {
|
|
1204
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1184
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Wn, r.isMergeableObject = r.isMergeableObject || Rn, r.cloneUnlessOtherwiseSpecified = pe;
|
|
1205
1185
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1206
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1186
|
+
return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) : pe(t, r);
|
|
1207
1187
|
}
|
|
1208
1188
|
re.all = function(t, r) {
|
|
1209
1189
|
if (!Array.isArray(t))
|
|
@@ -1212,58 +1192,56 @@ re.all = function(t, r) {
|
|
|
1212
1192
|
return re(n, i, r);
|
|
1213
1193
|
}, {});
|
|
1214
1194
|
};
|
|
1215
|
-
var
|
|
1216
|
-
const
|
|
1217
|
-
function
|
|
1218
|
-
var r = t && t.cache ? t.cache :
|
|
1195
|
+
var Qn = re, Yn = Qn;
|
|
1196
|
+
const Jn = /* @__PURE__ */ Fn(Yn);
|
|
1197
|
+
function je(e, t) {
|
|
1198
|
+
var r = t && t.cache ? t.cache : ii, n = t && t.serializer ? t.serializer : ri, i = t && t.strategy ? t.strategy : ei;
|
|
1219
1199
|
return i(e, {
|
|
1220
1200
|
cache: r,
|
|
1221
1201
|
serializer: n
|
|
1222
1202
|
});
|
|
1223
1203
|
}
|
|
1224
|
-
function
|
|
1204
|
+
function qn(e) {
|
|
1225
1205
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1226
1206
|
}
|
|
1227
|
-
function
|
|
1228
|
-
var i =
|
|
1207
|
+
function Kn(e, t, r, n) {
|
|
1208
|
+
var i = qn(n) ? n : r(n), o = t.get(i);
|
|
1229
1209
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1230
1210
|
}
|
|
1231
|
-
function
|
|
1211
|
+
function pr(e, t, r) {
|
|
1232
1212
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1233
1213
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1234
1214
|
}
|
|
1235
|
-
function
|
|
1215
|
+
function gr(e, t, r, n, i) {
|
|
1236
1216
|
return r.bind(t, e, n, i);
|
|
1237
1217
|
}
|
|
1238
|
-
function
|
|
1239
|
-
var r = e.length === 1 ?
|
|
1240
|
-
return
|
|
1241
|
-
}
|
|
1242
|
-
function ii(e, t) {
|
|
1243
|
-
return dt(e, this, _r, t.cache.create(), t.serializer);
|
|
1218
|
+
function ei(e, t) {
|
|
1219
|
+
var r = e.length === 1 ? Kn : pr;
|
|
1220
|
+
return gr(e, this, r, t.cache.create(), t.serializer);
|
|
1244
1221
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return
|
|
1222
|
+
function ti(e, t) {
|
|
1223
|
+
return gr(e, this, pr, t.cache.create(), t.serializer);
|
|
1247
1224
|
}
|
|
1248
|
-
var
|
|
1225
|
+
var ri = function() {
|
|
1249
1226
|
return JSON.stringify(arguments);
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1227
|
+
}, ni = (
|
|
1228
|
+
/** @class */
|
|
1229
|
+
function() {
|
|
1230
|
+
function e() {
|
|
1231
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1232
|
+
}
|
|
1233
|
+
return e.prototype.get = function(t) {
|
|
1234
|
+
return this.cache[t];
|
|
1235
|
+
}, e.prototype.set = function(t, r) {
|
|
1236
|
+
this.cache[t] = r;
|
|
1237
|
+
}, e;
|
|
1238
|
+
}()
|
|
1239
|
+
), ii = {
|
|
1261
1240
|
create: function() {
|
|
1262
|
-
return new
|
|
1241
|
+
return new ni();
|
|
1263
1242
|
}
|
|
1264
|
-
},
|
|
1265
|
-
variadic:
|
|
1266
|
-
monadic: oi
|
|
1243
|
+
}, We = {
|
|
1244
|
+
variadic: ti
|
|
1267
1245
|
}, _;
|
|
1268
1246
|
(function(e) {
|
|
1269
1247
|
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";
|
|
@@ -1276,43 +1254,43 @@ var ne;
|
|
|
1276
1254
|
(function(e) {
|
|
1277
1255
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1278
1256
|
})(ne || (ne = {}));
|
|
1279
|
-
function
|
|
1257
|
+
function Tt(e) {
|
|
1280
1258
|
return e.type === I.literal;
|
|
1281
1259
|
}
|
|
1282
|
-
function
|
|
1260
|
+
function oi(e) {
|
|
1283
1261
|
return e.type === I.argument;
|
|
1284
1262
|
}
|
|
1285
|
-
function
|
|
1263
|
+
function vr(e) {
|
|
1286
1264
|
return e.type === I.number;
|
|
1287
1265
|
}
|
|
1288
|
-
function
|
|
1266
|
+
function br(e) {
|
|
1289
1267
|
return e.type === I.date;
|
|
1290
1268
|
}
|
|
1291
|
-
function
|
|
1269
|
+
function yr(e) {
|
|
1292
1270
|
return e.type === I.time;
|
|
1293
1271
|
}
|
|
1294
|
-
function
|
|
1272
|
+
function _r(e) {
|
|
1295
1273
|
return e.type === I.select;
|
|
1296
1274
|
}
|
|
1297
|
-
function
|
|
1275
|
+
function xr(e) {
|
|
1298
1276
|
return e.type === I.plural;
|
|
1299
1277
|
}
|
|
1300
|
-
function
|
|
1278
|
+
function ai(e) {
|
|
1301
1279
|
return e.type === I.pound;
|
|
1302
1280
|
}
|
|
1303
|
-
function
|
|
1281
|
+
function wr(e) {
|
|
1304
1282
|
return e.type === I.tag;
|
|
1305
1283
|
}
|
|
1306
|
-
function
|
|
1284
|
+
function Er(e) {
|
|
1307
1285
|
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1308
1286
|
}
|
|
1309
|
-
function
|
|
1287
|
+
function rt(e) {
|
|
1310
1288
|
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1311
1289
|
}
|
|
1312
|
-
var
|
|
1313
|
-
function
|
|
1290
|
+
var Nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, si = /(?:[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;
|
|
1291
|
+
function li(e) {
|
|
1314
1292
|
var t = {};
|
|
1315
|
-
return e.replace(
|
|
1293
|
+
return e.replace(si, function(r) {
|
|
1316
1294
|
var n = r.length;
|
|
1317
1295
|
switch (r[0]) {
|
|
1318
1296
|
case "G":
|
|
@@ -1401,11 +1379,11 @@ function ci(e) {
|
|
|
1401
1379
|
return "";
|
|
1402
1380
|
}), t;
|
|
1403
1381
|
}
|
|
1404
|
-
var
|
|
1405
|
-
function
|
|
1382
|
+
var ui = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1383
|
+
function hi(e) {
|
|
1406
1384
|
if (e.length === 0)
|
|
1407
1385
|
throw new Error("Number skeleton cannot be empty");
|
|
1408
|
-
for (var t = e.split(
|
|
1386
|
+
for (var t = e.split(ui).filter(function(f) {
|
|
1409
1387
|
return f.length > 0;
|
|
1410
1388
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1411
1389
|
var o = i[n], a = o.split("/");
|
|
@@ -1420,17 +1398,17 @@ function di(e) {
|
|
|
1420
1398
|
}
|
|
1421
1399
|
return r;
|
|
1422
1400
|
}
|
|
1423
|
-
function
|
|
1401
|
+
function ci(e) {
|
|
1424
1402
|
return e.replace(/^(.*?)-/, "");
|
|
1425
1403
|
}
|
|
1426
|
-
var
|
|
1427
|
-
function
|
|
1404
|
+
var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Sr = /^(@+)?(\+|#+)?[rs]?$/g, fi = /(\*)(0+)|(#+)(0+)|(0+)/g, Ir = /^(0+)$/;
|
|
1405
|
+
function Ht(e) {
|
|
1428
1406
|
var t = {};
|
|
1429
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1407
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Sr, function(r, n, i) {
|
|
1430
1408
|
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)), "";
|
|
1431
1409
|
}), t;
|
|
1432
1410
|
}
|
|
1433
|
-
function
|
|
1411
|
+
function Br(e) {
|
|
1434
1412
|
switch (e) {
|
|
1435
1413
|
case "sign-auto":
|
|
1436
1414
|
return {
|
|
@@ -1470,7 +1448,7 @@ function Pr(e) {
|
|
|
1470
1448
|
};
|
|
1471
1449
|
}
|
|
1472
1450
|
}
|
|
1473
|
-
function
|
|
1451
|
+
function di(e) {
|
|
1474
1452
|
var t;
|
|
1475
1453
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1476
1454
|
notation: "engineering"
|
|
@@ -1478,17 +1456,17 @@ function gi(e) {
|
|
|
1478
1456
|
notation: "scientific"
|
|
1479
1457
|
}, e = e.slice(1)), t) {
|
|
1480
1458
|
var r = e.slice(0, 2);
|
|
1481
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1459
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ir.test(e))
|
|
1482
1460
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1483
1461
|
t.minimumIntegerDigits = e.length;
|
|
1484
1462
|
}
|
|
1485
1463
|
return t;
|
|
1486
1464
|
}
|
|
1487
|
-
function
|
|
1488
|
-
var t = {}, r =
|
|
1465
|
+
function Mt(e) {
|
|
1466
|
+
var t = {}, r = Br(e);
|
|
1489
1467
|
return r || t;
|
|
1490
1468
|
}
|
|
1491
|
-
function
|
|
1469
|
+
function mi(e) {
|
|
1492
1470
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1493
1471
|
var i = n[r];
|
|
1494
1472
|
switch (i.stem) {
|
|
@@ -1512,7 +1490,7 @@ function vi(e) {
|
|
|
1512
1490
|
continue;
|
|
1513
1491
|
case "measure-unit":
|
|
1514
1492
|
case "unit":
|
|
1515
|
-
t.style = "unit", t.unit =
|
|
1493
|
+
t.style = "unit", t.unit = ci(i.options[0]);
|
|
1516
1494
|
continue;
|
|
1517
1495
|
case "compact-short":
|
|
1518
1496
|
case "K":
|
|
@@ -1524,12 +1502,12 @@ function vi(e) {
|
|
|
1524
1502
|
continue;
|
|
1525
1503
|
case "scientific":
|
|
1526
1504
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1527
|
-
return w(w({}, l),
|
|
1505
|
+
return w(w({}, l), Mt(u));
|
|
1528
1506
|
}, {}));
|
|
1529
1507
|
continue;
|
|
1530
1508
|
case "engineering":
|
|
1531
1509
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1532
|
-
return w(w({}, l),
|
|
1510
|
+
return w(w({}, l), Mt(u));
|
|
1533
1511
|
}, {}));
|
|
1534
1512
|
continue;
|
|
1535
1513
|
case "notation-simple":
|
|
@@ -1574,7 +1552,7 @@ function vi(e) {
|
|
|
1574
1552
|
case "integer-width":
|
|
1575
1553
|
if (i.options.length > 1)
|
|
1576
1554
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1577
|
-
i.options[0].replace(
|
|
1555
|
+
i.options[0].replace(fi, function(l, u, h, d, f, p) {
|
|
1578
1556
|
if (u)
|
|
1579
1557
|
t.minimumIntegerDigits = h.length;
|
|
1580
1558
|
else {
|
|
@@ -1587,27 +1565,27 @@ function vi(e) {
|
|
|
1587
1565
|
});
|
|
1588
1566
|
continue;
|
|
1589
1567
|
}
|
|
1590
|
-
if (
|
|
1568
|
+
if (Ir.test(i.stem)) {
|
|
1591
1569
|
t.minimumIntegerDigits = i.stem.length;
|
|
1592
1570
|
continue;
|
|
1593
1571
|
}
|
|
1594
|
-
if (
|
|
1572
|
+
if (Pt.test(i.stem)) {
|
|
1595
1573
|
if (i.options.length > 1)
|
|
1596
1574
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1597
|
-
i.stem.replace(
|
|
1575
|
+
i.stem.replace(Pt, function(l, u, h, d, f, p) {
|
|
1598
1576
|
return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1599
1577
|
});
|
|
1600
1578
|
var o = i.options[0];
|
|
1601
|
-
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t),
|
|
1579
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Ht(o)));
|
|
1602
1580
|
continue;
|
|
1603
1581
|
}
|
|
1604
|
-
if (
|
|
1605
|
-
t = w(w({}, t),
|
|
1582
|
+
if (Sr.test(i.stem)) {
|
|
1583
|
+
t = w(w({}, t), Ht(i.stem));
|
|
1606
1584
|
continue;
|
|
1607
1585
|
}
|
|
1608
|
-
var a =
|
|
1586
|
+
var a = Br(i.stem);
|
|
1609
1587
|
a && (t = w(w({}, t), a));
|
|
1610
|
-
var s =
|
|
1588
|
+
var s = di(i.stem);
|
|
1611
1589
|
s && (t = w(w({}, t), s));
|
|
1612
1590
|
}
|
|
1613
1591
|
return t;
|
|
@@ -3027,13 +3005,13 @@ var we = {
|
|
|
3027
3005
|
"h"
|
|
3028
3006
|
]
|
|
3029
3007
|
};
|
|
3030
|
-
function
|
|
3008
|
+
function pi(e, t) {
|
|
3031
3009
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3032
3010
|
var i = e.charAt(n);
|
|
3033
3011
|
if (i === "j") {
|
|
3034
3012
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3035
3013
|
o++, n++;
|
|
3036
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3014
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = gi(t);
|
|
3037
3015
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3038
3016
|
r += l;
|
|
3039
3017
|
for (; a-- > 0; )
|
|
@@ -3043,7 +3021,7 @@ function bi(e, t) {
|
|
|
3043
3021
|
}
|
|
3044
3022
|
return r;
|
|
3045
3023
|
}
|
|
3046
|
-
function
|
|
3024
|
+
function gi(e) {
|
|
3047
3025
|
var t = e.hourCycle;
|
|
3048
3026
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3049
3027
|
e.hourCycles && // @ts-ignore
|
|
@@ -3065,20 +3043,20 @@ function yi(e) {
|
|
|
3065
3043
|
var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
|
|
3066
3044
|
return i[0];
|
|
3067
3045
|
}
|
|
3068
|
-
var
|
|
3046
|
+
var Ve, vi = new RegExp("^".concat(Nr.source, "*")), bi = new RegExp("".concat(Nr.source, "*$"));
|
|
3069
3047
|
function x(e, t) {
|
|
3070
3048
|
return { start: e, end: t };
|
|
3071
3049
|
}
|
|
3072
|
-
var
|
|
3050
|
+
var yi = !!String.prototype.startsWith && "_a".startsWith("a", 1), _i = !!String.fromCodePoint, xi = !!Object.fromEntries, wi = !!String.prototype.codePointAt, Ei = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Si = !!Number.isSafeInteger, Ii = Si ? Number.isSafeInteger : function(e) {
|
|
3073
3051
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3074
|
-
},
|
|
3052
|
+
}, nt = !0;
|
|
3075
3053
|
try {
|
|
3076
|
-
var
|
|
3077
|
-
|
|
3054
|
+
var Bi = Tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3055
|
+
nt = ((Ve = Bi.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
|
|
3078
3056
|
} catch {
|
|
3079
|
-
|
|
3057
|
+
nt = !1;
|
|
3080
3058
|
}
|
|
3081
|
-
var
|
|
3059
|
+
var Ot = yi ? (
|
|
3082
3060
|
// Native
|
|
3083
3061
|
function(t, r, n) {
|
|
3084
3062
|
return t.startsWith(r, n);
|
|
@@ -3088,7 +3066,7 @@ var Ft = wi ? (
|
|
|
3088
3066
|
function(t, r, n) {
|
|
3089
3067
|
return t.slice(n, n + r.length) === r;
|
|
3090
3068
|
}
|
|
3091
|
-
),
|
|
3069
|
+
), it = _i ? String.fromCodePoint : (
|
|
3092
3070
|
// IE11
|
|
3093
3071
|
function() {
|
|
3094
3072
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3100,9 +3078,9 @@ var Ft = wi ? (
|
|
|
3100
3078
|
}
|
|
3101
3079
|
return n;
|
|
3102
3080
|
}
|
|
3103
|
-
),
|
|
3081
|
+
), Lt = (
|
|
3104
3082
|
// native
|
|
3105
|
-
|
|
3083
|
+
xi ? Object.fromEntries : (
|
|
3106
3084
|
// Ponyfill
|
|
3107
3085
|
function(t) {
|
|
3108
3086
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3112,7 +3090,7 @@ var Ft = wi ? (
|
|
|
3112
3090
|
return r;
|
|
3113
3091
|
}
|
|
3114
3092
|
)
|
|
3115
|
-
),
|
|
3093
|
+
), Ar = wi ? (
|
|
3116
3094
|
// Native
|
|
3117
3095
|
function(t, r) {
|
|
3118
3096
|
return t.codePointAt(r);
|
|
@@ -3126,7 +3104,7 @@ var Ft = wi ? (
|
|
|
3126
3104
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3127
3105
|
}
|
|
3128
3106
|
}
|
|
3129
|
-
),
|
|
3107
|
+
), Ai = Ei ? (
|
|
3130
3108
|
// Native
|
|
3131
3109
|
function(t) {
|
|
3132
3110
|
return t.trimStart();
|
|
@@ -3134,9 +3112,9 @@ var Ft = wi ? (
|
|
|
3134
3112
|
) : (
|
|
3135
3113
|
// Ponyfill
|
|
3136
3114
|
function(t) {
|
|
3137
|
-
return t.replace(
|
|
3115
|
+
return t.replace(vi, "");
|
|
3138
3116
|
}
|
|
3139
|
-
),
|
|
3117
|
+
), Ti = Ni ? (
|
|
3140
3118
|
// Native
|
|
3141
3119
|
function(t) {
|
|
3142
3120
|
return t.trimEnd();
|
|
@@ -3144,32 +3122,32 @@ var Ft = wi ? (
|
|
|
3144
3122
|
) : (
|
|
3145
3123
|
// Ponyfill
|
|
3146
3124
|
function(t) {
|
|
3147
|
-
return t.replace(
|
|
3125
|
+
return t.replace(bi, "");
|
|
3148
3126
|
}
|
|
3149
3127
|
);
|
|
3150
|
-
function
|
|
3128
|
+
function Tr(e, t) {
|
|
3151
3129
|
return new RegExp(e, t);
|
|
3152
3130
|
}
|
|
3153
|
-
var
|
|
3154
|
-
if (
|
|
3155
|
-
var
|
|
3156
|
-
|
|
3131
|
+
var ot;
|
|
3132
|
+
if (nt) {
|
|
3133
|
+
var Ct = Tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3134
|
+
ot = function(t, r) {
|
|
3157
3135
|
var n;
|
|
3158
|
-
|
|
3159
|
-
var i =
|
|
3136
|
+
Ct.lastIndex = r;
|
|
3137
|
+
var i = Ct.exec(t);
|
|
3160
3138
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3161
3139
|
};
|
|
3162
3140
|
} else
|
|
3163
|
-
|
|
3141
|
+
ot = function(t, r) {
|
|
3164
3142
|
for (var n = []; ; ) {
|
|
3165
|
-
var i =
|
|
3166
|
-
if (i === void 0 ||
|
|
3143
|
+
var i = Ar(t, r);
|
|
3144
|
+
if (i === void 0 || Pr(i) || Oi(i))
|
|
3167
3145
|
break;
|
|
3168
3146
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3169
3147
|
}
|
|
3170
|
-
return
|
|
3148
|
+
return it.apply(void 0, n);
|
|
3171
3149
|
};
|
|
3172
|
-
var
|
|
3150
|
+
var Pi = (
|
|
3173
3151
|
/** @class */
|
|
3174
3152
|
function() {
|
|
3175
3153
|
function e(t, r) {
|
|
@@ -3200,7 +3178,7 @@ var Oi = (
|
|
|
3200
3178
|
if (n)
|
|
3201
3179
|
break;
|
|
3202
3180
|
return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3203
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3181
|
+
} else if (o === 60 && !this.ignoreTag && at(this.peek() || 0)) {
|
|
3204
3182
|
var a = this.parseTag(t, r);
|
|
3205
3183
|
if (a.err)
|
|
3206
3184
|
return a;
|
|
@@ -3233,7 +3211,7 @@ var Oi = (
|
|
|
3233
3211
|
return o;
|
|
3234
3212
|
var a = o.val, s = this.clonePosition();
|
|
3235
3213
|
if (this.bumpIf("</")) {
|
|
3236
|
-
if (this.isEOF() || !
|
|
3214
|
+
if (this.isEOF() || !at(this.char()))
|
|
3237
3215
|
return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
|
|
3238
3216
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3239
3217
|
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3251,7 +3229,7 @@ var Oi = (
|
|
|
3251
3229
|
return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
|
|
3252
3230
|
}, e.prototype.parseTagName = function() {
|
|
3253
3231
|
var t = this.offset();
|
|
3254
|
-
for (this.bump(); !this.isEOF() &&
|
|
3232
|
+
for (this.bump(); !this.isEOF() && Mi(this.char()); )
|
|
3255
3233
|
this.bump();
|
|
3256
3234
|
return this.message.slice(t, this.offset());
|
|
3257
3235
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3280,7 +3258,7 @@ var Oi = (
|
|
|
3280
3258
|
};
|
|
3281
3259
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3282
3260
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3283
|
-
!
|
|
3261
|
+
!Hi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3284
3262
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3285
3263
|
if (this.isEOF() || this.char() !== 39)
|
|
3286
3264
|
return null;
|
|
@@ -3314,12 +3292,12 @@ var Oi = (
|
|
|
3314
3292
|
r.push(n);
|
|
3315
3293
|
this.bump();
|
|
3316
3294
|
}
|
|
3317
|
-
return
|
|
3295
|
+
return it.apply(void 0, r);
|
|
3318
3296
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3319
3297
|
if (this.isEOF())
|
|
3320
3298
|
return null;
|
|
3321
3299
|
var n = this.char();
|
|
3322
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3300
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), it(n));
|
|
3323
3301
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3324
3302
|
var n = this.clonePosition();
|
|
3325
3303
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3348,7 +3326,7 @@ var Oi = (
|
|
|
3348
3326
|
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3349
3327
|
}
|
|
3350
3328
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3351
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3329
|
+
var t = this.clonePosition(), r = this.offset(), n = ot(this.message, r), i = r + n.length;
|
|
3352
3330
|
this.bumpTo(i);
|
|
3353
3331
|
var o = this.clonePosition(), a = x(t, o);
|
|
3354
3332
|
return { value: n, location: a };
|
|
@@ -3367,7 +3345,7 @@ var Oi = (
|
|
|
3367
3345
|
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3368
3346
|
if (d.err)
|
|
3369
3347
|
return d;
|
|
3370
|
-
var f =
|
|
3348
|
+
var f = Ti(d.val);
|
|
3371
3349
|
if (f.length === 0)
|
|
3372
3350
|
return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3373
3351
|
var p = x(h, this.clonePosition());
|
|
@@ -3377,8 +3355,8 @@ var Oi = (
|
|
|
3377
3355
|
if (g.err)
|
|
3378
3356
|
return g;
|
|
3379
3357
|
var v = x(i, this.clonePosition());
|
|
3380
|
-
if (u &&
|
|
3381
|
-
var A =
|
|
3358
|
+
if (u && Ot(u?.style, "::", 0)) {
|
|
3359
|
+
var A = Ai(u.style.slice(2));
|
|
3382
3360
|
if (s === "number") {
|
|
3383
3361
|
var d = this.parseNumberSkeletonFromString(A, u.styleLocation);
|
|
3384
3362
|
return d.err ? d : {
|
|
@@ -3389,12 +3367,12 @@ var Oi = (
|
|
|
3389
3367
|
if (A.length === 0)
|
|
3390
3368
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3391
3369
|
var S = A;
|
|
3392
|
-
this.locale && (S =
|
|
3370
|
+
this.locale && (S = pi(A, this.locale));
|
|
3393
3371
|
var f = {
|
|
3394
3372
|
type: ne.dateTime,
|
|
3395
3373
|
pattern: S,
|
|
3396
3374
|
location: u.styleLocation,
|
|
3397
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3375
|
+
parsedOptions: this.shouldParseSkeletons ? li(S) : {}
|
|
3398
3376
|
}, b = s === "date" ? I.date : I.time;
|
|
3399
3377
|
return {
|
|
3400
3378
|
val: { type: b, value: n, location: v, style: f },
|
|
@@ -3440,7 +3418,7 @@ var Oi = (
|
|
|
3440
3418
|
val: {
|
|
3441
3419
|
type: I.select,
|
|
3442
3420
|
value: n,
|
|
3443
|
-
options:
|
|
3421
|
+
options: Lt(X.val),
|
|
3444
3422
|
location: Q
|
|
3445
3423
|
},
|
|
3446
3424
|
err: null
|
|
@@ -3448,7 +3426,7 @@ var Oi = (
|
|
|
3448
3426
|
val: {
|
|
3449
3427
|
type: I.plural,
|
|
3450
3428
|
value: n,
|
|
3451
|
-
options:
|
|
3429
|
+
options: Lt(X.val),
|
|
3452
3430
|
offset: T,
|
|
3453
3431
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3454
3432
|
location: Q
|
|
@@ -3499,7 +3477,7 @@ var Oi = (
|
|
|
3499
3477
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3500
3478
|
var n = [];
|
|
3501
3479
|
try {
|
|
3502
|
-
n =
|
|
3480
|
+
n = hi(t);
|
|
3503
3481
|
} catch {
|
|
3504
3482
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3505
3483
|
}
|
|
@@ -3508,7 +3486,7 @@ var Oi = (
|
|
|
3508
3486
|
type: ne.number,
|
|
3509
3487
|
tokens: n,
|
|
3510
3488
|
location: r,
|
|
3511
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3489
|
+
parsedOptions: this.shouldParseSkeletons ? mi(n) : {}
|
|
3512
3490
|
},
|
|
3513
3491
|
err: null
|
|
3514
3492
|
};
|
|
@@ -3556,7 +3534,7 @@ var Oi = (
|
|
|
3556
3534
|
break;
|
|
3557
3535
|
}
|
|
3558
3536
|
var l = x(i, this.clonePosition());
|
|
3559
|
-
return o ? (a *= n,
|
|
3537
|
+
return o ? (a *= n, Ii(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3560
3538
|
}, e.prototype.offset = function() {
|
|
3561
3539
|
return this.position.offset;
|
|
3562
3540
|
}, e.prototype.isEOF = function() {
|
|
@@ -3571,7 +3549,7 @@ var Oi = (
|
|
|
3571
3549
|
var t = this.position.offset;
|
|
3572
3550
|
if (t >= this.message.length)
|
|
3573
3551
|
throw Error("out of bound");
|
|
3574
|
-
var r =
|
|
3552
|
+
var r = Ar(this.message, t);
|
|
3575
3553
|
if (r === void 0)
|
|
3576
3554
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3577
3555
|
return r;
|
|
@@ -3590,7 +3568,7 @@ var Oi = (
|
|
|
3590
3568
|
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);
|
|
3591
3569
|
}
|
|
3592
3570
|
}, e.prototype.bumpIf = function(t) {
|
|
3593
|
-
if (
|
|
3571
|
+
if (Ot(this.message, t, this.offset())) {
|
|
3594
3572
|
for (var r = 0; r < t.length; r++)
|
|
3595
3573
|
this.bump();
|
|
3596
3574
|
return !0;
|
|
@@ -3612,7 +3590,7 @@ var Oi = (
|
|
|
3612
3590
|
break;
|
|
3613
3591
|
}
|
|
3614
3592
|
}, e.prototype.bumpSpace = function() {
|
|
3615
|
-
for (; !this.isEOF() &&
|
|
3593
|
+
for (; !this.isEOF() && Pr(this.char()); )
|
|
3616
3594
|
this.bump();
|
|
3617
3595
|
}, e.prototype.peek = function() {
|
|
3618
3596
|
if (this.isEOF())
|
|
@@ -3622,38 +3600,38 @@ var Oi = (
|
|
|
3622
3600
|
}, e;
|
|
3623
3601
|
}()
|
|
3624
3602
|
);
|
|
3625
|
-
function
|
|
3603
|
+
function at(e) {
|
|
3626
3604
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3627
3605
|
}
|
|
3628
|
-
function
|
|
3629
|
-
return
|
|
3606
|
+
function Hi(e) {
|
|
3607
|
+
return at(e) || e === 47;
|
|
3630
3608
|
}
|
|
3631
|
-
function
|
|
3609
|
+
function Mi(e) {
|
|
3632
3610
|
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;
|
|
3633
3611
|
}
|
|
3634
|
-
function
|
|
3612
|
+
function Pr(e) {
|
|
3635
3613
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3636
3614
|
}
|
|
3637
|
-
function
|
|
3615
|
+
function Oi(e) {
|
|
3638
3616
|
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;
|
|
3639
3617
|
}
|
|
3640
|
-
function
|
|
3618
|
+
function st(e) {
|
|
3641
3619
|
e.forEach(function(t) {
|
|
3642
|
-
if (delete t.location,
|
|
3620
|
+
if (delete t.location, _r(t) || xr(t))
|
|
3643
3621
|
for (var r in t.options)
|
|
3644
|
-
delete t.options[r].location,
|
|
3622
|
+
delete t.options[r].location, st(t.options[r].value);
|
|
3645
3623
|
else
|
|
3646
|
-
|
|
3624
|
+
vr(t) && Er(t.style) || (br(t) || yr(t)) && rt(t.style) ? delete t.style.location : wr(t) && st(t.children);
|
|
3647
3625
|
});
|
|
3648
3626
|
}
|
|
3649
|
-
function
|
|
3627
|
+
function Li(e, t) {
|
|
3650
3628
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3651
|
-
var r = new
|
|
3629
|
+
var r = new Pi(e, t).parse();
|
|
3652
3630
|
if (r.err) {
|
|
3653
3631
|
var n = SyntaxError(_[r.err.kind]);
|
|
3654
3632
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3655
3633
|
}
|
|
3656
|
-
return t?.captureLocation ||
|
|
3634
|
+
return t?.captureLocation || st(r.val), r.val;
|
|
3657
3635
|
}
|
|
3658
3636
|
var ie;
|
|
3659
3637
|
(function(e) {
|
|
@@ -3671,7 +3649,7 @@ var Le = (
|
|
|
3671
3649
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3672
3650
|
}, t;
|
|
3673
3651
|
}(Error)
|
|
3674
|
-
),
|
|
3652
|
+
), Ft = (
|
|
3675
3653
|
/** @class */
|
|
3676
3654
|
function(e) {
|
|
3677
3655
|
k(t, e);
|
|
@@ -3680,7 +3658,7 @@ var Le = (
|
|
|
3680
3658
|
}
|
|
3681
3659
|
return t;
|
|
3682
3660
|
}(Le)
|
|
3683
|
-
),
|
|
3661
|
+
), Ci = (
|
|
3684
3662
|
/** @class */
|
|
3685
3663
|
function(e) {
|
|
3686
3664
|
k(t, e);
|
|
@@ -3689,7 +3667,7 @@ var Le = (
|
|
|
3689
3667
|
}
|
|
3690
3668
|
return t;
|
|
3691
3669
|
}(Le)
|
|
3692
|
-
),
|
|
3670
|
+
), Fi = (
|
|
3693
3671
|
/** @class */
|
|
3694
3672
|
function(e) {
|
|
3695
3673
|
k(t, e);
|
|
@@ -3702,17 +3680,17 @@ var Le = (
|
|
|
3702
3680
|
(function(e) {
|
|
3703
3681
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3704
3682
|
})(M || (M = {}));
|
|
3705
|
-
function
|
|
3683
|
+
function Ri(e) {
|
|
3706
3684
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3707
3685
|
var n = t[t.length - 1];
|
|
3708
3686
|
return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
|
|
3709
3687
|
}, []);
|
|
3710
3688
|
}
|
|
3711
|
-
function
|
|
3689
|
+
function Ui(e) {
|
|
3712
3690
|
return typeof e == "function";
|
|
3713
3691
|
}
|
|
3714
3692
|
function Ie(e, t, r, n, i, o, a) {
|
|
3715
|
-
if (e.length === 1 &&
|
|
3693
|
+
if (e.length === 1 && Tt(e[0]))
|
|
3716
3694
|
return [
|
|
3717
3695
|
{
|
|
3718
3696
|
type: M.literal,
|
|
@@ -3721,14 +3699,14 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3721
3699
|
];
|
|
3722
3700
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3723
3701
|
var h = u[l];
|
|
3724
|
-
if (
|
|
3702
|
+
if (Tt(h)) {
|
|
3725
3703
|
s.push({
|
|
3726
3704
|
type: M.literal,
|
|
3727
3705
|
value: h.value
|
|
3728
3706
|
});
|
|
3729
3707
|
continue;
|
|
3730
3708
|
}
|
|
3731
|
-
if (
|
|
3709
|
+
if (ai(h)) {
|
|
3732
3710
|
typeof o == "number" && s.push({
|
|
3733
3711
|
type: M.literal,
|
|
3734
3712
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3737,43 +3715,43 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3737
3715
|
}
|
|
3738
3716
|
var d = h.value;
|
|
3739
3717
|
if (!(i && d in i))
|
|
3740
|
-
throw new
|
|
3718
|
+
throw new Fi(d, a);
|
|
3741
3719
|
var f = i[d];
|
|
3742
|
-
if (
|
|
3720
|
+
if (oi(h)) {
|
|
3743
3721
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3744
3722
|
type: typeof f == "string" ? M.literal : M.object,
|
|
3745
3723
|
value: f
|
|
3746
3724
|
});
|
|
3747
3725
|
continue;
|
|
3748
3726
|
}
|
|
3749
|
-
if (
|
|
3750
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3727
|
+
if (br(h)) {
|
|
3728
|
+
var p = typeof h.style == "string" ? n.date[h.style] : rt(h.style) ? h.style.parsedOptions : void 0;
|
|
3751
3729
|
s.push({
|
|
3752
3730
|
type: M.literal,
|
|
3753
3731
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3754
3732
|
});
|
|
3755
3733
|
continue;
|
|
3756
3734
|
}
|
|
3757
|
-
if (
|
|
3758
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3735
|
+
if (yr(h)) {
|
|
3736
|
+
var p = typeof h.style == "string" ? n.time[h.style] : rt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3759
3737
|
s.push({
|
|
3760
3738
|
type: M.literal,
|
|
3761
3739
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3762
3740
|
});
|
|
3763
3741
|
continue;
|
|
3764
3742
|
}
|
|
3765
|
-
if (
|
|
3766
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3743
|
+
if (vr(h)) {
|
|
3744
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Er(h.style) ? h.style.parsedOptions : void 0;
|
|
3767
3745
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3768
3746
|
type: M.literal,
|
|
3769
3747
|
value: r.getNumberFormat(t, p).format(f)
|
|
3770
3748
|
});
|
|
3771
3749
|
continue;
|
|
3772
3750
|
}
|
|
3773
|
-
if (
|
|
3751
|
+
if (wr(h)) {
|
|
3774
3752
|
var g = h.children, v = h.value, A = i[v];
|
|
3775
|
-
if (
|
|
3776
|
-
throw new
|
|
3753
|
+
if (!Ui(A))
|
|
3754
|
+
throw new Ci(v, "function", a);
|
|
3777
3755
|
var S = Ie(g, t, r, n, i, o), b = A(S.map(function(T) {
|
|
3778
3756
|
return T.value;
|
|
3779
3757
|
}));
|
|
@@ -3784,14 +3762,14 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3784
3762
|
};
|
|
3785
3763
|
}));
|
|
3786
3764
|
}
|
|
3787
|
-
if (
|
|
3765
|
+
if (_r(h)) {
|
|
3788
3766
|
var N = h.options[f] || h.options.other;
|
|
3789
3767
|
if (!N)
|
|
3790
|
-
throw new
|
|
3768
|
+
throw new Ft(h.value, f, Object.keys(h.options), a);
|
|
3791
3769
|
s.push.apply(s, Ie(N.value, t, r, n, i));
|
|
3792
3770
|
continue;
|
|
3793
3771
|
}
|
|
3794
|
-
if (
|
|
3772
|
+
if (xr(h)) {
|
|
3795
3773
|
var N = h.options["=".concat(f)];
|
|
3796
3774
|
if (!N) {
|
|
3797
3775
|
if (!Intl.PluralRules)
|
|
@@ -3802,24 +3780,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3802
3780
|
N = h.options[E] || h.options.other;
|
|
3803
3781
|
}
|
|
3804
3782
|
if (!N)
|
|
3805
|
-
throw new
|
|
3783
|
+
throw new Ft(h.value, f, Object.keys(h.options), a);
|
|
3806
3784
|
s.push.apply(s, Ie(N.value, t, r, n, i, f - (h.offset || 0)));
|
|
3807
3785
|
continue;
|
|
3808
3786
|
}
|
|
3809
3787
|
}
|
|
3810
|
-
return
|
|
3788
|
+
return Ri(s);
|
|
3811
3789
|
}
|
|
3812
|
-
function
|
|
3790
|
+
function Di(e, t) {
|
|
3813
3791
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3814
3792
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3815
3793
|
}, {})) : e;
|
|
3816
3794
|
}
|
|
3817
|
-
function
|
|
3795
|
+
function Gi(e, t) {
|
|
3818
3796
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3819
|
-
return r[n] =
|
|
3797
|
+
return r[n] = Di(e[n], t[n]), r;
|
|
3820
3798
|
}, w({}, e)) : e;
|
|
3821
3799
|
}
|
|
3822
|
-
function
|
|
3800
|
+
function Xe(e) {
|
|
3823
3801
|
return {
|
|
3824
3802
|
create: function() {
|
|
3825
3803
|
return {
|
|
@@ -3833,39 +3811,39 @@ function ze(e) {
|
|
|
3833
3811
|
}
|
|
3834
3812
|
};
|
|
3835
3813
|
}
|
|
3836
|
-
function
|
|
3814
|
+
function $i(e) {
|
|
3837
3815
|
return e === void 0 && (e = {
|
|
3838
3816
|
number: {},
|
|
3839
3817
|
dateTime: {},
|
|
3840
3818
|
pluralRules: {}
|
|
3841
3819
|
}), {
|
|
3842
|
-
getNumberFormat:
|
|
3820
|
+
getNumberFormat: je(function() {
|
|
3843
3821
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3844
3822
|
r[n] = arguments[n];
|
|
3845
3823
|
return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], r, !1)))();
|
|
3846
3824
|
}, {
|
|
3847
|
-
cache:
|
|
3848
|
-
strategy:
|
|
3825
|
+
cache: Xe(e.number),
|
|
3826
|
+
strategy: We.variadic
|
|
3849
3827
|
}),
|
|
3850
|
-
getDateTimeFormat:
|
|
3828
|
+
getDateTimeFormat: je(function() {
|
|
3851
3829
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3852
3830
|
r[n] = arguments[n];
|
|
3853
3831
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], r, !1)))();
|
|
3854
3832
|
}, {
|
|
3855
|
-
cache:
|
|
3856
|
-
strategy:
|
|
3833
|
+
cache: Xe(e.dateTime),
|
|
3834
|
+
strategy: We.variadic
|
|
3857
3835
|
}),
|
|
3858
|
-
getPluralRules:
|
|
3836
|
+
getPluralRules: je(function() {
|
|
3859
3837
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3860
3838
|
r[n] = arguments[n];
|
|
3861
3839
|
return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], r, !1)))();
|
|
3862
3840
|
}, {
|
|
3863
|
-
cache:
|
|
3864
|
-
strategy:
|
|
3841
|
+
cache: Xe(e.pluralRules),
|
|
3842
|
+
strategy: We.variadic
|
|
3865
3843
|
})
|
|
3866
3844
|
};
|
|
3867
3845
|
}
|
|
3868
|
-
var
|
|
3846
|
+
var ki = (
|
|
3869
3847
|
/** @class */
|
|
3870
3848
|
function() {
|
|
3871
3849
|
function e(t, r, n, i) {
|
|
@@ -3897,13 +3875,13 @@ var Vi = (
|
|
|
3897
3875
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3898
3876
|
var a = i || {};
|
|
3899
3877
|
a.formatters;
|
|
3900
|
-
var s =
|
|
3878
|
+
var s = _n(a, ["formatters"]);
|
|
3901
3879
|
this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
|
|
3902
3880
|
} else
|
|
3903
3881
|
this.ast = t;
|
|
3904
3882
|
if (!Array.isArray(this.ast))
|
|
3905
3883
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3906
|
-
this.formats =
|
|
3884
|
+
this.formats = Gi(e.formats, n), this.formatters = i && i.formatters || $i(this.formatterCache);
|
|
3907
3885
|
}
|
|
3908
3886
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3909
3887
|
get: function() {
|
|
@@ -3916,7 +3894,7 @@ var Vi = (
|
|
|
3916
3894
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3917
3895
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3918
3896
|
}
|
|
3919
|
-
}, e.__parse =
|
|
3897
|
+
}, e.__parse = Li, e.formats = {
|
|
3920
3898
|
number: {
|
|
3921
3899
|
integer: {
|
|
3922
3900
|
maximumFractionDigits: 0
|
|
@@ -3977,7 +3955,7 @@ var Vi = (
|
|
|
3977
3955
|
}, e;
|
|
3978
3956
|
}()
|
|
3979
3957
|
);
|
|
3980
|
-
function
|
|
3958
|
+
function ji(e, t) {
|
|
3981
3959
|
if (t == null)
|
|
3982
3960
|
return;
|
|
3983
3961
|
if (t in e)
|
|
@@ -3998,92 +3976,92 @@ function Xi(e, t) {
|
|
|
3998
3976
|
n = void 0;
|
|
3999
3977
|
return n;
|
|
4000
3978
|
}
|
|
4001
|
-
const W = {},
|
|
3979
|
+
const W = {}, Wi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Hr = (e, t) => {
|
|
4002
3980
|
if (t == null)
|
|
4003
3981
|
return;
|
|
4004
3982
|
if (t in W && e in W[t])
|
|
4005
3983
|
return W[t][e];
|
|
4006
3984
|
const r = Ce(t);
|
|
4007
3985
|
for (let n = 0; n < r.length; n++) {
|
|
4008
|
-
const i = r[n], o =
|
|
3986
|
+
const i = r[n], o = Xi(i, e);
|
|
4009
3987
|
if (o)
|
|
4010
|
-
return
|
|
3988
|
+
return Wi(e, t, o);
|
|
4011
3989
|
}
|
|
4012
3990
|
};
|
|
4013
|
-
let
|
|
3991
|
+
let ft;
|
|
4014
3992
|
const be = Oe({});
|
|
4015
|
-
function
|
|
4016
|
-
return
|
|
3993
|
+
function Vi(e) {
|
|
3994
|
+
return ft[e] || null;
|
|
4017
3995
|
}
|
|
4018
|
-
function
|
|
4019
|
-
return e in
|
|
3996
|
+
function Mr(e) {
|
|
3997
|
+
return e in ft;
|
|
4020
3998
|
}
|
|
4021
|
-
function
|
|
4022
|
-
if (!
|
|
3999
|
+
function Xi(e, t) {
|
|
4000
|
+
if (!Mr(e))
|
|
4023
4001
|
return null;
|
|
4024
|
-
const r =
|
|
4025
|
-
return
|
|
4002
|
+
const r = Vi(e);
|
|
4003
|
+
return ji(r, t);
|
|
4026
4004
|
}
|
|
4027
|
-
function
|
|
4005
|
+
function zi(e) {
|
|
4028
4006
|
if (e == null)
|
|
4029
4007
|
return;
|
|
4030
4008
|
const t = Ce(e);
|
|
4031
4009
|
for (let r = 0; r < t.length; r++) {
|
|
4032
4010
|
const n = t[r];
|
|
4033
|
-
if (
|
|
4011
|
+
if (Mr(n))
|
|
4034
4012
|
return n;
|
|
4035
4013
|
}
|
|
4036
4014
|
}
|
|
4037
|
-
function
|
|
4038
|
-
delete W[e], be.update((r) => (r[e] =
|
|
4015
|
+
function Or(e, ...t) {
|
|
4016
|
+
delete W[e], be.update((r) => (r[e] = Jn.all([r[e] || {}, ...t]), r));
|
|
4039
4017
|
}
|
|
4040
4018
|
se(
|
|
4041
4019
|
[be],
|
|
4042
4020
|
([e]) => Object.keys(e)
|
|
4043
4021
|
);
|
|
4044
|
-
be.subscribe((e) =>
|
|
4022
|
+
be.subscribe((e) => ft = e);
|
|
4045
4023
|
const Be = {};
|
|
4046
|
-
function
|
|
4024
|
+
function Zi(e, t) {
|
|
4047
4025
|
Be[e].delete(t), Be[e].size === 0 && delete Be[e];
|
|
4048
4026
|
}
|
|
4049
|
-
function
|
|
4027
|
+
function Lr(e) {
|
|
4050
4028
|
return Be[e];
|
|
4051
4029
|
}
|
|
4052
|
-
function
|
|
4030
|
+
function Qi(e) {
|
|
4053
4031
|
return Ce(e).map((t) => {
|
|
4054
|
-
const r =
|
|
4032
|
+
const r = Lr(t);
|
|
4055
4033
|
return [t, r ? [...r] : []];
|
|
4056
4034
|
}).filter(([, t]) => t.length > 0);
|
|
4057
4035
|
}
|
|
4058
|
-
function
|
|
4036
|
+
function lt(e) {
|
|
4059
4037
|
return e == null ? !1 : Ce(e).some(
|
|
4060
4038
|
(t) => {
|
|
4061
4039
|
var r;
|
|
4062
|
-
return (r =
|
|
4040
|
+
return (r = Lr(t)) == null ? void 0 : r.size;
|
|
4063
4041
|
}
|
|
4064
4042
|
);
|
|
4065
4043
|
}
|
|
4066
|
-
function
|
|
4044
|
+
function Yi(e, t) {
|
|
4067
4045
|
return Promise.all(
|
|
4068
|
-
t.map((n) => (
|
|
4069
|
-
).then((n) =>
|
|
4046
|
+
t.map((n) => (Zi(e, n), n().then((i) => i.default || i)))
|
|
4047
|
+
).then((n) => Or(e, ...n));
|
|
4070
4048
|
}
|
|
4071
4049
|
const ce = {};
|
|
4072
|
-
function
|
|
4073
|
-
if (!
|
|
4050
|
+
function Cr(e) {
|
|
4051
|
+
if (!lt(e))
|
|
4074
4052
|
return e in ce ? ce[e] : Promise.resolve();
|
|
4075
|
-
const t =
|
|
4053
|
+
const t = Qi(e);
|
|
4076
4054
|
return ce[e] = Promise.all(
|
|
4077
4055
|
t.map(
|
|
4078
|
-
([r, n]) =>
|
|
4056
|
+
([r, n]) => Yi(r, n)
|
|
4079
4057
|
)
|
|
4080
4058
|
).then(() => {
|
|
4081
|
-
if (
|
|
4082
|
-
return
|
|
4059
|
+
if (lt(e))
|
|
4060
|
+
return Cr(e);
|
|
4083
4061
|
delete ce[e];
|
|
4084
4062
|
}), ce[e];
|
|
4085
4063
|
}
|
|
4086
|
-
const
|
|
4064
|
+
const Ji = {
|
|
4087
4065
|
number: {
|
|
4088
4066
|
scientific: { notation: "scientific" },
|
|
4089
4067
|
engineering: { notation: "engineering" },
|
|
@@ -4112,57 +4090,57 @@ const eo = {
|
|
|
4112
4090
|
timeZoneName: "short"
|
|
4113
4091
|
}
|
|
4114
4092
|
}
|
|
4115
|
-
},
|
|
4093
|
+
}, qi = {
|
|
4116
4094
|
fallbackLocale: null,
|
|
4117
4095
|
loadingDelay: 200,
|
|
4118
|
-
formats:
|
|
4096
|
+
formats: Ji,
|
|
4119
4097
|
warnOnMissingMessages: !0,
|
|
4120
4098
|
handleMissingMessage: void 0,
|
|
4121
4099
|
ignoreTag: !0
|
|
4122
|
-
},
|
|
4100
|
+
}, Ki = qi;
|
|
4123
4101
|
function oe() {
|
|
4124
|
-
return
|
|
4102
|
+
return Ki;
|
|
4125
4103
|
}
|
|
4126
|
-
const
|
|
4127
|
-
var
|
|
4104
|
+
const ze = Oe(!1);
|
|
4105
|
+
var eo = Object.defineProperty, to = Object.defineProperties, ro = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, no = Object.prototype.hasOwnProperty, io = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oo = (e, t) => {
|
|
4128
4106
|
for (var r in t || (t = {}))
|
|
4129
|
-
|
|
4130
|
-
if (
|
|
4131
|
-
for (var r of
|
|
4132
|
-
|
|
4107
|
+
no.call(t, r) && Ut(e, r, t[r]);
|
|
4108
|
+
if (Rt)
|
|
4109
|
+
for (var r of Rt(t))
|
|
4110
|
+
io.call(t, r) && Ut(e, r, t[r]);
|
|
4133
4111
|
return e;
|
|
4134
|
-
},
|
|
4135
|
-
let
|
|
4112
|
+
}, ao = (e, t) => to(e, ro(t));
|
|
4113
|
+
let ut;
|
|
4136
4114
|
const Te = Oe(null);
|
|
4137
|
-
function
|
|
4115
|
+
function Dt(e) {
|
|
4138
4116
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4139
4117
|
}
|
|
4140
4118
|
function Ce(e, t = oe().fallbackLocale) {
|
|
4141
|
-
const r =
|
|
4142
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4119
|
+
const r = Dt(e);
|
|
4120
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
|
|
4143
4121
|
}
|
|
4144
4122
|
function Z() {
|
|
4145
|
-
return
|
|
4123
|
+
return ut ?? void 0;
|
|
4146
4124
|
}
|
|
4147
4125
|
Te.subscribe((e) => {
|
|
4148
|
-
|
|
4126
|
+
ut = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4149
4127
|
});
|
|
4150
|
-
const
|
|
4151
|
-
if (e &&
|
|
4128
|
+
const so = (e) => {
|
|
4129
|
+
if (e && zi(e) && lt(e)) {
|
|
4152
4130
|
const { loadingDelay: t } = oe();
|
|
4153
4131
|
let r;
|
|
4154
4132
|
return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
|
|
4155
|
-
() =>
|
|
4133
|
+
() => ze.set(!0),
|
|
4156
4134
|
t
|
|
4157
|
-
) :
|
|
4135
|
+
) : ze.set(!0), Cr(e).then(() => {
|
|
4158
4136
|
Te.set(e);
|
|
4159
4137
|
}).finally(() => {
|
|
4160
|
-
clearTimeout(r),
|
|
4138
|
+
clearTimeout(r), ze.set(!1);
|
|
4161
4139
|
});
|
|
4162
4140
|
}
|
|
4163
4141
|
return Te.set(e);
|
|
4164
|
-
}, le =
|
|
4165
|
-
set:
|
|
4142
|
+
}, le = ao(oo({}, Te), {
|
|
4143
|
+
set: so
|
|
4166
4144
|
}), Fe = (e) => {
|
|
4167
4145
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4168
4146
|
return (n) => {
|
|
@@ -4170,20 +4148,20 @@ const ho = (e) => {
|
|
|
4170
4148
|
return i in t ? t[i] : t[i] = e(n);
|
|
4171
4149
|
};
|
|
4172
4150
|
};
|
|
4173
|
-
var
|
|
4151
|
+
var lo = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Fr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
|
|
4174
4152
|
for (var r in t || (t = {}))
|
|
4175
|
-
|
|
4176
|
-
if (
|
|
4177
|
-
for (var r of
|
|
4178
|
-
|
|
4153
|
+
Fr.call(t, r) && Gt(e, r, t[r]);
|
|
4154
|
+
if (Pe)
|
|
4155
|
+
for (var r of Pe(t))
|
|
4156
|
+
Rr.call(t, r) && Gt(e, r, t[r]);
|
|
4179
4157
|
return e;
|
|
4180
4158
|
}, ue = (e, t) => {
|
|
4181
4159
|
var r = {};
|
|
4182
4160
|
for (var n in e)
|
|
4183
|
-
|
|
4184
|
-
if (e != null &&
|
|
4185
|
-
for (var n of
|
|
4186
|
-
t.indexOf(n) < 0 &&
|
|
4161
|
+
Fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4162
|
+
if (e != null && Pe)
|
|
4163
|
+
for (var n of Pe(e))
|
|
4164
|
+
t.indexOf(n) < 0 && Rr.call(e, n) && (r[n] = e[n]);
|
|
4187
4165
|
return r;
|
|
4188
4166
|
};
|
|
4189
4167
|
const ge = (e, t) => {
|
|
@@ -4191,21 +4169,21 @@ const ge = (e, t) => {
|
|
|
4191
4169
|
if (e in r && t in r[e])
|
|
4192
4170
|
return r[e][t];
|
|
4193
4171
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4194
|
-
},
|
|
4172
|
+
}, uo = Fe(
|
|
4195
4173
|
(e) => {
|
|
4196
4174
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4197
4175
|
if (r == null)
|
|
4198
4176
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4199
4177
|
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
4200
4178
|
}
|
|
4201
|
-
),
|
|
4179
|
+
), ho = Fe(
|
|
4202
4180
|
(e) => {
|
|
4203
4181
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4204
4182
|
if (r == null)
|
|
4205
4183
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4206
4184
|
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4207
4185
|
}
|
|
4208
|
-
),
|
|
4186
|
+
), co = Fe(
|
|
4209
4187
|
(e) => {
|
|
4210
4188
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4211
4189
|
if (r == null)
|
|
@@ -4214,33 +4192,33 @@ const ge = (e, t) => {
|
|
|
4214
4192
|
);
|
|
4215
4193
|
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4216
4194
|
}
|
|
4217
|
-
),
|
|
4195
|
+
), fo = (e = {}) => {
|
|
4218
4196
|
var t = e, {
|
|
4219
4197
|
locale: r = Z()
|
|
4220
4198
|
} = t, n = ue(t, [
|
|
4221
4199
|
"locale"
|
|
4222
4200
|
]);
|
|
4223
|
-
return
|
|
4224
|
-
},
|
|
4201
|
+
return uo(dt({ locale: r }, n));
|
|
4202
|
+
}, mo = (e = {}) => {
|
|
4225
4203
|
var t = e, {
|
|
4226
4204
|
locale: r = Z()
|
|
4227
4205
|
} = t, n = ue(t, [
|
|
4228
4206
|
"locale"
|
|
4229
4207
|
]);
|
|
4230
|
-
return
|
|
4231
|
-
},
|
|
4208
|
+
return ho(dt({ locale: r }, n));
|
|
4209
|
+
}, po = (e = {}) => {
|
|
4232
4210
|
var t = e, {
|
|
4233
4211
|
locale: r = Z()
|
|
4234
4212
|
} = t, n = ue(t, [
|
|
4235
4213
|
"locale"
|
|
4236
4214
|
]);
|
|
4237
|
-
return
|
|
4238
|
-
},
|
|
4215
|
+
return co(dt({ locale: r }, n));
|
|
4216
|
+
}, go = Fe(
|
|
4239
4217
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4240
|
-
(e, t = Z()) => new
|
|
4218
|
+
(e, t = Z()) => new ki(e, t, oe().formats, {
|
|
4241
4219
|
ignoreTag: oe().ignoreTag
|
|
4242
4220
|
})
|
|
4243
|
-
),
|
|
4221
|
+
), vo = (e, t = {}) => {
|
|
4244
4222
|
var r, n, i, o;
|
|
4245
4223
|
let a = t;
|
|
4246
4224
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4253,7 +4231,7 @@ const ge = (e, t) => {
|
|
|
4253
4231
|
throw new Error(
|
|
4254
4232
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4255
4233
|
);
|
|
4256
|
-
let h =
|
|
4234
|
+
let h = Hr(e, l);
|
|
4257
4235
|
if (!h)
|
|
4258
4236
|
h = (o = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4259
4237
|
else if (typeof h != "string")
|
|
@@ -4264,7 +4242,7 @@ const ge = (e, t) => {
|
|
|
4264
4242
|
return h;
|
|
4265
4243
|
let d = h;
|
|
4266
4244
|
try {
|
|
4267
|
-
d =
|
|
4245
|
+
d = go(h, l).format(s);
|
|
4268
4246
|
} catch (f) {
|
|
4269
4247
|
f instanceof Error && console.warn(
|
|
4270
4248
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4272,20 +4250,20 @@ const ge = (e, t) => {
|
|
|
4272
4250
|
);
|
|
4273
4251
|
}
|
|
4274
4252
|
return d;
|
|
4275
|
-
},
|
|
4276
|
-
se([le], () =>
|
|
4277
|
-
se([le], () =>
|
|
4278
|
-
se([le], () =>
|
|
4279
|
-
se([le, be], () =>
|
|
4280
|
-
window.emWidgets = { topic:
|
|
4281
|
-
const
|
|
4282
|
-
function
|
|
4283
|
-
|
|
4284
|
-
}
|
|
4285
|
-
function
|
|
4253
|
+
}, bo = (e, t) => po(t).format(e), yo = (e, t) => mo(t).format(e), _o = (e, t) => fo(t).format(e), xo = (e, t = Z()) => Hr(e, t), wo = se([le, be], () => vo);
|
|
4254
|
+
se([le], () => bo);
|
|
4255
|
+
se([le], () => yo);
|
|
4256
|
+
se([le], () => _o);
|
|
4257
|
+
se([le, be], () => xo);
|
|
4258
|
+
window.emWidgets = { topic: Ln };
|
|
4259
|
+
const $t = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4260
|
+
function kt(e, t) {
|
|
4261
|
+
Or(e, t);
|
|
4262
|
+
}
|
|
4263
|
+
function Eo(e) {
|
|
4286
4264
|
le.set(e);
|
|
4287
4265
|
}
|
|
4288
|
-
const
|
|
4266
|
+
const jt = {
|
|
4289
4267
|
en: {
|
|
4290
4268
|
secondaryMenuTitle: "Categories"
|
|
4291
4269
|
},
|
|
@@ -4320,13 +4298,13 @@ const Xt = {
|
|
|
4320
4298
|
secondaryMenuTitle: "Categories"
|
|
4321
4299
|
}
|
|
4322
4300
|
};
|
|
4323
|
-
function
|
|
4301
|
+
function No(e, t) {
|
|
4324
4302
|
if (e) {
|
|
4325
4303
|
const r = document.createElement("style");
|
|
4326
4304
|
r.innerHTML = t, e.appendChild(r);
|
|
4327
4305
|
}
|
|
4328
4306
|
}
|
|
4329
|
-
function
|
|
4307
|
+
function So(e, t) {
|
|
4330
4308
|
const r = new URL(t);
|
|
4331
4309
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4332
4310
|
const i = document.createElement("style");
|
|
@@ -4335,7 +4313,7 @@ function Ao(e, t) {
|
|
|
4335
4313
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4336
4314
|
});
|
|
4337
4315
|
}
|
|
4338
|
-
function
|
|
4316
|
+
function Io(e, t, r) {
|
|
4339
4317
|
if (window.emMessageBus) {
|
|
4340
4318
|
const n = document.createElement("style");
|
|
4341
4319
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4343,28 +4321,28 @@ function To(e, t, r) {
|
|
|
4343
4321
|
});
|
|
4344
4322
|
}
|
|
4345
4323
|
}
|
|
4346
|
-
function
|
|
4347
|
-
|
|
4324
|
+
function Bo(e) {
|
|
4325
|
+
en(e, "svelte-4cf7h3", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%;height:100px}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #D0046C);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
|
|
4348
4326
|
}
|
|
4349
|
-
function
|
|
4327
|
+
function Wt(e, t, r) {
|
|
4350
4328
|
const n = e.slice();
|
|
4351
4329
|
return n[44] = t[r], n[46] = r, n;
|
|
4352
4330
|
}
|
|
4353
|
-
function
|
|
4331
|
+
function Vt(e, t, r) {
|
|
4354
4332
|
const n = e.slice();
|
|
4355
4333
|
return n[44] = t[r], n;
|
|
4356
4334
|
}
|
|
4357
|
-
const
|
|
4358
|
-
function
|
|
4335
|
+
const Ao = (e) => ({}), Xt = (e) => ({});
|
|
4336
|
+
function zt(e) {
|
|
4359
4337
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4360
|
-
e[6] &&
|
|
4338
|
+
e[6] && Zt(e), u = Ae(
|
|
4361
4339
|
/*primaryMenuSpliced*/
|
|
4362
4340
|
e[7]
|
|
4363
4341
|
), h = [];
|
|
4364
4342
|
for (let f = 0; f < u.length; f += 1)
|
|
4365
|
-
h[f] =
|
|
4343
|
+
h[f] = qt(Wt(e, u, f));
|
|
4366
4344
|
let d = !/*navigationBarSimple*/
|
|
4367
|
-
e[6] &&
|
|
4345
|
+
e[6] && Kt(e);
|
|
4368
4346
|
return {
|
|
4369
4347
|
c() {
|
|
4370
4348
|
t = B("div"), l && l.c(), r = $(), n = B("div");
|
|
@@ -4384,10 +4362,10 @@ function Yt(e) {
|
|
|
4384
4362
|
},
|
|
4385
4363
|
p(f, p) {
|
|
4386
4364
|
if (/*navigationBarSimple*/
|
|
4387
|
-
f[6] ? l && (
|
|
4365
|
+
f[6] ? l && (or(), me(l, 1, 1, () => {
|
|
4388
4366
|
l = null;
|
|
4389
|
-
}),
|
|
4390
|
-
64 && V(l, 1)) : (l =
|
|
4367
|
+
}), ar()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
|
|
4368
|
+
64 && V(l, 1)) : (l = Zt(f), l.c(), V(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
|
|
4391
4369
|
32928) {
|
|
4392
4370
|
u = Ae(
|
|
4393
4371
|
/*primaryMenuSpliced*/
|
|
@@ -4395,15 +4373,15 @@ function Yt(e) {
|
|
|
4395
4373
|
);
|
|
4396
4374
|
let g;
|
|
4397
4375
|
for (g = 0; g < u.length; g += 1) {
|
|
4398
|
-
const v =
|
|
4399
|
-
h[g] ? h[g].p(v, p) : (h[g] =
|
|
4376
|
+
const v = Wt(f, u, g);
|
|
4377
|
+
h[g] ? h[g].p(v, p) : (h[g] = qt(v), h[g].c(), h[g].m(n, i));
|
|
4400
4378
|
}
|
|
4401
4379
|
for (; g < h.length; g += 1)
|
|
4402
4380
|
h[g].d(1);
|
|
4403
4381
|
h.length = u.length;
|
|
4404
4382
|
}
|
|
4405
4383
|
/*navigationBarSimple*/
|
|
4406
|
-
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d =
|
|
4384
|
+
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = Kt(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4407
4385
|
80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4408
4386
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4409
4387
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
@@ -4418,11 +4396,11 @@ function Yt(e) {
|
|
|
4418
4396
|
me(l), s = !1;
|
|
4419
4397
|
},
|
|
4420
4398
|
d(f) {
|
|
4421
|
-
f && O(t), l && l.d(),
|
|
4399
|
+
f && O(t), l && l.d(), ir(h, f), d && d.d();
|
|
4422
4400
|
}
|
|
4423
4401
|
};
|
|
4424
4402
|
}
|
|
4425
|
-
function
|
|
4403
|
+
function Zt(e) {
|
|
4426
4404
|
let t, r, n, i, o = (
|
|
4427
4405
|
/*secondarymenutitle*/
|
|
4428
4406
|
(e[0] || /*$_*/
|
|
@@ -4431,19 +4409,19 @@ function Jt(e) {
|
|
|
4431
4409
|
const p = (
|
|
4432
4410
|
/*#slots*/
|
|
4433
4411
|
e[27].close
|
|
4434
|
-
), g =
|
|
4412
|
+
), g = Yr(
|
|
4435
4413
|
p,
|
|
4436
4414
|
e,
|
|
4437
4415
|
/*$$scope*/
|
|
4438
4416
|
e[26],
|
|
4439
|
-
|
|
4440
|
-
), v = g ||
|
|
4417
|
+
Xt
|
|
4418
|
+
), v = g || To();
|
|
4441
4419
|
let A = Ae(
|
|
4442
4420
|
/*secondaryMenu*/
|
|
4443
4421
|
e[8]
|
|
4444
4422
|
), S = [];
|
|
4445
4423
|
for (let b = 0; b < A.length; b += 1)
|
|
4446
|
-
S[b] =
|
|
4424
|
+
S[b] = Yt(Vt(e, A, b));
|
|
4447
4425
|
return {
|
|
4448
4426
|
c() {
|
|
4449
4427
|
t = B("div"), r = B("span"), v && v.c(), n = $(), i = B("h3"), a = ve(o), s = $(), l = B("div");
|
|
@@ -4456,7 +4434,7 @@ function Jt(e) {
|
|
|
4456
4434
|
L(b, t, N), y(t, r), v && v.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
|
|
4457
4435
|
for (let E = 0; E < S.length; E += 1)
|
|
4458
4436
|
S[E] && S[E].m(l, null);
|
|
4459
|
-
h = !0, d || (f =
|
|
4437
|
+
h = !0, d || (f = He(
|
|
4460
4438
|
r,
|
|
4461
4439
|
"click",
|
|
4462
4440
|
/*navigationWindowToggle*/
|
|
@@ -4465,27 +4443,27 @@ function Jt(e) {
|
|
|
4465
4443
|
},
|
|
4466
4444
|
p(b, N) {
|
|
4467
4445
|
if (g && g.p && (!h || N[0] & /*$$scope*/
|
|
4468
|
-
67108864) &&
|
|
4446
|
+
67108864) && qr(
|
|
4469
4447
|
g,
|
|
4470
4448
|
p,
|
|
4471
4449
|
b,
|
|
4472
4450
|
/*$$scope*/
|
|
4473
4451
|
b[26],
|
|
4474
|
-
h ?
|
|
4452
|
+
h ? Jr(
|
|
4475
4453
|
p,
|
|
4476
4454
|
/*$$scope*/
|
|
4477
4455
|
b[26],
|
|
4478
4456
|
N,
|
|
4479
|
-
|
|
4480
|
-
) :
|
|
4457
|
+
Ao
|
|
4458
|
+
) : Kr(
|
|
4481
4459
|
/*$$scope*/
|
|
4482
4460
|
b[26]
|
|
4483
4461
|
),
|
|
4484
|
-
|
|
4462
|
+
Xt
|
|
4485
4463
|
), (!h || N[0] & /*secondarymenutitle, $_*/
|
|
4486
4464
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4487
4465
|
(b[0] || /*$_*/
|
|
4488
|
-
b[12]("secondaryMenuTitle")) + "") &&
|
|
4466
|
+
b[12]("secondaryMenuTitle")) + "") && ct(a, o), N[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4489
4467
|
33056) {
|
|
4490
4468
|
A = Ae(
|
|
4491
4469
|
/*secondaryMenu*/
|
|
@@ -4493,8 +4471,8 @@ function Jt(e) {
|
|
|
4493
4471
|
);
|
|
4494
4472
|
let E;
|
|
4495
4473
|
for (E = 0; E < A.length; E += 1) {
|
|
4496
|
-
const T =
|
|
4497
|
-
S[E] ? S[E].p(T, N) : (S[E] =
|
|
4474
|
+
const T = Vt(b, A, E);
|
|
4475
|
+
S[E] ? S[E].p(T, N) : (S[E] = Yt(T), S[E].c(), S[E].m(l, null));
|
|
4498
4476
|
}
|
|
4499
4477
|
for (; E < S.length; E += 1)
|
|
4500
4478
|
S[E].d(1);
|
|
@@ -4511,15 +4489,15 @@ function Jt(e) {
|
|
|
4511
4489
|
me(v, b), h = !1;
|
|
4512
4490
|
},
|
|
4513
4491
|
d(b) {
|
|
4514
|
-
b && O(t), v && v.d(b),
|
|
4492
|
+
b && O(t), v && v.d(b), ir(S, b), d = !1, f();
|
|
4515
4493
|
}
|
|
4516
4494
|
};
|
|
4517
4495
|
}
|
|
4518
|
-
function
|
|
4496
|
+
function To(e) {
|
|
4519
4497
|
let t, r;
|
|
4520
4498
|
return {
|
|
4521
4499
|
c() {
|
|
4522
|
-
t =
|
|
4500
|
+
t = H("svg"), r = H("path"), c(r, "part", "ModalCloseBtnPath"), c(r, "stroke-linecap", "round"), c(r, "stroke-linejoin", "round"), c(r, "stroke-width", "2"), c(r, "d", "M6 18L18 6M6 6l12 12"), c(t, "class", "w-6 h-6"), c(t, "part", "w-6 h-6"), c(t, "fill", "none"), c(t, "stroke", "currentColor"), c(t, "viewBox", "0 0 24 24"), c(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4523
4501
|
},
|
|
4524
4502
|
m(n, i) {
|
|
4525
4503
|
L(n, t, i), y(t, r);
|
|
@@ -4530,7 +4508,7 @@ function Mo(e) {
|
|
|
4530
4508
|
}
|
|
4531
4509
|
};
|
|
4532
4510
|
}
|
|
4533
|
-
function
|
|
4511
|
+
function Qt(e) {
|
|
4534
4512
|
let t, r, n, i;
|
|
4535
4513
|
return {
|
|
4536
4514
|
c() {
|
|
@@ -4553,13 +4531,13 @@ function qt(e) {
|
|
|
4553
4531
|
}
|
|
4554
4532
|
};
|
|
4555
4533
|
}
|
|
4556
|
-
function
|
|
4534
|
+
function Yt(e) {
|
|
4557
4535
|
let t, r, n, i = (
|
|
4558
4536
|
/*item*/
|
|
4559
4537
|
e[44].label + ""
|
|
4560
4538
|
), o, a, s, l, u, h = (
|
|
4561
4539
|
/*item*/
|
|
4562
|
-
e[44].img &&
|
|
4540
|
+
e[44].img && Qt(e)
|
|
4563
4541
|
);
|
|
4564
4542
|
function d() {
|
|
4565
4543
|
return (
|
|
@@ -4577,13 +4555,13 @@ function Kt(e) {
|
|
|
4577
4555
|
e[44].id ? "ActiveItem" : ""));
|
|
4578
4556
|
},
|
|
4579
4557
|
m(f, p) {
|
|
4580
|
-
L(f, t, p), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u =
|
|
4558
|
+
L(f, t, p), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u = He(t, "click", d), l = !0);
|
|
4581
4559
|
},
|
|
4582
4560
|
p(f, p) {
|
|
4583
4561
|
e = f, /*item*/
|
|
4584
|
-
e[44].img ? h ? h.p(e, p) : (h =
|
|
4562
|
+
e[44].img ? h ? h.p(e, p) : (h = Qt(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
|
|
4585
4563
|
256 && i !== (i = /*item*/
|
|
4586
|
-
e[44].label + "") &&
|
|
4564
|
+
e[44].label + "") && ct(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4587
4565
|
288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4588
4566
|
(e[5] === /*item*/
|
|
4589
4567
|
e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
|
|
@@ -4593,7 +4571,7 @@ function Kt(e) {
|
|
|
4593
4571
|
}
|
|
4594
4572
|
};
|
|
4595
4573
|
}
|
|
4596
|
-
function
|
|
4574
|
+
function Jt(e) {
|
|
4597
4575
|
let t, r, n, i;
|
|
4598
4576
|
return {
|
|
4599
4577
|
c() {
|
|
@@ -4616,13 +4594,13 @@ function er(e) {
|
|
|
4616
4594
|
}
|
|
4617
4595
|
};
|
|
4618
4596
|
}
|
|
4619
|
-
function
|
|
4597
|
+
function qt(e) {
|
|
4620
4598
|
let t, r, n, i = (
|
|
4621
4599
|
/*item*/
|
|
4622
4600
|
e[44].label + ""
|
|
4623
4601
|
), o, a, s, l, u = (
|
|
4624
4602
|
/*item*/
|
|
4625
|
-
e[44].img &&
|
|
4603
|
+
e[44].img && Jt(e)
|
|
4626
4604
|
);
|
|
4627
4605
|
function h() {
|
|
4628
4606
|
return (
|
|
@@ -4641,13 +4619,13 @@ function tr(e) {
|
|
|
4641
4619
|
e[44].id ? "ActiveItem" : ""));
|
|
4642
4620
|
},
|
|
4643
4621
|
m(d, f) {
|
|
4644
|
-
L(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l =
|
|
4622
|
+
L(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l = He(t, "click", h), s = !0);
|
|
4645
4623
|
},
|
|
4646
4624
|
p(d, f) {
|
|
4647
4625
|
e = d, /*item*/
|
|
4648
|
-
e[44].img ? u ? u.p(e, f) : (u =
|
|
4626
|
+
e[44].img ? u ? u.p(e, f) : (u = Jt(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
|
|
4649
4627
|
128 && i !== (i = /*item*/
|
|
4650
|
-
e[44].label + "") &&
|
|
4628
|
+
e[44].label + "") && ct(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
|
|
4651
4629
|
160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4652
4630
|
e[46] + " " + /*activeMenuItemId*/
|
|
4653
4631
|
(e[5] === /*item*/
|
|
@@ -4658,12 +4636,12 @@ function tr(e) {
|
|
|
4658
4636
|
}
|
|
4659
4637
|
};
|
|
4660
4638
|
}
|
|
4661
|
-
function
|
|
4639
|
+
function Kt(e) {
|
|
4662
4640
|
let t, r, n, i, o;
|
|
4663
4641
|
function a(u, h) {
|
|
4664
4642
|
return (
|
|
4665
4643
|
/*isFlowerMenu*/
|
|
4666
|
-
u[11] ?
|
|
4644
|
+
u[11] ? Po : Ho
|
|
4667
4645
|
);
|
|
4668
4646
|
}
|
|
4669
4647
|
let s = a(e), l = s(e);
|
|
@@ -4673,7 +4651,7 @@ function rr(e) {
|
|
|
4673
4651
|
(e[4] ? "NavigationButtonActive" : ""));
|
|
4674
4652
|
},
|
|
4675
4653
|
m(u, h) {
|
|
4676
|
-
L(u, t, h), y(t, r), l.m(r, null), i || (o =
|
|
4654
|
+
L(u, t, h), y(t, r), l.m(r, null), i || (o = He(
|
|
4677
4655
|
t,
|
|
4678
4656
|
"click",
|
|
4679
4657
|
/*navigationWindowToggle*/
|
|
@@ -4690,7 +4668,7 @@ function rr(e) {
|
|
|
4690
4668
|
}
|
|
4691
4669
|
};
|
|
4692
4670
|
}
|
|
4693
|
-
function
|
|
4671
|
+
function Po(e) {
|
|
4694
4672
|
let t, r, n, i, o, a, s;
|
|
4695
4673
|
return {
|
|
4696
4674
|
c() {
|
|
@@ -4710,18 +4688,18 @@ function Oo(e) {
|
|
|
4710
4688
|
}
|
|
4711
4689
|
};
|
|
4712
4690
|
}
|
|
4713
|
-
function
|
|
4691
|
+
function Ho(e) {
|
|
4714
4692
|
let t;
|
|
4715
4693
|
function r(o, a) {
|
|
4716
4694
|
return (
|
|
4717
4695
|
/*imageIconUrl*/
|
|
4718
|
-
o[9] ?
|
|
4696
|
+
o[9] ? Oo : Mo
|
|
4719
4697
|
);
|
|
4720
4698
|
}
|
|
4721
4699
|
let n = r(e), i = n(e);
|
|
4722
4700
|
return {
|
|
4723
4701
|
c() {
|
|
4724
|
-
i.c(), t =
|
|
4702
|
+
i.c(), t = nn();
|
|
4725
4703
|
},
|
|
4726
4704
|
m(o, a) {
|
|
4727
4705
|
i.m(o, a), L(o, t, a);
|
|
@@ -4734,11 +4712,11 @@ function Lo(e) {
|
|
|
4734
4712
|
}
|
|
4735
4713
|
};
|
|
4736
4714
|
}
|
|
4737
|
-
function
|
|
4715
|
+
function Mo(e) {
|
|
4738
4716
|
let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
|
|
4739
4717
|
return {
|
|
4740
4718
|
c() {
|
|
4741
|
-
t =
|
|
4719
|
+
t = H("svg"), r = H("g"), n = H("g"), i = H("rect"), o = H("rect"), a = H("g"), s = H("rect"), l = H("rect"), u = H("g"), h = H("rect"), d = H("rect"), f = H("g"), p = H("rect"), g = H("rect"), c(i, "class", "b"), c(i, "part", "b"), c(i, "width", "10"), c(i, "height", "10"), c(i, "rx", "2"), c(o, "class", "c"), c(o, "part", "c"), c(o, "x", "0.5"), c(o, "y", "0.5"), c(o, "width", "9"), c(o, "height", "9"), c(o, "rx", "1.5"), c(n, "class", "a"), c(n, "part", "a"), c(n, "transform", "translate(150 514)"), c(s, "class", "b"), c(s, "part", "b"), c(s, "width", "10"), c(s, "height", "10"), c(s, "rx", "2"), c(l, "class", "c"), c(l, "part", "c"), c(l, "x", "0.5"), c(l, "y", "0.5"), c(l, "width", "9"), c(l, "height", "9"), c(l, "rx", "1.5"), c(a, "class", "a"), c(a, "part", "a"), c(a, "transform", "translate(161 514)"), c(h, "class", "b"), c(h, "part", "b"), c(h, "width", "10"), c(h, "height", "10"), c(h, "rx", "2"), c(d, "class", "c"), c(d, "part", "c"), c(d, "x", "0.5"), c(d, "y", "0.5"), c(d, "width", "9"), c(d, "height", "9"), c(d, "rx", "1.5"), c(u, "class", "a"), c(u, "part", "a"), c(u, "transform", "translate(161 525)"), c(p, "class", "b"), c(p, "part", "b"), c(p, "width", "10"), c(p, "height", "10"), c(p, "rx", "2"), c(g, "class", "c"), c(g, "part", "c"), c(g, "x", "0.5"), c(g, "y", "0.5"), c(g, "width", "9"), c(g, "height", "9"), c(g, "rx", "1.5"), c(f, "class", "a"), c(f, "part", "a"), c(f, "transform", "translate(150 525)"), c(r, "transform", "translate(-150 -514)"), c(t, "class", "middleIcon"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "21"), c(t, "height", "21"), c(t, "viewBox", "0 0 21 21");
|
|
4742
4720
|
},
|
|
4743
4721
|
m(v, A) {
|
|
4744
4722
|
L(v, t, A), y(t, r), y(r, n), y(n, i), y(n, o), y(r, a), y(a, s), y(a, l), y(r, u), y(u, h), y(u, d), y(r, f), y(f, p), y(f, g);
|
|
@@ -4749,7 +4727,7 @@ function Co(e) {
|
|
|
4749
4727
|
}
|
|
4750
4728
|
};
|
|
4751
4729
|
}
|
|
4752
|
-
function
|
|
4730
|
+
function Oo(e) {
|
|
4753
4731
|
let t, r;
|
|
4754
4732
|
return {
|
|
4755
4733
|
c() {
|
|
@@ -4780,11 +4758,11 @@ function Fo(e) {
|
|
|
4780
4758
|
}
|
|
4781
4759
|
};
|
|
4782
4760
|
}
|
|
4783
|
-
function
|
|
4761
|
+
function Lo(e) {
|
|
4784
4762
|
let t, r, n, i = !/*isLoading*/
|
|
4785
4763
|
e[1] && /*isMobile*/
|
|
4786
4764
|
e[13] && /*showNavigation*/
|
|
4787
|
-
e[3] &&
|
|
4765
|
+
e[3] && zt(e);
|
|
4788
4766
|
return {
|
|
4789
4767
|
c() {
|
|
4790
4768
|
t = B("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
@@ -4799,9 +4777,9 @@ function Ro(e) {
|
|
|
4799
4777
|
o[1] && /*isMobile*/
|
|
4800
4778
|
o[13] && /*showNavigation*/
|
|
4801
4779
|
o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4802
|
-
10 && V(i, 1)) : (i =
|
|
4780
|
+
10 && V(i, 1)) : (i = zt(o), i.c(), V(i, 1), i.m(t, null)) : i && (or(), me(i, 1, 1, () => {
|
|
4803
4781
|
i = null;
|
|
4804
|
-
}),
|
|
4782
|
+
}), ar()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4805
4783
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4806
4784
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4807
4785
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
@@ -4817,23 +4795,23 @@ function Ro(e) {
|
|
|
4817
4795
|
}
|
|
4818
4796
|
};
|
|
4819
4797
|
}
|
|
4820
|
-
function
|
|
4798
|
+
function Co(e, t, r) {
|
|
4821
4799
|
let n;
|
|
4822
|
-
|
|
4823
|
-
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: g = "" } = t, { activecategory: v = "" } = t, { flowermenustyle: A = "false" } = t, S = window.navigator.userAgent, b =
|
|
4824
|
-
const
|
|
4825
|
-
fetch(g).then((
|
|
4826
|
-
Object.keys(
|
|
4827
|
-
|
|
4800
|
+
Qr(e, wo, (m) => r(12, n = m));
|
|
4801
|
+
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: g = "" } = t, { activecategory: v = "" } = t, { flowermenustyle: A = "false" } = t, S = window.navigator.userAgent, b = $t(S) !== "PC", N = !0, E = !1, T = !1, X = "", Q = !1, Re = [], ye = [], j = [], D, mt = "", Ue = {}, pt, De = !1;
|
|
4802
|
+
const Ur = () => {
|
|
4803
|
+
fetch(g).then((P) => P.json()).then((P) => {
|
|
4804
|
+
Object.keys(P).forEach((C) => {
|
|
4805
|
+
kt(C, P[C]);
|
|
4828
4806
|
});
|
|
4829
|
-
}).catch((
|
|
4830
|
-
console.log(
|
|
4807
|
+
}).catch((P) => {
|
|
4808
|
+
console.log(P);
|
|
4831
4809
|
});
|
|
4832
4810
|
};
|
|
4833
|
-
Object.keys(
|
|
4834
|
-
|
|
4811
|
+
Object.keys(jt).forEach((m) => {
|
|
4812
|
+
kt(m, jt[m]);
|
|
4835
4813
|
});
|
|
4836
|
-
const
|
|
4814
|
+
const gt = (m) => {
|
|
4837
4815
|
if (m.data)
|
|
4838
4816
|
switch (m.data.type) {
|
|
4839
4817
|
case "PlayerAccountMenuActive":
|
|
@@ -4846,9 +4824,9 @@ function Uo(e, t, r) {
|
|
|
4846
4824
|
r(4, T = !1);
|
|
4847
4825
|
break;
|
|
4848
4826
|
}
|
|
4849
|
-
},
|
|
4827
|
+
}, Dr = () => {
|
|
4850
4828
|
r(11, De = A.toLowerCase() === "true");
|
|
4851
|
-
},
|
|
4829
|
+
}, Gr = () => {
|
|
4852
4830
|
r(4, T = !T), window.postMessage(
|
|
4853
4831
|
{
|
|
4854
4832
|
type: "MobileBottomNav",
|
|
@@ -4856,22 +4834,22 @@ function Uo(e, t, r) {
|
|
|
4856
4834
|
},
|
|
4857
4835
|
window.location.href
|
|
4858
4836
|
);
|
|
4859
|
-
},
|
|
4860
|
-
r(7, ye = []), r(7, ye = Q ? m.splice(0, 5) : m.splice(0, 4)), v &&
|
|
4861
|
-
},
|
|
4837
|
+
}, $r = (m) => {
|
|
4838
|
+
r(7, ye = []), r(7, ye = Q ? m.splice(0, 5) : m.splice(0, 4)), v && vt();
|
|
4839
|
+
}, kr = () => {
|
|
4862
4840
|
Ge(), r(1, N = !0);
|
|
4863
|
-
let m =
|
|
4864
|
-
|
|
4841
|
+
let m = $t(S), P = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
|
|
4842
|
+
P.searchParams.append("userRoles", h), m && P.searchParams.append("device", "mtWeb"), fetch(P.href).then((C) => C.json()).then((C) => {
|
|
4865
4843
|
Re = [], r(8, j = []), r(3, E = C.length > 0), C.forEach((U) => {
|
|
4866
|
-
Ue[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9,
|
|
4867
|
-
}), r(6, Q = j.length == 0), j.length >= 5 && De && r(8, j = j.splice(0, 5)),
|
|
4844
|
+
Ue[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9, mt = U?.img), r(8, j = U.children)) : Re.push(U);
|
|
4845
|
+
}), r(6, Q = j.length == 0), j.length >= 5 && De && r(8, j = j.splice(0, 5)), $r(Re), r(1, N = !1);
|
|
4868
4846
|
}).catch((C) => {
|
|
4869
4847
|
r(1, N = !1), console.error(C);
|
|
4870
4848
|
});
|
|
4871
|
-
},
|
|
4872
|
-
const
|
|
4873
|
-
|
|
4874
|
-
}, he = (m,
|
|
4849
|
+
}, vt = () => {
|
|
4850
|
+
const P = ye.concat(j).find((C) => C.path.includes(v));
|
|
4851
|
+
P && r(5, X = P.id);
|
|
4852
|
+
}, he = (m, P, C, U) => {
|
|
4875
4853
|
Ue[U] ? window.postMessage(
|
|
4876
4854
|
{
|
|
4877
4855
|
type: "MobileBottomNavigationEvent",
|
|
@@ -4882,7 +4860,7 @@ function Uo(e, t, r) {
|
|
|
4882
4860
|
{
|
|
4883
4861
|
type: "NavigateTo",
|
|
4884
4862
|
path: m,
|
|
4885
|
-
target:
|
|
4863
|
+
target: P || null,
|
|
4886
4864
|
externalLink: C || !1
|
|
4887
4865
|
},
|
|
4888
4866
|
window.location.href
|
|
@@ -4890,23 +4868,23 @@ function Uo(e, t, r) {
|
|
|
4890
4868
|
context: "MobileBottomNavigation",
|
|
4891
4869
|
menuItem: `${m}`
|
|
4892
4870
|
});
|
|
4893
|
-
},
|
|
4894
|
-
|
|
4871
|
+
}, jr = () => {
|
|
4872
|
+
Eo(s);
|
|
4895
4873
|
}, Ge = () => {
|
|
4896
|
-
r(10,
|
|
4897
|
-
},
|
|
4874
|
+
r(10, pt = b && window.innerHeight / window.innerWidth < 1);
|
|
4875
|
+
}, bt = () => {
|
|
4898
4876
|
T && r(4, T = !1);
|
|
4899
4877
|
};
|
|
4900
|
-
|
|
4901
|
-
window.removeEventListener("message",
|
|
4878
|
+
ln(() => (window.addEventListener("message", gt, !1), document.addEventListener("focusin", bt), b && window.screen.orientation.addEventListener("change", Ge), () => {
|
|
4879
|
+
window.removeEventListener("message", gt), document.removeEventListener("focusin", bt), b && window.screen.orientation.removeEventListener("change", Ge);
|
|
4902
4880
|
}));
|
|
4903
|
-
const
|
|
4881
|
+
const Wr = (m) => {
|
|
4904
4882
|
m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
|
|
4905
|
-
},
|
|
4883
|
+
}, Vr = (m) => {
|
|
4906
4884
|
m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
|
|
4907
4885
|
};
|
|
4908
|
-
function
|
|
4909
|
-
|
|
4886
|
+
function Xr(m) {
|
|
4887
|
+
Ze[m ? "unshift" : "push"](() => {
|
|
4910
4888
|
D = m, r(2, D);
|
|
4911
4889
|
});
|
|
4912
4890
|
}
|
|
@@ -4914,14 +4892,14 @@ function Uo(e, t, r) {
|
|
|
4914
4892
|
"cmsendpoint" in m && r(16, a = m.cmsendpoint), "lang" in m && r(17, s = m.lang), "env" in m && r(18, l = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(19, h = m.userroles), "mbsource" in m && r(20, d = m.mbsource), "clientstyling" in m && r(21, f = m.clientstyling), "clientstylingurl" in m && r(22, p = m.clientstylingurl), "translationurl" in m && r(23, g = m.translationurl), "activecategory" in m && r(24, v = m.activecategory), "flowermenustyle" in m && r(25, A = m.flowermenustyle), "$$scope" in m && r(26, o = m.$$scope);
|
|
4915
4893
|
}, e.$$.update = () => {
|
|
4916
4894
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4917
|
-
33554432 && A &&
|
|
4918
|
-
16777218 && v && !N &&
|
|
4919
|
-
131072 && s &&
|
|
4920
|
-
983040 && a && s && l && h &&
|
|
4921
|
-
2097156 && f && D &&
|
|
4922
|
-
4194308 && p && D &&
|
|
4923
|
-
1048580 && d && D &&
|
|
4924
|
-
8388608 && g &&
|
|
4895
|
+
33554432 && A && Dr(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4896
|
+
16777218 && v && !N && vt(), e.$$.dirty[0] & /*lang*/
|
|
4897
|
+
131072 && s && jr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4898
|
+
983040 && a && s && l && h && kr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4899
|
+
2097156 && f && D && No(D, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4900
|
+
4194308 && p && D && So(D, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4901
|
+
1048580 && d && D && Io(D, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4902
|
+
8388608 && g && Ur();
|
|
4925
4903
|
}, [
|
|
4926
4904
|
u,
|
|
4927
4905
|
N,
|
|
@@ -4932,12 +4910,12 @@ function Uo(e, t, r) {
|
|
|
4932
4910
|
Q,
|
|
4933
4911
|
ye,
|
|
4934
4912
|
j,
|
|
4935
|
-
|
|
4936
|
-
|
|
4913
|
+
mt,
|
|
4914
|
+
pt,
|
|
4937
4915
|
De,
|
|
4938
4916
|
n,
|
|
4939
4917
|
b,
|
|
4940
|
-
|
|
4918
|
+
Gr,
|
|
4941
4919
|
he,
|
|
4942
4920
|
a,
|
|
4943
4921
|
s,
|
|
@@ -4951,19 +4929,19 @@ function Uo(e, t, r) {
|
|
|
4951
4929
|
A,
|
|
4952
4930
|
o,
|
|
4953
4931
|
i,
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4932
|
+
Wr,
|
|
4933
|
+
Vr,
|
|
4934
|
+
Xr
|
|
4957
4935
|
];
|
|
4958
4936
|
}
|
|
4959
|
-
class
|
|
4937
|
+
class Fo extends bn {
|
|
4960
4938
|
constructor(t) {
|
|
4961
|
-
super(),
|
|
4939
|
+
super(), gn(
|
|
4962
4940
|
this,
|
|
4963
4941
|
t,
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4942
|
+
Co,
|
|
4943
|
+
Lo,
|
|
4944
|
+
tr,
|
|
4967
4945
|
{
|
|
4968
4946
|
cmsendpoint: 16,
|
|
4969
4947
|
lang: 17,
|
|
@@ -4977,7 +4955,7 @@ class Do extends wn {
|
|
|
4977
4955
|
activecategory: 24,
|
|
4978
4956
|
flowermenustyle: 25
|
|
4979
4957
|
},
|
|
4980
|
-
|
|
4958
|
+
Bo,
|
|
4981
4959
|
[-1, -1]
|
|
4982
4960
|
);
|
|
4983
4961
|
}
|
|
@@ -5048,7 +5026,7 @@ class Do extends wn {
|
|
|
5048
5026
|
this.$$set({ flowermenustyle: t }), F();
|
|
5049
5027
|
}
|
|
5050
5028
|
}
|
|
5051
|
-
|
|
5029
|
+
vn(Fo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
5052
5030
|
export {
|
|
5053
|
-
|
|
5031
|
+
Fo as G
|
|
5054
5032
|
};
|