@everymatrix/casino-my-games 1.54.4 → 1.54.8
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-Dw_G4tDp.js → CasinoFavoritesSection-D50NLRsz.js} +361 -365
- package/components/CasinoFavoritesSection-DMGKcR0I.js +4340 -0
- package/components/CasinoFavoritesSection-gzljK0D8.cjs +3 -0
- package/components/{CasinoFilter-pDoH8Yi_.js → CasinoFilter-CDsRF2B4.js} +50 -54
- package/components/CasinoFilter-Dm94K1Xf.cjs +3 -0
- package/components/CasinoFilter-EP7rjEhk.js +1101 -0
- package/components/CasinoGameThumbnail-A93zmbss.cjs +47 -0
- package/components/{CasinoGameThumbnail-DEPf9eJc.js → CasinoGameThumbnail-BxyIuTKn.js} +65 -65
- package/components/CasinoGameThumbnail-C0Q4Z5Bt.js +4433 -0
- package/components/CasinoGamesCategorySection-DXPfUREE.js +3033 -0
- package/components/{CasinoGamesCategorySection-Dn9KPRYf.js → CasinoGamesCategorySection-GnEHTBXx.js} +166 -166
- package/components/CasinoGamesCategorySection-ePWhNJQZ.cjs +1 -0
- package/components/CasinoLastPlayedSection-B4-NsF-S.cjs +1 -0
- package/components/{CasinoLastPlayedSection-CoSEjqmY.js → CasinoLastPlayedSection-BdHtWDQs.js} +27 -27
- package/components/CasinoLastPlayedSection-mU9QOrNX.js +566 -0
- package/components/{CasinoMostPlayedSection-DIO9rwIi.js → CasinoMostPlayedSection-CI89Qqrh.js} +17 -17
- package/components/CasinoMostPlayedSection-CvLgM23D.js +583 -0
- package/components/CasinoMostPlayedSection-DHUZNEZG.cjs +1 -0
- package/components/{CasinoMyGames-CUe4ERsE.js → CasinoMyGames-BOxTHkII.js} +34 -34
- package/components/CasinoMyGames-CD8I5tgx.js +1319 -0
- package/components/CasinoMyGames-D_PY_89I.cjs +1 -0
- package/components/{CasinoSort-uzeV1HAE.js → CasinoSort-CEv9vS_H.js} +16 -16
- package/components/CasinoSort-DOe-QAKq.js +432 -0
- package/components/CasinoSort-om5H376E.cjs +1 -0
- package/es2015/casino-my-games.cjs +1 -0
- package/es2015/casino-my-games.js +16 -0
- package/esnext/casino-my-games.js +1 -1
- package/package.json +1 -1
package/components/{CasinoFavoritesSection-Dw_G4tDp.js → CasinoFavoritesSection-D50NLRsz.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function I() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function tt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function De() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function X(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(tt);
|
|
11
11
|
}
|
|
12
12
|
function Me(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function nt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let re;
|
|
19
|
-
function
|
|
19
|
+
function Xr(e, t) {
|
|
20
20
|
return e === t ? !0 : (re || (re = document.createElement("a")), re.href = t, e === re.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Lt(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function rt(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const r of t)
|
|
28
28
|
r(void 0);
|
|
@@ -32,19 +32,19 @@ function it(e, ...t) {
|
|
|
32
32
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
33
33
|
}
|
|
34
34
|
function Wr(e, t, n) {
|
|
35
|
-
e.$$.on_destroy.push(
|
|
35
|
+
e.$$.on_destroy.push(rt(t, n));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Ct(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const r =
|
|
40
|
+
function Mt(e, t, n) {
|
|
41
|
+
const r = Rt(e);
|
|
42
42
|
if (!r.getElementById(t)) {
|
|
43
43
|
const i = te("style");
|
|
44
|
-
i.id = t, i.textContent = n,
|
|
44
|
+
i.id = t, i.textContent = n, $t(r, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Rt(e) {
|
|
48
48
|
if (!e) return document;
|
|
49
49
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
50
50
|
return t && /** @type {ShadowRoot} */
|
|
@@ -53,8 +53,8 @@ function $t(e) {
|
|
|
53
53
|
t
|
|
54
54
|
) : e.ownerDocument;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
return
|
|
56
|
+
function $t(e, t) {
|
|
57
|
+
return Ct(
|
|
58
58
|
/** @type {Document} */
|
|
59
59
|
e.head || e,
|
|
60
60
|
t
|
|
@@ -66,26 +66,26 @@ function le(e, t, n) {
|
|
|
66
66
|
function ee(e) {
|
|
67
67
|
e.parentNode && e.parentNode.removeChild(e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function zr(e, t) {
|
|
70
70
|
for (let n = 0; n < e.length; n += 1)
|
|
71
71
|
e[n] && e[n].d(t);
|
|
72
72
|
}
|
|
73
73
|
function te(e) {
|
|
74
74
|
return document.createElement(e);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Ut(e) {
|
|
77
77
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function it(e) {
|
|
80
80
|
return document.createTextNode(e);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
return
|
|
82
|
+
function Zr() {
|
|
83
|
+
return it(" ");
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
return
|
|
85
|
+
function Qr() {
|
|
86
|
+
return it("");
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function qr(e, t, n, r) {
|
|
89
89
|
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
|
|
90
90
|
}
|
|
91
91
|
function Re(e, t, n) {
|
|
@@ -95,20 +95,20 @@ function d(e, t, n) {
|
|
|
95
95
|
const r = t.toLowerCase();
|
|
96
96
|
r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : Re(e, t, n);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Dt(e) {
|
|
99
99
|
return Array.from(e.childNodes);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function Jr(e, t) {
|
|
102
102
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
103
103
|
t);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function Yr(e, t) {
|
|
106
106
|
e.value = t ?? "";
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function Kr(e, t, n) {
|
|
109
109
|
e.classList.toggle(t, !!n);
|
|
110
110
|
}
|
|
111
|
-
class
|
|
111
|
+
class ei {
|
|
112
112
|
/**
|
|
113
113
|
* @private
|
|
114
114
|
* @default false
|
|
@@ -139,7 +139,7 @@ class ti {
|
|
|
139
139
|
* @returns {void}
|
|
140
140
|
*/
|
|
141
141
|
m(t, n, r = null) {
|
|
142
|
-
this.e || (this.is_svg ? this.e =
|
|
142
|
+
this.e || (this.is_svg ? this.e = Ut(
|
|
143
143
|
/** @type {keyof SVGElementTagNameMap} */
|
|
144
144
|
n.nodeName
|
|
145
145
|
) : this.e = te(
|
|
@@ -178,7 +178,7 @@ class ti {
|
|
|
178
178
|
this.n.forEach(ee);
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function Gt(e) {
|
|
182
182
|
const t = {};
|
|
183
183
|
return e.childNodes.forEach(
|
|
184
184
|
/** @param {Element} node */
|
|
@@ -191,22 +191,22 @@ let J;
|
|
|
191
191
|
function q(e) {
|
|
192
192
|
J = e;
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function Ft() {
|
|
195
195
|
if (!J) throw new Error("Function called outside component initialization");
|
|
196
196
|
return J;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
199
|
-
|
|
198
|
+
function ti(e) {
|
|
199
|
+
Ft().$$.on_mount.push(e);
|
|
200
200
|
}
|
|
201
201
|
const D = [], He = [];
|
|
202
202
|
let G = [];
|
|
203
|
-
const
|
|
203
|
+
const Ge = [], st = /* @__PURE__ */ Promise.resolve();
|
|
204
204
|
let Te = !1;
|
|
205
|
-
function
|
|
206
|
-
Te || (Te = !0,
|
|
205
|
+
function at() {
|
|
206
|
+
Te || (Te = !0, st.then(H));
|
|
207
207
|
}
|
|
208
|
-
function
|
|
209
|
-
return
|
|
208
|
+
function ni() {
|
|
209
|
+
return at(), st;
|
|
210
210
|
}
|
|
211
211
|
function Se(e) {
|
|
212
212
|
G.push(e);
|
|
@@ -221,7 +221,7 @@ function H() {
|
|
|
221
221
|
try {
|
|
222
222
|
for (; $ < D.length; ) {
|
|
223
223
|
const t = D[$];
|
|
224
|
-
$++, q(t),
|
|
224
|
+
$++, q(t), jt(t.$$);
|
|
225
225
|
}
|
|
226
226
|
} catch (t) {
|
|
227
227
|
throw D.length = 0, $ = 0, t;
|
|
@@ -233,32 +233,32 @@ function H() {
|
|
|
233
233
|
}
|
|
234
234
|
G.length = 0;
|
|
235
235
|
} while (D.length);
|
|
236
|
-
for (;
|
|
237
|
-
|
|
236
|
+
for (; Ge.length; )
|
|
237
|
+
Ge.pop()();
|
|
238
238
|
Te = !1, be.clear(), q(e);
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function jt(e) {
|
|
241
241
|
if (e.fragment !== null) {
|
|
242
242
|
e.update(), X(e.before_update);
|
|
243
243
|
const t = e.dirty;
|
|
244
244
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function kt(e) {
|
|
248
248
|
const t = [], n = [];
|
|
249
249
|
G.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), G = t;
|
|
250
250
|
}
|
|
251
|
-
const
|
|
252
|
-
function
|
|
253
|
-
e && e.i && (
|
|
251
|
+
const Vt = /* @__PURE__ */ new Set();
|
|
252
|
+
function ot(e, t) {
|
|
253
|
+
e && e.i && (Vt.delete(e), e.i(t));
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function ri(e) {
|
|
256
256
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function ii(e, t) {
|
|
259
259
|
e.d(1), t.delete(e.key);
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function si(e, t, n, r, i, s, a, o, l, u, h, c) {
|
|
262
262
|
let f = e.length, b = s.length, y = f;
|
|
263
263
|
const v = {};
|
|
264
264
|
for (; y--; ) v[e[y].key] = y;
|
|
@@ -270,7 +270,7 @@ function ai(e, t, n, r, i, s, a, o, l, u, h, c) {
|
|
|
270
270
|
}
|
|
271
271
|
const B = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
|
|
272
272
|
function L(x) {
|
|
273
|
-
|
|
273
|
+
ot(x, 1), x.m(o, h), a.set(x.key, x), h = x.first, b--;
|
|
274
274
|
}
|
|
275
275
|
for (; f && b; ) {
|
|
276
276
|
const x = T[b - 1], m = e[f - 1], w = x.key, ne = m.key;
|
|
@@ -283,21 +283,21 @@ function ai(e, t, n, r, i, s, a, o, l, u, h, c) {
|
|
|
283
283
|
for (; b; ) L(T[b - 1]);
|
|
284
284
|
return X(S), T;
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function Xt(e, t, n) {
|
|
287
287
|
const { fragment: r, after_update: i } = e.$$;
|
|
288
288
|
r && r.m(t, n), Se(() => {
|
|
289
|
-
const s = e.$$.on_mount.map(
|
|
289
|
+
const s = e.$$.on_mount.map(tt).filter(Me);
|
|
290
290
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
|
|
291
291
|
}), i.forEach(Se);
|
|
292
292
|
}
|
|
293
293
|
function Wt(e, t) {
|
|
294
294
|
const n = e.$$;
|
|
295
|
-
n.fragment !== null && (
|
|
295
|
+
n.fragment !== null && (kt(n.after_update), X(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
296
296
|
}
|
|
297
|
-
function
|
|
298
|
-
e.$$.dirty[0] === -1 && (D.push(e),
|
|
297
|
+
function zt(e, t) {
|
|
298
|
+
e.$$.dirty[0] === -1 && (D.push(e), at(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function Zt(e, t, n, r, i, s, a = null, o = [-1]) {
|
|
301
301
|
const l = J;
|
|
302
302
|
q(e);
|
|
303
303
|
const u = e.$$ = {
|
|
@@ -307,7 +307,7 @@ function Qt(e, t, n, r, i, s, a = null, o = [-1]) {
|
|
|
307
307
|
props: s,
|
|
308
308
|
update: I,
|
|
309
309
|
not_equal: i,
|
|
310
|
-
bound:
|
|
310
|
+
bound: De(),
|
|
311
311
|
// lifecycle
|
|
312
312
|
on_mount: [],
|
|
313
313
|
on_destroy: [],
|
|
@@ -316,7 +316,7 @@ function Qt(e, t, n, r, i, s, a = null, o = [-1]) {
|
|
|
316
316
|
after_update: [],
|
|
317
317
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
318
318
|
// everything else
|
|
319
|
-
callbacks:
|
|
319
|
+
callbacks: De(),
|
|
320
320
|
dirty: o,
|
|
321
321
|
skip_bound: !1,
|
|
322
322
|
root: t.target || l.$$.root
|
|
@@ -325,19 +325,19 @@ function Qt(e, t, n, r, i, s, a = null, o = [-1]) {
|
|
|
325
325
|
let h = !1;
|
|
326
326
|
if (u.ctx = n ? n(e, t.props || {}, (c, f, ...b) => {
|
|
327
327
|
const y = b.length ? b[0] : f;
|
|
328
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h &&
|
|
328
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && zt(e, c)), f;
|
|
329
329
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
|
|
330
330
|
if (t.hydrate) {
|
|
331
|
-
const c =
|
|
331
|
+
const c = Dt(t.target);
|
|
332
332
|
u.fragment && u.fragment.l(c), c.forEach(ee);
|
|
333
333
|
} else
|
|
334
334
|
u.fragment && u.fragment.c();
|
|
335
|
-
t.intro &&
|
|
335
|
+
t.intro && ot(e.$$.fragment), Xt(e, t.target, t.anchor), H();
|
|
336
336
|
}
|
|
337
337
|
q(l);
|
|
338
338
|
}
|
|
339
|
-
let
|
|
340
|
-
typeof HTMLElement == "function" && (
|
|
339
|
+
let ut;
|
|
340
|
+
typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
341
341
|
/** The Svelte component constructor */
|
|
342
342
|
$$ctor;
|
|
343
343
|
/** Slots */
|
|
@@ -396,7 +396,7 @@ typeof HTMLElement == "function" && (ht = class extends HTMLElement {
|
|
|
396
396
|
};
|
|
397
397
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
398
398
|
return;
|
|
399
|
-
const t = {}, n =
|
|
399
|
+
const t = {}, n = Gt(this);
|
|
400
400
|
for (const i of this.$$s)
|
|
401
401
|
i in n && (t[i] = [e(i)]);
|
|
402
402
|
for (const i of this.attributes) {
|
|
@@ -483,8 +483,8 @@ function se(e, t, n, r) {
|
|
|
483
483
|
return t;
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
function
|
|
487
|
-
let a = class extends
|
|
486
|
+
function Qt(e, t, n, r, i, s) {
|
|
487
|
+
let a = class extends ut {
|
|
488
488
|
constructor() {
|
|
489
489
|
super(e, n, i), this.$$p_d = t;
|
|
490
490
|
}
|
|
@@ -512,7 +512,7 @@ function qt(e, t, n, r, i, s) {
|
|
|
512
512
|
}), e.element = /** @type {any} */
|
|
513
513
|
a, a;
|
|
514
514
|
}
|
|
515
|
-
class
|
|
515
|
+
class qt {
|
|
516
516
|
/**
|
|
517
517
|
* ### PRIVATE API
|
|
518
518
|
*
|
|
@@ -553,11 +553,11 @@ class Jt {
|
|
|
553
553
|
* @returns {void}
|
|
554
554
|
*/
|
|
555
555
|
$set(t) {
|
|
556
|
-
this.$$set && !
|
|
556
|
+
this.$$set && !Lt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
const
|
|
560
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
559
|
+
const Jt = "4";
|
|
560
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jt);
|
|
561
561
|
var Be = function(e, t) {
|
|
562
562
|
return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
563
563
|
n.__proto__ = r;
|
|
@@ -583,7 +583,7 @@ var E = function() {
|
|
|
583
583
|
return t;
|
|
584
584
|
}, E.apply(this, arguments);
|
|
585
585
|
};
|
|
586
|
-
function
|
|
586
|
+
function Yt(e, t) {
|
|
587
587
|
var n = {};
|
|
588
588
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
589
589
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -591,7 +591,7 @@ function Kt(e, t) {
|
|
|
591
591
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
592
592
|
return n;
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function ai(e) {
|
|
595
595
|
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
596
596
|
if (n) return n.call(e);
|
|
597
597
|
if (e && typeof e.length == "number") return {
|
|
@@ -601,7 +601,7 @@ function oi(e) {
|
|
|
601
601
|
};
|
|
602
602
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
603
603
|
}
|
|
604
|
-
function
|
|
604
|
+
function oi(e, t) {
|
|
605
605
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
606
606
|
if (!n) return e;
|
|
607
607
|
var r = n.call(e), i, s = [], a;
|
|
@@ -624,7 +624,7 @@ function pe(e, t, n) {
|
|
|
624
624
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
625
625
|
}
|
|
626
626
|
const U = [];
|
|
627
|
-
function
|
|
627
|
+
function Kt(e, t) {
|
|
628
628
|
return {
|
|
629
629
|
subscribe: ce(e, t).subscribe
|
|
630
630
|
};
|
|
@@ -633,7 +633,7 @@ function ce(e, t = I) {
|
|
|
633
633
|
let n;
|
|
634
634
|
const r = /* @__PURE__ */ new Set();
|
|
635
635
|
function i(o) {
|
|
636
|
-
if (
|
|
636
|
+
if (nt(e, o) && (e = o, n)) {
|
|
637
637
|
const l = !U.length;
|
|
638
638
|
for (const u of r)
|
|
639
639
|
u[1](), U.push(u, e);
|
|
@@ -655,12 +655,12 @@ function ce(e, t = I) {
|
|
|
655
655
|
}
|
|
656
656
|
return { set: i, update: s, subscribe: a };
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function W(e, t, n) {
|
|
659
659
|
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
660
660
|
if (!i.every(Boolean))
|
|
661
661
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
662
662
|
const s = t.length < 2;
|
|
663
|
-
return
|
|
663
|
+
return Kt(n, (a, o) => {
|
|
664
664
|
let l = !1;
|
|
665
665
|
const u = [];
|
|
666
666
|
let h = 0, c = I;
|
|
@@ -671,7 +671,7 @@ function z(e, t, n) {
|
|
|
671
671
|
const y = t(r ? u[0] : u, a, o);
|
|
672
672
|
s ? a(y) : c = Me(y) ? y : I;
|
|
673
673
|
}, b = i.map(
|
|
674
|
-
(y, v) =>
|
|
674
|
+
(y, v) => rt(
|
|
675
675
|
y,
|
|
676
676
|
(T) => {
|
|
677
677
|
u[v] = T, h &= ~(1 << v), l && f();
|
|
@@ -686,70 +686,70 @@ function z(e, t, n) {
|
|
|
686
686
|
};
|
|
687
687
|
});
|
|
688
688
|
}
|
|
689
|
-
function
|
|
690
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
689
|
+
function en(e) {
|
|
690
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
691
691
|
}
|
|
692
|
-
var
|
|
693
|
-
return
|
|
692
|
+
var tn = function(t) {
|
|
693
|
+
return nn(t) && !rn(t);
|
|
694
694
|
};
|
|
695
|
-
function
|
|
695
|
+
function nn(e) {
|
|
696
696
|
return !!e && typeof e == "object";
|
|
697
697
|
}
|
|
698
|
-
function
|
|
698
|
+
function rn(e) {
|
|
699
699
|
var t = Object.prototype.toString.call(e);
|
|
700
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
700
|
+
return t === "[object RegExp]" || t === "[object Date]" || on(e);
|
|
701
701
|
}
|
|
702
|
-
var
|
|
703
|
-
function
|
|
704
|
-
return e.$$typeof ===
|
|
702
|
+
var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
|
|
703
|
+
function on(e) {
|
|
704
|
+
return e.$$typeof === an;
|
|
705
705
|
}
|
|
706
|
-
function
|
|
706
|
+
function un(e) {
|
|
707
707
|
return Array.isArray(e) ? [] : {};
|
|
708
708
|
}
|
|
709
709
|
function Y(e, t) {
|
|
710
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
710
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(un(e), e, t) : e;
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function hn(e, t, n) {
|
|
713
713
|
return e.concat(t).map(function(r) {
|
|
714
714
|
return Y(r, n);
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
function
|
|
717
|
+
function ln(e, t) {
|
|
718
718
|
if (!t.customMerge)
|
|
719
719
|
return F;
|
|
720
720
|
var n = t.customMerge(e);
|
|
721
721
|
return typeof n == "function" ? n : F;
|
|
722
722
|
}
|
|
723
|
-
function
|
|
723
|
+
function fn(e) {
|
|
724
724
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
725
725
|
return Object.propertyIsEnumerable.call(e, t);
|
|
726
726
|
}) : [];
|
|
727
727
|
}
|
|
728
|
-
function
|
|
729
|
-
return Object.keys(e).concat(
|
|
728
|
+
function Fe(e) {
|
|
729
|
+
return Object.keys(e).concat(fn(e));
|
|
730
730
|
}
|
|
731
|
-
function
|
|
731
|
+
function ht(e, t) {
|
|
732
732
|
try {
|
|
733
733
|
return t in e;
|
|
734
734
|
} catch {
|
|
735
735
|
return !1;
|
|
736
736
|
}
|
|
737
737
|
}
|
|
738
|
-
function
|
|
739
|
-
return
|
|
738
|
+
function cn(e, t) {
|
|
739
|
+
return ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
740
740
|
}
|
|
741
|
-
function
|
|
741
|
+
function mn(e, t, n) {
|
|
742
742
|
var r = {};
|
|
743
|
-
return n.isMergeableObject(e) &&
|
|
743
|
+
return n.isMergeableObject(e) && Fe(e).forEach(function(i) {
|
|
744
744
|
r[i] = Y(e[i], n);
|
|
745
|
-
}),
|
|
746
|
-
|
|
745
|
+
}), Fe(t).forEach(function(i) {
|
|
746
|
+
cn(e, i) || (ht(e, i) && n.isMergeableObject(t[i]) ? r[i] = ln(i, n)(e[i], t[i], n) : r[i] = Y(t[i], n));
|
|
747
747
|
}), r;
|
|
748
748
|
}
|
|
749
749
|
function F(e, t, n) {
|
|
750
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
750
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || hn, n.isMergeableObject = n.isMergeableObject || tn, n.cloneUnlessOtherwiseSpecified = Y;
|
|
751
751
|
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
752
|
-
return s ? r ? n.arrayMerge(e, t, n) :
|
|
752
|
+
return s ? r ? n.arrayMerge(e, t, n) : mn(e, t, n) : Y(t, n);
|
|
753
753
|
}
|
|
754
754
|
F.all = function(t, n) {
|
|
755
755
|
if (!Array.isArray(t))
|
|
@@ -758,42 +758,39 @@ F.all = function(t, n) {
|
|
|
758
758
|
return F(r, i, n);
|
|
759
759
|
}, {});
|
|
760
760
|
};
|
|
761
|
-
var
|
|
762
|
-
const
|
|
761
|
+
var dn = F, gn = dn;
|
|
762
|
+
const bn = /* @__PURE__ */ en(gn);
|
|
763
763
|
function ye(e, t) {
|
|
764
|
-
var n = t && t.cache ? t.cache :
|
|
764
|
+
var n = t && t.cache ? t.cache : Hn, r = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : En;
|
|
765
765
|
return i(e, {
|
|
766
766
|
cache: n,
|
|
767
767
|
serializer: r
|
|
768
768
|
});
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function pn(e) {
|
|
771
771
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
772
772
|
}
|
|
773
|
-
function
|
|
774
|
-
var i =
|
|
773
|
+
function yn(e, t, n, r) {
|
|
774
|
+
var i = pn(r) ? r : n(r), s = t.get(i);
|
|
775
775
|
return typeof s > "u" && (s = e.call(this, r), t.set(i, s)), s;
|
|
776
776
|
}
|
|
777
|
-
function
|
|
777
|
+
function lt(e, t, n) {
|
|
778
778
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
779
779
|
return typeof s > "u" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
780
780
|
}
|
|
781
|
-
function
|
|
781
|
+
function ft(e, t, n, r, i) {
|
|
782
782
|
return n.bind(t, e, r, i);
|
|
783
783
|
}
|
|
784
784
|
function En(e, t) {
|
|
785
|
-
var n = e.length === 1 ?
|
|
786
|
-
return
|
|
785
|
+
var n = e.length === 1 ? yn : lt;
|
|
786
|
+
return ft(e, this, n, t.cache.create(), t.serializer);
|
|
787
787
|
}
|
|
788
788
|
function _n(e, t) {
|
|
789
|
-
return
|
|
790
|
-
}
|
|
791
|
-
function xn(e, t) {
|
|
792
|
-
return $e(e, this, ft, t.cache.create(), t.serializer);
|
|
789
|
+
return ft(e, this, lt, t.cache.create(), t.serializer);
|
|
793
790
|
}
|
|
794
|
-
var
|
|
791
|
+
var xn = function() {
|
|
795
792
|
return JSON.stringify(arguments);
|
|
796
|
-
},
|
|
793
|
+
}, vn = (
|
|
797
794
|
/** @class */
|
|
798
795
|
function() {
|
|
799
796
|
function e() {
|
|
@@ -805,13 +802,12 @@ var vn = function() {
|
|
|
805
802
|
this.cache[t] = n;
|
|
806
803
|
}, e;
|
|
807
804
|
}()
|
|
808
|
-
),
|
|
805
|
+
), Hn = {
|
|
809
806
|
create: function() {
|
|
810
|
-
return new
|
|
807
|
+
return new vn();
|
|
811
808
|
}
|
|
812
809
|
}, Ee = {
|
|
813
|
-
variadic: _n
|
|
814
|
-
monadic: xn
|
|
810
|
+
variadic: _n
|
|
815
811
|
}, g;
|
|
816
812
|
(function(e) {
|
|
817
813
|
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";
|
|
@@ -824,43 +820,43 @@ var j;
|
|
|
824
820
|
(function(e) {
|
|
825
821
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
826
822
|
})(j || (j = {}));
|
|
827
|
-
function
|
|
823
|
+
function je(e) {
|
|
828
824
|
return e.type === _.literal;
|
|
829
825
|
}
|
|
830
|
-
function
|
|
826
|
+
function Tn(e) {
|
|
831
827
|
return e.type === _.argument;
|
|
832
828
|
}
|
|
833
|
-
function
|
|
829
|
+
function ct(e) {
|
|
834
830
|
return e.type === _.number;
|
|
835
831
|
}
|
|
836
|
-
function
|
|
832
|
+
function mt(e) {
|
|
837
833
|
return e.type === _.date;
|
|
838
834
|
}
|
|
839
|
-
function
|
|
835
|
+
function dt(e) {
|
|
840
836
|
return e.type === _.time;
|
|
841
837
|
}
|
|
842
|
-
function
|
|
838
|
+
function gt(e) {
|
|
843
839
|
return e.type === _.select;
|
|
844
840
|
}
|
|
845
|
-
function
|
|
841
|
+
function bt(e) {
|
|
846
842
|
return e.type === _.plural;
|
|
847
843
|
}
|
|
848
|
-
function
|
|
844
|
+
function Sn(e) {
|
|
849
845
|
return e.type === _.pound;
|
|
850
846
|
}
|
|
851
|
-
function
|
|
847
|
+
function pt(e) {
|
|
852
848
|
return e.type === _.tag;
|
|
853
849
|
}
|
|
854
|
-
function
|
|
850
|
+
function yt(e) {
|
|
855
851
|
return !!(e && typeof e == "object" && e.type === j.number);
|
|
856
852
|
}
|
|
857
853
|
function Ae(e) {
|
|
858
854
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
859
855
|
}
|
|
860
|
-
var
|
|
861
|
-
function
|
|
856
|
+
var Et = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bn = /(?:[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;
|
|
857
|
+
function An(e) {
|
|
862
858
|
var t = {};
|
|
863
|
-
return e.replace(
|
|
859
|
+
return e.replace(Bn, function(n) {
|
|
864
860
|
var r = n.length;
|
|
865
861
|
switch (n[0]) {
|
|
866
862
|
case "G":
|
|
@@ -949,11 +945,11 @@ function wn(e) {
|
|
|
949
945
|
return "";
|
|
950
946
|
}), t;
|
|
951
947
|
}
|
|
952
|
-
var
|
|
953
|
-
function
|
|
948
|
+
var wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
949
|
+
function Pn(e) {
|
|
954
950
|
if (e.length === 0)
|
|
955
951
|
throw new Error("Number skeleton cannot be empty");
|
|
956
|
-
for (var t = e.split(
|
|
952
|
+
for (var t = e.split(wn).filter(function(f) {
|
|
957
953
|
return f.length > 0;
|
|
958
954
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
959
955
|
var s = i[r], a = s.split("/");
|
|
@@ -968,17 +964,17 @@ function Nn(e) {
|
|
|
968
964
|
}
|
|
969
965
|
return n;
|
|
970
966
|
}
|
|
971
|
-
function
|
|
967
|
+
function Nn(e) {
|
|
972
968
|
return e.replace(/^(.*?)-/, "");
|
|
973
969
|
}
|
|
974
|
-
var
|
|
975
|
-
function
|
|
970
|
+
var ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _t = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, xt = /^(0+)$/;
|
|
971
|
+
function Ve(e) {
|
|
976
972
|
var t = {};
|
|
977
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
973
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(_t, function(n, r, i) {
|
|
978
974
|
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)), "";
|
|
979
975
|
}), t;
|
|
980
976
|
}
|
|
981
|
-
function
|
|
977
|
+
function vt(e) {
|
|
982
978
|
switch (e) {
|
|
983
979
|
case "sign-auto":
|
|
984
980
|
return {
|
|
@@ -1018,7 +1014,7 @@ function Ht(e) {
|
|
|
1018
1014
|
};
|
|
1019
1015
|
}
|
|
1020
1016
|
}
|
|
1021
|
-
function
|
|
1017
|
+
function In(e) {
|
|
1022
1018
|
var t;
|
|
1023
1019
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1024
1020
|
notation: "engineering"
|
|
@@ -1026,17 +1022,17 @@ function Ln(e) {
|
|
|
1026
1022
|
notation: "scientific"
|
|
1027
1023
|
}, e = e.slice(1)), t) {
|
|
1028
1024
|
var n = e.slice(0, 2);
|
|
1029
|
-
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1025
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !xt.test(e))
|
|
1030
1026
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1031
1027
|
t.minimumIntegerDigits = e.length;
|
|
1032
1028
|
}
|
|
1033
1029
|
return t;
|
|
1034
1030
|
}
|
|
1035
|
-
function
|
|
1036
|
-
var t = {}, n =
|
|
1031
|
+
function Xe(e) {
|
|
1032
|
+
var t = {}, n = vt(e);
|
|
1037
1033
|
return n || t;
|
|
1038
1034
|
}
|
|
1039
|
-
function
|
|
1035
|
+
function Ln(e) {
|
|
1040
1036
|
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1041
1037
|
var i = r[n];
|
|
1042
1038
|
switch (i.stem) {
|
|
@@ -1060,7 +1056,7 @@ function Cn(e) {
|
|
|
1060
1056
|
continue;
|
|
1061
1057
|
case "measure-unit":
|
|
1062
1058
|
case "unit":
|
|
1063
|
-
t.style = "unit", t.unit =
|
|
1059
|
+
t.style = "unit", t.unit = Nn(i.options[0]);
|
|
1064
1060
|
continue;
|
|
1065
1061
|
case "compact-short":
|
|
1066
1062
|
case "K":
|
|
@@ -1072,12 +1068,12 @@ function Cn(e) {
|
|
|
1072
1068
|
continue;
|
|
1073
1069
|
case "scientific":
|
|
1074
1070
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1075
|
-
return E(E({}, l),
|
|
1071
|
+
return E(E({}, l), Xe(u));
|
|
1076
1072
|
}, {}));
|
|
1077
1073
|
continue;
|
|
1078
1074
|
case "engineering":
|
|
1079
1075
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1080
|
-
return E(E({}, l),
|
|
1076
|
+
return E(E({}, l), Xe(u));
|
|
1081
1077
|
}, {}));
|
|
1082
1078
|
continue;
|
|
1083
1079
|
case "notation-simple":
|
|
@@ -1122,7 +1118,7 @@ function Cn(e) {
|
|
|
1122
1118
|
case "integer-width":
|
|
1123
1119
|
if (i.options.length > 1)
|
|
1124
1120
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1125
|
-
i.options[0].replace(
|
|
1121
|
+
i.options[0].replace(On, function(l, u, h, c, f, b) {
|
|
1126
1122
|
if (u)
|
|
1127
1123
|
t.minimumIntegerDigits = h.length;
|
|
1128
1124
|
else {
|
|
@@ -1135,27 +1131,27 @@ function Cn(e) {
|
|
|
1135
1131
|
});
|
|
1136
1132
|
continue;
|
|
1137
1133
|
}
|
|
1138
|
-
if (
|
|
1134
|
+
if (xt.test(i.stem)) {
|
|
1139
1135
|
t.minimumIntegerDigits = i.stem.length;
|
|
1140
1136
|
continue;
|
|
1141
1137
|
}
|
|
1142
|
-
if (
|
|
1138
|
+
if (ke.test(i.stem)) {
|
|
1143
1139
|
if (i.options.length > 1)
|
|
1144
1140
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1145
|
-
i.stem.replace(
|
|
1141
|
+
i.stem.replace(ke, function(l, u, h, c, f, b) {
|
|
1146
1142
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1147
1143
|
});
|
|
1148
1144
|
var s = i.options[0];
|
|
1149
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1145
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ve(s)));
|
|
1150
1146
|
continue;
|
|
1151
1147
|
}
|
|
1152
|
-
if (
|
|
1153
|
-
t = E(E({}, t),
|
|
1148
|
+
if (_t.test(i.stem)) {
|
|
1149
|
+
t = E(E({}, t), Ve(i.stem));
|
|
1154
1150
|
continue;
|
|
1155
1151
|
}
|
|
1156
|
-
var a =
|
|
1152
|
+
var a = vt(i.stem);
|
|
1157
1153
|
a && (t = E(E({}, t), a));
|
|
1158
|
-
var o =
|
|
1154
|
+
var o = In(i.stem);
|
|
1159
1155
|
o && (t = E(E({}, t), o));
|
|
1160
1156
|
}
|
|
1161
1157
|
return t;
|
|
@@ -2575,13 +2571,13 @@ var ie = {
|
|
|
2575
2571
|
"h"
|
|
2576
2572
|
]
|
|
2577
2573
|
};
|
|
2578
|
-
function
|
|
2574
|
+
function Cn(e, t) {
|
|
2579
2575
|
for (var n = "", r = 0; r < e.length; r++) {
|
|
2580
2576
|
var i = e.charAt(r);
|
|
2581
2577
|
if (i === "j") {
|
|
2582
2578
|
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2583
2579
|
s++, r++;
|
|
2584
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2580
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Mn(t);
|
|
2585
2581
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2586
2582
|
n += l;
|
|
2587
2583
|
for (; a-- > 0; )
|
|
@@ -2590,7 +2586,7 @@ function Mn(e, t) {
|
|
|
2590
2586
|
}
|
|
2591
2587
|
return n;
|
|
2592
2588
|
}
|
|
2593
|
-
function
|
|
2589
|
+
function Mn(e) {
|
|
2594
2590
|
var t = e.hourCycle;
|
|
2595
2591
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2596
2592
|
e.hourCycles && // @ts-ignore
|
|
@@ -2612,20 +2608,20 @@ function Rn(e) {
|
|
|
2612
2608
|
var i = ie[r || ""] || ie[n || ""] || ie["".concat(n, "-001")] || ie["001"];
|
|
2613
2609
|
return i[0];
|
|
2614
2610
|
}
|
|
2615
|
-
var _e,
|
|
2611
|
+
var _e, Rn = new RegExp("^".concat(Et.source, "*")), $n = new RegExp("".concat(Et.source, "*$"));
|
|
2616
2612
|
function p(e, t) {
|
|
2617
2613
|
return { start: e, end: t };
|
|
2618
2614
|
}
|
|
2619
|
-
var
|
|
2615
|
+
var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Gn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
|
|
2620
2616
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2621
2617
|
}, we = !0;
|
|
2622
2618
|
try {
|
|
2623
|
-
var Wn =
|
|
2619
|
+
var Wn = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2624
2620
|
we = ((_e = Wn.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
|
|
2625
2621
|
} catch {
|
|
2626
2622
|
we = !1;
|
|
2627
2623
|
}
|
|
2628
|
-
var We =
|
|
2624
|
+
var We = Un ? (
|
|
2629
2625
|
// Native
|
|
2630
2626
|
function(t, n, r) {
|
|
2631
2627
|
return t.startsWith(n, r);
|
|
@@ -2635,7 +2631,7 @@ var We = Dn ? (
|
|
|
2635
2631
|
function(t, n, r) {
|
|
2636
2632
|
return t.slice(r, r + n.length) === n;
|
|
2637
2633
|
}
|
|
2638
|
-
), Pe =
|
|
2634
|
+
), Pe = Dn ? String.fromCodePoint : (
|
|
2639
2635
|
// IE11
|
|
2640
2636
|
function() {
|
|
2641
2637
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
@@ -2647,9 +2643,9 @@ var We = Dn ? (
|
|
|
2647
2643
|
}
|
|
2648
2644
|
return r;
|
|
2649
2645
|
}
|
|
2650
|
-
),
|
|
2646
|
+
), ze = (
|
|
2651
2647
|
// native
|
|
2652
|
-
|
|
2648
|
+
Gn ? Object.fromEntries : (
|
|
2653
2649
|
// Ponyfill
|
|
2654
2650
|
function(t) {
|
|
2655
2651
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
@@ -2659,7 +2655,7 @@ var We = Dn ? (
|
|
|
2659
2655
|
return n;
|
|
2660
2656
|
}
|
|
2661
2657
|
)
|
|
2662
|
-
),
|
|
2658
|
+
), Ht = Fn ? (
|
|
2663
2659
|
// Native
|
|
2664
2660
|
function(t, n) {
|
|
2665
2661
|
return t.codePointAt(n);
|
|
@@ -2673,7 +2669,7 @@ var We = Dn ? (
|
|
|
2673
2669
|
return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2674
2670
|
}
|
|
2675
2671
|
}
|
|
2676
|
-
),
|
|
2672
|
+
), zn = jn ? (
|
|
2677
2673
|
// Native
|
|
2678
2674
|
function(t) {
|
|
2679
2675
|
return t.trimStart();
|
|
@@ -2681,9 +2677,9 @@ var We = Dn ? (
|
|
|
2681
2677
|
) : (
|
|
2682
2678
|
// Ponyfill
|
|
2683
2679
|
function(t) {
|
|
2684
|
-
return t.replace(
|
|
2680
|
+
return t.replace(Rn, "");
|
|
2685
2681
|
}
|
|
2686
|
-
),
|
|
2682
|
+
), Zn = kn ? (
|
|
2687
2683
|
// Native
|
|
2688
2684
|
function(t) {
|
|
2689
2685
|
return t.trimEnd();
|
|
@@ -2691,32 +2687,32 @@ var We = Dn ? (
|
|
|
2691
2687
|
) : (
|
|
2692
2688
|
// Ponyfill
|
|
2693
2689
|
function(t) {
|
|
2694
|
-
return t.replace(
|
|
2690
|
+
return t.replace($n, "");
|
|
2695
2691
|
}
|
|
2696
2692
|
);
|
|
2697
|
-
function
|
|
2693
|
+
function Tt(e, t) {
|
|
2698
2694
|
return new RegExp(e, t);
|
|
2699
2695
|
}
|
|
2700
2696
|
var Ne;
|
|
2701
2697
|
if (we) {
|
|
2702
|
-
var
|
|
2698
|
+
var Ze = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2703
2699
|
Ne = function(t, n) {
|
|
2704
2700
|
var r;
|
|
2705
|
-
|
|
2706
|
-
var i =
|
|
2701
|
+
Ze.lastIndex = n;
|
|
2702
|
+
var i = Ze.exec(t);
|
|
2707
2703
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2708
2704
|
};
|
|
2709
2705
|
} else
|
|
2710
2706
|
Ne = function(t, n) {
|
|
2711
2707
|
for (var r = []; ; ) {
|
|
2712
|
-
var i =
|
|
2713
|
-
if (i === void 0 ||
|
|
2708
|
+
var i = Ht(t, n);
|
|
2709
|
+
if (i === void 0 || St(i) || Yn(i))
|
|
2714
2710
|
break;
|
|
2715
2711
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2716
2712
|
}
|
|
2717
2713
|
return Pe.apply(void 0, r);
|
|
2718
2714
|
};
|
|
2719
|
-
var
|
|
2715
|
+
var Qn = (
|
|
2720
2716
|
/** @class */
|
|
2721
2717
|
function() {
|
|
2722
2718
|
function e(t, n) {
|
|
@@ -2798,7 +2794,7 @@ var qn = (
|
|
|
2798
2794
|
return this.error(g.INVALID_TAG, p(r, this.clonePosition()));
|
|
2799
2795
|
}, e.prototype.parseTagName = function() {
|
|
2800
2796
|
var t = this.offset();
|
|
2801
|
-
for (this.bump(); !this.isEOF() &&
|
|
2797
|
+
for (this.bump(); !this.isEOF() && Jn(this.char()); )
|
|
2802
2798
|
this.bump();
|
|
2803
2799
|
return this.message.slice(t, this.offset());
|
|
2804
2800
|
}, e.prototype.parseLiteral = function(t, n) {
|
|
@@ -2827,7 +2823,7 @@ var qn = (
|
|
|
2827
2823
|
};
|
|
2828
2824
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2829
2825
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2830
|
-
!
|
|
2826
|
+
!qn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2831
2827
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2832
2828
|
if (this.isEOF() || this.char() !== 39)
|
|
2833
2829
|
return null;
|
|
@@ -2914,7 +2910,7 @@ var qn = (
|
|
|
2914
2910
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2915
2911
|
if (c.err)
|
|
2916
2912
|
return c;
|
|
2917
|
-
var f =
|
|
2913
|
+
var f = Zn(c.val);
|
|
2918
2914
|
if (f.length === 0)
|
|
2919
2915
|
return this.error(g.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2920
2916
|
var b = p(h, this.clonePosition());
|
|
@@ -2925,7 +2921,7 @@ var qn = (
|
|
|
2925
2921
|
return y;
|
|
2926
2922
|
var v = p(i, this.clonePosition());
|
|
2927
2923
|
if (u && We(u?.style, "::", 0)) {
|
|
2928
|
-
var T =
|
|
2924
|
+
var T = zn(u.style.slice(2));
|
|
2929
2925
|
if (o === "number") {
|
|
2930
2926
|
var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
2931
2927
|
return c.err ? c : {
|
|
@@ -2936,12 +2932,12 @@ var qn = (
|
|
|
2936
2932
|
if (T.length === 0)
|
|
2937
2933
|
return this.error(g.EXPECT_DATE_TIME_SKELETON, v);
|
|
2938
2934
|
var N = T;
|
|
2939
|
-
this.locale && (N =
|
|
2935
|
+
this.locale && (N = Cn(T, this.locale));
|
|
2940
2936
|
var f = {
|
|
2941
2937
|
type: j.dateTime,
|
|
2942
2938
|
pattern: N,
|
|
2943
2939
|
location: u.styleLocation,
|
|
2944
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2940
|
+
parsedOptions: this.shouldParseSkeletons ? An(N) : {}
|
|
2945
2941
|
}, P = o === "date" ? _.date : _.time;
|
|
2946
2942
|
return {
|
|
2947
2943
|
val: { type: P, value: r, location: v, style: f },
|
|
@@ -2987,7 +2983,7 @@ var qn = (
|
|
|
2987
2983
|
val: {
|
|
2988
2984
|
type: _.select,
|
|
2989
2985
|
value: r,
|
|
2990
|
-
options:
|
|
2986
|
+
options: ze(L.val),
|
|
2991
2987
|
location: x
|
|
2992
2988
|
},
|
|
2993
2989
|
err: null
|
|
@@ -2995,7 +2991,7 @@ var qn = (
|
|
|
2995
2991
|
val: {
|
|
2996
2992
|
type: _.plural,
|
|
2997
2993
|
value: r,
|
|
2998
|
-
options:
|
|
2994
|
+
options: ze(L.val),
|
|
2999
2995
|
offset: O,
|
|
3000
2996
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3001
2997
|
location: x
|
|
@@ -3046,7 +3042,7 @@ var qn = (
|
|
|
3046
3042
|
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
3047
3043
|
var r = [];
|
|
3048
3044
|
try {
|
|
3049
|
-
r =
|
|
3045
|
+
r = Pn(t);
|
|
3050
3046
|
} catch {
|
|
3051
3047
|
return this.error(g.INVALID_NUMBER_SKELETON, n);
|
|
3052
3048
|
}
|
|
@@ -3055,7 +3051,7 @@ var qn = (
|
|
|
3055
3051
|
type: j.number,
|
|
3056
3052
|
tokens: r,
|
|
3057
3053
|
location: n,
|
|
3058
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3054
|
+
parsedOptions: this.shouldParseSkeletons ? Ln(r) : {}
|
|
3059
3055
|
},
|
|
3060
3056
|
err: null
|
|
3061
3057
|
};
|
|
@@ -3103,7 +3099,7 @@ var qn = (
|
|
|
3103
3099
|
break;
|
|
3104
3100
|
}
|
|
3105
3101
|
var l = p(i, this.clonePosition());
|
|
3106
|
-
return s ? (a *= r,
|
|
3102
|
+
return s ? (a *= r, Xn(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
|
|
3107
3103
|
}, e.prototype.offset = function() {
|
|
3108
3104
|
return this.position.offset;
|
|
3109
3105
|
}, e.prototype.isEOF = function() {
|
|
@@ -3118,7 +3114,7 @@ var qn = (
|
|
|
3118
3114
|
var t = this.position.offset;
|
|
3119
3115
|
if (t >= this.message.length)
|
|
3120
3116
|
throw Error("out of bound");
|
|
3121
|
-
var n =
|
|
3117
|
+
var n = Ht(this.message, t);
|
|
3122
3118
|
if (n === void 0)
|
|
3123
3119
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3124
3120
|
return n;
|
|
@@ -3159,7 +3155,7 @@ var qn = (
|
|
|
3159
3155
|
break;
|
|
3160
3156
|
}
|
|
3161
3157
|
}, e.prototype.bumpSpace = function() {
|
|
3162
|
-
for (; !this.isEOF() &&
|
|
3158
|
+
for (; !this.isEOF() && St(this.char()); )
|
|
3163
3159
|
this.bump();
|
|
3164
3160
|
}, e.prototype.peek = function() {
|
|
3165
3161
|
if (this.isEOF())
|
|
@@ -3172,29 +3168,29 @@ var qn = (
|
|
|
3172
3168
|
function Oe(e) {
|
|
3173
3169
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3174
3170
|
}
|
|
3175
|
-
function
|
|
3171
|
+
function qn(e) {
|
|
3176
3172
|
return Oe(e) || e === 47;
|
|
3177
3173
|
}
|
|
3178
|
-
function
|
|
3174
|
+
function Jn(e) {
|
|
3179
3175
|
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;
|
|
3180
3176
|
}
|
|
3181
|
-
function
|
|
3177
|
+
function St(e) {
|
|
3182
3178
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3183
3179
|
}
|
|
3184
|
-
function
|
|
3180
|
+
function Yn(e) {
|
|
3185
3181
|
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;
|
|
3186
3182
|
}
|
|
3187
3183
|
function Ie(e) {
|
|
3188
3184
|
e.forEach(function(t) {
|
|
3189
|
-
if (delete t.location,
|
|
3185
|
+
if (delete t.location, gt(t) || bt(t))
|
|
3190
3186
|
for (var n in t.options)
|
|
3191
3187
|
delete t.options[n].location, Ie(t.options[n].value);
|
|
3192
|
-
else
|
|
3188
|
+
else ct(t) && yt(t.style) || (mt(t) || dt(t)) && Ae(t.style) ? delete t.style.location : pt(t) && Ie(t.children);
|
|
3193
3189
|
});
|
|
3194
3190
|
}
|
|
3195
|
-
function
|
|
3191
|
+
function Kn(e, t) {
|
|
3196
3192
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3197
|
-
var n = new
|
|
3193
|
+
var n = new Qn(e, t).parse();
|
|
3198
3194
|
if (n.err) {
|
|
3199
3195
|
var r = SyntaxError(g[n.err.kind]);
|
|
3200
3196
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
@@ -3217,7 +3213,7 @@ var me = (
|
|
|
3217
3213
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3218
3214
|
}, t;
|
|
3219
3215
|
}(Error)
|
|
3220
|
-
),
|
|
3216
|
+
), Qe = (
|
|
3221
3217
|
/** @class */
|
|
3222
3218
|
function(e) {
|
|
3223
3219
|
fe(t, e);
|
|
@@ -3226,7 +3222,7 @@ var me = (
|
|
|
3226
3222
|
}
|
|
3227
3223
|
return t;
|
|
3228
3224
|
}(me)
|
|
3229
|
-
),
|
|
3225
|
+
), er = (
|
|
3230
3226
|
/** @class */
|
|
3231
3227
|
function(e) {
|
|
3232
3228
|
fe(t, e);
|
|
@@ -3235,7 +3231,7 @@ var me = (
|
|
|
3235
3231
|
}
|
|
3236
3232
|
return t;
|
|
3237
3233
|
}(me)
|
|
3238
|
-
),
|
|
3234
|
+
), tr = (
|
|
3239
3235
|
/** @class */
|
|
3240
3236
|
function(e) {
|
|
3241
3237
|
fe(t, e);
|
|
@@ -3248,17 +3244,17 @@ var me = (
|
|
|
3248
3244
|
(function(e) {
|
|
3249
3245
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3250
3246
|
})(A || (A = {}));
|
|
3251
|
-
function
|
|
3247
|
+
function nr(e) {
|
|
3252
3248
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3253
3249
|
var r = t[t.length - 1];
|
|
3254
3250
|
return !r || r.type !== A.literal || n.type !== A.literal ? t.push(n) : r.value += n.value, t;
|
|
3255
3251
|
}, []);
|
|
3256
3252
|
}
|
|
3257
|
-
function
|
|
3253
|
+
function rr(e) {
|
|
3258
3254
|
return typeof e == "function";
|
|
3259
3255
|
}
|
|
3260
3256
|
function ae(e, t, n, r, i, s, a) {
|
|
3261
|
-
if (e.length === 1 &&
|
|
3257
|
+
if (e.length === 1 && je(e[0]))
|
|
3262
3258
|
return [
|
|
3263
3259
|
{
|
|
3264
3260
|
type: A.literal,
|
|
@@ -3267,14 +3263,14 @@ function ae(e, t, n, r, i, s, a) {
|
|
|
3267
3263
|
];
|
|
3268
3264
|
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
|
3269
3265
|
var h = u[l];
|
|
3270
|
-
if (
|
|
3266
|
+
if (je(h)) {
|
|
3271
3267
|
o.push({
|
|
3272
3268
|
type: A.literal,
|
|
3273
3269
|
value: h.value
|
|
3274
3270
|
});
|
|
3275
3271
|
continue;
|
|
3276
3272
|
}
|
|
3277
|
-
if (
|
|
3273
|
+
if (Sn(h)) {
|
|
3278
3274
|
typeof s == "number" && o.push({
|
|
3279
3275
|
type: A.literal,
|
|
3280
3276
|
value: n.getNumberFormat(t).format(s)
|
|
@@ -3283,16 +3279,16 @@ function ae(e, t, n, r, i, s, a) {
|
|
|
3283
3279
|
}
|
|
3284
3280
|
var c = h.value;
|
|
3285
3281
|
if (!(i && c in i))
|
|
3286
|
-
throw new
|
|
3282
|
+
throw new tr(c, a);
|
|
3287
3283
|
var f = i[c];
|
|
3288
|
-
if (
|
|
3284
|
+
if (Tn(h)) {
|
|
3289
3285
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3290
3286
|
type: typeof f == "string" ? A.literal : A.object,
|
|
3291
3287
|
value: f
|
|
3292
3288
|
});
|
|
3293
3289
|
continue;
|
|
3294
3290
|
}
|
|
3295
|
-
if (
|
|
3291
|
+
if (mt(h)) {
|
|
3296
3292
|
var b = typeof h.style == "string" ? r.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
|
|
3297
3293
|
o.push({
|
|
3298
3294
|
type: A.literal,
|
|
@@ -3300,7 +3296,7 @@ function ae(e, t, n, r, i, s, a) {
|
|
|
3300
3296
|
});
|
|
3301
3297
|
continue;
|
|
3302
3298
|
}
|
|
3303
|
-
if (
|
|
3299
|
+
if (dt(h)) {
|
|
3304
3300
|
var b = typeof h.style == "string" ? r.time[h.style] : Ae(h.style) ? h.style.parsedOptions : r.time.medium;
|
|
3305
3301
|
o.push({
|
|
3306
3302
|
type: A.literal,
|
|
@@ -3308,18 +3304,18 @@ function ae(e, t, n, r, i, s, a) {
|
|
|
3308
3304
|
});
|
|
3309
3305
|
continue;
|
|
3310
3306
|
}
|
|
3311
|
-
if (
|
|
3312
|
-
var b = typeof h.style == "string" ? r.number[h.style] :
|
|
3307
|
+
if (ct(h)) {
|
|
3308
|
+
var b = typeof h.style == "string" ? r.number[h.style] : yt(h.style) ? h.style.parsedOptions : void 0;
|
|
3313
3309
|
b && b.scale && (f = f * (b.scale || 1)), o.push({
|
|
3314
3310
|
type: A.literal,
|
|
3315
3311
|
value: n.getNumberFormat(t, b).format(f)
|
|
3316
3312
|
});
|
|
3317
3313
|
continue;
|
|
3318
3314
|
}
|
|
3319
|
-
if (
|
|
3315
|
+
if (pt(h)) {
|
|
3320
3316
|
var y = h.children, v = h.value, T = i[v];
|
|
3321
|
-
if (!
|
|
3322
|
-
throw new
|
|
3317
|
+
if (!rr(T))
|
|
3318
|
+
throw new er(v, "function", a);
|
|
3323
3319
|
var N = ae(y, t, n, r, i, s), P = T(N.map(function(O) {
|
|
3324
3320
|
return O.value;
|
|
3325
3321
|
}));
|
|
@@ -3330,14 +3326,14 @@ function ae(e, t, n, r, i, s, a) {
|
|
|
3330
3326
|
};
|
|
3331
3327
|
}));
|
|
3332
3328
|
}
|
|
3333
|
-
if (
|
|
3329
|
+
if (gt(h)) {
|
|
3334
3330
|
var S = h.options[f] || h.options.other;
|
|
3335
3331
|
if (!S)
|
|
3336
|
-
throw new
|
|
3332
|
+
throw new Qe(h.value, f, Object.keys(h.options), a);
|
|
3337
3333
|
o.push.apply(o, ae(S.value, t, n, r, i));
|
|
3338
3334
|
continue;
|
|
3339
3335
|
}
|
|
3340
|
-
if (
|
|
3336
|
+
if (bt(h)) {
|
|
3341
3337
|
var S = h.options["=".concat(f)];
|
|
3342
3338
|
if (!S) {
|
|
3343
3339
|
if (!Intl.PluralRules)
|
|
@@ -3348,21 +3344,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3348
3344
|
S = h.options[B] || h.options.other;
|
|
3349
3345
|
}
|
|
3350
3346
|
if (!S)
|
|
3351
|
-
throw new
|
|
3347
|
+
throw new Qe(h.value, f, Object.keys(h.options), a);
|
|
3352
3348
|
o.push.apply(o, ae(S.value, t, n, r, i, f - (h.offset || 0)));
|
|
3353
3349
|
continue;
|
|
3354
3350
|
}
|
|
3355
3351
|
}
|
|
3356
|
-
return
|
|
3352
|
+
return nr(o);
|
|
3357
3353
|
}
|
|
3358
|
-
function
|
|
3354
|
+
function ir(e, t) {
|
|
3359
3355
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3360
3356
|
return n[r] = E(E({}, e[r]), t[r] || {}), n;
|
|
3361
3357
|
}, {})) : e;
|
|
3362
3358
|
}
|
|
3363
|
-
function
|
|
3359
|
+
function sr(e, t) {
|
|
3364
3360
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3365
|
-
return n[r] =
|
|
3361
|
+
return n[r] = ir(e[r], t[r]), n;
|
|
3366
3362
|
}, E({}, e)) : e;
|
|
3367
3363
|
}
|
|
3368
3364
|
function xe(e) {
|
|
@@ -3379,7 +3375,7 @@ function xe(e) {
|
|
|
3379
3375
|
}
|
|
3380
3376
|
};
|
|
3381
3377
|
}
|
|
3382
|
-
function
|
|
3378
|
+
function ar(e) {
|
|
3383
3379
|
return e === void 0 && (e = {
|
|
3384
3380
|
number: {},
|
|
3385
3381
|
dateTime: {},
|
|
@@ -3411,7 +3407,7 @@ function or(e) {
|
|
|
3411
3407
|
})
|
|
3412
3408
|
};
|
|
3413
3409
|
}
|
|
3414
|
-
var
|
|
3410
|
+
var or = (
|
|
3415
3411
|
/** @class */
|
|
3416
3412
|
function() {
|
|
3417
3413
|
function e(t, n, r, i) {
|
|
@@ -3443,13 +3439,13 @@ var ur = (
|
|
|
3443
3439
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3444
3440
|
var a = i || {};
|
|
3445
3441
|
a.formatters;
|
|
3446
|
-
var o =
|
|
3442
|
+
var o = Yt(a, ["formatters"]);
|
|
3447
3443
|
this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
|
|
3448
3444
|
} else
|
|
3449
3445
|
this.ast = t;
|
|
3450
3446
|
if (!Array.isArray(this.ast))
|
|
3451
3447
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3452
|
-
this.formats =
|
|
3448
|
+
this.formats = sr(e.formats, r), this.formatters = i && i.formatters || ar(this.formatterCache);
|
|
3453
3449
|
}
|
|
3454
3450
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3455
3451
|
get: function() {
|
|
@@ -3462,7 +3458,7 @@ var ur = (
|
|
|
3462
3458
|
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3463
3459
|
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3464
3460
|
}
|
|
3465
|
-
}, e.__parse =
|
|
3461
|
+
}, e.__parse = Kn, e.formats = {
|
|
3466
3462
|
number: {
|
|
3467
3463
|
integer: {
|
|
3468
3464
|
maximumFractionDigits: 0
|
|
@@ -3523,7 +3519,7 @@ var ur = (
|
|
|
3523
3519
|
}, e;
|
|
3524
3520
|
}()
|
|
3525
3521
|
);
|
|
3526
|
-
function
|
|
3522
|
+
function ur(e, t) {
|
|
3527
3523
|
if (t == null)
|
|
3528
3524
|
return;
|
|
3529
3525
|
if (t in e)
|
|
@@ -3544,60 +3540,60 @@ function hr(e, t) {
|
|
|
3544
3540
|
r = void 0;
|
|
3545
3541
|
return r;
|
|
3546
3542
|
}
|
|
3547
|
-
const C = {},
|
|
3543
|
+
const C = {}, hr = (e, t, n) => n && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = n), n), Bt = (e, t) => {
|
|
3548
3544
|
if (t == null)
|
|
3549
3545
|
return;
|
|
3550
3546
|
if (t in C && e in C[t])
|
|
3551
3547
|
return C[t][e];
|
|
3552
3548
|
const n = de(t);
|
|
3553
3549
|
for (let r = 0; r < n.length; r++) {
|
|
3554
|
-
const i = n[r], s =
|
|
3550
|
+
const i = n[r], s = fr(i, e);
|
|
3555
3551
|
if (s)
|
|
3556
|
-
return
|
|
3552
|
+
return hr(e, t, s);
|
|
3557
3553
|
}
|
|
3558
3554
|
};
|
|
3559
|
-
let
|
|
3560
|
-
const
|
|
3561
|
-
function
|
|
3562
|
-
return
|
|
3555
|
+
let $e;
|
|
3556
|
+
const z = ce({});
|
|
3557
|
+
function lr(e) {
|
|
3558
|
+
return $e[e] || null;
|
|
3563
3559
|
}
|
|
3564
|
-
function
|
|
3565
|
-
return e in
|
|
3560
|
+
function At(e) {
|
|
3561
|
+
return e in $e;
|
|
3566
3562
|
}
|
|
3567
|
-
function
|
|
3568
|
-
if (!
|
|
3563
|
+
function fr(e, t) {
|
|
3564
|
+
if (!At(e))
|
|
3569
3565
|
return null;
|
|
3570
|
-
const n =
|
|
3571
|
-
return
|
|
3566
|
+
const n = lr(e);
|
|
3567
|
+
return ur(n, t);
|
|
3572
3568
|
}
|
|
3573
|
-
function
|
|
3569
|
+
function cr(e) {
|
|
3574
3570
|
if (e == null)
|
|
3575
3571
|
return;
|
|
3576
3572
|
const t = de(e);
|
|
3577
3573
|
for (let n = 0; n < t.length; n++) {
|
|
3578
3574
|
const r = t[n];
|
|
3579
|
-
if (
|
|
3575
|
+
if (At(r))
|
|
3580
3576
|
return r;
|
|
3581
3577
|
}
|
|
3582
3578
|
}
|
|
3583
|
-
function
|
|
3584
|
-
delete C[e],
|
|
3579
|
+
function mr(e, ...t) {
|
|
3580
|
+
delete C[e], z.update((n) => (n[e] = bn.all([n[e] || {}, ...t]), n));
|
|
3585
3581
|
}
|
|
3586
|
-
|
|
3587
|
-
[
|
|
3582
|
+
W(
|
|
3583
|
+
[z],
|
|
3588
3584
|
([e]) => Object.keys(e)
|
|
3589
3585
|
);
|
|
3590
|
-
|
|
3586
|
+
z.subscribe((e) => $e = e);
|
|
3591
3587
|
const oe = {};
|
|
3592
|
-
function
|
|
3588
|
+
function dr(e, t) {
|
|
3593
3589
|
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
|
3594
3590
|
}
|
|
3595
|
-
function
|
|
3591
|
+
function wt(e) {
|
|
3596
3592
|
return oe[e];
|
|
3597
3593
|
}
|
|
3598
|
-
function
|
|
3594
|
+
function gr(e) {
|
|
3599
3595
|
return de(e).map((t) => {
|
|
3600
|
-
const n =
|
|
3596
|
+
const n = wt(t);
|
|
3601
3597
|
return [t, n ? [...n] : []];
|
|
3602
3598
|
}).filter(([, t]) => t.length > 0);
|
|
3603
3599
|
}
|
|
@@ -3605,31 +3601,31 @@ function Le(e) {
|
|
|
3605
3601
|
return e == null ? !1 : de(e).some(
|
|
3606
3602
|
(t) => {
|
|
3607
3603
|
var n;
|
|
3608
|
-
return (n =
|
|
3604
|
+
return (n = wt(t)) == null ? void 0 : n.size;
|
|
3609
3605
|
}
|
|
3610
3606
|
);
|
|
3611
3607
|
}
|
|
3612
|
-
function
|
|
3608
|
+
function br(e, t) {
|
|
3613
3609
|
return Promise.all(
|
|
3614
|
-
t.map((r) => (
|
|
3615
|
-
).then((r) =>
|
|
3610
|
+
t.map((r) => (dr(e, r), r().then((i) => i.default || i)))
|
|
3611
|
+
).then((r) => mr(e, ...r));
|
|
3616
3612
|
}
|
|
3617
3613
|
const Q = {};
|
|
3618
|
-
function
|
|
3614
|
+
function Pt(e) {
|
|
3619
3615
|
if (!Le(e))
|
|
3620
3616
|
return e in Q ? Q[e] : Promise.resolve();
|
|
3621
|
-
const t =
|
|
3617
|
+
const t = gr(e);
|
|
3622
3618
|
return Q[e] = Promise.all(
|
|
3623
3619
|
t.map(
|
|
3624
|
-
([n, r]) =>
|
|
3620
|
+
([n, r]) => br(n, r)
|
|
3625
3621
|
)
|
|
3626
3622
|
).then(() => {
|
|
3627
3623
|
if (Le(e))
|
|
3628
|
-
return
|
|
3624
|
+
return Pt(e);
|
|
3629
3625
|
delete Q[e];
|
|
3630
3626
|
}), Q[e];
|
|
3631
3627
|
}
|
|
3632
|
-
const
|
|
3628
|
+
const pr = {
|
|
3633
3629
|
number: {
|
|
3634
3630
|
scientific: { notation: "scientific" },
|
|
3635
3631
|
engineering: { notation: "engineering" },
|
|
@@ -3658,34 +3654,34 @@ const yr = {
|
|
|
3658
3654
|
timeZoneName: "short"
|
|
3659
3655
|
}
|
|
3660
3656
|
}
|
|
3661
|
-
},
|
|
3657
|
+
}, yr = {
|
|
3662
3658
|
fallbackLocale: null,
|
|
3663
3659
|
loadingDelay: 200,
|
|
3664
|
-
formats:
|
|
3660
|
+
formats: pr,
|
|
3665
3661
|
warnOnMissingMessages: !0,
|
|
3666
3662
|
handleMissingMessage: void 0,
|
|
3667
3663
|
ignoreTag: !0
|
|
3668
|
-
},
|
|
3664
|
+
}, Er = yr;
|
|
3669
3665
|
function V() {
|
|
3670
|
-
return
|
|
3666
|
+
return Er;
|
|
3671
3667
|
}
|
|
3672
3668
|
const ve = ce(!1);
|
|
3673
|
-
var
|
|
3674
|
-
for (var n in t)
|
|
3675
|
-
|
|
3676
|
-
if (
|
|
3677
|
-
for (var n of
|
|
3678
|
-
|
|
3669
|
+
var _r = Object.defineProperty, xr = Object.defineProperties, vr = Object.getOwnPropertyDescriptors, qe = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Je = (e, t, n) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Sr = (e, t) => {
|
|
3670
|
+
for (var n in t || (t = {}))
|
|
3671
|
+
Hr.call(t, n) && Je(e, n, t[n]);
|
|
3672
|
+
if (qe)
|
|
3673
|
+
for (var n of qe(t))
|
|
3674
|
+
Tr.call(t, n) && Je(e, n, t[n]);
|
|
3679
3675
|
return e;
|
|
3680
|
-
},
|
|
3676
|
+
}, Br = (e, t) => xr(e, vr(t));
|
|
3681
3677
|
let Ce;
|
|
3682
3678
|
const ue = ce(null);
|
|
3683
|
-
function
|
|
3679
|
+
function Ye(e) {
|
|
3684
3680
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3685
3681
|
}
|
|
3686
3682
|
function de(e, t = V().fallbackLocale) {
|
|
3687
|
-
const n =
|
|
3688
|
-
return t ? [.../* @__PURE__ */ new Set([...n, ...
|
|
3683
|
+
const n = Ye(e);
|
|
3684
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...Ye(t)])] : n;
|
|
3689
3685
|
}
|
|
3690
3686
|
function R() {
|
|
3691
3687
|
return Ce ?? void 0;
|
|
@@ -3693,22 +3689,22 @@ function R() {
|
|
|
3693
3689
|
ue.subscribe((e) => {
|
|
3694
3690
|
Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3695
3691
|
});
|
|
3696
|
-
const
|
|
3697
|
-
if (e &&
|
|
3692
|
+
const Ar = (e) => {
|
|
3693
|
+
if (e && cr(e) && Le(e)) {
|
|
3698
3694
|
const { loadingDelay: t } = V();
|
|
3699
3695
|
let n;
|
|
3700
3696
|
return typeof window < "u" && R() != null && t ? n = window.setTimeout(
|
|
3701
3697
|
() => ve.set(!0),
|
|
3702
3698
|
t
|
|
3703
|
-
) : ve.set(!0),
|
|
3699
|
+
) : ve.set(!0), Pt(e).then(() => {
|
|
3704
3700
|
ue.set(e);
|
|
3705
3701
|
}).finally(() => {
|
|
3706
3702
|
clearTimeout(n), ve.set(!1);
|
|
3707
3703
|
});
|
|
3708
3704
|
}
|
|
3709
3705
|
return ue.set(e);
|
|
3710
|
-
}, M =
|
|
3711
|
-
set:
|
|
3706
|
+
}, M = Br(Sr({}, ue), {
|
|
3707
|
+
set: Ar
|
|
3712
3708
|
}), ge = (e) => {
|
|
3713
3709
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3714
3710
|
return (r) => {
|
|
@@ -3716,20 +3712,20 @@ const wr = (e) => {
|
|
|
3716
3712
|
return i in t ? t[i] : t[i] = e(r);
|
|
3717
3713
|
};
|
|
3718
3714
|
};
|
|
3719
|
-
var
|
|
3715
|
+
var wr = Object.defineProperty, he = Object.getOwnPropertySymbols, Nt = Object.prototype.hasOwnProperty, Ot = Object.prototype.propertyIsEnumerable, Ke = (e, t, n) => t in e ? wr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ue = (e, t) => {
|
|
3720
3716
|
for (var n in t || (t = {}))
|
|
3721
|
-
|
|
3717
|
+
Nt.call(t, n) && Ke(e, n, t[n]);
|
|
3722
3718
|
if (he)
|
|
3723
3719
|
for (var n of he(t))
|
|
3724
|
-
|
|
3720
|
+
Ot.call(t, n) && Ke(e, n, t[n]);
|
|
3725
3721
|
return e;
|
|
3726
3722
|
}, Z = (e, t) => {
|
|
3727
3723
|
var n = {};
|
|
3728
3724
|
for (var r in e)
|
|
3729
|
-
|
|
3725
|
+
Nt.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3730
3726
|
if (e != null && he)
|
|
3731
3727
|
for (var r of he(e))
|
|
3732
|
-
t.indexOf(r) < 0 &&
|
|
3728
|
+
t.indexOf(r) < 0 && Ot.call(e, r) && (n[r] = e[r]);
|
|
3733
3729
|
return n;
|
|
3734
3730
|
};
|
|
3735
3731
|
const K = (e, t) => {
|
|
@@ -3737,21 +3733,21 @@ const K = (e, t) => {
|
|
|
3737
3733
|
if (e in n && t in n[e])
|
|
3738
3734
|
return n[e][t];
|
|
3739
3735
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3740
|
-
},
|
|
3736
|
+
}, Pr = ge(
|
|
3741
3737
|
(e) => {
|
|
3742
3738
|
var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
|
|
3743
3739
|
if (n == null)
|
|
3744
3740
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3745
3741
|
return r && (i = K("number", r)), new Intl.NumberFormat(n, i);
|
|
3746
3742
|
}
|
|
3747
|
-
),
|
|
3743
|
+
), Nr = ge(
|
|
3748
3744
|
(e) => {
|
|
3749
3745
|
var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
|
|
3750
3746
|
if (n == null)
|
|
3751
3747
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3752
3748
|
return r ? i = K("date", r) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3753
3749
|
}
|
|
3754
|
-
),
|
|
3750
|
+
), Or = ge(
|
|
3755
3751
|
(e) => {
|
|
3756
3752
|
var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
|
|
3757
3753
|
if (n == null)
|
|
@@ -3760,33 +3756,33 @@ const K = (e, t) => {
|
|
|
3760
3756
|
);
|
|
3761
3757
|
return r ? i = K("time", r) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3762
3758
|
}
|
|
3763
|
-
),
|
|
3759
|
+
), Ir = (e = {}) => {
|
|
3764
3760
|
var t = e, {
|
|
3765
3761
|
locale: n = R()
|
|
3766
3762
|
} = t, r = Z(t, [
|
|
3767
3763
|
"locale"
|
|
3768
3764
|
]);
|
|
3769
|
-
return
|
|
3770
|
-
},
|
|
3765
|
+
return Pr(Ue({ locale: n }, r));
|
|
3766
|
+
}, Lr = (e = {}) => {
|
|
3771
3767
|
var t = e, {
|
|
3772
3768
|
locale: n = R()
|
|
3773
3769
|
} = t, r = Z(t, [
|
|
3774
3770
|
"locale"
|
|
3775
3771
|
]);
|
|
3776
|
-
return
|
|
3777
|
-
},
|
|
3772
|
+
return Nr(Ue({ locale: n }, r));
|
|
3773
|
+
}, Cr = (e = {}) => {
|
|
3778
3774
|
var t = e, {
|
|
3779
3775
|
locale: n = R()
|
|
3780
3776
|
} = t, r = Z(t, [
|
|
3781
3777
|
"locale"
|
|
3782
3778
|
]);
|
|
3783
|
-
return
|
|
3784
|
-
},
|
|
3779
|
+
return Or(Ue({ locale: n }, r));
|
|
3780
|
+
}, Mr = ge(
|
|
3785
3781
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3786
|
-
(e, t = R()) => new
|
|
3782
|
+
(e, t = R()) => new or(e, t, V().formats, {
|
|
3787
3783
|
ignoreTag: V().ignoreTag
|
|
3788
3784
|
})
|
|
3789
|
-
),
|
|
3785
|
+
), Rr = (e, t = {}) => {
|
|
3790
3786
|
var n, r, i, s;
|
|
3791
3787
|
let a = t;
|
|
3792
3788
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3799,7 +3795,7 @@ const K = (e, t) => {
|
|
|
3799
3795
|
throw new Error(
|
|
3800
3796
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3801
3797
|
);
|
|
3802
|
-
let h =
|
|
3798
|
+
let h = Bt(e, l);
|
|
3803
3799
|
if (!h)
|
|
3804
3800
|
h = (s = (i = (r = (n = V()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3805
3801
|
else if (typeof h != "string")
|
|
@@ -3810,7 +3806,7 @@ const K = (e, t) => {
|
|
|
3810
3806
|
return h;
|
|
3811
3807
|
let c = h;
|
|
3812
3808
|
try {
|
|
3813
|
-
c =
|
|
3809
|
+
c = Mr(h, l).format(o);
|
|
3814
3810
|
} catch (f) {
|
|
3815
3811
|
f instanceof Error && console.warn(
|
|
3816
3812
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3818,14 +3814,14 @@ const K = (e, t) => {
|
|
|
3818
3814
|
);
|
|
3819
3815
|
}
|
|
3820
3816
|
return c;
|
|
3821
|
-
},
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
function
|
|
3817
|
+
}, $r = (e, t) => Cr(t).format(e), Ur = (e, t) => Lr(t).format(e), Dr = (e, t) => Ir(t).format(e), Gr = (e, t = R()) => Bt(e, t), ui = W([M, z], () => Rr);
|
|
3818
|
+
W([M], () => $r);
|
|
3819
|
+
W([M], () => Ur);
|
|
3820
|
+
W([M], () => Dr);
|
|
3821
|
+
W([M, z], () => Gr);
|
|
3822
|
+
function Fr({ withLocale: e, translations: t }) {
|
|
3827
3823
|
M.subscribe((n) => {
|
|
3828
|
-
n == null && (
|
|
3824
|
+
n == null && (z.set(t), M.set(e));
|
|
3829
3825
|
});
|
|
3830
3826
|
}
|
|
3831
3827
|
if (typeof window < "u") {
|
|
@@ -3840,14 +3836,14 @@ if (typeof window < "u") {
|
|
|
3840
3836
|
}
|
|
3841
3837
|
};
|
|
3842
3838
|
};
|
|
3843
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3839
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-GnEHTBXx.js").then(({ default: t }) => {
|
|
3844
3840
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3845
3841
|
});
|
|
3846
3842
|
}
|
|
3847
|
-
function
|
|
3848
|
-
|
|
3843
|
+
function jr(e) {
|
|
3844
|
+
Mt(e, "svelte-1rh2qpg", ".CasinoFavoritesSectionContainer{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
3849
3845
|
}
|
|
3850
|
-
function
|
|
3846
|
+
function et(e) {
|
|
3851
3847
|
let t;
|
|
3852
3848
|
return {
|
|
3853
3849
|
c() {
|
|
@@ -4051,10 +4047,10 @@ function tt(e) {
|
|
|
4051
4047
|
}
|
|
4052
4048
|
};
|
|
4053
4049
|
}
|
|
4054
|
-
function
|
|
4050
|
+
function kr(e) {
|
|
4055
4051
|
let t, n = (
|
|
4056
4052
|
/*session*/
|
|
4057
|
-
e[4] &&
|
|
4053
|
+
e[4] && et(e)
|
|
4058
4054
|
);
|
|
4059
4055
|
return {
|
|
4060
4056
|
c() {
|
|
@@ -4065,7 +4061,7 @@ function Vr(e) {
|
|
|
4065
4061
|
},
|
|
4066
4062
|
p(r, [i]) {
|
|
4067
4063
|
/*session*/
|
|
4068
|
-
r[4] ? n ? n.p(r, i) : (n =
|
|
4064
|
+
r[4] ? n ? n.p(r, i) : (n = et(r), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
|
|
4069
4065
|
},
|
|
4070
4066
|
i: I,
|
|
4071
4067
|
o: I,
|
|
@@ -4074,9 +4070,9 @@ function Vr(e) {
|
|
|
4074
4070
|
}
|
|
4075
4071
|
};
|
|
4076
4072
|
}
|
|
4077
|
-
function
|
|
4073
|
+
function Vr(e, t, n) {
|
|
4078
4074
|
let { endpoint: r = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: c = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl: v = "false" } = t, { visiblegames: T = "" } = t, { favorites: N = "" } = t, { casinomygames: P = "false" } = t, { fetchviaevent: S = "true" } = t, B;
|
|
4079
|
-
|
|
4075
|
+
Fr({ withLocale: "en", translations: {} });
|
|
4080
4076
|
const O = () => {
|
|
4081
4077
|
let m = document.createElement("style");
|
|
4082
4078
|
m.innerHTML = u, B.appendChild(m);
|
|
@@ -4124,14 +4120,14 @@ function Xr(e, t, n) {
|
|
|
4124
4120
|
x
|
|
4125
4121
|
];
|
|
4126
4122
|
}
|
|
4127
|
-
class
|
|
4123
|
+
class It extends qt {
|
|
4128
4124
|
constructor(t) {
|
|
4129
|
-
super(),
|
|
4125
|
+
super(), Zt(
|
|
4130
4126
|
this,
|
|
4131
4127
|
t,
|
|
4132
|
-
Xr,
|
|
4133
4128
|
Vr,
|
|
4134
|
-
|
|
4129
|
+
kr,
|
|
4130
|
+
nt,
|
|
4135
4131
|
{
|
|
4136
4132
|
endpoint: 0,
|
|
4137
4133
|
datasource: 1,
|
|
@@ -4151,7 +4147,7 @@ class Lt extends Jt {
|
|
|
4151
4147
|
casinomygames: 15,
|
|
4152
4148
|
fetchviaevent: 16
|
|
4153
4149
|
},
|
|
4154
|
-
|
|
4150
|
+
jr
|
|
4155
4151
|
);
|
|
4156
4152
|
}
|
|
4157
4153
|
get endpoint() {
|
|
@@ -4257,51 +4253,51 @@ class Lt extends Jt {
|
|
|
4257
4253
|
this.$$set({ fetchviaevent: t }), H();
|
|
4258
4254
|
}
|
|
4259
4255
|
}
|
|
4260
|
-
|
|
4261
|
-
const
|
|
4256
|
+
Qt(It, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
|
|
4257
|
+
const hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4262
4258
|
__proto__: null,
|
|
4263
|
-
default:
|
|
4259
|
+
default: It
|
|
4264
4260
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4265
4261
|
export {
|
|
4266
4262
|
M as $,
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4263
|
+
Yr as A,
|
|
4264
|
+
Xr as B,
|
|
4265
|
+
Qt as C,
|
|
4266
|
+
ui as D,
|
|
4267
|
+
Kr as E,
|
|
4268
|
+
Qr as F,
|
|
4269
|
+
ni as G,
|
|
4270
|
+
ei as H,
|
|
4271
|
+
si as I,
|
|
4276
4272
|
d as J,
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4273
|
+
ii as K,
|
|
4274
|
+
hi as L,
|
|
4275
|
+
qt as S,
|
|
4276
|
+
ai as _,
|
|
4281
4277
|
pe as a,
|
|
4282
|
-
|
|
4278
|
+
oi as b,
|
|
4283
4279
|
fe as c,
|
|
4284
|
-
|
|
4285
|
-
|
|
4280
|
+
z as d,
|
|
4281
|
+
mr as e,
|
|
4286
4282
|
H as f,
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4283
|
+
Mt as g,
|
|
4284
|
+
ee as h,
|
|
4285
|
+
Zt as i,
|
|
4286
|
+
le as j,
|
|
4287
|
+
te as k,
|
|
4288
|
+
Wr as l,
|
|
4289
|
+
He as m,
|
|
4294
4290
|
I as n,
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4291
|
+
ti as o,
|
|
4292
|
+
Jr as p,
|
|
4293
|
+
Ct as q,
|
|
4294
|
+
Re as r,
|
|
4295
|
+
nt as s,
|
|
4296
|
+
it as t,
|
|
4297
|
+
ri as u,
|
|
4298
|
+
zr as v,
|
|
4299
|
+
X as w,
|
|
4300
|
+
qr as x,
|
|
4301
|
+
Ut as y,
|
|
4306
4302
|
Zr as z
|
|
4307
4303
|
};
|