@everymatrix/casino-favorites-section 1.55.0 → 1.56.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-BHRnzjgy.js → CasinoFavoritesSection-BbAfqrjp.js} +265 -234
- package/components/{CasinoFavoritesSection-B84BEw12.js → CasinoFavoritesSection-BnRCUetc.js} +737 -706
- package/components/CasinoFavoritesSection-uVv_6GgX.cjs +16 -0
- package/components/{CasinoFilter-DTe1Ze_F.cjs → CasinoFilter-BAlRET3z.cjs} +1 -1
- package/components/{CasinoFilter-DywIoGE0.js → CasinoFilter-BLKx07_x.js} +15 -8
- package/components/{CasinoFilter-D8qDS5Bp.js → CasinoFilter-CEbheVVU.js} +15 -8
- package/components/{CasinoGameThumbnail-DXI0eRB3.js → CasinoGameThumbnail-DqL5PpF3.js} +1354 -1419
- package/components/CasinoGameThumbnail-T3fZN1Gl.cjs +47 -0
- package/components/{CasinoGameThumbnail-D52890Of.js → CasinoGameThumbnail-UwHivgu0.js} +1156 -1189
- package/components/{CasinoGamesCategorySection-3T4PXuy6.js → CasinoGamesCategorySection-5jyRH8yY.js} +1060 -1089
- package/components/{CasinoGamesCategorySection-CauQjbuA.js → CasinoGamesCategorySection-BvLgHejM.js} +491 -520
- package/components/CasinoGamesCategorySection-CcW4F72s.cjs +1 -0
- package/components/CasinoSort-CKe7Vrm3.cjs +1 -0
- package/components/{CasinoSort-D9AuOErL.js → CasinoSort-CPb5gLLA.js} +27 -26
- package/components/{CasinoSort-C2dKvnLN.js → CasinoSort-CeHhMUhm.js} +24 -23
- package/es2015/casino-favorites-section.cjs +1 -1
- package/es2015/casino-favorites-section.js +1 -1
- package/esnext/casino-favorites-section.js +1 -1
- package/package.json +1 -1
- package/components/CasinoFavoritesSection-D7Two5pz.cjs +0 -3
- package/components/CasinoGameThumbnail-B7D45Y11.cjs +0 -47
- package/components/CasinoGamesCategorySection-C4Jdf3CC.cjs +0 -1
- package/components/CasinoSort-BZTmIlPi.cjs +0 -1
package/components/{CasinoFavoritesSection-BHRnzjgy.js → CasinoFavoritesSection-BbAfqrjp.js}
RENAMED
|
@@ -16,7 +16,7 @@ function it(e, t) {
|
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let ne;
|
|
19
|
-
function
|
|
19
|
+
function qn(e, t) {
|
|
20
20
|
return e === t ? !0 : (ne || (ne = document.createElement("a")), ne.href = t, e === ne.href);
|
|
21
21
|
}
|
|
22
22
|
function Ct(e) {
|
|
@@ -31,7 +31,7 @@ function st(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function Jn(e, t, r) {
|
|
35
35
|
e.$$.on_destroy.push(st(t, r));
|
|
36
36
|
}
|
|
37
37
|
function Mt(e, t) {
|
|
@@ -45,7 +45,8 @@ function Rt(e, t, r) {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
function $t(e) {
|
|
48
|
-
if (!e)
|
|
48
|
+
if (!e)
|
|
49
|
+
return document;
|
|
49
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
50
51
|
return t && /** @type {ShadowRoot} */
|
|
51
52
|
t.host ? (
|
|
@@ -66,7 +67,7 @@ function le(e, t, r) {
|
|
|
66
67
|
function ee(e) {
|
|
67
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
68
69
|
}
|
|
69
|
-
function
|
|
70
|
+
function Yn(e, t) {
|
|
70
71
|
for (let r = 0; r < e.length; r += 1)
|
|
71
72
|
e[r] && e[r].d(t);
|
|
72
73
|
}
|
|
@@ -79,13 +80,13 @@ function Dt(e) {
|
|
|
79
80
|
function at(e) {
|
|
80
81
|
return document.createTextNode(e);
|
|
81
82
|
}
|
|
82
|
-
function
|
|
83
|
+
function Kn() {
|
|
83
84
|
return at(" ");
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
+
function ei() {
|
|
86
87
|
return at("");
|
|
87
88
|
}
|
|
88
|
-
function
|
|
89
|
+
function ti(e, t, r, n) {
|
|
89
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
90
91
|
}
|
|
91
92
|
function Re(e, t, r) {
|
|
@@ -98,17 +99,17 @@ function g(e, t, r) {
|
|
|
98
99
|
function Gt(e) {
|
|
99
100
|
return Array.from(e.childNodes);
|
|
100
101
|
}
|
|
101
|
-
function
|
|
102
|
+
function ri(e, t) {
|
|
102
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
103
104
|
t);
|
|
104
105
|
}
|
|
105
|
-
function
|
|
106
|
+
function ni(e, t) {
|
|
106
107
|
e.value = t ?? "";
|
|
107
108
|
}
|
|
108
|
-
function
|
|
109
|
+
function ii(e, t, r) {
|
|
109
110
|
e.classList.toggle(t, !!r);
|
|
110
111
|
}
|
|
111
|
-
class
|
|
112
|
+
class si {
|
|
112
113
|
/**
|
|
113
114
|
* @private
|
|
114
115
|
* @default false
|
|
@@ -192,10 +193,11 @@ function q(e) {
|
|
|
192
193
|
J = e;
|
|
193
194
|
}
|
|
194
195
|
function jt() {
|
|
195
|
-
if (!J)
|
|
196
|
+
if (!J)
|
|
197
|
+
throw new Error("Function called outside component initialization");
|
|
196
198
|
return J;
|
|
197
199
|
}
|
|
198
|
-
function
|
|
200
|
+
function kt(e) {
|
|
199
201
|
jt().$$.on_mount.push(e);
|
|
200
202
|
}
|
|
201
203
|
const D = [], He = [];
|
|
@@ -221,12 +223,13 @@ function H() {
|
|
|
221
223
|
try {
|
|
222
224
|
for (; $ < D.length; ) {
|
|
223
225
|
const t = D[$];
|
|
224
|
-
$++, q(t),
|
|
226
|
+
$++, q(t), Vt(t.$$);
|
|
225
227
|
}
|
|
226
228
|
} catch (t) {
|
|
227
229
|
throw D.length = 0, $ = 0, t;
|
|
228
230
|
}
|
|
229
|
-
for (q(null), D.length = 0, $ = 0; He.length; )
|
|
231
|
+
for (q(null), D.length = 0, $ = 0; He.length; )
|
|
232
|
+
He.pop()();
|
|
230
233
|
for (let t = 0; t < G.length; t += 1) {
|
|
231
234
|
const r = G[t];
|
|
232
235
|
be.has(r) || (be.add(r), r());
|
|
@@ -237,20 +240,20 @@ function H() {
|
|
|
237
240
|
je.pop()();
|
|
238
241
|
Te = !1, be.clear(), q(e);
|
|
239
242
|
}
|
|
240
|
-
function
|
|
243
|
+
function Vt(e) {
|
|
241
244
|
if (e.fragment !== null) {
|
|
242
245
|
e.update(), X(e.before_update);
|
|
243
246
|
const t = e.dirty;
|
|
244
247
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
|
245
248
|
}
|
|
246
249
|
}
|
|
247
|
-
function
|
|
250
|
+
function Xt(e) {
|
|
248
251
|
const t = [], r = [];
|
|
249
252
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
250
253
|
}
|
|
251
|
-
const
|
|
254
|
+
const zt = /* @__PURE__ */ new Set();
|
|
252
255
|
function ht(e, t) {
|
|
253
|
-
e && e.i && (
|
|
256
|
+
e && e.i && (zt.delete(e), e.i(t));
|
|
254
257
|
}
|
|
255
258
|
function oi(e) {
|
|
256
259
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
@@ -261,7 +264,8 @@ function ui(e, t) {
|
|
|
261
264
|
function hi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
262
265
|
let f = e.length, b = s.length, y = f;
|
|
263
266
|
const _ = {};
|
|
264
|
-
for (; y--; )
|
|
267
|
+
for (; y--; )
|
|
268
|
+
_[e[y].key] = y;
|
|
265
269
|
const T = [], w = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), S = [];
|
|
266
270
|
for (y = b; y--; ) {
|
|
267
271
|
const c = m(i, s, y), I = r(c);
|
|
@@ -280,24 +284,25 @@ function hi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
280
284
|
const c = e[f];
|
|
281
285
|
w.has(c.key) || l(c, a);
|
|
282
286
|
}
|
|
283
|
-
for (; b; )
|
|
287
|
+
for (; b; )
|
|
288
|
+
O(T[b - 1]);
|
|
284
289
|
return X(S), T;
|
|
285
290
|
}
|
|
286
|
-
function
|
|
291
|
+
function Wt(e, t, r) {
|
|
287
292
|
const { fragment: n, after_update: i } = e.$$;
|
|
288
293
|
n && n.m(t, r), Se(() => {
|
|
289
294
|
const s = e.$$.on_mount.map(nt).filter(Me);
|
|
290
295
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
|
|
291
296
|
}), i.forEach(Se);
|
|
292
297
|
}
|
|
293
|
-
function
|
|
298
|
+
function Zt(e, t) {
|
|
294
299
|
const r = e.$$;
|
|
295
|
-
r.fragment !== null && (
|
|
300
|
+
r.fragment !== null && (Xt(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
296
301
|
}
|
|
297
|
-
function
|
|
302
|
+
function Qt(e, t) {
|
|
298
303
|
e.$$.dirty[0] === -1 && (D.push(e), ut(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
299
304
|
}
|
|
300
|
-
function
|
|
305
|
+
function qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
301
306
|
const l = J;
|
|
302
307
|
q(e);
|
|
303
308
|
const u = e.$$ = {
|
|
@@ -325,14 +330,14 @@ function Qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
325
330
|
let h = !1;
|
|
326
331
|
if (u.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
|
|
327
332
|
const y = b.length ? b[0] : f;
|
|
328
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h &&
|
|
333
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h && Qt(e, m)), f;
|
|
329
334
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
330
335
|
if (t.hydrate) {
|
|
331
336
|
const m = Gt(t.target);
|
|
332
337
|
u.fragment && u.fragment.l(m), m.forEach(ee);
|
|
333
338
|
} else
|
|
334
339
|
u.fragment && u.fragment.c();
|
|
335
|
-
t.intro && ht(e.$$.fragment),
|
|
340
|
+
t.intro && ht(e.$$.fragment), Wt(e, t.target, t.anchor), H();
|
|
336
341
|
}
|
|
337
342
|
q(l);
|
|
338
343
|
}
|
|
@@ -483,7 +488,7 @@ function se(e, t, r, n) {
|
|
|
483
488
|
return t;
|
|
484
489
|
}
|
|
485
490
|
}
|
|
486
|
-
function
|
|
491
|
+
function Jt(e, t, r, n, i, s) {
|
|
487
492
|
let a = class extends lt {
|
|
488
493
|
constructor() {
|
|
489
494
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -512,7 +517,7 @@ function qt(e, t, r, n, i, s) {
|
|
|
512
517
|
}), e.element = /** @type {any} */
|
|
513
518
|
a, a;
|
|
514
519
|
}
|
|
515
|
-
class
|
|
520
|
+
class Yt {
|
|
516
521
|
/**
|
|
517
522
|
* ### PRIVATE API
|
|
518
523
|
*
|
|
@@ -531,7 +536,7 @@ class Jt {
|
|
|
531
536
|
$$set = void 0;
|
|
532
537
|
/** @returns {void} */
|
|
533
538
|
$destroy() {
|
|
534
|
-
|
|
539
|
+
Zt(this, 1), this.$destroy = N;
|
|
535
540
|
}
|
|
536
541
|
/**
|
|
537
542
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -556,10 +561,10 @@ class Jt {
|
|
|
556
561
|
this.$$set && !Ct(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
557
562
|
}
|
|
558
563
|
}
|
|
559
|
-
const
|
|
560
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
564
|
+
const Kt = "4";
|
|
565
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kt);
|
|
561
566
|
const U = [];
|
|
562
|
-
function
|
|
567
|
+
function er(e, t) {
|
|
563
568
|
return {
|
|
564
569
|
subscribe: fe(e, t).subscribe
|
|
565
570
|
};
|
|
@@ -595,7 +600,7 @@ function z(e, t, r) {
|
|
|
595
600
|
if (!i.every(Boolean))
|
|
596
601
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
597
602
|
const s = t.length < 2;
|
|
598
|
-
return
|
|
603
|
+
return er(r, (a, o) => {
|
|
599
604
|
let l = !1;
|
|
600
605
|
const u = [];
|
|
601
606
|
let h = 0, m = N;
|
|
@@ -621,47 +626,47 @@ function z(e, t, r) {
|
|
|
621
626
|
};
|
|
622
627
|
});
|
|
623
628
|
}
|
|
624
|
-
function
|
|
629
|
+
function tr(e) {
|
|
625
630
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
626
631
|
}
|
|
627
|
-
var
|
|
628
|
-
return
|
|
632
|
+
var rr = function(t) {
|
|
633
|
+
return nr(t) && !ir(t);
|
|
629
634
|
};
|
|
630
|
-
function
|
|
635
|
+
function nr(e) {
|
|
631
636
|
return !!e && typeof e == "object";
|
|
632
637
|
}
|
|
633
|
-
function
|
|
638
|
+
function ir(e) {
|
|
634
639
|
var t = Object.prototype.toString.call(e);
|
|
635
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
636
|
-
}
|
|
637
|
-
var ir = typeof Symbol == "function" && Symbol.for, sr = ir ? Symbol.for("react.element") : 60103;
|
|
638
|
-
function ar(e) {
|
|
639
|
-
return e.$$typeof === sr;
|
|
640
|
+
return t === "[object RegExp]" || t === "[object Date]" || or(e);
|
|
640
641
|
}
|
|
642
|
+
var sr = typeof Symbol == "function" && Symbol.for, ar = sr ? Symbol.for("react.element") : 60103;
|
|
641
643
|
function or(e) {
|
|
644
|
+
return e.$$typeof === ar;
|
|
645
|
+
}
|
|
646
|
+
function ur(e) {
|
|
642
647
|
return Array.isArray(e) ? [] : {};
|
|
643
648
|
}
|
|
644
649
|
function Y(e, t) {
|
|
645
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
650
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(ur(e), e, t) : e;
|
|
646
651
|
}
|
|
647
|
-
function
|
|
652
|
+
function hr(e, t, r) {
|
|
648
653
|
return e.concat(t).map(function(n) {
|
|
649
654
|
return Y(n, r);
|
|
650
655
|
});
|
|
651
656
|
}
|
|
652
|
-
function
|
|
657
|
+
function lr(e, t) {
|
|
653
658
|
if (!t.customMerge)
|
|
654
659
|
return F;
|
|
655
660
|
var r = t.customMerge(e);
|
|
656
661
|
return typeof r == "function" ? r : F;
|
|
657
662
|
}
|
|
658
|
-
function
|
|
663
|
+
function fr(e) {
|
|
659
664
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
660
665
|
return Object.propertyIsEnumerable.call(e, t);
|
|
661
666
|
}) : [];
|
|
662
667
|
}
|
|
663
668
|
function ke(e) {
|
|
664
|
-
return Object.keys(e).concat(
|
|
669
|
+
return Object.keys(e).concat(fr(e));
|
|
665
670
|
}
|
|
666
671
|
function ft(e, t) {
|
|
667
672
|
try {
|
|
@@ -670,21 +675,21 @@ function ft(e, t) {
|
|
|
670
675
|
return !1;
|
|
671
676
|
}
|
|
672
677
|
}
|
|
673
|
-
function
|
|
678
|
+
function cr(e, t) {
|
|
674
679
|
return ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
675
680
|
}
|
|
676
|
-
function
|
|
681
|
+
function mr(e, t, r) {
|
|
677
682
|
var n = {};
|
|
678
683
|
return r.isMergeableObject(e) && ke(e).forEach(function(i) {
|
|
679
684
|
n[i] = Y(e[i], r);
|
|
680
685
|
}), ke(t).forEach(function(i) {
|
|
681
|
-
|
|
686
|
+
cr(e, i) || (ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = lr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
682
687
|
}), n;
|
|
683
688
|
}
|
|
684
689
|
function F(e, t, r) {
|
|
685
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
690
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = Y;
|
|
686
691
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
687
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
692
|
+
return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : Y(t, r);
|
|
688
693
|
}
|
|
689
694
|
F.all = function(t, r) {
|
|
690
695
|
if (!Array.isArray(t))
|
|
@@ -693,13 +698,28 @@ F.all = function(t, r) {
|
|
|
693
698
|
return F(n, i, r);
|
|
694
699
|
}, {});
|
|
695
700
|
};
|
|
696
|
-
var
|
|
697
|
-
const
|
|
701
|
+
var gr = F, dr = gr;
|
|
702
|
+
const br = /* @__PURE__ */ tr(dr);
|
|
703
|
+
/*! *****************************************************************************
|
|
704
|
+
Copyright (c) Microsoft Corporation.
|
|
705
|
+
|
|
706
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
707
|
+
purpose with or without fee is hereby granted.
|
|
708
|
+
|
|
709
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
710
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
711
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
712
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
713
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
714
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
715
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
716
|
+
***************************************************************************** */
|
|
698
717
|
var Be = function(e, t) {
|
|
699
718
|
return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
700
719
|
r.__proto__ = n;
|
|
701
720
|
} || function(r, n) {
|
|
702
|
-
for (var i in n)
|
|
721
|
+
for (var i in n)
|
|
722
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
703
723
|
}, Be(e, t);
|
|
704
724
|
};
|
|
705
725
|
function ce(e, t) {
|
|
@@ -715,14 +735,16 @@ var E = function() {
|
|
|
715
735
|
return E = Object.assign || function(t) {
|
|
716
736
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
717
737
|
r = arguments[n];
|
|
718
|
-
for (var s in r)
|
|
738
|
+
for (var s in r)
|
|
739
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
719
740
|
}
|
|
720
741
|
return t;
|
|
721
742
|
}, E.apply(this, arguments);
|
|
722
743
|
};
|
|
723
|
-
function
|
|
744
|
+
function pr(e, t) {
|
|
724
745
|
var r = {};
|
|
725
|
-
for (var n in e)
|
|
746
|
+
for (var n in e)
|
|
747
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
726
748
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
727
749
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
728
750
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
@@ -730,48 +752,54 @@ function br(e, t) {
|
|
|
730
752
|
}
|
|
731
753
|
function li(e) {
|
|
732
754
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
733
|
-
if (r)
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
755
|
+
if (r)
|
|
756
|
+
return r.call(e);
|
|
757
|
+
if (e && typeof e.length == "number")
|
|
758
|
+
return {
|
|
759
|
+
next: function() {
|
|
760
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
761
|
+
}
|
|
762
|
+
};
|
|
739
763
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
740
764
|
}
|
|
741
765
|
function fi(e, t) {
|
|
742
766
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
743
|
-
if (!r)
|
|
767
|
+
if (!r)
|
|
768
|
+
return e;
|
|
744
769
|
var n = r.call(e), i, s = [], a;
|
|
745
770
|
try {
|
|
746
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
771
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
772
|
+
s.push(i.value);
|
|
747
773
|
} catch (o) {
|
|
748
774
|
a = { error: o };
|
|
749
775
|
} finally {
|
|
750
776
|
try {
|
|
751
777
|
i && !i.done && (r = n.return) && r.call(n);
|
|
752
778
|
} finally {
|
|
753
|
-
if (a)
|
|
779
|
+
if (a)
|
|
780
|
+
throw a.error;
|
|
754
781
|
}
|
|
755
782
|
}
|
|
756
783
|
return s;
|
|
757
784
|
}
|
|
758
785
|
function pe(e, t, r) {
|
|
759
|
-
if (r || arguments.length === 2)
|
|
760
|
-
(
|
|
761
|
-
|
|
786
|
+
if (r || arguments.length === 2)
|
|
787
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
788
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
789
|
+
return e.concat(s || t);
|
|
762
790
|
}
|
|
763
791
|
function ye(e, t) {
|
|
764
|
-
var r = t && t.cache ? t.cache :
|
|
792
|
+
var r = t && t.cache ? t.cache : Hr, n = t && t.serializer ? t.serializer : xr, i = t && t.strategy ? t.strategy : Er;
|
|
765
793
|
return i(e, {
|
|
766
794
|
cache: r,
|
|
767
795
|
serializer: n
|
|
768
796
|
});
|
|
769
797
|
}
|
|
770
|
-
function
|
|
798
|
+
function yr(e) {
|
|
771
799
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
772
800
|
}
|
|
773
801
|
function ct(e, t, r, n) {
|
|
774
|
-
var i =
|
|
802
|
+
var i = yr(n) ? n : r(n), s = t.get(i);
|
|
775
803
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
776
804
|
}
|
|
777
805
|
function mt(e, t, r) {
|
|
@@ -781,17 +809,17 @@ function mt(e, t, r) {
|
|
|
781
809
|
function $e(e, t, r, n, i) {
|
|
782
810
|
return r.bind(t, e, n, i);
|
|
783
811
|
}
|
|
784
|
-
function
|
|
812
|
+
function Er(e, t) {
|
|
785
813
|
var r = e.length === 1 ? ct : mt;
|
|
786
814
|
return $e(e, this, r, t.cache.create(), t.serializer);
|
|
787
815
|
}
|
|
788
|
-
function
|
|
816
|
+
function vr(e, t) {
|
|
789
817
|
return $e(e, this, mt, t.cache.create(), t.serializer);
|
|
790
818
|
}
|
|
791
|
-
function
|
|
819
|
+
function _r(e, t) {
|
|
792
820
|
return $e(e, this, ct, t.cache.create(), t.serializer);
|
|
793
821
|
}
|
|
794
|
-
var
|
|
822
|
+
var xr = function() {
|
|
795
823
|
return JSON.stringify(arguments);
|
|
796
824
|
};
|
|
797
825
|
function Ue() {
|
|
@@ -803,13 +831,13 @@ Ue.prototype.get = function(e) {
|
|
|
803
831
|
Ue.prototype.set = function(e, t) {
|
|
804
832
|
this.cache[e] = t;
|
|
805
833
|
};
|
|
806
|
-
var
|
|
834
|
+
var Hr = {
|
|
807
835
|
create: function() {
|
|
808
836
|
return new Ue();
|
|
809
837
|
}
|
|
810
838
|
}, Ee = {
|
|
811
|
-
variadic:
|
|
812
|
-
monadic:
|
|
839
|
+
variadic: vr,
|
|
840
|
+
monadic: _r
|
|
813
841
|
}, d;
|
|
814
842
|
(function(e) {
|
|
815
843
|
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";
|
|
@@ -825,7 +853,7 @@ var j;
|
|
|
825
853
|
function Ve(e) {
|
|
826
854
|
return e.type === v.literal;
|
|
827
855
|
}
|
|
828
|
-
function
|
|
856
|
+
function Tr(e) {
|
|
829
857
|
return e.type === v.argument;
|
|
830
858
|
}
|
|
831
859
|
function gt(e) {
|
|
@@ -843,7 +871,7 @@ function pt(e) {
|
|
|
843
871
|
function yt(e) {
|
|
844
872
|
return e.type === v.plural;
|
|
845
873
|
}
|
|
846
|
-
function
|
|
874
|
+
function Sr(e) {
|
|
847
875
|
return e.type === v.pound;
|
|
848
876
|
}
|
|
849
877
|
function Et(e) {
|
|
@@ -855,10 +883,10 @@ function vt(e) {
|
|
|
855
883
|
function Ae(e) {
|
|
856
884
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
857
885
|
}
|
|
858
|
-
var _t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
859
|
-
function
|
|
886
|
+
var _t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Br = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
887
|
+
function Ar(e) {
|
|
860
888
|
var t = {};
|
|
861
|
-
return e.replace(
|
|
889
|
+
return e.replace(Br, function(r) {
|
|
862
890
|
var n = r.length;
|
|
863
891
|
switch (r[0]) {
|
|
864
892
|
case "G":
|
|
@@ -947,11 +975,11 @@ function Br(e) {
|
|
|
947
975
|
return "";
|
|
948
976
|
}), t;
|
|
949
977
|
}
|
|
950
|
-
var
|
|
951
|
-
function
|
|
978
|
+
var wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
979
|
+
function Pr(e) {
|
|
952
980
|
if (e.length === 0)
|
|
953
981
|
throw new Error("Number skeleton cannot be empty");
|
|
954
|
-
for (var t = e.split(
|
|
982
|
+
for (var t = e.split(wr).filter(function(f) {
|
|
955
983
|
return f.length > 0;
|
|
956
984
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
957
985
|
var s = i[n], a = s.split("/");
|
|
@@ -966,10 +994,10 @@ function wr(e) {
|
|
|
966
994
|
}
|
|
967
995
|
return r;
|
|
968
996
|
}
|
|
969
|
-
function
|
|
997
|
+
function Nr(e) {
|
|
970
998
|
return e.replace(/^(.*?)-/, "");
|
|
971
999
|
}
|
|
972
|
-
var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1000
|
+
var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, Ht = /^(0+)$/;
|
|
973
1001
|
function ze(e) {
|
|
974
1002
|
var t = {};
|
|
975
1003
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xt, function(r, n, i) {
|
|
@@ -1016,7 +1044,7 @@ function Tt(e) {
|
|
|
1016
1044
|
};
|
|
1017
1045
|
}
|
|
1018
1046
|
}
|
|
1019
|
-
function
|
|
1047
|
+
function Ir(e) {
|
|
1020
1048
|
var t;
|
|
1021
1049
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1022
1050
|
notation: "engineering"
|
|
@@ -1034,7 +1062,7 @@ function We(e) {
|
|
|
1034
1062
|
var t = {}, r = Tt(e);
|
|
1035
1063
|
return r || t;
|
|
1036
1064
|
}
|
|
1037
|
-
function
|
|
1065
|
+
function Lr(e) {
|
|
1038
1066
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1039
1067
|
var i = n[r];
|
|
1040
1068
|
switch (i.stem) {
|
|
@@ -1058,7 +1086,7 @@ function Ir(e) {
|
|
|
1058
1086
|
continue;
|
|
1059
1087
|
case "measure-unit":
|
|
1060
1088
|
case "unit":
|
|
1061
|
-
t.style = "unit", t.unit =
|
|
1089
|
+
t.style = "unit", t.unit = Nr(i.options[0]);
|
|
1062
1090
|
continue;
|
|
1063
1091
|
case "compact-short":
|
|
1064
1092
|
case "K":
|
|
@@ -1120,7 +1148,7 @@ function Ir(e) {
|
|
|
1120
1148
|
case "integer-width":
|
|
1121
1149
|
if (i.options.length > 1)
|
|
1122
1150
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1123
|
-
i.options[0].replace(
|
|
1151
|
+
i.options[0].replace(Or, function(l, u, h, m, f, b) {
|
|
1124
1152
|
if (u)
|
|
1125
1153
|
t.minimumIntegerDigits = h.length;
|
|
1126
1154
|
else {
|
|
@@ -1153,7 +1181,7 @@ function Ir(e) {
|
|
|
1153
1181
|
}
|
|
1154
1182
|
var a = Tt(i.stem);
|
|
1155
1183
|
a && (t = E(E({}, t), a));
|
|
1156
|
-
var o =
|
|
1184
|
+
var o = Ir(i.stem);
|
|
1157
1185
|
o && (t = E(E({}, t), o));
|
|
1158
1186
|
}
|
|
1159
1187
|
return t;
|
|
@@ -2573,22 +2601,23 @@ var ie = {
|
|
|
2573
2601
|
"h"
|
|
2574
2602
|
]
|
|
2575
2603
|
};
|
|
2576
|
-
function
|
|
2604
|
+
function Cr(e, t) {
|
|
2577
2605
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2578
2606
|
var i = e.charAt(n);
|
|
2579
2607
|
if (i === "j") {
|
|
2580
2608
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2581
2609
|
s++, n++;
|
|
2582
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2610
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Mr(t);
|
|
2583
2611
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2584
2612
|
r += l;
|
|
2585
2613
|
for (; a-- > 0; )
|
|
2586
2614
|
r = u + r;
|
|
2587
|
-
} else
|
|
2615
|
+
} else
|
|
2616
|
+
i === "J" ? r += "H" : r += i;
|
|
2588
2617
|
}
|
|
2589
2618
|
return r;
|
|
2590
2619
|
}
|
|
2591
|
-
function
|
|
2620
|
+
function Mr(e) {
|
|
2592
2621
|
var t = e.hourCycle;
|
|
2593
2622
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2594
2623
|
e.hourCycles && // @ts-ignore
|
|
@@ -2610,20 +2639,20 @@ function Cr(e) {
|
|
|
2610
2639
|
var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
|
|
2611
2640
|
return i[0];
|
|
2612
2641
|
}
|
|
2613
|
-
var ve,
|
|
2642
|
+
var ve, Rr = new RegExp("^".concat(_t.source, "*")), $r = new RegExp("".concat(_t.source, "*$"));
|
|
2614
2643
|
function p(e, t) {
|
|
2615
2644
|
return { start: e, end: t };
|
|
2616
2645
|
}
|
|
2617
|
-
var
|
|
2646
|
+
var Ur = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dr = !!String.fromCodePoint, Gr = !!Object.fromEntries, Fr = !!String.prototype.codePointAt, jr = !!String.prototype.trimStart, kr = !!String.prototype.trimEnd, Vr = !!Number.isSafeInteger, Xr = Vr ? Number.isSafeInteger : function(e) {
|
|
2618
2647
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2619
2648
|
}, we = !0;
|
|
2620
2649
|
try {
|
|
2621
|
-
var
|
|
2622
|
-
we = ((ve =
|
|
2650
|
+
var zr = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2651
|
+
we = ((ve = zr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
|
|
2623
2652
|
} catch {
|
|
2624
2653
|
we = !1;
|
|
2625
2654
|
}
|
|
2626
|
-
var Ze =
|
|
2655
|
+
var Ze = Ur ? (
|
|
2627
2656
|
// Native
|
|
2628
2657
|
function(t, r, n) {
|
|
2629
2658
|
return t.startsWith(r, n);
|
|
@@ -2633,7 +2662,7 @@ var Ze = $r ? (
|
|
|
2633
2662
|
function(t, r, n) {
|
|
2634
2663
|
return t.slice(n, n + r.length) === r;
|
|
2635
2664
|
}
|
|
2636
|
-
), Pe =
|
|
2665
|
+
), Pe = Dr ? String.fromCodePoint : (
|
|
2637
2666
|
// IE11
|
|
2638
2667
|
function() {
|
|
2639
2668
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2647,7 +2676,7 @@ var Ze = $r ? (
|
|
|
2647
2676
|
}
|
|
2648
2677
|
), Qe = (
|
|
2649
2678
|
// native
|
|
2650
|
-
|
|
2679
|
+
Gr ? Object.fromEntries : (
|
|
2651
2680
|
// Ponyfill
|
|
2652
2681
|
function(t) {
|
|
2653
2682
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2657,7 +2686,7 @@ var Ze = $r ? (
|
|
|
2657
2686
|
return r;
|
|
2658
2687
|
}
|
|
2659
2688
|
)
|
|
2660
|
-
), St =
|
|
2689
|
+
), St = Fr ? (
|
|
2661
2690
|
// Native
|
|
2662
2691
|
function(t, r) {
|
|
2663
2692
|
return t.codePointAt(r);
|
|
@@ -2671,7 +2700,7 @@ var Ze = $r ? (
|
|
|
2671
2700
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2672
2701
|
}
|
|
2673
2702
|
}
|
|
2674
|
-
),
|
|
2703
|
+
), Wr = jr ? (
|
|
2675
2704
|
// Native
|
|
2676
2705
|
function(t) {
|
|
2677
2706
|
return t.trimStart();
|
|
@@ -2679,9 +2708,9 @@ var Ze = $r ? (
|
|
|
2679
2708
|
) : (
|
|
2680
2709
|
// Ponyfill
|
|
2681
2710
|
function(t) {
|
|
2682
|
-
return t.replace(
|
|
2711
|
+
return t.replace(Rr, "");
|
|
2683
2712
|
}
|
|
2684
|
-
),
|
|
2713
|
+
), Zr = kr ? (
|
|
2685
2714
|
// Native
|
|
2686
2715
|
function(t) {
|
|
2687
2716
|
return t.trimEnd();
|
|
@@ -2689,7 +2718,7 @@ var Ze = $r ? (
|
|
|
2689
2718
|
) : (
|
|
2690
2719
|
// Ponyfill
|
|
2691
2720
|
function(t) {
|
|
2692
|
-
return t.replace(
|
|
2721
|
+
return t.replace($r, "");
|
|
2693
2722
|
}
|
|
2694
2723
|
);
|
|
2695
2724
|
function Bt(e, t) {
|
|
@@ -2708,13 +2737,13 @@ if (we) {
|
|
|
2708
2737
|
Ne = function(t, r) {
|
|
2709
2738
|
for (var n = []; ; ) {
|
|
2710
2739
|
var i = St(t, r);
|
|
2711
|
-
if (i === void 0 || At(i) ||
|
|
2740
|
+
if (i === void 0 || At(i) || Yr(i))
|
|
2712
2741
|
break;
|
|
2713
2742
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2714
2743
|
}
|
|
2715
2744
|
return Pe.apply(void 0, n);
|
|
2716
2745
|
};
|
|
2717
|
-
var
|
|
2746
|
+
var Qr = (
|
|
2718
2747
|
/** @class */
|
|
2719
2748
|
function() {
|
|
2720
2749
|
function e(t, r) {
|
|
@@ -2796,7 +2825,7 @@ var Zr = (
|
|
|
2796
2825
|
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2797
2826
|
}, e.prototype.parseTagName = function() {
|
|
2798
2827
|
var t = this.offset();
|
|
2799
|
-
for (this.bump(); !this.isEOF() &&
|
|
2828
|
+
for (this.bump(); !this.isEOF() && Jr(this.char()); )
|
|
2800
2829
|
this.bump();
|
|
2801
2830
|
return this.message.slice(t, this.offset());
|
|
2802
2831
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2825,7 +2854,7 @@ var Zr = (
|
|
|
2825
2854
|
};
|
|
2826
2855
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2827
2856
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2828
|
-
!
|
|
2857
|
+
!qr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2829
2858
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2830
2859
|
if (this.isEOF() || this.char() !== 39)
|
|
2831
2860
|
return null;
|
|
@@ -2912,7 +2941,7 @@ var Zr = (
|
|
|
2912
2941
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2913
2942
|
if (m.err)
|
|
2914
2943
|
return m;
|
|
2915
|
-
var f =
|
|
2944
|
+
var f = Zr(m.val);
|
|
2916
2945
|
if (f.length === 0)
|
|
2917
2946
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2918
2947
|
var b = p(h, this.clonePosition());
|
|
@@ -2923,7 +2952,7 @@ var Zr = (
|
|
|
2923
2952
|
return y;
|
|
2924
2953
|
var _ = p(i, this.clonePosition());
|
|
2925
2954
|
if (u && Ze(u?.style, "::", 0)) {
|
|
2926
|
-
var T =
|
|
2955
|
+
var T = Wr(u.style.slice(2));
|
|
2927
2956
|
if (o === "number") {
|
|
2928
2957
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
2929
2958
|
return m.err ? m : {
|
|
@@ -2934,12 +2963,12 @@ var Zr = (
|
|
|
2934
2963
|
if (T.length === 0)
|
|
2935
2964
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
2936
2965
|
var w = T;
|
|
2937
|
-
this.locale && (w =
|
|
2966
|
+
this.locale && (w = Cr(T, this.locale));
|
|
2938
2967
|
var f = {
|
|
2939
2968
|
type: j.dateTime,
|
|
2940
2969
|
pattern: w,
|
|
2941
2970
|
location: u.styleLocation,
|
|
2942
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2971
|
+
parsedOptions: this.shouldParseSkeletons ? Ar(w) : {}
|
|
2943
2972
|
}, A = o === "date" ? v.date : v.time;
|
|
2944
2973
|
return {
|
|
2945
2974
|
val: { type: A, value: n, location: _, style: f },
|
|
@@ -3044,7 +3073,7 @@ var Zr = (
|
|
|
3044
3073
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3045
3074
|
var n = [];
|
|
3046
3075
|
try {
|
|
3047
|
-
n =
|
|
3076
|
+
n = Pr(t);
|
|
3048
3077
|
} catch {
|
|
3049
3078
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3050
3079
|
}
|
|
@@ -3053,7 +3082,7 @@ var Zr = (
|
|
|
3053
3082
|
type: j.number,
|
|
3054
3083
|
tokens: n,
|
|
3055
3084
|
location: r,
|
|
3056
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3085
|
+
parsedOptions: this.shouldParseSkeletons ? Lr(n) : {}
|
|
3057
3086
|
},
|
|
3058
3087
|
err: null
|
|
3059
3088
|
};
|
|
@@ -3101,7 +3130,7 @@ var Zr = (
|
|
|
3101
3130
|
break;
|
|
3102
3131
|
}
|
|
3103
3132
|
var l = p(i, this.clonePosition());
|
|
3104
|
-
return s ? (a *= n,
|
|
3133
|
+
return s ? (a *= n, Xr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3105
3134
|
}, e.prototype.offset = function() {
|
|
3106
3135
|
return this.position.offset;
|
|
3107
3136
|
}, e.prototype.isEOF = function() {
|
|
@@ -3170,16 +3199,16 @@ var Zr = (
|
|
|
3170
3199
|
function Oe(e) {
|
|
3171
3200
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3172
3201
|
}
|
|
3173
|
-
function
|
|
3202
|
+
function qr(e) {
|
|
3174
3203
|
return Oe(e) || e === 47;
|
|
3175
3204
|
}
|
|
3176
|
-
function
|
|
3205
|
+
function Jr(e) {
|
|
3177
3206
|
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;
|
|
3178
3207
|
}
|
|
3179
3208
|
function At(e) {
|
|
3180
3209
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3181
3210
|
}
|
|
3182
|
-
function
|
|
3211
|
+
function Yr(e) {
|
|
3183
3212
|
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;
|
|
3184
3213
|
}
|
|
3185
3214
|
function Ie(e) {
|
|
@@ -3187,12 +3216,13 @@ function Ie(e) {
|
|
|
3187
3216
|
if (delete t.location, pt(t) || yt(t))
|
|
3188
3217
|
for (var r in t.options)
|
|
3189
3218
|
delete t.options[r].location, Ie(t.options[r].value);
|
|
3190
|
-
else
|
|
3219
|
+
else
|
|
3220
|
+
gt(t) && vt(t.style) || (dt(t) || bt(t)) && Ae(t.style) ? delete t.style.location : Et(t) && Ie(t.children);
|
|
3191
3221
|
});
|
|
3192
3222
|
}
|
|
3193
|
-
function
|
|
3223
|
+
function Kr(e, t) {
|
|
3194
3224
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3195
|
-
var r = new
|
|
3225
|
+
var r = new Qr(e, t).parse();
|
|
3196
3226
|
if (r.err) {
|
|
3197
3227
|
var n = SyntaxError(d[r.err.kind]);
|
|
3198
3228
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3224,7 +3254,7 @@ var me = (
|
|
|
3224
3254
|
}
|
|
3225
3255
|
return t;
|
|
3226
3256
|
}(me)
|
|
3227
|
-
),
|
|
3257
|
+
), en = (
|
|
3228
3258
|
/** @class */
|
|
3229
3259
|
function(e) {
|
|
3230
3260
|
ce(t, e);
|
|
@@ -3233,7 +3263,7 @@ var me = (
|
|
|
3233
3263
|
}
|
|
3234
3264
|
return t;
|
|
3235
3265
|
}(me)
|
|
3236
|
-
),
|
|
3266
|
+
), tn = (
|
|
3237
3267
|
/** @class */
|
|
3238
3268
|
function(e) {
|
|
3239
3269
|
ce(t, e);
|
|
@@ -3246,13 +3276,13 @@ var me = (
|
|
|
3246
3276
|
(function(e) {
|
|
3247
3277
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3248
3278
|
})(B || (B = {}));
|
|
3249
|
-
function
|
|
3279
|
+
function rn(e) {
|
|
3250
3280
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3251
3281
|
var n = t[t.length - 1];
|
|
3252
3282
|
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3253
3283
|
}, []);
|
|
3254
3284
|
}
|
|
3255
|
-
function
|
|
3285
|
+
function nn(e) {
|
|
3256
3286
|
return typeof e == "function";
|
|
3257
3287
|
}
|
|
3258
3288
|
function ae(e, t, r, n, i, s, a) {
|
|
@@ -3272,7 +3302,7 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3272
3302
|
});
|
|
3273
3303
|
continue;
|
|
3274
3304
|
}
|
|
3275
|
-
if (
|
|
3305
|
+
if (Sr(h)) {
|
|
3276
3306
|
typeof s == "number" && o.push({
|
|
3277
3307
|
type: B.literal,
|
|
3278
3308
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3281,9 +3311,9 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3281
3311
|
}
|
|
3282
3312
|
var m = h.value;
|
|
3283
3313
|
if (!(i && m in i))
|
|
3284
|
-
throw new
|
|
3314
|
+
throw new tn(m, a);
|
|
3285
3315
|
var f = i[m];
|
|
3286
|
-
if (
|
|
3316
|
+
if (Tr(h)) {
|
|
3287
3317
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3288
3318
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3289
3319
|
value: f
|
|
@@ -3316,8 +3346,8 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3316
3346
|
}
|
|
3317
3347
|
if (Et(h)) {
|
|
3318
3348
|
var y = h.children, _ = h.value, T = i[_];
|
|
3319
|
-
if (!
|
|
3320
|
-
throw new
|
|
3349
|
+
if (!nn(T))
|
|
3350
|
+
throw new en(_, "function", a);
|
|
3321
3351
|
var w = ae(y, t, r, n, i, s), A = T(w.map(function(x) {
|
|
3322
3352
|
return x.value;
|
|
3323
3353
|
}));
|
|
@@ -3351,16 +3381,16 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3351
3381
|
continue;
|
|
3352
3382
|
}
|
|
3353
3383
|
}
|
|
3354
|
-
return
|
|
3384
|
+
return rn(o);
|
|
3355
3385
|
}
|
|
3356
|
-
function
|
|
3386
|
+
function sn(e, t) {
|
|
3357
3387
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3358
3388
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3359
3389
|
}, {})) : e;
|
|
3360
3390
|
}
|
|
3361
|
-
function
|
|
3391
|
+
function an(e, t) {
|
|
3362
3392
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3363
|
-
return r[n] =
|
|
3393
|
+
return r[n] = sn(e[n], t[n]), r;
|
|
3364
3394
|
}, E({}, e)) : e;
|
|
3365
3395
|
}
|
|
3366
3396
|
function _e(e) {
|
|
@@ -3377,7 +3407,7 @@ function _e(e) {
|
|
|
3377
3407
|
}
|
|
3378
3408
|
};
|
|
3379
3409
|
}
|
|
3380
|
-
function
|
|
3410
|
+
function on(e) {
|
|
3381
3411
|
return e === void 0 && (e = {
|
|
3382
3412
|
number: {},
|
|
3383
3413
|
dateTime: {},
|
|
@@ -3409,7 +3439,7 @@ function an(e) {
|
|
|
3409
3439
|
})
|
|
3410
3440
|
};
|
|
3411
3441
|
}
|
|
3412
|
-
var
|
|
3442
|
+
var un = (
|
|
3413
3443
|
/** @class */
|
|
3414
3444
|
function() {
|
|
3415
3445
|
function e(t, r, n, i) {
|
|
@@ -3441,13 +3471,13 @@ var on = (
|
|
|
3441
3471
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3442
3472
|
var a = i || {};
|
|
3443
3473
|
a.formatters;
|
|
3444
|
-
var o =
|
|
3474
|
+
var o = pr(a, ["formatters"]);
|
|
3445
3475
|
this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
|
|
3446
3476
|
} else
|
|
3447
3477
|
this.ast = t;
|
|
3448
3478
|
if (!Array.isArray(this.ast))
|
|
3449
3479
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3450
|
-
this.formats =
|
|
3480
|
+
this.formats = an(e.formats, n), this.formatters = i && i.formatters || on(this.formatterCache);
|
|
3451
3481
|
}
|
|
3452
3482
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3453
3483
|
get: function() {
|
|
@@ -3460,7 +3490,7 @@ var on = (
|
|
|
3460
3490
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3461
3491
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3462
3492
|
}
|
|
3463
|
-
}, e.__parse =
|
|
3493
|
+
}, e.__parse = Kr, e.formats = {
|
|
3464
3494
|
number: {
|
|
3465
3495
|
integer: {
|
|
3466
3496
|
maximumFractionDigits: 0
|
|
@@ -3521,7 +3551,7 @@ var on = (
|
|
|
3521
3551
|
}, e;
|
|
3522
3552
|
}()
|
|
3523
3553
|
);
|
|
3524
|
-
function
|
|
3554
|
+
function hn(e, t) {
|
|
3525
3555
|
if (t == null)
|
|
3526
3556
|
return;
|
|
3527
3557
|
if (t in e)
|
|
@@ -3542,33 +3572,33 @@ function un(e, t) {
|
|
|
3542
3572
|
n = void 0;
|
|
3543
3573
|
return n;
|
|
3544
3574
|
}
|
|
3545
|
-
const C = {},
|
|
3575
|
+
const C = {}, ln = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), wt = (e, t) => {
|
|
3546
3576
|
if (t == null)
|
|
3547
3577
|
return;
|
|
3548
3578
|
if (t in C && e in C[t])
|
|
3549
3579
|
return C[t][e];
|
|
3550
3580
|
const r = ge(t);
|
|
3551
3581
|
for (let n = 0; n < r.length; n++) {
|
|
3552
|
-
const i = r[n], s =
|
|
3582
|
+
const i = r[n], s = cn(i, e);
|
|
3553
3583
|
if (s)
|
|
3554
|
-
return
|
|
3584
|
+
return ln(e, t, s);
|
|
3555
3585
|
}
|
|
3556
3586
|
};
|
|
3557
3587
|
let De;
|
|
3558
3588
|
const W = fe({});
|
|
3559
|
-
function
|
|
3589
|
+
function fn(e) {
|
|
3560
3590
|
return De[e] || null;
|
|
3561
3591
|
}
|
|
3562
3592
|
function Pt(e) {
|
|
3563
3593
|
return e in De;
|
|
3564
3594
|
}
|
|
3565
|
-
function
|
|
3595
|
+
function cn(e, t) {
|
|
3566
3596
|
if (!Pt(e))
|
|
3567
3597
|
return null;
|
|
3568
|
-
const r =
|
|
3569
|
-
return
|
|
3598
|
+
const r = fn(e);
|
|
3599
|
+
return hn(r, t);
|
|
3570
3600
|
}
|
|
3571
|
-
function
|
|
3601
|
+
function mn(e) {
|
|
3572
3602
|
if (e == null)
|
|
3573
3603
|
return;
|
|
3574
3604
|
const t = ge(e);
|
|
@@ -3578,8 +3608,8 @@ function cn(e) {
|
|
|
3578
3608
|
return n;
|
|
3579
3609
|
}
|
|
3580
3610
|
}
|
|
3581
|
-
function
|
|
3582
|
-
delete C[e], W.update((r) => (r[e] =
|
|
3611
|
+
function gn(e, ...t) {
|
|
3612
|
+
delete C[e], W.update((r) => (r[e] = br.all([r[e] || {}, ...t]), r));
|
|
3583
3613
|
}
|
|
3584
3614
|
z(
|
|
3585
3615
|
[W],
|
|
@@ -3587,13 +3617,13 @@ z(
|
|
|
3587
3617
|
);
|
|
3588
3618
|
W.subscribe((e) => De = e);
|
|
3589
3619
|
const oe = {};
|
|
3590
|
-
function
|
|
3620
|
+
function dn(e, t) {
|
|
3591
3621
|
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
|
3592
3622
|
}
|
|
3593
3623
|
function Nt(e) {
|
|
3594
3624
|
return oe[e];
|
|
3595
3625
|
}
|
|
3596
|
-
function
|
|
3626
|
+
function bn(e) {
|
|
3597
3627
|
return ge(e).map((t) => {
|
|
3598
3628
|
const r = Nt(t);
|
|
3599
3629
|
return [t, r ? [...r] : []];
|
|
@@ -3607,19 +3637,19 @@ function Le(e) {
|
|
|
3607
3637
|
}
|
|
3608
3638
|
);
|
|
3609
3639
|
}
|
|
3610
|
-
function
|
|
3640
|
+
function pn(e, t) {
|
|
3611
3641
|
return Promise.all(
|
|
3612
|
-
t.map((n) => (
|
|
3613
|
-
).then((n) =>
|
|
3642
|
+
t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
|
|
3643
|
+
).then((n) => gn(e, ...n));
|
|
3614
3644
|
}
|
|
3615
3645
|
const Q = {};
|
|
3616
3646
|
function Ot(e) {
|
|
3617
3647
|
if (!Le(e))
|
|
3618
3648
|
return e in Q ? Q[e] : Promise.resolve();
|
|
3619
|
-
const t =
|
|
3649
|
+
const t = bn(e);
|
|
3620
3650
|
return Q[e] = Promise.all(
|
|
3621
3651
|
t.map(
|
|
3622
|
-
([r, n]) =>
|
|
3652
|
+
([r, n]) => pn(r, n)
|
|
3623
3653
|
)
|
|
3624
3654
|
).then(() => {
|
|
3625
3655
|
if (Le(e))
|
|
@@ -3627,7 +3657,7 @@ function Ot(e) {
|
|
|
3627
3657
|
delete Q[e];
|
|
3628
3658
|
}), Q[e];
|
|
3629
3659
|
}
|
|
3630
|
-
const
|
|
3660
|
+
const yn = {
|
|
3631
3661
|
number: {
|
|
3632
3662
|
scientific: { notation: "scientific" },
|
|
3633
3663
|
engineering: { notation: "engineering" },
|
|
@@ -3656,26 +3686,26 @@ const pn = {
|
|
|
3656
3686
|
timeZoneName: "short"
|
|
3657
3687
|
}
|
|
3658
3688
|
}
|
|
3659
|
-
},
|
|
3689
|
+
}, En = {
|
|
3660
3690
|
fallbackLocale: null,
|
|
3661
3691
|
loadingDelay: 200,
|
|
3662
|
-
formats:
|
|
3692
|
+
formats: yn,
|
|
3663
3693
|
warnOnMissingMessages: !0,
|
|
3664
3694
|
handleMissingMessage: void 0,
|
|
3665
3695
|
ignoreTag: !0
|
|
3666
|
-
},
|
|
3696
|
+
}, vn = En;
|
|
3667
3697
|
function V() {
|
|
3668
|
-
return
|
|
3698
|
+
return vn;
|
|
3669
3699
|
}
|
|
3670
3700
|
const xe = fe(!1);
|
|
3671
|
-
var
|
|
3701
|
+
var _n = Object.defineProperty, xn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bn = (e, t) => {
|
|
3672
3702
|
for (var r in t || (t = {}))
|
|
3673
|
-
|
|
3703
|
+
Tn.call(t, r) && Ke(e, r, t[r]);
|
|
3674
3704
|
if (Ye)
|
|
3675
3705
|
for (var r of Ye(t))
|
|
3676
|
-
|
|
3706
|
+
Sn.call(t, r) && Ke(e, r, t[r]);
|
|
3677
3707
|
return e;
|
|
3678
|
-
},
|
|
3708
|
+
}, An = (e, t) => xn(e, Hn(t));
|
|
3679
3709
|
let Ce;
|
|
3680
3710
|
const ue = fe(null);
|
|
3681
3711
|
function et(e) {
|
|
@@ -3691,8 +3721,8 @@ function R() {
|
|
|
3691
3721
|
ue.subscribe((e) => {
|
|
3692
3722
|
Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3693
3723
|
});
|
|
3694
|
-
const
|
|
3695
|
-
if (e &&
|
|
3724
|
+
const wn = (e) => {
|
|
3725
|
+
if (e && mn(e) && Le(e)) {
|
|
3696
3726
|
const { loadingDelay: t } = V();
|
|
3697
3727
|
let r;
|
|
3698
3728
|
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
@@ -3705,8 +3735,8 @@ const An = (e) => {
|
|
|
3705
3735
|
});
|
|
3706
3736
|
}
|
|
3707
3737
|
return ue.set(e);
|
|
3708
|
-
}, M = Bn(
|
|
3709
|
-
set:
|
|
3738
|
+
}, M = An(Bn({}, ue), {
|
|
3739
|
+
set: wn
|
|
3710
3740
|
}), de = (e) => {
|
|
3711
3741
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3712
3742
|
return (n) => {
|
|
@@ -3714,7 +3744,7 @@ const An = (e) => {
|
|
|
3714
3744
|
return i in t ? t[i] : t[i] = e(n);
|
|
3715
3745
|
};
|
|
3716
3746
|
};
|
|
3717
|
-
var
|
|
3747
|
+
var Pn = Object.defineProperty, he = Object.getOwnPropertySymbols, It = Object.prototype.hasOwnProperty, Lt = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
|
|
3718
3748
|
for (var r in t || (t = {}))
|
|
3719
3749
|
It.call(t, r) && tt(e, r, t[r]);
|
|
3720
3750
|
if (he)
|
|
@@ -3735,21 +3765,21 @@ const K = (e, t) => {
|
|
|
3735
3765
|
if (e in r && t in r[e])
|
|
3736
3766
|
return r[e][t];
|
|
3737
3767
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3738
|
-
},
|
|
3768
|
+
}, Nn = de(
|
|
3739
3769
|
(e) => {
|
|
3740
3770
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3741
3771
|
if (r == null)
|
|
3742
3772
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3743
3773
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
3744
3774
|
}
|
|
3745
|
-
),
|
|
3775
|
+
), On = de(
|
|
3746
3776
|
(e) => {
|
|
3747
3777
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3748
3778
|
if (r == null)
|
|
3749
3779
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3750
3780
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3751
3781
|
}
|
|
3752
|
-
),
|
|
3782
|
+
), In = de(
|
|
3753
3783
|
(e) => {
|
|
3754
3784
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3755
3785
|
if (r == null)
|
|
@@ -3758,33 +3788,33 @@ const K = (e, t) => {
|
|
|
3758
3788
|
);
|
|
3759
3789
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3760
3790
|
}
|
|
3761
|
-
),
|
|
3791
|
+
), Ln = (e = {}) => {
|
|
3762
3792
|
var t = e, {
|
|
3763
3793
|
locale: r = R()
|
|
3764
3794
|
} = t, n = Z(t, [
|
|
3765
3795
|
"locale"
|
|
3766
3796
|
]);
|
|
3767
|
-
return
|
|
3768
|
-
},
|
|
3797
|
+
return Nn(Ge({ locale: r }, n));
|
|
3798
|
+
}, Cn = (e = {}) => {
|
|
3769
3799
|
var t = e, {
|
|
3770
3800
|
locale: r = R()
|
|
3771
3801
|
} = t, n = Z(t, [
|
|
3772
3802
|
"locale"
|
|
3773
3803
|
]);
|
|
3774
|
-
return
|
|
3775
|
-
},
|
|
3804
|
+
return On(Ge({ locale: r }, n));
|
|
3805
|
+
}, Mn = (e = {}) => {
|
|
3776
3806
|
var t = e, {
|
|
3777
3807
|
locale: r = R()
|
|
3778
3808
|
} = t, n = Z(t, [
|
|
3779
3809
|
"locale"
|
|
3780
3810
|
]);
|
|
3781
|
-
return
|
|
3782
|
-
},
|
|
3811
|
+
return In(Ge({ locale: r }, n));
|
|
3812
|
+
}, Rn = de(
|
|
3783
3813
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3784
|
-
(e, t = R()) => new
|
|
3814
|
+
(e, t = R()) => new un(e, t, V().formats, {
|
|
3785
3815
|
ignoreTag: V().ignoreTag
|
|
3786
3816
|
})
|
|
3787
|
-
),
|
|
3817
|
+
), $n = (e, t = {}) => {
|
|
3788
3818
|
var r, n, i, s;
|
|
3789
3819
|
let a = t;
|
|
3790
3820
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3808,7 +3838,7 @@ const K = (e, t) => {
|
|
|
3808
3838
|
return h;
|
|
3809
3839
|
let m = h;
|
|
3810
3840
|
try {
|
|
3811
|
-
m =
|
|
3841
|
+
m = Rn(h, l).format(o);
|
|
3812
3842
|
} catch (f) {
|
|
3813
3843
|
f instanceof Error && console.warn(
|
|
3814
3844
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3816,23 +3846,23 @@ const K = (e, t) => {
|
|
|
3816
3846
|
);
|
|
3817
3847
|
}
|
|
3818
3848
|
return m;
|
|
3819
|
-
},
|
|
3820
|
-
z([M], () => $n);
|
|
3849
|
+
}, Un = (e, t) => Mn(t).format(e), Dn = (e, t) => Cn(t).format(e), Gn = (e, t) => Ln(t).format(e), Fn = (e, t = R()) => wt(e, t), ci = z([M, W], () => $n);
|
|
3821
3850
|
z([M], () => Un);
|
|
3822
3851
|
z([M], () => Dn);
|
|
3823
|
-
z([M
|
|
3824
|
-
|
|
3852
|
+
z([M], () => Gn);
|
|
3853
|
+
z([M, W], () => Fn);
|
|
3854
|
+
function jn({ withLocale: e, translations: t }) {
|
|
3825
3855
|
M.subscribe((r) => {
|
|
3826
3856
|
r == null && (W.set(t), M.set(e));
|
|
3827
3857
|
});
|
|
3828
3858
|
}
|
|
3829
|
-
function
|
|
3859
|
+
function kn(e, t) {
|
|
3830
3860
|
if (e) {
|
|
3831
3861
|
const r = document.createElement("style");
|
|
3832
3862
|
r.innerHTML = t, e.appendChild(r);
|
|
3833
3863
|
}
|
|
3834
3864
|
}
|
|
3835
|
-
function
|
|
3865
|
+
function Vn(e, t) {
|
|
3836
3866
|
const r = new URL(t);
|
|
3837
3867
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3838
3868
|
const i = document.createElement("style");
|
|
@@ -3841,7 +3871,7 @@ function kn(e, t) {
|
|
|
3841
3871
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3842
3872
|
});
|
|
3843
3873
|
}
|
|
3844
|
-
function
|
|
3874
|
+
function Xn(e, t, r) {
|
|
3845
3875
|
if (window.emMessageBus) {
|
|
3846
3876
|
const n = document.createElement("style");
|
|
3847
3877
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3861,12 +3891,12 @@ if (typeof window < "u") {
|
|
|
3861
3891
|
}
|
|
3862
3892
|
};
|
|
3863
3893
|
};
|
|
3864
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3894
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-BvLgHejM.js").then(({ default: t }) => {
|
|
3865
3895
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3866
3896
|
});
|
|
3867
3897
|
}
|
|
3868
|
-
function
|
|
3869
|
-
Rt(e, "svelte-
|
|
3898
|
+
function zn(e) {
|
|
3899
|
+
Rt(e, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
3870
3900
|
}
|
|
3871
3901
|
function rt(e) {
|
|
3872
3902
|
let t;
|
|
@@ -4083,7 +4113,7 @@ function rt(e) {
|
|
|
4083
4113
|
}
|
|
4084
4114
|
};
|
|
4085
4115
|
}
|
|
4086
|
-
function
|
|
4116
|
+
function Wn(e) {
|
|
4087
4117
|
let t, r = (
|
|
4088
4118
|
/*session*/
|
|
4089
4119
|
e[4] && rt(e)
|
|
@@ -4106,9 +4136,10 @@ function zn(e) {
|
|
|
4106
4136
|
}
|
|
4107
4137
|
};
|
|
4108
4138
|
}
|
|
4109
|
-
function
|
|
4139
|
+
function Zn(e, t, r) {
|
|
4110
4140
|
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { clientstyling: u = "" } = 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: w = "" } = t, { casinomygames: A = "false" } = t, { fetchviaevent: S = "true" } = t, { mbsource: P } = t, x;
|
|
4111
|
-
|
|
4141
|
+
jn({ withLocale: "en", translations: {} }), kt(() => () => {
|
|
4142
|
+
});
|
|
4112
4143
|
function O(c) {
|
|
4113
4144
|
He[c ? "unshift" : "push"](() => {
|
|
4114
4145
|
x = c, r(18, x);
|
|
@@ -4118,9 +4149,9 @@ function Wn(e, t, r) {
|
|
|
4118
4149
|
"endpoint" in c && r(0, n = c.endpoint), "datasource" in c && r(1, i = c.datasource), "currency" in c && r(2, s = c.currency), "lang" in c && r(3, a = c.lang), "session" in c && r(4, o = c.session), "userid" in c && r(5, l = c.userid), "clientstyling" in c && r(6, u = c.clientstyling), "clientstylingurl" in c && r(7, h = c.clientstylingurl), "livecasino" in c && r(8, m = c.livecasino), "integratedgameframemobile" in c && r(9, f = c.integratedgameframemobile), "integratedgameframedesktop" in c && r(10, b = c.integratedgameframedesktop), "showgamename" in c && r(11, y = c.showgamename), "gamepagemodalurl" in c && r(12, _ = c.gamepagemodalurl), "visiblegames" in c && r(13, T = c.visiblegames), "favorites" in c && r(14, w = c.favorites), "casinomygames" in c && r(15, A = c.casinomygames), "fetchviaevent" in c && r(16, S = c.fetchviaevent), "mbsource" in c && r(17, P = c.mbsource);
|
|
4119
4150
|
}, e.$$.update = () => {
|
|
4120
4151
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4121
|
-
262208 && u && x &&
|
|
4122
|
-
262272 && h && x &&
|
|
4123
|
-
393216 && x &&
|
|
4152
|
+
262208 && u && x && kn(x, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4153
|
+
262272 && h && x && Vn(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4154
|
+
393216 && x && Xn(x, `${P}.Style`);
|
|
4124
4155
|
}, [
|
|
4125
4156
|
n,
|
|
4126
4157
|
i,
|
|
@@ -4144,13 +4175,13 @@ function Wn(e, t, r) {
|
|
|
4144
4175
|
O
|
|
4145
4176
|
];
|
|
4146
4177
|
}
|
|
4147
|
-
class
|
|
4178
|
+
class Qn extends Yt {
|
|
4148
4179
|
constructor(t) {
|
|
4149
|
-
super(),
|
|
4180
|
+
super(), qt(
|
|
4150
4181
|
this,
|
|
4151
4182
|
t,
|
|
4183
|
+
Zn,
|
|
4152
4184
|
Wn,
|
|
4153
|
-
zn,
|
|
4154
4185
|
it,
|
|
4155
4186
|
{
|
|
4156
4187
|
endpoint: 0,
|
|
@@ -4172,7 +4203,7 @@ class Zn extends Jt {
|
|
|
4172
4203
|
fetchviaevent: 16,
|
|
4173
4204
|
mbsource: 17
|
|
4174
4205
|
},
|
|
4175
|
-
|
|
4206
|
+
zn
|
|
4176
4207
|
);
|
|
4177
4208
|
}
|
|
4178
4209
|
get endpoint() {
|
|
@@ -4284,49 +4315,49 @@ class Zn extends Jt {
|
|
|
4284
4315
|
this.$$set({ mbsource: t }), H();
|
|
4285
4316
|
}
|
|
4286
4317
|
}
|
|
4287
|
-
|
|
4318
|
+
Jt(Qn, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
4288
4319
|
export {
|
|
4289
4320
|
M as $,
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4321
|
+
ti as A,
|
|
4322
|
+
ri as B,
|
|
4323
|
+
Yn as C,
|
|
4293
4324
|
X as D,
|
|
4294
|
-
|
|
4325
|
+
ni as E,
|
|
4295
4326
|
ci as F,
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4327
|
+
qn as G,
|
|
4328
|
+
ii as H,
|
|
4329
|
+
ei as I,
|
|
4330
|
+
si as J,
|
|
4300
4331
|
ai as K,
|
|
4301
4332
|
hi as L,
|
|
4302
4333
|
g as M,
|
|
4303
4334
|
ui as N,
|
|
4304
|
-
|
|
4305
|
-
|
|
4335
|
+
Qn as O,
|
|
4336
|
+
Yt as S,
|
|
4306
4337
|
li as _,
|
|
4307
4338
|
pe as a,
|
|
4308
4339
|
fi as b,
|
|
4309
4340
|
ce as c,
|
|
4310
4341
|
W as d,
|
|
4311
|
-
|
|
4342
|
+
gn as e,
|
|
4312
4343
|
H as f,
|
|
4313
|
-
|
|
4344
|
+
Jt as g,
|
|
4314
4345
|
Rt as h,
|
|
4315
|
-
|
|
4346
|
+
qt as i,
|
|
4316
4347
|
te as j,
|
|
4317
4348
|
le as k,
|
|
4318
4349
|
ee as l,
|
|
4319
|
-
|
|
4350
|
+
Jn as m,
|
|
4320
4351
|
N as n,
|
|
4321
|
-
|
|
4322
|
-
|
|
4352
|
+
kt as o,
|
|
4353
|
+
Vn as p,
|
|
4323
4354
|
He as q,
|
|
4324
|
-
|
|
4355
|
+
kn as r,
|
|
4325
4356
|
it as s,
|
|
4326
|
-
|
|
4357
|
+
Xn as t,
|
|
4327
4358
|
oi as u,
|
|
4328
4359
|
Dt as v,
|
|
4329
|
-
|
|
4360
|
+
Kn as w,
|
|
4330
4361
|
at as x,
|
|
4331
4362
|
Re as y,
|
|
4332
4363
|
Mt as z
|