@everymatrix/casino-categories-slider-nd 1.85.21 → 1.85.23
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/{CasinoCategoriesSliderNd-C0Sp2Rgh.js → CasinoCategoriesSliderNd-DP88nZba.js} +292 -288
- package/components/{CasinoCategoriesSliderNd-Cf4mOFIq.cjs → CasinoCategoriesSliderNd-DuJnkBEW.cjs} +4 -4
- package/components/{CasinoCategoriesSliderNd-gUBWfYCy.js → CasinoCategoriesSliderNd-iyxXh0t3.js} +314 -310
- package/components/{CasinoSliderNd-CwrsCU_U.js → CasinoSliderNd-BWvm077c.js} +1 -1
- package/components/{CasinoSliderNd-ftt9RSDL.cjs → CasinoSliderNd-C_b1HIyO.cjs} +1 -1
- package/components/{CasinoSliderNd-RxWLVuCC.js → CasinoSliderNd-C_peB6vv.js} +1 -1
- package/es2015/casino-categories-slider-nd.cjs +1 -1
- package/es2015/casino-categories-slider-nd.js +1 -1
- package/esnext/casino-categories-slider-nd.js +1 -1
- package/package.json +1 -1
package/components/{CasinoCategoriesSliderNd-C0Sp2Rgh.js → CasinoCategoriesSliderNd-DP88nZba.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function I() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Gt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
6
|
function bt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function te(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(Gt);
|
|
11
11
|
}
|
|
12
12
|
function at(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Ut(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
let
|
|
19
|
-
function
|
|
20
|
-
return e === t ? !0 : (
|
|
18
|
+
let be;
|
|
19
|
+
function ys(e, t) {
|
|
20
|
+
return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
|
|
21
21
|
}
|
|
22
22
|
function Ir(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function Dt(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -32,9 +32,9 @@ function $t(e, ...t) {
|
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
34
|
function Mr(e, t, r) {
|
|
35
|
-
e.$$.on_destroy.push(
|
|
35
|
+
e.$$.on_destroy.push(Dt(t, r));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function $t(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
40
|
function Cr(e, t, r) {
|
|
@@ -55,7 +55,7 @@ function Rr(e) {
|
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
57
|
function Gr(e, t) {
|
|
58
|
-
return
|
|
58
|
+
return $t(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
61
61
|
t
|
|
@@ -67,26 +67,26 @@ function ce(e, t, r) {
|
|
|
67
67
|
function re(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function vs(e, t) {
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
74
74
|
function k(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function _s(e) {
|
|
78
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Ft(e) {
|
|
81
81
|
return document.createTextNode(e);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
return
|
|
83
|
+
function Es() {
|
|
84
|
+
return Ft(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function xs() {
|
|
87
|
+
return Ft("");
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Ss(e, t, r, n) {
|
|
90
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
91
|
}
|
|
92
92
|
function ne(e, t, r) {
|
|
@@ -99,7 +99,7 @@ function v(e, t, r) {
|
|
|
99
99
|
function Ur(e) {
|
|
100
100
|
return Array.from(e.childNodes);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function ws(e, t) {
|
|
103
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
104
104
|
t);
|
|
105
105
|
}
|
|
@@ -116,23 +116,23 @@ let ue;
|
|
|
116
116
|
function ae(e) {
|
|
117
117
|
ue = e;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function $r() {
|
|
120
120
|
if (!ue)
|
|
121
121
|
throw new Error("Function called outside component initialization");
|
|
122
122
|
return ue;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
125
|
-
|
|
124
|
+
function Fr(e) {
|
|
125
|
+
$r().$$.on_mount.push(e);
|
|
126
126
|
}
|
|
127
127
|
const q = [], je = [];
|
|
128
128
|
let Q = [];
|
|
129
|
-
const pt = [],
|
|
129
|
+
const pt = [], jt = /* @__PURE__ */ Promise.resolve();
|
|
130
130
|
let ke = !1;
|
|
131
|
-
function
|
|
132
|
-
ke || (ke = !0,
|
|
131
|
+
function kt() {
|
|
132
|
+
ke || (ke = !0, jt.then(x));
|
|
133
133
|
}
|
|
134
134
|
function jr() {
|
|
135
|
-
return
|
|
135
|
+
return kt(), jt;
|
|
136
136
|
}
|
|
137
137
|
function Ve(e) {
|
|
138
138
|
Q.push(e);
|
|
@@ -176,16 +176,16 @@ function Vr(e) {
|
|
|
176
176
|
Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
|
|
177
177
|
}
|
|
178
178
|
const Xr = /* @__PURE__ */ new Set();
|
|
179
|
-
function
|
|
179
|
+
function Vt(e, t) {
|
|
180
180
|
e && e.i && (Xr.delete(e), e.i(t));
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Ts(e) {
|
|
183
183
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Hs(e, t) {
|
|
186
186
|
e.d(1), t.delete(e.key);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function As(e, t, r, n, i, s, o, a, h, u, l, m) {
|
|
189
189
|
let c = e.length, d = s.length, p = c;
|
|
190
190
|
const b = {};
|
|
191
191
|
for (; p--; )
|
|
@@ -198,11 +198,11 @@ function ws(e, t, r, n, i, s, o, a, h, u, l, m) {
|
|
|
198
198
|
}
|
|
199
199
|
const O = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set();
|
|
200
200
|
function C(_) {
|
|
201
|
-
|
|
201
|
+
Vt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
|
|
202
202
|
}
|
|
203
203
|
for (; c && d; ) {
|
|
204
|
-
const _ = w[d - 1], N = e[c - 1], L = _.key,
|
|
205
|
-
_ === N ? (l = _.first, c--, d--) : M.has(
|
|
204
|
+
const _ = w[d - 1], N = e[c - 1], L = _.key, $ = N.key;
|
|
205
|
+
_ === N ? (l = _.first, c--, d--) : M.has($) ? !o.has(L) || O.has(L) ? C(_) : H.has($) ? c-- : P.get(L) > P.get($) ? (H.add(L), C(_)) : (O.add($), c--) : (h(N, o), c--);
|
|
206
206
|
}
|
|
207
207
|
for (; c--; ) {
|
|
208
208
|
const _ = e[c];
|
|
@@ -215,7 +215,7 @@ function ws(e, t, r, n, i, s, o, a, h, u, l, m) {
|
|
|
215
215
|
function Wr(e, t, r) {
|
|
216
216
|
const { fragment: n, after_update: i } = e.$$;
|
|
217
217
|
n && n.m(t, r), Ve(() => {
|
|
218
|
-
const s = e.$$.on_mount.map(
|
|
218
|
+
const s = e.$$.on_mount.map(Gt).filter(at);
|
|
219
219
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
|
|
220
220
|
}), i.forEach(Ve);
|
|
221
221
|
}
|
|
@@ -224,7 +224,7 @@ function zr(e, t) {
|
|
|
224
224
|
r.fragment !== null && (Vr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
225
225
|
}
|
|
226
226
|
function Zr(e, t) {
|
|
227
|
-
e.$$.dirty[0] === -1 && (q.push(e),
|
|
227
|
+
e.$$.dirty[0] === -1 && (q.push(e), kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
228
228
|
}
|
|
229
229
|
function qr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
230
230
|
const h = ue;
|
|
@@ -261,12 +261,12 @@ function qr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
261
261
|
u.fragment && u.fragment.l(m), m.forEach(re);
|
|
262
262
|
} else
|
|
263
263
|
u.fragment && u.fragment.c();
|
|
264
|
-
t.intro &&
|
|
264
|
+
t.intro && Vt(e.$$.fragment), Wr(e, t.target, t.anchor), x();
|
|
265
265
|
}
|
|
266
266
|
ae(h);
|
|
267
267
|
}
|
|
268
|
-
let
|
|
269
|
-
typeof HTMLElement == "function" && (
|
|
268
|
+
let Xt;
|
|
269
|
+
typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
270
270
|
/** The Svelte component constructor */
|
|
271
271
|
$$ctor;
|
|
272
272
|
/** Slots */
|
|
@@ -330,7 +330,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
330
330
|
i in r && (t[i] = [e(i)]);
|
|
331
331
|
for (const i of this.attributes) {
|
|
332
332
|
const s = this.$$g_p(i.name);
|
|
333
|
-
s in this.$$d || (this.$$d[s] =
|
|
333
|
+
s in this.$$d || (this.$$d[s] = ye(s, i.value, this.$$p_d, "toProp"));
|
|
334
334
|
}
|
|
335
335
|
for (const i in this.$$p_d)
|
|
336
336
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -348,7 +348,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
348
348
|
this.$$r = !0;
|
|
349
349
|
for (const i in this.$$p_d)
|
|
350
350
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
351
|
-
const s =
|
|
351
|
+
const s = ye(
|
|
352
352
|
i,
|
|
353
353
|
this.$$d[i],
|
|
354
354
|
this.$$p_d,
|
|
@@ -370,7 +370,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
370
370
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
371
371
|
// and setting attributes through setAttribute etc, this is helpful
|
|
372
372
|
attributeChangedCallback(e, t, r) {
|
|
373
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
373
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
374
374
|
}
|
|
375
375
|
disconnectedCallback() {
|
|
376
376
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -383,7 +383,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
383
383
|
) || e;
|
|
384
384
|
}
|
|
385
385
|
});
|
|
386
|
-
function
|
|
386
|
+
function ye(e, t, r, n) {
|
|
387
387
|
const i = r[e]?.type;
|
|
388
388
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
389
389
|
return t;
|
|
@@ -413,7 +413,7 @@ function ve(e, t, r, n) {
|
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
415
|
function Qr(e, t, r, n, i, s) {
|
|
416
|
-
let o = class extends
|
|
416
|
+
let o = class extends Xt {
|
|
417
417
|
constructor() {
|
|
418
418
|
super(e, r, i), this.$$p_d = t;
|
|
419
419
|
}
|
|
@@ -429,7 +429,7 @@ function Qr(e, t, r, n, i, s) {
|
|
|
429
429
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
430
430
|
},
|
|
431
431
|
set(h) {
|
|
432
|
-
h =
|
|
432
|
+
h = ye(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
|
433
433
|
}
|
|
434
434
|
});
|
|
435
435
|
}), n.forEach((a) => {
|
|
@@ -559,13 +559,13 @@ function Ze(e, t, r) {
|
|
|
559
559
|
function U(e) {
|
|
560
560
|
return typeof e == "function";
|
|
561
561
|
}
|
|
562
|
-
function
|
|
562
|
+
function Wt(e) {
|
|
563
563
|
var t = function(n) {
|
|
564
564
|
Error.call(n), n.stack = new Error().stack;
|
|
565
565
|
}, r = e(t);
|
|
566
566
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
567
567
|
}
|
|
568
|
-
var Ce =
|
|
568
|
+
var Ce = Wt(function(e) {
|
|
569
569
|
return function(r) {
|
|
570
570
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
571
571
|
` + r.map(function(n, i) {
|
|
@@ -580,7 +580,7 @@ function qe(e, t) {
|
|
|
580
580
|
0 <= r && e.splice(r, 1);
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
|
-
var
|
|
583
|
+
var Te = function() {
|
|
584
584
|
function e(t) {
|
|
585
585
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
586
586
|
}
|
|
@@ -670,9 +670,9 @@ var He = function() {
|
|
|
670
670
|
var t = new e();
|
|
671
671
|
return t.closed = !0, t;
|
|
672
672
|
}(), e;
|
|
673
|
-
}(),
|
|
674
|
-
function
|
|
675
|
-
return e instanceof
|
|
673
|
+
}(), zt = Te.EMPTY;
|
|
674
|
+
function Zt(e) {
|
|
675
|
+
return e instanceof Te || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
|
|
676
676
|
}
|
|
677
677
|
function gt(e) {
|
|
678
678
|
U(e) ? e() : e.unsubscribe();
|
|
@@ -697,14 +697,14 @@ function tn(e) {
|
|
|
697
697
|
}
|
|
698
698
|
function yt() {
|
|
699
699
|
}
|
|
700
|
-
function
|
|
700
|
+
function ve(e) {
|
|
701
701
|
e();
|
|
702
702
|
}
|
|
703
|
-
var
|
|
703
|
+
var qt = function(e) {
|
|
704
704
|
fe(t, e);
|
|
705
705
|
function t(r) {
|
|
706
706
|
var n = e.call(this) || this;
|
|
707
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
707
|
+
return n.isStopped = !1, r ? (n.destination = r, Zt(r) && r.add(n)) : n.destination = sn, n;
|
|
708
708
|
}
|
|
709
709
|
return t.create = function(r, n, i) {
|
|
710
710
|
return new Qe(r, n, i);
|
|
@@ -731,7 +731,7 @@ var Yt = function(e) {
|
|
|
731
731
|
this.unsubscribe();
|
|
732
732
|
}
|
|
733
733
|
}, t;
|
|
734
|
-
}(
|
|
734
|
+
}(Te), rn = function() {
|
|
735
735
|
function e(t) {
|
|
736
736
|
this.partialObserver = t;
|
|
737
737
|
}
|
|
@@ -741,7 +741,7 @@ var Yt = function(e) {
|
|
|
741
741
|
try {
|
|
742
742
|
r.next(t);
|
|
743
743
|
} catch (n) {
|
|
744
|
-
|
|
744
|
+
pe(n);
|
|
745
745
|
}
|
|
746
746
|
}, e.prototype.error = function(t) {
|
|
747
747
|
var r = this.partialObserver;
|
|
@@ -749,17 +749,17 @@ var Yt = function(e) {
|
|
|
749
749
|
try {
|
|
750
750
|
r.error(t);
|
|
751
751
|
} catch (n) {
|
|
752
|
-
|
|
752
|
+
pe(n);
|
|
753
753
|
}
|
|
754
754
|
else
|
|
755
|
-
|
|
755
|
+
pe(t);
|
|
756
756
|
}, e.prototype.complete = function() {
|
|
757
757
|
var t = this.partialObserver;
|
|
758
758
|
if (t.complete)
|
|
759
759
|
try {
|
|
760
760
|
t.complete();
|
|
761
761
|
} catch (r) {
|
|
762
|
-
|
|
762
|
+
pe(r);
|
|
763
763
|
}
|
|
764
764
|
}, e;
|
|
765
765
|
}(), Qe = function(e) {
|
|
@@ -773,8 +773,8 @@ var Yt = function(e) {
|
|
|
773
773
|
} : o = r, s.destination = new rn(o), s;
|
|
774
774
|
}
|
|
775
775
|
return t;
|
|
776
|
-
}(
|
|
777
|
-
function
|
|
776
|
+
}(qt);
|
|
777
|
+
function pe(e) {
|
|
778
778
|
tn(e);
|
|
779
779
|
}
|
|
780
780
|
function nn(e) {
|
|
@@ -807,7 +807,7 @@ var vt = function() {
|
|
|
807
807
|
return r.source = this, r.operator = t, r;
|
|
808
808
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
809
809
|
var i = this, s = ln(t) ? t : new Qe(t, r, n);
|
|
810
|
-
return
|
|
810
|
+
return ve(function() {
|
|
811
811
|
var o = i, a = o.operator, h = o.source;
|
|
812
812
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
|
813
813
|
}), s;
|
|
@@ -866,13 +866,13 @@ function hn(e) {
|
|
|
866
866
|
return e && U(e.next) && U(e.error) && U(e.complete);
|
|
867
867
|
}
|
|
868
868
|
function ln(e) {
|
|
869
|
-
return e && e instanceof
|
|
869
|
+
return e && e instanceof qt || hn(e) && Zt(e);
|
|
870
870
|
}
|
|
871
|
-
var cn =
|
|
871
|
+
var cn = Wt(function(e) {
|
|
872
872
|
return function() {
|
|
873
873
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
874
874
|
};
|
|
875
|
-
}),
|
|
875
|
+
}), Qt = function(e) {
|
|
876
876
|
fe(t, e);
|
|
877
877
|
function t() {
|
|
878
878
|
var r = e.call(this) || this;
|
|
@@ -886,7 +886,7 @@ var cn = Zt(function(e) {
|
|
|
886
886
|
throw new cn();
|
|
887
887
|
}, t.prototype.next = function(r) {
|
|
888
888
|
var n = this;
|
|
889
|
-
|
|
889
|
+
ve(function() {
|
|
890
890
|
var i, s;
|
|
891
891
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
892
892
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
@@ -909,7 +909,7 @@ var cn = Zt(function(e) {
|
|
|
909
909
|
});
|
|
910
910
|
}, t.prototype.error = function(r) {
|
|
911
911
|
var n = this;
|
|
912
|
-
|
|
912
|
+
ve(function() {
|
|
913
913
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
914
914
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
915
915
|
for (var i = n.observers; i.length; )
|
|
@@ -918,7 +918,7 @@ var cn = Zt(function(e) {
|
|
|
918
918
|
});
|
|
919
919
|
}, t.prototype.complete = function() {
|
|
920
920
|
var r = this;
|
|
921
|
-
|
|
921
|
+
ve(function() {
|
|
922
922
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
923
923
|
r.isStopped = !0;
|
|
924
924
|
for (var n = r.observers; n.length; )
|
|
@@ -940,7 +940,7 @@ var cn = Zt(function(e) {
|
|
|
940
940
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
941
941
|
}, t.prototype._innerSubscribe = function(r) {
|
|
942
942
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
943
|
-
return s || o ?
|
|
943
|
+
return s || o ? zt : (this.currentObservers = null, a.push(r), new Te(function() {
|
|
944
944
|
n.currentObservers = null, qe(a, r);
|
|
945
945
|
}));
|
|
946
946
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
@@ -969,17 +969,17 @@ var cn = Zt(function(e) {
|
|
|
969
969
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
970
970
|
}, t.prototype._subscribe = function(r) {
|
|
971
971
|
var n, i;
|
|
972
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
972
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : zt;
|
|
973
973
|
}, t;
|
|
974
|
-
}(
|
|
974
|
+
}(Qt), Yt = {
|
|
975
975
|
now: function() {
|
|
976
|
-
return (
|
|
976
|
+
return (Yt.delegate || Date).now();
|
|
977
977
|
},
|
|
978
978
|
delegate: void 0
|
|
979
979
|
}, fn = function(e) {
|
|
980
980
|
fe(t, e);
|
|
981
981
|
function t(r, n, i) {
|
|
982
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
982
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Yt);
|
|
983
983
|
var s = e.call(this) || this;
|
|
984
984
|
return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
|
|
985
985
|
}
|
|
@@ -999,7 +999,7 @@ var cn = Zt(function(e) {
|
|
|
999
999
|
u && s.splice(0, u + 1);
|
|
1000
1000
|
}
|
|
1001
1001
|
}, t;
|
|
1002
|
-
}(
|
|
1002
|
+
}(Qt);
|
|
1003
1003
|
const xt = [], St = {}, mn = (e, t = 0) => {
|
|
1004
1004
|
if (xt.indexOf(e) == -1) {
|
|
1005
1005
|
const r = new fn(t);
|
|
@@ -1009,14 +1009,14 @@ const xt = [], St = {}, mn = (e, t = 0) => {
|
|
|
1009
1009
|
}, Z = [];
|
|
1010
1010
|
function dn(e, t) {
|
|
1011
1011
|
return {
|
|
1012
|
-
subscribe:
|
|
1012
|
+
subscribe: He(e, t).subscribe
|
|
1013
1013
|
};
|
|
1014
1014
|
}
|
|
1015
|
-
function
|
|
1015
|
+
function He(e, t = I) {
|
|
1016
1016
|
let r;
|
|
1017
1017
|
const n = /* @__PURE__ */ new Set();
|
|
1018
1018
|
function i(a) {
|
|
1019
|
-
if (
|
|
1019
|
+
if (Ut(e, a) && (e = a, r)) {
|
|
1020
1020
|
const h = !Z.length;
|
|
1021
1021
|
for (const u of n)
|
|
1022
1022
|
u[1](), Z.push(u, e);
|
|
@@ -1054,7 +1054,7 @@ function ie(e, t, r) {
|
|
|
1054
1054
|
const p = t(n ? u[0] : u, o, a);
|
|
1055
1055
|
s ? o(p) : m = at(p) ? p : I;
|
|
1056
1056
|
}, d = i.map(
|
|
1057
|
-
(p, b) =>
|
|
1057
|
+
(p, b) => Dt(
|
|
1058
1058
|
p,
|
|
1059
1059
|
(w) => {
|
|
1060
1060
|
u[b] = w, l &= ~(1 << b), h && c();
|
|
@@ -1111,7 +1111,7 @@ function Tn(e) {
|
|
|
1111
1111
|
function wt(e) {
|
|
1112
1112
|
return Object.keys(e).concat(Tn(e));
|
|
1113
1113
|
}
|
|
1114
|
-
function
|
|
1114
|
+
function Jt(e, t) {
|
|
1115
1115
|
try {
|
|
1116
1116
|
return t in e;
|
|
1117
1117
|
} catch {
|
|
@@ -1119,14 +1119,14 @@ function er(e, t) {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
1121
|
function Hn(e, t) {
|
|
1122
|
-
return
|
|
1122
|
+
return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1123
1123
|
}
|
|
1124
1124
|
function An(e, t, r) {
|
|
1125
1125
|
var n = {};
|
|
1126
1126
|
return r.isMergeableObject(e) && wt(e).forEach(function(i) {
|
|
1127
1127
|
n[i] = he(e[i], r);
|
|
1128
1128
|
}), wt(t).forEach(function(i) {
|
|
1129
|
-
Hn(e, i) || (
|
|
1129
|
+
Hn(e, i) || (Jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
|
|
1130
1130
|
}), n;
|
|
1131
1131
|
}
|
|
1132
1132
|
function Y(e, t, r) {
|
|
@@ -1151,7 +1151,7 @@ var Ye = function(e, t) {
|
|
|
1151
1151
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1152
1152
|
}, Ye(e, t);
|
|
1153
1153
|
};
|
|
1154
|
-
function
|
|
1154
|
+
function Ae(e, t) {
|
|
1155
1155
|
if (typeof t != "function" && t !== null)
|
|
1156
1156
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1157
1157
|
Ye(e, t);
|
|
@@ -1199,19 +1199,19 @@ function In(e, t, r, n) {
|
|
|
1199
1199
|
var i = Ln(n) ? n : r(n), s = t.get(i);
|
|
1200
1200
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1202
|
+
function Kt(e, t, r) {
|
|
1203
1203
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1204
1204
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1205
1205
|
}
|
|
1206
|
-
function
|
|
1206
|
+
function er(e, t, r, n, i) {
|
|
1207
1207
|
return r.bind(t, e, n, i);
|
|
1208
1208
|
}
|
|
1209
1209
|
function Mn(e, t) {
|
|
1210
|
-
var r = e.length === 1 ? In :
|
|
1211
|
-
return
|
|
1210
|
+
var r = e.length === 1 ? In : Kt;
|
|
1211
|
+
return er(e, this, r, t.cache.create(), t.serializer);
|
|
1212
1212
|
}
|
|
1213
1213
|
function Cn(e, t) {
|
|
1214
|
-
return
|
|
1214
|
+
return er(e, this, Kt, t.cache.create(), t.serializer);
|
|
1215
1215
|
}
|
|
1216
1216
|
var Rn = function() {
|
|
1217
1217
|
return JSON.stringify(arguments);
|
|
@@ -1233,15 +1233,15 @@ var Rn = function() {
|
|
|
1233
1233
|
}
|
|
1234
1234
|
}, Ue = {
|
|
1235
1235
|
variadic: Cn
|
|
1236
|
-
},
|
|
1237
|
-
return
|
|
1236
|
+
}, xe = function() {
|
|
1237
|
+
return xe = Object.assign || function(t) {
|
|
1238
1238
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1239
1239
|
r = arguments[n];
|
|
1240
1240
|
for (var s in r)
|
|
1241
1241
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1242
1242
|
}
|
|
1243
1243
|
return t;
|
|
1244
|
-
},
|
|
1244
|
+
}, xe.apply(this, arguments);
|
|
1245
1245
|
};
|
|
1246
1246
|
var g;
|
|
1247
1247
|
(function(e) {
|
|
@@ -1261,37 +1261,37 @@ function Tt(e) {
|
|
|
1261
1261
|
function Dn(e) {
|
|
1262
1262
|
return e.type === E.argument;
|
|
1263
1263
|
}
|
|
1264
|
-
function
|
|
1264
|
+
function tr(e) {
|
|
1265
1265
|
return e.type === E.number;
|
|
1266
1266
|
}
|
|
1267
|
-
function
|
|
1267
|
+
function rr(e) {
|
|
1268
1268
|
return e.type === E.date;
|
|
1269
1269
|
}
|
|
1270
|
-
function
|
|
1270
|
+
function nr(e) {
|
|
1271
1271
|
return e.type === E.time;
|
|
1272
1272
|
}
|
|
1273
|
-
function
|
|
1273
|
+
function ir(e) {
|
|
1274
1274
|
return e.type === E.select;
|
|
1275
1275
|
}
|
|
1276
|
-
function
|
|
1276
|
+
function sr(e) {
|
|
1277
1277
|
return e.type === E.plural;
|
|
1278
1278
|
}
|
|
1279
|
-
function
|
|
1279
|
+
function $n(e) {
|
|
1280
1280
|
return e.type === E.pound;
|
|
1281
1281
|
}
|
|
1282
|
-
function
|
|
1282
|
+
function or(e) {
|
|
1283
1283
|
return e.type === E.tag;
|
|
1284
1284
|
}
|
|
1285
|
-
function
|
|
1285
|
+
function ar(e) {
|
|
1286
1286
|
return !!(e && typeof e == "object" && e.type === J.number);
|
|
1287
1287
|
}
|
|
1288
1288
|
function Je(e) {
|
|
1289
1289
|
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
1290
1290
|
}
|
|
1291
|
-
var
|
|
1291
|
+
var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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;
|
|
1292
1292
|
function jn(e) {
|
|
1293
1293
|
var t = {};
|
|
1294
|
-
return e.replace(
|
|
1294
|
+
return e.replace(Fn, function(r) {
|
|
1295
1295
|
var n = r.length;
|
|
1296
1296
|
switch (r[0]) {
|
|
1297
1297
|
case "G":
|
|
@@ -1412,14 +1412,14 @@ function Vn(e) {
|
|
|
1412
1412
|
function Xn(e) {
|
|
1413
1413
|
return e.replace(/^(.*?)-/, "");
|
|
1414
1414
|
}
|
|
1415
|
-
var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
1415
|
+
var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, Wn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
|
|
1416
1416
|
function At(e) {
|
|
1417
1417
|
var t = {};
|
|
1418
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1418
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, n, i) {
|
|
1419
1419
|
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)), "";
|
|
1420
1420
|
}), t;
|
|
1421
1421
|
}
|
|
1422
|
-
function
|
|
1422
|
+
function cr(e) {
|
|
1423
1423
|
switch (e) {
|
|
1424
1424
|
case "sign-auto":
|
|
1425
1425
|
return {
|
|
@@ -1467,14 +1467,14 @@ function zn(e) {
|
|
|
1467
1467
|
notation: "scientific"
|
|
1468
1468
|
}, e = e.slice(1)), t) {
|
|
1469
1469
|
var r = e.slice(0, 2);
|
|
1470
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1470
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
|
|
1471
1471
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1472
1472
|
t.minimumIntegerDigits = e.length;
|
|
1473
1473
|
}
|
|
1474
1474
|
return t;
|
|
1475
1475
|
}
|
|
1476
1476
|
function Bt(e) {
|
|
1477
|
-
var t = {}, r =
|
|
1477
|
+
var t = {}, r = cr(e);
|
|
1478
1478
|
return r || t;
|
|
1479
1479
|
}
|
|
1480
1480
|
function Zn(e) {
|
|
@@ -1576,7 +1576,7 @@ function Zn(e) {
|
|
|
1576
1576
|
});
|
|
1577
1577
|
continue;
|
|
1578
1578
|
}
|
|
1579
|
-
if (
|
|
1579
|
+
if (lr.test(i.stem)) {
|
|
1580
1580
|
t.minimumIntegerDigits = i.stem.length;
|
|
1581
1581
|
continue;
|
|
1582
1582
|
}
|
|
@@ -1590,18 +1590,18 @@ function Zn(e) {
|
|
|
1590
1590
|
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), At(s)));
|
|
1591
1591
|
continue;
|
|
1592
1592
|
}
|
|
1593
|
-
if (
|
|
1593
|
+
if (hr.test(i.stem)) {
|
|
1594
1594
|
t = S(S({}, t), At(i.stem));
|
|
1595
1595
|
continue;
|
|
1596
1596
|
}
|
|
1597
|
-
var o =
|
|
1597
|
+
var o = cr(i.stem);
|
|
1598
1598
|
o && (t = S(S({}, t), o));
|
|
1599
1599
|
var a = zn(i.stem);
|
|
1600
1600
|
a && (t = S(S({}, t), a));
|
|
1601
1601
|
}
|
|
1602
1602
|
return t;
|
|
1603
1603
|
}
|
|
1604
|
-
var
|
|
1604
|
+
var ge = {
|
|
1605
1605
|
"001": [
|
|
1606
1606
|
"H",
|
|
1607
1607
|
"h"
|
|
@@ -3051,10 +3051,10 @@ function Qn(e) {
|
|
|
3051
3051
|
}
|
|
3052
3052
|
var r = e.language, n;
|
|
3053
3053
|
r !== "root" && (n = e.maximize().region);
|
|
3054
|
-
var i =
|
|
3054
|
+
var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
|
|
3055
3055
|
return i[0];
|
|
3056
3056
|
}
|
|
3057
|
-
var De, Yn = new RegExp("^".concat(
|
|
3057
|
+
var De, Yn = new RegExp("^".concat(ur.source, "*")), Jn = new RegExp("".concat(ur.source, "*$"));
|
|
3058
3058
|
function y(e, t) {
|
|
3059
3059
|
return { start: e, end: t };
|
|
3060
3060
|
}
|
|
@@ -3062,7 +3062,7 @@ var Kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), ei = !!String
|
|
|
3062
3062
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3063
3063
|
}, Ke = !0;
|
|
3064
3064
|
try {
|
|
3065
|
-
var ai =
|
|
3065
|
+
var ai = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3066
3066
|
Ke = ((De = ai.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
|
|
3067
3067
|
} catch {
|
|
3068
3068
|
Ke = !1;
|
|
@@ -3101,7 +3101,7 @@ var Pt = Kn ? (
|
|
|
3101
3101
|
return r;
|
|
3102
3102
|
}
|
|
3103
3103
|
)
|
|
3104
|
-
),
|
|
3104
|
+
), fr = ri ? (
|
|
3105
3105
|
// Native
|
|
3106
3106
|
function(t, r) {
|
|
3107
3107
|
return t.codePointAt(r);
|
|
@@ -3136,12 +3136,12 @@ var Pt = Kn ? (
|
|
|
3136
3136
|
return t.replace(Jn, "");
|
|
3137
3137
|
}
|
|
3138
3138
|
);
|
|
3139
|
-
function
|
|
3139
|
+
function mr(e, t) {
|
|
3140
3140
|
return new RegExp(e, t);
|
|
3141
3141
|
}
|
|
3142
3142
|
var tt;
|
|
3143
3143
|
if (Ke) {
|
|
3144
|
-
var Nt =
|
|
3144
|
+
var Nt = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3145
3145
|
tt = function(t, r) {
|
|
3146
3146
|
var n;
|
|
3147
3147
|
Nt.lastIndex = r;
|
|
@@ -3151,8 +3151,8 @@ if (Ke) {
|
|
|
3151
3151
|
} else
|
|
3152
3152
|
tt = function(t, r) {
|
|
3153
3153
|
for (var n = []; ; ) {
|
|
3154
|
-
var i =
|
|
3155
|
-
if (i === void 0 ||
|
|
3154
|
+
var i = fr(t, r);
|
|
3155
|
+
if (i === void 0 || dr(i) || mi(i))
|
|
3156
3156
|
break;
|
|
3157
3157
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3158
3158
|
}
|
|
@@ -3406,7 +3406,7 @@ var li = (
|
|
|
3406
3406
|
case "select": {
|
|
3407
3407
|
var T = this.clonePosition();
|
|
3408
3408
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3409
|
-
return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T,
|
|
3409
|
+
return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, xe({}, T)));
|
|
3410
3410
|
this.bumpSpace();
|
|
3411
3411
|
var O = this.parseIdentifierIfPossible(), H = 0;
|
|
3412
3412
|
if (a !== "select" && O.value === "offset") {
|
|
@@ -3560,7 +3560,7 @@ var li = (
|
|
|
3560
3560
|
var t = this.position.offset;
|
|
3561
3561
|
if (t >= this.message.length)
|
|
3562
3562
|
throw Error("out of bound");
|
|
3563
|
-
var r =
|
|
3563
|
+
var r = fr(this.message, t);
|
|
3564
3564
|
if (r === void 0)
|
|
3565
3565
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3566
3566
|
return r;
|
|
@@ -3601,7 +3601,7 @@ var li = (
|
|
|
3601
3601
|
break;
|
|
3602
3602
|
}
|
|
3603
3603
|
}, e.prototype.bumpSpace = function() {
|
|
3604
|
-
for (; !this.isEOF() &&
|
|
3604
|
+
for (; !this.isEOF() && dr(this.char()); )
|
|
3605
3605
|
this.bump();
|
|
3606
3606
|
}, e.prototype.peek = function() {
|
|
3607
3607
|
if (this.isEOF())
|
|
@@ -3620,7 +3620,7 @@ function ci(e) {
|
|
|
3620
3620
|
function fi(e) {
|
|
3621
3621
|
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;
|
|
3622
3622
|
}
|
|
3623
|
-
function
|
|
3623
|
+
function dr(e) {
|
|
3624
3624
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3625
3625
|
}
|
|
3626
3626
|
function mi(e) {
|
|
@@ -3628,15 +3628,15 @@ function mi(e) {
|
|
|
3628
3628
|
}
|
|
3629
3629
|
function nt(e) {
|
|
3630
3630
|
e.forEach(function(t) {
|
|
3631
|
-
if (delete t.location,
|
|
3631
|
+
if (delete t.location, ir(t) || sr(t))
|
|
3632
3632
|
for (var r in t.options)
|
|
3633
3633
|
delete t.options[r].location, nt(t.options[r].value);
|
|
3634
3634
|
else
|
|
3635
|
-
|
|
3635
|
+
tr(t) && ar(t.style) || (rr(t) || nr(t)) && Je(t.style) ? delete t.style.location : or(t) && nt(t.children);
|
|
3636
3636
|
});
|
|
3637
3637
|
}
|
|
3638
3638
|
function di(e, t) {
|
|
3639
|
-
t === void 0 && (t = {}), t =
|
|
3639
|
+
t === void 0 && (t = {}), t = xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3640
3640
|
var r = new li(e, t).parse();
|
|
3641
3641
|
if (r.err) {
|
|
3642
3642
|
var n = SyntaxError(g[r.err.kind]);
|
|
@@ -3648,10 +3648,10 @@ var K;
|
|
|
3648
3648
|
(function(e) {
|
|
3649
3649
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3650
3650
|
})(K || (K = {}));
|
|
3651
|
-
var
|
|
3651
|
+
var Be = (
|
|
3652
3652
|
/** @class */
|
|
3653
3653
|
function(e) {
|
|
3654
|
-
|
|
3654
|
+
Ae(t, e);
|
|
3655
3655
|
function t(r, n, i) {
|
|
3656
3656
|
var s = e.call(this, r) || this;
|
|
3657
3657
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3663,48 +3663,48 @@ var Pe = (
|
|
|
3663
3663
|
), Lt = (
|
|
3664
3664
|
/** @class */
|
|
3665
3665
|
function(e) {
|
|
3666
|
-
|
|
3666
|
+
Ae(t, e);
|
|
3667
3667
|
function t(r, n, i, s) {
|
|
3668
3668
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, s) || this;
|
|
3669
3669
|
}
|
|
3670
3670
|
return t;
|
|
3671
|
-
}(
|
|
3671
|
+
}(Be)
|
|
3672
3672
|
), bi = (
|
|
3673
3673
|
/** @class */
|
|
3674
3674
|
function(e) {
|
|
3675
|
-
|
|
3675
|
+
Ae(t, e);
|
|
3676
3676
|
function t(r, n, i) {
|
|
3677
3677
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
|
|
3678
3678
|
}
|
|
3679
3679
|
return t;
|
|
3680
|
-
}(
|
|
3680
|
+
}(Be)
|
|
3681
3681
|
), pi = (
|
|
3682
3682
|
/** @class */
|
|
3683
3683
|
function(e) {
|
|
3684
|
-
|
|
3684
|
+
Ae(t, e);
|
|
3685
3685
|
function t(r, n) {
|
|
3686
3686
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
|
|
3687
3687
|
}
|
|
3688
3688
|
return t;
|
|
3689
|
-
}(
|
|
3690
|
-
),
|
|
3689
|
+
}(Be)
|
|
3690
|
+
), B;
|
|
3691
3691
|
(function(e) {
|
|
3692
3692
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3693
|
-
})(
|
|
3693
|
+
})(B || (B = {}));
|
|
3694
3694
|
function gi(e) {
|
|
3695
3695
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3696
3696
|
var n = t[t.length - 1];
|
|
3697
|
-
return !n || n.type !==
|
|
3697
|
+
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3698
3698
|
}, []);
|
|
3699
3699
|
}
|
|
3700
3700
|
function yi(e) {
|
|
3701
3701
|
return typeof e == "function";
|
|
3702
3702
|
}
|
|
3703
|
-
function
|
|
3703
|
+
function _e(e, t, r, n, i, s, o) {
|
|
3704
3704
|
if (e.length === 1 && Tt(e[0]))
|
|
3705
3705
|
return [
|
|
3706
3706
|
{
|
|
3707
|
-
type:
|
|
3707
|
+
type: B.literal,
|
|
3708
3708
|
value: e[0].value
|
|
3709
3709
|
}
|
|
3710
3710
|
];
|
|
@@ -3712,14 +3712,14 @@ function Ee(e, t, r, n, i, s, o) {
|
|
|
3712
3712
|
var l = u[h];
|
|
3713
3713
|
if (Tt(l)) {
|
|
3714
3714
|
a.push({
|
|
3715
|
-
type:
|
|
3715
|
+
type: B.literal,
|
|
3716
3716
|
value: l.value
|
|
3717
3717
|
});
|
|
3718
3718
|
continue;
|
|
3719
3719
|
}
|
|
3720
|
-
if (
|
|
3720
|
+
if ($n(l)) {
|
|
3721
3721
|
typeof s == "number" && a.push({
|
|
3722
|
-
type:
|
|
3722
|
+
type: B.literal,
|
|
3723
3723
|
value: r.getNumberFormat(t).format(s)
|
|
3724
3724
|
});
|
|
3725
3725
|
continue;
|
|
@@ -3730,61 +3730,61 @@ function Ee(e, t, r, n, i, s, o) {
|
|
|
3730
3730
|
var c = i[m];
|
|
3731
3731
|
if (Dn(l)) {
|
|
3732
3732
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3733
|
-
type: typeof c == "string" ?
|
|
3733
|
+
type: typeof c == "string" ? B.literal : B.object,
|
|
3734
3734
|
value: c
|
|
3735
3735
|
});
|
|
3736
3736
|
continue;
|
|
3737
3737
|
}
|
|
3738
|
-
if (
|
|
3738
|
+
if (rr(l)) {
|
|
3739
3739
|
var d = typeof l.style == "string" ? n.date[l.style] : Je(l.style) ? l.style.parsedOptions : void 0;
|
|
3740
3740
|
a.push({
|
|
3741
|
-
type:
|
|
3741
|
+
type: B.literal,
|
|
3742
3742
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3743
3743
|
});
|
|
3744
3744
|
continue;
|
|
3745
3745
|
}
|
|
3746
|
-
if (
|
|
3746
|
+
if (nr(l)) {
|
|
3747
3747
|
var d = typeof l.style == "string" ? n.time[l.style] : Je(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3748
3748
|
a.push({
|
|
3749
|
-
type:
|
|
3749
|
+
type: B.literal,
|
|
3750
3750
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3751
3751
|
});
|
|
3752
3752
|
continue;
|
|
3753
3753
|
}
|
|
3754
|
-
if (
|
|
3755
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
|
3754
|
+
if (tr(l)) {
|
|
3755
|
+
var d = typeof l.style == "string" ? n.number[l.style] : ar(l.style) ? l.style.parsedOptions : void 0;
|
|
3756
3756
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
|
3757
|
-
type:
|
|
3757
|
+
type: B.literal,
|
|
3758
3758
|
value: r.getNumberFormat(t, d).format(c)
|
|
3759
3759
|
});
|
|
3760
3760
|
continue;
|
|
3761
3761
|
}
|
|
3762
|
-
if (
|
|
3762
|
+
if (or(l)) {
|
|
3763
3763
|
var p = l.children, b = l.value, w = i[b];
|
|
3764
3764
|
if (!yi(w))
|
|
3765
3765
|
throw new bi(b, "function", o);
|
|
3766
|
-
var M =
|
|
3766
|
+
var M = _e(p, t, r, n, i, s), P = w(M.map(function(H) {
|
|
3767
3767
|
return H.value;
|
|
3768
3768
|
}));
|
|
3769
3769
|
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(H) {
|
|
3770
3770
|
return {
|
|
3771
|
-
type: typeof H == "string" ?
|
|
3771
|
+
type: typeof H == "string" ? B.literal : B.object,
|
|
3772
3772
|
value: H
|
|
3773
3773
|
};
|
|
3774
3774
|
}));
|
|
3775
3775
|
}
|
|
3776
|
-
if (
|
|
3776
|
+
if (ir(l)) {
|
|
3777
3777
|
var T = l.options[c] || l.options.other;
|
|
3778
3778
|
if (!T)
|
|
3779
3779
|
throw new Lt(l.value, c, Object.keys(l.options), o);
|
|
3780
|
-
a.push.apply(a,
|
|
3780
|
+
a.push.apply(a, _e(T.value, t, r, n, i));
|
|
3781
3781
|
continue;
|
|
3782
3782
|
}
|
|
3783
|
-
if (
|
|
3783
|
+
if (sr(l)) {
|
|
3784
3784
|
var T = l.options["=".concat(c)];
|
|
3785
3785
|
if (!T) {
|
|
3786
3786
|
if (!Intl.PluralRules)
|
|
3787
|
-
throw new
|
|
3787
|
+
throw new Be(`Intl.PluralRules is not available in this environment.
|
|
3788
3788
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3789
3789
|
`, K.MISSING_INTL_API, o);
|
|
3790
3790
|
var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
@@ -3792,7 +3792,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3792
3792
|
}
|
|
3793
3793
|
if (!T)
|
|
3794
3794
|
throw new Lt(l.value, c, Object.keys(l.options), o);
|
|
3795
|
-
a.push.apply(a,
|
|
3795
|
+
a.push.apply(a, _e(T.value, t, r, n, i, c - (l.offset || 0)));
|
|
3796
3796
|
continue;
|
|
3797
3797
|
}
|
|
3798
3798
|
}
|
|
@@ -3808,7 +3808,7 @@ function _i(e, t) {
|
|
|
3808
3808
|
return r[n] = vi(e[n], t[n]), r;
|
|
3809
3809
|
}, R({}, e)) : e;
|
|
3810
3810
|
}
|
|
3811
|
-
function
|
|
3811
|
+
function $e(e) {
|
|
3812
3812
|
return {
|
|
3813
3813
|
create: function() {
|
|
3814
3814
|
return {
|
|
@@ -3833,7 +3833,7 @@ function Ei(e) {
|
|
|
3833
3833
|
r[n] = arguments[n];
|
|
3834
3834
|
return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
|
|
3835
3835
|
}, {
|
|
3836
|
-
cache:
|
|
3836
|
+
cache: $e(e.number),
|
|
3837
3837
|
strategy: Ue.variadic
|
|
3838
3838
|
}),
|
|
3839
3839
|
getDateTimeFormat: Ge(function() {
|
|
@@ -3841,7 +3841,7 @@ function Ei(e) {
|
|
|
3841
3841
|
r[n] = arguments[n];
|
|
3842
3842
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
|
|
3843
3843
|
}, {
|
|
3844
|
-
cache:
|
|
3844
|
+
cache: $e(e.dateTime),
|
|
3845
3845
|
strategy: Ue.variadic
|
|
3846
3846
|
}),
|
|
3847
3847
|
getPluralRules: Ge(function() {
|
|
@@ -3849,7 +3849,7 @@ function Ei(e) {
|
|
|
3849
3849
|
r[n] = arguments[n];
|
|
3850
3850
|
return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
|
|
3851
3851
|
}, {
|
|
3852
|
-
cache:
|
|
3852
|
+
cache: $e(e.pluralRules),
|
|
3853
3853
|
strategy: Ue.variadic
|
|
3854
3854
|
})
|
|
3855
3855
|
};
|
|
@@ -3869,11 +3869,11 @@ var xi = (
|
|
|
3869
3869
|
if (u.length === 1)
|
|
3870
3870
|
return u[0].value;
|
|
3871
3871
|
var l = u.reduce(function(m, c) {
|
|
3872
|
-
return !m.length || c.type !==
|
|
3872
|
+
return !m.length || c.type !== B.literal || typeof m[m.length - 1] != "string" ? m.push(c.value) : m[m.length - 1] += c.value, m;
|
|
3873
3873
|
}, []);
|
|
3874
3874
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3875
3875
|
}, this.formatToParts = function(h) {
|
|
3876
|
-
return
|
|
3876
|
+
return _e(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3877
3877
|
}, this.resolvedOptions = function() {
|
|
3878
3878
|
var h;
|
|
3879
3879
|
return {
|
|
@@ -3987,12 +3987,12 @@ function Si(e, t) {
|
|
|
3987
3987
|
n = void 0;
|
|
3988
3988
|
return n;
|
|
3989
3989
|
}
|
|
3990
|
-
const D = {}, wi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r),
|
|
3990
|
+
const D = {}, wi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), br = (e, t) => {
|
|
3991
3991
|
if (t == null)
|
|
3992
3992
|
return;
|
|
3993
3993
|
if (t in D && e in D[t])
|
|
3994
3994
|
return D[t][e];
|
|
3995
|
-
const r =
|
|
3995
|
+
const r = Pe(t);
|
|
3996
3996
|
for (let n = 0; n < r.length; n++) {
|
|
3997
3997
|
const i = r[n], s = Hi(i, e);
|
|
3998
3998
|
if (s)
|
|
@@ -4000,15 +4000,15 @@ const D = {}, wi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][
|
|
|
4000
4000
|
}
|
|
4001
4001
|
};
|
|
4002
4002
|
let ut;
|
|
4003
|
-
const me =
|
|
4003
|
+
const me = He({});
|
|
4004
4004
|
function Ti(e) {
|
|
4005
4005
|
return ut[e] || null;
|
|
4006
4006
|
}
|
|
4007
|
-
function
|
|
4007
|
+
function pr(e) {
|
|
4008
4008
|
return e in ut;
|
|
4009
4009
|
}
|
|
4010
4010
|
function Hi(e, t) {
|
|
4011
|
-
if (!
|
|
4011
|
+
if (!pr(e))
|
|
4012
4012
|
return null;
|
|
4013
4013
|
const r = Ti(e);
|
|
4014
4014
|
return Si(r, t);
|
|
@@ -4016,14 +4016,14 @@ function Hi(e, t) {
|
|
|
4016
4016
|
function Ai(e) {
|
|
4017
4017
|
if (e == null)
|
|
4018
4018
|
return;
|
|
4019
|
-
const t =
|
|
4019
|
+
const t = Pe(e);
|
|
4020
4020
|
for (let r = 0; r < t.length; r++) {
|
|
4021
4021
|
const n = t[r];
|
|
4022
|
-
if (
|
|
4022
|
+
if (pr(n))
|
|
4023
4023
|
return n;
|
|
4024
4024
|
}
|
|
4025
4025
|
}
|
|
4026
|
-
function
|
|
4026
|
+
function gr(e, ...t) {
|
|
4027
4027
|
delete D[e], me.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
|
|
4028
4028
|
}
|
|
4029
4029
|
ie(
|
|
@@ -4031,34 +4031,34 @@ ie(
|
|
|
4031
4031
|
([e]) => Object.keys(e)
|
|
4032
4032
|
);
|
|
4033
4033
|
me.subscribe((e) => ut = e);
|
|
4034
|
-
const
|
|
4034
|
+
const Ee = {};
|
|
4035
4035
|
function Bi(e, t) {
|
|
4036
|
-
|
|
4036
|
+
Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
|
|
4037
4037
|
}
|
|
4038
|
-
function
|
|
4039
|
-
return
|
|
4038
|
+
function yr(e) {
|
|
4039
|
+
return Ee[e];
|
|
4040
4040
|
}
|
|
4041
4041
|
function Pi(e) {
|
|
4042
|
-
return
|
|
4043
|
-
const r =
|
|
4042
|
+
return Pe(e).map((t) => {
|
|
4043
|
+
const r = yr(t);
|
|
4044
4044
|
return [t, r ? [...r] : []];
|
|
4045
4045
|
}).filter(([, t]) => t.length > 0);
|
|
4046
4046
|
}
|
|
4047
4047
|
function it(e) {
|
|
4048
|
-
return e == null ? !1 :
|
|
4048
|
+
return e == null ? !1 : Pe(e).some(
|
|
4049
4049
|
(t) => {
|
|
4050
4050
|
var r;
|
|
4051
|
-
return (r =
|
|
4051
|
+
return (r = yr(t)) == null ? void 0 : r.size;
|
|
4052
4052
|
}
|
|
4053
4053
|
);
|
|
4054
4054
|
}
|
|
4055
4055
|
function Oi(e, t) {
|
|
4056
4056
|
return Promise.all(
|
|
4057
4057
|
t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
|
|
4058
|
-
).then((n) =>
|
|
4058
|
+
).then((n) => gr(e, ...n));
|
|
4059
4059
|
}
|
|
4060
4060
|
const oe = {};
|
|
4061
|
-
function
|
|
4061
|
+
function vr(e) {
|
|
4062
4062
|
if (!it(e))
|
|
4063
4063
|
return e in oe ? oe[e] : Promise.resolve();
|
|
4064
4064
|
const t = Pi(e);
|
|
@@ -4068,7 +4068,7 @@ function Er(e) {
|
|
|
4068
4068
|
)
|
|
4069
4069
|
).then(() => {
|
|
4070
4070
|
if (it(e))
|
|
4071
|
-
return
|
|
4071
|
+
return vr(e);
|
|
4072
4072
|
delete oe[e];
|
|
4073
4073
|
}), oe[e];
|
|
4074
4074
|
}
|
|
@@ -4112,7 +4112,7 @@ const Ni = {
|
|
|
4112
4112
|
function ee() {
|
|
4113
4113
|
return Ii;
|
|
4114
4114
|
}
|
|
4115
|
-
const
|
|
4115
|
+
const Fe = He(!1);
|
|
4116
4116
|
var Mi = Object.defineProperty, Ci = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Gi = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
|
|
4117
4117
|
for (var r in t || (t = {}))
|
|
4118
4118
|
Gi.call(t, r) && Mt(e, r, t[r]);
|
|
@@ -4120,59 +4120,59 @@ var Mi = Object.defineProperty, Ci = Object.defineProperties, Ri = Object.getOwn
|
|
|
4120
4120
|
for (var r of It(t))
|
|
4121
4121
|
Ui.call(t, r) && Mt(e, r, t[r]);
|
|
4122
4122
|
return e;
|
|
4123
|
-
},
|
|
4123
|
+
}, $i = (e, t) => Ci(e, Ri(t));
|
|
4124
4124
|
let st;
|
|
4125
|
-
const
|
|
4125
|
+
const Se = He(null);
|
|
4126
4126
|
function Ct(e) {
|
|
4127
4127
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4128
4128
|
}
|
|
4129
|
-
function
|
|
4129
|
+
function Pe(e, t = ee().fallbackLocale) {
|
|
4130
4130
|
const r = Ct(e);
|
|
4131
4131
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
|
|
4132
4132
|
}
|
|
4133
4133
|
function V() {
|
|
4134
4134
|
return st ?? void 0;
|
|
4135
4135
|
}
|
|
4136
|
-
|
|
4136
|
+
Se.subscribe((e) => {
|
|
4137
4137
|
st = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4138
4138
|
});
|
|
4139
|
-
const
|
|
4139
|
+
const Fi = (e) => {
|
|
4140
4140
|
if (e && Ai(e) && it(e)) {
|
|
4141
4141
|
const { loadingDelay: t } = ee();
|
|
4142
4142
|
let r;
|
|
4143
4143
|
return typeof window < "u" && V() != null && t ? r = window.setTimeout(
|
|
4144
|
-
() =>
|
|
4144
|
+
() => Fe.set(!0),
|
|
4145
4145
|
t
|
|
4146
|
-
) :
|
|
4147
|
-
|
|
4146
|
+
) : Fe.set(!0), vr(e).then(() => {
|
|
4147
|
+
Se.set(e);
|
|
4148
4148
|
}).finally(() => {
|
|
4149
|
-
clearTimeout(r),
|
|
4149
|
+
clearTimeout(r), Fe.set(!1);
|
|
4150
4150
|
});
|
|
4151
4151
|
}
|
|
4152
|
-
return
|
|
4153
|
-
}, de =
|
|
4154
|
-
set:
|
|
4155
|
-
}),
|
|
4152
|
+
return Se.set(e);
|
|
4153
|
+
}, de = $i(Di({}, Se), {
|
|
4154
|
+
set: Fi
|
|
4155
|
+
}), Oe = (e) => {
|
|
4156
4156
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4157
4157
|
return (n) => {
|
|
4158
4158
|
const i = JSON.stringify(n);
|
|
4159
4159
|
return i in t ? t[i] : t[i] = e(n);
|
|
4160
4160
|
};
|
|
4161
4161
|
};
|
|
4162
|
-
var ji = Object.defineProperty,
|
|
4162
|
+
var ji = Object.defineProperty, we = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
|
4163
4163
|
for (var r in t || (t = {}))
|
|
4164
|
-
|
|
4165
|
-
if (
|
|
4166
|
-
for (var r of
|
|
4167
|
-
|
|
4164
|
+
_r.call(t, r) && Rt(e, r, t[r]);
|
|
4165
|
+
if (we)
|
|
4166
|
+
for (var r of we(t))
|
|
4167
|
+
Er.call(t, r) && Rt(e, r, t[r]);
|
|
4168
4168
|
return e;
|
|
4169
4169
|
}, se = (e, t) => {
|
|
4170
4170
|
var r = {};
|
|
4171
4171
|
for (var n in e)
|
|
4172
|
-
|
|
4173
|
-
if (e != null &&
|
|
4174
|
-
for (var n of
|
|
4175
|
-
t.indexOf(n) < 0 &&
|
|
4172
|
+
_r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4173
|
+
if (e != null && we)
|
|
4174
|
+
for (var n of we(e))
|
|
4175
|
+
t.indexOf(n) < 0 && Er.call(e, n) && (r[n] = e[n]);
|
|
4176
4176
|
return r;
|
|
4177
4177
|
};
|
|
4178
4178
|
const le = (e, t) => {
|
|
@@ -4180,21 +4180,21 @@ const le = (e, t) => {
|
|
|
4180
4180
|
if (e in r && t in r[e])
|
|
4181
4181
|
return r[e][t];
|
|
4182
4182
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4183
|
-
}, ki =
|
|
4183
|
+
}, ki = Oe(
|
|
4184
4184
|
(e) => {
|
|
4185
4185
|
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
|
4186
4186
|
if (r == null)
|
|
4187
4187
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4188
4188
|
return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
|
|
4189
4189
|
}
|
|
4190
|
-
), Vi =
|
|
4190
|
+
), Vi = Oe(
|
|
4191
4191
|
(e) => {
|
|
4192
4192
|
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
|
4193
4193
|
if (r == null)
|
|
4194
4194
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4195
4195
|
return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4196
4196
|
}
|
|
4197
|
-
), Xi =
|
|
4197
|
+
), Xi = Oe(
|
|
4198
4198
|
(e) => {
|
|
4199
4199
|
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
|
4200
4200
|
if (r == null)
|
|
@@ -4224,7 +4224,7 @@ const le = (e, t) => {
|
|
|
4224
4224
|
"locale"
|
|
4225
4225
|
]);
|
|
4226
4226
|
return Xi(ht({ locale: r }, n));
|
|
4227
|
-
}, qi =
|
|
4227
|
+
}, qi = Oe(
|
|
4228
4228
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4229
4229
|
(e, t = V()) => new xi(e, t, ee().formats, {
|
|
4230
4230
|
ignoreTag: ee().ignoreTag
|
|
@@ -4242,7 +4242,7 @@ const le = (e, t) => {
|
|
|
4242
4242
|
throw new Error(
|
|
4243
4243
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4244
4244
|
);
|
|
4245
|
-
let l =
|
|
4245
|
+
let l = br(e, h);
|
|
4246
4246
|
if (!l)
|
|
4247
4247
|
l = (s = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
4248
4248
|
else if (typeof l != "string")
|
|
@@ -4261,7 +4261,7 @@ const le = (e, t) => {
|
|
|
4261
4261
|
);
|
|
4262
4262
|
}
|
|
4263
4263
|
return m;
|
|
4264
|
-
}, Yi = (e, t) => Zi(t).format(e), Ji = (e, t) => zi(t).format(e), Ki = (e, t) => Wi(t).format(e), es = (e, t = V()) =>
|
|
4264
|
+
}, Yi = (e, t) => Zi(t).format(e), Ji = (e, t) => zi(t).format(e), Ki = (e, t) => Wi(t).format(e), es = (e, t = V()) => br(e, t), ts = ie([de, me], () => Qi);
|
|
4265
4265
|
ie([de], () => Yi);
|
|
4266
4266
|
ie([de], () => Ji);
|
|
4267
4267
|
ie([de], () => Ki);
|
|
@@ -4269,10 +4269,10 @@ ie([de, me], () => es);
|
|
|
4269
4269
|
window.emWidgets = { topic: mn };
|
|
4270
4270
|
const rs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4271
4271
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4272
|
-
function
|
|
4273
|
-
|
|
4272
|
+
function ns(e, t) {
|
|
4273
|
+
gr(e, t);
|
|
4274
4274
|
}
|
|
4275
|
-
const
|
|
4275
|
+
const is = {
|
|
4276
4276
|
en: {
|
|
4277
4277
|
lobbyName: "Lobby",
|
|
4278
4278
|
myGamesName: "My games"
|
|
@@ -4346,13 +4346,13 @@ const Ut = {
|
|
|
4346
4346
|
myGamesName: "My games"
|
|
4347
4347
|
}
|
|
4348
4348
|
};
|
|
4349
|
-
function
|
|
4349
|
+
function ss(e, t) {
|
|
4350
4350
|
if (e) {
|
|
4351
4351
|
const r = document.createElement("style");
|
|
4352
4352
|
r.innerHTML = t, e.appendChild(r);
|
|
4353
4353
|
}
|
|
4354
4354
|
}
|
|
4355
|
-
function
|
|
4355
|
+
function os(e, t) {
|
|
4356
4356
|
if (!e || !t)
|
|
4357
4357
|
return;
|
|
4358
4358
|
const r = new URL(t);
|
|
@@ -4363,7 +4363,7 @@ function is(e, t) {
|
|
|
4363
4363
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4364
4364
|
});
|
|
4365
4365
|
}
|
|
4366
|
-
function
|
|
4366
|
+
function as(e, t, r) {
|
|
4367
4367
|
if (window.emMessageBus) {
|
|
4368
4368
|
const n = document.createElement("style");
|
|
4369
4369
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4383,14 +4383,17 @@ if (typeof window < "u") {
|
|
|
4383
4383
|
}
|
|
4384
4384
|
};
|
|
4385
4385
|
};
|
|
4386
|
-
customElements.define = e(customElements.define), import("./CasinoSliderNd-
|
|
4386
|
+
customElements.define = e(customElements.define), import("./CasinoSliderNd-BWvm077c.js").then(({ default: t }) => {
|
|
4387
4387
|
!customElements.get("casino-slider-nd") && customElements.define("casino-slider-nd", t.element);
|
|
4388
4388
|
});
|
|
4389
4389
|
}
|
|
4390
|
-
function
|
|
4390
|
+
function us(e, t, r) {
|
|
4391
|
+
window.emMessageBus && window.emMessageBus.subscribe(e, r);
|
|
4392
|
+
}
|
|
4393
|
+
function hs(e) {
|
|
4391
4394
|
Cr(e, "svelte-ciaihq", ".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}");
|
|
4392
4395
|
}
|
|
4393
|
-
function
|
|
4396
|
+
function ls(e) {
|
|
4394
4397
|
let t, r;
|
|
4395
4398
|
return {
|
|
4396
4399
|
c() {
|
|
@@ -4467,7 +4470,7 @@ function as(e) {
|
|
|
4467
4470
|
), v(r, "class", "svelte-ciaihq"), ne(t, "class", "CasinoCategoriesContainer svelte-ciaihq");
|
|
4468
4471
|
},
|
|
4469
4472
|
m(n, i) {
|
|
4470
|
-
ce(n, t, i),
|
|
4473
|
+
ce(n, t, i), $t(t, r);
|
|
4471
4474
|
},
|
|
4472
4475
|
p(n, i) {
|
|
4473
4476
|
i[0] & /*lang*/
|
|
@@ -4561,7 +4564,7 @@ function as(e) {
|
|
|
4561
4564
|
}
|
|
4562
4565
|
};
|
|
4563
4566
|
}
|
|
4564
|
-
function
|
|
4567
|
+
function cs(e) {
|
|
4565
4568
|
let t;
|
|
4566
4569
|
return {
|
|
4567
4570
|
c() {
|
|
@@ -4576,7 +4579,7 @@ function us(e) {
|
|
|
4576
4579
|
}
|
|
4577
4580
|
};
|
|
4578
4581
|
}
|
|
4579
|
-
function
|
|
4582
|
+
function fs(e) {
|
|
4580
4583
|
let t;
|
|
4581
4584
|
return {
|
|
4582
4585
|
c() {
|
|
@@ -4591,14 +4594,14 @@ function hs(e) {
|
|
|
4591
4594
|
}
|
|
4592
4595
|
};
|
|
4593
4596
|
}
|
|
4594
|
-
function
|
|
4597
|
+
function ms(e) {
|
|
4595
4598
|
let t;
|
|
4596
4599
|
function r(s, o) {
|
|
4597
4600
|
return (
|
|
4598
4601
|
/*isLoading*/
|
|
4599
|
-
s[13] ||
|
|
4602
|
+
s[13] || ds || bs ? fs : (
|
|
4600
4603
|
/*hasErrors*/
|
|
4601
|
-
s[15] ?
|
|
4604
|
+
s[15] ? cs : ls
|
|
4602
4605
|
)
|
|
4603
4606
|
);
|
|
4604
4607
|
}
|
|
@@ -4620,59 +4623,59 @@ function ls(e) {
|
|
|
4620
4623
|
}
|
|
4621
4624
|
};
|
|
4622
4625
|
}
|
|
4623
|
-
let ot = "CasinoSliderData",
|
|
4624
|
-
function
|
|
4626
|
+
let ot = "CasinoSliderData", ds = !1, bs = !1;
|
|
4627
|
+
function ps(e, t, r) {
|
|
4625
4628
|
let n;
|
|
4626
4629
|
Mr(e, ts, (f) => r(32, n = f));
|
|
4627
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { mbsource: c } = t, { clientstyling: d = "" } = t, { clientstylingurl: p = "" } = t, { activecategory: b = "" } = t, { actionevent: w = "" } = t, { sessioncheck: M = "" } = t, { location: P = "secondaryMenu" } = t, { showsubgroups: T = "false" } = t, { filteredcategories: O = "" } = t, { translationurl: H = "" } = t, { categoriesicon: C = "" } = t, { lobbyiconimage: _ = "" } = t, { mygamesiconimage: N = "" } = t, L, F
|
|
4628
|
-
const
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4630
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { mbsource: c } = t, { clientstyling: d = "" } = t, { clientstylingurl: p = "" } = t, { activecategory: b = "" } = t, { actionevent: w = "" } = t, { sessioncheck: M = "" } = t, { location: P = "secondaryMenu" } = t, { showsubgroups: T = "false" } = t, { filteredcategories: O = "" } = t, { translationurl: H = "" } = t, { categoriesicon: C = "" } = t, { lobbyiconimage: _ = "" } = t, { mygamesiconimage: N = "" } = t, L, $, F = !0, X, W = [], j = !1, xr = window.navigator.userAgent, G, Sr, lt, ct = !1, Ne = !1;
|
|
4631
|
+
const Le = (f) => {
|
|
4632
|
+
Object.keys(f).forEach((A) => {
|
|
4633
|
+
ns(A, f[A]);
|
|
4634
|
+
});
|
|
4635
|
+
}, wr = () => {
|
|
4636
|
+
fetch(H).then((A) => A.json()).then((A) => {
|
|
4637
|
+
Le(A);
|
|
4638
|
+
}).catch((A) => {
|
|
4639
|
+
console.log(A);
|
|
4635
4640
|
});
|
|
4636
4641
|
};
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
});
|
|
4640
|
-
const Hr = () => {
|
|
4642
|
+
Le(is);
|
|
4643
|
+
const Tr = () => {
|
|
4641
4644
|
ct == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
|
|
4642
4645
|
// @ts-ignore
|
|
4643
4646
|
id: "MYGAMES",
|
|
4644
4647
|
name: L,
|
|
4645
4648
|
href: "",
|
|
4646
4649
|
games: []
|
|
4647
|
-
}), jr(), ct = !0, r(25,
|
|
4648
|
-
},
|
|
4649
|
-
if (L = n("myGamesName"),
|
|
4650
|
+
}), jr(), ct = !0, r(25, Ne = !0), ft();
|
|
4651
|
+
}, Hr = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(15, j = !0), r(13, F = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(15, j = !0), r(13, F = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(15, j = !0), r(13, F = !1), console.error(X)), j), Ar = () => {
|
|
4652
|
+
if (L = n("myGamesName"), $ = n("lobbyName"), !Hr()) {
|
|
4650
4653
|
let f = new URL(`${i}/v2/casino/groups/${s}`);
|
|
4651
|
-
f.searchParams.append("language", o), f.searchParams.append("platform", rs(
|
|
4652
|
-
(
|
|
4653
|
-
let
|
|
4654
|
+
f.searchParams.append("language", o), f.searchParams.append("platform", rs(xr)), f.searchParams.append("fields", "id,name,games(href),flags"), fetch(f).then((A) => A.json()).then(
|
|
4655
|
+
(A) => {
|
|
4656
|
+
let Or = O.split(","), Nr = A.items.filter((dt) => {
|
|
4654
4657
|
let Ie = !1;
|
|
4655
4658
|
if (dt.games.total > 0 && (Ie = !0, O))
|
|
4656
|
-
for (let Lr of
|
|
4659
|
+
for (let Lr of Or)
|
|
4657
4660
|
dt.flags == Lr && (Ie = !1);
|
|
4658
4661
|
return Ie;
|
|
4659
4662
|
});
|
|
4660
4663
|
W = [], W = W.concat(Nr), W.unshift({
|
|
4661
4664
|
// @ts-ignore
|
|
4662
4665
|
id: "LOBBY",
|
|
4663
|
-
name:
|
|
4666
|
+
name: $,
|
|
4664
4667
|
href: "",
|
|
4665
4668
|
games: []
|
|
4666
|
-
}), r(13,
|
|
4669
|
+
}), r(13, F = !1);
|
|
4667
4670
|
},
|
|
4668
|
-
(
|
|
4669
|
-
r(15, j = !0), console.error("There was an error while fetching the categories",
|
|
4671
|
+
(A) => {
|
|
4672
|
+
r(15, j = !0), console.error("There was an error while fetching the categories", A);
|
|
4670
4673
|
}
|
|
4671
|
-
).catch((
|
|
4672
|
-
r(15, j = !0), console.error("There was an error while fetching the categories",
|
|
4674
|
+
).catch((A) => {
|
|
4675
|
+
r(15, j = !0), console.error("There was an error while fetching the categories", A);
|
|
4673
4676
|
});
|
|
4674
4677
|
}
|
|
4675
|
-
},
|
|
4678
|
+
}, Br = () => {
|
|
4676
4679
|
let f = b.split("$");
|
|
4677
4680
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
|
4678
4681
|
}, ft = () => {
|
|
@@ -4687,10 +4690,10 @@ function ms(e, t, r) {
|
|
|
4687
4690
|
}, mt = (f) => {
|
|
4688
4691
|
f.data && f.data.type == "SliderMounted" && f.data.identity == ot && ft();
|
|
4689
4692
|
};
|
|
4690
|
-
|
|
4693
|
+
Fr(() => (window.addEventListener("message", mt), () => {
|
|
4691
4694
|
window.removeEventListener("message", mt);
|
|
4692
4695
|
}));
|
|
4693
|
-
function
|
|
4696
|
+
function Pr(f) {
|
|
4694
4697
|
je[f ? "unshift" : "push"](() => {
|
|
4695
4698
|
G = f, r(14, G);
|
|
4696
4699
|
});
|
|
@@ -4699,13 +4702,14 @@ function ms(e, t, r) {
|
|
|
4699
4702
|
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "mbsource" in f && r(4, c = f.mbsource), "clientstyling" in f && r(5, d = f.clientstyling), "clientstylingurl" in f && r(6, p = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(7, w = f.actionevent), "sessioncheck" in f && r(22, M = f.sessioncheck), "location" in f && r(8, P = f.location), "showsubgroups" in f && r(9, T = f.showsubgroups), "filteredcategories" in f && r(23, O = f.filteredcategories), "translationurl" in f && r(24, H = f.translationurl), "categoriesicon" in f && r(10, C = f.categoriesicon), "lobbyiconimage" in f && r(11, _ = f.lobbyiconimage), "mygamesiconimage" in f && r(12, N = f.mygamesiconimage);
|
|
4700
4703
|
}, e.$$.update = () => {
|
|
4701
4704
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
4702
|
-
14 && i && s && o &&
|
|
4703
|
-
3940354 && i && h && (u || l || m) &&
|
|
4704
|
-
33824769 &&
|
|
4705
|
-
16777216 && H &&
|
|
4706
|
-
16416 && d && G &&
|
|
4707
|
-
16448 && p && G &&
|
|
4708
|
-
16400 && c && G &&
|
|
4705
|
+
14 && i && s && o && Ar(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
4706
|
+
3940354 && i && h && (u || l || m) && !F && Tr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
|
4707
|
+
33824769 && !F && b && (!h || Ne) && Br(), e.$$.dirty[0] & /*translationurl*/
|
|
4708
|
+
16777216 && H && wr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4709
|
+
16416 && d && G && ss(G, d), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4710
|
+
16448 && p && G && os(G, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4711
|
+
16400 && c && G && as(G, `${c}.Style`), e.$$.dirty[0] & /*mbsource, translationurl*/
|
|
4712
|
+
16777232 && c && !H && us(`${c}.Translation`, Sr, Le);
|
|
4709
4713
|
}, r(16, lt = 0), [
|
|
4710
4714
|
b,
|
|
4711
4715
|
i,
|
|
@@ -4720,7 +4724,7 @@ function ms(e, t, r) {
|
|
|
4720
4724
|
C,
|
|
4721
4725
|
_,
|
|
4722
4726
|
N,
|
|
4723
|
-
|
|
4727
|
+
F,
|
|
4724
4728
|
G,
|
|
4725
4729
|
j,
|
|
4726
4730
|
lt,
|
|
@@ -4732,18 +4736,18 @@ function ms(e, t, r) {
|
|
|
4732
4736
|
M,
|
|
4733
4737
|
O,
|
|
4734
4738
|
H,
|
|
4735
|
-
|
|
4736
|
-
|
|
4739
|
+
Ne,
|
|
4740
|
+
Pr
|
|
4737
4741
|
];
|
|
4738
4742
|
}
|
|
4739
|
-
class
|
|
4743
|
+
class gs extends Yr {
|
|
4740
4744
|
constructor(t) {
|
|
4741
4745
|
super(), qr(
|
|
4742
4746
|
this,
|
|
4743
4747
|
t,
|
|
4748
|
+
ps,
|
|
4744
4749
|
ms,
|
|
4745
|
-
|
|
4746
|
-
Ft,
|
|
4750
|
+
Ut,
|
|
4747
4751
|
{
|
|
4748
4752
|
endpoint: 1,
|
|
4749
4753
|
datasource: 2,
|
|
@@ -4767,7 +4771,7 @@ class ds extends Yr {
|
|
|
4767
4771
|
lobbyiconimage: 11,
|
|
4768
4772
|
mygamesiconimage: 12
|
|
4769
4773
|
},
|
|
4770
|
-
|
|
4774
|
+
hs,
|
|
4771
4775
|
[-1, -1]
|
|
4772
4776
|
);
|
|
4773
4777
|
}
|
|
@@ -4898,18 +4902,18 @@ class ds extends Yr {
|
|
|
4898
4902
|
this.$$set({ mygamesiconimage: t }), x();
|
|
4899
4903
|
}
|
|
4900
4904
|
}
|
|
4901
|
-
Qr(
|
|
4905
|
+
Qr(gs, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
|
|
4902
4906
|
export {
|
|
4903
4907
|
de as $,
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4908
|
+
_s as A,
|
|
4909
|
+
ys as B,
|
|
4910
|
+
ss as C,
|
|
4911
|
+
os as D,
|
|
4912
|
+
as as E,
|
|
4913
|
+
gs as F,
|
|
4910
4914
|
Yr as S,
|
|
4911
4915
|
me as a,
|
|
4912
|
-
|
|
4916
|
+
gr as b,
|
|
4913
4917
|
Qr as c,
|
|
4914
4918
|
Cr as d,
|
|
4915
4919
|
re as e,
|
|
@@ -4917,21 +4921,21 @@ export {
|
|
|
4917
4921
|
ne as g,
|
|
4918
4922
|
ce as h,
|
|
4919
4923
|
qr as i,
|
|
4920
|
-
|
|
4924
|
+
$t as j,
|
|
4921
4925
|
k,
|
|
4922
|
-
|
|
4923
|
-
|
|
4926
|
+
Ss as l,
|
|
4927
|
+
Es as m,
|
|
4924
4928
|
I as n,
|
|
4925
4929
|
rs as o,
|
|
4926
|
-
|
|
4927
|
-
|
|
4930
|
+
Fr as p,
|
|
4931
|
+
Ts as q,
|
|
4928
4932
|
te as r,
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4933
|
+
Ut as s,
|
|
4934
|
+
xs as t,
|
|
4935
|
+
As as u,
|
|
4932
4936
|
je as v,
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
+
ws as w,
|
|
4938
|
+
Ft as x,
|
|
4939
|
+
vs as y,
|
|
4940
|
+
Hs as z
|
|
4937
4941
|
};
|