@everymatrix/mini-games-hub 0.2.4 → 0.2.6
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/{GameCard-CYdVVTcL.js → GameCard-B3YKo9k6.js} +30 -30
- package/components/{GameCard-QmoS59XQ.js → GameCard-BQ6hFy67.js} +30 -30
- package/components/{GameCard-8BFvabU5.cjs → GameCard-C-zSlvo1.cjs} +3 -3
- package/components/GameCard-vgoswSWl.cjs +3 -0
- package/components/{MiniGamesHub-C9am57eJ.js → MiniGamesHub-C0q9vZFD.js} +287 -736
- package/components/MiniGamesHub-CfiDjCz7.cjs +16 -0
- package/components/{MiniGamesHub-DyGuSoR2.js → MiniGamesHub-D5Y5OYt-.js} +267 -756
- package/components/MiniGamesHub-DYwmUNTy.cjs +16 -0
- package/components/WheelOfFortune-2WKhJAdZ.cjs +617 -0
- package/components/{WheelOfFortune-RHE9xBAC.cjs → WheelOfFortune-BJ9iMr53.cjs} +1 -1
- package/components/{WheelOfFortune-kaN0fwVR.js → WheelOfFortune-DC57_QGF.js} +5 -5
- package/components/{WheelOfFortune-ZxcSVMfw.js → WheelOfFortune-u6v6YLc5.js} +5 -5
- package/components/WheelOfFortuneDrawResults-BKkTmsVC.cjs +1 -0
- package/components/{WheelOfFortuneDrawResults-N4gTWA1Q.js → WheelOfFortuneDrawResults-D3rgrYi_.js} +2 -2
- package/components/{WheelOfFortuneDrawResults-DWNjltAi.cjs → WheelOfFortuneDrawResults-DTufAeXD.cjs} +1 -1
- package/components/{WheelOfFortuneDrawResults-BkeJ179O.js → WheelOfFortuneDrawResults-gx2xkUtF.js} +2 -2
- package/components/WheelOfFortuneHistory-B-Yadw5p.js +213 -0
- package/components/{WheelOfFortuneHistory-ClStJRIB.cjs → WheelOfFortuneHistory-DdXxYW6M.cjs} +5 -6
- package/components/WheelOfFortuneHistory-DhFZUmGd.cjs +12 -0
- package/components/{WheelOfFortuneHistory-D1EcBSTP.js → WheelOfFortuneHistory-IM5H-der.js} +77 -78
- package/components/WheelOfFortuneRules-BM75DT61.js +107 -0
- package/components/WheelOfFortuneRules-D-xnWFIU.cjs +3 -0
- package/components/WheelOfFortuneRules-DkQOlpqR.js +118 -0
- package/components/WheelOfFortuneRules-_a2c-LEy.cjs +3 -0
- package/components/WheelOfFortuneWheel-CUs0nOjA.cjs +3 -0
- package/components/{WheelOfFortuneWheel-C7SxKPAD.cjs → WheelOfFortuneWheel-D9nXwM0H.cjs} +1 -1
- package/components/{WheelOfFortuneWheel-COOZH6--.js → WheelOfFortuneWheel-D_tfW-rK.js} +1 -1
- package/components/{WheelOfFortuneWheel-D8QRG4xb.js → WheelOfFortuneWheel-DmTRvIN6.js} +1 -1
- package/components/sparkles-DplvhrIm.cjs +1 -0
- package/components/spin-controller-HS3m99tB.cjs +1 -0
- package/components/{utils-wnIzjZal.js → utils-B86dsoC-.js} +22 -21
- package/components/{utils-d6rcfAwp.js → utils-BtFS7k_l.js} +22 -21
- package/components/utils-By_D2O28.cjs +3 -0
- package/components/{utils-BAUifQls.cjs → utils-CSIl6eA7.cjs} +1 -1
- package/es2015/mini-games-hub.cjs +1 -1
- package/es2015/mini-games-hub.js +1 -1
- package/esnext/mini-games-hub.cjs +1 -0
- package/esnext/mini-games-hub.js +1 -1
- package/package.json +12 -11
- package/components/MiniGamesHub-ym_blJPQ.cjs +0 -94
- package/components/WheelOfFortuneHistory-BuSnWEtS.js +0 -214
- package/components/WheelOfFortuneRules-C6rN9zFn.cjs +0 -5
- package/components/WheelOfFortuneRules-DmdPkzHe.js +0 -109
- package/components/WheelOfFortuneRules-L9sAOXJI.js +0 -120
|
@@ -1,24 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
i(h);
|
|
7
|
-
}
|
|
8
|
-
}, a = (u) => {
|
|
9
|
-
try {
|
|
10
|
-
l(e.throw(u));
|
|
11
|
-
} catch (h) {
|
|
12
|
-
i(h);
|
|
13
|
-
}
|
|
14
|
-
}, l = (u) => u.done ? t(u.value) : Promise.resolve(u.value).then(o, a);
|
|
15
|
-
l((e = e.apply(n, r)).next());
|
|
16
|
-
});
|
|
17
|
-
import { bl as Ye, ad as Ke, b1 as q, aQ as Ze, a9 as Xe, aU as S, a5 as Qe, L as g, aJ as p, bm as $e, b6 as K, b2 as pe, ba as B, b9 as Z, b3 as he, ar as ge, bb as fe, b4 as er } from "./utils-d6rcfAwp.js";
|
|
18
|
-
import { a as rr, p as T, x as nr, y as me, z as ve, o as tr, i as be, b as W, e as ir, f as G, c as or, k as ar, g as sr, h as lr, j as X, s as ur } from "./WheelOfFortuneWheel-D8QRG4xb.js";
|
|
19
|
-
import { W as ye } from "./WheelOfFortune-kaN0fwVR.js";
|
|
20
|
-
import { G as dr } from "./GameCard-CYdVVTcL.js";
|
|
21
|
-
const we = {
|
|
1
|
+
import { c as te, a as De, p as o, x as Ae, y as K, z as Y, o as je, i as Z, b as j, f as M, e as xe, k as Pe, g as We, h as Re, j as _, s as Ce } from "./WheelOfFortuneWheel-D_tfW-rK.js";
|
|
2
|
+
import { a5 as ie, bl as R, bm as Me, ad as Ne, b1 as S, aQ as Be, a9 as ae, aU as s, b6 as V, L as l, b9 as C, aJ as a, bn as Ge, b2 as X, bf as F, b5 as Q, ar as $, bb as ee, b3 as Le } from "./utils-B86dsoC-.js";
|
|
3
|
+
import { W as ne } from "./WheelOfFortune-u6v6YLc5.js";
|
|
4
|
+
import { G as qe } from "./GameCard-BQ6hFy67.js";
|
|
5
|
+
const re = {
|
|
22
6
|
en: {
|
|
23
7
|
noContent: "You don't have any lottery programs available now.",
|
|
24
8
|
hubTitle: "Prize Hub",
|
|
@@ -536,848 +520,375 @@ const we = {
|
|
|
536
520
|
}
|
|
537
521
|
}
|
|
538
522
|
};
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
550
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
551
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
552
|
-
***************************************************************************** */
|
|
553
|
-
var $ = function(n, r) {
|
|
554
|
-
return $ = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
555
|
-
e.__proto__ = t;
|
|
556
|
-
} || function(e, t) {
|
|
557
|
-
for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
558
|
-
}, $(n, r);
|
|
559
|
-
};
|
|
560
|
-
function C(n, r) {
|
|
561
|
-
if (typeof r != "function" && r !== null)
|
|
562
|
-
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
563
|
-
$(n, r);
|
|
564
|
-
function e() {
|
|
565
|
-
this.constructor = n;
|
|
566
|
-
}
|
|
567
|
-
n.prototype = r === null ? Object.create(r) : (e.prototype = r.prototype, new e());
|
|
568
|
-
}
|
|
569
|
-
function ee(n) {
|
|
570
|
-
var r = typeof Symbol == "function" && Symbol.iterator, e = r && n[r], t = 0;
|
|
571
|
-
if (e) return e.call(n);
|
|
572
|
-
if (n && typeof n.length == "number") return {
|
|
573
|
-
next: function() {
|
|
574
|
-
return n && t >= n.length && (n = void 0), { value: n && n[t++], done: !n };
|
|
575
|
-
}
|
|
576
|
-
};
|
|
577
|
-
throw new TypeError(r ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
578
|
-
}
|
|
579
|
-
function re(n, r) {
|
|
580
|
-
var e = typeof Symbol == "function" && n[Symbol.iterator];
|
|
581
|
-
if (!e) return n;
|
|
582
|
-
var t = e.call(n), i, o = [], a;
|
|
583
|
-
try {
|
|
584
|
-
for (; (r === void 0 || r-- > 0) && !(i = t.next()).done; ) o.push(i.value);
|
|
585
|
-
} catch (l) {
|
|
586
|
-
a = { error: l };
|
|
587
|
-
} finally {
|
|
588
|
-
try {
|
|
589
|
-
i && !i.done && (e = t.return) && e.call(t);
|
|
590
|
-
} finally {
|
|
591
|
-
if (a) throw a.error;
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
return o;
|
|
595
|
-
}
|
|
596
|
-
function ne(n, r, e) {
|
|
597
|
-
if (arguments.length === 2) for (var t = 0, i = r.length, o; t < i; t++)
|
|
598
|
-
(o || !(t in r)) && (o || (o = Array.prototype.slice.call(r, 0, t)), o[t] = r[t]);
|
|
599
|
-
return n.concat(o || r);
|
|
600
|
-
}
|
|
601
|
-
function z(n) {
|
|
602
|
-
return typeof n == "function";
|
|
603
|
-
}
|
|
604
|
-
function Pe(n) {
|
|
605
|
-
var r = function(t) {
|
|
606
|
-
Error.call(t), t.stack = new Error().stack;
|
|
607
|
-
}, e = n(r);
|
|
608
|
-
return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
|
|
609
|
-
}
|
|
610
|
-
var Q = Pe(function(n) {
|
|
611
|
-
return function(e) {
|
|
612
|
-
n(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
|
613
|
-
` + e.map(function(t, i) {
|
|
614
|
-
return i + 1 + ") " + t.toString();
|
|
615
|
-
}).join(`
|
|
616
|
-
`) : "", this.name = "UnsubscriptionError", this.errors = e;
|
|
617
|
-
};
|
|
618
|
-
});
|
|
619
|
-
function te(n, r) {
|
|
620
|
-
if (n) {
|
|
621
|
-
var e = n.indexOf(r);
|
|
622
|
-
0 <= e && n.splice(e, 1);
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
var L = function() {
|
|
626
|
-
function n(r) {
|
|
627
|
-
this.initialTeardown = r, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
628
|
-
}
|
|
629
|
-
return n.prototype.unsubscribe = function() {
|
|
630
|
-
var r, e, t, i, o;
|
|
631
|
-
if (!this.closed) {
|
|
632
|
-
this.closed = !0;
|
|
633
|
-
var a = this._parentage;
|
|
634
|
-
if (a)
|
|
635
|
-
if (this._parentage = null, Array.isArray(a))
|
|
636
|
-
try {
|
|
637
|
-
for (var l = ee(a), u = l.next(); !u.done; u = l.next()) {
|
|
638
|
-
var h = u.value;
|
|
639
|
-
h.remove(this);
|
|
640
|
-
}
|
|
641
|
-
} catch (m) {
|
|
642
|
-
r = { error: m };
|
|
643
|
-
} finally {
|
|
644
|
-
try {
|
|
645
|
-
u && !u.done && (e = l.return) && e.call(l);
|
|
646
|
-
} finally {
|
|
647
|
-
if (r) throw r.error;
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
else
|
|
651
|
-
a.remove(this);
|
|
652
|
-
var v = this.initialTeardown;
|
|
653
|
-
if (z(v))
|
|
654
|
-
try {
|
|
655
|
-
v();
|
|
656
|
-
} catch (m) {
|
|
657
|
-
o = m instanceof Q ? m.errors : [m];
|
|
658
|
-
}
|
|
659
|
-
var j = this._finalizers;
|
|
660
|
-
if (j) {
|
|
661
|
-
this._finalizers = null;
|
|
662
|
-
try {
|
|
663
|
-
for (var x = ee(j), k = x.next(); !k.done; k = x.next()) {
|
|
664
|
-
var F = k.value;
|
|
665
|
-
try {
|
|
666
|
-
ke(F);
|
|
667
|
-
} catch (m) {
|
|
668
|
-
o = o != null ? o : [], m instanceof Q ? o = ne(ne([], re(o)), re(m.errors)) : o.push(m);
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
|
-
} catch (m) {
|
|
672
|
-
t = { error: m };
|
|
673
|
-
} finally {
|
|
674
|
-
try {
|
|
675
|
-
k && !k.done && (i = x.return) && i.call(x);
|
|
676
|
-
} finally {
|
|
677
|
-
if (t) throw t.error;
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
if (o)
|
|
682
|
-
throw new Q(o);
|
|
683
|
-
}
|
|
684
|
-
}, n.prototype.add = function(r) {
|
|
685
|
-
var e;
|
|
686
|
-
if (r && r !== this)
|
|
687
|
-
if (this.closed)
|
|
688
|
-
ke(r);
|
|
689
|
-
else {
|
|
690
|
-
if (r instanceof n) {
|
|
691
|
-
if (r.closed || r._hasParent(this))
|
|
692
|
-
return;
|
|
693
|
-
r._addParent(this);
|
|
694
|
-
}
|
|
695
|
-
(this._finalizers = (e = this._finalizers) !== null && e !== void 0 ? e : []).push(r);
|
|
696
|
-
}
|
|
697
|
-
}, n.prototype._hasParent = function(r) {
|
|
698
|
-
var e = this._parentage;
|
|
699
|
-
return e === r || Array.isArray(e) && e.includes(r);
|
|
700
|
-
}, n.prototype._addParent = function(r) {
|
|
701
|
-
var e = this._parentage;
|
|
702
|
-
this._parentage = Array.isArray(e) ? (e.push(r), e) : e ? [e, r] : r;
|
|
703
|
-
}, n.prototype._removeParent = function(r) {
|
|
704
|
-
var e = this._parentage;
|
|
705
|
-
e === r ? this._parentage = null : Array.isArray(e) && te(e, r);
|
|
706
|
-
}, n.prototype.remove = function(r) {
|
|
707
|
-
var e = this._finalizers;
|
|
708
|
-
e && te(e, r), r instanceof n && r._removeParent(this);
|
|
709
|
-
}, n.EMPTY = function() {
|
|
710
|
-
var r = new n();
|
|
711
|
-
return r.closed = !0, r;
|
|
712
|
-
}(), n;
|
|
713
|
-
}(), De = L.EMPTY;
|
|
714
|
-
function Ae(n) {
|
|
715
|
-
return n instanceof L || n && "closed" in n && z(n.remove) && z(n.add) && z(n.unsubscribe);
|
|
716
|
-
}
|
|
717
|
-
function ke(n) {
|
|
718
|
-
z(n) ? n() : n.unsubscribe();
|
|
719
|
-
}
|
|
720
|
-
var cr = {
|
|
721
|
-
Promise: void 0
|
|
722
|
-
}, pr = {
|
|
723
|
-
setTimeout: function(n, r) {
|
|
724
|
-
for (var e = [], t = 2; t < arguments.length; t++)
|
|
725
|
-
e[t - 2] = arguments[t];
|
|
726
|
-
return setTimeout.apply(void 0, ne([n, r], re(e)));
|
|
727
|
-
},
|
|
728
|
-
clearTimeout: function(n) {
|
|
729
|
-
return clearTimeout(n);
|
|
730
|
-
},
|
|
731
|
-
delegate: void 0
|
|
732
|
-
};
|
|
733
|
-
function hr(n) {
|
|
734
|
-
pr.setTimeout(function() {
|
|
735
|
-
throw n;
|
|
736
|
-
});
|
|
737
|
-
}
|
|
738
|
-
function Se() {
|
|
739
|
-
}
|
|
740
|
-
function N(n) {
|
|
741
|
-
n();
|
|
742
|
-
}
|
|
743
|
-
var qe = function(n) {
|
|
744
|
-
C(r, n);
|
|
745
|
-
function r(e) {
|
|
746
|
-
var t = n.call(this) || this;
|
|
747
|
-
return t.isStopped = !1, e ? (t.destination = e, Ae(e) && e.add(t)) : t.destination = mr, t;
|
|
748
|
-
}
|
|
749
|
-
return r.create = function(e, t, i) {
|
|
750
|
-
return new ie(e, t, i);
|
|
751
|
-
}, r.prototype.next = function(e) {
|
|
752
|
-
this.isStopped || this._next(e);
|
|
753
|
-
}, r.prototype.error = function(e) {
|
|
754
|
-
this.isStopped || (this.isStopped = !0, this._error(e));
|
|
755
|
-
}, r.prototype.complete = function() {
|
|
756
|
-
this.isStopped || (this.isStopped = !0, this._complete());
|
|
757
|
-
}, r.prototype.unsubscribe = function() {
|
|
758
|
-
this.closed || (this.isStopped = !0, n.prototype.unsubscribe.call(this), this.destination = null);
|
|
759
|
-
}, r.prototype._next = function(e) {
|
|
760
|
-
this.destination.next(e);
|
|
761
|
-
}, r.prototype._error = function(e) {
|
|
762
|
-
try {
|
|
763
|
-
this.destination.error(e);
|
|
764
|
-
} finally {
|
|
765
|
-
this.unsubscribe();
|
|
766
|
-
}
|
|
767
|
-
}, r.prototype._complete = function() {
|
|
768
|
-
try {
|
|
769
|
-
this.destination.complete();
|
|
770
|
-
} finally {
|
|
771
|
-
this.unsubscribe();
|
|
772
|
-
}
|
|
773
|
-
}, r;
|
|
774
|
-
}(L), gr = function() {
|
|
775
|
-
function n(r) {
|
|
776
|
-
this.partialObserver = r;
|
|
777
|
-
}
|
|
778
|
-
return n.prototype.next = function(r) {
|
|
779
|
-
var e = this.partialObserver;
|
|
780
|
-
if (e.next)
|
|
781
|
-
try {
|
|
782
|
-
e.next(r);
|
|
783
|
-
} catch (t) {
|
|
784
|
-
M(t);
|
|
785
|
-
}
|
|
786
|
-
}, n.prototype.error = function(r) {
|
|
787
|
-
var e = this.partialObserver;
|
|
788
|
-
if (e.error)
|
|
789
|
-
try {
|
|
790
|
-
e.error(r);
|
|
791
|
-
} catch (t) {
|
|
792
|
-
M(t);
|
|
793
|
-
}
|
|
794
|
-
else
|
|
795
|
-
M(r);
|
|
796
|
-
}, n.prototype.complete = function() {
|
|
797
|
-
var r = this.partialObserver;
|
|
798
|
-
if (r.complete)
|
|
799
|
-
try {
|
|
800
|
-
r.complete();
|
|
801
|
-
} catch (e) {
|
|
802
|
-
M(e);
|
|
803
|
-
}
|
|
804
|
-
}, n;
|
|
805
|
-
}(), ie = function(n) {
|
|
806
|
-
C(r, n);
|
|
807
|
-
function r(e, t, i) {
|
|
808
|
-
var o = n.call(this) || this, a;
|
|
809
|
-
return z(e) || !e ? a = {
|
|
810
|
-
next: e != null ? e : void 0,
|
|
811
|
-
error: t != null ? t : void 0,
|
|
812
|
-
complete: i != null ? i : void 0
|
|
813
|
-
} : a = e, o.destination = new gr(a), o;
|
|
814
|
-
}
|
|
815
|
-
return r;
|
|
816
|
-
}(qe);
|
|
817
|
-
function M(n) {
|
|
818
|
-
hr(n);
|
|
819
|
-
}
|
|
820
|
-
function fr(n) {
|
|
821
|
-
throw n;
|
|
822
|
-
}
|
|
823
|
-
var mr = {
|
|
824
|
-
closed: !0,
|
|
825
|
-
next: Se,
|
|
826
|
-
error: fr,
|
|
827
|
-
complete: Se
|
|
828
|
-
}, vr = function() {
|
|
829
|
-
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
830
|
-
}();
|
|
831
|
-
function br(n) {
|
|
832
|
-
return n;
|
|
833
|
-
}
|
|
834
|
-
function yr(n) {
|
|
835
|
-
return n.length === 0 ? br : n.length === 1 ? n[0] : function(e) {
|
|
836
|
-
return n.reduce(function(t, i) {
|
|
837
|
-
return i(t);
|
|
838
|
-
}, e);
|
|
839
|
-
};
|
|
840
|
-
}
|
|
841
|
-
var Te = function() {
|
|
842
|
-
function n(r) {
|
|
843
|
-
r && (this._subscribe = r);
|
|
844
|
-
}
|
|
845
|
-
return n.prototype.lift = function(r) {
|
|
846
|
-
var e = new n();
|
|
847
|
-
return e.source = this, e.operator = r, e;
|
|
848
|
-
}, n.prototype.subscribe = function(r, e, t) {
|
|
849
|
-
var i = this, o = kr(r) ? r : new ie(r, e, t);
|
|
850
|
-
return N(function() {
|
|
851
|
-
var a = i, l = a.operator, u = a.source;
|
|
852
|
-
o.add(l ? l.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
853
|
-
}), o;
|
|
854
|
-
}, n.prototype._trySubscribe = function(r) {
|
|
855
|
-
try {
|
|
856
|
-
return this._subscribe(r);
|
|
857
|
-
} catch (e) {
|
|
858
|
-
r.error(e);
|
|
859
|
-
}
|
|
860
|
-
}, n.prototype.forEach = function(r, e) {
|
|
861
|
-
var t = this;
|
|
862
|
-
return e = ze(e), new e(function(i, o) {
|
|
863
|
-
var a = new ie({
|
|
864
|
-
next: function(l) {
|
|
865
|
-
try {
|
|
866
|
-
r(l);
|
|
867
|
-
} catch (u) {
|
|
868
|
-
o(u), a.unsubscribe();
|
|
869
|
-
}
|
|
870
|
-
},
|
|
871
|
-
error: o,
|
|
872
|
-
complete: i
|
|
873
|
-
});
|
|
874
|
-
t.subscribe(a);
|
|
875
|
-
});
|
|
876
|
-
}, n.prototype._subscribe = function(r) {
|
|
877
|
-
var e;
|
|
878
|
-
return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(r);
|
|
879
|
-
}, n.prototype[vr] = function() {
|
|
880
|
-
return this;
|
|
881
|
-
}, n.prototype.pipe = function() {
|
|
882
|
-
for (var r = [], e = 0; e < arguments.length; e++)
|
|
883
|
-
r[e] = arguments[e];
|
|
884
|
-
return yr(r)(this);
|
|
885
|
-
}, n.prototype.toPromise = function(r) {
|
|
886
|
-
var e = this;
|
|
887
|
-
return r = ze(r), new r(function(t, i) {
|
|
888
|
-
var o;
|
|
889
|
-
e.subscribe(function(a) {
|
|
890
|
-
return o = a;
|
|
891
|
-
}, function(a) {
|
|
892
|
-
return i(a);
|
|
893
|
-
}, function() {
|
|
894
|
-
return t(o);
|
|
895
|
-
});
|
|
896
|
-
});
|
|
897
|
-
}, n.create = function(r) {
|
|
898
|
-
return new n(r);
|
|
899
|
-
}, n;
|
|
900
|
-
}();
|
|
901
|
-
function ze(n) {
|
|
902
|
-
var r;
|
|
903
|
-
return (r = n != null ? n : cr.Promise) !== null && r !== void 0 ? r : Promise;
|
|
904
|
-
}
|
|
905
|
-
function wr(n) {
|
|
906
|
-
return n && z(n.next) && z(n.error) && z(n.complete);
|
|
907
|
-
}
|
|
908
|
-
function kr(n) {
|
|
909
|
-
return n && n instanceof qe || wr(n) && Ae(n);
|
|
910
|
-
}
|
|
911
|
-
var Sr = Pe(function(n) {
|
|
912
|
-
return function() {
|
|
913
|
-
n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
914
|
-
};
|
|
915
|
-
}), Re = function(n) {
|
|
916
|
-
C(r, n);
|
|
917
|
-
function r() {
|
|
918
|
-
var e = n.call(this) || this;
|
|
919
|
-
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
920
|
-
}
|
|
921
|
-
return r.prototype.lift = function(e) {
|
|
922
|
-
var t = new xe(this, this);
|
|
923
|
-
return t.operator = e, t;
|
|
924
|
-
}, r.prototype._throwIfClosed = function() {
|
|
925
|
-
if (this.closed)
|
|
926
|
-
throw new Sr();
|
|
927
|
-
}, r.prototype.next = function(e) {
|
|
928
|
-
var t = this;
|
|
929
|
-
N(function() {
|
|
930
|
-
var i, o;
|
|
931
|
-
if (t._throwIfClosed(), !t.isStopped) {
|
|
932
|
-
t.currentObservers || (t.currentObservers = Array.from(t.observers));
|
|
933
|
-
try {
|
|
934
|
-
for (var a = ee(t.currentObservers), l = a.next(); !l.done; l = a.next()) {
|
|
935
|
-
var u = l.value;
|
|
936
|
-
u.next(e);
|
|
937
|
-
}
|
|
938
|
-
} catch (h) {
|
|
939
|
-
i = { error: h };
|
|
940
|
-
} finally {
|
|
941
|
-
try {
|
|
942
|
-
l && !l.done && (o = a.return) && o.call(a);
|
|
943
|
-
} finally {
|
|
944
|
-
if (i) throw i.error;
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
});
|
|
949
|
-
}, r.prototype.error = function(e) {
|
|
950
|
-
var t = this;
|
|
951
|
-
N(function() {
|
|
952
|
-
if (t._throwIfClosed(), !t.isStopped) {
|
|
953
|
-
t.hasError = t.isStopped = !0, t.thrownError = e;
|
|
954
|
-
for (var i = t.observers; i.length; )
|
|
955
|
-
i.shift().error(e);
|
|
956
|
-
}
|
|
957
|
-
});
|
|
958
|
-
}, r.prototype.complete = function() {
|
|
959
|
-
var e = this;
|
|
960
|
-
N(function() {
|
|
961
|
-
if (e._throwIfClosed(), !e.isStopped) {
|
|
962
|
-
e.isStopped = !0;
|
|
963
|
-
for (var t = e.observers; t.length; )
|
|
964
|
-
t.shift().complete();
|
|
965
|
-
}
|
|
966
|
-
});
|
|
967
|
-
}, r.prototype.unsubscribe = function() {
|
|
968
|
-
this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
|
|
969
|
-
}, Object.defineProperty(r.prototype, "observed", {
|
|
970
|
-
get: function() {
|
|
971
|
-
var e;
|
|
972
|
-
return ((e = this.observers) === null || e === void 0 ? void 0 : e.length) > 0;
|
|
973
|
-
},
|
|
974
|
-
enumerable: !1,
|
|
975
|
-
configurable: !0
|
|
976
|
-
}), r.prototype._trySubscribe = function(e) {
|
|
977
|
-
return this._throwIfClosed(), n.prototype._trySubscribe.call(this, e);
|
|
978
|
-
}, r.prototype._subscribe = function(e) {
|
|
979
|
-
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
980
|
-
}, r.prototype._innerSubscribe = function(e) {
|
|
981
|
-
var t = this, i = this, o = i.hasError, a = i.isStopped, l = i.observers;
|
|
982
|
-
return o || a ? De : (this.currentObservers = null, l.push(e), new L(function() {
|
|
983
|
-
t.currentObservers = null, te(l, e);
|
|
984
|
-
}));
|
|
985
|
-
}, r.prototype._checkFinalizedStatuses = function(e) {
|
|
986
|
-
var t = this, i = t.hasError, o = t.thrownError, a = t.isStopped;
|
|
987
|
-
i ? e.error(o) : a && e.complete();
|
|
988
|
-
}, r.prototype.asObservable = function() {
|
|
989
|
-
var e = new Te();
|
|
990
|
-
return e.source = this, e;
|
|
991
|
-
}, r.create = function(e, t) {
|
|
992
|
-
return new xe(e, t);
|
|
993
|
-
}, r;
|
|
994
|
-
}(Te), xe = function(n) {
|
|
995
|
-
C(r, n);
|
|
996
|
-
function r(e, t) {
|
|
997
|
-
var i = n.call(this) || this;
|
|
998
|
-
return i.destination = e, i.source = t, i;
|
|
999
|
-
}
|
|
1000
|
-
return r.prototype.next = function(e) {
|
|
1001
|
-
var t, i;
|
|
1002
|
-
(i = (t = this.destination) === null || t === void 0 ? void 0 : t.next) === null || i === void 0 || i.call(t, e);
|
|
1003
|
-
}, r.prototype.error = function(e) {
|
|
1004
|
-
var t, i;
|
|
1005
|
-
(i = (t = this.destination) === null || t === void 0 ? void 0 : t.error) === null || i === void 0 || i.call(t, e);
|
|
1006
|
-
}, r.prototype.complete = function() {
|
|
1007
|
-
var e, t;
|
|
1008
|
-
(t = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || t === void 0 || t.call(e);
|
|
1009
|
-
}, r.prototype._subscribe = function(e) {
|
|
1010
|
-
var t, i;
|
|
1011
|
-
return (i = (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(e)) !== null && i !== void 0 ? i : De;
|
|
1012
|
-
}, r;
|
|
1013
|
-
}(Re), We = {
|
|
1014
|
-
now: function() {
|
|
1015
|
-
return (We.delegate || Date).now();
|
|
1016
|
-
},
|
|
1017
|
-
delegate: void 0
|
|
1018
|
-
}, Tr = function(n) {
|
|
1019
|
-
C(r, n);
|
|
1020
|
-
function r(e, t, i) {
|
|
1021
|
-
e === void 0 && (e = 1 / 0), t === void 0 && (t = 1 / 0), i === void 0 && (i = We);
|
|
1022
|
-
var o = n.call(this) || this;
|
|
1023
|
-
return o._bufferSize = e, o._windowTime = t, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = t === 1 / 0, o._bufferSize = Math.max(1, e), o._windowTime = Math.max(1, t), o;
|
|
1024
|
-
}
|
|
1025
|
-
return r.prototype.next = function(e) {
|
|
1026
|
-
var t = this, i = t.isStopped, o = t._buffer, a = t._infiniteTimeWindow, l = t._timestampProvider, u = t._windowTime;
|
|
1027
|
-
i || (o.push(e), !a && o.push(l.now() + u)), this._trimBuffer(), n.prototype.next.call(this, e);
|
|
1028
|
-
}, r.prototype._subscribe = function(e) {
|
|
1029
|
-
this._throwIfClosed(), this._trimBuffer();
|
|
1030
|
-
for (var t = this._innerSubscribe(e), i = this, o = i._infiniteTimeWindow, a = i._buffer, l = a.slice(), u = 0; u < l.length && !e.closed; u += o ? 1 : 2)
|
|
1031
|
-
e.next(l[u]);
|
|
1032
|
-
return this._checkFinalizedStatuses(e), t;
|
|
1033
|
-
}, r.prototype._trimBuffer = function() {
|
|
1034
|
-
var e = this, t = e._bufferSize, i = e._timestampProvider, o = e._buffer, a = e._infiniteTimeWindow, l = (a ? 1 : 2) * t;
|
|
1035
|
-
if (t < 1 / 0 && l < o.length && o.splice(0, o.length - l), !a) {
|
|
1036
|
-
for (var u = i.now(), h = 0, v = 1; v < o.length && o[v] <= u; v += 2)
|
|
1037
|
-
h = v;
|
|
1038
|
-
h && o.splice(0, h + 1);
|
|
1039
|
-
}
|
|
1040
|
-
}, r;
|
|
1041
|
-
}(Re);
|
|
1042
|
-
const _e = [], je = {}, zr = (n, r = 0) => {
|
|
1043
|
-
if (_e.indexOf(n) == -1) {
|
|
1044
|
-
const e = new Tr(r);
|
|
1045
|
-
je[n] = e, _e.push(n);
|
|
1046
|
-
}
|
|
1047
|
-
return je[n];
|
|
1048
|
-
};
|
|
1049
|
-
typeof window != "undefined" && (window.emWidgets = { topic: zr });
|
|
1050
|
-
String(Number.MAX_SAFE_INTEGER).length;
|
|
1051
|
-
var xr = G('<div class="loader-container svelte-1g2duiq"><div class="loader svelte-1g2duiq"><div class="loader-ring-outer svelte-1g2duiq"></div> <div class="loader-ring-inner svelte-1g2duiq"></div></div></div>'), _r = G('<div class="prize-hub-container svelte-1g2duiq"><h3 class="svelte-1g2duiq"> </h3> <p class="svelte-1g2duiq"> </p></div> <div class="mini-games-card-list svelte-1g2duiq"></div>', 1), jr = G('<div class="svelte-1g2duiq"><p class="svelte-1g2duiq"> </p></div>'), Pr = G('<div class="main-container svelte-1g2duiq"><!></div>');
|
|
1052
|
-
const Dr = {
|
|
1053
|
-
hash: "svelte-1g2duiq",
|
|
1054
|
-
code: `.svelte-1g2duiq,
|
|
1055
|
-
.svelte-1g2duiq::before,
|
|
1056
|
-
.svelte-1g2duiq::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;-webkit-tap-highlight-color:transparent;}.main-container.svelte-1g2duiq {background-color:transparent;width:100%;height:100%;min-height:100%;color:var(--color-text-default, #ffffff);display:flex;flex-direction:column;gap:5px;padding-top:20px;max-width:700px;margin:0 auto;}.mini-games-card-list.svelte-1g2duiq {display:flex;flex-direction:column;gap:12px;width:100%;padding:0 10px;}.prize-hub-container.svelte-1g2duiq {display:flex;flex-direction:column;width:100%;padding:12px;gap:8px;margin:8px 0;}.prize-hub-container.svelte-1g2duiq h3:where(.svelte-1g2duiq) {color:var(--color-text-brand, #ffcc00);font-weight:700;font-size:14px;}.prize-hub-container.svelte-1g2duiq p:where(.svelte-1g2duiq) {color:var(--color-text-default, #ffffff);font-size:12px;font-weight:400;}.loader-container.svelte-1g2duiq {display:flex;align-items:center;justify-content:center;width:100%;height:100%;flex:1;}.loader.svelte-1g2duiq {position:relative;width:64px;height:64px;}.loader-ring-outer.svelte-1g2duiq,
|
|
1057
|
-
.loader-ring-inner.svelte-1g2duiq {position:absolute;border-radius:50%;border:3px solid transparent;}.loader-ring-outer.svelte-1g2duiq {width:64px;height:64px;top:0;left:0;border-top-color:var(--loader-color-primary, #ffcc00);
|
|
1058
|
-
animation: svelte-1g2duiq-spin-cw 1s linear infinite;}.loader-ring-inner.svelte-1g2duiq {width:42px;height:42px;top:11px;left:11px;border-top-color:var(--loader-color-secondary, rgba(255, 255, 255, 0.5019607843));
|
|
1059
|
-
animation: svelte-1g2duiq-spin-ccw 0.75s linear infinite;}
|
|
1060
|
-
|
|
1061
|
-
@keyframes svelte-1g2duiq-spin-cw {
|
|
523
|
+
var He = M('<div class="loader-container"><div class="loader"><div class="loader-ring-outer"></div> <div class="loader-ring-inner"></div></div></div>'), _e = M('<div class="prize-hub-container"><h3> </h3> <p> </p></div> <div class="mini-games-card-list"></div>', 1), Ve = M("<div><p> </p></div>"), Fe = M('<div class="main-container"><!></div>');
|
|
524
|
+
const Oe = {
|
|
525
|
+
hash: "svelte-pzanec",
|
|
526
|
+
code: ` *,
|
|
527
|
+
*::before,
|
|
528
|
+
*::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;-webkit-tap-highlight-color:transparent;} .main-container {background-color:transparent;width:100%;height:100%;min-height:100%;color:var(--color-text-default, #ffffff);display:flex;flex-direction:column;gap:5px;padding-top:20px;max-width:700px;margin:0 auto;} .mini-games-card-list {display:flex;flex-direction:column;gap:12px;width:100%;padding:0 10px;} .prize-hub-container {display:flex;flex-direction:column;width:100%;padding:12px;gap:8px;margin:8px 0;} .prize-hub-container h3 {color:var(--color-text-brand, #ffcc00);font-weight:700;font-size:14px;} .prize-hub-container p {color:var(--color-text-default, #ffffff);font-size:12px;font-weight:400;} .loader-container {display:flex;align-items:center;justify-content:center;width:100%;height:100%;flex:1;} .loader {position:relative;width:64px;height:64px;} .loader-ring-outer,
|
|
529
|
+
.loader-ring-inner {position:absolute;border-radius:50%;border:3px solid transparent;} .loader-ring-outer {width:64px;height:64px;top:0;left:0;border-top-color:var(--loader-color-primary, #ffcc00);
|
|
530
|
+
animation: svelte-pzanec-spin-cw 1s linear infinite;} .loader-ring-inner {width:42px;height:42px;top:11px;left:11px;border-top-color:var(--loader-color-secondary, rgba(255, 255, 255, 0.5019607843));
|
|
531
|
+
animation: svelte-pzanec-spin-ccw 0.75s linear infinite;}
|
|
532
|
+
@keyframes svelte-pzanec-spin-cw {
|
|
1062
533
|
to {
|
|
1063
534
|
transform: rotate(360deg);
|
|
1064
535
|
}
|
|
1065
536
|
}
|
|
1066
|
-
@keyframes svelte-
|
|
537
|
+
@keyframes svelte-pzanec-spin-ccw {
|
|
1067
538
|
to {
|
|
1068
539
|
transform: rotate(-360deg);
|
|
1069
540
|
}
|
|
1070
|
-
}
|
|
1071
|
-
/* Skeleton (kept for reference, replaced by loader above)
|
|
1072
|
-
@keyframes skeleton-pulse {
|
|
1073
|
-
0%,
|
|
1074
|
-
100% {
|
|
1075
|
-
opacity: 0.3;
|
|
1076
|
-
}
|
|
1077
|
-
50% {
|
|
1078
|
-
opacity: 0.6;
|
|
1079
|
-
}
|
|
1080
|
-
}
|
|
1081
|
-
|
|
1082
|
-
.skeleton-row {
|
|
1083
|
-
pointer-events: none;
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
.skeleton-bone {
|
|
1087
|
-
display: block;
|
|
1088
|
-
border-radius: 4px;
|
|
1089
|
-
background-color: var(--color-overlay-neutral-2, #fbfbfb33);
|
|
1090
|
-
animation: skeleton-pulse 1.4s ease-in-out infinite;
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
.skeleton-title {
|
|
1094
|
-
width: 40%;
|
|
1095
|
-
height: 22px;
|
|
1096
|
-
margin-bottom: 8px;
|
|
1097
|
-
}
|
|
1098
|
-
|
|
1099
|
-
.skeleton-subtitle {
|
|
1100
|
-
width: 60%;
|
|
1101
|
-
height: 14px;
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
|
-
.skeleton-card {
|
|
1105
|
-
display: flex;
|
|
1106
|
-
flex-direction: column;
|
|
1107
|
-
height: 115px;
|
|
1108
|
-
border: 1px solid var(--color-border-subtle, #fbfbfb0d);
|
|
1109
|
-
border-radius: 14px;
|
|
1110
|
-
background-color: var(--color-overlay-neutral-1, #fbfbfb1a);
|
|
1111
|
-
overflow: hidden;
|
|
1112
|
-
}
|
|
1113
|
-
|
|
1114
|
-
.skeleton-card-image {
|
|
1115
|
-
width: 100%;
|
|
1116
|
-
height: 70px;
|
|
1117
|
-
border-radius: 0;
|
|
1118
|
-
}
|
|
1119
|
-
|
|
1120
|
-
.skeleton-card-body {
|
|
1121
|
-
display: flex;
|
|
1122
|
-
justify-content: end;
|
|
1123
|
-
height: 50px;
|
|
1124
|
-
gap: 8px;
|
|
1125
|
-
padding: 12px;
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
.skeleton-card-button {
|
|
1129
|
-
width: 30%;
|
|
1130
|
-
height: 25px;
|
|
1131
|
-
}
|
|
1132
|
-
*/`
|
|
541
|
+
}`
|
|
1133
542
|
};
|
|
1134
|
-
function
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
function Ee() {
|
|
543
|
+
function oe(x, r) {
|
|
544
|
+
ie(r, !0), De(x, Oe);
|
|
545
|
+
const v = () => Ce(Le, "$_", T), [T, D] = xe(), h = o(r, "endpoint", 7), u = o(r, "session", 7), k = o(r, "requiresOptin", 7, !1), p = o(r, "language", 7, "en"), m = o(r, "outerWheelAsset", 7, null), f = o(r, "wheelButtonAsset", 7, null), w = o(r, "backgroundVideoAsset", 7, null), t = o(r, "liteMode", 7, !1), P = o(r, "translationurl", 7), se = !R() && /iPhone|iPad|iPod/.test(navigator.userAgent), le = R() ? 1 / 0 : navigator.deviceMemory ?? 1 / 0, ue = R() ? 1 / 0 : navigator.hardwareConcurrency ?? 1 / 0;
|
|
546
|
+
function de() {
|
|
1139
547
|
try {
|
|
1140
|
-
const
|
|
548
|
+
const n = document.createElement("canvas").getContext("webgl");
|
|
549
|
+
if (!n) return !1;
|
|
550
|
+
const c = n.getExtension("WEBGL_debug_renderer_info");
|
|
1141
551
|
if (!c) return !1;
|
|
1142
|
-
const
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
return /mali-g[0-7]\d(?!\d)|xclipse [0-5]\d\d|adreno \(tm\) [2-6]\d\d/.test(d);
|
|
1146
|
-
} catch (s) {
|
|
552
|
+
const i = n.getParameter(c.UNMASKED_RENDERER_WEBGL).toLowerCase();
|
|
553
|
+
return /mali-g[0-7]\d(?!\d)|xclipse [0-5]\d\d|adreno \(tm\) [2-6]\d\d/.test(i);
|
|
554
|
+
} catch {
|
|
1147
555
|
return !1;
|
|
1148
556
|
}
|
|
1149
557
|
}
|
|
1150
|
-
const
|
|
1151
|
-
|
|
1152
|
-
const
|
|
1153
|
-
let
|
|
1154
|
-
fetch(
|
|
1155
|
-
Object.keys(
|
|
1156
|
-
|
|
558
|
+
const pe = !R() && !se && (le <= 4 || ue <= 4 || de()), O = ee(() => t() || pe);
|
|
559
|
+
Ae({ withLocale: "en", translations: {} });
|
|
560
|
+
const ge = () => {
|
|
561
|
+
let e = new URL(P());
|
|
562
|
+
fetch(e.href).then((n) => n.json()).then((n) => {
|
|
563
|
+
Object.keys(n).forEach((c) => {
|
|
564
|
+
K(c, n[c]);
|
|
1157
565
|
});
|
|
1158
|
-
}).catch((
|
|
1159
|
-
console.log(
|
|
566
|
+
}).catch((n) => {
|
|
567
|
+
console.log(n);
|
|
1160
568
|
});
|
|
1161
569
|
};
|
|
1162
|
-
Object.keys(
|
|
1163
|
-
|
|
1164
|
-
}),
|
|
1165
|
-
const
|
|
1166
|
-
|
|
570
|
+
Object.keys(re).forEach((e) => {
|
|
571
|
+
K(e, re[e]);
|
|
572
|
+
}), Y(p());
|
|
573
|
+
const ce = () => {
|
|
574
|
+
Y(p());
|
|
1167
575
|
};
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
}),
|
|
1171
|
-
|
|
576
|
+
Me(() => {
|
|
577
|
+
P() && ge();
|
|
578
|
+
}), Ne(() => {
|
|
579
|
+
ce();
|
|
1172
580
|
});
|
|
1173
|
-
let
|
|
1174
|
-
const
|
|
1175
|
-
|
|
1176
|
-
const
|
|
1177
|
-
|
|
1178
|
-
const
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
p(H, !0), p(_, !1);
|
|
581
|
+
let y = S(!1), g = S(Be([])), E = S(!1), N = S(!1), z = S(null), J = S(!1);
|
|
582
|
+
const he = async () => {
|
|
583
|
+
a(y, !0);
|
|
584
|
+
const e = new URL(`${h()}/v1/wof/claimable`), n = new Headers();
|
|
585
|
+
u() && n.append("X-SessionId", u());
|
|
586
|
+
const c = { method: "GET", headers: n, cache: "no-store" };
|
|
587
|
+
e.searchParams.append("filter", "wheelOfFortune"), fetch(e, c).then((i) => i.json()).then((i) => {
|
|
588
|
+
if (i && i.errorMessage?.trim() === "InvalidSessionId") {
|
|
589
|
+
a(N, !0), a(y, !1);
|
|
1183
590
|
return;
|
|
1184
591
|
}
|
|
1185
|
-
if (
|
|
1186
|
-
|
|
592
|
+
if (i?.items?.program?.canClaim) {
|
|
593
|
+
a(g, i?.items?.program, !0), a(y, !1);
|
|
1187
594
|
return;
|
|
1188
595
|
}
|
|
1189
|
-
|
|
1190
|
-
}).catch((
|
|
1191
|
-
console.log(
|
|
1192
|
-
}).finally(() =>
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
const
|
|
1196
|
-
|
|
1197
|
-
const
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
p(H, !0), p(_, !1);
|
|
596
|
+
a(g, i?.items, !0);
|
|
597
|
+
}).catch((i) => {
|
|
598
|
+
console.log(i), a(E, !0);
|
|
599
|
+
}).finally(() => a(y, !1));
|
|
600
|
+
}, me = async () => {
|
|
601
|
+
a(y, !0);
|
|
602
|
+
const e = new URL(`${h()}/v1/wof/lotteries`), n = new Headers();
|
|
603
|
+
u() && n.append("X-SessionId", u());
|
|
604
|
+
const c = { method: "GET", headers: n, cache: "no-store" };
|
|
605
|
+
e.searchParams.append("filter", "Types[]=wheelOfFortune"), fetch(e, c).then((i) => i.json()).then((i) => {
|
|
606
|
+
if (i && i.errorMessage?.trim() === "InvalidSessionId") {
|
|
607
|
+
a(N, !0), a(y, !1);
|
|
1202
608
|
return;
|
|
1203
609
|
}
|
|
1204
|
-
|
|
1205
|
-
}).catch((
|
|
1206
|
-
console.log(
|
|
1207
|
-
}).finally(() =>
|
|
1208
|
-
}
|
|
1209
|
-
if (
|
|
1210
|
-
switch (
|
|
610
|
+
a(g, i?.items.map((G) => Ge(G, p())), !0), l(g).length === 1 && (a(z, l(g)[0], !0), a(J, !0)), l(g).length === 0 && window.postMessage({ type: "event_wof_no_programs" }, window.location.href);
|
|
611
|
+
}).catch((i) => {
|
|
612
|
+
console.log(i), a(E, !0);
|
|
613
|
+
}).finally(() => a(y, !1));
|
|
614
|
+
}, I = (e) => {
|
|
615
|
+
if (e.data)
|
|
616
|
+
switch (e.data.type) {
|
|
1211
617
|
case "PlayMiniGame":
|
|
1212
|
-
|
|
618
|
+
a(z, l(g).find((n) => n.id === e.data.programId), !0);
|
|
1213
619
|
break;
|
|
1214
620
|
case "CloseMiniGame":
|
|
1215
|
-
|
|
621
|
+
a(z, null);
|
|
1216
622
|
break;
|
|
1217
623
|
case "PrizeGameRemainingTimesUpdated":
|
|
1218
|
-
|
|
624
|
+
a(z, e.data.data, !0), a(g, l(g).map((n) => n.id === e.data.data.id ? e.data.data : n), !0);
|
|
1219
625
|
break;
|
|
1220
626
|
}
|
|
1221
627
|
};
|
|
1222
|
-
|
|
628
|
+
je(() => (setTimeout(
|
|
1223
629
|
() => {
|
|
1224
|
-
window.postMessage({ type: "event_hub_accessed", isLoggedIn: !!
|
|
630
|
+
window.postMessage({ type: "event_hub_accessed", isLoggedIn: !!u() }, window.location.href);
|
|
1225
631
|
},
|
|
1226
632
|
0
|
|
1227
|
-
),
|
|
1228
|
-
window.removeEventListener("message",
|
|
633
|
+
), u() && (k() ? he() : me()), window.addEventListener("message", I), () => {
|
|
634
|
+
window.removeEventListener("message", I);
|
|
1229
635
|
}));
|
|
1230
|
-
var
|
|
636
|
+
var fe = {
|
|
1231
637
|
get endpoint() {
|
|
1232
|
-
return
|
|
638
|
+
return h();
|
|
1233
639
|
},
|
|
1234
|
-
set endpoint(
|
|
1235
|
-
|
|
640
|
+
set endpoint(e) {
|
|
641
|
+
h(e), s();
|
|
1236
642
|
},
|
|
1237
643
|
get session() {
|
|
1238
|
-
return
|
|
644
|
+
return u();
|
|
1239
645
|
},
|
|
1240
|
-
set session(
|
|
1241
|
-
|
|
646
|
+
set session(e) {
|
|
647
|
+
u(e), s();
|
|
1242
648
|
},
|
|
1243
649
|
get requiresOptin() {
|
|
1244
|
-
return
|
|
650
|
+
return k();
|
|
1245
651
|
},
|
|
1246
|
-
set requiresOptin(
|
|
1247
|
-
|
|
652
|
+
set requiresOptin(e = !1) {
|
|
653
|
+
k(e), s();
|
|
1248
654
|
},
|
|
1249
655
|
get language() {
|
|
1250
|
-
return
|
|
656
|
+
return p();
|
|
1251
657
|
},
|
|
1252
|
-
set language(
|
|
1253
|
-
|
|
658
|
+
set language(e = "en") {
|
|
659
|
+
p(e), s();
|
|
1254
660
|
},
|
|
1255
661
|
get outerWheelAsset() {
|
|
1256
|
-
return
|
|
662
|
+
return m();
|
|
1257
663
|
},
|
|
1258
|
-
set outerWheelAsset(
|
|
1259
|
-
|
|
664
|
+
set outerWheelAsset(e = null) {
|
|
665
|
+
m(e), s();
|
|
1260
666
|
},
|
|
1261
667
|
get wheelButtonAsset() {
|
|
1262
|
-
return
|
|
668
|
+
return f();
|
|
1263
669
|
},
|
|
1264
|
-
set wheelButtonAsset(
|
|
1265
|
-
|
|
670
|
+
set wheelButtonAsset(e = null) {
|
|
671
|
+
f(e), s();
|
|
1266
672
|
},
|
|
1267
673
|
get backgroundVideoAsset() {
|
|
1268
|
-
return
|
|
674
|
+
return w();
|
|
1269
675
|
},
|
|
1270
|
-
set backgroundVideoAsset(
|
|
1271
|
-
|
|
676
|
+
set backgroundVideoAsset(e = null) {
|
|
677
|
+
w(e), s();
|
|
1272
678
|
},
|
|
1273
679
|
get liteMode() {
|
|
1274
|
-
return
|
|
680
|
+
return t();
|
|
1275
681
|
},
|
|
1276
|
-
set liteMode(
|
|
1277
|
-
|
|
682
|
+
set liteMode(e = !1) {
|
|
683
|
+
t(e), s();
|
|
1278
684
|
},
|
|
1279
685
|
get translationurl() {
|
|
1280
|
-
return
|
|
686
|
+
return P();
|
|
1281
687
|
},
|
|
1282
|
-
set translationurl(
|
|
1283
|
-
|
|
688
|
+
set translationurl(e) {
|
|
689
|
+
P(e), s();
|
|
1284
690
|
}
|
|
1285
|
-
},
|
|
691
|
+
}, B = Fe(), ye = V(B);
|
|
1286
692
|
{
|
|
1287
|
-
var
|
|
1288
|
-
var
|
|
1289
|
-
|
|
1290
|
-
},
|
|
1291
|
-
var
|
|
693
|
+
var be = (e) => {
|
|
694
|
+
var n = He();
|
|
695
|
+
j(e, n);
|
|
696
|
+
}, ve = (e) => {
|
|
697
|
+
var n = Pe(), c = X(n);
|
|
1292
698
|
{
|
|
1293
|
-
var
|
|
1294
|
-
|
|
699
|
+
var i = (d) => {
|
|
700
|
+
ne(d, {
|
|
1295
701
|
get outerWheelAsset() {
|
|
1296
|
-
return
|
|
702
|
+
return m();
|
|
1297
703
|
},
|
|
1298
704
|
get wheelButtonAsset() {
|
|
1299
|
-
return
|
|
705
|
+
return f();
|
|
1300
706
|
},
|
|
1301
707
|
get backgroundVideoAsset() {
|
|
1302
|
-
return
|
|
708
|
+
return w();
|
|
1303
709
|
},
|
|
1304
710
|
get language() {
|
|
1305
|
-
return
|
|
711
|
+
return p();
|
|
1306
712
|
},
|
|
1307
713
|
get liteMode() {
|
|
1308
|
-
return
|
|
714
|
+
return l(O);
|
|
1309
715
|
}
|
|
1310
716
|
});
|
|
1311
|
-
},
|
|
717
|
+
}, G = (d) => {
|
|
1312
718
|
{
|
|
1313
|
-
let
|
|
1314
|
-
|
|
719
|
+
let b = ee(() => !l(J));
|
|
720
|
+
ne(d, {
|
|
1315
721
|
get program() {
|
|
1316
|
-
return
|
|
722
|
+
return l(z);
|
|
1317
723
|
},
|
|
1318
724
|
get endpoint() {
|
|
1319
|
-
return
|
|
725
|
+
return h();
|
|
1320
726
|
},
|
|
1321
727
|
get language() {
|
|
1322
|
-
return
|
|
728
|
+
return p();
|
|
1323
729
|
},
|
|
1324
730
|
get session() {
|
|
1325
|
-
return
|
|
731
|
+
return u();
|
|
1326
732
|
},
|
|
1327
733
|
get outerWheelAsset() {
|
|
1328
|
-
return
|
|
734
|
+
return m();
|
|
1329
735
|
},
|
|
1330
736
|
get wheelButtonAsset() {
|
|
1331
|
-
return
|
|
737
|
+
return f();
|
|
1332
738
|
},
|
|
1333
739
|
get backgroundVideoAsset() {
|
|
1334
|
-
return
|
|
740
|
+
return w();
|
|
1335
741
|
},
|
|
1336
742
|
get showBackButton() {
|
|
1337
|
-
return
|
|
743
|
+
return l(b);
|
|
1338
744
|
},
|
|
1339
745
|
get liteMode() {
|
|
1340
|
-
return
|
|
746
|
+
return l(O);
|
|
1341
747
|
}
|
|
1342
748
|
});
|
|
1343
749
|
}
|
|
1344
|
-
},
|
|
1345
|
-
var
|
|
1346
|
-
|
|
1347
|
-
var
|
|
1348
|
-
|
|
1349
|
-
|
|
750
|
+
}, we = (d) => {
|
|
751
|
+
var b = _e(), A = X(b), W = V(A), L = F(W, !0), Se = Q(W, 2), Te = F(Se, !0);
|
|
752
|
+
C(A);
|
|
753
|
+
var U = Q(A, 2);
|
|
754
|
+
We(U, 21, () => l(g), Re, (q, H) => {
|
|
755
|
+
qe(q, {
|
|
1350
756
|
get program() {
|
|
1351
|
-
return
|
|
757
|
+
return l(H);
|
|
1352
758
|
}
|
|
1353
759
|
});
|
|
1354
|
-
}),
|
|
1355
|
-
(
|
|
1356
|
-
|
|
760
|
+
}), C(U), $(
|
|
761
|
+
(q, H) => {
|
|
762
|
+
_(L, q), _(Te, H);
|
|
1357
763
|
},
|
|
1358
|
-
[() =>
|
|
1359
|
-
),
|
|
1360
|
-
},
|
|
1361
|
-
var
|
|
1362
|
-
|
|
764
|
+
[() => v()("hubTitle"), () => v()("hubSubtitle")]
|
|
765
|
+
), j(d, b);
|
|
766
|
+
}, ze = (d) => {
|
|
767
|
+
var b = Ve(), A = V(b), W = F(A, !0);
|
|
768
|
+
C(b), $((L) => _(W, L), [() => v()("noContent")]), j(d, b);
|
|
1363
769
|
};
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
!a() || g(H) ? f(d) : g(D) ? f(P, 1) : ((w = g(b)) == null ? void 0 : w.length) > 1 ? f(A, 2) : f(E, -1);
|
|
770
|
+
Z(c, (d) => {
|
|
771
|
+
!u() || l(N) ? d(i) : l(z) ? d(G, 1) : l(g)?.length > 1 ? d(we, 2) : d(ze, -1);
|
|
1367
772
|
});
|
|
1368
773
|
}
|
|
1369
|
-
|
|
774
|
+
j(e, n);
|
|
1370
775
|
};
|
|
1371
|
-
|
|
1372
|
-
|
|
776
|
+
Z(ye, (e) => {
|
|
777
|
+
l(y) ? e(be) : e(ve, -1);
|
|
1373
778
|
});
|
|
1374
779
|
}
|
|
1375
|
-
B
|
|
1376
|
-
var
|
|
1377
|
-
return
|
|
780
|
+
C(B), j(x, B);
|
|
781
|
+
var ke = ae(fe);
|
|
782
|
+
return D(), ke;
|
|
783
|
+
}
|
|
784
|
+
te(
|
|
785
|
+
oe,
|
|
786
|
+
{
|
|
787
|
+
endpoint: {},
|
|
788
|
+
session: {},
|
|
789
|
+
requiresOptin: {},
|
|
790
|
+
language: {},
|
|
791
|
+
outerWheelAsset: {},
|
|
792
|
+
wheelButtonAsset: {},
|
|
793
|
+
backgroundVideoAsset: {},
|
|
794
|
+
liteMode: {},
|
|
795
|
+
translationurl: {}
|
|
796
|
+
},
|
|
797
|
+
[],
|
|
798
|
+
[],
|
|
799
|
+
{ mode: "open" }
|
|
800
|
+
);
|
|
801
|
+
function Ee(x, r) {
|
|
802
|
+
ie(r, !0);
|
|
803
|
+
let v = o(r, "endpoint", 7), T = o(r, "session", 7), D = o(r, "requiresOptin", 7, !1), h = o(r, "language", 7, "en"), u = o(r, "outerWheelAsset", 7, null), k = o(r, "wheelButtonAsset", 7, null), p = o(r, "backgroundVideoAsset", 7, null), m = o(r, "liteMode", 7, !1), f = o(r, "translationurl", 7);
|
|
804
|
+
var w = {
|
|
805
|
+
get endpoint() {
|
|
806
|
+
return v();
|
|
807
|
+
},
|
|
808
|
+
set endpoint(t) {
|
|
809
|
+
v(t), s();
|
|
810
|
+
},
|
|
811
|
+
get session() {
|
|
812
|
+
return T();
|
|
813
|
+
},
|
|
814
|
+
set session(t) {
|
|
815
|
+
T(t), s();
|
|
816
|
+
},
|
|
817
|
+
get requiresOptin() {
|
|
818
|
+
return D();
|
|
819
|
+
},
|
|
820
|
+
set requiresOptin(t = !1) {
|
|
821
|
+
D(t), s();
|
|
822
|
+
},
|
|
823
|
+
get language() {
|
|
824
|
+
return h();
|
|
825
|
+
},
|
|
826
|
+
set language(t = "en") {
|
|
827
|
+
h(t), s();
|
|
828
|
+
},
|
|
829
|
+
get outerWheelAsset() {
|
|
830
|
+
return u();
|
|
831
|
+
},
|
|
832
|
+
set outerWheelAsset(t = null) {
|
|
833
|
+
u(t), s();
|
|
834
|
+
},
|
|
835
|
+
get wheelButtonAsset() {
|
|
836
|
+
return k();
|
|
837
|
+
},
|
|
838
|
+
set wheelButtonAsset(t = null) {
|
|
839
|
+
k(t), s();
|
|
840
|
+
},
|
|
841
|
+
get backgroundVideoAsset() {
|
|
842
|
+
return p();
|
|
843
|
+
},
|
|
844
|
+
set backgroundVideoAsset(t = null) {
|
|
845
|
+
p(t), s();
|
|
846
|
+
},
|
|
847
|
+
get liteMode() {
|
|
848
|
+
return m();
|
|
849
|
+
},
|
|
850
|
+
set liteMode(t = !1) {
|
|
851
|
+
m(t), s();
|
|
852
|
+
},
|
|
853
|
+
get translationurl() {
|
|
854
|
+
return f();
|
|
855
|
+
},
|
|
856
|
+
set translationurl(t) {
|
|
857
|
+
f(t), s();
|
|
858
|
+
}
|
|
859
|
+
};
|
|
860
|
+
return oe(x, {
|
|
861
|
+
get endpoint() {
|
|
862
|
+
return v();
|
|
863
|
+
},
|
|
864
|
+
get session() {
|
|
865
|
+
return T();
|
|
866
|
+
},
|
|
867
|
+
get requiresOptin() {
|
|
868
|
+
return D();
|
|
869
|
+
},
|
|
870
|
+
get language() {
|
|
871
|
+
return h();
|
|
872
|
+
},
|
|
873
|
+
get outerWheelAsset() {
|
|
874
|
+
return u();
|
|
875
|
+
},
|
|
876
|
+
get wheelButtonAsset() {
|
|
877
|
+
return k();
|
|
878
|
+
},
|
|
879
|
+
get backgroundVideoAsset() {
|
|
880
|
+
return p();
|
|
881
|
+
},
|
|
882
|
+
get liteMode() {
|
|
883
|
+
return m();
|
|
884
|
+
},
|
|
885
|
+
get translationurl() {
|
|
886
|
+
return f();
|
|
887
|
+
}
|
|
888
|
+
}), ae(w);
|
|
1378
889
|
}
|
|
1379
|
-
customElements.define("mini-games-hub",
|
|
1380
|
-
|
|
890
|
+
customElements.define("mini-games-hub", te(
|
|
891
|
+
Ee,
|
|
1381
892
|
{
|
|
1382
893
|
endpoint: { attribute: "endpoint", type: "String" },
|
|
1383
894
|
session: { attribute: "session", type: "String" },
|
|
@@ -1393,5 +904,5 @@ customElements.define("mini-games-hub", or(
|
|
|
1393
904
|
[]
|
|
1394
905
|
));
|
|
1395
906
|
export {
|
|
1396
|
-
|
|
907
|
+
Ee as M
|
|
1397
908
|
};
|