@opexa/portal-components 0.0.932 → 0.0.933

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 (337) hide show
  1. package/dist/components/DepositWithdrawal/Deposit/AurixPayPayMayaDeposit/AurixPayGrabPayDeposit.js +2 -21
  2. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.d.ts +2 -2
  3. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.d.ts +1 -1
  4. package/dist/components/ForgotPassword/Crazywin/ForgotPassword.module.css +42 -42
  5. package/dist/components/Jackpots/Jackpots.module.css +288 -288
  6. package/dist/components/KYC/KYCDefault/KYCVerificationStatus.lazy.js +2 -2
  7. package/dist/components/KYC/KYCNonPagCor/KYCVerificationStatus.lazy.js +2 -2
  8. package/dist/components/PortalProvider/SessionWatcher.js +2 -0
  9. package/dist/components/SingleSignOn/SingleSignOn.d.ts +1 -1
  10. package/dist/components/SingleSignOn/SingleSignOn.js +15 -7
  11. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  12. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  13. package/dist/images/phone-icon.svg +10 -10
  14. package/dist/services/queries.js +3369 -3369
  15. package/dist/styles/theme.css +776 -776
  16. package/dist/ui/QrCode/QrCode.d.ts +25 -25
  17. package/dist/ui/QrCode/qrCode.recipe.d.ts +5 -5
  18. package/package.json +179 -179
  19. package/dist/assets/providers/alize.png +0 -0
  20. package/dist/assets/providers/bigtime-gaming.png +0 -0
  21. package/dist/assets/providers/bng.png +0 -0
  22. package/dist/assets/providers/boongo.png +0 -0
  23. package/dist/assets/providers/btg.png +0 -0
  24. package/dist/assets/providers/cq9.png +0 -0
  25. package/dist/assets/providers/darwin.png +0 -0
  26. package/dist/assets/providers/digitain.png +0 -0
  27. package/dist/assets/providers/evolution.png +0 -0
  28. package/dist/assets/providers/fantasma-games.png +0 -0
  29. package/dist/assets/providers/fc.png +0 -0
  30. package/dist/assets/providers/fp.png +0 -0
  31. package/dist/assets/providers/habanero.png +0 -0
  32. package/dist/assets/providers/hacksaw.png +0 -0
  33. package/dist/assets/providers/jdb.png +0 -0
  34. package/dist/assets/providers/jili.png +0 -0
  35. package/dist/assets/providers/leap.png +0 -0
  36. package/dist/assets/providers/live-22-metaverse.png +0 -0
  37. package/dist/assets/providers/netent.png +0 -0
  38. package/dist/assets/providers/no-limit.png +0 -0
  39. package/dist/assets/providers/pg.png +0 -0
  40. package/dist/assets/providers/pgsoft.png +0 -0
  41. package/dist/assets/providers/pragmatic-play.png +0 -0
  42. package/dist/assets/providers/realtime-gaming.png +0 -0
  43. package/dist/assets/providers/redtiger.png +0 -0
  44. package/dist/assets/providers/rtg.png +0 -0
  45. package/dist/assets/providers/sagaming.png +0 -0
  46. package/dist/client/hooks/useAiOGCashDepositMutation.d.ts +0 -4
  47. package/dist/client/hooks/useAiOGCashDepositMutation.js +0 -90
  48. package/dist/client/hooks/useAiOGrabPayDepositMutation.d.ts +0 -4
  49. package/dist/client/hooks/useAiOGrabPayDepositMutation.js +0 -80
  50. package/dist/client/hooks/useAiOPalawanPayDepositMutation.d.ts +0 -4
  51. package/dist/client/hooks/useAiOPalawanPayDepositMutation.js +0 -80
  52. package/dist/client/hooks/useAiOPayMayaDepositMutation.d.ts +0 -4
  53. package/dist/client/hooks/useAiOPayMayaDepositMutation.js +0 -80
  54. package/dist/components/DepositWithdrawal/AiOPaymentMethods.d.ts +0 -11
  55. package/dist/components/DepositWithdrawal/AiOPaymentMethods.js +0 -55
  56. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositAlert.d.ts +0 -1
  57. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositAlert.js +0 -99
  58. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositDetails.d.ts +0 -1
  59. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositDetails.js +0 -17
  60. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.d.ts +0 -1
  61. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +0 -116
  62. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHQRCode.d.ts +0 -3
  63. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHQRCode.js +0 -69
  64. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDeposit.d.ts +0 -1
  65. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDeposit.js +0 -10
  66. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositAlert.d.ts +0 -1
  67. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositAlert.js +0 -99
  68. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositContext.d.ts +0 -25
  69. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositContext.js +0 -2
  70. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositDetails.d.ts +0 -1
  71. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositDetails.js +0 -17
  72. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositForm.d.ts +0 -1
  73. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHDepositForm.js +0 -116
  74. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHQRCode.d.ts +0 -3
  75. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/QRPHQRCode.js +0 -69
  76. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/useQRPHDeposit.d.ts +0 -13
  77. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__legacy/useQRPHDeposit.js +0 -85
  78. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Confirmed.d.ts +0 -1
  79. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Confirmed.js +0 -11
  80. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Failed.d.ts +0 -1
  81. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Failed.js +0 -11
  82. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Form.d.ts +0 -1
  83. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/Form.js +0 -126
  84. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/GeneratingQrCode.d.ts +0 -1
  85. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/GeneratingQrCode.js +0 -10
  86. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QRPHDeposit.d.ts +0 -1
  87. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QRPHDeposit.js +0 -12
  88. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QRPHDepositContext.d.ts +0 -17
  89. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QRPHDepositContext.js +0 -2
  90. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QrCodeGenerated.d.ts +0 -1
  91. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/QrCodeGenerated.js +0 -41
  92. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/useQRPHDeposit.d.ts +0 -13
  93. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit__next/useQRPHDeposit.js +0 -91
  94. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOGCashDeposit/AiOGCashDeposit.d.ts +0 -1
  95. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOGCashDeposit/AiOGCashDeposit.js +0 -173
  96. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOGrabPayDeposit/AiOGrabPayDeposit.d.ts +0 -1
  97. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOGrabPayDeposit/AiOGrabPayDeposit.js +0 -171
  98. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOPalawanPayDeposit/AiOPalawanPayDeposit.d.ts +0 -1
  99. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOPalawanPayDeposit/AiOPalawanPayDeposit.js +0 -171
  100. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOPayMayaDeposit/AiOPayMayaDeposit.d.ts +0 -1
  101. package/dist/components/DepositWithdrawal/Deposit__legacy/AiOPayMayaDeposit/AiOPayMayaDeposit.js +0 -171
  102. package/dist/components/DepositWithdrawal/Deposit__legacy/AvailablePromos.d.ts +0 -8
  103. package/dist/components/DepositWithdrawal/Deposit__legacy/AvailablePromos.js +0 -33
  104. package/dist/components/DepositWithdrawal/Deposit__legacy/Deposit.d.ts +0 -1
  105. package/dist/components/DepositWithdrawal/Deposit__legacy/Deposit.js +0 -120
  106. package/dist/components/DepositWithdrawal/Deposit__legacy/GCashDeposit/GCashDeposit.d.ts +0 -1
  107. package/dist/components/DepositWithdrawal/Deposit__legacy/GCashDeposit/GCashDeposit.js +0 -163
  108. package/dist/components/DepositWithdrawal/Deposit__legacy/GCashWebpayDeposit/GCashWebpayDeposit.d.ts +0 -1
  109. package/dist/components/DepositWithdrawal/Deposit__legacy/GCashWebpayDeposit/GCashWebpayDeposit.js +0 -165
  110. package/dist/components/DepositWithdrawal/Deposit__legacy/LibanganDeposit/LibanganDeposit.d.ts +0 -1
  111. package/dist/components/DepositWithdrawal/Deposit__legacy/LibanganDeposit/LibanganDeposit.js +0 -186
  112. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaAppDeposit/MayaAppDeposit.d.ts +0 -1
  113. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaAppDeposit/MayaAppDeposit.js +0 -157
  114. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaDeposit/MayaDeposit.d.ts +0 -1
  115. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaDeposit/MayaDeposit.js +0 -163
  116. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaWebpayDeposit/MayaWebpayDeposit.d.ts +0 -1
  117. package/dist/components/DepositWithdrawal/Deposit__legacy/MayaWebpayDeposit/MayaWebpayDeposit.js +0 -166
  118. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDeposit.d.ts +0 -1
  119. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDeposit.js +0 -10
  120. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositAlert.d.ts +0 -1
  121. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositAlert.js +0 -99
  122. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositContext.d.ts +0 -25
  123. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositContext.js +0 -2
  124. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositDetails.d.ts +0 -1
  125. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositDetails.js +0 -19
  126. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositForm.d.ts +0 -1
  127. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/OnlineBankDepositForm.js +0 -115
  128. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/useOnlineBankDeposit.d.ts +0 -13
  129. package/dist/components/DepositWithdrawal/Deposit__legacy/OnlineBankDeposit/useOnlineBankDeposit.js +0 -81
  130. package/dist/components/DepositWithdrawal/Deposit__legacy/PisoPayDeposit/PisoPayDeposit.d.ts +0 -1
  131. package/dist/components/DepositWithdrawal/Deposit__legacy/PisoPayDeposit/PisoPayDeposit.js +0 -180
  132. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDeposit.d.ts +0 -1
  133. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDeposit.js +0 -10
  134. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositAlert.d.ts +0 -1
  135. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositAlert.js +0 -99
  136. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositContext.d.ts +0 -25
  137. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositContext.js +0 -2
  138. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositDetails.d.ts +0 -1
  139. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositDetails.js +0 -17
  140. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositForm.d.ts +0 -1
  141. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHDepositForm.js +0 -116
  142. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHQRCode.d.ts +0 -3
  143. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/QRPHQRCode.js +0 -69
  144. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/useQRPHDeposit.d.ts +0 -13
  145. package/dist/components/DepositWithdrawal/Deposit__legacy/QRPHDeposit/useQRPHDeposit.js +0 -85
  146. package/dist/components/DigitainLauncher/Loading.d.ts +0 -1
  147. package/dist/components/DigitainLauncher/Loading.js +0 -5
  148. package/dist/components/Disclaimer/ResponsibleGaming.d.ts +0 -10
  149. package/dist/components/Disclaimer/ResponsibleGaming.js +0 -13
  150. package/dist/components/Disclaimer/TermsOfUse.d.ts +0 -11
  151. package/dist/components/Disclaimer/TermsOfUse.js +0 -13
  152. package/dist/components/FeatureFlag/FeatureFlag.d.ts +0 -1
  153. package/dist/components/FeatureFlag/FeatureFlag.js +0 -29
  154. package/dist/components/FeatureFlag/index.d.ts +0 -1
  155. package/dist/components/FeatureFlag/index.js +0 -1
  156. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +0 -184
  157. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +0 -184
  158. package/dist/components/KYC/AutoOpen.d.ts +0 -1
  159. package/dist/components/KYC/AutoOpen.js +0 -40
  160. package/dist/components/KYC/BasicInformation.d.ts +0 -1
  161. package/dist/components/KYC/BasicInformation.js +0 -101
  162. package/dist/components/KYC/CaptureIdDocument.d.ts +0 -1
  163. package/dist/components/KYC/CaptureIdDocument.js +0 -219
  164. package/dist/components/KYC/CaptureSelfie.d.ts +0 -1
  165. package/dist/components/KYC/CaptureSelfie.js +0 -285
  166. package/dist/components/KYC/DisplayImage.d.ts +0 -5
  167. package/dist/components/KYC/DisplayImage.js +0 -8
  168. package/dist/components/KYC/FileUpload.d.ts +0 -10
  169. package/dist/components/KYC/FileUpload.js +0 -72
  170. package/dist/components/KYC/IdentityVerification.d.ts +0 -1
  171. package/dist/components/KYC/IdentityVerification.js +0 -120
  172. package/dist/components/KYC/Indicator.d.ts +0 -1
  173. package/dist/components/KYC/Indicator.js +0 -8
  174. package/dist/components/KYC/KYC.lazy.d.ts +0 -6
  175. package/dist/components/KYC/KYC.lazy.js +0 -45
  176. package/dist/components/KYC/KYCContext.d.ts +0 -6
  177. package/dist/components/KYC/KYCContext.js +0 -2
  178. package/dist/components/KYC/KYCDefault/BasicInformation.d.ts +0 -1
  179. package/dist/components/KYC/KYCDefault/BasicInformation.js +0 -101
  180. package/dist/components/KYC/KYCVerificationStatus.d.ts +0 -1
  181. package/dist/components/KYC/KYCVerificationStatus.js +0 -10
  182. package/dist/components/KYC/KYCVerificationStatus.lazy.d.ts +0 -1
  183. package/dist/components/KYC/KYCVerificationStatus.lazy.js +0 -39
  184. package/dist/components/KYC/NoCameraError.d.ts +0 -7
  185. package/dist/components/KYC/NoCameraError.js +0 -6
  186. package/dist/components/KYC/PersonOverlayDesktop.d.ts +0 -7
  187. package/dist/components/KYC/PersonOverlayDesktop.js +0 -9
  188. package/dist/components/KYC/PersonalInformation.d.ts +0 -1
  189. package/dist/components/KYC/PersonalInformation.js +0 -122
  190. package/dist/components/KYC/backup/Header.d.ts +0 -1
  191. package/dist/components/KYC/backup/Header.js +0 -8
  192. package/dist/components/KYC/backup/Indicator.d.ts +0 -1
  193. package/dist/components/KYC/backup/Indicator.js +0 -9
  194. package/dist/components/KYC/backup/KYC.d.ts +0 -1
  195. package/dist/components/KYC/backup/KYC.js +0 -14
  196. package/dist/components/KYC/backup/KYC.lazy.d.ts +0 -1
  197. package/dist/components/KYC/backup/KYC.lazy.js +0 -26
  198. package/dist/components/KYC/backup/KYCContext.d.ts +0 -6
  199. package/dist/components/KYC/backup/KYCContext.js +0 -2
  200. package/dist/components/KYC/backup/Step1.d.ts +0 -1
  201. package/dist/components/KYC/backup/Step1.js +0 -13
  202. package/dist/components/KYC/backup/Step2.d.ts +0 -1
  203. package/dist/components/KYC/backup/Step2.js +0 -13
  204. package/dist/components/KYC/backup/Step3.d.ts +0 -1
  205. package/dist/components/KYC/backup/Step3.js +0 -13
  206. package/dist/components/KYC/backup/Step4.d.ts +0 -1
  207. package/dist/components/KYC/backup/Step4.js +0 -7
  208. package/dist/components/KYC/backup/useKYC.d.ts +0 -10
  209. package/dist/components/KYC/backup/useKYC.js +0 -8
  210. package/dist/components/KYC/loadModels.d.ts +0 -1
  211. package/dist/components/KYC/loadModels.js +0 -9
  212. package/dist/components/KYC/useKYC.d.ts +0 -25
  213. package/dist/components/KYC/useKYC.js +0 -38
  214. package/dist/components/KYC/utils.d.ts +0 -9
  215. package/dist/components/KYC/utils.js +0 -79
  216. package/dist/components/KYCNotRequired/KYCNotRequired.d.ts +0 -0
  217. package/dist/components/KYCNotRequired/KYCNotRequired.js +0 -1
  218. package/dist/components/Messages/Message.d.ts +0 -1
  219. package/dist/components/Messages/Message.js +0 -35
  220. package/dist/components/Messages/MessageContext.d.ts +0 -6
  221. package/dist/components/Messages/MessageContext.js +0 -2
  222. package/dist/components/Messages/MessagePopup.d.ts +0 -1
  223. package/dist/components/Messages/MessagePopup.js +0 -20
  224. package/dist/components/Messages/MessageTrigger.d.ts +0 -8
  225. package/dist/components/Messages/MessageTrigger.js +0 -19
  226. package/dist/components/PortalProvider/CXDTokenObserver.d.ts +0 -1
  227. package/dist/components/PortalProvider/CXDTokenObserver.js +0 -30
  228. package/dist/components/PortalProvider/LinkGoogleAccountObserver.d.ts +0 -1
  229. package/dist/components/PortalProvider/LinkGoogleAccountObserver.js +0 -29
  230. package/dist/components/Quests/CountdownTimer.d.ts +0 -15
  231. package/dist/components/Quests/CountdownTimer.js +0 -33
  232. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +0 -4
  233. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +0 -78
  234. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +0 -8
  235. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +0 -9
  236. package/dist/components/Quests/MultiWageringQuest.d.ts +0 -1
  237. package/dist/components/Quests/MultiWageringQuest.js +0 -111
  238. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +0 -4
  239. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.js +0 -4
  240. package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +0 -4
  241. package/dist/components/Quests/WageringQuest/WageringQuest.js +0 -20
  242. package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +0 -9
  243. package/dist/components/Quests/WageringQuest/WageringQuestModal.js +0 -9
  244. package/dist/components/SessionWatcher/SessionWatcher.d.ts +0 -1
  245. package/dist/components/SessionWatcher/SessionWatcher.js +0 -20
  246. package/dist/components/SessionWatcher/index.d.ts +0 -1
  247. package/dist/components/SessionWatcher/index.js +0 -1
  248. package/dist/components/SignIn/utils.d.ts +0 -8
  249. package/dist/components/SignIn/utils.js +0 -26
  250. package/dist/components/SignUp/SignUp.lazy.d.ts +0 -12
  251. package/dist/components/SignUp/SignUp.lazy.js +0 -18
  252. package/dist/components/SignUp/SignUpContext.d.ts +0 -6
  253. package/dist/components/SignUp/SignUpContext.js +0 -2
  254. package/dist/components/SignUp/SignUpDefault/SignUp.lazy.d.ts +0 -17
  255. package/dist/components/SignUp/SignUpDefault/SignUp.lazy.js +0 -18
  256. package/dist/components/SignUp/SignUpDefault/SignUpContext.d.ts +0 -6
  257. package/dist/components/SignUp/SignUpDefault/SignUpContext.js +0 -2
  258. package/dist/components/SignUp/SignUpDefault/SignUpForm.d.ts +0 -1
  259. package/dist/components/SignUp/SignUpDefault/SignUpForm.js +0 -310
  260. package/dist/components/SignUp/SignUpForm.d.ts +0 -1
  261. package/dist/components/SignUp/SignUpForm.js +0 -284
  262. package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.d.ts +0 -1
  263. package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.js +0 -198
  264. package/dist/components/SignUp/SignUpKYC/CaptureSelfie.d.ts +0 -1
  265. package/dist/components/SignUp/SignUpKYC/CaptureSelfie.js +0 -251
  266. package/dist/components/SignUp/SignUpKYC/ImageUploader.d.ts +0 -10
  267. package/dist/components/SignUp/SignUpKYC/ImageUploader.js +0 -42
  268. package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.d.ts +0 -7
  269. package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.js +0 -9
  270. package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.d.ts +0 -1
  271. package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.js +0 -464
  272. package/dist/components/SignUp/SignUpKYC/useImageUploader.d.ts +0 -11
  273. package/dist/components/SignUp/SignUpKYC/useImageUploader.js +0 -20
  274. package/dist/components/SignUp/SignUpKYC/utils.d.ts +0 -9
  275. package/dist/components/SignUp/SignUpKYC/utils.js +0 -79
  276. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +0 -1
  277. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +0 -198
  278. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +0 -1
  279. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +0 -251
  280. package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +0 -10
  281. package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +0 -41
  282. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +0 -1
  283. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +0 -429
  284. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +0 -13
  285. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +0 -26
  286. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +0 -7
  287. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +0 -2
  288. package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +0 -11
  289. package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +0 -20
  290. package/dist/components/shared/IdDocumentField.client.d.ts +0 -25
  291. package/dist/components/shared/IdDocumentField.client.js +0 -204
  292. package/dist/components/shared/IdDocumentField.d.ts +0 -2
  293. package/dist/components/shared/IdDocumentField.js +0 -11
  294. package/dist/components/shared/SelfieField.client.d.ts +0 -20
  295. package/dist/components/shared/SelfieField.client.js +0 -327
  296. package/dist/components/shared/SelfieField.d.ts +0 -2
  297. package/dist/components/shared/SelfieField.js +0 -11
  298. package/dist/constants/BranchCode.d.ts +0 -4
  299. package/dist/constants/BranchCode.js +0 -42
  300. package/dist/constants/Branches.d.ts +0 -2
  301. package/dist/constants/Branches.js +0 -42
  302. package/dist/handlers/postTransformIdFrontImage.d.ts +0 -3
  303. package/dist/handlers/postTransformIdFrontImage.js +0 -67
  304. package/dist/handlers/postTransformSelfieImage.d.ts +0 -3
  305. package/dist/handlers/postTransformSelfieImage.js +0 -71
  306. package/dist/handlers.d.ts +0 -43
  307. package/dist/handlers.js +0 -297
  308. package/dist/icons/BellRingIcon.d.ts +0 -2
  309. package/dist/icons/BellRingIcon.js +0 -4
  310. package/dist/images/game-providers/ALPHACHINKO.png +0 -0
  311. package/dist/images/responsible-gaming-yellow.png +0 -0
  312. package/dist/third-parties/FacebookPixel/FacebookPixel.d.ts +0 -4
  313. package/dist/third-parties/FacebookPixel/FacebookPixel.js +0 -4
  314. package/dist/third-parties/FacebookPixel/api.d.ts +0 -0
  315. package/dist/third-parties/FacebookPixel/api.js +0 -1
  316. package/dist/third-parties/FacebookPixel/index.d.ts +0 -1
  317. package/dist/third-parties/FacebookPixel/index.js +0 -1
  318. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.d.ts +0 -4
  319. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.js +0 -4
  320. package/dist/third-parties/GoogleRecaptcha/api.d.ts +0 -0
  321. package/dist/third-parties/GoogleRecaptcha/api.js +0 -1
  322. package/dist/third-parties/GoogleRecaptcha/index.d.ts +0 -1
  323. package/dist/third-parties/GoogleRecaptcha/index.js +0 -1
  324. package/dist/third-parties/index.d.ts +0 -2
  325. package/dist/third-parties/index.js +0 -2
  326. package/dist/utils/dataUrlToBlob.d.ts +0 -1
  327. package/dist/utils/dataUrlToBlob.js +0 -11
  328. package/dist/utils/gamesAvailable3pmTo3am.d.ts +0 -1
  329. package/dist/utils/gamesAvailable3pmTo3am.js +0 -1
  330. package/dist/utils/getGameName.d.ts +0 -1
  331. package/dist/utils/getGameName.js +0 -6
  332. package/dist/utils/getLocaleInfo.d.ts +0 -79
  333. package/dist/utils/getLocaleInfo.js +0 -175
  334. package/dist/utils/isBetween3amAnd3pm.d.ts +0 -1
  335. package/dist/utils/isBetween3amAnd3pm.js +0 -5
  336. package/dist/utils/resizeImageSize.d.ts +0 -2
  337. package/dist/utils/resizeImageSize.js +0 -11
@@ -1,42 +0,0 @@
1
- export const BRANCHES = [
2
- {
3
- code: 'BRCAL',
4
- name: 'Bingo Republic 2nd floor Primark Center Deparo St., Caloocan City',
5
- },
6
- {
7
- code: 'BRNAG',
8
- name: 'Bingo Republic 3rd floor Robinsons Mall, Naga City, Camarines Sur',
9
- },
10
- {
11
- code: 'BRANT',
12
- name: 'Bingo Republic 2nd floor Robinsons Mall, San Vicente,Antique',
13
- },
14
- {
15
- code: 'BRCLA',
16
- name: 'Clark',
17
- },
18
- {
19
- code: 'BRLAG',
20
- name: 'Laguna',
21
- },
22
- {
23
- code: 'BREAS',
24
- name: 'Eastwood City, Quezon City',
25
- },
26
- {
27
- code: 'BRMAR',
28
- name: 'Bingo ng Bayan 4th floor Marikina Public Market, Marikina City',
29
- },
30
- {
31
- code: 'BRILO',
32
- name: 'Iloilo',
33
- },
34
- {
35
- code: 'BRFIM',
36
- name: 'Fisher Mall,Quezon City',
37
- },
38
- {
39
- code: 'BRCAC',
40
- name: 'Villa Caceres Hotel, Naga City,Camsur',
41
- },
42
- ];
@@ -1,3 +0,0 @@
1
- import type { NextRequest } from 'next/server';
2
- import { NextResponse } from 'next/server';
3
- export declare function postTransformIdFrontImage(request: NextRequest): Promise<NextResponse<unknown>>;
@@ -1,67 +0,0 @@
1
- import { NextResponse } from 'next/server';
2
- import sharp from 'sharp';
3
- import { z } from 'zod';
4
- import { validateFile } from '../utils/validateFile.js';
5
- const TransformIdFrontImageDefinition = z.object({
6
- image: z.instanceof(File).superRefine((file, context) => {
7
- const error = validateFile(file);
8
- if (error) {
9
- context.addIssue({
10
- code: z.ZodIssueCode.custom,
11
- message: error.message,
12
- });
13
- }
14
- }),
15
- cropTop: z.number().or(z.string().transform((v) => Math.round(Number(v)))),
16
- cropLeft: z.number().or(z.string().transform((v) => Math.round(Number(v)))),
17
- cropWidth: z.number().or(z.string().transform((v) => Math.round(Number(v)))),
18
- cropHeight: z.number().or(z.string().transform((v) => Math.round(Number(v)))),
19
- });
20
- export async function postTransformIdFrontImage(request) {
21
- const form = await request.formData();
22
- const parsed = TransformIdFrontImageDefinition.safeParse({
23
- image: form.get('image'),
24
- cropTop: form.get('cropTop'),
25
- cropLeft: form.get('cropLeft'),
26
- cropWidth: form.get('cropWidth'),
27
- cropHeight: form.get('cropHeight'),
28
- });
29
- if (!parsed.success) {
30
- return NextResponse.json({
31
- ok: false,
32
- message: parsed.error.issues[0].message,
33
- __error: parsed.error,
34
- }, { status: 400 });
35
- }
36
- const file = parsed.data.image;
37
- const arrayBuffer = await file.arrayBuffer();
38
- const buffer = Buffer.from(arrayBuffer);
39
- const cropped = await sharp(buffer)
40
- .extract({
41
- top: parsed.data.cropTop,
42
- left: parsed.data.cropLeft,
43
- width: parsed.data.cropWidth,
44
- height: parsed.data.cropHeight,
45
- })
46
- .resize({
47
- width: 1200,
48
- height: 757,
49
- kernel: sharp.kernel.lanczos3,
50
- withoutEnlargement: true,
51
- })
52
- .modulate({
53
- brightness: 1.025,
54
- saturation: 1.025,
55
- })
56
- .median(3)
57
- .blur()
58
- .sharpen()
59
- .webp()
60
- .toBuffer();
61
- return new NextResponse(cropped, {
62
- headers: {
63
- 'Content-Type': 'image/webp',
64
- 'Content-Disposition': `inline; filename="id-front-${Date.now()}.webp"`,
65
- },
66
- });
67
- }
@@ -1,3 +0,0 @@
1
- import type { NextRequest } from 'next/server';
2
- import { NextResponse } from 'next/server';
3
- export declare function postTransformSelfieImage(request: NextRequest): Promise<NextResponse<unknown>>;
@@ -1,71 +0,0 @@
1
- import { NextResponse } from 'next/server';
2
- import sharp from 'sharp';
3
- import { z } from 'zod';
4
- import { validateFile } from '../utils/validateFile.js';
5
- const TransformSelfieImageDefinition = z.object({
6
- image: z.instanceof(File).superRefine((file, context) => {
7
- const error = validateFile(file);
8
- if (error) {
9
- context.addIssue({
10
- code: z.ZodIssueCode.custom,
11
- message: error.message,
12
- });
13
- }
14
- }),
15
- cropTop: z.number().or(z.string().transform((v) => Math.round(Number(v)))),
16
- cropLeft: z.number().or(z.string().transform((v) => Math.round(Number(v)))),
17
- cropWidth: z.number().or(z.string().transform((v) => Math.round(Number(v)))),
18
- cropHeight: z.number().or(z.string().transform((v) => Math.round(Number(v)))),
19
- });
20
- export async function postTransformSelfieImage(request) {
21
- const form = await request.formData();
22
- const parsed = TransformSelfieImageDefinition.safeParse({
23
- image: form.get('image'),
24
- cropTop: form.get('cropTop'),
25
- cropLeft: form.get('cropLeft'),
26
- cropWidth: form.get('cropWidth'),
27
- cropHeight: form.get('cropHeight'),
28
- });
29
- if (!parsed.success) {
30
- return NextResponse.json({
31
- ok: false,
32
- message: parsed.error.issues[0].message,
33
- __error: parsed.error,
34
- }, { status: 400 });
35
- }
36
- const file = parsed.data.image;
37
- const arrayBuffer = await file.arrayBuffer();
38
- const buffer = Buffer.from(arrayBuffer);
39
- const cropped = await sharp(buffer)
40
- .extract({
41
- top: parsed.data.cropTop,
42
- left: parsed.data.cropLeft,
43
- width: parsed.data.cropWidth,
44
- height: parsed.data.cropHeight,
45
- })
46
- .resize({
47
- width: 1200,
48
- height: 1200,
49
- kernel: sharp.kernel.lanczos3,
50
- withoutEnlargement: true,
51
- })
52
- .sharpen({
53
- sigma: 1.15,
54
- m1: 2.0,
55
- m2: 5.0,
56
- })
57
- .modulate({
58
- brightness: 1.025,
59
- saturation: 1.025,
60
- })
61
- .median(3)
62
- .blur()
63
- .webp()
64
- .toBuffer();
65
- return new NextResponse(cropped, {
66
- headers: {
67
- 'Content-Type': 'image/webp',
68
- 'Content-Disposition': `inline; filename="selfie-${Date.now()}.webp"`,
69
- },
70
- });
71
- }
@@ -1,43 +0,0 @@
1
- import { NextResponse, type NextRequest } from 'next/server';
2
- import type { Session } from './types';
3
- export declare const GET: (request: NextRequest, { params }: {
4
- params: Promise<{
5
- auth: string[];
6
- }>;
7
- }) => Promise<NextResponse<{
8
- ok: true;
9
- data?: never;
10
- } | {
11
- ok: false;
12
- message: string;
13
- __error?: unknown;
14
- }> | NextResponse<{
15
- ok: false;
16
- message: string;
17
- __error?: unknown;
18
- } | {
19
- ok: true;
20
- data: Session;
21
- }>>;
22
- export declare const DELETE: (request: NextRequest, { params }: {
23
- params: Promise<{
24
- auth: string[];
25
- }>;
26
- }) => Promise<NextResponse<{
27
- ok: true;
28
- data?: never;
29
- } | {
30
- ok: false;
31
- message: string;
32
- __error?: unknown;
33
- }>>;
34
- export declare const POST: (request: NextRequest, { params }: {
35
- params: Promise<{
36
- auth: string[];
37
- }>;
38
- }) => Promise<NextResponse>;
39
- export declare const PATCH: (request: NextRequest, { params }: {
40
- params: Promise<{
41
- auth: string[];
42
- }>;
43
- }) => Promise<NextResponse>;
package/dist/handlers.js DELETED
@@ -1,297 +0,0 @@
1
- import { addDays, addMinutes, subMinutes } from 'date-fns';
2
- import { NextResponse } from 'next/server';
3
- import { z } from 'zod';
4
- import { ACCESS_TOKEN_COOKIE_NAME, DOMAIN_COOKIE_NAME, DOMAIN_HEADER_KEY, RECAPTCHA_HEADER_KEY, REFRESH_TOKEN_COOKIE_NAME, } from './constants/index.js';
5
- import { authenticate, createSession, destroySession, refreshSession, } from './services/auth.js';
6
- const CreateSessionDefinition = z.union([
7
- z.object({
8
- type: z.literal('NAME_AND_PASSWORD'),
9
- name: z.string(),
10
- password: z.string(),
11
- }),
12
- z.object({
13
- type: z.literal('MOBILE_NUMBER'),
14
- mobileNumber: z.string(),
15
- verificationCode: z.string(),
16
- }),
17
- z.object({
18
- type: z.literal('MAYA'),
19
- session: z.string(),
20
- }),
21
- z.object({
22
- type: z.union([
23
- z.literal('SOCIALS'),
24
- z.literal('CABINET'),
25
- z.literal('SINGLE_USE_TOKEN'),
26
- ]),
27
- token: z.string(),
28
- }),
29
- ]);
30
- const AuthenticateDefinition = z.object({
31
- type: z.literal('SECURITY_QUESTION'),
32
- token: z.string(),
33
- secretAnswer: z.string(),
34
- });
35
- export const GET = async (request, { params }) => {
36
- const { auth } = await params;
37
- const path = auth[0];
38
- /*
39
- *
40
- * GET -> /api/health
41
- * GET -> /api/healthcheck
42
- * GET -> /api/health-check
43
- *
44
- */
45
- if (/^health(-?check)?$/i.test(path)) {
46
- return NextResponse.json({
47
- ok: true,
48
- }, {
49
- headers: {
50
- 'Access-Control-Allow-Origin': '*',
51
- 'Cache-Control': 'no-cache, no-store, must-revalidate',
52
- Pragma: 'no-cache',
53
- Expires: '0',
54
- },
55
- });
56
- }
57
- /*
58
- *
59
- * GET -> /api/sessions
60
- *
61
- */
62
- if (path === 'sessions') {
63
- const accessToken = request.cookies.get(ACCESS_TOKEN_COOKIE_NAME)?.value;
64
- const refreshToken = request.cookies.get(REFRESH_TOKEN_COOKIE_NAME)?.value;
65
- const domain = request.cookies.get(DOMAIN_COOKIE_NAME)?.value;
66
- if (!refreshToken) {
67
- const response = NextResponse.json({
68
- ok: true,
69
- data: {
70
- domain,
71
- status: 'unauthenticated',
72
- },
73
- });
74
- response.cookies.delete(ACCESS_TOKEN_COOKIE_NAME);
75
- response.cookies.delete(REFRESH_TOKEN_COOKIE_NAME);
76
- return response;
77
- }
78
- if (!accessToken) {
79
- try {
80
- const data = await refreshSession({
81
- headers: {
82
- Authorization: `Bearer ${refreshToken}`,
83
- },
84
- });
85
- const response = NextResponse.json({
86
- ok: true,
87
- data: {
88
- status: 'authenticated',
89
- domain,
90
- token: data.accessToken,
91
- },
92
- });
93
- response.cookies.set(ACCESS_TOKEN_COOKIE_NAME, data.accessToken, {
94
- expires: addMinutes(new Date(), 9),
95
- httpOnly: true,
96
- sameSite: 'strict',
97
- });
98
- return response;
99
- }
100
- catch {
101
- const response = NextResponse.json({
102
- ok: true,
103
- data: {
104
- status: 'unauthenticated',
105
- domain,
106
- },
107
- });
108
- response.cookies.delete(REFRESH_TOKEN_COOKIE_NAME);
109
- return response;
110
- }
111
- }
112
- return NextResponse.json({
113
- ok: true,
114
- data: {
115
- status: 'authenticated',
116
- domain,
117
- token: accessToken,
118
- },
119
- });
120
- }
121
- return NextResponse.json({
122
- ok: false,
123
- message: 'Not found',
124
- }, { status: 404 });
125
- };
126
- export const DELETE = async (request, { params }) => {
127
- const { auth } = await params;
128
- const path = auth[0];
129
- /*
130
- *
131
- * DELETE -> /api/sessions
132
- *
133
- */
134
- if (path === 'sessions') {
135
- const accessToken = request.cookies.get(ACCESS_TOKEN_COOKIE_NAME)?.value;
136
- if (accessToken) {
137
- await destroySession({
138
- headers: {
139
- Authorization: `Bearer ${accessToken}`,
140
- },
141
- });
142
- }
143
- const response = NextResponse.json({
144
- ok: true,
145
- });
146
- response.cookies.delete(ACCESS_TOKEN_COOKIE_NAME);
147
- response.cookies.delete(REFRESH_TOKEN_COOKIE_NAME);
148
- return response;
149
- }
150
- return NextResponse.json({
151
- ok: false,
152
- message: 'Not found',
153
- }, { status: 404 });
154
- };
155
- export const POST = async (request, { params }) => {
156
- const { auth } = await params;
157
- const path = auth[0];
158
- /*
159
- *
160
- * POST -> /api/sessions
161
- *
162
- */
163
- if (path === 'sessions') {
164
- const body = await request.json();
165
- const parsed = CreateSessionDefinition.safeParse(body);
166
- if (!parsed.success) {
167
- return NextResponse.json({
168
- ok: false,
169
- message: parsed.error.issues[0].message,
170
- }, { status: 400 });
171
- }
172
- const recaptcha = request.headers.get(RECAPTCHA_HEADER_KEY);
173
- const domain = request.headers.get(DOMAIN_HEADER_KEY);
174
- try {
175
- const res = await createSession(parsed.data, {
176
- headers: {
177
- ...(recaptcha && {
178
- [RECAPTCHA_HEADER_KEY]: recaptcha,
179
- }),
180
- ...(domain && {
181
- [DOMAIN_HEADER_KEY]: domain,
182
- }),
183
- },
184
- });
185
- if (res.authenticator) {
186
- return NextResponse.json({
187
- ok: true,
188
- data: res.authenticator,
189
- });
190
- }
191
- const response = NextResponse.json({ ok: true, data: null }, { status: 201 });
192
- response.cookies.set(ACCESS_TOKEN_COOKIE_NAME, res.accessToken, {
193
- expires: addMinutes(new Date(), 9),
194
- httpOnly: true,
195
- sameSite: 'strict',
196
- });
197
- response.cookies.set(REFRESH_TOKEN_COOKIE_NAME, res.refreshToken, {
198
- expires: subMinutes(addDays(new Date(), 30), 1),
199
- httpOnly: true,
200
- sameSite: 'strict',
201
- });
202
- return response;
203
- }
204
- catch (e) {
205
- return NextResponse.json({
206
- ok: false,
207
- message: 'Unauthorized',
208
- __error: e,
209
- }, { status: 401 });
210
- }
211
- }
212
- /*
213
- *
214
- * POST -> /api/authenticate
215
- *
216
- */
217
- if (path === 'authenticate') {
218
- const body = await request.json();
219
- const parsed = AuthenticateDefinition.safeParse(body);
220
- if (!parsed.success) {
221
- return NextResponse.json({
222
- ok: false,
223
- message: parsed.error.issues[0].message,
224
- }, { status: 400 });
225
- }
226
- const recaptcha = request.headers.get(RECAPTCHA_HEADER_KEY);
227
- const domain = request.headers.get(DOMAIN_HEADER_KEY);
228
- try {
229
- const res = await authenticate(parsed.data, {
230
- headers: {
231
- ...(recaptcha && {
232
- [RECAPTCHA_HEADER_KEY]: recaptcha,
233
- }),
234
- ...(domain && {
235
- [DOMAIN_HEADER_KEY]: domain,
236
- }),
237
- },
238
- });
239
- const response = NextResponse.json({ ok: true }, { status: 201 });
240
- response.cookies.set(ACCESS_TOKEN_COOKIE_NAME, res.accessToken, {
241
- expires: addMinutes(new Date(), 9),
242
- httpOnly: true,
243
- });
244
- response.cookies.set(REFRESH_TOKEN_COOKIE_NAME, res.refreshToken, {
245
- expires: subMinutes(addDays(new Date(), 30), 1),
246
- httpOnly: true,
247
- });
248
- return response;
249
- }
250
- catch (e) {
251
- return NextResponse.json({
252
- ok: false,
253
- message: 'Unauthorized',
254
- __error: e,
255
- }, { status: 401 });
256
- }
257
- }
258
- return NextResponse.json({
259
- ok: false,
260
- message: 'Not found',
261
- }, { status: 404 });
262
- };
263
- const UpdateSessionDefinition = z.object({
264
- domain: z.string().optional().nullable(),
265
- });
266
- export const PATCH = async (request, { params }) => {
267
- const { auth } = await params;
268
- const path = auth[0];
269
- /*
270
- *
271
- * PATCH -> /api/sessions
272
- *
273
- */
274
- if (path === 'sessions') {
275
- const body = await request.json();
276
- const parsed = UpdateSessionDefinition.safeParse(body);
277
- if (!parsed.success) {
278
- return NextResponse.json({
279
- ok: false,
280
- message: parsed.error.issues[0].message,
281
- }, { status: 400 });
282
- }
283
- const response = NextResponse.json({ ok: true });
284
- if (parsed.data.domain) {
285
- response.cookies.set(DOMAIN_COOKIE_NAME, parsed.data.domain, {
286
- expires: addDays(new Date(), 30),
287
- httpOnly: true,
288
- sameSite: 'strict',
289
- });
290
- }
291
- return response;
292
- }
293
- return NextResponse.json({
294
- ok: false,
295
- message: 'Not found',
296
- }, { status: 404 });
297
- };
@@ -1,2 +0,0 @@
1
- import type { ComponentPropsWithRef } from 'react';
2
- export declare function BellRingIcon(props: ComponentPropsWithRef<'svg'>): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- export function BellRingIcon(props) {
3
- return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 25 24", fill: "none", stroke: "currentColor", ...props, children: _jsx("path", { d: "M15.5002 19C15.5002 20.6569 14.1571 22 12.5002 22C10.8434 22 9.50025 20.6569 9.50025 19M14.2968 6.23856C14.7322 5.78864 15.0002 5.17562 15.0002 4.5C15.0002 3.11929 13.881 2 12.5002 2C11.1195 2 10.0002 3.11929 10.0002 4.5C10.0002 5.17562 10.2683 5.78864 10.7037 6.23856M3.04707 8.32296C3.03272 6.87161 3.8152 5.51631 5.07928 4.80306M21.9534 8.32296C21.9678 6.87161 21.1853 5.51631 19.9212 4.80306M18.5002 11.2C18.5002 9.82087 17.8681 8.49823 16.7429 7.52304C15.6177 6.54786 14.0915 6 12.5002 6C10.9089 6 9.38283 6.54786 8.25761 7.52304C7.13239 8.49823 6.50025 9.82087 6.50025 11.2C6.50025 13.4818 5.93438 15.1506 5.22831 16.3447C4.42359 17.7056 4.02122 18.3861 4.03711 18.5486C4.05529 18.7346 4.08876 18.7933 4.23959 18.9036C4.37142 19 5.03376 19 6.35844 19H18.6421C19.9667 19 20.6291 19 20.7609 18.9036C20.9117 18.7933 20.9452 18.7346 20.9634 18.5486C20.9793 18.3861 20.5769 17.7056 19.7722 16.3447C19.0661 15.1506 18.5002 13.4818 18.5002 11.2Z", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }));
4
- }
@@ -1,4 +0,0 @@
1
- export interface FacebookPixelProps {
2
- fbId: string;
3
- }
4
- export declare function FacebookPixel(props: FacebookPixelProps): null;
@@ -1,4 +0,0 @@
1
- export function FacebookPixel(props) {
2
- console.log(props);
3
- return null;
4
- }
File without changes
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- export * from './FacebookPixel';
@@ -1 +0,0 @@
1
- export * from './FacebookPixel.js';
@@ -1,4 +0,0 @@
1
- export interface GoogleRecaptchaProps {
2
- siteKey: string;
3
- }
4
- export declare function GoogleRecaptcha(props: GoogleRecaptchaProps): null;
@@ -1,4 +0,0 @@
1
- export function GoogleRecaptcha(props) {
2
- console.log(props);
3
- return null;
4
- }
File without changes
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- export * from './GoogleRecaptcha';
@@ -1 +0,0 @@
1
- export * from './GoogleRecaptcha.js';
@@ -1,2 +0,0 @@
1
- export * from './FacebookPixel';
2
- export * from './GoogleRecaptcha';
@@ -1,2 +0,0 @@
1
- export * from './FacebookPixel/index.js';
2
- export * from './GoogleRecaptcha/index.js';
@@ -1 +0,0 @@
1
- export declare function dataURLtoBlob(dataURL: string): Blob;
@@ -1,11 +0,0 @@
1
- export function dataURLtoBlob(dataURL) {
2
- const parts = dataURL.split(';base64,');
3
- const contentType = parts[0].split(':')[1];
4
- const raw = window.atob(parts[1]);
5
- const rawLength = raw.length;
6
- const uInt8Array = new Uint8Array(rawLength);
7
- for (let i = 0; i < rawLength; ++i) {
8
- uInt8Array[i] = raw.charCodeAt(i);
9
- }
10
- return new Blob([uInt8Array], { type: contentType });
11
- }
@@ -1 +0,0 @@
1
- export declare const GAMES_AVAILABLE_3PM_TO_3AM: string[];
@@ -1 +0,0 @@
1
- export const GAMES_AVAILABLE_3PM_TO_3AM = ['Marble Race', 'Rainbow Ball'];
@@ -1 +0,0 @@
1
- export declare function getGameName(reference: string, defaultName: string): string;
@@ -1,6 +0,0 @@
1
- export function getGameName(reference, defaultName) {
2
- if (reference === 'Hwd1wEWHU6Gvfwecuh') {
3
- return 'Marble Speedway';
4
- }
5
- return defaultName;
6
- }