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