@everymatrix/general-navigation-bar 1.55.0 → 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-QZHGzIED.js → GeneralNavigationBar-BICG6YxZ.js} +735 -738
- package/components/{GeneralNavigationBar-CB0tum7Z.js → GeneralNavigationBar-Dk-g2WiT.js} +838 -841
- 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-BBGloZ_h.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
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 ir(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 rn(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 on(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 sn(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,39 +112,39 @@ 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
|
-
function
|
|
122
|
+
function H(e) {
|
|
123
123
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
124
124
|
}
|
|
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
|
-
function
|
|
134
|
+
function He(e, t, r, n) {
|
|
135
135
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
136
136
|
}
|
|
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
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
167
|
const q = [], Ze = [];
|
|
168
168
|
let K = [];
|
|
169
|
-
const
|
|
169
|
+
const _t = [], un = /* @__PURE__ */ Promise.resolve();
|
|
170
170
|
let Qe = !1;
|
|
171
|
-
function
|
|
172
|
-
Qe || (Qe = !0,
|
|
171
|
+
function hn() {
|
|
172
|
+
Qe || (Qe = !0, un.then(F));
|
|
173
173
|
}
|
|
174
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,7 +184,7 @@ 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;
|
|
@@ -192,28 +192,28 @@ function F() {
|
|
|
192
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
|
-
Qe = !1,
|
|
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
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 sr() {
|
|
|
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
243
|
n && n.m(t, r), Ye(() => {
|
|
244
|
-
const o = e.$$.on_mount.map(
|
|
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
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 xn(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 xn(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 xn(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" && (ur = 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" && (ur = 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 wn(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 En {
|
|
|
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
|
|
@@ -508,11 +508,11 @@ class En {
|
|
|
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(
|
|
514
|
+
const yn = "4";
|
|
515
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yn);
|
|
516
516
|
var Je = function(e, t) {
|
|
517
517
|
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
518
518
|
r.__proto__ = n;
|
|
@@ -520,7 +520,7 @@ var Je = function(e, t) {
|
|
|
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);
|
|
@@ -529,16 +529,16 @@ function $(e, t) {
|
|
|
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")
|
|
@@ -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) {
|
|
@@ -630,11 +630,11 @@ 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) {
|
|
@@ -643,9 +643,9 @@ var Me = function() {
|
|
|
643
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))
|
|
@@ -690,20 +690,16 @@ var Me = 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 &&
|
|
696
|
-
}
|
|
697
|
-
function
|
|
698
|
-
|
|
699
|
-
}
|
|
700
|
-
var
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
Promise: void 0,
|
|
704
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
705
|
-
useDeprecatedNextContext: !1
|
|
706
|
-
}, In = {
|
|
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
|
+
}
|
|
697
|
+
function xt(e) {
|
|
698
|
+
G(e) ? e() : e.unsubscribe();
|
|
699
|
+
}
|
|
700
|
+
var xn = {
|
|
701
|
+
Promise: void 0
|
|
702
|
+
}, wn = {
|
|
707
703
|
setTimeout: function(e, t) {
|
|
708
704
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
709
705
|
r[n - 2] = arguments[n];
|
|
@@ -714,21 +710,21 @@ var dr = {
|
|
|
714
710
|
},
|
|
715
711
|
delegate: void 0
|
|
716
712
|
};
|
|
717
|
-
function
|
|
718
|
-
|
|
713
|
+
function En(e) {
|
|
714
|
+
wn.setTimeout(function() {
|
|
719
715
|
throw e;
|
|
720
716
|
});
|
|
721
717
|
}
|
|
722
|
-
function
|
|
718
|
+
function wt() {
|
|
723
719
|
}
|
|
724
720
|
function Se(e) {
|
|
725
721
|
e();
|
|
726
722
|
}
|
|
727
|
-
var
|
|
728
|
-
|
|
723
|
+
var cr = function(e) {
|
|
724
|
+
k(t, e);
|
|
729
725
|
function t(r) {
|
|
730
726
|
var n = e.call(this) || this;
|
|
731
|
-
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;
|
|
732
728
|
}
|
|
733
729
|
return t.create = function(r, n, i) {
|
|
734
730
|
return new tt(r, n, i);
|
|
@@ -755,11 +751,7 @@ var mr = function(e) {
|
|
|
755
751
|
this.unsubscribe();
|
|
756
752
|
}
|
|
757
753
|
}, t;
|
|
758
|
-
}(Me),
|
|
759
|
-
function ke(e, t) {
|
|
760
|
-
return Bn.call(e, t);
|
|
761
|
-
}
|
|
762
|
-
var Tn = function() {
|
|
754
|
+
}(Me), Nn = function() {
|
|
763
755
|
function e(t) {
|
|
764
756
|
this.partialObserver = t;
|
|
765
757
|
}
|
|
@@ -791,54 +783,42 @@ var Tn = function() {
|
|
|
791
783
|
}
|
|
792
784
|
}, e;
|
|
793
785
|
}(), tt = function(e) {
|
|
794
|
-
|
|
786
|
+
k(t, e);
|
|
795
787
|
function t(r, n, i) {
|
|
796
788
|
var o = e.call(this) || this, a;
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
};
|
|
803
|
-
else {
|
|
804
|
-
var s;
|
|
805
|
-
o && dr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
806
|
-
return o.unsubscribe();
|
|
807
|
-
}, a = {
|
|
808
|
-
next: r.next && ke(r.next, s),
|
|
809
|
-
error: r.error && ke(r.error, s),
|
|
810
|
-
complete: r.complete && ke(r.complete, s)
|
|
811
|
-
}) : a = r;
|
|
812
|
-
}
|
|
813
|
-
return o.destination = new Tn(a), o;
|
|
789
|
+
return G(r) || !r ? a = {
|
|
790
|
+
next: r ?? void 0,
|
|
791
|
+
error: n ?? void 0,
|
|
792
|
+
complete: i ?? void 0
|
|
793
|
+
} : a = r, o.destination = new Nn(a), o;
|
|
814
794
|
}
|
|
815
795
|
return t;
|
|
816
|
-
}(
|
|
796
|
+
}(cr);
|
|
817
797
|
function xe(e) {
|
|
818
|
-
|
|
798
|
+
En(e);
|
|
819
799
|
}
|
|
820
|
-
function
|
|
800
|
+
function Sn(e) {
|
|
821
801
|
throw e;
|
|
822
802
|
}
|
|
823
|
-
var
|
|
803
|
+
var In = {
|
|
824
804
|
closed: !0,
|
|
825
|
-
next:
|
|
826
|
-
error:
|
|
827
|
-
complete:
|
|
828
|
-
},
|
|
805
|
+
next: wt,
|
|
806
|
+
error: Sn,
|
|
807
|
+
complete: wt
|
|
808
|
+
}, Bn = function() {
|
|
829
809
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
830
810
|
}();
|
|
831
|
-
function
|
|
811
|
+
function An(e) {
|
|
832
812
|
return e;
|
|
833
813
|
}
|
|
834
|
-
function
|
|
835
|
-
return e.length === 0 ?
|
|
814
|
+
function Tn(e) {
|
|
815
|
+
return e.length === 0 ? An : e.length === 1 ? e[0] : function(r) {
|
|
836
816
|
return e.reduce(function(n, i) {
|
|
837
817
|
return i(n);
|
|
838
818
|
}, r);
|
|
839
819
|
};
|
|
840
820
|
}
|
|
841
|
-
var
|
|
821
|
+
var Et = function() {
|
|
842
822
|
function e(t) {
|
|
843
823
|
t && (this._subscribe = t);
|
|
844
824
|
}
|
|
@@ -846,7 +826,7 @@ var St = function() {
|
|
|
846
826
|
var r = new e();
|
|
847
827
|
return r.source = this, r.operator = t, r;
|
|
848
828
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
849
|
-
var i = this, o =
|
|
829
|
+
var i = this, o = Hn(t) ? t : new tt(t, r, n);
|
|
850
830
|
return Se(function() {
|
|
851
831
|
var a = i, s = a.operator, l = a.source;
|
|
852
832
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -859,7 +839,7 @@ var St = function() {
|
|
|
859
839
|
}
|
|
860
840
|
}, e.prototype.forEach = function(t, r) {
|
|
861
841
|
var n = this;
|
|
862
|
-
return r =
|
|
842
|
+
return r = Nt(r), new r(function(i, o) {
|
|
863
843
|
var a = new tt({
|
|
864
844
|
next: function(s) {
|
|
865
845
|
try {
|
|
@@ -876,15 +856,15 @@ var St = function() {
|
|
|
876
856
|
}, e.prototype._subscribe = function(t) {
|
|
877
857
|
var r;
|
|
878
858
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
879
|
-
}, e.prototype[
|
|
859
|
+
}, e.prototype[Bn] = function() {
|
|
880
860
|
return this;
|
|
881
861
|
}, e.prototype.pipe = function() {
|
|
882
862
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
883
863
|
t[r] = arguments[r];
|
|
884
|
-
return
|
|
864
|
+
return Tn(t)(this);
|
|
885
865
|
}, e.prototype.toPromise = function(t) {
|
|
886
866
|
var r = this;
|
|
887
|
-
return t =
|
|
867
|
+
return t = Nt(t), new t(function(n, i) {
|
|
888
868
|
var o;
|
|
889
869
|
r.subscribe(function(a) {
|
|
890
870
|
return o = a;
|
|
@@ -898,32 +878,32 @@ var St = function() {
|
|
|
898
878
|
return new e(t);
|
|
899
879
|
}, e;
|
|
900
880
|
}();
|
|
901
|
-
function
|
|
881
|
+
function Nt(e) {
|
|
902
882
|
var t;
|
|
903
|
-
return (t = e ??
|
|
883
|
+
return (t = e ?? xn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
904
884
|
}
|
|
905
|
-
function
|
|
906
|
-
return e &&
|
|
885
|
+
function Pn(e) {
|
|
886
|
+
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
907
887
|
}
|
|
908
|
-
function
|
|
909
|
-
return e && e instanceof
|
|
888
|
+
function Hn(e) {
|
|
889
|
+
return e && e instanceof cr || Pn(e) && hr(e);
|
|
910
890
|
}
|
|
911
|
-
var
|
|
891
|
+
var Mn = lr(function(e) {
|
|
912
892
|
return function() {
|
|
913
893
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
914
894
|
};
|
|
915
|
-
}),
|
|
916
|
-
|
|
895
|
+
}), fr = function(e) {
|
|
896
|
+
k(t, e);
|
|
917
897
|
function t() {
|
|
918
898
|
var r = e.call(this) || this;
|
|
919
899
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
920
900
|
}
|
|
921
901
|
return t.prototype.lift = function(r) {
|
|
922
|
-
var n = new
|
|
902
|
+
var n = new St(this, this);
|
|
923
903
|
return n.operator = r, n;
|
|
924
904
|
}, t.prototype._throwIfClosed = function() {
|
|
925
905
|
if (this.closed)
|
|
926
|
-
throw new
|
|
906
|
+
throw new Mn();
|
|
927
907
|
}, t.prototype.next = function(r) {
|
|
928
908
|
var n = this;
|
|
929
909
|
Se(function() {
|
|
@@ -979,20 +959,20 @@ var Rn = hr(function(e) {
|
|
|
979
959
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
980
960
|
}, t.prototype._innerSubscribe = function(r) {
|
|
981
961
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
982
|
-
return o || a ?
|
|
962
|
+
return o || a ? ur : (this.currentObservers = null, s.push(r), new Me(function() {
|
|
983
963
|
n.currentObservers = null, et(s, r);
|
|
984
964
|
}));
|
|
985
965
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
986
966
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
987
967
|
i ? r.error(o) : a && r.complete();
|
|
988
968
|
}, t.prototype.asObservable = function() {
|
|
989
|
-
var r = new
|
|
969
|
+
var r = new Et();
|
|
990
970
|
return r.source = this, r;
|
|
991
971
|
}, t.create = function(r, n) {
|
|
992
|
-
return new
|
|
972
|
+
return new St(r, n);
|
|
993
973
|
}, t;
|
|
994
|
-
}(
|
|
995
|
-
|
|
974
|
+
}(Et), St = function(e) {
|
|
975
|
+
k(t, e);
|
|
996
976
|
function t(r, n) {
|
|
997
977
|
var i = e.call(this) || this;
|
|
998
978
|
return i.destination = r, i.source = n, i;
|
|
@@ -1008,17 +988,17 @@ var Rn = hr(function(e) {
|
|
|
1008
988
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1009
989
|
}, t.prototype._subscribe = function(r) {
|
|
1010
990
|
var n, i;
|
|
1011
|
-
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;
|
|
1012
992
|
}, t;
|
|
1013
|
-
}(
|
|
993
|
+
}(fr), dr = {
|
|
1014
994
|
now: function() {
|
|
1015
|
-
return (
|
|
995
|
+
return (dr.delegate || Date).now();
|
|
1016
996
|
},
|
|
1017
997
|
delegate: void 0
|
|
1018
|
-
},
|
|
1019
|
-
|
|
998
|
+
}, On = function(e) {
|
|
999
|
+
k(t, e);
|
|
1020
1000
|
function t(r, n, i) {
|
|
1021
|
-
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);
|
|
1022
1002
|
var o = e.call(this) || this;
|
|
1023
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;
|
|
1024
1004
|
}
|
|
@@ -1038,15 +1018,15 @@ var Rn = hr(function(e) {
|
|
|
1038
1018
|
u && o.splice(0, u + 1);
|
|
1039
1019
|
}
|
|
1040
1020
|
}, t;
|
|
1041
|
-
}(
|
|
1042
|
-
const
|
|
1043
|
-
if (
|
|
1044
|
-
const r = new
|
|
1045
|
-
|
|
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);
|
|
1046
1026
|
}
|
|
1047
|
-
return
|
|
1027
|
+
return Bt[e];
|
|
1048
1028
|
}, J = [];
|
|
1049
|
-
function
|
|
1029
|
+
function Cn(e, t) {
|
|
1050
1030
|
return {
|
|
1051
1031
|
subscribe: Oe(e, t).subscribe
|
|
1052
1032
|
};
|
|
@@ -1055,7 +1035,7 @@ function Oe(e, t = R) {
|
|
|
1055
1035
|
let r;
|
|
1056
1036
|
const n = /* @__PURE__ */ new Set();
|
|
1057
1037
|
function i(s) {
|
|
1058
|
-
if (
|
|
1038
|
+
if (tr(e, s) && (e = s, r)) {
|
|
1059
1039
|
const l = !J.length;
|
|
1060
1040
|
for (const u of n)
|
|
1061
1041
|
u[1](), J.push(u, e);
|
|
@@ -1082,7 +1062,7 @@ function se(e, t, r) {
|
|
|
1082
1062
|
if (!i.every(Boolean))
|
|
1083
1063
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1084
1064
|
const o = t.length < 2;
|
|
1085
|
-
return
|
|
1065
|
+
return Cn(r, (a, s) => {
|
|
1086
1066
|
let l = !1;
|
|
1087
1067
|
const u = [];
|
|
1088
1068
|
let h = 0, d = R;
|
|
@@ -1093,10 +1073,10 @@ function se(e, t, r) {
|
|
|
1093
1073
|
const g = t(n ? u[0] : u, a, s);
|
|
1094
1074
|
o ? a(g) : d = ht(g) ? g : R;
|
|
1095
1075
|
}, p = i.map(
|
|
1096
|
-
(g, v) =>
|
|
1076
|
+
(g, v) => rr(
|
|
1097
1077
|
g,
|
|
1098
|
-
(
|
|
1099
|
-
u[v] =
|
|
1078
|
+
(A) => {
|
|
1079
|
+
u[v] = A, h &= ~(1 << v), l && f();
|
|
1100
1080
|
},
|
|
1101
1081
|
() => {
|
|
1102
1082
|
h |= 1 << v;
|
|
@@ -1108,70 +1088,70 @@ function se(e, t, r) {
|
|
|
1108
1088
|
};
|
|
1109
1089
|
});
|
|
1110
1090
|
}
|
|
1111
|
-
function
|
|
1091
|
+
function Fn(e) {
|
|
1112
1092
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1113
1093
|
}
|
|
1114
|
-
var
|
|
1115
|
-
return
|
|
1094
|
+
var Rn = function(t) {
|
|
1095
|
+
return Un(t) && !Dn(t);
|
|
1116
1096
|
};
|
|
1117
|
-
function
|
|
1097
|
+
function Un(e) {
|
|
1118
1098
|
return !!e && typeof e == "object";
|
|
1119
1099
|
}
|
|
1120
|
-
function
|
|
1100
|
+
function Dn(e) {
|
|
1121
1101
|
var t = Object.prototype.toString.call(e);
|
|
1122
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1102
|
+
return t === "[object RegExp]" || t === "[object Date]" || kn(e);
|
|
1123
1103
|
}
|
|
1124
|
-
var
|
|
1125
|
-
function
|
|
1126
|
-
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;
|
|
1127
1107
|
}
|
|
1128
|
-
function
|
|
1108
|
+
function jn(e) {
|
|
1129
1109
|
return Array.isArray(e) ? [] : {};
|
|
1130
1110
|
}
|
|
1131
1111
|
function pe(e, t) {
|
|
1132
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? re(
|
|
1112
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? re(jn(e), e, t) : e;
|
|
1133
1113
|
}
|
|
1134
|
-
function
|
|
1114
|
+
function Wn(e, t, r) {
|
|
1135
1115
|
return e.concat(t).map(function(n) {
|
|
1136
1116
|
return pe(n, r);
|
|
1137
1117
|
});
|
|
1138
1118
|
}
|
|
1139
|
-
function
|
|
1119
|
+
function Vn(e, t) {
|
|
1140
1120
|
if (!t.customMerge)
|
|
1141
1121
|
return re;
|
|
1142
1122
|
var r = t.customMerge(e);
|
|
1143
1123
|
return typeof r == "function" ? r : re;
|
|
1144
1124
|
}
|
|
1145
|
-
function
|
|
1125
|
+
function Xn(e) {
|
|
1146
1126
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1147
1127
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1148
1128
|
}) : [];
|
|
1149
1129
|
}
|
|
1150
|
-
function
|
|
1151
|
-
return Object.keys(e).concat(
|
|
1130
|
+
function At(e) {
|
|
1131
|
+
return Object.keys(e).concat(Xn(e));
|
|
1152
1132
|
}
|
|
1153
|
-
function
|
|
1133
|
+
function mr(e, t) {
|
|
1154
1134
|
try {
|
|
1155
1135
|
return t in e;
|
|
1156
1136
|
} catch {
|
|
1157
1137
|
return !1;
|
|
1158
1138
|
}
|
|
1159
1139
|
}
|
|
1160
|
-
function
|
|
1161
|
-
return
|
|
1140
|
+
function zn(e, t) {
|
|
1141
|
+
return mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1162
1142
|
}
|
|
1163
|
-
function
|
|
1143
|
+
function Zn(e, t, r) {
|
|
1164
1144
|
var n = {};
|
|
1165
|
-
return r.isMergeableObject(e) &&
|
|
1145
|
+
return r.isMergeableObject(e) && At(e).forEach(function(i) {
|
|
1166
1146
|
n[i] = pe(e[i], r);
|
|
1167
|
-
}),
|
|
1168
|
-
|
|
1147
|
+
}), At(t).forEach(function(i) {
|
|
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));
|
|
1169
1149
|
}), n;
|
|
1170
1150
|
}
|
|
1171
1151
|
function re(e, t, r) {
|
|
1172
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1152
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Wn, r.isMergeableObject = r.isMergeableObject || Rn, r.cloneUnlessOtherwiseSpecified = pe;
|
|
1173
1153
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1174
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1154
|
+
return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) : pe(t, r);
|
|
1175
1155
|
}
|
|
1176
1156
|
re.all = function(t, r) {
|
|
1177
1157
|
if (!Array.isArray(t))
|
|
@@ -1180,107 +1160,105 @@ re.all = function(t, r) {
|
|
|
1180
1160
|
return re(n, i, r);
|
|
1181
1161
|
}, {});
|
|
1182
1162
|
};
|
|
1183
|
-
var
|
|
1184
|
-
const
|
|
1163
|
+
var Qn = re, Yn = Qn;
|
|
1164
|
+
const Jn = /* @__PURE__ */ Fn(Yn);
|
|
1185
1165
|
function je(e, t) {
|
|
1186
|
-
var r = t && t.cache ? t.cache :
|
|
1166
|
+
var r = t && t.cache ? t.cache : ii, n = t && t.serializer ? t.serializer : ri, i = t && t.strategy ? t.strategy : ei;
|
|
1187
1167
|
return i(e, {
|
|
1188
1168
|
cache: r,
|
|
1189
1169
|
serializer: n
|
|
1190
1170
|
});
|
|
1191
1171
|
}
|
|
1192
|
-
function
|
|
1172
|
+
function qn(e) {
|
|
1193
1173
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1194
1174
|
}
|
|
1195
|
-
function
|
|
1196
|
-
var i =
|
|
1175
|
+
function Kn(e, t, r, n) {
|
|
1176
|
+
var i = qn(n) ? n : r(n), o = t.get(i);
|
|
1197
1177
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1198
1178
|
}
|
|
1199
|
-
function
|
|
1179
|
+
function pr(e, t, r) {
|
|
1200
1180
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1201
1181
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1202
1182
|
}
|
|
1203
|
-
function
|
|
1183
|
+
function gr(e, t, r, n, i) {
|
|
1204
1184
|
return r.bind(t, e, n, i);
|
|
1205
1185
|
}
|
|
1206
|
-
function
|
|
1207
|
-
var r = e.length === 1 ?
|
|
1208
|
-
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);
|
|
1209
1189
|
}
|
|
1210
|
-
function
|
|
1211
|
-
return
|
|
1190
|
+
function ti(e, t) {
|
|
1191
|
+
return gr(e, this, pr, t.cache.create(), t.serializer);
|
|
1212
1192
|
}
|
|
1213
|
-
function
|
|
1214
|
-
return ft(e, this, br, t.cache.create(), t.serializer);
|
|
1215
|
-
}
|
|
1216
|
-
var si = function() {
|
|
1193
|
+
var ri = function() {
|
|
1217
1194
|
return JSON.stringify(arguments);
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1195
|
+
}, ni = (
|
|
1196
|
+
/** @class */
|
|
1197
|
+
function() {
|
|
1198
|
+
function e() {
|
|
1199
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1200
|
+
}
|
|
1201
|
+
return e.prototype.get = function(t) {
|
|
1202
|
+
return this.cache[t];
|
|
1203
|
+
}, e.prototype.set = function(t, r) {
|
|
1204
|
+
this.cache[t] = r;
|
|
1205
|
+
}, e;
|
|
1206
|
+
}()
|
|
1207
|
+
), ii = {
|
|
1229
1208
|
create: function() {
|
|
1230
|
-
return new
|
|
1209
|
+
return new ni();
|
|
1231
1210
|
}
|
|
1232
1211
|
}, We = {
|
|
1233
|
-
variadic:
|
|
1234
|
-
monadic: ai
|
|
1212
|
+
variadic: ti
|
|
1235
1213
|
}, _;
|
|
1236
1214
|
(function(e) {
|
|
1237
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";
|
|
1238
1216
|
})(_ || (_ = {}));
|
|
1239
|
-
var
|
|
1217
|
+
var I;
|
|
1240
1218
|
(function(e) {
|
|
1241
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";
|
|
1242
|
-
})(
|
|
1220
|
+
})(I || (I = {}));
|
|
1243
1221
|
var ne;
|
|
1244
1222
|
(function(e) {
|
|
1245
1223
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1246
1224
|
})(ne || (ne = {}));
|
|
1247
|
-
function
|
|
1248
|
-
return e.type ===
|
|
1225
|
+
function Tt(e) {
|
|
1226
|
+
return e.type === I.literal;
|
|
1249
1227
|
}
|
|
1250
|
-
function
|
|
1251
|
-
return e.type ===
|
|
1228
|
+
function oi(e) {
|
|
1229
|
+
return e.type === I.argument;
|
|
1252
1230
|
}
|
|
1253
|
-
function
|
|
1254
|
-
return e.type ===
|
|
1231
|
+
function vr(e) {
|
|
1232
|
+
return e.type === I.number;
|
|
1255
1233
|
}
|
|
1256
|
-
function
|
|
1257
|
-
return e.type ===
|
|
1234
|
+
function br(e) {
|
|
1235
|
+
return e.type === I.date;
|
|
1258
1236
|
}
|
|
1259
|
-
function
|
|
1260
|
-
return e.type ===
|
|
1237
|
+
function yr(e) {
|
|
1238
|
+
return e.type === I.time;
|
|
1261
1239
|
}
|
|
1262
|
-
function
|
|
1263
|
-
return e.type ===
|
|
1240
|
+
function _r(e) {
|
|
1241
|
+
return e.type === I.select;
|
|
1264
1242
|
}
|
|
1265
|
-
function
|
|
1266
|
-
return e.type ===
|
|
1243
|
+
function xr(e) {
|
|
1244
|
+
return e.type === I.plural;
|
|
1267
1245
|
}
|
|
1268
|
-
function
|
|
1269
|
-
return e.type ===
|
|
1246
|
+
function ai(e) {
|
|
1247
|
+
return e.type === I.pound;
|
|
1270
1248
|
}
|
|
1271
|
-
function
|
|
1272
|
-
return e.type ===
|
|
1249
|
+
function wr(e) {
|
|
1250
|
+
return e.type === I.tag;
|
|
1273
1251
|
}
|
|
1274
|
-
function
|
|
1252
|
+
function Er(e) {
|
|
1275
1253
|
return !!(e && typeof e == "object" && e.type === ne.number);
|
|
1276
1254
|
}
|
|
1277
1255
|
function rt(e) {
|
|
1278
1256
|
return !!(e && typeof e == "object" && e.type === ne.dateTime);
|
|
1279
1257
|
}
|
|
1280
|
-
var
|
|
1281
|
-
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) {
|
|
1282
1260
|
var t = {};
|
|
1283
|
-
return e.replace(
|
|
1261
|
+
return e.replace(si, function(r) {
|
|
1284
1262
|
var n = r.length;
|
|
1285
1263
|
switch (r[0]) {
|
|
1286
1264
|
case "G":
|
|
@@ -1369,11 +1347,11 @@ function fi(e) {
|
|
|
1369
1347
|
return "";
|
|
1370
1348
|
}), t;
|
|
1371
1349
|
}
|
|
1372
|
-
var
|
|
1373
|
-
function
|
|
1350
|
+
var ui = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1351
|
+
function hi(e) {
|
|
1374
1352
|
if (e.length === 0)
|
|
1375
1353
|
throw new Error("Number skeleton cannot be empty");
|
|
1376
|
-
for (var t = e.split(
|
|
1354
|
+
for (var t = e.split(ui).filter(function(f) {
|
|
1377
1355
|
return f.length > 0;
|
|
1378
1356
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1379
1357
|
var o = i[n], a = o.split("/");
|
|
@@ -1388,17 +1366,17 @@ function mi(e) {
|
|
|
1388
1366
|
}
|
|
1389
1367
|
return r;
|
|
1390
1368
|
}
|
|
1391
|
-
function
|
|
1369
|
+
function ci(e) {
|
|
1392
1370
|
return e.replace(/^(.*?)-/, "");
|
|
1393
1371
|
}
|
|
1394
|
-
var
|
|
1395
|
-
function
|
|
1372
|
+
var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Sr = /^(@+)?(\+|#+)?[rs]?$/g, fi = /(\*)(0+)|(#+)(0+)|(0+)/g, Ir = /^(0+)$/;
|
|
1373
|
+
function Ht(e) {
|
|
1396
1374
|
var t = {};
|
|
1397
|
-
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) {
|
|
1398
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)), "";
|
|
1399
1377
|
}), t;
|
|
1400
1378
|
}
|
|
1401
|
-
function
|
|
1379
|
+
function Br(e) {
|
|
1402
1380
|
switch (e) {
|
|
1403
1381
|
case "sign-auto":
|
|
1404
1382
|
return {
|
|
@@ -1438,7 +1416,7 @@ function Hr(e) {
|
|
|
1438
1416
|
};
|
|
1439
1417
|
}
|
|
1440
1418
|
}
|
|
1441
|
-
function
|
|
1419
|
+
function di(e) {
|
|
1442
1420
|
var t;
|
|
1443
1421
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1444
1422
|
notation: "engineering"
|
|
@@ -1446,17 +1424,17 @@ function vi(e) {
|
|
|
1446
1424
|
notation: "scientific"
|
|
1447
1425
|
}, e = e.slice(1)), t) {
|
|
1448
1426
|
var r = e.slice(0, 2);
|
|
1449
|
-
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))
|
|
1450
1428
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1451
1429
|
t.minimumIntegerDigits = e.length;
|
|
1452
1430
|
}
|
|
1453
1431
|
return t;
|
|
1454
1432
|
}
|
|
1455
|
-
function
|
|
1456
|
-
var t = {}, r =
|
|
1433
|
+
function Mt(e) {
|
|
1434
|
+
var t = {}, r = Br(e);
|
|
1457
1435
|
return r || t;
|
|
1458
1436
|
}
|
|
1459
|
-
function
|
|
1437
|
+
function mi(e) {
|
|
1460
1438
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1461
1439
|
var i = n[r];
|
|
1462
1440
|
switch (i.stem) {
|
|
@@ -1480,7 +1458,7 @@ function bi(e) {
|
|
|
1480
1458
|
continue;
|
|
1481
1459
|
case "measure-unit":
|
|
1482
1460
|
case "unit":
|
|
1483
|
-
t.style = "unit", t.unit =
|
|
1461
|
+
t.style = "unit", t.unit = ci(i.options[0]);
|
|
1484
1462
|
continue;
|
|
1485
1463
|
case "compact-short":
|
|
1486
1464
|
case "K":
|
|
@@ -1491,13 +1469,13 @@ function bi(e) {
|
|
|
1491
1469
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1492
1470
|
continue;
|
|
1493
1471
|
case "scientific":
|
|
1494
|
-
t =
|
|
1495
|
-
return
|
|
1472
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1473
|
+
return w(w({}, l), Mt(u));
|
|
1496
1474
|
}, {}));
|
|
1497
1475
|
continue;
|
|
1498
1476
|
case "engineering":
|
|
1499
|
-
t =
|
|
1500
|
-
return
|
|
1477
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1478
|
+
return w(w({}, l), Mt(u));
|
|
1501
1479
|
}, {}));
|
|
1502
1480
|
continue;
|
|
1503
1481
|
case "notation-simple":
|
|
@@ -1542,7 +1520,7 @@ function bi(e) {
|
|
|
1542
1520
|
case "integer-width":
|
|
1543
1521
|
if (i.options.length > 1)
|
|
1544
1522
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1545
|
-
i.options[0].replace(
|
|
1523
|
+
i.options[0].replace(fi, function(l, u, h, d, f, p) {
|
|
1546
1524
|
if (u)
|
|
1547
1525
|
t.minimumIntegerDigits = h.length;
|
|
1548
1526
|
else {
|
|
@@ -1555,28 +1533,28 @@ function bi(e) {
|
|
|
1555
1533
|
});
|
|
1556
1534
|
continue;
|
|
1557
1535
|
}
|
|
1558
|
-
if (
|
|
1536
|
+
if (Ir.test(i.stem)) {
|
|
1559
1537
|
t.minimumIntegerDigits = i.stem.length;
|
|
1560
1538
|
continue;
|
|
1561
1539
|
}
|
|
1562
|
-
if (
|
|
1540
|
+
if (Pt.test(i.stem)) {
|
|
1563
1541
|
if (i.options.length > 1)
|
|
1564
1542
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1565
|
-
i.stem.replace(
|
|
1543
|
+
i.stem.replace(Pt, function(l, u, h, d, f, p) {
|
|
1566
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), "";
|
|
1567
1545
|
});
|
|
1568
1546
|
var o = i.options[0];
|
|
1569
|
-
o === "w" ? t =
|
|
1547
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Ht(o)));
|
|
1570
1548
|
continue;
|
|
1571
1549
|
}
|
|
1572
|
-
if (
|
|
1573
|
-
t =
|
|
1550
|
+
if (Sr.test(i.stem)) {
|
|
1551
|
+
t = w(w({}, t), Ht(i.stem));
|
|
1574
1552
|
continue;
|
|
1575
1553
|
}
|
|
1576
|
-
var a =
|
|
1577
|
-
a && (t =
|
|
1578
|
-
var s =
|
|
1579
|
-
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));
|
|
1580
1558
|
}
|
|
1581
1559
|
return t;
|
|
1582
1560
|
}
|
|
@@ -2995,13 +2973,13 @@ var we = {
|
|
|
2995
2973
|
"h"
|
|
2996
2974
|
]
|
|
2997
2975
|
};
|
|
2998
|
-
function
|
|
2976
|
+
function pi(e, t) {
|
|
2999
2977
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3000
2978
|
var i = e.charAt(n);
|
|
3001
2979
|
if (i === "j") {
|
|
3002
2980
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3003
2981
|
o++, n++;
|
|
3004
|
-
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);
|
|
3005
2983
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3006
2984
|
r += l;
|
|
3007
2985
|
for (; a-- > 0; )
|
|
@@ -3010,7 +2988,7 @@ function yi(e, t) {
|
|
|
3010
2988
|
}
|
|
3011
2989
|
return r;
|
|
3012
2990
|
}
|
|
3013
|
-
function
|
|
2991
|
+
function gi(e) {
|
|
3014
2992
|
var t = e.hourCycle;
|
|
3015
2993
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3016
2994
|
e.hourCycles && // @ts-ignore
|
|
@@ -3032,20 +3010,20 @@ function _i(e) {
|
|
|
3032
3010
|
var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
|
|
3033
3011
|
return i[0];
|
|
3034
3012
|
}
|
|
3035
|
-
var Ve,
|
|
3036
|
-
function
|
|
3013
|
+
var Ve, vi = new RegExp("^".concat(Nr.source, "*")), bi = new RegExp("".concat(Nr.source, "*$"));
|
|
3014
|
+
function x(e, t) {
|
|
3037
3015
|
return { start: e, end: t };
|
|
3038
3016
|
}
|
|
3039
|
-
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) {
|
|
3040
3018
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3041
3019
|
}, nt = !0;
|
|
3042
3020
|
try {
|
|
3043
|
-
var
|
|
3044
|
-
nt = ((Ve =
|
|
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";
|
|
3045
3023
|
} catch {
|
|
3046
3024
|
nt = !1;
|
|
3047
3025
|
}
|
|
3048
|
-
var
|
|
3026
|
+
var Ot = yi ? (
|
|
3049
3027
|
// Native
|
|
3050
3028
|
function(t, r, n) {
|
|
3051
3029
|
return t.startsWith(r, n);
|
|
@@ -3055,7 +3033,7 @@ var Ct = Ei ? (
|
|
|
3055
3033
|
function(t, r, n) {
|
|
3056
3034
|
return t.slice(n, n + r.length) === r;
|
|
3057
3035
|
}
|
|
3058
|
-
), it =
|
|
3036
|
+
), it = _i ? String.fromCodePoint : (
|
|
3059
3037
|
// IE11
|
|
3060
3038
|
function() {
|
|
3061
3039
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3067,9 +3045,9 @@ var Ct = Ei ? (
|
|
|
3067
3045
|
}
|
|
3068
3046
|
return n;
|
|
3069
3047
|
}
|
|
3070
|
-
),
|
|
3048
|
+
), Lt = (
|
|
3071
3049
|
// native
|
|
3072
|
-
|
|
3050
|
+
xi ? Object.fromEntries : (
|
|
3073
3051
|
// Ponyfill
|
|
3074
3052
|
function(t) {
|
|
3075
3053
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3079,7 +3057,7 @@ var Ct = Ei ? (
|
|
|
3079
3057
|
return r;
|
|
3080
3058
|
}
|
|
3081
3059
|
)
|
|
3082
|
-
),
|
|
3060
|
+
), Ar = wi ? (
|
|
3083
3061
|
// Native
|
|
3084
3062
|
function(t, r) {
|
|
3085
3063
|
return t.codePointAt(r);
|
|
@@ -3093,7 +3071,7 @@ var Ct = Ei ? (
|
|
|
3093
3071
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3094
3072
|
}
|
|
3095
3073
|
}
|
|
3096
|
-
),
|
|
3074
|
+
), Ai = Ei ? (
|
|
3097
3075
|
// Native
|
|
3098
3076
|
function(t) {
|
|
3099
3077
|
return t.trimStart();
|
|
@@ -3101,9 +3079,9 @@ var Ct = Ei ? (
|
|
|
3101
3079
|
) : (
|
|
3102
3080
|
// Ponyfill
|
|
3103
3081
|
function(t) {
|
|
3104
|
-
return t.replace(
|
|
3082
|
+
return t.replace(vi, "");
|
|
3105
3083
|
}
|
|
3106
|
-
),
|
|
3084
|
+
), Ti = Ni ? (
|
|
3107
3085
|
// Native
|
|
3108
3086
|
function(t) {
|
|
3109
3087
|
return t.trimEnd();
|
|
@@ -3111,32 +3089,32 @@ var Ct = Ei ? (
|
|
|
3111
3089
|
) : (
|
|
3112
3090
|
// Ponyfill
|
|
3113
3091
|
function(t) {
|
|
3114
|
-
return t.replace(
|
|
3092
|
+
return t.replace(bi, "");
|
|
3115
3093
|
}
|
|
3116
3094
|
);
|
|
3117
|
-
function
|
|
3095
|
+
function Tr(e, t) {
|
|
3118
3096
|
return new RegExp(e, t);
|
|
3119
3097
|
}
|
|
3120
3098
|
var ot;
|
|
3121
3099
|
if (nt) {
|
|
3122
|
-
var
|
|
3100
|
+
var Ct = Tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3123
3101
|
ot = function(t, r) {
|
|
3124
3102
|
var n;
|
|
3125
|
-
|
|
3126
|
-
var i =
|
|
3103
|
+
Ct.lastIndex = r;
|
|
3104
|
+
var i = Ct.exec(t);
|
|
3127
3105
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3128
3106
|
};
|
|
3129
3107
|
} else
|
|
3130
3108
|
ot = function(t, r) {
|
|
3131
3109
|
for (var n = []; ; ) {
|
|
3132
|
-
var i =
|
|
3133
|
-
if (i === void 0 ||
|
|
3110
|
+
var i = Ar(t, r);
|
|
3111
|
+
if (i === void 0 || Pr(i) || Oi(i))
|
|
3134
3112
|
break;
|
|
3135
3113
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3136
3114
|
}
|
|
3137
3115
|
return it.apply(void 0, n);
|
|
3138
3116
|
};
|
|
3139
|
-
var
|
|
3117
|
+
var Pi = (
|
|
3140
3118
|
/** @class */
|
|
3141
3119
|
function() {
|
|
3142
3120
|
function e(t, r) {
|
|
@@ -3160,13 +3138,13 @@ var Li = (
|
|
|
3160
3138
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3161
3139
|
var s = this.clonePosition();
|
|
3162
3140
|
this.bump(), i.push({
|
|
3163
|
-
type:
|
|
3164
|
-
location:
|
|
3141
|
+
type: I.pound,
|
|
3142
|
+
location: x(s, this.clonePosition())
|
|
3165
3143
|
});
|
|
3166
3144
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3167
3145
|
if (n)
|
|
3168
3146
|
break;
|
|
3169
|
-
return this.error(_.UNMATCHED_CLOSING_TAG,
|
|
3147
|
+
return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3170
3148
|
} else if (o === 60 && !this.ignoreTag && at(this.peek() || 0)) {
|
|
3171
3149
|
var a = this.parseTag(t, r);
|
|
3172
3150
|
if (a.err)
|
|
@@ -3188,9 +3166,9 @@ var Li = (
|
|
|
3188
3166
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3189
3167
|
return {
|
|
3190
3168
|
val: {
|
|
3191
|
-
type:
|
|
3169
|
+
type: I.literal,
|
|
3192
3170
|
value: "<".concat(i, "/>"),
|
|
3193
|
-
location:
|
|
3171
|
+
location: x(n, this.clonePosition())
|
|
3194
3172
|
},
|
|
3195
3173
|
err: null
|
|
3196
3174
|
};
|
|
@@ -3201,24 +3179,24 @@ var Li = (
|
|
|
3201
3179
|
var a = o.val, s = this.clonePosition();
|
|
3202
3180
|
if (this.bumpIf("</")) {
|
|
3203
3181
|
if (this.isEOF() || !at(this.char()))
|
|
3204
|
-
return this.error(_.INVALID_TAG,
|
|
3182
|
+
return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
|
|
3205
3183
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3206
|
-
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(">") ? {
|
|
3207
3185
|
val: {
|
|
3208
|
-
type:
|
|
3186
|
+
type: I.tag,
|
|
3209
3187
|
value: i,
|
|
3210
3188
|
children: a,
|
|
3211
|
-
location:
|
|
3189
|
+
location: x(n, this.clonePosition())
|
|
3212
3190
|
},
|
|
3213
3191
|
err: null
|
|
3214
|
-
} : this.error(_.INVALID_TAG,
|
|
3192
|
+
} : this.error(_.INVALID_TAG, x(s, this.clonePosition())));
|
|
3215
3193
|
} else
|
|
3216
|
-
return this.error(_.UNCLOSED_TAG,
|
|
3194
|
+
return this.error(_.UNCLOSED_TAG, x(n, this.clonePosition()));
|
|
3217
3195
|
} else
|
|
3218
|
-
return this.error(_.INVALID_TAG,
|
|
3196
|
+
return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
|
|
3219
3197
|
}, e.prototype.parseTagName = function() {
|
|
3220
3198
|
var t = this.offset();
|
|
3221
|
-
for (this.bump(); !this.isEOF() &&
|
|
3199
|
+
for (this.bump(); !this.isEOF() && Mi(this.char()); )
|
|
3222
3200
|
this.bump();
|
|
3223
3201
|
return this.message.slice(t, this.offset());
|
|
3224
3202
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3240,14 +3218,14 @@ var Li = (
|
|
|
3240
3218
|
}
|
|
3241
3219
|
break;
|
|
3242
3220
|
}
|
|
3243
|
-
var l =
|
|
3221
|
+
var l = x(n, this.clonePosition());
|
|
3244
3222
|
return {
|
|
3245
|
-
val: { type:
|
|
3223
|
+
val: { type: I.literal, value: i, location: l },
|
|
3246
3224
|
err: null
|
|
3247
3225
|
};
|
|
3248
3226
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3249
3227
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3250
|
-
!
|
|
3228
|
+
!Hi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3251
3229
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3252
3230
|
if (this.isEOF() || this.char() !== 39)
|
|
3253
3231
|
return null;
|
|
@@ -3290,40 +3268,40 @@ var Li = (
|
|
|
3290
3268
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3291
3269
|
var n = this.clonePosition();
|
|
3292
3270
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3293
|
-
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3271
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
|
|
3294
3272
|
if (this.char() === 125)
|
|
3295
|
-
return this.bump(), this.error(_.EMPTY_ARGUMENT,
|
|
3273
|
+
return this.bump(), this.error(_.EMPTY_ARGUMENT, x(n, this.clonePosition()));
|
|
3296
3274
|
var i = this.parseIdentifierIfPossible().value;
|
|
3297
3275
|
if (!i)
|
|
3298
|
-
return this.error(_.MALFORMED_ARGUMENT,
|
|
3276
|
+
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3299
3277
|
if (this.bumpSpace(), this.isEOF())
|
|
3300
|
-
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3278
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
|
|
3301
3279
|
switch (this.char()) {
|
|
3302
3280
|
case 125:
|
|
3303
3281
|
return this.bump(), {
|
|
3304
3282
|
val: {
|
|
3305
|
-
type:
|
|
3283
|
+
type: I.argument,
|
|
3306
3284
|
// value does not include the opening and closing braces.
|
|
3307
3285
|
value: i,
|
|
3308
|
-
location:
|
|
3286
|
+
location: x(n, this.clonePosition())
|
|
3309
3287
|
},
|
|
3310
3288
|
err: null
|
|
3311
3289
|
};
|
|
3312
3290
|
case 44:
|
|
3313
|
-
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);
|
|
3314
3292
|
default:
|
|
3315
|
-
return this.error(_.MALFORMED_ARGUMENT,
|
|
3293
|
+
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3316
3294
|
}
|
|
3317
3295
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3318
3296
|
var t = this.clonePosition(), r = this.offset(), n = ot(this.message, r), i = r + n.length;
|
|
3319
3297
|
this.bumpTo(i);
|
|
3320
|
-
var o = this.clonePosition(), a =
|
|
3298
|
+
var o = this.clonePosition(), a = x(t, o);
|
|
3321
3299
|
return { value: n, location: a };
|
|
3322
3300
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3323
3301
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3324
3302
|
switch (s) {
|
|
3325
3303
|
case "":
|
|
3326
|
-
return this.error(_.EXPECT_ARGUMENT_TYPE,
|
|
3304
|
+
return this.error(_.EXPECT_ARGUMENT_TYPE, x(a, l));
|
|
3327
3305
|
case "number":
|
|
3328
3306
|
case "date":
|
|
3329
3307
|
case "time": {
|
|
@@ -3334,35 +3312,35 @@ var Li = (
|
|
|
3334
3312
|
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3335
3313
|
if (d.err)
|
|
3336
3314
|
return d;
|
|
3337
|
-
var f =
|
|
3315
|
+
var f = Ti(d.val);
|
|
3338
3316
|
if (f.length === 0)
|
|
3339
|
-
return this.error(_.EXPECT_ARGUMENT_STYLE,
|
|
3340
|
-
var p =
|
|
3317
|
+
return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3318
|
+
var p = x(h, this.clonePosition());
|
|
3341
3319
|
u = { style: f, styleLocation: p };
|
|
3342
3320
|
}
|
|
3343
3321
|
var g = this.tryParseArgumentClose(i);
|
|
3344
3322
|
if (g.err)
|
|
3345
3323
|
return g;
|
|
3346
|
-
var v =
|
|
3347
|
-
if (u &&
|
|
3348
|
-
var
|
|
3324
|
+
var v = x(i, this.clonePosition());
|
|
3325
|
+
if (u && Ot(u?.style, "::", 0)) {
|
|
3326
|
+
var A = Ai(u.style.slice(2));
|
|
3349
3327
|
if (s === "number") {
|
|
3350
|
-
var d = this.parseNumberSkeletonFromString(
|
|
3328
|
+
var d = this.parseNumberSkeletonFromString(A, u.styleLocation);
|
|
3351
3329
|
return d.err ? d : {
|
|
3352
|
-
val: { type:
|
|
3330
|
+
val: { type: I.number, value: n, location: v, style: d.val },
|
|
3353
3331
|
err: null
|
|
3354
3332
|
};
|
|
3355
3333
|
} else {
|
|
3356
|
-
if (
|
|
3334
|
+
if (A.length === 0)
|
|
3357
3335
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3358
|
-
var
|
|
3359
|
-
this.locale && (
|
|
3336
|
+
var S = A;
|
|
3337
|
+
this.locale && (S = pi(A, this.locale));
|
|
3360
3338
|
var f = {
|
|
3361
3339
|
type: ne.dateTime,
|
|
3362
|
-
pattern:
|
|
3340
|
+
pattern: S,
|
|
3363
3341
|
location: u.styleLocation,
|
|
3364
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3365
|
-
}, b = s === "date" ?
|
|
3342
|
+
parsedOptions: this.shouldParseSkeletons ? li(S) : {}
|
|
3343
|
+
}, b = s === "date" ? I.date : I.time;
|
|
3366
3344
|
return {
|
|
3367
3345
|
val: { type: b, value: n, location: v, style: f },
|
|
3368
3346
|
err: null
|
|
@@ -3371,7 +3349,7 @@ var Li = (
|
|
|
3371
3349
|
}
|
|
3372
3350
|
return {
|
|
3373
3351
|
val: {
|
|
3374
|
-
type: s === "number" ?
|
|
3352
|
+
type: s === "number" ? I.number : s === "date" ? I.date : I.time,
|
|
3375
3353
|
value: n,
|
|
3376
3354
|
location: v,
|
|
3377
3355
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3382,41 +3360,41 @@ var Li = (
|
|
|
3382
3360
|
case "plural":
|
|
3383
3361
|
case "selectordinal":
|
|
3384
3362
|
case "select": {
|
|
3385
|
-
var
|
|
3363
|
+
var N = this.clonePosition();
|
|
3386
3364
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3387
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3365
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(N, w({}, N)));
|
|
3388
3366
|
this.bumpSpace();
|
|
3389
|
-
var
|
|
3390
|
-
if (s !== "select" &&
|
|
3367
|
+
var E = this.parseIdentifierIfPossible(), T = 0;
|
|
3368
|
+
if (s !== "select" && E.value === "offset") {
|
|
3391
3369
|
if (!this.bumpIf(":"))
|
|
3392
|
-
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3370
|
+
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
3393
3371
|
this.bumpSpace();
|
|
3394
3372
|
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3395
3373
|
if (d.err)
|
|
3396
3374
|
return d;
|
|
3397
|
-
this.bumpSpace(),
|
|
3375
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), T = d.val;
|
|
3398
3376
|
}
|
|
3399
|
-
var
|
|
3400
|
-
if (
|
|
3401
|
-
return
|
|
3377
|
+
var X = this.tryParsePluralOrSelectOptions(t, s, r, E);
|
|
3378
|
+
if (X.err)
|
|
3379
|
+
return X;
|
|
3402
3380
|
var g = this.tryParseArgumentClose(i);
|
|
3403
3381
|
if (g.err)
|
|
3404
3382
|
return g;
|
|
3405
|
-
var Q =
|
|
3383
|
+
var Q = x(i, this.clonePosition());
|
|
3406
3384
|
return s === "select" ? {
|
|
3407
3385
|
val: {
|
|
3408
|
-
type:
|
|
3386
|
+
type: I.select,
|
|
3409
3387
|
value: n,
|
|
3410
|
-
options:
|
|
3388
|
+
options: Lt(X.val),
|
|
3411
3389
|
location: Q
|
|
3412
3390
|
},
|
|
3413
3391
|
err: null
|
|
3414
3392
|
} : {
|
|
3415
3393
|
val: {
|
|
3416
|
-
type:
|
|
3394
|
+
type: I.plural,
|
|
3417
3395
|
value: n,
|
|
3418
|
-
options:
|
|
3419
|
-
offset:
|
|
3396
|
+
options: Lt(X.val),
|
|
3397
|
+
offset: T,
|
|
3420
3398
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3421
3399
|
location: Q
|
|
3422
3400
|
},
|
|
@@ -3424,10 +3402,10 @@ var Li = (
|
|
|
3424
3402
|
};
|
|
3425
3403
|
}
|
|
3426
3404
|
default:
|
|
3427
|
-
return this.error(_.INVALID_ARGUMENT_TYPE,
|
|
3405
|
+
return this.error(_.INVALID_ARGUMENT_TYPE, x(a, l));
|
|
3428
3406
|
}
|
|
3429
3407
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3430
|
-
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 });
|
|
3431
3409
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3432
3410
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3433
3411
|
var n = this.char();
|
|
@@ -3436,7 +3414,7 @@ var Li = (
|
|
|
3436
3414
|
this.bump();
|
|
3437
3415
|
var i = this.clonePosition();
|
|
3438
3416
|
if (!this.bumpUntil("'"))
|
|
3439
|
-
return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3417
|
+
return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
|
|
3440
3418
|
this.bump();
|
|
3441
3419
|
break;
|
|
3442
3420
|
}
|
|
@@ -3466,7 +3444,7 @@ var Li = (
|
|
|
3466
3444
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3467
3445
|
var n = [];
|
|
3468
3446
|
try {
|
|
3469
|
-
n =
|
|
3447
|
+
n = hi(t);
|
|
3470
3448
|
} catch {
|
|
3471
3449
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3472
3450
|
}
|
|
@@ -3475,7 +3453,7 @@ var Li = (
|
|
|
3475
3453
|
type: ne.number,
|
|
3476
3454
|
tokens: n,
|
|
3477
3455
|
location: r,
|
|
3478
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3456
|
+
parsedOptions: this.shouldParseSkeletons ? mi(n) : {}
|
|
3479
3457
|
},
|
|
3480
3458
|
err: null
|
|
3481
3459
|
};
|
|
@@ -3487,7 +3465,7 @@ var Li = (
|
|
|
3487
3465
|
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3488
3466
|
if (f.err)
|
|
3489
3467
|
return f;
|
|
3490
|
-
h =
|
|
3468
|
+
h = x(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
|
|
3491
3469
|
} else
|
|
3492
3470
|
break;
|
|
3493
3471
|
}
|
|
@@ -3496,7 +3474,7 @@ var Li = (
|
|
|
3496
3474
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3497
3475
|
var p = this.clonePosition();
|
|
3498
3476
|
if (!this.bumpIf("{"))
|
|
3499
|
-
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()));
|
|
3500
3478
|
var g = this.parseMessage(t + 1, r, n);
|
|
3501
3479
|
if (g.err)
|
|
3502
3480
|
return g;
|
|
@@ -3507,11 +3485,11 @@ var Li = (
|
|
|
3507
3485
|
u,
|
|
3508
3486
|
{
|
|
3509
3487
|
value: g.val,
|
|
3510
|
-
location:
|
|
3488
|
+
location: x(p, this.clonePosition())
|
|
3511
3489
|
}
|
|
3512
3490
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3513
3491
|
}
|
|
3514
|
-
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 };
|
|
3515
3493
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3516
3494
|
var n = 1, i = this.clonePosition();
|
|
3517
3495
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3522,8 +3500,8 @@ var Li = (
|
|
|
3522
3500
|
else
|
|
3523
3501
|
break;
|
|
3524
3502
|
}
|
|
3525
|
-
var l =
|
|
3526
|
-
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);
|
|
3527
3505
|
}, e.prototype.offset = function() {
|
|
3528
3506
|
return this.position.offset;
|
|
3529
3507
|
}, e.prototype.isEOF = function() {
|
|
@@ -3538,7 +3516,7 @@ var Li = (
|
|
|
3538
3516
|
var t = this.position.offset;
|
|
3539
3517
|
if (t >= this.message.length)
|
|
3540
3518
|
throw Error("out of bound");
|
|
3541
|
-
var r =
|
|
3519
|
+
var r = Ar(this.message, t);
|
|
3542
3520
|
if (r === void 0)
|
|
3543
3521
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3544
3522
|
return r;
|
|
@@ -3557,7 +3535,7 @@ var Li = (
|
|
|
3557
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);
|
|
3558
3536
|
}
|
|
3559
3537
|
}, e.prototype.bumpIf = function(t) {
|
|
3560
|
-
if (
|
|
3538
|
+
if (Ot(this.message, t, this.offset())) {
|
|
3561
3539
|
for (var r = 0; r < t.length; r++)
|
|
3562
3540
|
this.bump();
|
|
3563
3541
|
return !0;
|
|
@@ -3579,7 +3557,7 @@ var Li = (
|
|
|
3579
3557
|
break;
|
|
3580
3558
|
}
|
|
3581
3559
|
}, e.prototype.bumpSpace = function() {
|
|
3582
|
-
for (; !this.isEOF() &&
|
|
3560
|
+
for (; !this.isEOF() && Pr(this.char()); )
|
|
3583
3561
|
this.bump();
|
|
3584
3562
|
}, e.prototype.peek = function() {
|
|
3585
3563
|
if (this.isEOF())
|
|
@@ -3592,29 +3570,29 @@ var Li = (
|
|
|
3592
3570
|
function at(e) {
|
|
3593
3571
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3594
3572
|
}
|
|
3595
|
-
function
|
|
3573
|
+
function Hi(e) {
|
|
3596
3574
|
return at(e) || e === 47;
|
|
3597
3575
|
}
|
|
3598
|
-
function
|
|
3576
|
+
function Mi(e) {
|
|
3599
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;
|
|
3600
3578
|
}
|
|
3601
|
-
function
|
|
3579
|
+
function Pr(e) {
|
|
3602
3580
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3603
3581
|
}
|
|
3604
|
-
function
|
|
3582
|
+
function Oi(e) {
|
|
3605
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;
|
|
3606
3584
|
}
|
|
3607
3585
|
function st(e) {
|
|
3608
3586
|
e.forEach(function(t) {
|
|
3609
|
-
if (delete t.location,
|
|
3587
|
+
if (delete t.location, _r(t) || xr(t))
|
|
3610
3588
|
for (var r in t.options)
|
|
3611
3589
|
delete t.options[r].location, st(t.options[r].value);
|
|
3612
|
-
else
|
|
3590
|
+
else vr(t) && Er(t.style) || (br(t) || yr(t)) && rt(t.style) ? delete t.style.location : wr(t) && st(t.children);
|
|
3613
3591
|
});
|
|
3614
3592
|
}
|
|
3615
|
-
function
|
|
3616
|
-
t === void 0 && (t = {}), t =
|
|
3617
|
-
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();
|
|
3618
3596
|
if (r.err) {
|
|
3619
3597
|
var n = SyntaxError(_[r.err.kind]);
|
|
3620
3598
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3628,7 +3606,7 @@ var ie;
|
|
|
3628
3606
|
var Le = (
|
|
3629
3607
|
/** @class */
|
|
3630
3608
|
function(e) {
|
|
3631
|
-
|
|
3609
|
+
k(t, e);
|
|
3632
3610
|
function t(r, n, i) {
|
|
3633
3611
|
var o = e.call(this, r) || this;
|
|
3634
3612
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3637,28 +3615,28 @@ var Le = (
|
|
|
3637
3615
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3638
3616
|
}, t;
|
|
3639
3617
|
}(Error)
|
|
3640
|
-
),
|
|
3618
|
+
), Ft = (
|
|
3641
3619
|
/** @class */
|
|
3642
3620
|
function(e) {
|
|
3643
|
-
|
|
3621
|
+
k(t, e);
|
|
3644
3622
|
function t(r, n, i, o) {
|
|
3645
3623
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
|
|
3646
3624
|
}
|
|
3647
3625
|
return t;
|
|
3648
3626
|
}(Le)
|
|
3649
|
-
),
|
|
3627
|
+
), Ci = (
|
|
3650
3628
|
/** @class */
|
|
3651
3629
|
function(e) {
|
|
3652
|
-
|
|
3630
|
+
k(t, e);
|
|
3653
3631
|
function t(r, n, i) {
|
|
3654
3632
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
|
|
3655
3633
|
}
|
|
3656
3634
|
return t;
|
|
3657
3635
|
}(Le)
|
|
3658
|
-
),
|
|
3636
|
+
), Fi = (
|
|
3659
3637
|
/** @class */
|
|
3660
3638
|
function(e) {
|
|
3661
|
-
|
|
3639
|
+
k(t, e);
|
|
3662
3640
|
function t(r, n) {
|
|
3663
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;
|
|
3664
3642
|
}
|
|
@@ -3668,17 +3646,17 @@ var Le = (
|
|
|
3668
3646
|
(function(e) {
|
|
3669
3647
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3670
3648
|
})(M || (M = {}));
|
|
3671
|
-
function
|
|
3649
|
+
function Ri(e) {
|
|
3672
3650
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3673
3651
|
var n = t[t.length - 1];
|
|
3674
3652
|
return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
|
|
3675
3653
|
}, []);
|
|
3676
3654
|
}
|
|
3677
|
-
function
|
|
3655
|
+
function Ui(e) {
|
|
3678
3656
|
return typeof e == "function";
|
|
3679
3657
|
}
|
|
3680
3658
|
function Ie(e, t, r, n, i, o, a) {
|
|
3681
|
-
if (e.length === 1 &&
|
|
3659
|
+
if (e.length === 1 && Tt(e[0]))
|
|
3682
3660
|
return [
|
|
3683
3661
|
{
|
|
3684
3662
|
type: M.literal,
|
|
@@ -3687,14 +3665,14 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3687
3665
|
];
|
|
3688
3666
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3689
3667
|
var h = u[l];
|
|
3690
|
-
if (
|
|
3668
|
+
if (Tt(h)) {
|
|
3691
3669
|
s.push({
|
|
3692
3670
|
type: M.literal,
|
|
3693
3671
|
value: h.value
|
|
3694
3672
|
});
|
|
3695
3673
|
continue;
|
|
3696
3674
|
}
|
|
3697
|
-
if (
|
|
3675
|
+
if (ai(h)) {
|
|
3698
3676
|
typeof o == "number" && s.push({
|
|
3699
3677
|
type: M.literal,
|
|
3700
3678
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3703,16 +3681,16 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3703
3681
|
}
|
|
3704
3682
|
var d = h.value;
|
|
3705
3683
|
if (!(i && d in i))
|
|
3706
|
-
throw new
|
|
3684
|
+
throw new Fi(d, a);
|
|
3707
3685
|
var f = i[d];
|
|
3708
|
-
if (
|
|
3686
|
+
if (oi(h)) {
|
|
3709
3687
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3710
3688
|
type: typeof f == "string" ? M.literal : M.object,
|
|
3711
3689
|
value: f
|
|
3712
3690
|
});
|
|
3713
3691
|
continue;
|
|
3714
3692
|
}
|
|
3715
|
-
if (
|
|
3693
|
+
if (br(h)) {
|
|
3716
3694
|
var p = typeof h.style == "string" ? n.date[h.style] : rt(h.style) ? h.style.parsedOptions : void 0;
|
|
3717
3695
|
s.push({
|
|
3718
3696
|
type: M.literal,
|
|
@@ -3720,7 +3698,7 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3720
3698
|
});
|
|
3721
3699
|
continue;
|
|
3722
3700
|
}
|
|
3723
|
-
if (
|
|
3701
|
+
if (yr(h)) {
|
|
3724
3702
|
var p = typeof h.style == "string" ? n.time[h.style] : rt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3725
3703
|
s.push({
|
|
3726
3704
|
type: M.literal,
|
|
@@ -3728,62 +3706,62 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3728
3706
|
});
|
|
3729
3707
|
continue;
|
|
3730
3708
|
}
|
|
3731
|
-
if (
|
|
3732
|
-
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;
|
|
3733
3711
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3734
3712
|
type: M.literal,
|
|
3735
3713
|
value: r.getNumberFormat(t, p).format(f)
|
|
3736
3714
|
});
|
|
3737
3715
|
continue;
|
|
3738
3716
|
}
|
|
3739
|
-
if (
|
|
3740
|
-
var g = h.children, v = h.value,
|
|
3741
|
-
if (!
|
|
3742
|
-
throw new
|
|
3743
|
-
var
|
|
3744
|
-
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;
|
|
3745
3723
|
}));
|
|
3746
|
-
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) {
|
|
3747
3725
|
return {
|
|
3748
|
-
type: typeof
|
|
3749
|
-
value:
|
|
3726
|
+
type: typeof T == "string" ? M.literal : M.object,
|
|
3727
|
+
value: T
|
|
3750
3728
|
};
|
|
3751
3729
|
}));
|
|
3752
3730
|
}
|
|
3753
|
-
if (
|
|
3754
|
-
var
|
|
3755
|
-
if (!
|
|
3756
|
-
throw new
|
|
3757
|
-
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));
|
|
3758
3736
|
continue;
|
|
3759
3737
|
}
|
|
3760
|
-
if (
|
|
3761
|
-
var
|
|
3762
|
-
if (!
|
|
3738
|
+
if (xr(h)) {
|
|
3739
|
+
var N = h.options["=".concat(f)];
|
|
3740
|
+
if (!N) {
|
|
3763
3741
|
if (!Intl.PluralRules)
|
|
3764
3742
|
throw new Le(`Intl.PluralRules is not available in this environment.
|
|
3765
3743
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3766
3744
|
`, ie.MISSING_INTL_API, a);
|
|
3767
|
-
var
|
|
3768
|
-
|
|
3745
|
+
var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3746
|
+
N = h.options[E] || h.options.other;
|
|
3769
3747
|
}
|
|
3770
|
-
if (!
|
|
3771
|
-
throw new
|
|
3772
|
-
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)));
|
|
3773
3751
|
continue;
|
|
3774
3752
|
}
|
|
3775
3753
|
}
|
|
3776
|
-
return
|
|
3754
|
+
return Ri(s);
|
|
3777
3755
|
}
|
|
3778
|
-
function
|
|
3779
|
-
return t ?
|
|
3780
|
-
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;
|
|
3781
3759
|
}, {})) : e;
|
|
3782
3760
|
}
|
|
3783
|
-
function
|
|
3761
|
+
function Gi(e, t) {
|
|
3784
3762
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3785
|
-
return r[n] =
|
|
3786
|
-
},
|
|
3763
|
+
return r[n] = Di(e[n], t[n]), r;
|
|
3764
|
+
}, w({}, e)) : e;
|
|
3787
3765
|
}
|
|
3788
3766
|
function Xe(e) {
|
|
3789
3767
|
return {
|
|
@@ -3799,7 +3777,7 @@ function Xe(e) {
|
|
|
3799
3777
|
}
|
|
3800
3778
|
};
|
|
3801
3779
|
}
|
|
3802
|
-
function
|
|
3780
|
+
function $i(e) {
|
|
3803
3781
|
return e === void 0 && (e = {
|
|
3804
3782
|
number: {},
|
|
3805
3783
|
dateTime: {},
|
|
@@ -3831,7 +3809,7 @@ function Vi(e) {
|
|
|
3831
3809
|
})
|
|
3832
3810
|
};
|
|
3833
3811
|
}
|
|
3834
|
-
var
|
|
3812
|
+
var ki = (
|
|
3835
3813
|
/** @class */
|
|
3836
3814
|
function() {
|
|
3837
3815
|
function e(t, r, n, i) {
|
|
@@ -3863,13 +3841,13 @@ var Xi = (
|
|
|
3863
3841
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3864
3842
|
var a = i || {};
|
|
3865
3843
|
a.formatters;
|
|
3866
|
-
var s =
|
|
3867
|
-
this.ast = e.__parse(t,
|
|
3844
|
+
var s = _n(a, ["formatters"]);
|
|
3845
|
+
this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
|
|
3868
3846
|
} else
|
|
3869
3847
|
this.ast = t;
|
|
3870
3848
|
if (!Array.isArray(this.ast))
|
|
3871
3849
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3872
|
-
this.formats =
|
|
3850
|
+
this.formats = Gi(e.formats, n), this.formatters = i && i.formatters || $i(this.formatterCache);
|
|
3873
3851
|
}
|
|
3874
3852
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3875
3853
|
get: function() {
|
|
@@ -3882,7 +3860,7 @@ var Xi = (
|
|
|
3882
3860
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3883
3861
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3884
3862
|
}
|
|
3885
|
-
}, e.__parse =
|
|
3863
|
+
}, e.__parse = Li, e.formats = {
|
|
3886
3864
|
number: {
|
|
3887
3865
|
integer: {
|
|
3888
3866
|
maximumFractionDigits: 0
|
|
@@ -3943,7 +3921,7 @@ var Xi = (
|
|
|
3943
3921
|
}, e;
|
|
3944
3922
|
}()
|
|
3945
3923
|
);
|
|
3946
|
-
function
|
|
3924
|
+
function ji(e, t) {
|
|
3947
3925
|
if (t == null)
|
|
3948
3926
|
return;
|
|
3949
3927
|
if (t in e)
|
|
@@ -3964,60 +3942,60 @@ function zi(e, t) {
|
|
|
3964
3942
|
n = void 0;
|
|
3965
3943
|
return n;
|
|
3966
3944
|
}
|
|
3967
|
-
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) => {
|
|
3968
3946
|
if (t == null)
|
|
3969
3947
|
return;
|
|
3970
|
-
if (t in
|
|
3971
|
-
return
|
|
3948
|
+
if (t in W && e in W[t])
|
|
3949
|
+
return W[t][e];
|
|
3972
3950
|
const r = Ce(t);
|
|
3973
3951
|
for (let n = 0; n < r.length; n++) {
|
|
3974
|
-
const i = r[n], o =
|
|
3952
|
+
const i = r[n], o = Xi(i, e);
|
|
3975
3953
|
if (o)
|
|
3976
|
-
return
|
|
3954
|
+
return Wi(e, t, o);
|
|
3977
3955
|
}
|
|
3978
3956
|
};
|
|
3979
|
-
let
|
|
3957
|
+
let ft;
|
|
3980
3958
|
const be = Oe({});
|
|
3981
|
-
function
|
|
3982
|
-
return
|
|
3959
|
+
function Vi(e) {
|
|
3960
|
+
return ft[e] || null;
|
|
3983
3961
|
}
|
|
3984
|
-
function
|
|
3985
|
-
return e in
|
|
3962
|
+
function Mr(e) {
|
|
3963
|
+
return e in ft;
|
|
3986
3964
|
}
|
|
3987
|
-
function
|
|
3988
|
-
if (!
|
|
3965
|
+
function Xi(e, t) {
|
|
3966
|
+
if (!Mr(e))
|
|
3989
3967
|
return null;
|
|
3990
|
-
const r =
|
|
3991
|
-
return
|
|
3968
|
+
const r = Vi(e);
|
|
3969
|
+
return ji(r, t);
|
|
3992
3970
|
}
|
|
3993
|
-
function
|
|
3971
|
+
function zi(e) {
|
|
3994
3972
|
if (e == null)
|
|
3995
3973
|
return;
|
|
3996
3974
|
const t = Ce(e);
|
|
3997
3975
|
for (let r = 0; r < t.length; r++) {
|
|
3998
3976
|
const n = t[r];
|
|
3999
|
-
if (
|
|
3977
|
+
if (Mr(n))
|
|
4000
3978
|
return n;
|
|
4001
3979
|
}
|
|
4002
3980
|
}
|
|
4003
|
-
function
|
|
4004
|
-
delete
|
|
3981
|
+
function Or(e, ...t) {
|
|
3982
|
+
delete W[e], be.update((r) => (r[e] = Jn.all([r[e] || {}, ...t]), r));
|
|
4005
3983
|
}
|
|
4006
3984
|
se(
|
|
4007
3985
|
[be],
|
|
4008
3986
|
([e]) => Object.keys(e)
|
|
4009
3987
|
);
|
|
4010
|
-
be.subscribe((e) =>
|
|
4011
|
-
const
|
|
4012
|
-
function
|
|
4013
|
-
|
|
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];
|
|
4014
3992
|
}
|
|
4015
|
-
function
|
|
4016
|
-
return
|
|
3993
|
+
function Lr(e) {
|
|
3994
|
+
return Be[e];
|
|
4017
3995
|
}
|
|
4018
|
-
function
|
|
3996
|
+
function Qi(e) {
|
|
4019
3997
|
return Ce(e).map((t) => {
|
|
4020
|
-
const r =
|
|
3998
|
+
const r = Lr(t);
|
|
4021
3999
|
return [t, r ? [...r] : []];
|
|
4022
4000
|
}).filter(([, t]) => t.length > 0);
|
|
4023
4001
|
}
|
|
@@ -4025,31 +4003,31 @@ function lt(e) {
|
|
|
4025
4003
|
return e == null ? !1 : Ce(e).some(
|
|
4026
4004
|
(t) => {
|
|
4027
4005
|
var r;
|
|
4028
|
-
return (r =
|
|
4006
|
+
return (r = Lr(t)) == null ? void 0 : r.size;
|
|
4029
4007
|
}
|
|
4030
4008
|
);
|
|
4031
4009
|
}
|
|
4032
|
-
function
|
|
4010
|
+
function Yi(e, t) {
|
|
4033
4011
|
return Promise.all(
|
|
4034
|
-
t.map((n) => (
|
|
4035
|
-
).then((n) =>
|
|
4012
|
+
t.map((n) => (Zi(e, n), n().then((i) => i.default || i)))
|
|
4013
|
+
).then((n) => Or(e, ...n));
|
|
4036
4014
|
}
|
|
4037
4015
|
const ce = {};
|
|
4038
|
-
function
|
|
4016
|
+
function Cr(e) {
|
|
4039
4017
|
if (!lt(e))
|
|
4040
4018
|
return e in ce ? ce[e] : Promise.resolve();
|
|
4041
|
-
const t =
|
|
4019
|
+
const t = Qi(e);
|
|
4042
4020
|
return ce[e] = Promise.all(
|
|
4043
4021
|
t.map(
|
|
4044
|
-
([r, n]) =>
|
|
4022
|
+
([r, n]) => Yi(r, n)
|
|
4045
4023
|
)
|
|
4046
4024
|
).then(() => {
|
|
4047
4025
|
if (lt(e))
|
|
4048
|
-
return
|
|
4026
|
+
return Cr(e);
|
|
4049
4027
|
delete ce[e];
|
|
4050
4028
|
}), ce[e];
|
|
4051
4029
|
}
|
|
4052
|
-
const
|
|
4030
|
+
const Ji = {
|
|
4053
4031
|
number: {
|
|
4054
4032
|
scientific: { notation: "scientific" },
|
|
4055
4033
|
engineering: { notation: "engineering" },
|
|
@@ -4078,34 +4056,34 @@ const to = {
|
|
|
4078
4056
|
timeZoneName: "short"
|
|
4079
4057
|
}
|
|
4080
4058
|
}
|
|
4081
|
-
},
|
|
4059
|
+
}, qi = {
|
|
4082
4060
|
fallbackLocale: null,
|
|
4083
4061
|
loadingDelay: 200,
|
|
4084
|
-
formats:
|
|
4062
|
+
formats: Ji,
|
|
4085
4063
|
warnOnMissingMessages: !0,
|
|
4086
4064
|
handleMissingMessage: void 0,
|
|
4087
4065
|
ignoreTag: !0
|
|
4088
|
-
},
|
|
4066
|
+
}, Ki = qi;
|
|
4089
4067
|
function oe() {
|
|
4090
|
-
return
|
|
4068
|
+
return Ki;
|
|
4091
4069
|
}
|
|
4092
4070
|
const ze = Oe(!1);
|
|
4093
|
-
var
|
|
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) => {
|
|
4094
4072
|
for (var r in t || (t = {}))
|
|
4095
|
-
|
|
4096
|
-
if (
|
|
4097
|
-
for (var r of
|
|
4098
|
-
|
|
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]);
|
|
4099
4077
|
return e;
|
|
4100
|
-
},
|
|
4078
|
+
}, ao = (e, t) => to(e, ro(t));
|
|
4101
4079
|
let ut;
|
|
4102
4080
|
const Te = Oe(null);
|
|
4103
|
-
function
|
|
4081
|
+
function Dt(e) {
|
|
4104
4082
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4105
4083
|
}
|
|
4106
4084
|
function Ce(e, t = oe().fallbackLocale) {
|
|
4107
|
-
const r =
|
|
4108
|
-
return t ? [.../* @__PURE__ */ new Set([...r,
|
|
4085
|
+
const r = Dt(e);
|
|
4086
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
|
|
4109
4087
|
}
|
|
4110
4088
|
function Z() {
|
|
4111
4089
|
return ut ?? void 0;
|
|
@@ -4113,22 +4091,22 @@ function Z() {
|
|
|
4113
4091
|
Te.subscribe((e) => {
|
|
4114
4092
|
ut = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4115
4093
|
});
|
|
4116
|
-
const
|
|
4117
|
-
if (e &&
|
|
4094
|
+
const so = (e) => {
|
|
4095
|
+
if (e && zi(e) && lt(e)) {
|
|
4118
4096
|
const { loadingDelay: t } = oe();
|
|
4119
4097
|
let r;
|
|
4120
4098
|
return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
|
|
4121
4099
|
() => ze.set(!0),
|
|
4122
4100
|
t
|
|
4123
|
-
) : ze.set(!0),
|
|
4101
|
+
) : ze.set(!0), Cr(e).then(() => {
|
|
4124
4102
|
Te.set(e);
|
|
4125
4103
|
}).finally(() => {
|
|
4126
4104
|
clearTimeout(r), ze.set(!1);
|
|
4127
4105
|
});
|
|
4128
4106
|
}
|
|
4129
4107
|
return Te.set(e);
|
|
4130
|
-
}, le =
|
|
4131
|
-
set:
|
|
4108
|
+
}, le = ao(oo({}, Te), {
|
|
4109
|
+
set: so
|
|
4132
4110
|
}), Fe = (e) => {
|
|
4133
4111
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4134
4112
|
return (n) => {
|
|
@@ -4136,20 +4114,20 @@ const co = (e) => {
|
|
|
4136
4114
|
return i in t ? t[i] : t[i] = e(n);
|
|
4137
4115
|
};
|
|
4138
4116
|
};
|
|
4139
|
-
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) => {
|
|
4140
4118
|
for (var r in t || (t = {}))
|
|
4141
|
-
|
|
4142
|
-
if (
|
|
4143
|
-
for (var r of
|
|
4144
|
-
|
|
4119
|
+
Fr.call(t, r) && Gt(e, r, t[r]);
|
|
4120
|
+
if (Pe)
|
|
4121
|
+
for (var r of Pe(t))
|
|
4122
|
+
Rr.call(t, r) && Gt(e, r, t[r]);
|
|
4145
4123
|
return e;
|
|
4146
4124
|
}, ue = (e, t) => {
|
|
4147
4125
|
var r = {};
|
|
4148
4126
|
for (var n in e)
|
|
4149
|
-
|
|
4150
|
-
if (e != null &&
|
|
4151
|
-
for (var n of
|
|
4152
|
-
t.indexOf(n) < 0 &&
|
|
4127
|
+
Fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4128
|
+
if (e != null && Pe)
|
|
4129
|
+
for (var n of Pe(e))
|
|
4130
|
+
t.indexOf(n) < 0 && Rr.call(e, n) && (r[n] = e[n]);
|
|
4153
4131
|
return r;
|
|
4154
4132
|
};
|
|
4155
4133
|
const ge = (e, t) => {
|
|
@@ -4157,21 +4135,21 @@ const ge = (e, t) => {
|
|
|
4157
4135
|
if (e in r && t in r[e])
|
|
4158
4136
|
return r[e][t];
|
|
4159
4137
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4160
|
-
},
|
|
4138
|
+
}, uo = Fe(
|
|
4161
4139
|
(e) => {
|
|
4162
4140
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4163
4141
|
if (r == null)
|
|
4164
4142
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4165
4143
|
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
4166
4144
|
}
|
|
4167
|
-
),
|
|
4145
|
+
), ho = Fe(
|
|
4168
4146
|
(e) => {
|
|
4169
4147
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4170
4148
|
if (r == null)
|
|
4171
4149
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4172
4150
|
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4173
4151
|
}
|
|
4174
|
-
),
|
|
4152
|
+
), co = Fe(
|
|
4175
4153
|
(e) => {
|
|
4176
4154
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4177
4155
|
if (r == null)
|
|
@@ -4180,33 +4158,33 @@ const ge = (e, t) => {
|
|
|
4180
4158
|
);
|
|
4181
4159
|
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4182
4160
|
}
|
|
4183
|
-
),
|
|
4161
|
+
), fo = (e = {}) => {
|
|
4184
4162
|
var t = e, {
|
|
4185
4163
|
locale: r = Z()
|
|
4186
4164
|
} = t, n = ue(t, [
|
|
4187
4165
|
"locale"
|
|
4188
4166
|
]);
|
|
4189
|
-
return
|
|
4190
|
-
},
|
|
4167
|
+
return uo(dt({ locale: r }, n));
|
|
4168
|
+
}, mo = (e = {}) => {
|
|
4191
4169
|
var t = e, {
|
|
4192
4170
|
locale: r = Z()
|
|
4193
4171
|
} = t, n = ue(t, [
|
|
4194
4172
|
"locale"
|
|
4195
4173
|
]);
|
|
4196
|
-
return
|
|
4197
|
-
},
|
|
4174
|
+
return ho(dt({ locale: r }, n));
|
|
4175
|
+
}, po = (e = {}) => {
|
|
4198
4176
|
var t = e, {
|
|
4199
4177
|
locale: r = Z()
|
|
4200
4178
|
} = t, n = ue(t, [
|
|
4201
4179
|
"locale"
|
|
4202
4180
|
]);
|
|
4203
|
-
return
|
|
4204
|
-
},
|
|
4181
|
+
return co(dt({ locale: r }, n));
|
|
4182
|
+
}, go = Fe(
|
|
4205
4183
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4206
|
-
(e, t = Z()) => new
|
|
4184
|
+
(e, t = Z()) => new ki(e, t, oe().formats, {
|
|
4207
4185
|
ignoreTag: oe().ignoreTag
|
|
4208
4186
|
})
|
|
4209
|
-
),
|
|
4187
|
+
), vo = (e, t = {}) => {
|
|
4210
4188
|
var r, n, i, o;
|
|
4211
4189
|
let a = t;
|
|
4212
4190
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4219,7 +4197,7 @@ const ge = (e, t) => {
|
|
|
4219
4197
|
throw new Error(
|
|
4220
4198
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4221
4199
|
);
|
|
4222
|
-
let h =
|
|
4200
|
+
let h = Hr(e, l);
|
|
4223
4201
|
if (!h)
|
|
4224
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;
|
|
4225
4203
|
else if (typeof h != "string")
|
|
@@ -4230,7 +4208,7 @@ const ge = (e, t) => {
|
|
|
4230
4208
|
return h;
|
|
4231
4209
|
let d = h;
|
|
4232
4210
|
try {
|
|
4233
|
-
d =
|
|
4211
|
+
d = go(h, l).format(s);
|
|
4234
4212
|
} catch (f) {
|
|
4235
4213
|
f instanceof Error && console.warn(
|
|
4236
4214
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4238,20 +4216,20 @@ const ge = (e, t) => {
|
|
|
4238
4216
|
);
|
|
4239
4217
|
}
|
|
4240
4218
|
return d;
|
|
4241
|
-
},
|
|
4242
|
-
se([le], () =>
|
|
4243
|
-
se([le], () =>
|
|
4244
|
-
se([le], () =>
|
|
4245
|
-
se([le, be], () =>
|
|
4246
|
-
window.emWidgets = { topic:
|
|
4247
|
-
const
|
|
4248
|
-
function
|
|
4249
|
-
|
|
4250
|
-
}
|
|
4251
|
-
function
|
|
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);
|
|
4221
|
+
se([le], () => yo);
|
|
4222
|
+
se([le], () => _o);
|
|
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) {
|
|
4252
4230
|
le.set(e);
|
|
4253
4231
|
}
|
|
4254
|
-
const
|
|
4232
|
+
const jt = {
|
|
4255
4233
|
en: {
|
|
4256
4234
|
secondaryMenuTitle: "Categories"
|
|
4257
4235
|
},
|
|
@@ -4286,34 +4264,57 @@ const Vt = {
|
|
|
4286
4264
|
secondaryMenuTitle: "Categories"
|
|
4287
4265
|
}
|
|
4288
4266
|
};
|
|
4267
|
+
function No(e, t) {
|
|
4268
|
+
if (e) {
|
|
4269
|
+
const r = document.createElement("style");
|
|
4270
|
+
r.innerHTML = t, e.appendChild(r);
|
|
4271
|
+
}
|
|
4272
|
+
}
|
|
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
|
+
}
|
|
4289
4290
|
function Bo(e) {
|
|
4290
|
-
|
|
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}');
|
|
4291
4292
|
}
|
|
4292
|
-
function
|
|
4293
|
+
function Wt(e, t, r) {
|
|
4293
4294
|
const n = e.slice();
|
|
4294
4295
|
return n[44] = t[r], n[46] = r, n;
|
|
4295
4296
|
}
|
|
4296
|
-
function
|
|
4297
|
+
function Vt(e, t, r) {
|
|
4297
4298
|
const n = e.slice();
|
|
4298
4299
|
return n[44] = t[r], n;
|
|
4299
4300
|
}
|
|
4300
|
-
const
|
|
4301
|
-
function
|
|
4301
|
+
const Ao = (e) => ({}), Xt = (e) => ({});
|
|
4302
|
+
function zt(e) {
|
|
4302
4303
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4303
|
-
e[6] &&
|
|
4304
|
+
e[6] && Zt(e), u = Ae(
|
|
4304
4305
|
/*primaryMenuSpliced*/
|
|
4305
4306
|
e[7]
|
|
4306
4307
|
), h = [];
|
|
4307
4308
|
for (let f = 0; f < u.length; f += 1)
|
|
4308
|
-
h[f] =
|
|
4309
|
+
h[f] = qt(Wt(e, u, f));
|
|
4309
4310
|
let d = !/*navigationBarSimple*/
|
|
4310
|
-
e[6] &&
|
|
4311
|
+
e[6] && Kt(e);
|
|
4311
4312
|
return {
|
|
4312
4313
|
c() {
|
|
4313
|
-
t =
|
|
4314
|
+
t = B("div"), l && l.c(), r = $(), n = B("div");
|
|
4314
4315
|
for (let f = 0; f < h.length; f += 1)
|
|
4315
4316
|
h[f].c();
|
|
4316
|
-
i =
|
|
4317
|
+
i = $(), d && d.c(), c(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4317
4318
|
(e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4318
4319
|
(e[6] ? "NavigationBarSimple" : "")), c(n, "part", a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4319
4320
|
(e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
@@ -4327,26 +4328,26 @@ function Qt(e) {
|
|
|
4327
4328
|
},
|
|
4328
4329
|
p(f, p) {
|
|
4329
4330
|
if (/*navigationBarSimple*/
|
|
4330
|
-
f[6] ? l && (
|
|
4331
|
+
f[6] ? l && (or(), me(l, 1, 1, () => {
|
|
4331
4332
|
l = null;
|
|
4332
|
-
}),
|
|
4333
|
-
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*/
|
|
4334
4335
|
32928) {
|
|
4335
|
-
u =
|
|
4336
|
+
u = Ae(
|
|
4336
4337
|
/*primaryMenuSpliced*/
|
|
4337
4338
|
f[7]
|
|
4338
4339
|
);
|
|
4339
4340
|
let g;
|
|
4340
4341
|
for (g = 0; g < u.length; g += 1) {
|
|
4341
|
-
const v =
|
|
4342
|
-
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));
|
|
4343
4344
|
}
|
|
4344
4345
|
for (; g < h.length; g += 1)
|
|
4345
4346
|
h[g].d(1);
|
|
4346
4347
|
h.length = u.length;
|
|
4347
4348
|
}
|
|
4348
4349
|
/*navigationBarSimple*/
|
|
4349
|
-
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*/
|
|
4350
4351
|
80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4351
4352
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4352
4353
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
@@ -4355,17 +4356,17 @@ function Qt(e) {
|
|
|
4355
4356
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "part", a);
|
|
4356
4357
|
},
|
|
4357
4358
|
i(f) {
|
|
4358
|
-
s || (
|
|
4359
|
+
s || (V(l), s = !0);
|
|
4359
4360
|
},
|
|
4360
4361
|
o(f) {
|
|
4361
4362
|
me(l), s = !1;
|
|
4362
4363
|
},
|
|
4363
4364
|
d(f) {
|
|
4364
|
-
f && O(t), l && l.d(),
|
|
4365
|
+
f && O(t), l && l.d(), ir(h, f), d && d.d();
|
|
4365
4366
|
}
|
|
4366
4367
|
};
|
|
4367
4368
|
}
|
|
4368
|
-
function
|
|
4369
|
+
function Zt(e) {
|
|
4369
4370
|
let t, r, n, i, o = (
|
|
4370
4371
|
/*secondarymenutitle*/
|
|
4371
4372
|
(e[0] || /*$_*/
|
|
@@ -4373,96 +4374,96 @@ function Yt(e) {
|
|
|
4373
4374
|
), a, s, l, u, h, d, f;
|
|
4374
4375
|
const p = (
|
|
4375
4376
|
/*#slots*/
|
|
4376
|
-
e[
|
|
4377
|
-
), g =
|
|
4377
|
+
e[27].close
|
|
4378
|
+
), g = Yr(
|
|
4378
4379
|
p,
|
|
4379
4380
|
e,
|
|
4380
4381
|
/*$$scope*/
|
|
4381
|
-
e[
|
|
4382
|
-
|
|
4383
|
-
), v = g ||
|
|
4384
|
-
let
|
|
4382
|
+
e[26],
|
|
4383
|
+
Xt
|
|
4384
|
+
), v = g || To();
|
|
4385
|
+
let A = Ae(
|
|
4385
4386
|
/*secondaryMenu*/
|
|
4386
4387
|
e[8]
|
|
4387
|
-
),
|
|
4388
|
-
for (let b = 0; b <
|
|
4389
|
-
|
|
4388
|
+
), S = [];
|
|
4389
|
+
for (let b = 0; b < A.length; b += 1)
|
|
4390
|
+
S[b] = Yt(Vt(e, A, b));
|
|
4390
4391
|
return {
|
|
4391
4392
|
c() {
|
|
4392
|
-
t =
|
|
4393
|
-
for (let b = 0; b <
|
|
4394
|
-
|
|
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();
|
|
4395
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*/
|
|
4396
4397
|
(e[4] ? "NavigationWindowOpened" : ""));
|
|
4397
4398
|
},
|
|
4398
|
-
m(b,
|
|
4399
|
-
L(b, t,
|
|
4400
|
-
for (let
|
|
4401
|
-
|
|
4402
|
-
h = !0, d || (f =
|
|
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);
|
|
4403
|
+
h = !0, d || (f = He(
|
|
4403
4404
|
r,
|
|
4404
4405
|
"click",
|
|
4405
4406
|
/*navigationWindowToggle*/
|
|
4406
4407
|
e[14]
|
|
4407
4408
|
), d = !0);
|
|
4408
4409
|
},
|
|
4409
|
-
p(b,
|
|
4410
|
-
if (g && g.p && (!h ||
|
|
4411
|
-
|
|
4410
|
+
p(b, N) {
|
|
4411
|
+
if (g && g.p && (!h || N[0] & /*$$scope*/
|
|
4412
|
+
67108864) && qr(
|
|
4412
4413
|
g,
|
|
4413
4414
|
p,
|
|
4414
4415
|
b,
|
|
4415
4416
|
/*$$scope*/
|
|
4416
|
-
b[
|
|
4417
|
-
h ?
|
|
4417
|
+
b[26],
|
|
4418
|
+
h ? Jr(
|
|
4418
4419
|
p,
|
|
4419
4420
|
/*$$scope*/
|
|
4420
|
-
b[
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
) :
|
|
4421
|
+
b[26],
|
|
4422
|
+
N,
|
|
4423
|
+
Ao
|
|
4424
|
+
) : Kr(
|
|
4424
4425
|
/*$$scope*/
|
|
4425
|
-
b[
|
|
4426
|
+
b[26]
|
|
4426
4427
|
),
|
|
4427
|
-
|
|
4428
|
-
), (!h ||
|
|
4428
|
+
Xt
|
|
4429
|
+
), (!h || N[0] & /*secondarymenutitle, $_*/
|
|
4429
4430
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4430
4431
|
(b[0] || /*$_*/
|
|
4431
|
-
b[12]("secondaryMenuTitle")) + "") && ct(a, o),
|
|
4432
|
+
b[12]("secondaryMenuTitle")) + "") && ct(a, o), N[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4432
4433
|
33056) {
|
|
4433
|
-
|
|
4434
|
+
A = Ae(
|
|
4434
4435
|
/*secondaryMenu*/
|
|
4435
4436
|
b[8]
|
|
4436
4437
|
);
|
|
4437
|
-
let
|
|
4438
|
-
for (
|
|
4439
|
-
const
|
|
4440
|
-
|
|
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));
|
|
4441
4442
|
}
|
|
4442
|
-
for (;
|
|
4443
|
-
|
|
4444
|
-
|
|
4443
|
+
for (; E < S.length; E += 1)
|
|
4444
|
+
S[E].d(1);
|
|
4445
|
+
S.length = A.length;
|
|
4445
4446
|
}
|
|
4446
|
-
(!h ||
|
|
4447
|
+
(!h || N[0] & /*navigationWindowOpened*/
|
|
4447
4448
|
16 && u !== (u = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4448
4449
|
(b[4] ? "NavigationWindowOpened" : ""))) && c(t, "class", u);
|
|
4449
4450
|
},
|
|
4450
4451
|
i(b) {
|
|
4451
|
-
h || (
|
|
4452
|
+
h || (V(v, b), h = !0);
|
|
4452
4453
|
},
|
|
4453
4454
|
o(b) {
|
|
4454
4455
|
me(v, b), h = !1;
|
|
4455
4456
|
},
|
|
4456
4457
|
d(b) {
|
|
4457
|
-
b && O(t), v && v.d(b),
|
|
4458
|
+
b && O(t), v && v.d(b), ir(S, b), d = !1, f();
|
|
4458
4459
|
}
|
|
4459
4460
|
};
|
|
4460
4461
|
}
|
|
4461
|
-
function
|
|
4462
|
+
function To(e) {
|
|
4462
4463
|
let t, r;
|
|
4463
4464
|
return {
|
|
4464
4465
|
c() {
|
|
4465
|
-
t =
|
|
4466
|
+
t = H("svg"), r = H("path"), c(r, "part", "ModalCloseBtnPath"), c(r, "stroke-linecap", "round"), c(r, "stroke-linejoin", "round"), c(r, "stroke-width", "2"), c(r, "d", "M6 18L18 6M6 6l12 12"), c(t, "class", "w-6 h-6"), c(t, "part", "w-6 h-6"), c(t, "fill", "none"), c(t, "stroke", "currentColor"), c(t, "viewBox", "0 0 24 24"), c(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4466
4467
|
},
|
|
4467
4468
|
m(n, i) {
|
|
4468
4469
|
L(n, t, i), y(t, r);
|
|
@@ -4473,11 +4474,11 @@ function Ho(e) {
|
|
|
4473
4474
|
}
|
|
4474
4475
|
};
|
|
4475
4476
|
}
|
|
4476
|
-
function
|
|
4477
|
+
function Qt(e) {
|
|
4477
4478
|
let t, r, n, i;
|
|
4478
4479
|
return {
|
|
4479
4480
|
c() {
|
|
4480
|
-
t =
|
|
4481
|
+
t = B("div"), r = B("img"), c(r, "class", "NavigationSecondaryItemImg"), c(r, "part", "NavigationSecondaryItemImg"), te(r.src, n = /*item*/
|
|
4481
4482
|
e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
|
|
4482
4483
|
e[44].label), c(t, "class", "NavigationSecondaryItemImgWrapper"), c(t, "part", "NavigationSecondaryItemImgWrapper");
|
|
4483
4484
|
},
|
|
@@ -4496,18 +4497,18 @@ function Jt(e) {
|
|
|
4496
4497
|
}
|
|
4497
4498
|
};
|
|
4498
4499
|
}
|
|
4499
|
-
function
|
|
4500
|
+
function Yt(e) {
|
|
4500
4501
|
let t, r, n, i = (
|
|
4501
4502
|
/*item*/
|
|
4502
4503
|
e[44].label + ""
|
|
4503
4504
|
), o, a, s, l, u, h = (
|
|
4504
4505
|
/*item*/
|
|
4505
|
-
e[44].img &&
|
|
4506
|
+
e[44].img && Qt(e)
|
|
4506
4507
|
);
|
|
4507
4508
|
function d() {
|
|
4508
4509
|
return (
|
|
4509
4510
|
/*click_handler*/
|
|
4510
|
-
e[
|
|
4511
|
+
e[28](
|
|
4511
4512
|
/*item*/
|
|
4512
4513
|
e[44]
|
|
4513
4514
|
)
|
|
@@ -4515,16 +4516,16 @@ function qt(e) {
|
|
|
4515
4516
|
}
|
|
4516
4517
|
return {
|
|
4517
4518
|
c() {
|
|
4518
|
-
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*/
|
|
4519
4520
|
(e[5] === /*item*/
|
|
4520
4521
|
e[44].id ? "ActiveItem" : ""));
|
|
4521
4522
|
},
|
|
4522
4523
|
m(f, p) {
|
|
4523
|
-
L(f, t, p), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u =
|
|
4524
|
+
L(f, t, p), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u = He(t, "click", d), l = !0);
|
|
4524
4525
|
},
|
|
4525
4526
|
p(f, p) {
|
|
4526
4527
|
e = f, /*item*/
|
|
4527
|
-
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*/
|
|
4528
4529
|
256 && i !== (i = /*item*/
|
|
4529
4530
|
e[44].label + "") && ct(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4530
4531
|
288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
@@ -4536,11 +4537,11 @@ function qt(e) {
|
|
|
4536
4537
|
}
|
|
4537
4538
|
};
|
|
4538
4539
|
}
|
|
4539
|
-
function
|
|
4540
|
+
function Jt(e) {
|
|
4540
4541
|
let t, r, n, i;
|
|
4541
4542
|
return {
|
|
4542
4543
|
c() {
|
|
4543
|
-
t =
|
|
4544
|
+
t = B("div"), r = B("img"), c(r, "class", "NavigationPrimaryItemImg"), te(r.src, n = /*item*/
|
|
4544
4545
|
e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
|
|
4545
4546
|
e[44].label), c(t, "class", "NavigationPrimaryItemImgWrapper");
|
|
4546
4547
|
},
|
|
@@ -4559,18 +4560,18 @@ function Kt(e) {
|
|
|
4559
4560
|
}
|
|
4560
4561
|
};
|
|
4561
4562
|
}
|
|
4562
|
-
function
|
|
4563
|
+
function qt(e) {
|
|
4563
4564
|
let t, r, n, i = (
|
|
4564
4565
|
/*item*/
|
|
4565
4566
|
e[44].label + ""
|
|
4566
4567
|
), o, a, s, l, u = (
|
|
4567
4568
|
/*item*/
|
|
4568
|
-
e[44].img &&
|
|
4569
|
+
e[44].img && Jt(e)
|
|
4569
4570
|
);
|
|
4570
4571
|
function h() {
|
|
4571
4572
|
return (
|
|
4572
4573
|
/*click_handler_1*/
|
|
4573
|
-
e[
|
|
4574
|
+
e[29](
|
|
4574
4575
|
/*item*/
|
|
4575
4576
|
e[44]
|
|
4576
4577
|
)
|
|
@@ -4578,17 +4579,17 @@ function er(e) {
|
|
|
4578
4579
|
}
|
|
4579
4580
|
return {
|
|
4580
4581
|
c() {
|
|
4581
|
-
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*/
|
|
4582
4583
|
e[46] + " " + /*activeMenuItemId*/
|
|
4583
4584
|
(e[5] === /*item*/
|
|
4584
4585
|
e[44].id ? "ActiveItem" : ""));
|
|
4585
4586
|
},
|
|
4586
4587
|
m(d, f) {
|
|
4587
|
-
L(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l =
|
|
4588
|
+
L(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l = He(t, "click", h), s = !0);
|
|
4588
4589
|
},
|
|
4589
4590
|
p(d, f) {
|
|
4590
4591
|
e = d, /*item*/
|
|
4591
|
-
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*/
|
|
4592
4593
|
128 && i !== (i = /*item*/
|
|
4593
4594
|
e[44].label + "") && ct(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
|
|
4594
4595
|
160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
@@ -4601,22 +4602,22 @@ function er(e) {
|
|
|
4601
4602
|
}
|
|
4602
4603
|
};
|
|
4603
4604
|
}
|
|
4604
|
-
function
|
|
4605
|
+
function Kt(e) {
|
|
4605
4606
|
let t, r, n, i, o;
|
|
4606
4607
|
function a(u, h) {
|
|
4607
4608
|
return (
|
|
4608
4609
|
/*isFlowerMenu*/
|
|
4609
|
-
u[11] ? Po :
|
|
4610
|
+
u[11] ? Po : Ho
|
|
4610
4611
|
);
|
|
4611
4612
|
}
|
|
4612
4613
|
let s = a(e), l = s(e);
|
|
4613
4614
|
return {
|
|
4614
4615
|
c() {
|
|
4615
|
-
t =
|
|
4616
|
+
t = B("button"), r = B("span"), l.c(), c(r, "class", "NavigationButtonSpan"), c(r, "part", "NavigationButtonSpan"), c(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
|
|
4616
4617
|
(e[4] ? "NavigationButtonActive" : ""));
|
|
4617
4618
|
},
|
|
4618
4619
|
m(u, h) {
|
|
4619
|
-
L(u, t, h), y(t, r), l.m(r, null), i || (o =
|
|
4620
|
+
L(u, t, h), y(t, r), l.m(r, null), i || (o = He(
|
|
4620
4621
|
t,
|
|
4621
4622
|
"click",
|
|
4622
4623
|
/*navigationWindowToggle*/
|
|
@@ -4637,7 +4638,7 @@ function Po(e) {
|
|
|
4637
4638
|
let t, r, n, i, o, a, s;
|
|
4638
4639
|
return {
|
|
4639
4640
|
c() {
|
|
4640
|
-
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*/
|
|
4641
4642
|
(e[4] ? "labelMiddleIconActive" : ""));
|
|
4642
4643
|
},
|
|
4643
4644
|
m(l, u) {
|
|
@@ -4653,18 +4654,18 @@ function Po(e) {
|
|
|
4653
4654
|
}
|
|
4654
4655
|
};
|
|
4655
4656
|
}
|
|
4656
|
-
function
|
|
4657
|
+
function Ho(e) {
|
|
4657
4658
|
let t;
|
|
4658
4659
|
function r(o, a) {
|
|
4659
4660
|
return (
|
|
4660
4661
|
/*imageIconUrl*/
|
|
4661
|
-
o[9] ?
|
|
4662
|
+
o[9] ? Oo : Mo
|
|
4662
4663
|
);
|
|
4663
4664
|
}
|
|
4664
4665
|
let n = r(e), i = n(e);
|
|
4665
4666
|
return {
|
|
4666
4667
|
c() {
|
|
4667
|
-
i.c(), t =
|
|
4668
|
+
i.c(), t = nn();
|
|
4668
4669
|
},
|
|
4669
4670
|
m(o, a) {
|
|
4670
4671
|
i.m(o, a), L(o, t, a);
|
|
@@ -4677,14 +4678,14 @@ function Mo(e) {
|
|
|
4677
4678
|
}
|
|
4678
4679
|
};
|
|
4679
4680
|
}
|
|
4680
|
-
function
|
|
4681
|
+
function Mo(e) {
|
|
4681
4682
|
let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
|
|
4682
4683
|
return {
|
|
4683
4684
|
c() {
|
|
4684
|
-
t =
|
|
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");
|
|
4685
4686
|
},
|
|
4686
|
-
m(v,
|
|
4687
|
-
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);
|
|
4688
4689
|
},
|
|
4689
4690
|
p: R,
|
|
4690
4691
|
d(v) {
|
|
@@ -4692,11 +4693,11 @@ function Oo(e) {
|
|
|
4692
4693
|
}
|
|
4693
4694
|
};
|
|
4694
4695
|
}
|
|
4695
|
-
function
|
|
4696
|
+
function Oo(e) {
|
|
4696
4697
|
let t, r;
|
|
4697
4698
|
return {
|
|
4698
4699
|
c() {
|
|
4699
|
-
t =
|
|
4700
|
+
t = B("img"), te(t.src, r = /*imageIconUrl*/
|
|
4700
4701
|
e[9]) || c(t, "src", r), c(t, "class", "middleIcon"), c(
|
|
4701
4702
|
t,
|
|
4702
4703
|
"alt",
|
|
@@ -4723,176 +4724,164 @@ function Lo(e) {
|
|
|
4723
4724
|
}
|
|
4724
4725
|
};
|
|
4725
4726
|
}
|
|
4726
|
-
function
|
|
4727
|
+
function Lo(e) {
|
|
4727
4728
|
let t, r, n, i = !/*isLoading*/
|
|
4728
4729
|
e[1] && /*isMobile*/
|
|
4729
4730
|
e[13] && /*showNavigation*/
|
|
4730
|
-
e[3] &&
|
|
4731
|
+
e[3] && zt(e);
|
|
4731
4732
|
return {
|
|
4732
4733
|
c() {
|
|
4733
|
-
t =
|
|
4734
|
+
t = B("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
4734
4735
|
(e[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4735
4736
|
(e[10] ? "NavigationWrapperLandScape" : ""));
|
|
4736
4737
|
},
|
|
4737
4738
|
m(o, a) {
|
|
4738
|
-
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;
|
|
4739
4740
|
},
|
|
4740
4741
|
p(o, a) {
|
|
4741
4742
|
!/*isLoading*/
|
|
4742
4743
|
o[1] && /*isMobile*/
|
|
4743
4744
|
o[13] && /*showNavigation*/
|
|
4744
4745
|
o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4745
|
-
10 &&
|
|
4746
|
+
10 && V(i, 1)) : (i = zt(o), i.c(), V(i, 1), i.m(t, null)) : i && (or(), me(i, 1, 1, () => {
|
|
4746
4747
|
i = null;
|
|
4747
|
-
}),
|
|
4748
|
+
}), ar()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4748
4749
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4749
4750
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4750
4751
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
4751
4752
|
},
|
|
4752
4753
|
i(o) {
|
|
4753
|
-
n || (
|
|
4754
|
+
n || (V(i), n = !0);
|
|
4754
4755
|
},
|
|
4755
4756
|
o(o) {
|
|
4756
4757
|
me(i), n = !1;
|
|
4757
4758
|
},
|
|
4758
4759
|
d(o) {
|
|
4759
|
-
o && O(t), i && i.d(), e[
|
|
4760
|
+
o && O(t), i && i.d(), e[30](null);
|
|
4760
4761
|
}
|
|
4761
4762
|
};
|
|
4762
4763
|
}
|
|
4763
|
-
function
|
|
4764
|
+
function Co(e, t, r) {
|
|
4764
4765
|
let n;
|
|
4765
|
-
|
|
4766
|
-
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, {
|
|
4767
|
-
const
|
|
4768
|
-
fetch(
|
|
4769
|
-
Object.keys(
|
|
4770
|
-
|
|
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]);
|
|
4771
4772
|
});
|
|
4772
|
-
}).catch((
|
|
4773
|
-
console.log(
|
|
4773
|
+
}).catch((P) => {
|
|
4774
|
+
console.log(P);
|
|
4774
4775
|
});
|
|
4775
4776
|
};
|
|
4776
|
-
Object.keys(
|
|
4777
|
-
|
|
4777
|
+
Object.keys(jt).forEach((m) => {
|
|
4778
|
+
kt(m, jt[m]);
|
|
4778
4779
|
});
|
|
4779
|
-
const
|
|
4780
|
+
const gt = (m) => {
|
|
4780
4781
|
if (m.data)
|
|
4781
4782
|
switch (m.data.type) {
|
|
4782
4783
|
case "PlayerAccountMenuActive":
|
|
4783
|
-
r(4,
|
|
4784
|
+
r(4, T = !1);
|
|
4784
4785
|
break;
|
|
4785
4786
|
case "OpenLoginRegisterModal":
|
|
4786
|
-
r(4,
|
|
4787
|
+
r(4, T = !1);
|
|
4787
4788
|
break;
|
|
4788
4789
|
case "GoToHomepage":
|
|
4789
|
-
r(4,
|
|
4790
|
+
r(4, T = !1);
|
|
4790
4791
|
break;
|
|
4791
4792
|
}
|
|
4792
|
-
},
|
|
4793
|
-
r(11,
|
|
4794
|
-
},
|
|
4795
|
-
r(4,
|
|
4793
|
+
}, Dr = () => {
|
|
4794
|
+
r(11, De = A.toLowerCase() === "true");
|
|
4795
|
+
}, Gr = () => {
|
|
4796
|
+
r(4, T = !T), window.postMessage(
|
|
4796
4797
|
{
|
|
4797
4798
|
type: "MobileBottomNav",
|
|
4798
|
-
navigationWindowOpened:
|
|
4799
|
+
navigationWindowOpened: T
|
|
4799
4800
|
},
|
|
4800
4801
|
window.location.href
|
|
4801
4802
|
);
|
|
4802
|
-
},
|
|
4803
|
-
r(7, ye = []), r(7, ye =
|
|
4804
|
-
},
|
|
4805
|
-
|
|
4806
|
-
let m =
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
}), r(6,
|
|
4811
|
-
}).catch((
|
|
4812
|
-
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);
|
|
4813
4814
|
});
|
|
4814
|
-
},
|
|
4815
|
-
const
|
|
4816
|
-
|
|
4817
|
-
}, he = (m,
|
|
4818
|
-
|
|
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(
|
|
4819
4820
|
{
|
|
4820
4821
|
type: "MobileBottomNavigationEvent",
|
|
4821
|
-
event:
|
|
4822
|
+
event: Ue[U]
|
|
4822
4823
|
},
|
|
4823
4824
|
window.location.href
|
|
4824
4825
|
) : window.postMessage(
|
|
4825
4826
|
{
|
|
4826
4827
|
type: "NavigateTo",
|
|
4827
4828
|
path: m,
|
|
4828
|
-
target:
|
|
4829
|
-
externalLink:
|
|
4829
|
+
target: P || null,
|
|
4830
|
+
externalLink: C || !1
|
|
4830
4831
|
},
|
|
4831
4832
|
window.location.href
|
|
4832
|
-
), r(4,
|
|
4833
|
+
), r(4, T = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4833
4834
|
context: "MobileBottomNavigation",
|
|
4834
4835
|
menuItem: `${m}`
|
|
4835
4836
|
});
|
|
4836
|
-
},
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
T.innerHTML = H, setTimeout(
|
|
4843
|
-
() => {
|
|
4844
|
-
W.appendChild(T);
|
|
4845
|
-
},
|
|
4846
|
-
1
|
|
4847
|
-
);
|
|
4848
|
-
});
|
|
4849
|
-
}, Zr = () => {
|
|
4850
|
-
Ao(s);
|
|
4851
|
-
}, De = () => {
|
|
4852
|
-
r(10, vt = N && window.innerHeight / window.innerWidth < 1);
|
|
4853
|
-
}, _t = () => {
|
|
4854
|
-
x && r(4, x = !1);
|
|
4837
|
+
}, jr = () => {
|
|
4838
|
+
Eo(s);
|
|
4839
|
+
}, Ge = () => {
|
|
4840
|
+
r(10, pt = b && window.innerHeight / window.innerWidth < 1);
|
|
4841
|
+
}, bt = () => {
|
|
4842
|
+
T && r(4, T = !1);
|
|
4855
4843
|
};
|
|
4856
|
-
|
|
4857
|
-
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);
|
|
4858
4846
|
}));
|
|
4859
|
-
const
|
|
4847
|
+
const Wr = (m) => {
|
|
4860
4848
|
m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
|
|
4861
|
-
},
|
|
4849
|
+
}, Vr = (m) => {
|
|
4862
4850
|
m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
|
|
4863
4851
|
};
|
|
4864
|
-
function
|
|
4852
|
+
function Xr(m) {
|
|
4865
4853
|
Ze[m ? "unshift" : "push"](() => {
|
|
4866
|
-
|
|
4854
|
+
D = m, r(2, D);
|
|
4867
4855
|
});
|
|
4868
4856
|
}
|
|
4869
4857
|
return e.$$set = (m) => {
|
|
4870
|
-
"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);
|
|
4871
4859
|
}, e.$$.update = () => {
|
|
4872
4860
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
131072 && s &&
|
|
4876
|
-
983040 && a && s && l && h &&
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
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();
|
|
4880
4869
|
}, [
|
|
4881
4870
|
u,
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4871
|
+
N,
|
|
4872
|
+
D,
|
|
4873
|
+
E,
|
|
4874
|
+
T,
|
|
4875
|
+
X,
|
|
4876
|
+
Q,
|
|
4888
4877
|
ye,
|
|
4889
4878
|
j,
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4879
|
+
mt,
|
|
4880
|
+
pt,
|
|
4881
|
+
De,
|
|
4893
4882
|
n,
|
|
4894
|
-
|
|
4895
|
-
|
|
4883
|
+
b,
|
|
4884
|
+
Gr,
|
|
4896
4885
|
he,
|
|
4897
4886
|
a,
|
|
4898
4887
|
s,
|
|
@@ -4903,32 +4892,34 @@ function Fo(e, t, r) {
|
|
|
4903
4892
|
p,
|
|
4904
4893
|
g,
|
|
4905
4894
|
v,
|
|
4895
|
+
A,
|
|
4906
4896
|
o,
|
|
4907
4897
|
i,
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4898
|
+
Wr,
|
|
4899
|
+
Vr,
|
|
4900
|
+
Xr
|
|
4911
4901
|
];
|
|
4912
4902
|
}
|
|
4913
|
-
class
|
|
4903
|
+
class Fo extends bn {
|
|
4914
4904
|
constructor(t) {
|
|
4915
|
-
super(),
|
|
4905
|
+
super(), gn(
|
|
4916
4906
|
this,
|
|
4917
4907
|
t,
|
|
4918
|
-
Fo,
|
|
4919
4908
|
Co,
|
|
4920
|
-
|
|
4909
|
+
Lo,
|
|
4910
|
+
tr,
|
|
4921
4911
|
{
|
|
4922
4912
|
cmsendpoint: 16,
|
|
4923
4913
|
lang: 17,
|
|
4924
4914
|
env: 18,
|
|
4925
4915
|
secondarymenutitle: 0,
|
|
4926
4916
|
userroles: 19,
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4917
|
+
mbsource: 20,
|
|
4918
|
+
clientstyling: 21,
|
|
4919
|
+
clientstylingurl: 22,
|
|
4920
|
+
translationurl: 23,
|
|
4921
|
+
activecategory: 24,
|
|
4922
|
+
flowermenustyle: 25
|
|
4932
4923
|
},
|
|
4933
4924
|
Bo,
|
|
4934
4925
|
[-1, -1]
|
|
@@ -4964,38 +4955,44 @@ class Ro extends En {
|
|
|
4964
4955
|
set userroles(t) {
|
|
4965
4956
|
this.$$set({ userroles: t }), F();
|
|
4966
4957
|
}
|
|
4967
|
-
get
|
|
4958
|
+
get mbsource() {
|
|
4968
4959
|
return this.$$.ctx[20];
|
|
4969
4960
|
}
|
|
4961
|
+
set mbsource(t) {
|
|
4962
|
+
this.$$set({ mbsource: t }), F();
|
|
4963
|
+
}
|
|
4964
|
+
get clientstyling() {
|
|
4965
|
+
return this.$$.ctx[21];
|
|
4966
|
+
}
|
|
4970
4967
|
set clientstyling(t) {
|
|
4971
4968
|
this.$$set({ clientstyling: t }), F();
|
|
4972
4969
|
}
|
|
4973
4970
|
get clientstylingurl() {
|
|
4974
|
-
return this.$$.ctx[
|
|
4971
|
+
return this.$$.ctx[22];
|
|
4975
4972
|
}
|
|
4976
4973
|
set clientstylingurl(t) {
|
|
4977
4974
|
this.$$set({ clientstylingurl: t }), F();
|
|
4978
4975
|
}
|
|
4979
4976
|
get translationurl() {
|
|
4980
|
-
return this.$$.ctx[
|
|
4977
|
+
return this.$$.ctx[23];
|
|
4981
4978
|
}
|
|
4982
4979
|
set translationurl(t) {
|
|
4983
4980
|
this.$$set({ translationurl: t }), F();
|
|
4984
4981
|
}
|
|
4985
4982
|
get activecategory() {
|
|
4986
|
-
return this.$$.ctx[
|
|
4983
|
+
return this.$$.ctx[24];
|
|
4987
4984
|
}
|
|
4988
4985
|
set activecategory(t) {
|
|
4989
4986
|
this.$$set({ activecategory: t }), F();
|
|
4990
4987
|
}
|
|
4991
4988
|
get flowermenustyle() {
|
|
4992
|
-
return this.$$.ctx[
|
|
4989
|
+
return this.$$.ctx[25];
|
|
4993
4990
|
}
|
|
4994
4991
|
set flowermenustyle(t) {
|
|
4995
4992
|
this.$$set({ flowermenustyle: t }), F();
|
|
4996
4993
|
}
|
|
4997
4994
|
}
|
|
4998
|
-
|
|
4995
|
+
vn(Fo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
4999
4996
|
export {
|
|
5000
|
-
|
|
4997
|
+
Fo as G
|
|
5001
4998
|
};
|