@everymatrix/general-navigation-bar 1.77.19 → 1.77.20
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-D3MkYt5z.cjs +18 -0
- package/components/{GeneralNavigationBar-CiXvn55V.js → GeneralNavigationBar-D5vHngYX.js} +842 -885
- package/components/{GeneralNavigationBar-Bd_ofslD.js → GeneralNavigationBar-DFRl2IMK.js} +788 -831
- 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,6 +1,6 @@
|
|
|
1
1
|
function R() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function zr(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,29 +8,29 @@ function qr(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function er(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function yt() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
e.forEach(
|
|
17
|
+
function ae(e) {
|
|
18
|
+
e.forEach(er);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function ht(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function tr(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
26
|
let _e;
|
|
27
|
-
function
|
|
27
|
+
function te(e, t) {
|
|
28
28
|
return e === t ? !0 : (_e || (_e = document.createElement("a")), _e.href = t, e === _e.href);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function Zr(e) {
|
|
31
31
|
return Object.keys(e).length === 0;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function rr(e, ...t) {
|
|
34
34
|
if (e == null) {
|
|
35
35
|
for (const n of t)
|
|
36
36
|
n(void 0);
|
|
@@ -39,19 +39,19 @@ function sr(e, ...t) {
|
|
|
39
39
|
const r = e.subscribe(...t);
|
|
40
40
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
e.$$.on_destroy.push(
|
|
42
|
+
function Qr(e, t, r) {
|
|
43
|
+
e.$$.on_destroy.push(rr(t, r));
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Yr(e, t, r, n) {
|
|
46
46
|
if (e) {
|
|
47
|
-
const i =
|
|
47
|
+
const i = nr(e, t, r, n);
|
|
48
48
|
return e[0](i);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
return e[1] && n ?
|
|
51
|
+
function nr(e, t, r, n) {
|
|
52
|
+
return e[1] && n ? zr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Jr(e, t, r, n) {
|
|
55
55
|
if (e[2] && n) {
|
|
56
56
|
const i = e[2](n(r));
|
|
57
57
|
if (t.dirty === void 0)
|
|
@@ -66,13 +66,13 @@ function rn(e, t, r, n) {
|
|
|
66
66
|
}
|
|
67
67
|
return t.dirty;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function qr(e, t, r, n, i, o) {
|
|
70
70
|
if (i) {
|
|
71
|
-
const a =
|
|
71
|
+
const a = nr(t, r, n, o);
|
|
72
72
|
e.p(a, i);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function Kr(e) {
|
|
76
76
|
if (e.ctx.length > 32) {
|
|
77
77
|
const t = [], r = e.ctx.length / 32;
|
|
78
78
|
for (let n = 0; n < r; n++)
|
|
@@ -84,14 +84,14 @@ function on(e) {
|
|
|
84
84
|
function y(e, t) {
|
|
85
85
|
e.appendChild(t);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
const n =
|
|
87
|
+
function en(e, t, r) {
|
|
88
|
+
const n = tn(e);
|
|
89
89
|
if (!n.getElementById(t)) {
|
|
90
|
-
const i =
|
|
91
|
-
i.id = t, i.textContent = r,
|
|
90
|
+
const i = B("style");
|
|
91
|
+
i.id = t, i.textContent = r, rn(n, i);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function tn(e) {
|
|
95
95
|
if (!e)
|
|
96
96
|
return document;
|
|
97
97
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -101,7 +101,7 @@ function sn(e) {
|
|
|
101
101
|
t
|
|
102
102
|
) : e.ownerDocument;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function rn(e, t) {
|
|
105
105
|
return y(
|
|
106
106
|
/** @type {Document} */
|
|
107
107
|
e.head || e,
|
|
@@ -114,39 +114,39 @@ function L(e, t, r) {
|
|
|
114
114
|
function O(e) {
|
|
115
115
|
e.parentNode && e.parentNode.removeChild(e);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function ir(e, t) {
|
|
118
118
|
for (let r = 0; r < e.length; r += 1)
|
|
119
119
|
e[r] && e[r].d(t);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function B(e) {
|
|
122
122
|
return document.createElement(e);
|
|
123
123
|
}
|
|
124
124
|
function H(e) {
|
|
125
125
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function ve(e) {
|
|
128
128
|
return document.createTextNode(e);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
return
|
|
130
|
+
function $() {
|
|
131
|
+
return ve(" ");
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
return
|
|
133
|
+
function nn() {
|
|
134
|
+
return ve("");
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function He(e, t, r, n) {
|
|
137
137
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
138
138
|
}
|
|
139
139
|
function c(e, t, r) {
|
|
140
140
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function on(e) {
|
|
143
143
|
return Array.from(e.childNodes);
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function ct(e, t) {
|
|
146
146
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
147
147
|
t);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function an(e) {
|
|
150
150
|
const t = {};
|
|
151
151
|
return e.childNodes.forEach(
|
|
152
152
|
/** @param {Element} node */
|
|
@@ -155,69 +155,69 @@ function cn(e) {
|
|
|
155
155
|
}
|
|
156
156
|
), t;
|
|
157
157
|
}
|
|
158
|
-
let
|
|
159
|
-
function
|
|
160
|
-
|
|
158
|
+
let de;
|
|
159
|
+
function fe(e) {
|
|
160
|
+
de = e;
|
|
161
161
|
}
|
|
162
|
-
function
|
|
163
|
-
if (!
|
|
162
|
+
function sn() {
|
|
163
|
+
if (!de)
|
|
164
164
|
throw new Error("Function called outside component initialization");
|
|
165
|
-
return
|
|
165
|
+
return de;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
168
|
-
|
|
167
|
+
function ln(e) {
|
|
168
|
+
sn().$$.on_mount.push(e);
|
|
169
169
|
}
|
|
170
|
-
const q = [],
|
|
170
|
+
const q = [], Ze = [];
|
|
171
171
|
let K = [];
|
|
172
|
-
const
|
|
173
|
-
let
|
|
174
|
-
function
|
|
175
|
-
|
|
172
|
+
const _t = [], un = /* @__PURE__ */ Promise.resolve();
|
|
173
|
+
let Qe = !1;
|
|
174
|
+
function hn() {
|
|
175
|
+
Qe || (Qe = !0, un.then(F));
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Ye(e) {
|
|
178
178
|
K.push(e);
|
|
179
179
|
}
|
|
180
|
-
const
|
|
180
|
+
const $e = /* @__PURE__ */ new Set();
|
|
181
181
|
let Y = 0;
|
|
182
182
|
function F() {
|
|
183
183
|
if (Y !== 0)
|
|
184
184
|
return;
|
|
185
|
-
const e =
|
|
185
|
+
const e = de;
|
|
186
186
|
do {
|
|
187
187
|
try {
|
|
188
188
|
for (; Y < q.length; ) {
|
|
189
189
|
const t = q[Y];
|
|
190
|
-
Y++,
|
|
190
|
+
Y++, fe(t), cn(t.$$);
|
|
191
191
|
}
|
|
192
192
|
} catch (t) {
|
|
193
193
|
throw q.length = 0, Y = 0, t;
|
|
194
194
|
}
|
|
195
|
-
for (
|
|
196
|
-
|
|
195
|
+
for (fe(null), q.length = 0, Y = 0; Ze.length; )
|
|
196
|
+
Ze.pop()();
|
|
197
197
|
for (let t = 0; t < K.length; t += 1) {
|
|
198
198
|
const r = K[t];
|
|
199
|
-
|
|
199
|
+
$e.has(r) || ($e.add(r), r());
|
|
200
200
|
}
|
|
201
201
|
K.length = 0;
|
|
202
202
|
} while (q.length);
|
|
203
|
-
for (;
|
|
204
|
-
|
|
205
|
-
|
|
203
|
+
for (; _t.length; )
|
|
204
|
+
_t.pop()();
|
|
205
|
+
Qe = !1, $e.clear(), fe(e);
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function cn(e) {
|
|
208
208
|
if (e.fragment !== null) {
|
|
209
|
-
e.update(),
|
|
209
|
+
e.update(), ae(e.before_update);
|
|
210
210
|
const t = e.dirty;
|
|
211
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
211
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function fn(e) {
|
|
215
215
|
const t = [], r = [];
|
|
216
216
|
K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
|
|
217
217
|
}
|
|
218
218
|
const Ee = /* @__PURE__ */ new Set();
|
|
219
219
|
let z;
|
|
220
|
-
function
|
|
220
|
+
function or() {
|
|
221
221
|
z = {
|
|
222
222
|
r: 0,
|
|
223
223
|
c: [],
|
|
@@ -225,13 +225,13 @@ function hr() {
|
|
|
225
225
|
// parent group
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
|
-
function
|
|
229
|
-
z.r ||
|
|
228
|
+
function ar() {
|
|
229
|
+
z.r || ae(z.c), z = z.p;
|
|
230
230
|
}
|
|
231
231
|
function X(e, t) {
|
|
232
232
|
e && e.i && (Ee.delete(e), e.i(t));
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function me(e, t, r, n) {
|
|
235
235
|
if (e && e.o) {
|
|
236
236
|
if (Ee.has(e))
|
|
237
237
|
return;
|
|
@@ -244,23 +244,23 @@ function de(e, t, r, n) {
|
|
|
244
244
|
function Ae(e) {
|
|
245
245
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function dn(e, t, r) {
|
|
248
248
|
const { fragment: n, after_update: i } = e.$$;
|
|
249
|
-
n && n.m(t, r),
|
|
250
|
-
const o = e.$$.on_mount.map(
|
|
251
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
252
|
-
}), i.forEach(
|
|
249
|
+
n && n.m(t, r), Ye(() => {
|
|
250
|
+
const o = e.$$.on_mount.map(er).filter(ht);
|
|
251
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
|
|
252
|
+
}), i.forEach(Ye);
|
|
253
253
|
}
|
|
254
|
-
function
|
|
254
|
+
function mn(e, t) {
|
|
255
255
|
const r = e.$$;
|
|
256
|
-
r.fragment !== null && (
|
|
256
|
+
r.fragment !== null && (fn(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
257
257
|
}
|
|
258
|
-
function
|
|
259
|
-
e.$$.dirty[0] === -1 && (q.push(e),
|
|
258
|
+
function pn(e, t) {
|
|
259
|
+
e.$$.dirty[0] === -1 && (q.push(e), hn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
const l =
|
|
263
|
-
|
|
261
|
+
function gn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
262
|
+
const l = de;
|
|
263
|
+
fe(e);
|
|
264
264
|
const u = e.$$ = {
|
|
265
265
|
fragment: null,
|
|
266
266
|
ctx: [],
|
|
@@ -268,7 +268,7 @@ function xn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
268
268
|
props: o,
|
|
269
269
|
update: R,
|
|
270
270
|
not_equal: i,
|
|
271
|
-
bound:
|
|
271
|
+
bound: yt(),
|
|
272
272
|
// lifecycle
|
|
273
273
|
on_mount: [],
|
|
274
274
|
on_destroy: [],
|
|
@@ -277,7 +277,7 @@ function xn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
277
277
|
after_update: [],
|
|
278
278
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
279
279
|
// everything else
|
|
280
|
-
callbacks:
|
|
280
|
+
callbacks: yt(),
|
|
281
281
|
dirty: s,
|
|
282
282
|
skip_bound: !1,
|
|
283
283
|
root: t.target || l.$$.root
|
|
@@ -286,19 +286,19 @@ function xn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
286
286
|
let h = !1;
|
|
287
287
|
if (u.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
|
|
288
288
|
const g = p.length ? p[0] : f;
|
|
289
|
-
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h &&
|
|
290
|
-
}) : [], u.update(), h = !0,
|
|
289
|
+
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && pn(e, d)), f;
|
|
290
|
+
}) : [], u.update(), h = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
291
291
|
if (t.hydrate) {
|
|
292
|
-
const d =
|
|
292
|
+
const d = on(t.target);
|
|
293
293
|
u.fragment && u.fragment.l(d), d.forEach(O);
|
|
294
294
|
} else
|
|
295
295
|
u.fragment && u.fragment.c();
|
|
296
|
-
t.intro && X(e.$$.fragment),
|
|
296
|
+
t.intro && X(e.$$.fragment), dn(e, t.target, t.anchor), F();
|
|
297
297
|
}
|
|
298
|
-
|
|
298
|
+
fe(l);
|
|
299
299
|
}
|
|
300
|
-
let
|
|
301
|
-
typeof HTMLElement == "function" && (
|
|
300
|
+
let sr;
|
|
301
|
+
typeof HTMLElement == "function" && (sr = class extends HTMLElement {
|
|
302
302
|
/** The Svelte component constructor */
|
|
303
303
|
$$ctor;
|
|
304
304
|
/** Slots */
|
|
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
|
|
|
340
340
|
let o;
|
|
341
341
|
return {
|
|
342
342
|
c: function() {
|
|
343
|
-
o =
|
|
343
|
+
o = B("slot"), i !== "default" && c(o, "name", i);
|
|
344
344
|
},
|
|
345
345
|
/**
|
|
346
346
|
* @param {HTMLElement} target
|
|
@@ -357,7 +357,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
|
|
|
357
357
|
};
|
|
358
358
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
359
359
|
return;
|
|
360
|
-
const t = {}, r =
|
|
360
|
+
const t = {}, r = an(this);
|
|
361
361
|
for (const i of this.$$s)
|
|
362
362
|
i in r && (t[i] = [e(i)]);
|
|
363
363
|
for (const i of this.attributes) {
|
|
@@ -444,8 +444,8 @@ function Ne(e, t, r, n) {
|
|
|
444
444
|
return t;
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
function
|
|
448
|
-
let a = class extends
|
|
447
|
+
function vn(e, t, r, n, i, o) {
|
|
448
|
+
let a = class extends sr {
|
|
449
449
|
constructor() {
|
|
450
450
|
super(e, r, i), this.$$p_d = t;
|
|
451
451
|
}
|
|
@@ -473,7 +473,7 @@ function wn(e, t, r, n, i, o) {
|
|
|
473
473
|
}), e.element = /** @type {any} */
|
|
474
474
|
a, a;
|
|
475
475
|
}
|
|
476
|
-
class
|
|
476
|
+
class bn {
|
|
477
477
|
/**
|
|
478
478
|
* ### PRIVATE API
|
|
479
479
|
*
|
|
@@ -492,7 +492,7 @@ class En {
|
|
|
492
492
|
$$set = void 0;
|
|
493
493
|
/** @returns {void} */
|
|
494
494
|
$destroy() {
|
|
495
|
-
|
|
495
|
+
mn(this, 1), this.$destroy = R;
|
|
496
496
|
}
|
|
497
497
|
/**
|
|
498
498
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -501,7 +501,7 @@ class En {
|
|
|
501
501
|
* @returns {() => void}
|
|
502
502
|
*/
|
|
503
503
|
$on(t, r) {
|
|
504
|
-
if (!
|
|
504
|
+
if (!ht(r))
|
|
505
505
|
return R;
|
|
506
506
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
507
507
|
return n.push(r), () => {
|
|
@@ -514,11 +514,11 @@ class En {
|
|
|
514
514
|
* @returns {void}
|
|
515
515
|
*/
|
|
516
516
|
$set(t) {
|
|
517
|
-
this.$$set && !
|
|
517
|
+
this.$$set && !Zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
|
-
const
|
|
521
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
520
|
+
const yn = "4";
|
|
521
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yn);
|
|
522
522
|
/*! *****************************************************************************
|
|
523
523
|
Copyright (c) Microsoft Corporation.
|
|
524
524
|
|
|
@@ -533,24 +533,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
533
533
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
534
534
|
PERFORMANCE OF THIS SOFTWARE.
|
|
535
535
|
***************************************************************************** */
|
|
536
|
-
var
|
|
537
|
-
return
|
|
536
|
+
var Je = function(e, t) {
|
|
537
|
+
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
538
538
|
r.__proto__ = n;
|
|
539
539
|
} || function(r, n) {
|
|
540
540
|
for (var i in n)
|
|
541
541
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
542
|
-
},
|
|
542
|
+
}, Je(e, t);
|
|
543
543
|
};
|
|
544
|
-
function
|
|
544
|
+
function k(e, t) {
|
|
545
545
|
if (typeof t != "function" && t !== null)
|
|
546
546
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
547
|
-
|
|
547
|
+
Je(e, t);
|
|
548
548
|
function r() {
|
|
549
549
|
this.constructor = e;
|
|
550
550
|
}
|
|
551
551
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
var w = function() {
|
|
554
|
+
return w = Object.assign || function(t) {
|
|
555
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
556
|
+
r = arguments[n];
|
|
557
|
+
for (var o in r)
|
|
558
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
559
|
+
}
|
|
560
|
+
return t;
|
|
561
|
+
}, w.apply(this, arguments);
|
|
562
|
+
};
|
|
563
|
+
function _n(e, t) {
|
|
564
|
+
var r = {};
|
|
565
|
+
for (var n in e)
|
|
566
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
567
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
568
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
569
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
570
|
+
return r;
|
|
571
|
+
}
|
|
572
|
+
function qe(e) {
|
|
554
573
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
555
574
|
if (r)
|
|
556
575
|
return r.call(e);
|
|
@@ -562,7 +581,7 @@ function tt(e) {
|
|
|
562
581
|
};
|
|
563
582
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
564
583
|
}
|
|
565
|
-
function
|
|
584
|
+
function Ke(e, t) {
|
|
566
585
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
567
586
|
if (!r)
|
|
568
587
|
return e;
|
|
@@ -582,22 +601,22 @@ function rt(e, t) {
|
|
|
582
601
|
}
|
|
583
602
|
return o;
|
|
584
603
|
}
|
|
585
|
-
function
|
|
586
|
-
if (arguments.length === 2)
|
|
604
|
+
function ee(e, t, r) {
|
|
605
|
+
if (r || arguments.length === 2)
|
|
587
606
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
588
607
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
589
608
|
return e.concat(o || t);
|
|
590
609
|
}
|
|
591
|
-
function
|
|
610
|
+
function G(e) {
|
|
592
611
|
return typeof e == "function";
|
|
593
612
|
}
|
|
594
|
-
function
|
|
613
|
+
function lr(e) {
|
|
595
614
|
var t = function(n) {
|
|
596
615
|
Error.call(n), n.stack = new Error().stack;
|
|
597
616
|
}, r = e(t);
|
|
598
617
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
599
618
|
}
|
|
600
|
-
var
|
|
619
|
+
var ke = lr(function(e) {
|
|
601
620
|
return function(r) {
|
|
602
621
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
603
622
|
` + r.map(function(n, i) {
|
|
@@ -606,13 +625,13 @@ var We = dr(function(e) {
|
|
|
606
625
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
607
626
|
};
|
|
608
627
|
});
|
|
609
|
-
function
|
|
628
|
+
function et(e, t) {
|
|
610
629
|
if (e) {
|
|
611
630
|
var r = e.indexOf(t);
|
|
612
631
|
0 <= r && e.splice(r, 1);
|
|
613
632
|
}
|
|
614
633
|
}
|
|
615
|
-
var
|
|
634
|
+
var Me = function() {
|
|
616
635
|
function e(t) {
|
|
617
636
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
618
637
|
}
|
|
@@ -624,7 +643,7 @@ var Oe = function() {
|
|
|
624
643
|
if (a)
|
|
625
644
|
if (this._parentage = null, Array.isArray(a))
|
|
626
645
|
try {
|
|
627
|
-
for (var s =
|
|
646
|
+
for (var s = qe(a), l = s.next(); !l.done; l = s.next()) {
|
|
628
647
|
var u = l.value;
|
|
629
648
|
u.remove(this);
|
|
630
649
|
}
|
|
@@ -641,22 +660,22 @@ var Oe = function() {
|
|
|
641
660
|
else
|
|
642
661
|
a.remove(this);
|
|
643
662
|
var h = this.initialTeardown;
|
|
644
|
-
if (
|
|
663
|
+
if (G(h))
|
|
645
664
|
try {
|
|
646
665
|
h();
|
|
647
666
|
} catch (v) {
|
|
648
|
-
o = v instanceof
|
|
667
|
+
o = v instanceof ke ? v.errors : [v];
|
|
649
668
|
}
|
|
650
669
|
var d = this._finalizers;
|
|
651
670
|
if (d) {
|
|
652
671
|
this._finalizers = null;
|
|
653
672
|
try {
|
|
654
|
-
for (var f =
|
|
673
|
+
for (var f = qe(d), p = f.next(); !p.done; p = f.next()) {
|
|
655
674
|
var g = p.value;
|
|
656
675
|
try {
|
|
657
|
-
|
|
676
|
+
xt(g);
|
|
658
677
|
} catch (v) {
|
|
659
|
-
o = o ?? [], v instanceof
|
|
678
|
+
o = o ?? [], v instanceof ke ? o = ee(ee([], Ke(o)), Ke(v.errors)) : o.push(v);
|
|
660
679
|
}
|
|
661
680
|
}
|
|
662
681
|
} catch (v) {
|
|
@@ -671,13 +690,13 @@ var Oe = function() {
|
|
|
671
690
|
}
|
|
672
691
|
}
|
|
673
692
|
if (o)
|
|
674
|
-
throw new
|
|
693
|
+
throw new ke(o);
|
|
675
694
|
}
|
|
676
695
|
}, e.prototype.add = function(t) {
|
|
677
696
|
var r;
|
|
678
697
|
if (t && t !== this)
|
|
679
698
|
if (this.closed)
|
|
680
|
-
|
|
699
|
+
xt(t);
|
|
681
700
|
else {
|
|
682
701
|
if (t instanceof e) {
|
|
683
702
|
if (t.closed || t._hasParent(this))
|
|
@@ -694,52 +713,52 @@ var Oe = function() {
|
|
|
694
713
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
695
714
|
}, e.prototype._removeParent = function(t) {
|
|
696
715
|
var r = this._parentage;
|
|
697
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
716
|
+
r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
|
|
698
717
|
}, e.prototype.remove = function(t) {
|
|
699
718
|
var r = this._finalizers;
|
|
700
|
-
r &&
|
|
719
|
+
r && et(r, t), t instanceof e && t._removeParent(this);
|
|
701
720
|
}, e.EMPTY = function() {
|
|
702
721
|
var t = new e();
|
|
703
722
|
return t.closed = !0, t;
|
|
704
723
|
}(), e;
|
|
705
|
-
}(),
|
|
706
|
-
function
|
|
707
|
-
return e instanceof
|
|
724
|
+
}(), ur = Me.EMPTY;
|
|
725
|
+
function hr(e) {
|
|
726
|
+
return e instanceof Me || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
|
708
727
|
}
|
|
709
|
-
function
|
|
710
|
-
|
|
728
|
+
function xt(e) {
|
|
729
|
+
G(e) ? e() : e.unsubscribe();
|
|
711
730
|
}
|
|
712
|
-
var
|
|
731
|
+
var xn = {
|
|
713
732
|
Promise: void 0
|
|
714
|
-
},
|
|
733
|
+
}, wn = {
|
|
715
734
|
setTimeout: function(e, t) {
|
|
716
735
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
717
736
|
r[n - 2] = arguments[n];
|
|
718
|
-
return setTimeout.apply(void 0,
|
|
737
|
+
return setTimeout.apply(void 0, ee([e, t], Ke(r)));
|
|
719
738
|
},
|
|
720
739
|
clearTimeout: function(e) {
|
|
721
740
|
return clearTimeout(e);
|
|
722
741
|
},
|
|
723
742
|
delegate: void 0
|
|
724
743
|
};
|
|
725
|
-
function
|
|
726
|
-
|
|
744
|
+
function En(e) {
|
|
745
|
+
wn.setTimeout(function() {
|
|
727
746
|
throw e;
|
|
728
747
|
});
|
|
729
748
|
}
|
|
730
|
-
function
|
|
749
|
+
function wt() {
|
|
731
750
|
}
|
|
732
751
|
function Se(e) {
|
|
733
752
|
e();
|
|
734
753
|
}
|
|
735
|
-
var
|
|
736
|
-
|
|
754
|
+
var cr = function(e) {
|
|
755
|
+
k(t, e);
|
|
737
756
|
function t(r) {
|
|
738
757
|
var n = e.call(this) || this;
|
|
739
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
758
|
+
return n.isStopped = !1, r ? (n.destination = r, hr(r) && r.add(n)) : n.destination = In, n;
|
|
740
759
|
}
|
|
741
760
|
return t.create = function(r, n, i) {
|
|
742
|
-
return new
|
|
761
|
+
return new tt(r, n, i);
|
|
743
762
|
}, t.prototype.next = function(r) {
|
|
744
763
|
this.isStopped || this._next(r);
|
|
745
764
|
}, t.prototype.error = function(r) {
|
|
@@ -763,7 +782,7 @@ var gr = function(e) {
|
|
|
763
782
|
this.unsubscribe();
|
|
764
783
|
}
|
|
765
784
|
}, t;
|
|
766
|
-
}(
|
|
785
|
+
}(Me), Nn = function() {
|
|
767
786
|
function e(t) {
|
|
768
787
|
this.partialObserver = t;
|
|
769
788
|
}
|
|
@@ -794,43 +813,43 @@ var gr = function(e) {
|
|
|
794
813
|
xe(r);
|
|
795
814
|
}
|
|
796
815
|
}, e;
|
|
797
|
-
}(),
|
|
798
|
-
|
|
816
|
+
}(), tt = function(e) {
|
|
817
|
+
k(t, e);
|
|
799
818
|
function t(r, n, i) {
|
|
800
819
|
var o = e.call(this) || this, a;
|
|
801
|
-
return
|
|
820
|
+
return G(r) || !r ? a = {
|
|
802
821
|
next: r ?? void 0,
|
|
803
822
|
error: n ?? void 0,
|
|
804
823
|
complete: i ?? void 0
|
|
805
|
-
} : a = r, o.destination = new
|
|
824
|
+
} : a = r, o.destination = new Nn(a), o;
|
|
806
825
|
}
|
|
807
826
|
return t;
|
|
808
|
-
}(
|
|
827
|
+
}(cr);
|
|
809
828
|
function xe(e) {
|
|
810
|
-
|
|
829
|
+
En(e);
|
|
811
830
|
}
|
|
812
|
-
function
|
|
831
|
+
function Sn(e) {
|
|
813
832
|
throw e;
|
|
814
833
|
}
|
|
815
|
-
var
|
|
834
|
+
var In = {
|
|
816
835
|
closed: !0,
|
|
817
|
-
next:
|
|
818
|
-
error:
|
|
819
|
-
complete:
|
|
820
|
-
},
|
|
836
|
+
next: wt,
|
|
837
|
+
error: Sn,
|
|
838
|
+
complete: wt
|
|
839
|
+
}, Bn = function() {
|
|
821
840
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
822
841
|
}();
|
|
823
|
-
function
|
|
842
|
+
function An(e) {
|
|
824
843
|
return e;
|
|
825
844
|
}
|
|
826
|
-
function
|
|
827
|
-
return e.length === 0 ?
|
|
845
|
+
function Tn(e) {
|
|
846
|
+
return e.length === 0 ? An : e.length === 1 ? e[0] : function(r) {
|
|
828
847
|
return e.reduce(function(n, i) {
|
|
829
848
|
return i(n);
|
|
830
849
|
}, r);
|
|
831
850
|
};
|
|
832
851
|
}
|
|
833
|
-
var
|
|
852
|
+
var Et = function() {
|
|
834
853
|
function e(t) {
|
|
835
854
|
t && (this._subscribe = t);
|
|
836
855
|
}
|
|
@@ -838,7 +857,7 @@ var At = function() {
|
|
|
838
857
|
var r = new e();
|
|
839
858
|
return r.source = this, r.operator = t, r;
|
|
840
859
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
841
|
-
var i = this, o =
|
|
860
|
+
var i = this, o = Hn(t) ? t : new tt(t, r, n);
|
|
842
861
|
return Se(function() {
|
|
843
862
|
var a = i, s = a.operator, l = a.source;
|
|
844
863
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -851,8 +870,8 @@ var At = function() {
|
|
|
851
870
|
}
|
|
852
871
|
}, e.prototype.forEach = function(t, r) {
|
|
853
872
|
var n = this;
|
|
854
|
-
return r =
|
|
855
|
-
var a = new
|
|
873
|
+
return r = Nt(r), new r(function(i, o) {
|
|
874
|
+
var a = new tt({
|
|
856
875
|
next: function(s) {
|
|
857
876
|
try {
|
|
858
877
|
t(s);
|
|
@@ -868,15 +887,15 @@ var At = function() {
|
|
|
868
887
|
}, e.prototype._subscribe = function(t) {
|
|
869
888
|
var r;
|
|
870
889
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
871
|
-
}, e.prototype[
|
|
890
|
+
}, e.prototype[Bn] = function() {
|
|
872
891
|
return this;
|
|
873
892
|
}, e.prototype.pipe = function() {
|
|
874
893
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
875
894
|
t[r] = arguments[r];
|
|
876
|
-
return
|
|
895
|
+
return Tn(t)(this);
|
|
877
896
|
}, e.prototype.toPromise = function(t) {
|
|
878
897
|
var r = this;
|
|
879
|
-
return t =
|
|
898
|
+
return t = Nt(t), new t(function(n, i) {
|
|
880
899
|
var o;
|
|
881
900
|
r.subscribe(function(a) {
|
|
882
901
|
return o = a;
|
|
@@ -890,32 +909,32 @@ var At = function() {
|
|
|
890
909
|
return new e(t);
|
|
891
910
|
}, e;
|
|
892
911
|
}();
|
|
893
|
-
function
|
|
912
|
+
function Nt(e) {
|
|
894
913
|
var t;
|
|
895
|
-
return (t = e ??
|
|
914
|
+
return (t = e ?? xn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
896
915
|
}
|
|
897
|
-
function
|
|
898
|
-
return e &&
|
|
916
|
+
function Pn(e) {
|
|
917
|
+
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
899
918
|
}
|
|
900
|
-
function
|
|
901
|
-
return e && e instanceof
|
|
919
|
+
function Hn(e) {
|
|
920
|
+
return e && e instanceof cr || Pn(e) && hr(e);
|
|
902
921
|
}
|
|
903
|
-
var
|
|
922
|
+
var Mn = lr(function(e) {
|
|
904
923
|
return function() {
|
|
905
924
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
906
925
|
};
|
|
907
|
-
}),
|
|
908
|
-
|
|
926
|
+
}), fr = function(e) {
|
|
927
|
+
k(t, e);
|
|
909
928
|
function t() {
|
|
910
929
|
var r = e.call(this) || this;
|
|
911
930
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
912
931
|
}
|
|
913
932
|
return t.prototype.lift = function(r) {
|
|
914
|
-
var n = new
|
|
933
|
+
var n = new St(this, this);
|
|
915
934
|
return n.operator = r, n;
|
|
916
935
|
}, t.prototype._throwIfClosed = function() {
|
|
917
936
|
if (this.closed)
|
|
918
|
-
throw new
|
|
937
|
+
throw new Mn();
|
|
919
938
|
}, t.prototype.next = function(r) {
|
|
920
939
|
var n = this;
|
|
921
940
|
Se(function() {
|
|
@@ -923,7 +942,7 @@ var Fn = dr(function(e) {
|
|
|
923
942
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
924
943
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
925
944
|
try {
|
|
926
|
-
for (var a =
|
|
945
|
+
for (var a = qe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
927
946
|
var l = s.value;
|
|
928
947
|
l.next(r);
|
|
929
948
|
}
|
|
@@ -972,20 +991,20 @@ var Fn = dr(function(e) {
|
|
|
972
991
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
973
992
|
}, t.prototype._innerSubscribe = function(r) {
|
|
974
993
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
975
|
-
return o || a ?
|
|
976
|
-
n.currentObservers = null,
|
|
994
|
+
return o || a ? ur : (this.currentObservers = null, s.push(r), new Me(function() {
|
|
995
|
+
n.currentObservers = null, et(s, r);
|
|
977
996
|
}));
|
|
978
997
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
979
998
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
980
999
|
i ? r.error(o) : a && r.complete();
|
|
981
1000
|
}, t.prototype.asObservable = function() {
|
|
982
|
-
var r = new
|
|
1001
|
+
var r = new Et();
|
|
983
1002
|
return r.source = this, r;
|
|
984
1003
|
}, t.create = function(r, n) {
|
|
985
|
-
return new
|
|
1004
|
+
return new St(r, n);
|
|
986
1005
|
}, t;
|
|
987
|
-
}(
|
|
988
|
-
|
|
1006
|
+
}(Et), St = function(e) {
|
|
1007
|
+
k(t, e);
|
|
989
1008
|
function t(r, n) {
|
|
990
1009
|
var i = e.call(this) || this;
|
|
991
1010
|
return i.destination = r, i.source = n, i;
|
|
@@ -1001,17 +1020,17 @@ var Fn = dr(function(e) {
|
|
|
1001
1020
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1002
1021
|
}, t.prototype._subscribe = function(r) {
|
|
1003
1022
|
var n, i;
|
|
1004
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1023
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ur;
|
|
1005
1024
|
}, t;
|
|
1006
|
-
}(
|
|
1025
|
+
}(fr), dr = {
|
|
1007
1026
|
now: function() {
|
|
1008
|
-
return (
|
|
1027
|
+
return (dr.delegate || Date).now();
|
|
1009
1028
|
},
|
|
1010
1029
|
delegate: void 0
|
|
1011
|
-
},
|
|
1012
|
-
|
|
1030
|
+
}, On = function(e) {
|
|
1031
|
+
k(t, e);
|
|
1013
1032
|
function t(r, n, i) {
|
|
1014
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1033
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = dr);
|
|
1015
1034
|
var o = e.call(this) || this;
|
|
1016
1035
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1017
1036
|
}
|
|
@@ -1031,24 +1050,24 @@ var Fn = dr(function(e) {
|
|
|
1031
1050
|
u && o.splice(0, u + 1);
|
|
1032
1051
|
}
|
|
1033
1052
|
}, t;
|
|
1034
|
-
}(
|
|
1035
|
-
const
|
|
1036
|
-
if (
|
|
1037
|
-
const r = new
|
|
1038
|
-
|
|
1053
|
+
}(fr);
|
|
1054
|
+
const It = [], Bt = {}, Ln = (e, t = 0) => {
|
|
1055
|
+
if (It.indexOf(e) == -1) {
|
|
1056
|
+
const r = new On(t);
|
|
1057
|
+
Bt[e] = r, It.push(e);
|
|
1039
1058
|
}
|
|
1040
|
-
return
|
|
1059
|
+
return Bt[e];
|
|
1041
1060
|
}, J = [];
|
|
1042
|
-
function
|
|
1061
|
+
function Cn(e, t) {
|
|
1043
1062
|
return {
|
|
1044
|
-
subscribe:
|
|
1063
|
+
subscribe: Oe(e, t).subscribe
|
|
1045
1064
|
};
|
|
1046
1065
|
}
|
|
1047
|
-
function
|
|
1066
|
+
function Oe(e, t = R) {
|
|
1048
1067
|
let r;
|
|
1049
1068
|
const n = /* @__PURE__ */ new Set();
|
|
1050
1069
|
function i(s) {
|
|
1051
|
-
if (
|
|
1070
|
+
if (tr(e, s) && (e = s, r)) {
|
|
1052
1071
|
const l = !J.length;
|
|
1053
1072
|
for (const u of n)
|
|
1054
1073
|
u[1](), J.push(u, e);
|
|
@@ -1070,12 +1089,12 @@ function Le(e, t = R) {
|
|
|
1070
1089
|
}
|
|
1071
1090
|
return { set: i, update: o, subscribe: a };
|
|
1072
1091
|
}
|
|
1073
|
-
function
|
|
1092
|
+
function se(e, t, r) {
|
|
1074
1093
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1075
1094
|
if (!i.every(Boolean))
|
|
1076
1095
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1077
1096
|
const o = t.length < 2;
|
|
1078
|
-
return
|
|
1097
|
+
return Cn(r, (a, s) => {
|
|
1079
1098
|
let l = !1;
|
|
1080
1099
|
const u = [];
|
|
1081
1100
|
let h = 0, d = R;
|
|
@@ -1084,12 +1103,12 @@ function ae(e, t, r) {
|
|
|
1084
1103
|
return;
|
|
1085
1104
|
d();
|
|
1086
1105
|
const g = t(n ? u[0] : u, a, s);
|
|
1087
|
-
o ? a(g) : d =
|
|
1106
|
+
o ? a(g) : d = ht(g) ? g : R;
|
|
1088
1107
|
}, p = i.map(
|
|
1089
|
-
(g, v) =>
|
|
1108
|
+
(g, v) => rr(
|
|
1090
1109
|
g,
|
|
1091
|
-
(
|
|
1092
|
-
u[v] =
|
|
1110
|
+
(A) => {
|
|
1111
|
+
u[v] = A, h &= ~(1 << v), l && f();
|
|
1093
1112
|
},
|
|
1094
1113
|
() => {
|
|
1095
1114
|
h |= 1 << v;
|
|
@@ -1097,157 +1116,115 @@ function ae(e, t, r) {
|
|
|
1097
1116
|
)
|
|
1098
1117
|
);
|
|
1099
1118
|
return l = !0, f(), function() {
|
|
1100
|
-
|
|
1119
|
+
ae(p), d(), l = !1;
|
|
1101
1120
|
};
|
|
1102
1121
|
});
|
|
1103
1122
|
}
|
|
1104
|
-
function
|
|
1123
|
+
function Fn(e) {
|
|
1105
1124
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1106
1125
|
}
|
|
1107
|
-
var
|
|
1108
|
-
return
|
|
1126
|
+
var Rn = function(t) {
|
|
1127
|
+
return Un(t) && !Dn(t);
|
|
1109
1128
|
};
|
|
1110
|
-
function
|
|
1129
|
+
function Un(e) {
|
|
1111
1130
|
return !!e && typeof e == "object";
|
|
1112
1131
|
}
|
|
1113
|
-
function
|
|
1132
|
+
function Dn(e) {
|
|
1114
1133
|
var t = Object.prototype.toString.call(e);
|
|
1115
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1134
|
+
return t === "[object RegExp]" || t === "[object Date]" || kn(e);
|
|
1116
1135
|
}
|
|
1117
|
-
var
|
|
1118
|
-
function
|
|
1119
|
-
return e.$$typeof ===
|
|
1136
|
+
var Gn = typeof Symbol == "function" && Symbol.for, $n = Gn ? Symbol.for("react.element") : 60103;
|
|
1137
|
+
function kn(e) {
|
|
1138
|
+
return e.$$typeof === $n;
|
|
1120
1139
|
}
|
|
1121
|
-
function
|
|
1140
|
+
function jn(e) {
|
|
1122
1141
|
return Array.isArray(e) ? [] : {};
|
|
1123
1142
|
}
|
|
1124
|
-
function
|
|
1125
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1143
|
+
function pe(e, t) {
|
|
1144
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(jn(e), e, t) : e;
|
|
1126
1145
|
}
|
|
1127
|
-
function
|
|
1146
|
+
function Wn(e, t, r) {
|
|
1128
1147
|
return e.concat(t).map(function(n) {
|
|
1129
|
-
return
|
|
1148
|
+
return pe(n, r);
|
|
1130
1149
|
});
|
|
1131
1150
|
}
|
|
1132
|
-
function
|
|
1151
|
+
function Vn(e, t) {
|
|
1133
1152
|
if (!t.customMerge)
|
|
1134
|
-
return
|
|
1153
|
+
return re;
|
|
1135
1154
|
var r = t.customMerge(e);
|
|
1136
|
-
return typeof r == "function" ? r :
|
|
1155
|
+
return typeof r == "function" ? r : re;
|
|
1137
1156
|
}
|
|
1138
|
-
function
|
|
1157
|
+
function Xn(e) {
|
|
1139
1158
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1140
1159
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1141
1160
|
}) : [];
|
|
1142
1161
|
}
|
|
1143
|
-
function
|
|
1144
|
-
return Object.keys(e).concat(
|
|
1162
|
+
function At(e) {
|
|
1163
|
+
return Object.keys(e).concat(Xn(e));
|
|
1145
1164
|
}
|
|
1146
|
-
function
|
|
1165
|
+
function mr(e, t) {
|
|
1147
1166
|
try {
|
|
1148
1167
|
return t in e;
|
|
1149
1168
|
} catch {
|
|
1150
1169
|
return !1;
|
|
1151
1170
|
}
|
|
1152
1171
|
}
|
|
1153
|
-
function
|
|
1154
|
-
return
|
|
1172
|
+
function zn(e, t) {
|
|
1173
|
+
return mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1155
1174
|
}
|
|
1156
|
-
function
|
|
1175
|
+
function Zn(e, t, r) {
|
|
1157
1176
|
var n = {};
|
|
1158
|
-
return r.isMergeableObject(e) &&
|
|
1159
|
-
n[i] =
|
|
1160
|
-
}),
|
|
1161
|
-
|
|
1177
|
+
return r.isMergeableObject(e) && At(e).forEach(function(i) {
|
|
1178
|
+
n[i] = pe(e[i], r);
|
|
1179
|
+
}), At(t).forEach(function(i) {
|
|
1180
|
+
zn(e, i) || (mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vn(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
|
|
1162
1181
|
}), n;
|
|
1163
1182
|
}
|
|
1164
|
-
function
|
|
1165
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1183
|
+
function re(e, t, r) {
|
|
1184
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Wn, r.isMergeableObject = r.isMergeableObject || Rn, r.cloneUnlessOtherwiseSpecified = pe;
|
|
1166
1185
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1167
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1186
|
+
return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) : pe(t, r);
|
|
1168
1187
|
}
|
|
1169
|
-
|
|
1188
|
+
re.all = function(t, r) {
|
|
1170
1189
|
if (!Array.isArray(t))
|
|
1171
1190
|
throw new Error("first argument should be an array");
|
|
1172
1191
|
return t.reduce(function(n, i) {
|
|
1173
|
-
return
|
|
1192
|
+
return re(n, i, r);
|
|
1174
1193
|
}, {});
|
|
1175
1194
|
};
|
|
1176
|
-
var
|
|
1177
|
-
const
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
r.__proto__ = n;
|
|
1181
|
-
} || function(r, n) {
|
|
1182
|
-
for (var i in n)
|
|
1183
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1184
|
-
}, at(e, t);
|
|
1185
|
-
};
|
|
1186
|
-
function Ce(e, t) {
|
|
1187
|
-
if (typeof t != "function" && t !== null)
|
|
1188
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1189
|
-
at(e, t);
|
|
1190
|
-
function r() {
|
|
1191
|
-
this.constructor = e;
|
|
1192
|
-
}
|
|
1193
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1194
|
-
}
|
|
1195
|
-
var D = function() {
|
|
1196
|
-
return D = Object.assign || function(t) {
|
|
1197
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1198
|
-
r = arguments[n];
|
|
1199
|
-
for (var o in r)
|
|
1200
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1201
|
-
}
|
|
1202
|
-
return t;
|
|
1203
|
-
}, D.apply(this, arguments);
|
|
1204
|
-
};
|
|
1205
|
-
function ri(e, t) {
|
|
1206
|
-
var r = {};
|
|
1207
|
-
for (var n in e)
|
|
1208
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1209
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1210
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1211
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1212
|
-
return r;
|
|
1213
|
-
}
|
|
1214
|
-
function Ve(e, t, r) {
|
|
1215
|
-
if (r || arguments.length === 2)
|
|
1216
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1217
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1218
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1219
|
-
}
|
|
1220
|
-
function Xe(e, t) {
|
|
1221
|
-
var r = t && t.cache ? t.cache : ui, n = t && t.serializer ? t.serializer : si, i = t && t.strategy ? t.strategy : oi;
|
|
1195
|
+
var Qn = re, Yn = Qn;
|
|
1196
|
+
const Jn = /* @__PURE__ */ Fn(Yn);
|
|
1197
|
+
function je(e, t) {
|
|
1198
|
+
var r = t && t.cache ? t.cache : ii, n = t && t.serializer ? t.serializer : ri, i = t && t.strategy ? t.strategy : ei;
|
|
1222
1199
|
return i(e, {
|
|
1223
1200
|
cache: r,
|
|
1224
1201
|
serializer: n
|
|
1225
1202
|
});
|
|
1226
1203
|
}
|
|
1227
|
-
function
|
|
1204
|
+
function qn(e) {
|
|
1228
1205
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1229
1206
|
}
|
|
1230
|
-
function
|
|
1231
|
-
var i =
|
|
1207
|
+
function Kn(e, t, r, n) {
|
|
1208
|
+
var i = qn(n) ? n : r(n), o = t.get(i);
|
|
1232
1209
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1233
1210
|
}
|
|
1234
|
-
function
|
|
1211
|
+
function pr(e, t, r) {
|
|
1235
1212
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1236
1213
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1237
1214
|
}
|
|
1238
|
-
function
|
|
1215
|
+
function gr(e, t, r, n, i) {
|
|
1239
1216
|
return r.bind(t, e, n, i);
|
|
1240
1217
|
}
|
|
1241
|
-
function
|
|
1242
|
-
var r = e.length === 1 ?
|
|
1243
|
-
return
|
|
1218
|
+
function ei(e, t) {
|
|
1219
|
+
var r = e.length === 1 ? Kn : pr;
|
|
1220
|
+
return gr(e, this, r, t.cache.create(), t.serializer);
|
|
1244
1221
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return
|
|
1222
|
+
function ti(e, t) {
|
|
1223
|
+
return gr(e, this, pr, t.cache.create(), t.serializer);
|
|
1247
1224
|
}
|
|
1248
|
-
var
|
|
1225
|
+
var ri = function() {
|
|
1249
1226
|
return JSON.stringify(arguments);
|
|
1250
|
-
},
|
|
1227
|
+
}, ni = (
|
|
1251
1228
|
/** @class */
|
|
1252
1229
|
function() {
|
|
1253
1230
|
function e() {
|
|
@@ -1259,71 +1236,61 @@ var si = function() {
|
|
|
1259
1236
|
this.cache[t] = r;
|
|
1260
1237
|
}, e;
|
|
1261
1238
|
}()
|
|
1262
|
-
),
|
|
1239
|
+
), ii = {
|
|
1263
1240
|
create: function() {
|
|
1264
|
-
return new
|
|
1241
|
+
return new ni();
|
|
1265
1242
|
}
|
|
1266
|
-
},
|
|
1267
|
-
variadic:
|
|
1268
|
-
},
|
|
1269
|
-
return Te = Object.assign || function(t) {
|
|
1270
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1271
|
-
r = arguments[n];
|
|
1272
|
-
for (var o in r)
|
|
1273
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1274
|
-
}
|
|
1275
|
-
return t;
|
|
1276
|
-
}, Te.apply(this, arguments);
|
|
1277
|
-
};
|
|
1278
|
-
var _;
|
|
1243
|
+
}, We = {
|
|
1244
|
+
variadic: ti
|
|
1245
|
+
}, _;
|
|
1279
1246
|
(function(e) {
|
|
1280
1247
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1281
1248
|
})(_ || (_ = {}));
|
|
1282
|
-
var
|
|
1249
|
+
var I;
|
|
1283
1250
|
(function(e) {
|
|
1284
1251
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1285
|
-
})(
|
|
1286
|
-
var
|
|
1252
|
+
})(I || (I = {}));
|
|
1253
|
+
var ne;
|
|
1287
1254
|
(function(e) {
|
|
1288
1255
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1289
|
-
})(
|
|
1290
|
-
function
|
|
1291
|
-
return e.type ===
|
|
1256
|
+
})(ne || (ne = {}));
|
|
1257
|
+
function Tt(e) {
|
|
1258
|
+
return e.type === I.literal;
|
|
1292
1259
|
}
|
|
1293
|
-
function
|
|
1294
|
-
return e.type ===
|
|
1260
|
+
function oi(e) {
|
|
1261
|
+
return e.type === I.argument;
|
|
1295
1262
|
}
|
|
1296
|
-
function
|
|
1297
|
-
return e.type ===
|
|
1263
|
+
function vr(e) {
|
|
1264
|
+
return e.type === I.number;
|
|
1298
1265
|
}
|
|
1299
|
-
function
|
|
1300
|
-
return e.type ===
|
|
1266
|
+
function br(e) {
|
|
1267
|
+
return e.type === I.date;
|
|
1301
1268
|
}
|
|
1302
|
-
function
|
|
1303
|
-
return e.type ===
|
|
1269
|
+
function yr(e) {
|
|
1270
|
+
return e.type === I.time;
|
|
1304
1271
|
}
|
|
1305
|
-
function
|
|
1306
|
-
return e.type ===
|
|
1272
|
+
function _r(e) {
|
|
1273
|
+
return e.type === I.select;
|
|
1307
1274
|
}
|
|
1308
|
-
function
|
|
1309
|
-
return e.type ===
|
|
1275
|
+
function xr(e) {
|
|
1276
|
+
return e.type === I.plural;
|
|
1310
1277
|
}
|
|
1311
|
-
function
|
|
1312
|
-
return e.type ===
|
|
1278
|
+
function ai(e) {
|
|
1279
|
+
return e.type === I.pound;
|
|
1313
1280
|
}
|
|
1314
|
-
function
|
|
1315
|
-
return e.type ===
|
|
1281
|
+
function wr(e) {
|
|
1282
|
+
return e.type === I.tag;
|
|
1316
1283
|
}
|
|
1317
|
-
function
|
|
1318
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1284
|
+
function Er(e) {
|
|
1285
|
+
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1319
1286
|
}
|
|
1320
|
-
function
|
|
1321
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1287
|
+
function rt(e) {
|
|
1288
|
+
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1322
1289
|
}
|
|
1323
|
-
var
|
|
1324
|
-
function
|
|
1290
|
+
var Nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, si = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1291
|
+
function li(e) {
|
|
1325
1292
|
var t = {};
|
|
1326
|
-
return e.replace(
|
|
1293
|
+
return e.replace(si, function(r) {
|
|
1327
1294
|
var n = r.length;
|
|
1328
1295
|
switch (r[0]) {
|
|
1329
1296
|
case "G":
|
|
@@ -1412,21 +1379,11 @@ function di(e) {
|
|
|
1412
1379
|
return "";
|
|
1413
1380
|
}), t;
|
|
1414
1381
|
}
|
|
1415
|
-
var
|
|
1416
|
-
|
|
1417
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1418
|
-
r = arguments[n];
|
|
1419
|
-
for (var o in r)
|
|
1420
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1421
|
-
}
|
|
1422
|
-
return t;
|
|
1423
|
-
}, A.apply(this, arguments);
|
|
1424
|
-
};
|
|
1425
|
-
var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1426
|
-
function pi(e) {
|
|
1382
|
+
var ui = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1383
|
+
function hi(e) {
|
|
1427
1384
|
if (e.length === 0)
|
|
1428
1385
|
throw new Error("Number skeleton cannot be empty");
|
|
1429
|
-
for (var t = e.split(
|
|
1386
|
+
for (var t = e.split(ui).filter(function(f) {
|
|
1430
1387
|
return f.length > 0;
|
|
1431
1388
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1432
1389
|
var o = i[n], a = o.split("/");
|
|
@@ -1441,17 +1398,17 @@ function pi(e) {
|
|
|
1441
1398
|
}
|
|
1442
1399
|
return r;
|
|
1443
1400
|
}
|
|
1444
|
-
function
|
|
1401
|
+
function ci(e) {
|
|
1445
1402
|
return e.replace(/^(.*?)-/, "");
|
|
1446
1403
|
}
|
|
1447
|
-
var
|
|
1448
|
-
function
|
|
1404
|
+
var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Sr = /^(@+)?(\+|#+)?[rs]?$/g, fi = /(\*)(0+)|(#+)(0+)|(0+)/g, Ir = /^(0+)$/;
|
|
1405
|
+
function Ht(e) {
|
|
1449
1406
|
var t = {};
|
|
1450
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1407
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Sr, function(r, n, i) {
|
|
1451
1408
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1452
1409
|
}), t;
|
|
1453
1410
|
}
|
|
1454
|
-
function
|
|
1411
|
+
function Br(e) {
|
|
1455
1412
|
switch (e) {
|
|
1456
1413
|
case "sign-auto":
|
|
1457
1414
|
return {
|
|
@@ -1491,7 +1448,7 @@ function Mr(e) {
|
|
|
1491
1448
|
};
|
|
1492
1449
|
}
|
|
1493
1450
|
}
|
|
1494
|
-
function
|
|
1451
|
+
function di(e) {
|
|
1495
1452
|
var t;
|
|
1496
1453
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1497
1454
|
notation: "engineering"
|
|
@@ -1499,17 +1456,17 @@ function bi(e) {
|
|
|
1499
1456
|
notation: "scientific"
|
|
1500
1457
|
}, e = e.slice(1)), t) {
|
|
1501
1458
|
var r = e.slice(0, 2);
|
|
1502
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1459
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ir.test(e))
|
|
1503
1460
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1504
1461
|
t.minimumIntegerDigits = e.length;
|
|
1505
1462
|
}
|
|
1506
1463
|
return t;
|
|
1507
1464
|
}
|
|
1508
|
-
function
|
|
1509
|
-
var t = {}, r =
|
|
1465
|
+
function Mt(e) {
|
|
1466
|
+
var t = {}, r = Br(e);
|
|
1510
1467
|
return r || t;
|
|
1511
1468
|
}
|
|
1512
|
-
function
|
|
1469
|
+
function mi(e) {
|
|
1513
1470
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1514
1471
|
var i = n[r];
|
|
1515
1472
|
switch (i.stem) {
|
|
@@ -1533,7 +1490,7 @@ function yi(e) {
|
|
|
1533
1490
|
continue;
|
|
1534
1491
|
case "measure-unit":
|
|
1535
1492
|
case "unit":
|
|
1536
|
-
t.style = "unit", t.unit =
|
|
1493
|
+
t.style = "unit", t.unit = ci(i.options[0]);
|
|
1537
1494
|
continue;
|
|
1538
1495
|
case "compact-short":
|
|
1539
1496
|
case "K":
|
|
@@ -1544,13 +1501,13 @@ function yi(e) {
|
|
|
1544
1501
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1545
1502
|
continue;
|
|
1546
1503
|
case "scientific":
|
|
1547
|
-
t =
|
|
1548
|
-
return
|
|
1504
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1505
|
+
return w(w({}, l), Mt(u));
|
|
1549
1506
|
}, {}));
|
|
1550
1507
|
continue;
|
|
1551
1508
|
case "engineering":
|
|
1552
|
-
t =
|
|
1553
|
-
return
|
|
1509
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1510
|
+
return w(w({}, l), Mt(u));
|
|
1554
1511
|
}, {}));
|
|
1555
1512
|
continue;
|
|
1556
1513
|
case "notation-simple":
|
|
@@ -1595,7 +1552,7 @@ function yi(e) {
|
|
|
1595
1552
|
case "integer-width":
|
|
1596
1553
|
if (i.options.length > 1)
|
|
1597
1554
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1598
|
-
i.options[0].replace(
|
|
1555
|
+
i.options[0].replace(fi, function(l, u, h, d, f, p) {
|
|
1599
1556
|
if (u)
|
|
1600
1557
|
t.minimumIntegerDigits = h.length;
|
|
1601
1558
|
else {
|
|
@@ -1608,28 +1565,28 @@ function yi(e) {
|
|
|
1608
1565
|
});
|
|
1609
1566
|
continue;
|
|
1610
1567
|
}
|
|
1611
|
-
if (
|
|
1568
|
+
if (Ir.test(i.stem)) {
|
|
1612
1569
|
t.minimumIntegerDigits = i.stem.length;
|
|
1613
1570
|
continue;
|
|
1614
1571
|
}
|
|
1615
|
-
if (
|
|
1572
|
+
if (Pt.test(i.stem)) {
|
|
1616
1573
|
if (i.options.length > 1)
|
|
1617
1574
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1618
|
-
i.stem.replace(
|
|
1575
|
+
i.stem.replace(Pt, function(l, u, h, d, f, p) {
|
|
1619
1576
|
return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1620
1577
|
});
|
|
1621
1578
|
var o = i.options[0];
|
|
1622
|
-
o === "w" ? t =
|
|
1579
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Ht(o)));
|
|
1623
1580
|
continue;
|
|
1624
1581
|
}
|
|
1625
|
-
if (
|
|
1626
|
-
t =
|
|
1582
|
+
if (Sr.test(i.stem)) {
|
|
1583
|
+
t = w(w({}, t), Ht(i.stem));
|
|
1627
1584
|
continue;
|
|
1628
1585
|
}
|
|
1629
|
-
var a =
|
|
1630
|
-
a && (t =
|
|
1631
|
-
var s =
|
|
1632
|
-
s && (t =
|
|
1586
|
+
var a = Br(i.stem);
|
|
1587
|
+
a && (t = w(w({}, t), a));
|
|
1588
|
+
var s = di(i.stem);
|
|
1589
|
+
s && (t = w(w({}, t), s));
|
|
1633
1590
|
}
|
|
1634
1591
|
return t;
|
|
1635
1592
|
}
|
|
@@ -3048,13 +3005,13 @@ var we = {
|
|
|
3048
3005
|
"h"
|
|
3049
3006
|
]
|
|
3050
3007
|
};
|
|
3051
|
-
function
|
|
3008
|
+
function pi(e, t) {
|
|
3052
3009
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3053
3010
|
var i = e.charAt(n);
|
|
3054
3011
|
if (i === "j") {
|
|
3055
3012
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3056
3013
|
o++, n++;
|
|
3057
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3014
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = gi(t);
|
|
3058
3015
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3059
3016
|
r += l;
|
|
3060
3017
|
for (; a-- > 0; )
|
|
@@ -3064,7 +3021,7 @@ function _i(e, t) {
|
|
|
3064
3021
|
}
|
|
3065
3022
|
return r;
|
|
3066
3023
|
}
|
|
3067
|
-
function
|
|
3024
|
+
function gi(e) {
|
|
3068
3025
|
var t = e.hourCycle;
|
|
3069
3026
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3070
3027
|
e.hourCycles && // @ts-ignore
|
|
@@ -3086,20 +3043,20 @@ function xi(e) {
|
|
|
3086
3043
|
var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
|
|
3087
3044
|
return i[0];
|
|
3088
3045
|
}
|
|
3089
|
-
var
|
|
3046
|
+
var Ve, vi = new RegExp("^".concat(Nr.source, "*")), bi = new RegExp("".concat(Nr.source, "*$"));
|
|
3090
3047
|
function x(e, t) {
|
|
3091
3048
|
return { start: e, end: t };
|
|
3092
3049
|
}
|
|
3093
|
-
var
|
|
3050
|
+
var yi = !!String.prototype.startsWith && "_a".startsWith("a", 1), _i = !!String.fromCodePoint, xi = !!Object.fromEntries, wi = !!String.prototype.codePointAt, Ei = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Si = !!Number.isSafeInteger, Ii = Si ? Number.isSafeInteger : function(e) {
|
|
3094
3051
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3095
|
-
},
|
|
3052
|
+
}, nt = !0;
|
|
3096
3053
|
try {
|
|
3097
|
-
var
|
|
3098
|
-
|
|
3054
|
+
var Bi = Tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3055
|
+
nt = ((Ve = Bi.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
|
|
3099
3056
|
} catch {
|
|
3100
|
-
|
|
3057
|
+
nt = !1;
|
|
3101
3058
|
}
|
|
3102
|
-
var
|
|
3059
|
+
var Ot = yi ? (
|
|
3103
3060
|
// Native
|
|
3104
3061
|
function(t, r, n) {
|
|
3105
3062
|
return t.startsWith(r, n);
|
|
@@ -3109,7 +3066,7 @@ var Ut = Ni ? (
|
|
|
3109
3066
|
function(t, r, n) {
|
|
3110
3067
|
return t.slice(n, n + r.length) === r;
|
|
3111
3068
|
}
|
|
3112
|
-
),
|
|
3069
|
+
), it = _i ? String.fromCodePoint : (
|
|
3113
3070
|
// IE11
|
|
3114
3071
|
function() {
|
|
3115
3072
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3121,9 +3078,9 @@ var Ut = Ni ? (
|
|
|
3121
3078
|
}
|
|
3122
3079
|
return n;
|
|
3123
3080
|
}
|
|
3124
|
-
),
|
|
3081
|
+
), Lt = (
|
|
3125
3082
|
// native
|
|
3126
|
-
|
|
3083
|
+
xi ? Object.fromEntries : (
|
|
3127
3084
|
// Ponyfill
|
|
3128
3085
|
function(t) {
|
|
3129
3086
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3133,7 +3090,7 @@ var Ut = Ni ? (
|
|
|
3133
3090
|
return r;
|
|
3134
3091
|
}
|
|
3135
3092
|
)
|
|
3136
|
-
),
|
|
3093
|
+
), Ar = wi ? (
|
|
3137
3094
|
// Native
|
|
3138
3095
|
function(t, r) {
|
|
3139
3096
|
return t.codePointAt(r);
|
|
@@ -3147,7 +3104,7 @@ var Ut = Ni ? (
|
|
|
3147
3104
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3148
3105
|
}
|
|
3149
3106
|
}
|
|
3150
|
-
),
|
|
3107
|
+
), Ai = Ei ? (
|
|
3151
3108
|
// Native
|
|
3152
3109
|
function(t) {
|
|
3153
3110
|
return t.trimStart();
|
|
@@ -3155,9 +3112,9 @@ var Ut = Ni ? (
|
|
|
3155
3112
|
) : (
|
|
3156
3113
|
// Ponyfill
|
|
3157
3114
|
function(t) {
|
|
3158
|
-
return t.replace(
|
|
3115
|
+
return t.replace(vi, "");
|
|
3159
3116
|
}
|
|
3160
|
-
),
|
|
3117
|
+
), Ti = Ni ? (
|
|
3161
3118
|
// Native
|
|
3162
3119
|
function(t) {
|
|
3163
3120
|
return t.trimEnd();
|
|
@@ -3165,32 +3122,32 @@ var Ut = Ni ? (
|
|
|
3165
3122
|
) : (
|
|
3166
3123
|
// Ponyfill
|
|
3167
3124
|
function(t) {
|
|
3168
|
-
return t.replace(
|
|
3125
|
+
return t.replace(bi, "");
|
|
3169
3126
|
}
|
|
3170
3127
|
);
|
|
3171
|
-
function
|
|
3128
|
+
function Tr(e, t) {
|
|
3172
3129
|
return new RegExp(e, t);
|
|
3173
3130
|
}
|
|
3174
|
-
var
|
|
3175
|
-
if (
|
|
3176
|
-
var
|
|
3177
|
-
|
|
3131
|
+
var ot;
|
|
3132
|
+
if (nt) {
|
|
3133
|
+
var Ct = Tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3134
|
+
ot = function(t, r) {
|
|
3178
3135
|
var n;
|
|
3179
|
-
|
|
3180
|
-
var i =
|
|
3136
|
+
Ct.lastIndex = r;
|
|
3137
|
+
var i = Ct.exec(t);
|
|
3181
3138
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3182
3139
|
};
|
|
3183
3140
|
} else
|
|
3184
|
-
|
|
3141
|
+
ot = function(t, r) {
|
|
3185
3142
|
for (var n = []; ; ) {
|
|
3186
|
-
var i =
|
|
3187
|
-
if (i === void 0 ||
|
|
3143
|
+
var i = Ar(t, r);
|
|
3144
|
+
if (i === void 0 || Pr(i) || Oi(i))
|
|
3188
3145
|
break;
|
|
3189
3146
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3190
3147
|
}
|
|
3191
|
-
return
|
|
3148
|
+
return it.apply(void 0, n);
|
|
3192
3149
|
};
|
|
3193
|
-
var
|
|
3150
|
+
var Pi = (
|
|
3194
3151
|
/** @class */
|
|
3195
3152
|
function() {
|
|
3196
3153
|
function e(t, r) {
|
|
@@ -3214,14 +3171,14 @@ var Ci = (
|
|
|
3214
3171
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3215
3172
|
var s = this.clonePosition();
|
|
3216
3173
|
this.bump(), i.push({
|
|
3217
|
-
type:
|
|
3174
|
+
type: I.pound,
|
|
3218
3175
|
location: x(s, this.clonePosition())
|
|
3219
3176
|
});
|
|
3220
3177
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3221
3178
|
if (n)
|
|
3222
3179
|
break;
|
|
3223
3180
|
return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3224
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3181
|
+
} else if (o === 60 && !this.ignoreTag && at(this.peek() || 0)) {
|
|
3225
3182
|
var a = this.parseTag(t, r);
|
|
3226
3183
|
if (a.err)
|
|
3227
3184
|
return a;
|
|
@@ -3242,7 +3199,7 @@ var Ci = (
|
|
|
3242
3199
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3243
3200
|
return {
|
|
3244
3201
|
val: {
|
|
3245
|
-
type:
|
|
3202
|
+
type: I.literal,
|
|
3246
3203
|
value: "<".concat(i, "/>"),
|
|
3247
3204
|
location: x(n, this.clonePosition())
|
|
3248
3205
|
},
|
|
@@ -3254,12 +3211,12 @@ var Ci = (
|
|
|
3254
3211
|
return o;
|
|
3255
3212
|
var a = o.val, s = this.clonePosition();
|
|
3256
3213
|
if (this.bumpIf("</")) {
|
|
3257
|
-
if (this.isEOF() || !
|
|
3214
|
+
if (this.isEOF() || !at(this.char()))
|
|
3258
3215
|
return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
|
|
3259
3216
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3260
3217
|
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3261
3218
|
val: {
|
|
3262
|
-
type:
|
|
3219
|
+
type: I.tag,
|
|
3263
3220
|
value: i,
|
|
3264
3221
|
children: a,
|
|
3265
3222
|
location: x(n, this.clonePosition())
|
|
@@ -3272,7 +3229,7 @@ var Ci = (
|
|
|
3272
3229
|
return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
|
|
3273
3230
|
}, e.prototype.parseTagName = function() {
|
|
3274
3231
|
var t = this.offset();
|
|
3275
|
-
for (this.bump(); !this.isEOF() &&
|
|
3232
|
+
for (this.bump(); !this.isEOF() && Mi(this.char()); )
|
|
3276
3233
|
this.bump();
|
|
3277
3234
|
return this.message.slice(t, this.offset());
|
|
3278
3235
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3296,12 +3253,12 @@ var Ci = (
|
|
|
3296
3253
|
}
|
|
3297
3254
|
var l = x(n, this.clonePosition());
|
|
3298
3255
|
return {
|
|
3299
|
-
val: { type:
|
|
3256
|
+
val: { type: I.literal, value: i, location: l },
|
|
3300
3257
|
err: null
|
|
3301
3258
|
};
|
|
3302
3259
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3303
3260
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3304
|
-
!
|
|
3261
|
+
!Hi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3305
3262
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3306
3263
|
if (this.isEOF() || this.char() !== 39)
|
|
3307
3264
|
return null;
|
|
@@ -3335,12 +3292,12 @@ var Ci = (
|
|
|
3335
3292
|
r.push(n);
|
|
3336
3293
|
this.bump();
|
|
3337
3294
|
}
|
|
3338
|
-
return
|
|
3295
|
+
return it.apply(void 0, r);
|
|
3339
3296
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3340
3297
|
if (this.isEOF())
|
|
3341
3298
|
return null;
|
|
3342
3299
|
var n = this.char();
|
|
3343
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3300
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), it(n));
|
|
3344
3301
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3345
3302
|
var n = this.clonePosition();
|
|
3346
3303
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3356,7 +3313,7 @@ var Ci = (
|
|
|
3356
3313
|
case 125:
|
|
3357
3314
|
return this.bump(), {
|
|
3358
3315
|
val: {
|
|
3359
|
-
type:
|
|
3316
|
+
type: I.argument,
|
|
3360
3317
|
// value does not include the opening and closing braces.
|
|
3361
3318
|
value: i,
|
|
3362
3319
|
location: x(n, this.clonePosition())
|
|
@@ -3369,7 +3326,7 @@ var Ci = (
|
|
|
3369
3326
|
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3370
3327
|
}
|
|
3371
3328
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3372
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3329
|
+
var t = this.clonePosition(), r = this.offset(), n = ot(this.message, r), i = r + n.length;
|
|
3373
3330
|
this.bumpTo(i);
|
|
3374
3331
|
var o = this.clonePosition(), a = x(t, o);
|
|
3375
3332
|
return { value: n, location: a };
|
|
@@ -3388,7 +3345,7 @@ var Ci = (
|
|
|
3388
3345
|
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3389
3346
|
if (d.err)
|
|
3390
3347
|
return d;
|
|
3391
|
-
var f =
|
|
3348
|
+
var f = Ti(d.val);
|
|
3392
3349
|
if (f.length === 0)
|
|
3393
3350
|
return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3394
3351
|
var p = x(h, this.clonePosition());
|
|
@@ -3398,25 +3355,25 @@ var Ci = (
|
|
|
3398
3355
|
if (g.err)
|
|
3399
3356
|
return g;
|
|
3400
3357
|
var v = x(i, this.clonePosition());
|
|
3401
|
-
if (u &&
|
|
3402
|
-
var
|
|
3358
|
+
if (u && Ot(u?.style, "::", 0)) {
|
|
3359
|
+
var A = Ai(u.style.slice(2));
|
|
3403
3360
|
if (s === "number") {
|
|
3404
|
-
var d = this.parseNumberSkeletonFromString(
|
|
3361
|
+
var d = this.parseNumberSkeletonFromString(A, u.styleLocation);
|
|
3405
3362
|
return d.err ? d : {
|
|
3406
|
-
val: { type:
|
|
3363
|
+
val: { type: I.number, value: n, location: v, style: d.val },
|
|
3407
3364
|
err: null
|
|
3408
3365
|
};
|
|
3409
3366
|
} else {
|
|
3410
|
-
if (
|
|
3367
|
+
if (A.length === 0)
|
|
3411
3368
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3412
|
-
var
|
|
3413
|
-
this.locale && (
|
|
3369
|
+
var S = A;
|
|
3370
|
+
this.locale && (S = pi(A, this.locale));
|
|
3414
3371
|
var f = {
|
|
3415
|
-
type:
|
|
3416
|
-
pattern:
|
|
3372
|
+
type: ne.dateTime,
|
|
3373
|
+
pattern: S,
|
|
3417
3374
|
location: u.styleLocation,
|
|
3418
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3419
|
-
}, b = s === "date" ?
|
|
3375
|
+
parsedOptions: this.shouldParseSkeletons ? li(S) : {}
|
|
3376
|
+
}, b = s === "date" ? I.date : I.time;
|
|
3420
3377
|
return {
|
|
3421
3378
|
val: { type: b, value: n, location: v, style: f },
|
|
3422
3379
|
err: null
|
|
@@ -3425,7 +3382,7 @@ var Ci = (
|
|
|
3425
3382
|
}
|
|
3426
3383
|
return {
|
|
3427
3384
|
val: {
|
|
3428
|
-
type: s === "number" ?
|
|
3385
|
+
type: s === "number" ? I.number : s === "date" ? I.date : I.time,
|
|
3429
3386
|
value: n,
|
|
3430
3387
|
location: v,
|
|
3431
3388
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3436,21 +3393,21 @@ var Ci = (
|
|
|
3436
3393
|
case "plural":
|
|
3437
3394
|
case "selectordinal":
|
|
3438
3395
|
case "select": {
|
|
3439
|
-
var
|
|
3396
|
+
var N = this.clonePosition();
|
|
3440
3397
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3441
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(
|
|
3398
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(N, w({}, N)));
|
|
3442
3399
|
this.bumpSpace();
|
|
3443
|
-
var
|
|
3444
|
-
if (s !== "select" &&
|
|
3400
|
+
var E = this.parseIdentifierIfPossible(), T = 0;
|
|
3401
|
+
if (s !== "select" && E.value === "offset") {
|
|
3445
3402
|
if (!this.bumpIf(":"))
|
|
3446
3403
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
3447
3404
|
this.bumpSpace();
|
|
3448
3405
|
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3449
3406
|
if (d.err)
|
|
3450
3407
|
return d;
|
|
3451
|
-
this.bumpSpace(),
|
|
3408
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), T = d.val;
|
|
3452
3409
|
}
|
|
3453
|
-
var j = this.tryParsePluralOrSelectOptions(t, s, r,
|
|
3410
|
+
var j = this.tryParsePluralOrSelectOptions(t, s, r, E);
|
|
3454
3411
|
if (j.err)
|
|
3455
3412
|
return j;
|
|
3456
3413
|
var g = this.tryParseArgumentClose(i);
|
|
@@ -3459,17 +3416,17 @@ var Ci = (
|
|
|
3459
3416
|
var Q = x(i, this.clonePosition());
|
|
3460
3417
|
return s === "select" ? {
|
|
3461
3418
|
val: {
|
|
3462
|
-
type:
|
|
3419
|
+
type: I.select,
|
|
3463
3420
|
value: n,
|
|
3464
|
-
options:
|
|
3421
|
+
options: Lt(j.val),
|
|
3465
3422
|
location: Q
|
|
3466
3423
|
},
|
|
3467
3424
|
err: null
|
|
3468
3425
|
} : {
|
|
3469
3426
|
val: {
|
|
3470
|
-
type:
|
|
3427
|
+
type: I.plural,
|
|
3471
3428
|
value: n,
|
|
3472
|
-
options:
|
|
3429
|
+
options: Lt(j.val),
|
|
3473
3430
|
offset: T,
|
|
3474
3431
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3475
3432
|
location: Q
|
|
@@ -3520,16 +3477,16 @@ var Ci = (
|
|
|
3520
3477
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3521
3478
|
var n = [];
|
|
3522
3479
|
try {
|
|
3523
|
-
n =
|
|
3480
|
+
n = hi(t);
|
|
3524
3481
|
} catch {
|
|
3525
3482
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3526
3483
|
}
|
|
3527
3484
|
return {
|
|
3528
3485
|
val: {
|
|
3529
|
-
type:
|
|
3486
|
+
type: ne.number,
|
|
3530
3487
|
tokens: n,
|
|
3531
3488
|
location: r,
|
|
3532
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3489
|
+
parsedOptions: this.shouldParseSkeletons ? mi(n) : {}
|
|
3533
3490
|
},
|
|
3534
3491
|
err: null
|
|
3535
3492
|
};
|
|
@@ -3577,7 +3534,7 @@ var Ci = (
|
|
|
3577
3534
|
break;
|
|
3578
3535
|
}
|
|
3579
3536
|
var l = x(i, this.clonePosition());
|
|
3580
|
-
return o ? (a *= n,
|
|
3537
|
+
return o ? (a *= n, Ii(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3581
3538
|
}, e.prototype.offset = function() {
|
|
3582
3539
|
return this.position.offset;
|
|
3583
3540
|
}, e.prototype.isEOF = function() {
|
|
@@ -3592,7 +3549,7 @@ var Ci = (
|
|
|
3592
3549
|
var t = this.position.offset;
|
|
3593
3550
|
if (t >= this.message.length)
|
|
3594
3551
|
throw Error("out of bound");
|
|
3595
|
-
var r =
|
|
3552
|
+
var r = Ar(this.message, t);
|
|
3596
3553
|
if (r === void 0)
|
|
3597
3554
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3598
3555
|
return r;
|
|
@@ -3611,7 +3568,7 @@ var Ci = (
|
|
|
3611
3568
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3612
3569
|
}
|
|
3613
3570
|
}, e.prototype.bumpIf = function(t) {
|
|
3614
|
-
if (
|
|
3571
|
+
if (Ot(this.message, t, this.offset())) {
|
|
3615
3572
|
for (var r = 0; r < t.length; r++)
|
|
3616
3573
|
this.bump();
|
|
3617
3574
|
return !0;
|
|
@@ -3633,7 +3590,7 @@ var Ci = (
|
|
|
3633
3590
|
break;
|
|
3634
3591
|
}
|
|
3635
3592
|
}, e.prototype.bumpSpace = function() {
|
|
3636
|
-
for (; !this.isEOF() &&
|
|
3593
|
+
for (; !this.isEOF() && Pr(this.char()); )
|
|
3637
3594
|
this.bump();
|
|
3638
3595
|
}, e.prototype.peek = function() {
|
|
3639
3596
|
if (this.isEOF())
|
|
@@ -3643,47 +3600,47 @@ var Ci = (
|
|
|
3643
3600
|
}, e;
|
|
3644
3601
|
}()
|
|
3645
3602
|
);
|
|
3646
|
-
function
|
|
3603
|
+
function at(e) {
|
|
3647
3604
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3648
3605
|
}
|
|
3649
|
-
function
|
|
3650
|
-
return
|
|
3606
|
+
function Hi(e) {
|
|
3607
|
+
return at(e) || e === 47;
|
|
3651
3608
|
}
|
|
3652
|
-
function
|
|
3609
|
+
function Mi(e) {
|
|
3653
3610
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3654
3611
|
}
|
|
3655
|
-
function
|
|
3612
|
+
function Pr(e) {
|
|
3656
3613
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3657
3614
|
}
|
|
3658
|
-
function
|
|
3615
|
+
function Oi(e) {
|
|
3659
3616
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3660
3617
|
}
|
|
3661
|
-
function
|
|
3618
|
+
function st(e) {
|
|
3662
3619
|
e.forEach(function(t) {
|
|
3663
|
-
if (delete t.location,
|
|
3620
|
+
if (delete t.location, _r(t) || xr(t))
|
|
3664
3621
|
for (var r in t.options)
|
|
3665
|
-
delete t.options[r].location,
|
|
3622
|
+
delete t.options[r].location, st(t.options[r].value);
|
|
3666
3623
|
else
|
|
3667
|
-
|
|
3624
|
+
vr(t) && Er(t.style) || (br(t) || yr(t)) && rt(t.style) ? delete t.style.location : wr(t) && st(t.children);
|
|
3668
3625
|
});
|
|
3669
3626
|
}
|
|
3670
|
-
function
|
|
3671
|
-
t === void 0 && (t = {}), t =
|
|
3672
|
-
var r = new
|
|
3627
|
+
function Li(e, t) {
|
|
3628
|
+
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3629
|
+
var r = new Pi(e, t).parse();
|
|
3673
3630
|
if (r.err) {
|
|
3674
3631
|
var n = SyntaxError(_[r.err.kind]);
|
|
3675
3632
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3676
3633
|
}
|
|
3677
|
-
return t?.captureLocation ||
|
|
3634
|
+
return t?.captureLocation || st(r.val), r.val;
|
|
3678
3635
|
}
|
|
3679
|
-
var
|
|
3636
|
+
var ie;
|
|
3680
3637
|
(function(e) {
|
|
3681
3638
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3682
|
-
})(
|
|
3683
|
-
var
|
|
3639
|
+
})(ie || (ie = {}));
|
|
3640
|
+
var Le = (
|
|
3684
3641
|
/** @class */
|
|
3685
3642
|
function(e) {
|
|
3686
|
-
|
|
3643
|
+
k(t, e);
|
|
3687
3644
|
function t(r, n, i) {
|
|
3688
3645
|
var o = e.call(this, r) || this;
|
|
3689
3646
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3692,48 +3649,48 @@ var Fe = (
|
|
|
3692
3649
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3693
3650
|
}, t;
|
|
3694
3651
|
}(Error)
|
|
3695
|
-
),
|
|
3652
|
+
), Ft = (
|
|
3696
3653
|
/** @class */
|
|
3697
3654
|
function(e) {
|
|
3698
|
-
|
|
3655
|
+
k(t, e);
|
|
3699
3656
|
function t(r, n, i, o) {
|
|
3700
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3657
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
|
|
3701
3658
|
}
|
|
3702
3659
|
return t;
|
|
3703
|
-
}(
|
|
3704
|
-
),
|
|
3660
|
+
}(Le)
|
|
3661
|
+
), Ci = (
|
|
3705
3662
|
/** @class */
|
|
3706
3663
|
function(e) {
|
|
3707
|
-
|
|
3664
|
+
k(t, e);
|
|
3708
3665
|
function t(r, n, i) {
|
|
3709
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3666
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
|
|
3710
3667
|
}
|
|
3711
3668
|
return t;
|
|
3712
|
-
}(
|
|
3713
|
-
),
|
|
3669
|
+
}(Le)
|
|
3670
|
+
), Fi = (
|
|
3714
3671
|
/** @class */
|
|
3715
3672
|
function(e) {
|
|
3716
|
-
|
|
3673
|
+
k(t, e);
|
|
3717
3674
|
function t(r, n) {
|
|
3718
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3675
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
|
|
3719
3676
|
}
|
|
3720
3677
|
return t;
|
|
3721
|
-
}(
|
|
3678
|
+
}(Le)
|
|
3722
3679
|
), M;
|
|
3723
3680
|
(function(e) {
|
|
3724
3681
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3725
3682
|
})(M || (M = {}));
|
|
3726
|
-
function
|
|
3683
|
+
function Ri(e) {
|
|
3727
3684
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3728
3685
|
var n = t[t.length - 1];
|
|
3729
3686
|
return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
|
|
3730
3687
|
}, []);
|
|
3731
3688
|
}
|
|
3732
|
-
function
|
|
3689
|
+
function Ui(e) {
|
|
3733
3690
|
return typeof e == "function";
|
|
3734
3691
|
}
|
|
3735
3692
|
function Ie(e, t, r, n, i, o, a) {
|
|
3736
|
-
if (e.length === 1 &&
|
|
3693
|
+
if (e.length === 1 && Tt(e[0]))
|
|
3737
3694
|
return [
|
|
3738
3695
|
{
|
|
3739
3696
|
type: M.literal,
|
|
@@ -3742,14 +3699,14 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3742
3699
|
];
|
|
3743
3700
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3744
3701
|
var h = u[l];
|
|
3745
|
-
if (
|
|
3702
|
+
if (Tt(h)) {
|
|
3746
3703
|
s.push({
|
|
3747
3704
|
type: M.literal,
|
|
3748
3705
|
value: h.value
|
|
3749
3706
|
});
|
|
3750
3707
|
continue;
|
|
3751
3708
|
}
|
|
3752
|
-
if (
|
|
3709
|
+
if (ai(h)) {
|
|
3753
3710
|
typeof o == "number" && s.push({
|
|
3754
3711
|
type: M.literal,
|
|
3755
3712
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3758,44 +3715,44 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3758
3715
|
}
|
|
3759
3716
|
var d = h.value;
|
|
3760
3717
|
if (!(i && d in i))
|
|
3761
|
-
throw new
|
|
3718
|
+
throw new Fi(d, a);
|
|
3762
3719
|
var f = i[d];
|
|
3763
|
-
if (
|
|
3720
|
+
if (oi(h)) {
|
|
3764
3721
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3765
3722
|
type: typeof f == "string" ? M.literal : M.object,
|
|
3766
3723
|
value: f
|
|
3767
3724
|
});
|
|
3768
3725
|
continue;
|
|
3769
3726
|
}
|
|
3770
|
-
if (
|
|
3771
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3727
|
+
if (br(h)) {
|
|
3728
|
+
var p = typeof h.style == "string" ? n.date[h.style] : rt(h.style) ? h.style.parsedOptions : void 0;
|
|
3772
3729
|
s.push({
|
|
3773
3730
|
type: M.literal,
|
|
3774
3731
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3775
3732
|
});
|
|
3776
3733
|
continue;
|
|
3777
3734
|
}
|
|
3778
|
-
if (
|
|
3779
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3735
|
+
if (yr(h)) {
|
|
3736
|
+
var p = typeof h.style == "string" ? n.time[h.style] : rt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3780
3737
|
s.push({
|
|
3781
3738
|
type: M.literal,
|
|
3782
3739
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3783
3740
|
});
|
|
3784
3741
|
continue;
|
|
3785
3742
|
}
|
|
3786
|
-
if (
|
|
3787
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3743
|
+
if (vr(h)) {
|
|
3744
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Er(h.style) ? h.style.parsedOptions : void 0;
|
|
3788
3745
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3789
3746
|
type: M.literal,
|
|
3790
3747
|
value: r.getNumberFormat(t, p).format(f)
|
|
3791
3748
|
});
|
|
3792
3749
|
continue;
|
|
3793
3750
|
}
|
|
3794
|
-
if (
|
|
3795
|
-
var g = h.children, v = h.value,
|
|
3796
|
-
if (!
|
|
3797
|
-
throw new
|
|
3798
|
-
var
|
|
3751
|
+
if (wr(h)) {
|
|
3752
|
+
var g = h.children, v = h.value, A = i[v];
|
|
3753
|
+
if (!Ui(A))
|
|
3754
|
+
throw new Ci(v, "function", a);
|
|
3755
|
+
var S = Ie(g, t, r, n, i, o), b = A(S.map(function(T) {
|
|
3799
3756
|
return T.value;
|
|
3800
3757
|
}));
|
|
3801
3758
|
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(T) {
|
|
@@ -3805,42 +3762,42 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3805
3762
|
};
|
|
3806
3763
|
}));
|
|
3807
3764
|
}
|
|
3808
|
-
if (
|
|
3809
|
-
var
|
|
3810
|
-
if (!
|
|
3811
|
-
throw new
|
|
3812
|
-
s.push.apply(s, Ie(
|
|
3765
|
+
if (_r(h)) {
|
|
3766
|
+
var N = h.options[f] || h.options.other;
|
|
3767
|
+
if (!N)
|
|
3768
|
+
throw new Ft(h.value, f, Object.keys(h.options), a);
|
|
3769
|
+
s.push.apply(s, Ie(N.value, t, r, n, i));
|
|
3813
3770
|
continue;
|
|
3814
3771
|
}
|
|
3815
|
-
if (
|
|
3816
|
-
var
|
|
3817
|
-
if (!
|
|
3772
|
+
if (xr(h)) {
|
|
3773
|
+
var N = h.options["=".concat(f)];
|
|
3774
|
+
if (!N) {
|
|
3818
3775
|
if (!Intl.PluralRules)
|
|
3819
|
-
throw new
|
|
3776
|
+
throw new Le(`Intl.PluralRules is not available in this environment.
|
|
3820
3777
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3821
|
-
`,
|
|
3822
|
-
var
|
|
3823
|
-
|
|
3778
|
+
`, ie.MISSING_INTL_API, a);
|
|
3779
|
+
var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3780
|
+
N = h.options[E] || h.options.other;
|
|
3824
3781
|
}
|
|
3825
|
-
if (!
|
|
3826
|
-
throw new
|
|
3827
|
-
s.push.apply(s, Ie(
|
|
3782
|
+
if (!N)
|
|
3783
|
+
throw new Ft(h.value, f, Object.keys(h.options), a);
|
|
3784
|
+
s.push.apply(s, Ie(N.value, t, r, n, i, f - (h.offset || 0)));
|
|
3828
3785
|
continue;
|
|
3829
3786
|
}
|
|
3830
3787
|
}
|
|
3831
|
-
return
|
|
3788
|
+
return Ri(s);
|
|
3832
3789
|
}
|
|
3833
|
-
function
|
|
3834
|
-
return t ?
|
|
3835
|
-
return r[n] =
|
|
3790
|
+
function Di(e, t) {
|
|
3791
|
+
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3792
|
+
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3836
3793
|
}, {})) : e;
|
|
3837
3794
|
}
|
|
3838
|
-
function
|
|
3795
|
+
function Gi(e, t) {
|
|
3839
3796
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3840
|
-
return r[n] =
|
|
3841
|
-
},
|
|
3797
|
+
return r[n] = Di(e[n], t[n]), r;
|
|
3798
|
+
}, w({}, e)) : e;
|
|
3842
3799
|
}
|
|
3843
|
-
function
|
|
3800
|
+
function Xe(e) {
|
|
3844
3801
|
return {
|
|
3845
3802
|
create: function() {
|
|
3846
3803
|
return {
|
|
@@ -3854,39 +3811,39 @@ function Qe(e) {
|
|
|
3854
3811
|
}
|
|
3855
3812
|
};
|
|
3856
3813
|
}
|
|
3857
|
-
function
|
|
3814
|
+
function $i(e) {
|
|
3858
3815
|
return e === void 0 && (e = {
|
|
3859
3816
|
number: {},
|
|
3860
3817
|
dateTime: {},
|
|
3861
3818
|
pluralRules: {}
|
|
3862
3819
|
}), {
|
|
3863
|
-
getNumberFormat:
|
|
3820
|
+
getNumberFormat: je(function() {
|
|
3864
3821
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3865
3822
|
r[n] = arguments[n];
|
|
3866
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3823
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], r, !1)))();
|
|
3867
3824
|
}, {
|
|
3868
|
-
cache:
|
|
3869
|
-
strategy:
|
|
3825
|
+
cache: Xe(e.number),
|
|
3826
|
+
strategy: We.variadic
|
|
3870
3827
|
}),
|
|
3871
|
-
getDateTimeFormat:
|
|
3828
|
+
getDateTimeFormat: je(function() {
|
|
3872
3829
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3873
3830
|
r[n] = arguments[n];
|
|
3874
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3831
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], r, !1)))();
|
|
3875
3832
|
}, {
|
|
3876
|
-
cache:
|
|
3877
|
-
strategy:
|
|
3833
|
+
cache: Xe(e.dateTime),
|
|
3834
|
+
strategy: We.variadic
|
|
3878
3835
|
}),
|
|
3879
|
-
getPluralRules:
|
|
3836
|
+
getPluralRules: je(function() {
|
|
3880
3837
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3881
3838
|
r[n] = arguments[n];
|
|
3882
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3839
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], r, !1)))();
|
|
3883
3840
|
}, {
|
|
3884
|
-
cache:
|
|
3885
|
-
strategy:
|
|
3841
|
+
cache: Xe(e.pluralRules),
|
|
3842
|
+
strategy: We.variadic
|
|
3886
3843
|
})
|
|
3887
3844
|
};
|
|
3888
3845
|
}
|
|
3889
|
-
var
|
|
3846
|
+
var ki = (
|
|
3890
3847
|
/** @class */
|
|
3891
3848
|
function() {
|
|
3892
3849
|
function e(t, r, n, i) {
|
|
@@ -3918,13 +3875,13 @@ var zi = (
|
|
|
3918
3875
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3919
3876
|
var a = i || {};
|
|
3920
3877
|
a.formatters;
|
|
3921
|
-
var s =
|
|
3922
|
-
this.ast = e.__parse(t,
|
|
3878
|
+
var s = _n(a, ["formatters"]);
|
|
3879
|
+
this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
|
|
3923
3880
|
} else
|
|
3924
3881
|
this.ast = t;
|
|
3925
3882
|
if (!Array.isArray(this.ast))
|
|
3926
3883
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3927
|
-
this.formats =
|
|
3884
|
+
this.formats = Gi(e.formats, n), this.formatters = i && i.formatters || $i(this.formatterCache);
|
|
3928
3885
|
}
|
|
3929
3886
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3930
3887
|
get: function() {
|
|
@@ -3937,7 +3894,7 @@ var zi = (
|
|
|
3937
3894
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3938
3895
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3939
3896
|
}
|
|
3940
|
-
}, e.__parse =
|
|
3897
|
+
}, e.__parse = Li, e.formats = {
|
|
3941
3898
|
number: {
|
|
3942
3899
|
integer: {
|
|
3943
3900
|
maximumFractionDigits: 0
|
|
@@ -3998,7 +3955,7 @@ var zi = (
|
|
|
3998
3955
|
}, e;
|
|
3999
3956
|
}()
|
|
4000
3957
|
);
|
|
4001
|
-
function
|
|
3958
|
+
function ji(e, t) {
|
|
4002
3959
|
if (t == null)
|
|
4003
3960
|
return;
|
|
4004
3961
|
if (t in e)
|
|
@@ -4019,92 +3976,92 @@ function Zi(e, t) {
|
|
|
4019
3976
|
n = void 0;
|
|
4020
3977
|
return n;
|
|
4021
3978
|
}
|
|
4022
|
-
const V = {},
|
|
3979
|
+
const V = {}, Wi = (e, t, r) => r && (t in V || (V[t] = {}), e in V[t] || (V[t][e] = r), r), Hr = (e, t) => {
|
|
4023
3980
|
if (t == null)
|
|
4024
3981
|
return;
|
|
4025
3982
|
if (t in V && e in V[t])
|
|
4026
3983
|
return V[t][e];
|
|
4027
|
-
const r =
|
|
3984
|
+
const r = Ce(t);
|
|
4028
3985
|
for (let n = 0; n < r.length; n++) {
|
|
4029
|
-
const i = r[n], o =
|
|
3986
|
+
const i = r[n], o = Xi(i, e);
|
|
4030
3987
|
if (o)
|
|
4031
|
-
return
|
|
3988
|
+
return Wi(e, t, o);
|
|
4032
3989
|
}
|
|
4033
3990
|
};
|
|
4034
|
-
let
|
|
4035
|
-
const be =
|
|
4036
|
-
function
|
|
4037
|
-
return
|
|
3991
|
+
let ft;
|
|
3992
|
+
const be = Oe({});
|
|
3993
|
+
function Vi(e) {
|
|
3994
|
+
return ft[e] || null;
|
|
4038
3995
|
}
|
|
4039
|
-
function
|
|
4040
|
-
return e in
|
|
3996
|
+
function Mr(e) {
|
|
3997
|
+
return e in ft;
|
|
4041
3998
|
}
|
|
4042
|
-
function
|
|
4043
|
-
if (!
|
|
3999
|
+
function Xi(e, t) {
|
|
4000
|
+
if (!Mr(e))
|
|
4044
4001
|
return null;
|
|
4045
|
-
const r =
|
|
4046
|
-
return
|
|
4002
|
+
const r = Vi(e);
|
|
4003
|
+
return ji(r, t);
|
|
4047
4004
|
}
|
|
4048
|
-
function
|
|
4005
|
+
function zi(e) {
|
|
4049
4006
|
if (e == null)
|
|
4050
4007
|
return;
|
|
4051
|
-
const t =
|
|
4008
|
+
const t = Ce(e);
|
|
4052
4009
|
for (let r = 0; r < t.length; r++) {
|
|
4053
4010
|
const n = t[r];
|
|
4054
|
-
if (
|
|
4011
|
+
if (Mr(n))
|
|
4055
4012
|
return n;
|
|
4056
4013
|
}
|
|
4057
4014
|
}
|
|
4058
|
-
function
|
|
4059
|
-
delete V[e], be.update((r) => (r[e] =
|
|
4015
|
+
function Or(e, ...t) {
|
|
4016
|
+
delete V[e], be.update((r) => (r[e] = Jn.all([r[e] || {}, ...t]), r));
|
|
4060
4017
|
}
|
|
4061
|
-
|
|
4018
|
+
se(
|
|
4062
4019
|
[be],
|
|
4063
4020
|
([e]) => Object.keys(e)
|
|
4064
4021
|
);
|
|
4065
|
-
be.subscribe((e) =>
|
|
4022
|
+
be.subscribe((e) => ft = e);
|
|
4066
4023
|
const Be = {};
|
|
4067
|
-
function
|
|
4024
|
+
function Zi(e, t) {
|
|
4068
4025
|
Be[e].delete(t), Be[e].size === 0 && delete Be[e];
|
|
4069
4026
|
}
|
|
4070
|
-
function
|
|
4027
|
+
function Lr(e) {
|
|
4071
4028
|
return Be[e];
|
|
4072
4029
|
}
|
|
4073
|
-
function
|
|
4074
|
-
return
|
|
4075
|
-
const r =
|
|
4030
|
+
function Qi(e) {
|
|
4031
|
+
return Ce(e).map((t) => {
|
|
4032
|
+
const r = Lr(t);
|
|
4076
4033
|
return [t, r ? [...r] : []];
|
|
4077
4034
|
}).filter(([, t]) => t.length > 0);
|
|
4078
4035
|
}
|
|
4079
|
-
function
|
|
4080
|
-
return e == null ? !1 :
|
|
4036
|
+
function lt(e) {
|
|
4037
|
+
return e == null ? !1 : Ce(e).some(
|
|
4081
4038
|
(t) => {
|
|
4082
4039
|
var r;
|
|
4083
|
-
return (r =
|
|
4040
|
+
return (r = Lr(t)) == null ? void 0 : r.size;
|
|
4084
4041
|
}
|
|
4085
4042
|
);
|
|
4086
4043
|
}
|
|
4087
|
-
function
|
|
4044
|
+
function Yi(e, t) {
|
|
4088
4045
|
return Promise.all(
|
|
4089
|
-
t.map((n) => (
|
|
4090
|
-
).then((n) =>
|
|
4091
|
-
}
|
|
4092
|
-
const
|
|
4093
|
-
function
|
|
4094
|
-
if (!
|
|
4095
|
-
return e in
|
|
4096
|
-
const t =
|
|
4097
|
-
return
|
|
4046
|
+
t.map((n) => (Zi(e, n), n().then((i) => i.default || i)))
|
|
4047
|
+
).then((n) => Or(e, ...n));
|
|
4048
|
+
}
|
|
4049
|
+
const ce = {};
|
|
4050
|
+
function Cr(e) {
|
|
4051
|
+
if (!lt(e))
|
|
4052
|
+
return e in ce ? ce[e] : Promise.resolve();
|
|
4053
|
+
const t = Qi(e);
|
|
4054
|
+
return ce[e] = Promise.all(
|
|
4098
4055
|
t.map(
|
|
4099
|
-
([r, n]) =>
|
|
4056
|
+
([r, n]) => Yi(r, n)
|
|
4100
4057
|
)
|
|
4101
4058
|
).then(() => {
|
|
4102
|
-
if (
|
|
4103
|
-
return
|
|
4104
|
-
delete
|
|
4105
|
-
}),
|
|
4059
|
+
if (lt(e))
|
|
4060
|
+
return Cr(e);
|
|
4061
|
+
delete ce[e];
|
|
4062
|
+
}), ce[e];
|
|
4106
4063
|
}
|
|
4107
|
-
const
|
|
4064
|
+
const Ji = {
|
|
4108
4065
|
number: {
|
|
4109
4066
|
scientific: { notation: "scientific" },
|
|
4110
4067
|
engineering: { notation: "engineering" },
|
|
@@ -4133,135 +4090,135 @@ const ro = {
|
|
|
4133
4090
|
timeZoneName: "short"
|
|
4134
4091
|
}
|
|
4135
4092
|
}
|
|
4136
|
-
},
|
|
4093
|
+
}, qi = {
|
|
4137
4094
|
fallbackLocale: null,
|
|
4138
4095
|
loadingDelay: 200,
|
|
4139
|
-
formats:
|
|
4096
|
+
formats: Ji,
|
|
4140
4097
|
warnOnMissingMessages: !0,
|
|
4141
4098
|
handleMissingMessage: void 0,
|
|
4142
4099
|
ignoreTag: !0
|
|
4143
|
-
},
|
|
4144
|
-
function
|
|
4145
|
-
return
|
|
4100
|
+
}, Ki = qi;
|
|
4101
|
+
function oe() {
|
|
4102
|
+
return Ki;
|
|
4146
4103
|
}
|
|
4147
|
-
const
|
|
4148
|
-
var
|
|
4104
|
+
const ze = Oe(!1);
|
|
4105
|
+
var eo = Object.defineProperty, to = Object.defineProperties, ro = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, no = Object.prototype.hasOwnProperty, io = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oo = (e, t) => {
|
|
4149
4106
|
for (var r in t || (t = {}))
|
|
4150
|
-
|
|
4151
|
-
if (
|
|
4152
|
-
for (var r of
|
|
4153
|
-
|
|
4107
|
+
no.call(t, r) && Ut(e, r, t[r]);
|
|
4108
|
+
if (Rt)
|
|
4109
|
+
for (var r of Rt(t))
|
|
4110
|
+
io.call(t, r) && Ut(e, r, t[r]);
|
|
4154
4111
|
return e;
|
|
4155
|
-
},
|
|
4156
|
-
let
|
|
4157
|
-
const
|
|
4158
|
-
function
|
|
4112
|
+
}, ao = (e, t) => to(e, ro(t));
|
|
4113
|
+
let ut;
|
|
4114
|
+
const Te = Oe(null);
|
|
4115
|
+
function Dt(e) {
|
|
4159
4116
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4160
4117
|
}
|
|
4161
|
-
function
|
|
4162
|
-
const r =
|
|
4163
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4118
|
+
function Ce(e, t = oe().fallbackLocale) {
|
|
4119
|
+
const r = Dt(e);
|
|
4120
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
|
|
4164
4121
|
}
|
|
4165
4122
|
function Z() {
|
|
4166
|
-
return
|
|
4123
|
+
return ut ?? void 0;
|
|
4167
4124
|
}
|
|
4168
|
-
|
|
4169
|
-
|
|
4125
|
+
Te.subscribe((e) => {
|
|
4126
|
+
ut = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4170
4127
|
});
|
|
4171
|
-
const
|
|
4172
|
-
if (e &&
|
|
4173
|
-
const { loadingDelay: t } =
|
|
4128
|
+
const so = (e) => {
|
|
4129
|
+
if (e && zi(e) && lt(e)) {
|
|
4130
|
+
const { loadingDelay: t } = oe();
|
|
4174
4131
|
let r;
|
|
4175
4132
|
return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
|
|
4176
|
-
() =>
|
|
4133
|
+
() => ze.set(!0),
|
|
4177
4134
|
t
|
|
4178
|
-
) :
|
|
4179
|
-
|
|
4135
|
+
) : ze.set(!0), Cr(e).then(() => {
|
|
4136
|
+
Te.set(e);
|
|
4180
4137
|
}).finally(() => {
|
|
4181
|
-
clearTimeout(r),
|
|
4138
|
+
clearTimeout(r), ze.set(!1);
|
|
4182
4139
|
});
|
|
4183
4140
|
}
|
|
4184
|
-
return
|
|
4185
|
-
},
|
|
4186
|
-
set:
|
|
4187
|
-
}),
|
|
4141
|
+
return Te.set(e);
|
|
4142
|
+
}, le = ao(oo({}, Te), {
|
|
4143
|
+
set: so
|
|
4144
|
+
}), Fe = (e) => {
|
|
4188
4145
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4189
4146
|
return (n) => {
|
|
4190
4147
|
const i = JSON.stringify(n);
|
|
4191
4148
|
return i in t ? t[i] : t[i] = e(n);
|
|
4192
4149
|
};
|
|
4193
4150
|
};
|
|
4194
|
-
var
|
|
4151
|
+
var lo = Object.defineProperty, Pe = Object.getOwnPropertySymbols, Fr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
|
|
4195
4152
|
for (var r in t || (t = {}))
|
|
4196
|
-
|
|
4197
|
-
if (
|
|
4198
|
-
for (var r of
|
|
4199
|
-
|
|
4153
|
+
Fr.call(t, r) && Gt(e, r, t[r]);
|
|
4154
|
+
if (Pe)
|
|
4155
|
+
for (var r of Pe(t))
|
|
4156
|
+
Rr.call(t, r) && Gt(e, r, t[r]);
|
|
4200
4157
|
return e;
|
|
4201
|
-
},
|
|
4158
|
+
}, ue = (e, t) => {
|
|
4202
4159
|
var r = {};
|
|
4203
4160
|
for (var n in e)
|
|
4204
|
-
|
|
4205
|
-
if (e != null &&
|
|
4206
|
-
for (var n of
|
|
4207
|
-
t.indexOf(n) < 0 &&
|
|
4161
|
+
Fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4162
|
+
if (e != null && Pe)
|
|
4163
|
+
for (var n of Pe(e))
|
|
4164
|
+
t.indexOf(n) < 0 && Rr.call(e, n) && (r[n] = e[n]);
|
|
4208
4165
|
return r;
|
|
4209
4166
|
};
|
|
4210
|
-
const
|
|
4211
|
-
const { formats: r } =
|
|
4167
|
+
const ge = (e, t) => {
|
|
4168
|
+
const { formats: r } = oe();
|
|
4212
4169
|
if (e in r && t in r[e])
|
|
4213
4170
|
return r[e][t];
|
|
4214
4171
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4215
|
-
},
|
|
4172
|
+
}, uo = Fe(
|
|
4216
4173
|
(e) => {
|
|
4217
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4174
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4218
4175
|
if (r == null)
|
|
4219
4176
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4220
|
-
return n && (i =
|
|
4177
|
+
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
4221
4178
|
}
|
|
4222
|
-
),
|
|
4179
|
+
), ho = Fe(
|
|
4223
4180
|
(e) => {
|
|
4224
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4181
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4225
4182
|
if (r == null)
|
|
4226
4183
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4227
|
-
return n ? i =
|
|
4184
|
+
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4228
4185
|
}
|
|
4229
|
-
),
|
|
4186
|
+
), co = Fe(
|
|
4230
4187
|
(e) => {
|
|
4231
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4188
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4232
4189
|
if (r == null)
|
|
4233
4190
|
throw new Error(
|
|
4234
4191
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4235
4192
|
);
|
|
4236
|
-
return n ? i =
|
|
4193
|
+
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4237
4194
|
}
|
|
4238
|
-
),
|
|
4195
|
+
), fo = (e = {}) => {
|
|
4239
4196
|
var t = e, {
|
|
4240
4197
|
locale: r = Z()
|
|
4241
|
-
} = t, n =
|
|
4198
|
+
} = t, n = ue(t, [
|
|
4242
4199
|
"locale"
|
|
4243
4200
|
]);
|
|
4244
|
-
return
|
|
4245
|
-
},
|
|
4201
|
+
return uo(dt({ locale: r }, n));
|
|
4202
|
+
}, mo = (e = {}) => {
|
|
4246
4203
|
var t = e, {
|
|
4247
4204
|
locale: r = Z()
|
|
4248
|
-
} = t, n =
|
|
4205
|
+
} = t, n = ue(t, [
|
|
4249
4206
|
"locale"
|
|
4250
4207
|
]);
|
|
4251
|
-
return
|
|
4252
|
-
},
|
|
4208
|
+
return ho(dt({ locale: r }, n));
|
|
4209
|
+
}, po = (e = {}) => {
|
|
4253
4210
|
var t = e, {
|
|
4254
4211
|
locale: r = Z()
|
|
4255
|
-
} = t, n =
|
|
4212
|
+
} = t, n = ue(t, [
|
|
4256
4213
|
"locale"
|
|
4257
4214
|
]);
|
|
4258
|
-
return
|
|
4259
|
-
},
|
|
4215
|
+
return co(dt({ locale: r }, n));
|
|
4216
|
+
}, go = Fe(
|
|
4260
4217
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4261
|
-
(e, t = Z()) => new
|
|
4262
|
-
ignoreTag:
|
|
4218
|
+
(e, t = Z()) => new ki(e, t, oe().formats, {
|
|
4219
|
+
ignoreTag: oe().ignoreTag
|
|
4263
4220
|
})
|
|
4264
|
-
),
|
|
4221
|
+
), vo = (e, t = {}) => {
|
|
4265
4222
|
var r, n, i, o;
|
|
4266
4223
|
let a = t;
|
|
4267
4224
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4274,9 +4231,9 @@ const pe = (e, t) => {
|
|
|
4274
4231
|
throw new Error(
|
|
4275
4232
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4276
4233
|
);
|
|
4277
|
-
let h =
|
|
4234
|
+
let h = Hr(e, l);
|
|
4278
4235
|
if (!h)
|
|
4279
|
-
h = (o = (i = (n = (r =
|
|
4236
|
+
h = (o = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4280
4237
|
else if (typeof h != "string")
|
|
4281
4238
|
return console.warn(
|
|
4282
4239
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4285,7 +4242,7 @@ const pe = (e, t) => {
|
|
|
4285
4242
|
return h;
|
|
4286
4243
|
let d = h;
|
|
4287
4244
|
try {
|
|
4288
|
-
d =
|
|
4245
|
+
d = go(h, l).format(s);
|
|
4289
4246
|
} catch (f) {
|
|
4290
4247
|
f instanceof Error && console.warn(
|
|
4291
4248
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4293,20 +4250,20 @@ const pe = (e, t) => {
|
|
|
4293
4250
|
);
|
|
4294
4251
|
}
|
|
4295
4252
|
return d;
|
|
4296
|
-
},
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
window.emWidgets = { topic:
|
|
4302
|
-
const
|
|
4303
|
-
function
|
|
4304
|
-
|
|
4305
|
-
}
|
|
4306
|
-
function
|
|
4307
|
-
|
|
4308
|
-
}
|
|
4309
|
-
const
|
|
4253
|
+
}, bo = (e, t) => po(t).format(e), yo = (e, t) => mo(t).format(e), _o = (e, t) => fo(t).format(e), xo = (e, t = Z()) => Hr(e, t), wo = se([le, be], () => vo);
|
|
4254
|
+
se([le], () => bo);
|
|
4255
|
+
se([le], () => yo);
|
|
4256
|
+
se([le], () => _o);
|
|
4257
|
+
se([le, be], () => xo);
|
|
4258
|
+
window.emWidgets = { topic: Ln };
|
|
4259
|
+
const $t = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4260
|
+
function kt(e, t) {
|
|
4261
|
+
Or(e, t);
|
|
4262
|
+
}
|
|
4263
|
+
function Eo(e) {
|
|
4264
|
+
le.set(e);
|
|
4265
|
+
}
|
|
4266
|
+
const jt = {
|
|
4310
4267
|
en: {
|
|
4311
4268
|
secondaryMenuTitle: "Categories"
|
|
4312
4269
|
},
|
|
@@ -4341,13 +4298,13 @@ const Zt = {
|
|
|
4341
4298
|
secondaryMenuTitle: "Categories"
|
|
4342
4299
|
}
|
|
4343
4300
|
};
|
|
4344
|
-
function
|
|
4301
|
+
function No(e, t) {
|
|
4345
4302
|
if (e) {
|
|
4346
4303
|
const r = document.createElement("style");
|
|
4347
4304
|
r.innerHTML = t, e.appendChild(r);
|
|
4348
4305
|
}
|
|
4349
4306
|
}
|
|
4350
|
-
function
|
|
4307
|
+
function So(e, t) {
|
|
4351
4308
|
const r = new URL(t);
|
|
4352
4309
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4353
4310
|
const i = document.createElement("style");
|
|
@@ -4356,7 +4313,7 @@ function Po(e, t) {
|
|
|
4356
4313
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4357
4314
|
});
|
|
4358
4315
|
}
|
|
4359
|
-
function
|
|
4316
|
+
function Io(e, t, r) {
|
|
4360
4317
|
if (window.emMessageBus) {
|
|
4361
4318
|
const n = document.createElement("style");
|
|
4362
4319
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4364,34 +4321,34 @@ function Ho(e, t, r) {
|
|
|
4364
4321
|
});
|
|
4365
4322
|
}
|
|
4366
4323
|
}
|
|
4367
|
-
function
|
|
4368
|
-
|
|
4324
|
+
function Bo(e) {
|
|
4325
|
+
en(e, "svelte-5kntrg", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #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}');
|
|
4369
4326
|
}
|
|
4370
|
-
function
|
|
4327
|
+
function Wt(e, t, r) {
|
|
4371
4328
|
const n = e.slice();
|
|
4372
4329
|
return n[44] = t[r], n[46] = r, n;
|
|
4373
4330
|
}
|
|
4374
|
-
function
|
|
4331
|
+
function Vt(e, t, r) {
|
|
4375
4332
|
const n = e.slice();
|
|
4376
4333
|
return n[44] = t[r], n;
|
|
4377
4334
|
}
|
|
4378
|
-
const
|
|
4379
|
-
function
|
|
4335
|
+
const Ao = (e) => ({}), Xt = (e) => ({});
|
|
4336
|
+
function zt(e) {
|
|
4380
4337
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4381
|
-
e[6] &&
|
|
4338
|
+
e[6] && Zt(e), u = Ae(
|
|
4382
4339
|
/*primaryMenuSpliced*/
|
|
4383
4340
|
e[7]
|
|
4384
4341
|
), h = [];
|
|
4385
4342
|
for (let f = 0; f < u.length; f += 1)
|
|
4386
|
-
h[f] =
|
|
4343
|
+
h[f] = qt(Wt(e, u, f));
|
|
4387
4344
|
let d = !/*navigationBarSimple*/
|
|
4388
|
-
e[6] &&
|
|
4345
|
+
e[6] && Kt(e);
|
|
4389
4346
|
return {
|
|
4390
4347
|
c() {
|
|
4391
|
-
t =
|
|
4348
|
+
t = B("div"), l && l.c(), r = $(), n = B("div");
|
|
4392
4349
|
for (let f = 0; f < h.length; f += 1)
|
|
4393
4350
|
h[f].c();
|
|
4394
|
-
i =
|
|
4351
|
+
i = $(), d && d.c(), c(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4395
4352
|
(e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4396
4353
|
(e[6] ? "NavigationBarSimple" : "")), c(n, "part", a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4397
4354
|
(e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
@@ -4405,10 +4362,10 @@ function qt(e) {
|
|
|
4405
4362
|
},
|
|
4406
4363
|
p(f, p) {
|
|
4407
4364
|
if (/*navigationBarSimple*/
|
|
4408
|
-
f[6] ? l && (
|
|
4365
|
+
f[6] ? l && (or(), me(l, 1, 1, () => {
|
|
4409
4366
|
l = null;
|
|
4410
|
-
}),
|
|
4411
|
-
64 && X(l, 1)) : (l =
|
|
4367
|
+
}), ar()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
|
|
4368
|
+
64 && X(l, 1)) : (l = Zt(f), l.c(), X(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
|
|
4412
4369
|
32928) {
|
|
4413
4370
|
u = Ae(
|
|
4414
4371
|
/*primaryMenuSpliced*/
|
|
@@ -4416,15 +4373,15 @@ function qt(e) {
|
|
|
4416
4373
|
);
|
|
4417
4374
|
let g;
|
|
4418
4375
|
for (g = 0; g < u.length; g += 1) {
|
|
4419
|
-
const v =
|
|
4420
|
-
h[g] ? h[g].p(v, p) : (h[g] =
|
|
4376
|
+
const v = Wt(f, u, g);
|
|
4377
|
+
h[g] ? h[g].p(v, p) : (h[g] = qt(v), h[g].c(), h[g].m(n, i));
|
|
4421
4378
|
}
|
|
4422
4379
|
for (; g < h.length; g += 1)
|
|
4423
4380
|
h[g].d(1);
|
|
4424
4381
|
h.length = u.length;
|
|
4425
4382
|
}
|
|
4426
4383
|
/*navigationBarSimple*/
|
|
4427
|
-
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d =
|
|
4384
|
+
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = Kt(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4428
4385
|
80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4429
4386
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4430
4387
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
@@ -4436,14 +4393,14 @@ function qt(e) {
|
|
|
4436
4393
|
s || (X(l), s = !0);
|
|
4437
4394
|
},
|
|
4438
4395
|
o(f) {
|
|
4439
|
-
|
|
4396
|
+
me(l), s = !1;
|
|
4440
4397
|
},
|
|
4441
4398
|
d(f) {
|
|
4442
|
-
f && O(t), l && l.d(),
|
|
4399
|
+
f && O(t), l && l.d(), ir(h, f), d && d.d();
|
|
4443
4400
|
}
|
|
4444
4401
|
};
|
|
4445
4402
|
}
|
|
4446
|
-
function
|
|
4403
|
+
function Zt(e) {
|
|
4447
4404
|
let t, r, n, i, o = (
|
|
4448
4405
|
/*secondarymenutitle*/
|
|
4449
4406
|
(e[0] || /*$_*/
|
|
@@ -4452,76 +4409,76 @@ function Kt(e) {
|
|
|
4452
4409
|
const p = (
|
|
4453
4410
|
/*#slots*/
|
|
4454
4411
|
e[27].close
|
|
4455
|
-
), g =
|
|
4412
|
+
), g = Yr(
|
|
4456
4413
|
p,
|
|
4457
4414
|
e,
|
|
4458
4415
|
/*$$scope*/
|
|
4459
4416
|
e[26],
|
|
4460
|
-
|
|
4461
|
-
), v = g ||
|
|
4462
|
-
let
|
|
4417
|
+
Xt
|
|
4418
|
+
), v = g || To();
|
|
4419
|
+
let A = Ae(
|
|
4463
4420
|
/*secondaryMenu*/
|
|
4464
4421
|
e[8]
|
|
4465
|
-
),
|
|
4466
|
-
for (let b = 0; b <
|
|
4467
|
-
|
|
4422
|
+
), S = [];
|
|
4423
|
+
for (let b = 0; b < A.length; b += 1)
|
|
4424
|
+
S[b] = Yt(Vt(e, A, b));
|
|
4468
4425
|
return {
|
|
4469
4426
|
c() {
|
|
4470
|
-
t =
|
|
4471
|
-
for (let b = 0; b <
|
|
4472
|
-
|
|
4427
|
+
t = B("div"), r = B("span"), v && v.c(), n = $(), i = B("h3"), a = ve(o), s = $(), l = B("div");
|
|
4428
|
+
for (let b = 0; b < S.length; b += 1)
|
|
4429
|
+
S[b].c();
|
|
4473
4430
|
c(r, "class", "ModalCloseBtn"), c(r, "part", "ModalCloseBtn"), c(r, "role", "button"), c(i, "class", "NavigationWindowTitle"), c(l, "class", "NavigationSecondaryWrapper"), c(t, "class", u = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4474
4431
|
(e[4] ? "NavigationWindowOpened" : ""));
|
|
4475
4432
|
},
|
|
4476
|
-
m(b,
|
|
4477
|
-
L(b, t,
|
|
4478
|
-
for (let
|
|
4479
|
-
|
|
4480
|
-
h = !0, d || (f =
|
|
4433
|
+
m(b, N) {
|
|
4434
|
+
L(b, t, N), y(t, r), v && v.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
|
|
4435
|
+
for (let E = 0; E < S.length; E += 1)
|
|
4436
|
+
S[E] && S[E].m(l, null);
|
|
4437
|
+
h = !0, d || (f = He(
|
|
4481
4438
|
r,
|
|
4482
4439
|
"click",
|
|
4483
4440
|
/*navigationWindowToggle*/
|
|
4484
4441
|
e[14]
|
|
4485
4442
|
), d = !0);
|
|
4486
4443
|
},
|
|
4487
|
-
p(b,
|
|
4488
|
-
if (g && g.p && (!h ||
|
|
4489
|
-
67108864) &&
|
|
4444
|
+
p(b, N) {
|
|
4445
|
+
if (g && g.p && (!h || N[0] & /*$$scope*/
|
|
4446
|
+
67108864) && qr(
|
|
4490
4447
|
g,
|
|
4491
4448
|
p,
|
|
4492
4449
|
b,
|
|
4493
4450
|
/*$$scope*/
|
|
4494
4451
|
b[26],
|
|
4495
|
-
h ?
|
|
4452
|
+
h ? Jr(
|
|
4496
4453
|
p,
|
|
4497
4454
|
/*$$scope*/
|
|
4498
4455
|
b[26],
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
) :
|
|
4456
|
+
N,
|
|
4457
|
+
Ao
|
|
4458
|
+
) : Kr(
|
|
4502
4459
|
/*$$scope*/
|
|
4503
4460
|
b[26]
|
|
4504
4461
|
),
|
|
4505
|
-
|
|
4506
|
-
), (!h ||
|
|
4462
|
+
Xt
|
|
4463
|
+
), (!h || N[0] & /*secondarymenutitle, $_*/
|
|
4507
4464
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4508
4465
|
(b[0] || /*$_*/
|
|
4509
|
-
b[12]("secondaryMenuTitle")) + "") &&
|
|
4466
|
+
b[12]("secondaryMenuTitle")) + "") && ct(a, o), N[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4510
4467
|
33056) {
|
|
4511
|
-
|
|
4468
|
+
A = Ae(
|
|
4512
4469
|
/*secondaryMenu*/
|
|
4513
4470
|
b[8]
|
|
4514
4471
|
);
|
|
4515
|
-
let
|
|
4516
|
-
for (
|
|
4517
|
-
const T =
|
|
4518
|
-
|
|
4472
|
+
let E;
|
|
4473
|
+
for (E = 0; E < A.length; E += 1) {
|
|
4474
|
+
const T = Vt(b, A, E);
|
|
4475
|
+
S[E] ? S[E].p(T, N) : (S[E] = Yt(T), S[E].c(), S[E].m(l, null));
|
|
4519
4476
|
}
|
|
4520
|
-
for (;
|
|
4521
|
-
|
|
4522
|
-
|
|
4477
|
+
for (; E < S.length; E += 1)
|
|
4478
|
+
S[E].d(1);
|
|
4479
|
+
S.length = A.length;
|
|
4523
4480
|
}
|
|
4524
|
-
(!h ||
|
|
4481
|
+
(!h || N[0] & /*navigationWindowOpened*/
|
|
4525
4482
|
16 && u !== (u = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4526
4483
|
(b[4] ? "NavigationWindowOpened" : ""))) && c(t, "class", u);
|
|
4527
4484
|
},
|
|
@@ -4529,14 +4486,14 @@ function Kt(e) {
|
|
|
4529
4486
|
h || (X(v, b), h = !0);
|
|
4530
4487
|
},
|
|
4531
4488
|
o(b) {
|
|
4532
|
-
|
|
4489
|
+
me(v, b), h = !1;
|
|
4533
4490
|
},
|
|
4534
4491
|
d(b) {
|
|
4535
|
-
b && O(t), v && v.d(b),
|
|
4492
|
+
b && O(t), v && v.d(b), ir(S, b), d = !1, f();
|
|
4536
4493
|
}
|
|
4537
4494
|
};
|
|
4538
4495
|
}
|
|
4539
|
-
function
|
|
4496
|
+
function To(e) {
|
|
4540
4497
|
let t, r;
|
|
4541
4498
|
return {
|
|
4542
4499
|
c() {
|
|
@@ -4551,11 +4508,11 @@ function Lo(e) {
|
|
|
4551
4508
|
}
|
|
4552
4509
|
};
|
|
4553
4510
|
}
|
|
4554
|
-
function
|
|
4511
|
+
function Qt(e) {
|
|
4555
4512
|
let t, r, n, i;
|
|
4556
4513
|
return {
|
|
4557
4514
|
c() {
|
|
4558
|
-
t =
|
|
4515
|
+
t = B("div"), r = B("img"), c(r, "class", "NavigationSecondaryItemImg"), c(r, "part", "NavigationSecondaryItemImg"), te(r.src, n = /*item*/
|
|
4559
4516
|
e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
|
|
4560
4517
|
e[44].label), c(t, "class", "NavigationSecondaryItemImgWrapper"), c(t, "part", "NavigationSecondaryItemImgWrapper");
|
|
4561
4518
|
},
|
|
@@ -4564,7 +4521,7 @@ function er(e) {
|
|
|
4564
4521
|
},
|
|
4565
4522
|
p(o, a) {
|
|
4566
4523
|
a[0] & /*secondaryMenu*/
|
|
4567
|
-
256 && !
|
|
4524
|
+
256 && !te(r.src, n = /*item*/
|
|
4568
4525
|
o[44].img) && c(r, "src", n), a[0] & /*secondaryMenu*/
|
|
4569
4526
|
256 && i !== (i = /*item*/
|
|
4570
4527
|
o[44].label) && c(r, "alt", i);
|
|
@@ -4574,13 +4531,13 @@ function er(e) {
|
|
|
4574
4531
|
}
|
|
4575
4532
|
};
|
|
4576
4533
|
}
|
|
4577
|
-
function
|
|
4534
|
+
function Yt(e) {
|
|
4578
4535
|
let t, r, n, i = (
|
|
4579
4536
|
/*item*/
|
|
4580
4537
|
e[44].label + ""
|
|
4581
4538
|
), o, a, s, l, u, h = (
|
|
4582
4539
|
/*item*/
|
|
4583
|
-
e[44].img &&
|
|
4540
|
+
e[44].img && Qt(e)
|
|
4584
4541
|
);
|
|
4585
4542
|
function d() {
|
|
4586
4543
|
return (
|
|
@@ -4593,18 +4550,18 @@ function tr(e) {
|
|
|
4593
4550
|
}
|
|
4594
4551
|
return {
|
|
4595
4552
|
c() {
|
|
4596
|
-
t =
|
|
4553
|
+
t = B("div"), h && h.c(), r = $(), n = B("p"), o = ve(i), a = $(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4597
4554
|
(e[5] === /*item*/
|
|
4598
4555
|
e[44].id ? "ActiveItem" : ""));
|
|
4599
4556
|
},
|
|
4600
4557
|
m(f, p) {
|
|
4601
|
-
L(f, t, p), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u =
|
|
4558
|
+
L(f, t, p), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u = He(t, "click", d), l = !0);
|
|
4602
4559
|
},
|
|
4603
4560
|
p(f, p) {
|
|
4604
4561
|
e = f, /*item*/
|
|
4605
|
-
e[44].img ? h ? h.p(e, p) : (h =
|
|
4562
|
+
e[44].img ? h ? h.p(e, p) : (h = Qt(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
|
|
4606
4563
|
256 && i !== (i = /*item*/
|
|
4607
|
-
e[44].label + "") &&
|
|
4564
|
+
e[44].label + "") && ct(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4608
4565
|
288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4609
4566
|
(e[5] === /*item*/
|
|
4610
4567
|
e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
|
|
@@ -4614,11 +4571,11 @@ function tr(e) {
|
|
|
4614
4571
|
}
|
|
4615
4572
|
};
|
|
4616
4573
|
}
|
|
4617
|
-
function
|
|
4574
|
+
function Jt(e) {
|
|
4618
4575
|
let t, r, n, i;
|
|
4619
4576
|
return {
|
|
4620
4577
|
c() {
|
|
4621
|
-
t =
|
|
4578
|
+
t = B("div"), r = B("img"), c(r, "class", "NavigationPrimaryItemImg"), te(r.src, n = /*item*/
|
|
4622
4579
|
e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
|
|
4623
4580
|
e[44].label), c(t, "class", "NavigationPrimaryItemImgWrapper");
|
|
4624
4581
|
},
|
|
@@ -4627,7 +4584,7 @@ function rr(e) {
|
|
|
4627
4584
|
},
|
|
4628
4585
|
p(o, a) {
|
|
4629
4586
|
a[0] & /*primaryMenuSpliced*/
|
|
4630
|
-
128 && !
|
|
4587
|
+
128 && !te(r.src, n = /*item*/
|
|
4631
4588
|
o[44].img) && c(r, "src", n), a[0] & /*primaryMenuSpliced*/
|
|
4632
4589
|
128 && i !== (i = /*item*/
|
|
4633
4590
|
o[44].label) && c(r, "alt", i);
|
|
@@ -4637,13 +4594,13 @@ function rr(e) {
|
|
|
4637
4594
|
}
|
|
4638
4595
|
};
|
|
4639
4596
|
}
|
|
4640
|
-
function
|
|
4597
|
+
function qt(e) {
|
|
4641
4598
|
let t, r, n, i = (
|
|
4642
4599
|
/*item*/
|
|
4643
4600
|
e[44].label + ""
|
|
4644
4601
|
), o, a, s, l, u = (
|
|
4645
4602
|
/*item*/
|
|
4646
|
-
e[44].img &&
|
|
4603
|
+
e[44].img && Jt(e)
|
|
4647
4604
|
);
|
|
4648
4605
|
function h() {
|
|
4649
4606
|
return (
|
|
@@ -4656,19 +4613,19 @@ function nr(e) {
|
|
|
4656
4613
|
}
|
|
4657
4614
|
return {
|
|
4658
4615
|
c() {
|
|
4659
|
-
t =
|
|
4616
|
+
t = B("div"), u && u.c(), r = $(), n = B("p"), o = ve(i), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4660
4617
|
e[46] + " " + /*activeMenuItemId*/
|
|
4661
4618
|
(e[5] === /*item*/
|
|
4662
4619
|
e[44].id ? "ActiveItem" : ""));
|
|
4663
4620
|
},
|
|
4664
4621
|
m(d, f) {
|
|
4665
|
-
L(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l =
|
|
4622
|
+
L(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l = He(t, "click", h), s = !0);
|
|
4666
4623
|
},
|
|
4667
4624
|
p(d, f) {
|
|
4668
4625
|
e = d, /*item*/
|
|
4669
|
-
e[44].img ? u ? u.p(e, f) : (u =
|
|
4626
|
+
e[44].img ? u ? u.p(e, f) : (u = Jt(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
|
|
4670
4627
|
128 && i !== (i = /*item*/
|
|
4671
|
-
e[44].label + "") &&
|
|
4628
|
+
e[44].label + "") && ct(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
|
|
4672
4629
|
160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4673
4630
|
e[46] + " " + /*activeMenuItemId*/
|
|
4674
4631
|
(e[5] === /*item*/
|
|
@@ -4679,22 +4636,22 @@ function nr(e) {
|
|
|
4679
4636
|
}
|
|
4680
4637
|
};
|
|
4681
4638
|
}
|
|
4682
|
-
function
|
|
4639
|
+
function Kt(e) {
|
|
4683
4640
|
let t, r, n, i, o;
|
|
4684
4641
|
function a(u, h) {
|
|
4685
4642
|
return (
|
|
4686
4643
|
/*isFlowerMenu*/
|
|
4687
|
-
u[11] ?
|
|
4644
|
+
u[11] ? Po : Ho
|
|
4688
4645
|
);
|
|
4689
4646
|
}
|
|
4690
4647
|
let s = a(e), l = s(e);
|
|
4691
4648
|
return {
|
|
4692
4649
|
c() {
|
|
4693
|
-
t =
|
|
4650
|
+
t = B("button"), r = B("span"), l.c(), c(r, "class", "NavigationButtonSpan"), c(r, "part", "NavigationButtonSpan"), c(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
|
|
4694
4651
|
(e[4] ? "NavigationButtonActive" : ""));
|
|
4695
4652
|
},
|
|
4696
4653
|
m(u, h) {
|
|
4697
|
-
L(u, t, h), y(t, r), l.m(r, null), i || (o =
|
|
4654
|
+
L(u, t, h), y(t, r), l.m(r, null), i || (o = He(
|
|
4698
4655
|
t,
|
|
4699
4656
|
"click",
|
|
4700
4657
|
/*navigationWindowToggle*/
|
|
@@ -4711,11 +4668,11 @@ function ir(e) {
|
|
|
4711
4668
|
}
|
|
4712
4669
|
};
|
|
4713
4670
|
}
|
|
4714
|
-
function
|
|
4671
|
+
function Po(e) {
|
|
4715
4672
|
let t, r, n, i, o, a, s;
|
|
4716
4673
|
return {
|
|
4717
4674
|
c() {
|
|
4718
|
-
t =
|
|
4675
|
+
t = B("div"), r = B("span"), n = $(), i = B("span"), o = $(), a = B("span"), c(r, "class", "middleIconLine"), c(i, "class", "middleIconLine"), c(a, "class", "middleIconLine"), c(t, "class", s = "labelMiddleIcon " + /*navigationWindowOpened*/
|
|
4719
4676
|
(e[4] ? "labelMiddleIconActive" : ""));
|
|
4720
4677
|
},
|
|
4721
4678
|
m(l, u) {
|
|
@@ -4731,18 +4688,18 @@ function Co(e) {
|
|
|
4731
4688
|
}
|
|
4732
4689
|
};
|
|
4733
4690
|
}
|
|
4734
|
-
function
|
|
4691
|
+
function Ho(e) {
|
|
4735
4692
|
let t;
|
|
4736
4693
|
function r(o, a) {
|
|
4737
4694
|
return (
|
|
4738
4695
|
/*imageIconUrl*/
|
|
4739
|
-
o[9] ?
|
|
4696
|
+
o[9] ? Oo : Mo
|
|
4740
4697
|
);
|
|
4741
4698
|
}
|
|
4742
4699
|
let n = r(e), i = n(e);
|
|
4743
4700
|
return {
|
|
4744
4701
|
c() {
|
|
4745
|
-
i.c(), t =
|
|
4702
|
+
i.c(), t = nn();
|
|
4746
4703
|
},
|
|
4747
4704
|
m(o, a) {
|
|
4748
4705
|
i.m(o, a), L(o, t, a);
|
|
@@ -4755,14 +4712,14 @@ function Fo(e) {
|
|
|
4755
4712
|
}
|
|
4756
4713
|
};
|
|
4757
4714
|
}
|
|
4758
|
-
function
|
|
4715
|
+
function Mo(e) {
|
|
4759
4716
|
let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
|
|
4760
4717
|
return {
|
|
4761
4718
|
c() {
|
|
4762
4719
|
t = H("svg"), r = H("g"), n = H("g"), i = H("rect"), o = H("rect"), a = H("g"), s = H("rect"), l = H("rect"), u = H("g"), h = H("rect"), d = H("rect"), f = H("g"), p = H("rect"), g = H("rect"), c(i, "class", "b"), c(i, "part", "b"), c(i, "width", "10"), c(i, "height", "10"), c(i, "rx", "2"), c(o, "class", "c"), c(o, "part", "c"), c(o, "x", "0.5"), c(o, "y", "0.5"), c(o, "width", "9"), c(o, "height", "9"), c(o, "rx", "1.5"), c(n, "class", "a"), c(n, "part", "a"), c(n, "transform", "translate(150 514)"), c(s, "class", "b"), c(s, "part", "b"), c(s, "width", "10"), c(s, "height", "10"), c(s, "rx", "2"), c(l, "class", "c"), c(l, "part", "c"), c(l, "x", "0.5"), c(l, "y", "0.5"), c(l, "width", "9"), c(l, "height", "9"), c(l, "rx", "1.5"), c(a, "class", "a"), c(a, "part", "a"), c(a, "transform", "translate(161 514)"), c(h, "class", "b"), c(h, "part", "b"), c(h, "width", "10"), c(h, "height", "10"), c(h, "rx", "2"), c(d, "class", "c"), c(d, "part", "c"), c(d, "x", "0.5"), c(d, "y", "0.5"), c(d, "width", "9"), c(d, "height", "9"), c(d, "rx", "1.5"), c(u, "class", "a"), c(u, "part", "a"), c(u, "transform", "translate(161 525)"), c(p, "class", "b"), c(p, "part", "b"), c(p, "width", "10"), c(p, "height", "10"), c(p, "rx", "2"), c(g, "class", "c"), c(g, "part", "c"), c(g, "x", "0.5"), c(g, "y", "0.5"), c(g, "width", "9"), c(g, "height", "9"), c(g, "rx", "1.5"), c(f, "class", "a"), c(f, "part", "a"), c(f, "transform", "translate(150 525)"), c(r, "transform", "translate(-150 -514)"), c(t, "class", "middleIcon"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "21"), c(t, "height", "21"), c(t, "viewBox", "0 0 21 21");
|
|
4763
4720
|
},
|
|
4764
|
-
m(v,
|
|
4765
|
-
L(v, t,
|
|
4721
|
+
m(v, A) {
|
|
4722
|
+
L(v, t, A), y(t, r), y(r, n), y(n, i), y(n, o), y(r, a), y(a, s), y(a, l), y(r, u), y(u, h), y(u, d), y(r, f), y(f, p), y(f, g);
|
|
4766
4723
|
},
|
|
4767
4724
|
p: R,
|
|
4768
4725
|
d(v) {
|
|
@@ -4770,11 +4727,11 @@ function Ro(e) {
|
|
|
4770
4727
|
}
|
|
4771
4728
|
};
|
|
4772
4729
|
}
|
|
4773
|
-
function
|
|
4730
|
+
function Oo(e) {
|
|
4774
4731
|
let t, r;
|
|
4775
4732
|
return {
|
|
4776
4733
|
c() {
|
|
4777
|
-
t =
|
|
4734
|
+
t = B("img"), te(t.src, r = /*imageIconUrl*/
|
|
4778
4735
|
e[9]) || c(t, "src", r), c(t, "class", "middleIcon"), c(
|
|
4779
4736
|
t,
|
|
4780
4737
|
"alt",
|
|
@@ -4787,7 +4744,7 @@ function Uo(e) {
|
|
|
4787
4744
|
},
|
|
4788
4745
|
p(n, i) {
|
|
4789
4746
|
i[0] & /*imageIconUrl*/
|
|
4790
|
-
512 && !
|
|
4747
|
+
512 && !te(t.src, r = /*imageIconUrl*/
|
|
4791
4748
|
n[9]) && c(t, "src", r), i[0] & /*imageIconUrl*/
|
|
4792
4749
|
512 && c(
|
|
4793
4750
|
t,
|
|
@@ -4801,14 +4758,14 @@ function Uo(e) {
|
|
|
4801
4758
|
}
|
|
4802
4759
|
};
|
|
4803
4760
|
}
|
|
4804
|
-
function
|
|
4761
|
+
function Lo(e) {
|
|
4805
4762
|
let t, r, n, i = !/*isLoading*/
|
|
4806
4763
|
e[1] && /*isMobile*/
|
|
4807
4764
|
e[13] && /*showNavigation*/
|
|
4808
|
-
e[3] &&
|
|
4765
|
+
e[3] && zt(e);
|
|
4809
4766
|
return {
|
|
4810
4767
|
c() {
|
|
4811
|
-
t =
|
|
4768
|
+
t = B("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
4812
4769
|
(e[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4813
4770
|
(e[10] ? "NavigationWrapperLandScape" : ""));
|
|
4814
4771
|
},
|
|
@@ -4820,9 +4777,9 @@ function Do(e) {
|
|
|
4820
4777
|
o[1] && /*isMobile*/
|
|
4821
4778
|
o[13] && /*showNavigation*/
|
|
4822
4779
|
o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4823
|
-
10 && X(i, 1)) : (i =
|
|
4780
|
+
10 && X(i, 1)) : (i = zt(o), i.c(), X(i, 1), i.m(t, null)) : i && (or(), me(i, 1, 1, () => {
|
|
4824
4781
|
i = null;
|
|
4825
|
-
}),
|
|
4782
|
+
}), ar()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4826
4783
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4827
4784
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4828
4785
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
@@ -4831,30 +4788,30 @@ function Do(e) {
|
|
|
4831
4788
|
n || (X(i), n = !0);
|
|
4832
4789
|
},
|
|
4833
4790
|
o(o) {
|
|
4834
|
-
|
|
4791
|
+
me(i), n = !1;
|
|
4835
4792
|
},
|
|
4836
4793
|
d(o) {
|
|
4837
4794
|
o && O(t), i && i.d(), e[30](null);
|
|
4838
4795
|
}
|
|
4839
4796
|
};
|
|
4840
4797
|
}
|
|
4841
|
-
function
|
|
4798
|
+
function Co(e, t, r) {
|
|
4842
4799
|
let n;
|
|
4843
|
-
|
|
4844
|
-
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: g = "" } = t, { activecategory: v = "" } = t, { flowermenustyle:
|
|
4845
|
-
const
|
|
4800
|
+
Qr(e, wo, (m) => r(12, n = m));
|
|
4801
|
+
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: g = "" } = t, { activecategory: v = "" } = t, { flowermenustyle: A = "false" } = t, S = window.navigator.userAgent, b = $t(S) !== "PC", N = !0, E = !1, T = !1, j = "", Q = !1, Re = [], ye = [], W = [], D, mt = "", Ue = {}, pt, De = !1;
|
|
4802
|
+
const Ur = () => {
|
|
4846
4803
|
fetch(g).then((P) => P.json()).then((P) => {
|
|
4847
4804
|
Object.keys(P).forEach((C) => {
|
|
4848
|
-
|
|
4805
|
+
kt(C, P[C]);
|
|
4849
4806
|
});
|
|
4850
4807
|
}).catch((P) => {
|
|
4851
4808
|
console.log(P);
|
|
4852
4809
|
});
|
|
4853
4810
|
};
|
|
4854
|
-
Object.keys(
|
|
4855
|
-
|
|
4811
|
+
Object.keys(jt).forEach((m) => {
|
|
4812
|
+
kt(m, jt[m]);
|
|
4856
4813
|
});
|
|
4857
|
-
const
|
|
4814
|
+
const gt = (m) => {
|
|
4858
4815
|
if (m.data)
|
|
4859
4816
|
switch (m.data.type) {
|
|
4860
4817
|
case "PlayerAccountMenuActive":
|
|
@@ -4867,9 +4824,9 @@ function Go(e, t, r) {
|
|
|
4867
4824
|
r(4, T = !1);
|
|
4868
4825
|
break;
|
|
4869
4826
|
}
|
|
4870
|
-
},
|
|
4871
|
-
r(11,
|
|
4872
|
-
},
|
|
4827
|
+
}, Dr = () => {
|
|
4828
|
+
r(11, De = A.toLowerCase() === "true");
|
|
4829
|
+
}, Gr = () => {
|
|
4873
4830
|
r(4, T = !T), window.postMessage(
|
|
4874
4831
|
{
|
|
4875
4832
|
type: "MobileBottomNav",
|
|
@@ -4877,26 +4834,26 @@ function Go(e, t, r) {
|
|
|
4877
4834
|
},
|
|
4878
4835
|
window.location.href
|
|
4879
4836
|
);
|
|
4880
|
-
},
|
|
4881
|
-
r(7, ye = []), r(7, ye = Q ? m.splice(0, 5) : m.splice(0, 4)), v &&
|
|
4882
|
-
},
|
|
4883
|
-
|
|
4884
|
-
let m =
|
|
4837
|
+
}, $r = (m) => {
|
|
4838
|
+
r(7, ye = []), r(7, ye = Q ? m.splice(0, 5) : m.splice(0, 4)), v && vt();
|
|
4839
|
+
}, kr = () => {
|
|
4840
|
+
Ge(), r(1, N = !0);
|
|
4841
|
+
let m = $t(S), P = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
|
|
4885
4842
|
P.searchParams.append("userRoles", h), m && P.searchParams.append("device", "mtWeb"), fetch(P.href).then((C) => C.json()).then((C) => {
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
}), r(6, Q = W.length == 0), W.length >= 5 &&
|
|
4843
|
+
Re = [], r(8, W = []), r(3, E = C.length > 0), C.forEach((U) => {
|
|
4844
|
+
Ue[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9, mt = U?.img), r(8, W = U.children)) : Re.push(U);
|
|
4845
|
+
}), r(6, Q = W.length == 0), W.length >= 5 && De && r(8, W = W.splice(0, 5)), $r(Re), r(1, N = !1);
|
|
4889
4846
|
}).catch((C) => {
|
|
4890
|
-
r(1,
|
|
4847
|
+
r(1, N = !1), console.error(C);
|
|
4891
4848
|
});
|
|
4892
|
-
},
|
|
4849
|
+
}, vt = () => {
|
|
4893
4850
|
const P = ye.concat(W).find((C) => C.path.includes(v));
|
|
4894
4851
|
P ? r(5, j = P.id) : r(5, j = "");
|
|
4895
|
-
},
|
|
4896
|
-
|
|
4852
|
+
}, he = (m, P, C, U) => {
|
|
4853
|
+
Ue[U] ? window.postMessage(
|
|
4897
4854
|
{
|
|
4898
4855
|
type: "MobileBottomNavigationEvent",
|
|
4899
|
-
event:
|
|
4856
|
+
event: Ue[U]
|
|
4900
4857
|
},
|
|
4901
4858
|
window.location.href
|
|
4902
4859
|
) : window.postMessage(
|
|
@@ -4911,55 +4868,55 @@ function Go(e, t, r) {
|
|
|
4911
4868
|
context: "MobileBottomNavigation",
|
|
4912
4869
|
menuItem: `${m}`
|
|
4913
4870
|
});
|
|
4914
|
-
},
|
|
4915
|
-
|
|
4916
|
-
},
|
|
4917
|
-
r(10,
|
|
4918
|
-
},
|
|
4871
|
+
}, jr = () => {
|
|
4872
|
+
Eo(s);
|
|
4873
|
+
}, Ge = () => {
|
|
4874
|
+
r(10, pt = b && window.innerHeight / window.innerWidth < 1);
|
|
4875
|
+
}, bt = () => {
|
|
4919
4876
|
T && r(4, T = !1);
|
|
4920
4877
|
};
|
|
4921
|
-
|
|
4922
|
-
window.removeEventListener("message",
|
|
4878
|
+
ln(() => (window.addEventListener("message", gt, !1), document.addEventListener("focusin", bt), b && window.screen.orientation.addEventListener("change", Ge), () => {
|
|
4879
|
+
window.removeEventListener("message", gt), document.removeEventListener("focusin", bt), b && window.screen.orientation.removeEventListener("change", Ge);
|
|
4923
4880
|
}));
|
|
4924
|
-
const
|
|
4925
|
-
m.attrs?.target ?
|
|
4926
|
-
},
|
|
4927
|
-
m.attrs?.target ?
|
|
4881
|
+
const Wr = (m) => {
|
|
4882
|
+
m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
|
|
4883
|
+
}, Vr = (m) => {
|
|
4884
|
+
m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
|
|
4928
4885
|
};
|
|
4929
|
-
function
|
|
4930
|
-
|
|
4931
|
-
|
|
4886
|
+
function Xr(m) {
|
|
4887
|
+
Ze[m ? "unshift" : "push"](() => {
|
|
4888
|
+
D = m, r(2, D);
|
|
4932
4889
|
});
|
|
4933
4890
|
}
|
|
4934
4891
|
return e.$$set = (m) => {
|
|
4935
|
-
"cmsendpoint" in m && r(16, a = m.cmsendpoint), "lang" in m && r(17, s = m.lang), "env" in m && r(18, l = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(19, h = m.userroles), "mbsource" in m && r(20, d = m.mbsource), "clientstyling" in m && r(21, f = m.clientstyling), "clientstylingurl" in m && r(22, p = m.clientstylingurl), "translationurl" in m && r(23, g = m.translationurl), "activecategory" in m && r(24, v = m.activecategory), "flowermenustyle" in m && r(25,
|
|
4892
|
+
"cmsendpoint" in m && r(16, a = m.cmsendpoint), "lang" in m && r(17, s = m.lang), "env" in m && r(18, l = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(19, h = m.userroles), "mbsource" in m && r(20, d = m.mbsource), "clientstyling" in m && r(21, f = m.clientstyling), "clientstylingurl" in m && r(22, p = m.clientstylingurl), "translationurl" in m && r(23, g = m.translationurl), "activecategory" in m && r(24, v = m.activecategory), "flowermenustyle" in m && r(25, A = m.flowermenustyle), "$$scope" in m && r(26, o = m.$$scope);
|
|
4936
4893
|
}, e.$$.update = () => {
|
|
4937
4894
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4938
|
-
33554432 &&
|
|
4939
|
-
16777218 && v && !
|
|
4940
|
-
131072 && s &&
|
|
4941
|
-
983040 && a && s && l && h &&
|
|
4942
|
-
2097156 && f &&
|
|
4943
|
-
4194308 && p &&
|
|
4944
|
-
1048580 && d &&
|
|
4945
|
-
8388608 && g &&
|
|
4895
|
+
33554432 && A && Dr(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4896
|
+
16777218 && v && !N && vt(), e.$$.dirty[0] & /*lang*/
|
|
4897
|
+
131072 && s && jr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4898
|
+
983040 && a && s && l && h && kr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4899
|
+
2097156 && f && D && No(D, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4900
|
+
4194308 && p && D && So(D, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4901
|
+
1048580 && d && D && Io(D, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4902
|
+
8388608 && g && Ur();
|
|
4946
4903
|
}, [
|
|
4947
4904
|
u,
|
|
4905
|
+
N,
|
|
4906
|
+
D,
|
|
4948
4907
|
E,
|
|
4949
|
-
G,
|
|
4950
|
-
w,
|
|
4951
4908
|
T,
|
|
4952
4909
|
j,
|
|
4953
4910
|
Q,
|
|
4954
4911
|
ye,
|
|
4955
4912
|
W,
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4913
|
+
mt,
|
|
4914
|
+
pt,
|
|
4915
|
+
De,
|
|
4959
4916
|
n,
|
|
4960
4917
|
b,
|
|
4961
|
-
|
|
4962
|
-
|
|
4918
|
+
Gr,
|
|
4919
|
+
he,
|
|
4963
4920
|
a,
|
|
4964
4921
|
s,
|
|
4965
4922
|
l,
|
|
@@ -4969,22 +4926,22 @@ function Go(e, t, r) {
|
|
|
4969
4926
|
p,
|
|
4970
4927
|
g,
|
|
4971
4928
|
v,
|
|
4972
|
-
|
|
4929
|
+
A,
|
|
4973
4930
|
o,
|
|
4974
4931
|
i,
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4932
|
+
Wr,
|
|
4933
|
+
Vr,
|
|
4934
|
+
Xr
|
|
4978
4935
|
];
|
|
4979
4936
|
}
|
|
4980
|
-
class
|
|
4937
|
+
class Fo extends bn {
|
|
4981
4938
|
constructor(t) {
|
|
4982
|
-
super(),
|
|
4939
|
+
super(), gn(
|
|
4983
4940
|
this,
|
|
4984
4941
|
t,
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4942
|
+
Co,
|
|
4943
|
+
Lo,
|
|
4944
|
+
tr,
|
|
4988
4945
|
{
|
|
4989
4946
|
cmsendpoint: 16,
|
|
4990
4947
|
lang: 17,
|
|
@@ -4998,7 +4955,7 @@ class $o extends En {
|
|
|
4998
4955
|
activecategory: 24,
|
|
4999
4956
|
flowermenustyle: 25
|
|
5000
4957
|
},
|
|
5001
|
-
|
|
4958
|
+
Bo,
|
|
5002
4959
|
[-1, -1]
|
|
5003
4960
|
);
|
|
5004
4961
|
}
|
|
@@ -5069,7 +5026,7 @@ class $o extends En {
|
|
|
5069
5026
|
this.$$set({ flowermenustyle: t }), F();
|
|
5070
5027
|
}
|
|
5071
5028
|
}
|
|
5072
|
-
|
|
5029
|
+
vn(Fo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
5073
5030
|
export {
|
|
5074
|
-
|
|
5031
|
+
Fo as G
|
|
5075
5032
|
};
|