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