@opexa/portal-components 0.0.27 → 0.0.28

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 (1272) hide show
  1. package/dist/client/hooks/index.js +54 -0
  2. package/dist/client/hooks/useAccountQuery.d.ts +2 -2
  3. package/dist/client/hooks/useAccountQuery.js +34 -1
  4. package/dist/client/hooks/useAuthenticateMutation.d.ts +2 -2
  5. package/dist/client/hooks/useAuthenticateMutation.js +16 -1
  6. package/dist/client/hooks/useAvailablePromosQuery.d.ts +2 -2
  7. package/dist/client/hooks/useAvailablePromosQuery.js +34 -1
  8. package/dist/client/hooks/useBetRecordsQuery.d.ts +2 -2
  9. package/dist/client/hooks/useBetRecordsQuery.js +38 -1
  10. package/dist/client/hooks/useBonusesQuery.d.ts +2 -2
  11. package/dist/client/hooks/useBonusesQuery.js +34 -1
  12. package/dist/client/hooks/useCashbacksQuery.d.ts +2 -2
  13. package/dist/client/hooks/useCashbacksQuery.js +19 -1
  14. package/dist/client/hooks/useControllableState.js +30 -1
  15. package/dist/client/hooks/useCooldown.js +100 -1
  16. package/dist/client/hooks/useCreateGCashDepositMutation.d.ts +3 -3
  17. package/dist/client/hooks/useCreateGCashDepositMutation.js +58 -1
  18. package/dist/client/hooks/useCreateGCashWithdrawalMutation.d.ts +3 -3
  19. package/dist/client/hooks/useCreateGCashWithdrawalMutation.js +31 -1
  20. package/dist/client/hooks/useCreateGameSessionMutation.d.ts +2 -2
  21. package/dist/client/hooks/useCreateGameSessionMutation.js +96 -1
  22. package/dist/client/hooks/useCreateInstapayWithdrawalMutation.d.ts +3 -3
  23. package/dist/client/hooks/useCreateInstapayWithdrawalMutation.js +31 -1
  24. package/dist/client/hooks/useCreateMayaAppDepositMutation.d.ts +3 -3
  25. package/dist/client/hooks/useCreateMayaAppDepositMutation.js +58 -1
  26. package/dist/client/hooks/useCreateMayaAppWithdrawalMutation.d.ts +3 -3
  27. package/dist/client/hooks/useCreateMayaAppWithdrawalMutation.js +31 -1
  28. package/dist/client/hooks/useCreateMayaDepositMutation.d.ts +3 -3
  29. package/dist/client/hooks/useCreateMayaDepositMutation.js +58 -1
  30. package/dist/client/hooks/useCreateMayaWithdrawalMutation.d.ts +3 -3
  31. package/dist/client/hooks/useCreateMayaWithdrawalMutation.js +31 -1
  32. package/dist/client/hooks/useCreateOnlineBankDepositMutation.d.ts +3 -3
  33. package/dist/client/hooks/useCreateOnlineBankDepositMutation.js +58 -1
  34. package/dist/client/hooks/useCreateQRPHDepositMutation.d.ts +3 -3
  35. package/dist/client/hooks/useCreateQRPHDepositMutation.js +58 -1
  36. package/dist/client/hooks/useDepositQuery.d.ts +2 -2
  37. package/dist/client/hooks/useDepositQuery.js +36 -1
  38. package/dist/client/hooks/useDepositRecordsQuery.d.ts +2 -2
  39. package/dist/client/hooks/useDepositRecordsQuery.js +40 -1
  40. package/dist/client/hooks/useDepositsCountQuery.d.ts +1 -1
  41. package/dist/client/hooks/useDepositsCountQuery.js +34 -1
  42. package/dist/client/hooks/useDisclosure.d.ts +1 -1
  43. package/dist/client/hooks/useDisclosure.js +12 -1
  44. package/dist/client/hooks/useEndGameSessionMutation.d.ts +2 -2
  45. package/dist/client/hooks/useEndGameSessionMutation.js +38 -1
  46. package/dist/client/hooks/useFavoriteGamesQuery.d.ts +2 -2
  47. package/dist/client/hooks/useFavoriteGamesQuery.js +33 -1
  48. package/dist/client/hooks/useGamesQuery.d.ts +2 -2
  49. package/dist/client/hooks/useGamesQuery.js +32 -1
  50. package/dist/client/hooks/useGlobalStore.d.ts +2 -2
  51. package/dist/client/hooks/useGlobalStore.js +179 -1
  52. package/dist/client/hooks/useInfiniteQueryHelper.d.ts +2 -2
  53. package/dist/client/hooks/useInfiniteQueryHelper.js +65 -1
  54. package/dist/client/hooks/useInstapayBankListQuery.d.ts +2 -2
  55. package/dist/client/hooks/useInstapayBankListQuery.js +34 -1
  56. package/dist/client/hooks/useIsMayaSessionValidQuery.d.ts +1 -1
  57. package/dist/client/hooks/useIsMayaSessionValidQuery.js +45 -1
  58. package/dist/client/hooks/useJackpotPayoutsQuery.d.ts +2 -2
  59. package/dist/client/hooks/useJackpotPayoutsQuery.js +26 -1
  60. package/dist/client/hooks/useJackpotsQuery.d.ts +2 -2
  61. package/dist/client/hooks/useJackpotsQuery.js +26 -1
  62. package/dist/client/hooks/useLocaleInfo.d.ts +1 -1
  63. package/dist/client/hooks/useLocaleInfo.js +6 -1
  64. package/dist/client/hooks/useMarkGameAsFavoriteMutation.d.ts +1 -1
  65. package/dist/client/hooks/useMarkGameAsFavoriteMutation.js +33 -1
  66. package/dist/client/hooks/useMarkMessageAsReadMutation.d.ts +1 -1
  67. package/dist/client/hooks/useMarkMessageAsReadMutation.js +35 -1
  68. package/dist/client/hooks/useMemberVerificationQuery.d.ts +2 -2
  69. package/dist/client/hooks/useMemberVerificationQuery.js +33 -1
  70. package/dist/client/hooks/useMessagesQuery.d.ts +2 -2
  71. package/dist/client/hooks/useMessagesQuery.js +41 -1
  72. package/dist/client/hooks/useMobileNumberParser.js +63 -1
  73. package/dist/client/hooks/useOnMMA.d.ts +1 -1
  74. package/dist/client/hooks/useOnMMA.js +5 -1
  75. package/dist/client/hooks/usePaymentSettingsQuery.d.ts +2 -2
  76. package/dist/client/hooks/usePaymentSettingsQuery.js +34 -1
  77. package/dist/client/hooks/usePlatformQuery.d.ts +2 -2
  78. package/dist/client/hooks/usePlatformQuery.js +17 -1
  79. package/dist/client/hooks/useProfileCompletionQuery.d.ts +2 -2
  80. package/dist/client/hooks/useProfileCompletionQuery.js +34 -1
  81. package/dist/client/hooks/usePromoQuery.d.ts +2 -2
  82. package/dist/client/hooks/usePromoQuery.js +20 -1
  83. package/dist/client/hooks/usePromosQuery.d.ts +2 -2
  84. package/dist/client/hooks/usePromosQuery.js +19 -1
  85. package/dist/client/hooks/useSendVerificationCodeMutation.d.ts +2 -2
  86. package/dist/client/hooks/useSendVerificationCodeMutation.js +18 -1
  87. package/dist/client/hooks/useSessionQuery.d.ts +1 -1
  88. package/dist/client/hooks/useSessionQuery.js +14 -1
  89. package/dist/client/hooks/useSignInMutation.d.ts +3 -3
  90. package/dist/client/hooks/useSignInMutation.js +19 -1
  91. package/dist/client/hooks/useSignOutMutation.d.ts +1 -1
  92. package/dist/client/hooks/useSignOutMutation.js +15 -1
  93. package/dist/client/hooks/useSignUpMutation.d.ts +2 -2
  94. package/dist/client/hooks/useSignUpMutation.js +21 -1
  95. package/dist/client/hooks/useTopWinsQuery.d.ts +2 -2
  96. package/dist/client/hooks/useTopWinsQuery.js +18 -1
  97. package/dist/client/hooks/useTournamentsQuery.d.ts +2 -2
  98. package/dist/client/hooks/useTournamentsQuery.js +26 -1
  99. package/dist/client/hooks/useTransactionRecordsQuery.d.ts +2 -2
  100. package/dist/client/hooks/useTransactionRecordsQuery.js +41 -1
  101. package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.d.ts +1 -1
  102. package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.js +32 -1
  103. package/dist/client/hooks/useUnreadMessagesCountQuery.d.ts +2 -2
  104. package/dist/client/hooks/useUnreadMessagesCountQuery.js +34 -1
  105. package/dist/client/hooks/useWalletQuery.d.ts +2 -2
  106. package/dist/client/hooks/useWalletQuery.js +33 -1
  107. package/dist/client/hooks/useWithdrawalRecordsQuery.d.ts +2 -2
  108. package/dist/client/hooks/useWithdrawalRecordsQuery.js +41 -1
  109. package/dist/client/services/authenticate.d.ts +1 -1
  110. package/dist/client/services/authenticate.js +21 -1
  111. package/dist/client/services/getSession.d.ts +1 -1
  112. package/dist/client/services/getSession.js +13 -1
  113. package/dist/client/services/index.js +4 -0
  114. package/dist/client/services/signIn.d.ts +1 -1
  115. package/dist/client/services/signIn.js +22 -1
  116. package/dist/client/services/signOut.js +15 -1
  117. package/dist/client/utils/createRecipeContext.d.ts +2 -2
  118. package/dist/client/utils/createRecipeContext.jsx +68 -0
  119. package/dist/client/utils/index.js +2 -0
  120. package/dist/client/utils/toaster.d.ts +1 -1
  121. package/dist/client/utils/toaster.js +8 -1
  122. package/dist/components/Account/Account.d.ts +1 -1
  123. package/dist/components/Account/Account.jsx +313 -0
  124. package/dist/components/Account/account.recipe.d.ts +26 -26
  125. package/dist/components/Account/account.recipe.js +32 -1
  126. package/dist/components/Account/index.js +1 -0
  127. package/dist/components/AccountInfo/AccountInfo.jsx +113 -0
  128. package/dist/components/AccountInfo/index.js +1 -0
  129. package/dist/components/AccountPaymentMethods/AccountPaymentMethods.jsx +3 -0
  130. package/dist/components/AccountPaymentMethods/index.js +1 -0
  131. package/dist/components/AccountSecurity/AccountSecurity.jsx +142 -0
  132. package/dist/components/AccountSecurity/index.js +1 -0
  133. package/dist/components/AccountVerification/AccountVerification.jsx +3 -0
  134. package/dist/components/AccountVerification/index.js +1 -0
  135. package/dist/components/Banner/Banner.d.ts +1 -1
  136. package/dist/components/Banner/Banner.jsx +51 -0
  137. package/dist/components/Banner/index.js +1 -0
  138. package/dist/components/BetRecords/BetRecords.d.ts +1 -1
  139. package/dist/components/BetRecords/BetRecords.jsx +470 -0
  140. package/dist/components/BetRecords/index.js +1 -0
  141. package/dist/components/Bonus/Bonus.client.d.ts +1 -1
  142. package/dist/components/Bonus/Bonus.client.jsx +144 -0
  143. package/dist/components/Bonus/Bonus.jsx +4 -0
  144. package/dist/components/Bonus/index.js +1 -0
  145. package/dist/components/Bonuses/Bonuses.jsx +87 -0
  146. package/dist/components/Bonuses/index.js +1 -0
  147. package/dist/components/DepositWithdrawal/AmountChoices.jsx +28 -0
  148. package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.jsx +73 -0
  149. package/dist/components/DepositWithdrawal/Deposit/Deposit.jsx +74 -0
  150. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.jsx +213 -0
  151. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.jsx +219 -0
  152. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.jsx +213 -0
  153. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.jsx +15 -0
  154. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.d.ts +3 -3
  155. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.jsx +8 -0
  156. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.jsx +203 -0
  157. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.jsx +15 -0
  158. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.jsx +13 -0
  159. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.jsx +90 -0
  160. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.d.ts +1 -1
  161. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.jsx +73 -0
  162. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.jsx +15 -0
  163. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.d.ts +3 -3
  164. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.jsx +8 -0
  165. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.jsx +197 -0
  166. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.jsx +14 -0
  167. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.jsx +104 -0
  168. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.jsx +19 -0
  169. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.d.ts +1 -1
  170. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.jsx +77 -0
  171. package/dist/components/DepositWithdrawal/DepositWithdrawal.d.ts +1 -1
  172. package/dist/components/DepositWithdrawal/DepositWithdrawal.jsx +95 -0
  173. package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.d.ts +1 -1
  174. package/dist/components/DepositWithdrawal/DepositWithdrawalTrigger.jsx +19 -0
  175. package/dist/components/DepositWithdrawal/MayaSessionExpired.jsx +13 -0
  176. package/dist/components/DepositWithdrawal/PaymentMethods.d.ts +1 -1
  177. package/dist/components/DepositWithdrawal/PaymentMethods.jsx +75 -0
  178. package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.jsx +169 -0
  179. package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.jsx +218 -0
  180. package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.jsx +156 -0
  181. package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.jsx +169 -0
  182. package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.jsx +98 -0
  183. package/dist/components/DepositWithdrawal/index.js +1 -0
  184. package/dist/components/DepositWithdrawal/utils.js +9 -1
  185. package/dist/components/Disclaimer/Disclaimer.d.ts +1 -1
  186. package/dist/components/Disclaimer/Disclaimer.jsx +45 -0
  187. package/dist/components/Disclaimer/index.js +1 -0
  188. package/dist/components/Disclaimer/useDisclaimer.jsx +37 -0
  189. package/dist/components/Empty.d.ts +1 -1
  190. package/dist/components/Empty.jsx +62 -0
  191. package/dist/components/FavoriteGames/FavoriteGames.client.d.ts +1 -1
  192. package/dist/components/FavoriteGames/FavoriteGames.client.jsx +63 -0
  193. package/dist/components/FavoriteGames/FavoriteGames.jsx +6 -0
  194. package/dist/components/FavoriteGames/index.js +1 -0
  195. package/dist/components/GameLaunch/GameLaunch.jsx +188 -0
  196. package/dist/components/GameLaunch/GameLaunchTrigger.d.ts +2 -2
  197. package/dist/components/GameLaunch/GameLaunchTrigger.jsx +53 -0
  198. package/dist/components/GameLaunch/index.js +2 -0
  199. package/dist/components/GameProviders/GameProviders.d.ts +1 -1
  200. package/dist/components/GameProviders/GameProviders.jsx +60 -0
  201. package/dist/components/GameProviders/index.js +1 -0
  202. package/dist/components/Games/Games.client.d.ts +1 -1
  203. package/dist/components/Games/Games.client.jsx +118 -0
  204. package/dist/components/Games/Games.d.ts +1 -1
  205. package/dist/components/Games/Games.jsx +10 -0
  206. package/dist/components/Games/index.js +1 -0
  207. package/dist/components/GamesSearch/GamesSearch.d.ts +1 -1
  208. package/dist/components/GamesSearch/GamesSearch.jsx +110 -0
  209. package/dist/components/GamesSearch/GamesSearchTrigger.d.ts +1 -1
  210. package/dist/components/GamesSearch/GamesSearchTrigger.jsx +13 -0
  211. package/dist/components/GamesSearch/index.js +2 -0
  212. package/dist/components/InfiniteScroll.d.ts +1 -1
  213. package/dist/components/InfiniteScroll.jsx +30 -0
  214. package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +1 -1
  215. package/dist/components/JackpotCounter/JackpotCounter.client.jsx +84 -0
  216. package/dist/components/JackpotCounter/JackpotCounter.jsx +20 -0
  217. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +1 -1
  218. package/dist/components/JackpotCounter/JackpotCounterItem.jsx +317 -0
  219. package/dist/components/JackpotCounter/JackpotCounterItem.module.css +184 -0
  220. package/dist/components/JackpotCounter/index.js +1 -0
  221. package/dist/components/Jackpots/JackpotGameProviders.d.ts +1 -1
  222. package/dist/components/Jackpots/JackpotGameProviders.jsx +59 -0
  223. package/dist/components/Jackpots/JackpotItemDesktop.d.ts +2 -2
  224. package/dist/components/Jackpots/JackpotItemDesktop.jsx +251 -0
  225. package/dist/components/Jackpots/JackpotItemMobile.d.ts +2 -2
  226. package/dist/components/Jackpots/JackpotItemMobile.jsx +271 -0
  227. package/dist/components/Jackpots/JackpotRules.d.ts +1 -1
  228. package/dist/components/Jackpots/JackpotRules.jsx +43 -0
  229. package/dist/components/Jackpots/Jackpots.d.ts +1 -1
  230. package/dist/components/Jackpots/Jackpots.jsx +37 -0
  231. package/dist/components/Jackpots/index.js +1 -0
  232. package/dist/components/Jackpots/useJackpotItemData.d.ts +5 -5
  233. package/dist/components/Jackpots/useJackpotItemData.jsx +91 -0
  234. package/dist/components/KYC/KYC.d.ts +1 -1
  235. package/dist/components/KYC/KYC.jsx +39 -0
  236. package/dist/components/KYC/KYCContext.d.ts +2 -2
  237. package/dist/components/KYC/KYCContext.jsx +8 -0
  238. package/dist/components/KYC/KYCTrigger.d.ts +1 -1
  239. package/dist/components/KYC/KYCTrigger.jsx +13 -0
  240. package/dist/components/KYC/Step1.jsx +37 -0
  241. package/dist/components/KYC/Step2.jsx +86 -0
  242. package/dist/components/KYC/Step3.jsx +68 -0
  243. package/dist/components/KYC/StepIndicator.jsx +22 -0
  244. package/dist/components/KYC/UploadDocument.jsx +30 -0
  245. package/dist/components/KYC/UploadSelfie.jsx +28 -0
  246. package/dist/components/KYC/index.js +2 -0
  247. package/dist/components/KYC/useKYC.d.ts +2 -2
  248. package/dist/components/KYC/useKYC.js +32 -1
  249. package/dist/components/KYC/utils.d.ts +0 -1
  250. package/dist/components/Marquee/Marquee.jsx +20 -0
  251. package/dist/components/Marquee/index.js +1 -0
  252. package/dist/components/Messages/MessageItem.d.ts +1 -1
  253. package/dist/components/Messages/MessageItem.jsx +47 -0
  254. package/dist/components/Messages/MessagePopup.jsx +43 -0
  255. package/dist/components/Messages/Messages.jsx +87 -0
  256. package/dist/components/Messages/MessagesTrigger.d.ts +1 -1
  257. package/dist/components/Messages/MessagesTrigger.jsx +13 -0
  258. package/dist/components/Messages/index.js +2 -0
  259. package/dist/components/Messages/utils.d.ts +1 -1
  260. package/dist/components/Messages/utils.js +27 -1
  261. package/dist/components/PortalProvider/PortalProvider.client.d.ts +1 -1
  262. package/dist/components/PortalProvider/PortalProvider.client.jsx +54 -0
  263. package/dist/components/PortalProvider/PortalProvider.d.ts +1 -1
  264. package/dist/components/PortalProvider/PortalProvider.jsx +18 -0
  265. package/dist/components/PortalProvider/index.js +1 -0
  266. package/dist/components/Promo/Promo.jsx +7 -0
  267. package/dist/components/Promo/PromoContent.d.ts +1 -1
  268. package/dist/components/Promo/PromoContent.jsx +104 -0
  269. package/dist/components/Promo/index.js +1 -0
  270. package/dist/components/Promos/PromoCarousel.d.ts +1 -1
  271. package/dist/components/Promos/PromoCarousel.jsx +69 -0
  272. package/dist/components/Promos/PromoGrid.d.ts +1 -1
  273. package/dist/components/Promos/PromoGrid.jsx +24 -0
  274. package/dist/components/Promos/PromoItem.d.ts +1 -1
  275. package/dist/components/Promos/PromoItem.jsx +24 -0
  276. package/dist/components/Promos/Promos.jsx +10 -0
  277. package/dist/components/Promos/index.js +1 -0
  278. package/dist/components/Protected/Protected.d.ts +1 -1
  279. package/dist/components/Protected/Protected.jsx +8 -0
  280. package/dist/components/Protected/index.js +1 -0
  281. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.jsx +104 -0
  282. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.jsx +46 -0
  283. package/dist/components/Quests/Quests.jsx +12 -0
  284. package/dist/components/Quests/WageringQuest/WageringQuest.jsx +58 -0
  285. package/dist/components/Quests/WageringQuest/WageringQuestModal.jsx +38 -0
  286. package/dist/components/Quests/index.js +1 -0
  287. package/dist/components/SignIn/SignIn.d.ts +2 -2
  288. package/dist/components/SignIn/SignIn.jsx +29 -0
  289. package/dist/components/SignIn/SignInForm.jsx +233 -0
  290. package/dist/components/SignIn/SignInTrigger.d.ts +1 -1
  291. package/dist/components/SignIn/SignInTrigger.jsx +13 -0
  292. package/dist/components/SignIn/index.js +2 -0
  293. package/dist/components/SignUp/SignUp.d.ts +2 -2
  294. package/dist/components/SignUp/SignUp.jsx +32 -0
  295. package/dist/components/SignUp/SignUpForm.jsx +230 -0
  296. package/dist/components/SignUp/SignUpTrigger.d.ts +1 -1
  297. package/dist/components/SignUp/SignUpTrigger.jsx +13 -0
  298. package/dist/components/SignUp/index.js +2 -0
  299. package/dist/components/TopWins/TopWins.client.d.ts +1 -1
  300. package/dist/components/TopWins/TopWins.client.jsx +48 -0
  301. package/dist/components/TopWins/TopWins.jsx +6 -0
  302. package/dist/components/TopWins/index.js +1 -0
  303. package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +1 -1
  304. package/dist/components/TournamentCounter/TournamentCounter.client.jsx +84 -0
  305. package/dist/components/TournamentCounter/TournamentCounter.jsx +20 -0
  306. package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +2 -2
  307. package/dist/components/TournamentCounter/TournamentCounterItem.jsx +233 -0
  308. package/dist/components/TournamentCounter/index.js +1 -0
  309. package/dist/components/Tournaments/TournamentGameProviders.jsx +60 -0
  310. package/dist/components/Tournaments/TournamentItem.d.ts +2 -2
  311. package/dist/components/Tournaments/TournamentItem.jsx +224 -0
  312. package/dist/components/Tournaments/TournamentItemMobile.d.ts +2 -2
  313. package/dist/components/Tournaments/TournamentItemMobile.jsx +242 -0
  314. package/dist/components/Tournaments/TournamentRules.d.ts +1 -1
  315. package/dist/components/Tournaments/TournamentRules.jsx +43 -0
  316. package/dist/components/Tournaments/Tournaments.jsx +37 -0
  317. package/dist/components/Tournaments/index.js +1 -0
  318. package/dist/components/TransactionRecords/DepositRecordsTable.jsx +193 -0
  319. package/dist/components/TransactionRecords/TableFilters.d.ts +2 -2
  320. package/dist/components/TransactionRecords/TableFilters.jsx +446 -0
  321. package/dist/components/TransactionRecords/TransactionRecords.d.ts +1 -1
  322. package/dist/components/TransactionRecords/TransactionRecords.jsx +39 -0
  323. package/dist/components/TransactionRecords/TransactionRecordsTable.jsx +147 -0
  324. package/dist/components/TransactionRecords/WithdrawalRecordsTable.jsx +182 -0
  325. package/dist/components/TransactionRecords/index.js +1 -0
  326. package/dist/components/index.js +32 -0
  327. package/dist/constants/index.d.ts +1 -1
  328. package/dist/constants/index.js +64 -1
  329. package/dist/handlers.d.ts +1 -1
  330. package/dist/handlers.js +240 -1
  331. package/dist/icons/AlertCircleIcon.d.ts +1 -1
  332. package/dist/icons/AlertCircleIcon.jsx +5 -0
  333. package/dist/icons/AlertTriangle.d.ts +1 -1
  334. package/dist/icons/AlertTriangle.jsx +5 -0
  335. package/dist/icons/Announcement01Icon.d.ts +1 -1
  336. package/dist/icons/Announcement01Icon.jsx +5 -0
  337. package/dist/icons/ArrowLeftIcon.d.ts +1 -1
  338. package/dist/icons/ArrowLeftIcon.jsx +5 -0
  339. package/dist/icons/ArrowNarrowDownIcon.d.ts +1 -1
  340. package/dist/icons/ArrowNarrowDownIcon.jsx +5 -0
  341. package/dist/icons/ArrowNarrowUpIcon.d.ts +1 -1
  342. package/dist/icons/ArrowNarrowUpIcon.jsx +5 -0
  343. package/dist/icons/ArrowNarrowUpRightIcon.d.ts +1 -1
  344. package/dist/icons/ArrowNarrowUpRightIcon.jsx +5 -0
  345. package/dist/icons/ArrowRightIcon.d.ts +1 -1
  346. package/dist/icons/ArrowRightIcon.jsx +5 -0
  347. package/dist/icons/Award01Icon.d.ts +1 -1
  348. package/dist/icons/Award01Icon.jsx +5 -0
  349. package/dist/icons/Award02Icon.d.ts +1 -1
  350. package/dist/icons/Award02Icon.jsx +5 -0
  351. package/dist/icons/BankIcon.d.ts +1 -1
  352. package/dist/icons/BankIcon.jsx +5 -0
  353. package/dist/icons/Bell01Icon.d.ts +1 -1
  354. package/dist/icons/Bell01Icon.jsx +5 -0
  355. package/dist/icons/BellRingIcon.d.ts +1 -1
  356. package/dist/icons/BellRingIcon.jsx +5 -0
  357. package/dist/icons/CalendarIcon.d.ts +1 -1
  358. package/dist/icons/CalendarIcon.jsx +5 -0
  359. package/dist/icons/Camera01Icon.d.ts +1 -1
  360. package/dist/icons/Camera01Icon.jsx +6 -0
  361. package/dist/icons/CheckCircleBrokenIcon.d.ts +1 -1
  362. package/dist/icons/CheckCircleBrokenIcon.jsx +5 -0
  363. package/dist/icons/CheckCircleIcon.d.ts +1 -1
  364. package/dist/icons/CheckCircleIcon.jsx +5 -0
  365. package/dist/icons/CheckIcon.d.ts +1 -1
  366. package/dist/icons/CheckIcon.jsx +5 -0
  367. package/dist/icons/CheckVerified02Icon.d.ts +1 -1
  368. package/dist/icons/CheckVerified02Icon.jsx +5 -0
  369. package/dist/icons/ChevronDownIcon.d.ts +1 -1
  370. package/dist/icons/ChevronDownIcon.jsx +5 -0
  371. package/dist/icons/ChevronLeftIcon.d.ts +1 -1
  372. package/dist/icons/ChevronLeftIcon.jsx +5 -0
  373. package/dist/icons/ChevronRightIcon.d.ts +1 -1
  374. package/dist/icons/ChevronRightIcon.jsx +5 -0
  375. package/dist/icons/ChevronUpIcon.d.ts +1 -1
  376. package/dist/icons/ChevronUpIcon.jsx +5 -0
  377. package/dist/icons/ClockStopWatchIcon.d.ts +1 -1
  378. package/dist/icons/ClockStopWatchIcon.jsx +5 -0
  379. package/dist/icons/CoinsHandIcon.d.ts +1 -1
  380. package/dist/icons/CoinsHandIcon.jsx +5 -0
  381. package/dist/icons/CoinsStacked02Icon.d.ts +1 -1
  382. package/dist/icons/CoinsStacked02Icon.jsx +5 -0
  383. package/dist/icons/CoinsSwap02Icon.d.ts +1 -1
  384. package/dist/icons/CoinsSwap02Icon.jsx +5 -0
  385. package/dist/icons/CreditCard02Icon.d.ts +1 -1
  386. package/dist/icons/CreditCard02Icon.jsx +5 -0
  387. package/dist/icons/Diamond01Icon.d.ts +1 -1
  388. package/dist/icons/Diamond01Icon.jsx +5 -0
  389. package/dist/icons/Expand03Icon.d.ts +1 -1
  390. package/dist/icons/Expand03Icon.jsx +5 -0
  391. package/dist/icons/EyeIcon.d.ts +1 -1
  392. package/dist/icons/EyeIcon.jsx +6 -0
  393. package/dist/icons/EyeOffIcon.d.ts +1 -1
  394. package/dist/icons/EyeOffIcon.jsx +5 -0
  395. package/dist/icons/FacebookIcon.d.ts +1 -1
  396. package/dist/icons/FacebookIcon.jsx +6 -0
  397. package/dist/icons/File02Icon.d.ts +1 -1
  398. package/dist/icons/File02Icon.jsx +5 -0
  399. package/dist/icons/FileCheck02Icon.d.ts +1 -1
  400. package/dist/icons/FileCheck02Icon.jsx +5 -0
  401. package/dist/icons/Flag06Icon.d.ts +1 -1
  402. package/dist/icons/Flag06Icon.jsx +5 -0
  403. package/dist/icons/Gift01Icon.d.ts +1 -1
  404. package/dist/icons/Gift01Icon.jsx +5 -0
  405. package/dist/icons/GoogleIcon.d.ts +1 -1
  406. package/dist/icons/GoogleIcon.jsx +9 -0
  407. package/dist/icons/HelpCircleIcon.d.ts +1 -1
  408. package/dist/icons/HelpCircleIcon.jsx +5 -0
  409. package/dist/icons/InfoCircleIcon.d.ts +1 -1
  410. package/dist/icons/InfoCircleIcon.jsx +5 -0
  411. package/dist/icons/Lock01Icon.d.ts +1 -1
  412. package/dist/icons/Lock01Icon.jsx +5 -0
  413. package/dist/icons/Logout01Icon.d.ts +1 -1
  414. package/dist/icons/Logout01Icon.jsx +5 -0
  415. package/dist/icons/MarkerPin06Icon.d.ts +1 -1
  416. package/dist/icons/MarkerPin06Icon.jsx +5 -0
  417. package/dist/icons/Menu01Icon.d.ts +1 -1
  418. package/dist/icons/Menu01Icon.jsx +5 -0
  419. package/dist/icons/Menu03Icon.d.ts +1 -1
  420. package/dist/icons/Menu03Icon.jsx +5 -0
  421. package/dist/icons/PiggyBank02Icon.d.ts +1 -1
  422. package/dist/icons/PiggyBank02Icon.jsx +5 -0
  423. package/dist/icons/QrCode02Icon.d.ts +1 -1
  424. package/dist/icons/QrCode02Icon.jsx +5 -0
  425. package/dist/icons/SearchLgIcon.d.ts +1 -1
  426. package/dist/icons/SearchLgIcon.jsx +5 -0
  427. package/dist/icons/SearchRefractionIcon.d.ts +1 -1
  428. package/dist/icons/SearchRefractionIcon.jsx +5 -0
  429. package/dist/icons/Settings02Icon.d.ts +1 -1
  430. package/dist/icons/Settings02Icon.jsx +6 -0
  431. package/dist/icons/SpinnerIcon.d.ts +1 -1
  432. package/dist/icons/SpinnerIcon.jsx +9 -0
  433. package/dist/icons/Star01Icon.d.ts +1 -1
  434. package/dist/icons/Star01Icon.jsx +5 -0
  435. package/dist/icons/StarIcon.d.ts +1 -1
  436. package/dist/icons/StarIcon.jsx +5 -0
  437. package/dist/icons/StopWatchIcon.d.ts +1 -1
  438. package/dist/icons/StopWatchIcon.jsx +5 -0
  439. package/dist/icons/Target04Icon.d.ts +1 -1
  440. package/dist/icons/Target04Icon.jsx +5 -0
  441. package/dist/icons/Trophy01Icon.d.ts +1 -1
  442. package/dist/icons/Trophy01Icon.jsx +5 -0
  443. package/dist/icons/UploadCloud02Icon.d.ts +1 -1
  444. package/dist/icons/UploadCloud02Icon.jsx +5 -0
  445. package/dist/icons/User01Icon.d.ts +1 -1
  446. package/dist/icons/User01Icon.jsx +5 -0
  447. package/dist/icons/Wallet02Icon.d.ts +1 -1
  448. package/dist/icons/Wallet02Icon.jsx +5 -0
  449. package/dist/icons/XIcon.jsx +5 -0
  450. package/dist/icons/index.js +56 -0
  451. package/dist/images/QRPh.png +0 -0
  452. package/dist/images/bank-icon.png +0 -0
  453. package/dist/images/close-chest.png +0 -0
  454. package/dist/images/fantasma-games.png +0 -0
  455. package/dist/images/first-place.png +0 -0
  456. package/dist/images/gcash.png +0 -0
  457. package/dist/images/hacksaw-gaming.png +0 -0
  458. package/dist/images/instapay.png +0 -0
  459. package/dist/images/leaderboard.png +0 -0
  460. package/dist/images/left-arrow.png +0 -0
  461. package/dist/images/maya.png +0 -0
  462. package/dist/images/online-bank.png +0 -0
  463. package/dist/images/open-chest.png +0 -0
  464. package/dist/images/pagcor.png +0 -0
  465. package/dist/images/placeholder-avatar.png +0 -0
  466. package/dist/images/qrph-icon.png +0 -0
  467. package/dist/images/responsible-gaming.png +0 -0
  468. package/dist/images/right-arrow.png +0 -0
  469. package/dist/images/trophy-two.png +0 -0
  470. package/dist/images/trophy.png +0 -0
  471. package/dist/middleware.d.ts +1 -1
  472. package/dist/middleware.js +44 -1
  473. package/dist/server/services/authenticate.d.ts +1 -1
  474. package/dist/server/services/authenticate.js +21 -1
  475. package/dist/server/services/getSession.d.ts +1 -1
  476. package/dist/server/services/getSession.js +10 -1
  477. package/dist/server/services/index.js +4 -0
  478. package/dist/server/services/signIn.d.ts +1 -1
  479. package/dist/server/services/signIn.js +27 -1
  480. package/dist/server/services/signOut.js +17 -1
  481. package/dist/server/utils/index.js +24 -0
  482. package/dist/server/utils/prefetchAccountQuery.js +22 -1
  483. package/dist/server/utils/prefetchAvailablePromosQuery.d.ts +1 -1
  484. package/dist/server/utils/prefetchAvailablePromosQuery.js +22 -1
  485. package/dist/server/utils/prefetchBetRecordsQuery.d.ts +1 -1
  486. package/dist/server/utils/prefetchBetRecordsQuery.js +22 -1
  487. package/dist/server/utils/prefetchBonusesQuery.js +22 -1
  488. package/dist/server/utils/prefetchCashbacksQuery.js +17 -1
  489. package/dist/server/utils/prefetchDepositQuery.js +22 -1
  490. package/dist/server/utils/prefetchDepositRecordsQuery.d.ts +1 -1
  491. package/dist/server/utils/prefetchDepositRecordsQuery.js +22 -1
  492. package/dist/server/utils/prefetchDepositsCountQuery.js +22 -0
  493. package/dist/server/utils/prefetchFavoriteGamesQuery.js +22 -1
  494. package/dist/server/utils/prefetchGamesQuery.d.ts +1 -1
  495. package/dist/server/utils/prefetchGamesQuery.js +22 -1
  496. package/dist/server/utils/prefetchInstapayBankListQuery.js +22 -1
  497. package/dist/server/utils/prefetchIsMayaSessionValidQuery.js +28 -1
  498. package/dist/server/utils/prefetchJackpotsQuery.d.ts +1 -1
  499. package/dist/server/utils/prefetchJackpotsQuery.js +18 -1
  500. package/dist/server/utils/prefetchMemberVerificationQuery.js +22 -1
  501. package/dist/server/utils/prefetchPaymentSettingsQuery.js +22 -1
  502. package/dist/server/utils/prefetchPlatformQuery.js +17 -1
  503. package/dist/server/utils/prefetchProfileCompletionQuery.js +22 -1
  504. package/dist/server/utils/prefetchPromoQuery.js +17 -1
  505. package/dist/server/utils/prefetchPromosQuery.js +17 -1
  506. package/dist/server/utils/prefetchSessionQuery.js +10 -1
  507. package/dist/server/utils/prefetchTopWinsQuery.js +17 -1
  508. package/dist/server/utils/prefetchTournamentsQuery.d.ts +1 -1
  509. package/dist/server/utils/prefetchTournamentsQuery.js +18 -1
  510. package/dist/server/utils/prefetchTransactionRecordsQuery.d.ts +1 -1
  511. package/dist/server/utils/prefetchTransactionRecordsQuery.js +22 -1
  512. package/dist/server/utils/prefetchUnreadMessagesCountQuery.d.ts +1 -1
  513. package/dist/server/utils/prefetchUnreadMessagesCountQuery.js +22 -0
  514. package/dist/server/utils/prefetchWalletQuery.js +22 -1
  515. package/dist/server/utils/prefetchWithdrawalRecordsQuery.d.ts +1 -1
  516. package/dist/server/utils/prefetchWithdrawalRecordsQuery.js +22 -1
  517. package/dist/third-parties/FacebookPixel/FacebookPixel.jsx +4 -0
  518. package/dist/third-parties/FacebookPixel/api.d.ts +0 -1
  519. package/dist/third-parties/FacebookPixel/api.js +1 -0
  520. package/dist/third-parties/FacebookPixel/index.js +1 -0
  521. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.jsx +4 -0
  522. package/dist/third-parties/GoogleRecaptcha/api.d.ts +0 -1
  523. package/dist/third-parties/GoogleRecaptcha/api.js +1 -0
  524. package/dist/third-parties/GoogleRecaptcha/index.js +1 -0
  525. package/dist/third-parties/index.js +2 -0
  526. package/dist/tsconfig.build.tsbuildinfo +1 -0
  527. package/dist/types/index.d.ts +3 -3
  528. package/dist/types/index.js +1 -0
  529. package/dist/ui/AlertDialog/AlertDialog.d.ts +408 -408
  530. package/dist/ui/AlertDialog/AlertDialog.jsx +17 -0
  531. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +35 -35
  532. package/dist/ui/AlertDialog/alertDialog.recipe.js +17 -1
  533. package/dist/ui/AlertDialog/index.js +1 -0
  534. package/dist/ui/Avatar/Avatar.d.ts +7 -7
  535. package/dist/ui/Avatar/Avatar.jsx +9 -0
  536. package/dist/ui/Avatar/avatar.recipe.d.ts +2 -2
  537. package/dist/ui/Avatar/avatar.recipe.js +21 -1
  538. package/dist/ui/Avatar/index.js +1 -0
  539. package/dist/ui/Badge/Badge.d.ts +9 -9
  540. package/dist/ui/Badge/Badge.jsx +11 -0
  541. package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
  542. package/dist/ui/Badge/badge.anatomy.js +2 -1
  543. package/dist/ui/Badge/badge.recipe.d.ts +2 -2
  544. package/dist/ui/Badge/badge.recipe.js +103 -1
  545. package/dist/ui/Badge/index.js +1 -0
  546. package/dist/ui/Button/Button.d.ts +3 -3
  547. package/dist/ui/Button/Button.jsx +11 -0
  548. package/dist/ui/Button/button.recipe.d.ts +3 -3
  549. package/dist/ui/Button/button.recipe.js +56 -1
  550. package/dist/ui/Button/index.js +1 -0
  551. package/dist/ui/Checkbox/Checkbox.d.ts +30 -30
  552. package/dist/ui/Checkbox/Checkbox.jsx +12 -0
  553. package/dist/ui/Checkbox/checkbox.recipe.d.ts +4 -4
  554. package/dist/ui/Checkbox/checkbox.recipe.js +40 -1
  555. package/dist/ui/Checkbox/index.js +1 -0
  556. package/dist/ui/Clipboard/Clipboard.d.ts +13 -13
  557. package/dist/ui/Clipboard/Clipboard.jsx +12 -0
  558. package/dist/ui/Clipboard/clipboard.recipe.d.ts +2 -2
  559. package/dist/ui/Clipboard/clipboard.recipe.js +38 -1
  560. package/dist/ui/Clipboard/index.js +1 -0
  561. package/dist/ui/Collapsible/Collapsible.d.ts +69 -69
  562. package/dist/ui/Collapsible/Collapsible.jsx +10 -0
  563. package/dist/ui/Collapsible/collapsible.recipe.d.ts +17 -17
  564. package/dist/ui/Collapsible/collapsible.recipe.js +9 -1
  565. package/dist/ui/Collapsible/index.js +1 -0
  566. package/dist/ui/Combobox/Combobox.d.ts +730 -730
  567. package/dist/ui/Combobox/Combobox.jsx +22 -0
  568. package/dist/ui/Combobox/combobox.recipe.d.ts +48 -48
  569. package/dist/ui/Combobox/combobox.recipe.js +6 -1
  570. package/dist/ui/Combobox/index.js +1 -0
  571. package/dist/ui/DatePicker/DatePicker.d.ts +1897 -1897
  572. package/dist/ui/DatePicker/DatePicker.jsx +30 -0
  573. package/dist/ui/DatePicker/datePicker.recipe.d.ts +77 -77
  574. package/dist/ui/DatePicker/datePicker.recipe.js +46 -1
  575. package/dist/ui/DatePicker/index.js +1 -0
  576. package/dist/ui/Dialog/Dialog.d.ts +408 -408
  577. package/dist/ui/Dialog/Dialog.jsx +17 -0
  578. package/dist/ui/Dialog/dialog.recipe.d.ts +35 -35
  579. package/dist/ui/Dialog/dialog.recipe.js +12 -1
  580. package/dist/ui/Dialog/index.js +1 -0
  581. package/dist/ui/Drawer/Drawer.d.ts +23 -23
  582. package/dist/ui/Drawer/Drawer.jsx +17 -0
  583. package/dist/ui/Drawer/drawer.recipe.d.ts +2 -2
  584. package/dist/ui/Drawer/drawer.recipe.js +24 -1
  585. package/dist/ui/Drawer/index.js +1 -0
  586. package/dist/ui/Field/Field.d.ts +15 -15
  587. package/dist/ui/Field/Field.jsx +13 -0
  588. package/dist/ui/Field/field.recipe.d.ts +2 -2
  589. package/dist/ui/Field/field.recipe.js +46 -1
  590. package/dist/ui/Field/index.js +1 -0
  591. package/dist/ui/IconButton/IconButton.d.ts +3 -3
  592. package/dist/ui/IconButton/IconButton.jsx +11 -0
  593. package/dist/ui/IconButton/iconButton.recipe.d.ts +4 -4
  594. package/dist/ui/IconButton/iconButton.recipe.js +19 -1
  595. package/dist/ui/IconButton/index.js +1 -0
  596. package/dist/ui/Menu/Menu.jsx +2 -0
  597. package/dist/ui/Menu/index.js +1 -0
  598. package/dist/ui/Menu/menu.recipe.d.ts +0 -1
  599. package/dist/ui/Menu/menu.recipe.js +1 -0
  600. package/dist/ui/NumberInput/NumberInput.d.ts +17 -17
  601. package/dist/ui/NumberInput/NumberInput.jsx +14 -0
  602. package/dist/ui/NumberInput/index.js +1 -0
  603. package/dist/ui/NumberInput/numberInput.recipe.d.ts +2 -2
  604. package/dist/ui/NumberInput/numberInput.recipe.js +24 -1
  605. package/dist/ui/PasswordInput/PasswordInput.d.ts +13 -13
  606. package/dist/ui/PasswordInput/PasswordInput.jsx +12 -0
  607. package/dist/ui/PasswordInput/index.js +1 -0
  608. package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +2 -2
  609. package/dist/ui/PasswordInput/passwordInput.recipe.js +39 -1
  610. package/dist/ui/PinInput/PinInput.d.ts +10 -10
  611. package/dist/ui/PinInput/PinInput.jsx +11 -0
  612. package/dist/ui/PinInput/index.js +1 -0
  613. package/dist/ui/PinInput/pinInput.recipe.d.ts +2 -2
  614. package/dist/ui/PinInput/pinInput.recipe.js +38 -1
  615. package/dist/ui/Popover/Popover.d.ts +408 -408
  616. package/dist/ui/Popover/Popover.jsx +17 -0
  617. package/dist/ui/Popover/index.js +1 -0
  618. package/dist/ui/Popover/popover.recipe.d.ts +35 -35
  619. package/dist/ui/Popover/popover.recipe.js +9 -1
  620. package/dist/ui/Presence.d.ts +1 -1
  621. package/dist/ui/Presence.jsx +6 -0
  622. package/dist/ui/Progress/Progress.d.ts +19 -19
  623. package/dist/ui/Progress/Progress.jsx +15 -0
  624. package/dist/ui/Progress/index.js +1 -0
  625. package/dist/ui/Progress/progress.recipe.d.ts +2 -2
  626. package/dist/ui/Progress/progress.recipe.js +32 -1
  627. package/dist/ui/Prose.d.ts +1 -1
  628. package/dist/ui/Prose.jsx +4 -0
  629. package/dist/ui/SegmentGroup/SegmentGroup.d.ts +15 -15
  630. package/dist/ui/SegmentGroup/SegmentGroup.jsx +14 -0
  631. package/dist/ui/SegmentGroup/index.js +1 -0
  632. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +2 -2
  633. package/dist/ui/SegmentGroup/segmentGroup.recipe.js +33 -1
  634. package/dist/ui/Select/Select.d.ts +63 -63
  635. package/dist/ui/Select/Select.jsx +24 -0
  636. package/dist/ui/Select/index.js +1 -0
  637. package/dist/ui/Select/select.recipe.d.ts +4 -4
  638. package/dist/ui/Select/select.recipe.js +38 -1
  639. package/dist/ui/Table/Table.d.ts +28 -28
  640. package/dist/ui/Table/Table.jsx +12 -0
  641. package/dist/ui/Table/index.js +1 -0
  642. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  643. package/dist/ui/Table/table.anatomy.js +2 -1
  644. package/dist/ui/Table/table.recipe.d.ts +4 -4
  645. package/dist/ui/Table/table.recipe.js +27 -1
  646. package/dist/ui/Tabs/Tabs.d.ts +21 -21
  647. package/dist/ui/Tabs/Tabs.jsx +11 -0
  648. package/dist/ui/Tabs/index.js +1 -0
  649. package/dist/ui/Tabs/tabs.recipe.d.ts +4 -4
  650. package/dist/ui/Tabs/tabs.recipe.js +33 -1
  651. package/dist/ui/Tooltip/Tooltip.jsx +2 -0
  652. package/dist/ui/Tooltip/index.js +1 -0
  653. package/dist/ui/Tooltip/tooltip.recipe.d.ts +0 -1
  654. package/dist/ui/Tooltip/tooltip.recipe.js +1 -0
  655. package/dist/ui/index.js +26 -0
  656. package/dist/utils/anatomyToRecipeSlots.d.ts +1 -1
  657. package/dist/utils/anatomyToRecipeSlots.js +11 -1
  658. package/dist/utils/capitalize.js +46 -1
  659. package/dist/utils/createPoll.js +43 -1
  660. package/dist/utils/createSplitProps.js +19 -1
  661. package/dist/utils/dataAttr.js +3 -1
  662. package/dist/utils/formatNumber.js +39 -1
  663. package/dist/utils/getGameImageUrl.d.ts +1 -1
  664. package/dist/utils/getGameImageUrl.js +9 -1
  665. package/dist/utils/getLocaleInfo.d.ts +1 -1
  666. package/dist/utils/getLocaleInfo.jsx +237 -0
  667. package/dist/utils/getQueryClient.js +26 -1
  668. package/dist/utils/index.js +12 -0
  669. package/dist/utils/isMobile.d.ts +1 -1
  670. package/dist/utils/isMobile.js +9 -1
  671. package/dist/utils/parseDecimal.js +16 -1
  672. package/dist/utils/queryKeys.d.ts +2 -2
  673. package/dist/utils/queryKeys.js +111 -1
  674. package/package.json +158 -154
  675. package/dist/client/hooks/useAccountQuery.mjs +0 -38
  676. package/dist/client/hooks/useAuthenticateMutation.mjs +0 -25
  677. package/dist/client/hooks/useAvailablePromosQuery.mjs +0 -38
  678. package/dist/client/hooks/useBetRecordsQuery.mjs +0 -47
  679. package/dist/client/hooks/useBonusesQuery.mjs +0 -38
  680. package/dist/client/hooks/useCashbacksQuery.mjs +0 -23
  681. package/dist/client/hooks/useControllableState.mjs +0 -31
  682. package/dist/client/hooks/useCooldown.mjs +0 -47
  683. package/dist/client/hooks/useCreateGCashDepositMutation.mjs +0 -66
  684. package/dist/client/hooks/useCreateGCashWithdrawalMutation.mjs +0 -38
  685. package/dist/client/hooks/useCreateGameSessionMutation.mjs +0 -108
  686. package/dist/client/hooks/useCreateInstapayWithdrawalMutation.mjs +0 -38
  687. package/dist/client/hooks/useCreateMayaAppDepositMutation.mjs +0 -66
  688. package/dist/client/hooks/useCreateMayaAppWithdrawalMutation.mjs +0 -38
  689. package/dist/client/hooks/useCreateMayaDepositMutation.mjs +0 -66
  690. package/dist/client/hooks/useCreateMayaWithdrawalMutation.mjs +0 -38
  691. package/dist/client/hooks/useCreateOnlineBankDepositMutation.mjs +0 -66
  692. package/dist/client/hooks/useCreateQRPHDepositMutation.mjs +0 -66
  693. package/dist/client/hooks/useDepositQuery.mjs +0 -38
  694. package/dist/client/hooks/useDepositRecordsQuery.mjs +0 -47
  695. package/dist/client/hooks/useDepositsCountQuery.mjs +0 -38
  696. package/dist/client/hooks/useDisclosure.mjs +0 -15
  697. package/dist/client/hooks/useEndGameSessionMutation.mjs +0 -40
  698. package/dist/client/hooks/useFavoriteGamesQuery.mjs +0 -38
  699. package/dist/client/hooks/useGamesQuery.mjs +0 -39
  700. package/dist/client/hooks/useGlobalStore.mjs +0 -182
  701. package/dist/client/hooks/useInfiniteQueryHelper.mjs +0 -44
  702. package/dist/client/hooks/useInstapayBankListQuery.mjs +0 -38
  703. package/dist/client/hooks/useIsMayaSessionValidQuery.mjs +0 -48
  704. package/dist/client/hooks/useJackpotPayoutsQuery.mjs +0 -31
  705. package/dist/client/hooks/useJackpotsQuery.mjs +0 -31
  706. package/dist/client/hooks/useLocaleInfo.mjs +0 -15
  707. package/dist/client/hooks/useMarkGameAsFavoriteMutation.mjs +0 -37
  708. package/dist/client/hooks/useMarkMessageAsReadMutation.mjs +0 -39
  709. package/dist/client/hooks/useMemberVerificationQuery.mjs +0 -38
  710. package/dist/client/hooks/useMessagesQuery.mjs +0 -47
  711. package/dist/client/hooks/useMobileNumberParser.mjs +0 -18
  712. package/dist/client/hooks/useOnMMA.mjs +0 -8
  713. package/dist/client/hooks/usePaymentSettingsQuery.mjs +0 -38
  714. package/dist/client/hooks/usePlatformQuery.mjs +0 -21
  715. package/dist/client/hooks/useProfileCompletionQuery.mjs +0 -38
  716. package/dist/client/hooks/usePromoQuery.mjs +0 -24
  717. package/dist/client/hooks/usePromosQuery.mjs +0 -23
  718. package/dist/client/hooks/useSendVerificationCodeMutation.mjs +0 -24
  719. package/dist/client/hooks/useSessionQuery.mjs +0 -19
  720. package/dist/client/hooks/useSignInMutation.mjs +0 -26
  721. package/dist/client/hooks/useSignOutMutation.mjs +0 -23
  722. package/dist/client/hooks/useSignUpMutation.mjs +0 -25
  723. package/dist/client/hooks/useTopWinsQuery.mjs +0 -22
  724. package/dist/client/hooks/useTournamentsQuery.mjs +0 -32
  725. package/dist/client/hooks/useTransactionRecordsQuery.mjs +0 -47
  726. package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.mjs +0 -37
  727. package/dist/client/hooks/useUnreadMessagesCountQuery.mjs +0 -38
  728. package/dist/client/hooks/useWalletQuery.mjs +0 -38
  729. package/dist/client/hooks/useWithdrawalRecordsQuery.mjs +0 -47
  730. package/dist/client/services/authenticate.mjs +0 -20
  731. package/dist/client/services/getSession.mjs +0 -14
  732. package/dist/client/services/signIn.mjs +0 -22
  733. package/dist/client/services/signOut.mjs +0 -15
  734. package/dist/client/utils/createRecipeContext.js +0 -1
  735. package/dist/client/utils/createRecipeContext.mjs +0 -55
  736. package/dist/client/utils/toaster.mjs +0 -11
  737. package/dist/client-hooks.d.ts +0 -2
  738. package/dist/client-hooks.js +0 -1
  739. package/dist/client-hooks.mjs +0 -110
  740. package/dist/client-services.d.ts +0 -2
  741. package/dist/client-services.js +0 -1
  742. package/dist/client-services.mjs +0 -10
  743. package/dist/client-utils.d.ts +0 -2
  744. package/dist/client-utils.js +0 -1
  745. package/dist/client-utils.mjs +0 -6
  746. package/dist/components/Account/Account.js +0 -1
  747. package/dist/components/Account/Account.mjs +0 -480
  748. package/dist/components/Account/account.recipe.mjs +0 -35
  749. package/dist/components/AccountInfo/AccountInfo.js +0 -1
  750. package/dist/components/AccountInfo/AccountInfo.mjs +0 -148
  751. package/dist/components/AccountPaymentMethods/AccountPaymentMethods.js +0 -1
  752. package/dist/components/AccountPaymentMethods/AccountPaymentMethods.mjs +0 -6
  753. package/dist/components/AccountSecurity/AccountSecurity.js +0 -1
  754. package/dist/components/AccountSecurity/AccountSecurity.mjs +0 -159
  755. package/dist/components/AccountVerification/AccountVerification.js +0 -1
  756. package/dist/components/AccountVerification/AccountVerification.mjs +0 -6
  757. package/dist/components/Banner/Banner.js +0 -1
  758. package/dist/components/Banner/Banner.mjs +0 -75
  759. package/dist/components/BetRecords/BetRecords.js +0 -1
  760. package/dist/components/BetRecords/BetRecords.mjs +0 -473
  761. package/dist/components/Bonus/Bonus.client.js +0 -1
  762. package/dist/components/Bonus/Bonus.client.mjs +0 -143
  763. package/dist/components/Bonus/Bonus.js +0 -1
  764. package/dist/components/Bonus/Bonus.mjs +0 -8
  765. package/dist/components/Bonuses/Bonuses.js +0 -1
  766. package/dist/components/Bonuses/Bonuses.mjs +0 -126
  767. package/dist/components/DepositWithdrawal/AmountChoices.js +0 -1
  768. package/dist/components/DepositWithdrawal/AmountChoices.mjs +0 -74
  769. package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.js +0 -1
  770. package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.mjs +0 -146
  771. package/dist/components/DepositWithdrawal/Deposit/Deposit.js +0 -1
  772. package/dist/components/DepositWithdrawal/Deposit/Deposit.mjs +0 -56
  773. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +0 -1
  774. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.mjs +0 -266
  775. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +0 -1
  776. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.mjs +0 -270
  777. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +0 -1
  778. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.mjs +0 -266
  779. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.js +0 -1
  780. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.mjs +0 -19
  781. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.js +0 -1
  782. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.mjs +0 -10
  783. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +0 -1
  784. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.mjs +0 -257
  785. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.js +0 -1
  786. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.mjs +0 -12
  787. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.js +0 -1
  788. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.mjs +0 -12
  789. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +0 -1
  790. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.mjs +0 -97
  791. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.js +0 -1
  792. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.mjs +0 -63
  793. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.js +0 -1
  794. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.mjs +0 -19
  795. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.js +0 -1
  796. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.mjs +0 -12
  797. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +0 -1
  798. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.mjs +0 -253
  799. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.js +0 -1
  800. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.mjs +0 -12
  801. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +0 -1
  802. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.mjs +0 -139
  803. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +0 -1
  804. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.mjs +0 -55
  805. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.js +0 -1
  806. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.mjs +0 -66
  807. package/dist/components/DepositWithdrawal/DepositWithdrawal.js +0 -1
  808. package/dist/components/DepositWithdrawal/DepositWithdrawal.mjs +0 -141
  809. package/dist/components/DepositWithdrawal/MayaSessionExpired.js +0 -1
  810. package/dist/components/DepositWithdrawal/MayaSessionExpired.mjs +0 -12
  811. package/dist/components/DepositWithdrawal/PaymentMethods.js +0 -1
  812. package/dist/components/DepositWithdrawal/PaymentMethods.mjs +0 -133
  813. package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +0 -1
  814. package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.mjs +0 -217
  815. package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +0 -1
  816. package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.mjs +0 -276
  817. package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.js +0 -1
  818. package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.mjs +0 -198
  819. package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +0 -1
  820. package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.mjs +0 -217
  821. package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.js +0 -1
  822. package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.mjs +0 -85
  823. package/dist/components/DepositWithdrawal/utils.mjs +0 -12
  824. package/dist/components/Disclaimer/Disclaimer.js +0 -1
  825. package/dist/components/Disclaimer/Disclaimer.mjs +0 -119
  826. package/dist/components/Disclaimer/useDisclaimer.js +0 -1
  827. package/dist/components/Disclaimer/useDisclaimer.mjs +0 -38
  828. package/dist/components/Empty.js +0 -1
  829. package/dist/components/Empty.mjs +0 -213
  830. package/dist/components/FavoriteGames/FavoriteGames.client.js +0 -1
  831. package/dist/components/FavoriteGames/FavoriteGames.client.mjs +0 -126
  832. package/dist/components/FavoriteGames/FavoriteGames.js +0 -1
  833. package/dist/components/FavoriteGames/FavoriteGames.mjs +0 -17
  834. package/dist/components/GameLaunch/GameLaunch.js +0 -1
  835. package/dist/components/GameLaunch/GameLaunch.mjs +0 -298
  836. package/dist/components/GameLaunch/GameLaunchTrigger.js +0 -1
  837. package/dist/components/GameLaunch/GameLaunchTrigger.mjs +0 -72
  838. package/dist/components/GameProviders/GameProviders.js +0 -1
  839. package/dist/components/GameProviders/GameProviders.mjs +0 -122
  840. package/dist/components/Games/Games.client.js +0 -1
  841. package/dist/components/Games/Games.client.mjs +0 -178
  842. package/dist/components/Games/Games.js +0 -1
  843. package/dist/components/Games/Games.mjs +0 -23
  844. package/dist/components/GamesSearch/GamesSearch.js +0 -1
  845. package/dist/components/GamesSearch/GamesSearch.mjs +0 -199
  846. package/dist/components/GamesSearch/GamesSearchTrigger.js +0 -1
  847. package/dist/components/GamesSearch/GamesSearchTrigger.mjs +0 -42
  848. package/dist/components/InfiniteScroll.js +0 -1
  849. package/dist/components/InfiniteScroll.mjs +0 -30
  850. package/dist/components/JackpotCounter/JackpotCounter.client.js +0 -1
  851. package/dist/components/JackpotCounter/JackpotCounter.client.mjs +0 -139
  852. package/dist/components/JackpotCounter/JackpotCounter.js +0 -1
  853. package/dist/components/JackpotCounter/JackpotCounter.mjs +0 -33
  854. package/dist/components/JackpotCounter/JackpotCounterItem.js +0 -1
  855. package/dist/components/JackpotCounter/JackpotCounterItem.mjs +0 -413
  856. package/dist/components/JackpotCounter/JackpotCounterItem.module.css.js +0 -1
  857. package/dist/components/JackpotCounter/JackpotCounterItem.module.css.mjs +0 -16
  858. package/dist/components/Jackpots/JackpotGameProviders.js +0 -1
  859. package/dist/components/Jackpots/JackpotGameProviders.mjs +0 -107
  860. package/dist/components/Jackpots/JackpotItemDesktop.js +0 -1
  861. package/dist/components/Jackpots/JackpotItemDesktop.mjs +0 -356
  862. package/dist/components/Jackpots/JackpotItemMobile.js +0 -1
  863. package/dist/components/Jackpots/JackpotItemMobile.mjs +0 -380
  864. package/dist/components/Jackpots/JackpotRules.js +0 -1
  865. package/dist/components/Jackpots/JackpotRules.mjs +0 -78
  866. package/dist/components/Jackpots/Jackpots.js +0 -1
  867. package/dist/components/Jackpots/Jackpots.mjs +0 -63
  868. package/dist/components/Jackpots/useJackpotItemData.js +0 -1
  869. package/dist/components/Jackpots/useJackpotItemData.mjs +0 -100
  870. package/dist/components/KYC/KYC.js +0 -1
  871. package/dist/components/KYC/KYC.mjs +0 -84
  872. package/dist/components/KYC/KYCContext.js +0 -1
  873. package/dist/components/KYC/KYCContext.mjs +0 -11
  874. package/dist/components/KYC/KYCTrigger.js +0 -1
  875. package/dist/components/KYC/KYCTrigger.mjs +0 -42
  876. package/dist/components/KYC/Step1.js +0 -1
  877. package/dist/components/KYC/Step1.mjs +0 -67
  878. package/dist/components/KYC/Step2.js +0 -1
  879. package/dist/components/KYC/Step2.mjs +0 -126
  880. package/dist/components/KYC/Step3.js +0 -1
  881. package/dist/components/KYC/Step3.mjs +0 -98
  882. package/dist/components/KYC/StepIndicator.js +0 -1
  883. package/dist/components/KYC/StepIndicator.mjs +0 -42
  884. package/dist/components/KYC/UploadDocument.js +0 -1
  885. package/dist/components/KYC/UploadDocument.mjs +0 -69
  886. package/dist/components/KYC/UploadSelfie.js +0 -1
  887. package/dist/components/KYC/UploadSelfie.mjs +0 -65
  888. package/dist/components/KYC/useKYC.mjs +0 -43
  889. package/dist/components/Marquee/Marquee.js +0 -1
  890. package/dist/components/Marquee/Marquee.mjs +0 -26
  891. package/dist/components/Messages/MessageItem.js +0 -1
  892. package/dist/components/Messages/MessageItem.mjs +0 -75
  893. package/dist/components/Messages/MessagePopup.js +0 -1
  894. package/dist/components/Messages/MessagePopup.mjs +0 -95
  895. package/dist/components/Messages/Messages.js +0 -1
  896. package/dist/components/Messages/Messages.mjs +0 -166
  897. package/dist/components/Messages/MessagesTrigger.js +0 -1
  898. package/dist/components/Messages/MessagesTrigger.mjs +0 -42
  899. package/dist/components/Messages/utils.mjs +0 -16
  900. package/dist/components/PortalProvider/PortalProvider.client.js +0 -1
  901. package/dist/components/PortalProvider/PortalProvider.client.mjs +0 -78
  902. package/dist/components/PortalProvider/PortalProvider.js +0 -1
  903. package/dist/components/PortalProvider/PortalProvider.mjs +0 -31
  904. package/dist/components/Promo/Promo.js +0 -1
  905. package/dist/components/Promo/Promo.mjs +0 -8
  906. package/dist/components/Promo/PromoContent.js +0 -1
  907. package/dist/components/Promo/PromoContent.mjs +0 -84
  908. package/dist/components/Promos/PromoCarousel.js +0 -1
  909. package/dist/components/Promos/PromoCarousel.mjs +0 -144
  910. package/dist/components/Promos/PromoGrid.js +0 -1
  911. package/dist/components/Promos/PromoGrid.mjs +0 -60
  912. package/dist/components/Promos/PromoItem.js +0 -1
  913. package/dist/components/Promos/PromoItem.mjs +0 -87
  914. package/dist/components/Promos/Promos.js +0 -1
  915. package/dist/components/Promos/Promos.mjs +0 -9
  916. package/dist/components/Protected/Protected.js +0 -1
  917. package/dist/components/Protected/Protected.mjs +0 -25
  918. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +0 -1
  919. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.mjs +0 -154
  920. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +0 -1
  921. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.mjs +0 -66
  922. package/dist/components/Quests/Quests.js +0 -1
  923. package/dist/components/Quests/Quests.mjs +0 -15
  924. package/dist/components/Quests/WageringQuest/WageringQuest.js +0 -1
  925. package/dist/components/Quests/WageringQuest/WageringQuest.mjs +0 -109
  926. package/dist/components/Quests/WageringQuest/WageringQuestModal.js +0 -1
  927. package/dist/components/Quests/WageringQuest/WageringQuestModal.mjs +0 -63
  928. package/dist/components/SignIn/SignIn.js +0 -1
  929. package/dist/components/SignIn/SignIn.mjs +0 -83
  930. package/dist/components/SignIn/SignInForm.js +0 -1
  931. package/dist/components/SignIn/SignInForm.mjs +0 -324
  932. package/dist/components/SignIn/SignInTrigger.js +0 -1
  933. package/dist/components/SignIn/SignInTrigger.mjs +0 -42
  934. package/dist/components/SignUp/SignUp.js +0 -1
  935. package/dist/components/SignUp/SignUp.mjs +0 -83
  936. package/dist/components/SignUp/SignUpForm.js +0 -1
  937. package/dist/components/SignUp/SignUpForm.mjs +0 -301
  938. package/dist/components/SignUp/SignUpTrigger.js +0 -1
  939. package/dist/components/SignUp/SignUpTrigger.mjs +0 -42
  940. package/dist/components/TopWins/TopWins.client.js +0 -1
  941. package/dist/components/TopWins/TopWins.client.mjs +0 -65
  942. package/dist/components/TopWins/TopWins.js +0 -1
  943. package/dist/components/TopWins/TopWins.mjs +0 -19
  944. package/dist/components/TournamentCounter/TournamentCounter.client.js +0 -1
  945. package/dist/components/TournamentCounter/TournamentCounter.client.mjs +0 -139
  946. package/dist/components/TournamentCounter/TournamentCounter.js +0 -1
  947. package/dist/components/TournamentCounter/TournamentCounter.mjs +0 -33
  948. package/dist/components/TournamentCounter/TournamentCounterItem.js +0 -1
  949. package/dist/components/TournamentCounter/TournamentCounterItem.mjs +0 -276
  950. package/dist/components/Tournaments/TournamentGameProviders.js +0 -1
  951. package/dist/components/Tournaments/TournamentGameProviders.mjs +0 -105
  952. package/dist/components/Tournaments/TournamentItem.js +0 -2
  953. package/dist/components/Tournaments/TournamentItem.mjs +0 -262
  954. package/dist/components/Tournaments/TournamentItemMobile.js +0 -2
  955. package/dist/components/Tournaments/TournamentItemMobile.mjs +0 -285
  956. package/dist/components/Tournaments/TournamentRules.js +0 -1
  957. package/dist/components/Tournaments/TournamentRules.mjs +0 -78
  958. package/dist/components/Tournaments/Tournaments.js +0 -1
  959. package/dist/components/Tournaments/Tournaments.mjs +0 -47
  960. package/dist/components/TransactionRecords/DepositRecordsTable.js +0 -1
  961. package/dist/components/TransactionRecords/DepositRecordsTable.mjs +0 -247
  962. package/dist/components/TransactionRecords/TableFilters.js +0 -1
  963. package/dist/components/TransactionRecords/TableFilters.mjs +0 -420
  964. package/dist/components/TransactionRecords/TransactionRecords.js +0 -1
  965. package/dist/components/TransactionRecords/TransactionRecords.mjs +0 -65
  966. package/dist/components/TransactionRecords/TransactionRecordsTable.js +0 -1
  967. package/dist/components/TransactionRecords/TransactionRecordsTable.mjs +0 -216
  968. package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +0 -1
  969. package/dist/components/TransactionRecords/WithdrawalRecordsTable.mjs +0 -242
  970. package/dist/components.d.ts +0 -2
  971. package/dist/components.js +0 -1
  972. package/dist/components.mjs +0 -78
  973. package/dist/constants/index.mjs +0 -63
  974. package/dist/handlers.mjs +0 -221
  975. package/dist/icons/AlertCircleIcon.js +0 -1
  976. package/dist/icons/AlertCircleIcon.mjs +0 -22
  977. package/dist/icons/AlertTriangle.js +0 -1
  978. package/dist/icons/AlertTriangle.mjs +0 -22
  979. package/dist/icons/Announcement01Icon.js +0 -1
  980. package/dist/icons/Announcement01Icon.mjs +0 -22
  981. package/dist/icons/ArrowLeftIcon.js +0 -1
  982. package/dist/icons/ArrowLeftIcon.mjs +0 -22
  983. package/dist/icons/ArrowNarrowDownIcon.js +0 -1
  984. package/dist/icons/ArrowNarrowDownIcon.mjs +0 -22
  985. package/dist/icons/ArrowNarrowUpIcon.js +0 -1
  986. package/dist/icons/ArrowNarrowUpIcon.mjs +0 -22
  987. package/dist/icons/ArrowNarrowUpRightIcon.js +0 -1
  988. package/dist/icons/ArrowNarrowUpRightIcon.mjs +0 -22
  989. package/dist/icons/ArrowRightIcon.js +0 -1
  990. package/dist/icons/ArrowRightIcon.mjs +0 -22
  991. package/dist/icons/Award01Icon.js +0 -1
  992. package/dist/icons/Award01Icon.mjs +0 -22
  993. package/dist/icons/Award02Icon.js +0 -1
  994. package/dist/icons/Award02Icon.mjs +0 -22
  995. package/dist/icons/BankIcon.js +0 -1
  996. package/dist/icons/BankIcon.mjs +0 -22
  997. package/dist/icons/Bell01Icon.js +0 -1
  998. package/dist/icons/Bell01Icon.mjs +0 -27
  999. package/dist/icons/BellRingIcon.js +0 -1
  1000. package/dist/icons/BellRingIcon.mjs +0 -27
  1001. package/dist/icons/CalendarIcon.js +0 -1
  1002. package/dist/icons/CalendarIcon.mjs +0 -26
  1003. package/dist/icons/Camera01Icon.js +0 -1
  1004. package/dist/icons/Camera01Icon.mjs +0 -25
  1005. package/dist/icons/CheckCircleBrokenIcon.js +0 -1
  1006. package/dist/icons/CheckCircleBrokenIcon.mjs +0 -22
  1007. package/dist/icons/CheckCircleIcon.js +0 -1
  1008. package/dist/icons/CheckCircleIcon.mjs +0 -22
  1009. package/dist/icons/CheckIcon.js +0 -1
  1010. package/dist/icons/CheckIcon.mjs +0 -22
  1011. package/dist/icons/CheckVerified02Icon.js +0 -1
  1012. package/dist/icons/CheckVerified02Icon.mjs +0 -22
  1013. package/dist/icons/ChevronDownIcon.js +0 -1
  1014. package/dist/icons/ChevronDownIcon.mjs +0 -22
  1015. package/dist/icons/ChevronLeftIcon.js +0 -1
  1016. package/dist/icons/ChevronLeftIcon.mjs +0 -22
  1017. package/dist/icons/ChevronRightIcon.js +0 -1
  1018. package/dist/icons/ChevronRightIcon.mjs +0 -22
  1019. package/dist/icons/ChevronUpIcon.js +0 -1
  1020. package/dist/icons/ChevronUpIcon.mjs +0 -22
  1021. package/dist/icons/ClockStopWatchIcon.js +0 -1
  1022. package/dist/icons/ClockStopWatchIcon.mjs +0 -26
  1023. package/dist/icons/CoinsHandIcon.js +0 -1
  1024. package/dist/icons/CoinsHandIcon.mjs +0 -22
  1025. package/dist/icons/CoinsStacked02Icon.js +0 -1
  1026. package/dist/icons/CoinsStacked02Icon.mjs +0 -22
  1027. package/dist/icons/CoinsSwap02Icon.js +0 -1
  1028. package/dist/icons/CoinsSwap02Icon.mjs +0 -22
  1029. package/dist/icons/CreditCard02Icon.js +0 -1
  1030. package/dist/icons/CreditCard02Icon.mjs +0 -22
  1031. package/dist/icons/Diamond01Icon.js +0 -1
  1032. package/dist/icons/Diamond01Icon.mjs +0 -22
  1033. package/dist/icons/Expand03Icon.js +0 -1
  1034. package/dist/icons/Expand03Icon.mjs +0 -22
  1035. package/dist/icons/EyeIcon.js +0 -1
  1036. package/dist/icons/EyeIcon.mjs +0 -25
  1037. package/dist/icons/EyeOffIcon.js +0 -1
  1038. package/dist/icons/EyeOffIcon.mjs +0 -22
  1039. package/dist/icons/FacebookIcon.js +0 -1
  1040. package/dist/icons/FacebookIcon.mjs +0 -32
  1041. package/dist/icons/File02Icon.js +0 -1
  1042. package/dist/icons/File02Icon.mjs +0 -22
  1043. package/dist/icons/FileCheck02Icon.js +0 -1
  1044. package/dist/icons/FileCheck02Icon.mjs +0 -22
  1045. package/dist/icons/Flag06Icon.js +0 -1
  1046. package/dist/icons/Flag06Icon.mjs +0 -22
  1047. package/dist/icons/Gift01Icon.js +0 -1
  1048. package/dist/icons/Gift01Icon.mjs +0 -22
  1049. package/dist/icons/GoogleIcon.js +0 -1
  1050. package/dist/icons/GoogleIcon.mjs +0 -53
  1051. package/dist/icons/HelpCircleIcon.js +0 -1
  1052. package/dist/icons/HelpCircleIcon.mjs +0 -22
  1053. package/dist/icons/InfoCircleIcon.js +0 -1
  1054. package/dist/icons/InfoCircleIcon.mjs +0 -27
  1055. package/dist/icons/Lock01Icon.js +0 -1
  1056. package/dist/icons/Lock01Icon.mjs +0 -22
  1057. package/dist/icons/Logout01Icon.js +0 -1
  1058. package/dist/icons/Logout01Icon.mjs +0 -22
  1059. package/dist/icons/MarkerPin06Icon.js +0 -1
  1060. package/dist/icons/MarkerPin06Icon.mjs +0 -22
  1061. package/dist/icons/Menu01Icon.js +0 -1
  1062. package/dist/icons/Menu01Icon.mjs +0 -22
  1063. package/dist/icons/Menu03Icon.js +0 -1
  1064. package/dist/icons/Menu03Icon.mjs +0 -22
  1065. package/dist/icons/PiggyBank02Icon.js +0 -1
  1066. package/dist/icons/PiggyBank02Icon.mjs +0 -22
  1067. package/dist/icons/QrCode02Icon.js +0 -1
  1068. package/dist/icons/QrCode02Icon.mjs +0 -22
  1069. package/dist/icons/SearchLgIcon.js +0 -1
  1070. package/dist/icons/SearchLgIcon.mjs +0 -22
  1071. package/dist/icons/SearchRefractionIcon.js +0 -1
  1072. package/dist/icons/SearchRefractionIcon.mjs +0 -22
  1073. package/dist/icons/Settings02Icon.js +0 -1
  1074. package/dist/icons/Settings02Icon.mjs +0 -25
  1075. package/dist/icons/SpinnerIcon.js +0 -1
  1076. package/dist/icons/SpinnerIcon.mjs +0 -44
  1077. package/dist/icons/Star01Icon.js +0 -1
  1078. package/dist/icons/Star01Icon.mjs +0 -22
  1079. package/dist/icons/StarIcon.js +0 -1
  1080. package/dist/icons/StarIcon.mjs +0 -18
  1081. package/dist/icons/StopWatchIcon.js +0 -1
  1082. package/dist/icons/StopWatchIcon.mjs +0 -22
  1083. package/dist/icons/Target04Icon.js +0 -1
  1084. package/dist/icons/Target04Icon.mjs +0 -22
  1085. package/dist/icons/Trophy01Icon.js +0 -1
  1086. package/dist/icons/Trophy01Icon.mjs +0 -22
  1087. package/dist/icons/UploadCloud02Icon.js +0 -1
  1088. package/dist/icons/UploadCloud02Icon.mjs +0 -22
  1089. package/dist/icons/User01Icon.js +0 -1
  1090. package/dist/icons/User01Icon.mjs +0 -22
  1091. package/dist/icons/Wallet02Icon.js +0 -1
  1092. package/dist/icons/Wallet02Icon.mjs +0 -22
  1093. package/dist/icons/XIcon.js +0 -1
  1094. package/dist/icons/XIcon.mjs +0 -22
  1095. package/dist/icons.d.ts +0 -2
  1096. package/dist/icons.js +0 -1
  1097. package/dist/icons.mjs +0 -114
  1098. package/dist/images/QRPh.png.js +0 -1
  1099. package/dist/images/QRPh.png.mjs +0 -4
  1100. package/dist/images/bank-icon.png.js +0 -1
  1101. package/dist/images/bank-icon.png.mjs +0 -4
  1102. package/dist/images/close-chest.png.js +0 -1
  1103. package/dist/images/close-chest.png.mjs +0 -4
  1104. package/dist/images/fantasma-games.png.js +0 -1
  1105. package/dist/images/fantasma-games.png.mjs +0 -4
  1106. package/dist/images/first-place.png.js +0 -1
  1107. package/dist/images/first-place.png.mjs +0 -4
  1108. package/dist/images/gcash.png.js +0 -1
  1109. package/dist/images/gcash.png.mjs +0 -4
  1110. package/dist/images/hacksaw-gaming.png.js +0 -1
  1111. package/dist/images/hacksaw-gaming.png.mjs +0 -4
  1112. package/dist/images/instapay.png.js +0 -1
  1113. package/dist/images/instapay.png.mjs +0 -4
  1114. package/dist/images/leaderboard.png.js +0 -1
  1115. package/dist/images/leaderboard.png.mjs +0 -4
  1116. package/dist/images/maya.png.js +0 -1
  1117. package/dist/images/maya.png.mjs +0 -4
  1118. package/dist/images/online-bank.png.js +0 -1
  1119. package/dist/images/online-bank.png.mjs +0 -4
  1120. package/dist/images/open-chest.png.js +0 -1
  1121. package/dist/images/open-chest.png.mjs +0 -4
  1122. package/dist/images/pagcor.png.js +0 -1
  1123. package/dist/images/pagcor.png.mjs +0 -4
  1124. package/dist/images/placeholder-avatar.png.js +0 -1
  1125. package/dist/images/placeholder-avatar.png.mjs +0 -4
  1126. package/dist/images/qrph-icon.png.js +0 -1
  1127. package/dist/images/qrph-icon.png.mjs +0 -4
  1128. package/dist/images/responsible-gaming.png.js +0 -1
  1129. package/dist/images/responsible-gaming.png.mjs +0 -4
  1130. package/dist/images/trophy-two.png.js +0 -1
  1131. package/dist/images/trophy-two.png.mjs +0 -4
  1132. package/dist/images/trophy.png.js +0 -1
  1133. package/dist/images/trophy.png.mjs +0 -4
  1134. package/dist/middleware.mjs +0 -34
  1135. package/dist/portal-components.css +0 -1
  1136. package/dist/server/services/authenticate.mjs +0 -22
  1137. package/dist/server/services/getSession.mjs +0 -11
  1138. package/dist/server/services/signIn.mjs +0 -24
  1139. package/dist/server/services/signOut.mjs +0 -16
  1140. package/dist/server/utils/prefetchAccountQuery.mjs +0 -26
  1141. package/dist/server/utils/prefetchAvailablePromosQuery.mjs +0 -26
  1142. package/dist/server/utils/prefetchBetRecordsQuery.mjs +0 -26
  1143. package/dist/server/utils/prefetchBonusesQuery.mjs +0 -26
  1144. package/dist/server/utils/prefetchCashbacksQuery.mjs +0 -23
  1145. package/dist/server/utils/prefetchDepositQuery.mjs +0 -26
  1146. package/dist/server/utils/prefetchDepositRecordsQuery.mjs +0 -26
  1147. package/dist/server/utils/prefetchFavoriteGamesQuery.mjs +0 -28
  1148. package/dist/server/utils/prefetchGamesQuery.mjs +0 -31
  1149. package/dist/server/utils/prefetchInstapayBankListQuery.mjs +0 -26
  1150. package/dist/server/utils/prefetchIsMayaSessionValidQuery.mjs +0 -32
  1151. package/dist/server/utils/prefetchJackpotsQuery.mjs +0 -24
  1152. package/dist/server/utils/prefetchMemberVerificationQuery.mjs +0 -26
  1153. package/dist/server/utils/prefetchPaymentSettingsQuery.mjs +0 -26
  1154. package/dist/server/utils/prefetchPlatformQuery.mjs +0 -23
  1155. package/dist/server/utils/prefetchProfileCompletionQuery.mjs +0 -26
  1156. package/dist/server/utils/prefetchPromoQuery.mjs +0 -23
  1157. package/dist/server/utils/prefetchPromosQuery.mjs +0 -23
  1158. package/dist/server/utils/prefetchSessionQuery.mjs +0 -17
  1159. package/dist/server/utils/prefetchTopWinsQuery.mjs +0 -23
  1160. package/dist/server/utils/prefetchTournamentsQuery.mjs +0 -24
  1161. package/dist/server/utils/prefetchTransactionRecordsQuery.mjs +0 -26
  1162. package/dist/server/utils/prefetchWalletQuery.mjs +0 -26
  1163. package/dist/server/utils/prefetchWithdrawalRecordsQuery.mjs +0 -26
  1164. package/dist/server-services.d.ts +0 -2
  1165. package/dist/server-services.js +0 -1
  1166. package/dist/server-services.mjs +0 -10
  1167. package/dist/server-utils.d.ts +0 -2
  1168. package/dist/server-utils.js +0 -1
  1169. package/dist/server-utils.mjs +0 -50
  1170. package/dist/third-parties/FacebookPixel/FacebookPixel.js +0 -1
  1171. package/dist/third-parties/FacebookPixel/FacebookPixel.mjs +0 -6
  1172. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.js +0 -1
  1173. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.mjs +0 -6
  1174. package/dist/types.d.ts +0 -1
  1175. package/dist/types.mjs +0 -1
  1176. package/dist/ui/AlertDialog/AlertDialog.js +0 -1
  1177. package/dist/ui/AlertDialog/AlertDialog.mjs +0 -20
  1178. package/dist/ui/AlertDialog/alertDialog.recipe.mjs +0 -25
  1179. package/dist/ui/Avatar/Avatar.js +0 -1
  1180. package/dist/ui/Avatar/Avatar.mjs +0 -12
  1181. package/dist/ui/Avatar/avatar.recipe.mjs +0 -30
  1182. package/dist/ui/Badge/Badge.js +0 -1
  1183. package/dist/ui/Badge/Badge.mjs +0 -26
  1184. package/dist/ui/Badge/badge.anatomy.mjs +0 -10
  1185. package/dist/ui/Badge/badge.recipe.mjs +0 -112
  1186. package/dist/ui/Button/Button.js +0 -1
  1187. package/dist/ui/Button/Button.mjs +0 -32
  1188. package/dist/ui/Button/button.recipe.mjs +0 -59
  1189. package/dist/ui/Checkbox/Checkbox.js +0 -1
  1190. package/dist/ui/Checkbox/Checkbox.mjs +0 -17
  1191. package/dist/ui/Checkbox/checkbox.recipe.mjs +0 -49
  1192. package/dist/ui/Clipboard/Clipboard.js +0 -1
  1193. package/dist/ui/Clipboard/Clipboard.mjs +0 -15
  1194. package/dist/ui/Clipboard/clipboard.recipe.mjs +0 -47
  1195. package/dist/ui/Collapsible/Collapsible.js +0 -1
  1196. package/dist/ui/Collapsible/Collapsible.mjs +0 -13
  1197. package/dist/ui/Collapsible/collapsible.recipe.mjs +0 -18
  1198. package/dist/ui/Combobox/Combobox.js +0 -1
  1199. package/dist/ui/Combobox/Combobox.mjs +0 -30
  1200. package/dist/ui/Combobox/combobox.recipe.mjs +0 -15
  1201. package/dist/ui/DatePicker/DatePicker.js +0 -1
  1202. package/dist/ui/DatePicker/DatePicker.mjs +0 -42
  1203. package/dist/ui/DatePicker/datePicker.recipe.mjs +0 -55
  1204. package/dist/ui/Dialog/Dialog.js +0 -1
  1205. package/dist/ui/Dialog/Dialog.mjs +0 -20
  1206. package/dist/ui/Dialog/dialog.recipe.mjs +0 -20
  1207. package/dist/ui/Drawer/Drawer.js +0 -1
  1208. package/dist/ui/Drawer/Drawer.mjs +0 -20
  1209. package/dist/ui/Drawer/drawer.recipe.mjs +0 -32
  1210. package/dist/ui/Field/Field.js +0 -1
  1211. package/dist/ui/Field/Field.mjs +0 -16
  1212. package/dist/ui/Field/field.recipe.mjs +0 -66
  1213. package/dist/ui/IconButton/IconButton.js +0 -1
  1214. package/dist/ui/IconButton/IconButton.mjs +0 -32
  1215. package/dist/ui/IconButton/iconButton.recipe.mjs +0 -22
  1216. package/dist/ui/Menu/Menu.js +0 -1
  1217. package/dist/ui/Menu/Menu.mjs +0 -5
  1218. package/dist/ui/NumberInput/NumberInput.js +0 -1
  1219. package/dist/ui/NumberInput/NumberInput.mjs +0 -23
  1220. package/dist/ui/NumberInput/numberInput.recipe.mjs +0 -33
  1221. package/dist/ui/PasswordInput/PasswordInput.js +0 -1
  1222. package/dist/ui/PasswordInput/PasswordInput.mjs +0 -18
  1223. package/dist/ui/PasswordInput/passwordInput.recipe.mjs +0 -48
  1224. package/dist/ui/PinInput/PinInput.js +0 -1
  1225. package/dist/ui/PinInput/PinInput.mjs +0 -14
  1226. package/dist/ui/PinInput/pinInput.recipe.mjs +0 -47
  1227. package/dist/ui/Popover/Popover.js +0 -1
  1228. package/dist/ui/Popover/Popover.mjs +0 -20
  1229. package/dist/ui/Popover/popover.recipe.mjs +0 -18
  1230. package/dist/ui/Presence.js +0 -1
  1231. package/dist/ui/Presence.mjs +0 -20
  1232. package/dist/ui/Progress/Progress.js +0 -1
  1233. package/dist/ui/Progress/Progress.mjs +0 -18
  1234. package/dist/ui/Progress/progress.recipe.mjs +0 -41
  1235. package/dist/ui/Prose.js +0 -1
  1236. package/dist/ui/Prose.mjs +0 -47
  1237. package/dist/ui/SegmentGroup/SegmentGroup.js +0 -1
  1238. package/dist/ui/SegmentGroup/SegmentGroup.mjs +0 -17
  1239. package/dist/ui/SegmentGroup/segmentGroup.recipe.mjs +0 -42
  1240. package/dist/ui/Select/Select.js +0 -1
  1241. package/dist/ui/Select/Select.mjs +0 -29
  1242. package/dist/ui/Select/select.recipe.mjs +0 -47
  1243. package/dist/ui/Table/Table.js +0 -1
  1244. package/dist/ui/Table/Table.mjs +0 -15
  1245. package/dist/ui/Table/table.anatomy.mjs +0 -13
  1246. package/dist/ui/Table/table.recipe.mjs +0 -36
  1247. package/dist/ui/Tabs/Tabs.js +0 -1
  1248. package/dist/ui/Tabs/Tabs.mjs +0 -14
  1249. package/dist/ui/Tabs/tabs.recipe.mjs +0 -42
  1250. package/dist/ui/Tooltip/Tooltip.js +0 -1
  1251. package/dist/ui/Tooltip/Tooltip.mjs +0 -5
  1252. package/dist/ui.d.ts +0 -2
  1253. package/dist/ui.js +0 -1
  1254. package/dist/ui.mjs +0 -54
  1255. package/dist/utils/anatomyToRecipeSlots.mjs +0 -6
  1256. package/dist/utils/capitalize.mjs +0 -24
  1257. package/dist/utils/createPoll.mjs +0 -20
  1258. package/dist/utils/createSplitProps.mjs +0 -14
  1259. package/dist/utils/dataAttr.mjs +0 -6
  1260. package/dist/utils/formatNumber.mjs +0 -33
  1261. package/dist/utils/getGameImageUrl.mjs +0 -9
  1262. package/dist/utils/getLocaleInfo.js +0 -1
  1263. package/dist/utils/getLocaleInfo.mjs +0 -399
  1264. package/dist/utils/getQueryClient.mjs +0 -23
  1265. package/dist/utils/isMobile.mjs +0 -10
  1266. package/dist/utils/parseDecimal.mjs +0 -14
  1267. package/dist/utils/queryKeys.mjs +0 -114
  1268. package/dist/utils.d.ts +0 -2
  1269. package/dist/utils.js +0 -1
  1270. package/dist/utils.mjs +0 -72
  1271. /package/dist/{types.js → components/KYC/utils.js} +0 -0
  1272. /package/dist/{theme.css → styles/theme.css} +0 -0
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime");require("@opexa/portal-sdk-core");require("../../constants/index.js");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../server/services/getSession.js");require("date-fns");require("next/headers");const t=require("../../server/utils/prefetchJackpotsQuery.js"),u=require("./JackpotCounter.client.js");async function i(e){return await t.prefetchJackpotsQuery({first:100,filter:{status:{equal:"ACTIVE"},deleted:{equal:!1}},sort:{cursor:"POOL",order:"DESC"}}),r.jsx(u.JackpotCounter__client,{...e})}exports.JackpotCounter=i;
@@ -1,33 +0,0 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import "@opexa/portal-sdk-core";
3
- import "../../constants/index.mjs";
4
- import "../../utils/capitalize.mjs";
5
- import "../../utils/parseDecimal.mjs";
6
- import "../../utils/getLocaleInfo.mjs";
7
- import "../../utils/getQueryClient.mjs";
8
- import "../../utils/isMobile.mjs";
9
- import "../../server/services/getSession.mjs";
10
- import "date-fns";
11
- import "next/headers";
12
- import { prefetchJackpotsQuery as o } from "../../server/utils/prefetchJackpotsQuery.mjs";
13
- import { JackpotCounter__client as i } from "./JackpotCounter.client.mjs";
14
- async function J(r) {
15
- return await o({
16
- first: 100,
17
- filter: {
18
- status: {
19
- equal: "ACTIVE"
20
- },
21
- deleted: {
22
- equal: !1
23
- }
24
- },
25
- sort: {
26
- cursor: "POOL",
27
- order: "DESC"
28
- }
29
- }), /* @__PURE__ */ t(i, { ...r });
30
- }
31
- export {
32
- J as JackpotCounter
33
- };
@@ -1 +0,0 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),f=require("@ark-ui/react"),g=require("next/image"),I=require("next/link"),j=require("react"),s=require("tailwind-merge");require("@opexa/portal-sdk-core");require("@tanstack/react-query");require("tiny-invariant");require("../../constants/index.js");require("../../utils/capitalize.js");const c=require("../../utils/formatNumber.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../utils/parseDecimal.js");require("../../client/services/getSession.js");require("lodash-es");require("@opexa/portal-sdk-core/object-id");require("../../client/hooks/useGlobalStore.js");require("../../client/hooks/useInfiniteQueryHelper.js");const P=require("../../client/hooks/useLocaleInfo.js");require("usehooks-ts");const z=require("../../client/hooks/useJackpotPayoutsQuery.js"),M=require("../../icons/ArrowNarrowUpRightIcon.js"),x=require("../../icons/ChevronLeftIcon.js"),d=require("../../icons/ChevronRightIcon.js"),v=require("../../icons/StarIcon.js"),w=require("../../icons/Trophy01Icon.js"),L=require("../../images/close-chest.png.js"),J=require("../../images/first-place.png.js"),R=require("../../images/leaderboard.png.js"),T=require("../../images/open-chest.png.js"),i=require("./JackpotCounterItem.module.css.js");function A({jackpot:r,className:o,viewAllUrl:m}){var p;const u=((p=z.useJackpotPayoutsQuery({first:30,filter:{jackpot:{equal:r.id}},sort:{cursor:"AMOUNT",order:"DESC"}}).data)==null?void 0:p.pages[0].edges.map(a=>a.node))??[],b=u[0]??[],n=P.useLocaleInfo(),l=r.drawing,q=l?r.maximumJackpotPoolLimit:r.pool,N=j.useCallback(({index:a})=>{const t=l?x.ChevronLeftIcon:d.ChevronRightIcon;return e.jsx(t,{className:s.twMerge("scale-400 lg:scale-250 text-brand-300 min-w-2.5 lg:min-w-4",l?i.default["animate-wave-color-error"]:i.default["animate-wave-color-success"]),style:{animationDelay:l?`${(40-a-1)*.1}s`:`${a*.1}s`}})},[l]),C=j.useMemo(()=>Array.from({length:40},(a,t)=>e.jsx(N,{isFirst:t===0,index:t},t)),[N]);return e.jsxs("div",{className:s.twMerge("bg-bg-tertiary border-border-primary relative flex shrink-0 rounded-2xl border p-3 text-center lg:gap-4 lg:p-5",o),children:[e.jsxs("div",{className:"z-1 relative flex flex-1 flex-col",children:[e.jsx("div",{className:"flex h-full flex-col justify-between",children:e.jsx("div",{className:"flex w-full justify-between",children:e.jsxs("div",{className:"flex w-full flex-col",children:[e.jsxs("div",{className:"relative flex w-full justify-between",children:[e.jsxs("div",{children:[l?e.jsxs("div",{className:"border-utility-success-200 bg-utility-success-50 text-utility-success-700 flex w-fit items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-medium",children:[e.jsx("span",{className:"full bg-utility-success-500 size-1.5 animate-pulse rounded"}),"Paying Out"]}):e.jsxs("div",{className:"border-utility-blue-200 bg-utility-blue-50 text-utility-blue-700 flex w-fit items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-medium",children:[e.jsx(M.ArrowNarrowUpRightIcon,{className:"text-utility-blue-500 size-3.5"}),"Accumulating"]}),e.jsx("div",{className:"text-text-primary-900 mt-1 text-left text-lg font-medium lg:mt-5 lg:text-2xl",children:r.name}),e.jsx("div",{className:"bg-bg-primary text-brand-400 mt-1.5 w-fit rounded-md px-2 py-1 text-2xl font-bold lg:mt-2 lg:text-4xl",children:c.formatNumber(q,{currency:n.currency.code,minDecimalPlaces:2,maxDecimalPlaces:2})})]}),e.jsx("div",{className:"z-1 bottom-[-60] right-0 lg:absolute",children:e.jsx(g,{width:150,height:150,src:l?T:L,alt:"closeChest",quality:100,className:"h-25 w-25 lg:h-37.5 lg:w-37.5 size-full p-2"})})]}),b.amount?e.jsx("div",{children:e.jsxs("div",{className:"bg-bg-primary relative mt-4 hidden w-full gap-4 rounded-lg p-4 lg:flex",children:[e.jsx("div",{className:"border-yellow-400 relative h-18 w-18 rounded-full border",children:e.jsx("div",{className:"bg-yellow-400 text-brand-950 border-bg-primary absolute bottom-0 right-0 flex h-6 w-6 items-center justify-center rounded-full border-[1.5px] text-xs font-bold",children:"1st"})}),e.jsxs("div",{className:"flex flex-col gap-1 text-left",children:[e.jsxs("div",{className:"border-utility-brand-200 bg-utility-brand-50 text-utility-brand-700 flex h-fit w-fit items-center gap-1 rounded-sm border px-2 py-0.5 text-xs font-medium",children:[e.jsx(w.Trophy01Icon,{className:"text-utility-brand-600 size-3.5"}),"Top Payout"]}),e.jsx("div",{className:"font-semibold",children:y(b.member.name)}),e.jsx("div",{className:"text-brand-400 text-2xl",children:c.formatNumber(b.amount,{currency:n.currency.code,minDecimalPlaces:2,maxDecimalPlaces:2})})]})]})}):e.jsxs("div",{className:"bg-bg-primary relative mt-4 hidden w-full gap-4 rounded-lg p-4 lg:flex",children:[e.jsx(g,{width:66,height:87,src:J,alt:"closeChest",className:"size-full h-auto w-[66px] mix-blend-luminosity"}),e.jsxs("div",{className:"flex flex-col gap-1 text-left",children:[e.jsxs("div",{className:"border-utility-brand-200 bg-utility-brand-50 text-utility-brand-700 flex h-fit w-fit items-center gap-1 rounded-sm border px-2 py-0.5 text-xs font-medium",children:[e.jsx(w.Trophy01Icon,{className:"text-utility-brand-600 size-3.5"}),"Top Payout"]}),e.jsx("div",{className:"font-semibold",children:"No winners yet"}),e.jsx("div",{className:"text-text-secondary-700 text-xs",children:"You could be the first to win the tournament!"})]})]})]})})}),e.jsxs("div",{className:"mt-3 lg:mt-4",children:[e.jsxs("div",{className:"mb-1 flex justify-between",children:[e.jsx("div",{className:"text-text-primary-900 text-xs font-semibold",children:c.formatNumber(0,{currency:n.currency.code,compact:!0})}),e.jsxs("div",{className:"relative flex items-center justify-end gap-1.5",children:[l?e.jsxs("div",{className:"flex w-6 items-center",children:[e.jsx("div",{className:s.twMerge("absolute left-0",i.default["animate-arrow-red-flash-1"]),children:e.jsx(x.ChevronLeftIcon,{className:"size-4.5"})}),e.jsx("div",{className:s.twMerge("absolute left-1.5",i.default["animate-arrow-red-flash-2"]),children:e.jsx(x.ChevronLeftIcon,{className:"size-4.5"})}),e.jsx("div",{className:s.twMerge("absolute left-3",i.default["animate-arrow-red-flash-3"]),children:e.jsx(x.ChevronLeftIcon,{className:"size-4.5"})})]}):e.jsxs("div",{className:"flex w-6 items-center",children:[e.jsx("div",{className:s.twMerge("absolute left-0",i.default["animate-arrow-green-flash-1"]),children:e.jsx(d.ChevronRightIcon,{className:"size-4.5"})}),e.jsx("div",{className:s.twMerge("absolute left-1.5",i.default["animate-arrow-green-flash-2"]),children:e.jsx(d.ChevronRightIcon,{className:"size-4.5"})}),e.jsx("div",{className:s.twMerge("absolute left-3",i.default["animate-arrow-green-flash-3"]),children:e.jsx(d.ChevronRightIcon,{className:"size-4.5"})})]}),e.jsx("div",{className:"text-text-primary-900 text-xs font-semibold",children:c.formatNumber(r==null?void 0:r.maximumJackpotPoolLimit,{currency:n.currency.code,compact:!0})})]})]}),e.jsx(f.Progress.Root,{className:"bg-bg-primary h-2 w-full rounded-full lg:h-4",max:100,value:S(Number(r.pool),Number(r.maximumJackpotPoolLimit)),children:e.jsx(f.Progress.Track,{className:"bg-bg-primary h-full overflow-hidden rounded-full",children:e.jsx(f.Progress.Range,{className:"bg-brand-500 relative h-full overflow-hidden rounded-full pl-1.5",children:e.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-start pl-1.5","aria-hidden":"true",children:C})})})}),e.jsx("div",{className:"mt-1 block text-start text-2xs lg:hidden",children:l?`The pot has hit ${c.formatNumber(r==null?void 0:r.maximumJackpotPoolLimit,{currency:n.currency.code,compact:!0})} Play now for your chance to win big! 🔥`:D(Number(r==null?void 0:r.pool)??0,Number(r==null?void 0:r.maximumJackpotPoolLimit)??0)})]})]}),e.jsxs("div",{className:"z-1 hidden flex-1 space-y-4 lg:block",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsx(g,{width:24,height:24,src:R,quality:100,alt:"leaderboardIcon",className:"size-full h-auto w-6"}),e.jsx("div",{className:"text-text-primary-900 text-lg font-semibold",children:u.length?"Leaderboard":"Starting soon!"})]}),e.jsxs(I,{className:"text-button-tertiary-fg flex text-sm font-semibold",href:m??"/jackpots",children:["See details",e.jsx(d.ChevronRightIcon,{className:"size-5"})]})]}),e.jsx("div",{className:s.twMerge("max-h-[272px] overflow-y-scroll",i.default.scrollArea),children:e.jsx("div",{className:"border-gray-200 overflow-hidden rounded-xl",children:e.jsxs("table",{className:"w-full",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"bg-bg-secondary text-text-tertiary-600 h-8 text-xs font-medium",children:[e.jsx("th",{className:"w-[52px]",children:"#"}),e.jsx("th",{children:"Player"}),e.jsx("th",{children:"Multiplier"}),e.jsx("th",{children:"Prize"})]})}),e.jsx("tbody",{children:u.length?e.jsx(e.Fragment,{children:u.map((a,t)=>e.jsxs("tr",{className:"bg-bg-primary text-text-secondary-700 text-sm",children:[e.jsx("td",{className:"border-border-secondary h-12 w-[52px] border-t-2",children:t+1<6?e.jsxs("div",{className:"relative",children:[e.jsx(v.StarIcon,{className:s.twMerge("mx-auto size-6.5",h[t].starColor)}),e.jsx("span",{className:s.twMerge("absolute inset-0 mt-0.5 flex items-center justify-center text-2xs font-bold",h[t].numberColor),children:t+1})]}):t+1}),e.jsx("td",{className:"border-border-secondary h-12 border-t-2",children:y(a.member.name)}),e.jsxs("td",{className:"border-border-secondary h-12 border-t-2",children:[a.multiplier,"x"]}),e.jsx("td",{className:"border-border-secondary text-brand-400 h-12 border-t-2",children:c.formatNumber(a.amount,{currency:n.currency.code,minDecimalPlaces:2,maxDecimalPlaces:2})})]},t))}):e.jsx(e.Fragment,{children:Array.from({length:10}).map((a,t)=>e.jsxs("tr",{className:"bg-bg-primary text-text-secondary-700 text-sm",children:[e.jsx("td",{className:"border-border-secondary h-12 w-[52px] border-t-2",children:t+1<6?e.jsxs("div",{className:"relative",children:[e.jsx(v.StarIcon,{className:s.twMerge("mx-auto size-6.5",h[t].starColor)}),e.jsx("span",{className:s.twMerge("absolute inset-0 mt-0.5 flex items-center justify-center text-2xs font-bold",h[t].numberColor),children:t+1})]}):t+1}),e.jsx("td",{className:"border-border-secondary h-12 border-t-2",children:"-"}),e.jsx("td",{className:"border-border-secondary h-12 border-t-2",children:"-"}),e.jsx("td",{className:"border-border-secondary h-12 border-t-2",children:"-"})]},t))})})]})})})]}),l&&e.jsx("div",{className:s.twMerge(i.default["light-rays"],"absolute right-0 top-0 rounded-2xl [--light-rays-top:25%] lg:[--light-rays-top:150px]")})]})}function y(r){if(r.length<=7)return"*".repeat(r.length);const o=r.slice(0,3),m="*".repeat(7);return o+m}const S=(r,o)=>o===0?0:r/o*100,D=(r,o)=>(o===0?0:r/o*100)<=90?"The jackpot is heating up! Keep playing to stay in the action and watch it grow!":"🔥 It’s about to pop! Stay in the game for your shot at the prize!",h=[{starColor:"text-yellow-400",numberColor:"text-bg-primary"},{starColor:"text-utility-gray-700",numberColor:"text-bg-primary"},{starColor:"text-yellow-700",numberColor:"text-bg-primary"},{starColor:"text-bg-quaternary",numberColor:"text-text-primary-900"},{starColor:"text-bg-quaternary",numberColor:"text-text-primary-900"}];exports.JackpotCounterItem=A;exports.maskName=y;
@@ -1,413 +0,0 @@
1
- "use client";
2
- import { jsx as e, jsxs as r, Fragment as v } from "react/jsx-runtime";
3
- import { Progress as y } from "@ark-ui/react";
4
- import p from "next/image";
5
- import A from "next/link";
6
- import { useCallback as D, useMemo as J } from "react";
7
- import { twMerge as a } from "tailwind-merge";
8
- import "@opexa/portal-sdk-core";
9
- import "@tanstack/react-query";
10
- import "tiny-invariant";
11
- import "../../constants/index.mjs";
12
- import "../../utils/capitalize.mjs";
13
- import { formatNumber as n } from "../../utils/formatNumber.mjs";
14
- import "../../utils/getLocaleInfo.mjs";
15
- import "../../utils/getQueryClient.mjs";
16
- import "../../utils/isMobile.mjs";
17
- import "../../utils/parseDecimal.mjs";
18
- import "../../client/services/getSession.mjs";
19
- import "lodash-es";
20
- import "@opexa/portal-sdk-core/object-id";
21
- import "../../client/hooks/useGlobalStore.mjs";
22
- import "../../client/hooks/useInfiniteQueryHelper.mjs";
23
- import { useLocaleInfo as L } from "../../client/hooks/useLocaleInfo.mjs";
24
- import "usehooks-ts";
25
- import { useJackpotPayoutsQuery as T } from "../../client/hooks/useJackpotPayoutsQuery.mjs";
26
- import { ArrowNarrowUpRightIcon as S } from "../../icons/ArrowNarrowUpRightIcon.mjs";
27
- import { ChevronLeftIcon as b } from "../../icons/ChevronLeftIcon.mjs";
28
- import { ChevronRightIcon as d } from "../../icons/ChevronRightIcon.mjs";
29
- import { StarIcon as w } from "../../icons/StarIcon.mjs";
30
- import { Trophy01Icon as P } from "../../icons/Trophy01Icon.mjs";
31
- import q from "../../images/close-chest.png.mjs";
32
- import M from "../../images/first-place.png.mjs";
33
- import R from "../../images/leaderboard.png.mjs";
34
- import O from "../../images/open-chest.png.mjs";
35
- import o from "./JackpotCounterItem.module.css.mjs";
36
- function Ne({
37
- jackpot: t,
38
- className: c,
39
- viewAllUrl: u
40
- }) {
41
- var N;
42
- const h = ((N = T({
43
- first: 30,
44
- filter: {
45
- jackpot: {
46
- equal: t.id
47
- }
48
- },
49
- sort: {
50
- cursor: "AMOUNT",
51
- order: "DESC"
52
- }
53
- }).data) == null ? void 0 : N.pages[0].edges.map((s) => s.node)) ?? [], f = h[0] ?? [], m = L(), i = t.drawing, z = i ? t.maximumJackpotPoolLimit : t.pool, g = D(
54
- ({ index: s }) => /* @__PURE__ */ e(
55
- i ? b : d,
56
- {
57
- className: a(
58
- "scale-400 lg:scale-250 text-brand-300 min-w-2.5 lg:min-w-4",
59
- i ? o["animate-wave-color-error"] : o["animate-wave-color-success"]
60
- ),
61
- style: {
62
- animationDelay: i ? `${(40 - s - 1) * 0.1}s` : `${s * 0.1}s`
63
- }
64
- }
65
- ),
66
- [i]
67
- ), I = J(
68
- () => Array.from({ length: 40 }, (s, l) => /* @__PURE__ */ e(g, { isFirst: l === 0, index: l }, l)),
69
- [g]
70
- );
71
- return /* @__PURE__ */ r(
72
- "div",
73
- {
74
- className: a(
75
- "bg-bg-tertiary border-border-primary relative flex shrink-0 rounded-2xl border p-3 text-center lg:gap-4 lg:p-5",
76
- c
77
- ),
78
- children: [
79
- /* @__PURE__ */ r("div", { className: "z-1 relative flex flex-1 flex-col", children: [
80
- /* @__PURE__ */ e("div", { className: "flex h-full flex-col justify-between", children: /* @__PURE__ */ e("div", { className: "flex w-full justify-between", children: /* @__PURE__ */ r("div", { className: "flex w-full flex-col", children: [
81
- /* @__PURE__ */ r("div", { className: "relative flex w-full justify-between", children: [
82
- /* @__PURE__ */ r("div", { children: [
83
- i ? /* @__PURE__ */ r("div", { className: "border-utility-success-200 bg-utility-success-50 text-utility-success-700 flex w-fit items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-medium", children: [
84
- /* @__PURE__ */ e("span", { className: "full bg-utility-success-500 size-1.5 animate-pulse rounded" }),
85
- "Paying Out"
86
- ] }) : /* @__PURE__ */ r("div", { className: "border-utility-blue-200 bg-utility-blue-50 text-utility-blue-700 flex w-fit items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-medium", children: [
87
- /* @__PURE__ */ e(S, { className: "text-utility-blue-500 size-3.5" }),
88
- "Accumulating"
89
- ] }),
90
- /* @__PURE__ */ e("div", { className: "text-text-primary-900 mt-1 text-left text-lg font-medium lg:mt-5 lg:text-2xl", children: t.name }),
91
- /* @__PURE__ */ e("div", { className: "bg-bg-primary text-brand-400 mt-1.5 w-fit rounded-md px-2 py-1 text-2xl font-bold lg:mt-2 lg:text-4xl", children: n(z, {
92
- currency: m.currency.code,
93
- minDecimalPlaces: 2,
94
- maxDecimalPlaces: 2
95
- }) })
96
- ] }),
97
- /* @__PURE__ */ e("div", { className: "z-1 bottom-[-60] right-0 lg:absolute", children: /* @__PURE__ */ e(
98
- p,
99
- {
100
- width: 150,
101
- height: 150,
102
- src: i ? O : q,
103
- alt: "closeChest",
104
- quality: 100,
105
- className: "h-25 w-25 lg:h-37.5 lg:w-37.5 size-full p-2"
106
- }
107
- ) })
108
- ] }),
109
- f.amount ? /* @__PURE__ */ e("div", { children: /* @__PURE__ */ r("div", { className: "bg-bg-primary relative mt-4 hidden w-full gap-4 rounded-lg p-4 lg:flex", children: [
110
- /* @__PURE__ */ e("div", { className: "border-yellow-400 relative h-18 w-18 rounded-full border", children: /* @__PURE__ */ e("div", { className: "bg-yellow-400 text-brand-950 border-bg-primary absolute bottom-0 right-0 flex h-6 w-6 items-center justify-center rounded-full border-[1.5px] text-xs font-bold", children: "1st" }) }),
111
- /* @__PURE__ */ r("div", { className: "flex flex-col gap-1 text-left", children: [
112
- /* @__PURE__ */ r("div", { className: "border-utility-brand-200 bg-utility-brand-50 text-utility-brand-700 flex h-fit w-fit items-center gap-1 rounded-sm border px-2 py-0.5 text-xs font-medium", children: [
113
- /* @__PURE__ */ e(P, { className: "text-utility-brand-600 size-3.5" }),
114
- "Top Payout"
115
- ] }),
116
- /* @__PURE__ */ e("div", { className: "font-semibold", children: C(f.member.name) }),
117
- /* @__PURE__ */ e("div", { className: "text-brand-400 text-2xl", children: n(f.amount, {
118
- currency: m.currency.code,
119
- minDecimalPlaces: 2,
120
- maxDecimalPlaces: 2
121
- }) })
122
- ] })
123
- ] }) }) : /* @__PURE__ */ r("div", { className: "bg-bg-primary relative mt-4 hidden w-full gap-4 rounded-lg p-4 lg:flex", children: [
124
- /* @__PURE__ */ e(
125
- p,
126
- {
127
- width: 66,
128
- height: 87,
129
- src: M,
130
- alt: "closeChest",
131
- className: "size-full h-auto w-[66px] mix-blend-luminosity"
132
- }
133
- ),
134
- /* @__PURE__ */ r("div", { className: "flex flex-col gap-1 text-left", children: [
135
- /* @__PURE__ */ r("div", { className: "border-utility-brand-200 bg-utility-brand-50 text-utility-brand-700 flex h-fit w-fit items-center gap-1 rounded-sm border px-2 py-0.5 text-xs font-medium", children: [
136
- /* @__PURE__ */ e(P, { className: "text-utility-brand-600 size-3.5" }),
137
- "Top Payout"
138
- ] }),
139
- /* @__PURE__ */ e("div", { className: "font-semibold", children: "No winners yet" }),
140
- /* @__PURE__ */ e("div", { className: "text-text-secondary-700 text-xs", children: "You could be the first to win the tournament!" })
141
- ] })
142
- ] })
143
- ] }) }) }),
144
- /* @__PURE__ */ r("div", { className: "mt-3 lg:mt-4", children: [
145
- /* @__PURE__ */ r("div", { className: "mb-1 flex justify-between", children: [
146
- /* @__PURE__ */ e("div", { className: "text-text-primary-900 text-xs font-semibold", children: n(0, {
147
- currency: m.currency.code,
148
- compact: !0
149
- }) }),
150
- /* @__PURE__ */ r("div", { className: "relative flex items-center justify-end gap-1.5", children: [
151
- i ? /* @__PURE__ */ r("div", { className: "flex w-6 items-center", children: [
152
- /* @__PURE__ */ e(
153
- "div",
154
- {
155
- className: a(
156
- "absolute left-0",
157
- o["animate-arrow-red-flash-1"]
158
- ),
159
- children: /* @__PURE__ */ e(b, { className: "size-4.5" })
160
- }
161
- ),
162
- /* @__PURE__ */ e(
163
- "div",
164
- {
165
- className: a(
166
- "absolute left-1.5",
167
- o["animate-arrow-red-flash-2"]
168
- ),
169
- children: /* @__PURE__ */ e(b, { className: "size-4.5" })
170
- }
171
- ),
172
- /* @__PURE__ */ e(
173
- "div",
174
- {
175
- className: a(
176
- "absolute left-3",
177
- o["animate-arrow-red-flash-3"]
178
- ),
179
- children: /* @__PURE__ */ e(b, { className: "size-4.5" })
180
- }
181
- )
182
- ] }) : /* @__PURE__ */ r("div", { className: "flex w-6 items-center", children: [
183
- /* @__PURE__ */ e(
184
- "div",
185
- {
186
- className: a(
187
- "absolute left-0",
188
- o["animate-arrow-green-flash-1"]
189
- ),
190
- children: /* @__PURE__ */ e(d, { className: "size-4.5" })
191
- }
192
- ),
193
- /* @__PURE__ */ e(
194
- "div",
195
- {
196
- className: a(
197
- "absolute left-1.5",
198
- o["animate-arrow-green-flash-2"]
199
- ),
200
- children: /* @__PURE__ */ e(d, { className: "size-4.5" })
201
- }
202
- ),
203
- /* @__PURE__ */ e(
204
- "div",
205
- {
206
- className: a(
207
- "absolute left-3",
208
- o["animate-arrow-green-flash-3"]
209
- ),
210
- children: /* @__PURE__ */ e(d, { className: "size-4.5" })
211
- }
212
- )
213
- ] }),
214
- /* @__PURE__ */ e("div", { className: "text-text-primary-900 text-xs font-semibold", children: n(t == null ? void 0 : t.maximumJackpotPoolLimit, {
215
- currency: m.currency.code,
216
- compact: !0
217
- }) })
218
- ] })
219
- ] }),
220
- /* @__PURE__ */ e(
221
- y.Root,
222
- {
223
- className: "bg-bg-primary h-2 w-full rounded-full lg:h-4",
224
- max: 100,
225
- value: Q(
226
- Number(t.pool),
227
- Number(t.maximumJackpotPoolLimit)
228
- ),
229
- children: /* @__PURE__ */ e(y.Track, { className: "bg-bg-primary h-full overflow-hidden rounded-full", children: /* @__PURE__ */ e(y.Range, { className: "bg-brand-500 relative h-full overflow-hidden rounded-full pl-1.5", children: /* @__PURE__ */ e(
230
- "div",
231
- {
232
- className: "pointer-events-none absolute inset-0 flex items-center justify-start pl-1.5",
233
- "aria-hidden": "true",
234
- children: I
235
- }
236
- ) }) })
237
- }
238
- ),
239
- /* @__PURE__ */ e("div", { className: "mt-1 block text-start text-2xs lg:hidden", children: i ? `The pot has hit ${n(
240
- t == null ? void 0 : t.maximumJackpotPoolLimit,
241
- {
242
- currency: m.currency.code,
243
- compact: !0
244
- }
245
- )} Play now for your chance to win big! 🔥` : $(
246
- Number(t == null ? void 0 : t.pool) ?? 0,
247
- Number(t == null ? void 0 : t.maximumJackpotPoolLimit) ?? 0
248
- ) })
249
- ] })
250
- ] }),
251
- /* @__PURE__ */ r("div", { className: "z-1 hidden flex-1 space-y-4 lg:block", children: [
252
- /* @__PURE__ */ r("div", { className: "flex items-center justify-between", children: [
253
- /* @__PURE__ */ r("div", { className: "flex gap-2", children: [
254
- /* @__PURE__ */ e(
255
- p,
256
- {
257
- width: 24,
258
- height: 24,
259
- src: R,
260
- quality: 100,
261
- alt: "leaderboardIcon",
262
- className: "size-full h-auto w-6"
263
- }
264
- ),
265
- /* @__PURE__ */ e("div", { className: "text-text-primary-900 text-lg font-semibold", children: h.length ? "Leaderboard" : "Starting soon!" })
266
- ] }),
267
- /* @__PURE__ */ r(
268
- A,
269
- {
270
- className: "text-button-tertiary-fg flex text-sm font-semibold",
271
- href: u ?? "/jackpots",
272
- children: [
273
- "See details",
274
- /* @__PURE__ */ e(d, { className: "size-5" })
275
- ]
276
- }
277
- )
278
- ] }),
279
- /* @__PURE__ */ e(
280
- "div",
281
- {
282
- className: a(
283
- "max-h-[272px] overflow-y-scroll",
284
- o.scrollArea
285
- ),
286
- children: /* @__PURE__ */ e("div", { className: "border-gray-200 overflow-hidden rounded-xl", children: /* @__PURE__ */ r("table", { className: "w-full", children: [
287
- /* @__PURE__ */ e("thead", { children: /* @__PURE__ */ r("tr", { className: "bg-bg-secondary text-text-tertiary-600 h-8 text-xs font-medium", children: [
288
- /* @__PURE__ */ e("th", { className: "w-[52px]", children: "#" }),
289
- /* @__PURE__ */ e("th", { children: "Player" }),
290
- /* @__PURE__ */ e("th", { children: "Multiplier" }),
291
- /* @__PURE__ */ e("th", { children: "Prize" })
292
- ] }) }),
293
- /* @__PURE__ */ e("tbody", { children: h.length ? /* @__PURE__ */ e(v, { children: h.map((s, l) => /* @__PURE__ */ r(
294
- "tr",
295
- {
296
- className: "bg-bg-primary text-text-secondary-700 text-sm",
297
- children: [
298
- /* @__PURE__ */ e("td", { className: "border-border-secondary h-12 w-[52px] border-t-2", children: l + 1 < 6 ? /* @__PURE__ */ r("div", { className: "relative", children: [
299
- /* @__PURE__ */ e(
300
- w,
301
- {
302
- className: a(
303
- "mx-auto size-6.5",
304
- x[l].starColor
305
- )
306
- }
307
- ),
308
- /* @__PURE__ */ e(
309
- "span",
310
- {
311
- className: a(
312
- "absolute inset-0 mt-0.5 flex items-center justify-center text-2xs font-bold",
313
- x[l].numberColor
314
- ),
315
- children: l + 1
316
- }
317
- )
318
- ] }) : l + 1 }),
319
- /* @__PURE__ */ e("td", { className: "border-border-secondary h-12 border-t-2", children: C(s.member.name) }),
320
- /* @__PURE__ */ r("td", { className: "border-border-secondary h-12 border-t-2", children: [
321
- s.multiplier,
322
- "x"
323
- ] }),
324
- /* @__PURE__ */ e("td", { className: "border-border-secondary text-brand-400 h-12 border-t-2", children: n(s.amount, {
325
- currency: m.currency.code,
326
- minDecimalPlaces: 2,
327
- maxDecimalPlaces: 2
328
- }) })
329
- ]
330
- },
331
- l
332
- )) }) : /* @__PURE__ */ e(v, { children: Array.from({ length: 10 }).map((s, l) => /* @__PURE__ */ r(
333
- "tr",
334
- {
335
- className: "bg-bg-primary text-text-secondary-700 text-sm",
336
- children: [
337
- /* @__PURE__ */ e("td", { className: "border-border-secondary h-12 w-[52px] border-t-2", children: l + 1 < 6 ? /* @__PURE__ */ r("div", { className: "relative", children: [
338
- /* @__PURE__ */ e(
339
- w,
340
- {
341
- className: a(
342
- "mx-auto size-6.5",
343
- x[l].starColor
344
- )
345
- }
346
- ),
347
- /* @__PURE__ */ e(
348
- "span",
349
- {
350
- className: a(
351
- "absolute inset-0 mt-0.5 flex items-center justify-center text-2xs font-bold",
352
- x[l].numberColor
353
- ),
354
- children: l + 1
355
- }
356
- )
357
- ] }) : l + 1 }),
358
- /* @__PURE__ */ e("td", { className: "border-border-secondary h-12 border-t-2", children: "-" }),
359
- /* @__PURE__ */ e("td", { className: "border-border-secondary h-12 border-t-2", children: "-" }),
360
- /* @__PURE__ */ e("td", { className: "border-border-secondary h-12 border-t-2", children: "-" })
361
- ]
362
- },
363
- l
364
- )) }) })
365
- ] }) })
366
- }
367
- )
368
- ] }),
369
- i && /* @__PURE__ */ e(
370
- "div",
371
- {
372
- className: a(
373
- o["light-rays"],
374
- "absolute right-0 top-0 rounded-2xl [--light-rays-top:25%] lg:[--light-rays-top:150px]"
375
- )
376
- }
377
- )
378
- ]
379
- }
380
- );
381
- }
382
- function C(t) {
383
- if (t.length <= 7)
384
- return "*".repeat(t.length);
385
- const c = t.slice(0, 3), u = "*".repeat(7);
386
- return c + u;
387
- }
388
- const Q = (t, c) => c === 0 ? 0 : t / c * 100, $ = (t, c) => (c === 0 ? 0 : t / c * 100) <= 90 ? "The jackpot is heating up! Keep playing to stay in the action and watch it grow!" : "🔥 It’s about to pop! Stay in the game for your shot at the prize!", x = [
389
- {
390
- starColor: "text-yellow-400",
391
- numberColor: "text-bg-primary"
392
- },
393
- {
394
- starColor: "text-utility-gray-700",
395
- numberColor: "text-bg-primary"
396
- },
397
- {
398
- starColor: "text-yellow-700",
399
- numberColor: "text-bg-primary"
400
- },
401
- {
402
- starColor: "text-bg-quaternary",
403
- numberColor: "text-text-primary-900"
404
- },
405
- {
406
- starColor: "text-bg-quaternary",
407
- numberColor: "text-text-primary-900"
408
- }
409
- ];
410
- export {
411
- Ne as JackpotCounterItem,
412
- C as maskName
413
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a="_scrollArea_oua78_289",r={"animate-arrow-green-flash-1":"_animate-arrow-green-flash-1_oua78_19","animate-arrow-green-flash-2":"_animate-arrow-green-flash-2_oua78_29","animate-arrow-green-flash-3":"_animate-arrow-green-flash-3_oua78_39","animate-arrow-red-flash-1":"_animate-arrow-red-flash-1_oua78_67","animate-arrow-red-flash-2":"_animate-arrow-red-flash-2_oua78_75","animate-arrow-red-flash-3":"_animate-arrow-red-flash-3_oua78_85","light-rays":"_light-rays_oua78_109",scrollArea:a,"animate-wave-color-success":"_animate-wave-color-success_oua78_351","animate-wave-color-error":"_animate-wave-color-error_oua78_361"};exports.default=r;exports.scrollArea=a;
@@ -1,16 +0,0 @@
1
- const a = "_scrollArea_oua78_289", r = {
2
- "animate-arrow-green-flash-1": "_animate-arrow-green-flash-1_oua78_19",
3
- "animate-arrow-green-flash-2": "_animate-arrow-green-flash-2_oua78_29",
4
- "animate-arrow-green-flash-3": "_animate-arrow-green-flash-3_oua78_39",
5
- "animate-arrow-red-flash-1": "_animate-arrow-red-flash-1_oua78_67",
6
- "animate-arrow-red-flash-2": "_animate-arrow-red-flash-2_oua78_75",
7
- "animate-arrow-red-flash-3": "_animate-arrow-red-flash-3_oua78_85",
8
- "light-rays": "_light-rays_oua78_109",
9
- scrollArea: a,
10
- "animate-wave-color-success": "_animate-wave-color-success_oua78_351",
11
- "animate-wave-color-error": "_animate-wave-color-error_oua78_361"
12
- };
13
- export {
14
- r as default,
15
- a as scrollArea
16
- };
@@ -1 +0,0 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),f=require("embla-carousel-react"),v=require("next/image"),N=require("next/link"),s=require("react"),b=require("../../icons/ArrowLeftIcon.js"),g=require("../../icons/ArrowRightIcon.js");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");const a=require("../../ui/Button/Button.js");require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.js");require("../../ui/Collapsible/Collapsible.js");require("../../ui/Combobox/Combobox.js");require("../../ui/DatePicker/DatePicker.js");require("../../ui/Dialog/Dialog.js");require("../../ui/Drawer/Drawer.js");require("../../ui/Field/Field.js");require("@ark-ui/react");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../ui/IconButton/iconButton.recipe.js");require("../../ui/NumberInput/NumberInput.js");require("../../ui/PasswordInput/PasswordInput.js");require("../../ui/PinInput/PinInput.js");require("../../ui/Popover/Popover.js");require("tailwind-merge");require("../../ui/Progress/Progress.js");require("../../ui/SegmentGroup/SegmentGroup.js");require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");require("../../ui/Tabs/Tabs.js");function h({gameProviders:c}){const[t,e]=f({align:"start",slidesToScroll:1}),o=s.useCallback(()=>{e&&e.scrollPrev()},[e]),n=s.useCallback(()=>{e&&e.scrollNext()},[e]),[u,d]=s.useState(!1),[q,m]=s.useState(!1),i=s.useCallback(()=>{e&&(d(e.canScrollPrev()),m(e.canScrollNext()))},[e]);return s.useEffect(()=>{e&&(i(),e.on("select",i),e.on("reInit",i))},[e,i]),r.jsxs("div",{className:"p-4 pb-8",children:[r.jsxs("div",{className:"flex items-center justify-between",children:[r.jsx("div",{className:"text-text-primary-900 text-lg font-semibold",children:"Jackpot Game Providers"}),r.jsxs("div",{className:"hidden lg:flex",children:[r.jsx(a.Button,{disabled:!u,onClick:o,variant:"outline",colorScheme:"gray",className:"rounded-r-none border-r-0","aria-label":"Previous",children:r.jsx(b.ArrowLeftIcon,{className:"size-5"})}),r.jsxs(a.Button,{disabled:!q,onClick:n,variant:"outline",colorScheme:"gray",className:"rounded-l-none","aria-label":"Next",children:[r.jsx("span",{className:"sr-only",children:"Next"}),r.jsx(g.ArrowRightIcon,{className:"size-5"})]})]})]}),r.jsx("div",{className:"relative mt-3 overflow-hidden",ref:t,children:r.jsx("div",{className:"flex gap-3.5",children:c.map((l,x)=>r.jsx(N,{href:`/${l.slug}`,className:"bg-gray-800 lg:bg-bg-primary-900 min-w-27.5 rounded-md",children:r.jsx(v,{src:l.logo,alt:"provider",className:"size-full"})},x))})})]})}exports.JackpotGameProviders=h;
@@ -1,107 +0,0 @@
1
- "use client";
2
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
3
- import h from "embla-carousel-react";
4
- import x from "next/image";
5
- import b from "next/link";
6
- import { useCallback as t, useState as m, useEffect as g } from "react";
7
- import { ArrowLeftIcon as S } from "../../icons/ArrowLeftIcon.mjs";
8
- import { ArrowRightIcon as P } from "../../icons/ArrowRightIcon.mjs";
9
- import "../../ui/AlertDialog/AlertDialog.mjs";
10
- import "../../ui/Avatar/Avatar.mjs";
11
- import "../../ui/Badge/Badge.mjs";
12
- import { Button as a } from "../../ui/Button/Button.mjs";
13
- import "../../ui/Checkbox/Checkbox.mjs";
14
- import "../../ui/Clipboard/Clipboard.mjs";
15
- import "../../ui/Collapsible/Collapsible.mjs";
16
- import "../../ui/Combobox/Combobox.mjs";
17
- import "../../ui/DatePicker/DatePicker.mjs";
18
- import "../../ui/Dialog/Dialog.mjs";
19
- import "../../ui/Drawer/Drawer.mjs";
20
- import "../../ui/Field/Field.mjs";
21
- import "@ark-ui/react";
22
- import "../../utils/capitalize.mjs";
23
- import "../../utils/parseDecimal.mjs";
24
- import "../../constants/index.mjs";
25
- import "../../utils/getLocaleInfo.mjs";
26
- import "../../utils/getQueryClient.mjs";
27
- import "../../utils/isMobile.mjs";
28
- import "../../ui/IconButton/iconButton.recipe.mjs";
29
- import "../../ui/NumberInput/NumberInput.mjs";
30
- import "../../ui/PasswordInput/PasswordInput.mjs";
31
- import "../../ui/PinInput/PinInput.mjs";
32
- import "../../ui/Popover/Popover.mjs";
33
- import "tailwind-merge";
34
- import "../../ui/Progress/Progress.mjs";
35
- import "../../ui/SegmentGroup/SegmentGroup.mjs";
36
- import "../../ui/Select/Select.mjs";
37
- import "../../ui/Table/Table.mjs";
38
- import "../../ui/Tabs/Tabs.mjs";
39
- function mr({
40
- gameProviders: s
41
- }) {
42
- const [c, r] = h({
43
- align: "start",
44
- slidesToScroll: 1
45
- }), n = t(() => {
46
- r && r.scrollPrev();
47
- }, [r]), p = t(() => {
48
- r && r.scrollNext();
49
- }, [r]), [d, f] = m(!1), [u, N] = m(!1), o = t(() => {
50
- r && (f(r.canScrollPrev()), N(r.canScrollNext()));
51
- }, [r]);
52
- return g(() => {
53
- r && (o(), r.on("select", o), r.on("reInit", o));
54
- }, [r, o]), /* @__PURE__ */ i("div", { className: "p-4 pb-8", children: [
55
- /* @__PURE__ */ i("div", { className: "flex items-center justify-between", children: [
56
- /* @__PURE__ */ e("div", { className: "text-text-primary-900 text-lg font-semibold", children: "Jackpot Game Providers" }),
57
- /* @__PURE__ */ i("div", { className: "hidden lg:flex", children: [
58
- /* @__PURE__ */ e(
59
- a,
60
- {
61
- disabled: !d,
62
- onClick: n,
63
- variant: "outline",
64
- colorScheme: "gray",
65
- className: "rounded-r-none border-r-0",
66
- "aria-label": "Previous",
67
- children: /* @__PURE__ */ e(S, { className: "size-5" })
68
- }
69
- ),
70
- /* @__PURE__ */ i(
71
- a,
72
- {
73
- disabled: !u,
74
- onClick: p,
75
- variant: "outline",
76
- colorScheme: "gray",
77
- className: "rounded-l-none",
78
- "aria-label": "Next",
79
- children: [
80
- /* @__PURE__ */ e("span", { className: "sr-only", children: "Next" }),
81
- /* @__PURE__ */ e(P, { className: "size-5" })
82
- ]
83
- }
84
- )
85
- ] })
86
- ] }),
87
- /* @__PURE__ */ e("div", { className: "relative mt-3 overflow-hidden", ref: c, children: /* @__PURE__ */ e("div", { className: "flex gap-3.5", children: s.map((l, v) => /* @__PURE__ */ e(
88
- b,
89
- {
90
- href: `/${l.slug}`,
91
- className: "bg-gray-800 lg:bg-bg-primary-900 min-w-27.5 rounded-md",
92
- children: /* @__PURE__ */ e(
93
- x,
94
- {
95
- src: l.logo,
96
- alt: "provider",
97
- className: "size-full"
98
- }
99
- )
100
- },
101
- v
102
- )) }) })
103
- ] });
104
- }
105
- export {
106
- mr as JackpotGameProviders
107
- };
@@ -1 +0,0 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),x=require("@ark-ui/react"),u=require("next/image"),s=require("tailwind-merge"),I=require("../../icons/ArrowNarrowUpRightIcon.js"),h=require("../../icons/ChevronLeftIcon.js"),b=require("../../icons/ChevronRightIcon.js"),g=require("../../icons/StarIcon.js"),N=require("../../icons/Trophy01Icon.js"),P=require("../../images/close-chest.png.js"),z=require("../../images/first-place.png.js"),C=require("../../images/leaderboard.png.js"),M=require("../../images/open-chest.png.js");require("../../utils/capitalize.js");const i=require("../../utils/formatNumber.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../utils/parseDecimal.js");const y=require("../JackpotCounter/JackpotCounterItem.js"),l=require("../JackpotCounter/JackpotCounterItem.module.css.js"),J=require("./JackpotGameProviders.js"),R=require("./JackpotRules.js"),D=require("./useJackpotItemData.js");function L({jackpot:r,gameProviders:f}){const{jackpotPayouts:o,topJackpotPayout:m,filteredGameProviders:j,localeInfo:a,isPayingOut:c,jackpotAmount:v,arrowImages:p,calculatePercentage:w,getAccumulatingJackpotDescription:q,starTierStyles:d}=D.useJackpotItemData({jackpot:r,gameProviders:f});return e.jsxs("div",{className:s.twMerge("bg-bg-tertiary border-border-primary rounded-2xl border"),children:[e.jsxs("div",{className:s.twMerge("relative flex shrink-0 p-3 text-center lg:gap-4 lg:p-5"),children:[e.jsxs("div",{className:"z-1 relative flex flex-1 flex-col",children:[e.jsx("div",{className:"flex h-full flex-col justify-between",children:e.jsx("div",{className:"flex w-full justify-between",children:e.jsxs("div",{className:"flex w-full flex-col",children:[e.jsxs("div",{className:"relative flex w-full justify-between",children:[e.jsxs("div",{children:[c?e.jsxs("div",{className:"border-utility-success-200 bg-utility-success-50 text-utility-success-700 flex w-fit items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-medium",children:[e.jsx("span",{className:"full bg-utility-success-500 size-1.5 animate-pulse rounded"}),"Paying Out"]}):e.jsxs("div",{className:"border-utility-blue-200 bg-utility-blue-50 text-utility-blue-700 flex w-fit items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-medium",children:[e.jsx(I.ArrowNarrowUpRightIcon,{className:"text-utility-blue-500 size-3.5"}),"Accumulating"]}),e.jsx("div",{className:"text-text-primary-900 mt-1 text-left text-lg font-medium lg:mt-5 lg:text-2xl",children:r.name}),e.jsx("div",{className:"bg-bg-primary text-brand-400 mt-1.5 w-fit rounded-md px-2 py-1 text-2xl font-bold lg:mt-2 lg:text-4xl",children:i.formatNumber(v,{currency:a.currency.code,minDecimalPlaces:2,maxDecimalPlaces:2})})]}),e.jsx("div",{className:"z-1 bottom-[-60] right-0 block lg:absolute",children:e.jsx(u,{width:150,height:150,src:c?M:P,alt:"closeChest",quality:100,className:"h-25 w-25 lg:h-37.5 lg:w-37.5 size-full p-2"})})]}),m.amount?e.jsx("div",{children:e.jsxs("div",{className:"bg-bg-primary relative mt-4 hidden w-full gap-4 rounded-lg p-4 lg:flex",children:[e.jsx("div",{className:"border-yellow-400 relative h-18 w-18 rounded-full border",children:e.jsx("div",{className:"bg-yellow-400 text-brand-950 border-bg-primary absolute bottom-0 right-0 flex h-6 w-6 items-center justify-center rounded-full border-[1.5px] text-xs font-bold",children:"1st"})}),e.jsxs("div",{className:"flex flex-col gap-1 text-left",children:[e.jsxs("div",{className:"border-utility-brand-200 bg-utility-brand-50 text-utility-brand-700 flex h-fit w-fit items-center gap-1 rounded-sm border px-2 py-0.5 text-xs font-medium",children:[e.jsx(N.Trophy01Icon,{className:"text-utility-brand-600 size-3.5"}),"Top Payout"]}),e.jsx("div",{className:"font-semibold",children:y.maskName(m.member.name)}),e.jsx("div",{className:"text-brand-400 text-2xl",children:i.formatNumber(m.amount,{currency:a.currency.code,minDecimalPlaces:2,maxDecimalPlaces:2})})]})]})}):e.jsxs("div",{className:"bg-bg-primary relative mt-4 hidden w-full gap-4 rounded-lg p-4 lg:flex",children:[e.jsx(u,{width:66,height:87,src:z,alt:"closeChest",className:"size-full h-auto w-[66px] mix-blend-luminosity"}),e.jsxs("div",{className:"flex flex-col gap-1 text-left",children:[e.jsxs("div",{className:"border-utility-brand-200 bg-utility-brand-50 text-utility-brand-700 flex h-fit w-fit items-center gap-1 rounded-sm border px-2 py-0.5 text-xs font-medium",children:[e.jsx(N.Trophy01Icon,{className:"text-utility-brand-600 size-3.5"}),"Top Payout"]}),e.jsx("div",{className:"font-semibold",children:"No winners yet"}),e.jsx("div",{className:"text-text-secondary-700 text-xs",children:"You could be the first to win the tournament!"})]})]})]})})}),e.jsxs("div",{className:"mt-3 lg:mt-4",children:[e.jsxs("div",{className:"mb-1 flex justify-between",children:[e.jsx("div",{className:"text-text-primary-900 text-xs font-semibold",children:i.formatNumber(0,{currency:a.currency.code,compact:!0})}),e.jsxs("div",{className:"relative flex items-center justify-end gap-1.5",children:[c?e.jsxs("div",{className:"flex w-6 items-center",children:[e.jsx("div",{className:s.twMerge("absolute left-0",l.default["animate-arrow-red-flash-1"]),children:e.jsx(h.ChevronLeftIcon,{className:"size-4.5"})}),e.jsx("div",{className:s.twMerge("absolute left-1.5",l.default["animate-arrow-red-flash-2"]),children:e.jsx(h.ChevronLeftIcon,{className:"size-4.5"})}),e.jsx("div",{className:s.twMerge("absolute left-3",l.default["animate-arrow-red-flash-3"]),children:e.jsx(h.ChevronLeftIcon,{className:"size-4.5"})})]}):e.jsxs("div",{className:"flex w-6 items-center",children:[e.jsx("div",{className:s.twMerge("absolute left-0",l.default["animate-arrow-green-flash-1"]),children:e.jsx(b.ChevronRightIcon,{className:"size-4.5"})}),e.jsx("div",{className:s.twMerge("absolute left-1.5",l.default["animate-arrow-green-flash-2"]),children:e.jsx(b.ChevronRightIcon,{className:"size-4.5"})}),e.jsx("div",{className:s.twMerge("absolute left-3",l.default["animate-arrow-green-flash-3"]),children:e.jsx(b.ChevronRightIcon,{className:"size-4.5"})})]}),e.jsx("div",{className:"text-text-primary-900 text-xs font-semibold",children:i.formatNumber(r==null?void 0:r.maximumJackpotPoolLimit,{currency:a.currency.code,compact:!0})})]})]}),e.jsx(x.Progress.Root,{className:"bg-bg-primary h-2 w-full rounded-full lg:h-4",max:100,value:w(Number(r.pool),Number(r.maximumJackpotPoolLimit)),children:e.jsx(x.Progress.Track,{className:"bg-bg-primary h-full overflow-hidden rounded-full",children:e.jsx(x.Progress.Range,{className:"bg-brand-500 relative h-full overflow-hidden rounded-full pl-1.5",children:e.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-start pl-1.5","aria-hidden":"true",children:p})})})}),e.jsx("div",{className:"mt-1 block text-start text-2xs lg:hidden",children:c?`The pot has hit ${i.formatNumber(r==null?void 0:r.maximumJackpotPoolLimit,{currency:a.currency.code,compact:!0})} Play now for your chance to win big! 🔥`:q(Number(r==null?void 0:r.pool)??0,Number(r==null?void 0:r.maximumJackpotPoolLimit)??0)})]})]}),e.jsxs("div",{className:"z-1 hidden flex-1 space-y-4 lg:block",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsx(u,{width:24,height:24,src:C,quality:100,alt:"leaderboardIcon",className:"size-full h-auto w-6"}),e.jsx("div",{className:"text-text-primary-900 text-lg font-semibold",children:o.length?"Leaderboard":"Starting soon!"})]}),e.jsx(R.JackpotRules,{jackpotRules:r.description})]}),e.jsx("div",{className:s.twMerge("max-h-[272px] overflow-y-scroll",l.default.scrollArea),children:e.jsx("div",{className:"border-gray-200 overflow-hidden rounded-xl",children:e.jsxs("table",{className:"w-full",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"bg-bg-secondary text-text-tertiary-600 h-8 text-xs font-medium",children:[e.jsx("th",{className:"w-[52px]",children:"#"}),e.jsx("th",{children:"Player"}),e.jsx("th",{children:"Multiplier"}),e.jsx("th",{children:"Prize"})]})}),e.jsx("tbody",{children:o.length?e.jsx(e.Fragment,{children:o.map((n,t)=>e.jsxs("tr",{className:"bg-bg-primary text-text-secondary-700 text-sm",children:[e.jsx("td",{className:"border-border-secondary h-12 w-[52px] border-t-2",children:t+1<6?e.jsxs("div",{className:"relative",children:[e.jsx(g.StarIcon,{className:s.twMerge("mx-auto size-6.5",d[t].starColor)}),e.jsx("span",{className:s.twMerge("absolute inset-0 mt-0.5 flex items-center justify-center text-2xs font-bold",d[t].numberColor),children:t+1})]}):t+1}),e.jsx("td",{className:"border-border-secondary h-12 border-t-2",children:y.maskName(n.member.name)}),e.jsxs("td",{className:"border-border-secondary h-12 border-t-2",children:[n.multiplier,"x"]}),e.jsx("td",{className:"border-border-secondary text-brand-400 h-12 border-t-2",children:i.formatNumber(n.amount,{currency:a.currency.code,minDecimalPlaces:2,maxDecimalPlaces:2})})]},t))}):e.jsx(e.Fragment,{children:Array.from({length:10}).map((n,t)=>e.jsxs("tr",{className:"bg-bg-primary text-text-secondary-700 text-sm",children:[e.jsx("td",{className:"border-border-secondary h-12 w-[52px] border-t-2",children:t+1<6?e.jsxs("div",{className:"relative",children:[e.jsx(g.StarIcon,{className:s.twMerge("mx-auto size-6.5",d[t].starColor)}),e.jsx("span",{className:s.twMerge("absolute inset-0 mt-0.5 flex items-center justify-center text-2xs font-bold",d[t].numberColor),children:t+1})]}):t+1}),e.jsx("td",{className:"border-border-secondary h-12 border-t-2",children:"-"}),e.jsx("td",{className:"border-border-secondary h-12 border-t-2",children:"-"}),e.jsx("td",{className:"border-border-secondary h-12 border-t-2",children:"-"})]},t))})})]})})})]}),c&&e.jsx("div",{className:s.twMerge(l.default["light-rays"],"absolute right-0 top-0 rounded-2xl")})]}),!!j.length&&e.jsx(J.JackpotGameProviders,{gameProviders:f})]})}exports.JackpotItemDesktop=L;