@opexa/portal-components 0.0.11 → 0.0.13

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 (533) hide show
  1. package/dist/{hooks → client/hooks}/useAccountQuery.d.ts +1 -1
  2. package/dist/client/hooks/useAccountQuery.js +1 -0
  3. package/dist/client/hooks/useAccountQuery.mjs +38 -0
  4. package/dist/{hooks → client/hooks}/useAuthenticateMutation.d.ts +1 -1
  5. package/dist/client/hooks/useAuthenticateMutation.js +1 -0
  6. package/dist/client/hooks/useAuthenticateMutation.mjs +24 -0
  7. package/dist/{hooks → client/hooks}/useAvailablePromosQuery.d.ts +1 -1
  8. package/dist/client/hooks/useAvailablePromosQuery.js +1 -0
  9. package/dist/client/hooks/useAvailablePromosQuery.mjs +38 -0
  10. package/dist/{hooks → client/hooks}/useBetRecordsQuery.d.ts +1 -1
  11. package/dist/client/hooks/useBetRecordsQuery.js +1 -0
  12. package/dist/client/hooks/useBetRecordsQuery.mjs +47 -0
  13. package/dist/{hooks → client/hooks}/useCashbacksQuery.d.ts +1 -1
  14. package/dist/client/hooks/useCashbacksQuery.js +1 -0
  15. package/dist/client/hooks/useCashbacksQuery.mjs +23 -0
  16. package/dist/{hooks → client/hooks}/useCreateGCashDepositMutation.d.ts +1 -1
  17. package/dist/client/hooks/useCreateGCashDepositMutation.js +1 -0
  18. package/dist/{hooks → client/hooks}/useCreateGCashDepositMutation.mjs +16 -19
  19. package/dist/{hooks → client/hooks}/useCreateGameSessionMutation.d.ts +1 -1
  20. package/dist/client/hooks/useCreateGameSessionMutation.js +1 -0
  21. package/dist/{hooks → client/hooks}/useCreateGameSessionMutation.mjs +21 -24
  22. package/dist/{hooks → client/hooks}/useCreateMayaAppDepositMutation.d.ts +1 -1
  23. package/dist/client/hooks/useCreateMayaAppDepositMutation.js +1 -0
  24. package/dist/client/hooks/useCreateMayaAppDepositMutation.mjs +66 -0
  25. package/dist/{hooks → client/hooks}/useCreateMayaDepositMutation.d.ts +1 -1
  26. package/dist/client/hooks/useCreateMayaDepositMutation.js +1 -0
  27. package/dist/client/hooks/useCreateMayaDepositMutation.mjs +66 -0
  28. package/dist/{hooks → client/hooks}/useCreateOnlineBankDepositMutation.d.ts +1 -1
  29. package/dist/client/hooks/useCreateOnlineBankDepositMutation.js +1 -0
  30. package/dist/{hooks → client/hooks}/useCreateOnlineBankDepositMutation.mjs +15 -18
  31. package/dist/{hooks → client/hooks}/useCreateQRPHDepositMutation.d.ts +1 -1
  32. package/dist/client/hooks/useCreateQRPHDepositMutation.js +1 -0
  33. package/dist/{hooks → client/hooks}/useCreateQRPHDepositMutation.mjs +15 -18
  34. package/dist/{hooks → client/hooks}/useDepositQuery.d.ts +1 -1
  35. package/dist/client/hooks/useDepositQuery.js +1 -0
  36. package/dist/client/hooks/useDepositQuery.mjs +39 -0
  37. package/dist/{hooks → client/hooks}/useDepositRecordsQuery.d.ts +1 -1
  38. package/dist/client/hooks/useDepositRecordsQuery.js +1 -0
  39. package/dist/client/hooks/useDepositRecordsQuery.mjs +47 -0
  40. package/dist/{hooks → client/hooks}/useDepositsCountQuery.d.ts +1 -1
  41. package/dist/client/hooks/useDepositsCountQuery.js +1 -0
  42. package/dist/client/hooks/useDepositsCountQuery.mjs +38 -0
  43. package/dist/{hooks → client/hooks}/useEndGameSessionMutation.d.ts +1 -1
  44. package/dist/client/hooks/useEndGameSessionMutation.js +1 -0
  45. package/dist/{hooks → client/hooks}/useEndGameSessionMutation.mjs +12 -15
  46. package/dist/{hooks → client/hooks}/useGamesQuery.d.ts +1 -1
  47. package/dist/client/hooks/useGamesQuery.js +1 -0
  48. package/dist/client/hooks/useGamesQuery.mjs +39 -0
  49. package/dist/{hooks → client/hooks}/useInfiniteQueryHelper.d.ts +1 -1
  50. package/dist/{hooks → client/hooks}/useInstapayBankListQuery.d.ts +1 -1
  51. package/dist/client/hooks/useInstapayBankListQuery.js +1 -0
  52. package/dist/client/hooks/useInstapayBankListQuery.mjs +38 -0
  53. package/dist/{hooks → client/hooks}/useIsMayaSessionValidQuery.d.ts +1 -1
  54. package/dist/client/hooks/useIsMayaSessionValidQuery.js +1 -0
  55. package/dist/client/hooks/useIsMayaSessionValidQuery.mjs +48 -0
  56. package/dist/{hooks → client/hooks}/useJackpotsQuery.d.ts +1 -1
  57. package/dist/client/hooks/useJackpotsQuery.js +1 -0
  58. package/dist/client/hooks/useJackpotsQuery.mjs +31 -0
  59. package/dist/client/hooks/useLocaleInfo.d.ts +1 -0
  60. package/dist/client/hooks/useLocaleInfo.js +1 -0
  61. package/dist/client/hooks/useLocaleInfo.mjs +15 -0
  62. package/dist/{hooks → client/hooks}/useMemberVerificationQuery.d.ts +1 -1
  63. package/dist/client/hooks/useMemberVerificationQuery.js +1 -0
  64. package/dist/client/hooks/useMemberVerificationQuery.mjs +38 -0
  65. package/dist/{hooks → client/hooks}/usePaymentSettingsQuery.d.ts +1 -1
  66. package/dist/client/hooks/usePaymentSettingsQuery.js +1 -0
  67. package/dist/client/hooks/usePaymentSettingsQuery.mjs +38 -0
  68. package/dist/{hooks → client/hooks}/usePlatformQuery.d.ts +1 -1
  69. package/dist/client/hooks/usePlatformQuery.js +1 -0
  70. package/dist/client/hooks/usePlatformQuery.mjs +21 -0
  71. package/dist/{hooks → client/hooks}/usePromoQuery.d.ts +1 -1
  72. package/dist/client/hooks/usePromoQuery.js +1 -0
  73. package/dist/client/hooks/usePromoQuery.mjs +24 -0
  74. package/dist/{hooks → client/hooks}/usePromosQuery.d.ts +1 -1
  75. package/dist/client/hooks/usePromosQuery.js +1 -0
  76. package/dist/client/hooks/usePromosQuery.mjs +23 -0
  77. package/dist/{hooks → client/hooks}/useSendVerificationCodeMutation.d.ts +1 -1
  78. package/dist/client/hooks/useSendVerificationCodeMutation.js +1 -0
  79. package/dist/client/hooks/useSendVerificationCodeMutation.mjs +24 -0
  80. package/dist/{hooks → client/hooks}/useSessionQuery.d.ts +1 -1
  81. package/dist/client/hooks/useSessionQuery.js +1 -0
  82. package/dist/client/hooks/useSessionQuery.mjs +19 -0
  83. package/dist/{hooks → client/hooks}/useSignInMutation.d.ts +1 -1
  84. package/dist/client/hooks/useSignInMutation.js +1 -0
  85. package/dist/client/hooks/useSignInMutation.mjs +25 -0
  86. package/dist/{hooks → client/hooks}/useSignOutMutation.d.ts +1 -1
  87. package/dist/client/hooks/useSignOutMutation.js +1 -0
  88. package/dist/client/hooks/useSignOutMutation.mjs +22 -0
  89. package/dist/{hooks → client/hooks}/useSignUpMutation.d.ts +1 -1
  90. package/dist/client/hooks/useSignUpMutation.js +1 -0
  91. package/dist/client/hooks/useSignUpMutation.mjs +25 -0
  92. package/dist/{hooks → client/hooks}/useSiteQuery.d.ts +1 -1
  93. package/dist/client/hooks/useSiteQuery.js +1 -0
  94. package/dist/client/hooks/useSiteQuery.mjs +23 -0
  95. package/dist/{hooks → client/hooks}/useTopWinsQuery.d.ts +1 -1
  96. package/dist/client/hooks/useTopWinsQuery.js +1 -0
  97. package/dist/client/hooks/useTopWinsQuery.mjs +22 -0
  98. package/dist/{hooks → client/hooks}/useTournamentsQuery.d.ts +1 -1
  99. package/dist/client/hooks/useTournamentsQuery.js +1 -0
  100. package/dist/client/hooks/useTournamentsQuery.mjs +32 -0
  101. package/dist/{hooks → client/hooks}/useTransactionRecordsQuery.d.ts +1 -1
  102. package/dist/client/hooks/useTransactionRecordsQuery.js +1 -0
  103. package/dist/{hooks → client/hooks}/useTransactionRecordsQuery.mjs +17 -20
  104. package/dist/{hooks → client/hooks}/useWalletQuery.d.ts +1 -1
  105. package/dist/client/hooks/useWalletQuery.js +1 -0
  106. package/dist/client/hooks/useWalletQuery.mjs +38 -0
  107. package/dist/{hooks → client/hooks}/useWithdrawalRecordsQuery.d.ts +1 -1
  108. package/dist/client/hooks/useWithdrawalRecordsQuery.js +1 -0
  109. package/dist/client/hooks/useWithdrawalRecordsQuery.mjs +47 -0
  110. package/dist/client/services/authenticate.js +1 -0
  111. package/dist/{services → client/services}/authenticate.mjs +1 -1
  112. package/dist/{services → client/services}/getSession.d.ts +1 -1
  113. package/dist/client/services/signIn.js +1 -0
  114. package/dist/{services → client/services}/signIn.mjs +1 -1
  115. package/dist/client/utils/createRecipeContext.js +1 -0
  116. package/dist/client/utils/createRecipeContext.mjs +55 -0
  117. package/dist/client/utils/index.d.ts +2 -0
  118. package/dist/client/utils/toaster.d.ts +2 -0
  119. package/dist/client/utils/toaster.js +1 -0
  120. package/dist/client/utils/toaster.mjs +11 -0
  121. package/dist/client-hooks.d.ts +2 -0
  122. package/dist/client-hooks.js +1 -0
  123. package/dist/client-hooks.mjs +88 -0
  124. package/dist/client-services.d.ts +2 -0
  125. package/dist/client-services.js +1 -0
  126. package/dist/client-services.mjs +10 -0
  127. package/dist/client-utils.d.ts +2 -0
  128. package/dist/client-utils.js +1 -0
  129. package/dist/client-utils.mjs +6 -0
  130. package/dist/components/Account/Account.js +1 -1
  131. package/dist/components/Account/Account.mjs +21 -22
  132. package/dist/components/Banner/Banner.js +1 -1
  133. package/dist/components/Banner/Banner.mjs +16 -17
  134. package/dist/components/BetRecords/BetRecords.js +1 -1
  135. package/dist/components/BetRecords/BetRecords.mjs +7 -8
  136. package/dist/components/DepositWithdrawal/AmountChoices.js +1 -1
  137. package/dist/components/DepositWithdrawal/AmountChoices.mjs +11 -12
  138. package/dist/components/DepositWithdrawal/AvailablePromos.js +1 -1
  139. package/dist/components/DepositWithdrawal/AvailablePromos.mjs +21 -22
  140. package/dist/components/DepositWithdrawal/Deposit/Deposit.js +1 -1
  141. package/dist/components/DepositWithdrawal/Deposit/Deposit.mjs +31 -55
  142. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +1 -1
  143. package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.mjs +43 -43
  144. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +1 -1
  145. package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.mjs +48 -48
  146. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +1 -1
  147. package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.mjs +43 -43
  148. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +1 -1
  149. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.mjs +10 -11
  150. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +1 -1
  151. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.mjs +6 -8
  152. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.js +1 -1
  153. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.mjs +10 -10
  154. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +1 -1
  155. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.mjs +9 -10
  156. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +1 -1
  157. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.mjs +6 -8
  158. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +1 -1
  159. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.mjs +6 -8
  160. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.js +1 -1
  161. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.mjs +10 -10
  162. package/dist/components/DepositWithdrawal/DepositWithdrawal.js +1 -1
  163. package/dist/components/DepositWithdrawal/DepositWithdrawal.mjs +29 -30
  164. package/dist/components/DepositWithdrawal/PaymentMethods.js +1 -1
  165. package/dist/components/DepositWithdrawal/PaymentMethods.mjs +11 -12
  166. package/dist/components/Disclaimer/Disclaimer.js +1 -1
  167. package/dist/components/Disclaimer/Disclaimer.mjs +2 -3
  168. package/dist/components/Disclaimer/useDisclaimer.js +1 -1
  169. package/dist/components/Disclaimer/useDisclaimer.mjs +5 -5
  170. package/dist/components/GameLaunch/GameLaunch.js +1 -1
  171. package/dist/components/GameLaunch/GameLaunch.mjs +34 -35
  172. package/dist/components/GameLaunch/GameLaunchTrigger.js +1 -1
  173. package/dist/components/GameLaunch/GameLaunchTrigger.mjs +12 -12
  174. package/dist/components/Games/Games.client.d.ts +2 -0
  175. package/dist/components/Games/Games.client.js +1 -0
  176. package/dist/components/Games/Games.client.mjs +150 -0
  177. package/dist/components/Games/Games.d.ts +1 -1
  178. package/dist/components/Games/Games.js +1 -1
  179. package/dist/components/Games/Games.mjs +11 -140
  180. package/dist/components/JackpotCounter/JackpotCounter.js +1 -1
  181. package/dist/components/JackpotCounter/JackpotCounter.mjs +6 -7
  182. package/dist/components/JackpotCounter/JackpotCounterItem.js +1 -1
  183. package/dist/components/JackpotCounter/JackpotCounterItem.mjs +15 -16
  184. package/dist/components/PortalProvider/PortalProvider.d.ts +1 -1
  185. package/dist/components/PortalProvider/PortalProvider.js +1 -1
  186. package/dist/components/PortalProvider/PortalProvider.mjs +18 -58
  187. package/dist/components/PortalProvider/Providers.d.ts +2 -0
  188. package/dist/components/PortalProvider/Providers.js +1 -0
  189. package/dist/components/PortalProvider/Providers.mjs +65 -0
  190. package/dist/components/Promo/PromoContent.js +1 -1
  191. package/dist/components/Promo/PromoContent.mjs +7 -8
  192. package/dist/components/Promos/PromoCarousel.js +1 -1
  193. package/dist/components/Promos/PromoCarousel.mjs +17 -18
  194. package/dist/components/Promos/PromoGrid.js +1 -1
  195. package/dist/components/Promos/PromoGrid.mjs +11 -12
  196. package/dist/components/Promos/PromoItem.js +1 -1
  197. package/dist/components/Promos/PromoItem.mjs +2 -4
  198. package/dist/components/Protected/Protected.js +1 -1
  199. package/dist/components/Protected/Protected.mjs +7 -9
  200. package/dist/components/SignIn/SignIn.js +1 -1
  201. package/dist/components/SignIn/SignIn.mjs +17 -18
  202. package/dist/components/SignIn/SignInForm.js +1 -1
  203. package/dist/components/SignIn/SignInForm.mjs +33 -33
  204. package/dist/components/SignUp/SignUp.js +1 -1
  205. package/dist/components/SignUp/SignUp.mjs +27 -28
  206. package/dist/components/SignUp/SignUpForm.js +1 -1
  207. package/dist/components/SignUp/SignUpForm.mjs +30 -30
  208. package/dist/components/TopWins/TopWins.client.d.ts +2 -0
  209. package/dist/components/TopWins/TopWins.client.js +1 -0
  210. package/dist/components/TopWins/TopWins.client.mjs +64 -0
  211. package/dist/components/TopWins/TopWins.d.ts +1 -1
  212. package/dist/components/TopWins/TopWins.js +1 -1
  213. package/dist/components/TopWins/TopWins.mjs +12 -61
  214. package/dist/components/TournamentCounter/TournamentCounter.js +1 -1
  215. package/dist/components/TournamentCounter/TournamentCounter.mjs +6 -7
  216. package/dist/components/TournamentCounter/TournamentCounterItem.js +1 -1
  217. package/dist/components/TournamentCounter/TournamentCounterItem.mjs +6 -7
  218. package/dist/components/TransactionRecords/DepositRecordsTable.js +1 -1
  219. package/dist/components/TransactionRecords/DepositRecordsTable.mjs +7 -8
  220. package/dist/components/TransactionRecords/TableFilters.js +1 -1
  221. package/dist/components/TransactionRecords/TableFilters.mjs +6 -7
  222. package/dist/components/TransactionRecords/TransactionRecords.js +1 -1
  223. package/dist/components/TransactionRecords/TransactionRecords.mjs +4 -6
  224. package/dist/components/TransactionRecords/TransactionRecordsTable.js +1 -1
  225. package/dist/components/TransactionRecords/TransactionRecordsTable.mjs +7 -8
  226. package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -1
  227. package/dist/components/TransactionRecords/WithdrawalRecordsTable.mjs +7 -8
  228. package/dist/components/index.d.ts +0 -1
  229. package/dist/components.js +1 -1
  230. package/dist/components.mjs +34 -39
  231. package/dist/dist/constants/index.js +1 -0
  232. package/dist/dist/constants/index.mjs +27 -0
  233. package/dist/dist/server/utils/prefetchTopWinsQuery.js +1 -0
  234. package/dist/dist/server/utils/prefetchTopWinsQuery.mjs +22 -0
  235. package/dist/dist/utils/getLocaleInfo.js +1 -0
  236. package/dist/dist/utils/getLocaleInfo.mjs +397 -0
  237. package/dist/dist/utils/getQueryClient.js +1 -0
  238. package/dist/dist/utils/getQueryClient.mjs +23 -0
  239. package/dist/dist/utils/isMobile.js +1 -0
  240. package/dist/dist/utils/isMobile.mjs +7 -0
  241. package/dist/dist/utils/parseDecimal.js +1 -0
  242. package/dist/dist/utils/parseDecimal.mjs +8 -0
  243. package/dist/dist/utils/queryKeys.js +1 -0
  244. package/dist/dist/utils/queryKeys.mjs +4 -0
  245. package/dist/handlers.d.ts +1 -1
  246. package/dist/server/utils/prefetchAccountQuery.js +1 -1
  247. package/dist/server/utils/prefetchAccountQuery.mjs +9 -12
  248. package/dist/server/utils/prefetchAvailablePromosQuery.js +1 -1
  249. package/dist/server/utils/prefetchAvailablePromosQuery.mjs +10 -13
  250. package/dist/server/utils/prefetchBetRecordsQuery.js +1 -1
  251. package/dist/server/utils/prefetchBetRecordsQuery.mjs +8 -11
  252. package/dist/server/utils/prefetchCashbacksQuery.js +1 -1
  253. package/dist/server/utils/prefetchCashbacksQuery.mjs +10 -13
  254. package/dist/server/utils/prefetchDepositQuery.js +1 -1
  255. package/dist/server/utils/prefetchDepositQuery.mjs +13 -16
  256. package/dist/server/utils/prefetchDepositRecordsQuery.js +1 -1
  257. package/dist/server/utils/prefetchDepositRecordsQuery.mjs +13 -16
  258. package/dist/server/utils/prefetchGamesQuery.js +1 -1
  259. package/dist/server/utils/prefetchGamesQuery.mjs +9 -12
  260. package/dist/server/utils/prefetchInstapayBankListQuery.js +1 -1
  261. package/dist/server/utils/prefetchInstapayBankListQuery.mjs +8 -11
  262. package/dist/server/utils/prefetchIsMayaSessionValidQuery.js +1 -1
  263. package/dist/server/utils/prefetchIsMayaSessionValidQuery.mjs +12 -15
  264. package/dist/server/utils/prefetchJackpotsQuery.js +1 -1
  265. package/dist/server/utils/prefetchJackpotsQuery.mjs +9 -12
  266. package/dist/server/utils/prefetchMemberVerificationQuery.js +1 -1
  267. package/dist/server/utils/prefetchMemberVerificationQuery.mjs +8 -11
  268. package/dist/server/utils/prefetchPaymentSettingsQuery.js +1 -1
  269. package/dist/server/utils/prefetchPaymentSettingsQuery.mjs +2 -5
  270. package/dist/server/utils/prefetchPlatformQuery.js +1 -1
  271. package/dist/server/utils/prefetchPlatformQuery.mjs +2 -5
  272. package/dist/server/utils/prefetchPromoQuery.js +1 -1
  273. package/dist/server/utils/prefetchPromoQuery.mjs +7 -10
  274. package/dist/server/utils/prefetchPromosQuery.js +1 -1
  275. package/dist/server/utils/prefetchPromosQuery.mjs +7 -10
  276. package/dist/server/utils/prefetchSessionQuery.js +1 -1
  277. package/dist/server/utils/prefetchSessionQuery.mjs +2 -5
  278. package/dist/server/utils/prefetchSiteQuery.js +1 -1
  279. package/dist/server/utils/prefetchSiteQuery.mjs +6 -9
  280. package/dist/server/utils/prefetchTopWinsQuery.js +1 -1
  281. package/dist/server/utils/prefetchTopWinsQuery.mjs +6 -9
  282. package/dist/server/utils/prefetchTournamentsQuery.js +1 -1
  283. package/dist/server/utils/prefetchTournamentsQuery.mjs +2 -5
  284. package/dist/server/utils/prefetchTransactionRecordsQuery.js +1 -1
  285. package/dist/server/utils/prefetchTransactionRecordsQuery.mjs +6 -9
  286. package/dist/server/utils/prefetchWalletQuery.js +1 -1
  287. package/dist/server/utils/prefetchWalletQuery.mjs +11 -14
  288. package/dist/server/utils/prefetchWithdrawalRecordsQuery.js +1 -1
  289. package/dist/server/utils/prefetchWithdrawalRecordsQuery.mjs +2 -5
  290. package/dist/ui/AlertDialog/AlertDialog.js +1 -1
  291. package/dist/ui/AlertDialog/AlertDialog.mjs +15 -21
  292. package/dist/ui/AlertDialog/alertDialog.recipe.js +1 -1
  293. package/dist/ui/AlertDialog/alertDialog.recipe.mjs +2 -5
  294. package/dist/ui/Avatar/Avatar.js +1 -1
  295. package/dist/ui/Avatar/Avatar.mjs +8 -14
  296. package/dist/ui/Avatar/avatar.recipe.js +1 -1
  297. package/dist/ui/Avatar/avatar.recipe.mjs +5 -8
  298. package/dist/ui/Badge/Badge.js +1 -1
  299. package/dist/ui/Badge/Badge.mjs +10 -16
  300. package/dist/ui/Badge/badge.recipe.js +1 -1
  301. package/dist/ui/Badge/badge.recipe.mjs +2 -5
  302. package/dist/ui/Button/Button.js +1 -1
  303. package/dist/ui/Button/Button.mjs +2 -4
  304. package/dist/ui/Checkbox/Checkbox.js +1 -1
  305. package/dist/ui/Checkbox/Checkbox.mjs +12 -18
  306. package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
  307. package/dist/ui/Checkbox/checkbox.recipe.mjs +5 -8
  308. package/dist/ui/Clipboard/Clipboard.js +1 -1
  309. package/dist/ui/Clipboard/Clipboard.mjs +11 -17
  310. package/dist/ui/Clipboard/clipboard.recipe.js +1 -1
  311. package/dist/ui/Clipboard/clipboard.recipe.mjs +2 -5
  312. package/dist/ui/DatePicker/DatePicker.js +1 -1
  313. package/dist/ui/DatePicker/DatePicker.mjs +31 -37
  314. package/dist/ui/DatePicker/datePicker.recipe.js +1 -1
  315. package/dist/ui/DatePicker/datePicker.recipe.mjs +2 -5
  316. package/dist/ui/Dialog/Dialog.js +1 -1
  317. package/dist/ui/Dialog/Dialog.mjs +15 -21
  318. package/dist/ui/Dialog/dialog.recipe.js +1 -1
  319. package/dist/ui/Dialog/dialog.recipe.mjs +2 -5
  320. package/dist/ui/Drawer/Drawer.js +1 -1
  321. package/dist/ui/Drawer/Drawer.mjs +15 -21
  322. package/dist/ui/Drawer/drawer.recipe.js +1 -1
  323. package/dist/ui/Drawer/drawer.recipe.mjs +5 -8
  324. package/dist/ui/Field/Field.js +1 -1
  325. package/dist/ui/Field/Field.mjs +11 -17
  326. package/dist/ui/Field/field.recipe.js +1 -1
  327. package/dist/ui/Field/field.recipe.mjs +2 -5
  328. package/dist/ui/IconButton/IconButton.js +1 -1
  329. package/dist/ui/IconButton/IconButton.mjs +2 -4
  330. package/dist/ui/NumberInput/NumberInput.js +1 -1
  331. package/dist/ui/NumberInput/NumberInput.mjs +17 -23
  332. package/dist/ui/NumberInput/numberInput.recipe.js +1 -1
  333. package/dist/ui/NumberInput/numberInput.recipe.mjs +2 -5
  334. package/dist/ui/PinInput/PinInput.js +1 -1
  335. package/dist/ui/PinInput/PinInput.mjs +10 -16
  336. package/dist/ui/PinInput/pinInput.recipe.js +1 -1
  337. package/dist/ui/PinInput/pinInput.recipe.mjs +2 -5
  338. package/dist/ui/Popover/Popover.js +1 -1
  339. package/dist/ui/Popover/Popover.mjs +15 -21
  340. package/dist/ui/Popover/popover.recipe.js +1 -1
  341. package/dist/ui/Popover/popover.recipe.mjs +5 -8
  342. package/dist/ui/Presence.js +1 -1
  343. package/dist/ui/Presence.mjs +7 -6
  344. package/dist/ui/SegmentGroup/SegmentGroup.js +1 -1
  345. package/dist/ui/SegmentGroup/SegmentGroup.mjs +12 -18
  346. package/dist/ui/SegmentGroup/segmentGroup.recipe.js +1 -1
  347. package/dist/ui/SegmentGroup/segmentGroup.recipe.mjs +4 -7
  348. package/dist/ui/Select/Select.js +1 -1
  349. package/dist/ui/Select/Select.mjs +23 -29
  350. package/dist/ui/Select/select.recipe.js +1 -1
  351. package/dist/ui/Select/select.recipe.mjs +5 -8
  352. package/dist/ui/Table/Table.js +1 -1
  353. package/dist/ui/Table/Table.mjs +10 -16
  354. package/dist/ui/Table/table.recipe.js +1 -1
  355. package/dist/ui/Table/table.recipe.mjs +2 -5
  356. package/dist/ui/Tabs/Tabs.js +1 -1
  357. package/dist/ui/Tabs/Tabs.mjs +10 -16
  358. package/dist/ui/Tabs/tabs.recipe.js +1 -1
  359. package/dist/ui/Tabs/tabs.recipe.mjs +4 -7
  360. package/dist/utils/index.d.ts +0 -2
  361. package/dist/utils.js +1 -1
  362. package/dist/utils.mjs +54 -58
  363. package/package.json +143 -128
  364. package/dist/_virtual/_commonjsHelpers.js +0 -1
  365. package/dist/_virtual/_commonjsHelpers.mjs +0 -8
  366. package/dist/_virtual/browser.js +0 -1
  367. package/dist/_virtual/browser.mjs +0 -5
  368. package/dist/_virtual/browser2.js +0 -1
  369. package/dist/_virtual/browser2.mjs +0 -7
  370. package/dist/_virtual/browser3.js +0 -1
  371. package/dist/_virtual/browser3.mjs +0 -4
  372. package/dist/_virtual/browser4.js +0 -1
  373. package/dist/_virtual/browser4.mjs +0 -4
  374. package/dist/_virtual/index.js +0 -1
  375. package/dist/_virtual/index.mjs +0 -7
  376. package/dist/_virtual/index2.js +0 -1
  377. package/dist/_virtual/index2.mjs +0 -4
  378. package/dist/_virtual/index3.js +0 -1
  379. package/dist/_virtual/index3.mjs +0 -4
  380. package/dist/_virtual/index4.js +0 -1
  381. package/dist/_virtual/index4.mjs +0 -4
  382. package/dist/_virtual/index5.js +0 -1
  383. package/dist/_virtual/index5.mjs +0 -4
  384. package/dist/components/FeatureFlagProvider/FeatureFlagContext.d.ts +0 -6
  385. package/dist/components/FeatureFlagProvider/FeatureFlagContext.js +0 -1
  386. package/dist/components/FeatureFlagProvider/FeatureFlagContext.mjs +0 -13
  387. package/dist/components/FeatureFlagProvider/FeatureFlagProvider.d.ts +0 -6
  388. package/dist/components/FeatureFlagProvider/FeatureFlagProvider.js +0 -1
  389. package/dist/components/FeatureFlagProvider/FeatureFlagProvider.mjs +0 -64
  390. package/dist/components/FeatureFlagProvider/index.d.ts +0 -2
  391. package/dist/components/FeatureFlagProvider/useFeatureFlag.d.ts +0 -8
  392. package/dist/components/FeatureFlagProvider/useFeatureFlag.js +0 -1
  393. package/dist/components/FeatureFlagProvider/useFeatureFlag.mjs +0 -22
  394. package/dist/hooks/useAccountQuery.js +0 -1
  395. package/dist/hooks/useAccountQuery.mjs +0 -41
  396. package/dist/hooks/useAuthenticateMutation.js +0 -1
  397. package/dist/hooks/useAuthenticateMutation.mjs +0 -27
  398. package/dist/hooks/useAvailablePromosQuery.js +0 -1
  399. package/dist/hooks/useAvailablePromosQuery.mjs +0 -41
  400. package/dist/hooks/useBetRecordsQuery.js +0 -1
  401. package/dist/hooks/useBetRecordsQuery.mjs +0 -50
  402. package/dist/hooks/useCashbacksQuery.js +0 -1
  403. package/dist/hooks/useCashbacksQuery.mjs +0 -26
  404. package/dist/hooks/useCreateGCashDepositMutation.js +0 -1
  405. package/dist/hooks/useCreateGameSessionMutation.js +0 -1
  406. package/dist/hooks/useCreateMayaAppDepositMutation.js +0 -1
  407. package/dist/hooks/useCreateMayaAppDepositMutation.mjs +0 -69
  408. package/dist/hooks/useCreateMayaDepositMutation.js +0 -1
  409. package/dist/hooks/useCreateMayaDepositMutation.mjs +0 -69
  410. package/dist/hooks/useCreateOnlineBankDepositMutation.js +0 -1
  411. package/dist/hooks/useCreateQRPHDepositMutation.js +0 -1
  412. package/dist/hooks/useDepositQuery.js +0 -1
  413. package/dist/hooks/useDepositQuery.mjs +0 -42
  414. package/dist/hooks/useDepositRecordsQuery.js +0 -1
  415. package/dist/hooks/useDepositRecordsQuery.mjs +0 -50
  416. package/dist/hooks/useDepositsCountQuery.js +0 -1
  417. package/dist/hooks/useDepositsCountQuery.mjs +0 -41
  418. package/dist/hooks/useEndGameSessionMutation.js +0 -1
  419. package/dist/hooks/useGamesQuery.js +0 -1
  420. package/dist/hooks/useGamesQuery.mjs +0 -42
  421. package/dist/hooks/useInstapayBankListQuery.js +0 -1
  422. package/dist/hooks/useInstapayBankListQuery.mjs +0 -41
  423. package/dist/hooks/useIsMayaSessionValidQuery.js +0 -1
  424. package/dist/hooks/useIsMayaSessionValidQuery.mjs +0 -51
  425. package/dist/hooks/useJackpotsQuery.js +0 -1
  426. package/dist/hooks/useJackpotsQuery.mjs +0 -34
  427. package/dist/hooks/useLocaleInfo.d.ts +0 -1
  428. package/dist/hooks/useLocaleInfo.js +0 -1
  429. package/dist/hooks/useLocaleInfo.mjs +0 -18
  430. package/dist/hooks/useMemberVerificationQuery.js +0 -1
  431. package/dist/hooks/useMemberVerificationQuery.mjs +0 -41
  432. package/dist/hooks/usePaymentSettingsQuery.js +0 -1
  433. package/dist/hooks/usePaymentSettingsQuery.mjs +0 -41
  434. package/dist/hooks/usePlatformQuery.js +0 -1
  435. package/dist/hooks/usePlatformQuery.mjs +0 -24
  436. package/dist/hooks/usePromoQuery.js +0 -1
  437. package/dist/hooks/usePromoQuery.mjs +0 -27
  438. package/dist/hooks/usePromosQuery.js +0 -1
  439. package/dist/hooks/usePromosQuery.mjs +0 -26
  440. package/dist/hooks/useSendVerificationCodeMutation.js +0 -1
  441. package/dist/hooks/useSendVerificationCodeMutation.mjs +0 -27
  442. package/dist/hooks/useSessionQuery.js +0 -1
  443. package/dist/hooks/useSessionQuery.mjs +0 -22
  444. package/dist/hooks/useSignInMutation.js +0 -1
  445. package/dist/hooks/useSignInMutation.mjs +0 -28
  446. package/dist/hooks/useSignOutMutation.js +0 -1
  447. package/dist/hooks/useSignOutMutation.mjs +0 -25
  448. package/dist/hooks/useSignUpMutation.js +0 -1
  449. package/dist/hooks/useSignUpMutation.mjs +0 -28
  450. package/dist/hooks/useSiteQuery.js +0 -1
  451. package/dist/hooks/useSiteQuery.mjs +0 -26
  452. package/dist/hooks/useTopWinsQuery.js +0 -1
  453. package/dist/hooks/useTopWinsQuery.mjs +0 -25
  454. package/dist/hooks/useTournamentsQuery.js +0 -1
  455. package/dist/hooks/useTournamentsQuery.mjs +0 -35
  456. package/dist/hooks/useTransactionRecordsQuery.js +0 -1
  457. package/dist/hooks/useWalletQuery.js +0 -1
  458. package/dist/hooks/useWalletQuery.mjs +0 -41
  459. package/dist/hooks/useWithdrawalRecordsQuery.js +0 -1
  460. package/dist/hooks/useWithdrawalRecordsQuery.mjs +0 -50
  461. package/dist/hooks.d.ts +0 -2
  462. package/dist/hooks.js +0 -1
  463. package/dist/hooks.mjs +0 -88
  464. package/dist/node_modules/.pnpm/@ark-ui_react@5.9.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@ark-ui/react/dist/components/toast/create-toaster.js +0 -1
  465. package/dist/node_modules/.pnpm/@ark-ui_react@5.9.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@ark-ui/react/dist/components/toast/create-toaster.mjs +0 -6
  466. package/dist/node_modules/.pnpm/@opexa_portal-sdk-core@0.0.22/node_modules/@opexa/portal-sdk-core/dist/object-id.js +0 -1
  467. package/dist/node_modules/.pnpm/@opexa_portal-sdk-core@0.0.22/node_modules/@opexa/portal-sdk-core/dist/object-id.mjs +0 -66
  468. package/dist/node_modules/.pnpm/@zag-js_anatomy@1.12.4/node_modules/@zag-js/anatomy/dist/index.js +0 -1
  469. package/dist/node_modules/.pnpm/@zag-js_anatomy@1.12.4/node_modules/@zag-js/anatomy/dist/index.mjs +0 -25
  470. package/dist/node_modules/.pnpm/@zag-js_toast@1.12.4/node_modules/@zag-js/toast/dist/index.js +0 -1
  471. package/dist/node_modules/.pnpm/@zag-js_toast@1.12.4/node_modules/@zag-js/toast/dist/index.mjs +0 -123
  472. package/dist/node_modules/.pnpm/@zag-js_utils@1.12.4/node_modules/@zag-js/utils/dist/index.js +0 -1
  473. package/dist/node_modules/.pnpm/@zag-js_utils@1.12.4/node_modules/@zag-js/utils/dist/index.mjs +0 -21
  474. package/dist/node_modules/.pnpm/base-x@4.0.0/node_modules/base-x/src/index.js +0 -1
  475. package/dist/node_modules/.pnpm/base-x@4.0.0/node_modules/base-x/src/index.mjs +0 -76
  476. package/dist/node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js +0 -1
  477. package/dist/node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.mjs +0 -52
  478. package/dist/node_modules/.pnpm/bs58@5.0.0/node_modules/bs58/index.js +0 -1
  479. package/dist/node_modules/.pnpm/bs58@5.0.0/node_modules/bs58/index.mjs +0 -8
  480. package/dist/node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js +0 -6
  481. package/dist/node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.mjs +0 -953
  482. package/dist/node_modules/.pnpm/crypto-hash@1.3.0/node_modules/crypto-hash/browser.js +0 -1
  483. package/dist/node_modules/.pnpm/crypto-hash@1.3.0/node_modules/crypto-hash/browser.mjs +0 -34
  484. package/dist/node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js +0 -1
  485. package/dist/node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.mjs +0 -30
  486. package/dist/node_modules/.pnpm/randombytes@2.1.0/node_modules/randombytes/browser.js +0 -2
  487. package/dist/node_modules/.pnpm/randombytes@2.1.0/node_modules/randombytes/browser.mjs +0 -32
  488. package/dist/node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js +0 -1
  489. package/dist/node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.mjs +0 -38
  490. package/dist/node_modules/.pnpm/zustand@5.0.5_@types_react@19.0.8_react@19.1.0_use-sync-external-store@1.4.0_react@19.1.0_/node_modules/zustand/esm/react/shallow.js +0 -1
  491. package/dist/node_modules/.pnpm/zustand@5.0.5_@types_react@19.0.8_react@19.1.0_use-sync-external-store@1.4.0_react@19.1.0_/node_modules/zustand/esm/react/shallow.mjs +0 -12
  492. package/dist/node_modules/.pnpm/zustand@5.0.5_@types_react@19.0.8_react@19.1.0_use-sync-external-store@1.4.0_react@19.1.0_/node_modules/zustand/esm/vanilla/shallow.js +0 -1
  493. package/dist/node_modules/.pnpm/zustand@5.0.5_@types_react@19.0.8_react@19.1.0_use-sync-external-store@1.4.0_react@19.1.0_/node_modules/zustand/esm/vanilla/shallow.mjs +0 -30
  494. package/dist/services/authenticate.js +0 -1
  495. package/dist/services/signIn.js +0 -1
  496. package/dist/services.d.ts +0 -2
  497. package/dist/services.js +0 -1
  498. package/dist/services.mjs +0 -10
  499. package/dist/utils/createRecipeContext.js +0 -1
  500. package/dist/utils/createRecipeContext.mjs +0 -49
  501. package/dist/utils/toaster.d.ts +0 -2
  502. package/dist/utils/toaster.js +0 -1
  503. package/dist/utils/toaster.mjs +0 -11
  504. /package/dist/{hooks → client/hooks}/index.d.ts +0 -0
  505. /package/dist/{hooks → client/hooks}/useControllableState.d.ts +0 -0
  506. /package/dist/{hooks → client/hooks}/useControllableState.js +0 -0
  507. /package/dist/{hooks → client/hooks}/useControllableState.mjs +0 -0
  508. /package/dist/{hooks → client/hooks}/useCooldown.d.ts +0 -0
  509. /package/dist/{hooks → client/hooks}/useCooldown.js +0 -0
  510. /package/dist/{hooks → client/hooks}/useCooldown.mjs +0 -0
  511. /package/dist/{hooks → client/hooks}/useDisclosure.d.ts +0 -0
  512. /package/dist/{hooks → client/hooks}/useDisclosure.js +0 -0
  513. /package/dist/{hooks → client/hooks}/useDisclosure.mjs +0 -0
  514. /package/dist/{hooks → client/hooks}/useGlobalStore.d.ts +0 -0
  515. /package/dist/{hooks → client/hooks}/useGlobalStore.js +0 -0
  516. /package/dist/{hooks → client/hooks}/useGlobalStore.mjs +0 -0
  517. /package/dist/{hooks → client/hooks}/useInfiniteQueryHelper.js +0 -0
  518. /package/dist/{hooks → client/hooks}/useInfiniteQueryHelper.mjs +0 -0
  519. /package/dist/{hooks → client/hooks}/useMobileNumberParser.d.ts +0 -0
  520. /package/dist/{hooks → client/hooks}/useMobileNumberParser.js +0 -0
  521. /package/dist/{hooks → client/hooks}/useMobileNumberParser.mjs +0 -0
  522. /package/dist/{hooks → client/hooks}/useOnMMA.d.ts +0 -0
  523. /package/dist/{hooks → client/hooks}/useOnMMA.js +0 -0
  524. /package/dist/{hooks → client/hooks}/useOnMMA.mjs +0 -0
  525. /package/dist/{services → client/services}/authenticate.d.ts +0 -0
  526. /package/dist/{services → client/services}/getSession.js +0 -0
  527. /package/dist/{services → client/services}/getSession.mjs +0 -0
  528. /package/dist/{services → client/services}/index.d.ts +0 -0
  529. /package/dist/{services → client/services}/signIn.d.ts +0 -0
  530. /package/dist/{services → client/services}/signOut.d.ts +0 -0
  531. /package/dist/{services → client/services}/signOut.js +0 -0
  532. /package/dist/{services → client/services}/signOut.mjs +0 -0
  533. /package/dist/{utils → client/utils}/createRecipeContext.d.ts +0 -0
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../../../../_virtual/_commonjsHelpers.js"),o=require("../../../../../_virtual/browser3.js");var u;function c(){if(u)return o.__exports;u=1;const i=(()=>{if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof a.commonjsGlobal<"u")return a.commonjsGlobal})(),l=s=>{const e=new DataView(s);let t="";for(let r=0;r<e.byteLength;r+=4)t+=e.getUint32(r).toString(16).padStart(8,"0");return t},n=s=>async(e,t)=>{typeof e=="string"&&(e=new i.TextEncoder().encode(e)),t={outputFormat:"hex",...t};const r=await i.crypto.subtle.digest(s,e);return t.outputFormat==="hex"?l(r):r};return o.__exports.sha1=n("SHA-1"),o.__exports.sha256=n("SHA-256"),o.__exports.sha384=n("SHA-384"),o.__exports.sha512=n("SHA-512"),o.__exports}exports.__require=c;
@@ -1,34 +0,0 @@
1
- import { commonjsGlobal as a } from "../../../../../_virtual/_commonjsHelpers.mjs";
2
- import { __exports as o } from "../../../../../_virtual/browser3.mjs";
3
- var u;
4
- function l() {
5
- if (u) return o;
6
- u = 1;
7
- const s = (() => {
8
- if (typeof globalThis < "u")
9
- return globalThis;
10
- if (typeof self < "u")
11
- return self;
12
- if (typeof window < "u")
13
- return window;
14
- if (typeof a < "u")
15
- return a;
16
- })(), f = (i) => {
17
- const e = new DataView(i);
18
- let t = "";
19
- for (let r = 0; r < e.byteLength; r += 4)
20
- t += e.getUint32(r).toString(16).padStart(8, "0");
21
- return t;
22
- }, n = (i) => async (e, t) => {
23
- typeof e == "string" && (e = new s.TextEncoder().encode(e)), t = {
24
- outputFormat: "hex",
25
- ...t
26
- };
27
- const r = await s.crypto.subtle.digest(i, e);
28
- return t.outputFormat === "hex" ? f(r) : r;
29
- };
30
- return o.sha1 = n("SHA-1"), o.sha256 = n("SHA-256"), o.sha384 = n("SHA-384"), o.sha512 = n("SHA-512"), o;
31
- }
32
- export {
33
- l as __require
34
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../../../../../_virtual/index5.js");/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var d;function q(){return d||(d=1,f.__exports.read=function(s,i,n,w,e){var a,r,M=e*8-w-1,p=(1<<M)-1,_=p>>1,t=-7,o=n?e-1:0,x=n?-1:1,h=s[i+o];for(o+=x,a=h&(1<<-t)-1,h>>=-t,t+=M;t>0;a=a*256+s[i+o],o+=x,t-=8);for(r=a&(1<<-t)-1,a>>=-t,t+=w;t>0;r=r*256+s[i+o],o+=x,t-=8);if(a===0)a=1-_;else{if(a===p)return r?NaN:(h?-1:1)*(1/0);r=r+Math.pow(2,w),a=a-_}return(h?-1:1)*r*Math.pow(2,a-w)},f.__exports.write=function(s,i,n,w,e,a){var r,M,p,_=a*8-e-1,t=(1<<_)-1,o=t>>1,x=e===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=w?0:a-1,c=w?1:-1,N=i<0||i===0&&1/i<0?1:0;for(i=Math.abs(i),isNaN(i)||i===1/0?(M=isNaN(i)?1:0,r=t):(r=Math.floor(Math.log(i)/Math.LN2),i*(p=Math.pow(2,-r))<1&&(r--,p*=2),r+o>=1?i+=x/p:i+=x*Math.pow(2,1-o),i*p>=2&&(r++,p/=2),r+o>=t?(M=0,r=t):r+o>=1?(M=(i*p-1)*Math.pow(2,e),r=r+o):(M=i*Math.pow(2,o-1)*Math.pow(2,e),r=0));e>=8;s[n+h]=M&255,h+=c,M/=256,e-=8);for(r=r<<e|M,_+=e;_>0;s[n+h]=r&255,h+=c,r/=256,_-=8);s[n+h-c]|=N*128}),f.__exports}exports.__require=q;
@@ -1,30 +0,0 @@
1
- import { __exports as n } from "../../../../../_virtual/index5.mjs";
2
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
3
- var d;
4
- function q() {
5
- return d ? n : (d = 1, n.read = function(s, a, N, w, M) {
6
- var t, r, h = M * 8 - w - 1, e = (1 << h) - 1, f = e >> 1, i = -7, o = N ? M - 1 : 0, x = N ? -1 : 1, p = s[a + o];
7
- for (o += x, t = p & (1 << -i) - 1, p >>= -i, i += h; i > 0; t = t * 256 + s[a + o], o += x, i -= 8)
8
- ;
9
- for (r = t & (1 << -i) - 1, t >>= -i, i += w; i > 0; r = r * 256 + s[a + o], o += x, i -= 8)
10
- ;
11
- if (t === 0)
12
- t = 1 - f;
13
- else {
14
- if (t === e)
15
- return r ? NaN : (p ? -1 : 1) * (1 / 0);
16
- r = r + Math.pow(2, w), t = t - f;
17
- }
18
- return (p ? -1 : 1) * r * Math.pow(2, t - w);
19
- }, n.write = function(s, a, N, w, M, t) {
20
- var r, h, e, f = t * 8 - M - 1, i = (1 << f) - 1, o = i >> 1, x = M === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, p = w ? 0 : t - 1, c = w ? 1 : -1, I = a < 0 || a === 0 && 1 / a < 0 ? 1 : 0;
21
- for (a = Math.abs(a), isNaN(a) || a === 1 / 0 ? (h = isNaN(a) ? 1 : 0, r = i) : (r = Math.floor(Math.log(a) / Math.LN2), a * (e = Math.pow(2, -r)) < 1 && (r--, e *= 2), r + o >= 1 ? a += x / e : a += x * Math.pow(2, 1 - o), a * e >= 2 && (r++, e /= 2), r + o >= i ? (h = 0, r = i) : r + o >= 1 ? (h = (a * e - 1) * Math.pow(2, M), r = r + o) : (h = a * Math.pow(2, o - 1) * Math.pow(2, M), r = 0)); M >= 8; s[N + p] = h & 255, p += c, h /= 256, M -= 8)
22
- ;
23
- for (r = r << M | h, f += M; f > 0; s[N + p] = r & 255, p += c, r /= 256, f -= 8)
24
- ;
25
- s[N + p - c] |= I * 128;
26
- }, n);
27
- }
28
- export {
29
- q as __require
30
- };
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../../../../_virtual/_commonjsHelpers.js"),t=require("../../../../../_virtual/browser4.js"),_=require("../../../safe-buffer@5.2.1/node_modules/safe-buffer/index.js");var l;function d(){if(l)return t.__module.exports;l=1;var s=65536,a=4294967295;function m(){throw new Error(`Secure random number generation is not supported by this browser.
2
- Use Chrome, Firefox or Internet Explorer 11`)}var f=_.__require().Buffer,e=i.commonjsGlobal.crypto||i.commonjsGlobal.msCrypto;e&&e.getRandomValues?t.__module.exports=c:t.__module.exports=m;function c(r,u){if(r>a)throw new RangeError("requested too many random bytes");var o=f.allocUnsafe(r);if(r>0)if(r>s)for(var n=0;n<r;n+=s)e.getRandomValues(o.slice(n,n+s));else e.getRandomValues(o);return typeof u=="function"?process.nextTick(function(){u(null,o)}):o}return t.__module.exports}exports.__require=d;
@@ -1,32 +0,0 @@
1
- import { commonjsGlobal as f } from "../../../../../_virtual/_commonjsHelpers.mjs";
2
- import { __module as n } from "../../../../../_virtual/browser4.mjs";
3
- import { __require as c } from "../../../safe-buffer@5.2.1/node_modules/safe-buffer/index.mjs";
4
- var a;
5
- function x() {
6
- if (a) return n.exports;
7
- a = 1;
8
- var s = 65536, i = 4294967295;
9
- function m() {
10
- throw new Error(`Secure random number generation is not supported by this browser.
11
- Use Chrome, Firefox or Internet Explorer 11`);
12
- }
13
- var p = c().Buffer, e = f.crypto || f.msCrypto;
14
- e && e.getRandomValues ? n.exports = l : n.exports = m;
15
- function l(r, u) {
16
- if (r > i) throw new RangeError("requested too many random bytes");
17
- var o = p.allocUnsafe(r);
18
- if (r > 0)
19
- if (r > s)
20
- for (var t = 0; t < r; t += s)
21
- e.getRandomValues(o.slice(t, t + s));
22
- else
23
- e.getRandomValues(o);
24
- return typeof u == "function" ? process.nextTick(function() {
25
- u(null, o);
26
- }) : o;
27
- }
28
- return n.exports;
29
- }
30
- export {
31
- x as __require
32
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../../../../_virtual/index2.js"),p=require("../../../buffer@6.0.3/node_modules/buffer/index.js");/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var m;function b(){return m||(m=1,function(c,l){var f=p.__require(),r=f.Buffer;function a(e,u){for(var n in e)u[n]=e[n]}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?c.exports=f:(a(f,l),l.Buffer=o);function o(e,u,n){return r(e,u,n)}o.prototype=Object.create(r.prototype),a(r,o),o.from=function(e,u,n){if(typeof e=="number")throw new TypeError("Argument must not be a number");return r(e,u,n)},o.alloc=function(e,u,n){if(typeof e!="number")throw new TypeError("Argument must be a number");var t=r(e);return u!==void 0?typeof n=="string"?t.fill(u,n):t.fill(u):t.fill(0),t},o.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return r(e)},o.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return f.SlowBuffer(e)}}(i.__module,i.__module.exports)),i.__module.exports}exports.__require=b;
@@ -1,38 +0,0 @@
1
- import { __module as a } from "../../../../../_virtual/index2.mjs";
2
- import { __require as s } from "../../../buffer@6.0.3/node_modules/buffer/index.mjs";
3
- /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
4
- var l;
5
- function w() {
6
- return l ? a.exports : (l = 1, function(p, i) {
7
- var n = s(), e = n.Buffer;
8
- function m(r, f) {
9
- for (var u in r)
10
- f[u] = r[u];
11
- }
12
- e.from && e.alloc && e.allocUnsafe && e.allocUnsafeSlow ? p.exports = n : (m(n, i), i.Buffer = o);
13
- function o(r, f, u) {
14
- return e(r, f, u);
15
- }
16
- o.prototype = Object.create(e.prototype), m(e, o), o.from = function(r, f, u) {
17
- if (typeof r == "number")
18
- throw new TypeError("Argument must not be a number");
19
- return e(r, f, u);
20
- }, o.alloc = function(r, f, u) {
21
- if (typeof r != "number")
22
- throw new TypeError("Argument must be a number");
23
- var t = e(r);
24
- return f !== void 0 ? typeof u == "string" ? t.fill(f, u) : t.fill(f) : t.fill(0), t;
25
- }, o.allocUnsafe = function(r) {
26
- if (typeof r != "number")
27
- throw new TypeError("Argument must be a number");
28
- return e(r);
29
- }, o.allocUnsafeSlow = function(r) {
30
- if (typeof r != "number")
31
- throw new TypeError("Argument must be a number");
32
- return n.SlowBuffer(r);
33
- };
34
- }(a, a.exports), a.exports);
35
- }
36
- export {
37
- w as __require
38
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),u=require("../vanilla/shallow.js");function c(t){const e=o.useRef(void 0);return n=>{const r=t(n);return u.shallow(e.current,r)?e.current:e.current=r}}exports.useShallow=c;
@@ -1,12 +0,0 @@
1
- import n from "react";
2
- import { shallow as u } from "../vanilla/shallow.mjs";
3
- function l(e) {
4
- const r = n.useRef(void 0);
5
- return (o) => {
6
- const t = e(o);
7
- return u(r.current, t) ? r.current : r.current = t;
8
- };
9
- }
10
- export {
11
- l as useShallow
12
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=t=>Symbol.iterator in t,c=t=>"entries"in t,f=(t,e)=>{const o=t instanceof Map?t:new Map(t.entries()),i=e instanceof Map?e:new Map(e.entries());if(o.size!==i.size)return!1;for(const[r,n]of o)if(!Object.is(n,i.get(r)))return!1;return!0},b=(t,e)=>{const o=t[Symbol.iterator](),i=e[Symbol.iterator]();let r=o.next(),n=i.next();for(;!r.done&&!n.done;){if(!Object.is(r.value,n.value))return!1;r=o.next(),n=i.next()}return!!r.done&&!!n.done};function p(t,e){return Object.is(t,e)?!0:typeof t!="object"||t===null||typeof e!="object"||e===null||Object.getPrototypeOf(t)!==Object.getPrototypeOf(e)?!1:s(t)&&s(e)?c(t)&&c(e)?f(t,e):b(t,e):f({entries:()=>Object.entries(t)},{entries:()=>Object.entries(e)})}exports.shallow=p;
@@ -1,30 +0,0 @@
1
- const s = (t) => Symbol.iterator in t, c = (t) => (
2
- // HACK: avoid checking entries type
3
- "entries" in t
4
- ), f = (t, e) => {
5
- const o = t instanceof Map ? t : new Map(t.entries()), i = e instanceof Map ? e : new Map(e.entries());
6
- if (o.size !== i.size)
7
- return !1;
8
- for (const [r, n] of o)
9
- if (!Object.is(n, i.get(r)))
10
- return !1;
11
- return !0;
12
- }, b = (t, e) => {
13
- const o = t[Symbol.iterator](), i = e[Symbol.iterator]();
14
- let r = o.next(), n = i.next();
15
- for (; !r.done && !n.done; ) {
16
- if (!Object.is(r.value, n.value))
17
- return !1;
18
- r = o.next(), n = i.next();
19
- }
20
- return !!r.done && !!n.done;
21
- };
22
- function p(t, e) {
23
- return Object.is(t, e) ? !0 : typeof t != "object" || t === null || typeof e != "object" || e === null || Object.getPrototypeOf(t) !== Object.getPrototypeOf(e) ? !1 : s(t) && s(e) ? c(t) && c(e) ? f(t, e) : b(t, e) : f(
24
- { entries: () => Object.entries(t) },
25
- { entries: () => Object.entries(e) }
26
- );
27
- }
28
- export {
29
- p as shallow
30
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../constants/index.js");async function o(e){if(!(await(await fetch("/api/authenticate",{body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",...n.BYPASS_RECAPTCHA&&{"Test-Pass":""}}})).json()).ok){const t=new Error;throw t.name="SignInError",t.message="Failed to sign in",t}}exports.authenticate=o;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../constants/index.js");async function o(s){const e=await(await fetch("/api/sessions",{body:JSON.stringify(s),method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",...t.BYPASS_RECAPTCHA&&{"Test-Pass":""}}})).json();if(!e.ok){const n=new Error;throw n.name="SignInError",n.message="Failed to sign in",n}return e.data??null}exports.signIn=o;
@@ -1,2 +0,0 @@
1
- export * from './services/index'
2
- export {}
package/dist/services.js DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./services/authenticate.js"),t=require("./services/getSession.js"),n=require("./services/signIn.js"),i=require("./services/signOut.js");exports.authenticate=e.authenticate;exports.getSession=t.getSession;exports.signIn=n.signIn;exports.signOut=i.signOut;
package/dist/services.mjs DELETED
@@ -1,10 +0,0 @@
1
- import { authenticate as e } from "./services/authenticate.mjs";
2
- import { getSession as n } from "./services/getSession.mjs";
3
- import { signIn as i } from "./services/signIn.mjs";
4
- import { signOut as p } from "./services/signOut.mjs";
5
- export {
6
- e as authenticate,
7
- n as getSession,
8
- i as signIn,
9
- p as signOut
10
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("react/jsx-runtime"),v=require("react"),f=require("./createSplitProps.js");function g(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const m=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(n,a,m.get?m:{enumerable:!0,get:()=>e[a]})}}return n.default=e,Object.freeze(n)}const x=g(v);function j(e){const n=x.createContext(null);function a(){return x.useContext(n)}function m(t){return o=>{const[l,r]=f.createSplitProps(e.variantKeys)(o),s=e(l);return p.jsx(n.Provider,{value:s,children:p.jsx(t,{...r})})}}function P(t,d){const o=l=>{const[r,s]=f.createSplitProps(e.variantKeys)(l),c=e(r),i=c[d],u="className"in s&&typeof s.className=="string"?s.className:void 0,N=i?i({...r,className:u}):u;return p.jsx(n.Provider,{value:c,children:p.jsx(t,{...s,className:N})})};return o.displayName=t.displayName||t.name,o}function S(t,d){const o=l=>{const r=a(),[s,c]=f.createSplitProps(e.variantKeys)(l),y=d,i=r?r[y]:e(s)[y],u="className"in c&&typeof c.className=="string"?c.className:void 0,N=i?i({...s,className:u}):u;return p.jsx(t,{...c,className:N})};return o.displayName=t.displayName||t.name,o}return{withRootProvider:m,withProvider:P,withContext:S}}exports.createRecipeContext=j;
@@ -1,49 +0,0 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import * as y from "react";
3
- import { createSplitProps as p } from "./createSplitProps.mjs";
4
- function h(a) {
5
- const u = y.createContext(null);
6
- function x() {
7
- return y.useContext(u);
8
- }
9
- function f(t) {
10
- return (s) => {
11
- const [c, o] = p(a.variantKeys)(
12
- s
13
- ), e = a(c);
14
- return /* @__PURE__ */ i(u.Provider, { value: e, children: /* @__PURE__ */ i(t, { ...o }) });
15
- };
16
- }
17
- function v(t, m) {
18
- const s = (c) => {
19
- const [o, e] = p(a.variantKeys)(
20
- c
21
- ), n = a(o), r = n[m], l = "className" in e && typeof e.className == "string" ? e.className : void 0, d = r ? r({
22
- ...o,
23
- className: l
24
- }) : l;
25
- return /* @__PURE__ */ i(u.Provider, { value: n, children: /* @__PURE__ */ i(t, { ...e, className: d }) });
26
- };
27
- return s.displayName = t.displayName || t.name, s;
28
- }
29
- function P(t, m) {
30
- const s = (c) => {
31
- const o = x(), [e, n] = p(a.variantKeys)(
32
- c
33
- ), N = m, r = o ? o[N] : a(e)[N], l = "className" in n && typeof n.className == "string" ? n.className : void 0, d = r ? r({
34
- ...e,
35
- className: l
36
- }) : l;
37
- return /* @__PURE__ */ i(t, { ...n, className: d });
38
- };
39
- return s.displayName = t.displayName || t.name, s;
40
- }
41
- return {
42
- withRootProvider: f,
43
- withProvider: v,
44
- withContext: P
45
- };
46
- }
47
- export {
48
- h as createRecipeContext
49
- };
@@ -1,2 +0,0 @@
1
- import { CreateToasterReturn } from '@ark-ui/react/toast';
2
- export declare const toaster: CreateToasterReturn;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../node_modules/.pnpm/@ark-ui_react@5.9.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@ark-ui/react/dist/components/toast/create-toaster.js"),t=e.createToaster({placement:"top",duration:5e3,max:5,overlap:!0,gap:8});exports.toaster=t;
@@ -1,11 +0,0 @@
1
- import { createToaster as t } from "../node_modules/.pnpm/@ark-ui_react@5.9.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@ark-ui/react/dist/components/toast/create-toaster.mjs";
2
- const o = t({
3
- placement: "top",
4
- duration: 5e3,
5
- max: 5,
6
- overlap: !0,
7
- gap: 8
8
- });
9
- export {
10
- o as toaster
11
- };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes