@everymatrix/general-navigation-bar 1.54.12 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralNavigationBar-dxdm7ns-.js → GeneralNavigationBar-BICG6YxZ.js} +765 -746
- package/components/{GeneralNavigationBar-CcXiKgmp.js → GeneralNavigationBar-Dk-g2WiT.js} +823 -804
- package/components/GeneralNavigationBar-ZYScF0h0.cjs +5 -0
- package/es2015/general-navigation-bar.cjs +1 -1
- package/es2015/general-navigation-bar.js +1 -1
- package/esnext/general-navigation-bar.js +1 -1
- package/package.json +1 -1
- package/components/GeneralNavigationBar-DaKb_C9m.cjs +0 -5
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
function R() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function zr(e, t) {
|
|
4
4
|
for (const r in t) e[r] = t[r];
|
|
5
5
|
return (
|
|
6
6
|
/** @type {T & S} */
|
|
7
7
|
e
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function er(e) {
|
|
11
11
|
return e();
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function yt() {
|
|
14
14
|
return /* @__PURE__ */ Object.create(null);
|
|
15
15
|
}
|
|
16
16
|
function ae(e) {
|
|
17
|
-
e.forEach(
|
|
17
|
+
e.forEach(er);
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function ht(e) {
|
|
20
20
|
return typeof e == "function";
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function tr(e, t) {
|
|
23
23
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
24
24
|
}
|
|
25
25
|
let _e;
|
|
26
26
|
function te(e, t) {
|
|
27
27
|
return e === t ? !0 : (_e || (_e = document.createElement("a")), _e.href = t, e === _e.href);
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function Zr(e) {
|
|
30
30
|
return Object.keys(e).length === 0;
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function rr(e, ...t) {
|
|
33
33
|
if (e == null) {
|
|
34
34
|
for (const n of t)
|
|
35
35
|
n(void 0);
|
|
@@ -38,19 +38,19 @@ function tr(e, ...t) {
|
|
|
38
38
|
const r = e.subscribe(...t);
|
|
39
39
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
e.$$.on_destroy.push(
|
|
41
|
+
function Qr(e, t, r) {
|
|
42
|
+
e.$$.on_destroy.push(rr(t, r));
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Yr(e, t, r, n) {
|
|
45
45
|
if (e) {
|
|
46
|
-
const i =
|
|
46
|
+
const i = nr(e, t, r, n);
|
|
47
47
|
return e[0](i);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
return e[1] && n ?
|
|
50
|
+
function nr(e, t, r, n) {
|
|
51
|
+
return e[1] && n ? zr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Jr(e, t, r, n) {
|
|
54
54
|
if (e[2] && n) {
|
|
55
55
|
const i = e[2](n(r));
|
|
56
56
|
if (t.dirty === void 0)
|
|
@@ -65,13 +65,13 @@ function qr(e, t, r, n) {
|
|
|
65
65
|
}
|
|
66
66
|
return t.dirty;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function qr(e, t, r, n, i, o) {
|
|
69
69
|
if (i) {
|
|
70
|
-
const a =
|
|
70
|
+
const a = nr(t, r, n, o);
|
|
71
71
|
e.p(a, i);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function Kr(e) {
|
|
75
75
|
if (e.ctx.length > 32) {
|
|
76
76
|
const t = [], r = e.ctx.length / 32;
|
|
77
77
|
for (let n = 0; n < r; n++)
|
|
@@ -83,14 +83,14 @@ function en(e) {
|
|
|
83
83
|
function y(e, t) {
|
|
84
84
|
e.appendChild(t);
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
const n =
|
|
86
|
+
function en(e, t, r) {
|
|
87
|
+
const n = tn(e);
|
|
88
88
|
if (!n.getElementById(t)) {
|
|
89
|
-
const i =
|
|
90
|
-
i.id = t, i.textContent = r,
|
|
89
|
+
const i = B("style");
|
|
90
|
+
i.id = t, i.textContent = r, rn(n, i);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function tn(e) {
|
|
94
94
|
if (!e) return document;
|
|
95
95
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
96
96
|
return t && /** @type {ShadowRoot} */
|
|
@@ -99,7 +99,7 @@ function rn(e) {
|
|
|
99
99
|
t
|
|
100
100
|
) : e.ownerDocument;
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function rn(e, t) {
|
|
103
103
|
return y(
|
|
104
104
|
/** @type {Document} */
|
|
105
105
|
e.head || e,
|
|
@@ -112,11 +112,11 @@ function L(e, t, r) {
|
|
|
112
112
|
function O(e) {
|
|
113
113
|
e.parentNode && e.parentNode.removeChild(e);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function ir(e, t) {
|
|
116
116
|
for (let r = 0; r < e.length; r += 1)
|
|
117
117
|
e[r] && e[r].d(t);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function B(e) {
|
|
120
120
|
return document.createElement(e);
|
|
121
121
|
}
|
|
122
122
|
function H(e) {
|
|
@@ -125,10 +125,10 @@ function H(e) {
|
|
|
125
125
|
function ve(e) {
|
|
126
126
|
return document.createTextNode(e);
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function $() {
|
|
129
129
|
return ve(" ");
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function nn() {
|
|
132
132
|
return ve("");
|
|
133
133
|
}
|
|
134
134
|
function He(e, t, r, n) {
|
|
@@ -137,14 +137,14 @@ function He(e, t, r, n) {
|
|
|
137
137
|
function c(e, t, r) {
|
|
138
138
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function on(e) {
|
|
141
141
|
return Array.from(e.childNodes);
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function ct(e, t) {
|
|
144
144
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
145
145
|
t);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function an(e) {
|
|
148
148
|
const t = {};
|
|
149
149
|
return e.childNodes.forEach(
|
|
150
150
|
/** @param {Element} node */
|
|
@@ -157,24 +157,24 @@ let de;
|
|
|
157
157
|
function fe(e) {
|
|
158
158
|
de = e;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function sn() {
|
|
161
161
|
if (!de) throw new Error("Function called outside component initialization");
|
|
162
162
|
return de;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
165
|
-
|
|
164
|
+
function ln(e) {
|
|
165
|
+
sn().$$.on_mount.push(e);
|
|
166
166
|
}
|
|
167
|
-
const q = [],
|
|
167
|
+
const q = [], Ze = [];
|
|
168
168
|
let K = [];
|
|
169
|
-
const
|
|
170
|
-
let
|
|
171
|
-
function
|
|
172
|
-
|
|
169
|
+
const _t = [], un = /* @__PURE__ */ Promise.resolve();
|
|
170
|
+
let Qe = !1;
|
|
171
|
+
function hn() {
|
|
172
|
+
Qe || (Qe = !0, un.then(F));
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Ye(e) {
|
|
175
175
|
K.push(e);
|
|
176
176
|
}
|
|
177
|
-
const
|
|
177
|
+
const $e = /* @__PURE__ */ new Set();
|
|
178
178
|
let Y = 0;
|
|
179
179
|
function F() {
|
|
180
180
|
if (Y !== 0)
|
|
@@ -184,36 +184,36 @@ function F() {
|
|
|
184
184
|
try {
|
|
185
185
|
for (; Y < q.length; ) {
|
|
186
186
|
const t = q[Y];
|
|
187
|
-
Y++, fe(t),
|
|
187
|
+
Y++, fe(t), cn(t.$$);
|
|
188
188
|
}
|
|
189
189
|
} catch (t) {
|
|
190
190
|
throw q.length = 0, Y = 0, t;
|
|
191
191
|
}
|
|
192
|
-
for (fe(null), q.length = 0, Y = 0;
|
|
192
|
+
for (fe(null), q.length = 0, Y = 0; Ze.length; ) Ze.pop()();
|
|
193
193
|
for (let t = 0; t < K.length; t += 1) {
|
|
194
194
|
const r = K[t];
|
|
195
|
-
|
|
195
|
+
$e.has(r) || ($e.add(r), r());
|
|
196
196
|
}
|
|
197
197
|
K.length = 0;
|
|
198
198
|
} while (q.length);
|
|
199
|
-
for (;
|
|
200
|
-
|
|
201
|
-
|
|
199
|
+
for (; _t.length; )
|
|
200
|
+
_t.pop()();
|
|
201
|
+
Qe = !1, $e.clear(), fe(e);
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function cn(e) {
|
|
204
204
|
if (e.fragment !== null) {
|
|
205
205
|
e.update(), ae(e.before_update);
|
|
206
206
|
const t = e.dirty;
|
|
207
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
207
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ye);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function fn(e) {
|
|
211
211
|
const t = [], r = [];
|
|
212
212
|
K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
|
|
213
213
|
}
|
|
214
214
|
const Ee = /* @__PURE__ */ new Set();
|
|
215
215
|
let z;
|
|
216
|
-
function
|
|
216
|
+
function or() {
|
|
217
217
|
z = {
|
|
218
218
|
r: 0,
|
|
219
219
|
c: [],
|
|
@@ -221,10 +221,10 @@ function ir() {
|
|
|
221
221
|
// parent group
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function ar() {
|
|
225
225
|
z.r || ae(z.c), z = z.p;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function V(e, t) {
|
|
228
228
|
e && e.i && (Ee.delete(e), e.i(t));
|
|
229
229
|
}
|
|
230
230
|
function me(e, t, r, n) {
|
|
@@ -235,24 +235,24 @@ function me(e, t, r, n) {
|
|
|
235
235
|
}), e.o(t);
|
|
236
236
|
} else n && n();
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function Ae(e) {
|
|
239
239
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function dn(e, t, r) {
|
|
242
242
|
const { fragment: n, after_update: i } = e.$$;
|
|
243
|
-
n && n.m(t, r),
|
|
244
|
-
const o = e.$$.on_mount.map(
|
|
243
|
+
n && n.m(t, r), Ye(() => {
|
|
244
|
+
const o = e.$$.on_mount.map(er).filter(ht);
|
|
245
245
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
|
|
246
|
-
}), i.forEach(
|
|
246
|
+
}), i.forEach(Ye);
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function mn(e, t) {
|
|
249
249
|
const r = e.$$;
|
|
250
|
-
r.fragment !== null && (
|
|
250
|
+
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 = []);
|
|
251
251
|
}
|
|
252
|
-
function
|
|
253
|
-
e.$$.dirty[0] === -1 && (q.push(e),
|
|
252
|
+
function pn(e, t) {
|
|
253
|
+
e.$$.dirty[0] === -1 && (q.push(e), hn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function gn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
256
256
|
const l = de;
|
|
257
257
|
fe(e);
|
|
258
258
|
const u = e.$$ = {
|
|
@@ -262,7 +262,7 @@ function vn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
262
262
|
props: o,
|
|
263
263
|
update: R,
|
|
264
264
|
not_equal: i,
|
|
265
|
-
bound:
|
|
265
|
+
bound: yt(),
|
|
266
266
|
// lifecycle
|
|
267
267
|
on_mount: [],
|
|
268
268
|
on_destroy: [],
|
|
@@ -271,7 +271,7 @@ function vn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
271
271
|
after_update: [],
|
|
272
272
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
273
273
|
// everything else
|
|
274
|
-
callbacks:
|
|
274
|
+
callbacks: yt(),
|
|
275
275
|
dirty: s,
|
|
276
276
|
skip_bound: !1,
|
|
277
277
|
root: t.target || l.$$.root
|
|
@@ -280,19 +280,19 @@ function vn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
280
280
|
let h = !1;
|
|
281
281
|
if (u.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
|
|
282
282
|
const g = p.length ? p[0] : f;
|
|
283
|
-
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h &&
|
|
283
|
+
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;
|
|
284
284
|
}) : [], u.update(), h = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
285
285
|
if (t.hydrate) {
|
|
286
|
-
const d =
|
|
286
|
+
const d = on(t.target);
|
|
287
287
|
u.fragment && u.fragment.l(d), d.forEach(O);
|
|
288
288
|
} else
|
|
289
289
|
u.fragment && u.fragment.c();
|
|
290
|
-
t.intro &&
|
|
290
|
+
t.intro && V(e.$$.fragment), dn(e, t.target, t.anchor), F();
|
|
291
291
|
}
|
|
292
292
|
fe(l);
|
|
293
293
|
}
|
|
294
|
-
let
|
|
295
|
-
typeof HTMLElement == "function" && (
|
|
294
|
+
let sr;
|
|
295
|
+
typeof HTMLElement == "function" && (sr = class extends HTMLElement {
|
|
296
296
|
/** The Svelte component constructor */
|
|
297
297
|
$$ctor;
|
|
298
298
|
/** Slots */
|
|
@@ -334,7 +334,7 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
|
|
|
334
334
|
let o;
|
|
335
335
|
return {
|
|
336
336
|
c: function() {
|
|
337
|
-
o =
|
|
337
|
+
o = B("slot"), i !== "default" && c(o, "name", i);
|
|
338
338
|
},
|
|
339
339
|
/**
|
|
340
340
|
* @param {HTMLElement} target
|
|
@@ -351,7 +351,7 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
|
|
|
351
351
|
};
|
|
352
352
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
353
353
|
return;
|
|
354
|
-
const t = {}, r =
|
|
354
|
+
const t = {}, r = an(this);
|
|
355
355
|
for (const i of this.$$s)
|
|
356
356
|
i in r && (t[i] = [e(i)]);
|
|
357
357
|
for (const i of this.attributes) {
|
|
@@ -438,8 +438,8 @@ function Ne(e, t, r, n) {
|
|
|
438
438
|
return t;
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
|
-
function
|
|
442
|
-
let a = class extends
|
|
441
|
+
function vn(e, t, r, n, i, o) {
|
|
442
|
+
let a = class extends sr {
|
|
443
443
|
constructor() {
|
|
444
444
|
super(e, r, i), this.$$p_d = t;
|
|
445
445
|
}
|
|
@@ -467,7 +467,7 @@ function bn(e, t, r, n, i, o) {
|
|
|
467
467
|
}), e.element = /** @type {any} */
|
|
468
468
|
a, a;
|
|
469
469
|
}
|
|
470
|
-
class
|
|
470
|
+
class bn {
|
|
471
471
|
/**
|
|
472
472
|
* ### PRIVATE API
|
|
473
473
|
*
|
|
@@ -486,7 +486,7 @@ class yn {
|
|
|
486
486
|
$$set = void 0;
|
|
487
487
|
/** @returns {void} */
|
|
488
488
|
$destroy() {
|
|
489
|
-
|
|
489
|
+
mn(this, 1), this.$destroy = R;
|
|
490
490
|
}
|
|
491
491
|
/**
|
|
492
492
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -495,7 +495,7 @@ class yn {
|
|
|
495
495
|
* @returns {() => void}
|
|
496
496
|
*/
|
|
497
497
|
$on(t, r) {
|
|
498
|
-
if (!
|
|
498
|
+
if (!ht(r))
|
|
499
499
|
return R;
|
|
500
500
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
501
501
|
return n.push(r), () => {
|
|
@@ -508,37 +508,37 @@ class yn {
|
|
|
508
508
|
* @returns {void}
|
|
509
509
|
*/
|
|
510
510
|
$set(t) {
|
|
511
|
-
this.$$set && !
|
|
511
|
+
this.$$set && !Zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
|
-
const
|
|
515
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
516
|
-
var
|
|
517
|
-
return
|
|
514
|
+
const yn = "4";
|
|
515
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yn);
|
|
516
|
+
var Je = function(e, t) {
|
|
517
|
+
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
518
518
|
r.__proto__ = n;
|
|
519
519
|
} || function(r, n) {
|
|
520
520
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
521
|
-
},
|
|
521
|
+
}, Je(e, t);
|
|
522
522
|
};
|
|
523
|
-
function
|
|
523
|
+
function k(e, t) {
|
|
524
524
|
if (typeof t != "function" && t !== null)
|
|
525
525
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
526
|
-
|
|
526
|
+
Je(e, t);
|
|
527
527
|
function r() {
|
|
528
528
|
this.constructor = e;
|
|
529
529
|
}
|
|
530
530
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
531
531
|
}
|
|
532
|
-
var
|
|
533
|
-
return
|
|
532
|
+
var w = function() {
|
|
533
|
+
return w = Object.assign || function(t) {
|
|
534
534
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
535
535
|
r = arguments[n];
|
|
536
536
|
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
537
537
|
}
|
|
538
538
|
return t;
|
|
539
|
-
},
|
|
539
|
+
}, w.apply(this, arguments);
|
|
540
540
|
};
|
|
541
|
-
function
|
|
541
|
+
function _n(e, t) {
|
|
542
542
|
var r = {};
|
|
543
543
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
544
544
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -546,7 +546,7 @@ function xn(e, t) {
|
|
|
546
546
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
547
547
|
return r;
|
|
548
548
|
}
|
|
549
|
-
function
|
|
549
|
+
function qe(e) {
|
|
550
550
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
551
551
|
if (r) return r.call(e);
|
|
552
552
|
if (e && typeof e.length == "number") return {
|
|
@@ -556,7 +556,7 @@ function Je(e) {
|
|
|
556
556
|
};
|
|
557
557
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function Ke(e, t) {
|
|
560
560
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
561
561
|
if (!r) return e;
|
|
562
562
|
var n = r.call(e), i, o = [], a;
|
|
@@ -578,16 +578,16 @@ function ee(e, t, r) {
|
|
|
578
578
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
579
579
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function G(e) {
|
|
582
582
|
return typeof e == "function";
|
|
583
583
|
}
|
|
584
|
-
function
|
|
584
|
+
function lr(e) {
|
|
585
585
|
var t = function(n) {
|
|
586
586
|
Error.call(n), n.stack = new Error().stack;
|
|
587
587
|
}, r = e(t);
|
|
588
588
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
589
589
|
}
|
|
590
|
-
var
|
|
590
|
+
var ke = lr(function(e) {
|
|
591
591
|
return function(r) {
|
|
592
592
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
593
593
|
` + r.map(function(n, i) {
|
|
@@ -596,7 +596,7 @@ var $e = sr(function(e) {
|
|
|
596
596
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
597
597
|
};
|
|
598
598
|
});
|
|
599
|
-
function
|
|
599
|
+
function et(e, t) {
|
|
600
600
|
if (e) {
|
|
601
601
|
var r = e.indexOf(t);
|
|
602
602
|
0 <= r && e.splice(r, 1);
|
|
@@ -614,7 +614,7 @@ var Me = function() {
|
|
|
614
614
|
if (a)
|
|
615
615
|
if (this._parentage = null, Array.isArray(a))
|
|
616
616
|
try {
|
|
617
|
-
for (var s =
|
|
617
|
+
for (var s = qe(a), l = s.next(); !l.done; l = s.next()) {
|
|
618
618
|
var u = l.value;
|
|
619
619
|
u.remove(this);
|
|
620
620
|
}
|
|
@@ -630,22 +630,22 @@ var Me = function() {
|
|
|
630
630
|
else
|
|
631
631
|
a.remove(this);
|
|
632
632
|
var h = this.initialTeardown;
|
|
633
|
-
if (
|
|
633
|
+
if (G(h))
|
|
634
634
|
try {
|
|
635
635
|
h();
|
|
636
636
|
} catch (v) {
|
|
637
|
-
o = v instanceof
|
|
637
|
+
o = v instanceof ke ? v.errors : [v];
|
|
638
638
|
}
|
|
639
639
|
var d = this._finalizers;
|
|
640
640
|
if (d) {
|
|
641
641
|
this._finalizers = null;
|
|
642
642
|
try {
|
|
643
|
-
for (var f =
|
|
643
|
+
for (var f = qe(d), p = f.next(); !p.done; p = f.next()) {
|
|
644
644
|
var g = p.value;
|
|
645
645
|
try {
|
|
646
|
-
|
|
646
|
+
xt(g);
|
|
647
647
|
} catch (v) {
|
|
648
|
-
o = o ?? [], v instanceof
|
|
648
|
+
o = o ?? [], v instanceof ke ? o = ee(ee([], Ke(o)), Ke(v.errors)) : o.push(v);
|
|
649
649
|
}
|
|
650
650
|
}
|
|
651
651
|
} catch (v) {
|
|
@@ -659,13 +659,13 @@ var Me = function() {
|
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
661
|
if (o)
|
|
662
|
-
throw new
|
|
662
|
+
throw new ke(o);
|
|
663
663
|
}
|
|
664
664
|
}, e.prototype.add = function(t) {
|
|
665
665
|
var r;
|
|
666
666
|
if (t && t !== this)
|
|
667
667
|
if (this.closed)
|
|
668
|
-
|
|
668
|
+
xt(t);
|
|
669
669
|
else {
|
|
670
670
|
if (t instanceof e) {
|
|
671
671
|
if (t.closed || t._hasParent(this))
|
|
@@ -682,52 +682,52 @@ var Me = function() {
|
|
|
682
682
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
683
683
|
}, e.prototype._removeParent = function(t) {
|
|
684
684
|
var r = this._parentage;
|
|
685
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
685
|
+
r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
|
|
686
686
|
}, e.prototype.remove = function(t) {
|
|
687
687
|
var r = this._finalizers;
|
|
688
|
-
r &&
|
|
688
|
+
r && et(r, t), t instanceof e && t._removeParent(this);
|
|
689
689
|
}, e.EMPTY = function() {
|
|
690
690
|
var t = new e();
|
|
691
691
|
return t.closed = !0, t;
|
|
692
692
|
}(), e;
|
|
693
|
-
}(),
|
|
694
|
-
function
|
|
695
|
-
return e instanceof Me || e && "closed" in e &&
|
|
693
|
+
}(), ur = Me.EMPTY;
|
|
694
|
+
function hr(e) {
|
|
695
|
+
return e instanceof Me || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
|
696
696
|
}
|
|
697
|
-
function
|
|
698
|
-
|
|
697
|
+
function xt(e) {
|
|
698
|
+
G(e) ? e() : e.unsubscribe();
|
|
699
699
|
}
|
|
700
|
-
var
|
|
700
|
+
var xn = {
|
|
701
701
|
Promise: void 0
|
|
702
|
-
},
|
|
702
|
+
}, wn = {
|
|
703
703
|
setTimeout: function(e, t) {
|
|
704
704
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
705
705
|
r[n - 2] = arguments[n];
|
|
706
|
-
return setTimeout.apply(void 0, ee([e, t],
|
|
706
|
+
return setTimeout.apply(void 0, ee([e, t], Ke(r)));
|
|
707
707
|
},
|
|
708
708
|
clearTimeout: function(e) {
|
|
709
709
|
return clearTimeout(e);
|
|
710
710
|
},
|
|
711
711
|
delegate: void 0
|
|
712
712
|
};
|
|
713
|
-
function
|
|
714
|
-
|
|
713
|
+
function En(e) {
|
|
714
|
+
wn.setTimeout(function() {
|
|
715
715
|
throw e;
|
|
716
716
|
});
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function wt() {
|
|
719
719
|
}
|
|
720
720
|
function Se(e) {
|
|
721
721
|
e();
|
|
722
722
|
}
|
|
723
|
-
var
|
|
724
|
-
|
|
723
|
+
var cr = function(e) {
|
|
724
|
+
k(t, e);
|
|
725
725
|
function t(r) {
|
|
726
726
|
var n = e.call(this) || this;
|
|
727
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
727
|
+
return n.isStopped = !1, r ? (n.destination = r, hr(r) && r.add(n)) : n.destination = In, n;
|
|
728
728
|
}
|
|
729
729
|
return t.create = function(r, n, i) {
|
|
730
|
-
return new
|
|
730
|
+
return new tt(r, n, i);
|
|
731
731
|
}, t.prototype.next = function(r) {
|
|
732
732
|
this.isStopped || this._next(r);
|
|
733
733
|
}, t.prototype.error = function(r) {
|
|
@@ -751,7 +751,7 @@ var hr = function(e) {
|
|
|
751
751
|
this.unsubscribe();
|
|
752
752
|
}
|
|
753
753
|
}, t;
|
|
754
|
-
}(Me),
|
|
754
|
+
}(Me), Nn = function() {
|
|
755
755
|
function e(t) {
|
|
756
756
|
this.partialObserver = t;
|
|
757
757
|
}
|
|
@@ -782,43 +782,43 @@ var hr = function(e) {
|
|
|
782
782
|
xe(r);
|
|
783
783
|
}
|
|
784
784
|
}, e;
|
|
785
|
-
}(),
|
|
786
|
-
|
|
785
|
+
}(), tt = function(e) {
|
|
786
|
+
k(t, e);
|
|
787
787
|
function t(r, n, i) {
|
|
788
788
|
var o = e.call(this) || this, a;
|
|
789
|
-
return
|
|
789
|
+
return G(r) || !r ? a = {
|
|
790
790
|
next: r ?? void 0,
|
|
791
791
|
error: n ?? void 0,
|
|
792
792
|
complete: i ?? void 0
|
|
793
|
-
} : a = r, o.destination = new
|
|
793
|
+
} : a = r, o.destination = new Nn(a), o;
|
|
794
794
|
}
|
|
795
795
|
return t;
|
|
796
|
-
}(
|
|
796
|
+
}(cr);
|
|
797
797
|
function xe(e) {
|
|
798
|
-
|
|
798
|
+
En(e);
|
|
799
799
|
}
|
|
800
|
-
function
|
|
800
|
+
function Sn(e) {
|
|
801
801
|
throw e;
|
|
802
802
|
}
|
|
803
|
-
var
|
|
803
|
+
var In = {
|
|
804
804
|
closed: !0,
|
|
805
|
-
next:
|
|
806
|
-
error:
|
|
807
|
-
complete:
|
|
805
|
+
next: wt,
|
|
806
|
+
error: Sn,
|
|
807
|
+
complete: wt
|
|
808
808
|
}, Bn = function() {
|
|
809
809
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
810
810
|
}();
|
|
811
|
-
function
|
|
811
|
+
function An(e) {
|
|
812
812
|
return e;
|
|
813
813
|
}
|
|
814
|
-
function
|
|
815
|
-
return e.length === 0 ?
|
|
814
|
+
function Tn(e) {
|
|
815
|
+
return e.length === 0 ? An : e.length === 1 ? e[0] : function(r) {
|
|
816
816
|
return e.reduce(function(n, i) {
|
|
817
817
|
return i(n);
|
|
818
818
|
}, r);
|
|
819
819
|
};
|
|
820
820
|
}
|
|
821
|
-
var
|
|
821
|
+
var Et = function() {
|
|
822
822
|
function e(t) {
|
|
823
823
|
t && (this._subscribe = t);
|
|
824
824
|
}
|
|
@@ -826,7 +826,7 @@ var wt = function() {
|
|
|
826
826
|
var r = new e();
|
|
827
827
|
return r.source = this, r.operator = t, r;
|
|
828
828
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
829
|
-
var i = this, o =
|
|
829
|
+
var i = this, o = Hn(t) ? t : new tt(t, r, n);
|
|
830
830
|
return Se(function() {
|
|
831
831
|
var a = i, s = a.operator, l = a.source;
|
|
832
832
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -839,8 +839,8 @@ var wt = function() {
|
|
|
839
839
|
}
|
|
840
840
|
}, e.prototype.forEach = function(t, r) {
|
|
841
841
|
var n = this;
|
|
842
|
-
return r =
|
|
843
|
-
var a = new
|
|
842
|
+
return r = Nt(r), new r(function(i, o) {
|
|
843
|
+
var a = new tt({
|
|
844
844
|
next: function(s) {
|
|
845
845
|
try {
|
|
846
846
|
t(s);
|
|
@@ -861,10 +861,10 @@ var wt = function() {
|
|
|
861
861
|
}, e.prototype.pipe = function() {
|
|
862
862
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
863
863
|
t[r] = arguments[r];
|
|
864
|
-
return
|
|
864
|
+
return Tn(t)(this);
|
|
865
865
|
}, e.prototype.toPromise = function(t) {
|
|
866
866
|
var r = this;
|
|
867
|
-
return t =
|
|
867
|
+
return t = Nt(t), new t(function(n, i) {
|
|
868
868
|
var o;
|
|
869
869
|
r.subscribe(function(a) {
|
|
870
870
|
return o = a;
|
|
@@ -878,32 +878,32 @@ var wt = function() {
|
|
|
878
878
|
return new e(t);
|
|
879
879
|
}, e;
|
|
880
880
|
}();
|
|
881
|
-
function
|
|
881
|
+
function Nt(e) {
|
|
882
882
|
var t;
|
|
883
|
-
return (t = e ??
|
|
883
|
+
return (t = e ?? xn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
884
884
|
}
|
|
885
|
-
function
|
|
886
|
-
return e &&
|
|
885
|
+
function Pn(e) {
|
|
886
|
+
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
887
887
|
}
|
|
888
|
-
function
|
|
889
|
-
return e && e instanceof
|
|
888
|
+
function Hn(e) {
|
|
889
|
+
return e && e instanceof cr || Pn(e) && hr(e);
|
|
890
890
|
}
|
|
891
|
-
var
|
|
891
|
+
var Mn = lr(function(e) {
|
|
892
892
|
return function() {
|
|
893
893
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
894
894
|
};
|
|
895
|
-
}),
|
|
896
|
-
|
|
895
|
+
}), fr = function(e) {
|
|
896
|
+
k(t, e);
|
|
897
897
|
function t() {
|
|
898
898
|
var r = e.call(this) || this;
|
|
899
899
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
900
900
|
}
|
|
901
901
|
return t.prototype.lift = function(r) {
|
|
902
|
-
var n = new
|
|
902
|
+
var n = new St(this, this);
|
|
903
903
|
return n.operator = r, n;
|
|
904
904
|
}, t.prototype._throwIfClosed = function() {
|
|
905
905
|
if (this.closed)
|
|
906
|
-
throw new
|
|
906
|
+
throw new Mn();
|
|
907
907
|
}, t.prototype.next = function(r) {
|
|
908
908
|
var n = this;
|
|
909
909
|
Se(function() {
|
|
@@ -911,7 +911,7 @@ var On = sr(function(e) {
|
|
|
911
911
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
912
912
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
913
913
|
try {
|
|
914
|
-
for (var a =
|
|
914
|
+
for (var a = qe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
915
915
|
var l = s.value;
|
|
916
916
|
l.next(r);
|
|
917
917
|
}
|
|
@@ -959,20 +959,20 @@ var On = sr(function(e) {
|
|
|
959
959
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
960
960
|
}, t.prototype._innerSubscribe = function(r) {
|
|
961
961
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
962
|
-
return o || a ?
|
|
963
|
-
n.currentObservers = null,
|
|
962
|
+
return o || a ? ur : (this.currentObservers = null, s.push(r), new Me(function() {
|
|
963
|
+
n.currentObservers = null, et(s, r);
|
|
964
964
|
}));
|
|
965
965
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
966
966
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
967
967
|
i ? r.error(o) : a && r.complete();
|
|
968
968
|
}, t.prototype.asObservable = function() {
|
|
969
|
-
var r = new
|
|
969
|
+
var r = new Et();
|
|
970
970
|
return r.source = this, r;
|
|
971
971
|
}, t.create = function(r, n) {
|
|
972
|
-
return new
|
|
972
|
+
return new St(r, n);
|
|
973
973
|
}, t;
|
|
974
|
-
}(
|
|
975
|
-
|
|
974
|
+
}(Et), St = function(e) {
|
|
975
|
+
k(t, e);
|
|
976
976
|
function t(r, n) {
|
|
977
977
|
var i = e.call(this) || this;
|
|
978
978
|
return i.destination = r, i.source = n, i;
|
|
@@ -988,17 +988,17 @@ var On = sr(function(e) {
|
|
|
988
988
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
989
989
|
}, t.prototype._subscribe = function(r) {
|
|
990
990
|
var n, i;
|
|
991
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
991
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ur;
|
|
992
992
|
}, t;
|
|
993
|
-
}(
|
|
993
|
+
}(fr), dr = {
|
|
994
994
|
now: function() {
|
|
995
|
-
return (
|
|
995
|
+
return (dr.delegate || Date).now();
|
|
996
996
|
},
|
|
997
997
|
delegate: void 0
|
|
998
|
-
},
|
|
999
|
-
|
|
998
|
+
}, On = function(e) {
|
|
999
|
+
k(t, e);
|
|
1000
1000
|
function t(r, n, i) {
|
|
1001
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1001
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = dr);
|
|
1002
1002
|
var o = e.call(this) || this;
|
|
1003
1003
|
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;
|
|
1004
1004
|
}
|
|
@@ -1018,15 +1018,15 @@ var On = sr(function(e) {
|
|
|
1018
1018
|
u && o.splice(0, u + 1);
|
|
1019
1019
|
}
|
|
1020
1020
|
}, t;
|
|
1021
|
-
}(
|
|
1022
|
-
const
|
|
1023
|
-
if (
|
|
1024
|
-
const r = new
|
|
1025
|
-
|
|
1021
|
+
}(fr);
|
|
1022
|
+
const It = [], Bt = {}, Ln = (e, t = 0) => {
|
|
1023
|
+
if (It.indexOf(e) == -1) {
|
|
1024
|
+
const r = new On(t);
|
|
1025
|
+
Bt[e] = r, It.push(e);
|
|
1026
1026
|
}
|
|
1027
|
-
return
|
|
1027
|
+
return Bt[e];
|
|
1028
1028
|
}, J = [];
|
|
1029
|
-
function
|
|
1029
|
+
function Cn(e, t) {
|
|
1030
1030
|
return {
|
|
1031
1031
|
subscribe: Oe(e, t).subscribe
|
|
1032
1032
|
};
|
|
@@ -1035,7 +1035,7 @@ function Oe(e, t = R) {
|
|
|
1035
1035
|
let r;
|
|
1036
1036
|
const n = /* @__PURE__ */ new Set();
|
|
1037
1037
|
function i(s) {
|
|
1038
|
-
if (
|
|
1038
|
+
if (tr(e, s) && (e = s, r)) {
|
|
1039
1039
|
const l = !J.length;
|
|
1040
1040
|
for (const u of n)
|
|
1041
1041
|
u[1](), J.push(u, e);
|
|
@@ -1062,7 +1062,7 @@ function se(e, t, r) {
|
|
|
1062
1062
|
if (!i.every(Boolean))
|
|
1063
1063
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1064
1064
|
const o = t.length < 2;
|
|
1065
|
-
return
|
|
1065
|
+
return Cn(r, (a, s) => {
|
|
1066
1066
|
let l = !1;
|
|
1067
1067
|
const u = [];
|
|
1068
1068
|
let h = 0, d = R;
|
|
@@ -1071,12 +1071,12 @@ function se(e, t, r) {
|
|
|
1071
1071
|
return;
|
|
1072
1072
|
d();
|
|
1073
1073
|
const g = t(n ? u[0] : u, a, s);
|
|
1074
|
-
o ? a(g) : d =
|
|
1074
|
+
o ? a(g) : d = ht(g) ? g : R;
|
|
1075
1075
|
}, p = i.map(
|
|
1076
|
-
(g, v) =>
|
|
1076
|
+
(g, v) => rr(
|
|
1077
1077
|
g,
|
|
1078
|
-
(
|
|
1079
|
-
u[v] =
|
|
1078
|
+
(A) => {
|
|
1079
|
+
u[v] = A, h &= ~(1 << v), l && f();
|
|
1080
1080
|
},
|
|
1081
1081
|
() => {
|
|
1082
1082
|
h |= 1 << v;
|
|
@@ -1088,70 +1088,70 @@ function se(e, t, r) {
|
|
|
1088
1088
|
};
|
|
1089
1089
|
});
|
|
1090
1090
|
}
|
|
1091
|
-
function
|
|
1091
|
+
function Fn(e) {
|
|
1092
1092
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1093
1093
|
}
|
|
1094
|
-
var
|
|
1095
|
-
return
|
|
1094
|
+
var Rn = function(t) {
|
|
1095
|
+
return Un(t) && !Dn(t);
|
|
1096
1096
|
};
|
|
1097
|
-
function
|
|
1097
|
+
function Un(e) {
|
|
1098
1098
|
return !!e && typeof e == "object";
|
|
1099
1099
|
}
|
|
1100
|
-
function
|
|
1100
|
+
function Dn(e) {
|
|
1101
1101
|
var t = Object.prototype.toString.call(e);
|
|
1102
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1102
|
+
return t === "[object RegExp]" || t === "[object Date]" || kn(e);
|
|
1103
1103
|
}
|
|
1104
|
-
var
|
|
1105
|
-
function
|
|
1106
|
-
return e.$$typeof ===
|
|
1104
|
+
var Gn = typeof Symbol == "function" && Symbol.for, $n = Gn ? Symbol.for("react.element") : 60103;
|
|
1105
|
+
function kn(e) {
|
|
1106
|
+
return e.$$typeof === $n;
|
|
1107
1107
|
}
|
|
1108
|
-
function
|
|
1108
|
+
function jn(e) {
|
|
1109
1109
|
return Array.isArray(e) ? [] : {};
|
|
1110
1110
|
}
|
|
1111
1111
|
function pe(e, t) {
|
|
1112
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? re(
|
|
1112
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(jn(e), e, t) : e;
|
|
1113
1113
|
}
|
|
1114
|
-
function
|
|
1114
|
+
function Wn(e, t, r) {
|
|
1115
1115
|
return e.concat(t).map(function(n) {
|
|
1116
1116
|
return pe(n, r);
|
|
1117
1117
|
});
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function Vn(e, t) {
|
|
1120
1120
|
if (!t.customMerge)
|
|
1121
1121
|
return re;
|
|
1122
1122
|
var r = t.customMerge(e);
|
|
1123
1123
|
return typeof r == "function" ? r : re;
|
|
1124
1124
|
}
|
|
1125
|
-
function
|
|
1125
|
+
function Xn(e) {
|
|
1126
1126
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1127
1127
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1128
1128
|
}) : [];
|
|
1129
1129
|
}
|
|
1130
1130
|
function At(e) {
|
|
1131
|
-
return Object.keys(e).concat(
|
|
1131
|
+
return Object.keys(e).concat(Xn(e));
|
|
1132
1132
|
}
|
|
1133
|
-
function
|
|
1133
|
+
function mr(e, t) {
|
|
1134
1134
|
try {
|
|
1135
1135
|
return t in e;
|
|
1136
1136
|
} catch {
|
|
1137
1137
|
return !1;
|
|
1138
1138
|
}
|
|
1139
1139
|
}
|
|
1140
|
-
function
|
|
1141
|
-
return
|
|
1140
|
+
function zn(e, t) {
|
|
1141
|
+
return mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1143
|
+
function Zn(e, t, r) {
|
|
1144
1144
|
var n = {};
|
|
1145
1145
|
return r.isMergeableObject(e) && At(e).forEach(function(i) {
|
|
1146
1146
|
n[i] = pe(e[i], r);
|
|
1147
1147
|
}), At(t).forEach(function(i) {
|
|
1148
|
-
|
|
1148
|
+
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));
|
|
1149
1149
|
}), n;
|
|
1150
1150
|
}
|
|
1151
1151
|
function re(e, t, r) {
|
|
1152
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1152
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Wn, r.isMergeableObject = r.isMergeableObject || Rn, r.cloneUnlessOtherwiseSpecified = pe;
|
|
1153
1153
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1154
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1154
|
+
return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) : pe(t, r);
|
|
1155
1155
|
}
|
|
1156
1156
|
re.all = function(t, r) {
|
|
1157
1157
|
if (!Array.isArray(t))
|
|
@@ -1160,39 +1160,39 @@ re.all = function(t, r) {
|
|
|
1160
1160
|
return re(n, i, r);
|
|
1161
1161
|
}, {});
|
|
1162
1162
|
};
|
|
1163
|
-
var
|
|
1164
|
-
const
|
|
1165
|
-
function
|
|
1166
|
-
var r = t && t.cache ? t.cache :
|
|
1163
|
+
var Qn = re, Yn = Qn;
|
|
1164
|
+
const Jn = /* @__PURE__ */ Fn(Yn);
|
|
1165
|
+
function je(e, t) {
|
|
1166
|
+
var r = t && t.cache ? t.cache : ii, n = t && t.serializer ? t.serializer : ri, i = t && t.strategy ? t.strategy : ei;
|
|
1167
1167
|
return i(e, {
|
|
1168
1168
|
cache: r,
|
|
1169
1169
|
serializer: n
|
|
1170
1170
|
});
|
|
1171
1171
|
}
|
|
1172
|
-
function
|
|
1172
|
+
function qn(e) {
|
|
1173
1173
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1174
1174
|
}
|
|
1175
|
-
function
|
|
1176
|
-
var i =
|
|
1175
|
+
function Kn(e, t, r, n) {
|
|
1176
|
+
var i = qn(n) ? n : r(n), o = t.get(i);
|
|
1177
1177
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1178
1178
|
}
|
|
1179
|
-
function
|
|
1179
|
+
function pr(e, t, r) {
|
|
1180
1180
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1181
1181
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1182
1182
|
}
|
|
1183
|
-
function
|
|
1183
|
+
function gr(e, t, r, n, i) {
|
|
1184
1184
|
return r.bind(t, e, n, i);
|
|
1185
1185
|
}
|
|
1186
|
-
function
|
|
1187
|
-
var r = e.length === 1 ?
|
|
1188
|
-
return
|
|
1186
|
+
function ei(e, t) {
|
|
1187
|
+
var r = e.length === 1 ? Kn : pr;
|
|
1188
|
+
return gr(e, this, r, t.cache.create(), t.serializer);
|
|
1189
1189
|
}
|
|
1190
|
-
function
|
|
1191
|
-
return
|
|
1190
|
+
function ti(e, t) {
|
|
1191
|
+
return gr(e, this, pr, t.cache.create(), t.serializer);
|
|
1192
1192
|
}
|
|
1193
|
-
var
|
|
1193
|
+
var ri = function() {
|
|
1194
1194
|
return JSON.stringify(arguments);
|
|
1195
|
-
},
|
|
1195
|
+
}, ni = (
|
|
1196
1196
|
/** @class */
|
|
1197
1197
|
function() {
|
|
1198
1198
|
function e() {
|
|
@@ -1204,61 +1204,61 @@ var ni = function() {
|
|
|
1204
1204
|
this.cache[t] = r;
|
|
1205
1205
|
}, e;
|
|
1206
1206
|
}()
|
|
1207
|
-
),
|
|
1207
|
+
), ii = {
|
|
1208
1208
|
create: function() {
|
|
1209
|
-
return new
|
|
1209
|
+
return new ni();
|
|
1210
1210
|
}
|
|
1211
|
-
},
|
|
1212
|
-
variadic:
|
|
1211
|
+
}, We = {
|
|
1212
|
+
variadic: ti
|
|
1213
1213
|
}, _;
|
|
1214
1214
|
(function(e) {
|
|
1215
1215
|
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";
|
|
1216
1216
|
})(_ || (_ = {}));
|
|
1217
|
-
var
|
|
1217
|
+
var I;
|
|
1218
1218
|
(function(e) {
|
|
1219
1219
|
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";
|
|
1220
|
-
})(
|
|
1220
|
+
})(I || (I = {}));
|
|
1221
1221
|
var ne;
|
|
1222
1222
|
(function(e) {
|
|
1223
1223
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1224
1224
|
})(ne || (ne = {}));
|
|
1225
|
-
function
|
|
1226
|
-
return e.type ===
|
|
1225
|
+
function Tt(e) {
|
|
1226
|
+
return e.type === I.literal;
|
|
1227
1227
|
}
|
|
1228
|
-
function
|
|
1229
|
-
return e.type ===
|
|
1230
|
-
}
|
|
1231
|
-
function gr(e) {
|
|
1232
|
-
return e.type === S.number;
|
|
1228
|
+
function oi(e) {
|
|
1229
|
+
return e.type === I.argument;
|
|
1233
1230
|
}
|
|
1234
1231
|
function vr(e) {
|
|
1235
|
-
return e.type ===
|
|
1232
|
+
return e.type === I.number;
|
|
1236
1233
|
}
|
|
1237
1234
|
function br(e) {
|
|
1238
|
-
return e.type ===
|
|
1235
|
+
return e.type === I.date;
|
|
1239
1236
|
}
|
|
1240
1237
|
function yr(e) {
|
|
1241
|
-
return e.type ===
|
|
1238
|
+
return e.type === I.time;
|
|
1242
1239
|
}
|
|
1243
1240
|
function _r(e) {
|
|
1244
|
-
return e.type ===
|
|
1245
|
-
}
|
|
1246
|
-
function si(e) {
|
|
1247
|
-
return e.type === S.pound;
|
|
1241
|
+
return e.type === I.select;
|
|
1248
1242
|
}
|
|
1249
1243
|
function xr(e) {
|
|
1250
|
-
return e.type ===
|
|
1244
|
+
return e.type === I.plural;
|
|
1245
|
+
}
|
|
1246
|
+
function ai(e) {
|
|
1247
|
+
return e.type === I.pound;
|
|
1251
1248
|
}
|
|
1252
1249
|
function wr(e) {
|
|
1250
|
+
return e.type === I.tag;
|
|
1251
|
+
}
|
|
1252
|
+
function Er(e) {
|
|
1253
1253
|
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1254
1254
|
}
|
|
1255
|
-
function
|
|
1255
|
+
function rt(e) {
|
|
1256
1256
|
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1257
1257
|
}
|
|
1258
|
-
var
|
|
1259
|
-
function
|
|
1258
|
+
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;
|
|
1259
|
+
function li(e) {
|
|
1260
1260
|
var t = {};
|
|
1261
|
-
return e.replace(
|
|
1261
|
+
return e.replace(si, function(r) {
|
|
1262
1262
|
var n = r.length;
|
|
1263
1263
|
switch (r[0]) {
|
|
1264
1264
|
case "G":
|
|
@@ -1347,11 +1347,11 @@ function ui(e) {
|
|
|
1347
1347
|
return "";
|
|
1348
1348
|
}), t;
|
|
1349
1349
|
}
|
|
1350
|
-
var
|
|
1351
|
-
function
|
|
1350
|
+
var ui = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1351
|
+
function hi(e) {
|
|
1352
1352
|
if (e.length === 0)
|
|
1353
1353
|
throw new Error("Number skeleton cannot be empty");
|
|
1354
|
-
for (var t = e.split(
|
|
1354
|
+
for (var t = e.split(ui).filter(function(f) {
|
|
1355
1355
|
return f.length > 0;
|
|
1356
1356
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1357
1357
|
var o = i[n], a = o.split("/");
|
|
@@ -1366,17 +1366,17 @@ function ci(e) {
|
|
|
1366
1366
|
}
|
|
1367
1367
|
return r;
|
|
1368
1368
|
}
|
|
1369
|
-
function
|
|
1369
|
+
function ci(e) {
|
|
1370
1370
|
return e.replace(/^(.*?)-/, "");
|
|
1371
1371
|
}
|
|
1372
|
-
var
|
|
1373
|
-
function
|
|
1372
|
+
var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Sr = /^(@+)?(\+|#+)?[rs]?$/g, fi = /(\*)(0+)|(#+)(0+)|(0+)/g, Ir = /^(0+)$/;
|
|
1373
|
+
function Ht(e) {
|
|
1374
1374
|
var t = {};
|
|
1375
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1375
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Sr, function(r, n, i) {
|
|
1376
1376
|
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)), "";
|
|
1377
1377
|
}), t;
|
|
1378
1378
|
}
|
|
1379
|
-
function
|
|
1379
|
+
function Br(e) {
|
|
1380
1380
|
switch (e) {
|
|
1381
1381
|
case "sign-auto":
|
|
1382
1382
|
return {
|
|
@@ -1416,7 +1416,7 @@ function Ir(e) {
|
|
|
1416
1416
|
};
|
|
1417
1417
|
}
|
|
1418
1418
|
}
|
|
1419
|
-
function
|
|
1419
|
+
function di(e) {
|
|
1420
1420
|
var t;
|
|
1421
1421
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1422
1422
|
notation: "engineering"
|
|
@@ -1424,17 +1424,17 @@ function mi(e) {
|
|
|
1424
1424
|
notation: "scientific"
|
|
1425
1425
|
}, e = e.slice(1)), t) {
|
|
1426
1426
|
var r = e.slice(0, 2);
|
|
1427
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1427
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ir.test(e))
|
|
1428
1428
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1429
1429
|
t.minimumIntegerDigits = e.length;
|
|
1430
1430
|
}
|
|
1431
1431
|
return t;
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1434
|
-
var t = {}, r =
|
|
1433
|
+
function Mt(e) {
|
|
1434
|
+
var t = {}, r = Br(e);
|
|
1435
1435
|
return r || t;
|
|
1436
1436
|
}
|
|
1437
|
-
function
|
|
1437
|
+
function mi(e) {
|
|
1438
1438
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1439
1439
|
var i = n[r];
|
|
1440
1440
|
switch (i.stem) {
|
|
@@ -1458,7 +1458,7 @@ function pi(e) {
|
|
|
1458
1458
|
continue;
|
|
1459
1459
|
case "measure-unit":
|
|
1460
1460
|
case "unit":
|
|
1461
|
-
t.style = "unit", t.unit =
|
|
1461
|
+
t.style = "unit", t.unit = ci(i.options[0]);
|
|
1462
1462
|
continue;
|
|
1463
1463
|
case "compact-short":
|
|
1464
1464
|
case "K":
|
|
@@ -1469,13 +1469,13 @@ function pi(e) {
|
|
|
1469
1469
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1470
1470
|
continue;
|
|
1471
1471
|
case "scientific":
|
|
1472
|
-
t =
|
|
1473
|
-
return
|
|
1472
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1473
|
+
return w(w({}, l), Mt(u));
|
|
1474
1474
|
}, {}));
|
|
1475
1475
|
continue;
|
|
1476
1476
|
case "engineering":
|
|
1477
|
-
t =
|
|
1478
|
-
return
|
|
1477
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1478
|
+
return w(w({}, l), Mt(u));
|
|
1479
1479
|
}, {}));
|
|
1480
1480
|
continue;
|
|
1481
1481
|
case "notation-simple":
|
|
@@ -1520,7 +1520,7 @@ function pi(e) {
|
|
|
1520
1520
|
case "integer-width":
|
|
1521
1521
|
if (i.options.length > 1)
|
|
1522
1522
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1523
|
-
i.options[0].replace(
|
|
1523
|
+
i.options[0].replace(fi, function(l, u, h, d, f, p) {
|
|
1524
1524
|
if (u)
|
|
1525
1525
|
t.minimumIntegerDigits = h.length;
|
|
1526
1526
|
else {
|
|
@@ -1533,28 +1533,28 @@ function pi(e) {
|
|
|
1533
1533
|
});
|
|
1534
1534
|
continue;
|
|
1535
1535
|
}
|
|
1536
|
-
if (
|
|
1536
|
+
if (Ir.test(i.stem)) {
|
|
1537
1537
|
t.minimumIntegerDigits = i.stem.length;
|
|
1538
1538
|
continue;
|
|
1539
1539
|
}
|
|
1540
|
-
if (
|
|
1540
|
+
if (Pt.test(i.stem)) {
|
|
1541
1541
|
if (i.options.length > 1)
|
|
1542
1542
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1543
|
-
i.stem.replace(
|
|
1543
|
+
i.stem.replace(Pt, function(l, u, h, d, f, p) {
|
|
1544
1544
|
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), "";
|
|
1545
1545
|
});
|
|
1546
1546
|
var o = i.options[0];
|
|
1547
|
-
o === "w" ? t =
|
|
1547
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Ht(o)));
|
|
1548
1548
|
continue;
|
|
1549
1549
|
}
|
|
1550
|
-
if (
|
|
1551
|
-
t =
|
|
1550
|
+
if (Sr.test(i.stem)) {
|
|
1551
|
+
t = w(w({}, t), Ht(i.stem));
|
|
1552
1552
|
continue;
|
|
1553
1553
|
}
|
|
1554
|
-
var a =
|
|
1555
|
-
a && (t =
|
|
1556
|
-
var s =
|
|
1557
|
-
s && (t =
|
|
1554
|
+
var a = Br(i.stem);
|
|
1555
|
+
a && (t = w(w({}, t), a));
|
|
1556
|
+
var s = di(i.stem);
|
|
1557
|
+
s && (t = w(w({}, t), s));
|
|
1558
1558
|
}
|
|
1559
1559
|
return t;
|
|
1560
1560
|
}
|
|
@@ -2973,13 +2973,13 @@ var we = {
|
|
|
2973
2973
|
"h"
|
|
2974
2974
|
]
|
|
2975
2975
|
};
|
|
2976
|
-
function
|
|
2976
|
+
function pi(e, t) {
|
|
2977
2977
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2978
2978
|
var i = e.charAt(n);
|
|
2979
2979
|
if (i === "j") {
|
|
2980
2980
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2981
2981
|
o++, n++;
|
|
2982
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2982
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = gi(t);
|
|
2983
2983
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2984
2984
|
r += l;
|
|
2985
2985
|
for (; a-- > 0; )
|
|
@@ -2988,7 +2988,7 @@ function gi(e, t) {
|
|
|
2988
2988
|
}
|
|
2989
2989
|
return r;
|
|
2990
2990
|
}
|
|
2991
|
-
function
|
|
2991
|
+
function gi(e) {
|
|
2992
2992
|
var t = e.hourCycle;
|
|
2993
2993
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2994
2994
|
e.hourCycles && // @ts-ignore
|
|
@@ -3010,20 +3010,20 @@ function vi(e) {
|
|
|
3010
3010
|
var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
|
|
3011
3011
|
return i[0];
|
|
3012
3012
|
}
|
|
3013
|
-
var
|
|
3014
|
-
function
|
|
3013
|
+
var Ve, vi = new RegExp("^".concat(Nr.source, "*")), bi = new RegExp("".concat(Nr.source, "*$"));
|
|
3014
|
+
function x(e, t) {
|
|
3015
3015
|
return { start: e, end: t };
|
|
3016
3016
|
}
|
|
3017
|
-
var
|
|
3017
|
+
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) {
|
|
3018
3018
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3019
|
-
},
|
|
3019
|
+
}, nt = !0;
|
|
3020
3020
|
try {
|
|
3021
|
-
var Bi =
|
|
3022
|
-
|
|
3021
|
+
var Bi = Tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3022
|
+
nt = ((Ve = Bi.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
|
|
3023
3023
|
} catch {
|
|
3024
|
-
|
|
3024
|
+
nt = !1;
|
|
3025
3025
|
}
|
|
3026
|
-
var
|
|
3026
|
+
var Ot = yi ? (
|
|
3027
3027
|
// Native
|
|
3028
3028
|
function(t, r, n) {
|
|
3029
3029
|
return t.startsWith(r, n);
|
|
@@ -3033,7 +3033,7 @@ var Mt = _i ? (
|
|
|
3033
3033
|
function(t, r, n) {
|
|
3034
3034
|
return t.slice(n, n + r.length) === r;
|
|
3035
3035
|
}
|
|
3036
|
-
),
|
|
3036
|
+
), it = _i ? String.fromCodePoint : (
|
|
3037
3037
|
// IE11
|
|
3038
3038
|
function() {
|
|
3039
3039
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3045,9 +3045,9 @@ var Mt = _i ? (
|
|
|
3045
3045
|
}
|
|
3046
3046
|
return n;
|
|
3047
3047
|
}
|
|
3048
|
-
),
|
|
3048
|
+
), Lt = (
|
|
3049
3049
|
// native
|
|
3050
|
-
|
|
3050
|
+
xi ? Object.fromEntries : (
|
|
3051
3051
|
// Ponyfill
|
|
3052
3052
|
function(t) {
|
|
3053
3053
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3057,7 +3057,7 @@ var Mt = _i ? (
|
|
|
3057
3057
|
return r;
|
|
3058
3058
|
}
|
|
3059
3059
|
)
|
|
3060
|
-
), Ar =
|
|
3060
|
+
), Ar = wi ? (
|
|
3061
3061
|
// Native
|
|
3062
3062
|
function(t, r) {
|
|
3063
3063
|
return t.codePointAt(r);
|
|
@@ -3071,7 +3071,7 @@ var Mt = _i ? (
|
|
|
3071
3071
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3072
3072
|
}
|
|
3073
3073
|
}
|
|
3074
|
-
),
|
|
3074
|
+
), Ai = Ei ? (
|
|
3075
3075
|
// Native
|
|
3076
3076
|
function(t) {
|
|
3077
3077
|
return t.trimStart();
|
|
@@ -3079,9 +3079,9 @@ var Mt = _i ? (
|
|
|
3079
3079
|
) : (
|
|
3080
3080
|
// Ponyfill
|
|
3081
3081
|
function(t) {
|
|
3082
|
-
return t.replace(
|
|
3082
|
+
return t.replace(vi, "");
|
|
3083
3083
|
}
|
|
3084
|
-
),
|
|
3084
|
+
), Ti = Ni ? (
|
|
3085
3085
|
// Native
|
|
3086
3086
|
function(t) {
|
|
3087
3087
|
return t.trimEnd();
|
|
@@ -3089,32 +3089,32 @@ var Mt = _i ? (
|
|
|
3089
3089
|
) : (
|
|
3090
3090
|
// Ponyfill
|
|
3091
3091
|
function(t) {
|
|
3092
|
-
return t.replace(
|
|
3092
|
+
return t.replace(bi, "");
|
|
3093
3093
|
}
|
|
3094
3094
|
);
|
|
3095
|
-
function
|
|
3095
|
+
function Tr(e, t) {
|
|
3096
3096
|
return new RegExp(e, t);
|
|
3097
3097
|
}
|
|
3098
|
-
var
|
|
3099
|
-
if (
|
|
3100
|
-
var
|
|
3101
|
-
|
|
3098
|
+
var ot;
|
|
3099
|
+
if (nt) {
|
|
3100
|
+
var Ct = Tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3101
|
+
ot = function(t, r) {
|
|
3102
3102
|
var n;
|
|
3103
|
-
|
|
3104
|
-
var i =
|
|
3103
|
+
Ct.lastIndex = r;
|
|
3104
|
+
var i = Ct.exec(t);
|
|
3105
3105
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3106
3106
|
};
|
|
3107
3107
|
} else
|
|
3108
|
-
|
|
3108
|
+
ot = function(t, r) {
|
|
3109
3109
|
for (var n = []; ; ) {
|
|
3110
3110
|
var i = Ar(t, r);
|
|
3111
|
-
if (i === void 0 ||
|
|
3111
|
+
if (i === void 0 || Pr(i) || Oi(i))
|
|
3112
3112
|
break;
|
|
3113
3113
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3114
3114
|
}
|
|
3115
|
-
return
|
|
3115
|
+
return it.apply(void 0, n);
|
|
3116
3116
|
};
|
|
3117
|
-
var
|
|
3117
|
+
var Pi = (
|
|
3118
3118
|
/** @class */
|
|
3119
3119
|
function() {
|
|
3120
3120
|
function e(t, r) {
|
|
@@ -3138,14 +3138,14 @@ var Hi = (
|
|
|
3138
3138
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3139
3139
|
var s = this.clonePosition();
|
|
3140
3140
|
this.bump(), i.push({
|
|
3141
|
-
type:
|
|
3142
|
-
location:
|
|
3141
|
+
type: I.pound,
|
|
3142
|
+
location: x(s, this.clonePosition())
|
|
3143
3143
|
});
|
|
3144
3144
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3145
3145
|
if (n)
|
|
3146
3146
|
break;
|
|
3147
|
-
return this.error(_.UNMATCHED_CLOSING_TAG,
|
|
3148
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3147
|
+
return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3148
|
+
} else if (o === 60 && !this.ignoreTag && at(this.peek() || 0)) {
|
|
3149
3149
|
var a = this.parseTag(t, r);
|
|
3150
3150
|
if (a.err)
|
|
3151
3151
|
return a;
|
|
@@ -3166,9 +3166,9 @@ var Hi = (
|
|
|
3166
3166
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3167
3167
|
return {
|
|
3168
3168
|
val: {
|
|
3169
|
-
type:
|
|
3169
|
+
type: I.literal,
|
|
3170
3170
|
value: "<".concat(i, "/>"),
|
|
3171
|
-
location:
|
|
3171
|
+
location: x(n, this.clonePosition())
|
|
3172
3172
|
},
|
|
3173
3173
|
err: null
|
|
3174
3174
|
};
|
|
@@ -3178,25 +3178,25 @@ var Hi = (
|
|
|
3178
3178
|
return o;
|
|
3179
3179
|
var a = o.val, s = this.clonePosition();
|
|
3180
3180
|
if (this.bumpIf("</")) {
|
|
3181
|
-
if (this.isEOF() || !
|
|
3182
|
-
return this.error(_.INVALID_TAG,
|
|
3181
|
+
if (this.isEOF() || !at(this.char()))
|
|
3182
|
+
return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
|
|
3183
3183
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3184
|
-
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG,
|
|
3184
|
+
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3185
3185
|
val: {
|
|
3186
|
-
type:
|
|
3186
|
+
type: I.tag,
|
|
3187
3187
|
value: i,
|
|
3188
3188
|
children: a,
|
|
3189
|
-
location:
|
|
3189
|
+
location: x(n, this.clonePosition())
|
|
3190
3190
|
},
|
|
3191
3191
|
err: null
|
|
3192
|
-
} : this.error(_.INVALID_TAG,
|
|
3192
|
+
} : this.error(_.INVALID_TAG, x(s, this.clonePosition())));
|
|
3193
3193
|
} else
|
|
3194
|
-
return this.error(_.UNCLOSED_TAG,
|
|
3194
|
+
return this.error(_.UNCLOSED_TAG, x(n, this.clonePosition()));
|
|
3195
3195
|
} else
|
|
3196
|
-
return this.error(_.INVALID_TAG,
|
|
3196
|
+
return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
|
|
3197
3197
|
}, e.prototype.parseTagName = function() {
|
|
3198
3198
|
var t = this.offset();
|
|
3199
|
-
for (this.bump(); !this.isEOF() &&
|
|
3199
|
+
for (this.bump(); !this.isEOF() && Mi(this.char()); )
|
|
3200
3200
|
this.bump();
|
|
3201
3201
|
return this.message.slice(t, this.offset());
|
|
3202
3202
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3218,14 +3218,14 @@ var Hi = (
|
|
|
3218
3218
|
}
|
|
3219
3219
|
break;
|
|
3220
3220
|
}
|
|
3221
|
-
var l =
|
|
3221
|
+
var l = x(n, this.clonePosition());
|
|
3222
3222
|
return {
|
|
3223
|
-
val: { type:
|
|
3223
|
+
val: { type: I.literal, value: i, location: l },
|
|
3224
3224
|
err: null
|
|
3225
3225
|
};
|
|
3226
3226
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3227
3227
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3228
|
-
!
|
|
3228
|
+
!Hi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3229
3229
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3230
3230
|
if (this.isEOF() || this.char() !== 39)
|
|
3231
3231
|
return null;
|
|
@@ -3259,49 +3259,49 @@ var Hi = (
|
|
|
3259
3259
|
r.push(n);
|
|
3260
3260
|
this.bump();
|
|
3261
3261
|
}
|
|
3262
|
-
return
|
|
3262
|
+
return it.apply(void 0, r);
|
|
3263
3263
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3264
3264
|
if (this.isEOF())
|
|
3265
3265
|
return null;
|
|
3266
3266
|
var n = this.char();
|
|
3267
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3267
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), it(n));
|
|
3268
3268
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3269
3269
|
var n = this.clonePosition();
|
|
3270
3270
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3271
|
-
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3271
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
|
|
3272
3272
|
if (this.char() === 125)
|
|
3273
|
-
return this.bump(), this.error(_.EMPTY_ARGUMENT,
|
|
3273
|
+
return this.bump(), this.error(_.EMPTY_ARGUMENT, x(n, this.clonePosition()));
|
|
3274
3274
|
var i = this.parseIdentifierIfPossible().value;
|
|
3275
3275
|
if (!i)
|
|
3276
|
-
return this.error(_.MALFORMED_ARGUMENT,
|
|
3276
|
+
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3277
3277
|
if (this.bumpSpace(), this.isEOF())
|
|
3278
|
-
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3278
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
|
|
3279
3279
|
switch (this.char()) {
|
|
3280
3280
|
case 125:
|
|
3281
3281
|
return this.bump(), {
|
|
3282
3282
|
val: {
|
|
3283
|
-
type:
|
|
3283
|
+
type: I.argument,
|
|
3284
3284
|
// value does not include the opening and closing braces.
|
|
3285
3285
|
value: i,
|
|
3286
|
-
location:
|
|
3286
|
+
location: x(n, this.clonePosition())
|
|
3287
3287
|
},
|
|
3288
3288
|
err: null
|
|
3289
3289
|
};
|
|
3290
3290
|
case 44:
|
|
3291
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3291
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3292
3292
|
default:
|
|
3293
|
-
return this.error(_.MALFORMED_ARGUMENT,
|
|
3293
|
+
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3294
3294
|
}
|
|
3295
3295
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3296
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3296
|
+
var t = this.clonePosition(), r = this.offset(), n = ot(this.message, r), i = r + n.length;
|
|
3297
3297
|
this.bumpTo(i);
|
|
3298
|
-
var o = this.clonePosition(), a =
|
|
3298
|
+
var o = this.clonePosition(), a = x(t, o);
|
|
3299
3299
|
return { value: n, location: a };
|
|
3300
3300
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3301
3301
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3302
3302
|
switch (s) {
|
|
3303
3303
|
case "":
|
|
3304
|
-
return this.error(_.EXPECT_ARGUMENT_TYPE,
|
|
3304
|
+
return this.error(_.EXPECT_ARGUMENT_TYPE, x(a, l));
|
|
3305
3305
|
case "number":
|
|
3306
3306
|
case "date":
|
|
3307
3307
|
case "time": {
|
|
@@ -3312,35 +3312,35 @@ var Hi = (
|
|
|
3312
3312
|
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3313
3313
|
if (d.err)
|
|
3314
3314
|
return d;
|
|
3315
|
-
var f =
|
|
3315
|
+
var f = Ti(d.val);
|
|
3316
3316
|
if (f.length === 0)
|
|
3317
|
-
return this.error(_.EXPECT_ARGUMENT_STYLE,
|
|
3318
|
-
var p =
|
|
3317
|
+
return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3318
|
+
var p = x(h, this.clonePosition());
|
|
3319
3319
|
u = { style: f, styleLocation: p };
|
|
3320
3320
|
}
|
|
3321
3321
|
var g = this.tryParseArgumentClose(i);
|
|
3322
3322
|
if (g.err)
|
|
3323
3323
|
return g;
|
|
3324
|
-
var v =
|
|
3325
|
-
if (u &&
|
|
3326
|
-
var
|
|
3324
|
+
var v = x(i, this.clonePosition());
|
|
3325
|
+
if (u && Ot(u?.style, "::", 0)) {
|
|
3326
|
+
var A = Ai(u.style.slice(2));
|
|
3327
3327
|
if (s === "number") {
|
|
3328
|
-
var d = this.parseNumberSkeletonFromString(
|
|
3328
|
+
var d = this.parseNumberSkeletonFromString(A, u.styleLocation);
|
|
3329
3329
|
return d.err ? d : {
|
|
3330
|
-
val: { type:
|
|
3330
|
+
val: { type: I.number, value: n, location: v, style: d.val },
|
|
3331
3331
|
err: null
|
|
3332
3332
|
};
|
|
3333
3333
|
} else {
|
|
3334
|
-
if (
|
|
3334
|
+
if (A.length === 0)
|
|
3335
3335
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3336
|
-
var
|
|
3337
|
-
this.locale && (
|
|
3336
|
+
var S = A;
|
|
3337
|
+
this.locale && (S = pi(A, this.locale));
|
|
3338
3338
|
var f = {
|
|
3339
3339
|
type: ne.dateTime,
|
|
3340
|
-
pattern:
|
|
3340
|
+
pattern: S,
|
|
3341
3341
|
location: u.styleLocation,
|
|
3342
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3343
|
-
}, b = s === "date" ?
|
|
3342
|
+
parsedOptions: this.shouldParseSkeletons ? li(S) : {}
|
|
3343
|
+
}, b = s === "date" ? I.date : I.time;
|
|
3344
3344
|
return {
|
|
3345
3345
|
val: { type: b, value: n, location: v, style: f },
|
|
3346
3346
|
err: null
|
|
@@ -3349,7 +3349,7 @@ var Hi = (
|
|
|
3349
3349
|
}
|
|
3350
3350
|
return {
|
|
3351
3351
|
val: {
|
|
3352
|
-
type: s === "number" ?
|
|
3352
|
+
type: s === "number" ? I.number : s === "date" ? I.date : I.time,
|
|
3353
3353
|
value: n,
|
|
3354
3354
|
location: v,
|
|
3355
3355
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3360,41 +3360,41 @@ var Hi = (
|
|
|
3360
3360
|
case "plural":
|
|
3361
3361
|
case "selectordinal":
|
|
3362
3362
|
case "select": {
|
|
3363
|
-
var
|
|
3363
|
+
var N = this.clonePosition();
|
|
3364
3364
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3365
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3365
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(N, w({}, N)));
|
|
3366
3366
|
this.bumpSpace();
|
|
3367
|
-
var
|
|
3368
|
-
if (s !== "select" &&
|
|
3367
|
+
var E = this.parseIdentifierIfPossible(), T = 0;
|
|
3368
|
+
if (s !== "select" && E.value === "offset") {
|
|
3369
3369
|
if (!this.bumpIf(":"))
|
|
3370
|
-
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3370
|
+
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
3371
3371
|
this.bumpSpace();
|
|
3372
3372
|
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3373
3373
|
if (d.err)
|
|
3374
3374
|
return d;
|
|
3375
|
-
this.bumpSpace(),
|
|
3375
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), T = d.val;
|
|
3376
3376
|
}
|
|
3377
|
-
var
|
|
3378
|
-
if (
|
|
3379
|
-
return
|
|
3377
|
+
var X = this.tryParsePluralOrSelectOptions(t, s, r, E);
|
|
3378
|
+
if (X.err)
|
|
3379
|
+
return X;
|
|
3380
3380
|
var g = this.tryParseArgumentClose(i);
|
|
3381
3381
|
if (g.err)
|
|
3382
3382
|
return g;
|
|
3383
|
-
var Q =
|
|
3383
|
+
var Q = x(i, this.clonePosition());
|
|
3384
3384
|
return s === "select" ? {
|
|
3385
3385
|
val: {
|
|
3386
|
-
type:
|
|
3386
|
+
type: I.select,
|
|
3387
3387
|
value: n,
|
|
3388
|
-
options:
|
|
3388
|
+
options: Lt(X.val),
|
|
3389
3389
|
location: Q
|
|
3390
3390
|
},
|
|
3391
3391
|
err: null
|
|
3392
3392
|
} : {
|
|
3393
3393
|
val: {
|
|
3394
|
-
type:
|
|
3394
|
+
type: I.plural,
|
|
3395
3395
|
value: n,
|
|
3396
|
-
options:
|
|
3397
|
-
offset:
|
|
3396
|
+
options: Lt(X.val),
|
|
3397
|
+
offset: T,
|
|
3398
3398
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3399
3399
|
location: Q
|
|
3400
3400
|
},
|
|
@@ -3402,10 +3402,10 @@ var Hi = (
|
|
|
3402
3402
|
};
|
|
3403
3403
|
}
|
|
3404
3404
|
default:
|
|
3405
|
-
return this.error(_.INVALID_ARGUMENT_TYPE,
|
|
3405
|
+
return this.error(_.INVALID_ARGUMENT_TYPE, x(a, l));
|
|
3406
3406
|
}
|
|
3407
3407
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3408
|
-
return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3408
|
+
return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3409
3409
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3410
3410
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3411
3411
|
var n = this.char();
|
|
@@ -3414,7 +3414,7 @@ var Hi = (
|
|
|
3414
3414
|
this.bump();
|
|
3415
3415
|
var i = this.clonePosition();
|
|
3416
3416
|
if (!this.bumpUntil("'"))
|
|
3417
|
-
return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3417
|
+
return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
|
|
3418
3418
|
this.bump();
|
|
3419
3419
|
break;
|
|
3420
3420
|
}
|
|
@@ -3444,7 +3444,7 @@ var Hi = (
|
|
|
3444
3444
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3445
3445
|
var n = [];
|
|
3446
3446
|
try {
|
|
3447
|
-
n =
|
|
3447
|
+
n = hi(t);
|
|
3448
3448
|
} catch {
|
|
3449
3449
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3450
3450
|
}
|
|
@@ -3453,7 +3453,7 @@ var Hi = (
|
|
|
3453
3453
|
type: ne.number,
|
|
3454
3454
|
tokens: n,
|
|
3455
3455
|
location: r,
|
|
3456
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3456
|
+
parsedOptions: this.shouldParseSkeletons ? mi(n) : {}
|
|
3457
3457
|
},
|
|
3458
3458
|
err: null
|
|
3459
3459
|
};
|
|
@@ -3465,7 +3465,7 @@ var Hi = (
|
|
|
3465
3465
|
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3466
3466
|
if (f.err)
|
|
3467
3467
|
return f;
|
|
3468
|
-
h =
|
|
3468
|
+
h = x(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
|
|
3469
3469
|
} else
|
|
3470
3470
|
break;
|
|
3471
3471
|
}
|
|
@@ -3474,7 +3474,7 @@ var Hi = (
|
|
|
3474
3474
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3475
3475
|
var p = this.clonePosition();
|
|
3476
3476
|
if (!this.bumpIf("{"))
|
|
3477
|
-
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3477
|
+
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
|
|
3478
3478
|
var g = this.parseMessage(t + 1, r, n);
|
|
3479
3479
|
if (g.err)
|
|
3480
3480
|
return g;
|
|
@@ -3485,11 +3485,11 @@ var Hi = (
|
|
|
3485
3485
|
u,
|
|
3486
3486
|
{
|
|
3487
3487
|
value: g.val,
|
|
3488
|
-
location:
|
|
3488
|
+
location: x(p, this.clonePosition())
|
|
3489
3489
|
}
|
|
3490
3490
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3491
3491
|
}
|
|
3492
|
-
return s.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3492
|
+
return s.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3493
3493
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3494
3494
|
var n = 1, i = this.clonePosition();
|
|
3495
3495
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3500,8 +3500,8 @@ var Hi = (
|
|
|
3500
3500
|
else
|
|
3501
3501
|
break;
|
|
3502
3502
|
}
|
|
3503
|
-
var l =
|
|
3504
|
-
return o ? (a *= n,
|
|
3503
|
+
var l = x(i, this.clonePosition());
|
|
3504
|
+
return o ? (a *= n, Ii(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3505
3505
|
}, e.prototype.offset = function() {
|
|
3506
3506
|
return this.position.offset;
|
|
3507
3507
|
}, e.prototype.isEOF = function() {
|
|
@@ -3535,7 +3535,7 @@ var Hi = (
|
|
|
3535
3535
|
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);
|
|
3536
3536
|
}
|
|
3537
3537
|
}, e.prototype.bumpIf = function(t) {
|
|
3538
|
-
if (
|
|
3538
|
+
if (Ot(this.message, t, this.offset())) {
|
|
3539
3539
|
for (var r = 0; r < t.length; r++)
|
|
3540
3540
|
this.bump();
|
|
3541
3541
|
return !0;
|
|
@@ -3557,7 +3557,7 @@ var Hi = (
|
|
|
3557
3557
|
break;
|
|
3558
3558
|
}
|
|
3559
3559
|
}, e.prototype.bumpSpace = function() {
|
|
3560
|
-
for (; !this.isEOF() &&
|
|
3560
|
+
for (; !this.isEOF() && Pr(this.char()); )
|
|
3561
3561
|
this.bump();
|
|
3562
3562
|
}, e.prototype.peek = function() {
|
|
3563
3563
|
if (this.isEOF())
|
|
@@ -3567,37 +3567,37 @@ var Hi = (
|
|
|
3567
3567
|
}, e;
|
|
3568
3568
|
}()
|
|
3569
3569
|
);
|
|
3570
|
-
function
|
|
3570
|
+
function at(e) {
|
|
3571
3571
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3572
3572
|
}
|
|
3573
|
-
function
|
|
3574
|
-
return
|
|
3573
|
+
function Hi(e) {
|
|
3574
|
+
return at(e) || e === 47;
|
|
3575
3575
|
}
|
|
3576
|
-
function
|
|
3576
|
+
function Mi(e) {
|
|
3577
3577
|
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;
|
|
3578
3578
|
}
|
|
3579
|
-
function
|
|
3579
|
+
function Pr(e) {
|
|
3580
3580
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3581
3581
|
}
|
|
3582
|
-
function
|
|
3582
|
+
function Oi(e) {
|
|
3583
3583
|
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;
|
|
3584
3584
|
}
|
|
3585
|
-
function
|
|
3585
|
+
function st(e) {
|
|
3586
3586
|
e.forEach(function(t) {
|
|
3587
|
-
if (delete t.location,
|
|
3587
|
+
if (delete t.location, _r(t) || xr(t))
|
|
3588
3588
|
for (var r in t.options)
|
|
3589
|
-
delete t.options[r].location,
|
|
3590
|
-
else
|
|
3589
|
+
delete t.options[r].location, st(t.options[r].value);
|
|
3590
|
+
else vr(t) && Er(t.style) || (br(t) || yr(t)) && rt(t.style) ? delete t.style.location : wr(t) && st(t.children);
|
|
3591
3591
|
});
|
|
3592
3592
|
}
|
|
3593
|
-
function
|
|
3594
|
-
t === void 0 && (t = {}), t =
|
|
3595
|
-
var r = new
|
|
3593
|
+
function Li(e, t) {
|
|
3594
|
+
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3595
|
+
var r = new Pi(e, t).parse();
|
|
3596
3596
|
if (r.err) {
|
|
3597
3597
|
var n = SyntaxError(_[r.err.kind]);
|
|
3598
3598
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3599
3599
|
}
|
|
3600
|
-
return t?.captureLocation ||
|
|
3600
|
+
return t?.captureLocation || st(r.val), r.val;
|
|
3601
3601
|
}
|
|
3602
3602
|
var ie;
|
|
3603
3603
|
(function(e) {
|
|
@@ -3606,7 +3606,7 @@ var ie;
|
|
|
3606
3606
|
var Le = (
|
|
3607
3607
|
/** @class */
|
|
3608
3608
|
function(e) {
|
|
3609
|
-
|
|
3609
|
+
k(t, e);
|
|
3610
3610
|
function t(r, n, i) {
|
|
3611
3611
|
var o = e.call(this, r) || this;
|
|
3612
3612
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3615,28 +3615,28 @@ var Le = (
|
|
|
3615
3615
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3616
3616
|
}, t;
|
|
3617
3617
|
}(Error)
|
|
3618
|
-
),
|
|
3618
|
+
), Ft = (
|
|
3619
3619
|
/** @class */
|
|
3620
3620
|
function(e) {
|
|
3621
|
-
|
|
3621
|
+
k(t, e);
|
|
3622
3622
|
function t(r, n, i, o) {
|
|
3623
3623
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
|
|
3624
3624
|
}
|
|
3625
3625
|
return t;
|
|
3626
3626
|
}(Le)
|
|
3627
|
-
),
|
|
3627
|
+
), Ci = (
|
|
3628
3628
|
/** @class */
|
|
3629
3629
|
function(e) {
|
|
3630
|
-
|
|
3630
|
+
k(t, e);
|
|
3631
3631
|
function t(r, n, i) {
|
|
3632
3632
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
|
|
3633
3633
|
}
|
|
3634
3634
|
return t;
|
|
3635
3635
|
}(Le)
|
|
3636
|
-
),
|
|
3636
|
+
), Fi = (
|
|
3637
3637
|
/** @class */
|
|
3638
3638
|
function(e) {
|
|
3639
|
-
|
|
3639
|
+
k(t, e);
|
|
3640
3640
|
function t(r, n) {
|
|
3641
3641
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
|
|
3642
3642
|
}
|
|
@@ -3646,17 +3646,17 @@ var Le = (
|
|
|
3646
3646
|
(function(e) {
|
|
3647
3647
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3648
3648
|
})(M || (M = {}));
|
|
3649
|
-
function
|
|
3649
|
+
function Ri(e) {
|
|
3650
3650
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3651
3651
|
var n = t[t.length - 1];
|
|
3652
3652
|
return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
|
|
3653
3653
|
}, []);
|
|
3654
3654
|
}
|
|
3655
|
-
function
|
|
3655
|
+
function Ui(e) {
|
|
3656
3656
|
return typeof e == "function";
|
|
3657
3657
|
}
|
|
3658
3658
|
function Ie(e, t, r, n, i, o, a) {
|
|
3659
|
-
if (e.length === 1 &&
|
|
3659
|
+
if (e.length === 1 && Tt(e[0]))
|
|
3660
3660
|
return [
|
|
3661
3661
|
{
|
|
3662
3662
|
type: M.literal,
|
|
@@ -3665,14 +3665,14 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3665
3665
|
];
|
|
3666
3666
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3667
3667
|
var h = u[l];
|
|
3668
|
-
if (
|
|
3668
|
+
if (Tt(h)) {
|
|
3669
3669
|
s.push({
|
|
3670
3670
|
type: M.literal,
|
|
3671
3671
|
value: h.value
|
|
3672
3672
|
});
|
|
3673
3673
|
continue;
|
|
3674
3674
|
}
|
|
3675
|
-
if (
|
|
3675
|
+
if (ai(h)) {
|
|
3676
3676
|
typeof o == "number" && s.push({
|
|
3677
3677
|
type: M.literal,
|
|
3678
3678
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3681,89 +3681,89 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3681
3681
|
}
|
|
3682
3682
|
var d = h.value;
|
|
3683
3683
|
if (!(i && d in i))
|
|
3684
|
-
throw new
|
|
3684
|
+
throw new Fi(d, a);
|
|
3685
3685
|
var f = i[d];
|
|
3686
|
-
if (
|
|
3686
|
+
if (oi(h)) {
|
|
3687
3687
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3688
3688
|
type: typeof f == "string" ? M.literal : M.object,
|
|
3689
3689
|
value: f
|
|
3690
3690
|
});
|
|
3691
3691
|
continue;
|
|
3692
3692
|
}
|
|
3693
|
-
if (
|
|
3694
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3693
|
+
if (br(h)) {
|
|
3694
|
+
var p = typeof h.style == "string" ? n.date[h.style] : rt(h.style) ? h.style.parsedOptions : void 0;
|
|
3695
3695
|
s.push({
|
|
3696
3696
|
type: M.literal,
|
|
3697
3697
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3698
3698
|
});
|
|
3699
3699
|
continue;
|
|
3700
3700
|
}
|
|
3701
|
-
if (
|
|
3702
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3701
|
+
if (yr(h)) {
|
|
3702
|
+
var p = typeof h.style == "string" ? n.time[h.style] : rt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3703
3703
|
s.push({
|
|
3704
3704
|
type: M.literal,
|
|
3705
3705
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3706
3706
|
});
|
|
3707
3707
|
continue;
|
|
3708
3708
|
}
|
|
3709
|
-
if (
|
|
3710
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3709
|
+
if (vr(h)) {
|
|
3710
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Er(h.style) ? h.style.parsedOptions : void 0;
|
|
3711
3711
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3712
3712
|
type: M.literal,
|
|
3713
3713
|
value: r.getNumberFormat(t, p).format(f)
|
|
3714
3714
|
});
|
|
3715
3715
|
continue;
|
|
3716
3716
|
}
|
|
3717
|
-
if (
|
|
3718
|
-
var g = h.children, v = h.value,
|
|
3719
|
-
if (!
|
|
3720
|
-
throw new
|
|
3721
|
-
var
|
|
3722
|
-
return
|
|
3717
|
+
if (wr(h)) {
|
|
3718
|
+
var g = h.children, v = h.value, A = i[v];
|
|
3719
|
+
if (!Ui(A))
|
|
3720
|
+
throw new Ci(v, "function", a);
|
|
3721
|
+
var S = Ie(g, t, r, n, i, o), b = A(S.map(function(T) {
|
|
3722
|
+
return T.value;
|
|
3723
3723
|
}));
|
|
3724
|
-
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(
|
|
3724
|
+
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(T) {
|
|
3725
3725
|
return {
|
|
3726
|
-
type: typeof
|
|
3727
|
-
value:
|
|
3726
|
+
type: typeof T == "string" ? M.literal : M.object,
|
|
3727
|
+
value: T
|
|
3728
3728
|
};
|
|
3729
3729
|
}));
|
|
3730
3730
|
}
|
|
3731
|
-
if (
|
|
3732
|
-
var
|
|
3733
|
-
if (!
|
|
3734
|
-
throw new
|
|
3735
|
-
s.push.apply(s, Ie(
|
|
3731
|
+
if (_r(h)) {
|
|
3732
|
+
var N = h.options[f] || h.options.other;
|
|
3733
|
+
if (!N)
|
|
3734
|
+
throw new Ft(h.value, f, Object.keys(h.options), a);
|
|
3735
|
+
s.push.apply(s, Ie(N.value, t, r, n, i));
|
|
3736
3736
|
continue;
|
|
3737
3737
|
}
|
|
3738
|
-
if (
|
|
3739
|
-
var
|
|
3740
|
-
if (!
|
|
3738
|
+
if (xr(h)) {
|
|
3739
|
+
var N = h.options["=".concat(f)];
|
|
3740
|
+
if (!N) {
|
|
3741
3741
|
if (!Intl.PluralRules)
|
|
3742
3742
|
throw new Le(`Intl.PluralRules is not available in this environment.
|
|
3743
3743
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3744
3744
|
`, ie.MISSING_INTL_API, a);
|
|
3745
|
-
var
|
|
3746
|
-
|
|
3745
|
+
var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3746
|
+
N = h.options[E] || h.options.other;
|
|
3747
3747
|
}
|
|
3748
|
-
if (!
|
|
3749
|
-
throw new
|
|
3750
|
-
s.push.apply(s, Ie(
|
|
3748
|
+
if (!N)
|
|
3749
|
+
throw new Ft(h.value, f, Object.keys(h.options), a);
|
|
3750
|
+
s.push.apply(s, Ie(N.value, t, r, n, i, f - (h.offset || 0)));
|
|
3751
3751
|
continue;
|
|
3752
3752
|
}
|
|
3753
3753
|
}
|
|
3754
|
-
return
|
|
3754
|
+
return Ri(s);
|
|
3755
3755
|
}
|
|
3756
|
-
function
|
|
3757
|
-
return t ?
|
|
3758
|
-
return r[n] =
|
|
3756
|
+
function Di(e, t) {
|
|
3757
|
+
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3758
|
+
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3759
3759
|
}, {})) : e;
|
|
3760
3760
|
}
|
|
3761
|
-
function
|
|
3761
|
+
function Gi(e, t) {
|
|
3762
3762
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3763
|
-
return r[n] =
|
|
3764
|
-
},
|
|
3763
|
+
return r[n] = Di(e[n], t[n]), r;
|
|
3764
|
+
}, w({}, e)) : e;
|
|
3765
3765
|
}
|
|
3766
|
-
function
|
|
3766
|
+
function Xe(e) {
|
|
3767
3767
|
return {
|
|
3768
3768
|
create: function() {
|
|
3769
3769
|
return {
|
|
@@ -3777,39 +3777,39 @@ function Ve(e) {
|
|
|
3777
3777
|
}
|
|
3778
3778
|
};
|
|
3779
3779
|
}
|
|
3780
|
-
function
|
|
3780
|
+
function $i(e) {
|
|
3781
3781
|
return e === void 0 && (e = {
|
|
3782
3782
|
number: {},
|
|
3783
3783
|
dateTime: {},
|
|
3784
3784
|
pluralRules: {}
|
|
3785
3785
|
}), {
|
|
3786
|
-
getNumberFormat:
|
|
3786
|
+
getNumberFormat: je(function() {
|
|
3787
3787
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3788
3788
|
r[n] = arguments[n];
|
|
3789
3789
|
return new ((t = Intl.NumberFormat).bind.apply(t, ee([void 0], r, !1)))();
|
|
3790
3790
|
}, {
|
|
3791
|
-
cache:
|
|
3792
|
-
strategy:
|
|
3791
|
+
cache: Xe(e.number),
|
|
3792
|
+
strategy: We.variadic
|
|
3793
3793
|
}),
|
|
3794
|
-
getDateTimeFormat:
|
|
3794
|
+
getDateTimeFormat: je(function() {
|
|
3795
3795
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3796
3796
|
r[n] = arguments[n];
|
|
3797
3797
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, ee([void 0], r, !1)))();
|
|
3798
3798
|
}, {
|
|
3799
|
-
cache:
|
|
3800
|
-
strategy:
|
|
3799
|
+
cache: Xe(e.dateTime),
|
|
3800
|
+
strategy: We.variadic
|
|
3801
3801
|
}),
|
|
3802
|
-
getPluralRules:
|
|
3802
|
+
getPluralRules: je(function() {
|
|
3803
3803
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3804
3804
|
r[n] = arguments[n];
|
|
3805
3805
|
return new ((t = Intl.PluralRules).bind.apply(t, ee([void 0], r, !1)))();
|
|
3806
3806
|
}, {
|
|
3807
|
-
cache:
|
|
3808
|
-
strategy:
|
|
3807
|
+
cache: Xe(e.pluralRules),
|
|
3808
|
+
strategy: We.variadic
|
|
3809
3809
|
})
|
|
3810
3810
|
};
|
|
3811
3811
|
}
|
|
3812
|
-
var
|
|
3812
|
+
var ki = (
|
|
3813
3813
|
/** @class */
|
|
3814
3814
|
function() {
|
|
3815
3815
|
function e(t, r, n, i) {
|
|
@@ -3841,13 +3841,13 @@ var ji = (
|
|
|
3841
3841
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3842
3842
|
var a = i || {};
|
|
3843
3843
|
a.formatters;
|
|
3844
|
-
var s =
|
|
3845
|
-
this.ast = e.__parse(t,
|
|
3844
|
+
var s = _n(a, ["formatters"]);
|
|
3845
|
+
this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
|
|
3846
3846
|
} else
|
|
3847
3847
|
this.ast = t;
|
|
3848
3848
|
if (!Array.isArray(this.ast))
|
|
3849
3849
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3850
|
-
this.formats =
|
|
3850
|
+
this.formats = Gi(e.formats, n), this.formatters = i && i.formatters || $i(this.formatterCache);
|
|
3851
3851
|
}
|
|
3852
3852
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3853
3853
|
get: function() {
|
|
@@ -3860,7 +3860,7 @@ var ji = (
|
|
|
3860
3860
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3861
3861
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3862
3862
|
}
|
|
3863
|
-
}, e.__parse =
|
|
3863
|
+
}, e.__parse = Li, e.formats = {
|
|
3864
3864
|
number: {
|
|
3865
3865
|
integer: {
|
|
3866
3866
|
maximumFractionDigits: 0
|
|
@@ -3921,7 +3921,7 @@ var ji = (
|
|
|
3921
3921
|
}, e;
|
|
3922
3922
|
}()
|
|
3923
3923
|
);
|
|
3924
|
-
function
|
|
3924
|
+
function ji(e, t) {
|
|
3925
3925
|
if (t == null)
|
|
3926
3926
|
return;
|
|
3927
3927
|
if (t in e)
|
|
@@ -3942,92 +3942,92 @@ function Wi(e, t) {
|
|
|
3942
3942
|
n = void 0;
|
|
3943
3943
|
return n;
|
|
3944
3944
|
}
|
|
3945
|
-
const
|
|
3945
|
+
const W = {}, Wi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Hr = (e, t) => {
|
|
3946
3946
|
if (t == null)
|
|
3947
3947
|
return;
|
|
3948
|
-
if (t in
|
|
3949
|
-
return
|
|
3948
|
+
if (t in W && e in W[t])
|
|
3949
|
+
return W[t][e];
|
|
3950
3950
|
const r = Ce(t);
|
|
3951
3951
|
for (let n = 0; n < r.length; n++) {
|
|
3952
|
-
const i = r[n], o =
|
|
3952
|
+
const i = r[n], o = Xi(i, e);
|
|
3953
3953
|
if (o)
|
|
3954
|
-
return
|
|
3954
|
+
return Wi(e, t, o);
|
|
3955
3955
|
}
|
|
3956
3956
|
};
|
|
3957
|
-
let
|
|
3957
|
+
let ft;
|
|
3958
3958
|
const be = Oe({});
|
|
3959
|
-
function
|
|
3960
|
-
return
|
|
3959
|
+
function Vi(e) {
|
|
3960
|
+
return ft[e] || null;
|
|
3961
3961
|
}
|
|
3962
|
-
function
|
|
3963
|
-
return e in
|
|
3962
|
+
function Mr(e) {
|
|
3963
|
+
return e in ft;
|
|
3964
3964
|
}
|
|
3965
|
-
function
|
|
3966
|
-
if (!
|
|
3965
|
+
function Xi(e, t) {
|
|
3966
|
+
if (!Mr(e))
|
|
3967
3967
|
return null;
|
|
3968
|
-
const r =
|
|
3969
|
-
return
|
|
3968
|
+
const r = Vi(e);
|
|
3969
|
+
return ji(r, t);
|
|
3970
3970
|
}
|
|
3971
|
-
function
|
|
3971
|
+
function zi(e) {
|
|
3972
3972
|
if (e == null)
|
|
3973
3973
|
return;
|
|
3974
3974
|
const t = Ce(e);
|
|
3975
3975
|
for (let r = 0; r < t.length; r++) {
|
|
3976
3976
|
const n = t[r];
|
|
3977
|
-
if (
|
|
3977
|
+
if (Mr(n))
|
|
3978
3978
|
return n;
|
|
3979
3979
|
}
|
|
3980
3980
|
}
|
|
3981
|
-
function
|
|
3982
|
-
delete
|
|
3981
|
+
function Or(e, ...t) {
|
|
3982
|
+
delete W[e], be.update((r) => (r[e] = Jn.all([r[e] || {}, ...t]), r));
|
|
3983
3983
|
}
|
|
3984
3984
|
se(
|
|
3985
3985
|
[be],
|
|
3986
3986
|
([e]) => Object.keys(e)
|
|
3987
3987
|
);
|
|
3988
|
-
be.subscribe((e) =>
|
|
3989
|
-
const
|
|
3990
|
-
function
|
|
3991
|
-
|
|
3988
|
+
be.subscribe((e) => ft = e);
|
|
3989
|
+
const Be = {};
|
|
3990
|
+
function Zi(e, t) {
|
|
3991
|
+
Be[e].delete(t), Be[e].size === 0 && delete Be[e];
|
|
3992
3992
|
}
|
|
3993
|
-
function
|
|
3994
|
-
return
|
|
3993
|
+
function Lr(e) {
|
|
3994
|
+
return Be[e];
|
|
3995
3995
|
}
|
|
3996
|
-
function
|
|
3996
|
+
function Qi(e) {
|
|
3997
3997
|
return Ce(e).map((t) => {
|
|
3998
|
-
const r =
|
|
3998
|
+
const r = Lr(t);
|
|
3999
3999
|
return [t, r ? [...r] : []];
|
|
4000
4000
|
}).filter(([, t]) => t.length > 0);
|
|
4001
4001
|
}
|
|
4002
|
-
function
|
|
4002
|
+
function lt(e) {
|
|
4003
4003
|
return e == null ? !1 : Ce(e).some(
|
|
4004
4004
|
(t) => {
|
|
4005
4005
|
var r;
|
|
4006
|
-
return (r =
|
|
4006
|
+
return (r = Lr(t)) == null ? void 0 : r.size;
|
|
4007
4007
|
}
|
|
4008
4008
|
);
|
|
4009
4009
|
}
|
|
4010
|
-
function
|
|
4010
|
+
function Yi(e, t) {
|
|
4011
4011
|
return Promise.all(
|
|
4012
|
-
t.map((n) => (
|
|
4013
|
-
).then((n) =>
|
|
4012
|
+
t.map((n) => (Zi(e, n), n().then((i) => i.default || i)))
|
|
4013
|
+
).then((n) => Or(e, ...n));
|
|
4014
4014
|
}
|
|
4015
4015
|
const ce = {};
|
|
4016
|
-
function
|
|
4017
|
-
if (!
|
|
4016
|
+
function Cr(e) {
|
|
4017
|
+
if (!lt(e))
|
|
4018
4018
|
return e in ce ? ce[e] : Promise.resolve();
|
|
4019
|
-
const t =
|
|
4019
|
+
const t = Qi(e);
|
|
4020
4020
|
return ce[e] = Promise.all(
|
|
4021
4021
|
t.map(
|
|
4022
|
-
([r, n]) =>
|
|
4022
|
+
([r, n]) => Yi(r, n)
|
|
4023
4023
|
)
|
|
4024
4024
|
).then(() => {
|
|
4025
|
-
if (
|
|
4026
|
-
return
|
|
4025
|
+
if (lt(e))
|
|
4026
|
+
return Cr(e);
|
|
4027
4027
|
delete ce[e];
|
|
4028
4028
|
}), ce[e];
|
|
4029
4029
|
}
|
|
4030
|
-
const
|
|
4030
|
+
const Ji = {
|
|
4031
4031
|
number: {
|
|
4032
4032
|
scientific: { notation: "scientific" },
|
|
4033
4033
|
engineering: { notation: "engineering" },
|
|
@@ -4056,57 +4056,57 @@ const qi = {
|
|
|
4056
4056
|
timeZoneName: "short"
|
|
4057
4057
|
}
|
|
4058
4058
|
}
|
|
4059
|
-
},
|
|
4059
|
+
}, qi = {
|
|
4060
4060
|
fallbackLocale: null,
|
|
4061
4061
|
loadingDelay: 200,
|
|
4062
|
-
formats:
|
|
4062
|
+
formats: Ji,
|
|
4063
4063
|
warnOnMissingMessages: !0,
|
|
4064
4064
|
handleMissingMessage: void 0,
|
|
4065
4065
|
ignoreTag: !0
|
|
4066
|
-
},
|
|
4066
|
+
}, Ki = qi;
|
|
4067
4067
|
function oe() {
|
|
4068
|
-
return
|
|
4068
|
+
return Ki;
|
|
4069
4069
|
}
|
|
4070
|
-
const
|
|
4071
|
-
var
|
|
4070
|
+
const ze = Oe(!1);
|
|
4071
|
+
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) => {
|
|
4072
4072
|
for (var r in t || (t = {}))
|
|
4073
|
-
|
|
4074
|
-
if (
|
|
4075
|
-
for (var r of
|
|
4076
|
-
|
|
4073
|
+
no.call(t, r) && Ut(e, r, t[r]);
|
|
4074
|
+
if (Rt)
|
|
4075
|
+
for (var r of Rt(t))
|
|
4076
|
+
io.call(t, r) && Ut(e, r, t[r]);
|
|
4077
4077
|
return e;
|
|
4078
|
-
},
|
|
4079
|
-
let
|
|
4078
|
+
}, ao = (e, t) => to(e, ro(t));
|
|
4079
|
+
let ut;
|
|
4080
4080
|
const Te = Oe(null);
|
|
4081
|
-
function
|
|
4081
|
+
function Dt(e) {
|
|
4082
4082
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4083
4083
|
}
|
|
4084
4084
|
function Ce(e, t = oe().fallbackLocale) {
|
|
4085
|
-
const r =
|
|
4086
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4085
|
+
const r = Dt(e);
|
|
4086
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
|
|
4087
4087
|
}
|
|
4088
4088
|
function Z() {
|
|
4089
|
-
return
|
|
4089
|
+
return ut ?? void 0;
|
|
4090
4090
|
}
|
|
4091
4091
|
Te.subscribe((e) => {
|
|
4092
|
-
|
|
4092
|
+
ut = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4093
4093
|
});
|
|
4094
|
-
const
|
|
4095
|
-
if (e &&
|
|
4094
|
+
const so = (e) => {
|
|
4095
|
+
if (e && zi(e) && lt(e)) {
|
|
4096
4096
|
const { loadingDelay: t } = oe();
|
|
4097
4097
|
let r;
|
|
4098
4098
|
return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
|
|
4099
|
-
() =>
|
|
4099
|
+
() => ze.set(!0),
|
|
4100
4100
|
t
|
|
4101
|
-
) :
|
|
4101
|
+
) : ze.set(!0), Cr(e).then(() => {
|
|
4102
4102
|
Te.set(e);
|
|
4103
4103
|
}).finally(() => {
|
|
4104
|
-
clearTimeout(r),
|
|
4104
|
+
clearTimeout(r), ze.set(!1);
|
|
4105
4105
|
});
|
|
4106
4106
|
}
|
|
4107
4107
|
return Te.set(e);
|
|
4108
|
-
}, le =
|
|
4109
|
-
set:
|
|
4108
|
+
}, le = ao(oo({}, Te), {
|
|
4109
|
+
set: so
|
|
4110
4110
|
}), Fe = (e) => {
|
|
4111
4111
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4112
4112
|
return (n) => {
|
|
@@ -4114,20 +4114,20 @@ const lo = (e) => {
|
|
|
4114
4114
|
return i in t ? t[i] : t[i] = e(n);
|
|
4115
4115
|
};
|
|
4116
4116
|
};
|
|
4117
|
-
var
|
|
4117
|
+
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) => {
|
|
4118
4118
|
for (var r in t || (t = {}))
|
|
4119
|
-
|
|
4119
|
+
Fr.call(t, r) && Gt(e, r, t[r]);
|
|
4120
4120
|
if (Pe)
|
|
4121
4121
|
for (var r of Pe(t))
|
|
4122
|
-
|
|
4122
|
+
Rr.call(t, r) && Gt(e, r, t[r]);
|
|
4123
4123
|
return e;
|
|
4124
4124
|
}, ue = (e, t) => {
|
|
4125
4125
|
var r = {};
|
|
4126
4126
|
for (var n in e)
|
|
4127
|
-
|
|
4127
|
+
Fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4128
4128
|
if (e != null && Pe)
|
|
4129
4129
|
for (var n of Pe(e))
|
|
4130
|
-
t.indexOf(n) < 0 &&
|
|
4130
|
+
t.indexOf(n) < 0 && Rr.call(e, n) && (r[n] = e[n]);
|
|
4131
4131
|
return r;
|
|
4132
4132
|
};
|
|
4133
4133
|
const ge = (e, t) => {
|
|
@@ -4135,21 +4135,21 @@ const ge = (e, t) => {
|
|
|
4135
4135
|
if (e in r && t in r[e])
|
|
4136
4136
|
return r[e][t];
|
|
4137
4137
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4138
|
-
},
|
|
4138
|
+
}, uo = Fe(
|
|
4139
4139
|
(e) => {
|
|
4140
4140
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4141
4141
|
if (r == null)
|
|
4142
4142
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4143
4143
|
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
4144
4144
|
}
|
|
4145
|
-
),
|
|
4145
|
+
), ho = Fe(
|
|
4146
4146
|
(e) => {
|
|
4147
4147
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4148
4148
|
if (r == null)
|
|
4149
4149
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4150
4150
|
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4151
4151
|
}
|
|
4152
|
-
),
|
|
4152
|
+
), co = Fe(
|
|
4153
4153
|
(e) => {
|
|
4154
4154
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4155
4155
|
if (r == null)
|
|
@@ -4158,33 +4158,33 @@ const ge = (e, t) => {
|
|
|
4158
4158
|
);
|
|
4159
4159
|
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4160
4160
|
}
|
|
4161
|
-
),
|
|
4161
|
+
), fo = (e = {}) => {
|
|
4162
4162
|
var t = e, {
|
|
4163
4163
|
locale: r = Z()
|
|
4164
4164
|
} = t, n = ue(t, [
|
|
4165
4165
|
"locale"
|
|
4166
4166
|
]);
|
|
4167
|
-
return
|
|
4168
|
-
},
|
|
4167
|
+
return uo(dt({ locale: r }, n));
|
|
4168
|
+
}, mo = (e = {}) => {
|
|
4169
4169
|
var t = e, {
|
|
4170
4170
|
locale: r = Z()
|
|
4171
4171
|
} = t, n = ue(t, [
|
|
4172
4172
|
"locale"
|
|
4173
4173
|
]);
|
|
4174
|
-
return
|
|
4175
|
-
},
|
|
4174
|
+
return ho(dt({ locale: r }, n));
|
|
4175
|
+
}, po = (e = {}) => {
|
|
4176
4176
|
var t = e, {
|
|
4177
4177
|
locale: r = Z()
|
|
4178
4178
|
} = t, n = ue(t, [
|
|
4179
4179
|
"locale"
|
|
4180
4180
|
]);
|
|
4181
|
-
return
|
|
4182
|
-
},
|
|
4181
|
+
return co(dt({ locale: r }, n));
|
|
4182
|
+
}, go = Fe(
|
|
4183
4183
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4184
|
-
(e, t = Z()) => new
|
|
4184
|
+
(e, t = Z()) => new ki(e, t, oe().formats, {
|
|
4185
4185
|
ignoreTag: oe().ignoreTag
|
|
4186
4186
|
})
|
|
4187
|
-
),
|
|
4187
|
+
), vo = (e, t = {}) => {
|
|
4188
4188
|
var r, n, i, o;
|
|
4189
4189
|
let a = t;
|
|
4190
4190
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4197,7 +4197,7 @@ const ge = (e, t) => {
|
|
|
4197
4197
|
throw new Error(
|
|
4198
4198
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4199
4199
|
);
|
|
4200
|
-
let h =
|
|
4200
|
+
let h = Hr(e, l);
|
|
4201
4201
|
if (!h)
|
|
4202
4202
|
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;
|
|
4203
4203
|
else if (typeof h != "string")
|
|
@@ -4208,7 +4208,7 @@ const ge = (e, t) => {
|
|
|
4208
4208
|
return h;
|
|
4209
4209
|
let d = h;
|
|
4210
4210
|
try {
|
|
4211
|
-
d =
|
|
4211
|
+
d = go(h, l).format(s);
|
|
4212
4212
|
} catch (f) {
|
|
4213
4213
|
f instanceof Error && console.warn(
|
|
4214
4214
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4216,20 +4216,20 @@ const ge = (e, t) => {
|
|
|
4216
4216
|
);
|
|
4217
4217
|
}
|
|
4218
4218
|
return d;
|
|
4219
|
-
},
|
|
4219
|
+
}, 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);
|
|
4220
|
+
se([le], () => bo);
|
|
4220
4221
|
se([le], () => yo);
|
|
4221
4222
|
se([le], () => _o);
|
|
4222
|
-
se([le], () => xo);
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
function No(e) {
|
|
4223
|
+
se([le, be], () => xo);
|
|
4224
|
+
window.emWidgets = { topic: Ln };
|
|
4225
|
+
const $t = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4226
|
+
function kt(e, t) {
|
|
4227
|
+
Or(e, t);
|
|
4228
|
+
}
|
|
4229
|
+
function Eo(e) {
|
|
4230
4230
|
le.set(e);
|
|
4231
4231
|
}
|
|
4232
|
-
const
|
|
4232
|
+
const jt = {
|
|
4233
4233
|
en: {
|
|
4234
4234
|
secondaryMenuTitle: "Categories"
|
|
4235
4235
|
},
|
|
@@ -4264,34 +4264,57 @@ const kt = {
|
|
|
4264
4264
|
secondaryMenuTitle: "Categories"
|
|
4265
4265
|
}
|
|
4266
4266
|
};
|
|
4267
|
-
function
|
|
4268
|
-
|
|
4267
|
+
function No(e, t) {
|
|
4268
|
+
if (e) {
|
|
4269
|
+
const r = document.createElement("style");
|
|
4270
|
+
r.innerHTML = t, e.appendChild(r);
|
|
4271
|
+
}
|
|
4269
4272
|
}
|
|
4270
|
-
function
|
|
4273
|
+
function So(e, t) {
|
|
4274
|
+
const r = new URL(t);
|
|
4275
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4276
|
+
const i = document.createElement("style");
|
|
4277
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4278
|
+
}).catch((n) => {
|
|
4279
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4280
|
+
});
|
|
4281
|
+
}
|
|
4282
|
+
function Io(e, t, r) {
|
|
4283
|
+
if (window.emMessageBus) {
|
|
4284
|
+
const n = document.createElement("style");
|
|
4285
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
4286
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4287
|
+
});
|
|
4288
|
+
}
|
|
4289
|
+
}
|
|
4290
|
+
function Bo(e) {
|
|
4291
|
+
en(e, "svelte-4cf7h3", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%;height:100px}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #D0046C);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
|
|
4292
|
+
}
|
|
4293
|
+
function Wt(e, t, r) {
|
|
4271
4294
|
const n = e.slice();
|
|
4272
4295
|
return n[44] = t[r], n[46] = r, n;
|
|
4273
4296
|
}
|
|
4274
|
-
function
|
|
4297
|
+
function Vt(e, t, r) {
|
|
4275
4298
|
const n = e.slice();
|
|
4276
4299
|
return n[44] = t[r], n;
|
|
4277
4300
|
}
|
|
4278
|
-
const
|
|
4279
|
-
function
|
|
4301
|
+
const Ao = (e) => ({}), Xt = (e) => ({});
|
|
4302
|
+
function zt(e) {
|
|
4280
4303
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4281
|
-
e[6] &&
|
|
4304
|
+
e[6] && Zt(e), u = Ae(
|
|
4282
4305
|
/*primaryMenuSpliced*/
|
|
4283
4306
|
e[7]
|
|
4284
4307
|
), h = [];
|
|
4285
4308
|
for (let f = 0; f < u.length; f += 1)
|
|
4286
|
-
h[f] =
|
|
4309
|
+
h[f] = qt(Wt(e, u, f));
|
|
4287
4310
|
let d = !/*navigationBarSimple*/
|
|
4288
|
-
e[6] &&
|
|
4311
|
+
e[6] && Kt(e);
|
|
4289
4312
|
return {
|
|
4290
4313
|
c() {
|
|
4291
|
-
t =
|
|
4314
|
+
t = B("div"), l && l.c(), r = $(), n = B("div");
|
|
4292
4315
|
for (let f = 0; f < h.length; f += 1)
|
|
4293
4316
|
h[f].c();
|
|
4294
|
-
i =
|
|
4317
|
+
i = $(), d && d.c(), c(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4295
4318
|
(e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4296
4319
|
(e[6] ? "NavigationBarSimple" : "")), c(n, "part", a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4297
4320
|
(e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
@@ -4305,26 +4328,26 @@ function Xt(e) {
|
|
|
4305
4328
|
},
|
|
4306
4329
|
p(f, p) {
|
|
4307
4330
|
if (/*navigationBarSimple*/
|
|
4308
|
-
f[6] ? l && (
|
|
4331
|
+
f[6] ? l && (or(), me(l, 1, 1, () => {
|
|
4309
4332
|
l = null;
|
|
4310
|
-
}),
|
|
4311
|
-
64 &&
|
|
4333
|
+
}), ar()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
|
|
4334
|
+
64 && V(l, 1)) : (l = Zt(f), l.c(), V(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
|
|
4312
4335
|
32928) {
|
|
4313
|
-
u =
|
|
4336
|
+
u = Ae(
|
|
4314
4337
|
/*primaryMenuSpliced*/
|
|
4315
4338
|
f[7]
|
|
4316
4339
|
);
|
|
4317
4340
|
let g;
|
|
4318
4341
|
for (g = 0; g < u.length; g += 1) {
|
|
4319
|
-
const v =
|
|
4320
|
-
h[g] ? h[g].p(v, p) : (h[g] =
|
|
4342
|
+
const v = Wt(f, u, g);
|
|
4343
|
+
h[g] ? h[g].p(v, p) : (h[g] = qt(v), h[g].c(), h[g].m(n, i));
|
|
4321
4344
|
}
|
|
4322
4345
|
for (; g < h.length; g += 1)
|
|
4323
4346
|
h[g].d(1);
|
|
4324
4347
|
h.length = u.length;
|
|
4325
4348
|
}
|
|
4326
4349
|
/*navigationBarSimple*/
|
|
4327
|
-
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d =
|
|
4350
|
+
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*/
|
|
4328
4351
|
80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4329
4352
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4330
4353
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
@@ -4333,17 +4356,17 @@ function Xt(e) {
|
|
|
4333
4356
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "part", a);
|
|
4334
4357
|
},
|
|
4335
4358
|
i(f) {
|
|
4336
|
-
s || (
|
|
4359
|
+
s || (V(l), s = !0);
|
|
4337
4360
|
},
|
|
4338
4361
|
o(f) {
|
|
4339
4362
|
me(l), s = !1;
|
|
4340
4363
|
},
|
|
4341
4364
|
d(f) {
|
|
4342
|
-
f && O(t), l && l.d(),
|
|
4365
|
+
f && O(t), l && l.d(), ir(h, f), d && d.d();
|
|
4343
4366
|
}
|
|
4344
4367
|
};
|
|
4345
4368
|
}
|
|
4346
|
-
function
|
|
4369
|
+
function Zt(e) {
|
|
4347
4370
|
let t, r, n, i, o = (
|
|
4348
4371
|
/*secondarymenutitle*/
|
|
4349
4372
|
(e[0] || /*$_*/
|
|
@@ -4351,32 +4374,32 @@ function zt(e) {
|
|
|
4351
4374
|
), a, s, l, u, h, d, f;
|
|
4352
4375
|
const p = (
|
|
4353
4376
|
/*#slots*/
|
|
4354
|
-
e[
|
|
4355
|
-
), g =
|
|
4377
|
+
e[27].close
|
|
4378
|
+
), g = Yr(
|
|
4356
4379
|
p,
|
|
4357
4380
|
e,
|
|
4358
4381
|
/*$$scope*/
|
|
4359
|
-
e[
|
|
4360
|
-
|
|
4361
|
-
), v = g ||
|
|
4362
|
-
let
|
|
4382
|
+
e[26],
|
|
4383
|
+
Xt
|
|
4384
|
+
), v = g || To();
|
|
4385
|
+
let A = Ae(
|
|
4363
4386
|
/*secondaryMenu*/
|
|
4364
4387
|
e[8]
|
|
4365
|
-
),
|
|
4366
|
-
for (let b = 0; b <
|
|
4367
|
-
|
|
4388
|
+
), S = [];
|
|
4389
|
+
for (let b = 0; b < A.length; b += 1)
|
|
4390
|
+
S[b] = Yt(Vt(e, A, b));
|
|
4368
4391
|
return {
|
|
4369
4392
|
c() {
|
|
4370
|
-
t =
|
|
4371
|
-
for (let b = 0; b <
|
|
4372
|
-
|
|
4393
|
+
t = B("div"), r = B("span"), v && v.c(), n = $(), i = B("h3"), a = ve(o), s = $(), l = B("div");
|
|
4394
|
+
for (let b = 0; b < S.length; b += 1)
|
|
4395
|
+
S[b].c();
|
|
4373
4396
|
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*/
|
|
4374
4397
|
(e[4] ? "NavigationWindowOpened" : ""));
|
|
4375
4398
|
},
|
|
4376
|
-
m(b,
|
|
4377
|
-
L(b, t,
|
|
4378
|
-
for (let
|
|
4379
|
-
|
|
4399
|
+
m(b, N) {
|
|
4400
|
+
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);
|
|
4401
|
+
for (let E = 0; E < S.length; E += 1)
|
|
4402
|
+
S[E] && S[E].m(l, null);
|
|
4380
4403
|
h = !0, d || (f = He(
|
|
4381
4404
|
r,
|
|
4382
4405
|
"click",
|
|
@@ -4384,59 +4407,59 @@ function zt(e) {
|
|
|
4384
4407
|
e[14]
|
|
4385
4408
|
), d = !0);
|
|
4386
4409
|
},
|
|
4387
|
-
p(b,
|
|
4388
|
-
if (g && g.p && (!h ||
|
|
4389
|
-
|
|
4410
|
+
p(b, N) {
|
|
4411
|
+
if (g && g.p && (!h || N[0] & /*$$scope*/
|
|
4412
|
+
67108864) && qr(
|
|
4390
4413
|
g,
|
|
4391
4414
|
p,
|
|
4392
4415
|
b,
|
|
4393
4416
|
/*$$scope*/
|
|
4394
|
-
b[
|
|
4395
|
-
h ?
|
|
4417
|
+
b[26],
|
|
4418
|
+
h ? Jr(
|
|
4396
4419
|
p,
|
|
4397
4420
|
/*$$scope*/
|
|
4398
|
-
b[
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
) :
|
|
4421
|
+
b[26],
|
|
4422
|
+
N,
|
|
4423
|
+
Ao
|
|
4424
|
+
) : Kr(
|
|
4402
4425
|
/*$$scope*/
|
|
4403
|
-
b[
|
|
4426
|
+
b[26]
|
|
4404
4427
|
),
|
|
4405
|
-
|
|
4406
|
-
), (!h ||
|
|
4428
|
+
Xt
|
|
4429
|
+
), (!h || N[0] & /*secondarymenutitle, $_*/
|
|
4407
4430
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4408
4431
|
(b[0] || /*$_*/
|
|
4409
|
-
b[12]("secondaryMenuTitle")) + "") &&
|
|
4432
|
+
b[12]("secondaryMenuTitle")) + "") && ct(a, o), N[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4410
4433
|
33056) {
|
|
4411
|
-
|
|
4434
|
+
A = Ae(
|
|
4412
4435
|
/*secondaryMenu*/
|
|
4413
4436
|
b[8]
|
|
4414
4437
|
);
|
|
4415
|
-
let
|
|
4416
|
-
for (
|
|
4417
|
-
const
|
|
4418
|
-
|
|
4438
|
+
let E;
|
|
4439
|
+
for (E = 0; E < A.length; E += 1) {
|
|
4440
|
+
const T = Vt(b, A, E);
|
|
4441
|
+
S[E] ? S[E].p(T, N) : (S[E] = Yt(T), S[E].c(), S[E].m(l, null));
|
|
4419
4442
|
}
|
|
4420
|
-
for (;
|
|
4421
|
-
|
|
4422
|
-
|
|
4443
|
+
for (; E < S.length; E += 1)
|
|
4444
|
+
S[E].d(1);
|
|
4445
|
+
S.length = A.length;
|
|
4423
4446
|
}
|
|
4424
|
-
(!h ||
|
|
4447
|
+
(!h || N[0] & /*navigationWindowOpened*/
|
|
4425
4448
|
16 && u !== (u = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4426
4449
|
(b[4] ? "NavigationWindowOpened" : ""))) && c(t, "class", u);
|
|
4427
4450
|
},
|
|
4428
4451
|
i(b) {
|
|
4429
|
-
h || (
|
|
4452
|
+
h || (V(v, b), h = !0);
|
|
4430
4453
|
},
|
|
4431
4454
|
o(b) {
|
|
4432
4455
|
me(v, b), h = !1;
|
|
4433
4456
|
},
|
|
4434
4457
|
d(b) {
|
|
4435
|
-
b && O(t), v && v.d(b),
|
|
4458
|
+
b && O(t), v && v.d(b), ir(S, b), d = !1, f();
|
|
4436
4459
|
}
|
|
4437
4460
|
};
|
|
4438
4461
|
}
|
|
4439
|
-
function
|
|
4462
|
+
function To(e) {
|
|
4440
4463
|
let t, r;
|
|
4441
4464
|
return {
|
|
4442
4465
|
c() {
|
|
@@ -4451,11 +4474,11 @@ function Ao(e) {
|
|
|
4451
4474
|
}
|
|
4452
4475
|
};
|
|
4453
4476
|
}
|
|
4454
|
-
function
|
|
4477
|
+
function Qt(e) {
|
|
4455
4478
|
let t, r, n, i;
|
|
4456
4479
|
return {
|
|
4457
4480
|
c() {
|
|
4458
|
-
t =
|
|
4481
|
+
t = B("div"), r = B("img"), c(r, "class", "NavigationSecondaryItemImg"), c(r, "part", "NavigationSecondaryItemImg"), te(r.src, n = /*item*/
|
|
4459
4482
|
e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
|
|
4460
4483
|
e[44].label), c(t, "class", "NavigationSecondaryItemImgWrapper"), c(t, "part", "NavigationSecondaryItemImgWrapper");
|
|
4461
4484
|
},
|
|
@@ -4474,18 +4497,18 @@ function Zt(e) {
|
|
|
4474
4497
|
}
|
|
4475
4498
|
};
|
|
4476
4499
|
}
|
|
4477
|
-
function
|
|
4500
|
+
function Yt(e) {
|
|
4478
4501
|
let t, r, n, i = (
|
|
4479
4502
|
/*item*/
|
|
4480
4503
|
e[44].label + ""
|
|
4481
4504
|
), o, a, s, l, u, h = (
|
|
4482
4505
|
/*item*/
|
|
4483
|
-
e[44].img &&
|
|
4506
|
+
e[44].img && Qt(e)
|
|
4484
4507
|
);
|
|
4485
4508
|
function d() {
|
|
4486
4509
|
return (
|
|
4487
4510
|
/*click_handler*/
|
|
4488
|
-
e[
|
|
4511
|
+
e[28](
|
|
4489
4512
|
/*item*/
|
|
4490
4513
|
e[44]
|
|
4491
4514
|
)
|
|
@@ -4493,7 +4516,7 @@ function Qt(e) {
|
|
|
4493
4516
|
}
|
|
4494
4517
|
return {
|
|
4495
4518
|
c() {
|
|
4496
|
-
t =
|
|
4519
|
+
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*/
|
|
4497
4520
|
(e[5] === /*item*/
|
|
4498
4521
|
e[44].id ? "ActiveItem" : ""));
|
|
4499
4522
|
},
|
|
@@ -4502,9 +4525,9 @@ function Qt(e) {
|
|
|
4502
4525
|
},
|
|
4503
4526
|
p(f, p) {
|
|
4504
4527
|
e = f, /*item*/
|
|
4505
|
-
e[44].img ? h ? h.p(e, p) : (h =
|
|
4528
|
+
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*/
|
|
4506
4529
|
256 && i !== (i = /*item*/
|
|
4507
|
-
e[44].label + "") &&
|
|
4530
|
+
e[44].label + "") && ct(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4508
4531
|
288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4509
4532
|
(e[5] === /*item*/
|
|
4510
4533
|
e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
|
|
@@ -4514,11 +4537,11 @@ function Qt(e) {
|
|
|
4514
4537
|
}
|
|
4515
4538
|
};
|
|
4516
4539
|
}
|
|
4517
|
-
function
|
|
4540
|
+
function Jt(e) {
|
|
4518
4541
|
let t, r, n, i;
|
|
4519
4542
|
return {
|
|
4520
4543
|
c() {
|
|
4521
|
-
t =
|
|
4544
|
+
t = B("div"), r = B("img"), c(r, "class", "NavigationPrimaryItemImg"), te(r.src, n = /*item*/
|
|
4522
4545
|
e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
|
|
4523
4546
|
e[44].label), c(t, "class", "NavigationPrimaryItemImgWrapper");
|
|
4524
4547
|
},
|
|
@@ -4537,18 +4560,18 @@ function Yt(e) {
|
|
|
4537
4560
|
}
|
|
4538
4561
|
};
|
|
4539
4562
|
}
|
|
4540
|
-
function
|
|
4563
|
+
function qt(e) {
|
|
4541
4564
|
let t, r, n, i = (
|
|
4542
4565
|
/*item*/
|
|
4543
4566
|
e[44].label + ""
|
|
4544
4567
|
), o, a, s, l, u = (
|
|
4545
4568
|
/*item*/
|
|
4546
|
-
e[44].img &&
|
|
4569
|
+
e[44].img && Jt(e)
|
|
4547
4570
|
);
|
|
4548
4571
|
function h() {
|
|
4549
4572
|
return (
|
|
4550
4573
|
/*click_handler_1*/
|
|
4551
|
-
e[
|
|
4574
|
+
e[29](
|
|
4552
4575
|
/*item*/
|
|
4553
4576
|
e[44]
|
|
4554
4577
|
)
|
|
@@ -4556,7 +4579,7 @@ function Jt(e) {
|
|
|
4556
4579
|
}
|
|
4557
4580
|
return {
|
|
4558
4581
|
c() {
|
|
4559
|
-
t =
|
|
4582
|
+
t = B("div"), u && u.c(), r = $(), n = B("p"), o = ve(i), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4560
4583
|
e[46] + " " + /*activeMenuItemId*/
|
|
4561
4584
|
(e[5] === /*item*/
|
|
4562
4585
|
e[44].id ? "ActiveItem" : ""));
|
|
@@ -4566,9 +4589,9 @@ function Jt(e) {
|
|
|
4566
4589
|
},
|
|
4567
4590
|
p(d, f) {
|
|
4568
4591
|
e = d, /*item*/
|
|
4569
|
-
e[44].img ? u ? u.p(e, f) : (u =
|
|
4592
|
+
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*/
|
|
4570
4593
|
128 && i !== (i = /*item*/
|
|
4571
|
-
e[44].label + "") &&
|
|
4594
|
+
e[44].label + "") && ct(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
|
|
4572
4595
|
160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4573
4596
|
e[46] + " " + /*activeMenuItemId*/
|
|
4574
4597
|
(e[5] === /*item*/
|
|
@@ -4579,18 +4602,18 @@ function Jt(e) {
|
|
|
4579
4602
|
}
|
|
4580
4603
|
};
|
|
4581
4604
|
}
|
|
4582
|
-
function
|
|
4605
|
+
function Kt(e) {
|
|
4583
4606
|
let t, r, n, i, o;
|
|
4584
4607
|
function a(u, h) {
|
|
4585
4608
|
return (
|
|
4586
4609
|
/*isFlowerMenu*/
|
|
4587
|
-
u[11] ?
|
|
4610
|
+
u[11] ? Po : Ho
|
|
4588
4611
|
);
|
|
4589
4612
|
}
|
|
4590
4613
|
let s = a(e), l = s(e);
|
|
4591
4614
|
return {
|
|
4592
4615
|
c() {
|
|
4593
|
-
t =
|
|
4616
|
+
t = B("button"), r = B("span"), l.c(), c(r, "class", "NavigationButtonSpan"), c(r, "part", "NavigationButtonSpan"), c(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
|
|
4594
4617
|
(e[4] ? "NavigationButtonActive" : ""));
|
|
4595
4618
|
},
|
|
4596
4619
|
m(u, h) {
|
|
@@ -4611,11 +4634,11 @@ function qt(e) {
|
|
|
4611
4634
|
}
|
|
4612
4635
|
};
|
|
4613
4636
|
}
|
|
4614
|
-
function
|
|
4637
|
+
function Po(e) {
|
|
4615
4638
|
let t, r, n, i, o, a, s;
|
|
4616
4639
|
return {
|
|
4617
4640
|
c() {
|
|
4618
|
-
t =
|
|
4641
|
+
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*/
|
|
4619
4642
|
(e[4] ? "labelMiddleIconActive" : ""));
|
|
4620
4643
|
},
|
|
4621
4644
|
m(l, u) {
|
|
@@ -4631,18 +4654,18 @@ function Bo(e) {
|
|
|
4631
4654
|
}
|
|
4632
4655
|
};
|
|
4633
4656
|
}
|
|
4634
|
-
function
|
|
4657
|
+
function Ho(e) {
|
|
4635
4658
|
let t;
|
|
4636
4659
|
function r(o, a) {
|
|
4637
4660
|
return (
|
|
4638
4661
|
/*imageIconUrl*/
|
|
4639
|
-
o[9] ?
|
|
4662
|
+
o[9] ? Oo : Mo
|
|
4640
4663
|
);
|
|
4641
4664
|
}
|
|
4642
4665
|
let n = r(e), i = n(e);
|
|
4643
4666
|
return {
|
|
4644
4667
|
c() {
|
|
4645
|
-
i.c(), t =
|
|
4668
|
+
i.c(), t = nn();
|
|
4646
4669
|
},
|
|
4647
4670
|
m(o, a) {
|
|
4648
4671
|
i.m(o, a), L(o, t, a);
|
|
@@ -4655,14 +4678,14 @@ function To(e) {
|
|
|
4655
4678
|
}
|
|
4656
4679
|
};
|
|
4657
4680
|
}
|
|
4658
|
-
function
|
|
4681
|
+
function Mo(e) {
|
|
4659
4682
|
let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
|
|
4660
4683
|
return {
|
|
4661
4684
|
c() {
|
|
4662
4685
|
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");
|
|
4663
4686
|
},
|
|
4664
|
-
m(v,
|
|
4665
|
-
L(v, t,
|
|
4687
|
+
m(v, A) {
|
|
4688
|
+
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);
|
|
4666
4689
|
},
|
|
4667
4690
|
p: R,
|
|
4668
4691
|
d(v) {
|
|
@@ -4670,11 +4693,11 @@ function Po(e) {
|
|
|
4670
4693
|
}
|
|
4671
4694
|
};
|
|
4672
4695
|
}
|
|
4673
|
-
function
|
|
4696
|
+
function Oo(e) {
|
|
4674
4697
|
let t, r;
|
|
4675
4698
|
return {
|
|
4676
4699
|
c() {
|
|
4677
|
-
t =
|
|
4700
|
+
t = B("img"), te(t.src, r = /*imageIconUrl*/
|
|
4678
4701
|
e[9]) || c(t, "src", r), c(t, "class", "middleIcon"), c(
|
|
4679
4702
|
t,
|
|
4680
4703
|
"alt",
|
|
@@ -4701,176 +4724,164 @@ function Ho(e) {
|
|
|
4701
4724
|
}
|
|
4702
4725
|
};
|
|
4703
4726
|
}
|
|
4704
|
-
function
|
|
4727
|
+
function Lo(e) {
|
|
4705
4728
|
let t, r, n, i = !/*isLoading*/
|
|
4706
4729
|
e[1] && /*isMobile*/
|
|
4707
4730
|
e[13] && /*showNavigation*/
|
|
4708
|
-
e[3] &&
|
|
4731
|
+
e[3] && zt(e);
|
|
4709
4732
|
return {
|
|
4710
4733
|
c() {
|
|
4711
|
-
t =
|
|
4734
|
+
t = B("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
4712
4735
|
(e[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4713
4736
|
(e[10] ? "NavigationWrapperLandScape" : ""));
|
|
4714
4737
|
},
|
|
4715
4738
|
m(o, a) {
|
|
4716
|
-
L(o, t, a), i && i.m(t, null), e[
|
|
4739
|
+
L(o, t, a), i && i.m(t, null), e[30](t), n = !0;
|
|
4717
4740
|
},
|
|
4718
4741
|
p(o, a) {
|
|
4719
4742
|
!/*isLoading*/
|
|
4720
4743
|
o[1] && /*isMobile*/
|
|
4721
4744
|
o[13] && /*showNavigation*/
|
|
4722
4745
|
o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4723
|
-
10 &&
|
|
4746
|
+
10 && V(i, 1)) : (i = zt(o), i.c(), V(i, 1), i.m(t, null)) : i && (or(), me(i, 1, 1, () => {
|
|
4724
4747
|
i = null;
|
|
4725
|
-
}),
|
|
4748
|
+
}), ar()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4726
4749
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4727
4750
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4728
4751
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
4729
4752
|
},
|
|
4730
4753
|
i(o) {
|
|
4731
|
-
n || (
|
|
4754
|
+
n || (V(i), n = !0);
|
|
4732
4755
|
},
|
|
4733
4756
|
o(o) {
|
|
4734
4757
|
me(i), n = !1;
|
|
4735
4758
|
},
|
|
4736
4759
|
d(o) {
|
|
4737
|
-
o && O(t), i && i.d(), e[
|
|
4760
|
+
o && O(t), i && i.d(), e[30](null);
|
|
4738
4761
|
}
|
|
4739
4762
|
};
|
|
4740
4763
|
}
|
|
4741
|
-
function
|
|
4764
|
+
function Co(e, t, r) {
|
|
4742
4765
|
let n;
|
|
4743
|
-
|
|
4744
|
-
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, {
|
|
4745
|
-
const
|
|
4746
|
-
fetch(
|
|
4747
|
-
Object.keys(
|
|
4748
|
-
|
|
4766
|
+
Qr(e, wo, (m) => r(12, n = m));
|
|
4767
|
+
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, X = "", Q = !1, Re = [], ye = [], j = [], D, mt = "", Ue = {}, pt, De = !1;
|
|
4768
|
+
const Ur = () => {
|
|
4769
|
+
fetch(g).then((P) => P.json()).then((P) => {
|
|
4770
|
+
Object.keys(P).forEach((C) => {
|
|
4771
|
+
kt(C, P[C]);
|
|
4749
4772
|
});
|
|
4750
|
-
}).catch((
|
|
4751
|
-
console.log(
|
|
4773
|
+
}).catch((P) => {
|
|
4774
|
+
console.log(P);
|
|
4752
4775
|
});
|
|
4753
4776
|
};
|
|
4754
|
-
Object.keys(
|
|
4755
|
-
|
|
4777
|
+
Object.keys(jt).forEach((m) => {
|
|
4778
|
+
kt(m, jt[m]);
|
|
4756
4779
|
});
|
|
4757
|
-
const
|
|
4780
|
+
const gt = (m) => {
|
|
4758
4781
|
if (m.data)
|
|
4759
4782
|
switch (m.data.type) {
|
|
4760
4783
|
case "PlayerAccountMenuActive":
|
|
4761
|
-
r(4,
|
|
4784
|
+
r(4, T = !1);
|
|
4762
4785
|
break;
|
|
4763
4786
|
case "OpenLoginRegisterModal":
|
|
4764
|
-
r(4,
|
|
4787
|
+
r(4, T = !1);
|
|
4765
4788
|
break;
|
|
4766
4789
|
case "GoToHomepage":
|
|
4767
|
-
r(4,
|
|
4790
|
+
r(4, T = !1);
|
|
4768
4791
|
break;
|
|
4769
4792
|
}
|
|
4770
|
-
}, Ur = () => {
|
|
4771
|
-
r(11, Ue = v.toLowerCase() === "true");
|
|
4772
4793
|
}, Dr = () => {
|
|
4773
|
-
r(
|
|
4794
|
+
r(11, De = A.toLowerCase() === "true");
|
|
4795
|
+
}, Gr = () => {
|
|
4796
|
+
r(4, T = !T), window.postMessage(
|
|
4774
4797
|
{
|
|
4775
4798
|
type: "MobileBottomNav",
|
|
4776
|
-
navigationWindowOpened:
|
|
4799
|
+
navigationWindowOpened: T
|
|
4777
4800
|
},
|
|
4778
4801
|
window.location.href
|
|
4779
4802
|
);
|
|
4780
|
-
},
|
|
4781
|
-
r(7, ye = []), r(7, ye =
|
|
4782
|
-
},
|
|
4783
|
-
|
|
4784
|
-
let m =
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
}), r(6,
|
|
4789
|
-
}).catch((
|
|
4790
|
-
r(1,
|
|
4803
|
+
}, $r = (m) => {
|
|
4804
|
+
r(7, ye = []), r(7, ye = Q ? m.splice(0, 5) : m.splice(0, 4)), v && vt();
|
|
4805
|
+
}, kr = () => {
|
|
4806
|
+
Ge(), r(1, N = !0);
|
|
4807
|
+
let m = $t(S), P = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
|
|
4808
|
+
P.searchParams.append("userRoles", h), m && P.searchParams.append("device", "mtWeb"), fetch(P.href).then((C) => C.json()).then((C) => {
|
|
4809
|
+
Re = [], r(8, j = []), r(3, E = C.length > 0), C.forEach((U) => {
|
|
4810
|
+
Ue[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9, mt = U?.img), r(8, j = U.children)) : Re.push(U);
|
|
4811
|
+
}), r(6, Q = j.length == 0), j.length >= 5 && De && r(8, j = j.splice(0, 5)), $r(Re), r(1, N = !1);
|
|
4812
|
+
}).catch((C) => {
|
|
4813
|
+
r(1, N = !1), console.error(C);
|
|
4791
4814
|
});
|
|
4792
|
-
},
|
|
4793
|
-
const
|
|
4794
|
-
|
|
4795
|
-
}, he = (m,
|
|
4796
|
-
|
|
4815
|
+
}, vt = () => {
|
|
4816
|
+
const P = ye.concat(j).find((C) => C.path.includes(v));
|
|
4817
|
+
P && r(5, X = P.id);
|
|
4818
|
+
}, he = (m, P, C, U) => {
|
|
4819
|
+
Ue[U] ? window.postMessage(
|
|
4797
4820
|
{
|
|
4798
4821
|
type: "MobileBottomNavigationEvent",
|
|
4799
|
-
event:
|
|
4822
|
+
event: Ue[U]
|
|
4800
4823
|
},
|
|
4801
4824
|
window.location.href
|
|
4802
4825
|
) : window.postMessage(
|
|
4803
4826
|
{
|
|
4804
4827
|
type: "NavigateTo",
|
|
4805
4828
|
path: m,
|
|
4806
|
-
target:
|
|
4807
|
-
externalLink:
|
|
4829
|
+
target: P || null,
|
|
4830
|
+
externalLink: C || !1
|
|
4808
4831
|
},
|
|
4809
4832
|
window.location.href
|
|
4810
|
-
), r(4,
|
|
4833
|
+
), r(4, T = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4811
4834
|
context: "MobileBottomNavigation",
|
|
4812
4835
|
menuItem: `${m}`
|
|
4813
4836
|
});
|
|
4814
|
-
}, kr = () => {
|
|
4815
|
-
let m = document.createElement("style");
|
|
4816
|
-
d && W && (m.innerHTML = d, W.appendChild(m));
|
|
4817
4837
|
}, jr = () => {
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
},
|
|
4824
|
-
1
|
|
4825
|
-
);
|
|
4826
|
-
});
|
|
4827
|
-
}, Wr = () => {
|
|
4828
|
-
No(s);
|
|
4829
|
-
}, De = () => {
|
|
4830
|
-
r(10, mt = N && window.innerHeight / window.innerWidth < 1);
|
|
4831
|
-
}, vt = () => {
|
|
4832
|
-
x && r(4, x = !1);
|
|
4838
|
+
Eo(s);
|
|
4839
|
+
}, Ge = () => {
|
|
4840
|
+
r(10, pt = b && window.innerHeight / window.innerWidth < 1);
|
|
4841
|
+
}, bt = () => {
|
|
4842
|
+
T && r(4, T = !1);
|
|
4833
4843
|
};
|
|
4834
|
-
|
|
4835
|
-
window.removeEventListener("message",
|
|
4844
|
+
ln(() => (window.addEventListener("message", gt, !1), document.addEventListener("focusin", bt), b && window.screen.orientation.addEventListener("change", Ge), () => {
|
|
4845
|
+
window.removeEventListener("message", gt), document.removeEventListener("focusin", bt), b && window.screen.orientation.removeEventListener("change", Ge);
|
|
4836
4846
|
}));
|
|
4837
|
-
const
|
|
4847
|
+
const Wr = (m) => {
|
|
4838
4848
|
m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
|
|
4839
|
-
},
|
|
4849
|
+
}, Vr = (m) => {
|
|
4840
4850
|
m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
|
|
4841
4851
|
};
|
|
4842
|
-
function
|
|
4843
|
-
|
|
4844
|
-
|
|
4852
|
+
function Xr(m) {
|
|
4853
|
+
Ze[m ? "unshift" : "push"](() => {
|
|
4854
|
+
D = m, r(2, D);
|
|
4845
4855
|
});
|
|
4846
4856
|
}
|
|
4847
4857
|
return e.$$set = (m) => {
|
|
4848
|
-
"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), "
|
|
4858
|
+
"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);
|
|
4849
4859
|
}, e.$$.update = () => {
|
|
4850
4860
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
131072 && s &&
|
|
4854
|
-
983040 && a && s && l && h &&
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4861
|
+
33554432 && A && Dr(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4862
|
+
16777218 && v && !N && vt(), e.$$.dirty[0] & /*lang*/
|
|
4863
|
+
131072 && s && jr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4864
|
+
983040 && a && s && l && h && kr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4865
|
+
2097156 && f && D && No(D, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4866
|
+
4194308 && p && D && So(D, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4867
|
+
1048580 && d && D && Io(D, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4868
|
+
8388608 && g && Ur();
|
|
4858
4869
|
}, [
|
|
4859
4870
|
u,
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4871
|
+
N,
|
|
4872
|
+
D,
|
|
4873
|
+
E,
|
|
4874
|
+
T,
|
|
4875
|
+
X,
|
|
4876
|
+
Q,
|
|
4866
4877
|
ye,
|
|
4867
4878
|
j,
|
|
4868
|
-
dt,
|
|
4869
4879
|
mt,
|
|
4870
|
-
|
|
4880
|
+
pt,
|
|
4881
|
+
De,
|
|
4871
4882
|
n,
|
|
4872
|
-
|
|
4873
|
-
|
|
4883
|
+
b,
|
|
4884
|
+
Gr,
|
|
4874
4885
|
he,
|
|
4875
4886
|
a,
|
|
4876
4887
|
s,
|
|
@@ -4881,34 +4892,36 @@ function Oo(e, t, r) {
|
|
|
4881
4892
|
p,
|
|
4882
4893
|
g,
|
|
4883
4894
|
v,
|
|
4895
|
+
A,
|
|
4884
4896
|
o,
|
|
4885
4897
|
i,
|
|
4898
|
+
Wr,
|
|
4886
4899
|
Vr,
|
|
4887
|
-
Xr
|
|
4888
|
-
zr
|
|
4900
|
+
Xr
|
|
4889
4901
|
];
|
|
4890
4902
|
}
|
|
4891
|
-
class
|
|
4903
|
+
class Fo extends bn {
|
|
4892
4904
|
constructor(t) {
|
|
4893
|
-
super(),
|
|
4905
|
+
super(), gn(
|
|
4894
4906
|
this,
|
|
4895
4907
|
t,
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4908
|
+
Co,
|
|
4909
|
+
Lo,
|
|
4910
|
+
tr,
|
|
4899
4911
|
{
|
|
4900
4912
|
cmsendpoint: 16,
|
|
4901
4913
|
lang: 17,
|
|
4902
4914
|
env: 18,
|
|
4903
4915
|
secondarymenutitle: 0,
|
|
4904
4916
|
userroles: 19,
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4917
|
+
mbsource: 20,
|
|
4918
|
+
clientstyling: 21,
|
|
4919
|
+
clientstylingurl: 22,
|
|
4920
|
+
translationurl: 23,
|
|
4921
|
+
activecategory: 24,
|
|
4922
|
+
flowermenustyle: 25
|
|
4910
4923
|
},
|
|
4911
|
-
|
|
4924
|
+
Bo,
|
|
4912
4925
|
[-1, -1]
|
|
4913
4926
|
);
|
|
4914
4927
|
}
|
|
@@ -4942,38 +4955,44 @@ class Lo extends yn {
|
|
|
4942
4955
|
set userroles(t) {
|
|
4943
4956
|
this.$$set({ userroles: t }), F();
|
|
4944
4957
|
}
|
|
4945
|
-
get
|
|
4958
|
+
get mbsource() {
|
|
4946
4959
|
return this.$$.ctx[20];
|
|
4947
4960
|
}
|
|
4961
|
+
set mbsource(t) {
|
|
4962
|
+
this.$$set({ mbsource: t }), F();
|
|
4963
|
+
}
|
|
4964
|
+
get clientstyling() {
|
|
4965
|
+
return this.$$.ctx[21];
|
|
4966
|
+
}
|
|
4948
4967
|
set clientstyling(t) {
|
|
4949
4968
|
this.$$set({ clientstyling: t }), F();
|
|
4950
4969
|
}
|
|
4951
4970
|
get clientstylingurl() {
|
|
4952
|
-
return this.$$.ctx[
|
|
4971
|
+
return this.$$.ctx[22];
|
|
4953
4972
|
}
|
|
4954
4973
|
set clientstylingurl(t) {
|
|
4955
4974
|
this.$$set({ clientstylingurl: t }), F();
|
|
4956
4975
|
}
|
|
4957
4976
|
get translationurl() {
|
|
4958
|
-
return this.$$.ctx[
|
|
4977
|
+
return this.$$.ctx[23];
|
|
4959
4978
|
}
|
|
4960
4979
|
set translationurl(t) {
|
|
4961
4980
|
this.$$set({ translationurl: t }), F();
|
|
4962
4981
|
}
|
|
4963
4982
|
get activecategory() {
|
|
4964
|
-
return this.$$.ctx[
|
|
4983
|
+
return this.$$.ctx[24];
|
|
4965
4984
|
}
|
|
4966
4985
|
set activecategory(t) {
|
|
4967
4986
|
this.$$set({ activecategory: t }), F();
|
|
4968
4987
|
}
|
|
4969
4988
|
get flowermenustyle() {
|
|
4970
|
-
return this.$$.ctx[
|
|
4989
|
+
return this.$$.ctx[25];
|
|
4971
4990
|
}
|
|
4972
4991
|
set flowermenustyle(t) {
|
|
4973
4992
|
this.$$set({ flowermenustyle: t }), F();
|
|
4974
4993
|
}
|
|
4975
4994
|
}
|
|
4976
|
-
|
|
4995
|
+
vn(Fo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
4977
4996
|
export {
|
|
4978
|
-
|
|
4997
|
+
Fo as G
|
|
4979
4998
|
};
|