@everymatrix/general-navigation-bar 1.87.25 → 1.87.27
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-BdeiprOC.js → GeneralNavigationBar-Bfh7WG4E.js} +918 -891
- package/components/{GeneralNavigationBar-B22T4iwu.js → GeneralNavigationBar-BlSfGwXK.js} +957 -929
- package/components/GeneralNavigationBar-Qb1CAewK.cjs +18 -0
- package/es2015/general-navigation-bar.cjs +1 -1
- package/es2015/general-navigation-bar.js +1 -1
- package/esnext/general-navigation-bar.js +1 -1
- package/package.json +1 -1
- package/components/GeneralNavigationBar-DfzRe2jI.cjs +0 -18
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var mn = Object.defineProperty, gn = Object.defineProperties;
|
|
2
|
+
var vn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Mt = Object.getOwnPropertySymbols;
|
|
4
|
+
var bn = Object.prototype.hasOwnProperty, yn = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var qe = (e, t, r) => t in e ? mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ot = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
bn.call(t, r) && qe(e, r, t[r]);
|
|
8
|
+
if (Mt)
|
|
9
|
+
for (var r of Mt(t))
|
|
10
|
+
yn.call(t, r) && qe(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var U = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, Lt = (e, t) => gn(e, vn(t));
|
|
13
|
+
var U = (e, t, r) => (qe(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Ct = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
s(r.next(l));
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
18
|
+
} catch (c) {
|
|
19
|
+
i(c);
|
|
20
20
|
}
|
|
21
21
|
}, a = (l) => {
|
|
22
22
|
try {
|
|
23
23
|
s(r.throw(l));
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
24
|
+
} catch (c) {
|
|
25
|
+
i(c);
|
|
26
26
|
}
|
|
27
27
|
}, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
|
|
28
28
|
s((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function D() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function _n(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -37,29 +37,29 @@ function bn(e, t) {
|
|
|
37
37
|
e
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function br(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Ft() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
e.forEach(
|
|
46
|
+
function se(e) {
|
|
47
|
+
e.forEach(br);
|
|
48
48
|
}
|
|
49
49
|
function Nt(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function yr(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
|
-
let
|
|
56
|
-
function
|
|
57
|
-
return e === t ? !0 : (
|
|
55
|
+
let Be;
|
|
56
|
+
function re(e, t) {
|
|
57
|
+
return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function wn(e) {
|
|
60
60
|
return Object.keys(e).length === 0;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function _r(e, ...t) {
|
|
63
63
|
if (e == null) {
|
|
64
64
|
for (const n of t)
|
|
65
65
|
n(void 0);
|
|
@@ -68,19 +68,19 @@ function yr(e, ...t) {
|
|
|
68
68
|
const r = e.subscribe(...t);
|
|
69
69
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
e.$$.on_destroy.push(
|
|
71
|
+
function xn(e, t, r) {
|
|
72
|
+
e.$$.on_destroy.push(_r(t, r));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function En(e, t, r, n) {
|
|
75
75
|
if (e) {
|
|
76
|
-
const i =
|
|
76
|
+
const i = wr(e, t, r, n);
|
|
77
77
|
return e[0](i);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
return e[1] && n ?
|
|
80
|
+
function wr(e, t, r, n) {
|
|
81
|
+
return e[1] && n ? _n(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function Sn(e, t, r, n) {
|
|
84
84
|
if (e[2] && n) {
|
|
85
85
|
const i = e[2](n(r));
|
|
86
86
|
if (t.dirty === void 0)
|
|
@@ -95,13 +95,13 @@ function En(e, t, r, n) {
|
|
|
95
95
|
}
|
|
96
96
|
return t.dirty;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Nn(e, t, r, n, i, o) {
|
|
99
99
|
if (i) {
|
|
100
|
-
const a =
|
|
100
|
+
const a = wr(t, r, n, o);
|
|
101
101
|
e.p(a, i);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function In(e) {
|
|
105
105
|
if (e.ctx.length > 32) {
|
|
106
106
|
const t = [], r = e.ctx.length / 32;
|
|
107
107
|
for (let n = 0; n < r; n++)
|
|
@@ -113,14 +113,14 @@ function Nn(e) {
|
|
|
113
113
|
function y(e, t) {
|
|
114
114
|
e.appendChild(t);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
117
|
-
const n =
|
|
116
|
+
function Bn(e, t, r) {
|
|
117
|
+
const n = An(e);
|
|
118
118
|
if (!n.getElementById(t)) {
|
|
119
119
|
const i = I("style");
|
|
120
|
-
i.id = t, i.textContent = r,
|
|
120
|
+
i.id = t, i.textContent = r, Tn(n, i);
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function An(e) {
|
|
124
124
|
if (!e)
|
|
125
125
|
return document;
|
|
126
126
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -130,7 +130,7 @@ function In(e) {
|
|
|
130
130
|
t
|
|
131
131
|
) : e.ownerDocument;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function Tn(e, t) {
|
|
134
134
|
return y(
|
|
135
135
|
/** @type {Document} */
|
|
136
136
|
e.head || e,
|
|
@@ -153,29 +153,29 @@ function I(e) {
|
|
|
153
153
|
function H(e) {
|
|
154
154
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function le(e) {
|
|
157
157
|
return document.createTextNode(e);
|
|
158
158
|
}
|
|
159
159
|
function j() {
|
|
160
|
-
return
|
|
160
|
+
return le(" ");
|
|
161
161
|
}
|
|
162
|
-
function
|
|
163
|
-
return
|
|
162
|
+
function Pn() {
|
|
163
|
+
return le("");
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function De(e, t, r, n) {
|
|
166
166
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function h(e, t, r) {
|
|
169
169
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Hn(e) {
|
|
172
172
|
return Array.from(e.childNodes);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Ge(e, t) {
|
|
175
175
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
176
176
|
t);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function Mn(e) {
|
|
179
179
|
const t = {};
|
|
180
180
|
return e.childNodes.forEach(
|
|
181
181
|
/** @param {Element} node */
|
|
@@ -184,67 +184,67 @@ function Pn(e) {
|
|
|
184
184
|
}
|
|
185
185
|
), t;
|
|
186
186
|
}
|
|
187
|
-
let
|
|
188
|
-
function
|
|
189
|
-
|
|
187
|
+
let ye;
|
|
188
|
+
function be(e) {
|
|
189
|
+
ye = e;
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
if (!
|
|
191
|
+
function On() {
|
|
192
|
+
if (!ye)
|
|
193
193
|
throw new Error("Function called outside component initialization");
|
|
194
|
-
return
|
|
194
|
+
return ye;
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
|
|
196
|
+
function Ln(e) {
|
|
197
|
+
On().$$.on_mount.push(e);
|
|
198
198
|
}
|
|
199
|
-
const K = [],
|
|
200
|
-
let
|
|
201
|
-
const
|
|
202
|
-
let
|
|
203
|
-
function
|
|
204
|
-
|
|
199
|
+
const K = [], st = [];
|
|
200
|
+
let te = [];
|
|
201
|
+
const Rt = [], Cn = /* @__PURE__ */ Promise.resolve();
|
|
202
|
+
let lt = !1;
|
|
203
|
+
function Fn() {
|
|
204
|
+
lt || (lt = !0, Cn.then(L));
|
|
205
205
|
}
|
|
206
|
-
function
|
|
207
|
-
|
|
206
|
+
function ut(e) {
|
|
207
|
+
te.push(e);
|
|
208
208
|
}
|
|
209
|
-
const
|
|
209
|
+
const Ke = /* @__PURE__ */ new Set();
|
|
210
210
|
let J = 0;
|
|
211
211
|
function L() {
|
|
212
212
|
if (J !== 0)
|
|
213
213
|
return;
|
|
214
|
-
const e =
|
|
214
|
+
const e = ye;
|
|
215
215
|
do {
|
|
216
216
|
try {
|
|
217
217
|
for (; J < K.length; ) {
|
|
218
218
|
const t = K[J];
|
|
219
|
-
J++,
|
|
219
|
+
J++, be(t), Rn(t.$$);
|
|
220
220
|
}
|
|
221
221
|
} catch (t) {
|
|
222
222
|
throw K.length = 0, J = 0, t;
|
|
223
223
|
}
|
|
224
|
-
for (
|
|
225
|
-
|
|
226
|
-
for (let t = 0; t <
|
|
227
|
-
const r =
|
|
228
|
-
|
|
224
|
+
for (be(null), K.length = 0, J = 0; st.length; )
|
|
225
|
+
st.pop()();
|
|
226
|
+
for (let t = 0; t < te.length; t += 1) {
|
|
227
|
+
const r = te[t];
|
|
228
|
+
Ke.has(r) || (Ke.add(r), r());
|
|
229
229
|
}
|
|
230
|
-
|
|
230
|
+
te.length = 0;
|
|
231
231
|
} while (K.length);
|
|
232
|
-
for (;
|
|
233
|
-
|
|
234
|
-
|
|
232
|
+
for (; Rt.length; )
|
|
233
|
+
Rt.pop()();
|
|
234
|
+
lt = !1, Ke.clear(), be(e);
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function Rn(e) {
|
|
237
237
|
if (e.fragment !== null) {
|
|
238
|
-
e.update(),
|
|
238
|
+
e.update(), se(e.before_update);
|
|
239
239
|
const t = e.dirty;
|
|
240
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
240
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ut);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function Un(e) {
|
|
244
244
|
const t = [], r = [];
|
|
245
|
-
|
|
245
|
+
te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
|
|
246
246
|
}
|
|
247
|
-
const
|
|
247
|
+
const Pe = /* @__PURE__ */ new Set();
|
|
248
248
|
let Q;
|
|
249
249
|
function Er() {
|
|
250
250
|
Q = {
|
|
@@ -254,50 +254,50 @@ function Er() {
|
|
|
254
254
|
// parent group
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
|
-
function
|
|
258
|
-
Q.r ||
|
|
257
|
+
function Sr() {
|
|
258
|
+
Q.r || se(Q.c), Q = Q.p;
|
|
259
259
|
}
|
|
260
260
|
function Z(e, t) {
|
|
261
|
-
e && e.i && (
|
|
261
|
+
e && e.i && (Pe.delete(e), e.i(t));
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function _e(e, t, r, n) {
|
|
264
264
|
if (e && e.o) {
|
|
265
|
-
if (
|
|
265
|
+
if (Pe.has(e))
|
|
266
266
|
return;
|
|
267
|
-
|
|
268
|
-
|
|
267
|
+
Pe.add(e), Q.c.push(() => {
|
|
268
|
+
Pe.delete(e), n && (r && e.d(1), n());
|
|
269
269
|
}), e.o(t);
|
|
270
270
|
} else
|
|
271
271
|
n && n();
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function Ce(e) {
|
|
274
274
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function Dn(e, t, r) {
|
|
277
277
|
const { fragment: n, after_update: i } = e.$$;
|
|
278
|
-
n && n.m(t, r),
|
|
279
|
-
const o = e.$$.on_mount.map(
|
|
280
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
281
|
-
}), i.forEach(
|
|
278
|
+
n && n.m(t, r), ut(() => {
|
|
279
|
+
const o = e.$$.on_mount.map(br).filter(Nt);
|
|
280
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
|
|
281
|
+
}), i.forEach(ut);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function Gn(e, t) {
|
|
284
284
|
const r = e.$$;
|
|
285
|
-
r.fragment !== null && (
|
|
285
|
+
r.fragment !== null && (Un(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
e.$$.dirty[0] === -1 && (K.push(e),
|
|
287
|
+
function kn(e, t) {
|
|
288
|
+
e.$$.dirty[0] === -1 && (K.push(e), Fn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
291
|
-
const l =
|
|
292
|
-
|
|
293
|
-
const
|
|
290
|
+
function $n(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
291
|
+
const l = ye;
|
|
292
|
+
be(e);
|
|
293
|
+
const c = e.$$ = {
|
|
294
294
|
fragment: null,
|
|
295
295
|
ctx: [],
|
|
296
296
|
// state
|
|
297
297
|
props: o,
|
|
298
298
|
update: D,
|
|
299
299
|
not_equal: i,
|
|
300
|
-
bound:
|
|
300
|
+
bound: Ft(),
|
|
301
301
|
// lifecycle
|
|
302
302
|
on_mount: [],
|
|
303
303
|
on_destroy: [],
|
|
@@ -306,25 +306,25 @@ function Gn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
306
306
|
after_update: [],
|
|
307
307
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
308
308
|
// everything else
|
|
309
|
-
callbacks:
|
|
309
|
+
callbacks: Ft(),
|
|
310
310
|
dirty: s,
|
|
311
311
|
skip_bound: !1,
|
|
312
312
|
root: t.target || l.$$.root
|
|
313
313
|
};
|
|
314
|
-
a && a(
|
|
314
|
+
a && a(c.root);
|
|
315
315
|
let u = !1;
|
|
316
|
-
if (
|
|
317
|
-
const g =
|
|
318
|
-
return
|
|
319
|
-
}) : [],
|
|
316
|
+
if (c.ctx = r ? r(e, t.props || {}, (d, f, ...m) => {
|
|
317
|
+
const g = m.length ? m[0] : f;
|
|
318
|
+
return c.ctx && i(c.ctx[d], c.ctx[d] = g) && (!c.skip_bound && c.bound[d] && c.bound[d](g), u && kn(e, d)), f;
|
|
319
|
+
}) : [], c.update(), u = !0, se(c.before_update), c.fragment = n ? n(c.ctx) : !1, t.target) {
|
|
320
320
|
if (t.hydrate) {
|
|
321
|
-
const d =
|
|
322
|
-
|
|
321
|
+
const d = Hn(t.target);
|
|
322
|
+
c.fragment && c.fragment.l(d), d.forEach(M);
|
|
323
323
|
} else
|
|
324
|
-
|
|
325
|
-
t.intro && Z(e.$$.fragment),
|
|
324
|
+
c.fragment && c.fragment.c();
|
|
325
|
+
t.intro && Z(e.$$.fragment), Dn(e, t.target, t.anchor), L();
|
|
326
326
|
}
|
|
327
|
-
|
|
327
|
+
be(l);
|
|
328
328
|
}
|
|
329
329
|
let Nr;
|
|
330
330
|
typeof HTMLElement == "function" && (Nr = class extends HTMLElement {
|
|
@@ -364,42 +364,42 @@ typeof HTMLElement == "function" && (Nr = class extends HTMLElement {
|
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
connectedCallback() {
|
|
367
|
-
return
|
|
367
|
+
return Ct(this, null, function* () {
|
|
368
368
|
if (this.$$cn = !0, !this.$$c) {
|
|
369
369
|
let t = function(o) {
|
|
370
370
|
return () => {
|
|
371
371
|
let a;
|
|
372
372
|
return {
|
|
373
373
|
c: function() {
|
|
374
|
-
a = I("slot"), o !== "default" &&
|
|
374
|
+
a = I("slot"), o !== "default" && h(a, "name", o);
|
|
375
375
|
},
|
|
376
376
|
/**
|
|
377
377
|
* @param {HTMLElement} target
|
|
378
378
|
* @param {HTMLElement} [anchor]
|
|
379
379
|
*/
|
|
380
|
-
m: function(
|
|
381
|
-
F(
|
|
380
|
+
m: function(c, u) {
|
|
381
|
+
F(c, a, u);
|
|
382
382
|
},
|
|
383
|
-
d: function(
|
|
384
|
-
|
|
383
|
+
d: function(c) {
|
|
384
|
+
c && M(a);
|
|
385
385
|
}
|
|
386
386
|
};
|
|
387
387
|
};
|
|
388
388
|
};
|
|
389
389
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
390
390
|
return;
|
|
391
|
-
const r = {}, n =
|
|
391
|
+
const r = {}, n = Mn(this);
|
|
392
392
|
for (const o of this.$$s)
|
|
393
393
|
o in n && (r[o] = [t(o)]);
|
|
394
394
|
for (const o of this.attributes) {
|
|
395
395
|
const a = this.$$g_p(o.name);
|
|
396
|
-
a in this.$$d || (this.$$d[a] =
|
|
396
|
+
a in this.$$d || (this.$$d[a] = He(a, o.value, this.$$p_d, "toProp"));
|
|
397
397
|
}
|
|
398
398
|
for (const o in this.$$p_d)
|
|
399
399
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
400
400
|
this.$$c = new this.$$ctor({
|
|
401
401
|
target: this.shadowRoot || this,
|
|
402
|
-
props: Ot(
|
|
402
|
+
props: Lt(Ot({}, this.$$d), {
|
|
403
403
|
$$slots: r,
|
|
404
404
|
$$scope: {
|
|
405
405
|
ctx: []
|
|
@@ -410,7 +410,7 @@ typeof HTMLElement == "function" && (Nr = class extends HTMLElement {
|
|
|
410
410
|
this.$$r = !0;
|
|
411
411
|
for (const o in this.$$p_d)
|
|
412
412
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
413
|
-
const a =
|
|
413
|
+
const a = He(
|
|
414
414
|
o,
|
|
415
415
|
this.$$d[o],
|
|
416
416
|
this.$$p_d,
|
|
@@ -434,7 +434,7 @@ typeof HTMLElement == "function" && (Nr = class extends HTMLElement {
|
|
|
434
434
|
// and setting attributes through setAttribute etc, this is helpful
|
|
435
435
|
attributeChangedCallback(t, r, n) {
|
|
436
436
|
var i;
|
|
437
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
437
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = He(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
438
438
|
}
|
|
439
439
|
disconnectedCallback() {
|
|
440
440
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -447,7 +447,7 @@ typeof HTMLElement == "function" && (Nr = class extends HTMLElement {
|
|
|
447
447
|
) || t;
|
|
448
448
|
}
|
|
449
449
|
});
|
|
450
|
-
function
|
|
450
|
+
function He(e, t, r, n) {
|
|
451
451
|
var o;
|
|
452
452
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
453
453
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -477,7 +477,7 @@ function Pe(e, t, r, n) {
|
|
|
477
477
|
return t;
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
function
|
|
480
|
+
function jn(e, t, r, n, i, o) {
|
|
481
481
|
let a = class extends Nr {
|
|
482
482
|
constructor() {
|
|
483
483
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -494,8 +494,8 @@ function kn(e, t, r, n, i, o) {
|
|
|
494
494
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
495
495
|
},
|
|
496
496
|
set(l) {
|
|
497
|
-
var
|
|
498
|
-
l =
|
|
497
|
+
var c;
|
|
498
|
+
l = He(s, l, t), this.$$d[s] = l, (c = this.$$c) == null || c.$set({ [s]: l });
|
|
499
499
|
}
|
|
500
500
|
});
|
|
501
501
|
}), n.forEach((s) => {
|
|
@@ -508,7 +508,7 @@ function kn(e, t, r, n, i, o) {
|
|
|
508
508
|
}), e.element = /** @type {any} */
|
|
509
509
|
a, a;
|
|
510
510
|
}
|
|
511
|
-
class
|
|
511
|
+
class Wn {
|
|
512
512
|
constructor() {
|
|
513
513
|
/**
|
|
514
514
|
* ### PRIVATE API
|
|
@@ -529,7 +529,7 @@ class $n {
|
|
|
529
529
|
}
|
|
530
530
|
/** @returns {void} */
|
|
531
531
|
$destroy() {
|
|
532
|
-
|
|
532
|
+
Gn(this, 1), this.$destroy = D;
|
|
533
533
|
}
|
|
534
534
|
/**
|
|
535
535
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -551,11 +551,11 @@ class $n {
|
|
|
551
551
|
* @returns {void}
|
|
552
552
|
*/
|
|
553
553
|
$set(t) {
|
|
554
|
-
this.$$set && !
|
|
554
|
+
this.$$set && !wn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
const
|
|
558
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
557
|
+
const Vn = "4";
|
|
558
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Vn);
|
|
559
559
|
/*! *****************************************************************************
|
|
560
560
|
Copyright (c) Microsoft Corporation.
|
|
561
561
|
|
|
@@ -570,18 +570,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
570
570
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
571
571
|
PERFORMANCE OF THIS SOFTWARE.
|
|
572
572
|
***************************************************************************** */
|
|
573
|
-
var
|
|
574
|
-
return
|
|
573
|
+
var ct = function(e, t) {
|
|
574
|
+
return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
575
575
|
r.__proto__ = n;
|
|
576
576
|
} || function(r, n) {
|
|
577
577
|
for (var i in n)
|
|
578
578
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
579
|
-
},
|
|
579
|
+
}, ct(e, t);
|
|
580
580
|
};
|
|
581
581
|
function Ee(e, t) {
|
|
582
582
|
if (typeof t != "function" && t !== null)
|
|
583
583
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
584
|
-
|
|
584
|
+
ct(e, t);
|
|
585
585
|
function r() {
|
|
586
586
|
this.constructor = e;
|
|
587
587
|
}
|
|
@@ -599,7 +599,7 @@ function ht(e) {
|
|
|
599
599
|
};
|
|
600
600
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
601
601
|
}
|
|
602
|
-
function
|
|
602
|
+
function ft(e, t) {
|
|
603
603
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
604
604
|
if (!r)
|
|
605
605
|
return e;
|
|
@@ -619,7 +619,7 @@ function ct(e, t) {
|
|
|
619
619
|
}
|
|
620
620
|
return o;
|
|
621
621
|
}
|
|
622
|
-
function
|
|
622
|
+
function dt(e, t, r) {
|
|
623
623
|
if (arguments.length === 2)
|
|
624
624
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
625
625
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
@@ -628,13 +628,13 @@ function ft(e, t, r) {
|
|
|
628
628
|
function X(e) {
|
|
629
629
|
return typeof e == "function";
|
|
630
630
|
}
|
|
631
|
-
function
|
|
631
|
+
function Ir(e) {
|
|
632
632
|
var t = function(n) {
|
|
633
633
|
Error.call(n), n.stack = new Error().stack;
|
|
634
634
|
}, r = e(t);
|
|
635
635
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
636
636
|
}
|
|
637
|
-
var
|
|
637
|
+
var et = Ir(function(e) {
|
|
638
638
|
return function(r) {
|
|
639
639
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
640
640
|
` + r.map(function(n, i) {
|
|
@@ -643,13 +643,13 @@ var Ke = Sr(function(e) {
|
|
|
643
643
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
644
644
|
};
|
|
645
645
|
});
|
|
646
|
-
function
|
|
646
|
+
function pt(e, t) {
|
|
647
647
|
if (e) {
|
|
648
648
|
var r = e.indexOf(t);
|
|
649
649
|
0 <= r && e.splice(r, 1);
|
|
650
650
|
}
|
|
651
651
|
}
|
|
652
|
-
var
|
|
652
|
+
var ke = function() {
|
|
653
653
|
function e(t) {
|
|
654
654
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
655
655
|
}
|
|
@@ -662,8 +662,8 @@ var Ge = function() {
|
|
|
662
662
|
if (this._parentage = null, Array.isArray(a))
|
|
663
663
|
try {
|
|
664
664
|
for (var s = ht(a), l = s.next(); !l.done; l = s.next()) {
|
|
665
|
-
var
|
|
666
|
-
|
|
665
|
+
var c = l.value;
|
|
666
|
+
c.remove(this);
|
|
667
667
|
}
|
|
668
668
|
} catch (v) {
|
|
669
669
|
t = { error: v };
|
|
@@ -682,25 +682,25 @@ var Ge = function() {
|
|
|
682
682
|
try {
|
|
683
683
|
u();
|
|
684
684
|
} catch (v) {
|
|
685
|
-
o = v instanceof
|
|
685
|
+
o = v instanceof et ? v.errors : [v];
|
|
686
686
|
}
|
|
687
687
|
var d = this._finalizers;
|
|
688
688
|
if (d) {
|
|
689
689
|
this._finalizers = null;
|
|
690
690
|
try {
|
|
691
|
-
for (var f = ht(d),
|
|
692
|
-
var g =
|
|
691
|
+
for (var f = ht(d), m = f.next(); !m.done; m = f.next()) {
|
|
692
|
+
var g = m.value;
|
|
693
693
|
try {
|
|
694
|
-
|
|
694
|
+
Ut(g);
|
|
695
695
|
} catch (v) {
|
|
696
|
-
o = o != null ? o : [], v instanceof
|
|
696
|
+
o = o != null ? o : [], v instanceof et ? o = dt(dt([], ft(o)), ft(v.errors)) : o.push(v);
|
|
697
697
|
}
|
|
698
698
|
}
|
|
699
699
|
} catch (v) {
|
|
700
700
|
n = { error: v };
|
|
701
701
|
} finally {
|
|
702
702
|
try {
|
|
703
|
-
|
|
703
|
+
m && !m.done && (i = f.return) && i.call(f);
|
|
704
704
|
} finally {
|
|
705
705
|
if (n)
|
|
706
706
|
throw n.error;
|
|
@@ -708,13 +708,13 @@ var Ge = function() {
|
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
710
|
if (o)
|
|
711
|
-
throw new
|
|
711
|
+
throw new et(o);
|
|
712
712
|
}
|
|
713
713
|
}, e.prototype.add = function(t) {
|
|
714
714
|
var r;
|
|
715
715
|
if (t && t !== this)
|
|
716
716
|
if (this.closed)
|
|
717
|
-
|
|
717
|
+
Ut(t);
|
|
718
718
|
else {
|
|
719
719
|
if (t instanceof e) {
|
|
720
720
|
if (t.closed || t._hasParent(this))
|
|
@@ -731,49 +731,49 @@ var Ge = function() {
|
|
|
731
731
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
732
732
|
}, e.prototype._removeParent = function(t) {
|
|
733
733
|
var r = this._parentage;
|
|
734
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
734
|
+
r === t ? this._parentage = null : Array.isArray(r) && pt(r, t);
|
|
735
735
|
}, e.prototype.remove = function(t) {
|
|
736
736
|
var r = this._finalizers;
|
|
737
|
-
r &&
|
|
737
|
+
r && pt(r, t), t instanceof e && t._removeParent(this);
|
|
738
738
|
}, e.EMPTY = function() {
|
|
739
739
|
var t = new e();
|
|
740
740
|
return t.closed = !0, t;
|
|
741
741
|
}(), e;
|
|
742
|
-
}(),
|
|
743
|
-
function
|
|
744
|
-
return e instanceof
|
|
742
|
+
}(), Br = ke.EMPTY;
|
|
743
|
+
function Ar(e) {
|
|
744
|
+
return e instanceof ke || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
|
|
745
745
|
}
|
|
746
|
-
function
|
|
746
|
+
function Ut(e) {
|
|
747
747
|
X(e) ? e() : e.unsubscribe();
|
|
748
748
|
}
|
|
749
|
-
var
|
|
749
|
+
var Xn = {
|
|
750
750
|
Promise: void 0
|
|
751
|
-
},
|
|
751
|
+
}, zn = {
|
|
752
752
|
setTimeout: function(e, t) {
|
|
753
753
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
754
754
|
r[n - 2] = arguments[n];
|
|
755
|
-
return setTimeout.apply(void 0,
|
|
755
|
+
return setTimeout.apply(void 0, dt([e, t], ft(r)));
|
|
756
756
|
},
|
|
757
757
|
clearTimeout: function(e) {
|
|
758
758
|
return clearTimeout(e);
|
|
759
759
|
},
|
|
760
760
|
delegate: void 0
|
|
761
761
|
};
|
|
762
|
-
function
|
|
763
|
-
|
|
762
|
+
function Zn(e) {
|
|
763
|
+
zn.setTimeout(function() {
|
|
764
764
|
throw e;
|
|
765
765
|
});
|
|
766
766
|
}
|
|
767
|
-
function
|
|
767
|
+
function Dt() {
|
|
768
768
|
}
|
|
769
|
-
function
|
|
769
|
+
function Me(e) {
|
|
770
770
|
e();
|
|
771
771
|
}
|
|
772
|
-
var
|
|
772
|
+
var Tr = function(e) {
|
|
773
773
|
Ee(t, e);
|
|
774
774
|
function t(r) {
|
|
775
775
|
var n = e.call(this) || this;
|
|
776
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
776
|
+
return n.isStopped = !1, r ? (n.destination = r, Ar(r) && r.add(n)) : n.destination = Jn, n;
|
|
777
777
|
}
|
|
778
778
|
return t.create = function(r, n, i) {
|
|
779
779
|
return new mt(r, n, i);
|
|
@@ -800,7 +800,7 @@ var Ar = function(e) {
|
|
|
800
800
|
this.unsubscribe();
|
|
801
801
|
}
|
|
802
802
|
}, t;
|
|
803
|
-
}(
|
|
803
|
+
}(ke), Qn = function() {
|
|
804
804
|
function e(t) {
|
|
805
805
|
this.partialObserver = t;
|
|
806
806
|
}
|
|
@@ -810,7 +810,7 @@ var Ar = function(e) {
|
|
|
810
810
|
try {
|
|
811
811
|
r.next(t);
|
|
812
812
|
} catch (n) {
|
|
813
|
-
|
|
813
|
+
Ae(n);
|
|
814
814
|
}
|
|
815
815
|
}, e.prototype.error = function(t) {
|
|
816
816
|
var r = this.partialObserver;
|
|
@@ -818,17 +818,17 @@ var Ar = function(e) {
|
|
|
818
818
|
try {
|
|
819
819
|
r.error(t);
|
|
820
820
|
} catch (n) {
|
|
821
|
-
|
|
821
|
+
Ae(n);
|
|
822
822
|
}
|
|
823
823
|
else
|
|
824
|
-
|
|
824
|
+
Ae(t);
|
|
825
825
|
}, e.prototype.complete = function() {
|
|
826
826
|
var t = this.partialObserver;
|
|
827
827
|
if (t.complete)
|
|
828
828
|
try {
|
|
829
829
|
t.complete();
|
|
830
830
|
} catch (r) {
|
|
831
|
-
|
|
831
|
+
Ae(r);
|
|
832
832
|
}
|
|
833
833
|
}, e;
|
|
834
834
|
}(), mt = function(e) {
|
|
@@ -839,35 +839,35 @@ var Ar = function(e) {
|
|
|
839
839
|
next: r != null ? r : void 0,
|
|
840
840
|
error: n != null ? n : void 0,
|
|
841
841
|
complete: i != null ? i : void 0
|
|
842
|
-
} : a = r, o.destination = new
|
|
842
|
+
} : a = r, o.destination = new Qn(a), o;
|
|
843
843
|
}
|
|
844
844
|
return t;
|
|
845
|
-
}(
|
|
846
|
-
function
|
|
847
|
-
|
|
845
|
+
}(Tr);
|
|
846
|
+
function Ae(e) {
|
|
847
|
+
Zn(e);
|
|
848
848
|
}
|
|
849
|
-
function
|
|
849
|
+
function Yn(e) {
|
|
850
850
|
throw e;
|
|
851
851
|
}
|
|
852
|
-
var
|
|
852
|
+
var Jn = {
|
|
853
853
|
closed: !0,
|
|
854
|
-
next:
|
|
855
|
-
error:
|
|
856
|
-
complete:
|
|
857
|
-
},
|
|
854
|
+
next: Dt,
|
|
855
|
+
error: Yn,
|
|
856
|
+
complete: Dt
|
|
857
|
+
}, qn = function() {
|
|
858
858
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
859
859
|
}();
|
|
860
|
-
function
|
|
860
|
+
function Kn(e) {
|
|
861
861
|
return e;
|
|
862
862
|
}
|
|
863
|
-
function
|
|
864
|
-
return e.length === 0 ?
|
|
863
|
+
function ei(e) {
|
|
864
|
+
return e.length === 0 ? Kn : e.length === 1 ? e[0] : function(r) {
|
|
865
865
|
return e.reduce(function(n, i) {
|
|
866
866
|
return i(n);
|
|
867
867
|
}, r);
|
|
868
868
|
};
|
|
869
869
|
}
|
|
870
|
-
var
|
|
870
|
+
var Gt = function() {
|
|
871
871
|
function e(t) {
|
|
872
872
|
t && (this._subscribe = t);
|
|
873
873
|
}
|
|
@@ -875,8 +875,8 @@ var Dt = function() {
|
|
|
875
875
|
var r = new e();
|
|
876
876
|
return r.source = this, r.operator = t, r;
|
|
877
877
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
878
|
-
var i = this, o =
|
|
879
|
-
return
|
|
878
|
+
var i = this, o = ri(t) ? t : new mt(t, r, n);
|
|
879
|
+
return Me(function() {
|
|
880
880
|
var a = i, s = a.operator, l = a.source;
|
|
881
881
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
882
882
|
}), o;
|
|
@@ -888,7 +888,7 @@ var Dt = function() {
|
|
|
888
888
|
}
|
|
889
889
|
}, e.prototype.forEach = function(t, r) {
|
|
890
890
|
var n = this;
|
|
891
|
-
return r =
|
|
891
|
+
return r = kt(r), new r(function(i, o) {
|
|
892
892
|
var a = new mt({
|
|
893
893
|
next: function(s) {
|
|
894
894
|
try {
|
|
@@ -905,15 +905,15 @@ var Dt = function() {
|
|
|
905
905
|
}, e.prototype._subscribe = function(t) {
|
|
906
906
|
var r;
|
|
907
907
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
908
|
-
}, e.prototype[
|
|
908
|
+
}, e.prototype[qn] = function() {
|
|
909
909
|
return this;
|
|
910
910
|
}, e.prototype.pipe = function() {
|
|
911
911
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
912
912
|
t[r] = arguments[r];
|
|
913
|
-
return
|
|
913
|
+
return ei(t)(this);
|
|
914
914
|
}, e.prototype.toPromise = function(t) {
|
|
915
915
|
var r = this;
|
|
916
|
-
return t =
|
|
916
|
+
return t = kt(t), new t(function(n, i) {
|
|
917
917
|
var o;
|
|
918
918
|
r.subscribe(function(a) {
|
|
919
919
|
return o = a;
|
|
@@ -927,35 +927,35 @@ var Dt = function() {
|
|
|
927
927
|
return new e(t);
|
|
928
928
|
}, e;
|
|
929
929
|
}();
|
|
930
|
-
function
|
|
930
|
+
function kt(e) {
|
|
931
931
|
var t;
|
|
932
|
-
return (t = e != null ? e :
|
|
932
|
+
return (t = e != null ? e : Xn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
933
933
|
}
|
|
934
|
-
function
|
|
934
|
+
function ti(e) {
|
|
935
935
|
return e && X(e.next) && X(e.error) && X(e.complete);
|
|
936
936
|
}
|
|
937
|
-
function
|
|
938
|
-
return e && e instanceof
|
|
937
|
+
function ri(e) {
|
|
938
|
+
return e && e instanceof Tr || ti(e) && Ar(e);
|
|
939
939
|
}
|
|
940
|
-
var
|
|
940
|
+
var ni = Ir(function(e) {
|
|
941
941
|
return function() {
|
|
942
942
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
943
943
|
};
|
|
944
|
-
}),
|
|
944
|
+
}), Pr = function(e) {
|
|
945
945
|
Ee(t, e);
|
|
946
946
|
function t() {
|
|
947
947
|
var r = e.call(this) || this;
|
|
948
948
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
949
949
|
}
|
|
950
950
|
return t.prototype.lift = function(r) {
|
|
951
|
-
var n = new
|
|
951
|
+
var n = new $t(this, this);
|
|
952
952
|
return n.operator = r, n;
|
|
953
953
|
}, t.prototype._throwIfClosed = function() {
|
|
954
954
|
if (this.closed)
|
|
955
|
-
throw new
|
|
955
|
+
throw new ni();
|
|
956
956
|
}, t.prototype.next = function(r) {
|
|
957
957
|
var n = this;
|
|
958
|
-
|
|
958
|
+
Me(function() {
|
|
959
959
|
var i, o;
|
|
960
960
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
961
961
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
@@ -964,8 +964,8 @@ var ti = Sr(function(e) {
|
|
|
964
964
|
var l = s.value;
|
|
965
965
|
l.next(r);
|
|
966
966
|
}
|
|
967
|
-
} catch (
|
|
968
|
-
i = { error:
|
|
967
|
+
} catch (c) {
|
|
968
|
+
i = { error: c };
|
|
969
969
|
} finally {
|
|
970
970
|
try {
|
|
971
971
|
s && !s.done && (o = a.return) && o.call(a);
|
|
@@ -978,7 +978,7 @@ var ti = Sr(function(e) {
|
|
|
978
978
|
});
|
|
979
979
|
}, t.prototype.error = function(r) {
|
|
980
980
|
var n = this;
|
|
981
|
-
|
|
981
|
+
Me(function() {
|
|
982
982
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
983
983
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
984
984
|
for (var i = n.observers; i.length; )
|
|
@@ -987,7 +987,7 @@ var ti = Sr(function(e) {
|
|
|
987
987
|
});
|
|
988
988
|
}, t.prototype.complete = function() {
|
|
989
989
|
var r = this;
|
|
990
|
-
|
|
990
|
+
Me(function() {
|
|
991
991
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
992
992
|
r.isStopped = !0;
|
|
993
993
|
for (var n = r.observers; n.length; )
|
|
@@ -1009,19 +1009,19 @@ var ti = Sr(function(e) {
|
|
|
1009
1009
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1010
1010
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1011
1011
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1012
|
-
return o || a ?
|
|
1013
|
-
n.currentObservers = null,
|
|
1012
|
+
return o || a ? Br : (this.currentObservers = null, s.push(r), new ke(function() {
|
|
1013
|
+
n.currentObservers = null, pt(s, r);
|
|
1014
1014
|
}));
|
|
1015
1015
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1016
1016
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1017
1017
|
i ? r.error(o) : a && r.complete();
|
|
1018
1018
|
}, t.prototype.asObservable = function() {
|
|
1019
|
-
var r = new
|
|
1019
|
+
var r = new Gt();
|
|
1020
1020
|
return r.source = this, r;
|
|
1021
1021
|
}, t.create = function(r, n) {
|
|
1022
|
-
return new
|
|
1022
|
+
return new $t(r, n);
|
|
1023
1023
|
}, t;
|
|
1024
|
-
}(
|
|
1024
|
+
}(Gt), $t = function(e) {
|
|
1025
1025
|
Ee(t, e);
|
|
1026
1026
|
function t(r, n) {
|
|
1027
1027
|
var i = e.call(this) || this;
|
|
@@ -1038,17 +1038,17 @@ var ti = Sr(function(e) {
|
|
|
1038
1038
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1039
1039
|
}, t.prototype._subscribe = function(r) {
|
|
1040
1040
|
var n, i;
|
|
1041
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1041
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Br;
|
|
1042
1042
|
}, t;
|
|
1043
|
-
}(
|
|
1043
|
+
}(Pr), Hr = {
|
|
1044
1044
|
now: function() {
|
|
1045
|
-
return (
|
|
1045
|
+
return (Hr.delegate || Date).now();
|
|
1046
1046
|
},
|
|
1047
1047
|
delegate: void 0
|
|
1048
|
-
},
|
|
1048
|
+
}, ii = function(e) {
|
|
1049
1049
|
Ee(t, e);
|
|
1050
1050
|
function t(r, n, i) {
|
|
1051
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1051
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Hr);
|
|
1052
1052
|
var o = e.call(this) || this;
|
|
1053
1053
|
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;
|
|
1054
1054
|
}
|
|
@@ -1063,35 +1063,35 @@ var ti = Sr(function(e) {
|
|
|
1063
1063
|
}, t.prototype._trimBuffer = function() {
|
|
1064
1064
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
|
|
1065
1065
|
if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
|
|
1066
|
-
for (var l = i.now(),
|
|
1067
|
-
|
|
1068
|
-
|
|
1066
|
+
for (var l = i.now(), c = 0, u = 1; u < o.length && o[u] <= l; u += 2)
|
|
1067
|
+
c = u;
|
|
1068
|
+
c && o.splice(0, c + 1);
|
|
1069
1069
|
}
|
|
1070
1070
|
}, t;
|
|
1071
|
-
}(
|
|
1072
|
-
const
|
|
1073
|
-
if (
|
|
1074
|
-
const r = new
|
|
1075
|
-
|
|
1071
|
+
}(Pr);
|
|
1072
|
+
const jt = [], Wt = {}, oi = (e, t = 0) => {
|
|
1073
|
+
if (jt.indexOf(e) == -1) {
|
|
1074
|
+
const r = new ii(t);
|
|
1075
|
+
Wt[e] = r, jt.push(e);
|
|
1076
1076
|
}
|
|
1077
|
-
return
|
|
1077
|
+
return Wt[e];
|
|
1078
1078
|
}, q = [];
|
|
1079
|
-
function
|
|
1079
|
+
function ai(e, t) {
|
|
1080
1080
|
return {
|
|
1081
|
-
subscribe:
|
|
1081
|
+
subscribe: $e(e, t).subscribe
|
|
1082
1082
|
};
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1084
|
+
function $e(e, t = D) {
|
|
1085
1085
|
let r;
|
|
1086
1086
|
const n = /* @__PURE__ */ new Set();
|
|
1087
1087
|
function i(s) {
|
|
1088
|
-
if (
|
|
1088
|
+
if (yr(e, s) && (e = s, r)) {
|
|
1089
1089
|
const l = !q.length;
|
|
1090
|
-
for (const
|
|
1091
|
-
|
|
1090
|
+
for (const c of n)
|
|
1091
|
+
c[1](), q.push(c, e);
|
|
1092
1092
|
if (l) {
|
|
1093
|
-
for (let
|
|
1094
|
-
q[
|
|
1093
|
+
for (let c = 0; c < q.length; c += 2)
|
|
1094
|
+
q[c][0](q[c + 1]);
|
|
1095
1095
|
q.length = 0;
|
|
1096
1096
|
}
|
|
1097
1097
|
}
|
|
@@ -1100,33 +1100,33 @@ function ke(e, t = D) {
|
|
|
1100
1100
|
i(s(e));
|
|
1101
1101
|
}
|
|
1102
1102
|
function a(s, l = D) {
|
|
1103
|
-
const
|
|
1104
|
-
return n.add(
|
|
1105
|
-
n.delete(
|
|
1103
|
+
const c = [s, l];
|
|
1104
|
+
return n.add(c), n.size === 1 && (r = t(i, o) || D), s(e), () => {
|
|
1105
|
+
n.delete(c), n.size === 0 && r && (r(), r = null);
|
|
1106
1106
|
};
|
|
1107
1107
|
}
|
|
1108
1108
|
return { set: i, update: o, subscribe: a };
|
|
1109
1109
|
}
|
|
1110
|
-
function
|
|
1110
|
+
function ue(e, t, r) {
|
|
1111
1111
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1112
1112
|
if (!i.every(Boolean))
|
|
1113
1113
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1114
1114
|
const o = t.length < 2;
|
|
1115
|
-
return
|
|
1115
|
+
return ai(r, (a, s) => {
|
|
1116
1116
|
let l = !1;
|
|
1117
|
-
const
|
|
1117
|
+
const c = [];
|
|
1118
1118
|
let u = 0, d = D;
|
|
1119
1119
|
const f = () => {
|
|
1120
1120
|
if (u)
|
|
1121
1121
|
return;
|
|
1122
1122
|
d();
|
|
1123
|
-
const g = t(n ?
|
|
1123
|
+
const g = t(n ? c[0] : c, a, s);
|
|
1124
1124
|
o ? a(g) : d = Nt(g) ? g : D;
|
|
1125
|
-
},
|
|
1126
|
-
(g, v) =>
|
|
1125
|
+
}, m = i.map(
|
|
1126
|
+
(g, v) => _r(
|
|
1127
1127
|
g,
|
|
1128
|
-
(
|
|
1129
|
-
|
|
1128
|
+
(x) => {
|
|
1129
|
+
c[v] = x, u &= ~(1 << v), l && f();
|
|
1130
1130
|
},
|
|
1131
1131
|
() => {
|
|
1132
1132
|
u |= 1 << v;
|
|
@@ -1134,96 +1134,96 @@ function le(e, t, r) {
|
|
|
1134
1134
|
)
|
|
1135
1135
|
);
|
|
1136
1136
|
return l = !0, f(), function() {
|
|
1137
|
-
|
|
1137
|
+
se(m), d(), l = !1;
|
|
1138
1138
|
};
|
|
1139
1139
|
});
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function si(e) {
|
|
1142
1142
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1143
1143
|
}
|
|
1144
|
-
var
|
|
1145
|
-
return
|
|
1144
|
+
var li = function(t) {
|
|
1145
|
+
return ui(t) && !ci(t);
|
|
1146
1146
|
};
|
|
1147
|
-
function
|
|
1147
|
+
function ui(e) {
|
|
1148
1148
|
return !!e && typeof e == "object";
|
|
1149
1149
|
}
|
|
1150
|
-
function
|
|
1150
|
+
function ci(e) {
|
|
1151
1151
|
var t = Object.prototype.toString.call(e);
|
|
1152
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1152
|
+
return t === "[object RegExp]" || t === "[object Date]" || di(e);
|
|
1153
1153
|
}
|
|
1154
|
-
var
|
|
1155
|
-
function
|
|
1156
|
-
return e.$$typeof ===
|
|
1154
|
+
var hi = typeof Symbol == "function" && Symbol.for, fi = hi ? Symbol.for("react.element") : 60103;
|
|
1155
|
+
function di(e) {
|
|
1156
|
+
return e.$$typeof === fi;
|
|
1157
1157
|
}
|
|
1158
|
-
function
|
|
1158
|
+
function pi(e) {
|
|
1159
1159
|
return Array.isArray(e) ? [] : {};
|
|
1160
1160
|
}
|
|
1161
|
-
function
|
|
1162
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1161
|
+
function we(e, t) {
|
|
1162
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(pi(e), e, t) : e;
|
|
1163
1163
|
}
|
|
1164
|
-
function
|
|
1164
|
+
function mi(e, t, r) {
|
|
1165
1165
|
return e.concat(t).map(function(n) {
|
|
1166
|
-
return
|
|
1166
|
+
return we(n, r);
|
|
1167
1167
|
});
|
|
1168
1168
|
}
|
|
1169
|
-
function
|
|
1169
|
+
function gi(e, t) {
|
|
1170
1170
|
if (!t.customMerge)
|
|
1171
|
-
return
|
|
1171
|
+
return ne;
|
|
1172
1172
|
var r = t.customMerge(e);
|
|
1173
|
-
return typeof r == "function" ? r :
|
|
1173
|
+
return typeof r == "function" ? r : ne;
|
|
1174
1174
|
}
|
|
1175
|
-
function
|
|
1175
|
+
function vi(e) {
|
|
1176
1176
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1177
1177
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1178
1178
|
}) : [];
|
|
1179
1179
|
}
|
|
1180
|
-
function
|
|
1181
|
-
return Object.keys(e).concat(
|
|
1180
|
+
function Vt(e) {
|
|
1181
|
+
return Object.keys(e).concat(vi(e));
|
|
1182
1182
|
}
|
|
1183
|
-
function
|
|
1183
|
+
function Mr(e, t) {
|
|
1184
1184
|
try {
|
|
1185
1185
|
return t in e;
|
|
1186
1186
|
} catch (r) {
|
|
1187
1187
|
return !1;
|
|
1188
1188
|
}
|
|
1189
1189
|
}
|
|
1190
|
-
function
|
|
1191
|
-
return
|
|
1190
|
+
function bi(e, t) {
|
|
1191
|
+
return Mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1192
1192
|
}
|
|
1193
|
-
function
|
|
1193
|
+
function yi(e, t, r) {
|
|
1194
1194
|
var n = {};
|
|
1195
|
-
return r.isMergeableObject(e) &&
|
|
1196
|
-
n[i] =
|
|
1197
|
-
}),
|
|
1198
|
-
|
|
1195
|
+
return r.isMergeableObject(e) && Vt(e).forEach(function(i) {
|
|
1196
|
+
n[i] = we(e[i], r);
|
|
1197
|
+
}), Vt(t).forEach(function(i) {
|
|
1198
|
+
bi(e, i) || (Mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = gi(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
|
|
1199
1199
|
}), n;
|
|
1200
1200
|
}
|
|
1201
|
-
function
|
|
1202
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1201
|
+
function ne(e, t, r) {
|
|
1202
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || mi, r.isMergeableObject = r.isMergeableObject || li, r.cloneUnlessOtherwiseSpecified = we;
|
|
1203
1203
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1204
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1204
|
+
return o ? n ? r.arrayMerge(e, t, r) : yi(e, t, r) : we(t, r);
|
|
1205
1205
|
}
|
|
1206
|
-
|
|
1206
|
+
ne.all = function(t, r) {
|
|
1207
1207
|
if (!Array.isArray(t))
|
|
1208
1208
|
throw new Error("first argument should be an array");
|
|
1209
1209
|
return t.reduce(function(n, i) {
|
|
1210
|
-
return
|
|
1210
|
+
return ne(n, i, r);
|
|
1211
1211
|
}, {});
|
|
1212
1212
|
};
|
|
1213
|
-
var
|
|
1214
|
-
const
|
|
1215
|
-
var
|
|
1216
|
-
return
|
|
1213
|
+
var _i = ne, wi = _i;
|
|
1214
|
+
const xi = /* @__PURE__ */ si(wi);
|
|
1215
|
+
var gt = function(e, t) {
|
|
1216
|
+
return gt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1217
1217
|
r.__proto__ = n;
|
|
1218
1218
|
} || function(r, n) {
|
|
1219
1219
|
for (var i in n)
|
|
1220
1220
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1221
|
-
},
|
|
1221
|
+
}, gt(e, t);
|
|
1222
1222
|
};
|
|
1223
|
-
function
|
|
1223
|
+
function je(e, t) {
|
|
1224
1224
|
if (typeof t != "function" && t !== null)
|
|
1225
1225
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1226
|
-
|
|
1226
|
+
gt(e, t);
|
|
1227
1227
|
function r() {
|
|
1228
1228
|
this.constructor = e;
|
|
1229
1229
|
}
|
|
@@ -1239,7 +1239,7 @@ var $ = function() {
|
|
|
1239
1239
|
return t;
|
|
1240
1240
|
}, $.apply(this, arguments);
|
|
1241
1241
|
};
|
|
1242
|
-
function
|
|
1242
|
+
function Ei(e, t) {
|
|
1243
1243
|
var r = {};
|
|
1244
1244
|
for (var n in e)
|
|
1245
1245
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1248,43 +1248,43 @@ function xi(e, t) {
|
|
|
1248
1248
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1249
1249
|
return r;
|
|
1250
1250
|
}
|
|
1251
|
-
function
|
|
1251
|
+
function tt(e, t, r) {
|
|
1252
1252
|
if (r || arguments.length === 2)
|
|
1253
1253
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1254
1254
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1255
1255
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1256
1256
|
}
|
|
1257
|
-
function
|
|
1258
|
-
var r = t && t.cache ? t.cache :
|
|
1257
|
+
function rt(e, t) {
|
|
1258
|
+
var r = t && t.cache ? t.cache : Pi, n = t && t.serializer ? t.serializer : Ai, i = t && t.strategy ? t.strategy : Ii;
|
|
1259
1259
|
return i(e, {
|
|
1260
1260
|
cache: r,
|
|
1261
1261
|
serializer: n
|
|
1262
1262
|
});
|
|
1263
1263
|
}
|
|
1264
|
-
function
|
|
1264
|
+
function Si(e) {
|
|
1265
1265
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1266
1266
|
}
|
|
1267
|
-
function
|
|
1268
|
-
var i =
|
|
1267
|
+
function Ni(e, t, r, n) {
|
|
1268
|
+
var i = Si(n) ? n : r(n), o = t.get(i);
|
|
1269
1269
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1270
1270
|
}
|
|
1271
|
-
function
|
|
1271
|
+
function Or(e, t, r) {
|
|
1272
1272
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1273
1273
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1274
1274
|
}
|
|
1275
|
-
function
|
|
1275
|
+
function Lr(e, t, r, n, i) {
|
|
1276
1276
|
return r.bind(t, e, n, i);
|
|
1277
1277
|
}
|
|
1278
|
-
function
|
|
1279
|
-
var r = e.length === 1 ?
|
|
1280
|
-
return
|
|
1278
|
+
function Ii(e, t) {
|
|
1279
|
+
var r = e.length === 1 ? Ni : Or;
|
|
1280
|
+
return Lr(e, this, r, t.cache.create(), t.serializer);
|
|
1281
1281
|
}
|
|
1282
|
-
function
|
|
1283
|
-
return
|
|
1282
|
+
function Bi(e, t) {
|
|
1283
|
+
return Lr(e, this, Or, t.cache.create(), t.serializer);
|
|
1284
1284
|
}
|
|
1285
|
-
var
|
|
1285
|
+
var Ai = function() {
|
|
1286
1286
|
return JSON.stringify(arguments);
|
|
1287
|
-
},
|
|
1287
|
+
}, Ti = (
|
|
1288
1288
|
/** @class */
|
|
1289
1289
|
function() {
|
|
1290
1290
|
function e() {
|
|
@@ -1296,21 +1296,21 @@ var Ii = function() {
|
|
|
1296
1296
|
this.cache[t] = r;
|
|
1297
1297
|
}, e;
|
|
1298
1298
|
}()
|
|
1299
|
-
),
|
|
1299
|
+
), Pi = {
|
|
1300
1300
|
create: function() {
|
|
1301
|
-
return new
|
|
1301
|
+
return new Ti();
|
|
1302
1302
|
}
|
|
1303
|
-
},
|
|
1304
|
-
variadic:
|
|
1305
|
-
},
|
|
1306
|
-
return
|
|
1303
|
+
}, nt = {
|
|
1304
|
+
variadic: Bi
|
|
1305
|
+
}, Fe = function() {
|
|
1306
|
+
return Fe = Object.assign || function(t) {
|
|
1307
1307
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1308
1308
|
r = arguments[n];
|
|
1309
1309
|
for (var o in r)
|
|
1310
1310
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1311
1311
|
}
|
|
1312
1312
|
return t;
|
|
1313
|
-
},
|
|
1313
|
+
}, Fe.apply(this, arguments);
|
|
1314
1314
|
};
|
|
1315
1315
|
var _;
|
|
1316
1316
|
(function(e) {
|
|
@@ -1320,47 +1320,47 @@ var B;
|
|
|
1320
1320
|
(function(e) {
|
|
1321
1321
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1322
1322
|
})(B || (B = {}));
|
|
1323
|
-
var
|
|
1323
|
+
var ie;
|
|
1324
1324
|
(function(e) {
|
|
1325
1325
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1326
|
-
})(
|
|
1327
|
-
function
|
|
1326
|
+
})(ie || (ie = {}));
|
|
1327
|
+
function Xt(e) {
|
|
1328
1328
|
return e.type === B.literal;
|
|
1329
1329
|
}
|
|
1330
|
-
function
|
|
1330
|
+
function Hi(e) {
|
|
1331
1331
|
return e.type === B.argument;
|
|
1332
1332
|
}
|
|
1333
|
-
function
|
|
1333
|
+
function Cr(e) {
|
|
1334
1334
|
return e.type === B.number;
|
|
1335
1335
|
}
|
|
1336
|
-
function
|
|
1336
|
+
function Fr(e) {
|
|
1337
1337
|
return e.type === B.date;
|
|
1338
1338
|
}
|
|
1339
|
-
function
|
|
1339
|
+
function Rr(e) {
|
|
1340
1340
|
return e.type === B.time;
|
|
1341
1341
|
}
|
|
1342
|
-
function
|
|
1342
|
+
function Ur(e) {
|
|
1343
1343
|
return e.type === B.select;
|
|
1344
1344
|
}
|
|
1345
|
-
function
|
|
1345
|
+
function Dr(e) {
|
|
1346
1346
|
return e.type === B.plural;
|
|
1347
1347
|
}
|
|
1348
|
-
function
|
|
1348
|
+
function Mi(e) {
|
|
1349
1349
|
return e.type === B.pound;
|
|
1350
1350
|
}
|
|
1351
|
-
function
|
|
1351
|
+
function Gr(e) {
|
|
1352
1352
|
return e.type === B.tag;
|
|
1353
1353
|
}
|
|
1354
|
-
function
|
|
1355
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1354
|
+
function kr(e) {
|
|
1355
|
+
return !!(e && typeof e == "object" && e.type === ie.number);
|
|
1356
1356
|
}
|
|
1357
|
-
function
|
|
1358
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1357
|
+
function vt(e) {
|
|
1358
|
+
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
|
1359
1359
|
}
|
|
1360
|
-
var
|
|
1361
|
-
function
|
|
1360
|
+
var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Oi = /(?:[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;
|
|
1361
|
+
function Li(e) {
|
|
1362
1362
|
var t = {};
|
|
1363
|
-
return e.replace(
|
|
1363
|
+
return e.replace(Oi, function(r) {
|
|
1364
1364
|
var n = r.length;
|
|
1365
1365
|
switch (r[0]) {
|
|
1366
1366
|
case "G":
|
|
@@ -1459,18 +1459,18 @@ var T = function() {
|
|
|
1459
1459
|
return t;
|
|
1460
1460
|
}, T.apply(this, arguments);
|
|
1461
1461
|
};
|
|
1462
|
-
var
|
|
1463
|
-
function
|
|
1462
|
+
var Ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1463
|
+
function Fi(e) {
|
|
1464
1464
|
if (e.length === 0)
|
|
1465
1465
|
throw new Error("Number skeleton cannot be empty");
|
|
1466
|
-
for (var t = e.split(
|
|
1466
|
+
for (var t = e.split(Ci).filter(function(f) {
|
|
1467
1467
|
return f.length > 0;
|
|
1468
1468
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1469
1469
|
var o = i[n], a = o.split("/");
|
|
1470
1470
|
if (a.length === 0)
|
|
1471
1471
|
throw new Error("Invalid number skeleton");
|
|
1472
|
-
for (var s = a[0], l = a.slice(1),
|
|
1473
|
-
var d = u[
|
|
1472
|
+
for (var s = a[0], l = a.slice(1), c = 0, u = l; c < u.length; c++) {
|
|
1473
|
+
var d = u[c];
|
|
1474
1474
|
if (d.length === 0)
|
|
1475
1475
|
throw new Error("Invalid number skeleton");
|
|
1476
1476
|
}
|
|
@@ -1478,17 +1478,17 @@ function Li(e) {
|
|
|
1478
1478
|
}
|
|
1479
1479
|
return r;
|
|
1480
1480
|
}
|
|
1481
|
-
function
|
|
1481
|
+
function Ri(e) {
|
|
1482
1482
|
return e.replace(/^(.*?)-/, "");
|
|
1483
1483
|
}
|
|
1484
|
-
var
|
|
1485
|
-
function
|
|
1484
|
+
var zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jr = /^(@+)?(\+|#+)?[rs]?$/g, Ui = /(\*)(0+)|(#+)(0+)|(0+)/g, Wr = /^(0+)$/;
|
|
1485
|
+
function Zt(e) {
|
|
1486
1486
|
var t = {};
|
|
1487
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1487
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jr, function(r, n, i) {
|
|
1488
1488
|
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)), "";
|
|
1489
1489
|
}), t;
|
|
1490
1490
|
}
|
|
1491
|
-
function
|
|
1491
|
+
function Vr(e) {
|
|
1492
1492
|
switch (e) {
|
|
1493
1493
|
case "sign-auto":
|
|
1494
1494
|
return {
|
|
@@ -1528,7 +1528,7 @@ function Wr(e) {
|
|
|
1528
1528
|
};
|
|
1529
1529
|
}
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1531
|
+
function Di(e) {
|
|
1532
1532
|
var t;
|
|
1533
1533
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1534
1534
|
notation: "engineering"
|
|
@@ -1536,17 +1536,17 @@ function Ri(e) {
|
|
|
1536
1536
|
notation: "scientific"
|
|
1537
1537
|
}, e = e.slice(1)), t) {
|
|
1538
1538
|
var r = e.slice(0, 2);
|
|
1539
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1539
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wr.test(e))
|
|
1540
1540
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1541
1541
|
t.minimumIntegerDigits = e.length;
|
|
1542
1542
|
}
|
|
1543
1543
|
return t;
|
|
1544
1544
|
}
|
|
1545
|
-
function
|
|
1546
|
-
var t = {}, r =
|
|
1545
|
+
function Qt(e) {
|
|
1546
|
+
var t = {}, r = Vr(e);
|
|
1547
1547
|
return r || t;
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1549
|
+
function Gi(e) {
|
|
1550
1550
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1551
1551
|
var i = n[r];
|
|
1552
1552
|
switch (i.stem) {
|
|
@@ -1570,7 +1570,7 @@ function Ui(e) {
|
|
|
1570
1570
|
continue;
|
|
1571
1571
|
case "measure-unit":
|
|
1572
1572
|
case "unit":
|
|
1573
|
-
t.style = "unit", t.unit =
|
|
1573
|
+
t.style = "unit", t.unit = Ri(i.options[0]);
|
|
1574
1574
|
continue;
|
|
1575
1575
|
case "compact-short":
|
|
1576
1576
|
case "K":
|
|
@@ -1581,13 +1581,13 @@ function Ui(e) {
|
|
|
1581
1581
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1582
1582
|
continue;
|
|
1583
1583
|
case "scientific":
|
|
1584
|
-
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l,
|
|
1585
|
-
return T(T({}, l),
|
|
1584
|
+
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, c) {
|
|
1585
|
+
return T(T({}, l), Qt(c));
|
|
1586
1586
|
}, {}));
|
|
1587
1587
|
continue;
|
|
1588
1588
|
case "engineering":
|
|
1589
|
-
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l,
|
|
1590
|
-
return T(T({}, l),
|
|
1589
|
+
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, c) {
|
|
1590
|
+
return T(T({}, l), Qt(c));
|
|
1591
1591
|
}, {}));
|
|
1592
1592
|
continue;
|
|
1593
1593
|
case "notation-simple":
|
|
@@ -1632,45 +1632,45 @@ function Ui(e) {
|
|
|
1632
1632
|
case "integer-width":
|
|
1633
1633
|
if (i.options.length > 1)
|
|
1634
1634
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1635
|
-
i.options[0].replace(
|
|
1636
|
-
if (
|
|
1635
|
+
i.options[0].replace(Ui, function(l, c, u, d, f, m) {
|
|
1636
|
+
if (c)
|
|
1637
1637
|
t.minimumIntegerDigits = u.length;
|
|
1638
1638
|
else {
|
|
1639
1639
|
if (d && f)
|
|
1640
1640
|
throw new Error("We currently do not support maximum integer digits");
|
|
1641
|
-
if (
|
|
1641
|
+
if (m)
|
|
1642
1642
|
throw new Error("We currently do not support exact integer digits");
|
|
1643
1643
|
}
|
|
1644
1644
|
return "";
|
|
1645
1645
|
});
|
|
1646
1646
|
continue;
|
|
1647
1647
|
}
|
|
1648
|
-
if (
|
|
1648
|
+
if (Wr.test(i.stem)) {
|
|
1649
1649
|
t.minimumIntegerDigits = i.stem.length;
|
|
1650
1650
|
continue;
|
|
1651
1651
|
}
|
|
1652
|
-
if (
|
|
1652
|
+
if (zt.test(i.stem)) {
|
|
1653
1653
|
if (i.options.length > 1)
|
|
1654
1654
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1655
|
-
i.stem.replace(
|
|
1656
|
-
return u === "*" ? t.minimumFractionDigits =
|
|
1655
|
+
i.stem.replace(zt, function(l, c, u, d, f, m) {
|
|
1656
|
+
return u === "*" ? t.minimumFractionDigits = c.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length), "";
|
|
1657
1657
|
});
|
|
1658
1658
|
var o = i.options[0];
|
|
1659
|
-
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t),
|
|
1659
|
+
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Zt(o)));
|
|
1660
1660
|
continue;
|
|
1661
1661
|
}
|
|
1662
|
-
if (
|
|
1663
|
-
t = T(T({}, t),
|
|
1662
|
+
if (jr.test(i.stem)) {
|
|
1663
|
+
t = T(T({}, t), Zt(i.stem));
|
|
1664
1664
|
continue;
|
|
1665
1665
|
}
|
|
1666
|
-
var a =
|
|
1666
|
+
var a = Vr(i.stem);
|
|
1667
1667
|
a && (t = T(T({}, t), a));
|
|
1668
|
-
var s =
|
|
1668
|
+
var s = Di(i.stem);
|
|
1669
1669
|
s && (t = T(T({}, t), s));
|
|
1670
1670
|
}
|
|
1671
1671
|
return t;
|
|
1672
1672
|
}
|
|
1673
|
-
var
|
|
1673
|
+
var Te = {
|
|
1674
1674
|
"001": [
|
|
1675
1675
|
"H",
|
|
1676
1676
|
"h"
|
|
@@ -3085,23 +3085,23 @@ var Ae = {
|
|
|
3085
3085
|
"h"
|
|
3086
3086
|
]
|
|
3087
3087
|
};
|
|
3088
|
-
function
|
|
3088
|
+
function ki(e, t) {
|
|
3089
3089
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3090
3090
|
var i = e.charAt(n);
|
|
3091
3091
|
if (i === "j") {
|
|
3092
3092
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3093
3093
|
o++, n++;
|
|
3094
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a",
|
|
3095
|
-
for ((
|
|
3094
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", c = $i(t);
|
|
3095
|
+
for ((c == "H" || c == "k") && (s = 0); s-- > 0; )
|
|
3096
3096
|
r += l;
|
|
3097
3097
|
for (; a-- > 0; )
|
|
3098
|
-
r =
|
|
3098
|
+
r = c + r;
|
|
3099
3099
|
} else
|
|
3100
3100
|
i === "J" ? r += "H" : r += i;
|
|
3101
3101
|
}
|
|
3102
3102
|
return r;
|
|
3103
3103
|
}
|
|
3104
|
-
function
|
|
3104
|
+
function $i(e) {
|
|
3105
3105
|
var t = e.hourCycle;
|
|
3106
3106
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3107
3107
|
e.hourCycles && // @ts-ignore
|
|
@@ -3120,23 +3120,23 @@ function Gi(e) {
|
|
|
3120
3120
|
}
|
|
3121
3121
|
var r = e.language, n;
|
|
3122
3122
|
r !== "root" && (n = e.maximize().region);
|
|
3123
|
-
var i =
|
|
3123
|
+
var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
|
|
3124
3124
|
return i[0];
|
|
3125
3125
|
}
|
|
3126
|
-
var
|
|
3127
|
-
function
|
|
3126
|
+
var it, ji = new RegExp("^".concat($r.source, "*")), Wi = new RegExp("".concat($r.source, "*$"));
|
|
3127
|
+
function w(e, t) {
|
|
3128
3128
|
return { start: e, end: t };
|
|
3129
3129
|
}
|
|
3130
|
-
var
|
|
3130
|
+
var Vi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Xi = !!String.fromCodePoint, zi = !!Object.fromEntries, Zi = !!String.prototype.codePointAt, Qi = !!String.prototype.trimStart, Yi = !!String.prototype.trimEnd, Ji = !!Number.isSafeInteger, qi = Ji ? Number.isSafeInteger : function(e) {
|
|
3131
3131
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3132
|
-
},
|
|
3132
|
+
}, bt = !0;
|
|
3133
3133
|
try {
|
|
3134
|
-
var
|
|
3135
|
-
|
|
3134
|
+
var Ki = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3135
|
+
bt = ((it = Ki.exec("a")) === null || it === void 0 ? void 0 : it[0]) === "a";
|
|
3136
3136
|
} catch (e) {
|
|
3137
|
-
|
|
3137
|
+
bt = !1;
|
|
3138
3138
|
}
|
|
3139
|
-
var
|
|
3139
|
+
var Yt = Vi ? (
|
|
3140
3140
|
// Native
|
|
3141
3141
|
function(t, r, n) {
|
|
3142
3142
|
return t.startsWith(r, n);
|
|
@@ -3146,7 +3146,7 @@ var Qt = ji ? (
|
|
|
3146
3146
|
function(t, r, n) {
|
|
3147
3147
|
return t.slice(n, n + r.length) === r;
|
|
3148
3148
|
}
|
|
3149
|
-
),
|
|
3149
|
+
), yt = Xi ? String.fromCodePoint : (
|
|
3150
3150
|
// IE11
|
|
3151
3151
|
function() {
|
|
3152
3152
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3158,9 +3158,9 @@ var Qt = ji ? (
|
|
|
3158
3158
|
}
|
|
3159
3159
|
return n;
|
|
3160
3160
|
}
|
|
3161
|
-
),
|
|
3161
|
+
), Jt = (
|
|
3162
3162
|
// native
|
|
3163
|
-
|
|
3163
|
+
zi ? Object.fromEntries : (
|
|
3164
3164
|
// Ponyfill
|
|
3165
3165
|
function(t) {
|
|
3166
3166
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3170,7 +3170,7 @@ var Qt = ji ? (
|
|
|
3170
3170
|
return r;
|
|
3171
3171
|
}
|
|
3172
3172
|
)
|
|
3173
|
-
),
|
|
3173
|
+
), Xr = Zi ? (
|
|
3174
3174
|
// Native
|
|
3175
3175
|
function(t, r) {
|
|
3176
3176
|
return t.codePointAt(r);
|
|
@@ -3184,7 +3184,7 @@ var Qt = ji ? (
|
|
|
3184
3184
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3185
3185
|
}
|
|
3186
3186
|
}
|
|
3187
|
-
),
|
|
3187
|
+
), eo = Qi ? (
|
|
3188
3188
|
// Native
|
|
3189
3189
|
function(t) {
|
|
3190
3190
|
return t.trimStart();
|
|
@@ -3192,9 +3192,9 @@ var Qt = ji ? (
|
|
|
3192
3192
|
) : (
|
|
3193
3193
|
// Ponyfill
|
|
3194
3194
|
function(t) {
|
|
3195
|
-
return t.replace(
|
|
3195
|
+
return t.replace(ji, "");
|
|
3196
3196
|
}
|
|
3197
|
-
),
|
|
3197
|
+
), to = Yi ? (
|
|
3198
3198
|
// Native
|
|
3199
3199
|
function(t) {
|
|
3200
3200
|
return t.trimEnd();
|
|
@@ -3202,32 +3202,32 @@ var Qt = ji ? (
|
|
|
3202
3202
|
) : (
|
|
3203
3203
|
// Ponyfill
|
|
3204
3204
|
function(t) {
|
|
3205
|
-
return t.replace(
|
|
3205
|
+
return t.replace(Wi, "");
|
|
3206
3206
|
}
|
|
3207
3207
|
);
|
|
3208
|
-
function
|
|
3208
|
+
function zr(e, t) {
|
|
3209
3209
|
return new RegExp(e, t);
|
|
3210
3210
|
}
|
|
3211
|
-
var
|
|
3212
|
-
if (
|
|
3213
|
-
var
|
|
3214
|
-
|
|
3211
|
+
var _t;
|
|
3212
|
+
if (bt) {
|
|
3213
|
+
var qt = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3214
|
+
_t = function(t, r) {
|
|
3215
3215
|
var n;
|
|
3216
|
-
|
|
3217
|
-
var i =
|
|
3216
|
+
qt.lastIndex = r;
|
|
3217
|
+
var i = qt.exec(t);
|
|
3218
3218
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3219
3219
|
};
|
|
3220
3220
|
} else
|
|
3221
|
-
|
|
3221
|
+
_t = function(t, r) {
|
|
3222
3222
|
for (var n = []; ; ) {
|
|
3223
|
-
var i =
|
|
3224
|
-
if (i === void 0 ||
|
|
3223
|
+
var i = Xr(t, r);
|
|
3224
|
+
if (i === void 0 || Zr(i) || oo(i))
|
|
3225
3225
|
break;
|
|
3226
3226
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3227
3227
|
}
|
|
3228
|
-
return
|
|
3228
|
+
return yt.apply(void 0, n);
|
|
3229
3229
|
};
|
|
3230
|
-
var
|
|
3230
|
+
var ro = (
|
|
3231
3231
|
/** @class */
|
|
3232
3232
|
function() {
|
|
3233
3233
|
function e(t, r) {
|
|
@@ -3252,13 +3252,13 @@ var eo = (
|
|
|
3252
3252
|
var s = this.clonePosition();
|
|
3253
3253
|
this.bump(), i.push({
|
|
3254
3254
|
type: B.pound,
|
|
3255
|
-
location:
|
|
3255
|
+
location: w(s, this.clonePosition())
|
|
3256
3256
|
});
|
|
3257
3257
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3258
3258
|
if (n)
|
|
3259
3259
|
break;
|
|
3260
|
-
return this.error(_.UNMATCHED_CLOSING_TAG,
|
|
3261
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3260
|
+
return this.error(_.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
3261
|
+
} else if (o === 60 && !this.ignoreTag && wt(this.peek() || 0)) {
|
|
3262
3262
|
var a = this.parseTag(t, r);
|
|
3263
3263
|
if (a.err)
|
|
3264
3264
|
return a;
|
|
@@ -3281,7 +3281,7 @@ var eo = (
|
|
|
3281
3281
|
val: {
|
|
3282
3282
|
type: B.literal,
|
|
3283
3283
|
value: "<".concat(i, "/>"),
|
|
3284
|
-
location:
|
|
3284
|
+
location: w(n, this.clonePosition())
|
|
3285
3285
|
},
|
|
3286
3286
|
err: null
|
|
3287
3287
|
};
|
|
@@ -3291,25 +3291,25 @@ var eo = (
|
|
|
3291
3291
|
return o;
|
|
3292
3292
|
var a = o.val, s = this.clonePosition();
|
|
3293
3293
|
if (this.bumpIf("</")) {
|
|
3294
|
-
if (this.isEOF() || !
|
|
3295
|
-
return this.error(_.INVALID_TAG,
|
|
3296
|
-
var l = this.clonePosition(),
|
|
3297
|
-
return i !==
|
|
3294
|
+
if (this.isEOF() || !wt(this.char()))
|
|
3295
|
+
return this.error(_.INVALID_TAG, w(s, this.clonePosition()));
|
|
3296
|
+
var l = this.clonePosition(), c = this.parseTagName();
|
|
3297
|
+
return i !== c ? this.error(_.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3298
3298
|
val: {
|
|
3299
3299
|
type: B.tag,
|
|
3300
3300
|
value: i,
|
|
3301
3301
|
children: a,
|
|
3302
|
-
location:
|
|
3302
|
+
location: w(n, this.clonePosition())
|
|
3303
3303
|
},
|
|
3304
3304
|
err: null
|
|
3305
|
-
} : this.error(_.INVALID_TAG,
|
|
3305
|
+
} : this.error(_.INVALID_TAG, w(s, this.clonePosition())));
|
|
3306
3306
|
} else
|
|
3307
|
-
return this.error(_.UNCLOSED_TAG,
|
|
3307
|
+
return this.error(_.UNCLOSED_TAG, w(n, this.clonePosition()));
|
|
3308
3308
|
} else
|
|
3309
|
-
return this.error(_.INVALID_TAG,
|
|
3309
|
+
return this.error(_.INVALID_TAG, w(n, this.clonePosition()));
|
|
3310
3310
|
}, e.prototype.parseTagName = function() {
|
|
3311
3311
|
var t = this.offset();
|
|
3312
|
-
for (this.bump(); !this.isEOF() &&
|
|
3312
|
+
for (this.bump(); !this.isEOF() && io(this.char()); )
|
|
3313
3313
|
this.bump();
|
|
3314
3314
|
return this.message.slice(t, this.offset());
|
|
3315
3315
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3331,14 +3331,14 @@ var eo = (
|
|
|
3331
3331
|
}
|
|
3332
3332
|
break;
|
|
3333
3333
|
}
|
|
3334
|
-
var l =
|
|
3334
|
+
var l = w(n, this.clonePosition());
|
|
3335
3335
|
return {
|
|
3336
3336
|
val: { type: B.literal, value: i, location: l },
|
|
3337
3337
|
err: null
|
|
3338
3338
|
};
|
|
3339
3339
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3340
3340
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3341
|
-
!
|
|
3341
|
+
!no(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3342
3342
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3343
3343
|
if (this.isEOF() || this.char() !== 39)
|
|
3344
3344
|
return null;
|
|
@@ -3372,23 +3372,23 @@ var eo = (
|
|
|
3372
3372
|
r.push(n);
|
|
3373
3373
|
this.bump();
|
|
3374
3374
|
}
|
|
3375
|
-
return
|
|
3375
|
+
return yt.apply(void 0, r);
|
|
3376
3376
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3377
3377
|
if (this.isEOF())
|
|
3378
3378
|
return null;
|
|
3379
3379
|
var n = this.char();
|
|
3380
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3380
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), yt(n));
|
|
3381
3381
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3382
3382
|
var n = this.clonePosition();
|
|
3383
3383
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3384
|
-
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3384
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
|
|
3385
3385
|
if (this.char() === 125)
|
|
3386
|
-
return this.bump(), this.error(_.EMPTY_ARGUMENT,
|
|
3386
|
+
return this.bump(), this.error(_.EMPTY_ARGUMENT, w(n, this.clonePosition()));
|
|
3387
3387
|
var i = this.parseIdentifierIfPossible().value;
|
|
3388
3388
|
if (!i)
|
|
3389
|
-
return this.error(_.MALFORMED_ARGUMENT,
|
|
3389
|
+
return this.error(_.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3390
3390
|
if (this.bumpSpace(), this.isEOF())
|
|
3391
|
-
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3391
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
|
|
3392
3392
|
switch (this.char()) {
|
|
3393
3393
|
case 125:
|
|
3394
3394
|
return this.bump(), {
|
|
@@ -3396,63 +3396,63 @@ var eo = (
|
|
|
3396
3396
|
type: B.argument,
|
|
3397
3397
|
// value does not include the opening and closing braces.
|
|
3398
3398
|
value: i,
|
|
3399
|
-
location:
|
|
3399
|
+
location: w(n, this.clonePosition())
|
|
3400
3400
|
},
|
|
3401
3401
|
err: null
|
|
3402
3402
|
};
|
|
3403
3403
|
case 44:
|
|
3404
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3404
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3405
3405
|
default:
|
|
3406
|
-
return this.error(_.MALFORMED_ARGUMENT,
|
|
3406
|
+
return this.error(_.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3407
3407
|
}
|
|
3408
3408
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3409
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3409
|
+
var t = this.clonePosition(), r = this.offset(), n = _t(this.message, r), i = r + n.length;
|
|
3410
3410
|
this.bumpTo(i);
|
|
3411
|
-
var o = this.clonePosition(), a =
|
|
3411
|
+
var o = this.clonePosition(), a = w(t, o);
|
|
3412
3412
|
return { value: n, location: a };
|
|
3413
3413
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3414
3414
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3415
3415
|
switch (s) {
|
|
3416
3416
|
case "":
|
|
3417
|
-
return this.error(_.EXPECT_ARGUMENT_TYPE,
|
|
3417
|
+
return this.error(_.EXPECT_ARGUMENT_TYPE, w(a, l));
|
|
3418
3418
|
case "number":
|
|
3419
3419
|
case "date":
|
|
3420
3420
|
case "time": {
|
|
3421
3421
|
this.bumpSpace();
|
|
3422
|
-
var
|
|
3422
|
+
var c = null;
|
|
3423
3423
|
if (this.bumpIf(",")) {
|
|
3424
3424
|
this.bumpSpace();
|
|
3425
3425
|
var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3426
3426
|
if (d.err)
|
|
3427
3427
|
return d;
|
|
3428
|
-
var f =
|
|
3428
|
+
var f = to(d.val);
|
|
3429
3429
|
if (f.length === 0)
|
|
3430
|
-
return this.error(_.EXPECT_ARGUMENT_STYLE,
|
|
3431
|
-
var
|
|
3432
|
-
|
|
3430
|
+
return this.error(_.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
3431
|
+
var m = w(u, this.clonePosition());
|
|
3432
|
+
c = { style: f, styleLocation: m };
|
|
3433
3433
|
}
|
|
3434
3434
|
var g = this.tryParseArgumentClose(i);
|
|
3435
3435
|
if (g.err)
|
|
3436
3436
|
return g;
|
|
3437
|
-
var v =
|
|
3438
|
-
if (
|
|
3439
|
-
var
|
|
3437
|
+
var v = w(i, this.clonePosition());
|
|
3438
|
+
if (c && Yt(c == null ? void 0 : c.style, "::", 0)) {
|
|
3439
|
+
var x = eo(c.style.slice(2));
|
|
3440
3440
|
if (s === "number") {
|
|
3441
|
-
var d = this.parseNumberSkeletonFromString(
|
|
3441
|
+
var d = this.parseNumberSkeletonFromString(x, c.styleLocation);
|
|
3442
3442
|
return d.err ? d : {
|
|
3443
3443
|
val: { type: B.number, value: n, location: v, style: d.val },
|
|
3444
3444
|
err: null
|
|
3445
3445
|
};
|
|
3446
3446
|
} else {
|
|
3447
|
-
if (
|
|
3447
|
+
if (x.length === 0)
|
|
3448
3448
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3449
|
-
var
|
|
3450
|
-
this.locale && (
|
|
3449
|
+
var E = x;
|
|
3450
|
+
this.locale && (E = ki(x, this.locale));
|
|
3451
3451
|
var f = {
|
|
3452
|
-
type:
|
|
3453
|
-
pattern:
|
|
3454
|
-
location:
|
|
3455
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3452
|
+
type: ie.dateTime,
|
|
3453
|
+
pattern: E,
|
|
3454
|
+
location: c.styleLocation,
|
|
3455
|
+
parsedOptions: this.shouldParseSkeletons ? Li(E) : {}
|
|
3456
3456
|
}, b = s === "date" ? B.date : B.time;
|
|
3457
3457
|
return {
|
|
3458
3458
|
val: { type: b, value: n, location: v, style: f },
|
|
@@ -3465,7 +3465,7 @@ var eo = (
|
|
|
3465
3465
|
type: s === "number" ? B.number : s === "date" ? B.date : B.time,
|
|
3466
3466
|
value: n,
|
|
3467
3467
|
location: v,
|
|
3468
|
-
style: (o =
|
|
3468
|
+
style: (o = c == null ? void 0 : c.style) !== null && o !== void 0 ? o : null
|
|
3469
3469
|
},
|
|
3470
3470
|
err: null
|
|
3471
3471
|
};
|
|
@@ -3475,50 +3475,50 @@ var eo = (
|
|
|
3475
3475
|
case "select": {
|
|
3476
3476
|
var A = this.clonePosition();
|
|
3477
3477
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3478
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3478
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, w(A, Fe({}, A)));
|
|
3479
3479
|
this.bumpSpace();
|
|
3480
|
-
var
|
|
3481
|
-
if (s !== "select" &&
|
|
3480
|
+
var S = this.parseIdentifierIfPossible(), O = 0;
|
|
3481
|
+
if (s !== "select" && S.value === "offset") {
|
|
3482
3482
|
if (!this.bumpIf(":"))
|
|
3483
|
-
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3483
|
+
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
|
|
3484
3484
|
this.bumpSpace();
|
|
3485
3485
|
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3486
3486
|
if (d.err)
|
|
3487
3487
|
return d;
|
|
3488
|
-
this.bumpSpace(),
|
|
3488
|
+
this.bumpSpace(), S = this.parseIdentifierIfPossible(), O = d.val;
|
|
3489
3489
|
}
|
|
3490
|
-
var G = this.tryParsePluralOrSelectOptions(t, s, r,
|
|
3490
|
+
var G = this.tryParsePluralOrSelectOptions(t, s, r, S);
|
|
3491
3491
|
if (G.err)
|
|
3492
3492
|
return G;
|
|
3493
3493
|
var g = this.tryParseArgumentClose(i);
|
|
3494
3494
|
if (g.err)
|
|
3495
3495
|
return g;
|
|
3496
|
-
var
|
|
3496
|
+
var fe = w(i, this.clonePosition());
|
|
3497
3497
|
return s === "select" ? {
|
|
3498
3498
|
val: {
|
|
3499
3499
|
type: B.select,
|
|
3500
3500
|
value: n,
|
|
3501
|
-
options:
|
|
3502
|
-
location:
|
|
3501
|
+
options: Jt(G.val),
|
|
3502
|
+
location: fe
|
|
3503
3503
|
},
|
|
3504
3504
|
err: null
|
|
3505
3505
|
} : {
|
|
3506
3506
|
val: {
|
|
3507
3507
|
type: B.plural,
|
|
3508
3508
|
value: n,
|
|
3509
|
-
options:
|
|
3509
|
+
options: Jt(G.val),
|
|
3510
3510
|
offset: O,
|
|
3511
3511
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3512
|
-
location:
|
|
3512
|
+
location: fe
|
|
3513
3513
|
},
|
|
3514
3514
|
err: null
|
|
3515
3515
|
};
|
|
3516
3516
|
}
|
|
3517
3517
|
default:
|
|
3518
|
-
return this.error(_.INVALID_ARGUMENT_TYPE,
|
|
3518
|
+
return this.error(_.INVALID_ARGUMENT_TYPE, w(a, l));
|
|
3519
3519
|
}
|
|
3520
3520
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3521
|
-
return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3521
|
+
return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3522
3522
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3523
3523
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3524
3524
|
var n = this.char();
|
|
@@ -3527,7 +3527,7 @@ var eo = (
|
|
|
3527
3527
|
this.bump();
|
|
3528
3528
|
var i = this.clonePosition();
|
|
3529
3529
|
if (!this.bumpUntil("'"))
|
|
3530
|
-
return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3530
|
+
return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
|
|
3531
3531
|
this.bump();
|
|
3532
3532
|
break;
|
|
3533
3533
|
}
|
|
@@ -3557,52 +3557,52 @@ var eo = (
|
|
|
3557
3557
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3558
3558
|
var n = [];
|
|
3559
3559
|
try {
|
|
3560
|
-
n =
|
|
3560
|
+
n = Fi(t);
|
|
3561
3561
|
} catch (i) {
|
|
3562
3562
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3563
3563
|
}
|
|
3564
3564
|
return {
|
|
3565
3565
|
val: {
|
|
3566
|
-
type:
|
|
3566
|
+
type: ie.number,
|
|
3567
3567
|
tokens: n,
|
|
3568
3568
|
location: r,
|
|
3569
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3569
|
+
parsedOptions: this.shouldParseSkeletons ? Gi(n) : {}
|
|
3570
3570
|
},
|
|
3571
3571
|
err: null
|
|
3572
3572
|
};
|
|
3573
3573
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3574
|
-
for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(),
|
|
3575
|
-
if (
|
|
3574
|
+
for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), c = i.value, u = i.location; ; ) {
|
|
3575
|
+
if (c.length === 0) {
|
|
3576
3576
|
var d = this.clonePosition();
|
|
3577
3577
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3578
3578
|
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3579
3579
|
if (f.err)
|
|
3580
3580
|
return f;
|
|
3581
|
-
u =
|
|
3581
|
+
u = w(d, this.clonePosition()), c = this.message.slice(d.offset, this.offset());
|
|
3582
3582
|
} else
|
|
3583
3583
|
break;
|
|
3584
3584
|
}
|
|
3585
|
-
if (l.has(
|
|
3585
|
+
if (l.has(c))
|
|
3586
3586
|
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
|
|
3587
|
-
|
|
3588
|
-
var
|
|
3587
|
+
c === "other" && (a = !0), this.bumpSpace();
|
|
3588
|
+
var m = this.clonePosition();
|
|
3589
3589
|
if (!this.bumpIf("{"))
|
|
3590
|
-
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3590
|
+
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
|
|
3591
3591
|
var g = this.parseMessage(t + 1, r, n);
|
|
3592
3592
|
if (g.err)
|
|
3593
3593
|
return g;
|
|
3594
|
-
var v = this.tryParseArgumentClose(
|
|
3594
|
+
var v = this.tryParseArgumentClose(m);
|
|
3595
3595
|
if (v.err)
|
|
3596
3596
|
return v;
|
|
3597
3597
|
s.push([
|
|
3598
|
-
|
|
3598
|
+
c,
|
|
3599
3599
|
{
|
|
3600
3600
|
value: g.val,
|
|
3601
|
-
location:
|
|
3601
|
+
location: w(m, this.clonePosition())
|
|
3602
3602
|
}
|
|
3603
|
-
]), l.add(
|
|
3603
|
+
]), l.add(c), this.bumpSpace(), o = this.parseIdentifierIfPossible(), c = o.value, u = o.location;
|
|
3604
3604
|
}
|
|
3605
|
-
return s.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3605
|
+
return s.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3606
3606
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3607
3607
|
var n = 1, i = this.clonePosition();
|
|
3608
3608
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3613,8 +3613,8 @@ var eo = (
|
|
|
3613
3613
|
else
|
|
3614
3614
|
break;
|
|
3615
3615
|
}
|
|
3616
|
-
var l =
|
|
3617
|
-
return o ? (a *= n,
|
|
3616
|
+
var l = w(i, this.clonePosition());
|
|
3617
|
+
return o ? (a *= n, qi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3618
3618
|
}, e.prototype.offset = function() {
|
|
3619
3619
|
return this.position.offset;
|
|
3620
3620
|
}, e.prototype.isEOF = function() {
|
|
@@ -3629,7 +3629,7 @@ var eo = (
|
|
|
3629
3629
|
var t = this.position.offset;
|
|
3630
3630
|
if (t >= this.message.length)
|
|
3631
3631
|
throw Error("out of bound");
|
|
3632
|
-
var r =
|
|
3632
|
+
var r = Xr(this.message, t);
|
|
3633
3633
|
if (r === void 0)
|
|
3634
3634
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3635
3635
|
return r;
|
|
@@ -3648,7 +3648,7 @@ var eo = (
|
|
|
3648
3648
|
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);
|
|
3649
3649
|
}
|
|
3650
3650
|
}, e.prototype.bumpIf = function(t) {
|
|
3651
|
-
if (
|
|
3651
|
+
if (Yt(this.message, t, this.offset())) {
|
|
3652
3652
|
for (var r = 0; r < t.length; r++)
|
|
3653
3653
|
this.bump();
|
|
3654
3654
|
return !0;
|
|
@@ -3670,7 +3670,7 @@ var eo = (
|
|
|
3670
3670
|
break;
|
|
3671
3671
|
}
|
|
3672
3672
|
}, e.prototype.bumpSpace = function() {
|
|
3673
|
-
for (; !this.isEOF() &&
|
|
3673
|
+
for (; !this.isEOF() && Zr(this.char()); )
|
|
3674
3674
|
this.bump();
|
|
3675
3675
|
}, e.prototype.peek = function() {
|
|
3676
3676
|
if (this.isEOF())
|
|
@@ -3680,47 +3680,47 @@ var eo = (
|
|
|
3680
3680
|
}, e;
|
|
3681
3681
|
}()
|
|
3682
3682
|
);
|
|
3683
|
-
function
|
|
3683
|
+
function wt(e) {
|
|
3684
3684
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3685
3685
|
}
|
|
3686
|
-
function
|
|
3687
|
-
return
|
|
3686
|
+
function no(e) {
|
|
3687
|
+
return wt(e) || e === 47;
|
|
3688
3688
|
}
|
|
3689
|
-
function
|
|
3689
|
+
function io(e) {
|
|
3690
3690
|
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;
|
|
3691
3691
|
}
|
|
3692
|
-
function
|
|
3692
|
+
function Zr(e) {
|
|
3693
3693
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3694
3694
|
}
|
|
3695
|
-
function
|
|
3695
|
+
function oo(e) {
|
|
3696
3696
|
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;
|
|
3697
3697
|
}
|
|
3698
3698
|
function xt(e) {
|
|
3699
3699
|
e.forEach(function(t) {
|
|
3700
|
-
if (delete t.location,
|
|
3700
|
+
if (delete t.location, Ur(t) || Dr(t))
|
|
3701
3701
|
for (var r in t.options)
|
|
3702
3702
|
delete t.options[r].location, xt(t.options[r].value);
|
|
3703
3703
|
else
|
|
3704
|
-
|
|
3704
|
+
Cr(t) && kr(t.style) || (Fr(t) || Rr(t)) && vt(t.style) ? delete t.style.location : Gr(t) && xt(t.children);
|
|
3705
3705
|
});
|
|
3706
3706
|
}
|
|
3707
|
-
function
|
|
3708
|
-
t === void 0 && (t = {}), t =
|
|
3709
|
-
var r = new
|
|
3707
|
+
function ao(e, t) {
|
|
3708
|
+
t === void 0 && (t = {}), t = Fe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3709
|
+
var r = new ro(e, t).parse();
|
|
3710
3710
|
if (r.err) {
|
|
3711
3711
|
var n = SyntaxError(_[r.err.kind]);
|
|
3712
3712
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3713
3713
|
}
|
|
3714
3714
|
return t != null && t.captureLocation || xt(r.val), r.val;
|
|
3715
3715
|
}
|
|
3716
|
-
var
|
|
3716
|
+
var oe;
|
|
3717
3717
|
(function(e) {
|
|
3718
3718
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3719
|
-
})(
|
|
3720
|
-
var
|
|
3719
|
+
})(oe || (oe = {}));
|
|
3720
|
+
var We = (
|
|
3721
3721
|
/** @class */
|
|
3722
3722
|
function(e) {
|
|
3723
|
-
|
|
3723
|
+
je(t, e);
|
|
3724
3724
|
function t(r, n, i) {
|
|
3725
3725
|
var o = e.call(this, r) || this;
|
|
3726
3726
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3729,64 +3729,64 @@ var je = (
|
|
|
3729
3729
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3730
3730
|
}, t;
|
|
3731
3731
|
}(Error)
|
|
3732
|
-
),
|
|
3732
|
+
), Kt = (
|
|
3733
3733
|
/** @class */
|
|
3734
3734
|
function(e) {
|
|
3735
|
-
|
|
3735
|
+
je(t, e);
|
|
3736
3736
|
function t(r, n, i, o) {
|
|
3737
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3737
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, o) || this;
|
|
3738
3738
|
}
|
|
3739
3739
|
return t;
|
|
3740
|
-
}(
|
|
3741
|
-
),
|
|
3740
|
+
}(We)
|
|
3741
|
+
), so = (
|
|
3742
3742
|
/** @class */
|
|
3743
3743
|
function(e) {
|
|
3744
|
-
|
|
3744
|
+
je(t, e);
|
|
3745
3745
|
function t(r, n, i) {
|
|
3746
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3746
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
|
|
3747
3747
|
}
|
|
3748
3748
|
return t;
|
|
3749
|
-
}(
|
|
3750
|
-
),
|
|
3749
|
+
}(We)
|
|
3750
|
+
), lo = (
|
|
3751
3751
|
/** @class */
|
|
3752
3752
|
function(e) {
|
|
3753
|
-
|
|
3753
|
+
je(t, e);
|
|
3754
3754
|
function t(r, n) {
|
|
3755
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3755
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
|
|
3756
3756
|
}
|
|
3757
3757
|
return t;
|
|
3758
|
-
}(
|
|
3758
|
+
}(We)
|
|
3759
3759
|
), C;
|
|
3760
3760
|
(function(e) {
|
|
3761
3761
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3762
3762
|
})(C || (C = {}));
|
|
3763
|
-
function
|
|
3763
|
+
function uo(e) {
|
|
3764
3764
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3765
3765
|
var n = t[t.length - 1];
|
|
3766
3766
|
return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
|
|
3767
3767
|
}, []);
|
|
3768
3768
|
}
|
|
3769
|
-
function
|
|
3769
|
+
function co(e) {
|
|
3770
3770
|
return typeof e == "function";
|
|
3771
3771
|
}
|
|
3772
|
-
function
|
|
3773
|
-
if (e.length === 1 &&
|
|
3772
|
+
function Oe(e, t, r, n, i, o, a) {
|
|
3773
|
+
if (e.length === 1 && Xt(e[0]))
|
|
3774
3774
|
return [
|
|
3775
3775
|
{
|
|
3776
3776
|
type: C.literal,
|
|
3777
3777
|
value: e[0].value
|
|
3778
3778
|
}
|
|
3779
3779
|
];
|
|
3780
|
-
for (var s = [], l = 0,
|
|
3781
|
-
var u =
|
|
3782
|
-
if (
|
|
3780
|
+
for (var s = [], l = 0, c = e; l < c.length; l++) {
|
|
3781
|
+
var u = c[l];
|
|
3782
|
+
if (Xt(u)) {
|
|
3783
3783
|
s.push({
|
|
3784
3784
|
type: C.literal,
|
|
3785
3785
|
value: u.value
|
|
3786
3786
|
});
|
|
3787
3787
|
continue;
|
|
3788
3788
|
}
|
|
3789
|
-
if (
|
|
3789
|
+
if (Mi(u)) {
|
|
3790
3790
|
typeof o == "number" && s.push({
|
|
3791
3791
|
type: C.literal,
|
|
3792
3792
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3795,44 +3795,44 @@ function Me(e, t, r, n, i, o, a) {
|
|
|
3795
3795
|
}
|
|
3796
3796
|
var d = u.value;
|
|
3797
3797
|
if (!(i && d in i))
|
|
3798
|
-
throw new
|
|
3798
|
+
throw new lo(d, a);
|
|
3799
3799
|
var f = i[d];
|
|
3800
|
-
if (
|
|
3800
|
+
if (Hi(u)) {
|
|
3801
3801
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3802
3802
|
type: typeof f == "string" ? C.literal : C.object,
|
|
3803
3803
|
value: f
|
|
3804
3804
|
});
|
|
3805
3805
|
continue;
|
|
3806
3806
|
}
|
|
3807
|
-
if (
|
|
3808
|
-
var
|
|
3807
|
+
if (Fr(u)) {
|
|
3808
|
+
var m = typeof u.style == "string" ? n.date[u.style] : vt(u.style) ? u.style.parsedOptions : void 0;
|
|
3809
3809
|
s.push({
|
|
3810
3810
|
type: C.literal,
|
|
3811
|
-
value: r.getDateTimeFormat(t,
|
|
3811
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3812
3812
|
});
|
|
3813
3813
|
continue;
|
|
3814
3814
|
}
|
|
3815
|
-
if (
|
|
3816
|
-
var
|
|
3815
|
+
if (Rr(u)) {
|
|
3816
|
+
var m = typeof u.style == "string" ? n.time[u.style] : vt(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3817
3817
|
s.push({
|
|
3818
3818
|
type: C.literal,
|
|
3819
|
-
value: r.getDateTimeFormat(t,
|
|
3819
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3820
3820
|
});
|
|
3821
3821
|
continue;
|
|
3822
3822
|
}
|
|
3823
|
-
if (
|
|
3824
|
-
var
|
|
3825
|
-
|
|
3823
|
+
if (Cr(u)) {
|
|
3824
|
+
var m = typeof u.style == "string" ? n.number[u.style] : kr(u.style) ? u.style.parsedOptions : void 0;
|
|
3825
|
+
m && m.scale && (f = f * (m.scale || 1)), s.push({
|
|
3826
3826
|
type: C.literal,
|
|
3827
|
-
value: r.getNumberFormat(t,
|
|
3827
|
+
value: r.getNumberFormat(t, m).format(f)
|
|
3828
3828
|
});
|
|
3829
3829
|
continue;
|
|
3830
3830
|
}
|
|
3831
|
-
if (
|
|
3832
|
-
var g = u.children, v = u.value,
|
|
3833
|
-
if (!
|
|
3834
|
-
throw new
|
|
3835
|
-
var
|
|
3831
|
+
if (Gr(u)) {
|
|
3832
|
+
var g = u.children, v = u.value, x = i[v];
|
|
3833
|
+
if (!co(x))
|
|
3834
|
+
throw new so(v, "function", a);
|
|
3835
|
+
var E = Oe(g, t, r, n, i, o), b = x(E.map(function(O) {
|
|
3836
3836
|
return O.value;
|
|
3837
3837
|
}));
|
|
3838
3838
|
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(O) {
|
|
@@ -3842,42 +3842,42 @@ function Me(e, t, r, n, i, o, a) {
|
|
|
3842
3842
|
};
|
|
3843
3843
|
}));
|
|
3844
3844
|
}
|
|
3845
|
-
if (
|
|
3845
|
+
if (Ur(u)) {
|
|
3846
3846
|
var A = u.options[f] || u.options.other;
|
|
3847
3847
|
if (!A)
|
|
3848
|
-
throw new
|
|
3849
|
-
s.push.apply(s,
|
|
3848
|
+
throw new Kt(u.value, f, Object.keys(u.options), a);
|
|
3849
|
+
s.push.apply(s, Oe(A.value, t, r, n, i));
|
|
3850
3850
|
continue;
|
|
3851
3851
|
}
|
|
3852
|
-
if (
|
|
3852
|
+
if (Dr(u)) {
|
|
3853
3853
|
var A = u.options["=".concat(f)];
|
|
3854
3854
|
if (!A) {
|
|
3855
3855
|
if (!Intl.PluralRules)
|
|
3856
|
-
throw new
|
|
3856
|
+
throw new We(`Intl.PluralRules is not available in this environment.
|
|
3857
3857
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3858
|
-
`,
|
|
3859
|
-
var
|
|
3860
|
-
A = u.options[
|
|
3858
|
+
`, oe.MISSING_INTL_API, a);
|
|
3859
|
+
var S = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
|
|
3860
|
+
A = u.options[S] || u.options.other;
|
|
3861
3861
|
}
|
|
3862
3862
|
if (!A)
|
|
3863
|
-
throw new
|
|
3864
|
-
s.push.apply(s,
|
|
3863
|
+
throw new Kt(u.value, f, Object.keys(u.options), a);
|
|
3864
|
+
s.push.apply(s, Oe(A.value, t, r, n, i, f - (u.offset || 0)));
|
|
3865
3865
|
continue;
|
|
3866
3866
|
}
|
|
3867
3867
|
}
|
|
3868
|
-
return
|
|
3868
|
+
return uo(s);
|
|
3869
3869
|
}
|
|
3870
|
-
function
|
|
3870
|
+
function ho(e, t) {
|
|
3871
3871
|
return t ? $($($({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3872
3872
|
return r[n] = $($({}, e[n]), t[n] || {}), r;
|
|
3873
3873
|
}, {})) : e;
|
|
3874
3874
|
}
|
|
3875
|
-
function
|
|
3875
|
+
function fo(e, t) {
|
|
3876
3876
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3877
|
-
return r[n] =
|
|
3877
|
+
return r[n] = ho(e[n], t[n]), r;
|
|
3878
3878
|
}, $({}, e)) : e;
|
|
3879
3879
|
}
|
|
3880
|
-
function
|
|
3880
|
+
function ot(e) {
|
|
3881
3881
|
return {
|
|
3882
3882
|
create: function() {
|
|
3883
3883
|
return {
|
|
@@ -3891,39 +3891,39 @@ function it(e) {
|
|
|
3891
3891
|
}
|
|
3892
3892
|
};
|
|
3893
3893
|
}
|
|
3894
|
-
function
|
|
3894
|
+
function po(e) {
|
|
3895
3895
|
return e === void 0 && (e = {
|
|
3896
3896
|
number: {},
|
|
3897
3897
|
dateTime: {},
|
|
3898
3898
|
pluralRules: {}
|
|
3899
3899
|
}), {
|
|
3900
|
-
getNumberFormat:
|
|
3900
|
+
getNumberFormat: rt(function() {
|
|
3901
3901
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3902
3902
|
r[n] = arguments[n];
|
|
3903
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3903
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, tt([void 0], r, !1)))();
|
|
3904
3904
|
}, {
|
|
3905
|
-
cache:
|
|
3906
|
-
strategy:
|
|
3905
|
+
cache: ot(e.number),
|
|
3906
|
+
strategy: nt.variadic
|
|
3907
3907
|
}),
|
|
3908
|
-
getDateTimeFormat:
|
|
3908
|
+
getDateTimeFormat: rt(function() {
|
|
3909
3909
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3910
3910
|
r[n] = arguments[n];
|
|
3911
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3911
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, tt([void 0], r, !1)))();
|
|
3912
3912
|
}, {
|
|
3913
|
-
cache:
|
|
3914
|
-
strategy:
|
|
3913
|
+
cache: ot(e.dateTime),
|
|
3914
|
+
strategy: nt.variadic
|
|
3915
3915
|
}),
|
|
3916
|
-
getPluralRules:
|
|
3916
|
+
getPluralRules: rt(function() {
|
|
3917
3917
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3918
3918
|
r[n] = arguments[n];
|
|
3919
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3919
|
+
return new ((t = Intl.PluralRules).bind.apply(t, tt([void 0], r, !1)))();
|
|
3920
3920
|
}, {
|
|
3921
|
-
cache:
|
|
3922
|
-
strategy:
|
|
3921
|
+
cache: ot(e.pluralRules),
|
|
3922
|
+
strategy: nt.variadic
|
|
3923
3923
|
})
|
|
3924
3924
|
};
|
|
3925
3925
|
}
|
|
3926
|
-
var
|
|
3926
|
+
var mo = (
|
|
3927
3927
|
/** @class */
|
|
3928
3928
|
function() {
|
|
3929
3929
|
function e(t, r, n, i) {
|
|
@@ -3934,15 +3934,15 @@ var fo = (
|
|
|
3934
3934
|
dateTime: {},
|
|
3935
3935
|
pluralRules: {}
|
|
3936
3936
|
}, this.format = function(l) {
|
|
3937
|
-
var
|
|
3938
|
-
if (
|
|
3939
|
-
return
|
|
3940
|
-
var u =
|
|
3937
|
+
var c = o.formatToParts(l);
|
|
3938
|
+
if (c.length === 1)
|
|
3939
|
+
return c[0].value;
|
|
3940
|
+
var u = c.reduce(function(d, f) {
|
|
3941
3941
|
return !d.length || f.type !== C.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
|
|
3942
3942
|
}, []);
|
|
3943
3943
|
return u.length <= 1 ? u[0] || "" : u;
|
|
3944
3944
|
}, this.formatToParts = function(l) {
|
|
3945
|
-
return
|
|
3945
|
+
return Oe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3946
3946
|
}, this.resolvedOptions = function() {
|
|
3947
3947
|
var l;
|
|
3948
3948
|
return {
|
|
@@ -3955,13 +3955,13 @@ var fo = (
|
|
|
3955
3955
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3956
3956
|
var a = i || {};
|
|
3957
3957
|
a.formatters;
|
|
3958
|
-
var s =
|
|
3958
|
+
var s = Ei(a, ["formatters"]);
|
|
3959
3959
|
this.ast = e.__parse(t, $($({}, s), { locale: this.resolvedLocale }));
|
|
3960
3960
|
} else
|
|
3961
3961
|
this.ast = t;
|
|
3962
3962
|
if (!Array.isArray(this.ast))
|
|
3963
3963
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3964
|
-
this.formats =
|
|
3964
|
+
this.formats = fo(e.formats, n), this.formatters = i && i.formatters || po(this.formatterCache);
|
|
3965
3965
|
}
|
|
3966
3966
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3967
3967
|
get: function() {
|
|
@@ -3974,7 +3974,7 @@ var fo = (
|
|
|
3974
3974
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3975
3975
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3976
3976
|
}
|
|
3977
|
-
}, e.__parse =
|
|
3977
|
+
}, e.__parse = ao, e.formats = {
|
|
3978
3978
|
number: {
|
|
3979
3979
|
integer: {
|
|
3980
3980
|
maximumFractionDigits: 0
|
|
@@ -4035,7 +4035,7 @@ var fo = (
|
|
|
4035
4035
|
}, e;
|
|
4036
4036
|
}()
|
|
4037
4037
|
);
|
|
4038
|
-
function
|
|
4038
|
+
function go(e, t) {
|
|
4039
4039
|
if (t == null)
|
|
4040
4040
|
return;
|
|
4041
4041
|
if (t in e)
|
|
@@ -4056,92 +4056,92 @@ function mo(e, t) {
|
|
|
4056
4056
|
n = void 0;
|
|
4057
4057
|
return n;
|
|
4058
4058
|
}
|
|
4059
|
-
const z = {},
|
|
4059
|
+
const z = {}, vo = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Qr = (e, t) => {
|
|
4060
4060
|
if (t == null)
|
|
4061
4061
|
return;
|
|
4062
4062
|
if (t in z && e in z[t])
|
|
4063
4063
|
return z[t][e];
|
|
4064
|
-
const r =
|
|
4064
|
+
const r = Ve(t);
|
|
4065
4065
|
for (let n = 0; n < r.length; n++) {
|
|
4066
|
-
const i = r[n], o =
|
|
4066
|
+
const i = r[n], o = yo(i, e);
|
|
4067
4067
|
if (o)
|
|
4068
|
-
return
|
|
4068
|
+
return vo(e, t, o);
|
|
4069
4069
|
}
|
|
4070
4070
|
};
|
|
4071
|
-
let
|
|
4072
|
-
const
|
|
4073
|
-
function
|
|
4074
|
-
return
|
|
4071
|
+
let It;
|
|
4072
|
+
const Se = $e({});
|
|
4073
|
+
function bo(e) {
|
|
4074
|
+
return It[e] || null;
|
|
4075
4075
|
}
|
|
4076
|
-
function
|
|
4077
|
-
return e in
|
|
4076
|
+
function Yr(e) {
|
|
4077
|
+
return e in It;
|
|
4078
4078
|
}
|
|
4079
|
-
function
|
|
4080
|
-
if (!
|
|
4079
|
+
function yo(e, t) {
|
|
4080
|
+
if (!Yr(e))
|
|
4081
4081
|
return null;
|
|
4082
|
-
const r =
|
|
4083
|
-
return
|
|
4082
|
+
const r = bo(e);
|
|
4083
|
+
return go(r, t);
|
|
4084
4084
|
}
|
|
4085
|
-
function
|
|
4085
|
+
function _o(e) {
|
|
4086
4086
|
if (e == null)
|
|
4087
4087
|
return;
|
|
4088
|
-
const t =
|
|
4088
|
+
const t = Ve(e);
|
|
4089
4089
|
for (let r = 0; r < t.length; r++) {
|
|
4090
4090
|
const n = t[r];
|
|
4091
|
-
if (
|
|
4091
|
+
if (Yr(n))
|
|
4092
4092
|
return n;
|
|
4093
4093
|
}
|
|
4094
4094
|
}
|
|
4095
|
-
function
|
|
4096
|
-
delete z[e],
|
|
4095
|
+
function Jr(e, ...t) {
|
|
4096
|
+
delete z[e], Se.update((r) => (r[e] = xi.all([r[e] || {}, ...t]), r));
|
|
4097
4097
|
}
|
|
4098
|
-
|
|
4099
|
-
[
|
|
4098
|
+
ue(
|
|
4099
|
+
[Se],
|
|
4100
4100
|
([e]) => Object.keys(e)
|
|
4101
4101
|
);
|
|
4102
|
-
|
|
4103
|
-
const
|
|
4104
|
-
function
|
|
4105
|
-
|
|
4102
|
+
Se.subscribe((e) => It = e);
|
|
4103
|
+
const Le = {};
|
|
4104
|
+
function wo(e, t) {
|
|
4105
|
+
Le[e].delete(t), Le[e].size === 0 && delete Le[e];
|
|
4106
4106
|
}
|
|
4107
|
-
function
|
|
4108
|
-
return
|
|
4107
|
+
function qr(e) {
|
|
4108
|
+
return Le[e];
|
|
4109
4109
|
}
|
|
4110
|
-
function
|
|
4111
|
-
return
|
|
4112
|
-
const r =
|
|
4110
|
+
function xo(e) {
|
|
4111
|
+
return Ve(e).map((t) => {
|
|
4112
|
+
const r = qr(t);
|
|
4113
4113
|
return [t, r ? [...r] : []];
|
|
4114
4114
|
}).filter(([, t]) => t.length > 0);
|
|
4115
4115
|
}
|
|
4116
4116
|
function Et(e) {
|
|
4117
|
-
return e == null ? !1 :
|
|
4117
|
+
return e == null ? !1 : Ve(e).some(
|
|
4118
4118
|
(t) => {
|
|
4119
4119
|
var r;
|
|
4120
|
-
return (r =
|
|
4120
|
+
return (r = qr(t)) == null ? void 0 : r.size;
|
|
4121
4121
|
}
|
|
4122
4122
|
);
|
|
4123
4123
|
}
|
|
4124
|
-
function
|
|
4124
|
+
function Eo(e, t) {
|
|
4125
4125
|
return Promise.all(
|
|
4126
|
-
t.map((n) => (
|
|
4127
|
-
).then((n) =>
|
|
4126
|
+
t.map((n) => (wo(e, n), n().then((i) => i.default || i)))
|
|
4127
|
+
).then((n) => Jr(e, ...n));
|
|
4128
4128
|
}
|
|
4129
|
-
const
|
|
4130
|
-
function
|
|
4129
|
+
const ve = {};
|
|
4130
|
+
function Kr(e) {
|
|
4131
4131
|
if (!Et(e))
|
|
4132
|
-
return e in
|
|
4133
|
-
const t =
|
|
4134
|
-
return
|
|
4132
|
+
return e in ve ? ve[e] : Promise.resolve();
|
|
4133
|
+
const t = xo(e);
|
|
4134
|
+
return ve[e] = Promise.all(
|
|
4135
4135
|
t.map(
|
|
4136
|
-
([r, n]) =>
|
|
4136
|
+
([r, n]) => Eo(r, n)
|
|
4137
4137
|
)
|
|
4138
4138
|
).then(() => {
|
|
4139
4139
|
if (Et(e))
|
|
4140
|
-
return
|
|
4141
|
-
delete
|
|
4142
|
-
}),
|
|
4140
|
+
return Kr(e);
|
|
4141
|
+
delete ve[e];
|
|
4142
|
+
}), ve[e];
|
|
4143
4143
|
}
|
|
4144
|
-
const
|
|
4144
|
+
const So = {
|
|
4145
4145
|
number: {
|
|
4146
4146
|
scientific: { notation: "scientific" },
|
|
4147
4147
|
engineering: { notation: "engineering" },
|
|
@@ -4170,100 +4170,100 @@ const Eo = {
|
|
|
4170
4170
|
timeZoneName: "short"
|
|
4171
4171
|
}
|
|
4172
4172
|
}
|
|
4173
|
-
},
|
|
4173
|
+
}, No = {
|
|
4174
4174
|
fallbackLocale: null,
|
|
4175
4175
|
loadingDelay: 200,
|
|
4176
|
-
formats:
|
|
4176
|
+
formats: So,
|
|
4177
4177
|
warnOnMissingMessages: !0,
|
|
4178
4178
|
handleMissingMessage: void 0,
|
|
4179
4179
|
ignoreTag: !0
|
|
4180
|
-
},
|
|
4181
|
-
function
|
|
4182
|
-
return
|
|
4180
|
+
}, Io = No;
|
|
4181
|
+
function ae() {
|
|
4182
|
+
return Io;
|
|
4183
4183
|
}
|
|
4184
|
-
const
|
|
4185
|
-
var
|
|
4184
|
+
const at = $e(!1);
|
|
4185
|
+
var Bo = Object.defineProperty, Ao = Object.defineProperties, To = Object.getOwnPropertyDescriptors, er = Object.getOwnPropertySymbols, Po = Object.prototype.hasOwnProperty, Ho = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? Bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mo = (e, t) => {
|
|
4186
4186
|
for (var r in t || (t = {}))
|
|
4187
|
-
|
|
4188
|
-
if (
|
|
4189
|
-
for (var r of
|
|
4190
|
-
|
|
4187
|
+
Po.call(t, r) && tr(e, r, t[r]);
|
|
4188
|
+
if (er)
|
|
4189
|
+
for (var r of er(t))
|
|
4190
|
+
Ho.call(t, r) && tr(e, r, t[r]);
|
|
4191
4191
|
return e;
|
|
4192
|
-
},
|
|
4193
|
-
let
|
|
4194
|
-
const
|
|
4195
|
-
function
|
|
4192
|
+
}, Oo = (e, t) => Ao(e, To(t));
|
|
4193
|
+
let St;
|
|
4194
|
+
const Re = $e(null);
|
|
4195
|
+
function rr(e) {
|
|
4196
4196
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4197
4197
|
}
|
|
4198
|
-
function
|
|
4199
|
-
const r =
|
|
4200
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4198
|
+
function Ve(e, t = ae().fallbackLocale) {
|
|
4199
|
+
const r = rr(e);
|
|
4200
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...rr(t)])] : r;
|
|
4201
4201
|
}
|
|
4202
4202
|
function Y() {
|
|
4203
|
-
return
|
|
4203
|
+
return St != null ? St : void 0;
|
|
4204
4204
|
}
|
|
4205
|
-
|
|
4206
|
-
|
|
4205
|
+
Re.subscribe((e) => {
|
|
4206
|
+
St = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4207
4207
|
});
|
|
4208
|
-
const
|
|
4209
|
-
if (e &&
|
|
4210
|
-
const { loadingDelay: t } =
|
|
4208
|
+
const Lo = (e) => {
|
|
4209
|
+
if (e && _o(e) && Et(e)) {
|
|
4210
|
+
const { loadingDelay: t } = ae();
|
|
4211
4211
|
let r;
|
|
4212
4212
|
return typeof window != "undefined" && Y() != null && t ? r = window.setTimeout(
|
|
4213
|
-
() =>
|
|
4213
|
+
() => at.set(!0),
|
|
4214
4214
|
t
|
|
4215
|
-
) :
|
|
4216
|
-
|
|
4215
|
+
) : at.set(!0), Kr(e).then(() => {
|
|
4216
|
+
Re.set(e);
|
|
4217
4217
|
}).finally(() => {
|
|
4218
|
-
clearTimeout(r),
|
|
4218
|
+
clearTimeout(r), at.set(!1);
|
|
4219
4219
|
});
|
|
4220
4220
|
}
|
|
4221
|
-
return
|
|
4222
|
-
},
|
|
4223
|
-
set:
|
|
4224
|
-
}),
|
|
4221
|
+
return Re.set(e);
|
|
4222
|
+
}, ce = Oo(Mo({}, Re), {
|
|
4223
|
+
set: Lo
|
|
4224
|
+
}), Xe = (e) => {
|
|
4225
4225
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4226
4226
|
return (n) => {
|
|
4227
4227
|
const i = JSON.stringify(n);
|
|
4228
4228
|
return i in t ? t[i] : t[i] = e(n);
|
|
4229
4229
|
};
|
|
4230
4230
|
};
|
|
4231
|
-
var
|
|
4231
|
+
var Co = Object.defineProperty, Ue = Object.getOwnPropertySymbols, en = Object.prototype.hasOwnProperty, tn = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? Co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bt = (e, t) => {
|
|
4232
4232
|
for (var r in t || (t = {}))
|
|
4233
|
-
|
|
4234
|
-
if (
|
|
4235
|
-
for (var r of
|
|
4236
|
-
|
|
4233
|
+
en.call(t, r) && nr(e, r, t[r]);
|
|
4234
|
+
if (Ue)
|
|
4235
|
+
for (var r of Ue(t))
|
|
4236
|
+
tn.call(t, r) && nr(e, r, t[r]);
|
|
4237
4237
|
return e;
|
|
4238
4238
|
}, he = (e, t) => {
|
|
4239
4239
|
var r = {};
|
|
4240
4240
|
for (var n in e)
|
|
4241
|
-
|
|
4242
|
-
if (e != null &&
|
|
4243
|
-
for (var n of
|
|
4244
|
-
t.indexOf(n) < 0 &&
|
|
4241
|
+
en.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4242
|
+
if (e != null && Ue)
|
|
4243
|
+
for (var n of Ue(e))
|
|
4244
|
+
t.indexOf(n) < 0 && tn.call(e, n) && (r[n] = e[n]);
|
|
4245
4245
|
return r;
|
|
4246
4246
|
};
|
|
4247
4247
|
const xe = (e, t) => {
|
|
4248
|
-
const { formats: r } =
|
|
4248
|
+
const { formats: r } = ae();
|
|
4249
4249
|
if (e in r && t in r[e])
|
|
4250
4250
|
return r[e][t];
|
|
4251
4251
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4252
|
-
},
|
|
4252
|
+
}, Fo = Xe(
|
|
4253
4253
|
(e) => {
|
|
4254
4254
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4255
4255
|
if (r == null)
|
|
4256
4256
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4257
4257
|
return n && (i = xe("number", n)), new Intl.NumberFormat(r, i);
|
|
4258
4258
|
}
|
|
4259
|
-
),
|
|
4259
|
+
), Ro = Xe(
|
|
4260
4260
|
(e) => {
|
|
4261
4261
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4262
4262
|
if (r == null)
|
|
4263
4263
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4264
4264
|
return n ? i = xe("date", n) : Object.keys(i).length === 0 && (i = xe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4265
4265
|
}
|
|
4266
|
-
),
|
|
4266
|
+
), Uo = Xe(
|
|
4267
4267
|
(e) => {
|
|
4268
4268
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4269
4269
|
if (r == null)
|
|
@@ -4272,48 +4272,48 @@ const xe = (e, t) => {
|
|
|
4272
4272
|
);
|
|
4273
4273
|
return n ? i = xe("time", n) : Object.keys(i).length === 0 && (i = xe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4274
4274
|
}
|
|
4275
|
-
),
|
|
4275
|
+
), Do = (e = {}) => {
|
|
4276
4276
|
var t = e, {
|
|
4277
4277
|
locale: r = Y()
|
|
4278
4278
|
} = t, n = he(t, [
|
|
4279
4279
|
"locale"
|
|
4280
4280
|
]);
|
|
4281
|
-
return
|
|
4282
|
-
},
|
|
4281
|
+
return Fo(Bt({ locale: r }, n));
|
|
4282
|
+
}, Go = (e = {}) => {
|
|
4283
4283
|
var t = e, {
|
|
4284
4284
|
locale: r = Y()
|
|
4285
4285
|
} = t, n = he(t, [
|
|
4286
4286
|
"locale"
|
|
4287
4287
|
]);
|
|
4288
|
-
return
|
|
4289
|
-
},
|
|
4288
|
+
return Ro(Bt({ locale: r }, n));
|
|
4289
|
+
}, ko = (e = {}) => {
|
|
4290
4290
|
var t = e, {
|
|
4291
4291
|
locale: r = Y()
|
|
4292
4292
|
} = t, n = he(t, [
|
|
4293
4293
|
"locale"
|
|
4294
4294
|
]);
|
|
4295
|
-
return
|
|
4296
|
-
},
|
|
4295
|
+
return Uo(Bt({ locale: r }, n));
|
|
4296
|
+
}, $o = Xe(
|
|
4297
4297
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4298
|
-
(e, t = Y()) => new
|
|
4299
|
-
ignoreTag:
|
|
4298
|
+
(e, t = Y()) => new mo(e, t, ae().formats, {
|
|
4299
|
+
ignoreTag: ae().ignoreTag
|
|
4300
4300
|
})
|
|
4301
|
-
),
|
|
4301
|
+
), jo = (e, t = {}) => {
|
|
4302
4302
|
var r, n, i, o;
|
|
4303
4303
|
let a = t;
|
|
4304
4304
|
typeof e == "object" && (a = e, e = a.id);
|
|
4305
4305
|
const {
|
|
4306
4306
|
values: s,
|
|
4307
4307
|
locale: l = Y(),
|
|
4308
|
-
default:
|
|
4308
|
+
default: c
|
|
4309
4309
|
} = a;
|
|
4310
4310
|
if (l == null)
|
|
4311
4311
|
throw new Error(
|
|
4312
4312
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4313
4313
|
);
|
|
4314
|
-
let u =
|
|
4314
|
+
let u = Qr(e, l);
|
|
4315
4315
|
if (!u)
|
|
4316
|
-
u = (o = (i = (n = (r =
|
|
4316
|
+
u = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: c })) != null ? i : c) != null ? o : e;
|
|
4317
4317
|
else if (typeof u != "string")
|
|
4318
4318
|
return console.warn(
|
|
4319
4319
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4322,7 +4322,7 @@ const xe = (e, t) => {
|
|
|
4322
4322
|
return u;
|
|
4323
4323
|
let d = u;
|
|
4324
4324
|
try {
|
|
4325
|
-
d =
|
|
4325
|
+
d = $o(u, l).format(s);
|
|
4326
4326
|
} catch (f) {
|
|
4327
4327
|
f instanceof Error && console.warn(
|
|
4328
4328
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4330,21 +4330,21 @@ const xe = (e, t) => {
|
|
|
4330
4330
|
);
|
|
4331
4331
|
}
|
|
4332
4332
|
return d;
|
|
4333
|
-
},
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
window.emWidgets = { topic:
|
|
4339
|
-
const
|
|
4333
|
+
}, Wo = (e, t) => ko(t).format(e), Vo = (e, t) => Go(t).format(e), Xo = (e, t) => Do(t).format(e), zo = (e, t = Y()) => Qr(e, t), Zo = ue([ce, Se], () => jo);
|
|
4334
|
+
ue([ce], () => Wo);
|
|
4335
|
+
ue([ce], () => Vo);
|
|
4336
|
+
ue([ce], () => Xo);
|
|
4337
|
+
ue([ce, Se], () => zo);
|
|
4338
|
+
window.emWidgets = { topic: oi };
|
|
4339
|
+
const ir = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4340
4340
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4341
|
-
function
|
|
4342
|
-
|
|
4341
|
+
function or(e, t) {
|
|
4342
|
+
Jr(e, t);
|
|
4343
4343
|
}
|
|
4344
|
-
function
|
|
4345
|
-
|
|
4344
|
+
function Qo(e) {
|
|
4345
|
+
ce.set(e);
|
|
4346
4346
|
}
|
|
4347
|
-
const
|
|
4347
|
+
const ar = {
|
|
4348
4348
|
en: {
|
|
4349
4349
|
secondaryMenuTitle: "Categories"
|
|
4350
4350
|
},
|
|
@@ -4378,14 +4378,14 @@ const or = {
|
|
|
4378
4378
|
"en-us": {
|
|
4379
4379
|
secondaryMenuTitle: "Categories"
|
|
4380
4380
|
}
|
|
4381
|
-
};
|
|
4382
|
-
function
|
|
4381
|
+
}, ee = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4382
|
+
function Yo(e, t) {
|
|
4383
4383
|
if (e) {
|
|
4384
4384
|
const r = document.createElement("style");
|
|
4385
4385
|
r.innerHTML = t, e.appendChild(r);
|
|
4386
4386
|
}
|
|
4387
4387
|
}
|
|
4388
|
-
function
|
|
4388
|
+
function Jo(e, t) {
|
|
4389
4389
|
if (!e || !t)
|
|
4390
4390
|
return;
|
|
4391
4391
|
const r = new URL(t);
|
|
@@ -4396,91 +4396,119 @@ function Qo(e, t) {
|
|
|
4396
4396
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4397
4397
|
});
|
|
4398
4398
|
}
|
|
4399
|
-
function
|
|
4400
|
-
if (window.emMessageBus)
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4399
|
+
function qo(e, t, r, n = !1) {
|
|
4400
|
+
if (!window.emMessageBus)
|
|
4401
|
+
return;
|
|
4402
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
4403
|
+
return r = Ko(e, t), r;
|
|
4404
|
+
window[ee] || (window[ee] = {}), r = ea(e, t);
|
|
4405
|
+
const o = r.unsubscribe.bind(r), a = () => {
|
|
4406
|
+
if (window[ee][t]) {
|
|
4407
|
+
const s = window[ee][t];
|
|
4408
|
+
s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[ee][t];
|
|
4409
|
+
}
|
|
4410
|
+
o();
|
|
4411
|
+
};
|
|
4412
|
+
return r.unsubscribe = a, r;
|
|
4413
|
+
}
|
|
4414
|
+
function Ko(e, t) {
|
|
4415
|
+
const r = document.createElement("style");
|
|
4416
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
4417
|
+
e && (r.innerHTML = n, e.appendChild(r));
|
|
4418
|
+
});
|
|
4419
|
+
}
|
|
4420
|
+
function ea(e, t) {
|
|
4421
|
+
return window.emMessageBus.subscribe(t, (r) => {
|
|
4422
|
+
var s;
|
|
4423
|
+
if (!e)
|
|
4424
|
+
return;
|
|
4425
|
+
const n = e.getRootNode(), i = window[ee];
|
|
4426
|
+
let o = (s = i[t]) == null ? void 0 : s.sheet;
|
|
4427
|
+
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
4428
|
+
sheet: o,
|
|
4429
|
+
refCount: 1
|
|
4404
4430
|
});
|
|
4405
|
-
|
|
4431
|
+
const a = n.adoptedStyleSheets || [];
|
|
4432
|
+
a.includes(o) || (n.adoptedStyleSheets = [...a, o]);
|
|
4433
|
+
});
|
|
4406
4434
|
}
|
|
4407
|
-
function
|
|
4408
|
-
|
|
4435
|
+
function ta(e) {
|
|
4436
|
+
Bn(e, "svelte-9cvz5y", '.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.LinearBar{grid-template-columns:repeat(6, 16.6666666667%);grid-template-areas:"item0 item1 item2 item3 item4 item5"}.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, #22B04E);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, #22B04E))}.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, #22B04E));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}');
|
|
4409
4437
|
}
|
|
4410
|
-
function
|
|
4438
|
+
function sr(e, t, r) {
|
|
4411
4439
|
const n = e.slice();
|
|
4412
4440
|
return n[51] = t[r], n[53] = r, n;
|
|
4413
4441
|
}
|
|
4414
|
-
function
|
|
4442
|
+
function lr(e, t, r) {
|
|
4415
4443
|
const n = e.slice();
|
|
4416
4444
|
return n[51] = t[r], n;
|
|
4417
4445
|
}
|
|
4418
|
-
const
|
|
4419
|
-
function
|
|
4446
|
+
const ra = (e) => ({}), ur = (e) => ({});
|
|
4447
|
+
function cr(e) {
|
|
4420
4448
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4421
|
-
e[7] && hr(e),
|
|
4449
|
+
e[7] && hr(e), c = Ce(
|
|
4422
4450
|
/*menuItems*/
|
|
4423
4451
|
e[12]
|
|
4424
4452
|
), u = [];
|
|
4425
|
-
for (let f = 0; f <
|
|
4426
|
-
u[f] =
|
|
4453
|
+
for (let f = 0; f < c.length; f += 1)
|
|
4454
|
+
u[f] = gr(sr(e, c, f));
|
|
4427
4455
|
let d = !/*navigationBarSimple*/
|
|
4428
|
-
e[7] &&
|
|
4456
|
+
e[7] && vr(e);
|
|
4429
4457
|
return {
|
|
4430
4458
|
c() {
|
|
4431
4459
|
t = I("div"), l && l.c(), r = j(), n = I("div");
|
|
4432
4460
|
for (let f = 0; f < u.length; f += 1)
|
|
4433
4461
|
u[f].c();
|
|
4434
|
-
i = j(), d && d.c(),
|
|
4462
|
+
i = j(), d && d.c(), h(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4435
4463
|
(e[5] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4436
4464
|
(e[7] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
|
|
4437
|
-
(e[3] ? "LinearBar" : "")),
|
|
4465
|
+
(e[3] ? "LinearBar" : "")), h(n, "part", a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4438
4466
|
(e[5] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4439
4467
|
(e[7] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
|
|
4440
|
-
(e[3] ? "LinearBar" : "")),
|
|
4468
|
+
(e[3] ? "LinearBar" : "")), h(t, "class", "NavigationPanel");
|
|
4441
4469
|
},
|
|
4442
|
-
m(f,
|
|
4443
|
-
F(f, t,
|
|
4470
|
+
m(f, m) {
|
|
4471
|
+
F(f, t, m), l && l.m(t, null), y(t, r), y(t, n);
|
|
4444
4472
|
for (let g = 0; g < u.length; g += 1)
|
|
4445
4473
|
u[g] && u[g].m(n, null);
|
|
4446
4474
|
y(n, i), d && d.m(n, null), s = !0;
|
|
4447
4475
|
},
|
|
4448
|
-
p(f,
|
|
4476
|
+
p(f, m) {
|
|
4449
4477
|
if (/*navigationBarSimple*/
|
|
4450
|
-
f[7] ? l && (Er(),
|
|
4478
|
+
f[7] ? l && (Er(), _e(l, 1, 1, () => {
|
|
4451
4479
|
l = null;
|
|
4452
|
-
}),
|
|
4453
|
-
128 && Z(l, 1)) : (l = hr(f), l.c(), Z(l, 1), l.m(t, r)),
|
|
4480
|
+
}), Sr()) : l ? (l.p(f, m), m[0] & /*navigationBarSimple*/
|
|
4481
|
+
128 && Z(l, 1)) : (l = hr(f), l.c(), Z(l, 1), l.m(t, r)), m[0] & /*activeMenuItemId, menuItems, triggerNavigation*/
|
|
4454
4482
|
69696) {
|
|
4455
|
-
|
|
4483
|
+
c = Ce(
|
|
4456
4484
|
/*menuItems*/
|
|
4457
4485
|
f[12]
|
|
4458
4486
|
);
|
|
4459
4487
|
let g;
|
|
4460
|
-
for (g = 0; g <
|
|
4461
|
-
const v =
|
|
4462
|
-
u[g] ? u[g].p(v,
|
|
4488
|
+
for (g = 0; g < c.length; g += 1) {
|
|
4489
|
+
const v = sr(f, c, g);
|
|
4490
|
+
u[g] ? u[g].p(v, m) : (u[g] = gr(v), u[g].c(), u[g].m(n, i));
|
|
4463
4491
|
}
|
|
4464
4492
|
for (; g < u.length; g += 1)
|
|
4465
4493
|
u[g].d(1);
|
|
4466
|
-
u.length =
|
|
4494
|
+
u.length = c.length;
|
|
4467
4495
|
}
|
|
4468
4496
|
/*navigationBarSimple*/
|
|
4469
|
-
f[7] ? d && (d.d(1), d = null) : d ? d.p(f,
|
|
4497
|
+
f[7] ? d && (d.d(1), d = null) : d ? d.p(f, m) : (d = vr(f), d.c(), d.m(n, null)), (!s || m[0] & /*navigationWindowOpened, navigationBarSimple, isLinearMenu*/
|
|
4470
4498
|
168 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4471
4499
|
(f[5] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4472
4500
|
(f[7] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
|
|
4473
|
-
(f[3] ? "LinearBar" : ""))) &&
|
|
4501
|
+
(f[3] ? "LinearBar" : ""))) && h(n, "class", o), (!s || m[0] & /*navigationWindowOpened, navigationBarSimple, isLinearMenu*/
|
|
4474
4502
|
168 && a !== (a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4475
4503
|
(f[5] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4476
4504
|
(f[7] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
|
|
4477
|
-
(f[3] ? "LinearBar" : ""))) &&
|
|
4505
|
+
(f[3] ? "LinearBar" : ""))) && h(n, "part", a);
|
|
4478
4506
|
},
|
|
4479
4507
|
i(f) {
|
|
4480
4508
|
s || (Z(l), s = !0);
|
|
4481
4509
|
},
|
|
4482
4510
|
o(f) {
|
|
4483
|
-
|
|
4511
|
+
_e(l), s = !1;
|
|
4484
4512
|
},
|
|
4485
4513
|
d(f) {
|
|
4486
4514
|
f && M(t), l && l.d(), xr(u, f), d && d.d();
|
|
@@ -4492,36 +4520,36 @@ function hr(e) {
|
|
|
4492
4520
|
/*secondarymenutitle*/
|
|
4493
4521
|
(e[0] || /*$_*/
|
|
4494
4522
|
e[13]("secondaryMenuTitle")) + ""
|
|
4495
|
-
), a, s, l,
|
|
4496
|
-
const
|
|
4523
|
+
), a, s, l, c, u, d, f;
|
|
4524
|
+
const m = (
|
|
4497
4525
|
/*#slots*/
|
|
4498
4526
|
e[32].close
|
|
4499
|
-
), g =
|
|
4500
|
-
|
|
4527
|
+
), g = En(
|
|
4528
|
+
m,
|
|
4501
4529
|
e,
|
|
4502
4530
|
/*$$scope*/
|
|
4503
4531
|
e[31],
|
|
4504
|
-
|
|
4505
|
-
), v = g ||
|
|
4506
|
-
let
|
|
4532
|
+
ur
|
|
4533
|
+
), v = g || na();
|
|
4534
|
+
let x = Ce(
|
|
4507
4535
|
/*secondaryMenu*/
|
|
4508
4536
|
e[8]
|
|
4509
|
-
),
|
|
4510
|
-
for (let b = 0; b <
|
|
4511
|
-
|
|
4537
|
+
), E = [];
|
|
4538
|
+
for (let b = 0; b < x.length; b += 1)
|
|
4539
|
+
E[b] = dr(lr(e, x, b));
|
|
4512
4540
|
return {
|
|
4513
4541
|
c() {
|
|
4514
|
-
t = I("div"), r = I("span"), v && v.c(), n = j(), i = I("h3"), a =
|
|
4515
|
-
for (let b = 0; b <
|
|
4516
|
-
|
|
4517
|
-
|
|
4542
|
+
t = I("div"), r = I("span"), v && v.c(), n = j(), i = I("h3"), a = le(o), s = j(), l = I("div");
|
|
4543
|
+
for (let b = 0; b < E.length; b += 1)
|
|
4544
|
+
E[b].c();
|
|
4545
|
+
h(r, "class", "ModalCloseBtn"), h(r, "part", "ModalCloseBtn"), h(r, "role", "button"), h(i, "class", "NavigationWindowTitle"), h(l, "class", "NavigationSecondaryWrapper"), h(t, "class", c = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4518
4546
|
(e[5] ? "NavigationWindowOpened" : ""));
|
|
4519
4547
|
},
|
|
4520
4548
|
m(b, A) {
|
|
4521
4549
|
F(b, t, A), y(t, r), v && v.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
|
|
4522
|
-
for (let
|
|
4523
|
-
|
|
4524
|
-
u = !0, d || (f =
|
|
4550
|
+
for (let S = 0; S < E.length; S += 1)
|
|
4551
|
+
E[S] && E[S].m(l, null);
|
|
4552
|
+
u = !0, d || (f = De(
|
|
4525
4553
|
r,
|
|
4526
4554
|
"click",
|
|
4527
4555
|
/*navigationWindowToggle*/
|
|
@@ -4530,61 +4558,61 @@ function hr(e) {
|
|
|
4530
4558
|
},
|
|
4531
4559
|
p(b, A) {
|
|
4532
4560
|
if (g && g.p && (!u || A[1] & /*$$scope*/
|
|
4533
|
-
1) &&
|
|
4561
|
+
1) && Nn(
|
|
4534
4562
|
g,
|
|
4535
|
-
|
|
4563
|
+
m,
|
|
4536
4564
|
b,
|
|
4537
4565
|
/*$$scope*/
|
|
4538
4566
|
b[31],
|
|
4539
|
-
u ?
|
|
4540
|
-
|
|
4567
|
+
u ? Sn(
|
|
4568
|
+
m,
|
|
4541
4569
|
/*$$scope*/
|
|
4542
4570
|
b[31],
|
|
4543
4571
|
A,
|
|
4544
|
-
|
|
4545
|
-
) :
|
|
4572
|
+
ra
|
|
4573
|
+
) : In(
|
|
4546
4574
|
/*$$scope*/
|
|
4547
4575
|
b[31]
|
|
4548
4576
|
),
|
|
4549
|
-
|
|
4577
|
+
ur
|
|
4550
4578
|
), (!u || A[0] & /*secondarymenutitle, $_*/
|
|
4551
4579
|
8193) && o !== (o = /*secondarymenutitle*/
|
|
4552
4580
|
(b[0] || /*$_*/
|
|
4553
|
-
b[13]("secondaryMenuTitle")) + "") &&
|
|
4581
|
+
b[13]("secondaryMenuTitle")) + "") && Ge(a, o), A[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4554
4582
|
65856) {
|
|
4555
|
-
|
|
4583
|
+
x = Ce(
|
|
4556
4584
|
/*secondaryMenu*/
|
|
4557
4585
|
b[8]
|
|
4558
4586
|
);
|
|
4559
|
-
let
|
|
4560
|
-
for (
|
|
4561
|
-
const O =
|
|
4562
|
-
|
|
4587
|
+
let S;
|
|
4588
|
+
for (S = 0; S < x.length; S += 1) {
|
|
4589
|
+
const O = lr(b, x, S);
|
|
4590
|
+
E[S] ? E[S].p(O, A) : (E[S] = dr(O), E[S].c(), E[S].m(l, null));
|
|
4563
4591
|
}
|
|
4564
|
-
for (;
|
|
4565
|
-
|
|
4566
|
-
|
|
4592
|
+
for (; S < E.length; S += 1)
|
|
4593
|
+
E[S].d(1);
|
|
4594
|
+
E.length = x.length;
|
|
4567
4595
|
}
|
|
4568
4596
|
(!u || A[0] & /*navigationWindowOpened*/
|
|
4569
|
-
32 &&
|
|
4570
|
-
(b[5] ? "NavigationWindowOpened" : ""))) &&
|
|
4597
|
+
32 && c !== (c = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4598
|
+
(b[5] ? "NavigationWindowOpened" : ""))) && h(t, "class", c);
|
|
4571
4599
|
},
|
|
4572
4600
|
i(b) {
|
|
4573
4601
|
u || (Z(v, b), u = !0);
|
|
4574
4602
|
},
|
|
4575
4603
|
o(b) {
|
|
4576
|
-
|
|
4604
|
+
_e(v, b), u = !1;
|
|
4577
4605
|
},
|
|
4578
4606
|
d(b) {
|
|
4579
|
-
b && M(t), v && v.d(b), xr(
|
|
4607
|
+
b && M(t), v && v.d(b), xr(E, b), d = !1, f();
|
|
4580
4608
|
}
|
|
4581
4609
|
};
|
|
4582
4610
|
}
|
|
4583
|
-
function
|
|
4611
|
+
function na(e) {
|
|
4584
4612
|
let t, r;
|
|
4585
4613
|
return {
|
|
4586
4614
|
c() {
|
|
4587
|
-
t = H("svg"), r = H("path"),
|
|
4615
|
+
t = H("svg"), r = H("path"), h(r, "part", "ModalCloseBtnPath"), h(r, "stroke-linecap", "round"), h(r, "stroke-linejoin", "round"), h(r, "stroke-width", "2"), h(r, "d", "M6 18L18 6M6 6l12 12"), h(t, "class", "w-6 h-6"), h(t, "part", "w-6 h-6"), h(t, "fill", "none"), h(t, "stroke", "currentColor"), h(t, "viewBox", "0 0 24 24"), h(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4588
4616
|
},
|
|
4589
4617
|
m(n, i) {
|
|
4590
4618
|
F(n, t, i), y(t, r);
|
|
@@ -4595,36 +4623,36 @@ function Ko(e) {
|
|
|
4595
4623
|
}
|
|
4596
4624
|
};
|
|
4597
4625
|
}
|
|
4598
|
-
function
|
|
4626
|
+
function fr(e) {
|
|
4599
4627
|
let t, r, n, i;
|
|
4600
4628
|
return {
|
|
4601
4629
|
c() {
|
|
4602
|
-
t = I("div"), r = I("img"),
|
|
4603
|
-
e[51].img) ||
|
|
4604
|
-
e[51].label),
|
|
4630
|
+
t = I("div"), r = I("img"), h(r, "class", "NavigationSecondaryItemImg"), h(r, "part", "NavigationSecondaryItemImg"), re(r.src, n = /*item*/
|
|
4631
|
+
e[51].img) || h(r, "src", n), h(r, "alt", i = /*item*/
|
|
4632
|
+
e[51].label), h(t, "class", "NavigationSecondaryItemImgWrapper"), h(t, "part", "NavigationSecondaryItemImgWrapper");
|
|
4605
4633
|
},
|
|
4606
4634
|
m(o, a) {
|
|
4607
4635
|
F(o, t, a), y(t, r);
|
|
4608
4636
|
},
|
|
4609
4637
|
p(o, a) {
|
|
4610
4638
|
a[0] & /*secondaryMenu*/
|
|
4611
|
-
256 && !
|
|
4612
|
-
o[51].img) &&
|
|
4639
|
+
256 && !re(r.src, n = /*item*/
|
|
4640
|
+
o[51].img) && h(r, "src", n), a[0] & /*secondaryMenu*/
|
|
4613
4641
|
256 && i !== (i = /*item*/
|
|
4614
|
-
o[51].label) &&
|
|
4642
|
+
o[51].label) && h(r, "alt", i);
|
|
4615
4643
|
},
|
|
4616
4644
|
d(o) {
|
|
4617
4645
|
o && M(t);
|
|
4618
4646
|
}
|
|
4619
4647
|
};
|
|
4620
4648
|
}
|
|
4621
|
-
function
|
|
4649
|
+
function dr(e) {
|
|
4622
4650
|
let t, r, n, i = (
|
|
4623
4651
|
/*item*/
|
|
4624
4652
|
e[51].label + ""
|
|
4625
|
-
), o, a, s, l,
|
|
4653
|
+
), o, a, s, l, c, u = (
|
|
4626
4654
|
/*item*/
|
|
4627
|
-
e[51].img &&
|
|
4655
|
+
e[51].img && fr(e)
|
|
4628
4656
|
);
|
|
4629
4657
|
function d() {
|
|
4630
4658
|
return (
|
|
@@ -4637,44 +4665,44 @@ function fr(e) {
|
|
|
4637
4665
|
}
|
|
4638
4666
|
return {
|
|
4639
4667
|
c() {
|
|
4640
|
-
t = I("div"), u && u.c(), r = j(), n = I("p"), o =
|
|
4668
|
+
t = I("div"), u && u.c(), r = j(), n = I("p"), o = le(i), a = j(), h(n, "class", "NavigationSecondaryItemLabel"), h(n, "part", "NavigationSecondaryItemLabel"), h(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4641
4669
|
(e[6] === /*item*/
|
|
4642
4670
|
e[51].id ? "ActiveItem" : ""));
|
|
4643
4671
|
},
|
|
4644
|
-
m(f,
|
|
4645
|
-
F(f, t,
|
|
4672
|
+
m(f, m) {
|
|
4673
|
+
F(f, t, m), u && u.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (c = De(t, "click", d), l = !0);
|
|
4646
4674
|
},
|
|
4647
|
-
p(f,
|
|
4675
|
+
p(f, m) {
|
|
4648
4676
|
e = f, /*item*/
|
|
4649
|
-
e[51].img ? u ? u.p(e,
|
|
4677
|
+
e[51].img ? u ? u.p(e, m) : (u = fr(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), m[0] & /*secondaryMenu*/
|
|
4650
4678
|
256 && i !== (i = /*item*/
|
|
4651
|
-
e[51].label + "") &&
|
|
4679
|
+
e[51].label + "") && Ge(o, i), m[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4652
4680
|
320 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4653
4681
|
(e[6] === /*item*/
|
|
4654
|
-
e[51].id ? "ActiveItem" : "")) &&
|
|
4682
|
+
e[51].id ? "ActiveItem" : "")) && h(t, "class", s);
|
|
4655
4683
|
},
|
|
4656
4684
|
d(f) {
|
|
4657
|
-
f && M(t), u && u.d(), l = !1,
|
|
4685
|
+
f && M(t), u && u.d(), l = !1, c();
|
|
4658
4686
|
}
|
|
4659
4687
|
};
|
|
4660
4688
|
}
|
|
4661
|
-
function
|
|
4689
|
+
function pr(e) {
|
|
4662
4690
|
let t, r, n, i;
|
|
4663
4691
|
return {
|
|
4664
4692
|
c() {
|
|
4665
|
-
t = I("div"), r = I("img"),
|
|
4666
|
-
e[51].img) ||
|
|
4667
|
-
e[51].label),
|
|
4693
|
+
t = I("div"), r = I("img"), h(r, "class", "NavigationPrimaryItemImg"), re(r.src, n = /*item*/
|
|
4694
|
+
e[51].img) || h(r, "src", n), h(r, "alt", i = /*item*/
|
|
4695
|
+
e[51].label), h(t, "class", "NavigationPrimaryItemImgWrapper");
|
|
4668
4696
|
},
|
|
4669
4697
|
m(o, a) {
|
|
4670
4698
|
F(o, t, a), y(t, r);
|
|
4671
4699
|
},
|
|
4672
4700
|
p(o, a) {
|
|
4673
4701
|
a[0] & /*menuItems*/
|
|
4674
|
-
4096 && !
|
|
4675
|
-
o[51].img) &&
|
|
4702
|
+
4096 && !re(r.src, n = /*item*/
|
|
4703
|
+
o[51].img) && h(r, "src", n), a[0] & /*menuItems*/
|
|
4676
4704
|
4096 && i !== (i = /*item*/
|
|
4677
|
-
o[51].label) &&
|
|
4705
|
+
o[51].label) && h(r, "alt", i);
|
|
4678
4706
|
},
|
|
4679
4707
|
d(o) {
|
|
4680
4708
|
o && M(t);
|
|
@@ -4688,8 +4716,8 @@ function mr(e) {
|
|
|
4688
4716
|
), n, i;
|
|
4689
4717
|
return {
|
|
4690
4718
|
c() {
|
|
4691
|
-
t = I("span"), n =
|
|
4692
|
-
e[51].tag),
|
|
4719
|
+
t = I("span"), n = le(r), h(t, "title", i = /*item*/
|
|
4720
|
+
e[51].tag), h(t, "class", "NavigationPrimaryItemTag");
|
|
4693
4721
|
},
|
|
4694
4722
|
m(o, a) {
|
|
4695
4723
|
F(o, t, a), y(t, n);
|
|
@@ -4697,23 +4725,23 @@ function mr(e) {
|
|
|
4697
4725
|
p(o, a) {
|
|
4698
4726
|
a[0] & /*menuItems*/
|
|
4699
4727
|
4096 && r !== (r = /*item*/
|
|
4700
|
-
o[51].tag + "") &&
|
|
4728
|
+
o[51].tag + "") && Ge(n, r), a[0] & /*menuItems*/
|
|
4701
4729
|
4096 && i !== (i = /*item*/
|
|
4702
|
-
o[51].tag) &&
|
|
4730
|
+
o[51].tag) && h(t, "title", i);
|
|
4703
4731
|
},
|
|
4704
4732
|
d(o) {
|
|
4705
4733
|
o && M(t);
|
|
4706
4734
|
}
|
|
4707
4735
|
};
|
|
4708
4736
|
}
|
|
4709
|
-
function
|
|
4710
|
-
var
|
|
4737
|
+
function gr(e) {
|
|
4738
|
+
var m, g;
|
|
4711
4739
|
let t, r, n, i = (
|
|
4712
4740
|
/*item*/
|
|
4713
4741
|
e[51].label + ""
|
|
4714
|
-
), o, a, s, l,
|
|
4742
|
+
), o, a, s, l, c, u = (
|
|
4715
4743
|
/*item*/
|
|
4716
|
-
((
|
|
4744
|
+
((m = e[51]) == null ? void 0 : m.img) && pr(e)
|
|
4717
4745
|
), d = (
|
|
4718
4746
|
/*item*/
|
|
4719
4747
|
((g = e[51]) == null ? void 0 : g.tag) && mr(e)
|
|
@@ -4729,95 +4757,95 @@ function pr(e) {
|
|
|
4729
4757
|
}
|
|
4730
4758
|
return {
|
|
4731
4759
|
c() {
|
|
4732
|
-
t = I("div"), u && u.c(), r = j(), n = I("p"), o =
|
|
4760
|
+
t = I("div"), u && u.c(), r = j(), n = I("p"), o = le(i), a = j(), d && d.c(), h(n, "class", "NavigationPrimaryItemLabel"), h(t, "class", s = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4733
4761
|
e[53] + " " + /*activeMenuItemId*/
|
|
4734
4762
|
(e[6] === /*item*/
|
|
4735
4763
|
e[51].id ? "ActiveItem" : ""));
|
|
4736
4764
|
},
|
|
4737
|
-
m(v,
|
|
4738
|
-
F(v, t,
|
|
4765
|
+
m(v, x) {
|
|
4766
|
+
F(v, t, x), u && u.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), d && d.m(t, null), l || (c = De(t, "click", f), l = !0);
|
|
4739
4767
|
},
|
|
4740
|
-
p(v,
|
|
4741
|
-
var
|
|
4768
|
+
p(v, x) {
|
|
4769
|
+
var E, b;
|
|
4742
4770
|
e = v, /*item*/
|
|
4743
|
-
(
|
|
4771
|
+
(E = e[51]) != null && E.img ? u ? u.p(e, x) : (u = pr(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), x[0] & /*menuItems*/
|
|
4744
4772
|
4096 && i !== (i = /*item*/
|
|
4745
|
-
e[51].label + "") &&
|
|
4746
|
-
(b = e[51]) != null && b.tag ? d ? d.p(e,
|
|
4773
|
+
e[51].label + "") && Ge(o, i), /*item*/
|
|
4774
|
+
(b = e[51]) != null && b.tag ? d ? d.p(e, x) : (d = mr(e), d.c(), d.m(t, null)) : d && (d.d(1), d = null), x[0] & /*activeMenuItemId, menuItems*/
|
|
4747
4775
|
4160 && s !== (s = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4748
4776
|
e[53] + " " + /*activeMenuItemId*/
|
|
4749
4777
|
(e[6] === /*item*/
|
|
4750
|
-
e[51].id ? "ActiveItem" : "")) &&
|
|
4778
|
+
e[51].id ? "ActiveItem" : "")) && h(t, "class", s);
|
|
4751
4779
|
},
|
|
4752
4780
|
d(v) {
|
|
4753
|
-
v && M(t), u && u.d(), d && d.d(), l = !1,
|
|
4781
|
+
v && M(t), u && u.d(), d && d.d(), l = !1, c();
|
|
4754
4782
|
}
|
|
4755
4783
|
};
|
|
4756
4784
|
}
|
|
4757
|
-
function
|
|
4785
|
+
function vr(e) {
|
|
4758
4786
|
let t, r, n, i, o;
|
|
4759
|
-
function a(
|
|
4787
|
+
function a(c, u) {
|
|
4760
4788
|
return (
|
|
4761
4789
|
/*isFlowerMenu*/
|
|
4762
|
-
|
|
4790
|
+
c[11] ? ia : oa
|
|
4763
4791
|
);
|
|
4764
4792
|
}
|
|
4765
4793
|
let s = a(e), l = s(e);
|
|
4766
4794
|
return {
|
|
4767
4795
|
c() {
|
|
4768
|
-
t = I("button"), r = I("span"), l.c(),
|
|
4796
|
+
t = I("button"), r = I("span"), l.c(), h(r, "class", "NavigationButtonSpan"), h(r, "part", "NavigationButtonSpan"), h(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
|
|
4769
4797
|
(e[5] ? "NavigationButtonActive" : ""));
|
|
4770
4798
|
},
|
|
4771
|
-
m(
|
|
4772
|
-
F(
|
|
4799
|
+
m(c, u) {
|
|
4800
|
+
F(c, t, u), y(t, r), l.m(r, null), i || (o = De(
|
|
4773
4801
|
t,
|
|
4774
4802
|
"click",
|
|
4775
4803
|
/*navigationWindowToggle*/
|
|
4776
4804
|
e[15]
|
|
4777
4805
|
), i = !0);
|
|
4778
4806
|
},
|
|
4779
|
-
p(
|
|
4780
|
-
s === (s = a(
|
|
4807
|
+
p(c, u) {
|
|
4808
|
+
s === (s = a(c)) && l ? l.p(c, u) : (l.d(1), l = s(c), l && (l.c(), l.m(r, null))), u[0] & /*navigationWindowOpened*/
|
|
4781
4809
|
32 && n !== (n = "NavigationButton " + /*navigationWindowOpened*/
|
|
4782
|
-
(
|
|
4810
|
+
(c[5] ? "NavigationButtonActive" : "")) && h(t, "class", n);
|
|
4783
4811
|
},
|
|
4784
|
-
d(
|
|
4785
|
-
|
|
4812
|
+
d(c) {
|
|
4813
|
+
c && M(t), l.d(), i = !1, o();
|
|
4786
4814
|
}
|
|
4787
4815
|
};
|
|
4788
4816
|
}
|
|
4789
|
-
function
|
|
4817
|
+
function ia(e) {
|
|
4790
4818
|
let t, r, n, i, o, a, s;
|
|
4791
4819
|
return {
|
|
4792
4820
|
c() {
|
|
4793
|
-
t = I("div"), r = I("span"), n = j(), i = I("span"), o = j(), a = I("span"),
|
|
4821
|
+
t = I("div"), r = I("span"), n = j(), i = I("span"), o = j(), a = I("span"), h(r, "class", "middleIconLine"), h(i, "class", "middleIconLine"), h(a, "class", "middleIconLine"), h(t, "class", s = "labelMiddleIcon " + /*navigationWindowOpened*/
|
|
4794
4822
|
(e[5] ? "labelMiddleIconActive" : ""));
|
|
4795
4823
|
},
|
|
4796
|
-
m(l,
|
|
4797
|
-
F(l, t,
|
|
4824
|
+
m(l, c) {
|
|
4825
|
+
F(l, t, c), y(t, r), y(t, n), y(t, i), y(t, o), y(t, a);
|
|
4798
4826
|
},
|
|
4799
|
-
p(l,
|
|
4800
|
-
|
|
4827
|
+
p(l, c) {
|
|
4828
|
+
c[0] & /*navigationWindowOpened*/
|
|
4801
4829
|
32 && s !== (s = "labelMiddleIcon " + /*navigationWindowOpened*/
|
|
4802
|
-
(l[5] ? "labelMiddleIconActive" : "")) &&
|
|
4830
|
+
(l[5] ? "labelMiddleIconActive" : "")) && h(t, "class", s);
|
|
4803
4831
|
},
|
|
4804
4832
|
d(l) {
|
|
4805
4833
|
l && M(t);
|
|
4806
4834
|
}
|
|
4807
4835
|
};
|
|
4808
4836
|
}
|
|
4809
|
-
function
|
|
4837
|
+
function oa(e) {
|
|
4810
4838
|
let t;
|
|
4811
4839
|
function r(o, a) {
|
|
4812
4840
|
return (
|
|
4813
4841
|
/*imageIconUrl*/
|
|
4814
|
-
o[9] ?
|
|
4842
|
+
o[9] ? sa : aa
|
|
4815
4843
|
);
|
|
4816
4844
|
}
|
|
4817
4845
|
let n = r(e), i = n(e);
|
|
4818
4846
|
return {
|
|
4819
4847
|
c() {
|
|
4820
|
-
i.c(), t =
|
|
4848
|
+
i.c(), t = Pn();
|
|
4821
4849
|
},
|
|
4822
4850
|
m(o, a) {
|
|
4823
4851
|
i.m(o, a), F(o, t, a);
|
|
@@ -4830,14 +4858,14 @@ function ta(e) {
|
|
|
4830
4858
|
}
|
|
4831
4859
|
};
|
|
4832
4860
|
}
|
|
4833
|
-
function
|
|
4834
|
-
let t, r, n, i, o, a, s, l,
|
|
4861
|
+
function aa(e) {
|
|
4862
|
+
let t, r, n, i, o, a, s, l, c, u, d, f, m, g;
|
|
4835
4863
|
return {
|
|
4836
4864
|
c() {
|
|
4837
|
-
t = H("svg"), r = H("g"), n = H("g"), i = H("rect"), o = H("rect"), a = H("g"), s = H("rect"), l = H("rect"),
|
|
4865
|
+
t = H("svg"), r = H("g"), n = H("g"), i = H("rect"), o = H("rect"), a = H("g"), s = H("rect"), l = H("rect"), c = H("g"), u = H("rect"), d = H("rect"), f = H("g"), m = H("rect"), g = H("rect"), h(i, "class", "b"), h(i, "part", "b"), h(i, "width", "10"), h(i, "height", "10"), h(i, "rx", "2"), h(o, "class", "c"), h(o, "part", "c"), h(o, "x", "0.5"), h(o, "y", "0.5"), h(o, "width", "9"), h(o, "height", "9"), h(o, "rx", "1.5"), h(n, "class", "a"), h(n, "part", "a"), h(n, "transform", "translate(150 514)"), h(s, "class", "b"), h(s, "part", "b"), h(s, "width", "10"), h(s, "height", "10"), h(s, "rx", "2"), h(l, "class", "c"), h(l, "part", "c"), h(l, "x", "0.5"), h(l, "y", "0.5"), h(l, "width", "9"), h(l, "height", "9"), h(l, "rx", "1.5"), h(a, "class", "a"), h(a, "part", "a"), h(a, "transform", "translate(161 514)"), h(u, "class", "b"), h(u, "part", "b"), h(u, "width", "10"), h(u, "height", "10"), h(u, "rx", "2"), h(d, "class", "c"), h(d, "part", "c"), h(d, "x", "0.5"), h(d, "y", "0.5"), h(d, "width", "9"), h(d, "height", "9"), h(d, "rx", "1.5"), h(c, "class", "a"), h(c, "part", "a"), h(c, "transform", "translate(161 525)"), h(m, "class", "b"), h(m, "part", "b"), h(m, "width", "10"), h(m, "height", "10"), h(m, "rx", "2"), h(g, "class", "c"), h(g, "part", "c"), h(g, "x", "0.5"), h(g, "y", "0.5"), h(g, "width", "9"), h(g, "height", "9"), h(g, "rx", "1.5"), h(f, "class", "a"), h(f, "part", "a"), h(f, "transform", "translate(150 525)"), h(r, "transform", "translate(-150 -514)"), h(t, "class", "middleIcon"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "21"), h(t, "height", "21"), h(t, "viewBox", "0 0 21 21");
|
|
4838
4866
|
},
|
|
4839
|
-
m(v,
|
|
4840
|
-
F(v, t,
|
|
4867
|
+
m(v, x) {
|
|
4868
|
+
F(v, t, x), y(t, r), y(r, n), y(n, i), y(n, o), y(r, a), y(a, s), y(a, l), y(r, c), y(c, u), y(c, d), y(r, f), y(f, m), y(f, g);
|
|
4841
4869
|
},
|
|
4842
4870
|
p: D,
|
|
4843
4871
|
d(v) {
|
|
@@ -4845,12 +4873,12 @@ function ra(e) {
|
|
|
4845
4873
|
}
|
|
4846
4874
|
};
|
|
4847
4875
|
}
|
|
4848
|
-
function
|
|
4876
|
+
function sa(e) {
|
|
4849
4877
|
let t, r;
|
|
4850
4878
|
return {
|
|
4851
4879
|
c() {
|
|
4852
|
-
t = I("img"),
|
|
4853
|
-
e[9]) ||
|
|
4880
|
+
t = I("img"), re(t.src, r = /*imageIconUrl*/
|
|
4881
|
+
e[9]) || h(t, "src", r), h(t, "class", "middleIcon"), h(
|
|
4854
4882
|
t,
|
|
4855
4883
|
"alt",
|
|
4856
4884
|
/*imageIconUrl*/
|
|
@@ -4862,9 +4890,9 @@ function na(e) {
|
|
|
4862
4890
|
},
|
|
4863
4891
|
p(n, i) {
|
|
4864
4892
|
i[0] & /*imageIconUrl*/
|
|
4865
|
-
512 && !
|
|
4866
|
-
n[9]) &&
|
|
4867
|
-
512 &&
|
|
4893
|
+
512 && !re(t.src, r = /*imageIconUrl*/
|
|
4894
|
+
n[9]) && h(t, "src", r), i[0] & /*imageIconUrl*/
|
|
4895
|
+
512 && h(
|
|
4868
4896
|
t,
|
|
4869
4897
|
"alt",
|
|
4870
4898
|
/*imageIconUrl*/
|
|
@@ -4876,14 +4904,14 @@ function na(e) {
|
|
|
4876
4904
|
}
|
|
4877
4905
|
};
|
|
4878
4906
|
}
|
|
4879
|
-
function
|
|
4907
|
+
function la(e) {
|
|
4880
4908
|
let t, r, n, i = !/*isLoading*/
|
|
4881
4909
|
e[1] && /*isMobile*/
|
|
4882
4910
|
e[14] && /*showNavigation*/
|
|
4883
|
-
e[4] &&
|
|
4911
|
+
e[4] && cr(e);
|
|
4884
4912
|
return {
|
|
4885
4913
|
c() {
|
|
4886
|
-
t = I("div"), i && i.c(),
|
|
4914
|
+
t = I("div"), i && i.c(), h(t, "class", r = /*isFlowerMenu*/
|
|
4887
4915
|
(e[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4888
4916
|
(e[10] ? "NavigationWrapperLandScape" : ""));
|
|
4889
4917
|
},
|
|
@@ -4895,43 +4923,43 @@ function ia(e) {
|
|
|
4895
4923
|
o[1] && /*isMobile*/
|
|
4896
4924
|
o[14] && /*showNavigation*/
|
|
4897
4925
|
o[4] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4898
|
-
18 && Z(i, 1)) : (i =
|
|
4926
|
+
18 && Z(i, 1)) : (i = cr(o), i.c(), Z(i, 1), i.m(t, null)) : i && (Er(), _e(i, 1, 1, () => {
|
|
4899
4927
|
i = null;
|
|
4900
|
-
}),
|
|
4928
|
+
}), Sr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4901
4929
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4902
4930
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4903
|
-
(o[10] ? "NavigationWrapperLandScape" : ""))) &&
|
|
4931
|
+
(o[10] ? "NavigationWrapperLandScape" : ""))) && h(t, "class", r);
|
|
4904
4932
|
},
|
|
4905
4933
|
i(o) {
|
|
4906
4934
|
n || (Z(i), n = !0);
|
|
4907
4935
|
},
|
|
4908
4936
|
o(o) {
|
|
4909
|
-
|
|
4937
|
+
_e(i), n = !1;
|
|
4910
4938
|
},
|
|
4911
4939
|
d(o) {
|
|
4912
4940
|
o && M(t), i && i.d(), e[35](null);
|
|
4913
4941
|
}
|
|
4914
4942
|
};
|
|
4915
4943
|
}
|
|
4916
|
-
function
|
|
4944
|
+
function ua(e, t, r) {
|
|
4917
4945
|
let n, i;
|
|
4918
|
-
|
|
4919
|
-
let { $$slots: o = {}, $$scope: a } = t, { cmsendpoint: s = "" } = t, { lang: l = "" } = t, { env:
|
|
4920
|
-
const
|
|
4921
|
-
fetch(v).then((
|
|
4922
|
-
Object.keys(
|
|
4923
|
-
|
|
4946
|
+
xn(e, Zo, (p) => r(13, i = p));
|
|
4947
|
+
let { $$slots: o = {}, $$scope: a } = t, { cmsendpoint: s = "" } = t, { lang: l = "" } = t, { env: c = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: d = "" } = t, { mbsource: f } = t, { clientstyling: m = "" } = t, { clientstylingurl: g = "" } = t, { translationurl: v = "" } = t, { activecategory: x = "" } = t, { flowermenustyle: E = "false" } = t, { linearmenustyle: b = "false" } = t, { cmsoption: A = "bottom-mobile-menu" } = t, S = window.navigator.userAgent, O = ir(S) !== "PC", G = !0, fe = !1, k = !1, ze = "", Ne = !1, Ie = [], de = [], pe = [], W = [], V, rn, At = "", Ze = {}, Tt, Qe = !1, me = !1;
|
|
4948
|
+
const nn = () => {
|
|
4949
|
+
fetch(v).then((N) => N.json()).then((N) => {
|
|
4950
|
+
Object.keys(N).forEach((P) => {
|
|
4951
|
+
or(P, N[P]);
|
|
4924
4952
|
});
|
|
4925
|
-
}).catch((
|
|
4926
|
-
console.log(
|
|
4953
|
+
}).catch((N) => {
|
|
4954
|
+
console.log(N);
|
|
4927
4955
|
});
|
|
4928
4956
|
};
|
|
4929
|
-
Object.keys(
|
|
4930
|
-
|
|
4957
|
+
Object.keys(ar).forEach((p) => {
|
|
4958
|
+
or(p, ar[p]);
|
|
4931
4959
|
});
|
|
4932
|
-
const
|
|
4933
|
-
if (
|
|
4934
|
-
switch (
|
|
4960
|
+
const Pt = (p) => {
|
|
4961
|
+
if (p.data)
|
|
4962
|
+
switch (p.data.type) {
|
|
4935
4963
|
case "PlayerAccountMenuActive":
|
|
4936
4964
|
r(5, k = !1);
|
|
4937
4965
|
break;
|
|
@@ -4942,11 +4970,11 @@ function oa(e, t, r) {
|
|
|
4942
4970
|
r(5, k = !1);
|
|
4943
4971
|
break;
|
|
4944
4972
|
}
|
|
4945
|
-
}, rn = () => {
|
|
4946
|
-
r(11, Ze = w.toLowerCase() === "true");
|
|
4947
|
-
}, nn = () => {
|
|
4948
|
-
r(3, me = b.toLowerCase() === "true");
|
|
4949
4973
|
}, on = () => {
|
|
4974
|
+
r(11, Qe = E.toLowerCase() === "true");
|
|
4975
|
+
}, an = () => {
|
|
4976
|
+
r(3, me = b.toLowerCase() === "true");
|
|
4977
|
+
}, sn = () => {
|
|
4950
4978
|
r(5, k = !k), window.postMessage(
|
|
4951
4979
|
{
|
|
4952
4980
|
type: "MobileBottomNav",
|
|
@@ -4954,126 +4982,126 @@ function oa(e, t, r) {
|
|
|
4954
4982
|
},
|
|
4955
4983
|
window.location.href
|
|
4956
4984
|
);
|
|
4957
|
-
},
|
|
4958
|
-
r(30,
|
|
4959
|
-
},
|
|
4960
|
-
r(29,
|
|
4961
|
-
},
|
|
4962
|
-
|
|
4963
|
-
let
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
}), r(7, Ne = W.length == 0), W.length >= 5 &&
|
|
4985
|
+
}, ln = (p) => {
|
|
4986
|
+
r(30, pe = []), r(30, pe = Ne ? p.splice(0, 5) : p.splice(0, 4)), x && Ye();
|
|
4987
|
+
}, un = (p, N) => {
|
|
4988
|
+
r(29, de = N ? [...p, ...N] : p), N = [], x && Ye();
|
|
4989
|
+
}, cn = () => {
|
|
4990
|
+
Je(), r(1, G = !0);
|
|
4991
|
+
let p = ir(S), N = new URL(`${s}/${l}/${A}?env=${c}`);
|
|
4992
|
+
N.searchParams.append("userRoles", d), p && N.searchParams.append("device", "mtWeb"), fetch(N.href).then((P) => P.json()).then((P) => {
|
|
4993
|
+
Ie = [], r(8, W = []), r(29, de = []), r(4, fe = P.length > 0), P.forEach((R) => {
|
|
4994
|
+
Ze[R.label] = R.eventTrigger ? R.path : null, R.path == "/menu-item" ? (r(9, At = R == null ? void 0 : R.img), r(8, W = R.children)) : Ie.push(R);
|
|
4995
|
+
}), r(7, Ne = W.length == 0), W.length >= 5 && Qe && r(8, W = W.splice(0, 5)), me ? (un(Ie, W), r(7, Ne = !0)) : ln(Ie), r(1, G = !1);
|
|
4968
4996
|
}).catch((P) => {
|
|
4969
4997
|
r(1, G = !1), console.error(P);
|
|
4970
4998
|
});
|
|
4971
|
-
},
|
|
4972
|
-
const
|
|
4973
|
-
|
|
4974
|
-
},
|
|
4975
|
-
|
|
4999
|
+
}, Ye = () => {
|
|
5000
|
+
const N = (me ? de : pe.concat(W)).find((P) => P.path.includes(x));
|
|
5001
|
+
N ? r(6, ze = N.id) : r(6, ze = "");
|
|
5002
|
+
}, ge = (p, N, P, R) => {
|
|
5003
|
+
Ze[R] ? window.postMessage(
|
|
4976
5004
|
{
|
|
4977
5005
|
type: "MobileBottomNavigationEvent",
|
|
4978
|
-
event:
|
|
5006
|
+
event: Ze[R]
|
|
4979
5007
|
},
|
|
4980
5008
|
window.location.href
|
|
4981
5009
|
) : window.postMessage(
|
|
4982
5010
|
{
|
|
4983
5011
|
type: "NavigateTo",
|
|
4984
|
-
path:
|
|
4985
|
-
target:
|
|
5012
|
+
path: p,
|
|
5013
|
+
target: N || null,
|
|
4986
5014
|
externalLink: P || !1
|
|
4987
5015
|
},
|
|
4988
5016
|
window.location.href
|
|
4989
5017
|
), r(5, k = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4990
5018
|
context: "MobileBottomNavigation",
|
|
4991
|
-
menuItem: `${
|
|
5019
|
+
menuItem: `${p}`
|
|
4992
5020
|
});
|
|
4993
|
-
},
|
|
4994
|
-
|
|
4995
|
-
},
|
|
4996
|
-
const
|
|
4997
|
-
r(10,
|
|
4998
|
-
},
|
|
5021
|
+
}, hn = () => {
|
|
5022
|
+
Qo(l);
|
|
5023
|
+
}, Je = () => {
|
|
5024
|
+
const p = window.screen.orientation.type.startsWith("landscape");
|
|
5025
|
+
r(10, Tt = O && p);
|
|
5026
|
+
}, Ht = () => {
|
|
4999
5027
|
k && r(5, k = !1);
|
|
5000
5028
|
};
|
|
5001
|
-
|
|
5002
|
-
window.removeEventListener("message",
|
|
5029
|
+
Ln(() => (window.addEventListener("message", Pt, !1), document.addEventListener("focusin", Ht), O && window.screen.orientation.addEventListener("change", Je), () => {
|
|
5030
|
+
window.removeEventListener("message", Pt), document.removeEventListener("focusin", Ht), O && window.screen.orientation.removeEventListener("change", Je);
|
|
5003
5031
|
}));
|
|
5004
|
-
const
|
|
5005
|
-
var
|
|
5006
|
-
(
|
|
5007
|
-
},
|
|
5008
|
-
var
|
|
5009
|
-
(
|
|
5032
|
+
const fn = (p) => {
|
|
5033
|
+
var N, P;
|
|
5034
|
+
(N = p.attrs) != null && N.target ? ge(p.path, (P = p.attrs) == null ? void 0 : P.target, p == null ? void 0 : p.externalLink, p.label) : ge(p.path, null, p == null ? void 0 : p.externalLink, p.label);
|
|
5035
|
+
}, dn = (p) => {
|
|
5036
|
+
var N, P;
|
|
5037
|
+
(N = p == null ? void 0 : p.attrs) != null && N.target ? ge(p.path, (P = p.attrs) == null ? void 0 : P.target, p == null ? void 0 : p.externalLink, p.label) : ge(p.path, null, p == null ? void 0 : p.externalLink, p.label);
|
|
5010
5038
|
};
|
|
5011
|
-
function
|
|
5012
|
-
|
|
5013
|
-
V =
|
|
5039
|
+
function pn(p) {
|
|
5040
|
+
st[p ? "unshift" : "push"](() => {
|
|
5041
|
+
V = p, r(2, V);
|
|
5014
5042
|
});
|
|
5015
5043
|
}
|
|
5016
|
-
return e.$$set = (
|
|
5017
|
-
"cmsendpoint" in
|
|
5044
|
+
return e.$$set = (p) => {
|
|
5045
|
+
"cmsendpoint" in p && r(17, s = p.cmsendpoint), "lang" in p && r(18, l = p.lang), "env" in p && r(19, c = p.env), "secondarymenutitle" in p && r(0, u = p.secondarymenutitle), "userroles" in p && r(20, d = p.userroles), "mbsource" in p && r(21, f = p.mbsource), "clientstyling" in p && r(22, m = p.clientstyling), "clientstylingurl" in p && r(23, g = p.clientstylingurl), "translationurl" in p && r(24, v = p.translationurl), "activecategory" in p && r(25, x = p.activecategory), "flowermenustyle" in p && r(26, E = p.flowermenustyle), "linearmenustyle" in p && r(27, b = p.linearmenustyle), "cmsoption" in p && r(28, A = p.cmsoption), "$$scope" in p && r(31, a = p.$$scope);
|
|
5018
5046
|
}, e.$$.update = () => {
|
|
5019
5047
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
5020
|
-
67108864 &&
|
|
5021
|
-
134217728 && b &&
|
|
5022
|
-
33554434 &&
|
|
5023
|
-
262144 && l &&
|
|
5024
|
-
1966080 && s && l &&
|
|
5025
|
-
4194308 &&
|
|
5026
|
-
8388612 && g && V &&
|
|
5027
|
-
2097156 && f && V &&
|
|
5028
|
-
16777216 && v &&
|
|
5029
|
-
1610612744 && r(12, n = me ?
|
|
5048
|
+
67108864 && E && on(), e.$$.dirty[0] & /*linearmenustyle*/
|
|
5049
|
+
134217728 && b && an(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
5050
|
+
33554434 && x && !G && Ye(), e.$$.dirty[0] & /*lang*/
|
|
5051
|
+
262144 && l && hn(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
5052
|
+
1966080 && s && l && c && d && cn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5053
|
+
4194308 && m && V && Yo(V, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5054
|
+
8388612 && g && V && Jo(V, g), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5055
|
+
2097156 && f && V && qo(V, `${f}.Style`, rn), e.$$.dirty[0] & /*translationurl*/
|
|
5056
|
+
16777216 && v && nn(), e.$$.dirty[0] & /*isLinearMenu, linearMenu, primaryMenuSpliced*/
|
|
5057
|
+
1610612744 && r(12, n = me ? de : pe);
|
|
5030
5058
|
}, [
|
|
5031
5059
|
u,
|
|
5032
5060
|
G,
|
|
5033
5061
|
V,
|
|
5034
5062
|
me,
|
|
5035
|
-
|
|
5063
|
+
fe,
|
|
5036
5064
|
k,
|
|
5037
|
-
|
|
5065
|
+
ze,
|
|
5038
5066
|
Ne,
|
|
5039
5067
|
W,
|
|
5040
|
-
Bt,
|
|
5041
5068
|
At,
|
|
5042
|
-
|
|
5069
|
+
Tt,
|
|
5070
|
+
Qe,
|
|
5043
5071
|
n,
|
|
5044
5072
|
i,
|
|
5045
5073
|
O,
|
|
5046
|
-
|
|
5047
|
-
|
|
5074
|
+
sn,
|
|
5075
|
+
ge,
|
|
5048
5076
|
s,
|
|
5049
5077
|
l,
|
|
5050
|
-
|
|
5078
|
+
c,
|
|
5051
5079
|
d,
|
|
5052
5080
|
f,
|
|
5053
|
-
|
|
5081
|
+
m,
|
|
5054
5082
|
g,
|
|
5055
5083
|
v,
|
|
5084
|
+
x,
|
|
5056
5085
|
E,
|
|
5057
|
-
w,
|
|
5058
5086
|
b,
|
|
5059
5087
|
A,
|
|
5060
|
-
fe,
|
|
5061
5088
|
de,
|
|
5089
|
+
pe,
|
|
5062
5090
|
a,
|
|
5063
5091
|
o,
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5092
|
+
fn,
|
|
5093
|
+
dn,
|
|
5094
|
+
pn
|
|
5067
5095
|
];
|
|
5068
5096
|
}
|
|
5069
|
-
class
|
|
5097
|
+
class ca extends Wn {
|
|
5070
5098
|
constructor(t) {
|
|
5071
|
-
super(),
|
|
5099
|
+
super(), $n(
|
|
5072
5100
|
this,
|
|
5073
5101
|
t,
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5102
|
+
ua,
|
|
5103
|
+
la,
|
|
5104
|
+
yr,
|
|
5077
5105
|
{
|
|
5078
5106
|
cmsendpoint: 17,
|
|
5079
5107
|
lang: 18,
|
|
@@ -5089,7 +5117,7 @@ class aa extends $n {
|
|
|
5089
5117
|
linearmenustyle: 27,
|
|
5090
5118
|
cmsoption: 28
|
|
5091
5119
|
},
|
|
5092
|
-
|
|
5120
|
+
ta,
|
|
5093
5121
|
[-1, -1]
|
|
5094
5122
|
);
|
|
5095
5123
|
}
|
|
@@ -5172,7 +5200,7 @@ class aa extends $n {
|
|
|
5172
5200
|
this.$$set({ cmsoption: t }), L();
|
|
5173
5201
|
}
|
|
5174
5202
|
}
|
|
5175
|
-
|
|
5203
|
+
jn(ca, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {}, linearmenustyle: {}, cmsoption: {} }, ["close"], [], !0);
|
|
5176
5204
|
export {
|
|
5177
|
-
|
|
5205
|
+
ca as default
|
|
5178
5206
|
};
|