@everymatrix/mini-games-hub 0.1.9 → 0.1.10
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-D6sU2V3q.js → GameCard-B5IhlV0M.js} +1 -1
- package/components/{GameCard-BdIf8taI.cjs → GameCard-Ct6vyiQG.cjs} +1 -1
- package/components/{GameCard-kF0UN5td.js → GameCard-uj5ulL7F.js} +1 -1
- package/components/{MiniGamesHub-BVcmk4IU.js → MiniGamesHub-A_QU55Ox.js} +3 -3
- package/components/{MiniGamesHub-C0rZSf6S.cjs → MiniGamesHub-D7WWtj1H.cjs} +1 -1
- package/components/{MiniGamesHub-qecVNQ2u.js → MiniGamesHub-DhyHje6i.js} +3 -3
- package/components/{WheelOfFortune-DSi81Ef6.js → WheelOfFortune-C3QPcM9_.js} +5 -5
- package/components/{WheelOfFortune-B4iD3e8L.js → WheelOfFortune-DIKqqSN0.js} +5 -5
- package/components/{WheelOfFortune-TbQMnCAv.cjs → WheelOfFortune-Dq5uFse9.cjs} +2 -2
- package/components/{WheelOfFortuneDrawResults-k4Kh8Rs5.cjs → WheelOfFortuneDrawResults-BLYsEy7G.cjs} +1 -1
- package/components/{WheelOfFortuneDrawResults-Cr_Opm7D.js → WheelOfFortuneDrawResults-BOTcT7OI.js} +1 -1
- package/components/{WheelOfFortuneDrawResults-DtaD6Bbg.js → WheelOfFortuneDrawResults-CL3AjYJb.js} +1 -1
- package/components/{WheelOfFortuneHistory-z3M9_gS4.js → WheelOfFortuneHistory-BbRdBjji.js} +1 -1
- package/components/{WheelOfFortuneHistory-awqUiE50.js → WheelOfFortuneHistory-CupBnftz.js} +1 -1
- package/components/{WheelOfFortuneHistory-yRqy0iaU.cjs → WheelOfFortuneHistory-D0a33HzR.cjs} +1 -1
- package/components/{WheelOfFortuneRules-Dey_I6Ft.js → WheelOfFortuneRules-CIeBfSfY.js} +1 -1
- package/components/{WheelOfFortuneRules-BrDcDT04.js → WheelOfFortuneRules-CkNKWZhj.js} +1 -1
- package/components/{WheelOfFortuneRules-YS6b_8jm.cjs → WheelOfFortuneRules-DHwDQaVu.cjs} +1 -1
- package/components/{WheelOfFortuneWheel-6tNP0FcW.js → WheelOfFortuneWheel-B6_1ieZG.js} +146 -146
- package/components/{WheelOfFortuneWheel-Dol3euDD.cjs → WheelOfFortuneWheel-BHsFZqlw.cjs} +3 -3
- package/components/{WheelOfFortuneWheel-B0fH6QZt.js → WheelOfFortuneWheel-EAdiCZNZ.js} +77 -77
- package/es2015/mini-games-hub.cjs +1 -1
- package/es2015/mini-games-hub.js +1 -1
- package/esnext/mini-games-hub.js +1 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ var yt = (t, e, s) => e in t ? gr(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
14
14
|
return t;
|
|
15
15
|
}, He = (t, e) => Ar(t, pr(e));
|
|
16
16
|
var se = (t, e, s) => yt(t, typeof e != "symbol" ? e + "" : e, s), os = (t, e, s) => e.has(t) || as("Cannot " + s);
|
|
17
|
-
var b = (t, e, s) => (os(t, e, "read from private field"), s ? s.call(t) : e.get(t)),
|
|
17
|
+
var b = (t, e, s) => (os(t, e, "read from private field"), s ? s.call(t) : e.get(t)), he = (t, e, s) => e.has(t) ? as("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), at = (t, e, s, n) => (os(t, e, "write to private field"), n ? n.call(t, s) : e.set(t, s), s);
|
|
18
18
|
var qe = (t, e, s) => new Promise((n, r) => {
|
|
19
19
|
var i = (o) => {
|
|
20
20
|
try {
|
|
@@ -31,7 +31,7 @@ var qe = (t, e, s) => new Promise((n, r) => {
|
|
|
31
31
|
}, a = (o) => o.done ? n(o.value) : Promise.resolve(o.value).then(i, l);
|
|
32
32
|
a((s = s.apply(t, e)).next());
|
|
33
33
|
});
|
|
34
|
-
import { d as ft, s as ls, a as us, b as br, c as Qe, t as Sr, q as Bs, w as Br, e as gt, g as te, i as yr, T as Pr, f as ys, h as C, j as V, k as ke, R as Mr, l as Xe, m as Qt, C as At, H as Fr, n as Ot, o as dt, p as Be, r as Fe, u as Er, v as Ps, x as Lr, y as Wr, z as pt, A as Ms, B as Kt, D as Fs, E as Es, F as Ls, G as jt, I as ut, J as Vt, K as $e, L as Ws, M as Ns, N as ks, O as Nr, P as Oe, Q as Jt, S as Qs, U as kr, V as Ts, W as Tt, X as c, Y as cs, Z as Qr, _ as Ds, $ as Is, a0 as Tr, a1 as fs, a2 as Dr, a3 as Ir, a4 as Rs, a5 as Rr, a6 as
|
|
34
|
+
import { d as ft, s as ls, a as us, b as br, c as Qe, t as Sr, q as Bs, w as Br, e as gt, g as te, i as yr, T as Pr, f as ys, h as C, j as V, k as ke, R as Mr, l as Xe, m as Qt, C as At, H as Fr, n as Ot, o as dt, p as Be, r as Fe, u as Er, v as Ps, x as Lr, y as Wr, z as pt, A as Ms, B as Kt, D as Fs, E as Es, F as Ls, G as jt, I as ut, J as Vt, K as $e, L as Ws, M as Ns, N as ks, O as Nr, P as Oe, Q as Jt, S as Qs, U as kr, V as Ts, W as Tt, X as c, Y as cs, Z as Qr, _ as Ds, $ as Is, a0 as Tr, a1 as fs, a2 as Dr, a3 as Ir, a4 as Rs, a5 as Rr, a6 as ge, a7 as Us, a8 as Pt, a9 as Ur, aa as Cr, ab as Yr, ac as ee, ad as Or, ae as Kr, af as jr, ag as Cs, ah as Vr, ai as Jr, aj as Hr, ak as qr, al as Zr, am as Ys, an as zr, ao as Os, ap as K, aq as xr, ar as Gr, as as Ks, at as Xr, au as $r, av as _r, aw as en, ax as Dt, ay as tn, az as sn, aA as js, aB as re, aC as ht, aD as rn, aE as It, aF as nn, aG as an, aH as on, aI as ln, aJ as ot, aK as _, aL as Ze, aM as R, aN as un, aO as cn, aP as fn, aQ as dn, aR as U, aS as hn, aT as vn, aU as D, aV as we, aW as gn, aX as Pe, aY as An, aZ as pn, a_ as mn, a$ as ds } from "./utils-B7FniaI2.js";
|
|
35
35
|
import { c as wn } from "./spin-controller-WAwdTCCW.js";
|
|
36
36
|
import { a as bn } from "./sparkles-CTrQ372y.js";
|
|
37
37
|
import { i as Mt, j as Sn } from "./constants-BYsDpbRv.js";
|
|
@@ -353,7 +353,7 @@ function Nn(t, e) {
|
|
|
353
353
|
const s = Ct.get(t);
|
|
354
354
|
return s ? (Ct.delete(t), s(e)) : Promise.resolve();
|
|
355
355
|
}
|
|
356
|
-
var ce,
|
|
356
|
+
var ce, ve, ne, Ne, _e, et, vt;
|
|
357
357
|
class kn {
|
|
358
358
|
/**
|
|
359
359
|
* @param {TemplateNode} anchor
|
|
@@ -363,7 +363,7 @@ class kn {
|
|
|
363
363
|
/** @type {TemplateNode} */
|
|
364
364
|
se(this, "anchor");
|
|
365
365
|
/** @type {Map<Batch, Key>} */
|
|
366
|
-
|
|
366
|
+
he(this, ce, /* @__PURE__ */ new Map());
|
|
367
367
|
/**
|
|
368
368
|
* Map of keys to effects that are currently rendered in the DOM.
|
|
369
369
|
* These effects are visible and actively part of the document tree.
|
|
@@ -378,37 +378,37 @@ class kn {
|
|
|
378
378
|
* Can result in the entries `true->Effect` and `false->Effect`
|
|
379
379
|
* @type {Map<Key, Effect>}
|
|
380
380
|
*/
|
|
381
|
-
|
|
381
|
+
he(this, ve, /* @__PURE__ */ new Map());
|
|
382
382
|
/**
|
|
383
383
|
* Similar to #onscreen with respect to the keys, but contains branches that are not yet
|
|
384
384
|
* in the DOM, because their insertion is deferred.
|
|
385
385
|
* @type {Map<Key, Branch>}
|
|
386
386
|
*/
|
|
387
|
-
|
|
387
|
+
he(this, ne, /* @__PURE__ */ new Map());
|
|
388
388
|
/**
|
|
389
389
|
* Keys of effects that are currently outroing
|
|
390
390
|
* @type {Set<Key>}
|
|
391
391
|
*/
|
|
392
|
-
|
|
392
|
+
he(this, Ne, /* @__PURE__ */ new Set());
|
|
393
393
|
/**
|
|
394
394
|
* Whether to pause (i.e. outro) on change, or destroy immediately.
|
|
395
395
|
* This is necessary for `<svelte:element>`
|
|
396
396
|
*/
|
|
397
|
-
|
|
397
|
+
he(this, _e, !0);
|
|
398
398
|
/**
|
|
399
399
|
* @param {Batch} batch
|
|
400
400
|
*/
|
|
401
|
-
|
|
401
|
+
he(this, et, (e) => {
|
|
402
402
|
if (b(this, ce).has(e)) {
|
|
403
403
|
var s = (
|
|
404
404
|
/** @type {Key} */
|
|
405
405
|
b(this, ce).get(e)
|
|
406
|
-
), n = b(this,
|
|
406
|
+
), n = b(this, ve).get(s);
|
|
407
407
|
if (n)
|
|
408
408
|
jt(n), b(this, Ne).delete(s);
|
|
409
409
|
else {
|
|
410
410
|
var r = b(this, ne).get(s);
|
|
411
|
-
r && (b(this,
|
|
411
|
+
r && (b(this, ve).set(s, r.effect), b(this, ne).delete(s), r.fragment.lastChild.remove(), this.anchor.before(r.fragment), n = r.effect);
|
|
412
412
|
}
|
|
413
413
|
for (const [i, l] of b(this, ce)) {
|
|
414
414
|
if (b(this, ce).delete(i), i === e)
|
|
@@ -416,7 +416,7 @@ class kn {
|
|
|
416
416
|
const a = b(this, ne).get(l);
|
|
417
417
|
a && (ut(a.effect), b(this, ne).delete(l));
|
|
418
418
|
}
|
|
419
|
-
for (const [i, l] of b(this,
|
|
419
|
+
for (const [i, l] of b(this, ve)) {
|
|
420
420
|
if (i === s || b(this, Ne).has(i)) continue;
|
|
421
421
|
const a = () => {
|
|
422
422
|
if (Array.from(b(this, ce).values()).includes(i)) {
|
|
@@ -424,7 +424,7 @@ class kn {
|
|
|
424
424
|
Ns(l, u), u.append(ke()), b(this, ne).set(i, { effect: l, fragment: u });
|
|
425
425
|
} else
|
|
426
426
|
ut(l);
|
|
427
|
-
b(this, Ne).delete(i), b(this,
|
|
427
|
+
b(this, Ne).delete(i), b(this, ve).delete(i);
|
|
428
428
|
};
|
|
429
429
|
b(this, _e) || !n ? (b(this, Ne).add(i), Vt(l, a, !1)) : a();
|
|
430
430
|
}
|
|
@@ -433,7 +433,7 @@ class kn {
|
|
|
433
433
|
/**
|
|
434
434
|
* @param {Batch} batch
|
|
435
435
|
*/
|
|
436
|
-
|
|
436
|
+
he(this, vt, (e) => {
|
|
437
437
|
b(this, ce).delete(e);
|
|
438
438
|
const s = Array.from(b(this, ce).values());
|
|
439
439
|
for (const [n, r] of b(this, ne))
|
|
@@ -451,7 +451,7 @@ class kn {
|
|
|
451
451
|
/** @type {Batch} */
|
|
452
452
|
Ws
|
|
453
453
|
), r = ks();
|
|
454
|
-
if (s && !b(this,
|
|
454
|
+
if (s && !b(this, ve).has(e) && !b(this, ne).has(e))
|
|
455
455
|
if (r) {
|
|
456
456
|
var i = document.createDocumentFragment(), l = ke();
|
|
457
457
|
i.append(l), b(this, ne).set(e, {
|
|
@@ -459,12 +459,12 @@ class kn {
|
|
|
459
459
|
fragment: i
|
|
460
460
|
});
|
|
461
461
|
} else
|
|
462
|
-
b(this,
|
|
462
|
+
b(this, ve).set(
|
|
463
463
|
e,
|
|
464
464
|
$e(() => s(this.anchor))
|
|
465
465
|
);
|
|
466
466
|
if (b(this, ce).set(n, e), r) {
|
|
467
|
-
for (const [a, o] of b(this,
|
|
467
|
+
for (const [a, o] of b(this, ve))
|
|
468
468
|
a === e ? n.unskip_effect(o) : n.skip_effect(o);
|
|
469
469
|
for (const [a, o] of b(this, ne))
|
|
470
470
|
a === e ? n.unskip_effect(o.effect) : n.skip_effect(o.effect);
|
|
@@ -473,7 +473,7 @@ class kn {
|
|
|
473
473
|
C && (this.anchor = V), b(this, et).call(this, n);
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
|
-
ce = new WeakMap(),
|
|
476
|
+
ce = new WeakMap(), ve = new WeakMap(), ne = new WeakMap(), Ne = new WeakMap(), _e = new WeakMap(), et = new WeakMap(), vt = new WeakMap();
|
|
477
477
|
function wi(t) {
|
|
478
478
|
Kt === null && Nr(), Oe(() => {
|
|
479
479
|
const e = Jt(t);
|
|
@@ -565,7 +565,7 @@ function Yt(t, e, s = !0) {
|
|
|
565
565
|
for (var r = 0; r < e.length; r++) {
|
|
566
566
|
var i = e[r];
|
|
567
567
|
if (n != null && n.has(i)) {
|
|
568
|
-
i.f |=
|
|
568
|
+
i.f |= ge;
|
|
569
569
|
const l = document.createDocumentFragment();
|
|
570
570
|
Ns(i, l);
|
|
571
571
|
} else
|
|
@@ -588,7 +588,7 @@ function Wt(t, e, s, n, r, i = null) {
|
|
|
588
588
|
return Rr(F) ? F : F == null ? [] : pt(F);
|
|
589
589
|
}), A, w = /* @__PURE__ */ new Map(), S = !0;
|
|
590
590
|
function B(F) {
|
|
591
|
-
I.effect.f & Us || (I.pending.delete(F), I.fallback = f, Tn(I, A, l, e, n), f !== null && (A.length === 0 ? f.f &
|
|
591
|
+
I.effect.f & Us || (I.pending.delete(F), I.fallback = f, Tn(I, A, l, e, n), f !== null && (A.length === 0 ? f.f & ge ? (f.f ^= ge, Ge(f, null, l)) : jt(f) : Vt(f, () => {
|
|
592
592
|
f = null;
|
|
593
593
|
})));
|
|
594
594
|
}
|
|
@@ -621,9 +621,9 @@ function Wt(t, e, s, n, r, i = null) {
|
|
|
621
621
|
r,
|
|
622
622
|
e,
|
|
623
623
|
s
|
|
624
|
-
), S || (N.e.f |=
|
|
624
|
+
), S || (N.e.f |= ge), a.set(W, N)), P.add(W);
|
|
625
625
|
}
|
|
626
|
-
if (F === 0 && i && !f && (S ? f = $e(() => i(l)) : (f = $e(() => i(Ce != null ? Ce : Ce = ke())), f.f |=
|
|
626
|
+
if (F === 0 && i && !f && (S ? f = $e(() => i(l)) : (f = $e(() => i(Ce != null ? Ce : Ce = ke())), f.f |= ge)), F > P.size && Qr(), C && F > 0 && Fe(Tt()), !S)
|
|
627
627
|
if (w.set(g, P), v) {
|
|
628
628
|
for (const [Y, H] of a)
|
|
629
629
|
P.has(Y) || g.skip_effect(H.e);
|
|
@@ -640,19 +640,19 @@ function ze(t) {
|
|
|
640
640
|
return t;
|
|
641
641
|
}
|
|
642
642
|
function Tn(t, e, s, n, r) {
|
|
643
|
-
var Q, W, N, Y, H,
|
|
643
|
+
var Q, W, N, Y, H, fe, Ae, Z, pe;
|
|
644
644
|
var i = (n & Cr) !== 0, l = e.length, a = t.items, o = ze(t.effect.first), u, f = null, p, A = [], w = [], S, B, h, m;
|
|
645
645
|
if (i)
|
|
646
646
|
for (m = 0; m < l; m += 1)
|
|
647
647
|
S = e[m], B = r(S, m), h = /** @type {EachItem} */
|
|
648
|
-
a.get(B).e, h.f &
|
|
648
|
+
a.get(B).e, h.f & ge || ((W = (Q = h.nodes) == null ? void 0 : Q.a) == null || W.measure(), (p != null ? p : p = /* @__PURE__ */ new Set()).add(h));
|
|
649
649
|
for (m = 0; m < l; m += 1) {
|
|
650
650
|
if (S = e[m], B = r(S, m), h = /** @type {EachItem} */
|
|
651
651
|
a.get(B).e, t.outrogroups !== null)
|
|
652
652
|
for (const X of t.outrogroups)
|
|
653
653
|
X.pending.delete(h), X.done.delete(h);
|
|
654
|
-
if (h.f & Pt && (jt(h), i && ((Y = (N = h.nodes) == null ? void 0 : N.a) == null || Y.unfix(), (p != null ? p : p = /* @__PURE__ */ new Set()).delete(h))), h.f &
|
|
655
|
-
if (h.f ^=
|
|
654
|
+
if (h.f & Pt && (jt(h), i && ((Y = (N = h.nodes) == null ? void 0 : N.a) == null || Y.unfix(), (p != null ? p : p = /* @__PURE__ */ new Set()).delete(h))), h.f & ge)
|
|
655
|
+
if (h.f ^= ge, h === o)
|
|
656
656
|
Ge(h, null, s);
|
|
657
657
|
else {
|
|
658
658
|
var I = f ? f.next : o;
|
|
@@ -679,7 +679,7 @@ function Tn(t, e, s, n, r) {
|
|
|
679
679
|
if (o === null)
|
|
680
680
|
continue;
|
|
681
681
|
}
|
|
682
|
-
h.f &
|
|
682
|
+
h.f & ge || A.push(h), f = h, o = ze(h.next);
|
|
683
683
|
}
|
|
684
684
|
if (t.outrogroups !== null) {
|
|
685
685
|
for (const X of t.outrogroups)
|
|
@@ -698,7 +698,7 @@ function Tn(t, e, s, n, r) {
|
|
|
698
698
|
var L = n & Ds && l === 0 ? s : null;
|
|
699
699
|
if (i) {
|
|
700
700
|
for (m = 0; m < v; m += 1)
|
|
701
|
-
(Ae = (
|
|
701
|
+
(Ae = (fe = g[m].nodes) == null ? void 0 : fe.a) == null || Ae.measure();
|
|
702
702
|
for (m = 0; m < v; m += 1)
|
|
703
703
|
(pe = (Z = g[m].nodes) == null ? void 0 : Z.a) == null || pe.fix();
|
|
704
704
|
}
|
|
@@ -724,7 +724,7 @@ function Dn(t, e, s, n, r, i, l, a) {
|
|
|
724
724
|
}
|
|
725
725
|
function Ge(t, e, s) {
|
|
726
726
|
if (t.nodes)
|
|
727
|
-
for (var n = t.nodes.start, r = t.nodes.end, i = e && !(e.f &
|
|
727
|
+
for (var n = t.nodes.start, r = t.nodes.end, i = e && !(e.f & ge) ? (
|
|
728
728
|
/** @type {EffectNodes} */
|
|
729
729
|
e.nodes.start
|
|
730
730
|
) : s; n !== null; ) {
|
|
@@ -1028,7 +1028,7 @@ function oe(t, e, s, n) {
|
|
|
1028
1028
|
function(k, J) {
|
|
1029
1029
|
if (arguments.length > 0) {
|
|
1030
1030
|
const P = J ? c(h) : r ? Dt(k) : k;
|
|
1031
|
-
return
|
|
1031
|
+
return K(h, P), B = !0, l !== void 0 && (l = P), k;
|
|
1032
1032
|
}
|
|
1033
1033
|
return Gr && B || m.f & Us ? h.v : c(h);
|
|
1034
1034
|
}
|
|
@@ -1046,9 +1046,9 @@ class Vn {
|
|
|
1046
1046
|
*/
|
|
1047
1047
|
constructor(e) {
|
|
1048
1048
|
/** @type {any} */
|
|
1049
|
-
|
|
1049
|
+
he(this, Se);
|
|
1050
1050
|
/** @type {Record<string, any>} */
|
|
1051
|
-
|
|
1051
|
+
he(this, le);
|
|
1052
1052
|
var i, l;
|
|
1053
1053
|
var s = /* @__PURE__ */ new Map(), n = (a, o) => {
|
|
1054
1054
|
var u = Rs(o, !1, !1);
|
|
@@ -1067,7 +1067,7 @@ class Vn {
|
|
|
1067
1067
|
},
|
|
1068
1068
|
set(a, o, u) {
|
|
1069
1069
|
var f;
|
|
1070
|
-
return
|
|
1070
|
+
return K((f = s.get(o)) != null ? f : n(o, u), u), Reflect.set(a, o, u);
|
|
1071
1071
|
}
|
|
1072
1072
|
}
|
|
1073
1073
|
);
|
|
@@ -1395,7 +1395,7 @@ var zs = { exports: {} };
|
|
|
1395
1395
|
this.$d.weeks && (Q += 7 * this.$d.weeks);
|
|
1396
1396
|
var W = F(Q, "D"), N = F(this.$d.hours, "H"), Y = F(this.$d.minutes, "M"), H = this.$d.seconds || 0;
|
|
1397
1397
|
this.$d.milliseconds && (H += this.$d.milliseconds / 1e3, H = Math.round(1e3 * H) / 1e3);
|
|
1398
|
-
var
|
|
1398
|
+
var fe = F(H, "S"), Ae = v.negative || L.negative || W.negative || N.negative || Y.negative || fe.negative, Z = N.format || Y.format || fe.format ? "T" : "", pe = (Ae ? "-" : "") + "P" + v.format + L.format + W.format + Z + N.format + Y.format + fe.format;
|
|
1399
1399
|
return pe === "P" || pe === "-P" ? "P0D" : pe;
|
|
1400
1400
|
}, g.toJSON = function() {
|
|
1401
1401
|
return this.toISOString();
|
|
@@ -1487,7 +1487,7 @@ function fi(t, e) {
|
|
|
1487
1487
|
const k = () => {
|
|
1488
1488
|
var T, E;
|
|
1489
1489
|
const d = ot(), y = ot((E = (T = i()) == null ? void 0 : T.next) == null ? void 0 : E.startTime), M = ot.duration(y.diff(d));
|
|
1490
|
-
|
|
1490
|
+
K(
|
|
1491
1491
|
I,
|
|
1492
1492
|
{
|
|
1493
1493
|
days: Math.floor(M.asDays()),
|
|
@@ -1508,20 +1508,20 @@ function fi(t, e) {
|
|
|
1508
1508
|
try {
|
|
1509
1509
|
yield Promise.all([c(g).decode(), c(v).decode()]);
|
|
1510
1510
|
const d = dn(c(g));
|
|
1511
|
-
|
|
1511
|
+
K(J, d.length === 2 ? d : [...Mt], !0);
|
|
1512
1512
|
} catch (d) {
|
|
1513
|
-
|
|
1513
|
+
K(J, [...Mt], !0);
|
|
1514
1514
|
}
|
|
1515
|
-
|
|
1515
|
+
K(P, !0);
|
|
1516
1516
|
}
|
|
1517
1517
|
});
|
|
1518
1518
|
Oe(() => {
|
|
1519
1519
|
o(), u(), c(g) && c(v) && L();
|
|
1520
1520
|
});
|
|
1521
|
-
let Q = _(void 0), W = _(void 0), N = _(void 0), Y = _(void 0), H = _(-1),
|
|
1521
|
+
let Q = _(void 0), W = _(void 0), N = _(void 0), Y = _(void 0), H = _(-1), fe = _(!1);
|
|
1522
1522
|
Oe(() => {
|
|
1523
1523
|
if (A() && !p() && c(P)) {
|
|
1524
|
-
const d = setTimeout(() =>
|
|
1524
|
+
const d = setTimeout(() => K(fe, !0), 2500);
|
|
1525
1525
|
return () => clearTimeout(d);
|
|
1526
1526
|
}
|
|
1527
1527
|
});
|
|
@@ -1536,13 +1536,13 @@ function fi(t, e) {
|
|
|
1536
1536
|
liteMode: h(),
|
|
1537
1537
|
sliceCount: () => f().length,
|
|
1538
1538
|
onSettled: (y) => {
|
|
1539
|
-
|
|
1539
|
+
K(H, y, !0);
|
|
1540
1540
|
},
|
|
1541
1541
|
onPrizeClear: () => {
|
|
1542
|
-
|
|
1542
|
+
K(H, -1), S(Ae), Ae = null, K(X, !1), B(!1);
|
|
1543
1543
|
},
|
|
1544
1544
|
onSpinAbort: () => {
|
|
1545
|
-
|
|
1545
|
+
K(X, !1), B(!1);
|
|
1546
1546
|
},
|
|
1547
1547
|
onDragRelease: (y) => {
|
|
1548
1548
|
mt(y);
|
|
@@ -1569,11 +1569,11 @@ function fi(t, e) {
|
|
|
1569
1569
|
})).json();
|
|
1570
1570
|
}), mt = (d) => qe(this, null, function* () {
|
|
1571
1571
|
if (c(X) || !Z) return;
|
|
1572
|
-
window.postMessage({ type: "event_wof_spin", name: i().name }, window.location.href),
|
|
1572
|
+
window.postMessage({ type: "event_wof_spin", name: i().name }, window.location.href), K(X, !0), B(!0), K(fe, !0), K(Ee, !1), Z.startFreeSpin(d);
|
|
1573
1573
|
let y = !1;
|
|
1574
1574
|
const M = setTimeout(
|
|
1575
1575
|
() => {
|
|
1576
|
-
y || (y = !0,
|
|
1576
|
+
y || (y = !0, K(Ee, !0), Z.abortSpin());
|
|
1577
1577
|
},
|
|
1578
1578
|
Sn
|
|
1579
1579
|
), T = hn();
|
|
@@ -1581,9 +1581,9 @@ function fi(t, e) {
|
|
|
1581
1581
|
const E = yield xs(T);
|
|
1582
1582
|
if (clearTimeout(M), y) return;
|
|
1583
1583
|
y = !0;
|
|
1584
|
-
const
|
|
1585
|
-
Ae = He(Je({},
|
|
1586
|
-
const O = Number(
|
|
1584
|
+
const j = vn(E, "draw");
|
|
1585
|
+
Ae = He(Je({}, j), { guid: T });
|
|
1586
|
+
const O = Number(j.wheelOfFortunePartitionIndex), $ = Number.isFinite(O) ? O : 0;
|
|
1587
1587
|
Z.landOnIndex($);
|
|
1588
1588
|
} catch (E) {
|
|
1589
1589
|
if (clearTimeout(M), y) return;
|
|
@@ -1675,28 +1675,28 @@ function fi(t, e) {
|
|
|
1675
1675
|
var _s = (d) => {
|
|
1676
1676
|
var y = Gn();
|
|
1677
1677
|
let M;
|
|
1678
|
-
var T = U(y), E = R(U(T), 2),
|
|
1679
|
-
D(
|
|
1678
|
+
var T = U(y), E = R(U(T), 2), j = U(E), O = U(j, !0);
|
|
1679
|
+
D(j), D(E), D(T), D(y), ee(
|
|
1680
1680
|
($) => {
|
|
1681
|
-
M = xe(y, 1, "swipe-hint-wrap", null, M, { hidden: c(
|
|
1681
|
+
M = xe(y, 1, "swipe-hint-wrap", null, M, { hidden: c(fe) }), ae(O, $);
|
|
1682
1682
|
},
|
|
1683
1683
|
[() => s()("swipeHint")]
|
|
1684
1684
|
), G(d, y);
|
|
1685
1685
|
};
|
|
1686
1686
|
be(Zt, (d) => {
|
|
1687
|
-
!p() && c(P) && d(_s);
|
|
1687
|
+
!p() && c(P) && A() && d(_s);
|
|
1688
1688
|
});
|
|
1689
1689
|
}
|
|
1690
1690
|
var st = R(Zt, 2);
|
|
1691
1691
|
let zt;
|
|
1692
1692
|
var xt = U(st);
|
|
1693
|
-
Ye(xt, (d) =>
|
|
1693
|
+
Ye(xt, (d) => K(N, d), () => c(N));
|
|
1694
1694
|
var Gt = R(xt, 2), rt = U(Gt), Xt = U(rt), $t = U(Xt);
|
|
1695
1695
|
{
|
|
1696
1696
|
var er = (d) => {
|
|
1697
1697
|
var y = $n();
|
|
1698
1698
|
Wt(y, 21, f, Lt, (M, T, E) => {
|
|
1699
|
-
const
|
|
1699
|
+
const j = we(() => {
|
|
1700
1700
|
const [De, Ve, nt] = gn(c(J)[E % c(J).length]);
|
|
1701
1701
|
return { c1: De, c2: Ve, c3: nt };
|
|
1702
1702
|
});
|
|
@@ -1704,7 +1704,7 @@ function fi(t, e) {
|
|
|
1704
1704
|
q(O, "id", `wof-segGrad-${E}`);
|
|
1705
1705
|
var $ = U(O), me = R($), Te = R(me);
|
|
1706
1706
|
D(O), ee(() => {
|
|
1707
|
-
q($, "stop-color", c(
|
|
1707
|
+
q($, "stop-color", c(j).c1), q(me, "stop-color", c(j).c2), q(Te, "stop-color", c(j).c3);
|
|
1708
1708
|
}), G(M, O);
|
|
1709
1709
|
}), D(y), G(d, y);
|
|
1710
1710
|
};
|
|
@@ -1714,14 +1714,14 @@ function fi(t, e) {
|
|
|
1714
1714
|
}
|
|
1715
1715
|
var tr = R($t);
|
|
1716
1716
|
Wt(tr, 17, f, Lt, (d, y, M) => {
|
|
1717
|
-
const T = we(() => M * c(m) + 0.35), E = we(() => (M + 1) * c(m) - 0.35),
|
|
1717
|
+
const T = we(() => M * c(m) + 0.35), E = we(() => (M + 1) * c(m) - 0.35), j = we(() => M * c(m) + c(m) / 2), O = we(() => An(0.58, c(j))), $ = we(() => pn(c(y))), me = we(() => mn(c(y))), Te = we(() => c(me) ? c(me).split(" ") : []);
|
|
1718
1718
|
var De = ii(), Ve = Ze(De), nt = R(Ve);
|
|
1719
1719
|
{
|
|
1720
1720
|
var ur = (z) => {
|
|
1721
|
-
var x = _n(),
|
|
1721
|
+
var x = _n(), de = Ze(x), Ie = R(de), Re = R(Ie), ie = R(Re);
|
|
1722
1722
|
ee(
|
|
1723
1723
|
(Ue, it, St, Bt) => {
|
|
1724
|
-
q(
|
|
1724
|
+
q(de, "d", Ue), q(Ie, "d", it), q(Re, "d", St), q(ie, "d", Bt);
|
|
1725
1725
|
},
|
|
1726
1726
|
[
|
|
1727
1727
|
() => Pe(c(T) + 0.55, c(E) - 0.55, 0.944, 0.237),
|
|
@@ -1738,7 +1738,7 @@ function fi(t, e) {
|
|
|
1738
1738
|
var rs = R(nt);
|
|
1739
1739
|
{
|
|
1740
1740
|
var cr = (z) => {
|
|
1741
|
-
var x = ti(),
|
|
1741
|
+
var x = ti(), de = Ze(x), Ie = R(de);
|
|
1742
1742
|
{
|
|
1743
1743
|
var Re = (ie) => {
|
|
1744
1744
|
var Ue = ei(), it = Ze(Ue), St = R(it);
|
|
@@ -1756,7 +1756,7 @@ function fi(t, e) {
|
|
|
1756
1756
|
h() || ie(Re);
|
|
1757
1757
|
});
|
|
1758
1758
|
}
|
|
1759
|
-
ee((ie) => q(
|
|
1759
|
+
ee((ie) => q(de, "d", ie), [
|
|
1760
1760
|
() => Pe(c(T) + 0.55, c(E) - 0.55, 0.948, 0.229)
|
|
1761
1761
|
]), G(z, x);
|
|
1762
1762
|
};
|
|
@@ -1780,11 +1780,11 @@ function fi(t, e) {
|
|
|
1780
1780
|
{
|
|
1781
1781
|
var hr = (z) => {
|
|
1782
1782
|
var x = ni();
|
|
1783
|
-
Wt(x, 21, () => c(Te), Lt, (
|
|
1783
|
+
Wt(x, 21, () => c(Te), Lt, (de, Ie, Re) => {
|
|
1784
1784
|
var ie = ri(), Ue = U(ie, !0);
|
|
1785
1785
|
D(ie), ee(() => {
|
|
1786
1786
|
q(ie, "dy", Re === 0 ? `${-((c(Te).length - 1) * 0.065)}` : "0.13"), ae(Ue, c(Ie));
|
|
1787
|
-
}), G(
|
|
1787
|
+
}), G(de, ie);
|
|
1788
1788
|
}), D(x), G(z, x);
|
|
1789
1789
|
};
|
|
1790
1790
|
be(dr, (z) => {
|
|
@@ -1793,37 +1793,37 @@ function fi(t, e) {
|
|
|
1793
1793
|
}
|
|
1794
1794
|
D(bt), ee(
|
|
1795
1795
|
(z) => {
|
|
1796
|
-
var x,
|
|
1797
|
-
q(Ve, "d", z), q(Ve, "fill", h() ? c(J)[M % c(J).length] : `url(#wof-segGrad-${M})`), q(bt, "transform", `translate(${(x = c(O).x) != null ? x : ""},${(
|
|
1796
|
+
var x, de;
|
|
1797
|
+
q(Ve, "d", z), q(Ve, "fill", h() ? c(J)[M % c(J).length] : `url(#wof-segGrad-${M})`), q(bt, "transform", `translate(${(x = c(O).x) != null ? x : ""},${(de = c(O).y) != null ? de : ""}) rotate(${c(j) - 90})`);
|
|
1798
1798
|
},
|
|
1799
1799
|
[() => Pe(c(T), c(E))]
|
|
1800
1800
|
), G(d, De);
|
|
1801
|
-
}), ds(3), D(Xt), D(rt), Ye(rt, (d) =>
|
|
1801
|
+
}), ds(3), D(Xt), D(rt), Ye(rt, (d) => K(W, d), () => c(W));
|
|
1802
1802
|
var wt = R(rt, 2);
|
|
1803
|
-
Ye(wt, (d) =>
|
|
1803
|
+
Ye(wt, (d) => K(v, d), () => c(v));
|
|
1804
1804
|
var Le = R(wt, 4);
|
|
1805
1805
|
let _t;
|
|
1806
1806
|
var es = U(Le);
|
|
1807
|
-
Ye(es, (d) =>
|
|
1807
|
+
Ye(es, (d) => K(g, d), () => c(g)), D(Le), Ye(Le, (d) => K(Y, d), () => c(Y));
|
|
1808
1808
|
var sr = R(Le, 2);
|
|
1809
1809
|
{
|
|
1810
1810
|
var rr = (d) => {
|
|
1811
1811
|
var y = ai(), M = U(y), T = U(M, !0);
|
|
1812
1812
|
D(M);
|
|
1813
|
-
var E = R(M, 2),
|
|
1813
|
+
var E = R(M, 2), j = U(E, !0);
|
|
1814
1814
|
D(E), D(y), ee(
|
|
1815
1815
|
(O, $) => {
|
|
1816
|
-
ae(T, O), ae(
|
|
1816
|
+
ae(T, O), ae(j, $);
|
|
1817
1817
|
},
|
|
1818
1818
|
[() => s()("loginTitle"), () => s()("loginDescription")]
|
|
1819
1819
|
), G(d, y);
|
|
1820
1820
|
}, nr = (d) => {
|
|
1821
1821
|
var y = oi(), M = U(y), T = U(M, !0);
|
|
1822
1822
|
D(M);
|
|
1823
|
-
var E = R(M, 2),
|
|
1823
|
+
var E = R(M, 2), j = U(E, !0);
|
|
1824
1824
|
D(E), D(y), ee(
|
|
1825
1825
|
(O, $) => {
|
|
1826
|
-
ae(T, O), ae(
|
|
1826
|
+
ae(T, O), ae(j, $);
|
|
1827
1827
|
},
|
|
1828
1828
|
[
|
|
1829
1829
|
() => s()("nextAvailable"),
|
|
@@ -1840,12 +1840,12 @@ function fi(t, e) {
|
|
|
1840
1840
|
}, ir = (d) => {
|
|
1841
1841
|
var y = li(), M = U(y), T = U(M, !0);
|
|
1842
1842
|
D(M);
|
|
1843
|
-
var E = R(M, 2),
|
|
1843
|
+
var E = R(M, 2), j = U(E, !0);
|
|
1844
1844
|
D(E);
|
|
1845
1845
|
var O = R(E, 2), $ = U(O, !0);
|
|
1846
1846
|
D(O), D(y), ee(
|
|
1847
1847
|
(me, Te, De) => {
|
|
1848
|
-
ae(T, me), ae(
|
|
1848
|
+
ae(T, me), ae(j, Te), ae($, De);
|
|
1849
1849
|
},
|
|
1850
1850
|
[
|
|
1851
1851
|
() => s()("timeoutTitle"),
|
|
@@ -1853,22 +1853,22 @@ function fi(t, e) {
|
|
|
1853
1853
|
() => s()("close")
|
|
1854
1854
|
]
|
|
1855
1855
|
), Ft("click", O, () => {
|
|
1856
|
-
|
|
1856
|
+
K(Ee, !1), K(X, !1), B(!1), Z == null || Z.reset();
|
|
1857
1857
|
}), G(d, y);
|
|
1858
1858
|
};
|
|
1859
1859
|
be(sr, (d) => {
|
|
1860
1860
|
p() ? d(rr) : A() ? c(Ee) && d(ir, 2) : d(nr, 1);
|
|
1861
1861
|
});
|
|
1862
1862
|
}
|
|
1863
|
-
D(Gt), D(st), Ye(st, (d) =>
|
|
1863
|
+
D(Gt), D(st), Ye(st, (d) => K(Q, d), () => c(Q)), ds(2), D(tt);
|
|
1864
1864
|
var ts = R(tt, 2);
|
|
1865
1865
|
{
|
|
1866
1866
|
var ar = (d) => {
|
|
1867
1867
|
var y = ui(), M = U(y), T = R(M), E = R(U(T));
|
|
1868
1868
|
D(T), D(y), ee(
|
|
1869
|
-
(
|
|
1869
|
+
(j) => {
|
|
1870
1870
|
var O;
|
|
1871
|
-
ae(M, `${
|
|
1871
|
+
ae(M, `${j != null ? j : ""} `), ae(E, ` ${(O = i().current.remainingTimes) != null ? O : ""}`);
|
|
1872
1872
|
},
|
|
1873
1873
|
[() => s()("remainingSpins")]
|
|
1874
1874
|
), G(d, y);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/MiniGamesHub-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/MiniGamesHub-D7WWtj1H.cjs")).then(({default:t})=>{!customElements.get("mini-games-hub")&&customElements.define("mini-games-hub",t.element)})}
|
package/es2015/mini-games-hub.js
CHANGED
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/MiniGamesHub-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/MiniGamesHub-A_QU55Ox.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("mini-games-hub") && customElements.define("mini-games-hub", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/esnext/mini-games-hub.js
CHANGED