@everymatrix/casino-favorites-section 1.62.0 → 1.62.2
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/{CasinoFavoritesSection-CJy2YFB9.js → CasinoFavoritesSection-BziHX_2O.js} +1023 -1059
- package/components/CasinoFavoritesSection-D7FERmE9.cjs +3 -0
- package/components/{CasinoFavoritesSection-D2HVw3dv.js → CasinoFavoritesSection-KQC7NH0u.js} +625 -661
- package/components/CasinoFilter-CWVK-dJm.js +1184 -0
- package/components/CasinoFilter-MZhM5lsH.js +1183 -0
- package/components/CasinoFilter-y8APHW31.cjs +16 -0
- package/components/CasinoGameThumbnail-Cdt-dkij.js +4376 -0
- package/components/CasinoGameThumbnail-PBM7LNZD.cjs +47 -0
- package/components/CasinoGameThumbnail-kBMZ1poy.js +4360 -0
- package/components/{CasinoGamesCategorySection-D6F6HF27.js → CasinoGamesCategorySection-DCNGOrrf.js} +262 -262
- package/components/{CasinoGamesCategorySection-CuRN53sE.js → CasinoGamesCategorySection-WvOpvUjD.js} +264 -264
- package/components/{CasinoGamesCategorySection-Crtek9HW.cjs → CasinoGamesCategorySection-qvvqF8MV.cjs} +1 -1
- package/components/{CasinoSort-CzKxkScV.cjs → CasinoSort-B-JY9dee.cjs} +1 -1
- package/components/{CasinoSort-Dudc-2Zg.js → CasinoSort-BnflTjR9.js} +100 -99
- package/components/{CasinoSort-mQ3PEUwA.js → CasinoSort-CCbv5mJo.js} +108 -109
- package/es2015/casino-favorites-section.cjs +1 -1
- package/es2015/casino-favorites-section.js +1 -1
- package/esnext/casino-favorites-section.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-97d17652-B8yQdy7J.js +542 -0
- package/stencil/index-97d17652-C616IYj2.js +558 -0
- package/stencil/index-97d17652-C9Ph2JiE.cjs +1 -0
- package/stencil/ui-image-7da92f1f-26DzsVFt.js +39 -0
- package/stencil/ui-image-7da92f1f-BAghvEDf.js +39 -0
- package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +1 -0
- package/stencil/ui-image-Bz0nQwNJ.cjs +1 -0
- package/stencil/ui-image-DX8NqsyA.js +25 -0
- package/stencil/ui-image-o9dMcntc.js +7 -0
- package/stencil/{ui-skeleton-6d1c12ae-koE69yYD.js → ui-image_2-BXgptLvl.js} +7 -5
- package/stencil/ui-image_2-Cctik3aF.cjs +73 -0
- package/stencil/{ui-skeleton-6d1c12ae-BpEpsLuu.js → ui-image_2-Cyqb4u7k.js} +7 -5
- package/components/CasinoFavoritesSection-w39d9h_8.cjs +0 -16
- package/components/CasinoFilter-BJqsjFex.cjs +0 -3
- package/components/CasinoFilter-C-EuKoUs.js +0 -1135
- package/components/CasinoFilter-ZGgYm6Tl.js +0 -1136
- package/components/CasinoGameThumbnail-BWpgMDve.cjs +0 -47
- package/components/CasinoGameThumbnail-D3jaXf1-.js +0 -4391
- package/components/CasinoGameThumbnail-k7JeBNaV.js +0 -4407
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +0 -7
- package/stencil/index-b2193545-CbGN-1Xz.cjs +0 -1
- package/stencil/index-b2193545-CbUHNmek.js +0 -503
- package/stencil/index-b2193545-DFFkPUVU.js +0 -519
- package/stencil/index-b7bbd57e-5H13jtcn.cjs +0 -1
- package/stencil/index-b7bbd57e-D2mZ7-kv.js +0 -534
- package/stencil/index-b7bbd57e-VSGyGiy1.js +0 -550
- package/stencil/ui-image-38c3c15f-3U8WBsCg.cjs +0 -1
- package/stencil/ui-image-38c3c15f-Cix0ZMEZ.js +0 -39
- package/stencil/ui-image-38c3c15f-jaErZeBj.js +0 -39
- package/stencil/ui-image-6OX7DHzp.js +0 -11
- package/stencil/ui-image-DvmqpXjR.js +0 -29
- package/stencil/ui-image-sdP0Y0JV.cjs +0 -1
- package/stencil/ui-skeleton-6d1c12ae-CZrIANSq.cjs +0 -73
- package/stencil/ui-skeleton-BOseIl79.js +0 -29
- package/stencil/ui-skeleton-BVyEf4P7.js +0 -11
- package/stencil/ui-skeleton-C2O4H76Q.cjs +0 -1
package/components/{CasinoFavoritesSection-CJy2YFB9.js → CasinoFavoritesSection-BziHX_2O.js}
RENAMED
|
@@ -2,32 +2,32 @@ var jt = Object.defineProperty, kt = Object.defineProperties;
|
|
|
2
2
|
var Vt = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ke = Object.getOwnPropertySymbols;
|
|
4
4
|
var Xt = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
Xt.call(t,
|
|
5
|
+
var Ee = (e, t, r) => t in e ? jt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ve = (e, t) => {
|
|
6
|
+
for (var r in t || (t = {}))
|
|
7
|
+
Xt.call(t, r) && Ee(e, r, t[r]);
|
|
8
8
|
if (ke)
|
|
9
|
-
for (var
|
|
10
|
-
zt.call(t,
|
|
9
|
+
for (var r of ke(t))
|
|
10
|
+
zt.call(t, r) && Ee(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, Xe = (e, t) => kt(e, Vt(t));
|
|
13
|
-
var S = (e, t,
|
|
14
|
-
var ze = (e, t,
|
|
13
|
+
var S = (e, t, r) => (Ee(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var ze = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (l) => {
|
|
16
16
|
try {
|
|
17
|
-
u(
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
17
|
+
u(r.next(l));
|
|
18
|
+
} catch (a) {
|
|
19
|
+
i(a);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, o = (l) => {
|
|
22
22
|
try {
|
|
23
|
-
u(
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
23
|
+
u(r.throw(l));
|
|
24
|
+
} catch (a) {
|
|
25
|
+
i(a);
|
|
26
26
|
}
|
|
27
|
-
}, u = (l) => l.done ?
|
|
28
|
-
u((
|
|
27
|
+
}, u = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
|
|
28
|
+
u((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function N() {
|
|
31
31
|
}
|
|
32
32
|
function ht(e) {
|
|
33
33
|
return e();
|
|
@@ -35,45 +35,42 @@ function ht(e) {
|
|
|
35
35
|
function We() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function W(e) {
|
|
39
39
|
e.forEach(ht);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function De(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
44
|
function lt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
47
|
+
let se;
|
|
48
|
+
function hi(e, t) {
|
|
49
|
+
return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
|
|
50
50
|
}
|
|
51
51
|
function Wt(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
54
|
function ft(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
|
-
for (const
|
|
57
|
-
|
|
58
|
-
return
|
|
56
|
+
for (const n of t)
|
|
57
|
+
n(void 0);
|
|
58
|
+
return N;
|
|
59
59
|
}
|
|
60
|
-
const
|
|
61
|
-
return
|
|
60
|
+
const r = e.subscribe(...t);
|
|
61
|
+
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(ft(t,
|
|
65
|
-
}
|
|
66
|
-
function li(e) {
|
|
67
|
-
return e && fe(e.destroy) ? e.destroy : O;
|
|
63
|
+
function li(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(ft(t, r));
|
|
68
65
|
}
|
|
69
66
|
function Zt(e, t) {
|
|
70
67
|
e.appendChild(t);
|
|
71
68
|
}
|
|
72
|
-
function Qt(e, t,
|
|
73
|
-
const
|
|
74
|
-
if (!
|
|
69
|
+
function Qt(e, t, r) {
|
|
70
|
+
const n = qt(e);
|
|
71
|
+
if (!n.getElementById(t)) {
|
|
75
72
|
const i = ne("style");
|
|
76
|
-
i.id = t, i.textContent =
|
|
73
|
+
i.id = t, i.textContent = r, Jt(n, i);
|
|
77
74
|
}
|
|
78
75
|
}
|
|
79
76
|
function qt(e) {
|
|
@@ -93,15 +90,15 @@ function Jt(e, t) {
|
|
|
93
90
|
t
|
|
94
91
|
), t.sheet;
|
|
95
92
|
}
|
|
96
|
-
function
|
|
97
|
-
e.insertBefore(t,
|
|
93
|
+
function me(e, t, r) {
|
|
94
|
+
e.insertBefore(t, r || null);
|
|
98
95
|
}
|
|
99
|
-
function
|
|
96
|
+
function re(e) {
|
|
100
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
101
98
|
}
|
|
102
99
|
function fi(e, t) {
|
|
103
|
-
for (let
|
|
104
|
-
e[
|
|
100
|
+
for (let r = 0; r < e.length; r += 1)
|
|
101
|
+
e[r] && e[r].d(t);
|
|
105
102
|
}
|
|
106
103
|
function ne(e) {
|
|
107
104
|
return document.createElement(e);
|
|
@@ -118,15 +115,15 @@ function ci() {
|
|
|
118
115
|
function mi() {
|
|
119
116
|
return ct("");
|
|
120
117
|
}
|
|
121
|
-
function gi(e, t,
|
|
122
|
-
return e.addEventListener(t,
|
|
118
|
+
function gi(e, t, r, n) {
|
|
119
|
+
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
123
120
|
}
|
|
124
|
-
function
|
|
125
|
-
|
|
121
|
+
function Ge(e, t, r) {
|
|
122
|
+
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
126
123
|
}
|
|
127
|
-
function g(e, t,
|
|
128
|
-
const
|
|
129
|
-
|
|
124
|
+
function g(e, t, r) {
|
|
125
|
+
const n = t.toLowerCase();
|
|
126
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Ge(e, t, r);
|
|
130
127
|
}
|
|
131
128
|
function Kt(e) {
|
|
132
129
|
return Array.from(e.childNodes);
|
|
@@ -138,8 +135,8 @@ function di(e, t) {
|
|
|
138
135
|
function bi(e, t) {
|
|
139
136
|
e.value = t == null ? "" : t;
|
|
140
137
|
}
|
|
141
|
-
function pi(e, t,
|
|
142
|
-
e.classList.toggle(t, !!
|
|
138
|
+
function pi(e, t, r) {
|
|
139
|
+
e.classList.toggle(t, !!r);
|
|
143
140
|
}
|
|
144
141
|
class yi {
|
|
145
142
|
constructor(t = !1) {
|
|
@@ -171,17 +168,17 @@ class yi {
|
|
|
171
168
|
* @param {HTMLElement | SVGElement} anchor
|
|
172
169
|
* @returns {void}
|
|
173
170
|
*/
|
|
174
|
-
m(t,
|
|
171
|
+
m(t, r, n = null) {
|
|
175
172
|
this.e || (this.is_svg ? this.e = Yt(
|
|
176
173
|
/** @type {keyof SVGElementTagNameMap} */
|
|
177
|
-
|
|
174
|
+
r.nodeName
|
|
178
175
|
) : this.e = ne(
|
|
179
176
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
180
|
-
|
|
181
|
-
), this.t =
|
|
177
|
+
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
178
|
+
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
182
179
|
/** @type {HTMLTemplateElement} */
|
|
183
|
-
|
|
184
|
-
), this.c(t)), this.i(
|
|
180
|
+
r.content
|
|
181
|
+
), this.c(t)), this.i(n);
|
|
185
182
|
}
|
|
186
183
|
/**
|
|
187
184
|
* @param {string} html
|
|
@@ -195,8 +192,8 @@ class yi {
|
|
|
195
192
|
/**
|
|
196
193
|
* @returns {void} */
|
|
197
194
|
i(t) {
|
|
198
|
-
for (let
|
|
199
|
-
|
|
195
|
+
for (let r = 0; r < this.n.length; r += 1)
|
|
196
|
+
me(this.t, this.n[r], t);
|
|
200
197
|
}
|
|
201
198
|
/**
|
|
202
199
|
* @param {string} html
|
|
@@ -208,87 +205,87 @@ class yi {
|
|
|
208
205
|
/**
|
|
209
206
|
* @returns {void} */
|
|
210
207
|
d() {
|
|
211
|
-
this.n.forEach(
|
|
208
|
+
this.n.forEach(re);
|
|
212
209
|
}
|
|
213
210
|
}
|
|
214
|
-
function
|
|
211
|
+
function er(e) {
|
|
215
212
|
const t = {};
|
|
216
213
|
return e.childNodes.forEach(
|
|
217
214
|
/** @param {Element} node */
|
|
218
|
-
(
|
|
219
|
-
t[
|
|
215
|
+
(r) => {
|
|
216
|
+
t[r.slot || "default"] = !0;
|
|
220
217
|
}
|
|
221
218
|
), t;
|
|
222
219
|
}
|
|
223
|
-
let
|
|
224
|
-
function
|
|
225
|
-
|
|
220
|
+
let K;
|
|
221
|
+
function Y(e) {
|
|
222
|
+
K = e;
|
|
226
223
|
}
|
|
227
224
|
function mt() {
|
|
228
|
-
if (!
|
|
225
|
+
if (!K)
|
|
229
226
|
throw new Error("Function called outside component initialization");
|
|
230
|
-
return
|
|
227
|
+
return K;
|
|
231
228
|
}
|
|
232
|
-
function
|
|
229
|
+
function tr(e) {
|
|
233
230
|
mt().$$.on_mount.push(e);
|
|
234
231
|
}
|
|
235
232
|
function Ei(e) {
|
|
236
233
|
mt().$$.on_destroy.push(e);
|
|
237
234
|
}
|
|
238
|
-
const
|
|
239
|
-
let
|
|
235
|
+
const F = [], Ae = [];
|
|
236
|
+
let j = [];
|
|
240
237
|
const Ze = [], gt = /* @__PURE__ */ Promise.resolve();
|
|
241
|
-
let
|
|
238
|
+
let we = !1;
|
|
242
239
|
function dt() {
|
|
243
|
-
|
|
240
|
+
we || (we = !0, gt.then(H));
|
|
244
241
|
}
|
|
245
242
|
function vi() {
|
|
246
243
|
return dt(), gt;
|
|
247
244
|
}
|
|
248
|
-
function
|
|
249
|
-
|
|
245
|
+
function Pe(e) {
|
|
246
|
+
j.push(e);
|
|
250
247
|
}
|
|
251
|
-
const
|
|
252
|
-
let
|
|
248
|
+
const ve = /* @__PURE__ */ new Set();
|
|
249
|
+
let D = 0;
|
|
253
250
|
function H() {
|
|
254
|
-
if (
|
|
251
|
+
if (D !== 0)
|
|
255
252
|
return;
|
|
256
|
-
const e =
|
|
253
|
+
const e = K;
|
|
257
254
|
do {
|
|
258
255
|
try {
|
|
259
|
-
for (;
|
|
260
|
-
const t =
|
|
261
|
-
|
|
256
|
+
for (; D < F.length; ) {
|
|
257
|
+
const t = F[D];
|
|
258
|
+
D++, Y(t), rr(t.$$);
|
|
262
259
|
}
|
|
263
260
|
} catch (t) {
|
|
264
|
-
throw
|
|
261
|
+
throw F.length = 0, D = 0, t;
|
|
265
262
|
}
|
|
266
|
-
for (
|
|
267
|
-
|
|
268
|
-
for (let t = 0; t <
|
|
269
|
-
const
|
|
270
|
-
|
|
263
|
+
for (Y(null), F.length = 0, D = 0; Ae.length; )
|
|
264
|
+
Ae.pop()();
|
|
265
|
+
for (let t = 0; t < j.length; t += 1) {
|
|
266
|
+
const r = j[t];
|
|
267
|
+
ve.has(r) || (ve.add(r), r());
|
|
271
268
|
}
|
|
272
|
-
|
|
273
|
-
} while (
|
|
269
|
+
j.length = 0;
|
|
270
|
+
} while (F.length);
|
|
274
271
|
for (; Ze.length; )
|
|
275
272
|
Ze.pop()();
|
|
276
|
-
|
|
273
|
+
we = !1, ve.clear(), Y(e);
|
|
277
274
|
}
|
|
278
|
-
function
|
|
275
|
+
function rr(e) {
|
|
279
276
|
if (e.fragment !== null) {
|
|
280
|
-
e.update(),
|
|
277
|
+
e.update(), W(e.before_update);
|
|
281
278
|
const t = e.dirty;
|
|
282
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
279
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
|
|
283
280
|
}
|
|
284
281
|
}
|
|
285
|
-
function
|
|
286
|
-
const t = [],
|
|
287
|
-
|
|
282
|
+
function nr(e) {
|
|
283
|
+
const t = [], r = [];
|
|
284
|
+
j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
|
|
288
285
|
}
|
|
289
|
-
const
|
|
286
|
+
const ir = /* @__PURE__ */ new Set();
|
|
290
287
|
function bt(e, t) {
|
|
291
|
-
e && e.i && (
|
|
288
|
+
e && e.i && (ir.delete(e), e.i(t));
|
|
292
289
|
}
|
|
293
290
|
function _i(e) {
|
|
294
291
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
@@ -296,56 +293,56 @@ function _i(e) {
|
|
|
296
293
|
function xi(e, t) {
|
|
297
294
|
e.d(1), t.delete(e.key);
|
|
298
295
|
}
|
|
299
|
-
function Hi(e, t,
|
|
296
|
+
function Hi(e, t, r, n, i, s, o, u, l, a, h, m) {
|
|
300
297
|
let f = e.length, b = s.length, y = f;
|
|
301
298
|
const _ = {};
|
|
302
299
|
for (; y--; )
|
|
303
300
|
_[e[y].key] = y;
|
|
304
301
|
const T = [], P = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), B = [];
|
|
305
302
|
for (y = b; y--; ) {
|
|
306
|
-
const c = m(i, s, y), L =
|
|
307
|
-
let C =
|
|
308
|
-
C ? B.push(() => C.p(c, t)) : (C =
|
|
303
|
+
const c = m(i, s, y), L = r(c);
|
|
304
|
+
let C = o.get(L);
|
|
305
|
+
C ? B.push(() => C.p(c, t)) : (C = a(L, c), C.c()), P.set(L, T[y] = C), L in _ && w.set(L, Math.abs(y - _[L]));
|
|
309
306
|
}
|
|
310
|
-
const
|
|
307
|
+
const O = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
311
308
|
function I(c) {
|
|
312
|
-
bt(c, 1), c.m(u, h),
|
|
309
|
+
bt(c, 1), c.m(u, h), o.set(c.key, c), h = c.first, b--;
|
|
313
310
|
}
|
|
314
311
|
for (; f && b; ) {
|
|
315
|
-
const c = T[b - 1], L = e[f - 1], C = c.key,
|
|
316
|
-
c === L ? (h = c.first, f--, b--) : P.has(
|
|
312
|
+
const c = T[b - 1], L = e[f - 1], C = c.key, ie = L.key;
|
|
313
|
+
c === L ? (h = c.first, f--, b--) : P.has(ie) ? !o.has(C) || O.has(C) ? I(c) : x.has(ie) ? f-- : w.get(C) > w.get(ie) ? (x.add(C), I(c)) : (O.add(ie), f--) : (l(L, o), f--);
|
|
317
314
|
}
|
|
318
315
|
for (; f--; ) {
|
|
319
316
|
const c = e[f];
|
|
320
|
-
P.has(c.key) || l(c,
|
|
317
|
+
P.has(c.key) || l(c, o);
|
|
321
318
|
}
|
|
322
319
|
for (; b; )
|
|
323
320
|
I(T[b - 1]);
|
|
324
|
-
return
|
|
325
|
-
}
|
|
326
|
-
function
|
|
327
|
-
const { fragment:
|
|
328
|
-
|
|
329
|
-
const s = e.$$.on_mount.map(ht).filter(
|
|
330
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
331
|
-
}), i.forEach(
|
|
332
|
-
}
|
|
333
|
-
function
|
|
334
|
-
const
|
|
335
|
-
|
|
336
|
-
}
|
|
337
|
-
function
|
|
338
|
-
e.$$.dirty[0] === -1 && (
|
|
339
|
-
}
|
|
340
|
-
function
|
|
341
|
-
const l =
|
|
342
|
-
|
|
343
|
-
const
|
|
321
|
+
return W(B), T;
|
|
322
|
+
}
|
|
323
|
+
function sr(e, t, r) {
|
|
324
|
+
const { fragment: n, after_update: i } = e.$$;
|
|
325
|
+
n && n.m(t, r), Pe(() => {
|
|
326
|
+
const s = e.$$.on_mount.map(ht).filter(De);
|
|
327
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : W(s), e.$$.on_mount = [];
|
|
328
|
+
}), i.forEach(Pe);
|
|
329
|
+
}
|
|
330
|
+
function or(e, t) {
|
|
331
|
+
const r = e.$$;
|
|
332
|
+
r.fragment !== null && (nr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
333
|
+
}
|
|
334
|
+
function ar(e, t) {
|
|
335
|
+
e.$$.dirty[0] === -1 && (F.push(e), dt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
336
|
+
}
|
|
337
|
+
function ur(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
338
|
+
const l = K;
|
|
339
|
+
Y(e);
|
|
340
|
+
const a = e.$$ = {
|
|
344
341
|
fragment: null,
|
|
345
342
|
ctx: [],
|
|
346
343
|
// state
|
|
347
344
|
props: s,
|
|
348
|
-
update:
|
|
345
|
+
update: N,
|
|
349
346
|
not_equal: i,
|
|
350
347
|
bound: We(),
|
|
351
348
|
// lifecycle
|
|
@@ -361,24 +358,24 @@ function hn(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
361
358
|
skip_bound: !1,
|
|
362
359
|
root: t.target || l.$$.root
|
|
363
360
|
};
|
|
364
|
-
|
|
361
|
+
o && o(a.root);
|
|
365
362
|
let h = !1;
|
|
366
|
-
if (
|
|
363
|
+
if (a.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
|
|
367
364
|
const y = b.length ? b[0] : f;
|
|
368
|
-
return
|
|
369
|
-
}) : [],
|
|
365
|
+
return a.ctx && i(a.ctx[m], a.ctx[m] = y) && (!a.skip_bound && a.bound[m] && a.bound[m](y), h && ar(e, m)), f;
|
|
366
|
+
}) : [], a.update(), h = !0, W(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
370
367
|
if (t.hydrate) {
|
|
371
368
|
const m = Kt(t.target);
|
|
372
|
-
|
|
369
|
+
a.fragment && a.fragment.l(m), m.forEach(re);
|
|
373
370
|
} else
|
|
374
|
-
|
|
375
|
-
t.intro && bt(e.$$.fragment),
|
|
371
|
+
a.fragment && a.fragment.c();
|
|
372
|
+
t.intro && bt(e.$$.fragment), sr(e, t.target, t.anchor), H();
|
|
376
373
|
}
|
|
377
|
-
|
|
374
|
+
Y(l);
|
|
378
375
|
}
|
|
379
376
|
let pt;
|
|
380
377
|
typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
381
|
-
constructor(t,
|
|
378
|
+
constructor(t, r, n) {
|
|
382
379
|
super();
|
|
383
380
|
/** The Svelte component constructor */
|
|
384
381
|
S(this, "$$ctor");
|
|
@@ -398,19 +395,19 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
|
398
395
|
S(this, "$$l", {});
|
|
399
396
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
400
397
|
S(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
401
|
-
this.$$ctor = t, this.$$s =
|
|
398
|
+
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
402
399
|
}
|
|
403
|
-
addEventListener(t,
|
|
404
|
-
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(
|
|
405
|
-
const i = this.$$c.$on(t,
|
|
406
|
-
this.$$l_u.set(
|
|
400
|
+
addEventListener(t, r, n) {
|
|
401
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
|
|
402
|
+
const i = this.$$c.$on(t, r);
|
|
403
|
+
this.$$l_u.set(r, i);
|
|
407
404
|
}
|
|
408
|
-
super.addEventListener(t,
|
|
405
|
+
super.addEventListener(t, r, n);
|
|
409
406
|
}
|
|
410
|
-
removeEventListener(t,
|
|
411
|
-
if (super.removeEventListener(t,
|
|
412
|
-
const i = this.$$l_u.get(
|
|
413
|
-
i && (i(), this.$$l_u.delete(
|
|
407
|
+
removeEventListener(t, r, n) {
|
|
408
|
+
if (super.removeEventListener(t, r, n), this.$$c) {
|
|
409
|
+
const i = this.$$l_u.get(r);
|
|
410
|
+
i && (i(), this.$$l_u.delete(r));
|
|
414
411
|
}
|
|
415
412
|
}
|
|
416
413
|
connectedCallback() {
|
|
@@ -418,39 +415,39 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
|
418
415
|
if (this.$$cn = !0, !this.$$c) {
|
|
419
416
|
let t = function(s) {
|
|
420
417
|
return () => {
|
|
421
|
-
let
|
|
418
|
+
let o;
|
|
422
419
|
return {
|
|
423
420
|
c: function() {
|
|
424
|
-
|
|
421
|
+
o = ne("slot"), s !== "default" && Ge(o, "name", s);
|
|
425
422
|
},
|
|
426
423
|
/**
|
|
427
424
|
* @param {HTMLElement} target
|
|
428
425
|
* @param {HTMLElement} [anchor]
|
|
429
426
|
*/
|
|
430
|
-
m: function(
|
|
431
|
-
|
|
427
|
+
m: function(a, h) {
|
|
428
|
+
me(a, o, h);
|
|
432
429
|
},
|
|
433
|
-
d: function(
|
|
434
|
-
|
|
430
|
+
d: function(a) {
|
|
431
|
+
a && re(o);
|
|
435
432
|
}
|
|
436
433
|
};
|
|
437
434
|
};
|
|
438
435
|
};
|
|
439
436
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
440
437
|
return;
|
|
441
|
-
const
|
|
438
|
+
const r = {}, n = er(this);
|
|
442
439
|
for (const s of this.$$s)
|
|
443
|
-
s in
|
|
440
|
+
s in n && (r[s] = [t(s)]);
|
|
444
441
|
for (const s of this.attributes) {
|
|
445
|
-
const
|
|
446
|
-
|
|
442
|
+
const o = this.$$g_p(s.name);
|
|
443
|
+
o in this.$$d || (this.$$d[o] = ae(o, s.value, this.$$p_d, "toProp"));
|
|
447
444
|
}
|
|
448
445
|
for (const s in this.$$p_d)
|
|
449
446
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
450
447
|
this.$$c = new this.$$ctor({
|
|
451
448
|
target: this.shadowRoot || this,
|
|
452
449
|
props: Xe(Ve({}, this.$$d), {
|
|
453
|
-
$$slots:
|
|
450
|
+
$$slots: r,
|
|
454
451
|
$$scope: {
|
|
455
452
|
ctx: []
|
|
456
453
|
}
|
|
@@ -460,21 +457,21 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
|
460
457
|
this.$$r = !0;
|
|
461
458
|
for (const s in this.$$p_d)
|
|
462
459
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
463
|
-
const
|
|
460
|
+
const o = ae(
|
|
464
461
|
s,
|
|
465
462
|
this.$$d[s],
|
|
466
463
|
this.$$p_d,
|
|
467
464
|
"toAttribute"
|
|
468
465
|
);
|
|
469
|
-
|
|
466
|
+
o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
|
|
470
467
|
}
|
|
471
468
|
this.$$r = !1;
|
|
472
469
|
};
|
|
473
470
|
this.$$c.$$.after_update.push(i), i();
|
|
474
471
|
for (const s in this.$$l)
|
|
475
|
-
for (const
|
|
476
|
-
const u = this.$$c.$on(s,
|
|
477
|
-
this.$$l_u.set(
|
|
472
|
+
for (const o of this.$$l[s]) {
|
|
473
|
+
const u = this.$$c.$on(s, o);
|
|
474
|
+
this.$$l_u.set(o, u);
|
|
478
475
|
}
|
|
479
476
|
this.$$l = {};
|
|
480
477
|
}
|
|
@@ -482,9 +479,9 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
|
482
479
|
}
|
|
483
480
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
484
481
|
// and setting attributes through setAttribute etc, this is helpful
|
|
485
|
-
attributeChangedCallback(t,
|
|
482
|
+
attributeChangedCallback(t, r, n) {
|
|
486
483
|
var i;
|
|
487
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ae(t,
|
|
484
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ae(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
488
485
|
}
|
|
489
486
|
disconnectedCallback() {
|
|
490
487
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -493,16 +490,16 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
|
493
490
|
}
|
|
494
491
|
$$g_p(t) {
|
|
495
492
|
return Object.keys(this.$$p_d).find(
|
|
496
|
-
(
|
|
493
|
+
(r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
|
|
497
494
|
) || t;
|
|
498
495
|
}
|
|
499
496
|
});
|
|
500
|
-
function ae(e, t,
|
|
497
|
+
function ae(e, t, r, n) {
|
|
501
498
|
var s;
|
|
502
|
-
const i = (s =
|
|
503
|
-
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !
|
|
499
|
+
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
500
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
504
501
|
return t;
|
|
505
|
-
if (
|
|
502
|
+
if (n === "toAttribute")
|
|
506
503
|
switch (i) {
|
|
507
504
|
case "Object":
|
|
508
505
|
case "Array":
|
|
@@ -527,10 +524,10 @@ function ae(e, t, n, r) {
|
|
|
527
524
|
return t;
|
|
528
525
|
}
|
|
529
526
|
}
|
|
530
|
-
function
|
|
531
|
-
let
|
|
527
|
+
function hr(e, t, r, n, i, s) {
|
|
528
|
+
let o = class extends pt {
|
|
532
529
|
constructor() {
|
|
533
|
-
super(e,
|
|
530
|
+
super(e, r, i), this.$$p_d = t;
|
|
534
531
|
}
|
|
535
532
|
static get observedAttributes() {
|
|
536
533
|
return Object.keys(t).map(
|
|
@@ -539,26 +536,26 @@ function ln(e, t, n, r, i, s) {
|
|
|
539
536
|
}
|
|
540
537
|
};
|
|
541
538
|
return Object.keys(t).forEach((u) => {
|
|
542
|
-
Object.defineProperty(
|
|
539
|
+
Object.defineProperty(o.prototype, u, {
|
|
543
540
|
get() {
|
|
544
541
|
return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
|
|
545
542
|
},
|
|
546
543
|
set(l) {
|
|
547
|
-
var
|
|
548
|
-
l = ae(u, l, t), this.$$d[u] = l, (
|
|
544
|
+
var a;
|
|
545
|
+
l = ae(u, l, t), this.$$d[u] = l, (a = this.$$c) == null || a.$set({ [u]: l });
|
|
549
546
|
}
|
|
550
547
|
});
|
|
551
|
-
}),
|
|
552
|
-
Object.defineProperty(
|
|
548
|
+
}), n.forEach((u) => {
|
|
549
|
+
Object.defineProperty(o.prototype, u, {
|
|
553
550
|
get() {
|
|
554
551
|
var l;
|
|
555
552
|
return (l = this.$$c) == null ? void 0 : l[u];
|
|
556
553
|
}
|
|
557
554
|
});
|
|
558
555
|
}), e.element = /** @type {any} */
|
|
559
|
-
|
|
556
|
+
o, o;
|
|
560
557
|
}
|
|
561
|
-
class
|
|
558
|
+
class lr {
|
|
562
559
|
constructor() {
|
|
563
560
|
/**
|
|
564
561
|
* ### PRIVATE API
|
|
@@ -579,7 +576,7 @@ class fn {
|
|
|
579
576
|
}
|
|
580
577
|
/** @returns {void} */
|
|
581
578
|
$destroy() {
|
|
582
|
-
|
|
579
|
+
or(this, 1), this.$destroy = N;
|
|
583
580
|
}
|
|
584
581
|
/**
|
|
585
582
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -587,13 +584,13 @@ class fn {
|
|
|
587
584
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
588
585
|
* @returns {() => void}
|
|
589
586
|
*/
|
|
590
|
-
$on(t,
|
|
591
|
-
if (!
|
|
592
|
-
return
|
|
593
|
-
const
|
|
594
|
-
return
|
|
595
|
-
const i =
|
|
596
|
-
i !== -1 &&
|
|
587
|
+
$on(t, r) {
|
|
588
|
+
if (!De(r))
|
|
589
|
+
return N;
|
|
590
|
+
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
591
|
+
return n.push(r), () => {
|
|
592
|
+
const i = n.indexOf(r);
|
|
593
|
+
i !== -1 && n.splice(i, 1);
|
|
597
594
|
};
|
|
598
595
|
}
|
|
599
596
|
/**
|
|
@@ -604,60 +601,60 @@ class fn {
|
|
|
604
601
|
this.$$set && !Wt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
605
602
|
}
|
|
606
603
|
}
|
|
607
|
-
const
|
|
608
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
609
|
-
const
|
|
610
|
-
function
|
|
604
|
+
const fr = "4";
|
|
605
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fr);
|
|
606
|
+
const G = [];
|
|
607
|
+
function cr(e, t) {
|
|
611
608
|
return {
|
|
612
|
-
subscribe:
|
|
609
|
+
subscribe: ge(e, t).subscribe
|
|
613
610
|
};
|
|
614
611
|
}
|
|
615
|
-
function
|
|
616
|
-
let
|
|
617
|
-
const
|
|
612
|
+
function ge(e, t = N) {
|
|
613
|
+
let r;
|
|
614
|
+
const n = /* @__PURE__ */ new Set();
|
|
618
615
|
function i(u) {
|
|
619
|
-
if (lt(e, u) && (e = u,
|
|
620
|
-
const l = !
|
|
621
|
-
for (const
|
|
622
|
-
|
|
616
|
+
if (lt(e, u) && (e = u, r)) {
|
|
617
|
+
const l = !G.length;
|
|
618
|
+
for (const a of n)
|
|
619
|
+
a[1](), G.push(a, e);
|
|
623
620
|
if (l) {
|
|
624
|
-
for (let
|
|
625
|
-
|
|
626
|
-
|
|
621
|
+
for (let a = 0; a < G.length; a += 2)
|
|
622
|
+
G[a][0](G[a + 1]);
|
|
623
|
+
G.length = 0;
|
|
627
624
|
}
|
|
628
625
|
}
|
|
629
626
|
}
|
|
630
627
|
function s(u) {
|
|
631
628
|
i(u(e));
|
|
632
629
|
}
|
|
633
|
-
function
|
|
634
|
-
const
|
|
635
|
-
return
|
|
636
|
-
|
|
630
|
+
function o(u, l = N) {
|
|
631
|
+
const a = [u, l];
|
|
632
|
+
return n.add(a), n.size === 1 && (r = t(i, s) || N), u(e), () => {
|
|
633
|
+
n.delete(a), n.size === 0 && r && (r(), r = null);
|
|
637
634
|
};
|
|
638
635
|
}
|
|
639
|
-
return { set: i, update: s, subscribe:
|
|
636
|
+
return { set: i, update: s, subscribe: o };
|
|
640
637
|
}
|
|
641
|
-
function
|
|
642
|
-
const
|
|
638
|
+
function Z(e, t, r) {
|
|
639
|
+
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
643
640
|
if (!i.every(Boolean))
|
|
644
641
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
645
642
|
const s = t.length < 2;
|
|
646
|
-
return
|
|
643
|
+
return cr(r, (o, u) => {
|
|
647
644
|
let l = !1;
|
|
648
|
-
const
|
|
649
|
-
let h = 0, m =
|
|
645
|
+
const a = [];
|
|
646
|
+
let h = 0, m = N;
|
|
650
647
|
const f = () => {
|
|
651
648
|
if (h)
|
|
652
649
|
return;
|
|
653
650
|
m();
|
|
654
|
-
const y = t(
|
|
655
|
-
s ?
|
|
651
|
+
const y = t(n ? a[0] : a, o, u);
|
|
652
|
+
s ? o(y) : m = De(y) ? y : N;
|
|
656
653
|
}, b = i.map(
|
|
657
654
|
(y, _) => ft(
|
|
658
655
|
y,
|
|
659
656
|
(T) => {
|
|
660
|
-
|
|
657
|
+
a[_] = T, h &= ~(1 << _), l && f();
|
|
661
658
|
},
|
|
662
659
|
() => {
|
|
663
660
|
h |= 1 << _;
|
|
@@ -665,278 +662,240 @@ function W(e, t, n) {
|
|
|
665
662
|
)
|
|
666
663
|
);
|
|
667
664
|
return l = !0, f(), function() {
|
|
668
|
-
|
|
665
|
+
W(b), m(), l = !1;
|
|
669
666
|
};
|
|
670
667
|
});
|
|
671
668
|
}
|
|
672
|
-
function
|
|
669
|
+
function mr(e) {
|
|
673
670
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
674
671
|
}
|
|
675
|
-
var
|
|
676
|
-
return
|
|
672
|
+
var gr = function(t) {
|
|
673
|
+
return dr(t) && !br(t);
|
|
677
674
|
};
|
|
678
|
-
function
|
|
675
|
+
function dr(e) {
|
|
679
676
|
return !!e && typeof e == "object";
|
|
680
677
|
}
|
|
681
|
-
function
|
|
678
|
+
function br(e) {
|
|
682
679
|
var t = Object.prototype.toString.call(e);
|
|
683
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
680
|
+
return t === "[object RegExp]" || t === "[object Date]" || Er(e);
|
|
684
681
|
}
|
|
685
|
-
var
|
|
686
|
-
function
|
|
687
|
-
return e.$$typeof ===
|
|
682
|
+
var pr = typeof Symbol == "function" && Symbol.for, yr = pr ? Symbol.for("react.element") : 60103;
|
|
683
|
+
function Er(e) {
|
|
684
|
+
return e.$$typeof === yr;
|
|
688
685
|
}
|
|
689
|
-
function
|
|
686
|
+
function vr(e) {
|
|
690
687
|
return Array.isArray(e) ? [] : {};
|
|
691
688
|
}
|
|
692
|
-
function
|
|
693
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
689
|
+
function ee(e, t) {
|
|
690
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? k(vr(e), e, t) : e;
|
|
694
691
|
}
|
|
695
|
-
function
|
|
696
|
-
return e.concat(t).map(function(
|
|
697
|
-
return
|
|
692
|
+
function _r(e, t, r) {
|
|
693
|
+
return e.concat(t).map(function(n) {
|
|
694
|
+
return ee(n, r);
|
|
698
695
|
});
|
|
699
696
|
}
|
|
700
|
-
function
|
|
697
|
+
function xr(e, t) {
|
|
701
698
|
if (!t.customMerge)
|
|
702
|
-
return
|
|
703
|
-
var
|
|
704
|
-
return typeof
|
|
699
|
+
return k;
|
|
700
|
+
var r = t.customMerge(e);
|
|
701
|
+
return typeof r == "function" ? r : k;
|
|
705
702
|
}
|
|
706
|
-
function
|
|
703
|
+
function Hr(e) {
|
|
707
704
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
708
705
|
return Object.propertyIsEnumerable.call(e, t);
|
|
709
706
|
}) : [];
|
|
710
707
|
}
|
|
711
708
|
function Qe(e) {
|
|
712
|
-
return Object.keys(e).concat(
|
|
709
|
+
return Object.keys(e).concat(Hr(e));
|
|
713
710
|
}
|
|
714
711
|
function yt(e, t) {
|
|
715
712
|
try {
|
|
716
713
|
return t in e;
|
|
717
|
-
} catch (
|
|
714
|
+
} catch (r) {
|
|
718
715
|
return !1;
|
|
719
716
|
}
|
|
720
717
|
}
|
|
721
|
-
function
|
|
718
|
+
function Tr(e, t) {
|
|
722
719
|
return yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
723
720
|
}
|
|
724
|
-
function
|
|
725
|
-
var
|
|
726
|
-
return
|
|
727
|
-
|
|
721
|
+
function Sr(e, t, r) {
|
|
722
|
+
var n = {};
|
|
723
|
+
return r.isMergeableObject(e) && Qe(e).forEach(function(i) {
|
|
724
|
+
n[i] = ee(e[i], r);
|
|
728
725
|
}), Qe(t).forEach(function(i) {
|
|
729
|
-
|
|
730
|
-
}),
|
|
726
|
+
Tr(e, i) || (yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = xr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
|
|
727
|
+
}), n;
|
|
731
728
|
}
|
|
732
|
-
function
|
|
733
|
-
|
|
734
|
-
var
|
|
735
|
-
return s ?
|
|
729
|
+
function k(e, t, r) {
|
|
730
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || _r, r.isMergeableObject = r.isMergeableObject || gr, r.cloneUnlessOtherwiseSpecified = ee;
|
|
731
|
+
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
732
|
+
return s ? n ? r.arrayMerge(e, t, r) : Sr(e, t, r) : ee(t, r);
|
|
736
733
|
}
|
|
737
|
-
|
|
734
|
+
k.all = function(t, r) {
|
|
738
735
|
if (!Array.isArray(t))
|
|
739
736
|
throw new Error("first argument should be an array");
|
|
740
|
-
return t.reduce(function(
|
|
741
|
-
return
|
|
737
|
+
return t.reduce(function(n, i) {
|
|
738
|
+
return k(n, i, r);
|
|
742
739
|
}, {});
|
|
743
740
|
};
|
|
744
|
-
var
|
|
745
|
-
const
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
754
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
755
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
756
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
757
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
758
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
759
|
-
***************************************************************************** */
|
|
760
|
-
var Pe = function(e, t) {
|
|
761
|
-
return Pe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
762
|
-
n.__proto__ = r;
|
|
763
|
-
} || function(n, r) {
|
|
764
|
-
for (var i in r)
|
|
765
|
-
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
766
|
-
}, Pe(e, t);
|
|
741
|
+
var Br = k, Ar = Br;
|
|
742
|
+
const wr = /* @__PURE__ */ mr(Ar);
|
|
743
|
+
var Oe = function(e, t) {
|
|
744
|
+
return Oe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
745
|
+
r.__proto__ = n;
|
|
746
|
+
} || function(r, n) {
|
|
747
|
+
for (var i in n)
|
|
748
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
749
|
+
}, Oe(e, t);
|
|
767
750
|
};
|
|
768
|
-
function
|
|
751
|
+
function de(e, t) {
|
|
769
752
|
if (typeof t != "function" && t !== null)
|
|
770
753
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
771
|
-
|
|
772
|
-
function
|
|
754
|
+
Oe(e, t);
|
|
755
|
+
function r() {
|
|
773
756
|
this.constructor = e;
|
|
774
757
|
}
|
|
775
|
-
e.prototype = t === null ? Object.create(t) : (
|
|
776
|
-
}
|
|
777
|
-
var
|
|
778
|
-
return
|
|
779
|
-
for (var
|
|
780
|
-
|
|
781
|
-
for (var s in
|
|
782
|
-
Object.prototype.hasOwnProperty.call(
|
|
758
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
759
|
+
}
|
|
760
|
+
var M = function() {
|
|
761
|
+
return M = Object.assign || function(t) {
|
|
762
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
763
|
+
r = arguments[n];
|
|
764
|
+
for (var s in r)
|
|
765
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
783
766
|
}
|
|
784
767
|
return t;
|
|
785
|
-
},
|
|
768
|
+
}, M.apply(this, arguments);
|
|
786
769
|
};
|
|
787
|
-
function
|
|
788
|
-
var
|
|
789
|
-
for (var
|
|
790
|
-
Object.prototype.hasOwnProperty.call(e,
|
|
770
|
+
function Pr(e, t) {
|
|
771
|
+
var r = {};
|
|
772
|
+
for (var n in e)
|
|
773
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
791
774
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
792
|
-
for (var i = 0,
|
|
793
|
-
t.indexOf(
|
|
794
|
-
return
|
|
795
|
-
}
|
|
796
|
-
function Ti(e) {
|
|
797
|
-
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
798
|
-
if (n)
|
|
799
|
-
return n.call(e);
|
|
800
|
-
if (e && typeof e.length == "number")
|
|
801
|
-
return {
|
|
802
|
-
next: function() {
|
|
803
|
-
return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
|
|
804
|
-
}
|
|
805
|
-
};
|
|
806
|
-
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
807
|
-
}
|
|
808
|
-
function Si(e, t) {
|
|
809
|
-
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
810
|
-
if (!n)
|
|
811
|
-
return e;
|
|
812
|
-
var r = n.call(e), i, s = [], a;
|
|
813
|
-
try {
|
|
814
|
-
for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
|
|
815
|
-
s.push(i.value);
|
|
816
|
-
} catch (u) {
|
|
817
|
-
a = { error: u };
|
|
818
|
-
} finally {
|
|
819
|
-
try {
|
|
820
|
-
i && !i.done && (n = r.return) && n.call(r);
|
|
821
|
-
} finally {
|
|
822
|
-
if (a)
|
|
823
|
-
throw a.error;
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
return s;
|
|
775
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
776
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
777
|
+
return r;
|
|
827
778
|
}
|
|
828
|
-
function
|
|
829
|
-
if (
|
|
830
|
-
for (var
|
|
831
|
-
(s || !(
|
|
832
|
-
return e.concat(s || t);
|
|
779
|
+
function _e(e, t, r) {
|
|
780
|
+
if (r || arguments.length === 2)
|
|
781
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
782
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
783
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
|
833
784
|
}
|
|
834
|
-
function
|
|
835
|
-
var
|
|
785
|
+
function xe(e, t) {
|
|
786
|
+
var r = t && t.cache ? t.cache : Rr, n = t && t.serializer ? t.serializer : Cr, i = t && t.strategy ? t.strategy : Ir;
|
|
836
787
|
return i(e, {
|
|
837
|
-
cache:
|
|
838
|
-
serializer:
|
|
788
|
+
cache: r,
|
|
789
|
+
serializer: n
|
|
839
790
|
});
|
|
840
791
|
}
|
|
841
|
-
function
|
|
792
|
+
function Or(e) {
|
|
842
793
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
843
794
|
}
|
|
844
|
-
function
|
|
845
|
-
var i =
|
|
846
|
-
return typeof s == "undefined" && (s = e.call(this,
|
|
847
|
-
}
|
|
848
|
-
function vt(e, t, n) {
|
|
849
|
-
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
850
|
-
return typeof s == "undefined" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
795
|
+
function Nr(e, t, r, n) {
|
|
796
|
+
var i = Or(n) ? n : r(n), s = t.get(i);
|
|
797
|
+
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
851
798
|
}
|
|
852
|
-
function
|
|
853
|
-
|
|
799
|
+
function Et(e, t, r) {
|
|
800
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
801
|
+
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
854
802
|
}
|
|
855
|
-
function
|
|
856
|
-
|
|
857
|
-
return De(e, this, n, t.cache.create(), t.serializer);
|
|
803
|
+
function vt(e, t, r, n, i) {
|
|
804
|
+
return r.bind(t, e, n, i);
|
|
858
805
|
}
|
|
859
|
-
function
|
|
860
|
-
|
|
806
|
+
function Ir(e, t) {
|
|
807
|
+
var r = e.length === 1 ? Nr : Et;
|
|
808
|
+
return vt(e, this, r, t.cache.create(), t.serializer);
|
|
861
809
|
}
|
|
862
|
-
function
|
|
863
|
-
return
|
|
810
|
+
function Lr(e, t) {
|
|
811
|
+
return vt(e, this, Et, t.cache.create(), t.serializer);
|
|
864
812
|
}
|
|
865
|
-
var
|
|
813
|
+
var Cr = function() {
|
|
866
814
|
return JSON.stringify(arguments);
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
815
|
+
}, Mr = (
|
|
816
|
+
/** @class */
|
|
817
|
+
function() {
|
|
818
|
+
function e() {
|
|
819
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
820
|
+
}
|
|
821
|
+
return e.prototype.get = function(t) {
|
|
822
|
+
return this.cache[t];
|
|
823
|
+
}, e.prototype.set = function(t, r) {
|
|
824
|
+
this.cache[t] = r;
|
|
825
|
+
}, e;
|
|
826
|
+
}()
|
|
827
|
+
), Rr = {
|
|
878
828
|
create: function() {
|
|
879
|
-
return new
|
|
829
|
+
return new Mr();
|
|
880
830
|
}
|
|
881
|
-
},
|
|
882
|
-
variadic:
|
|
883
|
-
|
|
884
|
-
|
|
831
|
+
}, He = {
|
|
832
|
+
variadic: Lr
|
|
833
|
+
}, le = function() {
|
|
834
|
+
return le = Object.assign || function(t) {
|
|
835
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
836
|
+
r = arguments[n];
|
|
837
|
+
for (var s in r)
|
|
838
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
839
|
+
}
|
|
840
|
+
return t;
|
|
841
|
+
}, le.apply(this, arguments);
|
|
842
|
+
};
|
|
843
|
+
var d;
|
|
885
844
|
(function(e) {
|
|
886
845
|
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";
|
|
887
846
|
})(d || (d = {}));
|
|
888
|
-
var
|
|
847
|
+
var E;
|
|
889
848
|
(function(e) {
|
|
890
849
|
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";
|
|
891
|
-
})(
|
|
892
|
-
var
|
|
850
|
+
})(E || (E = {}));
|
|
851
|
+
var V;
|
|
893
852
|
(function(e) {
|
|
894
853
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
895
|
-
})(
|
|
854
|
+
})(V || (V = {}));
|
|
896
855
|
function qe(e) {
|
|
897
|
-
return e.type ===
|
|
856
|
+
return e.type === E.literal;
|
|
898
857
|
}
|
|
899
|
-
function $
|
|
900
|
-
return e.type ===
|
|
858
|
+
function $r(e) {
|
|
859
|
+
return e.type === E.argument;
|
|
901
860
|
}
|
|
902
861
|
function _t(e) {
|
|
903
|
-
return e.type ===
|
|
862
|
+
return e.type === E.number;
|
|
904
863
|
}
|
|
905
864
|
function xt(e) {
|
|
906
|
-
return e.type ===
|
|
865
|
+
return e.type === E.date;
|
|
907
866
|
}
|
|
908
867
|
function Ht(e) {
|
|
909
|
-
return e.type ===
|
|
868
|
+
return e.type === E.time;
|
|
910
869
|
}
|
|
911
870
|
function Tt(e) {
|
|
912
|
-
return e.type ===
|
|
871
|
+
return e.type === E.select;
|
|
913
872
|
}
|
|
914
873
|
function St(e) {
|
|
915
|
-
return e.type ===
|
|
874
|
+
return e.type === E.plural;
|
|
916
875
|
}
|
|
917
|
-
function
|
|
918
|
-
return e.type ===
|
|
876
|
+
function Ur(e) {
|
|
877
|
+
return e.type === E.pound;
|
|
919
878
|
}
|
|
920
879
|
function Bt(e) {
|
|
921
|
-
return e.type ===
|
|
880
|
+
return e.type === E.tag;
|
|
922
881
|
}
|
|
923
882
|
function At(e) {
|
|
924
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
883
|
+
return !!(e && typeof e == "object" && e.type === V.number);
|
|
925
884
|
}
|
|
926
885
|
function Ne(e) {
|
|
927
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
886
|
+
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
|
928
887
|
}
|
|
929
|
-
var wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
930
|
-
function
|
|
888
|
+
var wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[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;
|
|
889
|
+
function Gr(e) {
|
|
931
890
|
var t = {};
|
|
932
|
-
return e.replace(
|
|
933
|
-
var
|
|
934
|
-
switch (
|
|
891
|
+
return e.replace(Dr, function(r) {
|
|
892
|
+
var n = r.length;
|
|
893
|
+
switch (r[0]) {
|
|
935
894
|
case "G":
|
|
936
|
-
t.era =
|
|
895
|
+
t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
937
896
|
break;
|
|
938
897
|
case "y":
|
|
939
|
-
t.year =
|
|
898
|
+
t.year = n === 2 ? "2-digit" : "numeric";
|
|
940
899
|
break;
|
|
941
900
|
case "Y":
|
|
942
901
|
case "u":
|
|
@@ -948,30 +907,30 @@ function Gn(e) {
|
|
|
948
907
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
949
908
|
case "M":
|
|
950
909
|
case "L":
|
|
951
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
910
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
|
|
952
911
|
break;
|
|
953
912
|
case "w":
|
|
954
913
|
case "W":
|
|
955
914
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
956
915
|
case "d":
|
|
957
|
-
t.day = ["numeric", "2-digit"][
|
|
916
|
+
t.day = ["numeric", "2-digit"][n - 1];
|
|
958
917
|
break;
|
|
959
918
|
case "D":
|
|
960
919
|
case "F":
|
|
961
920
|
case "g":
|
|
962
921
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
963
922
|
case "E":
|
|
964
|
-
t.weekday =
|
|
923
|
+
t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
965
924
|
break;
|
|
966
925
|
case "e":
|
|
967
|
-
if (
|
|
926
|
+
if (n < 4)
|
|
968
927
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
969
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
928
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
970
929
|
break;
|
|
971
930
|
case "c":
|
|
972
|
-
if (
|
|
931
|
+
if (n < 4)
|
|
973
932
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
974
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
933
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
975
934
|
break;
|
|
976
935
|
case "a":
|
|
977
936
|
t.hour12 = !0;
|
|
@@ -980,32 +939,32 @@ function Gn(e) {
|
|
|
980
939
|
case "B":
|
|
981
940
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
982
941
|
case "h":
|
|
983
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
942
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
|
|
984
943
|
break;
|
|
985
944
|
case "H":
|
|
986
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
945
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
|
|
987
946
|
break;
|
|
988
947
|
case "K":
|
|
989
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
948
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
|
|
990
949
|
break;
|
|
991
950
|
case "k":
|
|
992
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
951
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
|
|
993
952
|
break;
|
|
994
953
|
case "j":
|
|
995
954
|
case "J":
|
|
996
955
|
case "C":
|
|
997
956
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
998
957
|
case "m":
|
|
999
|
-
t.minute = ["numeric", "2-digit"][
|
|
958
|
+
t.minute = ["numeric", "2-digit"][n - 1];
|
|
1000
959
|
break;
|
|
1001
960
|
case "s":
|
|
1002
|
-
t.second = ["numeric", "2-digit"][
|
|
961
|
+
t.second = ["numeric", "2-digit"][n - 1];
|
|
1003
962
|
break;
|
|
1004
963
|
case "S":
|
|
1005
964
|
case "A":
|
|
1006
965
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
1007
966
|
case "z":
|
|
1008
|
-
t.timeZoneName =
|
|
967
|
+
t.timeZoneName = n < 4 ? "short" : "long";
|
|
1009
968
|
break;
|
|
1010
969
|
case "Z":
|
|
1011
970
|
case "O":
|
|
@@ -1018,36 +977,46 @@ function Gn(e) {
|
|
|
1018
977
|
return "";
|
|
1019
978
|
}), t;
|
|
1020
979
|
}
|
|
1021
|
-
var
|
|
1022
|
-
function
|
|
980
|
+
var v = function() {
|
|
981
|
+
return v = Object.assign || function(t) {
|
|
982
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
983
|
+
r = arguments[n];
|
|
984
|
+
for (var s in r)
|
|
985
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
986
|
+
}
|
|
987
|
+
return t;
|
|
988
|
+
}, v.apply(this, arguments);
|
|
989
|
+
};
|
|
990
|
+
var Fr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
991
|
+
function jr(e) {
|
|
1023
992
|
if (e.length === 0)
|
|
1024
993
|
throw new Error("Number skeleton cannot be empty");
|
|
1025
|
-
for (var t = e.split(
|
|
994
|
+
for (var t = e.split(Fr).filter(function(f) {
|
|
1026
995
|
return f.length > 0;
|
|
1027
|
-
}),
|
|
1028
|
-
var s = i[
|
|
1029
|
-
if (
|
|
996
|
+
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
997
|
+
var s = i[n], o = s.split("/");
|
|
998
|
+
if (o.length === 0)
|
|
1030
999
|
throw new Error("Invalid number skeleton");
|
|
1031
|
-
for (var u =
|
|
1032
|
-
var m = h[
|
|
1000
|
+
for (var u = o[0], l = o.slice(1), a = 0, h = l; a < h.length; a++) {
|
|
1001
|
+
var m = h[a];
|
|
1033
1002
|
if (m.length === 0)
|
|
1034
1003
|
throw new Error("Invalid number skeleton");
|
|
1035
1004
|
}
|
|
1036
|
-
|
|
1005
|
+
r.push({ stem: u, options: l });
|
|
1037
1006
|
}
|
|
1038
|
-
return
|
|
1007
|
+
return r;
|
|
1039
1008
|
}
|
|
1040
|
-
function
|
|
1009
|
+
function kr(e) {
|
|
1041
1010
|
return e.replace(/^(.*?)-/, "");
|
|
1042
1011
|
}
|
|
1043
|
-
var Je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pt = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1012
|
+
var Je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pt = /^(@+)?(\+|#+)?[rs]?$/g, Vr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ot = /^(0+)$/;
|
|
1044
1013
|
function Ye(e) {
|
|
1045
1014
|
var t = {};
|
|
1046
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Pt, function(
|
|
1047
|
-
return typeof i != "string" ? (t.minimumSignificantDigits =
|
|
1015
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Pt, function(r, n, i) {
|
|
1016
|
+
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)), "";
|
|
1048
1017
|
}), t;
|
|
1049
1018
|
}
|
|
1050
|
-
function
|
|
1019
|
+
function Nt(e) {
|
|
1051
1020
|
switch (e) {
|
|
1052
1021
|
case "sign-auto":
|
|
1053
1022
|
return {
|
|
@@ -1087,27 +1056,27 @@ function Ot(e) {
|
|
|
1087
1056
|
};
|
|
1088
1057
|
}
|
|
1089
1058
|
}
|
|
1090
|
-
function
|
|
1059
|
+
function Xr(e) {
|
|
1091
1060
|
var t;
|
|
1092
1061
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1093
1062
|
notation: "engineering"
|
|
1094
1063
|
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
|
1095
1064
|
notation: "scientific"
|
|
1096
1065
|
}, e = e.slice(1)), t) {
|
|
1097
|
-
var
|
|
1098
|
-
if (
|
|
1066
|
+
var r = e.slice(0, 2);
|
|
1067
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ot.test(e))
|
|
1099
1068
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1100
1069
|
t.minimumIntegerDigits = e.length;
|
|
1101
1070
|
}
|
|
1102
1071
|
return t;
|
|
1103
1072
|
}
|
|
1104
1073
|
function Ke(e) {
|
|
1105
|
-
var t = {},
|
|
1106
|
-
return
|
|
1074
|
+
var t = {}, r = Nt(e);
|
|
1075
|
+
return r || t;
|
|
1107
1076
|
}
|
|
1108
|
-
function
|
|
1109
|
-
for (var t = {},
|
|
1110
|
-
var i = r
|
|
1077
|
+
function zr(e) {
|
|
1078
|
+
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1079
|
+
var i = n[r];
|
|
1111
1080
|
switch (i.stem) {
|
|
1112
1081
|
case "percent":
|
|
1113
1082
|
case "%":
|
|
@@ -1129,7 +1098,7 @@ function zn(e) {
|
|
|
1129
1098
|
continue;
|
|
1130
1099
|
case "measure-unit":
|
|
1131
1100
|
case "unit":
|
|
1132
|
-
t.style = "unit", t.unit =
|
|
1101
|
+
t.style = "unit", t.unit = kr(i.options[0]);
|
|
1133
1102
|
continue;
|
|
1134
1103
|
case "compact-short":
|
|
1135
1104
|
case "K":
|
|
@@ -1140,13 +1109,13 @@ function zn(e) {
|
|
|
1140
1109
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1141
1110
|
continue;
|
|
1142
1111
|
case "scientific":
|
|
1143
|
-
t =
|
|
1144
|
-
return
|
|
1112
|
+
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
|
|
1113
|
+
return v(v({}, l), Ke(a));
|
|
1145
1114
|
}, {}));
|
|
1146
1115
|
continue;
|
|
1147
1116
|
case "engineering":
|
|
1148
|
-
t =
|
|
1149
|
-
return
|
|
1117
|
+
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
|
|
1118
|
+
return v(v({}, l), Ke(a));
|
|
1150
1119
|
}, {}));
|
|
1151
1120
|
continue;
|
|
1152
1121
|
case "notation-simple":
|
|
@@ -1191,8 +1160,8 @@ function zn(e) {
|
|
|
1191
1160
|
case "integer-width":
|
|
1192
1161
|
if (i.options.length > 1)
|
|
1193
1162
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1194
|
-
i.options[0].replace(
|
|
1195
|
-
if (
|
|
1163
|
+
i.options[0].replace(Vr, function(l, a, h, m, f, b) {
|
|
1164
|
+
if (a)
|
|
1196
1165
|
t.minimumIntegerDigits = h.length;
|
|
1197
1166
|
else {
|
|
1198
1167
|
if (m && f)
|
|
@@ -1204,32 +1173,32 @@ function zn(e) {
|
|
|
1204
1173
|
});
|
|
1205
1174
|
continue;
|
|
1206
1175
|
}
|
|
1207
|
-
if (
|
|
1176
|
+
if (Ot.test(i.stem)) {
|
|
1208
1177
|
t.minimumIntegerDigits = i.stem.length;
|
|
1209
1178
|
continue;
|
|
1210
1179
|
}
|
|
1211
1180
|
if (Je.test(i.stem)) {
|
|
1212
1181
|
if (i.options.length > 1)
|
|
1213
1182
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1214
|
-
i.stem.replace(Je, function(l,
|
|
1215
|
-
return h === "*" ? t.minimumFractionDigits =
|
|
1183
|
+
i.stem.replace(Je, function(l, a, h, m, f, b) {
|
|
1184
|
+
return h === "*" ? t.minimumFractionDigits = a.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1216
1185
|
});
|
|
1217
1186
|
var s = i.options[0];
|
|
1218
|
-
s === "w" ? t =
|
|
1187
|
+
s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Ye(s)));
|
|
1219
1188
|
continue;
|
|
1220
1189
|
}
|
|
1221
1190
|
if (Pt.test(i.stem)) {
|
|
1222
|
-
t =
|
|
1191
|
+
t = v(v({}, t), Ye(i.stem));
|
|
1223
1192
|
continue;
|
|
1224
1193
|
}
|
|
1225
|
-
var
|
|
1226
|
-
|
|
1227
|
-
var u =
|
|
1228
|
-
u && (t =
|
|
1194
|
+
var o = Nt(i.stem);
|
|
1195
|
+
o && (t = v(v({}, t), o));
|
|
1196
|
+
var u = Xr(i.stem);
|
|
1197
|
+
u && (t = v(v({}, t), u));
|
|
1229
1198
|
}
|
|
1230
1199
|
return t;
|
|
1231
1200
|
}
|
|
1232
|
-
var
|
|
1201
|
+
var oe = {
|
|
1233
1202
|
"001": [
|
|
1234
1203
|
"H",
|
|
1235
1204
|
"h"
|
|
@@ -2644,23 +2613,23 @@ var se = {
|
|
|
2644
2613
|
"h"
|
|
2645
2614
|
]
|
|
2646
2615
|
};
|
|
2647
|
-
function
|
|
2648
|
-
for (var
|
|
2649
|
-
var i = e.charAt(
|
|
2616
|
+
function Wr(e, t) {
|
|
2617
|
+
for (var r = "", n = 0; n < e.length; n++) {
|
|
2618
|
+
var i = e.charAt(n);
|
|
2650
2619
|
if (i === "j") {
|
|
2651
|
-
for (var s = 0;
|
|
2652
|
-
s++,
|
|
2653
|
-
var
|
|
2654
|
-
for ((
|
|
2655
|
-
|
|
2656
|
-
for (;
|
|
2657
|
-
|
|
2620
|
+
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2621
|
+
s++, n++;
|
|
2622
|
+
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = Zr(t);
|
|
2623
|
+
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
|
2624
|
+
r += l;
|
|
2625
|
+
for (; o-- > 0; )
|
|
2626
|
+
r = a + r;
|
|
2658
2627
|
} else
|
|
2659
|
-
i === "J" ?
|
|
2628
|
+
i === "J" ? r += "H" : r += i;
|
|
2660
2629
|
}
|
|
2661
|
-
return
|
|
2630
|
+
return r;
|
|
2662
2631
|
}
|
|
2663
|
-
function
|
|
2632
|
+
function Zr(e) {
|
|
2664
2633
|
var t = e.hourCycle;
|
|
2665
2634
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2666
2635
|
e.hourCycles && // @ts-ignore
|
|
@@ -2677,73 +2646,73 @@ function Zn(e) {
|
|
|
2677
2646
|
default:
|
|
2678
2647
|
throw new Error("Invalid hourCycle");
|
|
2679
2648
|
}
|
|
2680
|
-
var
|
|
2681
|
-
|
|
2682
|
-
var i =
|
|
2649
|
+
var r = e.language, n;
|
|
2650
|
+
r !== "root" && (n = e.maximize().region);
|
|
2651
|
+
var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
|
|
2683
2652
|
return i[0];
|
|
2684
2653
|
}
|
|
2685
|
-
var
|
|
2654
|
+
var Te, Qr = new RegExp("^".concat(wt.source, "*")), qr = new RegExp("".concat(wt.source, "*$"));
|
|
2686
2655
|
function p(e, t) {
|
|
2687
2656
|
return { start: e, end: t };
|
|
2688
2657
|
}
|
|
2689
|
-
var
|
|
2658
|
+
var Jr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yr = !!String.fromCodePoint, Kr = !!Object.fromEntries, en = !!String.prototype.codePointAt, tn = !!String.prototype.trimStart, rn = !!String.prototype.trimEnd, nn = !!Number.isSafeInteger, sn = nn ? Number.isSafeInteger : function(e) {
|
|
2690
2659
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2691
|
-
},
|
|
2660
|
+
}, Ie = !0;
|
|
2692
2661
|
try {
|
|
2693
|
-
var
|
|
2694
|
-
|
|
2662
|
+
var on = Lt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2663
|
+
Ie = ((Te = on.exec("a")) === null || Te === void 0 ? void 0 : Te[0]) === "a";
|
|
2695
2664
|
} catch (e) {
|
|
2696
|
-
|
|
2665
|
+
Ie = !1;
|
|
2697
2666
|
}
|
|
2698
|
-
var et =
|
|
2667
|
+
var et = Jr ? (
|
|
2699
2668
|
// Native
|
|
2700
|
-
function(t,
|
|
2701
|
-
return t.startsWith(
|
|
2669
|
+
function(t, r, n) {
|
|
2670
|
+
return t.startsWith(r, n);
|
|
2702
2671
|
}
|
|
2703
2672
|
) : (
|
|
2704
2673
|
// For IE11
|
|
2705
|
-
function(t,
|
|
2706
|
-
return t.slice(
|
|
2674
|
+
function(t, r, n) {
|
|
2675
|
+
return t.slice(n, n + r.length) === r;
|
|
2707
2676
|
}
|
|
2708
|
-
),
|
|
2677
|
+
), Le = Yr ? String.fromCodePoint : (
|
|
2709
2678
|
// IE11
|
|
2710
2679
|
function() {
|
|
2711
|
-
for (var t = [],
|
|
2712
|
-
t[
|
|
2713
|
-
for (var
|
|
2714
|
-
if (
|
|
2715
|
-
throw RangeError(
|
|
2716
|
-
|
|
2680
|
+
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2681
|
+
t[r] = arguments[r];
|
|
2682
|
+
for (var n = "", i = t.length, s = 0, o; i > s; ) {
|
|
2683
|
+
if (o = t[s++], o > 1114111)
|
|
2684
|
+
throw RangeError(o + " is not a valid code point");
|
|
2685
|
+
n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
|
2717
2686
|
}
|
|
2718
|
-
return
|
|
2687
|
+
return n;
|
|
2719
2688
|
}
|
|
2720
2689
|
), tt = (
|
|
2721
2690
|
// native
|
|
2722
|
-
|
|
2691
|
+
Kr ? Object.fromEntries : (
|
|
2723
2692
|
// Ponyfill
|
|
2724
2693
|
function(t) {
|
|
2725
|
-
for (var
|
|
2726
|
-
var s = i[
|
|
2727
|
-
|
|
2694
|
+
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2695
|
+
var s = i[n], o = s[0], u = s[1];
|
|
2696
|
+
r[o] = u;
|
|
2728
2697
|
}
|
|
2729
|
-
return
|
|
2698
|
+
return r;
|
|
2730
2699
|
}
|
|
2731
2700
|
)
|
|
2732
|
-
), It =
|
|
2701
|
+
), It = en ? (
|
|
2733
2702
|
// Native
|
|
2734
|
-
function(t,
|
|
2735
|
-
return t.codePointAt(
|
|
2703
|
+
function(t, r) {
|
|
2704
|
+
return t.codePointAt(r);
|
|
2736
2705
|
}
|
|
2737
2706
|
) : (
|
|
2738
2707
|
// IE 11
|
|
2739
|
-
function(t,
|
|
2740
|
-
var
|
|
2741
|
-
if (!(
|
|
2742
|
-
var i = t.charCodeAt(
|
|
2743
|
-
return i < 55296 || i > 56319 ||
|
|
2708
|
+
function(t, r) {
|
|
2709
|
+
var n = t.length;
|
|
2710
|
+
if (!(r < 0 || r >= n)) {
|
|
2711
|
+
var i = t.charCodeAt(r), s;
|
|
2712
|
+
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2744
2713
|
}
|
|
2745
2714
|
}
|
|
2746
|
-
),
|
|
2715
|
+
), an = tn ? (
|
|
2747
2716
|
// Native
|
|
2748
2717
|
function(t) {
|
|
2749
2718
|
return t.trimStart();
|
|
@@ -2751,9 +2720,9 @@ var et = Jn ? (
|
|
|
2751
2720
|
) : (
|
|
2752
2721
|
// Ponyfill
|
|
2753
2722
|
function(t) {
|
|
2754
|
-
return t.replace(
|
|
2723
|
+
return t.replace(Qr, "");
|
|
2755
2724
|
}
|
|
2756
|
-
),
|
|
2725
|
+
), un = rn ? (
|
|
2757
2726
|
// Native
|
|
2758
2727
|
function(t) {
|
|
2759
2728
|
return t.trimEnd();
|
|
@@ -2761,126 +2730,126 @@ var et = Jn ? (
|
|
|
2761
2730
|
) : (
|
|
2762
2731
|
// Ponyfill
|
|
2763
2732
|
function(t) {
|
|
2764
|
-
return t.replace(
|
|
2733
|
+
return t.replace(qr, "");
|
|
2765
2734
|
}
|
|
2766
2735
|
);
|
|
2767
2736
|
function Lt(e, t) {
|
|
2768
2737
|
return new RegExp(e, t);
|
|
2769
2738
|
}
|
|
2770
|
-
var
|
|
2771
|
-
if (
|
|
2772
|
-
var
|
|
2773
|
-
|
|
2774
|
-
var
|
|
2775
|
-
|
|
2776
|
-
var i =
|
|
2777
|
-
return (
|
|
2739
|
+
var Ce;
|
|
2740
|
+
if (Ie) {
|
|
2741
|
+
var rt = Lt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2742
|
+
Ce = function(t, r) {
|
|
2743
|
+
var n;
|
|
2744
|
+
rt.lastIndex = r;
|
|
2745
|
+
var i = rt.exec(t);
|
|
2746
|
+
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2778
2747
|
};
|
|
2779
2748
|
} else
|
|
2780
|
-
|
|
2781
|
-
for (var
|
|
2782
|
-
var i = It(t,
|
|
2783
|
-
if (i === void 0 || Ct(i) ||
|
|
2749
|
+
Ce = function(t, r) {
|
|
2750
|
+
for (var n = []; ; ) {
|
|
2751
|
+
var i = It(t, r);
|
|
2752
|
+
if (i === void 0 || Ct(i) || cn(i))
|
|
2784
2753
|
break;
|
|
2785
|
-
|
|
2754
|
+
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2786
2755
|
}
|
|
2787
|
-
return
|
|
2756
|
+
return Le.apply(void 0, n);
|
|
2788
2757
|
};
|
|
2789
|
-
var
|
|
2758
|
+
var hn = (
|
|
2790
2759
|
/** @class */
|
|
2791
2760
|
function() {
|
|
2792
|
-
function e(t,
|
|
2793
|
-
|
|
2761
|
+
function e(t, r) {
|
|
2762
|
+
r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
|
|
2794
2763
|
}
|
|
2795
2764
|
return e.prototype.parse = function() {
|
|
2796
2765
|
if (this.offset() !== 0)
|
|
2797
2766
|
throw Error("parser can only be used once");
|
|
2798
2767
|
return this.parseMessage(0, "", !1);
|
|
2799
|
-
}, e.prototype.parseMessage = function(t,
|
|
2768
|
+
}, e.prototype.parseMessage = function(t, r, n) {
|
|
2800
2769
|
for (var i = []; !this.isEOF(); ) {
|
|
2801
2770
|
var s = this.char();
|
|
2802
2771
|
if (s === 123) {
|
|
2803
|
-
var
|
|
2804
|
-
if (
|
|
2805
|
-
return
|
|
2806
|
-
i.push(
|
|
2772
|
+
var o = this.parseArgument(t, n);
|
|
2773
|
+
if (o.err)
|
|
2774
|
+
return o;
|
|
2775
|
+
i.push(o.val);
|
|
2807
2776
|
} else {
|
|
2808
2777
|
if (s === 125 && t > 0)
|
|
2809
2778
|
break;
|
|
2810
|
-
if (s === 35 && (
|
|
2779
|
+
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2811
2780
|
var u = this.clonePosition();
|
|
2812
2781
|
this.bump(), i.push({
|
|
2813
|
-
type:
|
|
2782
|
+
type: E.pound,
|
|
2814
2783
|
location: p(u, this.clonePosition())
|
|
2815
2784
|
});
|
|
2816
2785
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2817
|
-
if (
|
|
2786
|
+
if (n)
|
|
2818
2787
|
break;
|
|
2819
2788
|
return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
|
|
2820
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2821
|
-
var
|
|
2822
|
-
if (
|
|
2823
|
-
return
|
|
2824
|
-
i.push(
|
|
2789
|
+
} else if (s === 60 && !this.ignoreTag && Me(this.peek() || 0)) {
|
|
2790
|
+
var o = this.parseTag(t, r);
|
|
2791
|
+
if (o.err)
|
|
2792
|
+
return o;
|
|
2793
|
+
i.push(o.val);
|
|
2825
2794
|
} else {
|
|
2826
|
-
var
|
|
2827
|
-
if (
|
|
2828
|
-
return
|
|
2829
|
-
i.push(
|
|
2795
|
+
var o = this.parseLiteral(t, r);
|
|
2796
|
+
if (o.err)
|
|
2797
|
+
return o;
|
|
2798
|
+
i.push(o.val);
|
|
2830
2799
|
}
|
|
2831
2800
|
}
|
|
2832
2801
|
}
|
|
2833
2802
|
return { val: i, err: null };
|
|
2834
|
-
}, e.prototype.parseTag = function(t,
|
|
2835
|
-
var
|
|
2803
|
+
}, e.prototype.parseTag = function(t, r) {
|
|
2804
|
+
var n = this.clonePosition();
|
|
2836
2805
|
this.bump();
|
|
2837
2806
|
var i = this.parseTagName();
|
|
2838
2807
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2839
2808
|
return {
|
|
2840
2809
|
val: {
|
|
2841
|
-
type:
|
|
2810
|
+
type: E.literal,
|
|
2842
2811
|
value: "<".concat(i, "/>"),
|
|
2843
|
-
location: p(
|
|
2812
|
+
location: p(n, this.clonePosition())
|
|
2844
2813
|
},
|
|
2845
2814
|
err: null
|
|
2846
2815
|
};
|
|
2847
2816
|
if (this.bumpIf(">")) {
|
|
2848
|
-
var s = this.parseMessage(t + 1,
|
|
2817
|
+
var s = this.parseMessage(t + 1, r, !0);
|
|
2849
2818
|
if (s.err)
|
|
2850
2819
|
return s;
|
|
2851
|
-
var
|
|
2820
|
+
var o = s.val, u = this.clonePosition();
|
|
2852
2821
|
if (this.bumpIf("</")) {
|
|
2853
|
-
if (this.isEOF() || !
|
|
2822
|
+
if (this.isEOF() || !Me(this.char()))
|
|
2854
2823
|
return this.error(d.INVALID_TAG, p(u, this.clonePosition()));
|
|
2855
|
-
var l = this.clonePosition(),
|
|
2856
|
-
return i !==
|
|
2824
|
+
var l = this.clonePosition(), a = this.parseTagName();
|
|
2825
|
+
return i !== a ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2857
2826
|
val: {
|
|
2858
|
-
type:
|
|
2827
|
+
type: E.tag,
|
|
2859
2828
|
value: i,
|
|
2860
|
-
children:
|
|
2861
|
-
location: p(
|
|
2829
|
+
children: o,
|
|
2830
|
+
location: p(n, this.clonePosition())
|
|
2862
2831
|
},
|
|
2863
2832
|
err: null
|
|
2864
2833
|
} : this.error(d.INVALID_TAG, p(u, this.clonePosition())));
|
|
2865
2834
|
} else
|
|
2866
|
-
return this.error(d.UNCLOSED_TAG, p(
|
|
2835
|
+
return this.error(d.UNCLOSED_TAG, p(n, this.clonePosition()));
|
|
2867
2836
|
} else
|
|
2868
|
-
return this.error(d.INVALID_TAG, p(
|
|
2837
|
+
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2869
2838
|
}, e.prototype.parseTagName = function() {
|
|
2870
2839
|
var t = this.offset();
|
|
2871
|
-
for (this.bump(); !this.isEOF() &&
|
|
2840
|
+
for (this.bump(); !this.isEOF() && fn(this.char()); )
|
|
2872
2841
|
this.bump();
|
|
2873
2842
|
return this.message.slice(t, this.offset());
|
|
2874
|
-
}, e.prototype.parseLiteral = function(t,
|
|
2875
|
-
for (var
|
|
2876
|
-
var s = this.tryParseQuote(
|
|
2843
|
+
}, e.prototype.parseLiteral = function(t, r) {
|
|
2844
|
+
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
2845
|
+
var s = this.tryParseQuote(r);
|
|
2877
2846
|
if (s) {
|
|
2878
2847
|
i += s;
|
|
2879
2848
|
continue;
|
|
2880
2849
|
}
|
|
2881
|
-
var
|
|
2882
|
-
if (
|
|
2883
|
-
i +=
|
|
2850
|
+
var o = this.tryParseUnquoted(t, r);
|
|
2851
|
+
if (o) {
|
|
2852
|
+
i += o;
|
|
2884
2853
|
continue;
|
|
2885
2854
|
}
|
|
2886
2855
|
var u = this.tryParseLeftAngleBracket();
|
|
@@ -2890,14 +2859,14 @@ var ur = (
|
|
|
2890
2859
|
}
|
|
2891
2860
|
break;
|
|
2892
2861
|
}
|
|
2893
|
-
var l = p(
|
|
2862
|
+
var l = p(n, this.clonePosition());
|
|
2894
2863
|
return {
|
|
2895
|
-
val: { type:
|
|
2864
|
+
val: { type: E.literal, value: i, location: l },
|
|
2896
2865
|
err: null
|
|
2897
2866
|
};
|
|
2898
2867
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2899
2868
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2900
|
-
!
|
|
2869
|
+
!ln(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2901
2870
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2902
2871
|
if (this.isEOF() || this.char() !== 39)
|
|
2903
2872
|
return null;
|
|
@@ -2917,114 +2886,114 @@ var ur = (
|
|
|
2917
2886
|
return null;
|
|
2918
2887
|
}
|
|
2919
2888
|
this.bump();
|
|
2920
|
-
var
|
|
2889
|
+
var r = [this.char()];
|
|
2921
2890
|
for (this.bump(); !this.isEOF(); ) {
|
|
2922
|
-
var
|
|
2923
|
-
if (
|
|
2891
|
+
var n = this.char();
|
|
2892
|
+
if (n === 39)
|
|
2924
2893
|
if (this.peek() === 39)
|
|
2925
|
-
|
|
2894
|
+
r.push(39), this.bump();
|
|
2926
2895
|
else {
|
|
2927
2896
|
this.bump();
|
|
2928
2897
|
break;
|
|
2929
2898
|
}
|
|
2930
2899
|
else
|
|
2931
|
-
|
|
2900
|
+
r.push(n);
|
|
2932
2901
|
this.bump();
|
|
2933
2902
|
}
|
|
2934
|
-
return
|
|
2935
|
-
}, e.prototype.tryParseUnquoted = function(t,
|
|
2903
|
+
return Le.apply(void 0, r);
|
|
2904
|
+
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2936
2905
|
if (this.isEOF())
|
|
2937
2906
|
return null;
|
|
2938
|
-
var
|
|
2939
|
-
return
|
|
2940
|
-
}, e.prototype.parseArgument = function(t,
|
|
2941
|
-
var
|
|
2907
|
+
var n = this.char();
|
|
2908
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Le(n));
|
|
2909
|
+
}, e.prototype.parseArgument = function(t, r) {
|
|
2910
|
+
var n = this.clonePosition();
|
|
2942
2911
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2943
|
-
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(
|
|
2912
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
|
|
2944
2913
|
if (this.char() === 125)
|
|
2945
|
-
return this.bump(), this.error(d.EMPTY_ARGUMENT, p(
|
|
2914
|
+
return this.bump(), this.error(d.EMPTY_ARGUMENT, p(n, this.clonePosition()));
|
|
2946
2915
|
var i = this.parseIdentifierIfPossible().value;
|
|
2947
2916
|
if (!i)
|
|
2948
|
-
return this.error(d.MALFORMED_ARGUMENT, p(
|
|
2917
|
+
return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
|
|
2949
2918
|
if (this.bumpSpace(), this.isEOF())
|
|
2950
|
-
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(
|
|
2919
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
|
|
2951
2920
|
switch (this.char()) {
|
|
2952
2921
|
case 125:
|
|
2953
2922
|
return this.bump(), {
|
|
2954
2923
|
val: {
|
|
2955
|
-
type:
|
|
2924
|
+
type: E.argument,
|
|
2956
2925
|
// value does not include the opening and closing braces.
|
|
2957
2926
|
value: i,
|
|
2958
|
-
location: p(
|
|
2927
|
+
location: p(n, this.clonePosition())
|
|
2959
2928
|
},
|
|
2960
2929
|
err: null
|
|
2961
2930
|
};
|
|
2962
2931
|
case 44:
|
|
2963
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(
|
|
2932
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2964
2933
|
default:
|
|
2965
|
-
return this.error(d.MALFORMED_ARGUMENT, p(
|
|
2934
|
+
return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
|
|
2966
2935
|
}
|
|
2967
2936
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2968
|
-
var t = this.clonePosition(),
|
|
2937
|
+
var t = this.clonePosition(), r = this.offset(), n = Ce(this.message, r), i = r + n.length;
|
|
2969
2938
|
this.bumpTo(i);
|
|
2970
|
-
var s = this.clonePosition(),
|
|
2971
|
-
return { value:
|
|
2972
|
-
}, e.prototype.parseArgumentOptions = function(t,
|
|
2973
|
-
var s,
|
|
2939
|
+
var s = this.clonePosition(), o = p(t, s);
|
|
2940
|
+
return { value: n, location: o };
|
|
2941
|
+
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2942
|
+
var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2974
2943
|
switch (u) {
|
|
2975
2944
|
case "":
|
|
2976
|
-
return this.error(d.EXPECT_ARGUMENT_TYPE, p(
|
|
2945
|
+
return this.error(d.EXPECT_ARGUMENT_TYPE, p(o, l));
|
|
2977
2946
|
case "number":
|
|
2978
2947
|
case "date":
|
|
2979
2948
|
case "time": {
|
|
2980
2949
|
this.bumpSpace();
|
|
2981
|
-
var
|
|
2950
|
+
var a = null;
|
|
2982
2951
|
if (this.bumpIf(",")) {
|
|
2983
2952
|
this.bumpSpace();
|
|
2984
2953
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2985
2954
|
if (m.err)
|
|
2986
2955
|
return m;
|
|
2987
|
-
var f =
|
|
2956
|
+
var f = un(m.val);
|
|
2988
2957
|
if (f.length === 0)
|
|
2989
2958
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2990
2959
|
var b = p(h, this.clonePosition());
|
|
2991
|
-
|
|
2960
|
+
a = { style: f, styleLocation: b };
|
|
2992
2961
|
}
|
|
2993
2962
|
var y = this.tryParseArgumentClose(i);
|
|
2994
2963
|
if (y.err)
|
|
2995
2964
|
return y;
|
|
2996
2965
|
var _ = p(i, this.clonePosition());
|
|
2997
|
-
if (
|
|
2998
|
-
var T =
|
|
2966
|
+
if (a && et(a == null ? void 0 : a.style, "::", 0)) {
|
|
2967
|
+
var T = an(a.style.slice(2));
|
|
2999
2968
|
if (u === "number") {
|
|
3000
|
-
var m = this.parseNumberSkeletonFromString(T,
|
|
2969
|
+
var m = this.parseNumberSkeletonFromString(T, a.styleLocation);
|
|
3001
2970
|
return m.err ? m : {
|
|
3002
|
-
val: { type:
|
|
2971
|
+
val: { type: E.number, value: n, location: _, style: m.val },
|
|
3003
2972
|
err: null
|
|
3004
2973
|
};
|
|
3005
2974
|
} else {
|
|
3006
2975
|
if (T.length === 0)
|
|
3007
2976
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
3008
2977
|
var P = T;
|
|
3009
|
-
this.locale && (P =
|
|
2978
|
+
this.locale && (P = Wr(T, this.locale));
|
|
3010
2979
|
var f = {
|
|
3011
|
-
type:
|
|
2980
|
+
type: V.dateTime,
|
|
3012
2981
|
pattern: P,
|
|
3013
|
-
location:
|
|
3014
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3015
|
-
}, w = u === "date" ?
|
|
2982
|
+
location: a.styleLocation,
|
|
2983
|
+
parsedOptions: this.shouldParseSkeletons ? Gr(P) : {}
|
|
2984
|
+
}, w = u === "date" ? E.date : E.time;
|
|
3016
2985
|
return {
|
|
3017
|
-
val: { type: w, value:
|
|
2986
|
+
val: { type: w, value: n, location: _, style: f },
|
|
3018
2987
|
err: null
|
|
3019
2988
|
};
|
|
3020
2989
|
}
|
|
3021
2990
|
}
|
|
3022
2991
|
return {
|
|
3023
2992
|
val: {
|
|
3024
|
-
type: u === "number" ?
|
|
3025
|
-
value:
|
|
2993
|
+
type: u === "number" ? E.number : u === "date" ? E.date : E.time,
|
|
2994
|
+
value: n,
|
|
3026
2995
|
location: _,
|
|
3027
|
-
style: (s =
|
|
2996
|
+
style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
|
|
3028
2997
|
},
|
|
3029
2998
|
err: null
|
|
3030
2999
|
};
|
|
@@ -3034,19 +3003,19 @@ var ur = (
|
|
|
3034
3003
|
case "select": {
|
|
3035
3004
|
var B = this.clonePosition();
|
|
3036
3005
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3037
|
-
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(B,
|
|
3006
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(B, le({}, B)));
|
|
3038
3007
|
this.bumpSpace();
|
|
3039
|
-
var
|
|
3040
|
-
if (u !== "select" &&
|
|
3008
|
+
var O = this.parseIdentifierIfPossible(), x = 0;
|
|
3009
|
+
if (u !== "select" && O.value === "offset") {
|
|
3041
3010
|
if (!this.bumpIf(":"))
|
|
3042
3011
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
|
|
3043
3012
|
this.bumpSpace();
|
|
3044
3013
|
var m = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3045
3014
|
if (m.err)
|
|
3046
3015
|
return m;
|
|
3047
|
-
this.bumpSpace(),
|
|
3016
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), x = m.val;
|
|
3048
3017
|
}
|
|
3049
|
-
var I = this.tryParsePluralOrSelectOptions(t, u,
|
|
3018
|
+
var I = this.tryParsePluralOrSelectOptions(t, u, r, O);
|
|
3050
3019
|
if (I.err)
|
|
3051
3020
|
return I;
|
|
3052
3021
|
var y = this.tryParseArgumentClose(i);
|
|
@@ -3055,16 +3024,16 @@ var ur = (
|
|
|
3055
3024
|
var c = p(i, this.clonePosition());
|
|
3056
3025
|
return u === "select" ? {
|
|
3057
3026
|
val: {
|
|
3058
|
-
type:
|
|
3059
|
-
value:
|
|
3027
|
+
type: E.select,
|
|
3028
|
+
value: n,
|
|
3060
3029
|
options: tt(I.val),
|
|
3061
3030
|
location: c
|
|
3062
3031
|
},
|
|
3063
3032
|
err: null
|
|
3064
3033
|
} : {
|
|
3065
3034
|
val: {
|
|
3066
|
-
type:
|
|
3067
|
-
value:
|
|
3035
|
+
type: E.plural,
|
|
3036
|
+
value: n,
|
|
3068
3037
|
options: tt(I.val),
|
|
3069
3038
|
offset: x,
|
|
3070
3039
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
@@ -3074,14 +3043,14 @@ var ur = (
|
|
|
3074
3043
|
};
|
|
3075
3044
|
}
|
|
3076
3045
|
default:
|
|
3077
|
-
return this.error(d.INVALID_ARGUMENT_TYPE, p(
|
|
3046
|
+
return this.error(d.INVALID_ARGUMENT_TYPE, p(o, l));
|
|
3078
3047
|
}
|
|
3079
3048
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3080
3049
|
return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3081
3050
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3082
|
-
for (var t = 0,
|
|
3083
|
-
var
|
|
3084
|
-
switch (
|
|
3051
|
+
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3052
|
+
var n = this.char();
|
|
3053
|
+
switch (n) {
|
|
3085
3054
|
case 39: {
|
|
3086
3055
|
this.bump();
|
|
3087
3056
|
var i = this.clonePosition();
|
|
@@ -3099,7 +3068,7 @@ var ur = (
|
|
|
3099
3068
|
t -= 1;
|
|
3100
3069
|
else
|
|
3101
3070
|
return {
|
|
3102
|
-
val: this.message.slice(
|
|
3071
|
+
val: this.message.slice(r.offset, this.offset()),
|
|
3103
3072
|
err: null
|
|
3104
3073
|
};
|
|
3105
3074
|
break;
|
|
@@ -3110,70 +3079,70 @@ var ur = (
|
|
|
3110
3079
|
}
|
|
3111
3080
|
}
|
|
3112
3081
|
return {
|
|
3113
|
-
val: this.message.slice(
|
|
3082
|
+
val: this.message.slice(r.offset, this.offset()),
|
|
3114
3083
|
err: null
|
|
3115
3084
|
};
|
|
3116
|
-
}, e.prototype.parseNumberSkeletonFromString = function(t,
|
|
3117
|
-
var
|
|
3085
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3086
|
+
var n = [];
|
|
3118
3087
|
try {
|
|
3119
|
-
|
|
3088
|
+
n = jr(t);
|
|
3120
3089
|
} catch (i) {
|
|
3121
|
-
return this.error(d.INVALID_NUMBER_SKELETON,
|
|
3090
|
+
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3122
3091
|
}
|
|
3123
3092
|
return {
|
|
3124
3093
|
val: {
|
|
3125
|
-
type:
|
|
3126
|
-
tokens:
|
|
3127
|
-
location:
|
|
3128
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3094
|
+
type: V.number,
|
|
3095
|
+
tokens: n,
|
|
3096
|
+
location: r,
|
|
3097
|
+
parsedOptions: this.shouldParseSkeletons ? zr(n) : {}
|
|
3129
3098
|
},
|
|
3130
3099
|
err: null
|
|
3131
3100
|
};
|
|
3132
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t,
|
|
3133
|
-
for (var s,
|
|
3134
|
-
if (
|
|
3101
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3102
|
+
for (var s, o = !1, u = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
|
|
3103
|
+
if (a.length === 0) {
|
|
3135
3104
|
var m = this.clonePosition();
|
|
3136
|
-
if (
|
|
3105
|
+
if (r !== "select" && this.bumpIf("=")) {
|
|
3137
3106
|
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3138
3107
|
if (f.err)
|
|
3139
3108
|
return f;
|
|
3140
|
-
h = p(m, this.clonePosition()),
|
|
3109
|
+
h = p(m, this.clonePosition()), a = this.message.slice(m.offset, this.offset());
|
|
3141
3110
|
} else
|
|
3142
3111
|
break;
|
|
3143
3112
|
}
|
|
3144
|
-
if (l.has(
|
|
3145
|
-
return this.error(
|
|
3146
|
-
|
|
3113
|
+
if (l.has(a))
|
|
3114
|
+
return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3115
|
+
a === "other" && (o = !0), this.bumpSpace();
|
|
3147
3116
|
var b = this.clonePosition();
|
|
3148
3117
|
if (!this.bumpIf("{"))
|
|
3149
|
-
return this.error(
|
|
3150
|
-
var y = this.parseMessage(t + 1,
|
|
3118
|
+
return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
|
|
3119
|
+
var y = this.parseMessage(t + 1, r, n);
|
|
3151
3120
|
if (y.err)
|
|
3152
3121
|
return y;
|
|
3153
3122
|
var _ = this.tryParseArgumentClose(b);
|
|
3154
3123
|
if (_.err)
|
|
3155
3124
|
return _;
|
|
3156
3125
|
u.push([
|
|
3157
|
-
|
|
3126
|
+
a,
|
|
3158
3127
|
{
|
|
3159
3128
|
value: y.val,
|
|
3160
3129
|
location: p(b, this.clonePosition())
|
|
3161
3130
|
}
|
|
3162
|
-
]), l.add(
|
|
3131
|
+
]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
|
|
3163
3132
|
}
|
|
3164
|
-
return u.length === 0 ? this.error(
|
|
3165
|
-
}, e.prototype.tryParseDecimalInteger = function(t,
|
|
3166
|
-
var
|
|
3167
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
3168
|
-
for (var s = !1,
|
|
3133
|
+
return u.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
|
|
3134
|
+
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3135
|
+
var n = 1, i = this.clonePosition();
|
|
3136
|
+
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3137
|
+
for (var s = !1, o = 0; !this.isEOF(); ) {
|
|
3169
3138
|
var u = this.char();
|
|
3170
3139
|
if (u >= 48 && u <= 57)
|
|
3171
|
-
s = !0,
|
|
3140
|
+
s = !0, o = o * 10 + (u - 48), this.bump();
|
|
3172
3141
|
else
|
|
3173
3142
|
break;
|
|
3174
3143
|
}
|
|
3175
3144
|
var l = p(i, this.clonePosition());
|
|
3176
|
-
return s ? (
|
|
3145
|
+
return s ? (o *= n, sn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3177
3146
|
}, e.prototype.offset = function() {
|
|
3178
3147
|
return this.position.offset;
|
|
3179
3148
|
}, e.prototype.isEOF = function() {
|
|
@@ -3188,17 +3157,17 @@ var ur = (
|
|
|
3188
3157
|
var t = this.position.offset;
|
|
3189
3158
|
if (t >= this.message.length)
|
|
3190
3159
|
throw Error("out of bound");
|
|
3191
|
-
var
|
|
3192
|
-
if (
|
|
3160
|
+
var r = It(this.message, t);
|
|
3161
|
+
if (r === void 0)
|
|
3193
3162
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3194
|
-
return
|
|
3195
|
-
}, e.prototype.error = function(t,
|
|
3163
|
+
return r;
|
|
3164
|
+
}, e.prototype.error = function(t, r) {
|
|
3196
3165
|
return {
|
|
3197
3166
|
val: null,
|
|
3198
3167
|
err: {
|
|
3199
3168
|
kind: t,
|
|
3200
3169
|
message: this.message,
|
|
3201
|
-
location:
|
|
3170
|
+
location: r
|
|
3202
3171
|
}
|
|
3203
3172
|
};
|
|
3204
3173
|
}, e.prototype.bump = function() {
|
|
@@ -3208,22 +3177,22 @@ var ur = (
|
|
|
3208
3177
|
}
|
|
3209
3178
|
}, e.prototype.bumpIf = function(t) {
|
|
3210
3179
|
if (et(this.message, t, this.offset())) {
|
|
3211
|
-
for (var
|
|
3180
|
+
for (var r = 0; r < t.length; r++)
|
|
3212
3181
|
this.bump();
|
|
3213
3182
|
return !0;
|
|
3214
3183
|
}
|
|
3215
3184
|
return !1;
|
|
3216
3185
|
}, e.prototype.bumpUntil = function(t) {
|
|
3217
|
-
var
|
|
3218
|
-
return
|
|
3186
|
+
var r = this.offset(), n = this.message.indexOf(t, r);
|
|
3187
|
+
return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
|
|
3219
3188
|
}, e.prototype.bumpTo = function(t) {
|
|
3220
3189
|
if (this.offset() > t)
|
|
3221
3190
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
3222
3191
|
for (t = Math.min(t, this.message.length); ; ) {
|
|
3223
|
-
var
|
|
3224
|
-
if (
|
|
3192
|
+
var r = this.offset();
|
|
3193
|
+
if (r === t)
|
|
3225
3194
|
break;
|
|
3226
|
-
if (
|
|
3195
|
+
if (r > t)
|
|
3227
3196
|
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3228
3197
|
if (this.bump(), this.isEOF())
|
|
3229
3198
|
break;
|
|
@@ -3234,101 +3203,101 @@ var ur = (
|
|
|
3234
3203
|
}, e.prototype.peek = function() {
|
|
3235
3204
|
if (this.isEOF())
|
|
3236
3205
|
return null;
|
|
3237
|
-
var t = this.char(),
|
|
3238
|
-
return
|
|
3206
|
+
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3207
|
+
return n != null ? n : null;
|
|
3239
3208
|
}, e;
|
|
3240
3209
|
}()
|
|
3241
3210
|
);
|
|
3242
|
-
function
|
|
3211
|
+
function Me(e) {
|
|
3243
3212
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3244
3213
|
}
|
|
3245
|
-
function
|
|
3246
|
-
return
|
|
3214
|
+
function ln(e) {
|
|
3215
|
+
return Me(e) || e === 47;
|
|
3247
3216
|
}
|
|
3248
|
-
function
|
|
3217
|
+
function fn(e) {
|
|
3249
3218
|
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;
|
|
3250
3219
|
}
|
|
3251
3220
|
function Ct(e) {
|
|
3252
3221
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3253
3222
|
}
|
|
3254
|
-
function
|
|
3223
|
+
function cn(e) {
|
|
3255
3224
|
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;
|
|
3256
3225
|
}
|
|
3257
|
-
function
|
|
3226
|
+
function Re(e) {
|
|
3258
3227
|
e.forEach(function(t) {
|
|
3259
3228
|
if (delete t.location, Tt(t) || St(t))
|
|
3260
|
-
for (var
|
|
3261
|
-
delete t.options[
|
|
3229
|
+
for (var r in t.options)
|
|
3230
|
+
delete t.options[r].location, Re(t.options[r].value);
|
|
3262
3231
|
else
|
|
3263
|
-
_t(t) && At(t.style) || (xt(t) || Ht(t)) && Ne(t.style) ? delete t.style.location : Bt(t) &&
|
|
3232
|
+
_t(t) && At(t.style) || (xt(t) || Ht(t)) && Ne(t.style) ? delete t.style.location : Bt(t) && Re(t.children);
|
|
3264
3233
|
});
|
|
3265
3234
|
}
|
|
3266
|
-
function
|
|
3267
|
-
t === void 0 && (t = {}), t =
|
|
3268
|
-
var
|
|
3269
|
-
if (
|
|
3270
|
-
var
|
|
3271
|
-
throw
|
|
3235
|
+
function mn(e, t) {
|
|
3236
|
+
t === void 0 && (t = {}), t = le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3237
|
+
var r = new hn(e, t).parse();
|
|
3238
|
+
if (r.err) {
|
|
3239
|
+
var n = SyntaxError(d[r.err.kind]);
|
|
3240
|
+
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3272
3241
|
}
|
|
3273
|
-
return t != null && t.captureLocation ||
|
|
3242
|
+
return t != null && t.captureLocation || Re(r.val), r.val;
|
|
3274
3243
|
}
|
|
3275
|
-
var
|
|
3244
|
+
var X;
|
|
3276
3245
|
(function(e) {
|
|
3277
3246
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3278
|
-
})(
|
|
3279
|
-
var
|
|
3247
|
+
})(X || (X = {}));
|
|
3248
|
+
var be = (
|
|
3280
3249
|
/** @class */
|
|
3281
3250
|
function(e) {
|
|
3282
|
-
|
|
3283
|
-
function t(
|
|
3284
|
-
var s = e.call(this,
|
|
3285
|
-
return s.code =
|
|
3251
|
+
de(t, e);
|
|
3252
|
+
function t(r, n, i) {
|
|
3253
|
+
var s = e.call(this, r) || this;
|
|
3254
|
+
return s.code = n, s.originalMessage = i, s;
|
|
3286
3255
|
}
|
|
3287
3256
|
return t.prototype.toString = function() {
|
|
3288
3257
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3289
3258
|
}, t;
|
|
3290
3259
|
}(Error)
|
|
3291
|
-
),
|
|
3260
|
+
), nt = (
|
|
3292
3261
|
/** @class */
|
|
3293
3262
|
function(e) {
|
|
3294
|
-
|
|
3295
|
-
function t(
|
|
3296
|
-
return e.call(this, 'Invalid values for "'.concat(
|
|
3263
|
+
de(t, e);
|
|
3264
|
+
function t(r, n, i, s) {
|
|
3265
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
|
|
3297
3266
|
}
|
|
3298
3267
|
return t;
|
|
3299
|
-
}(
|
|
3300
|
-
),
|
|
3268
|
+
}(be)
|
|
3269
|
+
), gn = (
|
|
3301
3270
|
/** @class */
|
|
3302
3271
|
function(e) {
|
|
3303
|
-
|
|
3304
|
-
function t(
|
|
3305
|
-
return e.call(this, 'Value for "'.concat(
|
|
3272
|
+
de(t, e);
|
|
3273
|
+
function t(r, n, i) {
|
|
3274
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
|
|
3306
3275
|
}
|
|
3307
3276
|
return t;
|
|
3308
|
-
}(
|
|
3309
|
-
),
|
|
3277
|
+
}(be)
|
|
3278
|
+
), dn = (
|
|
3310
3279
|
/** @class */
|
|
3311
3280
|
function(e) {
|
|
3312
|
-
|
|
3313
|
-
function t(
|
|
3314
|
-
return e.call(this, 'The intl string context variable "'.concat(
|
|
3281
|
+
de(t, e);
|
|
3282
|
+
function t(r, n) {
|
|
3283
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
|
|
3315
3284
|
}
|
|
3316
3285
|
return t;
|
|
3317
|
-
}(
|
|
3286
|
+
}(be)
|
|
3318
3287
|
), A;
|
|
3319
3288
|
(function(e) {
|
|
3320
3289
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3321
3290
|
})(A || (A = {}));
|
|
3322
|
-
function
|
|
3323
|
-
return e.length < 2 ? e : e.reduce(function(t,
|
|
3324
|
-
var
|
|
3325
|
-
return !
|
|
3291
|
+
function bn(e) {
|
|
3292
|
+
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3293
|
+
var n = t[t.length - 1];
|
|
3294
|
+
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3326
3295
|
}, []);
|
|
3327
3296
|
}
|
|
3328
|
-
function
|
|
3297
|
+
function pn(e) {
|
|
3329
3298
|
return typeof e == "function";
|
|
3330
3299
|
}
|
|
3331
|
-
function
|
|
3300
|
+
function ue(e, t, r, n, i, s, o) {
|
|
3332
3301
|
if (e.length === 1 && qe(e[0]))
|
|
3333
3302
|
return [
|
|
3334
3303
|
{
|
|
@@ -3336,8 +3305,8 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3336
3305
|
value: e[0].value
|
|
3337
3306
|
}
|
|
3338
3307
|
];
|
|
3339
|
-
for (var u = [], l = 0,
|
|
3340
|
-
var h =
|
|
3308
|
+
for (var u = [], l = 0, a = e; l < a.length; l++) {
|
|
3309
|
+
var h = a[l];
|
|
3341
3310
|
if (qe(h)) {
|
|
3342
3311
|
u.push({
|
|
3343
3312
|
type: A.literal,
|
|
@@ -3345,18 +3314,18 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3345
3314
|
});
|
|
3346
3315
|
continue;
|
|
3347
3316
|
}
|
|
3348
|
-
if (
|
|
3317
|
+
if (Ur(h)) {
|
|
3349
3318
|
typeof s == "number" && u.push({
|
|
3350
3319
|
type: A.literal,
|
|
3351
|
-
value:
|
|
3320
|
+
value: r.getNumberFormat(t).format(s)
|
|
3352
3321
|
});
|
|
3353
3322
|
continue;
|
|
3354
3323
|
}
|
|
3355
3324
|
var m = h.value;
|
|
3356
3325
|
if (!(i && m in i))
|
|
3357
|
-
throw new
|
|
3326
|
+
throw new dn(m, o);
|
|
3358
3327
|
var f = i[m];
|
|
3359
|
-
if ($
|
|
3328
|
+
if ($r(h)) {
|
|
3360
3329
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3361
3330
|
type: typeof f == "string" ? A.literal : A.object,
|
|
3362
3331
|
value: f
|
|
@@ -3364,34 +3333,34 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3364
3333
|
continue;
|
|
3365
3334
|
}
|
|
3366
3335
|
if (xt(h)) {
|
|
3367
|
-
var b = typeof h.style == "string" ?
|
|
3336
|
+
var b = typeof h.style == "string" ? n.date[h.style] : Ne(h.style) ? h.style.parsedOptions : void 0;
|
|
3368
3337
|
u.push({
|
|
3369
3338
|
type: A.literal,
|
|
3370
|
-
value:
|
|
3339
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
|
3371
3340
|
});
|
|
3372
3341
|
continue;
|
|
3373
3342
|
}
|
|
3374
3343
|
if (Ht(h)) {
|
|
3375
|
-
var b = typeof h.style == "string" ?
|
|
3344
|
+
var b = typeof h.style == "string" ? n.time[h.style] : Ne(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3376
3345
|
u.push({
|
|
3377
3346
|
type: A.literal,
|
|
3378
|
-
value:
|
|
3347
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
|
3379
3348
|
});
|
|
3380
3349
|
continue;
|
|
3381
3350
|
}
|
|
3382
3351
|
if (_t(h)) {
|
|
3383
|
-
var b = typeof h.style == "string" ?
|
|
3352
|
+
var b = typeof h.style == "string" ? n.number[h.style] : At(h.style) ? h.style.parsedOptions : void 0;
|
|
3384
3353
|
b && b.scale && (f = f * (b.scale || 1)), u.push({
|
|
3385
3354
|
type: A.literal,
|
|
3386
|
-
value:
|
|
3355
|
+
value: r.getNumberFormat(t, b).format(f)
|
|
3387
3356
|
});
|
|
3388
3357
|
continue;
|
|
3389
3358
|
}
|
|
3390
3359
|
if (Bt(h)) {
|
|
3391
3360
|
var y = h.children, _ = h.value, T = i[_];
|
|
3392
|
-
if (!
|
|
3393
|
-
throw new
|
|
3394
|
-
var P =
|
|
3361
|
+
if (!pn(T))
|
|
3362
|
+
throw new gn(_, "function", o);
|
|
3363
|
+
var P = ue(y, t, r, n, i, s), w = T(P.map(function(x) {
|
|
3395
3364
|
return x.value;
|
|
3396
3365
|
}));
|
|
3397
3366
|
Array.isArray(w) || (w = [w]), u.push.apply(u, w.map(function(x) {
|
|
@@ -3404,104 +3373,104 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3404
3373
|
if (Tt(h)) {
|
|
3405
3374
|
var B = h.options[f] || h.options.other;
|
|
3406
3375
|
if (!B)
|
|
3407
|
-
throw new
|
|
3408
|
-
u.push.apply(u,
|
|
3376
|
+
throw new nt(h.value, f, Object.keys(h.options), o);
|
|
3377
|
+
u.push.apply(u, ue(B.value, t, r, n, i));
|
|
3409
3378
|
continue;
|
|
3410
3379
|
}
|
|
3411
3380
|
if (St(h)) {
|
|
3412
3381
|
var B = h.options["=".concat(f)];
|
|
3413
3382
|
if (!B) {
|
|
3414
3383
|
if (!Intl.PluralRules)
|
|
3415
|
-
throw new
|
|
3384
|
+
throw new be(`Intl.PluralRules is not available in this environment.
|
|
3416
3385
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3417
|
-
`,
|
|
3418
|
-
var
|
|
3419
|
-
B = h.options[
|
|
3386
|
+
`, X.MISSING_INTL_API, o);
|
|
3387
|
+
var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3388
|
+
B = h.options[O] || h.options.other;
|
|
3420
3389
|
}
|
|
3421
3390
|
if (!B)
|
|
3422
|
-
throw new
|
|
3423
|
-
u.push.apply(u,
|
|
3391
|
+
throw new nt(h.value, f, Object.keys(h.options), o);
|
|
3392
|
+
u.push.apply(u, ue(B.value, t, r, n, i, f - (h.offset || 0)));
|
|
3424
3393
|
continue;
|
|
3425
3394
|
}
|
|
3426
3395
|
}
|
|
3427
|
-
return
|
|
3396
|
+
return bn(u);
|
|
3428
3397
|
}
|
|
3429
|
-
function
|
|
3430
|
-
return t ?
|
|
3431
|
-
return n
|
|
3398
|
+
function yn(e, t) {
|
|
3399
|
+
return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3400
|
+
return r[n] = M(M({}, e[n]), t[n] || {}), r;
|
|
3432
3401
|
}, {})) : e;
|
|
3433
3402
|
}
|
|
3434
|
-
function
|
|
3435
|
-
return t ? Object.keys(e).reduce(function(
|
|
3436
|
-
return n
|
|
3437
|
-
},
|
|
3403
|
+
function En(e, t) {
|
|
3404
|
+
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3405
|
+
return r[n] = yn(e[n], t[n]), r;
|
|
3406
|
+
}, M({}, e)) : e;
|
|
3438
3407
|
}
|
|
3439
|
-
function
|
|
3408
|
+
function Se(e) {
|
|
3440
3409
|
return {
|
|
3441
3410
|
create: function() {
|
|
3442
3411
|
return {
|
|
3443
3412
|
get: function(t) {
|
|
3444
3413
|
return e[t];
|
|
3445
3414
|
},
|
|
3446
|
-
set: function(t,
|
|
3447
|
-
e[t] =
|
|
3415
|
+
set: function(t, r) {
|
|
3416
|
+
e[t] = r;
|
|
3448
3417
|
}
|
|
3449
3418
|
};
|
|
3450
3419
|
}
|
|
3451
3420
|
};
|
|
3452
3421
|
}
|
|
3453
|
-
function
|
|
3422
|
+
function vn(e) {
|
|
3454
3423
|
return e === void 0 && (e = {
|
|
3455
3424
|
number: {},
|
|
3456
3425
|
dateTime: {},
|
|
3457
3426
|
pluralRules: {}
|
|
3458
3427
|
}), {
|
|
3459
|
-
getNumberFormat:
|
|
3460
|
-
for (var t,
|
|
3461
|
-
n
|
|
3462
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3428
|
+
getNumberFormat: xe(function() {
|
|
3429
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3430
|
+
r[n] = arguments[n];
|
|
3431
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, _e([void 0], r, !1)))();
|
|
3463
3432
|
}, {
|
|
3464
|
-
cache:
|
|
3465
|
-
strategy:
|
|
3433
|
+
cache: Se(e.number),
|
|
3434
|
+
strategy: He.variadic
|
|
3466
3435
|
}),
|
|
3467
|
-
getDateTimeFormat:
|
|
3468
|
-
for (var t,
|
|
3469
|
-
n
|
|
3470
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3436
|
+
getDateTimeFormat: xe(function() {
|
|
3437
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3438
|
+
r[n] = arguments[n];
|
|
3439
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, _e([void 0], r, !1)))();
|
|
3471
3440
|
}, {
|
|
3472
|
-
cache:
|
|
3473
|
-
strategy:
|
|
3441
|
+
cache: Se(e.dateTime),
|
|
3442
|
+
strategy: He.variadic
|
|
3474
3443
|
}),
|
|
3475
|
-
getPluralRules:
|
|
3476
|
-
for (var t,
|
|
3477
|
-
n
|
|
3478
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3444
|
+
getPluralRules: xe(function() {
|
|
3445
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3446
|
+
r[n] = arguments[n];
|
|
3447
|
+
return new ((t = Intl.PluralRules).bind.apply(t, _e([void 0], r, !1)))();
|
|
3479
3448
|
}, {
|
|
3480
|
-
cache:
|
|
3481
|
-
strategy:
|
|
3449
|
+
cache: Se(e.pluralRules),
|
|
3450
|
+
strategy: He.variadic
|
|
3482
3451
|
})
|
|
3483
3452
|
};
|
|
3484
3453
|
}
|
|
3485
|
-
var
|
|
3454
|
+
var _n = (
|
|
3486
3455
|
/** @class */
|
|
3487
3456
|
function() {
|
|
3488
|
-
function e(t,
|
|
3489
|
-
|
|
3457
|
+
function e(t, r, n, i) {
|
|
3458
|
+
r === void 0 && (r = e.defaultLocale);
|
|
3490
3459
|
var s = this;
|
|
3491
3460
|
if (this.formatterCache = {
|
|
3492
3461
|
number: {},
|
|
3493
3462
|
dateTime: {},
|
|
3494
3463
|
pluralRules: {}
|
|
3495
3464
|
}, this.format = function(l) {
|
|
3496
|
-
var
|
|
3497
|
-
if (
|
|
3498
|
-
return
|
|
3499
|
-
var h =
|
|
3465
|
+
var a = s.formatToParts(l);
|
|
3466
|
+
if (a.length === 1)
|
|
3467
|
+
return a[0].value;
|
|
3468
|
+
var h = a.reduce(function(m, f) {
|
|
3500
3469
|
return !m.length || f.type !== A.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
|
|
3501
3470
|
}, []);
|
|
3502
3471
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3503
3472
|
}, this.formatToParts = function(l) {
|
|
3504
|
-
return
|
|
3473
|
+
return ue(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3505
3474
|
}, this.resolvedOptions = function() {
|
|
3506
3475
|
var l;
|
|
3507
3476
|
return {
|
|
@@ -3509,18 +3478,18 @@ var vr = (
|
|
|
3509
3478
|
};
|
|
3510
3479
|
}, this.getAst = function() {
|
|
3511
3480
|
return s.ast;
|
|
3512
|
-
}, this.locales =
|
|
3481
|
+
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3513
3482
|
if (this.message = t, !e.__parse)
|
|
3514
3483
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3515
|
-
var
|
|
3516
|
-
|
|
3517
|
-
var u =
|
|
3518
|
-
this.ast = e.__parse(t,
|
|
3484
|
+
var o = i || {};
|
|
3485
|
+
o.formatters;
|
|
3486
|
+
var u = Pr(o, ["formatters"]);
|
|
3487
|
+
this.ast = e.__parse(t, M(M({}, u), { locale: this.resolvedLocale }));
|
|
3519
3488
|
} else
|
|
3520
3489
|
this.ast = t;
|
|
3521
3490
|
if (!Array.isArray(this.ast))
|
|
3522
3491
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3523
|
-
this.formats =
|
|
3492
|
+
this.formats = En(e.formats, n), this.formatters = i && i.formatters || vn(this.formatterCache);
|
|
3524
3493
|
}
|
|
3525
3494
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3526
3495
|
get: function() {
|
|
@@ -3530,10 +3499,10 @@ var vr = (
|
|
|
3530
3499
|
configurable: !0
|
|
3531
3500
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3532
3501
|
if (typeof Intl.Locale != "undefined") {
|
|
3533
|
-
var
|
|
3534
|
-
return
|
|
3502
|
+
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3503
|
+
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3535
3504
|
}
|
|
3536
|
-
}, e.__parse =
|
|
3505
|
+
}, e.__parse = mn, e.formats = {
|
|
3537
3506
|
number: {
|
|
3538
3507
|
integer: {
|
|
3539
3508
|
maximumFractionDigits: 0
|
|
@@ -3594,113 +3563,113 @@ var vr = (
|
|
|
3594
3563
|
}, e;
|
|
3595
3564
|
}()
|
|
3596
3565
|
);
|
|
3597
|
-
function
|
|
3566
|
+
function xn(e, t) {
|
|
3598
3567
|
if (t == null)
|
|
3599
3568
|
return;
|
|
3600
3569
|
if (t in e)
|
|
3601
3570
|
return e[t];
|
|
3602
|
-
const
|
|
3603
|
-
let
|
|
3604
|
-
for (let i = 0; i <
|
|
3605
|
-
if (typeof
|
|
3571
|
+
const r = t.split(".");
|
|
3572
|
+
let n = e;
|
|
3573
|
+
for (let i = 0; i < r.length; i++)
|
|
3574
|
+
if (typeof n == "object") {
|
|
3606
3575
|
if (i > 0) {
|
|
3607
|
-
const s =
|
|
3608
|
-
if (s in
|
|
3609
|
-
|
|
3576
|
+
const s = r.slice(i, r.length).join(".");
|
|
3577
|
+
if (s in n) {
|
|
3578
|
+
n = n[s];
|
|
3610
3579
|
break;
|
|
3611
3580
|
}
|
|
3612
3581
|
}
|
|
3613
|
-
|
|
3582
|
+
n = n[r[i]];
|
|
3614
3583
|
} else
|
|
3615
|
-
|
|
3616
|
-
return
|
|
3584
|
+
n = void 0;
|
|
3585
|
+
return n;
|
|
3617
3586
|
}
|
|
3618
|
-
const
|
|
3587
|
+
const R = {}, Hn = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), Mt = (e, t) => {
|
|
3619
3588
|
if (t == null)
|
|
3620
3589
|
return;
|
|
3621
|
-
if (t in
|
|
3622
|
-
return
|
|
3623
|
-
const
|
|
3624
|
-
for (let
|
|
3625
|
-
const i = n
|
|
3590
|
+
if (t in R && e in R[t])
|
|
3591
|
+
return R[t][e];
|
|
3592
|
+
const r = pe(t);
|
|
3593
|
+
for (let n = 0; n < r.length; n++) {
|
|
3594
|
+
const i = r[n], s = Sn(i, e);
|
|
3626
3595
|
if (s)
|
|
3627
|
-
return
|
|
3596
|
+
return Hn(e, t, s);
|
|
3628
3597
|
}
|
|
3629
3598
|
};
|
|
3630
3599
|
let Fe;
|
|
3631
|
-
const
|
|
3632
|
-
function
|
|
3600
|
+
const Q = ge({});
|
|
3601
|
+
function Tn(e) {
|
|
3633
3602
|
return Fe[e] || null;
|
|
3634
3603
|
}
|
|
3635
3604
|
function Rt(e) {
|
|
3636
3605
|
return e in Fe;
|
|
3637
3606
|
}
|
|
3638
|
-
function
|
|
3607
|
+
function Sn(e, t) {
|
|
3639
3608
|
if (!Rt(e))
|
|
3640
3609
|
return null;
|
|
3641
|
-
const
|
|
3642
|
-
return
|
|
3610
|
+
const r = Tn(e);
|
|
3611
|
+
return xn(r, t);
|
|
3643
3612
|
}
|
|
3644
|
-
function
|
|
3613
|
+
function Bn(e) {
|
|
3645
3614
|
if (e == null)
|
|
3646
3615
|
return;
|
|
3647
|
-
const t =
|
|
3648
|
-
for (let
|
|
3649
|
-
const
|
|
3650
|
-
if (Rt(
|
|
3651
|
-
return
|
|
3616
|
+
const t = pe(e);
|
|
3617
|
+
for (let r = 0; r < t.length; r++) {
|
|
3618
|
+
const n = t[r];
|
|
3619
|
+
if (Rt(n))
|
|
3620
|
+
return n;
|
|
3652
3621
|
}
|
|
3653
3622
|
}
|
|
3654
|
-
function
|
|
3655
|
-
delete
|
|
3623
|
+
function An(e, ...t) {
|
|
3624
|
+
delete R[e], Q.update((r) => (r[e] = wr.all([r[e] || {}, ...t]), r));
|
|
3656
3625
|
}
|
|
3657
|
-
|
|
3658
|
-
[
|
|
3626
|
+
Z(
|
|
3627
|
+
[Q],
|
|
3659
3628
|
([e]) => Object.keys(e)
|
|
3660
3629
|
);
|
|
3661
|
-
|
|
3662
|
-
const
|
|
3663
|
-
function
|
|
3664
|
-
|
|
3630
|
+
Q.subscribe((e) => Fe = e);
|
|
3631
|
+
const he = {};
|
|
3632
|
+
function wn(e, t) {
|
|
3633
|
+
he[e].delete(t), he[e].size === 0 && delete he[e];
|
|
3665
3634
|
}
|
|
3666
3635
|
function $t(e) {
|
|
3667
|
-
return
|
|
3636
|
+
return he[e];
|
|
3668
3637
|
}
|
|
3669
|
-
function
|
|
3670
|
-
return
|
|
3671
|
-
const
|
|
3672
|
-
return [t,
|
|
3638
|
+
function Pn(e) {
|
|
3639
|
+
return pe(e).map((t) => {
|
|
3640
|
+
const r = $t(t);
|
|
3641
|
+
return [t, r ? [...r] : []];
|
|
3673
3642
|
}).filter(([, t]) => t.length > 0);
|
|
3674
3643
|
}
|
|
3675
|
-
function
|
|
3676
|
-
return e == null ? !1 :
|
|
3644
|
+
function $e(e) {
|
|
3645
|
+
return e == null ? !1 : pe(e).some(
|
|
3677
3646
|
(t) => {
|
|
3678
|
-
var
|
|
3679
|
-
return (
|
|
3647
|
+
var r;
|
|
3648
|
+
return (r = $t(t)) == null ? void 0 : r.size;
|
|
3680
3649
|
}
|
|
3681
3650
|
);
|
|
3682
3651
|
}
|
|
3683
|
-
function
|
|
3652
|
+
function On(e, t) {
|
|
3684
3653
|
return Promise.all(
|
|
3685
|
-
t.map((
|
|
3686
|
-
).then((
|
|
3654
|
+
t.map((n) => (wn(e, n), n().then((i) => i.default || i)))
|
|
3655
|
+
).then((n) => An(e, ...n));
|
|
3687
3656
|
}
|
|
3688
|
-
const
|
|
3657
|
+
const J = {};
|
|
3689
3658
|
function Ut(e) {
|
|
3690
|
-
if (
|
|
3691
|
-
return e in
|
|
3692
|
-
const t =
|
|
3693
|
-
return
|
|
3659
|
+
if (!$e(e))
|
|
3660
|
+
return e in J ? J[e] : Promise.resolve();
|
|
3661
|
+
const t = Pn(e);
|
|
3662
|
+
return J[e] = Promise.all(
|
|
3694
3663
|
t.map(
|
|
3695
|
-
([
|
|
3664
|
+
([r, n]) => On(r, n)
|
|
3696
3665
|
)
|
|
3697
3666
|
).then(() => {
|
|
3698
|
-
if (
|
|
3667
|
+
if ($e(e))
|
|
3699
3668
|
return Ut(e);
|
|
3700
|
-
delete
|
|
3701
|
-
}),
|
|
3669
|
+
delete J[e];
|
|
3670
|
+
}), J[e];
|
|
3702
3671
|
}
|
|
3703
|
-
const
|
|
3672
|
+
const Nn = {
|
|
3704
3673
|
number: {
|
|
3705
3674
|
scientific: { notation: "scientific" },
|
|
3706
3675
|
engineering: { notation: "engineering" },
|
|
@@ -3729,150 +3698,150 @@ const Nr = {
|
|
|
3729
3698
|
timeZoneName: "short"
|
|
3730
3699
|
}
|
|
3731
3700
|
}
|
|
3732
|
-
},
|
|
3701
|
+
}, In = {
|
|
3733
3702
|
fallbackLocale: null,
|
|
3734
3703
|
loadingDelay: 200,
|
|
3735
|
-
formats:
|
|
3704
|
+
formats: Nn,
|
|
3736
3705
|
warnOnMissingMessages: !0,
|
|
3737
3706
|
handleMissingMessage: void 0,
|
|
3738
3707
|
ignoreTag: !0
|
|
3739
|
-
},
|
|
3740
|
-
function
|
|
3741
|
-
return
|
|
3742
|
-
}
|
|
3743
|
-
const
|
|
3744
|
-
var
|
|
3745
|
-
for (var
|
|
3746
|
-
|
|
3708
|
+
}, Ln = In;
|
|
3709
|
+
function z() {
|
|
3710
|
+
return Ln;
|
|
3711
|
+
}
|
|
3712
|
+
const Be = ge(!1);
|
|
3713
|
+
var Cn = Object.defineProperty, Mn = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, it = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dn = (e, t) => {
|
|
3714
|
+
for (var r in t || (t = {}))
|
|
3715
|
+
$n.call(t, r) && st(e, r, t[r]);
|
|
3747
3716
|
if (it)
|
|
3748
|
-
for (var
|
|
3749
|
-
|
|
3717
|
+
for (var r of it(t))
|
|
3718
|
+
Un.call(t, r) && st(e, r, t[r]);
|
|
3750
3719
|
return e;
|
|
3751
|
-
},
|
|
3752
|
-
let
|
|
3753
|
-
const
|
|
3754
|
-
function
|
|
3755
|
-
return e.split("-").map((t,
|
|
3720
|
+
}, Gn = (e, t) => Mn(e, Rn(t));
|
|
3721
|
+
let Ue;
|
|
3722
|
+
const fe = ge(null);
|
|
3723
|
+
function ot(e) {
|
|
3724
|
+
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3756
3725
|
}
|
|
3757
|
-
function
|
|
3758
|
-
const
|
|
3759
|
-
return t ? [.../* @__PURE__ */ new Set([...
|
|
3726
|
+
function pe(e, t = z().fallbackLocale) {
|
|
3727
|
+
const r = ot(e);
|
|
3728
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ot(t)])] : r;
|
|
3760
3729
|
}
|
|
3761
|
-
function
|
|
3762
|
-
return
|
|
3730
|
+
function U() {
|
|
3731
|
+
return Ue != null ? Ue : void 0;
|
|
3763
3732
|
}
|
|
3764
|
-
|
|
3765
|
-
|
|
3733
|
+
fe.subscribe((e) => {
|
|
3734
|
+
Ue = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3766
3735
|
});
|
|
3767
|
-
const
|
|
3768
|
-
if (e &&
|
|
3769
|
-
const { loadingDelay: t } =
|
|
3770
|
-
let
|
|
3771
|
-
return typeof window != "undefined" &&
|
|
3772
|
-
() =>
|
|
3736
|
+
const Fn = (e) => {
|
|
3737
|
+
if (e && Bn(e) && $e(e)) {
|
|
3738
|
+
const { loadingDelay: t } = z();
|
|
3739
|
+
let r;
|
|
3740
|
+
return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
|
|
3741
|
+
() => Be.set(!0),
|
|
3773
3742
|
t
|
|
3774
|
-
) :
|
|
3775
|
-
|
|
3743
|
+
) : Be.set(!0), Ut(e).then(() => {
|
|
3744
|
+
fe.set(e);
|
|
3776
3745
|
}).finally(() => {
|
|
3777
|
-
clearTimeout(
|
|
3746
|
+
clearTimeout(r), Be.set(!1);
|
|
3778
3747
|
});
|
|
3779
3748
|
}
|
|
3780
|
-
return
|
|
3781
|
-
},
|
|
3782
|
-
set:
|
|
3783
|
-
}),
|
|
3749
|
+
return fe.set(e);
|
|
3750
|
+
}, $ = Gn(Dn({}, fe), {
|
|
3751
|
+
set: Fn
|
|
3752
|
+
}), ye = (e) => {
|
|
3784
3753
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3785
|
-
return (
|
|
3786
|
-
const i = JSON.stringify(
|
|
3787
|
-
return i in t ? t[i] : t[i] = e(
|
|
3754
|
+
return (n) => {
|
|
3755
|
+
const i = JSON.stringify(n);
|
|
3756
|
+
return i in t ? t[i] : t[i] = e(n);
|
|
3788
3757
|
};
|
|
3789
3758
|
};
|
|
3790
|
-
var
|
|
3791
|
-
for (var
|
|
3792
|
-
Dt.call(t,
|
|
3793
|
-
if (
|
|
3794
|
-
for (var
|
|
3795
|
-
Gt.call(t,
|
|
3759
|
+
var jn = Object.defineProperty, ce = Object.getOwnPropertySymbols, Dt = Object.prototype.hasOwnProperty, Gt = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
|
|
3760
|
+
for (var r in t || (t = {}))
|
|
3761
|
+
Dt.call(t, r) && at(e, r, t[r]);
|
|
3762
|
+
if (ce)
|
|
3763
|
+
for (var r of ce(t))
|
|
3764
|
+
Gt.call(t, r) && at(e, r, t[r]);
|
|
3796
3765
|
return e;
|
|
3797
|
-
},
|
|
3798
|
-
var
|
|
3799
|
-
for (var
|
|
3800
|
-
Dt.call(e,
|
|
3801
|
-
if (e != null &&
|
|
3802
|
-
for (var
|
|
3803
|
-
t.indexOf(
|
|
3804
|
-
return
|
|
3766
|
+
}, q = (e, t) => {
|
|
3767
|
+
var r = {};
|
|
3768
|
+
for (var n in e)
|
|
3769
|
+
Dt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3770
|
+
if (e != null && ce)
|
|
3771
|
+
for (var n of ce(e))
|
|
3772
|
+
t.indexOf(n) < 0 && Gt.call(e, n) && (r[n] = e[n]);
|
|
3773
|
+
return r;
|
|
3805
3774
|
};
|
|
3806
|
-
const
|
|
3807
|
-
const { formats:
|
|
3808
|
-
if (e in
|
|
3809
|
-
return
|
|
3775
|
+
const te = (e, t) => {
|
|
3776
|
+
const { formats: r } = z();
|
|
3777
|
+
if (e in r && t in r[e])
|
|
3778
|
+
return r[e][t];
|
|
3810
3779
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3811
|
-
},
|
|
3780
|
+
}, kn = ye(
|
|
3812
3781
|
(e) => {
|
|
3813
|
-
var t = e, { locale:
|
|
3814
|
-
if (
|
|
3782
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3783
|
+
if (r == null)
|
|
3815
3784
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3816
|
-
return
|
|
3785
|
+
return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
|
|
3817
3786
|
}
|
|
3818
|
-
),
|
|
3787
|
+
), Vn = ye(
|
|
3819
3788
|
(e) => {
|
|
3820
|
-
var t = e, { locale:
|
|
3821
|
-
if (
|
|
3789
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3790
|
+
if (r == null)
|
|
3822
3791
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3823
|
-
return
|
|
3792
|
+
return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3824
3793
|
}
|
|
3825
|
-
),
|
|
3794
|
+
), Xn = ye(
|
|
3826
3795
|
(e) => {
|
|
3827
|
-
var t = e, { locale:
|
|
3828
|
-
if (
|
|
3796
|
+
var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
|
|
3797
|
+
if (r == null)
|
|
3829
3798
|
throw new Error(
|
|
3830
3799
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3831
3800
|
);
|
|
3832
|
-
return
|
|
3801
|
+
return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3833
3802
|
}
|
|
3834
|
-
),
|
|
3803
|
+
), zn = (e = {}) => {
|
|
3835
3804
|
var t = e, {
|
|
3836
|
-
locale:
|
|
3837
|
-
} = t,
|
|
3805
|
+
locale: r = U()
|
|
3806
|
+
} = t, n = q(t, [
|
|
3838
3807
|
"locale"
|
|
3839
3808
|
]);
|
|
3840
|
-
return
|
|
3841
|
-
},
|
|
3809
|
+
return kn(je({ locale: r }, n));
|
|
3810
|
+
}, Wn = (e = {}) => {
|
|
3842
3811
|
var t = e, {
|
|
3843
|
-
locale:
|
|
3844
|
-
} = t,
|
|
3812
|
+
locale: r = U()
|
|
3813
|
+
} = t, n = q(t, [
|
|
3845
3814
|
"locale"
|
|
3846
3815
|
]);
|
|
3847
|
-
return
|
|
3848
|
-
},
|
|
3816
|
+
return Vn(je({ locale: r }, n));
|
|
3817
|
+
}, Zn = (e = {}) => {
|
|
3849
3818
|
var t = e, {
|
|
3850
|
-
locale:
|
|
3851
|
-
} = t,
|
|
3819
|
+
locale: r = U()
|
|
3820
|
+
} = t, n = q(t, [
|
|
3852
3821
|
"locale"
|
|
3853
3822
|
]);
|
|
3854
|
-
return
|
|
3855
|
-
},
|
|
3823
|
+
return Xn(je({ locale: r }, n));
|
|
3824
|
+
}, Qn = ye(
|
|
3856
3825
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3857
|
-
(e, t =
|
|
3858
|
-
ignoreTag:
|
|
3826
|
+
(e, t = U()) => new _n(e, t, z().formats, {
|
|
3827
|
+
ignoreTag: z().ignoreTag
|
|
3859
3828
|
})
|
|
3860
|
-
),
|
|
3861
|
-
var
|
|
3862
|
-
let
|
|
3863
|
-
typeof e == "object" && (
|
|
3829
|
+
), qn = (e, t = {}) => {
|
|
3830
|
+
var r, n, i, s;
|
|
3831
|
+
let o = t;
|
|
3832
|
+
typeof e == "object" && (o = e, e = o.id);
|
|
3864
3833
|
const {
|
|
3865
3834
|
values: u,
|
|
3866
|
-
locale: l =
|
|
3867
|
-
default:
|
|
3868
|
-
} =
|
|
3835
|
+
locale: l = U(),
|
|
3836
|
+
default: a
|
|
3837
|
+
} = o;
|
|
3869
3838
|
if (l == null)
|
|
3870
3839
|
throw new Error(
|
|
3871
3840
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3872
3841
|
);
|
|
3873
3842
|
let h = Mt(e, l);
|
|
3874
3843
|
if (!h)
|
|
3875
|
-
h = (s = (i = (
|
|
3844
|
+
h = (s = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3876
3845
|
else if (typeof h != "string")
|
|
3877
3846
|
return console.warn(
|
|
3878
3847
|
`[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.`
|
|
@@ -3881,7 +3850,7 @@ const ee = (e, t) => {
|
|
|
3881
3850
|
return h;
|
|
3882
3851
|
let m = h;
|
|
3883
3852
|
try {
|
|
3884
|
-
m =
|
|
3853
|
+
m = Qn(h, l).format(u);
|
|
3885
3854
|
} catch (f) {
|
|
3886
3855
|
f instanceof Error && console.warn(
|
|
3887
3856
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3889,56 +3858,56 @@ const ee = (e, t) => {
|
|
|
3889
3858
|
);
|
|
3890
3859
|
}
|
|
3891
3860
|
return m;
|
|
3892
|
-
},
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
function
|
|
3898
|
-
|
|
3899
|
-
|
|
3861
|
+
}, Jn = (e, t) => Zn(t).format(e), Yn = (e, t) => Wn(t).format(e), Kn = (e, t) => zn(t).format(e), ei = (e, t = U()) => Mt(e, t), Ti = Z([$, Q], () => qn);
|
|
3862
|
+
Z([$], () => Jn);
|
|
3863
|
+
Z([$], () => Yn);
|
|
3864
|
+
Z([$], () => Kn);
|
|
3865
|
+
Z([$, Q], () => ei);
|
|
3866
|
+
function ti({ withLocale: e, translations: t }) {
|
|
3867
|
+
$.subscribe((r) => {
|
|
3868
|
+
r == null && (Q.set(t), $.set(e));
|
|
3900
3869
|
});
|
|
3901
3870
|
}
|
|
3902
|
-
function
|
|
3871
|
+
function ri(e, t) {
|
|
3903
3872
|
if (e) {
|
|
3904
|
-
const
|
|
3905
|
-
|
|
3873
|
+
const r = document.createElement("style");
|
|
3874
|
+
r.innerHTML = t, e.appendChild(r);
|
|
3906
3875
|
}
|
|
3907
3876
|
}
|
|
3908
3877
|
function ni(e, t) {
|
|
3909
|
-
const
|
|
3910
|
-
fetch(
|
|
3878
|
+
const r = new URL(t);
|
|
3879
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3911
3880
|
const i = document.createElement("style");
|
|
3912
|
-
i.innerHTML =
|
|
3913
|
-
}).catch((
|
|
3914
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
3881
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
3882
|
+
}).catch((n) => {
|
|
3883
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
3915
3884
|
});
|
|
3916
3885
|
}
|
|
3917
|
-
function
|
|
3886
|
+
function ii(e, t, r) {
|
|
3918
3887
|
if (window.emMessageBus) {
|
|
3919
|
-
const
|
|
3888
|
+
const n = document.createElement("style");
|
|
3920
3889
|
window.emMessageBus.subscribe(t, (i) => {
|
|
3921
|
-
|
|
3890
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
3922
3891
|
});
|
|
3923
3892
|
}
|
|
3924
3893
|
}
|
|
3925
3894
|
if (typeof window != "undefined") {
|
|
3926
3895
|
let e = function(t) {
|
|
3927
|
-
return function(...
|
|
3896
|
+
return function(...r) {
|
|
3928
3897
|
try {
|
|
3929
|
-
return t.apply(this,
|
|
3930
|
-
} catch (
|
|
3931
|
-
if (
|
|
3898
|
+
return t.apply(this, r);
|
|
3899
|
+
} catch (n) {
|
|
3900
|
+
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
3932
3901
|
return !1;
|
|
3933
|
-
throw
|
|
3902
|
+
throw n;
|
|
3934
3903
|
}
|
|
3935
3904
|
};
|
|
3936
3905
|
};
|
|
3937
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3906
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-DCNGOrrf.js").then(({ default: t }) => {
|
|
3938
3907
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3939
3908
|
});
|
|
3940
3909
|
}
|
|
3941
|
-
function
|
|
3910
|
+
function si(e) {
|
|
3942
3911
|
Qt(e, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
3943
3912
|
}
|
|
3944
3913
|
function ut(e) {
|
|
@@ -4037,172 +4006,172 @@ function ut(e) {
|
|
|
4037
4006
|
e[15]
|
|
4038
4007
|
);
|
|
4039
4008
|
},
|
|
4040
|
-
m(
|
|
4041
|
-
|
|
4009
|
+
m(r, n) {
|
|
4010
|
+
me(r, t, n);
|
|
4042
4011
|
},
|
|
4043
|
-
p(
|
|
4044
|
-
|
|
4012
|
+
p(r, n) {
|
|
4013
|
+
n & /*session*/
|
|
4045
4014
|
16 && g(
|
|
4046
4015
|
t,
|
|
4047
4016
|
"session",
|
|
4048
4017
|
/*session*/
|
|
4049
|
-
|
|
4050
|
-
),
|
|
4018
|
+
r[4]
|
|
4019
|
+
), n & /*userid*/
|
|
4051
4020
|
32 && g(
|
|
4052
4021
|
t,
|
|
4053
4022
|
"userid",
|
|
4054
4023
|
/*userid*/
|
|
4055
|
-
|
|
4056
|
-
),
|
|
4024
|
+
r[5]
|
|
4025
|
+
), n & /*endpoint*/
|
|
4057
4026
|
1 && g(
|
|
4058
4027
|
t,
|
|
4059
4028
|
"endpoint",
|
|
4060
4029
|
/*endpoint*/
|
|
4061
|
-
|
|
4062
|
-
),
|
|
4030
|
+
r[0]
|
|
4031
|
+
), n & /*datasource*/
|
|
4063
4032
|
2 && g(
|
|
4064
4033
|
t,
|
|
4065
4034
|
"datasource",
|
|
4066
4035
|
/*datasource*/
|
|
4067
|
-
|
|
4068
|
-
),
|
|
4036
|
+
r[1]
|
|
4037
|
+
), n & /*lang*/
|
|
4069
4038
|
8 && g(
|
|
4070
4039
|
t,
|
|
4071
4040
|
"lang",
|
|
4072
4041
|
/*lang*/
|
|
4073
|
-
|
|
4074
|
-
),
|
|
4042
|
+
r[3]
|
|
4043
|
+
), n & /*currency*/
|
|
4075
4044
|
4 && g(
|
|
4076
4045
|
t,
|
|
4077
4046
|
"currency",
|
|
4078
4047
|
/*currency*/
|
|
4079
|
-
|
|
4080
|
-
),
|
|
4048
|
+
r[2]
|
|
4049
|
+
), n & /*favorites*/
|
|
4081
4050
|
16384 && g(
|
|
4082
4051
|
t,
|
|
4083
4052
|
"favorites",
|
|
4084
4053
|
/*favorites*/
|
|
4085
|
-
|
|
4086
|
-
),
|
|
4054
|
+
r[14]
|
|
4055
|
+
), n & /*fetchviaevent*/
|
|
4087
4056
|
65536 && g(
|
|
4088
4057
|
t,
|
|
4089
4058
|
"fetchviaevent",
|
|
4090
4059
|
/*fetchviaevent*/
|
|
4091
|
-
|
|
4092
|
-
),
|
|
4060
|
+
r[16]
|
|
4061
|
+
), n & /*mbsource*/
|
|
4093
4062
|
131072 && g(
|
|
4094
4063
|
t,
|
|
4095
4064
|
"mbsource",
|
|
4096
4065
|
/*mbsource*/
|
|
4097
|
-
|
|
4098
|
-
),
|
|
4066
|
+
r[17]
|
|
4067
|
+
), n & /*showgamename*/
|
|
4099
4068
|
2048 && g(
|
|
4100
4069
|
t,
|
|
4101
4070
|
"showgamename",
|
|
4102
4071
|
/*showgamename*/
|
|
4103
|
-
|
|
4104
|
-
),
|
|
4072
|
+
r[11]
|
|
4073
|
+
), n & /*clientstyling*/
|
|
4105
4074
|
64 && g(
|
|
4106
4075
|
t,
|
|
4107
4076
|
"clientstyling",
|
|
4108
4077
|
/*clientstyling*/
|
|
4109
|
-
|
|
4110
|
-
),
|
|
4078
|
+
r[6]
|
|
4079
|
+
), n & /*clientstylingurl*/
|
|
4111
4080
|
128 && g(
|
|
4112
4081
|
t,
|
|
4113
4082
|
"clientstylingurl",
|
|
4114
4083
|
/*clientstylingurl*/
|
|
4115
|
-
|
|
4116
|
-
),
|
|
4084
|
+
r[7]
|
|
4085
|
+
), n & /*livecasino*/
|
|
4117
4086
|
256 && g(
|
|
4118
4087
|
t,
|
|
4119
4088
|
"livecasino",
|
|
4120
4089
|
/*livecasino*/
|
|
4121
|
-
|
|
4122
|
-
),
|
|
4090
|
+
r[8]
|
|
4091
|
+
), n & /*visiblegames*/
|
|
4123
4092
|
8192 && g(
|
|
4124
4093
|
t,
|
|
4125
4094
|
"visiblegames",
|
|
4126
4095
|
/*visiblegames*/
|
|
4127
|
-
|
|
4128
|
-
),
|
|
4096
|
+
r[13]
|
|
4097
|
+
), n & /*gamepagemodalurl*/
|
|
4129
4098
|
4096 && g(
|
|
4130
4099
|
t,
|
|
4131
4100
|
"gamepagemodalurl",
|
|
4132
4101
|
/*gamepagemodalurl*/
|
|
4133
|
-
|
|
4134
|
-
),
|
|
4102
|
+
r[12]
|
|
4103
|
+
), n & /*integratedgameframedesktop*/
|
|
4135
4104
|
1024 && g(
|
|
4136
4105
|
t,
|
|
4137
4106
|
"integratedgameframedesktop",
|
|
4138
4107
|
/*integratedgameframedesktop*/
|
|
4139
|
-
|
|
4140
|
-
),
|
|
4108
|
+
r[10]
|
|
4109
|
+
), n & /*integratedgameframemobile*/
|
|
4141
4110
|
512 && g(
|
|
4142
4111
|
t,
|
|
4143
4112
|
"integratedgameframemobile",
|
|
4144
4113
|
/*integratedgameframemobile*/
|
|
4145
|
-
|
|
4146
|
-
),
|
|
4114
|
+
r[9]
|
|
4115
|
+
), n & /*casinomygames*/
|
|
4147
4116
|
32768 && g(
|
|
4148
4117
|
t,
|
|
4149
4118
|
"casinomygames",
|
|
4150
4119
|
/*casinomygames*/
|
|
4151
|
-
|
|
4120
|
+
r[15]
|
|
4152
4121
|
);
|
|
4153
4122
|
},
|
|
4154
|
-
d(
|
|
4155
|
-
|
|
4123
|
+
d(r) {
|
|
4124
|
+
r && re(t);
|
|
4156
4125
|
}
|
|
4157
4126
|
};
|
|
4158
4127
|
}
|
|
4159
|
-
function
|
|
4160
|
-
let t,
|
|
4128
|
+
function oi(e) {
|
|
4129
|
+
let t, r = (
|
|
4161
4130
|
/*session*/
|
|
4162
4131
|
e[4] && ut(e)
|
|
4163
4132
|
);
|
|
4164
4133
|
return {
|
|
4165
4134
|
c() {
|
|
4166
|
-
t = ne("div"),
|
|
4135
|
+
t = ne("div"), r && r.c(), Ge(t, "class", "CasinoFavoritesSectionContainer");
|
|
4167
4136
|
},
|
|
4168
|
-
m(
|
|
4169
|
-
|
|
4137
|
+
m(n, i) {
|
|
4138
|
+
me(n, t, i), r && r.m(t, null), e[19](t);
|
|
4170
4139
|
},
|
|
4171
|
-
p(
|
|
4140
|
+
p(n, [i]) {
|
|
4172
4141
|
/*session*/
|
|
4173
|
-
|
|
4142
|
+
n[4] ? r ? r.p(n, i) : (r = ut(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4174
4143
|
},
|
|
4175
|
-
i:
|
|
4176
|
-
o:
|
|
4177
|
-
d(
|
|
4178
|
-
|
|
4144
|
+
i: N,
|
|
4145
|
+
o: N,
|
|
4146
|
+
d(n) {
|
|
4147
|
+
n && re(t), r && r.d(), e[19](null);
|
|
4179
4148
|
}
|
|
4180
4149
|
};
|
|
4181
4150
|
}
|
|
4182
|
-
function ai(e, t,
|
|
4183
|
-
let { endpoint:
|
|
4184
|
-
|
|
4151
|
+
function ai(e, t, r) {
|
|
4152
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: o = "" } = t, { session: u = "" } = t, { userid: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: m = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl: _ = "false" } = t, { visiblegames: T = "" } = t, { favorites: P = "" } = t, { casinomygames: w = "false" } = t, { fetchviaevent: B = "true" } = t, { mbsource: O } = t, x;
|
|
4153
|
+
ti({ withLocale: "en", translations: {} }), tr(() => () => {
|
|
4185
4154
|
});
|
|
4186
4155
|
function I(c) {
|
|
4187
|
-
|
|
4188
|
-
x = c,
|
|
4156
|
+
Ae[c ? "unshift" : "push"](() => {
|
|
4157
|
+
x = c, r(18, x);
|
|
4189
4158
|
});
|
|
4190
4159
|
}
|
|
4191
4160
|
return e.$$set = (c) => {
|
|
4192
|
-
"endpoint" in c &&
|
|
4161
|
+
"endpoint" in c && r(0, n = c.endpoint), "datasource" in c && r(1, i = c.datasource), "currency" in c && r(2, s = c.currency), "lang" in c && r(3, o = c.lang), "session" in c && r(4, u = c.session), "userid" in c && r(5, l = c.userid), "clientstyling" in c && r(6, a = c.clientstyling), "clientstylingurl" in c && r(7, h = c.clientstylingurl), "livecasino" in c && r(8, m = c.livecasino), "integratedgameframemobile" in c && r(9, f = c.integratedgameframemobile), "integratedgameframedesktop" in c && r(10, b = c.integratedgameframedesktop), "showgamename" in c && r(11, y = c.showgamename), "gamepagemodalurl" in c && r(12, _ = c.gamepagemodalurl), "visiblegames" in c && r(13, T = c.visiblegames), "favorites" in c && r(14, P = c.favorites), "casinomygames" in c && r(15, w = c.casinomygames), "fetchviaevent" in c && r(16, B = c.fetchviaevent), "mbsource" in c && r(17, O = c.mbsource);
|
|
4193
4162
|
}, e.$$.update = () => {
|
|
4194
4163
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4195
|
-
262208 &&
|
|
4164
|
+
262208 && a && x && ri(x, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4196
4165
|
262272 && h && x && ni(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4197
|
-
393216 && x &&
|
|
4166
|
+
393216 && x && ii(x, `${O}.Style`);
|
|
4198
4167
|
}, [
|
|
4199
|
-
|
|
4168
|
+
n,
|
|
4200
4169
|
i,
|
|
4201
4170
|
s,
|
|
4202
|
-
|
|
4171
|
+
o,
|
|
4203
4172
|
u,
|
|
4204
4173
|
l,
|
|
4205
|
-
|
|
4174
|
+
a,
|
|
4206
4175
|
h,
|
|
4207
4176
|
m,
|
|
4208
4177
|
f,
|
|
@@ -4213,18 +4182,18 @@ function ai(e, t, n) {
|
|
|
4213
4182
|
P,
|
|
4214
4183
|
w,
|
|
4215
4184
|
B,
|
|
4216
|
-
|
|
4185
|
+
O,
|
|
4217
4186
|
x,
|
|
4218
4187
|
I
|
|
4219
4188
|
];
|
|
4220
4189
|
}
|
|
4221
|
-
class Ft extends
|
|
4190
|
+
class Ft extends lr {
|
|
4222
4191
|
constructor(t) {
|
|
4223
|
-
super(),
|
|
4192
|
+
super(), ur(
|
|
4224
4193
|
this,
|
|
4225
4194
|
t,
|
|
4226
4195
|
ai,
|
|
4227
|
-
|
|
4196
|
+
oi,
|
|
4228
4197
|
lt,
|
|
4229
4198
|
{
|
|
4230
4199
|
endpoint: 0,
|
|
@@ -4246,7 +4215,7 @@ class Ft extends fn {
|
|
|
4246
4215
|
fetchviaevent: 16,
|
|
4247
4216
|
mbsource: 17
|
|
4248
4217
|
},
|
|
4249
|
-
|
|
4218
|
+
si
|
|
4250
4219
|
);
|
|
4251
4220
|
}
|
|
4252
4221
|
get endpoint() {
|
|
@@ -4358,56 +4327,51 @@ class Ft extends fn {
|
|
|
4358
4327
|
this.$$set({ mbsource: t }), H();
|
|
4359
4328
|
}
|
|
4360
4329
|
}
|
|
4361
|
-
|
|
4362
|
-
const
|
|
4330
|
+
hr(Ft, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
4331
|
+
const Si = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4363
4332
|
__proto__: null,
|
|
4364
4333
|
default: Ft
|
|
4365
4334
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4366
4335
|
export {
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
ve as a,
|
|
4388
|
-
Si as b,
|
|
4389
|
-
ge as c,
|
|
4390
|
-
Z as d,
|
|
4391
|
-
Br as e,
|
|
4336
|
+
$,
|
|
4337
|
+
ni as A,
|
|
4338
|
+
ii as B,
|
|
4339
|
+
hr as C,
|
|
4340
|
+
Ti as D,
|
|
4341
|
+
g as E,
|
|
4342
|
+
pi as F,
|
|
4343
|
+
mi as G,
|
|
4344
|
+
yi as H,
|
|
4345
|
+
vi as I,
|
|
4346
|
+
Ei as J,
|
|
4347
|
+
Hi as K,
|
|
4348
|
+
xi as L,
|
|
4349
|
+
Si as M,
|
|
4350
|
+
lr as S,
|
|
4351
|
+
Q as a,
|
|
4352
|
+
An as b,
|
|
4353
|
+
Qt as c,
|
|
4354
|
+
re as d,
|
|
4355
|
+
me as e,
|
|
4392
4356
|
H as f,
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4357
|
+
ne as g,
|
|
4358
|
+
li as h,
|
|
4359
|
+
ur as i,
|
|
4360
|
+
Ae as j,
|
|
4361
|
+
di as k,
|
|
4362
|
+
Zt as l,
|
|
4363
|
+
Ge as m,
|
|
4364
|
+
N as n,
|
|
4365
|
+
tr as o,
|
|
4366
|
+
_i as p,
|
|
4367
|
+
fi as q,
|
|
4368
|
+
W as r,
|
|
4405
4369
|
lt as s,
|
|
4406
|
-
|
|
4407
|
-
|
|
4370
|
+
ct as t,
|
|
4371
|
+
gi as u,
|
|
4408
4372
|
Yt as v,
|
|
4409
4373
|
ci as w,
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4374
|
+
bi as x,
|
|
4375
|
+
hi as y,
|
|
4376
|
+
ri as z
|
|
4413
4377
|
};
|