@everymatrix/casino-categories-providers 1.45.0 → 1.45.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/CasinoCategories-C9eScDYm.cjs +3 -0
- package/components/{CasinoCategories-C0ogDjxI.js → CasinoCategories-CwdPhfH2.js} +280 -284
- package/components/{CasinoCategoriesProviders-Dc9YZZFb.js → CasinoCategoriesProviders-Ilq2cPiO.js} +150 -158
- package/components/CasinoCategoriesProviders-zR-DXryv.cjs +1 -0
- package/components/CasinoProviders-BPgFlt-S.cjs +1 -0
- package/components/CasinoProviders-CtIWnRmy.js +485 -0
- package/es2015/casino-categories-providers.cjs +1 -1
- package/es2015/casino-categories-providers.js +1 -1
- package/package.json +2 -2
- package/components/CasinoCategories-vpVI3Nub.cjs +0 -3
- package/components/CasinoCategoriesProviders-B3uizcLb.cjs +0 -1
- package/components/CasinoProviders-8Nm8LvTT.js +0 -485
- package/components/CasinoProviders-CBZcz5Ar.cjs +0 -1
|
@@ -38,7 +38,7 @@ function tt() {
|
|
|
38
38
|
function ae(e) {
|
|
39
39
|
e.forEach(Tt);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function ke(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
44
|
function Ct(e, t) {
|
|
@@ -63,10 +63,7 @@ function Ht(e, ...t) {
|
|
|
63
63
|
function ur(e, t, r) {
|
|
64
64
|
e.$$.on_destroy.push(Ht(t, r));
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
return e == null ? "" : e;
|
|
68
|
-
}
|
|
69
|
-
function x(e, t) {
|
|
66
|
+
function v(e, t) {
|
|
70
67
|
e.appendChild(t);
|
|
71
68
|
}
|
|
72
69
|
function hr(e, t, r) {
|
|
@@ -86,7 +83,7 @@ function lr(e) {
|
|
|
86
83
|
) : e.ownerDocument;
|
|
87
84
|
}
|
|
88
85
|
function fr(e, t) {
|
|
89
|
-
return
|
|
86
|
+
return v(
|
|
90
87
|
/** @type {Document} */
|
|
91
88
|
e.head || e,
|
|
92
89
|
t
|
|
@@ -95,7 +92,7 @@ function fr(e, t) {
|
|
|
95
92
|
function K(e, t, r) {
|
|
96
93
|
e.insertBefore(t, r || null);
|
|
97
94
|
}
|
|
98
|
-
function
|
|
95
|
+
function k(e) {
|
|
99
96
|
e.parentNode && e.parentNode.removeChild(e);
|
|
100
97
|
}
|
|
101
98
|
function rt(e, t) {
|
|
@@ -111,18 +108,18 @@ function U(e) {
|
|
|
111
108
|
function R() {
|
|
112
109
|
return U(" ");
|
|
113
110
|
}
|
|
114
|
-
function
|
|
111
|
+
function vi() {
|
|
115
112
|
return U("");
|
|
116
113
|
}
|
|
117
114
|
function At(e, t, r, n) {
|
|
118
115
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
119
116
|
}
|
|
120
|
-
function
|
|
117
|
+
function H(e, t, r) {
|
|
121
118
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
122
119
|
}
|
|
123
|
-
function
|
|
120
|
+
function Ti(e, t, r) {
|
|
124
121
|
const n = t.toLowerCase();
|
|
125
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
122
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
|
|
126
123
|
}
|
|
127
124
|
function cr(e) {
|
|
128
125
|
return Array.from(e.childNodes);
|
|
@@ -140,9 +137,9 @@ function gr(e) {
|
|
|
140
137
|
}
|
|
141
138
|
), t;
|
|
142
139
|
}
|
|
143
|
-
let
|
|
140
|
+
let Ve;
|
|
144
141
|
function ie(e) {
|
|
145
|
-
|
|
142
|
+
Ve = e;
|
|
146
143
|
}
|
|
147
144
|
const W = [], we = [];
|
|
148
145
|
let Z = [];
|
|
@@ -155,21 +152,21 @@ function Ie(e) {
|
|
|
155
152
|
Z.push(e);
|
|
156
153
|
}
|
|
157
154
|
const Ce = /* @__PURE__ */ new Set();
|
|
158
|
-
let
|
|
155
|
+
let X = 0;
|
|
159
156
|
function $() {
|
|
160
|
-
if (
|
|
157
|
+
if (X !== 0)
|
|
161
158
|
return;
|
|
162
|
-
const e =
|
|
159
|
+
const e = Ve;
|
|
163
160
|
do {
|
|
164
161
|
try {
|
|
165
|
-
for (;
|
|
166
|
-
const t = W[
|
|
167
|
-
|
|
162
|
+
for (; X < W.length; ) {
|
|
163
|
+
const t = W[X];
|
|
164
|
+
X++, ie(t), dr(t.$$);
|
|
168
165
|
}
|
|
169
166
|
} catch (t) {
|
|
170
|
-
throw W.length = 0,
|
|
167
|
+
throw W.length = 0, X = 0, t;
|
|
171
168
|
}
|
|
172
|
-
for (ie(null), W.length = 0,
|
|
169
|
+
for (ie(null), W.length = 0, X = 0; we.length; ) we.pop()();
|
|
173
170
|
for (let t = 0; t < Z.length; t += 1) {
|
|
174
171
|
const r = Z[t];
|
|
175
172
|
Ce.has(r) || (Ce.add(r), r());
|
|
@@ -191,29 +188,29 @@ function br(e) {
|
|
|
191
188
|
const t = [], r = [];
|
|
192
189
|
Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
|
|
193
190
|
}
|
|
194
|
-
const
|
|
195
|
-
function
|
|
196
|
-
e && e.i && (
|
|
191
|
+
const yr = /* @__PURE__ */ new Set();
|
|
192
|
+
function _r(e, t) {
|
|
193
|
+
e && e.i && (yr.delete(e), e.i(t));
|
|
197
194
|
}
|
|
198
195
|
function le(e) {
|
|
199
196
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
200
197
|
}
|
|
201
|
-
function
|
|
198
|
+
function Er(e, t, r) {
|
|
202
199
|
const { fragment: n, after_update: i } = e.$$;
|
|
203
200
|
n && n.m(t, r), Ie(() => {
|
|
204
|
-
const s = e.$$.on_mount.map(Tt).filter(
|
|
201
|
+
const s = e.$$.on_mount.map(Tt).filter(ke);
|
|
205
202
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
|
|
206
203
|
}), i.forEach(Ie);
|
|
207
204
|
}
|
|
208
|
-
function
|
|
205
|
+
function xr(e, t) {
|
|
209
206
|
const r = e.$$;
|
|
210
207
|
r.fragment !== null && (br(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
211
208
|
}
|
|
212
|
-
function
|
|
209
|
+
function vr(e, t) {
|
|
213
210
|
e.$$.dirty[0] === -1 && (W.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
214
211
|
}
|
|
215
212
|
function Tr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
216
|
-
const h =
|
|
213
|
+
const h = Ve;
|
|
217
214
|
ie(e);
|
|
218
215
|
const a = e.$$ = {
|
|
219
216
|
fragment: null,
|
|
@@ -240,14 +237,14 @@ function Tr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
240
237
|
let l = !1;
|
|
241
238
|
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
242
239
|
const p = d.length ? d[0] : f;
|
|
243
|
-
return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p), l &&
|
|
240
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p), l && vr(e, c)), f;
|
|
244
241
|
}) : [], a.update(), l = !0, ae(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
245
242
|
if (t.hydrate) {
|
|
246
243
|
const c = cr(t.target);
|
|
247
|
-
a.fragment && a.fragment.l(c), c.forEach(
|
|
244
|
+
a.fragment && a.fragment.l(c), c.forEach(k);
|
|
248
245
|
} else
|
|
249
246
|
a.fragment && a.fragment.c();
|
|
250
|
-
t.intro &&
|
|
247
|
+
t.intro && _r(e.$$.fragment), Er(e, t.target, t.anchor), $();
|
|
251
248
|
}
|
|
252
249
|
ie(h);
|
|
253
250
|
}
|
|
@@ -296,7 +293,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
296
293
|
let o;
|
|
297
294
|
return {
|
|
298
295
|
c: function() {
|
|
299
|
-
o = O("slot"), s !== "default" &&
|
|
296
|
+
o = O("slot"), s !== "default" && H(o, "name", s);
|
|
300
297
|
},
|
|
301
298
|
/**
|
|
302
299
|
* @param {HTMLElement} target
|
|
@@ -306,7 +303,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
|
306
303
|
K(a, o, l);
|
|
307
304
|
},
|
|
308
305
|
d: function(a) {
|
|
309
|
-
a &&
|
|
306
|
+
a && k(o);
|
|
310
307
|
}
|
|
311
308
|
};
|
|
312
309
|
};
|
|
@@ -454,7 +451,7 @@ class Hr {
|
|
|
454
451
|
}
|
|
455
452
|
/** @returns {void} */
|
|
456
453
|
$destroy() {
|
|
457
|
-
|
|
454
|
+
xr(this, 1), this.$destroy = M;
|
|
458
455
|
}
|
|
459
456
|
/**
|
|
460
457
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -463,7 +460,7 @@ class Hr {
|
|
|
463
460
|
* @returns {() => void}
|
|
464
461
|
*/
|
|
465
462
|
$on(t, r) {
|
|
466
|
-
if (!
|
|
463
|
+
if (!ke(r))
|
|
467
464
|
return M;
|
|
468
465
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
469
466
|
return n.push(r), () => {
|
|
@@ -481,24 +478,24 @@ class Hr {
|
|
|
481
478
|
}
|
|
482
479
|
const Ar = "4";
|
|
483
480
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ar);
|
|
484
|
-
const
|
|
481
|
+
const z = [];
|
|
485
482
|
function Sr(e, t) {
|
|
486
483
|
return {
|
|
487
|
-
subscribe:
|
|
484
|
+
subscribe: ye(e, t).subscribe
|
|
488
485
|
};
|
|
489
486
|
}
|
|
490
|
-
function
|
|
487
|
+
function ye(e, t = M) {
|
|
491
488
|
let r;
|
|
492
489
|
const n = /* @__PURE__ */ new Set();
|
|
493
490
|
function i(u) {
|
|
494
491
|
if (Ct(e, u) && (e = u, r)) {
|
|
495
|
-
const h = !
|
|
492
|
+
const h = !z.length;
|
|
496
493
|
for (const a of n)
|
|
497
|
-
a[1](),
|
|
494
|
+
a[1](), z.push(a, e);
|
|
498
495
|
if (h) {
|
|
499
|
-
for (let a = 0; a <
|
|
500
|
-
|
|
501
|
-
|
|
496
|
+
for (let a = 0; a < z.length; a += 2)
|
|
497
|
+
z[a][0](z[a + 1]);
|
|
498
|
+
z.length = 0;
|
|
502
499
|
}
|
|
503
500
|
}
|
|
504
501
|
}
|
|
@@ -527,12 +524,12 @@ function ee(e, t, r) {
|
|
|
527
524
|
return;
|
|
528
525
|
c();
|
|
529
526
|
const p = t(n ? a[0] : a, o, u);
|
|
530
|
-
s ? o(p) : c =
|
|
527
|
+
s ? o(p) : c = ke(p) ? p : M;
|
|
531
528
|
}, d = i.map(
|
|
532
529
|
(p, g) => Ht(
|
|
533
530
|
p,
|
|
534
|
-
(
|
|
535
|
-
a[g] =
|
|
531
|
+
(x) => {
|
|
532
|
+
a[g] = x, l &= ~(1 << g), h && f();
|
|
536
533
|
},
|
|
537
534
|
() => {
|
|
538
535
|
l |= 1 << g;
|
|
@@ -617,7 +614,7 @@ Q.all = function(t, r) {
|
|
|
617
614
|
}, {});
|
|
618
615
|
};
|
|
619
616
|
var Fr = Q, jr = Fr;
|
|
620
|
-
const
|
|
617
|
+
const kr = /* @__PURE__ */ Br(jr);
|
|
621
618
|
var Le = function(e, t) {
|
|
622
619
|
return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
623
620
|
r.__proto__ = n;
|
|
@@ -625,7 +622,7 @@ var Le = function(e, t) {
|
|
|
625
622
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
626
623
|
}, Le(e, t);
|
|
627
624
|
};
|
|
628
|
-
function
|
|
625
|
+
function _e(e, t) {
|
|
629
626
|
if (typeof t != "function" && t !== null)
|
|
630
627
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
631
628
|
Le(e, t);
|
|
@@ -634,16 +631,16 @@ function ye(e, t) {
|
|
|
634
631
|
}
|
|
635
632
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
636
633
|
}
|
|
637
|
-
var
|
|
638
|
-
return
|
|
634
|
+
var E = function() {
|
|
635
|
+
return E = Object.assign || function(t) {
|
|
639
636
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
640
637
|
r = arguments[n];
|
|
641
638
|
for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
642
639
|
}
|
|
643
640
|
return t;
|
|
644
|
-
},
|
|
641
|
+
}, E.apply(this, arguments);
|
|
645
642
|
};
|
|
646
|
-
function
|
|
643
|
+
function Vr(e, t) {
|
|
647
644
|
var r = {};
|
|
648
645
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
649
646
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -656,44 +653,44 @@ function He(e, t, r) {
|
|
|
656
653
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
657
654
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
658
655
|
}
|
|
659
|
-
var
|
|
656
|
+
var y;
|
|
660
657
|
(function(e) {
|
|
661
658
|
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";
|
|
662
|
-
})(
|
|
663
|
-
var
|
|
659
|
+
})(y || (y = {}));
|
|
660
|
+
var T;
|
|
664
661
|
(function(e) {
|
|
665
662
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
666
|
-
})(
|
|
663
|
+
})(T || (T = {}));
|
|
667
664
|
var q;
|
|
668
665
|
(function(e) {
|
|
669
666
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
670
667
|
})(q || (q = {}));
|
|
671
668
|
function st(e) {
|
|
672
|
-
return e.type ===
|
|
669
|
+
return e.type === T.literal;
|
|
673
670
|
}
|
|
674
|
-
function
|
|
675
|
-
return e.type ===
|
|
671
|
+
function Xr(e) {
|
|
672
|
+
return e.type === T.argument;
|
|
676
673
|
}
|
|
677
674
|
function Ot(e) {
|
|
678
|
-
return e.type ===
|
|
675
|
+
return e.type === T.number;
|
|
679
676
|
}
|
|
680
677
|
function Pt(e) {
|
|
681
|
-
return e.type ===
|
|
678
|
+
return e.type === T.date;
|
|
682
679
|
}
|
|
683
680
|
function wt(e) {
|
|
684
|
-
return e.type ===
|
|
681
|
+
return e.type === T.time;
|
|
685
682
|
}
|
|
686
683
|
function Nt(e) {
|
|
687
|
-
return e.type ===
|
|
684
|
+
return e.type === T.select;
|
|
688
685
|
}
|
|
689
686
|
function It(e) {
|
|
690
|
-
return e.type ===
|
|
687
|
+
return e.type === T.plural;
|
|
691
688
|
}
|
|
692
|
-
function
|
|
693
|
-
return e.type ===
|
|
689
|
+
function zr(e) {
|
|
690
|
+
return e.type === T.pound;
|
|
694
691
|
}
|
|
695
692
|
function Lt(e) {
|
|
696
|
-
return e.type ===
|
|
693
|
+
return e.type === T.tag;
|
|
697
694
|
}
|
|
698
695
|
function Mt(e) {
|
|
699
696
|
return !!(e && typeof e == "object" && e.type === q.number);
|
|
@@ -915,13 +912,13 @@ function en(e) {
|
|
|
915
912
|
t.notation = "compact", t.compactDisplay = "long";
|
|
916
913
|
continue;
|
|
917
914
|
case "scientific":
|
|
918
|
-
t =
|
|
919
|
-
return
|
|
915
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
|
|
916
|
+
return E(E({}, h), ut(a));
|
|
920
917
|
}, {}));
|
|
921
918
|
continue;
|
|
922
919
|
case "engineering":
|
|
923
|
-
t =
|
|
924
|
-
return
|
|
920
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
|
|
921
|
+
return E(E({}, h), ut(a));
|
|
925
922
|
}, {}));
|
|
926
923
|
continue;
|
|
927
924
|
case "notation-simple":
|
|
@@ -990,17 +987,17 @@ function en(e) {
|
|
|
990
987
|
return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
991
988
|
});
|
|
992
989
|
var s = i.options[0];
|
|
993
|
-
s === "w" ? t =
|
|
990
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), at(s)));
|
|
994
991
|
continue;
|
|
995
992
|
}
|
|
996
993
|
if (Rt.test(i.stem)) {
|
|
997
|
-
t =
|
|
994
|
+
t = E(E({}, t), at(i.stem));
|
|
998
995
|
continue;
|
|
999
996
|
}
|
|
1000
997
|
var o = Gt(i.stem);
|
|
1001
|
-
o && (t =
|
|
998
|
+
o && (t = E(E({}, t), o));
|
|
1002
999
|
var u = Kr(i.stem);
|
|
1003
|
-
u && (t =
|
|
1000
|
+
u && (t = E(E({}, t), u));
|
|
1004
1001
|
}
|
|
1005
1002
|
return t;
|
|
1006
1003
|
}
|
|
@@ -2451,7 +2448,7 @@ function rn(e) {
|
|
|
2451
2448
|
return i[0];
|
|
2452
2449
|
}
|
|
2453
2450
|
var Ae, nn = new RegExp("^".concat($t.source, "*")), sn = new RegExp("".concat($t.source, "*$"));
|
|
2454
|
-
function
|
|
2451
|
+
function _(e, t) {
|
|
2455
2452
|
return { start: e, end: t };
|
|
2456
2453
|
}
|
|
2457
2454
|
var on = !!String.prototype.startsWith && "_a".startsWith("a", 1), an = !!String.fromCodePoint, un = !!Object.fromEntries, hn = !!String.prototype.codePointAt, ln = !!String.prototype.trimStart, fn = !!String.prototype.trimEnd, cn = !!Number.isSafeInteger, gn = cn ? Number.isSafeInteger : function(e) {
|
|
@@ -2548,7 +2545,7 @@ if ($e) {
|
|
|
2548
2545
|
Ue = function(t, r) {
|
|
2549
2546
|
for (var n = []; ; ) {
|
|
2550
2547
|
var i = Dt(t, r);
|
|
2551
|
-
if (i === void 0 || jt(i) ||
|
|
2548
|
+
if (i === void 0 || jt(i) || En(i))
|
|
2552
2549
|
break;
|
|
2553
2550
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2554
2551
|
}
|
|
@@ -2578,13 +2575,13 @@ var bn = (
|
|
|
2578
2575
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2579
2576
|
var u = this.clonePosition();
|
|
2580
2577
|
this.bump(), i.push({
|
|
2581
|
-
type:
|
|
2582
|
-
location:
|
|
2578
|
+
type: T.pound,
|
|
2579
|
+
location: _(u, this.clonePosition())
|
|
2583
2580
|
});
|
|
2584
2581
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2585
2582
|
if (n)
|
|
2586
2583
|
break;
|
|
2587
|
-
return this.error(
|
|
2584
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
2588
2585
|
} else if (s === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
|
|
2589
2586
|
var o = this.parseTag(t, r);
|
|
2590
2587
|
if (o.err)
|
|
@@ -2606,9 +2603,9 @@ var bn = (
|
|
|
2606
2603
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2607
2604
|
return {
|
|
2608
2605
|
val: {
|
|
2609
|
-
type:
|
|
2606
|
+
type: T.literal,
|
|
2610
2607
|
value: "<".concat(i, "/>"),
|
|
2611
|
-
location:
|
|
2608
|
+
location: _(n, this.clonePosition())
|
|
2612
2609
|
},
|
|
2613
2610
|
err: null
|
|
2614
2611
|
};
|
|
@@ -2619,24 +2616,24 @@ var bn = (
|
|
|
2619
2616
|
var o = s.val, u = this.clonePosition();
|
|
2620
2617
|
if (this.bumpIf("</")) {
|
|
2621
2618
|
if (this.isEOF() || !Ge(this.char()))
|
|
2622
|
-
return this.error(
|
|
2619
|
+
return this.error(y.INVALID_TAG, _(u, this.clonePosition()));
|
|
2623
2620
|
var h = this.clonePosition(), a = this.parseTagName();
|
|
2624
|
-
return i !== a ? this.error(
|
|
2621
|
+
return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2625
2622
|
val: {
|
|
2626
|
-
type:
|
|
2623
|
+
type: T.tag,
|
|
2627
2624
|
value: i,
|
|
2628
2625
|
children: o,
|
|
2629
|
-
location:
|
|
2626
|
+
location: _(n, this.clonePosition())
|
|
2630
2627
|
},
|
|
2631
2628
|
err: null
|
|
2632
|
-
} : this.error(
|
|
2629
|
+
} : this.error(y.INVALID_TAG, _(u, this.clonePosition())));
|
|
2633
2630
|
} else
|
|
2634
|
-
return this.error(
|
|
2631
|
+
return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
|
|
2635
2632
|
} else
|
|
2636
|
-
return this.error(
|
|
2633
|
+
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
2637
2634
|
}, e.prototype.parseTagName = function() {
|
|
2638
2635
|
var t = this.offset();
|
|
2639
|
-
for (this.bump(); !this.isEOF() &&
|
|
2636
|
+
for (this.bump(); !this.isEOF() && _n(this.char()); )
|
|
2640
2637
|
this.bump();
|
|
2641
2638
|
return this.message.slice(t, this.offset());
|
|
2642
2639
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2658,14 +2655,14 @@ var bn = (
|
|
|
2658
2655
|
}
|
|
2659
2656
|
break;
|
|
2660
2657
|
}
|
|
2661
|
-
var h =
|
|
2658
|
+
var h = _(n, this.clonePosition());
|
|
2662
2659
|
return {
|
|
2663
|
-
val: { type:
|
|
2660
|
+
val: { type: T.literal, value: i, location: h },
|
|
2664
2661
|
err: null
|
|
2665
2662
|
};
|
|
2666
2663
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2667
2664
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2668
|
-
!
|
|
2665
|
+
!yn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2669
2666
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2670
2667
|
if (this.isEOF() || this.char() !== 39)
|
|
2671
2668
|
return null;
|
|
@@ -2708,40 +2705,40 @@ var bn = (
|
|
|
2708
2705
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2709
2706
|
var n = this.clonePosition();
|
|
2710
2707
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2711
|
-
return this.error(
|
|
2708
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
2712
2709
|
if (this.char() === 125)
|
|
2713
|
-
return this.bump(), this.error(
|
|
2710
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
|
|
2714
2711
|
var i = this.parseIdentifierIfPossible().value;
|
|
2715
2712
|
if (!i)
|
|
2716
|
-
return this.error(
|
|
2713
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
2717
2714
|
if (this.bumpSpace(), this.isEOF())
|
|
2718
|
-
return this.error(
|
|
2715
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
2719
2716
|
switch (this.char()) {
|
|
2720
2717
|
case 125:
|
|
2721
2718
|
return this.bump(), {
|
|
2722
2719
|
val: {
|
|
2723
|
-
type:
|
|
2720
|
+
type: T.argument,
|
|
2724
2721
|
// value does not include the opening and closing braces.
|
|
2725
2722
|
value: i,
|
|
2726
|
-
location:
|
|
2723
|
+
location: _(n, this.clonePosition())
|
|
2727
2724
|
},
|
|
2728
2725
|
err: null
|
|
2729
2726
|
};
|
|
2730
2727
|
case 44:
|
|
2731
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2728
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2732
2729
|
default:
|
|
2733
|
-
return this.error(
|
|
2730
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
2734
2731
|
}
|
|
2735
2732
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2736
2733
|
var t = this.clonePosition(), r = this.offset(), n = Ue(this.message, r), i = r + n.length;
|
|
2737
2734
|
this.bumpTo(i);
|
|
2738
|
-
var s = this.clonePosition(), o =
|
|
2735
|
+
var s = this.clonePosition(), o = _(t, s);
|
|
2739
2736
|
return { value: n, location: o };
|
|
2740
2737
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2741
2738
|
var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2742
2739
|
switch (u) {
|
|
2743
2740
|
case "":
|
|
2744
|
-
return this.error(
|
|
2741
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, h));
|
|
2745
2742
|
case "number":
|
|
2746
2743
|
case "date":
|
|
2747
2744
|
case "time": {
|
|
@@ -2754,42 +2751,42 @@ var bn = (
|
|
|
2754
2751
|
return c;
|
|
2755
2752
|
var f = dn(c.val);
|
|
2756
2753
|
if (f.length === 0)
|
|
2757
|
-
return this.error(
|
|
2758
|
-
var d =
|
|
2754
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2755
|
+
var d = _(l, this.clonePosition());
|
|
2759
2756
|
a = { style: f, styleLocation: d };
|
|
2760
2757
|
}
|
|
2761
2758
|
var p = this.tryParseArgumentClose(i);
|
|
2762
2759
|
if (p.err)
|
|
2763
2760
|
return p;
|
|
2764
|
-
var g =
|
|
2761
|
+
var g = _(i, this.clonePosition());
|
|
2765
2762
|
if (a && ht(a == null ? void 0 : a.style, "::", 0)) {
|
|
2766
|
-
var
|
|
2763
|
+
var x = pn(a.style.slice(2));
|
|
2767
2764
|
if (u === "number") {
|
|
2768
|
-
var c = this.parseNumberSkeletonFromString(
|
|
2765
|
+
var c = this.parseNumberSkeletonFromString(x, a.styleLocation);
|
|
2769
2766
|
return c.err ? c : {
|
|
2770
|
-
val: { type:
|
|
2767
|
+
val: { type: T.number, value: n, location: g, style: c.val },
|
|
2771
2768
|
err: null
|
|
2772
2769
|
};
|
|
2773
2770
|
} else {
|
|
2774
|
-
if (
|
|
2775
|
-
return this.error(
|
|
2776
|
-
var m =
|
|
2777
|
-
this.locale && (m = tn(
|
|
2771
|
+
if (x.length === 0)
|
|
2772
|
+
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
|
2773
|
+
var m = x;
|
|
2774
|
+
this.locale && (m = tn(x, this.locale));
|
|
2778
2775
|
var f = {
|
|
2779
2776
|
type: q.dateTime,
|
|
2780
2777
|
pattern: m,
|
|
2781
2778
|
location: a.styleLocation,
|
|
2782
2779
|
parsedOptions: this.shouldParseSkeletons ? Zr(m) : {}
|
|
2783
|
-
},
|
|
2780
|
+
}, C = u === "date" ? T.date : T.time;
|
|
2784
2781
|
return {
|
|
2785
|
-
val: { type:
|
|
2782
|
+
val: { type: C, value: n, location: g, style: f },
|
|
2786
2783
|
err: null
|
|
2787
2784
|
};
|
|
2788
2785
|
}
|
|
2789
2786
|
}
|
|
2790
2787
|
return {
|
|
2791
2788
|
val: {
|
|
2792
|
-
type: u === "number" ?
|
|
2789
|
+
type: u === "number" ? T.number : u === "date" ? T.date : T.time,
|
|
2793
2790
|
value: n,
|
|
2794
2791
|
location: g,
|
|
2795
2792
|
style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
|
|
@@ -2802,14 +2799,14 @@ var bn = (
|
|
|
2802
2799
|
case "select": {
|
|
2803
2800
|
var A = this.clonePosition();
|
|
2804
2801
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2805
|
-
return this.error(
|
|
2802
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A, E({}, A)));
|
|
2806
2803
|
this.bumpSpace();
|
|
2807
2804
|
var I = this.parseIdentifierIfPossible(), B = 0;
|
|
2808
2805
|
if (u !== "select" && I.value === "offset") {
|
|
2809
2806
|
if (!this.bumpIf(":"))
|
|
2810
|
-
return this.error(
|
|
2807
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
2811
2808
|
this.bumpSpace();
|
|
2812
|
-
var c = this.tryParseDecimalInteger(
|
|
2809
|
+
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2813
2810
|
if (c.err)
|
|
2814
2811
|
return c;
|
|
2815
2812
|
this.bumpSpace(), I = this.parseIdentifierIfPossible(), B = c.val;
|
|
@@ -2820,10 +2817,10 @@ var bn = (
|
|
|
2820
2817
|
var p = this.tryParseArgumentClose(i);
|
|
2821
2818
|
if (p.err)
|
|
2822
2819
|
return p;
|
|
2823
|
-
var w =
|
|
2820
|
+
var w = _(i, this.clonePosition());
|
|
2824
2821
|
return u === "select" ? {
|
|
2825
2822
|
val: {
|
|
2826
|
-
type:
|
|
2823
|
+
type: T.select,
|
|
2827
2824
|
value: n,
|
|
2828
2825
|
options: lt(S.val),
|
|
2829
2826
|
location: w
|
|
@@ -2831,7 +2828,7 @@ var bn = (
|
|
|
2831
2828
|
err: null
|
|
2832
2829
|
} : {
|
|
2833
2830
|
val: {
|
|
2834
|
-
type:
|
|
2831
|
+
type: T.plural,
|
|
2835
2832
|
value: n,
|
|
2836
2833
|
options: lt(S.val),
|
|
2837
2834
|
offset: B,
|
|
@@ -2842,10 +2839,10 @@ var bn = (
|
|
|
2842
2839
|
};
|
|
2843
2840
|
}
|
|
2844
2841
|
default:
|
|
2845
|
-
return this.error(
|
|
2842
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, _(o, h));
|
|
2846
2843
|
}
|
|
2847
2844
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2848
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2845
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2849
2846
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2850
2847
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2851
2848
|
var n = this.char();
|
|
@@ -2854,7 +2851,7 @@ var bn = (
|
|
|
2854
2851
|
this.bump();
|
|
2855
2852
|
var i = this.clonePosition();
|
|
2856
2853
|
if (!this.bumpUntil("'"))
|
|
2857
|
-
return this.error(
|
|
2854
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
|
|
2858
2855
|
this.bump();
|
|
2859
2856
|
break;
|
|
2860
2857
|
}
|
|
@@ -2886,7 +2883,7 @@ var bn = (
|
|
|
2886
2883
|
try {
|
|
2887
2884
|
n = qr(t);
|
|
2888
2885
|
} catch (i) {
|
|
2889
|
-
return this.error(
|
|
2886
|
+
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
2890
2887
|
}
|
|
2891
2888
|
return {
|
|
2892
2889
|
val: {
|
|
@@ -2902,19 +2899,19 @@ var bn = (
|
|
|
2902
2899
|
if (a.length === 0) {
|
|
2903
2900
|
var c = this.clonePosition();
|
|
2904
2901
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2905
|
-
var f = this.tryParseDecimalInteger(
|
|
2902
|
+
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2906
2903
|
if (f.err)
|
|
2907
2904
|
return f;
|
|
2908
|
-
l =
|
|
2905
|
+
l = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
|
2909
2906
|
} else
|
|
2910
2907
|
break;
|
|
2911
2908
|
}
|
|
2912
2909
|
if (h.has(a))
|
|
2913
|
-
return this.error(r === "select" ?
|
|
2910
|
+
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
2914
2911
|
a === "other" && (o = !0), this.bumpSpace();
|
|
2915
2912
|
var d = this.clonePosition();
|
|
2916
2913
|
if (!this.bumpIf("{"))
|
|
2917
|
-
return this.error(r === "select" ?
|
|
2914
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
2918
2915
|
var p = this.parseMessage(t + 1, r, n);
|
|
2919
2916
|
if (p.err)
|
|
2920
2917
|
return p;
|
|
@@ -2925,11 +2922,11 @@ var bn = (
|
|
|
2925
2922
|
a,
|
|
2926
2923
|
{
|
|
2927
2924
|
value: p.val,
|
|
2928
|
-
location:
|
|
2925
|
+
location: _(d, this.clonePosition())
|
|
2929
2926
|
}
|
|
2930
2927
|
]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
|
|
2931
2928
|
}
|
|
2932
|
-
return u.length === 0 ? this.error(r === "select" ?
|
|
2929
|
+
return u.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
|
|
2933
2930
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
2934
2931
|
var n = 1, i = this.clonePosition();
|
|
2935
2932
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -2940,7 +2937,7 @@ var bn = (
|
|
|
2940
2937
|
else
|
|
2941
2938
|
break;
|
|
2942
2939
|
}
|
|
2943
|
-
var h =
|
|
2940
|
+
var h = _(i, this.clonePosition());
|
|
2944
2941
|
return s ? (o *= n, gn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
2945
2942
|
}, e.prototype.offset = function() {
|
|
2946
2943
|
return this.position.offset;
|
|
@@ -3010,16 +3007,16 @@ var bn = (
|
|
|
3010
3007
|
function Ge(e) {
|
|
3011
3008
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3012
3009
|
}
|
|
3013
|
-
function
|
|
3010
|
+
function yn(e) {
|
|
3014
3011
|
return Ge(e) || e === 47;
|
|
3015
3012
|
}
|
|
3016
|
-
function
|
|
3013
|
+
function _n(e) {
|
|
3017
3014
|
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;
|
|
3018
3015
|
}
|
|
3019
3016
|
function jt(e) {
|
|
3020
3017
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3021
3018
|
}
|
|
3022
|
-
function
|
|
3019
|
+
function En(e) {
|
|
3023
3020
|
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;
|
|
3024
3021
|
}
|
|
3025
3022
|
function De(e) {
|
|
@@ -3030,11 +3027,11 @@ function De(e) {
|
|
|
3030
3027
|
else Ot(t) && Mt(t.style) || (Pt(t) || wt(t)) && Me(t.style) ? delete t.style.location : Lt(t) && De(t.children);
|
|
3031
3028
|
});
|
|
3032
3029
|
}
|
|
3033
|
-
function
|
|
3034
|
-
t === void 0 && (t = {}), t =
|
|
3030
|
+
function xn(e, t) {
|
|
3031
|
+
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3035
3032
|
var r = new bn(e, t).parse();
|
|
3036
3033
|
if (r.err) {
|
|
3037
|
-
var n = SyntaxError(
|
|
3034
|
+
var n = SyntaxError(y[r.err.kind]);
|
|
3038
3035
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3039
3036
|
}
|
|
3040
3037
|
return t != null && t.captureLocation || De(r.val), r.val;
|
|
@@ -3046,45 +3043,45 @@ function Se(e, t) {
|
|
|
3046
3043
|
serializer: n
|
|
3047
3044
|
});
|
|
3048
3045
|
}
|
|
3049
|
-
function
|
|
3046
|
+
function vn(e) {
|
|
3050
3047
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3051
3048
|
}
|
|
3052
|
-
function
|
|
3053
|
-
var i =
|
|
3049
|
+
function kt(e, t, r, n) {
|
|
3050
|
+
var i = vn(n) ? n : r(n), s = t.get(i);
|
|
3054
3051
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
3055
3052
|
}
|
|
3056
|
-
function
|
|
3053
|
+
function Vt(e, t, r) {
|
|
3057
3054
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
3058
3055
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
3059
3056
|
}
|
|
3060
|
-
function
|
|
3057
|
+
function Xe(e, t, r, n, i) {
|
|
3061
3058
|
return r.bind(t, e, n, i);
|
|
3062
3059
|
}
|
|
3063
3060
|
function Tn(e, t) {
|
|
3064
|
-
var r = e.length === 1 ?
|
|
3065
|
-
return
|
|
3061
|
+
var r = e.length === 1 ? kt : Vt;
|
|
3062
|
+
return Xe(e, this, r, t.cache.create(), t.serializer);
|
|
3066
3063
|
}
|
|
3067
3064
|
function Cn(e, t) {
|
|
3068
|
-
return
|
|
3065
|
+
return Xe(e, this, Vt, t.cache.create(), t.serializer);
|
|
3069
3066
|
}
|
|
3070
3067
|
function Hn(e, t) {
|
|
3071
|
-
return
|
|
3068
|
+
return Xe(e, this, kt, t.cache.create(), t.serializer);
|
|
3072
3069
|
}
|
|
3073
3070
|
var An = function() {
|
|
3074
3071
|
return JSON.stringify(arguments);
|
|
3075
3072
|
};
|
|
3076
|
-
function
|
|
3073
|
+
function ze() {
|
|
3077
3074
|
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3078
3075
|
}
|
|
3079
|
-
|
|
3076
|
+
ze.prototype.get = function(e) {
|
|
3080
3077
|
return this.cache[e];
|
|
3081
3078
|
};
|
|
3082
|
-
|
|
3079
|
+
ze.prototype.set = function(e, t) {
|
|
3083
3080
|
this.cache[e] = t;
|
|
3084
3081
|
};
|
|
3085
3082
|
var Sn = {
|
|
3086
3083
|
create: function() {
|
|
3087
|
-
return new
|
|
3084
|
+
return new ze();
|
|
3088
3085
|
}
|
|
3089
3086
|
}, Be = {
|
|
3090
3087
|
variadic: Cn,
|
|
@@ -3093,10 +3090,10 @@ var Sn = {
|
|
|
3093
3090
|
(function(e) {
|
|
3094
3091
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3095
3092
|
})(J || (J = {}));
|
|
3096
|
-
var
|
|
3093
|
+
var Ee = (
|
|
3097
3094
|
/** @class */
|
|
3098
3095
|
function(e) {
|
|
3099
|
-
|
|
3096
|
+
_e(t, e);
|
|
3100
3097
|
function t(r, n, i) {
|
|
3101
3098
|
var s = e.call(this, r) || this;
|
|
3102
3099
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3108,30 +3105,30 @@ var _e = (
|
|
|
3108
3105
|
), ct = (
|
|
3109
3106
|
/** @class */
|
|
3110
3107
|
function(e) {
|
|
3111
|
-
|
|
3108
|
+
_e(t, e);
|
|
3112
3109
|
function t(r, n, i, s) {
|
|
3113
3110
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, s) || this;
|
|
3114
3111
|
}
|
|
3115
3112
|
return t;
|
|
3116
|
-
}(
|
|
3113
|
+
}(Ee)
|
|
3117
3114
|
), Bn = (
|
|
3118
3115
|
/** @class */
|
|
3119
3116
|
function(e) {
|
|
3120
|
-
|
|
3117
|
+
_e(t, e);
|
|
3121
3118
|
function t(r, n, i) {
|
|
3122
3119
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3123
3120
|
}
|
|
3124
3121
|
return t;
|
|
3125
|
-
}(
|
|
3122
|
+
}(Ee)
|
|
3126
3123
|
), On = (
|
|
3127
3124
|
/** @class */
|
|
3128
3125
|
function(e) {
|
|
3129
|
-
|
|
3126
|
+
_e(t, e);
|
|
3130
3127
|
function t(r, n) {
|
|
3131
3128
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3132
3129
|
}
|
|
3133
3130
|
return t;
|
|
3134
|
-
}(
|
|
3131
|
+
}(Ee)
|
|
3135
3132
|
), P;
|
|
3136
3133
|
(function(e) {
|
|
3137
3134
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
@@ -3162,7 +3159,7 @@ function ge(e, t, r, n, i, s, o) {
|
|
|
3162
3159
|
});
|
|
3163
3160
|
continue;
|
|
3164
3161
|
}
|
|
3165
|
-
if (
|
|
3162
|
+
if (zr(l)) {
|
|
3166
3163
|
typeof s == "number" && u.push({
|
|
3167
3164
|
type: P.literal,
|
|
3168
3165
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3173,7 +3170,7 @@ function ge(e, t, r, n, i, s, o) {
|
|
|
3173
3170
|
if (!(i && c in i))
|
|
3174
3171
|
throw new On(c, o);
|
|
3175
3172
|
var f = i[c];
|
|
3176
|
-
if (
|
|
3173
|
+
if (Xr(l)) {
|
|
3177
3174
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3178
3175
|
type: typeof f == "string" ? P.literal : P.object,
|
|
3179
3176
|
value: f
|
|
@@ -3205,13 +3202,13 @@ function ge(e, t, r, n, i, s, o) {
|
|
|
3205
3202
|
continue;
|
|
3206
3203
|
}
|
|
3207
3204
|
if (Lt(l)) {
|
|
3208
|
-
var p = l.children, g = l.value,
|
|
3209
|
-
if (!wn(
|
|
3205
|
+
var p = l.children, g = l.value, x = i[g];
|
|
3206
|
+
if (!wn(x))
|
|
3210
3207
|
throw new Bn(g, "function", o);
|
|
3211
|
-
var m = ge(p, t, r, n, i, s),
|
|
3208
|
+
var m = ge(p, t, r, n, i, s), C = x(m.map(function(B) {
|
|
3212
3209
|
return B.value;
|
|
3213
3210
|
}));
|
|
3214
|
-
Array.isArray(
|
|
3211
|
+
Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
|
|
3215
3212
|
return {
|
|
3216
3213
|
type: typeof B == "string" ? P.literal : P.object,
|
|
3217
3214
|
value: B
|
|
@@ -3229,7 +3226,7 @@ function ge(e, t, r, n, i, s, o) {
|
|
|
3229
3226
|
var A = l.options["=".concat(f)];
|
|
3230
3227
|
if (!A) {
|
|
3231
3228
|
if (!Intl.PluralRules)
|
|
3232
|
-
throw new
|
|
3229
|
+
throw new Ee(`Intl.PluralRules is not available in this environment.
|
|
3233
3230
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3234
3231
|
`, J.MISSING_INTL_API, o);
|
|
3235
3232
|
var I = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
@@ -3244,14 +3241,14 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3244
3241
|
return Pn(u);
|
|
3245
3242
|
}
|
|
3246
3243
|
function Nn(e, t) {
|
|
3247
|
-
return t ?
|
|
3248
|
-
return r[n] =
|
|
3244
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3245
|
+
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3249
3246
|
}, {})) : e;
|
|
3250
3247
|
}
|
|
3251
3248
|
function In(e, t) {
|
|
3252
3249
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3253
3250
|
return r[n] = Nn(e[n], t[n]), r;
|
|
3254
|
-
},
|
|
3251
|
+
}, E({}, e)) : e;
|
|
3255
3252
|
}
|
|
3256
3253
|
function Oe(e) {
|
|
3257
3254
|
return {
|
|
@@ -3330,8 +3327,8 @@ var Mn = (
|
|
|
3330
3327
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3331
3328
|
var o = i || {};
|
|
3332
3329
|
o.formatters;
|
|
3333
|
-
var u =
|
|
3334
|
-
this.ast = e.__parse(t,
|
|
3330
|
+
var u = Vr(o, ["formatters"]);
|
|
3331
|
+
this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
|
|
3335
3332
|
} else
|
|
3336
3333
|
this.ast = t;
|
|
3337
3334
|
if (!Array.isArray(this.ast))
|
|
@@ -3349,7 +3346,7 @@ var Mn = (
|
|
|
3349
3346
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3350
3347
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3351
3348
|
}
|
|
3352
|
-
}, e.__parse =
|
|
3349
|
+
}, e.__parse = xn, e.formats = {
|
|
3353
3350
|
number: {
|
|
3354
3351
|
integer: {
|
|
3355
3352
|
maximumFractionDigits: 0
|
|
@@ -3431,12 +3428,12 @@ function $n(e, t) {
|
|
|
3431
3428
|
n = void 0;
|
|
3432
3429
|
return n;
|
|
3433
3430
|
}
|
|
3434
|
-
const D = {}, Rn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r),
|
|
3431
|
+
const D = {}, Rn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Xt = (e, t) => {
|
|
3435
3432
|
if (t == null)
|
|
3436
3433
|
return;
|
|
3437
3434
|
if (t in D && e in D[t])
|
|
3438
3435
|
return D[t][e];
|
|
3439
|
-
const r =
|
|
3436
|
+
const r = xe(t);
|
|
3440
3437
|
for (let n = 0; n < r.length; n++) {
|
|
3441
3438
|
const i = r[n], s = Gn(i, e);
|
|
3442
3439
|
if (s)
|
|
@@ -3444,15 +3441,15 @@ const D = {}, Rn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][
|
|
|
3444
3441
|
}
|
|
3445
3442
|
};
|
|
3446
3443
|
let We;
|
|
3447
|
-
const ue =
|
|
3444
|
+
const ue = ye({});
|
|
3448
3445
|
function Un(e) {
|
|
3449
3446
|
return We[e] || null;
|
|
3450
3447
|
}
|
|
3451
|
-
function
|
|
3448
|
+
function zt(e) {
|
|
3452
3449
|
return e in We;
|
|
3453
3450
|
}
|
|
3454
3451
|
function Gn(e, t) {
|
|
3455
|
-
if (!
|
|
3452
|
+
if (!zt(e))
|
|
3456
3453
|
return null;
|
|
3457
3454
|
const r = Un(e);
|
|
3458
3455
|
return $n(r, t);
|
|
@@ -3460,15 +3457,15 @@ function Gn(e, t) {
|
|
|
3460
3457
|
function Dn(e) {
|
|
3461
3458
|
if (e == null)
|
|
3462
3459
|
return;
|
|
3463
|
-
const t =
|
|
3460
|
+
const t = xe(e);
|
|
3464
3461
|
for (let r = 0; r < t.length; r++) {
|
|
3465
3462
|
const n = t[r];
|
|
3466
|
-
if (
|
|
3463
|
+
if (zt(n))
|
|
3467
3464
|
return n;
|
|
3468
3465
|
}
|
|
3469
3466
|
}
|
|
3470
3467
|
function Wt(e, ...t) {
|
|
3471
|
-
delete D[e], ue.update((r) => (r[e] =
|
|
3468
|
+
delete D[e], ue.update((r) => (r[e] = kr.all([r[e] || {}, ...t]), r));
|
|
3472
3469
|
}
|
|
3473
3470
|
ee(
|
|
3474
3471
|
[ue],
|
|
@@ -3483,20 +3480,20 @@ function Zt(e) {
|
|
|
3483
3480
|
return me[e];
|
|
3484
3481
|
}
|
|
3485
3482
|
function jn(e) {
|
|
3486
|
-
return
|
|
3483
|
+
return xe(e).map((t) => {
|
|
3487
3484
|
const r = Zt(t);
|
|
3488
3485
|
return [t, r ? [...r] : []];
|
|
3489
3486
|
}).filter(([, t]) => t.length > 0);
|
|
3490
3487
|
}
|
|
3491
3488
|
function Fe(e) {
|
|
3492
|
-
return e == null ? !1 :
|
|
3489
|
+
return e == null ? !1 : xe(e).some(
|
|
3493
3490
|
(t) => {
|
|
3494
3491
|
var r;
|
|
3495
3492
|
return (r = Zt(t)) == null ? void 0 : r.size;
|
|
3496
3493
|
}
|
|
3497
3494
|
);
|
|
3498
3495
|
}
|
|
3499
|
-
function
|
|
3496
|
+
function kn(e, t) {
|
|
3500
3497
|
return Promise.all(
|
|
3501
3498
|
t.map((n) => (Fn(e, n), n().then((i) => i.default || i)))
|
|
3502
3499
|
).then((n) => Wt(e, ...n));
|
|
@@ -3508,7 +3505,7 @@ function Qt(e) {
|
|
|
3508
3505
|
const t = jn(e);
|
|
3509
3506
|
return ne[e] = Promise.all(
|
|
3510
3507
|
t.map(
|
|
3511
|
-
([r, n]) =>
|
|
3508
|
+
([r, n]) => kn(r, n)
|
|
3512
3509
|
)
|
|
3513
3510
|
).then(() => {
|
|
3514
3511
|
if (Fe(e))
|
|
@@ -3516,7 +3513,7 @@ function Qt(e) {
|
|
|
3516
3513
|
delete ne[e];
|
|
3517
3514
|
}), ne[e];
|
|
3518
3515
|
}
|
|
3519
|
-
const
|
|
3516
|
+
const Vn = {
|
|
3520
3517
|
number: {
|
|
3521
3518
|
scientific: { notation: "scientific" },
|
|
3522
3519
|
engineering: { notation: "engineering" },
|
|
@@ -3545,18 +3542,18 @@ const kn = {
|
|
|
3545
3542
|
timeZoneName: "short"
|
|
3546
3543
|
}
|
|
3547
3544
|
}
|
|
3548
|
-
},
|
|
3545
|
+
}, Xn = {
|
|
3549
3546
|
fallbackLocale: null,
|
|
3550
3547
|
loadingDelay: 200,
|
|
3551
|
-
formats:
|
|
3548
|
+
formats: Vn,
|
|
3552
3549
|
warnOnMissingMessages: !0,
|
|
3553
3550
|
handleMissingMessage: void 0,
|
|
3554
3551
|
ignoreTag: !0
|
|
3555
|
-
},
|
|
3552
|
+
}, zn = Xn;
|
|
3556
3553
|
function Y() {
|
|
3557
|
-
return
|
|
3554
|
+
return zn;
|
|
3558
3555
|
}
|
|
3559
|
-
const Pe =
|
|
3556
|
+
const Pe = ye(!1);
|
|
3560
3557
|
var Wn = Object.defineProperty, Zn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yn = (e, t) => {
|
|
3561
3558
|
for (var r in t || (t = {}))
|
|
3562
3559
|
qn.call(t, r) && mt(e, r, t[r]);
|
|
@@ -3566,15 +3563,15 @@ var Wn = Object.defineProperty, Zn = Object.defineProperties, Qn = Object.getOwn
|
|
|
3566
3563
|
return e;
|
|
3567
3564
|
}, Kn = (e, t) => Zn(e, Qn(t));
|
|
3568
3565
|
let je;
|
|
3569
|
-
const de =
|
|
3566
|
+
const de = ye(null);
|
|
3570
3567
|
function pt(e) {
|
|
3571
3568
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3572
3569
|
}
|
|
3573
|
-
function
|
|
3570
|
+
function xe(e, t = Y().fallbackLocale) {
|
|
3574
3571
|
const r = pt(e);
|
|
3575
3572
|
return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
|
|
3576
3573
|
}
|
|
3577
|
-
function
|
|
3574
|
+
function V() {
|
|
3578
3575
|
return je != null ? je : void 0;
|
|
3579
3576
|
}
|
|
3580
3577
|
de.subscribe((e) => {
|
|
@@ -3584,7 +3581,7 @@ const ei = (e) => {
|
|
|
3584
3581
|
if (e && Dn(e) && Fe(e)) {
|
|
3585
3582
|
const { loadingDelay: t } = Y();
|
|
3586
3583
|
let r;
|
|
3587
|
-
return typeof window != "undefined" &&
|
|
3584
|
+
return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
|
|
3588
3585
|
() => Pe.set(!0),
|
|
3589
3586
|
t
|
|
3590
3587
|
) : Pe.set(!0), Qt(e).then(() => {
|
|
@@ -3596,7 +3593,7 @@ const ei = (e) => {
|
|
|
3596
3593
|
return de.set(e);
|
|
3597
3594
|
}, te = Kn(Yn({}, de), {
|
|
3598
3595
|
set: ei
|
|
3599
|
-
}),
|
|
3596
|
+
}), ve = (e) => {
|
|
3600
3597
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3601
3598
|
return (n) => {
|
|
3602
3599
|
const i = JSON.stringify(n);
|
|
@@ -3624,21 +3621,21 @@ const oe = (e, t) => {
|
|
|
3624
3621
|
if (e in r && t in r[e])
|
|
3625
3622
|
return r[e][t];
|
|
3626
3623
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3627
|
-
}, ri =
|
|
3624
|
+
}, ri = ve(
|
|
3628
3625
|
(e) => {
|
|
3629
3626
|
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3630
3627
|
if (r == null)
|
|
3631
3628
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3632
3629
|
return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
|
|
3633
3630
|
}
|
|
3634
|
-
), ni =
|
|
3631
|
+
), ni = ve(
|
|
3635
3632
|
(e) => {
|
|
3636
3633
|
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3637
3634
|
if (r == null)
|
|
3638
3635
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3639
3636
|
return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3640
3637
|
}
|
|
3641
|
-
), ii =
|
|
3638
|
+
), ii = ve(
|
|
3642
3639
|
(e) => {
|
|
3643
3640
|
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3644
3641
|
if (r == null)
|
|
@@ -3649,28 +3646,28 @@ const oe = (e, t) => {
|
|
|
3649
3646
|
}
|
|
3650
3647
|
), si = (e = {}) => {
|
|
3651
3648
|
var t = e, {
|
|
3652
|
-
locale: r =
|
|
3649
|
+
locale: r = V()
|
|
3653
3650
|
} = t, n = re(t, [
|
|
3654
3651
|
"locale"
|
|
3655
3652
|
]);
|
|
3656
3653
|
return ri(Ze({ locale: r }, n));
|
|
3657
3654
|
}, oi = (e = {}) => {
|
|
3658
3655
|
var t = e, {
|
|
3659
|
-
locale: r =
|
|
3656
|
+
locale: r = V()
|
|
3660
3657
|
} = t, n = re(t, [
|
|
3661
3658
|
"locale"
|
|
3662
3659
|
]);
|
|
3663
3660
|
return ni(Ze({ locale: r }, n));
|
|
3664
3661
|
}, ai = (e = {}) => {
|
|
3665
3662
|
var t = e, {
|
|
3666
|
-
locale: r =
|
|
3663
|
+
locale: r = V()
|
|
3667
3664
|
} = t, n = re(t, [
|
|
3668
3665
|
"locale"
|
|
3669
3666
|
]);
|
|
3670
3667
|
return ii(Ze({ locale: r }, n));
|
|
3671
|
-
}, ui =
|
|
3668
|
+
}, ui = ve(
|
|
3672
3669
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3673
|
-
(e, t =
|
|
3670
|
+
(e, t = V()) => new Mn(e, t, Y().formats, {
|
|
3674
3671
|
ignoreTag: Y().ignoreTag
|
|
3675
3672
|
})
|
|
3676
3673
|
), hi = (e, t = {}) => {
|
|
@@ -3679,14 +3676,14 @@ const oe = (e, t) => {
|
|
|
3679
3676
|
typeof e == "object" && (o = e, e = o.id);
|
|
3680
3677
|
const {
|
|
3681
3678
|
values: u,
|
|
3682
|
-
locale: h =
|
|
3679
|
+
locale: h = V(),
|
|
3683
3680
|
default: a
|
|
3684
3681
|
} = o;
|
|
3685
3682
|
if (h == null)
|
|
3686
3683
|
throw new Error(
|
|
3687
3684
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3688
3685
|
);
|
|
3689
|
-
let l =
|
|
3686
|
+
let l = Xt(e, h);
|
|
3690
3687
|
if (!l)
|
|
3691
3688
|
l = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3692
3689
|
else if (typeof l != "string")
|
|
@@ -3705,7 +3702,7 @@ const oe = (e, t) => {
|
|
|
3705
3702
|
);
|
|
3706
3703
|
}
|
|
3707
3704
|
return c;
|
|
3708
|
-
}, li = (e, t) => ai(t).format(e), fi = (e, t) => oi(t).format(e), ci = (e, t) => si(t).format(e), gi = (e, t =
|
|
3705
|
+
}, li = (e, t) => ai(t).format(e), fi = (e, t) => oi(t).format(e), ci = (e, t) => si(t).format(e), gi = (e, t = V()) => Xt(e, t), mi = ee([te, ue], () => hi);
|
|
3709
3706
|
ee([te], () => li);
|
|
3710
3707
|
ee([te], () => fi);
|
|
3711
3708
|
ee([te], () => ci);
|
|
@@ -3716,7 +3713,7 @@ function bt(e, t) {
|
|
|
3716
3713
|
function pi(e) {
|
|
3717
3714
|
te.set(e);
|
|
3718
3715
|
}
|
|
3719
|
-
const
|
|
3716
|
+
const yt = {
|
|
3720
3717
|
en: {
|
|
3721
3718
|
topCategories: "Top Categories",
|
|
3722
3719
|
otherCategories: "Other Categories",
|
|
@@ -3821,13 +3818,13 @@ const vt = {
|
|
|
3821
3818
|
}
|
|
3822
3819
|
};
|
|
3823
3820
|
function di(e) {
|
|
3824
|
-
hr(e, "svelte-
|
|
3821
|
+
hr(e, "svelte-18zp3d", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emfe-w-color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emfe-w-color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
|
|
3825
3822
|
}
|
|
3826
|
-
function
|
|
3823
|
+
function _t(e, t, r) {
|
|
3827
3824
|
const n = e.slice();
|
|
3828
3825
|
return n[24] = t[r], n;
|
|
3829
3826
|
}
|
|
3830
|
-
function
|
|
3827
|
+
function Et(e, t, r) {
|
|
3831
3828
|
const n = e.slice();
|
|
3832
3829
|
return n[24] = t[r], n;
|
|
3833
3830
|
}
|
|
@@ -3843,13 +3840,13 @@ function bi(e) {
|
|
|
3843
3840
|
e[3]
|
|
3844
3841
|
), f = [];
|
|
3845
3842
|
for (let g = 0; g < c.length; g += 1)
|
|
3846
|
-
f[g] = Et(
|
|
3843
|
+
f[g] = xt(Et(e, c, g));
|
|
3847
3844
|
let d = le(
|
|
3848
3845
|
/*otherCategories*/
|
|
3849
3846
|
e[4]
|
|
3850
3847
|
), p = [];
|
|
3851
3848
|
for (let g = 0; g < d.length; g += 1)
|
|
3852
|
-
p[g] =
|
|
3849
|
+
p[g] = vt(_t(e, d, g));
|
|
3853
3850
|
return {
|
|
3854
3851
|
c() {
|
|
3855
3852
|
t = O("div"), r = O("h4"), i = U(n), s = R();
|
|
@@ -3858,20 +3855,20 @@ function bi(e) {
|
|
|
3858
3855
|
o = R(), u = O("h4"), a = U(h), l = R();
|
|
3859
3856
|
for (let g = 0; g < p.length; g += 1)
|
|
3860
3857
|
p[g].c();
|
|
3861
|
-
|
|
3858
|
+
H(r, "class", "CategoryTitle"), H(u, "class", "CategoryTitle"), H(t, "class", "CasinoCategories");
|
|
3862
3859
|
},
|
|
3863
|
-
m(g,
|
|
3864
|
-
K(g, t,
|
|
3860
|
+
m(g, x) {
|
|
3861
|
+
K(g, t, x), v(t, r), v(r, i), v(t, s);
|
|
3865
3862
|
for (let m = 0; m < f.length; m += 1)
|
|
3866
3863
|
f[m] && f[m].m(t, null);
|
|
3867
|
-
|
|
3864
|
+
v(t, o), v(t, u), v(u, a), v(t, l);
|
|
3868
3865
|
for (let m = 0; m < p.length; m += 1)
|
|
3869
3866
|
p[m] && p[m].m(t, null);
|
|
3870
3867
|
},
|
|
3871
|
-
p(g,
|
|
3872
|
-
if (
|
|
3868
|
+
p(g, x) {
|
|
3869
|
+
if (x & /*$_*/
|
|
3873
3870
|
32 && n !== (n = /*$_*/
|
|
3874
|
-
g[5]("topCategories") + "") && F(i, n),
|
|
3871
|
+
g[5]("topCategories") + "") && F(i, n), x & /*activecategory, topCategories, openGameCategory, $_*/
|
|
3875
3872
|
105) {
|
|
3876
3873
|
c = le(
|
|
3877
3874
|
/*topCategories*/
|
|
@@ -3879,16 +3876,16 @@ function bi(e) {
|
|
|
3879
3876
|
);
|
|
3880
3877
|
let m;
|
|
3881
3878
|
for (m = 0; m < c.length; m += 1) {
|
|
3882
|
-
const
|
|
3883
|
-
f[m] ? f[m].p(
|
|
3879
|
+
const C = Et(g, c, m);
|
|
3880
|
+
f[m] ? f[m].p(C, x) : (f[m] = xt(C), f[m].c(), f[m].m(t, o));
|
|
3884
3881
|
}
|
|
3885
3882
|
for (; m < f.length; m += 1)
|
|
3886
3883
|
f[m].d(1);
|
|
3887
3884
|
f.length = c.length;
|
|
3888
3885
|
}
|
|
3889
|
-
if (
|
|
3886
|
+
if (x & /*$_*/
|
|
3890
3887
|
32 && h !== (h = /*$_*/
|
|
3891
|
-
g[5]("otherCategories") + "") && F(a, h),
|
|
3888
|
+
g[5]("otherCategories") + "") && F(a, h), x & /*activecategory, otherCategories, openGameCategory, $_*/
|
|
3892
3889
|
113) {
|
|
3893
3890
|
d = le(
|
|
3894
3891
|
/*otherCategories*/
|
|
@@ -3896,8 +3893,8 @@ function bi(e) {
|
|
|
3896
3893
|
);
|
|
3897
3894
|
let m;
|
|
3898
3895
|
for (m = 0; m < d.length; m += 1) {
|
|
3899
|
-
const
|
|
3900
|
-
p[m] ? p[m].p(
|
|
3896
|
+
const C = _t(g, d, m);
|
|
3897
|
+
p[m] ? p[m].p(C, x) : (p[m] = vt(C), p[m].c(), p[m].m(t, null));
|
|
3901
3898
|
}
|
|
3902
3899
|
for (; m < p.length; m += 1)
|
|
3903
3900
|
p[m].d(1);
|
|
@@ -3905,26 +3902,26 @@ function bi(e) {
|
|
|
3905
3902
|
}
|
|
3906
3903
|
},
|
|
3907
3904
|
d(g) {
|
|
3908
|
-
g &&
|
|
3905
|
+
g && k(t), rt(f, g), rt(p, g);
|
|
3909
3906
|
}
|
|
3910
3907
|
};
|
|
3911
3908
|
}
|
|
3912
|
-
function
|
|
3909
|
+
function yi(e) {
|
|
3913
3910
|
let t;
|
|
3914
3911
|
return {
|
|
3915
3912
|
c() {
|
|
3916
|
-
t = O("p"), t.textContent = "Loading, please wait...",
|
|
3913
|
+
t = O("p"), t.textContent = "Loading, please wait...", H(t, "class", "Message");
|
|
3917
3914
|
},
|
|
3918
3915
|
m(r, n) {
|
|
3919
3916
|
K(r, t, n);
|
|
3920
3917
|
},
|
|
3921
3918
|
p: M,
|
|
3922
3919
|
d(r) {
|
|
3923
|
-
r &&
|
|
3920
|
+
r && k(t);
|
|
3924
3921
|
}
|
|
3925
3922
|
};
|
|
3926
3923
|
}
|
|
3927
|
-
function
|
|
3924
|
+
function xt(e) {
|
|
3928
3925
|
let t, r, n, i, s, o, u, h = (
|
|
3929
3926
|
/*category*/
|
|
3930
3927
|
e[24].name + ""
|
|
@@ -3934,7 +3931,7 @@ function Et(e) {
|
|
|
3934
3931
|
), d, p, g = (
|
|
3935
3932
|
/*$_*/
|
|
3936
3933
|
e[5]("games") + ""
|
|
3937
|
-
),
|
|
3934
|
+
), x, m, C, A;
|
|
3938
3935
|
function I() {
|
|
3939
3936
|
return (
|
|
3940
3937
|
/*click_handler*/
|
|
@@ -3946,37 +3943,37 @@ function Et(e) {
|
|
|
3946
3943
|
}
|
|
3947
3944
|
return {
|
|
3948
3945
|
c() {
|
|
3949
|
-
t = O("div"), r = O("img"), s = R(), o = O("div"), u = O("p"), a = U(h), l = R(), c = O("p"), d = U(f), p = R(),
|
|
3950
|
-
e[24].icon) ||
|
|
3951
|
-
e[24].name),
|
|
3946
|
+
t = O("div"), r = O("img"), s = R(), o = O("div"), u = O("p"), a = U(h), l = R(), c = O("p"), d = U(f), p = R(), x = U(g), pe(r.src, n = /*category*/
|
|
3947
|
+
e[24].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
|
|
3948
|
+
e[24].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", m = "Category " + /*activecategory*/
|
|
3952
3949
|
(e[0] === /*category*/
|
|
3953
|
-
e[24].id ? "Active" : "")
|
|
3950
|
+
e[24].id ? "Active" : ""));
|
|
3954
3951
|
},
|
|
3955
3952
|
m(B, S) {
|
|
3956
|
-
K(B, t, S),
|
|
3953
|
+
K(B, t, S), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, d), v(c, p), v(c, x), C || (A = At(t, "click", I), C = !0);
|
|
3957
3954
|
},
|
|
3958
3955
|
p(B, S) {
|
|
3959
3956
|
e = B, S & /*topCategories*/
|
|
3960
3957
|
8 && !pe(r.src, n = /*category*/
|
|
3961
|
-
e[24].icon) &&
|
|
3958
|
+
e[24].icon) && H(r, "src", n), S & /*topCategories*/
|
|
3962
3959
|
8 && i !== (i = /*category*/
|
|
3963
|
-
e[24].name) &&
|
|
3960
|
+
e[24].name) && H(r, "alt", i), S & /*topCategories*/
|
|
3964
3961
|
8 && h !== (h = /*category*/
|
|
3965
3962
|
e[24].name + "") && F(a, h), S & /*topCategories*/
|
|
3966
3963
|
8 && f !== (f = /*category*/
|
|
3967
3964
|
e[24].games.count + "") && F(d, f), S & /*$_*/
|
|
3968
3965
|
32 && g !== (g = /*$_*/
|
|
3969
|
-
e[5]("games") + "") && F(
|
|
3966
|
+
e[5]("games") + "") && F(x, g), S & /*activecategory, topCategories*/
|
|
3970
3967
|
9 && m !== (m = "Category " + /*activecategory*/
|
|
3971
3968
|
(e[0] === /*category*/
|
|
3972
|
-
e[24].id ? "Active" : "")
|
|
3969
|
+
e[24].id ? "Active" : "")) && H(t, "class", m);
|
|
3973
3970
|
},
|
|
3974
3971
|
d(B) {
|
|
3975
|
-
B &&
|
|
3972
|
+
B && k(t), C = !1, A();
|
|
3976
3973
|
}
|
|
3977
3974
|
};
|
|
3978
3975
|
}
|
|
3979
|
-
function
|
|
3976
|
+
function vt(e) {
|
|
3980
3977
|
let t, r, n, i, s, o, u, h = (
|
|
3981
3978
|
/*category*/
|
|
3982
3979
|
e[24].name + ""
|
|
@@ -3986,7 +3983,7 @@ function xt(e) {
|
|
|
3986
3983
|
), d, p, g = (
|
|
3987
3984
|
/*$_*/
|
|
3988
3985
|
e[5]("games") + ""
|
|
3989
|
-
),
|
|
3986
|
+
), x, m, C, A, I;
|
|
3990
3987
|
function B() {
|
|
3991
3988
|
return (
|
|
3992
3989
|
/*click_handler_1*/
|
|
@@ -3998,48 +3995,48 @@ function xt(e) {
|
|
|
3998
3995
|
}
|
|
3999
3996
|
return {
|
|
4000
3997
|
c() {
|
|
4001
|
-
t = O("div"), r = O("img"), s = R(), o = O("div"), u = O("p"), a = U(h), l = R(), c = O("p"), d = U(f), p = R(),
|
|
4002
|
-
e[24].icon) ||
|
|
4003
|
-
e[24].name),
|
|
3998
|
+
t = O("div"), r = O("img"), s = R(), o = O("div"), u = O("p"), a = U(h), l = R(), c = O("p"), d = U(f), p = R(), x = U(g), m = R(), pe(r.src, n = /*category*/
|
|
3999
|
+
e[24].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
|
|
4000
|
+
e[24].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", C = "Category " + /*activecategory*/
|
|
4004
4001
|
(e[0] === /*category*/
|
|
4005
|
-
e[24].id ? "Active" : "")
|
|
4002
|
+
e[24].id ? "Active" : ""));
|
|
4006
4003
|
},
|
|
4007
4004
|
m(S, w) {
|
|
4008
|
-
K(S, t, w),
|
|
4005
|
+
K(S, t, w), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, d), v(c, p), v(c, x), v(t, m), A || (I = At(t, "click", B), A = !0);
|
|
4009
4006
|
},
|
|
4010
4007
|
p(S, w) {
|
|
4011
4008
|
e = S, w & /*otherCategories*/
|
|
4012
4009
|
16 && !pe(r.src, n = /*category*/
|
|
4013
|
-
e[24].icon) &&
|
|
4010
|
+
e[24].icon) && H(r, "src", n), w & /*otherCategories*/
|
|
4014
4011
|
16 && i !== (i = /*category*/
|
|
4015
|
-
e[24].name) &&
|
|
4012
|
+
e[24].name) && H(r, "alt", i), w & /*otherCategories*/
|
|
4016
4013
|
16 && h !== (h = /*category*/
|
|
4017
4014
|
e[24].name + "") && F(a, h), w & /*otherCategories*/
|
|
4018
4015
|
16 && f !== (f = /*category*/
|
|
4019
4016
|
e[24].games.count + "") && F(d, f), w & /*$_*/
|
|
4020
4017
|
32 && g !== (g = /*$_*/
|
|
4021
|
-
e[5]("games") + "") && F(
|
|
4022
|
-
17 &&
|
|
4018
|
+
e[5]("games") + "") && F(x, g), w & /*activecategory, otherCategories*/
|
|
4019
|
+
17 && C !== (C = "Category " + /*activecategory*/
|
|
4023
4020
|
(e[0] === /*category*/
|
|
4024
|
-
e[24].id ? "Active" : "")
|
|
4021
|
+
e[24].id ? "Active" : "")) && H(t, "class", C);
|
|
4025
4022
|
},
|
|
4026
4023
|
d(S) {
|
|
4027
|
-
S &&
|
|
4024
|
+
S && k(t), A = !1, I();
|
|
4028
4025
|
}
|
|
4029
4026
|
};
|
|
4030
4027
|
}
|
|
4031
|
-
function
|
|
4028
|
+
function _i(e) {
|
|
4032
4029
|
let t;
|
|
4033
4030
|
function r(s, o) {
|
|
4034
4031
|
return (
|
|
4035
4032
|
/*isLoading*/
|
|
4036
|
-
s[2] ?
|
|
4033
|
+
s[2] ? yi : bi
|
|
4037
4034
|
);
|
|
4038
4035
|
}
|
|
4039
4036
|
let n = r(e), i = n(e);
|
|
4040
4037
|
return {
|
|
4041
4038
|
c() {
|
|
4042
|
-
t = O("div"), i.c()
|
|
4039
|
+
t = O("div"), i.c();
|
|
4043
4040
|
},
|
|
4044
4041
|
m(s, o) {
|
|
4045
4042
|
K(s, t, o), i.m(t, null), e[16](t);
|
|
@@ -4050,18 +4047,18 @@ function yi(e) {
|
|
|
4050
4047
|
i: M,
|
|
4051
4048
|
o: M,
|
|
4052
4049
|
d(s) {
|
|
4053
|
-
s &&
|
|
4050
|
+
s && k(t), i.d(), e[16](null);
|
|
4054
4051
|
}
|
|
4055
4052
|
};
|
|
4056
4053
|
}
|
|
4057
|
-
function
|
|
4054
|
+
function Ei(e, t, r) {
|
|
4058
4055
|
let n;
|
|
4059
4056
|
ur(e, mi, (b) => r(5, n = b));
|
|
4060
4057
|
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, f, d = !1;
|
|
4061
4058
|
const p = [];
|
|
4062
|
-
let g = [],
|
|
4063
|
-
Object.keys(
|
|
4064
|
-
bt(b,
|
|
4059
|
+
let g = [], x = [];
|
|
4060
|
+
Object.keys(yt).forEach((b) => {
|
|
4061
|
+
bt(b, yt[b]);
|
|
4065
4062
|
});
|
|
4066
4063
|
const m = () => {
|
|
4067
4064
|
fetch(c).then((N) => N.json()).then((N) => {
|
|
@@ -4071,7 +4068,7 @@ function _i(e, t, r) {
|
|
|
4071
4068
|
}).catch((N) => {
|
|
4072
4069
|
console.log(N);
|
|
4073
4070
|
});
|
|
4074
|
-
},
|
|
4071
|
+
}, C = () => {
|
|
4075
4072
|
r(2, d = !0);
|
|
4076
4073
|
const b = new URL(`${i}/v1/casino/groups/${s}`);
|
|
4077
4074
|
b.searchParams.append("language", o), fetch(b).then((N) => N.json()).then((N) => {
|
|
@@ -4082,7 +4079,7 @@ function _i(e, t, r) {
|
|
|
4082
4079
|
var qe;
|
|
4083
4080
|
return ((qe = j.flags) == null ? void 0 : qe.indexOf(tr)) >= 0;
|
|
4084
4081
|
}));
|
|
4085
|
-
r(3, g = Qe.filter((j) => j.isTopCategory === !0)), r(4,
|
|
4082
|
+
r(3, g = Qe.filter((j) => j.isTopCategory === !0)), r(4, x = Qe.filter((j) => j.isTopCategory === !1));
|
|
4086
4083
|
});
|
|
4087
4084
|
}, A = (b) => {
|
|
4088
4085
|
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
@@ -4115,7 +4112,7 @@ function _i(e, t, r) {
|
|
|
4115
4112
|
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl);
|
|
4116
4113
|
}, e.$$.update = () => {
|
|
4117
4114
|
e.$$.dirty & /*endpoint, datasource*/
|
|
4118
|
-
384 && i && s &&
|
|
4115
|
+
384 && i && s && C(), e.$$.dirty & /*translationurl*/
|
|
4119
4116
|
8192 && c && m(), e.$$.dirty & /*lang*/
|
|
4120
4117
|
512 && o && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4121
4118
|
2050 && a && f && B(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
@@ -4125,7 +4122,7 @@ function _i(e, t, r) {
|
|
|
4125
4122
|
f,
|
|
4126
4123
|
d,
|
|
4127
4124
|
g,
|
|
4128
|
-
|
|
4125
|
+
x,
|
|
4129
4126
|
n,
|
|
4130
4127
|
A,
|
|
4131
4128
|
i,
|
|
@@ -4145,8 +4142,8 @@ class Yt extends Hr {
|
|
|
4145
4142
|
super(), Tr(
|
|
4146
4143
|
this,
|
|
4147
4144
|
t,
|
|
4145
|
+
Ei,
|
|
4148
4146
|
_i,
|
|
4149
|
-
yi,
|
|
4150
4147
|
Ct,
|
|
4151
4148
|
{
|
|
4152
4149
|
endpoint: 7,
|
|
@@ -4211,13 +4208,13 @@ class Yt extends Hr {
|
|
|
4211
4208
|
}
|
|
4212
4209
|
}
|
|
4213
4210
|
Cr(Yt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4214
|
-
const
|
|
4211
|
+
const Ci = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4215
4212
|
__proto__: null,
|
|
4216
4213
|
default: Yt
|
|
4217
4214
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4218
4215
|
export {
|
|
4219
4216
|
te as $,
|
|
4220
|
-
|
|
4217
|
+
Ci as C,
|
|
4221
4218
|
Hr as S,
|
|
4222
4219
|
Wt as a,
|
|
4223
4220
|
hr as b,
|
|
@@ -4225,24 +4222,23 @@ export {
|
|
|
4225
4222
|
R as d,
|
|
4226
4223
|
O as e,
|
|
4227
4224
|
$ as f,
|
|
4228
|
-
|
|
4229
|
-
|
|
4225
|
+
H as g,
|
|
4226
|
+
Ti as h,
|
|
4230
4227
|
Tr as i,
|
|
4231
4228
|
K as j,
|
|
4232
|
-
|
|
4229
|
+
v as k,
|
|
4233
4230
|
At as l,
|
|
4234
4231
|
F as m,
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4232
|
+
M as n,
|
|
4233
|
+
k as o,
|
|
4234
|
+
ur as p,
|
|
4235
|
+
we as q,
|
|
4239
4236
|
ae as r,
|
|
4240
4237
|
Ct as s,
|
|
4241
4238
|
U as t,
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
pe as z
|
|
4239
|
+
mi as u,
|
|
4240
|
+
le as v,
|
|
4241
|
+
vi as w,
|
|
4242
|
+
rt as x,
|
|
4243
|
+
pe as y
|
|
4248
4244
|
};
|