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