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