@everymatrix/mini-games-hub 0.1.20 → 0.1.21

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.
@@ -0,0 +1,1016 @@
1
+ var Re = Object.defineProperty;
2
+ var se = Object.getOwnPropertySymbols;
3
+ var Ge = Object.prototype.hasOwnProperty, Xe = Object.prototype.propertyIsEnumerable;
4
+ var le = (s, t, o) => t in s ? Re(s, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[t] = o, pe = (s, t) => {
5
+ for (var o in t || (t = {}))
6
+ Ge.call(t, o) && le(s, o, t[o]);
7
+ if (se)
8
+ for (var o of se(t))
9
+ Xe.call(t, o) && le(s, o, t[o]);
10
+ return s;
11
+ };
12
+ import { d as Fe, c as Ce, a as Me, p as h, o as Te, i as ce, g as de, m as A, k as I, s as Z, r as D, e as Y, f as R, h as Ae, n as Ie } from "./WheelOfFortuneWheel-CDjrztMA.js";
13
+ import { G as Ze, aM as P, aC as De, aO as g, a0 as n, au as w, ah as E, L as Ee, aT as m, aX as L, aP as Le, aQ as He, aG as v, aR as Oe, b5 as $e, aW as p, b6 as qe } from "./utils-BJHloM10.js";
14
+ import { G as Ke } from "./GameHistory-BmChILXB.js";
15
+ import { G as Qe } from "./GameRules-lzdMrQZY.js";
16
+ import { D as Ue } from "./DrawResult-FwuHCP-y.js";
17
+ import { B as We } from "./BackButton-DWyr6ELs.js";
18
+ import { c as Je, f as Ne } from "./remaining-times-Dexper1E.js";
19
+ import { C as Ve } from "./CoinFlip-zzM-FtUg.js";
20
+ import { b as en } from "./bg-scene-DpHgKCHj.js";
21
+ var nn = R("<span></span>"), tn = R('<div class="coin-royale__ambient svelte-133ej82" aria-hidden="true"><div class="coin-royale__rays svelte-133ej82"></div> <div class="coin-royale__glow svelte-133ej82"></div> <div class="coin-royale__particles svelte-133ej82"></div></div>'), an = R('<button role="tab" type="button"> </button>'), rn = R('<div><div class="coin-royale__scene svelte-133ej82" aria-hidden="true"><img class="coin-royale__scene-img svelte-133ej82" alt="" draggable="false"/></div> <!> <!> <div class="coin-royale__heading svelte-133ej82"><h3 class="coin-royale__title svelte-133ej82"> </h3> <p class="coin-royale__subtitle svelte-133ej82"> </p></div> <div class="coin-royale__tabs svelte-133ej82" role="tablist"><div class="coin-royale__tab-indicator svelte-133ej82"></div> <!></div> <div class="svelte-133ej82"><!></div> <!></div>');
22
+ const on = {
23
+ hash: "svelte-133ej82",
24
+ code: `@keyframes svelte-133ej82-game-bob {
25
+ 0%, 100% {
26
+ transform: translateY(0);
27
+ }
28
+ 50% {
29
+ transform: translateY(-10px);
30
+ }
31
+ }
32
+ @keyframes svelte-133ej82-game-bg-drift {
33
+ 0%, 100% {
34
+ transform: scale(1.06) translate(0, 0);
35
+ }
36
+ 50% {
37
+ transform: scale(1.12) translate(-1.5%, -1%);
38
+ }
39
+ }
40
+ @keyframes svelte-133ej82-game-cta-glow {
41
+ 0%, 100% {
42
+ transform: scale(1);
43
+ filter: brightness(1);
44
+ 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);
45
+ }
46
+ 50% {
47
+ transform: scale(1.065);
48
+ filter: brightness(1.08);
49
+ box-shadow: 0 12px 18px rgba(0, 0, 0, 0.34), 0 0 24px rgba(255, 204, 0, 0.62), 0 0 44px rgba(255, 183, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.46);
50
+ }
51
+ }
52
+ @keyframes svelte-133ej82-cr-spinRays {
53
+ to {
54
+ transform: rotate(360deg);
55
+ }
56
+ }
57
+ @keyframes svelte-133ej82-cr-breathe {
58
+ 0%, 100% {
59
+ opacity: 0.7;
60
+ }
61
+ 50% {
62
+ opacity: 1;
63
+ }
64
+ }
65
+ @keyframes svelte-133ej82-cr-rise {
66
+ 0% {
67
+ transform: translateY(0) translateX(0);
68
+ opacity: 0;
69
+ }
70
+ 12% {
71
+ opacity: 0.85;
72
+ }
73
+ 100% {
74
+ transform: translateY(-640px) translateX(var(--drift, 20px));
75
+ opacity: 0;
76
+ }
77
+ }
78
+ @keyframes svelte-133ej82-cr-chevPulse {
79
+ 0%, 100% {
80
+ opacity: 0.25;
81
+ transform: translateY(0);
82
+ }
83
+ 50% {
84
+ opacity: 1;
85
+ transform: translateY(2px);
86
+ }
87
+ }
88
+ @keyframes svelte-133ej82-cr-fingerSwipe {
89
+ 0%, 100% {
90
+ transform: translateY(36px);
91
+ opacity: 0;
92
+ }
93
+ 15%, 35% {
94
+ opacity: 0.95;
95
+ }
96
+ 50% {
97
+ transform: translateY(-84px);
98
+ opacity: 0.95;
99
+ }
100
+ 65% {
101
+ opacity: 0;
102
+ }
103
+ }
104
+ @keyframes svelte-133ej82-cr-loaderSpin {
105
+ to {
106
+ transform: rotate(360deg);
107
+ }
108
+ } .coin-royale__stage {position:relative;width:100%;aspect-ratio:726/720;display:flex;align-items:center;justify-content:center;margin-top:20px;} .coin-royale__flip-zone {position:relative;width:clamp(135px, 45vw, 187.5px);aspect-ratio:1;perspective:1200px;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;will-change:transform, scale;
109
+ animation: svelte-133ej82-game-bob 5000ms ease-in-out infinite;transition:scale 500ms cubic-bezier(0.33, 1, 0.68, 1);} .coin-royale__flip-zone:active {cursor:grabbing;} .coin-royale__flip-zone:focus-visible {outline:2px solid var(--yellow);outline-offset:12px;border-radius:50%;} .coin-royale__flip-zone--disabled {cursor:default;pointer-events:none;filter:blur(3px) saturate(0.55) brightness(0.8);} .coin-royale__coin-shadow {position:absolute;bottom:-24px;left:50%;width:70%;height:24px;transform:translateX(-50%);background:radial-gradient(ellipse, rgba(1, 6, 16, 0.7) 0%, rgba(1, 6, 16, 0) 72%);border-radius:50%;transition:width 0.5s var(--ease), opacity 0.5s var(--ease);z-index:0;} .coin-royale__coin {position:relative;width:100%;height:100%;transform-style:preserve-3d;transform:rotateX(0deg);will-change:transform;} .coin-royale__flip-zone--settling,
110
+ .coin-royale__flip-zone--disabled {
111
+ animation: none;} .coin-royale__flip-zone--settling {scale:1.3333;} .coin-royale__face {position:absolute;inset:0;border-radius:50%;backface-visibility:hidden;-webkit-backface-visibility:hidden;display:flex;align-items:center;justify-content:center;} .coin-royale__face img {width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-drag:none;} .coin-royale__face--front {transform:translateZ(var(--half-t, 10px));} .coin-royale__face--back {transform:rotateX(180deg) translateZ(var(--half-t, 10px));} .coin-royale__face::after {content:"";position:absolute;inset:7%;border-radius:50%;background:radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 22%, rgba(255, 255, 255, 0) 46%);mix-blend-mode:screen;pointer-events:none;} .coin-royale__coin-edge {position:absolute;inset:0;transform-style:preserve-3d;pointer-events:none;} .coin-royale__edge-seg {position:absolute;top:50%;left:50%;backface-visibility:hidden;-webkit-backface-visibility:hidden;background:linear-gradient(to bottom, #fff3b0 0%, #ffd400 20%, #d9a413 50%, #ffdb52 78%, #8a6407 100%);box-shadow:inset 0 0 1px rgba(255, 255, 255, 0.25);} .coin-royale__edge-seg--a {background:linear-gradient(to bottom, #fff8c8 0%, #ffe040 20%, #f0b81c 50%, #ffe770 78%, #9c7508 100%);} .coin-royale__edge-seg--b {background:linear-gradient(to bottom, #e6d99a 0%, #e0bc00 20%, #be8f12 50%, #e0bc49 78%, #7a5706 100%);} .coin-royale__coin-drop-shadow {position:absolute;inset:0;border-radius:50%;box-shadow:0 18px 26px rgba(0, 0, 0, 0.42);transform:translateZ(calc(var(--half-t, 10px) * -1));pointer-events:none;} .coin-royale__drag-hint {position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:6px;margin:0;color:var(--white-dim);font-size:12.5px;font-weight:700;letter-spacing:0.03em;opacity:0.95;pointer-events:none;white-space:nowrap;} .coin-royale__chev {font-size:15px;line-height:1;color:var(--yellow);
112
+ animation: svelte-133ej82-cr-chevPulse 1.8s ease-in-out infinite;} .coin-royale__chev--down {animation-delay:0.15s;} .coin-royale__hint-text {margin:2px 0;} .coin-royale__finger-cue {position:absolute;left:50%;top:50%;width:45px;height:45px;color:var(--white);filter:drop-shadow(0 10px 16px rgba(0, 0, 0, 0.75));
113
+ animation: svelte-133ej82-cr-fingerSwipe 1.3s var(--ease) infinite;pointer-events:none;opacity:0.9;} .coin-royale__finger-cue--hidden {opacity:0;
114
+ animation: none;} .coin-royale__badge {position:absolute;top:55%;left:50%;transform:translate(-50%, -50%);z-index:8;width:58%;padding:10px 12px;border-radius:10px;text-align:center;background:rgba(4, 18, 43, 0.86);border:1px solid rgba(255, 255, 255, 0.14);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);} .coin-royale__badge-title {margin:0;color:#ffffff;font-size:12px;font-weight:700;letter-spacing:0.2px;} .coin-royale__badge-body {margin:0;color:var(--white-dim);font-size:10px;line-height:1.45;} .coin-royale__badge-countdown {margin:0;color:var(--white-dim);font-size:clamp(13px, 3.8vw, 18px);font-variant-numeric:tabular-nums;} .coin-royale__badge-close {margin-top:8px;padding:4px 14px;border-radius:6px;border:1px solid rgba(255, 255, 255, 0.22);background:rgba(255, 255, 255, 0.12);color:#ffffff;font-size:11px;font-weight:600;cursor:pointer;transition:background 150ms ease;} .coin-royale__badge-close:hover {background:rgba(255, 255, 255, 0.2);} .coin-royale.coin-royale--lite .coin-royale__flip-zone,
115
+ .coin-royale.coin-royale--lite .coin-royale__rays,
116
+ .coin-royale.coin-royale--lite .coin-royale__scene-img {
117
+ animation: none;}
118
+ @media (prefers-reduced-motion: reduce) { .coin-royale *,
119
+ .coin-royale *::before,
120
+ .coin-royale *::after {animation-duration:0.001ms !important;animation-iteration-count:1 !important;transition-duration:0.001ms !important;}
121
+ } .coin-royale {--yellow: var(--color-text-brand, #ffcc00);--white: var(--color-text-default, rgba(238, 246, 255, 0.96));--white-dim: var(--color-text-subtle, rgba(244, 248, 255, 0.75));--ease: cubic-bezier(0.22, 0.61, 0.32, 1);--cr-stage-h: max(820px, min(100dvh, 900px));--cr-bg-w: calc(var(--cr-stage-h) * 1.013);container-type:inline-size;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;width:100%;margin:0 auto;gap:clamp(6px, 2vw, 12px);padding-bottom:clamp(20px, 15vw, 50px);min-height:calc(var(--game-stage-size, clamp(276px, 100vw, 430px)) + 400px);flex-shrink:0;overflow:hidden;color:var(--white);background:transparent;} .coin-royale *,
122
+ .coin-royale *::before,
123
+ .coin-royale *::after {box-sizing:border-box;} .coin-royale.coin-royale--result .coin-royale__heading,
124
+ .coin-royale.coin-royale--result .coin-royale__tabs {display:none;} .coin-royale.coin-royale--plain .coin-royale__scene,
125
+ .coin-royale.coin-royale--plain .coin-royale__ambient {display:none;} .coin-royale.coin-royale--busy .game-back-button,
126
+ .coin-royale.coin-royale--busy .coin-royale__heading,
127
+ .coin-royale.coin-royale--busy .coin-royale__tabs,
128
+ .coin-royale.coin-royale--busy .coin-royale__drag-hint,
129
+ .coin-royale.coin-royale--busy .coin-royale__flips,
130
+ .coin-royale.coin-royale--busy .coin-royale__cta {opacity:0;filter:blur(4px);pointer-events:none;transition:opacity 0.4s ease, filter 0.4s ease;} .coin-royale__ambient {position:absolute;inset:0;overflow:hidden;pointer-events:none;} .coin-royale__rays {position:absolute;top:44%;left:50%;width:920px;height:920px;margin:-460px 0 0 -460px;background:conic-gradient(from 0deg, rgba(120, 180, 255, 0.1) 0deg 6deg, rgba(120, 180, 255, 0) 6deg 24deg, rgba(255, 212, 0, 0.06) 24deg 30deg, rgba(255, 212, 0, 0) 30deg 48deg, rgba(120, 180, 255, 0.09) 48deg 54deg, rgba(120, 180, 255, 0) 54deg 72deg);
131
+ animation: svelte-133ej82-cr-spinRays 70s linear infinite;mix-blend-mode:screen;z-index:0;pointer-events:none;} .coin-royale__glow {position:absolute;top:40%;left:50%;width:380px;height:380px;margin:-190px 0 0 -190px;border-radius:50%;background:radial-gradient(circle, rgba(140, 190, 255, 0.4) 0%, rgba(90, 150, 230, 0.16) 45%, rgba(90, 150, 230, 0) 72%);filter:blur(6px);
132
+ animation: svelte-133ej82-cr-breathe 4.5s ease-in-out infinite;z-index:0;pointer-events:none;} .coin-royale__particles {position:absolute;inset:0;z-index:0;pointer-events:none;} .coin-royale__spark {position:absolute;bottom:-10px;width:4px;height:4px;border-radius:50%;background:radial-gradient(circle, #fff6d8, #ffd400 70%, transparent 100%);opacity:0;
133
+ animation-name: svelte-133ej82-cr-rise;animation-timing-function:ease-in;animation-iteration-count:infinite;} .coin-royale__spark--blue {background:radial-gradient(circle, #eaf3ff, #7db2ff 70%, transparent 100%);} .coin-royale__scene {position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;-webkit-mask-image:linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);mask-image:linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);} .coin-royale__scene-img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 78%;filter:saturate(1.1) brightness(0.82);transform-origin:50% 78%;transform:scale(1.04);} .coin-royale:not(.coin-royale--result, .coin-royale--lite) .coin-royale__scene-img {
134
+ animation: svelte-133ej82-game-bg-drift 26s ease-in-out infinite;}
135
+ @container (min-width: 600px) { .coin-royale__scene,
136
+ .coin-royale__ambient {left:50%;right:auto;width:min(var(--cr-bg-w), 100cqw);transform:translateX(-50%);-webkit-mask-image:linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);mask-image:linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);}
137
+ } .coin-royale__heading {position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;gap:6px;} .coin-royale__title {margin:0;text-align:center;font-size:clamp(20px, 5.5vw, 28px);font-weight:900;line-height:1.05;color:var(--yellow);} .coin-royale__subtitle {margin:0 0 clamp(10px, 3vw, 16px);text-align:center;font-size:clamp(11px, 3vw, 14px);font-weight:500;line-height:1.25;color:var(--white);} .coin-royale__tabs {position:relative;z-index:2;display:flex;justify-content:center;width:90%;margin-bottom:12px;padding:6px;border-radius:50px;background-color:var(--color-tabs, rgba(251, 251, 251, 0.1019607843));} .coin-royale__tab-indicator {position:absolute;top:6px;bottom:6px;left:6px;width:calc((100% - 12px) / 3);border-radius:50px;background-color:var(--color-tabs-selected, rgba(251, 251, 251, 0.2));transition:transform 0.32s var(--ease);pointer-events:none;} .coin-royale__tab {position:relative;z-index:1;width:100%;padding:5px;border:none;border-radius:50px;background-color:transparent;color:var(--color-text-default, #ffffff);cursor:pointer;} .coin-royale__play {position:relative;z-index:1;width:var(--game-stage-size, clamp(276px, 70vw, 430px));} .coin-royale__flips {position:relative;z-index:2;display:flex;align-items:center;gap:8px;margin:clamp(10px, 5vw, 36px) 0 0;font-size:clamp(12px, 3.4vw, 14px);font-weight:400;color:var(--white);} .coin-royale__flips-count {display:flex;align-items:center;gap:6px;font-size:clamp(14px, 4vw, 16px);font-weight:900;color:var(--yellow);} .coin-royale__flips-icon {width:16px;height:16px;transform:rotateX(52deg) rotateZ(-18deg);filter:drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));} .coin-royale__flips-loader {display:inline-block;width:14px;height:14px;border:2px solid transparent;border-top-color:currentColor;border-right-color:currentColor;border-radius:50%;
138
+ animation: svelte-133ej82-cr-loaderSpin 600ms linear infinite;} .coin-royale__cta {position:relative;z-index:2;min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-weight:900;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);cursor:pointer;
139
+ animation: svelte-133ej82-game-cta-glow 1800ms ease-in-out infinite;transform-origin:50% 50%;transition:transform 0.15s ease, filter 0.15s ease;} .coin-royale__cta:active {transform:translateY(2px) scale(0.98);animation-play-state:paused;} .coin-royale__cta:disabled {
140
+ animation: none;filter:grayscale(0.5) brightness(0.75);box-shadow:none;cursor:default;}
141
+ @keyframes svelte-133ej82-game-bob {
142
+ 0%, 100% {
143
+ transform: translateY(0);
144
+ }
145
+ 50% {
146
+ transform: translateY(-10px);
147
+ }
148
+ }
149
+ @keyframes svelte-133ej82-game-bg-drift {
150
+ 0%, 100% {
151
+ transform: scale(1.06) translate(0, 0);
152
+ }
153
+ 50% {
154
+ transform: scale(1.12) translate(-1.5%, -1%);
155
+ }
156
+ }
157
+ @keyframes svelte-133ej82-game-cta-glow {
158
+ 0%, 100% {
159
+ transform: scale(1);
160
+ filter: brightness(1);
161
+ 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);
162
+ }
163
+ 50% {
164
+ transform: scale(1.065);
165
+ filter: brightness(1.08);
166
+ box-shadow: 0 12px 18px rgba(0, 0, 0, 0.34), 0 0 24px rgba(255, 204, 0, 0.62), 0 0 44px rgba(255, 183, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.46);
167
+ }
168
+ }
169
+ @keyframes svelte-133ej82-stageFloat {
170
+ 0%, 100% {
171
+ transform: translate3d(0, 0, 0) rotate(-0.12deg) scale(1);
172
+ }
173
+ 42% {
174
+ transform: translate3d(0, -4px, 0) rotate(0.16deg) scale(1.002);
175
+ }
176
+ 72% {
177
+ transform: translate3d(0, 2px, 0) rotate(-0.04deg) scale(0.999);
178
+ }
179
+ }
180
+ @keyframes svelte-133ej82-stageGlow {
181
+ 0%, 100% {
182
+ opacity: 0.46;
183
+ transform: scale(0.94);
184
+ filter: blur(27px);
185
+ }
186
+ 50% {
187
+ opacity: 0.68;
188
+ transform: scale(1.02);
189
+ filter: blur(31px);
190
+ }
191
+ }
192
+ @keyframes svelte-133ej82-glowOrbit {
193
+ 0%, 100% {
194
+ opacity: 0.13;
195
+ transform: scale(0.88) rotate(-8deg);
196
+ }
197
+ 50% {
198
+ opacity: 0.24;
199
+ transform: scale(0.95) rotate(5deg);
200
+ }
201
+ }
202
+ @keyframes svelte-133ej82-frameGlowBreath {
203
+ 0%, 100% {
204
+ opacity: 0.58;
205
+ transform: scale(0.94);
206
+ filter: blur(30px);
207
+ }
208
+ 48% {
209
+ opacity: 0.82;
210
+ transform: scale(1.03);
211
+ filter: blur(34px);
212
+ }
213
+ }
214
+ @keyframes svelte-133ej82-wheelDrop {
215
+ 0% {
216
+ transform: translateY(-60vh) scale(0.961) rotate(-9deg);
217
+ opacity: 0;
218
+ }
219
+ 70% {
220
+ transform: translateY(-20px) scale(1.012) rotate(2deg);
221
+ opacity: 1;
222
+ }
223
+ 86% {
224
+ transform: translateY(0px) scale(0.997) rotate(-0.6deg);
225
+ }
226
+ 100% {
227
+ transform: translateY(0) scale(1) rotate(0);
228
+ opacity: 1;
229
+ }
230
+ }
231
+ @keyframes svelte-133ej82-spinGlowPop {
232
+ 0% {
233
+ opacity: 0.56;
234
+ transform: scale(0.96);
235
+ filter: blur(25px);
236
+ }
237
+ 32% {
238
+ opacity: 0.92;
239
+ transform: scale(1.08);
240
+ filter: blur(31px);
241
+ }
242
+ 100% {
243
+ opacity: 0.58;
244
+ transform: scale(0.98);
245
+ filter: blur(27px);
246
+ }
247
+ }
248
+ @keyframes svelte-133ej82-glowPulse {
249
+ 0%, 100% {
250
+ opacity: 0.72;
251
+ transform: scale(0.95);
252
+ }
253
+ 50% {
254
+ opacity: 1;
255
+ transform: scale(1.12);
256
+ }
257
+ }
258
+ @keyframes svelte-133ej82-glowRing {
259
+ 0%, 100% {
260
+ opacity: 0.42;
261
+ transform: scale(0.92);
262
+ }
263
+ 50% {
264
+ opacity: 0.88;
265
+ transform: scale(1.18);
266
+ }
267
+ }
268
+ @keyframes svelte-133ej82-centerButtonSpinBreath {
269
+ 0%, 100% {
270
+ transform: scale(1);
271
+ filter: drop-shadow(0 9px 13px rgba(0, 0, 0, 0.34)) brightness(1);
272
+ }
273
+ 45% {
274
+ transform: scale(1.032);
275
+ filter: drop-shadow(0 11px 18px rgba(0, 0, 0, 0.36)) brightness(1.07);
276
+ }
277
+ }
278
+ @keyframes svelte-133ej82-middleButtonIdleZoomGlow {
279
+ 0%, 100% {
280
+ transform: scale(1);
281
+ filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.34)) drop-shadow(0 0 10px rgba(255, 212, 46, 0.22)) brightness(1);
282
+ }
283
+ 50% {
284
+ transform: scale(1.045);
285
+ filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.36)) drop-shadow(0 0 18px rgba(255, 212, 46, 0.42)) brightness(1.08);
286
+ }
287
+ }
288
+ @keyframes svelte-133ej82-middleButtonPress {
289
+ 0% {
290
+ transform: scale(1);
291
+ filter: drop-shadow(0 9px 13px rgba(0, 0, 0, 0.34)) brightness(1);
292
+ }
293
+ 28% {
294
+ transform: scale(0.91);
295
+ filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.36)) brightness(0.98);
296
+ }
297
+ 68% {
298
+ transform: scale(1.045);
299
+ filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.36)) brightness(1.08);
300
+ }
301
+ 100% {
302
+ transform: scale(1);
303
+ filter: drop-shadow(0 9px 13px rgba(0, 0, 0, 0.34)) brightness(1);
304
+ }
305
+ }
306
+ @keyframes svelte-133ej82-prizeStageGlow {
307
+ 0% {
308
+ opacity: 0.54;
309
+ transform: scale(0.96);
310
+ filter: blur(26px);
311
+ }
312
+ 22% {
313
+ opacity: 0.94;
314
+ transform: scale(1.06);
315
+ filter: blur(20px);
316
+ }
317
+ 100% {
318
+ opacity: 0.54;
319
+ transform: scale(0.96);
320
+ filter: blur(26px);
321
+ }
322
+ }
323
+ @keyframes svelte-133ej82-prizeFillGlow {
324
+ 0% {
325
+ opacity: 0;
326
+ transform: scale(0.982);
327
+ }
328
+ 8% {
329
+ opacity: 0.94;
330
+ transform: scale(1.008);
331
+ }
332
+ 24% {
333
+ opacity: 0.62;
334
+ transform: scale(0.997);
335
+ }
336
+ 42% {
337
+ opacity: 0.8;
338
+ transform: scale(1.006);
339
+ }
340
+ 60% {
341
+ opacity: 0.55;
342
+ transform: scale(0.999);
343
+ }
344
+ 78% {
345
+ opacity: 0.72;
346
+ transform: scale(1.004);
347
+ }
348
+ 100% {
349
+ opacity: 0;
350
+ transform: scale(0.99);
351
+ }
352
+ }
353
+ @keyframes svelte-133ej82-prizeEdgePulse {
354
+ 0% {
355
+ opacity: 0;
356
+ stroke-width: 0.035;
357
+ }
358
+ 8% {
359
+ opacity: 1;
360
+ stroke-width: 0.025;
361
+ }
362
+ 24% {
363
+ opacity: 0.88;
364
+ stroke-width: 0.035;
365
+ }
366
+ 42% {
367
+ opacity: 1;
368
+ stroke-width: 0.025;
369
+ }
370
+ 60% {
371
+ opacity: 0.85;
372
+ stroke-width: 0.035;
373
+ }
374
+ 78% {
375
+ opacity: 1;
376
+ stroke-width: 0.025;
377
+ }
378
+ 100% {
379
+ opacity: 0.85;
380
+ stroke-width: 0.035;
381
+ }
382
+ }
383
+ @keyframes svelte-133ej82-prizeDashDance {
384
+ 0% {
385
+ opacity: 0;
386
+ stroke-dashoffset: 12;
387
+ }
388
+ 10% {
389
+ opacity: 0.94;
390
+ }
391
+ 48% {
392
+ opacity: 0.78;
393
+ }
394
+ 82% {
395
+ opacity: 0.66;
396
+ }
397
+ 100% {
398
+ opacity: 0;
399
+ stroke-dashoffset: -26;
400
+ }
401
+ }
402
+ @keyframes svelte-133ej82-prizeSheenSweep {
403
+ 0% {
404
+ opacity: 0;
405
+ transform: translateX(-7px) scale(0.98);
406
+ }
407
+ 12% {
408
+ opacity: 0.58;
409
+ transform: translateX(-1px) scale(1.01);
410
+ }
411
+ 36% {
412
+ opacity: 0.22;
413
+ transform: translateX(3px) scale(1);
414
+ }
415
+ 62% {
416
+ opacity: 0.42;
417
+ transform: translateX(1px) scale(1.008);
418
+ }
419
+ 100% {
420
+ opacity: 0;
421
+ transform: translateX(8px) scale(0.99);
422
+ }
423
+ }
424
+ @keyframes svelte-133ej82-superPrizeStageGlow {
425
+ 0% {
426
+ transform: scale(0.96);
427
+ opacity: 0.2;
428
+ filter: blur(8px);
429
+ }
430
+ 45% {
431
+ transform: scale(1.13);
432
+ opacity: 0.86;
433
+ filter: blur(13px);
434
+ }
435
+ 100% {
436
+ transform: scale(1.03);
437
+ opacity: 0.45;
438
+ filter: blur(10px);
439
+ }
440
+ }
441
+ @keyframes svelte-133ej82-superPrizeFillGlow {
442
+ 0% {
443
+ opacity: 0.2;
444
+ transform: scale(0.96);
445
+ }
446
+ 32% {
447
+ opacity: 1;
448
+ transform: scale(1.045);
449
+ }
450
+ 66% {
451
+ opacity: 0.72;
452
+ transform: scale(1.015);
453
+ }
454
+ 100% {
455
+ opacity: 0.58;
456
+ transform: scale(1);
457
+ }
458
+ }
459
+ @keyframes svelte-133ej82-superPrizeSheenSweep {
460
+ 0% {
461
+ opacity: 0;
462
+ transform: scale(0.88) rotate(-5deg);
463
+ }
464
+ 34% {
465
+ opacity: 0.95;
466
+ transform: scale(1.08) rotate(2deg);
467
+ }
468
+ 100% {
469
+ opacity: 0.2;
470
+ transform: scale(1.16) rotate(7deg);
471
+ }
472
+ }
473
+ @keyframes svelte-133ej82-superPrizeEdgePulse {
474
+ 0% {
475
+ opacity: 0.4;
476
+ transform: scale(0.97);
477
+ }
478
+ 38% {
479
+ opacity: 1;
480
+ transform: scale(1.055);
481
+ }
482
+ 70% {
483
+ opacity: 0.86;
484
+ transform: scale(1.018);
485
+ }
486
+ 100% {
487
+ opacity: 0.72;
488
+ transform: scale(1);
489
+ }
490
+ }
491
+ @keyframes svelte-133ej82-superPrizeDashDance {
492
+ 0% {
493
+ opacity: 0;
494
+ stroke-dashoffset: 20;
495
+ transform: scale(0.95);
496
+ }
497
+ 18% {
498
+ opacity: 1;
499
+ }
500
+ 100% {
501
+ opacity: 0.76;
502
+ stroke-dashoffset: -42;
503
+ transform: scale(1.04);
504
+ }
505
+ }
506
+ @keyframes svelte-133ej82-buttonBreath {
507
+ 0%, 100% {
508
+ transform: scale(1);
509
+ }
510
+ 50% {
511
+ transform: scale(1.035);
512
+ }
513
+ }
514
+ @keyframes svelte-133ej82-buttonAura {
515
+ 0%, 100% {
516
+ filter: brightness(1) saturate(1);
517
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 -1px 0 rgba(83, 0, 18, 0.22), 0 4px 0 #710014, 0 13px 20px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 226, 135, 0.1);
518
+ }
519
+ 50% {
520
+ filter: brightness(1.035) saturate(1.04);
521
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(83, 0, 18, 0.18), 0 4px 0 #710014, 0 15px 24px rgba(0, 0, 0, 0.24), 0 0 18px rgba(255, 183, 36, 0.13);
522
+ }
523
+ }
524
+ @keyframes svelte-133ej82-buttonSheen {
525
+ 0%, 58%, 100% {
526
+ transform: translateX(-120%);
527
+ opacity: 0.22;
528
+ }
529
+ 72% {
530
+ transform: translateX(120%);
531
+ opacity: 0.42;
532
+ }
533
+ }
534
+ @keyframes svelte-133ej82-buttonPop {
535
+ 0% {
536
+ transform: translateY(2px) scale(0.985);
537
+ }
538
+ 48% {
539
+ transform: translateY(-2px) scale(1.018);
540
+ }
541
+ 100% {
542
+ transform: translateY(0) scale(1);
543
+ }
544
+ }
545
+ @keyframes svelte-133ej82-confettiFirework {
546
+ 0% {
547
+ opacity: 0;
548
+ transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
549
+ }
550
+ 9% {
551
+ opacity: 1;
552
+ transform: translate(calc(-50% + var(--tx) * 0.42), calc(-50% + var(--ty) * 0.42)) scale(1.18) rotate(calc(var(--rot) + var(--spin) * 0.24));
553
+ }
554
+ 28% {
555
+ opacity: 0.98;
556
+ transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1) rotate(calc(var(--rot) + var(--spin) * 0.56));
557
+ }
558
+ 72% {
559
+ opacity: 0.78;
560
+ transform: translate(calc(-50% + var(--tx) * 1.08), calc(-50% + var(--ty) + var(--fall) * 0.62)) scale(0.88) rotate(calc(var(--rot) + var(--spin) * 0.86));
561
+ }
562
+ 100% {
563
+ opacity: 0;
564
+ transform: translate(calc(-50% + var(--tx) * 1.14), calc(-50% + var(--ty) + var(--fall))) scale(0.62) rotate(calc(var(--rot) + var(--spin)));
565
+ }
566
+ }
567
+ @keyframes svelte-133ej82-swipeHandAcross {
568
+ 0%, 100% {
569
+ transform: translateX(-70px) rotate(-22deg);
570
+ opacity: 0.65;
571
+ }
572
+ 50% {
573
+ transform: translateX(70px) rotate(22deg);
574
+ opacity: 0.65;
575
+ }
576
+ 25%, 75% {
577
+ opacity: 1;
578
+ }
579
+ }
580
+ @keyframes svelte-133ej82-wofSpinnerFadeIn {
581
+ to {
582
+ opacity: 1;
583
+ }
584
+ }
585
+ @keyframes svelte-133ej82-wofSpinnerRotate {
586
+ to {
587
+ transform: rotate(360deg);
588
+ }
589
+ }
590
+ @keyframes svelte-133ej82-titleSparkle {
591
+ 0% {
592
+ opacity: 0;
593
+ transform: scale(0.2) rotate(0deg);
594
+ }
595
+ 40% {
596
+ opacity: 1;
597
+ transform: scale(1.4) rotate(35deg);
598
+ }
599
+ 100% {
600
+ opacity: 0;
601
+ transform: scale(0.6) translateY(-20px) rotate(75deg);
602
+ }
603
+ }
604
+ @keyframes svelte-133ej82-drawResultPop {
605
+ 0% {
606
+ opacity: 0;
607
+ transform: scale(0.92) translateY(8px);
608
+ }
609
+ 62% {
610
+ opacity: 1;
611
+ transform: scale(1.016) translateY(-2px);
612
+ }
613
+ 100% {
614
+ opacity: 1;
615
+ transform: scale(1) translateY(0);
616
+ }
617
+ }
618
+ @keyframes svelte-133ej82-successElementIn {
619
+ 0% {
620
+ opacity: 0;
621
+ transform: translate3d(0, 18px, 0) scale(0.98);
622
+ filter: blur(3px);
623
+ }
624
+ 70% {
625
+ opacity: 1;
626
+ transform: translate3d(0, -2px, 0) scale(1.01);
627
+ filter: blur(0);
628
+ }
629
+ 100% {
630
+ opacity: 1;
631
+ transform: translate3d(0, 0, 0) scale(1);
632
+ filter: blur(0);
633
+ }
634
+ }
635
+ @keyframes svelte-133ej82-successConfettiFall {
636
+ 0% {
637
+ opacity: 0;
638
+ transform: translate3d(-50%, -18px, 0) rotate(var(--rot)) scale(0.62);
639
+ }
640
+ 9% {
641
+ opacity: 1;
642
+ }
643
+ 46% {
644
+ opacity: 0.96;
645
+ transform: translate3d(calc(-50% + var(--tx) * 0.55), 48vh, 0) rotate(calc(var(--rot) + var(--spin) * 0.52)) scale(1);
646
+ }
647
+ 100% {
648
+ opacity: 0;
649
+ transform: translate3d(calc(-50% + var(--tx)), 108vh, 0) rotate(calc(var(--rot) + var(--spin))) scale(0.86);
650
+ }
651
+ }
652
+ @keyframes svelte-133ej82-prizeCoinFloatZoom {
653
+ 0%, 100% {
654
+ transform: translate3d(0, 0, 0) scale(1);
655
+ }
656
+ 50% {
657
+ transform: translate3d(0, -8px, 0) scale(1.065);
658
+ }
659
+ }
660
+ @media (prefers-reduced-motion: reduce) { .wheel-wrapper,
661
+ .wheel-wrapper::before,
662
+ .wheel-wrapper::after,
663
+ .drop-wrap,
664
+ .wheel-disc,
665
+ .center-button,
666
+ .button-glow,
667
+ .spin-button {
668
+ animation: none !important;}
669
+ } .wheel-wrapper {position:relative;isolation:isolate;width:100%;aspect-ratio:726/720;cursor:grab;transform-origin:50% 55%;
670
+ animation: svelte-133ej82-stageFloat 6400ms ease-in-out infinite;will-change:transform, filter;} .wheel-wrapper.is-assets-loading {opacity:0;pointer-events:none;} .wheel-wrapper.is-assets-loading .drop-wrap {animation-play-state:paused;} .wheel-wrapper::before, .wheel-wrapper::after {content:"";position:absolute;pointer-events:none;border-radius:50%;z-index:0;} .wheel-wrapper::before {inset:5% 0 3%;opacity:0.54;transform:scale(0.96);background:radial-gradient(circle at 50% 52%, rgba(255, 234, 113, 0.46) 0 14%, rgba(255, 147, 28, 0.24) 30%, rgba(255, 36, 76, 0.15) 48%, transparent 68%);filter:blur(26px);
671
+ animation: svelte-133ej82-stageGlow 3900ms ease-in-out infinite;} .wheel-wrapper::after {inset:15% 10% 8%;opacity:0.16;transform:scale(0.88) rotate(-8deg);border:1px solid rgba(255, 236, 148, 0.32);box-shadow:0 0 44px var(--color-overlay-primary-3, rgba(255, 191, 46, 0.28)), inset 0 0 32px rgba(255, 54, 83, 0.16);
672
+ animation: svelte-133ej82-glowOrbit 5600ms ease-in-out infinite;} .wheel-wrapper.is-dragging, .wheel-wrapper.is-dragging::before, .wheel-wrapper.is-dragging::after {animation-play-state:paused;} .wheel-wrapper:active {cursor:grabbing;} .wheel-wrapper.is-spinning::before {
673
+ animation: svelte-133ej82-spinGlowPop 920ms cubic-bezier(0.12, 0.92, 0.22, 1) both;} .wheel-wrapper.is-prize-hit::before {
674
+ animation: svelte-133ej82-prizeStageGlow 3600ms cubic-bezier(0.12, 0.92, 0.18, 1) both;} .wheel-wrapper.blurred .wheel-disc {filter:blur(3px);} .wheel-wrapper.blurred .button-glow {opacity:0 !important;
675
+ animation: none !important;} .wheel-wrapper.blurred .center-button {filter:blur(3px);pointer-events:none;} .wheel-wrapper.blurred .outer {filter:drop-shadow(0 0 18px var(--color-overlay-primary-5, rgba(255, 160, 0, 0.65))) drop-shadow(0 0 40px var(--color-overlay-primary-4, rgba(220, 100, 0, 0.35))) blur(3px);} .sparkle-layer {position:absolute;inset:-28%;z-index:6;pointer-events:none;overflow:visible;border-radius:50%;} .sparkle-layer::before {content:"";position:absolute;inset:20%;border-radius:50%;opacity:0;transform:scale(0.72);background:radial-gradient(circle at 50% 50%, rgba(255, 252, 187, 0.48) 0 4%, rgba(255, 205, 44, 0.26) 11%, rgba(255, 44, 82, 0.16) 31%, rgba(255, 141, 31, 0.08) 48%, transparent 72%);filter:blur(22px);transition:opacity 260ms ease, transform 980ms cubic-bezier(0.12, 0.82, 0.16, 1);} .sparkle-layer::after {content:"";position:absolute;inset:25%;border-radius:50%;opacity:0;transform:scale(0.48);border:1px solid rgba(255, 240, 140, 0.22);box-shadow:0 0 22px var(--color-overlay-primary-3, rgba(255, 200, 47, 0.24)), inset 0 0 20px rgba(255, 40, 82, 0.12);transition:opacity 300ms ease, transform 1050ms cubic-bezier(0.08, 0.7, 0.12, 1);} .wheel-wrapper.is-bursting .sparkle-layer::before {opacity:0.58;transform:scale(1.18);} .wheel-wrapper.is-bursting .sparkle-layer::after {opacity:0.32;transform:scale(1.34);} .sparkle,
676
+ .confetti {--tx: 0px;--ty: 0px;--fall: 80px;--rot: 0deg;--spin: 360deg;--hue: #ffd23e;position:absolute;left:var(--x);top:var(--y);width:var(--w);height:var(--h);border-radius:var(--radius, 3px);background:var(--hue);filter:drop-shadow(0 0 5px rgba(255, 218, 74, 0.36));transform-origin:center;
677
+ animation: svelte-133ej82-confettiFirework var(--d) cubic-bezier(0.08, 0.82, 0.12, 1) forwards;} .sparkle {aspect-ratio:1;height:auto;border-radius:50%;background:radial-gradient(circle, #fffdf0 0 15%, #fff175 23% 42%, rgba(255, 96, 28, 0.86) 54%, transparent 73%);} .sparkle::after {content:"";position:absolute;inset:-92%;background:linear-gradient(90deg, transparent 43%, rgba(255, 255, 255, 0.58) 49% 51%, transparent 57%), linear-gradient(0deg, transparent 43%, rgba(255, 255, 255, 0.58) 49% 51%, transparent 57%);transform:rotate(var(--rot));opacity:0.5;} .confetti.is-diamond {transform:rotate(45deg);} .confetti.is-ribbon {border-radius:8px 2px;} .drop-wrap {position:absolute;z-index:2;inset:0;isolation:isolate;transform-origin:50% 55%;
678
+ animation: svelte-133ej82-wheelDrop 1100ms cubic-bezier(0.16, 0.92, 0.23, 1.18) both;filter:drop-shadow(0 18px 25px rgba(0, 0, 0, 0.42));} .drop-wrap::before {content:"";position:absolute;z-index:0;left:50%;top:55.1%;width:88%;aspect-ratio:1;translate:-50% -50%;border-radius:50%;pointer-events:none;background:radial-gradient(circle, rgba(255, 236, 96, 0.56) 0 18%, rgba(255, 198, 35, 0.34) 36%, rgba(255, 152, 21, 0.18) 56%, transparent 74%);filter:blur(28px);opacity:0.68;transform:scale(0.96);
679
+ animation: svelte-133ej82-frameGlowBreath 3600ms ease-in-out infinite;} .wheel-disc {position:absolute;z-index:1;width:59%;aspect-ratio:1;left:50%;top:54%;translate:-50% -50%;border-radius:50%;overflow:hidden;background:radial-gradient(circle, #8c4b05 0 4%, #3b2008 4.5% 100%);box-shadow:inset 0 0 0 9px rgba(255, 236, 159, 0.58), inset 0 0 0 17px rgba(121, 65, 15, 0.92), inset 0 0 30px rgba(0, 0, 0, 0.38), 0 0 28px var(--color-overlay-primary-3, rgba(255, 183, 36, 0.28));will-change:transform;touch-action:none;transform:rotate(var(--wheel-rotation, 0deg));} .segments-svg {width:100%;height:100%;display:block;} .segment {stroke:rgba(255, 236, 151, 0.66);stroke-width:0.018;stroke-linejoin:round;vector-effect:non-scaling-stroke;} .segment-surface-depth {fill:rgba(47, 13, 0, 0.22);opacity:0.82;mix-blend-mode:multiply;pointer-events:none;} .segment-surface-shine {fill:rgba(255, 255, 255, 0.1);mix-blend-mode:plus-lighter;pointer-events:none;} .segment-edge-shadow {fill:none;stroke:rgba(65, 27, 0, 0.32);stroke-width:0.021;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:none;} .segment-edge-light {fill:none;stroke:rgba(255, 250, 198, 0.48);stroke-width:0.007;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:none;} .segment-label {pointer-events:none;user-select:none;font-weight:950;letter-spacing:0.035em;fill:#fff8d6;paint-order:stroke;stroke:rgba(76, 18, 0, 0.76);stroke-width:0.012;stroke-linejoin:round;} .segment-hit-fill,
680
+ .segment-hit-sheen,
681
+ .segment-hit-edge,
682
+ .segment-hit-spark-edge {pointer-events:none;transform-box:fill-box;transform-origin:center;} .segment-hit-fill {fill:rgb(255, 244, 145);filter:drop-shadow(0 0 4px rgba(255, 231, 93, 0.74));
683
+ animation: svelte-133ej82-prizeFillGlow 6400ms cubic-bezier(0.12, 0.92, 0.18, 1) both;} .segment-hit-edge {fill:none;stroke:rgba(255, 252, 211, 0.98);stroke-width:0.05;stroke-linejoin:round;filter:drop-shadow(0 0 2px rgba(255, 245, 174, 0.94)) drop-shadow(0 0 8px rgba(255, 154, 28, 0.62));
684
+ animation: svelte-133ej82-prizeEdgePulse 6400ms cubic-bezier(0.12, 0.92, 0.18, 1) both;} .segment-hit-spark-edge {fill:none;stroke:rgba(255, 185, 44, 0.7);stroke-width:0.008;stroke-linejoin:round;stroke-dasharray:0.048 0.031;filter:drop-shadow(0 0 4px var(--color-overlay-primary-5, rgba(255, 210, 58, 0.6)));
685
+ animation: svelte-133ej82-prizeDashDance 6400ms linear both;} .outer {position:absolute;z-index:3;inset:0;width:75%;height:100%;left:12.5%;object-fit:contain;pointer-events:none;user-select:none;filter:drop-shadow(0 0 18px var(--color-overlay-primary-5, rgba(255, 160, 0, 0.65))) drop-shadow(0 0 40px var(--color-overlay-primary-4, rgba(220, 100, 0, 0.35)));} .button-glow {position:absolute;z-index:4;width:38%;aspect-ratio:1;left:50%;top:55.1%;translate:-50% -50%;border-radius:50%;background:radial-gradient(circle, rgba(255, 248, 174, 0.94) 0 7%, rgba(255, 209, 54, 0.72) 13%, rgba(255, 48, 78, 0.46) 34%, rgba(255, 122, 23, 0.22) 52%, transparent 72%);filter:blur(10px);
686
+ animation: svelte-133ej82-glowPulse 1700ms ease-in-out infinite;pointer-events:none;mix-blend-mode:screen;} .button-glow::before, .button-glow::after {content:"";position:absolute;inset:6%;border-radius:50%;background:radial-gradient(circle, rgba(255, 239, 127, 0.62), transparent 62%);filter:blur(16px);
687
+ animation: svelte-133ej82-glowRing 2300ms ease-in-out infinite;} .button-glow::after {inset:-10%;opacity:0.55;animation-duration:2900ms;animation-delay:-900ms;} .center-button {position:absolute;z-index:5;width:17%;left:50%;top:54%;translate:-50% -50%;padding:0;border:none;background:transparent;pointer-events:auto;user-select:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;filter:drop-shadow(0 9px 13px rgba(0, 0, 0, 0.34));transform:scale(1);transform-origin:center;transition:filter 180ms ease, transform 180ms cubic-bezier(0.2, 0.9, 0.22, 1);} .center-button img {width:100%;height:auto;display:block;pointer-events:none;} .center-button:not(.is-pressing) {
688
+ animation: svelte-133ej82-middleButtonIdleZoomGlow 1450ms ease-in-out infinite;} .center-button.is-pressing {
689
+ animation: svelte-133ej82-middleButtonPress 560ms cubic-bezier(0.16, 0.95, 0.22, 1) both;} .center-button:hover {filter:drop-shadow(0 10px 16px rgba(0, 0, 0, 0.36)) brightness(1.05);} .center-button:active {transform:scale(0.94);filter:drop-shadow(0 5px 9px rgba(0, 0, 0, 0.32)) brightness(0.98);} .center-button:focus-visible {outline:3px solid rgba(255, 237, 126, 0.78);outline-offset:5px;border-radius:50%;} .center-button:disabled {pointer-events:none;} .wheel-wrapper.is-spin-active .center-button:not(.is-pressing) {
690
+ animation: svelte-133ej82-centerButtonSpinBreath 1050ms ease-in-out infinite;} .session-badge {position:absolute;top:55%;left:50%;transform:translate(-50%, -50%);z-index:8;width:58%;padding:10px 12px;background:rgba(8, 4, 0, 0.78);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);border:1px solid rgba(255, 255, 255, 0.1);border-radius:10px;text-align:center;} .session-badge .session-badge-title {color:#ffffff;font-size:12px;font-weight:700;letter-spacing:0.2px;} .session-badge .session-badge-body {color:rgba(255, 255, 255, 0.6509803922);font-size:10px;line-height:1.45;margin:0;} .session-badge .session-badge-close {margin-top:8px;padding:4px 14px;background:rgba(255, 255, 255, 0.12);border:1px solid rgba(255, 255, 255, 0.22);border-radius:6px;color:#ffffff;font-size:11px;font-weight:600;cursor:pointer;transition:background 150ms ease;} .session-badge .session-badge-close:hover {background:rgba(255, 255, 255, 0.2);} .wheel-loading-spinner {position:absolute;top:54%;left:50%;translate:-50% -50%;opacity:0;transition:opacity 300ms ease;pointer-events:none;z-index:10;} .wheel-loading-spinner::before {content:"";display:block;width:clamp(44px, 11vw, 60px);height:clamp(44px, 11vw, 60px);border-radius:50%;border:2px solid rgba(255, 220, 100, 0.12);border-top-color:rgba(255, 210, 50, 0.65);
691
+ animation: svelte-133ej82-wofSpinnerRotate 900ms linear infinite;} .wheel-wrapper.is-assets-loading ~ .wheel-loading-spinner {
692
+ animation: svelte-133ej82-wofSpinnerFadeIn 300ms ease 700ms forwards;} .swipe-hint-wrap {position:absolute;inset:0;z-index:8;pointer-events:none;transition:opacity 600ms ease, transform 600ms ease;} .swipe-hint {position:relative;width:100%;height:70%;display:flex;align-items:center;justify-content:center;} .swipe-hand {display:inline-block;font-size:clamp(52px, 14vw, 72px);line-height:1;filter:drop-shadow(0 4px 14px rgba(0, 0, 0, 0.873));transform-origin:50% 80%;
693
+ animation: svelte-133ej82-swipeHandAcross 3000ms ease-in-out infinite;} .swipe-label {position:absolute;bottom:9%;left:50%;transform:translateX(-50%);display:inline-flex;align-items:center;justify-content:center;padding:clamp(5px, 1.5vw, 6px) clamp(11px, 3.3vw, 14px);border-radius:999px;background:rgba(0, 0, 0, 0.739);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 9px 20px rgba(0, 18, 40, 0.2);backdrop-filter:blur(2px);} .swipe-text {color:rgba(238, 246, 255, 0.78);font-size:clamp(12px, 3.1vw, 14px);font-weight:750;text-shadow:0 2px 7px rgba(0, 21, 45, 0.55);white-space:nowrap;} .swipe-hint-wrap.hidden {opacity:0;transform:translateY(-12px);pointer-events:none;}
694
+ @media (pointer: fine) and (min-width: 641px) { .swipe-hint-wrap {display:none;}
695
+ }
696
+ @media (pointer: coarse), (max-width: 640px) { .wheel-wrapper {
697
+ animation: none !important;filter:none;transform:translateZ(0);will-change:transform;} .wheel-wrapper::before, .wheel-wrapper::after {
698
+ animation: none !important;filter:none !important;opacity:0 !important;} .drop-wrap {filter:drop-shadow(0 12px 14px rgba(0, 0, 0, 0.34));transform:translateZ(0);will-change:transform;} .drop-wrap::before {
699
+ animation: none !important;filter:none !important;opacity:0 !important;} .sparkle-layer::before,
700
+ .sparkle-layer::after,
701
+ .button-glow,
702
+ .button-glow::before,
703
+ .button-glow::after {
704
+ animation: none !important;filter:none !important;opacity:0 !important;} .wheel-disc {backface-visibility:hidden;transform:translateZ(0) rotate(var(--wheel-rotation, 0deg));will-change:transform;} .segment-hit-fill,
705
+ .segment-hit-edge,
706
+ .segment-hit-spark-edge,
707
+ .sparkle,
708
+ .confetti,
709
+ .center-button {filter:none !important;} .segment-hit-fill,
710
+ .segment-hit-edge,
711
+ .segment-hit-spark-edge {animation-duration:1800ms !important;}
712
+ }
713
+ @keyframes svelte-133ej82-liteHitPulse {
714
+ 0%, 100% {
715
+ opacity: 0.5;
716
+ }
717
+ 50% {
718
+ opacity: 1;
719
+ }
720
+ } .wheel-container.is-lite .wheel-wrapper {
721
+ animation: wheelBob 3200ms ease-in-out infinite !important;will-change:transform;filter:none;} .wheel-container.is-lite .wheel-wrapper::before, .wheel-container.is-lite .wheel-wrapper::after {
722
+ animation: none !important;filter:none !important;opacity:0 !important;} .wheel-container.is-lite .drop-wrap {filter:drop-shadow(0 12px 14px rgba(0, 0, 0, 0.34));} .wheel-container.is-lite .drop-wrap::before {
723
+ animation: none !important;filter:none !important;opacity:0 !important;} .wheel-container.is-lite .sparkle-layer {display:none;} .wheel-container.is-lite .button-glow {
724
+ animation: none !important;filter:none !important;opacity:0 !important;} .wheel-container.is-lite .button-glow::before, .wheel-container.is-lite .button-glow::after {
725
+ animation: none !important;filter:none !important;opacity:0 !important;} .wheel-container.is-lite .center-button {
726
+ animation: none !important;filter:drop-shadow(0 9px 13px rgba(0, 0, 0, 0.34)) !important;} .wheel-container.is-lite .center-button.is-pressing {
727
+ animation: svelte-133ej82-middleButtonPress 560ms cubic-bezier(0.16, 0.95, 0.22, 1) both !important;} .wheel-container.is-lite .wheel-wrapper.is-spin-active .center-button:not(.is-pressing) {
728
+ animation: none !important;} .wheel-container.is-lite .segment-hit-fill {filter:none !important;
729
+ animation: svelte-133ej82-liteHitPulse 1200ms ease-in-out infinite !important;} .wheel-container.is-lite .session-badge {backdrop-filter:none;-webkit-backdrop-filter:none;} .wheel-container.is-lite .outer {filter:none;} .wheel-container.is-lite .sparkle,
730
+ .wheel-container.is-lite .confetti {display:none;} .spin-button.is-lite {
731
+ animation: svelte-133ej82-buttonBreath 2400ms ease-in-out infinite !important;} .wheel-content {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(--game-stage-size, clamp(276px, 100vw, 430px)) + 400px);position:relative;} .wheel-content > *:not(.wheel-container):not(.wheel-video-background),
732
+ .wheel-content .spins-info,
733
+ .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),
734
+ .wheel-content.is-spin-blocking .spins-info,
735
+ .wheel-content.is-spin-blocking .spin-button {pointer-events:none;}
736
+ @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),
737
+ .wheel-content.is-spin-fullscreen .spins-info,
738
+ .wheel-content.is-spin-fullscreen .spin-button {opacity:0;pointer-events:none;filter:blur(4px);transition:opacity 0.5s ease, filter 0.5s ease;}
739
+ } .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;}
740
+ @media (max-width: 719px) { .wheel-video-background {-webkit-mask-image:linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);mask-image:linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);}
741
+ }
742
+ @media (min-width: 720px) { .wheel-video-background {-webkit-mask-image:linear-gradient(to right, transparent, black 15%, black 85%, transparent);mask-image:linear-gradient(to right, transparent, black 15%, black 85%, transparent);}
743
+ } .wheel-video-background.is-ready {opacity:0.2;} .wof-title {display:flex;flex-direction:column;justify-content:center;gap:6px;position:relative;z-index:2;} .wof-title h3 {text-align:center;margin:0;color:var(--color-text-brand, #ffcc00);font-weight:900;font-size:clamp(20px, 5.5vw, 28px);line-height:1.05;} .wof-title p {text-align:center;margin:0 0 clamp(10px, 3vw, 16px);color:var(--color-text-default, rgba(238, 246, 255, 0.96));font-size:clamp(11px, 3vw, 14px);font-weight:500;line-height:1.25;} .wof-tabs {display:flex;border-radius:50px;background-color:var(--color-tabs, rgba(251, 251, 251, 0.1019607843));padding:6px;width:90%;justify-content:center;margin-bottom:12px;position:relative;z-index:2;} .wof-tabs .tab {padding:5px;width:100%;color:var(--color-text-default, #ffffff);border-radius:50px;background-color:transparent;border:none;cursor:pointer;} .wof-tabs .active {background-color:var(--color-tabs-selected, rgba(251, 251, 251, 0.2));} .hidden {display:none !important;} .wheel-container {width:var(--game-stage-size, clamp(276px, 100vw, 430px));position:relative;z-index:1;margin-block:clamp(-18px, -4vw, -32px);
744
+ animation: svelte-133ej82-game-bob 5000ms ease-in-out infinite;will-change:transform;} .spins-info {display:flex;align-items:center;gap:8px;font-size:clamp(12px, 3.4vw, 14px);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(14px, 4vw, 16px);} .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%;
745
+ animation: svelte-133ej82-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-weight:900;cursor:pointer;position:relative;z-index:2;
746
+ animation: svelte-133ej82-game-cta-glow 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 {
747
+ 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;
748
+ animation: svelte-133ej82-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;
749
+ animation: svelte-133ej82-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%);} .draw-result-stack .draw-result-image-wrap {width:70%;max-width:350px;} .draw-result-stack .draw-result-image-wrap img {width:100%;max-width:none;} .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;
750
+ animation: svelte-133ej82-successElementIn 620ms cubic-bezier(0.16, 0.92, 0.22, 1) 90ms both;} .coin svg,
751
+ .coin img {width:100%;height:100%;object-fit:contain;transform-origin:50% 54%;
752
+ animation: svelte-133ej82-prizeCoinFloatZoom 1800ms ease-in-out infinite;} .draw-result-title {position:relative;margin:clamp(18px, 5vw, 26px) 0 clamp(14px, 4vw, 20px);color:var(--color-text-brand, #ffcc00);font-size:clamp(26px, 7.5vw, 36px);line-height:1.05;font-weight:900;opacity:0;transform:translate3d(0, 18px, 0) scale(0.98);
753
+ animation: svelte-133ej82-successElementIn 560ms cubic-bezier(0.16, 0.92, 0.22, 1) 250ms both;} .draw-result-sparkle {position:absolute;color:var(--color-text-brand, #ffcc00);filter:drop-shadow(0 0 5px rgba(255, 204, 0, 0.9));opacity:0;pointer-events:none;
754
+ animation: svelte-133ej82-titleSparkle 900ms ease-out forwards;} .draw-result-description {margin:0;color:var(--color-text-default, #ffffff);font-size:clamp(14px, 3.8vw, 17px);line-height:1.55;opacity:0;transform:translate3d(0, 18px, 0) scale(0.98);
755
+ animation: svelte-133ej82-successElementIn 560ms cubic-bezier(0.16, 0.92, 0.22, 1) 390ms both;} .draw-result-description span {font-size:clamp(15px, 4.1vw, 19px);font-weight:900;} .draw-result-error-image {max-width:170px;} .draw-result-description--error {margin:0 20px;} .draw-result-actions {display:grid;justify-items:center;gap:12px;margin-top:clamp(16px, 4.5vw, 26px);opacity:0;transform:translate3d(0, 18px, 0) scale(0.98);
756
+ animation: svelte-133ej82-successElementIn 560ms cubic-bezier(0.16, 0.92, 0.22, 1) 560ms both;} .button-spinner {position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px;width:18px;height:18px;border:2px solid transparent;border-top-color:currentColor;border-right-color:currentColor;border-radius:50%;
757
+ animation: svelte-133ej82-wofSpinnerRotate 600ms linear infinite;} .primary-cta {position:relative;min-width:clamp(148px, 42vw, 210px);min-height:clamp(42px, 10.5vw, 50px);border:none;border-radius:999px;color:var(--color-text-button-primary, #261d00);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), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4vw, 19px);font-weight:900;cursor:pointer;padding:0 20px;transition:transform 160ms ease, filter 160ms ease;} .primary-cta:hover {filter:brightness(1.06);transform:translateY(-1px);} .primary-cta:active {transform:translateY(2px) scale(0.98);} .secondary-cta {position:relative;background-color:var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.1019607843));color:var(--color-text-subtle, rgba(238, 246, 255, 0.8196078431));font:inherit;font-size:clamp(13px, 3.4vw, 15px);font-weight:750;cursor:pointer;border:1px solid var(--color-text-subtle, rgba(238, 246, 255, 0.8196078431));border-radius:999px;padding:10px 20px;} .confirm-modal-content {position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:10;width:70%;height:85%;max-height:500px;padding:10px 12px;background:rgba(8, 4, 0, 0.95);backdrop-filter:blur(16px);border:1px solid rgba(255, 255, 255, 0.1);border-radius:10px;text-align:center;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;} .confirm-modal-title {color:#ffffff;font-size:26px;font-weight:700;letter-spacing:0.2px;margin:0 0 4px;} .confirm-modal-body {color:rgba(255, 255, 255, 0.6509803922);font-size:14px;line-height:1.45;margin:0 0 10px;} .confirm-modal-actions {display:flex;flex-direction:column;gap:8px;justify-content:center;align-items:center;} .confirm-modal-actions button {width:fit-content;}
758
+ @media (prefers-reduced-motion: reduce) { .coin,
759
+ .draw-result-title,
760
+ .draw-result-description,
761
+ .draw-result-actions {opacity:1;transform:none;filter:none;} .coin svg,
762
+ .coin img {
763
+ animation: none;} .success-confetti-piece {
764
+ animation: none;}
765
+ } .game-back-button {position:relative;z-index:2;display:flex;align-items:center;justify-content:start;gap:10px;width:100%;max-width:700px;height:52px;flex-shrink:0;margin:0 auto;padding:10px;line-height:20px;border-radius:6px;background:transparent;border:none;color:var(--white);cursor:pointer;font-size:16px;} .game-back-button--hidden {display:none;} .game-back-button__icon {width:25px;height:25px;padding:7px;border-radius:50%;background:var(--color-overlay-neutral-2, rgba(255, 255, 255, 0.14));box-sizing:border-box;transition:transform 0.12s ease;} .game-back-button:active .game-back-button__icon {transform:scale(0.92);} .game-back-button__label {margin:0;}
766
+ @media (max-width: 767px) { .game-back-button {display:grid;grid-template-columns:40px 1fr 40px;align-items:center;gap:0;align-self:stretch;width:auto;height:44px;margin:12px 2px;padding:4px 8px;font-size:16px;line-height:24px;background-color:var(--color-bg-surface-level-3, var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.1019607843)));} .game-back-button__icon {justify-self:start;width:24px;height:24px;margin-left:6px;padding:4px;background:var(--color-overlay-neutral-2, rgba(251, 251, 251, 0.2));} .game-back-button__label {overflow:hidden;font-weight:500;text-align:center;text-overflow:ellipsis;white-space:nowrap;}
767
+ }`
768
+ };
769
+ function sn(s, t) {
770
+ Ze(t, !0), Me(s, on);
771
+ const o = () => Le(He, "$_", fe), [fe, ge] = Oe(), l = h(t, "program", 7, null), x = h(t, "endpoint", 7, null), u = h(t, "session", 7, null), G = h(t, "language", 7, "en"), X = h(t, "showBackButton", 7, !0), y = h(t, "liteMode", 7, !1), c = ["history", "play", "rules"];
772
+ let d = P(De(c[1])), b = P(null), _ = P(!1), F = P(!1);
773
+ const me = L(() => {
774
+ var e, a;
775
+ return !!x() && !!l() && ((a = (e = l()) == null ? void 0 : e.remainingTimes) != null ? a : 0) > 0;
776
+ }), j = (e, a = {}) => {
777
+ var r, f, i;
778
+ return window.postMessage(
779
+ pe({
780
+ type: e,
781
+ name: ((r = l()) == null ? void 0 : r.name) || null,
782
+ availableSpins: (i = (f = l()) == null ? void 0 : f.remainingTimes) != null ? i : null
783
+ }, a),
784
+ window.location.href
785
+ );
786
+ }, H = () => j("event_coins_accessed", { isUserLoggedIn: !0 }), be = () => j("event_coins_flip"), xe = () => window.postMessage({ type: "CloseMiniGame" }, window.location.href), ue = (e) => {
787
+ e === n(d) || n(_) || (e === c[0] ? j("event_coins_history_click") : e === c[2] ? j("event_coins_rules_click") : H(), w(d, e, !0));
788
+ }, O = () => Ne({
789
+ endpoint: x(),
790
+ session: u(),
791
+ program: $e(l())
792
+ }).finally(() => {
793
+ w(F, !1);
794
+ }), $ = Je({
795
+ onReset: () => w(b, null),
796
+ onSkipFetch: () => w(F, !0),
797
+ refetch: O
798
+ });
799
+ Te(() => (H(), window.addEventListener("message", $), () => window.removeEventListener("message", $)));
800
+ var he = {
801
+ get program() {
802
+ return l();
803
+ },
804
+ set program(e = null) {
805
+ l(e), v();
806
+ },
807
+ get endpoint() {
808
+ return x();
809
+ },
810
+ set endpoint(e = null) {
811
+ x(e), v();
812
+ },
813
+ get session() {
814
+ return u();
815
+ },
816
+ set session(e = null) {
817
+ u(e), v();
818
+ },
819
+ get language() {
820
+ return G();
821
+ },
822
+ set language(e = "en") {
823
+ G(e), v();
824
+ },
825
+ get showBackButton() {
826
+ return X();
827
+ },
828
+ set showBackButton(e = !0) {
829
+ X(e), v();
830
+ },
831
+ get liteMode() {
832
+ return y();
833
+ },
834
+ set liteMode(e = !1) {
835
+ y(e), v();
836
+ }
837
+ }, z = rn();
838
+ let q;
839
+ var C = m(z), we = m(C);
840
+ p(C);
841
+ var K = g(C, 2);
842
+ {
843
+ var ve = (e) => {
844
+ var a = tn(), r = g(m(a), 4);
845
+ de(r, 21, () => qe, Ae, (f, i) => {
846
+ var k = nn();
847
+ let V, ee;
848
+ E(() => {
849
+ var ne, te, ae, re, oe, ie;
850
+ V = A(k, 1, "coin-royale__spark svelte-133ej82", null, V, { "coin-royale__spark--blue": n(i).blue }), ee = D(k, "", ee, {
851
+ left: `${(ne = n(i).left) != null ? ne : ""}%`,
852
+ width: `${(te = n(i).size) != null ? te : ""}px`,
853
+ height: `${(ae = n(i).size) != null ? ae : ""}px`,
854
+ "animation-duration": `${(re = n(i).duration) != null ? re : ""}s`,
855
+ "animation-delay": `${(oe = n(i).delay) != null ? oe : ""}s`,
856
+ "--drift": `${(ie = n(i).drift) != null ? ie : ""}px`
857
+ });
858
+ }), Y(f, k);
859
+ }), p(r), p(a), Y(e, a);
860
+ };
861
+ ce(K, (e) => {
862
+ !y() && !n(b) && e(ve);
863
+ });
864
+ }
865
+ var Q = g(K, 2);
866
+ {
867
+ let e = L(() => !X());
868
+ We(Q, {
869
+ onClick: xe,
870
+ get hidden() {
871
+ return n(e);
872
+ }
873
+ });
874
+ }
875
+ var M = g(Q, 2), T = m(M), ye = m(T, !0);
876
+ p(T);
877
+ var U = g(T, 2), ke = m(U, !0);
878
+ p(U), p(M);
879
+ var S = g(M, 2), W = m(S);
880
+ let J;
881
+ var _e = g(W, 2);
882
+ de(_e, 16, () => c, (e) => e, (e, a) => {
883
+ var r = an();
884
+ let f;
885
+ var i = m(r, !0);
886
+ p(r), E(
887
+ (k) => {
888
+ f = A(r, 1, "coin-royale__tab svelte-133ej82", null, f, { "coin-royale__tab--active": n(d) === a }), I(r, "aria-selected", n(d) === a), Z(i, k);
889
+ },
890
+ [() => o()(a)]
891
+ ), Ie("click", r, () => ue(a)), Y(e, r);
892
+ }), p(S);
893
+ var B = g(S, 2);
894
+ let N;
895
+ var je = m(B);
896
+ Ve(je, {
897
+ get program() {
898
+ return l();
899
+ },
900
+ get endpoint() {
901
+ return x();
902
+ },
903
+ get session() {
904
+ return u();
905
+ },
906
+ get isAvailable() {
907
+ return n(me);
908
+ },
909
+ get remainingTimesLoading() {
910
+ return n(F);
911
+ },
912
+ onFlip: be,
913
+ get spinResults() {
914
+ return n(b);
915
+ },
916
+ set spinResults(e) {
917
+ w(b, e, !0);
918
+ },
919
+ get spinActive() {
920
+ return n(_);
921
+ },
922
+ set spinActive(e) {
923
+ w(_, e, !0);
924
+ }
925
+ }), p(B);
926
+ var ze = g(B, 2);
927
+ {
928
+ var Se = (e) => {
929
+ Ue(e, {
930
+ get result() {
931
+ return n(b);
932
+ },
933
+ get endpoint() {
934
+ return x();
935
+ },
936
+ get session() {
937
+ return u();
938
+ },
939
+ get liteMode() {
940
+ return y();
941
+ },
942
+ onFetchRemainingTimes: O
943
+ });
944
+ }, Be = (e) => {
945
+ {
946
+ let a = L(() => {
947
+ var r;
948
+ return (r = l()) == null ? void 0 : r.id;
949
+ });
950
+ Ke(e, {
951
+ get programId() {
952
+ return n(a);
953
+ },
954
+ get endpoint() {
955
+ return x();
956
+ },
957
+ get session() {
958
+ return u();
959
+ }
960
+ });
961
+ }
962
+ }, Ye = (e) => {
963
+ Qe(e, {
964
+ get program() {
965
+ return l();
966
+ },
967
+ get language() {
968
+ return G();
969
+ }
970
+ });
971
+ };
972
+ ce(ze, (e) => {
973
+ n(b) ? e(Se) : n(d) === c[0] ? e(Be, 1) : n(d) === c[2] && e(Ye, 2);
974
+ });
975
+ }
976
+ p(z), E(
977
+ (e, a, r, f) => {
978
+ q = A(z, 1, "coin-royale svelte-133ej82", null, q, {
979
+ "coin-royale--lite": y(),
980
+ "coin-royale--result": !!n(b),
981
+ "coin-royale--plain": n(d) !== c[1],
982
+ "coin-royale--busy": n(_)
983
+ }), I(we, "src", en), Z(ye, e), Z(ke, a), I(S, "aria-label", r), J = D(W, "", J, f), N = D(B, "", N, {
984
+ display: n(d) !== c[1] || n(b) ? "none" : "contents"
985
+ });
986
+ },
987
+ [
988
+ () => o()("coinTitle"),
989
+ () => o()("wofSubtitle"),
990
+ () => o()("coinTitle"),
991
+ () => ({
992
+ transform: `translateX(${c.indexOf(n(d)) * 100}%)`
993
+ })
994
+ ]
995
+ ), Y(s, z);
996
+ var Pe = Ee(he);
997
+ return ge(), Pe;
998
+ }
999
+ Fe(["click"]);
1000
+ Ce(
1001
+ sn,
1002
+ {
1003
+ program: {},
1004
+ endpoint: {},
1005
+ session: {},
1006
+ language: {},
1007
+ showBackButton: {},
1008
+ liteMode: {}
1009
+ },
1010
+ [],
1011
+ [],
1012
+ { mode: "open" }
1013
+ );
1014
+ export {
1015
+ sn as C
1016
+ };