@everymatrix/mini-games-hub 0.1.12 → 0.1.14
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-gg1cVpsy.cjs → GameCard-BIn8BJ4U.cjs} +1 -1
- package/components/{GameCard-CXYqCpVb.js → GameCard-D3knomma.js} +1 -1
- package/components/{GameCard-ohf1jOQF.js → GameCard-Ds0FcnPp.js} +1 -1
- package/components/{MiniGamesHub-CSZ3An74.js → MiniGamesHub-BYJ7lK90.js} +3 -3
- package/components/{MiniGamesHub-4Wuwyw8q.js → MiniGamesHub-D3n-AyD7.js} +3 -3
- package/components/{MiniGamesHub-DeVy4J4_.cjs → MiniGamesHub-zNncMSFn.cjs} +1 -1
- package/components/{WheelOfFortune-DgJ0luD8.cjs → WheelOfFortune--4nTtnMR.cjs} +7 -20
- package/components/{WheelOfFortune-p9qTycTU.js → WheelOfFortune-BjNsD2ND.js} +70 -82
- package/components/{WheelOfFortune-Dr-yB2xY.js → WheelOfFortune-DkVQIxzg.js} +63 -75
- package/components/{WheelOfFortuneDrawResults-Ban46vUc.cjs → WheelOfFortuneDrawResults-1lzyxrks.cjs} +1 -1
- package/components/{WheelOfFortuneDrawResults-B7udZBEV.js → WheelOfFortuneDrawResults-DQweghnp.js} +1 -1
- package/components/{WheelOfFortuneDrawResults-CYRN0Phi.js → WheelOfFortuneDrawResults-dOeQDVub.js} +1 -1
- package/components/{WheelOfFortuneHistory-COB7C1nL.js → WheelOfFortuneHistory-CQZ9QtVt.js} +1 -1
- package/components/{WheelOfFortuneHistory-Cda9YIPp.cjs → WheelOfFortuneHistory-DZNPM57t.cjs} +1 -1
- package/components/{WheelOfFortuneHistory-T7NjHsHw.js → WheelOfFortuneHistory-DygZEtcR.js} +1 -1
- package/components/{WheelOfFortuneRules-Dyq7AefM.js → WheelOfFortuneRules-D3N1c8PX.js} +1 -1
- package/components/{WheelOfFortuneRules-DodXc6sB.js → WheelOfFortuneRules-DuiCet95.js} +1 -1
- package/components/{WheelOfFortuneRules-CeD2_BcF.cjs → WheelOfFortuneRules-VAMAiK0m.cjs} +1 -1
- package/components/{WheelOfFortuneWheel-B7DOhfW5.js → WheelOfFortuneWheel-BAR98ByP.js} +1 -1
- package/components/{WheelOfFortuneWheel-D2fKZ64n.js → WheelOfFortuneWheel-DxFn6jjg.js} +1 -1
- package/components/{WheelOfFortuneWheel-CqMnfWH6.cjs → WheelOfFortuneWheel-hSjxThyU.cjs} +1 -1
- package/components/{spin-controller-WAwdTCCW.js → spin-controller-BuBkKrNR.js} +31 -20
- package/components/spin-controller-CIshWmlA.cjs +1 -0
- package/components/{spin-controller-cbMEvhN0.js → spin-controller-REPdRwaB.js} +31 -20
- 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
- package/components/MiniGamesHub-C2510DM7.cjs +0 -94
- package/components/MiniGamesHub-C3xyZRdn.js +0 -1374
- package/components/MiniGamesHub-CQIi4Jso.js +0 -1399
- package/components/MiniGamesHub-CuvJDQTm.js +0 -1379
- package/components/MiniGamesHub-DFNKphI6.js +0 -1394
- package/components/MiniGamesHub-Du6B-YVK.cjs +0 -94
- package/components/WheelOfFortune-BV0VEpvD.js +0 -951
- package/components/WheelOfFortune-BWKtsKH4.cjs +0 -630
- package/components/WheelOfFortune-B_ZNJW34.js +0 -992
- package/components/spin-controller-DorW7-xf.cjs +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as Ae, c as Se, a as Ce, t as Pe, p, o as Te, i as ae, e as We, W as Fe, k as v, s as
|
|
2
|
-
import { D as
|
|
3
|
-
import { W as He } from "./WheelOfFortuneHistory-
|
|
4
|
-
import { W as Ve } from "./WheelOfFortuneDrawResults-
|
|
5
|
-
import { W as Ue } from "./WheelOfFortuneRules-
|
|
1
|
+
import { d as Ae, c as Se, a as Ce, t as Pe, p, o as Te, i as ae, e as We, W as Fe, k as v, s as F, r as Ge, l as oe, b as X, f as H, m as je, u as Le } from "./WheelOfFortuneWheel-BAR98ByP.js";
|
|
2
|
+
import { D as Me, aL as Re, aM as x, az as Ye, S as Ie, Z as n, ar as o, ae as Z, I as Ee, aY as G, aT as c, aO as De, aP as Oe, aS as y, aD as d, aQ as Xe, aW as s, b5 as Ze } from "./utils-d-JrZBJu.js";
|
|
3
|
+
import { W as He } from "./WheelOfFortuneHistory-CQZ9QtVt.js";
|
|
4
|
+
import { W as Ve } from "./WheelOfFortuneDrawResults-dOeQDVub.js";
|
|
5
|
+
import { W as Ue } from "./WheelOfFortuneRules-D3N1c8PX.js";
|
|
6
6
|
import { p as Ke } from "./constants-BYsDpbRv.js";
|
|
7
7
|
var Ne = H('<video autoplay="" loop="" playsinline=""><source type="video/mp4" class="svelte-17ly5gn"/></video>', 2), Qe = H("<button> </button>"), qe = H('<div><!> <button><svg width="14" height="13" viewBox="0 0 14 13" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-17ly5gn"><path d="M6.41602 0.508789C6.52096 0.508793 6.59652 0.539241 6.66797 0.602539C6.7386 0.67644 6.76557 0.747068 6.76562 0.837891C6.76562 0.932337 6.7377 1.00571 6.66113 1.08203H6.66016L2.52344 5.21777L1.6543 6.08691H12.3633C12.475 6.08691 12.5456 6.11894 12.6084 6.18164C12.6712 6.24445 12.7034 6.31429 12.7031 6.4248C12.7029 6.53664 12.67 6.60779 12.6064 6.67188C12.5449 6.73387 12.4767 6.76611 12.3662 6.76562H1.6543L2.52344 7.63477L6.68066 11.791C6.75777 11.8681 6.77865 11.933 6.77637 12.0098C6.77383 12.0944 6.7457 12.1683 6.66797 12.249C6.58857 12.3195 6.50864 12.3512 6.40918 12.3545C6.33349 12.357 6.26929 12.3368 6.19238 12.2598L0.592773 6.66016C0.553631 6.62101 0.537222 6.59146 0.530273 6.57227C0.516661 6.53445 0.508264 6.48865 0.508789 6.43164C0.509411 6.36947 0.519283 6.31813 0.53418 6.27539C0.539753 6.25947 0.553255 6.23167 0.591797 6.19336L6.19238 0.592773C6.24602 0.539241 6.30834 0.508789 6.41602 0.508789Z" stroke="white" stroke-width="1.018" class="svelte-17ly5gn"></path></svg> <p class="svelte-17ly5gn"> </p></button> <div><h3 class="svelte-17ly5gn"> </h3> <p class="svelte-17ly5gn"> </p></div> <div></div> <div class="svelte-17ly5gn"><!></div> <!></div>');
|
|
8
8
|
const Je = {
|
|
@@ -591,10 +591,10 @@ const Je = {
|
|
|
591
591
|
.wheel-container.is-lite .confetti {display:none;} .spin-button.is-lite {
|
|
592
592
|
animation: svelte-17ly5gn-buttonBreath 2400ms ease-in-out infinite !important;} .wheel-content {background-color:var(--color-primary-6, #301200);display:flex;flex-direction:column;align-items:center;width:100%;max-width:720px;margin:0 auto;isolation:isolate;gap:clamp(6px, 2vw, 12px);padding-bottom:clamp(20px, 15vw, 50px);overflow:hidden;min-height:calc(var(--wof-size, clamp(276px, 100vw, 430px)) + 400px);position:relative;} .wheel-content > *:not(.wheel-container):not(.wheel-video-background),
|
|
593
593
|
.wheel-content .spins-info,
|
|
594
|
-
.wheel-content .spin-button {transition:opacity 0.4s ease, filter 0.4s ease;} .wheel-content.wheel-background-halo {background-image:radial-gradient(circle at 50% 55%, rgba(var(--color-primary-2, 207, 120, 69), 0.78) 0 14%, rgba(var(--color-primary-4, 128, 60, 22), 0.7) 32%, rgba(var(--color-primary-6, 89, 24, 3), 0) 65%);}
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
594
|
+
.wheel-content .spin-button {transition:opacity 0.4s ease, filter 0.4s ease;} .wheel-content.wheel-background-halo {background-image:radial-gradient(circle at 50% 55%, rgba(var(--color-primary-2, 207, 120, 69), 0.78) 0 14%, rgba(var(--color-primary-4, 128, 60, 22), 0.7) 32%, rgba(var(--color-primary-6, 89, 24, 3), 0) 65%);} .wheel-content.is-spin-blocking {touch-action:none;} .wheel-content.is-spin-blocking > *:not(.wheel-container):not(.wheel-video-background),
|
|
595
|
+
.wheel-content.is-spin-blocking .spins-info,
|
|
596
|
+
.wheel-content.is-spin-blocking .spin-button {pointer-events:none;}
|
|
597
|
+
@media (pointer: coarse), (max-width: 640px) { .wheel-content.is-spin-fullscreen {touch-action:none;} .wheel-content.is-spin-fullscreen .wheel-container {scale:1.15;margin-block:0;transition:scale 0.8s cubic-bezier(0.22, 1, 0.36, 1), margin-block 0.6s cubic-bezier(0.22, 1, 0.36, 1);animation-play-state:paused;} .wheel-content.is-spin-fullscreen > *:not(.wheel-container):not(.wheel-video-background),
|
|
598
598
|
.wheel-content.is-spin-fullscreen .spins-info,
|
|
599
599
|
.wheel-content.is-spin-fullscreen .spin-button {opacity:0;pointer-events:none;filter:blur(4px);transition:opacity 0.5s ease, filter 0.5s ease;}
|
|
600
600
|
} .wheel-video-background {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;z-index:0;pointer-events:none;transition:opacity 0.3s ease;}
|
|
@@ -605,20 +605,7 @@ const Je = {
|
|
|
605
605
|
animation: svelte-17ly5gn-wheelBob 5000ms ease-in-out infinite;will-change:transform;} .spins-info {display:flex;align-items:center;gap:8px;font-size:clamp(14px, 4vw, 19px);font-weight:400;color:var(--color-text-default, rgba(238, 246, 255, 0.86));position:relative;z-index:2;} .spins-info .spins-count {display:flex;align-items:center;gap:6px;color:var(--color-text-brand, #ffcc00);font-weight:900;font-size:clamp(16px, 4.5vw, 20px);} .spins-info .spins-count-loader {display:inline-block;width:14px;height:14px;border:2px solid transparent;border-top-color:currentColor;border-right-color:currentColor;border-radius:50%;
|
|
606
606
|
animation: svelte-17ly5gn-wofSpinnerRotate 600ms linear infinite;} .countdown-text {color:var(--color-overlay-neutral-4, rgba(255, 255, 255, 0.6509803922));font-size:clamp(13px, 3.8vw, 18px);text-align:center;position:relative;z-index:2;} .countdown-text .time-segment {font-variant-numeric:tabular-nums;} .spin-button {min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);background:linear-gradient(180deg, var(--color-button-primary, #ffd91c) 0%, var(--color-button-primary-hover, #ffbf00) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-style:italic;font-weight:900;cursor:pointer;position:relative;z-index:2;
|
|
607
607
|
animation: svelte-17ly5gn-spinButtonZoomGlow 1800ms ease-in-out infinite;transform-origin:50% 50%;transition:opacity 260ms ease, transform 160ms ease, filter 160ms ease;} .spin-button:active {transform:translateY(2px) scale(0.98);animation-play-state:paused;} .spin-button:disabled {
|
|
608
|
-
animation: none;filter:saturate(0%);box-shadow:none;pointer-events:none;}
|
|
609
|
-
@keyframes svelte-17ly5gn-spinOverlayIn {
|
|
610
|
-
from {
|
|
611
|
-
opacity: 0;
|
|
612
|
-
}
|
|
613
|
-
to {
|
|
614
|
-
opacity: 1;
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
@keyframes svelte-17ly5gn-spinOverlayOut {
|
|
618
|
-
to {
|
|
619
|
-
opacity: 0;
|
|
620
|
-
}
|
|
621
|
-
} .draw-result-panel {flex:1;z-index:20;display:grid;place-items:center;padding:20px;text-align:center;overflow:hidden;width:100%;background:transparent;
|
|
608
|
+
animation: none;filter:saturate(0%);box-shadow:none;pointer-events:none;} .draw-result-panel {flex:1;z-index:20;display:grid;place-items:center;padding:20px;text-align:center;overflow:hidden;width:100%;background:transparent;
|
|
622
609
|
animation: svelte-17ly5gn-drawResultPop 420ms cubic-bezier(0.16, 0.92, 0.22, 1.04) both;} .draw-result-confetti-layer {position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;} .success-confetti-piece {--x: 50%;--tx: 0px;--rot: 0deg;--spin: 360deg;--hue: #ffd23e;--w: 8px;--h: 12px;--d: 1800ms;position:absolute;left:var(--x);top:-24px;width:var(--w);height:var(--h);border-radius:3px;background:var(--hue);filter:drop-shadow(0 0 5px rgba(255, 218, 74, 0.24));transform-origin:center;
|
|
623
610
|
animation: svelte-17ly5gn-successConfettiFall var(--d) cubic-bezier(0.16, 0.68, 0.2, 1) forwards;} .success-confetti-piece.is-diamond {border-radius:2px;transform:rotate(45deg);} .success-confetti-piece.is-ribbon {border-radius:8px 2px;} .draw-result-stack {width:100%;display:grid;justify-items:center;position:relative;z-index:2;transform:translateY(clamp(16px, 5vw, 30px));} .draw-result-stack img {width:60%;max-width:300px;} .draw-result-stack img.lose {filter:saturate(0%);} .coin {width:clamp(140px, 38vw, 196px);height:clamp(142px, 38.5vw, 198px);display:grid;place-items:center;border-radius:0;opacity:0;transform:translate3d(0, 18px, 0) scale(0.98);will-change:opacity, transform;
|
|
624
611
|
animation: svelte-17ly5gn-successElementIn 620ms cubic-bezier(0.16, 0.92, 0.22, 1) 90ms both;} .coin svg,
|
|
@@ -639,11 +626,11 @@ const Je = {
|
|
|
639
626
|
}`
|
|
640
627
|
};
|
|
641
628
|
function $e(V, i) {
|
|
642
|
-
|
|
643
|
-
const _ = () =>
|
|
644
|
-
|
|
645
|
-
const le = "https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4", t = p(i, "program", 7, null), g = p(i, "endpoint", 7, null), b = p(i, "session", 7, null),
|
|
646
|
-
let f = x(
|
|
629
|
+
Me(i, !0), Ce(V, Je);
|
|
630
|
+
const _ = () => De(Oe, "$_", ie), [ie, se] = Xe();
|
|
631
|
+
Re.extend(Pe);
|
|
632
|
+
const le = "https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4", t = p(i, "program", 7, null), g = p(i, "endpoint", 7, null), b = p(i, "session", 7, null), j = p(i, "outerWheelAsset", 7, null), L = p(i, "wheelButtonAsset", 7, null), M = p(i, "backgroundVideoAsset", 7, null), R = p(i, "language", 7, "en"), Y = p(i, "showBackButton", 7, !0), u = p(i, "liteMode", 7, !1), h = G(() => !g() || !t()), pe = G(() => !n(h) && (t()?.remainingTimes ?? 0) > 0), ce = G(() => n(h) ? Ke : t()?.partitions ?? []), l = ["history", "play", "rules"];
|
|
633
|
+
let f = x(Ye(l[1]));
|
|
647
634
|
const de = (e) => {
|
|
648
635
|
e !== n(f) && (e === l[0] ? window.postMessage(
|
|
649
636
|
{
|
|
@@ -659,18 +646,18 @@ function $e(V, i) {
|
|
|
659
646
|
availableSpins: t()?.remainingTimes || null
|
|
660
647
|
},
|
|
661
648
|
window.location.href
|
|
662
|
-
), o(
|
|
649
|
+
), o(I, !1), o(f, e, !0));
|
|
663
650
|
};
|
|
664
|
-
let m = x(null),
|
|
665
|
-
|
|
651
|
+
let m = x(null), B = x(!1), I = x(!1), E = x(!1), A = x(!1), S = x(!1);
|
|
652
|
+
Ie(() => {
|
|
666
653
|
if (!u()) {
|
|
667
|
-
if (n(
|
|
668
|
-
o(
|
|
669
|
-
else if (n(
|
|
670
|
-
o(
|
|
654
|
+
if (n(B))
|
|
655
|
+
o(A, !0), o(S, !1);
|
|
656
|
+
else if (n(A)) {
|
|
657
|
+
o(S, !0);
|
|
671
658
|
const e = setTimeout(
|
|
672
659
|
() => {
|
|
673
|
-
o(
|
|
660
|
+
o(A, !1), o(S, !1);
|
|
674
661
|
},
|
|
675
662
|
350
|
|
676
663
|
);
|
|
@@ -689,23 +676,23 @@ function $e(V, i) {
|
|
|
689
676
|
const re = w.items.find((Be) => Be.programId === t().id);
|
|
690
677
|
re && (z = +re.remainingTimes || 0);
|
|
691
678
|
}
|
|
692
|
-
const
|
|
679
|
+
const O = Ze({
|
|
693
680
|
...t(),
|
|
694
681
|
remainingTimes: z,
|
|
695
682
|
current: { ...t().current, remainingTimes: z }
|
|
696
683
|
});
|
|
697
|
-
window.postMessage({ type: "PrizeGameRemainingTimesUpdated", data:
|
|
684
|
+
window.postMessage({ type: "PrizeGameRemainingTimesUpdated", data: O }, "*");
|
|
698
685
|
} catch (a) {
|
|
699
686
|
console.log(a);
|
|
700
687
|
} finally {
|
|
701
|
-
o(
|
|
688
|
+
o(E, !1);
|
|
702
689
|
}
|
|
703
690
|
}, K = (e) => {
|
|
704
691
|
if (e.data)
|
|
705
692
|
switch (e.data.type) {
|
|
706
693
|
case "SpinAgain":
|
|
707
694
|
case "BackToWheel":
|
|
708
|
-
o(m, null), e.data.skipFetch ? o(
|
|
695
|
+
o(m, null), e.data.skipFetch ? o(E, !0) : U();
|
|
709
696
|
break;
|
|
710
697
|
}
|
|
711
698
|
};
|
|
@@ -740,34 +727,34 @@ function $e(V, i) {
|
|
|
740
727
|
b(e), d();
|
|
741
728
|
},
|
|
742
729
|
get outerWheelAsset() {
|
|
743
|
-
return
|
|
730
|
+
return j();
|
|
744
731
|
},
|
|
745
732
|
set outerWheelAsset(e = null) {
|
|
746
|
-
|
|
733
|
+
j(e), d();
|
|
747
734
|
},
|
|
748
735
|
get wheelButtonAsset() {
|
|
749
|
-
return
|
|
736
|
+
return L();
|
|
750
737
|
},
|
|
751
738
|
set wheelButtonAsset(e = null) {
|
|
752
|
-
|
|
739
|
+
L(e), d();
|
|
753
740
|
},
|
|
754
741
|
get backgroundVideoAsset() {
|
|
755
|
-
return
|
|
742
|
+
return M();
|
|
756
743
|
},
|
|
757
744
|
set backgroundVideoAsset(e = null) {
|
|
758
|
-
|
|
745
|
+
M(e), d();
|
|
759
746
|
},
|
|
760
747
|
get language() {
|
|
761
|
-
return
|
|
748
|
+
return R();
|
|
762
749
|
},
|
|
763
750
|
set language(e = "en") {
|
|
764
|
-
|
|
751
|
+
R(e), d();
|
|
765
752
|
},
|
|
766
753
|
get showBackButton() {
|
|
767
|
-
return
|
|
754
|
+
return Y();
|
|
768
755
|
},
|
|
769
756
|
set showBackButton(e = !0) {
|
|
770
|
-
|
|
757
|
+
Y(e), d();
|
|
771
758
|
},
|
|
772
759
|
get liteMode() {
|
|
773
760
|
return u();
|
|
@@ -775,9 +762,9 @@ function $e(V, i) {
|
|
|
775
762
|
set liteMode(e = !1) {
|
|
776
763
|
u(e), d();
|
|
777
764
|
}
|
|
778
|
-
},
|
|
765
|
+
}, C = qe();
|
|
779
766
|
let N;
|
|
780
|
-
var Q = c(
|
|
767
|
+
var Q = c(C);
|
|
781
768
|
{
|
|
782
769
|
var be = (e) => {
|
|
783
770
|
var r = Ne();
|
|
@@ -785,8 +772,8 @@ function $e(V, i) {
|
|
|
785
772
|
r.muted = !0;
|
|
786
773
|
var w = c(r);
|
|
787
774
|
s(r), Z(() => {
|
|
788
|
-
a = v(r, 1, "wheel-video-background svelte-17ly5gn", null, a, { "is-ready": n(
|
|
789
|
-
}), Le("canplay", r, () => o(
|
|
775
|
+
a = v(r, 1, "wheel-video-background svelte-17ly5gn", null, a, { "is-ready": n(I) }), je(w, "src", M() || le);
|
|
776
|
+
}), Le("canplay", r, () => o(I, !0)), X(e, r);
|
|
790
777
|
};
|
|
791
778
|
ae(Q, (e) => {
|
|
792
779
|
!u() && n(f) === l[1] && e(be);
|
|
@@ -796,28 +783,28 @@ function $e(V, i) {
|
|
|
796
783
|
let q;
|
|
797
784
|
var J = y(c(k), 2), ue = c(J, !0);
|
|
798
785
|
s(J), s(k);
|
|
799
|
-
var
|
|
786
|
+
var P = y(k, 2);
|
|
800
787
|
let $;
|
|
801
|
-
var
|
|
802
|
-
s(
|
|
803
|
-
var ee = y(
|
|
804
|
-
s(ee), s(
|
|
805
|
-
var
|
|
788
|
+
var D = c(P), he = c(D, !0);
|
|
789
|
+
s(D);
|
|
790
|
+
var ee = y(D, 2), we = c(ee, !0);
|
|
791
|
+
s(ee), s(P);
|
|
792
|
+
var T = y(P, 2);
|
|
806
793
|
let ne;
|
|
807
|
-
We(
|
|
794
|
+
We(T, 20, () => l, (e) => e, (e, r) => {
|
|
808
795
|
var a = Qe();
|
|
809
796
|
let w;
|
|
810
797
|
var z = c(a, !0);
|
|
811
798
|
s(a), Z(
|
|
812
|
-
(
|
|
813
|
-
w = v(a, 1, "tab svelte-17ly5gn", null, w, { active: n(f) === r }),
|
|
799
|
+
(O) => {
|
|
800
|
+
w = v(a, 1, "tab svelte-17ly5gn", null, w, { active: n(f) === r }), F(z, O);
|
|
814
801
|
},
|
|
815
802
|
[() => _()(r)]
|
|
816
803
|
), oe("click", a, () => de(r)), X(e, a);
|
|
817
|
-
}), s(
|
|
818
|
-
var
|
|
804
|
+
}), s(T);
|
|
805
|
+
var W = y(T, 2);
|
|
819
806
|
let te;
|
|
820
|
-
var xe = c(
|
|
807
|
+
var xe = c(W);
|
|
821
808
|
Fe(xe, {
|
|
822
809
|
get program() {
|
|
823
810
|
return t();
|
|
@@ -829,10 +816,10 @@ function $e(V, i) {
|
|
|
829
816
|
return b();
|
|
830
817
|
},
|
|
831
818
|
get outerWheelAsset() {
|
|
832
|
-
return
|
|
819
|
+
return j();
|
|
833
820
|
},
|
|
834
821
|
get wheelButtonAsset() {
|
|
835
|
-
return
|
|
822
|
+
return L();
|
|
836
823
|
},
|
|
837
824
|
get wheelSlices() {
|
|
838
825
|
return n(ce);
|
|
@@ -847,7 +834,7 @@ function $e(V, i) {
|
|
|
847
834
|
return u();
|
|
848
835
|
},
|
|
849
836
|
get remainingTimesLoading() {
|
|
850
|
-
return n(
|
|
837
|
+
return n(E);
|
|
851
838
|
},
|
|
852
839
|
onLogin: ge,
|
|
853
840
|
get spinResults() {
|
|
@@ -857,13 +844,13 @@ function $e(V, i) {
|
|
|
857
844
|
o(m, e, !0);
|
|
858
845
|
},
|
|
859
846
|
get spinActive() {
|
|
860
|
-
return n(
|
|
847
|
+
return n(B);
|
|
861
848
|
},
|
|
862
849
|
set spinActive(e) {
|
|
863
|
-
o(
|
|
850
|
+
o(B, e, !0);
|
|
864
851
|
}
|
|
865
|
-
}), s(
|
|
866
|
-
var ye = y(
|
|
852
|
+
}), s(W);
|
|
853
|
+
var ye = y(W, 2);
|
|
867
854
|
{
|
|
868
855
|
var ve = (e) => {
|
|
869
856
|
Ve(e, {
|
|
@@ -883,7 +870,7 @@ function $e(V, i) {
|
|
|
883
870
|
});
|
|
884
871
|
}, ke = (e) => {
|
|
885
872
|
{
|
|
886
|
-
let r =
|
|
873
|
+
let r = G(() => t()?.id);
|
|
887
874
|
He(e, {
|
|
888
875
|
get programId() {
|
|
889
876
|
return n(r);
|
|
@@ -902,7 +889,7 @@ function $e(V, i) {
|
|
|
902
889
|
return t();
|
|
903
890
|
},
|
|
904
891
|
get language() {
|
|
905
|
-
return
|
|
892
|
+
return R();
|
|
906
893
|
}
|
|
907
894
|
});
|
|
908
895
|
};
|
|
@@ -910,13 +897,14 @@ function $e(V, i) {
|
|
|
910
897
|
n(m) ? e(ve) : n(f) === l[0] ? e(ke, 1) : n(f) === l[2] && e(ze, 2);
|
|
911
898
|
});
|
|
912
899
|
}
|
|
913
|
-
s(
|
|
900
|
+
s(C), Z(
|
|
914
901
|
(e, r, a) => {
|
|
915
|
-
N = v(
|
|
916
|
-
"is-spin-
|
|
917
|
-
"is-spin-
|
|
902
|
+
N = v(C, 1, "wheel-content svelte-17ly5gn", null, N, {
|
|
903
|
+
"is-spin-blocking": n(B),
|
|
904
|
+
"is-spin-fullscreen": n(A),
|
|
905
|
+
"is-spin-exiting": n(S),
|
|
918
906
|
"wheel-background-halo": u() && n(f) === l[1]
|
|
919
|
-
}), q = v(k, 1, "back-button-container svelte-17ly5gn", null, q, { hidden: n(h) || !
|
|
907
|
+
}), q = v(k, 1, "back-button-container svelte-17ly5gn", null, q, { hidden: n(h) || !Y() }), F(ue, e), $ = v(P, 1, "wof-title svelte-17ly5gn", null, $, { hidden: n(m) }), F(he, r), F(we, a), ne = v(T, 1, "wof-tabs svelte-17ly5gn", null, ne, { hidden: n(h) || n(m) }), te = Ge(W, "", te, {
|
|
920
908
|
display: n(f) !== l[1] || n(m) ? "none" : "contents"
|
|
921
909
|
});
|
|
922
910
|
},
|
|
@@ -925,8 +913,8 @@ function $e(V, i) {
|
|
|
925
913
|
() => _()("wofTitle"),
|
|
926
914
|
() => _()("wofSubtitle")
|
|
927
915
|
]
|
|
928
|
-
), oe("click", k, fe), X(V,
|
|
929
|
-
var _e =
|
|
916
|
+
), oe("click", k, fe), X(V, C);
|
|
917
|
+
var _e = Ee(me);
|
|
930
918
|
return se(), _e;
|
|
931
919
|
}
|
|
932
920
|
Ae(["click"]);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var Ge = Object.defineProperty, je = Object.defineProperties;
|
|
2
2
|
var Le = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ce = Object.getOwnPropertySymbols;
|
|
4
|
-
var Re = Object.prototype.hasOwnProperty,
|
|
4
|
+
var Re = Object.prototype.hasOwnProperty, Me = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var de = (l, r, o) => r in l ? Ge(l, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : l[r] = o, K = (l, r) => {
|
|
6
6
|
for (var o in r || (r = {}))
|
|
7
7
|
Re.call(r, o) && de(l, o, r[o]);
|
|
8
8
|
if (ce)
|
|
9
9
|
for (var o of ce(r))
|
|
10
|
-
|
|
10
|
+
Me.call(r, o) && de(l, o, r[o]);
|
|
11
11
|
return l;
|
|
12
12
|
}, N = (l, r) => je(l, Le(r));
|
|
13
|
-
var ge = (l, r, o) => new Promise((
|
|
14
|
-
var
|
|
13
|
+
var ge = (l, r, o) => new Promise((Y, C) => {
|
|
14
|
+
var I = (s) => {
|
|
15
15
|
try {
|
|
16
16
|
c(o.next(s));
|
|
17
17
|
} catch (x) {
|
|
@@ -23,14 +23,14 @@ var ge = (l, r, o) => new Promise((I, C) => {
|
|
|
23
23
|
} catch (x) {
|
|
24
24
|
C(x);
|
|
25
25
|
}
|
|
26
|
-
}, c = (s) => s.done ?
|
|
26
|
+
}, c = (s) => s.done ? Y(s.value) : Promise.resolve(s.value).then(I, a);
|
|
27
27
|
c((o = o.apply(l, r)).next());
|
|
28
28
|
});
|
|
29
|
-
import { d as
|
|
30
|
-
import { D as Ke, aL as Ne, aM as z, az as Qe, S as qe, Z as n, ar as p, aO as _, aT as b, ae as q, I as Je, aX as
|
|
31
|
-
import { W as rn } from "./WheelOfFortuneHistory-
|
|
32
|
-
import { W as an } from "./WheelOfFortuneDrawResults-
|
|
33
|
-
import { W as on } from "./WheelOfFortuneRules-
|
|
29
|
+
import { d as Ye, c as Ie, a as Ee, t as De, p as m, o as Xe, i as fe, e as Oe, W as Ze, k as A, s as R, r as He, l as me, b as Q, f as J, m as Ve, u as Ue } from "./WheelOfFortuneWheel-DxFn6jjg.js";
|
|
30
|
+
import { D as Ke, aL as Ne, aM as z, az as Qe, S as qe, Z as n, ar as p, aO as _, aT as b, ae as q, I as Je, aX as M, aP as $e, aQ as en, aD as u, aR as nn, b5 as tn, aW as g } from "./utils-C7uxZXaZ.js";
|
|
31
|
+
import { W as rn } from "./WheelOfFortuneHistory-DygZEtcR.js";
|
|
32
|
+
import { W as an } from "./WheelOfFortuneDrawResults-DQweghnp.js";
|
|
33
|
+
import { W as on } from "./WheelOfFortuneRules-DuiCet95.js";
|
|
34
34
|
import { p as sn } from "./constants-BYsDpbRv.js";
|
|
35
35
|
var ln = J('<video autoplay="" loop="" playsinline=""><source type="video/mp4" class="svelte-17ly5gn"/></video>', 2), pn = J("<button> </button>"), cn = J('<div><!> <button><svg width="14" height="13" viewBox="0 0 14 13" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-17ly5gn"><path d="M6.41602 0.508789C6.52096 0.508793 6.59652 0.539241 6.66797 0.602539C6.7386 0.67644 6.76557 0.747068 6.76562 0.837891C6.76562 0.932337 6.7377 1.00571 6.66113 1.08203H6.66016L2.52344 5.21777L1.6543 6.08691H12.3633C12.475 6.08691 12.5456 6.11894 12.6084 6.18164C12.6712 6.24445 12.7034 6.31429 12.7031 6.4248C12.7029 6.53664 12.67 6.60779 12.6064 6.67188C12.5449 6.73387 12.4767 6.76611 12.3662 6.76562H1.6543L2.52344 7.63477L6.68066 11.791C6.75777 11.8681 6.77865 11.933 6.77637 12.0098C6.77383 12.0944 6.7457 12.1683 6.66797 12.249C6.58857 12.3195 6.50864 12.3512 6.40918 12.3545C6.33349 12.357 6.26929 12.3368 6.19238 12.2598L0.592773 6.66016C0.553631 6.62101 0.537222 6.59146 0.530273 6.57227C0.516661 6.53445 0.508264 6.48865 0.508789 6.43164C0.509411 6.36947 0.519283 6.31813 0.53418 6.27539C0.539753 6.25947 0.553255 6.23167 0.591797 6.19336L6.19238 0.592773C6.24602 0.539241 6.30834 0.508789 6.41602 0.508789Z" stroke="white" stroke-width="1.018" class="svelte-17ly5gn"></path></svg> <p class="svelte-17ly5gn"> </p></button> <div><h3 class="svelte-17ly5gn"> </h3> <p class="svelte-17ly5gn"> </p></div> <div></div> <div class="svelte-17ly5gn"><!></div> <!></div>');
|
|
36
36
|
const dn = {
|
|
@@ -619,10 +619,10 @@ const dn = {
|
|
|
619
619
|
.wheel-container.is-lite .confetti {display:none;} .spin-button.is-lite {
|
|
620
620
|
animation: svelte-17ly5gn-buttonBreath 2400ms ease-in-out infinite !important;} .wheel-content {background-color:var(--color-primary-6, #301200);display:flex;flex-direction:column;align-items:center;width:100%;max-width:720px;margin:0 auto;isolation:isolate;gap:clamp(6px, 2vw, 12px);padding-bottom:clamp(20px, 15vw, 50px);overflow:hidden;min-height:calc(var(--wof-size, clamp(276px, 100vw, 430px)) + 400px);position:relative;} .wheel-content > *:not(.wheel-container):not(.wheel-video-background),
|
|
621
621
|
.wheel-content .spins-info,
|
|
622
|
-
.wheel-content .spin-button {transition:opacity 0.4s ease, filter 0.4s ease;} .wheel-content.wheel-background-halo {background-image:radial-gradient(circle at 50% 55%, rgba(var(--color-primary-2, 207, 120, 69), 0.78) 0 14%, rgba(var(--color-primary-4, 128, 60, 22), 0.7) 32%, rgba(var(--color-primary-6, 89, 24, 3), 0) 65%);}
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
622
|
+
.wheel-content .spin-button {transition:opacity 0.4s ease, filter 0.4s ease;} .wheel-content.wheel-background-halo {background-image:radial-gradient(circle at 50% 55%, rgba(var(--color-primary-2, 207, 120, 69), 0.78) 0 14%, rgba(var(--color-primary-4, 128, 60, 22), 0.7) 32%, rgba(var(--color-primary-6, 89, 24, 3), 0) 65%);} .wheel-content.is-spin-blocking {touch-action:none;} .wheel-content.is-spin-blocking > *:not(.wheel-container):not(.wheel-video-background),
|
|
623
|
+
.wheel-content.is-spin-blocking .spins-info,
|
|
624
|
+
.wheel-content.is-spin-blocking .spin-button {pointer-events:none;}
|
|
625
|
+
@media (pointer: coarse), (max-width: 640px) { .wheel-content.is-spin-fullscreen {touch-action:none;} .wheel-content.is-spin-fullscreen .wheel-container {scale:1.15;margin-block:0;transition:scale 0.8s cubic-bezier(0.22, 1, 0.36, 1), margin-block 0.6s cubic-bezier(0.22, 1, 0.36, 1);animation-play-state:paused;} .wheel-content.is-spin-fullscreen > *:not(.wheel-container):not(.wheel-video-background),
|
|
626
626
|
.wheel-content.is-spin-fullscreen .spins-info,
|
|
627
627
|
.wheel-content.is-spin-fullscreen .spin-button {opacity:0;pointer-events:none;filter:blur(4px);transition:opacity 0.5s ease, filter 0.5s ease;}
|
|
628
628
|
} .wheel-video-background {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;z-index:0;pointer-events:none;transition:opacity 0.3s ease;}
|
|
@@ -633,20 +633,7 @@ const dn = {
|
|
|
633
633
|
animation: svelte-17ly5gn-wheelBob 5000ms ease-in-out infinite;will-change:transform;} .spins-info {display:flex;align-items:center;gap:8px;font-size:clamp(14px, 4vw, 19px);font-weight:400;color:var(--color-text-default, rgba(238, 246, 255, 0.86));position:relative;z-index:2;} .spins-info .spins-count {display:flex;align-items:center;gap:6px;color:var(--color-text-brand, #ffcc00);font-weight:900;font-size:clamp(16px, 4.5vw, 20px);} .spins-info .spins-count-loader {display:inline-block;width:14px;height:14px;border:2px solid transparent;border-top-color:currentColor;border-right-color:currentColor;border-radius:50%;
|
|
634
634
|
animation: svelte-17ly5gn-wofSpinnerRotate 600ms linear infinite;} .countdown-text {color:var(--color-overlay-neutral-4, rgba(255, 255, 255, 0.6509803922));font-size:clamp(13px, 3.8vw, 18px);text-align:center;position:relative;z-index:2;} .countdown-text .time-segment {font-variant-numeric:tabular-nums;} .spin-button {min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);background:linear-gradient(180deg, var(--color-button-primary, #ffd91c) 0%, var(--color-button-primary-hover, #ffbf00) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-style:italic;font-weight:900;cursor:pointer;position:relative;z-index:2;
|
|
635
635
|
animation: svelte-17ly5gn-spinButtonZoomGlow 1800ms ease-in-out infinite;transform-origin:50% 50%;transition:opacity 260ms ease, transform 160ms ease, filter 160ms ease;} .spin-button:active {transform:translateY(2px) scale(0.98);animation-play-state:paused;} .spin-button:disabled {
|
|
636
|
-
animation: none;filter:saturate(0%);box-shadow:none;pointer-events:none;}
|
|
637
|
-
@keyframes svelte-17ly5gn-spinOverlayIn {
|
|
638
|
-
from {
|
|
639
|
-
opacity: 0;
|
|
640
|
-
}
|
|
641
|
-
to {
|
|
642
|
-
opacity: 1;
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
@keyframes svelte-17ly5gn-spinOverlayOut {
|
|
646
|
-
to {
|
|
647
|
-
opacity: 0;
|
|
648
|
-
}
|
|
649
|
-
} .draw-result-panel {flex:1;z-index:20;display:grid;place-items:center;padding:20px;text-align:center;overflow:hidden;width:100%;background:transparent;
|
|
636
|
+
animation: none;filter:saturate(0%);box-shadow:none;pointer-events:none;} .draw-result-panel {flex:1;z-index:20;display:grid;place-items:center;padding:20px;text-align:center;overflow:hidden;width:100%;background:transparent;
|
|
650
637
|
animation: svelte-17ly5gn-drawResultPop 420ms cubic-bezier(0.16, 0.92, 0.22, 1.04) both;} .draw-result-confetti-layer {position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;} .success-confetti-piece {--x: 50%;--tx: 0px;--rot: 0deg;--spin: 360deg;--hue: #ffd23e;--w: 8px;--h: 12px;--d: 1800ms;position:absolute;left:var(--x);top:-24px;width:var(--w);height:var(--h);border-radius:3px;background:var(--hue);filter:drop-shadow(0 0 5px rgba(255, 218, 74, 0.24));transform-origin:center;
|
|
651
638
|
animation: svelte-17ly5gn-successConfettiFall var(--d) cubic-bezier(0.16, 0.68, 0.2, 1) forwards;} .success-confetti-piece.is-diamond {border-radius:2px;transform:rotate(45deg);} .success-confetti-piece.is-ribbon {border-radius:8px 2px;} .draw-result-stack {width:100%;display:grid;justify-items:center;position:relative;z-index:2;transform:translateY(clamp(16px, 5vw, 30px));} .draw-result-stack img {width:60%;max-width:300px;} .draw-result-stack img.lose {filter:saturate(0%);} .coin {width:clamp(140px, 38vw, 196px);height:clamp(142px, 38.5vw, 198px);display:grid;place-items:center;border-radius:0;opacity:0;transform:translate3d(0, 18px, 0) scale(0.98);will-change:opacity, transform;
|
|
652
639
|
animation: svelte-17ly5gn-successElementIn 620ms cubic-bezier(0.16, 0.92, 0.22, 1) 90ms both;} .coin svg,
|
|
@@ -667,13 +654,13 @@ const dn = {
|
|
|
667
654
|
}`
|
|
668
655
|
};
|
|
669
656
|
function gn(l, r) {
|
|
670
|
-
Ke(r, !0),
|
|
671
|
-
const o = () => $e(en, "$_",
|
|
672
|
-
Ne.extend(
|
|
673
|
-
const
|
|
657
|
+
Ke(r, !0), Ee(l, dn);
|
|
658
|
+
const o = () => $e(en, "$_", Y), [Y, C] = nn();
|
|
659
|
+
Ne.extend(De);
|
|
660
|
+
const I = "https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4", a = m(r, "program", 7, null), c = m(r, "endpoint", 7, null), s = m(r, "session", 7, null), x = m(r, "outerWheelAsset", 7, null), E = m(r, "wheelButtonAsset", 7, null), D = m(r, "backgroundVideoAsset", 7, null), X = m(r, "language", 7, "en"), O = m(r, "showBackButton", 7, !0), y = m(r, "liteMode", 7, !1), v = M(() => !c() || !a()), be = M(() => {
|
|
674
661
|
var e, t;
|
|
675
662
|
return !n(v) && ((t = (e = a()) == null ? void 0 : e.remainingTimes) != null ? t : 0) > 0;
|
|
676
|
-
}), ue =
|
|
663
|
+
}), ue = M(() => {
|
|
677
664
|
var e, t;
|
|
678
665
|
return n(v) ? sn : (t = (e = a()) == null ? void 0 : e.partitions) != null ? t : [];
|
|
679
666
|
}), f = ["history", "play", "rules"];
|
|
@@ -696,16 +683,16 @@ function gn(l, r) {
|
|
|
696
683
|
window.location.href
|
|
697
684
|
), p(Z, !1), p(h, e, !0));
|
|
698
685
|
};
|
|
699
|
-
let w = z(null),
|
|
686
|
+
let w = z(null), P = z(!1), Z = z(!1), H = z(!1), T = z(!1), W = z(!1);
|
|
700
687
|
qe(() => {
|
|
701
688
|
if (!y()) {
|
|
702
|
-
if (n(
|
|
703
|
-
p(
|
|
704
|
-
else if (n(
|
|
705
|
-
p(
|
|
689
|
+
if (n(P))
|
|
690
|
+
p(T, !0), p(W, !1);
|
|
691
|
+
else if (n(T)) {
|
|
692
|
+
p(W, !0);
|
|
706
693
|
const e = setTimeout(
|
|
707
694
|
() => {
|
|
708
|
-
p(
|
|
695
|
+
p(T, !1), p(W, !1);
|
|
709
696
|
},
|
|
710
697
|
350
|
|
711
698
|
);
|
|
@@ -744,7 +731,7 @@ function gn(l, r) {
|
|
|
744
731
|
break;
|
|
745
732
|
}
|
|
746
733
|
};
|
|
747
|
-
|
|
734
|
+
Xe(() => {
|
|
748
735
|
var e, t;
|
|
749
736
|
return window.postMessage(
|
|
750
737
|
{
|
|
@@ -784,28 +771,28 @@ function gn(l, r) {
|
|
|
784
771
|
x(e), u();
|
|
785
772
|
},
|
|
786
773
|
get wheelButtonAsset() {
|
|
787
|
-
return
|
|
774
|
+
return E();
|
|
788
775
|
},
|
|
789
776
|
set wheelButtonAsset(e = null) {
|
|
790
|
-
|
|
777
|
+
E(e), u();
|
|
791
778
|
},
|
|
792
779
|
get backgroundVideoAsset() {
|
|
793
|
-
return
|
|
780
|
+
return D();
|
|
794
781
|
},
|
|
795
782
|
set backgroundVideoAsset(e = null) {
|
|
796
|
-
|
|
783
|
+
D(e), u();
|
|
797
784
|
},
|
|
798
785
|
get language() {
|
|
799
|
-
return
|
|
786
|
+
return X();
|
|
800
787
|
},
|
|
801
788
|
set language(e = "en") {
|
|
802
|
-
|
|
789
|
+
X(e), u();
|
|
803
790
|
},
|
|
804
791
|
get showBackButton() {
|
|
805
|
-
return
|
|
792
|
+
return O();
|
|
806
793
|
},
|
|
807
794
|
set showBackButton(e = !0) {
|
|
808
|
-
|
|
795
|
+
O(e), u();
|
|
809
796
|
},
|
|
810
797
|
get liteMode() {
|
|
811
798
|
return y();
|
|
@@ -813,9 +800,9 @@ function gn(l, r) {
|
|
|
813
800
|
set liteMode(e = !1) {
|
|
814
801
|
y(e), u();
|
|
815
802
|
}
|
|
816
|
-
},
|
|
803
|
+
}, F = cn();
|
|
817
804
|
let ne;
|
|
818
|
-
var te = b(
|
|
805
|
+
var te = b(F);
|
|
819
806
|
{
|
|
820
807
|
var ve = (e) => {
|
|
821
808
|
var t = ln();
|
|
@@ -823,7 +810,7 @@ function gn(l, r) {
|
|
|
823
810
|
t.muted = !0;
|
|
824
811
|
var d = b(t);
|
|
825
812
|
g(t), q(() => {
|
|
826
|
-
i = A(t, 1, "wheel-video-background svelte-17ly5gn", null, i, { "is-ready": n(Z) }), Ve(d, "src",
|
|
813
|
+
i = A(t, 1, "wheel-video-background svelte-17ly5gn", null, i, { "is-ready": n(Z) }), Ve(d, "src", D() || I);
|
|
827
814
|
}), Ue("canplay", t, () => p(Z, !0)), Q(e, t);
|
|
828
815
|
};
|
|
829
816
|
fe(te, (e) => {
|
|
@@ -834,28 +821,28 @@ function gn(l, r) {
|
|
|
834
821
|
let re;
|
|
835
822
|
var ae = _(b(S), 2), ke = b(ae, !0);
|
|
836
823
|
g(ae), g(S);
|
|
837
|
-
var
|
|
824
|
+
var G = _(S, 2);
|
|
838
825
|
let oe;
|
|
839
|
-
var V = b(
|
|
826
|
+
var V = b(G), ze = b(V, !0);
|
|
840
827
|
g(V);
|
|
841
828
|
var ie = _(V, 2), _e = b(ie, !0);
|
|
842
|
-
g(ie), g(
|
|
843
|
-
var
|
|
829
|
+
g(ie), g(G);
|
|
830
|
+
var j = _(G, 2);
|
|
844
831
|
let se;
|
|
845
|
-
|
|
832
|
+
Oe(j, 20, () => f, (e) => e, (e, t) => {
|
|
846
833
|
var i = pn();
|
|
847
834
|
let d;
|
|
848
835
|
var k = b(i, !0);
|
|
849
836
|
g(i), q(
|
|
850
837
|
(B) => {
|
|
851
|
-
d = A(i, 1, "tab svelte-17ly5gn", null, d, { active: n(h) === t }),
|
|
838
|
+
d = A(i, 1, "tab svelte-17ly5gn", null, d, { active: n(h) === t }), R(k, B);
|
|
852
839
|
},
|
|
853
840
|
[() => o()(t)]
|
|
854
841
|
), me("click", i, () => he(t)), Q(e, i);
|
|
855
|
-
}), g(
|
|
856
|
-
var
|
|
842
|
+
}), g(j);
|
|
843
|
+
var L = _(j, 2);
|
|
857
844
|
let le;
|
|
858
|
-
var Be = b(
|
|
845
|
+
var Be = b(L);
|
|
859
846
|
Ze(Be, {
|
|
860
847
|
get program() {
|
|
861
848
|
return a();
|
|
@@ -870,7 +857,7 @@ function gn(l, r) {
|
|
|
870
857
|
return x();
|
|
871
858
|
},
|
|
872
859
|
get wheelButtonAsset() {
|
|
873
|
-
return
|
|
860
|
+
return E();
|
|
874
861
|
},
|
|
875
862
|
get wheelSlices() {
|
|
876
863
|
return n(ue);
|
|
@@ -895,13 +882,13 @@ function gn(l, r) {
|
|
|
895
882
|
p(w, e, !0);
|
|
896
883
|
},
|
|
897
884
|
get spinActive() {
|
|
898
|
-
return n(
|
|
885
|
+
return n(P);
|
|
899
886
|
},
|
|
900
887
|
set spinActive(e) {
|
|
901
|
-
p(
|
|
888
|
+
p(P, e, !0);
|
|
902
889
|
}
|
|
903
|
-
}), g(
|
|
904
|
-
var Ae = _(
|
|
890
|
+
}), g(L);
|
|
891
|
+
var Ae = _(L, 2);
|
|
905
892
|
{
|
|
906
893
|
var Se = (e) => {
|
|
907
894
|
an(e, {
|
|
@@ -921,7 +908,7 @@ function gn(l, r) {
|
|
|
921
908
|
});
|
|
922
909
|
}, Ce = (e) => {
|
|
923
910
|
{
|
|
924
|
-
let t =
|
|
911
|
+
let t = M(() => {
|
|
925
912
|
var i;
|
|
926
913
|
return (i = a()) == null ? void 0 : i.id;
|
|
927
914
|
});
|
|
@@ -943,7 +930,7 @@ function gn(l, r) {
|
|
|
943
930
|
return a();
|
|
944
931
|
},
|
|
945
932
|
get language() {
|
|
946
|
-
return
|
|
933
|
+
return X();
|
|
947
934
|
}
|
|
948
935
|
});
|
|
949
936
|
};
|
|
@@ -951,13 +938,14 @@ function gn(l, r) {
|
|
|
951
938
|
n(w) ? e(Se) : n(h) === f[0] ? e(Ce, 1) : n(h) === f[2] && e(Pe, 2);
|
|
952
939
|
});
|
|
953
940
|
}
|
|
954
|
-
g(
|
|
941
|
+
g(F), q(
|
|
955
942
|
(e, t, i) => {
|
|
956
|
-
ne = A(
|
|
957
|
-
"is-spin-
|
|
958
|
-
"is-spin-
|
|
943
|
+
ne = A(F, 1, "wheel-content svelte-17ly5gn", null, ne, {
|
|
944
|
+
"is-spin-blocking": n(P),
|
|
945
|
+
"is-spin-fullscreen": n(T),
|
|
946
|
+
"is-spin-exiting": n(W),
|
|
959
947
|
"wheel-background-halo": y() && n(h) === f[1]
|
|
960
|
-
}), re = A(S, 1, "back-button-container svelte-17ly5gn", null, re, { hidden: n(v) || !
|
|
948
|
+
}), re = A(S, 1, "back-button-container svelte-17ly5gn", null, re, { hidden: n(v) || !O() }), R(ke, e), oe = A(G, 1, "wof-title svelte-17ly5gn", null, oe, { hidden: n(w) }), R(ze, t), R(_e, i), se = A(j, 1, "wof-tabs svelte-17ly5gn", null, se, { hidden: n(v) || n(w) }), le = He(L, "", le, {
|
|
961
949
|
display: n(h) !== f[1] || n(w) ? "none" : "contents"
|
|
962
950
|
});
|
|
963
951
|
},
|
|
@@ -966,12 +954,12 @@ function gn(l, r) {
|
|
|
966
954
|
() => o()("wofTitle"),
|
|
967
955
|
() => o()("wofSubtitle")
|
|
968
956
|
]
|
|
969
|
-
), me("click", S, xe), Q(l,
|
|
957
|
+
), me("click", S, xe), Q(l, F);
|
|
970
958
|
var Te = Je(ye);
|
|
971
959
|
return C(), Te;
|
|
972
960
|
}
|
|
973
|
-
|
|
974
|
-
customElements.define("wheel-of-fortune",
|
|
961
|
+
Ye(["click"]);
|
|
962
|
+
customElements.define("wheel-of-fortune", Ie(
|
|
975
963
|
gn,
|
|
976
964
|
{
|
|
977
965
|
program: {},
|