@everymatrix/general-navigation-bar 1.76.0 → 1.76.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralNavigationBar-CiXvn55V.js → GeneralNavigationBar-DHgXqzwr.js} +894 -929
- package/components/{GeneralNavigationBar-Bd_ofslD.js → GeneralNavigationBar-Px1PH0Ky.js} +841 -876
- package/components/GeneralNavigationBar-l2e5HD4i.cjs +18 -0
- package/es2015/general-navigation-bar.cjs +1 -1
- package/es2015/general-navigation-bar.js +1 -1
- package/esnext/general-navigation-bar.js +1 -1
- package/package.json +1 -1
- package/components/GeneralNavigationBar-Dv9WpScr.cjs +0 -18
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var en = Object.defineProperty, tn = Object.defineProperties;
|
|
2
|
+
var rn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var wt = Object.getOwnPropertySymbols;
|
|
4
|
+
var nn = Object.prototype.hasOwnProperty, on = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ke = (e, t, r) => t in e ? en(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
nn.call(t, r) && ke(e, r, t[r]);
|
|
8
|
+
if (wt)
|
|
9
|
+
for (var r of wt(t))
|
|
10
|
+
on.call(t, r) && ke(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var U = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, Nt = (e, t) => tn(e, rn(t));
|
|
13
|
+
var U = (e, t, r) => (ke(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var St = (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 Tt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function D() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function an(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -37,29 +37,29 @@ function hn(e, t) {
|
|
|
37
37
|
e
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function sr(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function It() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
e.forEach(
|
|
46
|
+
function se(e) {
|
|
47
|
+
e.forEach(sr);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function ft(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function lr(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
|
-
function
|
|
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 sn(e) {
|
|
60
60
|
return Object.keys(e).length === 0;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function ur(e, ...t) {
|
|
63
63
|
if (e == null) {
|
|
64
64
|
for (const n of t)
|
|
65
65
|
n(void 0);
|
|
@@ -68,19 +68,19 @@ function dr(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 ln(e, t, r) {
|
|
72
|
+
e.$$.on_destroy.push(ur(t, r));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function un(e, t, r, n) {
|
|
75
75
|
if (e) {
|
|
76
|
-
const i =
|
|
76
|
+
const i = hr(e, t, r, n);
|
|
77
77
|
return e[0](i);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
return e[1] && n ?
|
|
80
|
+
function hr(e, t, r, n) {
|
|
81
|
+
return e[1] && n ? an(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function hn(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 pn(e, t, r, n) {
|
|
|
95
95
|
}
|
|
96
96
|
return t.dirty;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function cn(e, t, r, n, i, o) {
|
|
99
99
|
if (i) {
|
|
100
|
-
const a =
|
|
100
|
+
const a = hr(t, r, n, o);
|
|
101
101
|
e.p(a, i);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function fn(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 gn(e) {
|
|
|
113
113
|
function y(e, t) {
|
|
114
114
|
e.appendChild(t);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
117
|
-
const n =
|
|
116
|
+
function dn(e, t, r) {
|
|
117
|
+
const n = mn(e);
|
|
118
118
|
if (!n.getElementById(t)) {
|
|
119
|
-
const i =
|
|
120
|
-
i.id = t, i.textContent = r,
|
|
119
|
+
const i = B("style");
|
|
120
|
+
i.id = t, i.textContent = r, pn(n, i);
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function mn(e) {
|
|
124
124
|
if (!e)
|
|
125
125
|
return document;
|
|
126
126
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -130,7 +130,7 @@ function bn(e) {
|
|
|
130
130
|
t
|
|
131
131
|
) : e.ownerDocument;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function pn(e, t) {
|
|
134
134
|
return y(
|
|
135
135
|
/** @type {Document} */
|
|
136
136
|
e.head || e,
|
|
@@ -143,11 +143,11 @@ function C(e, t, r) {
|
|
|
143
143
|
function L(e) {
|
|
144
144
|
e.parentNode && e.parentNode.removeChild(e);
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function cr(e, t) {
|
|
147
147
|
for (let r = 0; r < e.length; r += 1)
|
|
148
148
|
e[r] && e[r].d(t);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function B(e) {
|
|
151
151
|
return document.createElement(e);
|
|
152
152
|
}
|
|
153
153
|
function M(e) {
|
|
@@ -156,26 +156,26 @@ function M(e) {
|
|
|
156
156
|
function ve(e) {
|
|
157
157
|
return document.createTextNode(e);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function k() {
|
|
160
160
|
return ve(" ");
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function gn() {
|
|
163
163
|
return ve("");
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function Me(e, t, r, n) {
|
|
166
166
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
167
167
|
}
|
|
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 bn(e) {
|
|
172
172
|
return Array.from(e.childNodes);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function dt(e, t) {
|
|
175
175
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
176
176
|
t);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function vn(e) {
|
|
179
179
|
const t = {};
|
|
180
180
|
return e.childNodes.forEach(
|
|
181
181
|
/** @param {Element} node */
|
|
@@ -184,69 +184,69 @@ function wn(e) {
|
|
|
184
184
|
}
|
|
185
185
|
), t;
|
|
186
186
|
}
|
|
187
|
-
let
|
|
188
|
-
function
|
|
189
|
-
|
|
187
|
+
let me;
|
|
188
|
+
function de(e) {
|
|
189
|
+
me = e;
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
if (!
|
|
191
|
+
function yn() {
|
|
192
|
+
if (!me)
|
|
193
193
|
throw new Error("Function called outside component initialization");
|
|
194
|
-
return
|
|
194
|
+
return me;
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
|
|
196
|
+
function _n(e) {
|
|
197
|
+
yn().$$.on_mount.push(e);
|
|
198
198
|
}
|
|
199
|
-
const K = [],
|
|
199
|
+
const K = [], Ye = [];
|
|
200
200
|
let ee = [];
|
|
201
|
-
const
|
|
202
|
-
let
|
|
203
|
-
function
|
|
204
|
-
|
|
201
|
+
const Bt = [], xn = /* @__PURE__ */ Promise.resolve();
|
|
202
|
+
let Je = !1;
|
|
203
|
+
function wn() {
|
|
204
|
+
Je || (Je = !0, xn.then(F));
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function qe(e) {
|
|
207
207
|
ee.push(e);
|
|
208
208
|
}
|
|
209
|
-
const
|
|
209
|
+
const je = /* @__PURE__ */ new Set();
|
|
210
210
|
let J = 0;
|
|
211
211
|
function F() {
|
|
212
212
|
if (J !== 0)
|
|
213
213
|
return;
|
|
214
|
-
const e =
|
|
214
|
+
const e = me;
|
|
215
215
|
do {
|
|
216
216
|
try {
|
|
217
217
|
for (; J < K.length; ) {
|
|
218
218
|
const t = K[J];
|
|
219
|
-
J++,
|
|
219
|
+
J++, de(t), En(t.$$);
|
|
220
220
|
}
|
|
221
221
|
} catch (t) {
|
|
222
222
|
throw K.length = 0, J = 0, t;
|
|
223
223
|
}
|
|
224
|
-
for (
|
|
225
|
-
|
|
224
|
+
for (de(null), K.length = 0, J = 0; Ye.length; )
|
|
225
|
+
Ye.pop()();
|
|
226
226
|
for (let t = 0; t < ee.length; t += 1) {
|
|
227
227
|
const r = ee[t];
|
|
228
|
-
|
|
228
|
+
je.has(r) || (je.add(r), r());
|
|
229
229
|
}
|
|
230
230
|
ee.length = 0;
|
|
231
231
|
} while (K.length);
|
|
232
|
-
for (;
|
|
233
|
-
|
|
234
|
-
|
|
232
|
+
for (; Bt.length; )
|
|
233
|
+
Bt.pop()();
|
|
234
|
+
Je = !1, je.clear(), de(e);
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function En(e) {
|
|
237
237
|
if (e.fragment !== null) {
|
|
238
|
-
e.update(),
|
|
238
|
+
e.update(), se(e.before_update);
|
|
239
239
|
const t = e.dirty;
|
|
240
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
240
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(qe);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function Nn(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 fr() {
|
|
250
250
|
Z = {
|
|
251
251
|
r: 0,
|
|
252
252
|
c: [],
|
|
@@ -254,8 +254,8 @@ function gr() {
|
|
|
254
254
|
// parent group
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
|
-
function
|
|
258
|
-
Z.r ||
|
|
257
|
+
function dr() {
|
|
258
|
+
Z.r || se(Z.c), Z = Z.p;
|
|
259
259
|
}
|
|
260
260
|
function z(e, t) {
|
|
261
261
|
e && e.i && (Ne.delete(e), e.i(t));
|
|
@@ -273,23 +273,23 @@ 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 Sn(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(
|
|
280
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
281
|
-
}), i.forEach(
|
|
278
|
+
n && n.m(t, r), qe(() => {
|
|
279
|
+
const o = e.$$.on_mount.map(sr).filter(ft);
|
|
280
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
|
|
281
|
+
}), i.forEach(qe);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function In(e, t) {
|
|
284
284
|
const r = e.$$;
|
|
285
|
-
r.fragment !== null && (
|
|
285
|
+
r.fragment !== null && (Nn(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 Bn(e, t) {
|
|
288
|
+
e.$$.dirty[0] === -1 && (K.push(e), wn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
291
|
-
const l =
|
|
292
|
-
|
|
290
|
+
function An(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
291
|
+
const l = me;
|
|
292
|
+
de(e);
|
|
293
293
|
const u = e.$$ = {
|
|
294
294
|
fragment: null,
|
|
295
295
|
ctx: [],
|
|
@@ -297,7 +297,7 @@ function Mn(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: It(),
|
|
301
301
|
// lifecycle
|
|
302
302
|
on_mount: [],
|
|
303
303
|
on_destroy: [],
|
|
@@ -306,28 +306,28 @@ function Mn(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: It(),
|
|
310
310
|
dirty: s,
|
|
311
311
|
skip_bound: !1,
|
|
312
312
|
root: t.target || l.$$.root
|
|
313
313
|
};
|
|
314
314
|
a && a(u.root);
|
|
315
315
|
let h = !1;
|
|
316
|
-
if (u.ctx = r
|
|
317
|
-
const g =
|
|
318
|
-
return u.ctx && i(u.ctx[d], u.ctx[d] = g) && (!u.skip_bound && u.bound[d] && u.bound[d](g), h &&
|
|
319
|
-
})
|
|
316
|
+
if (u.ctx = r(e, t.props || {}, (d, f, ...p) => {
|
|
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 && Bn(e, d)), f;
|
|
319
|
+
}), u.update(), h = !0, se(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
320
320
|
if (t.hydrate) {
|
|
321
|
-
const d =
|
|
321
|
+
const d = bn(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 && z(e.$$.fragment),
|
|
325
|
+
t.intro && z(e.$$.fragment), Sn(e, t.target, t.anchor), F();
|
|
326
326
|
}
|
|
327
|
-
|
|
327
|
+
de(l);
|
|
328
328
|
}
|
|
329
|
-
let
|
|
330
|
-
typeof HTMLElement == "function" && (
|
|
329
|
+
let mr;
|
|
330
|
+
typeof HTMLElement == "function" && (mr = class extends HTMLElement {
|
|
331
331
|
constructor(t, r, n) {
|
|
332
332
|
super();
|
|
333
333
|
/** The Svelte component constructor */
|
|
@@ -364,14 +364,14 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
|
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
connectedCallback() {
|
|
367
|
-
return
|
|
367
|
+
return St(this, null, function* () {
|
|
368
368
|
if (this.$$cn = !0, !this.$$c) {
|
|
369
369
|
let t = function(o) {
|
|
370
370
|
return () => {
|
|
371
371
|
let a;
|
|
372
372
|
return {
|
|
373
373
|
c: function() {
|
|
374
|
-
a =
|
|
374
|
+
a = B("slot"), o !== "default" && c(a, "name", o);
|
|
375
375
|
},
|
|
376
376
|
/**
|
|
377
377
|
* @param {HTMLElement} target
|
|
@@ -388,7 +388,7 @@ typeof HTMLElement == "function" && (br = class extends HTMLElement {
|
|
|
388
388
|
};
|
|
389
389
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
390
390
|
return;
|
|
391
|
-
const r = {}, n =
|
|
391
|
+
const r = {}, n = vn(this);
|
|
392
392
|
for (const o of this.$$s)
|
|
393
393
|
o in n && (r[o] = [t(o)]);
|
|
394
394
|
for (const o of this.attributes) {
|
|
@@ -399,7 +399,7 @@ typeof HTMLElement == "function" && (br = 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: Nt(Et({}, 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 Tn(e, t, r, n, i, o) {
|
|
481
|
+
let a = class extends mr {
|
|
482
482
|
constructor() {
|
|
483
483
|
super(e, r, i), this.$$p_d = t;
|
|
484
484
|
}
|
|
@@ -508,7 +508,7 @@ function On(e, t, r, n, i, o) {
|
|
|
508
508
|
}), e.element = /** @type {any} */
|
|
509
509
|
a, a;
|
|
510
510
|
}
|
|
511
|
-
class
|
|
511
|
+
class Hn {
|
|
512
512
|
constructor() {
|
|
513
513
|
/**
|
|
514
514
|
* ### PRIVATE API
|
|
@@ -529,7 +529,7 @@ class Ln {
|
|
|
529
529
|
}
|
|
530
530
|
/** @returns {void} */
|
|
531
531
|
$destroy() {
|
|
532
|
-
|
|
532
|
+
In(this, 1), this.$destroy = D;
|
|
533
533
|
}
|
|
534
534
|
/**
|
|
535
535
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -538,7 +538,7 @@ class Ln {
|
|
|
538
538
|
* @returns {() => void}
|
|
539
539
|
*/
|
|
540
540
|
$on(t, r) {
|
|
541
|
-
if (!
|
|
541
|
+
if (!ft(r))
|
|
542
542
|
return D;
|
|
543
543
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
544
544
|
return n.push(r), () => {
|
|
@@ -551,11 +551,11 @@ class Ln {
|
|
|
551
551
|
* @returns {void}
|
|
552
552
|
*/
|
|
553
553
|
$set(t) {
|
|
554
|
-
this.$$set && !
|
|
554
|
+
this.$$set && !sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
const
|
|
558
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
557
|
+
const Pn = "4";
|
|
558
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pn);
|
|
559
559
|
/*! *****************************************************************************
|
|
560
560
|
Copyright (c) Microsoft Corporation.
|
|
561
561
|
|
|
@@ -570,24 +570,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
570
570
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
571
571
|
PERFORMANCE OF THIS SOFTWARE.
|
|
572
572
|
***************************************************************************** */
|
|
573
|
-
var
|
|
574
|
-
return
|
|
573
|
+
var Ke = function(e, t) {
|
|
574
|
+
return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
575
575
|
r.__proto__ = n;
|
|
576
576
|
} || function(r, n) {
|
|
577
577
|
for (var i in n)
|
|
578
578
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
579
|
-
},
|
|
579
|
+
}, Ke(e, t);
|
|
580
580
|
};
|
|
581
|
-
function
|
|
581
|
+
function j(e, t) {
|
|
582
582
|
if (typeof t != "function" && t !== null)
|
|
583
583
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
584
|
-
|
|
584
|
+
Ke(e, t);
|
|
585
585
|
function r() {
|
|
586
586
|
this.constructor = e;
|
|
587
587
|
}
|
|
588
588
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
589
589
|
}
|
|
590
|
-
function
|
|
590
|
+
var w = function() {
|
|
591
|
+
return w = Object.assign || function(t) {
|
|
592
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
593
|
+
r = arguments[n];
|
|
594
|
+
for (var o in r)
|
|
595
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
596
|
+
}
|
|
597
|
+
return t;
|
|
598
|
+
}, w.apply(this, arguments);
|
|
599
|
+
};
|
|
600
|
+
function Mn(e, t) {
|
|
601
|
+
var r = {};
|
|
602
|
+
for (var n in e)
|
|
603
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
604
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
605
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
606
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
607
|
+
return r;
|
|
608
|
+
}
|
|
609
|
+
function et(e) {
|
|
591
610
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
592
611
|
if (r)
|
|
593
612
|
return r.call(e);
|
|
@@ -599,7 +618,7 @@ function nt(e) {
|
|
|
599
618
|
};
|
|
600
619
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
601
620
|
}
|
|
602
|
-
function
|
|
621
|
+
function tt(e, t) {
|
|
603
622
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
604
623
|
if (!r)
|
|
605
624
|
return e;
|
|
@@ -619,22 +638,22 @@ function it(e, t) {
|
|
|
619
638
|
}
|
|
620
639
|
return o;
|
|
621
640
|
}
|
|
622
|
-
function
|
|
623
|
-
if (arguments.length === 2)
|
|
641
|
+
function te(e, t, r) {
|
|
642
|
+
if (r || arguments.length === 2)
|
|
624
643
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
625
644
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
626
645
|
return e.concat(o || t);
|
|
627
646
|
}
|
|
628
|
-
function
|
|
647
|
+
function $(e) {
|
|
629
648
|
return typeof e == "function";
|
|
630
649
|
}
|
|
631
|
-
function
|
|
650
|
+
function pr(e) {
|
|
632
651
|
var t = function(n) {
|
|
633
652
|
Error.call(n), n.stack = new Error().stack;
|
|
634
653
|
}, r = e(t);
|
|
635
654
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
636
655
|
}
|
|
637
|
-
var
|
|
656
|
+
var We = pr(function(e) {
|
|
638
657
|
return function(r) {
|
|
639
658
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
640
659
|
` + r.map(function(n, i) {
|
|
@@ -643,13 +662,13 @@ var Xe = yr(function(e) {
|
|
|
643
662
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
644
663
|
};
|
|
645
664
|
});
|
|
646
|
-
function
|
|
665
|
+
function rt(e, t) {
|
|
647
666
|
if (e) {
|
|
648
667
|
var r = e.indexOf(t);
|
|
649
668
|
0 <= r && e.splice(r, 1);
|
|
650
669
|
}
|
|
651
670
|
}
|
|
652
|
-
var
|
|
671
|
+
var Oe = function() {
|
|
653
672
|
function e(t) {
|
|
654
673
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
655
674
|
}
|
|
@@ -661,12 +680,12 @@ var Le = function() {
|
|
|
661
680
|
if (a)
|
|
662
681
|
if (this._parentage = null, Array.isArray(a))
|
|
663
682
|
try {
|
|
664
|
-
for (var s =
|
|
683
|
+
for (var s = et(a), l = s.next(); !l.done; l = s.next()) {
|
|
665
684
|
var u = l.value;
|
|
666
685
|
u.remove(this);
|
|
667
686
|
}
|
|
668
|
-
} catch (
|
|
669
|
-
t = { error:
|
|
687
|
+
} catch (b) {
|
|
688
|
+
t = { error: b };
|
|
670
689
|
} finally {
|
|
671
690
|
try {
|
|
672
691
|
l && !l.done && (r = s.return) && r.call(s);
|
|
@@ -678,29 +697,29 @@ var Le = function() {
|
|
|
678
697
|
else
|
|
679
698
|
a.remove(this);
|
|
680
699
|
var h = this.initialTeardown;
|
|
681
|
-
if (
|
|
700
|
+
if ($(h))
|
|
682
701
|
try {
|
|
683
702
|
h();
|
|
684
|
-
} catch (
|
|
685
|
-
o =
|
|
703
|
+
} catch (b) {
|
|
704
|
+
o = b instanceof We ? b.errors : [b];
|
|
686
705
|
}
|
|
687
706
|
var d = this._finalizers;
|
|
688
707
|
if (d) {
|
|
689
708
|
this._finalizers = null;
|
|
690
709
|
try {
|
|
691
|
-
for (var f =
|
|
692
|
-
var g =
|
|
710
|
+
for (var f = et(d), p = f.next(); !p.done; p = f.next()) {
|
|
711
|
+
var g = p.value;
|
|
693
712
|
try {
|
|
694
|
-
|
|
695
|
-
} catch (
|
|
696
|
-
o = o != null ? o : [],
|
|
713
|
+
At(g);
|
|
714
|
+
} catch (b) {
|
|
715
|
+
o = o != null ? o : [], b instanceof We ? o = te(te([], tt(o)), tt(b.errors)) : o.push(b);
|
|
697
716
|
}
|
|
698
717
|
}
|
|
699
|
-
} catch (
|
|
700
|
-
n = { error:
|
|
718
|
+
} catch (b) {
|
|
719
|
+
n = { error: b };
|
|
701
720
|
} finally {
|
|
702
721
|
try {
|
|
703
|
-
|
|
722
|
+
p && !p.done && (i = f.return) && i.call(f);
|
|
704
723
|
} finally {
|
|
705
724
|
if (n)
|
|
706
725
|
throw n.error;
|
|
@@ -708,13 +727,13 @@ var Le = function() {
|
|
|
708
727
|
}
|
|
709
728
|
}
|
|
710
729
|
if (o)
|
|
711
|
-
throw new
|
|
730
|
+
throw new We(o);
|
|
712
731
|
}
|
|
713
732
|
}, e.prototype.add = function(t) {
|
|
714
733
|
var r;
|
|
715
734
|
if (t && t !== this)
|
|
716
735
|
if (this.closed)
|
|
717
|
-
|
|
736
|
+
At(t);
|
|
718
737
|
else {
|
|
719
738
|
if (t instanceof e) {
|
|
720
739
|
if (t.closed || t._hasParent(this))
|
|
@@ -731,52 +750,56 @@ var Le = function() {
|
|
|
731
750
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
732
751
|
}, e.prototype._removeParent = function(t) {
|
|
733
752
|
var r = this._parentage;
|
|
734
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
753
|
+
r === t ? this._parentage = null : Array.isArray(r) && rt(r, t);
|
|
735
754
|
}, e.prototype.remove = function(t) {
|
|
736
755
|
var r = this._finalizers;
|
|
737
|
-
r &&
|
|
756
|
+
r && rt(r, t), t instanceof e && t._removeParent(this);
|
|
738
757
|
}, e.EMPTY = function() {
|
|
739
758
|
var t = new e();
|
|
740
759
|
return t.closed = !0, t;
|
|
741
760
|
}(), e;
|
|
742
|
-
}(),
|
|
743
|
-
function
|
|
744
|
-
return e instanceof
|
|
745
|
-
}
|
|
746
|
-
function
|
|
747
|
-
|
|
748
|
-
}
|
|
749
|
-
var
|
|
750
|
-
|
|
751
|
-
|
|
761
|
+
}(), gr = Oe.EMPTY;
|
|
762
|
+
function br(e) {
|
|
763
|
+
return e instanceof Oe || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
764
|
+
}
|
|
765
|
+
function At(e) {
|
|
766
|
+
$(e) ? e() : e.unsubscribe();
|
|
767
|
+
}
|
|
768
|
+
var On = {
|
|
769
|
+
onUnhandledError: null,
|
|
770
|
+
onStoppedNotification: null,
|
|
771
|
+
Promise: void 0,
|
|
772
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
773
|
+
useDeprecatedNextContext: !1
|
|
774
|
+
}, Ln = {
|
|
752
775
|
setTimeout: function(e, t) {
|
|
753
776
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
754
777
|
r[n - 2] = arguments[n];
|
|
755
|
-
return setTimeout.apply(void 0,
|
|
778
|
+
return setTimeout.apply(void 0, te([e, t], tt(r)));
|
|
756
779
|
},
|
|
757
780
|
clearTimeout: function(e) {
|
|
758
781
|
return clearTimeout(e);
|
|
759
782
|
},
|
|
760
783
|
delegate: void 0
|
|
761
784
|
};
|
|
762
|
-
function
|
|
763
|
-
|
|
785
|
+
function Cn(e) {
|
|
786
|
+
Ln.setTimeout(function() {
|
|
764
787
|
throw e;
|
|
765
788
|
});
|
|
766
789
|
}
|
|
767
|
-
function
|
|
790
|
+
function Tt() {
|
|
768
791
|
}
|
|
769
792
|
function Ie(e) {
|
|
770
793
|
e();
|
|
771
794
|
}
|
|
772
|
-
var
|
|
773
|
-
|
|
795
|
+
var vr = function(e) {
|
|
796
|
+
j(t, e);
|
|
774
797
|
function t(r) {
|
|
775
798
|
var n = e.call(this) || this;
|
|
776
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
799
|
+
return n.isStopped = !1, r ? (n.destination = r, br(r) && r.add(n)) : n.destination = Un, n;
|
|
777
800
|
}
|
|
778
801
|
return t.create = function(r, n, i) {
|
|
779
|
-
return new
|
|
802
|
+
return new nt(r, n, i);
|
|
780
803
|
}, t.prototype.next = function(r) {
|
|
781
804
|
this.isStopped || this._next(r);
|
|
782
805
|
}, t.prototype.error = function(r) {
|
|
@@ -800,7 +823,7 @@ var wr = function(e) {
|
|
|
800
823
|
this.unsubscribe();
|
|
801
824
|
}
|
|
802
825
|
}, t;
|
|
803
|
-
}(
|
|
826
|
+
}(Oe), Fn = function() {
|
|
804
827
|
function e(t) {
|
|
805
828
|
this.partialObserver = t;
|
|
806
829
|
}
|
|
@@ -831,43 +854,43 @@ var wr = function(e) {
|
|
|
831
854
|
we(r);
|
|
832
855
|
}
|
|
833
856
|
}, e;
|
|
834
|
-
}(),
|
|
835
|
-
|
|
857
|
+
}(), nt = function(e) {
|
|
858
|
+
j(t, e);
|
|
836
859
|
function t(r, n, i) {
|
|
837
860
|
var o = e.call(this) || this, a;
|
|
838
|
-
return
|
|
861
|
+
return $(r) || !r ? a = {
|
|
839
862
|
next: r != null ? r : void 0,
|
|
840
863
|
error: n != null ? n : void 0,
|
|
841
864
|
complete: i != null ? i : void 0
|
|
842
|
-
} : a = r, o.destination = new
|
|
865
|
+
} : a = r, o.destination = new Fn(a), o;
|
|
843
866
|
}
|
|
844
867
|
return t;
|
|
845
|
-
}(
|
|
868
|
+
}(vr);
|
|
846
869
|
function we(e) {
|
|
847
|
-
|
|
870
|
+
Cn(e);
|
|
848
871
|
}
|
|
849
|
-
function
|
|
872
|
+
function Rn(e) {
|
|
850
873
|
throw e;
|
|
851
874
|
}
|
|
852
|
-
var
|
|
875
|
+
var Un = {
|
|
853
876
|
closed: !0,
|
|
854
|
-
next:
|
|
855
|
-
error:
|
|
856
|
-
complete:
|
|
857
|
-
},
|
|
877
|
+
next: Tt,
|
|
878
|
+
error: Rn,
|
|
879
|
+
complete: Tt
|
|
880
|
+
}, Dn = function() {
|
|
858
881
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
859
882
|
}();
|
|
860
|
-
function
|
|
883
|
+
function Gn(e) {
|
|
861
884
|
return e;
|
|
862
885
|
}
|
|
863
|
-
function
|
|
864
|
-
return e.length === 0 ?
|
|
886
|
+
function $n(e) {
|
|
887
|
+
return e.length === 0 ? Gn : e.length === 1 ? e[0] : function(r) {
|
|
865
888
|
return e.reduce(function(n, i) {
|
|
866
889
|
return i(n);
|
|
867
890
|
}, r);
|
|
868
891
|
};
|
|
869
892
|
}
|
|
870
|
-
var
|
|
893
|
+
var Ht = function() {
|
|
871
894
|
function e(t) {
|
|
872
895
|
t && (this._subscribe = t);
|
|
873
896
|
}
|
|
@@ -875,7 +898,7 @@ var Lt = function() {
|
|
|
875
898
|
var r = new e();
|
|
876
899
|
return r.source = this, r.operator = t, r;
|
|
877
900
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
878
|
-
var i = this, o =
|
|
901
|
+
var i = this, o = jn(t) ? t : new nt(t, r, n);
|
|
879
902
|
return Ie(function() {
|
|
880
903
|
var a = i, s = a.operator, l = a.source;
|
|
881
904
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -888,8 +911,8 @@ var Lt = function() {
|
|
|
888
911
|
}
|
|
889
912
|
}, e.prototype.forEach = function(t, r) {
|
|
890
913
|
var n = this;
|
|
891
|
-
return r =
|
|
892
|
-
var a = new
|
|
914
|
+
return r = Pt(r), new r(function(i, o) {
|
|
915
|
+
var a = new nt({
|
|
893
916
|
next: function(s) {
|
|
894
917
|
try {
|
|
895
918
|
t(s);
|
|
@@ -905,15 +928,15 @@ var Lt = function() {
|
|
|
905
928
|
}, e.prototype._subscribe = function(t) {
|
|
906
929
|
var r;
|
|
907
930
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
908
|
-
}, e.prototype[
|
|
931
|
+
}, e.prototype[Dn] = function() {
|
|
909
932
|
return this;
|
|
910
933
|
}, e.prototype.pipe = function() {
|
|
911
934
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
912
935
|
t[r] = arguments[r];
|
|
913
|
-
return
|
|
936
|
+
return $n(t)(this);
|
|
914
937
|
}, e.prototype.toPromise = function(t) {
|
|
915
938
|
var r = this;
|
|
916
|
-
return t =
|
|
939
|
+
return t = Pt(t), new t(function(n, i) {
|
|
917
940
|
var o;
|
|
918
941
|
r.subscribe(function(a) {
|
|
919
942
|
return o = a;
|
|
@@ -927,32 +950,32 @@ var Lt = function() {
|
|
|
927
950
|
return new e(t);
|
|
928
951
|
}, e;
|
|
929
952
|
}();
|
|
930
|
-
function
|
|
953
|
+
function Pt(e) {
|
|
931
954
|
var t;
|
|
932
|
-
return (t = e != null ? e :
|
|
955
|
+
return (t = e != null ? e : On.Promise) !== null && t !== void 0 ? t : Promise;
|
|
933
956
|
}
|
|
934
|
-
function
|
|
935
|
-
return e &&
|
|
957
|
+
function kn(e) {
|
|
958
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
936
959
|
}
|
|
937
|
-
function
|
|
938
|
-
return e && e instanceof
|
|
960
|
+
function jn(e) {
|
|
961
|
+
return e && e instanceof vr || kn(e) && br(e);
|
|
939
962
|
}
|
|
940
|
-
var
|
|
963
|
+
var Wn = pr(function(e) {
|
|
941
964
|
return function() {
|
|
942
965
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
943
966
|
};
|
|
944
|
-
}),
|
|
945
|
-
|
|
967
|
+
}), yr = function(e) {
|
|
968
|
+
j(t, e);
|
|
946
969
|
function t() {
|
|
947
970
|
var r = e.call(this) || this;
|
|
948
971
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
949
972
|
}
|
|
950
973
|
return t.prototype.lift = function(r) {
|
|
951
|
-
var n = new
|
|
974
|
+
var n = new Mt(this, this);
|
|
952
975
|
return n.operator = r, n;
|
|
953
976
|
}, t.prototype._throwIfClosed = function() {
|
|
954
977
|
if (this.closed)
|
|
955
|
-
throw new
|
|
978
|
+
throw new Wn();
|
|
956
979
|
}, t.prototype.next = function(r) {
|
|
957
980
|
var n = this;
|
|
958
981
|
Ie(function() {
|
|
@@ -960,7 +983,7 @@ var zn = yr(function(e) {
|
|
|
960
983
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
961
984
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
962
985
|
try {
|
|
963
|
-
for (var a =
|
|
986
|
+
for (var a = et(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
964
987
|
var l = s.value;
|
|
965
988
|
l.next(r);
|
|
966
989
|
}
|
|
@@ -1009,20 +1032,20 @@ var zn = yr(function(e) {
|
|
|
1009
1032
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1010
1033
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1011
1034
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1012
|
-
return o || a ?
|
|
1013
|
-
n.currentObservers = null,
|
|
1035
|
+
return o || a ? gr : (this.currentObservers = null, s.push(r), new Oe(function() {
|
|
1036
|
+
n.currentObservers = null, rt(s, r);
|
|
1014
1037
|
}));
|
|
1015
1038
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1016
1039
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1017
1040
|
i ? r.error(o) : a && r.complete();
|
|
1018
1041
|
}, t.prototype.asObservable = function() {
|
|
1019
|
-
var r = new
|
|
1042
|
+
var r = new Ht();
|
|
1020
1043
|
return r.source = this, r;
|
|
1021
1044
|
}, t.create = function(r, n) {
|
|
1022
|
-
return new
|
|
1045
|
+
return new Mt(r, n);
|
|
1023
1046
|
}, t;
|
|
1024
|
-
}(
|
|
1025
|
-
|
|
1047
|
+
}(Ht), Mt = function(e) {
|
|
1048
|
+
j(t, e);
|
|
1026
1049
|
function t(r, n) {
|
|
1027
1050
|
var i = e.call(this) || this;
|
|
1028
1051
|
return i.destination = r, i.source = n, i;
|
|
@@ -1038,17 +1061,17 @@ var zn = yr(function(e) {
|
|
|
1038
1061
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1039
1062
|
}, t.prototype._subscribe = function(r) {
|
|
1040
1063
|
var n, i;
|
|
1041
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1064
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : gr;
|
|
1042
1065
|
}, t;
|
|
1043
|
-
}(
|
|
1066
|
+
}(yr), _r = {
|
|
1044
1067
|
now: function() {
|
|
1045
|
-
return (
|
|
1068
|
+
return (_r.delegate || Date).now();
|
|
1046
1069
|
},
|
|
1047
1070
|
delegate: void 0
|
|
1048
|
-
},
|
|
1049
|
-
|
|
1071
|
+
}, Vn = function(e) {
|
|
1072
|
+
j(t, e);
|
|
1050
1073
|
function t(r, n, i) {
|
|
1051
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1074
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = _r);
|
|
1052
1075
|
var o = e.call(this) || this;
|
|
1053
1076
|
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;
|
|
1054
1077
|
}
|
|
@@ -1068,24 +1091,24 @@ var zn = yr(function(e) {
|
|
|
1068
1091
|
u && o.splice(0, u + 1);
|
|
1069
1092
|
}
|
|
1070
1093
|
}, t;
|
|
1071
|
-
}(
|
|
1072
|
-
const
|
|
1073
|
-
if (
|
|
1074
|
-
const r = new
|
|
1075
|
-
|
|
1094
|
+
}(yr);
|
|
1095
|
+
const Ot = [], Lt = {}, Xn = (e, t = 0) => {
|
|
1096
|
+
if (Ot.indexOf(e) == -1) {
|
|
1097
|
+
const r = new Vn(t);
|
|
1098
|
+
Lt[e] = r, Ot.push(e);
|
|
1076
1099
|
}
|
|
1077
|
-
return
|
|
1100
|
+
return Lt[e];
|
|
1078
1101
|
}, q = [];
|
|
1079
|
-
function
|
|
1102
|
+
function zn(e, t) {
|
|
1080
1103
|
return {
|
|
1081
|
-
subscribe:
|
|
1104
|
+
subscribe: Le(e, t).subscribe
|
|
1082
1105
|
};
|
|
1083
1106
|
}
|
|
1084
|
-
function
|
|
1107
|
+
function Le(e, t = D) {
|
|
1085
1108
|
let r;
|
|
1086
1109
|
const n = /* @__PURE__ */ new Set();
|
|
1087
1110
|
function i(s) {
|
|
1088
|
-
if (
|
|
1111
|
+
if (lr(e, s) && (e = s, r)) {
|
|
1089
1112
|
const l = !q.length;
|
|
1090
1113
|
for (const u of n)
|
|
1091
1114
|
u[1](), q.push(u, e);
|
|
@@ -1107,12 +1130,12 @@ function Ce(e, t = D) {
|
|
|
1107
1130
|
}
|
|
1108
1131
|
return { set: i, update: o, subscribe: a };
|
|
1109
1132
|
}
|
|
1110
|
-
function
|
|
1133
|
+
function le(e, t, r) {
|
|
1111
1134
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1112
1135
|
if (!i.every(Boolean))
|
|
1113
1136
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1114
1137
|
const o = t.length < 2;
|
|
1115
|
-
return
|
|
1138
|
+
return zn(r, (a, s) => {
|
|
1116
1139
|
let l = !1;
|
|
1117
1140
|
const u = [];
|
|
1118
1141
|
let h = 0, d = D;
|
|
@@ -1121,170 +1144,131 @@ function se(e, t, r) {
|
|
|
1121
1144
|
return;
|
|
1122
1145
|
d();
|
|
1123
1146
|
const g = t(n ? u[0] : u, a, s);
|
|
1124
|
-
o ? a(g) : d =
|
|
1125
|
-
},
|
|
1126
|
-
(g,
|
|
1147
|
+
o ? a(g) : d = ft(g) ? g : D;
|
|
1148
|
+
}, p = i.map(
|
|
1149
|
+
(g, b) => ur(
|
|
1127
1150
|
g,
|
|
1128
|
-
(
|
|
1129
|
-
u[
|
|
1151
|
+
(A) => {
|
|
1152
|
+
u[b] = A, h &= ~(1 << b), l && f();
|
|
1130
1153
|
},
|
|
1131
1154
|
() => {
|
|
1132
|
-
h |= 1 <<
|
|
1155
|
+
h |= 1 << b;
|
|
1133
1156
|
}
|
|
1134
1157
|
)
|
|
1135
1158
|
);
|
|
1136
1159
|
return l = !0, f(), function() {
|
|
1137
|
-
|
|
1160
|
+
se(p), d(), l = !1;
|
|
1138
1161
|
};
|
|
1139
1162
|
});
|
|
1140
1163
|
}
|
|
1141
|
-
function
|
|
1142
|
-
return e
|
|
1164
|
+
function Zn(e) {
|
|
1165
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1143
1166
|
}
|
|
1144
|
-
var
|
|
1145
|
-
return
|
|
1167
|
+
var Qn = function(t) {
|
|
1168
|
+
return Yn(t) && !Jn(t);
|
|
1146
1169
|
};
|
|
1147
|
-
function
|
|
1170
|
+
function Yn(e) {
|
|
1148
1171
|
return !!e && typeof e == "object";
|
|
1149
1172
|
}
|
|
1150
|
-
function
|
|
1173
|
+
function Jn(e) {
|
|
1151
1174
|
var t = Object.prototype.toString.call(e);
|
|
1152
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1175
|
+
return t === "[object RegExp]" || t === "[object Date]" || ei(e);
|
|
1153
1176
|
}
|
|
1154
|
-
var
|
|
1155
|
-
function
|
|
1156
|
-
return e.$$typeof ===
|
|
1177
|
+
var qn = typeof Symbol == "function" && Symbol.for, Kn = qn ? Symbol.for("react.element") : 60103;
|
|
1178
|
+
function ei(e) {
|
|
1179
|
+
return e.$$typeof === Kn;
|
|
1157
1180
|
}
|
|
1158
|
-
function
|
|
1181
|
+
function ti(e) {
|
|
1159
1182
|
return Array.isArray(e) ? [] : {};
|
|
1160
1183
|
}
|
|
1161
|
-
function
|
|
1162
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1184
|
+
function ge(e, t) {
|
|
1185
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(ti(e), e, t) : e;
|
|
1163
1186
|
}
|
|
1164
|
-
function
|
|
1187
|
+
function ri(e, t, r) {
|
|
1165
1188
|
return e.concat(t).map(function(n) {
|
|
1166
|
-
return
|
|
1189
|
+
return ge(n, r);
|
|
1167
1190
|
});
|
|
1168
1191
|
}
|
|
1169
|
-
function
|
|
1192
|
+
function ni(e, t) {
|
|
1170
1193
|
if (!t.customMerge)
|
|
1171
|
-
return
|
|
1194
|
+
return ne;
|
|
1172
1195
|
var r = t.customMerge(e);
|
|
1173
|
-
return typeof r == "function" ? r :
|
|
1196
|
+
return typeof r == "function" ? r : ne;
|
|
1174
1197
|
}
|
|
1175
|
-
function
|
|
1198
|
+
function ii(e) {
|
|
1176
1199
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1177
1200
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1178
1201
|
}) : [];
|
|
1179
1202
|
}
|
|
1180
|
-
function
|
|
1181
|
-
return Object.keys(e).concat(
|
|
1203
|
+
function Ct(e) {
|
|
1204
|
+
return Object.keys(e).concat(ii(e));
|
|
1182
1205
|
}
|
|
1183
|
-
function
|
|
1206
|
+
function xr(e, t) {
|
|
1184
1207
|
try {
|
|
1185
1208
|
return t in e;
|
|
1186
1209
|
} catch (r) {
|
|
1187
1210
|
return !1;
|
|
1188
1211
|
}
|
|
1189
1212
|
}
|
|
1190
|
-
function
|
|
1191
|
-
return
|
|
1213
|
+
function oi(e, t) {
|
|
1214
|
+
return xr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1192
1215
|
}
|
|
1193
|
-
function
|
|
1216
|
+
function ai(e, t, r) {
|
|
1194
1217
|
var n = {};
|
|
1195
|
-
return r.isMergeableObject(e) &&
|
|
1196
|
-
n[i] =
|
|
1197
|
-
}),
|
|
1198
|
-
|
|
1218
|
+
return r.isMergeableObject(e) && Ct(e).forEach(function(i) {
|
|
1219
|
+
n[i] = ge(e[i], r);
|
|
1220
|
+
}), Ct(t).forEach(function(i) {
|
|
1221
|
+
oi(e, i) || (xr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ni(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
|
|
1199
1222
|
}), n;
|
|
1200
1223
|
}
|
|
1201
|
-
function
|
|
1202
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1224
|
+
function ne(e, t, r) {
|
|
1225
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ri, r.isMergeableObject = r.isMergeableObject || Qn, r.cloneUnlessOtherwiseSpecified = ge;
|
|
1203
1226
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1204
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1227
|
+
return o ? n ? r.arrayMerge(e, t, r) : ai(e, t, r) : ge(t, r);
|
|
1205
1228
|
}
|
|
1206
|
-
|
|
1229
|
+
ne.all = function(t, r) {
|
|
1207
1230
|
if (!Array.isArray(t))
|
|
1208
1231
|
throw new Error("first argument should be an array");
|
|
1209
1232
|
return t.reduce(function(n, i) {
|
|
1210
|
-
return
|
|
1233
|
+
return ne(n, i, r);
|
|
1211
1234
|
}, {});
|
|
1212
1235
|
};
|
|
1213
|
-
var
|
|
1214
|
-
const
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
r.__proto__ = n;
|
|
1218
|
-
} || function(r, n) {
|
|
1219
|
-
for (var i in n)
|
|
1220
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1221
|
-
}, lt(e, t);
|
|
1222
|
-
};
|
|
1223
|
-
function Fe(e, t) {
|
|
1224
|
-
if (typeof t != "function" && t !== null)
|
|
1225
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1226
|
-
lt(e, t);
|
|
1227
|
-
function r() {
|
|
1228
|
-
this.constructor = e;
|
|
1229
|
-
}
|
|
1230
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1231
|
-
}
|
|
1232
|
-
var G = function() {
|
|
1233
|
-
return G = Object.assign || function(t) {
|
|
1234
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1235
|
-
r = arguments[n];
|
|
1236
|
-
for (var o in r)
|
|
1237
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1238
|
-
}
|
|
1239
|
-
return t;
|
|
1240
|
-
}, G.apply(this, arguments);
|
|
1241
|
-
};
|
|
1242
|
-
function di(e, t) {
|
|
1243
|
-
var r = {};
|
|
1244
|
-
for (var n in e)
|
|
1245
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1246
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1247
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1248
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1249
|
-
return r;
|
|
1250
|
-
}
|
|
1251
|
-
function ze(e, t, r) {
|
|
1252
|
-
if (r || arguments.length === 2)
|
|
1253
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1254
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1255
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1256
|
-
}
|
|
1257
|
-
function Ze(e, t) {
|
|
1258
|
-
var r = t && t.cache ? t.cache : _i, n = t && t.serializer ? t.serializer : bi, i = t && t.strategy ? t.strategy : gi;
|
|
1236
|
+
var si = ne, li = si;
|
|
1237
|
+
const ui = /* @__PURE__ */ Zn(li);
|
|
1238
|
+
function Ve(e, t) {
|
|
1239
|
+
var r = t && t.cache ? t.cache : gi, n = t && t.serializer ? t.serializer : mi, i = t && t.strategy ? t.strategy : ci;
|
|
1259
1240
|
return i(e, {
|
|
1260
1241
|
cache: r,
|
|
1261
1242
|
serializer: n
|
|
1262
1243
|
});
|
|
1263
1244
|
}
|
|
1264
|
-
function
|
|
1245
|
+
function hi(e) {
|
|
1265
1246
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1266
1247
|
}
|
|
1267
|
-
function
|
|
1268
|
-
var i =
|
|
1248
|
+
function wr(e, t, r, n) {
|
|
1249
|
+
var i = hi(n) ? n : r(n), o = t.get(i);
|
|
1269
1250
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1270
1251
|
}
|
|
1271
|
-
function
|
|
1252
|
+
function Er(e, t, r) {
|
|
1272
1253
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1273
1254
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1274
1255
|
}
|
|
1275
|
-
function
|
|
1256
|
+
function mt(e, t, r, n, i) {
|
|
1276
1257
|
return r.bind(t, e, n, i);
|
|
1277
1258
|
}
|
|
1278
|
-
function
|
|
1279
|
-
var r = e.length === 1 ?
|
|
1280
|
-
return
|
|
1259
|
+
function ci(e, t) {
|
|
1260
|
+
var r = e.length === 1 ? wr : Er;
|
|
1261
|
+
return mt(e, this, r, t.cache.create(), t.serializer);
|
|
1262
|
+
}
|
|
1263
|
+
function fi(e, t) {
|
|
1264
|
+
return mt(e, this, Er, t.cache.create(), t.serializer);
|
|
1281
1265
|
}
|
|
1282
|
-
function
|
|
1283
|
-
return
|
|
1266
|
+
function di(e, t) {
|
|
1267
|
+
return mt(e, this, wr, t.cache.create(), t.serializer);
|
|
1284
1268
|
}
|
|
1285
|
-
var
|
|
1269
|
+
var mi = function() {
|
|
1286
1270
|
return JSON.stringify(arguments);
|
|
1287
|
-
},
|
|
1271
|
+
}, pi = (
|
|
1288
1272
|
/** @class */
|
|
1289
1273
|
function() {
|
|
1290
1274
|
function e() {
|
|
@@ -1296,71 +1280,62 @@ var bi = function() {
|
|
|
1296
1280
|
this.cache[t] = r;
|
|
1297
1281
|
}, e;
|
|
1298
1282
|
}()
|
|
1299
|
-
),
|
|
1283
|
+
), gi = {
|
|
1300
1284
|
create: function() {
|
|
1301
|
-
return new
|
|
1285
|
+
return new pi();
|
|
1302
1286
|
}
|
|
1303
|
-
},
|
|
1304
|
-
variadic:
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1308
|
-
r = arguments[n];
|
|
1309
|
-
for (var o in r)
|
|
1310
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1311
|
-
}
|
|
1312
|
-
return t;
|
|
1313
|
-
}, Pe.apply(this, arguments);
|
|
1314
|
-
};
|
|
1315
|
-
var _;
|
|
1287
|
+
}, Xe = {
|
|
1288
|
+
variadic: fi,
|
|
1289
|
+
monadic: di
|
|
1290
|
+
}, _;
|
|
1316
1291
|
(function(e) {
|
|
1317
1292
|
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";
|
|
1318
1293
|
})(_ || (_ = {}));
|
|
1319
|
-
var
|
|
1294
|
+
var I;
|
|
1320
1295
|
(function(e) {
|
|
1321
1296
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1322
|
-
})(
|
|
1323
|
-
var
|
|
1297
|
+
})(I || (I = {}));
|
|
1298
|
+
var ie;
|
|
1324
1299
|
(function(e) {
|
|
1325
1300
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1326
|
-
})(
|
|
1327
|
-
function
|
|
1328
|
-
return e.type ===
|
|
1301
|
+
})(ie || (ie = {}));
|
|
1302
|
+
function Ft(e) {
|
|
1303
|
+
return e.type === I.literal;
|
|
1329
1304
|
}
|
|
1330
|
-
function
|
|
1331
|
-
return e.type ===
|
|
1305
|
+
function bi(e) {
|
|
1306
|
+
return e.type === I.argument;
|
|
1332
1307
|
}
|
|
1333
|
-
function
|
|
1334
|
-
return e.type ===
|
|
1308
|
+
function Nr(e) {
|
|
1309
|
+
return e.type === I.number;
|
|
1335
1310
|
}
|
|
1336
|
-
function
|
|
1337
|
-
return e.type ===
|
|
1311
|
+
function Sr(e) {
|
|
1312
|
+
return e.type === I.date;
|
|
1338
1313
|
}
|
|
1339
|
-
function
|
|
1340
|
-
return e.type ===
|
|
1314
|
+
function Ir(e) {
|
|
1315
|
+
return e.type === I.time;
|
|
1341
1316
|
}
|
|
1342
|
-
function
|
|
1343
|
-
return e.type ===
|
|
1317
|
+
function Br(e) {
|
|
1318
|
+
return e.type === I.select;
|
|
1344
1319
|
}
|
|
1345
|
-
function
|
|
1346
|
-
return e.type ===
|
|
1320
|
+
function Ar(e) {
|
|
1321
|
+
return e.type === I.plural;
|
|
1347
1322
|
}
|
|
1348
|
-
function
|
|
1349
|
-
return e.type ===
|
|
1323
|
+
function vi(e) {
|
|
1324
|
+
return e.type === I.pound;
|
|
1350
1325
|
}
|
|
1351
|
-
function
|
|
1352
|
-
return e.type ===
|
|
1326
|
+
function Tr(e) {
|
|
1327
|
+
return e.type === I.tag;
|
|
1353
1328
|
}
|
|
1354
|
-
function
|
|
1355
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1329
|
+
function Hr(e) {
|
|
1330
|
+
return !!(e && typeof e == "object" && e.type === ie.number);
|
|
1356
1331
|
}
|
|
1357
|
-
function
|
|
1358
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1332
|
+
function it(e) {
|
|
1333
|
+
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
|
1359
1334
|
}
|
|
1360
|
-
var
|
|
1361
|
-
function
|
|
1335
|
+
var Pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yi = /(?:[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;
|
|
1336
|
+
function _i(e) {
|
|
1362
1337
|
var t = {};
|
|
1363
|
-
return e.replace(
|
|
1338
|
+
return e.replace(yi, function(r) {
|
|
1364
1339
|
var n = r.length;
|
|
1365
1340
|
switch (r[0]) {
|
|
1366
1341
|
case "G":
|
|
@@ -1449,21 +1424,11 @@ function Ni(e) {
|
|
|
1449
1424
|
return "";
|
|
1450
1425
|
}), t;
|
|
1451
1426
|
}
|
|
1452
|
-
var
|
|
1453
|
-
|
|
1454
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1455
|
-
r = arguments[n];
|
|
1456
|
-
for (var o in r)
|
|
1457
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1458
|
-
}
|
|
1459
|
-
return t;
|
|
1460
|
-
}, T.apply(this, arguments);
|
|
1461
|
-
};
|
|
1462
|
-
var Si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1463
|
-
function Ii(e) {
|
|
1427
|
+
var xi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1428
|
+
function wi(e) {
|
|
1464
1429
|
if (e.length === 0)
|
|
1465
1430
|
throw new Error("Number skeleton cannot be empty");
|
|
1466
|
-
for (var t = e.split(
|
|
1431
|
+
for (var t = e.split(xi).filter(function(f) {
|
|
1467
1432
|
return f.length > 0;
|
|
1468
1433
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1469
1434
|
var o = i[n], a = o.split("/");
|
|
@@ -1478,17 +1443,17 @@ function Ii(e) {
|
|
|
1478
1443
|
}
|
|
1479
1444
|
return r;
|
|
1480
1445
|
}
|
|
1481
|
-
function
|
|
1446
|
+
function Ei(e) {
|
|
1482
1447
|
return e.replace(/^(.*?)-/, "");
|
|
1483
1448
|
}
|
|
1484
|
-
var
|
|
1485
|
-
function
|
|
1449
|
+
var Rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mr = /^(@+)?(\+|#+)?[rs]?$/g, Ni = /(\*)(0+)|(#+)(0+)|(0+)/g, Or = /^(0+)$/;
|
|
1450
|
+
function Ut(e) {
|
|
1486
1451
|
var t = {};
|
|
1487
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1452
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mr, function(r, n, i) {
|
|
1488
1453
|
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)), "";
|
|
1489
1454
|
}), t;
|
|
1490
1455
|
}
|
|
1491
|
-
function
|
|
1456
|
+
function Lr(e) {
|
|
1492
1457
|
switch (e) {
|
|
1493
1458
|
case "sign-auto":
|
|
1494
1459
|
return {
|
|
@@ -1528,7 +1493,7 @@ function Ur(e) {
|
|
|
1528
1493
|
};
|
|
1529
1494
|
}
|
|
1530
1495
|
}
|
|
1531
|
-
function
|
|
1496
|
+
function Si(e) {
|
|
1532
1497
|
var t;
|
|
1533
1498
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1534
1499
|
notation: "engineering"
|
|
@@ -1536,17 +1501,17 @@ function Ti(e) {
|
|
|
1536
1501
|
notation: "scientific"
|
|
1537
1502
|
}, e = e.slice(1)), t) {
|
|
1538
1503
|
var r = e.slice(0, 2);
|
|
1539
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1504
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Or.test(e))
|
|
1540
1505
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1541
1506
|
t.minimumIntegerDigits = e.length;
|
|
1542
1507
|
}
|
|
1543
1508
|
return t;
|
|
1544
1509
|
}
|
|
1545
|
-
function
|
|
1546
|
-
var t = {}, r =
|
|
1510
|
+
function Dt(e) {
|
|
1511
|
+
var t = {}, r = Lr(e);
|
|
1547
1512
|
return r || t;
|
|
1548
1513
|
}
|
|
1549
|
-
function
|
|
1514
|
+
function Ii(e) {
|
|
1550
1515
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1551
1516
|
var i = n[r];
|
|
1552
1517
|
switch (i.stem) {
|
|
@@ -1570,7 +1535,7 @@ function Pi(e) {
|
|
|
1570
1535
|
continue;
|
|
1571
1536
|
case "measure-unit":
|
|
1572
1537
|
case "unit":
|
|
1573
|
-
t.style = "unit", t.unit =
|
|
1538
|
+
t.style = "unit", t.unit = Ei(i.options[0]);
|
|
1574
1539
|
continue;
|
|
1575
1540
|
case "compact-short":
|
|
1576
1541
|
case "K":
|
|
@@ -1581,13 +1546,13 @@ function Pi(e) {
|
|
|
1581
1546
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1582
1547
|
continue;
|
|
1583
1548
|
case "scientific":
|
|
1584
|
-
t =
|
|
1585
|
-
return
|
|
1549
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1550
|
+
return w(w({}, l), Dt(u));
|
|
1586
1551
|
}, {}));
|
|
1587
1552
|
continue;
|
|
1588
1553
|
case "engineering":
|
|
1589
|
-
t =
|
|
1590
|
-
return
|
|
1554
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1555
|
+
return w(w({}, l), Dt(u));
|
|
1591
1556
|
}, {}));
|
|
1592
1557
|
continue;
|
|
1593
1558
|
case "notation-simple":
|
|
@@ -1632,41 +1597,41 @@ function Pi(e) {
|
|
|
1632
1597
|
case "integer-width":
|
|
1633
1598
|
if (i.options.length > 1)
|
|
1634
1599
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1635
|
-
i.options[0].replace(
|
|
1600
|
+
i.options[0].replace(Ni, function(l, u, h, d, f, p) {
|
|
1636
1601
|
if (u)
|
|
1637
1602
|
t.minimumIntegerDigits = h.length;
|
|
1638
1603
|
else {
|
|
1639
1604
|
if (d && f)
|
|
1640
1605
|
throw new Error("We currently do not support maximum integer digits");
|
|
1641
|
-
if (
|
|
1606
|
+
if (p)
|
|
1642
1607
|
throw new Error("We currently do not support exact integer digits");
|
|
1643
1608
|
}
|
|
1644
1609
|
return "";
|
|
1645
1610
|
});
|
|
1646
1611
|
continue;
|
|
1647
1612
|
}
|
|
1648
|
-
if (
|
|
1613
|
+
if (Or.test(i.stem)) {
|
|
1649
1614
|
t.minimumIntegerDigits = i.stem.length;
|
|
1650
1615
|
continue;
|
|
1651
1616
|
}
|
|
1652
|
-
if (
|
|
1617
|
+
if (Rt.test(i.stem)) {
|
|
1653
1618
|
if (i.options.length > 1)
|
|
1654
1619
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1655
|
-
i.stem.replace(
|
|
1656
|
-
return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f &&
|
|
1620
|
+
i.stem.replace(Rt, function(l, u, h, d, f, p) {
|
|
1621
|
+
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), "";
|
|
1657
1622
|
});
|
|
1658
1623
|
var o = i.options[0];
|
|
1659
|
-
o === "w" ? t =
|
|
1624
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Ut(o)));
|
|
1660
1625
|
continue;
|
|
1661
1626
|
}
|
|
1662
|
-
if (
|
|
1663
|
-
t =
|
|
1627
|
+
if (Mr.test(i.stem)) {
|
|
1628
|
+
t = w(w({}, t), Ut(i.stem));
|
|
1664
1629
|
continue;
|
|
1665
1630
|
}
|
|
1666
|
-
var a =
|
|
1667
|
-
a && (t =
|
|
1668
|
-
var s =
|
|
1669
|
-
s && (t =
|
|
1631
|
+
var a = Lr(i.stem);
|
|
1632
|
+
a && (t = w(w({}, t), a));
|
|
1633
|
+
var s = Si(i.stem);
|
|
1634
|
+
s && (t = w(w({}, t), s));
|
|
1670
1635
|
}
|
|
1671
1636
|
return t;
|
|
1672
1637
|
}
|
|
@@ -3085,13 +3050,13 @@ var Ee = {
|
|
|
3085
3050
|
"h"
|
|
3086
3051
|
]
|
|
3087
3052
|
};
|
|
3088
|
-
function
|
|
3053
|
+
function Bi(e, t) {
|
|
3089
3054
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3090
3055
|
var i = e.charAt(n);
|
|
3091
3056
|
if (i === "j") {
|
|
3092
3057
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3093
3058
|
o++, n++;
|
|
3094
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3059
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ai(t);
|
|
3095
3060
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3096
3061
|
r += l;
|
|
3097
3062
|
for (; a-- > 0; )
|
|
@@ -3101,7 +3066,7 @@ function Hi(e, t) {
|
|
|
3101
3066
|
}
|
|
3102
3067
|
return r;
|
|
3103
3068
|
}
|
|
3104
|
-
function
|
|
3069
|
+
function Ai(e) {
|
|
3105
3070
|
var t = e.hourCycle;
|
|
3106
3071
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3107
3072
|
e.hourCycles && // @ts-ignore
|
|
@@ -3123,20 +3088,20 @@ function Mi(e) {
|
|
|
3123
3088
|
var i = Ee[n || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
|
|
3124
3089
|
return i[0];
|
|
3125
3090
|
}
|
|
3126
|
-
var
|
|
3091
|
+
var ze, Ti = new RegExp("^".concat(Pr.source, "*")), Hi = new RegExp("".concat(Pr.source, "*$"));
|
|
3127
3092
|
function x(e, t) {
|
|
3128
3093
|
return { start: e, end: t };
|
|
3129
3094
|
}
|
|
3130
|
-
var
|
|
3095
|
+
var Pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mi = !!String.fromCodePoint, Oi = !!Object.fromEntries, Li = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Fi = !!String.prototype.trimEnd, Ri = !!Number.isSafeInteger, Ui = Ri ? Number.isSafeInteger : function(e) {
|
|
3131
3096
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3132
|
-
},
|
|
3097
|
+
}, ot = !0;
|
|
3133
3098
|
try {
|
|
3134
|
-
var
|
|
3135
|
-
|
|
3099
|
+
var Di = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3100
|
+
ot = ((ze = Di.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
|
|
3136
3101
|
} catch (e) {
|
|
3137
|
-
|
|
3102
|
+
ot = !1;
|
|
3138
3103
|
}
|
|
3139
|
-
var
|
|
3104
|
+
var Gt = Pi ? (
|
|
3140
3105
|
// Native
|
|
3141
3106
|
function(t, r, n) {
|
|
3142
3107
|
return t.startsWith(r, n);
|
|
@@ -3146,7 +3111,7 @@ var Wt = Ci ? (
|
|
|
3146
3111
|
function(t, r, n) {
|
|
3147
3112
|
return t.slice(n, n + r.length) === r;
|
|
3148
3113
|
}
|
|
3149
|
-
),
|
|
3114
|
+
), at = Mi ? String.fromCodePoint : (
|
|
3150
3115
|
// IE11
|
|
3151
3116
|
function() {
|
|
3152
3117
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3158,9 +3123,9 @@ var Wt = Ci ? (
|
|
|
3158
3123
|
}
|
|
3159
3124
|
return n;
|
|
3160
3125
|
}
|
|
3161
|
-
),
|
|
3126
|
+
), $t = (
|
|
3162
3127
|
// native
|
|
3163
|
-
|
|
3128
|
+
Oi ? Object.fromEntries : (
|
|
3164
3129
|
// Ponyfill
|
|
3165
3130
|
function(t) {
|
|
3166
3131
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3170,7 +3135,7 @@ var Wt = Ci ? (
|
|
|
3170
3135
|
return r;
|
|
3171
3136
|
}
|
|
3172
3137
|
)
|
|
3173
|
-
),
|
|
3138
|
+
), Cr = Li ? (
|
|
3174
3139
|
// Native
|
|
3175
3140
|
function(t, r) {
|
|
3176
3141
|
return t.codePointAt(r);
|
|
@@ -3184,7 +3149,7 @@ var Wt = Ci ? (
|
|
|
3184
3149
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3185
3150
|
}
|
|
3186
3151
|
}
|
|
3187
|
-
),
|
|
3152
|
+
), Gi = Ci ? (
|
|
3188
3153
|
// Native
|
|
3189
3154
|
function(t) {
|
|
3190
3155
|
return t.trimStart();
|
|
@@ -3192,9 +3157,9 @@ var Wt = Ci ? (
|
|
|
3192
3157
|
) : (
|
|
3193
3158
|
// Ponyfill
|
|
3194
3159
|
function(t) {
|
|
3195
|
-
return t.replace(
|
|
3160
|
+
return t.replace(Ti, "");
|
|
3196
3161
|
}
|
|
3197
|
-
),
|
|
3162
|
+
), $i = Fi ? (
|
|
3198
3163
|
// Native
|
|
3199
3164
|
function(t) {
|
|
3200
3165
|
return t.trimEnd();
|
|
@@ -3202,32 +3167,32 @@ var Wt = Ci ? (
|
|
|
3202
3167
|
) : (
|
|
3203
3168
|
// Ponyfill
|
|
3204
3169
|
function(t) {
|
|
3205
|
-
return t.replace(
|
|
3170
|
+
return t.replace(Hi, "");
|
|
3206
3171
|
}
|
|
3207
3172
|
);
|
|
3208
|
-
function
|
|
3173
|
+
function Fr(e, t) {
|
|
3209
3174
|
return new RegExp(e, t);
|
|
3210
3175
|
}
|
|
3211
|
-
var
|
|
3212
|
-
if (
|
|
3213
|
-
var
|
|
3214
|
-
|
|
3176
|
+
var st;
|
|
3177
|
+
if (ot) {
|
|
3178
|
+
var kt = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3179
|
+
st = function(t, r) {
|
|
3215
3180
|
var n;
|
|
3216
|
-
|
|
3217
|
-
var i =
|
|
3181
|
+
kt.lastIndex = r;
|
|
3182
|
+
var i = kt.exec(t);
|
|
3218
3183
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3219
3184
|
};
|
|
3220
3185
|
} else
|
|
3221
|
-
|
|
3186
|
+
st = function(t, r) {
|
|
3222
3187
|
for (var n = []; ; ) {
|
|
3223
|
-
var i =
|
|
3224
|
-
if (i === void 0 ||
|
|
3188
|
+
var i = Cr(t, r);
|
|
3189
|
+
if (i === void 0 || Rr(i) || Vi(i))
|
|
3225
3190
|
break;
|
|
3226
3191
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3227
3192
|
}
|
|
3228
|
-
return
|
|
3193
|
+
return at.apply(void 0, n);
|
|
3229
3194
|
};
|
|
3230
|
-
var
|
|
3195
|
+
var ki = (
|
|
3231
3196
|
/** @class */
|
|
3232
3197
|
function() {
|
|
3233
3198
|
function e(t, r) {
|
|
@@ -3251,14 +3216,14 @@ var Xi = (
|
|
|
3251
3216
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3252
3217
|
var s = this.clonePosition();
|
|
3253
3218
|
this.bump(), i.push({
|
|
3254
|
-
type:
|
|
3219
|
+
type: I.pound,
|
|
3255
3220
|
location: x(s, this.clonePosition())
|
|
3256
3221
|
});
|
|
3257
3222
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3258
3223
|
if (n)
|
|
3259
3224
|
break;
|
|
3260
3225
|
return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
3261
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3226
|
+
} else if (o === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
|
|
3262
3227
|
var a = this.parseTag(t, r);
|
|
3263
3228
|
if (a.err)
|
|
3264
3229
|
return a;
|
|
@@ -3279,7 +3244,7 @@ var Xi = (
|
|
|
3279
3244
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3280
3245
|
return {
|
|
3281
3246
|
val: {
|
|
3282
|
-
type:
|
|
3247
|
+
type: I.literal,
|
|
3283
3248
|
value: "<".concat(i, "/>"),
|
|
3284
3249
|
location: x(n, this.clonePosition())
|
|
3285
3250
|
},
|
|
@@ -3291,12 +3256,12 @@ var Xi = (
|
|
|
3291
3256
|
return o;
|
|
3292
3257
|
var a = o.val, s = this.clonePosition();
|
|
3293
3258
|
if (this.bumpIf("</")) {
|
|
3294
|
-
if (this.isEOF() || !
|
|
3259
|
+
if (this.isEOF() || !lt(this.char()))
|
|
3295
3260
|
return this.error(_.INVALID_TAG, x(s, this.clonePosition()));
|
|
3296
3261
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3297
3262
|
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3298
3263
|
val: {
|
|
3299
|
-
type:
|
|
3264
|
+
type: I.tag,
|
|
3300
3265
|
value: i,
|
|
3301
3266
|
children: a,
|
|
3302
3267
|
location: x(n, this.clonePosition())
|
|
@@ -3309,7 +3274,7 @@ var Xi = (
|
|
|
3309
3274
|
return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
|
|
3310
3275
|
}, e.prototype.parseTagName = function() {
|
|
3311
3276
|
var t = this.offset();
|
|
3312
|
-
for (this.bump(); !this.isEOF() &&
|
|
3277
|
+
for (this.bump(); !this.isEOF() && Wi(this.char()); )
|
|
3313
3278
|
this.bump();
|
|
3314
3279
|
return this.message.slice(t, this.offset());
|
|
3315
3280
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3333,12 +3298,12 @@ var Xi = (
|
|
|
3333
3298
|
}
|
|
3334
3299
|
var l = x(n, this.clonePosition());
|
|
3335
3300
|
return {
|
|
3336
|
-
val: { type:
|
|
3301
|
+
val: { type: I.literal, value: i, location: l },
|
|
3337
3302
|
err: null
|
|
3338
3303
|
};
|
|
3339
3304
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3340
3305
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3341
|
-
!
|
|
3306
|
+
!ji(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3342
3307
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3343
3308
|
if (this.isEOF() || this.char() !== 39)
|
|
3344
3309
|
return null;
|
|
@@ -3372,12 +3337,12 @@ var Xi = (
|
|
|
3372
3337
|
r.push(n);
|
|
3373
3338
|
this.bump();
|
|
3374
3339
|
}
|
|
3375
|
-
return
|
|
3340
|
+
return at.apply(void 0, r);
|
|
3376
3341
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3377
3342
|
if (this.isEOF())
|
|
3378
3343
|
return null;
|
|
3379
3344
|
var n = this.char();
|
|
3380
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3345
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), at(n));
|
|
3381
3346
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3382
3347
|
var n = this.clonePosition();
|
|
3383
3348
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3393,7 +3358,7 @@ var Xi = (
|
|
|
3393
3358
|
case 125:
|
|
3394
3359
|
return this.bump(), {
|
|
3395
3360
|
val: {
|
|
3396
|
-
type:
|
|
3361
|
+
type: I.argument,
|
|
3397
3362
|
// value does not include the opening and closing braces.
|
|
3398
3363
|
value: i,
|
|
3399
3364
|
location: x(n, this.clonePosition())
|
|
@@ -3406,7 +3371,7 @@ var Xi = (
|
|
|
3406
3371
|
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
|
3407
3372
|
}
|
|
3408
3373
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3409
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3374
|
+
var t = this.clonePosition(), r = this.offset(), n = st(this.message, r), i = r + n.length;
|
|
3410
3375
|
this.bumpTo(i);
|
|
3411
3376
|
var o = this.clonePosition(), a = x(t, o);
|
|
3412
3377
|
return { value: n, location: a };
|
|
@@ -3425,46 +3390,46 @@ var Xi = (
|
|
|
3425
3390
|
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3426
3391
|
if (d.err)
|
|
3427
3392
|
return d;
|
|
3428
|
-
var f =
|
|
3393
|
+
var f = $i(d.val);
|
|
3429
3394
|
if (f.length === 0)
|
|
3430
3395
|
return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
3431
|
-
var
|
|
3432
|
-
u = { style: f, styleLocation:
|
|
3396
|
+
var p = x(h, this.clonePosition());
|
|
3397
|
+
u = { style: f, styleLocation: p };
|
|
3433
3398
|
}
|
|
3434
3399
|
var g = this.tryParseArgumentClose(i);
|
|
3435
3400
|
if (g.err)
|
|
3436
3401
|
return g;
|
|
3437
|
-
var
|
|
3438
|
-
if (u &&
|
|
3439
|
-
var
|
|
3402
|
+
var b = x(i, this.clonePosition());
|
|
3403
|
+
if (u && Gt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3404
|
+
var A = Gi(u.style.slice(2));
|
|
3440
3405
|
if (s === "number") {
|
|
3441
|
-
var d = this.parseNumberSkeletonFromString(
|
|
3406
|
+
var d = this.parseNumberSkeletonFromString(A, u.styleLocation);
|
|
3442
3407
|
return d.err ? d : {
|
|
3443
|
-
val: { type:
|
|
3408
|
+
val: { type: I.number, value: n, location: b, style: d.val },
|
|
3444
3409
|
err: null
|
|
3445
3410
|
};
|
|
3446
3411
|
} else {
|
|
3447
|
-
if (
|
|
3448
|
-
return this.error(_.EXPECT_DATE_TIME_SKELETON,
|
|
3449
|
-
var
|
|
3450
|
-
this.locale && (
|
|
3412
|
+
if (A.length === 0)
|
|
3413
|
+
return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
|
|
3414
|
+
var S = A;
|
|
3415
|
+
this.locale && (S = Bi(A, this.locale));
|
|
3451
3416
|
var f = {
|
|
3452
|
-
type:
|
|
3453
|
-
pattern:
|
|
3417
|
+
type: ie.dateTime,
|
|
3418
|
+
pattern: S,
|
|
3454
3419
|
location: u.styleLocation,
|
|
3455
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3456
|
-
},
|
|
3420
|
+
parsedOptions: this.shouldParseSkeletons ? _i(S) : {}
|
|
3421
|
+
}, v = s === "date" ? I.date : I.time;
|
|
3457
3422
|
return {
|
|
3458
|
-
val: { type:
|
|
3423
|
+
val: { type: v, value: n, location: b, style: f },
|
|
3459
3424
|
err: null
|
|
3460
3425
|
};
|
|
3461
3426
|
}
|
|
3462
3427
|
}
|
|
3463
3428
|
return {
|
|
3464
3429
|
val: {
|
|
3465
|
-
type: s === "number" ?
|
|
3430
|
+
type: s === "number" ? I.number : s === "date" ? I.date : I.time,
|
|
3466
3431
|
value: n,
|
|
3467
|
-
location:
|
|
3432
|
+
location: b,
|
|
3468
3433
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3469
3434
|
},
|
|
3470
3435
|
err: null
|
|
@@ -3473,21 +3438,21 @@ var Xi = (
|
|
|
3473
3438
|
case "plural":
|
|
3474
3439
|
case "selectordinal":
|
|
3475
3440
|
case "select": {
|
|
3476
|
-
var
|
|
3441
|
+
var N = this.clonePosition();
|
|
3477
3442
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3478
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(
|
|
3443
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(N, w({}, N)));
|
|
3479
3444
|
this.bumpSpace();
|
|
3480
|
-
var
|
|
3481
|
-
if (s !== "select" &&
|
|
3445
|
+
var E = this.parseIdentifierIfPossible(), H = 0;
|
|
3446
|
+
if (s !== "select" && E.value === "offset") {
|
|
3482
3447
|
if (!this.bumpIf(":"))
|
|
3483
3448
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
3484
3449
|
this.bumpSpace();
|
|
3485
3450
|
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3486
3451
|
if (d.err)
|
|
3487
3452
|
return d;
|
|
3488
|
-
this.bumpSpace(),
|
|
3453
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), H = d.val;
|
|
3489
3454
|
}
|
|
3490
|
-
var W = this.tryParsePluralOrSelectOptions(t, s, r,
|
|
3455
|
+
var W = this.tryParsePluralOrSelectOptions(t, s, r, E);
|
|
3491
3456
|
if (W.err)
|
|
3492
3457
|
return W;
|
|
3493
3458
|
var g = this.tryParseArgumentClose(i);
|
|
@@ -3496,18 +3461,18 @@ var Xi = (
|
|
|
3496
3461
|
var Y = x(i, this.clonePosition());
|
|
3497
3462
|
return s === "select" ? {
|
|
3498
3463
|
val: {
|
|
3499
|
-
type:
|
|
3464
|
+
type: I.select,
|
|
3500
3465
|
value: n,
|
|
3501
|
-
options:
|
|
3466
|
+
options: $t(W.val),
|
|
3502
3467
|
location: Y
|
|
3503
3468
|
},
|
|
3504
3469
|
err: null
|
|
3505
3470
|
} : {
|
|
3506
3471
|
val: {
|
|
3507
|
-
type:
|
|
3472
|
+
type: I.plural,
|
|
3508
3473
|
value: n,
|
|
3509
|
-
options:
|
|
3510
|
-
offset:
|
|
3474
|
+
options: $t(W.val),
|
|
3475
|
+
offset: H,
|
|
3511
3476
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3512
3477
|
location: Y
|
|
3513
3478
|
},
|
|
@@ -3557,16 +3522,16 @@ var Xi = (
|
|
|
3557
3522
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3558
3523
|
var n = [];
|
|
3559
3524
|
try {
|
|
3560
|
-
n =
|
|
3525
|
+
n = wi(t);
|
|
3561
3526
|
} catch (i) {
|
|
3562
3527
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3563
3528
|
}
|
|
3564
3529
|
return {
|
|
3565
3530
|
val: {
|
|
3566
|
-
type:
|
|
3531
|
+
type: ie.number,
|
|
3567
3532
|
tokens: n,
|
|
3568
3533
|
location: r,
|
|
3569
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3534
|
+
parsedOptions: this.shouldParseSkeletons ? Ii(n) : {}
|
|
3570
3535
|
},
|
|
3571
3536
|
err: null
|
|
3572
3537
|
};
|
|
@@ -3585,20 +3550,20 @@ var Xi = (
|
|
|
3585
3550
|
if (l.has(u))
|
|
3586
3551
|
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3587
3552
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3588
|
-
var
|
|
3553
|
+
var p = this.clonePosition();
|
|
3589
3554
|
if (!this.bumpIf("{"))
|
|
3590
3555
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
|
|
3591
3556
|
var g = this.parseMessage(t + 1, r, n);
|
|
3592
3557
|
if (g.err)
|
|
3593
3558
|
return g;
|
|
3594
|
-
var
|
|
3595
|
-
if (
|
|
3596
|
-
return
|
|
3559
|
+
var b = this.tryParseArgumentClose(p);
|
|
3560
|
+
if (b.err)
|
|
3561
|
+
return b;
|
|
3597
3562
|
s.push([
|
|
3598
3563
|
u,
|
|
3599
3564
|
{
|
|
3600
3565
|
value: g.val,
|
|
3601
|
-
location: x(
|
|
3566
|
+
location: x(p, this.clonePosition())
|
|
3602
3567
|
}
|
|
3603
3568
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3604
3569
|
}
|
|
@@ -3614,7 +3579,7 @@ var Xi = (
|
|
|
3614
3579
|
break;
|
|
3615
3580
|
}
|
|
3616
3581
|
var l = x(i, this.clonePosition());
|
|
3617
|
-
return o ? (a *= n,
|
|
3582
|
+
return o ? (a *= n, Ui(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3618
3583
|
}, e.prototype.offset = function() {
|
|
3619
3584
|
return this.position.offset;
|
|
3620
3585
|
}, e.prototype.isEOF = function() {
|
|
@@ -3629,7 +3594,7 @@ var Xi = (
|
|
|
3629
3594
|
var t = this.position.offset;
|
|
3630
3595
|
if (t >= this.message.length)
|
|
3631
3596
|
throw Error("out of bound");
|
|
3632
|
-
var r =
|
|
3597
|
+
var r = Cr(this.message, t);
|
|
3633
3598
|
if (r === void 0)
|
|
3634
3599
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3635
3600
|
return r;
|
|
@@ -3648,7 +3613,7 @@ var Xi = (
|
|
|
3648
3613
|
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);
|
|
3649
3614
|
}
|
|
3650
3615
|
}, e.prototype.bumpIf = function(t) {
|
|
3651
|
-
if (
|
|
3616
|
+
if (Gt(this.message, t, this.offset())) {
|
|
3652
3617
|
for (var r = 0; r < t.length; r++)
|
|
3653
3618
|
this.bump();
|
|
3654
3619
|
return !0;
|
|
@@ -3670,7 +3635,7 @@ var Xi = (
|
|
|
3670
3635
|
break;
|
|
3671
3636
|
}
|
|
3672
3637
|
}, e.prototype.bumpSpace = function() {
|
|
3673
|
-
for (; !this.isEOF() &&
|
|
3638
|
+
for (; !this.isEOF() && Rr(this.char()); )
|
|
3674
3639
|
this.bump();
|
|
3675
3640
|
}, e.prototype.peek = function() {
|
|
3676
3641
|
if (this.isEOF())
|
|
@@ -3680,47 +3645,47 @@ var Xi = (
|
|
|
3680
3645
|
}, e;
|
|
3681
3646
|
}()
|
|
3682
3647
|
);
|
|
3683
|
-
function
|
|
3648
|
+
function lt(e) {
|
|
3684
3649
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3685
3650
|
}
|
|
3686
|
-
function
|
|
3687
|
-
return
|
|
3651
|
+
function ji(e) {
|
|
3652
|
+
return lt(e) || e === 47;
|
|
3688
3653
|
}
|
|
3689
|
-
function
|
|
3654
|
+
function Wi(e) {
|
|
3690
3655
|
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;
|
|
3691
3656
|
}
|
|
3692
|
-
function
|
|
3657
|
+
function Rr(e) {
|
|
3693
3658
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3694
3659
|
}
|
|
3695
|
-
function
|
|
3660
|
+
function Vi(e) {
|
|
3696
3661
|
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;
|
|
3697
3662
|
}
|
|
3698
|
-
function
|
|
3663
|
+
function ut(e) {
|
|
3699
3664
|
e.forEach(function(t) {
|
|
3700
|
-
if (delete t.location,
|
|
3665
|
+
if (delete t.location, Br(t) || Ar(t))
|
|
3701
3666
|
for (var r in t.options)
|
|
3702
|
-
delete t.options[r].location,
|
|
3667
|
+
delete t.options[r].location, ut(t.options[r].value);
|
|
3703
3668
|
else
|
|
3704
|
-
|
|
3669
|
+
Nr(t) && Hr(t.style) || (Sr(t) || Ir(t)) && it(t.style) ? delete t.style.location : Tr(t) && ut(t.children);
|
|
3705
3670
|
});
|
|
3706
3671
|
}
|
|
3707
|
-
function
|
|
3708
|
-
t === void 0 && (t = {}), t =
|
|
3709
|
-
var r = new
|
|
3672
|
+
function Xi(e, t) {
|
|
3673
|
+
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3674
|
+
var r = new ki(e, t).parse();
|
|
3710
3675
|
if (r.err) {
|
|
3711
3676
|
var n = SyntaxError(_[r.err.kind]);
|
|
3712
3677
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3713
3678
|
}
|
|
3714
|
-
return t != null && t.captureLocation ||
|
|
3679
|
+
return t != null && t.captureLocation || ut(r.val), r.val;
|
|
3715
3680
|
}
|
|
3716
|
-
var
|
|
3681
|
+
var oe;
|
|
3717
3682
|
(function(e) {
|
|
3718
3683
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3719
|
-
})(
|
|
3720
|
-
var
|
|
3684
|
+
})(oe || (oe = {}));
|
|
3685
|
+
var Ce = (
|
|
3721
3686
|
/** @class */
|
|
3722
3687
|
function(e) {
|
|
3723
|
-
|
|
3688
|
+
j(t, e);
|
|
3724
3689
|
function t(r, n, i) {
|
|
3725
3690
|
var o = e.call(this, r) || this;
|
|
3726
3691
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3729,48 +3694,48 @@ var Re = (
|
|
|
3729
3694
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3730
3695
|
}, t;
|
|
3731
3696
|
}(Error)
|
|
3732
|
-
),
|
|
3697
|
+
), jt = (
|
|
3733
3698
|
/** @class */
|
|
3734
3699
|
function(e) {
|
|
3735
|
-
|
|
3700
|
+
j(t, e);
|
|
3736
3701
|
function t(r, n, i, o) {
|
|
3737
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3702
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, o) || this;
|
|
3738
3703
|
}
|
|
3739
3704
|
return t;
|
|
3740
|
-
}(
|
|
3741
|
-
),
|
|
3705
|
+
}(Ce)
|
|
3706
|
+
), zi = (
|
|
3742
3707
|
/** @class */
|
|
3743
3708
|
function(e) {
|
|
3744
|
-
|
|
3709
|
+
j(t, e);
|
|
3745
3710
|
function t(r, n, i) {
|
|
3746
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3711
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
|
|
3747
3712
|
}
|
|
3748
3713
|
return t;
|
|
3749
|
-
}(
|
|
3750
|
-
),
|
|
3714
|
+
}(Ce)
|
|
3715
|
+
), Zi = (
|
|
3751
3716
|
/** @class */
|
|
3752
3717
|
function(e) {
|
|
3753
|
-
|
|
3718
|
+
j(t, e);
|
|
3754
3719
|
function t(r, n) {
|
|
3755
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3720
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
|
|
3756
3721
|
}
|
|
3757
3722
|
return t;
|
|
3758
|
-
}(
|
|
3723
|
+
}(Ce)
|
|
3759
3724
|
), O;
|
|
3760
3725
|
(function(e) {
|
|
3761
3726
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3762
3727
|
})(O || (O = {}));
|
|
3763
|
-
function
|
|
3728
|
+
function Qi(e) {
|
|
3764
3729
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3765
3730
|
var n = t[t.length - 1];
|
|
3766
3731
|
return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
|
|
3767
3732
|
}, []);
|
|
3768
3733
|
}
|
|
3769
|
-
function
|
|
3734
|
+
function Yi(e) {
|
|
3770
3735
|
return typeof e == "function";
|
|
3771
3736
|
}
|
|
3772
3737
|
function Be(e, t, r, n, i, o, a) {
|
|
3773
|
-
if (e.length === 1 &&
|
|
3738
|
+
if (e.length === 1 && Ft(e[0]))
|
|
3774
3739
|
return [
|
|
3775
3740
|
{
|
|
3776
3741
|
type: O.literal,
|
|
@@ -3779,14 +3744,14 @@ function Be(e, t, r, n, i, o, a) {
|
|
|
3779
3744
|
];
|
|
3780
3745
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3781
3746
|
var h = u[l];
|
|
3782
|
-
if (
|
|
3747
|
+
if (Ft(h)) {
|
|
3783
3748
|
s.push({
|
|
3784
3749
|
type: O.literal,
|
|
3785
3750
|
value: h.value
|
|
3786
3751
|
});
|
|
3787
3752
|
continue;
|
|
3788
3753
|
}
|
|
3789
|
-
if (
|
|
3754
|
+
if (vi(h)) {
|
|
3790
3755
|
typeof o == "number" && s.push({
|
|
3791
3756
|
type: O.literal,
|
|
3792
3757
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3795,89 +3760,89 @@ function Be(e, t, r, n, i, o, a) {
|
|
|
3795
3760
|
}
|
|
3796
3761
|
var d = h.value;
|
|
3797
3762
|
if (!(i && d in i))
|
|
3798
|
-
throw new
|
|
3763
|
+
throw new Zi(d, a);
|
|
3799
3764
|
var f = i[d];
|
|
3800
|
-
if (
|
|
3765
|
+
if (bi(h)) {
|
|
3801
3766
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3802
3767
|
type: typeof f == "string" ? O.literal : O.object,
|
|
3803
3768
|
value: f
|
|
3804
3769
|
});
|
|
3805
3770
|
continue;
|
|
3806
3771
|
}
|
|
3807
|
-
if (
|
|
3808
|
-
var
|
|
3772
|
+
if (Sr(h)) {
|
|
3773
|
+
var p = typeof h.style == "string" ? n.date[h.style] : it(h.style) ? h.style.parsedOptions : void 0;
|
|
3809
3774
|
s.push({
|
|
3810
3775
|
type: O.literal,
|
|
3811
|
-
value: r.getDateTimeFormat(t,
|
|
3776
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3812
3777
|
});
|
|
3813
3778
|
continue;
|
|
3814
3779
|
}
|
|
3815
|
-
if (
|
|
3816
|
-
var
|
|
3780
|
+
if (Ir(h)) {
|
|
3781
|
+
var p = typeof h.style == "string" ? n.time[h.style] : it(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3817
3782
|
s.push({
|
|
3818
3783
|
type: O.literal,
|
|
3819
|
-
value: r.getDateTimeFormat(t,
|
|
3784
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3820
3785
|
});
|
|
3821
3786
|
continue;
|
|
3822
3787
|
}
|
|
3823
|
-
if (
|
|
3824
|
-
var
|
|
3825
|
-
|
|
3788
|
+
if (Nr(h)) {
|
|
3789
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Hr(h.style) ? h.style.parsedOptions : void 0;
|
|
3790
|
+
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
3826
3791
|
type: O.literal,
|
|
3827
|
-
value: r.getNumberFormat(t,
|
|
3792
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3828
3793
|
});
|
|
3829
3794
|
continue;
|
|
3830
3795
|
}
|
|
3831
|
-
if (
|
|
3832
|
-
var g = h.children,
|
|
3833
|
-
if (!
|
|
3834
|
-
throw new
|
|
3835
|
-
var
|
|
3836
|
-
return
|
|
3796
|
+
if (Tr(h)) {
|
|
3797
|
+
var g = h.children, b = h.value, A = i[b];
|
|
3798
|
+
if (!Yi(A))
|
|
3799
|
+
throw new zi(b, "function", a);
|
|
3800
|
+
var S = Be(g, t, r, n, i, o), v = A(S.map(function(H) {
|
|
3801
|
+
return H.value;
|
|
3837
3802
|
}));
|
|
3838
|
-
Array.isArray(
|
|
3803
|
+
Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(H) {
|
|
3839
3804
|
return {
|
|
3840
|
-
type: typeof
|
|
3841
|
-
value:
|
|
3805
|
+
type: typeof H == "string" ? O.literal : O.object,
|
|
3806
|
+
value: H
|
|
3842
3807
|
};
|
|
3843
3808
|
}));
|
|
3844
3809
|
}
|
|
3845
|
-
if (
|
|
3846
|
-
var
|
|
3847
|
-
if (!
|
|
3848
|
-
throw new
|
|
3849
|
-
s.push.apply(s, Be(
|
|
3810
|
+
if (Br(h)) {
|
|
3811
|
+
var N = h.options[f] || h.options.other;
|
|
3812
|
+
if (!N)
|
|
3813
|
+
throw new jt(h.value, f, Object.keys(h.options), a);
|
|
3814
|
+
s.push.apply(s, Be(N.value, t, r, n, i));
|
|
3850
3815
|
continue;
|
|
3851
3816
|
}
|
|
3852
|
-
if (
|
|
3853
|
-
var
|
|
3854
|
-
if (!
|
|
3817
|
+
if (Ar(h)) {
|
|
3818
|
+
var N = h.options["=".concat(f)];
|
|
3819
|
+
if (!N) {
|
|
3855
3820
|
if (!Intl.PluralRules)
|
|
3856
|
-
throw new
|
|
3821
|
+
throw new Ce(`Intl.PluralRules is not available in this environment.
|
|
3857
3822
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3858
|
-
`,
|
|
3859
|
-
var
|
|
3860
|
-
|
|
3823
|
+
`, oe.MISSING_INTL_API, a);
|
|
3824
|
+
var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3825
|
+
N = h.options[E] || h.options.other;
|
|
3861
3826
|
}
|
|
3862
|
-
if (!
|
|
3863
|
-
throw new
|
|
3864
|
-
s.push.apply(s, Be(
|
|
3827
|
+
if (!N)
|
|
3828
|
+
throw new jt(h.value, f, Object.keys(h.options), a);
|
|
3829
|
+
s.push.apply(s, Be(N.value, t, r, n, i, f - (h.offset || 0)));
|
|
3865
3830
|
continue;
|
|
3866
3831
|
}
|
|
3867
3832
|
}
|
|
3868
|
-
return
|
|
3833
|
+
return Qi(s);
|
|
3869
3834
|
}
|
|
3870
|
-
function
|
|
3871
|
-
return t ?
|
|
3872
|
-
return r[n] =
|
|
3835
|
+
function Ji(e, t) {
|
|
3836
|
+
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3837
|
+
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3873
3838
|
}, {})) : e;
|
|
3874
3839
|
}
|
|
3875
|
-
function
|
|
3840
|
+
function qi(e, t) {
|
|
3876
3841
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3877
|
-
return r[n] =
|
|
3878
|
-
},
|
|
3842
|
+
return r[n] = Ji(e[n], t[n]), r;
|
|
3843
|
+
}, w({}, e)) : e;
|
|
3879
3844
|
}
|
|
3880
|
-
function
|
|
3845
|
+
function Ze(e) {
|
|
3881
3846
|
return {
|
|
3882
3847
|
create: function() {
|
|
3883
3848
|
return {
|
|
@@ -3891,39 +3856,39 @@ function Je(e) {
|
|
|
3891
3856
|
}
|
|
3892
3857
|
};
|
|
3893
3858
|
}
|
|
3894
|
-
function
|
|
3859
|
+
function Ki(e) {
|
|
3895
3860
|
return e === void 0 && (e = {
|
|
3896
3861
|
number: {},
|
|
3897
3862
|
dateTime: {},
|
|
3898
3863
|
pluralRules: {}
|
|
3899
3864
|
}), {
|
|
3900
|
-
getNumberFormat:
|
|
3865
|
+
getNumberFormat: Ve(function() {
|
|
3901
3866
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3902
3867
|
r[n] = arguments[n];
|
|
3903
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3868
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3904
3869
|
}, {
|
|
3905
|
-
cache:
|
|
3906
|
-
strategy:
|
|
3870
|
+
cache: Ze(e.number),
|
|
3871
|
+
strategy: Xe.variadic
|
|
3907
3872
|
}),
|
|
3908
|
-
getDateTimeFormat:
|
|
3873
|
+
getDateTimeFormat: Ve(function() {
|
|
3909
3874
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3910
3875
|
r[n] = arguments[n];
|
|
3911
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3876
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
|
|
3912
3877
|
}, {
|
|
3913
|
-
cache:
|
|
3914
|
-
strategy:
|
|
3878
|
+
cache: Ze(e.dateTime),
|
|
3879
|
+
strategy: Xe.variadic
|
|
3915
3880
|
}),
|
|
3916
|
-
getPluralRules:
|
|
3881
|
+
getPluralRules: Ve(function() {
|
|
3917
3882
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3918
3883
|
r[n] = arguments[n];
|
|
3919
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3884
|
+
return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
|
|
3920
3885
|
}, {
|
|
3921
|
-
cache:
|
|
3922
|
-
strategy:
|
|
3886
|
+
cache: Ze(e.pluralRules),
|
|
3887
|
+
strategy: Xe.variadic
|
|
3923
3888
|
})
|
|
3924
3889
|
};
|
|
3925
3890
|
}
|
|
3926
|
-
var
|
|
3891
|
+
var eo = (
|
|
3927
3892
|
/** @class */
|
|
3928
3893
|
function() {
|
|
3929
3894
|
function e(t, r, n, i) {
|
|
@@ -3955,13 +3920,13 @@ var io = (
|
|
|
3955
3920
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3956
3921
|
var a = i || {};
|
|
3957
3922
|
a.formatters;
|
|
3958
|
-
var s =
|
|
3959
|
-
this.ast = e.__parse(t,
|
|
3923
|
+
var s = Mn(a, ["formatters"]);
|
|
3924
|
+
this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
|
|
3960
3925
|
} else
|
|
3961
3926
|
this.ast = t;
|
|
3962
3927
|
if (!Array.isArray(this.ast))
|
|
3963
3928
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3964
|
-
this.formats =
|
|
3929
|
+
this.formats = qi(e.formats, n), this.formatters = i && i.formatters || Ki(this.formatterCache);
|
|
3965
3930
|
}
|
|
3966
3931
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3967
3932
|
get: function() {
|
|
@@ -3974,7 +3939,7 @@ var io = (
|
|
|
3974
3939
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3975
3940
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3976
3941
|
}
|
|
3977
|
-
}, e.__parse =
|
|
3942
|
+
}, e.__parse = Xi, e.formats = {
|
|
3978
3943
|
number: {
|
|
3979
3944
|
integer: {
|
|
3980
3945
|
maximumFractionDigits: 0
|
|
@@ -4035,7 +4000,7 @@ var io = (
|
|
|
4035
4000
|
}, e;
|
|
4036
4001
|
}()
|
|
4037
4002
|
);
|
|
4038
|
-
function
|
|
4003
|
+
function to(e, t) {
|
|
4039
4004
|
if (t == null)
|
|
4040
4005
|
return;
|
|
4041
4006
|
if (t in e)
|
|
@@ -4056,92 +4021,92 @@ function oo(e, t) {
|
|
|
4056
4021
|
n = void 0;
|
|
4057
4022
|
return n;
|
|
4058
4023
|
}
|
|
4059
|
-
const X = {},
|
|
4024
|
+
const X = {}, ro = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), Ur = (e, t) => {
|
|
4060
4025
|
if (t == null)
|
|
4061
4026
|
return;
|
|
4062
4027
|
if (t in X && e in X[t])
|
|
4063
4028
|
return X[t][e];
|
|
4064
|
-
const r =
|
|
4029
|
+
const r = Fe(t);
|
|
4065
4030
|
for (let n = 0; n < r.length; n++) {
|
|
4066
|
-
const i = r[n], o =
|
|
4031
|
+
const i = r[n], o = io(i, e);
|
|
4067
4032
|
if (o)
|
|
4068
|
-
return
|
|
4033
|
+
return ro(e, t, o);
|
|
4069
4034
|
}
|
|
4070
4035
|
};
|
|
4071
|
-
let
|
|
4072
|
-
const ye =
|
|
4073
|
-
function
|
|
4074
|
-
return
|
|
4036
|
+
let pt;
|
|
4037
|
+
const ye = Le({});
|
|
4038
|
+
function no(e) {
|
|
4039
|
+
return pt[e] || null;
|
|
4075
4040
|
}
|
|
4076
|
-
function
|
|
4077
|
-
return e in
|
|
4041
|
+
function Dr(e) {
|
|
4042
|
+
return e in pt;
|
|
4078
4043
|
}
|
|
4079
|
-
function
|
|
4080
|
-
if (!
|
|
4044
|
+
function io(e, t) {
|
|
4045
|
+
if (!Dr(e))
|
|
4081
4046
|
return null;
|
|
4082
|
-
const r =
|
|
4083
|
-
return
|
|
4047
|
+
const r = no(e);
|
|
4048
|
+
return to(r, t);
|
|
4084
4049
|
}
|
|
4085
|
-
function
|
|
4050
|
+
function oo(e) {
|
|
4086
4051
|
if (e == null)
|
|
4087
4052
|
return;
|
|
4088
|
-
const t =
|
|
4053
|
+
const t = Fe(e);
|
|
4089
4054
|
for (let r = 0; r < t.length; r++) {
|
|
4090
4055
|
const n = t[r];
|
|
4091
|
-
if (
|
|
4056
|
+
if (Dr(n))
|
|
4092
4057
|
return n;
|
|
4093
4058
|
}
|
|
4094
4059
|
}
|
|
4095
|
-
function
|
|
4096
|
-
delete X[e], ye.update((r) => (r[e] =
|
|
4060
|
+
function Gr(e, ...t) {
|
|
4061
|
+
delete X[e], ye.update((r) => (r[e] = ui.all([r[e] || {}, ...t]), r));
|
|
4097
4062
|
}
|
|
4098
|
-
|
|
4063
|
+
le(
|
|
4099
4064
|
[ye],
|
|
4100
4065
|
([e]) => Object.keys(e)
|
|
4101
4066
|
);
|
|
4102
|
-
ye.subscribe((e) =>
|
|
4067
|
+
ye.subscribe((e) => pt = e);
|
|
4103
4068
|
const Ae = {};
|
|
4104
|
-
function
|
|
4069
|
+
function ao(e, t) {
|
|
4105
4070
|
Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
|
|
4106
4071
|
}
|
|
4107
|
-
function
|
|
4072
|
+
function $r(e) {
|
|
4108
4073
|
return Ae[e];
|
|
4109
4074
|
}
|
|
4110
|
-
function
|
|
4111
|
-
return
|
|
4112
|
-
const r =
|
|
4075
|
+
function so(e) {
|
|
4076
|
+
return Fe(e).map((t) => {
|
|
4077
|
+
const r = $r(t);
|
|
4113
4078
|
return [t, r ? [...r] : []];
|
|
4114
4079
|
}).filter(([, t]) => t.length > 0);
|
|
4115
4080
|
}
|
|
4116
|
-
function
|
|
4117
|
-
return e == null ? !1 :
|
|
4081
|
+
function ht(e) {
|
|
4082
|
+
return e == null ? !1 : Fe(e).some(
|
|
4118
4083
|
(t) => {
|
|
4119
4084
|
var r;
|
|
4120
|
-
return (r =
|
|
4085
|
+
return (r = $r(t)) == null ? void 0 : r.size;
|
|
4121
4086
|
}
|
|
4122
4087
|
);
|
|
4123
4088
|
}
|
|
4124
|
-
function
|
|
4089
|
+
function lo(e, t) {
|
|
4125
4090
|
return Promise.all(
|
|
4126
|
-
t.map((n) => (
|
|
4127
|
-
).then((n) =>
|
|
4128
|
-
}
|
|
4129
|
-
const
|
|
4130
|
-
function
|
|
4131
|
-
if (!
|
|
4132
|
-
return e in
|
|
4133
|
-
const t =
|
|
4134
|
-
return
|
|
4091
|
+
t.map((n) => (ao(e, n), n().then((i) => i.default || i)))
|
|
4092
|
+
).then((n) => Gr(e, ...n));
|
|
4093
|
+
}
|
|
4094
|
+
const fe = {};
|
|
4095
|
+
function kr(e) {
|
|
4096
|
+
if (!ht(e))
|
|
4097
|
+
return e in fe ? fe[e] : Promise.resolve();
|
|
4098
|
+
const t = so(e);
|
|
4099
|
+
return fe[e] = Promise.all(
|
|
4135
4100
|
t.map(
|
|
4136
|
-
([r, n]) =>
|
|
4101
|
+
([r, n]) => lo(r, n)
|
|
4137
4102
|
)
|
|
4138
4103
|
).then(() => {
|
|
4139
|
-
if (
|
|
4140
|
-
return
|
|
4141
|
-
delete
|
|
4142
|
-
}),
|
|
4104
|
+
if (ht(e))
|
|
4105
|
+
return kr(e);
|
|
4106
|
+
delete fe[e];
|
|
4107
|
+
}), fe[e];
|
|
4143
4108
|
}
|
|
4144
|
-
const
|
|
4109
|
+
const uo = {
|
|
4145
4110
|
number: {
|
|
4146
4111
|
scientific: { notation: "scientific" },
|
|
4147
4112
|
engineering: { notation: "engineering" },
|
|
@@ -4170,135 +4135,135 @@ const po = {
|
|
|
4170
4135
|
timeZoneName: "short"
|
|
4171
4136
|
}
|
|
4172
4137
|
}
|
|
4173
|
-
},
|
|
4138
|
+
}, ho = {
|
|
4174
4139
|
fallbackLocale: null,
|
|
4175
4140
|
loadingDelay: 200,
|
|
4176
|
-
formats:
|
|
4141
|
+
formats: uo,
|
|
4177
4142
|
warnOnMissingMessages: !0,
|
|
4178
4143
|
handleMissingMessage: void 0,
|
|
4179
4144
|
ignoreTag: !0
|
|
4180
|
-
},
|
|
4181
|
-
function
|
|
4182
|
-
return
|
|
4183
|
-
}
|
|
4184
|
-
const
|
|
4185
|
-
var
|
|
4186
|
-
for (var r in t
|
|
4187
|
-
|
|
4188
|
-
if (
|
|
4189
|
-
for (var r of
|
|
4190
|
-
|
|
4145
|
+
}, co = ho;
|
|
4146
|
+
function ae() {
|
|
4147
|
+
return co;
|
|
4148
|
+
}
|
|
4149
|
+
const Qe = Le(!1);
|
|
4150
|
+
var fo = Object.defineProperty, mo = Object.defineProperties, po = Object.getOwnPropertyDescriptors, Wt = Object.getOwnPropertySymbols, go = Object.prototype.hasOwnProperty, bo = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? fo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vo = (e, t) => {
|
|
4151
|
+
for (var r in t)
|
|
4152
|
+
go.call(t, r) && Vt(e, r, t[r]);
|
|
4153
|
+
if (Wt)
|
|
4154
|
+
for (var r of Wt(t))
|
|
4155
|
+
bo.call(t, r) && Vt(e, r, t[r]);
|
|
4191
4156
|
return e;
|
|
4192
|
-
},
|
|
4193
|
-
let
|
|
4194
|
-
const He =
|
|
4195
|
-
function
|
|
4157
|
+
}, yo = (e, t) => mo(e, po(t));
|
|
4158
|
+
let ct;
|
|
4159
|
+
const He = Le(null);
|
|
4160
|
+
function Xt(e) {
|
|
4196
4161
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4197
4162
|
}
|
|
4198
|
-
function
|
|
4199
|
-
const r =
|
|
4200
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4163
|
+
function Fe(e, t = ae().fallbackLocale) {
|
|
4164
|
+
const r = Xt(e);
|
|
4165
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Xt(t)])] : r;
|
|
4201
4166
|
}
|
|
4202
4167
|
function Q() {
|
|
4203
|
-
return
|
|
4168
|
+
return ct != null ? ct : void 0;
|
|
4204
4169
|
}
|
|
4205
4170
|
He.subscribe((e) => {
|
|
4206
|
-
|
|
4171
|
+
ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4207
4172
|
});
|
|
4208
|
-
const
|
|
4209
|
-
if (e &&
|
|
4210
|
-
const { loadingDelay: t } =
|
|
4173
|
+
const _o = (e) => {
|
|
4174
|
+
if (e && oo(e) && ht(e)) {
|
|
4175
|
+
const { loadingDelay: t } = ae();
|
|
4211
4176
|
let r;
|
|
4212
4177
|
return typeof window != "undefined" && Q() != null && t ? r = window.setTimeout(
|
|
4213
|
-
() =>
|
|
4178
|
+
() => Qe.set(!0),
|
|
4214
4179
|
t
|
|
4215
|
-
) :
|
|
4180
|
+
) : Qe.set(!0), kr(e).then(() => {
|
|
4216
4181
|
He.set(e);
|
|
4217
4182
|
}).finally(() => {
|
|
4218
|
-
clearTimeout(r),
|
|
4183
|
+
clearTimeout(r), Qe.set(!1);
|
|
4219
4184
|
});
|
|
4220
4185
|
}
|
|
4221
4186
|
return He.set(e);
|
|
4222
|
-
},
|
|
4223
|
-
set:
|
|
4224
|
-
}),
|
|
4187
|
+
}, ue = yo(vo({}, He), {
|
|
4188
|
+
set: _o
|
|
4189
|
+
}), Re = (e) => {
|
|
4225
4190
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4226
4191
|
return (n) => {
|
|
4227
4192
|
const i = JSON.stringify(n);
|
|
4228
4193
|
return i in t ? t[i] : t[i] = e(n);
|
|
4229
4194
|
};
|
|
4230
4195
|
};
|
|
4231
|
-
var
|
|
4196
|
+
var xo = Object.defineProperty, Pe = Object.getOwnPropertySymbols, jr = Object.prototype.hasOwnProperty, Wr = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
|
|
4232
4197
|
for (var r in t || (t = {}))
|
|
4233
|
-
|
|
4234
|
-
if (
|
|
4235
|
-
for (var r of
|
|
4236
|
-
|
|
4198
|
+
jr.call(t, r) && zt(e, r, t[r]);
|
|
4199
|
+
if (Pe)
|
|
4200
|
+
for (var r of Pe(t))
|
|
4201
|
+
Wr.call(t, r) && zt(e, r, t[r]);
|
|
4237
4202
|
return e;
|
|
4238
|
-
},
|
|
4203
|
+
}, he = (e, t) => {
|
|
4239
4204
|
var r = {};
|
|
4240
4205
|
for (var n in e)
|
|
4241
|
-
|
|
4242
|
-
if (e != null &&
|
|
4243
|
-
for (var n of
|
|
4244
|
-
t.indexOf(n) < 0 &&
|
|
4206
|
+
jr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4207
|
+
if (e != null && Pe)
|
|
4208
|
+
for (var n of Pe(e))
|
|
4209
|
+
t.indexOf(n) < 0 && Wr.call(e, n) && (r[n] = e[n]);
|
|
4245
4210
|
return r;
|
|
4246
4211
|
};
|
|
4247
|
-
const
|
|
4248
|
-
const { formats: r } =
|
|
4212
|
+
const be = (e, t) => {
|
|
4213
|
+
const { formats: r } = ae();
|
|
4249
4214
|
if (e in r && t in r[e])
|
|
4250
4215
|
return r[e][t];
|
|
4251
4216
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4252
|
-
},
|
|
4217
|
+
}, wo = Re(
|
|
4253
4218
|
(e) => {
|
|
4254
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4219
|
+
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4255
4220
|
if (r == null)
|
|
4256
4221
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4257
|
-
return n && (i =
|
|
4222
|
+
return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
|
|
4258
4223
|
}
|
|
4259
|
-
),
|
|
4224
|
+
), Eo = Re(
|
|
4260
4225
|
(e) => {
|
|
4261
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4226
|
+
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4262
4227
|
if (r == null)
|
|
4263
4228
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4264
|
-
return n ? i =
|
|
4229
|
+
return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4265
4230
|
}
|
|
4266
|
-
),
|
|
4231
|
+
), No = Re(
|
|
4267
4232
|
(e) => {
|
|
4268
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4233
|
+
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4269
4234
|
if (r == null)
|
|
4270
4235
|
throw new Error(
|
|
4271
4236
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4272
4237
|
);
|
|
4273
|
-
return n ? i =
|
|
4238
|
+
return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4274
4239
|
}
|
|
4275
|
-
),
|
|
4240
|
+
), So = (e = {}) => {
|
|
4276
4241
|
var t = e, {
|
|
4277
4242
|
locale: r = Q()
|
|
4278
|
-
} = t, n =
|
|
4243
|
+
} = t, n = he(t, [
|
|
4279
4244
|
"locale"
|
|
4280
4245
|
]);
|
|
4281
|
-
return
|
|
4282
|
-
},
|
|
4246
|
+
return wo(gt({ locale: r }, n));
|
|
4247
|
+
}, Io = (e = {}) => {
|
|
4283
4248
|
var t = e, {
|
|
4284
4249
|
locale: r = Q()
|
|
4285
|
-
} = t, n =
|
|
4250
|
+
} = t, n = he(t, [
|
|
4286
4251
|
"locale"
|
|
4287
4252
|
]);
|
|
4288
|
-
return
|
|
4289
|
-
},
|
|
4253
|
+
return Eo(gt({ locale: r }, n));
|
|
4254
|
+
}, Bo = (e = {}) => {
|
|
4290
4255
|
var t = e, {
|
|
4291
4256
|
locale: r = Q()
|
|
4292
|
-
} = t, n =
|
|
4257
|
+
} = t, n = he(t, [
|
|
4293
4258
|
"locale"
|
|
4294
4259
|
]);
|
|
4295
|
-
return
|
|
4296
|
-
},
|
|
4260
|
+
return No(gt({ locale: r }, n));
|
|
4261
|
+
}, Ao = Re(
|
|
4297
4262
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4298
|
-
(e, t = Q()) => new
|
|
4299
|
-
ignoreTag:
|
|
4263
|
+
(e, t = Q()) => new eo(e, t, ae().formats, {
|
|
4264
|
+
ignoreTag: ae().ignoreTag
|
|
4300
4265
|
})
|
|
4301
|
-
),
|
|
4266
|
+
), To = (e, t = {}) => {
|
|
4302
4267
|
var r, n, i, o;
|
|
4303
4268
|
let a = t;
|
|
4304
4269
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4311,9 +4276,9 @@ const ge = (e, t) => {
|
|
|
4311
4276
|
throw new Error(
|
|
4312
4277
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4313
4278
|
);
|
|
4314
|
-
let h =
|
|
4279
|
+
let h = Ur(e, l);
|
|
4315
4280
|
if (!h)
|
|
4316
|
-
h = (o = (i = (n = (r =
|
|
4281
|
+
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;
|
|
4317
4282
|
else if (typeof h != "string")
|
|
4318
4283
|
return console.warn(
|
|
4319
4284
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4322,7 +4287,7 @@ const ge = (e, t) => {
|
|
|
4322
4287
|
return h;
|
|
4323
4288
|
let d = h;
|
|
4324
4289
|
try {
|
|
4325
|
-
d =
|
|
4290
|
+
d = Ao(h, l).format(s);
|
|
4326
4291
|
} catch (f) {
|
|
4327
4292
|
f instanceof Error && console.warn(
|
|
4328
4293
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4330,20 +4295,20 @@ const ge = (e, t) => {
|
|
|
4330
4295
|
);
|
|
4331
4296
|
}
|
|
4332
4297
|
return d;
|
|
4333
|
-
},
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
window.emWidgets = { topic:
|
|
4339
|
-
const
|
|
4340
|
-
function
|
|
4341
|
-
|
|
4342
|
-
}
|
|
4343
|
-
function
|
|
4344
|
-
|
|
4345
|
-
}
|
|
4346
|
-
const
|
|
4298
|
+
}, Ho = (e, t) => Bo(t).format(e), Po = (e, t) => Io(t).format(e), Mo = (e, t) => So(t).format(e), Oo = (e, t = Q()) => Ur(e, t), Lo = le([ue, ye], () => To);
|
|
4299
|
+
le([ue], () => Ho);
|
|
4300
|
+
le([ue], () => Po);
|
|
4301
|
+
le([ue], () => Mo);
|
|
4302
|
+
le([ue, ye], () => Oo);
|
|
4303
|
+
window.emWidgets = { topic: Xn };
|
|
4304
|
+
const Zt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4305
|
+
function Qt(e, t) {
|
|
4306
|
+
Gr(e, t);
|
|
4307
|
+
}
|
|
4308
|
+
function Co(e) {
|
|
4309
|
+
ue.set(e);
|
|
4310
|
+
}
|
|
4311
|
+
const Yt = {
|
|
4347
4312
|
en: {
|
|
4348
4313
|
secondaryMenuTitle: "Categories"
|
|
4349
4314
|
},
|
|
@@ -4378,13 +4343,13 @@ const er = {
|
|
|
4378
4343
|
secondaryMenuTitle: "Categories"
|
|
4379
4344
|
}
|
|
4380
4345
|
};
|
|
4381
|
-
function
|
|
4346
|
+
function Fo(e, t) {
|
|
4382
4347
|
if (e) {
|
|
4383
4348
|
const r = document.createElement("style");
|
|
4384
4349
|
r.innerHTML = t, e.appendChild(r);
|
|
4385
4350
|
}
|
|
4386
4351
|
}
|
|
4387
|
-
function
|
|
4352
|
+
function Ro(e, t) {
|
|
4388
4353
|
const r = new URL(t);
|
|
4389
4354
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4390
4355
|
const i = document.createElement("style");
|
|
@@ -4393,7 +4358,7 @@ function $o(e, t) {
|
|
|
4393
4358
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4394
4359
|
});
|
|
4395
4360
|
}
|
|
4396
|
-
function
|
|
4361
|
+
function Uo(e, t, r) {
|
|
4397
4362
|
if (window.emMessageBus) {
|
|
4398
4363
|
const n = document.createElement("style");
|
|
4399
4364
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4401,51 +4366,51 @@ function ko(e, t, r) {
|
|
|
4401
4366
|
});
|
|
4402
4367
|
}
|
|
4403
4368
|
}
|
|
4404
|
-
function
|
|
4405
|
-
|
|
4369
|
+
function Do(e) {
|
|
4370
|
+
dn(e, "svelte-5kntrg", '.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, #22B04E);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, #22B04E))}.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, #22B04E));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}');
|
|
4406
4371
|
}
|
|
4407
|
-
function
|
|
4372
|
+
function Jt(e, t, r) {
|
|
4408
4373
|
const n = e.slice();
|
|
4409
4374
|
return n[44] = t[r], n[46] = r, n;
|
|
4410
4375
|
}
|
|
4411
|
-
function
|
|
4376
|
+
function qt(e, t, r) {
|
|
4412
4377
|
const n = e.slice();
|
|
4413
4378
|
return n[44] = t[r], n;
|
|
4414
4379
|
}
|
|
4415
|
-
const
|
|
4416
|
-
function
|
|
4380
|
+
const Go = (e) => ({}), Kt = (e) => ({});
|
|
4381
|
+
function er(e) {
|
|
4417
4382
|
let t, r, n, i, o, a, s, l = !/*navigationBarSimple*/
|
|
4418
|
-
e[6] &&
|
|
4383
|
+
e[6] && tr(e), u = Te(
|
|
4419
4384
|
/*primaryMenuSpliced*/
|
|
4420
4385
|
e[7]
|
|
4421
4386
|
), h = [];
|
|
4422
4387
|
for (let f = 0; f < u.length; f += 1)
|
|
4423
|
-
h[f] =
|
|
4388
|
+
h[f] = or(Jt(e, u, f));
|
|
4424
4389
|
let d = !/*navigationBarSimple*/
|
|
4425
|
-
e[6] &&
|
|
4390
|
+
e[6] && ar(e);
|
|
4426
4391
|
return {
|
|
4427
4392
|
c() {
|
|
4428
|
-
t =
|
|
4393
|
+
t = B("div"), l && l.c(), r = k(), n = B("div");
|
|
4429
4394
|
for (let f = 0; f < h.length; f += 1)
|
|
4430
4395
|
h[f].c();
|
|
4431
|
-
i =
|
|
4396
|
+
i = k(), d && d.c(), c(n, "class", o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4432
4397
|
(e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4433
4398
|
(e[6] ? "NavigationBarSimple" : "")), c(n, "part", a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4434
4399
|
(e[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4435
4400
|
(e[6] ? "NavigationBarSimple" : "")), c(t, "class", "NavigationPanel");
|
|
4436
4401
|
},
|
|
4437
|
-
m(f,
|
|
4438
|
-
C(f, t,
|
|
4402
|
+
m(f, p) {
|
|
4403
|
+
C(f, t, p), l && l.m(t, null), y(t, r), y(t, n);
|
|
4439
4404
|
for (let g = 0; g < h.length; g += 1)
|
|
4440
4405
|
h[g] && h[g].m(n, null);
|
|
4441
4406
|
y(n, i), d && d.m(n, null), s = !0;
|
|
4442
4407
|
},
|
|
4443
|
-
p(f,
|
|
4408
|
+
p(f, p) {
|
|
4444
4409
|
if (/*navigationBarSimple*/
|
|
4445
|
-
f[6] ? l && (
|
|
4410
|
+
f[6] ? l && (fr(), pe(l, 1, 1, () => {
|
|
4446
4411
|
l = null;
|
|
4447
|
-
}),
|
|
4448
|
-
64 && z(l, 1)) : (l =
|
|
4412
|
+
}), dr()) : l ? (l.p(f, p), p[0] & /*navigationBarSimple*/
|
|
4413
|
+
64 && z(l, 1)) : (l = tr(f), l.c(), z(l, 1), l.m(t, r)), p[0] & /*activeMenuItemId, primaryMenuSpliced, triggerNavigation*/
|
|
4449
4414
|
32928) {
|
|
4450
4415
|
u = Te(
|
|
4451
4416
|
/*primaryMenuSpliced*/
|
|
@@ -4453,18 +4418,18 @@ function ir(e) {
|
|
|
4453
4418
|
);
|
|
4454
4419
|
let g;
|
|
4455
4420
|
for (g = 0; g < u.length; g += 1) {
|
|
4456
|
-
const
|
|
4457
|
-
h[g] ? h[g].p(
|
|
4421
|
+
const b = Jt(f, u, g);
|
|
4422
|
+
h[g] ? h[g].p(b, p) : (h[g] = or(b), h[g].c(), h[g].m(n, i));
|
|
4458
4423
|
}
|
|
4459
4424
|
for (; g < h.length; g += 1)
|
|
4460
4425
|
h[g].d(1);
|
|
4461
4426
|
h.length = u.length;
|
|
4462
4427
|
}
|
|
4463
4428
|
/*navigationBarSimple*/
|
|
4464
|
-
f[6] ? d && (d.d(1), d = null) : d ? d.p(f,
|
|
4429
|
+
f[6] ? d && (d.d(1), d = null) : d ? d.p(f, p) : (d = ar(f), d.c(), d.m(n, null)), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4465
4430
|
80 && o !== (o = "NavigationBar " + /*navigationWindowOpened*/
|
|
4466
4431
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4467
|
-
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s ||
|
|
4432
|
+
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "class", o), (!s || p[0] & /*navigationWindowOpened, navigationBarSimple*/
|
|
4468
4433
|
80 && a !== (a = "NavigationBar " + /*navigationWindowOpened*/
|
|
4469
4434
|
(f[4] ? "NavigationBarOpened" : "") + " " + /*navigationBarSimple*/
|
|
4470
4435
|
(f[6] ? "NavigationBarSimple" : ""))) && c(n, "part", a);
|
|
@@ -4476,104 +4441,104 @@ function ir(e) {
|
|
|
4476
4441
|
pe(l), s = !1;
|
|
4477
4442
|
},
|
|
4478
4443
|
d(f) {
|
|
4479
|
-
f && L(t), l && l.d(),
|
|
4444
|
+
f && L(t), l && l.d(), cr(h, f), d && d.d();
|
|
4480
4445
|
}
|
|
4481
4446
|
};
|
|
4482
4447
|
}
|
|
4483
|
-
function
|
|
4448
|
+
function tr(e) {
|
|
4484
4449
|
let t, r, n, i, o = (
|
|
4485
4450
|
/*secondarymenutitle*/
|
|
4486
4451
|
(e[0] || /*$_*/
|
|
4487
4452
|
e[12]("secondaryMenuTitle")) + ""
|
|
4488
4453
|
), a, s, l, u, h, d, f;
|
|
4489
|
-
const
|
|
4454
|
+
const p = (
|
|
4490
4455
|
/*#slots*/
|
|
4491
4456
|
e[27].close
|
|
4492
|
-
), g =
|
|
4493
|
-
|
|
4457
|
+
), g = un(
|
|
4458
|
+
p,
|
|
4494
4459
|
e,
|
|
4495
4460
|
/*$$scope*/
|
|
4496
4461
|
e[26],
|
|
4497
|
-
|
|
4498
|
-
),
|
|
4499
|
-
let
|
|
4462
|
+
Kt
|
|
4463
|
+
), b = g || $o();
|
|
4464
|
+
let A = Te(
|
|
4500
4465
|
/*secondaryMenu*/
|
|
4501
4466
|
e[8]
|
|
4502
|
-
),
|
|
4503
|
-
for (let
|
|
4504
|
-
|
|
4467
|
+
), S = [];
|
|
4468
|
+
for (let v = 0; v < A.length; v += 1)
|
|
4469
|
+
S[v] = nr(qt(e, A, v));
|
|
4505
4470
|
return {
|
|
4506
4471
|
c() {
|
|
4507
|
-
t =
|
|
4508
|
-
for (let
|
|
4509
|
-
|
|
4472
|
+
t = B("div"), r = B("span"), b.c(), n = k(), i = B("h3"), a = ve(o), s = k(), l = B("div");
|
|
4473
|
+
for (let v = 0; v < S.length; v += 1)
|
|
4474
|
+
S[v].c();
|
|
4510
4475
|
c(r, "class", "ModalCloseBtn"), c(r, "part", "ModalCloseBtn"), c(r, "role", "button"), c(i, "class", "NavigationWindowTitle"), c(l, "class", "NavigationSecondaryWrapper"), c(t, "class", u = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4511
4476
|
(e[4] ? "NavigationWindowOpened" : ""));
|
|
4512
4477
|
},
|
|
4513
|
-
m(
|
|
4514
|
-
C(
|
|
4515
|
-
for (let
|
|
4516
|
-
|
|
4517
|
-
h = !0, d || (f =
|
|
4478
|
+
m(v, N) {
|
|
4479
|
+
C(v, t, N), y(t, r), b.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
|
|
4480
|
+
for (let E = 0; E < S.length; E += 1)
|
|
4481
|
+
S[E] && S[E].m(l, null);
|
|
4482
|
+
h = !0, d || (f = Me(
|
|
4518
4483
|
r,
|
|
4519
4484
|
"click",
|
|
4520
4485
|
/*navigationWindowToggle*/
|
|
4521
4486
|
e[14]
|
|
4522
4487
|
), d = !0);
|
|
4523
4488
|
},
|
|
4524
|
-
p(
|
|
4525
|
-
if (g && g.p && (!h ||
|
|
4526
|
-
67108864) &&
|
|
4489
|
+
p(v, N) {
|
|
4490
|
+
if (g && g.p && (!h || N[0] & /*$$scope*/
|
|
4491
|
+
67108864) && cn(
|
|
4527
4492
|
g,
|
|
4528
|
-
|
|
4529
|
-
|
|
4493
|
+
p,
|
|
4494
|
+
v,
|
|
4530
4495
|
/*$$scope*/
|
|
4531
|
-
|
|
4532
|
-
h ?
|
|
4533
|
-
|
|
4496
|
+
v[26],
|
|
4497
|
+
h ? hn(
|
|
4498
|
+
p,
|
|
4534
4499
|
/*$$scope*/
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
) :
|
|
4500
|
+
v[26],
|
|
4501
|
+
N,
|
|
4502
|
+
Go
|
|
4503
|
+
) : fn(
|
|
4539
4504
|
/*$$scope*/
|
|
4540
|
-
|
|
4505
|
+
v[26]
|
|
4541
4506
|
),
|
|
4542
|
-
|
|
4543
|
-
), (!h ||
|
|
4507
|
+
Kt
|
|
4508
|
+
), (!h || N[0] & /*secondarymenutitle, $_*/
|
|
4544
4509
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4545
|
-
(
|
|
4546
|
-
|
|
4510
|
+
(v[0] || /*$_*/
|
|
4511
|
+
v[12]("secondaryMenuTitle")) + "") && dt(a, o), N[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4547
4512
|
33056) {
|
|
4548
|
-
|
|
4513
|
+
A = Te(
|
|
4549
4514
|
/*secondaryMenu*/
|
|
4550
|
-
|
|
4515
|
+
v[8]
|
|
4551
4516
|
);
|
|
4552
|
-
let
|
|
4553
|
-
for (
|
|
4554
|
-
const
|
|
4555
|
-
|
|
4517
|
+
let E;
|
|
4518
|
+
for (E = 0; E < A.length; E += 1) {
|
|
4519
|
+
const H = qt(v, A, E);
|
|
4520
|
+
S[E] ? S[E].p(H, N) : (S[E] = nr(H), S[E].c(), S[E].m(l, null));
|
|
4556
4521
|
}
|
|
4557
|
-
for (;
|
|
4558
|
-
|
|
4559
|
-
|
|
4522
|
+
for (; E < S.length; E += 1)
|
|
4523
|
+
S[E].d(1);
|
|
4524
|
+
S.length = A.length;
|
|
4560
4525
|
}
|
|
4561
|
-
(!h ||
|
|
4526
|
+
(!h || N[0] & /*navigationWindowOpened*/
|
|
4562
4527
|
16 && u !== (u = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4563
|
-
(
|
|
4528
|
+
(v[4] ? "NavigationWindowOpened" : ""))) && c(t, "class", u);
|
|
4564
4529
|
},
|
|
4565
|
-
i(
|
|
4566
|
-
h || (z(
|
|
4530
|
+
i(v) {
|
|
4531
|
+
h || (z(b, v), h = !0);
|
|
4567
4532
|
},
|
|
4568
|
-
o(
|
|
4569
|
-
pe(
|
|
4533
|
+
o(v) {
|
|
4534
|
+
pe(b, v), h = !1;
|
|
4570
4535
|
},
|
|
4571
|
-
d(
|
|
4572
|
-
|
|
4536
|
+
d(v) {
|
|
4537
|
+
v && L(t), b.d(v), cr(S, v), d = !1, f();
|
|
4573
4538
|
}
|
|
4574
4539
|
};
|
|
4575
4540
|
}
|
|
4576
|
-
function
|
|
4541
|
+
function $o(e) {
|
|
4577
4542
|
let t, r;
|
|
4578
4543
|
return {
|
|
4579
4544
|
c() {
|
|
@@ -4588,11 +4553,11 @@ function Vo(e) {
|
|
|
4588
4553
|
}
|
|
4589
4554
|
};
|
|
4590
4555
|
}
|
|
4591
|
-
function
|
|
4556
|
+
function rr(e) {
|
|
4592
4557
|
let t, r, n, i;
|
|
4593
4558
|
return {
|
|
4594
4559
|
c() {
|
|
4595
|
-
t =
|
|
4560
|
+
t = B("div"), r = B("img"), c(r, "class", "NavigationSecondaryItemImg"), c(r, "part", "NavigationSecondaryItemImg"), re(r.src, n = /*item*/
|
|
4596
4561
|
e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
|
|
4597
4562
|
e[44].label), c(t, "class", "NavigationSecondaryItemImgWrapper"), c(t, "part", "NavigationSecondaryItemImgWrapper");
|
|
4598
4563
|
},
|
|
@@ -4601,7 +4566,7 @@ function ar(e) {
|
|
|
4601
4566
|
},
|
|
4602
4567
|
p(o, a) {
|
|
4603
4568
|
a[0] & /*secondaryMenu*/
|
|
4604
|
-
256 && !
|
|
4569
|
+
256 && !re(r.src, n = /*item*/
|
|
4605
4570
|
o[44].img) && c(r, "src", n), a[0] & /*secondaryMenu*/
|
|
4606
4571
|
256 && i !== (i = /*item*/
|
|
4607
4572
|
o[44].label) && c(r, "alt", i);
|
|
@@ -4611,13 +4576,13 @@ function ar(e) {
|
|
|
4611
4576
|
}
|
|
4612
4577
|
};
|
|
4613
4578
|
}
|
|
4614
|
-
function
|
|
4579
|
+
function nr(e) {
|
|
4615
4580
|
let t, r, n, i = (
|
|
4616
4581
|
/*item*/
|
|
4617
4582
|
e[44].label + ""
|
|
4618
4583
|
), o, a, s, l, u, h = (
|
|
4619
4584
|
/*item*/
|
|
4620
|
-
e[44].img &&
|
|
4585
|
+
e[44].img && rr(e)
|
|
4621
4586
|
);
|
|
4622
4587
|
function d() {
|
|
4623
4588
|
return (
|
|
@@ -4630,18 +4595,18 @@ function sr(e) {
|
|
|
4630
4595
|
}
|
|
4631
4596
|
return {
|
|
4632
4597
|
c() {
|
|
4633
|
-
t =
|
|
4598
|
+
t = B("div"), h && h.c(), r = k(), n = B("p"), o = ve(i), a = k(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4634
4599
|
(e[5] === /*item*/
|
|
4635
4600
|
e[44].id ? "ActiveItem" : ""));
|
|
4636
4601
|
},
|
|
4637
|
-
m(f,
|
|
4638
|
-
C(f, t,
|
|
4602
|
+
m(f, p) {
|
|
4603
|
+
C(f, t, p), h && h.m(t, null), y(t, r), y(t, n), y(n, o), y(t, a), l || (u = Me(t, "click", d), l = !0);
|
|
4639
4604
|
},
|
|
4640
|
-
p(f,
|
|
4605
|
+
p(f, p) {
|
|
4641
4606
|
e = f, /*item*/
|
|
4642
|
-
e[44].img ? h ? h.p(e,
|
|
4607
|
+
e[44].img ? h ? h.p(e, p) : (h = rr(e), h.c(), h.m(t, r)) : h && (h.d(1), h = null), p[0] & /*secondaryMenu*/
|
|
4643
4608
|
256 && i !== (i = /*item*/
|
|
4644
|
-
e[44].label + "") &&
|
|
4609
|
+
e[44].label + "") && dt(o, i), p[0] & /*activeMenuItemId, secondaryMenu*/
|
|
4645
4610
|
288 && s !== (s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4646
4611
|
(e[5] === /*item*/
|
|
4647
4612
|
e[44].id ? "ActiveItem" : "")) && c(t, "class", s);
|
|
@@ -4651,11 +4616,11 @@ function sr(e) {
|
|
|
4651
4616
|
}
|
|
4652
4617
|
};
|
|
4653
4618
|
}
|
|
4654
|
-
function
|
|
4619
|
+
function ir(e) {
|
|
4655
4620
|
let t, r, n, i;
|
|
4656
4621
|
return {
|
|
4657
4622
|
c() {
|
|
4658
|
-
t =
|
|
4623
|
+
t = B("div"), r = B("img"), c(r, "class", "NavigationPrimaryItemImg"), re(r.src, n = /*item*/
|
|
4659
4624
|
e[44].img) || c(r, "src", n), c(r, "alt", i = /*item*/
|
|
4660
4625
|
e[44].label), c(t, "class", "NavigationPrimaryItemImgWrapper");
|
|
4661
4626
|
},
|
|
@@ -4664,7 +4629,7 @@ function lr(e) {
|
|
|
4664
4629
|
},
|
|
4665
4630
|
p(o, a) {
|
|
4666
4631
|
a[0] & /*primaryMenuSpliced*/
|
|
4667
|
-
128 && !
|
|
4632
|
+
128 && !re(r.src, n = /*item*/
|
|
4668
4633
|
o[44].img) && c(r, "src", n), a[0] & /*primaryMenuSpliced*/
|
|
4669
4634
|
128 && i !== (i = /*item*/
|
|
4670
4635
|
o[44].label) && c(r, "alt", i);
|
|
@@ -4674,13 +4639,13 @@ function lr(e) {
|
|
|
4674
4639
|
}
|
|
4675
4640
|
};
|
|
4676
4641
|
}
|
|
4677
|
-
function
|
|
4642
|
+
function or(e) {
|
|
4678
4643
|
let t, r, n, i = (
|
|
4679
4644
|
/*item*/
|
|
4680
4645
|
e[44].label + ""
|
|
4681
4646
|
), o, a, s, l, u = (
|
|
4682
4647
|
/*item*/
|
|
4683
|
-
e[44].img &&
|
|
4648
|
+
e[44].img && ir(e)
|
|
4684
4649
|
);
|
|
4685
4650
|
function h() {
|
|
4686
4651
|
return (
|
|
@@ -4693,19 +4658,19 @@ function ur(e) {
|
|
|
4693
4658
|
}
|
|
4694
4659
|
return {
|
|
4695
4660
|
c() {
|
|
4696
|
-
t =
|
|
4661
|
+
t = B("div"), u && u.c(), r = k(), n = B("p"), o = ve(i), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4697
4662
|
e[46] + " " + /*activeMenuItemId*/
|
|
4698
4663
|
(e[5] === /*item*/
|
|
4699
4664
|
e[44].id ? "ActiveItem" : ""));
|
|
4700
4665
|
},
|
|
4701
4666
|
m(d, f) {
|
|
4702
|
-
C(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l =
|
|
4667
|
+
C(d, t, f), u && u.m(t, null), y(t, r), y(t, n), y(n, o), s || (l = Me(t, "click", h), s = !0);
|
|
4703
4668
|
},
|
|
4704
4669
|
p(d, f) {
|
|
4705
4670
|
e = d, /*item*/
|
|
4706
|
-
e[44].img ? u ? u.p(e, f) : (u =
|
|
4671
|
+
e[44].img ? u ? u.p(e, f) : (u = ir(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*primaryMenuSpliced*/
|
|
4707
4672
|
128 && i !== (i = /*item*/
|
|
4708
|
-
e[44].label + "") &&
|
|
4673
|
+
e[44].label + "") && dt(o, i), f[0] & /*activeMenuItemId, primaryMenuSpliced*/
|
|
4709
4674
|
160 && a !== (a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4710
4675
|
e[46] + " " + /*activeMenuItemId*/
|
|
4711
4676
|
(e[5] === /*item*/
|
|
@@ -4716,22 +4681,22 @@ function ur(e) {
|
|
|
4716
4681
|
}
|
|
4717
4682
|
};
|
|
4718
4683
|
}
|
|
4719
|
-
function
|
|
4684
|
+
function ar(e) {
|
|
4720
4685
|
let t, r, n, i, o;
|
|
4721
4686
|
function a(u, h) {
|
|
4722
4687
|
return (
|
|
4723
4688
|
/*isFlowerMenu*/
|
|
4724
|
-
u[11] ?
|
|
4689
|
+
u[11] ? ko : jo
|
|
4725
4690
|
);
|
|
4726
4691
|
}
|
|
4727
4692
|
let s = a(e), l = s(e);
|
|
4728
4693
|
return {
|
|
4729
4694
|
c() {
|
|
4730
|
-
t =
|
|
4695
|
+
t = B("button"), r = B("span"), l.c(), c(r, "class", "NavigationButtonSpan"), c(r, "part", "NavigationButtonSpan"), c(t, "class", n = "NavigationButton " + /*navigationWindowOpened*/
|
|
4731
4696
|
(e[4] ? "NavigationButtonActive" : ""));
|
|
4732
4697
|
},
|
|
4733
4698
|
m(u, h) {
|
|
4734
|
-
C(u, t, h), y(t, r), l.m(r, null), i || (o =
|
|
4699
|
+
C(u, t, h), y(t, r), l.m(r, null), i || (o = Me(
|
|
4735
4700
|
t,
|
|
4736
4701
|
"click",
|
|
4737
4702
|
/*navigationWindowToggle*/
|
|
@@ -4748,11 +4713,11 @@ function hr(e) {
|
|
|
4748
4713
|
}
|
|
4749
4714
|
};
|
|
4750
4715
|
}
|
|
4751
|
-
function
|
|
4716
|
+
function ko(e) {
|
|
4752
4717
|
let t, r, n, i, o, a, s;
|
|
4753
4718
|
return {
|
|
4754
4719
|
c() {
|
|
4755
|
-
t =
|
|
4720
|
+
t = B("div"), r = B("span"), n = k(), i = B("span"), o = k(), a = B("span"), c(r, "class", "middleIconLine"), c(i, "class", "middleIconLine"), c(a, "class", "middleIconLine"), c(t, "class", s = "labelMiddleIcon " + /*navigationWindowOpened*/
|
|
4756
4721
|
(e[4] ? "labelMiddleIconActive" : ""));
|
|
4757
4722
|
},
|
|
4758
4723
|
m(l, u) {
|
|
@@ -4768,18 +4733,18 @@ function Xo(e) {
|
|
|
4768
4733
|
}
|
|
4769
4734
|
};
|
|
4770
4735
|
}
|
|
4771
|
-
function
|
|
4736
|
+
function jo(e) {
|
|
4772
4737
|
let t;
|
|
4773
4738
|
function r(o, a) {
|
|
4774
4739
|
return (
|
|
4775
4740
|
/*imageIconUrl*/
|
|
4776
|
-
o[9] ?
|
|
4741
|
+
o[9] ? Vo : Wo
|
|
4777
4742
|
);
|
|
4778
4743
|
}
|
|
4779
4744
|
let n = r(e), i = n(e);
|
|
4780
4745
|
return {
|
|
4781
4746
|
c() {
|
|
4782
|
-
i.c(), t =
|
|
4747
|
+
i.c(), t = gn();
|
|
4783
4748
|
},
|
|
4784
4749
|
m(o, a) {
|
|
4785
4750
|
i.m(o, a), C(o, t, a);
|
|
@@ -4792,26 +4757,26 @@ function zo(e) {
|
|
|
4792
4757
|
}
|
|
4793
4758
|
};
|
|
4794
4759
|
}
|
|
4795
|
-
function
|
|
4796
|
-
let t, r, n, i, o, a, s, l, u, h, d, f,
|
|
4760
|
+
function Wo(e) {
|
|
4761
|
+
let t, r, n, i, o, a, s, l, u, h, d, f, p, g;
|
|
4797
4762
|
return {
|
|
4798
4763
|
c() {
|
|
4799
|
-
t = M("svg"), r = M("g"), n = M("g"), i = M("rect"), o = M("rect"), a = M("g"), s = M("rect"), l = M("rect"), u = M("g"), h = M("rect"), d = M("rect"), f = M("g"),
|
|
4764
|
+
t = M("svg"), r = M("g"), n = M("g"), i = M("rect"), o = M("rect"), a = M("g"), s = M("rect"), l = M("rect"), u = M("g"), h = M("rect"), d = M("rect"), f = M("g"), p = M("rect"), g = M("rect"), c(i, "class", "b"), c(i, "part", "b"), c(i, "width", "10"), c(i, "height", "10"), c(i, "rx", "2"), c(o, "class", "c"), c(o, "part", "c"), c(o, "x", "0.5"), c(o, "y", "0.5"), c(o, "width", "9"), c(o, "height", "9"), c(o, "rx", "1.5"), c(n, "class", "a"), c(n, "part", "a"), c(n, "transform", "translate(150 514)"), c(s, "class", "b"), c(s, "part", "b"), c(s, "width", "10"), c(s, "height", "10"), c(s, "rx", "2"), c(l, "class", "c"), c(l, "part", "c"), c(l, "x", "0.5"), c(l, "y", "0.5"), c(l, "width", "9"), c(l, "height", "9"), c(l, "rx", "1.5"), c(a, "class", "a"), c(a, "part", "a"), c(a, "transform", "translate(161 514)"), c(h, "class", "b"), c(h, "part", "b"), c(h, "width", "10"), c(h, "height", "10"), c(h, "rx", "2"), c(d, "class", "c"), c(d, "part", "c"), c(d, "x", "0.5"), c(d, "y", "0.5"), c(d, "width", "9"), c(d, "height", "9"), c(d, "rx", "1.5"), c(u, "class", "a"), c(u, "part", "a"), c(u, "transform", "translate(161 525)"), c(p, "class", "b"), c(p, "part", "b"), c(p, "width", "10"), c(p, "height", "10"), c(p, "rx", "2"), c(g, "class", "c"), c(g, "part", "c"), c(g, "x", "0.5"), c(g, "y", "0.5"), c(g, "width", "9"), c(g, "height", "9"), c(g, "rx", "1.5"), c(f, "class", "a"), c(f, "part", "a"), c(f, "transform", "translate(150 525)"), c(r, "transform", "translate(-150 -514)"), c(t, "class", "middleIcon"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "21"), c(t, "height", "21"), c(t, "viewBox", "0 0 21 21");
|
|
4800
4765
|
},
|
|
4801
|
-
m(
|
|
4802
|
-
C(
|
|
4766
|
+
m(b, A) {
|
|
4767
|
+
C(b, t, A), y(t, r), y(r, n), y(n, i), y(n, o), y(r, a), y(a, s), y(a, l), y(r, u), y(u, h), y(u, d), y(r, f), y(f, p), y(f, g);
|
|
4803
4768
|
},
|
|
4804
4769
|
p: D,
|
|
4805
|
-
d(
|
|
4806
|
-
|
|
4770
|
+
d(b) {
|
|
4771
|
+
b && L(t);
|
|
4807
4772
|
}
|
|
4808
4773
|
};
|
|
4809
4774
|
}
|
|
4810
|
-
function
|
|
4775
|
+
function Vo(e) {
|
|
4811
4776
|
let t, r;
|
|
4812
4777
|
return {
|
|
4813
4778
|
c() {
|
|
4814
|
-
t =
|
|
4779
|
+
t = B("img"), re(t.src, r = /*imageIconUrl*/
|
|
4815
4780
|
e[9]) || c(t, "src", r), c(t, "class", "middleIcon"), c(
|
|
4816
4781
|
t,
|
|
4817
4782
|
"alt",
|
|
@@ -4824,7 +4789,7 @@ function Qo(e) {
|
|
|
4824
4789
|
},
|
|
4825
4790
|
p(n, i) {
|
|
4826
4791
|
i[0] & /*imageIconUrl*/
|
|
4827
|
-
512 && !
|
|
4792
|
+
512 && !re(t.src, r = /*imageIconUrl*/
|
|
4828
4793
|
n[9]) && c(t, "src", r), i[0] & /*imageIconUrl*/
|
|
4829
4794
|
512 && c(
|
|
4830
4795
|
t,
|
|
@@ -4838,14 +4803,14 @@ function Qo(e) {
|
|
|
4838
4803
|
}
|
|
4839
4804
|
};
|
|
4840
4805
|
}
|
|
4841
|
-
function
|
|
4806
|
+
function Xo(e) {
|
|
4842
4807
|
let t, r, n, i = !/*isLoading*/
|
|
4843
4808
|
e[1] && /*isMobile*/
|
|
4844
4809
|
e[13] && /*showNavigation*/
|
|
4845
|
-
e[3] &&
|
|
4810
|
+
e[3] && er(e);
|
|
4846
4811
|
return {
|
|
4847
4812
|
c() {
|
|
4848
|
-
t =
|
|
4813
|
+
t = B("div"), i && i.c(), c(t, "class", r = /*isFlowerMenu*/
|
|
4849
4814
|
(e[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4850
4815
|
(e[10] ? "NavigationWrapperLandScape" : ""));
|
|
4851
4816
|
},
|
|
@@ -4857,9 +4822,9 @@ function Yo(e) {
|
|
|
4857
4822
|
o[1] && /*isMobile*/
|
|
4858
4823
|
o[13] && /*showNavigation*/
|
|
4859
4824
|
o[3] ? i ? (i.p(o, a), a[0] & /*isLoading, showNavigation*/
|
|
4860
|
-
10 && z(i, 1)) : (i =
|
|
4825
|
+
10 && z(i, 1)) : (i = er(o), i.c(), z(i, 1), i.m(t, null)) : i && (fr(), pe(i, 1, 1, () => {
|
|
4861
4826
|
i = null;
|
|
4862
|
-
}),
|
|
4827
|
+
}), dr()), (!n || a[0] & /*isFlowerMenu, mobileLandscapeView*/
|
|
4863
4828
|
3072 && r !== (r = /*isFlowerMenu*/
|
|
4864
4829
|
(o[11] ? "FlowerMenu" : "") + " NavigationWrapper " + /*mobileLandscapeView*/
|
|
4865
4830
|
(o[10] ? "NavigationWrapperLandScape" : ""))) && c(t, "class", r);
|
|
@@ -4875,155 +4840,155 @@ function Yo(e) {
|
|
|
4875
4840
|
}
|
|
4876
4841
|
};
|
|
4877
4842
|
}
|
|
4878
|
-
function
|
|
4843
|
+
function zo(e, t, r) {
|
|
4879
4844
|
let n;
|
|
4880
|
-
|
|
4881
|
-
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:
|
|
4882
|
-
const
|
|
4883
|
-
fetch(g).then((
|
|
4884
|
-
Object.keys(
|
|
4885
|
-
|
|
4845
|
+
ln(e, Lo, (m) => r(12, n = m));
|
|
4846
|
+
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: b = "" } = t, { flowermenustyle: A = "false" } = t, S = window.navigator.userAgent, v = Zt(S) !== "PC", N = !0, E = !1, H = !1, W = "", Y = !1, Ue = [], _e = [], V = [], G, bt = "", De = {}, vt, Ge = !1;
|
|
4847
|
+
const Vr = () => {
|
|
4848
|
+
fetch(g).then((T) => T.json()).then((T) => {
|
|
4849
|
+
Object.keys(T).forEach((P) => {
|
|
4850
|
+
Qt(P, T[P]);
|
|
4886
4851
|
});
|
|
4887
|
-
}).catch((
|
|
4888
|
-
console.log(
|
|
4852
|
+
}).catch((T) => {
|
|
4853
|
+
console.log(T);
|
|
4889
4854
|
});
|
|
4890
4855
|
};
|
|
4891
|
-
Object.keys(
|
|
4892
|
-
|
|
4856
|
+
Object.keys(Yt).forEach((m) => {
|
|
4857
|
+
Qt(m, Yt[m]);
|
|
4893
4858
|
});
|
|
4894
|
-
const
|
|
4895
|
-
if (
|
|
4896
|
-
switch (
|
|
4859
|
+
const yt = (m) => {
|
|
4860
|
+
if (m.data)
|
|
4861
|
+
switch (m.data.type) {
|
|
4897
4862
|
case "PlayerAccountMenuActive":
|
|
4898
|
-
r(4,
|
|
4863
|
+
r(4, H = !1);
|
|
4899
4864
|
break;
|
|
4900
4865
|
case "OpenLoginRegisterModal":
|
|
4901
|
-
r(4,
|
|
4866
|
+
r(4, H = !1);
|
|
4902
4867
|
break;
|
|
4903
4868
|
case "GoToHomepage":
|
|
4904
|
-
r(4,
|
|
4869
|
+
r(4, H = !1);
|
|
4905
4870
|
break;
|
|
4906
4871
|
}
|
|
4907
|
-
},
|
|
4908
|
-
r(11,
|
|
4909
|
-
},
|
|
4910
|
-
r(4,
|
|
4872
|
+
}, Xr = () => {
|
|
4873
|
+
r(11, Ge = A.toLowerCase() === "true");
|
|
4874
|
+
}, zr = () => {
|
|
4875
|
+
r(4, H = !H), window.postMessage(
|
|
4911
4876
|
{
|
|
4912
4877
|
type: "MobileBottomNav",
|
|
4913
|
-
navigationWindowOpened:
|
|
4878
|
+
navigationWindowOpened: H
|
|
4914
4879
|
},
|
|
4915
4880
|
window.location.href
|
|
4916
4881
|
);
|
|
4917
|
-
},
|
|
4918
|
-
r(7, _e = []), r(7, _e = Y ?
|
|
4919
|
-
},
|
|
4920
|
-
|
|
4921
|
-
let
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
}), r(6, Y = V.length == 0), V.length >= 5 &&
|
|
4926
|
-
}).catch((
|
|
4927
|
-
r(1,
|
|
4882
|
+
}, Zr = (m) => {
|
|
4883
|
+
r(7, _e = []), r(7, _e = Y ? m.splice(0, 5) : m.splice(0, 4)), b && _t();
|
|
4884
|
+
}, Qr = () => {
|
|
4885
|
+
$e(), r(1, N = !0);
|
|
4886
|
+
let m = Zt(S), T = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
|
|
4887
|
+
T.searchParams.append("userRoles", h), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((P) => P.json()).then((P) => {
|
|
4888
|
+
Ue = [], r(8, V = []), r(3, E = P.length > 0), P.forEach((R) => {
|
|
4889
|
+
De[R.label] = R.eventTrigger ? R.path : null, R.path == "/menu-item" ? (r(9, bt = R == null ? void 0 : R.img), r(8, V = R.children)) : Ue.push(R);
|
|
4890
|
+
}), r(6, Y = V.length == 0), V.length >= 5 && Ge && r(8, V = V.splice(0, 5)), Zr(Ue), r(1, N = !1);
|
|
4891
|
+
}).catch((P) => {
|
|
4892
|
+
r(1, N = !1), console.error(P);
|
|
4928
4893
|
});
|
|
4929
|
-
},
|
|
4930
|
-
const
|
|
4931
|
-
|
|
4932
|
-
},
|
|
4933
|
-
|
|
4894
|
+
}, _t = () => {
|
|
4895
|
+
const T = _e.concat(V).find((P) => P.path.includes(b));
|
|
4896
|
+
T ? r(5, W = T.id) : r(5, W = "");
|
|
4897
|
+
}, ce = (m, T, P, R) => {
|
|
4898
|
+
De[R] ? window.postMessage(
|
|
4934
4899
|
{
|
|
4935
4900
|
type: "MobileBottomNavigationEvent",
|
|
4936
|
-
event:
|
|
4901
|
+
event: De[R]
|
|
4937
4902
|
},
|
|
4938
4903
|
window.location.href
|
|
4939
4904
|
) : window.postMessage(
|
|
4940
4905
|
{
|
|
4941
4906
|
type: "NavigateTo",
|
|
4942
|
-
path:
|
|
4943
|
-
target:
|
|
4944
|
-
externalLink:
|
|
4907
|
+
path: m,
|
|
4908
|
+
target: T || null,
|
|
4909
|
+
externalLink: P || !1
|
|
4945
4910
|
},
|
|
4946
4911
|
window.location.href
|
|
4947
|
-
), r(4,
|
|
4912
|
+
), r(4, H = !1), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
4948
4913
|
context: "MobileBottomNavigation",
|
|
4949
|
-
menuItem: `${
|
|
4914
|
+
menuItem: `${m}`
|
|
4950
4915
|
});
|
|
4951
|
-
},
|
|
4952
|
-
|
|
4953
|
-
},
|
|
4954
|
-
r(10,
|
|
4955
|
-
},
|
|
4956
|
-
|
|
4916
|
+
}, Yr = () => {
|
|
4917
|
+
Co(s);
|
|
4918
|
+
}, $e = () => {
|
|
4919
|
+
r(10, vt = v && window.innerHeight / window.innerWidth < 1);
|
|
4920
|
+
}, xt = () => {
|
|
4921
|
+
H && r(4, H = !1);
|
|
4957
4922
|
};
|
|
4958
|
-
|
|
4959
|
-
window.removeEventListener("message",
|
|
4923
|
+
_n(() => (window.addEventListener("message", yt, !1), document.addEventListener("focusin", xt), v && window.screen.orientation.addEventListener("change", $e), () => {
|
|
4924
|
+
window.removeEventListener("message", yt), document.removeEventListener("focusin", xt), v && window.screen.orientation.removeEventListener("change", $e);
|
|
4960
4925
|
}));
|
|
4961
|
-
const
|
|
4962
|
-
var
|
|
4963
|
-
(
|
|
4964
|
-
},
|
|
4965
|
-
var
|
|
4966
|
-
(
|
|
4926
|
+
const Jr = (m) => {
|
|
4927
|
+
var T, P;
|
|
4928
|
+
(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);
|
|
4929
|
+
}, qr = (m) => {
|
|
4930
|
+
var T, P;
|
|
4931
|
+
(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);
|
|
4967
4932
|
};
|
|
4968
|
-
function
|
|
4969
|
-
|
|
4970
|
-
|
|
4933
|
+
function Kr(m) {
|
|
4934
|
+
Ye[m ? "unshift" : "push"](() => {
|
|
4935
|
+
G = m, r(2, G);
|
|
4971
4936
|
});
|
|
4972
4937
|
}
|
|
4973
|
-
return e.$$set = (
|
|
4974
|
-
"cmsendpoint" in
|
|
4938
|
+
return e.$$set = (m) => {
|
|
4939
|
+
"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, b = m.activecategory), "flowermenustyle" in m && r(25, A = m.flowermenustyle), "$$scope" in m && r(26, o = m.$$scope);
|
|
4975
4940
|
}, e.$$.update = () => {
|
|
4976
4941
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4977
|
-
33554432 &&
|
|
4978
|
-
16777218 &&
|
|
4979
|
-
131072 && s &&
|
|
4980
|
-
983040 && a && s && l && h &&
|
|
4981
|
-
2097156 && f &&
|
|
4982
|
-
4194308 &&
|
|
4983
|
-
1048580 && d &&
|
|
4984
|
-
8388608 && g &&
|
|
4942
|
+
33554432 && A && Xr(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4943
|
+
16777218 && b && !N && _t(), e.$$.dirty[0] & /*lang*/
|
|
4944
|
+
131072 && s && Yr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4945
|
+
983040 && a && s && l && h && Qr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4946
|
+
2097156 && f && G && Fo(G, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4947
|
+
4194308 && p && G && Ro(G, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4948
|
+
1048580 && d && G && Uo(G, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
4949
|
+
8388608 && g && Vr();
|
|
4985
4950
|
}, [
|
|
4986
4951
|
u,
|
|
4952
|
+
N,
|
|
4953
|
+
G,
|
|
4987
4954
|
E,
|
|
4988
|
-
|
|
4989
|
-
w,
|
|
4990
|
-
P,
|
|
4955
|
+
H,
|
|
4991
4956
|
W,
|
|
4992
4957
|
Y,
|
|
4993
4958
|
_e,
|
|
4994
4959
|
V,
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4960
|
+
bt,
|
|
4961
|
+
vt,
|
|
4962
|
+
Ge,
|
|
4998
4963
|
n,
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
4964
|
+
v,
|
|
4965
|
+
zr,
|
|
4966
|
+
ce,
|
|
5002
4967
|
a,
|
|
5003
4968
|
s,
|
|
5004
4969
|
l,
|
|
5005
4970
|
h,
|
|
5006
4971
|
d,
|
|
5007
4972
|
f,
|
|
5008
|
-
|
|
4973
|
+
p,
|
|
5009
4974
|
g,
|
|
5010
|
-
|
|
5011
|
-
|
|
4975
|
+
b,
|
|
4976
|
+
A,
|
|
5012
4977
|
o,
|
|
5013
4978
|
i,
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
4979
|
+
Jr,
|
|
4980
|
+
qr,
|
|
4981
|
+
Kr
|
|
5017
4982
|
];
|
|
5018
4983
|
}
|
|
5019
|
-
class
|
|
4984
|
+
class Zo extends Hn {
|
|
5020
4985
|
constructor(t) {
|
|
5021
|
-
super(),
|
|
4986
|
+
super(), An(
|
|
5022
4987
|
this,
|
|
5023
4988
|
t,
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
4989
|
+
zo,
|
|
4990
|
+
Xo,
|
|
4991
|
+
lr,
|
|
5027
4992
|
{
|
|
5028
4993
|
cmsendpoint: 16,
|
|
5029
4994
|
lang: 17,
|
|
@@ -5037,7 +5002,7 @@ class qo extends Ln {
|
|
|
5037
5002
|
activecategory: 24,
|
|
5038
5003
|
flowermenustyle: 25
|
|
5039
5004
|
},
|
|
5040
|
-
|
|
5005
|
+
Do,
|
|
5041
5006
|
[-1, -1]
|
|
5042
5007
|
);
|
|
5043
5008
|
}
|
|
@@ -5108,7 +5073,7 @@ class qo extends Ln {
|
|
|
5108
5073
|
this.$$set({ flowermenustyle: t }), F();
|
|
5109
5074
|
}
|
|
5110
5075
|
}
|
|
5111
|
-
|
|
5076
|
+
Tn(Zo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
5112
5077
|
export {
|
|
5113
|
-
|
|
5078
|
+
Zo as default
|
|
5114
5079
|
};
|