@everymatrix/general-navigation-bar 1.87.26 → 1.87.28
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,6 +1,6 @@
|
|
|
1
1
|
function R() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function un(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,29 +8,29 @@ function sn(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function fr(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function Pt() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
e.forEach(
|
|
17
|
+
function ae(e) {
|
|
18
|
+
e.forEach(fr);
|
|
19
19
|
}
|
|
20
20
|
function Et(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function dr(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
|
-
let
|
|
27
|
-
function
|
|
28
|
-
return e === t ? !0 : (
|
|
26
|
+
let Ie;
|
|
27
|
+
function te(e, t) {
|
|
28
|
+
return e === t ? !0 : (Ie || (Ie = document.createElement("a")), Ie.href = t, e === Ie.href);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function cn(e) {
|
|
31
31
|
return Object.keys(e).length === 0;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function mr(e, ...t) {
|
|
34
34
|
if (e == null) {
|
|
35
35
|
for (const n of t)
|
|
36
36
|
n(void 0);
|
|
@@ -39,19 +39,19 @@ function dr(e, ...t) {
|
|
|
39
39
|
const r = e.subscribe(...t);
|
|
40
40
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
e.$$.on_destroy.push(
|
|
42
|
+
function hn(e, t, r) {
|
|
43
|
+
e.$$.on_destroy.push(mr(t, r));
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function fn(e, t, r, n) {
|
|
46
46
|
if (e) {
|
|
47
|
-
const i =
|
|
47
|
+
const i = pr(e, t, r, n);
|
|
48
48
|
return e[0](i);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
return e[1] && n ?
|
|
51
|
+
function pr(e, t, r, n) {
|
|
52
|
+
return e[1] && n ? un(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function dn(e, t, r, n) {
|
|
55
55
|
if (e[2] && n) {
|
|
56
56
|
const i = e[2](n(r));
|
|
57
57
|
if (t.dirty === void 0)
|
|
@@ -66,13 +66,13 @@ function cn(e, t, r, n) {
|
|
|
66
66
|
}
|
|
67
67
|
return t.dirty;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function mn(e, t, r, n, i, o) {
|
|
70
70
|
if (i) {
|
|
71
|
-
const a =
|
|
71
|
+
const a = pr(t, r, n, o);
|
|
72
72
|
e.p(a, i);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function pn(e) {
|
|
76
76
|
if (e.ctx.length > 32) {
|
|
77
77
|
const t = [], r = e.ctx.length / 32;
|
|
78
78
|
for (let n = 0; n < r; n++)
|
|
@@ -84,14 +84,14 @@ function dn(e) {
|
|
|
84
84
|
function b(e, t) {
|
|
85
85
|
e.appendChild(t);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
const n =
|
|
87
|
+
function gn(e, t, r) {
|
|
88
|
+
const n = vn(e);
|
|
89
89
|
if (!n.getElementById(t)) {
|
|
90
|
-
const i =
|
|
91
|
-
i.id = t, i.textContent = r,
|
|
90
|
+
const i = N("style");
|
|
91
|
+
i.id = t, i.textContent = r, bn(n, i);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function vn(e) {
|
|
95
95
|
if (!e)
|
|
96
96
|
return document;
|
|
97
97
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -101,7 +101,7 @@ function pn(e) {
|
|
|
101
101
|
t
|
|
102
102
|
) : e.ownerDocument;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function bn(e, t) {
|
|
105
105
|
return b(
|
|
106
106
|
/** @type {Document} */
|
|
107
107
|
e.head || e,
|
|
@@ -114,39 +114,39 @@ function C(e, t, r) {
|
|
|
114
114
|
function H(e) {
|
|
115
115
|
e.parentNode && e.parentNode.removeChild(e);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function gr(e, t) {
|
|
118
118
|
for (let r = 0; r < e.length; r += 1)
|
|
119
119
|
e[r] && e[r].d(t);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function N(e) {
|
|
122
122
|
return document.createElement(e);
|
|
123
123
|
}
|
|
124
124
|
function P(e) {
|
|
125
125
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function se(e) {
|
|
128
128
|
return document.createTextNode(e);
|
|
129
129
|
}
|
|
130
130
|
function $() {
|
|
131
|
-
return
|
|
131
|
+
return se(" ");
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
return
|
|
133
|
+
function yn() {
|
|
134
|
+
return se("");
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function Ue(e, t, r, n) {
|
|
137
137
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function h(e, t, r) {
|
|
140
140
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function _n(e) {
|
|
143
143
|
return Array.from(e.childNodes);
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function Ge(e, t) {
|
|
146
146
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
147
147
|
t);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function wn(e) {
|
|
150
150
|
const t = {};
|
|
151
151
|
return e.childNodes.forEach(
|
|
152
152
|
/** @param {Element} node */
|
|
@@ -155,69 +155,69 @@ function yn(e) {
|
|
|
155
155
|
}
|
|
156
156
|
), t;
|
|
157
157
|
}
|
|
158
|
-
let
|
|
159
|
-
function
|
|
160
|
-
|
|
158
|
+
let be;
|
|
159
|
+
function ve(e) {
|
|
160
|
+
be = e;
|
|
161
161
|
}
|
|
162
|
-
function
|
|
163
|
-
if (!
|
|
162
|
+
function xn() {
|
|
163
|
+
if (!be)
|
|
164
164
|
throw new Error("Function called outside component initialization");
|
|
165
|
-
return
|
|
165
|
+
return be;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
168
|
-
|
|
167
|
+
function En(e) {
|
|
168
|
+
xn().$$.on_mount.push(e);
|
|
169
169
|
}
|
|
170
|
-
const q = [],
|
|
171
|
-
let
|
|
172
|
-
const
|
|
173
|
-
let
|
|
174
|
-
function
|
|
175
|
-
|
|
170
|
+
const q = [], ot = [];
|
|
171
|
+
let ee = [];
|
|
172
|
+
const Ht = [], Sn = /* @__PURE__ */ Promise.resolve();
|
|
173
|
+
let at = !1;
|
|
174
|
+
function Nn() {
|
|
175
|
+
at || (at = !0, Sn.then(O));
|
|
176
176
|
}
|
|
177
|
-
function
|
|
178
|
-
|
|
177
|
+
function st(e) {
|
|
178
|
+
ee.push(e);
|
|
179
179
|
}
|
|
180
|
-
const
|
|
180
|
+
const Je = /* @__PURE__ */ new Set();
|
|
181
181
|
let Y = 0;
|
|
182
182
|
function O() {
|
|
183
183
|
if (Y !== 0)
|
|
184
184
|
return;
|
|
185
|
-
const e =
|
|
185
|
+
const e = be;
|
|
186
186
|
do {
|
|
187
187
|
try {
|
|
188
188
|
for (; Y < q.length; ) {
|
|
189
189
|
const t = q[Y];
|
|
190
|
-
Y++,
|
|
190
|
+
Y++, ve(t), In(t.$$);
|
|
191
191
|
}
|
|
192
192
|
} catch (t) {
|
|
193
193
|
throw q.length = 0, Y = 0, t;
|
|
194
194
|
}
|
|
195
|
-
for (
|
|
196
|
-
|
|
197
|
-
for (let t = 0; t <
|
|
198
|
-
const r =
|
|
199
|
-
|
|
195
|
+
for (ve(null), q.length = 0, Y = 0; ot.length; )
|
|
196
|
+
ot.pop()();
|
|
197
|
+
for (let t = 0; t < ee.length; t += 1) {
|
|
198
|
+
const r = ee[t];
|
|
199
|
+
Je.has(r) || (Je.add(r), r());
|
|
200
200
|
}
|
|
201
|
-
|
|
201
|
+
ee.length = 0;
|
|
202
202
|
} while (q.length);
|
|
203
|
-
for (;
|
|
204
|
-
|
|
205
|
-
|
|
203
|
+
for (; Ht.length; )
|
|
204
|
+
Ht.pop()();
|
|
205
|
+
at = !1, Je.clear(), ve(e);
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function In(e) {
|
|
208
208
|
if (e.fragment !== null) {
|
|
209
|
-
e.update(),
|
|
209
|
+
e.update(), ae(e.before_update);
|
|
210
210
|
const t = e.dirty;
|
|
211
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
211
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(st);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function Bn(e) {
|
|
215
215
|
const t = [], r = [];
|
|
216
|
-
|
|
216
|
+
ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
|
|
217
217
|
}
|
|
218
|
-
const
|
|
218
|
+
const Te = /* @__PURE__ */ new Set();
|
|
219
219
|
let Z;
|
|
220
|
-
function
|
|
220
|
+
function vr() {
|
|
221
221
|
Z = {
|
|
222
222
|
r: 0,
|
|
223
223
|
c: [],
|
|
@@ -225,50 +225,50 @@ function gr() {
|
|
|
225
225
|
// parent group
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
|
-
function
|
|
229
|
-
Z.r ||
|
|
228
|
+
function br() {
|
|
229
|
+
Z.r || ae(Z.c), Z = Z.p;
|
|
230
230
|
}
|
|
231
231
|
function z(e, t) {
|
|
232
|
-
e && e.i && (
|
|
232
|
+
e && e.i && (Te.delete(e), e.i(t));
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function ye(e, t, r, n) {
|
|
235
235
|
if (e && e.o) {
|
|
236
|
-
if (
|
|
236
|
+
if (Te.has(e))
|
|
237
237
|
return;
|
|
238
|
-
|
|
239
|
-
|
|
238
|
+
Te.add(e), Z.c.push(() => {
|
|
239
|
+
Te.delete(e), n && (r && e.d(1), n());
|
|
240
240
|
}), e.o(t);
|
|
241
241
|
} else
|
|
242
242
|
n && n();
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function Le(e) {
|
|
245
245
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function An(e, t, r) {
|
|
248
248
|
const { fragment: n, after_update: i } = e.$$;
|
|
249
|
-
n && n.m(t, r),
|
|
250
|
-
const o = e.$$.on_mount.map(
|
|
251
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
252
|
-
}), i.forEach(
|
|
249
|
+
n && n.m(t, r), st(() => {
|
|
250
|
+
const o = e.$$.on_mount.map(fr).filter(Et);
|
|
251
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
|
|
252
|
+
}), i.forEach(st);
|
|
253
253
|
}
|
|
254
|
-
function
|
|
254
|
+
function Tn(e, t) {
|
|
255
255
|
const r = e.$$;
|
|
256
|
-
r.fragment !== null && (
|
|
256
|
+
r.fragment !== null && (Bn(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
257
257
|
}
|
|
258
|
-
function
|
|
259
|
-
e.$$.dirty[0] === -1 && (q.push(e),
|
|
258
|
+
function Pn(e, t) {
|
|
259
|
+
e.$$.dirty[0] === -1 && (q.push(e), Nn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
const l =
|
|
263
|
-
|
|
264
|
-
const
|
|
261
|
+
function Hn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
262
|
+
const l = be;
|
|
263
|
+
ve(e);
|
|
264
|
+
const c = e.$$ = {
|
|
265
265
|
fragment: null,
|
|
266
266
|
ctx: [],
|
|
267
267
|
// state
|
|
268
268
|
props: o,
|
|
269
269
|
update: R,
|
|
270
270
|
not_equal: i,
|
|
271
|
-
bound:
|
|
271
|
+
bound: Pt(),
|
|
272
272
|
// lifecycle
|
|
273
273
|
on_mount: [],
|
|
274
274
|
on_destroy: [],
|
|
@@ -277,28 +277,28 @@ function Tn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
277
277
|
after_update: [],
|
|
278
278
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
279
279
|
// everything else
|
|
280
|
-
callbacks:
|
|
280
|
+
callbacks: Pt(),
|
|
281
281
|
dirty: s,
|
|
282
282
|
skip_bound: !1,
|
|
283
283
|
root: t.target || l.$$.root
|
|
284
284
|
};
|
|
285
|
-
a && a(
|
|
285
|
+
a && a(c.root);
|
|
286
286
|
let u = !1;
|
|
287
|
-
if (
|
|
287
|
+
if (c.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
|
|
288
288
|
const g = p.length ? p[0] : f;
|
|
289
|
-
return
|
|
290
|
-
}) : [],
|
|
289
|
+
return c.ctx && i(c.ctx[d], c.ctx[d] = g) && (!c.skip_bound && c.bound[d] && c.bound[d](g), u && Pn(e, d)), f;
|
|
290
|
+
}) : [], c.update(), u = !0, ae(c.before_update), c.fragment = n ? n(c.ctx) : !1, t.target) {
|
|
291
291
|
if (t.hydrate) {
|
|
292
|
-
const d =
|
|
293
|
-
|
|
292
|
+
const d = _n(t.target);
|
|
293
|
+
c.fragment && c.fragment.l(d), d.forEach(H);
|
|
294
294
|
} else
|
|
295
|
-
|
|
296
|
-
t.intro && z(e.$$.fragment),
|
|
295
|
+
c.fragment && c.fragment.c();
|
|
296
|
+
t.intro && z(e.$$.fragment), An(e, t.target, t.anchor), O();
|
|
297
297
|
}
|
|
298
|
-
|
|
298
|
+
ve(l);
|
|
299
299
|
}
|
|
300
|
-
let
|
|
301
|
-
typeof HTMLElement == "function" && (
|
|
300
|
+
let yr;
|
|
301
|
+
typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
302
302
|
/** The Svelte component constructor */
|
|
303
303
|
$$ctor;
|
|
304
304
|
/** Slots */
|
|
@@ -340,14 +340,14 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
|
|
|
340
340
|
let o;
|
|
341
341
|
return {
|
|
342
342
|
c: function() {
|
|
343
|
-
o =
|
|
343
|
+
o = N("slot"), i !== "default" && h(o, "name", i);
|
|
344
344
|
},
|
|
345
345
|
/**
|
|
346
346
|
* @param {HTMLElement} target
|
|
347
347
|
* @param {HTMLElement} [anchor]
|
|
348
348
|
*/
|
|
349
|
-
m: function(l,
|
|
350
|
-
C(l, o,
|
|
349
|
+
m: function(l, c) {
|
|
350
|
+
C(l, o, c);
|
|
351
351
|
},
|
|
352
352
|
d: function(l) {
|
|
353
353
|
l && H(o);
|
|
@@ -357,12 +357,12 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
|
|
|
357
357
|
};
|
|
358
358
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
359
359
|
return;
|
|
360
|
-
const t = {}, r =
|
|
360
|
+
const t = {}, r = wn(this);
|
|
361
361
|
for (const i of this.$$s)
|
|
362
362
|
i in r && (t[i] = [e(i)]);
|
|
363
363
|
for (const i of this.attributes) {
|
|
364
364
|
const o = this.$$g_p(i.name);
|
|
365
|
-
o in this.$$d || (this.$$d[o] =
|
|
365
|
+
o in this.$$d || (this.$$d[o] = Pe(o, i.value, this.$$p_d, "toProp"));
|
|
366
366
|
}
|
|
367
367
|
for (const i in this.$$p_d)
|
|
368
368
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -380,7 +380,7 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
|
|
|
380
380
|
this.$$r = !0;
|
|
381
381
|
for (const i in this.$$p_d)
|
|
382
382
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
383
|
-
const o =
|
|
383
|
+
const o = Pe(
|
|
384
384
|
i,
|
|
385
385
|
this.$$d[i],
|
|
386
386
|
this.$$p_d,
|
|
@@ -402,7 +402,7 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
|
|
|
402
402
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
403
403
|
// and setting attributes through setAttribute etc, this is helpful
|
|
404
404
|
attributeChangedCallback(e, t, r) {
|
|
405
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
405
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Pe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
406
406
|
}
|
|
407
407
|
disconnectedCallback() {
|
|
408
408
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -415,7 +415,7 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
|
|
|
415
415
|
) || e;
|
|
416
416
|
}
|
|
417
417
|
});
|
|
418
|
-
function
|
|
418
|
+
function Pe(e, t, r, n) {
|
|
419
419
|
const i = r[e]?.type;
|
|
420
420
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
421
421
|
return t;
|
|
@@ -444,8 +444,8 @@ function Te(e, t, r, n) {
|
|
|
444
444
|
return t;
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
function
|
|
448
|
-
let a = class extends
|
|
447
|
+
function Mn(e, t, r, n, i, o) {
|
|
448
|
+
let a = class extends yr {
|
|
449
449
|
constructor() {
|
|
450
450
|
super(e, r, i), this.$$p_d = t;
|
|
451
451
|
}
|
|
@@ -461,7 +461,7 @@ function Pn(e, t, r, n, i, o) {
|
|
|
461
461
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
462
462
|
},
|
|
463
463
|
set(l) {
|
|
464
|
-
l =
|
|
464
|
+
l = Pe(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
|
|
465
465
|
}
|
|
466
466
|
});
|
|
467
467
|
}), n.forEach((s) => {
|
|
@@ -473,7 +473,7 @@ function Pn(e, t, r, n, i, o) {
|
|
|
473
473
|
}), e.element = /** @type {any} */
|
|
474
474
|
a, a;
|
|
475
475
|
}
|
|
476
|
-
class
|
|
476
|
+
class On {
|
|
477
477
|
/**
|
|
478
478
|
* ### PRIVATE API
|
|
479
479
|
*
|
|
@@ -492,7 +492,7 @@ class Hn {
|
|
|
492
492
|
$$set = void 0;
|
|
493
493
|
/** @returns {void} */
|
|
494
494
|
$destroy() {
|
|
495
|
-
|
|
495
|
+
Tn(this, 1), this.$destroy = R;
|
|
496
496
|
}
|
|
497
497
|
/**
|
|
498
498
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -514,11 +514,11 @@ class Hn {
|
|
|
514
514
|
* @returns {void}
|
|
515
515
|
*/
|
|
516
516
|
$set(t) {
|
|
517
|
-
this.$$set && !
|
|
517
|
+
this.$$set && !cn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
|
-
const
|
|
521
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
520
|
+
const Ln = "4";
|
|
521
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ln);
|
|
522
522
|
/*! *****************************************************************************
|
|
523
523
|
Copyright (c) Microsoft Corporation.
|
|
524
524
|
|
|
@@ -533,24 +533,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
533
533
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
534
534
|
PERFORMANCE OF THIS SOFTWARE.
|
|
535
535
|
***************************************************************************** */
|
|
536
|
-
var
|
|
537
|
-
return
|
|
536
|
+
var lt = function(e, t) {
|
|
537
|
+
return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
538
538
|
r.__proto__ = n;
|
|
539
539
|
} || function(r, n) {
|
|
540
540
|
for (var i in n)
|
|
541
541
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
542
|
-
},
|
|
542
|
+
}, lt(e, t);
|
|
543
543
|
};
|
|
544
544
|
function xe(e, t) {
|
|
545
545
|
if (typeof t != "function" && t !== null)
|
|
546
546
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
547
|
-
|
|
547
|
+
lt(e, t);
|
|
548
548
|
function r() {
|
|
549
549
|
this.constructor = e;
|
|
550
550
|
}
|
|
551
551
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
function ut(e) {
|
|
554
554
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
555
555
|
if (r)
|
|
556
556
|
return r.call(e);
|
|
@@ -562,7 +562,7 @@ function lt(e) {
|
|
|
562
562
|
};
|
|
563
563
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
564
564
|
}
|
|
565
|
-
function
|
|
565
|
+
function ct(e, t) {
|
|
566
566
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
567
567
|
if (!r)
|
|
568
568
|
return e;
|
|
@@ -591,13 +591,13 @@ function ht(e, t, r) {
|
|
|
591
591
|
function V(e) {
|
|
592
592
|
return typeof e == "function";
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function _r(e) {
|
|
595
595
|
var t = function(n) {
|
|
596
596
|
Error.call(n), n.stack = new Error().stack;
|
|
597
597
|
}, r = e(t);
|
|
598
598
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
599
599
|
}
|
|
600
|
-
var
|
|
600
|
+
var qe = _r(function(e) {
|
|
601
601
|
return function(r) {
|
|
602
602
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
603
603
|
` + r.map(function(n, i) {
|
|
@@ -606,13 +606,13 @@ var Je = yr(function(e) {
|
|
|
606
606
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
607
607
|
};
|
|
608
608
|
});
|
|
609
|
-
function
|
|
609
|
+
function ft(e, t) {
|
|
610
610
|
if (e) {
|
|
611
611
|
var r = e.indexOf(t);
|
|
612
612
|
0 <= r && e.splice(r, 1);
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
|
-
var
|
|
615
|
+
var De = function() {
|
|
616
616
|
function e(t) {
|
|
617
617
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
618
618
|
}
|
|
@@ -624,9 +624,9 @@ var Ge = function() {
|
|
|
624
624
|
if (a)
|
|
625
625
|
if (this._parentage = null, Array.isArray(a))
|
|
626
626
|
try {
|
|
627
|
-
for (var s =
|
|
628
|
-
var
|
|
629
|
-
|
|
627
|
+
for (var s = ut(a), l = s.next(); !l.done; l = s.next()) {
|
|
628
|
+
var c = l.value;
|
|
629
|
+
c.remove(this);
|
|
630
630
|
}
|
|
631
631
|
} catch (v) {
|
|
632
632
|
t = { error: v };
|
|
@@ -645,18 +645,18 @@ var Ge = function() {
|
|
|
645
645
|
try {
|
|
646
646
|
u();
|
|
647
647
|
} catch (v) {
|
|
648
|
-
o = v instanceof
|
|
648
|
+
o = v instanceof qe ? v.errors : [v];
|
|
649
649
|
}
|
|
650
650
|
var d = this._finalizers;
|
|
651
651
|
if (d) {
|
|
652
652
|
this._finalizers = null;
|
|
653
653
|
try {
|
|
654
|
-
for (var f =
|
|
654
|
+
for (var f = ut(d), p = f.next(); !p.done; p = f.next()) {
|
|
655
655
|
var g = p.value;
|
|
656
656
|
try {
|
|
657
|
-
|
|
657
|
+
Mt(g);
|
|
658
658
|
} catch (v) {
|
|
659
|
-
o = o ?? [], v instanceof
|
|
659
|
+
o = o ?? [], v instanceof qe ? o = ht(ht([], ct(o)), ct(v.errors)) : o.push(v);
|
|
660
660
|
}
|
|
661
661
|
}
|
|
662
662
|
} catch (v) {
|
|
@@ -671,13 +671,13 @@ var Ge = function() {
|
|
|
671
671
|
}
|
|
672
672
|
}
|
|
673
673
|
if (o)
|
|
674
|
-
throw new
|
|
674
|
+
throw new qe(o);
|
|
675
675
|
}
|
|
676
676
|
}, e.prototype.add = function(t) {
|
|
677
677
|
var r;
|
|
678
678
|
if (t && t !== this)
|
|
679
679
|
if (this.closed)
|
|
680
|
-
|
|
680
|
+
Mt(t);
|
|
681
681
|
else {
|
|
682
682
|
if (t instanceof e) {
|
|
683
683
|
if (t.closed || t._hasParent(this))
|
|
@@ -694,52 +694,52 @@ var Ge = function() {
|
|
|
694
694
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
695
695
|
}, e.prototype._removeParent = function(t) {
|
|
696
696
|
var r = this._parentage;
|
|
697
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
697
|
+
r === t ? this._parentage = null : Array.isArray(r) && ft(r, t);
|
|
698
698
|
}, e.prototype.remove = function(t) {
|
|
699
699
|
var r = this._finalizers;
|
|
700
|
-
r &&
|
|
700
|
+
r && ft(r, t), t instanceof e && t._removeParent(this);
|
|
701
701
|
}, e.EMPTY = function() {
|
|
702
702
|
var t = new e();
|
|
703
703
|
return t.closed = !0, t;
|
|
704
704
|
}(), e;
|
|
705
|
-
}(),
|
|
705
|
+
}(), wr = De.EMPTY;
|
|
706
706
|
function xr(e) {
|
|
707
|
-
return e instanceof
|
|
707
|
+
return e instanceof De || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function Mt(e) {
|
|
710
710
|
V(e) ? e() : e.unsubscribe();
|
|
711
711
|
}
|
|
712
|
-
var
|
|
712
|
+
var Cn = {
|
|
713
713
|
Promise: void 0
|
|
714
|
-
},
|
|
714
|
+
}, Fn = {
|
|
715
715
|
setTimeout: function(e, t) {
|
|
716
716
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
717
717
|
r[n - 2] = arguments[n];
|
|
718
|
-
return setTimeout.apply(void 0, ht([e, t],
|
|
718
|
+
return setTimeout.apply(void 0, ht([e, t], ct(r)));
|
|
719
719
|
},
|
|
720
720
|
clearTimeout: function(e) {
|
|
721
721
|
return clearTimeout(e);
|
|
722
722
|
},
|
|
723
723
|
delegate: void 0
|
|
724
724
|
};
|
|
725
|
-
function
|
|
726
|
-
|
|
725
|
+
function Rn(e) {
|
|
726
|
+
Fn.setTimeout(function() {
|
|
727
727
|
throw e;
|
|
728
728
|
});
|
|
729
729
|
}
|
|
730
|
-
function
|
|
730
|
+
function Ot() {
|
|
731
731
|
}
|
|
732
|
-
function
|
|
732
|
+
function He(e) {
|
|
733
733
|
e();
|
|
734
734
|
}
|
|
735
735
|
var Er = function(e) {
|
|
736
736
|
xe(t, e);
|
|
737
737
|
function t(r) {
|
|
738
738
|
var n = e.call(this) || this;
|
|
739
|
-
return n.isStopped = !1, r ? (n.destination = r, xr(r) && r.add(n)) : n.destination =
|
|
739
|
+
return n.isStopped = !1, r ? (n.destination = r, xr(r) && r.add(n)) : n.destination = Dn, n;
|
|
740
740
|
}
|
|
741
741
|
return t.create = function(r, n, i) {
|
|
742
|
-
return new
|
|
742
|
+
return new dt(r, n, i);
|
|
743
743
|
}, t.prototype.next = function(r) {
|
|
744
744
|
this.isStopped || this._next(r);
|
|
745
745
|
}, t.prototype.error = function(r) {
|
|
@@ -763,7 +763,7 @@ var Er = function(e) {
|
|
|
763
763
|
this.unsubscribe();
|
|
764
764
|
}
|
|
765
765
|
}, t;
|
|
766
|
-
}(
|
|
766
|
+
}(De), Un = function() {
|
|
767
767
|
function e(t) {
|
|
768
768
|
this.partialObserver = t;
|
|
769
769
|
}
|
|
@@ -773,7 +773,7 @@ var Er = function(e) {
|
|
|
773
773
|
try {
|
|
774
774
|
r.next(t);
|
|
775
775
|
} catch (n) {
|
|
776
|
-
|
|
776
|
+
Be(n);
|
|
777
777
|
}
|
|
778
778
|
}, e.prototype.error = function(t) {
|
|
779
779
|
var r = this.partialObserver;
|
|
@@ -781,20 +781,20 @@ var Er = function(e) {
|
|
|
781
781
|
try {
|
|
782
782
|
r.error(t);
|
|
783
783
|
} catch (n) {
|
|
784
|
-
|
|
784
|
+
Be(n);
|
|
785
785
|
}
|
|
786
786
|
else
|
|
787
|
-
|
|
787
|
+
Be(t);
|
|
788
788
|
}, e.prototype.complete = function() {
|
|
789
789
|
var t = this.partialObserver;
|
|
790
790
|
if (t.complete)
|
|
791
791
|
try {
|
|
792
792
|
t.complete();
|
|
793
793
|
} catch (r) {
|
|
794
|
-
|
|
794
|
+
Be(r);
|
|
795
795
|
}
|
|
796
796
|
}, e;
|
|
797
|
-
}(),
|
|
797
|
+
}(), dt = function(e) {
|
|
798
798
|
xe(t, e);
|
|
799
799
|
function t(r, n, i) {
|
|
800
800
|
var o = e.call(this) || this, a;
|
|
@@ -802,35 +802,35 @@ var Er = function(e) {
|
|
|
802
802
|
next: r ?? void 0,
|
|
803
803
|
error: n ?? void 0,
|
|
804
804
|
complete: i ?? void 0
|
|
805
|
-
} : a = r, o.destination = new
|
|
805
|
+
} : a = r, o.destination = new Un(a), o;
|
|
806
806
|
}
|
|
807
807
|
return t;
|
|
808
808
|
}(Er);
|
|
809
|
-
function
|
|
810
|
-
|
|
809
|
+
function Be(e) {
|
|
810
|
+
Rn(e);
|
|
811
811
|
}
|
|
812
|
-
function
|
|
812
|
+
function Gn(e) {
|
|
813
813
|
throw e;
|
|
814
814
|
}
|
|
815
|
-
var
|
|
815
|
+
var Dn = {
|
|
816
816
|
closed: !0,
|
|
817
|
-
next:
|
|
818
|
-
error:
|
|
819
|
-
complete:
|
|
820
|
-
},
|
|
817
|
+
next: Ot,
|
|
818
|
+
error: Gn,
|
|
819
|
+
complete: Ot
|
|
820
|
+
}, kn = function() {
|
|
821
821
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
822
822
|
}();
|
|
823
|
-
function
|
|
823
|
+
function $n(e) {
|
|
824
824
|
return e;
|
|
825
825
|
}
|
|
826
|
-
function
|
|
827
|
-
return e.length === 0 ?
|
|
826
|
+
function jn(e) {
|
|
827
|
+
return e.length === 0 ? $n : e.length === 1 ? e[0] : function(r) {
|
|
828
828
|
return e.reduce(function(n, i) {
|
|
829
829
|
return i(n);
|
|
830
830
|
}, r);
|
|
831
831
|
};
|
|
832
832
|
}
|
|
833
|
-
var
|
|
833
|
+
var Lt = function() {
|
|
834
834
|
function e(t) {
|
|
835
835
|
t && (this._subscribe = t);
|
|
836
836
|
}
|
|
@@ -838,8 +838,8 @@ var Ot = function() {
|
|
|
838
838
|
var r = new e();
|
|
839
839
|
return r.source = this, r.operator = t, r;
|
|
840
840
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
841
|
-
var i = this, o =
|
|
842
|
-
return
|
|
841
|
+
var i = this, o = Vn(t) ? t : new dt(t, r, n);
|
|
842
|
+
return He(function() {
|
|
843
843
|
var a = i, s = a.operator, l = a.source;
|
|
844
844
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
845
845
|
}), o;
|
|
@@ -851,8 +851,8 @@ var Ot = function() {
|
|
|
851
851
|
}
|
|
852
852
|
}, e.prototype.forEach = function(t, r) {
|
|
853
853
|
var n = this;
|
|
854
|
-
return r =
|
|
855
|
-
var a = new
|
|
854
|
+
return r = Ct(r), new r(function(i, o) {
|
|
855
|
+
var a = new dt({
|
|
856
856
|
next: function(s) {
|
|
857
857
|
try {
|
|
858
858
|
t(s);
|
|
@@ -868,15 +868,15 @@ var Ot = function() {
|
|
|
868
868
|
}, e.prototype._subscribe = function(t) {
|
|
869
869
|
var r;
|
|
870
870
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
871
|
-
}, e.prototype[
|
|
871
|
+
}, e.prototype[kn] = function() {
|
|
872
872
|
return this;
|
|
873
873
|
}, e.prototype.pipe = function() {
|
|
874
874
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
875
875
|
t[r] = arguments[r];
|
|
876
|
-
return
|
|
876
|
+
return jn(t)(this);
|
|
877
877
|
}, e.prototype.toPromise = function(t) {
|
|
878
878
|
var r = this;
|
|
879
|
-
return t =
|
|
879
|
+
return t = Ct(t), new t(function(n, i) {
|
|
880
880
|
var o;
|
|
881
881
|
r.subscribe(function(a) {
|
|
882
882
|
return o = a;
|
|
@@ -890,45 +890,45 @@ var Ot = function() {
|
|
|
890
890
|
return new e(t);
|
|
891
891
|
}, e;
|
|
892
892
|
}();
|
|
893
|
-
function
|
|
893
|
+
function Ct(e) {
|
|
894
894
|
var t;
|
|
895
|
-
return (t = e ??
|
|
895
|
+
return (t = e ?? Cn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
896
896
|
}
|
|
897
|
-
function
|
|
897
|
+
function Wn(e) {
|
|
898
898
|
return e && V(e.next) && V(e.error) && V(e.complete);
|
|
899
899
|
}
|
|
900
|
-
function
|
|
901
|
-
return e && e instanceof Er ||
|
|
900
|
+
function Vn(e) {
|
|
901
|
+
return e && e instanceof Er || Wn(e) && xr(e);
|
|
902
902
|
}
|
|
903
|
-
var
|
|
903
|
+
var Xn = _r(function(e) {
|
|
904
904
|
return function() {
|
|
905
905
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
906
906
|
};
|
|
907
|
-
}),
|
|
907
|
+
}), Sr = function(e) {
|
|
908
908
|
xe(t, e);
|
|
909
909
|
function t() {
|
|
910
910
|
var r = e.call(this) || this;
|
|
911
911
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
912
912
|
}
|
|
913
913
|
return t.prototype.lift = function(r) {
|
|
914
|
-
var n = new
|
|
914
|
+
var n = new Ft(this, this);
|
|
915
915
|
return n.operator = r, n;
|
|
916
916
|
}, t.prototype._throwIfClosed = function() {
|
|
917
917
|
if (this.closed)
|
|
918
|
-
throw new
|
|
918
|
+
throw new Xn();
|
|
919
919
|
}, t.prototype.next = function(r) {
|
|
920
920
|
var n = this;
|
|
921
|
-
|
|
921
|
+
He(function() {
|
|
922
922
|
var i, o;
|
|
923
923
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
924
924
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
925
925
|
try {
|
|
926
|
-
for (var a =
|
|
926
|
+
for (var a = ut(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
927
927
|
var l = s.value;
|
|
928
928
|
l.next(r);
|
|
929
929
|
}
|
|
930
|
-
} catch (
|
|
931
|
-
i = { error:
|
|
930
|
+
} catch (c) {
|
|
931
|
+
i = { error: c };
|
|
932
932
|
} finally {
|
|
933
933
|
try {
|
|
934
934
|
s && !s.done && (o = a.return) && o.call(a);
|
|
@@ -941,7 +941,7 @@ var Wn = yr(function(e) {
|
|
|
941
941
|
});
|
|
942
942
|
}, t.prototype.error = function(r) {
|
|
943
943
|
var n = this;
|
|
944
|
-
|
|
944
|
+
He(function() {
|
|
945
945
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
946
946
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
947
947
|
for (var i = n.observers; i.length; )
|
|
@@ -950,7 +950,7 @@ var Wn = yr(function(e) {
|
|
|
950
950
|
});
|
|
951
951
|
}, t.prototype.complete = function() {
|
|
952
952
|
var r = this;
|
|
953
|
-
|
|
953
|
+
He(function() {
|
|
954
954
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
955
955
|
r.isStopped = !0;
|
|
956
956
|
for (var n = r.observers; n.length; )
|
|
@@ -972,19 +972,19 @@ var Wn = yr(function(e) {
|
|
|
972
972
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
973
973
|
}, t.prototype._innerSubscribe = function(r) {
|
|
974
974
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
975
|
-
return o || a ?
|
|
976
|
-
n.currentObservers = null,
|
|
975
|
+
return o || a ? wr : (this.currentObservers = null, s.push(r), new De(function() {
|
|
976
|
+
n.currentObservers = null, ft(s, r);
|
|
977
977
|
}));
|
|
978
978
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
979
979
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
980
980
|
i ? r.error(o) : a && r.complete();
|
|
981
981
|
}, t.prototype.asObservable = function() {
|
|
982
|
-
var r = new
|
|
982
|
+
var r = new Lt();
|
|
983
983
|
return r.source = this, r;
|
|
984
984
|
}, t.create = function(r, n) {
|
|
985
|
-
return new
|
|
985
|
+
return new Ft(r, n);
|
|
986
986
|
}, t;
|
|
987
|
-
}(
|
|
987
|
+
}(Lt), Ft = function(e) {
|
|
988
988
|
xe(t, e);
|
|
989
989
|
function t(r, n) {
|
|
990
990
|
var i = e.call(this) || this;
|
|
@@ -1001,14 +1001,14 @@ var Wn = yr(function(e) {
|
|
|
1001
1001
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1002
1002
|
}, t.prototype._subscribe = function(r) {
|
|
1003
1003
|
var n, i;
|
|
1004
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1004
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : wr;
|
|
1005
1005
|
}, t;
|
|
1006
|
-
}(
|
|
1006
|
+
}(Sr), Nr = {
|
|
1007
1007
|
now: function() {
|
|
1008
1008
|
return (Nr.delegate || Date).now();
|
|
1009
1009
|
},
|
|
1010
1010
|
delegate: void 0
|
|
1011
|
-
},
|
|
1011
|
+
}, zn = function(e) {
|
|
1012
1012
|
xe(t, e);
|
|
1013
1013
|
function t(r, n, i) {
|
|
1014
1014
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Nr);
|
|
@@ -1026,35 +1026,35 @@ var Wn = yr(function(e) {
|
|
|
1026
1026
|
}, t.prototype._trimBuffer = function() {
|
|
1027
1027
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
|
|
1028
1028
|
if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
|
|
1029
|
-
for (var l = i.now(),
|
|
1030
|
-
|
|
1031
|
-
|
|
1029
|
+
for (var l = i.now(), c = 0, u = 1; u < o.length && o[u] <= l; u += 2)
|
|
1030
|
+
c = u;
|
|
1031
|
+
c && o.splice(0, c + 1);
|
|
1032
1032
|
}
|
|
1033
1033
|
}, t;
|
|
1034
|
-
}(
|
|
1035
|
-
const
|
|
1036
|
-
if (
|
|
1037
|
-
const r = new
|
|
1038
|
-
|
|
1034
|
+
}(Sr);
|
|
1035
|
+
const Rt = [], Ut = {}, Zn = (e, t = 0) => {
|
|
1036
|
+
if (Rt.indexOf(e) == -1) {
|
|
1037
|
+
const r = new zn(t);
|
|
1038
|
+
Ut[e] = r, Rt.push(e);
|
|
1039
1039
|
}
|
|
1040
|
-
return
|
|
1040
|
+
return Ut[e];
|
|
1041
1041
|
}, J = [];
|
|
1042
|
-
function
|
|
1042
|
+
function Qn(e, t) {
|
|
1043
1043
|
return {
|
|
1044
|
-
subscribe:
|
|
1044
|
+
subscribe: ke(e, t).subscribe
|
|
1045
1045
|
};
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1047
|
+
function ke(e, t = R) {
|
|
1048
1048
|
let r;
|
|
1049
1049
|
const n = /* @__PURE__ */ new Set();
|
|
1050
1050
|
function i(s) {
|
|
1051
|
-
if (
|
|
1051
|
+
if (dr(e, s) && (e = s, r)) {
|
|
1052
1052
|
const l = !J.length;
|
|
1053
|
-
for (const
|
|
1054
|
-
|
|
1053
|
+
for (const c of n)
|
|
1054
|
+
c[1](), J.push(c, e);
|
|
1055
1055
|
if (l) {
|
|
1056
|
-
for (let
|
|
1057
|
-
J[
|
|
1056
|
+
for (let c = 0; c < J.length; c += 2)
|
|
1057
|
+
J[c][0](J[c + 1]);
|
|
1058
1058
|
J.length = 0;
|
|
1059
1059
|
}
|
|
1060
1060
|
}
|
|
@@ -1063,33 +1063,33 @@ function De(e, t = R) {
|
|
|
1063
1063
|
i(s(e));
|
|
1064
1064
|
}
|
|
1065
1065
|
function a(s, l = R) {
|
|
1066
|
-
const
|
|
1067
|
-
return n.add(
|
|
1068
|
-
n.delete(
|
|
1066
|
+
const c = [s, l];
|
|
1067
|
+
return n.add(c), n.size === 1 && (r = t(i, o) || R), s(e), () => {
|
|
1068
|
+
n.delete(c), n.size === 0 && r && (r(), r = null);
|
|
1069
1069
|
};
|
|
1070
1070
|
}
|
|
1071
1071
|
return { set: i, update: o, subscribe: a };
|
|
1072
1072
|
}
|
|
1073
|
-
function
|
|
1073
|
+
function le(e, t, r) {
|
|
1074
1074
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1075
1075
|
if (!i.every(Boolean))
|
|
1076
1076
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1077
1077
|
const o = t.length < 2;
|
|
1078
|
-
return
|
|
1078
|
+
return Qn(r, (a, s) => {
|
|
1079
1079
|
let l = !1;
|
|
1080
|
-
const
|
|
1080
|
+
const c = [];
|
|
1081
1081
|
let u = 0, d = R;
|
|
1082
1082
|
const f = () => {
|
|
1083
1083
|
if (u)
|
|
1084
1084
|
return;
|
|
1085
1085
|
d();
|
|
1086
|
-
const g = t(n ?
|
|
1086
|
+
const g = t(n ? c[0] : c, a, s);
|
|
1087
1087
|
o ? a(g) : d = Et(g) ? g : R;
|
|
1088
1088
|
}, p = i.map(
|
|
1089
|
-
(g, v) =>
|
|
1089
|
+
(g, v) => mr(
|
|
1090
1090
|
g,
|
|
1091
|
-
(
|
|
1092
|
-
|
|
1091
|
+
(S) => {
|
|
1092
|
+
c[v] = S, u &= ~(1 << v), l && f();
|
|
1093
1093
|
},
|
|
1094
1094
|
() => {
|
|
1095
1095
|
u |= 1 << v;
|
|
@@ -1097,96 +1097,96 @@ function se(e, t, r) {
|
|
|
1097
1097
|
)
|
|
1098
1098
|
);
|
|
1099
1099
|
return l = !0, f(), function() {
|
|
1100
|
-
|
|
1100
|
+
ae(p), d(), l = !1;
|
|
1101
1101
|
};
|
|
1102
1102
|
});
|
|
1103
1103
|
}
|
|
1104
|
-
function
|
|
1104
|
+
function Yn(e) {
|
|
1105
1105
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1106
1106
|
}
|
|
1107
|
-
var
|
|
1108
|
-
return
|
|
1107
|
+
var Jn = function(t) {
|
|
1108
|
+
return qn(t) && !Kn(t);
|
|
1109
1109
|
};
|
|
1110
|
-
function
|
|
1110
|
+
function qn(e) {
|
|
1111
1111
|
return !!e && typeof e == "object";
|
|
1112
1112
|
}
|
|
1113
|
-
function
|
|
1113
|
+
function Kn(e) {
|
|
1114
1114
|
var t = Object.prototype.toString.call(e);
|
|
1115
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1115
|
+
return t === "[object RegExp]" || t === "[object Date]" || ri(e);
|
|
1116
1116
|
}
|
|
1117
|
-
var
|
|
1118
|
-
function
|
|
1119
|
-
return e.$$typeof ===
|
|
1117
|
+
var ei = typeof Symbol == "function" && Symbol.for, ti = ei ? Symbol.for("react.element") : 60103;
|
|
1118
|
+
function ri(e) {
|
|
1119
|
+
return e.$$typeof === ti;
|
|
1120
1120
|
}
|
|
1121
|
-
function
|
|
1121
|
+
function ni(e) {
|
|
1122
1122
|
return Array.isArray(e) ? [] : {};
|
|
1123
1123
|
}
|
|
1124
|
-
function
|
|
1125
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1124
|
+
function _e(e, t) {
|
|
1125
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(ni(e), e, t) : e;
|
|
1126
1126
|
}
|
|
1127
|
-
function
|
|
1127
|
+
function ii(e, t, r) {
|
|
1128
1128
|
return e.concat(t).map(function(n) {
|
|
1129
|
-
return
|
|
1129
|
+
return _e(n, r);
|
|
1130
1130
|
});
|
|
1131
1131
|
}
|
|
1132
|
-
function
|
|
1132
|
+
function oi(e, t) {
|
|
1133
1133
|
if (!t.customMerge)
|
|
1134
|
-
return
|
|
1134
|
+
return re;
|
|
1135
1135
|
var r = t.customMerge(e);
|
|
1136
|
-
return typeof r == "function" ? r :
|
|
1136
|
+
return typeof r == "function" ? r : re;
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1138
|
+
function ai(e) {
|
|
1139
1139
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1140
1140
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1141
1141
|
}) : [];
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1144
|
-
return Object.keys(e).concat(
|
|
1143
|
+
function Gt(e) {
|
|
1144
|
+
return Object.keys(e).concat(ai(e));
|
|
1145
1145
|
}
|
|
1146
|
-
function
|
|
1146
|
+
function Ir(e, t) {
|
|
1147
1147
|
try {
|
|
1148
1148
|
return t in e;
|
|
1149
1149
|
} catch {
|
|
1150
1150
|
return !1;
|
|
1151
1151
|
}
|
|
1152
1152
|
}
|
|
1153
|
-
function
|
|
1154
|
-
return
|
|
1153
|
+
function si(e, t) {
|
|
1154
|
+
return Ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1155
1155
|
}
|
|
1156
|
-
function
|
|
1156
|
+
function li(e, t, r) {
|
|
1157
1157
|
var n = {};
|
|
1158
|
-
return r.isMergeableObject(e) &&
|
|
1159
|
-
n[i] =
|
|
1160
|
-
}),
|
|
1161
|
-
|
|
1158
|
+
return r.isMergeableObject(e) && Gt(e).forEach(function(i) {
|
|
1159
|
+
n[i] = _e(e[i], r);
|
|
1160
|
+
}), Gt(t).forEach(function(i) {
|
|
1161
|
+
si(e, i) || (Ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = oi(i, r)(e[i], t[i], r) : n[i] = _e(t[i], r));
|
|
1162
1162
|
}), n;
|
|
1163
1163
|
}
|
|
1164
|
-
function
|
|
1165
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1164
|
+
function re(e, t, r) {
|
|
1165
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ii, r.isMergeableObject = r.isMergeableObject || Jn, r.cloneUnlessOtherwiseSpecified = _e;
|
|
1166
1166
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1167
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1167
|
+
return o ? n ? r.arrayMerge(e, t, r) : li(e, t, r) : _e(t, r);
|
|
1168
1168
|
}
|
|
1169
|
-
|
|
1169
|
+
re.all = function(t, r) {
|
|
1170
1170
|
if (!Array.isArray(t))
|
|
1171
1171
|
throw new Error("first argument should be an array");
|
|
1172
1172
|
return t.reduce(function(n, i) {
|
|
1173
|
-
return
|
|
1173
|
+
return re(n, i, r);
|
|
1174
1174
|
}, {});
|
|
1175
1175
|
};
|
|
1176
|
-
var
|
|
1177
|
-
const
|
|
1178
|
-
var
|
|
1179
|
-
return
|
|
1176
|
+
var ui = re, ci = ui;
|
|
1177
|
+
const hi = /* @__PURE__ */ Yn(ci);
|
|
1178
|
+
var mt = function(e, t) {
|
|
1179
|
+
return mt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1180
1180
|
r.__proto__ = n;
|
|
1181
1181
|
} || function(r, n) {
|
|
1182
1182
|
for (var i in n)
|
|
1183
1183
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1184
|
-
},
|
|
1184
|
+
}, mt(e, t);
|
|
1185
1185
|
};
|
|
1186
|
-
function
|
|
1186
|
+
function $e(e, t) {
|
|
1187
1187
|
if (typeof t != "function" && t !== null)
|
|
1188
1188
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1189
|
-
|
|
1189
|
+
mt(e, t);
|
|
1190
1190
|
function r() {
|
|
1191
1191
|
this.constructor = e;
|
|
1192
1192
|
}
|
|
@@ -1202,7 +1202,7 @@ var k = function() {
|
|
|
1202
1202
|
return t;
|
|
1203
1203
|
}, k.apply(this, arguments);
|
|
1204
1204
|
};
|
|
1205
|
-
function
|
|
1205
|
+
function fi(e, t) {
|
|
1206
1206
|
var r = {};
|
|
1207
1207
|
for (var n in e)
|
|
1208
1208
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1211,43 +1211,43 @@ function hi(e, t) {
|
|
|
1211
1211
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1212
1212
|
return r;
|
|
1213
1213
|
}
|
|
1214
|
-
function
|
|
1214
|
+
function Ke(e, t, r) {
|
|
1215
1215
|
if (r || arguments.length === 2)
|
|
1216
1216
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1217
1217
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1218
1218
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1219
1219
|
}
|
|
1220
|
-
function
|
|
1221
|
-
var r = t && t.cache ? t.cache :
|
|
1220
|
+
function et(e, t) {
|
|
1221
|
+
var r = t && t.cache ? t.cache : yi, n = t && t.serializer ? t.serializer : vi, i = t && t.strategy ? t.strategy : pi;
|
|
1222
1222
|
return i(e, {
|
|
1223
1223
|
cache: r,
|
|
1224
1224
|
serializer: n
|
|
1225
1225
|
});
|
|
1226
1226
|
}
|
|
1227
|
-
function
|
|
1227
|
+
function di(e) {
|
|
1228
1228
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1229
1229
|
}
|
|
1230
|
-
function
|
|
1231
|
-
var i =
|
|
1230
|
+
function mi(e, t, r, n) {
|
|
1231
|
+
var i = di(n) ? n : r(n), o = t.get(i);
|
|
1232
1232
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1233
1233
|
}
|
|
1234
|
-
function
|
|
1234
|
+
function Br(e, t, r) {
|
|
1235
1235
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1236
1236
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1237
1237
|
}
|
|
1238
|
-
function
|
|
1238
|
+
function Ar(e, t, r, n, i) {
|
|
1239
1239
|
return r.bind(t, e, n, i);
|
|
1240
1240
|
}
|
|
1241
|
-
function
|
|
1242
|
-
var r = e.length === 1 ?
|
|
1243
|
-
return
|
|
1241
|
+
function pi(e, t) {
|
|
1242
|
+
var r = e.length === 1 ? mi : Br;
|
|
1243
|
+
return Ar(e, this, r, t.cache.create(), t.serializer);
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return
|
|
1245
|
+
function gi(e, t) {
|
|
1246
|
+
return Ar(e, this, Br, t.cache.create(), t.serializer);
|
|
1247
1247
|
}
|
|
1248
|
-
var
|
|
1248
|
+
var vi = function() {
|
|
1249
1249
|
return JSON.stringify(arguments);
|
|
1250
|
-
},
|
|
1250
|
+
}, bi = (
|
|
1251
1251
|
/** @class */
|
|
1252
1252
|
function() {
|
|
1253
1253
|
function e() {
|
|
@@ -1259,21 +1259,21 @@ var pi = function() {
|
|
|
1259
1259
|
this.cache[t] = r;
|
|
1260
1260
|
}, e;
|
|
1261
1261
|
}()
|
|
1262
|
-
),
|
|
1262
|
+
), yi = {
|
|
1263
1263
|
create: function() {
|
|
1264
|
-
return new
|
|
1264
|
+
return new bi();
|
|
1265
1265
|
}
|
|
1266
|
-
},
|
|
1267
|
-
variadic:
|
|
1268
|
-
},
|
|
1269
|
-
return
|
|
1266
|
+
}, tt = {
|
|
1267
|
+
variadic: gi
|
|
1268
|
+
}, Ce = function() {
|
|
1269
|
+
return Ce = Object.assign || function(t) {
|
|
1270
1270
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1271
1271
|
r = arguments[n];
|
|
1272
1272
|
for (var o in r)
|
|
1273
1273
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1274
1274
|
}
|
|
1275
1275
|
return t;
|
|
1276
|
-
},
|
|
1276
|
+
}, Ce.apply(this, arguments);
|
|
1277
1277
|
};
|
|
1278
1278
|
var _;
|
|
1279
1279
|
(function(e) {
|
|
@@ -1283,47 +1283,47 @@ var I;
|
|
|
1283
1283
|
(function(e) {
|
|
1284
1284
|
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";
|
|
1285
1285
|
})(I || (I = {}));
|
|
1286
|
-
var
|
|
1286
|
+
var ne;
|
|
1287
1287
|
(function(e) {
|
|
1288
1288
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1289
|
-
})(
|
|
1290
|
-
function
|
|
1289
|
+
})(ne || (ne = {}));
|
|
1290
|
+
function Dt(e) {
|
|
1291
1291
|
return e.type === I.literal;
|
|
1292
1292
|
}
|
|
1293
|
-
function
|
|
1293
|
+
function _i(e) {
|
|
1294
1294
|
return e.type === I.argument;
|
|
1295
1295
|
}
|
|
1296
|
-
function
|
|
1296
|
+
function Tr(e) {
|
|
1297
1297
|
return e.type === I.number;
|
|
1298
1298
|
}
|
|
1299
|
-
function
|
|
1299
|
+
function Pr(e) {
|
|
1300
1300
|
return e.type === I.date;
|
|
1301
1301
|
}
|
|
1302
|
-
function
|
|
1302
|
+
function Hr(e) {
|
|
1303
1303
|
return e.type === I.time;
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1305
|
+
function Mr(e) {
|
|
1306
1306
|
return e.type === I.select;
|
|
1307
1307
|
}
|
|
1308
|
-
function
|
|
1308
|
+
function Or(e) {
|
|
1309
1309
|
return e.type === I.plural;
|
|
1310
1310
|
}
|
|
1311
|
-
function
|
|
1311
|
+
function wi(e) {
|
|
1312
1312
|
return e.type === I.pound;
|
|
1313
1313
|
}
|
|
1314
|
-
function
|
|
1314
|
+
function Lr(e) {
|
|
1315
1315
|
return e.type === I.tag;
|
|
1316
1316
|
}
|
|
1317
|
-
function
|
|
1318
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1317
|
+
function Cr(e) {
|
|
1318
|
+
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1321
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1320
|
+
function pt(e) {
|
|
1321
|
+
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1322
1322
|
}
|
|
1323
|
-
var
|
|
1324
|
-
function
|
|
1323
|
+
var Fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xi = /(?:[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;
|
|
1324
|
+
function Ei(e) {
|
|
1325
1325
|
var t = {};
|
|
1326
|
-
return e.replace(
|
|
1326
|
+
return e.replace(xi, function(r) {
|
|
1327
1327
|
var n = r.length;
|
|
1328
1328
|
switch (r[0]) {
|
|
1329
1329
|
case "G":
|
|
@@ -1422,18 +1422,18 @@ var A = function() {
|
|
|
1422
1422
|
return t;
|
|
1423
1423
|
}, A.apply(this, arguments);
|
|
1424
1424
|
};
|
|
1425
|
-
var
|
|
1426
|
-
function
|
|
1425
|
+
var Si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1426
|
+
function Ni(e) {
|
|
1427
1427
|
if (e.length === 0)
|
|
1428
1428
|
throw new Error("Number skeleton cannot be empty");
|
|
1429
|
-
for (var t = e.split(
|
|
1429
|
+
for (var t = e.split(Si).filter(function(f) {
|
|
1430
1430
|
return f.length > 0;
|
|
1431
1431
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1432
1432
|
var o = i[n], a = o.split("/");
|
|
1433
1433
|
if (a.length === 0)
|
|
1434
1434
|
throw new Error("Invalid number skeleton");
|
|
1435
|
-
for (var s = a[0], l = a.slice(1),
|
|
1436
|
-
var d = u[
|
|
1435
|
+
for (var s = a[0], l = a.slice(1), c = 0, u = l; c < u.length; c++) {
|
|
1436
|
+
var d = u[c];
|
|
1437
1437
|
if (d.length === 0)
|
|
1438
1438
|
throw new Error("Invalid number skeleton");
|
|
1439
1439
|
}
|
|
@@ -1441,17 +1441,17 @@ function wi(e) {
|
|
|
1441
1441
|
}
|
|
1442
1442
|
return r;
|
|
1443
1443
|
}
|
|
1444
|
-
function
|
|
1444
|
+
function Ii(e) {
|
|
1445
1445
|
return e.replace(/^(.*?)-/, "");
|
|
1446
1446
|
}
|
|
1447
|
-
var
|
|
1448
|
-
function
|
|
1447
|
+
var kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rr = /^(@+)?(\+|#+)?[rs]?$/g, Bi = /(\*)(0+)|(#+)(0+)|(0+)/g, Ur = /^(0+)$/;
|
|
1448
|
+
function $t(e) {
|
|
1449
1449
|
var t = {};
|
|
1450
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1450
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rr, function(r, n, i) {
|
|
1451
1451
|
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)), "";
|
|
1452
1452
|
}), t;
|
|
1453
1453
|
}
|
|
1454
|
-
function
|
|
1454
|
+
function Gr(e) {
|
|
1455
1455
|
switch (e) {
|
|
1456
1456
|
case "sign-auto":
|
|
1457
1457
|
return {
|
|
@@ -1491,7 +1491,7 @@ function Ur(e) {
|
|
|
1491
1491
|
};
|
|
1492
1492
|
}
|
|
1493
1493
|
}
|
|
1494
|
-
function
|
|
1494
|
+
function Ai(e) {
|
|
1495
1495
|
var t;
|
|
1496
1496
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1497
1497
|
notation: "engineering"
|
|
@@ -1499,17 +1499,17 @@ function Ii(e) {
|
|
|
1499
1499
|
notation: "scientific"
|
|
1500
1500
|
}, e = e.slice(1)), t) {
|
|
1501
1501
|
var r = e.slice(0, 2);
|
|
1502
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1502
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ur.test(e))
|
|
1503
1503
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1504
1504
|
t.minimumIntegerDigits = e.length;
|
|
1505
1505
|
}
|
|
1506
1506
|
return t;
|
|
1507
1507
|
}
|
|
1508
|
-
function
|
|
1509
|
-
var t = {}, r =
|
|
1508
|
+
function jt(e) {
|
|
1509
|
+
var t = {}, r = Gr(e);
|
|
1510
1510
|
return r || t;
|
|
1511
1511
|
}
|
|
1512
|
-
function
|
|
1512
|
+
function Ti(e) {
|
|
1513
1513
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1514
1514
|
var i = n[r];
|
|
1515
1515
|
switch (i.stem) {
|
|
@@ -1533,7 +1533,7 @@ function Bi(e) {
|
|
|
1533
1533
|
continue;
|
|
1534
1534
|
case "measure-unit":
|
|
1535
1535
|
case "unit":
|
|
1536
|
-
t.style = "unit", t.unit =
|
|
1536
|
+
t.style = "unit", t.unit = Ii(i.options[0]);
|
|
1537
1537
|
continue;
|
|
1538
1538
|
case "compact-short":
|
|
1539
1539
|
case "K":
|
|
@@ -1544,13 +1544,13 @@ function Bi(e) {
|
|
|
1544
1544
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1545
1545
|
continue;
|
|
1546
1546
|
case "scientific":
|
|
1547
|
-
t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(l,
|
|
1548
|
-
return A(A({}, l),
|
|
1547
|
+
t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(l, c) {
|
|
1548
|
+
return A(A({}, l), jt(c));
|
|
1549
1549
|
}, {}));
|
|
1550
1550
|
continue;
|
|
1551
1551
|
case "engineering":
|
|
1552
|
-
t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(l,
|
|
1553
|
-
return A(A({}, l),
|
|
1552
|
+
t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(l, c) {
|
|
1553
|
+
return A(A({}, l), jt(c));
|
|
1554
1554
|
}, {}));
|
|
1555
1555
|
continue;
|
|
1556
1556
|
case "notation-simple":
|
|
@@ -1595,8 +1595,8 @@ function Bi(e) {
|
|
|
1595
1595
|
case "integer-width":
|
|
1596
1596
|
if (i.options.length > 1)
|
|
1597
1597
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1598
|
-
i.options[0].replace(
|
|
1599
|
-
if (
|
|
1598
|
+
i.options[0].replace(Bi, function(l, c, u, d, f, p) {
|
|
1599
|
+
if (c)
|
|
1600
1600
|
t.minimumIntegerDigits = u.length;
|
|
1601
1601
|
else {
|
|
1602
1602
|
if (d && f)
|
|
@@ -1608,32 +1608,32 @@ function Bi(e) {
|
|
|
1608
1608
|
});
|
|
1609
1609
|
continue;
|
|
1610
1610
|
}
|
|
1611
|
-
if (
|
|
1611
|
+
if (Ur.test(i.stem)) {
|
|
1612
1612
|
t.minimumIntegerDigits = i.stem.length;
|
|
1613
1613
|
continue;
|
|
1614
1614
|
}
|
|
1615
|
-
if (
|
|
1615
|
+
if (kt.test(i.stem)) {
|
|
1616
1616
|
if (i.options.length > 1)
|
|
1617
1617
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1618
|
-
i.stem.replace(
|
|
1619
|
-
return u === "*" ? t.minimumFractionDigits =
|
|
1618
|
+
i.stem.replace(kt, function(l, c, u, d, f, p) {
|
|
1619
|
+
return u === "*" ? t.minimumFractionDigits = c.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length), "";
|
|
1620
1620
|
});
|
|
1621
1621
|
var o = i.options[0];
|
|
1622
|
-
o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t),
|
|
1622
|
+
o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), $t(o)));
|
|
1623
1623
|
continue;
|
|
1624
1624
|
}
|
|
1625
|
-
if (
|
|
1626
|
-
t = A(A({}, t),
|
|
1625
|
+
if (Rr.test(i.stem)) {
|
|
1626
|
+
t = A(A({}, t), $t(i.stem));
|
|
1627
1627
|
continue;
|
|
1628
1628
|
}
|
|
1629
|
-
var a =
|
|
1629
|
+
var a = Gr(i.stem);
|
|
1630
1630
|
a && (t = A(A({}, t), a));
|
|
1631
|
-
var s =
|
|
1631
|
+
var s = Ai(i.stem);
|
|
1632
1632
|
s && (t = A(A({}, t), s));
|
|
1633
1633
|
}
|
|
1634
1634
|
return t;
|
|
1635
1635
|
}
|
|
1636
|
-
var
|
|
1636
|
+
var Ae = {
|
|
1637
1637
|
"001": [
|
|
1638
1638
|
"H",
|
|
1639
1639
|
"h"
|
|
@@ -3048,23 +3048,23 @@ var Be = {
|
|
|
3048
3048
|
"h"
|
|
3049
3049
|
]
|
|
3050
3050
|
};
|
|
3051
|
-
function
|
|
3051
|
+
function Pi(e, t) {
|
|
3052
3052
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3053
3053
|
var i = e.charAt(n);
|
|
3054
3054
|
if (i === "j") {
|
|
3055
3055
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3056
3056
|
o++, n++;
|
|
3057
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a",
|
|
3058
|
-
for ((
|
|
3057
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", c = Hi(t);
|
|
3058
|
+
for ((c == "H" || c == "k") && (s = 0); s-- > 0; )
|
|
3059
3059
|
r += l;
|
|
3060
3060
|
for (; a-- > 0; )
|
|
3061
|
-
r =
|
|
3061
|
+
r = c + r;
|
|
3062
3062
|
} else
|
|
3063
3063
|
i === "J" ? r += "H" : r += i;
|
|
3064
3064
|
}
|
|
3065
3065
|
return r;
|
|
3066
3066
|
}
|
|
3067
|
-
function
|
|
3067
|
+
function Hi(e) {
|
|
3068
3068
|
var t = e.hourCycle;
|
|
3069
3069
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3070
3070
|
e.hourCycles && // @ts-ignore
|
|
@@ -3083,23 +3083,23 @@ function Ti(e) {
|
|
|
3083
3083
|
}
|
|
3084
3084
|
var r = e.language, n;
|
|
3085
3085
|
r !== "root" && (n = e.maximize().region);
|
|
3086
|
-
var i =
|
|
3086
|
+
var i = Ae[n || ""] || Ae[r || ""] || Ae["".concat(r, "-001")] || Ae["001"];
|
|
3087
3087
|
return i[0];
|
|
3088
3088
|
}
|
|
3089
|
-
var
|
|
3090
|
-
function
|
|
3089
|
+
var rt, Mi = new RegExp("^".concat(Fr.source, "*")), Oi = new RegExp("".concat(Fr.source, "*$"));
|
|
3090
|
+
function w(e, t) {
|
|
3091
3091
|
return { start: e, end: t };
|
|
3092
3092
|
}
|
|
3093
|
-
var
|
|
3093
|
+
var Li = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ci = !!String.fromCodePoint, Fi = !!Object.fromEntries, Ri = !!String.prototype.codePointAt, Ui = !!String.prototype.trimStart, Gi = !!String.prototype.trimEnd, Di = !!Number.isSafeInteger, ki = Di ? Number.isSafeInteger : function(e) {
|
|
3094
3094
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3095
|
-
},
|
|
3095
|
+
}, gt = !0;
|
|
3096
3096
|
try {
|
|
3097
|
-
var
|
|
3098
|
-
|
|
3097
|
+
var $i = kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3098
|
+
gt = ((rt = $i.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
|
|
3099
3099
|
} catch {
|
|
3100
|
-
|
|
3100
|
+
gt = !1;
|
|
3101
3101
|
}
|
|
3102
|
-
var
|
|
3102
|
+
var Wt = Li ? (
|
|
3103
3103
|
// Native
|
|
3104
3104
|
function(t, r, n) {
|
|
3105
3105
|
return t.startsWith(r, n);
|
|
@@ -3109,7 +3109,7 @@ var jt = Mi ? (
|
|
|
3109
3109
|
function(t, r, n) {
|
|
3110
3110
|
return t.slice(n, n + r.length) === r;
|
|
3111
3111
|
}
|
|
3112
|
-
),
|
|
3112
|
+
), vt = Ci ? String.fromCodePoint : (
|
|
3113
3113
|
// IE11
|
|
3114
3114
|
function() {
|
|
3115
3115
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3121,9 +3121,9 @@ var jt = Mi ? (
|
|
|
3121
3121
|
}
|
|
3122
3122
|
return n;
|
|
3123
3123
|
}
|
|
3124
|
-
),
|
|
3124
|
+
), Vt = (
|
|
3125
3125
|
// native
|
|
3126
|
-
|
|
3126
|
+
Fi ? Object.fromEntries : (
|
|
3127
3127
|
// Ponyfill
|
|
3128
3128
|
function(t) {
|
|
3129
3129
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3133,7 +3133,7 @@ var jt = Mi ? (
|
|
|
3133
3133
|
return r;
|
|
3134
3134
|
}
|
|
3135
3135
|
)
|
|
3136
|
-
),
|
|
3136
|
+
), Dr = Ri ? (
|
|
3137
3137
|
// Native
|
|
3138
3138
|
function(t, r) {
|
|
3139
3139
|
return t.codePointAt(r);
|
|
@@ -3147,7 +3147,7 @@ var jt = Mi ? (
|
|
|
3147
3147
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3148
3148
|
}
|
|
3149
3149
|
}
|
|
3150
|
-
),
|
|
3150
|
+
), ji = Ui ? (
|
|
3151
3151
|
// Native
|
|
3152
3152
|
function(t) {
|
|
3153
3153
|
return t.trimStart();
|
|
@@ -3155,9 +3155,9 @@ var jt = Mi ? (
|
|
|
3155
3155
|
) : (
|
|
3156
3156
|
// Ponyfill
|
|
3157
3157
|
function(t) {
|
|
3158
|
-
return t.replace(
|
|
3158
|
+
return t.replace(Mi, "");
|
|
3159
3159
|
}
|
|
3160
|
-
),
|
|
3160
|
+
), Wi = Gi ? (
|
|
3161
3161
|
// Native
|
|
3162
3162
|
function(t) {
|
|
3163
3163
|
return t.trimEnd();
|
|
@@ -3165,32 +3165,32 @@ var jt = Mi ? (
|
|
|
3165
3165
|
) : (
|
|
3166
3166
|
// Ponyfill
|
|
3167
3167
|
function(t) {
|
|
3168
|
-
return t.replace(
|
|
3168
|
+
return t.replace(Oi, "");
|
|
3169
3169
|
}
|
|
3170
3170
|
);
|
|
3171
|
-
function
|
|
3171
|
+
function kr(e, t) {
|
|
3172
3172
|
return new RegExp(e, t);
|
|
3173
3173
|
}
|
|
3174
|
-
var
|
|
3175
|
-
if (
|
|
3176
|
-
var
|
|
3177
|
-
|
|
3174
|
+
var bt;
|
|
3175
|
+
if (gt) {
|
|
3176
|
+
var Xt = kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3177
|
+
bt = function(t, r) {
|
|
3178
3178
|
var n;
|
|
3179
|
-
|
|
3180
|
-
var i =
|
|
3179
|
+
Xt.lastIndex = r;
|
|
3180
|
+
var i = Xt.exec(t);
|
|
3181
3181
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3182
3182
|
};
|
|
3183
3183
|
} else
|
|
3184
|
-
|
|
3184
|
+
bt = function(t, r) {
|
|
3185
3185
|
for (var n = []; ; ) {
|
|
3186
|
-
var i =
|
|
3187
|
-
if (i === void 0 ||
|
|
3186
|
+
var i = Dr(t, r);
|
|
3187
|
+
if (i === void 0 || $r(i) || Zi(i))
|
|
3188
3188
|
break;
|
|
3189
3189
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3190
3190
|
}
|
|
3191
|
-
return
|
|
3191
|
+
return vt.apply(void 0, n);
|
|
3192
3192
|
};
|
|
3193
|
-
var
|
|
3193
|
+
var Vi = (
|
|
3194
3194
|
/** @class */
|
|
3195
3195
|
function() {
|
|
3196
3196
|
function e(t, r) {
|
|
@@ -3215,13 +3215,13 @@ var ji = (
|
|
|
3215
3215
|
var s = this.clonePosition();
|
|
3216
3216
|
this.bump(), i.push({
|
|
3217
3217
|
type: I.pound,
|
|
3218
|
-
location:
|
|
3218
|
+
location: w(s, this.clonePosition())
|
|
3219
3219
|
});
|
|
3220
3220
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3221
3221
|
if (n)
|
|
3222
3222
|
break;
|
|
3223
|
-
return this.error(_.UNMATCHED_CLOSING_TAG,
|
|
3224
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3223
|
+
return this.error(_.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
3224
|
+
} else if (o === 60 && !this.ignoreTag && yt(this.peek() || 0)) {
|
|
3225
3225
|
var a = this.parseTag(t, r);
|
|
3226
3226
|
if (a.err)
|
|
3227
3227
|
return a;
|
|
@@ -3244,7 +3244,7 @@ var ji = (
|
|
|
3244
3244
|
val: {
|
|
3245
3245
|
type: I.literal,
|
|
3246
3246
|
value: "<".concat(i, "/>"),
|
|
3247
|
-
location:
|
|
3247
|
+
location: w(n, this.clonePosition())
|
|
3248
3248
|
},
|
|
3249
3249
|
err: null
|
|
3250
3250
|
};
|
|
@@ -3254,25 +3254,25 @@ var ji = (
|
|
|
3254
3254
|
return o;
|
|
3255
3255
|
var a = o.val, s = this.clonePosition();
|
|
3256
3256
|
if (this.bumpIf("</")) {
|
|
3257
|
-
if (this.isEOF() || !
|
|
3258
|
-
return this.error(_.INVALID_TAG,
|
|
3259
|
-
var l = this.clonePosition(),
|
|
3260
|
-
return i !==
|
|
3257
|
+
if (this.isEOF() || !yt(this.char()))
|
|
3258
|
+
return this.error(_.INVALID_TAG, w(s, this.clonePosition()));
|
|
3259
|
+
var l = this.clonePosition(), c = this.parseTagName();
|
|
3260
|
+
return i !== c ? this.error(_.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3261
3261
|
val: {
|
|
3262
3262
|
type: I.tag,
|
|
3263
3263
|
value: i,
|
|
3264
3264
|
children: a,
|
|
3265
|
-
location:
|
|
3265
|
+
location: w(n, this.clonePosition())
|
|
3266
3266
|
},
|
|
3267
3267
|
err: null
|
|
3268
|
-
} : this.error(_.INVALID_TAG,
|
|
3268
|
+
} : this.error(_.INVALID_TAG, w(s, this.clonePosition())));
|
|
3269
3269
|
} else
|
|
3270
|
-
return this.error(_.UNCLOSED_TAG,
|
|
3270
|
+
return this.error(_.UNCLOSED_TAG, w(n, this.clonePosition()));
|
|
3271
3271
|
} else
|
|
3272
|
-
return this.error(_.INVALID_TAG,
|
|
3272
|
+
return this.error(_.INVALID_TAG, w(n, this.clonePosition()));
|
|
3273
3273
|
}, e.prototype.parseTagName = function() {
|
|
3274
3274
|
var t = this.offset();
|
|
3275
|
-
for (this.bump(); !this.isEOF() &&
|
|
3275
|
+
for (this.bump(); !this.isEOF() && zi(this.char()); )
|
|
3276
3276
|
this.bump();
|
|
3277
3277
|
return this.message.slice(t, this.offset());
|
|
3278
3278
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3294,14 +3294,14 @@ var ji = (
|
|
|
3294
3294
|
}
|
|
3295
3295
|
break;
|
|
3296
3296
|
}
|
|
3297
|
-
var l =
|
|
3297
|
+
var l = w(n, this.clonePosition());
|
|
3298
3298
|
return {
|
|
3299
3299
|
val: { type: I.literal, value: i, location: l },
|
|
3300
3300
|
err: null
|
|
3301
3301
|
};
|
|
3302
3302
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3303
3303
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3304
|
-
!
|
|
3304
|
+
!Xi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3305
3305
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3306
3306
|
if (this.isEOF() || this.char() !== 39)
|
|
3307
3307
|
return null;
|
|
@@ -3335,23 +3335,23 @@ var ji = (
|
|
|
3335
3335
|
r.push(n);
|
|
3336
3336
|
this.bump();
|
|
3337
3337
|
}
|
|
3338
|
-
return
|
|
3338
|
+
return vt.apply(void 0, r);
|
|
3339
3339
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3340
3340
|
if (this.isEOF())
|
|
3341
3341
|
return null;
|
|
3342
3342
|
var n = this.char();
|
|
3343
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3343
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), vt(n));
|
|
3344
3344
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3345
3345
|
var n = this.clonePosition();
|
|
3346
3346
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3347
|
-
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3347
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
|
|
3348
3348
|
if (this.char() === 125)
|
|
3349
|
-
return this.bump(), this.error(_.EMPTY_ARGUMENT,
|
|
3349
|
+
return this.bump(), this.error(_.EMPTY_ARGUMENT, w(n, this.clonePosition()));
|
|
3350
3350
|
var i = this.parseIdentifierIfPossible().value;
|
|
3351
3351
|
if (!i)
|
|
3352
|
-
return this.error(_.MALFORMED_ARGUMENT,
|
|
3352
|
+
return this.error(_.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3353
3353
|
if (this.bumpSpace(), this.isEOF())
|
|
3354
|
-
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3354
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
|
|
3355
3355
|
switch (this.char()) {
|
|
3356
3356
|
case 125:
|
|
3357
3357
|
return this.bump(), {
|
|
@@ -3359,63 +3359,63 @@ var ji = (
|
|
|
3359
3359
|
type: I.argument,
|
|
3360
3360
|
// value does not include the opening and closing braces.
|
|
3361
3361
|
value: i,
|
|
3362
|
-
location:
|
|
3362
|
+
location: w(n, this.clonePosition())
|
|
3363
3363
|
},
|
|
3364
3364
|
err: null
|
|
3365
3365
|
};
|
|
3366
3366
|
case 44:
|
|
3367
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3367
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3368
3368
|
default:
|
|
3369
|
-
return this.error(_.MALFORMED_ARGUMENT,
|
|
3369
|
+
return this.error(_.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3370
3370
|
}
|
|
3371
3371
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3372
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3372
|
+
var t = this.clonePosition(), r = this.offset(), n = bt(this.message, r), i = r + n.length;
|
|
3373
3373
|
this.bumpTo(i);
|
|
3374
|
-
var o = this.clonePosition(), a =
|
|
3374
|
+
var o = this.clonePosition(), a = w(t, o);
|
|
3375
3375
|
return { value: n, location: a };
|
|
3376
3376
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3377
3377
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3378
3378
|
switch (s) {
|
|
3379
3379
|
case "":
|
|
3380
|
-
return this.error(_.EXPECT_ARGUMENT_TYPE,
|
|
3380
|
+
return this.error(_.EXPECT_ARGUMENT_TYPE, w(a, l));
|
|
3381
3381
|
case "number":
|
|
3382
3382
|
case "date":
|
|
3383
3383
|
case "time": {
|
|
3384
3384
|
this.bumpSpace();
|
|
3385
|
-
var
|
|
3385
|
+
var c = null;
|
|
3386
3386
|
if (this.bumpIf(",")) {
|
|
3387
3387
|
this.bumpSpace();
|
|
3388
3388
|
var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3389
3389
|
if (d.err)
|
|
3390
3390
|
return d;
|
|
3391
|
-
var f =
|
|
3391
|
+
var f = Wi(d.val);
|
|
3392
3392
|
if (f.length === 0)
|
|
3393
|
-
return this.error(_.EXPECT_ARGUMENT_STYLE,
|
|
3394
|
-
var p =
|
|
3395
|
-
|
|
3393
|
+
return this.error(_.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
3394
|
+
var p = w(u, this.clonePosition());
|
|
3395
|
+
c = { style: f, styleLocation: p };
|
|
3396
3396
|
}
|
|
3397
3397
|
var g = this.tryParseArgumentClose(i);
|
|
3398
3398
|
if (g.err)
|
|
3399
3399
|
return g;
|
|
3400
|
-
var v =
|
|
3401
|
-
if (
|
|
3402
|
-
var
|
|
3400
|
+
var v = w(i, this.clonePosition());
|
|
3401
|
+
if (c && Wt(c?.style, "::", 0)) {
|
|
3402
|
+
var S = ji(c.style.slice(2));
|
|
3403
3403
|
if (s === "number") {
|
|
3404
|
-
var d = this.parseNumberSkeletonFromString(
|
|
3404
|
+
var d = this.parseNumberSkeletonFromString(S, c.styleLocation);
|
|
3405
3405
|
return d.err ? d : {
|
|
3406
3406
|
val: { type: I.number, value: n, location: v, style: d.val },
|
|
3407
3407
|
err: null
|
|
3408
3408
|
};
|
|
3409
3409
|
} else {
|
|
3410
|
-
if (
|
|
3410
|
+
if (S.length === 0)
|
|
3411
3411
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3412
|
-
var
|
|
3413
|
-
this.locale && (
|
|
3412
|
+
var x = S;
|
|
3413
|
+
this.locale && (x = Pi(S, this.locale));
|
|
3414
3414
|
var f = {
|
|
3415
|
-
type:
|
|
3416
|
-
pattern:
|
|
3417
|
-
location:
|
|
3418
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3415
|
+
type: ne.dateTime,
|
|
3416
|
+
pattern: x,
|
|
3417
|
+
location: c.styleLocation,
|
|
3418
|
+
parsedOptions: this.shouldParseSkeletons ? Ei(x) : {}
|
|
3419
3419
|
}, y = s === "date" ? I.date : I.time;
|
|
3420
3420
|
return {
|
|
3421
3421
|
val: { type: y, value: n, location: v, style: f },
|
|
@@ -3428,7 +3428,7 @@ var ji = (
|
|
|
3428
3428
|
type: s === "number" ? I.number : s === "date" ? I.date : I.time,
|
|
3429
3429
|
value: n,
|
|
3430
3430
|
location: v,
|
|
3431
|
-
style: (o =
|
|
3431
|
+
style: (o = c?.style) !== null && o !== void 0 ? o : null
|
|
3432
3432
|
},
|
|
3433
3433
|
err: null
|
|
3434
3434
|
};
|
|
@@ -3438,30 +3438,30 @@ var ji = (
|
|
|
3438
3438
|
case "select": {
|
|
3439
3439
|
var B = this.clonePosition();
|
|
3440
3440
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3441
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3441
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, w(B, Ce({}, B)));
|
|
3442
3442
|
this.bumpSpace();
|
|
3443
|
-
var
|
|
3444
|
-
if (s !== "select" &&
|
|
3443
|
+
var E = this.parseIdentifierIfPossible(), M = 0;
|
|
3444
|
+
if (s !== "select" && E.value === "offset") {
|
|
3445
3445
|
if (!this.bumpIf(":"))
|
|
3446
|
-
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3446
|
+
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
|
|
3447
3447
|
this.bumpSpace();
|
|
3448
3448
|
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3449
3449
|
if (d.err)
|
|
3450
3450
|
return d;
|
|
3451
|
-
this.bumpSpace(),
|
|
3451
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), M = d.val;
|
|
3452
3452
|
}
|
|
3453
|
-
var U = this.tryParsePluralOrSelectOptions(t, s, r,
|
|
3453
|
+
var U = this.tryParsePluralOrSelectOptions(t, s, r, E);
|
|
3454
3454
|
if (U.err)
|
|
3455
3455
|
return U;
|
|
3456
3456
|
var g = this.tryParseArgumentClose(i);
|
|
3457
3457
|
if (g.err)
|
|
3458
3458
|
return g;
|
|
3459
|
-
var he =
|
|
3459
|
+
var he = w(i, this.clonePosition());
|
|
3460
3460
|
return s === "select" ? {
|
|
3461
3461
|
val: {
|
|
3462
3462
|
type: I.select,
|
|
3463
3463
|
value: n,
|
|
3464
|
-
options:
|
|
3464
|
+
options: Vt(U.val),
|
|
3465
3465
|
location: he
|
|
3466
3466
|
},
|
|
3467
3467
|
err: null
|
|
@@ -3469,7 +3469,7 @@ var ji = (
|
|
|
3469
3469
|
val: {
|
|
3470
3470
|
type: I.plural,
|
|
3471
3471
|
value: n,
|
|
3472
|
-
options:
|
|
3472
|
+
options: Vt(U.val),
|
|
3473
3473
|
offset: M,
|
|
3474
3474
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3475
3475
|
location: he
|
|
@@ -3478,10 +3478,10 @@ var ji = (
|
|
|
3478
3478
|
};
|
|
3479
3479
|
}
|
|
3480
3480
|
default:
|
|
3481
|
-
return this.error(_.INVALID_ARGUMENT_TYPE,
|
|
3481
|
+
return this.error(_.INVALID_ARGUMENT_TYPE, w(a, l));
|
|
3482
3482
|
}
|
|
3483
3483
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3484
|
-
return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3484
|
+
return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3485
3485
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3486
3486
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3487
3487
|
var n = this.char();
|
|
@@ -3490,7 +3490,7 @@ var ji = (
|
|
|
3490
3490
|
this.bump();
|
|
3491
3491
|
var i = this.clonePosition();
|
|
3492
3492
|
if (!this.bumpUntil("'"))
|
|
3493
|
-
return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3493
|
+
return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
|
|
3494
3494
|
this.bump();
|
|
3495
3495
|
break;
|
|
3496
3496
|
}
|
|
@@ -3520,37 +3520,37 @@ var ji = (
|
|
|
3520
3520
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3521
3521
|
var n = [];
|
|
3522
3522
|
try {
|
|
3523
|
-
n =
|
|
3523
|
+
n = Ni(t);
|
|
3524
3524
|
} catch {
|
|
3525
3525
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3526
3526
|
}
|
|
3527
3527
|
return {
|
|
3528
3528
|
val: {
|
|
3529
|
-
type:
|
|
3529
|
+
type: ne.number,
|
|
3530
3530
|
tokens: n,
|
|
3531
3531
|
location: r,
|
|
3532
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3532
|
+
parsedOptions: this.shouldParseSkeletons ? Ti(n) : {}
|
|
3533
3533
|
},
|
|
3534
3534
|
err: null
|
|
3535
3535
|
};
|
|
3536
3536
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3537
|
-
for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(),
|
|
3538
|
-
if (
|
|
3537
|
+
for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), c = i.value, u = i.location; ; ) {
|
|
3538
|
+
if (c.length === 0) {
|
|
3539
3539
|
var d = this.clonePosition();
|
|
3540
3540
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3541
3541
|
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3542
3542
|
if (f.err)
|
|
3543
3543
|
return f;
|
|
3544
|
-
u =
|
|
3544
|
+
u = w(d, this.clonePosition()), c = this.message.slice(d.offset, this.offset());
|
|
3545
3545
|
} else
|
|
3546
3546
|
break;
|
|
3547
3547
|
}
|
|
3548
|
-
if (l.has(
|
|
3548
|
+
if (l.has(c))
|
|
3549
3549
|
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
|
|
3550
|
-
|
|
3550
|
+
c === "other" && (a = !0), this.bumpSpace();
|
|
3551
3551
|
var p = this.clonePosition();
|
|
3552
3552
|
if (!this.bumpIf("{"))
|
|
3553
|
-
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3553
|
+
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
|
|
3554
3554
|
var g = this.parseMessage(t + 1, r, n);
|
|
3555
3555
|
if (g.err)
|
|
3556
3556
|
return g;
|
|
@@ -3558,14 +3558,14 @@ var ji = (
|
|
|
3558
3558
|
if (v.err)
|
|
3559
3559
|
return v;
|
|
3560
3560
|
s.push([
|
|
3561
|
-
|
|
3561
|
+
c,
|
|
3562
3562
|
{
|
|
3563
3563
|
value: g.val,
|
|
3564
|
-
location:
|
|
3564
|
+
location: w(p, this.clonePosition())
|
|
3565
3565
|
}
|
|
3566
|
-
]), l.add(
|
|
3566
|
+
]), l.add(c), this.bumpSpace(), o = this.parseIdentifierIfPossible(), c = o.value, u = o.location;
|
|
3567
3567
|
}
|
|
3568
|
-
return s.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3568
|
+
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 };
|
|
3569
3569
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3570
3570
|
var n = 1, i = this.clonePosition();
|
|
3571
3571
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3576,8 +3576,8 @@ var ji = (
|
|
|
3576
3576
|
else
|
|
3577
3577
|
break;
|
|
3578
3578
|
}
|
|
3579
|
-
var l =
|
|
3580
|
-
return o ? (a *= n,
|
|
3579
|
+
var l = w(i, this.clonePosition());
|
|
3580
|
+
return o ? (a *= n, ki(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3581
3581
|
}, e.prototype.offset = function() {
|
|
3582
3582
|
return this.position.offset;
|
|
3583
3583
|
}, e.prototype.isEOF = function() {
|
|
@@ -3592,7 +3592,7 @@ var ji = (
|
|
|
3592
3592
|
var t = this.position.offset;
|
|
3593
3593
|
if (t >= this.message.length)
|
|
3594
3594
|
throw Error("out of bound");
|
|
3595
|
-
var r =
|
|
3595
|
+
var r = Dr(this.message, t);
|
|
3596
3596
|
if (r === void 0)
|
|
3597
3597
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3598
3598
|
return r;
|
|
@@ -3611,7 +3611,7 @@ var ji = (
|
|
|
3611
3611
|
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);
|
|
3612
3612
|
}
|
|
3613
3613
|
}, e.prototype.bumpIf = function(t) {
|
|
3614
|
-
if (
|
|
3614
|
+
if (Wt(this.message, t, this.offset())) {
|
|
3615
3615
|
for (var r = 0; r < t.length; r++)
|
|
3616
3616
|
this.bump();
|
|
3617
3617
|
return !0;
|
|
@@ -3633,7 +3633,7 @@ var ji = (
|
|
|
3633
3633
|
break;
|
|
3634
3634
|
}
|
|
3635
3635
|
}, e.prototype.bumpSpace = function() {
|
|
3636
|
-
for (; !this.isEOF() &&
|
|
3636
|
+
for (; !this.isEOF() && $r(this.char()); )
|
|
3637
3637
|
this.bump();
|
|
3638
3638
|
}, e.prototype.peek = function() {
|
|
3639
3639
|
if (this.isEOF())
|
|
@@ -3643,47 +3643,47 @@ var ji = (
|
|
|
3643
3643
|
}, e;
|
|
3644
3644
|
}()
|
|
3645
3645
|
);
|
|
3646
|
-
function
|
|
3646
|
+
function yt(e) {
|
|
3647
3647
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3648
3648
|
}
|
|
3649
|
-
function
|
|
3650
|
-
return
|
|
3649
|
+
function Xi(e) {
|
|
3650
|
+
return yt(e) || e === 47;
|
|
3651
3651
|
}
|
|
3652
|
-
function
|
|
3652
|
+
function zi(e) {
|
|
3653
3653
|
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;
|
|
3654
3654
|
}
|
|
3655
|
-
function
|
|
3655
|
+
function $r(e) {
|
|
3656
3656
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3657
3657
|
}
|
|
3658
|
-
function
|
|
3658
|
+
function Zi(e) {
|
|
3659
3659
|
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;
|
|
3660
3660
|
}
|
|
3661
|
-
function
|
|
3661
|
+
function _t(e) {
|
|
3662
3662
|
e.forEach(function(t) {
|
|
3663
|
-
if (delete t.location,
|
|
3663
|
+
if (delete t.location, Mr(t) || Or(t))
|
|
3664
3664
|
for (var r in t.options)
|
|
3665
|
-
delete t.options[r].location,
|
|
3665
|
+
delete t.options[r].location, _t(t.options[r].value);
|
|
3666
3666
|
else
|
|
3667
|
-
|
|
3667
|
+
Tr(t) && Cr(t.style) || (Pr(t) || Hr(t)) && pt(t.style) ? delete t.style.location : Lr(t) && _t(t.children);
|
|
3668
3668
|
});
|
|
3669
3669
|
}
|
|
3670
|
-
function
|
|
3671
|
-
t === void 0 && (t = {}), t =
|
|
3672
|
-
var r = new
|
|
3670
|
+
function Qi(e, t) {
|
|
3671
|
+
t === void 0 && (t = {}), t = Ce({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3672
|
+
var r = new Vi(e, t).parse();
|
|
3673
3673
|
if (r.err) {
|
|
3674
3674
|
var n = SyntaxError(_[r.err.kind]);
|
|
3675
3675
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3676
3676
|
}
|
|
3677
|
-
return t?.captureLocation ||
|
|
3677
|
+
return t?.captureLocation || _t(r.val), r.val;
|
|
3678
3678
|
}
|
|
3679
|
-
var
|
|
3679
|
+
var ie;
|
|
3680
3680
|
(function(e) {
|
|
3681
3681
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3682
|
-
})(
|
|
3683
|
-
var
|
|
3682
|
+
})(ie || (ie = {}));
|
|
3683
|
+
var je = (
|
|
3684
3684
|
/** @class */
|
|
3685
3685
|
function(e) {
|
|
3686
|
-
|
|
3686
|
+
$e(t, e);
|
|
3687
3687
|
function t(r, n, i) {
|
|
3688
3688
|
var o = e.call(this, r) || this;
|
|
3689
3689
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3692,64 +3692,64 @@ var $e = (
|
|
|
3692
3692
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3693
3693
|
}, t;
|
|
3694
3694
|
}(Error)
|
|
3695
|
-
),
|
|
3695
|
+
), zt = (
|
|
3696
3696
|
/** @class */
|
|
3697
3697
|
function(e) {
|
|
3698
|
-
|
|
3698
|
+
$e(t, e);
|
|
3699
3699
|
function t(r, n, i, o) {
|
|
3700
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3700
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
|
|
3701
3701
|
}
|
|
3702
3702
|
return t;
|
|
3703
|
-
}(
|
|
3704
|
-
),
|
|
3703
|
+
}(je)
|
|
3704
|
+
), Yi = (
|
|
3705
3705
|
/** @class */
|
|
3706
3706
|
function(e) {
|
|
3707
|
-
|
|
3707
|
+
$e(t, e);
|
|
3708
3708
|
function t(r, n, i) {
|
|
3709
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3709
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
|
|
3710
3710
|
}
|
|
3711
3711
|
return t;
|
|
3712
|
-
}(
|
|
3713
|
-
),
|
|
3712
|
+
}(je)
|
|
3713
|
+
), Ji = (
|
|
3714
3714
|
/** @class */
|
|
3715
3715
|
function(e) {
|
|
3716
|
-
|
|
3716
|
+
$e(t, e);
|
|
3717
3717
|
function t(r, n) {
|
|
3718
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3718
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
|
|
3719
3719
|
}
|
|
3720
3720
|
return t;
|
|
3721
|
-
}(
|
|
3721
|
+
}(je)
|
|
3722
3722
|
), L;
|
|
3723
3723
|
(function(e) {
|
|
3724
3724
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3725
3725
|
})(L || (L = {}));
|
|
3726
|
-
function
|
|
3726
|
+
function qi(e) {
|
|
3727
3727
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3728
3728
|
var n = t[t.length - 1];
|
|
3729
3729
|
return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
|
|
3730
3730
|
}, []);
|
|
3731
3731
|
}
|
|
3732
|
-
function
|
|
3732
|
+
function Ki(e) {
|
|
3733
3733
|
return typeof e == "function";
|
|
3734
3734
|
}
|
|
3735
|
-
function
|
|
3736
|
-
if (e.length === 1 &&
|
|
3735
|
+
function Me(e, t, r, n, i, o, a) {
|
|
3736
|
+
if (e.length === 1 && Dt(e[0]))
|
|
3737
3737
|
return [
|
|
3738
3738
|
{
|
|
3739
3739
|
type: L.literal,
|
|
3740
3740
|
value: e[0].value
|
|
3741
3741
|
}
|
|
3742
3742
|
];
|
|
3743
|
-
for (var s = [], l = 0,
|
|
3744
|
-
var u =
|
|
3745
|
-
if (
|
|
3743
|
+
for (var s = [], l = 0, c = e; l < c.length; l++) {
|
|
3744
|
+
var u = c[l];
|
|
3745
|
+
if (Dt(u)) {
|
|
3746
3746
|
s.push({
|
|
3747
3747
|
type: L.literal,
|
|
3748
3748
|
value: u.value
|
|
3749
3749
|
});
|
|
3750
3750
|
continue;
|
|
3751
3751
|
}
|
|
3752
|
-
if (
|
|
3752
|
+
if (wi(u)) {
|
|
3753
3753
|
typeof o == "number" && s.push({
|
|
3754
3754
|
type: L.literal,
|
|
3755
3755
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3758,44 +3758,44 @@ function He(e, t, r, n, i, o, a) {
|
|
|
3758
3758
|
}
|
|
3759
3759
|
var d = u.value;
|
|
3760
3760
|
if (!(i && d in i))
|
|
3761
|
-
throw new
|
|
3761
|
+
throw new Ji(d, a);
|
|
3762
3762
|
var f = i[d];
|
|
3763
|
-
if (
|
|
3763
|
+
if (_i(u)) {
|
|
3764
3764
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3765
3765
|
type: typeof f == "string" ? L.literal : L.object,
|
|
3766
3766
|
value: f
|
|
3767
3767
|
});
|
|
3768
3768
|
continue;
|
|
3769
3769
|
}
|
|
3770
|
-
if (
|
|
3771
|
-
var p = typeof u.style == "string" ? n.date[u.style] :
|
|
3770
|
+
if (Pr(u)) {
|
|
3771
|
+
var p = typeof u.style == "string" ? n.date[u.style] : pt(u.style) ? u.style.parsedOptions : void 0;
|
|
3772
3772
|
s.push({
|
|
3773
3773
|
type: L.literal,
|
|
3774
3774
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3775
3775
|
});
|
|
3776
3776
|
continue;
|
|
3777
3777
|
}
|
|
3778
|
-
if (
|
|
3779
|
-
var p = typeof u.style == "string" ? n.time[u.style] :
|
|
3778
|
+
if (Hr(u)) {
|
|
3779
|
+
var p = typeof u.style == "string" ? n.time[u.style] : pt(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3780
3780
|
s.push({
|
|
3781
3781
|
type: L.literal,
|
|
3782
3782
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3783
3783
|
});
|
|
3784
3784
|
continue;
|
|
3785
3785
|
}
|
|
3786
|
-
if (
|
|
3787
|
-
var p = typeof u.style == "string" ? n.number[u.style] :
|
|
3786
|
+
if (Tr(u)) {
|
|
3787
|
+
var p = typeof u.style == "string" ? n.number[u.style] : Cr(u.style) ? u.style.parsedOptions : void 0;
|
|
3788
3788
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3789
3789
|
type: L.literal,
|
|
3790
3790
|
value: r.getNumberFormat(t, p).format(f)
|
|
3791
3791
|
});
|
|
3792
3792
|
continue;
|
|
3793
3793
|
}
|
|
3794
|
-
if (
|
|
3795
|
-
var g = u.children, v = u.value,
|
|
3796
|
-
if (!
|
|
3797
|
-
throw new
|
|
3798
|
-
var
|
|
3794
|
+
if (Lr(u)) {
|
|
3795
|
+
var g = u.children, v = u.value, S = i[v];
|
|
3796
|
+
if (!Ki(S))
|
|
3797
|
+
throw new Yi(v, "function", a);
|
|
3798
|
+
var x = Me(g, t, r, n, i, o), y = S(x.map(function(M) {
|
|
3799
3799
|
return M.value;
|
|
3800
3800
|
}));
|
|
3801
3801
|
Array.isArray(y) || (y = [y]), s.push.apply(s, y.map(function(M) {
|
|
@@ -3805,42 +3805,42 @@ function He(e, t, r, n, i, o, a) {
|
|
|
3805
3805
|
};
|
|
3806
3806
|
}));
|
|
3807
3807
|
}
|
|
3808
|
-
if (
|
|
3808
|
+
if (Mr(u)) {
|
|
3809
3809
|
var B = u.options[f] || u.options.other;
|
|
3810
3810
|
if (!B)
|
|
3811
|
-
throw new
|
|
3812
|
-
s.push.apply(s,
|
|
3811
|
+
throw new zt(u.value, f, Object.keys(u.options), a);
|
|
3812
|
+
s.push.apply(s, Me(B.value, t, r, n, i));
|
|
3813
3813
|
continue;
|
|
3814
3814
|
}
|
|
3815
|
-
if (
|
|
3815
|
+
if (Or(u)) {
|
|
3816
3816
|
var B = u.options["=".concat(f)];
|
|
3817
3817
|
if (!B) {
|
|
3818
3818
|
if (!Intl.PluralRules)
|
|
3819
|
-
throw new
|
|
3819
|
+
throw new je(`Intl.PluralRules is not available in this environment.
|
|
3820
3820
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3821
|
-
`,
|
|
3822
|
-
var
|
|
3823
|
-
B = u.options[
|
|
3821
|
+
`, ie.MISSING_INTL_API, a);
|
|
3822
|
+
var E = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
|
|
3823
|
+
B = u.options[E] || u.options.other;
|
|
3824
3824
|
}
|
|
3825
3825
|
if (!B)
|
|
3826
|
-
throw new
|
|
3827
|
-
s.push.apply(s,
|
|
3826
|
+
throw new zt(u.value, f, Object.keys(u.options), a);
|
|
3827
|
+
s.push.apply(s, Me(B.value, t, r, n, i, f - (u.offset || 0)));
|
|
3828
3828
|
continue;
|
|
3829
3829
|
}
|
|
3830
3830
|
}
|
|
3831
|
-
return
|
|
3831
|
+
return qi(s);
|
|
3832
3832
|
}
|
|
3833
|
-
function
|
|
3833
|
+
function eo(e, t) {
|
|
3834
3834
|
return t ? k(k(k({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3835
3835
|
return r[n] = k(k({}, e[n]), t[n] || {}), r;
|
|
3836
3836
|
}, {})) : e;
|
|
3837
3837
|
}
|
|
3838
|
-
function
|
|
3838
|
+
function to(e, t) {
|
|
3839
3839
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3840
|
-
return r[n] =
|
|
3840
|
+
return r[n] = eo(e[n], t[n]), r;
|
|
3841
3841
|
}, k({}, e)) : e;
|
|
3842
3842
|
}
|
|
3843
|
-
function
|
|
3843
|
+
function nt(e) {
|
|
3844
3844
|
return {
|
|
3845
3845
|
create: function() {
|
|
3846
3846
|
return {
|
|
@@ -3854,39 +3854,39 @@ function rt(e) {
|
|
|
3854
3854
|
}
|
|
3855
3855
|
};
|
|
3856
3856
|
}
|
|
3857
|
-
function
|
|
3857
|
+
function ro(e) {
|
|
3858
3858
|
return e === void 0 && (e = {
|
|
3859
3859
|
number: {},
|
|
3860
3860
|
dateTime: {},
|
|
3861
3861
|
pluralRules: {}
|
|
3862
3862
|
}), {
|
|
3863
|
-
getNumberFormat:
|
|
3863
|
+
getNumberFormat: et(function() {
|
|
3864
3864
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3865
3865
|
r[n] = arguments[n];
|
|
3866
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3866
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ke([void 0], r, !1)))();
|
|
3867
3867
|
}, {
|
|
3868
|
-
cache:
|
|
3869
|
-
strategy:
|
|
3868
|
+
cache: nt(e.number),
|
|
3869
|
+
strategy: tt.variadic
|
|
3870
3870
|
}),
|
|
3871
|
-
getDateTimeFormat:
|
|
3871
|
+
getDateTimeFormat: et(function() {
|
|
3872
3872
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3873
3873
|
r[n] = arguments[n];
|
|
3874
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3874
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ke([void 0], r, !1)))();
|
|
3875
3875
|
}, {
|
|
3876
|
-
cache:
|
|
3877
|
-
strategy:
|
|
3876
|
+
cache: nt(e.dateTime),
|
|
3877
|
+
strategy: tt.variadic
|
|
3878
3878
|
}),
|
|
3879
|
-
getPluralRules:
|
|
3879
|
+
getPluralRules: et(function() {
|
|
3880
3880
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3881
3881
|
r[n] = arguments[n];
|
|
3882
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3882
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ke([void 0], r, !1)))();
|
|
3883
3883
|
}, {
|
|
3884
|
-
cache:
|
|
3885
|
-
strategy:
|
|
3884
|
+
cache: nt(e.pluralRules),
|
|
3885
|
+
strategy: tt.variadic
|
|
3886
3886
|
})
|
|
3887
3887
|
};
|
|
3888
3888
|
}
|
|
3889
|
-
var
|
|
3889
|
+
var no = (
|
|
3890
3890
|
/** @class */
|
|
3891
3891
|
function() {
|
|
3892
3892
|
function e(t, r, n, i) {
|
|
@@ -3897,15 +3897,15 @@ var to = (
|
|
|
3897
3897
|
dateTime: {},
|
|
3898
3898
|
pluralRules: {}
|
|
3899
3899
|
}, this.format = function(l) {
|
|
3900
|
-
var
|
|
3901
|
-
if (
|
|
3902
|
-
return
|
|
3903
|
-
var u =
|
|
3900
|
+
var c = o.formatToParts(l);
|
|
3901
|
+
if (c.length === 1)
|
|
3902
|
+
return c[0].value;
|
|
3903
|
+
var u = c.reduce(function(d, f) {
|
|
3904
3904
|
return !d.length || f.type !== L.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
|
|
3905
3905
|
}, []);
|
|
3906
3906
|
return u.length <= 1 ? u[0] || "" : u;
|
|
3907
3907
|
}, this.formatToParts = function(l) {
|
|
3908
|
-
return
|
|
3908
|
+
return Me(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3909
3909
|
}, this.resolvedOptions = function() {
|
|
3910
3910
|
var l;
|
|
3911
3911
|
return {
|
|
@@ -3918,13 +3918,13 @@ var to = (
|
|
|
3918
3918
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3919
3919
|
var a = i || {};
|
|
3920
3920
|
a.formatters;
|
|
3921
|
-
var s =
|
|
3921
|
+
var s = fi(a, ["formatters"]);
|
|
3922
3922
|
this.ast = e.__parse(t, k(k({}, s), { locale: this.resolvedLocale }));
|
|
3923
3923
|
} else
|
|
3924
3924
|
this.ast = t;
|
|
3925
3925
|
if (!Array.isArray(this.ast))
|
|
3926
3926
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3927
|
-
this.formats =
|
|
3927
|
+
this.formats = to(e.formats, n), this.formatters = i && i.formatters || ro(this.formatterCache);
|
|
3928
3928
|
}
|
|
3929
3929
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3930
3930
|
get: function() {
|
|
@@ -3937,7 +3937,7 @@ var to = (
|
|
|
3937
3937
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3938
3938
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3939
3939
|
}
|
|
3940
|
-
}, e.__parse =
|
|
3940
|
+
}, e.__parse = Qi, e.formats = {
|
|
3941
3941
|
number: {
|
|
3942
3942
|
integer: {
|
|
3943
3943
|
maximumFractionDigits: 0
|
|
@@ -3998,7 +3998,7 @@ var to = (
|
|
|
3998
3998
|
}, e;
|
|
3999
3999
|
}()
|
|
4000
4000
|
);
|
|
4001
|
-
function
|
|
4001
|
+
function io(e, t) {
|
|
4002
4002
|
if (t == null)
|
|
4003
4003
|
return;
|
|
4004
4004
|
if (t in e)
|
|
@@ -4019,92 +4019,92 @@ function ro(e, t) {
|
|
|
4019
4019
|
n = void 0;
|
|
4020
4020
|
return n;
|
|
4021
4021
|
}
|
|
4022
|
-
const X = {},
|
|
4022
|
+
const X = {}, oo = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), jr = (e, t) => {
|
|
4023
4023
|
if (t == null)
|
|
4024
4024
|
return;
|
|
4025
4025
|
if (t in X && e in X[t])
|
|
4026
4026
|
return X[t][e];
|
|
4027
|
-
const r =
|
|
4027
|
+
const r = We(t);
|
|
4028
4028
|
for (let n = 0; n < r.length; n++) {
|
|
4029
|
-
const i = r[n], o =
|
|
4029
|
+
const i = r[n], o = so(i, e);
|
|
4030
4030
|
if (o)
|
|
4031
|
-
return
|
|
4031
|
+
return oo(e, t, o);
|
|
4032
4032
|
}
|
|
4033
4033
|
};
|
|
4034
|
-
let
|
|
4035
|
-
const Ee =
|
|
4036
|
-
function
|
|
4037
|
-
return
|
|
4034
|
+
let St;
|
|
4035
|
+
const Ee = ke({});
|
|
4036
|
+
function ao(e) {
|
|
4037
|
+
return St[e] || null;
|
|
4038
4038
|
}
|
|
4039
|
-
function
|
|
4040
|
-
return e in
|
|
4039
|
+
function Wr(e) {
|
|
4040
|
+
return e in St;
|
|
4041
4041
|
}
|
|
4042
|
-
function
|
|
4043
|
-
if (!
|
|
4042
|
+
function so(e, t) {
|
|
4043
|
+
if (!Wr(e))
|
|
4044
4044
|
return null;
|
|
4045
|
-
const r =
|
|
4046
|
-
return
|
|
4045
|
+
const r = ao(e);
|
|
4046
|
+
return io(r, t);
|
|
4047
4047
|
}
|
|
4048
|
-
function
|
|
4048
|
+
function lo(e) {
|
|
4049
4049
|
if (e == null)
|
|
4050
4050
|
return;
|
|
4051
|
-
const t =
|
|
4051
|
+
const t = We(e);
|
|
4052
4052
|
for (let r = 0; r < t.length; r++) {
|
|
4053
4053
|
const n = t[r];
|
|
4054
|
-
if (
|
|
4054
|
+
if (Wr(n))
|
|
4055
4055
|
return n;
|
|
4056
4056
|
}
|
|
4057
4057
|
}
|
|
4058
|
-
function
|
|
4059
|
-
delete X[e], Ee.update((r) => (r[e] =
|
|
4058
|
+
function Vr(e, ...t) {
|
|
4059
|
+
delete X[e], Ee.update((r) => (r[e] = hi.all([r[e] || {}, ...t]), r));
|
|
4060
4060
|
}
|
|
4061
|
-
|
|
4061
|
+
le(
|
|
4062
4062
|
[Ee],
|
|
4063
4063
|
([e]) => Object.keys(e)
|
|
4064
4064
|
);
|
|
4065
|
-
Ee.subscribe((e) =>
|
|
4066
|
-
const
|
|
4067
|
-
function
|
|
4068
|
-
|
|
4065
|
+
Ee.subscribe((e) => St = e);
|
|
4066
|
+
const Oe = {};
|
|
4067
|
+
function uo(e, t) {
|
|
4068
|
+
Oe[e].delete(t), Oe[e].size === 0 && delete Oe[e];
|
|
4069
4069
|
}
|
|
4070
|
-
function
|
|
4071
|
-
return
|
|
4070
|
+
function Xr(e) {
|
|
4071
|
+
return Oe[e];
|
|
4072
4072
|
}
|
|
4073
|
-
function
|
|
4074
|
-
return
|
|
4075
|
-
const r =
|
|
4073
|
+
function co(e) {
|
|
4074
|
+
return We(e).map((t) => {
|
|
4075
|
+
const r = Xr(t);
|
|
4076
4076
|
return [t, r ? [...r] : []];
|
|
4077
4077
|
}).filter(([, t]) => t.length > 0);
|
|
4078
4078
|
}
|
|
4079
|
-
function
|
|
4080
|
-
return e == null ? !1 :
|
|
4079
|
+
function wt(e) {
|
|
4080
|
+
return e == null ? !1 : We(e).some(
|
|
4081
4081
|
(t) => {
|
|
4082
4082
|
var r;
|
|
4083
|
-
return (r =
|
|
4083
|
+
return (r = Xr(t)) == null ? void 0 : r.size;
|
|
4084
4084
|
}
|
|
4085
4085
|
);
|
|
4086
4086
|
}
|
|
4087
|
-
function
|
|
4087
|
+
function ho(e, t) {
|
|
4088
4088
|
return Promise.all(
|
|
4089
|
-
t.map((n) => (
|
|
4090
|
-
).then((n) =>
|
|
4091
|
-
}
|
|
4092
|
-
const
|
|
4093
|
-
function
|
|
4094
|
-
if (!
|
|
4095
|
-
return e in
|
|
4096
|
-
const t =
|
|
4097
|
-
return
|
|
4089
|
+
t.map((n) => (uo(e, n), n().then((i) => i.default || i)))
|
|
4090
|
+
).then((n) => Vr(e, ...n));
|
|
4091
|
+
}
|
|
4092
|
+
const ge = {};
|
|
4093
|
+
function zr(e) {
|
|
4094
|
+
if (!wt(e))
|
|
4095
|
+
return e in ge ? ge[e] : Promise.resolve();
|
|
4096
|
+
const t = co(e);
|
|
4097
|
+
return ge[e] = Promise.all(
|
|
4098
4098
|
t.map(
|
|
4099
|
-
([r, n]) =>
|
|
4099
|
+
([r, n]) => ho(r, n)
|
|
4100
4100
|
)
|
|
4101
4101
|
).then(() => {
|
|
4102
|
-
if (
|
|
4103
|
-
return
|
|
4104
|
-
delete
|
|
4105
|
-
}),
|
|
4102
|
+
if (wt(e))
|
|
4103
|
+
return zr(e);
|
|
4104
|
+
delete ge[e];
|
|
4105
|
+
}), ge[e];
|
|
4106
4106
|
}
|
|
4107
|
-
const
|
|
4107
|
+
const fo = {
|
|
4108
4108
|
number: {
|
|
4109
4109
|
scientific: { notation: "scientific" },
|
|
4110
4110
|
engineering: { notation: "engineering" },
|
|
@@ -4133,150 +4133,150 @@ const ho = {
|
|
|
4133
4133
|
timeZoneName: "short"
|
|
4134
4134
|
}
|
|
4135
4135
|
}
|
|
4136
|
-
},
|
|
4136
|
+
}, mo = {
|
|
4137
4137
|
fallbackLocale: null,
|
|
4138
4138
|
loadingDelay: 200,
|
|
4139
|
-
formats:
|
|
4139
|
+
formats: fo,
|
|
4140
4140
|
warnOnMissingMessages: !0,
|
|
4141
4141
|
handleMissingMessage: void 0,
|
|
4142
4142
|
ignoreTag: !0
|
|
4143
|
-
},
|
|
4144
|
-
function
|
|
4145
|
-
return
|
|
4143
|
+
}, po = mo;
|
|
4144
|
+
function oe() {
|
|
4145
|
+
return po;
|
|
4146
4146
|
}
|
|
4147
|
-
const
|
|
4148
|
-
var
|
|
4147
|
+
const it = ke(!1);
|
|
4148
|
+
var go = Object.defineProperty, vo = Object.defineProperties, bo = Object.getOwnPropertyDescriptors, Zt = Object.getOwnPropertySymbols, yo = Object.prototype.hasOwnProperty, _o = Object.prototype.propertyIsEnumerable, Qt = (e, t, r) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wo = (e, t) => {
|
|
4149
4149
|
for (var r in t || (t = {}))
|
|
4150
|
-
|
|
4151
|
-
if (
|
|
4152
|
-
for (var r of
|
|
4153
|
-
|
|
4150
|
+
yo.call(t, r) && Qt(e, r, t[r]);
|
|
4151
|
+
if (Zt)
|
|
4152
|
+
for (var r of Zt(t))
|
|
4153
|
+
_o.call(t, r) && Qt(e, r, t[r]);
|
|
4154
4154
|
return e;
|
|
4155
|
-
},
|
|
4155
|
+
}, xo = (e, t) => vo(e, bo(t));
|
|
4156
4156
|
let xt;
|
|
4157
|
-
const
|
|
4158
|
-
function
|
|
4157
|
+
const Fe = ke(null);
|
|
4158
|
+
function Yt(e) {
|
|
4159
4159
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4160
4160
|
}
|
|
4161
|
-
function
|
|
4162
|
-
const r =
|
|
4163
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4161
|
+
function We(e, t = oe().fallbackLocale) {
|
|
4162
|
+
const r = Yt(e);
|
|
4163
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Yt(t)])] : r;
|
|
4164
4164
|
}
|
|
4165
4165
|
function Q() {
|
|
4166
4166
|
return xt ?? void 0;
|
|
4167
4167
|
}
|
|
4168
|
-
|
|
4168
|
+
Fe.subscribe((e) => {
|
|
4169
4169
|
xt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4170
4170
|
});
|
|
4171
|
-
const
|
|
4172
|
-
if (e &&
|
|
4173
|
-
const { loadingDelay: t } =
|
|
4171
|
+
const Eo = (e) => {
|
|
4172
|
+
if (e && lo(e) && wt(e)) {
|
|
4173
|
+
const { loadingDelay: t } = oe();
|
|
4174
4174
|
let r;
|
|
4175
4175
|
return typeof window < "u" && Q() != null && t ? r = window.setTimeout(
|
|
4176
|
-
() =>
|
|
4176
|
+
() => it.set(!0),
|
|
4177
4177
|
t
|
|
4178
|
-
) :
|
|
4179
|
-
|
|
4178
|
+
) : it.set(!0), zr(e).then(() => {
|
|
4179
|
+
Fe.set(e);
|
|
4180
4180
|
}).finally(() => {
|
|
4181
|
-
clearTimeout(r),
|
|
4181
|
+
clearTimeout(r), it.set(!1);
|
|
4182
4182
|
});
|
|
4183
4183
|
}
|
|
4184
|
-
return
|
|
4185
|
-
},
|
|
4186
|
-
set:
|
|
4187
|
-
}),
|
|
4184
|
+
return Fe.set(e);
|
|
4185
|
+
}, ue = xo(wo({}, Fe), {
|
|
4186
|
+
set: Eo
|
|
4187
|
+
}), Ve = (e) => {
|
|
4188
4188
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4189
4189
|
return (n) => {
|
|
4190
4190
|
const i = JSON.stringify(n);
|
|
4191
4191
|
return i in t ? t[i] : t[i] = e(n);
|
|
4192
4192
|
};
|
|
4193
4193
|
};
|
|
4194
|
-
var
|
|
4194
|
+
var So = Object.defineProperty, Re = Object.getOwnPropertySymbols, Zr = Object.prototype.hasOwnProperty, Qr = Object.prototype.propertyIsEnumerable, Jt = (e, t, r) => t in e ? So(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Nt = (e, t) => {
|
|
4195
4195
|
for (var r in t || (t = {}))
|
|
4196
|
-
|
|
4197
|
-
if (
|
|
4198
|
-
for (var r of
|
|
4199
|
-
|
|
4196
|
+
Zr.call(t, r) && Jt(e, r, t[r]);
|
|
4197
|
+
if (Re)
|
|
4198
|
+
for (var r of Re(t))
|
|
4199
|
+
Qr.call(t, r) && Jt(e, r, t[r]);
|
|
4200
4200
|
return e;
|
|
4201
|
-
},
|
|
4201
|
+
}, ce = (e, t) => {
|
|
4202
4202
|
var r = {};
|
|
4203
4203
|
for (var n in e)
|
|
4204
|
-
|
|
4205
|
-
if (e != null &&
|
|
4206
|
-
for (var n of
|
|
4207
|
-
t.indexOf(n) < 0 &&
|
|
4204
|
+
Zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4205
|
+
if (e != null && Re)
|
|
4206
|
+
for (var n of Re(e))
|
|
4207
|
+
t.indexOf(n) < 0 && Qr.call(e, n) && (r[n] = e[n]);
|
|
4208
4208
|
return r;
|
|
4209
4209
|
};
|
|
4210
|
-
const
|
|
4211
|
-
const { formats: r } =
|
|
4210
|
+
const we = (e, t) => {
|
|
4211
|
+
const { formats: r } = oe();
|
|
4212
4212
|
if (e in r && t in r[e])
|
|
4213
4213
|
return r[e][t];
|
|
4214
4214
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4215
|
-
},
|
|
4215
|
+
}, No = Ve(
|
|
4216
4216
|
(e) => {
|
|
4217
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4217
|
+
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
|
4218
4218
|
if (r == null)
|
|
4219
4219
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4220
|
-
return n && (i =
|
|
4220
|
+
return n && (i = we("number", n)), new Intl.NumberFormat(r, i);
|
|
4221
4221
|
}
|
|
4222
|
-
),
|
|
4222
|
+
), Io = Ve(
|
|
4223
4223
|
(e) => {
|
|
4224
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4224
|
+
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
|
4225
4225
|
if (r == null)
|
|
4226
4226
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4227
|
-
return n ? i =
|
|
4227
|
+
return n ? i = we("date", n) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4228
4228
|
}
|
|
4229
|
-
),
|
|
4229
|
+
), Bo = Ve(
|
|
4230
4230
|
(e) => {
|
|
4231
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4231
|
+
var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
|
|
4232
4232
|
if (r == null)
|
|
4233
4233
|
throw new Error(
|
|
4234
4234
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4235
4235
|
);
|
|
4236
|
-
return n ? i =
|
|
4236
|
+
return n ? i = we("time", n) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4237
4237
|
}
|
|
4238
|
-
),
|
|
4238
|
+
), Ao = (e = {}) => {
|
|
4239
4239
|
var t = e, {
|
|
4240
4240
|
locale: r = Q()
|
|
4241
|
-
} = t, n =
|
|
4241
|
+
} = t, n = ce(t, [
|
|
4242
4242
|
"locale"
|
|
4243
4243
|
]);
|
|
4244
|
-
return
|
|
4245
|
-
},
|
|
4244
|
+
return No(Nt({ locale: r }, n));
|
|
4245
|
+
}, To = (e = {}) => {
|
|
4246
4246
|
var t = e, {
|
|
4247
4247
|
locale: r = Q()
|
|
4248
|
-
} = t, n =
|
|
4248
|
+
} = t, n = ce(t, [
|
|
4249
4249
|
"locale"
|
|
4250
4250
|
]);
|
|
4251
|
-
return
|
|
4252
|
-
},
|
|
4251
|
+
return Io(Nt({ locale: r }, n));
|
|
4252
|
+
}, Po = (e = {}) => {
|
|
4253
4253
|
var t = e, {
|
|
4254
4254
|
locale: r = Q()
|
|
4255
|
-
} = t, n =
|
|
4255
|
+
} = t, n = ce(t, [
|
|
4256
4256
|
"locale"
|
|
4257
4257
|
]);
|
|
4258
|
-
return
|
|
4259
|
-
},
|
|
4258
|
+
return Bo(Nt({ locale: r }, n));
|
|
4259
|
+
}, Ho = Ve(
|
|
4260
4260
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4261
|
-
(e, t = Q()) => new
|
|
4262
|
-
ignoreTag:
|
|
4261
|
+
(e, t = Q()) => new no(e, t, oe().formats, {
|
|
4262
|
+
ignoreTag: oe().ignoreTag
|
|
4263
4263
|
})
|
|
4264
|
-
),
|
|
4264
|
+
), Mo = (e, t = {}) => {
|
|
4265
4265
|
var r, n, i, o;
|
|
4266
4266
|
let a = t;
|
|
4267
4267
|
typeof e == "object" && (a = e, e = a.id);
|
|
4268
4268
|
const {
|
|
4269
4269
|
values: s,
|
|
4270
4270
|
locale: l = Q(),
|
|
4271
|
-
default:
|
|
4271
|
+
default: c
|
|
4272
4272
|
} = a;
|
|
4273
4273
|
if (l == null)
|
|
4274
4274
|
throw new Error(
|
|
4275
4275
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4276
4276
|
);
|
|
4277
|
-
let u =
|
|
4277
|
+
let u = jr(e, l);
|
|
4278
4278
|
if (!u)
|
|
4279
|
-
u = (o = (i = (n = (r =
|
|
4279
|
+
u = (o = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: c })) != null ? i : c) != null ? o : e;
|
|
4280
4280
|
else if (typeof u != "string")
|
|
4281
4281
|
return console.warn(
|
|
4282
4282
|
`[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.`
|
|
@@ -4285,7 +4285,7 @@ const _e = (e, t) => {
|
|
|
4285
4285
|
return u;
|
|
4286
4286
|
let d = u;
|
|
4287
4287
|
try {
|
|
4288
|
-
d =
|
|
4288
|
+
d = Ho(u, l).format(s);
|
|
4289
4289
|
} catch (f) {
|
|
4290
4290
|
f instanceof Error && console.warn(
|
|
4291
4291
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4293,21 +4293,21 @@ const _e = (e, t) => {
|
|
|
4293
4293
|
);
|
|
4294
4294
|
}
|
|
4295
4295
|
return d;
|
|
4296
|
-
},
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
window.emWidgets = { topic:
|
|
4302
|
-
const
|
|
4296
|
+
}, Oo = (e, t) => Po(t).format(e), Lo = (e, t) => To(t).format(e), Co = (e, t) => Ao(t).format(e), Fo = (e, t = Q()) => jr(e, t), Ro = le([ue, Ee], () => Mo);
|
|
4297
|
+
le([ue], () => Oo);
|
|
4298
|
+
le([ue], () => Lo);
|
|
4299
|
+
le([ue], () => Co);
|
|
4300
|
+
le([ue, Ee], () => Fo);
|
|
4301
|
+
window.emWidgets = { topic: Zn };
|
|
4302
|
+
const qt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4303
4303
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4304
|
-
function
|
|
4305
|
-
|
|
4304
|
+
function Kt(e, t) {
|
|
4305
|
+
Vr(e, t);
|
|
4306
4306
|
}
|
|
4307
|
-
function
|
|
4308
|
-
|
|
4307
|
+
function Uo(e) {
|
|
4308
|
+
ue.set(e);
|
|
4309
4309
|
}
|
|
4310
|
-
const
|
|
4310
|
+
const er = {
|
|
4311
4311
|
en: {
|
|
4312
4312
|
secondaryMenuTitle: "Categories"
|
|
4313
4313
|
},
|
|
@@ -4341,14 +4341,14 @@ const Kt = {
|
|
|
4341
4341
|
"en-us": {
|
|
4342
4342
|
secondaryMenuTitle: "Categories"
|
|
4343
4343
|
}
|
|
4344
|
-
};
|
|
4345
|
-
function
|
|
4344
|
+
}, K = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4345
|
+
function Go(e, t) {
|
|
4346
4346
|
if (e) {
|
|
4347
4347
|
const r = document.createElement("style");
|
|
4348
4348
|
r.innerHTML = t, e.appendChild(r);
|
|
4349
4349
|
}
|
|
4350
4350
|
}
|
|
4351
|
-
function
|
|
4351
|
+
function Do(e, t) {
|
|
4352
4352
|
if (!e || !t)
|
|
4353
4353
|
return;
|
|
4354
4354
|
const r = new URL(t);
|
|
@@ -4359,48 +4359,75 @@ function Uo(e, t) {
|
|
|
4359
4359
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4360
4360
|
});
|
|
4361
4361
|
}
|
|
4362
|
-
function
|
|
4363
|
-
if (window.emMessageBus)
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4362
|
+
function ko(e, t, r, n = !1) {
|
|
4363
|
+
if (!window.emMessageBus)
|
|
4364
|
+
return;
|
|
4365
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
4366
|
+
return r = $o(e, t), r;
|
|
4367
|
+
window[K] || (window[K] = {}), r = jo(e, t);
|
|
4368
|
+
const o = r.unsubscribe.bind(r), a = () => {
|
|
4369
|
+
if (window[K][t]) {
|
|
4370
|
+
const s = window[K][t];
|
|
4371
|
+
s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[K][t];
|
|
4372
|
+
}
|
|
4373
|
+
o();
|
|
4374
|
+
};
|
|
4375
|
+
return r.unsubscribe = a, r;
|
|
4376
|
+
}
|
|
4377
|
+
function $o(e, t) {
|
|
4378
|
+
const r = document.createElement("style");
|
|
4379
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
4380
|
+
e && (r.innerHTML = n, e.appendChild(r));
|
|
4381
|
+
});
|
|
4382
|
+
}
|
|
4383
|
+
function jo(e, t) {
|
|
4384
|
+
return window.emMessageBus.subscribe(t, (r) => {
|
|
4385
|
+
if (!e)
|
|
4386
|
+
return;
|
|
4387
|
+
const n = e.getRootNode(), i = window[K];
|
|
4388
|
+
let o = i[t]?.sheet;
|
|
4389
|
+
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
4390
|
+
sheet: o,
|
|
4391
|
+
refCount: 1
|
|
4367
4392
|
});
|
|
4368
|
-
|
|
4393
|
+
const a = n.adoptedStyleSheets || [];
|
|
4394
|
+
a.includes(o) || (n.adoptedStyleSheets = [...a, o]);
|
|
4395
|
+
});
|
|
4369
4396
|
}
|
|
4370
|
-
function
|
|
4371
|
-
|
|
4397
|
+
function Wo(e) {
|
|
4398
|
+
gn(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}');
|
|
4372
4399
|
}
|
|
4373
|
-
function
|
|
4400
|
+
function tr(e, t, r) {
|
|
4374
4401
|
const n = e.slice();
|
|
4375
4402
|
return n[51] = t[r], n[53] = r, n;
|
|
4376
4403
|
}
|
|
4377
|
-
function
|
|
4404
|
+
function rr(e, t, r) {
|
|
4378
4405
|
const n = e.slice();
|
|
4379
4406
|
return n[51] = t[r], n;
|
|
4380
4407
|
}
|
|
4381
|
-
const
|
|
4382
|
-
function
|
|
4408
|
+
const Vo = (e) => ({}), nr = (e) => ({});
|
|
4409
|
+
function ir(e) {
|
|
4383
4410
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4384
|
-
e[7] &&
|
|
4411
|
+
e[7] && or(e), c = Le(
|
|
4385
4412
|
/*menuItems*/
|
|
4386
4413
|
e[12]
|
|
4387
4414
|
), u = [];
|
|
4388
|
-
for (let f = 0; f <
|
|
4389
|
-
u[f] =
|
|
4415
|
+
for (let f = 0; f < c.length; f += 1)
|
|
4416
|
+
u[f] = cr(tr(e, c, f));
|
|
4390
4417
|
let d = !/*navigationBarSimple*/
|
|
4391
4418
|
e[7] && hr(e);
|
|
4392
4419
|
return {
|
|
4393
4420
|
c() {
|
|
4394
|
-
t =
|
|
4421
|
+
t = N("div"), l && l.c(), r = $(), n = N("div");
|
|
4395
4422
|
for (let f = 0; f < u.length; f += 1)
|
|
4396
4423
|
u[f].c();
|
|
4397
|
-
i = $(), d && d.c(),
|
|
4424
|
+
i = $(), d && d.c(), h(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4398
4425
|
(e[5] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4399
4426
|
(e[7] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
|
|
4400
|
-
(e[3] ? "LinearBar" : "")),
|
|
4427
|
+
(e[3] ? "LinearBar" : "")), h(n, "part", a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4401
4428
|
(e[5] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4402
4429
|
(e[7] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
|
|
4403
|
-
(e[3] ? "LinearBar" : "")),
|
|
4430
|
+
(e[3] ? "LinearBar" : "")), h(t, "class", "NavigationPanel");
|
|
4404
4431
|
},
|
|
4405
4432
|
m(f, p) {
|
|
4406
4433
|
C(f, t, p), l && l.m(t, null), b(t, r), b(t, n);
|
|
@@ -4410,81 +4437,81 @@ function nr(e) {
|
|
|
4410
4437
|
},
|
|
4411
4438
|
p(f, p) {
|
|
4412
4439
|
if (/*navigationBarSimple*/
|
|
4413
|
-
f[7] ? l && (
|
|
4440
|
+
f[7] ? l && (vr(), ye(l, 1, 1, () => {
|
|
4414
4441
|
l = null;
|
|
4415
|
-
}),
|
|
4416
|
-
128 && z(l, 1)) : (l =
|
|
4442
|
+
}), br()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
|
|
4443
|
+
128 && z(l, 1)) : (l = or(f), l.c(), z(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, menuItems, triggerNavigation*/
|
|
4417
4444
|
69696) {
|
|
4418
|
-
|
|
4445
|
+
c = Le(
|
|
4419
4446
|
/*menuItems*/
|
|
4420
4447
|
f[12]
|
|
4421
4448
|
);
|
|
4422
4449
|
let g;
|
|
4423
|
-
for (g = 0; g <
|
|
4424
|
-
const v =
|
|
4425
|
-
u[g] ? u[g].p(v, p) : (u[g] =
|
|
4450
|
+
for (g = 0; g < c.length; g += 1) {
|
|
4451
|
+
const v = tr(f, c, g);
|
|
4452
|
+
u[g] ? u[g].p(v, p) : (u[g] = cr(v), u[g].c(), u[g].m(n, i));
|
|
4426
4453
|
}
|
|
4427
4454
|
for (; g < u.length; g += 1)
|
|
4428
4455
|
u[g].d(1);
|
|
4429
|
-
u.length =
|
|
4456
|
+
u.length = c.length;
|
|
4430
4457
|
}
|
|
4431
4458
|
/*navigationBarSimple*/
|
|
4432
4459
|
f[7] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = hr(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple, isLinearMenu*/
|
|
4433
4460
|
168 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4434
4461
|
(f[5] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4435
4462
|
(f[7] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
|
|
4436
|
-
(f[3] ? "LinearBar" : ""))) &&
|
|
4463
|
+
(f[3] ? "LinearBar" : ""))) && h(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple, isLinearMenu*/
|
|
4437
4464
|
168 && a !== (a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4438
4465
|
(f[5] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4439
4466
|
(f[7] ? "NavigationBarSimple" : "") + " " + /*isLinearMenu*/
|
|
4440
|
-
(f[3] ? "LinearBar" : ""))) &&
|
|
4467
|
+
(f[3] ? "LinearBar" : ""))) && h(n, "part", a);
|
|
4441
4468
|
},
|
|
4442
4469
|
i(f) {
|
|
4443
4470
|
s || (z(l), s = !0);
|
|
4444
4471
|
},
|
|
4445
4472
|
o(f) {
|
|
4446
|
-
|
|
4473
|
+
ye(l), s = !1;
|
|
4447
4474
|
},
|
|
4448
4475
|
d(f) {
|
|
4449
|
-
f && H(t), l && l.d(),
|
|
4476
|
+
f && H(t), l && l.d(), gr(u, f), d && d.d();
|
|
4450
4477
|
}
|
|
4451
4478
|
};
|
|
4452
4479
|
}
|
|
4453
|
-
function
|
|
4480
|
+
function or(e) {
|
|
4454
4481
|
let t, r, n, i, o = (
|
|
4455
4482
|
/*secondarymenutitle*/
|
|
4456
4483
|
(e[0] || /*$_*/
|
|
4457
4484
|
e[13]("secondaryMenuTitle")) + ""
|
|
4458
|
-
), a, s, l,
|
|
4485
|
+
), a, s, l, c, u, d, f;
|
|
4459
4486
|
const p = (
|
|
4460
4487
|
/*#slots*/
|
|
4461
4488
|
e[32].close
|
|
4462
|
-
), g =
|
|
4489
|
+
), g = fn(
|
|
4463
4490
|
p,
|
|
4464
4491
|
e,
|
|
4465
4492
|
/*$$scope*/
|
|
4466
4493
|
e[31],
|
|
4467
|
-
|
|
4468
|
-
), v = g ||
|
|
4469
|
-
let
|
|
4494
|
+
nr
|
|
4495
|
+
), v = g || Xo();
|
|
4496
|
+
let S = Le(
|
|
4470
4497
|
/*secondaryMenu*/
|
|
4471
4498
|
e[8]
|
|
4472
|
-
),
|
|
4473
|
-
for (let y = 0; y <
|
|
4474
|
-
|
|
4499
|
+
), x = [];
|
|
4500
|
+
for (let y = 0; y < S.length; y += 1)
|
|
4501
|
+
x[y] = sr(rr(e, S, y));
|
|
4475
4502
|
return {
|
|
4476
4503
|
c() {
|
|
4477
|
-
t =
|
|
4478
|
-
for (let y = 0; y <
|
|
4479
|
-
|
|
4480
|
-
|
|
4504
|
+
t = N("div"), r = N("span"), v && v.c(), n = $(), i = N("h3"), a = se(o), s = $(), l = N("div");
|
|
4505
|
+
for (let y = 0; y < x.length; y += 1)
|
|
4506
|
+
x[y].c();
|
|
4507
|
+
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*/
|
|
4481
4508
|
(e[5] ? "NavigationWindowOpened" : ""));
|
|
4482
4509
|
},
|
|
4483
4510
|
m(y, B) {
|
|
4484
4511
|
C(y, t, B), b(t, r), v && v.m(r, null), b(t, n), b(t, i), b(i, a), b(t, s), b(t, l);
|
|
4485
|
-
for (let
|
|
4486
|
-
E
|
|
4487
|
-
u = !0, d || (f =
|
|
4512
|
+
for (let E = 0; E < x.length; E += 1)
|
|
4513
|
+
x[E] && x[E].m(l, null);
|
|
4514
|
+
u = !0, d || (f = Ue(
|
|
4488
4515
|
r,
|
|
4489
4516
|
"click",
|
|
4490
4517
|
/*navigationWindowToggle*/
|
|
@@ -4493,61 +4520,61 @@ function ir(e) {
|
|
|
4493
4520
|
},
|
|
4494
4521
|
p(y, B) {
|
|
4495
4522
|
if (g && g.p && (!u || B[1] & /*$$scope*/
|
|
4496
|
-
1) &&
|
|
4523
|
+
1) && mn(
|
|
4497
4524
|
g,
|
|
4498
4525
|
p,
|
|
4499
4526
|
y,
|
|
4500
4527
|
/*$$scope*/
|
|
4501
4528
|
y[31],
|
|
4502
|
-
u ?
|
|
4529
|
+
u ? dn(
|
|
4503
4530
|
p,
|
|
4504
4531
|
/*$$scope*/
|
|
4505
4532
|
y[31],
|
|
4506
4533
|
B,
|
|
4507
|
-
|
|
4508
|
-
) :
|
|
4534
|
+
Vo
|
|
4535
|
+
) : pn(
|
|
4509
4536
|
/*$$scope*/
|
|
4510
4537
|
y[31]
|
|
4511
4538
|
),
|
|
4512
|
-
|
|
4539
|
+
nr
|
|
4513
4540
|
), (!u || B[0] & /*secondarymenutitle, $_*/
|
|
4514
4541
|
8193) && o !== (o = /*secondarymenutitle*/
|
|
4515
4542
|
(y[0] || /*$_*/
|
|
4516
|
-
y[13]("secondaryMenuTitle")) + "") &&
|
|
4543
|
+
y[13]("secondaryMenuTitle")) + "") && Ge(a, o), B[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4517
4544
|
65856) {
|
|
4518
|
-
|
|
4545
|
+
S = Le(
|
|
4519
4546
|
/*secondaryMenu*/
|
|
4520
4547
|
y[8]
|
|
4521
4548
|
);
|
|
4522
|
-
let
|
|
4523
|
-
for (
|
|
4524
|
-
const M =
|
|
4525
|
-
E
|
|
4549
|
+
let E;
|
|
4550
|
+
for (E = 0; E < S.length; E += 1) {
|
|
4551
|
+
const M = rr(y, S, E);
|
|
4552
|
+
x[E] ? x[E].p(M, B) : (x[E] = sr(M), x[E].c(), x[E].m(l, null));
|
|
4526
4553
|
}
|
|
4527
|
-
for (;
|
|
4528
|
-
E
|
|
4529
|
-
|
|
4554
|
+
for (; E < x.length; E += 1)
|
|
4555
|
+
x[E].d(1);
|
|
4556
|
+
x.length = S.length;
|
|
4530
4557
|
}
|
|
4531
4558
|
(!u || B[0] & /*navigationWindowOpened*/
|
|
4532
|
-
32 &&
|
|
4533
|
-
(y[5] ? "NavigationWindowOpened" : ""))) &&
|
|
4559
|
+
32 && c !== (c = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4560
|
+
(y[5] ? "NavigationWindowOpened" : ""))) && h(t, "class", c);
|
|
4534
4561
|
},
|
|
4535
4562
|
i(y) {
|
|
4536
4563
|
u || (z(v, y), u = !0);
|
|
4537
4564
|
},
|
|
4538
4565
|
o(y) {
|
|
4539
|
-
|
|
4566
|
+
ye(v, y), u = !1;
|
|
4540
4567
|
},
|
|
4541
4568
|
d(y) {
|
|
4542
|
-
y && H(t), v && v.d(y),
|
|
4569
|
+
y && H(t), v && v.d(y), gr(x, y), d = !1, f();
|
|
4543
4570
|
}
|
|
4544
4571
|
};
|
|
4545
4572
|
}
|
|
4546
|
-
function
|
|
4573
|
+
function Xo(e) {
|
|
4547
4574
|
let t, r;
|
|
4548
4575
|
return {
|
|
4549
4576
|
c() {
|
|
4550
|
-
t = P("svg"), r = P("path"),
|
|
4577
|
+
t = P("svg"), r = P("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");
|
|
4551
4578
|
},
|
|
4552
4579
|
m(n, i) {
|
|
4553
4580
|
C(n, t, i), b(t, r);
|
|
@@ -4558,36 +4585,36 @@ function $o(e) {
|
|
|
4558
4585
|
}
|
|
4559
4586
|
};
|
|
4560
4587
|
}
|
|
4561
|
-
function
|
|
4588
|
+
function ar(e) {
|
|
4562
4589
|
let t, r, n, i;
|
|
4563
4590
|
return {
|
|
4564
4591
|
c() {
|
|
4565
|
-
t =
|
|
4566
|
-
e[51].img) ||
|
|
4567
|
-
e[51].label),
|
|
4592
|
+
t = N("div"), r = N("img"), h(r, "class", "NavigationSecondaryItemImg"), h(r, "part", "NavigationSecondaryItemImg"), te(r.src, n = /*item*/
|
|
4593
|
+
e[51].img) || h(r, "src", n), h(r, "alt", i = /*item*/
|
|
4594
|
+
e[51].label), h(t, "class", "NavigationSecondaryItemImgWrapper"), h(t, "part", "NavigationSecondaryItemImgWrapper");
|
|
4568
4595
|
},
|
|
4569
4596
|
m(o, a) {
|
|
4570
4597
|
C(o, t, a), b(t, r);
|
|
4571
4598
|
},
|
|
4572
4599
|
p(o, a) {
|
|
4573
4600
|
a[0] & /*secondaryMenu*/
|
|
4574
|
-
256 && !
|
|
4575
|
-
o[51].img) &&
|
|
4601
|
+
256 && !te(r.src, n = /*item*/
|
|
4602
|
+
o[51].img) && h(r, "src", n), a[0] & /*secondaryMenu*/
|
|
4576
4603
|
256 && i !== (i = /*item*/
|
|
4577
|
-
o[51].label) &&
|
|
4604
|
+
o[51].label) && h(r, "alt", i);
|
|
4578
4605
|
},
|
|
4579
4606
|
d(o) {
|
|
4580
4607
|
o && H(t);
|
|
4581
4608
|
}
|
|
4582
4609
|
};
|
|
4583
4610
|
}
|
|
4584
|
-
function
|
|
4611
|
+
function sr(e) {
|
|
4585
4612
|
let t, r, n, i = (
|
|
4586
4613
|
/*item*/
|
|
4587
4614
|
e[51].label + ""
|
|
4588
|
-
), o, a, s, l,
|
|
4615
|
+
), o, a, s, l, c, u = (
|
|
4589
4616
|
/*item*/
|
|
4590
|
-
e[51].img &&
|
|
4617
|
+
e[51].img && ar(e)
|
|
4591
4618
|
);
|
|
4592
4619
|
function d() {
|
|
4593
4620
|
return (
|
|
@@ -4600,59 +4627,59 @@ function ar(e) {
|
|
|
4600
4627
|
}
|
|
4601
4628
|
return {
|
|
4602
4629
|
c() {
|
|
4603
|
-
t =
|
|
4630
|
+
t = N("div"), u && u.c(), r = $(), n = N("p"), o = se(i), a = $(), h(n, "class", "NavigationSecondaryItemLabel"), h(n, "part", "NavigationSecondaryItemLabel"), h(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4604
4631
|
(e[6] === /*item*/
|
|
4605
4632
|
e[51].id ? "ActiveItem" : ""));
|
|
4606
4633
|
},
|
|
4607
4634
|
m(f, p) {
|
|
4608
|
-
C(f, t, p), u && u.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), l || (
|
|
4635
|
+
C(f, t, p), u && u.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), l || (c = Ue(t, "click", d), l = !0);
|
|
4609
4636
|
},
|
|
4610
4637
|
p(f, p) {
|
|
4611
4638
|
e = f, /*item*/
|
|
4612
|
-
e[51].img ? u ? u.p(e, p) : (u =
|
|
4639
|
+
e[51].img ? u ? u.p(e, p) : (u = ar(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), p[0] & /*secondaryMenu*/
|
|
4613
4640
|
256 && i !== (i = /*item*/
|
|
4614
|
-
e[51].label + "") &&
|
|
4641
|
+
e[51].label + "") && Ge(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4615
4642
|
320 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4616
4643
|
(e[6] === /*item*/
|
|
4617
|
-
e[51].id ? "ActiveItem" : "")) &&
|
|
4644
|
+
e[51].id ? "ActiveItem" : "")) && h(t, "class", s);
|
|
4618
4645
|
},
|
|
4619
4646
|
d(f) {
|
|
4620
|
-
f && H(t), u && u.d(), l = !1,
|
|
4647
|
+
f && H(t), u && u.d(), l = !1, c();
|
|
4621
4648
|
}
|
|
4622
4649
|
};
|
|
4623
4650
|
}
|
|
4624
|
-
function
|
|
4651
|
+
function lr(e) {
|
|
4625
4652
|
let t, r, n, i;
|
|
4626
4653
|
return {
|
|
4627
4654
|
c() {
|
|
4628
|
-
t =
|
|
4629
|
-
e[51].img) ||
|
|
4630
|
-
e[51].label),
|
|
4655
|
+
t = N("div"), r = N("img"), h(r, "class", "NavigationPrimaryItemImg"), te(r.src, n = /*item*/
|
|
4656
|
+
e[51].img) || h(r, "src", n), h(r, "alt", i = /*item*/
|
|
4657
|
+
e[51].label), h(t, "class", "NavigationPrimaryItemImgWrapper");
|
|
4631
4658
|
},
|
|
4632
4659
|
m(o, a) {
|
|
4633
4660
|
C(o, t, a), b(t, r);
|
|
4634
4661
|
},
|
|
4635
4662
|
p(o, a) {
|
|
4636
4663
|
a[0] & /*menuItems*/
|
|
4637
|
-
4096 && !
|
|
4638
|
-
o[51].img) &&
|
|
4664
|
+
4096 && !te(r.src, n = /*item*/
|
|
4665
|
+
o[51].img) && h(r, "src", n), a[0] & /*menuItems*/
|
|
4639
4666
|
4096 && i !== (i = /*item*/
|
|
4640
|
-
o[51].label) &&
|
|
4667
|
+
o[51].label) && h(r, "alt", i);
|
|
4641
4668
|
},
|
|
4642
4669
|
d(o) {
|
|
4643
4670
|
o && H(t);
|
|
4644
4671
|
}
|
|
4645
4672
|
};
|
|
4646
4673
|
}
|
|
4647
|
-
function
|
|
4674
|
+
function ur(e) {
|
|
4648
4675
|
let t, r = (
|
|
4649
4676
|
/*item*/
|
|
4650
4677
|
e[51].tag + ""
|
|
4651
4678
|
), n, i;
|
|
4652
4679
|
return {
|
|
4653
4680
|
c() {
|
|
4654
|
-
t =
|
|
4655
|
-
e[51].tag),
|
|
4681
|
+
t = N("span"), n = se(r), h(t, "title", i = /*item*/
|
|
4682
|
+
e[51].tag), h(t, "class", "NavigationPrimaryItemTag");
|
|
4656
4683
|
},
|
|
4657
4684
|
m(o, a) {
|
|
4658
4685
|
C(o, t, a), b(t, n);
|
|
@@ -4660,25 +4687,25 @@ function lr(e) {
|
|
|
4660
4687
|
p(o, a) {
|
|
4661
4688
|
a[0] & /*menuItems*/
|
|
4662
4689
|
4096 && r !== (r = /*item*/
|
|
4663
|
-
o[51].tag + "") &&
|
|
4690
|
+
o[51].tag + "") && Ge(n, r), a[0] & /*menuItems*/
|
|
4664
4691
|
4096 && i !== (i = /*item*/
|
|
4665
|
-
o[51].tag) &&
|
|
4692
|
+
o[51].tag) && h(t, "title", i);
|
|
4666
4693
|
},
|
|
4667
4694
|
d(o) {
|
|
4668
4695
|
o && H(t);
|
|
4669
4696
|
}
|
|
4670
4697
|
};
|
|
4671
4698
|
}
|
|
4672
|
-
function
|
|
4699
|
+
function cr(e) {
|
|
4673
4700
|
let t, r, n, i = (
|
|
4674
4701
|
/*item*/
|
|
4675
4702
|
e[51].label + ""
|
|
4676
|
-
), o, a, s, l,
|
|
4703
|
+
), o, a, s, l, c, u = (
|
|
4677
4704
|
/*item*/
|
|
4678
|
-
e[51]?.img &&
|
|
4705
|
+
e[51]?.img && lr(e)
|
|
4679
4706
|
), d = (
|
|
4680
4707
|
/*item*/
|
|
4681
|
-
e[51]?.tag &&
|
|
4708
|
+
e[51]?.tag && ur(e)
|
|
4682
4709
|
);
|
|
4683
4710
|
function f() {
|
|
4684
4711
|
return (
|
|
@@ -4691,94 +4718,94 @@ function ur(e) {
|
|
|
4691
4718
|
}
|
|
4692
4719
|
return {
|
|
4693
4720
|
c() {
|
|
4694
|
-
t =
|
|
4721
|
+
t = N("div"), u && u.c(), r = $(), n = N("p"), o = se(i), a = $(), d && d.c(), h(n, "class", "NavigationPrimaryItemLabel"), h(t, "class", s = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4695
4722
|
e[53] + " " + /*activeMenuItemId*/
|
|
4696
4723
|
(e[6] === /*item*/
|
|
4697
4724
|
e[51].id ? "ActiveItem" : ""));
|
|
4698
4725
|
},
|
|
4699
4726
|
m(p, g) {
|
|
4700
|
-
C(p, t, g), u && u.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), d && d.m(t, null), l || (
|
|
4727
|
+
C(p, t, g), u && u.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), d && d.m(t, null), l || (c = Ue(t, "click", f), l = !0);
|
|
4701
4728
|
},
|
|
4702
4729
|
p(p, g) {
|
|
4703
4730
|
e = p, /*item*/
|
|
4704
|
-
e[51]?.img ? u ? u.p(e, g) : (u =
|
|
4731
|
+
e[51]?.img ? u ? u.p(e, g) : (u = lr(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), g[0] & /*menuItems*/
|
|
4705
4732
|
4096 && i !== (i = /*item*/
|
|
4706
|
-
e[51].label + "") &&
|
|
4707
|
-
e[51]?.tag ? d ? d.p(e, g) : (d =
|
|
4733
|
+
e[51].label + "") && Ge(o, i), /*item*/
|
|
4734
|
+
e[51]?.tag ? d ? d.p(e, g) : (d = ur(e), d.c(), d.m(t, null)) : d && (d.d(1), d = null), g[0] & /*activeMenuItemId, menuItems*/
|
|
4708
4735
|
4160 && s !== (s = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4709
4736
|
e[53] + " " + /*activeMenuItemId*/
|
|
4710
4737
|
(e[6] === /*item*/
|
|
4711
|
-
e[51].id ? "ActiveItem" : "")) &&
|
|
4738
|
+
e[51].id ? "ActiveItem" : "")) && h(t, "class", s);
|
|
4712
4739
|
},
|
|
4713
4740
|
d(p) {
|
|
4714
|
-
p && H(t), u && u.d(), d && d.d(), l = !1,
|
|
4741
|
+
p && H(t), u && u.d(), d && d.d(), l = !1, c();
|
|
4715
4742
|
}
|
|
4716
4743
|
};
|
|
4717
4744
|
}
|
|
4718
4745
|
function hr(e) {
|
|
4719
4746
|
let t, r, n, i, o;
|
|
4720
|
-
function a(
|
|
4747
|
+
function a(c, u) {
|
|
4721
4748
|
return (
|
|
4722
4749
|
/*isFlowerMenu*/
|
|
4723
|
-
|
|
4750
|
+
c[11] ? zo : Zo
|
|
4724
4751
|
);
|
|
4725
4752
|
}
|
|
4726
4753
|
let s = a(e), l = s(e);
|
|
4727
4754
|
return {
|
|
4728
4755
|
c() {
|
|
4729
|
-
t =
|
|
4756
|
+
t = N("button"), r = N("span"), l.c(), h(r, "class", "NavigationButtonSpan"), h(r, "part", "NavigationButtonSpan"), h(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
|
|
4730
4757
|
(e[5] ? "NavigationButtonActive" : ""));
|
|
4731
4758
|
},
|
|
4732
|
-
m(
|
|
4733
|
-
C(
|
|
4759
|
+
m(c, u) {
|
|
4760
|
+
C(c, t, u), b(t, r), l.m(r, null), i || (o = Ue(
|
|
4734
4761
|
t,
|
|
4735
4762
|
"click",
|
|
4736
4763
|
/*navigationWindowToggle*/
|
|
4737
4764
|
e[15]
|
|
4738
4765
|
), i = !0);
|
|
4739
4766
|
},
|
|
4740
|
-
p(
|
|
4741
|
-
s === (s = a(
|
|
4767
|
+
p(c, u) {
|
|
4768
|
+
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*/
|
|
4742
4769
|
32 && n !== (n = "NavigationButton " + /*navigationWindowOpened*/
|
|
4743
|
-
(
|
|
4770
|
+
(c[5] ? "NavigationButtonActive" : "")) && h(t, "class", n);
|
|
4744
4771
|
},
|
|
4745
|
-
d(
|
|
4746
|
-
|
|
4772
|
+
d(c) {
|
|
4773
|
+
c && H(t), l.d(), i = !1, o();
|
|
4747
4774
|
}
|
|
4748
4775
|
};
|
|
4749
4776
|
}
|
|
4750
|
-
function
|
|
4777
|
+
function zo(e) {
|
|
4751
4778
|
let t, r, n, i, o, a, s;
|
|
4752
4779
|
return {
|
|
4753
4780
|
c() {
|
|
4754
|
-
t =
|
|
4781
|
+
t = N("div"), r = N("span"), n = $(), i = N("span"), o = $(), a = N("span"), h(r, "class", "middleIconLine"), h(i, "class", "middleIconLine"), h(a, "class", "middleIconLine"), h(t, "class", s = "labelMiddleIcon " + /*navigationWindowOpened*/
|
|
4755
4782
|
(e[5] ? "labelMiddleIconActive" : ""));
|
|
4756
4783
|
},
|
|
4757
|
-
m(l,
|
|
4758
|
-
C(l, t,
|
|
4784
|
+
m(l, c) {
|
|
4785
|
+
C(l, t, c), b(t, r), b(t, n), b(t, i), b(t, o), b(t, a);
|
|
4759
4786
|
},
|
|
4760
|
-
p(l,
|
|
4761
|
-
|
|
4787
|
+
p(l, c) {
|
|
4788
|
+
c[0] & /*navigationWindowOpened*/
|
|
4762
4789
|
32 && s !== (s = "labelMiddleIcon " + /*navigationWindowOpened*/
|
|
4763
|
-
(l[5] ? "labelMiddleIconActive" : "")) &&
|
|
4790
|
+
(l[5] ? "labelMiddleIconActive" : "")) && h(t, "class", s);
|
|
4764
4791
|
},
|
|
4765
4792
|
d(l) {
|
|
4766
4793
|
l && H(t);
|
|
4767
4794
|
}
|
|
4768
4795
|
};
|
|
4769
4796
|
}
|
|
4770
|
-
function
|
|
4797
|
+
function Zo(e) {
|
|
4771
4798
|
let t;
|
|
4772
4799
|
function r(o, a) {
|
|
4773
4800
|
return (
|
|
4774
4801
|
/*imageIconUrl*/
|
|
4775
|
-
o[9] ?
|
|
4802
|
+
o[9] ? Yo : Qo
|
|
4776
4803
|
);
|
|
4777
4804
|
}
|
|
4778
4805
|
let n = r(e), i = n(e);
|
|
4779
4806
|
return {
|
|
4780
4807
|
c() {
|
|
4781
|
-
i.c(), t =
|
|
4808
|
+
i.c(), t = yn();
|
|
4782
4809
|
},
|
|
4783
4810
|
m(o, a) {
|
|
4784
4811
|
i.m(o, a), C(o, t, a);
|
|
@@ -4791,14 +4818,14 @@ function Wo(e) {
|
|
|
4791
4818
|
}
|
|
4792
4819
|
};
|
|
4793
4820
|
}
|
|
4794
|
-
function
|
|
4795
|
-
let t, r, n, i, o, a, s, l,
|
|
4821
|
+
function Qo(e) {
|
|
4822
|
+
let t, r, n, i, o, a, s, l, c, u, d, f, p, g;
|
|
4796
4823
|
return {
|
|
4797
4824
|
c() {
|
|
4798
|
-
t = P("svg"), r = P("g"), n = P("g"), i = P("rect"), o = P("rect"), a = P("g"), s = P("rect"), l = P("rect"),
|
|
4825
|
+
t = P("svg"), r = P("g"), n = P("g"), i = P("rect"), o = P("rect"), a = P("g"), s = P("rect"), l = P("rect"), c = P("g"), u = P("rect"), d = P("rect"), f = P("g"), p = P("rect"), g = P("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(p, "class", "b"), h(p, "part", "b"), h(p, "width", "10"), h(p, "height", "10"), h(p, "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");
|
|
4799
4826
|
},
|
|
4800
|
-
m(v,
|
|
4801
|
-
C(v, t,
|
|
4827
|
+
m(v, S) {
|
|
4828
|
+
C(v, t, S), b(t, r), b(r, n), b(n, i), b(n, o), b(r, a), b(a, s), b(a, l), b(r, c), b(c, u), b(c, d), b(r, f), b(f, p), b(f, g);
|
|
4802
4829
|
},
|
|
4803
4830
|
p: R,
|
|
4804
4831
|
d(v) {
|
|
@@ -4806,12 +4833,12 @@ function Vo(e) {
|
|
|
4806
4833
|
}
|
|
4807
4834
|
};
|
|
4808
4835
|
}
|
|
4809
|
-
function
|
|
4836
|
+
function Yo(e) {
|
|
4810
4837
|
let t, r;
|
|
4811
4838
|
return {
|
|
4812
4839
|
c() {
|
|
4813
|
-
t =
|
|
4814
|
-
e[9]) ||
|
|
4840
|
+
t = N("img"), te(t.src, r = /*imageIconUrl*/
|
|
4841
|
+
e[9]) || h(t, "src", r), h(t, "class", "middleIcon"), h(
|
|
4815
4842
|
t,
|
|
4816
4843
|
"alt",
|
|
4817
4844
|
/*imageIconUrl*/
|
|
@@ -4823,9 +4850,9 @@ function Xo(e) {
|
|
|
4823
4850
|
},
|
|
4824
4851
|
p(n, i) {
|
|
4825
4852
|
i[0] & /*imageIconUrl*/
|
|
4826
|
-
512 && !
|
|
4827
|
-
n[9]) &&
|
|
4828
|
-
512 &&
|
|
4853
|
+
512 && !te(t.src, r = /*imageIconUrl*/
|
|
4854
|
+
n[9]) && h(t, "src", r), i[0] & /*imageIconUrl*/
|
|
4855
|
+
512 && h(
|
|
4829
4856
|
t,
|
|
4830
4857
|
"alt",
|
|
4831
4858
|
/*imageIconUrl*/
|
|
@@ -4837,14 +4864,14 @@ function Xo(e) {
|
|
|
4837
4864
|
}
|
|
4838
4865
|
};
|
|
4839
4866
|
}
|
|
4840
|
-
function
|
|
4867
|
+
function Jo(e) {
|
|
4841
4868
|
let t, r, n, i = !/*isLoading*/
|
|
4842
4869
|
e[1] && /*isMobile*/
|
|
4843
4870
|
e[14] && /*showNavigation*/
|
|
4844
|
-
e[4] &&
|
|
4871
|
+
e[4] && ir(e);
|
|
4845
4872
|
return {
|
|
4846
4873
|
c() {
|
|
4847
|
-
t =
|
|
4874
|
+
t = N("div"), i && i.c(), h(t, "class", r = /*isFlowerMenu*/
|
|
4848
4875
|
(e[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4849
4876
|
(e[10] ? "NavigationWrapperLandScape" : ""));
|
|
4850
4877
|
},
|
|
@@ -4856,41 +4883,41 @@ function zo(e) {
|
|
|
4856
4883
|
o[1] && /*isMobile*/
|
|
4857
4884
|
o[14] && /*showNavigation*/
|
|
4858
4885
|
o[4] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4859
|
-
18 && z(i, 1)) : (i =
|
|
4886
|
+
18 && z(i, 1)) : (i = ir(o), i.c(), z(i, 1), i.m(t, null)) : i && (vr(), ye(i, 1, 1, () => {
|
|
4860
4887
|
i = null;
|
|
4861
|
-
}),
|
|
4888
|
+
}), br()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4862
4889
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4863
4890
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4864
|
-
(o[10] ? "NavigationWrapperLandScape" : ""))) &&
|
|
4891
|
+
(o[10] ? "NavigationWrapperLandScape" : ""))) && h(t, "class", r);
|
|
4865
4892
|
},
|
|
4866
4893
|
i(o) {
|
|
4867
4894
|
n || (z(i), n = !0);
|
|
4868
4895
|
},
|
|
4869
4896
|
o(o) {
|
|
4870
|
-
|
|
4897
|
+
ye(i), n = !1;
|
|
4871
4898
|
},
|
|
4872
4899
|
d(o) {
|
|
4873
4900
|
o && H(t), i && i.d(), e[35](null);
|
|
4874
4901
|
}
|
|
4875
4902
|
};
|
|
4876
4903
|
}
|
|
4877
|
-
function
|
|
4904
|
+
function qo(e, t, r) {
|
|
4878
4905
|
let n, i;
|
|
4879
|
-
|
|
4880
|
-
let { $$slots: o = {}, $$scope: a } = t, { cmsendpoint: s = "" } = t, { lang: l = "" } = t, { env:
|
|
4881
|
-
const
|
|
4906
|
+
hn(e, Ro, (m) => r(13, i = m));
|
|
4907
|
+
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: p = "" } = t, { clientstylingurl: g = "" } = t, { translationurl: v = "" } = t, { activecategory: S = "" } = t, { flowermenustyle: x = "false" } = t, { linearmenustyle: y = "false" } = t, { cmsoption: B = "bottom-mobile-menu" } = t, E = window.navigator.userAgent, M = qt(E) !== "PC", U = !0, he = !1, G = !1, Xe = "", Se = !1, Ne = [], fe = [], de = [], j = [], W, Yr, It = "", ze = {}, Bt, Ze = !1, me = !1;
|
|
4908
|
+
const Jr = () => {
|
|
4882
4909
|
fetch(v).then((T) => T.json()).then((T) => {
|
|
4883
4910
|
Object.keys(T).forEach((F) => {
|
|
4884
|
-
|
|
4911
|
+
Kt(F, T[F]);
|
|
4885
4912
|
});
|
|
4886
4913
|
}).catch((T) => {
|
|
4887
4914
|
console.log(T);
|
|
4888
4915
|
});
|
|
4889
4916
|
};
|
|
4890
|
-
Object.keys(
|
|
4891
|
-
|
|
4917
|
+
Object.keys(er).forEach((m) => {
|
|
4918
|
+
Kt(m, er[m]);
|
|
4892
4919
|
});
|
|
4893
|
-
const
|
|
4920
|
+
const At = (m) => {
|
|
4894
4921
|
if (m.data)
|
|
4895
4922
|
switch (m.data.type) {
|
|
4896
4923
|
case "PlayerAccountMenuActive":
|
|
@@ -4903,11 +4930,11 @@ function Zo(e, t, r) {
|
|
|
4903
4930
|
r(5, G = !1);
|
|
4904
4931
|
break;
|
|
4905
4932
|
}
|
|
4906
|
-
}, Yr = () => {
|
|
4907
|
-
r(11, ze = E.toLowerCase() === "true");
|
|
4908
|
-
}, Jr = () => {
|
|
4909
|
-
r(3, de = y.toLowerCase() === "true");
|
|
4910
4933
|
}, qr = () => {
|
|
4934
|
+
r(11, Ze = x.toLowerCase() === "true");
|
|
4935
|
+
}, Kr = () => {
|
|
4936
|
+
r(3, me = y.toLowerCase() === "true");
|
|
4937
|
+
}, en = () => {
|
|
4911
4938
|
r(5, G = !G), window.postMessage(
|
|
4912
4939
|
{
|
|
4913
4940
|
type: "MobileBottomNav",
|
|
@@ -4915,28 +4942,28 @@ function Zo(e, t, r) {
|
|
|
4915
4942
|
},
|
|
4916
4943
|
window.location.href
|
|
4917
4944
|
);
|
|
4918
|
-
},
|
|
4919
|
-
r(30,
|
|
4920
|
-
},
|
|
4921
|
-
r(29,
|
|
4922
|
-
},
|
|
4923
|
-
|
|
4924
|
-
let m =
|
|
4945
|
+
}, tn = (m) => {
|
|
4946
|
+
r(30, de = []), r(30, de = Se ? m.splice(0, 5) : m.splice(0, 4)), S && Qe();
|
|
4947
|
+
}, rn = (m, T) => {
|
|
4948
|
+
r(29, fe = T ? [...m, ...T] : m), T = [], S && Qe();
|
|
4949
|
+
}, nn = () => {
|
|
4950
|
+
Ye(), r(1, U = !0);
|
|
4951
|
+
let m = qt(E), T = new URL(`${s}/${l}/${B}?env=${c}`);
|
|
4925
4952
|
T.searchParams.append("userRoles", d), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((F) => F.json()).then((F) => {
|
|
4926
|
-
Ne = [], r(8, j = []), r(29,
|
|
4927
|
-
|
|
4928
|
-
}), r(7,
|
|
4953
|
+
Ne = [], r(8, j = []), r(29, fe = []), r(4, he = F.length > 0), F.forEach((D) => {
|
|
4954
|
+
ze[D.label] = D.eventTrigger ? D.path : null, D.path == "/menu-item" ? (r(9, It = D?.img), r(8, j = D.children)) : Ne.push(D);
|
|
4955
|
+
}), r(7, Se = j.length == 0), j.length >= 5 && Ze && r(8, j = j.splice(0, 5)), me ? (rn(Ne, j), r(7, Se = !0)) : tn(Ne), r(1, U = !1);
|
|
4929
4956
|
}).catch((F) => {
|
|
4930
4957
|
r(1, U = !1), console.error(F);
|
|
4931
4958
|
});
|
|
4932
|
-
},
|
|
4933
|
-
const T = (
|
|
4934
|
-
T ? r(6,
|
|
4935
|
-
},
|
|
4936
|
-
|
|
4959
|
+
}, Qe = () => {
|
|
4960
|
+
const T = (me ? fe : de.concat(j)).find((F) => F.path.includes(S));
|
|
4961
|
+
T ? r(6, Xe = T.id) : r(6, Xe = "");
|
|
4962
|
+
}, pe = (m, T, F, D) => {
|
|
4963
|
+
ze[D] ? window.postMessage(
|
|
4937
4964
|
{
|
|
4938
4965
|
type: "MobileBottomNavigationEvent",
|
|
4939
|
-
event:
|
|
4966
|
+
event: ze[D]
|
|
4940
4967
|
},
|
|
4941
4968
|
window.location.href
|
|
4942
4969
|
) : window.postMessage(
|
|
@@ -4951,88 +4978,88 @@ function Zo(e, t, r) {
|
|
|
4951
4978
|
context: "MobileBottomNavigation",
|
|
4952
4979
|
menuItem: `${m}`
|
|
4953
4980
|
});
|
|
4954
|
-
},
|
|
4955
|
-
|
|
4956
|
-
},
|
|
4981
|
+
}, on = () => {
|
|
4982
|
+
Uo(l);
|
|
4983
|
+
}, Ye = () => {
|
|
4957
4984
|
const m = window.screen.orientation.type.startsWith("landscape");
|
|
4958
|
-
r(10,
|
|
4959
|
-
},
|
|
4985
|
+
r(10, Bt = M && m);
|
|
4986
|
+
}, Tt = () => {
|
|
4960
4987
|
G && r(5, G = !1);
|
|
4961
4988
|
};
|
|
4962
|
-
|
|
4963
|
-
window.removeEventListener("message",
|
|
4989
|
+
En(() => (window.addEventListener("message", At, !1), document.addEventListener("focusin", Tt), M && window.screen.orientation.addEventListener("change", Ye), () => {
|
|
4990
|
+
window.removeEventListener("message", At), document.removeEventListener("focusin", Tt), M && window.screen.orientation.removeEventListener("change", Ye);
|
|
4964
4991
|
}));
|
|
4965
|
-
const
|
|
4966
|
-
m.attrs?.target ?
|
|
4967
|
-
},
|
|
4968
|
-
m?.attrs?.target ?
|
|
4992
|
+
const an = (m) => {
|
|
4993
|
+
m.attrs?.target ? pe(m.path, m.attrs?.target, m?.externalLink, m.label) : pe(m.path, null, m?.externalLink, m.label);
|
|
4994
|
+
}, sn = (m) => {
|
|
4995
|
+
m?.attrs?.target ? pe(m.path, m.attrs?.target, m?.externalLink, m.label) : pe(m.path, null, m?.externalLink, m.label);
|
|
4969
4996
|
};
|
|
4970
|
-
function
|
|
4971
|
-
|
|
4997
|
+
function ln(m) {
|
|
4998
|
+
ot[m ? "unshift" : "push"](() => {
|
|
4972
4999
|
W = m, r(2, W);
|
|
4973
5000
|
});
|
|
4974
5001
|
}
|
|
4975
5002
|
return e.$$set = (m) => {
|
|
4976
|
-
"cmsendpoint" in m && r(17, s = m.cmsendpoint), "lang" in m && r(18, l = m.lang), "env" in m && r(19,
|
|
5003
|
+
"cmsendpoint" in m && r(17, s = m.cmsendpoint), "lang" in m && r(18, l = m.lang), "env" in m && r(19, c = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(20, d = m.userroles), "mbsource" in m && r(21, f = m.mbsource), "clientstyling" in m && r(22, p = m.clientstyling), "clientstylingurl" in m && r(23, g = m.clientstylingurl), "translationurl" in m && r(24, v = m.translationurl), "activecategory" in m && r(25, S = m.activecategory), "flowermenustyle" in m && r(26, x = m.flowermenustyle), "linearmenustyle" in m && r(27, y = m.linearmenustyle), "cmsoption" in m && r(28, B = m.cmsoption), "$$scope" in m && r(31, a = m.$$scope);
|
|
4977
5004
|
}, e.$$.update = () => {
|
|
4978
5005
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4979
|
-
67108864 &&
|
|
4980
|
-
134217728 && y &&
|
|
4981
|
-
33554434 &&
|
|
4982
|
-
262144 && l &&
|
|
4983
|
-
1966080 && s && l &&
|
|
4984
|
-
4194308 && p && W &&
|
|
4985
|
-
8388612 && g && W &&
|
|
4986
|
-
2097156 && f && W &&
|
|
4987
|
-
16777216 && v &&
|
|
4988
|
-
1610612744 && r(12, n =
|
|
5006
|
+
67108864 && x && qr(), e.$$.dirty[0] & /*linearmenustyle*/
|
|
5007
|
+
134217728 && y && Kr(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
5008
|
+
33554434 && S && !U && Qe(), e.$$.dirty[0] & /*lang*/
|
|
5009
|
+
262144 && l && on(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
5010
|
+
1966080 && s && l && c && d && nn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5011
|
+
4194308 && p && W && Go(W, p), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5012
|
+
8388612 && g && W && Do(W, g), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5013
|
+
2097156 && f && W && ko(W, `${f}.Style`, Yr), e.$$.dirty[0] & /*translationurl*/
|
|
5014
|
+
16777216 && v && Jr(), e.$$.dirty[0] & /*isLinearMenu, linearMenu, primaryMenuSpliced*/
|
|
5015
|
+
1610612744 && r(12, n = me ? fe : de);
|
|
4989
5016
|
}, [
|
|
4990
5017
|
u,
|
|
4991
5018
|
U,
|
|
4992
5019
|
W,
|
|
4993
|
-
|
|
5020
|
+
me,
|
|
4994
5021
|
he,
|
|
4995
5022
|
G,
|
|
4996
|
-
|
|
4997
|
-
|
|
5023
|
+
Xe,
|
|
5024
|
+
Se,
|
|
4998
5025
|
j,
|
|
4999
|
-
St,
|
|
5000
5026
|
It,
|
|
5001
|
-
|
|
5027
|
+
Bt,
|
|
5028
|
+
Ze,
|
|
5002
5029
|
n,
|
|
5003
5030
|
i,
|
|
5004
5031
|
M,
|
|
5005
|
-
|
|
5006
|
-
|
|
5032
|
+
en,
|
|
5033
|
+
pe,
|
|
5007
5034
|
s,
|
|
5008
5035
|
l,
|
|
5009
|
-
|
|
5036
|
+
c,
|
|
5010
5037
|
d,
|
|
5011
5038
|
f,
|
|
5012
5039
|
p,
|
|
5013
5040
|
g,
|
|
5014
5041
|
v,
|
|
5015
|
-
|
|
5016
|
-
|
|
5042
|
+
S,
|
|
5043
|
+
x,
|
|
5017
5044
|
y,
|
|
5018
5045
|
B,
|
|
5019
|
-
ce,
|
|
5020
5046
|
fe,
|
|
5047
|
+
de,
|
|
5021
5048
|
a,
|
|
5022
5049
|
o,
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5050
|
+
an,
|
|
5051
|
+
sn,
|
|
5052
|
+
ln
|
|
5026
5053
|
];
|
|
5027
5054
|
}
|
|
5028
|
-
class
|
|
5055
|
+
class Ko extends On {
|
|
5029
5056
|
constructor(t) {
|
|
5030
|
-
super(),
|
|
5057
|
+
super(), Hn(
|
|
5031
5058
|
this,
|
|
5032
5059
|
t,
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5060
|
+
qo,
|
|
5061
|
+
Jo,
|
|
5062
|
+
dr,
|
|
5036
5063
|
{
|
|
5037
5064
|
cmsendpoint: 17,
|
|
5038
5065
|
lang: 18,
|
|
@@ -5048,7 +5075,7 @@ class Qo extends Hn {
|
|
|
5048
5075
|
linearmenustyle: 27,
|
|
5049
5076
|
cmsoption: 28
|
|
5050
5077
|
},
|
|
5051
|
-
|
|
5078
|
+
Wo,
|
|
5052
5079
|
[-1, -1]
|
|
5053
5080
|
);
|
|
5054
5081
|
}
|
|
@@ -5131,7 +5158,7 @@ class Qo extends Hn {
|
|
|
5131
5158
|
this.$$set({ cmsoption: t }), O();
|
|
5132
5159
|
}
|
|
5133
5160
|
}
|
|
5134
|
-
|
|
5161
|
+
Mn(Ko, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {}, linearmenustyle: {}, cmsoption: {} }, ["close"], [], !0);
|
|
5135
5162
|
export {
|
|
5136
|
-
|
|
5163
|
+
Ko as G
|
|
5137
5164
|
};
|