@everymatrix/casino-favorites-section 1.59.3 → 1.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFavoritesSection-BxxyL3gy.js → CasinoFavoritesSection-C8_ellRr.js} +397 -395
- package/components/{CasinoFavoritesSection-Dr_s1lWC.js → CasinoFavoritesSection-CeT7rizL.js} +388 -386
- package/components/CasinoFavoritesSection-nb-8uLAd.cjs +16 -0
- package/components/CasinoFilter-CMt31f0V.cjs +3 -0
- package/components/{CasinoFilter-COGKkrao.js → CasinoFilter-e1yn2vXh.js} +379 -358
- package/components/{CasinoFilter-BWXSaZXT.js → CasinoFilter-fMrVCO3a.js} +375 -356
- package/components/CasinoGameThumbnail-C7XKZ1Qm.cjs +47 -0
- package/components/{CasinoGameThumbnail-C513CfaD.js → CasinoGameThumbnail-D89YzLzT.js} +1422 -1427
- package/components/{CasinoGameThumbnail-6rTN59rd.js → CasinoGameThumbnail-DyGvo0gR.js} +1782 -1755
- package/components/{CasinoGamesCategorySection-BLcUvM0v.cjs → CasinoGamesCategorySection-CeHopzqH.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-De1geueJ.js → CasinoGamesCategorySection-D3LVKmNI.js} +262 -262
- package/components/{CasinoGamesCategorySection-CWF7DtsI.js → CasinoGamesCategorySection-SJNzfovk.js} +262 -262
- package/components/{CasinoSort-aSdKoT5F.cjs → CasinoSort-CUor4xnz.cjs} +1 -1
- package/components/{CasinoSort-CnGZfIMP.js → CasinoSort-CZvxqI6z.js} +99 -100
- package/components/{CasinoSort-DxYZYH_0.js → CasinoSort-CrJQgXyX.js} +109 -108
- package/es2015/casino-favorites-section.cjs +1 -1
- package/es2015/casino-favorites-section.js +1 -1
- package/esnext/casino-favorites-section.js +1 -1
- package/package.json +1 -1
- package/stencil/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-IHMCRYEX.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
- package/stencil/{ui-skeleton-DFpfaKvi.js → ui-skeleton-C5gPr5Xv.js} +2 -2
- package/stencil/{ui-skeleton-UUT_AJxa.js → ui-skeleton-M7HNQCk1.js} +2 -2
- package/stencil/{ui-skeleton-a642cced-BNXFvvk_.js → ui-skeleton-a642cced-BFJMszWG.js} +1 -1
- package/stencil/{ui-skeleton-a642cced-5nW6b8_l.cjs → ui-skeleton-a642cced-DO34s50a.cjs} +1 -1
- package/stencil/{ui-skeleton-a642cced-DdY2eEM0.js → ui-skeleton-a642cced-p8tGooXk.js} +1 -1
- package/components/CasinoFavoritesSection-BlZGGJwX.cjs +0 -16
- package/components/CasinoFilter-CnVdBi17.cjs +0 -3
- package/components/CasinoGameThumbnail-BH3mCNrY.cjs +0 -47
- package/stencil/index-ae04a8b1-BxaX26xW.js +0 -516
- package/stencil/index-ae04a8b1-D7qYBP-T.js +0 -532
- package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +0 -1
package/components/{CasinoFavoritesSection-BxxyL3gy.js → CasinoFavoritesSection-C8_ellRr.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var ye = (e, t, n) => t in e ?
|
|
1
|
+
var Ft = Object.defineProperty, jt = Object.defineProperties;
|
|
2
|
+
var kt = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ke = Object.getOwnPropertySymbols;
|
|
4
|
+
var Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ye = (e, t, n) => t in e ? Ft(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ve = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var n of
|
|
10
|
-
|
|
7
|
+
Vt.call(t, n) && ye(e, n, t[n]);
|
|
8
|
+
if (ke)
|
|
9
|
+
for (var n of ke(t))
|
|
10
|
+
Xt.call(t, n) && ye(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Xe = (e, t) => jt(e, kt(t));
|
|
13
13
|
var S = (e, t, n) => (ye(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
14
|
-
var
|
|
14
|
+
var ze = (e, t, n) => new Promise((r, i) => {
|
|
15
15
|
var s = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
u(n.next(l));
|
|
@@ -29,29 +29,29 @@ var Ve = (e, t, n) => new Promise((r, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function O() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function ht(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function We() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function z(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(ht);
|
|
40
40
|
}
|
|
41
41
|
function fe(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function lt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let ie;
|
|
48
|
-
function
|
|
48
|
+
function ui(e, t) {
|
|
49
49
|
return e === t ? !0 : (ie || (ie = document.createElement("a")), ie.href = t, e === ie.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function zt(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function ft(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const r of t)
|
|
57
57
|
r(void 0);
|
|
@@ -60,23 +60,23 @@ function ht(e, ...t) {
|
|
|
60
60
|
const n = e.subscribe(...t);
|
|
61
61
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function hi(e, t, n) {
|
|
64
|
+
e.$$.on_destroy.push(ft(t, n));
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function li(e) {
|
|
67
67
|
return e && fe(e.destroy) ? e.destroy : O;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function Wt(e, t) {
|
|
70
70
|
e.appendChild(t);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
const r =
|
|
72
|
+
function Zt(e, t, n) {
|
|
73
|
+
const r = Qt(e);
|
|
74
74
|
if (!r.getElementById(t)) {
|
|
75
75
|
const i = ne("style");
|
|
76
|
-
i.id = t, i.textContent = n,
|
|
76
|
+
i.id = t, i.textContent = n, qt(r, i);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Qt(e) {
|
|
80
80
|
if (!e)
|
|
81
81
|
return document;
|
|
82
82
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -86,8 +86,8 @@ function Wt(e) {
|
|
|
86
86
|
t
|
|
87
87
|
) : e.ownerDocument;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
return
|
|
89
|
+
function qt(e, t) {
|
|
90
|
+
return Wt(
|
|
91
91
|
/** @type {Document} */
|
|
92
92
|
e.head || e,
|
|
93
93
|
t
|
|
@@ -99,26 +99,26 @@ function ce(e, t, n) {
|
|
|
99
99
|
function te(e) {
|
|
100
100
|
e.parentNode && e.parentNode.removeChild(e);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function fi(e, t) {
|
|
103
103
|
for (let n = 0; n < e.length; n += 1)
|
|
104
104
|
e[n] && e[n].d(t);
|
|
105
105
|
}
|
|
106
106
|
function ne(e) {
|
|
107
107
|
return document.createElement(e);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Jt(e) {
|
|
110
110
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function ct(e) {
|
|
113
113
|
return document.createTextNode(e);
|
|
114
114
|
}
|
|
115
|
-
function fi() {
|
|
116
|
-
return lt(" ");
|
|
117
|
-
}
|
|
118
115
|
function ci() {
|
|
119
|
-
return
|
|
116
|
+
return ct(" ");
|
|
117
|
+
}
|
|
118
|
+
function mi() {
|
|
119
|
+
return ct("");
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function gi(e, t, n, r) {
|
|
122
122
|
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
|
|
123
123
|
}
|
|
124
124
|
function Ue(e, t, n) {
|
|
@@ -128,20 +128,20 @@ function g(e, t, n) {
|
|
|
128
128
|
const r = t.toLowerCase();
|
|
129
129
|
r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : Ue(e, t, n);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function Yt(e) {
|
|
132
132
|
return Array.from(e.childNodes);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function di(e, t) {
|
|
135
135
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
136
136
|
t);
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function bi(e, t) {
|
|
139
139
|
e.value = t == null ? "" : t;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function pi(e, t, n) {
|
|
142
142
|
e.classList.toggle(t, !!n);
|
|
143
143
|
}
|
|
144
|
-
class
|
|
144
|
+
class yi {
|
|
145
145
|
constructor(t = !1) {
|
|
146
146
|
/**
|
|
147
147
|
* @private
|
|
@@ -172,7 +172,7 @@ class pi {
|
|
|
172
172
|
* @returns {void}
|
|
173
173
|
*/
|
|
174
174
|
m(t, n, r = null) {
|
|
175
|
-
this.e || (this.is_svg ? this.e =
|
|
175
|
+
this.e || (this.is_svg ? this.e = Jt(
|
|
176
176
|
/** @type {keyof SVGElementTagNameMap} */
|
|
177
177
|
n.nodeName
|
|
178
178
|
) : this.e = ne(
|
|
@@ -211,7 +211,7 @@ class pi {
|
|
|
211
211
|
this.n.forEach(te);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function Kt(e) {
|
|
215
215
|
const t = {};
|
|
216
216
|
return e.childNodes.forEach(
|
|
217
217
|
/** @param {Element} node */
|
|
@@ -224,23 +224,23 @@ let Y;
|
|
|
224
224
|
function J(e) {
|
|
225
225
|
Y = e;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function en() {
|
|
228
228
|
if (!Y)
|
|
229
229
|
throw new Error("Function called outside component initialization");
|
|
230
230
|
return Y;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
233
|
-
|
|
232
|
+
function tn(e) {
|
|
233
|
+
en().$$.on_mount.push(e);
|
|
234
234
|
}
|
|
235
235
|
const G = [], Be = [];
|
|
236
236
|
let F = [];
|
|
237
|
-
const
|
|
237
|
+
const Ze = [], mt = /* @__PURE__ */ Promise.resolve();
|
|
238
238
|
let Ae = !1;
|
|
239
|
-
function
|
|
240
|
-
Ae || (Ae = !0,
|
|
239
|
+
function gt() {
|
|
240
|
+
Ae || (Ae = !0, mt.then(H));
|
|
241
241
|
}
|
|
242
|
-
function
|
|
243
|
-
return
|
|
242
|
+
function Ei() {
|
|
243
|
+
return gt(), mt;
|
|
244
244
|
}
|
|
245
245
|
function we(e) {
|
|
246
246
|
F.push(e);
|
|
@@ -255,7 +255,7 @@ function H() {
|
|
|
255
255
|
try {
|
|
256
256
|
for (; U < G.length; ) {
|
|
257
257
|
const t = G[U];
|
|
258
|
-
U++, J(t),
|
|
258
|
+
U++, J(t), nn(t.$$);
|
|
259
259
|
}
|
|
260
260
|
} catch (t) {
|
|
261
261
|
throw G.length = 0, U = 0, t;
|
|
@@ -268,32 +268,32 @@ function H() {
|
|
|
268
268
|
}
|
|
269
269
|
F.length = 0;
|
|
270
270
|
} while (G.length);
|
|
271
|
-
for (;
|
|
272
|
-
|
|
271
|
+
for (; Ze.length; )
|
|
272
|
+
Ze.pop()();
|
|
273
273
|
Ae = !1, Ee.clear(), J(e);
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function nn(e) {
|
|
276
276
|
if (e.fragment !== null) {
|
|
277
277
|
e.update(), z(e.before_update);
|
|
278
278
|
const t = e.dirty;
|
|
279
279
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function rn(e) {
|
|
283
283
|
const t = [], n = [];
|
|
284
284
|
F.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), F = t;
|
|
285
285
|
}
|
|
286
|
-
const
|
|
287
|
-
function
|
|
288
|
-
e && e.i && (
|
|
286
|
+
const sn = /* @__PURE__ */ new Set();
|
|
287
|
+
function dt(e, t) {
|
|
288
|
+
e && e.i && (sn.delete(e), e.i(t));
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function vi(e) {
|
|
291
291
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function _i(e, t) {
|
|
294
294
|
e.d(1), t.delete(e.key);
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function xi(e, t, n, r, i, s, a, u, l, o, h, m) {
|
|
297
297
|
let f = e.length, b = s.length, y = f;
|
|
298
298
|
const _ = {};
|
|
299
299
|
for (; y--; )
|
|
@@ -306,7 +306,7 @@ function _i(e, t, n, r, i, s, a, u, l, o, h, m) {
|
|
|
306
306
|
}
|
|
307
307
|
const N = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
308
308
|
function I(c) {
|
|
309
|
-
|
|
309
|
+
dt(c, 1), c.m(u, h), a.set(c.key, c), h = c.first, b--;
|
|
310
310
|
}
|
|
311
311
|
for (; f && b; ) {
|
|
312
312
|
const c = T[b - 1], L = e[f - 1], C = c.key, re = L.key;
|
|
@@ -320,21 +320,21 @@ function _i(e, t, n, r, i, s, a, u, l, o, h, m) {
|
|
|
320
320
|
I(T[b - 1]);
|
|
321
321
|
return z(B), T;
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function an(e, t, n) {
|
|
324
324
|
const { fragment: r, after_update: i } = e.$$;
|
|
325
325
|
r && r.m(t, n), we(() => {
|
|
326
|
-
const s = e.$$.on_mount.map(
|
|
326
|
+
const s = e.$$.on_mount.map(ht).filter(fe);
|
|
327
327
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
|
|
328
328
|
}), i.forEach(we);
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function on(e, t) {
|
|
331
331
|
const n = e.$$;
|
|
332
|
-
n.fragment !== null && (
|
|
332
|
+
n.fragment !== null && (rn(n.after_update), z(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
335
|
-
e.$$.dirty[0] === -1 && (G.push(e),
|
|
334
|
+
function un(e, t) {
|
|
335
|
+
e.$$.dirty[0] === -1 && (G.push(e), gt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function hn(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
338
338
|
const l = Y;
|
|
339
339
|
J(e);
|
|
340
340
|
const o = e.$$ = {
|
|
@@ -344,7 +344,7 @@ function on(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
344
344
|
props: s,
|
|
345
345
|
update: O,
|
|
346
346
|
not_equal: i,
|
|
347
|
-
bound:
|
|
347
|
+
bound: We(),
|
|
348
348
|
// lifecycle
|
|
349
349
|
on_mount: [],
|
|
350
350
|
on_destroy: [],
|
|
@@ -353,7 +353,7 @@ function on(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
353
353
|
after_update: [],
|
|
354
354
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
355
355
|
// everything else
|
|
356
|
-
callbacks:
|
|
356
|
+
callbacks: We(),
|
|
357
357
|
dirty: u,
|
|
358
358
|
skip_bound: !1,
|
|
359
359
|
root: t.target || l.$$.root
|
|
@@ -362,19 +362,19 @@ function on(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
362
362
|
let h = !1;
|
|
363
363
|
if (o.ctx = n ? n(e, t.props || {}, (m, f, ...b) => {
|
|
364
364
|
const y = b.length ? b[0] : f;
|
|
365
|
-
return o.ctx && i(o.ctx[m], o.ctx[m] = y) && (!o.skip_bound && o.bound[m] && o.bound[m](y), h &&
|
|
365
|
+
return o.ctx && i(o.ctx[m], o.ctx[m] = y) && (!o.skip_bound && o.bound[m] && o.bound[m](y), h && un(e, m)), f;
|
|
366
366
|
}) : [], o.update(), h = !0, z(o.before_update), o.fragment = r ? r(o.ctx) : !1, t.target) {
|
|
367
367
|
if (t.hydrate) {
|
|
368
|
-
const m =
|
|
368
|
+
const m = Yt(t.target);
|
|
369
369
|
o.fragment && o.fragment.l(m), m.forEach(te);
|
|
370
370
|
} else
|
|
371
371
|
o.fragment && o.fragment.c();
|
|
372
|
-
t.intro &&
|
|
372
|
+
t.intro && dt(e.$$.fragment), an(e, t.target, t.anchor), H();
|
|
373
373
|
}
|
|
374
374
|
J(l);
|
|
375
375
|
}
|
|
376
|
-
let
|
|
377
|
-
typeof HTMLElement == "function" && (
|
|
376
|
+
let bt;
|
|
377
|
+
typeof HTMLElement == "function" && (bt = class extends HTMLElement {
|
|
378
378
|
constructor(t, n, r) {
|
|
379
379
|
super();
|
|
380
380
|
/** The Svelte component constructor */
|
|
@@ -411,7 +411,7 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
413
|
connectedCallback() {
|
|
414
|
-
return
|
|
414
|
+
return ze(this, null, function* () {
|
|
415
415
|
if (this.$$cn = !0, !this.$$c) {
|
|
416
416
|
let t = function(s) {
|
|
417
417
|
return () => {
|
|
@@ -435,7 +435,7 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
|
|
435
435
|
};
|
|
436
436
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
437
437
|
return;
|
|
438
|
-
const n = {}, r =
|
|
438
|
+
const n = {}, r = Kt(this);
|
|
439
439
|
for (const s of this.$$s)
|
|
440
440
|
s in r && (n[s] = [t(s)]);
|
|
441
441
|
for (const s of this.attributes) {
|
|
@@ -446,7 +446,7 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
|
|
446
446
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
447
447
|
this.$$c = new this.$$ctor({
|
|
448
448
|
target: this.shadowRoot || this,
|
|
449
|
-
props:
|
|
449
|
+
props: Xe(Ve({}, this.$$d), {
|
|
450
450
|
$$slots: n,
|
|
451
451
|
$$scope: {
|
|
452
452
|
ctx: []
|
|
@@ -524,8 +524,8 @@ function ae(e, t, n, r) {
|
|
|
524
524
|
return t;
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
|
-
function
|
|
528
|
-
let a = class extends
|
|
527
|
+
function ln(e, t, n, r, i, s) {
|
|
528
|
+
let a = class extends bt {
|
|
529
529
|
constructor() {
|
|
530
530
|
super(e, n, i), this.$$p_d = t;
|
|
531
531
|
}
|
|
@@ -555,7 +555,7 @@ function un(e, t, n, r, i, s) {
|
|
|
555
555
|
}), e.element = /** @type {any} */
|
|
556
556
|
a, a;
|
|
557
557
|
}
|
|
558
|
-
class
|
|
558
|
+
class fn {
|
|
559
559
|
constructor() {
|
|
560
560
|
/**
|
|
561
561
|
* ### PRIVATE API
|
|
@@ -576,7 +576,7 @@ class hn {
|
|
|
576
576
|
}
|
|
577
577
|
/** @returns {void} */
|
|
578
578
|
$destroy() {
|
|
579
|
-
|
|
579
|
+
on(this, 1), this.$destroy = O;
|
|
580
580
|
}
|
|
581
581
|
/**
|
|
582
582
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -598,13 +598,13 @@ class hn {
|
|
|
598
598
|
* @returns {void}
|
|
599
599
|
*/
|
|
600
600
|
$set(t) {
|
|
601
|
-
this.$$set && !
|
|
601
|
+
this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
602
602
|
}
|
|
603
603
|
}
|
|
604
|
-
const
|
|
605
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
604
|
+
const cn = "4";
|
|
605
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cn);
|
|
606
606
|
const D = [];
|
|
607
|
-
function
|
|
607
|
+
function mn(e, t) {
|
|
608
608
|
return {
|
|
609
609
|
subscribe: me(e, t).subscribe
|
|
610
610
|
};
|
|
@@ -613,7 +613,7 @@ function me(e, t = O) {
|
|
|
613
613
|
let n;
|
|
614
614
|
const r = /* @__PURE__ */ new Set();
|
|
615
615
|
function i(u) {
|
|
616
|
-
if (
|
|
616
|
+
if (lt(e, u) && (e = u, n)) {
|
|
617
617
|
const l = !D.length;
|
|
618
618
|
for (const o of r)
|
|
619
619
|
o[1](), D.push(o, e);
|
|
@@ -640,7 +640,7 @@ function W(e, t, n) {
|
|
|
640
640
|
if (!i.every(Boolean))
|
|
641
641
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
642
642
|
const s = t.length < 2;
|
|
643
|
-
return
|
|
643
|
+
return mn(n, (a, u) => {
|
|
644
644
|
let l = !1;
|
|
645
645
|
const o = [];
|
|
646
646
|
let h = 0, m = O;
|
|
@@ -651,7 +651,7 @@ function W(e, t, n) {
|
|
|
651
651
|
const y = t(r ? o[0] : o, a, u);
|
|
652
652
|
s ? a(y) : m = fe(y) ? y : O;
|
|
653
653
|
}, b = i.map(
|
|
654
|
-
(y, _) =>
|
|
654
|
+
(y, _) => ft(
|
|
655
655
|
y,
|
|
656
656
|
(T) => {
|
|
657
657
|
o[_] = T, h &= ~(1 << _), l && f();
|
|
@@ -666,70 +666,70 @@ function W(e, t, n) {
|
|
|
666
666
|
};
|
|
667
667
|
});
|
|
668
668
|
}
|
|
669
|
-
function
|
|
669
|
+
function gn(e) {
|
|
670
670
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
671
671
|
}
|
|
672
|
-
var
|
|
673
|
-
return
|
|
672
|
+
var dn = function(t) {
|
|
673
|
+
return bn(t) && !pn(t);
|
|
674
674
|
};
|
|
675
|
-
function
|
|
675
|
+
function bn(e) {
|
|
676
676
|
return !!e && typeof e == "object";
|
|
677
677
|
}
|
|
678
|
-
function
|
|
678
|
+
function pn(e) {
|
|
679
679
|
var t = Object.prototype.toString.call(e);
|
|
680
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
680
|
+
return t === "[object RegExp]" || t === "[object Date]" || vn(e);
|
|
681
681
|
}
|
|
682
|
-
var
|
|
683
|
-
function
|
|
684
|
-
return e.$$typeof ===
|
|
682
|
+
var yn = typeof Symbol == "function" && Symbol.for, En = yn ? Symbol.for("react.element") : 60103;
|
|
683
|
+
function vn(e) {
|
|
684
|
+
return e.$$typeof === En;
|
|
685
685
|
}
|
|
686
|
-
function
|
|
686
|
+
function _n(e) {
|
|
687
687
|
return Array.isArray(e) ? [] : {};
|
|
688
688
|
}
|
|
689
689
|
function K(e, t) {
|
|
690
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? j(
|
|
690
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? j(_n(e), e, t) : e;
|
|
691
691
|
}
|
|
692
|
-
function
|
|
692
|
+
function xn(e, t, n) {
|
|
693
693
|
return e.concat(t).map(function(r) {
|
|
694
694
|
return K(r, n);
|
|
695
695
|
});
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function Hn(e, t) {
|
|
698
698
|
if (!t.customMerge)
|
|
699
699
|
return j;
|
|
700
700
|
var n = t.customMerge(e);
|
|
701
701
|
return typeof n == "function" ? n : j;
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function Tn(e) {
|
|
704
704
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
705
705
|
return Object.propertyIsEnumerable.call(e, t);
|
|
706
706
|
}) : [];
|
|
707
707
|
}
|
|
708
|
-
function
|
|
709
|
-
return Object.keys(e).concat(
|
|
708
|
+
function Qe(e) {
|
|
709
|
+
return Object.keys(e).concat(Tn(e));
|
|
710
710
|
}
|
|
711
|
-
function
|
|
711
|
+
function pt(e, t) {
|
|
712
712
|
try {
|
|
713
713
|
return t in e;
|
|
714
714
|
} catch (n) {
|
|
715
715
|
return !1;
|
|
716
716
|
}
|
|
717
717
|
}
|
|
718
|
-
function
|
|
719
|
-
return
|
|
718
|
+
function Sn(e, t) {
|
|
719
|
+
return pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
720
720
|
}
|
|
721
|
-
function
|
|
721
|
+
function Bn(e, t, n) {
|
|
722
722
|
var r = {};
|
|
723
|
-
return n.isMergeableObject(e) &&
|
|
723
|
+
return n.isMergeableObject(e) && Qe(e).forEach(function(i) {
|
|
724
724
|
r[i] = K(e[i], n);
|
|
725
|
-
}),
|
|
726
|
-
|
|
725
|
+
}), Qe(t).forEach(function(i) {
|
|
726
|
+
Sn(e, i) || (pt(e, i) && n.isMergeableObject(t[i]) ? r[i] = Hn(i, n)(e[i], t[i], n) : r[i] = K(t[i], n));
|
|
727
727
|
}), r;
|
|
728
728
|
}
|
|
729
729
|
function j(e, t, n) {
|
|
730
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
730
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || xn, n.isMergeableObject = n.isMergeableObject || dn, n.cloneUnlessOtherwiseSpecified = K;
|
|
731
731
|
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
732
|
-
return s ? r ? n.arrayMerge(e, t, n) :
|
|
732
|
+
return s ? r ? n.arrayMerge(e, t, n) : Bn(e, t, n) : K(t, n);
|
|
733
733
|
}
|
|
734
734
|
j.all = function(t, n) {
|
|
735
735
|
if (!Array.isArray(t))
|
|
@@ -738,8 +738,8 @@ j.all = function(t, n) {
|
|
|
738
738
|
return j(r, i, n);
|
|
739
739
|
}, {});
|
|
740
740
|
};
|
|
741
|
-
var
|
|
742
|
-
const
|
|
741
|
+
var An = j, wn = An;
|
|
742
|
+
const Pn = /* @__PURE__ */ gn(wn);
|
|
743
743
|
/*! *****************************************************************************
|
|
744
744
|
Copyright (c) Microsoft Corporation.
|
|
745
745
|
|
|
@@ -781,7 +781,7 @@ var E = function() {
|
|
|
781
781
|
return t;
|
|
782
782
|
}, E.apply(this, arguments);
|
|
783
783
|
};
|
|
784
|
-
function
|
|
784
|
+
function Nn(e, t) {
|
|
785
785
|
var n = {};
|
|
786
786
|
for (var r in e)
|
|
787
787
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -790,7 +790,7 @@ function wn(e, t) {
|
|
|
790
790
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
791
791
|
return n;
|
|
792
792
|
}
|
|
793
|
-
function
|
|
793
|
+
function Hi(e) {
|
|
794
794
|
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
795
795
|
if (n)
|
|
796
796
|
return n.call(e);
|
|
@@ -802,7 +802,7 @@ function xi(e) {
|
|
|
802
802
|
};
|
|
803
803
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
804
804
|
}
|
|
805
|
-
function
|
|
805
|
+
function Ti(e, t) {
|
|
806
806
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
807
807
|
if (!n)
|
|
808
808
|
return e;
|
|
@@ -829,53 +829,55 @@ function ve(e, t, n) {
|
|
|
829
829
|
return e.concat(s || t);
|
|
830
830
|
}
|
|
831
831
|
function _e(e, t) {
|
|
832
|
-
var n = t && t.cache ? t.cache :
|
|
832
|
+
var n = t && t.cache ? t.cache : Rn, r = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : In;
|
|
833
833
|
return i(e, {
|
|
834
834
|
cache: n,
|
|
835
835
|
serializer: r
|
|
836
836
|
});
|
|
837
837
|
}
|
|
838
|
-
function
|
|
838
|
+
function On(e) {
|
|
839
839
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
840
840
|
}
|
|
841
|
-
function
|
|
842
|
-
var i =
|
|
841
|
+
function yt(e, t, n, r) {
|
|
842
|
+
var i = On(r) ? r : n(r), s = t.get(i);
|
|
843
843
|
return typeof s == "undefined" && (s = e.call(this, r), t.set(i, s)), s;
|
|
844
844
|
}
|
|
845
|
-
function
|
|
845
|
+
function Et(e, t, n) {
|
|
846
846
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
847
847
|
return typeof s == "undefined" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
848
848
|
}
|
|
849
|
-
function
|
|
849
|
+
function De(e, t, n, r, i) {
|
|
850
850
|
return n.bind(t, e, r, i);
|
|
851
851
|
}
|
|
852
|
-
function On(e, t) {
|
|
853
|
-
var n = e.length === 1 ? Nn : bt;
|
|
854
|
-
return pt(e, this, n, t.cache.create(), t.serializer);
|
|
855
|
-
}
|
|
856
852
|
function In(e, t) {
|
|
857
|
-
|
|
853
|
+
var n = e.length === 1 ? yt : Et;
|
|
854
|
+
return De(e, this, n, t.cache.create(), t.serializer);
|
|
855
|
+
}
|
|
856
|
+
function Ln(e, t) {
|
|
857
|
+
return De(e, this, Et, t.cache.create(), t.serializer);
|
|
858
858
|
}
|
|
859
|
-
|
|
859
|
+
function Cn(e, t) {
|
|
860
|
+
return De(e, this, yt, t.cache.create(), t.serializer);
|
|
861
|
+
}
|
|
862
|
+
var Mn = function() {
|
|
860
863
|
return JSON.stringify(arguments);
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
}()
|
|
873
|
-
), Mn = {
|
|
864
|
+
};
|
|
865
|
+
function Ge() {
|
|
866
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
867
|
+
}
|
|
868
|
+
Ge.prototype.get = function(e) {
|
|
869
|
+
return this.cache[e];
|
|
870
|
+
};
|
|
871
|
+
Ge.prototype.set = function(e, t) {
|
|
872
|
+
this.cache[e] = t;
|
|
873
|
+
};
|
|
874
|
+
var Rn = {
|
|
874
875
|
create: function() {
|
|
875
|
-
return new
|
|
876
|
+
return new Ge();
|
|
876
877
|
}
|
|
877
878
|
}, xe = {
|
|
878
|
-
variadic:
|
|
879
|
+
variadic: Ln,
|
|
880
|
+
monadic: Cn
|
|
879
881
|
}, d;
|
|
880
882
|
(function(e) {
|
|
881
883
|
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";
|
|
@@ -888,43 +890,43 @@ var k;
|
|
|
888
890
|
(function(e) {
|
|
889
891
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
890
892
|
})(k || (k = {}));
|
|
891
|
-
function
|
|
893
|
+
function qe(e) {
|
|
892
894
|
return e.type === v.literal;
|
|
893
895
|
}
|
|
894
|
-
function
|
|
896
|
+
function $n(e) {
|
|
895
897
|
return e.type === v.argument;
|
|
896
898
|
}
|
|
897
|
-
function
|
|
899
|
+
function vt(e) {
|
|
898
900
|
return e.type === v.number;
|
|
899
901
|
}
|
|
900
|
-
function
|
|
902
|
+
function _t(e) {
|
|
901
903
|
return e.type === v.date;
|
|
902
904
|
}
|
|
903
|
-
function
|
|
905
|
+
function xt(e) {
|
|
904
906
|
return e.type === v.time;
|
|
905
907
|
}
|
|
906
|
-
function
|
|
908
|
+
function Ht(e) {
|
|
907
909
|
return e.type === v.select;
|
|
908
910
|
}
|
|
909
|
-
function
|
|
911
|
+
function Tt(e) {
|
|
910
912
|
return e.type === v.plural;
|
|
911
913
|
}
|
|
912
|
-
function
|
|
914
|
+
function Un(e) {
|
|
913
915
|
return e.type === v.pound;
|
|
914
916
|
}
|
|
915
|
-
function
|
|
917
|
+
function St(e) {
|
|
916
918
|
return e.type === v.tag;
|
|
917
919
|
}
|
|
918
|
-
function
|
|
920
|
+
function Bt(e) {
|
|
919
921
|
return !!(e && typeof e == "object" && e.type === k.number);
|
|
920
922
|
}
|
|
921
923
|
function Ne(e) {
|
|
922
924
|
return !!(e && typeof e == "object" && e.type === k.dateTime);
|
|
923
925
|
}
|
|
924
|
-
var
|
|
925
|
-
function
|
|
926
|
+
var At = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
927
|
+
function Gn(e) {
|
|
926
928
|
var t = {};
|
|
927
|
-
return e.replace(
|
|
929
|
+
return e.replace(Dn, function(n) {
|
|
928
930
|
var r = n.length;
|
|
929
931
|
switch (n[0]) {
|
|
930
932
|
case "G":
|
|
@@ -1013,11 +1015,11 @@ function Dn(e) {
|
|
|
1013
1015
|
return "";
|
|
1014
1016
|
}), t;
|
|
1015
1017
|
}
|
|
1016
|
-
var
|
|
1017
|
-
function
|
|
1018
|
+
var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1019
|
+
function jn(e) {
|
|
1018
1020
|
if (e.length === 0)
|
|
1019
1021
|
throw new Error("Number skeleton cannot be empty");
|
|
1020
|
-
for (var t = e.split(
|
|
1022
|
+
for (var t = e.split(Fn).filter(function(f) {
|
|
1021
1023
|
return f.length > 0;
|
|
1022
1024
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
1023
1025
|
var s = i[r], a = s.split("/");
|
|
@@ -1032,17 +1034,17 @@ function Fn(e) {
|
|
|
1032
1034
|
}
|
|
1033
1035
|
return n;
|
|
1034
1036
|
}
|
|
1035
|
-
function
|
|
1037
|
+
function kn(e) {
|
|
1036
1038
|
return e.replace(/^(.*?)-/, "");
|
|
1037
1039
|
}
|
|
1038
|
-
var
|
|
1039
|
-
function
|
|
1040
|
+
var Je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wt = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, Pt = /^(0+)$/;
|
|
1041
|
+
function Ye(e) {
|
|
1040
1042
|
var t = {};
|
|
1041
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1043
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(wt, function(n, r, i) {
|
|
1042
1044
|
return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1043
1045
|
}), t;
|
|
1044
1046
|
}
|
|
1045
|
-
function
|
|
1047
|
+
function Nt(e) {
|
|
1046
1048
|
switch (e) {
|
|
1047
1049
|
case "sign-auto":
|
|
1048
1050
|
return {
|
|
@@ -1082,7 +1084,7 @@ function wt(e) {
|
|
|
1082
1084
|
};
|
|
1083
1085
|
}
|
|
1084
1086
|
}
|
|
1085
|
-
function
|
|
1087
|
+
function Xn(e) {
|
|
1086
1088
|
var t;
|
|
1087
1089
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1088
1090
|
notation: "engineering"
|
|
@@ -1090,17 +1092,17 @@ function Vn(e) {
|
|
|
1090
1092
|
notation: "scientific"
|
|
1091
1093
|
}, e = e.slice(1)), t) {
|
|
1092
1094
|
var n = e.slice(0, 2);
|
|
1093
|
-
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1095
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Pt.test(e))
|
|
1094
1096
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1095
1097
|
t.minimumIntegerDigits = e.length;
|
|
1096
1098
|
}
|
|
1097
1099
|
return t;
|
|
1098
1100
|
}
|
|
1099
|
-
function
|
|
1100
|
-
var t = {}, n =
|
|
1101
|
+
function Ke(e) {
|
|
1102
|
+
var t = {}, n = Nt(e);
|
|
1101
1103
|
return n || t;
|
|
1102
1104
|
}
|
|
1103
|
-
function
|
|
1105
|
+
function zn(e) {
|
|
1104
1106
|
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1105
1107
|
var i = r[n];
|
|
1106
1108
|
switch (i.stem) {
|
|
@@ -1124,7 +1126,7 @@ function Xn(e) {
|
|
|
1124
1126
|
continue;
|
|
1125
1127
|
case "measure-unit":
|
|
1126
1128
|
case "unit":
|
|
1127
|
-
t.style = "unit", t.unit =
|
|
1129
|
+
t.style = "unit", t.unit = kn(i.options[0]);
|
|
1128
1130
|
continue;
|
|
1129
1131
|
case "compact-short":
|
|
1130
1132
|
case "K":
|
|
@@ -1136,12 +1138,12 @@ function Xn(e) {
|
|
|
1136
1138
|
continue;
|
|
1137
1139
|
case "scientific":
|
|
1138
1140
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
|
|
1139
|
-
return E(E({}, l),
|
|
1141
|
+
return E(E({}, l), Ke(o));
|
|
1140
1142
|
}, {}));
|
|
1141
1143
|
continue;
|
|
1142
1144
|
case "engineering":
|
|
1143
1145
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
|
|
1144
|
-
return E(E({}, l),
|
|
1146
|
+
return E(E({}, l), Ke(o));
|
|
1145
1147
|
}, {}));
|
|
1146
1148
|
continue;
|
|
1147
1149
|
case "notation-simple":
|
|
@@ -1186,7 +1188,7 @@ function Xn(e) {
|
|
|
1186
1188
|
case "integer-width":
|
|
1187
1189
|
if (i.options.length > 1)
|
|
1188
1190
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1189
|
-
i.options[0].replace(
|
|
1191
|
+
i.options[0].replace(Vn, function(l, o, h, m, f, b) {
|
|
1190
1192
|
if (o)
|
|
1191
1193
|
t.minimumIntegerDigits = h.length;
|
|
1192
1194
|
else {
|
|
@@ -1199,27 +1201,27 @@ function Xn(e) {
|
|
|
1199
1201
|
});
|
|
1200
1202
|
continue;
|
|
1201
1203
|
}
|
|
1202
|
-
if (
|
|
1204
|
+
if (Pt.test(i.stem)) {
|
|
1203
1205
|
t.minimumIntegerDigits = i.stem.length;
|
|
1204
1206
|
continue;
|
|
1205
1207
|
}
|
|
1206
|
-
if (
|
|
1208
|
+
if (Je.test(i.stem)) {
|
|
1207
1209
|
if (i.options.length > 1)
|
|
1208
1210
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1209
|
-
i.stem.replace(
|
|
1211
|
+
i.stem.replace(Je, function(l, o, h, m, f, b) {
|
|
1210
1212
|
return h === "*" ? t.minimumFractionDigits = o.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
|
|
1211
1213
|
});
|
|
1212
1214
|
var s = i.options[0];
|
|
1213
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1215
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ye(s)));
|
|
1214
1216
|
continue;
|
|
1215
1217
|
}
|
|
1216
|
-
if (
|
|
1217
|
-
t = E(E({}, t),
|
|
1218
|
+
if (wt.test(i.stem)) {
|
|
1219
|
+
t = E(E({}, t), Ye(i.stem));
|
|
1218
1220
|
continue;
|
|
1219
1221
|
}
|
|
1220
|
-
var a =
|
|
1222
|
+
var a = Nt(i.stem);
|
|
1221
1223
|
a && (t = E(E({}, t), a));
|
|
1222
|
-
var u =
|
|
1224
|
+
var u = Xn(i.stem);
|
|
1223
1225
|
u && (t = E(E({}, t), u));
|
|
1224
1226
|
}
|
|
1225
1227
|
return t;
|
|
@@ -2639,13 +2641,13 @@ var se = {
|
|
|
2639
2641
|
"h"
|
|
2640
2642
|
]
|
|
2641
2643
|
};
|
|
2642
|
-
function
|
|
2644
|
+
function Wn(e, t) {
|
|
2643
2645
|
for (var n = "", r = 0; r < e.length; r++) {
|
|
2644
2646
|
var i = e.charAt(r);
|
|
2645
2647
|
if (i === "j") {
|
|
2646
2648
|
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2647
2649
|
s++, r++;
|
|
2648
|
-
var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", o =
|
|
2650
|
+
var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Zn(t);
|
|
2649
2651
|
for ((o == "H" || o == "k") && (u = 0); u-- > 0; )
|
|
2650
2652
|
n += l;
|
|
2651
2653
|
for (; a-- > 0; )
|
|
@@ -2655,7 +2657,7 @@ function zn(e, t) {
|
|
|
2655
2657
|
}
|
|
2656
2658
|
return n;
|
|
2657
2659
|
}
|
|
2658
|
-
function
|
|
2660
|
+
function Zn(e) {
|
|
2659
2661
|
var t = e.hourCycle;
|
|
2660
2662
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2661
2663
|
e.hourCycles && // @ts-ignore
|
|
@@ -2677,20 +2679,20 @@ function Wn(e) {
|
|
|
2677
2679
|
var i = se[r || ""] || se[n || ""] || se["".concat(n, "-001")] || se["001"];
|
|
2678
2680
|
return i[0];
|
|
2679
2681
|
}
|
|
2680
|
-
var He,
|
|
2682
|
+
var He, Qn = new RegExp("^".concat(At.source, "*")), qn = new RegExp("".concat(At.source, "*$"));
|
|
2681
2683
|
function p(e, t) {
|
|
2682
2684
|
return { start: e, end: t };
|
|
2683
2685
|
}
|
|
2684
|
-
var
|
|
2686
|
+
var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, Kn = !!Object.fromEntries, er = !!String.prototype.codePointAt, tr = !!String.prototype.trimStart, nr = !!String.prototype.trimEnd, rr = !!Number.isSafeInteger, ir = rr ? Number.isSafeInteger : function(e) {
|
|
2685
2687
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2686
2688
|
}, Oe = !0;
|
|
2687
2689
|
try {
|
|
2688
|
-
var
|
|
2689
|
-
Oe = ((He =
|
|
2690
|
+
var sr = It("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2691
|
+
Oe = ((He = sr.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
|
|
2690
2692
|
} catch (e) {
|
|
2691
2693
|
Oe = !1;
|
|
2692
2694
|
}
|
|
2693
|
-
var
|
|
2695
|
+
var et = Jn ? (
|
|
2694
2696
|
// Native
|
|
2695
2697
|
function(t, n, r) {
|
|
2696
2698
|
return t.startsWith(n, r);
|
|
@@ -2700,7 +2702,7 @@ var Ye = qn ? (
|
|
|
2700
2702
|
function(t, n, r) {
|
|
2701
2703
|
return t.slice(r, r + n.length) === n;
|
|
2702
2704
|
}
|
|
2703
|
-
), Ie =
|
|
2705
|
+
), Ie = Yn ? String.fromCodePoint : (
|
|
2704
2706
|
// IE11
|
|
2705
2707
|
function() {
|
|
2706
2708
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
@@ -2712,9 +2714,9 @@ var Ye = qn ? (
|
|
|
2712
2714
|
}
|
|
2713
2715
|
return r;
|
|
2714
2716
|
}
|
|
2715
|
-
),
|
|
2717
|
+
), tt = (
|
|
2716
2718
|
// native
|
|
2717
|
-
|
|
2719
|
+
Kn ? Object.fromEntries : (
|
|
2718
2720
|
// Ponyfill
|
|
2719
2721
|
function(t) {
|
|
2720
2722
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
@@ -2724,7 +2726,7 @@ var Ye = qn ? (
|
|
|
2724
2726
|
return n;
|
|
2725
2727
|
}
|
|
2726
2728
|
)
|
|
2727
|
-
),
|
|
2729
|
+
), Ot = er ? (
|
|
2728
2730
|
// Native
|
|
2729
2731
|
function(t, n) {
|
|
2730
2732
|
return t.codePointAt(n);
|
|
@@ -2738,7 +2740,7 @@ var Ye = qn ? (
|
|
|
2738
2740
|
return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2739
2741
|
}
|
|
2740
2742
|
}
|
|
2741
|
-
),
|
|
2743
|
+
), ar = tr ? (
|
|
2742
2744
|
// Native
|
|
2743
2745
|
function(t) {
|
|
2744
2746
|
return t.trimStart();
|
|
@@ -2746,9 +2748,9 @@ var Ye = qn ? (
|
|
|
2746
2748
|
) : (
|
|
2747
2749
|
// Ponyfill
|
|
2748
2750
|
function(t) {
|
|
2749
|
-
return t.replace(
|
|
2751
|
+
return t.replace(Qn, "");
|
|
2750
2752
|
}
|
|
2751
|
-
),
|
|
2753
|
+
), or = nr ? (
|
|
2752
2754
|
// Native
|
|
2753
2755
|
function(t) {
|
|
2754
2756
|
return t.trimEnd();
|
|
@@ -2756,32 +2758,32 @@ var Ye = qn ? (
|
|
|
2756
2758
|
) : (
|
|
2757
2759
|
// Ponyfill
|
|
2758
2760
|
function(t) {
|
|
2759
|
-
return t.replace(
|
|
2761
|
+
return t.replace(qn, "");
|
|
2760
2762
|
}
|
|
2761
2763
|
);
|
|
2762
|
-
function
|
|
2764
|
+
function It(e, t) {
|
|
2763
2765
|
return new RegExp(e, t);
|
|
2764
2766
|
}
|
|
2765
2767
|
var Le;
|
|
2766
2768
|
if (Oe) {
|
|
2767
|
-
var
|
|
2769
|
+
var nt = It("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2768
2770
|
Le = function(t, n) {
|
|
2769
2771
|
var r;
|
|
2770
|
-
|
|
2771
|
-
var i =
|
|
2772
|
+
nt.lastIndex = n;
|
|
2773
|
+
var i = nt.exec(t);
|
|
2772
2774
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2773
2775
|
};
|
|
2774
2776
|
} else
|
|
2775
2777
|
Le = function(t, n) {
|
|
2776
2778
|
for (var r = []; ; ) {
|
|
2777
|
-
var i =
|
|
2778
|
-
if (i === void 0 ||
|
|
2779
|
+
var i = Ot(t, n);
|
|
2780
|
+
if (i === void 0 || Lt(i) || fr(i))
|
|
2779
2781
|
break;
|
|
2780
2782
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2781
2783
|
}
|
|
2782
2784
|
return Ie.apply(void 0, r);
|
|
2783
2785
|
};
|
|
2784
|
-
var
|
|
2786
|
+
var ur = (
|
|
2785
2787
|
/** @class */
|
|
2786
2788
|
function() {
|
|
2787
2789
|
function e(t, n) {
|
|
@@ -2863,7 +2865,7 @@ var or = (
|
|
|
2863
2865
|
return this.error(d.INVALID_TAG, p(r, this.clonePosition()));
|
|
2864
2866
|
}, e.prototype.parseTagName = function() {
|
|
2865
2867
|
var t = this.offset();
|
|
2866
|
-
for (this.bump(); !this.isEOF() &&
|
|
2868
|
+
for (this.bump(); !this.isEOF() && lr(this.char()); )
|
|
2867
2869
|
this.bump();
|
|
2868
2870
|
return this.message.slice(t, this.offset());
|
|
2869
2871
|
}, e.prototype.parseLiteral = function(t, n) {
|
|
@@ -2892,7 +2894,7 @@ var or = (
|
|
|
2892
2894
|
};
|
|
2893
2895
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2894
2896
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2895
|
-
!
|
|
2897
|
+
!hr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2896
2898
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2897
2899
|
if (this.isEOF() || this.char() !== 39)
|
|
2898
2900
|
return null;
|
|
@@ -2979,7 +2981,7 @@ var or = (
|
|
|
2979
2981
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2980
2982
|
if (m.err)
|
|
2981
2983
|
return m;
|
|
2982
|
-
var f =
|
|
2984
|
+
var f = or(m.val);
|
|
2983
2985
|
if (f.length === 0)
|
|
2984
2986
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2985
2987
|
var b = p(h, this.clonePosition());
|
|
@@ -2989,8 +2991,8 @@ var or = (
|
|
|
2989
2991
|
if (y.err)
|
|
2990
2992
|
return y;
|
|
2991
2993
|
var _ = p(i, this.clonePosition());
|
|
2992
|
-
if (o &&
|
|
2993
|
-
var T =
|
|
2994
|
+
if (o && et(o == null ? void 0 : o.style, "::", 0)) {
|
|
2995
|
+
var T = ar(o.style.slice(2));
|
|
2994
2996
|
if (u === "number") {
|
|
2995
2997
|
var m = this.parseNumberSkeletonFromString(T, o.styleLocation);
|
|
2996
2998
|
return m.err ? m : {
|
|
@@ -3001,12 +3003,12 @@ var or = (
|
|
|
3001
3003
|
if (T.length === 0)
|
|
3002
3004
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
3003
3005
|
var P = T;
|
|
3004
|
-
this.locale && (P =
|
|
3006
|
+
this.locale && (P = Wn(T, this.locale));
|
|
3005
3007
|
var f = {
|
|
3006
3008
|
type: k.dateTime,
|
|
3007
3009
|
pattern: P,
|
|
3008
3010
|
location: o.styleLocation,
|
|
3009
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3011
|
+
parsedOptions: this.shouldParseSkeletons ? Gn(P) : {}
|
|
3010
3012
|
}, w = u === "date" ? v.date : v.time;
|
|
3011
3013
|
return {
|
|
3012
3014
|
val: { type: w, value: r, location: _, style: f },
|
|
@@ -3052,7 +3054,7 @@ var or = (
|
|
|
3052
3054
|
val: {
|
|
3053
3055
|
type: v.select,
|
|
3054
3056
|
value: r,
|
|
3055
|
-
options:
|
|
3057
|
+
options: tt(I.val),
|
|
3056
3058
|
location: c
|
|
3057
3059
|
},
|
|
3058
3060
|
err: null
|
|
@@ -3060,7 +3062,7 @@ var or = (
|
|
|
3060
3062
|
val: {
|
|
3061
3063
|
type: v.plural,
|
|
3062
3064
|
value: r,
|
|
3063
|
-
options:
|
|
3065
|
+
options: tt(I.val),
|
|
3064
3066
|
offset: x,
|
|
3065
3067
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
3066
3068
|
location: c
|
|
@@ -3111,7 +3113,7 @@ var or = (
|
|
|
3111
3113
|
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
3112
3114
|
var r = [];
|
|
3113
3115
|
try {
|
|
3114
|
-
r =
|
|
3116
|
+
r = jn(t);
|
|
3115
3117
|
} catch (i) {
|
|
3116
3118
|
return this.error(d.INVALID_NUMBER_SKELETON, n);
|
|
3117
3119
|
}
|
|
@@ -3120,7 +3122,7 @@ var or = (
|
|
|
3120
3122
|
type: k.number,
|
|
3121
3123
|
tokens: r,
|
|
3122
3124
|
location: n,
|
|
3123
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3125
|
+
parsedOptions: this.shouldParseSkeletons ? zn(r) : {}
|
|
3124
3126
|
},
|
|
3125
3127
|
err: null
|
|
3126
3128
|
};
|
|
@@ -3168,7 +3170,7 @@ var or = (
|
|
|
3168
3170
|
break;
|
|
3169
3171
|
}
|
|
3170
3172
|
var l = p(i, this.clonePosition());
|
|
3171
|
-
return s ? (a *= r,
|
|
3173
|
+
return s ? (a *= r, ir(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
|
|
3172
3174
|
}, e.prototype.offset = function() {
|
|
3173
3175
|
return this.position.offset;
|
|
3174
3176
|
}, e.prototype.isEOF = function() {
|
|
@@ -3183,7 +3185,7 @@ var or = (
|
|
|
3183
3185
|
var t = this.position.offset;
|
|
3184
3186
|
if (t >= this.message.length)
|
|
3185
3187
|
throw Error("out of bound");
|
|
3186
|
-
var n =
|
|
3188
|
+
var n = Ot(this.message, t);
|
|
3187
3189
|
if (n === void 0)
|
|
3188
3190
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3189
3191
|
return n;
|
|
@@ -3202,7 +3204,7 @@ var or = (
|
|
|
3202
3204
|
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);
|
|
3203
3205
|
}
|
|
3204
3206
|
}, e.prototype.bumpIf = function(t) {
|
|
3205
|
-
if (
|
|
3207
|
+
if (et(this.message, t, this.offset())) {
|
|
3206
3208
|
for (var n = 0; n < t.length; n++)
|
|
3207
3209
|
this.bump();
|
|
3208
3210
|
return !0;
|
|
@@ -3224,7 +3226,7 @@ var or = (
|
|
|
3224
3226
|
break;
|
|
3225
3227
|
}
|
|
3226
3228
|
}, e.prototype.bumpSpace = function() {
|
|
3227
|
-
for (; !this.isEOF() &&
|
|
3229
|
+
for (; !this.isEOF() && Lt(this.char()); )
|
|
3228
3230
|
this.bump();
|
|
3229
3231
|
}, e.prototype.peek = function() {
|
|
3230
3232
|
if (this.isEOF())
|
|
@@ -3237,30 +3239,30 @@ var or = (
|
|
|
3237
3239
|
function Ce(e) {
|
|
3238
3240
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3239
3241
|
}
|
|
3240
|
-
function
|
|
3242
|
+
function hr(e) {
|
|
3241
3243
|
return Ce(e) || e === 47;
|
|
3242
3244
|
}
|
|
3243
|
-
function
|
|
3245
|
+
function lr(e) {
|
|
3244
3246
|
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;
|
|
3245
3247
|
}
|
|
3246
|
-
function
|
|
3248
|
+
function Lt(e) {
|
|
3247
3249
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3248
3250
|
}
|
|
3249
|
-
function
|
|
3251
|
+
function fr(e) {
|
|
3250
3252
|
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;
|
|
3251
3253
|
}
|
|
3252
3254
|
function Me(e) {
|
|
3253
3255
|
e.forEach(function(t) {
|
|
3254
|
-
if (delete t.location,
|
|
3256
|
+
if (delete t.location, Ht(t) || Tt(t))
|
|
3255
3257
|
for (var n in t.options)
|
|
3256
3258
|
delete t.options[n].location, Me(t.options[n].value);
|
|
3257
3259
|
else
|
|
3258
|
-
|
|
3260
|
+
vt(t) && Bt(t.style) || (_t(t) || xt(t)) && Ne(t.style) ? delete t.style.location : St(t) && Me(t.children);
|
|
3259
3261
|
});
|
|
3260
3262
|
}
|
|
3261
|
-
function
|
|
3263
|
+
function cr(e, t) {
|
|
3262
3264
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3263
|
-
var n = new
|
|
3265
|
+
var n = new ur(e, t).parse();
|
|
3264
3266
|
if (n.err) {
|
|
3265
3267
|
var r = SyntaxError(d[n.err.kind]);
|
|
3266
3268
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
@@ -3283,7 +3285,7 @@ var de = (
|
|
|
3283
3285
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3284
3286
|
}, t;
|
|
3285
3287
|
}(Error)
|
|
3286
|
-
),
|
|
3288
|
+
), rt = (
|
|
3287
3289
|
/** @class */
|
|
3288
3290
|
function(e) {
|
|
3289
3291
|
ge(t, e);
|
|
@@ -3292,7 +3294,7 @@ var de = (
|
|
|
3292
3294
|
}
|
|
3293
3295
|
return t;
|
|
3294
3296
|
}(de)
|
|
3295
|
-
),
|
|
3297
|
+
), mr = (
|
|
3296
3298
|
/** @class */
|
|
3297
3299
|
function(e) {
|
|
3298
3300
|
ge(t, e);
|
|
@@ -3301,7 +3303,7 @@ var de = (
|
|
|
3301
3303
|
}
|
|
3302
3304
|
return t;
|
|
3303
3305
|
}(de)
|
|
3304
|
-
),
|
|
3306
|
+
), gr = (
|
|
3305
3307
|
/** @class */
|
|
3306
3308
|
function(e) {
|
|
3307
3309
|
ge(t, e);
|
|
@@ -3314,17 +3316,17 @@ var de = (
|
|
|
3314
3316
|
(function(e) {
|
|
3315
3317
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3316
3318
|
})(A || (A = {}));
|
|
3317
|
-
function
|
|
3319
|
+
function dr(e) {
|
|
3318
3320
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3319
3321
|
var r = t[t.length - 1];
|
|
3320
3322
|
return !r || r.type !== A.literal || n.type !== A.literal ? t.push(n) : r.value += n.value, t;
|
|
3321
3323
|
}, []);
|
|
3322
3324
|
}
|
|
3323
|
-
function
|
|
3325
|
+
function br(e) {
|
|
3324
3326
|
return typeof e == "function";
|
|
3325
3327
|
}
|
|
3326
3328
|
function oe(e, t, n, r, i, s, a) {
|
|
3327
|
-
if (e.length === 1 &&
|
|
3329
|
+
if (e.length === 1 && qe(e[0]))
|
|
3328
3330
|
return [
|
|
3329
3331
|
{
|
|
3330
3332
|
type: A.literal,
|
|
@@ -3333,14 +3335,14 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3333
3335
|
];
|
|
3334
3336
|
for (var u = [], l = 0, o = e; l < o.length; l++) {
|
|
3335
3337
|
var h = o[l];
|
|
3336
|
-
if (
|
|
3338
|
+
if (qe(h)) {
|
|
3337
3339
|
u.push({
|
|
3338
3340
|
type: A.literal,
|
|
3339
3341
|
value: h.value
|
|
3340
3342
|
});
|
|
3341
3343
|
continue;
|
|
3342
3344
|
}
|
|
3343
|
-
if (
|
|
3345
|
+
if (Un(h)) {
|
|
3344
3346
|
typeof s == "number" && u.push({
|
|
3345
3347
|
type: A.literal,
|
|
3346
3348
|
value: n.getNumberFormat(t).format(s)
|
|
@@ -3349,16 +3351,16 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3349
3351
|
}
|
|
3350
3352
|
var m = h.value;
|
|
3351
3353
|
if (!(i && m in i))
|
|
3352
|
-
throw new
|
|
3354
|
+
throw new gr(m, a);
|
|
3353
3355
|
var f = i[m];
|
|
3354
|
-
if (
|
|
3356
|
+
if ($n(h)) {
|
|
3355
3357
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3356
3358
|
type: typeof f == "string" ? A.literal : A.object,
|
|
3357
3359
|
value: f
|
|
3358
3360
|
});
|
|
3359
3361
|
continue;
|
|
3360
3362
|
}
|
|
3361
|
-
if (
|
|
3363
|
+
if (_t(h)) {
|
|
3362
3364
|
var b = typeof h.style == "string" ? r.date[h.style] : Ne(h.style) ? h.style.parsedOptions : void 0;
|
|
3363
3365
|
u.push({
|
|
3364
3366
|
type: A.literal,
|
|
@@ -3366,7 +3368,7 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3366
3368
|
});
|
|
3367
3369
|
continue;
|
|
3368
3370
|
}
|
|
3369
|
-
if (
|
|
3371
|
+
if (xt(h)) {
|
|
3370
3372
|
var b = typeof h.style == "string" ? r.time[h.style] : Ne(h.style) ? h.style.parsedOptions : r.time.medium;
|
|
3371
3373
|
u.push({
|
|
3372
3374
|
type: A.literal,
|
|
@@ -3374,18 +3376,18 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3374
3376
|
});
|
|
3375
3377
|
continue;
|
|
3376
3378
|
}
|
|
3377
|
-
if (
|
|
3378
|
-
var b = typeof h.style == "string" ? r.number[h.style] :
|
|
3379
|
+
if (vt(h)) {
|
|
3380
|
+
var b = typeof h.style == "string" ? r.number[h.style] : Bt(h.style) ? h.style.parsedOptions : void 0;
|
|
3379
3381
|
b && b.scale && (f = f * (b.scale || 1)), u.push({
|
|
3380
3382
|
type: A.literal,
|
|
3381
3383
|
value: n.getNumberFormat(t, b).format(f)
|
|
3382
3384
|
});
|
|
3383
3385
|
continue;
|
|
3384
3386
|
}
|
|
3385
|
-
if (
|
|
3387
|
+
if (St(h)) {
|
|
3386
3388
|
var y = h.children, _ = h.value, T = i[_];
|
|
3387
|
-
if (!
|
|
3388
|
-
throw new
|
|
3389
|
+
if (!br(T))
|
|
3390
|
+
throw new mr(_, "function", a);
|
|
3389
3391
|
var P = oe(y, t, n, r, i, s), w = T(P.map(function(x) {
|
|
3390
3392
|
return x.value;
|
|
3391
3393
|
}));
|
|
@@ -3396,14 +3398,14 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3396
3398
|
};
|
|
3397
3399
|
}));
|
|
3398
3400
|
}
|
|
3399
|
-
if (
|
|
3401
|
+
if (Ht(h)) {
|
|
3400
3402
|
var B = h.options[f] || h.options.other;
|
|
3401
3403
|
if (!B)
|
|
3402
|
-
throw new
|
|
3404
|
+
throw new rt(h.value, f, Object.keys(h.options), a);
|
|
3403
3405
|
u.push.apply(u, oe(B.value, t, n, r, i));
|
|
3404
3406
|
continue;
|
|
3405
3407
|
}
|
|
3406
|
-
if (
|
|
3408
|
+
if (Tt(h)) {
|
|
3407
3409
|
var B = h.options["=".concat(f)];
|
|
3408
3410
|
if (!B) {
|
|
3409
3411
|
if (!Intl.PluralRules)
|
|
@@ -3414,21 +3416,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3414
3416
|
B = h.options[N] || h.options.other;
|
|
3415
3417
|
}
|
|
3416
3418
|
if (!B)
|
|
3417
|
-
throw new
|
|
3419
|
+
throw new rt(h.value, f, Object.keys(h.options), a);
|
|
3418
3420
|
u.push.apply(u, oe(B.value, t, n, r, i, f - (h.offset || 0)));
|
|
3419
3421
|
continue;
|
|
3420
3422
|
}
|
|
3421
3423
|
}
|
|
3422
|
-
return
|
|
3424
|
+
return dr(u);
|
|
3423
3425
|
}
|
|
3424
|
-
function
|
|
3426
|
+
function pr(e, t) {
|
|
3425
3427
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3426
3428
|
return n[r] = E(E({}, e[r]), t[r] || {}), n;
|
|
3427
3429
|
}, {})) : e;
|
|
3428
3430
|
}
|
|
3429
|
-
function
|
|
3431
|
+
function yr(e, t) {
|
|
3430
3432
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3431
|
-
return n[r] =
|
|
3433
|
+
return n[r] = pr(e[r], t[r]), n;
|
|
3432
3434
|
}, E({}, e)) : e;
|
|
3433
3435
|
}
|
|
3434
3436
|
function Te(e) {
|
|
@@ -3445,7 +3447,7 @@ function Te(e) {
|
|
|
3445
3447
|
}
|
|
3446
3448
|
};
|
|
3447
3449
|
}
|
|
3448
|
-
function
|
|
3450
|
+
function Er(e) {
|
|
3449
3451
|
return e === void 0 && (e = {
|
|
3450
3452
|
number: {},
|
|
3451
3453
|
dateTime: {},
|
|
@@ -3477,7 +3479,7 @@ function yr(e) {
|
|
|
3477
3479
|
})
|
|
3478
3480
|
};
|
|
3479
3481
|
}
|
|
3480
|
-
var
|
|
3482
|
+
var vr = (
|
|
3481
3483
|
/** @class */
|
|
3482
3484
|
function() {
|
|
3483
3485
|
function e(t, n, r, i) {
|
|
@@ -3509,13 +3511,13 @@ var Er = (
|
|
|
3509
3511
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3510
3512
|
var a = i || {};
|
|
3511
3513
|
a.formatters;
|
|
3512
|
-
var u =
|
|
3514
|
+
var u = Nn(a, ["formatters"]);
|
|
3513
3515
|
this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
|
|
3514
3516
|
} else
|
|
3515
3517
|
this.ast = t;
|
|
3516
3518
|
if (!Array.isArray(this.ast))
|
|
3517
3519
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3518
|
-
this.formats =
|
|
3520
|
+
this.formats = yr(e.formats, r), this.formatters = i && i.formatters || Er(this.formatterCache);
|
|
3519
3521
|
}
|
|
3520
3522
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3521
3523
|
get: function() {
|
|
@@ -3528,7 +3530,7 @@ var Er = (
|
|
|
3528
3530
|
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3529
3531
|
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3530
3532
|
}
|
|
3531
|
-
}, e.__parse =
|
|
3533
|
+
}, e.__parse = cr, e.formats = {
|
|
3532
3534
|
number: {
|
|
3533
3535
|
integer: {
|
|
3534
3536
|
maximumFractionDigits: 0
|
|
@@ -3589,7 +3591,7 @@ var Er = (
|
|
|
3589
3591
|
}, e;
|
|
3590
3592
|
}()
|
|
3591
3593
|
);
|
|
3592
|
-
function
|
|
3594
|
+
function _r(e, t) {
|
|
3593
3595
|
if (t == null)
|
|
3594
3596
|
return;
|
|
3595
3597
|
if (t in e)
|
|
@@ -3610,60 +3612,60 @@ function vr(e, t) {
|
|
|
3610
3612
|
r = void 0;
|
|
3611
3613
|
return r;
|
|
3612
3614
|
}
|
|
3613
|
-
const M = {},
|
|
3615
|
+
const M = {}, xr = (e, t, n) => n && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = n), n), Ct = (e, t) => {
|
|
3614
3616
|
if (t == null)
|
|
3615
3617
|
return;
|
|
3616
3618
|
if (t in M && e in M[t])
|
|
3617
3619
|
return M[t][e];
|
|
3618
3620
|
const n = be(t);
|
|
3619
3621
|
for (let r = 0; r < n.length; r++) {
|
|
3620
|
-
const i = n[r], s =
|
|
3622
|
+
const i = n[r], s = Tr(i, e);
|
|
3621
3623
|
if (s)
|
|
3622
|
-
return
|
|
3624
|
+
return xr(e, t, s);
|
|
3623
3625
|
}
|
|
3624
3626
|
};
|
|
3625
|
-
let
|
|
3627
|
+
let Fe;
|
|
3626
3628
|
const Z = me({});
|
|
3627
|
-
function
|
|
3628
|
-
return
|
|
3629
|
+
function Hr(e) {
|
|
3630
|
+
return Fe[e] || null;
|
|
3629
3631
|
}
|
|
3630
|
-
function
|
|
3631
|
-
return e in
|
|
3632
|
+
function Mt(e) {
|
|
3633
|
+
return e in Fe;
|
|
3632
3634
|
}
|
|
3633
|
-
function
|
|
3634
|
-
if (!
|
|
3635
|
+
function Tr(e, t) {
|
|
3636
|
+
if (!Mt(e))
|
|
3635
3637
|
return null;
|
|
3636
|
-
const n =
|
|
3637
|
-
return
|
|
3638
|
+
const n = Hr(e);
|
|
3639
|
+
return _r(n, t);
|
|
3638
3640
|
}
|
|
3639
|
-
function
|
|
3641
|
+
function Sr(e) {
|
|
3640
3642
|
if (e == null)
|
|
3641
3643
|
return;
|
|
3642
3644
|
const t = be(e);
|
|
3643
3645
|
for (let n = 0; n < t.length; n++) {
|
|
3644
3646
|
const r = t[n];
|
|
3645
|
-
if (
|
|
3647
|
+
if (Mt(r))
|
|
3646
3648
|
return r;
|
|
3647
3649
|
}
|
|
3648
3650
|
}
|
|
3649
|
-
function
|
|
3650
|
-
delete M[e], Z.update((n) => (n[e] =
|
|
3651
|
+
function Br(e, ...t) {
|
|
3652
|
+
delete M[e], Z.update((n) => (n[e] = Pn.all([n[e] || {}, ...t]), n));
|
|
3651
3653
|
}
|
|
3652
3654
|
W(
|
|
3653
3655
|
[Z],
|
|
3654
3656
|
([e]) => Object.keys(e)
|
|
3655
3657
|
);
|
|
3656
|
-
Z.subscribe((e) =>
|
|
3658
|
+
Z.subscribe((e) => Fe = e);
|
|
3657
3659
|
const ue = {};
|
|
3658
|
-
function
|
|
3660
|
+
function Ar(e, t) {
|
|
3659
3661
|
ue[e].delete(t), ue[e].size === 0 && delete ue[e];
|
|
3660
3662
|
}
|
|
3661
|
-
function
|
|
3663
|
+
function Rt(e) {
|
|
3662
3664
|
return ue[e];
|
|
3663
3665
|
}
|
|
3664
|
-
function
|
|
3666
|
+
function wr(e) {
|
|
3665
3667
|
return be(e).map((t) => {
|
|
3666
|
-
const n =
|
|
3668
|
+
const n = Rt(t);
|
|
3667
3669
|
return [t, n ? [...n] : []];
|
|
3668
3670
|
}).filter(([, t]) => t.length > 0);
|
|
3669
3671
|
}
|
|
@@ -3671,31 +3673,31 @@ function Re(e) {
|
|
|
3671
3673
|
return e == null ? !1 : be(e).some(
|
|
3672
3674
|
(t) => {
|
|
3673
3675
|
var n;
|
|
3674
|
-
return (n =
|
|
3676
|
+
return (n = Rt(t)) == null ? void 0 : n.size;
|
|
3675
3677
|
}
|
|
3676
3678
|
);
|
|
3677
3679
|
}
|
|
3678
|
-
function
|
|
3680
|
+
function Pr(e, t) {
|
|
3679
3681
|
return Promise.all(
|
|
3680
|
-
t.map((r) => (
|
|
3681
|
-
).then((r) =>
|
|
3682
|
+
t.map((r) => (Ar(e, r), r().then((i) => i.default || i)))
|
|
3683
|
+
).then((r) => Br(e, ...r));
|
|
3682
3684
|
}
|
|
3683
3685
|
const q = {};
|
|
3684
|
-
function
|
|
3686
|
+
function $t(e) {
|
|
3685
3687
|
if (!Re(e))
|
|
3686
3688
|
return e in q ? q[e] : Promise.resolve();
|
|
3687
|
-
const t =
|
|
3689
|
+
const t = wr(e);
|
|
3688
3690
|
return q[e] = Promise.all(
|
|
3689
3691
|
t.map(
|
|
3690
|
-
([n, r]) =>
|
|
3692
|
+
([n, r]) => Pr(n, r)
|
|
3691
3693
|
)
|
|
3692
3694
|
).then(() => {
|
|
3693
3695
|
if (Re(e))
|
|
3694
|
-
return
|
|
3696
|
+
return $t(e);
|
|
3695
3697
|
delete q[e];
|
|
3696
3698
|
}), q[e];
|
|
3697
3699
|
}
|
|
3698
|
-
const
|
|
3700
|
+
const Nr = {
|
|
3699
3701
|
number: {
|
|
3700
3702
|
scientific: { notation: "scientific" },
|
|
3701
3703
|
engineering: { notation: "engineering" },
|
|
@@ -3724,34 +3726,34 @@ const Pr = {
|
|
|
3724
3726
|
timeZoneName: "short"
|
|
3725
3727
|
}
|
|
3726
3728
|
}
|
|
3727
|
-
},
|
|
3729
|
+
}, Or = {
|
|
3728
3730
|
fallbackLocale: null,
|
|
3729
3731
|
loadingDelay: 200,
|
|
3730
|
-
formats:
|
|
3732
|
+
formats: Nr,
|
|
3731
3733
|
warnOnMissingMessages: !0,
|
|
3732
3734
|
handleMissingMessage: void 0,
|
|
3733
3735
|
ignoreTag: !0
|
|
3734
|
-
},
|
|
3736
|
+
}, Ir = Or;
|
|
3735
3737
|
function X() {
|
|
3736
|
-
return
|
|
3738
|
+
return Ir;
|
|
3737
3739
|
}
|
|
3738
3740
|
const Se = me(!1);
|
|
3739
|
-
var
|
|
3741
|
+
var Lr = Object.defineProperty, Cr = Object.defineProperties, Mr = Object.getOwnPropertyDescriptors, it = Object.getOwnPropertySymbols, Rr = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable, st = (e, t, n) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ur = (e, t) => {
|
|
3740
3742
|
for (var n in t || (t = {}))
|
|
3741
|
-
|
|
3742
|
-
if (
|
|
3743
|
-
for (var n of
|
|
3744
|
-
|
|
3743
|
+
Rr.call(t, n) && st(e, n, t[n]);
|
|
3744
|
+
if (it)
|
|
3745
|
+
for (var n of it(t))
|
|
3746
|
+
$r.call(t, n) && st(e, n, t[n]);
|
|
3745
3747
|
return e;
|
|
3746
|
-
},
|
|
3748
|
+
}, Dr = (e, t) => Cr(e, Mr(t));
|
|
3747
3749
|
let $e;
|
|
3748
3750
|
const he = me(null);
|
|
3749
|
-
function
|
|
3751
|
+
function at(e) {
|
|
3750
3752
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3751
3753
|
}
|
|
3752
3754
|
function be(e, t = X().fallbackLocale) {
|
|
3753
|
-
const n =
|
|
3754
|
-
return t ? [.../* @__PURE__ */ new Set([...n, ...
|
|
3755
|
+
const n = at(e);
|
|
3756
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...at(t)])] : n;
|
|
3755
3757
|
}
|
|
3756
3758
|
function $() {
|
|
3757
3759
|
return $e != null ? $e : void 0;
|
|
@@ -3759,22 +3761,22 @@ function $() {
|
|
|
3759
3761
|
he.subscribe((e) => {
|
|
3760
3762
|
$e = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3761
3763
|
});
|
|
3762
|
-
const
|
|
3763
|
-
if (e &&
|
|
3764
|
+
const Gr = (e) => {
|
|
3765
|
+
if (e && Sr(e) && Re(e)) {
|
|
3764
3766
|
const { loadingDelay: t } = X();
|
|
3765
3767
|
let n;
|
|
3766
3768
|
return typeof window != "undefined" && $() != null && t ? n = window.setTimeout(
|
|
3767
3769
|
() => Se.set(!0),
|
|
3768
3770
|
t
|
|
3769
|
-
) : Se.set(!0),
|
|
3771
|
+
) : Se.set(!0), $t(e).then(() => {
|
|
3770
3772
|
he.set(e);
|
|
3771
3773
|
}).finally(() => {
|
|
3772
3774
|
clearTimeout(n), Se.set(!1);
|
|
3773
3775
|
});
|
|
3774
3776
|
}
|
|
3775
3777
|
return he.set(e);
|
|
3776
|
-
}, R = Ur(
|
|
3777
|
-
set:
|
|
3778
|
+
}, R = Dr(Ur({}, he), {
|
|
3779
|
+
set: Gr
|
|
3778
3780
|
}), pe = (e) => {
|
|
3779
3781
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3780
3782
|
return (r) => {
|
|
@@ -3782,20 +3784,20 @@ const Dr = (e) => {
|
|
|
3782
3784
|
return i in t ? t[i] : t[i] = e(r);
|
|
3783
3785
|
};
|
|
3784
3786
|
};
|
|
3785
|
-
var
|
|
3787
|
+
var Fr = Object.defineProperty, le = Object.getOwnPropertySymbols, Ut = Object.prototype.hasOwnProperty, Dt = Object.prototype.propertyIsEnumerable, ot = (e, t, n) => t in e ? Fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, je = (e, t) => {
|
|
3786
3788
|
for (var n in t || (t = {}))
|
|
3787
|
-
|
|
3789
|
+
Ut.call(t, n) && ot(e, n, t[n]);
|
|
3788
3790
|
if (le)
|
|
3789
3791
|
for (var n of le(t))
|
|
3790
|
-
|
|
3792
|
+
Dt.call(t, n) && ot(e, n, t[n]);
|
|
3791
3793
|
return e;
|
|
3792
3794
|
}, Q = (e, t) => {
|
|
3793
3795
|
var n = {};
|
|
3794
3796
|
for (var r in e)
|
|
3795
|
-
|
|
3797
|
+
Ut.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3796
3798
|
if (e != null && le)
|
|
3797
3799
|
for (var r of le(e))
|
|
3798
|
-
t.indexOf(r) < 0 &&
|
|
3800
|
+
t.indexOf(r) < 0 && Dt.call(e, r) && (n[r] = e[r]);
|
|
3799
3801
|
return n;
|
|
3800
3802
|
};
|
|
3801
3803
|
const ee = (e, t) => {
|
|
@@ -3803,21 +3805,21 @@ const ee = (e, t) => {
|
|
|
3803
3805
|
if (e in n && t in n[e])
|
|
3804
3806
|
return n[e][t];
|
|
3805
3807
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3806
|
-
},
|
|
3808
|
+
}, jr = pe(
|
|
3807
3809
|
(e) => {
|
|
3808
3810
|
var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
|
|
3809
3811
|
if (n == null)
|
|
3810
3812
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3811
3813
|
return r && (i = ee("number", r)), new Intl.NumberFormat(n, i);
|
|
3812
3814
|
}
|
|
3813
|
-
),
|
|
3815
|
+
), kr = pe(
|
|
3814
3816
|
(e) => {
|
|
3815
3817
|
var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
|
|
3816
3818
|
if (n == null)
|
|
3817
3819
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3818
3820
|
return r ? i = ee("date", r) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3819
3821
|
}
|
|
3820
|
-
),
|
|
3822
|
+
), Vr = pe(
|
|
3821
3823
|
(e) => {
|
|
3822
3824
|
var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
|
|
3823
3825
|
if (n == null)
|
|
@@ -3826,33 +3828,33 @@ const ee = (e, t) => {
|
|
|
3826
3828
|
);
|
|
3827
3829
|
return r ? i = ee("time", r) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3828
3830
|
}
|
|
3829
|
-
),
|
|
3831
|
+
), Xr = (e = {}) => {
|
|
3830
3832
|
var t = e, {
|
|
3831
3833
|
locale: n = $()
|
|
3832
3834
|
} = t, r = Q(t, [
|
|
3833
3835
|
"locale"
|
|
3834
3836
|
]);
|
|
3835
|
-
return
|
|
3836
|
-
},
|
|
3837
|
+
return jr(je({ locale: n }, r));
|
|
3838
|
+
}, zr = (e = {}) => {
|
|
3837
3839
|
var t = e, {
|
|
3838
3840
|
locale: n = $()
|
|
3839
3841
|
} = t, r = Q(t, [
|
|
3840
3842
|
"locale"
|
|
3841
3843
|
]);
|
|
3842
|
-
return
|
|
3843
|
-
},
|
|
3844
|
+
return kr(je({ locale: n }, r));
|
|
3845
|
+
}, Wr = (e = {}) => {
|
|
3844
3846
|
var t = e, {
|
|
3845
3847
|
locale: n = $()
|
|
3846
3848
|
} = t, r = Q(t, [
|
|
3847
3849
|
"locale"
|
|
3848
3850
|
]);
|
|
3849
|
-
return
|
|
3850
|
-
},
|
|
3851
|
+
return Vr(je({ locale: n }, r));
|
|
3852
|
+
}, Zr = pe(
|
|
3851
3853
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3852
|
-
(e, t = $()) => new
|
|
3854
|
+
(e, t = $()) => new vr(e, t, X().formats, {
|
|
3853
3855
|
ignoreTag: X().ignoreTag
|
|
3854
3856
|
})
|
|
3855
|
-
),
|
|
3857
|
+
), Qr = (e, t = {}) => {
|
|
3856
3858
|
var n, r, i, s;
|
|
3857
3859
|
let a = t;
|
|
3858
3860
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3865,7 +3867,7 @@ const ee = (e, t) => {
|
|
|
3865
3867
|
throw new Error(
|
|
3866
3868
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3867
3869
|
);
|
|
3868
|
-
let h =
|
|
3870
|
+
let h = Ct(e, l);
|
|
3869
3871
|
if (!h)
|
|
3870
3872
|
h = (s = (i = (r = (n = X()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
|
|
3871
3873
|
else if (typeof h != "string")
|
|
@@ -3876,7 +3878,7 @@ const ee = (e, t) => {
|
|
|
3876
3878
|
return h;
|
|
3877
3879
|
let m = h;
|
|
3878
3880
|
try {
|
|
3879
|
-
m =
|
|
3881
|
+
m = Zr(h, l).format(u);
|
|
3880
3882
|
} catch (f) {
|
|
3881
3883
|
f instanceof Error && console.warn(
|
|
3882
3884
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3884,23 +3886,23 @@ const ee = (e, t) => {
|
|
|
3884
3886
|
);
|
|
3885
3887
|
}
|
|
3886
3888
|
return m;
|
|
3887
|
-
},
|
|
3888
|
-
W([R], () => Qr);
|
|
3889
|
+
}, qr = (e, t) => Wr(t).format(e), Jr = (e, t) => zr(t).format(e), Yr = (e, t) => Xr(t).format(e), Kr = (e, t = $()) => Ct(e, t), Si = W([R, Z], () => Qr);
|
|
3889
3890
|
W([R], () => qr);
|
|
3890
3891
|
W([R], () => Jr);
|
|
3891
|
-
W([R
|
|
3892
|
-
|
|
3892
|
+
W([R], () => Yr);
|
|
3893
|
+
W([R, Z], () => Kr);
|
|
3894
|
+
function ei({ withLocale: e, translations: t }) {
|
|
3893
3895
|
R.subscribe((n) => {
|
|
3894
3896
|
n == null && (Z.set(t), R.set(e));
|
|
3895
3897
|
});
|
|
3896
3898
|
}
|
|
3897
|
-
function
|
|
3899
|
+
function ti(e, t) {
|
|
3898
3900
|
if (e) {
|
|
3899
3901
|
const n = document.createElement("style");
|
|
3900
3902
|
n.innerHTML = t, e.appendChild(n);
|
|
3901
3903
|
}
|
|
3902
3904
|
}
|
|
3903
|
-
function
|
|
3905
|
+
function ni(e, t) {
|
|
3904
3906
|
const n = new URL(t);
|
|
3905
3907
|
fetch(n.href).then((r) => r.text()).then((r) => {
|
|
3906
3908
|
const i = document.createElement("style");
|
|
@@ -3909,7 +3911,7 @@ function ti(e, t) {
|
|
|
3909
3911
|
console.error("There was an error while trying to load client styling from URL", r);
|
|
3910
3912
|
});
|
|
3911
3913
|
}
|
|
3912
|
-
function
|
|
3914
|
+
function ri(e, t, n) {
|
|
3913
3915
|
if (window.emMessageBus) {
|
|
3914
3916
|
const r = document.createElement("style");
|
|
3915
3917
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3929,14 +3931,14 @@ if (typeof window != "undefined") {
|
|
|
3929
3931
|
}
|
|
3930
3932
|
};
|
|
3931
3933
|
};
|
|
3932
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3934
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-SJNzfovk.js").then(({ default: t }) => {
|
|
3933
3935
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3934
3936
|
});
|
|
3935
3937
|
}
|
|
3936
|
-
function
|
|
3937
|
-
|
|
3938
|
+
function ii(e) {
|
|
3939
|
+
Zt(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))}");
|
|
3938
3940
|
}
|
|
3939
|
-
function
|
|
3941
|
+
function ut(e) {
|
|
3940
3942
|
let t;
|
|
3941
3943
|
return {
|
|
3942
3944
|
c() {
|
|
@@ -4151,10 +4153,10 @@ function at(e) {
|
|
|
4151
4153
|
}
|
|
4152
4154
|
};
|
|
4153
4155
|
}
|
|
4154
|
-
function
|
|
4156
|
+
function si(e) {
|
|
4155
4157
|
let t, n = (
|
|
4156
4158
|
/*session*/
|
|
4157
|
-
e[4] &&
|
|
4159
|
+
e[4] && ut(e)
|
|
4158
4160
|
);
|
|
4159
4161
|
return {
|
|
4160
4162
|
c() {
|
|
@@ -4165,7 +4167,7 @@ function ii(e) {
|
|
|
4165
4167
|
},
|
|
4166
4168
|
p(r, [i]) {
|
|
4167
4169
|
/*session*/
|
|
4168
|
-
r[4] ? n ? n.p(r, i) : (n =
|
|
4170
|
+
r[4] ? n ? n.p(r, i) : (n = ut(r), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
|
|
4169
4171
|
},
|
|
4170
4172
|
i: O,
|
|
4171
4173
|
o: O,
|
|
@@ -4174,9 +4176,9 @@ function ii(e) {
|
|
|
4174
4176
|
}
|
|
4175
4177
|
};
|
|
4176
4178
|
}
|
|
4177
|
-
function
|
|
4179
|
+
function ai(e, t, n) {
|
|
4178
4180
|
let { endpoint: r = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: u = "" } = t, { userid: l = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: m = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl: _ = "false" } = t, { visiblegames: T = "" } = t, { favorites: P = "" } = t, { casinomygames: w = "false" } = t, { fetchviaevent: B = "true" } = t, { mbsource: N } = t, x;
|
|
4179
|
-
|
|
4181
|
+
ei({ withLocale: "en", translations: {} }), tn(() => () => {
|
|
4180
4182
|
});
|
|
4181
4183
|
function I(c) {
|
|
4182
4184
|
Be[c ? "unshift" : "push"](() => {
|
|
@@ -4187,9 +4189,9 @@ function si(e, t, n) {
|
|
|
4187
4189
|
"endpoint" in c && n(0, r = c.endpoint), "datasource" in c && n(1, i = c.datasource), "currency" in c && n(2, s = c.currency), "lang" in c && n(3, a = c.lang), "session" in c && n(4, u = c.session), "userid" in c && n(5, l = c.userid), "clientstyling" in c && n(6, o = c.clientstyling), "clientstylingurl" in c && n(7, h = c.clientstylingurl), "livecasino" in c && n(8, m = c.livecasino), "integratedgameframemobile" in c && n(9, f = c.integratedgameframemobile), "integratedgameframedesktop" in c && n(10, b = c.integratedgameframedesktop), "showgamename" in c && n(11, y = c.showgamename), "gamepagemodalurl" in c && n(12, _ = c.gamepagemodalurl), "visiblegames" in c && n(13, T = c.visiblegames), "favorites" in c && n(14, P = c.favorites), "casinomygames" in c && n(15, w = c.casinomygames), "fetchviaevent" in c && n(16, B = c.fetchviaevent), "mbsource" in c && n(17, N = c.mbsource);
|
|
4188
4190
|
}, e.$$.update = () => {
|
|
4189
4191
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4190
|
-
262208 && o && x &&
|
|
4191
|
-
262272 && h && x &&
|
|
4192
|
-
393216 && x &&
|
|
4192
|
+
262208 && o && x && ti(x, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4193
|
+
262272 && h && x && ni(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4194
|
+
393216 && x && ri(x, `${N}.Style`);
|
|
4193
4195
|
}, [
|
|
4194
4196
|
r,
|
|
4195
4197
|
i,
|
|
@@ -4213,14 +4215,14 @@ function si(e, t, n) {
|
|
|
4213
4215
|
I
|
|
4214
4216
|
];
|
|
4215
4217
|
}
|
|
4216
|
-
class
|
|
4218
|
+
class Gt extends fn {
|
|
4217
4219
|
constructor(t) {
|
|
4218
|
-
super(),
|
|
4220
|
+
super(), hn(
|
|
4219
4221
|
this,
|
|
4220
4222
|
t,
|
|
4223
|
+
ai,
|
|
4221
4224
|
si,
|
|
4222
|
-
|
|
4223
|
-
ut,
|
|
4225
|
+
lt,
|
|
4224
4226
|
{
|
|
4225
4227
|
endpoint: 0,
|
|
4226
4228
|
datasource: 1,
|
|
@@ -4241,7 +4243,7 @@ class Ut extends hn {
|
|
|
4241
4243
|
fetchviaevent: 16,
|
|
4242
4244
|
mbsource: 17
|
|
4243
4245
|
},
|
|
4244
|
-
|
|
4246
|
+
ii
|
|
4245
4247
|
);
|
|
4246
4248
|
}
|
|
4247
4249
|
get endpoint() {
|
|
@@ -4353,55 +4355,55 @@ class Ut extends hn {
|
|
|
4353
4355
|
this.$$set({ mbsource: t }), H();
|
|
4354
4356
|
}
|
|
4355
4357
|
}
|
|
4356
|
-
|
|
4357
|
-
const
|
|
4358
|
+
ln(Gt, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
4359
|
+
const Bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4358
4360
|
__proto__: null,
|
|
4359
|
-
default:
|
|
4361
|
+
default: Gt
|
|
4360
4362
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4361
4363
|
export {
|
|
4362
4364
|
R as $,
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4365
|
+
gi as A,
|
|
4366
|
+
di as B,
|
|
4367
|
+
fi as C,
|
|
4368
|
+
z as D,
|
|
4369
|
+
bi as E,
|
|
4370
|
+
Si as F,
|
|
4371
|
+
ui as G,
|
|
4372
|
+
pi as H,
|
|
4373
|
+
li as I,
|
|
4372
4374
|
g as J,
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4375
|
+
mi as K,
|
|
4376
|
+
yi as L,
|
|
4377
|
+
Ei as M,
|
|
4378
|
+
xi as N,
|
|
4379
|
+
_i as O,
|
|
4380
|
+
Bi as P,
|
|
4381
|
+
fn as S,
|
|
4382
|
+
Hi as _,
|
|
4381
4383
|
ve as a,
|
|
4382
|
-
|
|
4384
|
+
Ti as b,
|
|
4383
4385
|
ge as c,
|
|
4384
4386
|
Z as d,
|
|
4385
|
-
|
|
4387
|
+
Br as e,
|
|
4386
4388
|
H as f,
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4389
|
+
ln as g,
|
|
4390
|
+
Zt as h,
|
|
4391
|
+
hn as i,
|
|
4392
|
+
ne as j,
|
|
4393
|
+
ce as k,
|
|
4394
|
+
te as l,
|
|
4395
|
+
hi as m,
|
|
4394
4396
|
O as n,
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4397
|
+
tn as o,
|
|
4398
|
+
ni as p,
|
|
4399
|
+
Be as q,
|
|
4400
|
+
ti as r,
|
|
4401
|
+
lt as s,
|
|
4402
|
+
ri as t,
|
|
4403
|
+
vi as u,
|
|
4404
|
+
Jt as v,
|
|
4405
|
+
ci as w,
|
|
4406
|
+
ct as x,
|
|
4407
|
+
Ue as y,
|
|
4408
|
+
Wt as z
|
|
4407
4409
|
};
|