@everymatrix/mini-games-hub 0.1.18 → 0.1.20

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.
Files changed (59) hide show
  1. package/components/BackButton-BrfBWRIr.js +38 -0
  2. package/components/BackButton-DWyr6ELs.js +39 -0
  3. package/components/CoinFlip-CqHlL4t9.js +367 -0
  4. package/components/CoinFlip-zzM-FtUg.js +402 -0
  5. package/components/CoinRoyale-BJWVsEJj.cjs +759 -0
  6. package/components/CoinRoyale-BfaHdSQN.cjs +757 -0
  7. package/components/CoinRoyale-Bgl4Ea3N.js +1018 -0
  8. package/components/CoinRoyale-CuEAflkt.cjs +757 -0
  9. package/components/CoinRoyale-DKWXkm3P.js +1040 -0
  10. package/components/CoinRoyale-Y2G7RWga.js +1020 -0
  11. package/components/CoinRoyale-hmGqx4pF.cjs +759 -0
  12. package/components/CoinRoyale-t3opSEHv.js +1038 -0
  13. package/components/DrawResult-DXaJYat3.js +343 -0
  14. package/components/DrawResult-FwuHCP-y.js +373 -0
  15. package/components/GameCard-45tJnqY3.cjs +3 -0
  16. package/components/GameCard-C1IfKCWx.js +66 -0
  17. package/components/GameCard-CLXODhBl.js +63 -0
  18. package/components/GameCard-DZm1MFqf.cjs +3 -0
  19. package/components/GameHistory-9Xh7Sb6S.cjs +13 -0
  20. package/components/GameHistory-B6MiGA9Z.js +240 -0
  21. package/components/GameHistory-BmChILXB.js +241 -0
  22. package/components/GameHistory-DioZWMQ8.cjs +13 -0
  23. package/components/GamePlaceholder-2C54MJXM.js +87 -0
  24. package/components/GamePlaceholder-BPZQa2uj.cjs +18 -0
  25. package/components/GamePlaceholder-CXixYEW3.cjs +18 -0
  26. package/components/GamePlaceholder-zLYrDd0k.js +88 -0
  27. package/components/GameRules-DNete4N3.js +117 -0
  28. package/components/GameRules-DOPgbqxU.cjs +5 -0
  29. package/components/GameRules-DbfGxBGR.cjs +5 -0
  30. package/components/GameRules-lzdMrQZY.js +128 -0
  31. package/components/MiniGamesHub-9mWWh3N1.js +1111 -0
  32. package/components/MiniGamesHub-CQ1jWyWR.js +1111 -0
  33. package/components/MiniGamesHub-CWV1acJR.cjs +79 -0
  34. package/components/MiniGamesHub-CfeP3fA-.cjs +79 -0
  35. package/components/MiniGamesHub-ChMf3rL7.js +1141 -0
  36. package/components/MiniGamesHub-Cv7rxLAO.cjs +79 -0
  37. package/components/MiniGamesHub-D4fNnQ70.js +1141 -0
  38. package/components/MiniGamesHub-gVFlxi4x.cjs +79 -0
  39. package/components/MysteryChest-Bq1NBRQI.cjs +739 -0
  40. package/components/MysteryChest-BsUxRwj9.js +1248 -0
  41. package/components/MysteryChest-C1jSQFBT.cjs +741 -0
  42. package/components/MysteryChest-Cg48wdP6.cjs +741 -0
  43. package/components/MysteryChest-Cq77jWfV.cjs +739 -0
  44. package/components/MysteryChest-D5OWiZfM.js +1250 -0
  45. package/components/MysteryChest-DE2NS9aL.js +1299 -0
  46. package/components/MysteryChest-pWptmU6O.js +1297 -0
  47. package/components/WheelOfFortune-CriOHAfp.cjs +627 -0
  48. package/components/WheelOfFortune-D2AVLv8r.js +934 -0
  49. package/components/WheelOfFortune-Dsr3jMxy.cjs +627 -0
  50. package/components/WheelOfFortune-uTfPiHqd.js +950 -0
  51. package/components/WheelOfFortuneWheel-C91V0Bho.js +1741 -0
  52. package/components/WheelOfFortuneWheel-CDjrztMA.js +1812 -0
  53. package/components/countdown-Bn5Dj09X.js +157 -0
  54. package/components/utils-DT23SX1f.js +6007 -0
  55. package/es2015/mini-games-hub.cjs +1 -1
  56. package/es2015/mini-games-hub.js +1 -1
  57. package/esnext/mini-games-hub.cjs +1 -1
  58. package/esnext/mini-games-hub.js +1 -1
  59. package/package.json +1 -1
@@ -0,0 +1,1299 @@
1
+ var Mt = Object.defineProperty, It = Object.defineProperties;
2
+ var Dt = Object.getOwnPropertyDescriptors;
3
+ var nt = Object.getOwnPropertySymbols;
4
+ var Gt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable;
5
+ var at = (w, p, i) => p in w ? Mt(w, p, { enumerable: !0, configurable: !0, writable: !0, value: i }) : w[p] = i, rt = (w, p) => {
6
+ for (var i in p || (p = {}))
7
+ Gt.call(p, i) && at(w, i, p[i]);
8
+ if (nt)
9
+ for (var i of nt(p))
10
+ Xt.call(p, i) && at(w, i, p[i]);
11
+ return w;
12
+ }, st = (w, p) => It(w, Dt(p));
13
+ var me = (w, p, i) => new Promise((Ye, ye) => {
14
+ var x = (R) => {
15
+ try {
16
+ L(i.next(R));
17
+ } catch (F) {
18
+ ye(F);
19
+ }
20
+ }, K = (R) => {
21
+ try {
22
+ L(i.throw(R));
23
+ } catch (F) {
24
+ ye(F);
25
+ }
26
+ }, L = (R) => R.done ? Ye(R.value) : Promise.resolve(R.value).then(x, K);
27
+ L((i = i.apply(w, p)).next());
28
+ });
29
+ import { d as Kt, c as Ot, a as Ft, p as Q, o as At, i as E, g as ot, m as ee, k as X, s as P, r as te, e as f, f as Y, n as Ce, b as Re, j as Ht, h as Ut, l as Me, u as $t } from "./WheelOfFortuneWheel-CDjrztMA.js";
30
+ import { G as Zt, aM as z, aC as je, W as Wt, a0 as t, au as o, aO as l, ah as S, L as Nt, aX as ne, aT as m, aP as Vt, aQ as qt, aG as ae, aR as Jt, b5 as Qt, aU as en, aV as tn, aN as de, aW as d, b1 as nn } from "./utils-BJHloM10.js";
31
+ import { j as an } from "./constants-Q_kcdbM6.js";
32
+ import { c as rn } from "./countdown-DmWNNDzv.js";
33
+ import { c as sn, f as on } from "./remaining-times-Dexper1E.js";
34
+ import { D as ln } from "./DrawResult-FwuHCP-y.js";
35
+ import { G as cn } from "./GameHistory-BmChILXB.js";
36
+ import { G as pn } from "./GameRules-lzdMrQZY.js";
37
+ import { B as mn } from "./BackButton-DWyr6ELs.js";
38
+ import { b as dn } from "./mystery-chest-bg-CGT-JTBW.js";
39
+ import { c as yn } from "./mystery-chest-locked-CIxpYU3v.js";
40
+ import { c as fn } from "./mystery-chest-empty-D7bbrCHH.js";
41
+ import { c as gn } from "./mystery-chest-win-D1NYItcd.js";
42
+ import { k as it } from "./key-D1g9LqMU.js";
43
+ var hn = Y('<span class="mystery-chest__particle svelte-1af7gxu"></span>'), un = Y('<div class="mystery-chest__scene-glow svelte-1af7gxu"></div> <!>', 1), xn = Y('<button role="tab" type="button"> </button>'), vn = Y('<span class="mystery-chest__rays svelte-1af7gxu" aria-hidden="true"></span> <span class="mystery-chest__shockwave svelte-1af7gxu" aria-hidden="true"></span> <span class="mystery-chest__opening-glow svelte-1af7gxu" aria-hidden="true"></span>', 1), bn = Me('<path class="mystery-chest__keyhole-solid svelte-1af7gxu"></path>'), _n = Me('<path class="mystery-chest__keyhole-dots svelte-1af7gxu"></path><path class="mystery-chest__keyhole-light svelte-1af7gxu" pathLength="100"></path>', 1), wn = Me('<svg viewBox="0 0 100 150" aria-hidden="true"><path class="mystery-chest__keyhole-fill svelte-1af7gxu"></path><!></svg>'), kn = Y('<span class="mystery-chest__lock-flash svelte-1af7gxu"></span>'), zn = Y('<div><img class="mystery-chest__key-img svelte-1af7gxu" alt="" draggable="false"/></div>'), Cn = Y('<img alt="" aria-hidden="true" draggable="false"/>'), Yn = Y('<div class="mystery-chest__badge svelte-1af7gxu"><p class="mystery-chest__badge-title svelte-1af7gxu"> </p> <p class="mystery-chest__badge-body svelte-1af7gxu"> </p> <button class="mystery-chest__badge-close svelte-1af7gxu" type="button"> </button></div>'), Tn = Y('<div class="mystery-chest__badge svelte-1af7gxu"><p class="mystery-chest__badge-title svelte-1af7gxu"> </p> <p class="mystery-chest__badge-countdown svelte-1af7gxu"> </p></div>'), Bn = Y('<span class="mystery-chest__flips-loader svelte-1af7gxu"></span>'), En = Y('<p class="mystery-chest__hint svelte-1af7gxu"> </p> <p class="mystery-chest__flips svelte-1af7gxu"> <span class="mystery-chest__flips-count svelte-1af7gxu"><svg class="mystery-chest__flips-icon svelte-1af7gxu" viewBox="0 0 16 16" fill="none" aria-hidden="true"><path d="M10 6H10.0067M10 10C12.2091 10 14 8.20914 14 6C14 3.79086 12.2091 2 10 2C7.79086 2 6 3.79086 6 6C6 6.18245 6.01222 6.36205 6.03587 6.53802C6.07478 6.82745 6.09424 6.97217 6.08114 7.06373C6.0675 7.1591 6.05013 7.2105 6.00313 7.2946C5.958 7.37533 5.87847 7.45486 5.71942 7.61391L2.31242 11.0209C2.19712 11.1362 2.13947 11.1939 2.09824 11.2611C2.06169 11.3208 2.03475 11.3858 2.01842 11.4538C2 11.5306 2 11.6121 2 11.7752V12.9333C2 13.3067 2 13.4934 2.07266 13.636C2.13658 13.7614 2.23856 13.8634 2.36401 13.9273C2.50661 14 2.6933 14 3.06667 14H4.22484C4.3879 14 4.46943 14 4.54615 13.9816C4.61418 13.9652 4.67921 13.9383 4.73886 13.9018C4.80613 13.8605 4.86378 13.8029 4.97909 13.6876L8.38609 10.2806C8.54514 10.1215 8.62467 10.042 8.7054 9.99687C8.7895 9.94987 8.8409 9.9325 8.93627 9.91886C9.02783 9.90576 9.17255 9.92522 9.46198 9.96413C9.63795 9.98778 9.81755 10 10 10Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" class="svelte-1af7gxu"></path></svg> <!></span></p>', 1), Pn = Y('<div class="mystery-chest__play svelte-1af7gxu"><div><!> <img class="mystery-chest__chest-img svelte-1af7gxu" alt="" draggable="false"/> <!> <!></div> <!> <!> <!></div> <!> <button class="mystery-chest__cta svelte-1af7gxu" type="button"> </button>', 1), Sn = Y('<div><div class="mystery-chest__scene svelte-1af7gxu" aria-hidden="true"><img class="mystery-chest__scene-img svelte-1af7gxu" alt="" draggable="false"/> <div class="mystery-chest__scene-tint svelte-1af7gxu"></div> <!></div> <!> <div class="mystery-chest__heading svelte-1af7gxu"><h3 class="mystery-chest__title svelte-1af7gxu"> </h3> <p class="mystery-chest__subtitle svelte-1af7gxu"> </p></div> <div class="mystery-chest__tabs svelte-1af7gxu" role="tablist"><div class="mystery-chest__tab-indicator svelte-1af7gxu"></div> <!></div> <!></div>');
44
+ const Ln = {
45
+ hash: "svelte-1af7gxu",
46
+ code: `@keyframes svelte-1af7gxu-game-bob {
47
+ 0%, 100% {
48
+ transform: translateY(0);
49
+ }
50
+ 50% {
51
+ transform: translateY(-10px);
52
+ }
53
+ }
54
+ @keyframes svelte-1af7gxu-game-bg-drift {
55
+ 0%, 100% {
56
+ transform: scale(1.06) translate(0, 0);
57
+ }
58
+ 50% {
59
+ transform: scale(1.12) translate(-1.5%, -1%);
60
+ }
61
+ }
62
+ @keyframes svelte-1af7gxu-game-cta-glow {
63
+ 0%, 100% {
64
+ transform: scale(1);
65
+ filter: brightness(1);
66
+ 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);
67
+ }
68
+ 50% {
69
+ transform: scale(1.065);
70
+ filter: brightness(1.08);
71
+ 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);
72
+ }
73
+ }
74
+ @keyframes svelte-1af7gxu-mc-loader-spin {
75
+ to {
76
+ transform: rotate(360deg);
77
+ }
78
+ }
79
+ @keyframes svelte-1af7gxu-mc-float-up {
80
+ 0% {
81
+ transform: translateY(0);
82
+ opacity: 0;
83
+ }
84
+ 15% {
85
+ opacity: 1;
86
+ }
87
+ 100% {
88
+ transform: translateY(-420px);
89
+ opacity: 0;
90
+ }
91
+ }
92
+ @keyframes svelte-1af7gxu-mc-dot-march {
93
+ to {
94
+ stroke-dashoffset: -9;
95
+ }
96
+ }
97
+ @keyframes svelte-1af7gxu-mc-light-run {
98
+ to {
99
+ stroke-dashoffset: -100;
100
+ }
101
+ }
102
+ @keyframes svelte-1af7gxu-mc-key-halo-pulse {
103
+ 0%, 100% {
104
+ border-color: rgba(255, 236, 150, 0.55);
105
+ box-shadow: 0 0 12px rgba(255, 204, 0, 0.25), inset 0 0 8px rgba(255, 204, 0, 0.15);
106
+ }
107
+ 50% {
108
+ border-color: rgba(255, 236, 150, 0.95);
109
+ box-shadow: 0 0 24px rgba(255, 204, 0, 0.55), inset 0 0 14px rgba(255, 204, 0, 0.3);
110
+ }
111
+ }
112
+ @keyframes svelte-1af7gxu-mc-lock-jolt {
113
+ 0% {
114
+ transform: translateY(0) rotate(0);
115
+ }
116
+ 20% {
117
+ transform: translateY(2px) rotate(-1.5deg);
118
+ }
119
+ 45% {
120
+ transform: translateY(-3px) rotate(1.2deg);
121
+ }
122
+ 70% {
123
+ transform: translateY(1px) rotate(-0.5deg);
124
+ }
125
+ 100% {
126
+ transform: translateY(0) rotate(0);
127
+ }
128
+ }
129
+ @keyframes svelte-1af7gxu-mc-lock-flash {
130
+ 0% {
131
+ opacity: 0;
132
+ transform: translate(-50%, -50%) scale(0.3);
133
+ }
134
+ 35% {
135
+ opacity: 1;
136
+ }
137
+ 100% {
138
+ opacity: 0;
139
+ transform: translate(-50%, -50%) scale(1.8);
140
+ }
141
+ }
142
+ @keyframes svelte-1af7gxu-mc-ray-spin {
143
+ from {
144
+ transform: translate(-50%, -50%) rotate(0deg);
145
+ }
146
+ to {
147
+ transform: translate(-50%, -50%) rotate(360deg);
148
+ }
149
+ }
150
+ @keyframes svelte-1af7gxu-mc-ray-in {
151
+ 0% {
152
+ opacity: 0;
153
+ }
154
+ 60% {
155
+ opacity: 0.9;
156
+ }
157
+ 100% {
158
+ opacity: 0.75;
159
+ }
160
+ }
161
+ @keyframes svelte-1af7gxu-mc-shockwave {
162
+ 0% {
163
+ transform: translate(-50%, -50%) scale(0.2);
164
+ opacity: 0.8;
165
+ }
166
+ 100% {
167
+ transform: translate(-50%, -50%) scale(2.6);
168
+ opacity: 0;
169
+ }
170
+ }
171
+ @keyframes svelte-1af7gxu-mc-opening-glow {
172
+ 0%, 100% {
173
+ transform: translate(-50%, -50%) scale(1);
174
+ opacity: 0.55;
175
+ }
176
+ 50% {
177
+ transform: translate(-50%, -50%) scale(1.08);
178
+ opacity: 0.9;
179
+ }
180
+ }
181
+ @keyframes svelte-1af7gxu-mc-chest-shake {
182
+ 0%, 100% {
183
+ transform: translate(0, 0) rotate(0deg);
184
+ }
185
+ 20% {
186
+ transform: translate(-5px, 1px) rotate(-2.5deg);
187
+ }
188
+ 40% {
189
+ transform: translate(5px, -1px) rotate(2.5deg);
190
+ }
191
+ 60% {
192
+ transform: translate(-4px, 2px) rotate(-2deg);
193
+ }
194
+ 80% {
195
+ transform: translate(4px, -2px) rotate(2deg);
196
+ }
197
+ }
198
+ @keyframes svelte-1af7gxu-mc-chest-burst {
199
+ 0% {
200
+ transform: scale(1);
201
+ }
202
+ 40% {
203
+ transform: scale(0.92) translateY(6px);
204
+ }
205
+ 70% {
206
+ transform: scale(1.12) translateY(-14px);
207
+ }
208
+ 100% {
209
+ transform: scale(1) translateY(0);
210
+ }
211
+ }
212
+ @keyframes svelte-1af7gxu-mc-dust-puff {
213
+ 0% {
214
+ transform: translate(0, 0) scale(0.4);
215
+ opacity: 0;
216
+ }
217
+ 30% {
218
+ opacity: 0.6;
219
+ }
220
+ 100% {
221
+ transform: translate(var(--dust-dx, 0), var(--dust-dy, -80px)) scale(1.6);
222
+ opacity: 0;
223
+ }
224
+ } .mystery-chest {--yellow: var(--color-text-brand, #ffd400);--white: var(--color-text-default, #f4f8ff);--ease: cubic-bezier(0.22, 0.61, 0.32, 1);--mc-bob: 5000ms;--mc-stage-h: max(820px, min(100dvh, 900px));--mc-bg-w: calc(var(--mc-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;} .mystery-chest *,
225
+ .mystery-chest *::before,
226
+ .mystery-chest *::after {box-sizing:border-box;} .mystery-chest.mystery-chest--plain .mystery-chest__scene {opacity:0;transition:none;} .mystery-chest.mystery-chest--plain .mystery-chest__scene-img,
227
+ .mystery-chest.mystery-chest--plain .mystery-chest__particle {animation-play-state:paused;} .mystery-chest.mystery-chest--result .mystery-chest__heading,
228
+ .mystery-chest.mystery-chest--result .mystery-chest__tabs {display:none;} .mystery-chest.mystery-chest--busy .game-back-button,
229
+ .mystery-chest.mystery-chest--busy .mystery-chest__tabs,
230
+ .mystery-chest.mystery-chest--busy .mystery-chest__cta {pointer-events:none;} .mystery-chest.mystery-chest--opening .game-back-button,
231
+ .mystery-chest.mystery-chest--opening .mystery-chest__heading,
232
+ .mystery-chest.mystery-chest--opening .mystery-chest__tabs,
233
+ .mystery-chest.mystery-chest--opening .mystery-chest__hint,
234
+ .mystery-chest.mystery-chest--opening .mystery-chest__flips,
235
+ .mystery-chest.mystery-chest--opening .mystery-chest__cta,
236
+ .mystery-chest.mystery-chest--opening .mystery-chest__key {opacity:0;filter:blur(4px);pointer-events:none;transition:opacity 0.4s ease, filter 0.4s ease;} .mystery-chest.mystery-chest--opening .mystery-chest__scene-img {opacity:0.25;transition:opacity 0.4s ease;} .mystery-chest.mystery-chest--opening .mystery-chest__scene-glow,
237
+ .mystery-chest.mystery-chest--opening .mystery-chest__particle {opacity:0;transition:opacity 0.4s ease;} .mystery-chest__scene {position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;transition:opacity 1s ease;-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);} .mystery-chest__scene-img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 68%;} .mystery-chest:not(.mystery-chest--result, .mystery-chest--lite) .mystery-chest__scene-img {
238
+ animation: svelte-1af7gxu-game-bg-drift 26s ease-in-out infinite;} .mystery-chest__scene-tint {position:absolute;inset:0;background:color-mix(in srgb, var(--color-primary-6, #301200) 55%, transparent);} .mystery-chest__scene-glow {position:absolute;inset:0;background:radial-gradient(120% 70% at 50% 38%, rgba(79, 169, 255, 0.28) 0%, rgba(2, 38, 82, 0) 55%), radial-gradient(140% 90% at 50% 110%, rgba(1, 12, 30, 0.9) 0%, rgba(1, 12, 30, 0) 60%);} .mystery-chest__particle {position:absolute;bottom:96px;border-radius:50%;background:#ffe680;box-shadow:0 0 8px 2px rgba(255, 204, 0, 0.7);opacity:0;
239
+ animation: svelte-1af7gxu-mc-float-up linear infinite;}
240
+ @container (min-width: 600px) { .mystery-chest__scene {left:50%;right:auto;width:min(var(--mc-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);}
241
+ } .mystery-chest__heading {position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;gap:6px;} .mystery-chest__title {margin:0;text-align:center;font-size:clamp(20px, 5.5vw, 28px);font-weight:900;line-height:1.05;color:var(--yellow);text-shadow:0 3px 14px rgba(0, 0, 0, 0.35);} .mystery-chest--no-back .mystery-chest__title {padding-top:16px;} .mystery-chest__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);opacity:0.92;} .mystery-chest__tabs {position:relative;z-index:2;display:flex;justify-content:center;width:90%;max-width:700px;margin-bottom:12px;padding:6px;border-radius:50px;background:var(--color-tabs, rgba(255, 255, 255, 0.1));box-shadow:inset 0 0 0 1px var(--color-border-subtle, rgba(255, 255, 255, 0.08)), inset 0 2px 6px rgba(0, 0, 0, 0.25);height:46px;} .mystery-chest__tab-indicator {position:absolute;top:6px;bottom:6px;left:6px;width:calc((100% - 12px) / 3);border-radius:50px;background:var(--color-tabs-selected, linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.12)));box-shadow:0 2px 8px rgba(0, 0, 0, 0.25);transition:transform 0.32s var(--ease);pointer-events:none;} .mystery-chest__tab {position:relative;z-index:1;width:100%;padding:5px;border:none;border-radius:50px;background:transparent;color:var(--white);cursor:pointer;opacity:0.75;transition:opacity 0.15s ease, transform 0.1s ease;font-size:16px;} .mystery-chest__tab--active {opacity:1;} .mystery-chest__tab:active {transform:scale(0.95);} .mystery-chest__play {position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;width:var(--game-stage-size, clamp(276px, 100vw, 430px));} .mystery-chest__chest {position:relative;width:min(260px, 100%);
242
+ animation: svelte-1af7gxu-game-bob var(--mc-bob) ease-in-out infinite;will-change:transform;}
243
+ @media (min-width: 768px) { .mystery-chest__chest {width:360px;}
244
+ } .mystery-chest__chest--still {
245
+ animation: none;} .mystery-chest__chest--locked {
246
+ animation: none;} .mystery-chest__chest--locked .mystery-chest__chest-img {filter:blur(3px) drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));opacity:0.75;pointer-events:none;} .mystery-chest__chest--filling {
247
+ animation: svelte-1af7gxu-mc-lock-jolt 0.5s ease-out both;} .mystery-chest__chest--opening {
248
+ animation: none;} .mystery-chest__chest--opening .mystery-chest__chest-img {
249
+ animation: svelte-1af7gxu-mc-chest-shake 0.5s ease-in-out 0.4s 2, svelte-1af7gxu-mc-chest-burst 0.7s ease-out 1.4s forwards;} .mystery-chest__chest--opening .mystery-chest__keyhole {opacity:0;transition:opacity 0.2s ease;} .mystery-chest__rays {position:absolute;top:50%;left:50%;z-index:0;width:clamp(380px, 110vw, 620px);aspect-ratio:1;border-radius:50%;pointer-events:none;transform:translate(-50%, -50%);background:conic-gradient(from 0deg, rgba(255, 255, 255, 0) 0deg, rgba(255, 236, 150, 0.55) 12deg, rgba(255, 255, 255, 0) 24deg, rgba(255, 236, 150, 0.55) 36deg, rgba(255, 255, 255, 0) 48deg, rgba(255, 236, 150, 0.55) 60deg, rgba(255, 255, 255, 0) 72deg, rgba(255, 236, 150, 0.55) 84deg, rgba(255, 255, 255, 0) 96deg, rgba(255, 236, 150, 0.55) 108deg, rgba(255, 255, 255, 0) 120deg);-webkit-mask-image:radial-gradient(circle, transparent 22%, black 30%, transparent 72%);mask-image:radial-gradient(circle, transparent 22%, black 30%, transparent 72%);
250
+ animation: svelte-1af7gxu-mc-ray-spin 6s linear infinite, svelte-1af7gxu-mc-ray-in 0.8s ease-out both;} .mystery-chest__shockwave {position:absolute;top:50%;left:50%;z-index:1;width:280px;height:280px;border-radius:50%;border:2px solid #ffe680;pointer-events:none;transform:translate(-50%, -50%) scale(0.2);opacity:0;
251
+ animation: svelte-1af7gxu-mc-shockwave 1.1s ease-out 0.9s forwards;} .mystery-chest__opening-glow {position:absolute;top:50%;left:50%;z-index:1;width:320px;height:320px;border-radius:50%;pointer-events:none;transform:translate(-50%, -50%);background:radial-gradient(circle, rgba(255, 236, 150, 0.55), transparent 65%);filter:blur(10px);
252
+ animation: svelte-1af7gxu-mc-opening-glow 0.8s ease-in-out infinite;} .mystery-chest__chest--opening .mystery-chest__chest-img {position:relative;z-index:2;} .mystery-chest__chest-img {display:block;width:100%;height:auto;user-select:none;filter:drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));} .mystery-chest__keyhole {position:absolute;height:auto;overflow:visible;transform:translate(-55%, -50%);scale:0.9;filter:drop-shadow(0 0 5px rgba(0, 0, 0, 0.6));transition:scale 0.2s var(--ease), filter 0.2s var(--ease);pointer-events:none;} .mystery-chest__keyhole--active {scale:0.95;filter:drop-shadow(0 0 5px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 14px rgba(255, 204, 0, 0.95));} .mystery-chest__keyhole--active .mystery-chest__keyhole-dots {stroke:#ffcc00;} .mystery-chest__keyhole-fill {fill:rgba(1, 12, 30, 0.5);} .mystery-chest__keyhole-dots {fill:none;stroke:rgba(255, 255, 255, 0.9);stroke-width:3;stroke-dasharray:1 8;stroke-linecap:round;
253
+ animation: svelte-1af7gxu-mc-dot-march 1.4s linear infinite;} .mystery-chest__keyhole-light {fill:none;stroke:#fff2b0;stroke-width:4;stroke-linecap:round;stroke-dasharray:10 90;opacity:0.95;filter:drop-shadow(0 0 6px rgba(255, 204, 0, 0.95));
254
+ animation: svelte-1af7gxu-mc-light-run 1.8s linear infinite;} .mystery-chest__keyhole--filling {scale:1;filter:drop-shadow(0 0 10px rgba(255, 204, 0, 0.95));} .mystery-chest__keyhole-solid {fill:none;stroke:#ffcc00;stroke-width:4;stroke-linejoin:round;filter:drop-shadow(0 0 6px rgba(255, 204, 0, 0.95));} .mystery-chest__lock-flash {position:absolute;width:90px;height:90px;border-radius:50%;pointer-events:none;transform:translate(-50%, -50%);background:radial-gradient(circle, rgba(255, 236, 150, 0.9), rgba(255, 204, 0, 0.3) 45%, transparent 70%);
255
+ animation: svelte-1af7gxu-mc-lock-flash 0.7s ease-out both;} .mystery-chest__key {position:relative;z-index:3;width:92px;touch-action:none;user-select:none;cursor:grab;transition:transform 0.2s var(--ease);} .mystery-chest__key::before {content:"";position:absolute;top:50%;left:50%;width:160px;height:60px;border-radius:50%;background:linear-gradient(-45deg, rgba(255, 255, 255, 0.9), rgba(79, 169, 255, 0.6));filter:blur(32px);transform:translate(-50%, -50%);pointer-events:none;z-index:-1;} .mystery-chest__key--dragging::before {opacity:0;} .mystery-chest__key--dragging {cursor:grabbing;transition:none;} .mystery-chest__key-img {display:block;width:100%;height:auto;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45));
256
+ animation: svelte-1af7gxu-game-bob var(--mc-bob) ease-in-out calc(var(--mc-bob) / -2) infinite;will-change:transform;} .mystery-chest__key--dragging .mystery-chest__key-img {animation-play-state:paused;} .mystery-chest__key--hidden {visibility:hidden;} .mystery-chest__key-fly {position:fixed;top:0;left:0;z-index:50;width:92px;pointer-events:none;filter:drop-shadow(0 8px 12px rgba(0, 0, 0, 0.6));will-change:transform, left, top;} .mystery-chest__key-fly--flying {transition:left 0.55s cubic-bezier(0.3, 0.7, 0.3, 1), top 0.55s cubic-bezier(0.3, 0.7, 0.3, 1), transform 0.55s ease-out;} .mystery-chest__key-fly--inserting {transition:left 0.3s ease-in, top 0.3s ease-in, transform 0.3s ease-in;} .mystery-chest__key-fly--fading {opacity:0;transition:opacity 0.3s ease-out;} .mystery-chest--lite {--mc-bob: 3200ms;} .mystery-chest__hint {position:relative;z-index:2;margin:0;font-size:clamp(11px, 3vw, 13px);color:var(--white);opacity:0.85;} .mystery-chest__flips {position:relative;z-index:2;display:flex;align-items:center;gap:8px;margin:0;font-size:clamp(12px, 3.4vw, 14px);font-weight:400;color:var(--white);} .mystery-chest__flips-count {display:flex;align-items:center;gap:6px;font-size:clamp(14px, 4vw, 16px);font-weight:900;color:var(--yellow);} .mystery-chest__flips-icon {width:16px;height:16px;color:#ffcc00;flex-shrink:0;} .mystery-chest__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-button-primary, #0a2140);background:linear-gradient(180deg, color-mix(in srgb, var(--color-button-primary, #ffd400) 70%, white) 0%, var(--color-button-primary, #ffd400) 55%, var(--color-button-primary-hover, #e0b400) 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;
257
+ animation: svelte-1af7gxu-game-cta-glow 1800ms ease-in-out infinite;transform-origin:50% 50%;transition:transform 0.15s ease, filter 0.15s ease;} .mystery-chest__cta:active {transform:translateY(2px) scale(0.98);animation-play-state:paused;} .mystery-chest__cta:disabled {
258
+ animation: none;filter:grayscale(0.5) brightness(0.75);box-shadow:none;cursor:default;} .mystery-chest__flips-loader {display:inline-block;width:14px;height:14px;border:2px solid transparent;border-top-color:currentColor;border-right-color:currentColor;border-radius:50%;
259
+ animation: svelte-1af7gxu-mc-loader-spin 600ms linear infinite;} .draw-result-dust {position:absolute;inset:0;pointer-events:none;display:flex;align-items:center;justify-content:center;z-index:0;} .draw-result-dust__puff {position:absolute;border-radius:50%;background:#cdbfae;filter:blur(2px);opacity:0;
260
+ animation: svelte-1af7gxu-mc-dust-puff 2s ease-out infinite;} .mystery-chest .draw-result-stack .draw-result-image-wrap {position:relative;isolation:isolate;width:min(260px, 100%);max-width:none;}
261
+ @media (min-width: 768px) { .mystery-chest .draw-result-stack .draw-result-image-wrap {width:360px;}
262
+ } .draw-result-image-wrap::before {content:"";position:absolute;top:50%;left:50%;z-index:-1;width:230px;height:230px;border-radius:50%;background:linear-gradient(-45deg, rgba(255, 255, 255, 0.9), rgba(79, 169, 255, 0.6));filter:blur(42px);transform:translate(-50%, -50%);pointer-events:none;} .draw-result-stack .draw-result-image-wrap img {display:block;width:100%;max-width:none;
263
+ animation: svelte-1af7gxu-game-bob var(--mc-bob) ease-in-out infinite;will-change:transform;} .mystery-chest .draw-result-stack {transform:none;} .mystery-chest .draw-result-panel {place-items:start center;} .mystery-chest__badge {position:absolute;top:60%;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);} .mystery-chest__badge-title {margin:0;color:#ffffff;font-size:12px;font-weight:700;letter-spacing:0.2px;} .mystery-chest__badge-body {margin:0;color:var(--color-text-subtle, rgba(244, 248, 255, 0.75));font-size:10px;line-height:1.45;} .mystery-chest__badge-countdown {margin:0;color:var(--color-text-subtle, rgba(244, 248, 255, 0.75));font-size:clamp(13px, 3.8vw, 18px);font-variant-numeric:tabular-nums;} .mystery-chest__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;} .mystery-chest__badge-close:hover {background:rgba(255, 255, 255, 0.2);}
264
+ @media (max-width: 767px) { .mystery-chest__tabs {width:100%;margin:0 auto;} .mystery-chest__tab {font-size:12px;}
265
+ }
266
+ @keyframes svelte-1af7gxu-stageFloat {
267
+ 0%, 100% {
268
+ transform: translate3d(0, 0, 0) rotate(-0.12deg) scale(1);
269
+ }
270
+ 42% {
271
+ transform: translate3d(0, -4px, 0) rotate(0.16deg) scale(1.002);
272
+ }
273
+ 72% {
274
+ transform: translate3d(0, 2px, 0) rotate(-0.04deg) scale(0.999);
275
+ }
276
+ }
277
+ @keyframes svelte-1af7gxu-stageGlow {
278
+ 0%, 100% {
279
+ opacity: 0.46;
280
+ transform: scale(0.94);
281
+ filter: blur(27px);
282
+ }
283
+ 50% {
284
+ opacity: 0.68;
285
+ transform: scale(1.02);
286
+ filter: blur(31px);
287
+ }
288
+ }
289
+ @keyframes svelte-1af7gxu-glowOrbit {
290
+ 0%, 100% {
291
+ opacity: 0.13;
292
+ transform: scale(0.88) rotate(-8deg);
293
+ }
294
+ 50% {
295
+ opacity: 0.24;
296
+ transform: scale(0.95) rotate(5deg);
297
+ }
298
+ }
299
+ @keyframes svelte-1af7gxu-frameGlowBreath {
300
+ 0%, 100% {
301
+ opacity: 0.58;
302
+ transform: scale(0.94);
303
+ filter: blur(30px);
304
+ }
305
+ 48% {
306
+ opacity: 0.82;
307
+ transform: scale(1.03);
308
+ filter: blur(34px);
309
+ }
310
+ }
311
+ @keyframes svelte-1af7gxu-wheelDrop {
312
+ 0% {
313
+ transform: translateY(-60vh) scale(0.961) rotate(-9deg);
314
+ opacity: 0;
315
+ }
316
+ 70% {
317
+ transform: translateY(-20px) scale(1.012) rotate(2deg);
318
+ opacity: 1;
319
+ }
320
+ 86% {
321
+ transform: translateY(0px) scale(0.997) rotate(-0.6deg);
322
+ }
323
+ 100% {
324
+ transform: translateY(0) scale(1) rotate(0);
325
+ opacity: 1;
326
+ }
327
+ }
328
+ @keyframes svelte-1af7gxu-spinGlowPop {
329
+ 0% {
330
+ opacity: 0.56;
331
+ transform: scale(0.96);
332
+ filter: blur(25px);
333
+ }
334
+ 32% {
335
+ opacity: 0.92;
336
+ transform: scale(1.08);
337
+ filter: blur(31px);
338
+ }
339
+ 100% {
340
+ opacity: 0.58;
341
+ transform: scale(0.98);
342
+ filter: blur(27px);
343
+ }
344
+ }
345
+ @keyframes svelte-1af7gxu-glowPulse {
346
+ 0%, 100% {
347
+ opacity: 0.72;
348
+ transform: scale(0.95);
349
+ }
350
+ 50% {
351
+ opacity: 1;
352
+ transform: scale(1.12);
353
+ }
354
+ }
355
+ @keyframes svelte-1af7gxu-glowRing {
356
+ 0%, 100% {
357
+ opacity: 0.42;
358
+ transform: scale(0.92);
359
+ }
360
+ 50% {
361
+ opacity: 0.88;
362
+ transform: scale(1.18);
363
+ }
364
+ }
365
+ @keyframes svelte-1af7gxu-centerButtonSpinBreath {
366
+ 0%, 100% {
367
+ transform: scale(1);
368
+ filter: drop-shadow(0 9px 13px rgba(0, 0, 0, 0.34)) brightness(1);
369
+ }
370
+ 45% {
371
+ transform: scale(1.032);
372
+ filter: drop-shadow(0 11px 18px rgba(0, 0, 0, 0.36)) brightness(1.07);
373
+ }
374
+ }
375
+ @keyframes svelte-1af7gxu-middleButtonIdleZoomGlow {
376
+ 0%, 100% {
377
+ transform: scale(1);
378
+ 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);
379
+ }
380
+ 50% {
381
+ transform: scale(1.045);
382
+ 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);
383
+ }
384
+ }
385
+ @keyframes svelte-1af7gxu-middleButtonPress {
386
+ 0% {
387
+ transform: scale(1);
388
+ filter: drop-shadow(0 9px 13px rgba(0, 0, 0, 0.34)) brightness(1);
389
+ }
390
+ 28% {
391
+ transform: scale(0.91);
392
+ filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.36)) brightness(0.98);
393
+ }
394
+ 68% {
395
+ transform: scale(1.045);
396
+ filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.36)) brightness(1.08);
397
+ }
398
+ 100% {
399
+ transform: scale(1);
400
+ filter: drop-shadow(0 9px 13px rgba(0, 0, 0, 0.34)) brightness(1);
401
+ }
402
+ }
403
+ @keyframes svelte-1af7gxu-prizeStageGlow {
404
+ 0% {
405
+ opacity: 0.54;
406
+ transform: scale(0.96);
407
+ filter: blur(26px);
408
+ }
409
+ 22% {
410
+ opacity: 0.94;
411
+ transform: scale(1.06);
412
+ filter: blur(20px);
413
+ }
414
+ 100% {
415
+ opacity: 0.54;
416
+ transform: scale(0.96);
417
+ filter: blur(26px);
418
+ }
419
+ }
420
+ @keyframes svelte-1af7gxu-prizeFillGlow {
421
+ 0% {
422
+ opacity: 0;
423
+ transform: scale(0.982);
424
+ }
425
+ 8% {
426
+ opacity: 0.94;
427
+ transform: scale(1.008);
428
+ }
429
+ 24% {
430
+ opacity: 0.62;
431
+ transform: scale(0.997);
432
+ }
433
+ 42% {
434
+ opacity: 0.8;
435
+ transform: scale(1.006);
436
+ }
437
+ 60% {
438
+ opacity: 0.55;
439
+ transform: scale(0.999);
440
+ }
441
+ 78% {
442
+ opacity: 0.72;
443
+ transform: scale(1.004);
444
+ }
445
+ 100% {
446
+ opacity: 0;
447
+ transform: scale(0.99);
448
+ }
449
+ }
450
+ @keyframes svelte-1af7gxu-prizeEdgePulse {
451
+ 0% {
452
+ opacity: 0;
453
+ stroke-width: 0.035;
454
+ }
455
+ 8% {
456
+ opacity: 1;
457
+ stroke-width: 0.025;
458
+ }
459
+ 24% {
460
+ opacity: 0.88;
461
+ stroke-width: 0.035;
462
+ }
463
+ 42% {
464
+ opacity: 1;
465
+ stroke-width: 0.025;
466
+ }
467
+ 60% {
468
+ opacity: 0.85;
469
+ stroke-width: 0.035;
470
+ }
471
+ 78% {
472
+ opacity: 1;
473
+ stroke-width: 0.025;
474
+ }
475
+ 100% {
476
+ opacity: 0.85;
477
+ stroke-width: 0.035;
478
+ }
479
+ }
480
+ @keyframes svelte-1af7gxu-prizeDashDance {
481
+ 0% {
482
+ opacity: 0;
483
+ stroke-dashoffset: 12;
484
+ }
485
+ 10% {
486
+ opacity: 0.94;
487
+ }
488
+ 48% {
489
+ opacity: 0.78;
490
+ }
491
+ 82% {
492
+ opacity: 0.66;
493
+ }
494
+ 100% {
495
+ opacity: 0;
496
+ stroke-dashoffset: -26;
497
+ }
498
+ }
499
+ @keyframes svelte-1af7gxu-prizeSheenSweep {
500
+ 0% {
501
+ opacity: 0;
502
+ transform: translateX(-7px) scale(0.98);
503
+ }
504
+ 12% {
505
+ opacity: 0.58;
506
+ transform: translateX(-1px) scale(1.01);
507
+ }
508
+ 36% {
509
+ opacity: 0.22;
510
+ transform: translateX(3px) scale(1);
511
+ }
512
+ 62% {
513
+ opacity: 0.42;
514
+ transform: translateX(1px) scale(1.008);
515
+ }
516
+ 100% {
517
+ opacity: 0;
518
+ transform: translateX(8px) scale(0.99);
519
+ }
520
+ }
521
+ @keyframes svelte-1af7gxu-superPrizeStageGlow {
522
+ 0% {
523
+ transform: scale(0.96);
524
+ opacity: 0.2;
525
+ filter: blur(8px);
526
+ }
527
+ 45% {
528
+ transform: scale(1.13);
529
+ opacity: 0.86;
530
+ filter: blur(13px);
531
+ }
532
+ 100% {
533
+ transform: scale(1.03);
534
+ opacity: 0.45;
535
+ filter: blur(10px);
536
+ }
537
+ }
538
+ @keyframes svelte-1af7gxu-superPrizeFillGlow {
539
+ 0% {
540
+ opacity: 0.2;
541
+ transform: scale(0.96);
542
+ }
543
+ 32% {
544
+ opacity: 1;
545
+ transform: scale(1.045);
546
+ }
547
+ 66% {
548
+ opacity: 0.72;
549
+ transform: scale(1.015);
550
+ }
551
+ 100% {
552
+ opacity: 0.58;
553
+ transform: scale(1);
554
+ }
555
+ }
556
+ @keyframes svelte-1af7gxu-superPrizeSheenSweep {
557
+ 0% {
558
+ opacity: 0;
559
+ transform: scale(0.88) rotate(-5deg);
560
+ }
561
+ 34% {
562
+ opacity: 0.95;
563
+ transform: scale(1.08) rotate(2deg);
564
+ }
565
+ 100% {
566
+ opacity: 0.2;
567
+ transform: scale(1.16) rotate(7deg);
568
+ }
569
+ }
570
+ @keyframes svelte-1af7gxu-superPrizeEdgePulse {
571
+ 0% {
572
+ opacity: 0.4;
573
+ transform: scale(0.97);
574
+ }
575
+ 38% {
576
+ opacity: 1;
577
+ transform: scale(1.055);
578
+ }
579
+ 70% {
580
+ opacity: 0.86;
581
+ transform: scale(1.018);
582
+ }
583
+ 100% {
584
+ opacity: 0.72;
585
+ transform: scale(1);
586
+ }
587
+ }
588
+ @keyframes svelte-1af7gxu-superPrizeDashDance {
589
+ 0% {
590
+ opacity: 0;
591
+ stroke-dashoffset: 20;
592
+ transform: scale(0.95);
593
+ }
594
+ 18% {
595
+ opacity: 1;
596
+ }
597
+ 100% {
598
+ opacity: 0.76;
599
+ stroke-dashoffset: -42;
600
+ transform: scale(1.04);
601
+ }
602
+ }
603
+ @keyframes svelte-1af7gxu-buttonBreath {
604
+ 0%, 100% {
605
+ transform: scale(1);
606
+ }
607
+ 50% {
608
+ transform: scale(1.035);
609
+ }
610
+ }
611
+ @keyframes svelte-1af7gxu-buttonAura {
612
+ 0%, 100% {
613
+ filter: brightness(1) saturate(1);
614
+ 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);
615
+ }
616
+ 50% {
617
+ filter: brightness(1.035) saturate(1.04);
618
+ 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);
619
+ }
620
+ }
621
+ @keyframes svelte-1af7gxu-buttonSheen {
622
+ 0%, 58%, 100% {
623
+ transform: translateX(-120%);
624
+ opacity: 0.22;
625
+ }
626
+ 72% {
627
+ transform: translateX(120%);
628
+ opacity: 0.42;
629
+ }
630
+ }
631
+ @keyframes svelte-1af7gxu-buttonPop {
632
+ 0% {
633
+ transform: translateY(2px) scale(0.985);
634
+ }
635
+ 48% {
636
+ transform: translateY(-2px) scale(1.018);
637
+ }
638
+ 100% {
639
+ transform: translateY(0) scale(1);
640
+ }
641
+ }
642
+ @keyframes svelte-1af7gxu-confettiFirework {
643
+ 0% {
644
+ opacity: 0;
645
+ transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
646
+ }
647
+ 9% {
648
+ opacity: 1;
649
+ 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));
650
+ }
651
+ 28% {
652
+ opacity: 0.98;
653
+ transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1) rotate(calc(var(--rot) + var(--spin) * 0.56));
654
+ }
655
+ 72% {
656
+ opacity: 0.78;
657
+ 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));
658
+ }
659
+ 100% {
660
+ opacity: 0;
661
+ transform: translate(calc(-50% + var(--tx) * 1.14), calc(-50% + var(--ty) + var(--fall))) scale(0.62) rotate(calc(var(--rot) + var(--spin)));
662
+ }
663
+ }
664
+ @keyframes svelte-1af7gxu-swipeHandAcross {
665
+ 0%, 100% {
666
+ transform: translateX(-70px) rotate(-22deg);
667
+ opacity: 0.65;
668
+ }
669
+ 50% {
670
+ transform: translateX(70px) rotate(22deg);
671
+ opacity: 0.65;
672
+ }
673
+ 25%, 75% {
674
+ opacity: 1;
675
+ }
676
+ }
677
+ @keyframes svelte-1af7gxu-wofSpinnerFadeIn {
678
+ to {
679
+ opacity: 1;
680
+ }
681
+ }
682
+ @keyframes svelte-1af7gxu-wofSpinnerRotate {
683
+ to {
684
+ transform: rotate(360deg);
685
+ }
686
+ }
687
+ @keyframes svelte-1af7gxu-titleSparkle {
688
+ 0% {
689
+ opacity: 0;
690
+ transform: scale(0.2) rotate(0deg);
691
+ }
692
+ 40% {
693
+ opacity: 1;
694
+ transform: scale(1.4) rotate(35deg);
695
+ }
696
+ 100% {
697
+ opacity: 0;
698
+ transform: scale(0.6) translateY(-20px) rotate(75deg);
699
+ }
700
+ }
701
+ @keyframes svelte-1af7gxu-drawResultPop {
702
+ 0% {
703
+ opacity: 0;
704
+ transform: scale(0.92) translateY(8px);
705
+ }
706
+ 62% {
707
+ opacity: 1;
708
+ transform: scale(1.016) translateY(-2px);
709
+ }
710
+ 100% {
711
+ opacity: 1;
712
+ transform: scale(1) translateY(0);
713
+ }
714
+ }
715
+ @keyframes svelte-1af7gxu-successElementIn {
716
+ 0% {
717
+ opacity: 0;
718
+ transform: translate3d(0, 18px, 0) scale(0.98);
719
+ filter: blur(3px);
720
+ }
721
+ 70% {
722
+ opacity: 1;
723
+ transform: translate3d(0, -2px, 0) scale(1.01);
724
+ filter: blur(0);
725
+ }
726
+ 100% {
727
+ opacity: 1;
728
+ transform: translate3d(0, 0, 0) scale(1);
729
+ filter: blur(0);
730
+ }
731
+ }
732
+ @keyframes svelte-1af7gxu-successConfettiFall {
733
+ 0% {
734
+ opacity: 0;
735
+ transform: translate3d(-50%, -18px, 0) rotate(var(--rot)) scale(0.62);
736
+ }
737
+ 9% {
738
+ opacity: 1;
739
+ }
740
+ 46% {
741
+ opacity: 0.96;
742
+ transform: translate3d(calc(-50% + var(--tx) * 0.55), 48vh, 0) rotate(calc(var(--rot) + var(--spin) * 0.52)) scale(1);
743
+ }
744
+ 100% {
745
+ opacity: 0;
746
+ transform: translate3d(calc(-50% + var(--tx)), 108vh, 0) rotate(calc(var(--rot) + var(--spin))) scale(0.86);
747
+ }
748
+ }
749
+ @keyframes svelte-1af7gxu-prizeCoinFloatZoom {
750
+ 0%, 100% {
751
+ transform: translate3d(0, 0, 0) scale(1);
752
+ }
753
+ 50% {
754
+ transform: translate3d(0, -8px, 0) scale(1.065);
755
+ }
756
+ }
757
+ @media (prefers-reduced-motion: reduce) { .wheel-wrapper,
758
+ .wheel-wrapper::before,
759
+ .wheel-wrapper::after,
760
+ .drop-wrap,
761
+ .wheel-disc,
762
+ .center-button,
763
+ .button-glow,
764
+ .spin-button {
765
+ animation: none !important;}
766
+ } .draw-result-panel {flex:1;z-index:20;display:grid;place-items:center;padding:20px;text-align:center;overflow:hidden;width:100%;background:transparent;
767
+ animation: svelte-1af7gxu-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;
768
+ animation: svelte-1af7gxu-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;
769
+ animation: svelte-1af7gxu-successElementIn 620ms cubic-bezier(0.16, 0.92, 0.22, 1) 90ms both;} .coin svg,
770
+ .coin img {width:100%;height:100%;object-fit:contain;transform-origin:50% 54%;
771
+ animation: svelte-1af7gxu-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);
772
+ animation: svelte-1af7gxu-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;
773
+ animation: svelte-1af7gxu-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);
774
+ animation: svelte-1af7gxu-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);
775
+ animation: svelte-1af7gxu-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%;
776
+ animation: svelte-1af7gxu-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;}
777
+ @media (prefers-reduced-motion: reduce) { .coin,
778
+ .draw-result-title,
779
+ .draw-result-description,
780
+ .draw-result-actions {opacity:1;transform:none;filter:none;} .coin svg,
781
+ .coin img {
782
+ animation: none;} .success-confetti-piece {
783
+ animation: none;}
784
+ } .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;}
785
+ @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;}
786
+ }`
787
+ };
788
+ function Rn(w, p) {
789
+ Zt(p, !0), Ft(w, Ln);
790
+ const i = () => Vt(qt, "$_", Ye), [Ye, ye] = Jt(), x = Q(p, "program", 7, null), K = Q(p, "endpoint", 7, null), L = Q(p, "session", 7, null), R = Q(p, "language", 7, "en"), F = Q(p, "showBackButton", 7, !0), re = Q(p, "liteMode", 7, !1), $ = ["history", "play", "rules"], j = { x: 0.38, y: 0.61, width: 0.22, ratio: 1.5 }, lt = [
791
+ { left: 17.34, size: 7.02, duration: 8.3, delay: 0.82 },
792
+ { left: 17.65, size: 7.04, duration: 5.23, delay: 0.87 },
793
+ { left: 22.05, size: 6.06, duration: 8.1, delay: 4.14 },
794
+ { left: 32.98, size: 3.94, duration: 8.5, delay: 5.97 },
795
+ { left: 33.48, size: 4.65, duration: 5.54, delay: 2.22 },
796
+ { left: 86.92, size: 5.49, duration: 6.98, delay: 5.13 },
797
+ { left: 69.3, size: 4.59, duration: 9.94, delay: 4.69 },
798
+ { left: 59.41, size: 6.79, duration: 7.18, delay: 2.33 },
799
+ { left: 88.73, size: 4.55, duration: 8.69, delay: 2.98 },
800
+ { left: 83.45, size: 6.33, duration: 9.85, delay: 4.96 },
801
+ { left: 38.41, size: 6.88, duration: 8.47, delay: 2.86 },
802
+ { left: 68.36, size: 5.33, duration: 5.15, delay: 2.17 },
803
+ { left: 87.64, size: 4.64, duration: 5.11, delay: 5.7 },
804
+ { left: 34.09, size: 7.96, duration: 8.16, delay: 2.01 }
805
+ ], fe = "M50 18 C33 18 20 31 20 48 C20 60 27 69 37 73 L29 128 C28 133 32 137 37 137 L63 137 C68 137 72 133 71 128 L63 73 C73 69 80 60 80 48 C80 31 67 18 50 18 Z";
806
+ let A = z(je($[1])), Z = z(null), W = z(!1), se = z(!1), ge = z(!1), g = z("drag"), M = z(null);
807
+ const Ie = ne(() => {
808
+ var e, n;
809
+ return !!K() && !!x() && ((n = (e = x()) == null ? void 0 : e.remainingTimes) != null ? n : 0) > 0;
810
+ }), oe = ne(() => {
811
+ var e, n;
812
+ return !!x() && ((n = (e = x()) == null ? void 0 : e.remainingTimes) != null ? n : 0) <= 0;
813
+ }), Te = ne(() => t(Ie) && !t(W) && !t(se) && !t(ge)), N = (e) => new Promise((n) => setTimeout(n, e));
814
+ let ie = z(je({}));
815
+ Wt(() => {
816
+ if (t(oe))
817
+ return rn({
818
+ getTarget: () => {
819
+ var e, n;
820
+ return (n = (e = x()) == null ? void 0 : e.next) == null ? void 0 : n.startTime;
821
+ },
822
+ onTick: (e) => o(ie, e, !0),
823
+ // Hub refetches programs and re-targets activeGame to the live one.
824
+ onElapsed: () => window.postMessage({ type: "PrizeGameCountdownElapsed" }, window.location.href)
825
+ });
826
+ });
827
+ const ct = () => window.postMessage({ type: "CloseMiniGame" }, window.location.href), pt = (e) => {
828
+ e === t(A) || t(W) || o(A, e, !0);
829
+ }, mt = (e) => me(this, null, function* () {
830
+ var h;
831
+ const n = new URL(`${K()}/v1/wof/draw/${(h = x()) == null ? void 0 : h.id}`), a = new Headers();
832
+ return L() && a.append("X-SessionId", L()), a.append("Content-Type", "application/json"), (yield fetch(n, {
833
+ method: "PUT",
834
+ headers: a,
835
+ cache: "no-store",
836
+ body: JSON.stringify({ action: 1, guid: e })
837
+ })).json();
838
+ }), dt = () => {
839
+ if (t(he)) {
840
+ const n = t(he).getBoundingClientRect();
841
+ return { x: n.left + n.width / 2, y: n.top + n.height / 2 };
842
+ }
843
+ if (!t(V)) return null;
844
+ const e = t(V).getBoundingClientRect();
845
+ return {
846
+ x: e.left + e.width * j.x,
847
+ y: e.top + e.height * j.y
848
+ };
849
+ }, De = () => {
850
+ o(g, "drag"), o(M, null);
851
+ }, yt = (e, n) => me(this, null, function* () {
852
+ const a = dt();
853
+ a && (o(g, "flying"), o(M, { x: e, y: n, scale: 1, rot: 0 }, !0), yield N(30), o(M, { x: a.x - 80, y: a.y, scale: 1, rot: 0 }, !0), yield N(570), o(g, "inserting"), o(M, { x: a.x, y: a.y - 15, scale: 1, rot: 0 }, !0), yield N(350), o(g, "fading"), yield N(300), o(g, "filling"), o(M, null), yield N(700));
854
+ }), ft = () => me(this, null, function* () {
855
+ o(g, "opening"), o(M, null), yield N(2400);
856
+ }), Ge = (e, n) => me(this, null, function* () {
857
+ var H, I, U;
858
+ if (!t(Te)) return;
859
+ if (o(W, !0), o(se, !1), e === void 0 || n === void 0) {
860
+ const v = (H = t(le)) == null ? void 0 : H.getBoundingClientRect();
861
+ e = v ? v.left + v.width / 2 : window.innerWidth / 2, n = v ? v.top + v.height / 2 : window.innerHeight / 2;
862
+ }
863
+ let a = !1;
864
+ const y = setTimeout(
865
+ () => {
866
+ a || (a = !0, o(se, !0), o(W, !1), De());
867
+ },
868
+ an
869
+ ), h = en(), T = mt(h).catch((v) => (console.log(v), null));
870
+ yield yt(e, n), yield ft();
871
+ const J = yield T;
872
+ if (!a) {
873
+ if (a = !0, clearTimeout(y), J) {
874
+ const v = tn(J, "draw");
875
+ o(
876
+ Z,
877
+ st(rt({}, v), {
878
+ guid: h,
879
+ lotteryProgramID: (U = v.lotteryProgramID) != null ? U : (I = x()) == null ? void 0 : I.id
880
+ }),
881
+ !0
882
+ );
883
+ }
884
+ o(W, !1), De();
885
+ }
886
+ }), gt = () => o(se, !1);
887
+ let V = z(void 0), le = z(void 0), he = z(void 0), q = z(!1), ue = z(je({ x: 0, y: 0 })), xe = z(!1), Be = { x: 0, y: 0 }, Ee = { x: 0, y: 0 };
888
+ const ht = () => {
889
+ if (!t(V) || !t(le)) return !1;
890
+ const e = t(V).getBoundingClientRect(), n = t(le).getBoundingClientRect(), a = e.width * j.width, y = a * j.ratio, h = e.left + e.width * j.x - a / 2, T = e.top + e.height * j.y - y / 2;
891
+ return n.left < h + a && n.right > h && n.top < T + y && n.bottom > T;
892
+ }, ut = (e) => {
893
+ !t(Te) || t(q) || (o(q, !0), Be = { x: e.clientX, y: e.clientY }, Ee = { x: e.clientX, y: e.clientY });
894
+ }, Xe = (e) => {
895
+ t(q) && (o(ue, { x: e.clientX - Be.x, y: e.clientY - Be.y }, !0), Ee = { x: e.clientX, y: e.clientY }, o(xe, ht(), !0));
896
+ }, Ke = (e) => {
897
+ if (!t(q)) return;
898
+ const n = e && t(xe), a = Ee;
899
+ o(q, !1), o(xe, !1), o(ue, { x: 0, y: 0 }, !0), n && Ge(a.x, a.y);
900
+ }, Oe = () => Ke(!0), Fe = () => Ke(!1), Ae = () => on({
901
+ endpoint: K(),
902
+ session: L(),
903
+ program: Qt(x())
904
+ }).finally(() => {
905
+ o(ge, !1);
906
+ }), He = sn({
907
+ onReset: () => o(Z, null),
908
+ onSkipFetch: () => o(ge, !0),
909
+ refetch: Ae
910
+ });
911
+ At(() => (window.addEventListener("message", He), window.addEventListener("pointermove", Xe), window.addEventListener("pointerup", Oe), window.addEventListener("pointercancel", Fe), () => {
912
+ window.removeEventListener("message", He), window.removeEventListener("pointermove", Xe), window.removeEventListener("pointerup", Oe), window.removeEventListener("pointercancel", Fe);
913
+ }));
914
+ var xt = {
915
+ get program() {
916
+ return x();
917
+ },
918
+ set program(e = null) {
919
+ x(e), ae();
920
+ },
921
+ get endpoint() {
922
+ return K();
923
+ },
924
+ set endpoint(e = null) {
925
+ K(e), ae();
926
+ },
927
+ get session() {
928
+ return L();
929
+ },
930
+ set session(e = null) {
931
+ L(e), ae();
932
+ },
933
+ get language() {
934
+ return R();
935
+ },
936
+ set language(e = "en") {
937
+ R(e), ae();
938
+ },
939
+ get showBackButton() {
940
+ return F();
941
+ },
942
+ set showBackButton(e = !0) {
943
+ F(e), ae();
944
+ },
945
+ get liteMode() {
946
+ return re();
947
+ },
948
+ set liteMode(e = !1) {
949
+ re(e), ae();
950
+ }
951
+ }, ve = Sn();
952
+ let Ue;
953
+ var Pe = m(ve), $e = m(Pe), vt = l($e, 4);
954
+ {
955
+ var bt = (e) => {
956
+ var n = un(), a = l(de(n), 2);
957
+ {
958
+ var y = (h) => {
959
+ var T = Ht(), J = de(T);
960
+ ot(J, 17, () => lt, Ut, (H, I) => {
961
+ var U = hn();
962
+ let v;
963
+ S(() => {
964
+ var _e, ce, we, pe, ke;
965
+ return v = te(U, "", v, {
966
+ left: `${(_e = t(I).left) != null ? _e : ""}%`,
967
+ width: `${(ce = t(I).size) != null ? ce : ""}px`,
968
+ height: `${(we = t(I).size) != null ? we : ""}px`,
969
+ "animation-duration": `${(pe = t(I).duration) != null ? pe : ""}s`,
970
+ "animation-delay": `${(ke = t(I).delay) != null ? ke : ""}s`
971
+ });
972
+ }), f(H, U);
973
+ }), f(h, T);
974
+ };
975
+ E(a, (h) => {
976
+ re() || h(y);
977
+ });
978
+ }
979
+ f(e, n);
980
+ };
981
+ E(vt, (e) => {
982
+ t(Z) || e(bt);
983
+ });
984
+ }
985
+ d(Pe);
986
+ var Ze = l(Pe, 2);
987
+ {
988
+ let e = ne(() => !F());
989
+ mn(Ze, {
990
+ onClick: ct,
991
+ get hidden() {
992
+ return t(e);
993
+ }
994
+ });
995
+ }
996
+ var Se = l(Ze, 2), Le = m(Se), _t = m(Le, !0);
997
+ d(Le);
998
+ var We = l(Le, 2), wt = m(We, !0);
999
+ d(We), d(Se);
1000
+ var be = l(Se, 2), Ne = m(be);
1001
+ let Ve;
1002
+ var kt = l(Ne, 2);
1003
+ ot(kt, 16, () => $, (e) => e, (e, n) => {
1004
+ var a = xn();
1005
+ let y;
1006
+ var h = m(a, !0);
1007
+ d(a), S(
1008
+ (T) => {
1009
+ y = ee(a, 1, "mystery-chest__tab svelte-1af7gxu", null, y, { "mystery-chest__tab--active": t(A) === n }), X(a, "aria-selected", t(A) === n), P(h, T);
1010
+ },
1011
+ [() => i()(n)]
1012
+ ), Ce("click", a, () => pt(n)), f(e, a);
1013
+ }), d(be);
1014
+ var zt = l(be, 2);
1015
+ {
1016
+ var Ct = (e) => {
1017
+ {
1018
+ let n = ne(() => ({ noPrize: fn, win: gn }));
1019
+ ln(e, {
1020
+ get result() {
1021
+ return t(Z);
1022
+ },
1023
+ get endpoint() {
1024
+ return K();
1025
+ },
1026
+ get session() {
1027
+ return L();
1028
+ },
1029
+ get liteMode() {
1030
+ return re();
1031
+ },
1032
+ get images() {
1033
+ return t(n);
1034
+ },
1035
+ noPrizeDust: !0,
1036
+ onFetchRemainingTimes: Ae
1037
+ });
1038
+ }
1039
+ }, Yt = (e) => {
1040
+ var n = Pn(), a = de(n), y = m(a);
1041
+ let h;
1042
+ var T = m(y);
1043
+ {
1044
+ var J = (s) => {
1045
+ var r = vn();
1046
+ nn(4), f(s, r);
1047
+ };
1048
+ E(T, (s) => {
1049
+ t(g) === "opening" && s(J);
1050
+ });
1051
+ }
1052
+ var H = l(T, 2), I = l(H, 2);
1053
+ {
1054
+ var U = (s) => {
1055
+ var r = wn();
1056
+ let c, k;
1057
+ var u = m(r);
1058
+ X(u, "d", fe);
1059
+ var b = l(u);
1060
+ {
1061
+ var _ = (B) => {
1062
+ var O = bn();
1063
+ X(O, "d", fe), f(B, O);
1064
+ }, D = (B) => {
1065
+ var O = _n(), C = de(O);
1066
+ X(C, "d", fe);
1067
+ var G = l(C);
1068
+ X(G, "d", fe), f(B, O);
1069
+ };
1070
+ E(b, (B) => {
1071
+ t(g) === "filling" ? B(_) : B(D, -1);
1072
+ });
1073
+ }
1074
+ d(r), Re(r, (B) => o(he, B), () => t(he)), S(() => {
1075
+ c = ee(r, 0, "mystery-chest__keyhole svelte-1af7gxu", null, c, {
1076
+ "mystery-chest__keyhole--active": t(xe),
1077
+ "mystery-chest__keyhole--filling": t(g) === "filling"
1078
+ }), k = te(r, "", k, {
1079
+ left: `${j.x * 100}%`,
1080
+ top: `${j.y * 100}%`,
1081
+ width: `${j.width * 100}%`
1082
+ });
1083
+ }), f(s, r);
1084
+ };
1085
+ E(I, (s) => {
1086
+ t(oe) || s(U);
1087
+ });
1088
+ }
1089
+ var v = l(I, 2);
1090
+ {
1091
+ var _e = (s) => {
1092
+ var r = kn();
1093
+ let c;
1094
+ S(() => c = te(r, "", c, { left: `${j.x * 100}%`, top: `${j.y * 100}%` })), f(s, r);
1095
+ };
1096
+ E(v, (s) => {
1097
+ t(g) === "filling" && s(_e);
1098
+ });
1099
+ }
1100
+ d(y), Re(y, (s) => o(V, s), () => t(V));
1101
+ var ce = l(y, 2);
1102
+ {
1103
+ var we = (s) => {
1104
+ var r = zn();
1105
+ let c, k;
1106
+ var u = m(r);
1107
+ d(r), Re(r, (b) => o(le, b), () => t(le)), S(() => {
1108
+ var b, _;
1109
+ c = ee(r, 1, "mystery-chest__key svelte-1af7gxu", null, c, {
1110
+ "mystery-chest__key--dragging": t(q),
1111
+ "mystery-chest__key--hidden": t(g) !== "drag"
1112
+ }), k = te(r, "", k, {
1113
+ transform: `translate3d(${(b = t(ue).x) != null ? b : ""}px, ${(_ = t(ue).y) != null ? _ : ""}px, 0)`
1114
+ }), X(u, "src", it);
1115
+ }), Ce("pointerdown", r, ut), f(s, r);
1116
+ };
1117
+ E(ce, (s) => {
1118
+ t(oe) || s(we);
1119
+ });
1120
+ }
1121
+ var pe = l(ce, 2);
1122
+ {
1123
+ var ke = (s) => {
1124
+ var r = Cn();
1125
+ let c;
1126
+ S(() => {
1127
+ var k, u, b, _, D;
1128
+ ee(r, 1, `mystery-chest__key-fly mystery-chest__key-fly--${(k = t(g)) != null ? k : ""}`, "svelte-1af7gxu"), X(r, "src", it), c = te(r, "", c, {
1129
+ left: `${(u = t(M).x) != null ? u : ""}px`,
1130
+ top: `${(b = t(M).y) != null ? b : ""}px`,
1131
+ transform: `translate(-50%, -50%) rotate(${(_ = t(M).rot) != null ? _ : ""}deg) scale(${(D = t(M).scale) != null ? D : ""})`
1132
+ });
1133
+ }), f(s, r);
1134
+ };
1135
+ E(pe, (s) => {
1136
+ t(M) && s(ke);
1137
+ });
1138
+ }
1139
+ var Pt = l(pe, 2);
1140
+ {
1141
+ var St = (s) => {
1142
+ var r = Yn(), c = m(r), k = m(c, !0);
1143
+ d(c);
1144
+ var u = l(c, 2), b = m(u, !0);
1145
+ d(u);
1146
+ var _ = l(u, 2), D = m(_, !0);
1147
+ d(_), d(r), S(
1148
+ (B, O, C) => {
1149
+ P(k, B), P(b, O), P(D, C);
1150
+ },
1151
+ [
1152
+ () => i()("timeoutTitle"),
1153
+ () => i()("timeoutDescription"),
1154
+ () => i()("close")
1155
+ ]
1156
+ ), Ce("click", _, gt), f(s, r);
1157
+ }, Lt = (s) => {
1158
+ var r = Tn(), c = m(r), k = m(c, !0);
1159
+ d(c);
1160
+ var u = l(c, 2), b = m(u, !0);
1161
+ d(u), d(r), S(
1162
+ (_, D) => {
1163
+ P(k, _), P(b, D);
1164
+ },
1165
+ [
1166
+ () => i()("nextAvailable"),
1167
+ () => i()("countdown", {
1168
+ values: {
1169
+ days: t(ie).days,
1170
+ hours: t(ie).hours,
1171
+ minutes: t(ie).minutes,
1172
+ seconds: t(ie).seconds
1173
+ }
1174
+ })
1175
+ ]
1176
+ ), f(s, r);
1177
+ };
1178
+ E(Pt, (s) => {
1179
+ t(se) ? s(St) : t(oe) && s(Lt, 1);
1180
+ });
1181
+ }
1182
+ d(a);
1183
+ var qe = l(a, 2);
1184
+ {
1185
+ var Rt = (s) => {
1186
+ var r = En(), c = de(r), k = m(c, !0);
1187
+ d(c);
1188
+ var u = l(c, 2), b = m(u), _ = l(b), D = l(m(_), 2);
1189
+ {
1190
+ var B = (C) => {
1191
+ var G = Bn();
1192
+ f(C, G);
1193
+ }, O = (C) => {
1194
+ var G = $t();
1195
+ S(() => {
1196
+ var Je, Qe, et, tt;
1197
+ return P(G, (tt = (Qe = (Je = x()) == null ? void 0 : Je.current) == null ? void 0 : Qe.remainingTimes) != null ? tt : (et = x()) == null ? void 0 : et.remainingTimes);
1198
+ }), f(C, G);
1199
+ };
1200
+ E(D, (C) => {
1201
+ t(ge) ? C(B) : C(O, -1);
1202
+ });
1203
+ }
1204
+ d(_), d(u), S(
1205
+ (C, G) => {
1206
+ P(k, C), P(b, `${G != null ? G : ""} `);
1207
+ },
1208
+ [() => i()("dragKeyToKeyhole"), () => i()("remainingKeys")]
1209
+ ), f(s, r);
1210
+ };
1211
+ E(qe, (s) => {
1212
+ t(Ie) && s(Rt);
1213
+ });
1214
+ }
1215
+ var ze = l(qe, 2), jt = m(ze, !0);
1216
+ d(ze), S(
1217
+ (s) => {
1218
+ h = ee(y, 1, "mystery-chest__chest svelte-1af7gxu", null, h, {
1219
+ "mystery-chest__chest--still": t(g) === "flying" || t(g) === "inserting",
1220
+ "mystery-chest__chest--filling": t(g) === "filling",
1221
+ "mystery-chest__chest--opening": t(g) === "opening",
1222
+ "mystery-chest__chest--locked": t(oe)
1223
+ }), X(H, "src", yn), ze.disabled = !t(Te), P(jt, s);
1224
+ },
1225
+ [() => i()("openChest")]
1226
+ ), Ce("click", ze, () => Ge()), f(e, n);
1227
+ }, Tt = (e) => {
1228
+ {
1229
+ let n = ne(() => {
1230
+ var a;
1231
+ return (a = x()) == null ? void 0 : a.id;
1232
+ });
1233
+ cn(e, {
1234
+ get programId() {
1235
+ return t(n);
1236
+ },
1237
+ get endpoint() {
1238
+ return K();
1239
+ },
1240
+ get session() {
1241
+ return L();
1242
+ }
1243
+ });
1244
+ }
1245
+ }, Bt = (e) => {
1246
+ pn(e, {
1247
+ get program() {
1248
+ return x();
1249
+ },
1250
+ get language() {
1251
+ return R();
1252
+ }
1253
+ });
1254
+ };
1255
+ E(zt, (e) => {
1256
+ t(Z) ? e(Ct) : t(A) === $[1] ? e(Yt, 1) : t(A) === $[0] ? e(Tt, 2) : e(Bt, -1);
1257
+ });
1258
+ }
1259
+ d(ve), S(
1260
+ (e, n, a, y) => {
1261
+ Ue = ee(ve, 1, "mystery-chest svelte-1af7gxu", null, Ue, {
1262
+ "mystery-chest--lite": re(),
1263
+ "mystery-chest--result": !!t(Z),
1264
+ "mystery-chest--plain": t(A) !== $[1],
1265
+ "mystery-chest--busy": t(W),
1266
+ "mystery-chest--opening": t(g) === "opening",
1267
+ "mystery-chest--no-back": !F()
1268
+ }), X($e, "src", dn), P(_t, e), P(wt, n), X(be, "aria-label", a), Ve = te(Ne, "", Ve, y);
1269
+ },
1270
+ [
1271
+ () => i()("mysteryChestTitle"),
1272
+ () => i()("wofSubtitle"),
1273
+ () => i()("mysteryChestTitle"),
1274
+ () => ({
1275
+ transform: `translateX(${$.indexOf(t(A)) * 100}%)`
1276
+ })
1277
+ ]
1278
+ ), f(w, ve);
1279
+ var Et = Nt(xt);
1280
+ return ye(), Et;
1281
+ }
1282
+ Kt(["click", "pointerdown"]);
1283
+ Ot(
1284
+ Rn,
1285
+ {
1286
+ program: {},
1287
+ endpoint: {},
1288
+ session: {},
1289
+ language: {},
1290
+ showBackButton: {},
1291
+ liteMode: {}
1292
+ },
1293
+ [],
1294
+ [],
1295
+ { mode: "open" }
1296
+ );
1297
+ export {
1298
+ Rn as M
1299
+ };