@everymatrix/casino-most-played-section 1.54.4 → 1.54.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFilter-BYeEBK-a.js → CasinoFilter-C_NFi_rN.js} +456 -464
- package/components/CasinoFilter-DEXkfvfQ.cjs +5 -0
- package/components/CasinoFilter-DuUevwDN.js +4991 -0
- package/components/{CasinoGameThumbnail-BfeiKtC4.js → CasinoGameThumbnail-DLCuQBSY.js} +65 -65
- package/components/CasinoGameThumbnail-DWrQCx6i.cjs +47 -0
- package/components/CasinoGameThumbnail-DkLajZ-6.js +4432 -0
- package/components/CasinoGamesCategorySection-BUCzSW6j.js +3032 -0
- package/components/{CasinoGamesCategorySection-mzPrMyYZ.js → CasinoGamesCategorySection-CMQyuUzV.js} +163 -163
- package/components/CasinoGamesCategorySection-u15kKRqx.cjs +1 -0
- package/components/CasinoMostPlayedSection-7tzn4AXe.js +598 -0
- package/components/{CasinoMostPlayedSection-CN_wisPE.js → CasinoMostPlayedSection-B2_G1xXD.js} +15 -15
- package/components/CasinoMostPlayedSection-mYImyOBY.cjs +1 -0
- package/components/CasinoSort-BHWKjHLA.cjs +1 -0
- package/components/{CasinoSort-B1pgdr2s.js → CasinoSort-BO8pFRNg.js} +22 -22
- package/components/CasinoSort-Chc8wKdN.js +432 -0
- package/es2015/casino-most-played-section.cjs +1 -0
- package/es2015/casino-most-played-section.js +16 -0
- package/esnext/casino-most-played-section.js +1 -1
- package/package.json +1 -1
@@ -1,28 +1,28 @@
|
|
1
1
|
function G() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function Wt(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function gt() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
9
|
function Y(e) {
|
10
|
-
e.forEach(
|
10
|
+
e.forEach(Wt);
|
11
11
|
}
|
12
12
|
function pt(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function zt(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
18
|
let Fe;
|
19
|
-
function
|
19
|
+
function yt(e, t) {
|
20
20
|
return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
|
21
21
|
}
|
22
|
-
function
|
22
|
+
function Fr(e) {
|
23
23
|
return Object.keys(e).length === 0;
|
24
24
|
}
|
25
|
-
function
|
25
|
+
function Zt(e, ...t) {
|
26
26
|
if (e == null) {
|
27
27
|
for (const n of t)
|
28
28
|
n(void 0);
|
@@ -31,20 +31,20 @@ function Jt(e, ...t) {
|
|
31
31
|
const r = e.subscribe(...t);
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
33
33
|
}
|
34
|
-
function
|
35
|
-
e.$$.on_destroy.push(
|
34
|
+
function Br(e, t, r) {
|
35
|
+
e.$$.on_destroy.push(Zt(t, r));
|
36
36
|
}
|
37
37
|
function v(e, t) {
|
38
38
|
e.appendChild(t);
|
39
39
|
}
|
40
|
-
function
|
41
|
-
const n =
|
40
|
+
function Or(e, t, r) {
|
41
|
+
const n = Ir(e);
|
42
42
|
if (!n.getElementById(t)) {
|
43
43
|
const i = F("style");
|
44
|
-
i.id = t, i.textContent = r,
|
44
|
+
i.id = t, i.textContent = r, Lr(n, i);
|
45
45
|
}
|
46
46
|
}
|
47
|
-
function
|
47
|
+
function Ir(e) {
|
48
48
|
if (!e) return document;
|
49
49
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
50
50
|
return t && /** @type {ShadowRoot} */
|
@@ -53,7 +53,7 @@ function Lr(e) {
|
|
53
53
|
t
|
54
54
|
) : e.ownerDocument;
|
55
55
|
}
|
56
|
-
function
|
56
|
+
function Lr(e, t) {
|
57
57
|
return v(
|
58
58
|
/** @type {Document} */
|
59
59
|
e.head || e,
|
@@ -66,7 +66,7 @@ function X(e, t, r) {
|
|
66
66
|
function k(e) {
|
67
67
|
e.parentNode && e.parentNode.removeChild(e);
|
68
68
|
}
|
69
|
-
function
|
69
|
+
function Nr(e, t) {
|
70
70
|
for (let r = 0; r < e.length; r += 1)
|
71
71
|
e[r] && e[r].d(t);
|
72
72
|
}
|
@@ -82,7 +82,7 @@ function U(e) {
|
|
82
82
|
function V() {
|
83
83
|
return U(" ");
|
84
84
|
}
|
85
|
-
function
|
85
|
+
function co() {
|
86
86
|
return U("");
|
87
87
|
}
|
88
88
|
function Re(e, t, r, n) {
|
@@ -91,24 +91,24 @@ function Re(e, t, r, n) {
|
|
91
91
|
function g(e, t, r) {
|
92
92
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
93
93
|
}
|
94
|
-
function
|
94
|
+
function fo(e, t, r) {
|
95
95
|
const n = t.toLowerCase();
|
96
96
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : g(e, t, r);
|
97
97
|
}
|
98
|
-
function
|
98
|
+
function Mr(e) {
|
99
99
|
return Array.from(e.childNodes);
|
100
100
|
}
|
101
101
|
function q(e, t) {
|
102
102
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
103
103
|
t);
|
104
104
|
}
|
105
|
-
function
|
105
|
+
function vt(e, t) {
|
106
106
|
e.value = t ?? "";
|
107
107
|
}
|
108
|
-
function
|
108
|
+
function po(e, t, r) {
|
109
109
|
e.classList.toggle(t, !!r);
|
110
110
|
}
|
111
|
-
class
|
111
|
+
class mo {
|
112
112
|
/**
|
113
113
|
* @private
|
114
114
|
* @default false
|
@@ -178,7 +178,7 @@ class bo {
|
|
178
178
|
this.n.forEach(k);
|
179
179
|
}
|
180
180
|
}
|
181
|
-
function
|
181
|
+
function Rr(e) {
|
182
182
|
const t = {};
|
183
183
|
return e.childNodes.forEach(
|
184
184
|
/** @param {Element} node */
|
@@ -195,25 +195,25 @@ function $r() {
|
|
195
195
|
if (!Se) throw new Error("Function called outside component initialization");
|
196
196
|
return Se;
|
197
197
|
}
|
198
|
-
function
|
198
|
+
function Dr(e) {
|
199
199
|
$r().$$.on_mount.push(e);
|
200
200
|
}
|
201
201
|
const ce = [], Ye = [];
|
202
202
|
let fe = [];
|
203
|
-
const
|
203
|
+
const _t = [], Jt = /* @__PURE__ */ Promise.resolve();
|
204
204
|
let Ke = !1;
|
205
|
-
function
|
206
|
-
Ke || (Ke = !0,
|
205
|
+
function Qt() {
|
206
|
+
Ke || (Ke = !0, Jt.then(D));
|
207
207
|
}
|
208
|
-
function
|
209
|
-
return
|
208
|
+
function bo() {
|
209
|
+
return Qt(), Jt;
|
210
210
|
}
|
211
211
|
function et(e) {
|
212
212
|
fe.push(e);
|
213
213
|
}
|
214
214
|
const Xe = /* @__PURE__ */ new Set();
|
215
215
|
let ue = 0;
|
216
|
-
function
|
216
|
+
function D() {
|
217
217
|
if (ue !== 0)
|
218
218
|
return;
|
219
219
|
const e = Se;
|
@@ -221,7 +221,7 @@ function $() {
|
|
221
221
|
try {
|
222
222
|
for (; ue < ce.length; ) {
|
223
223
|
const t = ce[ue];
|
224
|
-
ue++, we(t),
|
224
|
+
ue++, we(t), Ur(t.$$);
|
225
225
|
}
|
226
226
|
} catch (t) {
|
227
227
|
throw ce.length = 0, ue = 0, t;
|
@@ -233,32 +233,32 @@ function $() {
|
|
233
233
|
}
|
234
234
|
fe.length = 0;
|
235
235
|
} while (ce.length);
|
236
|
-
for (;
|
237
|
-
|
236
|
+
for (; _t.length; )
|
237
|
+
_t.pop()();
|
238
238
|
Ke = !1, Xe.clear(), we(e);
|
239
239
|
}
|
240
|
-
function
|
240
|
+
function Ur(e) {
|
241
241
|
if (e.fragment !== null) {
|
242
242
|
e.update(), Y(e.before_update);
|
243
243
|
const t = e.dirty;
|
244
244
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(et);
|
245
245
|
}
|
246
246
|
}
|
247
|
-
function
|
247
|
+
function Gr(e) {
|
248
248
|
const t = [], r = [];
|
249
249
|
fe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), fe = t;
|
250
250
|
}
|
251
|
-
const
|
252
|
-
function
|
253
|
-
e && e.i && (
|
251
|
+
const kr = /* @__PURE__ */ new Set();
|
252
|
+
function qt(e, t) {
|
253
|
+
e && e.i && (kr.delete(e), e.i(t));
|
254
254
|
}
|
255
|
-
function
|
255
|
+
function xt(e) {
|
256
256
|
return e?.length !== void 0 ? e : Array.from(e);
|
257
257
|
}
|
258
|
-
function
|
258
|
+
function go(e, t) {
|
259
259
|
e.d(1), t.delete(e.key);
|
260
260
|
}
|
261
|
-
function
|
261
|
+
function yo(e, t, r, n, i, o, s, a, h, l, u, d) {
|
262
262
|
let c = e.length, m = o.length, b = c;
|
263
263
|
const _ = {};
|
264
264
|
for (; b--; ) _[e[b].key] = b;
|
@@ -270,7 +270,7 @@ function vo(e, t, r, n, i, o, s, a, h, l, u, d) {
|
|
270
270
|
}
|
271
271
|
const N = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
|
272
272
|
function O(P) {
|
273
|
-
|
273
|
+
qt(P, 1), P.m(a, u), s.set(P.key, P), u = P.first, m--;
|
274
274
|
}
|
275
275
|
for (; c && m; ) {
|
276
276
|
const P = T[m - 1], I = e[c - 1], M = P.key, W = I.key;
|
@@ -283,21 +283,21 @@ function vo(e, t, r, n, i, o, s, a, h, l, u, d) {
|
|
283
283
|
for (; m; ) O(T[m - 1]);
|
284
284
|
return Y(E), T;
|
285
285
|
}
|
286
|
-
function
|
286
|
+
function jr(e, t, r) {
|
287
287
|
const { fragment: n, after_update: i } = e.$$;
|
288
288
|
n && n.m(t, r), et(() => {
|
289
|
-
const o = e.$$.on_mount.map(
|
289
|
+
const o = e.$$.on_mount.map(Wt).filter(pt);
|
290
290
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
|
291
291
|
}), i.forEach(et);
|
292
292
|
}
|
293
|
-
function
|
293
|
+
function Vr(e, t) {
|
294
294
|
const r = e.$$;
|
295
|
-
r.fragment !== null && (
|
295
|
+
r.fragment !== null && (Gr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
296
296
|
}
|
297
|
-
function
|
298
|
-
e.$$.dirty[0] === -1 && (ce.push(e),
|
297
|
+
function Xr(e, t) {
|
298
|
+
e.$$.dirty[0] === -1 && (ce.push(e), Qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
299
299
|
}
|
300
|
-
function
|
300
|
+
function Wr(e, t, r, n, i, o, s = null, a = [-1]) {
|
301
301
|
const h = Se;
|
302
302
|
we(e);
|
303
303
|
const l = e.$$ = {
|
@@ -307,7 +307,7 @@ function zr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
307
307
|
props: o,
|
308
308
|
update: G,
|
309
309
|
not_equal: i,
|
310
|
-
bound:
|
310
|
+
bound: gt(),
|
311
311
|
// lifecycle
|
312
312
|
on_mount: [],
|
313
313
|
on_destroy: [],
|
@@ -316,7 +316,7 @@ function zr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
316
316
|
after_update: [],
|
317
317
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
318
318
|
// everything else
|
319
|
-
callbacks:
|
319
|
+
callbacks: gt(),
|
320
320
|
dirty: a,
|
321
321
|
skip_bound: !1,
|
322
322
|
root: t.target || h.$$.root
|
@@ -325,19 +325,19 @@ function zr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
325
325
|
let u = !1;
|
326
326
|
if (l.ctx = r ? r(e, t.props || {}, (d, c, ...m) => {
|
327
327
|
const b = m.length ? m[0] : c;
|
328
|
-
return l.ctx && i(l.ctx[d], l.ctx[d] = b) && (!l.skip_bound && l.bound[d] && l.bound[d](b), u &&
|
328
|
+
return l.ctx && i(l.ctx[d], l.ctx[d] = b) && (!l.skip_bound && l.bound[d] && l.bound[d](b), u && Xr(e, d)), c;
|
329
329
|
}) : [], l.update(), u = !0, Y(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
330
330
|
if (t.hydrate) {
|
331
|
-
const d =
|
331
|
+
const d = Mr(t.target);
|
332
332
|
l.fragment && l.fragment.l(d), d.forEach(k);
|
333
333
|
} else
|
334
334
|
l.fragment && l.fragment.c();
|
335
|
-
t.intro &&
|
335
|
+
t.intro && qt(e.$$.fragment), jr(e, t.target, t.anchor), D();
|
336
336
|
}
|
337
337
|
we(h);
|
338
338
|
}
|
339
|
-
let
|
340
|
-
typeof HTMLElement == "function" && (
|
339
|
+
let Yt;
|
340
|
+
typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
341
341
|
/** The Svelte component constructor */
|
342
342
|
$$ctor;
|
343
343
|
/** Slots */
|
@@ -396,7 +396,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
396
396
|
};
|
397
397
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
398
398
|
return;
|
399
|
-
const t = {}, r =
|
399
|
+
const t = {}, r = Rr(this);
|
400
400
|
for (const i of this.$$s)
|
401
401
|
i in r && (t[i] = [e(i)]);
|
402
402
|
for (const i of this.attributes) {
|
@@ -483,8 +483,8 @@ function Ie(e, t, r, n) {
|
|
483
483
|
return t;
|
484
484
|
}
|
485
485
|
}
|
486
|
-
function
|
487
|
-
let s = class extends
|
486
|
+
function zr(e, t, r, n, i, o) {
|
487
|
+
let s = class extends Yt {
|
488
488
|
constructor() {
|
489
489
|
super(e, r, i), this.$$p_d = t;
|
490
490
|
}
|
@@ -512,7 +512,7 @@ function Zr(e, t, r, n, i, o) {
|
|
512
512
|
}), e.element = /** @type {any} */
|
513
513
|
s, s;
|
514
514
|
}
|
515
|
-
class
|
515
|
+
class Zr {
|
516
516
|
/**
|
517
517
|
* ### PRIVATE API
|
518
518
|
*
|
@@ -531,7 +531,7 @@ class Jr {
|
|
531
531
|
$$set = void 0;
|
532
532
|
/** @returns {void} */
|
533
533
|
$destroy() {
|
534
|
-
|
534
|
+
Vr(this, 1), this.$destroy = G;
|
535
535
|
}
|
536
536
|
/**
|
537
537
|
* @template {Extract<keyof Events, string>} K
|
@@ -553,11 +553,11 @@ class Jr {
|
|
553
553
|
* @returns {void}
|
554
554
|
*/
|
555
555
|
$set(t) {
|
556
|
-
this.$$set && !
|
556
|
+
this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
557
557
|
}
|
558
558
|
}
|
559
|
-
const
|
560
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
559
|
+
const Jr = "4";
|
560
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
|
561
561
|
var tt = function(e, t) {
|
562
562
|
return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
563
563
|
r.__proto__ = n;
|
@@ -583,7 +583,7 @@ var S = function() {
|
|
583
583
|
return t;
|
584
584
|
}, S.apply(this, arguments);
|
585
585
|
};
|
586
|
-
function
|
586
|
+
function Qr(e, t) {
|
587
587
|
var r = {};
|
588
588
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
589
589
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -626,13 +626,13 @@ function de(e, t, r) {
|
|
626
626
|
function z(e) {
|
627
627
|
return typeof e == "function";
|
628
628
|
}
|
629
|
-
function
|
629
|
+
function Kt(e) {
|
630
630
|
var t = function(n) {
|
631
631
|
Error.call(n), n.stack = new Error().stack;
|
632
632
|
}, r = e(t);
|
633
633
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
634
634
|
}
|
635
|
-
var We =
|
635
|
+
var We = Kt(function(e) {
|
636
636
|
return function(r) {
|
637
637
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
638
638
|
` + r.map(function(n, i) {
|
@@ -688,7 +688,7 @@ var Ue = function() {
|
|
688
688
|
for (var c = rt(d), m = c.next(); !m.done; m = c.next()) {
|
689
689
|
var b = m.value;
|
690
690
|
try {
|
691
|
-
|
691
|
+
Et(b);
|
692
692
|
} catch (_) {
|
693
693
|
o = o ?? [], _ instanceof We ? o = de(de([], nt(o)), nt(_.errors)) : o.push(_);
|
694
694
|
}
|
@@ -710,7 +710,7 @@ var Ue = function() {
|
|
710
710
|
var r;
|
711
711
|
if (t && t !== this)
|
712
712
|
if (this.closed)
|
713
|
-
|
713
|
+
Et(t);
|
714
714
|
else {
|
715
715
|
if (t instanceof e) {
|
716
716
|
if (t.closed || t._hasParent(this))
|
@@ -735,20 +735,16 @@ var Ue = function() {
|
|
735
735
|
var t = new e();
|
736
736
|
return t.closed = !0, t;
|
737
737
|
}(), e;
|
738
|
-
}(),
|
739
|
-
function
|
738
|
+
}(), er = Ue.EMPTY;
|
739
|
+
function tr(e) {
|
740
740
|
return e instanceof Ue || e && "closed" in e && z(e.remove) && z(e.add) && z(e.unsubscribe);
|
741
741
|
}
|
742
|
-
function
|
742
|
+
function Et(e) {
|
743
743
|
z(e) ? e() : e.unsubscribe();
|
744
744
|
}
|
745
|
-
var
|
746
|
-
|
747
|
-
|
748
|
-
Promise: void 0,
|
749
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
750
|
-
useDeprecatedNextContext: !1
|
751
|
-
}, Kr = {
|
745
|
+
var qr = {
|
746
|
+
Promise: void 0
|
747
|
+
}, Yr = {
|
752
748
|
setTimeout: function(e, t) {
|
753
749
|
for (var r = [], n = 2; n < arguments.length; n++)
|
754
750
|
r[n - 2] = arguments[n];
|
@@ -759,21 +755,21 @@ var Yr = {
|
|
759
755
|
},
|
760
756
|
delegate: void 0
|
761
757
|
};
|
762
|
-
function
|
763
|
-
|
758
|
+
function Kr(e) {
|
759
|
+
Yr.setTimeout(function() {
|
764
760
|
throw e;
|
765
761
|
});
|
766
762
|
}
|
767
|
-
function
|
763
|
+
function wt() {
|
768
764
|
}
|
769
765
|
function Le(e) {
|
770
766
|
e();
|
771
767
|
}
|
772
|
-
var
|
768
|
+
var rr = function(e) {
|
773
769
|
Z(t, e);
|
774
770
|
function t(r) {
|
775
771
|
var n = e.call(this) || this;
|
776
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
772
|
+
return n.isStopped = !1, r ? (n.destination = r, tr(r) && r.add(n)) : n.destination = rn, n;
|
777
773
|
}
|
778
774
|
return t.create = function(r, n, i) {
|
779
775
|
return new ot(r, n, i);
|
@@ -800,7 +796,7 @@ var nr = function(e) {
|
|
800
796
|
this.unsubscribe();
|
801
797
|
}
|
802
798
|
}, t;
|
803
|
-
}(Ue),
|
799
|
+
}(Ue), en = function() {
|
804
800
|
function e(t) {
|
805
801
|
this.partialObserver = t;
|
806
802
|
}
|
@@ -839,35 +835,35 @@ var nr = function(e) {
|
|
839
835
|
next: r ?? void 0,
|
840
836
|
error: n ?? void 0,
|
841
837
|
complete: i ?? void 0
|
842
|
-
} : s = r, o.destination = new
|
838
|
+
} : s = r, o.destination = new en(s), o;
|
843
839
|
}
|
844
840
|
return t;
|
845
|
-
}(
|
841
|
+
}(rr);
|
846
842
|
function Be(e) {
|
847
|
-
|
843
|
+
Kr(e);
|
848
844
|
}
|
849
|
-
function
|
845
|
+
function tn(e) {
|
850
846
|
throw e;
|
851
847
|
}
|
852
|
-
var
|
848
|
+
var rn = {
|
853
849
|
closed: !0,
|
854
|
-
next:
|
855
|
-
error:
|
856
|
-
complete:
|
857
|
-
},
|
850
|
+
next: wt,
|
851
|
+
error: tn,
|
852
|
+
complete: wt
|
853
|
+
}, nn = function() {
|
858
854
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
859
855
|
}();
|
860
|
-
function
|
856
|
+
function on(e) {
|
861
857
|
return e;
|
862
858
|
}
|
863
|
-
function
|
864
|
-
return e.length === 0 ?
|
859
|
+
function sn(e) {
|
860
|
+
return e.length === 0 ? on : e.length === 1 ? e[0] : function(r) {
|
865
861
|
return e.reduce(function(n, i) {
|
866
862
|
return i(n);
|
867
863
|
}, r);
|
868
864
|
};
|
869
865
|
}
|
870
|
-
var
|
866
|
+
var St = function() {
|
871
867
|
function e(t) {
|
872
868
|
t && (this._subscribe = t);
|
873
869
|
}
|
@@ -875,7 +871,7 @@ var Tt = function() {
|
|
875
871
|
var r = new e();
|
876
872
|
return r.source = this, r.operator = t, r;
|
877
873
|
}, e.prototype.subscribe = function(t, r, n) {
|
878
|
-
var i = this, o =
|
874
|
+
var i = this, o = ln(t) ? t : new ot(t, r, n);
|
879
875
|
return Le(function() {
|
880
876
|
var s = i, a = s.operator, h = s.source;
|
881
877
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
@@ -888,7 +884,7 @@ var Tt = function() {
|
|
888
884
|
}
|
889
885
|
}, e.prototype.forEach = function(t, r) {
|
890
886
|
var n = this;
|
891
|
-
return r =
|
887
|
+
return r = Tt(r), new r(function(i, o) {
|
892
888
|
var s = new ot({
|
893
889
|
next: function(a) {
|
894
890
|
try {
|
@@ -905,15 +901,15 @@ var Tt = function() {
|
|
905
901
|
}, e.prototype._subscribe = function(t) {
|
906
902
|
var r;
|
907
903
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
908
|
-
}, e.prototype[
|
904
|
+
}, e.prototype[nn] = function() {
|
909
905
|
return this;
|
910
906
|
}, e.prototype.pipe = function() {
|
911
907
|
for (var t = [], r = 0; r < arguments.length; r++)
|
912
908
|
t[r] = arguments[r];
|
913
|
-
return
|
909
|
+
return sn(t)(this);
|
914
910
|
}, e.prototype.toPromise = function(t) {
|
915
911
|
var r = this;
|
916
|
-
return t =
|
912
|
+
return t = Tt(t), new t(function(n, i) {
|
917
913
|
var o;
|
918
914
|
r.subscribe(function(s) {
|
919
915
|
return o = s;
|
@@ -927,32 +923,32 @@ var Tt = function() {
|
|
927
923
|
return new e(t);
|
928
924
|
}, e;
|
929
925
|
}();
|
930
|
-
function
|
926
|
+
function Tt(e) {
|
931
927
|
var t;
|
932
|
-
return (t = e ??
|
928
|
+
return (t = e ?? qr.Promise) !== null && t !== void 0 ? t : Promise;
|
933
929
|
}
|
934
|
-
function
|
930
|
+
function an(e) {
|
935
931
|
return e && z(e.next) && z(e.error) && z(e.complete);
|
936
932
|
}
|
937
|
-
function
|
938
|
-
return e && e instanceof
|
933
|
+
function ln(e) {
|
934
|
+
return e && e instanceof rr || an(e) && tr(e);
|
939
935
|
}
|
940
|
-
var
|
936
|
+
var un = Kt(function(e) {
|
941
937
|
return function() {
|
942
938
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
943
939
|
};
|
944
|
-
}),
|
940
|
+
}), nr = function(e) {
|
945
941
|
Z(t, e);
|
946
942
|
function t() {
|
947
943
|
var r = e.call(this) || this;
|
948
944
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
949
945
|
}
|
950
946
|
return t.prototype.lift = function(r) {
|
951
|
-
var n = new
|
947
|
+
var n = new Ht(this, this);
|
952
948
|
return n.operator = r, n;
|
953
949
|
}, t.prototype._throwIfClosed = function() {
|
954
950
|
if (this.closed)
|
955
|
-
throw new
|
951
|
+
throw new un();
|
956
952
|
}, t.prototype.next = function(r) {
|
957
953
|
var n = this;
|
958
954
|
Le(function() {
|
@@ -1008,19 +1004,19 @@ var hn = er(function(e) {
|
|
1008
1004
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
1009
1005
|
}, t.prototype._innerSubscribe = function(r) {
|
1010
1006
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
1011
|
-
return o || s ?
|
1007
|
+
return o || s ? er : (this.currentObservers = null, a.push(r), new Ue(function() {
|
1012
1008
|
n.currentObservers = null, it(a, r);
|
1013
1009
|
}));
|
1014
1010
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
1015
1011
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
1016
1012
|
i ? r.error(o) : s && r.complete();
|
1017
1013
|
}, t.prototype.asObservable = function() {
|
1018
|
-
var r = new
|
1014
|
+
var r = new St();
|
1019
1015
|
return r.source = this, r;
|
1020
1016
|
}, t.create = function(r, n) {
|
1021
|
-
return new
|
1017
|
+
return new Ht(r, n);
|
1022
1018
|
}, t;
|
1023
|
-
}(
|
1019
|
+
}(St), Ht = function(e) {
|
1024
1020
|
Z(t, e);
|
1025
1021
|
function t(r, n) {
|
1026
1022
|
var i = e.call(this) || this;
|
@@ -1037,17 +1033,17 @@ var hn = er(function(e) {
|
|
1037
1033
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
1038
1034
|
}, t.prototype._subscribe = function(r) {
|
1039
1035
|
var n, i;
|
1040
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
1036
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : er;
|
1041
1037
|
}, t;
|
1042
|
-
}(
|
1038
|
+
}(nr), ir = {
|
1043
1039
|
now: function() {
|
1044
|
-
return (
|
1040
|
+
return (ir.delegate || Date).now();
|
1045
1041
|
},
|
1046
1042
|
delegate: void 0
|
1047
|
-
},
|
1043
|
+
}, hn = function(e) {
|
1048
1044
|
Z(t, e);
|
1049
1045
|
function t(r, n, i) {
|
1050
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
1046
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ir);
|
1051
1047
|
var o = e.call(this) || this;
|
1052
1048
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
1053
1049
|
}
|
@@ -1067,15 +1063,15 @@ var hn = er(function(e) {
|
|
1067
1063
|
l && o.splice(0, l + 1);
|
1068
1064
|
}
|
1069
1065
|
}, t;
|
1070
|
-
}(
|
1071
|
-
const
|
1072
|
-
if (
|
1073
|
-
const r = new
|
1074
|
-
|
1066
|
+
}(nr);
|
1067
|
+
const At = [], Pt = {}, cn = (e, t = 0) => {
|
1068
|
+
if (At.indexOf(e) == -1) {
|
1069
|
+
const r = new hn(t);
|
1070
|
+
Pt[e] = r, At.push(e);
|
1075
1071
|
}
|
1076
|
-
return
|
1072
|
+
return Pt[e];
|
1077
1073
|
}, he = [];
|
1078
|
-
function
|
1074
|
+
function fn(e, t) {
|
1079
1075
|
return {
|
1080
1076
|
subscribe: Ge(e, t).subscribe
|
1081
1077
|
};
|
@@ -1084,7 +1080,7 @@ function Ge(e, t = G) {
|
|
1084
1080
|
let r;
|
1085
1081
|
const n = /* @__PURE__ */ new Set();
|
1086
1082
|
function i(a) {
|
1087
|
-
if (
|
1083
|
+
if (zt(e, a) && (e = a, r)) {
|
1088
1084
|
const h = !he.length;
|
1089
1085
|
for (const l of n)
|
1090
1086
|
l[1](), he.push(l, e);
|
@@ -1111,7 +1107,7 @@ function ye(e, t, r) {
|
|
1111
1107
|
if (!i.every(Boolean))
|
1112
1108
|
throw new Error("derived() expects stores as input, got a falsy value");
|
1113
1109
|
const o = t.length < 2;
|
1114
|
-
return
|
1110
|
+
return fn(r, (s, a) => {
|
1115
1111
|
let h = !1;
|
1116
1112
|
const l = [];
|
1117
1113
|
let u = 0, d = G;
|
@@ -1122,7 +1118,7 @@ function ye(e, t, r) {
|
|
1122
1118
|
const b = t(n ? l[0] : l, s, a);
|
1123
1119
|
o ? s(b) : d = pt(b) ? b : G;
|
1124
1120
|
}, m = i.map(
|
1125
|
-
(b, _) =>
|
1121
|
+
(b, _) => Zt(
|
1126
1122
|
b,
|
1127
1123
|
(T) => {
|
1128
1124
|
l[_] = T, u &= ~(1 << _), h && c();
|
@@ -1137,70 +1133,70 @@ function ye(e, t, r) {
|
|
1137
1133
|
};
|
1138
1134
|
});
|
1139
1135
|
}
|
1140
|
-
function
|
1141
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1136
|
+
function dn(e) {
|
1137
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1142
1138
|
}
|
1143
|
-
var
|
1144
|
-
return
|
1139
|
+
var pn = function(t) {
|
1140
|
+
return mn(t) && !bn(t);
|
1145
1141
|
};
|
1146
|
-
function
|
1142
|
+
function mn(e) {
|
1147
1143
|
return !!e && typeof e == "object";
|
1148
1144
|
}
|
1149
|
-
function
|
1145
|
+
function bn(e) {
|
1150
1146
|
var t = Object.prototype.toString.call(e);
|
1151
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
1147
|
+
return t === "[object RegExp]" || t === "[object Date]" || vn(e);
|
1152
1148
|
}
|
1153
|
-
var
|
1154
|
-
function
|
1155
|
-
return e.$$typeof ===
|
1149
|
+
var gn = typeof Symbol == "function" && Symbol.for, yn = gn ? Symbol.for("react.element") : 60103;
|
1150
|
+
function vn(e) {
|
1151
|
+
return e.$$typeof === yn;
|
1156
1152
|
}
|
1157
|
-
function
|
1153
|
+
function _n(e) {
|
1158
1154
|
return Array.isArray(e) ? [] : {};
|
1159
1155
|
}
|
1160
1156
|
function Te(e, t) {
|
1161
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? pe(
|
1157
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? pe(_n(e), e, t) : e;
|
1162
1158
|
}
|
1163
|
-
function
|
1159
|
+
function xn(e, t, r) {
|
1164
1160
|
return e.concat(t).map(function(n) {
|
1165
1161
|
return Te(n, r);
|
1166
1162
|
});
|
1167
1163
|
}
|
1168
|
-
function
|
1164
|
+
function En(e, t) {
|
1169
1165
|
if (!t.customMerge)
|
1170
1166
|
return pe;
|
1171
1167
|
var r = t.customMerge(e);
|
1172
1168
|
return typeof r == "function" ? r : pe;
|
1173
1169
|
}
|
1174
|
-
function
|
1170
|
+
function wn(e) {
|
1175
1171
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
1176
1172
|
return Object.propertyIsEnumerable.call(e, t);
|
1177
1173
|
}) : [];
|
1178
1174
|
}
|
1179
|
-
function
|
1180
|
-
return Object.keys(e).concat(
|
1175
|
+
function Ct(e) {
|
1176
|
+
return Object.keys(e).concat(wn(e));
|
1181
1177
|
}
|
1182
|
-
function
|
1178
|
+
function or(e, t) {
|
1183
1179
|
try {
|
1184
1180
|
return t in e;
|
1185
1181
|
} catch {
|
1186
1182
|
return !1;
|
1187
1183
|
}
|
1188
1184
|
}
|
1189
|
-
function
|
1190
|
-
return
|
1185
|
+
function Sn(e, t) {
|
1186
|
+
return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
1191
1187
|
}
|
1192
|
-
function
|
1188
|
+
function Tn(e, t, r) {
|
1193
1189
|
var n = {};
|
1194
|
-
return r.isMergeableObject(e) &&
|
1190
|
+
return r.isMergeableObject(e) && Ct(e).forEach(function(i) {
|
1195
1191
|
n[i] = Te(e[i], r);
|
1196
|
-
}),
|
1197
|
-
|
1192
|
+
}), Ct(t).forEach(function(i) {
|
1193
|
+
Sn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
|
1198
1194
|
}), n;
|
1199
1195
|
}
|
1200
1196
|
function pe(e, t, r) {
|
1201
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
1197
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || xn, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = Te;
|
1202
1198
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
1203
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
1199
|
+
return o ? n ? r.arrayMerge(e, t, r) : Tn(e, t, r) : Te(t, r);
|
1204
1200
|
}
|
1205
1201
|
pe.all = function(t, r) {
|
1206
1202
|
if (!Array.isArray(t))
|
@@ -1209,42 +1205,39 @@ pe.all = function(t, r) {
|
|
1209
1205
|
return pe(n, i, r);
|
1210
1206
|
}, {});
|
1211
1207
|
};
|
1212
|
-
var
|
1213
|
-
const
|
1208
|
+
var Hn = pe, An = Hn;
|
1209
|
+
const Pn = /* @__PURE__ */ dn(An);
|
1214
1210
|
function ze(e, t) {
|
1215
|
-
var r = t && t.cache ? t.cache :
|
1211
|
+
var r = t && t.cache ? t.cache : Nn, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : Bn;
|
1216
1212
|
return i(e, {
|
1217
1213
|
cache: r,
|
1218
1214
|
serializer: n
|
1219
1215
|
});
|
1220
1216
|
}
|
1221
|
-
function
|
1217
|
+
function Cn(e) {
|
1222
1218
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
1223
1219
|
}
|
1224
|
-
function
|
1225
|
-
var i =
|
1220
|
+
function Fn(e, t, r, n) {
|
1221
|
+
var i = Cn(n) ? n : r(n), o = t.get(i);
|
1226
1222
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
1227
1223
|
}
|
1228
|
-
function
|
1224
|
+
function sr(e, t, r) {
|
1229
1225
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
1230
1226
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
1231
1227
|
}
|
1232
|
-
function
|
1228
|
+
function ar(e, t, r, n, i) {
|
1233
1229
|
return r.bind(t, e, n, i);
|
1234
1230
|
}
|
1235
1231
|
function Bn(e, t) {
|
1236
|
-
var r = e.length === 1 ?
|
1237
|
-
return
|
1232
|
+
var r = e.length === 1 ? Fn : sr;
|
1233
|
+
return ar(e, this, r, t.cache.create(), t.serializer);
|
1238
1234
|
}
|
1239
1235
|
function On(e, t) {
|
1240
|
-
return
|
1241
|
-
}
|
1242
|
-
function In(e, t) {
|
1243
|
-
return mt(e, this, ar, t.cache.create(), t.serializer);
|
1236
|
+
return ar(e, this, sr, t.cache.create(), t.serializer);
|
1244
1237
|
}
|
1245
|
-
var
|
1238
|
+
var In = function() {
|
1246
1239
|
return JSON.stringify(arguments);
|
1247
|
-
},
|
1240
|
+
}, Ln = (
|
1248
1241
|
/** @class */
|
1249
1242
|
function() {
|
1250
1243
|
function e() {
|
@@ -1256,13 +1249,12 @@ var Ln = function() {
|
|
1256
1249
|
this.cache[t] = r;
|
1257
1250
|
}, e;
|
1258
1251
|
}()
|
1259
|
-
),
|
1252
|
+
), Nn = {
|
1260
1253
|
create: function() {
|
1261
|
-
return new
|
1254
|
+
return new Ln();
|
1262
1255
|
}
|
1263
1256
|
}, Ze = {
|
1264
|
-
variadic: On
|
1265
|
-
monadic: In
|
1257
|
+
variadic: On
|
1266
1258
|
}, x;
|
1267
1259
|
(function(e) {
|
1268
1260
|
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";
|
@@ -1275,41 +1267,41 @@ var me;
|
|
1275
1267
|
(function(e) {
|
1276
1268
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
1277
1269
|
})(me || (me = {}));
|
1278
|
-
function
|
1270
|
+
function Ft(e) {
|
1279
1271
|
return e.type === B.literal;
|
1280
1272
|
}
|
1281
|
-
function
|
1273
|
+
function Mn(e) {
|
1282
1274
|
return e.type === B.argument;
|
1283
1275
|
}
|
1284
|
-
function
|
1276
|
+
function lr(e) {
|
1285
1277
|
return e.type === B.number;
|
1286
1278
|
}
|
1287
|
-
function
|
1279
|
+
function ur(e) {
|
1288
1280
|
return e.type === B.date;
|
1289
1281
|
}
|
1290
|
-
function
|
1282
|
+
function hr(e) {
|
1291
1283
|
return e.type === B.time;
|
1292
1284
|
}
|
1293
|
-
function
|
1285
|
+
function cr(e) {
|
1294
1286
|
return e.type === B.select;
|
1295
1287
|
}
|
1296
|
-
function
|
1288
|
+
function fr(e) {
|
1297
1289
|
return e.type === B.plural;
|
1298
1290
|
}
|
1299
|
-
function
|
1291
|
+
function Rn(e) {
|
1300
1292
|
return e.type === B.pound;
|
1301
1293
|
}
|
1302
|
-
function
|
1294
|
+
function dr(e) {
|
1303
1295
|
return e.type === B.tag;
|
1304
1296
|
}
|
1305
|
-
function
|
1297
|
+
function pr(e) {
|
1306
1298
|
return !!(e && typeof e == "object" && e.type === me.number);
|
1307
1299
|
}
|
1308
1300
|
function st(e) {
|
1309
1301
|
return !!(e && typeof e == "object" && e.type === me.dateTime);
|
1310
1302
|
}
|
1311
|
-
var
|
1312
|
-
function
|
1303
|
+
var mr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, $n = /(?:[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;
|
1304
|
+
function Dn(e) {
|
1313
1305
|
var t = {};
|
1314
1306
|
return e.replace($n, function(r) {
|
1315
1307
|
var n = r.length;
|
@@ -1400,11 +1392,11 @@ function Un(e) {
|
|
1400
1392
|
return "";
|
1401
1393
|
}), t;
|
1402
1394
|
}
|
1403
|
-
var
|
1404
|
-
function
|
1395
|
+
var Un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1396
|
+
function Gn(e) {
|
1405
1397
|
if (e.length === 0)
|
1406
1398
|
throw new Error("Number skeleton cannot be empty");
|
1407
|
-
for (var t = e.split(
|
1399
|
+
for (var t = e.split(Un).filter(function(c) {
|
1408
1400
|
return c.length > 0;
|
1409
1401
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
1410
1402
|
var o = i[n], s = o.split("/");
|
@@ -1419,17 +1411,17 @@ function kn(e) {
|
|
1419
1411
|
}
|
1420
1412
|
return r;
|
1421
1413
|
}
|
1422
|
-
function
|
1414
|
+
function kn(e) {
|
1423
1415
|
return e.replace(/^(.*?)-/, "");
|
1424
1416
|
}
|
1425
|
-
var
|
1426
|
-
function
|
1417
|
+
var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, br = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
|
1418
|
+
function Ot(e) {
|
1427
1419
|
var t = {};
|
1428
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
1420
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(br, function(r, n, i) {
|
1429
1421
|
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)), "";
|
1430
1422
|
}), t;
|
1431
1423
|
}
|
1432
|
-
function
|
1424
|
+
function yr(e) {
|
1433
1425
|
switch (e) {
|
1434
1426
|
case "sign-auto":
|
1435
1427
|
return {
|
@@ -1469,7 +1461,7 @@ function vr(e) {
|
|
1469
1461
|
};
|
1470
1462
|
}
|
1471
1463
|
}
|
1472
|
-
function
|
1464
|
+
function Vn(e) {
|
1473
1465
|
var t;
|
1474
1466
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
1475
1467
|
notation: "engineering"
|
@@ -1477,17 +1469,17 @@ function Xn(e) {
|
|
1477
1469
|
notation: "scientific"
|
1478
1470
|
}, e = e.slice(1)), t) {
|
1479
1471
|
var r = e.slice(0, 2);
|
1480
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
1472
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gr.test(e))
|
1481
1473
|
throw new Error("Malformed concise eng/scientific notation");
|
1482
1474
|
t.minimumIntegerDigits = e.length;
|
1483
1475
|
}
|
1484
1476
|
return t;
|
1485
1477
|
}
|
1486
|
-
function
|
1487
|
-
var t = {}, r =
|
1478
|
+
function It(e) {
|
1479
|
+
var t = {}, r = yr(e);
|
1488
1480
|
return r || t;
|
1489
1481
|
}
|
1490
|
-
function
|
1482
|
+
function Xn(e) {
|
1491
1483
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1492
1484
|
var i = n[r];
|
1493
1485
|
switch (i.stem) {
|
@@ -1511,7 +1503,7 @@ function Wn(e) {
|
|
1511
1503
|
continue;
|
1512
1504
|
case "measure-unit":
|
1513
1505
|
case "unit":
|
1514
|
-
t.style = "unit", t.unit =
|
1506
|
+
t.style = "unit", t.unit = kn(i.options[0]);
|
1515
1507
|
continue;
|
1516
1508
|
case "compact-short":
|
1517
1509
|
case "K":
|
@@ -1523,12 +1515,12 @@ function Wn(e) {
|
|
1523
1515
|
continue;
|
1524
1516
|
case "scientific":
|
1525
1517
|
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
1526
|
-
return S(S({}, h),
|
1518
|
+
return S(S({}, h), It(l));
|
1527
1519
|
}, {}));
|
1528
1520
|
continue;
|
1529
1521
|
case "engineering":
|
1530
1522
|
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
1531
|
-
return S(S({}, h),
|
1523
|
+
return S(S({}, h), It(l));
|
1532
1524
|
}, {}));
|
1533
1525
|
continue;
|
1534
1526
|
case "notation-simple":
|
@@ -1573,7 +1565,7 @@ function Wn(e) {
|
|
1573
1565
|
case "integer-width":
|
1574
1566
|
if (i.options.length > 1)
|
1575
1567
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1576
|
-
i.options[0].replace(
|
1568
|
+
i.options[0].replace(jn, function(h, l, u, d, c, m) {
|
1577
1569
|
if (l)
|
1578
1570
|
t.minimumIntegerDigits = u.length;
|
1579
1571
|
else {
|
@@ -1586,27 +1578,27 @@ function Wn(e) {
|
|
1586
1578
|
});
|
1587
1579
|
continue;
|
1588
1580
|
}
|
1589
|
-
if (
|
1581
|
+
if (gr.test(i.stem)) {
|
1590
1582
|
t.minimumIntegerDigits = i.stem.length;
|
1591
1583
|
continue;
|
1592
1584
|
}
|
1593
|
-
if (
|
1585
|
+
if (Bt.test(i.stem)) {
|
1594
1586
|
if (i.options.length > 1)
|
1595
1587
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1596
|
-
i.stem.replace(
|
1588
|
+
i.stem.replace(Bt, function(h, l, u, d, c, m) {
|
1597
1589
|
return u === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
1598
1590
|
});
|
1599
1591
|
var o = i.options[0];
|
1600
|
-
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t),
|
1592
|
+
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ot(o)));
|
1601
1593
|
continue;
|
1602
1594
|
}
|
1603
|
-
if (
|
1604
|
-
t = S(S({}, t),
|
1595
|
+
if (br.test(i.stem)) {
|
1596
|
+
t = S(S({}, t), Ot(i.stem));
|
1605
1597
|
continue;
|
1606
1598
|
}
|
1607
|
-
var s =
|
1599
|
+
var s = yr(i.stem);
|
1608
1600
|
s && (t = S(S({}, t), s));
|
1609
|
-
var a =
|
1601
|
+
var a = Vn(i.stem);
|
1610
1602
|
a && (t = S(S({}, t), a));
|
1611
1603
|
}
|
1612
1604
|
return t;
|
@@ -3026,13 +3018,13 @@ var Oe = {
|
|
3026
3018
|
"h"
|
3027
3019
|
]
|
3028
3020
|
};
|
3029
|
-
function
|
3021
|
+
function Wn(e, t) {
|
3030
3022
|
for (var r = "", n = 0; n < e.length; n++) {
|
3031
3023
|
var i = e.charAt(n);
|
3032
3024
|
if (i === "j") {
|
3033
3025
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
3034
3026
|
o++, n++;
|
3035
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l =
|
3027
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = zn(t);
|
3036
3028
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
3037
3029
|
r += h;
|
3038
3030
|
for (; s-- > 0; )
|
@@ -3041,7 +3033,7 @@ function zn(e, t) {
|
|
3041
3033
|
}
|
3042
3034
|
return r;
|
3043
3035
|
}
|
3044
|
-
function
|
3036
|
+
function zn(e) {
|
3045
3037
|
var t = e.hourCycle;
|
3046
3038
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
3047
3039
|
e.hourCycles && // @ts-ignore
|
@@ -3063,20 +3055,20 @@ function Zn(e) {
|
|
3063
3055
|
var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
|
3064
3056
|
return i[0];
|
3065
3057
|
}
|
3066
|
-
var Je,
|
3058
|
+
var Je, Zn = new RegExp("^".concat(mr.source, "*")), Jn = new RegExp("".concat(mr.source, "*$"));
|
3067
3059
|
function w(e, t) {
|
3068
3060
|
return { start: e, end: t };
|
3069
3061
|
}
|
3070
|
-
var
|
3062
|
+
var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String.fromCodePoint, Yn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, ei = !!String.prototype.trimStart, ti = !!String.prototype.trimEnd, ri = !!Number.isSafeInteger, ni = ri ? Number.isSafeInteger : function(e) {
|
3071
3063
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
3072
3064
|
}, at = !0;
|
3073
3065
|
try {
|
3074
|
-
var
|
3075
|
-
at = ((Je =
|
3066
|
+
var ii = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3067
|
+
at = ((Je = ii.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
|
3076
3068
|
} catch {
|
3077
3069
|
at = !1;
|
3078
3070
|
}
|
3079
|
-
var
|
3071
|
+
var Lt = Qn ? (
|
3080
3072
|
// Native
|
3081
3073
|
function(t, r, n) {
|
3082
3074
|
return t.startsWith(r, n);
|
@@ -3086,7 +3078,7 @@ var Nt = qn ? (
|
|
3086
3078
|
function(t, r, n) {
|
3087
3079
|
return t.slice(n, n + r.length) === r;
|
3088
3080
|
}
|
3089
|
-
), lt =
|
3081
|
+
), lt = qn ? String.fromCodePoint : (
|
3090
3082
|
// IE11
|
3091
3083
|
function() {
|
3092
3084
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -3098,9 +3090,9 @@ var Nt = qn ? (
|
|
3098
3090
|
}
|
3099
3091
|
return n;
|
3100
3092
|
}
|
3101
|
-
),
|
3093
|
+
), Nt = (
|
3102
3094
|
// native
|
3103
|
-
|
3095
|
+
Yn ? Object.fromEntries : (
|
3104
3096
|
// Ponyfill
|
3105
3097
|
function(t) {
|
3106
3098
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -3110,7 +3102,7 @@ var Nt = qn ? (
|
|
3110
3102
|
return r;
|
3111
3103
|
}
|
3112
3104
|
)
|
3113
|
-
),
|
3105
|
+
), vr = Kn ? (
|
3114
3106
|
// Native
|
3115
3107
|
function(t, r) {
|
3116
3108
|
return t.codePointAt(r);
|
@@ -3124,7 +3116,7 @@ var Nt = qn ? (
|
|
3124
3116
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
3125
3117
|
}
|
3126
3118
|
}
|
3127
|
-
),
|
3119
|
+
), oi = ei ? (
|
3128
3120
|
// Native
|
3129
3121
|
function(t) {
|
3130
3122
|
return t.trimStart();
|
@@ -3132,9 +3124,9 @@ var Nt = qn ? (
|
|
3132
3124
|
) : (
|
3133
3125
|
// Ponyfill
|
3134
3126
|
function(t) {
|
3135
|
-
return t.replace(
|
3127
|
+
return t.replace(Zn, "");
|
3136
3128
|
}
|
3137
|
-
),
|
3129
|
+
), si = ti ? (
|
3138
3130
|
// Native
|
3139
3131
|
function(t) {
|
3140
3132
|
return t.trimEnd();
|
@@ -3142,32 +3134,32 @@ var Nt = qn ? (
|
|
3142
3134
|
) : (
|
3143
3135
|
// Ponyfill
|
3144
3136
|
function(t) {
|
3145
|
-
return t.replace(
|
3137
|
+
return t.replace(Jn, "");
|
3146
3138
|
}
|
3147
3139
|
);
|
3148
|
-
function
|
3140
|
+
function _r(e, t) {
|
3149
3141
|
return new RegExp(e, t);
|
3150
3142
|
}
|
3151
3143
|
var ut;
|
3152
3144
|
if (at) {
|
3153
|
-
var
|
3145
|
+
var Mt = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3154
3146
|
ut = function(t, r) {
|
3155
3147
|
var n;
|
3156
|
-
|
3157
|
-
var i =
|
3148
|
+
Mt.lastIndex = r;
|
3149
|
+
var i = Mt.exec(t);
|
3158
3150
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
3159
3151
|
};
|
3160
3152
|
} else
|
3161
3153
|
ut = function(t, r) {
|
3162
3154
|
for (var n = []; ; ) {
|
3163
|
-
var i =
|
3164
|
-
if (i === void 0 ||
|
3155
|
+
var i = vr(t, r);
|
3156
|
+
if (i === void 0 || xr(i) || hi(i))
|
3165
3157
|
break;
|
3166
3158
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
3167
3159
|
}
|
3168
3160
|
return lt.apply(void 0, n);
|
3169
3161
|
};
|
3170
|
-
var
|
3162
|
+
var ai = (
|
3171
3163
|
/** @class */
|
3172
3164
|
function() {
|
3173
3165
|
function e(t, r) {
|
@@ -3249,7 +3241,7 @@ var li = (
|
|
3249
3241
|
return this.error(x.INVALID_TAG, w(n, this.clonePosition()));
|
3250
3242
|
}, e.prototype.parseTagName = function() {
|
3251
3243
|
var t = this.offset();
|
3252
|
-
for (this.bump(); !this.isEOF() &&
|
3244
|
+
for (this.bump(); !this.isEOF() && ui(this.char()); )
|
3253
3245
|
this.bump();
|
3254
3246
|
return this.message.slice(t, this.offset());
|
3255
3247
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -3278,7 +3270,7 @@ var li = (
|
|
3278
3270
|
};
|
3279
3271
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
3280
3272
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
3281
|
-
!
|
3273
|
+
!li(this.peek() || 0)) ? (this.bump(), "<") : null;
|
3282
3274
|
}, e.prototype.tryParseQuote = function(t) {
|
3283
3275
|
if (this.isEOF() || this.char() !== 39)
|
3284
3276
|
return null;
|
@@ -3365,7 +3357,7 @@ var li = (
|
|
3365
3357
|
var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
3366
3358
|
if (d.err)
|
3367
3359
|
return d;
|
3368
|
-
var c =
|
3360
|
+
var c = si(d.val);
|
3369
3361
|
if (c.length === 0)
|
3370
3362
|
return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
3371
3363
|
var m = w(u, this.clonePosition());
|
@@ -3375,8 +3367,8 @@ var li = (
|
|
3375
3367
|
if (b.err)
|
3376
3368
|
return b;
|
3377
3369
|
var _ = w(i, this.clonePosition());
|
3378
|
-
if (l &&
|
3379
|
-
var T =
|
3370
|
+
if (l && Lt(l?.style, "::", 0)) {
|
3371
|
+
var T = oi(l.style.slice(2));
|
3380
3372
|
if (a === "number") {
|
3381
3373
|
var d = this.parseNumberSkeletonFromString(T, l.styleLocation);
|
3382
3374
|
return d.err ? d : {
|
@@ -3387,12 +3379,12 @@ var li = (
|
|
3387
3379
|
if (T.length === 0)
|
3388
3380
|
return this.error(x.EXPECT_DATE_TIME_SKELETON, _);
|
3389
3381
|
var y = T;
|
3390
|
-
this.locale && (y =
|
3382
|
+
this.locale && (y = Wn(T, this.locale));
|
3391
3383
|
var c = {
|
3392
3384
|
type: me.dateTime,
|
3393
3385
|
pattern: y,
|
3394
3386
|
location: l.styleLocation,
|
3395
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3387
|
+
parsedOptions: this.shouldParseSkeletons ? Dn(y) : {}
|
3396
3388
|
}, H = a === "date" ? B.date : B.time;
|
3397
3389
|
return {
|
3398
3390
|
val: { type: H, value: n, location: _, style: c },
|
@@ -3438,7 +3430,7 @@ var li = (
|
|
3438
3430
|
val: {
|
3439
3431
|
type: B.select,
|
3440
3432
|
value: n,
|
3441
|
-
options:
|
3433
|
+
options: Nt(O.val),
|
3442
3434
|
location: P
|
3443
3435
|
},
|
3444
3436
|
err: null
|
@@ -3446,7 +3438,7 @@ var li = (
|
|
3446
3438
|
val: {
|
3447
3439
|
type: B.plural,
|
3448
3440
|
value: n,
|
3449
|
-
options:
|
3441
|
+
options: Nt(O.val),
|
3450
3442
|
offset: L,
|
3451
3443
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
3452
3444
|
location: P
|
@@ -3497,7 +3489,7 @@ var li = (
|
|
3497
3489
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3498
3490
|
var n = [];
|
3499
3491
|
try {
|
3500
|
-
n =
|
3492
|
+
n = Gn(t);
|
3501
3493
|
} catch {
|
3502
3494
|
return this.error(x.INVALID_NUMBER_SKELETON, r);
|
3503
3495
|
}
|
@@ -3506,7 +3498,7 @@ var li = (
|
|
3506
3498
|
type: me.number,
|
3507
3499
|
tokens: n,
|
3508
3500
|
location: r,
|
3509
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3501
|
+
parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
|
3510
3502
|
},
|
3511
3503
|
err: null
|
3512
3504
|
};
|
@@ -3554,7 +3546,7 @@ var li = (
|
|
3554
3546
|
break;
|
3555
3547
|
}
|
3556
3548
|
var h = w(i, this.clonePosition());
|
3557
|
-
return o ? (s *= n,
|
3549
|
+
return o ? (s *= n, ni(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
3558
3550
|
}, e.prototype.offset = function() {
|
3559
3551
|
return this.position.offset;
|
3560
3552
|
}, e.prototype.isEOF = function() {
|
@@ -3569,7 +3561,7 @@ var li = (
|
|
3569
3561
|
var t = this.position.offset;
|
3570
3562
|
if (t >= this.message.length)
|
3571
3563
|
throw Error("out of bound");
|
3572
|
-
var r =
|
3564
|
+
var r = vr(this.message, t);
|
3573
3565
|
if (r === void 0)
|
3574
3566
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3575
3567
|
return r;
|
@@ -3588,7 +3580,7 @@ var li = (
|
|
3588
3580
|
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);
|
3589
3581
|
}
|
3590
3582
|
}, e.prototype.bumpIf = function(t) {
|
3591
|
-
if (
|
3583
|
+
if (Lt(this.message, t, this.offset())) {
|
3592
3584
|
for (var r = 0; r < t.length; r++)
|
3593
3585
|
this.bump();
|
3594
3586
|
return !0;
|
@@ -3610,7 +3602,7 @@ var li = (
|
|
3610
3602
|
break;
|
3611
3603
|
}
|
3612
3604
|
}, e.prototype.bumpSpace = function() {
|
3613
|
-
for (; !this.isEOF() &&
|
3605
|
+
for (; !this.isEOF() && xr(this.char()); )
|
3614
3606
|
this.bump();
|
3615
3607
|
}, e.prototype.peek = function() {
|
3616
3608
|
if (this.isEOF())
|
@@ -3623,29 +3615,29 @@ var li = (
|
|
3623
3615
|
function ht(e) {
|
3624
3616
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3625
3617
|
}
|
3626
|
-
function
|
3618
|
+
function li(e) {
|
3627
3619
|
return ht(e) || e === 47;
|
3628
3620
|
}
|
3629
|
-
function
|
3621
|
+
function ui(e) {
|
3630
3622
|
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;
|
3631
3623
|
}
|
3632
|
-
function
|
3624
|
+
function xr(e) {
|
3633
3625
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3634
3626
|
}
|
3635
|
-
function
|
3627
|
+
function hi(e) {
|
3636
3628
|
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;
|
3637
3629
|
}
|
3638
3630
|
function ct(e) {
|
3639
3631
|
e.forEach(function(t) {
|
3640
|
-
if (delete t.location,
|
3632
|
+
if (delete t.location, cr(t) || fr(t))
|
3641
3633
|
for (var r in t.options)
|
3642
3634
|
delete t.options[r].location, ct(t.options[r].value);
|
3643
|
-
else
|
3635
|
+
else lr(t) && pr(t.style) || (ur(t) || hr(t)) && st(t.style) ? delete t.style.location : dr(t) && ct(t.children);
|
3644
3636
|
});
|
3645
3637
|
}
|
3646
|
-
function
|
3638
|
+
function ci(e, t) {
|
3647
3639
|
t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3648
|
-
var r = new
|
3640
|
+
var r = new ai(e, t).parse();
|
3649
3641
|
if (r.err) {
|
3650
3642
|
var n = SyntaxError(x[r.err.kind]);
|
3651
3643
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
@@ -3668,7 +3660,7 @@ var ke = (
|
|
3668
3660
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3669
3661
|
}, t;
|
3670
3662
|
}(Error)
|
3671
|
-
),
|
3663
|
+
), Rt = (
|
3672
3664
|
/** @class */
|
3673
3665
|
function(e) {
|
3674
3666
|
Z(t, e);
|
@@ -3677,7 +3669,7 @@ var ke = (
|
|
3677
3669
|
}
|
3678
3670
|
return t;
|
3679
3671
|
}(ke)
|
3680
|
-
),
|
3672
|
+
), fi = (
|
3681
3673
|
/** @class */
|
3682
3674
|
function(e) {
|
3683
3675
|
Z(t, e);
|
@@ -3686,7 +3678,7 @@ var ke = (
|
|
3686
3678
|
}
|
3687
3679
|
return t;
|
3688
3680
|
}(ke)
|
3689
|
-
),
|
3681
|
+
), di = (
|
3690
3682
|
/** @class */
|
3691
3683
|
function(e) {
|
3692
3684
|
Z(t, e);
|
@@ -3699,17 +3691,17 @@ var ke = (
|
|
3699
3691
|
(function(e) {
|
3700
3692
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3701
3693
|
})(R || (R = {}));
|
3702
|
-
function
|
3694
|
+
function pi(e) {
|
3703
3695
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3704
3696
|
var n = t[t.length - 1];
|
3705
3697
|
return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
|
3706
3698
|
}, []);
|
3707
3699
|
}
|
3708
|
-
function
|
3700
|
+
function mi(e) {
|
3709
3701
|
return typeof e == "function";
|
3710
3702
|
}
|
3711
3703
|
function Ne(e, t, r, n, i, o, s) {
|
3712
|
-
if (e.length === 1 &&
|
3704
|
+
if (e.length === 1 && Ft(e[0]))
|
3713
3705
|
return [
|
3714
3706
|
{
|
3715
3707
|
type: R.literal,
|
@@ -3718,14 +3710,14 @@ function Ne(e, t, r, n, i, o, s) {
|
|
3718
3710
|
];
|
3719
3711
|
for (var a = [], h = 0, l = e; h < l.length; h++) {
|
3720
3712
|
var u = l[h];
|
3721
|
-
if (
|
3713
|
+
if (Ft(u)) {
|
3722
3714
|
a.push({
|
3723
3715
|
type: R.literal,
|
3724
3716
|
value: u.value
|
3725
3717
|
});
|
3726
3718
|
continue;
|
3727
3719
|
}
|
3728
|
-
if (
|
3720
|
+
if (Rn(u)) {
|
3729
3721
|
typeof o == "number" && a.push({
|
3730
3722
|
type: R.literal,
|
3731
3723
|
value: r.getNumberFormat(t).format(o)
|
@@ -3734,16 +3726,16 @@ function Ne(e, t, r, n, i, o, s) {
|
|
3734
3726
|
}
|
3735
3727
|
var d = u.value;
|
3736
3728
|
if (!(i && d in i))
|
3737
|
-
throw new
|
3729
|
+
throw new di(d, s);
|
3738
3730
|
var c = i[d];
|
3739
|
-
if (
|
3731
|
+
if (Mn(u)) {
|
3740
3732
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3741
3733
|
type: typeof c == "string" ? R.literal : R.object,
|
3742
3734
|
value: c
|
3743
3735
|
});
|
3744
3736
|
continue;
|
3745
3737
|
}
|
3746
|
-
if (
|
3738
|
+
if (ur(u)) {
|
3747
3739
|
var m = typeof u.style == "string" ? n.date[u.style] : st(u.style) ? u.style.parsedOptions : void 0;
|
3748
3740
|
a.push({
|
3749
3741
|
type: R.literal,
|
@@ -3751,7 +3743,7 @@ function Ne(e, t, r, n, i, o, s) {
|
|
3751
3743
|
});
|
3752
3744
|
continue;
|
3753
3745
|
}
|
3754
|
-
if (
|
3746
|
+
if (hr(u)) {
|
3755
3747
|
var m = typeof u.style == "string" ? n.time[u.style] : st(u.style) ? u.style.parsedOptions : n.time.medium;
|
3756
3748
|
a.push({
|
3757
3749
|
type: R.literal,
|
@@ -3759,18 +3751,18 @@ function Ne(e, t, r, n, i, o, s) {
|
|
3759
3751
|
});
|
3760
3752
|
continue;
|
3761
3753
|
}
|
3762
|
-
if (
|
3763
|
-
var m = typeof u.style == "string" ? n.number[u.style] :
|
3754
|
+
if (lr(u)) {
|
3755
|
+
var m = typeof u.style == "string" ? n.number[u.style] : pr(u.style) ? u.style.parsedOptions : void 0;
|
3764
3756
|
m && m.scale && (c = c * (m.scale || 1)), a.push({
|
3765
3757
|
type: R.literal,
|
3766
3758
|
value: r.getNumberFormat(t, m).format(c)
|
3767
3759
|
});
|
3768
3760
|
continue;
|
3769
3761
|
}
|
3770
|
-
if (
|
3762
|
+
if (dr(u)) {
|
3771
3763
|
var b = u.children, _ = u.value, T = i[_];
|
3772
|
-
if (!
|
3773
|
-
throw new
|
3764
|
+
if (!mi(T))
|
3765
|
+
throw new fi(_, "function", s);
|
3774
3766
|
var y = Ne(b, t, r, n, i, o), H = T(y.map(function(L) {
|
3775
3767
|
return L.value;
|
3776
3768
|
}));
|
@@ -3781,14 +3773,14 @@ function Ne(e, t, r, n, i, o, s) {
|
|
3781
3773
|
};
|
3782
3774
|
}));
|
3783
3775
|
}
|
3784
|
-
if (
|
3776
|
+
if (cr(u)) {
|
3785
3777
|
var E = u.options[c] || u.options.other;
|
3786
3778
|
if (!E)
|
3787
|
-
throw new
|
3779
|
+
throw new Rt(u.value, c, Object.keys(u.options), s);
|
3788
3780
|
a.push.apply(a, Ne(E.value, t, r, n, i));
|
3789
3781
|
continue;
|
3790
3782
|
}
|
3791
|
-
if (
|
3783
|
+
if (fr(u)) {
|
3792
3784
|
var E = u.options["=".concat(c)];
|
3793
3785
|
if (!E) {
|
3794
3786
|
if (!Intl.PluralRules)
|
@@ -3799,21 +3791,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3799
3791
|
E = u.options[N] || u.options.other;
|
3800
3792
|
}
|
3801
3793
|
if (!E)
|
3802
|
-
throw new
|
3794
|
+
throw new Rt(u.value, c, Object.keys(u.options), s);
|
3803
3795
|
a.push.apply(a, Ne(E.value, t, r, n, i, c - (u.offset || 0)));
|
3804
3796
|
continue;
|
3805
3797
|
}
|
3806
3798
|
}
|
3807
|
-
return
|
3799
|
+
return pi(a);
|
3808
3800
|
}
|
3809
|
-
function
|
3801
|
+
function bi(e, t) {
|
3810
3802
|
return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3811
3803
|
return r[n] = S(S({}, e[n]), t[n] || {}), r;
|
3812
3804
|
}, {})) : e;
|
3813
3805
|
}
|
3814
|
-
function
|
3806
|
+
function gi(e, t) {
|
3815
3807
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3816
|
-
return r[n] =
|
3808
|
+
return r[n] = bi(e[n], t[n]), r;
|
3817
3809
|
}, S({}, e)) : e;
|
3818
3810
|
}
|
3819
3811
|
function Qe(e) {
|
@@ -3830,7 +3822,7 @@ function Qe(e) {
|
|
3830
3822
|
}
|
3831
3823
|
};
|
3832
3824
|
}
|
3833
|
-
function
|
3825
|
+
function yi(e) {
|
3834
3826
|
return e === void 0 && (e = {
|
3835
3827
|
number: {},
|
3836
3828
|
dateTime: {},
|
@@ -3862,7 +3854,7 @@ function vi(e) {
|
|
3862
3854
|
})
|
3863
3855
|
};
|
3864
3856
|
}
|
3865
|
-
var
|
3857
|
+
var vi = (
|
3866
3858
|
/** @class */
|
3867
3859
|
function() {
|
3868
3860
|
function e(t, r, n, i) {
|
@@ -3894,13 +3886,13 @@ var _i = (
|
|
3894
3886
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3895
3887
|
var s = i || {};
|
3896
3888
|
s.formatters;
|
3897
|
-
var a =
|
3889
|
+
var a = Qr(s, ["formatters"]);
|
3898
3890
|
this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
|
3899
3891
|
} else
|
3900
3892
|
this.ast = t;
|
3901
3893
|
if (!Array.isArray(this.ast))
|
3902
3894
|
throw new TypeError("A message must be provided as a String or AST.");
|
3903
|
-
this.formats =
|
3895
|
+
this.formats = gi(e.formats, n), this.formatters = i && i.formatters || yi(this.formatterCache);
|
3904
3896
|
}
|
3905
3897
|
return Object.defineProperty(e, "defaultLocale", {
|
3906
3898
|
get: function() {
|
@@ -3913,7 +3905,7 @@ var _i = (
|
|
3913
3905
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3914
3906
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3915
3907
|
}
|
3916
|
-
}, e.__parse =
|
3908
|
+
}, e.__parse = ci, e.formats = {
|
3917
3909
|
number: {
|
3918
3910
|
integer: {
|
3919
3911
|
maximumFractionDigits: 0
|
@@ -3974,7 +3966,7 @@ var _i = (
|
|
3974
3966
|
}, e;
|
3975
3967
|
}()
|
3976
3968
|
);
|
3977
|
-
function
|
3969
|
+
function _i(e, t) {
|
3978
3970
|
if (t == null)
|
3979
3971
|
return;
|
3980
3972
|
if (t in e)
|
@@ -3995,60 +3987,60 @@ function xi(e, t) {
|
|
3995
3987
|
n = void 0;
|
3996
3988
|
return n;
|
3997
3989
|
}
|
3998
|
-
const Q = {},
|
3990
|
+
const Q = {}, xi = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), Er = (e, t) => {
|
3999
3991
|
if (t == null)
|
4000
3992
|
return;
|
4001
3993
|
if (t in Q && e in Q[t])
|
4002
3994
|
return Q[t][e];
|
4003
3995
|
const r = je(t);
|
4004
3996
|
for (let n = 0; n < r.length; n++) {
|
4005
|
-
const i = r[n], o =
|
3997
|
+
const i = r[n], o = wi(i, e);
|
4006
3998
|
if (o)
|
4007
|
-
return
|
3999
|
+
return xi(e, t, o);
|
4008
4000
|
}
|
4009
4001
|
};
|
4010
|
-
let
|
4002
|
+
let mt;
|
4011
4003
|
const ve = Ge({});
|
4012
|
-
function
|
4013
|
-
return
|
4004
|
+
function Ei(e) {
|
4005
|
+
return mt[e] || null;
|
4014
4006
|
}
|
4015
|
-
function
|
4016
|
-
return e in
|
4007
|
+
function wr(e) {
|
4008
|
+
return e in mt;
|
4017
4009
|
}
|
4018
|
-
function
|
4019
|
-
if (!
|
4010
|
+
function wi(e, t) {
|
4011
|
+
if (!wr(e))
|
4020
4012
|
return null;
|
4021
|
-
const r =
|
4022
|
-
return
|
4013
|
+
const r = Ei(e);
|
4014
|
+
return _i(r, t);
|
4023
4015
|
}
|
4024
|
-
function
|
4016
|
+
function Si(e) {
|
4025
4017
|
if (e == null)
|
4026
4018
|
return;
|
4027
4019
|
const t = je(e);
|
4028
4020
|
for (let r = 0; r < t.length; r++) {
|
4029
4021
|
const n = t[r];
|
4030
|
-
if (
|
4022
|
+
if (wr(n))
|
4031
4023
|
return n;
|
4032
4024
|
}
|
4033
4025
|
}
|
4034
|
-
function
|
4035
|
-
delete Q[e], ve.update((r) => (r[e] =
|
4026
|
+
function Sr(e, ...t) {
|
4027
|
+
delete Q[e], ve.update((r) => (r[e] = Pn.all([r[e] || {}, ...t]), r));
|
4036
4028
|
}
|
4037
4029
|
ye(
|
4038
4030
|
[ve],
|
4039
4031
|
([e]) => Object.keys(e)
|
4040
4032
|
);
|
4041
|
-
ve.subscribe((e) =>
|
4033
|
+
ve.subscribe((e) => mt = e);
|
4042
4034
|
const Me = {};
|
4043
|
-
function
|
4035
|
+
function Ti(e, t) {
|
4044
4036
|
Me[e].delete(t), Me[e].size === 0 && delete Me[e];
|
4045
4037
|
}
|
4046
|
-
function
|
4038
|
+
function Tr(e) {
|
4047
4039
|
return Me[e];
|
4048
4040
|
}
|
4049
|
-
function
|
4041
|
+
function Hi(e) {
|
4050
4042
|
return je(e).map((t) => {
|
4051
|
-
const r =
|
4043
|
+
const r = Tr(t);
|
4052
4044
|
return [t, r ? [...r] : []];
|
4053
4045
|
}).filter(([, t]) => t.length > 0);
|
4054
4046
|
}
|
@@ -4056,31 +4048,31 @@ function ft(e) {
|
|
4056
4048
|
return e == null ? !1 : je(e).some(
|
4057
4049
|
(t) => {
|
4058
4050
|
var r;
|
4059
|
-
return (r =
|
4051
|
+
return (r = Tr(t)) == null ? void 0 : r.size;
|
4060
4052
|
}
|
4061
4053
|
);
|
4062
4054
|
}
|
4063
|
-
function
|
4055
|
+
function Ai(e, t) {
|
4064
4056
|
return Promise.all(
|
4065
|
-
t.map((n) => (
|
4066
|
-
).then((n) =>
|
4057
|
+
t.map((n) => (Ti(e, n), n().then((i) => i.default || i)))
|
4058
|
+
).then((n) => Sr(e, ...n));
|
4067
4059
|
}
|
4068
4060
|
const xe = {};
|
4069
|
-
function
|
4061
|
+
function Hr(e) {
|
4070
4062
|
if (!ft(e))
|
4071
4063
|
return e in xe ? xe[e] : Promise.resolve();
|
4072
|
-
const t =
|
4064
|
+
const t = Hi(e);
|
4073
4065
|
return xe[e] = Promise.all(
|
4074
4066
|
t.map(
|
4075
|
-
([r, n]) =>
|
4067
|
+
([r, n]) => Ai(r, n)
|
4076
4068
|
)
|
4077
4069
|
).then(() => {
|
4078
4070
|
if (ft(e))
|
4079
|
-
return
|
4071
|
+
return Hr(e);
|
4080
4072
|
delete xe[e];
|
4081
4073
|
}), xe[e];
|
4082
4074
|
}
|
4083
|
-
const
|
4075
|
+
const Pi = {
|
4084
4076
|
number: {
|
4085
4077
|
scientific: { notation: "scientific" },
|
4086
4078
|
engineering: { notation: "engineering" },
|
@@ -4109,56 +4101,56 @@ const Ci = {
|
|
4109
4101
|
timeZoneName: "short"
|
4110
4102
|
}
|
4111
4103
|
}
|
4112
|
-
},
|
4104
|
+
}, Ci = {
|
4113
4105
|
fallbackLocale: null,
|
4114
4106
|
loadingDelay: 200,
|
4115
|
-
formats:
|
4107
|
+
formats: Pi,
|
4116
4108
|
warnOnMissingMessages: !0,
|
4117
4109
|
handleMissingMessage: void 0,
|
4118
4110
|
ignoreTag: !0
|
4119
|
-
},
|
4111
|
+
}, Fi = Ci;
|
4120
4112
|
function ge() {
|
4121
|
-
return
|
4113
|
+
return Fi;
|
4122
4114
|
}
|
4123
4115
|
const qe = Ge(!1);
|
4124
|
-
var
|
4125
|
-
for (var r in t)
|
4126
|
-
|
4116
|
+
var Bi = Object.defineProperty, Oi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Ni = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
|
4117
|
+
for (var r in t || (t = {}))
|
4118
|
+
Li.call(t, r) && Dt(e, r, t[r]);
|
4127
4119
|
if ($t)
|
4128
4120
|
for (var r of $t(t))
|
4129
|
-
|
4121
|
+
Ni.call(t, r) && Dt(e, r, t[r]);
|
4130
4122
|
return e;
|
4131
|
-
},
|
4123
|
+
}, Ri = (e, t) => Oi(e, Ii(t));
|
4132
4124
|
let dt;
|
4133
|
-
const
|
4134
|
-
function
|
4125
|
+
const $e = Ge(null);
|
4126
|
+
function Ut(e) {
|
4135
4127
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
4136
4128
|
}
|
4137
4129
|
function je(e, t = ge().fallbackLocale) {
|
4138
|
-
const r =
|
4139
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
4130
|
+
const r = Ut(e);
|
4131
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
|
4140
4132
|
}
|
4141
4133
|
function re() {
|
4142
4134
|
return dt ?? void 0;
|
4143
4135
|
}
|
4144
|
-
|
4136
|
+
$e.subscribe((e) => {
|
4145
4137
|
dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
4146
4138
|
});
|
4147
4139
|
const $i = (e) => {
|
4148
|
-
if (e &&
|
4140
|
+
if (e && Si(e) && ft(e)) {
|
4149
4141
|
const { loadingDelay: t } = ge();
|
4150
4142
|
let r;
|
4151
4143
|
return typeof window < "u" && re() != null && t ? r = window.setTimeout(
|
4152
4144
|
() => qe.set(!0),
|
4153
4145
|
t
|
4154
|
-
) : qe.set(!0),
|
4155
|
-
|
4146
|
+
) : qe.set(!0), Hr(e).then(() => {
|
4147
|
+
$e.set(e);
|
4156
4148
|
}).finally(() => {
|
4157
4149
|
clearTimeout(r), qe.set(!1);
|
4158
4150
|
});
|
4159
4151
|
}
|
4160
|
-
return
|
4161
|
-
}, te =
|
4152
|
+
return $e.set(e);
|
4153
|
+
}, te = Ri(Mi({}, $e), {
|
4162
4154
|
set: $i
|
4163
4155
|
}), Ve = (e) => {
|
4164
4156
|
const t = /* @__PURE__ */ Object.create(null);
|
@@ -4167,20 +4159,20 @@ const $i = (e) => {
|
|
4167
4159
|
return i in t ? t[i] : t[i] = e(n);
|
4168
4160
|
};
|
4169
4161
|
};
|
4170
|
-
var
|
4162
|
+
var Di = Object.defineProperty, De = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
|
4171
4163
|
for (var r in t || (t = {}))
|
4172
|
-
|
4173
|
-
if (
|
4174
|
-
for (var r of
|
4175
|
-
|
4164
|
+
Ar.call(t, r) && Gt(e, r, t[r]);
|
4165
|
+
if (De)
|
4166
|
+
for (var r of De(t))
|
4167
|
+
Pr.call(t, r) && Gt(e, r, t[r]);
|
4176
4168
|
return e;
|
4177
4169
|
}, _e = (e, t) => {
|
4178
4170
|
var r = {};
|
4179
4171
|
for (var n in e)
|
4180
|
-
|
4181
|
-
if (e != null &&
|
4182
|
-
for (var n of
|
4183
|
-
t.indexOf(n) < 0 &&
|
4172
|
+
Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
4173
|
+
if (e != null && De)
|
4174
|
+
for (var n of De(e))
|
4175
|
+
t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
|
4184
4176
|
return r;
|
4185
4177
|
};
|
4186
4178
|
const He = (e, t) => {
|
@@ -4188,21 +4180,21 @@ const He = (e, t) => {
|
|
4188
4180
|
if (e in r && t in r[e])
|
4189
4181
|
return r[e][t];
|
4190
4182
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
4191
|
-
},
|
4183
|
+
}, Ui = Ve(
|
4192
4184
|
(e) => {
|
4193
4185
|
var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
|
4194
4186
|
if (r == null)
|
4195
4187
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
4196
4188
|
return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
|
4197
4189
|
}
|
4198
|
-
),
|
4190
|
+
), Gi = Ve(
|
4199
4191
|
(e) => {
|
4200
4192
|
var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
|
4201
4193
|
if (r == null)
|
4202
4194
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
4203
4195
|
return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
|
4204
4196
|
}
|
4205
|
-
),
|
4197
|
+
), ki = Ve(
|
4206
4198
|
(e) => {
|
4207
4199
|
var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
|
4208
4200
|
if (r == null)
|
@@ -4211,33 +4203,33 @@ const He = (e, t) => {
|
|
4211
4203
|
);
|
4212
4204
|
return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
|
4213
4205
|
}
|
4214
|
-
),
|
4206
|
+
), ji = (e = {}) => {
|
4215
4207
|
var t = e, {
|
4216
4208
|
locale: r = re()
|
4217
4209
|
} = t, n = _e(t, [
|
4218
4210
|
"locale"
|
4219
4211
|
]);
|
4220
|
-
return
|
4221
|
-
},
|
4212
|
+
return Ui(bt({ locale: r }, n));
|
4213
|
+
}, Vi = (e = {}) => {
|
4222
4214
|
var t = e, {
|
4223
4215
|
locale: r = re()
|
4224
4216
|
} = t, n = _e(t, [
|
4225
4217
|
"locale"
|
4226
4218
|
]);
|
4227
|
-
return
|
4228
|
-
},
|
4219
|
+
return Gi(bt({ locale: r }, n));
|
4220
|
+
}, Xi = (e = {}) => {
|
4229
4221
|
var t = e, {
|
4230
4222
|
locale: r = re()
|
4231
4223
|
} = t, n = _e(t, [
|
4232
4224
|
"locale"
|
4233
4225
|
]);
|
4234
|
-
return
|
4235
|
-
},
|
4226
|
+
return ki(bt({ locale: r }, n));
|
4227
|
+
}, Wi = Ve(
|
4236
4228
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
4237
|
-
(e, t = re()) => new
|
4229
|
+
(e, t = re()) => new vi(e, t, ge().formats, {
|
4238
4230
|
ignoreTag: ge().ignoreTag
|
4239
4231
|
})
|
4240
|
-
),
|
4232
|
+
), zi = (e, t = {}) => {
|
4241
4233
|
var r, n, i, o;
|
4242
4234
|
let s = t;
|
4243
4235
|
typeof e == "object" && (s = e, e = s.id);
|
@@ -4250,7 +4242,7 @@ const He = (e, t) => {
|
|
4250
4242
|
throw new Error(
|
4251
4243
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
4252
4244
|
);
|
4253
|
-
let u =
|
4245
|
+
let u = Er(e, h);
|
4254
4246
|
if (!u)
|
4255
4247
|
u = (o = (i = (n = (r = ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
4256
4248
|
else if (typeof u != "string")
|
@@ -4261,7 +4253,7 @@ const He = (e, t) => {
|
|
4261
4253
|
return u;
|
4262
4254
|
let d = u;
|
4263
4255
|
try {
|
4264
|
-
d =
|
4256
|
+
d = Wi(u, h).format(a);
|
4265
4257
|
} catch (c) {
|
4266
4258
|
c instanceof Error && console.warn(
|
4267
4259
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -4269,16 +4261,16 @@ const He = (e, t) => {
|
|
4269
4261
|
);
|
4270
4262
|
}
|
4271
4263
|
return d;
|
4272
|
-
},
|
4264
|
+
}, Zi = (e, t) => Xi(t).format(e), Ji = (e, t) => Vi(t).format(e), Qi = (e, t) => ji(t).format(e), qi = (e, t = re()) => Er(e, t), Yi = ye([te, ve], () => zi);
|
4265
|
+
ye([te], () => Zi);
|
4273
4266
|
ye([te], () => Ji);
|
4274
4267
|
ye([te], () => Qi);
|
4275
|
-
ye([te], () => qi);
|
4276
|
-
|
4277
|
-
|
4278
|
-
|
4279
|
-
function _o(e, t) {
|
4268
|
+
ye([te, ve], () => qi);
|
4269
|
+
window.emWidgets = { topic: cn };
|
4270
|
+
const Ki = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), eo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
4271
|
+
function vo(e, t) {
|
4280
4272
|
const r = window.navigator.userAgent;
|
4281
|
-
return
|
4273
|
+
return Ki(r) ? t = e.filter((n) => {
|
4282
4274
|
if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
|
4283
4275
|
return n;
|
4284
4276
|
}) : t = e.filter((n) => {
|
@@ -4286,15 +4278,15 @@ function _o(e, t) {
|
|
4286
4278
|
return n;
|
4287
4279
|
}), t;
|
4288
4280
|
}
|
4289
|
-
function
|
4281
|
+
function to({ withLocale: e, translations: t }) {
|
4290
4282
|
te.subscribe((r) => {
|
4291
4283
|
r == null && (ve.set(t), te.set(e));
|
4292
4284
|
});
|
4293
4285
|
}
|
4294
|
-
function
|
4295
|
-
|
4286
|
+
function kt(e, t) {
|
4287
|
+
Sr(e, t);
|
4296
4288
|
}
|
4297
|
-
const
|
4289
|
+
const jt = {
|
4298
4290
|
en: {
|
4299
4291
|
providers: "Providers:",
|
4300
4292
|
filterby: "Filter by:",
|
@@ -4404,14 +4396,14 @@ const Vt = {
|
|
4404
4396
|
clear: "Clear all"
|
4405
4397
|
}
|
4406
4398
|
};
|
4407
|
-
function
|
4408
|
-
|
4399
|
+
function ro(e) {
|
4400
|
+
Or(e, "svelte-1v7rv6n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
|
4409
4401
|
}
|
4410
|
-
function
|
4402
|
+
function Vt(e, t, r) {
|
4411
4403
|
const n = e.slice();
|
4412
4404
|
return n[36] = t[r], n[37] = t, n[38] = r, n;
|
4413
4405
|
}
|
4414
|
-
function
|
4406
|
+
function no(e) {
|
4415
4407
|
let t, r, n, i, o, s, a, h, l = (
|
4416
4408
|
/*$_*/
|
4417
4409
|
e[11]("filterby") + ""
|
@@ -4425,18 +4417,18 @@ function io(e) {
|
|
4425
4417
|
function Pe(p, C) {
|
4426
4418
|
return (
|
4427
4419
|
/*fullSelection*/
|
4428
|
-
p[7] ?
|
4420
|
+
p[7] ? so : oo
|
4429
4421
|
);
|
4430
4422
|
}
|
4431
|
-
let ae = Pe(e),
|
4423
|
+
let ae = Pe(e), $ = ae(e), J = xt(
|
4432
4424
|
/*vendorArray*/
|
4433
4425
|
e[5]
|
4434
4426
|
), f = [];
|
4435
4427
|
for (let p = 0; p < J.length; p += 1)
|
4436
|
-
f[p] =
|
4428
|
+
f[p] = Xt(Vt(e, J, p));
|
4437
4429
|
return {
|
4438
4430
|
c() {
|
4439
|
-
t = F("div"), r = F("div"), n = F("div"), i = Ee("svg"), o = Ee("path"), s = V(), a = F("div"), h = F("span"), u = U(l), d = V(), c = F("div"), m = F("span"), _ = U(b), T = V(),
|
4431
|
+
t = F("div"), r = F("div"), n = F("div"), i = Ee("svg"), o = Ee("path"), s = V(), a = F("div"), h = F("span"), u = U(l), d = V(), c = F("div"), m = F("span"), _ = U(b), T = V(), $.c(), y = V(), H = F("span"), E = Ee("svg"), N = Ee("path"), P = V(), I = F("div"), M = F("ul");
|
4440
4432
|
for (let p = 0; p < f.length; p += 1)
|
4441
4433
|
f[p].c();
|
4442
4434
|
W = V(), j = F("button"), ie = U(ne), g(o, "id", "noun_filter_736223"), g(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), g(o, "transform", "translate(-5 -6.2)"), g(o, "fill", "#fff"), g(i, "xmlns", "http://www.w3.org/2000/svg"), g(i, "width", "16"), g(i, "height", "16"), g(i, "viewBox", "0 0 16 16"), g(h, "class", "FilterName"), g(c, "class", "FilterValueContainer"), g(a, "class", "FilterTextContainer"), g(n, "class", "FilterMainArea"), g(N, "id", "arrow"), g(N, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(N, "transform", "translate(-274.511 -441.088)"), g(N, "fill", "#d1d1d1"), g(E, "xmlns", "http://www.w3.org/2000/svg"), g(E, "width", "14"), g(E, "height", "6.835"), g(E, "viewBox", "0 0 14 6.835"), g(H, "class", L = "TriangleInactive " + /*isFilterActive*/
|
@@ -4450,7 +4442,7 @@ function io(e) {
|
|
4450
4442
|
e[1] == "true" ? "FilerContainerSplit" : ""));
|
4451
4443
|
},
|
4452
4444
|
m(p, C) {
|
4453
|
-
X(p, t, C), v(t, r), v(r, n), v(n, i), v(i, o), v(n, s), v(n, a), v(a, h), v(h, u), v(a, d), v(a, c), v(c, m), v(m, _), v(c, T),
|
4445
|
+
X(p, t, C), v(t, r), v(r, n), v(n, i), v(i, o), v(n, s), v(n, a), v(a, h), v(h, u), v(a, d), v(a, c), v(c, m), v(m, _), v(c, T), $.m(c, null), v(r, y), v(r, H), v(H, E), v(E, N), v(t, P), v(t, I), v(I, M);
|
4454
4446
|
for (let A = 0; A < f.length; A += 1)
|
4455
4447
|
f[A] && f[A].m(M, null);
|
4456
4448
|
v(I, W), v(I, j), v(j, ie), se || (Ae = [
|
@@ -4473,20 +4465,20 @@ function io(e) {
|
|
4473
4465
|
2048 && l !== (l = /*$_*/
|
4474
4466
|
p[11]("filterby") + "") && q(u, l), C[0] & /*$_*/
|
4475
4467
|
2048 && b !== (b = /*$_*/
|
4476
|
-
p[11]("providers") + "") && q(_, b), ae === (ae = Pe(p)) &&
|
4468
|
+
p[11]("providers") + "") && q(_, b), ae === (ae = Pe(p)) && $ ? $.p(p, C) : ($.d(1), $ = ae(p), $ && ($.c(), $.m(c, null))), C[0] & /*isFilterActive*/
|
4477
4469
|
16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
|
4478
4470
|
(p[4] ? "TriangleActive" : "")) && g(H, "class", L), C[0] & /*isFilterActive*/
|
4479
4471
|
16 && O !== (O = "FilterSelector " + /*isFilterActive*/
|
4480
4472
|
(p[4] ? "FilterSelectorOpen" : "")) && g(r, "class", O), C[0] & /*filterbylogo, vendorArray, filterByVendors*/
|
4481
4473
|
8228) {
|
4482
|
-
J =
|
4474
|
+
J = xt(
|
4483
4475
|
/*vendorArray*/
|
4484
4476
|
p[5]
|
4485
4477
|
);
|
4486
4478
|
let A;
|
4487
4479
|
for (A = 0; A < J.length; A += 1) {
|
4488
|
-
const le =
|
4489
|
-
f[A] ? f[A].p(le, C) : (f[A] =
|
4480
|
+
const le = Vt(p, J, A);
|
4481
|
+
f[A] ? f[A].p(le, C) : (f[A] = Xt(le), f[A].c(), f[A].m(M, null));
|
4490
4482
|
}
|
4491
4483
|
for (; A < f.length; A += 1)
|
4492
4484
|
f[A].d(1);
|
@@ -4506,11 +4498,11 @@ function io(e) {
|
|
4506
4498
|
p[1] == "true" ? "FilerContainerSplit" : "")) && g(t, "class", ee);
|
4507
4499
|
},
|
4508
4500
|
d(p) {
|
4509
|
-
p && k(t),
|
4501
|
+
p && k(t), $.d(), Nr(f, p), se = !1, Y(Ae);
|
4510
4502
|
}
|
4511
4503
|
};
|
4512
4504
|
}
|
4513
|
-
function
|
4505
|
+
function io(e) {
|
4514
4506
|
let t, r = (
|
4515
4507
|
/*$_*/
|
4516
4508
|
e[11]("500") + ""
|
@@ -4532,7 +4524,7 @@ function oo(e) {
|
|
4532
4524
|
}
|
4533
4525
|
};
|
4534
4526
|
}
|
4535
|
-
function
|
4527
|
+
function oo(e) {
|
4536
4528
|
let t, r;
|
4537
4529
|
return {
|
4538
4530
|
c() {
|
@@ -4557,7 +4549,7 @@ function so(e) {
|
|
4557
4549
|
}
|
4558
4550
|
};
|
4559
4551
|
}
|
4560
|
-
function
|
4552
|
+
function so(e) {
|
4561
4553
|
let t, r = (
|
4562
4554
|
/*$_*/
|
4563
4555
|
e[11]("all") + ""
|
@@ -4579,11 +4571,11 @@ function ao(e) {
|
|
4579
4571
|
}
|
4580
4572
|
};
|
4581
4573
|
}
|
4582
|
-
function
|
4574
|
+
function ao(e) {
|
4583
4575
|
let t, r;
|
4584
4576
|
return {
|
4585
4577
|
c() {
|
4586
|
-
t = F("img"),
|
4578
|
+
t = F("img"), yt(t.src, r = /*vendor*/
|
4587
4579
|
e[36].logo) || g(t, "src", r), g(t, "alt", "vendor logo");
|
4588
4580
|
},
|
4589
4581
|
m(n, i) {
|
@@ -4591,7 +4583,7 @@ function lo(e) {
|
|
4591
4583
|
},
|
4592
4584
|
p(n, i) {
|
4593
4585
|
i[0] & /*vendorArray*/
|
4594
|
-
32 && !
|
4586
|
+
32 && !yt(t.src, r = /*vendor*/
|
4595
4587
|
n[36].logo) && g(t, "src", r);
|
4596
4588
|
},
|
4597
4589
|
d(n) {
|
@@ -4599,7 +4591,7 @@ function lo(e) {
|
|
4599
4591
|
}
|
4600
4592
|
};
|
4601
4593
|
}
|
4602
|
-
function
|
4594
|
+
function lo(e) {
|
4603
4595
|
let t, r, n = (
|
4604
4596
|
/*vendor*/
|
4605
4597
|
e[36].name + ""
|
@@ -4626,7 +4618,7 @@ function uo(e) {
|
|
4626
4618
|
}
|
4627
4619
|
};
|
4628
4620
|
}
|
4629
|
-
function
|
4621
|
+
function Xt(e) {
|
4630
4622
|
let t, r, n, i, o, s, a, h, l, u, d, c;
|
4631
4623
|
function m() {
|
4632
4624
|
e[23].call(
|
@@ -4650,17 +4642,17 @@ function Wt(e) {
|
|
4650
4642
|
if (
|
4651
4643
|
/*filterbylogo*/
|
4652
4644
|
H[2] === "false"
|
4653
|
-
) return
|
4645
|
+
) return lo;
|
4654
4646
|
if (
|
4655
4647
|
/*filterbylogo*/
|
4656
4648
|
H[2] === "true"
|
4657
|
-
) return
|
4649
|
+
) return ao;
|
4658
4650
|
}
|
4659
4651
|
let T = _(e), y = T && T(e);
|
4660
4652
|
return {
|
4661
4653
|
c() {
|
4662
4654
|
t = F("li"), r = F("label"), n = F("input"), o = V(), s = F("span"), a = V(), y && y.c(), h = V(), g(n, "type", "checkbox"), g(n, "name", "checkbox"), n.__value = i = /*vendor*/
|
4663
|
-
e[36].name,
|
4655
|
+
e[36].name, vt(n, n.__value), g(s, "class", "FiltersCheckmark"), g(r, "class", "FilterLabel"), g(t, "class", l = "FilterItem " + /*filterbylogo*/
|
4664
4656
|
(e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = u = /*vendor*/
|
4665
4657
|
e[36].name;
|
4666
4658
|
},
|
@@ -4674,7 +4666,7 @@ function Wt(e) {
|
|
4674
4666
|
p(H, E) {
|
4675
4667
|
e = H, E[0] & /*vendorArray*/
|
4676
4668
|
32 && i !== (i = /*vendor*/
|
4677
|
-
e[36].name) && (n.__value = i,
|
4669
|
+
e[36].name) && (n.__value = i, vt(n, n.__value)), E[0] & /*vendorArray*/
|
4678
4670
|
32 && (n.checked = /*vendor*/
|
4679
4671
|
e[36].isFilterSelected), T === (T = _(e)) && y ? y.p(e, E) : (y && y.d(1), y = T && T(e), y && (y.c(), y.m(r, null))), E[0] & /*filterbylogo*/
|
4680
4672
|
4 && l !== (l = "FilterItem " + /*filterbylogo*/
|
@@ -4687,15 +4679,15 @@ function Wt(e) {
|
|
4687
4679
|
}
|
4688
4680
|
};
|
4689
4681
|
}
|
4690
|
-
function
|
4682
|
+
function uo(e) {
|
4691
4683
|
let t;
|
4692
4684
|
function r(o, s) {
|
4693
4685
|
if (
|
4694
4686
|
/*hasErrors*/
|
4695
4687
|
o[10]
|
4696
|
-
) return
|
4688
|
+
) return io;
|
4697
4689
|
if (!/*isLoading*/
|
4698
|
-
o[9]) return
|
4690
|
+
o[9]) return no;
|
4699
4691
|
}
|
4700
4692
|
let n = r(e), i = n && n(e);
|
4701
4693
|
return {
|
@@ -4715,22 +4707,22 @@ function ho(e) {
|
|
4715
4707
|
}
|
4716
4708
|
};
|
4717
4709
|
}
|
4718
|
-
function
|
4710
|
+
function ho(e, t, r) {
|
4719
4711
|
let n;
|
4720
|
-
|
4712
|
+
Br(e, Yi, (f) => r(11, n = f));
|
4721
4713
|
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: u = "" } = t, { addfilterselector: d = "false" } = t, { addsortingselector: c = "false" } = t, { filterbylogo: m = "false" } = t, b = !1, _ = window.navigator.userAgent, T = [], y = [], H = {}, E = !1, N = 0, L = !0, O, P = !1;
|
4722
|
-
|
4714
|
+
to({ withLocale: "en", translations: {} });
|
4723
4715
|
const I = () => {
|
4724
4716
|
fetch(a).then((p) => p.json()).then((p) => {
|
4725
4717
|
Object.keys(p).forEach((C) => {
|
4726
|
-
|
4718
|
+
kt(C, p[C]);
|
4727
4719
|
});
|
4728
4720
|
}).catch((p) => {
|
4729
4721
|
console.log(p);
|
4730
4722
|
});
|
4731
4723
|
};
|
4732
|
-
Object.keys(
|
4733
|
-
|
4724
|
+
Object.keys(jt).forEach((f) => {
|
4725
|
+
kt(f, jt[f]);
|
4734
4726
|
});
|
4735
4727
|
const M = () => {
|
4736
4728
|
let f = document.createElement("style");
|
@@ -4770,7 +4762,7 @@ function co(e, t, r) {
|
|
4770
4762
|
r(7, E = y.length === T.length || y.length == 0), r(8, N = y.length);
|
4771
4763
|
}, oe = () => {
|
4772
4764
|
const f = new URL(`${i}/v1/casino/vendors`);
|
4773
|
-
r(4, b = !1), f.searchParams.append("fields", "id,name,logo,subVendors,games"), f.searchParams.append("language", s), f.searchParams.append("datasource", o), f.searchParams.append("platform",
|
4765
|
+
r(4, b = !1), f.searchParams.append("fields", "id,name,logo,subVendors,games"), f.searchParams.append("language", s), f.searchParams.append("datasource", o), f.searchParams.append("platform", eo(_)), (u.match(/\$/g) || []).length > 1 ? (f.searchParams.append("filter", `games(subGroups=${u})`), f.searchParams.append("subVendors", `games(subGroups=${u})`)) : f.searchParams.append("filter", `games(groups=${u})`), ne(f);
|
4774
4766
|
}, ee = () => {
|
4775
4767
|
r(6, y = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(H = {
|
4776
4768
|
[u]: y.map((f) => f.id)
|
@@ -4778,14 +4770,14 @@ function co(e, t, r) {
|
|
4778
4770
|
}, se = (f) => {
|
4779
4771
|
f.data.type == "SortingOpened" && r(4, b = !1);
|
4780
4772
|
};
|
4781
|
-
|
4773
|
+
Dr(() => (window.addEventListener("message", se, !1), () => {
|
4782
4774
|
window.removeEventListener("message", se);
|
4783
4775
|
}));
|
4784
4776
|
const Ae = () => j();
|
4785
4777
|
function Pe(f, p) {
|
4786
4778
|
f[p].isFilterSelected = this.checked, r(5, T);
|
4787
4779
|
}
|
4788
|
-
const ae = (f) => ie(f),
|
4780
|
+
const ae = (f) => ie(f), $ = () => ee();
|
4789
4781
|
function J(f) {
|
4790
4782
|
Ye[f ? "unshift" : "push"](() => {
|
4791
4783
|
O = f, r(3, O);
|
@@ -4825,18 +4817,18 @@ function co(e, t, r) {
|
|
4825
4817
|
Ae,
|
4826
4818
|
Pe,
|
4827
4819
|
ae,
|
4828
|
-
|
4820
|
+
$,
|
4829
4821
|
J
|
4830
4822
|
];
|
4831
4823
|
}
|
4832
|
-
class
|
4824
|
+
class Cr extends Zr {
|
4833
4825
|
constructor(t) {
|
4834
|
-
super(),
|
4826
|
+
super(), Wr(
|
4835
4827
|
this,
|
4836
4828
|
t,
|
4837
|
-
co,
|
4838
4829
|
ho,
|
4839
|
-
|
4830
|
+
uo,
|
4831
|
+
zt,
|
4840
4832
|
{
|
4841
4833
|
endpoint: 15,
|
4842
4834
|
datasource: 16,
|
@@ -4849,7 +4841,7 @@ class Fr extends Jr {
|
|
4849
4841
|
addsortingselector: 1,
|
4850
4842
|
filterbylogo: 2
|
4851
4843
|
},
|
4852
|
-
|
4844
|
+
ro,
|
4853
4845
|
[-1, -1]
|
4854
4846
|
);
|
4855
4847
|
}
|
@@ -4857,105 +4849,105 @@ class Fr extends Jr {
|
|
4857
4849
|
return this.$$.ctx[15];
|
4858
4850
|
}
|
4859
4851
|
set endpoint(t) {
|
4860
|
-
this.$$set({ endpoint: t }),
|
4852
|
+
this.$$set({ endpoint: t }), D();
|
4861
4853
|
}
|
4862
4854
|
get datasource() {
|
4863
4855
|
return this.$$.ctx[16];
|
4864
4856
|
}
|
4865
4857
|
set datasource(t) {
|
4866
|
-
this.$$set({ datasource: t }),
|
4858
|
+
this.$$set({ datasource: t }), D();
|
4867
4859
|
}
|
4868
4860
|
get lang() {
|
4869
4861
|
return this.$$.ctx[17];
|
4870
4862
|
}
|
4871
4863
|
set lang(t) {
|
4872
|
-
this.$$set({ lang: t }),
|
4864
|
+
this.$$set({ lang: t }), D();
|
4873
4865
|
}
|
4874
4866
|
get translationurl() {
|
4875
4867
|
return this.$$.ctx[18];
|
4876
4868
|
}
|
4877
4869
|
set translationurl(t) {
|
4878
|
-
this.$$set({ translationurl: t }),
|
4870
|
+
this.$$set({ translationurl: t }), D();
|
4879
4871
|
}
|
4880
4872
|
get clientstyling() {
|
4881
4873
|
return this.$$.ctx[19];
|
4882
4874
|
}
|
4883
4875
|
set clientstyling(t) {
|
4884
|
-
this.$$set({ clientstyling: t }),
|
4876
|
+
this.$$set({ clientstyling: t }), D();
|
4885
4877
|
}
|
4886
4878
|
get clientstylingurl() {
|
4887
4879
|
return this.$$.ctx[20];
|
4888
4880
|
}
|
4889
4881
|
set clientstylingurl(t) {
|
4890
|
-
this.$$set({ clientstylingurl: t }),
|
4882
|
+
this.$$set({ clientstylingurl: t }), D();
|
4891
4883
|
}
|
4892
4884
|
get categoryid() {
|
4893
4885
|
return this.$$.ctx[21];
|
4894
4886
|
}
|
4895
4887
|
set categoryid(t) {
|
4896
|
-
this.$$set({ categoryid: t }),
|
4888
|
+
this.$$set({ categoryid: t }), D();
|
4897
4889
|
}
|
4898
4890
|
get addfilterselector() {
|
4899
4891
|
return this.$$.ctx[0];
|
4900
4892
|
}
|
4901
4893
|
set addfilterselector(t) {
|
4902
|
-
this.$$set({ addfilterselector: t }),
|
4894
|
+
this.$$set({ addfilterselector: t }), D();
|
4903
4895
|
}
|
4904
4896
|
get addsortingselector() {
|
4905
4897
|
return this.$$.ctx[1];
|
4906
4898
|
}
|
4907
4899
|
set addsortingselector(t) {
|
4908
|
-
this.$$set({ addsortingselector: t }),
|
4900
|
+
this.$$set({ addsortingselector: t }), D();
|
4909
4901
|
}
|
4910
4902
|
get filterbylogo() {
|
4911
4903
|
return this.$$.ctx[2];
|
4912
4904
|
}
|
4913
4905
|
set filterbylogo(t) {
|
4914
|
-
this.$$set({ filterbylogo: t }),
|
4906
|
+
this.$$set({ filterbylogo: t }), D();
|
4915
4907
|
}
|
4916
4908
|
}
|
4917
|
-
|
4918
|
-
const
|
4909
|
+
zr(Cr, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {} }, [], [], !0);
|
4910
|
+
const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
4919
4911
|
__proto__: null,
|
4920
|
-
default:
|
4912
|
+
default: Cr
|
4921
4913
|
}, Symbol.toStringTag, { value: "Module" }));
|
4922
4914
|
export {
|
4923
4915
|
te as $,
|
4924
|
-
|
4925
|
-
|
4926
|
-
|
4927
|
-
|
4928
|
-
|
4929
|
-
|
4930
|
-
|
4931
|
-
|
4916
|
+
Ee as A,
|
4917
|
+
zr as B,
|
4918
|
+
Yi as C,
|
4919
|
+
vo as D,
|
4920
|
+
yo as E,
|
4921
|
+
fo as F,
|
4922
|
+
go as G,
|
4923
|
+
mo as H,
|
4932
4924
|
ve as I,
|
4933
|
-
|
4934
|
-
|
4935
|
-
|
4936
|
-
|
4937
|
-
|
4938
|
-
|
4939
|
-
|
4940
|
-
|
4941
|
-
|
4942
|
-
|
4943
|
-
|
4944
|
-
|
4945
|
-
|
4946
|
-
|
4947
|
-
|
4925
|
+
_o as J,
|
4926
|
+
Zr as S,
|
4927
|
+
Sr as a,
|
4928
|
+
Or as b,
|
4929
|
+
yt as c,
|
4930
|
+
k as d,
|
4931
|
+
g as e,
|
4932
|
+
D as f,
|
4933
|
+
q as g,
|
4934
|
+
X as h,
|
4935
|
+
Wr as i,
|
4936
|
+
v as j,
|
4937
|
+
F as k,
|
4938
|
+
V as l,
|
4939
|
+
U as m,
|
4948
4940
|
G as n,
|
4949
|
-
|
4950
|
-
|
4951
|
-
|
4952
|
-
|
4953
|
-
|
4954
|
-
|
4955
|
-
|
4941
|
+
Br as o,
|
4942
|
+
Dr as p,
|
4943
|
+
Re as q,
|
4944
|
+
co as r,
|
4945
|
+
zt as s,
|
4946
|
+
po as t,
|
4947
|
+
Ki as u,
|
4956
4948
|
eo as v,
|
4957
|
-
|
4958
|
-
|
4959
|
-
|
4960
|
-
|
4949
|
+
Ye as w,
|
4950
|
+
xt as x,
|
4951
|
+
Nr as y,
|
4952
|
+
bo as z
|
4961
4953
|
};
|