@everymatrix/casino-header-controller-nd 1.76.13 → 1.76.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoHamburgerMenuNd-CejZNuqP.cjs +18 -0
- package/components/{CasinoHamburgerMenuNd-C3tiFapV.js → CasinoHamburgerMenuNd-wXAMqISh.js} +1042 -1061
- package/components/{CasinoHamburgerMenuNd-Cyp_3Pjq.js → CasinoHamburgerMenuNd-zEzjbdh9.js} +1048 -1066
- package/components/{CasinoHeaderControllerNd-Cd99fvmP.js → CasinoHeaderControllerNd-5oQLmFT5.js} +98 -98
- package/components/{CasinoHeaderControllerNd-BPvvFK6c.js → CasinoHeaderControllerNd-ClyJlaB4.js} +100 -100
- package/components/{CasinoHeaderControllerNd-Dcbs-iwq.cjs → CasinoHeaderControllerNd-_a9l-kZy.cjs} +1 -1
- package/components/PlayerAccountBalanceModalNd-DHeq10as.js +1459 -0
- package/components/PlayerAccountBalanceModalNd-MJ8bP390.cjs +7 -0
- package/components/PlayerAccountBalanceModalNd-y5eAshyX.js +1430 -0
- package/components/{PlayerDeposit-BHLSR7a_.js → PlayerDeposit-Cexe1amN.js} +73 -73
- package/components/PlayerDeposit-CohA3d9m.cjs +1 -0
- package/components/{PlayerDeposit-COiRRSRi.js → PlayerDeposit-CxhKJpFV.js} +77 -77
- package/es2015/casino-header-controller-nd.cjs +1 -1
- package/es2015/casino-header-controller-nd.js +1 -1
- package/esnext/casino-header-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{gamification-dropdown-60536faa-BfbbIH0h.js → gamification-dropdown-60536faa--tCxLpUd.js} +1 -1
- package/stencil/{gamification-dropdown-60536faa-iwjy04Fm.cjs → gamification-dropdown-60536faa-CA-tOB6J.cjs} +1 -1
- package/stencil/{gamification-dropdown-60536faa-CYPNS2SA.js → gamification-dropdown-60536faa-D_klQb5-.js} +1 -1
- package/stencil/{gamification-dropdown-Gjtwk9m4.cjs → gamification-dropdown-C2rQCXr3.cjs} +1 -1
- package/stencil/{gamification-dropdown-CPL2IUzf.js → gamification-dropdown-D-9xflEI.js} +2 -2
- package/stencil/{gamification-dropdown-CE2Ixn-O.js → gamification-dropdown-DgByNB6Q.js} +2 -2
- package/stencil/gamification-dropdown_4-9itHe9rC.cjs +192 -0
- package/stencil/{gamification-dropdown_4-CRTLR4sa.js → gamification-dropdown_4-BQHZxMmA.js} +5 -5
- package/stencil/{gamification-dropdown_4-DcFpqFzH.js → gamification-dropdown_4-CCjf1Eex.js} +5 -5
- package/stencil/index-1ef3a64c-Ck87Pglf.js +573 -0
- package/stencil/index-1ef3a64c-DvpfOWQI.cjs +1 -0
- package/stencil/index-1ef3a64c-wCloGxS4.js +557 -0
- package/stencil/index-71b1bdfa-BsYkT1Wo.js +758 -0
- package/stencil/index-71b1bdfa-Dz8uS7Ts.cjs +1 -0
- package/stencil/{index-71b1bdfa-CWc2W3-h.js → index-71b1bdfa-Y9akhvrz.js} +271 -267
- package/stencil/{player-elevate-card-Cuz2sCRr.js → player-elevate-card-BXLc2ao2.js} +2 -2
- package/stencil/{player-elevate-card-Bw41M29a.js → player-elevate-card-DIBGBEnD.js} +2 -2
- package/stencil/player-elevate-card-items-08c6fbd8-2_Bw4cLt.cjs +102 -0
- package/stencil/{player-elevate-card-items-08c6fbd8-B5WzXPPY.js → player-elevate-card-items-08c6fbd8-B3FHGbVX.js} +237 -235
- package/stencil/{player-elevate-card-items-08c6fbd8-Do1JLWE6.js → player-elevate-card-items-08c6fbd8-B7SC2vYC.js} +237 -235
- package/stencil/{player-elevate-card-BVfbuUjE.cjs → player-elevate-card-yhVpoBMM.cjs} +1 -1
- package/stencil/{player-elevate-pointcard-26tN2vbt.js → player-elevate-pointcard-CiqJf1so.js} +2 -2
- package/stencil/{player-elevate-pointcard-FWrlCaYU.js → player-elevate-pointcard-Cm0kt87j.js} +2 -2
- package/stencil/{player-elevate-pointcard-DGwp0CGN.cjs → player-elevate-pointcard-VfJWIaUB.cjs} +1 -1
- package/stencil/{player-rakeback-card-B1GwlpBH.js → player-rakeback-card-CfICOy5o.js} +1 -1
- package/stencil/{player-rakeback-card-DCf88R_2.js → player-rakeback-card-DDnhpQ9d.js} +1 -1
- package/stencil/{player-rakeback-card-D8Maf2AC.cjs → player-rakeback-card-EWaOFDaQ.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-H3FmzEfw.cjs → user-deposit-withdrawal-1y6hYB7P.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-YcDyePCz.js → user-deposit-withdrawal-CqkvDTKp.js} +1 -1
- package/stencil/{user-deposit-withdrawal-Cvki4Kek.js → user-deposit-withdrawal-DuPtvmqd.js} +1 -1
- package/components/CasinoHamburgerMenuNd-DAYnP-8N.cjs +0 -18
- package/components/PlayerAccountBalanceModalNd-BjLh8BEP.js +0 -1459
- package/components/PlayerAccountBalanceModalNd-BrobHqbV.js +0 -1430
- package/components/PlayerAccountBalanceModalNd-DUPCtK5p.cjs +0 -7
- package/components/PlayerDeposit-DCiULSav.cjs +0 -1
- package/stencil/gamification-dropdown_4-DXq-uIzD.cjs +0 -192
- package/stencil/index-1ef3a64c-B1UltD4v.cjs +0 -1
- package/stencil/index-1ef3a64c-Bl471LIY.js +0 -557
- package/stencil/index-1ef3a64c-DqwB8Beo.js +0 -573
- package/stencil/index-71b1bdfa-BPY14JfC.cjs +0 -1
- package/stencil/index-71b1bdfa-CmeNKkYZ.js +0 -754
- package/stencil/player-elevate-card-items-08c6fbd8-BxOi7rN2.cjs +0 -102
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function $() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function hn(e, t) {
|
|
4
4
|
for (const r in t)
|
|
5
5
|
e[r] = t[r];
|
|
6
6
|
return (
|
|
@@ -8,26 +8,26 @@ function cn(e, t) {
|
|
|
8
8
|
e
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function dr(e) {
|
|
12
12
|
return e();
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function Ot() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
e.forEach(
|
|
17
|
+
function de(e) {
|
|
18
|
+
e.forEach(dr);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function gt(e) {
|
|
21
21
|
return typeof e == "function";
|
|
22
22
|
}
|
|
23
23
|
function mr(e, t) {
|
|
24
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
25
25
|
}
|
|
26
|
-
let
|
|
26
|
+
let Te;
|
|
27
27
|
function K(e, t) {
|
|
28
|
-
return e === t ? !0 : (
|
|
28
|
+
return e === t ? !0 : (Te || (Te = document.createElement("a")), Te.href = t, e === Te.href);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function cn(e) {
|
|
31
31
|
return Object.keys(e).length === 0;
|
|
32
32
|
}
|
|
33
33
|
function gr(e, ...t) {
|
|
@@ -42,16 +42,16 @@ function gr(e, ...t) {
|
|
|
42
42
|
function fn(e, t, r) {
|
|
43
43
|
e.$$.on_destroy.push(gr(t, r));
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Jo(e, t, r, n) {
|
|
46
46
|
if (e) {
|
|
47
|
-
const i =
|
|
47
|
+
const i = pr(e, t, r, n);
|
|
48
48
|
return e[0](i);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
return e[1] && n ?
|
|
51
|
+
function pr(e, t, r, n) {
|
|
52
|
+
return e[1] && n ? hn(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Yo(e, t, r, n) {
|
|
55
55
|
if (e[2] && n) {
|
|
56
56
|
const i = e[2](n(r));
|
|
57
57
|
if (t.dirty === void 0)
|
|
@@ -66,13 +66,13 @@ function Ko(e, t, r, n) {
|
|
|
66
66
|
}
|
|
67
67
|
return t.dirty;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function Ko(e, t, r, n, i, o) {
|
|
70
70
|
if (i) {
|
|
71
|
-
const a =
|
|
71
|
+
const a = pr(t, r, n, o);
|
|
72
72
|
e.p(a, i);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function ea(e) {
|
|
76
76
|
if (e.ctx.length > 32) {
|
|
77
77
|
const t = [], r = e.ctx.length / 32;
|
|
78
78
|
for (let n = 0; n < r; n++)
|
|
@@ -85,13 +85,13 @@ function b(e, t) {
|
|
|
85
85
|
e.appendChild(t);
|
|
86
86
|
}
|
|
87
87
|
function dn(e, t, r) {
|
|
88
|
-
const n =
|
|
88
|
+
const n = mn(e);
|
|
89
89
|
if (!n.getElementById(t)) {
|
|
90
90
|
const i = v("style");
|
|
91
|
-
i.id = t, i.textContent = r,
|
|
91
|
+
i.id = t, i.textContent = r, gn(n, i);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function mn(e) {
|
|
95
95
|
if (!e)
|
|
96
96
|
return document;
|
|
97
97
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -101,7 +101,7 @@ function pn(e) {
|
|
|
101
101
|
t
|
|
102
102
|
) : e.ownerDocument;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function gn(e, t) {
|
|
105
105
|
return b(
|
|
106
106
|
/** @type {Document} */
|
|
107
107
|
e.head || e,
|
|
@@ -114,14 +114,14 @@ function F(e, t, r) {
|
|
|
114
114
|
function I(e) {
|
|
115
115
|
e.parentNode && e.parentNode.removeChild(e);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function we(e, t) {
|
|
118
118
|
for (let r = 0; r < e.length; r += 1)
|
|
119
119
|
e[r] && e[r].d(t);
|
|
120
120
|
}
|
|
121
121
|
function v(e) {
|
|
122
122
|
return document.createElement(e);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Mt(e) {
|
|
125
125
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
126
126
|
}
|
|
127
127
|
function ee(e) {
|
|
@@ -130,35 +130,35 @@ function ee(e) {
|
|
|
130
130
|
function U() {
|
|
131
131
|
return ee(" ");
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function br() {
|
|
134
134
|
return ee("");
|
|
135
135
|
}
|
|
136
136
|
function te(e, t, r, n) {
|
|
137
137
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function ta(e) {
|
|
140
140
|
return function(t) {
|
|
141
141
|
return t.preventDefault(), e.call(this, t);
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function g(e, t, r) {
|
|
145
145
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function ra(e, t, r) {
|
|
148
148
|
const n = t.toLowerCase();
|
|
149
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
149
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : g(e, t, r);
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function pn(e) {
|
|
152
152
|
return Array.from(e.childNodes);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function me(e, t) {
|
|
155
155
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
156
156
|
t);
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function At(e, t) {
|
|
159
159
|
e.value = t ?? "";
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function na(e, t, r, n) {
|
|
162
162
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
163
163
|
}
|
|
164
164
|
function Lt(e, t, r) {
|
|
@@ -184,142 +184,142 @@ function yn(e) {
|
|
|
184
184
|
}
|
|
185
185
|
), t;
|
|
186
186
|
}
|
|
187
|
-
let
|
|
188
|
-
function
|
|
189
|
-
|
|
187
|
+
let _e;
|
|
188
|
+
function ve(e) {
|
|
189
|
+
_e = e;
|
|
190
190
|
}
|
|
191
191
|
function vn() {
|
|
192
|
-
if (!
|
|
192
|
+
if (!_e)
|
|
193
193
|
throw new Error("Function called outside component initialization");
|
|
194
|
-
return
|
|
194
|
+
return _e;
|
|
195
195
|
}
|
|
196
196
|
function _n(e) {
|
|
197
197
|
vn().$$.on_mount.push(e);
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function ia(e, t) {
|
|
200
200
|
const r = e.$$.callbacks[t.type];
|
|
201
201
|
r && r.slice().forEach((n) => n.call(this, t));
|
|
202
202
|
}
|
|
203
|
-
const ae = [],
|
|
203
|
+
const ae = [], Ce = [];
|
|
204
204
|
let se = [];
|
|
205
|
-
const
|
|
206
|
-
let
|
|
205
|
+
const Pt = [], xn = /* @__PURE__ */ Promise.resolve();
|
|
206
|
+
let tt = !1;
|
|
207
207
|
function En() {
|
|
208
|
-
|
|
208
|
+
tt || (tt = !0, xn.then(D));
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Ne(e) {
|
|
211
211
|
se.push(e);
|
|
212
212
|
}
|
|
213
|
-
const
|
|
213
|
+
const ze = /* @__PURE__ */ new Set();
|
|
214
214
|
let ie = 0;
|
|
215
215
|
function D() {
|
|
216
216
|
if (ie !== 0)
|
|
217
217
|
return;
|
|
218
|
-
const e =
|
|
218
|
+
const e = _e;
|
|
219
219
|
do {
|
|
220
220
|
try {
|
|
221
221
|
for (; ie < ae.length; ) {
|
|
222
222
|
const t = ae[ie];
|
|
223
|
-
ie++,
|
|
223
|
+
ie++, ve(t), wn(t.$$);
|
|
224
224
|
}
|
|
225
225
|
} catch (t) {
|
|
226
226
|
throw ae.length = 0, ie = 0, t;
|
|
227
227
|
}
|
|
228
|
-
for (
|
|
229
|
-
|
|
228
|
+
for (ve(null), ae.length = 0, ie = 0; Ce.length; )
|
|
229
|
+
Ce.pop()();
|
|
230
230
|
for (let t = 0; t < se.length; t += 1) {
|
|
231
231
|
const r = se[t];
|
|
232
|
-
|
|
232
|
+
ze.has(r) || (ze.add(r), r());
|
|
233
233
|
}
|
|
234
234
|
se.length = 0;
|
|
235
235
|
} while (ae.length);
|
|
236
|
-
for (;
|
|
237
|
-
|
|
238
|
-
|
|
236
|
+
for (; Pt.length; )
|
|
237
|
+
Pt.pop()();
|
|
238
|
+
tt = !1, ze.clear(), ve(e);
|
|
239
239
|
}
|
|
240
240
|
function wn(e) {
|
|
241
241
|
if (e.fragment !== null) {
|
|
242
|
-
e.update(),
|
|
242
|
+
e.update(), de(e.before_update);
|
|
243
243
|
const t = e.dirty;
|
|
244
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
244
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
function Sn(e) {
|
|
248
248
|
const t = [], r = [];
|
|
249
249
|
se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
|
|
250
250
|
}
|
|
251
|
-
const
|
|
251
|
+
const Ae = /* @__PURE__ */ new Set();
|
|
252
252
|
let Hn;
|
|
253
253
|
function Tn(e, t) {
|
|
254
|
-
e && e.i && (
|
|
254
|
+
e && e.i && (Ae.delete(e), e.i(t));
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function oa(e, t, r, n) {
|
|
257
257
|
if (e && e.o) {
|
|
258
|
-
if (
|
|
258
|
+
if (Ae.has(e))
|
|
259
259
|
return;
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
Ae.add(e), Hn.c.push(() => {
|
|
261
|
+
Ae.delete(e);
|
|
262
262
|
}), e.o(t);
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
|
-
function
|
|
265
|
+
function Q(e) {
|
|
266
266
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
267
267
|
}
|
|
268
268
|
function On(e, t, r) {
|
|
269
269
|
const { fragment: n, after_update: i } = e.$$;
|
|
270
|
-
n && n.m(t, r),
|
|
271
|
-
const o = e.$$.on_mount.map(
|
|
272
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
273
|
-
}), i.forEach(
|
|
270
|
+
n && n.m(t, r), Ne(() => {
|
|
271
|
+
const o = e.$$.on_mount.map(dr).filter(gt);
|
|
272
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : de(o), e.$$.on_mount = [];
|
|
273
|
+
}), i.forEach(Ne);
|
|
274
274
|
}
|
|
275
275
|
function Mn(e, t) {
|
|
276
276
|
const r = e.$$;
|
|
277
|
-
r.fragment !== null && (Sn(r.after_update),
|
|
277
|
+
r.fragment !== null && (Sn(r.after_update), de(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
278
278
|
}
|
|
279
279
|
function An(e, t) {
|
|
280
280
|
e.$$.dirty[0] === -1 && (ae.push(e), En(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
281
281
|
}
|
|
282
|
-
function
|
|
283
|
-
const
|
|
284
|
-
|
|
285
|
-
const
|
|
282
|
+
function Ln(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
283
|
+
const l = _e;
|
|
284
|
+
ve(e);
|
|
285
|
+
const u = e.$$ = {
|
|
286
286
|
fragment: null,
|
|
287
287
|
ctx: [],
|
|
288
288
|
// state
|
|
289
289
|
props: o,
|
|
290
290
|
update: $,
|
|
291
291
|
not_equal: i,
|
|
292
|
-
bound:
|
|
292
|
+
bound: Ot(),
|
|
293
293
|
// lifecycle
|
|
294
294
|
on_mount: [],
|
|
295
295
|
on_destroy: [],
|
|
296
296
|
on_disconnect: [],
|
|
297
297
|
before_update: [],
|
|
298
298
|
after_update: [],
|
|
299
|
-
context: new Map(t.context || (
|
|
299
|
+
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
300
300
|
// everything else
|
|
301
|
-
callbacks:
|
|
301
|
+
callbacks: Ot(),
|
|
302
302
|
dirty: s,
|
|
303
303
|
skip_bound: !1,
|
|
304
|
-
root: t.target ||
|
|
304
|
+
root: t.target || l.$$.root
|
|
305
305
|
};
|
|
306
|
-
a && a(
|
|
307
|
-
let
|
|
308
|
-
if (
|
|
309
|
-
const
|
|
310
|
-
return
|
|
311
|
-
}) : [],
|
|
306
|
+
a && a(u.root);
|
|
307
|
+
let h = !1;
|
|
308
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
|
|
309
|
+
const p = m.length ? m[0] : f;
|
|
310
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && An(e, c)), f;
|
|
311
|
+
}) : [], u.update(), h = !0, de(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
312
312
|
if (t.hydrate) {
|
|
313
|
-
const
|
|
314
|
-
|
|
313
|
+
const c = pn(t.target);
|
|
314
|
+
u.fragment && u.fragment.l(c), c.forEach(I);
|
|
315
315
|
} else
|
|
316
|
-
|
|
316
|
+
u.fragment && u.fragment.c();
|
|
317
317
|
t.intro && Tn(e.$$.fragment), On(e, t.target, t.anchor), D();
|
|
318
318
|
}
|
|
319
|
-
|
|
319
|
+
ve(l);
|
|
320
320
|
}
|
|
321
|
-
let
|
|
322
|
-
typeof HTMLElement == "function" && (
|
|
321
|
+
let yr;
|
|
322
|
+
typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
323
323
|
/** The Svelte component constructor */
|
|
324
324
|
$$ctor;
|
|
325
325
|
/** Slots */
|
|
@@ -361,17 +361,17 @@ typeof HTMLElement == "function" && (vr = class extends HTMLElement {
|
|
|
361
361
|
let o;
|
|
362
362
|
return {
|
|
363
363
|
c: function() {
|
|
364
|
-
o = v("slot"), i !== "default" &&
|
|
364
|
+
o = v("slot"), i !== "default" && g(o, "name", i);
|
|
365
365
|
},
|
|
366
366
|
/**
|
|
367
367
|
* @param {HTMLElement} target
|
|
368
368
|
* @param {HTMLElement} [anchor]
|
|
369
369
|
*/
|
|
370
|
-
m: function(
|
|
371
|
-
F(
|
|
370
|
+
m: function(l, u) {
|
|
371
|
+
F(l, o, u);
|
|
372
372
|
},
|
|
373
|
-
d: function(
|
|
374
|
-
|
|
373
|
+
d: function(l) {
|
|
374
|
+
l && I(o);
|
|
375
375
|
}
|
|
376
376
|
};
|
|
377
377
|
};
|
|
@@ -465,8 +465,8 @@ function Le(e, t, r, n) {
|
|
|
465
465
|
return t;
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
function
|
|
469
|
-
let a = class extends
|
|
468
|
+
function Pn(e, t, r, n, i, o) {
|
|
469
|
+
let a = class extends yr {
|
|
470
470
|
constructor() {
|
|
471
471
|
super(e, r, i), this.$$p_d = t;
|
|
472
472
|
}
|
|
@@ -481,8 +481,8 @@ function Ln(e, t, r, n, i, o) {
|
|
|
481
481
|
get() {
|
|
482
482
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
483
483
|
},
|
|
484
|
-
set(
|
|
485
|
-
|
|
484
|
+
set(l) {
|
|
485
|
+
l = Le(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
|
|
486
486
|
}
|
|
487
487
|
});
|
|
488
488
|
}), n.forEach((s) => {
|
|
@@ -522,7 +522,7 @@ class Bn {
|
|
|
522
522
|
* @returns {() => void}
|
|
523
523
|
*/
|
|
524
524
|
$on(t, r) {
|
|
525
|
-
if (!
|
|
525
|
+
if (!gt(r))
|
|
526
526
|
return $;
|
|
527
527
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
528
528
|
return n.push(r), () => {
|
|
@@ -535,7 +535,7 @@ class Bn {
|
|
|
535
535
|
* @returns {void}
|
|
536
536
|
*/
|
|
537
537
|
$set(t) {
|
|
538
|
-
this.$$set && !
|
|
538
|
+
this.$$set && !cn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
const In = "4";
|
|
@@ -554,24 +554,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
554
554
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
555
555
|
PERFORMANCE OF THIS SOFTWARE.
|
|
556
556
|
***************************************************************************** */
|
|
557
|
-
var
|
|
558
|
-
return
|
|
557
|
+
var rt = function(e, t) {
|
|
558
|
+
return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
559
559
|
r.__proto__ = n;
|
|
560
560
|
} || function(r, n) {
|
|
561
561
|
for (var i in n)
|
|
562
562
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
563
|
-
},
|
|
563
|
+
}, rt(e, t);
|
|
564
564
|
};
|
|
565
|
-
function
|
|
565
|
+
function q(e, t) {
|
|
566
566
|
if (typeof t != "function" && t !== null)
|
|
567
567
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
568
|
-
|
|
568
|
+
rt(e, t);
|
|
569
569
|
function r() {
|
|
570
570
|
this.constructor = e;
|
|
571
571
|
}
|
|
572
572
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
573
573
|
}
|
|
574
|
-
function
|
|
574
|
+
var w = function() {
|
|
575
|
+
return w = Object.assign || function(t) {
|
|
576
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
577
|
+
r = arguments[n];
|
|
578
|
+
for (var o in r)
|
|
579
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
580
|
+
}
|
|
581
|
+
return t;
|
|
582
|
+
}, w.apply(this, arguments);
|
|
583
|
+
};
|
|
584
|
+
function Cn(e, t) {
|
|
585
|
+
var r = {};
|
|
586
|
+
for (var n in e)
|
|
587
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
588
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
589
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
590
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
591
|
+
return r;
|
|
592
|
+
}
|
|
593
|
+
function nt(e) {
|
|
575
594
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
576
595
|
if (r)
|
|
577
596
|
return r.call(e);
|
|
@@ -583,7 +602,7 @@ function it(e) {
|
|
|
583
602
|
};
|
|
584
603
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
585
604
|
}
|
|
586
|
-
function
|
|
605
|
+
function it(e, t) {
|
|
587
606
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
588
607
|
if (!r)
|
|
589
608
|
return e;
|
|
@@ -603,22 +622,22 @@ function ot(e, t) {
|
|
|
603
622
|
}
|
|
604
623
|
return o;
|
|
605
624
|
}
|
|
606
|
-
function
|
|
607
|
-
if (arguments.length === 2)
|
|
625
|
+
function le(e, t, r) {
|
|
626
|
+
if (r || arguments.length === 2)
|
|
608
627
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
609
628
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
610
629
|
return e.concat(o || t);
|
|
611
630
|
}
|
|
612
|
-
function
|
|
631
|
+
function Z(e) {
|
|
613
632
|
return typeof e == "function";
|
|
614
633
|
}
|
|
615
|
-
function
|
|
634
|
+
function vr(e) {
|
|
616
635
|
var t = function(n) {
|
|
617
636
|
Error.call(n), n.stack = new Error().stack;
|
|
618
637
|
}, r = e(t);
|
|
619
638
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
620
639
|
}
|
|
621
|
-
var
|
|
640
|
+
var Ze = vr(function(e) {
|
|
622
641
|
return function(r) {
|
|
623
642
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
624
643
|
` + r.map(function(n, i) {
|
|
@@ -627,13 +646,13 @@ var Qe = _r(function(e) {
|
|
|
627
646
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
628
647
|
};
|
|
629
648
|
});
|
|
630
|
-
function
|
|
649
|
+
function ot(e, t) {
|
|
631
650
|
if (e) {
|
|
632
651
|
var r = e.indexOf(t);
|
|
633
652
|
0 <= r && e.splice(r, 1);
|
|
634
653
|
}
|
|
635
654
|
}
|
|
636
|
-
var
|
|
655
|
+
var Fe = function() {
|
|
637
656
|
function e(t) {
|
|
638
657
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
639
658
|
}
|
|
@@ -645,15 +664,15 @@ var ke = function() {
|
|
|
645
664
|
if (a)
|
|
646
665
|
if (this._parentage = null, Array.isArray(a))
|
|
647
666
|
try {
|
|
648
|
-
for (var s =
|
|
649
|
-
var
|
|
650
|
-
|
|
667
|
+
for (var s = nt(a), l = s.next(); !l.done; l = s.next()) {
|
|
668
|
+
var u = l.value;
|
|
669
|
+
u.remove(this);
|
|
651
670
|
}
|
|
652
671
|
} catch (y) {
|
|
653
672
|
t = { error: y };
|
|
654
673
|
} finally {
|
|
655
674
|
try {
|
|
656
|
-
|
|
675
|
+
l && !l.done && (r = s.return) && r.call(s);
|
|
657
676
|
} finally {
|
|
658
677
|
if (t)
|
|
659
678
|
throw t.error;
|
|
@@ -661,30 +680,30 @@ var ke = function() {
|
|
|
661
680
|
}
|
|
662
681
|
else
|
|
663
682
|
a.remove(this);
|
|
664
|
-
var
|
|
665
|
-
if (
|
|
683
|
+
var h = this.initialTeardown;
|
|
684
|
+
if (Z(h))
|
|
666
685
|
try {
|
|
667
|
-
|
|
686
|
+
h();
|
|
668
687
|
} catch (y) {
|
|
669
|
-
o = y instanceof
|
|
688
|
+
o = y instanceof Ze ? y.errors : [y];
|
|
670
689
|
}
|
|
671
|
-
var
|
|
672
|
-
if (
|
|
690
|
+
var c = this._finalizers;
|
|
691
|
+
if (c) {
|
|
673
692
|
this._finalizers = null;
|
|
674
693
|
try {
|
|
675
|
-
for (var f =
|
|
676
|
-
var
|
|
694
|
+
for (var f = nt(c), m = f.next(); !m.done; m = f.next()) {
|
|
695
|
+
var p = m.value;
|
|
677
696
|
try {
|
|
678
|
-
|
|
697
|
+
Bt(p);
|
|
679
698
|
} catch (y) {
|
|
680
|
-
o = o ?? [], y instanceof
|
|
699
|
+
o = o ?? [], y instanceof Ze ? o = le(le([], it(o)), it(y.errors)) : o.push(y);
|
|
681
700
|
}
|
|
682
701
|
}
|
|
683
702
|
} catch (y) {
|
|
684
703
|
n = { error: y };
|
|
685
704
|
} finally {
|
|
686
705
|
try {
|
|
687
|
-
|
|
706
|
+
m && !m.done && (i = f.return) && i.call(f);
|
|
688
707
|
} finally {
|
|
689
708
|
if (n)
|
|
690
709
|
throw n.error;
|
|
@@ -692,13 +711,13 @@ var ke = function() {
|
|
|
692
711
|
}
|
|
693
712
|
}
|
|
694
713
|
if (o)
|
|
695
|
-
throw new
|
|
714
|
+
throw new Ze(o);
|
|
696
715
|
}
|
|
697
716
|
}, e.prototype.add = function(t) {
|
|
698
717
|
var r;
|
|
699
718
|
if (t && t !== this)
|
|
700
719
|
if (this.closed)
|
|
701
|
-
|
|
720
|
+
Bt(t);
|
|
702
721
|
else {
|
|
703
722
|
if (t instanceof e) {
|
|
704
723
|
if (t.closed || t._hasParent(this))
|
|
@@ -715,28 +734,32 @@ var ke = function() {
|
|
|
715
734
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
716
735
|
}, e.prototype._removeParent = function(t) {
|
|
717
736
|
var r = this._parentage;
|
|
718
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
737
|
+
r === t ? this._parentage = null : Array.isArray(r) && ot(r, t);
|
|
719
738
|
}, e.prototype.remove = function(t) {
|
|
720
739
|
var r = this._finalizers;
|
|
721
|
-
r &&
|
|
740
|
+
r && ot(r, t), t instanceof e && t._removeParent(this);
|
|
722
741
|
}, e.EMPTY = function() {
|
|
723
742
|
var t = new e();
|
|
724
743
|
return t.closed = !0, t;
|
|
725
744
|
}(), e;
|
|
726
|
-
}(),
|
|
727
|
-
function
|
|
728
|
-
return e instanceof
|
|
729
|
-
}
|
|
730
|
-
function
|
|
731
|
-
|
|
732
|
-
}
|
|
733
|
-
var
|
|
734
|
-
|
|
745
|
+
}(), _r = Fe.EMPTY;
|
|
746
|
+
function xr(e) {
|
|
747
|
+
return e instanceof Fe || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
|
|
748
|
+
}
|
|
749
|
+
function Bt(e) {
|
|
750
|
+
Z(e) ? e() : e.unsubscribe();
|
|
751
|
+
}
|
|
752
|
+
var Er = {
|
|
753
|
+
onUnhandledError: null,
|
|
754
|
+
onStoppedNotification: null,
|
|
755
|
+
Promise: void 0,
|
|
756
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
757
|
+
useDeprecatedNextContext: !1
|
|
735
758
|
}, Nn = {
|
|
736
759
|
setTimeout: function(e, t) {
|
|
737
760
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
738
761
|
r[n - 2] = arguments[n];
|
|
739
|
-
return setTimeout.apply(void 0,
|
|
762
|
+
return setTimeout.apply(void 0, le([e, t], it(r)));
|
|
740
763
|
},
|
|
741
764
|
clearTimeout: function(e) {
|
|
742
765
|
return clearTimeout(e);
|
|
@@ -748,19 +771,19 @@ function Rn(e) {
|
|
|
748
771
|
throw e;
|
|
749
772
|
});
|
|
750
773
|
}
|
|
751
|
-
function
|
|
774
|
+
function It() {
|
|
752
775
|
}
|
|
753
|
-
function
|
|
776
|
+
function Pe(e) {
|
|
754
777
|
e();
|
|
755
778
|
}
|
|
756
779
|
var wr = function(e) {
|
|
757
|
-
|
|
780
|
+
q(t, e);
|
|
758
781
|
function t(r) {
|
|
759
782
|
var n = e.call(this) || this;
|
|
760
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
783
|
+
return n.isStopped = !1, r ? (n.destination = r, xr(r) && r.add(n)) : n.destination = kn, n;
|
|
761
784
|
}
|
|
762
785
|
return t.create = function(r, n, i) {
|
|
763
|
-
return new
|
|
786
|
+
return new at(r, n, i);
|
|
764
787
|
}, t.prototype.next = function(r) {
|
|
765
788
|
this.isStopped || this._next(r);
|
|
766
789
|
}, t.prototype.error = function(r) {
|
|
@@ -784,7 +807,11 @@ var wr = function(e) {
|
|
|
784
807
|
this.unsubscribe();
|
|
785
808
|
}
|
|
786
809
|
}, t;
|
|
787
|
-
}(
|
|
810
|
+
}(Fe), Un = Function.prototype.bind;
|
|
811
|
+
function Qe(e, t) {
|
|
812
|
+
return Un.call(e, t);
|
|
813
|
+
}
|
|
814
|
+
var Fn = function() {
|
|
788
815
|
function e(t) {
|
|
789
816
|
this.partialObserver = t;
|
|
790
817
|
}
|
|
@@ -794,7 +821,7 @@ var wr = function(e) {
|
|
|
794
821
|
try {
|
|
795
822
|
r.next(t);
|
|
796
823
|
} catch (n) {
|
|
797
|
-
|
|
824
|
+
Oe(n);
|
|
798
825
|
}
|
|
799
826
|
}, e.prototype.error = function(t) {
|
|
800
827
|
var r = this.partialObserver;
|
|
@@ -802,56 +829,68 @@ var wr = function(e) {
|
|
|
802
829
|
try {
|
|
803
830
|
r.error(t);
|
|
804
831
|
} catch (n) {
|
|
805
|
-
|
|
832
|
+
Oe(n);
|
|
806
833
|
}
|
|
807
834
|
else
|
|
808
|
-
|
|
835
|
+
Oe(t);
|
|
809
836
|
}, e.prototype.complete = function() {
|
|
810
837
|
var t = this.partialObserver;
|
|
811
838
|
if (t.complete)
|
|
812
839
|
try {
|
|
813
840
|
t.complete();
|
|
814
841
|
} catch (r) {
|
|
815
|
-
|
|
842
|
+
Oe(r);
|
|
816
843
|
}
|
|
817
844
|
}, e;
|
|
818
|
-
}(),
|
|
819
|
-
|
|
845
|
+
}(), at = function(e) {
|
|
846
|
+
q(t, e);
|
|
820
847
|
function t(r, n, i) {
|
|
821
848
|
var o = e.call(this) || this, a;
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
849
|
+
if (Z(r) || !r)
|
|
850
|
+
a = {
|
|
851
|
+
next: r ?? void 0,
|
|
852
|
+
error: n ?? void 0,
|
|
853
|
+
complete: i ?? void 0
|
|
854
|
+
};
|
|
855
|
+
else {
|
|
856
|
+
var s;
|
|
857
|
+
o && Er.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
858
|
+
return o.unsubscribe();
|
|
859
|
+
}, a = {
|
|
860
|
+
next: r.next && Qe(r.next, s),
|
|
861
|
+
error: r.error && Qe(r.error, s),
|
|
862
|
+
complete: r.complete && Qe(r.complete, s)
|
|
863
|
+
}) : a = r;
|
|
864
|
+
}
|
|
865
|
+
return o.destination = new Fn(a), o;
|
|
827
866
|
}
|
|
828
867
|
return t;
|
|
829
868
|
}(wr);
|
|
830
|
-
function
|
|
869
|
+
function Oe(e) {
|
|
831
870
|
Rn(e);
|
|
832
871
|
}
|
|
833
|
-
function
|
|
872
|
+
function Dn(e) {
|
|
834
873
|
throw e;
|
|
835
874
|
}
|
|
836
|
-
var
|
|
875
|
+
var kn = {
|
|
837
876
|
closed: !0,
|
|
838
|
-
next:
|
|
839
|
-
error:
|
|
840
|
-
complete:
|
|
841
|
-
},
|
|
877
|
+
next: It,
|
|
878
|
+
error: Dn,
|
|
879
|
+
complete: It
|
|
880
|
+
}, Gn = function() {
|
|
842
881
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
843
882
|
}();
|
|
844
|
-
function
|
|
883
|
+
function $n(e) {
|
|
845
884
|
return e;
|
|
846
885
|
}
|
|
847
|
-
function
|
|
848
|
-
return e.length === 0 ?
|
|
886
|
+
function jn(e) {
|
|
887
|
+
return e.length === 0 ? $n : e.length === 1 ? e[0] : function(r) {
|
|
849
888
|
return e.reduce(function(n, i) {
|
|
850
889
|
return i(n);
|
|
851
890
|
}, r);
|
|
852
891
|
};
|
|
853
892
|
}
|
|
854
|
-
var
|
|
893
|
+
var Ct = function() {
|
|
855
894
|
function e(t) {
|
|
856
895
|
t && (this._subscribe = t);
|
|
857
896
|
}
|
|
@@ -859,10 +898,10 @@ var Nt = function() {
|
|
|
859
898
|
var r = new e();
|
|
860
899
|
return r.source = this, r.operator = t, r;
|
|
861
900
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
862
|
-
var i = this, o =
|
|
863
|
-
return
|
|
864
|
-
var a = i, s = a.operator,
|
|
865
|
-
o.add(s ? s.call(o,
|
|
901
|
+
var i = this, o = Vn(t) ? t : new at(t, r, n);
|
|
902
|
+
return Pe(function() {
|
|
903
|
+
var a = i, s = a.operator, l = a.source;
|
|
904
|
+
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
866
905
|
}), o;
|
|
867
906
|
}, e.prototype._trySubscribe = function(t) {
|
|
868
907
|
try {
|
|
@@ -872,13 +911,13 @@ var Nt = function() {
|
|
|
872
911
|
}
|
|
873
912
|
}, e.prototype.forEach = function(t, r) {
|
|
874
913
|
var n = this;
|
|
875
|
-
return r =
|
|
876
|
-
var a = new
|
|
914
|
+
return r = Nt(r), new r(function(i, o) {
|
|
915
|
+
var a = new at({
|
|
877
916
|
next: function(s) {
|
|
878
917
|
try {
|
|
879
918
|
t(s);
|
|
880
|
-
} catch (
|
|
881
|
-
o(
|
|
919
|
+
} catch (l) {
|
|
920
|
+
o(l), a.unsubscribe();
|
|
882
921
|
}
|
|
883
922
|
},
|
|
884
923
|
error: o,
|
|
@@ -889,15 +928,15 @@ var Nt = function() {
|
|
|
889
928
|
}, e.prototype._subscribe = function(t) {
|
|
890
929
|
var r;
|
|
891
930
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
892
|
-
}, e.prototype[
|
|
931
|
+
}, e.prototype[Gn] = function() {
|
|
893
932
|
return this;
|
|
894
933
|
}, e.prototype.pipe = function() {
|
|
895
934
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
896
935
|
t[r] = arguments[r];
|
|
897
|
-
return
|
|
936
|
+
return jn(t)(this);
|
|
898
937
|
}, e.prototype.toPromise = function(t) {
|
|
899
938
|
var r = this;
|
|
900
|
-
return t =
|
|
939
|
+
return t = Nt(t), new t(function(n, i) {
|
|
901
940
|
var o;
|
|
902
941
|
r.subscribe(function(a) {
|
|
903
942
|
return o = a;
|
|
@@ -911,45 +950,45 @@ var Nt = function() {
|
|
|
911
950
|
return new e(t);
|
|
912
951
|
}, e;
|
|
913
952
|
}();
|
|
914
|
-
function
|
|
953
|
+
function Nt(e) {
|
|
915
954
|
var t;
|
|
916
|
-
return (t = e ??
|
|
917
|
-
}
|
|
918
|
-
function jn(e) {
|
|
919
|
-
return e && Q(e.next) && Q(e.error) && Q(e.complete);
|
|
955
|
+
return (t = e ?? Er.Promise) !== null && t !== void 0 ? t : Promise;
|
|
920
956
|
}
|
|
921
957
|
function Wn(e) {
|
|
922
|
-
return e && e
|
|
958
|
+
return e && Z(e.next) && Z(e.error) && Z(e.complete);
|
|
959
|
+
}
|
|
960
|
+
function Vn(e) {
|
|
961
|
+
return e && e instanceof wr || Wn(e) && xr(e);
|
|
923
962
|
}
|
|
924
|
-
var
|
|
963
|
+
var Xn = vr(function(e) {
|
|
925
964
|
return function() {
|
|
926
965
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
927
966
|
};
|
|
928
967
|
}), Sr = function(e) {
|
|
929
|
-
|
|
968
|
+
q(t, e);
|
|
930
969
|
function t() {
|
|
931
970
|
var r = e.call(this) || this;
|
|
932
971
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
933
972
|
}
|
|
934
973
|
return t.prototype.lift = function(r) {
|
|
935
|
-
var n = new
|
|
974
|
+
var n = new Rt(this, this);
|
|
936
975
|
return n.operator = r, n;
|
|
937
976
|
}, t.prototype._throwIfClosed = function() {
|
|
938
977
|
if (this.closed)
|
|
939
|
-
throw new
|
|
978
|
+
throw new Xn();
|
|
940
979
|
}, t.prototype.next = function(r) {
|
|
941
980
|
var n = this;
|
|
942
|
-
|
|
981
|
+
Pe(function() {
|
|
943
982
|
var i, o;
|
|
944
983
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
945
984
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
946
985
|
try {
|
|
947
|
-
for (var a =
|
|
948
|
-
var
|
|
949
|
-
|
|
986
|
+
for (var a = nt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
987
|
+
var l = s.value;
|
|
988
|
+
l.next(r);
|
|
950
989
|
}
|
|
951
|
-
} catch (
|
|
952
|
-
i = { error:
|
|
990
|
+
} catch (u) {
|
|
991
|
+
i = { error: u };
|
|
953
992
|
} finally {
|
|
954
993
|
try {
|
|
955
994
|
s && !s.done && (o = a.return) && o.call(a);
|
|
@@ -962,7 +1001,7 @@ var Vn = _r(function(e) {
|
|
|
962
1001
|
});
|
|
963
1002
|
}, t.prototype.error = function(r) {
|
|
964
1003
|
var n = this;
|
|
965
|
-
|
|
1004
|
+
Pe(function() {
|
|
966
1005
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
967
1006
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
968
1007
|
for (var i = n.observers; i.length; )
|
|
@@ -971,7 +1010,7 @@ var Vn = _r(function(e) {
|
|
|
971
1010
|
});
|
|
972
1011
|
}, t.prototype.complete = function() {
|
|
973
1012
|
var r = this;
|
|
974
|
-
|
|
1013
|
+
Pe(function() {
|
|
975
1014
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
976
1015
|
r.isStopped = !0;
|
|
977
1016
|
for (var n = r.observers; n.length; )
|
|
@@ -993,20 +1032,20 @@ var Vn = _r(function(e) {
|
|
|
993
1032
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
994
1033
|
}, t.prototype._innerSubscribe = function(r) {
|
|
995
1034
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
996
|
-
return o || a ?
|
|
997
|
-
n.currentObservers = null,
|
|
1035
|
+
return o || a ? _r : (this.currentObservers = null, s.push(r), new Fe(function() {
|
|
1036
|
+
n.currentObservers = null, ot(s, r);
|
|
998
1037
|
}));
|
|
999
1038
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1000
1039
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1001
1040
|
i ? r.error(o) : a && r.complete();
|
|
1002
1041
|
}, t.prototype.asObservable = function() {
|
|
1003
|
-
var r = new
|
|
1042
|
+
var r = new Ct();
|
|
1004
1043
|
return r.source = this, r;
|
|
1005
1044
|
}, t.create = function(r, n) {
|
|
1006
|
-
return new
|
|
1045
|
+
return new Rt(r, n);
|
|
1007
1046
|
}, t;
|
|
1008
|
-
}(
|
|
1009
|
-
|
|
1047
|
+
}(Ct), Rt = function(e) {
|
|
1048
|
+
q(t, e);
|
|
1010
1049
|
function t(r, n) {
|
|
1011
1050
|
var i = e.call(this) || this;
|
|
1012
1051
|
return i.destination = r, i.source = n, i;
|
|
@@ -1022,60 +1061,60 @@ var Vn = _r(function(e) {
|
|
|
1022
1061
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1023
1062
|
}, t.prototype._subscribe = function(r) {
|
|
1024
1063
|
var n, i;
|
|
1025
|
-
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 : _r;
|
|
1026
1065
|
}, t;
|
|
1027
1066
|
}(Sr), Hr = {
|
|
1028
1067
|
now: function() {
|
|
1029
1068
|
return (Hr.delegate || Date).now();
|
|
1030
1069
|
},
|
|
1031
1070
|
delegate: void 0
|
|
1032
|
-
},
|
|
1033
|
-
|
|
1071
|
+
}, zn = function(e) {
|
|
1072
|
+
q(t, e);
|
|
1034
1073
|
function t(r, n, i) {
|
|
1035
1074
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Hr);
|
|
1036
1075
|
var o = e.call(this) || this;
|
|
1037
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;
|
|
1038
1077
|
}
|
|
1039
1078
|
return t.prototype.next = function(r) {
|
|
1040
|
-
var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider,
|
|
1041
|
-
i || (o.push(r), !a && o.push(s.now() +
|
|
1079
|
+
var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
|
|
1080
|
+
i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1042
1081
|
}, t.prototype._subscribe = function(r) {
|
|
1043
1082
|
this._throwIfClosed(), this._trimBuffer();
|
|
1044
|
-
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(),
|
|
1045
|
-
r.next(s[
|
|
1083
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
|
|
1084
|
+
r.next(s[l]);
|
|
1046
1085
|
return this._checkFinalizedStatuses(r), n;
|
|
1047
1086
|
}, t.prototype._trimBuffer = function() {
|
|
1048
1087
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
|
|
1049
1088
|
if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
|
|
1050
|
-
for (var
|
|
1051
|
-
|
|
1052
|
-
|
|
1089
|
+
for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
|
|
1090
|
+
u = h;
|
|
1091
|
+
u && o.splice(0, u + 1);
|
|
1053
1092
|
}
|
|
1054
1093
|
}, t;
|
|
1055
1094
|
}(Sr);
|
|
1056
|
-
const
|
|
1057
|
-
if (
|
|
1058
|
-
const r = new
|
|
1059
|
-
|
|
1095
|
+
const Ut = [], Ft = {}, Zn = (e, t = 0) => {
|
|
1096
|
+
if (Ut.indexOf(e) == -1) {
|
|
1097
|
+
const r = new zn(t);
|
|
1098
|
+
Ft[e] = r, Ut.push(e);
|
|
1060
1099
|
}
|
|
1061
|
-
return
|
|
1100
|
+
return Ft[e];
|
|
1062
1101
|
}, oe = [];
|
|
1063
|
-
function
|
|
1102
|
+
function Qn(e, t) {
|
|
1064
1103
|
return {
|
|
1065
|
-
subscribe:
|
|
1104
|
+
subscribe: De(e, t).subscribe
|
|
1066
1105
|
};
|
|
1067
1106
|
}
|
|
1068
|
-
function
|
|
1107
|
+
function De(e, t = $) {
|
|
1069
1108
|
let r;
|
|
1070
1109
|
const n = /* @__PURE__ */ new Set();
|
|
1071
1110
|
function i(s) {
|
|
1072
1111
|
if (mr(e, s) && (e = s, r)) {
|
|
1073
|
-
const
|
|
1074
|
-
for (const
|
|
1075
|
-
|
|
1076
|
-
if (
|
|
1077
|
-
for (let
|
|
1078
|
-
oe[
|
|
1112
|
+
const l = !oe.length;
|
|
1113
|
+
for (const u of n)
|
|
1114
|
+
u[1](), oe.push(u, e);
|
|
1115
|
+
if (l) {
|
|
1116
|
+
for (let u = 0; u < oe.length; u += 2)
|
|
1117
|
+
oe[u][0](oe[u + 1]);
|
|
1079
1118
|
oe.length = 0;
|
|
1080
1119
|
}
|
|
1081
1120
|
}
|
|
@@ -1083,87 +1122,87 @@ function Ge(e, t = $) {
|
|
|
1083
1122
|
function o(s) {
|
|
1084
1123
|
i(s(e));
|
|
1085
1124
|
}
|
|
1086
|
-
function a(s,
|
|
1087
|
-
const
|
|
1088
|
-
return n.add(
|
|
1089
|
-
n.delete(
|
|
1125
|
+
function a(s, l = $) {
|
|
1126
|
+
const u = [s, l];
|
|
1127
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || $), s(e), () => {
|
|
1128
|
+
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1090
1129
|
};
|
|
1091
1130
|
}
|
|
1092
1131
|
return { set: i, update: o, subscribe: a };
|
|
1093
1132
|
}
|
|
1094
|
-
function
|
|
1133
|
+
function ge(e, t, r) {
|
|
1095
1134
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1096
1135
|
if (!i.every(Boolean))
|
|
1097
1136
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1098
1137
|
const o = t.length < 2;
|
|
1099
|
-
return
|
|
1100
|
-
let
|
|
1101
|
-
const
|
|
1102
|
-
let
|
|
1138
|
+
return Qn(r, (a, s) => {
|
|
1139
|
+
let l = !1;
|
|
1140
|
+
const u = [];
|
|
1141
|
+
let h = 0, c = $;
|
|
1103
1142
|
const f = () => {
|
|
1104
|
-
if (
|
|
1143
|
+
if (h)
|
|
1105
1144
|
return;
|
|
1106
|
-
|
|
1107
|
-
const
|
|
1108
|
-
o ? a(
|
|
1109
|
-
},
|
|
1110
|
-
(
|
|
1111
|
-
|
|
1112
|
-
(
|
|
1113
|
-
|
|
1145
|
+
c();
|
|
1146
|
+
const p = t(n ? u[0] : u, a, s);
|
|
1147
|
+
o ? a(p) : c = gt(p) ? p : $;
|
|
1148
|
+
}, m = i.map(
|
|
1149
|
+
(p, y) => gr(
|
|
1150
|
+
p,
|
|
1151
|
+
(S) => {
|
|
1152
|
+
u[y] = S, h &= ~(1 << y), l && f();
|
|
1114
1153
|
},
|
|
1115
1154
|
() => {
|
|
1116
|
-
|
|
1155
|
+
h |= 1 << y;
|
|
1117
1156
|
}
|
|
1118
1157
|
)
|
|
1119
1158
|
);
|
|
1120
|
-
return
|
|
1121
|
-
|
|
1159
|
+
return l = !0, f(), function() {
|
|
1160
|
+
de(m), c(), l = !1;
|
|
1122
1161
|
};
|
|
1123
1162
|
});
|
|
1124
1163
|
}
|
|
1125
|
-
var
|
|
1126
|
-
function
|
|
1164
|
+
var aa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1165
|
+
function qn(e) {
|
|
1127
1166
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1128
1167
|
}
|
|
1129
|
-
var
|
|
1130
|
-
return
|
|
1168
|
+
var Jn = function(t) {
|
|
1169
|
+
return Yn(t) && !Kn(t);
|
|
1131
1170
|
};
|
|
1132
|
-
function
|
|
1171
|
+
function Yn(e) {
|
|
1133
1172
|
return !!e && typeof e == "object";
|
|
1134
1173
|
}
|
|
1135
|
-
function
|
|
1174
|
+
function Kn(e) {
|
|
1136
1175
|
var t = Object.prototype.toString.call(e);
|
|
1137
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1138
|
-
}
|
|
1139
|
-
var Kn = typeof Symbol == "function" && Symbol.for, ei = Kn ? Symbol.for("react.element") : 60103;
|
|
1140
|
-
function ti(e) {
|
|
1141
|
-
return e.$$typeof === ei;
|
|
1176
|
+
return t === "[object RegExp]" || t === "[object Date]" || ri(e);
|
|
1142
1177
|
}
|
|
1178
|
+
var ei = typeof Symbol == "function" && Symbol.for, ti = ei ? Symbol.for("react.element") : 60103;
|
|
1143
1179
|
function ri(e) {
|
|
1180
|
+
return e.$$typeof === ti;
|
|
1181
|
+
}
|
|
1182
|
+
function ni(e) {
|
|
1144
1183
|
return Array.isArray(e) ? [] : {};
|
|
1145
1184
|
}
|
|
1146
|
-
function
|
|
1147
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ue(
|
|
1185
|
+
function xe(e, t) {
|
|
1186
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ue(ni(e), e, t) : e;
|
|
1148
1187
|
}
|
|
1149
|
-
function
|
|
1188
|
+
function ii(e, t, r) {
|
|
1150
1189
|
return e.concat(t).map(function(n) {
|
|
1151
|
-
return
|
|
1190
|
+
return xe(n, r);
|
|
1152
1191
|
});
|
|
1153
1192
|
}
|
|
1154
|
-
function
|
|
1193
|
+
function oi(e, t) {
|
|
1155
1194
|
if (!t.customMerge)
|
|
1156
1195
|
return ue;
|
|
1157
1196
|
var r = t.customMerge(e);
|
|
1158
1197
|
return typeof r == "function" ? r : ue;
|
|
1159
1198
|
}
|
|
1160
|
-
function
|
|
1199
|
+
function ai(e) {
|
|
1161
1200
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1162
1201
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1163
1202
|
}) : [];
|
|
1164
1203
|
}
|
|
1165
|
-
function
|
|
1166
|
-
return Object.keys(e).concat(
|
|
1204
|
+
function Dt(e) {
|
|
1205
|
+
return Object.keys(e).concat(ai(e));
|
|
1167
1206
|
}
|
|
1168
1207
|
function Tr(e, t) {
|
|
1169
1208
|
try {
|
|
@@ -1172,21 +1211,21 @@ function Tr(e, t) {
|
|
|
1172
1211
|
return !1;
|
|
1173
1212
|
}
|
|
1174
1213
|
}
|
|
1175
|
-
function
|
|
1214
|
+
function si(e, t) {
|
|
1176
1215
|
return Tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1177
1216
|
}
|
|
1178
|
-
function
|
|
1217
|
+
function li(e, t, r) {
|
|
1179
1218
|
var n = {};
|
|
1180
|
-
return r.isMergeableObject(e) &&
|
|
1181
|
-
n[i] =
|
|
1182
|
-
}),
|
|
1183
|
-
|
|
1219
|
+
return r.isMergeableObject(e) && Dt(e).forEach(function(i) {
|
|
1220
|
+
n[i] = xe(e[i], r);
|
|
1221
|
+
}), Dt(t).forEach(function(i) {
|
|
1222
|
+
si(e, i) || (Tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = oi(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
|
|
1184
1223
|
}), n;
|
|
1185
1224
|
}
|
|
1186
1225
|
function ue(e, t, r) {
|
|
1187
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1226
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ii, r.isMergeableObject = r.isMergeableObject || Jn, r.cloneUnlessOtherwiseSpecified = xe;
|
|
1188
1227
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1189
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1228
|
+
return o ? n ? r.arrayMerge(e, t, r) : li(e, t, r) : xe(t, r);
|
|
1190
1229
|
}
|
|
1191
1230
|
ue.all = function(t, r) {
|
|
1192
1231
|
if (!Array.isArray(t))
|
|
@@ -1195,52 +1234,10 @@ ue.all = function(t, r) {
|
|
|
1195
1234
|
return ue(n, i, r);
|
|
1196
1235
|
}, {});
|
|
1197
1236
|
};
|
|
1198
|
-
var ui = ue,
|
|
1199
|
-
const ci = /* @__PURE__ */
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
r.__proto__ = n;
|
|
1203
|
-
} || function(r, n) {
|
|
1204
|
-
for (var i in n)
|
|
1205
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1206
|
-
}, lt(e, t);
|
|
1207
|
-
};
|
|
1208
|
-
function $e(e, t) {
|
|
1209
|
-
if (typeof t != "function" && t !== null)
|
|
1210
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1211
|
-
lt(e, t);
|
|
1212
|
-
function r() {
|
|
1213
|
-
this.constructor = e;
|
|
1214
|
-
}
|
|
1215
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1216
|
-
}
|
|
1217
|
-
var X = function() {
|
|
1218
|
-
return X = Object.assign || function(t) {
|
|
1219
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1220
|
-
r = arguments[n];
|
|
1221
|
-
for (var o in r)
|
|
1222
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1223
|
-
}
|
|
1224
|
-
return t;
|
|
1225
|
-
}, X.apply(this, arguments);
|
|
1226
|
-
};
|
|
1227
|
-
function hi(e, t) {
|
|
1228
|
-
var r = {};
|
|
1229
|
-
for (var n in e)
|
|
1230
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1231
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1232
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1233
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1234
|
-
return r;
|
|
1235
|
-
}
|
|
1236
|
-
function qe(e, t, r) {
|
|
1237
|
-
if (r || arguments.length === 2)
|
|
1238
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1239
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1240
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1241
|
-
}
|
|
1242
|
-
function Je(e, t) {
|
|
1243
|
-
var r = t && t.cache ? t.cache : yi, n = t && t.serializer ? t.serializer : gi, i = t && t.strategy ? t.strategy : pi;
|
|
1237
|
+
var ui = ue, hi = ui;
|
|
1238
|
+
const ci = /* @__PURE__ */ qn(hi);
|
|
1239
|
+
function qe(e, t) {
|
|
1240
|
+
var r = t && t.cache ? t.cache : bi, n = t && t.serializer ? t.serializer : pi, i = t && t.strategy ? t.strategy : di;
|
|
1244
1241
|
return i(e, {
|
|
1245
1242
|
cache: r,
|
|
1246
1243
|
serializer: n
|
|
@@ -1249,103 +1246,95 @@ function Je(e, t) {
|
|
|
1249
1246
|
function fi(e) {
|
|
1250
1247
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1251
1248
|
}
|
|
1252
|
-
function
|
|
1249
|
+
function Or(e, t, r, n) {
|
|
1253
1250
|
var i = fi(n) ? n : r(n), o = t.get(i);
|
|
1254
1251
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1255
1252
|
}
|
|
1256
|
-
function
|
|
1253
|
+
function Mr(e, t, r) {
|
|
1257
1254
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1258
1255
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1259
1256
|
}
|
|
1260
|
-
function
|
|
1257
|
+
function pt(e, t, r, n, i) {
|
|
1261
1258
|
return r.bind(t, e, n, i);
|
|
1262
1259
|
}
|
|
1263
|
-
function
|
|
1264
|
-
var r = e.length === 1 ?
|
|
1265
|
-
return
|
|
1260
|
+
function di(e, t) {
|
|
1261
|
+
var r = e.length === 1 ? Or : Mr;
|
|
1262
|
+
return pt(e, this, r, t.cache.create(), t.serializer);
|
|
1266
1263
|
}
|
|
1267
1264
|
function mi(e, t) {
|
|
1268
|
-
return
|
|
1265
|
+
return pt(e, this, Mr, t.cache.create(), t.serializer);
|
|
1266
|
+
}
|
|
1267
|
+
function gi(e, t) {
|
|
1268
|
+
return pt(e, this, Or, t.cache.create(), t.serializer);
|
|
1269
1269
|
}
|
|
1270
|
-
var
|
|
1270
|
+
var pi = function() {
|
|
1271
1271
|
return JSON.stringify(arguments);
|
|
1272
|
-
}
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
}()
|
|
1284
|
-
), yi = {
|
|
1272
|
+
};
|
|
1273
|
+
function bt() {
|
|
1274
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1275
|
+
}
|
|
1276
|
+
bt.prototype.get = function(e) {
|
|
1277
|
+
return this.cache[e];
|
|
1278
|
+
};
|
|
1279
|
+
bt.prototype.set = function(e, t) {
|
|
1280
|
+
this.cache[e] = t;
|
|
1281
|
+
};
|
|
1282
|
+
var bi = {
|
|
1285
1283
|
create: function() {
|
|
1286
|
-
return new
|
|
1284
|
+
return new bt();
|
|
1287
1285
|
}
|
|
1288
|
-
},
|
|
1289
|
-
variadic: mi
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1293
|
-
r = arguments[n];
|
|
1294
|
-
for (var o in r)
|
|
1295
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1296
|
-
}
|
|
1297
|
-
return t;
|
|
1298
|
-
}, Ue.apply(this, arguments);
|
|
1299
|
-
};
|
|
1300
|
-
var _;
|
|
1286
|
+
}, Je = {
|
|
1287
|
+
variadic: mi,
|
|
1288
|
+
monadic: gi
|
|
1289
|
+
}, _;
|
|
1301
1290
|
(function(e) {
|
|
1302
1291
|
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";
|
|
1303
1292
|
})(_ || (_ = {}));
|
|
1304
|
-
var
|
|
1293
|
+
var O;
|
|
1305
1294
|
(function(e) {
|
|
1306
1295
|
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";
|
|
1307
|
-
})(
|
|
1308
|
-
var
|
|
1296
|
+
})(O || (O = {}));
|
|
1297
|
+
var he;
|
|
1309
1298
|
(function(e) {
|
|
1310
1299
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1311
|
-
})(
|
|
1312
|
-
function
|
|
1313
|
-
return e.type ===
|
|
1300
|
+
})(he || (he = {}));
|
|
1301
|
+
function kt(e) {
|
|
1302
|
+
return e.type === O.literal;
|
|
1314
1303
|
}
|
|
1315
|
-
function
|
|
1316
|
-
return e.type ===
|
|
1304
|
+
function yi(e) {
|
|
1305
|
+
return e.type === O.argument;
|
|
1317
1306
|
}
|
|
1318
1307
|
function Ar(e) {
|
|
1319
|
-
return e.type ===
|
|
1320
|
-
}
|
|
1321
|
-
function Pr(e) {
|
|
1322
|
-
return e.type === T.date;
|
|
1308
|
+
return e.type === O.number;
|
|
1323
1309
|
}
|
|
1324
1310
|
function Lr(e) {
|
|
1325
|
-
return e.type ===
|
|
1311
|
+
return e.type === O.date;
|
|
1312
|
+
}
|
|
1313
|
+
function Pr(e) {
|
|
1314
|
+
return e.type === O.time;
|
|
1326
1315
|
}
|
|
1327
1316
|
function Br(e) {
|
|
1328
|
-
return e.type ===
|
|
1317
|
+
return e.type === O.select;
|
|
1329
1318
|
}
|
|
1330
1319
|
function Ir(e) {
|
|
1331
|
-
return e.type ===
|
|
1320
|
+
return e.type === O.plural;
|
|
1332
1321
|
}
|
|
1333
|
-
function
|
|
1334
|
-
return e.type ===
|
|
1322
|
+
function vi(e) {
|
|
1323
|
+
return e.type === O.pound;
|
|
1335
1324
|
}
|
|
1336
1325
|
function Cr(e) {
|
|
1337
|
-
return e.type ===
|
|
1326
|
+
return e.type === O.tag;
|
|
1338
1327
|
}
|
|
1339
1328
|
function Nr(e) {
|
|
1340
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1329
|
+
return !!(e && typeof e == "object" && e.type === he.number);
|
|
1341
1330
|
}
|
|
1342
|
-
function
|
|
1343
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1331
|
+
function st(e) {
|
|
1332
|
+
return !!(e && typeof e == "object" && e.type === he.dateTime);
|
|
1344
1333
|
}
|
|
1345
|
-
var Rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
1346
|
-
function
|
|
1334
|
+
var Rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _i = /(?:[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;
|
|
1335
|
+
function xi(e) {
|
|
1347
1336
|
var t = {};
|
|
1348
|
-
return e.replace(
|
|
1337
|
+
return e.replace(_i, function(r) {
|
|
1349
1338
|
var n = r.length;
|
|
1350
1339
|
switch (r[0]) {
|
|
1351
1340
|
case "G":
|
|
@@ -1434,40 +1423,30 @@ function Ei(e) {
|
|
|
1434
1423
|
return "";
|
|
1435
1424
|
}), t;
|
|
1436
1425
|
}
|
|
1437
|
-
var
|
|
1438
|
-
|
|
1439
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1440
|
-
r = arguments[n];
|
|
1441
|
-
for (var o in r)
|
|
1442
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1443
|
-
}
|
|
1444
|
-
return t;
|
|
1445
|
-
}, A.apply(this, arguments);
|
|
1446
|
-
};
|
|
1447
|
-
var wi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1448
|
-
function Si(e) {
|
|
1426
|
+
var Ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1427
|
+
function wi(e) {
|
|
1449
1428
|
if (e.length === 0)
|
|
1450
1429
|
throw new Error("Number skeleton cannot be empty");
|
|
1451
|
-
for (var t = e.split(
|
|
1430
|
+
for (var t = e.split(Ei).filter(function(f) {
|
|
1452
1431
|
return f.length > 0;
|
|
1453
1432
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1454
1433
|
var o = i[n], a = o.split("/");
|
|
1455
1434
|
if (a.length === 0)
|
|
1456
1435
|
throw new Error("Invalid number skeleton");
|
|
1457
|
-
for (var s = a[0],
|
|
1458
|
-
var
|
|
1459
|
-
if (
|
|
1436
|
+
for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1437
|
+
var c = h[u];
|
|
1438
|
+
if (c.length === 0)
|
|
1460
1439
|
throw new Error("Invalid number skeleton");
|
|
1461
1440
|
}
|
|
1462
|
-
r.push({ stem: s, options:
|
|
1441
|
+
r.push({ stem: s, options: l });
|
|
1463
1442
|
}
|
|
1464
1443
|
return r;
|
|
1465
1444
|
}
|
|
1466
|
-
function
|
|
1445
|
+
function Si(e) {
|
|
1467
1446
|
return e.replace(/^(.*?)-/, "");
|
|
1468
1447
|
}
|
|
1469
|
-
var
|
|
1470
|
-
function
|
|
1448
|
+
var Gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ur = /^(@+)?(\+|#+)?[rs]?$/g, Hi = /(\*)(0+)|(#+)(0+)|(0+)/g, Fr = /^(0+)$/;
|
|
1449
|
+
function $t(e) {
|
|
1471
1450
|
var t = {};
|
|
1472
1451
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ur, function(r, n, i) {
|
|
1473
1452
|
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)), "";
|
|
@@ -1513,7 +1492,7 @@ function Dr(e) {
|
|
|
1513
1492
|
};
|
|
1514
1493
|
}
|
|
1515
1494
|
}
|
|
1516
|
-
function
|
|
1495
|
+
function Ti(e) {
|
|
1517
1496
|
var t;
|
|
1518
1497
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1519
1498
|
notation: "engineering"
|
|
@@ -1527,11 +1506,11 @@ function Oi(e) {
|
|
|
1527
1506
|
}
|
|
1528
1507
|
return t;
|
|
1529
1508
|
}
|
|
1530
|
-
function
|
|
1509
|
+
function jt(e) {
|
|
1531
1510
|
var t = {}, r = Dr(e);
|
|
1532
1511
|
return r || t;
|
|
1533
1512
|
}
|
|
1534
|
-
function
|
|
1513
|
+
function Oi(e) {
|
|
1535
1514
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1536
1515
|
var i = n[r];
|
|
1537
1516
|
switch (i.stem) {
|
|
@@ -1555,7 +1534,7 @@ function Mi(e) {
|
|
|
1555
1534
|
continue;
|
|
1556
1535
|
case "measure-unit":
|
|
1557
1536
|
case "unit":
|
|
1558
|
-
t.style = "unit", t.unit =
|
|
1537
|
+
t.style = "unit", t.unit = Si(i.options[0]);
|
|
1559
1538
|
continue;
|
|
1560
1539
|
case "compact-short":
|
|
1561
1540
|
case "K":
|
|
@@ -1566,13 +1545,13 @@ function Mi(e) {
|
|
|
1566
1545
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1567
1546
|
continue;
|
|
1568
1547
|
case "scientific":
|
|
1569
|
-
t =
|
|
1570
|
-
return
|
|
1548
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1549
|
+
return w(w({}, l), jt(u));
|
|
1571
1550
|
}, {}));
|
|
1572
1551
|
continue;
|
|
1573
1552
|
case "engineering":
|
|
1574
|
-
t =
|
|
1575
|
-
return
|
|
1553
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1554
|
+
return w(w({}, l), jt(u));
|
|
1576
1555
|
}, {}));
|
|
1577
1556
|
continue;
|
|
1578
1557
|
case "notation-simple":
|
|
@@ -1617,13 +1596,13 @@ function Mi(e) {
|
|
|
1617
1596
|
case "integer-width":
|
|
1618
1597
|
if (i.options.length > 1)
|
|
1619
1598
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1620
|
-
i.options[0].replace(
|
|
1621
|
-
if (
|
|
1622
|
-
t.minimumIntegerDigits =
|
|
1599
|
+
i.options[0].replace(Hi, function(l, u, h, c, f, m) {
|
|
1600
|
+
if (u)
|
|
1601
|
+
t.minimumIntegerDigits = h.length;
|
|
1623
1602
|
else {
|
|
1624
|
-
if (
|
|
1603
|
+
if (c && f)
|
|
1625
1604
|
throw new Error("We currently do not support maximum integer digits");
|
|
1626
|
-
if (
|
|
1605
|
+
if (m)
|
|
1627
1606
|
throw new Error("We currently do not support exact integer digits");
|
|
1628
1607
|
}
|
|
1629
1608
|
return "";
|
|
@@ -1634,28 +1613,28 @@ function Mi(e) {
|
|
|
1634
1613
|
t.minimumIntegerDigits = i.stem.length;
|
|
1635
1614
|
continue;
|
|
1636
1615
|
}
|
|
1637
|
-
if (
|
|
1616
|
+
if (Gt.test(i.stem)) {
|
|
1638
1617
|
if (i.options.length > 1)
|
|
1639
1618
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1640
|
-
i.stem.replace(
|
|
1641
|
-
return
|
|
1619
|
+
i.stem.replace(Gt, function(l, u, h, c, f, m) {
|
|
1620
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1642
1621
|
});
|
|
1643
1622
|
var o = i.options[0];
|
|
1644
|
-
o === "w" ? t =
|
|
1623
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), $t(o)));
|
|
1645
1624
|
continue;
|
|
1646
1625
|
}
|
|
1647
1626
|
if (Ur.test(i.stem)) {
|
|
1648
|
-
t =
|
|
1627
|
+
t = w(w({}, t), $t(i.stem));
|
|
1649
1628
|
continue;
|
|
1650
1629
|
}
|
|
1651
1630
|
var a = Dr(i.stem);
|
|
1652
|
-
a && (t =
|
|
1653
|
-
var s =
|
|
1654
|
-
s && (t =
|
|
1631
|
+
a && (t = w(w({}, t), a));
|
|
1632
|
+
var s = Ti(i.stem);
|
|
1633
|
+
s && (t = w(w({}, t), s));
|
|
1655
1634
|
}
|
|
1656
1635
|
return t;
|
|
1657
1636
|
}
|
|
1658
|
-
var
|
|
1637
|
+
var Me = {
|
|
1659
1638
|
"001": [
|
|
1660
1639
|
"H",
|
|
1661
1640
|
"h"
|
|
@@ -3070,23 +3049,23 @@ var Ae = {
|
|
|
3070
3049
|
"h"
|
|
3071
3050
|
]
|
|
3072
3051
|
};
|
|
3073
|
-
function
|
|
3052
|
+
function Mi(e, t) {
|
|
3074
3053
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3075
3054
|
var i = e.charAt(n);
|
|
3076
3055
|
if (i === "j") {
|
|
3077
3056
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3078
3057
|
o++, n++;
|
|
3079
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1),
|
|
3080
|
-
for ((
|
|
3081
|
-
r +=
|
|
3058
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ai(t);
|
|
3059
|
+
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3060
|
+
r += l;
|
|
3082
3061
|
for (; a-- > 0; )
|
|
3083
|
-
r =
|
|
3062
|
+
r = u + r;
|
|
3084
3063
|
} else
|
|
3085
3064
|
i === "J" ? r += "H" : r += i;
|
|
3086
3065
|
}
|
|
3087
3066
|
return r;
|
|
3088
3067
|
}
|
|
3089
|
-
function
|
|
3068
|
+
function Ai(e) {
|
|
3090
3069
|
var t = e.hourCycle;
|
|
3091
3070
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3092
3071
|
e.hourCycles && // @ts-ignore
|
|
@@ -3105,23 +3084,23 @@ function Pi(e) {
|
|
|
3105
3084
|
}
|
|
3106
3085
|
var r = e.language, n;
|
|
3107
3086
|
r !== "root" && (n = e.maximize().region);
|
|
3108
|
-
var i =
|
|
3087
|
+
var i = Me[n || ""] || Me[r || ""] || Me["".concat(r, "-001")] || Me["001"];
|
|
3109
3088
|
return i[0];
|
|
3110
3089
|
}
|
|
3111
|
-
var
|
|
3090
|
+
var Ye, Li = new RegExp("^".concat(Rr.source, "*")), Pi = new RegExp("".concat(Rr.source, "*$"));
|
|
3112
3091
|
function E(e, t) {
|
|
3113
3092
|
return { start: e, end: t };
|
|
3114
3093
|
}
|
|
3115
|
-
var
|
|
3094
|
+
var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ii = !!String.fromCodePoint, Ci = !!Object.fromEntries, Ni = !!String.prototype.codePointAt, Ri = !!String.prototype.trimStart, Ui = !!String.prototype.trimEnd, Fi = !!Number.isSafeInteger, Di = Fi ? Number.isSafeInteger : function(e) {
|
|
3116
3095
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3117
|
-
},
|
|
3096
|
+
}, lt = !0;
|
|
3118
3097
|
try {
|
|
3119
|
-
var
|
|
3120
|
-
|
|
3098
|
+
var ki = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3099
|
+
lt = ((Ye = ki.exec("a")) === null || Ye === void 0 ? void 0 : Ye[0]) === "a";
|
|
3121
3100
|
} catch {
|
|
3122
|
-
|
|
3101
|
+
lt = !1;
|
|
3123
3102
|
}
|
|
3124
|
-
var
|
|
3103
|
+
var Wt = Bi ? (
|
|
3125
3104
|
// Native
|
|
3126
3105
|
function(t, r, n) {
|
|
3127
3106
|
return t.startsWith(r, n);
|
|
@@ -3131,7 +3110,7 @@ var Vt = Ii ? (
|
|
|
3131
3110
|
function(t, r, n) {
|
|
3132
3111
|
return t.slice(n, n + r.length) === r;
|
|
3133
3112
|
}
|
|
3134
|
-
),
|
|
3113
|
+
), ut = Ii ? String.fromCodePoint : (
|
|
3135
3114
|
// IE11
|
|
3136
3115
|
function() {
|
|
3137
3116
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3143,9 +3122,9 @@ var Vt = Ii ? (
|
|
|
3143
3122
|
}
|
|
3144
3123
|
return n;
|
|
3145
3124
|
}
|
|
3146
|
-
),
|
|
3125
|
+
), Vt = (
|
|
3147
3126
|
// native
|
|
3148
|
-
|
|
3127
|
+
Ci ? Object.fromEntries : (
|
|
3149
3128
|
// Ponyfill
|
|
3150
3129
|
function(t) {
|
|
3151
3130
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3155,7 +3134,7 @@ var Vt = Ii ? (
|
|
|
3155
3134
|
return r;
|
|
3156
3135
|
}
|
|
3157
3136
|
)
|
|
3158
|
-
), kr =
|
|
3137
|
+
), kr = Ni ? (
|
|
3159
3138
|
// Native
|
|
3160
3139
|
function(t, r) {
|
|
3161
3140
|
return t.codePointAt(r);
|
|
@@ -3169,7 +3148,7 @@ var Vt = Ii ? (
|
|
|
3169
3148
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3170
3149
|
}
|
|
3171
3150
|
}
|
|
3172
|
-
),
|
|
3151
|
+
), Gi = Ri ? (
|
|
3173
3152
|
// Native
|
|
3174
3153
|
function(t) {
|
|
3175
3154
|
return t.trimStart();
|
|
@@ -3179,7 +3158,7 @@ var Vt = Ii ? (
|
|
|
3179
3158
|
function(t) {
|
|
3180
3159
|
return t.replace(Li, "");
|
|
3181
3160
|
}
|
|
3182
|
-
),
|
|
3161
|
+
), $i = Ui ? (
|
|
3183
3162
|
// Native
|
|
3184
3163
|
function(t) {
|
|
3185
3164
|
return t.trimEnd();
|
|
@@ -3187,32 +3166,32 @@ var Vt = Ii ? (
|
|
|
3187
3166
|
) : (
|
|
3188
3167
|
// Ponyfill
|
|
3189
3168
|
function(t) {
|
|
3190
|
-
return t.replace(
|
|
3169
|
+
return t.replace(Pi, "");
|
|
3191
3170
|
}
|
|
3192
3171
|
);
|
|
3193
3172
|
function Gr(e, t) {
|
|
3194
3173
|
return new RegExp(e, t);
|
|
3195
3174
|
}
|
|
3196
|
-
var
|
|
3197
|
-
if (
|
|
3198
|
-
var
|
|
3199
|
-
|
|
3175
|
+
var ht;
|
|
3176
|
+
if (lt) {
|
|
3177
|
+
var Xt = Gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3178
|
+
ht = function(t, r) {
|
|
3200
3179
|
var n;
|
|
3201
|
-
|
|
3202
|
-
var i =
|
|
3180
|
+
Xt.lastIndex = r;
|
|
3181
|
+
var i = Xt.exec(t);
|
|
3203
3182
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3204
3183
|
};
|
|
3205
3184
|
} else
|
|
3206
|
-
|
|
3185
|
+
ht = function(t, r) {
|
|
3207
3186
|
for (var n = []; ; ) {
|
|
3208
3187
|
var i = kr(t, r);
|
|
3209
|
-
if (i === void 0 || $r(i) ||
|
|
3188
|
+
if (i === void 0 || $r(i) || Xi(i))
|
|
3210
3189
|
break;
|
|
3211
3190
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3212
3191
|
}
|
|
3213
|
-
return
|
|
3192
|
+
return ut.apply(void 0, n);
|
|
3214
3193
|
};
|
|
3215
|
-
var
|
|
3194
|
+
var ji = (
|
|
3216
3195
|
/** @class */
|
|
3217
3196
|
function() {
|
|
3218
3197
|
function e(t, r) {
|
|
@@ -3236,14 +3215,14 @@ var Wi = (
|
|
|
3236
3215
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3237
3216
|
var s = this.clonePosition();
|
|
3238
3217
|
this.bump(), i.push({
|
|
3239
|
-
type:
|
|
3218
|
+
type: O.pound,
|
|
3240
3219
|
location: E(s, this.clonePosition())
|
|
3241
3220
|
});
|
|
3242
3221
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3243
3222
|
if (n)
|
|
3244
3223
|
break;
|
|
3245
3224
|
return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
3246
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3225
|
+
} else if (o === 60 && !this.ignoreTag && ct(this.peek() || 0)) {
|
|
3247
3226
|
var a = this.parseTag(t, r);
|
|
3248
3227
|
if (a.err)
|
|
3249
3228
|
return a;
|
|
@@ -3264,7 +3243,7 @@ var Wi = (
|
|
|
3264
3243
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3265
3244
|
return {
|
|
3266
3245
|
val: {
|
|
3267
|
-
type:
|
|
3246
|
+
type: O.literal,
|
|
3268
3247
|
value: "<".concat(i, "/>"),
|
|
3269
3248
|
location: E(n, this.clonePosition())
|
|
3270
3249
|
},
|
|
@@ -3276,12 +3255,12 @@ var Wi = (
|
|
|
3276
3255
|
return o;
|
|
3277
3256
|
var a = o.val, s = this.clonePosition();
|
|
3278
3257
|
if (this.bumpIf("</")) {
|
|
3279
|
-
if (this.isEOF() || !
|
|
3258
|
+
if (this.isEOF() || !ct(this.char()))
|
|
3280
3259
|
return this.error(_.INVALID_TAG, E(s, this.clonePosition()));
|
|
3281
|
-
var
|
|
3282
|
-
return i !==
|
|
3260
|
+
var l = this.clonePosition(), u = this.parseTagName();
|
|
3261
|
+
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3283
3262
|
val: {
|
|
3284
|
-
type:
|
|
3263
|
+
type: O.tag,
|
|
3285
3264
|
value: i,
|
|
3286
3265
|
children: a,
|
|
3287
3266
|
location: E(n, this.clonePosition())
|
|
@@ -3294,7 +3273,7 @@ var Wi = (
|
|
|
3294
3273
|
return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
|
|
3295
3274
|
}, e.prototype.parseTagName = function() {
|
|
3296
3275
|
var t = this.offset();
|
|
3297
|
-
for (this.bump(); !this.isEOF() &&
|
|
3276
|
+
for (this.bump(); !this.isEOF() && Vi(this.char()); )
|
|
3298
3277
|
this.bump();
|
|
3299
3278
|
return this.message.slice(t, this.offset());
|
|
3300
3279
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3316,14 +3295,14 @@ var Wi = (
|
|
|
3316
3295
|
}
|
|
3317
3296
|
break;
|
|
3318
3297
|
}
|
|
3319
|
-
var
|
|
3298
|
+
var l = E(n, this.clonePosition());
|
|
3320
3299
|
return {
|
|
3321
|
-
val: { type:
|
|
3300
|
+
val: { type: O.literal, value: i, location: l },
|
|
3322
3301
|
err: null
|
|
3323
3302
|
};
|
|
3324
3303
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3325
3304
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3326
|
-
!
|
|
3305
|
+
!Wi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3327
3306
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3328
3307
|
if (this.isEOF() || this.char() !== 39)
|
|
3329
3308
|
return null;
|
|
@@ -3357,12 +3336,12 @@ var Wi = (
|
|
|
3357
3336
|
r.push(n);
|
|
3358
3337
|
this.bump();
|
|
3359
3338
|
}
|
|
3360
|
-
return
|
|
3339
|
+
return ut.apply(void 0, r);
|
|
3361
3340
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3362
3341
|
if (this.isEOF())
|
|
3363
3342
|
return null;
|
|
3364
3343
|
var n = this.char();
|
|
3365
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3344
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ut(n));
|
|
3366
3345
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3367
3346
|
var n = this.clonePosition();
|
|
3368
3347
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3378,7 +3357,7 @@ var Wi = (
|
|
|
3378
3357
|
case 125:
|
|
3379
3358
|
return this.bump(), {
|
|
3380
3359
|
val: {
|
|
3381
|
-
type:
|
|
3360
|
+
type: O.argument,
|
|
3382
3361
|
// value does not include the opening and closing braces.
|
|
3383
3362
|
value: i,
|
|
3384
3363
|
location: E(n, this.clonePosition())
|
|
@@ -3391,54 +3370,54 @@ var Wi = (
|
|
|
3391
3370
|
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3392
3371
|
}
|
|
3393
3372
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3394
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3373
|
+
var t = this.clonePosition(), r = this.offset(), n = ht(this.message, r), i = r + n.length;
|
|
3395
3374
|
this.bumpTo(i);
|
|
3396
3375
|
var o = this.clonePosition(), a = E(t, o);
|
|
3397
3376
|
return { value: n, location: a };
|
|
3398
3377
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3399
|
-
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value,
|
|
3378
|
+
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3400
3379
|
switch (s) {
|
|
3401
3380
|
case "":
|
|
3402
|
-
return this.error(_.EXPECT_ARGUMENT_TYPE, E(a,
|
|
3381
|
+
return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, l));
|
|
3403
3382
|
case "number":
|
|
3404
3383
|
case "date":
|
|
3405
3384
|
case "time": {
|
|
3406
3385
|
this.bumpSpace();
|
|
3407
|
-
var
|
|
3386
|
+
var u = null;
|
|
3408
3387
|
if (this.bumpIf(",")) {
|
|
3409
3388
|
this.bumpSpace();
|
|
3410
|
-
var
|
|
3411
|
-
if (
|
|
3412
|
-
return
|
|
3413
|
-
var f =
|
|
3389
|
+
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3390
|
+
if (c.err)
|
|
3391
|
+
return c;
|
|
3392
|
+
var f = $i(c.val);
|
|
3414
3393
|
if (f.length === 0)
|
|
3415
3394
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3416
|
-
var
|
|
3417
|
-
|
|
3395
|
+
var m = E(h, this.clonePosition());
|
|
3396
|
+
u = { style: f, styleLocation: m };
|
|
3418
3397
|
}
|
|
3419
|
-
var
|
|
3420
|
-
if (
|
|
3421
|
-
return
|
|
3398
|
+
var p = this.tryParseArgumentClose(i);
|
|
3399
|
+
if (p.err)
|
|
3400
|
+
return p;
|
|
3422
3401
|
var y = E(i, this.clonePosition());
|
|
3423
|
-
if (
|
|
3424
|
-
var
|
|
3402
|
+
if (u && Wt(u?.style, "::", 0)) {
|
|
3403
|
+
var S = Gi(u.style.slice(2));
|
|
3425
3404
|
if (s === "number") {
|
|
3426
|
-
var
|
|
3427
|
-
return
|
|
3428
|
-
val: { type:
|
|
3405
|
+
var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
3406
|
+
return c.err ? c : {
|
|
3407
|
+
val: { type: O.number, value: n, location: y, style: c.val },
|
|
3429
3408
|
err: null
|
|
3430
3409
|
};
|
|
3431
3410
|
} else {
|
|
3432
|
-
if (
|
|
3411
|
+
if (S.length === 0)
|
|
3433
3412
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, y);
|
|
3434
|
-
var
|
|
3435
|
-
this.locale && (
|
|
3413
|
+
var T = S;
|
|
3414
|
+
this.locale && (T = Mi(S, this.locale));
|
|
3436
3415
|
var f = {
|
|
3437
|
-
type:
|
|
3438
|
-
pattern:
|
|
3439
|
-
location:
|
|
3440
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3441
|
-
}, B = s === "date" ?
|
|
3416
|
+
type: he.dateTime,
|
|
3417
|
+
pattern: T,
|
|
3418
|
+
location: u.styleLocation,
|
|
3419
|
+
parsedOptions: this.shouldParseSkeletons ? xi(T) : {}
|
|
3420
|
+
}, B = s === "date" ? O.date : O.time;
|
|
3442
3421
|
return {
|
|
3443
3422
|
val: { type: B, value: n, location: y, style: f },
|
|
3444
3423
|
err: null
|
|
@@ -3447,10 +3426,10 @@ var Wi = (
|
|
|
3447
3426
|
}
|
|
3448
3427
|
return {
|
|
3449
3428
|
val: {
|
|
3450
|
-
type: s === "number" ?
|
|
3429
|
+
type: s === "number" ? O.number : s === "date" ? O.date : O.time,
|
|
3451
3430
|
value: n,
|
|
3452
3431
|
location: y,
|
|
3453
|
-
style: (o =
|
|
3432
|
+
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3454
3433
|
},
|
|
3455
3434
|
err: null
|
|
3456
3435
|
};
|
|
@@ -3458,49 +3437,49 @@ var Wi = (
|
|
|
3458
3437
|
case "plural":
|
|
3459
3438
|
case "selectordinal":
|
|
3460
3439
|
case "select": {
|
|
3461
|
-
var
|
|
3440
|
+
var L = this.clonePosition();
|
|
3462
3441
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3463
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(
|
|
3442
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(L, w({}, L)));
|
|
3464
3443
|
this.bumpSpace();
|
|
3465
3444
|
var G = this.parseIdentifierIfPossible(), C = 0;
|
|
3466
3445
|
if (s !== "select" && G.value === "offset") {
|
|
3467
3446
|
if (!this.bumpIf(":"))
|
|
3468
3447
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
|
|
3469
3448
|
this.bumpSpace();
|
|
3470
|
-
var
|
|
3471
|
-
if (
|
|
3472
|
-
return
|
|
3473
|
-
this.bumpSpace(), G = this.parseIdentifierIfPossible(), C =
|
|
3449
|
+
var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3450
|
+
if (c.err)
|
|
3451
|
+
return c;
|
|
3452
|
+
this.bumpSpace(), G = this.parseIdentifierIfPossible(), C = c.val;
|
|
3474
3453
|
}
|
|
3475
3454
|
var V = this.tryParsePluralOrSelectOptions(t, s, r, G);
|
|
3476
3455
|
if (V.err)
|
|
3477
3456
|
return V;
|
|
3478
|
-
var
|
|
3479
|
-
if (
|
|
3480
|
-
return
|
|
3481
|
-
var
|
|
3457
|
+
var p = this.tryParseArgumentClose(i);
|
|
3458
|
+
if (p.err)
|
|
3459
|
+
return p;
|
|
3460
|
+
var X = E(i, this.clonePosition());
|
|
3482
3461
|
return s === "select" ? {
|
|
3483
3462
|
val: {
|
|
3484
|
-
type:
|
|
3463
|
+
type: O.select,
|
|
3485
3464
|
value: n,
|
|
3486
|
-
options:
|
|
3487
|
-
location:
|
|
3465
|
+
options: Vt(V.val),
|
|
3466
|
+
location: X
|
|
3488
3467
|
},
|
|
3489
3468
|
err: null
|
|
3490
3469
|
} : {
|
|
3491
3470
|
val: {
|
|
3492
|
-
type:
|
|
3471
|
+
type: O.plural,
|
|
3493
3472
|
value: n,
|
|
3494
|
-
options:
|
|
3473
|
+
options: Vt(V.val),
|
|
3495
3474
|
offset: C,
|
|
3496
3475
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3497
|
-
location:
|
|
3476
|
+
location: X
|
|
3498
3477
|
},
|
|
3499
3478
|
err: null
|
|
3500
3479
|
};
|
|
3501
3480
|
}
|
|
3502
3481
|
default:
|
|
3503
|
-
return this.error(_.INVALID_ARGUMENT_TYPE, E(a,
|
|
3482
|
+
return this.error(_.INVALID_ARGUMENT_TYPE, E(a, l));
|
|
3504
3483
|
}
|
|
3505
3484
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3506
3485
|
return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3542,50 +3521,50 @@ var Wi = (
|
|
|
3542
3521
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3543
3522
|
var n = [];
|
|
3544
3523
|
try {
|
|
3545
|
-
n =
|
|
3524
|
+
n = wi(t);
|
|
3546
3525
|
} catch {
|
|
3547
3526
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3548
3527
|
}
|
|
3549
3528
|
return {
|
|
3550
3529
|
val: {
|
|
3551
|
-
type:
|
|
3530
|
+
type: he.number,
|
|
3552
3531
|
tokens: n,
|
|
3553
3532
|
location: r,
|
|
3554
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3533
|
+
parsedOptions: this.shouldParseSkeletons ? Oi(n) : {}
|
|
3555
3534
|
},
|
|
3556
3535
|
err: null
|
|
3557
3536
|
};
|
|
3558
3537
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3559
|
-
for (var o, a = !1, s = [],
|
|
3560
|
-
if (
|
|
3561
|
-
var
|
|
3538
|
+
for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3539
|
+
if (u.length === 0) {
|
|
3540
|
+
var c = this.clonePosition();
|
|
3562
3541
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3563
3542
|
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3564
3543
|
if (f.err)
|
|
3565
3544
|
return f;
|
|
3566
|
-
|
|
3545
|
+
h = E(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3567
3546
|
} else
|
|
3568
3547
|
break;
|
|
3569
3548
|
}
|
|
3570
|
-
if (
|
|
3571
|
-
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3572
|
-
|
|
3573
|
-
var
|
|
3549
|
+
if (l.has(u))
|
|
3550
|
+
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3551
|
+
u === "other" && (a = !0), this.bumpSpace();
|
|
3552
|
+
var m = this.clonePosition();
|
|
3574
3553
|
if (!this.bumpIf("{"))
|
|
3575
3554
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
|
|
3576
|
-
var
|
|
3577
|
-
if (
|
|
3578
|
-
return
|
|
3579
|
-
var y = this.tryParseArgumentClose(
|
|
3555
|
+
var p = this.parseMessage(t + 1, r, n);
|
|
3556
|
+
if (p.err)
|
|
3557
|
+
return p;
|
|
3558
|
+
var y = this.tryParseArgumentClose(m);
|
|
3580
3559
|
if (y.err)
|
|
3581
3560
|
return y;
|
|
3582
3561
|
s.push([
|
|
3583
|
-
|
|
3562
|
+
u,
|
|
3584
3563
|
{
|
|
3585
|
-
value:
|
|
3586
|
-
location: E(
|
|
3564
|
+
value: p.val,
|
|
3565
|
+
location: E(m, this.clonePosition())
|
|
3587
3566
|
}
|
|
3588
|
-
]),
|
|
3567
|
+
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3589
3568
|
}
|
|
3590
3569
|
return s.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3591
3570
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
@@ -3598,8 +3577,8 @@ var Wi = (
|
|
|
3598
3577
|
else
|
|
3599
3578
|
break;
|
|
3600
3579
|
}
|
|
3601
|
-
var
|
|
3602
|
-
return o ? (a *= n,
|
|
3580
|
+
var l = E(i, this.clonePosition());
|
|
3581
|
+
return o ? (a *= n, Di(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3603
3582
|
}, e.prototype.offset = function() {
|
|
3604
3583
|
return this.position.offset;
|
|
3605
3584
|
}, e.prototype.isEOF = function() {
|
|
@@ -3633,7 +3612,7 @@ var Wi = (
|
|
|
3633
3612
|
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);
|
|
3634
3613
|
}
|
|
3635
3614
|
}, e.prototype.bumpIf = function(t) {
|
|
3636
|
-
if (
|
|
3615
|
+
if (Wt(this.message, t, this.offset())) {
|
|
3637
3616
|
for (var r = 0; r < t.length; r++)
|
|
3638
3617
|
this.bump();
|
|
3639
3618
|
return !0;
|
|
@@ -3665,47 +3644,47 @@ var Wi = (
|
|
|
3665
3644
|
}, e;
|
|
3666
3645
|
}()
|
|
3667
3646
|
);
|
|
3668
|
-
function
|
|
3647
|
+
function ct(e) {
|
|
3669
3648
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3670
3649
|
}
|
|
3671
|
-
function
|
|
3672
|
-
return
|
|
3650
|
+
function Wi(e) {
|
|
3651
|
+
return ct(e) || e === 47;
|
|
3673
3652
|
}
|
|
3674
|
-
function
|
|
3653
|
+
function Vi(e) {
|
|
3675
3654
|
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;
|
|
3676
3655
|
}
|
|
3677
3656
|
function $r(e) {
|
|
3678
3657
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3679
3658
|
}
|
|
3680
|
-
function
|
|
3659
|
+
function Xi(e) {
|
|
3681
3660
|
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;
|
|
3682
3661
|
}
|
|
3683
|
-
function
|
|
3662
|
+
function ft(e) {
|
|
3684
3663
|
e.forEach(function(t) {
|
|
3685
3664
|
if (delete t.location, Br(t) || Ir(t))
|
|
3686
3665
|
for (var r in t.options)
|
|
3687
|
-
delete t.options[r].location,
|
|
3666
|
+
delete t.options[r].location, ft(t.options[r].value);
|
|
3688
3667
|
else
|
|
3689
|
-
Ar(t) && Nr(t.style) || (
|
|
3668
|
+
Ar(t) && Nr(t.style) || (Lr(t) || Pr(t)) && st(t.style) ? delete t.style.location : Cr(t) && ft(t.children);
|
|
3690
3669
|
});
|
|
3691
3670
|
}
|
|
3692
|
-
function
|
|
3693
|
-
t === void 0 && (t = {}), t =
|
|
3694
|
-
var r = new
|
|
3671
|
+
function zi(e, t) {
|
|
3672
|
+
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3673
|
+
var r = new ji(e, t).parse();
|
|
3695
3674
|
if (r.err) {
|
|
3696
3675
|
var n = SyntaxError(_[r.err.kind]);
|
|
3697
3676
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3698
3677
|
}
|
|
3699
|
-
return t?.captureLocation ||
|
|
3678
|
+
return t?.captureLocation || ft(r.val), r.val;
|
|
3700
3679
|
}
|
|
3701
3680
|
var ce;
|
|
3702
3681
|
(function(e) {
|
|
3703
3682
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3704
3683
|
})(ce || (ce = {}));
|
|
3705
|
-
var
|
|
3684
|
+
var ke = (
|
|
3706
3685
|
/** @class */
|
|
3707
3686
|
function(e) {
|
|
3708
|
-
|
|
3687
|
+
q(t, e);
|
|
3709
3688
|
function t(r, n, i) {
|
|
3710
3689
|
var o = e.call(this, r) || this;
|
|
3711
3690
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3714,110 +3693,110 @@ var je = (
|
|
|
3714
3693
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3715
3694
|
}, t;
|
|
3716
3695
|
}(Error)
|
|
3717
|
-
),
|
|
3696
|
+
), zt = (
|
|
3718
3697
|
/** @class */
|
|
3719
3698
|
function(e) {
|
|
3720
|
-
|
|
3699
|
+
q(t, e);
|
|
3721
3700
|
function t(r, n, i, o) {
|
|
3722
3701
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, o) || this;
|
|
3723
3702
|
}
|
|
3724
3703
|
return t;
|
|
3725
|
-
}(
|
|
3726
|
-
),
|
|
3704
|
+
}(ke)
|
|
3705
|
+
), Zi = (
|
|
3727
3706
|
/** @class */
|
|
3728
3707
|
function(e) {
|
|
3729
|
-
|
|
3708
|
+
q(t, e);
|
|
3730
3709
|
function t(r, n, i) {
|
|
3731
3710
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ce.INVALID_VALUE, i) || this;
|
|
3732
3711
|
}
|
|
3733
3712
|
return t;
|
|
3734
|
-
}(
|
|
3735
|
-
),
|
|
3713
|
+
}(ke)
|
|
3714
|
+
), Qi = (
|
|
3736
3715
|
/** @class */
|
|
3737
3716
|
function(e) {
|
|
3738
|
-
|
|
3717
|
+
q(t, e);
|
|
3739
3718
|
function t(r, n) {
|
|
3740
3719
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ce.MISSING_VALUE, n) || this;
|
|
3741
3720
|
}
|
|
3742
3721
|
return t;
|
|
3743
|
-
}(
|
|
3722
|
+
}(ke)
|
|
3744
3723
|
), k;
|
|
3745
3724
|
(function(e) {
|
|
3746
3725
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3747
3726
|
})(k || (k = {}));
|
|
3748
|
-
function
|
|
3727
|
+
function qi(e) {
|
|
3749
3728
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3750
3729
|
var n = t[t.length - 1];
|
|
3751
3730
|
return !n || n.type !== k.literal || r.type !== k.literal ? t.push(r) : n.value += r.value, t;
|
|
3752
3731
|
}, []);
|
|
3753
3732
|
}
|
|
3754
|
-
function
|
|
3733
|
+
function Ji(e) {
|
|
3755
3734
|
return typeof e == "function";
|
|
3756
3735
|
}
|
|
3757
|
-
function
|
|
3758
|
-
if (e.length === 1 &&
|
|
3736
|
+
function Be(e, t, r, n, i, o, a) {
|
|
3737
|
+
if (e.length === 1 && kt(e[0]))
|
|
3759
3738
|
return [
|
|
3760
3739
|
{
|
|
3761
3740
|
type: k.literal,
|
|
3762
3741
|
value: e[0].value
|
|
3763
3742
|
}
|
|
3764
3743
|
];
|
|
3765
|
-
for (var s = [],
|
|
3766
|
-
var
|
|
3767
|
-
if (
|
|
3744
|
+
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3745
|
+
var h = u[l];
|
|
3746
|
+
if (kt(h)) {
|
|
3768
3747
|
s.push({
|
|
3769
3748
|
type: k.literal,
|
|
3770
|
-
value:
|
|
3749
|
+
value: h.value
|
|
3771
3750
|
});
|
|
3772
3751
|
continue;
|
|
3773
3752
|
}
|
|
3774
|
-
if (
|
|
3753
|
+
if (vi(h)) {
|
|
3775
3754
|
typeof o == "number" && s.push({
|
|
3776
3755
|
type: k.literal,
|
|
3777
3756
|
value: r.getNumberFormat(t).format(o)
|
|
3778
3757
|
});
|
|
3779
3758
|
continue;
|
|
3780
3759
|
}
|
|
3781
|
-
var
|
|
3782
|
-
if (!(i &&
|
|
3783
|
-
throw new
|
|
3784
|
-
var f = i[
|
|
3785
|
-
if (
|
|
3760
|
+
var c = h.value;
|
|
3761
|
+
if (!(i && c in i))
|
|
3762
|
+
throw new Qi(c, a);
|
|
3763
|
+
var f = i[c];
|
|
3764
|
+
if (yi(h)) {
|
|
3786
3765
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3787
3766
|
type: typeof f == "string" ? k.literal : k.object,
|
|
3788
3767
|
value: f
|
|
3789
3768
|
});
|
|
3790
3769
|
continue;
|
|
3791
3770
|
}
|
|
3792
|
-
if (
|
|
3793
|
-
var
|
|
3771
|
+
if (Lr(h)) {
|
|
3772
|
+
var m = typeof h.style == "string" ? n.date[h.style] : st(h.style) ? h.style.parsedOptions : void 0;
|
|
3794
3773
|
s.push({
|
|
3795
3774
|
type: k.literal,
|
|
3796
|
-
value: r.getDateTimeFormat(t,
|
|
3775
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3797
3776
|
});
|
|
3798
3777
|
continue;
|
|
3799
3778
|
}
|
|
3800
|
-
if (
|
|
3801
|
-
var
|
|
3779
|
+
if (Pr(h)) {
|
|
3780
|
+
var m = typeof h.style == "string" ? n.time[h.style] : st(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3802
3781
|
s.push({
|
|
3803
3782
|
type: k.literal,
|
|
3804
|
-
value: r.getDateTimeFormat(t,
|
|
3783
|
+
value: r.getDateTimeFormat(t, m).format(f)
|
|
3805
3784
|
});
|
|
3806
3785
|
continue;
|
|
3807
3786
|
}
|
|
3808
|
-
if (Ar(
|
|
3809
|
-
var
|
|
3810
|
-
|
|
3787
|
+
if (Ar(h)) {
|
|
3788
|
+
var m = typeof h.style == "string" ? n.number[h.style] : Nr(h.style) ? h.style.parsedOptions : void 0;
|
|
3789
|
+
m && m.scale && (f = f * (m.scale || 1)), s.push({
|
|
3811
3790
|
type: k.literal,
|
|
3812
|
-
value: r.getNumberFormat(t,
|
|
3791
|
+
value: r.getNumberFormat(t, m).format(f)
|
|
3813
3792
|
});
|
|
3814
3793
|
continue;
|
|
3815
3794
|
}
|
|
3816
|
-
if (Cr(
|
|
3817
|
-
var
|
|
3818
|
-
if (!
|
|
3819
|
-
throw new
|
|
3820
|
-
var
|
|
3795
|
+
if (Cr(h)) {
|
|
3796
|
+
var p = h.children, y = h.value, S = i[y];
|
|
3797
|
+
if (!Ji(S))
|
|
3798
|
+
throw new Zi(y, "function", a);
|
|
3799
|
+
var T = Be(p, t, r, n, i, o), B = S(T.map(function(C) {
|
|
3821
3800
|
return C.value;
|
|
3822
3801
|
}));
|
|
3823
3802
|
Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(C) {
|
|
@@ -3827,42 +3806,42 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3827
3806
|
};
|
|
3828
3807
|
}));
|
|
3829
3808
|
}
|
|
3830
|
-
if (Br(
|
|
3831
|
-
var
|
|
3832
|
-
if (!
|
|
3833
|
-
throw new
|
|
3834
|
-
s.push.apply(s,
|
|
3809
|
+
if (Br(h)) {
|
|
3810
|
+
var L = h.options[f] || h.options.other;
|
|
3811
|
+
if (!L)
|
|
3812
|
+
throw new zt(h.value, f, Object.keys(h.options), a);
|
|
3813
|
+
s.push.apply(s, Be(L.value, t, r, n, i));
|
|
3835
3814
|
continue;
|
|
3836
3815
|
}
|
|
3837
|
-
if (Ir(
|
|
3838
|
-
var
|
|
3839
|
-
if (!
|
|
3816
|
+
if (Ir(h)) {
|
|
3817
|
+
var L = h.options["=".concat(f)];
|
|
3818
|
+
if (!L) {
|
|
3840
3819
|
if (!Intl.PluralRules)
|
|
3841
|
-
throw new
|
|
3820
|
+
throw new ke(`Intl.PluralRules is not available in this environment.
|
|
3842
3821
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3843
3822
|
`, ce.MISSING_INTL_API, a);
|
|
3844
|
-
var G = r.getPluralRules(t, { type:
|
|
3845
|
-
|
|
3823
|
+
var G = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3824
|
+
L = h.options[G] || h.options.other;
|
|
3846
3825
|
}
|
|
3847
|
-
if (!
|
|
3848
|
-
throw new
|
|
3849
|
-
s.push.apply(s,
|
|
3826
|
+
if (!L)
|
|
3827
|
+
throw new zt(h.value, f, Object.keys(h.options), a);
|
|
3828
|
+
s.push.apply(s, Be(L.value, t, r, n, i, f - (h.offset || 0)));
|
|
3850
3829
|
continue;
|
|
3851
3830
|
}
|
|
3852
3831
|
}
|
|
3853
|
-
return
|
|
3832
|
+
return qi(s);
|
|
3854
3833
|
}
|
|
3855
|
-
function
|
|
3856
|
-
return t ?
|
|
3857
|
-
return r[n] =
|
|
3834
|
+
function Yi(e, t) {
|
|
3835
|
+
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3836
|
+
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3858
3837
|
}, {})) : e;
|
|
3859
3838
|
}
|
|
3860
|
-
function
|
|
3839
|
+
function Ki(e, t) {
|
|
3861
3840
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3862
|
-
return r[n] =
|
|
3863
|
-
},
|
|
3841
|
+
return r[n] = Yi(e[n], t[n]), r;
|
|
3842
|
+
}, w({}, e)) : e;
|
|
3864
3843
|
}
|
|
3865
|
-
function
|
|
3844
|
+
function Ke(e) {
|
|
3866
3845
|
return {
|
|
3867
3846
|
create: function() {
|
|
3868
3847
|
return {
|
|
@@ -3876,39 +3855,39 @@ function et(e) {
|
|
|
3876
3855
|
}
|
|
3877
3856
|
};
|
|
3878
3857
|
}
|
|
3879
|
-
function
|
|
3858
|
+
function eo(e) {
|
|
3880
3859
|
return e === void 0 && (e = {
|
|
3881
3860
|
number: {},
|
|
3882
3861
|
dateTime: {},
|
|
3883
3862
|
pluralRules: {}
|
|
3884
3863
|
}), {
|
|
3885
|
-
getNumberFormat:
|
|
3864
|
+
getNumberFormat: qe(function() {
|
|
3886
3865
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3887
3866
|
r[n] = arguments[n];
|
|
3888
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3867
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, le([void 0], r, !1)))();
|
|
3889
3868
|
}, {
|
|
3890
|
-
cache:
|
|
3891
|
-
strategy:
|
|
3869
|
+
cache: Ke(e.number),
|
|
3870
|
+
strategy: Je.variadic
|
|
3892
3871
|
}),
|
|
3893
|
-
getDateTimeFormat:
|
|
3872
|
+
getDateTimeFormat: qe(function() {
|
|
3894
3873
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3895
3874
|
r[n] = arguments[n];
|
|
3896
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3875
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, le([void 0], r, !1)))();
|
|
3897
3876
|
}, {
|
|
3898
|
-
cache:
|
|
3899
|
-
strategy:
|
|
3877
|
+
cache: Ke(e.dateTime),
|
|
3878
|
+
strategy: Je.variadic
|
|
3900
3879
|
}),
|
|
3901
|
-
getPluralRules:
|
|
3880
|
+
getPluralRules: qe(function() {
|
|
3902
3881
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3903
3882
|
r[n] = arguments[n];
|
|
3904
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3883
|
+
return new ((t = Intl.PluralRules).bind.apply(t, le([void 0], r, !1)))();
|
|
3905
3884
|
}, {
|
|
3906
|
-
cache:
|
|
3907
|
-
strategy:
|
|
3885
|
+
cache: Ke(e.pluralRules),
|
|
3886
|
+
strategy: Je.variadic
|
|
3908
3887
|
})
|
|
3909
3888
|
};
|
|
3910
3889
|
}
|
|
3911
|
-
var
|
|
3890
|
+
var to = (
|
|
3912
3891
|
/** @class */
|
|
3913
3892
|
function() {
|
|
3914
3893
|
function e(t, r, n, i) {
|
|
@@ -3918,20 +3897,20 @@ var ro = (
|
|
|
3918
3897
|
number: {},
|
|
3919
3898
|
dateTime: {},
|
|
3920
3899
|
pluralRules: {}
|
|
3921
|
-
}, this.format = function(
|
|
3922
|
-
var
|
|
3923
|
-
if (
|
|
3924
|
-
return
|
|
3925
|
-
var
|
|
3926
|
-
return !
|
|
3900
|
+
}, this.format = function(l) {
|
|
3901
|
+
var u = o.formatToParts(l);
|
|
3902
|
+
if (u.length === 1)
|
|
3903
|
+
return u[0].value;
|
|
3904
|
+
var h = u.reduce(function(c, f) {
|
|
3905
|
+
return !c.length || f.type !== k.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3927
3906
|
}, []);
|
|
3928
|
-
return
|
|
3929
|
-
}, this.formatToParts = function(
|
|
3930
|
-
return
|
|
3907
|
+
return h.length <= 1 ? h[0] || "" : h;
|
|
3908
|
+
}, this.formatToParts = function(l) {
|
|
3909
|
+
return Be(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3931
3910
|
}, this.resolvedOptions = function() {
|
|
3932
|
-
var
|
|
3911
|
+
var l;
|
|
3933
3912
|
return {
|
|
3934
|
-
locale: ((
|
|
3913
|
+
locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3935
3914
|
};
|
|
3936
3915
|
}, this.getAst = function() {
|
|
3937
3916
|
return o.ast;
|
|
@@ -3940,13 +3919,13 @@ var ro = (
|
|
|
3940
3919
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3941
3920
|
var a = i || {};
|
|
3942
3921
|
a.formatters;
|
|
3943
|
-
var s =
|
|
3944
|
-
this.ast = e.__parse(t,
|
|
3922
|
+
var s = Cn(a, ["formatters"]);
|
|
3923
|
+
this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
|
|
3945
3924
|
} else
|
|
3946
3925
|
this.ast = t;
|
|
3947
3926
|
if (!Array.isArray(this.ast))
|
|
3948
3927
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3949
|
-
this.formats =
|
|
3928
|
+
this.formats = Ki(e.formats, n), this.formatters = i && i.formatters || eo(this.formatterCache);
|
|
3950
3929
|
}
|
|
3951
3930
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3952
3931
|
get: function() {
|
|
@@ -3959,7 +3938,7 @@ var ro = (
|
|
|
3959
3938
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3960
3939
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3961
3940
|
}
|
|
3962
|
-
}, e.__parse =
|
|
3941
|
+
}, e.__parse = zi, e.formats = {
|
|
3963
3942
|
number: {
|
|
3964
3943
|
integer: {
|
|
3965
3944
|
maximumFractionDigits: 0
|
|
@@ -4020,7 +3999,7 @@ var ro = (
|
|
|
4020
3999
|
}, e;
|
|
4021
4000
|
}()
|
|
4022
4001
|
);
|
|
4023
|
-
function
|
|
4002
|
+
function ro(e, t) {
|
|
4024
4003
|
if (t == null)
|
|
4025
4004
|
return;
|
|
4026
4005
|
if (t in e)
|
|
@@ -4041,36 +4020,36 @@ function no(e, t) {
|
|
|
4041
4020
|
n = void 0;
|
|
4042
4021
|
return n;
|
|
4043
4022
|
}
|
|
4044
|
-
const Y = {},
|
|
4023
|
+
const Y = {}, no = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), jr = (e, t) => {
|
|
4045
4024
|
if (t == null)
|
|
4046
4025
|
return;
|
|
4047
4026
|
if (t in Y && e in Y[t])
|
|
4048
4027
|
return Y[t][e];
|
|
4049
|
-
const r =
|
|
4028
|
+
const r = Ge(t);
|
|
4050
4029
|
for (let n = 0; n < r.length; n++) {
|
|
4051
|
-
const i = r[n], o =
|
|
4030
|
+
const i = r[n], o = oo(i, e);
|
|
4052
4031
|
if (o)
|
|
4053
|
-
return
|
|
4032
|
+
return no(e, t, o);
|
|
4054
4033
|
}
|
|
4055
4034
|
};
|
|
4056
|
-
let
|
|
4057
|
-
const Se =
|
|
4058
|
-
function
|
|
4059
|
-
return
|
|
4035
|
+
let yt;
|
|
4036
|
+
const Se = De({});
|
|
4037
|
+
function io(e) {
|
|
4038
|
+
return yt[e] || null;
|
|
4060
4039
|
}
|
|
4061
4040
|
function Wr(e) {
|
|
4062
|
-
return e in
|
|
4041
|
+
return e in yt;
|
|
4063
4042
|
}
|
|
4064
|
-
function
|
|
4043
|
+
function oo(e, t) {
|
|
4065
4044
|
if (!Wr(e))
|
|
4066
4045
|
return null;
|
|
4067
|
-
const r =
|
|
4068
|
-
return
|
|
4046
|
+
const r = io(e);
|
|
4047
|
+
return ro(r, t);
|
|
4069
4048
|
}
|
|
4070
|
-
function
|
|
4049
|
+
function ao(e) {
|
|
4071
4050
|
if (e == null)
|
|
4072
4051
|
return;
|
|
4073
|
-
const t =
|
|
4052
|
+
const t = Ge(e);
|
|
4074
4053
|
for (let r = 0; r < t.length; r++) {
|
|
4075
4054
|
const n = t[r];
|
|
4076
4055
|
if (Wr(n))
|
|
@@ -4080,51 +4059,51 @@ function so(e) {
|
|
|
4080
4059
|
function Vr(e, ...t) {
|
|
4081
4060
|
delete Y[e], Se.update((r) => (r[e] = ci.all([r[e] || {}, ...t]), r));
|
|
4082
4061
|
}
|
|
4083
|
-
|
|
4062
|
+
ge(
|
|
4084
4063
|
[Se],
|
|
4085
4064
|
([e]) => Object.keys(e)
|
|
4086
4065
|
);
|
|
4087
|
-
Se.subscribe((e) =>
|
|
4088
|
-
const
|
|
4089
|
-
function
|
|
4090
|
-
|
|
4066
|
+
Se.subscribe((e) => yt = e);
|
|
4067
|
+
const Ie = {};
|
|
4068
|
+
function so(e, t) {
|
|
4069
|
+
Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
|
|
4091
4070
|
}
|
|
4092
4071
|
function Xr(e) {
|
|
4093
|
-
return
|
|
4072
|
+
return Ie[e];
|
|
4094
4073
|
}
|
|
4095
4074
|
function lo(e) {
|
|
4096
|
-
return
|
|
4075
|
+
return Ge(e).map((t) => {
|
|
4097
4076
|
const r = Xr(t);
|
|
4098
4077
|
return [t, r ? [...r] : []];
|
|
4099
4078
|
}).filter(([, t]) => t.length > 0);
|
|
4100
4079
|
}
|
|
4101
|
-
function
|
|
4102
|
-
return e == null ? !1 :
|
|
4080
|
+
function dt(e) {
|
|
4081
|
+
return e == null ? !1 : Ge(e).some(
|
|
4103
4082
|
(t) => {
|
|
4104
4083
|
var r;
|
|
4105
4084
|
return (r = Xr(t)) == null ? void 0 : r.size;
|
|
4106
4085
|
}
|
|
4107
4086
|
);
|
|
4108
4087
|
}
|
|
4109
|
-
function
|
|
4088
|
+
function uo(e, t) {
|
|
4110
4089
|
return Promise.all(
|
|
4111
|
-
t.map((n) => (
|
|
4090
|
+
t.map((n) => (so(e, n), n().then((i) => i.default || i)))
|
|
4112
4091
|
).then((n) => Vr(e, ...n));
|
|
4113
4092
|
}
|
|
4114
|
-
const
|
|
4093
|
+
const ye = {};
|
|
4115
4094
|
function zr(e) {
|
|
4116
|
-
if (!
|
|
4117
|
-
return e in
|
|
4095
|
+
if (!dt(e))
|
|
4096
|
+
return e in ye ? ye[e] : Promise.resolve();
|
|
4118
4097
|
const t = lo(e);
|
|
4119
|
-
return
|
|
4098
|
+
return ye[e] = Promise.all(
|
|
4120
4099
|
t.map(
|
|
4121
|
-
([r, n]) =>
|
|
4100
|
+
([r, n]) => uo(r, n)
|
|
4122
4101
|
)
|
|
4123
4102
|
).then(() => {
|
|
4124
|
-
if (
|
|
4103
|
+
if (dt(e))
|
|
4125
4104
|
return zr(e);
|
|
4126
|
-
delete
|
|
4127
|
-
}),
|
|
4105
|
+
delete ye[e];
|
|
4106
|
+
}), ye[e];
|
|
4128
4107
|
}
|
|
4129
4108
|
const ho = {
|
|
4130
4109
|
number: {
|
|
@@ -4155,133 +4134,133 @@ const ho = {
|
|
|
4155
4134
|
timeZoneName: "short"
|
|
4156
4135
|
}
|
|
4157
4136
|
}
|
|
4158
|
-
},
|
|
4137
|
+
}, co = {
|
|
4159
4138
|
fallbackLocale: null,
|
|
4160
4139
|
loadingDelay: 200,
|
|
4161
4140
|
formats: ho,
|
|
4162
4141
|
warnOnMissingMessages: !0,
|
|
4163
4142
|
handleMissingMessage: void 0,
|
|
4164
4143
|
ignoreTag: !0
|
|
4165
|
-
},
|
|
4166
|
-
function
|
|
4167
|
-
return
|
|
4144
|
+
}, fo = co;
|
|
4145
|
+
function fe() {
|
|
4146
|
+
return fo;
|
|
4168
4147
|
}
|
|
4169
|
-
const
|
|
4170
|
-
var mo = Object.defineProperty, go = Object.defineProperties,
|
|
4148
|
+
const et = De(!1);
|
|
4149
|
+
var mo = Object.defineProperty, go = Object.defineProperties, po = Object.getOwnPropertyDescriptors, Zt = Object.getOwnPropertySymbols, bo = Object.prototype.hasOwnProperty, yo = Object.prototype.propertyIsEnumerable, Qt = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vo = (e, t) => {
|
|
4171
4150
|
for (var r in t || (t = {}))
|
|
4172
|
-
|
|
4173
|
-
if (
|
|
4174
|
-
for (var r of
|
|
4175
|
-
|
|
4151
|
+
bo.call(t, r) && Qt(e, r, t[r]);
|
|
4152
|
+
if (Zt)
|
|
4153
|
+
for (var r of Zt(t))
|
|
4154
|
+
yo.call(t, r) && Qt(e, r, t[r]);
|
|
4176
4155
|
return e;
|
|
4177
|
-
},
|
|
4178
|
-
let
|
|
4179
|
-
const
|
|
4180
|
-
function
|
|
4156
|
+
}, _o = (e, t) => go(e, po(t));
|
|
4157
|
+
let mt;
|
|
4158
|
+
const Re = De(null);
|
|
4159
|
+
function qt(e) {
|
|
4181
4160
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4182
4161
|
}
|
|
4183
|
-
function
|
|
4184
|
-
const r =
|
|
4185
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4162
|
+
function Ge(e, t = fe().fallbackLocale) {
|
|
4163
|
+
const r = qt(e);
|
|
4164
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...qt(t)])] : r;
|
|
4186
4165
|
}
|
|
4187
4166
|
function re() {
|
|
4188
|
-
return
|
|
4167
|
+
return mt ?? void 0;
|
|
4189
4168
|
}
|
|
4190
|
-
|
|
4191
|
-
|
|
4169
|
+
Re.subscribe((e) => {
|
|
4170
|
+
mt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4192
4171
|
});
|
|
4193
|
-
const
|
|
4194
|
-
if (e &&
|
|
4195
|
-
const { loadingDelay: t } =
|
|
4172
|
+
const xo = (e) => {
|
|
4173
|
+
if (e && ao(e) && dt(e)) {
|
|
4174
|
+
const { loadingDelay: t } = fe();
|
|
4196
4175
|
let r;
|
|
4197
4176
|
return typeof window < "u" && re() != null && t ? r = window.setTimeout(
|
|
4198
|
-
() =>
|
|
4177
|
+
() => et.set(!0),
|
|
4199
4178
|
t
|
|
4200
|
-
) :
|
|
4201
|
-
|
|
4179
|
+
) : et.set(!0), zr(e).then(() => {
|
|
4180
|
+
Re.set(e);
|
|
4202
4181
|
}).finally(() => {
|
|
4203
|
-
clearTimeout(r),
|
|
4182
|
+
clearTimeout(r), et.set(!1);
|
|
4204
4183
|
});
|
|
4205
4184
|
}
|
|
4206
|
-
return
|
|
4207
|
-
},
|
|
4208
|
-
set:
|
|
4209
|
-
}),
|
|
4185
|
+
return Re.set(e);
|
|
4186
|
+
}, pe = _o(vo({}, Re), {
|
|
4187
|
+
set: xo
|
|
4188
|
+
}), $e = (e) => {
|
|
4210
4189
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4211
4190
|
return (n) => {
|
|
4212
4191
|
const i = JSON.stringify(n);
|
|
4213
4192
|
return i in t ? t[i] : t[i] = e(n);
|
|
4214
4193
|
};
|
|
4215
4194
|
};
|
|
4216
|
-
var
|
|
4195
|
+
var Eo = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Zr = Object.prototype.hasOwnProperty, Qr = Object.prototype.propertyIsEnumerable, Jt = (e, t, r) => t in e ? Eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
|
|
4217
4196
|
for (var r in t || (t = {}))
|
|
4218
|
-
Zr.call(t, r) &&
|
|
4219
|
-
if (
|
|
4220
|
-
for (var r of
|
|
4221
|
-
Qr.call(t, r) &&
|
|
4197
|
+
Zr.call(t, r) && Jt(e, r, t[r]);
|
|
4198
|
+
if (Ue)
|
|
4199
|
+
for (var r of Ue(t))
|
|
4200
|
+
Qr.call(t, r) && Jt(e, r, t[r]);
|
|
4222
4201
|
return e;
|
|
4223
|
-
},
|
|
4202
|
+
}, be = (e, t) => {
|
|
4224
4203
|
var r = {};
|
|
4225
4204
|
for (var n in e)
|
|
4226
4205
|
Zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4227
|
-
if (e != null &&
|
|
4228
|
-
for (var n of
|
|
4206
|
+
if (e != null && Ue)
|
|
4207
|
+
for (var n of Ue(e))
|
|
4229
4208
|
t.indexOf(n) < 0 && Qr.call(e, n) && (r[n] = e[n]);
|
|
4230
4209
|
return r;
|
|
4231
4210
|
};
|
|
4232
|
-
const
|
|
4233
|
-
const { formats: r } =
|
|
4211
|
+
const Ee = (e, t) => {
|
|
4212
|
+
const { formats: r } = fe();
|
|
4234
4213
|
if (e in r && t in r[e])
|
|
4235
4214
|
return r[e][t];
|
|
4236
4215
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4237
|
-
},
|
|
4216
|
+
}, wo = $e(
|
|
4238
4217
|
(e) => {
|
|
4239
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4218
|
+
var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
|
|
4240
4219
|
if (r == null)
|
|
4241
4220
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4242
|
-
return n && (i =
|
|
4221
|
+
return n && (i = Ee("number", n)), new Intl.NumberFormat(r, i);
|
|
4243
4222
|
}
|
|
4244
|
-
),
|
|
4223
|
+
), So = $e(
|
|
4245
4224
|
(e) => {
|
|
4246
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4225
|
+
var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
|
|
4247
4226
|
if (r == null)
|
|
4248
4227
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4249
|
-
return n ? i =
|
|
4228
|
+
return n ? i = Ee("date", n) : Object.keys(i).length === 0 && (i = Ee("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4250
4229
|
}
|
|
4251
|
-
),
|
|
4230
|
+
), Ho = $e(
|
|
4252
4231
|
(e) => {
|
|
4253
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4232
|
+
var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
|
|
4254
4233
|
if (r == null)
|
|
4255
4234
|
throw new Error(
|
|
4256
4235
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4257
4236
|
);
|
|
4258
|
-
return n ? i =
|
|
4237
|
+
return n ? i = Ee("time", n) : Object.keys(i).length === 0 && (i = Ee("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4259
4238
|
}
|
|
4260
|
-
),
|
|
4239
|
+
), To = (e = {}) => {
|
|
4261
4240
|
var t = e, {
|
|
4262
4241
|
locale: r = re()
|
|
4263
|
-
} = t, n =
|
|
4242
|
+
} = t, n = be(t, [
|
|
4264
4243
|
"locale"
|
|
4265
4244
|
]);
|
|
4266
|
-
return
|
|
4267
|
-
},
|
|
4245
|
+
return wo(vt({ locale: r }, n));
|
|
4246
|
+
}, Oo = (e = {}) => {
|
|
4268
4247
|
var t = e, {
|
|
4269
4248
|
locale: r = re()
|
|
4270
|
-
} = t, n =
|
|
4249
|
+
} = t, n = be(t, [
|
|
4271
4250
|
"locale"
|
|
4272
4251
|
]);
|
|
4273
|
-
return
|
|
4274
|
-
},
|
|
4252
|
+
return So(vt({ locale: r }, n));
|
|
4253
|
+
}, Mo = (e = {}) => {
|
|
4275
4254
|
var t = e, {
|
|
4276
4255
|
locale: r = re()
|
|
4277
|
-
} = t, n =
|
|
4256
|
+
} = t, n = be(t, [
|
|
4278
4257
|
"locale"
|
|
4279
4258
|
]);
|
|
4280
|
-
return
|
|
4281
|
-
},
|
|
4259
|
+
return Ho(vt({ locale: r }, n));
|
|
4260
|
+
}, Ao = $e(
|
|
4282
4261
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4283
|
-
(e, t = re()) => new
|
|
4284
|
-
ignoreTag:
|
|
4262
|
+
(e, t = re()) => new to(e, t, fe().formats, {
|
|
4263
|
+
ignoreTag: fe().ignoreTag
|
|
4285
4264
|
})
|
|
4286
4265
|
), Lo = (e, t = {}) => {
|
|
4287
4266
|
var r, n, i, o;
|
|
@@ -4289,46 +4268,46 @@ const xe = (e, t) => {
|
|
|
4289
4268
|
typeof e == "object" && (a = e, e = a.id);
|
|
4290
4269
|
const {
|
|
4291
4270
|
values: s,
|
|
4292
|
-
locale:
|
|
4293
|
-
default:
|
|
4271
|
+
locale: l = re(),
|
|
4272
|
+
default: u
|
|
4294
4273
|
} = a;
|
|
4295
|
-
if (
|
|
4274
|
+
if (l == null)
|
|
4296
4275
|
throw new Error(
|
|
4297
4276
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4298
4277
|
);
|
|
4299
|
-
let
|
|
4300
|
-
if (!
|
|
4301
|
-
|
|
4302
|
-
else if (typeof
|
|
4278
|
+
let h = jr(e, l);
|
|
4279
|
+
if (!h)
|
|
4280
|
+
h = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4281
|
+
else if (typeof h != "string")
|
|
4303
4282
|
return console.warn(
|
|
4304
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
4305
|
-
),
|
|
4283
|
+
`[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.`
|
|
4284
|
+
), h;
|
|
4306
4285
|
if (!s)
|
|
4307
|
-
return
|
|
4308
|
-
let
|
|
4286
|
+
return h;
|
|
4287
|
+
let c = h;
|
|
4309
4288
|
try {
|
|
4310
|
-
|
|
4289
|
+
c = Ao(h, l).format(s);
|
|
4311
4290
|
} catch (f) {
|
|
4312
4291
|
f instanceof Error && console.warn(
|
|
4313
4292
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4314
4293
|
f.message
|
|
4315
4294
|
);
|
|
4316
4295
|
}
|
|
4317
|
-
return
|
|
4318
|
-
},
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
window.emWidgets = { topic:
|
|
4324
|
-
const
|
|
4325
|
-
function
|
|
4296
|
+
return c;
|
|
4297
|
+
}, Po = (e, t) => Mo(t).format(e), Bo = (e, t) => Oo(t).format(e), Io = (e, t) => To(t).format(e), Co = (e, t = re()) => jr(e, t), No = ge([pe, Se], () => Lo);
|
|
4298
|
+
ge([pe], () => Po);
|
|
4299
|
+
ge([pe], () => Bo);
|
|
4300
|
+
ge([pe], () => Io);
|
|
4301
|
+
ge([pe, Se], () => Co);
|
|
4302
|
+
window.emWidgets = { topic: Zn };
|
|
4303
|
+
const Ro = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Uo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4304
|
+
function Fo(e, t) {
|
|
4326
4305
|
if (e) {
|
|
4327
4306
|
const r = document.createElement("style");
|
|
4328
4307
|
r.innerHTML = t, e.appendChild(r);
|
|
4329
4308
|
}
|
|
4330
4309
|
}
|
|
4331
|
-
function
|
|
4310
|
+
function Do(e, t) {
|
|
4332
4311
|
const r = new URL(t);
|
|
4333
4312
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4334
4313
|
const i = document.createElement("style");
|
|
@@ -4337,7 +4316,7 @@ function ko(e, t) {
|
|
|
4337
4316
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4338
4317
|
});
|
|
4339
4318
|
}
|
|
4340
|
-
function
|
|
4319
|
+
function ko(e, t, r) {
|
|
4341
4320
|
if (window.emMessageBus) {
|
|
4342
4321
|
const n = document.createElement("style");
|
|
4343
4322
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4345,13 +4324,13 @@ function Go(e, t, r) {
|
|
|
4345
4324
|
});
|
|
4346
4325
|
}
|
|
4347
4326
|
}
|
|
4348
|
-
function
|
|
4327
|
+
function Yt(e, t) {
|
|
4349
4328
|
Vr(e, t);
|
|
4350
4329
|
}
|
|
4351
|
-
function
|
|
4352
|
-
|
|
4330
|
+
function Go(e) {
|
|
4331
|
+
pe.set(e);
|
|
4353
4332
|
}
|
|
4354
|
-
const
|
|
4333
|
+
const Kt = {
|
|
4355
4334
|
en: {
|
|
4356
4335
|
language: "Select Language"
|
|
4357
4336
|
},
|
|
@@ -4386,65 +4365,65 @@ const er = {
|
|
|
4386
4365
|
language: "Select Language"
|
|
4387
4366
|
}
|
|
4388
4367
|
};
|
|
4389
|
-
function
|
|
4368
|
+
function $o(e) {
|
|
4390
4369
|
dn(e, "svelte-1kfw037", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.Skeleton{animation:skeleton-loading 0.6s linear infinite alternate}@keyframes skeleton-loading{0%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%)}12%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.225) 0%, rgba(0, 61, 93, 0.225) 100%)}25%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.25) 0%, rgba(0, 61, 93, 0.25) 100%)}33%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.275) 0%, rgba(0, 61, 93, 0.275) 100%)}50%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.3) 0%, rgba(0, 61, 93, 0.3) 100%)}63%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.325) 0%, rgba(0, 61, 93, 0.325) 100%)}75%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.35) 0%, rgba(0, 61, 93, 0.35) 100%)}88%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.375) 0%, rgba(0, 61, 93, 0.375) 100%)}100%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.4) 0%, rgba(0, 61, 93, 0.4) 100%)}}@keyframes increaseTransparency{0%{opacity:0}25%{opacity:0.25}75%{opacity:0.75}100%{opacity:1}}@keyframes decreaseTransparency{100%{opacity:1}75%{opacity:0.75}25%{opacity:0.25}0%{opacity:0}}@keyframes growWidthPercent{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes growWidth{from{transform:translateY(0)}to{transform:translateY(0)}}@keyframes decreaseWidth{from{transform:translateX(1)}to{transform:translateX(0)}}.NavIcon{width:30px;height:28px;position:relative;margin:3px auto;transform:rotate(0deg);transition:transform 0.2s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;transform:rotate(0deg);transition:transform 0.2s ease-in-out, opacity 0.2s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;transform:rotate(135deg);transition:transform 0.3s ease-in-out}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;transform:rotate(-135deg);transition:transform 0.3s ease-in-out}.SelectedOption{display:flex;align-items:center;justify-content:center}.SelectedOption .TriangleActive,.SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transform:rotateX(0deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive svg,.SelectedOption .TriangleInactive svg{margin:-2px 0px;fill:white}.SelectedOption .TriangleActive{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive:hover{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.FlagIcon>img{width:20px;height:14px;margin-right:8px;border-radius:2px}.LanguageSelector{padding:5px 0;margin-bottom:0;display:flex;justify-content:space-between;background:linear-gradient(90deg, rgba(35, 178, 78, 0.9) 0%, rgba(0, 61, 93, 0.9) 100%);transition:transform 0.2s linear;height:44px}.LanguageSelector span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));opacity:0.8;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:14px}.LanguageSelector:active{transition:all 0.2s ease}.LanguageSelector:active span{transition:all 0.1s linear;opacity:1}.LanguageSelector.Open{box-shadow:inset 0 -3.25em 0 0 var(--emw--color-primary)}.LanguageSelector .LanguageSelectorTitle{margin:0 20px}.LanguageSelector .LanguageDropdown{margin-right:16px;display:inline-block}.LanguageSelector .OptionList{position:absolute;background:linear-gradient(90deg, rgba(35, 178, 78, 0.1) 0%, rgba(0, 61, 93, 0.1) 100%);min-width:180px;z-index:1;overflow-y:auto;display:flex;flex-direction:column-reverse;bottom:44px;left:0;gap:5px;padding-bottom:5px;width:100%;height:0px;transition:transform 0.2s linear}.LanguageSelector .OptionList.Open{transition:transform 0.2s linear;height:auto;background-color:var(--emw--color-background-secondary, #000000);overflow:auto}.LanguageSelector .OptionList .LanguageOption{display:flex;border:2px solid #22B04E;border-radius:13px;align-items:center;opacity:0.2;height:0px;background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%);margin:0 5px;transition:transform 0.3s linear}.LanguageSelector .OptionList .LanguageOption.Open{height:50px;opacity:1;padding:10px 5px}.LanguageSelector .OptionList .LanguageOption:active,.LanguageSelector .OptionList .LanguageOption:hover{background:linear-gradient(90deg, rgb(35, 178, 78) 0%, rgb(0, 61, 93) 100%);transform:scale(1.03);transition:transform 0.2s ease-in-out}.LanguageSelector .OptionList .LanguageOption:active span,.LanguageSelector .OptionList .LanguageOption:hover span{color:black}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:flex;align-items:flex-start;position:fixed;width:100%;height:100%;z-index:100;z-index:999999;top:0;left:0;background-color:rgba(0, 0, 0, 0.85);animation:increaseTransparency 0.2s ease-in forwards}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--color-primary);display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;border-top:0;border-radius:0;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{animation:growWidth 0.2s forwards;transform-origin:left;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer.Closing{animation:decreaseWidth 0.2s backwards;transform-origin:right;animation-fill-mode:backwards;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(13, 78, 2) 0%, rgb(35, 172, 77) 50%, rgb(13, 78, 2) 100%);z-index:3}.HamburgerModalWindow .ModalCloseBtn{position:relative;top:25px;width:30px;height:30px;opacity:1;margin-left:7px;margin-right:9px;cursor:pointer}.HamburgerModalWindow .ModalCloseBtn .NavIcon .Open{width:90vw}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));transform-origin:left;transform:scaleX(0);animation:growWidthPercent 0.2s both;animation-delay:0.1s}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:transform 150ms ease-in-out, opacity 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #000000));white-space:nowrap;overflow-x:scroll;list-style:none;width:90vw;text-transform:uppercase;font-size:11px;transition:all 0.2s;height:80px}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:125px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li:active{transform:scale(1.1)}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04F));color:black}.HamburgerModalWindow .HamburgerPrimaryMenu .Loading{width:150px;height:86px;margin:0 2px}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;height:calc(100% - 124px);overflow:auto;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.Overlay{opacity:0.5;transition:opacity 0.2s ease-in-out}.HamburgerModalWindow .HamburgerSecondaryMenu li{padding:10px;display:flex;align-items:center;gap:15px;transition:transform 0.2s linear}.HamburgerModalWindow .HamburgerSecondaryMenu li:active{background-color:var(--emw--color-primary);transform:scale(1.1)}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #22B04F)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
|
|
4391
4370
|
}
|
|
4392
|
-
function
|
|
4371
|
+
function er(e, t, r) {
|
|
4393
4372
|
const n = e.slice();
|
|
4394
|
-
return n[
|
|
4373
|
+
return n[58] = t[r], n;
|
|
4395
4374
|
}
|
|
4396
|
-
function
|
|
4375
|
+
function tr(e, t, r) {
|
|
4397
4376
|
const n = e.slice();
|
|
4398
4377
|
return n[1] = t[r], n;
|
|
4399
4378
|
}
|
|
4400
|
-
function
|
|
4379
|
+
function rr(e, t, r) {
|
|
4401
4380
|
const n = e.slice();
|
|
4402
|
-
return n[
|
|
4381
|
+
return n[61] = t[r], n;
|
|
4403
4382
|
}
|
|
4404
|
-
function
|
|
4383
|
+
function jo(e, t, r) {
|
|
4405
4384
|
const n = e.slice();
|
|
4406
|
-
return n[
|
|
4385
|
+
return n[67] = t[r], n;
|
|
4407
4386
|
}
|
|
4408
|
-
function
|
|
4387
|
+
function nr(e, t, r) {
|
|
4409
4388
|
const n = e.slice();
|
|
4410
|
-
return n[
|
|
4389
|
+
return n[64] = t[r], n;
|
|
4411
4390
|
}
|
|
4412
|
-
function
|
|
4413
|
-
let t, r, n, i, o, a, s, u,
|
|
4391
|
+
function ir(e) {
|
|
4392
|
+
let t, r, n, i, o, a, s, l, u, h, c, f, m, p, y, S, T, B, L, G, C, V, X;
|
|
4414
4393
|
function ne(x, R) {
|
|
4415
4394
|
return (
|
|
4416
4395
|
/*HamburgerMenuItems*/
|
|
4417
|
-
x[4].length > 0 ?
|
|
4396
|
+
x[4].length > 0 ? Vo : Wo
|
|
4418
4397
|
);
|
|
4419
4398
|
}
|
|
4420
|
-
let J = ne(e), N = J(e), j =
|
|
4399
|
+
let J = ne(e), N = J(e), j = Q(
|
|
4421
4400
|
/*activeMenuItemChildren*/
|
|
4422
4401
|
e[6]
|
|
4423
|
-
),
|
|
4402
|
+
), M = [];
|
|
4424
4403
|
for (let x = 0; x < j.length; x += 1)
|
|
4425
|
-
|
|
4426
|
-
let
|
|
4404
|
+
M[x] = lr(rr(e, j, x));
|
|
4405
|
+
let P = (
|
|
4427
4406
|
/*languagesArray*/
|
|
4428
|
-
e[9].length > 1 &&
|
|
4407
|
+
e[9].length > 1 && ur(e)
|
|
4429
4408
|
);
|
|
4430
4409
|
return {
|
|
4431
4410
|
c() {
|
|
4432
4411
|
t = v("div"), r = v("div"), n = v("ul"), N.c(), i = U(), o = v("div"), a = U(), s = v("ul");
|
|
4433
|
-
for (let x = 0; x <
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
(e[10] ? "Overlay" : "")),
|
|
4412
|
+
for (let x = 0; x < M.length; x += 1)
|
|
4413
|
+
M[x].c();
|
|
4414
|
+
u = U(), P && P.c(), c = U(), f = v("span"), m = v("div"), p = v("span"), y = U(), S = v("span"), T = U(), B = v("span"), g(n, "class", "HamburgerPrimaryMenu"), g(o, "class", "Separator"), g(s, "class", l = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
|
|
4415
|
+
(e[10] ? "Overlay" : "")), g(r, "class", h = "HamburgerModalContainer " + /*modalIsOpen*/
|
|
4437
4416
|
(e[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
|
|
4438
|
-
(e[12] ? "Closing" : "")), m
|
|
4439
|
-
e[13] ? "" : "Open")),
|
|
4440
|
-
e[7] ? "ModalCloseBtn" : ""),
|
|
4417
|
+
(e[12] ? "Closing" : "")), g(m, "class", L = "NavIcon " + (/*navIconClosing*/
|
|
4418
|
+
e[13] ? "" : "Open")), g(f, "class", G = /*modalIsOpen*/
|
|
4419
|
+
e[7] ? "ModalCloseBtn" : ""), g(f, "role", "button"), g(t, "class", C = "HamburgerModalWindow " + /*isClosing*/
|
|
4441
4420
|
(e[12] ? " Closing" : ""));
|
|
4442
4421
|
},
|
|
4443
4422
|
m(x, R) {
|
|
4444
4423
|
F(x, t, R), b(t, r), b(r, n), N.m(n, null), b(r, i), b(r, o), b(r, a), b(r, s);
|
|
4445
|
-
for (let
|
|
4446
|
-
|
|
4447
|
-
b(r,
|
|
4424
|
+
for (let H = 0; H < M.length; H += 1)
|
|
4425
|
+
M[H] && M[H].m(s, null);
|
|
4426
|
+
b(r, u), P && P.m(r, null), b(t, c), b(t, f), b(f, m), b(m, p), b(m, y), b(m, S), b(m, T), b(m, B), e[40](t), V || (X = te(
|
|
4448
4427
|
f,
|
|
4449
4428
|
"click",
|
|
4450
4429
|
/*close*/
|
|
@@ -4454,47 +4433,47 @@ function or(e) {
|
|
|
4454
4433
|
p(x, R) {
|
|
4455
4434
|
if (J === (J = ne(x)) && N ? N.p(x, R) : (N.d(1), N = J(x), N && (N.c(), N.m(n, null))), R[0] & /*handleClick, activeMenuItemChildren*/
|
|
4456
4435
|
262208) {
|
|
4457
|
-
j =
|
|
4436
|
+
j = Q(
|
|
4458
4437
|
/*activeMenuItemChildren*/
|
|
4459
4438
|
x[6]
|
|
4460
4439
|
);
|
|
4461
|
-
let
|
|
4462
|
-
for (
|
|
4463
|
-
const W =
|
|
4464
|
-
|
|
4440
|
+
let H;
|
|
4441
|
+
for (H = 0; H < j.length; H += 1) {
|
|
4442
|
+
const W = rr(x, j, H);
|
|
4443
|
+
M[H] ? M[H].p(W, R) : (M[H] = lr(W), M[H].c(), M[H].m(s, null));
|
|
4465
4444
|
}
|
|
4466
|
-
for (;
|
|
4467
|
-
|
|
4468
|
-
|
|
4445
|
+
for (; H < M.length; H += 1)
|
|
4446
|
+
M[H].d(1);
|
|
4447
|
+
M.length = j.length;
|
|
4469
4448
|
}
|
|
4470
4449
|
R[0] & /*isOptionsListVisible*/
|
|
4471
|
-
1024 &&
|
|
4472
|
-
(x[10] ? "Overlay" : "")) &&
|
|
4473
|
-
x[9].length > 1 ?
|
|
4474
|
-
4224 &&
|
|
4450
|
+
1024 && l !== (l = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
|
|
4451
|
+
(x[10] ? "Overlay" : "")) && g(s, "class", l), /*languagesArray*/
|
|
4452
|
+
x[9].length > 1 ? P ? P.p(x, R) : (P = ur(x), P.c(), P.m(r, null)) : P && (P.d(1), P = null), R[0] & /*modalIsOpen, isClosing*/
|
|
4453
|
+
4224 && h !== (h = "HamburgerModalContainer " + /*modalIsOpen*/
|
|
4475
4454
|
(x[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
|
|
4476
|
-
(x[12] ? "Closing" : "")) &&
|
|
4477
|
-
8192 &&
|
|
4478
|
-
x[13] ? "" : "Open")) && m
|
|
4455
|
+
(x[12] ? "Closing" : "")) && g(r, "class", h), R[0] & /*navIconClosing*/
|
|
4456
|
+
8192 && L !== (L = "NavIcon " + (/*navIconClosing*/
|
|
4457
|
+
x[13] ? "" : "Open")) && g(m, "class", L), R[0] & /*modalIsOpen*/
|
|
4479
4458
|
128 && G !== (G = /*modalIsOpen*/
|
|
4480
|
-
x[7] ? "ModalCloseBtn" : "") &&
|
|
4459
|
+
x[7] ? "ModalCloseBtn" : "") && g(f, "class", G), R[0] & /*isClosing*/
|
|
4481
4460
|
4096 && C !== (C = "HamburgerModalWindow " + /*isClosing*/
|
|
4482
|
-
(x[12] ? " Closing" : "")) &&
|
|
4461
|
+
(x[12] ? " Closing" : "")) && g(t, "class", C);
|
|
4483
4462
|
},
|
|
4484
4463
|
d(x) {
|
|
4485
|
-
x && I(t), N.d(),
|
|
4464
|
+
x && I(t), N.d(), we(M, x), P && P.d(), e[40](null), V = !1, X();
|
|
4486
4465
|
}
|
|
4487
4466
|
};
|
|
4488
4467
|
}
|
|
4489
|
-
function
|
|
4490
|
-
let t, r =
|
|
4468
|
+
function Wo(e) {
|
|
4469
|
+
let t, r = Q(new Array(5)), n = [];
|
|
4491
4470
|
for (let i = 0; i < r.length; i += 1)
|
|
4492
|
-
n[i] =
|
|
4471
|
+
n[i] = Xo(jo(e, r, i));
|
|
4493
4472
|
return {
|
|
4494
4473
|
c() {
|
|
4495
4474
|
for (let i = 0; i < n.length; i += 1)
|
|
4496
4475
|
n[i].c();
|
|
4497
|
-
t =
|
|
4476
|
+
t = br();
|
|
4498
4477
|
},
|
|
4499
4478
|
m(i, o) {
|
|
4500
4479
|
for (let a = 0; a < n.length; a += 1)
|
|
@@ -4503,22 +4482,22 @@ function Vo(e) {
|
|
|
4503
4482
|
},
|
|
4504
4483
|
p: $,
|
|
4505
4484
|
d(i) {
|
|
4506
|
-
i && I(t),
|
|
4485
|
+
i && I(t), we(n, i);
|
|
4507
4486
|
}
|
|
4508
4487
|
};
|
|
4509
4488
|
}
|
|
4510
|
-
function
|
|
4511
|
-
let t, r =
|
|
4489
|
+
function Vo(e) {
|
|
4490
|
+
let t, r = Q(
|
|
4512
4491
|
/*HamburgerMenuItems*/
|
|
4513
4492
|
e[4]
|
|
4514
4493
|
), n = [];
|
|
4515
4494
|
for (let i = 0; i < r.length; i += 1)
|
|
4516
|
-
n[i] =
|
|
4495
|
+
n[i] = ar(nr(e, r, i));
|
|
4517
4496
|
return {
|
|
4518
4497
|
c() {
|
|
4519
4498
|
for (let i = 0; i < n.length; i += 1)
|
|
4520
4499
|
n[i].c();
|
|
4521
|
-
t =
|
|
4500
|
+
t = br();
|
|
4522
4501
|
},
|
|
4523
4502
|
m(i, o) {
|
|
4524
4503
|
for (let a = 0; a < n.length; a += 1)
|
|
@@ -4526,16 +4505,16 @@ function Xo(e) {
|
|
|
4526
4505
|
F(i, t, o);
|
|
4527
4506
|
},
|
|
4528
4507
|
p(i, o) {
|
|
4529
|
-
if (o[0] & /*activeMenuItemId, HamburgerMenuItems,
|
|
4508
|
+
if (o[0] & /*activeMenuItemId, HamburgerMenuItems, handlePrimaryMenuClick*/
|
|
4530
4509
|
131120) {
|
|
4531
|
-
r =
|
|
4510
|
+
r = Q(
|
|
4532
4511
|
/*HamburgerMenuItems*/
|
|
4533
4512
|
i[4]
|
|
4534
4513
|
);
|
|
4535
4514
|
let a;
|
|
4536
4515
|
for (a = 0; a < r.length; a += 1) {
|
|
4537
|
-
const s =
|
|
4538
|
-
n[a] ? n[a].p(s, o) : (n[a] =
|
|
4516
|
+
const s = nr(i, r, a);
|
|
4517
|
+
n[a] ? n[a].p(s, o) : (n[a] = ar(s), n[a].c(), n[a].m(t.parentNode, t));
|
|
4539
4518
|
}
|
|
4540
4519
|
for (; a < n.length; a += 1)
|
|
4541
4520
|
n[a].d(1);
|
|
@@ -4543,15 +4522,15 @@ function Xo(e) {
|
|
|
4543
4522
|
}
|
|
4544
4523
|
},
|
|
4545
4524
|
d(i) {
|
|
4546
|
-
i && I(t),
|
|
4525
|
+
i && I(t), we(n, i);
|
|
4547
4526
|
}
|
|
4548
4527
|
};
|
|
4549
4528
|
}
|
|
4550
|
-
function
|
|
4529
|
+
function Xo(e) {
|
|
4551
4530
|
let t;
|
|
4552
4531
|
return {
|
|
4553
4532
|
c() {
|
|
4554
|
-
t = v("div"), t.innerHTML = "",
|
|
4533
|
+
t = v("div"), t.innerHTML = "", g(t, "class", "Loading Skeleton");
|
|
4555
4534
|
},
|
|
4556
4535
|
m(r, n) {
|
|
4557
4536
|
F(r, t, n);
|
|
@@ -4562,12 +4541,12 @@ function zo(e) {
|
|
|
4562
4541
|
}
|
|
4563
4542
|
};
|
|
4564
4543
|
}
|
|
4565
|
-
function
|
|
4544
|
+
function or(e) {
|
|
4566
4545
|
let t, r;
|
|
4567
4546
|
return {
|
|
4568
4547
|
c() {
|
|
4569
4548
|
t = v("img"), K(t.src, r = /*mainItem*/
|
|
4570
|
-
e[
|
|
4549
|
+
e[64].img) || g(t, "src", r), g(t, "alt", "menu icon");
|
|
4571
4550
|
},
|
|
4572
4551
|
m(n, i) {
|
|
4573
4552
|
F(n, t, i);
|
|
@@ -4575,59 +4554,59 @@ function ar(e) {
|
|
|
4575
4554
|
p(n, i) {
|
|
4576
4555
|
i[0] & /*HamburgerMenuItems*/
|
|
4577
4556
|
16 && !K(t.src, r = /*mainItem*/
|
|
4578
|
-
n[
|
|
4557
|
+
n[64].img) && g(t, "src", r);
|
|
4579
4558
|
},
|
|
4580
4559
|
d(n) {
|
|
4581
4560
|
n && I(t);
|
|
4582
4561
|
}
|
|
4583
4562
|
};
|
|
4584
4563
|
}
|
|
4585
|
-
function
|
|
4564
|
+
function ar(e) {
|
|
4586
4565
|
let t, r, n, i, o = (
|
|
4587
4566
|
/*mainItem*/
|
|
4588
|
-
e[
|
|
4589
|
-
), a, s, u,
|
|
4567
|
+
e[64].label + ""
|
|
4568
|
+
), a, s, l, u, h, c = (
|
|
4590
4569
|
/*mainItem*/
|
|
4591
|
-
e[
|
|
4570
|
+
e[64]?.img && or(e)
|
|
4592
4571
|
);
|
|
4593
4572
|
function f() {
|
|
4594
4573
|
return (
|
|
4595
4574
|
/*click_handler*/
|
|
4596
4575
|
e[35](
|
|
4597
4576
|
/*mainItem*/
|
|
4598
|
-
e[
|
|
4577
|
+
e[64]
|
|
4599
4578
|
)
|
|
4600
4579
|
);
|
|
4601
4580
|
}
|
|
4602
4581
|
return {
|
|
4603
4582
|
c() {
|
|
4604
|
-
t = v("li"), r = v("div"),
|
|
4583
|
+
t = v("li"), r = v("div"), c && c.c(), n = U(), i = v("p"), a = ee(o), s = U(), g(r, "class", "HamburgerItemContainer"), g(t, "class", l = /*activeMenuItemId*/
|
|
4605
4584
|
e[5] === /*mainItem*/
|
|
4606
|
-
e[
|
|
4585
|
+
e[64].id ? "ActiveItem" : "");
|
|
4607
4586
|
},
|
|
4608
|
-
m(
|
|
4609
|
-
F(
|
|
4587
|
+
m(m, p) {
|
|
4588
|
+
F(m, t, p), b(t, r), c && c.m(r, null), b(r, n), b(r, i), b(i, a), b(t, s), u || (h = te(t, "click", f), u = !0);
|
|
4610
4589
|
},
|
|
4611
|
-
p(
|
|
4612
|
-
e =
|
|
4613
|
-
e[
|
|
4590
|
+
p(m, p) {
|
|
4591
|
+
e = m, /*mainItem*/
|
|
4592
|
+
e[64]?.img ? c ? c.p(e, p) : (c = or(e), c.c(), c.m(r, n)) : c && (c.d(1), c = null), p[0] & /*HamburgerMenuItems*/
|
|
4614
4593
|
16 && o !== (o = /*mainItem*/
|
|
4615
|
-
e[
|
|
4616
|
-
48 &&
|
|
4594
|
+
e[64].label + "") && me(a, o), p[0] & /*activeMenuItemId, HamburgerMenuItems*/
|
|
4595
|
+
48 && l !== (l = /*activeMenuItemId*/
|
|
4617
4596
|
e[5] === /*mainItem*/
|
|
4618
|
-
e[
|
|
4597
|
+
e[64].id ? "ActiveItem" : "") && g(t, "class", l);
|
|
4619
4598
|
},
|
|
4620
|
-
d(
|
|
4621
|
-
|
|
4599
|
+
d(m) {
|
|
4600
|
+
m && I(t), c && c.d(), u = !1, h();
|
|
4622
4601
|
}
|
|
4623
4602
|
};
|
|
4624
4603
|
}
|
|
4625
|
-
function
|
|
4604
|
+
function sr(e) {
|
|
4626
4605
|
let t, r;
|
|
4627
4606
|
return {
|
|
4628
4607
|
c() {
|
|
4629
4608
|
t = v("img"), K(t.src, r = /*secondaryItem*/
|
|
4630
|
-
e[
|
|
4609
|
+
e[61].img) || g(t, "src", r), g(t, "alt", "menu icon");
|
|
4631
4610
|
},
|
|
4632
4611
|
m(n, i) {
|
|
4633
4612
|
F(n, t, i);
|
|
@@ -4635,7 +4614,7 @@ function ur(e) {
|
|
|
4635
4614
|
p(n, i) {
|
|
4636
4615
|
i[0] & /*activeMenuItemChildren*/
|
|
4637
4616
|
64 && !K(t.src, r = /*secondaryItem*/
|
|
4638
|
-
n[
|
|
4617
|
+
n[61].img) && g(t, "src", r);
|
|
4639
4618
|
},
|
|
4640
4619
|
d(n) {
|
|
4641
4620
|
n && I(t);
|
|
@@ -4645,136 +4624,136 @@ function ur(e) {
|
|
|
4645
4624
|
function lr(e) {
|
|
4646
4625
|
let t, r, n, i = (
|
|
4647
4626
|
/*secondaryItem*/
|
|
4648
|
-
e[
|
|
4649
|
-
), o, a, s,
|
|
4627
|
+
e[61].label + ""
|
|
4628
|
+
), o, a, s, l, u = (
|
|
4650
4629
|
/*secondaryItem*/
|
|
4651
|
-
e[
|
|
4630
|
+
e[61]?.img && sr(e)
|
|
4652
4631
|
);
|
|
4653
|
-
function
|
|
4632
|
+
function h(...c) {
|
|
4654
4633
|
return (
|
|
4655
4634
|
/*click_handler_1*/
|
|
4656
4635
|
e[36](
|
|
4657
4636
|
/*secondaryItem*/
|
|
4658
|
-
e[
|
|
4659
|
-
...
|
|
4637
|
+
e[61],
|
|
4638
|
+
...c
|
|
4660
4639
|
)
|
|
4661
4640
|
);
|
|
4662
4641
|
}
|
|
4663
4642
|
return {
|
|
4664
4643
|
c() {
|
|
4665
|
-
t = v("li"),
|
|
4644
|
+
t = v("li"), u && u.c(), r = U(), n = v("p"), o = ee(i), a = U();
|
|
4666
4645
|
},
|
|
4667
|
-
m(
|
|
4668
|
-
F(
|
|
4646
|
+
m(c, f) {
|
|
4647
|
+
F(c, t, f), u && u.m(t, null), b(t, r), b(t, n), b(n, o), b(t, a), s || (l = te(t, "click", h), s = !0);
|
|
4669
4648
|
},
|
|
4670
|
-
p(
|
|
4671
|
-
e =
|
|
4672
|
-
e[
|
|
4649
|
+
p(c, f) {
|
|
4650
|
+
e = c, /*secondaryItem*/
|
|
4651
|
+
e[61]?.img ? u ? u.p(e, f) : (u = sr(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), f[0] & /*activeMenuItemChildren*/
|
|
4673
4652
|
64 && i !== (i = /*secondaryItem*/
|
|
4674
|
-
e[
|
|
4653
|
+
e[61].label + "") && me(o, i);
|
|
4675
4654
|
},
|
|
4676
|
-
d(
|
|
4677
|
-
|
|
4655
|
+
d(c) {
|
|
4656
|
+
c && I(t), u && u.d(), s = !1, l();
|
|
4678
4657
|
}
|
|
4679
4658
|
};
|
|
4680
4659
|
}
|
|
4681
|
-
function
|
|
4660
|
+
function ur(e) {
|
|
4682
4661
|
let t, r, n = (
|
|
4683
4662
|
/*$_*/
|
|
4684
4663
|
e[15]("language") + ""
|
|
4685
|
-
), i, o, a, s,
|
|
4686
|
-
function
|
|
4664
|
+
), i, o, a, s, l;
|
|
4665
|
+
function u(f, m) {
|
|
4687
4666
|
return (
|
|
4688
4667
|
/*countryflaghamburger*/
|
|
4689
|
-
f[0] !== "true" ?
|
|
4668
|
+
f[0] !== "true" ? Zo : zo
|
|
4690
4669
|
);
|
|
4691
4670
|
}
|
|
4692
|
-
let
|
|
4671
|
+
let h = u(e), c = h(e);
|
|
4693
4672
|
return {
|
|
4694
4673
|
c() {
|
|
4695
|
-
t = v("div"), r = v("span"), i = ee(n), o = U(),
|
|
4674
|
+
t = v("div"), r = v("span"), i = ee(n), o = U(), c.c(), g(r, "class", "LanguageSelectorTitle"), g(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
|
|
4696
4675
|
(e[10] ? "Open" : ""));
|
|
4697
4676
|
},
|
|
4698
|
-
m(f,
|
|
4699
|
-
F(f, t,
|
|
4677
|
+
m(f, m) {
|
|
4678
|
+
F(f, t, m), b(t, r), b(r, i), b(t, o), c.m(t, null), s || (l = te(
|
|
4700
4679
|
t,
|
|
4701
4680
|
"click",
|
|
4702
4681
|
/*toggleLanguageDropdown*/
|
|
4703
4682
|
e[21]
|
|
4704
4683
|
), s = !0);
|
|
4705
4684
|
},
|
|
4706
|
-
p(f,
|
|
4707
|
-
|
|
4685
|
+
p(f, m) {
|
|
4686
|
+
m[0] & /*$_*/
|
|
4708
4687
|
32768 && n !== (n = /*$_*/
|
|
4709
|
-
f[15]("language") + "") &&
|
|
4688
|
+
f[15]("language") + "") && me(i, n), h === (h = u(f)) && c ? c.p(f, m) : (c.d(1), c = h(f), c && (c.c(), c.m(t, null))), m[0] & /*isOptionsListVisible*/
|
|
4710
4689
|
1024 && a !== (a = "LanguageSelector " + /*isOptionsListVisible*/
|
|
4711
|
-
(f[10] ? "Open" : "")) &&
|
|
4690
|
+
(f[10] ? "Open" : "")) && g(t, "class", a);
|
|
4712
4691
|
},
|
|
4713
4692
|
d(f) {
|
|
4714
|
-
f && I(t),
|
|
4693
|
+
f && I(t), c.d(), s = !1, l();
|
|
4715
4694
|
}
|
|
4716
4695
|
};
|
|
4717
4696
|
}
|
|
4718
|
-
function
|
|
4719
|
-
let t, r, n, i, o, a, s,
|
|
4697
|
+
function zo(e) {
|
|
4698
|
+
let t, r, n, i, o, a, s, l = (
|
|
4720
4699
|
/*selectedLanguage*/
|
|
4721
4700
|
e[14].slice(-2) + ""
|
|
4722
|
-
),
|
|
4701
|
+
), u, h, c, f, m, p, y, S = (
|
|
4723
4702
|
/*isOptionsListVisible*/
|
|
4724
4703
|
e[10] && hr(e)
|
|
4725
4704
|
);
|
|
4726
4705
|
return {
|
|
4727
4706
|
c() {
|
|
4728
|
-
t = v("div"), r = v("div"), n = v("span"), i = v("img"), a = U(), s = v("span"),
|
|
4707
|
+
t = v("div"), r = v("div"), n = v("span"), i = v("img"), a = U(), s = v("span"), u = ee(l), h = U(), c = v("span"), f = Mt("svg"), m = Mt("path"), y = U(), S && S.c(), K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4729
4708
|
e[22](
|
|
4730
4709
|
/*selectedLanguage*/
|
|
4731
4710
|
e[14]
|
|
4732
|
-
)}.svg`) ||
|
|
4733
|
-
(e[10] ? "TriangleActive" : "")),
|
|
4711
|
+
)}.svg`) || g(i, "src", o), g(n, "class", "FlagIcon"), g(s, "class", "LanguageName"), g(m, "id", "arrow"), g(m, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(m, "transform", "translate(-274.511 -441.088)"), g(m, "fill", "#d1d1d1"), g(f, "xmlns", "http://www.w3.org/2000/svg"), g(f, "width", "14"), g(f, "height", "6.835"), g(f, "viewBox", "0 0 14 6.835"), g(c, "class", p = "TriangleInactive " + /*isOptionsListVisible*/
|
|
4712
|
+
(e[10] ? "TriangleActive" : "")), g(r, "class", "SelectedOption Item ItemLanguage"), g(t, "class", "LanguageDropdown");
|
|
4734
4713
|
},
|
|
4735
|
-
m(
|
|
4736
|
-
F(
|
|
4714
|
+
m(T, B) {
|
|
4715
|
+
F(T, t, B), b(t, r), b(r, n), b(n, i), b(r, a), b(r, s), b(s, u), b(r, h), b(r, c), b(c, f), b(f, m), b(t, y), S && S.m(t, null);
|
|
4737
4716
|
},
|
|
4738
|
-
p(
|
|
4717
|
+
p(T, B) {
|
|
4739
4718
|
B[0] & /*selectedLanguage, languagesArray*/
|
|
4740
4719
|
16896 && !K(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4741
|
-
|
|
4720
|
+
T[22](
|
|
4742
4721
|
/*selectedLanguage*/
|
|
4743
|
-
|
|
4744
|
-
)}.svg`) &&
|
|
4745
|
-
16384 &&
|
|
4746
|
-
|
|
4747
|
-
1024 &&
|
|
4748
|
-
(
|
|
4749
|
-
|
|
4722
|
+
T[14]
|
|
4723
|
+
)}.svg`) && g(i, "src", o), B[0] & /*selectedLanguage*/
|
|
4724
|
+
16384 && l !== (l = /*selectedLanguage*/
|
|
4725
|
+
T[14].slice(-2) + "") && me(u, l), B[0] & /*isOptionsListVisible*/
|
|
4726
|
+
1024 && p !== (p = "TriangleInactive " + /*isOptionsListVisible*/
|
|
4727
|
+
(T[10] ? "TriangleActive" : "")) && g(c, "class", p), /*isOptionsListVisible*/
|
|
4728
|
+
T[10] ? S ? S.p(T, B) : (S = hr(T), S.c(), S.m(t, null)) : S && (S.d(1), S = null);
|
|
4750
4729
|
},
|
|
4751
|
-
d(
|
|
4752
|
-
|
|
4730
|
+
d(T) {
|
|
4731
|
+
T && I(t), S && S.d();
|
|
4753
4732
|
}
|
|
4754
4733
|
};
|
|
4755
4734
|
}
|
|
4756
|
-
function
|
|
4757
|
-
let t, r, n, i =
|
|
4735
|
+
function Zo(e) {
|
|
4736
|
+
let t, r, n, i = Q(
|
|
4758
4737
|
/*languagesArray*/
|
|
4759
4738
|
e[9]
|
|
4760
4739
|
), o = [];
|
|
4761
4740
|
for (let a = 0; a < i.length; a += 1)
|
|
4762
|
-
o[a] =
|
|
4741
|
+
o[a] = fr(tr(e, i, a));
|
|
4763
4742
|
return {
|
|
4764
4743
|
c() {
|
|
4765
4744
|
t = v("select");
|
|
4766
4745
|
for (let a = 0; a < o.length; a += 1)
|
|
4767
4746
|
o[a].c();
|
|
4768
|
-
|
|
4769
|
-
e[14] === void 0 &&
|
|
4747
|
+
g(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
|
|
4748
|
+
e[14] === void 0 && Ne(() => (
|
|
4770
4749
|
/*select_change_handler*/
|
|
4771
4750
|
e[37].call(t)
|
|
4772
4751
|
));
|
|
4773
4752
|
},
|
|
4774
4753
|
m(a, s) {
|
|
4775
4754
|
F(a, t, s);
|
|
4776
|
-
for (let
|
|
4777
|
-
o[
|
|
4755
|
+
for (let l = 0; l < o.length; l += 1)
|
|
4756
|
+
o[l] && o[l].m(t, null);
|
|
4778
4757
|
Lt(
|
|
4779
4758
|
t,
|
|
4780
4759
|
/*selectedLanguage*/
|
|
@@ -4798,17 +4777,17 @@ function Qo(e) {
|
|
|
4798
4777
|
p(a, s) {
|
|
4799
4778
|
if (s[0] & /*languagesArray*/
|
|
4800
4779
|
512) {
|
|
4801
|
-
i =
|
|
4780
|
+
i = Q(
|
|
4802
4781
|
/*languagesArray*/
|
|
4803
4782
|
a[9]
|
|
4804
4783
|
);
|
|
4805
|
-
let
|
|
4806
|
-
for (
|
|
4807
|
-
const
|
|
4808
|
-
o[
|
|
4784
|
+
let l;
|
|
4785
|
+
for (l = 0; l < i.length; l += 1) {
|
|
4786
|
+
const u = tr(a, i, l);
|
|
4787
|
+
o[l] ? o[l].p(u, s) : (o[l] = fr(u), o[l].c(), o[l].m(t, null));
|
|
4809
4788
|
}
|
|
4810
|
-
for (;
|
|
4811
|
-
o[
|
|
4789
|
+
for (; l < o.length; l += 1)
|
|
4790
|
+
o[l].d(1);
|
|
4812
4791
|
o.length = i.length;
|
|
4813
4792
|
}
|
|
4814
4793
|
s[0] & /*selectedLanguage, languagesArray*/
|
|
@@ -4819,23 +4798,23 @@ function Qo(e) {
|
|
|
4819
4798
|
);
|
|
4820
4799
|
},
|
|
4821
4800
|
d(a) {
|
|
4822
|
-
a && I(t),
|
|
4801
|
+
a && I(t), we(o, a), r = !1, de(n);
|
|
4823
4802
|
}
|
|
4824
4803
|
};
|
|
4825
4804
|
}
|
|
4826
4805
|
function hr(e) {
|
|
4827
|
-
let t, r, n =
|
|
4806
|
+
let t, r, n = Q(
|
|
4828
4807
|
/*languagesArray*/
|
|
4829
4808
|
e[9]
|
|
4830
4809
|
), i = [];
|
|
4831
4810
|
for (let o = 0; o < n.length; o += 1)
|
|
4832
|
-
i[o] =
|
|
4811
|
+
i[o] = cr(er(e, n, o));
|
|
4833
4812
|
return {
|
|
4834
4813
|
c() {
|
|
4835
4814
|
t = v("div");
|
|
4836
4815
|
for (let o = 0; o < i.length; o += 1)
|
|
4837
4816
|
i[o].c();
|
|
4838
|
-
|
|
4817
|
+
g(t, "class", r = "OptionList " + /*languageListOpen*/
|
|
4839
4818
|
(e[11] ? "Open" : ""));
|
|
4840
4819
|
},
|
|
4841
4820
|
m(o, a) {
|
|
@@ -4846,14 +4825,14 @@ function hr(e) {
|
|
|
4846
4825
|
p(o, a) {
|
|
4847
4826
|
if (a[0] & /*languageListOpen, selectLanguage, languagesArray, determineFlag*/
|
|
4848
4827
|
5245440) {
|
|
4849
|
-
n =
|
|
4828
|
+
n = Q(
|
|
4850
4829
|
/*languagesArray*/
|
|
4851
4830
|
o[9]
|
|
4852
4831
|
);
|
|
4853
4832
|
let s;
|
|
4854
4833
|
for (s = 0; s < n.length; s += 1) {
|
|
4855
|
-
const
|
|
4856
|
-
i[s] ? i[s].p(
|
|
4834
|
+
const l = er(o, n, s);
|
|
4835
|
+
i[s] ? i[s].p(l, a) : (i[s] = cr(l), i[s].c(), i[s].m(t, null));
|
|
4857
4836
|
}
|
|
4858
4837
|
for (; s < i.length; s += 1)
|
|
4859
4838
|
i[s].d(1);
|
|
@@ -4861,57 +4840,57 @@ function hr(e) {
|
|
|
4861
4840
|
}
|
|
4862
4841
|
a[0] & /*languageListOpen*/
|
|
4863
4842
|
2048 && r !== (r = "OptionList " + /*languageListOpen*/
|
|
4864
|
-
(o[11] ? "Open" : "")) &&
|
|
4843
|
+
(o[11] ? "Open" : "")) && g(t, "class", r);
|
|
4865
4844
|
},
|
|
4866
4845
|
d(o) {
|
|
4867
|
-
o && I(t),
|
|
4846
|
+
o && I(t), we(i, o);
|
|
4868
4847
|
}
|
|
4869
4848
|
};
|
|
4870
4849
|
}
|
|
4871
|
-
function
|
|
4850
|
+
function cr(e) {
|
|
4872
4851
|
let t, r, n, i, o, a, s = (
|
|
4873
4852
|
/*operatorLanguage*/
|
|
4874
|
-
e[
|
|
4875
|
-
), u,
|
|
4876
|
-
function
|
|
4853
|
+
e[58] + ""
|
|
4854
|
+
), l, u, h, c, f;
|
|
4855
|
+
function m() {
|
|
4877
4856
|
return (
|
|
4878
4857
|
/*click_handler_2*/
|
|
4879
4858
|
e[39](
|
|
4880
4859
|
/*operatorLanguage*/
|
|
4881
|
-
e[
|
|
4860
|
+
e[58]
|
|
4882
4861
|
)
|
|
4883
4862
|
);
|
|
4884
4863
|
}
|
|
4885
4864
|
return {
|
|
4886
4865
|
c() {
|
|
4887
|
-
t = v("div"), r = v("span"), n = v("img"), o = U(), a = v("span"),
|
|
4866
|
+
t = v("div"), r = v("span"), n = v("img"), o = U(), a = v("span"), l = ee(s), u = U(), K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4888
4867
|
e[22](
|
|
4889
4868
|
/*operatorLanguage*/
|
|
4890
|
-
e[
|
|
4891
|
-
)}.svg`) ||
|
|
4869
|
+
e[58]
|
|
4870
|
+
)}.svg`) || g(n, "src", i), g(r, "class", "FlagIcon"), g(a, "class", "LanguageName"), g(t, "class", h = "LanguageOption " + /*languageListOpen*/
|
|
4892
4871
|
(e[11] ? "Open" : ""));
|
|
4893
4872
|
},
|
|
4894
|
-
m(
|
|
4895
|
-
F(
|
|
4873
|
+
m(p, y) {
|
|
4874
|
+
F(p, t, y), b(t, r), b(r, n), b(t, o), b(t, a), b(a, l), b(t, u), c || (f = te(t, "click", m), c = !0);
|
|
4896
4875
|
},
|
|
4897
|
-
p(
|
|
4898
|
-
e =
|
|
4876
|
+
p(p, y) {
|
|
4877
|
+
e = p, y[0] & /*languagesArray*/
|
|
4899
4878
|
512 && !K(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
|
|
4900
4879
|
e[22](
|
|
4901
4880
|
/*operatorLanguage*/
|
|
4902
|
-
e[
|
|
4903
|
-
)}.svg`) &&
|
|
4881
|
+
e[58]
|
|
4882
|
+
)}.svg`) && g(n, "src", i), y[0] & /*languagesArray*/
|
|
4904
4883
|
512 && s !== (s = /*operatorLanguage*/
|
|
4905
|
-
e[
|
|
4906
|
-
2048 &&
|
|
4907
|
-
(e[11] ? "Open" : "")) &&
|
|
4884
|
+
e[58] + "") && me(l, s), y[0] & /*languageListOpen*/
|
|
4885
|
+
2048 && h !== (h = "LanguageOption " + /*languageListOpen*/
|
|
4886
|
+
(e[11] ? "Open" : "")) && g(t, "class", h);
|
|
4908
4887
|
},
|
|
4909
|
-
d(
|
|
4910
|
-
|
|
4888
|
+
d(p) {
|
|
4889
|
+
p && I(t), c = !1, f();
|
|
4911
4890
|
}
|
|
4912
4891
|
};
|
|
4913
4892
|
}
|
|
4914
|
-
function
|
|
4893
|
+
function fr(e) {
|
|
4915
4894
|
let t, r = (
|
|
4916
4895
|
/*lang*/
|
|
4917
4896
|
e[1].slice(-2) + ""
|
|
@@ -4919,7 +4898,7 @@ function dr(e) {
|
|
|
4919
4898
|
return {
|
|
4920
4899
|
c() {
|
|
4921
4900
|
t = v("option"), n = ee(r), t.__value = i = /*lang*/
|
|
4922
|
-
e[1],
|
|
4901
|
+
e[1], At(t, t.__value), t.selected = !0;
|
|
4923
4902
|
},
|
|
4924
4903
|
m(o, a) {
|
|
4925
4904
|
F(o, t, a), b(t, n);
|
|
@@ -4927,19 +4906,19 @@ function dr(e) {
|
|
|
4927
4906
|
p(o, a) {
|
|
4928
4907
|
a[0] & /*languagesArray*/
|
|
4929
4908
|
512 && r !== (r = /*lang*/
|
|
4930
|
-
o[1].slice(-2) + "") &&
|
|
4909
|
+
o[1].slice(-2) + "") && me(n, r), a[0] & /*languagesArray*/
|
|
4931
4910
|
512 && i !== (i = /*lang*/
|
|
4932
|
-
o[1]) && (t.__value = i,
|
|
4911
|
+
o[1]) && (t.__value = i, At(t, t.__value));
|
|
4933
4912
|
},
|
|
4934
4913
|
d(o) {
|
|
4935
4914
|
o && I(t);
|
|
4936
4915
|
}
|
|
4937
4916
|
};
|
|
4938
4917
|
}
|
|
4939
|
-
function
|
|
4918
|
+
function Qo(e) {
|
|
4940
4919
|
let t, r = (
|
|
4941
4920
|
/*show*/
|
|
4942
|
-
e[8] === !0 &&
|
|
4921
|
+
e[8] === !0 && ir(e)
|
|
4943
4922
|
);
|
|
4944
4923
|
return {
|
|
4945
4924
|
c() {
|
|
@@ -4950,7 +4929,7 @@ function qo(e) {
|
|
|
4950
4929
|
},
|
|
4951
4930
|
p(n, i) {
|
|
4952
4931
|
/*show*/
|
|
4953
|
-
n[8] === !0 ? r ? r.p(n, i) : (r =
|
|
4932
|
+
n[8] === !0 ? r ? r.p(n, i) : (r = ir(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4954
4933
|
},
|
|
4955
4934
|
i: $,
|
|
4956
4935
|
o: $,
|
|
@@ -4959,30 +4938,30 @@ function qo(e) {
|
|
|
4959
4938
|
}
|
|
4960
4939
|
};
|
|
4961
4940
|
}
|
|
4962
|
-
function
|
|
4941
|
+
function qo(e, t, r) {
|
|
4963
4942
|
let n;
|
|
4964
|
-
fn(e,
|
|
4965
|
-
let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang:
|
|
4943
|
+
fn(e, No, (d) => r(15, n = d));
|
|
4944
|
+
let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: l = "en" } = t, { activecategory: u = "" } = t, { languageslist: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, { clientstyling: m = "" } = t, { clientstylingurl: p = "" } = t, { customlocaleidentifier: y = "" } = t, { countryflaghamburger: S = "" } = t, T, B = window.navigator.userAgent, L = [], G, C = "", V = [], X = !1, ne = !1, J = !0, N = [], j = !1, M = !1, P = !1, x = !1, R = !0, H, W = "", z;
|
|
4966
4945
|
const Jr = () => {
|
|
4967
|
-
fetch(
|
|
4968
|
-
Object.keys(d).forEach((
|
|
4969
|
-
|
|
4946
|
+
fetch(c).then((d) => d.json()).then((d) => {
|
|
4947
|
+
Object.keys(d).forEach((A) => {
|
|
4948
|
+
Yt(A, d[A]);
|
|
4970
4949
|
});
|
|
4971
4950
|
}).catch((d) => {
|
|
4972
4951
|
console.log(d);
|
|
4973
4952
|
});
|
|
4974
4953
|
};
|
|
4975
|
-
Object.keys(
|
|
4976
|
-
|
|
4954
|
+
Object.keys(Kt).forEach((d) => {
|
|
4955
|
+
Yt(d, Kt[d]);
|
|
4977
4956
|
});
|
|
4978
|
-
const
|
|
4979
|
-
|
|
4980
|
-
let d =
|
|
4981
|
-
d && (d === "PC" ?
|
|
4982
|
-
},
|
|
4983
|
-
r(12, x = !0), r(13, R = !0), r(10,
|
|
4957
|
+
const je = () => {
|
|
4958
|
+
H = new URL(`${o}/${W.toLowerCase()}/hamburger-menu`);
|
|
4959
|
+
let d = Uo(B);
|
|
4960
|
+
d && (d === "PC" ? H.searchParams.append("device", "dk") : H.searchParams.append("device", "mtWeb")), H.searchParams.append("env", a), H.searchParams.append("language", W.toLowerCase()), H.searchParams.append("userRoles", s);
|
|
4961
|
+
}, _t = () => {
|
|
4962
|
+
r(12, x = !0), r(13, R = !0), r(10, M = !1), r(11, P = !1), setTimeout(
|
|
4984
4963
|
() => {
|
|
4985
|
-
r(8, ne = !1), r(7,
|
|
4964
|
+
r(8, ne = !1), r(7, X = !1);
|
|
4986
4965
|
},
|
|
4987
4966
|
200
|
|
4988
4967
|
), window.postMessage(
|
|
@@ -4992,39 +4971,41 @@ function Jo(e, t, r) {
|
|
|
4992
4971
|
},
|
|
4993
4972
|
window.location.href
|
|
4994
4973
|
);
|
|
4995
|
-
},
|
|
4974
|
+
}, xt = (d) => {
|
|
4996
4975
|
d.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(12, x = !1), setTimeout(
|
|
4997
4976
|
() => {
|
|
4998
4977
|
r(13, R = !1);
|
|
4999
4978
|
},
|
|
5000
4979
|
125
|
|
5001
|
-
), r(8, ne = !0), r(7,
|
|
5002
|
-
},
|
|
5003
|
-
r(5, C = d), r(6, V =
|
|
4980
|
+
), r(8, ne = !0), r(7, X = !0), je(), St(H)), d.data.type === "LanguageChanged" && (j = !0, je(), St(H));
|
|
4981
|
+
}, We = (d, A) => {
|
|
4982
|
+
r(5, C = d), r(6, V = A || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
|
|
5004
4983
|
context: "HamburgerMenu",
|
|
5005
4984
|
menuItem: `${C}`
|
|
5006
4985
|
});
|
|
4986
|
+
}, Et = (d) => {
|
|
4987
|
+
!d?.children && d?.path && d?.keyword?.includes("InternalLink") && Ve(d), We(d.id, d.children);
|
|
5007
4988
|
}, wt = () => {
|
|
5008
|
-
let d =
|
|
5009
|
-
let
|
|
5010
|
-
return
|
|
5011
|
-
|
|
5012
|
-
}),
|
|
4989
|
+
let d = L.filter((A) => {
|
|
4990
|
+
let He = !1;
|
|
4991
|
+
return A.children?.forEach((un) => {
|
|
4992
|
+
un.path.includes(u) && (He = !0);
|
|
4993
|
+
}), He;
|
|
5013
4994
|
});
|
|
5014
|
-
d.length > 0 ?
|
|
4995
|
+
d.length > 0 ? We(d[0].id, d[0].children) : We(L[0].id, L[0].children);
|
|
5015
4996
|
}, St = (d) => {
|
|
5016
4997
|
G && !j || Ht(d);
|
|
5017
4998
|
}, Ht = (d) => {
|
|
5018
|
-
fetch(d).then((
|
|
5019
|
-
(
|
|
5020
|
-
r(4,
|
|
4999
|
+
fetch(d).then((A) => A.json()).then(
|
|
5000
|
+
(A) => {
|
|
5001
|
+
r(4, L = A.filter((He) => He?.type !== "banner")), wt(), r(34, J = !1), G = A, j = !1;
|
|
5021
5002
|
},
|
|
5022
|
-
(
|
|
5023
|
-
console.error(
|
|
5003
|
+
(A) => {
|
|
5004
|
+
console.error(A);
|
|
5024
5005
|
}
|
|
5025
5006
|
);
|
|
5026
5007
|
};
|
|
5027
|
-
let
|
|
5008
|
+
let Ve = (d) => {
|
|
5028
5009
|
window.postMessage(
|
|
5029
5010
|
{
|
|
5030
5011
|
type: "NavigateTo",
|
|
@@ -5033,9 +5014,9 @@ function Jo(e, t, r) {
|
|
|
5033
5014
|
target: d.attrs.target || null
|
|
5034
5015
|
},
|
|
5035
5016
|
window.location.href
|
|
5036
|
-
),
|
|
5017
|
+
), _t();
|
|
5037
5018
|
};
|
|
5038
|
-
const
|
|
5019
|
+
const Xe = () => {
|
|
5039
5020
|
j = !0, window.postMessage(
|
|
5040
5021
|
{
|
|
5041
5022
|
type: "LanguageChanged",
|
|
@@ -5044,102 +5025,102 @@ function Jo(e, t, r) {
|
|
|
5044
5025
|
window.location.href
|
|
5045
5026
|
);
|
|
5046
5027
|
}, Yr = () => {
|
|
5047
|
-
|
|
5048
|
-
},
|
|
5028
|
+
Go(l), je(), j && Ht(H), r(9, N = h.replace(/ /g, "").split(",")), r(9, N = N.map((d) => d.toUpperCase())), r(14, W = l.toUpperCase());
|
|
5029
|
+
}, Tt = (d) => {
|
|
5049
5030
|
r(14, W = d), setTimeout(
|
|
5050
5031
|
() => {
|
|
5051
|
-
r(11,
|
|
5032
|
+
r(11, P = !1);
|
|
5052
5033
|
},
|
|
5053
5034
|
250
|
|
5054
5035
|
), setTimeout(
|
|
5055
5036
|
() => {
|
|
5056
|
-
r(10,
|
|
5037
|
+
r(10, M = !1);
|
|
5057
5038
|
},
|
|
5058
5039
|
500
|
|
5059
|
-
),
|
|
5040
|
+
), Xe();
|
|
5060
5041
|
}, Kr = () => {
|
|
5061
|
-
|
|
5042
|
+
M ? (setTimeout(
|
|
5062
5043
|
() => {
|
|
5063
|
-
r(10,
|
|
5044
|
+
r(10, M = !1);
|
|
5064
5045
|
},
|
|
5065
5046
|
250
|
|
5066
|
-
), r(11,
|
|
5047
|
+
), r(11, P = !1)) : (r(10, M = !0), setTimeout(
|
|
5067
5048
|
() => {
|
|
5068
|
-
r(11,
|
|
5049
|
+
r(11, P = !0);
|
|
5069
5050
|
},
|
|
5070
5051
|
300
|
|
5071
5052
|
));
|
|
5072
5053
|
}, en = (d) => {
|
|
5073
|
-
let
|
|
5074
|
-
return y && (
|
|
5054
|
+
let A = d ? d.slice(-2) : W.slice(-2);
|
|
5055
|
+
return y && (A = y.includes(A.toLowerCase()) ? y.slice(-2) : A), A == "EN" ? "GB" : A.toUpperCase();
|
|
5075
5056
|
};
|
|
5076
|
-
_n(() => (window.addEventListener("message",
|
|
5077
|
-
window.removeEventListener("message",
|
|
5057
|
+
_n(() => (window.addEventListener("message", xt, !1), Ro(B), () => {
|
|
5058
|
+
window.removeEventListener("message", xt);
|
|
5078
5059
|
}));
|
|
5079
|
-
const tn = (d) =>
|
|
5080
|
-
|
|
5060
|
+
const tn = (d) => Et(d), rn = (d, A) => {
|
|
5061
|
+
Ve(d), A.preventDefault();
|
|
5081
5062
|
};
|
|
5082
5063
|
function nn() {
|
|
5083
5064
|
W = bn(this), r(14, W), r(9, N);
|
|
5084
5065
|
}
|
|
5085
|
-
const on = () =>
|
|
5066
|
+
const on = () => Xe(), an = (d) => Tt(d);
|
|
5086
5067
|
function sn(d) {
|
|
5087
|
-
|
|
5088
|
-
|
|
5068
|
+
Ce[d ? "unshift" : "push"](() => {
|
|
5069
|
+
T = d, r(3, T);
|
|
5089
5070
|
});
|
|
5090
5071
|
}
|
|
5091
|
-
function
|
|
5092
|
-
|
|
5093
|
-
|
|
5072
|
+
function ln(d) {
|
|
5073
|
+
Ce[d ? "unshift" : "push"](() => {
|
|
5074
|
+
z = d, r(2, z);
|
|
5094
5075
|
});
|
|
5095
5076
|
}
|
|
5096
5077
|
return e.$$set = (d) => {
|
|
5097
|
-
"menuitemsurl" in d && r(23, i = d.menuitemsurl), "cmsendpoint" in d && r(24, o = d.cmsendpoint), "cmsenv" in d && r(25, a = d.cmsenv), "userroles" in d && r(26, s = d.userroles), "lang" in d && r(1,
|
|
5078
|
+
"menuitemsurl" in d && r(23, i = d.menuitemsurl), "cmsendpoint" in d && r(24, o = d.cmsendpoint), "cmsenv" in d && r(25, a = d.cmsenv), "userroles" in d && r(26, s = d.userroles), "lang" in d && r(1, l = d.lang), "activecategory" in d && r(27, u = d.activecategory), "languageslist" in d && r(28, h = d.languageslist), "translationurl" in d && r(29, c = d.translationurl), "mbsource" in d && r(30, f = d.mbsource), "clientstyling" in d && r(31, m = d.clientstyling), "clientstylingurl" in d && r(32, p = d.clientstylingurl), "customlocaleidentifier" in d && r(33, y = d.customlocaleidentifier), "countryflaghamburger" in d && r(0, S = d.countryflaghamburger);
|
|
5098
5079
|
}, e.$$.update = () => {
|
|
5099
5080
|
e.$$.dirty[0] & /*cmsendpoint, cmsenv, lang, languageslist*/
|
|
5100
|
-
318767106 && o && a &&
|
|
5081
|
+
318767106 && o && a && l && h && Yr(), e.$$.dirty[0] & /*activecategory*/
|
|
5101
5082
|
134217728 | e.$$.dirty[1] & /*isLoading*/
|
|
5102
|
-
8 &&
|
|
5103
|
-
536870912 &&
|
|
5083
|
+
8 && u && !J && wt(), e.$$.dirty[0] & /*translationurl*/
|
|
5084
|
+
536870912 && c && Jr(), e.$$.dirty[0] & /*customStylingContainer*/
|
|
5104
5085
|
4 | e.$$.dirty[1] & /*clientstyling*/
|
|
5105
|
-
1 &&
|
|
5086
|
+
1 && m && z && Fo(z, m), e.$$.dirty[0] & /*customStylingContainer*/
|
|
5106
5087
|
4 | e.$$.dirty[1] & /*clientstylingurl*/
|
|
5107
|
-
2 &&
|
|
5108
|
-
1073741828 && f &&
|
|
5088
|
+
2 && p && z && Do(z, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5089
|
+
1073741828 && f && z && ko(z, `${f}.Style`);
|
|
5109
5090
|
}, [
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5091
|
+
S,
|
|
5092
|
+
l,
|
|
5093
|
+
z,
|
|
5094
|
+
T,
|
|
5095
|
+
L,
|
|
5115
5096
|
C,
|
|
5116
5097
|
V,
|
|
5117
|
-
|
|
5098
|
+
X,
|
|
5118
5099
|
ne,
|
|
5119
5100
|
N,
|
|
5120
|
-
|
|
5121
|
-
|
|
5101
|
+
M,
|
|
5102
|
+
P,
|
|
5122
5103
|
x,
|
|
5123
5104
|
R,
|
|
5124
5105
|
W,
|
|
5125
5106
|
n,
|
|
5126
|
-
|
|
5127
|
-
|
|
5107
|
+
_t,
|
|
5108
|
+
Et,
|
|
5109
|
+
Ve,
|
|
5110
|
+
Xe,
|
|
5128
5111
|
Tt,
|
|
5129
|
-
ze,
|
|
5130
|
-
Ot,
|
|
5131
5112
|
Kr,
|
|
5132
5113
|
en,
|
|
5133
5114
|
i,
|
|
5134
5115
|
o,
|
|
5135
5116
|
a,
|
|
5136
5117
|
s,
|
|
5137
|
-
|
|
5138
|
-
c,
|
|
5118
|
+
u,
|
|
5139
5119
|
h,
|
|
5120
|
+
c,
|
|
5140
5121
|
f,
|
|
5122
|
+
m,
|
|
5141
5123
|
p,
|
|
5142
|
-
g,
|
|
5143
5124
|
y,
|
|
5144
5125
|
J,
|
|
5145
5126
|
tn,
|
|
@@ -5148,16 +5129,16 @@ function Jo(e, t, r) {
|
|
|
5148
5129
|
on,
|
|
5149
5130
|
an,
|
|
5150
5131
|
sn,
|
|
5151
|
-
|
|
5132
|
+
ln
|
|
5152
5133
|
];
|
|
5153
5134
|
}
|
|
5154
5135
|
class qr extends Bn {
|
|
5155
5136
|
constructor(t) {
|
|
5156
|
-
super(),
|
|
5137
|
+
super(), Ln(
|
|
5157
5138
|
this,
|
|
5158
5139
|
t,
|
|
5159
|
-
Jo,
|
|
5160
5140
|
qo,
|
|
5141
|
+
Qo,
|
|
5161
5142
|
mr,
|
|
5162
5143
|
{
|
|
5163
5144
|
menuitemsurl: 23,
|
|
@@ -5174,7 +5155,7 @@ class qr extends Bn {
|
|
|
5174
5155
|
customlocaleidentifier: 33,
|
|
5175
5156
|
countryflaghamburger: 0
|
|
5176
5157
|
},
|
|
5177
|
-
|
|
5158
|
+
$o,
|
|
5178
5159
|
[-1, -1, -1]
|
|
5179
5160
|
);
|
|
5180
5161
|
}
|
|
@@ -5257,56 +5238,56 @@ class qr extends Bn {
|
|
|
5257
5238
|
this.$$set({ countryflaghamburger: t }), D();
|
|
5258
5239
|
}
|
|
5259
5240
|
}
|
|
5260
|
-
|
|
5261
|
-
const
|
|
5241
|
+
Pn(qr, { menuitemsurl: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, [], [], !0);
|
|
5242
|
+
const sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5262
5243
|
__proto__: null,
|
|
5263
5244
|
default: qr
|
|
5264
5245
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5265
5246
|
export {
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5247
|
+
pe as $,
|
|
5248
|
+
ko as A,
|
|
5249
|
+
br as B,
|
|
5250
|
+
Q as C,
|
|
5251
|
+
Mt as D,
|
|
5252
|
+
we as E,
|
|
5253
|
+
ee as F,
|
|
5254
|
+
me as G,
|
|
5255
|
+
$ as H,
|
|
5256
|
+
No as I,
|
|
5257
|
+
Ro as J,
|
|
5258
|
+
ia as K,
|
|
5259
|
+
Ce as L,
|
|
5260
|
+
Fo as M,
|
|
5261
|
+
K as N,
|
|
5262
|
+
Uo as O,
|
|
5263
|
+
aa as P,
|
|
5264
|
+
na as Q,
|
|
5265
|
+
sa as R,
|
|
5285
5266
|
Bn as S,
|
|
5286
5267
|
Se as a,
|
|
5287
5268
|
Vr as b,
|
|
5288
|
-
|
|
5269
|
+
Pn as c,
|
|
5289
5270
|
dn as d,
|
|
5290
|
-
|
|
5271
|
+
Jo as e,
|
|
5291
5272
|
D as f,
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5273
|
+
v as g,
|
|
5274
|
+
U as h,
|
|
5275
|
+
Ln as i,
|
|
5276
|
+
g as j,
|
|
5277
|
+
ra as k,
|
|
5278
|
+
F as l,
|
|
5279
|
+
b as m,
|
|
5280
|
+
te as n,
|
|
5281
|
+
ea as o,
|
|
5282
|
+
ta as p,
|
|
5283
|
+
Yo as q,
|
|
5284
|
+
oa as r,
|
|
5304
5285
|
mr as s,
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
v,
|
|
5308
|
-
|
|
5286
|
+
Tn as t,
|
|
5287
|
+
Ko as u,
|
|
5288
|
+
I as v,
|
|
5289
|
+
de as w,
|
|
5309
5290
|
fn as x,
|
|
5310
5291
|
_n as y,
|
|
5311
|
-
|
|
5292
|
+
Do as z
|
|
5312
5293
|
};
|