@everymatrix/casino-navigation-search 1.76.1 → 1.76.3
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-N3rsN2lv.js → CasinoCategories-C9scQU9K.js} +342 -340
- package/components/CasinoCategories-Duf-3h-n.cjs +16 -0
- package/components/{CasinoCategories-cr_cKqHg.js → CasinoCategories-qRL96KHo.js} +330 -328
- package/components/{CasinoCategoriesProviders-BkXdyUrn.cjs → CasinoCategoriesProviders--yWqonUg.cjs} +1 -1
- package/components/{CasinoCategoriesProviders-DZGc8-VH.js → CasinoCategoriesProviders-DNSz_lXO.js} +7 -7
- package/components/{CasinoCategoriesProviders-YiC3WgYk.js → CasinoCategoriesProviders-kzTnQLLU.js} +7 -7
- package/components/{CasinoGameThumbnail-4rYlUJGm.js → CasinoGameThumbnail-B_F6hQQb.js} +1304 -1320
- package/components/CasinoGameThumbnail-qJb8C4DF.cjs +49 -0
- package/components/{CasinoGameThumbnail-89T6Kg-Z.js → CasinoGameThumbnail-y3OvroV1.js} +1304 -1320
- package/components/{CasinoNavigationSearch-C7FciEak.js → CasinoNavigationSearch-B6oP0PGi.js} +7 -7
- package/components/{CasinoNavigationSearch-BRYmooZ4.cjs → CasinoNavigationSearch-BWTNcs2J.cjs} +1 -1
- package/components/{CasinoNavigationSearch-Cai5g3GI.js → CasinoNavigationSearch-CMb1R9Kv.js} +7 -7
- package/components/{CasinoProviders-Dh2nJ7La.js → CasinoProviders-B3tQk_c3.js} +5 -5
- package/components/{CasinoProviders-DouHN1ED.js → CasinoProviders-B3zMxMDV.js} +5 -5
- package/components/{CasinoProviders-VFHVdM3N.cjs → CasinoProviders-DQNWD94s.cjs} +1 -1
- package/components/{CasinoSearch-6zKqa2kO.js → CasinoSearch-CMOtj3tV.js} +5 -5
- package/components/{CasinoSearch-CYfGrtH2.js → CasinoSearch-DSB7WwRH.js} +5 -5
- package/components/{CasinoSearch-vkrK9DBU.cjs → CasinoSearch-PSn5VRm8.cjs} +1 -1
- package/es2015/casino-navigation-search.cjs +1 -1
- package/es2015/casino-navigation-search.js +1 -1
- package/esnext/casino-navigation-search.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
- package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
- package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
- package/stencil/{ui-image-BW8AeEVd.js → ui-image-CYuYAlOX.js} +1 -1
- package/stencil/{ui-image-CX3MBBZL.js → ui-image-D3_FGUyo.js} +1 -1
- package/stencil/{ui-image-BMiZteNE.cjs → ui-image-DJWD4G-S.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
- package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-CzFe50WB.js} +2 -2
- package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
- package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-z5LhXZY2.js} +2 -2
- package/components/CasinoCategories-Co6tLVKu.cjs +0 -16
- package/components/CasinoGameThumbnail-D-qRHitQ.cjs +0 -49
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var He = (e, t, r) => t in e ?
|
|
1
|
+
var nr = Object.defineProperty, ir = Object.defineProperties;
|
|
2
|
+
var sr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var qe = Object.getOwnPropertySymbols;
|
|
4
|
+
var or = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var He = (e, t, r) => t in e ? nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
or.call(t, r) && He(e, r, t[r]);
|
|
8
|
+
if (qe)
|
|
9
|
+
for (var r of qe(t))
|
|
10
|
+
ar.call(t, r) && He(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Ke = (e, t) => ir(e, sr(t));
|
|
13
13
|
var w = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var et = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
u(r.next(h));
|
|
@@ -27,32 +27,32 @@ var tt = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
|
|
28
28
|
u((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-image-
|
|
30
|
+
import "../stencil/ui-image-D3_FGUyo.js";
|
|
31
31
|
function L() {
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Tt(e) {
|
|
34
34
|
return e();
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function tt() {
|
|
37
37
|
return /* @__PURE__ */ Object.create(null);
|
|
38
38
|
}
|
|
39
39
|
function ue(e) {
|
|
40
|
-
e.forEach(
|
|
40
|
+
e.forEach(Tt);
|
|
41
41
|
}
|
|
42
42
|
function Xe(e) {
|
|
43
43
|
return typeof e == "function";
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Ct(e, t) {
|
|
46
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
47
47
|
}
|
|
48
48
|
let fe;
|
|
49
49
|
function be(e, t) {
|
|
50
50
|
return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function ur(e) {
|
|
53
53
|
return Object.keys(e).length === 0;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Ht(e, ...t) {
|
|
56
56
|
if (e == null) {
|
|
57
57
|
for (const n of t)
|
|
58
58
|
n(void 0);
|
|
@@ -61,20 +61,20 @@ function At(e, ...t) {
|
|
|
61
61
|
const r = e.subscribe(...t);
|
|
62
62
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
e.$$.on_destroy.push(
|
|
64
|
+
function hr(e, t, r) {
|
|
65
|
+
e.$$.on_destroy.push(Ht(t, r));
|
|
66
66
|
}
|
|
67
67
|
function v(e, t) {
|
|
68
68
|
e.appendChild(t);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
const n =
|
|
70
|
+
function lr(e, t, r) {
|
|
71
|
+
const n = fr(e);
|
|
72
72
|
if (!n.getElementById(t)) {
|
|
73
73
|
const i = S("style");
|
|
74
|
-
i.id = t, i.textContent = r,
|
|
74
|
+
i.id = t, i.textContent = r, cr(n, i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function fr(e) {
|
|
78
78
|
if (!e)
|
|
79
79
|
return document;
|
|
80
80
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -84,7 +84,7 @@ function cr(e) {
|
|
|
84
84
|
t
|
|
85
85
|
) : e.ownerDocument;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function cr(e, t) {
|
|
88
88
|
return v(
|
|
89
89
|
/** @type {Document} */
|
|
90
90
|
e.head || e,
|
|
@@ -97,14 +97,14 @@ function V(e, t, r) {
|
|
|
97
97
|
function j(e) {
|
|
98
98
|
e.parentNode && e.parentNode.removeChild(e);
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function rt(e, t) {
|
|
101
101
|
for (let r = 0; r < e.length; r += 1)
|
|
102
102
|
e[r] && e[r].d(t);
|
|
103
103
|
}
|
|
104
104
|
function S(e) {
|
|
105
105
|
return document.createElement(e);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function gr(e) {
|
|
108
108
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
109
109
|
}
|
|
110
110
|
function G(e) {
|
|
@@ -116,7 +116,7 @@ function U() {
|
|
|
116
116
|
function wi() {
|
|
117
117
|
return G("");
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function At(e, t, r, n) {
|
|
120
120
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
121
121
|
}
|
|
122
122
|
function I(e, t, r) {
|
|
@@ -126,7 +126,7 @@ function R(e, t, r) {
|
|
|
126
126
|
const n = t.toLowerCase();
|
|
127
127
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : I(e, t, r);
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function mr(e) {
|
|
130
130
|
return Array.from(e.childNodes);
|
|
131
131
|
}
|
|
132
132
|
function F(e, t) {
|
|
@@ -170,7 +170,7 @@ class Ni {
|
|
|
170
170
|
* @returns {void}
|
|
171
171
|
*/
|
|
172
172
|
m(t, r, n = null) {
|
|
173
|
-
this.e || (this.is_svg ? this.e =
|
|
173
|
+
this.e || (this.is_svg ? this.e = gr(
|
|
174
174
|
/** @type {keyof SVGElementTagNameMap} */
|
|
175
175
|
r.nodeName
|
|
176
176
|
) : this.e = S(
|
|
@@ -222,23 +222,23 @@ let se;
|
|
|
222
222
|
function ie(e) {
|
|
223
223
|
se = e;
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function pr() {
|
|
226
226
|
if (!se)
|
|
227
227
|
throw new Error("Function called outside component initialization");
|
|
228
228
|
return se;
|
|
229
229
|
}
|
|
230
|
-
function
|
|
231
|
-
|
|
230
|
+
function br(e) {
|
|
231
|
+
pr().$$.on_mount.push(e);
|
|
232
232
|
}
|
|
233
233
|
const Z = [], Le = [];
|
|
234
234
|
let Q = [];
|
|
235
|
-
const
|
|
235
|
+
const nt = [], St = /* @__PURE__ */ Promise.resolve();
|
|
236
236
|
let Ie = !1;
|
|
237
|
-
function
|
|
238
|
-
Ie || (Ie = !0,
|
|
237
|
+
function Bt() {
|
|
238
|
+
Ie || (Ie = !0, St.then(M));
|
|
239
239
|
}
|
|
240
240
|
function Li() {
|
|
241
|
-
return
|
|
241
|
+
return Bt(), St;
|
|
242
242
|
}
|
|
243
243
|
function Me(e) {
|
|
244
244
|
Q.push(e);
|
|
@@ -253,7 +253,7 @@ function M() {
|
|
|
253
253
|
try {
|
|
254
254
|
for (; z < Z.length; ) {
|
|
255
255
|
const t = Z[z];
|
|
256
|
-
z++, ie(t),
|
|
256
|
+
z++, ie(t), yr(t.$$);
|
|
257
257
|
}
|
|
258
258
|
} catch (t) {
|
|
259
259
|
throw Z.length = 0, z = 0, t;
|
|
@@ -266,43 +266,43 @@ function M() {
|
|
|
266
266
|
}
|
|
267
267
|
Q.length = 0;
|
|
268
268
|
} while (Z.length);
|
|
269
|
-
for (;
|
|
270
|
-
|
|
269
|
+
for (; nt.length; )
|
|
270
|
+
nt.pop()();
|
|
271
271
|
Ie = !1, Ae.clear(), ie(e);
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function yr(e) {
|
|
274
274
|
if (e.fragment !== null) {
|
|
275
275
|
e.update(), ue(e.before_update);
|
|
276
276
|
const t = e.dirty;
|
|
277
277
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
|
-
function
|
|
280
|
+
function _r(e) {
|
|
281
281
|
const t = [], r = [];
|
|
282
282
|
Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
|
|
283
283
|
}
|
|
284
|
-
const
|
|
285
|
-
function
|
|
286
|
-
e && e.i && (
|
|
284
|
+
const Er = /* @__PURE__ */ new Set();
|
|
285
|
+
function xr(e, t) {
|
|
286
|
+
e && e.i && (Er.delete(e), e.i(t));
|
|
287
287
|
}
|
|
288
288
|
function ce(e) {
|
|
289
289
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function vr(e, t, r) {
|
|
292
292
|
const { fragment: n, after_update: i } = e.$$;
|
|
293
293
|
n && n.m(t, r), Me(() => {
|
|
294
|
-
const s = e.$$.on_mount.map(
|
|
294
|
+
const s = e.$$.on_mount.map(Tt).filter(Xe);
|
|
295
295
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ue(s), e.$$.on_mount = [];
|
|
296
296
|
}), i.forEach(Me);
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function Tr(e, t) {
|
|
299
299
|
const r = e.$$;
|
|
300
|
-
r.fragment !== null && (
|
|
300
|
+
r.fragment !== null && (_r(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
301
301
|
}
|
|
302
|
-
function
|
|
303
|
-
e.$$.dirty[0] === -1 && (Z.push(e),
|
|
302
|
+
function Cr(e, t) {
|
|
303
|
+
e.$$.dirty[0] === -1 && (Z.push(e), Bt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function Hr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
306
306
|
const h = se;
|
|
307
307
|
ie(e);
|
|
308
308
|
const a = e.$$ = {
|
|
@@ -312,7 +312,7 @@ function Ar(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
312
312
|
props: s,
|
|
313
313
|
update: L,
|
|
314
314
|
not_equal: i,
|
|
315
|
-
bound:
|
|
315
|
+
bound: tt(),
|
|
316
316
|
// lifecycle
|
|
317
317
|
on_mount: [],
|
|
318
318
|
on_destroy: [],
|
|
@@ -321,28 +321,28 @@ function Ar(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
321
321
|
after_update: [],
|
|
322
322
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
323
323
|
// everything else
|
|
324
|
-
callbacks:
|
|
324
|
+
callbacks: tt(),
|
|
325
325
|
dirty: u,
|
|
326
326
|
skip_bound: !1,
|
|
327
327
|
root: t.target || h.$$.root
|
|
328
328
|
};
|
|
329
329
|
o && o(a.root);
|
|
330
330
|
let l = !1;
|
|
331
|
-
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
332
|
-
const
|
|
333
|
-
return a.ctx && i(a.ctx[c], a.ctx[c] =
|
|
331
|
+
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
332
|
+
const p = d.length ? d[0] : f;
|
|
333
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p), l && Cr(e, c)), f;
|
|
334
334
|
}) : [], a.update(), l = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
335
335
|
if (t.hydrate) {
|
|
336
|
-
const c =
|
|
336
|
+
const c = mr(t.target);
|
|
337
337
|
a.fragment && a.fragment.l(c), c.forEach(j);
|
|
338
338
|
} else
|
|
339
339
|
a.fragment && a.fragment.c();
|
|
340
|
-
t.intro &&
|
|
340
|
+
t.intro && xr(e.$$.fragment), vr(e, t.target, t.anchor), M();
|
|
341
341
|
}
|
|
342
342
|
ie(h);
|
|
343
343
|
}
|
|
344
|
-
let
|
|
345
|
-
typeof HTMLElement == "function" && (
|
|
344
|
+
let wt;
|
|
345
|
+
typeof HTMLElement == "function" && (wt = class extends HTMLElement {
|
|
346
346
|
constructor(t, r, n) {
|
|
347
347
|
super();
|
|
348
348
|
/** The Svelte component constructor */
|
|
@@ -379,7 +379,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
connectedCallback() {
|
|
382
|
-
return
|
|
382
|
+
return et(this, null, function* () {
|
|
383
383
|
if (this.$$cn = !0, !this.$$c) {
|
|
384
384
|
let t = function(s) {
|
|
385
385
|
return () => {
|
|
@@ -414,7 +414,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
|
|
|
414
414
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
415
415
|
this.$$c = new this.$$ctor({
|
|
416
416
|
target: this.shadowRoot || this,
|
|
417
|
-
props:
|
|
417
|
+
props: Ke(Ye({}, this.$$d), {
|
|
418
418
|
$$slots: r,
|
|
419
419
|
$$scope: {
|
|
420
420
|
ctx: []
|
|
@@ -492,8 +492,8 @@ function me(e, t, r, n) {
|
|
|
492
492
|
return t;
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
function
|
|
496
|
-
let o = class extends
|
|
495
|
+
function Ar(e, t, r, n, i, s) {
|
|
496
|
+
let o = class extends wt {
|
|
497
497
|
constructor() {
|
|
498
498
|
super(e, r, i), this.$$p_d = t;
|
|
499
499
|
}
|
|
@@ -523,7 +523,7 @@ function Sr(e, t, r, n, i, s) {
|
|
|
523
523
|
}), e.element = /** @type {any} */
|
|
524
524
|
o, o;
|
|
525
525
|
}
|
|
526
|
-
class
|
|
526
|
+
class Sr {
|
|
527
527
|
constructor() {
|
|
528
528
|
/**
|
|
529
529
|
* ### PRIVATE API
|
|
@@ -544,7 +544,7 @@ class Br {
|
|
|
544
544
|
}
|
|
545
545
|
/** @returns {void} */
|
|
546
546
|
$destroy() {
|
|
547
|
-
|
|
547
|
+
Tr(this, 1), this.$destroy = L;
|
|
548
548
|
}
|
|
549
549
|
/**
|
|
550
550
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -566,18 +566,18 @@ class Br {
|
|
|
566
566
|
* @returns {void}
|
|
567
567
|
*/
|
|
568
568
|
$set(t) {
|
|
569
|
-
this.$$set && !
|
|
569
|
+
this.$$set && !ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
const
|
|
573
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
574
|
-
function
|
|
572
|
+
const Br = "4";
|
|
573
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
|
|
574
|
+
function wr(e, t) {
|
|
575
575
|
if (e) {
|
|
576
576
|
const r = document.createElement("style");
|
|
577
577
|
r.innerHTML = t, e.appendChild(r);
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
|
-
function
|
|
580
|
+
function Or(e, t) {
|
|
581
581
|
const r = new URL(t);
|
|
582
582
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
583
583
|
const i = document.createElement("style");
|
|
@@ -586,7 +586,7 @@ function Pr(e, t) {
|
|
|
586
586
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
587
587
|
});
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function Pr(e, t, r) {
|
|
590
590
|
if (window.emMessageBus) {
|
|
591
591
|
const n = document.createElement("style");
|
|
592
592
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -595,7 +595,7 @@ function Nr(e, t, r) {
|
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
const W = [];
|
|
598
|
-
function
|
|
598
|
+
function Nr(e, t) {
|
|
599
599
|
return {
|
|
600
600
|
subscribe: Ee(e, t).subscribe
|
|
601
601
|
};
|
|
@@ -604,7 +604,7 @@ function Ee(e, t = L) {
|
|
|
604
604
|
let r;
|
|
605
605
|
const n = /* @__PURE__ */ new Set();
|
|
606
606
|
function i(u) {
|
|
607
|
-
if (
|
|
607
|
+
if (Ct(e, u) && (e = u, r)) {
|
|
608
608
|
const h = !W.length;
|
|
609
609
|
for (const a of n)
|
|
610
610
|
a[1](), W.push(a, e);
|
|
@@ -631,7 +631,7 @@ function ee(e, t, r) {
|
|
|
631
631
|
if (!i.every(Boolean))
|
|
632
632
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
633
633
|
const s = t.length < 2;
|
|
634
|
-
return
|
|
634
|
+
return Nr(r, (o, u) => {
|
|
635
635
|
let h = !1;
|
|
636
636
|
const a = [];
|
|
637
637
|
let l = 0, c = L;
|
|
@@ -639,11 +639,11 @@ function ee(e, t, r) {
|
|
|
639
639
|
if (l)
|
|
640
640
|
return;
|
|
641
641
|
c();
|
|
642
|
-
const
|
|
643
|
-
s ? o(
|
|
644
|
-
},
|
|
645
|
-
(
|
|
646
|
-
|
|
642
|
+
const p = t(n ? a[0] : a, o, u);
|
|
643
|
+
s ? o(p) : c = Xe(p) ? p : L;
|
|
644
|
+
}, d = i.map(
|
|
645
|
+
(p, g) => Ht(
|
|
646
|
+
p,
|
|
647
647
|
(x) => {
|
|
648
648
|
a[g] = x, l &= ~(1 << g), h && f();
|
|
649
649
|
},
|
|
@@ -653,74 +653,74 @@ function ee(e, t, r) {
|
|
|
653
653
|
)
|
|
654
654
|
);
|
|
655
655
|
return h = !0, f(), function() {
|
|
656
|
-
ue(
|
|
656
|
+
ue(d), c(), h = !1;
|
|
657
657
|
};
|
|
658
658
|
});
|
|
659
659
|
}
|
|
660
|
-
function
|
|
661
|
-
return e
|
|
660
|
+
function Lr(e) {
|
|
661
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
662
662
|
}
|
|
663
|
-
var
|
|
664
|
-
return
|
|
663
|
+
var Ir = function(t) {
|
|
664
|
+
return Mr(t) && !$r(t);
|
|
665
665
|
};
|
|
666
|
-
function
|
|
666
|
+
function Mr(e) {
|
|
667
667
|
return !!e && typeof e == "object";
|
|
668
668
|
}
|
|
669
|
-
function
|
|
669
|
+
function $r(e) {
|
|
670
670
|
var t = Object.prototype.toString.call(e);
|
|
671
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
671
|
+
return t === "[object RegExp]" || t === "[object Date]" || Gr(e);
|
|
672
672
|
}
|
|
673
|
-
var
|
|
674
|
-
function
|
|
675
|
-
return e.$$typeof ===
|
|
673
|
+
var Rr = typeof Symbol == "function" && Symbol.for, Ur = Rr ? Symbol.for("react.element") : 60103;
|
|
674
|
+
function Gr(e) {
|
|
675
|
+
return e.$$typeof === Ur;
|
|
676
676
|
}
|
|
677
|
-
function
|
|
677
|
+
function Dr(e) {
|
|
678
678
|
return Array.isArray(e) ? [] : {};
|
|
679
679
|
}
|
|
680
680
|
function oe(e, t) {
|
|
681
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? J(
|
|
681
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? J(Dr(e), e, t) : e;
|
|
682
682
|
}
|
|
683
|
-
function
|
|
683
|
+
function Fr(e, t, r) {
|
|
684
684
|
return e.concat(t).map(function(n) {
|
|
685
685
|
return oe(n, r);
|
|
686
686
|
});
|
|
687
687
|
}
|
|
688
|
-
function
|
|
688
|
+
function jr(e, t) {
|
|
689
689
|
if (!t.customMerge)
|
|
690
690
|
return J;
|
|
691
691
|
var r = t.customMerge(e);
|
|
692
692
|
return typeof r == "function" ? r : J;
|
|
693
693
|
}
|
|
694
|
-
function
|
|
694
|
+
function kr(e) {
|
|
695
695
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
696
696
|
return Object.propertyIsEnumerable.call(e, t);
|
|
697
697
|
}) : [];
|
|
698
698
|
}
|
|
699
|
-
function
|
|
700
|
-
return Object.keys(e).concat(
|
|
699
|
+
function it(e) {
|
|
700
|
+
return Object.keys(e).concat(kr(e));
|
|
701
701
|
}
|
|
702
|
-
function
|
|
702
|
+
function Ot(e, t) {
|
|
703
703
|
try {
|
|
704
704
|
return t in e;
|
|
705
705
|
} catch (r) {
|
|
706
706
|
return !1;
|
|
707
707
|
}
|
|
708
708
|
}
|
|
709
|
-
function
|
|
710
|
-
return
|
|
709
|
+
function Vr(e, t) {
|
|
710
|
+
return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function Xr(e, t, r) {
|
|
713
713
|
var n = {};
|
|
714
|
-
return r.isMergeableObject(e) &&
|
|
714
|
+
return r.isMergeableObject(e) && it(e).forEach(function(i) {
|
|
715
715
|
n[i] = oe(e[i], r);
|
|
716
|
-
}),
|
|
717
|
-
|
|
716
|
+
}), it(t).forEach(function(i) {
|
|
717
|
+
Vr(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
718
718
|
}), n;
|
|
719
719
|
}
|
|
720
720
|
function J(e, t, r) {
|
|
721
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
721
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Fr, r.isMergeableObject = r.isMergeableObject || Ir, r.cloneUnlessOtherwiseSpecified = oe;
|
|
722
722
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
723
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
723
|
+
return s ? n ? r.arrayMerge(e, t, r) : Xr(e, t, r) : oe(t, r);
|
|
724
724
|
}
|
|
725
725
|
J.all = function(t, r) {
|
|
726
726
|
if (!Array.isArray(t))
|
|
@@ -729,8 +729,8 @@ J.all = function(t, r) {
|
|
|
729
729
|
return J(n, i, r);
|
|
730
730
|
}, {});
|
|
731
731
|
};
|
|
732
|
-
var
|
|
733
|
-
const
|
|
732
|
+
var zr = J, Wr = zr;
|
|
733
|
+
const Zr = /* @__PURE__ */ Lr(Wr);
|
|
734
734
|
/*! *****************************************************************************
|
|
735
735
|
Copyright (c) Microsoft Corporation.
|
|
736
736
|
|
|
@@ -772,7 +772,7 @@ var E = function() {
|
|
|
772
772
|
return t;
|
|
773
773
|
}, E.apply(this, arguments);
|
|
774
774
|
};
|
|
775
|
-
function
|
|
775
|
+
function Qr(e, t) {
|
|
776
776
|
var r = {};
|
|
777
777
|
for (var n in e)
|
|
778
778
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -820,55 +820,57 @@ function Se(e, t, r) {
|
|
|
820
820
|
return e.concat(s || t);
|
|
821
821
|
}
|
|
822
822
|
function Be(e, t) {
|
|
823
|
-
var r = t && t.cache ? t.cache : rn, n = t && t.serializer ? t.serializer :
|
|
823
|
+
var r = t && t.cache ? t.cache : rn, n = t && t.serializer ? t.serializer : en, i = t && t.strategy ? t.strategy : qr;
|
|
824
824
|
return i(e, {
|
|
825
825
|
cache: r,
|
|
826
826
|
serializer: n
|
|
827
827
|
});
|
|
828
828
|
}
|
|
829
|
-
function
|
|
829
|
+
function Jr(e) {
|
|
830
830
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
831
831
|
}
|
|
832
|
-
function
|
|
833
|
-
var i =
|
|
832
|
+
function Pt(e, t, r, n) {
|
|
833
|
+
var i = Jr(n) ? n : r(n), s = t.get(i);
|
|
834
834
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
835
835
|
}
|
|
836
|
-
function
|
|
836
|
+
function Nt(e, t, r) {
|
|
837
837
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
838
838
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
839
839
|
}
|
|
840
840
|
function ze(e, t, r, n, i) {
|
|
841
841
|
return r.bind(t, e, n, i);
|
|
842
842
|
}
|
|
843
|
-
function
|
|
844
|
-
var r = e.length === 1 ?
|
|
843
|
+
function qr(e, t) {
|
|
844
|
+
var r = e.length === 1 ? Pt : Nt;
|
|
845
845
|
return ze(e, this, r, t.cache.create(), t.serializer);
|
|
846
846
|
}
|
|
847
|
-
function
|
|
848
|
-
return ze(e, this, Lt, t.cache.create(), t.serializer);
|
|
849
|
-
}
|
|
850
|
-
function en(e, t) {
|
|
847
|
+
function Yr(e, t) {
|
|
851
848
|
return ze(e, this, Nt, t.cache.create(), t.serializer);
|
|
852
849
|
}
|
|
853
|
-
|
|
854
|
-
return
|
|
855
|
-
};
|
|
856
|
-
function We() {
|
|
857
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
850
|
+
function Kr(e, t) {
|
|
851
|
+
return ze(e, this, Pt, t.cache.create(), t.serializer);
|
|
858
852
|
}
|
|
859
|
-
|
|
860
|
-
return
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
853
|
+
var en = function() {
|
|
854
|
+
return JSON.stringify(arguments);
|
|
855
|
+
}, tn = (
|
|
856
|
+
/** @class */
|
|
857
|
+
function() {
|
|
858
|
+
function e() {
|
|
859
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
860
|
+
}
|
|
861
|
+
return e.prototype.get = function(t) {
|
|
862
|
+
return this.cache[t];
|
|
863
|
+
}, e.prototype.set = function(t, r) {
|
|
864
|
+
this.cache[t] = r;
|
|
865
|
+
}, e;
|
|
866
|
+
}()
|
|
867
|
+
), rn = {
|
|
866
868
|
create: function() {
|
|
867
|
-
return new
|
|
869
|
+
return new tn();
|
|
868
870
|
}
|
|
869
871
|
}, we = {
|
|
870
|
-
variadic:
|
|
871
|
-
monadic:
|
|
872
|
+
variadic: Yr,
|
|
873
|
+
monadic: Kr
|
|
872
874
|
}, y;
|
|
873
875
|
(function(e) {
|
|
874
876
|
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";
|
|
@@ -881,40 +883,40 @@ var q;
|
|
|
881
883
|
(function(e) {
|
|
882
884
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
883
885
|
})(q || (q = {}));
|
|
884
|
-
function
|
|
886
|
+
function st(e) {
|
|
885
887
|
return e.type === T.literal;
|
|
886
888
|
}
|
|
887
889
|
function nn(e) {
|
|
888
890
|
return e.type === T.argument;
|
|
889
891
|
}
|
|
890
|
-
function
|
|
892
|
+
function Lt(e) {
|
|
891
893
|
return e.type === T.number;
|
|
892
894
|
}
|
|
893
|
-
function
|
|
895
|
+
function It(e) {
|
|
894
896
|
return e.type === T.date;
|
|
895
897
|
}
|
|
896
|
-
function
|
|
898
|
+
function Mt(e) {
|
|
897
899
|
return e.type === T.time;
|
|
898
900
|
}
|
|
899
|
-
function
|
|
901
|
+
function $t(e) {
|
|
900
902
|
return e.type === T.select;
|
|
901
903
|
}
|
|
902
|
-
function
|
|
904
|
+
function Rt(e) {
|
|
903
905
|
return e.type === T.plural;
|
|
904
906
|
}
|
|
905
907
|
function sn(e) {
|
|
906
908
|
return e.type === T.pound;
|
|
907
909
|
}
|
|
908
|
-
function
|
|
910
|
+
function Ut(e) {
|
|
909
911
|
return e.type === T.tag;
|
|
910
912
|
}
|
|
911
|
-
function
|
|
913
|
+
function Gt(e) {
|
|
912
914
|
return !!(e && typeof e == "object" && e.type === q.number);
|
|
913
915
|
}
|
|
914
916
|
function Re(e) {
|
|
915
917
|
return !!(e && typeof e == "object" && e.type === q.dateTime);
|
|
916
918
|
}
|
|
917
|
-
var
|
|
919
|
+
var Dt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, on = /(?:[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;
|
|
918
920
|
function an(e) {
|
|
919
921
|
var t = {};
|
|
920
922
|
return e.replace(on, function(r) {
|
|
@@ -1028,14 +1030,14 @@ function hn(e) {
|
|
|
1028
1030
|
function ln(e) {
|
|
1029
1031
|
return e.replace(/^(.*?)-/, "");
|
|
1030
1032
|
}
|
|
1031
|
-
var
|
|
1032
|
-
function
|
|
1033
|
+
var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
|
|
1034
|
+
function at(e) {
|
|
1033
1035
|
var t = {};
|
|
1034
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1036
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
|
|
1035
1037
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1036
1038
|
}), t;
|
|
1037
1039
|
}
|
|
1038
|
-
function
|
|
1040
|
+
function kt(e) {
|
|
1039
1041
|
switch (e) {
|
|
1040
1042
|
case "sign-auto":
|
|
1041
1043
|
return {
|
|
@@ -1083,14 +1085,14 @@ function cn(e) {
|
|
|
1083
1085
|
notation: "scientific"
|
|
1084
1086
|
}, e = e.slice(1)), t) {
|
|
1085
1087
|
var r = e.slice(0, 2);
|
|
1086
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1088
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
|
|
1087
1089
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1088
1090
|
t.minimumIntegerDigits = e.length;
|
|
1089
1091
|
}
|
|
1090
1092
|
return t;
|
|
1091
1093
|
}
|
|
1092
|
-
function
|
|
1093
|
-
var t = {}, r =
|
|
1094
|
+
function ut(e) {
|
|
1095
|
+
var t = {}, r = kt(e);
|
|
1094
1096
|
return r || t;
|
|
1095
1097
|
}
|
|
1096
1098
|
function gn(e) {
|
|
@@ -1129,12 +1131,12 @@ function gn(e) {
|
|
|
1129
1131
|
continue;
|
|
1130
1132
|
case "scientific":
|
|
1131
1133
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
|
|
1132
|
-
return E(E({}, h),
|
|
1134
|
+
return E(E({}, h), ut(a));
|
|
1133
1135
|
}, {}));
|
|
1134
1136
|
continue;
|
|
1135
1137
|
case "engineering":
|
|
1136
1138
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
|
|
1137
|
-
return E(E({}, h),
|
|
1139
|
+
return E(E({}, h), ut(a));
|
|
1138
1140
|
}, {}));
|
|
1139
1141
|
continue;
|
|
1140
1142
|
case "notation-simple":
|
|
@@ -1179,38 +1181,38 @@ function gn(e) {
|
|
|
1179
1181
|
case "integer-width":
|
|
1180
1182
|
if (i.options.length > 1)
|
|
1181
1183
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1182
|
-
i.options[0].replace(fn, function(h, a, l, c, f,
|
|
1184
|
+
i.options[0].replace(fn, function(h, a, l, c, f, d) {
|
|
1183
1185
|
if (a)
|
|
1184
1186
|
t.minimumIntegerDigits = l.length;
|
|
1185
1187
|
else {
|
|
1186
1188
|
if (c && f)
|
|
1187
1189
|
throw new Error("We currently do not support maximum integer digits");
|
|
1188
|
-
if (
|
|
1190
|
+
if (d)
|
|
1189
1191
|
throw new Error("We currently do not support exact integer digits");
|
|
1190
1192
|
}
|
|
1191
1193
|
return "";
|
|
1192
1194
|
});
|
|
1193
1195
|
continue;
|
|
1194
1196
|
}
|
|
1195
|
-
if (
|
|
1197
|
+
if (jt.test(i.stem)) {
|
|
1196
1198
|
t.minimumIntegerDigits = i.stem.length;
|
|
1197
1199
|
continue;
|
|
1198
1200
|
}
|
|
1199
|
-
if (
|
|
1201
|
+
if (ot.test(i.stem)) {
|
|
1200
1202
|
if (i.options.length > 1)
|
|
1201
1203
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1202
|
-
i.stem.replace(
|
|
1203
|
-
return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1204
|
+
i.stem.replace(ot, function(h, a, l, c, f, d) {
|
|
1205
|
+
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), "";
|
|
1204
1206
|
});
|
|
1205
1207
|
var s = i.options[0];
|
|
1206
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1208
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), at(s)));
|
|
1207
1209
|
continue;
|
|
1208
1210
|
}
|
|
1209
|
-
if (
|
|
1210
|
-
t = E(E({}, t),
|
|
1211
|
+
if (Ft.test(i.stem)) {
|
|
1212
|
+
t = E(E({}, t), at(i.stem));
|
|
1211
1213
|
continue;
|
|
1212
1214
|
}
|
|
1213
|
-
var o =
|
|
1215
|
+
var o = kt(i.stem);
|
|
1214
1216
|
o && (t = E(E({}, t), o));
|
|
1215
1217
|
var u = cn(i.stem);
|
|
1216
1218
|
u && (t = E(E({}, t), u));
|
|
@@ -2638,7 +2640,7 @@ function mn(e, t) {
|
|
|
2638
2640
|
if (i === "j") {
|
|
2639
2641
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2640
2642
|
s++, n++;
|
|
2641
|
-
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a =
|
|
2643
|
+
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = dn(t);
|
|
2642
2644
|
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
|
2643
2645
|
r += h;
|
|
2644
2646
|
for (; o-- > 0; )
|
|
@@ -2648,7 +2650,7 @@ function mn(e, t) {
|
|
|
2648
2650
|
}
|
|
2649
2651
|
return r;
|
|
2650
2652
|
}
|
|
2651
|
-
function
|
|
2653
|
+
function dn(e) {
|
|
2652
2654
|
var t = e.hourCycle;
|
|
2653
2655
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2654
2656
|
e.hourCycles && // @ts-ignore
|
|
@@ -2670,7 +2672,7 @@ function pn(e) {
|
|
|
2670
2672
|
var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
|
|
2671
2673
|
return i[0];
|
|
2672
2674
|
}
|
|
2673
|
-
var Oe,
|
|
2675
|
+
var Oe, pn = new RegExp("^".concat(Dt.source, "*")), bn = new RegExp("".concat(Dt.source, "*$"));
|
|
2674
2676
|
function _(e, t) {
|
|
2675
2677
|
return { start: e, end: t };
|
|
2676
2678
|
}
|
|
@@ -2678,12 +2680,12 @@ var yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String
|
|
|
2678
2680
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2679
2681
|
}, Ue = !0;
|
|
2680
2682
|
try {
|
|
2681
|
-
var An =
|
|
2683
|
+
var An = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2682
2684
|
Ue = ((Oe = An.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
|
|
2683
2685
|
} catch (e) {
|
|
2684
2686
|
Ue = !1;
|
|
2685
2687
|
}
|
|
2686
|
-
var
|
|
2688
|
+
var ht = yn ? (
|
|
2687
2689
|
// Native
|
|
2688
2690
|
function(t, r, n) {
|
|
2689
2691
|
return t.startsWith(r, n);
|
|
@@ -2705,7 +2707,7 @@ var lt = yn ? (
|
|
|
2705
2707
|
}
|
|
2706
2708
|
return n;
|
|
2707
2709
|
}
|
|
2708
|
-
),
|
|
2710
|
+
), lt = (
|
|
2709
2711
|
// native
|
|
2710
2712
|
En ? Object.fromEntries : (
|
|
2711
2713
|
// Ponyfill
|
|
@@ -2717,7 +2719,7 @@ var lt = yn ? (
|
|
|
2717
2719
|
return r;
|
|
2718
2720
|
}
|
|
2719
2721
|
)
|
|
2720
|
-
),
|
|
2722
|
+
), Vt = xn ? (
|
|
2721
2723
|
// Native
|
|
2722
2724
|
function(t, r) {
|
|
2723
2725
|
return t.codePointAt(r);
|
|
@@ -2739,7 +2741,7 @@ var lt = yn ? (
|
|
|
2739
2741
|
) : (
|
|
2740
2742
|
// Ponyfill
|
|
2741
2743
|
function(t) {
|
|
2742
|
-
return t.replace(
|
|
2744
|
+
return t.replace(pn, "");
|
|
2743
2745
|
}
|
|
2744
2746
|
), Bn = Tn ? (
|
|
2745
2747
|
// Native
|
|
@@ -2752,23 +2754,23 @@ var lt = yn ? (
|
|
|
2752
2754
|
return t.replace(bn, "");
|
|
2753
2755
|
}
|
|
2754
2756
|
);
|
|
2755
|
-
function
|
|
2757
|
+
function Xt(e, t) {
|
|
2756
2758
|
return new RegExp(e, t);
|
|
2757
2759
|
}
|
|
2758
2760
|
var De;
|
|
2759
2761
|
if (Ue) {
|
|
2760
|
-
var
|
|
2762
|
+
var ft = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2761
2763
|
De = function(t, r) {
|
|
2762
2764
|
var n;
|
|
2763
|
-
|
|
2764
|
-
var i =
|
|
2765
|
+
ft.lastIndex = r;
|
|
2766
|
+
var i = ft.exec(t);
|
|
2765
2767
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2766
2768
|
};
|
|
2767
2769
|
} else
|
|
2768
2770
|
De = function(t, r) {
|
|
2769
2771
|
for (var n = []; ; ) {
|
|
2770
|
-
var i =
|
|
2771
|
-
if (i === void 0 ||
|
|
2772
|
+
var i = Vt(t, r);
|
|
2773
|
+
if (i === void 0 || zt(i) || Nn(i))
|
|
2772
2774
|
break;
|
|
2773
2775
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2774
2776
|
}
|
|
@@ -2975,14 +2977,14 @@ var wn = (
|
|
|
2975
2977
|
var f = Bn(c.val);
|
|
2976
2978
|
if (f.length === 0)
|
|
2977
2979
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2978
|
-
var
|
|
2979
|
-
a = { style: f, styleLocation:
|
|
2980
|
+
var d = _(l, this.clonePosition());
|
|
2981
|
+
a = { style: f, styleLocation: d };
|
|
2980
2982
|
}
|
|
2981
|
-
var
|
|
2982
|
-
if (
|
|
2983
|
-
return
|
|
2983
|
+
var p = this.tryParseArgumentClose(i);
|
|
2984
|
+
if (p.err)
|
|
2985
|
+
return p;
|
|
2984
2986
|
var g = _(i, this.clonePosition());
|
|
2985
|
-
if (a &&
|
|
2987
|
+
if (a && ht(a == null ? void 0 : a.style, "::", 0)) {
|
|
2986
2988
|
var x = Sn(a.style.slice(2));
|
|
2987
2989
|
if (u === "number") {
|
|
2988
2990
|
var c = this.parseNumberSkeletonFromString(x, a.styleLocation);
|
|
@@ -3037,15 +3039,15 @@ var wn = (
|
|
|
3037
3039
|
var H = this.tryParsePluralOrSelectOptions(t, u, r, P);
|
|
3038
3040
|
if (H.err)
|
|
3039
3041
|
return H;
|
|
3040
|
-
var
|
|
3041
|
-
if (
|
|
3042
|
-
return
|
|
3042
|
+
var p = this.tryParseArgumentClose(i);
|
|
3043
|
+
if (p.err)
|
|
3044
|
+
return p;
|
|
3043
3045
|
var N = _(i, this.clonePosition());
|
|
3044
3046
|
return u === "select" ? {
|
|
3045
3047
|
val: {
|
|
3046
3048
|
type: T.select,
|
|
3047
3049
|
value: n,
|
|
3048
|
-
options:
|
|
3050
|
+
options: lt(H.val),
|
|
3049
3051
|
location: N
|
|
3050
3052
|
},
|
|
3051
3053
|
err: null
|
|
@@ -3053,7 +3055,7 @@ var wn = (
|
|
|
3053
3055
|
val: {
|
|
3054
3056
|
type: T.plural,
|
|
3055
3057
|
value: n,
|
|
3056
|
-
options:
|
|
3058
|
+
options: lt(H.val),
|
|
3057
3059
|
offset: B,
|
|
3058
3060
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
3059
3061
|
location: N
|
|
@@ -3132,20 +3134,20 @@ var wn = (
|
|
|
3132
3134
|
if (h.has(a))
|
|
3133
3135
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3134
3136
|
a === "other" && (o = !0), this.bumpSpace();
|
|
3135
|
-
var
|
|
3137
|
+
var d = this.clonePosition();
|
|
3136
3138
|
if (!this.bumpIf("{"))
|
|
3137
3139
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3138
|
-
var
|
|
3139
|
-
if (
|
|
3140
|
-
return
|
|
3141
|
-
var g = this.tryParseArgumentClose(
|
|
3140
|
+
var p = this.parseMessage(t + 1, r, n);
|
|
3141
|
+
if (p.err)
|
|
3142
|
+
return p;
|
|
3143
|
+
var g = this.tryParseArgumentClose(d);
|
|
3142
3144
|
if (g.err)
|
|
3143
3145
|
return g;
|
|
3144
3146
|
u.push([
|
|
3145
3147
|
a,
|
|
3146
3148
|
{
|
|
3147
|
-
value:
|
|
3148
|
-
location: _(
|
|
3149
|
+
value: p.val,
|
|
3150
|
+
location: _(d, this.clonePosition())
|
|
3149
3151
|
}
|
|
3150
3152
|
]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
|
|
3151
3153
|
}
|
|
@@ -3176,7 +3178,7 @@ var wn = (
|
|
|
3176
3178
|
var t = this.position.offset;
|
|
3177
3179
|
if (t >= this.message.length)
|
|
3178
3180
|
throw Error("out of bound");
|
|
3179
|
-
var r =
|
|
3181
|
+
var r = Vt(this.message, t);
|
|
3180
3182
|
if (r === void 0)
|
|
3181
3183
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3182
3184
|
return r;
|
|
@@ -3195,7 +3197,7 @@ var wn = (
|
|
|
3195
3197
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3196
3198
|
}
|
|
3197
3199
|
}, e.prototype.bumpIf = function(t) {
|
|
3198
|
-
if (
|
|
3200
|
+
if (ht(this.message, t, this.offset())) {
|
|
3199
3201
|
for (var r = 0; r < t.length; r++)
|
|
3200
3202
|
this.bump();
|
|
3201
3203
|
return !0;
|
|
@@ -3217,7 +3219,7 @@ var wn = (
|
|
|
3217
3219
|
break;
|
|
3218
3220
|
}
|
|
3219
3221
|
}, e.prototype.bumpSpace = function() {
|
|
3220
|
-
for (; !this.isEOF() &&
|
|
3222
|
+
for (; !this.isEOF() && zt(this.char()); )
|
|
3221
3223
|
this.bump();
|
|
3222
3224
|
}, e.prototype.peek = function() {
|
|
3223
3225
|
if (this.isEOF())
|
|
@@ -3236,7 +3238,7 @@ function On(e) {
|
|
|
3236
3238
|
function Pn(e) {
|
|
3237
3239
|
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;
|
|
3238
3240
|
}
|
|
3239
|
-
function
|
|
3241
|
+
function zt(e) {
|
|
3240
3242
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3241
3243
|
}
|
|
3242
3244
|
function Nn(e) {
|
|
@@ -3244,11 +3246,11 @@ function Nn(e) {
|
|
|
3244
3246
|
}
|
|
3245
3247
|
function je(e) {
|
|
3246
3248
|
e.forEach(function(t) {
|
|
3247
|
-
if (delete t.location,
|
|
3249
|
+
if (delete t.location, $t(t) || Rt(t))
|
|
3248
3250
|
for (var r in t.options)
|
|
3249
3251
|
delete t.options[r].location, je(t.options[r].value);
|
|
3250
3252
|
else
|
|
3251
|
-
|
|
3253
|
+
Lt(t) && Gt(t.style) || (It(t) || Mt(t)) && Re(t.style) ? delete t.style.location : Ut(t) && je(t.children);
|
|
3252
3254
|
});
|
|
3253
3255
|
}
|
|
3254
3256
|
function Ln(e, t) {
|
|
@@ -3276,7 +3278,7 @@ var ve = (
|
|
|
3276
3278
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3277
3279
|
}, t;
|
|
3278
3280
|
}(Error)
|
|
3279
|
-
),
|
|
3281
|
+
), ct = (
|
|
3280
3282
|
/** @class */
|
|
3281
3283
|
function(e) {
|
|
3282
3284
|
xe(t, e);
|
|
@@ -3316,8 +3318,8 @@ function $n(e) {
|
|
|
3316
3318
|
function Rn(e) {
|
|
3317
3319
|
return typeof e == "function";
|
|
3318
3320
|
}
|
|
3319
|
-
function
|
|
3320
|
-
if (e.length === 1 &&
|
|
3321
|
+
function de(e, t, r, n, i, s, o) {
|
|
3322
|
+
if (e.length === 1 && st(e[0]))
|
|
3321
3323
|
return [
|
|
3322
3324
|
{
|
|
3323
3325
|
type: O.literal,
|
|
@@ -3326,7 +3328,7 @@ function pe(e, t, r, n, i, s, o) {
|
|
|
3326
3328
|
];
|
|
3327
3329
|
for (var u = [], h = 0, a = e; h < a.length; h++) {
|
|
3328
3330
|
var l = a[h];
|
|
3329
|
-
if (
|
|
3331
|
+
if (st(l)) {
|
|
3330
3332
|
u.push({
|
|
3331
3333
|
type: O.literal,
|
|
3332
3334
|
value: l.value
|
|
@@ -3351,35 +3353,35 @@ function pe(e, t, r, n, i, s, o) {
|
|
|
3351
3353
|
});
|
|
3352
3354
|
continue;
|
|
3353
3355
|
}
|
|
3354
|
-
if (
|
|
3355
|
-
var
|
|
3356
|
+
if (It(l)) {
|
|
3357
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
|
|
3356
3358
|
u.push({
|
|
3357
3359
|
type: O.literal,
|
|
3358
|
-
value: r.getDateTimeFormat(t,
|
|
3360
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3359
3361
|
});
|
|
3360
3362
|
continue;
|
|
3361
3363
|
}
|
|
3362
|
-
if (
|
|
3363
|
-
var
|
|
3364
|
+
if (Mt(l)) {
|
|
3365
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3364
3366
|
u.push({
|
|
3365
3367
|
type: O.literal,
|
|
3366
|
-
value: r.getDateTimeFormat(t,
|
|
3368
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3367
3369
|
});
|
|
3368
3370
|
continue;
|
|
3369
3371
|
}
|
|
3370
|
-
if (
|
|
3371
|
-
var
|
|
3372
|
-
|
|
3372
|
+
if (Lt(l)) {
|
|
3373
|
+
var d = typeof l.style == "string" ? n.number[l.style] : Gt(l.style) ? l.style.parsedOptions : void 0;
|
|
3374
|
+
d && d.scale && (f = f * (d.scale || 1)), u.push({
|
|
3373
3375
|
type: O.literal,
|
|
3374
|
-
value: r.getNumberFormat(t,
|
|
3376
|
+
value: r.getNumberFormat(t, d).format(f)
|
|
3375
3377
|
});
|
|
3376
3378
|
continue;
|
|
3377
3379
|
}
|
|
3378
|
-
if (
|
|
3379
|
-
var
|
|
3380
|
+
if (Ut(l)) {
|
|
3381
|
+
var p = l.children, g = l.value, x = i[g];
|
|
3380
3382
|
if (!Rn(x))
|
|
3381
3383
|
throw new In(g, "function", o);
|
|
3382
|
-
var m =
|
|
3384
|
+
var m = de(p, t, r, n, i, s), C = x(m.map(function(B) {
|
|
3383
3385
|
return B.value;
|
|
3384
3386
|
}));
|
|
3385
3387
|
Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
|
|
@@ -3389,14 +3391,14 @@ function pe(e, t, r, n, i, s, o) {
|
|
|
3389
3391
|
};
|
|
3390
3392
|
}));
|
|
3391
3393
|
}
|
|
3392
|
-
if (
|
|
3394
|
+
if ($t(l)) {
|
|
3393
3395
|
var A = l.options[f] || l.options.other;
|
|
3394
3396
|
if (!A)
|
|
3395
|
-
throw new
|
|
3396
|
-
u.push.apply(u,
|
|
3397
|
+
throw new ct(l.value, f, Object.keys(l.options), o);
|
|
3398
|
+
u.push.apply(u, de(A.value, t, r, n, i));
|
|
3397
3399
|
continue;
|
|
3398
3400
|
}
|
|
3399
|
-
if (
|
|
3401
|
+
if (Rt(l)) {
|
|
3400
3402
|
var A = l.options["=".concat(f)];
|
|
3401
3403
|
if (!A) {
|
|
3402
3404
|
if (!Intl.PluralRules)
|
|
@@ -3407,8 +3409,8 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3407
3409
|
A = l.options[P] || l.options.other;
|
|
3408
3410
|
}
|
|
3409
3411
|
if (!A)
|
|
3410
|
-
throw new
|
|
3411
|
-
u.push.apply(u,
|
|
3412
|
+
throw new ct(l.value, f, Object.keys(l.options), o);
|
|
3413
|
+
u.push.apply(u, de(A.value, t, r, n, i, f - (l.offset || 0)));
|
|
3412
3414
|
continue;
|
|
3413
3415
|
}
|
|
3414
3416
|
}
|
|
@@ -3489,7 +3491,7 @@ var Fn = (
|
|
|
3489
3491
|
}, []);
|
|
3490
3492
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3491
3493
|
}, this.formatToParts = function(h) {
|
|
3492
|
-
return
|
|
3494
|
+
return de(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3493
3495
|
}, this.resolvedOptions = function() {
|
|
3494
3496
|
var h;
|
|
3495
3497
|
return {
|
|
@@ -3502,7 +3504,7 @@ var Fn = (
|
|
|
3502
3504
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3503
3505
|
var o = i || {};
|
|
3504
3506
|
o.formatters;
|
|
3505
|
-
var u =
|
|
3507
|
+
var u = Qr(o, ["formatters"]);
|
|
3506
3508
|
this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
|
|
3507
3509
|
} else
|
|
3508
3510
|
this.ast = t;
|
|
@@ -3603,7 +3605,7 @@ function jn(e, t) {
|
|
|
3603
3605
|
n = void 0;
|
|
3604
3606
|
return n;
|
|
3605
3607
|
}
|
|
3606
|
-
const D = {}, kn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r),
|
|
3608
|
+
const D = {}, kn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Wt = (e, t) => {
|
|
3607
3609
|
if (t == null)
|
|
3608
3610
|
return;
|
|
3609
3611
|
if (t in D && e in D[t])
|
|
@@ -3615,16 +3617,16 @@ const D = {}, kn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][
|
|
|
3615
3617
|
return kn(e, t, s);
|
|
3616
3618
|
}
|
|
3617
3619
|
};
|
|
3618
|
-
let
|
|
3620
|
+
let We;
|
|
3619
3621
|
const he = Ee({});
|
|
3620
3622
|
function Vn(e) {
|
|
3621
|
-
return
|
|
3623
|
+
return We[e] || null;
|
|
3622
3624
|
}
|
|
3623
|
-
function
|
|
3624
|
-
return e in
|
|
3625
|
+
function Zt(e) {
|
|
3626
|
+
return e in We;
|
|
3625
3627
|
}
|
|
3626
3628
|
function Xn(e, t) {
|
|
3627
|
-
if (!
|
|
3629
|
+
if (!Zt(e))
|
|
3628
3630
|
return null;
|
|
3629
3631
|
const r = Vn(e);
|
|
3630
3632
|
return jn(r, t);
|
|
@@ -3635,28 +3637,28 @@ function zn(e) {
|
|
|
3635
3637
|
const t = Te(e);
|
|
3636
3638
|
for (let r = 0; r < t.length; r++) {
|
|
3637
3639
|
const n = t[r];
|
|
3638
|
-
if (
|
|
3640
|
+
if (Zt(n))
|
|
3639
3641
|
return n;
|
|
3640
3642
|
}
|
|
3641
3643
|
}
|
|
3642
|
-
function
|
|
3643
|
-
delete D[e], he.update((r) => (r[e] =
|
|
3644
|
+
function Qt(e, ...t) {
|
|
3645
|
+
delete D[e], he.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
|
|
3644
3646
|
}
|
|
3645
3647
|
ee(
|
|
3646
3648
|
[he],
|
|
3647
3649
|
([e]) => Object.keys(e)
|
|
3648
3650
|
);
|
|
3649
|
-
he.subscribe((e) =>
|
|
3650
|
-
const
|
|
3651
|
+
he.subscribe((e) => We = e);
|
|
3652
|
+
const pe = {};
|
|
3651
3653
|
function Wn(e, t) {
|
|
3652
|
-
|
|
3654
|
+
pe[e].delete(t), pe[e].size === 0 && delete pe[e];
|
|
3653
3655
|
}
|
|
3654
|
-
function
|
|
3655
|
-
return
|
|
3656
|
+
function Jt(e) {
|
|
3657
|
+
return pe[e];
|
|
3656
3658
|
}
|
|
3657
3659
|
function Zn(e) {
|
|
3658
3660
|
return Te(e).map((t) => {
|
|
3659
|
-
const r =
|
|
3661
|
+
const r = Jt(t);
|
|
3660
3662
|
return [t, r ? [...r] : []];
|
|
3661
3663
|
}).filter(([, t]) => t.length > 0);
|
|
3662
3664
|
}
|
|
@@ -3664,17 +3666,17 @@ function ke(e) {
|
|
|
3664
3666
|
return e == null ? !1 : Te(e).some(
|
|
3665
3667
|
(t) => {
|
|
3666
3668
|
var r;
|
|
3667
|
-
return (r =
|
|
3669
|
+
return (r = Jt(t)) == null ? void 0 : r.size;
|
|
3668
3670
|
}
|
|
3669
3671
|
);
|
|
3670
3672
|
}
|
|
3671
3673
|
function Qn(e, t) {
|
|
3672
3674
|
return Promise.all(
|
|
3673
3675
|
t.map((n) => (Wn(e, n), n().then((i) => i.default || i)))
|
|
3674
|
-
).then((n) =>
|
|
3676
|
+
).then((n) => Qt(e, ...n));
|
|
3675
3677
|
}
|
|
3676
3678
|
const ne = {};
|
|
3677
|
-
function
|
|
3679
|
+
function qt(e) {
|
|
3678
3680
|
if (!ke(e))
|
|
3679
3681
|
return e in ne ? ne[e] : Promise.resolve();
|
|
3680
3682
|
const t = Zn(e);
|
|
@@ -3684,7 +3686,7 @@ function Yt(e) {
|
|
|
3684
3686
|
)
|
|
3685
3687
|
).then(() => {
|
|
3686
3688
|
if (ke(e))
|
|
3687
|
-
return
|
|
3689
|
+
return qt(e);
|
|
3688
3690
|
delete ne[e];
|
|
3689
3691
|
}), ne[e];
|
|
3690
3692
|
}
|
|
@@ -3729,12 +3731,12 @@ function K() {
|
|
|
3729
3731
|
return Yn;
|
|
3730
3732
|
}
|
|
3731
3733
|
const Ne = Ee(!1);
|
|
3732
|
-
var Kn = Object.defineProperty, ei = Object.defineProperties, ti = Object.getOwnPropertyDescriptors,
|
|
3733
|
-
for (var r in t
|
|
3734
|
-
ri.call(t, r) &&
|
|
3735
|
-
if (
|
|
3736
|
-
for (var r of
|
|
3737
|
-
ni.call(t, r) &&
|
|
3734
|
+
var Kn = Object.defineProperty, ei = Object.defineProperties, ti = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, ri = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ii = (e, t) => {
|
|
3735
|
+
for (var r in t)
|
|
3736
|
+
ri.call(t, r) && mt(e, r, t[r]);
|
|
3737
|
+
if (gt)
|
|
3738
|
+
for (var r of gt(t))
|
|
3739
|
+
ni.call(t, r) && mt(e, r, t[r]);
|
|
3738
3740
|
return e;
|
|
3739
3741
|
}, si = (e, t) => ei(e, ti(t));
|
|
3740
3742
|
let Ve;
|
|
@@ -3759,7 +3761,7 @@ const oi = (e) => {
|
|
|
3759
3761
|
return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
|
|
3760
3762
|
() => Ne.set(!0),
|
|
3761
3763
|
t
|
|
3762
|
-
) : Ne.set(!0),
|
|
3764
|
+
) : Ne.set(!0), qt(e).then(() => {
|
|
3763
3765
|
ye.set(e);
|
|
3764
3766
|
}).finally(() => {
|
|
3765
3767
|
clearTimeout(r), Ne.set(!1);
|
|
@@ -3775,20 +3777,20 @@ const oi = (e) => {
|
|
|
3775
3777
|
return i in t ? t[i] : t[i] = e(n);
|
|
3776
3778
|
};
|
|
3777
3779
|
};
|
|
3778
|
-
var ai = Object.defineProperty, _e = Object.getOwnPropertySymbols,
|
|
3780
|
+
var ai = Object.defineProperty, _e = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, Kt = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
|
|
3779
3781
|
for (var r in t || (t = {}))
|
|
3780
|
-
|
|
3782
|
+
Yt.call(t, r) && pt(e, r, t[r]);
|
|
3781
3783
|
if (_e)
|
|
3782
3784
|
for (var r of _e(t))
|
|
3783
|
-
|
|
3785
|
+
Kt.call(t, r) && pt(e, r, t[r]);
|
|
3784
3786
|
return e;
|
|
3785
3787
|
}, re = (e, t) => {
|
|
3786
3788
|
var r = {};
|
|
3787
3789
|
for (var n in e)
|
|
3788
|
-
|
|
3790
|
+
Yt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3789
3791
|
if (e != null && _e)
|
|
3790
3792
|
for (var n of _e(e))
|
|
3791
|
-
t.indexOf(n) < 0 &&
|
|
3793
|
+
t.indexOf(n) < 0 && Kt.call(e, n) && (r[n] = e[n]);
|
|
3792
3794
|
return r;
|
|
3793
3795
|
};
|
|
3794
3796
|
const ae = (e, t) => {
|
|
@@ -3825,27 +3827,27 @@ const ae = (e, t) => {
|
|
|
3825
3827
|
} = t, n = re(t, [
|
|
3826
3828
|
"locale"
|
|
3827
3829
|
]);
|
|
3828
|
-
return ui(
|
|
3830
|
+
return ui(Ze({ locale: r }, n));
|
|
3829
3831
|
}, ci = (e = {}) => {
|
|
3830
3832
|
var t = e, {
|
|
3831
3833
|
locale: r = X()
|
|
3832
3834
|
} = t, n = re(t, [
|
|
3833
3835
|
"locale"
|
|
3834
3836
|
]);
|
|
3835
|
-
return hi(
|
|
3837
|
+
return hi(Ze({ locale: r }, n));
|
|
3836
3838
|
}, gi = (e = {}) => {
|
|
3837
3839
|
var t = e, {
|
|
3838
3840
|
locale: r = X()
|
|
3839
3841
|
} = t, n = re(t, [
|
|
3840
3842
|
"locale"
|
|
3841
3843
|
]);
|
|
3842
|
-
return li(
|
|
3844
|
+
return li(Ze({ locale: r }, n));
|
|
3843
3845
|
}, mi = Ce(
|
|
3844
3846
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3845
3847
|
(e, t = X()) => new Fn(e, t, K().formats, {
|
|
3846
3848
|
ignoreTag: K().ignoreTag
|
|
3847
3849
|
})
|
|
3848
|
-
),
|
|
3850
|
+
), di = (e, t = {}) => {
|
|
3849
3851
|
var r, n, i, s;
|
|
3850
3852
|
let o = t;
|
|
3851
3853
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -3858,7 +3860,7 @@ const ae = (e, t) => {
|
|
|
3858
3860
|
throw new Error(
|
|
3859
3861
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3860
3862
|
);
|
|
3861
|
-
let l =
|
|
3863
|
+
let l = Wt(e, h);
|
|
3862
3864
|
if (!l)
|
|
3863
3865
|
l = (s = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3864
3866
|
else if (typeof l != "string")
|
|
@@ -3877,18 +3879,18 @@ const ae = (e, t) => {
|
|
|
3877
3879
|
);
|
|
3878
3880
|
}
|
|
3879
3881
|
return c;
|
|
3880
|
-
},
|
|
3881
|
-
ee([te], () =>
|
|
3882
|
+
}, pi = (e, t) => gi(t).format(e), bi = (e, t) => ci(t).format(e), yi = (e, t) => fi(t).format(e), _i = (e, t = X()) => Wt(e, t), Ei = ee([te, he], () => di);
|
|
3883
|
+
ee([te], () => pi);
|
|
3882
3884
|
ee([te], () => bi);
|
|
3883
3885
|
ee([te], () => yi);
|
|
3884
3886
|
ee([te, he], () => _i);
|
|
3885
|
-
function
|
|
3886
|
-
|
|
3887
|
+
function bt(e, t) {
|
|
3888
|
+
Qt(e, t);
|
|
3887
3889
|
}
|
|
3888
3890
|
function xi(e) {
|
|
3889
3891
|
te.set(e);
|
|
3890
3892
|
}
|
|
3891
|
-
const
|
|
3893
|
+
const yt = {
|
|
3892
3894
|
en: {
|
|
3893
3895
|
topCategories: "Top Categories",
|
|
3894
3896
|
otherCategories: "Other Categories",
|
|
@@ -3999,13 +4001,13 @@ const _t = {
|
|
|
3999
4001
|
}
|
|
4000
4002
|
};
|
|
4001
4003
|
function vi(e) {
|
|
4002
|
-
|
|
4004
|
+
lr(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.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(--emw--casino-typography, var(--emw--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(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--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}");
|
|
4003
4005
|
}
|
|
4004
|
-
function
|
|
4006
|
+
function _t(e, t, r) {
|
|
4005
4007
|
const n = e.slice();
|
|
4006
4008
|
return n[23] = t[r], n;
|
|
4007
4009
|
}
|
|
4008
|
-
function
|
|
4010
|
+
function Et(e, t, r) {
|
|
4009
4011
|
const n = e.slice();
|
|
4010
4012
|
return n[23] = t[r], n;
|
|
4011
4013
|
}
|
|
@@ -4021,21 +4023,21 @@ function Ti(e) {
|
|
|
4021
4023
|
e[3]
|
|
4022
4024
|
), f = [];
|
|
4023
4025
|
for (let g = 0; g < c.length; g += 1)
|
|
4024
|
-
f[g] =
|
|
4025
|
-
let
|
|
4026
|
+
f[g] = xt(Et(e, c, g));
|
|
4027
|
+
let d = ce(
|
|
4026
4028
|
/*otherCategories*/
|
|
4027
4029
|
e[4]
|
|
4028
|
-
),
|
|
4029
|
-
for (let g = 0; g <
|
|
4030
|
-
|
|
4030
|
+
), p = [];
|
|
4031
|
+
for (let g = 0; g < d.length; g += 1)
|
|
4032
|
+
p[g] = vt(_t(e, d, g));
|
|
4031
4033
|
return {
|
|
4032
4034
|
c() {
|
|
4033
4035
|
t = S("div"), r = S("h4"), i = G(n), s = U();
|
|
4034
4036
|
for (let g = 0; g < f.length; g += 1)
|
|
4035
4037
|
f[g].c();
|
|
4036
4038
|
o = U(), u = S("h4"), a = G(h), l = U();
|
|
4037
|
-
for (let g = 0; g <
|
|
4038
|
-
|
|
4039
|
+
for (let g = 0; g < p.length; g += 1)
|
|
4040
|
+
p[g].c();
|
|
4039
4041
|
I(r, "class", "CategoryTitle"), I(u, "class", "CategoryTitle"), I(t, "class", "CasinoCategories");
|
|
4040
4042
|
},
|
|
4041
4043
|
m(g, x) {
|
|
@@ -4043,8 +4045,8 @@ function Ti(e) {
|
|
|
4043
4045
|
for (let m = 0; m < f.length; m += 1)
|
|
4044
4046
|
f[m] && f[m].m(t, null);
|
|
4045
4047
|
v(t, o), v(t, u), v(u, a), v(t, l);
|
|
4046
|
-
for (let m = 0; m <
|
|
4047
|
-
|
|
4048
|
+
for (let m = 0; m < p.length; m += 1)
|
|
4049
|
+
p[m] && p[m].m(t, null);
|
|
4048
4050
|
},
|
|
4049
4051
|
p(g, x) {
|
|
4050
4052
|
if (x & /*$_*/
|
|
@@ -4057,8 +4059,8 @@ function Ti(e) {
|
|
|
4057
4059
|
);
|
|
4058
4060
|
let m;
|
|
4059
4061
|
for (m = 0; m < c.length; m += 1) {
|
|
4060
|
-
const C =
|
|
4061
|
-
f[m] ? f[m].p(C, x) : (f[m] =
|
|
4062
|
+
const C = Et(g, c, m);
|
|
4063
|
+
f[m] ? f[m].p(C, x) : (f[m] = xt(C), f[m].c(), f[m].m(t, o));
|
|
4062
4064
|
}
|
|
4063
4065
|
for (; m < f.length; m += 1)
|
|
4064
4066
|
f[m].d(1);
|
|
@@ -4068,22 +4070,22 @@ function Ti(e) {
|
|
|
4068
4070
|
32 && h !== (h = /*$_*/
|
|
4069
4071
|
g[5]("otherCategories") + "") && F(a, h), x & /*activecategory, otherCategories, openGameCategory, $_*/
|
|
4070
4072
|
113) {
|
|
4071
|
-
|
|
4073
|
+
d = ce(
|
|
4072
4074
|
/*otherCategories*/
|
|
4073
4075
|
g[4]
|
|
4074
4076
|
);
|
|
4075
4077
|
let m;
|
|
4076
|
-
for (m = 0; m <
|
|
4077
|
-
const C =
|
|
4078
|
-
|
|
4078
|
+
for (m = 0; m < d.length; m += 1) {
|
|
4079
|
+
const C = _t(g, d, m);
|
|
4080
|
+
p[m] ? p[m].p(C, x) : (p[m] = vt(C), p[m].c(), p[m].m(t, null));
|
|
4079
4081
|
}
|
|
4080
|
-
for (; m <
|
|
4081
|
-
|
|
4082
|
-
|
|
4082
|
+
for (; m < p.length; m += 1)
|
|
4083
|
+
p[m].d(1);
|
|
4084
|
+
p.length = d.length;
|
|
4083
4085
|
}
|
|
4084
4086
|
},
|
|
4085
4087
|
d(g) {
|
|
4086
|
-
g && j(t),
|
|
4088
|
+
g && j(t), rt(f, g), rt(p, g);
|
|
4087
4089
|
}
|
|
4088
4090
|
};
|
|
4089
4091
|
}
|
|
@@ -4102,14 +4104,14 @@ function Ci(e) {
|
|
|
4102
4104
|
}
|
|
4103
4105
|
};
|
|
4104
4106
|
}
|
|
4105
|
-
function
|
|
4107
|
+
function xt(e) {
|
|
4106
4108
|
let t, r, n, i, s, o, u, h = (
|
|
4107
4109
|
/*category*/
|
|
4108
4110
|
e[23].name + ""
|
|
4109
4111
|
), a, l, c, f = (
|
|
4110
4112
|
/*category*/
|
|
4111
4113
|
e[23].games.count + ""
|
|
4112
|
-
),
|
|
4114
|
+
), d, p, g = (
|
|
4113
4115
|
/*$_*/
|
|
4114
4116
|
e[5]("games") + ""
|
|
4115
4117
|
), x, m, C, A;
|
|
@@ -4124,14 +4126,14 @@ function vt(e) {
|
|
|
4124
4126
|
}
|
|
4125
4127
|
return {
|
|
4126
4128
|
c() {
|
|
4127
|
-
t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"),
|
|
4129
|
+
t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), d = G(f), p = U(), x = G(g), be(r.src, n = /*category*/
|
|
4128
4130
|
e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
|
|
4129
4131
|
e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", m = "Category " + /*activecategory*/
|
|
4130
4132
|
(e[0] === /*category*/
|
|
4131
4133
|
e[23].id ? "Active" : ""));
|
|
4132
4134
|
},
|
|
4133
4135
|
m(B, H) {
|
|
4134
|
-
V(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c,
|
|
4136
|
+
V(B, t, H), 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", P), C = !0);
|
|
4135
4137
|
},
|
|
4136
4138
|
p(B, H) {
|
|
4137
4139
|
e = B, H & /*topCategories*/
|
|
@@ -4142,7 +4144,7 @@ function vt(e) {
|
|
|
4142
4144
|
8 && h !== (h = /*category*/
|
|
4143
4145
|
e[23].name + "") && F(a, h), H & /*topCategories*/
|
|
4144
4146
|
8 && f !== (f = /*category*/
|
|
4145
|
-
e[23].games.count + "") && F(
|
|
4147
|
+
e[23].games.count + "") && F(d, f), H & /*$_*/
|
|
4146
4148
|
32 && g !== (g = /*$_*/
|
|
4147
4149
|
e[5]("games") + "") && F(x, g), H & /*activecategory, topCategories*/
|
|
4148
4150
|
9 && m !== (m = "Category " + /*activecategory*/
|
|
@@ -4154,14 +4156,14 @@ function vt(e) {
|
|
|
4154
4156
|
}
|
|
4155
4157
|
};
|
|
4156
4158
|
}
|
|
4157
|
-
function
|
|
4159
|
+
function vt(e) {
|
|
4158
4160
|
let t, r, n, i, s, o, u, h = (
|
|
4159
4161
|
/*category*/
|
|
4160
4162
|
e[23].name + ""
|
|
4161
4163
|
), a, l, c, f = (
|
|
4162
4164
|
/*category*/
|
|
4163
4165
|
e[23].games.count + ""
|
|
4164
|
-
),
|
|
4166
|
+
), d, p, g = (
|
|
4165
4167
|
/*$_*/
|
|
4166
4168
|
e[5]("games") + ""
|
|
4167
4169
|
), x, m, C, A, P;
|
|
@@ -4176,14 +4178,14 @@ function Tt(e) {
|
|
|
4176
4178
|
}
|
|
4177
4179
|
return {
|
|
4178
4180
|
c() {
|
|
4179
|
-
t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"),
|
|
4181
|
+
t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), d = G(f), p = U(), x = G(g), m = U(), be(r.src, n = /*category*/
|
|
4180
4182
|
e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
|
|
4181
4183
|
e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", C = "Category " + /*activecategory*/
|
|
4182
4184
|
(e[0] === /*category*/
|
|
4183
4185
|
e[23].id ? "Active" : ""));
|
|
4184
4186
|
},
|
|
4185
4187
|
m(H, N) {
|
|
4186
|
-
V(H, t, N), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c,
|
|
4188
|
+
V(H, t, N), 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 || (P = At(t, "click", B), A = !0);
|
|
4187
4189
|
},
|
|
4188
4190
|
p(H, N) {
|
|
4189
4191
|
e = H, N & /*otherCategories*/
|
|
@@ -4194,7 +4196,7 @@ function Tt(e) {
|
|
|
4194
4196
|
16 && h !== (h = /*category*/
|
|
4195
4197
|
e[23].name + "") && F(a, h), N & /*otherCategories*/
|
|
4196
4198
|
16 && f !== (f = /*category*/
|
|
4197
|
-
e[23].games.count + "") && F(
|
|
4199
|
+
e[23].games.count + "") && F(d, f), N & /*$_*/
|
|
4198
4200
|
32 && g !== (g = /*$_*/
|
|
4199
4201
|
e[5]("games") + "") && F(x, g), N & /*activecategory, otherCategories*/
|
|
4200
4202
|
17 && C !== (C = "Category " + /*activecategory*/
|
|
@@ -4234,45 +4236,45 @@ function Hi(e) {
|
|
|
4234
4236
|
}
|
|
4235
4237
|
function Ai(e, t, r) {
|
|
4236
4238
|
let n;
|
|
4237
|
-
|
|
4238
|
-
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, { mbsource: f } = t,
|
|
4239
|
+
hr(e, Ei, (b) => r(5, n = b));
|
|
4240
|
+
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, { mbsource: f } = t, d, p = !1;
|
|
4239
4241
|
const g = [];
|
|
4240
4242
|
let x = [], m = [];
|
|
4241
|
-
Object.keys(
|
|
4242
|
-
|
|
4243
|
+
Object.keys(yt).forEach((b) => {
|
|
4244
|
+
bt(b, yt[b]);
|
|
4243
4245
|
});
|
|
4244
4246
|
const C = () => {
|
|
4245
4247
|
fetch(c).then(($) => $.json()).then(($) => {
|
|
4246
4248
|
Object.keys($).forEach((le) => {
|
|
4247
|
-
|
|
4249
|
+
bt(le, $[le]);
|
|
4248
4250
|
});
|
|
4249
4251
|
}).catch(($) => {
|
|
4250
4252
|
console.log($);
|
|
4251
4253
|
});
|
|
4252
4254
|
}, A = () => {
|
|
4253
|
-
r(2,
|
|
4255
|
+
r(2, p = !0);
|
|
4254
4256
|
const b = new URL(`${i}/v1/casino/groups/${s}`);
|
|
4255
4257
|
b.searchParams.append("language", o), fetch(b).then(($) => $.json()).then(($) => {
|
|
4256
|
-
r(2,
|
|
4258
|
+
r(2, p = !1);
|
|
4257
4259
|
const le = h.split(",").map((k) => k.trim());
|
|
4258
4260
|
g.push(...$.items);
|
|
4259
|
-
const
|
|
4260
|
-
var
|
|
4261
|
-
return ((
|
|
4261
|
+
const Qe = g.filter((k) => !le.some((rr) => {
|
|
4262
|
+
var Je;
|
|
4263
|
+
return ((Je = k.flags) == null ? void 0 : Je.indexOf(rr)) >= 0;
|
|
4262
4264
|
}));
|
|
4263
|
-
r(3, x =
|
|
4265
|
+
r(3, x = Qe.filter((k) => k.isTopCategory === !0)), r(4, m = Qe.filter((k) => k.isTopCategory === !1));
|
|
4264
4266
|
});
|
|
4265
4267
|
}, P = (b) => {
|
|
4266
4268
|
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
4267
4269
|
}, B = () => {
|
|
4268
4270
|
xi(o);
|
|
4269
4271
|
};
|
|
4270
|
-
|
|
4272
|
+
br(() => () => {
|
|
4271
4273
|
});
|
|
4272
4274
|
const H = (b) => P(b.id), N = (b) => P(b.id);
|
|
4273
|
-
function
|
|
4275
|
+
function tr(b) {
|
|
4274
4276
|
Le[b ? "unshift" : "push"](() => {
|
|
4275
|
-
|
|
4277
|
+
d = b, r(1, d);
|
|
4276
4278
|
});
|
|
4277
4279
|
}
|
|
4278
4280
|
return e.$$set = (b) => {
|
|
@@ -4282,13 +4284,13 @@ function Ai(e, t, r) {
|
|
|
4282
4284
|
384 && i && s && A(), e.$$.dirty & /*translationurl*/
|
|
4283
4285
|
8192 && c && C(), e.$$.dirty & /*lang*/
|
|
4284
4286
|
512 && o && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4285
|
-
2050 && a &&
|
|
4286
|
-
4098 && l &&
|
|
4287
|
-
16386 && f &&
|
|
4287
|
+
2050 && a && d && wr(d, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4288
|
+
4098 && l && d && Or(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4289
|
+
16386 && f && d && Pr(d, `${f}.Style`);
|
|
4288
4290
|
}, [
|
|
4289
4291
|
u,
|
|
4290
|
-
p,
|
|
4291
4292
|
d,
|
|
4293
|
+
p,
|
|
4292
4294
|
x,
|
|
4293
4295
|
m,
|
|
4294
4296
|
n,
|
|
@@ -4303,17 +4305,17 @@ function Ai(e, t, r) {
|
|
|
4303
4305
|
f,
|
|
4304
4306
|
H,
|
|
4305
4307
|
N,
|
|
4306
|
-
|
|
4308
|
+
tr
|
|
4307
4309
|
];
|
|
4308
4310
|
}
|
|
4309
|
-
class
|
|
4311
|
+
class er extends Sr {
|
|
4310
4312
|
constructor(t) {
|
|
4311
|
-
super(),
|
|
4313
|
+
super(), Hr(
|
|
4312
4314
|
this,
|
|
4313
4315
|
t,
|
|
4314
4316
|
Ai,
|
|
4315
4317
|
Hi,
|
|
4316
|
-
|
|
4318
|
+
Ct,
|
|
4317
4319
|
{
|
|
4318
4320
|
endpoint: 7,
|
|
4319
4321
|
datasource: 8,
|
|
@@ -4383,10 +4385,10 @@ class tr extends Br {
|
|
|
4383
4385
|
this.$$set({ mbsource: t }), M();
|
|
4384
4386
|
}
|
|
4385
4387
|
}
|
|
4386
|
-
|
|
4388
|
+
Ar(er, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4387
4389
|
const $i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4388
4390
|
__proto__: null,
|
|
4389
|
-
default:
|
|
4391
|
+
default: er
|
|
4390
4392
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4391
4393
|
export {
|
|
4392
4394
|
te as $,
|
|
@@ -4396,38 +4398,38 @@ export {
|
|
|
4396
4398
|
Pi as D,
|
|
4397
4399
|
wi as E,
|
|
4398
4400
|
ce as F,
|
|
4399
|
-
|
|
4401
|
+
rt as G,
|
|
4400
4402
|
Ni as H,
|
|
4401
4403
|
Li as I,
|
|
4402
|
-
|
|
4404
|
+
gr as J,
|
|
4403
4405
|
Oi as K,
|
|
4404
4406
|
$i as L,
|
|
4405
|
-
|
|
4407
|
+
Sr as S,
|
|
4406
4408
|
Ii as _,
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4409
|
+
Qt as a,
|
|
4410
|
+
lr as b,
|
|
4411
|
+
Ar as c,
|
|
4410
4412
|
U as d,
|
|
4411
4413
|
S as e,
|
|
4412
4414
|
M as f,
|
|
4413
4415
|
I as g,
|
|
4414
4416
|
R as h,
|
|
4415
|
-
|
|
4417
|
+
Hr as i,
|
|
4416
4418
|
V as j,
|
|
4417
4419
|
v as k,
|
|
4418
|
-
|
|
4420
|
+
At as l,
|
|
4419
4421
|
F as m,
|
|
4420
4422
|
L as n,
|
|
4421
4423
|
j as o,
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
+
hr as p,
|
|
4425
|
+
br as q,
|
|
4424
4426
|
ue as r,
|
|
4425
|
-
|
|
4427
|
+
Ct as s,
|
|
4426
4428
|
G as t,
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4429
|
+
Le as u,
|
|
4430
|
+
wr as v,
|
|
4431
|
+
Or as w,
|
|
4432
|
+
Pr as x,
|
|
4431
4433
|
Ei as y,
|
|
4432
4434
|
Se as z
|
|
4433
4435
|
};
|