@everymatrix/mini-games-hub 0.1.13 → 0.1.15

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 (270) hide show
  1. package/components/BackButton-BMWvZ9Lb.js +39 -0
  2. package/components/BackButton-BNp3jVLa.js +39 -0
  3. package/components/BackButton-Bi1zFTns.js +38 -0
  4. package/components/BackButton-BvRNh4nJ.js +39 -0
  5. package/components/BackButton-C2-HXI2m.cjs +1 -0
  6. package/components/BackButton-C_v3b0Ky.cjs +1 -0
  7. package/components/BackButton-D5gfQ3NI.cjs +1 -0
  8. package/components/BackButton-DOW_OP-H.cjs +1 -0
  9. package/components/BackButton-DznJk3U4.js +38 -0
  10. package/components/BackButton-gIVGAf6v.js +38 -0
  11. package/components/BackButton-s0YqvufR.cjs +1 -0
  12. package/components/CoinFlip-5qt33VpA.js +399 -0
  13. package/components/CoinFlip-9-7FNYAn.js +364 -0
  14. package/components/CoinFlip-B0Q-xZDI.cjs +1 -0
  15. package/components/CoinFlip-BWNJK7aS.js +402 -0
  16. package/components/CoinFlip-BaNNMAYb.cjs +1 -0
  17. package/components/CoinFlip-BgRZmhbg.js +367 -0
  18. package/components/CoinFlip-COwy7cq1.cjs +1 -0
  19. package/components/CoinFlip-CSel9VZR.js +398 -0
  20. package/components/CoinFlip-CfHvSwpV.cjs +1 -0
  21. package/components/CoinFlip-ClRh6gz2.js +363 -0
  22. package/components/CoinFlip-D7Bwnl8W.cjs +1 -0
  23. package/components/CoinFlip-D8OLaQiA.js +367 -0
  24. package/components/CoinFlip-Dg2ZA_B2.cjs +1 -0
  25. package/components/CoinFlip-DoASIhfX.cjs +1 -0
  26. package/components/CoinFlip-pvtcTO4f.cjs +1 -0
  27. package/components/CoinFlip-vrZpkrnS.js +402 -0
  28. package/components/CoinRoyale-4Oe-x5-J.cjs +734 -0
  29. package/components/CoinRoyale-9nHMXODj.js +1017 -0
  30. package/components/CoinRoyale-B3bu5S4n.cjs +734 -0
  31. package/components/CoinRoyale-B4dKiGgG.cjs +736 -0
  32. package/components/CoinRoyale-BNxFDqe1.js +999 -0
  33. package/components/CoinRoyale-BwNvG3QI.js +1009 -0
  34. package/components/CoinRoyale-Bza84vCL.cjs +738 -0
  35. package/components/CoinRoyale-C-x6uDgh.js +989 -0
  36. package/components/CoinRoyale-CAI2JCvG.js +1020 -0
  37. package/components/CoinRoyale-CGHKZ-kc.js +997 -0
  38. package/components/CoinRoyale-CbqmmMPg.cjs +736 -0
  39. package/components/CoinRoyale-ChWsctqo.cjs +759 -0
  40. package/components/CoinRoyale-Cw8ImDP5.js +1040 -0
  41. package/components/CoinRoyale-CxIBSKFK.js +1017 -0
  42. package/components/CoinRoyale-D-rF6BV4.js +1019 -0
  43. package/components/CoinRoyale-DH-tQHtT.cjs +736 -0
  44. package/components/CoinRoyale-DmcgvBwG.js +997 -0
  45. package/components/CoinRoyale-d2utu3E3.cjs +759 -0
  46. package/components/CoinRoyale-xAkf1dm_.cjs +738 -0
  47. package/components/DrawResult-BHZeM1oX.cjs +1 -0
  48. package/components/DrawResult-BVtwLs-z.js +373 -0
  49. package/components/DrawResult-CG5KTjF7.cjs +1 -0
  50. package/components/DrawResult-COyPm6Cv.cjs +1 -0
  51. package/components/DrawResult-CbLPtjvZ.js +343 -0
  52. package/components/DrawResult-Cul15bW0.cjs +1 -0
  53. package/components/DrawResult-DMRODSxk.cjs +1 -0
  54. package/components/DrawResult-DTJJfQkP.js +373 -0
  55. package/components/DrawResult-DdL4fFZM.js +343 -0
  56. package/components/DrawResult-DxG4CaKK.cjs +1 -0
  57. package/components/DrawResult-SyzKXHgd.js +343 -0
  58. package/components/DrawResult-ZEAa0flC.js +373 -0
  59. package/components/GameCard-8k9KvRun.cjs +3 -0
  60. package/components/GameCard-A3k7RxF5.js +63 -0
  61. package/components/GameCard-B2td6J8K.js +62 -0
  62. package/components/{GameCard-BIn8BJ4U.cjs → GameCard-Bku9nP58.cjs} +3 -3
  63. package/components/GameCard-CBGi9i6m.cjs +3 -0
  64. package/components/GameCard-CHZmVd6n.cjs +3 -0
  65. package/components/GameCard-Cj4zAE8_.js +59 -0
  66. package/components/GameCard-CrKoQU1B.js +59 -0
  67. package/components/GameCard-DFVjSdtd.cjs +3 -0
  68. package/components/GameCard-DHetS96-.js +66 -0
  69. package/components/GameCard-DcWpuwMl.cjs +3 -0
  70. package/components/GameCard-jIcB63Tt.js +62 -0
  71. package/components/GameHistory-9Mf_u0La.js +231 -0
  72. package/components/GameHistory-BktmYuDa.js +231 -0
  73. package/components/GameHistory-CGAhNQKk.js +231 -0
  74. package/components/GameHistory-ChYjWDsa.cjs +12 -0
  75. package/components/GameHistory-CmiIChL-.cjs +12 -0
  76. package/components/GameHistory-CrrlOaAg.js +231 -0
  77. package/components/GameHistory-DVsHn3lx.cjs +12 -0
  78. package/components/GameHistory-_jU0BiqI.js +231 -0
  79. package/components/GameHistory-aQf3vf9u.cjs +12 -0
  80. package/components/GameHistory-lyXo0tYb.cjs +12 -0
  81. package/components/GameHistory-uzrT81kU.js +231 -0
  82. package/components/GameHistory-v6cI-TIF.cjs +12 -0
  83. package/components/GamePlaceholder-4oI8uJ-1.cjs +1 -0
  84. package/components/GamePlaceholder-Bp4nTJeL.js +84 -0
  85. package/components/GamePlaceholder-COiYGwNi.cjs +15 -0
  86. package/components/GamePlaceholder-CfJ4hx9w.js +70 -0
  87. package/components/GamePlaceholder-D9JEXsAk.js +84 -0
  88. package/components/GamePlaceholder-DGnB06iW.js +71 -0
  89. package/components/GamePlaceholder-DS5evGU6.js +85 -0
  90. package/components/GamePlaceholder-DmiU1G7G.cjs +15 -0
  91. package/components/GamePlaceholder-Dwo_YAUQ.cjs +1 -0
  92. package/components/GamePlaceholder-Uni3xW09.cjs +15 -0
  93. package/components/GamePlaceholder-fVPk29f9.cjs +15 -0
  94. package/components/GamePlaceholder-vUYYV2Ps.js +85 -0
  95. package/components/GameRules-41OkRwZu.js +115 -0
  96. package/components/GameRules-BwLJBo6z.cjs +3 -0
  97. package/components/GameRules-CRiycUU8.js +115 -0
  98. package/components/GameRules-CTKyBDZO.cjs +3 -0
  99. package/components/GameRules-CV9sxZYz.js +126 -0
  100. package/components/GameRules-CuuoMoqN.cjs +3 -0
  101. package/components/GameRules-Cy7jwBok.js +126 -0
  102. package/components/GameRules-DUD8OKC0.js +115 -0
  103. package/components/GameRules-Dkl0qVzr.js +126 -0
  104. package/components/GameRules-DpGqZdSj.cjs +3 -0
  105. package/components/GameRules-DrBYjWA6.cjs +3 -0
  106. package/components/GameRules-DrZ6w0LM.cjs +3 -0
  107. package/components/MiniGamesHub-BWPRLpyq.cjs +16 -0
  108. package/components/MiniGamesHub-BXcQ_faH.js +1022 -0
  109. package/components/MiniGamesHub-BjME_rom.cjs +16 -0
  110. package/components/{MiniGamesHub-D3BazHMT.js → MiniGamesHub-Bn-xvO1e.js} +419 -743
  111. package/components/MiniGamesHub-BpjzFxHO.cjs +16 -0
  112. package/components/MiniGamesHub-BtC6TmtK.cjs +16 -0
  113. package/components/MiniGamesHub-C-9Nf-x7.js +1029 -0
  114. package/components/MiniGamesHub-C0ESIt9P.cjs +16 -0
  115. package/components/MiniGamesHub-CfIFEVOU.js +1022 -0
  116. package/components/MiniGamesHub-Cj_6ebsL.cjs +16 -0
  117. package/components/MiniGamesHub-CktxKKTj.cjs +16 -0
  118. package/components/MiniGamesHub-CrPltGGl.js +1042 -0
  119. package/components/MiniGamesHub-D2Eet3pe.js +1048 -0
  120. package/components/{MiniGamesHub-Cu8_8yFl.js → MiniGamesHub-DCCeYwnc.js} +416 -760
  121. package/components/MiniGamesHub-DuyWceLB.cjs +16 -0
  122. package/components/MiniGamesHub-Dz8Ltp98.js +1048 -0
  123. package/components/MiniGamesHub-_uRBhzYg.js +1029 -0
  124. package/components/MiniGamesHub-kIXoGqbZ.cjs +16 -0
  125. package/components/MiniGamesHub-v8PPHifq.js +1072 -0
  126. package/components/MysteryChest-B4h9tqVR.js +1301 -0
  127. package/components/MysteryChest-BJCFkn02.cjs +737 -0
  128. package/components/MysteryChest-BXPAdruk.js +1290 -0
  129. package/components/MysteryChest-BuB9PD57.js +1240 -0
  130. package/components/MysteryChest-C40hwiCW.cjs +745 -0
  131. package/components/MysteryChest-CKPELFiF.cjs +737 -0
  132. package/components/MysteryChest-CRJtPhlo.cjs +743 -0
  133. package/components/MysteryChest-CScyc3Jw.cjs +745 -0
  134. package/components/MysteryChest-CheF_Rh5.cjs +739 -0
  135. package/components/MysteryChest-CrL8IXga.js +1309 -0
  136. package/components/MysteryChest-CrXzepqD.js +1296 -0
  137. package/components/MysteryChest-D6eks4QE.js +1254 -0
  138. package/components/MysteryChest-DJuhkpSa.cjs +743 -0
  139. package/components/MysteryChest-DOTlHt7A.js +1248 -0
  140. package/components/MysteryChest-DfggF659.js +1262 -0
  141. package/components/MysteryChest-Di-dVQnd.cjs +745 -0
  142. package/components/MysteryChest-DnstXEZJ.js +1298 -0
  143. package/components/MysteryChest-IcRh-Dcp.js +1247 -0
  144. package/components/MysteryChest-dyhqTxMg.cjs +739 -0
  145. package/components/WheelOfFortune--1feiOUD.js +950 -0
  146. package/components/WheelOfFortune-B0g1znMo.cjs +627 -0
  147. package/components/{WheelOfFortune-BlHeZ0q7.cjs → WheelOfFortune-BC0wwnC-.cjs} +8 -23
  148. package/components/{WheelOfFortune-CnaDpfpq.js → WheelOfFortune-BYxOqBjA.js} +151 -177
  149. package/components/WheelOfFortune-BgUB1tnc.js +942 -0
  150. package/components/WheelOfFortune-Bh2XAbs4.cjs +619 -0
  151. package/components/WheelOfFortune-BwmCnHru.js +926 -0
  152. package/components/WheelOfFortune-CHgHhi9q.cjs +619 -0
  153. package/components/WheelOfFortune-CRgnumXh.cjs +627 -0
  154. package/components/WheelOfFortune-CZ2cERqz.cjs +619 -0
  155. package/components/WheelOfFortune-CpYsfi8D.js +934 -0
  156. package/components/WheelOfFortune-Cy64rFDw.js +942 -0
  157. package/components/WheelOfFortune-DZ7fGpS9.cjs +619 -0
  158. package/components/WheelOfFortune-DZg0i79U.js +949 -0
  159. package/components/{WheelOfFortune-Lfc_l9kc.js → WheelOfFortune-DawF7WTd.js} +180 -231
  160. package/components/WheelOfFortune-DjdKhLGF.cjs +617 -0
  161. package/components/WheelOfFortune-M5VMIsnw.cjs +619 -0
  162. package/components/WheelOfFortune-kXjxp6t7.js +926 -0
  163. package/components/WheelOfFortune-pBG33-QJ.js +933 -0
  164. package/components/WheelOfFortuneWheel-7PqVvd_8.cjs +3 -0
  165. package/components/WheelOfFortuneWheel-B4fe-idJ.cjs +3 -0
  166. package/components/WheelOfFortuneWheel-BABzaEBd.js +1812 -0
  167. package/components/WheelOfFortuneWheel-BQFaJ7ZB.cjs +3 -0
  168. package/components/WheelOfFortuneWheel-BYEHNHdI.js +1807 -0
  169. package/components/WheelOfFortuneWheel-BoZ9evN7.cjs +3 -0
  170. package/components/WheelOfFortuneWheel-BuBjvGRI.cjs +3 -0
  171. package/components/{WheelOfFortuneWheel-BAR98ByP.js → WheelOfFortuneWheel-CQCLWOFi.js} +310 -302
  172. package/components/WheelOfFortuneWheel-CsOjhUcv.cjs +3 -0
  173. package/components/WheelOfFortuneWheel-DUE4gyGP.js +1741 -0
  174. package/components/{WheelOfFortuneWheel-DxFn6jjg.js → WheelOfFortuneWheel-DXhwrWpD.js} +548 -539
  175. package/components/WheelOfFortuneWheel-DgVQP4GA.js +1735 -0
  176. package/components/bg-scene-Bz42V1FW.cjs +1 -0
  177. package/components/bg-scene-DpHgKCHj.js +4 -0
  178. package/components/coin-heads-BuJOLpyg.cjs +1 -0
  179. package/components/coin-heads-loqcEtH2.js +4 -0
  180. package/components/coin-tails-20vJmhwv.cjs +1 -0
  181. package/components/coin-tails-BTbsTwkz.js +4 -0
  182. package/components/confetti-CIk02Iw8.cjs +1 -0
  183. package/components/confetti-QNsE8ssC.js +14 -0
  184. package/components/constants-BDMySuIA.cjs +1 -0
  185. package/components/constants-DNSPUges.cjs +1 -0
  186. package/components/{constants-BYsDpbRv.js → constants-DdcZGwlM.js} +28 -19
  187. package/components/constants-DgCBmV7S.js +29 -0
  188. package/components/constants-Ds7J0meH.cjs +1 -0
  189. package/components/constants-Q_kcdbM6.js +29 -0
  190. package/components/countdown-2m_26DZf.js +157 -0
  191. package/components/countdown-BhZfvy-p.cjs +1 -0
  192. package/components/countdown-Bp3yWidJ.cjs +1 -0
  193. package/components/countdown-CH5h-cVr.js +146 -0
  194. package/components/countdown-CnUPVFlE.cjs +1 -0
  195. package/components/countdown-DmWNNDzv.js +168 -0
  196. package/components/countdown-YmZm4DrD.js +146 -0
  197. package/components/countdown-o9wqo7P7.cjs +1 -0
  198. package/components/key-CFhvp9Ju.cjs +1 -0
  199. package/components/key-D1g9LqMU.js +4 -0
  200. package/components/mystery-chest-bg-CGT-JTBW.js +4 -0
  201. package/components/mystery-chest-bg-vrQMNafs.cjs +1 -0
  202. package/components/mystery-chest-empty-CSY7-Vbl.cjs +1 -0
  203. package/components/mystery-chest-empty-D7bbrCHH.js +4 -0
  204. package/components/mystery-chest-locked-CIxpYU3v.js +4 -0
  205. package/components/mystery-chest-locked-DiyrvNm3.cjs +1 -0
  206. package/components/mystery-chest-win-D1NYItcd.js +4 -0
  207. package/components/mystery-chest-win-OxXZtQQd.cjs +1 -0
  208. package/components/remaining-times-Dexper1E.js +52 -0
  209. package/components/remaining-times-DiYnfuZB.js +23 -0
  210. package/components/remaining-times-Eqo69UfM.cjs +1 -0
  211. package/components/remaining-times-Gt6ytHaa.cjs +1 -0
  212. package/components/sparkles-B2kHtb3R.js +14 -0
  213. package/components/sparkles-BBLT1jhq.js +14 -0
  214. package/components/sparkles-BIl7-lvq.cjs +1 -0
  215. package/components/sparkles-BRrL2C0i.cjs +1 -0
  216. package/components/sparkles-BXFe6GK6.js +18 -0
  217. package/components/sparkles-C2rT-gN_.cjs +1 -0
  218. package/components/sparkles-Cfa1xTlQ.js +14 -0
  219. package/components/sparkles-Cot5wZXx.cjs +1 -0
  220. package/components/sparkles-D1RTsqBU.js +18 -0
  221. package/components/sparkles-DKbGLSaY.cjs +1 -0
  222. package/components/sparkles-DmL-n8od.cjs +1 -0
  223. package/components/sparkles-WqrZ-iXs.js +18 -0
  224. package/components/spin-controller-3wmy9F5-.cjs +1 -0
  225. package/components/{spin-controller-CIshWmlA.cjs → spin-controller-BF6ymCY4.cjs} +1 -1
  226. package/components/spin-controller-Bc8nQATS.cjs +1 -0
  227. package/components/{spin-controller-BuBkKrNR.js → spin-controller-BcBfHUn9.js} +7 -7
  228. package/components/{spin-controller-REPdRwaB.js → spin-controller-CC3QZvWl.js} +8 -8
  229. package/components/spin-controller-CEIahkSh.cjs +1 -0
  230. package/components/spin-controller-CUb1rpPl.js +177 -0
  231. package/components/spin-controller-CVXfvzb7.cjs +1 -0
  232. package/components/spin-controller-DBglqs7W.js +175 -0
  233. package/components/spin-controller-Db-fwR9V.cjs +1 -0
  234. package/components/spin-controller-DkSQ07IL.js +177 -0
  235. package/components/spin-controller-Dxxx3-ya.js +175 -0
  236. package/components/utils-8EFTHKcu.cjs +3 -0
  237. package/components/utils-AGVOgUGK.cjs +3 -0
  238. package/components/{utils-C7uxZXaZ.js → utils-B3aNdyMX.js} +968 -958
  239. package/components/utils-BJHloM10.js +6055 -0
  240. package/components/utils-C1uNHR_J.cjs +3 -0
  241. package/components/{utils-d-JrZBJu.js → utils-DEov6Qk_.js} +902 -892
  242. package/components/utils-DQ220WK3.js +6016 -0
  243. package/components/utils-DwrHy7a0.js +6007 -0
  244. package/components/utils-Dwz-wUFC.cjs +3 -0
  245. package/components/utils-Rda5erjI.cjs +3 -0
  246. package/components/utils-fG_nzyoc.cjs +3 -0
  247. package/components/utils-qUyu-MNU.js +6064 -0
  248. package/es2015/mini-games-hub.cjs +1 -1
  249. package/es2015/mini-games-hub.js +1 -1
  250. package/esnext/mini-games-hub.cjs +1 -0
  251. package/esnext/mini-games-hub.js +1 -1
  252. package/package.json +12 -13
  253. package/components/GameCard-D3knomma.js +0 -56
  254. package/components/GameCard-Ds0FcnPp.js +0 -56
  255. package/components/MiniGamesHub-SjsgF4e2.cjs +0 -94
  256. package/components/WheelOfFortuneDrawResults-1lzyxrks.cjs +0 -1
  257. package/components/WheelOfFortuneDrawResults-DQweghnp.js +0 -301
  258. package/components/WheelOfFortuneDrawResults-dOeQDVub.js +0 -276
  259. package/components/WheelOfFortuneHistory-CQZ9QtVt.js +0 -232
  260. package/components/WheelOfFortuneHistory-DZNPM57t.cjs +0 -13
  261. package/components/WheelOfFortuneHistory-DygZEtcR.js +0 -232
  262. package/components/WheelOfFortuneRules-D3N1c8PX.js +0 -117
  263. package/components/WheelOfFortuneRules-DuiCet95.js +0 -128
  264. package/components/WheelOfFortuneRules-VAMAiK0m.cjs +0 -5
  265. package/components/WheelOfFortuneWheel-hSjxThyU.cjs +0 -3
  266. package/components/constants-DM6Vdc6Z.cjs +0 -1
  267. package/components/sparkles-BnriHiyw.cjs +0 -1
  268. package/components/sparkles-CSfeD2Zu.js +0 -25
  269. package/components/sparkles-CTrQ372y.js +0 -29
  270. package/components/utils-DQIHJIDu.cjs +0 -3
@@ -1,11 +1,12 @@
1
- import { d as Ae, c as Se, a as Ce, t as Pe, p, o as Te, i as ae, e as We, W as Fe, k as v, s as F, r as Ge, l as oe, b as X, f as H, m as je, u as Le } from "./WheelOfFortuneWheel-BAR98ByP.js";
2
- import { D as Ie, aL as Me, aM as x, az as Re, S as Ye, Z as n, ar as o, ae as Z, I as Oe, aY as G, aT as c, aO as Ee, aP as De, aS as y, aD as d, aQ as Xe, aW as s, b5 as Ze } from "./utils-d-JrZBJu.js";
3
- import { W as He } from "./WheelOfFortuneHistory-CQZ9QtVt.js";
4
- import { W as Ve } from "./WheelOfFortuneDrawResults-dOeQDVub.js";
5
- import { W as Ue } from "./WheelOfFortuneRules-D3N1c8PX.js";
6
- import { p as Ke } from "./constants-BYsDpbRv.js";
7
- var Ne = H('<video autoplay="" loop="" playsinline=""><source type="video/mp4" class="svelte-17ly5gn"/></video>', 2), Qe = H("<button> </button>"), qe = H('<div><!> <button><svg width="14" height="13" viewBox="0 0 14 13" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-17ly5gn"><path d="M6.41602 0.508789C6.52096 0.508793 6.59652 0.539241 6.66797 0.602539C6.7386 0.67644 6.76557 0.747068 6.76562 0.837891C6.76562 0.932337 6.7377 1.00571 6.66113 1.08203H6.66016L2.52344 5.21777L1.6543 6.08691H12.3633C12.475 6.08691 12.5456 6.11894 12.6084 6.18164C12.6712 6.24445 12.7034 6.31429 12.7031 6.4248C12.7029 6.53664 12.67 6.60779 12.6064 6.67188C12.5449 6.73387 12.4767 6.76611 12.3662 6.76562H1.6543L2.52344 7.63477L6.68066 11.791C6.75777 11.8681 6.77865 11.933 6.77637 12.0098C6.77383 12.0944 6.7457 12.1683 6.66797 12.249C6.58857 12.3195 6.50864 12.3512 6.40918 12.3545C6.33349 12.357 6.26929 12.3368 6.19238 12.2598L0.592773 6.66016C0.553631 6.62101 0.537222 6.59146 0.530273 6.57227C0.516661 6.53445 0.508264 6.48865 0.508789 6.43164C0.509411 6.36947 0.519283 6.31813 0.53418 6.27539C0.539753 6.25947 0.553255 6.23167 0.591797 6.19336L6.19238 0.592773C6.24602 0.539241 6.30834 0.508789 6.41602 0.508789Z" stroke="white" stroke-width="1.018" class="svelte-17ly5gn"></path></svg> <p class="svelte-17ly5gn"> </p></button> <div><h3 class="svelte-17ly5gn"> </h3> <p class="svelte-17ly5gn"> </p></div> <div></div> <div class="svelte-17ly5gn"><!></div> <!></div>');
8
- const Je = {
1
+ import { d as Be, c as Se, a as Ae, t as Ce, p, o as Ge, i as te, e as Pe, W as Le, l as y, h as j, r as Re, m as re, b as Z, f as H, s as je, u as Ye } from "./WheelOfFortuneWheel-CQCLWOFi.js";
2
+ import { D as Fe, aL as Me, aM as h, az as We, S as Te, Z as n, ar as a, ae as X, I as De, aY as k, aT as c, aO as Ie, aP as Ee, aS as w, aD as d, aQ as Ze, aW as s, b5 as Xe } from "./utils-DQ220WK3.js";
3
+ import { G as He } from "./GameHistory-CrrlOaAg.js";
4
+ import { D as Oe } from "./DrawResult-SyzKXHgd.js";
5
+ import { G as Ve } from "./GameRules-DUD8OKC0.js";
6
+ import { c as Ue, f as Ke } from "./remaining-times-DiYnfuZB.js";
7
+ import { p as Ne } from "./constants-DdcZGwlM.js";
8
+ var Qe = H('<video autoplay="" loop="" playsinline=""><source type="video/mp4" class="svelte-17ly5gn"/></video>', 2), qe = H("<button> </button>"), Je = H('<div><!> <button><svg width="14" height="13" viewBox="0 0 14 13" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-17ly5gn"><path d="M6.41602 0.508789C6.52096 0.508793 6.59652 0.539241 6.66797 0.602539C6.7386 0.67644 6.76557 0.747068 6.76562 0.837891C6.76562 0.932337 6.7377 1.00571 6.66113 1.08203H6.66016L2.52344 5.21777L1.6543 6.08691H12.3633C12.475 6.08691 12.5456 6.11894 12.6084 6.18164C12.6712 6.24445 12.7034 6.31429 12.7031 6.4248C12.7029 6.53664 12.67 6.60779 12.6064 6.67188C12.5449 6.73387 12.4767 6.76611 12.3662 6.76562H1.6543L2.52344 7.63477L6.68066 11.791C6.75777 11.8681 6.77865 11.933 6.77637 12.0098C6.77383 12.0944 6.7457 12.1683 6.66797 12.249C6.58857 12.3195 6.50864 12.3512 6.40918 12.3545C6.33349 12.357 6.26929 12.3368 6.19238 12.2598L0.592773 6.66016C0.553631 6.62101 0.537222 6.59146 0.530273 6.57227C0.516661 6.53445 0.508264 6.48865 0.508789 6.43164C0.509411 6.36947 0.519283 6.31813 0.53418 6.27539C0.539753 6.25947 0.553255 6.23167 0.591797 6.19336L6.19238 0.592773C6.24602 0.539241 6.30834 0.508789 6.41602 0.508789Z" stroke="white" stroke-width="1.018" class="svelte-17ly5gn"></path></svg> <p class="svelte-17ly5gn"> </p></button> <div><h3 class="svelte-17ly5gn"> </h3> <p class="svelte-17ly5gn"> </p></div> <div></div> <div class="svelte-17ly5gn"><!></div> <!></div>');
9
+ const $e = {
9
10
  hash: "svelte-17ly5gn",
10
11
  code: `@keyframes svelte-17ly5gn-wheelBob {
11
12
  0%, 100% {
@@ -589,38 +590,23 @@ const Je = {
589
590
  animation: none !important;} .wheel-container.is-lite .segment-hit-fill {filter:none !important;
590
591
  animation: svelte-17ly5gn-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,
591
592
  .wheel-container.is-lite .confetti {display:none;} .spin-button.is-lite {
592
- animation: svelte-17ly5gn-buttonBreath 2400ms ease-in-out infinite !important;} .wheel-content {background-color:var(--color-primary-6, #301200);display:flex;flex-direction:column;align-items:center;width:100%;max-width:720px;margin:0 auto;isolation:isolate;gap:clamp(6px, 2vw, 12px);padding-bottom:clamp(20px, 15vw, 50px);overflow:hidden;min-height:calc(var(--wof-size, clamp(276px, 100vw, 430px)) + 400px);position:relative;} .wheel-content > *:not(.wheel-container):not(.wheel-video-background),
593
+ animation: svelte-17ly5gn-buttonBreath 2400ms ease-in-out infinite !important;} .wheel-content {background-color:var(--color-primary-6, #301200);display:flex;flex-direction:column;align-items:center;width:100%;max-width:720px;margin:0 auto;isolation:isolate;gap:clamp(6px, 2vw, 12px);padding-bottom:clamp(20px, 15vw, 50px);overflow:hidden;min-height:calc(var(--game-stage-size, clamp(276px, 100vw, 430px)) + 400px);position:relative;} .wheel-content > *:not(.wheel-container):not(.wheel-video-background),
593
594
  .wheel-content .spins-info,
594
595
  .wheel-content .spin-button {transition:opacity 0.4s ease, filter 0.4s ease;} .wheel-content.wheel-background-halo {background-image:radial-gradient(circle at 50% 55%, rgba(var(--color-primary-2, 207, 120, 69), 0.78) 0 14%, rgba(var(--color-primary-4, 128, 60, 22), 0.7) 32%, rgba(var(--color-primary-6, 89, 24, 3), 0) 65%);} .wheel-content.is-spin-blocking {touch-action:none;} .wheel-content.is-spin-blocking > *:not(.wheel-container):not(.wheel-video-background),
595
596
  .wheel-content.is-spin-blocking .spins-info,
596
597
  .wheel-content.is-spin-blocking .spin-button {pointer-events:none;}
597
- @media (pointer: coarse), (max-width: 640px) { .wheel-content.is-spin-fullscreen {
598
- animation: svelte-17ly5gn-spinOverlayIn 0.4s ease forwards;touch-action:none;} .wheel-content.is-spin-fullscreen.is-spin-exiting {
599
- animation: svelte-17ly5gn-spinOverlayOut 0.35s ease forwards;} .wheel-content.is-spin-fullscreen .wheel-container {scale:1.15;margin-block:0;transition:scale 0.8s cubic-bezier(0.22, 1, 0.36, 1), margin-block 0.6s cubic-bezier(0.22, 1, 0.36, 1);animation-play-state:paused;} .wheel-content.is-spin-fullscreen > *:not(.wheel-container):not(.wheel-video-background),
598
+ @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),
600
599
  .wheel-content.is-spin-fullscreen .spins-info,
601
600
  .wheel-content.is-spin-fullscreen .spin-button {opacity:0;pointer-events:none;filter:blur(4px);transition:opacity 0.5s ease, filter 0.5s ease;}
602
601
  } .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;}
603
602
  @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);}
604
603
  }
605
604
  @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);}
606
- } .wheel-video-background.is-ready {opacity:0.2;} .back-button-container {display:flex;align-items:center;justify-content:start;line-height:20px;gap:6px;width:100%;padding:10px;background-color:transparent;color:var(--color-text-default, white);border:none;} .back-button-container svg {background-color:var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.1019607843));padding:5px;width:15px;height:15px;border-radius:50%;} .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(--wof-size, clamp(276px, 100vw, 430px));position:relative;z-index:1;margin-block:clamp(-18px, -4vw, -32px);
605
+ } .wheel-video-background.is-ready {opacity:0.2;} .back-button-container {display:flex;align-items:center;justify-content:start;line-height:20px;gap:6px;width:100%;padding:10px;background-color:transparent;color:var(--color-text-default, white);border:none;} .back-button-container svg {background-color:var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.1019607843));padding:5px;width:15px;height:15px;border-radius:50%;} .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);
607
606
  animation: svelte-17ly5gn-wheelBob 5000ms ease-in-out infinite;will-change:transform;} .spins-info {display:flex;align-items:center;gap:8px;font-size:clamp(14px, 4vw, 19px);font-weight:400;color:var(--color-text-default, rgba(238, 246, 255, 0.86));position:relative;z-index:2;} .spins-info .spins-count {display:flex;align-items:center;gap:6px;color:var(--color-text-brand, #ffcc00);font-weight:900;font-size:clamp(16px, 4.5vw, 20px);} .spins-info .spins-count-loader {display:inline-block;width:14px;height:14px;border:2px solid transparent;border-top-color:currentColor;border-right-color:currentColor;border-radius:50%;
608
- animation: svelte-17ly5gn-wofSpinnerRotate 600ms linear infinite;} .countdown-text {color:var(--color-overlay-neutral-4, rgba(255, 255, 255, 0.6509803922));font-size:clamp(13px, 3.8vw, 18px);text-align:center;position:relative;z-index:2;} .countdown-text .time-segment {font-variant-numeric:tabular-nums;} .spin-button {min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);background:linear-gradient(180deg, var(--color-button-primary, #ffd91c) 0%, var(--color-button-primary-hover, #ffbf00) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-style:italic;font-weight:900;cursor:pointer;position:relative;z-index:2;
607
+ animation: svelte-17ly5gn-wofSpinnerRotate 600ms linear infinite;} .countdown-text {color:var(--color-overlay-neutral-4, rgba(255, 255, 255, 0.6509803922));font-size:clamp(13px, 3.8vw, 18px);text-align:center;position:relative;z-index:2;} .countdown-text .time-segment {font-variant-numeric:tabular-nums;} .spin-button {min-width:clamp(161px, 46vw, 216px);min-height:clamp(43px, 11vw, 52px);border:none;border-radius:999px;color:var(--color-text-on-color, #111922);background:linear-gradient(180deg, var(--color-button-primary, #ffd91c) 0%, var(--color-button-primary-hover, #ffbf00) 100%);box-shadow:0 9px 13px rgba(0, 0, 0, 0.3), 0 0 22px rgba(255, 204, 0, 0.48), 0 0 38px rgba(255, 183, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);font:inherit;font-size:clamp(15px, 4.2vw, 20px);font-weight:900;cursor:pointer;position:relative;z-index:2;
609
608
  animation: svelte-17ly5gn-spinButtonZoomGlow 1800ms ease-in-out infinite;transform-origin:50% 50%;transition:opacity 260ms ease, transform 160ms ease, filter 160ms ease;} .spin-button:active {transform:translateY(2px) scale(0.98);animation-play-state:paused;} .spin-button:disabled {
610
- animation: none;filter:saturate(0%);box-shadow:none;pointer-events:none;}
611
- @keyframes svelte-17ly5gn-spinOverlayIn {
612
- from {
613
- opacity: 0;
614
- }
615
- to {
616
- opacity: 1;
617
- }
618
- }
619
- @keyframes svelte-17ly5gn-spinOverlayOut {
620
- to {
621
- opacity: 0;
622
- }
623
- } .draw-result-panel {flex:1;z-index:20;display:grid;place-items:center;padding:20px;text-align:center;overflow:hidden;width:100%;background:transparent;
609
+ 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;
624
610
  animation: svelte-17ly5gn-drawResultPop 420ms cubic-bezier(0.16, 0.92, 0.22, 1.04) both;} .draw-result-confetti-layer {position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;} .success-confetti-piece {--x: 50%;--tx: 0px;--rot: 0deg;--spin: 360deg;--hue: #ffd23e;--w: 8px;--h: 12px;--d: 1800ms;position:absolute;left:var(--x);top:-24px;width:var(--w);height:var(--h);border-radius:3px;background:var(--hue);filter:drop-shadow(0 0 5px rgba(255, 218, 74, 0.24));transform-origin:center;
625
611
  animation: svelte-17ly5gn-successConfettiFall var(--d) cubic-bezier(0.16, 0.68, 0.2, 1) forwards;} .success-confetti-piece.is-diamond {border-radius:2px;transform:rotate(45deg);} .success-confetti-piece.is-ribbon {border-radius:8px 2px;} .draw-result-stack {width:100%;display:grid;justify-items:center;position:relative;z-index:2;transform:translateY(clamp(16px, 5vw, 30px));} .draw-result-stack img {width:60%;max-width:300px;} .draw-result-stack img.lose {filter:saturate(0%);} .coin {width:clamp(140px, 38vw, 196px);height:clamp(142px, 38.5vw, 198px);display:grid;place-items:center;border-radius:0;opacity:0;transform:translate3d(0, 18px, 0) scale(0.98);will-change:opacity, transform;
626
612
  animation: svelte-17ly5gn-successElementIn 620ms cubic-bezier(0.16, 0.92, 0.22, 1) 90ms both;} .coin svg,
@@ -630,7 +616,7 @@ const Je = {
630
616
  animation: svelte-17ly5gn-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);
631
617
  animation: svelte-17ly5gn-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);
632
618
  animation: svelte-17ly5gn-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%;
633
- animation: svelte-17ly5gn-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-style:italic;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;font-style:italic;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;}
619
+ animation: svelte-17ly5gn-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;}
634
620
  @media (prefers-reduced-motion: reduce) { .coin,
635
621
  .draw-result-title,
636
622
  .draw-result-description,
@@ -640,39 +626,47 @@ const Je = {
640
626
  animation: none;}
641
627
  }`
642
628
  };
643
- function $e(V, i) {
644
- Ie(i, !0), Ce(V, Je);
645
- const _ = () => Ee(De, "$_", ie), [ie, se] = Xe();
646
- Me.extend(Pe);
647
- const le = "https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4", t = p(i, "program", 7, null), g = p(i, "endpoint", 7, null), b = p(i, "session", 7, null), j = p(i, "outerWheelAsset", 7, null), L = p(i, "wheelButtonAsset", 7, null), I = p(i, "backgroundVideoAsset", 7, null), M = p(i, "language", 7, "en"), R = p(i, "showBackButton", 7, !0), u = p(i, "liteMode", 7, !1), h = G(() => !g() || !t()), pe = G(() => !n(h) && (t()?.remainingTimes ?? 0) > 0), ce = G(() => n(h) ? Ke : t()?.partitions ?? []), l = ["history", "play", "rules"];
648
- let f = x(Re(l[1]));
649
- const de = (e) => {
629
+ function en(O, o) {
630
+ Fe(o, !0), Ae(O, $e);
631
+ const z = () => Ie(Ee, "$_", ae), [ae, oe] = Ze();
632
+ Me.extend(Ce);
633
+ const ie = "https://eclectic-starship-bbd011.netlify.app/assets/city-wheel-background.mp4", t = p(o, "program", 7, null), b = p(o, "endpoint", 7, null), x = p(o, "session", 7, null), Y = p(o, "outerWheelAsset", 7, null), F = p(o, "wheelButtonAsset", 7, null), M = p(o, "backgroundVideoAsset", 7, null), W = p(o, "language", 7, "en"), T = p(o, "showBackButton", 7, !0), u = p(o, "liteMode", 7, !1), g = k(() => !b() || !t()), _ = k(() => n(g) ? null : t()?.remainingTimes ?? null), se = k(() => !n(g) && (t()?.remainingTimes ?? 0) > 0), le = k(() => n(g) ? Ne : t()?.partitions ?? []), l = ["history", "play", "rules"];
634
+ let f = h(We(l[1]));
635
+ const pe = (e) => {
650
636
  e !== n(f) && (e === l[0] ? window.postMessage(
651
637
  {
652
638
  type: "event_wof_history_click",
653
- name: t()?.name || null
639
+ name: t()?.name || null,
640
+ availableSpins: n(_)
654
641
  },
655
642
  window.location.href
656
- ) : e === l[2] ? window.postMessage({ type: "event_wof_rules_click", name: t()?.name || null }, window.location.href) : window.postMessage(
643
+ ) : e === l[2] ? window.postMessage(
644
+ {
645
+ type: "event_wof_rules_click",
646
+ name: t()?.name || null,
647
+ availableSpins: n(_)
648
+ },
649
+ window.location.href
650
+ ) : window.postMessage(
657
651
  {
658
652
  type: "event_wof_accessed",
659
- isUserLoggedIn: !n(h),
653
+ isUserLoggedIn: !n(g),
660
654
  name: t()?.name || null,
661
- availableSpins: t()?.remainingTimes || null
655
+ availableSpins: n(_)
662
656
  },
663
657
  window.location.href
664
- ), o(Y, !1), o(f, e, !0));
658
+ ), a(D, !1), a(f, e, !0));
665
659
  };
666
- let m = x(null), B = x(!1), Y = x(!1), O = x(!1), A = x(!1), S = x(!1);
667
- Ye(() => {
660
+ let m = h(null), B = h(!1), D = h(!1), I = h(!1), S = h(!1), A = h(!1);
661
+ Te(() => {
668
662
  if (!u()) {
669
663
  if (n(B))
670
- o(A, !0), o(S, !1);
671
- else if (n(A)) {
672
- o(S, !0);
664
+ a(S, !0), a(A, !1);
665
+ else if (n(S)) {
666
+ a(A, !0);
673
667
  const e = setTimeout(
674
668
  () => {
675
- o(A, !1), o(S, !1);
669
+ a(S, !1), a(A, !1);
676
670
  },
677
671
  350
678
672
  );
@@ -680,49 +674,29 @@ function $e(V, i) {
680
674
  }
681
675
  }
682
676
  });
683
- const ge = () => window.postMessage({ type: "LuckyWheel:GoToLogin" }, window.location.href), fe = () => window.postMessage({ type: "CloseMiniGame" }, window.location.href), U = async () => {
684
- if (!t()?.id || !g()) return;
685
- const e = new URL(`${g()}/v1/wof/remainingTimes`), r = new Headers();
686
- b() && r.append("X-SessionId", b()), e.searchParams.append("filter", `ProgramId[]=${t().id}`);
687
- try {
688
- const w = await (await fetch(e, { method: "GET", headers: r })).json();
689
- let z = 0;
690
- if (w?.items?.length > 0) {
691
- const re = w.items.find((Be) => Be.programId === t().id);
692
- re && (z = +re.remainingTimes || 0);
693
- }
694
- const D = Ze({
695
- ...t(),
696
- remainingTimes: z,
697
- current: { ...t().current, remainingTimes: z }
698
- });
699
- window.postMessage({ type: "PrizeGameRemainingTimesUpdated", data: D }, "*");
700
- } catch (a) {
701
- console.log(a);
702
- } finally {
703
- o(O, !1);
704
- }
705
- }, K = (e) => {
706
- if (e.data)
707
- switch (e.data.type) {
708
- case "SpinAgain":
709
- case "BackToWheel":
710
- o(m, null), e.data.skipFetch ? o(O, !0) : U();
711
- break;
712
- }
713
- };
714
- Te(() => (window.postMessage(
677
+ const ce = () => window.postMessage({ type: "LuckyWheel:GoToLogin" }, window.location.href), de = () => window.postMessage({ type: "CloseMiniGame" }, window.location.href), V = () => Ke({
678
+ endpoint: b(),
679
+ session: x(),
680
+ program: Xe(t())
681
+ }).finally(() => {
682
+ a(I, !1);
683
+ }), U = Ue({
684
+ onReset: () => a(m, null),
685
+ onSkipFetch: () => a(I, !0),
686
+ refetch: V
687
+ });
688
+ Ge(() => (window.postMessage(
715
689
  {
716
690
  type: "event_wof_accessed",
717
- isUserLoggedIn: !n(h),
691
+ isUserLoggedIn: !n(g),
718
692
  name: t()?.name || null,
719
- availableSpins: t()?.remainingTimes || null
693
+ availableSpins: n(_)
720
694
  },
721
695
  window.location.href
722
- ), window.addEventListener("message", K), () => {
723
- window.removeEventListener("message", K);
696
+ ), window.addEventListener("message", U), () => {
697
+ window.removeEventListener("message", U);
724
698
  }));
725
- var me = {
699
+ var ge = {
726
700
  get program() {
727
701
  return t();
728
702
  },
@@ -730,46 +704,46 @@ function $e(V, i) {
730
704
  t(e), d();
731
705
  },
732
706
  get endpoint() {
733
- return g();
707
+ return b();
734
708
  },
735
709
  set endpoint(e = null) {
736
- g(e), d();
710
+ b(e), d();
737
711
  },
738
712
  get session() {
739
- return b();
713
+ return x();
740
714
  },
741
715
  set session(e = null) {
742
- b(e), d();
716
+ x(e), d();
743
717
  },
744
718
  get outerWheelAsset() {
745
- return j();
719
+ return Y();
746
720
  },
747
721
  set outerWheelAsset(e = null) {
748
- j(e), d();
722
+ Y(e), d();
749
723
  },
750
724
  get wheelButtonAsset() {
751
- return L();
725
+ return F();
752
726
  },
753
727
  set wheelButtonAsset(e = null) {
754
- L(e), d();
728
+ F(e), d();
755
729
  },
756
730
  get backgroundVideoAsset() {
757
- return I();
731
+ return M();
758
732
  },
759
733
  set backgroundVideoAsset(e = null) {
760
- I(e), d();
734
+ M(e), d();
761
735
  },
762
736
  get language() {
763
- return M();
737
+ return W();
764
738
  },
765
739
  set language(e = "en") {
766
- M(e), d();
740
+ W(e), d();
767
741
  },
768
742
  get showBackButton() {
769
- return R();
743
+ return T();
770
744
  },
771
745
  set showBackButton(e = !0) {
772
- R(e), d();
746
+ T(e), d();
773
747
  },
774
748
  get liteMode() {
775
749
  return u();
@@ -777,164 +751,164 @@ function $e(V, i) {
777
751
  set liteMode(e = !1) {
778
752
  u(e), d();
779
753
  }
780
- }, C = qe();
781
- let N;
782
- var Q = c(C);
754
+ }, C = Je();
755
+ let K;
756
+ var N = c(C);
783
757
  {
784
- var be = (e) => {
785
- var r = Ne();
786
- let a;
758
+ var fe = (e) => {
759
+ var r = Qe();
760
+ let i;
787
761
  r.muted = !0;
788
- var w = c(r);
789
- s(r), Z(() => {
790
- a = v(r, 1, "wheel-video-background svelte-17ly5gn", null, a, { "is-ready": n(Y) }), je(w, "src", I() || le);
791
- }), Le("canplay", r, () => o(Y, !0)), X(e, r);
762
+ var R = c(r);
763
+ s(r), X(() => {
764
+ i = y(r, 1, "wheel-video-background svelte-17ly5gn", null, i, { "is-ready": n(D) }), je(R, "src", M() || ie);
765
+ }), Ye("canplay", r, () => a(D, !0)), Z(e, r);
792
766
  };
793
- ae(Q, (e) => {
794
- !u() && n(f) === l[1] && e(be);
767
+ te(N, (e) => {
768
+ !u() && n(f) === l[1] && e(fe);
795
769
  });
796
770
  }
797
- var k = y(Q, 2);
798
- let q;
799
- var J = y(c(k), 2), ue = c(J, !0);
800
- s(J), s(k);
801
- var P = y(k, 2);
802
- let $;
803
- var E = c(P), he = c(E, !0);
771
+ var v = w(N, 2);
772
+ let Q;
773
+ var q = w(c(v), 2), me = c(q, !0);
774
+ s(q), s(v);
775
+ var G = w(v, 2);
776
+ let J;
777
+ var E = c(G), be = c(E, !0);
804
778
  s(E);
805
- var ee = y(E, 2), we = c(ee, !0);
806
- s(ee), s(P);
807
- var T = y(P, 2);
808
- let ne;
809
- We(T, 20, () => l, (e) => e, (e, r) => {
810
- var a = Qe();
811
- let w;
812
- var z = c(a, !0);
813
- s(a), Z(
814
- (D) => {
815
- w = v(a, 1, "tab svelte-17ly5gn", null, w, { active: n(f) === r }), F(z, D);
779
+ var $ = w(E, 2), ue = c($, !0);
780
+ s($), s(G);
781
+ var P = w(G, 2);
782
+ let ee;
783
+ Pe(P, 20, () => l, (e) => e, (e, r) => {
784
+ var i = qe();
785
+ let R;
786
+ var ze = c(i, !0);
787
+ s(i), X(
788
+ (_e) => {
789
+ R = y(i, 1, "tab svelte-17ly5gn", null, R, { active: n(f) === r }), j(ze, _e);
816
790
  },
817
- [() => _()(r)]
818
- ), oe("click", a, () => de(r)), X(e, a);
819
- }), s(T);
820
- var W = y(T, 2);
821
- let te;
822
- var xe = c(W);
823
- Fe(xe, {
791
+ [() => z()(r)]
792
+ ), re("click", i, () => pe(r)), Z(e, i);
793
+ }), s(P);
794
+ var L = w(P, 2);
795
+ let ne;
796
+ var he = c(L);
797
+ Le(he, {
824
798
  get program() {
825
799
  return t();
826
800
  },
827
801
  get endpoint() {
828
- return g();
802
+ return b();
829
803
  },
830
804
  get session() {
831
- return b();
805
+ return x();
832
806
  },
833
807
  get outerWheelAsset() {
834
- return j();
808
+ return Y();
835
809
  },
836
810
  get wheelButtonAsset() {
837
- return L();
811
+ return F();
838
812
  },
839
813
  get wheelSlices() {
840
- return n(ce);
814
+ return n(le);
841
815
  },
842
816
  get isPlaceholder() {
843
- return n(h);
817
+ return n(g);
844
818
  },
845
819
  get isWheelAvailable() {
846
- return n(pe);
820
+ return n(se);
847
821
  },
848
822
  get liteMode() {
849
823
  return u();
850
824
  },
851
825
  get remainingTimesLoading() {
852
- return n(O);
826
+ return n(I);
853
827
  },
854
- onLogin: ge,
828
+ onLogin: ce,
855
829
  get spinResults() {
856
830
  return n(m);
857
831
  },
858
832
  set spinResults(e) {
859
- o(m, e, !0);
833
+ a(m, e, !0);
860
834
  },
861
835
  get spinActive() {
862
836
  return n(B);
863
837
  },
864
838
  set spinActive(e) {
865
- o(B, e, !0);
839
+ a(B, e, !0);
866
840
  }
867
- }), s(W);
868
- var ye = y(W, 2);
841
+ }), s(L);
842
+ var we = w(L, 2);
869
843
  {
870
- var ve = (e) => {
871
- Ve(e, {
844
+ var xe = (e) => {
845
+ Oe(e, {
872
846
  get result() {
873
847
  return n(m);
874
848
  },
875
849
  get endpoint() {
876
- return g();
850
+ return b();
877
851
  },
878
852
  get session() {
879
- return b();
853
+ return x();
880
854
  },
881
855
  get liteMode() {
882
856
  return u();
883
857
  },
884
- onFetchRemainingTimes: U
858
+ onFetchRemainingTimes: V
885
859
  });
886
- }, ke = (e) => {
860
+ }, ye = (e) => {
887
861
  {
888
- let r = G(() => t()?.id);
862
+ let r = k(() => t()?.id);
889
863
  He(e, {
890
864
  get programId() {
891
865
  return n(r);
892
866
  },
893
867
  get endpoint() {
894
- return g();
868
+ return b();
895
869
  },
896
870
  get session() {
897
- return b();
871
+ return x();
898
872
  }
899
873
  });
900
874
  }
901
- }, ze = (e) => {
902
- Ue(e, {
875
+ }, ve = (e) => {
876
+ Ve(e, {
903
877
  get program() {
904
878
  return t();
905
879
  },
906
880
  get language() {
907
- return M();
881
+ return W();
908
882
  }
909
883
  });
910
884
  };
911
- ae(ye, (e) => {
912
- n(m) ? e(ve) : n(f) === l[0] ? e(ke, 1) : n(f) === l[2] && e(ze, 2);
885
+ te(we, (e) => {
886
+ n(m) ? e(xe) : n(f) === l[0] ? e(ye, 1) : n(f) === l[2] && e(ve, 2);
913
887
  });
914
888
  }
915
- s(C), Z(
916
- (e, r, a) => {
917
- N = v(C, 1, "wheel-content svelte-17ly5gn", null, N, {
889
+ s(C), X(
890
+ (e, r, i) => {
891
+ K = y(C, 1, "wheel-content svelte-17ly5gn", null, K, {
918
892
  "is-spin-blocking": n(B),
919
- "is-spin-fullscreen": n(A),
920
- "is-spin-exiting": n(S),
893
+ "is-spin-fullscreen": n(S),
894
+ "is-spin-exiting": n(A),
921
895
  "wheel-background-halo": u() && n(f) === l[1]
922
- }), q = v(k, 1, "back-button-container svelte-17ly5gn", null, q, { hidden: n(h) || !R() }), F(ue, e), $ = v(P, 1, "wof-title svelte-17ly5gn", null, $, { hidden: n(m) }), F(he, r), F(we, a), ne = v(T, 1, "wof-tabs svelte-17ly5gn", null, ne, { hidden: n(h) || n(m) }), te = Ge(W, "", te, {
896
+ }), Q = y(v, 1, "back-button-container svelte-17ly5gn", null, Q, { hidden: n(g) || !T() }), j(me, e), J = y(G, 1, "wof-title svelte-17ly5gn", null, J, { hidden: n(m) }), j(be, r), j(ue, i), ee = y(P, 1, "wof-tabs svelte-17ly5gn", null, ee, { hidden: n(g) || n(m) }), ne = Re(L, "", ne, {
923
897
  display: n(f) !== l[1] || n(m) ? "none" : "contents"
924
898
  });
925
899
  },
926
900
  [
927
- () => _()("backToHub"),
928
- () => _()("wofTitle"),
929
- () => _()("wofSubtitle")
901
+ () => z()("backToHub"),
902
+ () => z()("wofTitle"),
903
+ () => z()("wofSubtitle")
930
904
  ]
931
- ), oe("click", k, fe), X(V, C);
932
- var _e = Oe(me);
933
- return se(), _e;
905
+ ), re("click", v, de), Z(O, C);
906
+ var ke = De(ge);
907
+ return oe(), ke;
934
908
  }
935
- Ae(["click"]);
909
+ Be(["click"]);
936
910
  customElements.define("wheel-of-fortune", Se(
937
- $e,
911
+ en,
938
912
  {
939
913
  program: {},
940
914
  endpoint: {},
@@ -950,5 +924,5 @@ customElements.define("wheel-of-fortune", Se(
950
924
  []
951
925
  ));
952
926
  export {
953
- $e as W
927
+ en as W
954
928
  };