@everymatrix/general-navigation-bar 1.61.0 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralNavigationBar-DilW-Iuz.js → GeneralNavigationBar-3urCZfeS.js} +596 -574
- package/components/GeneralNavigationBar-B3x1oUBX.cjs +18 -0
- package/components/{GeneralNavigationBar-BGRpCs8H.js → GeneralNavigationBar-DeJvrEma.js} +625 -603
- 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/stencil/index-b7bbd57e-6KaMTlNN.js +534 -0
- package/stencil/index-b7bbd57e-BSagye0B.js +550 -0
- package/stencil/index-b7bbd57e-DIQXXTTR.cjs +1 -0
- package/stencil/{ui-image-38c3c15f-ByZECnci.js → ui-image-38c3c15f-CumwWbNu.js} +1 -1
- package/stencil/{ui-image-38c3c15f-D_V48h1L.js → ui-image-38c3c15f-Dxl-aZb-.js} +1 -1
- package/stencil/{ui-image-38c3c15f-VguNkCIq.cjs → ui-image-38c3c15f-y5t5ZLG0.cjs} +1 -1
- package/stencil/{ui-image-BNrzgSpe.js → ui-image-BQa5UbqU.js} +2 -2
- package/stencil/{ui-image-CPH6BqjQ.js → ui-image-Bi4jDe3D.js} +2 -2
- package/stencil/{ui-image-CLghOqUz.cjs → ui-image-z441BZiX.cjs} +1 -1
- package/components/GeneralNavigationBar-6mYzJ1UA.cjs +0 -18
- package/stencil/index-b7bbd57e-BBUBsGhp.js +0 -550
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +0 -1
- package/stencil/index-b7bbd57e-wJC_uAuk.js +0 -534
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../stencil/ui-image-
|
|
1
|
+
import "../stencil/ui-image-BQa5UbqU.js";
|
|
2
2
|
function U() {
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function qr(e, t) {
|
|
5
5
|
for (const r in t)
|
|
6
6
|
e[r] = t[r];
|
|
7
7
|
return (
|
|
@@ -9,29 +9,29 @@ function Zr(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function ir(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Et() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
18
|
function se(e) {
|
|
19
|
-
e.forEach(
|
|
19
|
+
e.forEach(ir);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function ft(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function or(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
27
|
let xe;
|
|
28
28
|
function re(e, t) {
|
|
29
29
|
return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function Kr(e) {
|
|
32
32
|
return Object.keys(e).length === 0;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function ar(e, ...t) {
|
|
35
35
|
if (e == null) {
|
|
36
36
|
for (const n of t)
|
|
37
37
|
n(void 0);
|
|
@@ -40,19 +40,19 @@ function nr(e, ...t) {
|
|
|
40
40
|
const r = e.subscribe(...t);
|
|
41
41
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
e.$$.on_destroy.push(
|
|
43
|
+
function en(e, t, r) {
|
|
44
|
+
e.$$.on_destroy.push(ar(t, r));
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function tn(e, t, r, n) {
|
|
47
47
|
if (e) {
|
|
48
|
-
const i =
|
|
48
|
+
const i = sr(e, t, r, n);
|
|
49
49
|
return e[0](i);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return e[1] && n ?
|
|
52
|
+
function sr(e, t, r, n) {
|
|
53
|
+
return e[1] && n ? qr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function rn(e, t, r, n) {
|
|
56
56
|
if (e[2] && n) {
|
|
57
57
|
const i = e[2](n(r));
|
|
58
58
|
if (t.dirty === void 0)
|
|
@@ -67,13 +67,13 @@ function qr(e, t, r, n) {
|
|
|
67
67
|
}
|
|
68
68
|
return t.dirty;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function nn(e, t, r, n, i, o) {
|
|
71
71
|
if (i) {
|
|
72
|
-
const a =
|
|
72
|
+
const a = sr(t, r, n, o);
|
|
73
73
|
e.p(a, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function on(e) {
|
|
77
77
|
if (e.ctx.length > 32) {
|
|
78
78
|
const t = [], r = e.ctx.length / 32;
|
|
79
79
|
for (let n = 0; n < r; n++)
|
|
@@ -85,14 +85,14 @@ function en(e) {
|
|
|
85
85
|
function y(e, t) {
|
|
86
86
|
e.appendChild(t);
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
const n =
|
|
88
|
+
function an(e, t, r) {
|
|
89
|
+
const n = sn(e);
|
|
90
90
|
if (!n.getElementById(t)) {
|
|
91
91
|
const i = B("style");
|
|
92
|
-
i.id = t, i.textContent = r,
|
|
92
|
+
i.id = t, i.textContent = r, ln(n, i);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function sn(e) {
|
|
96
96
|
if (!e)
|
|
97
97
|
return document;
|
|
98
98
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -102,7 +102,7 @@ function rn(e) {
|
|
|
102
102
|
t
|
|
103
103
|
) : e.ownerDocument;
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function ln(e, t) {
|
|
106
106
|
return y(
|
|
107
107
|
/** @type {Document} */
|
|
108
108
|
e.head || e,
|
|
@@ -115,14 +115,14 @@ function C(e, t, r) {
|
|
|
115
115
|
function L(e) {
|
|
116
116
|
e.parentNode && e.parentNode.removeChild(e);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function lr(e, t) {
|
|
119
119
|
for (let r = 0; r < e.length; r += 1)
|
|
120
120
|
e[r] && e[r].d(t);
|
|
121
121
|
}
|
|
122
122
|
function B(e) {
|
|
123
123
|
return document.createElement(e);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function P(e) {
|
|
126
126
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
127
127
|
}
|
|
128
128
|
function be(e) {
|
|
@@ -131,7 +131,7 @@ function be(e) {
|
|
|
131
131
|
function k() {
|
|
132
132
|
return be(" ");
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function un() {
|
|
135
135
|
return be("");
|
|
136
136
|
}
|
|
137
137
|
function Me(e, t, r, n) {
|
|
@@ -144,14 +144,14 @@ function M(e, t, r) {
|
|
|
144
144
|
const n = t.toLowerCase();
|
|
145
145
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : c(e, t, r);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function hn(e) {
|
|
148
148
|
return Array.from(e.childNodes);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function dt(e, t) {
|
|
151
151
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
152
152
|
t);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function cn(e) {
|
|
155
155
|
const t = {};
|
|
156
156
|
return e.childNodes.forEach(
|
|
157
157
|
/** @param {Element} node */
|
|
@@ -164,22 +164,22 @@ let me;
|
|
|
164
164
|
function de(e) {
|
|
165
165
|
me = e;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function fn() {
|
|
168
168
|
if (!me)
|
|
169
169
|
throw new Error("Function called outside component initialization");
|
|
170
170
|
return me;
|
|
171
171
|
}
|
|
172
|
-
function
|
|
173
|
-
|
|
172
|
+
function dn(e) {
|
|
173
|
+
fn().$$.on_mount.push(e);
|
|
174
174
|
}
|
|
175
|
-
const K = [],
|
|
175
|
+
const K = [], Ye = [];
|
|
176
176
|
let ee = [];
|
|
177
|
-
const
|
|
178
|
-
let
|
|
179
|
-
function
|
|
180
|
-
|
|
177
|
+
const Nt = [], mn = /* @__PURE__ */ Promise.resolve();
|
|
178
|
+
let Je = !1;
|
|
179
|
+
function pn() {
|
|
180
|
+
Je || (Je = !0, mn.then(R));
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function qe(e) {
|
|
183
183
|
ee.push(e);
|
|
184
184
|
}
|
|
185
185
|
const ke = /* @__PURE__ */ new Set();
|
|
@@ -192,37 +192,37 @@ function R() {
|
|
|
192
192
|
try {
|
|
193
193
|
for (; J < K.length; ) {
|
|
194
194
|
const t = K[J];
|
|
195
|
-
J++, de(t),
|
|
195
|
+
J++, de(t), gn(t.$$);
|
|
196
196
|
}
|
|
197
197
|
} catch (t) {
|
|
198
198
|
throw K.length = 0, J = 0, t;
|
|
199
199
|
}
|
|
200
|
-
for (de(null), K.length = 0, J = 0;
|
|
201
|
-
|
|
200
|
+
for (de(null), K.length = 0, J = 0; Ye.length; )
|
|
201
|
+
Ye.pop()();
|
|
202
202
|
for (let t = 0; t < ee.length; t += 1) {
|
|
203
203
|
const r = ee[t];
|
|
204
204
|
ke.has(r) || (ke.add(r), r());
|
|
205
205
|
}
|
|
206
206
|
ee.length = 0;
|
|
207
207
|
} while (K.length);
|
|
208
|
-
for (;
|
|
209
|
-
|
|
210
|
-
|
|
208
|
+
for (; Nt.length; )
|
|
209
|
+
Nt.pop()();
|
|
210
|
+
Je = !1, ke.clear(), de(e);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function gn(e) {
|
|
213
213
|
if (e.fragment !== null) {
|
|
214
214
|
e.update(), se(e.before_update);
|
|
215
215
|
const t = e.dirty;
|
|
216
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
216
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(qe);
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function vn(e) {
|
|
220
220
|
const t = [], r = [];
|
|
221
221
|
ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
|
|
222
222
|
}
|
|
223
223
|
const Ne = /* @__PURE__ */ new Set();
|
|
224
224
|
let Z;
|
|
225
|
-
function
|
|
225
|
+
function ur() {
|
|
226
226
|
Z = {
|
|
227
227
|
r: 0,
|
|
228
228
|
c: [],
|
|
@@ -230,7 +230,7 @@ function ar() {
|
|
|
230
230
|
// parent group
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function hr() {
|
|
234
234
|
Z.r || se(Z.c), Z = Z.p;
|
|
235
235
|
}
|
|
236
236
|
function X(e, t) {
|
|
@@ -249,21 +249,21 @@ function pe(e, t, r, n) {
|
|
|
249
249
|
function Te(e) {
|
|
250
250
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function bn(e, t, r) {
|
|
253
253
|
const { fragment: n, after_update: i } = e.$$;
|
|
254
|
-
n && n.m(t, r),
|
|
255
|
-
const o = e.$$.on_mount.map(
|
|
254
|
+
n && n.m(t, r), qe(() => {
|
|
255
|
+
const o = e.$$.on_mount.map(ir).filter(ft);
|
|
256
256
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
|
|
257
|
-
}), i.forEach(
|
|
257
|
+
}), i.forEach(qe);
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function yn(e, t) {
|
|
260
260
|
const r = e.$$;
|
|
261
|
-
r.fragment !== null && (
|
|
261
|
+
r.fragment !== null && (vn(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
262
262
|
}
|
|
263
|
-
function
|
|
264
|
-
e.$$.dirty[0] === -1 && (K.push(e),
|
|
263
|
+
function _n(e, t) {
|
|
264
|
+
e.$$.dirty[0] === -1 && (K.push(e), pn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function xn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
267
267
|
const l = me;
|
|
268
268
|
de(e);
|
|
269
269
|
const u = e.$$ = {
|
|
@@ -273,7 +273,7 @@ function vn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
273
273
|
props: o,
|
|
274
274
|
update: U,
|
|
275
275
|
not_equal: i,
|
|
276
|
-
bound:
|
|
276
|
+
bound: Et(),
|
|
277
277
|
// lifecycle
|
|
278
278
|
on_mount: [],
|
|
279
279
|
on_destroy: [],
|
|
@@ -282,7 +282,7 @@ function vn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
282
282
|
after_update: [],
|
|
283
283
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
284
284
|
// everything else
|
|
285
|
-
callbacks:
|
|
285
|
+
callbacks: Et(),
|
|
286
286
|
dirty: s,
|
|
287
287
|
skip_bound: !1,
|
|
288
288
|
root: t.target || l.$$.root
|
|
@@ -291,19 +291,19 @@ function vn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
291
291
|
let h = !1;
|
|
292
292
|
if (u.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
|
|
293
293
|
const g = p.length ? p[0] : f;
|
|
294
|
-
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h &&
|
|
294
|
+
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && _n(e, d)), f;
|
|
295
295
|
}) : [], u.update(), h = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
296
296
|
if (t.hydrate) {
|
|
297
|
-
const d =
|
|
297
|
+
const d = hn(t.target);
|
|
298
298
|
u.fragment && u.fragment.l(d), d.forEach(L);
|
|
299
299
|
} else
|
|
300
300
|
u.fragment && u.fragment.c();
|
|
301
|
-
t.intro && X(e.$$.fragment),
|
|
301
|
+
t.intro && X(e.$$.fragment), bn(e, t.target, t.anchor), R();
|
|
302
302
|
}
|
|
303
303
|
de(l);
|
|
304
304
|
}
|
|
305
|
-
let
|
|
306
|
-
typeof HTMLElement == "function" && (
|
|
305
|
+
let cr;
|
|
306
|
+
typeof HTMLElement == "function" && (cr = class extends HTMLElement {
|
|
307
307
|
/** The Svelte component constructor */
|
|
308
308
|
$$ctor;
|
|
309
309
|
/** Slots */
|
|
@@ -362,7 +362,7 @@ typeof HTMLElement == "function" && (lr = class extends HTMLElement {
|
|
|
362
362
|
};
|
|
363
363
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
364
364
|
return;
|
|
365
|
-
const t = {}, r =
|
|
365
|
+
const t = {}, r = cn(this);
|
|
366
366
|
for (const i of this.$$s)
|
|
367
367
|
i in r && (t[i] = [e(i)]);
|
|
368
368
|
for (const i of this.attributes) {
|
|
@@ -449,8 +449,8 @@ function Se(e, t, r, n) {
|
|
|
449
449
|
return t;
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
|
-
function
|
|
453
|
-
let a = class extends
|
|
452
|
+
function wn(e, t, r, n, i, o) {
|
|
453
|
+
let a = class extends cr {
|
|
454
454
|
constructor() {
|
|
455
455
|
super(e, r, i), this.$$p_d = t;
|
|
456
456
|
}
|
|
@@ -478,7 +478,7 @@ function bn(e, t, r, n, i, o) {
|
|
|
478
478
|
}), e.element = /** @type {any} */
|
|
479
479
|
a, a;
|
|
480
480
|
}
|
|
481
|
-
class
|
|
481
|
+
class En {
|
|
482
482
|
/**
|
|
483
483
|
* ### PRIVATE API
|
|
484
484
|
*
|
|
@@ -497,7 +497,7 @@ class yn {
|
|
|
497
497
|
$$set = void 0;
|
|
498
498
|
/** @returns {void} */
|
|
499
499
|
$destroy() {
|
|
500
|
-
|
|
500
|
+
yn(this, 1), this.$destroy = U;
|
|
501
501
|
}
|
|
502
502
|
/**
|
|
503
503
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -506,7 +506,7 @@ class yn {
|
|
|
506
506
|
* @returns {() => void}
|
|
507
507
|
*/
|
|
508
508
|
$on(t, r) {
|
|
509
|
-
if (!
|
|
509
|
+
if (!ft(r))
|
|
510
510
|
return U;
|
|
511
511
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
512
512
|
return n.push(r), () => {
|
|
@@ -519,11 +519,11 @@ class yn {
|
|
|
519
519
|
* @returns {void}
|
|
520
520
|
*/
|
|
521
521
|
$set(t) {
|
|
522
|
-
this.$$set && !
|
|
522
|
+
this.$$set && !Kr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
const
|
|
526
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
525
|
+
const Nn = "4";
|
|
526
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nn);
|
|
527
527
|
/*! *****************************************************************************
|
|
528
528
|
Copyright (c) Microsoft Corporation.
|
|
529
529
|
|
|
@@ -538,18 +538,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
538
538
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
539
539
|
PERFORMANCE OF THIS SOFTWARE.
|
|
540
540
|
***************************************************************************** */
|
|
541
|
-
var
|
|
542
|
-
return
|
|
541
|
+
var Ke = function(e, t) {
|
|
542
|
+
return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
543
543
|
r.__proto__ = n;
|
|
544
544
|
} || function(r, n) {
|
|
545
545
|
for (var i in n)
|
|
546
546
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
547
|
-
},
|
|
547
|
+
}, Ke(e, t);
|
|
548
548
|
};
|
|
549
549
|
function j(e, t) {
|
|
550
550
|
if (typeof t != "function" && t !== null)
|
|
551
551
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
552
|
-
|
|
552
|
+
Ke(e, t);
|
|
553
553
|
function r() {
|
|
554
554
|
this.constructor = e;
|
|
555
555
|
}
|
|
@@ -565,7 +565,7 @@ var w = function() {
|
|
|
565
565
|
return t;
|
|
566
566
|
}, w.apply(this, arguments);
|
|
567
567
|
};
|
|
568
|
-
function
|
|
568
|
+
function Sn(e, t) {
|
|
569
569
|
var r = {};
|
|
570
570
|
for (var n in e)
|
|
571
571
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -574,7 +574,7 @@ function xn(e, t) {
|
|
|
574
574
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
575
575
|
return r;
|
|
576
576
|
}
|
|
577
|
-
function
|
|
577
|
+
function et(e) {
|
|
578
578
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
579
579
|
if (r)
|
|
580
580
|
return r.call(e);
|
|
@@ -586,7 +586,7 @@ function Ke(e) {
|
|
|
586
586
|
};
|
|
587
587
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function tt(e, t) {
|
|
590
590
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
591
591
|
if (!r)
|
|
592
592
|
return e;
|
|
@@ -615,13 +615,13 @@ function te(e, t, r) {
|
|
|
615
615
|
function $(e) {
|
|
616
616
|
return typeof e == "function";
|
|
617
617
|
}
|
|
618
|
-
function
|
|
618
|
+
function fr(e) {
|
|
619
619
|
var t = function(n) {
|
|
620
620
|
Error.call(n), n.stack = new Error().stack;
|
|
621
621
|
}, r = e(t);
|
|
622
622
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
623
623
|
}
|
|
624
|
-
var je =
|
|
624
|
+
var je = fr(function(e) {
|
|
625
625
|
return function(r) {
|
|
626
626
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
627
627
|
` + r.map(function(n, i) {
|
|
@@ -630,7 +630,7 @@ var je = ur(function(e) {
|
|
|
630
630
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
631
631
|
};
|
|
632
632
|
});
|
|
633
|
-
function
|
|
633
|
+
function rt(e, t) {
|
|
634
634
|
if (e) {
|
|
635
635
|
var r = e.indexOf(t);
|
|
636
636
|
0 <= r && e.splice(r, 1);
|
|
@@ -648,7 +648,7 @@ var Oe = function() {
|
|
|
648
648
|
if (a)
|
|
649
649
|
if (this._parentage = null, Array.isArray(a))
|
|
650
650
|
try {
|
|
651
|
-
for (var s =
|
|
651
|
+
for (var s = et(a), l = s.next(); !l.done; l = s.next()) {
|
|
652
652
|
var u = l.value;
|
|
653
653
|
u.remove(this);
|
|
654
654
|
}
|
|
@@ -675,12 +675,12 @@ var Oe = function() {
|
|
|
675
675
|
if (d) {
|
|
676
676
|
this._finalizers = null;
|
|
677
677
|
try {
|
|
678
|
-
for (var f =
|
|
678
|
+
for (var f = et(d), p = f.next(); !p.done; p = f.next()) {
|
|
679
679
|
var g = p.value;
|
|
680
680
|
try {
|
|
681
|
-
|
|
681
|
+
St(g);
|
|
682
682
|
} catch (v) {
|
|
683
|
-
o = o ?? [], v instanceof je ? o = te(te([],
|
|
683
|
+
o = o ?? [], v instanceof je ? o = te(te([], tt(o)), tt(v.errors)) : o.push(v);
|
|
684
684
|
}
|
|
685
685
|
}
|
|
686
686
|
} catch (v) {
|
|
@@ -701,7 +701,7 @@ var Oe = function() {
|
|
|
701
701
|
var r;
|
|
702
702
|
if (t && t !== this)
|
|
703
703
|
if (this.closed)
|
|
704
|
-
|
|
704
|
+
St(t);
|
|
705
705
|
else {
|
|
706
706
|
if (t instanceof e) {
|
|
707
707
|
if (t.closed || t._hasParent(this))
|
|
@@ -718,52 +718,56 @@ var Oe = function() {
|
|
|
718
718
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
719
719
|
}, e.prototype._removeParent = function(t) {
|
|
720
720
|
var r = this._parentage;
|
|
721
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
721
|
+
r === t ? this._parentage = null : Array.isArray(r) && rt(r, t);
|
|
722
722
|
}, e.prototype.remove = function(t) {
|
|
723
723
|
var r = this._finalizers;
|
|
724
|
-
r &&
|
|
724
|
+
r && rt(r, t), t instanceof e && t._removeParent(this);
|
|
725
725
|
}, e.EMPTY = function() {
|
|
726
726
|
var t = new e();
|
|
727
727
|
return t.closed = !0, t;
|
|
728
728
|
}(), e;
|
|
729
|
-
}(),
|
|
730
|
-
function
|
|
729
|
+
}(), dr = Oe.EMPTY;
|
|
730
|
+
function mr(e) {
|
|
731
731
|
return e instanceof Oe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
732
732
|
}
|
|
733
|
-
function
|
|
733
|
+
function St(e) {
|
|
734
734
|
$(e) ? e() : e.unsubscribe();
|
|
735
735
|
}
|
|
736
|
-
var
|
|
737
|
-
|
|
738
|
-
|
|
736
|
+
var pr = {
|
|
737
|
+
onUnhandledError: null,
|
|
738
|
+
onStoppedNotification: null,
|
|
739
|
+
Promise: void 0,
|
|
740
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
741
|
+
useDeprecatedNextContext: !1
|
|
742
|
+
}, In = {
|
|
739
743
|
setTimeout: function(e, t) {
|
|
740
744
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
741
745
|
r[n - 2] = arguments[n];
|
|
742
|
-
return setTimeout.apply(void 0, te([e, t],
|
|
746
|
+
return setTimeout.apply(void 0, te([e, t], tt(r)));
|
|
743
747
|
},
|
|
744
748
|
clearTimeout: function(e) {
|
|
745
749
|
return clearTimeout(e);
|
|
746
750
|
},
|
|
747
751
|
delegate: void 0
|
|
748
752
|
};
|
|
749
|
-
function
|
|
750
|
-
|
|
753
|
+
function Bn(e) {
|
|
754
|
+
In.setTimeout(function() {
|
|
751
755
|
throw e;
|
|
752
756
|
});
|
|
753
757
|
}
|
|
754
|
-
function
|
|
758
|
+
function It() {
|
|
755
759
|
}
|
|
756
760
|
function Ie(e) {
|
|
757
761
|
e();
|
|
758
762
|
}
|
|
759
|
-
var
|
|
763
|
+
var gr = function(e) {
|
|
760
764
|
j(t, e);
|
|
761
765
|
function t(r) {
|
|
762
766
|
var n = e.call(this) || this;
|
|
763
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
767
|
+
return n.isStopped = !1, r ? (n.destination = r, mr(r) && r.add(n)) : n.destination = Pn, n;
|
|
764
768
|
}
|
|
765
769
|
return t.create = function(r, n, i) {
|
|
766
|
-
return new
|
|
770
|
+
return new nt(r, n, i);
|
|
767
771
|
}, t.prototype.next = function(r) {
|
|
768
772
|
this.isStopped || this._next(r);
|
|
769
773
|
}, t.prototype.error = function(r) {
|
|
@@ -787,7 +791,11 @@ var fr = function(e) {
|
|
|
787
791
|
this.unsubscribe();
|
|
788
792
|
}
|
|
789
793
|
}, t;
|
|
790
|
-
}(Oe),
|
|
794
|
+
}(Oe), An = Function.prototype.bind;
|
|
795
|
+
function We(e, t) {
|
|
796
|
+
return An.call(e, t);
|
|
797
|
+
}
|
|
798
|
+
var Tn = function() {
|
|
791
799
|
function e(t) {
|
|
792
800
|
this.partialObserver = t;
|
|
793
801
|
}
|
|
@@ -818,43 +826,55 @@ var fr = function(e) {
|
|
|
818
826
|
we(r);
|
|
819
827
|
}
|
|
820
828
|
}, e;
|
|
821
|
-
}(),
|
|
829
|
+
}(), nt = function(e) {
|
|
822
830
|
j(t, e);
|
|
823
831
|
function t(r, n, i) {
|
|
824
832
|
var o = e.call(this) || this, a;
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
833
|
+
if ($(r) || !r)
|
|
834
|
+
a = {
|
|
835
|
+
next: r ?? void 0,
|
|
836
|
+
error: n ?? void 0,
|
|
837
|
+
complete: i ?? void 0
|
|
838
|
+
};
|
|
839
|
+
else {
|
|
840
|
+
var s;
|
|
841
|
+
o && pr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
842
|
+
return o.unsubscribe();
|
|
843
|
+
}, a = {
|
|
844
|
+
next: r.next && We(r.next, s),
|
|
845
|
+
error: r.error && We(r.error, s),
|
|
846
|
+
complete: r.complete && We(r.complete, s)
|
|
847
|
+
}) : a = r;
|
|
848
|
+
}
|
|
849
|
+
return o.destination = new Tn(a), o;
|
|
830
850
|
}
|
|
831
851
|
return t;
|
|
832
|
-
}(
|
|
852
|
+
}(gr);
|
|
833
853
|
function we(e) {
|
|
834
|
-
|
|
854
|
+
Bn(e);
|
|
835
855
|
}
|
|
836
|
-
function
|
|
856
|
+
function Hn(e) {
|
|
837
857
|
throw e;
|
|
838
858
|
}
|
|
839
|
-
var
|
|
859
|
+
var Pn = {
|
|
840
860
|
closed: !0,
|
|
841
|
-
next:
|
|
842
|
-
error:
|
|
843
|
-
complete:
|
|
844
|
-
},
|
|
861
|
+
next: It,
|
|
862
|
+
error: Hn,
|
|
863
|
+
complete: It
|
|
864
|
+
}, Mn = function() {
|
|
845
865
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
846
866
|
}();
|
|
847
|
-
function
|
|
867
|
+
function On(e) {
|
|
848
868
|
return e;
|
|
849
869
|
}
|
|
850
|
-
function
|
|
851
|
-
return e.length === 0 ?
|
|
870
|
+
function Ln(e) {
|
|
871
|
+
return e.length === 0 ? On : e.length === 1 ? e[0] : function(r) {
|
|
852
872
|
return e.reduce(function(n, i) {
|
|
853
873
|
return i(n);
|
|
854
874
|
}, r);
|
|
855
875
|
};
|
|
856
876
|
}
|
|
857
|
-
var
|
|
877
|
+
var Bt = function() {
|
|
858
878
|
function e(t) {
|
|
859
879
|
t && (this._subscribe = t);
|
|
860
880
|
}
|
|
@@ -862,7 +882,7 @@ var Nt = function() {
|
|
|
862
882
|
var r = new e();
|
|
863
883
|
return r.source = this, r.operator = t, r;
|
|
864
884
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
865
|
-
var i = this, o =
|
|
885
|
+
var i = this, o = Fn(t) ? t : new nt(t, r, n);
|
|
866
886
|
return Ie(function() {
|
|
867
887
|
var a = i, s = a.operator, l = a.source;
|
|
868
888
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -875,8 +895,8 @@ var Nt = function() {
|
|
|
875
895
|
}
|
|
876
896
|
}, e.prototype.forEach = function(t, r) {
|
|
877
897
|
var n = this;
|
|
878
|
-
return r =
|
|
879
|
-
var a = new
|
|
898
|
+
return r = At(r), new r(function(i, o) {
|
|
899
|
+
var a = new nt({
|
|
880
900
|
next: function(s) {
|
|
881
901
|
try {
|
|
882
902
|
t(s);
|
|
@@ -892,15 +912,15 @@ var Nt = function() {
|
|
|
892
912
|
}, e.prototype._subscribe = function(t) {
|
|
893
913
|
var r;
|
|
894
914
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
895
|
-
}, e.prototype[
|
|
915
|
+
}, e.prototype[Mn] = function() {
|
|
896
916
|
return this;
|
|
897
917
|
}, e.prototype.pipe = function() {
|
|
898
918
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
899
919
|
t[r] = arguments[r];
|
|
900
|
-
return
|
|
920
|
+
return Ln(t)(this);
|
|
901
921
|
}, e.prototype.toPromise = function(t) {
|
|
902
922
|
var r = this;
|
|
903
|
-
return t =
|
|
923
|
+
return t = At(t), new t(function(n, i) {
|
|
904
924
|
var o;
|
|
905
925
|
r.subscribe(function(a) {
|
|
906
926
|
return o = a;
|
|
@@ -914,32 +934,32 @@ var Nt = function() {
|
|
|
914
934
|
return new e(t);
|
|
915
935
|
}, e;
|
|
916
936
|
}();
|
|
917
|
-
function
|
|
937
|
+
function At(e) {
|
|
918
938
|
var t;
|
|
919
|
-
return (t = e ??
|
|
939
|
+
return (t = e ?? pr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
920
940
|
}
|
|
921
|
-
function
|
|
941
|
+
function Cn(e) {
|
|
922
942
|
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
923
943
|
}
|
|
924
|
-
function
|
|
925
|
-
return e && e instanceof
|
|
944
|
+
function Fn(e) {
|
|
945
|
+
return e && e instanceof gr || Cn(e) && mr(e);
|
|
926
946
|
}
|
|
927
|
-
var
|
|
947
|
+
var Rn = fr(function(e) {
|
|
928
948
|
return function() {
|
|
929
949
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
930
950
|
};
|
|
931
|
-
}),
|
|
951
|
+
}), vr = function(e) {
|
|
932
952
|
j(t, e);
|
|
933
953
|
function t() {
|
|
934
954
|
var r = e.call(this) || this;
|
|
935
955
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
936
956
|
}
|
|
937
957
|
return t.prototype.lift = function(r) {
|
|
938
|
-
var n = new
|
|
958
|
+
var n = new Tt(this, this);
|
|
939
959
|
return n.operator = r, n;
|
|
940
960
|
}, t.prototype._throwIfClosed = function() {
|
|
941
961
|
if (this.closed)
|
|
942
|
-
throw new
|
|
962
|
+
throw new Rn();
|
|
943
963
|
}, t.prototype.next = function(r) {
|
|
944
964
|
var n = this;
|
|
945
965
|
Ie(function() {
|
|
@@ -947,7 +967,7 @@ var On = ur(function(e) {
|
|
|
947
967
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
948
968
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
949
969
|
try {
|
|
950
|
-
for (var a =
|
|
970
|
+
for (var a = et(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
951
971
|
var l = s.value;
|
|
952
972
|
l.next(r);
|
|
953
973
|
}
|
|
@@ -996,19 +1016,19 @@ var On = ur(function(e) {
|
|
|
996
1016
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
997
1017
|
}, t.prototype._innerSubscribe = function(r) {
|
|
998
1018
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
999
|
-
return o || a ?
|
|
1000
|
-
n.currentObservers = null,
|
|
1019
|
+
return o || a ? dr : (this.currentObservers = null, s.push(r), new Oe(function() {
|
|
1020
|
+
n.currentObservers = null, rt(s, r);
|
|
1001
1021
|
}));
|
|
1002
1022
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1003
1023
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1004
1024
|
i ? r.error(o) : a && r.complete();
|
|
1005
1025
|
}, t.prototype.asObservable = function() {
|
|
1006
|
-
var r = new
|
|
1026
|
+
var r = new Bt();
|
|
1007
1027
|
return r.source = this, r;
|
|
1008
1028
|
}, t.create = function(r, n) {
|
|
1009
|
-
return new
|
|
1029
|
+
return new Tt(r, n);
|
|
1010
1030
|
}, t;
|
|
1011
|
-
}(
|
|
1031
|
+
}(Bt), Tt = function(e) {
|
|
1012
1032
|
j(t, e);
|
|
1013
1033
|
function t(r, n) {
|
|
1014
1034
|
var i = e.call(this) || this;
|
|
@@ -1025,17 +1045,17 @@ var On = ur(function(e) {
|
|
|
1025
1045
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1026
1046
|
}, t.prototype._subscribe = function(r) {
|
|
1027
1047
|
var n, i;
|
|
1028
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1048
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : dr;
|
|
1029
1049
|
}, t;
|
|
1030
|
-
}(
|
|
1050
|
+
}(vr), br = {
|
|
1031
1051
|
now: function() {
|
|
1032
|
-
return (
|
|
1052
|
+
return (br.delegate || Date).now();
|
|
1033
1053
|
},
|
|
1034
1054
|
delegate: void 0
|
|
1035
|
-
},
|
|
1055
|
+
}, Un = function(e) {
|
|
1036
1056
|
j(t, e);
|
|
1037
1057
|
function t(r, n, i) {
|
|
1038
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1058
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = br);
|
|
1039
1059
|
var o = e.call(this) || this;
|
|
1040
1060
|
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;
|
|
1041
1061
|
}
|
|
@@ -1055,15 +1075,15 @@ var On = ur(function(e) {
|
|
|
1055
1075
|
u && o.splice(0, u + 1);
|
|
1056
1076
|
}
|
|
1057
1077
|
}, t;
|
|
1058
|
-
}(
|
|
1059
|
-
const
|
|
1060
|
-
if (
|
|
1061
|
-
const r = new
|
|
1062
|
-
|
|
1078
|
+
}(vr);
|
|
1079
|
+
const Ht = [], Pt = {}, Dn = (e, t = 0) => {
|
|
1080
|
+
if (Ht.indexOf(e) == -1) {
|
|
1081
|
+
const r = new Un(t);
|
|
1082
|
+
Pt[e] = r, Ht.push(e);
|
|
1063
1083
|
}
|
|
1064
|
-
return
|
|
1084
|
+
return Pt[e];
|
|
1065
1085
|
}, q = [];
|
|
1066
|
-
function
|
|
1086
|
+
function Gn(e, t) {
|
|
1067
1087
|
return {
|
|
1068
1088
|
subscribe: Le(e, t).subscribe
|
|
1069
1089
|
};
|
|
@@ -1072,7 +1092,7 @@ function Le(e, t = U) {
|
|
|
1072
1092
|
let r;
|
|
1073
1093
|
const n = /* @__PURE__ */ new Set();
|
|
1074
1094
|
function i(s) {
|
|
1075
|
-
if (
|
|
1095
|
+
if (or(e, s) && (e = s, r)) {
|
|
1076
1096
|
const l = !q.length;
|
|
1077
1097
|
for (const u of n)
|
|
1078
1098
|
u[1](), q.push(u, e);
|
|
@@ -1099,7 +1119,7 @@ function le(e, t, r) {
|
|
|
1099
1119
|
if (!i.every(Boolean))
|
|
1100
1120
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1101
1121
|
const o = t.length < 2;
|
|
1102
|
-
return
|
|
1122
|
+
return Gn(r, (a, s) => {
|
|
1103
1123
|
let l = !1;
|
|
1104
1124
|
const u = [];
|
|
1105
1125
|
let h = 0, d = U;
|
|
@@ -1108,9 +1128,9 @@ function le(e, t, r) {
|
|
|
1108
1128
|
return;
|
|
1109
1129
|
d();
|
|
1110
1130
|
const g = t(n ? u[0] : u, a, s);
|
|
1111
|
-
o ? a(g) : d =
|
|
1131
|
+
o ? a(g) : d = ft(g) ? g : U;
|
|
1112
1132
|
}, p = i.map(
|
|
1113
|
-
(g, v) =>
|
|
1133
|
+
(g, v) => ar(
|
|
1114
1134
|
g,
|
|
1115
1135
|
(A) => {
|
|
1116
1136
|
u[v] = A, h &= ~(1 << v), l && f();
|
|
@@ -1125,70 +1145,70 @@ function le(e, t, r) {
|
|
|
1125
1145
|
};
|
|
1126
1146
|
});
|
|
1127
1147
|
}
|
|
1128
|
-
function
|
|
1148
|
+
function $n(e) {
|
|
1129
1149
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1130
1150
|
}
|
|
1131
|
-
var
|
|
1132
|
-
return
|
|
1151
|
+
var kn = function(t) {
|
|
1152
|
+
return jn(t) && !Wn(t);
|
|
1133
1153
|
};
|
|
1134
|
-
function
|
|
1154
|
+
function jn(e) {
|
|
1135
1155
|
return !!e && typeof e == "object";
|
|
1136
1156
|
}
|
|
1137
|
-
function
|
|
1157
|
+
function Wn(e) {
|
|
1138
1158
|
var t = Object.prototype.toString.call(e);
|
|
1139
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1159
|
+
return t === "[object RegExp]" || t === "[object Date]" || zn(e);
|
|
1140
1160
|
}
|
|
1141
|
-
var
|
|
1142
|
-
function
|
|
1143
|
-
return e.$$typeof ===
|
|
1161
|
+
var Vn = typeof Symbol == "function" && Symbol.for, Xn = Vn ? Symbol.for("react.element") : 60103;
|
|
1162
|
+
function zn(e) {
|
|
1163
|
+
return e.$$typeof === Xn;
|
|
1144
1164
|
}
|
|
1145
|
-
function
|
|
1165
|
+
function Zn(e) {
|
|
1146
1166
|
return Array.isArray(e) ? [] : {};
|
|
1147
1167
|
}
|
|
1148
1168
|
function ge(e, t) {
|
|
1149
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ne(
|
|
1169
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(Zn(e), e, t) : e;
|
|
1150
1170
|
}
|
|
1151
|
-
function
|
|
1171
|
+
function Qn(e, t, r) {
|
|
1152
1172
|
return e.concat(t).map(function(n) {
|
|
1153
1173
|
return ge(n, r);
|
|
1154
1174
|
});
|
|
1155
1175
|
}
|
|
1156
|
-
function
|
|
1176
|
+
function Yn(e, t) {
|
|
1157
1177
|
if (!t.customMerge)
|
|
1158
1178
|
return ne;
|
|
1159
1179
|
var r = t.customMerge(e);
|
|
1160
1180
|
return typeof r == "function" ? r : ne;
|
|
1161
1181
|
}
|
|
1162
|
-
function
|
|
1182
|
+
function Jn(e) {
|
|
1163
1183
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1164
1184
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1165
1185
|
}) : [];
|
|
1166
1186
|
}
|
|
1167
|
-
function
|
|
1168
|
-
return Object.keys(e).concat(
|
|
1187
|
+
function Mt(e) {
|
|
1188
|
+
return Object.keys(e).concat(Jn(e));
|
|
1169
1189
|
}
|
|
1170
|
-
function
|
|
1190
|
+
function yr(e, t) {
|
|
1171
1191
|
try {
|
|
1172
1192
|
return t in e;
|
|
1173
1193
|
} catch {
|
|
1174
1194
|
return !1;
|
|
1175
1195
|
}
|
|
1176
1196
|
}
|
|
1177
|
-
function
|
|
1178
|
-
return
|
|
1197
|
+
function qn(e, t) {
|
|
1198
|
+
return yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1179
1199
|
}
|
|
1180
|
-
function
|
|
1200
|
+
function Kn(e, t, r) {
|
|
1181
1201
|
var n = {};
|
|
1182
|
-
return r.isMergeableObject(e) &&
|
|
1202
|
+
return r.isMergeableObject(e) && Mt(e).forEach(function(i) {
|
|
1183
1203
|
n[i] = ge(e[i], r);
|
|
1184
|
-
}),
|
|
1185
|
-
|
|
1204
|
+
}), Mt(t).forEach(function(i) {
|
|
1205
|
+
qn(e, i) || (yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yn(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
|
|
1186
1206
|
}), n;
|
|
1187
1207
|
}
|
|
1188
1208
|
function ne(e, t, r) {
|
|
1189
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1209
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Qn, r.isMergeableObject = r.isMergeableObject || kn, r.cloneUnlessOtherwiseSpecified = ge;
|
|
1190
1210
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1191
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1211
|
+
return o ? n ? r.arrayMerge(e, t, r) : Kn(e, t, r) : ge(t, r);
|
|
1192
1212
|
}
|
|
1193
1213
|
ne.all = function(t, r) {
|
|
1194
1214
|
if (!Array.isArray(t))
|
|
@@ -1197,56 +1217,58 @@ ne.all = function(t, r) {
|
|
|
1197
1217
|
return ne(n, i, r);
|
|
1198
1218
|
}, {});
|
|
1199
1219
|
};
|
|
1200
|
-
var
|
|
1201
|
-
const
|
|
1202
|
-
function
|
|
1203
|
-
var r = t && t.cache ? t.cache :
|
|
1220
|
+
var ei = ne, ti = ei;
|
|
1221
|
+
const ri = /* @__PURE__ */ $n(ti);
|
|
1222
|
+
function Ve(e, t) {
|
|
1223
|
+
var r = t && t.cache ? t.cache : li, n = t && t.serializer ? t.serializer : si, i = t && t.strategy ? t.strategy : ii;
|
|
1204
1224
|
return i(e, {
|
|
1205
1225
|
cache: r,
|
|
1206
1226
|
serializer: n
|
|
1207
1227
|
});
|
|
1208
1228
|
}
|
|
1209
|
-
function
|
|
1229
|
+
function ni(e) {
|
|
1210
1230
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1211
1231
|
}
|
|
1212
|
-
function
|
|
1213
|
-
var i =
|
|
1232
|
+
function _r(e, t, r, n) {
|
|
1233
|
+
var i = ni(n) ? n : r(n), o = t.get(i);
|
|
1214
1234
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1215
1235
|
}
|
|
1216
|
-
function
|
|
1236
|
+
function xr(e, t, r) {
|
|
1217
1237
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1218
1238
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1219
1239
|
}
|
|
1220
|
-
function
|
|
1240
|
+
function mt(e, t, r, n, i) {
|
|
1221
1241
|
return r.bind(t, e, n, i);
|
|
1222
1242
|
}
|
|
1223
|
-
function
|
|
1224
|
-
var r = e.length === 1 ?
|
|
1225
|
-
return
|
|
1243
|
+
function ii(e, t) {
|
|
1244
|
+
var r = e.length === 1 ? _r : xr;
|
|
1245
|
+
return mt(e, this, r, t.cache.create(), t.serializer);
|
|
1226
1246
|
}
|
|
1227
|
-
function
|
|
1228
|
-
return
|
|
1247
|
+
function oi(e, t) {
|
|
1248
|
+
return mt(e, this, xr, t.cache.create(), t.serializer);
|
|
1229
1249
|
}
|
|
1230
|
-
|
|
1250
|
+
function ai(e, t) {
|
|
1251
|
+
return mt(e, this, _r, t.cache.create(), t.serializer);
|
|
1252
|
+
}
|
|
1253
|
+
var si = function() {
|
|
1231
1254
|
return JSON.stringify(arguments);
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
}()
|
|
1244
|
-
), oi = {
|
|
1255
|
+
};
|
|
1256
|
+
function pt() {
|
|
1257
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1258
|
+
}
|
|
1259
|
+
pt.prototype.get = function(e) {
|
|
1260
|
+
return this.cache[e];
|
|
1261
|
+
};
|
|
1262
|
+
pt.prototype.set = function(e, t) {
|
|
1263
|
+
this.cache[e] = t;
|
|
1264
|
+
};
|
|
1265
|
+
var li = {
|
|
1245
1266
|
create: function() {
|
|
1246
|
-
return new
|
|
1267
|
+
return new pt();
|
|
1247
1268
|
}
|
|
1248
|
-
},
|
|
1249
|
-
variadic:
|
|
1269
|
+
}, Xe = {
|
|
1270
|
+
variadic: oi,
|
|
1271
|
+
monadic: ai
|
|
1250
1272
|
}, _;
|
|
1251
1273
|
(function(e) {
|
|
1252
1274
|
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";
|
|
@@ -1259,43 +1281,43 @@ var ie;
|
|
|
1259
1281
|
(function(e) {
|
|
1260
1282
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1261
1283
|
})(ie || (ie = {}));
|
|
1262
|
-
function
|
|
1284
|
+
function Ot(e) {
|
|
1263
1285
|
return e.type === I.literal;
|
|
1264
1286
|
}
|
|
1265
|
-
function
|
|
1287
|
+
function ui(e) {
|
|
1266
1288
|
return e.type === I.argument;
|
|
1267
1289
|
}
|
|
1268
|
-
function
|
|
1290
|
+
function wr(e) {
|
|
1269
1291
|
return e.type === I.number;
|
|
1270
1292
|
}
|
|
1271
|
-
function
|
|
1293
|
+
function Er(e) {
|
|
1272
1294
|
return e.type === I.date;
|
|
1273
1295
|
}
|
|
1274
|
-
function
|
|
1296
|
+
function Nr(e) {
|
|
1275
1297
|
return e.type === I.time;
|
|
1276
1298
|
}
|
|
1277
|
-
function
|
|
1299
|
+
function Sr(e) {
|
|
1278
1300
|
return e.type === I.select;
|
|
1279
1301
|
}
|
|
1280
|
-
function
|
|
1302
|
+
function Ir(e) {
|
|
1281
1303
|
return e.type === I.plural;
|
|
1282
1304
|
}
|
|
1283
|
-
function
|
|
1305
|
+
function hi(e) {
|
|
1284
1306
|
return e.type === I.pound;
|
|
1285
1307
|
}
|
|
1286
|
-
function
|
|
1308
|
+
function Br(e) {
|
|
1287
1309
|
return e.type === I.tag;
|
|
1288
1310
|
}
|
|
1289
|
-
function
|
|
1311
|
+
function Ar(e) {
|
|
1290
1312
|
return !!(e && typeof e == "object" && e.type === ie.number);
|
|
1291
1313
|
}
|
|
1292
|
-
function
|
|
1314
|
+
function it(e) {
|
|
1293
1315
|
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
|
1294
1316
|
}
|
|
1295
|
-
var
|
|
1296
|
-
function
|
|
1317
|
+
var Tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ci = /(?:[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;
|
|
1318
|
+
function fi(e) {
|
|
1297
1319
|
var t = {};
|
|
1298
|
-
return e.replace(
|
|
1320
|
+
return e.replace(ci, function(r) {
|
|
1299
1321
|
var n = r.length;
|
|
1300
1322
|
switch (r[0]) {
|
|
1301
1323
|
case "G":
|
|
@@ -1384,11 +1406,11 @@ function ui(e) {
|
|
|
1384
1406
|
return "";
|
|
1385
1407
|
}), t;
|
|
1386
1408
|
}
|
|
1387
|
-
var
|
|
1388
|
-
function
|
|
1409
|
+
var di = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1410
|
+
function mi(e) {
|
|
1389
1411
|
if (e.length === 0)
|
|
1390
1412
|
throw new Error("Number skeleton cannot be empty");
|
|
1391
|
-
for (var t = e.split(
|
|
1413
|
+
for (var t = e.split(di).filter(function(f) {
|
|
1392
1414
|
return f.length > 0;
|
|
1393
1415
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1394
1416
|
var o = i[n], a = o.split("/");
|
|
@@ -1403,17 +1425,17 @@ function ci(e) {
|
|
|
1403
1425
|
}
|
|
1404
1426
|
return r;
|
|
1405
1427
|
}
|
|
1406
|
-
function
|
|
1428
|
+
function pi(e) {
|
|
1407
1429
|
return e.replace(/^(.*?)-/, "");
|
|
1408
1430
|
}
|
|
1409
|
-
var
|
|
1410
|
-
function
|
|
1431
|
+
var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Hr = /^(@+)?(\+|#+)?[rs]?$/g, gi = /(\*)(0+)|(#+)(0+)|(0+)/g, Pr = /^(0+)$/;
|
|
1432
|
+
function Ct(e) {
|
|
1411
1433
|
var t = {};
|
|
1412
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1434
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Hr, function(r, n, i) {
|
|
1413
1435
|
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)), "";
|
|
1414
1436
|
}), t;
|
|
1415
1437
|
}
|
|
1416
|
-
function
|
|
1438
|
+
function Mr(e) {
|
|
1417
1439
|
switch (e) {
|
|
1418
1440
|
case "sign-auto":
|
|
1419
1441
|
return {
|
|
@@ -1453,7 +1475,7 @@ function Ar(e) {
|
|
|
1453
1475
|
};
|
|
1454
1476
|
}
|
|
1455
1477
|
}
|
|
1456
|
-
function
|
|
1478
|
+
function vi(e) {
|
|
1457
1479
|
var t;
|
|
1458
1480
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1459
1481
|
notation: "engineering"
|
|
@@ -1461,17 +1483,17 @@ function mi(e) {
|
|
|
1461
1483
|
notation: "scientific"
|
|
1462
1484
|
}, e = e.slice(1)), t) {
|
|
1463
1485
|
var r = e.slice(0, 2);
|
|
1464
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1486
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Pr.test(e))
|
|
1465
1487
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1466
1488
|
t.minimumIntegerDigits = e.length;
|
|
1467
1489
|
}
|
|
1468
1490
|
return t;
|
|
1469
1491
|
}
|
|
1470
|
-
function
|
|
1471
|
-
var t = {}, r =
|
|
1492
|
+
function Ft(e) {
|
|
1493
|
+
var t = {}, r = Mr(e);
|
|
1472
1494
|
return r || t;
|
|
1473
1495
|
}
|
|
1474
|
-
function
|
|
1496
|
+
function bi(e) {
|
|
1475
1497
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1476
1498
|
var i = n[r];
|
|
1477
1499
|
switch (i.stem) {
|
|
@@ -1495,7 +1517,7 @@ function pi(e) {
|
|
|
1495
1517
|
continue;
|
|
1496
1518
|
case "measure-unit":
|
|
1497
1519
|
case "unit":
|
|
1498
|
-
t.style = "unit", t.unit =
|
|
1520
|
+
t.style = "unit", t.unit = pi(i.options[0]);
|
|
1499
1521
|
continue;
|
|
1500
1522
|
case "compact-short":
|
|
1501
1523
|
case "K":
|
|
@@ -1507,12 +1529,12 @@ function pi(e) {
|
|
|
1507
1529
|
continue;
|
|
1508
1530
|
case "scientific":
|
|
1509
1531
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1510
|
-
return w(w({}, l),
|
|
1532
|
+
return w(w({}, l), Ft(u));
|
|
1511
1533
|
}, {}));
|
|
1512
1534
|
continue;
|
|
1513
1535
|
case "engineering":
|
|
1514
1536
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1515
|
-
return w(w({}, l),
|
|
1537
|
+
return w(w({}, l), Ft(u));
|
|
1516
1538
|
}, {}));
|
|
1517
1539
|
continue;
|
|
1518
1540
|
case "notation-simple":
|
|
@@ -1557,7 +1579,7 @@ function pi(e) {
|
|
|
1557
1579
|
case "integer-width":
|
|
1558
1580
|
if (i.options.length > 1)
|
|
1559
1581
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1560
|
-
i.options[0].replace(
|
|
1582
|
+
i.options[0].replace(gi, function(l, u, h, d, f, p) {
|
|
1561
1583
|
if (u)
|
|
1562
1584
|
t.minimumIntegerDigits = h.length;
|
|
1563
1585
|
else {
|
|
@@ -1570,27 +1592,27 @@ function pi(e) {
|
|
|
1570
1592
|
});
|
|
1571
1593
|
continue;
|
|
1572
1594
|
}
|
|
1573
|
-
if (
|
|
1595
|
+
if (Pr.test(i.stem)) {
|
|
1574
1596
|
t.minimumIntegerDigits = i.stem.length;
|
|
1575
1597
|
continue;
|
|
1576
1598
|
}
|
|
1577
|
-
if (
|
|
1599
|
+
if (Lt.test(i.stem)) {
|
|
1578
1600
|
if (i.options.length > 1)
|
|
1579
1601
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1580
|
-
i.stem.replace(
|
|
1602
|
+
i.stem.replace(Lt, function(l, u, h, d, f, p) {
|
|
1581
1603
|
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), "";
|
|
1582
1604
|
});
|
|
1583
1605
|
var o = i.options[0];
|
|
1584
|
-
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t),
|
|
1606
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Ct(o)));
|
|
1585
1607
|
continue;
|
|
1586
1608
|
}
|
|
1587
|
-
if (
|
|
1588
|
-
t = w(w({}, t),
|
|
1609
|
+
if (Hr.test(i.stem)) {
|
|
1610
|
+
t = w(w({}, t), Ct(i.stem));
|
|
1589
1611
|
continue;
|
|
1590
1612
|
}
|
|
1591
|
-
var a =
|
|
1613
|
+
var a = Mr(i.stem);
|
|
1592
1614
|
a && (t = w(w({}, t), a));
|
|
1593
|
-
var s =
|
|
1615
|
+
var s = vi(i.stem);
|
|
1594
1616
|
s && (t = w(w({}, t), s));
|
|
1595
1617
|
}
|
|
1596
1618
|
return t;
|
|
@@ -3010,13 +3032,13 @@ var Ee = {
|
|
|
3010
3032
|
"h"
|
|
3011
3033
|
]
|
|
3012
3034
|
};
|
|
3013
|
-
function
|
|
3035
|
+
function yi(e, t) {
|
|
3014
3036
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3015
3037
|
var i = e.charAt(n);
|
|
3016
3038
|
if (i === "j") {
|
|
3017
3039
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3018
3040
|
o++, n++;
|
|
3019
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3041
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = _i(t);
|
|
3020
3042
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3021
3043
|
r += l;
|
|
3022
3044
|
for (; a-- > 0; )
|
|
@@ -3026,7 +3048,7 @@ function gi(e, t) {
|
|
|
3026
3048
|
}
|
|
3027
3049
|
return r;
|
|
3028
3050
|
}
|
|
3029
|
-
function
|
|
3051
|
+
function _i(e) {
|
|
3030
3052
|
var t = e.hourCycle;
|
|
3031
3053
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3032
3054
|
e.hourCycles && // @ts-ignore
|
|
@@ -3048,20 +3070,20 @@ function vi(e) {
|
|
|
3048
3070
|
var i = Ee[n || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
|
|
3049
3071
|
return i[0];
|
|
3050
3072
|
}
|
|
3051
|
-
var
|
|
3073
|
+
var ze, xi = new RegExp("^".concat(Tr.source, "*")), wi = new RegExp("".concat(Tr.source, "*$"));
|
|
3052
3074
|
function x(e, t) {
|
|
3053
3075
|
return { start: e, end: t };
|
|
3054
3076
|
}
|
|
3055
|
-
var
|
|
3077
|
+
var Ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ni = !!String.fromCodePoint, Si = !!Object.fromEntries, Ii = !!String.prototype.codePointAt, Bi = !!String.prototype.trimStart, Ai = !!String.prototype.trimEnd, Ti = !!Number.isSafeInteger, Hi = Ti ? Number.isSafeInteger : function(e) {
|
|
3056
3078
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3057
|
-
},
|
|
3079
|
+
}, ot = !0;
|
|
3058
3080
|
try {
|
|
3059
|
-
var
|
|
3060
|
-
|
|
3081
|
+
var Pi = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3082
|
+
ot = ((ze = Pi.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
|
|
3061
3083
|
} catch {
|
|
3062
|
-
|
|
3084
|
+
ot = !1;
|
|
3063
3085
|
}
|
|
3064
|
-
var
|
|
3086
|
+
var Rt = Ei ? (
|
|
3065
3087
|
// Native
|
|
3066
3088
|
function(t, r, n) {
|
|
3067
3089
|
return t.startsWith(r, n);
|
|
@@ -3071,7 +3093,7 @@ var Lt = _i ? (
|
|
|
3071
3093
|
function(t, r, n) {
|
|
3072
3094
|
return t.slice(n, n + r.length) === r;
|
|
3073
3095
|
}
|
|
3074
|
-
),
|
|
3096
|
+
), at = Ni ? String.fromCodePoint : (
|
|
3075
3097
|
// IE11
|
|
3076
3098
|
function() {
|
|
3077
3099
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3083,9 +3105,9 @@ var Lt = _i ? (
|
|
|
3083
3105
|
}
|
|
3084
3106
|
return n;
|
|
3085
3107
|
}
|
|
3086
|
-
),
|
|
3108
|
+
), Ut = (
|
|
3087
3109
|
// native
|
|
3088
|
-
|
|
3110
|
+
Si ? Object.fromEntries : (
|
|
3089
3111
|
// Ponyfill
|
|
3090
3112
|
function(t) {
|
|
3091
3113
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3095,7 +3117,7 @@ var Lt = _i ? (
|
|
|
3095
3117
|
return r;
|
|
3096
3118
|
}
|
|
3097
3119
|
)
|
|
3098
|
-
),
|
|
3120
|
+
), Or = Ii ? (
|
|
3099
3121
|
// Native
|
|
3100
3122
|
function(t, r) {
|
|
3101
3123
|
return t.codePointAt(r);
|
|
@@ -3109,7 +3131,7 @@ var Lt = _i ? (
|
|
|
3109
3131
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3110
3132
|
}
|
|
3111
3133
|
}
|
|
3112
|
-
),
|
|
3134
|
+
), Mi = Bi ? (
|
|
3113
3135
|
// Native
|
|
3114
3136
|
function(t) {
|
|
3115
3137
|
return t.trimStart();
|
|
@@ -3117,9 +3139,9 @@ var Lt = _i ? (
|
|
|
3117
3139
|
) : (
|
|
3118
3140
|
// Ponyfill
|
|
3119
3141
|
function(t) {
|
|
3120
|
-
return t.replace(
|
|
3142
|
+
return t.replace(xi, "");
|
|
3121
3143
|
}
|
|
3122
|
-
),
|
|
3144
|
+
), Oi = Ai ? (
|
|
3123
3145
|
// Native
|
|
3124
3146
|
function(t) {
|
|
3125
3147
|
return t.trimEnd();
|
|
@@ -3127,32 +3149,32 @@ var Lt = _i ? (
|
|
|
3127
3149
|
) : (
|
|
3128
3150
|
// Ponyfill
|
|
3129
3151
|
function(t) {
|
|
3130
|
-
return t.replace(
|
|
3152
|
+
return t.replace(wi, "");
|
|
3131
3153
|
}
|
|
3132
3154
|
);
|
|
3133
|
-
function
|
|
3155
|
+
function Lr(e, t) {
|
|
3134
3156
|
return new RegExp(e, t);
|
|
3135
3157
|
}
|
|
3136
|
-
var
|
|
3137
|
-
if (
|
|
3138
|
-
var
|
|
3139
|
-
|
|
3158
|
+
var st;
|
|
3159
|
+
if (ot) {
|
|
3160
|
+
var Dt = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3161
|
+
st = function(t, r) {
|
|
3140
3162
|
var n;
|
|
3141
|
-
|
|
3142
|
-
var i =
|
|
3163
|
+
Dt.lastIndex = r;
|
|
3164
|
+
var i = Dt.exec(t);
|
|
3143
3165
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3144
3166
|
};
|
|
3145
3167
|
} else
|
|
3146
|
-
|
|
3168
|
+
st = function(t, r) {
|
|
3147
3169
|
for (var n = []; ; ) {
|
|
3148
|
-
var i =
|
|
3149
|
-
if (i === void 0 ||
|
|
3170
|
+
var i = Or(t, r);
|
|
3171
|
+
if (i === void 0 || Cr(i) || Ri(i))
|
|
3150
3172
|
break;
|
|
3151
3173
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3152
3174
|
}
|
|
3153
|
-
return
|
|
3175
|
+
return at.apply(void 0, n);
|
|
3154
3176
|
};
|
|
3155
|
-
var
|
|
3177
|
+
var Li = (
|
|
3156
3178
|
/** @class */
|
|
3157
3179
|
function() {
|
|
3158
3180
|
function e(t, r) {
|
|
@@ -3183,7 +3205,7 @@ var Hi = (
|
|
|
3183
3205
|
if (n)
|
|
3184
3206
|
break;
|
|
3185
3207
|
return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3186
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3208
|
+
} else if (o === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
|
|
3187
3209
|
var a = this.parseTag(t, r);
|
|
3188
3210
|
if (a.err)
|
|
3189
3211
|
return a;
|
|
@@ -3216,7 +3238,7 @@ var Hi = (
|
|
|
3216
3238
|
return o;
|
|
3217
3239
|
var a = o.val, s = this.clonePosition();
|
|
3218
3240
|
if (this.bumpIf("</")) {
|
|
3219
|
-
if (this.isEOF() || !
|
|
3241
|
+
if (this.isEOF() || !lt(this.char()))
|
|
3220
3242
|
return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
|
|
3221
3243
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3222
3244
|
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3234,7 +3256,7 @@ var Hi = (
|
|
|
3234
3256
|
return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
|
|
3235
3257
|
}, e.prototype.parseTagName = function() {
|
|
3236
3258
|
var t = this.offset();
|
|
3237
|
-
for (this.bump(); !this.isEOF() &&
|
|
3259
|
+
for (this.bump(); !this.isEOF() && Fi(this.char()); )
|
|
3238
3260
|
this.bump();
|
|
3239
3261
|
return this.message.slice(t, this.offset());
|
|
3240
3262
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3263,7 +3285,7 @@ var Hi = (
|
|
|
3263
3285
|
};
|
|
3264
3286
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3265
3287
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3266
|
-
!
|
|
3288
|
+
!Ci(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3267
3289
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3268
3290
|
if (this.isEOF() || this.char() !== 39)
|
|
3269
3291
|
return null;
|
|
@@ -3297,12 +3319,12 @@ var Hi = (
|
|
|
3297
3319
|
r.push(n);
|
|
3298
3320
|
this.bump();
|
|
3299
3321
|
}
|
|
3300
|
-
return
|
|
3322
|
+
return at.apply(void 0, r);
|
|
3301
3323
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3302
3324
|
if (this.isEOF())
|
|
3303
3325
|
return null;
|
|
3304
3326
|
var n = this.char();
|
|
3305
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3327
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), at(n));
|
|
3306
3328
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3307
3329
|
var n = this.clonePosition();
|
|
3308
3330
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3331,7 +3353,7 @@ var Hi = (
|
|
|
3331
3353
|
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3332
3354
|
}
|
|
3333
3355
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3334
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3356
|
+
var t = this.clonePosition(), r = this.offset(), n = st(this.message, r), i = r + n.length;
|
|
3335
3357
|
this.bumpTo(i);
|
|
3336
3358
|
var o = this.clonePosition(), a = x(t, o);
|
|
3337
3359
|
return { value: n, location: a };
|
|
@@ -3350,7 +3372,7 @@ var Hi = (
|
|
|
3350
3372
|
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3351
3373
|
if (d.err)
|
|
3352
3374
|
return d;
|
|
3353
|
-
var f =
|
|
3375
|
+
var f = Oi(d.val);
|
|
3354
3376
|
if (f.length === 0)
|
|
3355
3377
|
return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3356
3378
|
var p = x(h, this.clonePosition());
|
|
@@ -3360,8 +3382,8 @@ var Hi = (
|
|
|
3360
3382
|
if (g.err)
|
|
3361
3383
|
return g;
|
|
3362
3384
|
var v = x(i, this.clonePosition());
|
|
3363
|
-
if (u &&
|
|
3364
|
-
var A =
|
|
3385
|
+
if (u && Rt(u?.style, "::", 0)) {
|
|
3386
|
+
var A = Mi(u.style.slice(2));
|
|
3365
3387
|
if (s === "number") {
|
|
3366
3388
|
var d = this.parseNumberSkeletonFromString(A, u.styleLocation);
|
|
3367
3389
|
return d.err ? d : {
|
|
@@ -3372,12 +3394,12 @@ var Hi = (
|
|
|
3372
3394
|
if (A.length === 0)
|
|
3373
3395
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3374
3396
|
var S = A;
|
|
3375
|
-
this.locale && (S =
|
|
3397
|
+
this.locale && (S = yi(A, this.locale));
|
|
3376
3398
|
var f = {
|
|
3377
3399
|
type: ie.dateTime,
|
|
3378
3400
|
pattern: S,
|
|
3379
3401
|
location: u.styleLocation,
|
|
3380
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3402
|
+
parsedOptions: this.shouldParseSkeletons ? fi(S) : {}
|
|
3381
3403
|
}, b = s === "date" ? I.date : I.time;
|
|
3382
3404
|
return {
|
|
3383
3405
|
val: { type: b, value: n, location: v, style: f },
|
|
@@ -3423,7 +3445,7 @@ var Hi = (
|
|
|
3423
3445
|
val: {
|
|
3424
3446
|
type: I.select,
|
|
3425
3447
|
value: n,
|
|
3426
|
-
options:
|
|
3448
|
+
options: Ut(z.val),
|
|
3427
3449
|
location: Y
|
|
3428
3450
|
},
|
|
3429
3451
|
err: null
|
|
@@ -3431,7 +3453,7 @@ var Hi = (
|
|
|
3431
3453
|
val: {
|
|
3432
3454
|
type: I.plural,
|
|
3433
3455
|
value: n,
|
|
3434
|
-
options:
|
|
3456
|
+
options: Ut(z.val),
|
|
3435
3457
|
offset: T,
|
|
3436
3458
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3437
3459
|
location: Y
|
|
@@ -3482,7 +3504,7 @@ var Hi = (
|
|
|
3482
3504
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3483
3505
|
var n = [];
|
|
3484
3506
|
try {
|
|
3485
|
-
n =
|
|
3507
|
+
n = mi(t);
|
|
3486
3508
|
} catch {
|
|
3487
3509
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3488
3510
|
}
|
|
@@ -3491,7 +3513,7 @@ var Hi = (
|
|
|
3491
3513
|
type: ie.number,
|
|
3492
3514
|
tokens: n,
|
|
3493
3515
|
location: r,
|
|
3494
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3516
|
+
parsedOptions: this.shouldParseSkeletons ? bi(n) : {}
|
|
3495
3517
|
},
|
|
3496
3518
|
err: null
|
|
3497
3519
|
};
|
|
@@ -3539,7 +3561,7 @@ var Hi = (
|
|
|
3539
3561
|
break;
|
|
3540
3562
|
}
|
|
3541
3563
|
var l = x(i, this.clonePosition());
|
|
3542
|
-
return o ? (a *= n,
|
|
3564
|
+
return o ? (a *= n, Hi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3543
3565
|
}, e.prototype.offset = function() {
|
|
3544
3566
|
return this.position.offset;
|
|
3545
3567
|
}, e.prototype.isEOF = function() {
|
|
@@ -3554,7 +3576,7 @@ var Hi = (
|
|
|
3554
3576
|
var t = this.position.offset;
|
|
3555
3577
|
if (t >= this.message.length)
|
|
3556
3578
|
throw Error("out of bound");
|
|
3557
|
-
var r =
|
|
3579
|
+
var r = Or(this.message, t);
|
|
3558
3580
|
if (r === void 0)
|
|
3559
3581
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3560
3582
|
return r;
|
|
@@ -3573,7 +3595,7 @@ var Hi = (
|
|
|
3573
3595
|
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);
|
|
3574
3596
|
}
|
|
3575
3597
|
}, e.prototype.bumpIf = function(t) {
|
|
3576
|
-
if (
|
|
3598
|
+
if (Rt(this.message, t, this.offset())) {
|
|
3577
3599
|
for (var r = 0; r < t.length; r++)
|
|
3578
3600
|
this.bump();
|
|
3579
3601
|
return !0;
|
|
@@ -3595,7 +3617,7 @@ var Hi = (
|
|
|
3595
3617
|
break;
|
|
3596
3618
|
}
|
|
3597
3619
|
}, e.prototype.bumpSpace = function() {
|
|
3598
|
-
for (; !this.isEOF() &&
|
|
3620
|
+
for (; !this.isEOF() && Cr(this.char()); )
|
|
3599
3621
|
this.bump();
|
|
3600
3622
|
}, e.prototype.peek = function() {
|
|
3601
3623
|
if (this.isEOF())
|
|
@@ -3605,38 +3627,38 @@ var Hi = (
|
|
|
3605
3627
|
}, e;
|
|
3606
3628
|
}()
|
|
3607
3629
|
);
|
|
3608
|
-
function
|
|
3630
|
+
function lt(e) {
|
|
3609
3631
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3610
3632
|
}
|
|
3611
|
-
function
|
|
3612
|
-
return
|
|
3633
|
+
function Ci(e) {
|
|
3634
|
+
return lt(e) || e === 47;
|
|
3613
3635
|
}
|
|
3614
|
-
function
|
|
3636
|
+
function Fi(e) {
|
|
3615
3637
|
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;
|
|
3616
3638
|
}
|
|
3617
|
-
function
|
|
3639
|
+
function Cr(e) {
|
|
3618
3640
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3619
3641
|
}
|
|
3620
|
-
function
|
|
3642
|
+
function Ri(e) {
|
|
3621
3643
|
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;
|
|
3622
3644
|
}
|
|
3623
|
-
function
|
|
3645
|
+
function ut(e) {
|
|
3624
3646
|
e.forEach(function(t) {
|
|
3625
|
-
if (delete t.location,
|
|
3647
|
+
if (delete t.location, Sr(t) || Ir(t))
|
|
3626
3648
|
for (var r in t.options)
|
|
3627
|
-
delete t.options[r].location,
|
|
3649
|
+
delete t.options[r].location, ut(t.options[r].value);
|
|
3628
3650
|
else
|
|
3629
|
-
|
|
3651
|
+
wr(t) && Ar(t.style) || (Er(t) || Nr(t)) && it(t.style) ? delete t.style.location : Br(t) && ut(t.children);
|
|
3630
3652
|
});
|
|
3631
3653
|
}
|
|
3632
|
-
function
|
|
3654
|
+
function Ui(e, t) {
|
|
3633
3655
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3634
|
-
var r = new
|
|
3656
|
+
var r = new Li(e, t).parse();
|
|
3635
3657
|
if (r.err) {
|
|
3636
3658
|
var n = SyntaxError(_[r.err.kind]);
|
|
3637
3659
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3638
3660
|
}
|
|
3639
|
-
return t?.captureLocation ||
|
|
3661
|
+
return t?.captureLocation || ut(r.val), r.val;
|
|
3640
3662
|
}
|
|
3641
3663
|
var oe;
|
|
3642
3664
|
(function(e) {
|
|
@@ -3654,7 +3676,7 @@ var Ce = (
|
|
|
3654
3676
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3655
3677
|
}, t;
|
|
3656
3678
|
}(Error)
|
|
3657
|
-
),
|
|
3679
|
+
), Gt = (
|
|
3658
3680
|
/** @class */
|
|
3659
3681
|
function(e) {
|
|
3660
3682
|
j(t, e);
|
|
@@ -3663,7 +3685,7 @@ var Ce = (
|
|
|
3663
3685
|
}
|
|
3664
3686
|
return t;
|
|
3665
3687
|
}(Ce)
|
|
3666
|
-
),
|
|
3688
|
+
), Di = (
|
|
3667
3689
|
/** @class */
|
|
3668
3690
|
function(e) {
|
|
3669
3691
|
j(t, e);
|
|
@@ -3672,7 +3694,7 @@ var Ce = (
|
|
|
3672
3694
|
}
|
|
3673
3695
|
return t;
|
|
3674
3696
|
}(Ce)
|
|
3675
|
-
),
|
|
3697
|
+
), Gi = (
|
|
3676
3698
|
/** @class */
|
|
3677
3699
|
function(e) {
|
|
3678
3700
|
j(t, e);
|
|
@@ -3685,17 +3707,17 @@ var Ce = (
|
|
|
3685
3707
|
(function(e) {
|
|
3686
3708
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3687
3709
|
})(O || (O = {}));
|
|
3688
|
-
function
|
|
3710
|
+
function $i(e) {
|
|
3689
3711
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3690
3712
|
var n = t[t.length - 1];
|
|
3691
3713
|
return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
|
|
3692
3714
|
}, []);
|
|
3693
3715
|
}
|
|
3694
|
-
function
|
|
3716
|
+
function ki(e) {
|
|
3695
3717
|
return typeof e == "function";
|
|
3696
3718
|
}
|
|
3697
3719
|
function Be(e, t, r, n, i, o, a) {
|
|
3698
|
-
if (e.length === 1 &&
|
|
3720
|
+
if (e.length === 1 && Ot(e[0]))
|
|
3699
3721
|
return [
|
|
3700
3722
|
{
|
|
3701
3723
|
type: O.literal,
|
|
@@ -3704,14 +3726,14 @@ function Be(e, t, r, n, i, o, a) {
|
|
|
3704
3726
|
];
|
|
3705
3727
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3706
3728
|
var h = u[l];
|
|
3707
|
-
if (
|
|
3729
|
+
if (Ot(h)) {
|
|
3708
3730
|
s.push({
|
|
3709
3731
|
type: O.literal,
|
|
3710
3732
|
value: h.value
|
|
3711
3733
|
});
|
|
3712
3734
|
continue;
|
|
3713
3735
|
}
|
|
3714
|
-
if (
|
|
3736
|
+
if (hi(h)) {
|
|
3715
3737
|
typeof o == "number" && s.push({
|
|
3716
3738
|
type: O.literal,
|
|
3717
3739
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3720,43 +3742,43 @@ function Be(e, t, r, n, i, o, a) {
|
|
|
3720
3742
|
}
|
|
3721
3743
|
var d = h.value;
|
|
3722
3744
|
if (!(i && d in i))
|
|
3723
|
-
throw new
|
|
3745
|
+
throw new Gi(d, a);
|
|
3724
3746
|
var f = i[d];
|
|
3725
|
-
if (
|
|
3747
|
+
if (ui(h)) {
|
|
3726
3748
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3727
3749
|
type: typeof f == "string" ? O.literal : O.object,
|
|
3728
3750
|
value: f
|
|
3729
3751
|
});
|
|
3730
3752
|
continue;
|
|
3731
3753
|
}
|
|
3732
|
-
if (
|
|
3733
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3754
|
+
if (Er(h)) {
|
|
3755
|
+
var p = typeof h.style == "string" ? n.date[h.style] : it(h.style) ? h.style.parsedOptions : void 0;
|
|
3734
3756
|
s.push({
|
|
3735
3757
|
type: O.literal,
|
|
3736
3758
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3737
3759
|
});
|
|
3738
3760
|
continue;
|
|
3739
3761
|
}
|
|
3740
|
-
if (
|
|
3741
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3762
|
+
if (Nr(h)) {
|
|
3763
|
+
var p = typeof h.style == "string" ? n.time[h.style] : it(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3742
3764
|
s.push({
|
|
3743
3765
|
type: O.literal,
|
|
3744
3766
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3745
3767
|
});
|
|
3746
3768
|
continue;
|
|
3747
3769
|
}
|
|
3748
|
-
if (
|
|
3749
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3770
|
+
if (wr(h)) {
|
|
3771
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Ar(h.style) ? h.style.parsedOptions : void 0;
|
|
3750
3772
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3751
3773
|
type: O.literal,
|
|
3752
3774
|
value: r.getNumberFormat(t, p).format(f)
|
|
3753
3775
|
});
|
|
3754
3776
|
continue;
|
|
3755
3777
|
}
|
|
3756
|
-
if (
|
|
3778
|
+
if (Br(h)) {
|
|
3757
3779
|
var g = h.children, v = h.value, A = i[v];
|
|
3758
|
-
if (!
|
|
3759
|
-
throw new
|
|
3780
|
+
if (!ki(A))
|
|
3781
|
+
throw new Di(v, "function", a);
|
|
3760
3782
|
var S = Be(g, t, r, n, i, o), b = A(S.map(function(T) {
|
|
3761
3783
|
return T.value;
|
|
3762
3784
|
}));
|
|
@@ -3767,14 +3789,14 @@ function Be(e, t, r, n, i, o, a) {
|
|
|
3767
3789
|
};
|
|
3768
3790
|
}));
|
|
3769
3791
|
}
|
|
3770
|
-
if (
|
|
3792
|
+
if (Sr(h)) {
|
|
3771
3793
|
var N = h.options[f] || h.options.other;
|
|
3772
3794
|
if (!N)
|
|
3773
|
-
throw new
|
|
3795
|
+
throw new Gt(h.value, f, Object.keys(h.options), a);
|
|
3774
3796
|
s.push.apply(s, Be(N.value, t, r, n, i));
|
|
3775
3797
|
continue;
|
|
3776
3798
|
}
|
|
3777
|
-
if (
|
|
3799
|
+
if (Ir(h)) {
|
|
3778
3800
|
var N = h.options["=".concat(f)];
|
|
3779
3801
|
if (!N) {
|
|
3780
3802
|
if (!Intl.PluralRules)
|
|
@@ -3785,24 +3807,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3785
3807
|
N = h.options[E] || h.options.other;
|
|
3786
3808
|
}
|
|
3787
3809
|
if (!N)
|
|
3788
|
-
throw new
|
|
3810
|
+
throw new Gt(h.value, f, Object.keys(h.options), a);
|
|
3789
3811
|
s.push.apply(s, Be(N.value, t, r, n, i, f - (h.offset || 0)));
|
|
3790
3812
|
continue;
|
|
3791
3813
|
}
|
|
3792
3814
|
}
|
|
3793
|
-
return
|
|
3815
|
+
return $i(s);
|
|
3794
3816
|
}
|
|
3795
|
-
function
|
|
3817
|
+
function ji(e, t) {
|
|
3796
3818
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3797
3819
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3798
3820
|
}, {})) : e;
|
|
3799
3821
|
}
|
|
3800
|
-
function
|
|
3822
|
+
function Wi(e, t) {
|
|
3801
3823
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3802
|
-
return r[n] =
|
|
3824
|
+
return r[n] = ji(e[n], t[n]), r;
|
|
3803
3825
|
}, w({}, e)) : e;
|
|
3804
3826
|
}
|
|
3805
|
-
function
|
|
3827
|
+
function Ze(e) {
|
|
3806
3828
|
return {
|
|
3807
3829
|
create: function() {
|
|
3808
3830
|
return {
|
|
@@ -3816,39 +3838,39 @@ function ze(e) {
|
|
|
3816
3838
|
}
|
|
3817
3839
|
};
|
|
3818
3840
|
}
|
|
3819
|
-
function
|
|
3841
|
+
function Vi(e) {
|
|
3820
3842
|
return e === void 0 && (e = {
|
|
3821
3843
|
number: {},
|
|
3822
3844
|
dateTime: {},
|
|
3823
3845
|
pluralRules: {}
|
|
3824
3846
|
}), {
|
|
3825
|
-
getNumberFormat:
|
|
3847
|
+
getNumberFormat: Ve(function() {
|
|
3826
3848
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3827
3849
|
r[n] = arguments[n];
|
|
3828
3850
|
return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3829
3851
|
}, {
|
|
3830
|
-
cache:
|
|
3831
|
-
strategy:
|
|
3852
|
+
cache: Ze(e.number),
|
|
3853
|
+
strategy: Xe.variadic
|
|
3832
3854
|
}),
|
|
3833
|
-
getDateTimeFormat:
|
|
3855
|
+
getDateTimeFormat: Ve(function() {
|
|
3834
3856
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3835
3857
|
r[n] = arguments[n];
|
|
3836
3858
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3837
3859
|
}, {
|
|
3838
|
-
cache:
|
|
3839
|
-
strategy:
|
|
3860
|
+
cache: Ze(e.dateTime),
|
|
3861
|
+
strategy: Xe.variadic
|
|
3840
3862
|
}),
|
|
3841
|
-
getPluralRules:
|
|
3863
|
+
getPluralRules: Ve(function() {
|
|
3842
3864
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3843
3865
|
r[n] = arguments[n];
|
|
3844
3866
|
return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
|
|
3845
3867
|
}, {
|
|
3846
|
-
cache:
|
|
3847
|
-
strategy:
|
|
3868
|
+
cache: Ze(e.pluralRules),
|
|
3869
|
+
strategy: Xe.variadic
|
|
3848
3870
|
})
|
|
3849
3871
|
};
|
|
3850
3872
|
}
|
|
3851
|
-
var
|
|
3873
|
+
var Xi = (
|
|
3852
3874
|
/** @class */
|
|
3853
3875
|
function() {
|
|
3854
3876
|
function e(t, r, n, i) {
|
|
@@ -3880,13 +3902,13 @@ var ji = (
|
|
|
3880
3902
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3881
3903
|
var a = i || {};
|
|
3882
3904
|
a.formatters;
|
|
3883
|
-
var s =
|
|
3905
|
+
var s = Sn(a, ["formatters"]);
|
|
3884
3906
|
this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
|
|
3885
3907
|
} else
|
|
3886
3908
|
this.ast = t;
|
|
3887
3909
|
if (!Array.isArray(this.ast))
|
|
3888
3910
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3889
|
-
this.formats =
|
|
3911
|
+
this.formats = Wi(e.formats, n), this.formatters = i && i.formatters || Vi(this.formatterCache);
|
|
3890
3912
|
}
|
|
3891
3913
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3892
3914
|
get: function() {
|
|
@@ -3899,7 +3921,7 @@ var ji = (
|
|
|
3899
3921
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3900
3922
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3901
3923
|
}
|
|
3902
|
-
}, e.__parse =
|
|
3924
|
+
}, e.__parse = Ui, e.formats = {
|
|
3903
3925
|
number: {
|
|
3904
3926
|
integer: {
|
|
3905
3927
|
maximumFractionDigits: 0
|
|
@@ -3960,7 +3982,7 @@ var ji = (
|
|
|
3960
3982
|
}, e;
|
|
3961
3983
|
}()
|
|
3962
3984
|
);
|
|
3963
|
-
function
|
|
3985
|
+
function zi(e, t) {
|
|
3964
3986
|
if (t == null)
|
|
3965
3987
|
return;
|
|
3966
3988
|
if (t in e)
|
|
@@ -3981,92 +4003,92 @@ function Wi(e, t) {
|
|
|
3981
4003
|
n = void 0;
|
|
3982
4004
|
return n;
|
|
3983
4005
|
}
|
|
3984
|
-
const V = {},
|
|
4006
|
+
const V = {}, Zi = (e, t, r) => r && (t in V || (V[t] = {}), e in V[t] || (V[t][e] = r), r), Fr = (e, t) => {
|
|
3985
4007
|
if (t == null)
|
|
3986
4008
|
return;
|
|
3987
4009
|
if (t in V && e in V[t])
|
|
3988
4010
|
return V[t][e];
|
|
3989
4011
|
const r = Fe(t);
|
|
3990
4012
|
for (let n = 0; n < r.length; n++) {
|
|
3991
|
-
const i = r[n], o =
|
|
4013
|
+
const i = r[n], o = Yi(i, e);
|
|
3992
4014
|
if (o)
|
|
3993
|
-
return
|
|
4015
|
+
return Zi(e, t, o);
|
|
3994
4016
|
}
|
|
3995
4017
|
};
|
|
3996
|
-
let
|
|
4018
|
+
let gt;
|
|
3997
4019
|
const ye = Le({});
|
|
3998
|
-
function
|
|
3999
|
-
return
|
|
4020
|
+
function Qi(e) {
|
|
4021
|
+
return gt[e] || null;
|
|
4000
4022
|
}
|
|
4001
|
-
function
|
|
4002
|
-
return e in
|
|
4023
|
+
function Rr(e) {
|
|
4024
|
+
return e in gt;
|
|
4003
4025
|
}
|
|
4004
|
-
function
|
|
4005
|
-
if (!
|
|
4026
|
+
function Yi(e, t) {
|
|
4027
|
+
if (!Rr(e))
|
|
4006
4028
|
return null;
|
|
4007
|
-
const r =
|
|
4008
|
-
return
|
|
4029
|
+
const r = Qi(e);
|
|
4030
|
+
return zi(r, t);
|
|
4009
4031
|
}
|
|
4010
|
-
function
|
|
4032
|
+
function Ji(e) {
|
|
4011
4033
|
if (e == null)
|
|
4012
4034
|
return;
|
|
4013
4035
|
const t = Fe(e);
|
|
4014
4036
|
for (let r = 0; r < t.length; r++) {
|
|
4015
4037
|
const n = t[r];
|
|
4016
|
-
if (
|
|
4038
|
+
if (Rr(n))
|
|
4017
4039
|
return n;
|
|
4018
4040
|
}
|
|
4019
4041
|
}
|
|
4020
|
-
function
|
|
4021
|
-
delete V[e], ye.update((r) => (r[e] =
|
|
4042
|
+
function Ur(e, ...t) {
|
|
4043
|
+
delete V[e], ye.update((r) => (r[e] = ri.all([r[e] || {}, ...t]), r));
|
|
4022
4044
|
}
|
|
4023
4045
|
le(
|
|
4024
4046
|
[ye],
|
|
4025
4047
|
([e]) => Object.keys(e)
|
|
4026
4048
|
);
|
|
4027
|
-
ye.subscribe((e) =>
|
|
4049
|
+
ye.subscribe((e) => gt = e);
|
|
4028
4050
|
const Ae = {};
|
|
4029
|
-
function
|
|
4051
|
+
function qi(e, t) {
|
|
4030
4052
|
Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
|
|
4031
4053
|
}
|
|
4032
|
-
function
|
|
4054
|
+
function Dr(e) {
|
|
4033
4055
|
return Ae[e];
|
|
4034
4056
|
}
|
|
4035
|
-
function
|
|
4057
|
+
function Ki(e) {
|
|
4036
4058
|
return Fe(e).map((t) => {
|
|
4037
|
-
const r =
|
|
4059
|
+
const r = Dr(t);
|
|
4038
4060
|
return [t, r ? [...r] : []];
|
|
4039
4061
|
}).filter(([, t]) => t.length > 0);
|
|
4040
4062
|
}
|
|
4041
|
-
function
|
|
4063
|
+
function ht(e) {
|
|
4042
4064
|
return e == null ? !1 : Fe(e).some(
|
|
4043
4065
|
(t) => {
|
|
4044
4066
|
var r;
|
|
4045
|
-
return (r =
|
|
4067
|
+
return (r = Dr(t)) == null ? void 0 : r.size;
|
|
4046
4068
|
}
|
|
4047
4069
|
);
|
|
4048
4070
|
}
|
|
4049
|
-
function
|
|
4071
|
+
function eo(e, t) {
|
|
4050
4072
|
return Promise.all(
|
|
4051
|
-
t.map((n) => (
|
|
4052
|
-
).then((n) =>
|
|
4073
|
+
t.map((n) => (qi(e, n), n().then((i) => i.default || i)))
|
|
4074
|
+
).then((n) => Ur(e, ...n));
|
|
4053
4075
|
}
|
|
4054
4076
|
const fe = {};
|
|
4055
|
-
function
|
|
4056
|
-
if (!
|
|
4077
|
+
function Gr(e) {
|
|
4078
|
+
if (!ht(e))
|
|
4057
4079
|
return e in fe ? fe[e] : Promise.resolve();
|
|
4058
|
-
const t =
|
|
4080
|
+
const t = Ki(e);
|
|
4059
4081
|
return fe[e] = Promise.all(
|
|
4060
4082
|
t.map(
|
|
4061
|
-
([r, n]) =>
|
|
4083
|
+
([r, n]) => eo(r, n)
|
|
4062
4084
|
)
|
|
4063
4085
|
).then(() => {
|
|
4064
|
-
if (
|
|
4065
|
-
return
|
|
4086
|
+
if (ht(e))
|
|
4087
|
+
return Gr(e);
|
|
4066
4088
|
delete fe[e];
|
|
4067
4089
|
}), fe[e];
|
|
4068
4090
|
}
|
|
4069
|
-
const
|
|
4091
|
+
const to = {
|
|
4070
4092
|
number: {
|
|
4071
4093
|
scientific: { notation: "scientific" },
|
|
4072
4094
|
engineering: { notation: "engineering" },
|
|
@@ -4095,57 +4117,57 @@ const qi = {
|
|
|
4095
4117
|
timeZoneName: "short"
|
|
4096
4118
|
}
|
|
4097
4119
|
}
|
|
4098
|
-
},
|
|
4120
|
+
}, ro = {
|
|
4099
4121
|
fallbackLocale: null,
|
|
4100
4122
|
loadingDelay: 200,
|
|
4101
|
-
formats:
|
|
4123
|
+
formats: to,
|
|
4102
4124
|
warnOnMissingMessages: !0,
|
|
4103
4125
|
handleMissingMessage: void 0,
|
|
4104
4126
|
ignoreTag: !0
|
|
4105
|
-
},
|
|
4127
|
+
}, no = ro;
|
|
4106
4128
|
function ae() {
|
|
4107
|
-
return
|
|
4129
|
+
return no;
|
|
4108
4130
|
}
|
|
4109
|
-
const
|
|
4110
|
-
var
|
|
4131
|
+
const Qe = Le(!1);
|
|
4132
|
+
var io = Object.defineProperty, oo = Object.defineProperties, ao = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, so = Object.prototype.hasOwnProperty, lo = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, uo = (e, t) => {
|
|
4111
4133
|
for (var r in t || (t = {}))
|
|
4112
|
-
|
|
4113
|
-
if (
|
|
4114
|
-
for (var r of
|
|
4115
|
-
|
|
4134
|
+
so.call(t, r) && kt(e, r, t[r]);
|
|
4135
|
+
if ($t)
|
|
4136
|
+
for (var r of $t(t))
|
|
4137
|
+
lo.call(t, r) && kt(e, r, t[r]);
|
|
4116
4138
|
return e;
|
|
4117
|
-
},
|
|
4118
|
-
let
|
|
4119
|
-
const
|
|
4120
|
-
function
|
|
4139
|
+
}, ho = (e, t) => oo(e, ao(t));
|
|
4140
|
+
let ct;
|
|
4141
|
+
const He = Le(null);
|
|
4142
|
+
function jt(e) {
|
|
4121
4143
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4122
4144
|
}
|
|
4123
4145
|
function Fe(e, t = ae().fallbackLocale) {
|
|
4124
|
-
const r =
|
|
4125
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4146
|
+
const r = jt(e);
|
|
4147
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...jt(t)])] : r;
|
|
4126
4148
|
}
|
|
4127
4149
|
function Q() {
|
|
4128
|
-
return
|
|
4150
|
+
return ct ?? void 0;
|
|
4129
4151
|
}
|
|
4130
|
-
|
|
4131
|
-
|
|
4152
|
+
He.subscribe((e) => {
|
|
4153
|
+
ct = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4132
4154
|
});
|
|
4133
|
-
const
|
|
4134
|
-
if (e &&
|
|
4155
|
+
const co = (e) => {
|
|
4156
|
+
if (e && Ji(e) && ht(e)) {
|
|
4135
4157
|
const { loadingDelay: t } = ae();
|
|
4136
4158
|
let r;
|
|
4137
4159
|
return typeof window < "u" && Q() != null && t ? r = window.setTimeout(
|
|
4138
|
-
() =>
|
|
4160
|
+
() => Qe.set(!0),
|
|
4139
4161
|
t
|
|
4140
|
-
) :
|
|
4141
|
-
|
|
4162
|
+
) : Qe.set(!0), Gr(e).then(() => {
|
|
4163
|
+
He.set(e);
|
|
4142
4164
|
}).finally(() => {
|
|
4143
|
-
clearTimeout(r),
|
|
4165
|
+
clearTimeout(r), Qe.set(!1);
|
|
4144
4166
|
});
|
|
4145
4167
|
}
|
|
4146
|
-
return
|
|
4147
|
-
}, ue =
|
|
4148
|
-
set:
|
|
4168
|
+
return He.set(e);
|
|
4169
|
+
}, ue = ho(uo({}, He), {
|
|
4170
|
+
set: co
|
|
4149
4171
|
}), Re = (e) => {
|
|
4150
4172
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4151
4173
|
return (n) => {
|
|
@@ -4153,20 +4175,20 @@ const lo = (e) => {
|
|
|
4153
4175
|
return i in t ? t[i] : t[i] = e(n);
|
|
4154
4176
|
};
|
|
4155
4177
|
};
|
|
4156
|
-
var
|
|
4178
|
+
var fo = Object.defineProperty, Pe = Object.getOwnPropertySymbols, $r = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? fo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
|
|
4157
4179
|
for (var r in t || (t = {}))
|
|
4158
|
-
|
|
4159
|
-
if (
|
|
4160
|
-
for (var r of
|
|
4161
|
-
|
|
4180
|
+
$r.call(t, r) && Wt(e, r, t[r]);
|
|
4181
|
+
if (Pe)
|
|
4182
|
+
for (var r of Pe(t))
|
|
4183
|
+
kr.call(t, r) && Wt(e, r, t[r]);
|
|
4162
4184
|
return e;
|
|
4163
4185
|
}, he = (e, t) => {
|
|
4164
4186
|
var r = {};
|
|
4165
4187
|
for (var n in e)
|
|
4166
|
-
|
|
4167
|
-
if (e != null &&
|
|
4168
|
-
for (var n of
|
|
4169
|
-
t.indexOf(n) < 0 &&
|
|
4188
|
+
$r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4189
|
+
if (e != null && Pe)
|
|
4190
|
+
for (var n of Pe(e))
|
|
4191
|
+
t.indexOf(n) < 0 && kr.call(e, n) && (r[n] = e[n]);
|
|
4170
4192
|
return r;
|
|
4171
4193
|
};
|
|
4172
4194
|
const ve = (e, t) => {
|
|
@@ -4174,21 +4196,21 @@ const ve = (e, t) => {
|
|
|
4174
4196
|
if (e in r && t in r[e])
|
|
4175
4197
|
return r[e][t];
|
|
4176
4198
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4177
|
-
},
|
|
4199
|
+
}, mo = Re(
|
|
4178
4200
|
(e) => {
|
|
4179
4201
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4180
4202
|
if (r == null)
|
|
4181
4203
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4182
4204
|
return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
|
|
4183
4205
|
}
|
|
4184
|
-
),
|
|
4206
|
+
), po = Re(
|
|
4185
4207
|
(e) => {
|
|
4186
4208
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4187
4209
|
if (r == null)
|
|
4188
4210
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4189
4211
|
return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4190
4212
|
}
|
|
4191
|
-
),
|
|
4213
|
+
), go = Re(
|
|
4192
4214
|
(e) => {
|
|
4193
4215
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4194
4216
|
if (r == null)
|
|
@@ -4197,33 +4219,33 @@ const ve = (e, t) => {
|
|
|
4197
4219
|
);
|
|
4198
4220
|
return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4199
4221
|
}
|
|
4200
|
-
),
|
|
4222
|
+
), vo = (e = {}) => {
|
|
4201
4223
|
var t = e, {
|
|
4202
4224
|
locale: r = Q()
|
|
4203
4225
|
} = t, n = he(t, [
|
|
4204
4226
|
"locale"
|
|
4205
4227
|
]);
|
|
4206
|
-
return
|
|
4207
|
-
},
|
|
4228
|
+
return mo(vt({ locale: r }, n));
|
|
4229
|
+
}, bo = (e = {}) => {
|
|
4208
4230
|
var t = e, {
|
|
4209
4231
|
locale: r = Q()
|
|
4210
4232
|
} = t, n = he(t, [
|
|
4211
4233
|
"locale"
|
|
4212
4234
|
]);
|
|
4213
|
-
return
|
|
4214
|
-
},
|
|
4235
|
+
return po(vt({ locale: r }, n));
|
|
4236
|
+
}, yo = (e = {}) => {
|
|
4215
4237
|
var t = e, {
|
|
4216
4238
|
locale: r = Q()
|
|
4217
4239
|
} = t, n = he(t, [
|
|
4218
4240
|
"locale"
|
|
4219
4241
|
]);
|
|
4220
|
-
return
|
|
4221
|
-
},
|
|
4242
|
+
return go(vt({ locale: r }, n));
|
|
4243
|
+
}, _o = Re(
|
|
4222
4244
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4223
|
-
(e, t = Q()) => new
|
|
4245
|
+
(e, t = Q()) => new Xi(e, t, ae().formats, {
|
|
4224
4246
|
ignoreTag: ae().ignoreTag
|
|
4225
4247
|
})
|
|
4226
|
-
),
|
|
4248
|
+
), xo = (e, t = {}) => {
|
|
4227
4249
|
var r, n, i, o;
|
|
4228
4250
|
let a = t;
|
|
4229
4251
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4236,7 +4258,7 @@ const ve = (e, t) => {
|
|
|
4236
4258
|
throw new Error(
|
|
4237
4259
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4238
4260
|
);
|
|
4239
|
-
let h =
|
|
4261
|
+
let h = Fr(e, l);
|
|
4240
4262
|
if (!h)
|
|
4241
4263
|
h = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4242
4264
|
else if (typeof h != "string")
|
|
@@ -4247,7 +4269,7 @@ const ve = (e, t) => {
|
|
|
4247
4269
|
return h;
|
|
4248
4270
|
let d = h;
|
|
4249
4271
|
try {
|
|
4250
|
-
d =
|
|
4272
|
+
d = _o(h, l).format(s);
|
|
4251
4273
|
} catch (f) {
|
|
4252
4274
|
f instanceof Error && console.warn(
|
|
4253
4275
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4255,20 +4277,20 @@ const ve = (e, t) => {
|
|
|
4255
4277
|
);
|
|
4256
4278
|
}
|
|
4257
4279
|
return d;
|
|
4258
|
-
},
|
|
4259
|
-
le([ue], () =>
|
|
4260
|
-
le([ue], () =>
|
|
4261
|
-
le([ue], () =>
|
|
4262
|
-
le([ue, ye], () =>
|
|
4263
|
-
window.emWidgets = { topic:
|
|
4264
|
-
const
|
|
4265
|
-
function
|
|
4266
|
-
|
|
4267
|
-
}
|
|
4268
|
-
function
|
|
4280
|
+
}, wo = (e, t) => yo(t).format(e), Eo = (e, t) => bo(t).format(e), No = (e, t) => vo(t).format(e), So = (e, t = Q()) => Fr(e, t), Io = le([ue, ye], () => xo);
|
|
4281
|
+
le([ue], () => wo);
|
|
4282
|
+
le([ue], () => Eo);
|
|
4283
|
+
le([ue], () => No);
|
|
4284
|
+
le([ue, ye], () => So);
|
|
4285
|
+
window.emWidgets = { topic: Dn };
|
|
4286
|
+
const Vt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4287
|
+
function Xt(e, t) {
|
|
4288
|
+
Ur(e, t);
|
|
4289
|
+
}
|
|
4290
|
+
function Bo(e) {
|
|
4269
4291
|
ue.set(e);
|
|
4270
4292
|
}
|
|
4271
|
-
const
|
|
4293
|
+
const zt = {
|
|
4272
4294
|
en: {
|
|
4273
4295
|
secondaryMenuTitle: "Categories"
|
|
4274
4296
|
},
|
|
@@ -4303,13 +4325,13 @@ const Wt = {
|
|
|
4303
4325
|
secondaryMenuTitle: "Categories"
|
|
4304
4326
|
}
|
|
4305
4327
|
};
|
|
4306
|
-
function
|
|
4328
|
+
function Ao(e, t) {
|
|
4307
4329
|
if (e) {
|
|
4308
4330
|
const r = document.createElement("style");
|
|
4309
4331
|
r.innerHTML = t, e.appendChild(r);
|
|
4310
4332
|
}
|
|
4311
4333
|
}
|
|
4312
|
-
function
|
|
4334
|
+
function To(e, t) {
|
|
4313
4335
|
const r = new URL(t);
|
|
4314
4336
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4315
4337
|
const i = document.createElement("style");
|
|
@@ -4318,7 +4340,7 @@ function Io(e, t) {
|
|
|
4318
4340
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4319
4341
|
});
|
|
4320
4342
|
}
|
|
4321
|
-
function
|
|
4343
|
+
function Ho(e, t, r) {
|
|
4322
4344
|
if (window.emMessageBus) {
|
|
4323
4345
|
const n = document.createElement("style");
|
|
4324
4346
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4326,28 +4348,28 @@ function Bo(e, t, r) {
|
|
|
4326
4348
|
});
|
|
4327
4349
|
}
|
|
4328
4350
|
}
|
|
4329
|
-
function
|
|
4330
|
-
|
|
4351
|
+
function Po(e) {
|
|
4352
|
+
an(e, "svelte-gg2uu2", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.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}');
|
|
4331
4353
|
}
|
|
4332
|
-
function
|
|
4354
|
+
function Zt(e, t, r) {
|
|
4333
4355
|
const n = e.slice();
|
|
4334
4356
|
return n[44] = t[r], n[46] = r, n;
|
|
4335
4357
|
}
|
|
4336
|
-
function
|
|
4358
|
+
function Qt(e, t, r) {
|
|
4337
4359
|
const n = e.slice();
|
|
4338
4360
|
return n[44] = t[r], n;
|
|
4339
4361
|
}
|
|
4340
|
-
const
|
|
4341
|
-
function
|
|
4362
|
+
const Mo = (e) => ({}), Yt = (e) => ({});
|
|
4363
|
+
function Jt(e) {
|
|
4342
4364
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4343
|
-
e[6] &&
|
|
4365
|
+
e[6] && qt(e), u = Te(
|
|
4344
4366
|
/*primaryMenuSpliced*/
|
|
4345
4367
|
e[7]
|
|
4346
4368
|
), h = [];
|
|
4347
4369
|
for (let f = 0; f < u.length; f += 1)
|
|
4348
|
-
h[f] =
|
|
4370
|
+
h[f] = rr(Zt(e, u, f));
|
|
4349
4371
|
let d = !/*navigationBarSimple*/
|
|
4350
|
-
e[6] &&
|
|
4372
|
+
e[6] && nr(e);
|
|
4351
4373
|
return {
|
|
4352
4374
|
c() {
|
|
4353
4375
|
t = B("div"), l && l.c(), r = k(), n = B("div");
|
|
@@ -4367,10 +4389,10 @@ function Zt(e) {
|
|
|
4367
4389
|
},
|
|
4368
4390
|
p(f, p) {
|
|
4369
4391
|
if (/*navigationBarSimple*/
|
|
4370
|
-
f[6] ? l && (
|
|
4392
|
+
f[6] ? l && (ur(), pe(l, 1, 1, () => {
|
|
4371
4393
|
l = null;
|
|
4372
|
-
}),
|
|
4373
|
-
64 && X(l, 1)) : (l =
|
|
4394
|
+
}), hr()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
|
|
4395
|
+
64 && X(l, 1)) : (l = qt(f), l.c(), X(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
|
|
4374
4396
|
32928) {
|
|
4375
4397
|
u = Te(
|
|
4376
4398
|
/*primaryMenuSpliced*/
|
|
@@ -4378,15 +4400,15 @@ function Zt(e) {
|
|
|
4378
4400
|
);
|
|
4379
4401
|
let g;
|
|
4380
4402
|
for (g = 0; g < u.length; g += 1) {
|
|
4381
|
-
const v =
|
|
4382
|
-
h[g] ? h[g].p(v, p) : (h[g] =
|
|
4403
|
+
const v = Zt(f, u, g);
|
|
4404
|
+
h[g] ? h[g].p(v, p) : (h[g] = rr(v), h[g].c(), h[g].m(n, i));
|
|
4383
4405
|
}
|
|
4384
4406
|
for (; g < h.length; g += 1)
|
|
4385
4407
|
h[g].d(1);
|
|
4386
4408
|
h.length = u.length;
|
|
4387
4409
|
}
|
|
4388
4410
|
/*navigationBarSimple*/
|
|
4389
|
-
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d =
|
|
4411
|
+
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = nr(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4390
4412
|
80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4391
4413
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4392
4414
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
@@ -4401,11 +4423,11 @@ function Zt(e) {
|
|
|
4401
4423
|
pe(l), s = !1;
|
|
4402
4424
|
},
|
|
4403
4425
|
d(f) {
|
|
4404
|
-
f && L(t), l && l.d(),
|
|
4426
|
+
f && L(t), l && l.d(), lr(h, f), d && d.d();
|
|
4405
4427
|
}
|
|
4406
4428
|
};
|
|
4407
4429
|
}
|
|
4408
|
-
function
|
|
4430
|
+
function qt(e) {
|
|
4409
4431
|
let t, r, n, i, o = (
|
|
4410
4432
|
/*secondarymenutitle*/
|
|
4411
4433
|
(e[0] || /*$_*/
|
|
@@ -4414,19 +4436,19 @@ function Qt(e) {
|
|
|
4414
4436
|
const p = (
|
|
4415
4437
|
/*#slots*/
|
|
4416
4438
|
e[27].close
|
|
4417
|
-
), g =
|
|
4439
|
+
), g = tn(
|
|
4418
4440
|
p,
|
|
4419
4441
|
e,
|
|
4420
4442
|
/*$$scope*/
|
|
4421
4443
|
e[26],
|
|
4422
|
-
|
|
4423
|
-
), v = g ||
|
|
4444
|
+
Yt
|
|
4445
|
+
), v = g || Oo();
|
|
4424
4446
|
let A = Te(
|
|
4425
4447
|
/*secondaryMenu*/
|
|
4426
4448
|
e[8]
|
|
4427
4449
|
), S = [];
|
|
4428
4450
|
for (let b = 0; b < A.length; b += 1)
|
|
4429
|
-
S[b] =
|
|
4451
|
+
S[b] = er(Qt(e, A, b));
|
|
4430
4452
|
return {
|
|
4431
4453
|
c() {
|
|
4432
4454
|
t = B("div"), r = B("span"), v && v.c(), n = k(), i = B("h3"), a = be(o), s = k(), l = B("div");
|
|
@@ -4448,27 +4470,27 @@ function Qt(e) {
|
|
|
4448
4470
|
},
|
|
4449
4471
|
p(b, N) {
|
|
4450
4472
|
if (g && g.p && (!h || N[0] & /*$$scope*/
|
|
4451
|
-
67108864) &&
|
|
4473
|
+
67108864) && nn(
|
|
4452
4474
|
g,
|
|
4453
4475
|
p,
|
|
4454
4476
|
b,
|
|
4455
4477
|
/*$$scope*/
|
|
4456
4478
|
b[26],
|
|
4457
|
-
h ?
|
|
4479
|
+
h ? rn(
|
|
4458
4480
|
p,
|
|
4459
4481
|
/*$$scope*/
|
|
4460
4482
|
b[26],
|
|
4461
4483
|
N,
|
|
4462
|
-
|
|
4463
|
-
) :
|
|
4484
|
+
Mo
|
|
4485
|
+
) : on(
|
|
4464
4486
|
/*$$scope*/
|
|
4465
4487
|
b[26]
|
|
4466
4488
|
),
|
|
4467
|
-
|
|
4489
|
+
Yt
|
|
4468
4490
|
), (!h || N[0] & /*secondarymenutitle, $_*/
|
|
4469
4491
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4470
4492
|
(b[0] || /*$_*/
|
|
4471
|
-
b[12]("secondaryMenuTitle")) + "") &&
|
|
4493
|
+
b[12]("secondaryMenuTitle")) + "") && dt(a, o), N[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4472
4494
|
33056) {
|
|
4473
4495
|
A = Te(
|
|
4474
4496
|
/*secondaryMenu*/
|
|
@@ -4476,8 +4498,8 @@ function Qt(e) {
|
|
|
4476
4498
|
);
|
|
4477
4499
|
let E;
|
|
4478
4500
|
for (E = 0; E < A.length; E += 1) {
|
|
4479
|
-
const T =
|
|
4480
|
-
S[E] ? S[E].p(T, N) : (S[E] =
|
|
4501
|
+
const T = Qt(b, A, E);
|
|
4502
|
+
S[E] ? S[E].p(T, N) : (S[E] = er(T), S[E].c(), S[E].m(l, null));
|
|
4481
4503
|
}
|
|
4482
4504
|
for (; E < S.length; E += 1)
|
|
4483
4505
|
S[E].d(1);
|
|
@@ -4494,15 +4516,15 @@ function Qt(e) {
|
|
|
4494
4516
|
pe(v, b), h = !1;
|
|
4495
4517
|
},
|
|
4496
4518
|
d(b) {
|
|
4497
|
-
b && L(t), v && v.d(b),
|
|
4519
|
+
b && L(t), v && v.d(b), lr(S, b), d = !1, f();
|
|
4498
4520
|
}
|
|
4499
4521
|
};
|
|
4500
4522
|
}
|
|
4501
|
-
function
|
|
4523
|
+
function Oo(e) {
|
|
4502
4524
|
let t, r;
|
|
4503
4525
|
return {
|
|
4504
4526
|
c() {
|
|
4505
|
-
t =
|
|
4527
|
+
t = P("svg"), r = P("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");
|
|
4506
4528
|
},
|
|
4507
4529
|
m(n, i) {
|
|
4508
4530
|
C(n, t, i), y(t, r);
|
|
@@ -4513,7 +4535,7 @@ function Po(e) {
|
|
|
4513
4535
|
}
|
|
4514
4536
|
};
|
|
4515
4537
|
}
|
|
4516
|
-
function
|
|
4538
|
+
function Kt(e) {
|
|
4517
4539
|
let t, r, n, i;
|
|
4518
4540
|
return {
|
|
4519
4541
|
c() {
|
|
@@ -4536,13 +4558,13 @@ function Yt(e) {
|
|
|
4536
4558
|
}
|
|
4537
4559
|
};
|
|
4538
4560
|
}
|
|
4539
|
-
function
|
|
4561
|
+
function er(e) {
|
|
4540
4562
|
let t, r, n, i = (
|
|
4541
4563
|
/*item*/
|
|
4542
4564
|
e[44].label + ""
|
|
4543
4565
|
), o, a, s, l, u, h = (
|
|
4544
4566
|
/*item*/
|
|
4545
|
-
e[44].img &&
|
|
4567
|
+
e[44].img && Kt(e)
|
|
4546
4568
|
);
|
|
4547
4569
|
function d() {
|
|
4548
4570
|
return (
|
|
@@ -4564,9 +4586,9 @@ function Jt(e) {
|
|
|
4564
4586
|
},
|
|
4565
4587
|
p(f, p) {
|
|
4566
4588
|
e = f, /*item*/
|
|
4567
|
-
e[44].img ? h ? h.p(e, p) : (h =
|
|
4589
|
+
e[44].img ? h ? h.p(e, p) : (h = Kt(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
|
|
4568
4590
|
256 && i !== (i = /*item*/
|
|
4569
|
-
e[44].label + "") &&
|
|
4591
|
+
e[44].label + "") && dt(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4570
4592
|
288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4571
4593
|
(e[5] === /*item*/
|
|
4572
4594
|
e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
|
|
@@ -4576,7 +4598,7 @@ function Jt(e) {
|
|
|
4576
4598
|
}
|
|
4577
4599
|
};
|
|
4578
4600
|
}
|
|
4579
|
-
function
|
|
4601
|
+
function tr(e) {
|
|
4580
4602
|
let t, r, n, i;
|
|
4581
4603
|
return {
|
|
4582
4604
|
c() {
|
|
@@ -4599,13 +4621,13 @@ function qt(e) {
|
|
|
4599
4621
|
}
|
|
4600
4622
|
};
|
|
4601
4623
|
}
|
|
4602
|
-
function
|
|
4624
|
+
function rr(e) {
|
|
4603
4625
|
let t, r, n, i = (
|
|
4604
4626
|
/*item*/
|
|
4605
4627
|
e[44].label + ""
|
|
4606
4628
|
), o, a, s, l, u = (
|
|
4607
4629
|
/*item*/
|
|
4608
|
-
e[44].img &&
|
|
4630
|
+
e[44].img && tr(e)
|
|
4609
4631
|
);
|
|
4610
4632
|
function h() {
|
|
4611
4633
|
return (
|
|
@@ -4628,9 +4650,9 @@ function Kt(e) {
|
|
|
4628
4650
|
},
|
|
4629
4651
|
p(d, f) {
|
|
4630
4652
|
e = d, /*item*/
|
|
4631
|
-
e[44].img ? u ? u.p(e, f) : (u =
|
|
4653
|
+
e[44].img ? u ? u.p(e, f) : (u = tr(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
|
|
4632
4654
|
128 && i !== (i = /*item*/
|
|
4633
|
-
e[44].label + "") &&
|
|
4655
|
+
e[44].label + "") && dt(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
|
|
4634
4656
|
160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4635
4657
|
e[46] + " " + /*activeMenuItemId*/
|
|
4636
4658
|
(e[5] === /*item*/
|
|
@@ -4641,12 +4663,12 @@ function Kt(e) {
|
|
|
4641
4663
|
}
|
|
4642
4664
|
};
|
|
4643
4665
|
}
|
|
4644
|
-
function
|
|
4666
|
+
function nr(e) {
|
|
4645
4667
|
let t, r, n, i, o;
|
|
4646
4668
|
function a(u, h) {
|
|
4647
4669
|
return (
|
|
4648
4670
|
/*isFlowerMenu*/
|
|
4649
|
-
u[11] ?
|
|
4671
|
+
u[11] ? Lo : Co
|
|
4650
4672
|
);
|
|
4651
4673
|
}
|
|
4652
4674
|
let s = a(e), l = s(e);
|
|
@@ -4673,7 +4695,7 @@ function er(e) {
|
|
|
4673
4695
|
}
|
|
4674
4696
|
};
|
|
4675
4697
|
}
|
|
4676
|
-
function
|
|
4698
|
+
function Lo(e) {
|
|
4677
4699
|
let t, r, n, i, o, a, s;
|
|
4678
4700
|
return {
|
|
4679
4701
|
c() {
|
|
@@ -4693,18 +4715,18 @@ function Ho(e) {
|
|
|
4693
4715
|
}
|
|
4694
4716
|
};
|
|
4695
4717
|
}
|
|
4696
|
-
function
|
|
4718
|
+
function Co(e) {
|
|
4697
4719
|
let t;
|
|
4698
4720
|
function r(o, a) {
|
|
4699
4721
|
return (
|
|
4700
4722
|
/*imageIconUrl*/
|
|
4701
|
-
o[9] ?
|
|
4723
|
+
o[9] ? Ro : Fo
|
|
4702
4724
|
);
|
|
4703
4725
|
}
|
|
4704
4726
|
let n = r(e), i = n(e);
|
|
4705
4727
|
return {
|
|
4706
4728
|
c() {
|
|
4707
|
-
i.c(), t =
|
|
4729
|
+
i.c(), t = un();
|
|
4708
4730
|
},
|
|
4709
4731
|
m(o, a) {
|
|
4710
4732
|
i.m(o, a), C(o, t, a);
|
|
@@ -4717,11 +4739,11 @@ function Mo(e) {
|
|
|
4717
4739
|
}
|
|
4718
4740
|
};
|
|
4719
4741
|
}
|
|
4720
|
-
function
|
|
4742
|
+
function Fo(e) {
|
|
4721
4743
|
let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
|
|
4722
4744
|
return {
|
|
4723
4745
|
c() {
|
|
4724
|
-
t =
|
|
4746
|
+
t = P("svg"), r = P("g"), n = P("g"), i = P("rect"), o = P("rect"), a = P("g"), s = P("rect"), l = P("rect"), u = P("g"), h = P("rect"), d = P("rect"), f = P("g"), p = P("rect"), g = P("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");
|
|
4725
4747
|
},
|
|
4726
4748
|
m(v, A) {
|
|
4727
4749
|
C(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);
|
|
@@ -4732,7 +4754,7 @@ function Oo(e) {
|
|
|
4732
4754
|
}
|
|
4733
4755
|
};
|
|
4734
4756
|
}
|
|
4735
|
-
function
|
|
4757
|
+
function Ro(e) {
|
|
4736
4758
|
let t, r;
|
|
4737
4759
|
return {
|
|
4738
4760
|
c() {
|
|
@@ -4763,11 +4785,11 @@ function Lo(e) {
|
|
|
4763
4785
|
}
|
|
4764
4786
|
};
|
|
4765
4787
|
}
|
|
4766
|
-
function
|
|
4788
|
+
function Uo(e) {
|
|
4767
4789
|
let t, r, n, i = !/*isLoading*/
|
|
4768
4790
|
e[1] && /*isMobile*/
|
|
4769
4791
|
e[13] && /*showNavigation*/
|
|
4770
|
-
e[3] &&
|
|
4792
|
+
e[3] && Jt(e);
|
|
4771
4793
|
return {
|
|
4772
4794
|
c() {
|
|
4773
4795
|
t = B("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
@@ -4782,9 +4804,9 @@ function Co(e) {
|
|
|
4782
4804
|
o[1] && /*isMobile*/
|
|
4783
4805
|
o[13] && /*showNavigation*/
|
|
4784
4806
|
o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4785
|
-
10 && X(i, 1)) : (i =
|
|
4807
|
+
10 && X(i, 1)) : (i = Jt(o), i.c(), X(i, 1), i.m(t, null)) : i && (ur(), pe(i, 1, 1, () => {
|
|
4786
4808
|
i = null;
|
|
4787
|
-
}),
|
|
4809
|
+
}), hr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4788
4810
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4789
4811
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4790
4812
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
@@ -4800,23 +4822,23 @@ function Co(e) {
|
|
|
4800
4822
|
}
|
|
4801
4823
|
};
|
|
4802
4824
|
}
|
|
4803
|
-
function
|
|
4825
|
+
function Do(e, t, r) {
|
|
4804
4826
|
let n;
|
|
4805
|
-
|
|
4806
|
-
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 =
|
|
4807
|
-
const
|
|
4808
|
-
fetch(g).then((
|
|
4809
|
-
Object.keys(
|
|
4810
|
-
|
|
4827
|
+
en(e, Io, (m) => r(12, n = m));
|
|
4828
|
+
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 = Vt(S) !== "PC", N = !0, E = !1, T = !1, z = "", Y = !1, Ue = [], _e = [], W = [], G, bt = "", De = {}, yt, Ge = !1;
|
|
4829
|
+
const jr = () => {
|
|
4830
|
+
fetch(g).then((H) => H.json()).then((H) => {
|
|
4831
|
+
Object.keys(H).forEach((F) => {
|
|
4832
|
+
Xt(F, H[F]);
|
|
4811
4833
|
});
|
|
4812
|
-
}).catch((
|
|
4813
|
-
console.log(
|
|
4834
|
+
}).catch((H) => {
|
|
4835
|
+
console.log(H);
|
|
4814
4836
|
});
|
|
4815
4837
|
};
|
|
4816
|
-
Object.keys(
|
|
4817
|
-
|
|
4838
|
+
Object.keys(zt).forEach((m) => {
|
|
4839
|
+
Xt(m, zt[m]);
|
|
4818
4840
|
});
|
|
4819
|
-
const
|
|
4841
|
+
const _t = (m) => {
|
|
4820
4842
|
if (m.data)
|
|
4821
4843
|
switch (m.data.type) {
|
|
4822
4844
|
case "PlayerAccountMenuActive":
|
|
@@ -4829,9 +4851,9 @@ function Fo(e, t, r) {
|
|
|
4829
4851
|
r(4, T = !1);
|
|
4830
4852
|
break;
|
|
4831
4853
|
}
|
|
4832
|
-
},
|
|
4854
|
+
}, Wr = () => {
|
|
4833
4855
|
r(11, Ge = A.toLowerCase() === "true");
|
|
4834
|
-
},
|
|
4856
|
+
}, Vr = () => {
|
|
4835
4857
|
r(4, T = !T), window.postMessage(
|
|
4836
4858
|
{
|
|
4837
4859
|
type: "MobileBottomNav",
|
|
@@ -4839,22 +4861,22 @@ function Fo(e, t, r) {
|
|
|
4839
4861
|
},
|
|
4840
4862
|
window.location.href
|
|
4841
4863
|
);
|
|
4842
|
-
},
|
|
4843
|
-
r(7, _e = []), r(7, _e = Y ? m.splice(0, 5) : m.splice(0, 4)), v &&
|
|
4844
|
-
},
|
|
4864
|
+
}, Xr = (m) => {
|
|
4865
|
+
r(7, _e = []), r(7, _e = Y ? m.splice(0, 5) : m.splice(0, 4)), v && xt();
|
|
4866
|
+
}, zr = () => {
|
|
4845
4867
|
$e(), r(1, N = !0);
|
|
4846
|
-
let m =
|
|
4847
|
-
|
|
4868
|
+
let m = Vt(S), H = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
|
|
4869
|
+
H.searchParams.append("userRoles", h), m && H.searchParams.append("device", "mtWeb"), fetch(H.href).then((F) => F.json()).then((F) => {
|
|
4848
4870
|
Ue = [], r(8, W = []), r(3, E = F.length > 0), F.forEach((D) => {
|
|
4849
|
-
De[D.label] = D.eventTrigger ? D.path : null, D.path == "/menu-item" ? (r(9,
|
|
4850
|
-
}), r(6, Y = W.length == 0), W.length >= 5 && Ge && r(8, W = W.splice(0, 5)),
|
|
4871
|
+
De[D.label] = D.eventTrigger ? D.path : null, D.path == "/menu-item" ? (r(9, bt = D?.img), r(8, W = D.children)) : Ue.push(D);
|
|
4872
|
+
}), r(6, Y = W.length == 0), W.length >= 5 && Ge && r(8, W = W.splice(0, 5)), Xr(Ue), r(1, N = !1);
|
|
4851
4873
|
}).catch((F) => {
|
|
4852
4874
|
r(1, N = !1), console.error(F);
|
|
4853
4875
|
});
|
|
4854
|
-
},
|
|
4855
|
-
const
|
|
4856
|
-
|
|
4857
|
-
}, ce = (m,
|
|
4876
|
+
}, xt = () => {
|
|
4877
|
+
const H = _e.concat(W).find((F) => F.path.includes(v));
|
|
4878
|
+
H && r(5, z = H.id);
|
|
4879
|
+
}, ce = (m, H, F, D) => {
|
|
4858
4880
|
De[D] ? window.postMessage(
|
|
4859
4881
|
{
|
|
4860
4882
|
type: "MobileBottomNavigationEvent",
|
|
@@ -4865,7 +4887,7 @@ function Fo(e, t, r) {
|
|
|
4865
4887
|
{
|
|
4866
4888
|
type: "NavigateTo",
|
|
4867
4889
|
path: m,
|
|
4868
|
-
target:
|
|
4890
|
+
target: H || null,
|
|
4869
4891
|
externalLink: F || !1
|
|
4870
4892
|
},
|
|
4871
4893
|
window.location.href
|
|
@@ -4873,23 +4895,23 @@ function Fo(e, t, r) {
|
|
|
4873
4895
|
context: "MobileBottomNavigation",
|
|
4874
4896
|
menuItem: `${m}`
|
|
4875
4897
|
});
|
|
4876
|
-
},
|
|
4877
|
-
|
|
4898
|
+
}, Zr = () => {
|
|
4899
|
+
Bo(s);
|
|
4878
4900
|
}, $e = () => {
|
|
4879
|
-
r(10,
|
|
4880
|
-
},
|
|
4901
|
+
r(10, yt = b && window.innerHeight / window.innerWidth < 1);
|
|
4902
|
+
}, wt = () => {
|
|
4881
4903
|
T && r(4, T = !1);
|
|
4882
4904
|
};
|
|
4883
|
-
|
|
4884
|
-
window.removeEventListener("message",
|
|
4905
|
+
dn(() => (window.addEventListener("message", _t, !1), document.addEventListener("focusin", wt), b && window.screen.orientation.addEventListener("change", $e), () => {
|
|
4906
|
+
window.removeEventListener("message", _t), document.removeEventListener("focusin", wt), b && window.screen.orientation.removeEventListener("change", $e);
|
|
4885
4907
|
}));
|
|
4886
|
-
const
|
|
4908
|
+
const Qr = (m) => {
|
|
4887
4909
|
m.attrs?.target ? ce(m.path, m.attrs?.target, m?.externalLink, m.label) : ce(m.path, null, m?.externalLink, m.label);
|
|
4888
|
-
},
|
|
4910
|
+
}, Yr = (m) => {
|
|
4889
4911
|
m.attrs?.target ? ce(m.path, m.attrs?.target, m?.externalLink, m.label) : ce(m.path, null, m?.externalLink, m.label);
|
|
4890
4912
|
};
|
|
4891
|
-
function
|
|
4892
|
-
|
|
4913
|
+
function Jr(m) {
|
|
4914
|
+
Ye[m ? "unshift" : "push"](() => {
|
|
4893
4915
|
G = m, r(2, G);
|
|
4894
4916
|
});
|
|
4895
4917
|
}
|
|
@@ -4897,14 +4919,14 @@ function Fo(e, t, r) {
|
|
|
4897
4919
|
"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);
|
|
4898
4920
|
}, e.$$.update = () => {
|
|
4899
4921
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4900
|
-
33554432 && A &&
|
|
4901
|
-
16777218 && v && !N &&
|
|
4902
|
-
131072 && s &&
|
|
4903
|
-
983040 && a && s && l && h &&
|
|
4904
|
-
2097156 && f && G &&
|
|
4905
|
-
4194308 && p && G &&
|
|
4906
|
-
1048580 && d && G &&
|
|
4907
|
-
8388608 && g &&
|
|
4922
|
+
33554432 && A && Wr(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4923
|
+
16777218 && v && !N && xt(), e.$$.dirty[0] & /*lang*/
|
|
4924
|
+
131072 && s && Zr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4925
|
+
983040 && a && s && l && h && zr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4926
|
+
2097156 && f && G && Ao(G, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4927
|
+
4194308 && p && G && To(G, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4928
|
+
1048580 && d && G && Ho(G, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4929
|
+
8388608 && g && jr();
|
|
4908
4930
|
}, [
|
|
4909
4931
|
u,
|
|
4910
4932
|
N,
|
|
@@ -4915,12 +4937,12 @@ function Fo(e, t, r) {
|
|
|
4915
4937
|
Y,
|
|
4916
4938
|
_e,
|
|
4917
4939
|
W,
|
|
4918
|
-
|
|
4919
|
-
|
|
4940
|
+
bt,
|
|
4941
|
+
yt,
|
|
4920
4942
|
Ge,
|
|
4921
4943
|
n,
|
|
4922
4944
|
b,
|
|
4923
|
-
|
|
4945
|
+
Vr,
|
|
4924
4946
|
ce,
|
|
4925
4947
|
a,
|
|
4926
4948
|
s,
|
|
@@ -4934,19 +4956,19 @@ function Fo(e, t, r) {
|
|
|
4934
4956
|
A,
|
|
4935
4957
|
o,
|
|
4936
4958
|
i,
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4959
|
+
Qr,
|
|
4960
|
+
Yr,
|
|
4961
|
+
Jr
|
|
4940
4962
|
];
|
|
4941
4963
|
}
|
|
4942
|
-
class
|
|
4964
|
+
class Go extends En {
|
|
4943
4965
|
constructor(t) {
|
|
4944
|
-
super(),
|
|
4966
|
+
super(), xn(
|
|
4945
4967
|
this,
|
|
4946
4968
|
t,
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4969
|
+
Do,
|
|
4970
|
+
Uo,
|
|
4971
|
+
or,
|
|
4950
4972
|
{
|
|
4951
4973
|
cmsendpoint: 16,
|
|
4952
4974
|
lang: 17,
|
|
@@ -4960,7 +4982,7 @@ class Ro extends yn {
|
|
|
4960
4982
|
activecategory: 24,
|
|
4961
4983
|
flowermenustyle: 25
|
|
4962
4984
|
},
|
|
4963
|
-
|
|
4985
|
+
Po,
|
|
4964
4986
|
[-1, -1]
|
|
4965
4987
|
);
|
|
4966
4988
|
}
|
|
@@ -5031,7 +5053,7 @@ class Ro extends yn {
|
|
|
5031
5053
|
this.$$set({ flowermenustyle: t }), R();
|
|
5032
5054
|
}
|
|
5033
5055
|
}
|
|
5034
|
-
|
|
5056
|
+
wn(Go, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
5035
5057
|
export {
|
|
5036
|
-
|
|
5058
|
+
Go as G
|
|
5037
5059
|
};
|