@everymatrix/casino-my-games 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/{CasinoFavoritesSection-xs6CB--g.js → CasinoFavoritesSection-BV_Rkfna.js} +491 -485
- package/components/{CasinoFavoritesSection-VGZXmQoJ.js → CasinoFavoritesSection-DqjgZJRG.js} +477 -471
- package/components/CasinoFavoritesSection-ezlecd5t.cjs +16 -0
- package/components/{CasinoFilter-DkPoi43o.js → CasinoFilter-8bRSeB4q.js} +380 -359
- package/components/{CasinoFilter-bmnehLwZ.js → CasinoFilter-BkdFjlBb.js} +376 -357
- package/components/CasinoFilter-C5JkknaH.cjs +3 -0
- package/components/CasinoGameThumbnail-Bwo71Pat.cjs +47 -0
- package/components/{CasinoGameThumbnail-D3uCidn9.js → CasinoGameThumbnail-CObFa4Ej.js} +1552 -1536
- package/components/{CasinoGameThumbnail-DXDDwA--.js → CasinoGameThumbnail-Cxu9BGXq.js} +1496 -1480
- package/components/{CasinoGamesCategorySection-BbMPDI1O.js → CasinoGamesCategorySection-BtCN-f-p.js} +458 -453
- package/components/{CasinoGamesCategorySection-DoaruoW4.cjs → CasinoGamesCategorySection-DMtRyewS.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-dxSy4KIJ.js → CasinoGamesCategorySection-DyYqAUXu.js} +425 -420
- package/components/{CasinoLastPlayedSection-Cm6YIE4g.js → CasinoLastPlayedSection-BqdXBj61.js} +34 -34
- package/components/{CasinoLastPlayedSection-D_qb-xMq.js → CasinoLastPlayedSection-CaOmyA6K.js} +34 -34
- package/components/{CasinoLastPlayedSection-CjoY4D-6.cjs → CasinoLastPlayedSection-I6m9kbe8.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-RzQHUnIH.js → CasinoMostPlayedSection-Cv9ZaVmg.js} +49 -49
- package/components/{CasinoMostPlayedSection-CLtKYO0V.cjs → CasinoMostPlayedSection-Dcqdd2m1.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-x7768nTe.js → CasinoMostPlayedSection-tli73o6E.js} +49 -49
- package/components/{CasinoMyGames-e16YWqeC.js → CasinoMyGames-BUyRHRJV.js} +58 -58
- package/components/{CasinoMyGames-BDEQfLwt.js → CasinoMyGames-BtC4A70R.js} +56 -56
- package/components/{CasinoMyGames-DwgOJP5P.cjs → CasinoMyGames-Rdo6ELFH.cjs} +1 -1
- package/components/{CasinoSort-BlQ48TmE.cjs → CasinoSort-B8_m1F4s.cjs} +1 -1
- package/components/{CasinoSort-BmpySokn.js → CasinoSort-BKwH2JVd.js} +99 -100
- package/components/{CasinoSort-U7s4_Vcv.js → CasinoSort-Dgsc5Qxc.js} +109 -108
- package/es2015/casino-my-games.cjs +1 -1
- package/es2015/casino-my-games.js +1 -1
- package/esnext/casino-my-games.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/CasinoFavoritesSection-cQ2QdAEz.cjs +0 -16
- package/components/CasinoFilter-CM_hmPaR.cjs +0 -3
- package/components/CasinoGameThumbnail-BJuIg5Qg.cjs +0 -47
package/components/{CasinoFavoritesSection-xs6CB--g.js → CasinoFavoritesSection-BV_Rkfna.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
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
|
-
},
|
|
13
|
-
var S = (e, t, n) => (
|
|
14
|
-
var
|
|
12
|
+
}, Xe = (e, t) => jt(e, kt(t));
|
|
13
|
+
var S = (e, t, n) => (ye(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
14
|
+
var ze = (e, t, n) => new Promise((r, i) => {
|
|
15
15
|
var s = (l) => {
|
|
16
16
|
try {
|
|
17
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
|
-
function
|
|
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,20 +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
|
+
return e && fe(e.destroy) ? e.destroy : O;
|
|
68
|
+
}
|
|
69
|
+
function Wt(e, t) {
|
|
67
70
|
e.appendChild(t);
|
|
68
71
|
}
|
|
69
|
-
function
|
|
70
|
-
const r =
|
|
72
|
+
function Zt(e, t, n) {
|
|
73
|
+
const r = Qt(e);
|
|
71
74
|
if (!r.getElementById(t)) {
|
|
72
75
|
const i = ne("style");
|
|
73
|
-
i.id = t, i.textContent = n,
|
|
76
|
+
i.id = t, i.textContent = n, qt(r, i);
|
|
74
77
|
}
|
|
75
78
|
}
|
|
76
|
-
function
|
|
79
|
+
function Qt(e) {
|
|
77
80
|
if (!e)
|
|
78
81
|
return document;
|
|
79
82
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,39 +86,39 @@ function Wt(e) {
|
|
|
83
86
|
t
|
|
84
87
|
) : e.ownerDocument;
|
|
85
88
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
89
|
+
function qt(e, t) {
|
|
90
|
+
return Wt(
|
|
88
91
|
/** @type {Document} */
|
|
89
92
|
e.head || e,
|
|
90
93
|
t
|
|
91
94
|
), t.sheet;
|
|
92
95
|
}
|
|
93
|
-
function
|
|
96
|
+
function ce(e, t, n) {
|
|
94
97
|
e.insertBefore(t, n || null);
|
|
95
98
|
}
|
|
96
99
|
function te(e) {
|
|
97
100
|
e.parentNode && e.parentNode.removeChild(e);
|
|
98
101
|
}
|
|
99
|
-
function
|
|
102
|
+
function fi(e, t) {
|
|
100
103
|
for (let n = 0; n < e.length; n += 1)
|
|
101
104
|
e[n] && e[n].d(t);
|
|
102
105
|
}
|
|
103
106
|
function ne(e) {
|
|
104
107
|
return document.createElement(e);
|
|
105
108
|
}
|
|
106
|
-
function
|
|
109
|
+
function Jt(e) {
|
|
107
110
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
108
111
|
}
|
|
109
|
-
function
|
|
112
|
+
function ct(e) {
|
|
110
113
|
return document.createTextNode(e);
|
|
111
114
|
}
|
|
112
|
-
function
|
|
113
|
-
return
|
|
115
|
+
function ci() {
|
|
116
|
+
return ct(" ");
|
|
114
117
|
}
|
|
115
|
-
function
|
|
116
|
-
return
|
|
118
|
+
function mi() {
|
|
119
|
+
return ct("");
|
|
117
120
|
}
|
|
118
|
-
function
|
|
121
|
+
function gi(e, t, n, r) {
|
|
119
122
|
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
|
|
120
123
|
}
|
|
121
124
|
function Ue(e, t, n) {
|
|
@@ -125,20 +128,20 @@ function g(e, t, n) {
|
|
|
125
128
|
const r = t.toLowerCase();
|
|
126
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);
|
|
127
130
|
}
|
|
128
|
-
function
|
|
131
|
+
function Yt(e) {
|
|
129
132
|
return Array.from(e.childNodes);
|
|
130
133
|
}
|
|
131
|
-
function
|
|
134
|
+
function di(e, t) {
|
|
132
135
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
133
136
|
t);
|
|
134
137
|
}
|
|
135
|
-
function
|
|
138
|
+
function bi(e, t) {
|
|
136
139
|
e.value = t == null ? "" : t;
|
|
137
140
|
}
|
|
138
|
-
function
|
|
141
|
+
function pi(e, t, n) {
|
|
139
142
|
e.classList.toggle(t, !!n);
|
|
140
143
|
}
|
|
141
|
-
class
|
|
144
|
+
class yi {
|
|
142
145
|
constructor(t = !1) {
|
|
143
146
|
/**
|
|
144
147
|
* @private
|
|
@@ -169,7 +172,7 @@ class bi {
|
|
|
169
172
|
* @returns {void}
|
|
170
173
|
*/
|
|
171
174
|
m(t, n, r = null) {
|
|
172
|
-
this.e || (this.is_svg ? this.e =
|
|
175
|
+
this.e || (this.is_svg ? this.e = Jt(
|
|
173
176
|
/** @type {keyof SVGElementTagNameMap} */
|
|
174
177
|
n.nodeName
|
|
175
178
|
) : this.e = ne(
|
|
@@ -193,7 +196,7 @@ class bi {
|
|
|
193
196
|
* @returns {void} */
|
|
194
197
|
i(t) {
|
|
195
198
|
for (let n = 0; n < this.n.length; n += 1)
|
|
196
|
-
|
|
199
|
+
ce(this.t, this.n[n], t);
|
|
197
200
|
}
|
|
198
201
|
/**
|
|
199
202
|
* @param {string} html
|
|
@@ -208,7 +211,7 @@ class bi {
|
|
|
208
211
|
this.n.forEach(te);
|
|
209
212
|
}
|
|
210
213
|
}
|
|
211
|
-
function
|
|
214
|
+
function Kt(e) {
|
|
212
215
|
const t = {};
|
|
213
216
|
return e.childNodes.forEach(
|
|
214
217
|
/** @param {Element} node */
|
|
@@ -221,28 +224,28 @@ let Y;
|
|
|
221
224
|
function J(e) {
|
|
222
225
|
Y = e;
|
|
223
226
|
}
|
|
224
|
-
function
|
|
227
|
+
function en() {
|
|
225
228
|
if (!Y)
|
|
226
229
|
throw new Error("Function called outside component initialization");
|
|
227
230
|
return Y;
|
|
228
231
|
}
|
|
229
|
-
function
|
|
230
|
-
|
|
232
|
+
function tn(e) {
|
|
233
|
+
en().$$.on_mount.push(e);
|
|
231
234
|
}
|
|
232
|
-
const G = [],
|
|
235
|
+
const G = [], Be = [];
|
|
233
236
|
let F = [];
|
|
234
|
-
const
|
|
235
|
-
let
|
|
236
|
-
function
|
|
237
|
-
|
|
237
|
+
const Ze = [], mt = /* @__PURE__ */ Promise.resolve();
|
|
238
|
+
let Ae = !1;
|
|
239
|
+
function gt() {
|
|
240
|
+
Ae || (Ae = !0, mt.then(H));
|
|
238
241
|
}
|
|
239
|
-
function
|
|
240
|
-
return
|
|
242
|
+
function Ei() {
|
|
243
|
+
return gt(), mt;
|
|
241
244
|
}
|
|
242
|
-
function
|
|
245
|
+
function we(e) {
|
|
243
246
|
F.push(e);
|
|
244
247
|
}
|
|
245
|
-
const
|
|
248
|
+
const Ee = /* @__PURE__ */ new Set();
|
|
246
249
|
let U = 0;
|
|
247
250
|
function H() {
|
|
248
251
|
if (U !== 0)
|
|
@@ -252,45 +255,45 @@ function H() {
|
|
|
252
255
|
try {
|
|
253
256
|
for (; U < G.length; ) {
|
|
254
257
|
const t = G[U];
|
|
255
|
-
U++, J(t),
|
|
258
|
+
U++, J(t), nn(t.$$);
|
|
256
259
|
}
|
|
257
260
|
} catch (t) {
|
|
258
261
|
throw G.length = 0, U = 0, t;
|
|
259
262
|
}
|
|
260
|
-
for (J(null), G.length = 0, U = 0;
|
|
261
|
-
|
|
263
|
+
for (J(null), G.length = 0, U = 0; Be.length; )
|
|
264
|
+
Be.pop()();
|
|
262
265
|
for (let t = 0; t < F.length; t += 1) {
|
|
263
266
|
const n = F[t];
|
|
264
|
-
|
|
267
|
+
Ee.has(n) || (Ee.add(n), n());
|
|
265
268
|
}
|
|
266
269
|
F.length = 0;
|
|
267
270
|
} while (G.length);
|
|
268
|
-
for (;
|
|
269
|
-
|
|
270
|
-
|
|
271
|
+
for (; Ze.length; )
|
|
272
|
+
Ze.pop()();
|
|
273
|
+
Ae = !1, Ee.clear(), J(e);
|
|
271
274
|
}
|
|
272
|
-
function
|
|
275
|
+
function nn(e) {
|
|
273
276
|
if (e.fragment !== null) {
|
|
274
277
|
e.update(), z(e.before_update);
|
|
275
278
|
const t = e.dirty;
|
|
276
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
279
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
|
|
277
280
|
}
|
|
278
281
|
}
|
|
279
|
-
function
|
|
282
|
+
function rn(e) {
|
|
280
283
|
const t = [], n = [];
|
|
281
284
|
F.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), F = t;
|
|
282
285
|
}
|
|
283
|
-
const
|
|
284
|
-
function
|
|
285
|
-
e && e.i && (
|
|
286
|
+
const sn = /* @__PURE__ */ new Set();
|
|
287
|
+
function dt(e, t) {
|
|
288
|
+
e && e.i && (sn.delete(e), e.i(t));
|
|
286
289
|
}
|
|
287
|
-
function
|
|
290
|
+
function vi(e) {
|
|
288
291
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
289
292
|
}
|
|
290
|
-
function
|
|
293
|
+
function _i(e, t) {
|
|
291
294
|
e.d(1), t.delete(e.key);
|
|
292
295
|
}
|
|
293
|
-
function
|
|
296
|
+
function xi(e, t, n, r, i, s, a, u, l, o, h, m) {
|
|
294
297
|
let f = e.length, b = s.length, y = f;
|
|
295
298
|
const _ = {};
|
|
296
299
|
for (; y--; )
|
|
@@ -303,7 +306,7 @@ function vi(e, t, n, r, i, s, a, u, l, o, h, m) {
|
|
|
303
306
|
}
|
|
304
307
|
const N = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
305
308
|
function I(c) {
|
|
306
|
-
|
|
309
|
+
dt(c, 1), c.m(u, h), a.set(c.key, c), h = c.first, b--;
|
|
307
310
|
}
|
|
308
311
|
for (; f && b; ) {
|
|
309
312
|
const c = T[b - 1], L = e[f - 1], C = c.key, re = L.key;
|
|
@@ -317,21 +320,21 @@ function vi(e, t, n, r, i, s, a, u, l, o, h, m) {
|
|
|
317
320
|
I(T[b - 1]);
|
|
318
321
|
return z(B), T;
|
|
319
322
|
}
|
|
320
|
-
function
|
|
323
|
+
function an(e, t, n) {
|
|
321
324
|
const { fragment: r, after_update: i } = e.$$;
|
|
322
|
-
r && r.m(t, n),
|
|
323
|
-
const s = e.$$.on_mount.map(
|
|
325
|
+
r && r.m(t, n), we(() => {
|
|
326
|
+
const s = e.$$.on_mount.map(ht).filter(fe);
|
|
324
327
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
|
|
325
|
-
}), i.forEach(
|
|
328
|
+
}), i.forEach(we);
|
|
326
329
|
}
|
|
327
|
-
function
|
|
330
|
+
function on(e, t) {
|
|
328
331
|
const n = e.$$;
|
|
329
|
-
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 = []);
|
|
330
333
|
}
|
|
331
|
-
function
|
|
332
|
-
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;
|
|
333
336
|
}
|
|
334
|
-
function
|
|
337
|
+
function hn(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
335
338
|
const l = Y;
|
|
336
339
|
J(e);
|
|
337
340
|
const o = e.$$ = {
|
|
@@ -341,7 +344,7 @@ function on(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
341
344
|
props: s,
|
|
342
345
|
update: O,
|
|
343
346
|
not_equal: i,
|
|
344
|
-
bound:
|
|
347
|
+
bound: We(),
|
|
345
348
|
// lifecycle
|
|
346
349
|
on_mount: [],
|
|
347
350
|
on_destroy: [],
|
|
@@ -350,7 +353,7 @@ function on(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
350
353
|
after_update: [],
|
|
351
354
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
352
355
|
// everything else
|
|
353
|
-
callbacks:
|
|
356
|
+
callbacks: We(),
|
|
354
357
|
dirty: u,
|
|
355
358
|
skip_bound: !1,
|
|
356
359
|
root: t.target || l.$$.root
|
|
@@ -359,19 +362,19 @@ function on(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
359
362
|
let h = !1;
|
|
360
363
|
if (o.ctx = n ? n(e, t.props || {}, (m, f, ...b) => {
|
|
361
364
|
const y = b.length ? b[0] : f;
|
|
362
|
-
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;
|
|
363
366
|
}) : [], o.update(), h = !0, z(o.before_update), o.fragment = r ? r(o.ctx) : !1, t.target) {
|
|
364
367
|
if (t.hydrate) {
|
|
365
|
-
const m =
|
|
368
|
+
const m = Yt(t.target);
|
|
366
369
|
o.fragment && o.fragment.l(m), m.forEach(te);
|
|
367
370
|
} else
|
|
368
371
|
o.fragment && o.fragment.c();
|
|
369
|
-
t.intro &&
|
|
372
|
+
t.intro && dt(e.$$.fragment), an(e, t.target, t.anchor), H();
|
|
370
373
|
}
|
|
371
374
|
J(l);
|
|
372
375
|
}
|
|
373
|
-
let
|
|
374
|
-
typeof HTMLElement == "function" && (
|
|
376
|
+
let bt;
|
|
377
|
+
typeof HTMLElement == "function" && (bt = class extends HTMLElement {
|
|
375
378
|
constructor(t, n, r) {
|
|
376
379
|
super();
|
|
377
380
|
/** The Svelte component constructor */
|
|
@@ -408,7 +411,7 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
|
|
408
411
|
}
|
|
409
412
|
}
|
|
410
413
|
connectedCallback() {
|
|
411
|
-
return
|
|
414
|
+
return ze(this, null, function* () {
|
|
412
415
|
if (this.$$cn = !0, !this.$$c) {
|
|
413
416
|
let t = function(s) {
|
|
414
417
|
return () => {
|
|
@@ -422,7 +425,7 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
|
|
422
425
|
* @param {HTMLElement} [anchor]
|
|
423
426
|
*/
|
|
424
427
|
m: function(o, h) {
|
|
425
|
-
|
|
428
|
+
ce(o, a, h);
|
|
426
429
|
},
|
|
427
430
|
d: function(o) {
|
|
428
431
|
o && te(a);
|
|
@@ -432,7 +435,7 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
|
|
432
435
|
};
|
|
433
436
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
434
437
|
return;
|
|
435
|
-
const n = {}, r =
|
|
438
|
+
const n = {}, r = Kt(this);
|
|
436
439
|
for (const s of this.$$s)
|
|
437
440
|
s in r && (n[s] = [t(s)]);
|
|
438
441
|
for (const s of this.attributes) {
|
|
@@ -443,7 +446,7 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
|
|
443
446
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
444
447
|
this.$$c = new this.$$ctor({
|
|
445
448
|
target: this.shadowRoot || this,
|
|
446
|
-
props:
|
|
449
|
+
props: Xe(Ve({}, this.$$d), {
|
|
447
450
|
$$slots: n,
|
|
448
451
|
$$scope: {
|
|
449
452
|
ctx: []
|
|
@@ -521,8 +524,8 @@ function ae(e, t, n, r) {
|
|
|
521
524
|
return t;
|
|
522
525
|
}
|
|
523
526
|
}
|
|
524
|
-
function
|
|
525
|
-
let a = class extends
|
|
527
|
+
function ln(e, t, n, r, i, s) {
|
|
528
|
+
let a = class extends bt {
|
|
526
529
|
constructor() {
|
|
527
530
|
super(e, n, i), this.$$p_d = t;
|
|
528
531
|
}
|
|
@@ -552,7 +555,7 @@ function un(e, t, n, r, i, s) {
|
|
|
552
555
|
}), e.element = /** @type {any} */
|
|
553
556
|
a, a;
|
|
554
557
|
}
|
|
555
|
-
class
|
|
558
|
+
class fn {
|
|
556
559
|
constructor() {
|
|
557
560
|
/**
|
|
558
561
|
* ### PRIVATE API
|
|
@@ -573,7 +576,7 @@ class hn {
|
|
|
573
576
|
}
|
|
574
577
|
/** @returns {void} */
|
|
575
578
|
$destroy() {
|
|
576
|
-
|
|
579
|
+
on(this, 1), this.$destroy = O;
|
|
577
580
|
}
|
|
578
581
|
/**
|
|
579
582
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -582,7 +585,7 @@ class hn {
|
|
|
582
585
|
* @returns {() => void}
|
|
583
586
|
*/
|
|
584
587
|
$on(t, n) {
|
|
585
|
-
if (
|
|
588
|
+
if (!fe(n))
|
|
586
589
|
return O;
|
|
587
590
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
588
591
|
return r.push(n), () => {
|
|
@@ -595,11 +598,11 @@ class hn {
|
|
|
595
598
|
* @returns {void}
|
|
596
599
|
*/
|
|
597
600
|
$set(t) {
|
|
598
|
-
this.$$set && !
|
|
601
|
+
this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
599
602
|
}
|
|
600
603
|
}
|
|
601
|
-
const
|
|
602
|
-
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);
|
|
603
606
|
/*! *****************************************************************************
|
|
604
607
|
Copyright (c) Microsoft Corporation.
|
|
605
608
|
|
|
@@ -614,18 +617,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
614
617
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
615
618
|
PERFORMANCE OF THIS SOFTWARE.
|
|
616
619
|
***************************************************************************** */
|
|
617
|
-
var
|
|
618
|
-
return
|
|
620
|
+
var Pe = function(e, t) {
|
|
621
|
+
return Pe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
619
622
|
n.__proto__ = r;
|
|
620
623
|
} || function(n, r) {
|
|
621
624
|
for (var i in r)
|
|
622
625
|
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
623
|
-
},
|
|
626
|
+
}, Pe(e, t);
|
|
624
627
|
};
|
|
625
|
-
function
|
|
628
|
+
function me(e, t) {
|
|
626
629
|
if (typeof t != "function" && t !== null)
|
|
627
630
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
628
|
-
|
|
631
|
+
Pe(e, t);
|
|
629
632
|
function n() {
|
|
630
633
|
this.constructor = e;
|
|
631
634
|
}
|
|
@@ -641,7 +644,7 @@ var E = function() {
|
|
|
641
644
|
return t;
|
|
642
645
|
}, E.apply(this, arguments);
|
|
643
646
|
};
|
|
644
|
-
function
|
|
647
|
+
function mn(e, t) {
|
|
645
648
|
var n = {};
|
|
646
649
|
for (var r in e)
|
|
647
650
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -650,7 +653,7 @@ function fn(e, t) {
|
|
|
650
653
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
651
654
|
return n;
|
|
652
655
|
}
|
|
653
|
-
function
|
|
656
|
+
function Hi(e) {
|
|
654
657
|
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
655
658
|
if (n)
|
|
656
659
|
return n.call(e);
|
|
@@ -662,7 +665,7 @@ function _i(e) {
|
|
|
662
665
|
};
|
|
663
666
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
664
667
|
}
|
|
665
|
-
function
|
|
668
|
+
function Ti(e, t) {
|
|
666
669
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
667
670
|
if (!n)
|
|
668
671
|
return e;
|
|
@@ -682,23 +685,23 @@ function xi(e, t) {
|
|
|
682
685
|
}
|
|
683
686
|
return s;
|
|
684
687
|
}
|
|
685
|
-
function
|
|
688
|
+
function ve(e, t, n) {
|
|
686
689
|
if (n || arguments.length === 2)
|
|
687
690
|
for (var r = 0, i = t.length, s; r < i; r++)
|
|
688
691
|
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
689
692
|
return e.concat(s || t);
|
|
690
693
|
}
|
|
691
694
|
const D = [];
|
|
692
|
-
function
|
|
695
|
+
function gn(e, t) {
|
|
693
696
|
return {
|
|
694
|
-
subscribe:
|
|
697
|
+
subscribe: ge(e, t).subscribe
|
|
695
698
|
};
|
|
696
699
|
}
|
|
697
|
-
function
|
|
700
|
+
function ge(e, t = O) {
|
|
698
701
|
let n;
|
|
699
702
|
const r = /* @__PURE__ */ new Set();
|
|
700
703
|
function i(u) {
|
|
701
|
-
if (
|
|
704
|
+
if (lt(e, u) && (e = u, n)) {
|
|
702
705
|
const l = !D.length;
|
|
703
706
|
for (const o of r)
|
|
704
707
|
o[1](), D.push(o, e);
|
|
@@ -725,7 +728,7 @@ function W(e, t, n) {
|
|
|
725
728
|
if (!i.every(Boolean))
|
|
726
729
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
727
730
|
const s = t.length < 2;
|
|
728
|
-
return
|
|
731
|
+
return gn(n, (a, u) => {
|
|
729
732
|
let l = !1;
|
|
730
733
|
const o = [];
|
|
731
734
|
let h = 0, m = O;
|
|
@@ -734,9 +737,9 @@ function W(e, t, n) {
|
|
|
734
737
|
return;
|
|
735
738
|
m();
|
|
736
739
|
const y = t(r ? o[0] : o, a, u);
|
|
737
|
-
s ? a(y) : m =
|
|
740
|
+
s ? a(y) : m = fe(y) ? y : O;
|
|
738
741
|
}, b = i.map(
|
|
739
|
-
(y, _) =>
|
|
742
|
+
(y, _) => ft(
|
|
740
743
|
y,
|
|
741
744
|
(T) => {
|
|
742
745
|
o[_] = T, h &= ~(1 << _), l && f();
|
|
@@ -751,70 +754,70 @@ function W(e, t, n) {
|
|
|
751
754
|
};
|
|
752
755
|
});
|
|
753
756
|
}
|
|
754
|
-
function
|
|
757
|
+
function dn(e) {
|
|
755
758
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
756
759
|
}
|
|
757
|
-
var
|
|
758
|
-
return
|
|
760
|
+
var bn = function(t) {
|
|
761
|
+
return pn(t) && !yn(t);
|
|
759
762
|
};
|
|
760
|
-
function
|
|
763
|
+
function pn(e) {
|
|
761
764
|
return !!e && typeof e == "object";
|
|
762
765
|
}
|
|
763
|
-
function
|
|
766
|
+
function yn(e) {
|
|
764
767
|
var t = Object.prototype.toString.call(e);
|
|
765
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
768
|
+
return t === "[object RegExp]" || t === "[object Date]" || _n(e);
|
|
766
769
|
}
|
|
767
|
-
var
|
|
768
|
-
function
|
|
769
|
-
return e.$$typeof ===
|
|
770
|
+
var En = typeof Symbol == "function" && Symbol.for, vn = En ? Symbol.for("react.element") : 60103;
|
|
771
|
+
function _n(e) {
|
|
772
|
+
return e.$$typeof === vn;
|
|
770
773
|
}
|
|
771
|
-
function
|
|
774
|
+
function xn(e) {
|
|
772
775
|
return Array.isArray(e) ? [] : {};
|
|
773
776
|
}
|
|
774
777
|
function K(e, t) {
|
|
775
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? j(
|
|
778
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? j(xn(e), e, t) : e;
|
|
776
779
|
}
|
|
777
|
-
function
|
|
780
|
+
function Hn(e, t, n) {
|
|
778
781
|
return e.concat(t).map(function(r) {
|
|
779
782
|
return K(r, n);
|
|
780
783
|
});
|
|
781
784
|
}
|
|
782
|
-
function
|
|
785
|
+
function Tn(e, t) {
|
|
783
786
|
if (!t.customMerge)
|
|
784
787
|
return j;
|
|
785
788
|
var n = t.customMerge(e);
|
|
786
789
|
return typeof n == "function" ? n : j;
|
|
787
790
|
}
|
|
788
|
-
function
|
|
791
|
+
function Sn(e) {
|
|
789
792
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
790
793
|
return Object.propertyIsEnumerable.call(e, t);
|
|
791
794
|
}) : [];
|
|
792
795
|
}
|
|
793
|
-
function
|
|
794
|
-
return Object.keys(e).concat(
|
|
796
|
+
function Qe(e) {
|
|
797
|
+
return Object.keys(e).concat(Sn(e));
|
|
795
798
|
}
|
|
796
|
-
function
|
|
799
|
+
function pt(e, t) {
|
|
797
800
|
try {
|
|
798
801
|
return t in e;
|
|
799
802
|
} catch (n) {
|
|
800
803
|
return !1;
|
|
801
804
|
}
|
|
802
805
|
}
|
|
803
|
-
function
|
|
804
|
-
return
|
|
806
|
+
function Bn(e, t) {
|
|
807
|
+
return pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
805
808
|
}
|
|
806
|
-
function
|
|
809
|
+
function An(e, t, n) {
|
|
807
810
|
var r = {};
|
|
808
|
-
return n.isMergeableObject(e) &&
|
|
811
|
+
return n.isMergeableObject(e) && Qe(e).forEach(function(i) {
|
|
809
812
|
r[i] = K(e[i], n);
|
|
810
|
-
}),
|
|
811
|
-
|
|
813
|
+
}), Qe(t).forEach(function(i) {
|
|
814
|
+
Bn(e, i) || (pt(e, i) && n.isMergeableObject(t[i]) ? r[i] = Tn(i, n)(e[i], t[i], n) : r[i] = K(t[i], n));
|
|
812
815
|
}), r;
|
|
813
816
|
}
|
|
814
817
|
function j(e, t, n) {
|
|
815
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
818
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Hn, n.isMergeableObject = n.isMergeableObject || bn, n.cloneUnlessOtherwiseSpecified = K;
|
|
816
819
|
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
817
|
-
return s ? r ? n.arrayMerge(e, t, n) :
|
|
820
|
+
return s ? r ? n.arrayMerge(e, t, n) : An(e, t, n) : K(t, n);
|
|
818
821
|
}
|
|
819
822
|
j.all = function(t, n) {
|
|
820
823
|
if (!Array.isArray(t))
|
|
@@ -823,56 +826,58 @@ j.all = function(t, n) {
|
|
|
823
826
|
return j(r, i, n);
|
|
824
827
|
}, {});
|
|
825
828
|
};
|
|
826
|
-
var
|
|
827
|
-
const
|
|
828
|
-
function
|
|
829
|
-
var n = t && t.cache ? t.cache :
|
|
829
|
+
var wn = j, Pn = wn;
|
|
830
|
+
const Nn = /* @__PURE__ */ dn(Pn);
|
|
831
|
+
function _e(e, t) {
|
|
832
|
+
var n = t && t.cache ? t.cache : Rn, r = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : In;
|
|
830
833
|
return i(e, {
|
|
831
834
|
cache: n,
|
|
832
835
|
serializer: r
|
|
833
836
|
});
|
|
834
837
|
}
|
|
835
|
-
function
|
|
838
|
+
function On(e) {
|
|
836
839
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
837
840
|
}
|
|
838
|
-
function
|
|
839
|
-
var i =
|
|
841
|
+
function yt(e, t, n, r) {
|
|
842
|
+
var i = On(r) ? r : n(r), s = t.get(i);
|
|
840
843
|
return typeof s == "undefined" && (s = e.call(this, r), t.set(i, s)), s;
|
|
841
844
|
}
|
|
842
|
-
function
|
|
845
|
+
function Et(e, t, n) {
|
|
843
846
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
844
847
|
return typeof s == "undefined" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
845
848
|
}
|
|
846
|
-
function
|
|
849
|
+
function De(e, t, n, r, i) {
|
|
847
850
|
return n.bind(t, e, r, i);
|
|
848
851
|
}
|
|
849
|
-
function On(e, t) {
|
|
850
|
-
var n = e.length === 1 ? Nn : bt;
|
|
851
|
-
return pt(e, this, n, t.cache.create(), t.serializer);
|
|
852
|
-
}
|
|
853
852
|
function In(e, t) {
|
|
854
|
-
|
|
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);
|
|
855
858
|
}
|
|
856
|
-
|
|
859
|
+
function Cn(e, t) {
|
|
860
|
+
return De(e, this, yt, t.cache.create(), t.serializer);
|
|
861
|
+
}
|
|
862
|
+
var Mn = function() {
|
|
857
863
|
return JSON.stringify(arguments);
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
}()
|
|
870
|
-
), 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 = {
|
|
871
875
|
create: function() {
|
|
872
|
-
return new
|
|
876
|
+
return new Ge();
|
|
873
877
|
}
|
|
874
|
-
},
|
|
875
|
-
variadic:
|
|
878
|
+
}, xe = {
|
|
879
|
+
variadic: Ln,
|
|
880
|
+
monadic: Cn
|
|
876
881
|
}, d;
|
|
877
882
|
(function(e) {
|
|
878
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";
|
|
@@ -885,43 +890,43 @@ var k;
|
|
|
885
890
|
(function(e) {
|
|
886
891
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
887
892
|
})(k || (k = {}));
|
|
888
|
-
function
|
|
893
|
+
function qe(e) {
|
|
889
894
|
return e.type === v.literal;
|
|
890
895
|
}
|
|
891
|
-
function
|
|
896
|
+
function $n(e) {
|
|
892
897
|
return e.type === v.argument;
|
|
893
898
|
}
|
|
894
|
-
function
|
|
899
|
+
function vt(e) {
|
|
895
900
|
return e.type === v.number;
|
|
896
901
|
}
|
|
897
|
-
function
|
|
902
|
+
function _t(e) {
|
|
898
903
|
return e.type === v.date;
|
|
899
904
|
}
|
|
900
|
-
function
|
|
905
|
+
function xt(e) {
|
|
901
906
|
return e.type === v.time;
|
|
902
907
|
}
|
|
903
|
-
function
|
|
908
|
+
function Ht(e) {
|
|
904
909
|
return e.type === v.select;
|
|
905
910
|
}
|
|
906
|
-
function
|
|
911
|
+
function Tt(e) {
|
|
907
912
|
return e.type === v.plural;
|
|
908
913
|
}
|
|
909
|
-
function
|
|
914
|
+
function Un(e) {
|
|
910
915
|
return e.type === v.pound;
|
|
911
916
|
}
|
|
912
|
-
function
|
|
917
|
+
function St(e) {
|
|
913
918
|
return e.type === v.tag;
|
|
914
919
|
}
|
|
915
|
-
function
|
|
920
|
+
function Bt(e) {
|
|
916
921
|
return !!(e && typeof e == "object" && e.type === k.number);
|
|
917
922
|
}
|
|
918
|
-
function
|
|
923
|
+
function Ne(e) {
|
|
919
924
|
return !!(e && typeof e == "object" && e.type === k.dateTime);
|
|
920
925
|
}
|
|
921
|
-
var
|
|
922
|
-
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) {
|
|
923
928
|
var t = {};
|
|
924
|
-
return e.replace(
|
|
929
|
+
return e.replace(Dn, function(n) {
|
|
925
930
|
var r = n.length;
|
|
926
931
|
switch (n[0]) {
|
|
927
932
|
case "G":
|
|
@@ -1010,11 +1015,11 @@ function Dn(e) {
|
|
|
1010
1015
|
return "";
|
|
1011
1016
|
}), t;
|
|
1012
1017
|
}
|
|
1013
|
-
var
|
|
1014
|
-
function
|
|
1018
|
+
var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1019
|
+
function jn(e) {
|
|
1015
1020
|
if (e.length === 0)
|
|
1016
1021
|
throw new Error("Number skeleton cannot be empty");
|
|
1017
|
-
for (var t = e.split(
|
|
1022
|
+
for (var t = e.split(Fn).filter(function(f) {
|
|
1018
1023
|
return f.length > 0;
|
|
1019
1024
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
1020
1025
|
var s = i[r], a = s.split("/");
|
|
@@ -1029,17 +1034,17 @@ function Fn(e) {
|
|
|
1029
1034
|
}
|
|
1030
1035
|
return n;
|
|
1031
1036
|
}
|
|
1032
|
-
function
|
|
1037
|
+
function kn(e) {
|
|
1033
1038
|
return e.replace(/^(.*?)-/, "");
|
|
1034
1039
|
}
|
|
1035
|
-
var
|
|
1036
|
-
function
|
|
1040
|
+
var Je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wt = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, Pt = /^(0+)$/;
|
|
1041
|
+
function Ye(e) {
|
|
1037
1042
|
var t = {};
|
|
1038
|
-
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) {
|
|
1039
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)), "";
|
|
1040
1045
|
}), t;
|
|
1041
1046
|
}
|
|
1042
|
-
function
|
|
1047
|
+
function Nt(e) {
|
|
1043
1048
|
switch (e) {
|
|
1044
1049
|
case "sign-auto":
|
|
1045
1050
|
return {
|
|
@@ -1079,7 +1084,7 @@ function wt(e) {
|
|
|
1079
1084
|
};
|
|
1080
1085
|
}
|
|
1081
1086
|
}
|
|
1082
|
-
function
|
|
1087
|
+
function Xn(e) {
|
|
1083
1088
|
var t;
|
|
1084
1089
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1085
1090
|
notation: "engineering"
|
|
@@ -1087,17 +1092,17 @@ function Vn(e) {
|
|
|
1087
1092
|
notation: "scientific"
|
|
1088
1093
|
}, e = e.slice(1)), t) {
|
|
1089
1094
|
var n = e.slice(0, 2);
|
|
1090
|
-
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))
|
|
1091
1096
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1092
1097
|
t.minimumIntegerDigits = e.length;
|
|
1093
1098
|
}
|
|
1094
1099
|
return t;
|
|
1095
1100
|
}
|
|
1096
|
-
function
|
|
1097
|
-
var t = {}, n =
|
|
1101
|
+
function Ke(e) {
|
|
1102
|
+
var t = {}, n = Nt(e);
|
|
1098
1103
|
return n || t;
|
|
1099
1104
|
}
|
|
1100
|
-
function
|
|
1105
|
+
function zn(e) {
|
|
1101
1106
|
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1102
1107
|
var i = r[n];
|
|
1103
1108
|
switch (i.stem) {
|
|
@@ -1121,7 +1126,7 @@ function Xn(e) {
|
|
|
1121
1126
|
continue;
|
|
1122
1127
|
case "measure-unit":
|
|
1123
1128
|
case "unit":
|
|
1124
|
-
t.style = "unit", t.unit =
|
|
1129
|
+
t.style = "unit", t.unit = kn(i.options[0]);
|
|
1125
1130
|
continue;
|
|
1126
1131
|
case "compact-short":
|
|
1127
1132
|
case "K":
|
|
@@ -1133,12 +1138,12 @@ function Xn(e) {
|
|
|
1133
1138
|
continue;
|
|
1134
1139
|
case "scientific":
|
|
1135
1140
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
|
|
1136
|
-
return E(E({}, l),
|
|
1141
|
+
return E(E({}, l), Ke(o));
|
|
1137
1142
|
}, {}));
|
|
1138
1143
|
continue;
|
|
1139
1144
|
case "engineering":
|
|
1140
1145
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
|
|
1141
|
-
return E(E({}, l),
|
|
1146
|
+
return E(E({}, l), Ke(o));
|
|
1142
1147
|
}, {}));
|
|
1143
1148
|
continue;
|
|
1144
1149
|
case "notation-simple":
|
|
@@ -1183,7 +1188,7 @@ function Xn(e) {
|
|
|
1183
1188
|
case "integer-width":
|
|
1184
1189
|
if (i.options.length > 1)
|
|
1185
1190
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1186
|
-
i.options[0].replace(
|
|
1191
|
+
i.options[0].replace(Vn, function(l, o, h, m, f, b) {
|
|
1187
1192
|
if (o)
|
|
1188
1193
|
t.minimumIntegerDigits = h.length;
|
|
1189
1194
|
else {
|
|
@@ -1196,27 +1201,27 @@ function Xn(e) {
|
|
|
1196
1201
|
});
|
|
1197
1202
|
continue;
|
|
1198
1203
|
}
|
|
1199
|
-
if (
|
|
1204
|
+
if (Pt.test(i.stem)) {
|
|
1200
1205
|
t.minimumIntegerDigits = i.stem.length;
|
|
1201
1206
|
continue;
|
|
1202
1207
|
}
|
|
1203
|
-
if (
|
|
1208
|
+
if (Je.test(i.stem)) {
|
|
1204
1209
|
if (i.options.length > 1)
|
|
1205
1210
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1206
|
-
i.stem.replace(
|
|
1211
|
+
i.stem.replace(Je, function(l, o, h, m, f, b) {
|
|
1207
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), "";
|
|
1208
1213
|
});
|
|
1209
1214
|
var s = i.options[0];
|
|
1210
|
-
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)));
|
|
1211
1216
|
continue;
|
|
1212
1217
|
}
|
|
1213
|
-
if (
|
|
1214
|
-
t = E(E({}, t),
|
|
1218
|
+
if (wt.test(i.stem)) {
|
|
1219
|
+
t = E(E({}, t), Ye(i.stem));
|
|
1215
1220
|
continue;
|
|
1216
1221
|
}
|
|
1217
|
-
var a =
|
|
1222
|
+
var a = Nt(i.stem);
|
|
1218
1223
|
a && (t = E(E({}, t), a));
|
|
1219
|
-
var u =
|
|
1224
|
+
var u = Xn(i.stem);
|
|
1220
1225
|
u && (t = E(E({}, t), u));
|
|
1221
1226
|
}
|
|
1222
1227
|
return t;
|
|
@@ -2636,13 +2641,13 @@ var se = {
|
|
|
2636
2641
|
"h"
|
|
2637
2642
|
]
|
|
2638
2643
|
};
|
|
2639
|
-
function
|
|
2644
|
+
function Wn(e, t) {
|
|
2640
2645
|
for (var n = "", r = 0; r < e.length; r++) {
|
|
2641
2646
|
var i = e.charAt(r);
|
|
2642
2647
|
if (i === "j") {
|
|
2643
2648
|
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2644
2649
|
s++, r++;
|
|
2645
|
-
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);
|
|
2646
2651
|
for ((o == "H" || o == "k") && (u = 0); u-- > 0; )
|
|
2647
2652
|
n += l;
|
|
2648
2653
|
for (; a-- > 0; )
|
|
@@ -2652,7 +2657,7 @@ function zn(e, t) {
|
|
|
2652
2657
|
}
|
|
2653
2658
|
return n;
|
|
2654
2659
|
}
|
|
2655
|
-
function
|
|
2660
|
+
function Zn(e) {
|
|
2656
2661
|
var t = e.hourCycle;
|
|
2657
2662
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2658
2663
|
e.hourCycles && // @ts-ignore
|
|
@@ -2674,20 +2679,20 @@ function Wn(e) {
|
|
|
2674
2679
|
var i = se[r || ""] || se[n || ""] || se["".concat(n, "-001")] || se["001"];
|
|
2675
2680
|
return i[0];
|
|
2676
2681
|
}
|
|
2677
|
-
var
|
|
2682
|
+
var He, Qn = new RegExp("^".concat(At.source, "*")), qn = new RegExp("".concat(At.source, "*$"));
|
|
2678
2683
|
function p(e, t) {
|
|
2679
2684
|
return { start: e, end: t };
|
|
2680
2685
|
}
|
|
2681
|
-
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) {
|
|
2682
2687
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2683
|
-
},
|
|
2688
|
+
}, Oe = !0;
|
|
2684
2689
|
try {
|
|
2685
|
-
var
|
|
2686
|
-
|
|
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";
|
|
2687
2692
|
} catch (e) {
|
|
2688
|
-
|
|
2693
|
+
Oe = !1;
|
|
2689
2694
|
}
|
|
2690
|
-
var
|
|
2695
|
+
var et = Jn ? (
|
|
2691
2696
|
// Native
|
|
2692
2697
|
function(t, n, r) {
|
|
2693
2698
|
return t.startsWith(n, r);
|
|
@@ -2697,7 +2702,7 @@ var Ye = qn ? (
|
|
|
2697
2702
|
function(t, n, r) {
|
|
2698
2703
|
return t.slice(r, r + n.length) === n;
|
|
2699
2704
|
}
|
|
2700
|
-
),
|
|
2705
|
+
), Ie = Yn ? String.fromCodePoint : (
|
|
2701
2706
|
// IE11
|
|
2702
2707
|
function() {
|
|
2703
2708
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
@@ -2709,9 +2714,9 @@ var Ye = qn ? (
|
|
|
2709
2714
|
}
|
|
2710
2715
|
return r;
|
|
2711
2716
|
}
|
|
2712
|
-
),
|
|
2717
|
+
), tt = (
|
|
2713
2718
|
// native
|
|
2714
|
-
|
|
2719
|
+
Kn ? Object.fromEntries : (
|
|
2715
2720
|
// Ponyfill
|
|
2716
2721
|
function(t) {
|
|
2717
2722
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
@@ -2721,7 +2726,7 @@ var Ye = qn ? (
|
|
|
2721
2726
|
return n;
|
|
2722
2727
|
}
|
|
2723
2728
|
)
|
|
2724
|
-
),
|
|
2729
|
+
), Ot = er ? (
|
|
2725
2730
|
// Native
|
|
2726
2731
|
function(t, n) {
|
|
2727
2732
|
return t.codePointAt(n);
|
|
@@ -2735,7 +2740,7 @@ var Ye = qn ? (
|
|
|
2735
2740
|
return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2736
2741
|
}
|
|
2737
2742
|
}
|
|
2738
|
-
),
|
|
2743
|
+
), ar = tr ? (
|
|
2739
2744
|
// Native
|
|
2740
2745
|
function(t) {
|
|
2741
2746
|
return t.trimStart();
|
|
@@ -2743,9 +2748,9 @@ var Ye = qn ? (
|
|
|
2743
2748
|
) : (
|
|
2744
2749
|
// Ponyfill
|
|
2745
2750
|
function(t) {
|
|
2746
|
-
return t.replace(
|
|
2751
|
+
return t.replace(Qn, "");
|
|
2747
2752
|
}
|
|
2748
|
-
),
|
|
2753
|
+
), or = nr ? (
|
|
2749
2754
|
// Native
|
|
2750
2755
|
function(t) {
|
|
2751
2756
|
return t.trimEnd();
|
|
@@ -2753,32 +2758,32 @@ var Ye = qn ? (
|
|
|
2753
2758
|
) : (
|
|
2754
2759
|
// Ponyfill
|
|
2755
2760
|
function(t) {
|
|
2756
|
-
return t.replace(
|
|
2761
|
+
return t.replace(qn, "");
|
|
2757
2762
|
}
|
|
2758
2763
|
);
|
|
2759
|
-
function
|
|
2764
|
+
function It(e, t) {
|
|
2760
2765
|
return new RegExp(e, t);
|
|
2761
2766
|
}
|
|
2762
|
-
var
|
|
2763
|
-
if (
|
|
2764
|
-
var
|
|
2765
|
-
|
|
2767
|
+
var Le;
|
|
2768
|
+
if (Oe) {
|
|
2769
|
+
var nt = It("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2770
|
+
Le = function(t, n) {
|
|
2766
2771
|
var r;
|
|
2767
|
-
|
|
2768
|
-
var i =
|
|
2772
|
+
nt.lastIndex = n;
|
|
2773
|
+
var i = nt.exec(t);
|
|
2769
2774
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2770
2775
|
};
|
|
2771
2776
|
} else
|
|
2772
|
-
|
|
2777
|
+
Le = function(t, n) {
|
|
2773
2778
|
for (var r = []; ; ) {
|
|
2774
|
-
var i =
|
|
2775
|
-
if (i === void 0 ||
|
|
2779
|
+
var i = Ot(t, n);
|
|
2780
|
+
if (i === void 0 || Lt(i) || fr(i))
|
|
2776
2781
|
break;
|
|
2777
2782
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2778
2783
|
}
|
|
2779
|
-
return
|
|
2784
|
+
return Ie.apply(void 0, r);
|
|
2780
2785
|
};
|
|
2781
|
-
var
|
|
2786
|
+
var ur = (
|
|
2782
2787
|
/** @class */
|
|
2783
2788
|
function() {
|
|
2784
2789
|
function e(t, n) {
|
|
@@ -2809,7 +2814,7 @@ var or = (
|
|
|
2809
2814
|
if (r)
|
|
2810
2815
|
break;
|
|
2811
2816
|
return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
|
|
2812
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2817
|
+
} else if (s === 60 && !this.ignoreTag && Ce(this.peek() || 0)) {
|
|
2813
2818
|
var a = this.parseTag(t, n);
|
|
2814
2819
|
if (a.err)
|
|
2815
2820
|
return a;
|
|
@@ -2842,7 +2847,7 @@ var or = (
|
|
|
2842
2847
|
return s;
|
|
2843
2848
|
var a = s.val, u = this.clonePosition();
|
|
2844
2849
|
if (this.bumpIf("</")) {
|
|
2845
|
-
if (this.isEOF() || !
|
|
2850
|
+
if (this.isEOF() || !Ce(this.char()))
|
|
2846
2851
|
return this.error(d.INVALID_TAG, p(u, this.clonePosition()));
|
|
2847
2852
|
var l = this.clonePosition(), o = this.parseTagName();
|
|
2848
2853
|
return i !== o ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -2860,7 +2865,7 @@ var or = (
|
|
|
2860
2865
|
return this.error(d.INVALID_TAG, p(r, this.clonePosition()));
|
|
2861
2866
|
}, e.prototype.parseTagName = function() {
|
|
2862
2867
|
var t = this.offset();
|
|
2863
|
-
for (this.bump(); !this.isEOF() &&
|
|
2868
|
+
for (this.bump(); !this.isEOF() && lr(this.char()); )
|
|
2864
2869
|
this.bump();
|
|
2865
2870
|
return this.message.slice(t, this.offset());
|
|
2866
2871
|
}, e.prototype.parseLiteral = function(t, n) {
|
|
@@ -2889,7 +2894,7 @@ var or = (
|
|
|
2889
2894
|
};
|
|
2890
2895
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2891
2896
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2892
|
-
!
|
|
2897
|
+
!hr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2893
2898
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2894
2899
|
if (this.isEOF() || this.char() !== 39)
|
|
2895
2900
|
return null;
|
|
@@ -2923,12 +2928,12 @@ var or = (
|
|
|
2923
2928
|
n.push(r);
|
|
2924
2929
|
this.bump();
|
|
2925
2930
|
}
|
|
2926
|
-
return
|
|
2931
|
+
return Ie.apply(void 0, n);
|
|
2927
2932
|
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
2928
2933
|
if (this.isEOF())
|
|
2929
2934
|
return null;
|
|
2930
2935
|
var r = this.char();
|
|
2931
|
-
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(),
|
|
2936
|
+
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Ie(r));
|
|
2932
2937
|
}, e.prototype.parseArgument = function(t, n) {
|
|
2933
2938
|
var r = this.clonePosition();
|
|
2934
2939
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2957,7 +2962,7 @@ var or = (
|
|
|
2957
2962
|
return this.error(d.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
|
|
2958
2963
|
}
|
|
2959
2964
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2960
|
-
var t = this.clonePosition(), n = this.offset(), r =
|
|
2965
|
+
var t = this.clonePosition(), n = this.offset(), r = Le(this.message, n), i = n + r.length;
|
|
2961
2966
|
this.bumpTo(i);
|
|
2962
2967
|
var s = this.clonePosition(), a = p(t, s);
|
|
2963
2968
|
return { value: r, location: a };
|
|
@@ -2976,7 +2981,7 @@ var or = (
|
|
|
2976
2981
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2977
2982
|
if (m.err)
|
|
2978
2983
|
return m;
|
|
2979
|
-
var f =
|
|
2984
|
+
var f = or(m.val);
|
|
2980
2985
|
if (f.length === 0)
|
|
2981
2986
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2982
2987
|
var b = p(h, this.clonePosition());
|
|
@@ -2986,8 +2991,8 @@ var or = (
|
|
|
2986
2991
|
if (y.err)
|
|
2987
2992
|
return y;
|
|
2988
2993
|
var _ = p(i, this.clonePosition());
|
|
2989
|
-
if (o &&
|
|
2990
|
-
var T =
|
|
2994
|
+
if (o && et(o == null ? void 0 : o.style, "::", 0)) {
|
|
2995
|
+
var T = ar(o.style.slice(2));
|
|
2991
2996
|
if (u === "number") {
|
|
2992
2997
|
var m = this.parseNumberSkeletonFromString(T, o.styleLocation);
|
|
2993
2998
|
return m.err ? m : {
|
|
@@ -2998,12 +3003,12 @@ var or = (
|
|
|
2998
3003
|
if (T.length === 0)
|
|
2999
3004
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
3000
3005
|
var P = T;
|
|
3001
|
-
this.locale && (P =
|
|
3006
|
+
this.locale && (P = Wn(T, this.locale));
|
|
3002
3007
|
var f = {
|
|
3003
3008
|
type: k.dateTime,
|
|
3004
3009
|
pattern: P,
|
|
3005
3010
|
location: o.styleLocation,
|
|
3006
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3011
|
+
parsedOptions: this.shouldParseSkeletons ? Gn(P) : {}
|
|
3007
3012
|
}, w = u === "date" ? v.date : v.time;
|
|
3008
3013
|
return {
|
|
3009
3014
|
val: { type: w, value: r, location: _, style: f },
|
|
@@ -3049,7 +3054,7 @@ var or = (
|
|
|
3049
3054
|
val: {
|
|
3050
3055
|
type: v.select,
|
|
3051
3056
|
value: r,
|
|
3052
|
-
options:
|
|
3057
|
+
options: tt(I.val),
|
|
3053
3058
|
location: c
|
|
3054
3059
|
},
|
|
3055
3060
|
err: null
|
|
@@ -3057,7 +3062,7 @@ var or = (
|
|
|
3057
3062
|
val: {
|
|
3058
3063
|
type: v.plural,
|
|
3059
3064
|
value: r,
|
|
3060
|
-
options:
|
|
3065
|
+
options: tt(I.val),
|
|
3061
3066
|
offset: x,
|
|
3062
3067
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
3063
3068
|
location: c
|
|
@@ -3108,7 +3113,7 @@ var or = (
|
|
|
3108
3113
|
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
3109
3114
|
var r = [];
|
|
3110
3115
|
try {
|
|
3111
|
-
r =
|
|
3116
|
+
r = jn(t);
|
|
3112
3117
|
} catch (i) {
|
|
3113
3118
|
return this.error(d.INVALID_NUMBER_SKELETON, n);
|
|
3114
3119
|
}
|
|
@@ -3117,7 +3122,7 @@ var or = (
|
|
|
3117
3122
|
type: k.number,
|
|
3118
3123
|
tokens: r,
|
|
3119
3124
|
location: n,
|
|
3120
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3125
|
+
parsedOptions: this.shouldParseSkeletons ? zn(r) : {}
|
|
3121
3126
|
},
|
|
3122
3127
|
err: null
|
|
3123
3128
|
};
|
|
@@ -3165,7 +3170,7 @@ var or = (
|
|
|
3165
3170
|
break;
|
|
3166
3171
|
}
|
|
3167
3172
|
var l = p(i, this.clonePosition());
|
|
3168
|
-
return s ? (a *= r,
|
|
3173
|
+
return s ? (a *= r, ir(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
|
|
3169
3174
|
}, e.prototype.offset = function() {
|
|
3170
3175
|
return this.position.offset;
|
|
3171
3176
|
}, e.prototype.isEOF = function() {
|
|
@@ -3180,7 +3185,7 @@ var or = (
|
|
|
3180
3185
|
var t = this.position.offset;
|
|
3181
3186
|
if (t >= this.message.length)
|
|
3182
3187
|
throw Error("out of bound");
|
|
3183
|
-
var n =
|
|
3188
|
+
var n = Ot(this.message, t);
|
|
3184
3189
|
if (n === void 0)
|
|
3185
3190
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3186
3191
|
return n;
|
|
@@ -3199,7 +3204,7 @@ var or = (
|
|
|
3199
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);
|
|
3200
3205
|
}
|
|
3201
3206
|
}, e.prototype.bumpIf = function(t) {
|
|
3202
|
-
if (
|
|
3207
|
+
if (et(this.message, t, this.offset())) {
|
|
3203
3208
|
for (var n = 0; n < t.length; n++)
|
|
3204
3209
|
this.bump();
|
|
3205
3210
|
return !0;
|
|
@@ -3221,7 +3226,7 @@ var or = (
|
|
|
3221
3226
|
break;
|
|
3222
3227
|
}
|
|
3223
3228
|
}, e.prototype.bumpSpace = function() {
|
|
3224
|
-
for (; !this.isEOF() &&
|
|
3229
|
+
for (; !this.isEOF() && Lt(this.char()); )
|
|
3225
3230
|
this.bump();
|
|
3226
3231
|
}, e.prototype.peek = function() {
|
|
3227
3232
|
if (this.isEOF())
|
|
@@ -3231,47 +3236,47 @@ var or = (
|
|
|
3231
3236
|
}, e;
|
|
3232
3237
|
}()
|
|
3233
3238
|
);
|
|
3234
|
-
function
|
|
3239
|
+
function Ce(e) {
|
|
3235
3240
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3236
3241
|
}
|
|
3237
|
-
function ur(e) {
|
|
3238
|
-
return Le(e) || e === 47;
|
|
3239
|
-
}
|
|
3240
3242
|
function hr(e) {
|
|
3243
|
+
return Ce(e) || e === 47;
|
|
3244
|
+
}
|
|
3245
|
+
function lr(e) {
|
|
3241
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;
|
|
3242
3247
|
}
|
|
3243
|
-
function
|
|
3248
|
+
function Lt(e) {
|
|
3244
3249
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3245
3250
|
}
|
|
3246
|
-
function
|
|
3251
|
+
function fr(e) {
|
|
3247
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;
|
|
3248
3253
|
}
|
|
3249
|
-
function
|
|
3254
|
+
function Me(e) {
|
|
3250
3255
|
e.forEach(function(t) {
|
|
3251
|
-
if (delete t.location,
|
|
3256
|
+
if (delete t.location, Ht(t) || Tt(t))
|
|
3252
3257
|
for (var n in t.options)
|
|
3253
|
-
delete t.options[n].location,
|
|
3258
|
+
delete t.options[n].location, Me(t.options[n].value);
|
|
3254
3259
|
else
|
|
3255
|
-
|
|
3260
|
+
vt(t) && Bt(t.style) || (_t(t) || xt(t)) && Ne(t.style) ? delete t.style.location : St(t) && Me(t.children);
|
|
3256
3261
|
});
|
|
3257
3262
|
}
|
|
3258
|
-
function
|
|
3263
|
+
function cr(e, t) {
|
|
3259
3264
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3260
|
-
var n = new
|
|
3265
|
+
var n = new ur(e, t).parse();
|
|
3261
3266
|
if (n.err) {
|
|
3262
3267
|
var r = SyntaxError(d[n.err.kind]);
|
|
3263
3268
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3264
3269
|
}
|
|
3265
|
-
return t != null && t.captureLocation ||
|
|
3270
|
+
return t != null && t.captureLocation || Me(n.val), n.val;
|
|
3266
3271
|
}
|
|
3267
3272
|
var V;
|
|
3268
3273
|
(function(e) {
|
|
3269
3274
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3270
3275
|
})(V || (V = {}));
|
|
3271
|
-
var
|
|
3276
|
+
var de = (
|
|
3272
3277
|
/** @class */
|
|
3273
3278
|
function(e) {
|
|
3274
|
-
|
|
3279
|
+
me(t, e);
|
|
3275
3280
|
function t(n, r, i) {
|
|
3276
3281
|
var s = e.call(this, n) || this;
|
|
3277
3282
|
return s.code = r, s.originalMessage = i, s;
|
|
@@ -3280,48 +3285,48 @@ var ge = (
|
|
|
3280
3285
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3281
3286
|
}, t;
|
|
3282
3287
|
}(Error)
|
|
3283
|
-
),
|
|
3288
|
+
), rt = (
|
|
3284
3289
|
/** @class */
|
|
3285
3290
|
function(e) {
|
|
3286
|
-
|
|
3291
|
+
me(t, e);
|
|
3287
3292
|
function t(n, r, i, s) {
|
|
3288
3293
|
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
|
|
3289
3294
|
}
|
|
3290
3295
|
return t;
|
|
3291
|
-
}(
|
|
3292
|
-
),
|
|
3296
|
+
}(de)
|
|
3297
|
+
), mr = (
|
|
3293
3298
|
/** @class */
|
|
3294
3299
|
function(e) {
|
|
3295
|
-
|
|
3300
|
+
me(t, e);
|
|
3296
3301
|
function t(n, r, i) {
|
|
3297
3302
|
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), V.INVALID_VALUE, i) || this;
|
|
3298
3303
|
}
|
|
3299
3304
|
return t;
|
|
3300
|
-
}(
|
|
3301
|
-
),
|
|
3305
|
+
}(de)
|
|
3306
|
+
), gr = (
|
|
3302
3307
|
/** @class */
|
|
3303
3308
|
function(e) {
|
|
3304
|
-
|
|
3309
|
+
me(t, e);
|
|
3305
3310
|
function t(n, r) {
|
|
3306
3311
|
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), V.MISSING_VALUE, r) || this;
|
|
3307
3312
|
}
|
|
3308
3313
|
return t;
|
|
3309
|
-
}(
|
|
3314
|
+
}(de)
|
|
3310
3315
|
), A;
|
|
3311
3316
|
(function(e) {
|
|
3312
3317
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3313
3318
|
})(A || (A = {}));
|
|
3314
|
-
function
|
|
3319
|
+
function dr(e) {
|
|
3315
3320
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3316
3321
|
var r = t[t.length - 1];
|
|
3317
3322
|
return !r || r.type !== A.literal || n.type !== A.literal ? t.push(n) : r.value += n.value, t;
|
|
3318
3323
|
}, []);
|
|
3319
3324
|
}
|
|
3320
|
-
function
|
|
3325
|
+
function br(e) {
|
|
3321
3326
|
return typeof e == "function";
|
|
3322
3327
|
}
|
|
3323
3328
|
function oe(e, t, n, r, i, s, a) {
|
|
3324
|
-
if (e.length === 1 &&
|
|
3329
|
+
if (e.length === 1 && qe(e[0]))
|
|
3325
3330
|
return [
|
|
3326
3331
|
{
|
|
3327
3332
|
type: A.literal,
|
|
@@ -3330,14 +3335,14 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3330
3335
|
];
|
|
3331
3336
|
for (var u = [], l = 0, o = e; l < o.length; l++) {
|
|
3332
3337
|
var h = o[l];
|
|
3333
|
-
if (
|
|
3338
|
+
if (qe(h)) {
|
|
3334
3339
|
u.push({
|
|
3335
3340
|
type: A.literal,
|
|
3336
3341
|
value: h.value
|
|
3337
3342
|
});
|
|
3338
3343
|
continue;
|
|
3339
3344
|
}
|
|
3340
|
-
if (
|
|
3345
|
+
if (Un(h)) {
|
|
3341
3346
|
typeof s == "number" && u.push({
|
|
3342
3347
|
type: A.literal,
|
|
3343
3348
|
value: n.getNumberFormat(t).format(s)
|
|
@@ -3346,43 +3351,43 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3346
3351
|
}
|
|
3347
3352
|
var m = h.value;
|
|
3348
3353
|
if (!(i && m in i))
|
|
3349
|
-
throw new
|
|
3354
|
+
throw new gr(m, a);
|
|
3350
3355
|
var f = i[m];
|
|
3351
|
-
if (
|
|
3356
|
+
if ($n(h)) {
|
|
3352
3357
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3353
3358
|
type: typeof f == "string" ? A.literal : A.object,
|
|
3354
3359
|
value: f
|
|
3355
3360
|
});
|
|
3356
3361
|
continue;
|
|
3357
3362
|
}
|
|
3358
|
-
if (
|
|
3359
|
-
var b = typeof h.style == "string" ? r.date[h.style] :
|
|
3363
|
+
if (_t(h)) {
|
|
3364
|
+
var b = typeof h.style == "string" ? r.date[h.style] : Ne(h.style) ? h.style.parsedOptions : void 0;
|
|
3360
3365
|
u.push({
|
|
3361
3366
|
type: A.literal,
|
|
3362
3367
|
value: n.getDateTimeFormat(t, b).format(f)
|
|
3363
3368
|
});
|
|
3364
3369
|
continue;
|
|
3365
3370
|
}
|
|
3366
|
-
if (
|
|
3367
|
-
var b = typeof h.style == "string" ? r.time[h.style] :
|
|
3371
|
+
if (xt(h)) {
|
|
3372
|
+
var b = typeof h.style == "string" ? r.time[h.style] : Ne(h.style) ? h.style.parsedOptions : r.time.medium;
|
|
3368
3373
|
u.push({
|
|
3369
3374
|
type: A.literal,
|
|
3370
3375
|
value: n.getDateTimeFormat(t, b).format(f)
|
|
3371
3376
|
});
|
|
3372
3377
|
continue;
|
|
3373
3378
|
}
|
|
3374
|
-
if (
|
|
3375
|
-
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;
|
|
3376
3381
|
b && b.scale && (f = f * (b.scale || 1)), u.push({
|
|
3377
3382
|
type: A.literal,
|
|
3378
3383
|
value: n.getNumberFormat(t, b).format(f)
|
|
3379
3384
|
});
|
|
3380
3385
|
continue;
|
|
3381
3386
|
}
|
|
3382
|
-
if (
|
|
3387
|
+
if (St(h)) {
|
|
3383
3388
|
var y = h.children, _ = h.value, T = i[_];
|
|
3384
|
-
if (!
|
|
3385
|
-
throw new
|
|
3389
|
+
if (!br(T))
|
|
3390
|
+
throw new mr(_, "function", a);
|
|
3386
3391
|
var P = oe(y, t, n, r, i, s), w = T(P.map(function(x) {
|
|
3387
3392
|
return x.value;
|
|
3388
3393
|
}));
|
|
@@ -3393,42 +3398,42 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3393
3398
|
};
|
|
3394
3399
|
}));
|
|
3395
3400
|
}
|
|
3396
|
-
if (
|
|
3401
|
+
if (Ht(h)) {
|
|
3397
3402
|
var B = h.options[f] || h.options.other;
|
|
3398
3403
|
if (!B)
|
|
3399
|
-
throw new
|
|
3404
|
+
throw new rt(h.value, f, Object.keys(h.options), a);
|
|
3400
3405
|
u.push.apply(u, oe(B.value, t, n, r, i));
|
|
3401
3406
|
continue;
|
|
3402
3407
|
}
|
|
3403
|
-
if (
|
|
3408
|
+
if (Tt(h)) {
|
|
3404
3409
|
var B = h.options["=".concat(f)];
|
|
3405
3410
|
if (!B) {
|
|
3406
3411
|
if (!Intl.PluralRules)
|
|
3407
|
-
throw new
|
|
3412
|
+
throw new de(`Intl.PluralRules is not available in this environment.
|
|
3408
3413
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3409
3414
|
`, V.MISSING_INTL_API, a);
|
|
3410
3415
|
var N = n.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3411
3416
|
B = h.options[N] || h.options.other;
|
|
3412
3417
|
}
|
|
3413
3418
|
if (!B)
|
|
3414
|
-
throw new
|
|
3419
|
+
throw new rt(h.value, f, Object.keys(h.options), a);
|
|
3415
3420
|
u.push.apply(u, oe(B.value, t, n, r, i, f - (h.offset || 0)));
|
|
3416
3421
|
continue;
|
|
3417
3422
|
}
|
|
3418
3423
|
}
|
|
3419
|
-
return
|
|
3424
|
+
return dr(u);
|
|
3420
3425
|
}
|
|
3421
|
-
function
|
|
3426
|
+
function pr(e, t) {
|
|
3422
3427
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3423
3428
|
return n[r] = E(E({}, e[r]), t[r] || {}), n;
|
|
3424
3429
|
}, {})) : e;
|
|
3425
3430
|
}
|
|
3426
|
-
function
|
|
3431
|
+
function yr(e, t) {
|
|
3427
3432
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3428
|
-
return n[r] =
|
|
3433
|
+
return n[r] = pr(e[r], t[r]), n;
|
|
3429
3434
|
}, E({}, e)) : e;
|
|
3430
3435
|
}
|
|
3431
|
-
function
|
|
3436
|
+
function Te(e) {
|
|
3432
3437
|
return {
|
|
3433
3438
|
create: function() {
|
|
3434
3439
|
return {
|
|
@@ -3442,39 +3447,39 @@ function He(e) {
|
|
|
3442
3447
|
}
|
|
3443
3448
|
};
|
|
3444
3449
|
}
|
|
3445
|
-
function
|
|
3450
|
+
function Er(e) {
|
|
3446
3451
|
return e === void 0 && (e = {
|
|
3447
3452
|
number: {},
|
|
3448
3453
|
dateTime: {},
|
|
3449
3454
|
pluralRules: {}
|
|
3450
3455
|
}), {
|
|
3451
|
-
getNumberFormat:
|
|
3456
|
+
getNumberFormat: _e(function() {
|
|
3452
3457
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3453
3458
|
n[r] = arguments[r];
|
|
3454
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3459
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ve([void 0], n, !1)))();
|
|
3455
3460
|
}, {
|
|
3456
|
-
cache:
|
|
3457
|
-
strategy:
|
|
3461
|
+
cache: Te(e.number),
|
|
3462
|
+
strategy: xe.variadic
|
|
3458
3463
|
}),
|
|
3459
|
-
getDateTimeFormat:
|
|
3464
|
+
getDateTimeFormat: _e(function() {
|
|
3460
3465
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3461
3466
|
n[r] = arguments[r];
|
|
3462
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3467
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ve([void 0], n, !1)))();
|
|
3463
3468
|
}, {
|
|
3464
|
-
cache:
|
|
3465
|
-
strategy:
|
|
3469
|
+
cache: Te(e.dateTime),
|
|
3470
|
+
strategy: xe.variadic
|
|
3466
3471
|
}),
|
|
3467
|
-
getPluralRules:
|
|
3472
|
+
getPluralRules: _e(function() {
|
|
3468
3473
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3469
3474
|
n[r] = arguments[r];
|
|
3470
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3475
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ve([void 0], n, !1)))();
|
|
3471
3476
|
}, {
|
|
3472
|
-
cache:
|
|
3473
|
-
strategy:
|
|
3477
|
+
cache: Te(e.pluralRules),
|
|
3478
|
+
strategy: xe.variadic
|
|
3474
3479
|
})
|
|
3475
3480
|
};
|
|
3476
3481
|
}
|
|
3477
|
-
var
|
|
3482
|
+
var vr = (
|
|
3478
3483
|
/** @class */
|
|
3479
3484
|
function() {
|
|
3480
3485
|
function e(t, n, r, i) {
|
|
@@ -3506,13 +3511,13 @@ var Er = (
|
|
|
3506
3511
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3507
3512
|
var a = i || {};
|
|
3508
3513
|
a.formatters;
|
|
3509
|
-
var u =
|
|
3514
|
+
var u = mn(a, ["formatters"]);
|
|
3510
3515
|
this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
|
|
3511
3516
|
} else
|
|
3512
3517
|
this.ast = t;
|
|
3513
3518
|
if (!Array.isArray(this.ast))
|
|
3514
3519
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3515
|
-
this.formats =
|
|
3520
|
+
this.formats = yr(e.formats, r), this.formatters = i && i.formatters || Er(this.formatterCache);
|
|
3516
3521
|
}
|
|
3517
3522
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3518
3523
|
get: function() {
|
|
@@ -3525,7 +3530,7 @@ var Er = (
|
|
|
3525
3530
|
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3526
3531
|
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3527
3532
|
}
|
|
3528
|
-
}, e.__parse =
|
|
3533
|
+
}, e.__parse = cr, e.formats = {
|
|
3529
3534
|
number: {
|
|
3530
3535
|
integer: {
|
|
3531
3536
|
maximumFractionDigits: 0
|
|
@@ -3586,7 +3591,7 @@ var Er = (
|
|
|
3586
3591
|
}, e;
|
|
3587
3592
|
}()
|
|
3588
3593
|
);
|
|
3589
|
-
function
|
|
3594
|
+
function _r(e, t) {
|
|
3590
3595
|
if (t == null)
|
|
3591
3596
|
return;
|
|
3592
3597
|
if (t in e)
|
|
@@ -3607,92 +3612,92 @@ function vr(e, t) {
|
|
|
3607
3612
|
r = void 0;
|
|
3608
3613
|
return r;
|
|
3609
3614
|
}
|
|
3610
|
-
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) => {
|
|
3611
3616
|
if (t == null)
|
|
3612
3617
|
return;
|
|
3613
3618
|
if (t in M && e in M[t])
|
|
3614
3619
|
return M[t][e];
|
|
3615
|
-
const n =
|
|
3620
|
+
const n = be(t);
|
|
3616
3621
|
for (let r = 0; r < n.length; r++) {
|
|
3617
|
-
const i = n[r], s =
|
|
3622
|
+
const i = n[r], s = Tr(i, e);
|
|
3618
3623
|
if (s)
|
|
3619
|
-
return
|
|
3624
|
+
return xr(e, t, s);
|
|
3620
3625
|
}
|
|
3621
3626
|
};
|
|
3622
|
-
let
|
|
3623
|
-
const Z =
|
|
3624
|
-
function
|
|
3625
|
-
return
|
|
3627
|
+
let Fe;
|
|
3628
|
+
const Z = ge({});
|
|
3629
|
+
function Hr(e) {
|
|
3630
|
+
return Fe[e] || null;
|
|
3626
3631
|
}
|
|
3627
|
-
function
|
|
3628
|
-
return e in
|
|
3632
|
+
function Mt(e) {
|
|
3633
|
+
return e in Fe;
|
|
3629
3634
|
}
|
|
3630
|
-
function
|
|
3631
|
-
if (!
|
|
3635
|
+
function Tr(e, t) {
|
|
3636
|
+
if (!Mt(e))
|
|
3632
3637
|
return null;
|
|
3633
|
-
const n =
|
|
3634
|
-
return
|
|
3638
|
+
const n = Hr(e);
|
|
3639
|
+
return _r(n, t);
|
|
3635
3640
|
}
|
|
3636
|
-
function
|
|
3641
|
+
function Sr(e) {
|
|
3637
3642
|
if (e == null)
|
|
3638
3643
|
return;
|
|
3639
|
-
const t =
|
|
3644
|
+
const t = be(e);
|
|
3640
3645
|
for (let n = 0; n < t.length; n++) {
|
|
3641
3646
|
const r = t[n];
|
|
3642
|
-
if (
|
|
3647
|
+
if (Mt(r))
|
|
3643
3648
|
return r;
|
|
3644
3649
|
}
|
|
3645
3650
|
}
|
|
3646
|
-
function
|
|
3647
|
-
delete M[e], Z.update((n) => (n[e] =
|
|
3651
|
+
function Br(e, ...t) {
|
|
3652
|
+
delete M[e], Z.update((n) => (n[e] = Nn.all([n[e] || {}, ...t]), n));
|
|
3648
3653
|
}
|
|
3649
3654
|
W(
|
|
3650
3655
|
[Z],
|
|
3651
3656
|
([e]) => Object.keys(e)
|
|
3652
3657
|
);
|
|
3653
|
-
Z.subscribe((e) =>
|
|
3658
|
+
Z.subscribe((e) => Fe = e);
|
|
3654
3659
|
const ue = {};
|
|
3655
|
-
function
|
|
3660
|
+
function Ar(e, t) {
|
|
3656
3661
|
ue[e].delete(t), ue[e].size === 0 && delete ue[e];
|
|
3657
3662
|
}
|
|
3658
|
-
function
|
|
3663
|
+
function Rt(e) {
|
|
3659
3664
|
return ue[e];
|
|
3660
3665
|
}
|
|
3661
|
-
function
|
|
3662
|
-
return
|
|
3663
|
-
const n =
|
|
3666
|
+
function wr(e) {
|
|
3667
|
+
return be(e).map((t) => {
|
|
3668
|
+
const n = Rt(t);
|
|
3664
3669
|
return [t, n ? [...n] : []];
|
|
3665
3670
|
}).filter(([, t]) => t.length > 0);
|
|
3666
3671
|
}
|
|
3667
|
-
function
|
|
3668
|
-
return e == null ? !1 :
|
|
3672
|
+
function Re(e) {
|
|
3673
|
+
return e == null ? !1 : be(e).some(
|
|
3669
3674
|
(t) => {
|
|
3670
3675
|
var n;
|
|
3671
|
-
return (n =
|
|
3676
|
+
return (n = Rt(t)) == null ? void 0 : n.size;
|
|
3672
3677
|
}
|
|
3673
3678
|
);
|
|
3674
3679
|
}
|
|
3675
|
-
function
|
|
3680
|
+
function Pr(e, t) {
|
|
3676
3681
|
return Promise.all(
|
|
3677
|
-
t.map((r) => (
|
|
3678
|
-
).then((r) =>
|
|
3682
|
+
t.map((r) => (Ar(e, r), r().then((i) => i.default || i)))
|
|
3683
|
+
).then((r) => Br(e, ...r));
|
|
3679
3684
|
}
|
|
3680
3685
|
const q = {};
|
|
3681
|
-
function
|
|
3682
|
-
if (!
|
|
3686
|
+
function $t(e) {
|
|
3687
|
+
if (!Re(e))
|
|
3683
3688
|
return e in q ? q[e] : Promise.resolve();
|
|
3684
|
-
const t =
|
|
3689
|
+
const t = wr(e);
|
|
3685
3690
|
return q[e] = Promise.all(
|
|
3686
3691
|
t.map(
|
|
3687
|
-
([n, r]) =>
|
|
3692
|
+
([n, r]) => Pr(n, r)
|
|
3688
3693
|
)
|
|
3689
3694
|
).then(() => {
|
|
3690
|
-
if (
|
|
3691
|
-
return
|
|
3695
|
+
if (Re(e))
|
|
3696
|
+
return $t(e);
|
|
3692
3697
|
delete q[e];
|
|
3693
3698
|
}), q[e];
|
|
3694
3699
|
}
|
|
3695
|
-
const
|
|
3700
|
+
const Nr = {
|
|
3696
3701
|
number: {
|
|
3697
3702
|
scientific: { notation: "scientific" },
|
|
3698
3703
|
engineering: { notation: "engineering" },
|
|
@@ -3721,78 +3726,78 @@ const Pr = {
|
|
|
3721
3726
|
timeZoneName: "short"
|
|
3722
3727
|
}
|
|
3723
3728
|
}
|
|
3724
|
-
},
|
|
3729
|
+
}, Or = {
|
|
3725
3730
|
fallbackLocale: null,
|
|
3726
3731
|
loadingDelay: 200,
|
|
3727
|
-
formats:
|
|
3732
|
+
formats: Nr,
|
|
3728
3733
|
warnOnMissingMessages: !0,
|
|
3729
3734
|
handleMissingMessage: void 0,
|
|
3730
3735
|
ignoreTag: !0
|
|
3731
|
-
},
|
|
3736
|
+
}, Ir = Or;
|
|
3732
3737
|
function X() {
|
|
3733
|
-
return
|
|
3738
|
+
return Ir;
|
|
3734
3739
|
}
|
|
3735
|
-
const
|
|
3736
|
-
var
|
|
3740
|
+
const Se = ge(!1);
|
|
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) => {
|
|
3737
3742
|
for (var n in t || (t = {}))
|
|
3738
|
-
|
|
3739
|
-
if (
|
|
3740
|
-
for (var n of
|
|
3741
|
-
|
|
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]);
|
|
3742
3747
|
return e;
|
|
3743
|
-
},
|
|
3744
|
-
let
|
|
3745
|
-
const he =
|
|
3746
|
-
function
|
|
3748
|
+
}, Dr = (e, t) => Cr(e, Mr(t));
|
|
3749
|
+
let $e;
|
|
3750
|
+
const he = ge(null);
|
|
3751
|
+
function at(e) {
|
|
3747
3752
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3748
3753
|
}
|
|
3749
|
-
function
|
|
3750
|
-
const n =
|
|
3751
|
-
return t ? [.../* @__PURE__ */ new Set([...n, ...
|
|
3754
|
+
function be(e, t = X().fallbackLocale) {
|
|
3755
|
+
const n = at(e);
|
|
3756
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...at(t)])] : n;
|
|
3752
3757
|
}
|
|
3753
3758
|
function $() {
|
|
3754
|
-
return
|
|
3759
|
+
return $e != null ? $e : void 0;
|
|
3755
3760
|
}
|
|
3756
3761
|
he.subscribe((e) => {
|
|
3757
|
-
|
|
3762
|
+
$e = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3758
3763
|
});
|
|
3759
|
-
const
|
|
3760
|
-
if (e &&
|
|
3764
|
+
const Gr = (e) => {
|
|
3765
|
+
if (e && Sr(e) && Re(e)) {
|
|
3761
3766
|
const { loadingDelay: t } = X();
|
|
3762
3767
|
let n;
|
|
3763
3768
|
return typeof window != "undefined" && $() != null && t ? n = window.setTimeout(
|
|
3764
|
-
() =>
|
|
3769
|
+
() => Se.set(!0),
|
|
3765
3770
|
t
|
|
3766
|
-
) :
|
|
3771
|
+
) : Se.set(!0), $t(e).then(() => {
|
|
3767
3772
|
he.set(e);
|
|
3768
3773
|
}).finally(() => {
|
|
3769
|
-
clearTimeout(n),
|
|
3774
|
+
clearTimeout(n), Se.set(!1);
|
|
3770
3775
|
});
|
|
3771
3776
|
}
|
|
3772
3777
|
return he.set(e);
|
|
3773
|
-
}, R = Ur(
|
|
3774
|
-
set:
|
|
3775
|
-
}),
|
|
3778
|
+
}, R = Dr(Ur({}, he), {
|
|
3779
|
+
set: Gr
|
|
3780
|
+
}), pe = (e) => {
|
|
3776
3781
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3777
3782
|
return (r) => {
|
|
3778
3783
|
const i = JSON.stringify(r);
|
|
3779
3784
|
return i in t ? t[i] : t[i] = e(r);
|
|
3780
3785
|
};
|
|
3781
3786
|
};
|
|
3782
|
-
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) => {
|
|
3783
3788
|
for (var n in t || (t = {}))
|
|
3784
|
-
|
|
3789
|
+
Ut.call(t, n) && ot(e, n, t[n]);
|
|
3785
3790
|
if (le)
|
|
3786
3791
|
for (var n of le(t))
|
|
3787
|
-
|
|
3792
|
+
Dt.call(t, n) && ot(e, n, t[n]);
|
|
3788
3793
|
return e;
|
|
3789
3794
|
}, Q = (e, t) => {
|
|
3790
3795
|
var n = {};
|
|
3791
3796
|
for (var r in e)
|
|
3792
|
-
|
|
3797
|
+
Ut.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3793
3798
|
if (e != null && le)
|
|
3794
3799
|
for (var r of le(e))
|
|
3795
|
-
t.indexOf(r) < 0 &&
|
|
3800
|
+
t.indexOf(r) < 0 && Dt.call(e, r) && (n[r] = e[r]);
|
|
3796
3801
|
return n;
|
|
3797
3802
|
};
|
|
3798
3803
|
const ee = (e, t) => {
|
|
@@ -3800,21 +3805,21 @@ const ee = (e, t) => {
|
|
|
3800
3805
|
if (e in n && t in n[e])
|
|
3801
3806
|
return n[e][t];
|
|
3802
3807
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3803
|
-
},
|
|
3808
|
+
}, jr = pe(
|
|
3804
3809
|
(e) => {
|
|
3805
3810
|
var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
|
|
3806
3811
|
if (n == null)
|
|
3807
3812
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3808
3813
|
return r && (i = ee("number", r)), new Intl.NumberFormat(n, i);
|
|
3809
3814
|
}
|
|
3810
|
-
),
|
|
3815
|
+
), kr = pe(
|
|
3811
3816
|
(e) => {
|
|
3812
3817
|
var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
|
|
3813
3818
|
if (n == null)
|
|
3814
3819
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3815
3820
|
return r ? i = ee("date", r) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3816
3821
|
}
|
|
3817
|
-
),
|
|
3822
|
+
), Vr = pe(
|
|
3818
3823
|
(e) => {
|
|
3819
3824
|
var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
|
|
3820
3825
|
if (n == null)
|
|
@@ -3823,33 +3828,33 @@ const ee = (e, t) => {
|
|
|
3823
3828
|
);
|
|
3824
3829
|
return r ? i = ee("time", r) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3825
3830
|
}
|
|
3826
|
-
),
|
|
3831
|
+
), Xr = (e = {}) => {
|
|
3827
3832
|
var t = e, {
|
|
3828
3833
|
locale: n = $()
|
|
3829
3834
|
} = t, r = Q(t, [
|
|
3830
3835
|
"locale"
|
|
3831
3836
|
]);
|
|
3832
|
-
return
|
|
3833
|
-
},
|
|
3837
|
+
return jr(je({ locale: n }, r));
|
|
3838
|
+
}, zr = (e = {}) => {
|
|
3834
3839
|
var t = e, {
|
|
3835
3840
|
locale: n = $()
|
|
3836
3841
|
} = t, r = Q(t, [
|
|
3837
3842
|
"locale"
|
|
3838
3843
|
]);
|
|
3839
|
-
return
|
|
3840
|
-
},
|
|
3844
|
+
return kr(je({ locale: n }, r));
|
|
3845
|
+
}, Wr = (e = {}) => {
|
|
3841
3846
|
var t = e, {
|
|
3842
3847
|
locale: n = $()
|
|
3843
3848
|
} = t, r = Q(t, [
|
|
3844
3849
|
"locale"
|
|
3845
3850
|
]);
|
|
3846
|
-
return
|
|
3847
|
-
},
|
|
3851
|
+
return Vr(je({ locale: n }, r));
|
|
3852
|
+
}, Zr = pe(
|
|
3848
3853
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3849
|
-
(e, t = $()) => new
|
|
3854
|
+
(e, t = $()) => new vr(e, t, X().formats, {
|
|
3850
3855
|
ignoreTag: X().ignoreTag
|
|
3851
3856
|
})
|
|
3852
|
-
),
|
|
3857
|
+
), Qr = (e, t = {}) => {
|
|
3853
3858
|
var n, r, i, s;
|
|
3854
3859
|
let a = t;
|
|
3855
3860
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3862,7 +3867,7 @@ const ee = (e, t) => {
|
|
|
3862
3867
|
throw new Error(
|
|
3863
3868
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3864
3869
|
);
|
|
3865
|
-
let h =
|
|
3870
|
+
let h = Ct(e, l);
|
|
3866
3871
|
if (!h)
|
|
3867
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;
|
|
3868
3873
|
else if (typeof h != "string")
|
|
@@ -3873,7 +3878,7 @@ const ee = (e, t) => {
|
|
|
3873
3878
|
return h;
|
|
3874
3879
|
let m = h;
|
|
3875
3880
|
try {
|
|
3876
|
-
m =
|
|
3881
|
+
m = Zr(h, l).format(u);
|
|
3877
3882
|
} catch (f) {
|
|
3878
3883
|
f instanceof Error && console.warn(
|
|
3879
3884
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3881,18 +3886,18 @@ const ee = (e, t) => {
|
|
|
3881
3886
|
);
|
|
3882
3887
|
}
|
|
3883
3888
|
return m;
|
|
3884
|
-
},
|
|
3885
|
-
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);
|
|
3886
3890
|
W([R], () => qr);
|
|
3887
3891
|
W([R], () => Jr);
|
|
3888
|
-
W([R
|
|
3889
|
-
|
|
3892
|
+
W([R], () => Yr);
|
|
3893
|
+
W([R, Z], () => Kr);
|
|
3894
|
+
function ei(e, t) {
|
|
3890
3895
|
if (e) {
|
|
3891
3896
|
const n = document.createElement("style");
|
|
3892
3897
|
n.innerHTML = t, e.appendChild(n);
|
|
3893
3898
|
}
|
|
3894
3899
|
}
|
|
3895
|
-
function
|
|
3900
|
+
function ti(e, t) {
|
|
3896
3901
|
const n = new URL(t);
|
|
3897
3902
|
fetch(n.href).then((r) => r.text()).then((r) => {
|
|
3898
3903
|
const i = document.createElement("style");
|
|
@@ -3901,7 +3906,7 @@ function ei(e, t) {
|
|
|
3901
3906
|
console.error("There was an error while trying to load client styling from URL", r);
|
|
3902
3907
|
});
|
|
3903
3908
|
}
|
|
3904
|
-
function
|
|
3909
|
+
function ni(e, t, n) {
|
|
3905
3910
|
if (window.emMessageBus) {
|
|
3906
3911
|
const r = document.createElement("style");
|
|
3907
3912
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3909,7 +3914,7 @@ function ti(e, t, n) {
|
|
|
3909
3914
|
});
|
|
3910
3915
|
}
|
|
3911
3916
|
}
|
|
3912
|
-
function
|
|
3917
|
+
function ri({ withLocale: e, translations: t }) {
|
|
3913
3918
|
R.subscribe((n) => {
|
|
3914
3919
|
n == null && (Z.set(t), R.set(e));
|
|
3915
3920
|
});
|
|
@@ -3926,14 +3931,14 @@ if (typeof window != "undefined") {
|
|
|
3926
3931
|
}
|
|
3927
3932
|
};
|
|
3928
3933
|
};
|
|
3929
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3934
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-BtCN-f-p.js").then(({ default: t }) => {
|
|
3930
3935
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3931
3936
|
});
|
|
3932
3937
|
}
|
|
3933
|
-
function
|
|
3934
|
-
|
|
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))}");
|
|
3935
3940
|
}
|
|
3936
|
-
function
|
|
3941
|
+
function ut(e) {
|
|
3937
3942
|
let t;
|
|
3938
3943
|
return {
|
|
3939
3944
|
c() {
|
|
@@ -4030,7 +4035,7 @@ function at(e) {
|
|
|
4030
4035
|
);
|
|
4031
4036
|
},
|
|
4032
4037
|
m(n, r) {
|
|
4033
|
-
|
|
4038
|
+
ce(n, t, r);
|
|
4034
4039
|
},
|
|
4035
4040
|
p(n, r) {
|
|
4036
4041
|
r & /*session*/
|
|
@@ -4148,21 +4153,21 @@ function at(e) {
|
|
|
4148
4153
|
}
|
|
4149
4154
|
};
|
|
4150
4155
|
}
|
|
4151
|
-
function
|
|
4156
|
+
function si(e) {
|
|
4152
4157
|
let t, n = (
|
|
4153
4158
|
/*session*/
|
|
4154
|
-
e[4] &&
|
|
4159
|
+
e[4] && ut(e)
|
|
4155
4160
|
);
|
|
4156
4161
|
return {
|
|
4157
4162
|
c() {
|
|
4158
4163
|
t = ne("div"), n && n.c(), Ue(t, "class", "CasinoFavoritesSectionContainer");
|
|
4159
4164
|
},
|
|
4160
4165
|
m(r, i) {
|
|
4161
|
-
|
|
4166
|
+
ce(r, t, i), n && n.m(t, null), e[19](t);
|
|
4162
4167
|
},
|
|
4163
4168
|
p(r, [i]) {
|
|
4164
4169
|
/*session*/
|
|
4165
|
-
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);
|
|
4166
4171
|
},
|
|
4167
4172
|
i: O,
|
|
4168
4173
|
o: O,
|
|
@@ -4171,12 +4176,12 @@ function ii(e) {
|
|
|
4171
4176
|
}
|
|
4172
4177
|
};
|
|
4173
4178
|
}
|
|
4174
|
-
function
|
|
4179
|
+
function ai(e, t, n) {
|
|
4175
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;
|
|
4176
|
-
|
|
4181
|
+
ri({ withLocale: "en", translations: {} }), tn(() => () => {
|
|
4177
4182
|
});
|
|
4178
4183
|
function I(c) {
|
|
4179
|
-
|
|
4184
|
+
Be[c ? "unshift" : "push"](() => {
|
|
4180
4185
|
x = c, n(18, x);
|
|
4181
4186
|
});
|
|
4182
4187
|
}
|
|
@@ -4184,9 +4189,9 @@ function si(e, t, n) {
|
|
|
4184
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);
|
|
4185
4190
|
}, e.$$.update = () => {
|
|
4186
4191
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4187
|
-
262208 && o && x &&
|
|
4188
|
-
262272 && h && x &&
|
|
4189
|
-
393216 && x &&
|
|
4192
|
+
262208 && o && x && ei(x, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4193
|
+
262272 && h && x && ti(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4194
|
+
393216 && x && ni(x, `${N}.Style`);
|
|
4190
4195
|
}, [
|
|
4191
4196
|
r,
|
|
4192
4197
|
i,
|
|
@@ -4210,14 +4215,14 @@ function si(e, t, n) {
|
|
|
4210
4215
|
I
|
|
4211
4216
|
];
|
|
4212
4217
|
}
|
|
4213
|
-
class
|
|
4218
|
+
class Gt extends fn {
|
|
4214
4219
|
constructor(t) {
|
|
4215
|
-
super(),
|
|
4220
|
+
super(), hn(
|
|
4216
4221
|
this,
|
|
4217
4222
|
t,
|
|
4223
|
+
ai,
|
|
4218
4224
|
si,
|
|
4219
|
-
|
|
4220
|
-
ut,
|
|
4225
|
+
lt,
|
|
4221
4226
|
{
|
|
4222
4227
|
endpoint: 0,
|
|
4223
4228
|
datasource: 1,
|
|
@@ -4238,7 +4243,7 @@ class Ut extends hn {
|
|
|
4238
4243
|
fetchviaevent: 16,
|
|
4239
4244
|
mbsource: 17
|
|
4240
4245
|
},
|
|
4241
|
-
|
|
4246
|
+
ii
|
|
4242
4247
|
);
|
|
4243
4248
|
}
|
|
4244
4249
|
get endpoint() {
|
|
@@ -4350,54 +4355,55 @@ class Ut extends hn {
|
|
|
4350
4355
|
this.$$set({ mbsource: t }), H();
|
|
4351
4356
|
}
|
|
4352
4357
|
}
|
|
4353
|
-
|
|
4354
|
-
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({
|
|
4355
4360
|
__proto__: null,
|
|
4356
|
-
default:
|
|
4361
|
+
default: Gt
|
|
4357
4362
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4358
4363
|
export {
|
|
4359
4364
|
R as $,
|
|
4360
4365
|
gi as A,
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
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,
|
|
4374
|
+
g as J,
|
|
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 _,
|
|
4383
|
+
ve as a,
|
|
4384
|
+
Ti as b,
|
|
4385
|
+
me as c,
|
|
4380
4386
|
Z as d,
|
|
4381
|
-
|
|
4387
|
+
Br as e,
|
|
4382
4388
|
H as f,
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
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,
|
|
4390
4396
|
O as n,
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4397
|
+
tn as o,
|
|
4398
|
+
ti as p,
|
|
4399
|
+
Be as q,
|
|
4400
|
+
ei as r,
|
|
4401
|
+
lt as s,
|
|
4402
|
+
ni 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
|
|
4403
4409
|
};
|