@everymatrix/general-navigation-bar 1.59.2 → 1.59.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralNavigationBar-nRfiDt5M.js → GeneralNavigationBar-BeGdOPKw.js} +602 -624
- package/components/{GeneralNavigationBar-DPrp524r.js → GeneralNavigationBar-NZ7f9h1P.js} +574 -596
- package/components/GeneralNavigationBar-lD4nIh-w.cjs +18 -0
- package/es2015/general-navigation-bar.cjs +1 -1
- package/es2015/general-navigation-bar.js +1 -1
- package/esnext/general-navigation-bar.js +1 -1
- package/package.json +2 -2
- package/components/GeneralNavigationBar-CYIw73Xe.cjs +0 -18
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var ke = (e, t, r) => t in e ?
|
|
1
|
+
var Kr = Object.defineProperty, en = Object.defineProperties;
|
|
2
|
+
var tn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var xt = Object.getOwnPropertySymbols;
|
|
4
|
+
var rn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ke = (e, t, r) => t in e ? Kr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
rn.call(t, r) && ke(e, r, t[r]);
|
|
8
|
+
if (xt)
|
|
9
|
+
for (var r of xt(t))
|
|
10
|
+
nn.call(t, r) && ke(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Et = (e, t) => en(e, tn(t));
|
|
13
13
|
var U = (e, t, r) => (ke(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var Nt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
s(r.next(l));
|
|
@@ -29,7 +29,7 @@ var Bt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function D() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function on(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -37,29 +37,29 @@ function un(e, t) {
|
|
|
37
37
|
e
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function ar(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function St() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
46
|
function se(e) {
|
|
47
|
-
e.forEach(
|
|
47
|
+
e.forEach(ar);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function ft(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function sr(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
55
|
let xe;
|
|
56
56
|
function re(e, t) {
|
|
57
57
|
return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function an(e) {
|
|
60
60
|
return Object.keys(e).length === 0;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function lr(e, ...t) {
|
|
63
63
|
if (e == null) {
|
|
64
64
|
for (const n of t)
|
|
65
65
|
n(void 0);
|
|
@@ -68,19 +68,19 @@ function cr(e, ...t) {
|
|
|
68
68
|
const r = e.subscribe(...t);
|
|
69
69
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
e.$$.on_destroy.push(
|
|
71
|
+
function sn(e, t, r) {
|
|
72
|
+
e.$$.on_destroy.push(lr(t, r));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function ln(e, t, r, n) {
|
|
75
75
|
if (e) {
|
|
76
|
-
const i =
|
|
76
|
+
const i = ur(e, t, r, n);
|
|
77
77
|
return e[0](i);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
return e[1] && n ?
|
|
80
|
+
function ur(e, t, r, n) {
|
|
81
|
+
return e[1] && n ? on(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function un(e, t, r, n) {
|
|
84
84
|
if (e[2] && n) {
|
|
85
85
|
const i = e[2](n(r));
|
|
86
86
|
if (t.dirty === void 0)
|
|
@@ -95,13 +95,13 @@ function dn(e, t, r, n) {
|
|
|
95
95
|
}
|
|
96
96
|
return t.dirty;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function hn(e, t, r, n, i, o) {
|
|
99
99
|
if (i) {
|
|
100
|
-
const a =
|
|
100
|
+
const a = ur(t, r, n, o);
|
|
101
101
|
e.p(a, i);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function cn(e) {
|
|
105
105
|
if (e.ctx.length > 32) {
|
|
106
106
|
const t = [], r = e.ctx.length / 32;
|
|
107
107
|
for (let n = 0; n < r; n++)
|
|
@@ -113,14 +113,14 @@ function pn(e) {
|
|
|
113
113
|
function y(e, t) {
|
|
114
114
|
e.appendChild(t);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
117
|
-
const n =
|
|
116
|
+
function fn(e, t, r) {
|
|
117
|
+
const n = dn(e);
|
|
118
118
|
if (!n.getElementById(t)) {
|
|
119
119
|
const i = B("style");
|
|
120
|
-
i.id = t, i.textContent = r,
|
|
120
|
+
i.id = t, i.textContent = r, mn(n, i);
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function dn(e) {
|
|
124
124
|
if (!e)
|
|
125
125
|
return document;
|
|
126
126
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -130,7 +130,7 @@ function vn(e) {
|
|
|
130
130
|
t
|
|
131
131
|
) : e.ownerDocument;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function mn(e, t) {
|
|
134
134
|
return y(
|
|
135
135
|
/** @type {Document} */
|
|
136
136
|
e.head || e,
|
|
@@ -143,7 +143,7 @@ function C(e, t, r) {
|
|
|
143
143
|
function L(e) {
|
|
144
144
|
e.parentNode && e.parentNode.removeChild(e);
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function hr(e, t) {
|
|
147
147
|
for (let r = 0; r < e.length; r += 1)
|
|
148
148
|
e[r] && e[r].d(t);
|
|
149
149
|
}
|
|
@@ -159,7 +159,7 @@ function be(e) {
|
|
|
159
159
|
function k() {
|
|
160
160
|
return be(" ");
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function pn() {
|
|
163
163
|
return be("");
|
|
164
164
|
}
|
|
165
165
|
function Me(e, t, r, n) {
|
|
@@ -168,14 +168,14 @@ function Me(e, t, r, n) {
|
|
|
168
168
|
function c(e, t, r) {
|
|
169
169
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function gn(e) {
|
|
172
172
|
return Array.from(e.childNodes);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function dt(e, t) {
|
|
175
175
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
176
176
|
t);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function vn(e) {
|
|
179
179
|
const t = {};
|
|
180
180
|
return e.childNodes.forEach(
|
|
181
181
|
/** @param {Element} node */
|
|
@@ -188,22 +188,22 @@ let me;
|
|
|
188
188
|
function de(e) {
|
|
189
189
|
me = e;
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function bn() {
|
|
192
192
|
if (!me)
|
|
193
193
|
throw new Error("Function called outside component initialization");
|
|
194
194
|
return me;
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
|
|
196
|
+
function yn(e) {
|
|
197
|
+
bn().$$.on_mount.push(e);
|
|
198
198
|
}
|
|
199
|
-
const K = [],
|
|
199
|
+
const K = [], Ye = [];
|
|
200
200
|
let ee = [];
|
|
201
|
-
const
|
|
202
|
-
let
|
|
203
|
-
function
|
|
204
|
-
|
|
201
|
+
const It = [], _n = /* @__PURE__ */ Promise.resolve();
|
|
202
|
+
let Je = !1;
|
|
203
|
+
function xn() {
|
|
204
|
+
Je || (Je = !0, _n.then(F));
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function qe(e) {
|
|
207
207
|
ee.push(e);
|
|
208
208
|
}
|
|
209
209
|
const je = /* @__PURE__ */ new Set();
|
|
@@ -216,37 +216,37 @@ function F() {
|
|
|
216
216
|
try {
|
|
217
217
|
for (; J < K.length; ) {
|
|
218
218
|
const t = K[J];
|
|
219
|
-
J++, de(t),
|
|
219
|
+
J++, de(t), wn(t.$$);
|
|
220
220
|
}
|
|
221
221
|
} catch (t) {
|
|
222
222
|
throw K.length = 0, J = 0, t;
|
|
223
223
|
}
|
|
224
|
-
for (de(null), K.length = 0, J = 0;
|
|
225
|
-
|
|
224
|
+
for (de(null), K.length = 0, J = 0; Ye.length; )
|
|
225
|
+
Ye.pop()();
|
|
226
226
|
for (let t = 0; t < ee.length; t += 1) {
|
|
227
227
|
const r = ee[t];
|
|
228
228
|
je.has(r) || (je.add(r), r());
|
|
229
229
|
}
|
|
230
230
|
ee.length = 0;
|
|
231
231
|
} while (K.length);
|
|
232
|
-
for (;
|
|
233
|
-
|
|
234
|
-
|
|
232
|
+
for (; It.length; )
|
|
233
|
+
It.pop()();
|
|
234
|
+
Je = !1, je.clear(), de(e);
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function wn(e) {
|
|
237
237
|
if (e.fragment !== null) {
|
|
238
238
|
e.update(), se(e.before_update);
|
|
239
239
|
const t = e.dirty;
|
|
240
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
240
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(qe);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function En(e) {
|
|
244
244
|
const t = [], r = [];
|
|
245
245
|
ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
|
|
246
246
|
}
|
|
247
247
|
const Ne = /* @__PURE__ */ new Set();
|
|
248
248
|
let Z;
|
|
249
|
-
function
|
|
249
|
+
function cr() {
|
|
250
250
|
Z = {
|
|
251
251
|
r: 0,
|
|
252
252
|
c: [],
|
|
@@ -254,7 +254,7 @@ function mr() {
|
|
|
254
254
|
// parent group
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function fr() {
|
|
258
258
|
Z.r || se(Z.c), Z = Z.p;
|
|
259
259
|
}
|
|
260
260
|
function X(e, t) {
|
|
@@ -273,21 +273,21 @@ function pe(e, t, r, n) {
|
|
|
273
273
|
function Te(e) {
|
|
274
274
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function Nn(e, t, r) {
|
|
277
277
|
const { fragment: n, after_update: i } = e.$$;
|
|
278
|
-
n && n.m(t, r),
|
|
279
|
-
const o = e.$$.on_mount.map(
|
|
278
|
+
n && n.m(t, r), qe(() => {
|
|
279
|
+
const o = e.$$.on_mount.map(ar).filter(ft);
|
|
280
280
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
|
|
281
|
-
}), i.forEach(
|
|
281
|
+
}), i.forEach(qe);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function Sn(e, t) {
|
|
284
284
|
const r = e.$$;
|
|
285
|
-
r.fragment !== null && (
|
|
285
|
+
r.fragment !== null && (En(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
e.$$.dirty[0] === -1 && (K.push(e),
|
|
287
|
+
function In(e, t) {
|
|
288
|
+
e.$$.dirty[0] === -1 && (K.push(e), xn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function Bn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
291
291
|
const l = me;
|
|
292
292
|
de(e);
|
|
293
293
|
const u = e.$$ = {
|
|
@@ -297,7 +297,7 @@ function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
297
297
|
props: o,
|
|
298
298
|
update: D,
|
|
299
299
|
not_equal: i,
|
|
300
|
-
bound:
|
|
300
|
+
bound: St(),
|
|
301
301
|
// lifecycle
|
|
302
302
|
on_mount: [],
|
|
303
303
|
on_destroy: [],
|
|
@@ -306,7 +306,7 @@ function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
306
306
|
after_update: [],
|
|
307
307
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
308
308
|
// everything else
|
|
309
|
-
callbacks:
|
|
309
|
+
callbacks: St(),
|
|
310
310
|
dirty: s,
|
|
311
311
|
skip_bound: !1,
|
|
312
312
|
root: t.target || l.$$.root
|
|
@@ -315,19 +315,19 @@ function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
315
315
|
let h = !1;
|
|
316
316
|
if (u.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
|
|
317
317
|
const g = p.length ? p[0] : f;
|
|
318
|
-
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h &&
|
|
318
|
+
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h && In(e, d)), f;
|
|
319
319
|
}) : [], u.update(), h = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
320
320
|
if (t.hydrate) {
|
|
321
|
-
const d =
|
|
321
|
+
const d = gn(t.target);
|
|
322
322
|
u.fragment && u.fragment.l(d), d.forEach(L);
|
|
323
323
|
} else
|
|
324
324
|
u.fragment && u.fragment.c();
|
|
325
|
-
t.intro && X(e.$$.fragment),
|
|
325
|
+
t.intro && X(e.$$.fragment), Nn(e, t.target, t.anchor), F();
|
|
326
326
|
}
|
|
327
327
|
de(l);
|
|
328
328
|
}
|
|
329
|
-
let
|
|
330
|
-
typeof HTMLElement == "function" && (
|
|
329
|
+
let dr;
|
|
330
|
+
typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
331
331
|
constructor(t, r, n) {
|
|
332
332
|
super();
|
|
333
333
|
/** The Svelte component constructor */
|
|
@@ -364,7 +364,7 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
connectedCallback() {
|
|
367
|
-
return
|
|
367
|
+
return Nt(this, null, function* () {
|
|
368
368
|
if (this.$$cn = !0, !this.$$c) {
|
|
369
369
|
let t = function(o) {
|
|
370
370
|
return () => {
|
|
@@ -388,7 +388,7 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
|
388
388
|
};
|
|
389
389
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
390
390
|
return;
|
|
391
|
-
const r = {}, n =
|
|
391
|
+
const r = {}, n = vn(this);
|
|
392
392
|
for (const o of this.$$s)
|
|
393
393
|
o in n && (r[o] = [t(o)]);
|
|
394
394
|
for (const o of this.attributes) {
|
|
@@ -399,7 +399,7 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
|
399
399
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
400
400
|
this.$$c = new this.$$ctor({
|
|
401
401
|
target: this.shadowRoot || this,
|
|
402
|
-
props:
|
|
402
|
+
props: Et(wt({}, this.$$d), {
|
|
403
403
|
$$slots: r,
|
|
404
404
|
$$scope: {
|
|
405
405
|
ctx: []
|
|
@@ -477,8 +477,8 @@ function Se(e, t, r, n) {
|
|
|
477
477
|
return t;
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
function
|
|
481
|
-
let a = class extends
|
|
480
|
+
function An(e, t, r, n, i, o) {
|
|
481
|
+
let a = class extends dr {
|
|
482
482
|
constructor() {
|
|
483
483
|
super(e, r, i), this.$$p_d = t;
|
|
484
484
|
}
|
|
@@ -508,7 +508,7 @@ function Mn(e, t, r, n, i, o) {
|
|
|
508
508
|
}), e.element = /** @type {any} */
|
|
509
509
|
a, a;
|
|
510
510
|
}
|
|
511
|
-
class
|
|
511
|
+
class Tn {
|
|
512
512
|
constructor() {
|
|
513
513
|
/**
|
|
514
514
|
* ### PRIVATE API
|
|
@@ -529,7 +529,7 @@ class On {
|
|
|
529
529
|
}
|
|
530
530
|
/** @returns {void} */
|
|
531
531
|
$destroy() {
|
|
532
|
-
|
|
532
|
+
Sn(this, 1), this.$destroy = D;
|
|
533
533
|
}
|
|
534
534
|
/**
|
|
535
535
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -538,7 +538,7 @@ class On {
|
|
|
538
538
|
* @returns {() => void}
|
|
539
539
|
*/
|
|
540
540
|
$on(t, r) {
|
|
541
|
-
if (!
|
|
541
|
+
if (!ft(r))
|
|
542
542
|
return D;
|
|
543
543
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
544
544
|
return n.push(r), () => {
|
|
@@ -551,11 +551,11 @@ class On {
|
|
|
551
551
|
* @returns {void}
|
|
552
552
|
*/
|
|
553
553
|
$set(t) {
|
|
554
|
-
this.$$set && !
|
|
554
|
+
this.$$set && !an(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
const
|
|
558
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
557
|
+
const Pn = "4";
|
|
558
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pn);
|
|
559
559
|
/*! *****************************************************************************
|
|
560
560
|
Copyright (c) Microsoft Corporation.
|
|
561
561
|
|
|
@@ -570,18 +570,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
570
570
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
571
571
|
PERFORMANCE OF THIS SOFTWARE.
|
|
572
572
|
***************************************************************************** */
|
|
573
|
-
var
|
|
574
|
-
return
|
|
573
|
+
var Ke = function(e, t) {
|
|
574
|
+
return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
575
575
|
r.__proto__ = n;
|
|
576
576
|
} || function(r, n) {
|
|
577
577
|
for (var i in n)
|
|
578
578
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
579
|
-
},
|
|
579
|
+
}, Ke(e, t);
|
|
580
580
|
};
|
|
581
581
|
function j(e, t) {
|
|
582
582
|
if (typeof t != "function" && t !== null)
|
|
583
583
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
584
|
-
|
|
584
|
+
Ke(e, t);
|
|
585
585
|
function r() {
|
|
586
586
|
this.constructor = e;
|
|
587
587
|
}
|
|
@@ -597,7 +597,7 @@ var w = function() {
|
|
|
597
597
|
return t;
|
|
598
598
|
}, w.apply(this, arguments);
|
|
599
599
|
};
|
|
600
|
-
function
|
|
600
|
+
function Hn(e, t) {
|
|
601
601
|
var r = {};
|
|
602
602
|
for (var n in e)
|
|
603
603
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -606,7 +606,7 @@ function Cn(e, t) {
|
|
|
606
606
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
607
607
|
return r;
|
|
608
608
|
}
|
|
609
|
-
function
|
|
609
|
+
function et(e) {
|
|
610
610
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
611
611
|
if (r)
|
|
612
612
|
return r.call(e);
|
|
@@ -618,7 +618,7 @@ function tt(e) {
|
|
|
618
618
|
};
|
|
619
619
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function tt(e, t) {
|
|
622
622
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
623
623
|
if (!r)
|
|
624
624
|
return e;
|
|
@@ -647,13 +647,13 @@ function te(e, t, r) {
|
|
|
647
647
|
function $(e) {
|
|
648
648
|
return typeof e == "function";
|
|
649
649
|
}
|
|
650
|
-
function
|
|
650
|
+
function mr(e) {
|
|
651
651
|
var t = function(n) {
|
|
652
652
|
Error.call(n), n.stack = new Error().stack;
|
|
653
653
|
}, r = e(t);
|
|
654
654
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
655
655
|
}
|
|
656
|
-
var We =
|
|
656
|
+
var We = mr(function(e) {
|
|
657
657
|
return function(r) {
|
|
658
658
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
659
659
|
` + r.map(function(n, i) {
|
|
@@ -662,7 +662,7 @@ var We = vr(function(e) {
|
|
|
662
662
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
663
663
|
};
|
|
664
664
|
});
|
|
665
|
-
function
|
|
665
|
+
function rt(e, t) {
|
|
666
666
|
if (e) {
|
|
667
667
|
var r = e.indexOf(t);
|
|
668
668
|
0 <= r && e.splice(r, 1);
|
|
@@ -680,7 +680,7 @@ var Oe = function() {
|
|
|
680
680
|
if (a)
|
|
681
681
|
if (this._parentage = null, Array.isArray(a))
|
|
682
682
|
try {
|
|
683
|
-
for (var s =
|
|
683
|
+
for (var s = et(a), l = s.next(); !l.done; l = s.next()) {
|
|
684
684
|
var u = l.value;
|
|
685
685
|
u.remove(this);
|
|
686
686
|
}
|
|
@@ -707,12 +707,12 @@ var Oe = function() {
|
|
|
707
707
|
if (d) {
|
|
708
708
|
this._finalizers = null;
|
|
709
709
|
try {
|
|
710
|
-
for (var f =
|
|
710
|
+
for (var f = et(d), p = f.next(); !p.done; p = f.next()) {
|
|
711
711
|
var g = p.value;
|
|
712
712
|
try {
|
|
713
|
-
|
|
713
|
+
Bt(g);
|
|
714
714
|
} catch (v) {
|
|
715
|
-
o = o != null ? o : [], v instanceof We ? o = te(te([],
|
|
715
|
+
o = o != null ? o : [], v instanceof We ? o = te(te([], tt(o)), tt(v.errors)) : o.push(v);
|
|
716
716
|
}
|
|
717
717
|
}
|
|
718
718
|
} catch (v) {
|
|
@@ -733,7 +733,7 @@ var Oe = function() {
|
|
|
733
733
|
var r;
|
|
734
734
|
if (t && t !== this)
|
|
735
735
|
if (this.closed)
|
|
736
|
-
|
|
736
|
+
Bt(t);
|
|
737
737
|
else {
|
|
738
738
|
if (t instanceof e) {
|
|
739
739
|
if (t.closed || t._hasParent(this))
|
|
@@ -750,56 +750,52 @@ var Oe = function() {
|
|
|
750
750
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
751
751
|
}, e.prototype._removeParent = function(t) {
|
|
752
752
|
var r = this._parentage;
|
|
753
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
753
|
+
r === t ? this._parentage = null : Array.isArray(r) && rt(r, t);
|
|
754
754
|
}, e.prototype.remove = function(t) {
|
|
755
755
|
var r = this._finalizers;
|
|
756
|
-
r &&
|
|
756
|
+
r && rt(r, t), t instanceof e && t._removeParent(this);
|
|
757
757
|
}, e.EMPTY = function() {
|
|
758
758
|
var t = new e();
|
|
759
759
|
return t.closed = !0, t;
|
|
760
760
|
}(), e;
|
|
761
|
-
}(),
|
|
762
|
-
function
|
|
761
|
+
}(), pr = Oe.EMPTY;
|
|
762
|
+
function gr(e) {
|
|
763
763
|
return e instanceof Oe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
764
764
|
}
|
|
765
|
-
function
|
|
765
|
+
function Bt(e) {
|
|
766
766
|
$(e) ? e() : e.unsubscribe();
|
|
767
767
|
}
|
|
768
|
-
var
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
Promise: void 0,
|
|
772
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
773
|
-
useDeprecatedNextContext: !1
|
|
774
|
-
}, Fn = {
|
|
768
|
+
var Mn = {
|
|
769
|
+
Promise: void 0
|
|
770
|
+
}, On = {
|
|
775
771
|
setTimeout: function(e, t) {
|
|
776
772
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
777
773
|
r[n - 2] = arguments[n];
|
|
778
|
-
return setTimeout.apply(void 0, te([e, t],
|
|
774
|
+
return setTimeout.apply(void 0, te([e, t], tt(r)));
|
|
779
775
|
},
|
|
780
776
|
clearTimeout: function(e) {
|
|
781
777
|
return clearTimeout(e);
|
|
782
778
|
},
|
|
783
779
|
delegate: void 0
|
|
784
780
|
};
|
|
785
|
-
function
|
|
786
|
-
|
|
781
|
+
function Ln(e) {
|
|
782
|
+
On.setTimeout(function() {
|
|
787
783
|
throw e;
|
|
788
784
|
});
|
|
789
785
|
}
|
|
790
|
-
function
|
|
786
|
+
function At() {
|
|
791
787
|
}
|
|
792
788
|
function Ie(e) {
|
|
793
789
|
e();
|
|
794
790
|
}
|
|
795
|
-
var
|
|
791
|
+
var vr = function(e) {
|
|
796
792
|
j(t, e);
|
|
797
793
|
function t(r) {
|
|
798
794
|
var n = e.call(this) || this;
|
|
799
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
795
|
+
return n.isStopped = !1, r ? (n.destination = r, gr(r) && r.add(n)) : n.destination = Rn, n;
|
|
800
796
|
}
|
|
801
797
|
return t.create = function(r, n, i) {
|
|
802
|
-
return new
|
|
798
|
+
return new nt(r, n, i);
|
|
803
799
|
}, t.prototype.next = function(r) {
|
|
804
800
|
this.isStopped || this._next(r);
|
|
805
801
|
}, t.prototype.error = function(r) {
|
|
@@ -823,11 +819,7 @@ var xr = function(e) {
|
|
|
823
819
|
this.unsubscribe();
|
|
824
820
|
}
|
|
825
821
|
}, t;
|
|
826
|
-
}(Oe),
|
|
827
|
-
function Ve(e, t) {
|
|
828
|
-
return Un.call(e, t);
|
|
829
|
-
}
|
|
830
|
-
var Dn = function() {
|
|
822
|
+
}(Oe), Cn = function() {
|
|
831
823
|
function e(t) {
|
|
832
824
|
this.partialObserver = t;
|
|
833
825
|
}
|
|
@@ -858,55 +850,43 @@ var Dn = function() {
|
|
|
858
850
|
we(r);
|
|
859
851
|
}
|
|
860
852
|
}, e;
|
|
861
|
-
}(),
|
|
853
|
+
}(), nt = function(e) {
|
|
862
854
|
j(t, e);
|
|
863
855
|
function t(r, n, i) {
|
|
864
856
|
var o = e.call(this) || this, a;
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
};
|
|
871
|
-
else {
|
|
872
|
-
var s;
|
|
873
|
-
o && _r.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
874
|
-
return o.unsubscribe();
|
|
875
|
-
}, a = {
|
|
876
|
-
next: r.next && Ve(r.next, s),
|
|
877
|
-
error: r.error && Ve(r.error, s),
|
|
878
|
-
complete: r.complete && Ve(r.complete, s)
|
|
879
|
-
}) : a = r;
|
|
880
|
-
}
|
|
881
|
-
return o.destination = new Dn(a), o;
|
|
857
|
+
return $(r) || !r ? a = {
|
|
858
|
+
next: r != null ? r : void 0,
|
|
859
|
+
error: n != null ? n : void 0,
|
|
860
|
+
complete: i != null ? i : void 0
|
|
861
|
+
} : a = r, o.destination = new Cn(a), o;
|
|
882
862
|
}
|
|
883
863
|
return t;
|
|
884
|
-
}(
|
|
864
|
+
}(vr);
|
|
885
865
|
function we(e) {
|
|
886
|
-
|
|
866
|
+
Ln(e);
|
|
887
867
|
}
|
|
888
|
-
function
|
|
868
|
+
function Fn(e) {
|
|
889
869
|
throw e;
|
|
890
870
|
}
|
|
891
|
-
var
|
|
871
|
+
var Rn = {
|
|
892
872
|
closed: !0,
|
|
893
|
-
next:
|
|
894
|
-
error:
|
|
895
|
-
complete:
|
|
896
|
-
},
|
|
873
|
+
next: At,
|
|
874
|
+
error: Fn,
|
|
875
|
+
complete: At
|
|
876
|
+
}, Un = function() {
|
|
897
877
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
898
878
|
}();
|
|
899
|
-
function
|
|
879
|
+
function Dn(e) {
|
|
900
880
|
return e;
|
|
901
881
|
}
|
|
902
|
-
function
|
|
903
|
-
return e.length === 0 ?
|
|
882
|
+
function Gn(e) {
|
|
883
|
+
return e.length === 0 ? Dn : e.length === 1 ? e[0] : function(r) {
|
|
904
884
|
return e.reduce(function(n, i) {
|
|
905
885
|
return i(n);
|
|
906
886
|
}, r);
|
|
907
887
|
};
|
|
908
888
|
}
|
|
909
|
-
var
|
|
889
|
+
var Tt = function() {
|
|
910
890
|
function e(t) {
|
|
911
891
|
t && (this._subscribe = t);
|
|
912
892
|
}
|
|
@@ -914,7 +894,7 @@ var Mt = function() {
|
|
|
914
894
|
var r = new e();
|
|
915
895
|
return r.source = this, r.operator = t, r;
|
|
916
896
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
917
|
-
var i = this, o =
|
|
897
|
+
var i = this, o = kn(t) ? t : new nt(t, r, n);
|
|
918
898
|
return Ie(function() {
|
|
919
899
|
var a = i, s = a.operator, l = a.source;
|
|
920
900
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -927,8 +907,8 @@ var Mt = function() {
|
|
|
927
907
|
}
|
|
928
908
|
}, e.prototype.forEach = function(t, r) {
|
|
929
909
|
var n = this;
|
|
930
|
-
return r =
|
|
931
|
-
var a = new
|
|
910
|
+
return r = Pt(r), new r(function(i, o) {
|
|
911
|
+
var a = new nt({
|
|
932
912
|
next: function(s) {
|
|
933
913
|
try {
|
|
934
914
|
t(s);
|
|
@@ -944,15 +924,15 @@ var Mt = function() {
|
|
|
944
924
|
}, e.prototype._subscribe = function(t) {
|
|
945
925
|
var r;
|
|
946
926
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
947
|
-
}, e.prototype[
|
|
927
|
+
}, e.prototype[Un] = function() {
|
|
948
928
|
return this;
|
|
949
929
|
}, e.prototype.pipe = function() {
|
|
950
930
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
951
931
|
t[r] = arguments[r];
|
|
952
|
-
return
|
|
932
|
+
return Gn(t)(this);
|
|
953
933
|
}, e.prototype.toPromise = function(t) {
|
|
954
934
|
var r = this;
|
|
955
|
-
return t =
|
|
935
|
+
return t = Pt(t), new t(function(n, i) {
|
|
956
936
|
var o;
|
|
957
937
|
r.subscribe(function(a) {
|
|
958
938
|
return o = a;
|
|
@@ -966,32 +946,32 @@ var Mt = function() {
|
|
|
966
946
|
return new e(t);
|
|
967
947
|
}, e;
|
|
968
948
|
}();
|
|
969
|
-
function
|
|
949
|
+
function Pt(e) {
|
|
970
950
|
var t;
|
|
971
|
-
return (t = e != null ? e :
|
|
951
|
+
return (t = e != null ? e : Mn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
972
952
|
}
|
|
973
|
-
function
|
|
953
|
+
function $n(e) {
|
|
974
954
|
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
975
955
|
}
|
|
976
|
-
function
|
|
977
|
-
return e && e instanceof
|
|
956
|
+
function kn(e) {
|
|
957
|
+
return e && e instanceof vr || $n(e) && gr(e);
|
|
978
958
|
}
|
|
979
|
-
var
|
|
959
|
+
var jn = mr(function(e) {
|
|
980
960
|
return function() {
|
|
981
961
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
982
962
|
};
|
|
983
|
-
}),
|
|
963
|
+
}), br = function(e) {
|
|
984
964
|
j(t, e);
|
|
985
965
|
function t() {
|
|
986
966
|
var r = e.call(this) || this;
|
|
987
967
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
988
968
|
}
|
|
989
969
|
return t.prototype.lift = function(r) {
|
|
990
|
-
var n = new
|
|
970
|
+
var n = new Ht(this, this);
|
|
991
971
|
return n.operator = r, n;
|
|
992
972
|
}, t.prototype._throwIfClosed = function() {
|
|
993
973
|
if (this.closed)
|
|
994
|
-
throw new
|
|
974
|
+
throw new jn();
|
|
995
975
|
}, t.prototype.next = function(r) {
|
|
996
976
|
var n = this;
|
|
997
977
|
Ie(function() {
|
|
@@ -999,7 +979,7 @@ var zn = vr(function(e) {
|
|
|
999
979
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1000
980
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1001
981
|
try {
|
|
1002
|
-
for (var a =
|
|
982
|
+
for (var a = et(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1003
983
|
var l = s.value;
|
|
1004
984
|
l.next(r);
|
|
1005
985
|
}
|
|
@@ -1048,19 +1028,19 @@ var zn = vr(function(e) {
|
|
|
1048
1028
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1049
1029
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1050
1030
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1051
|
-
return o || a ?
|
|
1052
|
-
n.currentObservers = null,
|
|
1031
|
+
return o || a ? pr : (this.currentObservers = null, s.push(r), new Oe(function() {
|
|
1032
|
+
n.currentObservers = null, rt(s, r);
|
|
1053
1033
|
}));
|
|
1054
1034
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1055
1035
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1056
1036
|
i ? r.error(o) : a && r.complete();
|
|
1057
1037
|
}, t.prototype.asObservable = function() {
|
|
1058
|
-
var r = new
|
|
1038
|
+
var r = new Tt();
|
|
1059
1039
|
return r.source = this, r;
|
|
1060
1040
|
}, t.create = function(r, n) {
|
|
1061
|
-
return new
|
|
1041
|
+
return new Ht(r, n);
|
|
1062
1042
|
}, t;
|
|
1063
|
-
}(
|
|
1043
|
+
}(Tt), Ht = function(e) {
|
|
1064
1044
|
j(t, e);
|
|
1065
1045
|
function t(r, n) {
|
|
1066
1046
|
var i = e.call(this) || this;
|
|
@@ -1077,17 +1057,17 @@ var zn = vr(function(e) {
|
|
|
1077
1057
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1078
1058
|
}, t.prototype._subscribe = function(r) {
|
|
1079
1059
|
var n, i;
|
|
1080
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1060
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : pr;
|
|
1081
1061
|
}, t;
|
|
1082
|
-
}(
|
|
1062
|
+
}(br), yr = {
|
|
1083
1063
|
now: function() {
|
|
1084
|
-
return (
|
|
1064
|
+
return (yr.delegate || Date).now();
|
|
1085
1065
|
},
|
|
1086
1066
|
delegate: void 0
|
|
1087
|
-
},
|
|
1067
|
+
}, Wn = function(e) {
|
|
1088
1068
|
j(t, e);
|
|
1089
1069
|
function t(r, n, i) {
|
|
1090
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1070
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = yr);
|
|
1091
1071
|
var o = e.call(this) || this;
|
|
1092
1072
|
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;
|
|
1093
1073
|
}
|
|
@@ -1107,15 +1087,15 @@ var zn = vr(function(e) {
|
|
|
1107
1087
|
u && o.splice(0, u + 1);
|
|
1108
1088
|
}
|
|
1109
1089
|
}, t;
|
|
1110
|
-
}(
|
|
1111
|
-
const
|
|
1112
|
-
if (
|
|
1113
|
-
const r = new
|
|
1114
|
-
|
|
1090
|
+
}(br);
|
|
1091
|
+
const Mt = [], Ot = {}, Vn = (e, t = 0) => {
|
|
1092
|
+
if (Mt.indexOf(e) == -1) {
|
|
1093
|
+
const r = new Wn(t);
|
|
1094
|
+
Ot[e] = r, Mt.push(e);
|
|
1115
1095
|
}
|
|
1116
|
-
return
|
|
1096
|
+
return Ot[e];
|
|
1117
1097
|
}, q = [];
|
|
1118
|
-
function
|
|
1098
|
+
function Xn(e, t) {
|
|
1119
1099
|
return {
|
|
1120
1100
|
subscribe: Le(e, t).subscribe
|
|
1121
1101
|
};
|
|
@@ -1124,7 +1104,7 @@ function Le(e, t = D) {
|
|
|
1124
1104
|
let r;
|
|
1125
1105
|
const n = /* @__PURE__ */ new Set();
|
|
1126
1106
|
function i(s) {
|
|
1127
|
-
if (
|
|
1107
|
+
if (sr(e, s) && (e = s, r)) {
|
|
1128
1108
|
const l = !q.length;
|
|
1129
1109
|
for (const u of n)
|
|
1130
1110
|
u[1](), q.push(u, e);
|
|
@@ -1151,7 +1131,7 @@ function le(e, t, r) {
|
|
|
1151
1131
|
if (!i.every(Boolean))
|
|
1152
1132
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1153
1133
|
const o = t.length < 2;
|
|
1154
|
-
return
|
|
1134
|
+
return Xn(r, (a, s) => {
|
|
1155
1135
|
let l = !1;
|
|
1156
1136
|
const u = [];
|
|
1157
1137
|
let h = 0, d = D;
|
|
@@ -1160,9 +1140,9 @@ function le(e, t, r) {
|
|
|
1160
1140
|
return;
|
|
1161
1141
|
d();
|
|
1162
1142
|
const g = t(n ? u[0] : u, a, s);
|
|
1163
|
-
o ? a(g) : d =
|
|
1143
|
+
o ? a(g) : d = ft(g) ? g : D;
|
|
1164
1144
|
}, p = i.map(
|
|
1165
|
-
(g, v) =>
|
|
1145
|
+
(g, v) => lr(
|
|
1166
1146
|
g,
|
|
1167
1147
|
(A) => {
|
|
1168
1148
|
u[v] = A, h &= ~(1 << v), l && f();
|
|
@@ -1177,70 +1157,70 @@ function le(e, t, r) {
|
|
|
1177
1157
|
};
|
|
1178
1158
|
});
|
|
1179
1159
|
}
|
|
1180
|
-
function
|
|
1160
|
+
function zn(e) {
|
|
1181
1161
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1182
1162
|
}
|
|
1183
|
-
var
|
|
1184
|
-
return
|
|
1163
|
+
var Zn = function(t) {
|
|
1164
|
+
return Qn(t) && !Yn(t);
|
|
1185
1165
|
};
|
|
1186
|
-
function
|
|
1166
|
+
function Qn(e) {
|
|
1187
1167
|
return !!e && typeof e == "object";
|
|
1188
1168
|
}
|
|
1189
|
-
function
|
|
1169
|
+
function Yn(e) {
|
|
1190
1170
|
var t = Object.prototype.toString.call(e);
|
|
1191
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1171
|
+
return t === "[object RegExp]" || t === "[object Date]" || Kn(e);
|
|
1192
1172
|
}
|
|
1193
|
-
var
|
|
1194
|
-
function
|
|
1195
|
-
return e.$$typeof ===
|
|
1173
|
+
var Jn = typeof Symbol == "function" && Symbol.for, qn = Jn ? Symbol.for("react.element") : 60103;
|
|
1174
|
+
function Kn(e) {
|
|
1175
|
+
return e.$$typeof === qn;
|
|
1196
1176
|
}
|
|
1197
|
-
function
|
|
1177
|
+
function ei(e) {
|
|
1198
1178
|
return Array.isArray(e) ? [] : {};
|
|
1199
1179
|
}
|
|
1200
1180
|
function ge(e, t) {
|
|
1201
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ne(
|
|
1181
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(ei(e), e, t) : e;
|
|
1202
1182
|
}
|
|
1203
|
-
function
|
|
1183
|
+
function ti(e, t, r) {
|
|
1204
1184
|
return e.concat(t).map(function(n) {
|
|
1205
1185
|
return ge(n, r);
|
|
1206
1186
|
});
|
|
1207
1187
|
}
|
|
1208
|
-
function
|
|
1188
|
+
function ri(e, t) {
|
|
1209
1189
|
if (!t.customMerge)
|
|
1210
1190
|
return ne;
|
|
1211
1191
|
var r = t.customMerge(e);
|
|
1212
1192
|
return typeof r == "function" ? r : ne;
|
|
1213
1193
|
}
|
|
1214
|
-
function
|
|
1194
|
+
function ni(e) {
|
|
1215
1195
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1216
1196
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1217
1197
|
}) : [];
|
|
1218
1198
|
}
|
|
1219
|
-
function
|
|
1220
|
-
return Object.keys(e).concat(
|
|
1199
|
+
function Lt(e) {
|
|
1200
|
+
return Object.keys(e).concat(ni(e));
|
|
1221
1201
|
}
|
|
1222
|
-
function
|
|
1202
|
+
function _r(e, t) {
|
|
1223
1203
|
try {
|
|
1224
1204
|
return t in e;
|
|
1225
1205
|
} catch (r) {
|
|
1226
1206
|
return !1;
|
|
1227
1207
|
}
|
|
1228
1208
|
}
|
|
1229
|
-
function
|
|
1230
|
-
return
|
|
1209
|
+
function ii(e, t) {
|
|
1210
|
+
return _r(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1231
1211
|
}
|
|
1232
|
-
function
|
|
1212
|
+
function oi(e, t, r) {
|
|
1233
1213
|
var n = {};
|
|
1234
|
-
return r.isMergeableObject(e) &&
|
|
1214
|
+
return r.isMergeableObject(e) && Lt(e).forEach(function(i) {
|
|
1235
1215
|
n[i] = ge(e[i], r);
|
|
1236
|
-
}),
|
|
1237
|
-
|
|
1216
|
+
}), Lt(t).forEach(function(i) {
|
|
1217
|
+
ii(e, i) || (_r(e, i) && r.isMergeableObject(t[i]) ? n[i] = ri(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
|
|
1238
1218
|
}), n;
|
|
1239
1219
|
}
|
|
1240
1220
|
function ne(e, t, r) {
|
|
1241
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1221
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ti, r.isMergeableObject = r.isMergeableObject || Zn, r.cloneUnlessOtherwiseSpecified = ge;
|
|
1242
1222
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1243
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1223
|
+
return o ? n ? r.arrayMerge(e, t, r) : oi(e, t, r) : ge(t, r);
|
|
1244
1224
|
}
|
|
1245
1225
|
ne.all = function(t, r) {
|
|
1246
1226
|
if (!Array.isArray(t))
|
|
@@ -1249,58 +1229,56 @@ ne.all = function(t, r) {
|
|
|
1249
1229
|
return ne(n, i, r);
|
|
1250
1230
|
}, {});
|
|
1251
1231
|
};
|
|
1252
|
-
var
|
|
1253
|
-
const
|
|
1254
|
-
function
|
|
1255
|
-
var r = t && t.cache ? t.cache :
|
|
1232
|
+
var ai = ne, si = ai;
|
|
1233
|
+
const li = /* @__PURE__ */ zn(si);
|
|
1234
|
+
function Ve(e, t) {
|
|
1235
|
+
var r = t && t.cache ? t.cache : pi, n = t && t.serializer ? t.serializer : di, i = t && t.strategy ? t.strategy : ci;
|
|
1256
1236
|
return i(e, {
|
|
1257
1237
|
cache: r,
|
|
1258
1238
|
serializer: n
|
|
1259
1239
|
});
|
|
1260
1240
|
}
|
|
1261
|
-
function
|
|
1241
|
+
function ui(e) {
|
|
1262
1242
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1263
1243
|
}
|
|
1264
|
-
function
|
|
1265
|
-
var i =
|
|
1244
|
+
function hi(e, t, r, n) {
|
|
1245
|
+
var i = ui(n) ? n : r(n), o = t.get(i);
|
|
1266
1246
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1267
1247
|
}
|
|
1268
|
-
function
|
|
1248
|
+
function xr(e, t, r) {
|
|
1269
1249
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1270
1250
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1271
1251
|
}
|
|
1272
|
-
function
|
|
1252
|
+
function wr(e, t, r, n, i) {
|
|
1273
1253
|
return r.bind(t, e, n, i);
|
|
1274
1254
|
}
|
|
1275
|
-
function
|
|
1276
|
-
var r = e.length === 1 ?
|
|
1277
|
-
return
|
|
1255
|
+
function ci(e, t) {
|
|
1256
|
+
var r = e.length === 1 ? hi : xr;
|
|
1257
|
+
return wr(e, this, r, t.cache.create(), t.serializer);
|
|
1278
1258
|
}
|
|
1279
|
-
function
|
|
1280
|
-
return
|
|
1259
|
+
function fi(e, t) {
|
|
1260
|
+
return wr(e, this, xr, t.cache.create(), t.serializer);
|
|
1281
1261
|
}
|
|
1282
|
-
function
|
|
1283
|
-
return pt(e, this, Sr, t.cache.create(), t.serializer);
|
|
1284
|
-
}
|
|
1285
|
-
var vi = function() {
|
|
1262
|
+
var di = function() {
|
|
1286
1263
|
return JSON.stringify(arguments);
|
|
1287
|
-
}
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1264
|
+
}, mi = (
|
|
1265
|
+
/** @class */
|
|
1266
|
+
function() {
|
|
1267
|
+
function e() {
|
|
1268
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1269
|
+
}
|
|
1270
|
+
return e.prototype.get = function(t) {
|
|
1271
|
+
return this.cache[t];
|
|
1272
|
+
}, e.prototype.set = function(t, r) {
|
|
1273
|
+
this.cache[t] = r;
|
|
1274
|
+
}, e;
|
|
1275
|
+
}()
|
|
1276
|
+
), pi = {
|
|
1298
1277
|
create: function() {
|
|
1299
|
-
return new
|
|
1278
|
+
return new mi();
|
|
1300
1279
|
}
|
|
1301
|
-
},
|
|
1302
|
-
variadic:
|
|
1303
|
-
monadic: gi
|
|
1280
|
+
}, Xe = {
|
|
1281
|
+
variadic: fi
|
|
1304
1282
|
}, _;
|
|
1305
1283
|
(function(e) {
|
|
1306
1284
|
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";
|
|
@@ -1313,43 +1291,43 @@ var ie;
|
|
|
1313
1291
|
(function(e) {
|
|
1314
1292
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1315
1293
|
})(ie || (ie = {}));
|
|
1316
|
-
function
|
|
1294
|
+
function Ct(e) {
|
|
1317
1295
|
return e.type === I.literal;
|
|
1318
1296
|
}
|
|
1319
|
-
function
|
|
1297
|
+
function gi(e) {
|
|
1320
1298
|
return e.type === I.argument;
|
|
1321
1299
|
}
|
|
1322
|
-
function
|
|
1300
|
+
function Er(e) {
|
|
1323
1301
|
return e.type === I.number;
|
|
1324
1302
|
}
|
|
1325
|
-
function
|
|
1303
|
+
function Nr(e) {
|
|
1326
1304
|
return e.type === I.date;
|
|
1327
1305
|
}
|
|
1328
|
-
function
|
|
1306
|
+
function Sr(e) {
|
|
1329
1307
|
return e.type === I.time;
|
|
1330
1308
|
}
|
|
1331
|
-
function
|
|
1309
|
+
function Ir(e) {
|
|
1332
1310
|
return e.type === I.select;
|
|
1333
1311
|
}
|
|
1334
|
-
function
|
|
1312
|
+
function Br(e) {
|
|
1335
1313
|
return e.type === I.plural;
|
|
1336
1314
|
}
|
|
1337
|
-
function
|
|
1315
|
+
function vi(e) {
|
|
1338
1316
|
return e.type === I.pound;
|
|
1339
1317
|
}
|
|
1340
|
-
function
|
|
1318
|
+
function Ar(e) {
|
|
1341
1319
|
return e.type === I.tag;
|
|
1342
1320
|
}
|
|
1343
|
-
function
|
|
1321
|
+
function Tr(e) {
|
|
1344
1322
|
return !!(e && typeof e == "object" && e.type === ie.number);
|
|
1345
1323
|
}
|
|
1346
|
-
function
|
|
1324
|
+
function it(e) {
|
|
1347
1325
|
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
|
1348
1326
|
}
|
|
1349
|
-
var
|
|
1350
|
-
function
|
|
1327
|
+
var Pr = /[ \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;
|
|
1328
|
+
function yi(e) {
|
|
1351
1329
|
var t = {};
|
|
1352
|
-
return e.replace(
|
|
1330
|
+
return e.replace(bi, function(r) {
|
|
1353
1331
|
var n = r.length;
|
|
1354
1332
|
switch (r[0]) {
|
|
1355
1333
|
case "G":
|
|
@@ -1438,11 +1416,11 @@ function wi(e) {
|
|
|
1438
1416
|
return "";
|
|
1439
1417
|
}), t;
|
|
1440
1418
|
}
|
|
1441
|
-
var
|
|
1442
|
-
function
|
|
1419
|
+
var _i = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1420
|
+
function xi(e) {
|
|
1443
1421
|
if (e.length === 0)
|
|
1444
1422
|
throw new Error("Number skeleton cannot be empty");
|
|
1445
|
-
for (var t = e.split(
|
|
1423
|
+
for (var t = e.split(_i).filter(function(f) {
|
|
1446
1424
|
return f.length > 0;
|
|
1447
1425
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1448
1426
|
var o = i[n], a = o.split("/");
|
|
@@ -1457,17 +1435,17 @@ function Ni(e) {
|
|
|
1457
1435
|
}
|
|
1458
1436
|
return r;
|
|
1459
1437
|
}
|
|
1460
|
-
function
|
|
1438
|
+
function wi(e) {
|
|
1461
1439
|
return e.replace(/^(.*?)-/, "");
|
|
1462
1440
|
}
|
|
1463
|
-
var
|
|
1464
|
-
function
|
|
1441
|
+
var Ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Hr = /^(@+)?(\+|#+)?[rs]?$/g, Ei = /(\*)(0+)|(#+)(0+)|(0+)/g, Mr = /^(0+)$/;
|
|
1442
|
+
function Rt(e) {
|
|
1465
1443
|
var t = {};
|
|
1466
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1444
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Hr, function(r, n, i) {
|
|
1467
1445
|
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)), "";
|
|
1468
1446
|
}), t;
|
|
1469
1447
|
}
|
|
1470
|
-
function
|
|
1448
|
+
function Or(e) {
|
|
1471
1449
|
switch (e) {
|
|
1472
1450
|
case "sign-auto":
|
|
1473
1451
|
return {
|
|
@@ -1507,7 +1485,7 @@ function Rr(e) {
|
|
|
1507
1485
|
};
|
|
1508
1486
|
}
|
|
1509
1487
|
}
|
|
1510
|
-
function
|
|
1488
|
+
function Ni(e) {
|
|
1511
1489
|
var t;
|
|
1512
1490
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1513
1491
|
notation: "engineering"
|
|
@@ -1515,17 +1493,17 @@ function Bi(e) {
|
|
|
1515
1493
|
notation: "scientific"
|
|
1516
1494
|
}, e = e.slice(1)), t) {
|
|
1517
1495
|
var r = e.slice(0, 2);
|
|
1518
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1496
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Mr.test(e))
|
|
1519
1497
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1520
1498
|
t.minimumIntegerDigits = e.length;
|
|
1521
1499
|
}
|
|
1522
1500
|
return t;
|
|
1523
1501
|
}
|
|
1524
|
-
function
|
|
1525
|
-
var t = {}, r =
|
|
1502
|
+
function Ut(e) {
|
|
1503
|
+
var t = {}, r = Or(e);
|
|
1526
1504
|
return r || t;
|
|
1527
1505
|
}
|
|
1528
|
-
function
|
|
1506
|
+
function Si(e) {
|
|
1529
1507
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1530
1508
|
var i = n[r];
|
|
1531
1509
|
switch (i.stem) {
|
|
@@ -1549,7 +1527,7 @@ function Ai(e) {
|
|
|
1549
1527
|
continue;
|
|
1550
1528
|
case "measure-unit":
|
|
1551
1529
|
case "unit":
|
|
1552
|
-
t.style = "unit", t.unit =
|
|
1530
|
+
t.style = "unit", t.unit = wi(i.options[0]);
|
|
1553
1531
|
continue;
|
|
1554
1532
|
case "compact-short":
|
|
1555
1533
|
case "K":
|
|
@@ -1561,12 +1539,12 @@ function Ai(e) {
|
|
|
1561
1539
|
continue;
|
|
1562
1540
|
case "scientific":
|
|
1563
1541
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1564
|
-
return w(w({}, l),
|
|
1542
|
+
return w(w({}, l), Ut(u));
|
|
1565
1543
|
}, {}));
|
|
1566
1544
|
continue;
|
|
1567
1545
|
case "engineering":
|
|
1568
1546
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1569
|
-
return w(w({}, l),
|
|
1547
|
+
return w(w({}, l), Ut(u));
|
|
1570
1548
|
}, {}));
|
|
1571
1549
|
continue;
|
|
1572
1550
|
case "notation-simple":
|
|
@@ -1611,7 +1589,7 @@ function Ai(e) {
|
|
|
1611
1589
|
case "integer-width":
|
|
1612
1590
|
if (i.options.length > 1)
|
|
1613
1591
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1614
|
-
i.options[0].replace(
|
|
1592
|
+
i.options[0].replace(Ei, function(l, u, h, d, f, p) {
|
|
1615
1593
|
if (u)
|
|
1616
1594
|
t.minimumIntegerDigits = h.length;
|
|
1617
1595
|
else {
|
|
@@ -1624,27 +1602,27 @@ function Ai(e) {
|
|
|
1624
1602
|
});
|
|
1625
1603
|
continue;
|
|
1626
1604
|
}
|
|
1627
|
-
if (
|
|
1605
|
+
if (Mr.test(i.stem)) {
|
|
1628
1606
|
t.minimumIntegerDigits = i.stem.length;
|
|
1629
1607
|
continue;
|
|
1630
1608
|
}
|
|
1631
|
-
if (
|
|
1609
|
+
if (Ft.test(i.stem)) {
|
|
1632
1610
|
if (i.options.length > 1)
|
|
1633
1611
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1634
|
-
i.stem.replace(
|
|
1612
|
+
i.stem.replace(Ft, function(l, u, h, d, f, p) {
|
|
1635
1613
|
return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1636
1614
|
});
|
|
1637
1615
|
var o = i.options[0];
|
|
1638
|
-
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t),
|
|
1616
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Rt(o)));
|
|
1639
1617
|
continue;
|
|
1640
1618
|
}
|
|
1641
|
-
if (
|
|
1642
|
-
t = w(w({}, t),
|
|
1619
|
+
if (Hr.test(i.stem)) {
|
|
1620
|
+
t = w(w({}, t), Rt(i.stem));
|
|
1643
1621
|
continue;
|
|
1644
1622
|
}
|
|
1645
|
-
var a =
|
|
1623
|
+
var a = Or(i.stem);
|
|
1646
1624
|
a && (t = w(w({}, t), a));
|
|
1647
|
-
var s =
|
|
1625
|
+
var s = Ni(i.stem);
|
|
1648
1626
|
s && (t = w(w({}, t), s));
|
|
1649
1627
|
}
|
|
1650
1628
|
return t;
|
|
@@ -3064,13 +3042,13 @@ var Ee = {
|
|
|
3064
3042
|
"h"
|
|
3065
3043
|
]
|
|
3066
3044
|
};
|
|
3067
|
-
function
|
|
3045
|
+
function Ii(e, t) {
|
|
3068
3046
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3069
3047
|
var i = e.charAt(n);
|
|
3070
3048
|
if (i === "j") {
|
|
3071
3049
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3072
3050
|
o++, n++;
|
|
3073
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3051
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Bi(t);
|
|
3074
3052
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3075
3053
|
r += l;
|
|
3076
3054
|
for (; a-- > 0; )
|
|
@@ -3080,7 +3058,7 @@ function Ti(e, t) {
|
|
|
3080
3058
|
}
|
|
3081
3059
|
return r;
|
|
3082
3060
|
}
|
|
3083
|
-
function
|
|
3061
|
+
function Bi(e) {
|
|
3084
3062
|
var t = e.hourCycle;
|
|
3085
3063
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3086
3064
|
e.hourCycles && // @ts-ignore
|
|
@@ -3102,20 +3080,20 @@ function Hi(e) {
|
|
|
3102
3080
|
var i = Ee[n || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
|
|
3103
3081
|
return i[0];
|
|
3104
3082
|
}
|
|
3105
|
-
var
|
|
3083
|
+
var ze, Ai = new RegExp("^".concat(Pr.source, "*")), Ti = new RegExp("".concat(Pr.source, "*$"));
|
|
3106
3084
|
function x(e, t) {
|
|
3107
3085
|
return { start: e, end: t };
|
|
3108
3086
|
}
|
|
3109
|
-
var
|
|
3087
|
+
var Pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hi = !!String.fromCodePoint, Mi = !!Object.fromEntries, Oi = !!String.prototype.codePointAt, Li = !!String.prototype.trimStart, Ci = !!String.prototype.trimEnd, Fi = !!Number.isSafeInteger, Ri = Fi ? Number.isSafeInteger : function(e) {
|
|
3110
3088
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3111
|
-
},
|
|
3089
|
+
}, ot = !0;
|
|
3112
3090
|
try {
|
|
3113
|
-
var
|
|
3114
|
-
|
|
3091
|
+
var Ui = Cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3092
|
+
ot = ((ze = Ui.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
|
|
3115
3093
|
} catch (e) {
|
|
3116
|
-
|
|
3094
|
+
ot = !1;
|
|
3117
3095
|
}
|
|
3118
|
-
var
|
|
3096
|
+
var Dt = Pi ? (
|
|
3119
3097
|
// Native
|
|
3120
3098
|
function(t, r, n) {
|
|
3121
3099
|
return t.startsWith(r, n);
|
|
@@ -3125,7 +3103,7 @@ var kt = Oi ? (
|
|
|
3125
3103
|
function(t, r, n) {
|
|
3126
3104
|
return t.slice(n, n + r.length) === r;
|
|
3127
3105
|
}
|
|
3128
|
-
),
|
|
3106
|
+
), at = Hi ? String.fromCodePoint : (
|
|
3129
3107
|
// IE11
|
|
3130
3108
|
function() {
|
|
3131
3109
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3137,9 +3115,9 @@ var kt = Oi ? (
|
|
|
3137
3115
|
}
|
|
3138
3116
|
return n;
|
|
3139
3117
|
}
|
|
3140
|
-
),
|
|
3118
|
+
), Gt = (
|
|
3141
3119
|
// native
|
|
3142
|
-
|
|
3120
|
+
Mi ? Object.fromEntries : (
|
|
3143
3121
|
// Ponyfill
|
|
3144
3122
|
function(t) {
|
|
3145
3123
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3149,7 +3127,7 @@ var kt = Oi ? (
|
|
|
3149
3127
|
return r;
|
|
3150
3128
|
}
|
|
3151
3129
|
)
|
|
3152
|
-
),
|
|
3130
|
+
), Lr = Oi ? (
|
|
3153
3131
|
// Native
|
|
3154
3132
|
function(t, r) {
|
|
3155
3133
|
return t.codePointAt(r);
|
|
@@ -3163,7 +3141,7 @@ var kt = Oi ? (
|
|
|
3163
3141
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3164
3142
|
}
|
|
3165
3143
|
}
|
|
3166
|
-
),
|
|
3144
|
+
), Di = Li ? (
|
|
3167
3145
|
// Native
|
|
3168
3146
|
function(t) {
|
|
3169
3147
|
return t.trimStart();
|
|
@@ -3171,9 +3149,9 @@ var kt = Oi ? (
|
|
|
3171
3149
|
) : (
|
|
3172
3150
|
// Ponyfill
|
|
3173
3151
|
function(t) {
|
|
3174
|
-
return t.replace(
|
|
3152
|
+
return t.replace(Ai, "");
|
|
3175
3153
|
}
|
|
3176
|
-
),
|
|
3154
|
+
), Gi = Ci ? (
|
|
3177
3155
|
// Native
|
|
3178
3156
|
function(t) {
|
|
3179
3157
|
return t.trimEnd();
|
|
@@ -3181,32 +3159,32 @@ var kt = Oi ? (
|
|
|
3181
3159
|
) : (
|
|
3182
3160
|
// Ponyfill
|
|
3183
3161
|
function(t) {
|
|
3184
|
-
return t.replace(
|
|
3162
|
+
return t.replace(Ti, "");
|
|
3185
3163
|
}
|
|
3186
3164
|
);
|
|
3187
|
-
function
|
|
3165
|
+
function Cr(e, t) {
|
|
3188
3166
|
return new RegExp(e, t);
|
|
3189
3167
|
}
|
|
3190
|
-
var
|
|
3191
|
-
if (
|
|
3192
|
-
var
|
|
3193
|
-
|
|
3168
|
+
var st;
|
|
3169
|
+
if (ot) {
|
|
3170
|
+
var $t = Cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3171
|
+
st = function(t, r) {
|
|
3194
3172
|
var n;
|
|
3195
|
-
|
|
3196
|
-
var i =
|
|
3173
|
+
$t.lastIndex = r;
|
|
3174
|
+
var i = $t.exec(t);
|
|
3197
3175
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3198
3176
|
};
|
|
3199
3177
|
} else
|
|
3200
|
-
|
|
3178
|
+
st = function(t, r) {
|
|
3201
3179
|
for (var n = []; ; ) {
|
|
3202
|
-
var i =
|
|
3203
|
-
if (i === void 0 ||
|
|
3180
|
+
var i = Lr(t, r);
|
|
3181
|
+
if (i === void 0 || Fr(i) || Wi(i))
|
|
3204
3182
|
break;
|
|
3205
3183
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3206
3184
|
}
|
|
3207
|
-
return
|
|
3185
|
+
return at.apply(void 0, n);
|
|
3208
3186
|
};
|
|
3209
|
-
var
|
|
3187
|
+
var $i = (
|
|
3210
3188
|
/** @class */
|
|
3211
3189
|
function() {
|
|
3212
3190
|
function e(t, r) {
|
|
@@ -3237,7 +3215,7 @@ var Wi = (
|
|
|
3237
3215
|
if (n)
|
|
3238
3216
|
break;
|
|
3239
3217
|
return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3240
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3218
|
+
} else if (o === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
|
|
3241
3219
|
var a = this.parseTag(t, r);
|
|
3242
3220
|
if (a.err)
|
|
3243
3221
|
return a;
|
|
@@ -3270,7 +3248,7 @@ var Wi = (
|
|
|
3270
3248
|
return o;
|
|
3271
3249
|
var a = o.val, s = this.clonePosition();
|
|
3272
3250
|
if (this.bumpIf("</")) {
|
|
3273
|
-
if (this.isEOF() || !
|
|
3251
|
+
if (this.isEOF() || !lt(this.char()))
|
|
3274
3252
|
return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
|
|
3275
3253
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3276
3254
|
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3288,7 +3266,7 @@ var Wi = (
|
|
|
3288
3266
|
return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
|
|
3289
3267
|
}, e.prototype.parseTagName = function() {
|
|
3290
3268
|
var t = this.offset();
|
|
3291
|
-
for (this.bump(); !this.isEOF() &&
|
|
3269
|
+
for (this.bump(); !this.isEOF() && ji(this.char()); )
|
|
3292
3270
|
this.bump();
|
|
3293
3271
|
return this.message.slice(t, this.offset());
|
|
3294
3272
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3317,7 +3295,7 @@ var Wi = (
|
|
|
3317
3295
|
};
|
|
3318
3296
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3319
3297
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3320
|
-
!
|
|
3298
|
+
!ki(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3321
3299
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3322
3300
|
if (this.isEOF() || this.char() !== 39)
|
|
3323
3301
|
return null;
|
|
@@ -3351,12 +3329,12 @@ var Wi = (
|
|
|
3351
3329
|
r.push(n);
|
|
3352
3330
|
this.bump();
|
|
3353
3331
|
}
|
|
3354
|
-
return
|
|
3332
|
+
return at.apply(void 0, r);
|
|
3355
3333
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3356
3334
|
if (this.isEOF())
|
|
3357
3335
|
return null;
|
|
3358
3336
|
var n = this.char();
|
|
3359
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3337
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), at(n));
|
|
3360
3338
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3361
3339
|
var n = this.clonePosition();
|
|
3362
3340
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3385,7 +3363,7 @@ var Wi = (
|
|
|
3385
3363
|
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3386
3364
|
}
|
|
3387
3365
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3388
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3366
|
+
var t = this.clonePosition(), r = this.offset(), n = st(this.message, r), i = r + n.length;
|
|
3389
3367
|
this.bumpTo(i);
|
|
3390
3368
|
var o = this.clonePosition(), a = x(t, o);
|
|
3391
3369
|
return { value: n, location: a };
|
|
@@ -3404,7 +3382,7 @@ var Wi = (
|
|
|
3404
3382
|
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3405
3383
|
if (d.err)
|
|
3406
3384
|
return d;
|
|
3407
|
-
var f =
|
|
3385
|
+
var f = Gi(d.val);
|
|
3408
3386
|
if (f.length === 0)
|
|
3409
3387
|
return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3410
3388
|
var p = x(h, this.clonePosition());
|
|
@@ -3414,8 +3392,8 @@ var Wi = (
|
|
|
3414
3392
|
if (g.err)
|
|
3415
3393
|
return g;
|
|
3416
3394
|
var v = x(i, this.clonePosition());
|
|
3417
|
-
if (u &&
|
|
3418
|
-
var A =
|
|
3395
|
+
if (u && Dt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3396
|
+
var A = Di(u.style.slice(2));
|
|
3419
3397
|
if (s === "number") {
|
|
3420
3398
|
var d = this.parseNumberSkeletonFromString(A, u.styleLocation);
|
|
3421
3399
|
return d.err ? d : {
|
|
@@ -3426,12 +3404,12 @@ var Wi = (
|
|
|
3426
3404
|
if (A.length === 0)
|
|
3427
3405
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3428
3406
|
var S = A;
|
|
3429
|
-
this.locale && (S =
|
|
3407
|
+
this.locale && (S = Ii(A, this.locale));
|
|
3430
3408
|
var f = {
|
|
3431
3409
|
type: ie.dateTime,
|
|
3432
3410
|
pattern: S,
|
|
3433
3411
|
location: u.styleLocation,
|
|
3434
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3412
|
+
parsedOptions: this.shouldParseSkeletons ? yi(S) : {}
|
|
3435
3413
|
}, b = s === "date" ? I.date : I.time;
|
|
3436
3414
|
return {
|
|
3437
3415
|
val: { type: b, value: n, location: v, style: f },
|
|
@@ -3456,7 +3434,7 @@ var Wi = (
|
|
|
3456
3434
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3457
3435
|
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(N, w({}, N)));
|
|
3458
3436
|
this.bumpSpace();
|
|
3459
|
-
var E = this.parseIdentifierIfPossible(),
|
|
3437
|
+
var E = this.parseIdentifierIfPossible(), P = 0;
|
|
3460
3438
|
if (s !== "select" && E.value === "offset") {
|
|
3461
3439
|
if (!this.bumpIf(":"))
|
|
3462
3440
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
@@ -3464,7 +3442,7 @@ var Wi = (
|
|
|
3464
3442
|
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3465
3443
|
if (d.err)
|
|
3466
3444
|
return d;
|
|
3467
|
-
this.bumpSpace(), E = this.parseIdentifierIfPossible(),
|
|
3445
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), P = d.val;
|
|
3468
3446
|
}
|
|
3469
3447
|
var z = this.tryParsePluralOrSelectOptions(t, s, r, E);
|
|
3470
3448
|
if (z.err)
|
|
@@ -3477,7 +3455,7 @@ var Wi = (
|
|
|
3477
3455
|
val: {
|
|
3478
3456
|
type: I.select,
|
|
3479
3457
|
value: n,
|
|
3480
|
-
options:
|
|
3458
|
+
options: Gt(z.val),
|
|
3481
3459
|
location: Y
|
|
3482
3460
|
},
|
|
3483
3461
|
err: null
|
|
@@ -3485,8 +3463,8 @@ var Wi = (
|
|
|
3485
3463
|
val: {
|
|
3486
3464
|
type: I.plural,
|
|
3487
3465
|
value: n,
|
|
3488
|
-
options:
|
|
3489
|
-
offset:
|
|
3466
|
+
options: Gt(z.val),
|
|
3467
|
+
offset: P,
|
|
3490
3468
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3491
3469
|
location: Y
|
|
3492
3470
|
},
|
|
@@ -3536,7 +3514,7 @@ var Wi = (
|
|
|
3536
3514
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3537
3515
|
var n = [];
|
|
3538
3516
|
try {
|
|
3539
|
-
n =
|
|
3517
|
+
n = xi(t);
|
|
3540
3518
|
} catch (i) {
|
|
3541
3519
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3542
3520
|
}
|
|
@@ -3545,7 +3523,7 @@ var Wi = (
|
|
|
3545
3523
|
type: ie.number,
|
|
3546
3524
|
tokens: n,
|
|
3547
3525
|
location: r,
|
|
3548
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3526
|
+
parsedOptions: this.shouldParseSkeletons ? Si(n) : {}
|
|
3549
3527
|
},
|
|
3550
3528
|
err: null
|
|
3551
3529
|
};
|
|
@@ -3593,7 +3571,7 @@ var Wi = (
|
|
|
3593
3571
|
break;
|
|
3594
3572
|
}
|
|
3595
3573
|
var l = x(i, this.clonePosition());
|
|
3596
|
-
return o ? (a *= n,
|
|
3574
|
+
return o ? (a *= n, Ri(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3597
3575
|
}, e.prototype.offset = function() {
|
|
3598
3576
|
return this.position.offset;
|
|
3599
3577
|
}, e.prototype.isEOF = function() {
|
|
@@ -3608,7 +3586,7 @@ var Wi = (
|
|
|
3608
3586
|
var t = this.position.offset;
|
|
3609
3587
|
if (t >= this.message.length)
|
|
3610
3588
|
throw Error("out of bound");
|
|
3611
|
-
var r =
|
|
3589
|
+
var r = Lr(this.message, t);
|
|
3612
3590
|
if (r === void 0)
|
|
3613
3591
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3614
3592
|
return r;
|
|
@@ -3627,7 +3605,7 @@ var Wi = (
|
|
|
3627
3605
|
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);
|
|
3628
3606
|
}
|
|
3629
3607
|
}, e.prototype.bumpIf = function(t) {
|
|
3630
|
-
if (
|
|
3608
|
+
if (Dt(this.message, t, this.offset())) {
|
|
3631
3609
|
for (var r = 0; r < t.length; r++)
|
|
3632
3610
|
this.bump();
|
|
3633
3611
|
return !0;
|
|
@@ -3649,7 +3627,7 @@ var Wi = (
|
|
|
3649
3627
|
break;
|
|
3650
3628
|
}
|
|
3651
3629
|
}, e.prototype.bumpSpace = function() {
|
|
3652
|
-
for (; !this.isEOF() &&
|
|
3630
|
+
for (; !this.isEOF() && Fr(this.char()); )
|
|
3653
3631
|
this.bump();
|
|
3654
3632
|
}, e.prototype.peek = function() {
|
|
3655
3633
|
if (this.isEOF())
|
|
@@ -3659,38 +3637,38 @@ var Wi = (
|
|
|
3659
3637
|
}, e;
|
|
3660
3638
|
}()
|
|
3661
3639
|
);
|
|
3662
|
-
function
|
|
3640
|
+
function lt(e) {
|
|
3663
3641
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3664
3642
|
}
|
|
3665
|
-
function
|
|
3666
|
-
return
|
|
3643
|
+
function ki(e) {
|
|
3644
|
+
return lt(e) || e === 47;
|
|
3667
3645
|
}
|
|
3668
|
-
function
|
|
3646
|
+
function ji(e) {
|
|
3669
3647
|
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;
|
|
3670
3648
|
}
|
|
3671
|
-
function
|
|
3649
|
+
function Fr(e) {
|
|
3672
3650
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3673
3651
|
}
|
|
3674
|
-
function
|
|
3652
|
+
function Wi(e) {
|
|
3675
3653
|
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;
|
|
3676
3654
|
}
|
|
3677
|
-
function
|
|
3655
|
+
function ut(e) {
|
|
3678
3656
|
e.forEach(function(t) {
|
|
3679
|
-
if (delete t.location,
|
|
3657
|
+
if (delete t.location, Ir(t) || Br(t))
|
|
3680
3658
|
for (var r in t.options)
|
|
3681
|
-
delete t.options[r].location,
|
|
3659
|
+
delete t.options[r].location, ut(t.options[r].value);
|
|
3682
3660
|
else
|
|
3683
|
-
|
|
3661
|
+
Er(t) && Tr(t.style) || (Nr(t) || Sr(t)) && it(t.style) ? delete t.style.location : Ar(t) && ut(t.children);
|
|
3684
3662
|
});
|
|
3685
3663
|
}
|
|
3686
|
-
function
|
|
3664
|
+
function Vi(e, t) {
|
|
3687
3665
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3688
|
-
var r = new
|
|
3666
|
+
var r = new $i(e, t).parse();
|
|
3689
3667
|
if (r.err) {
|
|
3690
3668
|
var n = SyntaxError(_[r.err.kind]);
|
|
3691
3669
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3692
3670
|
}
|
|
3693
|
-
return t != null && t.captureLocation ||
|
|
3671
|
+
return t != null && t.captureLocation || ut(r.val), r.val;
|
|
3694
3672
|
}
|
|
3695
3673
|
var oe;
|
|
3696
3674
|
(function(e) {
|
|
@@ -3708,7 +3686,7 @@ var Ce = (
|
|
|
3708
3686
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3709
3687
|
}, t;
|
|
3710
3688
|
}(Error)
|
|
3711
|
-
),
|
|
3689
|
+
), kt = (
|
|
3712
3690
|
/** @class */
|
|
3713
3691
|
function(e) {
|
|
3714
3692
|
j(t, e);
|
|
@@ -3717,7 +3695,7 @@ var Ce = (
|
|
|
3717
3695
|
}
|
|
3718
3696
|
return t;
|
|
3719
3697
|
}(Ce)
|
|
3720
|
-
),
|
|
3698
|
+
), Xi = (
|
|
3721
3699
|
/** @class */
|
|
3722
3700
|
function(e) {
|
|
3723
3701
|
j(t, e);
|
|
@@ -3726,7 +3704,7 @@ var Ce = (
|
|
|
3726
3704
|
}
|
|
3727
3705
|
return t;
|
|
3728
3706
|
}(Ce)
|
|
3729
|
-
),
|
|
3707
|
+
), zi = (
|
|
3730
3708
|
/** @class */
|
|
3731
3709
|
function(e) {
|
|
3732
3710
|
j(t, e);
|
|
@@ -3739,17 +3717,17 @@ var Ce = (
|
|
|
3739
3717
|
(function(e) {
|
|
3740
3718
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3741
3719
|
})(O || (O = {}));
|
|
3742
|
-
function
|
|
3720
|
+
function Zi(e) {
|
|
3743
3721
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3744
3722
|
var n = t[t.length - 1];
|
|
3745
3723
|
return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
|
|
3746
3724
|
}, []);
|
|
3747
3725
|
}
|
|
3748
|
-
function
|
|
3726
|
+
function Qi(e) {
|
|
3749
3727
|
return typeof e == "function";
|
|
3750
3728
|
}
|
|
3751
3729
|
function Be(e, t, r, n, i, o, a) {
|
|
3752
|
-
if (e.length === 1 &&
|
|
3730
|
+
if (e.length === 1 && Ct(e[0]))
|
|
3753
3731
|
return [
|
|
3754
3732
|
{
|
|
3755
3733
|
type: O.literal,
|
|
@@ -3758,14 +3736,14 @@ function Be(e, t, r, n, i, o, a) {
|
|
|
3758
3736
|
];
|
|
3759
3737
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3760
3738
|
var h = u[l];
|
|
3761
|
-
if (
|
|
3739
|
+
if (Ct(h)) {
|
|
3762
3740
|
s.push({
|
|
3763
3741
|
type: O.literal,
|
|
3764
3742
|
value: h.value
|
|
3765
3743
|
});
|
|
3766
3744
|
continue;
|
|
3767
3745
|
}
|
|
3768
|
-
if (
|
|
3746
|
+
if (vi(h)) {
|
|
3769
3747
|
typeof o == "number" && s.push({
|
|
3770
3748
|
type: O.literal,
|
|
3771
3749
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3774,61 +3752,61 @@ function Be(e, t, r, n, i, o, a) {
|
|
|
3774
3752
|
}
|
|
3775
3753
|
var d = h.value;
|
|
3776
3754
|
if (!(i && d in i))
|
|
3777
|
-
throw new
|
|
3755
|
+
throw new zi(d, a);
|
|
3778
3756
|
var f = i[d];
|
|
3779
|
-
if (
|
|
3757
|
+
if (gi(h)) {
|
|
3780
3758
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3781
3759
|
type: typeof f == "string" ? O.literal : O.object,
|
|
3782
3760
|
value: f
|
|
3783
3761
|
});
|
|
3784
3762
|
continue;
|
|
3785
3763
|
}
|
|
3786
|
-
if (
|
|
3787
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
3764
|
+
if (Nr(h)) {
|
|
3765
|
+
var p = typeof h.style == "string" ? n.date[h.style] : it(h.style) ? h.style.parsedOptions : void 0;
|
|
3788
3766
|
s.push({
|
|
3789
3767
|
type: O.literal,
|
|
3790
3768
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3791
3769
|
});
|
|
3792
3770
|
continue;
|
|
3793
3771
|
}
|
|
3794
|
-
if (
|
|
3795
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
3772
|
+
if (Sr(h)) {
|
|
3773
|
+
var p = typeof h.style == "string" ? n.time[h.style] : it(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3796
3774
|
s.push({
|
|
3797
3775
|
type: O.literal,
|
|
3798
3776
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3799
3777
|
});
|
|
3800
3778
|
continue;
|
|
3801
3779
|
}
|
|
3802
|
-
if (
|
|
3803
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
|
3780
|
+
if (Er(h)) {
|
|
3781
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Tr(h.style) ? h.style.parsedOptions : void 0;
|
|
3804
3782
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3805
3783
|
type: O.literal,
|
|
3806
3784
|
value: r.getNumberFormat(t, p).format(f)
|
|
3807
3785
|
});
|
|
3808
3786
|
continue;
|
|
3809
3787
|
}
|
|
3810
|
-
if (
|
|
3788
|
+
if (Ar(h)) {
|
|
3811
3789
|
var g = h.children, v = h.value, A = i[v];
|
|
3812
|
-
if (!
|
|
3813
|
-
throw new
|
|
3814
|
-
var S = Be(g, t, r, n, i, o), b = A(S.map(function(
|
|
3815
|
-
return
|
|
3790
|
+
if (!Qi(A))
|
|
3791
|
+
throw new Xi(v, "function", a);
|
|
3792
|
+
var S = Be(g, t, r, n, i, o), b = A(S.map(function(P) {
|
|
3793
|
+
return P.value;
|
|
3816
3794
|
}));
|
|
3817
|
-
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(
|
|
3795
|
+
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(P) {
|
|
3818
3796
|
return {
|
|
3819
|
-
type: typeof
|
|
3820
|
-
value:
|
|
3797
|
+
type: typeof P == "string" ? O.literal : O.object,
|
|
3798
|
+
value: P
|
|
3821
3799
|
};
|
|
3822
3800
|
}));
|
|
3823
3801
|
}
|
|
3824
|
-
if (
|
|
3802
|
+
if (Ir(h)) {
|
|
3825
3803
|
var N = h.options[f] || h.options.other;
|
|
3826
3804
|
if (!N)
|
|
3827
|
-
throw new
|
|
3805
|
+
throw new kt(h.value, f, Object.keys(h.options), a);
|
|
3828
3806
|
s.push.apply(s, Be(N.value, t, r, n, i));
|
|
3829
3807
|
continue;
|
|
3830
3808
|
}
|
|
3831
|
-
if (
|
|
3809
|
+
if (Br(h)) {
|
|
3832
3810
|
var N = h.options["=".concat(f)];
|
|
3833
3811
|
if (!N) {
|
|
3834
3812
|
if (!Intl.PluralRules)
|
|
@@ -3839,24 +3817,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3839
3817
|
N = h.options[E] || h.options.other;
|
|
3840
3818
|
}
|
|
3841
3819
|
if (!N)
|
|
3842
|
-
throw new
|
|
3820
|
+
throw new kt(h.value, f, Object.keys(h.options), a);
|
|
3843
3821
|
s.push.apply(s, Be(N.value, t, r, n, i, f - (h.offset || 0)));
|
|
3844
3822
|
continue;
|
|
3845
3823
|
}
|
|
3846
3824
|
}
|
|
3847
|
-
return
|
|
3825
|
+
return Zi(s);
|
|
3848
3826
|
}
|
|
3849
|
-
function
|
|
3827
|
+
function Yi(e, t) {
|
|
3850
3828
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3851
3829
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3852
3830
|
}, {})) : e;
|
|
3853
3831
|
}
|
|
3854
|
-
function
|
|
3832
|
+
function Ji(e, t) {
|
|
3855
3833
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3856
|
-
return r[n] =
|
|
3834
|
+
return r[n] = Yi(e[n], t[n]), r;
|
|
3857
3835
|
}, w({}, e)) : e;
|
|
3858
3836
|
}
|
|
3859
|
-
function
|
|
3837
|
+
function Ze(e) {
|
|
3860
3838
|
return {
|
|
3861
3839
|
create: function() {
|
|
3862
3840
|
return {
|
|
@@ -3870,39 +3848,39 @@ function Qe(e) {
|
|
|
3870
3848
|
}
|
|
3871
3849
|
};
|
|
3872
3850
|
}
|
|
3873
|
-
function
|
|
3851
|
+
function qi(e) {
|
|
3874
3852
|
return e === void 0 && (e = {
|
|
3875
3853
|
number: {},
|
|
3876
3854
|
dateTime: {},
|
|
3877
3855
|
pluralRules: {}
|
|
3878
3856
|
}), {
|
|
3879
|
-
getNumberFormat:
|
|
3857
|
+
getNumberFormat: Ve(function() {
|
|
3880
3858
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3881
3859
|
r[n] = arguments[n];
|
|
3882
3860
|
return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3883
3861
|
}, {
|
|
3884
|
-
cache:
|
|
3885
|
-
strategy:
|
|
3862
|
+
cache: Ze(e.number),
|
|
3863
|
+
strategy: Xe.variadic
|
|
3886
3864
|
}),
|
|
3887
|
-
getDateTimeFormat:
|
|
3865
|
+
getDateTimeFormat: Ve(function() {
|
|
3888
3866
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3889
3867
|
r[n] = arguments[n];
|
|
3890
3868
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3891
3869
|
}, {
|
|
3892
|
-
cache:
|
|
3893
|
-
strategy:
|
|
3870
|
+
cache: Ze(e.dateTime),
|
|
3871
|
+
strategy: Xe.variadic
|
|
3894
3872
|
}),
|
|
3895
|
-
getPluralRules:
|
|
3873
|
+
getPluralRules: Ve(function() {
|
|
3896
3874
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3897
3875
|
r[n] = arguments[n];
|
|
3898
3876
|
return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
|
|
3899
3877
|
}, {
|
|
3900
|
-
cache:
|
|
3901
|
-
strategy:
|
|
3878
|
+
cache: Ze(e.pluralRules),
|
|
3879
|
+
strategy: Xe.variadic
|
|
3902
3880
|
})
|
|
3903
3881
|
};
|
|
3904
3882
|
}
|
|
3905
|
-
var
|
|
3883
|
+
var Ki = (
|
|
3906
3884
|
/** @class */
|
|
3907
3885
|
function() {
|
|
3908
3886
|
function e(t, r, n, i) {
|
|
@@ -3934,13 +3912,13 @@ var ro = (
|
|
|
3934
3912
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3935
3913
|
var a = i || {};
|
|
3936
3914
|
a.formatters;
|
|
3937
|
-
var s =
|
|
3915
|
+
var s = Hn(a, ["formatters"]);
|
|
3938
3916
|
this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
|
|
3939
3917
|
} else
|
|
3940
3918
|
this.ast = t;
|
|
3941
3919
|
if (!Array.isArray(this.ast))
|
|
3942
3920
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3943
|
-
this.formats =
|
|
3921
|
+
this.formats = Ji(e.formats, n), this.formatters = i && i.formatters || qi(this.formatterCache);
|
|
3944
3922
|
}
|
|
3945
3923
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3946
3924
|
get: function() {
|
|
@@ -3953,7 +3931,7 @@ var ro = (
|
|
|
3953
3931
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3954
3932
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3955
3933
|
}
|
|
3956
|
-
}, e.__parse =
|
|
3934
|
+
}, e.__parse = Vi, e.formats = {
|
|
3957
3935
|
number: {
|
|
3958
3936
|
integer: {
|
|
3959
3937
|
maximumFractionDigits: 0
|
|
@@ -4014,7 +3992,7 @@ var ro = (
|
|
|
4014
3992
|
}, e;
|
|
4015
3993
|
}()
|
|
4016
3994
|
);
|
|
4017
|
-
function
|
|
3995
|
+
function eo(e, t) {
|
|
4018
3996
|
if (t == null)
|
|
4019
3997
|
return;
|
|
4020
3998
|
if (t in e)
|
|
@@ -4035,92 +4013,92 @@ function no(e, t) {
|
|
|
4035
4013
|
n = void 0;
|
|
4036
4014
|
return n;
|
|
4037
4015
|
}
|
|
4038
|
-
const V = {},
|
|
4016
|
+
const V = {}, to = (e, t, r) => r && (t in V || (V[t] = {}), e in V[t] || (V[t][e] = r), r), Rr = (e, t) => {
|
|
4039
4017
|
if (t == null)
|
|
4040
4018
|
return;
|
|
4041
4019
|
if (t in V && e in V[t])
|
|
4042
4020
|
return V[t][e];
|
|
4043
4021
|
const r = Fe(t);
|
|
4044
4022
|
for (let n = 0; n < r.length; n++) {
|
|
4045
|
-
const i = r[n], o =
|
|
4023
|
+
const i = r[n], o = no(i, e);
|
|
4046
4024
|
if (o)
|
|
4047
|
-
return
|
|
4025
|
+
return to(e, t, o);
|
|
4048
4026
|
}
|
|
4049
4027
|
};
|
|
4050
|
-
let
|
|
4028
|
+
let mt;
|
|
4051
4029
|
const ye = Le({});
|
|
4052
|
-
function
|
|
4053
|
-
return
|
|
4030
|
+
function ro(e) {
|
|
4031
|
+
return mt[e] || null;
|
|
4054
4032
|
}
|
|
4055
|
-
function
|
|
4056
|
-
return e in
|
|
4033
|
+
function Ur(e) {
|
|
4034
|
+
return e in mt;
|
|
4057
4035
|
}
|
|
4058
|
-
function
|
|
4059
|
-
if (!
|
|
4036
|
+
function no(e, t) {
|
|
4037
|
+
if (!Ur(e))
|
|
4060
4038
|
return null;
|
|
4061
|
-
const r =
|
|
4062
|
-
return
|
|
4039
|
+
const r = ro(e);
|
|
4040
|
+
return eo(r, t);
|
|
4063
4041
|
}
|
|
4064
|
-
function
|
|
4042
|
+
function io(e) {
|
|
4065
4043
|
if (e == null)
|
|
4066
4044
|
return;
|
|
4067
4045
|
const t = Fe(e);
|
|
4068
4046
|
for (let r = 0; r < t.length; r++) {
|
|
4069
4047
|
const n = t[r];
|
|
4070
|
-
if (
|
|
4048
|
+
if (Ur(n))
|
|
4071
4049
|
return n;
|
|
4072
4050
|
}
|
|
4073
4051
|
}
|
|
4074
|
-
function
|
|
4075
|
-
delete V[e], ye.update((r) => (r[e] =
|
|
4052
|
+
function Dr(e, ...t) {
|
|
4053
|
+
delete V[e], ye.update((r) => (r[e] = li.all([r[e] || {}, ...t]), r));
|
|
4076
4054
|
}
|
|
4077
4055
|
le(
|
|
4078
4056
|
[ye],
|
|
4079
4057
|
([e]) => Object.keys(e)
|
|
4080
4058
|
);
|
|
4081
|
-
ye.subscribe((e) =>
|
|
4059
|
+
ye.subscribe((e) => mt = e);
|
|
4082
4060
|
const Ae = {};
|
|
4083
|
-
function
|
|
4061
|
+
function oo(e, t) {
|
|
4084
4062
|
Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
|
|
4085
4063
|
}
|
|
4086
|
-
function
|
|
4064
|
+
function Gr(e) {
|
|
4087
4065
|
return Ae[e];
|
|
4088
4066
|
}
|
|
4089
|
-
function
|
|
4067
|
+
function ao(e) {
|
|
4090
4068
|
return Fe(e).map((t) => {
|
|
4091
|
-
const r =
|
|
4069
|
+
const r = Gr(t);
|
|
4092
4070
|
return [t, r ? [...r] : []];
|
|
4093
4071
|
}).filter(([, t]) => t.length > 0);
|
|
4094
4072
|
}
|
|
4095
|
-
function
|
|
4073
|
+
function ht(e) {
|
|
4096
4074
|
return e == null ? !1 : Fe(e).some(
|
|
4097
4075
|
(t) => {
|
|
4098
4076
|
var r;
|
|
4099
|
-
return (r =
|
|
4077
|
+
return (r = Gr(t)) == null ? void 0 : r.size;
|
|
4100
4078
|
}
|
|
4101
4079
|
);
|
|
4102
4080
|
}
|
|
4103
|
-
function
|
|
4081
|
+
function so(e, t) {
|
|
4104
4082
|
return Promise.all(
|
|
4105
|
-
t.map((n) => (
|
|
4106
|
-
).then((n) =>
|
|
4083
|
+
t.map((n) => (oo(e, n), n().then((i) => i.default || i)))
|
|
4084
|
+
).then((n) => Dr(e, ...n));
|
|
4107
4085
|
}
|
|
4108
4086
|
const fe = {};
|
|
4109
|
-
function
|
|
4110
|
-
if (!
|
|
4087
|
+
function $r(e) {
|
|
4088
|
+
if (!ht(e))
|
|
4111
4089
|
return e in fe ? fe[e] : Promise.resolve();
|
|
4112
|
-
const t =
|
|
4090
|
+
const t = ao(e);
|
|
4113
4091
|
return fe[e] = Promise.all(
|
|
4114
4092
|
t.map(
|
|
4115
|
-
([r, n]) =>
|
|
4093
|
+
([r, n]) => so(r, n)
|
|
4116
4094
|
)
|
|
4117
4095
|
).then(() => {
|
|
4118
|
-
if (
|
|
4119
|
-
return
|
|
4096
|
+
if (ht(e))
|
|
4097
|
+
return $r(e);
|
|
4120
4098
|
delete fe[e];
|
|
4121
4099
|
}), fe[e];
|
|
4122
4100
|
}
|
|
4123
|
-
const
|
|
4101
|
+
const lo = {
|
|
4124
4102
|
number: {
|
|
4125
4103
|
scientific: { notation: "scientific" },
|
|
4126
4104
|
engineering: { notation: "engineering" },
|
|
@@ -4149,57 +4127,57 @@ const co = {
|
|
|
4149
4127
|
timeZoneName: "short"
|
|
4150
4128
|
}
|
|
4151
4129
|
}
|
|
4152
|
-
},
|
|
4130
|
+
}, uo = {
|
|
4153
4131
|
fallbackLocale: null,
|
|
4154
4132
|
loadingDelay: 200,
|
|
4155
|
-
formats:
|
|
4133
|
+
formats: lo,
|
|
4156
4134
|
warnOnMissingMessages: !0,
|
|
4157
4135
|
handleMissingMessage: void 0,
|
|
4158
4136
|
ignoreTag: !0
|
|
4159
|
-
},
|
|
4137
|
+
}, ho = uo;
|
|
4160
4138
|
function ae() {
|
|
4161
|
-
return
|
|
4139
|
+
return ho;
|
|
4162
4140
|
}
|
|
4163
|
-
const
|
|
4164
|
-
var
|
|
4141
|
+
const Qe = Le(!1);
|
|
4142
|
+
var co = Object.defineProperty, fo = Object.defineProperties, mo = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, go = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vo = (e, t) => {
|
|
4165
4143
|
for (var r in t || (t = {}))
|
|
4166
|
-
|
|
4167
|
-
if (
|
|
4168
|
-
for (var r of
|
|
4169
|
-
|
|
4144
|
+
po.call(t, r) && Wt(e, r, t[r]);
|
|
4145
|
+
if (jt)
|
|
4146
|
+
for (var r of jt(t))
|
|
4147
|
+
go.call(t, r) && Wt(e, r, t[r]);
|
|
4170
4148
|
return e;
|
|
4171
|
-
},
|
|
4172
|
-
let
|
|
4173
|
-
const
|
|
4174
|
-
function
|
|
4149
|
+
}, bo = (e, t) => fo(e, mo(t));
|
|
4150
|
+
let ct;
|
|
4151
|
+
const Pe = Le(null);
|
|
4152
|
+
function Vt(e) {
|
|
4175
4153
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4176
4154
|
}
|
|
4177
4155
|
function Fe(e, t = ae().fallbackLocale) {
|
|
4178
|
-
const r =
|
|
4179
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4156
|
+
const r = Vt(e);
|
|
4157
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Vt(t)])] : r;
|
|
4180
4158
|
}
|
|
4181
4159
|
function Q() {
|
|
4182
|
-
return
|
|
4160
|
+
return ct != null ? ct : void 0;
|
|
4183
4161
|
}
|
|
4184
|
-
|
|
4185
|
-
|
|
4162
|
+
Pe.subscribe((e) => {
|
|
4163
|
+
ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4186
4164
|
});
|
|
4187
|
-
const
|
|
4188
|
-
if (e &&
|
|
4165
|
+
const yo = (e) => {
|
|
4166
|
+
if (e && io(e) && ht(e)) {
|
|
4189
4167
|
const { loadingDelay: t } = ae();
|
|
4190
4168
|
let r;
|
|
4191
4169
|
return typeof window != "undefined" && Q() != null && t ? r = window.setTimeout(
|
|
4192
|
-
() =>
|
|
4170
|
+
() => Qe.set(!0),
|
|
4193
4171
|
t
|
|
4194
|
-
) :
|
|
4195
|
-
|
|
4172
|
+
) : Qe.set(!0), $r(e).then(() => {
|
|
4173
|
+
Pe.set(e);
|
|
4196
4174
|
}).finally(() => {
|
|
4197
|
-
clearTimeout(r),
|
|
4175
|
+
clearTimeout(r), Qe.set(!1);
|
|
4198
4176
|
});
|
|
4199
4177
|
}
|
|
4200
|
-
return
|
|
4201
|
-
}, ue =
|
|
4202
|
-
set:
|
|
4178
|
+
return Pe.set(e);
|
|
4179
|
+
}, ue = bo(vo({}, Pe), {
|
|
4180
|
+
set: yo
|
|
4203
4181
|
}), Re = (e) => {
|
|
4204
4182
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4205
4183
|
return (n) => {
|
|
@@ -4207,20 +4185,20 @@ const wo = (e) => {
|
|
|
4207
4185
|
return i in t ? t[i] : t[i] = e(n);
|
|
4208
4186
|
};
|
|
4209
4187
|
};
|
|
4210
|
-
var
|
|
4188
|
+
var _o = Object.defineProperty, He = Object.getOwnPropertySymbols, kr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? _o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
|
4211
4189
|
for (var r in t || (t = {}))
|
|
4212
|
-
|
|
4213
|
-
if (
|
|
4214
|
-
for (var r of
|
|
4215
|
-
|
|
4190
|
+
kr.call(t, r) && Xt(e, r, t[r]);
|
|
4191
|
+
if (He)
|
|
4192
|
+
for (var r of He(t))
|
|
4193
|
+
jr.call(t, r) && Xt(e, r, t[r]);
|
|
4216
4194
|
return e;
|
|
4217
4195
|
}, he = (e, t) => {
|
|
4218
4196
|
var r = {};
|
|
4219
4197
|
for (var n in e)
|
|
4220
|
-
|
|
4221
|
-
if (e != null &&
|
|
4222
|
-
for (var n of
|
|
4223
|
-
t.indexOf(n) < 0 &&
|
|
4198
|
+
kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4199
|
+
if (e != null && He)
|
|
4200
|
+
for (var n of He(e))
|
|
4201
|
+
t.indexOf(n) < 0 && jr.call(e, n) && (r[n] = e[n]);
|
|
4224
4202
|
return r;
|
|
4225
4203
|
};
|
|
4226
4204
|
const ve = (e, t) => {
|
|
@@ -4228,21 +4206,21 @@ const ve = (e, t) => {
|
|
|
4228
4206
|
if (e in r && t in r[e])
|
|
4229
4207
|
return r[e][t];
|
|
4230
4208
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4231
|
-
},
|
|
4209
|
+
}, xo = Re(
|
|
4232
4210
|
(e) => {
|
|
4233
4211
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4234
4212
|
if (r == null)
|
|
4235
4213
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4236
4214
|
return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
|
|
4237
4215
|
}
|
|
4238
|
-
),
|
|
4216
|
+
), wo = Re(
|
|
4239
4217
|
(e) => {
|
|
4240
4218
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4241
4219
|
if (r == null)
|
|
4242
4220
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4243
4221
|
return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4244
4222
|
}
|
|
4245
|
-
),
|
|
4223
|
+
), Eo = Re(
|
|
4246
4224
|
(e) => {
|
|
4247
4225
|
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4248
4226
|
if (r == null)
|
|
@@ -4251,33 +4229,33 @@ const ve = (e, t) => {
|
|
|
4251
4229
|
);
|
|
4252
4230
|
return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4253
4231
|
}
|
|
4254
|
-
),
|
|
4232
|
+
), No = (e = {}) => {
|
|
4255
4233
|
var t = e, {
|
|
4256
4234
|
locale: r = Q()
|
|
4257
4235
|
} = t, n = he(t, [
|
|
4258
4236
|
"locale"
|
|
4259
4237
|
]);
|
|
4260
|
-
return
|
|
4261
|
-
},
|
|
4238
|
+
return xo(pt({ locale: r }, n));
|
|
4239
|
+
}, So = (e = {}) => {
|
|
4262
4240
|
var t = e, {
|
|
4263
4241
|
locale: r = Q()
|
|
4264
4242
|
} = t, n = he(t, [
|
|
4265
4243
|
"locale"
|
|
4266
4244
|
]);
|
|
4267
|
-
return
|
|
4268
|
-
},
|
|
4245
|
+
return wo(pt({ locale: r }, n));
|
|
4246
|
+
}, Io = (e = {}) => {
|
|
4269
4247
|
var t = e, {
|
|
4270
4248
|
locale: r = Q()
|
|
4271
4249
|
} = t, n = he(t, [
|
|
4272
4250
|
"locale"
|
|
4273
4251
|
]);
|
|
4274
|
-
return
|
|
4275
|
-
},
|
|
4252
|
+
return Eo(pt({ locale: r }, n));
|
|
4253
|
+
}, Bo = Re(
|
|
4276
4254
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4277
|
-
(e, t = Q()) => new
|
|
4255
|
+
(e, t = Q()) => new Ki(e, t, ae().formats, {
|
|
4278
4256
|
ignoreTag: ae().ignoreTag
|
|
4279
4257
|
})
|
|
4280
|
-
),
|
|
4258
|
+
), Ao = (e, t = {}) => {
|
|
4281
4259
|
var r, n, i, o;
|
|
4282
4260
|
let a = t;
|
|
4283
4261
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4290,7 +4268,7 @@ const ve = (e, t) => {
|
|
|
4290
4268
|
throw new Error(
|
|
4291
4269
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4292
4270
|
);
|
|
4293
|
-
let h =
|
|
4271
|
+
let h = Rr(e, l);
|
|
4294
4272
|
if (!h)
|
|
4295
4273
|
h = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4296
4274
|
else if (typeof h != "string")
|
|
@@ -4301,7 +4279,7 @@ const ve = (e, t) => {
|
|
|
4301
4279
|
return h;
|
|
4302
4280
|
let d = h;
|
|
4303
4281
|
try {
|
|
4304
|
-
d =
|
|
4282
|
+
d = Bo(h, l).format(s);
|
|
4305
4283
|
} catch (f) {
|
|
4306
4284
|
f instanceof Error && console.warn(
|
|
4307
4285
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4309,20 +4287,20 @@ const ve = (e, t) => {
|
|
|
4309
4287
|
);
|
|
4310
4288
|
}
|
|
4311
4289
|
return d;
|
|
4312
|
-
},
|
|
4313
|
-
le([ue], () =>
|
|
4314
|
-
le([ue], () =>
|
|
4315
|
-
le([ue], () =>
|
|
4316
|
-
le([ue, ye], () =>
|
|
4317
|
-
window.emWidgets = { topic:
|
|
4318
|
-
const
|
|
4319
|
-
function
|
|
4320
|
-
|
|
4321
|
-
}
|
|
4322
|
-
function
|
|
4290
|
+
}, To = (e, t) => Io(t).format(e), Po = (e, t) => So(t).format(e), Ho = (e, t) => No(t).format(e), Mo = (e, t = Q()) => Rr(e, t), Oo = le([ue, ye], () => Ao);
|
|
4291
|
+
le([ue], () => To);
|
|
4292
|
+
le([ue], () => Po);
|
|
4293
|
+
le([ue], () => Ho);
|
|
4294
|
+
le([ue, ye], () => Mo);
|
|
4295
|
+
window.emWidgets = { topic: Vn };
|
|
4296
|
+
const zt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4297
|
+
function Zt(e, t) {
|
|
4298
|
+
Dr(e, t);
|
|
4299
|
+
}
|
|
4300
|
+
function Lo(e) {
|
|
4323
4301
|
ue.set(e);
|
|
4324
4302
|
}
|
|
4325
|
-
const
|
|
4303
|
+
const Qt = {
|
|
4326
4304
|
en: {
|
|
4327
4305
|
secondaryMenuTitle: "Categories"
|
|
4328
4306
|
},
|
|
@@ -4357,13 +4335,13 @@ const qt = {
|
|
|
4357
4335
|
secondaryMenuTitle: "Categories"
|
|
4358
4336
|
}
|
|
4359
4337
|
};
|
|
4360
|
-
function
|
|
4338
|
+
function Co(e, t) {
|
|
4361
4339
|
if (e) {
|
|
4362
4340
|
const r = document.createElement("style");
|
|
4363
4341
|
r.innerHTML = t, e.appendChild(r);
|
|
4364
4342
|
}
|
|
4365
4343
|
}
|
|
4366
|
-
function
|
|
4344
|
+
function Fo(e, t) {
|
|
4367
4345
|
const r = new URL(t);
|
|
4368
4346
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4369
4347
|
const i = document.createElement("style");
|
|
@@ -4372,7 +4350,7 @@ function Do(e, t) {
|
|
|
4372
4350
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4373
4351
|
});
|
|
4374
4352
|
}
|
|
4375
|
-
function
|
|
4353
|
+
function Ro(e, t, r) {
|
|
4376
4354
|
if (window.emMessageBus) {
|
|
4377
4355
|
const n = document.createElement("style");
|
|
4378
4356
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4380,28 +4358,28 @@ function Go(e, t, r) {
|
|
|
4380
4358
|
});
|
|
4381
4359
|
}
|
|
4382
4360
|
}
|
|
4383
|
-
function
|
|
4384
|
-
|
|
4361
|
+
function Uo(e) {
|
|
4362
|
+
fn(e, "svelte-gg2uu2", '.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.NavigationPanel{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:calc(100% - 30px);max-width:450px;height:70px;z-index:30}.NavigationWindow{display:flex;flex-direction:column;background:var(--emw--color-white, #FFFFFF);position:absolute;bottom:30px;left:0;opacity:0;transform:translateY(100%);border-radius:5px 5px 0 0;transition:0.25s ease;width:100%;max-height:40vh}.NavigationWindow.NavigationWindowOpened{opacity:1;padding-bottom:60px;transform:translateY(5px)}.NavigationWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:100%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;z-index:1}.NavigationWindow .ModalCloseBtn svg{width:24px;height:24px;margin:50%;transform:translate(-50%, -50%)}.NavigationWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.NavigationWindow .NavigationWindowTitle{padding:16px 10px;margin:0;color:var(--emw--color-black, #000000);font-size:12px;flex-grow:0}.NavigationWindow .NavigationSecondaryWrapper{display:flex;flex-wrap:wrap;padding:0 10px;flex-grow:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";height:70px;border-radius:5px;position:relative}.NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.NavigationPrimaryItemAnchor,.NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding-bottom:12px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.NavigationPrimaryItemAnchor .NavigationSecondaryItemImg,.NavigationSecondaryItemAnchor .NavigationPrimaryItemImg,.NavigationSecondaryItemAnchor .NavigationSecondaryItemImg{width:20px}.NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;text-align:center}.NavigationSecondaryItemAnchor{width:25%;padding:10px 0}.ActiveItem{background-color:var(--emw--color-primary-50, var(--emw--color-pink-20, #FBECF4))}.NavigationButton{background:var(--emw--color-white, #FFFFFF);border:none;width:20%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0;padding-bottom:12px}.NavigationButton .middleIcon{width:32px;height:32px}.NavigationButton .middleIcon .a{fill:var(--emw--color-white, #FFFFFF);stroke:var(--emw--color-primary, #D0046C);stroke-linecap:round;stroke-linejoin:round}.NavigationButton .middleIcon .b{stroke:none}.NavigationButton .middleIcon .c{fill:none}.NavigationButton:before{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid var(--emw--color-gray-50, #F9F8F8);content:"";height:0;left:50%;opacity:0;position:absolute;top:0;transform:translateX(-50%);width:0}.NavigationButton.NavigationButtonActive:before{opacity:1;transition:0.7s ease}.FlowerMenu.NavigationWrapper{background:var(--emw--color-gray-50, #F9F8F8);width:100%}.FlowerMenu .NavigationPanel{position:fixed;display:flex;flex-direction:column;bottom:0;width:100%;z-index:30}.FlowerMenu .NavigationWindow{display:flex;flex-direction:column;backdrop-filter:blur(2px);background:linear-gradient(0deg, var(--emw--color-black, #000000) 0%, transparent 100%);opacity:0;transition:0.25s ease;width:100%;max-height:0vh}.FlowerMenu .NavigationWindow.NavigationWindowOpened{opacity:1;max-height:200px}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(1){transform:translate3d(-210%, 50%, 0);transition:transform 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(2){transform:translate3d(-150%, -50%, 0);transition:transform 0.1s 0.1s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(3){transform:translate3d(-50%, -100%, 0);transition:transform 0.1s 0.2s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(4){transform:translate3d(50%, -50%, 0);transition:transform 0.1s 0.3s}.FlowerMenu .NavigationWindow.NavigationWindowOpened .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor:nth-child(5){transform:translate3d(110%, 50%, 0);transition:transform 0.1s 0.4s}.FlowerMenu .NavigationWindow .ModalCloseBtn,.FlowerMenu .NavigationWindow .NavigationWindowTitle{display:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper{position:relative;width:100%;height:170px;list-style:none}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor{display:flex;width:60px;position:absolute;top:50%;left:50%;padding:0px;flex-direction:column;transform:translate(-50%, 150%)}.FlowerMenu .NavigationWindow .NavigationSecondaryWrapper .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{width:100%;height:20px;text-wrap:pretty;line-height:10px;color:var(--emw--color-white, #FFFFFF)}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem0{grid-area:item0}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem1{grid-area:item1}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem2{grid-area:item2}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem3{grid-area:item3}.FlowerMenu .NavigationPrimaryItemAnchor.NavItem4{grid-area:item4}.FlowerMenu .NavigationBar{background:var(--emw--color-white, #FFFFFF);display:grid;grid-auto-flow:column;grid-template-columns:1fr 1fr 20% 1fr 1fr;grid-template-areas:"item0 item1 . item2 item3";border-radius:5px;position:relative}.FlowerMenu .NavigationBar.NavigationBarSimple{grid-template-columns:repeat(5, 20%);grid-template-areas:"item0 item1 item2 item3 item4"}.FlowerMenu .NavigationBar.NavigationBarOpened{box-shadow:0 0 11px rgba(0, 0, 0, 0.09)}.FlowerMenu .NavigationPrimaryItemAnchor,.FlowerMenu .NavigationSecondaryItemAnchor{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;color:var(--emw--color-black, #000000);font-size:9px;overflow:hidden;white-space:nowrap;padding:10px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemImg{width:20px;height:20px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper{display:flex;justify-content:center;align-items:center;padding:5px;border-radius:100%;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemImgWrapper .NavigationSecondaryItemImg{width:25px;height:25px}.FlowerMenu .NavigationPrimaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationPrimaryItemAnchor .NavigationSecondaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationPrimaryItemLabel,.FlowerMenu .NavigationSecondaryItemAnchor .NavigationSecondaryItemLabel{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center}.FlowerMenu .NavigationButton{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:none;position:absolute;border-radius:100%;top:20%;left:50%;transform:translate(-50%, -50%);padding:10px}.FlowerMenu .NavigationButton .NavigationButtonSpan{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.FlowerMenu .NavigationButton .labelMiddleIcon{cursor:pointer;display:grid;align-items:center;justify-content:center;width:20px;height:20px;padding:4px;overflow:hidden}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine{background:var(--emw--color-white, #FFFFFF);content:"";height:2px;width:20px;grid-row-start:1;grid-column-start:1;transition:transform ease 0.2s, margin-top ease 0.2s 0.2s, width ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(1){margin-top:10px}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(2){margin:auto}.FlowerMenu .NavigationButton .labelMiddleIcon .middleIconLine:nth-child(3){margin-top:-10px}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(1){margin-top:0px;transform:rotate(-45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(2){width:0px;transition:width ease 0.2s}.FlowerMenu .NavigationButton .labelMiddleIconActive .middleIconLine:nth-child(3){margin-top:0px;transform:rotate(45deg);transition:margin-top ease 0.2s 0.2s, transform ease 0.2s 0.4s}');
|
|
4385
4363
|
}
|
|
4386
|
-
function
|
|
4364
|
+
function Yt(e, t, r) {
|
|
4387
4365
|
const n = e.slice();
|
|
4388
4366
|
return n[44] = t[r], n[46] = r, n;
|
|
4389
4367
|
}
|
|
4390
|
-
function
|
|
4368
|
+
function Jt(e, t, r) {
|
|
4391
4369
|
const n = e.slice();
|
|
4392
4370
|
return n[44] = t[r], n;
|
|
4393
4371
|
}
|
|
4394
|
-
const
|
|
4395
|
-
function
|
|
4372
|
+
const Do = (e) => ({}), qt = (e) => ({});
|
|
4373
|
+
function Kt(e) {
|
|
4396
4374
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4397
|
-
e[6] &&
|
|
4375
|
+
e[6] && er(e), u = Te(
|
|
4398
4376
|
/*primaryMenuSpliced*/
|
|
4399
4377
|
e[7]
|
|
4400
4378
|
), h = [];
|
|
4401
4379
|
for (let f = 0; f < u.length; f += 1)
|
|
4402
|
-
h[f] =
|
|
4380
|
+
h[f] = ir(Yt(e, u, f));
|
|
4403
4381
|
let d = !/*navigationBarSimple*/
|
|
4404
|
-
e[6] &&
|
|
4382
|
+
e[6] && or(e);
|
|
4405
4383
|
return {
|
|
4406
4384
|
c() {
|
|
4407
4385
|
t = B("div"), l && l.c(), r = k(), n = B("div");
|
|
@@ -4421,10 +4399,10 @@ function rr(e) {
|
|
|
4421
4399
|
},
|
|
4422
4400
|
p(f, p) {
|
|
4423
4401
|
if (/*navigationBarSimple*/
|
|
4424
|
-
f[6] ? l && (
|
|
4402
|
+
f[6] ? l && (cr(), pe(l, 1, 1, () => {
|
|
4425
4403
|
l = null;
|
|
4426
|
-
}),
|
|
4427
|
-
64 && X(l, 1)) : (l =
|
|
4404
|
+
}), fr()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
|
|
4405
|
+
64 && X(l, 1)) : (l = er(f), l.c(), X(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
|
|
4428
4406
|
32928) {
|
|
4429
4407
|
u = Te(
|
|
4430
4408
|
/*primaryMenuSpliced*/
|
|
@@ -4432,15 +4410,15 @@ function rr(e) {
|
|
|
4432
4410
|
);
|
|
4433
4411
|
let g;
|
|
4434
4412
|
for (g = 0; g < u.length; g += 1) {
|
|
4435
|
-
const v =
|
|
4436
|
-
h[g] ? h[g].p(v, p) : (h[g] =
|
|
4413
|
+
const v = Yt(f, u, g);
|
|
4414
|
+
h[g] ? h[g].p(v, p) : (h[g] = ir(v), h[g].c(), h[g].m(n, i));
|
|
4437
4415
|
}
|
|
4438
4416
|
for (; g < h.length; g += 1)
|
|
4439
4417
|
h[g].d(1);
|
|
4440
4418
|
h.length = u.length;
|
|
4441
4419
|
}
|
|
4442
4420
|
/*navigationBarSimple*/
|
|
4443
|
-
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d =
|
|
4421
|
+
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = or(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4444
4422
|
80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4445
4423
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4446
4424
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
@@ -4455,11 +4433,11 @@ function rr(e) {
|
|
|
4455
4433
|
pe(l), s = !1;
|
|
4456
4434
|
},
|
|
4457
4435
|
d(f) {
|
|
4458
|
-
f && L(t), l && l.d(),
|
|
4436
|
+
f && L(t), l && l.d(), hr(h, f), d && d.d();
|
|
4459
4437
|
}
|
|
4460
4438
|
};
|
|
4461
4439
|
}
|
|
4462
|
-
function
|
|
4440
|
+
function er(e) {
|
|
4463
4441
|
let t, r, n, i, o = (
|
|
4464
4442
|
/*secondarymenutitle*/
|
|
4465
4443
|
(e[0] || /*$_*/
|
|
@@ -4468,19 +4446,19 @@ function nr(e) {
|
|
|
4468
4446
|
const p = (
|
|
4469
4447
|
/*#slots*/
|
|
4470
4448
|
e[27].close
|
|
4471
|
-
), g =
|
|
4449
|
+
), g = ln(
|
|
4472
4450
|
p,
|
|
4473
4451
|
e,
|
|
4474
4452
|
/*$$scope*/
|
|
4475
4453
|
e[26],
|
|
4476
|
-
|
|
4477
|
-
), v = g ||
|
|
4454
|
+
qt
|
|
4455
|
+
), v = g || Go();
|
|
4478
4456
|
let A = Te(
|
|
4479
4457
|
/*secondaryMenu*/
|
|
4480
4458
|
e[8]
|
|
4481
4459
|
), S = [];
|
|
4482
4460
|
for (let b = 0; b < A.length; b += 1)
|
|
4483
|
-
S[b] =
|
|
4461
|
+
S[b] = rr(Jt(e, A, b));
|
|
4484
4462
|
return {
|
|
4485
4463
|
c() {
|
|
4486
4464
|
t = B("div"), r = B("span"), v && v.c(), n = k(), i = B("h3"), a = be(o), s = k(), l = B("div");
|
|
@@ -4502,27 +4480,27 @@ function nr(e) {
|
|
|
4502
4480
|
},
|
|
4503
4481
|
p(b, N) {
|
|
4504
4482
|
if (g && g.p && (!h || N[0] & /*$$scope*/
|
|
4505
|
-
67108864) &&
|
|
4483
|
+
67108864) && hn(
|
|
4506
4484
|
g,
|
|
4507
4485
|
p,
|
|
4508
4486
|
b,
|
|
4509
4487
|
/*$$scope*/
|
|
4510
4488
|
b[26],
|
|
4511
|
-
h ?
|
|
4489
|
+
h ? un(
|
|
4512
4490
|
p,
|
|
4513
4491
|
/*$$scope*/
|
|
4514
4492
|
b[26],
|
|
4515
4493
|
N,
|
|
4516
|
-
|
|
4517
|
-
) :
|
|
4494
|
+
Do
|
|
4495
|
+
) : cn(
|
|
4518
4496
|
/*$$scope*/
|
|
4519
4497
|
b[26]
|
|
4520
4498
|
),
|
|
4521
|
-
|
|
4499
|
+
qt
|
|
4522
4500
|
), (!h || N[0] & /*secondarymenutitle, $_*/
|
|
4523
4501
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4524
4502
|
(b[0] || /*$_*/
|
|
4525
|
-
b[12]("secondaryMenuTitle")) + "") &&
|
|
4503
|
+
b[12]("secondaryMenuTitle")) + "") && dt(a, o), N[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4526
4504
|
33056) {
|
|
4527
4505
|
A = Te(
|
|
4528
4506
|
/*secondaryMenu*/
|
|
@@ -4530,8 +4508,8 @@ function nr(e) {
|
|
|
4530
4508
|
);
|
|
4531
4509
|
let E;
|
|
4532
4510
|
for (E = 0; E < A.length; E += 1) {
|
|
4533
|
-
const
|
|
4534
|
-
S[E] ? S[E].p(
|
|
4511
|
+
const P = Jt(b, A, E);
|
|
4512
|
+
S[E] ? S[E].p(P, N) : (S[E] = rr(P), S[E].c(), S[E].m(l, null));
|
|
4535
4513
|
}
|
|
4536
4514
|
for (; E < S.length; E += 1)
|
|
4537
4515
|
S[E].d(1);
|
|
@@ -4548,11 +4526,11 @@ function nr(e) {
|
|
|
4548
4526
|
pe(v, b), h = !1;
|
|
4549
4527
|
},
|
|
4550
4528
|
d(b) {
|
|
4551
|
-
b && L(t), v && v.d(b),
|
|
4529
|
+
b && L(t), v && v.d(b), hr(S, b), d = !1, f();
|
|
4552
4530
|
}
|
|
4553
4531
|
};
|
|
4554
4532
|
}
|
|
4555
|
-
function
|
|
4533
|
+
function Go(e) {
|
|
4556
4534
|
let t, r;
|
|
4557
4535
|
return {
|
|
4558
4536
|
c() {
|
|
@@ -4567,7 +4545,7 @@ function jo(e) {
|
|
|
4567
4545
|
}
|
|
4568
4546
|
};
|
|
4569
4547
|
}
|
|
4570
|
-
function
|
|
4548
|
+
function tr(e) {
|
|
4571
4549
|
let t, r, n, i;
|
|
4572
4550
|
return {
|
|
4573
4551
|
c() {
|
|
@@ -4590,13 +4568,13 @@ function ir(e) {
|
|
|
4590
4568
|
}
|
|
4591
4569
|
};
|
|
4592
4570
|
}
|
|
4593
|
-
function
|
|
4571
|
+
function rr(e) {
|
|
4594
4572
|
let t, r, n, i = (
|
|
4595
4573
|
/*item*/
|
|
4596
4574
|
e[44].label + ""
|
|
4597
4575
|
), o, a, s, l, u, h = (
|
|
4598
4576
|
/*item*/
|
|
4599
|
-
e[44].img &&
|
|
4577
|
+
e[44].img && tr(e)
|
|
4600
4578
|
);
|
|
4601
4579
|
function d() {
|
|
4602
4580
|
return (
|
|
@@ -4618,9 +4596,9 @@ function or(e) {
|
|
|
4618
4596
|
},
|
|
4619
4597
|
p(f, p) {
|
|
4620
4598
|
e = f, /*item*/
|
|
4621
|
-
e[44].img ? h ? h.p(e, p) : (h =
|
|
4599
|
+
e[44].img ? h ? h.p(e, p) : (h = tr(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
|
|
4622
4600
|
256 && i !== (i = /*item*/
|
|
4623
|
-
e[44].label + "") &&
|
|
4601
|
+
e[44].label + "") && dt(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4624
4602
|
288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4625
4603
|
(e[5] === /*item*/
|
|
4626
4604
|
e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
|
|
@@ -4630,7 +4608,7 @@ function or(e) {
|
|
|
4630
4608
|
}
|
|
4631
4609
|
};
|
|
4632
4610
|
}
|
|
4633
|
-
function
|
|
4611
|
+
function nr(e) {
|
|
4634
4612
|
let t, r, n, i;
|
|
4635
4613
|
return {
|
|
4636
4614
|
c() {
|
|
@@ -4653,13 +4631,13 @@ function ar(e) {
|
|
|
4653
4631
|
}
|
|
4654
4632
|
};
|
|
4655
4633
|
}
|
|
4656
|
-
function
|
|
4634
|
+
function ir(e) {
|
|
4657
4635
|
let t, r, n, i = (
|
|
4658
4636
|
/*item*/
|
|
4659
4637
|
e[44].label + ""
|
|
4660
4638
|
), o, a, s, l, u = (
|
|
4661
4639
|
/*item*/
|
|
4662
|
-
e[44].img &&
|
|
4640
|
+
e[44].img && nr(e)
|
|
4663
4641
|
);
|
|
4664
4642
|
function h() {
|
|
4665
4643
|
return (
|
|
@@ -4682,9 +4660,9 @@ function sr(e) {
|
|
|
4682
4660
|
},
|
|
4683
4661
|
p(d, f) {
|
|
4684
4662
|
e = d, /*item*/
|
|
4685
|
-
e[44].img ? u ? u.p(e, f) : (u =
|
|
4663
|
+
e[44].img ? u ? u.p(e, f) : (u = nr(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
|
|
4686
4664
|
128 && i !== (i = /*item*/
|
|
4687
|
-
e[44].label + "") &&
|
|
4665
|
+
e[44].label + "") && dt(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
|
|
4688
4666
|
160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4689
4667
|
e[46] + " " + /*activeMenuItemId*/
|
|
4690
4668
|
(e[5] === /*item*/
|
|
@@ -4695,12 +4673,12 @@ function sr(e) {
|
|
|
4695
4673
|
}
|
|
4696
4674
|
};
|
|
4697
4675
|
}
|
|
4698
|
-
function
|
|
4676
|
+
function or(e) {
|
|
4699
4677
|
let t, r, n, i, o;
|
|
4700
4678
|
function a(u, h) {
|
|
4701
4679
|
return (
|
|
4702
4680
|
/*isFlowerMenu*/
|
|
4703
|
-
u[11] ?
|
|
4681
|
+
u[11] ? $o : ko
|
|
4704
4682
|
);
|
|
4705
4683
|
}
|
|
4706
4684
|
let s = a(e), l = s(e);
|
|
@@ -4727,7 +4705,7 @@ function lr(e) {
|
|
|
4727
4705
|
}
|
|
4728
4706
|
};
|
|
4729
4707
|
}
|
|
4730
|
-
function
|
|
4708
|
+
function $o(e) {
|
|
4731
4709
|
let t, r, n, i, o, a, s;
|
|
4732
4710
|
return {
|
|
4733
4711
|
c() {
|
|
@@ -4747,18 +4725,18 @@ function Wo(e) {
|
|
|
4747
4725
|
}
|
|
4748
4726
|
};
|
|
4749
4727
|
}
|
|
4750
|
-
function
|
|
4728
|
+
function ko(e) {
|
|
4751
4729
|
let t;
|
|
4752
4730
|
function r(o, a) {
|
|
4753
4731
|
return (
|
|
4754
4732
|
/*imageIconUrl*/
|
|
4755
|
-
o[9] ?
|
|
4733
|
+
o[9] ? Wo : jo
|
|
4756
4734
|
);
|
|
4757
4735
|
}
|
|
4758
4736
|
let n = r(e), i = n(e);
|
|
4759
4737
|
return {
|
|
4760
4738
|
c() {
|
|
4761
|
-
i.c(), t =
|
|
4739
|
+
i.c(), t = pn();
|
|
4762
4740
|
},
|
|
4763
4741
|
m(o, a) {
|
|
4764
4742
|
i.m(o, a), C(o, t, a);
|
|
@@ -4771,7 +4749,7 @@ function Vo(e) {
|
|
|
4771
4749
|
}
|
|
4772
4750
|
};
|
|
4773
4751
|
}
|
|
4774
|
-
function
|
|
4752
|
+
function jo(e) {
|
|
4775
4753
|
let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
|
|
4776
4754
|
return {
|
|
4777
4755
|
c() {
|
|
@@ -4786,7 +4764,7 @@ function Xo(e) {
|
|
|
4786
4764
|
}
|
|
4787
4765
|
};
|
|
4788
4766
|
}
|
|
4789
|
-
function
|
|
4767
|
+
function Wo(e) {
|
|
4790
4768
|
let t, r;
|
|
4791
4769
|
return {
|
|
4792
4770
|
c() {
|
|
@@ -4817,11 +4795,11 @@ function zo(e) {
|
|
|
4817
4795
|
}
|
|
4818
4796
|
};
|
|
4819
4797
|
}
|
|
4820
|
-
function
|
|
4798
|
+
function Vo(e) {
|
|
4821
4799
|
let t, r, n, i = !/*isLoading*/
|
|
4822
4800
|
e[1] && /*isMobile*/
|
|
4823
4801
|
e[13] && /*showNavigation*/
|
|
4824
|
-
e[3] &&
|
|
4802
|
+
e[3] && Kt(e);
|
|
4825
4803
|
return {
|
|
4826
4804
|
c() {
|
|
4827
4805
|
t = B("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
@@ -4836,9 +4814,9 @@ function Zo(e) {
|
|
|
4836
4814
|
o[1] && /*isMobile*/
|
|
4837
4815
|
o[13] && /*showNavigation*/
|
|
4838
4816
|
o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4839
|
-
10 && X(i, 1)) : (i =
|
|
4817
|
+
10 && X(i, 1)) : (i = Kt(o), i.c(), X(i, 1), i.m(t, null)) : i && (cr(), pe(i, 1, 1, () => {
|
|
4840
4818
|
i = null;
|
|
4841
|
-
}),
|
|
4819
|
+
}), fr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4842
4820
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4843
4821
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4844
4822
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
@@ -4854,61 +4832,61 @@ function Zo(e) {
|
|
|
4854
4832
|
}
|
|
4855
4833
|
};
|
|
4856
4834
|
}
|
|
4857
|
-
function
|
|
4835
|
+
function Xo(e, t, r) {
|
|
4858
4836
|
let n;
|
|
4859
|
-
|
|
4860
|
-
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: g = "" } = t, { activecategory: v = "" } = t, { flowermenustyle: A = "false" } = t, S = window.navigator.userAgent, b =
|
|
4861
|
-
const
|
|
4837
|
+
sn(e, Oo, (m) => r(12, n = m));
|
|
4838
|
+
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { mbsource: d } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: g = "" } = t, { activecategory: v = "" } = t, { flowermenustyle: A = "false" } = t, S = window.navigator.userAgent, b = zt(S) !== "PC", N = !0, E = !1, P = !1, z = "", Y = !1, Ue = [], _e = [], W = [], G, gt = "", De = {}, vt, Ge = !1;
|
|
4839
|
+
const Wr = () => {
|
|
4862
4840
|
fetch(g).then((T) => T.json()).then((T) => {
|
|
4863
|
-
Object.keys(T).forEach((
|
|
4864
|
-
|
|
4841
|
+
Object.keys(T).forEach((H) => {
|
|
4842
|
+
Zt(H, T[H]);
|
|
4865
4843
|
});
|
|
4866
4844
|
}).catch((T) => {
|
|
4867
4845
|
console.log(T);
|
|
4868
4846
|
});
|
|
4869
4847
|
};
|
|
4870
|
-
Object.keys(
|
|
4871
|
-
|
|
4848
|
+
Object.keys(Qt).forEach((m) => {
|
|
4849
|
+
Zt(m, Qt[m]);
|
|
4872
4850
|
});
|
|
4873
|
-
const
|
|
4851
|
+
const bt = (m) => {
|
|
4874
4852
|
if (m.data)
|
|
4875
4853
|
switch (m.data.type) {
|
|
4876
4854
|
case "PlayerAccountMenuActive":
|
|
4877
|
-
r(4,
|
|
4855
|
+
r(4, P = !1);
|
|
4878
4856
|
break;
|
|
4879
4857
|
case "OpenLoginRegisterModal":
|
|
4880
|
-
r(4,
|
|
4858
|
+
r(4, P = !1);
|
|
4881
4859
|
break;
|
|
4882
4860
|
case "GoToHomepage":
|
|
4883
|
-
r(4,
|
|
4861
|
+
r(4, P = !1);
|
|
4884
4862
|
break;
|
|
4885
4863
|
}
|
|
4886
|
-
},
|
|
4864
|
+
}, Vr = () => {
|
|
4887
4865
|
r(11, Ge = A.toLowerCase() === "true");
|
|
4888
|
-
},
|
|
4889
|
-
r(4,
|
|
4866
|
+
}, Xr = () => {
|
|
4867
|
+
r(4, P = !P), window.postMessage(
|
|
4890
4868
|
{
|
|
4891
4869
|
type: "MobileBottomNav",
|
|
4892
|
-
navigationWindowOpened:
|
|
4870
|
+
navigationWindowOpened: P
|
|
4893
4871
|
},
|
|
4894
4872
|
window.location.href
|
|
4895
4873
|
);
|
|
4896
|
-
},
|
|
4897
|
-
r(7, _e = []), r(7, _e = Y ? m.splice(0, 5) : m.splice(0, 4)), v &&
|
|
4898
|
-
},
|
|
4874
|
+
}, zr = (m) => {
|
|
4875
|
+
r(7, _e = []), r(7, _e = Y ? m.splice(0, 5) : m.splice(0, 4)), v && yt();
|
|
4876
|
+
}, Zr = () => {
|
|
4899
4877
|
$e(), r(1, N = !0);
|
|
4900
|
-
let m =
|
|
4901
|
-
T.searchParams.append("userRoles", h), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((
|
|
4902
|
-
Ue = [], r(8, W = []), r(3, E =
|
|
4903
|
-
De[R.label] = R.eventTrigger ? R.path : null, R.path == "/menu-item" ? (r(9,
|
|
4904
|
-
}), r(6, Y = W.length == 0), W.length >= 5 && Ge && r(8, W = W.splice(0, 5)),
|
|
4905
|
-
}).catch((
|
|
4906
|
-
r(1, N = !1), console.error(
|
|
4878
|
+
let m = zt(S), T = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
|
|
4879
|
+
T.searchParams.append("userRoles", h), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((H) => H.json()).then((H) => {
|
|
4880
|
+
Ue = [], r(8, W = []), r(3, E = H.length > 0), H.forEach((R) => {
|
|
4881
|
+
De[R.label] = R.eventTrigger ? R.path : null, R.path == "/menu-item" ? (r(9, gt = R == null ? void 0 : R.img), r(8, W = R.children)) : Ue.push(R);
|
|
4882
|
+
}), r(6, Y = W.length == 0), W.length >= 5 && Ge && r(8, W = W.splice(0, 5)), zr(Ue), r(1, N = !1);
|
|
4883
|
+
}).catch((H) => {
|
|
4884
|
+
r(1, N = !1), console.error(H);
|
|
4907
4885
|
});
|
|
4908
|
-
},
|
|
4909
|
-
const T = _e.concat(W).find((
|
|
4886
|
+
}, yt = () => {
|
|
4887
|
+
const T = _e.concat(W).find((H) => H.path.includes(v));
|
|
4910
4888
|
T && r(5, z = T.id);
|
|
4911
|
-
}, ce = (m, T,
|
|
4889
|
+
}, ce = (m, T, H, R) => {
|
|
4912
4890
|
De[R] ? window.postMessage(
|
|
4913
4891
|
{
|
|
4914
4892
|
type: "MobileBottomNavigationEvent",
|
|
@@ -4920,32 +4898,32 @@ function Qo(e, t, r) {
|
|
|
4920
4898
|
type: "NavigateTo",
|
|
4921
4899
|
path: m,
|
|
4922
4900
|
target: T || null,
|
|
4923
|
-
externalLink:
|
|
4901
|
+
externalLink: H || !1
|
|
4924
4902
|
},
|
|
4925
4903
|
window.location.href
|
|
4926
|
-
), r(4,
|
|
4904
|
+
), r(4, P = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4927
4905
|
context: "MobileBottomNavigation",
|
|
4928
4906
|
menuItem: `${m}`
|
|
4929
4907
|
});
|
|
4930
|
-
},
|
|
4931
|
-
|
|
4908
|
+
}, Qr = () => {
|
|
4909
|
+
Lo(s);
|
|
4932
4910
|
}, $e = () => {
|
|
4933
|
-
r(10,
|
|
4934
|
-
},
|
|
4935
|
-
|
|
4911
|
+
r(10, vt = b && window.innerHeight / window.innerWidth < 1);
|
|
4912
|
+
}, _t = () => {
|
|
4913
|
+
P && r(4, P = !1);
|
|
4936
4914
|
};
|
|
4937
|
-
|
|
4938
|
-
window.removeEventListener("message",
|
|
4915
|
+
yn(() => (window.addEventListener("message", bt, !1), document.addEventListener("focusin", _t), b && window.screen.orientation.addEventListener("change", $e), () => {
|
|
4916
|
+
window.removeEventListener("message", bt), document.removeEventListener("focusin", _t), b && window.screen.orientation.removeEventListener("change", $e);
|
|
4939
4917
|
}));
|
|
4940
|
-
const
|
|
4941
|
-
var T,
|
|
4942
|
-
(T = m.attrs) != null && T.target ? ce(m.path, (
|
|
4943
|
-
},
|
|
4944
|
-
var T,
|
|
4945
|
-
(T = m.attrs) != null && T.target ? ce(m.path, (
|
|
4918
|
+
const Yr = (m) => {
|
|
4919
|
+
var T, H;
|
|
4920
|
+
(T = m.attrs) != null && T.target ? ce(m.path, (H = m.attrs) == null ? void 0 : H.target, m == null ? void 0 : m.externalLink, m.label) : ce(m.path, null, m == null ? void 0 : m.externalLink, m.label);
|
|
4921
|
+
}, Jr = (m) => {
|
|
4922
|
+
var T, H;
|
|
4923
|
+
(T = m.attrs) != null && T.target ? ce(m.path, (H = m.attrs) == null ? void 0 : H.target, m == null ? void 0 : m.externalLink, m.label) : ce(m.path, null, m == null ? void 0 : m.externalLink, m.label);
|
|
4946
4924
|
};
|
|
4947
|
-
function
|
|
4948
|
-
|
|
4925
|
+
function qr(m) {
|
|
4926
|
+
Ye[m ? "unshift" : "push"](() => {
|
|
4949
4927
|
G = m, r(2, G);
|
|
4950
4928
|
});
|
|
4951
4929
|
}
|
|
@@ -4953,30 +4931,30 @@ function Qo(e, t, r) {
|
|
|
4953
4931
|
"cmsendpoint" in m && r(16, a = m.cmsendpoint), "lang" in m && r(17, s = m.lang), "env" in m && r(18, l = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(19, h = m.userroles), "mbsource" in m && r(20, d = m.mbsource), "clientstyling" in m && r(21, f = m.clientstyling), "clientstylingurl" in m && r(22, p = m.clientstylingurl), "translationurl" in m && r(23, g = m.translationurl), "activecategory" in m && r(24, v = m.activecategory), "flowermenustyle" in m && r(25, A = m.flowermenustyle), "$$scope" in m && r(26, o = m.$$scope);
|
|
4954
4932
|
}, e.$$.update = () => {
|
|
4955
4933
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4956
|
-
33554432 && A &&
|
|
4957
|
-
16777218 && v && !N &&
|
|
4958
|
-
131072 && s &&
|
|
4959
|
-
983040 && a && s && l && h &&
|
|
4960
|
-
2097156 && f && G &&
|
|
4961
|
-
4194308 && p && G &&
|
|
4962
|
-
1048580 && d && G &&
|
|
4963
|
-
8388608 && g &&
|
|
4934
|
+
33554432 && A && Vr(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4935
|
+
16777218 && v && !N && yt(), e.$$.dirty[0] & /*lang*/
|
|
4936
|
+
131072 && s && Qr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4937
|
+
983040 && a && s && l && h && Zr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4938
|
+
2097156 && f && G && Co(G, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4939
|
+
4194308 && p && G && Fo(G, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4940
|
+
1048580 && d && G && Ro(G, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4941
|
+
8388608 && g && Wr();
|
|
4964
4942
|
}, [
|
|
4965
4943
|
u,
|
|
4966
4944
|
N,
|
|
4967
4945
|
G,
|
|
4968
4946
|
E,
|
|
4969
|
-
|
|
4947
|
+
P,
|
|
4970
4948
|
z,
|
|
4971
4949
|
Y,
|
|
4972
4950
|
_e,
|
|
4973
4951
|
W,
|
|
4974
|
-
|
|
4975
|
-
|
|
4952
|
+
gt,
|
|
4953
|
+
vt,
|
|
4976
4954
|
Ge,
|
|
4977
4955
|
n,
|
|
4978
4956
|
b,
|
|
4979
|
-
|
|
4957
|
+
Xr,
|
|
4980
4958
|
ce,
|
|
4981
4959
|
a,
|
|
4982
4960
|
s,
|
|
@@ -4990,19 +4968,19 @@ function Qo(e, t, r) {
|
|
|
4990
4968
|
A,
|
|
4991
4969
|
o,
|
|
4992
4970
|
i,
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4971
|
+
Yr,
|
|
4972
|
+
Jr,
|
|
4973
|
+
qr
|
|
4996
4974
|
];
|
|
4997
4975
|
}
|
|
4998
|
-
class
|
|
4976
|
+
class zo extends Tn {
|
|
4999
4977
|
constructor(t) {
|
|
5000
|
-
super(),
|
|
4978
|
+
super(), Bn(
|
|
5001
4979
|
this,
|
|
5002
4980
|
t,
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
4981
|
+
Xo,
|
|
4982
|
+
Vo,
|
|
4983
|
+
sr,
|
|
5006
4984
|
{
|
|
5007
4985
|
cmsendpoint: 16,
|
|
5008
4986
|
lang: 17,
|
|
@@ -5016,7 +4994,7 @@ class Yo extends On {
|
|
|
5016
4994
|
activecategory: 24,
|
|
5017
4995
|
flowermenustyle: 25
|
|
5018
4996
|
},
|
|
5019
|
-
|
|
4997
|
+
Uo,
|
|
5020
4998
|
[-1, -1]
|
|
5021
4999
|
);
|
|
5022
5000
|
}
|
|
@@ -5087,7 +5065,7 @@ class Yo extends On {
|
|
|
5087
5065
|
this.$$set({ flowermenustyle: t }), F();
|
|
5088
5066
|
}
|
|
5089
5067
|
}
|
|
5090
|
-
|
|
5068
|
+
An(zo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
5091
5069
|
export {
|
|
5092
|
-
|
|
5070
|
+
zo as default
|
|
5093
5071
|
};
|