@everymatrix/mini-games-hub 0.1.20 → 0.1.22

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 (258) hide show
  1. package/components/{CoinRoyale-Bgl4Ea3N.js → CoinRoyale-BOm4-S8w.js} +119 -141
  2. package/components/{CoinRoyale-BfaHdSQN.cjs → CoinRoyale-CH5uxsuD.cjs} +4 -17
  3. package/components/{CoinRoyale-t3opSEHv.js → CoinRoyale-CnNtLq-A.js} +135 -157
  4. package/components/{CoinRoyale-CuEAflkt.cjs → CoinRoyale-D2pyi_GY.cjs} +4 -17
  5. package/components/{MiniGamesHub-CfeP3fA-.cjs → MiniGamesHub-1gI8xWg3.cjs} +1 -1
  6. package/components/{MiniGamesHub-CQ1jWyWR.js → MiniGamesHub-BokfXy1A.js} +3 -3
  7. package/components/{MiniGamesHub-ChMf3rL7.js → MiniGamesHub-CPXGTqSS.js} +3 -3
  8. package/components/{MiniGamesHub-Cv7rxLAO.cjs → MiniGamesHub-Cy_b-cvx.cjs} +1 -1
  9. package/components/{MysteryChest-pWptmU6O.js → MysteryChest-CGtkoyYH.js} +2 -3
  10. package/components/{MysteryChest-Bq1NBRQI.cjs → MysteryChest-CtJ77A-4.cjs} +2 -3
  11. package/components/{MysteryChest-BsUxRwj9.js → MysteryChest-jlPEk0Vu.js} +2 -3
  12. package/components/{MysteryChest-Cq77jWfV.cjs → MysteryChest-zfL6oGq0.cjs} +2 -3
  13. package/components/{WheelOfFortune-uTfPiHqd.js → WheelOfFortune-B3VH8v94.js} +1 -1
  14. package/components/{WheelOfFortune-Dsr3jMxy.cjs → WheelOfFortune-BcALwQhX.cjs} +1 -1
  15. package/components/{WheelOfFortune-CriOHAfp.cjs → WheelOfFortune-CxwbJNRK.cjs} +1 -1
  16. package/components/{WheelOfFortune-D2AVLv8r.js → WheelOfFortune-cfvAy6JH.js} +1 -1
  17. package/es2015/mini-games-hub.cjs +1 -1
  18. package/es2015/mini-games-hub.js +1 -1
  19. package/esnext/mini-games-hub.cjs +1 -1
  20. package/esnext/mini-games-hub.js +1 -1
  21. package/package.json +1 -1
  22. package/components/BackButton-BMWvZ9Lb.js +0 -39
  23. package/components/BackButton-BNp3jVLa.js +0 -39
  24. package/components/BackButton-Bi1zFTns.js +0 -38
  25. package/components/BackButton-BvRNh4nJ.js +0 -39
  26. package/components/BackButton-C_v3b0Ky.cjs +0 -1
  27. package/components/BackButton-D5gfQ3NI.cjs +0 -1
  28. package/components/BackButton-DznJk3U4.js +0 -38
  29. package/components/BackButton-gIVGAf6v.js +0 -38
  30. package/components/BackButton-s0YqvufR.cjs +0 -1
  31. package/components/CoinFlip-5qt33VpA.js +0 -399
  32. package/components/CoinFlip-9-7FNYAn.js +0 -364
  33. package/components/CoinFlip-BWNJK7aS.js +0 -402
  34. package/components/CoinFlip-BaNNMAYb.cjs +0 -1
  35. package/components/CoinFlip-BgRZmhbg.js +0 -367
  36. package/components/CoinFlip-COwy7cq1.cjs +0 -1
  37. package/components/CoinFlip-CSel9VZR.js +0 -398
  38. package/components/CoinFlip-ClRh6gz2.js +0 -363
  39. package/components/CoinFlip-D7Bwnl8W.cjs +0 -1
  40. package/components/CoinFlip-D8OLaQiA.js +0 -367
  41. package/components/CoinFlip-Dg2ZA_B2.cjs +0 -1
  42. package/components/CoinFlip-DoASIhfX.cjs +0 -1
  43. package/components/CoinFlip-pvtcTO4f.cjs +0 -1
  44. package/components/CoinFlip-vrZpkrnS.js +0 -402
  45. package/components/CoinRoyale-4Oe-x5-J.cjs +0 -734
  46. package/components/CoinRoyale-9nHMXODj.js +0 -1017
  47. package/components/CoinRoyale-B3bu5S4n.cjs +0 -734
  48. package/components/CoinRoyale-B4dKiGgG.cjs +0 -736
  49. package/components/CoinRoyale-BCSu92s7.cjs +0 -759
  50. package/components/CoinRoyale-BJWVsEJj.cjs +0 -759
  51. package/components/CoinRoyale-BNxFDqe1.js +0 -999
  52. package/components/CoinRoyale-BwNvG3QI.js +0 -1009
  53. package/components/CoinRoyale-Bza84vCL.cjs +0 -738
  54. package/components/CoinRoyale-C-x6uDgh.js +0 -989
  55. package/components/CoinRoyale-CAI2JCvG.js +0 -1020
  56. package/components/CoinRoyale-CGHKZ-kc.js +0 -997
  57. package/components/CoinRoyale-CbqmmMPg.cjs +0 -736
  58. package/components/CoinRoyale-ChWsctqo.cjs +0 -759
  59. package/components/CoinRoyale-Ck3dlmOV.js +0 -1040
  60. package/components/CoinRoyale-Cw8ImDP5.js +0 -1040
  61. package/components/CoinRoyale-CxIBSKFK.js +0 -1017
  62. package/components/CoinRoyale-D-rF6BV4.js +0 -1019
  63. package/components/CoinRoyale-DH-tQHtT.cjs +0 -736
  64. package/components/CoinRoyale-DKWXkm3P.js +0 -1040
  65. package/components/CoinRoyale-DmcgvBwG.js +0 -997
  66. package/components/CoinRoyale-Y2G7RWga.js +0 -1020
  67. package/components/CoinRoyale-d2utu3E3.cjs +0 -759
  68. package/components/CoinRoyale-hmGqx4pF.cjs +0 -759
  69. package/components/CoinRoyale-ifgbuEK3.cjs +0 -759
  70. package/components/CoinRoyale-xAkf1dm_.cjs +0 -738
  71. package/components/CoinRoyale-xHokf0cY.js +0 -1020
  72. package/components/DrawResult-BHZeM1oX.cjs +0 -1
  73. package/components/DrawResult-BVtwLs-z.js +0 -373
  74. package/components/DrawResult-CG5KTjF7.cjs +0 -1
  75. package/components/DrawResult-CbLPtjvZ.js +0 -343
  76. package/components/DrawResult-DMRODSxk.cjs +0 -1
  77. package/components/DrawResult-DTJJfQkP.js +0 -373
  78. package/components/DrawResult-DdL4fFZM.js +0 -343
  79. package/components/DrawResult-DxG4CaKK.cjs +0 -1
  80. package/components/DrawResult-SyzKXHgd.js +0 -343
  81. package/components/DrawResult-ZEAa0flC.js +0 -373
  82. package/components/GameCard-8k9KvRun.cjs +0 -3
  83. package/components/GameCard-A3k7RxF5.js +0 -63
  84. package/components/GameCard-B2td6J8K.js +0 -62
  85. package/components/GameCard-Bku9nP58.cjs +0 -3
  86. package/components/GameCard-CBGi9i6m.cjs +0 -3
  87. package/components/GameCard-CHZmVd6n.cjs +0 -3
  88. package/components/GameCard-Cj4zAE8_.js +0 -59
  89. package/components/GameCard-CrKoQU1B.js +0 -59
  90. package/components/GameCard-DFVjSdtd.cjs +0 -3
  91. package/components/GameCard-DHetS96-.js +0 -66
  92. package/components/GameCard-DcWpuwMl.cjs +0 -3
  93. package/components/GameCard-jIcB63Tt.js +0 -62
  94. package/components/GameHistory-9Mf_u0La.js +0 -231
  95. package/components/GameHistory-BktmYuDa.js +0 -231
  96. package/components/GameHistory-CGAhNQKk.js +0 -231
  97. package/components/GameHistory-ChYjWDsa.cjs +0 -12
  98. package/components/GameHistory-CmiIChL-.cjs +0 -12
  99. package/components/GameHistory-CrrlOaAg.js +0 -231
  100. package/components/GameHistory-DVsHn3lx.cjs +0 -12
  101. package/components/GameHistory-_jU0BiqI.js +0 -231
  102. package/components/GameHistory-aQf3vf9u.cjs +0 -12
  103. package/components/GameHistory-lyXo0tYb.cjs +0 -12
  104. package/components/GameHistory-uzrT81kU.js +0 -231
  105. package/components/GameHistory-v6cI-TIF.cjs +0 -12
  106. package/components/GamePlaceholder-4oI8uJ-1.cjs +0 -1
  107. package/components/GamePlaceholder-Bp4nTJeL.js +0 -84
  108. package/components/GamePlaceholder-COiYGwNi.cjs +0 -15
  109. package/components/GamePlaceholder-CfJ4hx9w.js +0 -70
  110. package/components/GamePlaceholder-D9JEXsAk.js +0 -84
  111. package/components/GamePlaceholder-DGnB06iW.js +0 -71
  112. package/components/GamePlaceholder-DS5evGU6.js +0 -85
  113. package/components/GamePlaceholder-DmiU1G7G.cjs +0 -15
  114. package/components/GamePlaceholder-Dwo_YAUQ.cjs +0 -1
  115. package/components/GamePlaceholder-Uni3xW09.cjs +0 -15
  116. package/components/GamePlaceholder-fVPk29f9.cjs +0 -15
  117. package/components/GamePlaceholder-vUYYV2Ps.js +0 -85
  118. package/components/GameRules-41OkRwZu.js +0 -115
  119. package/components/GameRules-BwLJBo6z.cjs +0 -3
  120. package/components/GameRules-CRiycUU8.js +0 -115
  121. package/components/GameRules-CTKyBDZO.cjs +0 -3
  122. package/components/GameRules-CV9sxZYz.js +0 -126
  123. package/components/GameRules-CuuoMoqN.cjs +0 -3
  124. package/components/GameRules-Cy7jwBok.js +0 -126
  125. package/components/GameRules-DUD8OKC0.js +0 -115
  126. package/components/GameRules-Dkl0qVzr.js +0 -126
  127. package/components/GameRules-DpGqZdSj.cjs +0 -3
  128. package/components/GameRules-DrBYjWA6.cjs +0 -3
  129. package/components/GameRules-DrZ6w0LM.cjs +0 -3
  130. package/components/MiniGamesHub-9mWWh3N1.js +0 -1111
  131. package/components/MiniGamesHub-B6YnaRxS.cjs +0 -79
  132. package/components/MiniGamesHub-B9aQplHl.js +0 -1135
  133. package/components/MiniGamesHub-BRRQIXZj.cjs +0 -79
  134. package/components/MiniGamesHub-BWPRLpyq.cjs +0 -16
  135. package/components/MiniGamesHub-BXcQ_faH.js +0 -1022
  136. package/components/MiniGamesHub-BaMQ2sWj.js +0 -1105
  137. package/components/MiniGamesHub-BbkgB1GV.js +0 -1105
  138. package/components/MiniGamesHub-BjME_rom.cjs +0 -16
  139. package/components/MiniGamesHub-Bn-xvO1e.js +0 -1055
  140. package/components/MiniGamesHub-BpjzFxHO.cjs +0 -16
  141. package/components/MiniGamesHub-BtC6TmtK.cjs +0 -16
  142. package/components/MiniGamesHub-BvS3Q0HA.js +0 -1135
  143. package/components/MiniGamesHub-C-9Nf-x7.js +0 -1029
  144. package/components/MiniGamesHub-C0ESIt9P.cjs +0 -16
  145. package/components/MiniGamesHub-CWV1acJR.cjs +0 -79
  146. package/components/MiniGamesHub-CfIFEVOU.js +0 -1022
  147. package/components/MiniGamesHub-Cj_6ebsL.cjs +0 -16
  148. package/components/MiniGamesHub-CkVJjuZl.cjs +0 -79
  149. package/components/MiniGamesHub-CktxKKTj.cjs +0 -16
  150. package/components/MiniGamesHub-ClPq7L0V.cjs +0 -79
  151. package/components/MiniGamesHub-CrPltGGl.js +0 -1042
  152. package/components/MiniGamesHub-D2Eet3pe.js +0 -1048
  153. package/components/MiniGamesHub-D4fNnQ70.js +0 -1141
  154. package/components/MiniGamesHub-D9A4HvPC.js +0 -1135
  155. package/components/MiniGamesHub-DCCeYwnc.js +0 -1055
  156. package/components/MiniGamesHub-DuAv3Z6t.cjs +0 -79
  157. package/components/MiniGamesHub-DuyWceLB.cjs +0 -16
  158. package/components/MiniGamesHub-Dz8Ltp98.js +0 -1048
  159. package/components/MiniGamesHub-_uRBhzYg.js +0 -1029
  160. package/components/MiniGamesHub-gVFlxi4x.cjs +0 -79
  161. package/components/MiniGamesHub-kIXoGqbZ.cjs +0 -16
  162. package/components/MiniGamesHub-o7rVTqn5.cjs +0 -79
  163. package/components/MiniGamesHub-v8PPHifq.js +0 -1072
  164. package/components/MiniGamesHub-w5poRbtq.js +0 -1105
  165. package/components/MysteryChest-4_QXLnuB.js +0 -1298
  166. package/components/MysteryChest-B10zFJU3.cjs +0 -741
  167. package/components/MysteryChest-B4h9tqVR.js +0 -1301
  168. package/components/MysteryChest-BJCFkn02.cjs +0 -737
  169. package/components/MysteryChest-BXPAdruk.js +0 -1290
  170. package/components/MysteryChest-BuB9PD57.js +0 -1240
  171. package/components/MysteryChest-C1jSQFBT.cjs +0 -741
  172. package/components/MysteryChest-C40hwiCW.cjs +0 -745
  173. package/components/MysteryChest-CKPELFiF.cjs +0 -737
  174. package/components/MysteryChest-CRJtPhlo.cjs +0 -743
  175. package/components/MysteryChest-CScyc3Jw.cjs +0 -745
  176. package/components/MysteryChest-Cg48wdP6.cjs +0 -741
  177. package/components/MysteryChest-CheF_Rh5.cjs +0 -739
  178. package/components/MysteryChest-CkSMlhn1.cjs +0 -741
  179. package/components/MysteryChest-CrL8IXga.js +0 -1309
  180. package/components/MysteryChest-CrXzepqD.js +0 -1296
  181. package/components/MysteryChest-D5OWiZfM.js +0 -1250
  182. package/components/MysteryChest-D6eks4QE.js +0 -1254
  183. package/components/MysteryChest-DE2NS9aL.js +0 -1299
  184. package/components/MysteryChest-DJuhkpSa.cjs +0 -743
  185. package/components/MysteryChest-DOTlHt7A.js +0 -1248
  186. package/components/MysteryChest-DfggF659.js +0 -1262
  187. package/components/MysteryChest-Di-dVQnd.cjs +0 -745
  188. package/components/MysteryChest-DnstXEZJ.js +0 -1298
  189. package/components/MysteryChest-IcRh-Dcp.js +0 -1247
  190. package/components/MysteryChest-dyhqTxMg.cjs +0 -739
  191. package/components/MysteryChest-egeYjlMm.js +0 -1249
  192. package/components/WheelOfFortune--1feiOUD.js +0 -950
  193. package/components/WheelOfFortune-B0g1znMo.cjs +0 -627
  194. package/components/WheelOfFortune-BC0wwnC-.cjs +0 -617
  195. package/components/WheelOfFortune-BYxOqBjA.js +0 -928
  196. package/components/WheelOfFortune-BgUB1tnc.js +0 -942
  197. package/components/WheelOfFortune-Bh2XAbs4.cjs +0 -619
  198. package/components/WheelOfFortune-Bq6wSR__.cjs +0 -627
  199. package/components/WheelOfFortune-BwmCnHru.js +0 -926
  200. package/components/WheelOfFortune-CEH-5uIV.js +0 -950
  201. package/components/WheelOfFortune-CHgHhi9q.cjs +0 -619
  202. package/components/WheelOfFortune-CRgnumXh.cjs +0 -627
  203. package/components/WheelOfFortune-CZ2cERqz.cjs +0 -619
  204. package/components/WheelOfFortune-CpYsfi8D.js +0 -934
  205. package/components/WheelOfFortune-Cy64rFDw.js +0 -942
  206. package/components/WheelOfFortune-D2dcgbxg.js +0 -934
  207. package/components/WheelOfFortune-DZ7fGpS9.cjs +0 -619
  208. package/components/WheelOfFortune-DZg0i79U.js +0 -949
  209. package/components/WheelOfFortune-DawF7WTd.js +0 -944
  210. package/components/WheelOfFortune-DjdKhLGF.cjs +0 -617
  211. package/components/WheelOfFortune-KpRQWn3C.cjs +0 -627
  212. package/components/WheelOfFortune-M5VMIsnw.cjs +0 -619
  213. package/components/WheelOfFortune-kXjxp6t7.js +0 -926
  214. package/components/WheelOfFortune-pBG33-QJ.js +0 -933
  215. package/components/WheelOfFortuneWheel-B4fe-idJ.cjs +0 -3
  216. package/components/WheelOfFortuneWheel-BABzaEBd.js +0 -1812
  217. package/components/WheelOfFortuneWheel-BQFaJ7ZB.cjs +0 -3
  218. package/components/WheelOfFortuneWheel-BYEHNHdI.js +0 -1807
  219. package/components/WheelOfFortuneWheel-BuBjvGRI.cjs +0 -3
  220. package/components/WheelOfFortuneWheel-CQCLWOFi.js +0 -1908
  221. package/components/WheelOfFortuneWheel-CsOjhUcv.cjs +0 -3
  222. package/components/WheelOfFortuneWheel-DUE4gyGP.js +0 -1741
  223. package/components/WheelOfFortuneWheel-DXhwrWpD.js +0 -1978
  224. package/components/WheelOfFortuneWheel-DgVQP4GA.js +0 -1735
  225. package/components/constants-BDMySuIA.cjs +0 -1
  226. package/components/constants-DNSPUges.cjs +0 -1
  227. package/components/constants-DdcZGwlM.js +0 -38
  228. package/components/constants-DgCBmV7S.js +0 -29
  229. package/components/countdown-2m_26DZf.js +0 -157
  230. package/components/countdown-Bp3yWidJ.cjs +0 -1
  231. package/components/countdown-CH5h-cVr.js +0 -146
  232. package/components/countdown-CnUPVFlE.cjs +0 -1
  233. package/components/countdown-YmZm4DrD.js +0 -146
  234. package/components/sparkles-B2kHtb3R.js +0 -14
  235. package/components/sparkles-BBLT1jhq.js +0 -14
  236. package/components/sparkles-BIl7-lvq.cjs +0 -1
  237. package/components/sparkles-BRrL2C0i.cjs +0 -1
  238. package/components/sparkles-BXFe6GK6.js +0 -18
  239. package/components/sparkles-Cot5wZXx.cjs +0 -1
  240. package/components/sparkles-DKbGLSaY.cjs +0 -1
  241. package/components/sparkles-WqrZ-iXs.js +0 -18
  242. package/components/spin-controller-BF6ymCY4.cjs +0 -1
  243. package/components/spin-controller-Bc8nQATS.cjs +0 -1
  244. package/components/spin-controller-CC3QZvWl.js +0 -175
  245. package/components/spin-controller-CEIahkSh.cjs +0 -1
  246. package/components/spin-controller-CUb1rpPl.js +0 -177
  247. package/components/spin-controller-CVXfvzb7.cjs +0 -1
  248. package/components/spin-controller-DkSQ07IL.js +0 -177
  249. package/components/spin-controller-Dxxx3-ya.js +0 -175
  250. package/components/utils-AGVOgUGK.cjs +0 -3
  251. package/components/utils-B3aNdyMX.js +0 -6055
  252. package/components/utils-DEov6Qk_.js +0 -6007
  253. package/components/utils-DQ220WK3.js +0 -6016
  254. package/components/utils-DwrHy7a0.js +0 -6007
  255. package/components/utils-Dwz-wUFC.cjs +0 -3
  256. package/components/utils-Rda5erjI.cjs +0 -3
  257. package/components/utils-fG_nzyoc.cjs +0 -3
  258. package/components/utils-qUyu-MNU.js +0 -6064
@@ -1,39 +0,0 @@
1
- import { d as f, c as v, p as c, l as $, s as w, m as x, b as C, f as B } from "./WheelOfFortuneWheel-BYEHNHdI.js";
2
- import { G as y, aO as L, aT as i, ah as M, L as G, aP as H, aQ as T, aG as u, aR as j, aW as p } from "./utils-B3aNdyMX.js";
3
- var O = B('<button type="button"><svg class="game-back-button__icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19 12H5M5 12L12 19M5 12L12 5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg> <p class="game-back-button__label"> </p></button>');
4
- function P(d, a) {
5
- y(a, !0);
6
- const b = () => H(T, "$_", k), [k, m] = j(), s = c(a, "onClick", 7), o = c(a, "hidden", 7, !1);
7
- var h = {
8
- get onClick() {
9
- return s();
10
- },
11
- set onClick(t) {
12
- s(t), u();
13
- },
14
- get hidden() {
15
- return o();
16
- },
17
- set hidden(t = !1) {
18
- o(t), u();
19
- }
20
- }, e = O();
21
- let n;
22
- var r = L(i(e), 2), g = i(r, !0);
23
- p(r), p(e), M(
24
- (t) => {
25
- n = $(e, 1, "game-back-button", null, n, { "game-back-button--hidden": o() }), w(g, t);
26
- },
27
- [() => b()("backToHub")]
28
- ), x("click", e, function(...t) {
29
- var l;
30
- (l = s()) == null || l.apply(this, t);
31
- }), C(d, e);
32
- var _ = G(h);
33
- return m(), _;
34
- }
35
- f(["click"]);
36
- v(P, { onClick: {}, hidden: {} }, [], [], { mode: "open" });
37
- export {
38
- P as B
39
- };
@@ -1,38 +0,0 @@
1
- import { d as _, c as f, p as l, l as v, h as $, m as w, b as x, f as C } from "./WheelOfFortuneWheel-DgVQP4GA.js";
2
- import { G as B, ah as y, L, aO as M, aP as G, aT as c, aG as i, aQ as H, aS as S, aW as u } from "./utils-DwrHy7a0.js";
3
- var T = C('<button type="button"><svg class="game-back-button__icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19 12H5M5 12L12 19M5 12L12 5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg> <p class="game-back-button__label"> </p></button>');
4
- function j(p, a) {
5
- B(a, !0);
6
- const d = () => M(G, "$_", b), [b, h] = H(), s = l(a, "onClick", 7), o = l(a, "hidden", 7, !1);
7
- var k = {
8
- get onClick() {
9
- return s();
10
- },
11
- set onClick(t) {
12
- s(t), i();
13
- },
14
- get hidden() {
15
- return o();
16
- },
17
- set hidden(t = !1) {
18
- o(t), i();
19
- }
20
- }, e = T();
21
- let n;
22
- var r = S(c(e), 2), m = c(r, !0);
23
- u(r), u(e), y(
24
- (t) => {
25
- n = v(e, 1, "game-back-button", null, n, { "game-back-button--hidden": o() }), $(m, t);
26
- },
27
- [() => d()("backToHub")]
28
- ), w("click", e, function(...t) {
29
- s()?.apply(this, t);
30
- }), x(p, e);
31
- var g = L(k);
32
- return h(), g;
33
- }
34
- _(["click"]);
35
- f(j, { onClick: {}, hidden: {} }, [], [], { mode: "open" });
36
- export {
37
- j as B
38
- };
@@ -1,39 +0,0 @@
1
- import { d as f, c as v, p as c, l as $, s as w, m as x, b as C, f as B } from "./WheelOfFortuneWheel-DXhwrWpD.js";
2
- import { D as y, aO as M, aT as i, ae as D, I as H, aP as L, aQ as T, aD as u, aR as j, aW as p } from "./utils-qUyu-MNU.js";
3
- var I = B('<button type="button"><svg class="game-back-button__icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19 12H5M5 12L12 19M5 12L12 5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg> <p class="game-back-button__label"> </p></button>');
4
- function O(d, a) {
5
- y(a, !0);
6
- const b = () => L(T, "$_", k), [k, m] = j(), s = c(a, "onClick", 7), o = c(a, "hidden", 7, !1);
7
- var h = {
8
- get onClick() {
9
- return s();
10
- },
11
- set onClick(t) {
12
- s(t), u();
13
- },
14
- get hidden() {
15
- return o();
16
- },
17
- set hidden(t = !1) {
18
- o(t), u();
19
- }
20
- }, e = I();
21
- let n;
22
- var r = M(i(e), 2), g = i(r, !0);
23
- p(r), p(e), D(
24
- (t) => {
25
- n = $(e, 1, "game-back-button", null, n, { "game-back-button--hidden": o() }), w(g, t);
26
- },
27
- [() => b()("backToHub")]
28
- ), x("click", e, function(...t) {
29
- var l;
30
- (l = s()) == null || l.apply(this, t);
31
- }), C(d, e);
32
- var _ = H(h);
33
- return m(), _;
34
- }
35
- f(["click"]);
36
- v(O, { onClick: {}, hidden: {} }, [], [], { mode: "open" });
37
- export {
38
- O as B
39
- };
@@ -1 +0,0 @@
1
- "use strict";const e=require("./WheelOfFortuneWheel-B4fe-idJ.cjs"),t=require("./utils-Rda5erjI.cjs");var m=e.from_html('<button type="button"><svg class="game-back-button__icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19 12H5M5 12L12 19M5 12L12 5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg> <p class="game-back-button__label"> </p></button>');function i(p,s){t.push(s,!0);const d=()=>t.store_get(t.$format,"$_",h),[h,k]=t.setup_stores(),c=e.prop(s,"onClick",7),r=e.prop(s,"hidden",7,!1);var b={get onClick(){return c()},set onClick(n){c(n),t.flushSync()},get hidden(){return r()},set hidden(n=!1){r(n),t.flushSync()}},o=m();let l;var a=t.sibling(t.child(o),2),_=t.child(a,!0);t.reset(a),t.reset(o),t.template_effect(n=>{l=e.set_class(o,1,"game-back-button",null,l,{"game-back-button--hidden":r()}),e.set_text(_,n)},[()=>d()("backToHub")]),e.delegated("click",o,function(...n){var u;(u=c())==null||u.apply(this,n)}),e.append(p,o);var g=t.pop(b);return k(),g}e.delegate(["click"]);e.create_custom_element(i,{onClick:{},hidden:{}},[],[],{mode:"open"});exports.BackButton=i;
@@ -1 +0,0 @@
1
- "use strict";const e=require("./WheelOfFortuneWheel-BuBjvGRI.cjs"),t=require("./utils-AGVOgUGK.cjs");var m=e.from_html('<button type="button"><svg class="game-back-button__icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19 12H5M5 12L12 19M5 12L12 5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg> <p class="game-back-button__label"> </p></button>');function i(p,s){t.push(s,!0);const d=()=>t.store_get(t.$format,"$_",h),[h,k]=t.setup_stores(),c=e.prop(s,"onClick",7),r=e.prop(s,"hidden",7,!1);var b={get onClick(){return c()},set onClick(n){c(n),t.flushSync()},get hidden(){return r()},set hidden(n=!1){r(n),t.flushSync()}},o=m();let l;var a=t.sibling(t.child(o),2),_=t.child(a,!0);t.reset(a),t.reset(o),t.template_effect(n=>{l=e.set_class(o,1,"game-back-button",null,l,{"game-back-button--hidden":r()}),e.set_text(_,n)},[()=>d()("backToHub")]),e.delegated("click",o,function(...n){var u;(u=c())==null||u.apply(this,n)}),e.append(p,o);var g=t.pop(b);return k(),g}e.delegate(["click"]);e.create_custom_element(i,{onClick:{},hidden:{}},[],[],{mode:"open"});exports.BackButton=i;
@@ -1,38 +0,0 @@
1
- import { d as _, c as f, p as l, l as v, h as $, m as w, b as x, f as C } from "./WheelOfFortuneWheel-CQCLWOFi.js";
2
- import { D as B, ae as y, I as M, aO as D, aP as H, aT as c, aD as i, aQ as L, aS as S, aW as u } from "./utils-DQ220WK3.js";
3
- var T = C('<button type="button"><svg class="game-back-button__icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19 12H5M5 12L12 19M5 12L12 5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg> <p class="game-back-button__label"> </p></button>');
4
- function j(p, a) {
5
- B(a, !0);
6
- const d = () => D(H, "$_", b), [b, k] = L(), s = l(a, "onClick", 7), o = l(a, "hidden", 7, !1);
7
- var m = {
8
- get onClick() {
9
- return s();
10
- },
11
- set onClick(t) {
12
- s(t), i();
13
- },
14
- get hidden() {
15
- return o();
16
- },
17
- set hidden(t = !1) {
18
- o(t), i();
19
- }
20
- }, e = T();
21
- let n;
22
- var r = S(c(e), 2), h = c(r, !0);
23
- u(r), u(e), y(
24
- (t) => {
25
- n = v(e, 1, "game-back-button", null, n, { "game-back-button--hidden": o() }), $(h, t);
26
- },
27
- [() => d()("backToHub")]
28
- ), w("click", e, function(...t) {
29
- s()?.apply(this, t);
30
- }), x(p, e);
31
- var g = M(m);
32
- return k(), g;
33
- }
34
- _(["click"]);
35
- f(j, { onClick: {}, hidden: {} }, [], [], { mode: "open" });
36
- export {
37
- j as B
38
- };
@@ -1,38 +0,0 @@
1
- import { d as _, c as f, p as l, l as v, h as $, m as w, b as x, f as C } from "./WheelOfFortuneWheel-DUE4gyGP.js";
2
- import { G as B, ah as y, L, aO as M, aP as G, aT as c, aG as i, aQ as H, aS as S, aW as u } from "./utils-DEov6Qk_.js";
3
- var T = C('<button type="button"><svg class="game-back-button__icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19 12H5M5 12L12 19M5 12L12 5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg> <p class="game-back-button__label"> </p></button>');
4
- function j(p, a) {
5
- B(a, !0);
6
- const d = () => M(G, "$_", b), [b, h] = H(), s = l(a, "onClick", 7), o = l(a, "hidden", 7, !1);
7
- var k = {
8
- get onClick() {
9
- return s();
10
- },
11
- set onClick(t) {
12
- s(t), i();
13
- },
14
- get hidden() {
15
- return o();
16
- },
17
- set hidden(t = !1) {
18
- o(t), i();
19
- }
20
- }, e = T();
21
- let n;
22
- var r = S(c(e), 2), m = c(r, !0);
23
- u(r), u(e), y(
24
- (t) => {
25
- n = v(e, 1, "game-back-button", null, n, { "game-back-button--hidden": o() }), $(m, t);
26
- },
27
- [() => d()("backToHub")]
28
- ), w("click", e, function(...t) {
29
- s()?.apply(this, t);
30
- }), x(p, e);
31
- var g = L(k);
32
- return h(), g;
33
- }
34
- _(["click"]);
35
- f(j, { onClick: {}, hidden: {} }, [], [], { mode: "open" });
36
- export {
37
- j as B
38
- };
@@ -1 +0,0 @@
1
- "use strict";const e=require("./WheelOfFortuneWheel-BQFaJ7ZB.cjs"),t=require("./utils-fG_nzyoc.cjs");var g=e.from_html('<button type="button"><svg class="game-back-button__icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19 12H5M5 12L12 19M5 12L12 5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg> <p class="game-back-button__label"> </p></button>');function u(i,s){t.push(s,!0);const p=()=>t.store_get(t.$format,"$_",d),[d,h]=t.setup_stores(),c=e.prop(s,"onClick",7),r=e.prop(s,"hidden",7,!1);var k={get onClick(){return c()},set onClick(n){c(n),t.flushSync()},get hidden(){return r()},set hidden(n=!1){r(n),t.flushSync()}},o=g();let l;var a=t.sibling(t.child(o),2),b=t.child(a,!0);t.reset(a),t.reset(o),t.template_effect(n=>{l=e.set_class(o,1,"game-back-button",null,l,{"game-back-button--hidden":r()}),e.set_text(b,n)},[()=>p()("backToHub")]),e.delegated("click",o,function(...n){c()?.apply(this,n)}),e.append(i,o);var _=t.pop(k);return h(),_}e.delegate(["click"]);e.create_custom_element(u,{onClick:{},hidden:{}},[],[],{mode:"open"});exports.BackButton=u;
@@ -1,399 +0,0 @@
1
- var xt = Object.defineProperty, Et = Object.defineProperties;
2
- var Mt = Object.getOwnPropertyDescriptors;
3
- var $e = Object.getOwnPropertySymbols;
4
- var St = Object.prototype.hasOwnProperty, Rt = Object.prototype.propertyIsEnumerable;
5
- var Me = Math.pow, qe = (m, r, i) => r in m ? xt(m, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[r] = i, Se = (m, r) => {
6
- for (var i in r || (r = {}))
7
- St.call(r, i) && qe(m, i, r[i]);
8
- if ($e)
9
- for (var i of $e(r))
10
- Rt.call(r, i) && qe(m, i, r[i]);
11
- return m;
12
- }, Be = (m, r) => Et(m, Mt(r));
13
- var Re = (m, r, i) => new Promise((fe, ie) => {
14
- var E = (u) => {
15
- try {
16
- P(i.next(u));
17
- } catch (L) {
18
- ie(L);
19
- }
20
- }, O = (u) => {
21
- try {
22
- P(i.throw(u));
23
- } catch (L) {
24
- ie(L);
25
- }
26
- }, P = (u) => u.done ? fe(u.value) : Promise.resolve(u.value).then(E, O);
27
- P((i = i.apply(m, r)).next());
28
- });
29
- import { d as At, c as Pt, p as C, o as Ft, n as _e, i as ve, l as Ae, j as Z, s as A, m as se, b as D, f as q, u as It } from "./WheelOfFortuneWheel-BYEHNHdI.js";
30
- import { G as Ct, aM as Y, aC as kt, W as Je, au as w, a0 as t, aN as Ke, aO as p, aT as _, ah as $, L as Lt, aP as Dt, aQ as Yt, aX as Ot, aU as zt, aV as Ht, aG as k, aR as Nt, aW as v, b1 as Ut } from "./utils-B3aNdyMX.js";
31
- import { E as Pe, R as Vt, T as Xt, k as Gt, j as jt, l as Fe, m as Wt, n as Qe, o as et, p as Zt } from "./constants-DgCBmV7S.js";
32
- import { f as $t } from "./countdown-YmZm4DrD.js";
33
- import { c as tt } from "./coin-heads-loqcEtH2.js";
34
- import { c as qt } from "./coin-tails-BTbsTwkz.js";
35
- var Bt = q('<div><span class="coin-royale__chev">︿</span> <span class="coin-royale__hint-text"> </span> <span class="coin-royale__chev coin-royale__chev--down">﹀</span></div> <svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M9 11V5.5a1.5 1.5 0 0 1 3 0V11h.5V7.5a1.5 1.5 0 0 1 3 0V11h.5V9a1.5 1.5 0 0 1 3 0v6.5c0 3-2 5.5-5.5 5.5H12c-2 0-3.2-.8-4.2-2.3l-2.4-3.6a1.5 1.5 0 0 1 2.3-1.9L9 15.5V11Z"></path></svg>', 1), Jt = q('<div class="coin-royale__badge"><p class="coin-royale__badge-title"> </p> <p class="coin-royale__badge-countdown"> </p></div>'), Kt = q('<div class="coin-royale__badge"><p class="coin-royale__badge-title"> </p> <p class="coin-royale__badge-body"> </p> <button class="coin-royale__badge-close" type="button"> </button></div>'), Qt = q('<span class="coin-royale__flips-loader"></span>'), ea = q('<p class="coin-royale__flips"> <span class="coin-royale__flips-count"><img class="coin-royale__flips-icon" alt="" aria-hidden="true"/> <!></span></p>'), ta = q('<div class="coin-royale__play"><div class="coin-royale__stage"><div role="button"><div class="coin-royale__coin-shadow"></div> <div class="coin-royale__coin"><div class="coin-royale__coin-drop-shadow" aria-hidden="true"></div> <div class="coin-royale__coin-edge" aria-hidden="true"></div> <div class="coin-royale__face coin-royale__face--front"><img alt="" draggable="false"/></div> <div class="coin-royale__face coin-royale__face--back"><img alt="" draggable="false"/></div></div> <!></div> <!></div></div> <!> <button class="coin-royale__cta" type="button"> </button>', 1);
36
- function aa(m, r) {
37
- Ct(r, !0);
38
- const i = () => Dt(Yt, "$_", fe), [fe, ie] = Nt();
39
- let E = C(r, "program", 7, null), O = C(r, "endpoint", 7, null), P = C(r, "session", 7, null), u = C(r, "isAvailable", 7, !1), L = C(r, "spinResults", 15, null), b = C(r, "spinActive", 15, !1), re = C(r, "remainingTimesLoading", 7, !1), pe = C(r, "onFlip", 7, () => {
40
- }), B = Y(kt({}));
41
- Je(() => {
42
- if (!u() && E()) {
43
- const e = () => {
44
- var n, l;
45
- return w(B, $t((l = (n = E()) == null ? void 0 : n.next) == null ? void 0 : l.startTime), !0);
46
- };
47
- e();
48
- const a = setInterval(e, 1e3);
49
- return () => clearInterval(a);
50
- }
51
- });
52
- let z = Y(!1), me;
53
- const at = () => {
54
- clearTimeout(me), me = setTimeout(() => w(z, !1), 400);
55
- };
56
- let J = Y(!1), F = Y(void 0), c = Y(void 0), H = Y(void 0), I = Y(void 0);
57
- const ge = Ot(() => u() && !b() && !t(J) && !re());
58
- let N = 0, U = !1, K = !1, ye = 0, Q = 0, he = 0, s = null, V = null, Ie, X = !1;
59
- const G = (e, a = 1, n = 0) => {
60
- t(c) && (t(c).style.transform = `translateY(${n}px) rotateX(${e}deg) scale(${a})`);
61
- };
62
- Je(() => {
63
- if (!t(F) || !t(c) || !t(H)) return;
64
- Ce(), G(N);
65
- const e = new ResizeObserver(() => Ce());
66
- return e.observe(t(F)), () => e.disconnect();
67
- });
68
- const Ce = () => {
69
- if (!t(F) || !t(c) || !t(H)) return;
70
- const e = t(F).clientWidth;
71
- if (!e) return;
72
- const a = e / 2 * Vt, n = Math.max(14, e * Xt), l = 2 * a * Math.tan(Math.PI / Pe) + 0.6;
73
- t(c).style.setProperty("--half-t", `${(n / 2).toFixed(2)}px`), t(H).replaceChildren();
74
- for (let o = 0; o < Pe; o++) {
75
- const f = document.createElement("div");
76
- f.className = `coin-royale__edge-seg coin-royale__edge-seg--${o % 2 === 0 ? "a" : "b"}`, f.style.width = `${l.toFixed(2)}px`, f.style.height = `${n.toFixed(2)}px`, f.style.transform = `translate(-50%,-50%) rotateZ(${o * 360 / Pe}deg) translateY(${(-a).toFixed(2)}px) rotateX(90deg)`, t(H).appendChild(f);
77
- }
78
- }, ke = (e) => {
79
- N = e, s == null || s.cancel(), s = null, G(e, 1), t(c) && (t(c).style.animation = ""), t(I) && (t(I).style.opacity = "", t(I).style.width = "");
80
- }, nt = (e, a) => new Promise((n) => {
81
- if (!t(c)) return n();
82
- s == null || s.cancel(), s = t(c).animate(e, Se({ fill: "forwards" }, a)), s.onfinish = () => n(), s.oncancel = () => n();
83
- }), st = (e, a) => Re(this, null, function* () {
84
- var o;
85
- const n = new Headers({ "Content-Type": "application/json" });
86
- P() && n.append("X-SessionId", P());
87
- const l = yield fetch(new URL(`${O()}/v1/wof/draw/${(o = E()) == null ? void 0 : o.id}`), {
88
- method: "PUT",
89
- headers: n,
90
- cache: "no-store",
91
- body: JSON.stringify({ action: 1, guid: e }),
92
- signal: a
93
- });
94
- if (!l.ok) throw new Error(`draw request failed: ${l.status}`);
95
- return l.json();
96
- }), oe = (e) => Re(this, null, function* () {
97
- var ee, te;
98
- if (!t(ge) || !t(c) || !t(F) || !O()) return;
99
- pe()();
100
- const a = typeof e == "number" ? e : N;
101
- b(!0), w(z, !0), w(J, !1), s == null || s.cancel();
102
- const n = -(t(F).clientHeight * Gt);
103
- t(I) && (t(I).style.opacity = "0.3", t(I).style.width = "34%");
104
- const l = () => new Promise((h, S) => requestAnimationFrame((Te) => X ? S(new Error("destroyed")) : h(Te)));
105
- let o = !1, f = !1, g;
106
- const x = zt(), d = new AbortController();
107
- V = d;
108
- const M = Promise.race([
109
- st(x, d.signal),
110
- new Promise((h, S) => {
111
- g = setTimeout(
112
- () => {
113
- f = !0, d.abort(), S(new Error("draw timed out"));
114
- },
115
- jt
116
- );
117
- })
118
- ]);
119
- M.then(() => o = !0, () => o = !0);
120
- let y = a;
121
- try {
122
- let h = yield l();
123
- const S = h;
124
- for (; !o || h - S < Fe; ) {
125
- const R = yield l(), j = Math.min(R - h, 50) / 1e3;
126
- h = R;
127
- const ae = R - S, W = Math.min(ae / Wt, 1);
128
- y += Qe * W * W * (3 - 2 * W) * j;
129
- const ne = Math.min(ae / Fe, 1), ue = 1 - Me(1 - ne, 3), Ze = ne >= 1 ? Math.sin((ae - Fe) / 380) * 0.015 : 0;
130
- G(y, 1 + et * (ue + Ze), n * (ue + Ze));
131
- }
132
- const Te = yield M;
133
- clearTimeout(g);
134
- const de = Ht(Te, "draw");
135
- if (de.success !== !0) throw new Error("draw failed");
136
- const ht = Be(Se({}, de), {
137
- guid: x,
138
- lotteryProgramID: (te = de.lotteryProgramID) != null ? te : (ee = E()) == null ? void 0 : ee.id
139
- }), wt = de.type === "noprize" ? 180 : 0, je = 360, xe = je + (wt - ((y + je) % 360 + 360) % 360 + 360) % 360, bt = y + xe, We = 2 * xe / Qe * 1e3, Tt = y, Ee = yield l();
140
- for (let R = Ee; R - Ee < We; R = yield l()) {
141
- const j = (R - Ee) / We, ae = 1 - Me(1 - j, 2), W = Math.min(j / 0.78, 1), ne = 1 - W * W, ue = j > 0.78 ? Math.sin((j - 0.78) / 0.22 * Math.PI) * 5 : 0;
142
- G(Tt + xe * ae, 1 + et * ne, n * ne + ue);
143
- }
144
- if (ke(bt), yield new Promise((R) => Ie = setTimeout(R, 550)), X) return;
145
- L(ht), b(!1);
146
- } catch (h) {
147
- if (clearTimeout(g), X) return;
148
- console.log(h);
149
- const S = y + ((a - y) % 360 + 360) % 360;
150
- if (t(c) && (yield nt(
151
- [
152
- { transform: t(c).style.transform },
153
- { transform: `translateY(0px) rotateX(${S}deg) scale(1)` }
154
- ],
155
- { duration: 420, easing: "cubic-bezier(.55,0,.75,.4)" }
156
- )), X) return;
157
- ke(S), f && w(J, !0), b(!1);
158
- } finally {
159
- V === d && (V = null), X || at();
160
- }
161
- }), it = () => {
162
- w(J, !1), b(!1);
163
- }, Le = (e) => {
164
- t(c) && (s == null || s.cancel(), s = t(c).animate(
165
- [
166
- { transform: `translateY(0px) rotateX(${e}deg) scale(1)` },
167
- {
168
- transform: `translateY(0px) rotateX(${N}deg) scale(1)`
169
- }
170
- ],
171
- {
172
- duration: 320,
173
- easing: "cubic-bezier(.22,.61,.32,1)",
174
- fill: "forwards"
175
- }
176
- ), s.onfinish = () => {
177
- s == null || s.cancel(), s = null, G(N, 1), t(c) && (t(c).style.animation = ""), w(z, !1);
178
- });
179
- }, rt = (e) => {
180
- t(ge) && (U = !0, K = !1, ye = e.clientY, he = 0, Q = N, s == null || s.cancel(), t(c) && (t(c).style.animation = "none"), w(z, !0));
181
- }, De = (e) => {
182
- if (!U || b()) return;
183
- const a = ye - e.clientY;
184
- he = a, Math.abs(a) > 4 && (K = !0), G(Q + a * 1.1, 1 + Math.min(Math.abs(a) / 400, 0.12));
185
- }, Ye = (e) => {
186
- if (!U) return;
187
- U = !1;
188
- const a = ye - e.clientY;
189
- if (Math.abs(a) > Zt) {
190
- oe(Q + a * 1.1);
191
- return;
192
- }
193
- Le(Q + a * 1.1);
194
- }, Oe = () => {
195
- U && (U = !1, K = !1, Le(Q + he * 1.1));
196
- }, ot = () => {
197
- if (K) {
198
- K = !1;
199
- return;
200
- }
201
- oe();
202
- };
203
- Ft(() => (window.addEventListener("pointermove", De), window.addEventListener("pointerup", Ye), window.addEventListener("pointercancel", Oe), () => {
204
- X = !0, V == null || V.abort(), clearTimeout(Ie), clearTimeout(me), window.removeEventListener("pointermove", De), window.removeEventListener("pointerup", Ye), window.removeEventListener("pointercancel", Oe), s == null || s.cancel();
205
- }));
206
- var lt = {
207
- get program() {
208
- return E();
209
- },
210
- set program(e = null) {
211
- E(e), k();
212
- },
213
- get endpoint() {
214
- return O();
215
- },
216
- set endpoint(e = null) {
217
- O(e), k();
218
- },
219
- get session() {
220
- return P();
221
- },
222
- set session(e = null) {
223
- P(e), k();
224
- },
225
- get isAvailable() {
226
- return u();
227
- },
228
- set isAvailable(e = !1) {
229
- u(e), k();
230
- },
231
- get spinResults() {
232
- return L();
233
- },
234
- set spinResults(e = null) {
235
- L(e), k();
236
- },
237
- get spinActive() {
238
- return b();
239
- },
240
- set spinActive(e = !1) {
241
- b(e), k();
242
- },
243
- get remainingTimesLoading() {
244
- return re();
245
- },
246
- set remainingTimesLoading(e = !1) {
247
- re(e), k();
248
- },
249
- get onFlip() {
250
- return pe();
251
- },
252
- set onFlip(e = () => {
253
- }) {
254
- pe(e), k();
255
- }
256
- }, ze = ta(), we = Ke(ze), He = _(we), T = _(He);
257
- let Ne;
258
- var Ue = _(T);
259
- _e(Ue, (e) => w(I, e), () => t(I));
260
- var le = p(Ue, 2), Ve = p(_(le), 2);
261
- _e(Ve, (e) => w(H, e), () => t(H));
262
- var be = p(Ve, 2), ct = _(be);
263
- v(be);
264
- var Xe = p(be, 2), dt = _(Xe);
265
- v(Xe), v(le), _e(le, (e) => w(c, e), () => t(c));
266
- var ut = p(le, 2);
267
- {
268
- var _t = (e) => {
269
- var a = Bt(), n = Ke(a);
270
- let l;
271
- var o = p(_(n), 2), f = _(o, !0);
272
- v(o), Ut(2), v(n);
273
- var g = p(n, 2);
274
- let x;
275
- $(
276
- (d) => {
277
- l = Ae(n, 1, "coin-royale__drag-hint", null, l, {
278
- "coin-royale__drag-hint--hidden": t(z) || b()
279
- }), A(f, d), x = Ae(g, 0, "coin-royale__finger-cue", null, x, {
280
- "coin-royale__finger-cue--hidden": t(z) || b()
281
- });
282
- },
283
- [() => i()("dragToFlip")]
284
- ), D(e, a);
285
- };
286
- ve(ut, (e) => {
287
- u() && e(_t);
288
- });
289
- }
290
- v(T), _e(T, (e) => w(F, e), () => t(F));
291
- var vt = p(T, 2);
292
- {
293
- var ft = (e) => {
294
- var a = Jt(), n = _(a), l = _(n, !0);
295
- v(n);
296
- var o = p(n, 2), f = _(o, !0);
297
- v(o), v(a), $(
298
- (g, x) => {
299
- A(l, g), A(f, x);
300
- },
301
- [
302
- () => i()("nextAvailable"),
303
- () => i()("countdown", {
304
- values: {
305
- days: t(B).days,
306
- hours: t(B).hours,
307
- minutes: t(B).minutes,
308
- seconds: t(B).seconds
309
- }
310
- })
311
- ]
312
- ), D(e, a);
313
- }, pt = (e) => {
314
- var a = Kt(), n = _(a), l = _(n, !0);
315
- v(n);
316
- var o = p(n, 2), f = _(o, !0);
317
- v(o);
318
- var g = p(o, 2), x = _(g, !0);
319
- v(g), v(a), $(
320
- (d, M, y) => {
321
- A(l, d), A(f, M), A(x, y);
322
- },
323
- [
324
- () => i()("timeoutTitle"),
325
- () => i()("timeoutDescription"),
326
- () => i()("close")
327
- ]
328
- ), se("click", g, it), D(e, a);
329
- };
330
- ve(vt, (e) => {
331
- u() ? t(J) && e(pt, 1) : e(ft);
332
- });
333
- }
334
- v(He), v(we);
335
- var Ge = p(we, 2);
336
- {
337
- var mt = (e) => {
338
- var a = ea(), n = _(a), l = p(n), o = _(l), f = p(o, 2);
339
- {
340
- var g = (d) => {
341
- var M = Qt();
342
- D(d, M);
343
- }, x = (d) => {
344
- var M = It();
345
- $(() => {
346
- var y, ee, te, h;
347
- return A(M, (h = (ee = (y = E()) == null ? void 0 : y.current) == null ? void 0 : ee.remainingTimes) != null ? h : (te = E()) == null ? void 0 : te.remainingTimes);
348
- }), D(d, M);
349
- };
350
- ve(f, (d) => {
351
- re() ? d(g) : d(x, -1);
352
- });
353
- }
354
- v(l), v(a), $(
355
- (d) => {
356
- A(n, `${d != null ? d : ""} `), Z(o, "src", tt);
357
- },
358
- [() => i()("remainingFlips")]
359
- ), D(e, a);
360
- };
361
- ve(Ge, (e) => {
362
- u() && e(mt);
363
- });
364
- }
365
- var ce = p(Ge, 2), gt = _(ce, !0);
366
- v(ce), $(
367
- (e, a) => {
368
- Ne = Ae(T, 1, "coin-royale__flip-zone", null, Ne, {
369
- "coin-royale__flip-zone--disabled": !u(),
370
- "coin-royale__flip-zone--settling": b()
371
- }), Z(T, "tabindex", u() ? 0 : -1), Z(T, "aria-label", e), Z(T, "aria-disabled", !t(ge)), Z(ct, "src", tt), Z(dt, "src", qt), ce.disabled = !u(), A(gt, a);
372
- },
373
- [() => i()("flipCoin"), () => i()("flipCoin")]
374
- ), se("pointerdown", T, rt), se("click", T, ot), se("keydown", T, (e) => {
375
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), oe());
376
- }), se("click", ce, () => oe()), D(m, ze);
377
- var yt = Lt(lt);
378
- return ie(), yt;
379
- }
380
- At(["pointerdown", "click", "keydown"]);
381
- Pt(
382
- aa,
383
- {
384
- program: {},
385
- endpoint: {},
386
- session: {},
387
- isAvailable: {},
388
- spinResults: {},
389
- spinActive: {},
390
- remainingTimesLoading: {},
391
- onFlip: {}
392
- },
393
- [],
394
- [],
395
- { mode: "open" }
396
- );
397
- export {
398
- aa as C
399
- };