@opexa/portal-components 0.0.271 → 0.0.274

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 (248) hide show
  1. package/dist/client/hooks/useCamera.d.ts +1 -1
  2. package/dist/client/hooks/useCamera.js +51 -43
  3. package/dist/client/hooks/usePxToRemConverter.d.ts +2 -0
  4. package/dist/client/hooks/usePxToRemConverter.js +18 -0
  5. package/dist/client/hooks/useRect.d.ts +5 -0
  6. package/dist/client/hooks/useRect.js +45 -0
  7. package/dist/components/Bonus/Bonus.client.js +1 -1
  8. package/dist/components/Cashback/Cashback.client.js +1 -1
  9. package/dist/components/CustomPromo/CustomPromo.js +1 -1
  10. package/dist/components/GameLaunch/GameLaunch.lazy.js +1 -1
  11. package/dist/components/GamesSearch/GamesSearch.js +1 -1
  12. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
  13. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
  14. package/dist/components/KYC/AutoOpen.js +3 -8
  15. package/dist/components/KYC/KYCReminder.lazy.js +2 -0
  16. package/dist/components/KYC/utils.js +18 -18
  17. package/dist/components/Messages/Message.js +3 -2
  18. package/dist/components/Messages/MessagePopup.js +3 -2
  19. package/dist/components/Messages/MessagesPopup.js +4 -2
  20. package/dist/components/News/News.js +1 -1
  21. package/dist/components/PortalProvider/FeatureFlag.js +1 -1
  22. package/dist/components/Promo/Promo.client.js +1 -1
  23. package/dist/components/Search/Search.lazy.js +1 -1
  24. package/dist/components/SignUp/SignUpForm.js +0 -4
  25. package/dist/components/SignUp/SignUpKYC/IdFrontImageField/IdFrontImageField.client.d.ts +15 -0
  26. package/dist/components/SignUp/SignUpKYC/IdFrontImageField/IdFrontImageField.client.js +100 -0
  27. package/dist/components/SignUp/SignUpKYC/IdFrontImageField/IdFrontImageField.d.ts +2 -0
  28. package/dist/components/SignUp/SignUpKYC/IdFrontImageField/IdFrontImageField.js +11 -0
  29. package/dist/components/SignUp/SignUpKYC/IdFrontImageField/IdFrontImageFieldContext.d.ts +6 -0
  30. package/dist/components/SignUp/SignUpKYC/IdFrontImageField/IdFrontImageFieldContext.js +2 -0
  31. package/dist/components/SignUp/SignUpKYC/IdFrontImageField/index.d.ts +1 -0
  32. package/dist/components/SignUp/SignUpKYC/IdFrontImageField/index.js +1 -0
  33. package/dist/components/SignUp/SignUpKYC/IdFrontImageField/useIdFrontImageField.d.ts +18 -0
  34. package/dist/components/SignUp/SignUpKYC/IdFrontImageField/useIdFrontImageField.js +88 -0
  35. package/dist/components/SignUp/SignUpKYC/SelfieImageField/SelfieImageField.client.d.ts +15 -0
  36. package/dist/components/SignUp/SignUpKYC/SelfieImageField/SelfieImageField.client.js +113 -0
  37. package/dist/components/SignUp/SignUpKYC/SelfieImageField/SelfieImageField.d.ts +2 -0
  38. package/dist/components/SignUp/SignUpKYC/SelfieImageField/SelfieImageField.js +11 -0
  39. package/dist/components/SignUp/SignUpKYC/SelfieImageField/SelfieImageFieldContext.d.ts +6 -0
  40. package/dist/components/SignUp/SignUpKYC/SelfieImageField/SelfieImageFieldContext.js +2 -0
  41. package/dist/components/SignUp/SignUpKYC/SelfieImageField/index.d.ts +1 -0
  42. package/dist/components/SignUp/SignUpKYC/SelfieImageField/index.js +1 -0
  43. package/dist/components/SignUp/SignUpKYC/SelfieImageField/useSelfieImageField.d.ts +19 -0
  44. package/dist/components/SignUp/SignUpKYC/SelfieImageField/useSelfieImageField.js +186 -0
  45. package/dist/components/SignUp/SignUpKYC/SignUpKYC.lazy.js +3 -12
  46. package/dist/components/SignUp/SignUpKYC/SignUpKYCContext.d.ts +2 -3
  47. package/dist/components/SignUp/SignUpKYC/SignUpKYCForm.d.ts +1 -0
  48. package/dist/components/SignUp/SignUpKYC/SignUpKYCForm.js +464 -0
  49. package/dist/components/SignUp/SignUpKYC/utils.js +18 -18
  50. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +1 -0
  51. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +198 -0
  52. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +1 -0
  53. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +251 -0
  54. package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +10 -0
  55. package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +41 -0
  56. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +1 -0
  57. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +429 -0
  58. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +13 -0
  59. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +26 -0
  60. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +7 -0
  61. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +2 -0
  62. package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +11 -0
  63. package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +20 -0
  64. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  65. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  66. package/dist/components/shared/IdFrontImageField/IdFrontImageField.client.js +11 -46
  67. package/dist/components/shared/SelfieImageField/SelfieImageField.client.js +20 -72
  68. package/dist/constants/EnvVar.d.ts +1 -1
  69. package/dist/handlers/postTransformIdFrontImage.d.ts +3 -0
  70. package/dist/handlers/postTransformIdFrontImage.js +67 -0
  71. package/dist/handlers/postTransformSelfieImage.d.ts +3 -0
  72. package/dist/handlers/postTransformSelfieImage.js +71 -0
  73. package/dist/next.config.js +0 -8
  74. package/dist/services/queries.js +2570 -2570
  75. package/dist/styles/theme.css +695 -695
  76. package/dist/ui/AlertDialog/AlertDialog.d.ts +88 -88
  77. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +8 -8
  78. package/dist/ui/Badge/Badge.d.ts +12 -12
  79. package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
  80. package/dist/ui/Badge/badge.recipe.d.ts +3 -3
  81. package/dist/ui/Carousel/Carousel.d.ts +72 -72
  82. package/dist/ui/Carousel/carousel.recipe.d.ts +8 -8
  83. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  84. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  85. package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
  86. package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
  87. package/dist/ui/Collapsible/Collapsible.d.ts +32 -32
  88. package/dist/ui/Collapsible/collapsible.recipe.d.ts +8 -8
  89. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  90. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  91. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  92. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  93. package/dist/ui/Dialog/Dialog.d.ts +88 -88
  94. package/dist/ui/Dialog/dialog.recipe.d.ts +8 -8
  95. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  96. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  97. package/dist/ui/Field/Field.d.ts +21 -21
  98. package/dist/ui/Field/field.recipe.d.ts +3 -3
  99. package/dist/ui/Menu/Menu.d.ts +306 -306
  100. package/dist/ui/Menu/menu.recipe.d.ts +17 -17
  101. package/dist/ui/PasswordInput/PasswordInput.d.ts +18 -18
  102. package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
  103. package/dist/ui/Popover/Popover.d.ts +88 -88
  104. package/dist/ui/Popover/popover.recipe.d.ts +8 -8
  105. package/dist/ui/Progress/Progress.d.ts +27 -27
  106. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  107. package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
  108. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
  109. package/dist/ui/Select/Select.d.ts +45 -45
  110. package/dist/ui/Select/select.recipe.d.ts +3 -3
  111. package/dist/ui/Table/Table.d.ts +21 -21
  112. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  113. package/dist/ui/Table/table.recipe.d.ts +3 -3
  114. package/dist/ui/Tabs/Tabs.d.ts +15 -15
  115. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  116. package/dist/utils/resizeImageSize.d.ts +1 -0
  117. package/dist/utils/resizeImageSize.js +5 -0
  118. package/package.json +163 -165
  119. package/dist/client/hooks/index.d.ts +0 -65
  120. package/dist/client/hooks/index.js +0 -65
  121. package/dist/client/services/index.d.ts +0 -4
  122. package/dist/client/services/index.js +0 -4
  123. package/dist/client/utils/index.d.ts +0 -3
  124. package/dist/client/utils/index.js +0 -3
  125. package/dist/components/CashbackBonus/CashbackBonus.client.d.ts +0 -2
  126. package/dist/components/CashbackBonus/CashbackBonus.client.js +0 -9
  127. package/dist/components/CashbackBonus/CashbackBonus.d.ts +0 -10
  128. package/dist/components/CashbackBonus/CashbackBonus.js +0 -5
  129. package/dist/components/CashbackBonus/index.d.ts +0 -1
  130. package/dist/components/CashbackBonus/index.js +0 -1
  131. package/dist/components/Empty.d.ts +0 -9
  132. package/dist/components/Empty.js +0 -7
  133. package/dist/components/Games/GameContext.d.ts +0 -2
  134. package/dist/components/Games/GameContext.js +0 -2
  135. package/dist/components/InfiniteScroll.d.ts +0 -10
  136. package/dist/components/InfiniteScroll.js +0 -25
  137. package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +0 -2
  138. package/dist/components/JackpotCounter/JackpotCounter.client.js +0 -66
  139. package/dist/components/JackpotCounter/JackpotCounter.d.ts +0 -17
  140. package/dist/components/JackpotCounter/JackpotCounter.js +0 -21
  141. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +0 -18
  142. package/dist/components/JackpotCounter/JackpotCounterItem.js +0 -109
  143. package/dist/components/JackpotCounter/JackpotCounterItem.module.css +0 -184
  144. package/dist/components/JackpotCounter/index.d.ts +0 -1
  145. package/dist/components/JackpotCounter/index.js +0 -1
  146. package/dist/components/Jackpots/JackpotDesktop.d.ts +0 -1
  147. package/dist/components/Jackpots/JackpotDesktop.js +0 -45
  148. package/dist/components/Jackpots/JackpotGameProviders.d.ts +0 -5
  149. package/dist/components/Jackpots/JackpotGameProviders.js +0 -41
  150. package/dist/components/Jackpots/JackpotItemDesktop.d.ts +0 -9
  151. package/dist/components/Jackpots/JackpotItemDesktop.js +0 -43
  152. package/dist/components/Jackpots/JackpotItemMobile.d.ts +0 -9
  153. package/dist/components/Jackpots/JackpotItemMobile.js +0 -44
  154. package/dist/components/Jackpots/JackpotMobile.d.ts +0 -1
  155. package/dist/components/Jackpots/JackpotMobile.js +0 -46
  156. package/dist/components/Jackpots/JackpotRules.d.ts +0 -5
  157. package/dist/components/Jackpots/JackpotRules.js +0 -11
  158. package/dist/components/Jackpots/Jackpots.client.d.ts +0 -2
  159. package/dist/components/Jackpots/Jackpots.client.js +0 -29
  160. package/dist/components/Jackpots/JackpotsContext.d.ts +0 -4
  161. package/dist/components/Jackpots/JackpotsContext.js +0 -3
  162. package/dist/components/Jackpots/useJackpotData.d.ts +0 -14
  163. package/dist/components/Jackpots/useJackpotData.js +0 -93
  164. package/dist/components/Jackpots/useJackpotItemData.d.ts +0 -20
  165. package/dist/components/Jackpots/useJackpotItemData.js +0 -87
  166. package/dist/components/KYC/Header.d.ts +0 -1
  167. package/dist/components/KYC/Header.js +0 -8
  168. package/dist/components/KYC/Step1.d.ts +0 -1
  169. package/dist/components/KYC/Step1.js +0 -13
  170. package/dist/components/KYC/Step2.d.ts +0 -1
  171. package/dist/components/KYC/Step2.js +0 -13
  172. package/dist/components/KYC/Step3.d.ts +0 -1
  173. package/dist/components/KYC/Step3.js +0 -13
  174. package/dist/components/KYC/Step4.d.ts +0 -1
  175. package/dist/components/KYC/Step4.js +0 -7
  176. package/dist/components/Messages/MessageItem.d.ts +0 -4
  177. package/dist/components/Messages/MessageItem.js +0 -34
  178. package/dist/components/Promo/PromoContent.d.ts +0 -2
  179. package/dist/components/Promo/PromoContent.js +0 -9
  180. package/dist/components/Promos/PromoCarousel.d.ts +0 -2
  181. package/dist/components/Promos/PromoCarousel.js +0 -41
  182. package/dist/components/Promos/PromoGrid.d.ts +0 -2
  183. package/dist/components/Promos/PromoGrid.js +0 -12
  184. package/dist/components/Promos/PromoItem.d.ts +0 -7
  185. package/dist/components/Promos/PromoItem.js +0 -10
  186. package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +0 -2
  187. package/dist/components/TournamentCounter/TournamentCounter.client.js +0 -50
  188. package/dist/components/TournamentCounter/TournamentCounter.d.ts +0 -8
  189. package/dist/components/TournamentCounter/TournamentCounter.js +0 -21
  190. package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +0 -8
  191. package/dist/components/TournamentCounter/TournamentCounterItem.js +0 -106
  192. package/dist/components/TournamentCounter/index.d.ts +0 -1
  193. package/dist/components/TournamentCounter/index.js +0 -1
  194. package/dist/components/Tournaments/TournamentDesktop.d.ts +0 -1
  195. package/dist/components/Tournaments/TournamentDesktop.js +0 -57
  196. package/dist/components/Tournaments/TournamentGameProviders.d.ts +0 -5
  197. package/dist/components/Tournaments/TournamentGameProviders.js +0 -38
  198. package/dist/components/Tournaments/TournamentItemDesktop.d.ts +0 -7
  199. package/dist/components/Tournaments/TournamentItemDesktop.js +0 -56
  200. package/dist/components/Tournaments/TournamentItemMobile.d.ts +0 -7
  201. package/dist/components/Tournaments/TournamentItemMobile.js +0 -54
  202. package/dist/components/Tournaments/TournamentMobile.d.ts +0 -1
  203. package/dist/components/Tournaments/TournamentMobile.js +0 -55
  204. package/dist/components/Tournaments/TournamentRules.d.ts +0 -5
  205. package/dist/components/Tournaments/TournamentRules.js +0 -11
  206. package/dist/components/Tournaments/Tournaments.client.d.ts +0 -2
  207. package/dist/components/Tournaments/Tournaments.client.js +0 -20
  208. package/dist/components/Tournaments/TournamentsContext.d.ts +0 -4
  209. package/dist/components/Tournaments/TournamentsContext.js +0 -3
  210. package/dist/components/Tournaments/useTournamentData.d.ts +0 -10
  211. package/dist/components/Tournaments/useTournamentData.js +0 -72
  212. package/dist/components/Tournaments/useTournamentItemData.d.ts +0 -16
  213. package/dist/components/Tournaments/useTournamentItemData.js +0 -64
  214. package/dist/components/index.d.ts +0 -33
  215. package/dist/components/index.js +0 -33
  216. package/dist/constants/endpoints.d.ts +0 -10
  217. package/dist/constants/endpoints.js +0 -41
  218. package/dist/constants/envVars.d.ts +0 -5
  219. package/dist/constants/envVars.js +0 -28
  220. package/dist/constants/gameProviders.d.ts +0 -76
  221. package/dist/constants/gameProviders.js +0 -361
  222. package/dist/constants/gameTypes.d.ts +0 -3
  223. package/dist/constants/gameTypes.js +0 -64
  224. package/dist/constants/headerKeys.d.ts +0 -2
  225. package/dist/constants/headerKeys.js +0 -2
  226. package/dist/constants/secretQuestions.d.ts +0 -3
  227. package/dist/constants/secretQuestions.js +0 -24
  228. package/dist/constants/storageKeys.d.ts +0 -2
  229. package/dist/constants/storageKeys.js +0 -2
  230. package/dist/icons/index.d.ts +0 -65
  231. package/dist/icons/index.js +0 -65
  232. package/dist/images/hacksaw-gaming.png +0 -0
  233. package/dist/server/services/index.d.ts +0 -4
  234. package/dist/server/services/index.js +0 -4
  235. package/dist/server/utils/index.d.ts +0 -29
  236. package/dist/server/utils/index.js +0 -29
  237. package/dist/ui/Presence.d.ts +0 -2
  238. package/dist/ui/Presence.js +0 -7
  239. package/dist/ui/Prose.d.ts +0 -2
  240. package/dist/ui/Prose.js +0 -5
  241. package/dist/ui/index.d.ts +0 -26
  242. package/dist/ui/index.js +0 -26
  243. package/dist/utils/createErrorFromCode.d.ts +0 -2
  244. package/dist/utils/createErrorFromCode.js +0 -11
  245. package/dist/utils/index.d.ts +0 -17
  246. package/dist/utils/index.js +0 -17
  247. package/dist/utils/isMobile.d.ts +0 -5
  248. package/dist/utils/isMobile.js +0 -9
@@ -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
+ }
@@ -22,17 +22,12 @@ export function AutoOpen() {
22
22
  : isUploadCompleted
23
23
  ? 3
24
24
  : 2;
25
- const shouldOpen = !account?.realName ||
26
- !account?.birthDay ||
27
- !verification ||
28
- verification.status === 'REJECTED' ||
29
- verification.status === 'UNVERIFIED';
25
+ const shouldOpen = !isBasicInfoCompleted || !isUploadCompleted || isRejected;
30
26
  useEffect(() => {
31
27
  if (session?.status == 'authenticated' &&
32
- !kycStore['~touched'] &&
33
28
  shouldOpen &&
34
- localStorage.getItem(KYC_PROMPT_LOCALSTORAGE_KEY) == null) {
35
- kycStore.setOpen(true);
29
+ localStorage.getItem(KYC_PROMPT_LOCALSTORAGE_KEY) === null) {
30
+ kycStore.setKycReminder(true);
36
31
  return;
37
32
  }
38
33
  }, [kycStore, session?.status, shouldOpen]);
@@ -13,6 +13,7 @@ export function KYCReminder(props) {
13
13
  const globalStore = useGlobalStore(useShallow((ctx) => ({
14
14
  kyc: ctx.kyc,
15
15
  kycReminder: ctx.kycReminder,
16
+ messages: ctx.messages,
16
17
  })));
17
18
  const { data: session, isLoading: sessionLoading } = useSessionQuery();
18
19
  const { data: account, isLoading: accountLoading } = useAccountQuery();
@@ -26,6 +27,7 @@ export function KYCReminder(props) {
26
27
  Boolean(verification?.status === 'APPROVED');
27
28
  const hasMissingData = !isBasicInfoCompleted || !isUploadCompleted || !isVerified;
28
29
  return (_jsx(Dialog.Root, { open: globalStore.kycReminder.open &&
30
+ !globalStore.messages.open &&
29
31
  !sessionLoading &&
30
32
  !accountLoading &&
31
33
  !verificationLoading &&
@@ -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
  }
@@ -7,7 +7,7 @@ import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
7
7
  import { useLocaleInfo } from '../../client/hooks/useLocaleInfo.js';
8
8
  import { useMarkMessageAsReadMutation } from '../../client/hooks/useMarkMessageAsReadMutation.js';
9
9
  import { useMessageContext } from './MessageContext.js';
10
- import { MessageIcon } from './MessageIcon.js';
10
+ import { getMessageIcon } from './utils.js';
11
11
  export function Message() {
12
12
  const message = useMessageContext();
13
13
  const localeInfo = useLocaleInfo();
@@ -16,6 +16,7 @@ export function Message() {
16
16
  messages: ctx.messages,
17
17
  })));
18
18
  const markMessageAsReadMutation = useMarkMessageAsReadMutation();
19
+ const Icon = getMessageIcon(message.icon);
19
20
  const handleViewMessage = async () => {
20
21
  globalStore.message.setData(message);
21
22
  globalStore.message.setOpen(true);
@@ -30,5 +31,5 @@ export function Message() {
30
31
  };
31
32
  return (_jsxs("div", { role: "button", tabIndex: 0, className: "border-border-secondary rounded-xs bg-bg-secondary flex h-auto flex-shrink-0 cursor-pointer flex-col border px-3.5 py-2.5", onClick: handleViewMessage, "aria-pressed": "false", children: [_jsxs("div", { className: "flex items-center space-x-2", children: [_jsx("p", { className: "text-text-tertiary-600 text-xs font-normal", children: format(new Date(message.dateTimeCreated), 'M/d/yyyy - h:mma', {
32
33
  in: tz(localeInfo.timezone),
33
- }) }), !message.markedAsRead && (_jsx("div", { className: "bg-utility-success-500 h-2.5 w-2.5 rounded-full" }))] }), _jsxs("div", { className: "mb-2 flex items-center space-x-2", children: [_jsx(MessageIcon, { type: message.icon, className: "text-brand-400 size-5" }), _jsx("p", { className: "text-text-primary-brand text-sm font-semibold", children: message.title })] }), _jsx("p", { className: "line-clamp-3 text-wrap text-sm font-normal", dangerouslySetInnerHTML: { __html: message.content } }), message.actions.length > 0 && (_jsx("div", { className: "mt-2 flex flex-wrap items-center justify-end gap-2", children: message.actions.map((action, index) => (_jsx(Link, { className: "border-button-secondary-border text-button-secondary-fg rounded-md border px-3 py-2 text-sm", href: action.url, onClick: handleActionClick, children: action.name }, index))) }))] }));
34
+ }) }), !message.markedAsRead && (_jsx("div", { className: "bg-utility-success-500 h-2.5 w-2.5 rounded-full" }))] }), _jsxs("div", { className: "mb-2 flex items-center space-x-2", children: [_jsx(Icon, { className: "text-brand-400" }), _jsx("p", { className: "text-text-primary-brand text-sm font-semibold", children: message.title })] }), _jsx("p", { className: "line-clamp-3 text-wrap text-sm font-normal", dangerouslySetInnerHTML: { __html: message.content } }), message.actions.length > 0 && (_jsx("div", { className: "mt-2 flex flex-wrap items-center justify-end gap-2", children: message.actions.map((action, index) => (_jsx(Link, { className: "border-button-secondary-border text-button-secondary-fg rounded-md border px-3 py-2 text-sm", href: action.url, onClick: handleActionClick, children: action.name }, index))) }))] }));
34
35
  }
@@ -6,12 +6,13 @@ import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
6
6
  import { XIcon } from '../../icons/XIcon.js';
7
7
  import { Dialog } from '../../ui/Dialog/index.js';
8
8
  import { Portal } from '../../ui/Portal/index.js';
9
- import { MessageIcon } from './MessageIcon.js';
9
+ import { getMessageIcon } from './utils.js';
10
10
  export const MessagePopup = () => {
11
11
  const globalStore = useGlobalStore(useShallow((ctx) => ({ message: ctx.message })));
12
+ const Icon = getMessageIcon(globalStore.message.data?.icon ?? 'MESSAGE');
12
13
  return (_jsx(Dialog.Root, { lazyMount: true, unmountOnExit: true, open: globalStore.message.open, onOpenChange: ({ open }) => {
13
14
  globalStore.message.setOpen(open);
14
- }, closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "!z-[calc(var(--z-dialog)+1)]" }), _jsx(Dialog.Positioner, { className: "!z-[calc(var(--z-dialog)+2)] flex items-center justify-center", children: _jsxs(Dialog.Content, { className: "min-h-auto mx-auto min-w-[21.438rem] max-w-[21.438rem] rounded-xl px-xl pb-0 pt-5 shadow-xl", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "pb-6", children: [_jsx("div", { className: "bg-bg-brand-secondary mx-auto w-fit rounded-full p-3", children: _jsx(MessageIcon, { type: globalStore.message.data?.icon ?? 'INFO', className: "text-text-brand size-6" }) }), _jsx("p", { className: "text-text-primary-brand mt-lg text-center text-lg font-semibold leading-tight", children: globalStore.message.data?.title }), _jsx("div", { className: "text-shadow-text-secondary-700 mt-xs text-center text-sm font-normal leading-tight", dangerouslySetInnerHTML: {
15
+ }, closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "!z-[calc(var(--z-dialog)+1)]" }), _jsx(Dialog.Positioner, { className: "!z-[calc(var(--z-dialog)+2)] flex items-center justify-center", children: _jsxs(Dialog.Content, { className: "min-h-auto mx-auto min-w-[21.438rem] max-w-[21.438rem] rounded-xl px-xl pb-0 pt-5 shadow-xl", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "pb-6", children: [_jsx("div", { className: "bg-bg-brand-secondary mx-auto w-fit rounded-full p-3", children: _jsx(Icon, { className: "text-text-brand", height: "24", width: "24" }) }), _jsx("p", { className: "text-text-primary-brand mt-lg text-center text-lg font-semibold leading-tight", children: globalStore.message.data?.title }), _jsx("div", { className: "text-shadow-text-secondary-700 mt-xs text-center text-sm font-normal leading-tight", dangerouslySetInnerHTML: {
15
16
  __html: globalStore.message.data?.content ?? '',
16
17
  } })] }), globalStore.message.data?.actions.length ? (_jsx("div", { className: "flex flex-col space-y-2 px-4 pb-8 pt-6 text-center", children: globalStore.message.data.actions.map((action, index) => (_jsx(Link, { className: "bg-button-primary-bg rounded-xs text-button-primary-fg w-full px-4 py-2.5 text-base font-semibold", href: action.url, onClick: () => {
17
18
  globalStore.message.setOpen(false);
@@ -31,6 +31,7 @@ export function MessagesPopup() {
31
31
  gameLaunch: ctx.gameLaunch,
32
32
  depositWithdrawal: ctx.depositWithdrawal,
33
33
  kycReminder: ctx.kycReminder,
34
+ signIn: ctx.signIn,
34
35
  })));
35
36
  const markMessageAsReadMutation = useMarkMessageAsReadMutation();
36
37
  const [paused, setPaused] = useState(false);
@@ -72,6 +73,7 @@ export function MessagesPopup() {
72
73
  !globalStore.account__mobile.open &&
73
74
  !globalStore.kyc.open &&
74
75
  !globalStore.kycReminder.open &&
76
+ !globalStore.signIn.open &&
75
77
  !paused,
76
78
  refetchInterval: disclosure.open ? undefined : 1000 * 10,
77
79
  });
@@ -90,10 +92,10 @@ export function MessagesPopup() {
90
92
  if (messages.length <= 0)
91
93
  return;
92
94
  disclosure.setOpen(true);
93
- }, disclosure.open || paused ? null : 2500);
95
+ }, !disclosure.open && !paused ? 2500 : null);
94
96
  return (_jsx(Dialog.Root, { open: disclosure.open, onOpenChange: (details) => {
95
97
  disclosure.setOpen(details.open);
96
- }, lazyMount: true, unmountOnExit: true, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "!z-[calc(var(--z-dialog)+3)]" }), _jsx(Dialog.Positioner, { className: "!z-[calc(var(--z-dialog)+4)] flex items-center justify-center", children: _jsxs(Dialog.Content, { className: "min-h-auto mx-auto min-w-[21.438rem] max-w-[21.438rem] rounded-xl p-3xl lg:min-w-[25rem] lg:max-w-[25rem] overflow-y-auto", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs(Carousel.Root, { page: index, onPageChange: (details) => {
98
+ }, lazyMount: true, unmountOnExit: true, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "!z-[calc(var(--z-dialog)+3)]" }), _jsx(Dialog.Positioner, { className: "!z-[calc(var(--z-dialog)+4)] flex items-center justify-center", children: _jsxs(Dialog.Content, { className: "min-h-auto mx-auto min-w-[21.438rem] max-w-[21.438rem] overflow-y-auto rounded-xl p-3xl lg:min-w-[25rem] lg:max-w-[25rem]", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs(Carousel.Root, { page: index, onPageChange: (details) => {
97
99
  setIndex(details.page);
98
100
  }, slideCount: messages.length, allowMouseDrag: true, autoplay: false, children: [_jsx(Carousel.ItemGroup, { children: messages.map((message, index) => (_jsxs(Carousel.Item, { index: index, className: "select-none", children: [_jsx("div", { className: "bg-bg-brand-secondary text-text-brand mx-auto flex size-12 items-center justify-center rounded-full", children: _jsx(MessageIcon, { type: message.icon, className: "size-6" }) }), _jsx("h2", { className: "mt-lg text-center text-lg font-semibold xl:mt-xl", children: message.title }), message.content && (_jsx("div", { dangerouslySetInnerHTML: { __html: message.content }, className: "text-text-secondary-700 mt-xs pb-5 text-center text-sm" })), message.image && (_jsx("div", { className: "mt-5 pb-5", children: _jsx(Image, { src: message.image, alt: "", width: 400, height: 250, loading: "lazy", unoptimized: true, className: "h-auto w-full rounded-sm" }) })), message.actions.length ? (_jsx("div", { className: "mt-3xl flex flex-col gap-2 text-center lg:mt-4xl", children: message.actions.map((action, index) => (_jsx(Button, { asChild: true, children: _jsx(Link, { href: normalizeActionUrl(action.url, {
99
101
  questsPageUrl,
@@ -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();
@@ -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';
@@ -46,9 +46,6 @@ export function SignUpForm() {
46
46
  itemToValue: (item) => item.code,
47
47
  itemToString: (item) => `${item.code} - ${item.name}`,
48
48
  });
49
- const globalStore = useGlobalStore(useShallow((ctx) => ({
50
- kyc: ctx.kyc,
51
- })));
52
49
  const [step, setStep] = useState(1);
53
50
  const dialog = useDialogContext();
54
51
  const search = useSearchParams();
@@ -242,7 +239,6 @@ export function SignUpForm() {
242
239
  dialog.setOpen(false);
243
240
  step1Form.reset();
244
241
  step2Form.reset();
245
- globalStore.kyc.setOpen(true);
246
242
  setStep(1);
247
243
  }
248
244
  catch (error) {
@@ -0,0 +1,15 @@
1
+ import { type CSSProperties, type RefObject } from 'react';
2
+ import { type ValidateFileError } from '../../../../utils/validateFile';
3
+ import { type UseIdFrontImageFieldProps } from './useIdFrontImageField';
4
+ export interface IdFrontImageFieldProps extends UseIdFrontImageFieldProps {
5
+ ref?: RefObject<HTMLDivElement | null>;
6
+ id?: string;
7
+ style?: CSSProperties;
8
+ className?: string;
9
+ invalid?: boolean;
10
+ readOnly?: boolean;
11
+ disabled?: boolean;
12
+ required?: boolean;
13
+ onError?: (error: ValidateFileError) => void;
14
+ }
15
+ export declare function IdFrontImageField__client(props: IdFrontImageFieldProps): import("react/jsx-runtime").JSX.Element;