@opexa/portal-components 0.0.277 → 0.0.278

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 (309) hide show
  1. package/dist/client/hooks/useGlobalStore.d.ts +16 -6
  2. package/dist/client/hooks/useGlobalStore.js +99 -0
  3. package/dist/client/hooks/useJackpotsQuery.js +1 -1
  4. package/dist/components/Bonus/Bonus.client.js +1 -1
  5. package/dist/components/Cashback/Cashback.client.js +1 -1
  6. package/dist/components/CustomPromo/CustomPromo.js +1 -1
  7. package/dist/components/Disclaimer/Disclaimer.d.ts +3 -14
  8. package/dist/components/Disclaimer/Disclaimer.js +14 -5
  9. package/dist/components/Disclaimer/DisclaimerV1.d.ts +1 -1
  10. package/dist/components/Disclaimer/DisclaimerV1.js +1 -1
  11. package/dist/components/Disclaimer/DisclaimerV2.d.ts +3 -7
  12. package/dist/components/Disclaimer/DisclaimerV2.js +23 -51
  13. package/dist/components/Disclaimer/useDisclaimer.js +1 -1
  14. package/dist/components/GameLaunch/GameLaunch.lazy.js +1 -1
  15. package/dist/components/GamesSearch/GamesSearch.js +1 -1
  16. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.js +12 -1
  17. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
  18. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
  19. package/dist/components/Jackpots/JackpotsList/JackpotsListItemDesktop.js +12 -1
  20. package/dist/components/KYC/utils.js +18 -18
  21. package/dist/components/News/News.js +1 -1
  22. package/dist/components/PortalProvider/FeatureFlag.js +1 -1
  23. package/dist/components/Promo/Promo.client.js +1 -1
  24. package/dist/components/ResponsibleGaming/ResponsibleGaming.d.ts +3 -0
  25. package/dist/components/ResponsibleGaming/ResponsibleGaming.js +14 -0
  26. package/dist/components/ResponsibleGaming/ResponsibleGaming.lazy.d.ts +8 -0
  27. package/dist/components/ResponsibleGaming/ResponsibleGaming.lazy.js +35 -0
  28. package/dist/components/ResponsibleGaming/index.d.ts +1 -0
  29. package/dist/components/ResponsibleGaming/index.js +1 -0
  30. package/dist/components/Search/Search.lazy.js +1 -1
  31. package/dist/components/SignIn/MobileNumberSignIn.js +32 -26
  32. package/dist/components/SignIn/NameAndPasswordSignIn.js +31 -26
  33. package/dist/components/SignIn/SignIn.lazy.d.ts +4 -7
  34. package/dist/components/SignIn/SignIn.lazy.js +1 -0
  35. package/dist/components/SignUp/SignUp.d.ts +3 -3
  36. package/dist/components/SignUp/SignUp.js +7 -4
  37. package/dist/components/SignUp/SignUpDefault/SignUpDefault.lazy.d.ts +14 -0
  38. package/dist/components/SignUp/SignUpDefault/SignUpDefault.lazy.js +18 -0
  39. package/dist/components/SignUp/SignUpDefault/SignUpDefaultContext.d.ts +6 -0
  40. package/dist/components/SignUp/SignUpDefault/SignUpDefaultContext.js +2 -0
  41. package/dist/components/SignUp/SignUpDefault/SignUpDefaultForm.d.ts +1 -0
  42. package/dist/components/SignUp/{SignUpForm.js → SignUpDefault/SignUpDefaultForm.js} +88 -57
  43. package/dist/components/SignUp/SignUpDefault/SignUpForm.js +3 -7
  44. package/dist/components/SignUp/SignUpKYC/SignUpKYC.lazy.d.ts +5 -8
  45. package/dist/components/SignUp/SignUpKYC/SignUpKYCForm.js +37 -31
  46. package/dist/components/SignUp/SignUpKYC/utils.js +18 -18
  47. package/dist/components/TermsAndConditions/TermsAndConditions.d.ts +2 -0
  48. package/dist/components/TermsAndConditions/TermsAndConditions.js +14 -0
  49. package/dist/components/TermsAndConditions/TermsAndConditions.lazy.d.ts +9 -0
  50. package/dist/components/TermsAndConditions/TermsAndConditions.lazy.js +35 -0
  51. package/dist/components/TermsAndConditions/index.d.ts +1 -0
  52. package/dist/components/TermsAndConditions/index.js +1 -0
  53. package/dist/components/TermsOfUse/TermsOfUse.d.ts +3 -0
  54. package/dist/components/TermsOfUse/TermsOfUse.js +14 -0
  55. package/dist/components/TermsOfUse/TermsOfUse.lazy.d.ts +9 -0
  56. package/dist/components/TermsOfUse/TermsOfUse.lazy.js +35 -0
  57. package/dist/components/TermsOfUse/index.d.ts +1 -0
  58. package/dist/components/TermsOfUse/index.js +1 -0
  59. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  60. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  61. package/dist/handlers/postTransformIdFrontImage.d.ts +3 -0
  62. package/dist/handlers/postTransformIdFrontImage.js +82 -0
  63. package/dist/handlers/postTransformSelfieImage.d.ts +3 -0
  64. package/dist/handlers/postTransformSelfieImage.js +82 -0
  65. package/dist/next.config.js +1 -0
  66. package/dist/services/queries.js +2570 -2570
  67. package/dist/styles/theme.css +695 -695
  68. package/dist/ui/AlertDialog/AlertDialog.d.ts +88 -88
  69. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +8 -8
  70. package/dist/ui/Badge/Badge.d.ts +12 -12
  71. package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
  72. package/dist/ui/Badge/badge.recipe.d.ts +3 -3
  73. package/dist/ui/Carousel/Carousel.d.ts +99 -99
  74. package/dist/ui/Carousel/carousel.recipe.d.ts +11 -11
  75. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  76. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  77. package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
  78. package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
  79. package/dist/ui/Collapsible/Collapsible.d.ts +20 -20
  80. package/dist/ui/Collapsible/collapsible.recipe.d.ts +5 -5
  81. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  82. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  83. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  84. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  85. package/dist/ui/Dialog/Dialog.d.ts +88 -88
  86. package/dist/ui/Dialog/dialog.recipe.d.ts +8 -8
  87. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  88. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  89. package/dist/ui/Field/Field.d.ts +21 -21
  90. package/dist/ui/Field/field.recipe.d.ts +3 -3
  91. package/dist/ui/Menu/Menu.d.ts +306 -306
  92. package/dist/ui/Menu/menu.recipe.d.ts +17 -17
  93. package/dist/ui/PasswordInput/PasswordInput.d.ts +18 -18
  94. package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
  95. package/dist/ui/Popover/Popover.d.ts +88 -88
  96. package/dist/ui/Popover/popover.recipe.d.ts +8 -8
  97. package/dist/ui/Progress/Progress.d.ts +27 -27
  98. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  99. package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
  100. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
  101. package/dist/ui/Select/Select.d.ts +45 -45
  102. package/dist/ui/Select/select.recipe.d.ts +3 -3
  103. package/dist/ui/Table/Table.d.ts +21 -21
  104. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  105. package/dist/ui/Table/table.recipe.d.ts +3 -3
  106. package/dist/ui/Tabs/Tabs.d.ts +15 -15
  107. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  108. package/package.json +163 -163
  109. package/dist/client/hooks/index.d.ts +0 -65
  110. package/dist/client/hooks/index.js +0 -65
  111. package/dist/client/services/index.d.ts +0 -4
  112. package/dist/client/services/index.js +0 -4
  113. package/dist/client/utils/index.d.ts +0 -3
  114. package/dist/client/utils/index.js +0 -3
  115. package/dist/components/CashbackBonus/CashbackBonus.client.d.ts +0 -2
  116. package/dist/components/CashbackBonus/CashbackBonus.client.js +0 -9
  117. package/dist/components/CashbackBonus/CashbackBonus.d.ts +0 -10
  118. package/dist/components/CashbackBonus/CashbackBonus.js +0 -5
  119. package/dist/components/CashbackBonus/index.d.ts +0 -1
  120. package/dist/components/CashbackBonus/index.js +0 -1
  121. package/dist/components/Empty.d.ts +0 -9
  122. package/dist/components/Empty.js +0 -7
  123. package/dist/components/FeatureFlag/FeatureFlag.d.ts +0 -1
  124. package/dist/components/FeatureFlag/FeatureFlag.js +0 -29
  125. package/dist/components/FeatureFlag/index.d.ts +0 -1
  126. package/dist/components/FeatureFlag/index.js +0 -1
  127. package/dist/components/Games/GameContext.d.ts +0 -2
  128. package/dist/components/Games/GameContext.js +0 -2
  129. package/dist/components/InfiniteScroll.d.ts +0 -10
  130. package/dist/components/InfiniteScroll.js +0 -25
  131. package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +0 -2
  132. package/dist/components/JackpotCounter/JackpotCounter.client.js +0 -66
  133. package/dist/components/JackpotCounter/JackpotCounter.d.ts +0 -17
  134. package/dist/components/JackpotCounter/JackpotCounter.js +0 -21
  135. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +0 -18
  136. package/dist/components/JackpotCounter/JackpotCounterItem.js +0 -109
  137. package/dist/components/JackpotCounter/JackpotCounterItem.module.css +0 -184
  138. package/dist/components/JackpotCounter/index.d.ts +0 -1
  139. package/dist/components/JackpotCounter/index.js +0 -1
  140. package/dist/components/Jackpots/JackpotDesktop.d.ts +0 -1
  141. package/dist/components/Jackpots/JackpotDesktop.js +0 -45
  142. package/dist/components/Jackpots/JackpotGameProviders.d.ts +0 -5
  143. package/dist/components/Jackpots/JackpotGameProviders.js +0 -41
  144. package/dist/components/Jackpots/JackpotItemDesktop.d.ts +0 -9
  145. package/dist/components/Jackpots/JackpotItemDesktop.js +0 -43
  146. package/dist/components/Jackpots/JackpotItemMobile.d.ts +0 -9
  147. package/dist/components/Jackpots/JackpotItemMobile.js +0 -44
  148. package/dist/components/Jackpots/JackpotMobile.d.ts +0 -1
  149. package/dist/components/Jackpots/JackpotMobile.js +0 -46
  150. package/dist/components/Jackpots/JackpotRules.d.ts +0 -5
  151. package/dist/components/Jackpots/JackpotRules.js +0 -11
  152. package/dist/components/Jackpots/Jackpots.client.d.ts +0 -2
  153. package/dist/components/Jackpots/Jackpots.client.js +0 -29
  154. package/dist/components/Jackpots/JackpotsContext.d.ts +0 -4
  155. package/dist/components/Jackpots/JackpotsContext.js +0 -3
  156. package/dist/components/Jackpots/useJackpotData.d.ts +0 -14
  157. package/dist/components/Jackpots/useJackpotData.js +0 -93
  158. package/dist/components/Jackpots/useJackpotItemData.d.ts +0 -20
  159. package/dist/components/Jackpots/useJackpotItemData.js +0 -87
  160. package/dist/components/KYC/AutoOpen.d.ts +0 -1
  161. package/dist/components/KYC/AutoOpen.js +0 -45
  162. package/dist/components/KYC/Header.d.ts +0 -1
  163. package/dist/components/KYC/Header.js +0 -8
  164. package/dist/components/KYC/Step1.d.ts +0 -1
  165. package/dist/components/KYC/Step1.js +0 -13
  166. package/dist/components/KYC/Step2.d.ts +0 -1
  167. package/dist/components/KYC/Step2.js +0 -13
  168. package/dist/components/KYC/Step3.d.ts +0 -1
  169. package/dist/components/KYC/Step3.js +0 -13
  170. package/dist/components/KYC/Step4.d.ts +0 -1
  171. package/dist/components/KYC/Step4.js +0 -7
  172. package/dist/components/KYC/backup/Header.d.ts +0 -1
  173. package/dist/components/KYC/backup/Header.js +0 -8
  174. package/dist/components/KYC/backup/Indicator.d.ts +0 -1
  175. package/dist/components/KYC/backup/Indicator.js +0 -9
  176. package/dist/components/KYC/backup/KYC.d.ts +0 -1
  177. package/dist/components/KYC/backup/KYC.js +0 -14
  178. package/dist/components/KYC/backup/KYC.lazy.d.ts +0 -1
  179. package/dist/components/KYC/backup/KYC.lazy.js +0 -26
  180. package/dist/components/KYC/backup/KYCContext.d.ts +0 -6
  181. package/dist/components/KYC/backup/KYCContext.js +0 -2
  182. package/dist/components/KYC/backup/Step1.d.ts +0 -1
  183. package/dist/components/KYC/backup/Step1.js +0 -13
  184. package/dist/components/KYC/backup/Step2.d.ts +0 -1
  185. package/dist/components/KYC/backup/Step2.js +0 -13
  186. package/dist/components/KYC/backup/Step3.d.ts +0 -1
  187. package/dist/components/KYC/backup/Step3.js +0 -13
  188. package/dist/components/KYC/backup/Step4.d.ts +0 -1
  189. package/dist/components/KYC/backup/Step4.js +0 -7
  190. package/dist/components/KYC/backup/useKYC.d.ts +0 -10
  191. package/dist/components/KYC/backup/useKYC.js +0 -8
  192. package/dist/components/KYC/loadModels.d.ts +0 -1
  193. package/dist/components/KYC/loadModels.js +0 -9
  194. package/dist/components/Messages/Message.d.ts +0 -1
  195. package/dist/components/Messages/Message.js +0 -34
  196. package/dist/components/Messages/MessageContext.d.ts +0 -6
  197. package/dist/components/Messages/MessageContext.js +0 -2
  198. package/dist/components/Messages/MessageItem.d.ts +0 -4
  199. package/dist/components/Messages/MessageItem.js +0 -34
  200. package/dist/components/Messages/MessagePopup.d.ts +0 -1
  201. package/dist/components/Messages/MessagePopup.js +0 -19
  202. package/dist/components/Messages/MessageTrigger.d.ts +0 -8
  203. package/dist/components/Messages/MessageTrigger.js +0 -19
  204. package/dist/components/Promo/PromoContent.d.ts +0 -2
  205. package/dist/components/Promo/PromoContent.js +0 -9
  206. package/dist/components/Promos/PromoCarousel.d.ts +0 -2
  207. package/dist/components/Promos/PromoCarousel.js +0 -41
  208. package/dist/components/Promos/PromoGrid.d.ts +0 -2
  209. package/dist/components/Promos/PromoGrid.js +0 -12
  210. package/dist/components/Promos/PromoItem.d.ts +0 -7
  211. package/dist/components/Promos/PromoItem.js +0 -10
  212. package/dist/components/Quests/CountdownTimer.d.ts +0 -15
  213. package/dist/components/Quests/CountdownTimer.js +0 -33
  214. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +0 -4
  215. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +0 -78
  216. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +0 -8
  217. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +0 -9
  218. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +0 -4
  219. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.js +0 -4
  220. package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +0 -4
  221. package/dist/components/Quests/WageringQuest/WageringQuest.js +0 -20
  222. package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +0 -9
  223. package/dist/components/Quests/WageringQuest/WageringQuestModal.js +0 -9
  224. package/dist/components/SignUp/SignUp.lazy.d.ts +0 -12
  225. package/dist/components/SignUp/SignUp.lazy.js +0 -18
  226. package/dist/components/SignUp/SignUpContext.d.ts +0 -6
  227. package/dist/components/SignUp/SignUpContext.js +0 -2
  228. package/dist/components/SignUp/SignUpForm.d.ts +0 -1
  229. package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +0 -2
  230. package/dist/components/TournamentCounter/TournamentCounter.client.js +0 -50
  231. package/dist/components/TournamentCounter/TournamentCounter.d.ts +0 -8
  232. package/dist/components/TournamentCounter/TournamentCounter.js +0 -21
  233. package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +0 -8
  234. package/dist/components/TournamentCounter/TournamentCounterItem.js +0 -106
  235. package/dist/components/TournamentCounter/index.d.ts +0 -1
  236. package/dist/components/TournamentCounter/index.js +0 -1
  237. package/dist/components/Tournaments/TournamentDesktop.d.ts +0 -1
  238. package/dist/components/Tournaments/TournamentDesktop.js +0 -57
  239. package/dist/components/Tournaments/TournamentGameProviders.d.ts +0 -5
  240. package/dist/components/Tournaments/TournamentGameProviders.js +0 -38
  241. package/dist/components/Tournaments/TournamentItemDesktop.d.ts +0 -7
  242. package/dist/components/Tournaments/TournamentItemDesktop.js +0 -56
  243. package/dist/components/Tournaments/TournamentItemMobile.d.ts +0 -7
  244. package/dist/components/Tournaments/TournamentItemMobile.js +0 -54
  245. package/dist/components/Tournaments/TournamentMobile.d.ts +0 -1
  246. package/dist/components/Tournaments/TournamentMobile.js +0 -55
  247. package/dist/components/Tournaments/TournamentRules.d.ts +0 -5
  248. package/dist/components/Tournaments/TournamentRules.js +0 -11
  249. package/dist/components/Tournaments/Tournaments.client.d.ts +0 -2
  250. package/dist/components/Tournaments/Tournaments.client.js +0 -20
  251. package/dist/components/Tournaments/TournamentsContext.d.ts +0 -4
  252. package/dist/components/Tournaments/TournamentsContext.js +0 -3
  253. package/dist/components/Tournaments/useTournamentData.d.ts +0 -10
  254. package/dist/components/Tournaments/useTournamentData.js +0 -72
  255. package/dist/components/Tournaments/useTournamentItemData.d.ts +0 -16
  256. package/dist/components/Tournaments/useTournamentItemData.js +0 -64
  257. package/dist/components/index.d.ts +0 -33
  258. package/dist/components/index.js +0 -33
  259. package/dist/components/shared/IdDocumentField.client.d.ts +0 -25
  260. package/dist/components/shared/IdDocumentField.client.js +0 -204
  261. package/dist/components/shared/IdDocumentField.d.ts +0 -2
  262. package/dist/components/shared/IdDocumentField.js +0 -11
  263. package/dist/components/shared/SelfieField.client.d.ts +0 -20
  264. package/dist/components/shared/SelfieField.client.js +0 -327
  265. package/dist/components/shared/SelfieField.d.ts +0 -2
  266. package/dist/components/shared/SelfieField.js +0 -11
  267. package/dist/constants/BranchCode.d.ts +0 -4
  268. package/dist/constants/BranchCode.js +0 -42
  269. package/dist/constants/endpoints.d.ts +0 -10
  270. package/dist/constants/endpoints.js +0 -41
  271. package/dist/constants/envVars.d.ts +0 -5
  272. package/dist/constants/envVars.js +0 -28
  273. package/dist/constants/gameProviders.d.ts +0 -76
  274. package/dist/constants/gameProviders.js +0 -361
  275. package/dist/constants/gameTypes.d.ts +0 -3
  276. package/dist/constants/gameTypes.js +0 -64
  277. package/dist/constants/headerKeys.d.ts +0 -2
  278. package/dist/constants/headerKeys.js +0 -2
  279. package/dist/constants/secretQuestions.d.ts +0 -3
  280. package/dist/constants/secretQuestions.js +0 -24
  281. package/dist/constants/storageKeys.d.ts +0 -2
  282. package/dist/constants/storageKeys.js +0 -2
  283. package/dist/handlers.d.ts +0 -43
  284. package/dist/handlers.js +0 -297
  285. package/dist/icons/BellRingIcon.d.ts +0 -2
  286. package/dist/icons/BellRingIcon.js +0 -4
  287. package/dist/icons/index.d.ts +0 -65
  288. package/dist/icons/index.js +0 -65
  289. package/dist/images/hacksaw-gaming.png +0 -0
  290. package/dist/server/services/index.d.ts +0 -4
  291. package/dist/server/services/index.js +0 -4
  292. package/dist/server/utils/index.d.ts +0 -29
  293. package/dist/server/utils/index.js +0 -29
  294. package/dist/ui/Presence.d.ts +0 -2
  295. package/dist/ui/Presence.js +0 -7
  296. package/dist/ui/Prose.d.ts +0 -2
  297. package/dist/ui/Prose.js +0 -5
  298. package/dist/ui/index.d.ts +0 -26
  299. package/dist/ui/index.js +0 -26
  300. package/dist/utils/createErrorFromCode.d.ts +0 -2
  301. package/dist/utils/createErrorFromCode.js +0 -11
  302. package/dist/utils/dataUrlToBlob.d.ts +0 -1
  303. package/dist/utils/dataUrlToBlob.js +0 -11
  304. package/dist/utils/index.d.ts +0 -17
  305. package/dist/utils/index.js +0 -17
  306. package/dist/utils/isMobile.d.ts +0 -5
  307. package/dist/utils/isMobile.js +0 -9
  308. package/dist/utils/resizeImageSize.d.ts +0 -1
  309. package/dist/utils/resizeImageSize.js +0 -6
@@ -1,184 +1,184 @@
1
- @keyframes arrow-green-flash {
2
- 0% {
3
- color: #abefc6;
4
- }
5
- 100% {
6
- color: #079455;
7
- }
8
- }
9
-
10
- .animate-arrow-green-flash-1 {
11
- animation: arrow-green-flash 0.4s infinite;
12
- animation-delay: -0.2s;
13
- }
14
-
15
- .animate-arrow-green-flash-2 {
16
- animation: arrow-green-flash 0.4s infinite;
17
- animation-delay: -0.1s;
18
- }
19
-
20
- .animate-arrow-green-flash-3 {
21
- animation: arrow-green-flash 0.4s infinite;
22
- }
23
-
24
- @keyframes arrow-red-flash {
25
- 0%,
26
- 100% {
27
- color: #f97066;
28
- }
29
- 50% {
30
- color: #fecdca;
31
- }
32
- }
33
-
34
- .animate-arrow-red-flash-1 {
35
- animation: arrow-red-flash 0.4s infinite;
36
- }
37
-
38
- .animate-arrow-red-flash-2 {
39
- animation: arrow-red-flash 0.4s infinite;
40
- animation-delay: -0.1s;
41
- }
42
-
43
- .animate-arrow-red-flash-3 {
44
- animation: arrow-red-flash 0.4s infinite;
45
- animation-delay: -0.2s;
46
- }
47
-
48
- /* Animated BG */
49
- @keyframes rotate {
50
- to {
51
- transform: rotate(1turn);
52
- }
53
- }
54
-
55
- .light-rays {
56
- position: absolute;
57
- top: 0;
58
- left: 0;
59
- right: 0;
60
- bottom: 0;
61
- overflow: hidden;
62
-
63
- --first: var(--color-bg-tertiary);
64
- --second: var(--color-bg-quaternary);
65
- }
66
-
67
- .light-rays::before,
68
- .light-rays::after {
69
- content: '';
70
- position: absolute;
71
- top: var(--light-rays-top, 150px);
72
- left: calc(50% - 90px);
73
- margin: -100vmax;
74
- width: 200vmax;
75
- height: 200vmax;
76
- opacity: 0.6;
77
- transform-origin: center;
78
- }
79
-
80
- .light-rays::before {
81
- background: conic-gradient(
82
- var(--first) 0deg 7.2deg,
83
- var(--second) 7.2deg 14.4deg,
84
- var(--first) 14.4deg 21.6deg,
85
- var(--second) 21.6deg 28.8deg,
86
- var(--first) 28.8deg 36deg,
87
- var(--second) 36deg 43.2deg,
88
- var(--first) 43.2deg 50.4deg,
89
- var(--second) 50.4deg 57.6deg,
90
- var(--first) 57.6deg 64.8deg,
91
- var(--second) 64.8deg 72deg,
92
- var(--first) 72deg 79.2deg,
93
- var(--second) 79.2deg 86.4deg,
94
- var(--first) 86.4deg 93.6deg,
95
- var(--second) 93.6deg 100.8deg,
96
- var(--first) 100.8deg 108deg,
97
- var(--second) 108deg 115.2deg,
98
- var(--first) 115.2deg 122.4deg,
99
- var(--second) 122.4deg 129.6deg,
100
- var(--first) 129.6deg 136.8deg,
101
- var(--second) 136.8deg 144deg,
102
- var(--first) 144deg 151.2deg,
103
- var(--second) 151.2deg 158.4deg,
104
- var(--first) 158.4deg 165.6deg,
105
- var(--second) 165.6deg 172.8deg,
106
- var(--first) 172.8deg 180deg,
107
- var(--second) 180deg 187.2deg,
108
- var(--first) 187.2deg 194.4deg,
109
- var(--second) 194.4deg 201.6deg,
110
- var(--first) 201.6deg 208.8deg,
111
- var(--second) 208.8deg 216deg,
112
- var(--first) 216deg 223.2deg,
113
- var(--second) 223.2deg 230.4deg,
114
- var(--first) 230.4deg 237.6deg,
115
- var(--second) 237.6deg 244.8deg,
116
- var(--first) 244.8deg 252deg,
117
- var(--second) 252deg 259.2deg,
118
- var(--first) 259.2deg 266.4deg,
119
- var(--second) 266.4deg 273.6deg,
120
- var(--first) 273.6deg 280.8deg,
121
- var(--second) 280.8deg 288deg,
122
- var(--first) 288deg 295.2deg,
123
- var(--second) 295.2deg 302.4deg,
124
- var(--first) 302.4deg 309.6deg,
125
- var(--second) 309.6deg 316.8deg,
126
- var(--first) 316.8deg 324deg,
127
- var(--second) 324deg 331.2deg,
128
- var(--first) 331.2deg 338.4deg,
129
- var(--second) 338.4deg 345.6deg,
130
- var(--first) 345.6deg 352.8deg,
131
- var(--second) 352.8deg 360deg
132
- );
133
- animation: rotate 20s linear infinite;
134
- }
135
-
136
- @media (max-width: 1024px) {
137
- .light-rays::before,
138
- .light-rays::after {
139
- left: auto;
140
- right: 11%;
141
- }
142
- }
143
-
144
- /* ScrollArea.module.css */
145
- .scrollArea {
146
- overflow-y: scroll;
147
- padding-right: 4px;
148
- }
149
-
150
- /* WebKit-based browsers */
151
- .scrollArea::-webkit-scrollbar {
152
- width: 8px;
153
- }
154
-
155
- .scrollArea::-webkit-scrollbar-track {
156
- background: var(--color-bg-primary-alt);
157
- border-radius: 9999px;
158
- }
159
-
160
- .scrollArea::-webkit-scrollbar-thumb {
161
- background-color: var(--color-bg-quaternary);
162
- border-radius: 9999px;
163
- }
164
-
165
- @keyframes waveColor {
166
- 0%,
167
- 2.5% {
168
- color: var(--wave-highlight-color);
169
- }
170
- 2.51%,
171
- 100% {
172
- color: var(--color-brand-300);
173
- }
174
- }
175
-
176
- .animate-wave-color-success {
177
- --wave-highlight-color: var(--color-success-800);
178
- animation: waveColor 4s ease-in-out infinite;
179
- }
180
-
181
- .animate-wave-color-error {
182
- --wave-highlight-color: var(--color-error-600);
183
- animation: waveColor 4s ease-in-out infinite;
184
- }
1
+ @keyframes arrow-green-flash {
2
+ 0% {
3
+ color: #abefc6;
4
+ }
5
+ 100% {
6
+ color: #079455;
7
+ }
8
+ }
9
+
10
+ .animate-arrow-green-flash-1 {
11
+ animation: arrow-green-flash 0.4s infinite;
12
+ animation-delay: -0.2s;
13
+ }
14
+
15
+ .animate-arrow-green-flash-2 {
16
+ animation: arrow-green-flash 0.4s infinite;
17
+ animation-delay: -0.1s;
18
+ }
19
+
20
+ .animate-arrow-green-flash-3 {
21
+ animation: arrow-green-flash 0.4s infinite;
22
+ }
23
+
24
+ @keyframes arrow-red-flash {
25
+ 0%,
26
+ 100% {
27
+ color: #f97066;
28
+ }
29
+ 50% {
30
+ color: #fecdca;
31
+ }
32
+ }
33
+
34
+ .animate-arrow-red-flash-1 {
35
+ animation: arrow-red-flash 0.4s infinite;
36
+ }
37
+
38
+ .animate-arrow-red-flash-2 {
39
+ animation: arrow-red-flash 0.4s infinite;
40
+ animation-delay: -0.1s;
41
+ }
42
+
43
+ .animate-arrow-red-flash-3 {
44
+ animation: arrow-red-flash 0.4s infinite;
45
+ animation-delay: -0.2s;
46
+ }
47
+
48
+ /* Animated BG */
49
+ @keyframes rotate {
50
+ to {
51
+ transform: rotate(1turn);
52
+ }
53
+ }
54
+
55
+ .light-rays {
56
+ position: absolute;
57
+ top: 0;
58
+ left: 0;
59
+ right: 0;
60
+ bottom: 0;
61
+ overflow: hidden;
62
+
63
+ --first: var(--color-bg-tertiary);
64
+ --second: var(--color-bg-quaternary);
65
+ }
66
+
67
+ .light-rays::before,
68
+ .light-rays::after {
69
+ content: '';
70
+ position: absolute;
71
+ top: var(--light-rays-top, 150px);
72
+ left: calc(50% - 90px);
73
+ margin: -100vmax;
74
+ width: 200vmax;
75
+ height: 200vmax;
76
+ opacity: 0.6;
77
+ transform-origin: center;
78
+ }
79
+
80
+ .light-rays::before {
81
+ background: conic-gradient(
82
+ var(--first) 0deg 7.2deg,
83
+ var(--second) 7.2deg 14.4deg,
84
+ var(--first) 14.4deg 21.6deg,
85
+ var(--second) 21.6deg 28.8deg,
86
+ var(--first) 28.8deg 36deg,
87
+ var(--second) 36deg 43.2deg,
88
+ var(--first) 43.2deg 50.4deg,
89
+ var(--second) 50.4deg 57.6deg,
90
+ var(--first) 57.6deg 64.8deg,
91
+ var(--second) 64.8deg 72deg,
92
+ var(--first) 72deg 79.2deg,
93
+ var(--second) 79.2deg 86.4deg,
94
+ var(--first) 86.4deg 93.6deg,
95
+ var(--second) 93.6deg 100.8deg,
96
+ var(--first) 100.8deg 108deg,
97
+ var(--second) 108deg 115.2deg,
98
+ var(--first) 115.2deg 122.4deg,
99
+ var(--second) 122.4deg 129.6deg,
100
+ var(--first) 129.6deg 136.8deg,
101
+ var(--second) 136.8deg 144deg,
102
+ var(--first) 144deg 151.2deg,
103
+ var(--second) 151.2deg 158.4deg,
104
+ var(--first) 158.4deg 165.6deg,
105
+ var(--second) 165.6deg 172.8deg,
106
+ var(--first) 172.8deg 180deg,
107
+ var(--second) 180deg 187.2deg,
108
+ var(--first) 187.2deg 194.4deg,
109
+ var(--second) 194.4deg 201.6deg,
110
+ var(--first) 201.6deg 208.8deg,
111
+ var(--second) 208.8deg 216deg,
112
+ var(--first) 216deg 223.2deg,
113
+ var(--second) 223.2deg 230.4deg,
114
+ var(--first) 230.4deg 237.6deg,
115
+ var(--second) 237.6deg 244.8deg,
116
+ var(--first) 244.8deg 252deg,
117
+ var(--second) 252deg 259.2deg,
118
+ var(--first) 259.2deg 266.4deg,
119
+ var(--second) 266.4deg 273.6deg,
120
+ var(--first) 273.6deg 280.8deg,
121
+ var(--second) 280.8deg 288deg,
122
+ var(--first) 288deg 295.2deg,
123
+ var(--second) 295.2deg 302.4deg,
124
+ var(--first) 302.4deg 309.6deg,
125
+ var(--second) 309.6deg 316.8deg,
126
+ var(--first) 316.8deg 324deg,
127
+ var(--second) 324deg 331.2deg,
128
+ var(--first) 331.2deg 338.4deg,
129
+ var(--second) 338.4deg 345.6deg,
130
+ var(--first) 345.6deg 352.8deg,
131
+ var(--second) 352.8deg 360deg
132
+ );
133
+ animation: rotate 20s linear infinite;
134
+ }
135
+
136
+ @media (max-width: 1024px) {
137
+ .light-rays::before,
138
+ .light-rays::after {
139
+ left: auto;
140
+ right: 11%;
141
+ }
142
+ }
143
+
144
+ /* ScrollArea.module.css */
145
+ .scrollArea {
146
+ overflow-y: scroll;
147
+ padding-right: 4px;
148
+ }
149
+
150
+ /* WebKit-based browsers */
151
+ .scrollArea::-webkit-scrollbar {
152
+ width: 8px;
153
+ }
154
+
155
+ .scrollArea::-webkit-scrollbar-track {
156
+ background: var(--color-bg-primary-alt);
157
+ border-radius: 9999px;
158
+ }
159
+
160
+ .scrollArea::-webkit-scrollbar-thumb {
161
+ background-color: var(--color-bg-quaternary);
162
+ border-radius: 9999px;
163
+ }
164
+
165
+ @keyframes waveColor {
166
+ 0%,
167
+ 2.5% {
168
+ color: var(--wave-highlight-color);
169
+ }
170
+ 2.51%,
171
+ 100% {
172
+ color: var(--color-brand-300);
173
+ }
174
+ }
175
+
176
+ .animate-wave-color-success {
177
+ --wave-highlight-color: var(--color-success-800);
178
+ animation: waveColor 4s ease-in-out infinite;
179
+ }
180
+
181
+ .animate-wave-color-error {
182
+ --wave-highlight-color: var(--color-error-600);
183
+ animation: waveColor 4s ease-in-out infinite;
184
+ }
@@ -12,6 +12,7 @@ import closeChest from '../../../images/close-chest.png';
12
12
  import firstPlace from '../../../images/first-place.png';
13
13
  import leaderboard from '../../../images/leaderboard.png';
14
14
  import openChest from '../../../images/open-chest.png';
15
+ import { Tooltip } from '../../../ui/Tooltip/index.js';
15
16
  import { capitalize } from '../../../utils/capitalize.js';
16
17
  import { formatNumber } from '../../../utils/formatNumber.js';
17
18
  import { getPercentage } from '../../../utils/getPercentage.js';
@@ -40,7 +41,17 @@ export function JackpotsListItemDesktop({ animate = true, ...props }) {
40
41
  }) }), _jsxs("div", { className: "relative flex items-center justify-end gap-1.5", children: [isPayingOut ? (_jsxs("div", { className: "flex w-6 items-center", children: [_jsx("div", { className: twMerge('absolute left-0', styles['animate-arrow-red-flash-1']), children: _jsx(ChevronLeftIcon, { className: "size-4.5" }) }), _jsx("div", { className: twMerge('absolute left-1.5', styles['animate-arrow-red-flash-2']), children: _jsx(ChevronLeftIcon, { className: "size-4.5" }) }), _jsx("div", { className: twMerge('absolute left-3', styles['animate-arrow-red-flash-3']), children: _jsx(ChevronLeftIcon, { className: "size-4.5" }) })] })) : (_jsxs("div", { className: "flex w-6 items-center", children: [_jsx("div", { className: twMerge('absolute left-0', styles['animate-arrow-green-flash-1']), children: _jsx(ChevronRightIcon, { className: "size-4.5" }) }), _jsx("div", { className: twMerge('absolute left-1.5', styles['animate-arrow-green-flash-2']), children: _jsx(ChevronRightIcon, { className: "size-4.5" }) }), _jsx("div", { className: twMerge('absolute left-3', styles['animate-arrow-green-flash-3']), children: _jsx(ChevronRightIcon, { className: "size-4.5" }) })] })), _jsx("div", { className: "text-text-primary-900 text-xs font-semibold", children: formatNumber(jackpot?.maximumJackpotPoolLimit, {
41
42
  currency: localeInfo.currency.code,
42
43
  compact: true,
43
- }) })] })] }), _jsx(Progress.Root, { className: "bg-bg-primary h-2 w-full rounded-full lg:h-4", max: 100, value: getPercentage(jackpot.pool, jackpot.maximumJackpotPoolLimit), children: _jsx(Progress.Track, { className: "bg-bg-primary h-full overflow-hidden rounded-full", children: _jsx(Progress.Range, { className: "bg-brand-500 relative h-full overflow-hidden rounded-full pl-1.5", children: _jsx("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-start pl-1.5", "aria-hidden": "true", children: arrowImages }) }) }) }), _jsx("div", { className: "mt-1 block text-start text-2xs lg:hidden", children: isPayingOut
44
+ }) })] })] }), _jsx(Progress.Root, { className: "bg-bg-primary h-2 w-full rounded-full lg:h-4", max: 100, value: getPercentage(jackpot.pool, jackpot.maximumJackpotPoolLimit), children: _jsx(Progress.Track, { className: "bg-bg-primary h-full overflow-hidden rounded-full", children: _jsxs(Progress.Range, { className: "bg-brand-500 relative h-full overflow-hidden rounded-full pl-1.5", children: [_jsxs(Tooltip.Root, { openDelay: 0, closeDelay: 100, lazyMount: true, unmountOnExit: true, positioning: { strategy: 'fixed', placement: 'top' }, children: [_jsx(Tooltip.Trigger, { asChild: true, children: _jsx("div", { className: "absolute inset-0 h-full w-full" }) }), _jsx(Tooltip.Positioner, { children: _jsxs(Tooltip.Content, { children: [_jsxs("div", { className: "text-xs", children: ["Current\uD83D\uDCB0:", ' ', formatNumber(jackpot.pool, {
45
+ currency: localeInfo.currency.code,
46
+ minDecimalPlaces: 2,
47
+ maxDecimalPlaces: 2,
48
+ })] }), _jsx(Tooltip.Arrow, { children: _jsx(Tooltip.ArrowTip, {}) })] }) })] }), _jsx("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-start pl-1.5", "aria-hidden": "true", children: arrowImages }), _jsxs(Tooltip.Root, { openDelay: 0, closeDelay: 100, lazyMount: true, unmountOnExit: true, positioning: { strategy: 'fixed', placement: 'top' }, children: [_jsx(Tooltip.Trigger, { asChild: true, children: _jsx("div", { className: "absolute inset-0 h-full bg-black opacity-30", style: {
49
+ width: `${getPercentage(jackpot.minimumJackpotPoolDrawingLimit, jackpot.pool)}%`,
50
+ } }) }), _jsx(Tooltip.Positioner, { children: _jsxs(Tooltip.Content, { children: [_jsxs("div", { className: "text-xs", children: ["Minimum Payout Limit:", ' ', formatNumber(jackpot.minimumJackpotPoolDrawingLimit, {
51
+ currency: localeInfo.currency.code,
52
+ minDecimalPlaces: 2,
53
+ maxDecimalPlaces: 2,
54
+ })] }), _jsx(Tooltip.Arrow, { children: _jsx(Tooltip.ArrowTip, {}) })] }) })] })] }) }) }), _jsx("div", { className: "mt-1 block text-start text-2xs lg:hidden", children: isPayingOut
44
55
  ? `The pot has hit ${formatNumber(jackpot?.maximumJackpotPoolLimit, {
45
56
  currency: localeInfo.currency.code,
46
57
  compact: true,
@@ -50,24 +50,24 @@ export function validateFile(file) {
50
50
  return 'Unsupported file';
51
51
  }
52
52
  export function showPermissionInstructions() {
53
- const instructions = `
54
- Camera access is blocked. To enable camera access:
55
-
56
- Chrome/Edge:
57
- 1. Click the camera icon in the address bar
58
- 2. Select "Always allow" and click "Done"
59
- 3. Or go to Settings > Privacy and security > Site settings > Camera
60
-
61
- Firefox:
62
- 1. Click the shield icon in the address bar
63
- 2. Click on "Camera blocked"
64
- 3. Select "Allow" and refresh the page
65
-
66
- Safari:
67
- 1. Go to Safari > Settings > Websites > Camera
68
- 2. Find this website and change to "Allow"
69
-
70
- After changing permissions, please refresh the page and try again.
53
+ const instructions = `
54
+ Camera access is blocked. To enable camera access:
55
+
56
+ Chrome/Edge:
57
+ 1. Click the camera icon in the address bar
58
+ 2. Select "Always allow" and click "Done"
59
+ 3. Or go to Settings > Privacy and security > Site settings > Camera
60
+
61
+ Firefox:
62
+ 1. Click the shield icon in the address bar
63
+ 2. Click on "Camera blocked"
64
+ 3. Select "Allow" and refresh the page
65
+
66
+ Safari:
67
+ 1. Go to Safari > Settings > Websites > Camera
68
+ 2. Find this website and change to "Allow"
69
+
70
+ After changing permissions, please refresh the page and try again.
71
71
  `;
72
72
  alert(instructions);
73
73
  }
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
2
2
  import Image from 'next/image';
3
3
  import Link from 'next/link';
4
4
  import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon.js';
5
- import { Prose } from '../../ui/Prose.js';
5
+ import { Prose } from '../../ui/Prose/index.js';
6
6
  import { stripTags } from '../../utils/stripTags.js';
7
7
  export function News(props) {
8
8
  return (_jsxs(_Fragment, { children: [_jsx("meta", { name: "description", content: stripTags(props.news.content) }), _jsx("meta", { name: "og:title", content: props.news.title }), _jsx("meta", { name: "og:description", content: stripTags(props.news.content) }), _jsx("meta", { name: "og:image", content: props.news.image }), _jsx("meta", { name: "twitter:title", content: props.news.title }), _jsx("meta", { name: "twitter:description", content: stripTags(props.news.content) }), _jsx("meta", { name: "twitter:image", content: props.news.image }), _jsx("meta", { name: "twitter:card", content: "summary_large_image" }), _jsxs("div", { style: props.style, className: props.className, children: [_jsxs(Link, { href: props.viewAllUrl ?? '/news', className: "text-button-secondary-fg flex items-center gap-lg text-lg font-semibold", children: [_jsx(ChevronLeftIcon, { className: "size-6" }), "Back to all News"] }), _jsx(Image, { src: props.news.image, alt: "", width: 1024, height: 600, priority: true, unoptimized: true, className: "mt-3xl block h-auto w-full rounded-xl lg:mt-6" }), _jsx("p", { className: "text-brand-400 mt-xl text-sm font-semibold lg:mt-6", children: props.news.category }), _jsx("h2", { className: "mt-xl text-2xl font-semibold lg:mt-6", children: props.news.title }), _jsx(Prose, { className: "mt-xl lg:mt-6", dangerouslySetInnerHTML: {
@@ -4,7 +4,7 @@ import { usePathname, useRouter, useSearchParams } from 'next/navigation';
4
4
  import { useCallback, useEffect } from 'react';
5
5
  import { useFeatureFlag } from '../../client/hooks/useFeatureFlag.js';
6
6
  import { Portal } from '../../ui/Portal/index.js';
7
- import { Presence } from '../../ui/Presence.js';
7
+ import { Presence } from '../../ui/Presence/index.js';
8
8
  export function FeatureFlag() {
9
9
  const router = useRouter();
10
10
  const pathname = usePathname();
@@ -11,7 +11,7 @@ import { useLocaleInfo } from '../../client/hooks/useLocaleInfo.js';
11
11
  import { usePromoQuery } from '../../client/hooks/usePromoQuery.js';
12
12
  import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon.js';
13
13
  import { Button } from '../../ui/Button/index.js';
14
- import { Prose } from '../../ui/Prose.js';
14
+ import { Prose } from '../../ui/Prose/index.js';
15
15
  export function Promo__client(props) {
16
16
  const localeInfo = useLocaleInfo();
17
17
  const availablePromosQuery = useAvailablePromosQuery();
@@ -0,0 +1,3 @@
1
+ import type { ResponsibleGamingProps } from './ResponsibleGaming.lazy';
2
+ export declare function ResponsibleGaming(props: ResponsibleGamingProps): import("react/jsx-runtime").JSX.Element | undefined;
3
+ export type { ResponsibleGamingProps };
@@ -0,0 +1,14 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import dynamic from 'next/dynamic';
4
+ import { useShallow } from 'zustand/shallow';
5
+ import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
6
+ const Component = dynamic(() => import('./ResponsibleGaming.lazy.js').then((m) => m.ResponsibleGaming), {
7
+ ssr: false,
8
+ loading: () => null,
9
+ });
10
+ export function ResponsibleGaming(props) {
11
+ const touched = useGlobalStore(useShallow((ctx) => ctx.responsibleGaming['~touched']));
12
+ if (touched)
13
+ return _jsx(Component, { ...props });
14
+ }
@@ -0,0 +1,8 @@
1
+ import { type ImageProps } from 'next/image';
2
+ import type { ReactNode } from 'react';
3
+ export interface ResponsibleGamingProps {
4
+ logo: ImageProps['src'];
5
+ content: string | ReactNode;
6
+ responsibleGamingLogo?: ImageProps['src'];
7
+ }
8
+ export declare function ResponsibleGaming(props: ResponsibleGamingProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,35 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import Image, {} from 'next/image';
3
+ import { useShallow } from 'zustand/shallow';
4
+ import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
5
+ import pagcorLogo from '../../images/pagcor.png';
6
+ import responsibleGamingLogo from '../../images/responsible-gaming.png';
7
+ import { Button } from '../../ui/Button/index.js';
8
+ import { Dialog } from '../../ui/Dialog/index.js';
9
+ import { Portal } from '../../ui/Portal/index.js';
10
+ export function ResponsibleGaming(props) {
11
+ const globalStore = useGlobalStore(useShallow((ctx) => ({
12
+ signIn: ctx.signIn,
13
+ signUp: ctx.signUp,
14
+ disclaimer: ctx.disclaimer,
15
+ responsibleGaming: ctx.responsibleGaming,
16
+ })));
17
+ return (_jsx(Dialog.Root, { open: globalStore.responsibleGaming.open, onOpenChange: (details) => {
18
+ globalStore.responsibleGaming.setOpen(details.open);
19
+ if (!details.open)
20
+ globalStore.responsibleGaming.setAccepted(true);
21
+ }, lazyMount: true, unmountOnExit: true, closeOnEscape: false, closeOnInteractOutside: false, onExitComplete: () => {
22
+ if (globalStore.responsibleGaming.next === 'SIGN_IN') {
23
+ globalStore.signIn.setOpen(true);
24
+ }
25
+ if (globalStore.responsibleGaming.next === 'SIGN_UP') {
26
+ globalStore.signUp.setOpen(true);
27
+ }
28
+ if (globalStore.responsibleGaming.next === 'DISCLAIMER') {
29
+ globalStore.disclaimer.setOpen(true);
30
+ }
31
+ globalStore.responsibleGaming.setNext(null);
32
+ }, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "z-popover" }), _jsx(Dialog.Positioner, { className: "z-popover", children: _jsxs(Dialog.Content, { className: "flex h-full w-full flex-col items-start overflow-y-auto p-3xl lg:mx-auto lg:h-auto lg:w-[400px] lg:rounded-xl", children: [_jsx(Image, { src: props.logo, alt: "", width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }), _jsxs("div", { className: "w-full grow", children: [_jsx(Dialog.Title, { className: "text-brand-400 mt-3xl text-center text-lg font-semibold", children: "Responsible Gaming" }), _jsx(Dialog.Description, { className: "leading-2xl mt-xs text-sm", children: props.content }), _jsxs("div", { className: "mt-5 flex items-center justify-center gap-3xl", children: [_jsx(Image, { src: pagcorLogo, alt: "", height: 75, width: 88, className: "h-[88px] w-auto shrink-0", draggable: false }), _jsx(Image, { src: props.responsibleGamingLogo ?? responsibleGamingLogo, alt: "", height: 62, width: 186, className: "h-[62px] w-auto shrink-0", draggable: false })] })] }), _jsx(Dialog.Context, { children: (api) => (_jsx(Button, { type: "button", className: "mt-3", onClick: () => {
33
+ api.setOpen(false);
34
+ }, children: "I Agree" })) })] }) })] }) }));
35
+ }
@@ -0,0 +1 @@
1
+ export * from './ResponsibleGaming';
@@ -0,0 +1 @@
1
+ export * from './ResponsibleGaming.js';
@@ -18,7 +18,7 @@ import { Dialog } from '../../ui/Dialog/index.js';
18
18
  import { Field } from '../../ui/Field/index.js';
19
19
  import { IconButton } from '../../ui/IconButton/index.js';
20
20
  import { Portal } from '../../ui/Portal/index.js';
21
- import { Presence } from '../../ui/Presence.js';
21
+ import { Presence } from '../../ui/Presence/index.js';
22
22
  import { callIfFn } from '../../utils/callIfFn.js';
23
23
  import { getGameImageUrl } from '../../utils/getGameImageUrl.js';
24
24
  import { GameLaunchTrigger } from '../GameLaunch/index.js';