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