@everymatrix/casino-hamburger-menu-nd 1.76.3 → 1.76.5
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/{CasinoHamburgerMenuNd-Dx5ne9Tu.js → CasinoHamburgerMenuNd-BOLmp713.js} +945 -910
- package/components/CasinoHamburgerMenuNd-CVclT4vf.cjs +18 -0
- package/components/{CasinoHamburgerMenuNd-CZKU1een.js → CasinoHamburgerMenuNd-DkK6CHR3.js} +1007 -972
- package/es2015/casino-hamburger-menu-nd.cjs +1 -1
- package/es2015/casino-hamburger-menu-nd.js +1 -1
- package/esnext/casino-hamburger-menu-nd.js +1 -1
- package/package.json +1 -1
- package/components/CasinoHamburgerMenuNd-DEeyYzC7.cjs +0 -18
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function $() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function pr(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Ot() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function fe(e) {
|
|
10
|
+
e.forEach(pr);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function bt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function dr(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let Oe;
|
|
19
19
|
function K(e, t) {
|
|
20
20
|
return e === t ? !0 : (Oe || (Oe = document.createElement("a")), Oe.href = t, e === Oe.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function sn(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function mr(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,20 +31,20 @@ function cr(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function un(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(mr(t, r));
|
|
36
36
|
}
|
|
37
37
|
function b(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function ln(e, t, r) {
|
|
41
|
+
const n = hn(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
43
|
+
const i = y("style");
|
|
44
|
+
i.id = t, i.textContent = r, cn(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function hn(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,7 +54,7 @@ function an(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function cn(e, t) {
|
|
58
58
|
return b(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
@@ -67,14 +67,14 @@ function F(e, t, r) {
|
|
|
67
67
|
function I(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Ee(e, t) {
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function y(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function At(e) {
|
|
78
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
79
|
}
|
|
80
80
|
function ee(e) {
|
|
@@ -83,26 +83,26 @@ function ee(e) {
|
|
|
83
83
|
function U() {
|
|
84
84
|
return ee(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function gr() {
|
|
87
87
|
return ee("");
|
|
88
88
|
}
|
|
89
89
|
function te(e, t, r, n) {
|
|
90
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function m(e, t, r) {
|
|
93
93
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function fn(e) {
|
|
96
96
|
return Array.from(e.childNodes);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function pe(e, t) {
|
|
99
99
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
100
100
|
t);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Mt(e, t) {
|
|
103
103
|
e.value = t ?? "";
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function Pt(e, t, r) {
|
|
106
106
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
107
107
|
const i = e.options[n];
|
|
108
108
|
if (i.__value === t) {
|
|
@@ -112,11 +112,11 @@ function Tt(e, t, r) {
|
|
|
112
112
|
}
|
|
113
113
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function pn(e) {
|
|
116
116
|
const t = e.querySelector(":checked");
|
|
117
117
|
return t && t.__value;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function dn(e) {
|
|
120
120
|
const t = {};
|
|
121
121
|
return e.childNodes.forEach(
|
|
122
122
|
/** @param {Element} node */
|
|
@@ -125,90 +125,90 @@ function hn(e) {
|
|
|
125
125
|
}
|
|
126
126
|
), t;
|
|
127
127
|
}
|
|
128
|
-
let
|
|
129
|
-
function
|
|
130
|
-
|
|
128
|
+
let ye;
|
|
129
|
+
function ve(e) {
|
|
130
|
+
ye = e;
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
if (!
|
|
132
|
+
function mn() {
|
|
133
|
+
if (!ye)
|
|
134
134
|
throw new Error("Function called outside component initialization");
|
|
135
|
-
return
|
|
135
|
+
return ye;
|
|
136
136
|
}
|
|
137
|
-
function
|
|
138
|
-
|
|
137
|
+
function gn(e) {
|
|
138
|
+
mn().$$.on_mount.push(e);
|
|
139
139
|
}
|
|
140
140
|
const ae = [], Ce = [];
|
|
141
141
|
let se = [];
|
|
142
|
-
const
|
|
143
|
-
let
|
|
144
|
-
function
|
|
145
|
-
|
|
142
|
+
const Bt = [], bn = /* @__PURE__ */ Promise.resolve();
|
|
143
|
+
let tt = !1;
|
|
144
|
+
function vn() {
|
|
145
|
+
tt || (tt = !0, bn.then(k));
|
|
146
146
|
}
|
|
147
147
|
function Ne(e) {
|
|
148
148
|
se.push(e);
|
|
149
149
|
}
|
|
150
|
-
const
|
|
150
|
+
const ze = /* @__PURE__ */ new Set();
|
|
151
151
|
let ie = 0;
|
|
152
|
-
function
|
|
152
|
+
function k() {
|
|
153
153
|
if (ie !== 0)
|
|
154
154
|
return;
|
|
155
|
-
const e =
|
|
155
|
+
const e = ye;
|
|
156
156
|
do {
|
|
157
157
|
try {
|
|
158
158
|
for (; ie < ae.length; ) {
|
|
159
159
|
const t = ae[ie];
|
|
160
|
-
ie++,
|
|
160
|
+
ie++, ve(t), yn(t.$$);
|
|
161
161
|
}
|
|
162
162
|
} catch (t) {
|
|
163
163
|
throw ae.length = 0, ie = 0, t;
|
|
164
164
|
}
|
|
165
|
-
for (
|
|
165
|
+
for (ve(null), ae.length = 0, ie = 0; Ce.length; )
|
|
166
166
|
Ce.pop()();
|
|
167
167
|
for (let t = 0; t < se.length; t += 1) {
|
|
168
168
|
const r = se[t];
|
|
169
|
-
|
|
169
|
+
ze.has(r) || (ze.add(r), r());
|
|
170
170
|
}
|
|
171
171
|
se.length = 0;
|
|
172
172
|
} while (ae.length);
|
|
173
|
-
for (;
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
for (; Bt.length; )
|
|
174
|
+
Bt.pop()();
|
|
175
|
+
tt = !1, ze.clear(), ve(e);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function yn(e) {
|
|
178
178
|
if (e.fragment !== null) {
|
|
179
|
-
e.update(),
|
|
179
|
+
e.update(), fe(e.before_update);
|
|
180
180
|
const t = e.dirty;
|
|
181
181
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function _n(e) {
|
|
185
185
|
const t = [], r = [];
|
|
186
186
|
se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
|
|
187
187
|
}
|
|
188
|
-
const
|
|
189
|
-
function
|
|
190
|
-
e && e.i && (
|
|
188
|
+
const xn = /* @__PURE__ */ new Set();
|
|
189
|
+
function En(e, t) {
|
|
190
|
+
e && e.i && (xn.delete(e), e.i(t));
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function Y(e) {
|
|
193
193
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function wn(e, t, r) {
|
|
196
196
|
const { fragment: n, after_update: i } = e.$$;
|
|
197
197
|
n && n.m(t, r), Ne(() => {
|
|
198
|
-
const o = e.$$.on_mount.map(
|
|
199
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
198
|
+
const o = e.$$.on_mount.map(pr).filter(bt);
|
|
199
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
|
|
200
200
|
}), i.forEach(Ne);
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function Sn(e, t) {
|
|
203
203
|
const r = e.$$;
|
|
204
|
-
r.fragment !== null && (
|
|
204
|
+
r.fragment !== null && (_n(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
207
|
-
e.$$.dirty[0] === -1 && (ae.push(e),
|
|
206
|
+
function Hn(e, t) {
|
|
207
|
+
e.$$.dirty[0] === -1 && (ae.push(e), vn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
208
208
|
}
|
|
209
|
-
function
|
|
210
|
-
const u =
|
|
211
|
-
|
|
209
|
+
function Tn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
210
|
+
const u = ye;
|
|
211
|
+
ve(e);
|
|
212
212
|
const l = e.$$ = {
|
|
213
213
|
fragment: null,
|
|
214
214
|
ctx: [],
|
|
@@ -216,7 +216,7 @@ function En(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
216
216
|
props: o,
|
|
217
217
|
update: $,
|
|
218
218
|
not_equal: i,
|
|
219
|
-
bound:
|
|
219
|
+
bound: Ot(),
|
|
220
220
|
// lifecycle
|
|
221
221
|
on_mount: [],
|
|
222
222
|
on_destroy: [],
|
|
@@ -225,28 +225,28 @@ function En(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
225
225
|
after_update: [],
|
|
226
226
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
227
227
|
// everything else
|
|
228
|
-
callbacks:
|
|
228
|
+
callbacks: Ot(),
|
|
229
229
|
dirty: s,
|
|
230
230
|
skip_bound: !1,
|
|
231
231
|
root: t.target || u.$$.root
|
|
232
232
|
};
|
|
233
233
|
a && a(l.root);
|
|
234
234
|
let h = !1;
|
|
235
|
-
if (l.ctx = r(e, t.props || {}, (c, f, ...
|
|
236
|
-
const g =
|
|
237
|
-
return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), h &&
|
|
238
|
-
}), l.update(), h = !0,
|
|
235
|
+
if (l.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
236
|
+
const g = d.length ? d[0] : f;
|
|
237
|
+
return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), h && Hn(e, c)), f;
|
|
238
|
+
}) : [], l.update(), h = !0, fe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
239
239
|
if (t.hydrate) {
|
|
240
|
-
const c =
|
|
240
|
+
const c = fn(t.target);
|
|
241
241
|
l.fragment && l.fragment.l(c), c.forEach(I);
|
|
242
242
|
} else
|
|
243
243
|
l.fragment && l.fragment.c();
|
|
244
|
-
t.intro &&
|
|
244
|
+
t.intro && En(e.$$.fragment), wn(e, t.target, t.anchor), k();
|
|
245
245
|
}
|
|
246
|
-
|
|
246
|
+
ve(u);
|
|
247
247
|
}
|
|
248
|
-
let
|
|
249
|
-
typeof HTMLElement == "function" && (
|
|
248
|
+
let br;
|
|
249
|
+
typeof HTMLElement == "function" && (br = class extends HTMLElement {
|
|
250
250
|
/** The Svelte component constructor */
|
|
251
251
|
$$ctor;
|
|
252
252
|
/** Slots */
|
|
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
|
288
288
|
let o;
|
|
289
289
|
return {
|
|
290
290
|
c: function() {
|
|
291
|
-
o =
|
|
291
|
+
o = y("slot"), i !== "default" && m(o, "name", i);
|
|
292
292
|
},
|
|
293
293
|
/**
|
|
294
294
|
* @param {HTMLElement} target
|
|
@@ -305,12 +305,12 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
|
305
305
|
};
|
|
306
306
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
307
307
|
return;
|
|
308
|
-
const t = {}, r =
|
|
308
|
+
const t = {}, r = dn(this);
|
|
309
309
|
for (const i of this.$$s)
|
|
310
310
|
i in r && (t[i] = [e(i)]);
|
|
311
311
|
for (const i of this.attributes) {
|
|
312
312
|
const o = this.$$g_p(i.name);
|
|
313
|
-
o in this.$$d || (this.$$d[o] =
|
|
313
|
+
o in this.$$d || (this.$$d[o] = Pe(o, i.value, this.$$p_d, "toProp"));
|
|
314
314
|
}
|
|
315
315
|
for (const i in this.$$p_d)
|
|
316
316
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -328,7 +328,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
|
328
328
|
this.$$r = !0;
|
|
329
329
|
for (const i in this.$$p_d)
|
|
330
330
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
331
|
-
const o =
|
|
331
|
+
const o = Pe(
|
|
332
332
|
i,
|
|
333
333
|
this.$$d[i],
|
|
334
334
|
this.$$p_d,
|
|
@@ -350,7 +350,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
|
350
350
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
351
351
|
// and setting attributes through setAttribute etc, this is helpful
|
|
352
352
|
attributeChangedCallback(e, t, r) {
|
|
353
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
353
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Pe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
354
354
|
}
|
|
355
355
|
disconnectedCallback() {
|
|
356
356
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -363,7 +363,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
|
363
363
|
) || e;
|
|
364
364
|
}
|
|
365
365
|
});
|
|
366
|
-
function
|
|
366
|
+
function Pe(e, t, r, n) {
|
|
367
367
|
const i = r[e]?.type;
|
|
368
368
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
369
369
|
return t;
|
|
@@ -392,8 +392,8 @@ function Be(e, t, r, n) {
|
|
|
392
392
|
return t;
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
let a = class extends
|
|
395
|
+
function On(e, t, r, n, i, o) {
|
|
396
|
+
let a = class extends br {
|
|
397
397
|
constructor() {
|
|
398
398
|
super(e, r, i), this.$$p_d = t;
|
|
399
399
|
}
|
|
@@ -409,7 +409,7 @@ function wn(e, t, r, n, i, o) {
|
|
|
409
409
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
410
410
|
},
|
|
411
411
|
set(u) {
|
|
412
|
-
u =
|
|
412
|
+
u = Pe(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
|
|
413
413
|
}
|
|
414
414
|
});
|
|
415
415
|
}), n.forEach((s) => {
|
|
@@ -421,7 +421,7 @@ function wn(e, t, r, n, i, o) {
|
|
|
421
421
|
}), e.element = /** @type {any} */
|
|
422
422
|
a, a;
|
|
423
423
|
}
|
|
424
|
-
class
|
|
424
|
+
class An {
|
|
425
425
|
/**
|
|
426
426
|
* ### PRIVATE API
|
|
427
427
|
*
|
|
@@ -440,7 +440,7 @@ class Sn {
|
|
|
440
440
|
$$set = void 0;
|
|
441
441
|
/** @returns {void} */
|
|
442
442
|
$destroy() {
|
|
443
|
-
|
|
443
|
+
Sn(this, 1), this.$destroy = $;
|
|
444
444
|
}
|
|
445
445
|
/**
|
|
446
446
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -449,7 +449,7 @@ class Sn {
|
|
|
449
449
|
* @returns {() => void}
|
|
450
450
|
*/
|
|
451
451
|
$on(t, r) {
|
|
452
|
-
if (!
|
|
452
|
+
if (!bt(r))
|
|
453
453
|
return $;
|
|
454
454
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
455
455
|
return n.push(r), () => {
|
|
@@ -462,11 +462,11 @@ class Sn {
|
|
|
462
462
|
* @returns {void}
|
|
463
463
|
*/
|
|
464
464
|
$set(t) {
|
|
465
|
-
this.$$set && !
|
|
465
|
+
this.$$set && !sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
const
|
|
469
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
468
|
+
const Mn = "4";
|
|
469
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mn);
|
|
470
470
|
/*! *****************************************************************************
|
|
471
471
|
Copyright (c) Microsoft Corporation.
|
|
472
472
|
|
|
@@ -481,43 +481,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
481
481
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
482
482
|
PERFORMANCE OF THIS SOFTWARE.
|
|
483
483
|
***************************************************************************** */
|
|
484
|
-
var
|
|
485
|
-
return
|
|
484
|
+
var rt = function(e, t) {
|
|
485
|
+
return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
486
486
|
r.__proto__ = n;
|
|
487
487
|
} || function(r, n) {
|
|
488
488
|
for (var i in n)
|
|
489
489
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
490
|
-
},
|
|
490
|
+
}, rt(e, t);
|
|
491
491
|
};
|
|
492
|
-
function
|
|
492
|
+
function we(e, t) {
|
|
493
493
|
if (typeof t != "function" && t !== null)
|
|
494
494
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
495
|
-
|
|
495
|
+
rt(e, t);
|
|
496
496
|
function r() {
|
|
497
497
|
this.constructor = e;
|
|
498
498
|
}
|
|
499
499
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
500
500
|
}
|
|
501
|
-
|
|
502
|
-
return w = Object.assign || function(t) {
|
|
503
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
504
|
-
r = arguments[n];
|
|
505
|
-
for (var o in r)
|
|
506
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
507
|
-
}
|
|
508
|
-
return t;
|
|
509
|
-
}, w.apply(this, arguments);
|
|
510
|
-
};
|
|
511
|
-
function Tn(e, t) {
|
|
512
|
-
var r = {};
|
|
513
|
-
for (var n in e)
|
|
514
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
515
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
516
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
517
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
518
|
-
return r;
|
|
519
|
-
}
|
|
520
|
-
function et(e) {
|
|
501
|
+
function nt(e) {
|
|
521
502
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
522
503
|
if (r)
|
|
523
504
|
return r.call(e);
|
|
@@ -529,7 +510,7 @@ function et(e) {
|
|
|
529
510
|
};
|
|
530
511
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
531
512
|
}
|
|
532
|
-
function
|
|
513
|
+
function it(e, t) {
|
|
533
514
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
534
515
|
if (!r)
|
|
535
516
|
return e;
|
|
@@ -549,22 +530,22 @@ function tt(e, t) {
|
|
|
549
530
|
}
|
|
550
531
|
return o;
|
|
551
532
|
}
|
|
552
|
-
function
|
|
553
|
-
if (
|
|
533
|
+
function ot(e, t, r) {
|
|
534
|
+
if (arguments.length === 2)
|
|
554
535
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
555
536
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
556
537
|
return e.concat(o || t);
|
|
557
538
|
}
|
|
558
|
-
function
|
|
539
|
+
function Q(e) {
|
|
559
540
|
return typeof e == "function";
|
|
560
541
|
}
|
|
561
|
-
function
|
|
542
|
+
function vr(e) {
|
|
562
543
|
var t = function(n) {
|
|
563
544
|
Error.call(n), n.stack = new Error().stack;
|
|
564
545
|
}, r = e(t);
|
|
565
546
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
566
547
|
}
|
|
567
|
-
var
|
|
548
|
+
var Ze = vr(function(e) {
|
|
568
549
|
return function(r) {
|
|
569
550
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
570
551
|
` + r.map(function(n, i) {
|
|
@@ -573,13 +554,13 @@ var Xe = mr(function(e) {
|
|
|
573
554
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
574
555
|
};
|
|
575
556
|
});
|
|
576
|
-
function
|
|
557
|
+
function at(e, t) {
|
|
577
558
|
if (e) {
|
|
578
559
|
var r = e.indexOf(t);
|
|
579
560
|
0 <= r && e.splice(r, 1);
|
|
580
561
|
}
|
|
581
562
|
}
|
|
582
|
-
var
|
|
563
|
+
var ke = function() {
|
|
583
564
|
function e(t) {
|
|
584
565
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
585
566
|
}
|
|
@@ -591,12 +572,12 @@ var Fe = function() {
|
|
|
591
572
|
if (a)
|
|
592
573
|
if (this._parentage = null, Array.isArray(a))
|
|
593
574
|
try {
|
|
594
|
-
for (var s =
|
|
575
|
+
for (var s = nt(a), u = s.next(); !u.done; u = s.next()) {
|
|
595
576
|
var l = u.value;
|
|
596
577
|
l.remove(this);
|
|
597
578
|
}
|
|
598
|
-
} catch (
|
|
599
|
-
t = { error:
|
|
579
|
+
} catch (v) {
|
|
580
|
+
t = { error: v };
|
|
600
581
|
} finally {
|
|
601
582
|
try {
|
|
602
583
|
u && !u.done && (r = s.return) && r.call(s);
|
|
@@ -608,29 +589,29 @@ var Fe = function() {
|
|
|
608
589
|
else
|
|
609
590
|
a.remove(this);
|
|
610
591
|
var h = this.initialTeardown;
|
|
611
|
-
if (
|
|
592
|
+
if (Q(h))
|
|
612
593
|
try {
|
|
613
594
|
h();
|
|
614
|
-
} catch (
|
|
615
|
-
o =
|
|
595
|
+
} catch (v) {
|
|
596
|
+
o = v instanceof Ze ? v.errors : [v];
|
|
616
597
|
}
|
|
617
598
|
var c = this._finalizers;
|
|
618
599
|
if (c) {
|
|
619
600
|
this._finalizers = null;
|
|
620
601
|
try {
|
|
621
|
-
for (var f =
|
|
622
|
-
var g =
|
|
602
|
+
for (var f = nt(c), d = f.next(); !d.done; d = f.next()) {
|
|
603
|
+
var g = d.value;
|
|
623
604
|
try {
|
|
624
|
-
|
|
625
|
-
} catch (
|
|
626
|
-
o = o ?? [],
|
|
605
|
+
Lt(g);
|
|
606
|
+
} catch (v) {
|
|
607
|
+
o = o ?? [], v instanceof Ze ? o = ot(ot([], it(o)), it(v.errors)) : o.push(v);
|
|
627
608
|
}
|
|
628
609
|
}
|
|
629
|
-
} catch (
|
|
630
|
-
n = { error:
|
|
610
|
+
} catch (v) {
|
|
611
|
+
n = { error: v };
|
|
631
612
|
} finally {
|
|
632
613
|
try {
|
|
633
|
-
|
|
614
|
+
d && !d.done && (i = f.return) && i.call(f);
|
|
634
615
|
} finally {
|
|
635
616
|
if (n)
|
|
636
617
|
throw n.error;
|
|
@@ -638,13 +619,13 @@ var Fe = function() {
|
|
|
638
619
|
}
|
|
639
620
|
}
|
|
640
621
|
if (o)
|
|
641
|
-
throw new
|
|
622
|
+
throw new Ze(o);
|
|
642
623
|
}
|
|
643
624
|
}, e.prototype.add = function(t) {
|
|
644
625
|
var r;
|
|
645
626
|
if (t && t !== this)
|
|
646
627
|
if (this.closed)
|
|
647
|
-
|
|
628
|
+
Lt(t);
|
|
648
629
|
else {
|
|
649
630
|
if (t instanceof e) {
|
|
650
631
|
if (t.closed || t._hasParent(this))
|
|
@@ -661,56 +642,52 @@ var Fe = function() {
|
|
|
661
642
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
662
643
|
}, e.prototype._removeParent = function(t) {
|
|
663
644
|
var r = this._parentage;
|
|
664
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
645
|
+
r === t ? this._parentage = null : Array.isArray(r) && at(r, t);
|
|
665
646
|
}, e.prototype.remove = function(t) {
|
|
666
647
|
var r = this._finalizers;
|
|
667
|
-
r &&
|
|
648
|
+
r && at(r, t), t instanceof e && t._removeParent(this);
|
|
668
649
|
}, e.EMPTY = function() {
|
|
669
650
|
var t = new e();
|
|
670
651
|
return t.closed = !0, t;
|
|
671
652
|
}(), e;
|
|
672
|
-
}(),
|
|
673
|
-
function
|
|
674
|
-
return e instanceof
|
|
675
|
-
}
|
|
676
|
-
function
|
|
677
|
-
|
|
678
|
-
}
|
|
679
|
-
var
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
Promise: void 0,
|
|
683
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
684
|
-
useDeprecatedNextContext: !1
|
|
685
|
-
}, Mn = {
|
|
653
|
+
}(), yr = ke.EMPTY;
|
|
654
|
+
function _r(e) {
|
|
655
|
+
return e instanceof ke || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
|
|
656
|
+
}
|
|
657
|
+
function Lt(e) {
|
|
658
|
+
Q(e) ? e() : e.unsubscribe();
|
|
659
|
+
}
|
|
660
|
+
var Pn = {
|
|
661
|
+
Promise: void 0
|
|
662
|
+
}, Bn = {
|
|
686
663
|
setTimeout: function(e, t) {
|
|
687
664
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
688
665
|
r[n - 2] = arguments[n];
|
|
689
|
-
return setTimeout.apply(void 0,
|
|
666
|
+
return setTimeout.apply(void 0, ot([e, t], it(r)));
|
|
690
667
|
},
|
|
691
668
|
clearTimeout: function(e) {
|
|
692
669
|
return clearTimeout(e);
|
|
693
670
|
},
|
|
694
671
|
delegate: void 0
|
|
695
672
|
};
|
|
696
|
-
function
|
|
697
|
-
|
|
673
|
+
function Ln(e) {
|
|
674
|
+
Bn.setTimeout(function() {
|
|
698
675
|
throw e;
|
|
699
676
|
});
|
|
700
677
|
}
|
|
701
|
-
function
|
|
678
|
+
function It() {
|
|
702
679
|
}
|
|
703
|
-
function
|
|
680
|
+
function Be(e) {
|
|
704
681
|
e();
|
|
705
682
|
}
|
|
706
|
-
var
|
|
707
|
-
|
|
683
|
+
var xr = function(e) {
|
|
684
|
+
we(t, e);
|
|
708
685
|
function t(r) {
|
|
709
686
|
var n = e.call(this) || this;
|
|
710
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
687
|
+
return n.isStopped = !1, r ? (n.destination = r, _r(r) && r.add(n)) : n.destination = Nn, n;
|
|
711
688
|
}
|
|
712
689
|
return t.create = function(r, n, i) {
|
|
713
|
-
return new
|
|
690
|
+
return new st(r, n, i);
|
|
714
691
|
}, t.prototype.next = function(r) {
|
|
715
692
|
this.isStopped || this._next(r);
|
|
716
693
|
}, t.prototype.error = function(r) {
|
|
@@ -734,7 +711,7 @@ var br = function(e) {
|
|
|
734
711
|
this.unsubscribe();
|
|
735
712
|
}
|
|
736
713
|
}, t;
|
|
737
|
-
}(
|
|
714
|
+
}(ke), In = function() {
|
|
738
715
|
function e(t) {
|
|
739
716
|
this.partialObserver = t;
|
|
740
717
|
}
|
|
@@ -744,7 +721,7 @@ var br = function(e) {
|
|
|
744
721
|
try {
|
|
745
722
|
r.next(t);
|
|
746
723
|
} catch (n) {
|
|
747
|
-
|
|
724
|
+
Ae(n);
|
|
748
725
|
}
|
|
749
726
|
}, e.prototype.error = function(t) {
|
|
750
727
|
var r = this.partialObserver;
|
|
@@ -752,56 +729,56 @@ var br = function(e) {
|
|
|
752
729
|
try {
|
|
753
730
|
r.error(t);
|
|
754
731
|
} catch (n) {
|
|
755
|
-
|
|
732
|
+
Ae(n);
|
|
756
733
|
}
|
|
757
734
|
else
|
|
758
|
-
|
|
735
|
+
Ae(t);
|
|
759
736
|
}, e.prototype.complete = function() {
|
|
760
737
|
var t = this.partialObserver;
|
|
761
738
|
if (t.complete)
|
|
762
739
|
try {
|
|
763
740
|
t.complete();
|
|
764
741
|
} catch (r) {
|
|
765
|
-
|
|
742
|
+
Ae(r);
|
|
766
743
|
}
|
|
767
744
|
}, e;
|
|
768
|
-
}(),
|
|
769
|
-
|
|
745
|
+
}(), st = function(e) {
|
|
746
|
+
we(t, e);
|
|
770
747
|
function t(r, n, i) {
|
|
771
748
|
var o = e.call(this) || this, a;
|
|
772
|
-
return
|
|
749
|
+
return Q(r) || !r ? a = {
|
|
773
750
|
next: r ?? void 0,
|
|
774
751
|
error: n ?? void 0,
|
|
775
752
|
complete: i ?? void 0
|
|
776
|
-
} : a = r, o.destination = new
|
|
753
|
+
} : a = r, o.destination = new In(a), o;
|
|
777
754
|
}
|
|
778
755
|
return t;
|
|
779
|
-
}(
|
|
780
|
-
function
|
|
781
|
-
|
|
756
|
+
}(xr);
|
|
757
|
+
function Ae(e) {
|
|
758
|
+
Ln(e);
|
|
782
759
|
}
|
|
783
|
-
function
|
|
760
|
+
function Cn(e) {
|
|
784
761
|
throw e;
|
|
785
762
|
}
|
|
786
|
-
var
|
|
763
|
+
var Nn = {
|
|
787
764
|
closed: !0,
|
|
788
|
-
next:
|
|
789
|
-
error:
|
|
790
|
-
complete:
|
|
791
|
-
},
|
|
765
|
+
next: It,
|
|
766
|
+
error: Cn,
|
|
767
|
+
complete: It
|
|
768
|
+
}, Rn = function() {
|
|
792
769
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
793
770
|
}();
|
|
794
|
-
function
|
|
771
|
+
function Un(e) {
|
|
795
772
|
return e;
|
|
796
773
|
}
|
|
797
|
-
function
|
|
798
|
-
return e.length === 0 ?
|
|
774
|
+
function Fn(e) {
|
|
775
|
+
return e.length === 0 ? Un : e.length === 1 ? e[0] : function(r) {
|
|
799
776
|
return e.reduce(function(n, i) {
|
|
800
777
|
return i(n);
|
|
801
778
|
}, r);
|
|
802
779
|
};
|
|
803
780
|
}
|
|
804
|
-
var
|
|
781
|
+
var Ct = function() {
|
|
805
782
|
function e(t) {
|
|
806
783
|
t && (this._subscribe = t);
|
|
807
784
|
}
|
|
@@ -809,8 +786,8 @@ var Bt = function() {
|
|
|
809
786
|
var r = new e();
|
|
810
787
|
return r.source = this, r.operator = t, r;
|
|
811
788
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
812
|
-
var i = this, o =
|
|
813
|
-
return
|
|
789
|
+
var i = this, o = Dn(t) ? t : new st(t, r, n);
|
|
790
|
+
return Be(function() {
|
|
814
791
|
var a = i, s = a.operator, u = a.source;
|
|
815
792
|
o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
816
793
|
}), o;
|
|
@@ -822,8 +799,8 @@ var Bt = function() {
|
|
|
822
799
|
}
|
|
823
800
|
}, e.prototype.forEach = function(t, r) {
|
|
824
801
|
var n = this;
|
|
825
|
-
return r =
|
|
826
|
-
var a = new
|
|
802
|
+
return r = Nt(r), new r(function(i, o) {
|
|
803
|
+
var a = new st({
|
|
827
804
|
next: function(s) {
|
|
828
805
|
try {
|
|
829
806
|
t(s);
|
|
@@ -839,15 +816,15 @@ var Bt = function() {
|
|
|
839
816
|
}, e.prototype._subscribe = function(t) {
|
|
840
817
|
var r;
|
|
841
818
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
842
|
-
}, e.prototype[
|
|
819
|
+
}, e.prototype[Rn] = function() {
|
|
843
820
|
return this;
|
|
844
821
|
}, e.prototype.pipe = function() {
|
|
845
822
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
846
823
|
t[r] = arguments[r];
|
|
847
|
-
return
|
|
824
|
+
return Fn(t)(this);
|
|
848
825
|
}, e.prototype.toPromise = function(t) {
|
|
849
826
|
var r = this;
|
|
850
|
-
return t =
|
|
827
|
+
return t = Nt(t), new t(function(n, i) {
|
|
851
828
|
var o;
|
|
852
829
|
r.subscribe(function(a) {
|
|
853
830
|
return o = a;
|
|
@@ -861,40 +838,40 @@ var Bt = function() {
|
|
|
861
838
|
return new e(t);
|
|
862
839
|
}, e;
|
|
863
840
|
}();
|
|
864
|
-
function
|
|
841
|
+
function Nt(e) {
|
|
865
842
|
var t;
|
|
866
|
-
return (t = e ??
|
|
843
|
+
return (t = e ?? Pn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
867
844
|
}
|
|
868
|
-
function
|
|
869
|
-
return e &&
|
|
845
|
+
function kn(e) {
|
|
846
|
+
return e && Q(e.next) && Q(e.error) && Q(e.complete);
|
|
870
847
|
}
|
|
871
|
-
function
|
|
872
|
-
return e && e instanceof
|
|
848
|
+
function Dn(e) {
|
|
849
|
+
return e && e instanceof xr || kn(e) && _r(e);
|
|
873
850
|
}
|
|
874
|
-
var
|
|
851
|
+
var Gn = vr(function(e) {
|
|
875
852
|
return function() {
|
|
876
853
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
877
854
|
};
|
|
878
|
-
}),
|
|
879
|
-
|
|
855
|
+
}), Er = function(e) {
|
|
856
|
+
we(t, e);
|
|
880
857
|
function t() {
|
|
881
858
|
var r = e.call(this) || this;
|
|
882
859
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
883
860
|
}
|
|
884
861
|
return t.prototype.lift = function(r) {
|
|
885
|
-
var n = new
|
|
862
|
+
var n = new Rt(this, this);
|
|
886
863
|
return n.operator = r, n;
|
|
887
864
|
}, t.prototype._throwIfClosed = function() {
|
|
888
865
|
if (this.closed)
|
|
889
|
-
throw new
|
|
866
|
+
throw new Gn();
|
|
890
867
|
}, t.prototype.next = function(r) {
|
|
891
868
|
var n = this;
|
|
892
|
-
|
|
869
|
+
Be(function() {
|
|
893
870
|
var i, o;
|
|
894
871
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
895
872
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
896
873
|
try {
|
|
897
|
-
for (var a =
|
|
874
|
+
for (var a = nt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
898
875
|
var u = s.value;
|
|
899
876
|
u.next(r);
|
|
900
877
|
}
|
|
@@ -912,7 +889,7 @@ var Fn = mr(function(e) {
|
|
|
912
889
|
});
|
|
913
890
|
}, t.prototype.error = function(r) {
|
|
914
891
|
var n = this;
|
|
915
|
-
|
|
892
|
+
Be(function() {
|
|
916
893
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
917
894
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
918
895
|
for (var i = n.observers; i.length; )
|
|
@@ -921,7 +898,7 @@ var Fn = mr(function(e) {
|
|
|
921
898
|
});
|
|
922
899
|
}, t.prototype.complete = function() {
|
|
923
900
|
var r = this;
|
|
924
|
-
|
|
901
|
+
Be(function() {
|
|
925
902
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
926
903
|
r.isStopped = !0;
|
|
927
904
|
for (var n = r.observers; n.length; )
|
|
@@ -943,20 +920,20 @@ var Fn = mr(function(e) {
|
|
|
943
920
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
944
921
|
}, t.prototype._innerSubscribe = function(r) {
|
|
945
922
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
946
|
-
return o || a ?
|
|
947
|
-
n.currentObservers = null,
|
|
923
|
+
return o || a ? yr : (this.currentObservers = null, s.push(r), new ke(function() {
|
|
924
|
+
n.currentObservers = null, at(s, r);
|
|
948
925
|
}));
|
|
949
926
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
950
927
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
951
928
|
i ? r.error(o) : a && r.complete();
|
|
952
929
|
}, t.prototype.asObservable = function() {
|
|
953
|
-
var r = new
|
|
930
|
+
var r = new Ct();
|
|
954
931
|
return r.source = this, r;
|
|
955
932
|
}, t.create = function(r, n) {
|
|
956
|
-
return new
|
|
933
|
+
return new Rt(r, n);
|
|
957
934
|
}, t;
|
|
958
|
-
}(
|
|
959
|
-
|
|
935
|
+
}(Ct), Rt = function(e) {
|
|
936
|
+
we(t, e);
|
|
960
937
|
function t(r, n) {
|
|
961
938
|
var i = e.call(this) || this;
|
|
962
939
|
return i.destination = r, i.source = n, i;
|
|
@@ -972,17 +949,17 @@ var Fn = mr(function(e) {
|
|
|
972
949
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
973
950
|
}, t.prototype._subscribe = function(r) {
|
|
974
951
|
var n, i;
|
|
975
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
952
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : yr;
|
|
976
953
|
}, t;
|
|
977
|
-
}(
|
|
954
|
+
}(Er), wr = {
|
|
978
955
|
now: function() {
|
|
979
|
-
return (
|
|
956
|
+
return (wr.delegate || Date).now();
|
|
980
957
|
},
|
|
981
958
|
delegate: void 0
|
|
982
|
-
},
|
|
983
|
-
|
|
959
|
+
}, $n = function(e) {
|
|
960
|
+
we(t, e);
|
|
984
961
|
function t(r, n, i) {
|
|
985
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
962
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = wr);
|
|
986
963
|
var o = e.call(this) || this;
|
|
987
964
|
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;
|
|
988
965
|
}
|
|
@@ -1002,15 +979,15 @@ var Fn = mr(function(e) {
|
|
|
1002
979
|
l && o.splice(0, l + 1);
|
|
1003
980
|
}
|
|
1004
981
|
}, t;
|
|
1005
|
-
}(
|
|
1006
|
-
const
|
|
1007
|
-
if (
|
|
1008
|
-
const r = new
|
|
1009
|
-
|
|
982
|
+
}(Er);
|
|
983
|
+
const Ut = [], Ft = {}, jn = (e, t = 0) => {
|
|
984
|
+
if (Ut.indexOf(e) == -1) {
|
|
985
|
+
const r = new $n(t);
|
|
986
|
+
Ft[e] = r, Ut.push(e);
|
|
1010
987
|
}
|
|
1011
|
-
return
|
|
988
|
+
return Ft[e];
|
|
1012
989
|
}, oe = [];
|
|
1013
|
-
function
|
|
990
|
+
function Wn(e, t) {
|
|
1014
991
|
return {
|
|
1015
992
|
subscribe: De(e, t).subscribe
|
|
1016
993
|
};
|
|
@@ -1019,7 +996,7 @@ function De(e, t = $) {
|
|
|
1019
996
|
let r;
|
|
1020
997
|
const n = /* @__PURE__ */ new Set();
|
|
1021
998
|
function i(s) {
|
|
1022
|
-
if (
|
|
999
|
+
if (dr(e, s) && (e = s, r)) {
|
|
1023
1000
|
const u = !oe.length;
|
|
1024
1001
|
for (const l of n)
|
|
1025
1002
|
l[1](), oe.push(l, e);
|
|
@@ -1041,12 +1018,12 @@ function De(e, t = $) {
|
|
|
1041
1018
|
}
|
|
1042
1019
|
return { set: i, update: o, subscribe: a };
|
|
1043
1020
|
}
|
|
1044
|
-
function
|
|
1021
|
+
function de(e, t, r) {
|
|
1045
1022
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1046
1023
|
if (!i.every(Boolean))
|
|
1047
1024
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1048
1025
|
const o = t.length < 2;
|
|
1049
|
-
return
|
|
1026
|
+
return Wn(r, (a, s) => {
|
|
1050
1027
|
let u = !1;
|
|
1051
1028
|
const l = [];
|
|
1052
1029
|
let h = 0, c = $;
|
|
@@ -1055,131 +1032,170 @@ function pe(e, t, r) {
|
|
|
1055
1032
|
return;
|
|
1056
1033
|
c();
|
|
1057
1034
|
const g = t(n ? l[0] : l, a, s);
|
|
1058
|
-
o ? a(g) : c =
|
|
1059
|
-
},
|
|
1060
|
-
(g,
|
|
1035
|
+
o ? a(g) : c = bt(g) ? g : $;
|
|
1036
|
+
}, d = i.map(
|
|
1037
|
+
(g, v) => mr(
|
|
1061
1038
|
g,
|
|
1062
|
-
(
|
|
1063
|
-
l[
|
|
1039
|
+
(w) => {
|
|
1040
|
+
l[v] = w, h &= ~(1 << v), u && f();
|
|
1064
1041
|
},
|
|
1065
1042
|
() => {
|
|
1066
|
-
h |= 1 <<
|
|
1043
|
+
h |= 1 << v;
|
|
1067
1044
|
}
|
|
1068
1045
|
)
|
|
1069
1046
|
);
|
|
1070
1047
|
return u = !0, f(), function() {
|
|
1071
|
-
|
|
1048
|
+
fe(d), c(), u = !1;
|
|
1072
1049
|
};
|
|
1073
1050
|
});
|
|
1074
1051
|
}
|
|
1075
|
-
function
|
|
1076
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1052
|
+
function Vn(e) {
|
|
1053
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1077
1054
|
}
|
|
1078
|
-
var
|
|
1079
|
-
return
|
|
1055
|
+
var Xn = function(t) {
|
|
1056
|
+
return zn(t) && !Zn(t);
|
|
1080
1057
|
};
|
|
1081
|
-
function
|
|
1058
|
+
function zn(e) {
|
|
1082
1059
|
return !!e && typeof e == "object";
|
|
1083
1060
|
}
|
|
1084
|
-
function
|
|
1061
|
+
function Zn(e) {
|
|
1085
1062
|
var t = Object.prototype.toString.call(e);
|
|
1086
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1063
|
+
return t === "[object RegExp]" || t === "[object Date]" || qn(e);
|
|
1087
1064
|
}
|
|
1088
|
-
var
|
|
1089
|
-
function
|
|
1090
|
-
return e.$$typeof ===
|
|
1065
|
+
var Qn = typeof Symbol == "function" && Symbol.for, Yn = Qn ? Symbol.for("react.element") : 60103;
|
|
1066
|
+
function qn(e) {
|
|
1067
|
+
return e.$$typeof === Yn;
|
|
1091
1068
|
}
|
|
1092
|
-
function
|
|
1069
|
+
function Jn(e) {
|
|
1093
1070
|
return Array.isArray(e) ? [] : {};
|
|
1094
1071
|
}
|
|
1095
|
-
function
|
|
1096
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1072
|
+
function _e(e, t) {
|
|
1073
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ue(Jn(e), e, t) : e;
|
|
1097
1074
|
}
|
|
1098
|
-
function
|
|
1075
|
+
function Kn(e, t, r) {
|
|
1099
1076
|
return e.concat(t).map(function(n) {
|
|
1100
|
-
return
|
|
1077
|
+
return _e(n, r);
|
|
1101
1078
|
});
|
|
1102
1079
|
}
|
|
1103
|
-
function
|
|
1080
|
+
function ei(e, t) {
|
|
1104
1081
|
if (!t.customMerge)
|
|
1105
|
-
return
|
|
1082
|
+
return ue;
|
|
1106
1083
|
var r = t.customMerge(e);
|
|
1107
|
-
return typeof r == "function" ? r :
|
|
1084
|
+
return typeof r == "function" ? r : ue;
|
|
1108
1085
|
}
|
|
1109
|
-
function
|
|
1086
|
+
function ti(e) {
|
|
1110
1087
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1111
1088
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1112
1089
|
}) : [];
|
|
1113
1090
|
}
|
|
1114
|
-
function
|
|
1115
|
-
return Object.keys(e).concat(
|
|
1091
|
+
function kt(e) {
|
|
1092
|
+
return Object.keys(e).concat(ti(e));
|
|
1116
1093
|
}
|
|
1117
|
-
function
|
|
1094
|
+
function Sr(e, t) {
|
|
1118
1095
|
try {
|
|
1119
1096
|
return t in e;
|
|
1120
1097
|
} catch {
|
|
1121
1098
|
return !1;
|
|
1122
1099
|
}
|
|
1123
1100
|
}
|
|
1124
|
-
function
|
|
1125
|
-
return
|
|
1101
|
+
function ri(e, t) {
|
|
1102
|
+
return Sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1126
1103
|
}
|
|
1127
|
-
function
|
|
1104
|
+
function ni(e, t, r) {
|
|
1128
1105
|
var n = {};
|
|
1129
|
-
return r.isMergeableObject(e) &&
|
|
1130
|
-
n[i] =
|
|
1131
|
-
}),
|
|
1132
|
-
|
|
1106
|
+
return r.isMergeableObject(e) && kt(e).forEach(function(i) {
|
|
1107
|
+
n[i] = _e(e[i], r);
|
|
1108
|
+
}), kt(t).forEach(function(i) {
|
|
1109
|
+
ri(e, i) || (Sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = _e(t[i], r));
|
|
1133
1110
|
}), n;
|
|
1134
1111
|
}
|
|
1135
|
-
function
|
|
1136
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1112
|
+
function ue(e, t, r) {
|
|
1113
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = _e;
|
|
1137
1114
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1138
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1115
|
+
return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : _e(t, r);
|
|
1139
1116
|
}
|
|
1140
|
-
|
|
1117
|
+
ue.all = function(t, r) {
|
|
1141
1118
|
if (!Array.isArray(t))
|
|
1142
1119
|
throw new Error("first argument should be an array");
|
|
1143
1120
|
return t.reduce(function(n, i) {
|
|
1144
|
-
return
|
|
1121
|
+
return ue(n, i, r);
|
|
1145
1122
|
}, {});
|
|
1146
1123
|
};
|
|
1147
|
-
var
|
|
1148
|
-
const
|
|
1149
|
-
function
|
|
1150
|
-
|
|
1124
|
+
var ii = ue, oi = ii;
|
|
1125
|
+
const ai = /* @__PURE__ */ Vn(oi);
|
|
1126
|
+
var ut = function(e, t) {
|
|
1127
|
+
return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1128
|
+
r.__proto__ = n;
|
|
1129
|
+
} || function(r, n) {
|
|
1130
|
+
for (var i in n)
|
|
1131
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1132
|
+
}, ut(e, t);
|
|
1133
|
+
};
|
|
1134
|
+
function Ge(e, t) {
|
|
1135
|
+
if (typeof t != "function" && t !== null)
|
|
1136
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1137
|
+
ut(e, t);
|
|
1138
|
+
function r() {
|
|
1139
|
+
this.constructor = e;
|
|
1140
|
+
}
|
|
1141
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1142
|
+
}
|
|
1143
|
+
var X = function() {
|
|
1144
|
+
return X = Object.assign || function(t) {
|
|
1145
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1146
|
+
r = arguments[n];
|
|
1147
|
+
for (var o in r)
|
|
1148
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1149
|
+
}
|
|
1150
|
+
return t;
|
|
1151
|
+
}, X.apply(this, arguments);
|
|
1152
|
+
};
|
|
1153
|
+
function si(e, t) {
|
|
1154
|
+
var r = {};
|
|
1155
|
+
for (var n in e)
|
|
1156
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1157
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1158
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1159
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1160
|
+
return r;
|
|
1161
|
+
}
|
|
1162
|
+
function Qe(e, t, r) {
|
|
1163
|
+
if (r || arguments.length === 2)
|
|
1164
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1165
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1166
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1167
|
+
}
|
|
1168
|
+
function Ye(e, t) {
|
|
1169
|
+
var r = t && t.cache ? t.cache : di, n = t && t.serializer ? t.serializer : fi, i = t && t.strategy ? t.strategy : hi;
|
|
1151
1170
|
return i(e, {
|
|
1152
1171
|
cache: r,
|
|
1153
1172
|
serializer: n
|
|
1154
1173
|
});
|
|
1155
1174
|
}
|
|
1156
|
-
function
|
|
1175
|
+
function ui(e) {
|
|
1157
1176
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1158
1177
|
}
|
|
1159
|
-
function
|
|
1160
|
-
var i =
|
|
1178
|
+
function li(e, t, r, n) {
|
|
1179
|
+
var i = ui(n) ? n : r(n), o = t.get(i);
|
|
1161
1180
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1162
1181
|
}
|
|
1163
|
-
function
|
|
1182
|
+
function Hr(e, t, r) {
|
|
1164
1183
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1165
1184
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1166
1185
|
}
|
|
1167
|
-
function
|
|
1186
|
+
function Tr(e, t, r, n, i) {
|
|
1168
1187
|
return r.bind(t, e, n, i);
|
|
1169
1188
|
}
|
|
1170
|
-
function
|
|
1171
|
-
var r = e.length === 1 ?
|
|
1172
|
-
return
|
|
1189
|
+
function hi(e, t) {
|
|
1190
|
+
var r = e.length === 1 ? li : Hr;
|
|
1191
|
+
return Tr(e, this, r, t.cache.create(), t.serializer);
|
|
1173
1192
|
}
|
|
1174
|
-
function
|
|
1175
|
-
return
|
|
1193
|
+
function ci(e, t) {
|
|
1194
|
+
return Tr(e, this, Hr, t.cache.create(), t.serializer);
|
|
1176
1195
|
}
|
|
1177
|
-
function
|
|
1178
|
-
return dt(e, this, xr, t.cache.create(), t.serializer);
|
|
1179
|
-
}
|
|
1180
|
-
var ui = function() {
|
|
1196
|
+
var fi = function() {
|
|
1181
1197
|
return JSON.stringify(arguments);
|
|
1182
|
-
},
|
|
1198
|
+
}, pi = (
|
|
1183
1199
|
/** @class */
|
|
1184
1200
|
function() {
|
|
1185
1201
|
function e() {
|
|
@@ -1191,62 +1207,71 @@ var ui = function() {
|
|
|
1191
1207
|
this.cache[t] = r;
|
|
1192
1208
|
}, e;
|
|
1193
1209
|
}()
|
|
1194
|
-
),
|
|
1210
|
+
), di = {
|
|
1195
1211
|
create: function() {
|
|
1196
|
-
return new
|
|
1212
|
+
return new pi();
|
|
1197
1213
|
}
|
|
1198
|
-
},
|
|
1199
|
-
variadic:
|
|
1200
|
-
|
|
1201
|
-
|
|
1214
|
+
}, qe = {
|
|
1215
|
+
variadic: ci
|
|
1216
|
+
}, Re = function() {
|
|
1217
|
+
return Re = Object.assign || function(t) {
|
|
1218
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1219
|
+
r = arguments[n];
|
|
1220
|
+
for (var o in r)
|
|
1221
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1222
|
+
}
|
|
1223
|
+
return t;
|
|
1224
|
+
}, Re.apply(this, arguments);
|
|
1225
|
+
};
|
|
1226
|
+
var _;
|
|
1202
1227
|
(function(e) {
|
|
1203
1228
|
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";
|
|
1204
|
-
})(
|
|
1205
|
-
var
|
|
1229
|
+
})(_ || (_ = {}));
|
|
1230
|
+
var T;
|
|
1206
1231
|
(function(e) {
|
|
1207
1232
|
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";
|
|
1208
|
-
})(
|
|
1209
|
-
var
|
|
1233
|
+
})(T || (T = {}));
|
|
1234
|
+
var le;
|
|
1210
1235
|
(function(e) {
|
|
1211
1236
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1212
|
-
})(
|
|
1213
|
-
function
|
|
1214
|
-
return e.type ===
|
|
1237
|
+
})(le || (le = {}));
|
|
1238
|
+
function Dt(e) {
|
|
1239
|
+
return e.type === T.literal;
|
|
1215
1240
|
}
|
|
1216
|
-
function
|
|
1217
|
-
return e.type ===
|
|
1241
|
+
function mi(e) {
|
|
1242
|
+
return e.type === T.argument;
|
|
1218
1243
|
}
|
|
1219
|
-
function
|
|
1220
|
-
return e.type ===
|
|
1244
|
+
function Or(e) {
|
|
1245
|
+
return e.type === T.number;
|
|
1221
1246
|
}
|
|
1222
|
-
function
|
|
1223
|
-
return e.type ===
|
|
1247
|
+
function Ar(e) {
|
|
1248
|
+
return e.type === T.date;
|
|
1224
1249
|
}
|
|
1225
|
-
function
|
|
1226
|
-
return e.type ===
|
|
1250
|
+
function Mr(e) {
|
|
1251
|
+
return e.type === T.time;
|
|
1227
1252
|
}
|
|
1228
|
-
function
|
|
1229
|
-
return e.type ===
|
|
1253
|
+
function Pr(e) {
|
|
1254
|
+
return e.type === T.select;
|
|
1230
1255
|
}
|
|
1231
|
-
function
|
|
1232
|
-
return e.type ===
|
|
1256
|
+
function Br(e) {
|
|
1257
|
+
return e.type === T.plural;
|
|
1233
1258
|
}
|
|
1234
|
-
function
|
|
1235
|
-
return e.type ===
|
|
1259
|
+
function gi(e) {
|
|
1260
|
+
return e.type === T.pound;
|
|
1236
1261
|
}
|
|
1237
|
-
function
|
|
1238
|
-
return e.type ===
|
|
1262
|
+
function Lr(e) {
|
|
1263
|
+
return e.type === T.tag;
|
|
1239
1264
|
}
|
|
1240
|
-
function
|
|
1241
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1265
|
+
function Ir(e) {
|
|
1266
|
+
return !!(e && typeof e == "object" && e.type === le.number);
|
|
1242
1267
|
}
|
|
1243
|
-
function
|
|
1244
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1268
|
+
function lt(e) {
|
|
1269
|
+
return !!(e && typeof e == "object" && e.type === le.dateTime);
|
|
1245
1270
|
}
|
|
1246
|
-
var
|
|
1247
|
-
function
|
|
1271
|
+
var Cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bi = /(?:[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;
|
|
1272
|
+
function vi(e) {
|
|
1248
1273
|
var t = {};
|
|
1249
|
-
return e.replace(
|
|
1274
|
+
return e.replace(bi, function(r) {
|
|
1250
1275
|
var n = r.length;
|
|
1251
1276
|
switch (r[0]) {
|
|
1252
1277
|
case "G":
|
|
@@ -1335,11 +1360,21 @@ function mi(e) {
|
|
|
1335
1360
|
return "";
|
|
1336
1361
|
}), t;
|
|
1337
1362
|
}
|
|
1338
|
-
var
|
|
1339
|
-
function
|
|
1363
|
+
var M = function() {
|
|
1364
|
+
return M = Object.assign || function(t) {
|
|
1365
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1366
|
+
r = arguments[n];
|
|
1367
|
+
for (var o in r)
|
|
1368
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1369
|
+
}
|
|
1370
|
+
return t;
|
|
1371
|
+
}, M.apply(this, arguments);
|
|
1372
|
+
};
|
|
1373
|
+
var yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1374
|
+
function _i(e) {
|
|
1340
1375
|
if (e.length === 0)
|
|
1341
1376
|
throw new Error("Number skeleton cannot be empty");
|
|
1342
|
-
for (var t = e.split(
|
|
1377
|
+
for (var t = e.split(yi).filter(function(f) {
|
|
1343
1378
|
return f.length > 0;
|
|
1344
1379
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1345
1380
|
var o = i[n], a = o.split("/");
|
|
@@ -1354,17 +1389,17 @@ function gi(e) {
|
|
|
1354
1389
|
}
|
|
1355
1390
|
return r;
|
|
1356
1391
|
}
|
|
1357
|
-
function
|
|
1392
|
+
function xi(e) {
|
|
1358
1393
|
return e.replace(/^(.*?)-/, "");
|
|
1359
1394
|
}
|
|
1360
|
-
var
|
|
1361
|
-
function
|
|
1395
|
+
var Gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nr = /^(@+)?(\+|#+)?[rs]?$/g, Ei = /(\*)(0+)|(#+)(0+)|(0+)/g, Rr = /^(0+)$/;
|
|
1396
|
+
function $t(e) {
|
|
1362
1397
|
var t = {};
|
|
1363
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1398
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nr, function(r, n, i) {
|
|
1364
1399
|
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)), "";
|
|
1365
1400
|
}), t;
|
|
1366
1401
|
}
|
|
1367
|
-
function
|
|
1402
|
+
function Ur(e) {
|
|
1368
1403
|
switch (e) {
|
|
1369
1404
|
case "sign-auto":
|
|
1370
1405
|
return {
|
|
@@ -1404,7 +1439,7 @@ function Ir(e) {
|
|
|
1404
1439
|
};
|
|
1405
1440
|
}
|
|
1406
1441
|
}
|
|
1407
|
-
function
|
|
1442
|
+
function wi(e) {
|
|
1408
1443
|
var t;
|
|
1409
1444
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1410
1445
|
notation: "engineering"
|
|
@@ -1412,17 +1447,17 @@ function _i(e) {
|
|
|
1412
1447
|
notation: "scientific"
|
|
1413
1448
|
}, e = e.slice(1)), t) {
|
|
1414
1449
|
var r = e.slice(0, 2);
|
|
1415
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1450
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rr.test(e))
|
|
1416
1451
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1417
1452
|
t.minimumIntegerDigits = e.length;
|
|
1418
1453
|
}
|
|
1419
1454
|
return t;
|
|
1420
1455
|
}
|
|
1421
|
-
function
|
|
1422
|
-
var t = {}, r =
|
|
1456
|
+
function jt(e) {
|
|
1457
|
+
var t = {}, r = Ur(e);
|
|
1423
1458
|
return r || t;
|
|
1424
1459
|
}
|
|
1425
|
-
function
|
|
1460
|
+
function Si(e) {
|
|
1426
1461
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1427
1462
|
var i = n[r];
|
|
1428
1463
|
switch (i.stem) {
|
|
@@ -1446,7 +1481,7 @@ function vi(e) {
|
|
|
1446
1481
|
continue;
|
|
1447
1482
|
case "measure-unit":
|
|
1448
1483
|
case "unit":
|
|
1449
|
-
t.style = "unit", t.unit =
|
|
1484
|
+
t.style = "unit", t.unit = xi(i.options[0]);
|
|
1450
1485
|
continue;
|
|
1451
1486
|
case "compact-short":
|
|
1452
1487
|
case "K":
|
|
@@ -1457,13 +1492,13 @@ function vi(e) {
|
|
|
1457
1492
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1458
1493
|
continue;
|
|
1459
1494
|
case "scientific":
|
|
1460
|
-
t =
|
|
1461
|
-
return
|
|
1495
|
+
t = M(M(M({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
1496
|
+
return M(M({}, u), jt(l));
|
|
1462
1497
|
}, {}));
|
|
1463
1498
|
continue;
|
|
1464
1499
|
case "engineering":
|
|
1465
|
-
t =
|
|
1466
|
-
return
|
|
1500
|
+
t = M(M(M({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
1501
|
+
return M(M({}, u), jt(l));
|
|
1467
1502
|
}, {}));
|
|
1468
1503
|
continue;
|
|
1469
1504
|
case "notation-simple":
|
|
@@ -1508,45 +1543,45 @@ function vi(e) {
|
|
|
1508
1543
|
case "integer-width":
|
|
1509
1544
|
if (i.options.length > 1)
|
|
1510
1545
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1511
|
-
i.options[0].replace(
|
|
1546
|
+
i.options[0].replace(Ei, function(u, l, h, c, f, d) {
|
|
1512
1547
|
if (l)
|
|
1513
1548
|
t.minimumIntegerDigits = h.length;
|
|
1514
1549
|
else {
|
|
1515
1550
|
if (c && f)
|
|
1516
1551
|
throw new Error("We currently do not support maximum integer digits");
|
|
1517
|
-
if (
|
|
1552
|
+
if (d)
|
|
1518
1553
|
throw new Error("We currently do not support exact integer digits");
|
|
1519
1554
|
}
|
|
1520
1555
|
return "";
|
|
1521
1556
|
});
|
|
1522
1557
|
continue;
|
|
1523
1558
|
}
|
|
1524
|
-
if (
|
|
1559
|
+
if (Rr.test(i.stem)) {
|
|
1525
1560
|
t.minimumIntegerDigits = i.stem.length;
|
|
1526
1561
|
continue;
|
|
1527
1562
|
}
|
|
1528
|
-
if (
|
|
1563
|
+
if (Gt.test(i.stem)) {
|
|
1529
1564
|
if (i.options.length > 1)
|
|
1530
1565
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1531
|
-
i.stem.replace(
|
|
1532
|
-
return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1566
|
+
i.stem.replace(Gt, function(u, l, h, c, f, d) {
|
|
1567
|
+
return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1533
1568
|
});
|
|
1534
1569
|
var o = i.options[0];
|
|
1535
|
-
o === "w" ? t =
|
|
1570
|
+
o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), $t(o)));
|
|
1536
1571
|
continue;
|
|
1537
1572
|
}
|
|
1538
|
-
if (
|
|
1539
|
-
t =
|
|
1573
|
+
if (Nr.test(i.stem)) {
|
|
1574
|
+
t = M(M({}, t), $t(i.stem));
|
|
1540
1575
|
continue;
|
|
1541
1576
|
}
|
|
1542
|
-
var a =
|
|
1543
|
-
a && (t =
|
|
1544
|
-
var s =
|
|
1545
|
-
s && (t =
|
|
1577
|
+
var a = Ur(i.stem);
|
|
1578
|
+
a && (t = M(M({}, t), a));
|
|
1579
|
+
var s = wi(i.stem);
|
|
1580
|
+
s && (t = M(M({}, t), s));
|
|
1546
1581
|
}
|
|
1547
1582
|
return t;
|
|
1548
1583
|
}
|
|
1549
|
-
var
|
|
1584
|
+
var Me = {
|
|
1550
1585
|
"001": [
|
|
1551
1586
|
"H",
|
|
1552
1587
|
"h"
|
|
@@ -2961,13 +2996,13 @@ var Ae = {
|
|
|
2961
2996
|
"h"
|
|
2962
2997
|
]
|
|
2963
2998
|
};
|
|
2964
|
-
function
|
|
2999
|
+
function Hi(e, t) {
|
|
2965
3000
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2966
3001
|
var i = e.charAt(n);
|
|
2967
3002
|
if (i === "j") {
|
|
2968
3003
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2969
3004
|
o++, n++;
|
|
2970
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
|
3005
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ti(t);
|
|
2971
3006
|
for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
|
|
2972
3007
|
r += u;
|
|
2973
3008
|
for (; a-- > 0; )
|
|
@@ -2977,7 +3012,7 @@ function xi(e, t) {
|
|
|
2977
3012
|
}
|
|
2978
3013
|
return r;
|
|
2979
3014
|
}
|
|
2980
|
-
function
|
|
3015
|
+
function Ti(e) {
|
|
2981
3016
|
var t = e.hourCycle;
|
|
2982
3017
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2983
3018
|
e.hourCycles && // @ts-ignore
|
|
@@ -2996,23 +3031,23 @@ function Ei(e) {
|
|
|
2996
3031
|
}
|
|
2997
3032
|
var r = e.language, n;
|
|
2998
3033
|
r !== "root" && (n = e.maximize().region);
|
|
2999
|
-
var i =
|
|
3034
|
+
var i = Me[n || ""] || Me[r || ""] || Me["".concat(r, "-001")] || Me["001"];
|
|
3000
3035
|
return i[0];
|
|
3001
3036
|
}
|
|
3002
|
-
var
|
|
3037
|
+
var Je, Oi = new RegExp("^".concat(Cr.source, "*")), Ai = new RegExp("".concat(Cr.source, "*$"));
|
|
3003
3038
|
function E(e, t) {
|
|
3004
3039
|
return { start: e, end: t };
|
|
3005
3040
|
}
|
|
3006
|
-
var
|
|
3041
|
+
var Mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pi = !!String.fromCodePoint, Bi = !!Object.fromEntries, Li = !!String.prototype.codePointAt, Ii = !!String.prototype.trimStart, Ci = !!String.prototype.trimEnd, Ni = !!Number.isSafeInteger, Ri = Ni ? Number.isSafeInteger : function(e) {
|
|
3007
3042
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3008
|
-
},
|
|
3043
|
+
}, ht = !0;
|
|
3009
3044
|
try {
|
|
3010
|
-
var
|
|
3011
|
-
|
|
3045
|
+
var Ui = kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3046
|
+
ht = ((Je = Ui.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
|
|
3012
3047
|
} catch {
|
|
3013
|
-
|
|
3048
|
+
ht = !1;
|
|
3014
3049
|
}
|
|
3015
|
-
var
|
|
3050
|
+
var Wt = Mi ? (
|
|
3016
3051
|
// Native
|
|
3017
3052
|
function(t, r, n) {
|
|
3018
3053
|
return t.startsWith(r, n);
|
|
@@ -3022,7 +3057,7 @@ var kt = Hi ? (
|
|
|
3022
3057
|
function(t, r, n) {
|
|
3023
3058
|
return t.slice(n, n + r.length) === r;
|
|
3024
3059
|
}
|
|
3025
|
-
),
|
|
3060
|
+
), ct = Pi ? String.fromCodePoint : (
|
|
3026
3061
|
// IE11
|
|
3027
3062
|
function() {
|
|
3028
3063
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3034,9 +3069,9 @@ var kt = Hi ? (
|
|
|
3034
3069
|
}
|
|
3035
3070
|
return n;
|
|
3036
3071
|
}
|
|
3037
|
-
),
|
|
3072
|
+
), Vt = (
|
|
3038
3073
|
// native
|
|
3039
|
-
|
|
3074
|
+
Bi ? Object.fromEntries : (
|
|
3040
3075
|
// Ponyfill
|
|
3041
3076
|
function(t) {
|
|
3042
3077
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3046,7 +3081,7 @@ var kt = Hi ? (
|
|
|
3046
3081
|
return r;
|
|
3047
3082
|
}
|
|
3048
3083
|
)
|
|
3049
|
-
),
|
|
3084
|
+
), Fr = Li ? (
|
|
3050
3085
|
// Native
|
|
3051
3086
|
function(t, r) {
|
|
3052
3087
|
return t.codePointAt(r);
|
|
@@ -3060,7 +3095,7 @@ var kt = Hi ? (
|
|
|
3060
3095
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3061
3096
|
}
|
|
3062
3097
|
}
|
|
3063
|
-
),
|
|
3098
|
+
), Fi = Ii ? (
|
|
3064
3099
|
// Native
|
|
3065
3100
|
function(t) {
|
|
3066
3101
|
return t.trimStart();
|
|
@@ -3068,9 +3103,9 @@ var kt = Hi ? (
|
|
|
3068
3103
|
) : (
|
|
3069
3104
|
// Ponyfill
|
|
3070
3105
|
function(t) {
|
|
3071
|
-
return t.replace(
|
|
3106
|
+
return t.replace(Oi, "");
|
|
3072
3107
|
}
|
|
3073
|
-
),
|
|
3108
|
+
), ki = Ci ? (
|
|
3074
3109
|
// Native
|
|
3075
3110
|
function(t) {
|
|
3076
3111
|
return t.trimEnd();
|
|
@@ -3078,32 +3113,32 @@ var kt = Hi ? (
|
|
|
3078
3113
|
) : (
|
|
3079
3114
|
// Ponyfill
|
|
3080
3115
|
function(t) {
|
|
3081
|
-
return t.replace(
|
|
3116
|
+
return t.replace(Ai, "");
|
|
3082
3117
|
}
|
|
3083
3118
|
);
|
|
3084
|
-
function
|
|
3119
|
+
function kr(e, t) {
|
|
3085
3120
|
return new RegExp(e, t);
|
|
3086
3121
|
}
|
|
3087
|
-
var
|
|
3088
|
-
if (
|
|
3089
|
-
var
|
|
3090
|
-
|
|
3122
|
+
var ft;
|
|
3123
|
+
if (ht) {
|
|
3124
|
+
var Xt = kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3125
|
+
ft = function(t, r) {
|
|
3091
3126
|
var n;
|
|
3092
|
-
|
|
3093
|
-
var i =
|
|
3127
|
+
Xt.lastIndex = r;
|
|
3128
|
+
var i = Xt.exec(t);
|
|
3094
3129
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3095
3130
|
};
|
|
3096
3131
|
} else
|
|
3097
|
-
|
|
3132
|
+
ft = function(t, r) {
|
|
3098
3133
|
for (var n = []; ; ) {
|
|
3099
|
-
var i =
|
|
3100
|
-
if (i === void 0 ||
|
|
3134
|
+
var i = Fr(t, r);
|
|
3135
|
+
if (i === void 0 || Dr(i) || ji(i))
|
|
3101
3136
|
break;
|
|
3102
3137
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3103
3138
|
}
|
|
3104
|
-
return
|
|
3139
|
+
return ct.apply(void 0, n);
|
|
3105
3140
|
};
|
|
3106
|
-
var
|
|
3141
|
+
var Di = (
|
|
3107
3142
|
/** @class */
|
|
3108
3143
|
function() {
|
|
3109
3144
|
function e(t, r) {
|
|
@@ -3127,14 +3162,14 @@ var Ri = (
|
|
|
3127
3162
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3128
3163
|
var s = this.clonePosition();
|
|
3129
3164
|
this.bump(), i.push({
|
|
3130
|
-
type:
|
|
3165
|
+
type: T.pound,
|
|
3131
3166
|
location: E(s, this.clonePosition())
|
|
3132
3167
|
});
|
|
3133
3168
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3134
3169
|
if (n)
|
|
3135
3170
|
break;
|
|
3136
|
-
return this.error(
|
|
3137
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3171
|
+
return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
3172
|
+
} else if (o === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
|
|
3138
3173
|
var a = this.parseTag(t, r);
|
|
3139
3174
|
if (a.err)
|
|
3140
3175
|
return a;
|
|
@@ -3155,7 +3190,7 @@ var Ri = (
|
|
|
3155
3190
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3156
3191
|
return {
|
|
3157
3192
|
val: {
|
|
3158
|
-
type:
|
|
3193
|
+
type: T.literal,
|
|
3159
3194
|
value: "<".concat(i, "/>"),
|
|
3160
3195
|
location: E(n, this.clonePosition())
|
|
3161
3196
|
},
|
|
@@ -3167,25 +3202,25 @@ var Ri = (
|
|
|
3167
3202
|
return o;
|
|
3168
3203
|
var a = o.val, s = this.clonePosition();
|
|
3169
3204
|
if (this.bumpIf("</")) {
|
|
3170
|
-
if (this.isEOF() || !
|
|
3171
|
-
return this.error(
|
|
3205
|
+
if (this.isEOF() || !pt(this.char()))
|
|
3206
|
+
return this.error(_.INVALID_TAG, E(s, this.clonePosition()));
|
|
3172
3207
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
3173
|
-
return i !== l ? this.error(
|
|
3208
|
+
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3174
3209
|
val: {
|
|
3175
|
-
type:
|
|
3210
|
+
type: T.tag,
|
|
3176
3211
|
value: i,
|
|
3177
3212
|
children: a,
|
|
3178
3213
|
location: E(n, this.clonePosition())
|
|
3179
3214
|
},
|
|
3180
3215
|
err: null
|
|
3181
|
-
} : this.error(
|
|
3216
|
+
} : this.error(_.INVALID_TAG, E(s, this.clonePosition())));
|
|
3182
3217
|
} else
|
|
3183
|
-
return this.error(
|
|
3218
|
+
return this.error(_.UNCLOSED_TAG, E(n, this.clonePosition()));
|
|
3184
3219
|
} else
|
|
3185
|
-
return this.error(
|
|
3220
|
+
return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
|
|
3186
3221
|
}, e.prototype.parseTagName = function() {
|
|
3187
3222
|
var t = this.offset();
|
|
3188
|
-
for (this.bump(); !this.isEOF() &&
|
|
3223
|
+
for (this.bump(); !this.isEOF() && $i(this.char()); )
|
|
3189
3224
|
this.bump();
|
|
3190
3225
|
return this.message.slice(t, this.offset());
|
|
3191
3226
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3209,12 +3244,12 @@ var Ri = (
|
|
|
3209
3244
|
}
|
|
3210
3245
|
var u = E(n, this.clonePosition());
|
|
3211
3246
|
return {
|
|
3212
|
-
val: { type:
|
|
3247
|
+
val: { type: T.literal, value: i, location: u },
|
|
3213
3248
|
err: null
|
|
3214
3249
|
};
|
|
3215
3250
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3216
3251
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3217
|
-
!
|
|
3252
|
+
!Gi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3218
3253
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3219
3254
|
if (this.isEOF() || this.char() !== 39)
|
|
3220
3255
|
return null;
|
|
@@ -3248,28 +3283,28 @@ var Ri = (
|
|
|
3248
3283
|
r.push(n);
|
|
3249
3284
|
this.bump();
|
|
3250
3285
|
}
|
|
3251
|
-
return
|
|
3286
|
+
return ct.apply(void 0, r);
|
|
3252
3287
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3253
3288
|
if (this.isEOF())
|
|
3254
3289
|
return null;
|
|
3255
3290
|
var n = this.char();
|
|
3256
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3291
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ct(n));
|
|
3257
3292
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3258
3293
|
var n = this.clonePosition();
|
|
3259
3294
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3260
|
-
return this.error(
|
|
3295
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
|
|
3261
3296
|
if (this.char() === 125)
|
|
3262
|
-
return this.bump(), this.error(
|
|
3297
|
+
return this.bump(), this.error(_.EMPTY_ARGUMENT, E(n, this.clonePosition()));
|
|
3263
3298
|
var i = this.parseIdentifierIfPossible().value;
|
|
3264
3299
|
if (!i)
|
|
3265
|
-
return this.error(
|
|
3300
|
+
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3266
3301
|
if (this.bumpSpace(), this.isEOF())
|
|
3267
|
-
return this.error(
|
|
3302
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
|
|
3268
3303
|
switch (this.char()) {
|
|
3269
3304
|
case 125:
|
|
3270
3305
|
return this.bump(), {
|
|
3271
3306
|
val: {
|
|
3272
|
-
type:
|
|
3307
|
+
type: T.argument,
|
|
3273
3308
|
// value does not include the opening and closing braces.
|
|
3274
3309
|
value: i,
|
|
3275
3310
|
location: E(n, this.clonePosition())
|
|
@@ -3277,12 +3312,12 @@ var Ri = (
|
|
|
3277
3312
|
err: null
|
|
3278
3313
|
};
|
|
3279
3314
|
case 44:
|
|
3280
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3315
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3281
3316
|
default:
|
|
3282
|
-
return this.error(
|
|
3317
|
+
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3283
3318
|
}
|
|
3284
3319
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3285
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3320
|
+
var t = this.clonePosition(), r = this.offset(), n = ft(this.message, r), i = r + n.length;
|
|
3286
3321
|
this.bumpTo(i);
|
|
3287
3322
|
var o = this.clonePosition(), a = E(t, o);
|
|
3288
3323
|
return { value: n, location: a };
|
|
@@ -3290,7 +3325,7 @@ var Ri = (
|
|
|
3290
3325
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3291
3326
|
switch (s) {
|
|
3292
3327
|
case "":
|
|
3293
|
-
return this.error(
|
|
3328
|
+
return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, u));
|
|
3294
3329
|
case "number":
|
|
3295
3330
|
case "date":
|
|
3296
3331
|
case "time": {
|
|
@@ -3301,46 +3336,46 @@ var Ri = (
|
|
|
3301
3336
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3302
3337
|
if (c.err)
|
|
3303
3338
|
return c;
|
|
3304
|
-
var f =
|
|
3339
|
+
var f = ki(c.val);
|
|
3305
3340
|
if (f.length === 0)
|
|
3306
|
-
return this.error(
|
|
3307
|
-
var
|
|
3308
|
-
l = { style: f, styleLocation:
|
|
3341
|
+
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3342
|
+
var d = E(h, this.clonePosition());
|
|
3343
|
+
l = { style: f, styleLocation: d };
|
|
3309
3344
|
}
|
|
3310
3345
|
var g = this.tryParseArgumentClose(i);
|
|
3311
3346
|
if (g.err)
|
|
3312
3347
|
return g;
|
|
3313
|
-
var
|
|
3314
|
-
if (l &&
|
|
3315
|
-
var
|
|
3348
|
+
var v = E(i, this.clonePosition());
|
|
3349
|
+
if (l && Wt(l?.style, "::", 0)) {
|
|
3350
|
+
var w = Fi(l.style.slice(2));
|
|
3316
3351
|
if (s === "number") {
|
|
3317
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3352
|
+
var c = this.parseNumberSkeletonFromString(w, l.styleLocation);
|
|
3318
3353
|
return c.err ? c : {
|
|
3319
|
-
val: { type:
|
|
3354
|
+
val: { type: T.number, value: n, location: v, style: c.val },
|
|
3320
3355
|
err: null
|
|
3321
3356
|
};
|
|
3322
3357
|
} else {
|
|
3323
|
-
if (
|
|
3324
|
-
return this.error(
|
|
3325
|
-
var
|
|
3326
|
-
this.locale && (
|
|
3358
|
+
if (w.length === 0)
|
|
3359
|
+
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3360
|
+
var H = w;
|
|
3361
|
+
this.locale && (H = Hi(w, this.locale));
|
|
3327
3362
|
var f = {
|
|
3328
|
-
type:
|
|
3329
|
-
pattern:
|
|
3363
|
+
type: le.dateTime,
|
|
3364
|
+
pattern: H,
|
|
3330
3365
|
location: l.styleLocation,
|
|
3331
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3332
|
-
},
|
|
3366
|
+
parsedOptions: this.shouldParseSkeletons ? vi(H) : {}
|
|
3367
|
+
}, L = s === "date" ? T.date : T.time;
|
|
3333
3368
|
return {
|
|
3334
|
-
val: { type:
|
|
3369
|
+
val: { type: L, value: n, location: v, style: f },
|
|
3335
3370
|
err: null
|
|
3336
3371
|
};
|
|
3337
3372
|
}
|
|
3338
3373
|
}
|
|
3339
3374
|
return {
|
|
3340
3375
|
val: {
|
|
3341
|
-
type: s === "number" ?
|
|
3376
|
+
type: s === "number" ? T.number : s === "date" ? T.date : T.time,
|
|
3342
3377
|
value: n,
|
|
3343
|
-
location:
|
|
3378
|
+
location: v,
|
|
3344
3379
|
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
|
3345
3380
|
},
|
|
3346
3381
|
err: null
|
|
@@ -3349,16 +3384,16 @@ var Ri = (
|
|
|
3349
3384
|
case "plural":
|
|
3350
3385
|
case "selectordinal":
|
|
3351
3386
|
case "select": {
|
|
3352
|
-
var
|
|
3387
|
+
var P = this.clonePosition();
|
|
3353
3388
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3354
|
-
return this.error(
|
|
3389
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(P, Re({}, P)));
|
|
3355
3390
|
this.bumpSpace();
|
|
3356
3391
|
var G = this.parseIdentifierIfPossible(), C = 0;
|
|
3357
3392
|
if (s !== "select" && G.value === "offset") {
|
|
3358
3393
|
if (!this.bumpIf(":"))
|
|
3359
|
-
return this.error(
|
|
3394
|
+
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
|
|
3360
3395
|
this.bumpSpace();
|
|
3361
|
-
var c = this.tryParseDecimalInteger(
|
|
3396
|
+
var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3362
3397
|
if (c.err)
|
|
3363
3398
|
return c;
|
|
3364
3399
|
this.bumpSpace(), G = this.parseIdentifierIfPossible(), C = c.val;
|
|
@@ -3369,32 +3404,32 @@ var Ri = (
|
|
|
3369
3404
|
var g = this.tryParseArgumentClose(i);
|
|
3370
3405
|
if (g.err)
|
|
3371
3406
|
return g;
|
|
3372
|
-
var
|
|
3407
|
+
var z = E(i, this.clonePosition());
|
|
3373
3408
|
return s === "select" ? {
|
|
3374
3409
|
val: {
|
|
3375
|
-
type:
|
|
3410
|
+
type: T.select,
|
|
3376
3411
|
value: n,
|
|
3377
|
-
options:
|
|
3378
|
-
location:
|
|
3412
|
+
options: Vt(V.val),
|
|
3413
|
+
location: z
|
|
3379
3414
|
},
|
|
3380
3415
|
err: null
|
|
3381
3416
|
} : {
|
|
3382
3417
|
val: {
|
|
3383
|
-
type:
|
|
3418
|
+
type: T.plural,
|
|
3384
3419
|
value: n,
|
|
3385
|
-
options:
|
|
3420
|
+
options: Vt(V.val),
|
|
3386
3421
|
offset: C,
|
|
3387
3422
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3388
|
-
location:
|
|
3423
|
+
location: z
|
|
3389
3424
|
},
|
|
3390
3425
|
err: null
|
|
3391
3426
|
};
|
|
3392
3427
|
}
|
|
3393
3428
|
default:
|
|
3394
|
-
return this.error(
|
|
3429
|
+
return this.error(_.INVALID_ARGUMENT_TYPE, E(a, u));
|
|
3395
3430
|
}
|
|
3396
3431
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3397
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3432
|
+
return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3398
3433
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3399
3434
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3400
3435
|
var n = this.char();
|
|
@@ -3403,7 +3438,7 @@ var Ri = (
|
|
|
3403
3438
|
this.bump();
|
|
3404
3439
|
var i = this.clonePosition();
|
|
3405
3440
|
if (!this.bumpUntil("'"))
|
|
3406
|
-
return this.error(
|
|
3441
|
+
return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
|
|
3407
3442
|
this.bump();
|
|
3408
3443
|
break;
|
|
3409
3444
|
}
|
|
@@ -3433,16 +3468,16 @@ var Ri = (
|
|
|
3433
3468
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3434
3469
|
var n = [];
|
|
3435
3470
|
try {
|
|
3436
|
-
n =
|
|
3471
|
+
n = _i(t);
|
|
3437
3472
|
} catch {
|
|
3438
|
-
return this.error(
|
|
3473
|
+
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3439
3474
|
}
|
|
3440
3475
|
return {
|
|
3441
3476
|
val: {
|
|
3442
|
-
type:
|
|
3477
|
+
type: le.number,
|
|
3443
3478
|
tokens: n,
|
|
3444
3479
|
location: r,
|
|
3445
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3480
|
+
parsedOptions: this.shouldParseSkeletons ? Si(n) : {}
|
|
3446
3481
|
},
|
|
3447
3482
|
err: null
|
|
3448
3483
|
};
|
|
@@ -3451,7 +3486,7 @@ var Ri = (
|
|
|
3451
3486
|
if (l.length === 0) {
|
|
3452
3487
|
var c = this.clonePosition();
|
|
3453
3488
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3454
|
-
var f = this.tryParseDecimalInteger(
|
|
3489
|
+
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3455
3490
|
if (f.err)
|
|
3456
3491
|
return f;
|
|
3457
3492
|
h = E(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
|
|
@@ -3459,26 +3494,26 @@ var Ri = (
|
|
|
3459
3494
|
break;
|
|
3460
3495
|
}
|
|
3461
3496
|
if (u.has(l))
|
|
3462
|
-
return this.error(r === "select" ?
|
|
3497
|
+
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3463
3498
|
l === "other" && (a = !0), this.bumpSpace();
|
|
3464
|
-
var
|
|
3499
|
+
var d = this.clonePosition();
|
|
3465
3500
|
if (!this.bumpIf("{"))
|
|
3466
|
-
return this.error(r === "select" ?
|
|
3501
|
+
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
|
|
3467
3502
|
var g = this.parseMessage(t + 1, r, n);
|
|
3468
3503
|
if (g.err)
|
|
3469
3504
|
return g;
|
|
3470
|
-
var
|
|
3471
|
-
if (
|
|
3472
|
-
return
|
|
3505
|
+
var v = this.tryParseArgumentClose(d);
|
|
3506
|
+
if (v.err)
|
|
3507
|
+
return v;
|
|
3473
3508
|
s.push([
|
|
3474
3509
|
l,
|
|
3475
3510
|
{
|
|
3476
3511
|
value: g.val,
|
|
3477
|
-
location: E(
|
|
3512
|
+
location: E(d, this.clonePosition())
|
|
3478
3513
|
}
|
|
3479
3514
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
|
|
3480
3515
|
}
|
|
3481
|
-
return s.length === 0 ? this.error(r === "select" ?
|
|
3516
|
+
return s.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3482
3517
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3483
3518
|
var n = 1, i = this.clonePosition();
|
|
3484
3519
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3490,7 +3525,7 @@ var Ri = (
|
|
|
3490
3525
|
break;
|
|
3491
3526
|
}
|
|
3492
3527
|
var u = E(i, this.clonePosition());
|
|
3493
|
-
return o ? (a *= n,
|
|
3528
|
+
return o ? (a *= n, Ri(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3494
3529
|
}, e.prototype.offset = function() {
|
|
3495
3530
|
return this.position.offset;
|
|
3496
3531
|
}, e.prototype.isEOF = function() {
|
|
@@ -3505,7 +3540,7 @@ var Ri = (
|
|
|
3505
3540
|
var t = this.position.offset;
|
|
3506
3541
|
if (t >= this.message.length)
|
|
3507
3542
|
throw Error("out of bound");
|
|
3508
|
-
var r =
|
|
3543
|
+
var r = Fr(this.message, t);
|
|
3509
3544
|
if (r === void 0)
|
|
3510
3545
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3511
3546
|
return r;
|
|
@@ -3524,7 +3559,7 @@ var Ri = (
|
|
|
3524
3559
|
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);
|
|
3525
3560
|
}
|
|
3526
3561
|
}, e.prototype.bumpIf = function(t) {
|
|
3527
|
-
if (
|
|
3562
|
+
if (Wt(this.message, t, this.offset())) {
|
|
3528
3563
|
for (var r = 0; r < t.length; r++)
|
|
3529
3564
|
this.bump();
|
|
3530
3565
|
return !0;
|
|
@@ -3546,7 +3581,7 @@ var Ri = (
|
|
|
3546
3581
|
break;
|
|
3547
3582
|
}
|
|
3548
3583
|
}, e.prototype.bumpSpace = function() {
|
|
3549
|
-
for (; !this.isEOF() &&
|
|
3584
|
+
for (; !this.isEOF() && Dr(this.char()); )
|
|
3550
3585
|
this.bump();
|
|
3551
3586
|
}, e.prototype.peek = function() {
|
|
3552
3587
|
if (this.isEOF())
|
|
@@ -3556,47 +3591,47 @@ var Ri = (
|
|
|
3556
3591
|
}, e;
|
|
3557
3592
|
}()
|
|
3558
3593
|
);
|
|
3559
|
-
function
|
|
3594
|
+
function pt(e) {
|
|
3560
3595
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3561
3596
|
}
|
|
3562
|
-
function
|
|
3563
|
-
return
|
|
3597
|
+
function Gi(e) {
|
|
3598
|
+
return pt(e) || e === 47;
|
|
3564
3599
|
}
|
|
3565
|
-
function
|
|
3600
|
+
function $i(e) {
|
|
3566
3601
|
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;
|
|
3567
3602
|
}
|
|
3568
|
-
function
|
|
3603
|
+
function Dr(e) {
|
|
3569
3604
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3570
3605
|
}
|
|
3571
|
-
function
|
|
3606
|
+
function ji(e) {
|
|
3572
3607
|
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;
|
|
3573
3608
|
}
|
|
3574
|
-
function
|
|
3609
|
+
function dt(e) {
|
|
3575
3610
|
e.forEach(function(t) {
|
|
3576
|
-
if (delete t.location,
|
|
3611
|
+
if (delete t.location, Pr(t) || Br(t))
|
|
3577
3612
|
for (var r in t.options)
|
|
3578
|
-
delete t.options[r].location,
|
|
3613
|
+
delete t.options[r].location, dt(t.options[r].value);
|
|
3579
3614
|
else
|
|
3580
|
-
|
|
3615
|
+
Or(t) && Ir(t.style) || (Ar(t) || Mr(t)) && lt(t.style) ? delete t.style.location : Lr(t) && dt(t.children);
|
|
3581
3616
|
});
|
|
3582
3617
|
}
|
|
3583
|
-
function
|
|
3584
|
-
t === void 0 && (t = {}), t =
|
|
3585
|
-
var r = new
|
|
3618
|
+
function Wi(e, t) {
|
|
3619
|
+
t === void 0 && (t = {}), t = Re({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3620
|
+
var r = new Di(e, t).parse();
|
|
3586
3621
|
if (r.err) {
|
|
3587
|
-
var n = SyntaxError(
|
|
3622
|
+
var n = SyntaxError(_[r.err.kind]);
|
|
3588
3623
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3589
3624
|
}
|
|
3590
|
-
return t?.captureLocation ||
|
|
3625
|
+
return t?.captureLocation || dt(r.val), r.val;
|
|
3591
3626
|
}
|
|
3592
|
-
var
|
|
3627
|
+
var he;
|
|
3593
3628
|
(function(e) {
|
|
3594
3629
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3595
|
-
})(
|
|
3596
|
-
var
|
|
3630
|
+
})(he || (he = {}));
|
|
3631
|
+
var $e = (
|
|
3597
3632
|
/** @class */
|
|
3598
3633
|
function(e) {
|
|
3599
|
-
|
|
3634
|
+
Ge(t, e);
|
|
3600
3635
|
function t(r, n, i) {
|
|
3601
3636
|
var o = e.call(this, r) || this;
|
|
3602
3637
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3605,155 +3640,155 @@ var ke = (
|
|
|
3605
3640
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3606
3641
|
}, t;
|
|
3607
3642
|
}(Error)
|
|
3608
|
-
),
|
|
3643
|
+
), zt = (
|
|
3609
3644
|
/** @class */
|
|
3610
3645
|
function(e) {
|
|
3611
|
-
|
|
3646
|
+
Ge(t, e);
|
|
3612
3647
|
function t(r, n, i, o) {
|
|
3613
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3648
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, o) || this;
|
|
3614
3649
|
}
|
|
3615
3650
|
return t;
|
|
3616
|
-
}(
|
|
3617
|
-
),
|
|
3651
|
+
}($e)
|
|
3652
|
+
), Vi = (
|
|
3618
3653
|
/** @class */
|
|
3619
3654
|
function(e) {
|
|
3620
|
-
|
|
3655
|
+
Ge(t, e);
|
|
3621
3656
|
function t(r, n, i) {
|
|
3622
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3657
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), he.INVALID_VALUE, i) || this;
|
|
3623
3658
|
}
|
|
3624
3659
|
return t;
|
|
3625
|
-
}(
|
|
3626
|
-
),
|
|
3660
|
+
}($e)
|
|
3661
|
+
), Xi = (
|
|
3627
3662
|
/** @class */
|
|
3628
3663
|
function(e) {
|
|
3629
|
-
|
|
3664
|
+
Ge(t, e);
|
|
3630
3665
|
function t(r, n) {
|
|
3631
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3666
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
|
|
3632
3667
|
}
|
|
3633
3668
|
return t;
|
|
3634
|
-
}(
|
|
3635
|
-
),
|
|
3669
|
+
}($e)
|
|
3670
|
+
), D;
|
|
3636
3671
|
(function(e) {
|
|
3637
3672
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3638
|
-
})(
|
|
3639
|
-
function
|
|
3673
|
+
})(D || (D = {}));
|
|
3674
|
+
function zi(e) {
|
|
3640
3675
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3641
3676
|
var n = t[t.length - 1];
|
|
3642
|
-
return !n || n.type !==
|
|
3677
|
+
return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
|
|
3643
3678
|
}, []);
|
|
3644
3679
|
}
|
|
3645
|
-
function
|
|
3680
|
+
function Zi(e) {
|
|
3646
3681
|
return typeof e == "function";
|
|
3647
3682
|
}
|
|
3648
|
-
function
|
|
3649
|
-
if (e.length === 1 &&
|
|
3683
|
+
function Le(e, t, r, n, i, o, a) {
|
|
3684
|
+
if (e.length === 1 && Dt(e[0]))
|
|
3650
3685
|
return [
|
|
3651
3686
|
{
|
|
3652
|
-
type:
|
|
3687
|
+
type: D.literal,
|
|
3653
3688
|
value: e[0].value
|
|
3654
3689
|
}
|
|
3655
3690
|
];
|
|
3656
3691
|
for (var s = [], u = 0, l = e; u < l.length; u++) {
|
|
3657
3692
|
var h = l[u];
|
|
3658
|
-
if (
|
|
3693
|
+
if (Dt(h)) {
|
|
3659
3694
|
s.push({
|
|
3660
|
-
type:
|
|
3695
|
+
type: D.literal,
|
|
3661
3696
|
value: h.value
|
|
3662
3697
|
});
|
|
3663
3698
|
continue;
|
|
3664
3699
|
}
|
|
3665
|
-
if (
|
|
3700
|
+
if (gi(h)) {
|
|
3666
3701
|
typeof o == "number" && s.push({
|
|
3667
|
-
type:
|
|
3702
|
+
type: D.literal,
|
|
3668
3703
|
value: r.getNumberFormat(t).format(o)
|
|
3669
3704
|
});
|
|
3670
3705
|
continue;
|
|
3671
3706
|
}
|
|
3672
3707
|
var c = h.value;
|
|
3673
3708
|
if (!(i && c in i))
|
|
3674
|
-
throw new
|
|
3709
|
+
throw new Xi(c, a);
|
|
3675
3710
|
var f = i[c];
|
|
3676
|
-
if (
|
|
3711
|
+
if (mi(h)) {
|
|
3677
3712
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3678
|
-
type: typeof f == "string" ?
|
|
3713
|
+
type: typeof f == "string" ? D.literal : D.object,
|
|
3679
3714
|
value: f
|
|
3680
3715
|
});
|
|
3681
3716
|
continue;
|
|
3682
3717
|
}
|
|
3683
|
-
if (
|
|
3684
|
-
var
|
|
3718
|
+
if (Ar(h)) {
|
|
3719
|
+
var d = typeof h.style == "string" ? n.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
|
|
3685
3720
|
s.push({
|
|
3686
|
-
type:
|
|
3687
|
-
value: r.getDateTimeFormat(t,
|
|
3721
|
+
type: D.literal,
|
|
3722
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3688
3723
|
});
|
|
3689
3724
|
continue;
|
|
3690
3725
|
}
|
|
3691
|
-
if (
|
|
3692
|
-
var
|
|
3726
|
+
if (Mr(h)) {
|
|
3727
|
+
var d = typeof h.style == "string" ? n.time[h.style] : lt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3693
3728
|
s.push({
|
|
3694
|
-
type:
|
|
3695
|
-
value: r.getDateTimeFormat(t,
|
|
3729
|
+
type: D.literal,
|
|
3730
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3696
3731
|
});
|
|
3697
3732
|
continue;
|
|
3698
3733
|
}
|
|
3699
|
-
if (
|
|
3700
|
-
var
|
|
3701
|
-
|
|
3702
|
-
type:
|
|
3703
|
-
value: r.getNumberFormat(t,
|
|
3734
|
+
if (Or(h)) {
|
|
3735
|
+
var d = typeof h.style == "string" ? n.number[h.style] : Ir(h.style) ? h.style.parsedOptions : void 0;
|
|
3736
|
+
d && d.scale && (f = f * (d.scale || 1)), s.push({
|
|
3737
|
+
type: D.literal,
|
|
3738
|
+
value: r.getNumberFormat(t, d).format(f)
|
|
3704
3739
|
});
|
|
3705
3740
|
continue;
|
|
3706
3741
|
}
|
|
3707
|
-
if (
|
|
3708
|
-
var g = h.children,
|
|
3709
|
-
if (!
|
|
3710
|
-
throw new
|
|
3711
|
-
var
|
|
3742
|
+
if (Lr(h)) {
|
|
3743
|
+
var g = h.children, v = h.value, w = i[v];
|
|
3744
|
+
if (!Zi(w))
|
|
3745
|
+
throw new Vi(v, "function", a);
|
|
3746
|
+
var H = Le(g, t, r, n, i, o), L = w(H.map(function(C) {
|
|
3712
3747
|
return C.value;
|
|
3713
3748
|
}));
|
|
3714
|
-
Array.isArray(
|
|
3749
|
+
Array.isArray(L) || (L = [L]), s.push.apply(s, L.map(function(C) {
|
|
3715
3750
|
return {
|
|
3716
|
-
type: typeof C == "string" ?
|
|
3751
|
+
type: typeof C == "string" ? D.literal : D.object,
|
|
3717
3752
|
value: C
|
|
3718
3753
|
};
|
|
3719
3754
|
}));
|
|
3720
3755
|
}
|
|
3721
|
-
if (
|
|
3722
|
-
var
|
|
3723
|
-
if (!
|
|
3724
|
-
throw new
|
|
3725
|
-
s.push.apply(s,
|
|
3756
|
+
if (Pr(h)) {
|
|
3757
|
+
var P = h.options[f] || h.options.other;
|
|
3758
|
+
if (!P)
|
|
3759
|
+
throw new zt(h.value, f, Object.keys(h.options), a);
|
|
3760
|
+
s.push.apply(s, Le(P.value, t, r, n, i));
|
|
3726
3761
|
continue;
|
|
3727
3762
|
}
|
|
3728
|
-
if (
|
|
3729
|
-
var
|
|
3730
|
-
if (!
|
|
3763
|
+
if (Br(h)) {
|
|
3764
|
+
var P = h.options["=".concat(f)];
|
|
3765
|
+
if (!P) {
|
|
3731
3766
|
if (!Intl.PluralRules)
|
|
3732
|
-
throw new
|
|
3767
|
+
throw new $e(`Intl.PluralRules is not available in this environment.
|
|
3733
3768
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3734
|
-
`,
|
|
3769
|
+
`, he.MISSING_INTL_API, a);
|
|
3735
3770
|
var G = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3736
|
-
|
|
3771
|
+
P = h.options[G] || h.options.other;
|
|
3737
3772
|
}
|
|
3738
|
-
if (!
|
|
3739
|
-
throw new
|
|
3740
|
-
s.push.apply(s,
|
|
3773
|
+
if (!P)
|
|
3774
|
+
throw new zt(h.value, f, Object.keys(h.options), a);
|
|
3775
|
+
s.push.apply(s, Le(P.value, t, r, n, i, f - (h.offset || 0)));
|
|
3741
3776
|
continue;
|
|
3742
3777
|
}
|
|
3743
3778
|
}
|
|
3744
|
-
return
|
|
3779
|
+
return zi(s);
|
|
3745
3780
|
}
|
|
3746
|
-
function
|
|
3747
|
-
return t ?
|
|
3748
|
-
return r[n] =
|
|
3781
|
+
function Qi(e, t) {
|
|
3782
|
+
return t ? X(X(X({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3783
|
+
return r[n] = X(X({}, e[n]), t[n] || {}), r;
|
|
3749
3784
|
}, {})) : e;
|
|
3750
3785
|
}
|
|
3751
|
-
function
|
|
3786
|
+
function Yi(e, t) {
|
|
3752
3787
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3753
|
-
return r[n] =
|
|
3754
|
-
},
|
|
3788
|
+
return r[n] = Qi(e[n], t[n]), r;
|
|
3789
|
+
}, X({}, e)) : e;
|
|
3755
3790
|
}
|
|
3756
|
-
function
|
|
3791
|
+
function Ke(e) {
|
|
3757
3792
|
return {
|
|
3758
3793
|
create: function() {
|
|
3759
3794
|
return {
|
|
@@ -3767,39 +3802,39 @@ function Ye(e) {
|
|
|
3767
3802
|
}
|
|
3768
3803
|
};
|
|
3769
3804
|
}
|
|
3770
|
-
function
|
|
3805
|
+
function qi(e) {
|
|
3771
3806
|
return e === void 0 && (e = {
|
|
3772
3807
|
number: {},
|
|
3773
3808
|
dateTime: {},
|
|
3774
3809
|
pluralRules: {}
|
|
3775
3810
|
}), {
|
|
3776
|
-
getNumberFormat:
|
|
3811
|
+
getNumberFormat: Ye(function() {
|
|
3777
3812
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3778
3813
|
r[n] = arguments[n];
|
|
3779
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3814
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Qe([void 0], r, !1)))();
|
|
3780
3815
|
}, {
|
|
3781
|
-
cache:
|
|
3782
|
-
strategy:
|
|
3816
|
+
cache: Ke(e.number),
|
|
3817
|
+
strategy: qe.variadic
|
|
3783
3818
|
}),
|
|
3784
|
-
getDateTimeFormat:
|
|
3819
|
+
getDateTimeFormat: Ye(function() {
|
|
3785
3820
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3786
3821
|
r[n] = arguments[n];
|
|
3787
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3822
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Qe([void 0], r, !1)))();
|
|
3788
3823
|
}, {
|
|
3789
|
-
cache:
|
|
3790
|
-
strategy:
|
|
3824
|
+
cache: Ke(e.dateTime),
|
|
3825
|
+
strategy: qe.variadic
|
|
3791
3826
|
}),
|
|
3792
|
-
getPluralRules:
|
|
3827
|
+
getPluralRules: Ye(function() {
|
|
3793
3828
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3794
3829
|
r[n] = arguments[n];
|
|
3795
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3830
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Qe([void 0], r, !1)))();
|
|
3796
3831
|
}, {
|
|
3797
|
-
cache:
|
|
3798
|
-
strategy:
|
|
3832
|
+
cache: Ke(e.pluralRules),
|
|
3833
|
+
strategy: qe.variadic
|
|
3799
3834
|
})
|
|
3800
3835
|
};
|
|
3801
3836
|
}
|
|
3802
|
-
var
|
|
3837
|
+
var Ji = (
|
|
3803
3838
|
/** @class */
|
|
3804
3839
|
function() {
|
|
3805
3840
|
function e(t, r, n, i) {
|
|
@@ -3814,11 +3849,11 @@ var Zi = (
|
|
|
3814
3849
|
if (l.length === 1)
|
|
3815
3850
|
return l[0].value;
|
|
3816
3851
|
var h = l.reduce(function(c, f) {
|
|
3817
|
-
return !c.length || f.type !==
|
|
3852
|
+
return !c.length || f.type !== D.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3818
3853
|
}, []);
|
|
3819
3854
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3820
3855
|
}, this.formatToParts = function(u) {
|
|
3821
|
-
return
|
|
3856
|
+
return Le(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
|
3822
3857
|
}, this.resolvedOptions = function() {
|
|
3823
3858
|
var u;
|
|
3824
3859
|
return {
|
|
@@ -3831,13 +3866,13 @@ var Zi = (
|
|
|
3831
3866
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3832
3867
|
var a = i || {};
|
|
3833
3868
|
a.formatters;
|
|
3834
|
-
var s =
|
|
3835
|
-
this.ast = e.__parse(t,
|
|
3869
|
+
var s = si(a, ["formatters"]);
|
|
3870
|
+
this.ast = e.__parse(t, X(X({}, s), { locale: this.resolvedLocale }));
|
|
3836
3871
|
} else
|
|
3837
3872
|
this.ast = t;
|
|
3838
3873
|
if (!Array.isArray(this.ast))
|
|
3839
3874
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3840
|
-
this.formats =
|
|
3875
|
+
this.formats = Yi(e.formats, n), this.formatters = i && i.formatters || qi(this.formatterCache);
|
|
3841
3876
|
}
|
|
3842
3877
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3843
3878
|
get: function() {
|
|
@@ -3850,7 +3885,7 @@ var Zi = (
|
|
|
3850
3885
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3851
3886
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3852
3887
|
}
|
|
3853
|
-
}, e.__parse =
|
|
3888
|
+
}, e.__parse = Wi, e.formats = {
|
|
3854
3889
|
number: {
|
|
3855
3890
|
integer: {
|
|
3856
3891
|
maximumFractionDigits: 0
|
|
@@ -3911,7 +3946,7 @@ var Zi = (
|
|
|
3911
3946
|
}, e;
|
|
3912
3947
|
}()
|
|
3913
3948
|
);
|
|
3914
|
-
function
|
|
3949
|
+
function Ki(e, t) {
|
|
3915
3950
|
if (t == null)
|
|
3916
3951
|
return;
|
|
3917
3952
|
if (t in e)
|
|
@@ -3932,92 +3967,92 @@ function Qi(e, t) {
|
|
|
3932
3967
|
n = void 0;
|
|
3933
3968
|
return n;
|
|
3934
3969
|
}
|
|
3935
|
-
const J = {},
|
|
3970
|
+
const J = {}, eo = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), Gr = (e, t) => {
|
|
3936
3971
|
if (t == null)
|
|
3937
3972
|
return;
|
|
3938
3973
|
if (t in J && e in J[t])
|
|
3939
3974
|
return J[t][e];
|
|
3940
|
-
const r =
|
|
3975
|
+
const r = je(t);
|
|
3941
3976
|
for (let n = 0; n < r.length; n++) {
|
|
3942
|
-
const i = r[n], o =
|
|
3977
|
+
const i = r[n], o = ro(i, e);
|
|
3943
3978
|
if (o)
|
|
3944
|
-
return
|
|
3979
|
+
return eo(e, t, o);
|
|
3945
3980
|
}
|
|
3946
3981
|
};
|
|
3947
|
-
let
|
|
3982
|
+
let vt;
|
|
3948
3983
|
const Se = De({});
|
|
3949
|
-
function
|
|
3950
|
-
return
|
|
3984
|
+
function to(e) {
|
|
3985
|
+
return vt[e] || null;
|
|
3951
3986
|
}
|
|
3952
|
-
function
|
|
3953
|
-
return e in
|
|
3987
|
+
function $r(e) {
|
|
3988
|
+
return e in vt;
|
|
3954
3989
|
}
|
|
3955
|
-
function
|
|
3956
|
-
if (
|
|
3990
|
+
function ro(e, t) {
|
|
3991
|
+
if (!$r(e))
|
|
3957
3992
|
return null;
|
|
3958
|
-
const r =
|
|
3959
|
-
return
|
|
3993
|
+
const r = to(e);
|
|
3994
|
+
return Ki(r, t);
|
|
3960
3995
|
}
|
|
3961
|
-
function
|
|
3996
|
+
function no(e) {
|
|
3962
3997
|
if (e == null)
|
|
3963
3998
|
return;
|
|
3964
|
-
const t =
|
|
3999
|
+
const t = je(e);
|
|
3965
4000
|
for (let r = 0; r < t.length; r++) {
|
|
3966
4001
|
const n = t[r];
|
|
3967
|
-
if (
|
|
4002
|
+
if ($r(n))
|
|
3968
4003
|
return n;
|
|
3969
4004
|
}
|
|
3970
4005
|
}
|
|
3971
|
-
function
|
|
3972
|
-
delete J[e], Se.update((r) => (r[e] =
|
|
4006
|
+
function jr(e, ...t) {
|
|
4007
|
+
delete J[e], Se.update((r) => (r[e] = ai.all([r[e] || {}, ...t]), r));
|
|
3973
4008
|
}
|
|
3974
|
-
|
|
4009
|
+
de(
|
|
3975
4010
|
[Se],
|
|
3976
4011
|
([e]) => Object.keys(e)
|
|
3977
4012
|
);
|
|
3978
|
-
Se.subscribe((e) =>
|
|
4013
|
+
Se.subscribe((e) => vt = e);
|
|
3979
4014
|
const Ie = {};
|
|
3980
|
-
function
|
|
4015
|
+
function io(e, t) {
|
|
3981
4016
|
Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
|
|
3982
4017
|
}
|
|
3983
|
-
function
|
|
4018
|
+
function Wr(e) {
|
|
3984
4019
|
return Ie[e];
|
|
3985
4020
|
}
|
|
3986
|
-
function
|
|
3987
|
-
return
|
|
3988
|
-
const r =
|
|
4021
|
+
function oo(e) {
|
|
4022
|
+
return je(e).map((t) => {
|
|
4023
|
+
const r = Wr(t);
|
|
3989
4024
|
return [t, r ? [...r] : []];
|
|
3990
4025
|
}).filter(([, t]) => t.length > 0);
|
|
3991
4026
|
}
|
|
3992
|
-
function
|
|
3993
|
-
return e == null ? !1 :
|
|
4027
|
+
function mt(e) {
|
|
4028
|
+
return e == null ? !1 : je(e).some(
|
|
3994
4029
|
(t) => {
|
|
3995
4030
|
var r;
|
|
3996
|
-
return (r =
|
|
4031
|
+
return (r = Wr(t)) == null ? void 0 : r.size;
|
|
3997
4032
|
}
|
|
3998
4033
|
);
|
|
3999
4034
|
}
|
|
4000
|
-
function
|
|
4035
|
+
function ao(e, t) {
|
|
4001
4036
|
return Promise.all(
|
|
4002
|
-
t.map((n) => (
|
|
4003
|
-
).then((n) =>
|
|
4004
|
-
}
|
|
4005
|
-
const
|
|
4006
|
-
function
|
|
4007
|
-
if (!
|
|
4008
|
-
return e in
|
|
4009
|
-
const t =
|
|
4010
|
-
return
|
|
4037
|
+
t.map((n) => (io(e, n), n().then((i) => i.default || i)))
|
|
4038
|
+
).then((n) => jr(e, ...n));
|
|
4039
|
+
}
|
|
4040
|
+
const be = {};
|
|
4041
|
+
function Vr(e) {
|
|
4042
|
+
if (!mt(e))
|
|
4043
|
+
return e in be ? be[e] : Promise.resolve();
|
|
4044
|
+
const t = oo(e);
|
|
4045
|
+
return be[e] = Promise.all(
|
|
4011
4046
|
t.map(
|
|
4012
|
-
([r, n]) =>
|
|
4047
|
+
([r, n]) => ao(r, n)
|
|
4013
4048
|
)
|
|
4014
4049
|
).then(() => {
|
|
4015
|
-
if (
|
|
4016
|
-
return
|
|
4017
|
-
delete
|
|
4018
|
-
}),
|
|
4050
|
+
if (mt(e))
|
|
4051
|
+
return Vr(e);
|
|
4052
|
+
delete be[e];
|
|
4053
|
+
}), be[e];
|
|
4019
4054
|
}
|
|
4020
|
-
const
|
|
4055
|
+
const so = {
|
|
4021
4056
|
number: {
|
|
4022
4057
|
scientific: { notation: "scientific" },
|
|
4023
4058
|
engineering: { notation: "engineering" },
|
|
@@ -4046,135 +4081,135 @@ const no = {
|
|
|
4046
4081
|
timeZoneName: "short"
|
|
4047
4082
|
}
|
|
4048
4083
|
}
|
|
4049
|
-
},
|
|
4084
|
+
}, uo = {
|
|
4050
4085
|
fallbackLocale: null,
|
|
4051
4086
|
loadingDelay: 200,
|
|
4052
|
-
formats:
|
|
4087
|
+
formats: so,
|
|
4053
4088
|
warnOnMissingMessages: !0,
|
|
4054
4089
|
handleMissingMessage: void 0,
|
|
4055
4090
|
ignoreTag: !0
|
|
4056
|
-
},
|
|
4057
|
-
function
|
|
4058
|
-
return
|
|
4059
|
-
}
|
|
4060
|
-
const
|
|
4061
|
-
var
|
|
4062
|
-
for (var r in t)
|
|
4063
|
-
|
|
4064
|
-
if (
|
|
4065
|
-
for (var r of
|
|
4066
|
-
|
|
4091
|
+
}, lo = uo;
|
|
4092
|
+
function ce() {
|
|
4093
|
+
return lo;
|
|
4094
|
+
}
|
|
4095
|
+
const et = De(!1);
|
|
4096
|
+
var ho = Object.defineProperty, co = Object.defineProperties, fo = Object.getOwnPropertyDescriptors, Zt = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, mo = Object.prototype.propertyIsEnumerable, Qt = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, go = (e, t) => {
|
|
4097
|
+
for (var r in t || (t = {}))
|
|
4098
|
+
po.call(t, r) && Qt(e, r, t[r]);
|
|
4099
|
+
if (Zt)
|
|
4100
|
+
for (var r of Zt(t))
|
|
4101
|
+
mo.call(t, r) && Qt(e, r, t[r]);
|
|
4067
4102
|
return e;
|
|
4068
|
-
},
|
|
4069
|
-
let
|
|
4070
|
-
const
|
|
4071
|
-
function
|
|
4103
|
+
}, bo = (e, t) => co(e, fo(t));
|
|
4104
|
+
let gt;
|
|
4105
|
+
const Ue = De(null);
|
|
4106
|
+
function Yt(e) {
|
|
4072
4107
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4073
4108
|
}
|
|
4074
|
-
function
|
|
4075
|
-
const r =
|
|
4076
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4109
|
+
function je(e, t = ce().fallbackLocale) {
|
|
4110
|
+
const r = Yt(e);
|
|
4111
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Yt(t)])] : r;
|
|
4077
4112
|
}
|
|
4078
4113
|
function re() {
|
|
4079
|
-
return
|
|
4114
|
+
return gt ?? void 0;
|
|
4080
4115
|
}
|
|
4081
|
-
|
|
4082
|
-
|
|
4116
|
+
Ue.subscribe((e) => {
|
|
4117
|
+
gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4083
4118
|
});
|
|
4084
|
-
const
|
|
4085
|
-
if (e &&
|
|
4086
|
-
const { loadingDelay: t } =
|
|
4119
|
+
const vo = (e) => {
|
|
4120
|
+
if (e && no(e) && mt(e)) {
|
|
4121
|
+
const { loadingDelay: t } = ce();
|
|
4087
4122
|
let r;
|
|
4088
4123
|
return typeof window < "u" && re() != null && t ? r = window.setTimeout(
|
|
4089
|
-
() =>
|
|
4124
|
+
() => et.set(!0),
|
|
4090
4125
|
t
|
|
4091
|
-
) :
|
|
4092
|
-
|
|
4126
|
+
) : et.set(!0), Vr(e).then(() => {
|
|
4127
|
+
Ue.set(e);
|
|
4093
4128
|
}).finally(() => {
|
|
4094
|
-
clearTimeout(r),
|
|
4129
|
+
clearTimeout(r), et.set(!1);
|
|
4095
4130
|
});
|
|
4096
4131
|
}
|
|
4097
|
-
return
|
|
4098
|
-
},
|
|
4099
|
-
set:
|
|
4100
|
-
}),
|
|
4132
|
+
return Ue.set(e);
|
|
4133
|
+
}, me = bo(go({}, Ue), {
|
|
4134
|
+
set: vo
|
|
4135
|
+
}), We = (e) => {
|
|
4101
4136
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4102
4137
|
return (n) => {
|
|
4103
4138
|
const i = JSON.stringify(n);
|
|
4104
4139
|
return i in t ? t[i] : t[i] = e(n);
|
|
4105
4140
|
};
|
|
4106
4141
|
};
|
|
4107
|
-
var
|
|
4142
|
+
var yo = Object.defineProperty, Fe = Object.getOwnPropertySymbols, Xr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
|
|
4108
4143
|
for (var r in t || (t = {}))
|
|
4109
|
-
|
|
4110
|
-
if (
|
|
4111
|
-
for (var r of
|
|
4112
|
-
|
|
4144
|
+
Xr.call(t, r) && qt(e, r, t[r]);
|
|
4145
|
+
if (Fe)
|
|
4146
|
+
for (var r of Fe(t))
|
|
4147
|
+
zr.call(t, r) && qt(e, r, t[r]);
|
|
4113
4148
|
return e;
|
|
4114
|
-
},
|
|
4149
|
+
}, ge = (e, t) => {
|
|
4115
4150
|
var r = {};
|
|
4116
4151
|
for (var n in e)
|
|
4117
|
-
|
|
4118
|
-
if (e != null &&
|
|
4119
|
-
for (var n of
|
|
4120
|
-
t.indexOf(n) < 0 &&
|
|
4152
|
+
Xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4153
|
+
if (e != null && Fe)
|
|
4154
|
+
for (var n of Fe(e))
|
|
4155
|
+
t.indexOf(n) < 0 && zr.call(e, n) && (r[n] = e[n]);
|
|
4121
4156
|
return r;
|
|
4122
4157
|
};
|
|
4123
|
-
const
|
|
4124
|
-
const { formats: r } =
|
|
4158
|
+
const xe = (e, t) => {
|
|
4159
|
+
const { formats: r } = ce();
|
|
4125
4160
|
if (e in r && t in r[e])
|
|
4126
4161
|
return r[e][t];
|
|
4127
4162
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4128
|
-
},
|
|
4163
|
+
}, _o = We(
|
|
4129
4164
|
(e) => {
|
|
4130
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4165
|
+
var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
|
|
4131
4166
|
if (r == null)
|
|
4132
4167
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4133
|
-
return n && (i =
|
|
4168
|
+
return n && (i = xe("number", n)), new Intl.NumberFormat(r, i);
|
|
4134
4169
|
}
|
|
4135
|
-
),
|
|
4170
|
+
), xo = We(
|
|
4136
4171
|
(e) => {
|
|
4137
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4172
|
+
var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
|
|
4138
4173
|
if (r == null)
|
|
4139
4174
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4140
|
-
return n ? i =
|
|
4175
|
+
return n ? i = xe("date", n) : Object.keys(i).length === 0 && (i = xe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4141
4176
|
}
|
|
4142
|
-
),
|
|
4177
|
+
), Eo = We(
|
|
4143
4178
|
(e) => {
|
|
4144
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4179
|
+
var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
|
|
4145
4180
|
if (r == null)
|
|
4146
4181
|
throw new Error(
|
|
4147
4182
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4148
4183
|
);
|
|
4149
|
-
return n ? i =
|
|
4184
|
+
return n ? i = xe("time", n) : Object.keys(i).length === 0 && (i = xe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4150
4185
|
}
|
|
4151
|
-
),
|
|
4186
|
+
), wo = (e = {}) => {
|
|
4152
4187
|
var t = e, {
|
|
4153
4188
|
locale: r = re()
|
|
4154
|
-
} = t, n =
|
|
4189
|
+
} = t, n = ge(t, [
|
|
4155
4190
|
"locale"
|
|
4156
4191
|
]);
|
|
4157
|
-
return
|
|
4158
|
-
},
|
|
4192
|
+
return _o(yt({ locale: r }, n));
|
|
4193
|
+
}, So = (e = {}) => {
|
|
4159
4194
|
var t = e, {
|
|
4160
4195
|
locale: r = re()
|
|
4161
|
-
} = t, n =
|
|
4196
|
+
} = t, n = ge(t, [
|
|
4162
4197
|
"locale"
|
|
4163
4198
|
]);
|
|
4164
|
-
return
|
|
4165
|
-
},
|
|
4199
|
+
return xo(yt({ locale: r }, n));
|
|
4200
|
+
}, Ho = (e = {}) => {
|
|
4166
4201
|
var t = e, {
|
|
4167
4202
|
locale: r = re()
|
|
4168
|
-
} = t, n =
|
|
4203
|
+
} = t, n = ge(t, [
|
|
4169
4204
|
"locale"
|
|
4170
4205
|
]);
|
|
4171
|
-
return
|
|
4172
|
-
},
|
|
4206
|
+
return Eo(yt({ locale: r }, n));
|
|
4207
|
+
}, To = We(
|
|
4173
4208
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4174
|
-
(e, t = re()) => new
|
|
4175
|
-
ignoreTag:
|
|
4209
|
+
(e, t = re()) => new Ji(e, t, ce().formats, {
|
|
4210
|
+
ignoreTag: ce().ignoreTag
|
|
4176
4211
|
})
|
|
4177
|
-
),
|
|
4212
|
+
), Oo = (e, t = {}) => {
|
|
4178
4213
|
var r, n, i, o;
|
|
4179
4214
|
let a = t;
|
|
4180
4215
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4187,9 +4222,9 @@ const Ee = (e, t) => {
|
|
|
4187
4222
|
throw new Error(
|
|
4188
4223
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4189
4224
|
);
|
|
4190
|
-
let h =
|
|
4225
|
+
let h = Gr(e, u);
|
|
4191
4226
|
if (!h)
|
|
4192
|
-
h = (o = (i = (n = (r =
|
|
4227
|
+
h = (o = (i = (n = (r = ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4193
4228
|
else if (typeof h != "string")
|
|
4194
4229
|
return console.warn(
|
|
4195
4230
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4198,7 +4233,7 @@ const Ee = (e, t) => {
|
|
|
4198
4233
|
return h;
|
|
4199
4234
|
let c = h;
|
|
4200
4235
|
try {
|
|
4201
|
-
c =
|
|
4236
|
+
c = To(h, u).format(s);
|
|
4202
4237
|
} catch (f) {
|
|
4203
4238
|
f instanceof Error && console.warn(
|
|
4204
4239
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4206,20 +4241,20 @@ const Ee = (e, t) => {
|
|
|
4206
4241
|
);
|
|
4207
4242
|
}
|
|
4208
4243
|
return c;
|
|
4209
|
-
},
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
window.emWidgets = { topic:
|
|
4215
|
-
const
|
|
4216
|
-
function
|
|
4244
|
+
}, Ao = (e, t) => Ho(t).format(e), Mo = (e, t) => So(t).format(e), Po = (e, t) => wo(t).format(e), Bo = (e, t = re()) => Gr(e, t), Lo = de([me, Se], () => Oo);
|
|
4245
|
+
de([me], () => Ao);
|
|
4246
|
+
de([me], () => Mo);
|
|
4247
|
+
de([me], () => Po);
|
|
4248
|
+
de([me, Se], () => Bo);
|
|
4249
|
+
window.emWidgets = { topic: jn };
|
|
4250
|
+
const Io = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Co = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4251
|
+
function No(e, t) {
|
|
4217
4252
|
if (e) {
|
|
4218
4253
|
const r = document.createElement("style");
|
|
4219
4254
|
r.innerHTML = t, e.appendChild(r);
|
|
4220
4255
|
}
|
|
4221
4256
|
}
|
|
4222
|
-
function
|
|
4257
|
+
function Ro(e, t) {
|
|
4223
4258
|
const r = new URL(t);
|
|
4224
4259
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4225
4260
|
const i = document.createElement("style");
|
|
@@ -4228,7 +4263,7 @@ function Po(e, t) {
|
|
|
4228
4263
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4229
4264
|
});
|
|
4230
4265
|
}
|
|
4231
|
-
function
|
|
4266
|
+
function Uo(e, t, r) {
|
|
4232
4267
|
if (window.emMessageBus) {
|
|
4233
4268
|
const n = document.createElement("style");
|
|
4234
4269
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4236,13 +4271,13 @@ function Io(e, t, r) {
|
|
|
4236
4271
|
});
|
|
4237
4272
|
}
|
|
4238
4273
|
}
|
|
4239
|
-
function
|
|
4240
|
-
|
|
4274
|
+
function Jt(e, t) {
|
|
4275
|
+
jr(e, t);
|
|
4241
4276
|
}
|
|
4242
|
-
function
|
|
4243
|
-
|
|
4277
|
+
function Fo(e) {
|
|
4278
|
+
me.set(e);
|
|
4244
4279
|
}
|
|
4245
|
-
const
|
|
4280
|
+
const Kt = {
|
|
4246
4281
|
en: {
|
|
4247
4282
|
language: "Select Language"
|
|
4248
4283
|
},
|
|
@@ -4277,65 +4312,65 @@ const Qt = {
|
|
|
4277
4312
|
language: "Select Language"
|
|
4278
4313
|
}
|
|
4279
4314
|
};
|
|
4280
|
-
function
|
|
4281
|
-
|
|
4315
|
+
function ko(e) {
|
|
4316
|
+
ln(e, "svelte-1kfw037", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.Skeleton{animation:skeleton-loading 0.6s linear infinite alternate}@keyframes skeleton-loading{0%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%)}12%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.225) 0%, rgba(0, 61, 93, 0.225) 100%)}25%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.25) 0%, rgba(0, 61, 93, 0.25) 100%)}33%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.275) 0%, rgba(0, 61, 93, 0.275) 100%)}50%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.3) 0%, rgba(0, 61, 93, 0.3) 100%)}63%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.325) 0%, rgba(0, 61, 93, 0.325) 100%)}75%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.35) 0%, rgba(0, 61, 93, 0.35) 100%)}88%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.375) 0%, rgba(0, 61, 93, 0.375) 100%)}100%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.4) 0%, rgba(0, 61, 93, 0.4) 100%)}}@keyframes increaseTransparency{0%{opacity:0}25%{opacity:0.25}75%{opacity:0.75}100%{opacity:1}}@keyframes decreaseTransparency{100%{opacity:1}75%{opacity:0.75}25%{opacity:0.25}0%{opacity:0}}@keyframes growWidthPercent{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes growWidth{from{transform:translateY(0)}to{transform:translateY(0)}}@keyframes decreaseWidth{from{transform:translateX(1)}to{transform:translateX(0)}}.NavIcon{width:30px;height:28px;position:relative;margin:3px auto;transform:rotate(0deg);transition:transform 0.2s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;transform:rotate(0deg);transition:transform 0.2s ease-in-out, opacity 0.2s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;transform:rotate(135deg);transition:transform 0.3s ease-in-out}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;transform:rotate(-135deg);transition:transform 0.3s ease-in-out}.SelectedOption{display:flex;align-items:center;justify-content:center}.SelectedOption .TriangleActive,.SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transform:rotateX(0deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive svg,.SelectedOption .TriangleInactive svg{margin:-2px 0px;fill:white}.SelectedOption .TriangleActive{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive:hover{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.FlagIcon>img{width:20px;height:14px;margin-right:8px;border-radius:2px}.LanguageSelector{padding:5px 0;margin-bottom:0;display:flex;justify-content:space-between;background:linear-gradient(90deg, rgba(35, 178, 78, 0.9) 0%, rgba(0, 61, 93, 0.9) 100%);transition:transform 0.2s linear;height:44px}.LanguageSelector span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));opacity:0.8;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:14px}.LanguageSelector:active{transition:all 0.2s ease}.LanguageSelector:active span{transition:all 0.1s linear;opacity:1}.LanguageSelector.Open{box-shadow:inset 0 -3.25em 0 0 var(--emw--color-primary)}.LanguageSelector .LanguageSelectorTitle{margin:0 20px}.LanguageSelector .LanguageDropdown{margin-right:16px;display:inline-block}.LanguageSelector .OptionList{position:absolute;background:linear-gradient(90deg, rgba(35, 178, 78, 0.1) 0%, rgba(0, 61, 93, 0.1) 100%);min-width:180px;z-index:1;overflow-y:auto;display:flex;flex-direction:column-reverse;bottom:44px;left:0;gap:5px;padding-bottom:5px;width:100%;height:0px;transition:transform 0.2s linear}.LanguageSelector .OptionList.Open{transition:transform 0.2s linear;height:auto;background-color:var(--emw--color-background-secondary, #000000);overflow:auto}.LanguageSelector .OptionList .LanguageOption{display:flex;border:2px solid #22B04E;border-radius:13px;align-items:center;opacity:0.2;height:0px;background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%);margin:0 5px;transition:transform 0.3s linear}.LanguageSelector .OptionList .LanguageOption.Open{height:50px;opacity:1;padding:10px 5px}.LanguageSelector .OptionList .LanguageOption:active,.LanguageSelector .OptionList .LanguageOption:hover{background:linear-gradient(90deg, rgb(35, 178, 78) 0%, rgb(0, 61, 93) 100%);transform:scale(1.03);transition:transform 0.2s ease-in-out}.LanguageSelector .OptionList .LanguageOption:active span,.LanguageSelector .OptionList .LanguageOption:hover span{color:black}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:flex;align-items:flex-start;position:fixed;width:100%;height:100%;z-index:100;z-index:999999;top:0;left:0;background-color:rgba(0, 0, 0, 0.85);animation:increaseTransparency 0.2s ease-in forwards}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--color-primary);display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;border-top:0;border-radius:0;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{animation:growWidth 0.2s forwards;transform-origin:left;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer.Closing{animation:decreaseWidth 0.2s backwards;transform-origin:right;animation-fill-mode:backwards;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(13, 78, 2) 0%, rgb(35, 172, 77) 50%, rgb(13, 78, 2) 100%);z-index:3}.HamburgerModalWindow .ModalCloseBtn{position:relative;top:25px;width:30px;height:30px;opacity:1;margin-left:7px;margin-right:9px;cursor:pointer}.HamburgerModalWindow .ModalCloseBtn .NavIcon .Open{width:90vw}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));transform-origin:left;transform:scaleX(0);animation:growWidthPercent 0.2s both;animation-delay:0.1s}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:transform 150ms ease-in-out, opacity 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #000000));white-space:nowrap;overflow-x:scroll;list-style:none;width:90vw;text-transform:uppercase;font-size:11px;transition:all 0.2s;height:80px}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:125px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li:active{transform:scale(1.1)}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04F));color:black}.HamburgerModalWindow .HamburgerPrimaryMenu .Loading{width:150px;height:86px;margin:0 2px}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;height:calc(100% - 124px);overflow:auto;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.Overlay{opacity:0.5;transition:opacity 0.2s ease-in-out}.HamburgerModalWindow .HamburgerSecondaryMenu li{padding:10px;display:flex;align-items:center;gap:15px;transition:transform 0.2s linear}.HamburgerModalWindow .HamburgerSecondaryMenu li:active{background-color:var(--emw--color-primary);transform:scale(1.1)}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #22B04F)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
|
|
4282
4317
|
}
|
|
4283
|
-
function
|
|
4318
|
+
function er(e, t, r) {
|
|
4284
4319
|
const n = e.slice();
|
|
4285
4320
|
return n[57] = t[r], n;
|
|
4286
4321
|
}
|
|
4287
|
-
function
|
|
4322
|
+
function tr(e, t, r) {
|
|
4288
4323
|
const n = e.slice();
|
|
4289
4324
|
return n[1] = t[r], n;
|
|
4290
4325
|
}
|
|
4291
|
-
function
|
|
4326
|
+
function rr(e, t, r) {
|
|
4292
4327
|
const n = e.slice();
|
|
4293
4328
|
return n[60] = t[r], n;
|
|
4294
4329
|
}
|
|
4295
|
-
function
|
|
4330
|
+
function Do(e, t, r) {
|
|
4296
4331
|
const n = e.slice();
|
|
4297
4332
|
return n[66] = t[r], n;
|
|
4298
4333
|
}
|
|
4299
|
-
function
|
|
4334
|
+
function nr(e, t, r) {
|
|
4300
4335
|
const n = e.slice();
|
|
4301
4336
|
return n[63] = t[r], n;
|
|
4302
4337
|
}
|
|
4303
|
-
function
|
|
4304
|
-
let t, r, n, i, o, a, s, u, l, h, c, f,
|
|
4338
|
+
function ir(e) {
|
|
4339
|
+
let t, r, n, i, o, a, s, u, l, h, c, f, d, g, v, w, H, L, P, G, C, V, z;
|
|
4305
4340
|
function ne(x, R) {
|
|
4306
4341
|
return (
|
|
4307
4342
|
/*HamburgerMenuItems*/
|
|
4308
|
-
x[4].length > 0 ?
|
|
4343
|
+
x[4].length > 0 ? $o : Go
|
|
4309
4344
|
);
|
|
4310
4345
|
}
|
|
4311
|
-
let q = ne(e), N = q(e), j =
|
|
4346
|
+
let q = ne(e), N = q(e), j = Y(
|
|
4312
4347
|
/*activeMenuItemChildren*/
|
|
4313
4348
|
e[6]
|
|
4314
|
-
),
|
|
4349
|
+
), O = [];
|
|
4315
4350
|
for (let x = 0; x < j.length; x += 1)
|
|
4316
|
-
|
|
4317
|
-
let
|
|
4351
|
+
O[x] = ur(rr(e, j, x));
|
|
4352
|
+
let B = (
|
|
4318
4353
|
/*languagesArray*/
|
|
4319
|
-
e[9].length > 1 &&
|
|
4354
|
+
e[9].length > 1 && lr(e)
|
|
4320
4355
|
);
|
|
4321
4356
|
return {
|
|
4322
4357
|
c() {
|
|
4323
|
-
t =
|
|
4324
|
-
for (let x = 0; x <
|
|
4325
|
-
|
|
4326
|
-
l = U(),
|
|
4327
|
-
(e[10] ? "Overlay" : "")),
|
|
4358
|
+
t = y("div"), r = y("div"), n = y("ul"), N.c(), i = U(), o = y("div"), a = U(), s = y("ul");
|
|
4359
|
+
for (let x = 0; x < O.length; x += 1)
|
|
4360
|
+
O[x].c();
|
|
4361
|
+
l = U(), B && B.c(), c = U(), f = y("span"), d = y("div"), g = y("span"), v = U(), w = y("span"), H = U(), L = y("span"), m(n, "class", "HamburgerPrimaryMenu"), m(o, "class", "Separator"), m(s, "class", u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
|
|
4362
|
+
(e[10] ? "Overlay" : "")), m(r, "class", h = "HamburgerModalContainer " + /*modalIsOpen*/
|
|
4328
4363
|
(e[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
|
|
4329
|
-
(e[12] ? "Closing" : "")),
|
|
4330
|
-
e[13] ? "" : "Open")),
|
|
4331
|
-
e[7] ? "ModalCloseBtn" : ""),
|
|
4364
|
+
(e[12] ? "Closing" : "")), m(d, "class", P = "NavIcon " + (/*navIconClosing*/
|
|
4365
|
+
e[13] ? "" : "Open")), m(f, "class", G = /*modalIsOpen*/
|
|
4366
|
+
e[7] ? "ModalCloseBtn" : ""), m(f, "role", "button"), m(t, "class", C = "HamburgerModalWindow " + /*isClosing*/
|
|
4332
4367
|
(e[12] ? " Closing" : ""));
|
|
4333
4368
|
},
|
|
4334
4369
|
m(x, R) {
|
|
4335
4370
|
F(x, t, R), b(t, r), b(r, n), N.m(n, null), b(r, i), b(r, o), b(r, a), b(r, s);
|
|
4336
|
-
for (let
|
|
4337
|
-
|
|
4338
|
-
b(r, l),
|
|
4371
|
+
for (let S = 0; S < O.length; S += 1)
|
|
4372
|
+
O[S] && O[S].m(s, null);
|
|
4373
|
+
b(r, l), B && B.m(r, null), b(t, c), b(t, f), b(f, d), b(d, g), b(d, v), b(d, w), b(d, H), b(d, L), e[40](t), V || (z = te(
|
|
4339
4374
|
f,
|
|
4340
4375
|
"click",
|
|
4341
4376
|
/*close*/
|
|
@@ -4345,47 +4380,47 @@ function er(e) {
|
|
|
4345
4380
|
p(x, R) {
|
|
4346
4381
|
if (q === (q = ne(x)) && N ? N.p(x, R) : (N.d(1), N = q(x), N && (N.c(), N.m(n, null))), R[0] & /*handleClick, activeMenuItemChildren*/
|
|
4347
4382
|
262208) {
|
|
4348
|
-
j =
|
|
4383
|
+
j = Y(
|
|
4349
4384
|
/*activeMenuItemChildren*/
|
|
4350
4385
|
x[6]
|
|
4351
4386
|
);
|
|
4352
|
-
let
|
|
4353
|
-
for (
|
|
4354
|
-
const W =
|
|
4355
|
-
|
|
4387
|
+
let S;
|
|
4388
|
+
for (S = 0; S < j.length; S += 1) {
|
|
4389
|
+
const W = rr(x, j, S);
|
|
4390
|
+
O[S] ? O[S].p(W, R) : (O[S] = ur(W), O[S].c(), O[S].m(s, null));
|
|
4356
4391
|
}
|
|
4357
|
-
for (;
|
|
4358
|
-
|
|
4359
|
-
|
|
4392
|
+
for (; S < O.length; S += 1)
|
|
4393
|
+
O[S].d(1);
|
|
4394
|
+
O.length = j.length;
|
|
4360
4395
|
}
|
|
4361
4396
|
R[0] & /*isOptionsListVisible*/
|
|
4362
4397
|
1024 && u !== (u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
|
|
4363
|
-
(x[10] ? "Overlay" : "")) &&
|
|
4364
|
-
x[9].length > 1 ?
|
|
4398
|
+
(x[10] ? "Overlay" : "")) && m(s, "class", u), /*languagesArray*/
|
|
4399
|
+
x[9].length > 1 ? B ? B.p(x, R) : (B = lr(x), B.c(), B.m(r, null)) : B && (B.d(1), B = null), R[0] & /*modalIsOpen, isClosing*/
|
|
4365
4400
|
4224 && h !== (h = "HamburgerModalContainer " + /*modalIsOpen*/
|
|
4366
4401
|
(x[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
|
|
4367
|
-
(x[12] ? "Closing" : "")) &&
|
|
4368
|
-
8192 &&
|
|
4369
|
-
x[13] ? "" : "Open")) &&
|
|
4402
|
+
(x[12] ? "Closing" : "")) && m(r, "class", h), R[0] & /*navIconClosing*/
|
|
4403
|
+
8192 && P !== (P = "NavIcon " + (/*navIconClosing*/
|
|
4404
|
+
x[13] ? "" : "Open")) && m(d, "class", P), R[0] & /*modalIsOpen*/
|
|
4370
4405
|
128 && G !== (G = /*modalIsOpen*/
|
|
4371
|
-
x[7] ? "ModalCloseBtn" : "") &&
|
|
4406
|
+
x[7] ? "ModalCloseBtn" : "") && m(f, "class", G), R[0] & /*isClosing*/
|
|
4372
4407
|
4096 && C !== (C = "HamburgerModalWindow " + /*isClosing*/
|
|
4373
|
-
(x[12] ? " Closing" : "")) &&
|
|
4408
|
+
(x[12] ? " Closing" : "")) && m(t, "class", C);
|
|
4374
4409
|
},
|
|
4375
4410
|
d(x) {
|
|
4376
|
-
x && I(t), N.d(),
|
|
4411
|
+
x && I(t), N.d(), Ee(O, x), B && B.d(), e[40](null), V = !1, z();
|
|
4377
4412
|
}
|
|
4378
4413
|
};
|
|
4379
4414
|
}
|
|
4380
|
-
function
|
|
4381
|
-
let t, r =
|
|
4415
|
+
function Go(e) {
|
|
4416
|
+
let t, r = Y(new Array(5)), n = [];
|
|
4382
4417
|
for (let i = 0; i < r.length; i += 1)
|
|
4383
|
-
n[i] = Do(
|
|
4418
|
+
n[i] = jo(Do(e, r, i));
|
|
4384
4419
|
return {
|
|
4385
4420
|
c() {
|
|
4386
4421
|
for (let i = 0; i < n.length; i += 1)
|
|
4387
4422
|
n[i].c();
|
|
4388
|
-
t =
|
|
4423
|
+
t = gr();
|
|
4389
4424
|
},
|
|
4390
4425
|
m(i, o) {
|
|
4391
4426
|
for (let a = 0; a < n.length; a += 1)
|
|
@@ -4394,22 +4429,22 @@ function Uo(e) {
|
|
|
4394
4429
|
},
|
|
4395
4430
|
p: $,
|
|
4396
4431
|
d(i) {
|
|
4397
|
-
i && I(t),
|
|
4432
|
+
i && I(t), Ee(n, i);
|
|
4398
4433
|
}
|
|
4399
4434
|
};
|
|
4400
4435
|
}
|
|
4401
|
-
function
|
|
4402
|
-
let t, r =
|
|
4436
|
+
function $o(e) {
|
|
4437
|
+
let t, r = Y(
|
|
4403
4438
|
/*HamburgerMenuItems*/
|
|
4404
4439
|
e[4]
|
|
4405
4440
|
), n = [];
|
|
4406
4441
|
for (let i = 0; i < r.length; i += 1)
|
|
4407
|
-
n[i] =
|
|
4442
|
+
n[i] = ar(nr(e, r, i));
|
|
4408
4443
|
return {
|
|
4409
4444
|
c() {
|
|
4410
4445
|
for (let i = 0; i < n.length; i += 1)
|
|
4411
4446
|
n[i].c();
|
|
4412
|
-
t =
|
|
4447
|
+
t = gr();
|
|
4413
4448
|
},
|
|
4414
4449
|
m(i, o) {
|
|
4415
4450
|
for (let a = 0; a < n.length; a += 1)
|
|
@@ -4419,14 +4454,14 @@ function Fo(e) {
|
|
|
4419
4454
|
p(i, o) {
|
|
4420
4455
|
if (o[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
|
|
4421
4456
|
131120) {
|
|
4422
|
-
r =
|
|
4457
|
+
r = Y(
|
|
4423
4458
|
/*HamburgerMenuItems*/
|
|
4424
4459
|
i[4]
|
|
4425
4460
|
);
|
|
4426
4461
|
let a;
|
|
4427
4462
|
for (a = 0; a < r.length; a += 1) {
|
|
4428
|
-
const s =
|
|
4429
|
-
n[a] ? n[a].p(s, o) : (n[a] =
|
|
4463
|
+
const s = nr(i, r, a);
|
|
4464
|
+
n[a] ? n[a].p(s, o) : (n[a] = ar(s), n[a].c(), n[a].m(t.parentNode, t));
|
|
4430
4465
|
}
|
|
4431
4466
|
for (; a < n.length; a += 1)
|
|
4432
4467
|
n[a].d(1);
|
|
@@ -4434,15 +4469,15 @@ function Fo(e) {
|
|
|
4434
4469
|
}
|
|
4435
4470
|
},
|
|
4436
4471
|
d(i) {
|
|
4437
|
-
i && I(t),
|
|
4472
|
+
i && I(t), Ee(n, i);
|
|
4438
4473
|
}
|
|
4439
4474
|
};
|
|
4440
4475
|
}
|
|
4441
|
-
function
|
|
4476
|
+
function jo(e) {
|
|
4442
4477
|
let t;
|
|
4443
4478
|
return {
|
|
4444
4479
|
c() {
|
|
4445
|
-
t =
|
|
4480
|
+
t = y("div"), t.innerHTML = "", m(t, "class", "Loading Skeleton");
|
|
4446
4481
|
},
|
|
4447
4482
|
m(r, n) {
|
|
4448
4483
|
F(r, t, n);
|
|
@@ -4453,12 +4488,12 @@ function Do(e) {
|
|
|
4453
4488
|
}
|
|
4454
4489
|
};
|
|
4455
4490
|
}
|
|
4456
|
-
function
|
|
4491
|
+
function or(e) {
|
|
4457
4492
|
let t, r;
|
|
4458
4493
|
return {
|
|
4459
4494
|
c() {
|
|
4460
|
-
t =
|
|
4461
|
-
e[63].img) ||
|
|
4495
|
+
t = y("img"), K(t.src, r = /*mainItem*/
|
|
4496
|
+
e[63].img) || m(t, "src", r), m(t, "alt", "menu icon");
|
|
4462
4497
|
},
|
|
4463
4498
|
m(n, i) {
|
|
4464
4499
|
F(n, t, i);
|
|
@@ -4466,20 +4501,20 @@ function tr(e) {
|
|
|
4466
4501
|
p(n, i) {
|
|
4467
4502
|
i[0] & /*HamburgerMenuItems*/
|
|
4468
4503
|
16 && !K(t.src, r = /*mainItem*/
|
|
4469
|
-
n[63].img) &&
|
|
4504
|
+
n[63].img) && m(t, "src", r);
|
|
4470
4505
|
},
|
|
4471
4506
|
d(n) {
|
|
4472
4507
|
n && I(t);
|
|
4473
4508
|
}
|
|
4474
4509
|
};
|
|
4475
4510
|
}
|
|
4476
|
-
function
|
|
4511
|
+
function ar(e) {
|
|
4477
4512
|
let t, r, n, i, o = (
|
|
4478
4513
|
/*mainItem*/
|
|
4479
4514
|
e[63].label + ""
|
|
4480
4515
|
), a, s, u, l, h, c = (
|
|
4481
4516
|
/*mainItem*/
|
|
4482
|
-
e[63]?.img &&
|
|
4517
|
+
e[63]?.img && or(e)
|
|
4483
4518
|
);
|
|
4484
4519
|
function f() {
|
|
4485
4520
|
return (
|
|
@@ -4492,33 +4527,33 @@ function rr(e) {
|
|
|
4492
4527
|
}
|
|
4493
4528
|
return {
|
|
4494
4529
|
c() {
|
|
4495
|
-
t =
|
|
4530
|
+
t = y("li"), r = y("div"), c && c.c(), n = U(), i = y("p"), a = ee(o), s = U(), m(r, "class", "HamburgerItemContainer"), m(t, "class", u = /*activeMenuItemId*/
|
|
4496
4531
|
e[5] === /*mainItem*/
|
|
4497
4532
|
e[63].id ? "ActiveItem" : "");
|
|
4498
4533
|
},
|
|
4499
|
-
m(
|
|
4500
|
-
F(
|
|
4534
|
+
m(d, g) {
|
|
4535
|
+
F(d, t, g), b(t, r), c && c.m(r, null), b(r, n), b(r, i), b(i, a), b(t, s), l || (h = te(t, "click", f), l = !0);
|
|
4501
4536
|
},
|
|
4502
|
-
p(
|
|
4503
|
-
e =
|
|
4504
|
-
e[63]?.img ? c ? c.p(e, g) : (c =
|
|
4537
|
+
p(d, g) {
|
|
4538
|
+
e = d, /*mainItem*/
|
|
4539
|
+
e[63]?.img ? c ? c.p(e, g) : (c = or(e), c.c(), c.m(r, n)) : c && (c.d(1), c = null), g[0] & /*HamburgerMenuItems*/
|
|
4505
4540
|
16 && o !== (o = /*mainItem*/
|
|
4506
|
-
e[63].label + "") &&
|
|
4541
|
+
e[63].label + "") && pe(a, o), g[0] & /*activeMenuItemId, HamburgerMenuItems*/
|
|
4507
4542
|
48 && u !== (u = /*activeMenuItemId*/
|
|
4508
4543
|
e[5] === /*mainItem*/
|
|
4509
|
-
e[63].id ? "ActiveItem" : "") &&
|
|
4544
|
+
e[63].id ? "ActiveItem" : "") && m(t, "class", u);
|
|
4510
4545
|
},
|
|
4511
|
-
d(
|
|
4512
|
-
|
|
4546
|
+
d(d) {
|
|
4547
|
+
d && I(t), c && c.d(), l = !1, h();
|
|
4513
4548
|
}
|
|
4514
4549
|
};
|
|
4515
4550
|
}
|
|
4516
|
-
function
|
|
4551
|
+
function sr(e) {
|
|
4517
4552
|
let t, r;
|
|
4518
4553
|
return {
|
|
4519
4554
|
c() {
|
|
4520
|
-
t =
|
|
4521
|
-
e[60].img) ||
|
|
4555
|
+
t = y("img"), K(t.src, r = /*secondaryItem*/
|
|
4556
|
+
e[60].img) || m(t, "src", r), m(t, "alt", "menu icon");
|
|
4522
4557
|
},
|
|
4523
4558
|
m(n, i) {
|
|
4524
4559
|
F(n, t, i);
|
|
@@ -4526,20 +4561,20 @@ function nr(e) {
|
|
|
4526
4561
|
p(n, i) {
|
|
4527
4562
|
i[0] & /*activeMenuItemChildren*/
|
|
4528
4563
|
64 && !K(t.src, r = /*secondaryItem*/
|
|
4529
|
-
n[60].img) &&
|
|
4564
|
+
n[60].img) && m(t, "src", r);
|
|
4530
4565
|
},
|
|
4531
4566
|
d(n) {
|
|
4532
4567
|
n && I(t);
|
|
4533
4568
|
}
|
|
4534
4569
|
};
|
|
4535
4570
|
}
|
|
4536
|
-
function
|
|
4571
|
+
function ur(e) {
|
|
4537
4572
|
let t, r, n, i = (
|
|
4538
4573
|
/*secondaryItem*/
|
|
4539
4574
|
e[60].label + ""
|
|
4540
4575
|
), o, a, s, u, l = (
|
|
4541
4576
|
/*secondaryItem*/
|
|
4542
|
-
e[60]?.img &&
|
|
4577
|
+
e[60]?.img && sr(e)
|
|
4543
4578
|
);
|
|
4544
4579
|
function h(...c) {
|
|
4545
4580
|
return (
|
|
@@ -4553,110 +4588,110 @@ function ir(e) {
|
|
|
4553
4588
|
}
|
|
4554
4589
|
return {
|
|
4555
4590
|
c() {
|
|
4556
|
-
t =
|
|
4591
|
+
t = y("li"), l && l.c(), r = U(), n = y("p"), o = ee(i), a = U();
|
|
4557
4592
|
},
|
|
4558
4593
|
m(c, f) {
|
|
4559
4594
|
F(c, t, f), l && l.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), s || (u = te(t, "click", h), s = !0);
|
|
4560
4595
|
},
|
|
4561
4596
|
p(c, f) {
|
|
4562
4597
|
e = c, /*secondaryItem*/
|
|
4563
|
-
e[60]?.img ? l ? l.p(e, f) : (l =
|
|
4598
|
+
e[60]?.img ? l ? l.p(e, f) : (l = sr(e), l.c(), l.m(t, r)) : l && (l.d(1), l = null), f[0] & /*activeMenuItemChildren*/
|
|
4564
4599
|
64 && i !== (i = /*secondaryItem*/
|
|
4565
|
-
e[60].label + "") &&
|
|
4600
|
+
e[60].label + "") && pe(o, i);
|
|
4566
4601
|
},
|
|
4567
4602
|
d(c) {
|
|
4568
4603
|
c && I(t), l && l.d(), s = !1, u();
|
|
4569
4604
|
}
|
|
4570
4605
|
};
|
|
4571
4606
|
}
|
|
4572
|
-
function
|
|
4607
|
+
function lr(e) {
|
|
4573
4608
|
let t, r, n = (
|
|
4574
4609
|
/*$_*/
|
|
4575
4610
|
e[15]("language") + ""
|
|
4576
4611
|
), i, o, a, s, u;
|
|
4577
|
-
function l(f,
|
|
4612
|
+
function l(f, d) {
|
|
4578
4613
|
return (
|
|
4579
4614
|
/*countryflaghamburger*/
|
|
4580
|
-
f[0] !== "true" ?
|
|
4615
|
+
f[0] !== "true" ? Vo : Wo
|
|
4581
4616
|
);
|
|
4582
4617
|
}
|
|
4583
4618
|
let h = l(e), c = h(e);
|
|
4584
4619
|
return {
|
|
4585
4620
|
c() {
|
|
4586
|
-
t =
|
|
4621
|
+
t = y("div"), r = y("span"), i = ee(n), o = U(), c.c(), m(r, "class", "LanguageSelectorTitle"), m(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
|
|
4587
4622
|
(e[10] ? "Open" : ""));
|
|
4588
4623
|
},
|
|
4589
|
-
m(f,
|
|
4590
|
-
F(f, t,
|
|
4624
|
+
m(f, d) {
|
|
4625
|
+
F(f, t, d), b(t, r), b(r, i), b(t, o), c.m(t, null), s || (u = te(
|
|
4591
4626
|
t,
|
|
4592
4627
|
"click",
|
|
4593
4628
|
/*toggleLanguageDropdown*/
|
|
4594
4629
|
e[21]
|
|
4595
4630
|
), s = !0);
|
|
4596
4631
|
},
|
|
4597
|
-
p(f,
|
|
4598
|
-
|
|
4632
|
+
p(f, d) {
|
|
4633
|
+
d[0] & /*$_*/
|
|
4599
4634
|
32768 && n !== (n = /*$_*/
|
|
4600
|
-
f[15]("language") + "") &&
|
|
4635
|
+
f[15]("language") + "") && pe(i, n), h === (h = l(f)) && c ? c.p(f, d) : (c.d(1), c = h(f), c && (c.c(), c.m(t, null))), d[0] & /*isOptionsListVisible*/
|
|
4601
4636
|
1024 && a !== (a = "LanguageSelector " + /*isOptionsListVisible*/
|
|
4602
|
-
(f[10] ? "Open" : "")) &&
|
|
4637
|
+
(f[10] ? "Open" : "")) && m(t, "class", a);
|
|
4603
4638
|
},
|
|
4604
4639
|
d(f) {
|
|
4605
4640
|
f && I(t), c.d(), s = !1, u();
|
|
4606
4641
|
}
|
|
4607
4642
|
};
|
|
4608
4643
|
}
|
|
4609
|
-
function
|
|
4644
|
+
function Wo(e) {
|
|
4610
4645
|
let t, r, n, i, o, a, s, u = (
|
|
4611
4646
|
/*selectedLanguage*/
|
|
4612
4647
|
e[14].slice(-2) + ""
|
|
4613
|
-
), l, h, c, f,
|
|
4648
|
+
), l, h, c, f, d, g, v, w = (
|
|
4614
4649
|
/*isOptionsListVisible*/
|
|
4615
|
-
e[10] &&
|
|
4650
|
+
e[10] && hr(e)
|
|
4616
4651
|
);
|
|
4617
4652
|
return {
|
|
4618
4653
|
c() {
|
|
4619
|
-
t =
|
|
4654
|
+
t = y("div"), r = y("div"), n = y("span"), i = y("img"), a = U(), s = y("span"), l = ee(u), h = U(), c = y("span"), f = At("svg"), d = At("path"), v = U(), w && w.c(), K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4620
4655
|
e[22](
|
|
4621
4656
|
/*selectedLanguage*/
|
|
4622
4657
|
e[14]
|
|
4623
|
-
)}.svg`) ||
|
|
4624
|
-
(e[10] ? "TriangleActive" : "")),
|
|
4658
|
+
)}.svg`) || m(i, "src", o), m(n, "class", "FlagIcon"), m(s, "class", "LanguageName"), m(d, "id", "arrow"), m(d, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), m(d, "transform", "translate(-274.511 -441.088)"), m(d, "fill", "#d1d1d1"), m(f, "xmlns", "http://www.w3.org/2000/svg"), m(f, "width", "14"), m(f, "height", "6.835"), m(f, "viewBox", "0 0 14 6.835"), m(c, "class", g = "TriangleInactive " + /*isOptionsListVisible*/
|
|
4659
|
+
(e[10] ? "TriangleActive" : "")), m(r, "class", "SelectedOption Item ItemLanguage"), m(t, "class", "LanguageDropdown");
|
|
4625
4660
|
},
|
|
4626
|
-
m(
|
|
4627
|
-
F(
|
|
4661
|
+
m(H, L) {
|
|
4662
|
+
F(H, t, L), b(t, r), b(r, n), b(n, i), b(r, a), b(r, s), b(s, l), b(r, h), b(r, c), b(c, f), b(f, d), b(t, v), w && w.m(t, null);
|
|
4628
4663
|
},
|
|
4629
|
-
p(
|
|
4630
|
-
|
|
4664
|
+
p(H, L) {
|
|
4665
|
+
L[0] & /*selectedLanguage, languagesArray*/
|
|
4631
4666
|
16896 && !K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4632
|
-
|
|
4667
|
+
H[22](
|
|
4633
4668
|
/*selectedLanguage*/
|
|
4634
|
-
|
|
4635
|
-
)}.svg`) &&
|
|
4669
|
+
H[14]
|
|
4670
|
+
)}.svg`) && m(i, "src", o), L[0] & /*selectedLanguage*/
|
|
4636
4671
|
16384 && u !== (u = /*selectedLanguage*/
|
|
4637
|
-
|
|
4672
|
+
H[14].slice(-2) + "") && pe(l, u), L[0] & /*isOptionsListVisible*/
|
|
4638
4673
|
1024 && g !== (g = "TriangleInactive " + /*isOptionsListVisible*/
|
|
4639
|
-
(
|
|
4640
|
-
|
|
4674
|
+
(H[10] ? "TriangleActive" : "")) && m(c, "class", g), /*isOptionsListVisible*/
|
|
4675
|
+
H[10] ? w ? w.p(H, L) : (w = hr(H), w.c(), w.m(t, null)) : w && (w.d(1), w = null);
|
|
4641
4676
|
},
|
|
4642
|
-
d(
|
|
4643
|
-
|
|
4677
|
+
d(H) {
|
|
4678
|
+
H && I(t), w && w.d();
|
|
4644
4679
|
}
|
|
4645
4680
|
};
|
|
4646
4681
|
}
|
|
4647
|
-
function
|
|
4648
|
-
let t, r, n, i =
|
|
4682
|
+
function Vo(e) {
|
|
4683
|
+
let t, r, n, i = Y(
|
|
4649
4684
|
/*languagesArray*/
|
|
4650
4685
|
e[9]
|
|
4651
4686
|
), o = [];
|
|
4652
4687
|
for (let a = 0; a < i.length; a += 1)
|
|
4653
|
-
o[a] =
|
|
4688
|
+
o[a] = fr(tr(e, i, a));
|
|
4654
4689
|
return {
|
|
4655
4690
|
c() {
|
|
4656
|
-
t =
|
|
4691
|
+
t = y("select");
|
|
4657
4692
|
for (let a = 0; a < o.length; a += 1)
|
|
4658
4693
|
o[a].c();
|
|
4659
|
-
|
|
4694
|
+
m(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
|
|
4660
4695
|
e[14] === void 0 && Ne(() => (
|
|
4661
4696
|
/*select_change_handler*/
|
|
4662
4697
|
e[37].call(t)
|
|
@@ -4666,7 +4701,7 @@ function Go(e) {
|
|
|
4666
4701
|
F(a, t, s);
|
|
4667
4702
|
for (let u = 0; u < o.length; u += 1)
|
|
4668
4703
|
o[u] && o[u].m(t, null);
|
|
4669
|
-
|
|
4704
|
+
Pt(
|
|
4670
4705
|
t,
|
|
4671
4706
|
/*selectedLanguage*/
|
|
4672
4707
|
e[14],
|
|
@@ -4689,44 +4724,44 @@ function Go(e) {
|
|
|
4689
4724
|
p(a, s) {
|
|
4690
4725
|
if (s[0] & /*languagesArray*/
|
|
4691
4726
|
512) {
|
|
4692
|
-
i =
|
|
4727
|
+
i = Y(
|
|
4693
4728
|
/*languagesArray*/
|
|
4694
4729
|
a[9]
|
|
4695
4730
|
);
|
|
4696
4731
|
let u;
|
|
4697
4732
|
for (u = 0; u < i.length; u += 1) {
|
|
4698
|
-
const l =
|
|
4699
|
-
o[u] ? o[u].p(l, s) : (o[u] =
|
|
4733
|
+
const l = tr(a, i, u);
|
|
4734
|
+
o[u] ? o[u].p(l, s) : (o[u] = fr(l), o[u].c(), o[u].m(t, null));
|
|
4700
4735
|
}
|
|
4701
4736
|
for (; u < o.length; u += 1)
|
|
4702
4737
|
o[u].d(1);
|
|
4703
4738
|
o.length = i.length;
|
|
4704
4739
|
}
|
|
4705
4740
|
s[0] & /*selectedLanguage, languagesArray*/
|
|
4706
|
-
16896 &&
|
|
4741
|
+
16896 && Pt(
|
|
4707
4742
|
t,
|
|
4708
4743
|
/*selectedLanguage*/
|
|
4709
4744
|
a[14]
|
|
4710
4745
|
);
|
|
4711
4746
|
},
|
|
4712
4747
|
d(a) {
|
|
4713
|
-
a && I(t),
|
|
4748
|
+
a && I(t), Ee(o, a), r = !1, fe(n);
|
|
4714
4749
|
}
|
|
4715
4750
|
};
|
|
4716
4751
|
}
|
|
4717
|
-
function
|
|
4718
|
-
let t, r, n =
|
|
4752
|
+
function hr(e) {
|
|
4753
|
+
let t, r, n = Y(
|
|
4719
4754
|
/*languagesArray*/
|
|
4720
4755
|
e[9]
|
|
4721
4756
|
), i = [];
|
|
4722
4757
|
for (let o = 0; o < n.length; o += 1)
|
|
4723
|
-
i[o] =
|
|
4758
|
+
i[o] = cr(er(e, n, o));
|
|
4724
4759
|
return {
|
|
4725
4760
|
c() {
|
|
4726
|
-
t =
|
|
4761
|
+
t = y("div");
|
|
4727
4762
|
for (let o = 0; o < i.length; o += 1)
|
|
4728
4763
|
i[o].c();
|
|
4729
|
-
|
|
4764
|
+
m(t, "class", r = "OptionList " + /*languageListOpen*/
|
|
4730
4765
|
(e[11] ? "Open" : ""));
|
|
4731
4766
|
},
|
|
4732
4767
|
m(o, a) {
|
|
@@ -4737,14 +4772,14 @@ function ar(e) {
|
|
|
4737
4772
|
p(o, a) {
|
|
4738
4773
|
if (a[0] & /*languageListOpen, selectLanguage, languagesArray, determineFlag*/
|
|
4739
4774
|
5245440) {
|
|
4740
|
-
n =
|
|
4775
|
+
n = Y(
|
|
4741
4776
|
/*languagesArray*/
|
|
4742
4777
|
o[9]
|
|
4743
4778
|
);
|
|
4744
4779
|
let s;
|
|
4745
4780
|
for (s = 0; s < n.length; s += 1) {
|
|
4746
|
-
const u =
|
|
4747
|
-
i[s] ? i[s].p(u, a) : (i[s] =
|
|
4781
|
+
const u = er(o, n, s);
|
|
4782
|
+
i[s] ? i[s].p(u, a) : (i[s] = cr(u), i[s].c(), i[s].m(t, null));
|
|
4748
4783
|
}
|
|
4749
4784
|
for (; s < i.length; s += 1)
|
|
4750
4785
|
i[s].d(1);
|
|
@@ -4752,19 +4787,19 @@ function ar(e) {
|
|
|
4752
4787
|
}
|
|
4753
4788
|
a[0] & /*languageListOpen*/
|
|
4754
4789
|
2048 && r !== (r = "OptionList " + /*languageListOpen*/
|
|
4755
|
-
(o[11] ? "Open" : "")) &&
|
|
4790
|
+
(o[11] ? "Open" : "")) && m(t, "class", r);
|
|
4756
4791
|
},
|
|
4757
4792
|
d(o) {
|
|
4758
|
-
o && I(t),
|
|
4793
|
+
o && I(t), Ee(i, o);
|
|
4759
4794
|
}
|
|
4760
4795
|
};
|
|
4761
4796
|
}
|
|
4762
|
-
function
|
|
4797
|
+
function cr(e) {
|
|
4763
4798
|
let t, r, n, i, o, a, s = (
|
|
4764
4799
|
/*operatorLanguage*/
|
|
4765
4800
|
e[57] + ""
|
|
4766
4801
|
), u, l, h, c, f;
|
|
4767
|
-
function
|
|
4802
|
+
function d() {
|
|
4768
4803
|
return (
|
|
4769
4804
|
/*click_handler_2*/
|
|
4770
4805
|
e[39](
|
|
@@ -4775,42 +4810,42 @@ function sr(e) {
|
|
|
4775
4810
|
}
|
|
4776
4811
|
return {
|
|
4777
4812
|
c() {
|
|
4778
|
-
t =
|
|
4813
|
+
t = y("div"), r = y("span"), n = y("img"), o = U(), a = y("span"), u = ee(s), l = U(), K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4779
4814
|
e[22](
|
|
4780
4815
|
/*operatorLanguage*/
|
|
4781
4816
|
e[57]
|
|
4782
|
-
)}.svg`) ||
|
|
4817
|
+
)}.svg`) || m(n, "src", i), m(r, "class", "FlagIcon"), m(a, "class", "LanguageName"), m(t, "class", h = "LanguageOption " + /*languageListOpen*/
|
|
4783
4818
|
(e[11] ? "Open" : ""));
|
|
4784
4819
|
},
|
|
4785
|
-
m(g,
|
|
4786
|
-
F(g, t,
|
|
4820
|
+
m(g, v) {
|
|
4821
|
+
F(g, t, v), b(t, r), b(r, n), b(t, o), b(t, a), b(a, u), b(t, l), c || (f = te(t, "click", d), c = !0);
|
|
4787
4822
|
},
|
|
4788
|
-
p(g,
|
|
4789
|
-
e = g,
|
|
4823
|
+
p(g, v) {
|
|
4824
|
+
e = g, v[0] & /*languagesArray*/
|
|
4790
4825
|
512 && !K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4791
4826
|
e[22](
|
|
4792
4827
|
/*operatorLanguage*/
|
|
4793
4828
|
e[57]
|
|
4794
|
-
)}.svg`) &&
|
|
4829
|
+
)}.svg`) && m(n, "src", i), v[0] & /*languagesArray*/
|
|
4795
4830
|
512 && s !== (s = /*operatorLanguage*/
|
|
4796
|
-
e[57] + "") &&
|
|
4831
|
+
e[57] + "") && pe(u, s), v[0] & /*languageListOpen*/
|
|
4797
4832
|
2048 && h !== (h = "LanguageOption " + /*languageListOpen*/
|
|
4798
|
-
(e[11] ? "Open" : "")) &&
|
|
4833
|
+
(e[11] ? "Open" : "")) && m(t, "class", h);
|
|
4799
4834
|
},
|
|
4800
4835
|
d(g) {
|
|
4801
4836
|
g && I(t), c = !1, f();
|
|
4802
4837
|
}
|
|
4803
4838
|
};
|
|
4804
4839
|
}
|
|
4805
|
-
function
|
|
4840
|
+
function fr(e) {
|
|
4806
4841
|
let t, r = (
|
|
4807
4842
|
/*lang*/
|
|
4808
4843
|
e[1].slice(-2) + ""
|
|
4809
4844
|
), n, i;
|
|
4810
4845
|
return {
|
|
4811
4846
|
c() {
|
|
4812
|
-
t =
|
|
4813
|
-
e[1],
|
|
4847
|
+
t = y("option"), n = ee(r), t.__value = i = /*lang*/
|
|
4848
|
+
e[1], Mt(t, t.__value), t.selected = !0;
|
|
4814
4849
|
},
|
|
4815
4850
|
m(o, a) {
|
|
4816
4851
|
F(o, t, a), b(t, n);
|
|
@@ -4818,30 +4853,30 @@ function ur(e) {
|
|
|
4818
4853
|
p(o, a) {
|
|
4819
4854
|
a[0] & /*languagesArray*/
|
|
4820
4855
|
512 && r !== (r = /*lang*/
|
|
4821
|
-
o[1].slice(-2) + "") &&
|
|
4856
|
+
o[1].slice(-2) + "") && pe(n, r), a[0] & /*languagesArray*/
|
|
4822
4857
|
512 && i !== (i = /*lang*/
|
|
4823
|
-
o[1]) && (t.__value = i,
|
|
4858
|
+
o[1]) && (t.__value = i, Mt(t, t.__value));
|
|
4824
4859
|
},
|
|
4825
4860
|
d(o) {
|
|
4826
4861
|
o && I(t);
|
|
4827
4862
|
}
|
|
4828
4863
|
};
|
|
4829
4864
|
}
|
|
4830
|
-
function
|
|
4865
|
+
function Xo(e) {
|
|
4831
4866
|
let t, r = (
|
|
4832
4867
|
/*show*/
|
|
4833
|
-
e[8] === !0 &&
|
|
4868
|
+
e[8] === !0 && ir(e)
|
|
4834
4869
|
);
|
|
4835
4870
|
return {
|
|
4836
4871
|
c() {
|
|
4837
|
-
t =
|
|
4872
|
+
t = y("div"), r && r.c();
|
|
4838
4873
|
},
|
|
4839
4874
|
m(n, i) {
|
|
4840
4875
|
F(n, t, i), r && r.m(t, null), e[41](t);
|
|
4841
4876
|
},
|
|
4842
4877
|
p(n, i) {
|
|
4843
4878
|
/*show*/
|
|
4844
|
-
n[8] === !0 ? r ? r.p(n, i) : (r =
|
|
4879
|
+
n[8] === !0 ? r ? r.p(n, i) : (r = ir(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4845
4880
|
},
|
|
4846
4881
|
i: $,
|
|
4847
4882
|
o: $,
|
|
@@ -4850,30 +4885,30 @@ function $o(e) {
|
|
|
4850
4885
|
}
|
|
4851
4886
|
};
|
|
4852
4887
|
}
|
|
4853
|
-
function
|
|
4888
|
+
function zo(e, t, r) {
|
|
4854
4889
|
let n;
|
|
4855
|
-
|
|
4856
|
-
let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: u = "en" } = t, { activecategory: l = "" } = t, { languageslist: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, { clientstyling:
|
|
4857
|
-
const
|
|
4858
|
-
fetch(c).then((
|
|
4859
|
-
Object.keys(
|
|
4860
|
-
|
|
4890
|
+
un(e, Lo, (p) => r(15, n = p));
|
|
4891
|
+
let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: u = "en" } = t, { activecategory: l = "" } = t, { languageslist: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, { clientstyling: d = "" } = t, { clientstylingurl: g = "" } = t, { customlocaleidentifier: v = "" } = t, { countryflaghamburger: w = "" } = t, H, L = window.navigator.userAgent, P = [], G, C = "", V = [], z = !1, ne = !1, q = !0, N = [], j = !1, O = !1, B = !1, x = !1, R = !0, S, W = "", Z;
|
|
4892
|
+
const Zr = () => {
|
|
4893
|
+
fetch(c).then((p) => p.json()).then((p) => {
|
|
4894
|
+
Object.keys(p).forEach((A) => {
|
|
4895
|
+
Jt(A, p[A]);
|
|
4861
4896
|
});
|
|
4862
|
-
}).catch((
|
|
4863
|
-
console.log(
|
|
4897
|
+
}).catch((p) => {
|
|
4898
|
+
console.log(p);
|
|
4864
4899
|
});
|
|
4865
4900
|
};
|
|
4866
|
-
Object.keys(
|
|
4867
|
-
|
|
4901
|
+
Object.keys(Kt).forEach((p) => {
|
|
4902
|
+
Jt(p, Kt[p]);
|
|
4868
4903
|
});
|
|
4869
|
-
const
|
|
4870
|
-
|
|
4871
|
-
let
|
|
4872
|
-
|
|
4873
|
-
},
|
|
4874
|
-
r(12, x = !0), r(13, R = !0), r(10,
|
|
4904
|
+
const Ve = () => {
|
|
4905
|
+
S = new URL(`${o}/${W.toLowerCase()}/hamburger-menu`);
|
|
4906
|
+
let p = Co(L);
|
|
4907
|
+
p && (p === "PC" ? S.searchParams.append("device", "dk") : S.searchParams.append("device", "mtWeb")), S.searchParams.append("env", a), S.searchParams.append("language", W.toLowerCase()), S.searchParams.append("userRoles", s);
|
|
4908
|
+
}, _t = () => {
|
|
4909
|
+
r(12, x = !0), r(13, R = !0), r(10, O = !1), r(11, B = !1), setTimeout(
|
|
4875
4910
|
() => {
|
|
4876
|
-
r(8, ne = !1), r(7,
|
|
4911
|
+
r(8, ne = !1), r(7, z = !1);
|
|
4877
4912
|
},
|
|
4878
4913
|
200
|
|
4879
4914
|
), window.postMessage(
|
|
@@ -4883,50 +4918,50 @@ function jo(e, t, r) {
|
|
|
4883
4918
|
},
|
|
4884
4919
|
window.location.href
|
|
4885
4920
|
);
|
|
4886
|
-
},
|
|
4887
|
-
|
|
4921
|
+
}, xt = (p) => {
|
|
4922
|
+
p.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(12, x = !1), setTimeout(
|
|
4888
4923
|
() => {
|
|
4889
4924
|
r(13, R = !1);
|
|
4890
4925
|
},
|
|
4891
4926
|
125
|
|
4892
|
-
), r(8, ne = !0), r(7,
|
|
4893
|
-
}, He = (
|
|
4894
|
-
r(5, C =
|
|
4927
|
+
), r(8, ne = !0), r(7, z = !0), Ve(), wt(S)), p.data.type === "LanguageChanged" && (j = !0, Ve(), wt(S));
|
|
4928
|
+
}, He = (p, A) => {
|
|
4929
|
+
r(5, C = p), r(6, V = A || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4895
4930
|
context: "HamburgerMenu",
|
|
4896
4931
|
menuItem: `${C}`
|
|
4897
4932
|
});
|
|
4898
|
-
},
|
|
4899
|
-
let
|
|
4933
|
+
}, Et = () => {
|
|
4934
|
+
let p = P.filter((A) => {
|
|
4900
4935
|
let Te = !1;
|
|
4901
|
-
return A.children?.forEach((
|
|
4902
|
-
|
|
4936
|
+
return A.children?.forEach((an) => {
|
|
4937
|
+
an.path.includes(l) && (Te = !0);
|
|
4903
4938
|
}), Te;
|
|
4904
4939
|
});
|
|
4905
|
-
|
|
4906
|
-
},
|
|
4907
|
-
G && !j ||
|
|
4908
|
-
},
|
|
4909
|
-
fetch(
|
|
4940
|
+
p.length > 0 ? He(p[0].id, p[0].children) : He(P[0].id, P[0].children);
|
|
4941
|
+
}, wt = (p) => {
|
|
4942
|
+
G && !j || St(p);
|
|
4943
|
+
}, St = (p) => {
|
|
4944
|
+
fetch(p).then((A) => A.json()).then(
|
|
4910
4945
|
(A) => {
|
|
4911
|
-
r(4,
|
|
4946
|
+
r(4, P = A.filter((Te) => Te?.type !== "banner")), Et(), r(34, q = !1), G = A, j = !1;
|
|
4912
4947
|
},
|
|
4913
4948
|
(A) => {
|
|
4914
4949
|
console.error(A);
|
|
4915
4950
|
}
|
|
4916
4951
|
);
|
|
4917
4952
|
};
|
|
4918
|
-
let
|
|
4953
|
+
let Ht = (p) => {
|
|
4919
4954
|
window.postMessage(
|
|
4920
4955
|
{
|
|
4921
4956
|
type: "NavigateTo",
|
|
4922
|
-
path:
|
|
4923
|
-
externalLink:
|
|
4924
|
-
target:
|
|
4957
|
+
path: p.path,
|
|
4958
|
+
externalLink: p.externalLink || !1,
|
|
4959
|
+
target: p.attrs.target || null
|
|
4925
4960
|
},
|
|
4926
4961
|
window.location.href
|
|
4927
|
-
),
|
|
4962
|
+
), _t();
|
|
4928
4963
|
};
|
|
4929
|
-
const
|
|
4964
|
+
const Xe = () => {
|
|
4930
4965
|
j = !0, window.postMessage(
|
|
4931
4966
|
{
|
|
4932
4967
|
type: "LanguageChanged",
|
|
@@ -4934,93 +4969,93 @@ function jo(e, t, r) {
|
|
|
4934
4969
|
},
|
|
4935
4970
|
window.location.href
|
|
4936
4971
|
);
|
|
4937
|
-
},
|
|
4938
|
-
|
|
4939
|
-
},
|
|
4940
|
-
r(14, W =
|
|
4972
|
+
}, Qr = () => {
|
|
4973
|
+
Fo(u), Ve(), j && St(S), r(9, N = h.replace(/ /g, "").split(",")), r(9, N = N.map((p) => p.toUpperCase())), r(14, W = u.toUpperCase());
|
|
4974
|
+
}, Tt = (p) => {
|
|
4975
|
+
r(14, W = p), setTimeout(
|
|
4941
4976
|
() => {
|
|
4942
|
-
r(11,
|
|
4977
|
+
r(11, B = !1);
|
|
4943
4978
|
},
|
|
4944
4979
|
250
|
|
4945
4980
|
), setTimeout(
|
|
4946
4981
|
() => {
|
|
4947
|
-
r(10,
|
|
4982
|
+
r(10, O = !1);
|
|
4948
4983
|
},
|
|
4949
4984
|
500
|
|
4950
|
-
),
|
|
4951
|
-
},
|
|
4952
|
-
|
|
4985
|
+
), Xe();
|
|
4986
|
+
}, Yr = () => {
|
|
4987
|
+
O ? (setTimeout(
|
|
4953
4988
|
() => {
|
|
4954
|
-
r(10,
|
|
4989
|
+
r(10, O = !1);
|
|
4955
4990
|
},
|
|
4956
4991
|
250
|
|
4957
|
-
), r(11,
|
|
4992
|
+
), r(11, B = !1)) : (r(10, O = !0), setTimeout(
|
|
4958
4993
|
() => {
|
|
4959
|
-
r(11,
|
|
4994
|
+
r(11, B = !0);
|
|
4960
4995
|
},
|
|
4961
4996
|
300
|
|
4962
4997
|
));
|
|
4963
|
-
},
|
|
4964
|
-
let A =
|
|
4965
|
-
return
|
|
4998
|
+
}, qr = (p) => {
|
|
4999
|
+
let A = p ? p.slice(-2) : W.slice(-2);
|
|
5000
|
+
return v && (A = v.includes(A.toLowerCase()) ? v.slice(-2) : A), A == "EN" ? "GB" : A.toUpperCase();
|
|
4966
5001
|
};
|
|
4967
|
-
|
|
4968
|
-
window.removeEventListener("message",
|
|
5002
|
+
gn(() => (window.addEventListener("message", xt, !1), Io(L), () => {
|
|
5003
|
+
window.removeEventListener("message", xt);
|
|
4969
5004
|
}));
|
|
4970
|
-
const
|
|
4971
|
-
|
|
5005
|
+
const Jr = (p) => He(p.id, p.children), Kr = (p, A) => {
|
|
5006
|
+
Ht(p), A.preventDefault();
|
|
4972
5007
|
};
|
|
4973
|
-
function
|
|
4974
|
-
W =
|
|
5008
|
+
function en() {
|
|
5009
|
+
W = pn(this), r(14, W), r(9, N);
|
|
4975
5010
|
}
|
|
4976
|
-
const
|
|
4977
|
-
function
|
|
4978
|
-
Ce[
|
|
4979
|
-
|
|
5011
|
+
const tn = () => Xe(), rn = (p) => Tt(p);
|
|
5012
|
+
function nn(p) {
|
|
5013
|
+
Ce[p ? "unshift" : "push"](() => {
|
|
5014
|
+
H = p, r(3, H);
|
|
4980
5015
|
});
|
|
4981
5016
|
}
|
|
4982
|
-
function
|
|
4983
|
-
Ce[
|
|
4984
|
-
|
|
5017
|
+
function on(p) {
|
|
5018
|
+
Ce[p ? "unshift" : "push"](() => {
|
|
5019
|
+
Z = p, r(2, Z);
|
|
4985
5020
|
});
|
|
4986
5021
|
}
|
|
4987
|
-
return e.$$set = (
|
|
4988
|
-
"menuitemsurl" in
|
|
5022
|
+
return e.$$set = (p) => {
|
|
5023
|
+
"menuitemsurl" in p && r(23, i = p.menuitemsurl), "cmsendpoint" in p && r(24, o = p.cmsendpoint), "cmsenv" in p && r(25, a = p.cmsenv), "userroles" in p && r(26, s = p.userroles), "lang" in p && r(1, u = p.lang), "activecategory" in p && r(27, l = p.activecategory), "languageslist" in p && r(28, h = p.languageslist), "translationurl" in p && r(29, c = p.translationurl), "mbsource" in p && r(30, f = p.mbsource), "clientstyling" in p && r(31, d = p.clientstyling), "clientstylingurl" in p && r(32, g = p.clientstylingurl), "customlocaleidentifier" in p && r(33, v = p.customlocaleidentifier), "countryflaghamburger" in p && r(0, w = p.countryflaghamburger);
|
|
4989
5024
|
}, e.$$.update = () => {
|
|
4990
5025
|
e.$$.dirty[0] & /*cmsendpoint, cmsenv, lang, languageslist*/
|
|
4991
|
-
318767106 && o && a && u && h &&
|
|
5026
|
+
318767106 && o && a && u && h && Qr(), e.$$.dirty[0] & /*activecategory*/
|
|
4992
5027
|
134217728 | e.$$.dirty[1] & /*isLoading*/
|
|
4993
|
-
8 && l && !q &&
|
|
4994
|
-
536870912 && c &&
|
|
5028
|
+
8 && l && !q && Et(), e.$$.dirty[0] & /*translationurl*/
|
|
5029
|
+
536870912 && c && Zr(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4995
5030
|
4 | e.$$.dirty[1] & /*clientstyling*/
|
|
4996
|
-
1 &&
|
|
5031
|
+
1 && d && Z && No(Z, d), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4997
5032
|
4 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
4998
|
-
2 && g &&
|
|
4999
|
-
1073741828 && f &&
|
|
5033
|
+
2 && g && Z && Ro(Z, g), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5034
|
+
1073741828 && f && Z && Uo(Z, `${f}.Style`);
|
|
5000
5035
|
}, [
|
|
5001
|
-
|
|
5036
|
+
w,
|
|
5002
5037
|
u,
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5038
|
+
Z,
|
|
5039
|
+
H,
|
|
5040
|
+
P,
|
|
5006
5041
|
C,
|
|
5007
5042
|
V,
|
|
5008
|
-
|
|
5043
|
+
z,
|
|
5009
5044
|
ne,
|
|
5010
5045
|
N,
|
|
5011
|
-
|
|
5012
|
-
|
|
5046
|
+
O,
|
|
5047
|
+
B,
|
|
5013
5048
|
x,
|
|
5014
5049
|
R,
|
|
5015
5050
|
W,
|
|
5016
5051
|
n,
|
|
5017
|
-
|
|
5052
|
+
_t,
|
|
5018
5053
|
He,
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5054
|
+
Ht,
|
|
5055
|
+
Xe,
|
|
5056
|
+
Tt,
|
|
5057
|
+
Yr,
|
|
5058
|
+
qr,
|
|
5024
5059
|
i,
|
|
5025
5060
|
o,
|
|
5026
5061
|
a,
|
|
@@ -5029,27 +5064,27 @@ function jo(e, t, r) {
|
|
|
5029
5064
|
h,
|
|
5030
5065
|
c,
|
|
5031
5066
|
f,
|
|
5032
|
-
|
|
5067
|
+
d,
|
|
5033
5068
|
g,
|
|
5034
|
-
|
|
5069
|
+
v,
|
|
5035
5070
|
q,
|
|
5036
|
-
Zr,
|
|
5037
|
-
Qr,
|
|
5038
|
-
Yr,
|
|
5039
|
-
qr,
|
|
5040
5071
|
Jr,
|
|
5041
5072
|
Kr,
|
|
5042
|
-
en
|
|
5073
|
+
en,
|
|
5074
|
+
tn,
|
|
5075
|
+
rn,
|
|
5076
|
+
nn,
|
|
5077
|
+
on
|
|
5043
5078
|
];
|
|
5044
5079
|
}
|
|
5045
|
-
class
|
|
5080
|
+
class Zo extends An {
|
|
5046
5081
|
constructor(t) {
|
|
5047
|
-
super(),
|
|
5082
|
+
super(), Tn(
|
|
5048
5083
|
this,
|
|
5049
5084
|
t,
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5085
|
+
zo,
|
|
5086
|
+
Xo,
|
|
5087
|
+
dr,
|
|
5053
5088
|
{
|
|
5054
5089
|
menuitemsurl: 23,
|
|
5055
5090
|
cmsendpoint: 24,
|
|
@@ -5065,7 +5100,7 @@ class Wo extends Sn {
|
|
|
5065
5100
|
customlocaleidentifier: 33,
|
|
5066
5101
|
countryflaghamburger: 0
|
|
5067
5102
|
},
|
|
5068
|
-
|
|
5103
|
+
ko,
|
|
5069
5104
|
[-1, -1, -1]
|
|
5070
5105
|
);
|
|
5071
5106
|
}
|
|
@@ -5073,82 +5108,82 @@ class Wo extends Sn {
|
|
|
5073
5108
|
return this.$$.ctx[23];
|
|
5074
5109
|
}
|
|
5075
5110
|
set menuitemsurl(t) {
|
|
5076
|
-
this.$$set({ menuitemsurl: t }),
|
|
5111
|
+
this.$$set({ menuitemsurl: t }), k();
|
|
5077
5112
|
}
|
|
5078
5113
|
get cmsendpoint() {
|
|
5079
5114
|
return this.$$.ctx[24];
|
|
5080
5115
|
}
|
|
5081
5116
|
set cmsendpoint(t) {
|
|
5082
|
-
this.$$set({ cmsendpoint: t }),
|
|
5117
|
+
this.$$set({ cmsendpoint: t }), k();
|
|
5083
5118
|
}
|
|
5084
5119
|
get cmsenv() {
|
|
5085
5120
|
return this.$$.ctx[25];
|
|
5086
5121
|
}
|
|
5087
5122
|
set cmsenv(t) {
|
|
5088
|
-
this.$$set({ cmsenv: t }),
|
|
5123
|
+
this.$$set({ cmsenv: t }), k();
|
|
5089
5124
|
}
|
|
5090
5125
|
get userroles() {
|
|
5091
5126
|
return this.$$.ctx[26];
|
|
5092
5127
|
}
|
|
5093
5128
|
set userroles(t) {
|
|
5094
|
-
this.$$set({ userroles: t }),
|
|
5129
|
+
this.$$set({ userroles: t }), k();
|
|
5095
5130
|
}
|
|
5096
5131
|
get lang() {
|
|
5097
5132
|
return this.$$.ctx[1];
|
|
5098
5133
|
}
|
|
5099
5134
|
set lang(t) {
|
|
5100
|
-
this.$$set({ lang: t }),
|
|
5135
|
+
this.$$set({ lang: t }), k();
|
|
5101
5136
|
}
|
|
5102
5137
|
get activecategory() {
|
|
5103
5138
|
return this.$$.ctx[27];
|
|
5104
5139
|
}
|
|
5105
5140
|
set activecategory(t) {
|
|
5106
|
-
this.$$set({ activecategory: t }),
|
|
5141
|
+
this.$$set({ activecategory: t }), k();
|
|
5107
5142
|
}
|
|
5108
5143
|
get languageslist() {
|
|
5109
5144
|
return this.$$.ctx[28];
|
|
5110
5145
|
}
|
|
5111
5146
|
set languageslist(t) {
|
|
5112
|
-
this.$$set({ languageslist: t }),
|
|
5147
|
+
this.$$set({ languageslist: t }), k();
|
|
5113
5148
|
}
|
|
5114
5149
|
get translationurl() {
|
|
5115
5150
|
return this.$$.ctx[29];
|
|
5116
5151
|
}
|
|
5117
5152
|
set translationurl(t) {
|
|
5118
|
-
this.$$set({ translationurl: t }),
|
|
5153
|
+
this.$$set({ translationurl: t }), k();
|
|
5119
5154
|
}
|
|
5120
5155
|
get mbsource() {
|
|
5121
5156
|
return this.$$.ctx[30];
|
|
5122
5157
|
}
|
|
5123
5158
|
set mbsource(t) {
|
|
5124
|
-
this.$$set({ mbsource: t }),
|
|
5159
|
+
this.$$set({ mbsource: t }), k();
|
|
5125
5160
|
}
|
|
5126
5161
|
get clientstyling() {
|
|
5127
5162
|
return this.$$.ctx[31];
|
|
5128
5163
|
}
|
|
5129
5164
|
set clientstyling(t) {
|
|
5130
|
-
this.$$set({ clientstyling: t }),
|
|
5165
|
+
this.$$set({ clientstyling: t }), k();
|
|
5131
5166
|
}
|
|
5132
5167
|
get clientstylingurl() {
|
|
5133
5168
|
return this.$$.ctx[32];
|
|
5134
5169
|
}
|
|
5135
5170
|
set clientstylingurl(t) {
|
|
5136
|
-
this.$$set({ clientstylingurl: t }),
|
|
5171
|
+
this.$$set({ clientstylingurl: t }), k();
|
|
5137
5172
|
}
|
|
5138
5173
|
get customlocaleidentifier() {
|
|
5139
5174
|
return this.$$.ctx[33];
|
|
5140
5175
|
}
|
|
5141
5176
|
set customlocaleidentifier(t) {
|
|
5142
|
-
this.$$set({ customlocaleidentifier: t }),
|
|
5177
|
+
this.$$set({ customlocaleidentifier: t }), k();
|
|
5143
5178
|
}
|
|
5144
5179
|
get countryflaghamburger() {
|
|
5145
5180
|
return this.$$.ctx[0];
|
|
5146
5181
|
}
|
|
5147
5182
|
set countryflaghamburger(t) {
|
|
5148
|
-
this.$$set({ countryflaghamburger: t }),
|
|
5183
|
+
this.$$set({ countryflaghamburger: t }), k();
|
|
5149
5184
|
}
|
|
5150
5185
|
}
|
|
5151
|
-
|
|
5186
|
+
On(Zo, { menuitemsurl: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, [], [], !0);
|
|
5152
5187
|
export {
|
|
5153
|
-
|
|
5188
|
+
Zo as C
|
|
5154
5189
|
};
|