@everymatrix/casino-jackpot-banner 1.72.1 → 1.72.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoJackpotBanner-rbc5VFTS.cjs → CasinoJackpotBanner-B4RmJHSE.cjs} +4 -4
- package/components/{CasinoJackpotBanner-C2cXrP0t.js → CasinoJackpotBanner-C06wch9B.js} +686 -684
- package/components/{CasinoJackpotBanner-Bra4aCC-.js → CasinoJackpotBanner-CBsjExI3.js} +535 -533
- package/es2015/casino-jackpot-banner.cjs +1 -1
- package/es2015/casino-jackpot-banner.js +1 -1
- package/esnext/casino-jackpot-banner.js +1 -1
- package/package.json +1 -1
|
@@ -16,9 +16,9 @@ function $t(e) {
|
|
|
16
16
|
function wr(e, t) {
|
|
17
17
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
18
18
|
}
|
|
19
|
-
let
|
|
19
|
+
let Ke;
|
|
20
20
|
function Q(e, t) {
|
|
21
|
-
return e === t ? !0 : (
|
|
21
|
+
return e === t ? !0 : (Ke || (Ke = document.createElement("a")), Ke.href = t, e === Ke.href);
|
|
22
22
|
}
|
|
23
23
|
function on(e) {
|
|
24
24
|
return Object.keys(e).length === 0;
|
|
@@ -59,10 +59,10 @@ function ln(e, t) {
|
|
|
59
59
|
t
|
|
60
60
|
), t.sheet;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function $(e, t, r) {
|
|
63
63
|
e.insertBefore(t, r || null);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function D(e) {
|
|
66
66
|
e.parentNode && e.parentNode.removeChild(e);
|
|
67
67
|
}
|
|
68
68
|
function cn(e, t) {
|
|
@@ -84,21 +84,21 @@ function hn() {
|
|
|
84
84
|
function fn(e, t, r, n) {
|
|
85
85
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function _(e, t, r) {
|
|
88
88
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
89
89
|
}
|
|
90
90
|
function P(e, t, r) {
|
|
91
91
|
const n = t.toLowerCase();
|
|
92
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
92
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : _(e, t, r);
|
|
93
93
|
}
|
|
94
94
|
function pn(e) {
|
|
95
95
|
return Array.from(e.childNodes);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function G(e, t) {
|
|
98
98
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
99
99
|
t);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function et(e, t, r, n) {
|
|
102
102
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
103
103
|
}
|
|
104
104
|
function dn(e) {
|
|
@@ -220,13 +220,13 @@ function Hn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
220
220
|
};
|
|
221
221
|
s && s(u.root);
|
|
222
222
|
let c = !1;
|
|
223
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
224
|
-
const
|
|
225
|
-
return u.ctx && i(u.ctx[
|
|
223
|
+
if (u.ctx = r ? r(e, t.props || {}, (p, h, ...g) => {
|
|
224
|
+
const x = g.length ? g[0] : h;
|
|
225
|
+
return u.ctx && i(u.ctx[p], u.ctx[p] = x) && (!u.skip_bound && u.bound[p] && u.bound[p](x), c && wn(e, p)), h;
|
|
226
226
|
}) : [], u.update(), c = !0, Xe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
227
227
|
if (t.hydrate) {
|
|
228
|
-
const
|
|
229
|
-
u.fragment && u.fragment.l(
|
|
228
|
+
const p = pn(t.target);
|
|
229
|
+
u.fragment && u.fragment.l(p), p.forEach(D);
|
|
230
230
|
} else
|
|
231
231
|
u.fragment && u.fragment.c();
|
|
232
232
|
t.intro && xn(e.$$.fragment), Sn(e, t.target, t.anchor), O();
|
|
@@ -276,17 +276,17 @@ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
|
|
|
276
276
|
let o;
|
|
277
277
|
return {
|
|
278
278
|
c: function() {
|
|
279
|
-
o = b("slot"), i !== "default" &&
|
|
279
|
+
o = b("slot"), i !== "default" && _(o, "name", i);
|
|
280
280
|
},
|
|
281
281
|
/**
|
|
282
282
|
* @param {HTMLElement} target
|
|
283
283
|
* @param {HTMLElement} [anchor]
|
|
284
284
|
*/
|
|
285
285
|
m: function(l, u) {
|
|
286
|
-
|
|
286
|
+
$(l, o, u);
|
|
287
287
|
},
|
|
288
288
|
d: function(l) {
|
|
289
|
-
l &&
|
|
289
|
+
l && D(o);
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
};
|
|
@@ -298,7 +298,7 @@ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
|
|
|
298
298
|
i in r && (t[i] = [e(i)]);
|
|
299
299
|
for (const i of this.attributes) {
|
|
300
300
|
const o = this.$$g_p(i.name);
|
|
301
|
-
o in this.$$d || (this.$$d[o] =
|
|
301
|
+
o in this.$$d || (this.$$d[o] = nt(o, i.value, this.$$p_d, "toProp"));
|
|
302
302
|
}
|
|
303
303
|
for (const i in this.$$p_d)
|
|
304
304
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
|
|
|
316
316
|
this.$$r = !0;
|
|
317
317
|
for (const i in this.$$p_d)
|
|
318
318
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
319
|
-
const o =
|
|
319
|
+
const o = nt(
|
|
320
320
|
i,
|
|
321
321
|
this.$$d[i],
|
|
322
322
|
this.$$p_d,
|
|
@@ -338,7 +338,7 @@ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
|
|
|
338
338
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
339
339
|
// and setting attributes through setAttribute etc, this is helpful
|
|
340
340
|
attributeChangedCallback(e, t, r) {
|
|
341
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
341
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = nt(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
342
342
|
}
|
|
343
343
|
disconnectedCallback() {
|
|
344
344
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -351,7 +351,7 @@ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
|
|
|
351
351
|
) || e;
|
|
352
352
|
}
|
|
353
353
|
});
|
|
354
|
-
function
|
|
354
|
+
function nt(e, t, r, n) {
|
|
355
355
|
const i = r[e]?.type;
|
|
356
356
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
357
357
|
return t;
|
|
@@ -397,7 +397,7 @@ function An(e, t, r, n, i, o) {
|
|
|
397
397
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
398
398
|
},
|
|
399
399
|
set(l) {
|
|
400
|
-
l =
|
|
400
|
+
l = nt(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
|
|
401
401
|
}
|
|
402
402
|
});
|
|
403
403
|
}), n.forEach((a) => {
|
|
@@ -524,7 +524,7 @@ function Ot(e, t, r) {
|
|
|
524
524
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
525
525
|
return e.concat(o || t);
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function ce(e) {
|
|
528
528
|
return typeof e == "function";
|
|
529
529
|
}
|
|
530
530
|
function Br(e) {
|
|
@@ -548,7 +548,7 @@ function Lt(e, t) {
|
|
|
548
548
|
0 <= r && e.splice(r, 1);
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
var
|
|
551
|
+
var ct = function() {
|
|
552
552
|
function e(t) {
|
|
553
553
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
554
554
|
}
|
|
@@ -564,8 +564,8 @@ var lt = function() {
|
|
|
564
564
|
var u = l.value;
|
|
565
565
|
u.remove(this);
|
|
566
566
|
}
|
|
567
|
-
} catch (
|
|
568
|
-
t = { error:
|
|
567
|
+
} catch (y) {
|
|
568
|
+
t = { error: y };
|
|
569
569
|
} finally {
|
|
570
570
|
try {
|
|
571
571
|
l && !l.done && (r = a.return) && r.call(a);
|
|
@@ -577,29 +577,29 @@ var lt = function() {
|
|
|
577
577
|
else
|
|
578
578
|
s.remove(this);
|
|
579
579
|
var c = this.initialTeardown;
|
|
580
|
-
if (
|
|
580
|
+
if (ce(c))
|
|
581
581
|
try {
|
|
582
582
|
c();
|
|
583
|
-
} catch (
|
|
584
|
-
o =
|
|
583
|
+
} catch (y) {
|
|
584
|
+
o = y instanceof gt ? y.errors : [y];
|
|
585
585
|
}
|
|
586
|
-
var
|
|
587
|
-
if (
|
|
586
|
+
var p = this._finalizers;
|
|
587
|
+
if (p) {
|
|
588
588
|
this._finalizers = null;
|
|
589
589
|
try {
|
|
590
|
-
for (var
|
|
591
|
-
var
|
|
590
|
+
for (var h = Bt(p), g = h.next(); !g.done; g = h.next()) {
|
|
591
|
+
var x = g.value;
|
|
592
592
|
try {
|
|
593
|
-
Zt(
|
|
594
|
-
} catch (
|
|
595
|
-
o = o ?? [],
|
|
593
|
+
Zt(x);
|
|
594
|
+
} catch (y) {
|
|
595
|
+
o = o ?? [], y instanceof gt ? o = Ot(Ot([], Pt(o)), Pt(y.errors)) : o.push(y);
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
} catch (
|
|
599
|
-
n = { error:
|
|
598
|
+
} catch (y) {
|
|
599
|
+
n = { error: y };
|
|
600
600
|
} finally {
|
|
601
601
|
try {
|
|
602
|
-
g && !g.done && (i =
|
|
602
|
+
g && !g.done && (i = h.return) && i.call(h);
|
|
603
603
|
} finally {
|
|
604
604
|
if (n)
|
|
605
605
|
throw n.error;
|
|
@@ -638,12 +638,12 @@ var lt = function() {
|
|
|
638
638
|
var t = new e();
|
|
639
639
|
return t.closed = !0, t;
|
|
640
640
|
}(), e;
|
|
641
|
-
}(), Pr =
|
|
641
|
+
}(), Pr = ct.EMPTY;
|
|
642
642
|
function Or(e) {
|
|
643
|
-
return e instanceof
|
|
643
|
+
return e instanceof ct || e && "closed" in e && ce(e.remove) && ce(e.add) && ce(e.unsubscribe);
|
|
644
644
|
}
|
|
645
645
|
function Zt(e) {
|
|
646
|
-
|
|
646
|
+
ce(e) ? e() : e.unsubscribe();
|
|
647
647
|
}
|
|
648
648
|
var On = {
|
|
649
649
|
Promise: void 0
|
|
@@ -665,7 +665,7 @@ function Cn(e) {
|
|
|
665
665
|
}
|
|
666
666
|
function Qt() {
|
|
667
667
|
}
|
|
668
|
-
function
|
|
668
|
+
function it(e) {
|
|
669
669
|
e();
|
|
670
670
|
}
|
|
671
671
|
var Lr = function(e) {
|
|
@@ -699,7 +699,7 @@ var Lr = function(e) {
|
|
|
699
699
|
this.unsubscribe();
|
|
700
700
|
}
|
|
701
701
|
}, t;
|
|
702
|
-
}(
|
|
702
|
+
}(ct), In = function() {
|
|
703
703
|
function e(t) {
|
|
704
704
|
this.partialObserver = t;
|
|
705
705
|
}
|
|
@@ -709,7 +709,7 @@ var Lr = function(e) {
|
|
|
709
709
|
try {
|
|
710
710
|
r.next(t);
|
|
711
711
|
} catch (n) {
|
|
712
|
-
|
|
712
|
+
tt(n);
|
|
713
713
|
}
|
|
714
714
|
}, e.prototype.error = function(t) {
|
|
715
715
|
var r = this.partialObserver;
|
|
@@ -717,24 +717,24 @@ var Lr = function(e) {
|
|
|
717
717
|
try {
|
|
718
718
|
r.error(t);
|
|
719
719
|
} catch (n) {
|
|
720
|
-
|
|
720
|
+
tt(n);
|
|
721
721
|
}
|
|
722
722
|
else
|
|
723
|
-
|
|
723
|
+
tt(t);
|
|
724
724
|
}, e.prototype.complete = function() {
|
|
725
725
|
var t = this.partialObserver;
|
|
726
726
|
if (t.complete)
|
|
727
727
|
try {
|
|
728
728
|
t.complete();
|
|
729
729
|
} catch (r) {
|
|
730
|
-
|
|
730
|
+
tt(r);
|
|
731
731
|
}
|
|
732
732
|
}, e;
|
|
733
733
|
}(), Ct = function(e) {
|
|
734
734
|
ze(t, e);
|
|
735
735
|
function t(r, n, i) {
|
|
736
736
|
var o = e.call(this) || this, s;
|
|
737
|
-
return
|
|
737
|
+
return ce(r) || !r ? s = {
|
|
738
738
|
next: r ?? void 0,
|
|
739
739
|
error: n ?? void 0,
|
|
740
740
|
complete: i ?? void 0
|
|
@@ -742,7 +742,7 @@ var Lr = function(e) {
|
|
|
742
742
|
}
|
|
743
743
|
return t;
|
|
744
744
|
}(Lr);
|
|
745
|
-
function
|
|
745
|
+
function tt(e) {
|
|
746
746
|
Cn(e);
|
|
747
747
|
}
|
|
748
748
|
function Nn(e) {
|
|
@@ -775,7 +775,7 @@ var Yt = function() {
|
|
|
775
775
|
return r.source = this, r.operator = t, r;
|
|
776
776
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
777
777
|
var i = this, o = jn(t) ? t : new Ct(t, r, n);
|
|
778
|
-
return
|
|
778
|
+
return it(function() {
|
|
779
779
|
var s = i, a = s.operator, l = s.source;
|
|
780
780
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
781
781
|
}), o;
|
|
@@ -831,7 +831,7 @@ function qt(e) {
|
|
|
831
831
|
return (t = e ?? On.Promise) !== null && t !== void 0 ? t : Promise;
|
|
832
832
|
}
|
|
833
833
|
function kn(e) {
|
|
834
|
-
return e &&
|
|
834
|
+
return e && ce(e.next) && ce(e.error) && ce(e.complete);
|
|
835
835
|
}
|
|
836
836
|
function jn(e) {
|
|
837
837
|
return e && e instanceof Lr || kn(e) && Or(e);
|
|
@@ -854,7 +854,7 @@ var Gn = Br(function(e) {
|
|
|
854
854
|
throw new Gn();
|
|
855
855
|
}, t.prototype.next = function(r) {
|
|
856
856
|
var n = this;
|
|
857
|
-
|
|
857
|
+
it(function() {
|
|
858
858
|
var i, o;
|
|
859
859
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
860
860
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
@@ -877,7 +877,7 @@ var Gn = Br(function(e) {
|
|
|
877
877
|
});
|
|
878
878
|
}, t.prototype.error = function(r) {
|
|
879
879
|
var n = this;
|
|
880
|
-
|
|
880
|
+
it(function() {
|
|
881
881
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
882
882
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
883
883
|
for (var i = n.observers; i.length; )
|
|
@@ -886,7 +886,7 @@ var Gn = Br(function(e) {
|
|
|
886
886
|
});
|
|
887
887
|
}, t.prototype.complete = function() {
|
|
888
888
|
var r = this;
|
|
889
|
-
|
|
889
|
+
it(function() {
|
|
890
890
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
891
891
|
r.isStopped = !0;
|
|
892
892
|
for (var n = r.observers; n.length; )
|
|
@@ -908,7 +908,7 @@ var Gn = Br(function(e) {
|
|
|
908
908
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
909
909
|
}, t.prototype._innerSubscribe = function(r) {
|
|
910
910
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
911
|
-
return o || s ? Pr : (this.currentObservers = null, a.push(r), new
|
|
911
|
+
return o || s ? Pr : (this.currentObservers = null, a.push(r), new ct(function() {
|
|
912
912
|
n.currentObservers = null, Lt(a, r);
|
|
913
913
|
}));
|
|
914
914
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
@@ -977,10 +977,10 @@ const er = [], tr = {}, Fn = (e, t = 0) => {
|
|
|
977
977
|
}, He = [];
|
|
978
978
|
function Vn(e, t) {
|
|
979
979
|
return {
|
|
980
|
-
subscribe:
|
|
980
|
+
subscribe: ht(e, t).subscribe
|
|
981
981
|
};
|
|
982
982
|
}
|
|
983
|
-
function
|
|
983
|
+
function ht(e, t = Z) {
|
|
984
984
|
let r;
|
|
985
985
|
const n = /* @__PURE__ */ new Set();
|
|
986
986
|
function i(a) {
|
|
@@ -1014,26 +1014,26 @@ function Ie(e, t, r) {
|
|
|
1014
1014
|
return Vn(r, (s, a) => {
|
|
1015
1015
|
let l = !1;
|
|
1016
1016
|
const u = [];
|
|
1017
|
-
let c = 0,
|
|
1018
|
-
const
|
|
1017
|
+
let c = 0, p = Z;
|
|
1018
|
+
const h = () => {
|
|
1019
1019
|
if (c)
|
|
1020
1020
|
return;
|
|
1021
|
-
|
|
1022
|
-
const
|
|
1023
|
-
o ? s(
|
|
1021
|
+
p();
|
|
1022
|
+
const x = t(n ? u[0] : u, s, a);
|
|
1023
|
+
o ? s(x) : p = $t(x) ? x : Z;
|
|
1024
1024
|
}, g = i.map(
|
|
1025
|
-
(
|
|
1026
|
-
|
|
1027
|
-
(
|
|
1028
|
-
u[
|
|
1025
|
+
(x, y) => sn(
|
|
1026
|
+
x,
|
|
1027
|
+
(v) => {
|
|
1028
|
+
u[y] = v, c &= ~(1 << y), l && h();
|
|
1029
1029
|
},
|
|
1030
1030
|
() => {
|
|
1031
|
-
c |= 1 <<
|
|
1031
|
+
c |= 1 << y;
|
|
1032
1032
|
}
|
|
1033
1033
|
)
|
|
1034
1034
|
);
|
|
1035
|
-
return l = !0,
|
|
1036
|
-
Xe(g),
|
|
1035
|
+
return l = !0, h(), function() {
|
|
1036
|
+
Xe(g), p(), l = !1;
|
|
1037
1037
|
};
|
|
1038
1038
|
});
|
|
1039
1039
|
}
|
|
@@ -1119,7 +1119,7 @@ var It = function(e, t) {
|
|
|
1119
1119
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1120
1120
|
}, It(e, t);
|
|
1121
1121
|
};
|
|
1122
|
-
function
|
|
1122
|
+
function ft(e, t) {
|
|
1123
1123
|
if (typeof t != "function" && t !== null)
|
|
1124
1124
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1125
1125
|
It(e, t);
|
|
@@ -1128,15 +1128,15 @@ function ht(e, t) {
|
|
|
1128
1128
|
}
|
|
1129
1129
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1130
1130
|
}
|
|
1131
|
-
var
|
|
1132
|
-
return
|
|
1131
|
+
var re = function() {
|
|
1132
|
+
return re = Object.assign || function(t) {
|
|
1133
1133
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1134
1134
|
r = arguments[n];
|
|
1135
1135
|
for (var o in r)
|
|
1136
1136
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1137
1137
|
}
|
|
1138
1138
|
return t;
|
|
1139
|
-
},
|
|
1139
|
+
}, re.apply(this, arguments);
|
|
1140
1140
|
};
|
|
1141
1141
|
function ai(e, t) {
|
|
1142
1142
|
var r = {};
|
|
@@ -1201,20 +1201,20 @@ var fi = function() {
|
|
|
1201
1201
|
}
|
|
1202
1202
|
}, _t = {
|
|
1203
1203
|
variadic: hi
|
|
1204
|
-
},
|
|
1205
|
-
return
|
|
1204
|
+
}, at = function() {
|
|
1205
|
+
return at = Object.assign || function(t) {
|
|
1206
1206
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1207
1207
|
r = arguments[n];
|
|
1208
1208
|
for (var o in r)
|
|
1209
1209
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1210
1210
|
}
|
|
1211
1211
|
return t;
|
|
1212
|
-
},
|
|
1212
|
+
}, at.apply(this, arguments);
|
|
1213
1213
|
};
|
|
1214
|
-
var
|
|
1214
|
+
var S;
|
|
1215
1215
|
(function(e) {
|
|
1216
1216
|
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";
|
|
1217
|
-
})(
|
|
1217
|
+
})(S || (S = {}));
|
|
1218
1218
|
var B;
|
|
1219
1219
|
(function(e) {
|
|
1220
1220
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
@@ -1362,15 +1362,15 @@ var vi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
|
1362
1362
|
function _i(e) {
|
|
1363
1363
|
if (e.length === 0)
|
|
1364
1364
|
throw new Error("Number skeleton cannot be empty");
|
|
1365
|
-
for (var t = e.split(vi).filter(function(
|
|
1366
|
-
return
|
|
1365
|
+
for (var t = e.split(vi).filter(function(h) {
|
|
1366
|
+
return h.length > 0;
|
|
1367
1367
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1368
1368
|
var o = i[n], s = o.split("/");
|
|
1369
1369
|
if (s.length === 0)
|
|
1370
1370
|
throw new Error("Invalid number skeleton");
|
|
1371
1371
|
for (var a = s[0], l = s.slice(1), u = 0, c = l; u < c.length; u++) {
|
|
1372
|
-
var
|
|
1373
|
-
if (
|
|
1372
|
+
var p = c[u];
|
|
1373
|
+
if (p.length === 0)
|
|
1374
1374
|
throw new Error("Invalid number skeleton");
|
|
1375
1375
|
}
|
|
1376
1376
|
r.push({ stem: a, options: l });
|
|
@@ -1531,11 +1531,11 @@ function Ti(e) {
|
|
|
1531
1531
|
case "integer-width":
|
|
1532
1532
|
if (i.options.length > 1)
|
|
1533
1533
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1534
|
-
i.options[0].replace(xi, function(l, u, c,
|
|
1534
|
+
i.options[0].replace(xi, function(l, u, c, p, h, g) {
|
|
1535
1535
|
if (u)
|
|
1536
1536
|
t.minimumIntegerDigits = c.length;
|
|
1537
1537
|
else {
|
|
1538
|
-
if (
|
|
1538
|
+
if (p && h)
|
|
1539
1539
|
throw new Error("We currently do not support maximum integer digits");
|
|
1540
1540
|
if (g)
|
|
1541
1541
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1551,8 +1551,8 @@ function Ti(e) {
|
|
|
1551
1551
|
if (ir.test(i.stem)) {
|
|
1552
1552
|
if (i.options.length > 1)
|
|
1553
1553
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1554
|
-
i.stem.replace(ir, function(l, u, c,
|
|
1555
|
-
return c === "*" ? t.minimumFractionDigits = u.length :
|
|
1554
|
+
i.stem.replace(ir, function(l, u, c, p, h, g) {
|
|
1555
|
+
return c === "*" ? t.minimumFractionDigits = u.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : h && g ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1556
1556
|
});
|
|
1557
1557
|
var o = i.options[0];
|
|
1558
1558
|
o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), or(o)));
|
|
@@ -1569,7 +1569,7 @@ function Ti(e) {
|
|
|
1569
1569
|
}
|
|
1570
1570
|
return t;
|
|
1571
1571
|
}
|
|
1572
|
-
var
|
|
1572
|
+
var rt = {
|
|
1573
1573
|
"001": [
|
|
1574
1574
|
"H",
|
|
1575
1575
|
"h"
|
|
@@ -3019,7 +3019,7 @@ function Hi(e) {
|
|
|
3019
3019
|
}
|
|
3020
3020
|
var r = e.language, n;
|
|
3021
3021
|
r !== "root" && (n = e.maximize().region);
|
|
3022
|
-
var i =
|
|
3022
|
+
var i = rt[n || ""] || rt[r || ""] || rt["".concat(r, "-001")] || rt["001"];
|
|
3023
3023
|
return i[0];
|
|
3024
3024
|
}
|
|
3025
3025
|
var Et, Ai = new RegExp("^".concat(Vr.source, "*")), Bi = new RegExp("".concat(Vr.source, "*$"));
|
|
@@ -3156,7 +3156,7 @@ var ji = (
|
|
|
3156
3156
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3157
3157
|
if (n)
|
|
3158
3158
|
break;
|
|
3159
|
-
return this.error(
|
|
3159
|
+
return this.error(S.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
|
3160
3160
|
} else if (o === 60 && !this.ignoreTag && Dt(this.peek() || 0)) {
|
|
3161
3161
|
var s = this.parseTag(t, r);
|
|
3162
3162
|
if (s.err)
|
|
@@ -3191,9 +3191,9 @@ var ji = (
|
|
|
3191
3191
|
var s = o.val, a = this.clonePosition();
|
|
3192
3192
|
if (this.bumpIf("</")) {
|
|
3193
3193
|
if (this.isEOF() || !Dt(this.char()))
|
|
3194
|
-
return this.error(
|
|
3194
|
+
return this.error(S.INVALID_TAG, w(a, this.clonePosition()));
|
|
3195
3195
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3196
|
-
return i !== u ? this.error(
|
|
3196
|
+
return i !== u ? this.error(S.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3197
3197
|
val: {
|
|
3198
3198
|
type: B.tag,
|
|
3199
3199
|
value: i,
|
|
@@ -3201,11 +3201,11 @@ var ji = (
|
|
|
3201
3201
|
location: w(n, this.clonePosition())
|
|
3202
3202
|
},
|
|
3203
3203
|
err: null
|
|
3204
|
-
} : this.error(
|
|
3204
|
+
} : this.error(S.INVALID_TAG, w(a, this.clonePosition())));
|
|
3205
3205
|
} else
|
|
3206
|
-
return this.error(
|
|
3206
|
+
return this.error(S.UNCLOSED_TAG, w(n, this.clonePosition()));
|
|
3207
3207
|
} else
|
|
3208
|
-
return this.error(
|
|
3208
|
+
return this.error(S.INVALID_TAG, w(n, this.clonePosition()));
|
|
3209
3209
|
}, e.prototype.parseTagName = function() {
|
|
3210
3210
|
var t = this.offset();
|
|
3211
3211
|
for (this.bump(); !this.isEOF() && $i(this.char()); )
|
|
@@ -3280,14 +3280,14 @@ var ji = (
|
|
|
3280
3280
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3281
3281
|
var n = this.clonePosition();
|
|
3282
3282
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3283
|
-
return this.error(
|
|
3283
|
+
return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
|
|
3284
3284
|
if (this.char() === 125)
|
|
3285
|
-
return this.bump(), this.error(
|
|
3285
|
+
return this.bump(), this.error(S.EMPTY_ARGUMENT, w(n, this.clonePosition()));
|
|
3286
3286
|
var i = this.parseIdentifierIfPossible().value;
|
|
3287
3287
|
if (!i)
|
|
3288
|
-
return this.error(
|
|
3288
|
+
return this.error(S.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3289
3289
|
if (this.bumpSpace(), this.isEOF())
|
|
3290
|
-
return this.error(
|
|
3290
|
+
return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
|
|
3291
3291
|
switch (this.char()) {
|
|
3292
3292
|
case 125:
|
|
3293
3293
|
return this.bump(), {
|
|
@@ -3300,9 +3300,9 @@ var ji = (
|
|
|
3300
3300
|
err: null
|
|
3301
3301
|
};
|
|
3302
3302
|
case 44:
|
|
3303
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3303
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3304
3304
|
default:
|
|
3305
|
-
return this.error(
|
|
3305
|
+
return this.error(S.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
|
3306
3306
|
}
|
|
3307
3307
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3308
3308
|
var t = this.clonePosition(), r = this.offset(), n = Ut(this.message, r), i = r + n.length;
|
|
@@ -3313,7 +3313,7 @@ var ji = (
|
|
|
3313
3313
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3314
3314
|
switch (a) {
|
|
3315
3315
|
case "":
|
|
3316
|
-
return this.error(
|
|
3316
|
+
return this.error(S.EXPECT_ARGUMENT_TYPE, w(s, l));
|
|
3317
3317
|
case "number":
|
|
3318
3318
|
case "date":
|
|
3319
3319
|
case "time": {
|
|
@@ -3321,40 +3321,40 @@ var ji = (
|
|
|
3321
3321
|
var u = null;
|
|
3322
3322
|
if (this.bumpIf(",")) {
|
|
3323
3323
|
this.bumpSpace();
|
|
3324
|
-
var c = this.clonePosition(),
|
|
3325
|
-
if (
|
|
3326
|
-
return
|
|
3327
|
-
var
|
|
3328
|
-
if (
|
|
3329
|
-
return this.error(
|
|
3324
|
+
var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
|
|
3325
|
+
if (p.err)
|
|
3326
|
+
return p;
|
|
3327
|
+
var h = ki(p.val);
|
|
3328
|
+
if (h.length === 0)
|
|
3329
|
+
return this.error(S.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
|
3330
3330
|
var g = w(c, this.clonePosition());
|
|
3331
|
-
u = { style:
|
|
3331
|
+
u = { style: h, styleLocation: g };
|
|
3332
3332
|
}
|
|
3333
|
-
var
|
|
3334
|
-
if (
|
|
3335
|
-
return
|
|
3336
|
-
var
|
|
3333
|
+
var x = this.tryParseArgumentClose(i);
|
|
3334
|
+
if (x.err)
|
|
3335
|
+
return x;
|
|
3336
|
+
var y = w(i, this.clonePosition());
|
|
3337
3337
|
if (u && ar(u?.style, "::", 0)) {
|
|
3338
|
-
var
|
|
3338
|
+
var v = Di(u.style.slice(2));
|
|
3339
3339
|
if (a === "number") {
|
|
3340
|
-
var
|
|
3341
|
-
return
|
|
3342
|
-
val: { type: B.number, value: n, location:
|
|
3340
|
+
var p = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3341
|
+
return p.err ? p : {
|
|
3342
|
+
val: { type: B.number, value: n, location: y, style: p.val },
|
|
3343
3343
|
err: null
|
|
3344
3344
|
};
|
|
3345
3345
|
} else {
|
|
3346
|
-
if (
|
|
3347
|
-
return this.error(
|
|
3348
|
-
var m =
|
|
3349
|
-
this.locale && (m = wi(
|
|
3350
|
-
var
|
|
3346
|
+
if (v.length === 0)
|
|
3347
|
+
return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
|
|
3348
|
+
var m = v;
|
|
3349
|
+
this.locale && (m = wi(v, this.locale));
|
|
3350
|
+
var h = {
|
|
3351
3351
|
type: Oe.dateTime,
|
|
3352
3352
|
pattern: m,
|
|
3353
3353
|
location: u.styleLocation,
|
|
3354
3354
|
parsedOptions: this.shouldParseSkeletons ? yi(m) : {}
|
|
3355
|
-
},
|
|
3355
|
+
}, T = a === "date" ? B.date : B.time;
|
|
3356
3356
|
return {
|
|
3357
|
-
val: { type:
|
|
3357
|
+
val: { type: T, value: n, location: y, style: h },
|
|
3358
3358
|
err: null
|
|
3359
3359
|
};
|
|
3360
3360
|
}
|
|
@@ -3363,7 +3363,7 @@ var ji = (
|
|
|
3363
3363
|
val: {
|
|
3364
3364
|
type: a === "number" ? B.number : a === "date" ? B.date : B.time,
|
|
3365
3365
|
value: n,
|
|
3366
|
-
location:
|
|
3366
|
+
location: y,
|
|
3367
3367
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3368
3368
|
},
|
|
3369
3369
|
err: null
|
|
@@ -3374,50 +3374,50 @@ var ji = (
|
|
|
3374
3374
|
case "select": {
|
|
3375
3375
|
var A = this.clonePosition();
|
|
3376
3376
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3377
|
-
return this.error(
|
|
3377
|
+
return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, w(A, at({}, A)));
|
|
3378
3378
|
this.bumpSpace();
|
|
3379
|
-
var
|
|
3380
|
-
if (a !== "select" &&
|
|
3379
|
+
var M = this.parseIdentifierIfPossible(), k = 0;
|
|
3380
|
+
if (a !== "select" && M.value === "offset") {
|
|
3381
3381
|
if (!this.bumpIf(":"))
|
|
3382
|
-
return this.error(
|
|
3382
|
+
return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
|
|
3383
3383
|
this.bumpSpace();
|
|
3384
|
-
var
|
|
3385
|
-
if (
|
|
3386
|
-
return
|
|
3387
|
-
this.bumpSpace(),
|
|
3384
|
+
var p = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3385
|
+
if (p.err)
|
|
3386
|
+
return p;
|
|
3387
|
+
this.bumpSpace(), M = this.parseIdentifierIfPossible(), k = p.val;
|
|
3388
3388
|
}
|
|
3389
|
-
var
|
|
3390
|
-
if (
|
|
3391
|
-
return
|
|
3392
|
-
var
|
|
3393
|
-
if (
|
|
3394
|
-
return
|
|
3395
|
-
var
|
|
3389
|
+
var F = this.tryParsePluralOrSelectOptions(t, a, r, M);
|
|
3390
|
+
if (F.err)
|
|
3391
|
+
return F;
|
|
3392
|
+
var x = this.tryParseArgumentClose(i);
|
|
3393
|
+
if (x.err)
|
|
3394
|
+
return x;
|
|
3395
|
+
var J = w(i, this.clonePosition());
|
|
3396
3396
|
return a === "select" ? {
|
|
3397
3397
|
val: {
|
|
3398
3398
|
type: B.select,
|
|
3399
3399
|
value: n,
|
|
3400
|
-
options: ur(
|
|
3401
|
-
location:
|
|
3400
|
+
options: ur(F.val),
|
|
3401
|
+
location: J
|
|
3402
3402
|
},
|
|
3403
3403
|
err: null
|
|
3404
3404
|
} : {
|
|
3405
3405
|
val: {
|
|
3406
3406
|
type: B.plural,
|
|
3407
3407
|
value: n,
|
|
3408
|
-
options: ur(
|
|
3408
|
+
options: ur(F.val),
|
|
3409
3409
|
offset: k,
|
|
3410
3410
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3411
|
-
location:
|
|
3411
|
+
location: J
|
|
3412
3412
|
},
|
|
3413
3413
|
err: null
|
|
3414
3414
|
};
|
|
3415
3415
|
}
|
|
3416
3416
|
default:
|
|
3417
|
-
return this.error(
|
|
3417
|
+
return this.error(S.INVALID_ARGUMENT_TYPE, w(s, l));
|
|
3418
3418
|
}
|
|
3419
3419
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3420
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3420
|
+
return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3421
3421
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3422
3422
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3423
3423
|
var n = this.char();
|
|
@@ -3426,7 +3426,7 @@ var ji = (
|
|
|
3426
3426
|
this.bump();
|
|
3427
3427
|
var i = this.clonePosition();
|
|
3428
3428
|
if (!this.bumpUntil("'"))
|
|
3429
|
-
return this.error(
|
|
3429
|
+
return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
|
|
3430
3430
|
this.bump();
|
|
3431
3431
|
break;
|
|
3432
3432
|
}
|
|
@@ -3458,7 +3458,7 @@ var ji = (
|
|
|
3458
3458
|
try {
|
|
3459
3459
|
n = _i(t);
|
|
3460
3460
|
} catch {
|
|
3461
|
-
return this.error(
|
|
3461
|
+
return this.error(S.INVALID_NUMBER_SKELETON, r);
|
|
3462
3462
|
}
|
|
3463
3463
|
return {
|
|
3464
3464
|
val: {
|
|
@@ -3472,36 +3472,36 @@ var ji = (
|
|
|
3472
3472
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3473
3473
|
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
|
|
3474
3474
|
if (u.length === 0) {
|
|
3475
|
-
var
|
|
3475
|
+
var p = this.clonePosition();
|
|
3476
3476
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3477
|
-
var
|
|
3478
|
-
if (
|
|
3479
|
-
return
|
|
3480
|
-
c = w(
|
|
3477
|
+
var h = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3478
|
+
if (h.err)
|
|
3479
|
+
return h;
|
|
3480
|
+
c = w(p, this.clonePosition()), u = this.message.slice(p.offset, this.offset());
|
|
3481
3481
|
} else
|
|
3482
3482
|
break;
|
|
3483
3483
|
}
|
|
3484
3484
|
if (l.has(u))
|
|
3485
|
-
return this.error(r === "select" ?
|
|
3485
|
+
return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3486
3486
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3487
3487
|
var g = this.clonePosition();
|
|
3488
3488
|
if (!this.bumpIf("{"))
|
|
3489
|
-
return this.error(r === "select" ?
|
|
3490
|
-
var
|
|
3491
|
-
if (
|
|
3492
|
-
return
|
|
3493
|
-
var
|
|
3494
|
-
if (
|
|
3495
|
-
return
|
|
3489
|
+
return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
|
|
3490
|
+
var x = this.parseMessage(t + 1, r, n);
|
|
3491
|
+
if (x.err)
|
|
3492
|
+
return x;
|
|
3493
|
+
var y = this.tryParseArgumentClose(g);
|
|
3494
|
+
if (y.err)
|
|
3495
|
+
return y;
|
|
3496
3496
|
a.push([
|
|
3497
3497
|
u,
|
|
3498
3498
|
{
|
|
3499
|
-
value:
|
|
3499
|
+
value: x.val,
|
|
3500
3500
|
location: w(g, this.clonePosition())
|
|
3501
3501
|
}
|
|
3502
3502
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
|
|
3503
3503
|
}
|
|
3504
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3504
|
+
return a.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(S.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3505
3505
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3506
3506
|
var n = 1, i = this.clonePosition();
|
|
3507
3507
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3604,10 +3604,10 @@ function kt(e) {
|
|
|
3604
3604
|
});
|
|
3605
3605
|
}
|
|
3606
3606
|
function Vi(e, t) {
|
|
3607
|
-
t === void 0 && (t = {}), t =
|
|
3607
|
+
t === void 0 && (t = {}), t = at({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3608
3608
|
var r = new ji(e, t).parse();
|
|
3609
3609
|
if (r.err) {
|
|
3610
|
-
var n = SyntaxError(
|
|
3610
|
+
var n = SyntaxError(S[r.err.kind]);
|
|
3611
3611
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3612
3612
|
}
|
|
3613
3613
|
return t?.captureLocation || kt(r.val), r.val;
|
|
@@ -3616,10 +3616,10 @@ var Le;
|
|
|
3616
3616
|
(function(e) {
|
|
3617
3617
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3618
3618
|
})(Le || (Le = {}));
|
|
3619
|
-
var
|
|
3619
|
+
var pt = (
|
|
3620
3620
|
/** @class */
|
|
3621
3621
|
function(e) {
|
|
3622
|
-
|
|
3622
|
+
ft(t, e);
|
|
3623
3623
|
function t(r, n, i) {
|
|
3624
3624
|
var o = e.call(this, r) || this;
|
|
3625
3625
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3631,48 +3631,48 @@ var ft = (
|
|
|
3631
3631
|
), cr = (
|
|
3632
3632
|
/** @class */
|
|
3633
3633
|
function(e) {
|
|
3634
|
-
|
|
3634
|
+
ft(t, e);
|
|
3635
3635
|
function t(r, n, i, o) {
|
|
3636
3636
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Le.INVALID_VALUE, o) || this;
|
|
3637
3637
|
}
|
|
3638
3638
|
return t;
|
|
3639
|
-
}(
|
|
3639
|
+
}(pt)
|
|
3640
3640
|
), Wi = (
|
|
3641
3641
|
/** @class */
|
|
3642
3642
|
function(e) {
|
|
3643
|
-
|
|
3643
|
+
ft(t, e);
|
|
3644
3644
|
function t(r, n, i) {
|
|
3645
3645
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Le.INVALID_VALUE, i) || this;
|
|
3646
3646
|
}
|
|
3647
3647
|
return t;
|
|
3648
|
-
}(
|
|
3648
|
+
}(pt)
|
|
3649
3649
|
), Xi = (
|
|
3650
3650
|
/** @class */
|
|
3651
3651
|
function(e) {
|
|
3652
|
-
|
|
3652
|
+
ft(t, e);
|
|
3653
3653
|
function t(r, n) {
|
|
3654
3654
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Le.MISSING_VALUE, n) || this;
|
|
3655
3655
|
}
|
|
3656
3656
|
return t;
|
|
3657
|
-
}(
|
|
3658
|
-
),
|
|
3657
|
+
}(pt)
|
|
3658
|
+
), j;
|
|
3659
3659
|
(function(e) {
|
|
3660
3660
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3661
|
-
})(
|
|
3661
|
+
})(j || (j = {}));
|
|
3662
3662
|
function zi(e) {
|
|
3663
3663
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3664
3664
|
var n = t[t.length - 1];
|
|
3665
|
-
return !n || n.type !==
|
|
3665
|
+
return !n || n.type !== j.literal || r.type !== j.literal ? t.push(r) : n.value += r.value, t;
|
|
3666
3666
|
}, []);
|
|
3667
3667
|
}
|
|
3668
3668
|
function Ji(e) {
|
|
3669
3669
|
return typeof e == "function";
|
|
3670
3670
|
}
|
|
3671
|
-
function
|
|
3671
|
+
function ot(e, t, r, n, i, o, s) {
|
|
3672
3672
|
if (e.length === 1 && nr(e[0]))
|
|
3673
3673
|
return [
|
|
3674
3674
|
{
|
|
3675
|
-
type:
|
|
3675
|
+
type: j.literal,
|
|
3676
3676
|
value: e[0].value
|
|
3677
3677
|
}
|
|
3678
3678
|
];
|
|
@@ -3680,101 +3680,101 @@ function it(e, t, r, n, i, o, s) {
|
|
|
3680
3680
|
var c = u[l];
|
|
3681
3681
|
if (nr(c)) {
|
|
3682
3682
|
a.push({
|
|
3683
|
-
type:
|
|
3683
|
+
type: j.literal,
|
|
3684
3684
|
value: c.value
|
|
3685
3685
|
});
|
|
3686
3686
|
continue;
|
|
3687
3687
|
}
|
|
3688
3688
|
if (bi(c)) {
|
|
3689
3689
|
typeof o == "number" && a.push({
|
|
3690
|
-
type:
|
|
3690
|
+
type: j.literal,
|
|
3691
3691
|
value: r.getNumberFormat(t).format(o)
|
|
3692
3692
|
});
|
|
3693
3693
|
continue;
|
|
3694
3694
|
}
|
|
3695
|
-
var
|
|
3696
|
-
if (!(i &&
|
|
3697
|
-
throw new Xi(
|
|
3698
|
-
var
|
|
3695
|
+
var p = c.value;
|
|
3696
|
+
if (!(i && p in i))
|
|
3697
|
+
throw new Xi(p, s);
|
|
3698
|
+
var h = i[p];
|
|
3699
3699
|
if (mi(c)) {
|
|
3700
|
-
(!
|
|
3701
|
-
type: typeof
|
|
3702
|
-
value:
|
|
3700
|
+
(!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
|
|
3701
|
+
type: typeof h == "string" ? j.literal : j.object,
|
|
3702
|
+
value: h
|
|
3703
3703
|
});
|
|
3704
3704
|
continue;
|
|
3705
3705
|
}
|
|
3706
3706
|
if (Dr(c)) {
|
|
3707
3707
|
var g = typeof c.style == "string" ? n.date[c.style] : Nt(c.style) ? c.style.parsedOptions : void 0;
|
|
3708
3708
|
a.push({
|
|
3709
|
-
type:
|
|
3710
|
-
value: r.getDateTimeFormat(t, g).format(
|
|
3709
|
+
type: j.literal,
|
|
3710
|
+
value: r.getDateTimeFormat(t, g).format(h)
|
|
3711
3711
|
});
|
|
3712
3712
|
continue;
|
|
3713
3713
|
}
|
|
3714
3714
|
if (kr(c)) {
|
|
3715
3715
|
var g = typeof c.style == "string" ? n.time[c.style] : Nt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3716
3716
|
a.push({
|
|
3717
|
-
type:
|
|
3718
|
-
value: r.getDateTimeFormat(t, g).format(
|
|
3717
|
+
type: j.literal,
|
|
3718
|
+
value: r.getDateTimeFormat(t, g).format(h)
|
|
3719
3719
|
});
|
|
3720
3720
|
continue;
|
|
3721
3721
|
}
|
|
3722
3722
|
if (Ur(c)) {
|
|
3723
3723
|
var g = typeof c.style == "string" ? n.number[c.style] : Fr(c.style) ? c.style.parsedOptions : void 0;
|
|
3724
|
-
g && g.scale && (
|
|
3725
|
-
type:
|
|
3726
|
-
value: r.getNumberFormat(t, g).format(
|
|
3724
|
+
g && g.scale && (h = h * (g.scale || 1)), a.push({
|
|
3725
|
+
type: j.literal,
|
|
3726
|
+
value: r.getNumberFormat(t, g).format(h)
|
|
3727
3727
|
});
|
|
3728
3728
|
continue;
|
|
3729
3729
|
}
|
|
3730
3730
|
if ($r(c)) {
|
|
3731
|
-
var
|
|
3732
|
-
if (!Ji(
|
|
3733
|
-
throw new Wi(
|
|
3734
|
-
var m =
|
|
3731
|
+
var x = c.children, y = c.value, v = i[y];
|
|
3732
|
+
if (!Ji(v))
|
|
3733
|
+
throw new Wi(y, "function", s);
|
|
3734
|
+
var m = ot(x, t, r, n, i, o), T = v(m.map(function(k) {
|
|
3735
3735
|
return k.value;
|
|
3736
3736
|
}));
|
|
3737
|
-
Array.isArray(
|
|
3737
|
+
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(k) {
|
|
3738
3738
|
return {
|
|
3739
|
-
type: typeof k == "string" ?
|
|
3739
|
+
type: typeof k == "string" ? j.literal : j.object,
|
|
3740
3740
|
value: k
|
|
3741
3741
|
};
|
|
3742
3742
|
}));
|
|
3743
3743
|
}
|
|
3744
3744
|
if (jr(c)) {
|
|
3745
|
-
var A = c.options[
|
|
3745
|
+
var A = c.options[h] || c.options.other;
|
|
3746
3746
|
if (!A)
|
|
3747
|
-
throw new cr(c.value,
|
|
3748
|
-
a.push.apply(a,
|
|
3747
|
+
throw new cr(c.value, h, Object.keys(c.options), s);
|
|
3748
|
+
a.push.apply(a, ot(A.value, t, r, n, i));
|
|
3749
3749
|
continue;
|
|
3750
3750
|
}
|
|
3751
3751
|
if (Gr(c)) {
|
|
3752
|
-
var A = c.options["=".concat(
|
|
3752
|
+
var A = c.options["=".concat(h)];
|
|
3753
3753
|
if (!A) {
|
|
3754
3754
|
if (!Intl.PluralRules)
|
|
3755
|
-
throw new
|
|
3755
|
+
throw new pt(`Intl.PluralRules is not available in this environment.
|
|
3756
3756
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3757
3757
|
`, Le.MISSING_INTL_API, s);
|
|
3758
|
-
var
|
|
3759
|
-
A = c.options[
|
|
3758
|
+
var M = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
|
|
3759
|
+
A = c.options[M] || c.options.other;
|
|
3760
3760
|
}
|
|
3761
3761
|
if (!A)
|
|
3762
|
-
throw new cr(c.value,
|
|
3763
|
-
a.push.apply(a,
|
|
3762
|
+
throw new cr(c.value, h, Object.keys(c.options), s);
|
|
3763
|
+
a.push.apply(a, ot(A.value, t, r, n, i, h - (c.offset || 0)));
|
|
3764
3764
|
continue;
|
|
3765
3765
|
}
|
|
3766
3766
|
}
|
|
3767
3767
|
return zi(a);
|
|
3768
3768
|
}
|
|
3769
3769
|
function Zi(e, t) {
|
|
3770
|
-
return t ?
|
|
3771
|
-
return r[n] =
|
|
3770
|
+
return t ? re(re(re({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3771
|
+
return r[n] = re(re({}, e[n]), t[n] || {}), r;
|
|
3772
3772
|
}, {})) : e;
|
|
3773
3773
|
}
|
|
3774
3774
|
function Qi(e, t) {
|
|
3775
3775
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3776
3776
|
return r[n] = Zi(e[n], t[n]), r;
|
|
3777
|
-
},
|
|
3777
|
+
}, re({}, e)) : e;
|
|
3778
3778
|
}
|
|
3779
3779
|
function xt(e) {
|
|
3780
3780
|
return {
|
|
@@ -3836,12 +3836,12 @@ var qi = (
|
|
|
3836
3836
|
var u = o.formatToParts(l);
|
|
3837
3837
|
if (u.length === 1)
|
|
3838
3838
|
return u[0].value;
|
|
3839
|
-
var c = u.reduce(function(
|
|
3840
|
-
return !
|
|
3839
|
+
var c = u.reduce(function(p, h) {
|
|
3840
|
+
return !p.length || h.type !== j.literal || typeof p[p.length - 1] != "string" ? p.push(h.value) : p[p.length - 1] += h.value, p;
|
|
3841
3841
|
}, []);
|
|
3842
3842
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3843
3843
|
}, this.formatToParts = function(l) {
|
|
3844
|
-
return
|
|
3844
|
+
return ot(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3845
3845
|
}, this.resolvedOptions = function() {
|
|
3846
3846
|
var l;
|
|
3847
3847
|
return {
|
|
@@ -3855,7 +3855,7 @@ var qi = (
|
|
|
3855
3855
|
var s = i || {};
|
|
3856
3856
|
s.formatters;
|
|
3857
3857
|
var a = ai(s, ["formatters"]);
|
|
3858
|
-
this.ast = e.__parse(t,
|
|
3858
|
+
this.ast = e.__parse(t, re(re({}, a), { locale: this.resolvedLocale }));
|
|
3859
3859
|
} else
|
|
3860
3860
|
this.ast = t;
|
|
3861
3861
|
if (!Array.isArray(this.ast))
|
|
@@ -3955,12 +3955,12 @@ function Ki(e, t) {
|
|
|
3955
3955
|
n = void 0;
|
|
3956
3956
|
return n;
|
|
3957
3957
|
}
|
|
3958
|
-
const
|
|
3958
|
+
const de = {}, eo = (e, t, r) => r && (t in de || (de[t] = {}), e in de[t] || (de[t][e] = r), r), Yr = (e, t) => {
|
|
3959
3959
|
if (t == null)
|
|
3960
3960
|
return;
|
|
3961
|
-
if (t in
|
|
3962
|
-
return
|
|
3963
|
-
const r =
|
|
3961
|
+
if (t in de && e in de[t])
|
|
3962
|
+
return de[t][e];
|
|
3963
|
+
const r = dt(t);
|
|
3964
3964
|
for (let n = 0; n < r.length; n++) {
|
|
3965
3965
|
const i = r[n], o = ro(i, e);
|
|
3966
3966
|
if (o)
|
|
@@ -3968,7 +3968,7 @@ const he = {}, eo = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (h
|
|
|
3968
3968
|
}
|
|
3969
3969
|
};
|
|
3970
3970
|
let Ft;
|
|
3971
|
-
const Je =
|
|
3971
|
+
const Je = ht({});
|
|
3972
3972
|
function to(e) {
|
|
3973
3973
|
return Ft[e] || null;
|
|
3974
3974
|
}
|
|
@@ -3984,7 +3984,7 @@ function ro(e, t) {
|
|
|
3984
3984
|
function no(e) {
|
|
3985
3985
|
if (e == null)
|
|
3986
3986
|
return;
|
|
3987
|
-
const t =
|
|
3987
|
+
const t = dt(e);
|
|
3988
3988
|
for (let r = 0; r < t.length; r++) {
|
|
3989
3989
|
const n = t[r];
|
|
3990
3990
|
if (qr(n))
|
|
@@ -3992,28 +3992,28 @@ function no(e) {
|
|
|
3992
3992
|
}
|
|
3993
3993
|
}
|
|
3994
3994
|
function Kr(e, ...t) {
|
|
3995
|
-
delete
|
|
3995
|
+
delete de[e], Je.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
|
|
3996
3996
|
}
|
|
3997
3997
|
Ie(
|
|
3998
3998
|
[Je],
|
|
3999
3999
|
([e]) => Object.keys(e)
|
|
4000
4000
|
);
|
|
4001
4001
|
Je.subscribe((e) => Ft = e);
|
|
4002
|
-
const
|
|
4002
|
+
const st = {};
|
|
4003
4003
|
function io(e, t) {
|
|
4004
|
-
|
|
4004
|
+
st[e].delete(t), st[e].size === 0 && delete st[e];
|
|
4005
4005
|
}
|
|
4006
4006
|
function en(e) {
|
|
4007
|
-
return
|
|
4007
|
+
return st[e];
|
|
4008
4008
|
}
|
|
4009
4009
|
function oo(e) {
|
|
4010
|
-
return
|
|
4010
|
+
return dt(e).map((t) => {
|
|
4011
4011
|
const r = en(t);
|
|
4012
4012
|
return [t, r ? [...r] : []];
|
|
4013
4013
|
}).filter(([, t]) => t.length > 0);
|
|
4014
4014
|
}
|
|
4015
4015
|
function jt(e) {
|
|
4016
|
-
return e == null ? !1 :
|
|
4016
|
+
return e == null ? !1 : dt(e).some(
|
|
4017
4017
|
(t) => {
|
|
4018
4018
|
var r;
|
|
4019
4019
|
return (r = en(t)) == null ? void 0 : r.size;
|
|
@@ -4080,7 +4080,7 @@ const ao = {
|
|
|
4080
4080
|
function Ce() {
|
|
4081
4081
|
return lo;
|
|
4082
4082
|
}
|
|
4083
|
-
const St =
|
|
4083
|
+
const St = ht(!1);
|
|
4084
4084
|
var co = Object.defineProperty, ho = Object.defineProperties, fo = Object.getOwnPropertyDescriptors, hr = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, mo = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bo = (e, t) => {
|
|
4085
4085
|
for (var r in t || (t = {}))
|
|
4086
4086
|
po.call(t, r) && fr(e, r, t[r]);
|
|
@@ -4090,56 +4090,56 @@ var co = Object.defineProperty, ho = Object.defineProperties, fo = Object.getOwn
|
|
|
4090
4090
|
return e;
|
|
4091
4091
|
}, go = (e, t) => ho(e, fo(t));
|
|
4092
4092
|
let Gt;
|
|
4093
|
-
const
|
|
4093
|
+
const ut = ht(null);
|
|
4094
4094
|
function pr(e) {
|
|
4095
4095
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4096
4096
|
}
|
|
4097
|
-
function
|
|
4097
|
+
function dt(e, t = Ce().fallbackLocale) {
|
|
4098
4098
|
const r = pr(e);
|
|
4099
4099
|
return t ? [.../* @__PURE__ */ new Set([...r, ...pr(t)])] : r;
|
|
4100
4100
|
}
|
|
4101
|
-
function
|
|
4101
|
+
function ge() {
|
|
4102
4102
|
return Gt ?? void 0;
|
|
4103
4103
|
}
|
|
4104
|
-
|
|
4104
|
+
ut.subscribe((e) => {
|
|
4105
4105
|
Gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4106
4106
|
});
|
|
4107
4107
|
const yo = (e) => {
|
|
4108
4108
|
if (e && no(e) && jt(e)) {
|
|
4109
4109
|
const { loadingDelay: t } = Ce();
|
|
4110
4110
|
let r;
|
|
4111
|
-
return typeof window < "u" &&
|
|
4111
|
+
return typeof window < "u" && ge() != null && t ? r = window.setTimeout(
|
|
4112
4112
|
() => St.set(!0),
|
|
4113
4113
|
t
|
|
4114
4114
|
) : St.set(!0), tn(e).then(() => {
|
|
4115
|
-
|
|
4115
|
+
ut.set(e);
|
|
4116
4116
|
}).finally(() => {
|
|
4117
4117
|
clearTimeout(r), St.set(!1);
|
|
4118
4118
|
});
|
|
4119
4119
|
}
|
|
4120
|
-
return
|
|
4121
|
-
}, Ne = go(bo({},
|
|
4120
|
+
return ut.set(e);
|
|
4121
|
+
}, Ne = go(bo({}, ut), {
|
|
4122
4122
|
set: yo
|
|
4123
|
-
}),
|
|
4123
|
+
}), mt = (e) => {
|
|
4124
4124
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4125
4125
|
return (n) => {
|
|
4126
4126
|
const i = JSON.stringify(n);
|
|
4127
4127
|
return i in t ? t[i] : t[i] = e(n);
|
|
4128
4128
|
};
|
|
4129
4129
|
};
|
|
4130
|
-
var vo = Object.defineProperty,
|
|
4130
|
+
var vo = Object.defineProperty, lt = Object.getOwnPropertySymbols, rn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable, dr = (e, t, r) => t in e ? vo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
|
|
4131
4131
|
for (var r in t || (t = {}))
|
|
4132
4132
|
rn.call(t, r) && dr(e, r, t[r]);
|
|
4133
|
-
if (
|
|
4134
|
-
for (var r of
|
|
4133
|
+
if (lt)
|
|
4134
|
+
for (var r of lt(t))
|
|
4135
4135
|
nn.call(t, r) && dr(e, r, t[r]);
|
|
4136
4136
|
return e;
|
|
4137
4137
|
}, Me = (e, t) => {
|
|
4138
4138
|
var r = {};
|
|
4139
4139
|
for (var n in e)
|
|
4140
4140
|
rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4141
|
-
if (e != null &&
|
|
4142
|
-
for (var n of
|
|
4141
|
+
if (e != null && lt)
|
|
4142
|
+
for (var n of lt(e))
|
|
4143
4143
|
t.indexOf(n) < 0 && nn.call(e, n) && (r[n] = e[n]);
|
|
4144
4144
|
return r;
|
|
4145
4145
|
};
|
|
@@ -4148,21 +4148,21 @@ const We = (e, t) => {
|
|
|
4148
4148
|
if (e in r && t in r[e])
|
|
4149
4149
|
return r[e][t];
|
|
4150
4150
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4151
|
-
}, _o =
|
|
4151
|
+
}, _o = mt(
|
|
4152
4152
|
(e) => {
|
|
4153
4153
|
var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
|
|
4154
4154
|
if (r == null)
|
|
4155
4155
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4156
4156
|
return n && (i = We("number", n)), new Intl.NumberFormat(r, i);
|
|
4157
4157
|
}
|
|
4158
|
-
), Eo =
|
|
4158
|
+
), Eo = mt(
|
|
4159
4159
|
(e) => {
|
|
4160
4160
|
var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
|
|
4161
4161
|
if (r == null)
|
|
4162
4162
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4163
4163
|
return n ? i = We("date", n) : Object.keys(i).length === 0 && (i = We("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4164
4164
|
}
|
|
4165
|
-
), xo =
|
|
4165
|
+
), xo = mt(
|
|
4166
4166
|
(e) => {
|
|
4167
4167
|
var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
|
|
4168
4168
|
if (r == null)
|
|
@@ -4173,28 +4173,28 @@ const We = (e, t) => {
|
|
|
4173
4173
|
}
|
|
4174
4174
|
), So = (e = {}) => {
|
|
4175
4175
|
var t = e, {
|
|
4176
|
-
locale: r =
|
|
4176
|
+
locale: r = ge()
|
|
4177
4177
|
} = t, n = Me(t, [
|
|
4178
4178
|
"locale"
|
|
4179
4179
|
]);
|
|
4180
4180
|
return _o(Vt({ locale: r }, n));
|
|
4181
4181
|
}, To = (e = {}) => {
|
|
4182
4182
|
var t = e, {
|
|
4183
|
-
locale: r =
|
|
4183
|
+
locale: r = ge()
|
|
4184
4184
|
} = t, n = Me(t, [
|
|
4185
4185
|
"locale"
|
|
4186
4186
|
]);
|
|
4187
4187
|
return Eo(Vt({ locale: r }, n));
|
|
4188
4188
|
}, wo = (e = {}) => {
|
|
4189
4189
|
var t = e, {
|
|
4190
|
-
locale: r =
|
|
4190
|
+
locale: r = ge()
|
|
4191
4191
|
} = t, n = Me(t, [
|
|
4192
4192
|
"locale"
|
|
4193
4193
|
]);
|
|
4194
4194
|
return xo(Vt({ locale: r }, n));
|
|
4195
|
-
}, Ho =
|
|
4195
|
+
}, Ho = mt(
|
|
4196
4196
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4197
|
-
(e, t =
|
|
4197
|
+
(e, t = ge()) => new qi(e, t, Ce().formats, {
|
|
4198
4198
|
ignoreTag: Ce().ignoreTag
|
|
4199
4199
|
})
|
|
4200
4200
|
), Ao = (e, t = {}) => {
|
|
@@ -4203,7 +4203,7 @@ const We = (e, t) => {
|
|
|
4203
4203
|
typeof e == "object" && (s = e, e = s.id);
|
|
4204
4204
|
const {
|
|
4205
4205
|
values: a,
|
|
4206
|
-
locale: l =
|
|
4206
|
+
locale: l = ge(),
|
|
4207
4207
|
default: u
|
|
4208
4208
|
} = s;
|
|
4209
4209
|
if (l == null)
|
|
@@ -4219,17 +4219,17 @@ const We = (e, t) => {
|
|
|
4219
4219
|
), c;
|
|
4220
4220
|
if (!a)
|
|
4221
4221
|
return c;
|
|
4222
|
-
let
|
|
4222
|
+
let p = c;
|
|
4223
4223
|
try {
|
|
4224
|
-
|
|
4225
|
-
} catch (
|
|
4226
|
-
|
|
4224
|
+
p = Ho(c, l).format(a);
|
|
4225
|
+
} catch (h) {
|
|
4226
|
+
h instanceof Error && console.warn(
|
|
4227
4227
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4228
|
-
|
|
4228
|
+
h.message
|
|
4229
4229
|
);
|
|
4230
4230
|
}
|
|
4231
|
-
return
|
|
4232
|
-
}, Bo = (e, t) => wo(t).format(e), Po = (e, t) => To(t).format(e), Oo = (e, t) => So(t).format(e), Lo = (e, t =
|
|
4231
|
+
return p;
|
|
4232
|
+
}, Bo = (e, t) => wo(t).format(e), Po = (e, t) => To(t).format(e), Oo = (e, t) => So(t).format(e), Lo = (e, t = ge()) => Yr(e, t);
|
|
4233
4233
|
Ie([Ne, Je], () => Ao);
|
|
4234
4234
|
Ie([Ne], () => Bo);
|
|
4235
4235
|
Ie([Ne], () => Po);
|
|
@@ -4309,56 +4309,56 @@ function Uo(e) {
|
|
|
4309
4309
|
}
|
|
4310
4310
|
function gr(e, t, r) {
|
|
4311
4311
|
const n = e.slice();
|
|
4312
|
-
return n[
|
|
4312
|
+
return n[56] = t[r], n[58] = r, n;
|
|
4313
4313
|
}
|
|
4314
4314
|
function Do(e) {
|
|
4315
|
-
let t, r, n, i, o, s, a, l, u, c,
|
|
4316
|
-
function
|
|
4315
|
+
let t, r, n, i, o, s, a, l, u, c, p, h, g;
|
|
4316
|
+
function x(m, T) {
|
|
4317
4317
|
return (
|
|
4318
4318
|
/*tabletView*/
|
|
4319
|
-
m[
|
|
4319
|
+
m[8] ? Go : $o
|
|
4320
4320
|
);
|
|
4321
4321
|
}
|
|
4322
|
-
let
|
|
4322
|
+
let y = x(e), v = y(e);
|
|
4323
4323
|
return {
|
|
4324
4324
|
c() {
|
|
4325
|
-
t = b("div"), r = b("div"), n = b("div"), i = b("div"), o = C(), s = b("div"),
|
|
4326
|
-
e[
|
|
4327
|
-
e[
|
|
4325
|
+
t = b("div"), r = b("div"), n = b("div"), i = b("div"), o = C(), s = b("div"), v.c(), a = C(), l = b("div"), u = b("ui-image"), _(i, "class", "vendorLogo"), et(i, "background-image", "url(" + /*vendorIcon*/
|
|
4326
|
+
e[9] + ")"), _(s, "class", "displayContainer"), Q(u.src, c = /*titleLogoImg*/
|
|
4327
|
+
e[14]) || P(u, "src", c), P(u, "alt", ""), _(l, "class", "title"), _(n, "class", p = "mainWrapper " + /*visualstructure*/
|
|
4328
4328
|
e[0] + " " + /*mobileView*/
|
|
4329
|
-
(e[
|
|
4330
|
-
e[
|
|
4329
|
+
(e[7] && !/*tabletView*/
|
|
4330
|
+
e[8] ? "mobile" : (
|
|
4331
4331
|
/*tabletView*/
|
|
4332
|
-
e[
|
|
4333
|
-
))),
|
|
4334
|
-
e[
|
|
4332
|
+
e[8] ? "tablet" : ""
|
|
4333
|
+
))), et(n, "background", "url(" + /*backgroundImg*/
|
|
4334
|
+
e[13] + ")"), _(r, "class", "jackpotBanner"), _(t, "class", "");
|
|
4335
4335
|
},
|
|
4336
|
-
m(m,
|
|
4337
|
-
|
|
4336
|
+
m(m, T) {
|
|
4337
|
+
$(m, t, T), d(t, r), d(r, n), d(n, i), d(n, o), d(n, s), v.m(s, null), d(n, a), d(n, l), d(l, u), h || (g = fn(
|
|
4338
4338
|
r,
|
|
4339
4339
|
"click",
|
|
4340
4340
|
/*click_handler*/
|
|
4341
|
-
e[
|
|
4342
|
-
),
|
|
4341
|
+
e[35]
|
|
4342
|
+
), h = !0);
|
|
4343
4343
|
},
|
|
4344
|
-
p(m,
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
m[
|
|
4348
|
-
|
|
4349
|
-
m[
|
|
4350
|
-
|
|
4344
|
+
p(m, T) {
|
|
4345
|
+
T[0] & /*vendorIcon*/
|
|
4346
|
+
512 && et(i, "background-image", "url(" + /*vendorIcon*/
|
|
4347
|
+
m[9] + ")"), y === (y = x(m)) && v ? v.p(m, T) : (v.d(1), v = y(m), v && (v.c(), v.m(s, null))), T[0] & /*titleLogoImg*/
|
|
4348
|
+
16384 && !Q(u.src, c = /*titleLogoImg*/
|
|
4349
|
+
m[14]) && P(u, "src", c), T[0] & /*visualstructure, mobileView, tabletView*/
|
|
4350
|
+
385 && p !== (p = "mainWrapper " + /*visualstructure*/
|
|
4351
4351
|
m[0] + " " + /*mobileView*/
|
|
4352
|
-
(m[
|
|
4353
|
-
m[
|
|
4352
|
+
(m[7] && !/*tabletView*/
|
|
4353
|
+
m[8] ? "mobile" : (
|
|
4354
4354
|
/*tabletView*/
|
|
4355
|
-
m[
|
|
4356
|
-
))) &&
|
|
4357
|
-
|
|
4358
|
-
m[
|
|
4355
|
+
m[8] ? "tablet" : ""
|
|
4356
|
+
))) && _(n, "class", p), T[0] & /*backgroundImg*/
|
|
4357
|
+
8192 && et(n, "background", "url(" + /*backgroundImg*/
|
|
4358
|
+
m[13] + ")");
|
|
4359
4359
|
},
|
|
4360
4360
|
d(m) {
|
|
4361
|
-
m &&
|
|
4361
|
+
m && D(t), v.d(), h = !1, g();
|
|
4362
4362
|
}
|
|
4363
4363
|
};
|
|
4364
4364
|
}
|
|
@@ -4366,14 +4366,14 @@ function ko(e) {
|
|
|
4366
4366
|
let t;
|
|
4367
4367
|
return {
|
|
4368
4368
|
c() {
|
|
4369
|
-
t = b("div"),
|
|
4369
|
+
t = b("div"), _(t, "class", "LoadingSpinner");
|
|
4370
4370
|
},
|
|
4371
4371
|
m(r, n) {
|
|
4372
|
-
|
|
4372
|
+
$(r, t, n);
|
|
4373
4373
|
},
|
|
4374
4374
|
p: Z,
|
|
4375
4375
|
d(r) {
|
|
4376
|
-
r &&
|
|
4376
|
+
r && D(t);
|
|
4377
4377
|
}
|
|
4378
4378
|
};
|
|
4379
4379
|
}
|
|
@@ -4384,136 +4384,136 @@ function jo(e) {
|
|
|
4384
4384
|
t = b("p"), t.textContent = "500 Server error";
|
|
4385
4385
|
},
|
|
4386
4386
|
m(r, n) {
|
|
4387
|
-
|
|
4387
|
+
$(r, t, n);
|
|
4388
4388
|
},
|
|
4389
4389
|
p: Z,
|
|
4390
4390
|
d(r) {
|
|
4391
|
-
r &&
|
|
4391
|
+
r && D(t);
|
|
4392
4392
|
}
|
|
4393
4393
|
};
|
|
4394
4394
|
}
|
|
4395
4395
|
function Go(e) {
|
|
4396
4396
|
let t, r, n, i, o, s, a, l = (
|
|
4397
4397
|
/*formattedLabels*/
|
|
4398
|
-
e[
|
|
4399
|
-
), u, c,
|
|
4398
|
+
e[11][0] + ""
|
|
4399
|
+
), u, c, p, h, g = (
|
|
4400
4400
|
/*realtimeupdate*/
|
|
4401
4401
|
(e[2] === "true" ? (
|
|
4402
|
-
/*
|
|
4403
|
-
e[
|
|
4402
|
+
/*reversedJackpotValues*/
|
|
4403
|
+
e[16][0]
|
|
4404
4404
|
) : (
|
|
4405
4405
|
/*formattedJackpotValues*/
|
|
4406
|
-
e[
|
|
4406
|
+
e[10][0]
|
|
4407
4407
|
)) + ""
|
|
4408
|
-
),
|
|
4408
|
+
), x, y, v, m, T, A, M, k, F, J = (
|
|
4409
4409
|
/*formattedLabels*/
|
|
4410
|
-
e[
|
|
4411
|
-
),
|
|
4410
|
+
e[11][1] + ""
|
|
4411
|
+
), Re, ye, Y, me, he = (
|
|
4412
4412
|
/*realtimeupdate*/
|
|
4413
4413
|
(e[2] === "true" ? (
|
|
4414
|
-
/*
|
|
4415
|
-
e[
|
|
4414
|
+
/*reversedJackpotValues*/
|
|
4415
|
+
e[16][1]
|
|
4416
4416
|
) : (
|
|
4417
4417
|
/*formattedJackpotValues*/
|
|
4418
|
-
e[
|
|
4418
|
+
e[10][1]
|
|
4419
4419
|
)) + ""
|
|
4420
|
-
),
|
|
4420
|
+
), fe, ve, _e, ee, ne, ie, N, oe, Ue, pe, q = (
|
|
4421
4421
|
/*formattedLabels*/
|
|
4422
|
-
e[
|
|
4423
|
-
),
|
|
4422
|
+
e[11][2] + ""
|
|
4423
|
+
), se, Ze, K, Ee, xe = (
|
|
4424
4424
|
/*realtimeupdate*/
|
|
4425
4425
|
(e[2] === "true" ? (
|
|
4426
4426
|
/*updatedJackpotValues*/
|
|
4427
|
-
e[
|
|
4427
|
+
e[6][2]
|
|
4428
4428
|
) : (
|
|
4429
4429
|
/*formattedJackpotValues*/
|
|
4430
|
-
e[
|
|
4430
|
+
e[10][2]
|
|
4431
4431
|
)) + ""
|
|
4432
|
-
), De,
|
|
4432
|
+
), De, Qe, Ye, ae, ue, te, Se, ke, Te, be = (
|
|
4433
4433
|
/*formattedLabels*/
|
|
4434
|
-
e[
|
|
4435
|
-
), je,
|
|
4434
|
+
e[11][3] + ""
|
|
4435
|
+
), je, qe, le, f, H = (
|
|
4436
4436
|
/*realtimeupdate*/
|
|
4437
4437
|
(e[2] === "true" ? (
|
|
4438
4438
|
/*updatedJackpotValues*/
|
|
4439
|
-
e[
|
|
4439
|
+
e[6][3]
|
|
4440
4440
|
) : (
|
|
4441
4441
|
/*formattedJackpotValues*/
|
|
4442
|
-
e[
|
|
4442
|
+
e[10][3]
|
|
4443
4443
|
)) + ""
|
|
4444
|
-
),
|
|
4444
|
+
), U, Wt, V = !/*currencylocale*/
|
|
4445
4445
|
e[3] && yr(e), W = !/*currencylocale*/
|
|
4446
4446
|
e[3] && vr(e), X = !/*currencylocale*/
|
|
4447
4447
|
e[3] && _r(e), z = !/*currencylocale*/
|
|
4448
4448
|
e[3] && Er(e);
|
|
4449
4449
|
return {
|
|
4450
4450
|
c() {
|
|
4451
|
-
t = b("div"), r = b("div"), n = b("div"), i = b("ui-image"), s = C(), a = b("span"), u = R(l), c = C(),
|
|
4452
|
-
e[
|
|
4453
|
-
e[
|
|
4454
|
-
e[
|
|
4455
|
-
e[
|
|
4451
|
+
t = b("div"), r = b("div"), n = b("div"), i = b("ui-image"), s = C(), a = b("span"), u = R(l), c = C(), p = b("span"), h = b("span"), x = R(g), y = C(), V && V.c(), v = C(), m = b("div"), T = b("div"), A = b("ui-image"), k = C(), F = b("span"), Re = R(J), ye = C(), Y = b("span"), me = b("span"), fe = R(he), ve = C(), W && W.c(), _e = C(), ee = b("div"), ne = b("div"), ie = b("div"), N = b("ui-image"), Ue = C(), pe = b("span"), se = R(q), Ze = C(), K = b("span"), Ee = b("span"), De = R(xe), Qe = C(), X && X.c(), Ye = C(), ae = b("div"), ue = b("div"), te = b("ui-image"), ke = C(), Te = b("span"), je = R(be), qe = C(), le = b("span"), f = b("span"), U = R(H), Wt = C(), z && z.c(), P(i, "class", "displayCardIcon"), Q(i.src, o = /*caticons*/
|
|
4452
|
+
e[12][0]) || P(i, "src", o), P(i, "alt", ""), _(a, "class", "cardLabel"), _(n, "class", "iconWrapper"), _(h, "class", "jackpotValue"), _(p, "class", "cardTextWrapper"), _(r, "class", "displayCard"), P(A, "class", "displayCardIcon"), Q(A.src, M = /*caticons*/
|
|
4453
|
+
e[12][1]) || P(A, "src", M), P(A, "alt", ""), _(F, "class", "cardLabel"), _(T, "class", "iconWrapper"), _(me, "class", "jackpotValue"), _(Y, "class", "cardTextWrapper"), _(m, "class", "displayCard"), _(t, "class", "pairWrapper"), P(N, "class", "displayCardIcon"), Q(N.src, oe = /*caticons*/
|
|
4454
|
+
e[12][2]) || P(N, "src", oe), P(N, "alt", ""), _(pe, "class", "cardLabel"), _(ie, "class", "iconWrapper"), _(Ee, "class", "jackpotValue"), _(K, "class", "cardTextWrapper"), _(ne, "class", "displayCard"), P(te, "class", "displayCardIcon"), Q(te.src, Se = /*caticons*/
|
|
4455
|
+
e[12][3]) || P(te, "src", Se), P(te, "alt", ""), _(Te, "class", "cardLabel"), _(ue, "class", "iconWrapper"), _(f, "class", "jackpotValue"), _(le, "class", "cardTextWrapper"), _(ae, "class", "displayCard"), _(ee, "class", "pairWrapper");
|
|
4456
4456
|
},
|
|
4457
|
-
m(
|
|
4458
|
-
|
|
4457
|
+
m(E, I) {
|
|
4458
|
+
$(E, t, I), d(t, r), d(r, n), d(n, i), d(n, s), d(n, a), d(a, u), d(r, c), d(r, p), d(p, h), d(h, x), d(p, y), V && V.m(p, null), d(t, v), d(t, m), d(m, T), d(T, A), d(T, k), d(T, F), d(F, Re), d(m, ye), d(m, Y), d(Y, me), d(me, fe), d(Y, ve), W && W.m(Y, null), $(E, _e, I), $(E, ee, I), d(ee, ne), d(ne, ie), d(ie, N), d(ie, Ue), d(ie, pe), d(pe, se), d(ne, Ze), d(ne, K), d(K, Ee), d(Ee, De), d(K, Qe), X && X.m(K, null), d(ee, Ye), d(ee, ae), d(ae, ue), d(ue, te), d(ue, ke), d(ue, Te), d(Te, je), d(ae, qe), d(ae, le), d(le, f), d(f, U), d(le, Wt), z && z.m(le, null);
|
|
4459
4459
|
},
|
|
4460
|
-
p(
|
|
4460
|
+
p(E, I) {
|
|
4461
4461
|
I[0] & /*caticons*/
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
(
|
|
4468
|
-
/*
|
|
4469
|
-
|
|
4462
|
+
4096 && !Q(i.src, o = /*caticons*/
|
|
4463
|
+
E[12][0]) && P(i, "src", o), I[0] & /*formattedLabels*/
|
|
4464
|
+
2048 && l !== (l = /*formattedLabels*/
|
|
4465
|
+
E[11][0] + "") && G(u, l), I[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4466
|
+
66564 && g !== (g = /*realtimeupdate*/
|
|
4467
|
+
(E[2] === "true" ? (
|
|
4468
|
+
/*reversedJackpotValues*/
|
|
4469
|
+
E[16][0]
|
|
4470
4470
|
) : (
|
|
4471
4471
|
/*formattedJackpotValues*/
|
|
4472
|
-
|
|
4473
|
-
)) + "") &&
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
(
|
|
4481
|
-
/*
|
|
4482
|
-
|
|
4472
|
+
E[10][0]
|
|
4473
|
+
)) + "") && G(x, g), /*currencylocale*/
|
|
4474
|
+
E[3] ? V && (V.d(1), V = null) : V ? V.p(E, I) : (V = yr(E), V.c(), V.m(p, null)), I[0] & /*caticons*/
|
|
4475
|
+
4096 && !Q(A.src, M = /*caticons*/
|
|
4476
|
+
E[12][1]) && P(A, "src", M), I[0] & /*formattedLabels*/
|
|
4477
|
+
2048 && J !== (J = /*formattedLabels*/
|
|
4478
|
+
E[11][1] + "") && G(Re, J), I[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4479
|
+
66564 && he !== (he = /*realtimeupdate*/
|
|
4480
|
+
(E[2] === "true" ? (
|
|
4481
|
+
/*reversedJackpotValues*/
|
|
4482
|
+
E[16][1]
|
|
4483
4483
|
) : (
|
|
4484
4484
|
/*formattedJackpotValues*/
|
|
4485
|
-
|
|
4486
|
-
)) + "") &&
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
(
|
|
4485
|
+
E[10][1]
|
|
4486
|
+
)) + "") && G(fe, he), /*currencylocale*/
|
|
4487
|
+
E[3] ? W && (W.d(1), W = null) : W ? W.p(E, I) : (W = vr(E), W.c(), W.m(Y, null)), I[0] & /*caticons*/
|
|
4488
|
+
4096 && !Q(N.src, oe = /*caticons*/
|
|
4489
|
+
E[12][2]) && P(N, "src", oe), I[0] & /*formattedLabels*/
|
|
4490
|
+
2048 && q !== (q = /*formattedLabels*/
|
|
4491
|
+
E[11][2] + "") && G(se, q), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4492
|
+
1092 && xe !== (xe = /*realtimeupdate*/
|
|
4493
|
+
(E[2] === "true" ? (
|
|
4494
4494
|
/*updatedJackpotValues*/
|
|
4495
|
-
|
|
4495
|
+
E[6][2]
|
|
4496
4496
|
) : (
|
|
4497
4497
|
/*formattedJackpotValues*/
|
|
4498
|
-
|
|
4499
|
-
)) + "") &&
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
(
|
|
4498
|
+
E[10][2]
|
|
4499
|
+
)) + "") && G(De, xe), /*currencylocale*/
|
|
4500
|
+
E[3] ? X && (X.d(1), X = null) : X ? X.p(E, I) : (X = _r(E), X.c(), X.m(K, null)), I[0] & /*caticons*/
|
|
4501
|
+
4096 && !Q(te.src, Se = /*caticons*/
|
|
4502
|
+
E[12][3]) && P(te, "src", Se), I[0] & /*formattedLabels*/
|
|
4503
|
+
2048 && be !== (be = /*formattedLabels*/
|
|
4504
|
+
E[11][3] + "") && G(je, be), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4505
|
+
1092 && H !== (H = /*realtimeupdate*/
|
|
4506
|
+
(E[2] === "true" ? (
|
|
4507
4507
|
/*updatedJackpotValues*/
|
|
4508
|
-
|
|
4508
|
+
E[6][3]
|
|
4509
4509
|
) : (
|
|
4510
4510
|
/*formattedJackpotValues*/
|
|
4511
|
-
|
|
4512
|
-
)) + "") &&
|
|
4513
|
-
|
|
4511
|
+
E[10][3]
|
|
4512
|
+
)) + "") && G(U, H), /*currencylocale*/
|
|
4513
|
+
E[3] ? z && (z.d(1), z = null) : z ? z.p(E, I) : (z = Er(E), z.c(), z.m(le, null));
|
|
4514
4514
|
},
|
|
4515
|
-
d(
|
|
4516
|
-
|
|
4515
|
+
d(E) {
|
|
4516
|
+
E && (D(t), D(_e), D(ee)), V && V.d(), W && W.d(), X && X.d(), z && z.d();
|
|
4517
4517
|
}
|
|
4518
4518
|
};
|
|
4519
4519
|
}
|
|
@@ -4530,11 +4530,11 @@ function $o(e) {
|
|
|
4530
4530
|
m(i, o) {
|
|
4531
4531
|
for (let s = 0; s < n.length; s += 1)
|
|
4532
4532
|
n[s] && n[s].m(i, o);
|
|
4533
|
-
|
|
4533
|
+
$(i, t, o);
|
|
4534
4534
|
},
|
|
4535
4535
|
p(i, o) {
|
|
4536
|
-
if (o[0] & /*currency, currencylocale, realtimeupdate,
|
|
4537
|
-
|
|
4536
|
+
if (o[0] & /*currency, currencylocale, realtimeupdate, reversedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
4537
|
+
72718) {
|
|
4538
4538
|
r = Jt(Array(4));
|
|
4539
4539
|
let s;
|
|
4540
4540
|
for (s = 0; s < r.length; s += 1) {
|
|
@@ -4547,7 +4547,7 @@ function $o(e) {
|
|
|
4547
4547
|
}
|
|
4548
4548
|
},
|
|
4549
4549
|
d(i) {
|
|
4550
|
-
i &&
|
|
4550
|
+
i && D(t), cn(n, i);
|
|
4551
4551
|
}
|
|
4552
4552
|
};
|
|
4553
4553
|
}
|
|
@@ -4558,21 +4558,21 @@ function yr(e) {
|
|
|
4558
4558
|
t = b("span"), r = R(
|
|
4559
4559
|
/*currency*/
|
|
4560
4560
|
e[1]
|
|
4561
|
-
),
|
|
4561
|
+
), _(t, "class", "jackpot-currency");
|
|
4562
4562
|
},
|
|
4563
4563
|
m(n, i) {
|
|
4564
|
-
|
|
4564
|
+
$(n, t, i), d(t, r);
|
|
4565
4565
|
},
|
|
4566
4566
|
p(n, i) {
|
|
4567
4567
|
i[0] & /*currency*/
|
|
4568
|
-
2 &&
|
|
4568
|
+
2 && G(
|
|
4569
4569
|
r,
|
|
4570
4570
|
/*currency*/
|
|
4571
4571
|
n[1]
|
|
4572
4572
|
);
|
|
4573
4573
|
},
|
|
4574
4574
|
d(n) {
|
|
4575
|
-
n &&
|
|
4575
|
+
n && D(t);
|
|
4576
4576
|
}
|
|
4577
4577
|
};
|
|
4578
4578
|
}
|
|
@@ -4583,21 +4583,21 @@ function vr(e) {
|
|
|
4583
4583
|
t = b("span"), r = R(
|
|
4584
4584
|
/*currency*/
|
|
4585
4585
|
e[1]
|
|
4586
|
-
),
|
|
4586
|
+
), _(t, "class", "jackpot-currency");
|
|
4587
4587
|
},
|
|
4588
4588
|
m(n, i) {
|
|
4589
|
-
|
|
4589
|
+
$(n, t, i), d(t, r);
|
|
4590
4590
|
},
|
|
4591
4591
|
p(n, i) {
|
|
4592
4592
|
i[0] & /*currency*/
|
|
4593
|
-
2 &&
|
|
4593
|
+
2 && G(
|
|
4594
4594
|
r,
|
|
4595
4595
|
/*currency*/
|
|
4596
4596
|
n[1]
|
|
4597
4597
|
);
|
|
4598
4598
|
},
|
|
4599
4599
|
d(n) {
|
|
4600
|
-
n &&
|
|
4600
|
+
n && D(t);
|
|
4601
4601
|
}
|
|
4602
4602
|
};
|
|
4603
4603
|
}
|
|
@@ -4608,21 +4608,21 @@ function _r(e) {
|
|
|
4608
4608
|
t = b("span"), r = R(
|
|
4609
4609
|
/*currency*/
|
|
4610
4610
|
e[1]
|
|
4611
|
-
),
|
|
4611
|
+
), _(t, "class", "jackpot-currency");
|
|
4612
4612
|
},
|
|
4613
4613
|
m(n, i) {
|
|
4614
|
-
|
|
4614
|
+
$(n, t, i), d(t, r);
|
|
4615
4615
|
},
|
|
4616
4616
|
p(n, i) {
|
|
4617
4617
|
i[0] & /*currency*/
|
|
4618
|
-
2 &&
|
|
4618
|
+
2 && G(
|
|
4619
4619
|
r,
|
|
4620
4620
|
/*currency*/
|
|
4621
4621
|
n[1]
|
|
4622
4622
|
);
|
|
4623
4623
|
},
|
|
4624
4624
|
d(n) {
|
|
4625
|
-
n &&
|
|
4625
|
+
n && D(t);
|
|
4626
4626
|
}
|
|
4627
4627
|
};
|
|
4628
4628
|
}
|
|
@@ -4633,21 +4633,21 @@ function Er(e) {
|
|
|
4633
4633
|
t = b("span"), r = R(
|
|
4634
4634
|
/*currency*/
|
|
4635
4635
|
e[1]
|
|
4636
|
-
),
|
|
4636
|
+
), _(t, "class", "jackpot-currency");
|
|
4637
4637
|
},
|
|
4638
4638
|
m(n, i) {
|
|
4639
|
-
|
|
4639
|
+
$(n, t, i), d(t, r);
|
|
4640
4640
|
},
|
|
4641
4641
|
p(n, i) {
|
|
4642
4642
|
i[0] & /*currency*/
|
|
4643
|
-
2 &&
|
|
4643
|
+
2 && G(
|
|
4644
4644
|
r,
|
|
4645
4645
|
/*currency*/
|
|
4646
4646
|
n[1]
|
|
4647
4647
|
);
|
|
4648
4648
|
},
|
|
4649
4649
|
d(n) {
|
|
4650
|
-
n &&
|
|
4650
|
+
n && D(t);
|
|
4651
4651
|
}
|
|
4652
4652
|
};
|
|
4653
4653
|
}
|
|
@@ -4658,89 +4658,89 @@ function xr(e) {
|
|
|
4658
4658
|
t = b("span"), r = R(
|
|
4659
4659
|
/*currency*/
|
|
4660
4660
|
e[1]
|
|
4661
|
-
),
|
|
4661
|
+
), _(t, "class", "jackpot-currency");
|
|
4662
4662
|
},
|
|
4663
4663
|
m(n, i) {
|
|
4664
|
-
|
|
4664
|
+
$(n, t, i), d(t, r);
|
|
4665
4665
|
},
|
|
4666
4666
|
p(n, i) {
|
|
4667
4667
|
i[0] & /*currency*/
|
|
4668
|
-
2 &&
|
|
4668
|
+
2 && G(
|
|
4669
4669
|
r,
|
|
4670
4670
|
/*currency*/
|
|
4671
4671
|
n[1]
|
|
4672
4672
|
);
|
|
4673
4673
|
},
|
|
4674
4674
|
d(n) {
|
|
4675
|
-
n &&
|
|
4675
|
+
n && D(t);
|
|
4676
4676
|
}
|
|
4677
4677
|
};
|
|
4678
4678
|
}
|
|
4679
4679
|
function Sr(e) {
|
|
4680
4680
|
let t, r, n, i, o, s, a = (
|
|
4681
4681
|
/*formattedLabels*/
|
|
4682
|
-
e[
|
|
4682
|
+
e[11][
|
|
4683
4683
|
/*i*/
|
|
4684
|
-
e[
|
|
4684
|
+
e[58]
|
|
4685
4685
|
] + ""
|
|
4686
|
-
), l, u, c,
|
|
4686
|
+
), l, u, c, p, h = (
|
|
4687
4687
|
/*realtimeupdate*/
|
|
4688
4688
|
(e[2] === "true" ? (
|
|
4689
|
-
/*
|
|
4690
|
-
e[
|
|
4689
|
+
/*reversedJackpotValues*/
|
|
4690
|
+
e[16][
|
|
4691
4691
|
/*i*/
|
|
4692
|
-
e[
|
|
4692
|
+
e[58]
|
|
4693
4693
|
]
|
|
4694
4694
|
) : (
|
|
4695
4695
|
/*formattedJackpotValues*/
|
|
4696
|
-
e[
|
|
4696
|
+
e[10][
|
|
4697
4697
|
/*i*/
|
|
4698
|
-
e[
|
|
4698
|
+
e[58]
|
|
4699
4699
|
] ?? ""
|
|
4700
4700
|
)) + ""
|
|
4701
|
-
), g,
|
|
4701
|
+
), g, x, y, v = !/*currencylocale*/
|
|
4702
4702
|
e[3] && xr(e);
|
|
4703
4703
|
return {
|
|
4704
4704
|
c() {
|
|
4705
|
-
t = b("div"), r = b("div"), n = b("ui-image"), o = C(), s = b("span"), l = R(a), u = C(), c = b("span"),
|
|
4706
|
-
e[
|
|
4705
|
+
t = b("div"), r = b("div"), n = b("ui-image"), o = C(), s = b("span"), l = R(a), u = C(), c = b("span"), p = b("span"), g = R(h), x = C(), v && v.c(), y = C(), P(n, "class", "displayCardIcon"), Q(n.src, i = /*caticons*/
|
|
4706
|
+
e[12][
|
|
4707
4707
|
/*i*/
|
|
4708
|
-
e[
|
|
4709
|
-
]) || P(n, "src", i), P(n, "alt", ""),
|
|
4708
|
+
e[58]
|
|
4709
|
+
]) || P(n, "src", i), P(n, "alt", ""), _(s, "class", "cardLabel"), _(r, "class", "iconWrapper"), _(p, "class", "jackpotValue"), _(c, "class", "cardTextWrapper"), _(t, "class", "displayCard");
|
|
4710
4710
|
},
|
|
4711
|
-
m(m,
|
|
4712
|
-
|
|
4711
|
+
m(m, T) {
|
|
4712
|
+
$(m, t, T), d(t, r), d(r, n), d(r, o), d(r, s), d(s, l), d(t, u), d(t, c), d(c, p), d(p, g), d(c, x), v && v.m(c, null), d(t, y);
|
|
4713
4713
|
},
|
|
4714
|
-
p(m,
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
m[
|
|
4714
|
+
p(m, T) {
|
|
4715
|
+
T[0] & /*caticons*/
|
|
4716
|
+
4096 && !Q(n.src, i = /*caticons*/
|
|
4717
|
+
m[12][
|
|
4718
4718
|
/*i*/
|
|
4719
|
-
m[
|
|
4720
|
-
]) && P(n, "src", i),
|
|
4721
|
-
|
|
4722
|
-
m[
|
|
4719
|
+
m[58]
|
|
4720
|
+
]) && P(n, "src", i), T[0] & /*formattedLabels*/
|
|
4721
|
+
2048 && a !== (a = /*formattedLabels*/
|
|
4722
|
+
m[11][
|
|
4723
4723
|
/*i*/
|
|
4724
|
-
m[
|
|
4725
|
-
] + "") &&
|
|
4726
|
-
|
|
4724
|
+
m[58]
|
|
4725
|
+
] + "") && G(l, a), T[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4726
|
+
66564 && h !== (h = /*realtimeupdate*/
|
|
4727
4727
|
(m[2] === "true" ? (
|
|
4728
|
-
/*
|
|
4729
|
-
m[
|
|
4728
|
+
/*reversedJackpotValues*/
|
|
4729
|
+
m[16][
|
|
4730
4730
|
/*i*/
|
|
4731
|
-
m[
|
|
4731
|
+
m[58]
|
|
4732
4732
|
]
|
|
4733
4733
|
) : (
|
|
4734
4734
|
/*formattedJackpotValues*/
|
|
4735
|
-
m[
|
|
4735
|
+
m[10][
|
|
4736
4736
|
/*i*/
|
|
4737
|
-
m[
|
|
4737
|
+
m[58]
|
|
4738
4738
|
] ?? ""
|
|
4739
|
-
)) + "") &&
|
|
4740
|
-
m[3] ?
|
|
4739
|
+
)) + "") && G(g, h), /*currencylocale*/
|
|
4740
|
+
m[3] ? v && (v.d(1), v = null) : v ? v.p(m, T) : (v = xr(m), v.c(), v.m(c, null));
|
|
4741
4741
|
},
|
|
4742
4742
|
d(m) {
|
|
4743
|
-
m &&
|
|
4743
|
+
m && D(t), v && v.d();
|
|
4744
4744
|
}
|
|
4745
4745
|
};
|
|
4746
4746
|
}
|
|
@@ -4749,7 +4749,7 @@ function Fo(e) {
|
|
|
4749
4749
|
function r(o, s) {
|
|
4750
4750
|
return (
|
|
4751
4751
|
/*hasErrors*/
|
|
4752
|
-
o[
|
|
4752
|
+
o[15] ? jo : (
|
|
4753
4753
|
/*isLoading*/
|
|
4754
4754
|
o[5] ? ko : Do
|
|
4755
4755
|
)
|
|
@@ -4761,7 +4761,7 @@ function Fo(e) {
|
|
|
4761
4761
|
t = b("div"), i.c();
|
|
4762
4762
|
},
|
|
4763
4763
|
m(o, s) {
|
|
4764
|
-
|
|
4764
|
+
$(o, t, s), i.m(t, null), e[36](t);
|
|
4765
4765
|
},
|
|
4766
4766
|
p(o, s) {
|
|
4767
4767
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4769,16 +4769,16 @@ function Fo(e) {
|
|
|
4769
4769
|
i: Z,
|
|
4770
4770
|
o: Z,
|
|
4771
4771
|
d(o) {
|
|
4772
|
-
o &&
|
|
4772
|
+
o && D(t), i.d(), e[36](null);
|
|
4773
4773
|
}
|
|
4774
4774
|
};
|
|
4775
4775
|
}
|
|
4776
4776
|
function Vo(e, t, r) {
|
|
4777
|
-
let { visualstructure:
|
|
4778
|
-
const
|
|
4779
|
-
fetch(
|
|
4780
|
-
Object.keys(H).forEach((
|
|
4781
|
-
mr(
|
|
4777
|
+
let n, { visualstructure: i = "" } = t, { title: o = "" } = t, { caticon0: s = "" } = t, { caticon1: a = "" } = t, { caticon2: l = "" } = t, { caticon3: u = "" } = t, { iconlabels: c = "" } = t, { backgroundsrc: p = "" } = t, { currency: h = "" } = t, { backgroundsrcmobile: g = "" } = t, { titlelogopath: x = "" } = t, { lang: y = "en" } = t, { clientstyling: v = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: T = "" } = t, { endpoint: A = "" } = t, { gameid: M = "" } = t, { mbsource: k } = t, { realtimeupdate: F = "false" } = t, { currencylocale: J = "" } = t, Re = window.navigator.userAgent, ye = !1, Y = !1, me = "", he = [], fe = [], ve = [], _e = [], ee = [], ne = "", ie = "", N, oe = !0, Ue = !1, pe, q = null, se = [];
|
|
4778
|
+
const Ze = () => {
|
|
4779
|
+
fetch(T).then((H) => H.json()).then((H) => {
|
|
4780
|
+
Object.keys(H).forEach((U) => {
|
|
4781
|
+
mr(U, H[U]);
|
|
4782
4782
|
});
|
|
4783
4783
|
}).catch((H) => {
|
|
4784
4784
|
console.log(H);
|
|
@@ -4787,104 +4787,105 @@ function Vo(e, t, r) {
|
|
|
4787
4787
|
Object.keys(br).forEach((f) => {
|
|
4788
4788
|
mr(f, br[f]);
|
|
4789
4789
|
});
|
|
4790
|
-
const
|
|
4790
|
+
const K = ["typeSpread", "typeLeft"], Ee = (f) => {
|
|
4791
4791
|
const H = f?.items[0]?.additionalData;
|
|
4792
|
-
H && Object.values(H).forEach((
|
|
4792
|
+
H && Object.values(H).forEach((U) => he.push(+U));
|
|
4793
4793
|
}, xe = (f) => {
|
|
4794
|
-
r(
|
|
4795
|
-
},
|
|
4796
|
-
if (
|
|
4797
|
-
let f = new URL(`${
|
|
4798
|
-
f.searchParams.append("filter", `id=${
|
|
4799
|
-
r(5,
|
|
4800
|
-
}).catch((
|
|
4801
|
-
r(
|
|
4794
|
+
r(9, me = f?.items[0]?.vendorLogo || "");
|
|
4795
|
+
}, De = () => {
|
|
4796
|
+
if (A && y && h) {
|
|
4797
|
+
let f = new URL(`${A}/v1/casino/jackpots`);
|
|
4798
|
+
f.searchParams.append("filter", `id=${M}`), f.searchParams.append("language", y), f.searchParams.append("additionalDataCurrency", h), fetch(f.href).then((H) => H.json().then((U) => {
|
|
4799
|
+
r(5, oe = !1), pe = U, fe.includes(M) && (Ee(pe), xe(pe));
|
|
4800
|
+
}).catch((U) => {
|
|
4801
|
+
r(15, Ue = !0), r(5, oe = !1), console.error(U);
|
|
4802
4802
|
}).finally(() => {
|
|
4803
|
-
|
|
4803
|
+
Qe();
|
|
4804
4804
|
}));
|
|
4805
4805
|
}
|
|
4806
|
-
},
|
|
4806
|
+
}, Qe = () => {
|
|
4807
4807
|
const f = N.getRootNode().host;
|
|
4808
4808
|
f.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: f } }));
|
|
4809
|
-
},
|
|
4810
|
-
let f = new URL(`${
|
|
4809
|
+
}, Ye = () => {
|
|
4810
|
+
let f = new URL(`${A}/v1/casino/jackpots/config`);
|
|
4811
4811
|
fetch(f.href).then((H) => H.json()).then((H) => {
|
|
4812
|
-
r(
|
|
4812
|
+
r(34, fe = H.egtJackpotIds.map((U) => U));
|
|
4813
4813
|
});
|
|
4814
|
-
},
|
|
4815
|
-
r(
|
|
4816
|
-
},
|
|
4814
|
+
}, ae = () => {
|
|
4815
|
+
r(7, ye = Co(Re) && window.innerHeight / window.innerWidth > 1), r(8, Y = Se()), he.length !== 0 && (r(10, ve = te(he)), ve.reverse()), r(11, _e = c ? c.split(",").map((f) => f.trim().toUpperCase()) : new Array(4).fill("")), K.includes(i.trim()) ? r(0, i = i.trim()) : (console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${K[0]}"`), r(0, i = K[0])), r(13, ne = g && ye && !Y ? g : p), r(14, ie = x), r(12, ee = [s, a, l, u]);
|
|
4816
|
+
}, ue = (f) => Intl.NumberFormat(J, {
|
|
4817
4817
|
minimumFractionDigits: 2,
|
|
4818
4818
|
maximumFractionDigits: 2,
|
|
4819
4819
|
style: "currency",
|
|
4820
4820
|
currency: h
|
|
4821
|
-
}).format(f).replace(/\s/g, ""),
|
|
4821
|
+
}).format(f).replace(/\s/g, ""), te = (f) => J ? f.map((H) => ue(H)) : f.map((H) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(H)), Se = () => {
|
|
4822
4822
|
const f = window.innerHeight / window.innerWidth;
|
|
4823
4823
|
return 0.75 < f && f < 1.6;
|
|
4824
|
-
},
|
|
4825
|
-
window.postMessage({ type: "JackpotBannerClicked", gameid:
|
|
4824
|
+
}, ke = () => {
|
|
4825
|
+
window.postMessage({ type: "JackpotBannerClicked", gameid: M }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
|
|
4826
4826
|
context: "JackpotBanner",
|
|
4827
|
-
gameId: `${
|
|
4827
|
+
gameId: `${M}`
|
|
4828
4828
|
});
|
|
4829
|
-
},
|
|
4830
|
-
Ro(
|
|
4831
|
-
},
|
|
4829
|
+
}, Te = () => {
|
|
4830
|
+
Ro(y);
|
|
4831
|
+
}, be = (f) => {
|
|
4832
4832
|
const H = JSON.parse(f.data);
|
|
4833
|
-
if (H.success && H.data.messageType === "UpdateEgtJackpotBalance" && H.data.jackpotAlias.split("_")[0] ===
|
|
4834
|
-
const
|
|
4833
|
+
if (H.success && H.data.messageType === "UpdateEgtJackpotBalance" && H.data.jackpotAlias.split("_")[0] === M) {
|
|
4834
|
+
const U = Number(H.data.jackpotAlias.split("_")[1]) - 1;
|
|
4835
4835
|
r(
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4836
|
+
6,
|
|
4837
|
+
se[U] = J ? ue(H.data.data[`${h}`].balance) : H.data.data[`${h}`].balance.toString(),
|
|
4838
|
+
se
|
|
4839
4839
|
);
|
|
4840
4840
|
}
|
|
4841
|
-
},
|
|
4842
|
-
|
|
4841
|
+
}, je = () => {
|
|
4842
|
+
F === "true" && (ae(), r(6, se = ["", "", "", ""]), q = new EventSource(`${A}/v1/encoder/jackpot/*/update`), q.addEventListener("message", be));
|
|
4843
4843
|
};
|
|
4844
4844
|
mn(() => () => {
|
|
4845
4845
|
}), bn(() => {
|
|
4846
|
-
|
|
4846
|
+
q && (q.removeEventListener("message", be), q.close(), q = null);
|
|
4847
4847
|
});
|
|
4848
|
-
const
|
|
4849
|
-
function
|
|
4848
|
+
const qe = () => ke();
|
|
4849
|
+
function le(f) {
|
|
4850
4850
|
Tt[f ? "unshift" : "push"](() => {
|
|
4851
4851
|
N = f, r(4, N);
|
|
4852
4852
|
});
|
|
4853
4853
|
}
|
|
4854
4854
|
return e.$$set = (f) => {
|
|
4855
|
-
"visualstructure" in f && r(0,
|
|
4855
|
+
"visualstructure" in f && r(0, i = f.visualstructure), "title" in f && r(18, o = f.title), "caticon0" in f && r(19, s = f.caticon0), "caticon1" in f && r(20, a = f.caticon1), "caticon2" in f && r(21, l = f.caticon2), "caticon3" in f && r(22, u = f.caticon3), "iconlabels" in f && r(23, c = f.iconlabels), "backgroundsrc" in f && r(24, p = f.backgroundsrc), "currency" in f && r(1, h = f.currency), "backgroundsrcmobile" in f && r(25, g = f.backgroundsrcmobile), "titlelogopath" in f && r(26, x = f.titlelogopath), "lang" in f && r(27, y = f.lang), "clientstyling" in f && r(28, v = f.clientstyling), "clientstylingurl" in f && r(29, m = f.clientstylingurl), "translationurl" in f && r(30, T = f.translationurl), "endpoint" in f && r(31, A = f.endpoint), "gameid" in f && r(32, M = f.gameid), "mbsource" in f && r(33, k = f.mbsource), "realtimeupdate" in f && r(2, F = f.realtimeupdate), "currencylocale" in f && r(3, J = f.currencylocale);
|
|
4856
4856
|
}, e.$$.update = () => {
|
|
4857
|
-
e.$$.dirty[
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4857
|
+
e.$$.dirty[1] & /*endpoint*/
|
|
4858
|
+
1 && A && Ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4859
|
+
268435472 && v && N && Io(N, v), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4860
|
+
536870928 && m && N && No(N, m), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4861
4861
|
16 | e.$$.dirty[1] & /*mbsource*/
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
4 &&
|
|
4862
|
+
4 && k && N && Mo(N, `${k}.Style`), e.$$.dirty[0] & /*lang, currency*/
|
|
4863
|
+
134217730 | e.$$.dirty[1] & /*endpoint, validGameIds*/
|
|
4864
|
+
9 && A && y && h && fe.length > 0 && De(), e.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
4865
|
+
134217762 && h && y && !oe && ae(), e.$$.dirty[0] & /*lang*/
|
|
4866
|
+
134217728 && y && Te(), e.$$.dirty[0] & /*translationurl*/
|
|
4867
|
+
1073741824 && T && Ze(), e.$$.dirty[0] & /*realtimeupdate*/
|
|
4868
|
+
4 && F && je(), e.$$.dirty[0] & /*updatedJackpotValues*/
|
|
4869
|
+
64 && r(16, n = [...se].reverse());
|
|
4869
4870
|
}, [
|
|
4870
|
-
|
|
4871
|
+
i,
|
|
4871
4872
|
h,
|
|
4872
|
-
|
|
4873
|
-
j,
|
|
4874
|
-
N,
|
|
4873
|
+
F,
|
|
4875
4874
|
J,
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4875
|
+
N,
|
|
4876
|
+
oe,
|
|
4877
|
+
se,
|
|
4879
4878
|
ye,
|
|
4880
|
-
|
|
4879
|
+
Y,
|
|
4880
|
+
me,
|
|
4881
4881
|
ve,
|
|
4882
|
-
|
|
4882
|
+
_e,
|
|
4883
|
+
ee,
|
|
4884
|
+
ne,
|
|
4883
4885
|
ie,
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
i,
|
|
4886
|
+
Ue,
|
|
4887
|
+
n,
|
|
4888
|
+
ke,
|
|
4888
4889
|
o,
|
|
4889
4890
|
s,
|
|
4890
4891
|
a,
|
|
@@ -4893,16 +4894,17 @@ function Vo(e, t, r) {
|
|
|
4893
4894
|
c,
|
|
4894
4895
|
p,
|
|
4895
4896
|
g,
|
|
4896
|
-
|
|
4897
|
-
_,
|
|
4897
|
+
x,
|
|
4898
4898
|
y,
|
|
4899
|
+
v,
|
|
4899
4900
|
m,
|
|
4900
|
-
|
|
4901
|
+
T,
|
|
4901
4902
|
A,
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4903
|
+
M,
|
|
4904
|
+
k,
|
|
4905
|
+
fe,
|
|
4906
|
+
qe,
|
|
4907
|
+
le
|
|
4906
4908
|
];
|
|
4907
4909
|
}
|
|
4908
4910
|
class Wo extends Bn {
|
|
@@ -4915,23 +4917,23 @@ class Wo extends Bn {
|
|
|
4915
4917
|
wr,
|
|
4916
4918
|
{
|
|
4917
4919
|
visualstructure: 0,
|
|
4918
|
-
title:
|
|
4919
|
-
caticon0:
|
|
4920
|
-
caticon1:
|
|
4921
|
-
caticon2:
|
|
4922
|
-
caticon3:
|
|
4923
|
-
iconlabels:
|
|
4924
|
-
backgroundsrc:
|
|
4920
|
+
title: 18,
|
|
4921
|
+
caticon0: 19,
|
|
4922
|
+
caticon1: 20,
|
|
4923
|
+
caticon2: 21,
|
|
4924
|
+
caticon3: 22,
|
|
4925
|
+
iconlabels: 23,
|
|
4926
|
+
backgroundsrc: 24,
|
|
4925
4927
|
currency: 1,
|
|
4926
|
-
backgroundsrcmobile:
|
|
4927
|
-
titlelogopath:
|
|
4928
|
-
lang:
|
|
4929
|
-
clientstyling:
|
|
4930
|
-
clientstylingurl:
|
|
4931
|
-
translationurl:
|
|
4932
|
-
endpoint:
|
|
4933
|
-
gameid:
|
|
4934
|
-
mbsource:
|
|
4928
|
+
backgroundsrcmobile: 25,
|
|
4929
|
+
titlelogopath: 26,
|
|
4930
|
+
lang: 27,
|
|
4931
|
+
clientstyling: 28,
|
|
4932
|
+
clientstylingurl: 29,
|
|
4933
|
+
translationurl: 30,
|
|
4934
|
+
endpoint: 31,
|
|
4935
|
+
gameid: 32,
|
|
4936
|
+
mbsource: 33,
|
|
4935
4937
|
realtimeupdate: 2,
|
|
4936
4938
|
currencylocale: 3
|
|
4937
4939
|
},
|
|
@@ -4946,43 +4948,43 @@ class Wo extends Bn {
|
|
|
4946
4948
|
this.$$set({ visualstructure: t }), O();
|
|
4947
4949
|
}
|
|
4948
4950
|
get title() {
|
|
4949
|
-
return this.$$.ctx[
|
|
4951
|
+
return this.$$.ctx[18];
|
|
4950
4952
|
}
|
|
4951
4953
|
set title(t) {
|
|
4952
4954
|
this.$$set({ title: t }), O();
|
|
4953
4955
|
}
|
|
4954
4956
|
get caticon0() {
|
|
4955
|
-
return this.$$.ctx[
|
|
4957
|
+
return this.$$.ctx[19];
|
|
4956
4958
|
}
|
|
4957
4959
|
set caticon0(t) {
|
|
4958
4960
|
this.$$set({ caticon0: t }), O();
|
|
4959
4961
|
}
|
|
4960
4962
|
get caticon1() {
|
|
4961
|
-
return this.$$.ctx[
|
|
4963
|
+
return this.$$.ctx[20];
|
|
4962
4964
|
}
|
|
4963
4965
|
set caticon1(t) {
|
|
4964
4966
|
this.$$set({ caticon1: t }), O();
|
|
4965
4967
|
}
|
|
4966
4968
|
get caticon2() {
|
|
4967
|
-
return this.$$.ctx[
|
|
4969
|
+
return this.$$.ctx[21];
|
|
4968
4970
|
}
|
|
4969
4971
|
set caticon2(t) {
|
|
4970
4972
|
this.$$set({ caticon2: t }), O();
|
|
4971
4973
|
}
|
|
4972
4974
|
get caticon3() {
|
|
4973
|
-
return this.$$.ctx[
|
|
4975
|
+
return this.$$.ctx[22];
|
|
4974
4976
|
}
|
|
4975
4977
|
set caticon3(t) {
|
|
4976
4978
|
this.$$set({ caticon3: t }), O();
|
|
4977
4979
|
}
|
|
4978
4980
|
get iconlabels() {
|
|
4979
|
-
return this.$$.ctx[
|
|
4981
|
+
return this.$$.ctx[23];
|
|
4980
4982
|
}
|
|
4981
4983
|
set iconlabels(t) {
|
|
4982
4984
|
this.$$set({ iconlabels: t }), O();
|
|
4983
4985
|
}
|
|
4984
4986
|
get backgroundsrc() {
|
|
4985
|
-
return this.$$.ctx[
|
|
4987
|
+
return this.$$.ctx[24];
|
|
4986
4988
|
}
|
|
4987
4989
|
set backgroundsrc(t) {
|
|
4988
4990
|
this.$$set({ backgroundsrc: t }), O();
|
|
@@ -4994,55 +4996,55 @@ class Wo extends Bn {
|
|
|
4994
4996
|
this.$$set({ currency: t }), O();
|
|
4995
4997
|
}
|
|
4996
4998
|
get backgroundsrcmobile() {
|
|
4997
|
-
return this.$$.ctx[
|
|
4999
|
+
return this.$$.ctx[25];
|
|
4998
5000
|
}
|
|
4999
5001
|
set backgroundsrcmobile(t) {
|
|
5000
5002
|
this.$$set({ backgroundsrcmobile: t }), O();
|
|
5001
5003
|
}
|
|
5002
5004
|
get titlelogopath() {
|
|
5003
|
-
return this.$$.ctx[
|
|
5005
|
+
return this.$$.ctx[26];
|
|
5004
5006
|
}
|
|
5005
5007
|
set titlelogopath(t) {
|
|
5006
5008
|
this.$$set({ titlelogopath: t }), O();
|
|
5007
5009
|
}
|
|
5008
5010
|
get lang() {
|
|
5009
|
-
return this.$$.ctx[
|
|
5011
|
+
return this.$$.ctx[27];
|
|
5010
5012
|
}
|
|
5011
5013
|
set lang(t) {
|
|
5012
5014
|
this.$$set({ lang: t }), O();
|
|
5013
5015
|
}
|
|
5014
5016
|
get clientstyling() {
|
|
5015
|
-
return this.$$.ctx[
|
|
5017
|
+
return this.$$.ctx[28];
|
|
5016
5018
|
}
|
|
5017
5019
|
set clientstyling(t) {
|
|
5018
5020
|
this.$$set({ clientstyling: t }), O();
|
|
5019
5021
|
}
|
|
5020
5022
|
get clientstylingurl() {
|
|
5021
|
-
return this.$$.ctx[
|
|
5023
|
+
return this.$$.ctx[29];
|
|
5022
5024
|
}
|
|
5023
5025
|
set clientstylingurl(t) {
|
|
5024
5026
|
this.$$set({ clientstylingurl: t }), O();
|
|
5025
5027
|
}
|
|
5026
5028
|
get translationurl() {
|
|
5027
|
-
return this.$$.ctx[
|
|
5029
|
+
return this.$$.ctx[30];
|
|
5028
5030
|
}
|
|
5029
5031
|
set translationurl(t) {
|
|
5030
5032
|
this.$$set({ translationurl: t }), O();
|
|
5031
5033
|
}
|
|
5032
5034
|
get endpoint() {
|
|
5033
|
-
return this.$$.ctx[
|
|
5035
|
+
return this.$$.ctx[31];
|
|
5034
5036
|
}
|
|
5035
5037
|
set endpoint(t) {
|
|
5036
5038
|
this.$$set({ endpoint: t }), O();
|
|
5037
5039
|
}
|
|
5038
5040
|
get gameid() {
|
|
5039
|
-
return this.$$.ctx[
|
|
5041
|
+
return this.$$.ctx[32];
|
|
5040
5042
|
}
|
|
5041
5043
|
set gameid(t) {
|
|
5042
5044
|
this.$$set({ gameid: t }), O();
|
|
5043
5045
|
}
|
|
5044
5046
|
get mbsource() {
|
|
5045
|
-
return this.$$.ctx[
|
|
5047
|
+
return this.$$.ctx[33];
|
|
5046
5048
|
}
|
|
5047
5049
|
set mbsource(t) {
|
|
5048
5050
|
this.$$set({ mbsource: t }), O();
|