@opexa/portal-components 0.0.608 → 0.0.610

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 (221) hide show
  1. package/dist/client/hooks/useAccountQuery.js +8 -13
  2. package/dist/components/Jackpots/Jackpots.module.css +184 -184
  3. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
  4. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
  5. package/dist/components/KYC/KYCDefault/KYCDefault.js +2 -8
  6. package/dist/components/KYC/KYCDefault/KYCVerificationStatus.lazy.js +2 -2
  7. package/dist/components/KYC/KYCReminder.lazy.js +5 -15
  8. package/dist/components/KYC/KYCVerificationStatus.lazy.js +2 -2
  9. package/dist/components/KYC/KycOpenOnHomeMount.js +2 -8
  10. package/dist/components/Messages/MessagesPopup.js +2 -20
  11. package/dist/components/SignUp/SignUpDefault/SignUpDefaultForm.js +1 -8
  12. package/dist/components/SignUp/SignUpKYC/SignUpKYCForm.js +1 -8
  13. package/dist/components/SignUp/SignUpNameAndPassword/SignUpNameAndPasswordForm.js +1 -8
  14. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  15. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  16. package/dist/services/queries.js +2758 -2758
  17. package/dist/styles/theme.css +762 -762
  18. package/dist/ui/AlertDialog/AlertDialog.d.ts +55 -55
  19. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +5 -5
  20. package/dist/ui/Badge/Badge.d.ts +12 -12
  21. package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
  22. package/dist/ui/Badge/badge.recipe.d.ts +3 -3
  23. package/dist/ui/Carousel/Carousel.d.ts +99 -99
  24. package/dist/ui/Carousel/carousel.recipe.d.ts +11 -11
  25. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  26. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  27. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  28. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  29. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  30. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  31. package/dist/ui/Dialog/Dialog.d.ts +33 -33
  32. package/dist/ui/Dialog/dialog.recipe.d.ts +3 -3
  33. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  34. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  35. package/dist/ui/Menu/Menu.d.ts +252 -252
  36. package/dist/ui/Menu/menu.recipe.d.ts +14 -14
  37. package/dist/ui/Popover/Popover.d.ts +55 -55
  38. package/dist/ui/Popover/popover.recipe.d.ts +5 -5
  39. package/dist/ui/Progress/Progress.d.ts +27 -27
  40. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  41. package/dist/ui/QrCode/QrCode.d.ts +25 -25
  42. package/dist/ui/QrCode/qrCode.recipe.d.ts +5 -5
  43. package/dist/ui/Select/Select.d.ts +45 -45
  44. package/dist/ui/Select/select.recipe.d.ts +3 -3
  45. package/dist/ui/Table/Table.d.ts +21 -21
  46. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  47. package/dist/ui/Table/table.recipe.d.ts +3 -3
  48. package/dist/ui/Tabs/Tabs.d.ts +15 -15
  49. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  50. package/package.json +163 -163
  51. package/dist/components/DigitainLauncher/Loading.d.ts +0 -1
  52. package/dist/components/DigitainLauncher/Loading.js +0 -5
  53. package/dist/components/Disclaimer/ResponsibleGaming.d.ts +0 -10
  54. package/dist/components/Disclaimer/ResponsibleGaming.js +0 -13
  55. package/dist/components/Disclaimer/TermsOfUse.d.ts +0 -11
  56. package/dist/components/Disclaimer/TermsOfUse.js +0 -13
  57. package/dist/components/FeatureFlag/FeatureFlag.d.ts +0 -1
  58. package/dist/components/FeatureFlag/FeatureFlag.js +0 -29
  59. package/dist/components/FeatureFlag/index.d.ts +0 -1
  60. package/dist/components/FeatureFlag/index.js +0 -1
  61. package/dist/components/KYC/AutoOpen.d.ts +0 -1
  62. package/dist/components/KYC/AutoOpen.js +0 -40
  63. package/dist/components/KYC/BasicInformation.d.ts +0 -1
  64. package/dist/components/KYC/BasicInformation.js +0 -101
  65. package/dist/components/KYC/CaptureIdDocument.d.ts +0 -1
  66. package/dist/components/KYC/CaptureIdDocument.js +0 -219
  67. package/dist/components/KYC/CaptureSelfie.d.ts +0 -1
  68. package/dist/components/KYC/CaptureSelfie.js +0 -285
  69. package/dist/components/KYC/DisplayImage.d.ts +0 -5
  70. package/dist/components/KYC/DisplayImage.js +0 -8
  71. package/dist/components/KYC/FileUpload.d.ts +0 -10
  72. package/dist/components/KYC/FileUpload.js +0 -72
  73. package/dist/components/KYC/IdentityVerification.d.ts +0 -1
  74. package/dist/components/KYC/IdentityVerification.js +0 -120
  75. package/dist/components/KYC/Indicator.d.ts +0 -1
  76. package/dist/components/KYC/Indicator.js +0 -8
  77. package/dist/components/KYC/KYC.lazy.d.ts +0 -6
  78. package/dist/components/KYC/KYC.lazy.js +0 -45
  79. package/dist/components/KYC/KYCContext.d.ts +0 -6
  80. package/dist/components/KYC/KYCContext.js +0 -2
  81. package/dist/components/KYC/NoCameraError.d.ts +0 -7
  82. package/dist/components/KYC/NoCameraError.js +0 -6
  83. package/dist/components/KYC/PersonOverlayDesktop.d.ts +0 -7
  84. package/dist/components/KYC/PersonOverlayDesktop.js +0 -9
  85. package/dist/components/KYC/PersonalInformation.d.ts +0 -1
  86. package/dist/components/KYC/PersonalInformation.js +0 -122
  87. package/dist/components/KYC/backup/Header.d.ts +0 -1
  88. package/dist/components/KYC/backup/Header.js +0 -8
  89. package/dist/components/KYC/backup/Indicator.d.ts +0 -1
  90. package/dist/components/KYC/backup/Indicator.js +0 -9
  91. package/dist/components/KYC/backup/KYC.d.ts +0 -1
  92. package/dist/components/KYC/backup/KYC.js +0 -14
  93. package/dist/components/KYC/backup/KYC.lazy.d.ts +0 -1
  94. package/dist/components/KYC/backup/KYC.lazy.js +0 -26
  95. package/dist/components/KYC/backup/KYCContext.d.ts +0 -6
  96. package/dist/components/KYC/backup/KYCContext.js +0 -2
  97. package/dist/components/KYC/backup/Step1.d.ts +0 -1
  98. package/dist/components/KYC/backup/Step1.js +0 -13
  99. package/dist/components/KYC/backup/Step2.d.ts +0 -1
  100. package/dist/components/KYC/backup/Step2.js +0 -13
  101. package/dist/components/KYC/backup/Step3.d.ts +0 -1
  102. package/dist/components/KYC/backup/Step3.js +0 -13
  103. package/dist/components/KYC/backup/Step4.d.ts +0 -1
  104. package/dist/components/KYC/backup/Step4.js +0 -7
  105. package/dist/components/KYC/backup/useKYC.d.ts +0 -10
  106. package/dist/components/KYC/backup/useKYC.js +0 -8
  107. package/dist/components/KYC/loadModels.d.ts +0 -1
  108. package/dist/components/KYC/loadModels.js +0 -9
  109. package/dist/components/KYC/useKYC.d.ts +0 -25
  110. package/dist/components/KYC/useKYC.js +0 -38
  111. package/dist/components/KYC/utils.d.ts +0 -9
  112. package/dist/components/KYC/utils.js +0 -79
  113. package/dist/components/Messages/Message.d.ts +0 -1
  114. package/dist/components/Messages/Message.js +0 -35
  115. package/dist/components/Messages/MessageContext.d.ts +0 -6
  116. package/dist/components/Messages/MessageContext.js +0 -2
  117. package/dist/components/Messages/MessagePopup.d.ts +0 -1
  118. package/dist/components/Messages/MessagePopup.js +0 -20
  119. package/dist/components/Messages/MessageTrigger.d.ts +0 -8
  120. package/dist/components/Messages/MessageTrigger.js +0 -19
  121. package/dist/components/PortalProvider/CXDTokenObserver.d.ts +0 -1
  122. package/dist/components/PortalProvider/CXDTokenObserver.js +0 -30
  123. package/dist/components/Quests/CountdownTimer.d.ts +0 -15
  124. package/dist/components/Quests/CountdownTimer.js +0 -33
  125. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +0 -4
  126. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +0 -78
  127. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +0 -8
  128. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +0 -9
  129. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +0 -4
  130. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.js +0 -4
  131. package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +0 -4
  132. package/dist/components/Quests/WageringQuest/WageringQuest.js +0 -20
  133. package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +0 -9
  134. package/dist/components/Quests/WageringQuest/WageringQuestModal.js +0 -9
  135. package/dist/components/SignIn/utils.d.ts +0 -8
  136. package/dist/components/SignIn/utils.js +0 -26
  137. package/dist/components/SignUp/SignUp.lazy.d.ts +0 -12
  138. package/dist/components/SignUp/SignUp.lazy.js +0 -18
  139. package/dist/components/SignUp/SignUpContext.d.ts +0 -6
  140. package/dist/components/SignUp/SignUpContext.js +0 -2
  141. package/dist/components/SignUp/SignUpDefault/SignUp.lazy.d.ts +0 -17
  142. package/dist/components/SignUp/SignUpDefault/SignUp.lazy.js +0 -18
  143. package/dist/components/SignUp/SignUpDefault/SignUpContext.d.ts +0 -6
  144. package/dist/components/SignUp/SignUpDefault/SignUpContext.js +0 -2
  145. package/dist/components/SignUp/SignUpDefault/SignUpForm.d.ts +0 -1
  146. package/dist/components/SignUp/SignUpDefault/SignUpForm.js +0 -310
  147. package/dist/components/SignUp/SignUpForm.d.ts +0 -1
  148. package/dist/components/SignUp/SignUpForm.js +0 -284
  149. package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.d.ts +0 -1
  150. package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.js +0 -198
  151. package/dist/components/SignUp/SignUpKYC/CaptureSelfie.d.ts +0 -1
  152. package/dist/components/SignUp/SignUpKYC/CaptureSelfie.js +0 -251
  153. package/dist/components/SignUp/SignUpKYC/ImageUploader.d.ts +0 -10
  154. package/dist/components/SignUp/SignUpKYC/ImageUploader.js +0 -42
  155. package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.d.ts +0 -7
  156. package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.js +0 -9
  157. package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.d.ts +0 -1
  158. package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.js +0 -464
  159. package/dist/components/SignUp/SignUpKYC/useImageUploader.d.ts +0 -11
  160. package/dist/components/SignUp/SignUpKYC/useImageUploader.js +0 -20
  161. package/dist/components/SignUp/SignUpKYC/utils.d.ts +0 -9
  162. package/dist/components/SignUp/SignUpKYC/utils.js +0 -79
  163. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +0 -1
  164. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +0 -198
  165. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +0 -1
  166. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +0 -251
  167. package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +0 -10
  168. package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +0 -41
  169. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +0 -1
  170. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +0 -429
  171. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +0 -13
  172. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +0 -26
  173. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +0 -7
  174. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +0 -2
  175. package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +0 -11
  176. package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +0 -20
  177. package/dist/components/shared/IdDocumentField.client.d.ts +0 -25
  178. package/dist/components/shared/IdDocumentField.client.js +0 -204
  179. package/dist/components/shared/IdDocumentField.d.ts +0 -2
  180. package/dist/components/shared/IdDocumentField.js +0 -11
  181. package/dist/components/shared/SelfieField.client.d.ts +0 -20
  182. package/dist/components/shared/SelfieField.client.js +0 -327
  183. package/dist/components/shared/SelfieField.d.ts +0 -2
  184. package/dist/components/shared/SelfieField.js +0 -11
  185. package/dist/constants/BranchCode.d.ts +0 -4
  186. package/dist/constants/BranchCode.js +0 -42
  187. package/dist/constants/Branches.d.ts +0 -2
  188. package/dist/constants/Branches.js +0 -42
  189. package/dist/handlers/postTransformIdFrontImage.d.ts +0 -3
  190. package/dist/handlers/postTransformIdFrontImage.js +0 -67
  191. package/dist/handlers/postTransformSelfieImage.d.ts +0 -3
  192. package/dist/handlers/postTransformSelfieImage.js +0 -71
  193. package/dist/handlers.d.ts +0 -43
  194. package/dist/handlers.js +0 -297
  195. package/dist/icons/BellRingIcon.d.ts +0 -2
  196. package/dist/icons/BellRingIcon.js +0 -4
  197. package/dist/images/responsible-gaming-yellow.png +0 -0
  198. package/dist/third-parties/FacebookPixel/FacebookPixel.d.ts +0 -4
  199. package/dist/third-parties/FacebookPixel/FacebookPixel.js +0 -4
  200. package/dist/third-parties/FacebookPixel/api.d.ts +0 -0
  201. package/dist/third-parties/FacebookPixel/api.js +0 -1
  202. package/dist/third-parties/FacebookPixel/index.d.ts +0 -1
  203. package/dist/third-parties/FacebookPixel/index.js +0 -1
  204. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.d.ts +0 -4
  205. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.js +0 -4
  206. package/dist/third-parties/GoogleRecaptcha/api.d.ts +0 -0
  207. package/dist/third-parties/GoogleRecaptcha/api.js +0 -1
  208. package/dist/third-parties/GoogleRecaptcha/index.d.ts +0 -1
  209. package/dist/third-parties/GoogleRecaptcha/index.js +0 -1
  210. package/dist/third-parties/index.d.ts +0 -2
  211. package/dist/third-parties/index.js +0 -2
  212. package/dist/utils/dataUrlToBlob.d.ts +0 -1
  213. package/dist/utils/dataUrlToBlob.js +0 -11
  214. package/dist/utils/gamesAvailable3pmTo3am.d.ts +0 -1
  215. package/dist/utils/gamesAvailable3pmTo3am.js +0 -1
  216. package/dist/utils/getGameName.d.ts +0 -1
  217. package/dist/utils/getGameName.js +0 -6
  218. package/dist/utils/isBetween3amAnd3pm.d.ts +0 -1
  219. package/dist/utils/isBetween3amAnd3pm.js +0 -5
  220. package/dist/utils/resizeImageSize.d.ts +0 -2
  221. package/dist/utils/resizeImageSize.js +0 -11
@@ -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
+ }
@@ -1,7 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import Image from 'next/image';
3
3
  import { useShallow } from 'zustand/shallow';
4
- import { useFeatureFlag } from '../../../client/hooks/useFeatureFlag.js';
5
4
  import { useGlobalStore } from '../../../client/hooks/useGlobalStore.js';
6
5
  import { useSessionQuery } from '../../../client/hooks/useSessionQuery.js';
7
6
  import { Dialog } from '../../../ui/Dialog/index.js';
@@ -18,14 +17,9 @@ export function KYCDefault(props) {
18
17
  kycReminder: ctx.kycReminder,
19
18
  responsibleGamingReminder: ctx.responsibleGamingReminder,
20
19
  })));
21
- const featureFlag = useFeatureFlag();
22
20
  const kyc = useKYCDefault(props?.isSkippable ?? false);
23
- const { data: session, isLoading: sessionLoading } = useSessionQuery();
24
- const isDialogOpen = featureFlag.enabled
25
- ? !globalStore.kycReminder.open && globalStore.kyc.open && !sessionLoading
26
- : globalStore.kyc.open &&
27
- !sessionLoading &&
28
- session?.status !== 'unauthenticated';
21
+ const { isLoading: sessionLoading } = useSessionQuery();
22
+ const isDialogOpen = !globalStore.kycReminder.open && globalStore.kyc.open && !sessionLoading;
29
23
  return (_jsxs(_Fragment, { children: [_jsx(KYCDefaultContext, { value: kyc, children: _jsx(Dialog.Root, { open: isDialogOpen && !globalStore.responsibleGamingReminder.open, onOpenChange: (details) => {
30
24
  globalStore.kyc.setOpen(details.open);
31
25
  }, lazyMount: true, unmountOnExit: true, closeOnEscape: false, closeOnInteractOutside: false, onExitComplete: kyc.reset, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, {}), _jsx(Dialog.Positioner, { children: _jsx(Dialog.Content, { className: "mx-auto min-h-full w-full overflow-y-auto bg-bg-primary-alt lg:min-h-auto lg:w-fit", children: _jsxs("div", { className: "flex h-dvh w-full flex-col overflow-y-auto p-3xl sm:h-fit sm:overflow-auto lg:w-[400px]", children: [_jsx(Image, { src: props.logo, alt: "", width: 200, height: 100, className: "mx-auto mb-5 block h-7.5 w-auto", draggable: false }), _jsx(Indicator, {}), kyc.step === 1 && _jsx(IdentityVerification, {}), kyc.step === 2 && _jsx(PersonalInformation, {})] }) }) })] }) }) }), _jsx(KYCReminder, { ...props })] }));
@@ -20,8 +20,8 @@ export function KYCVerificationStatus() {
20
20
  return (_jsx(Dialog.Root, { open: globalStore.kycVerificationStatus.open, onOpenChange: (details) => {
21
21
  globalStore.kycVerificationStatus.setOpen(details.open);
22
22
  }, closeOnEscape: false, closeOnInteractOutside: false, 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: _jsx(Dialog.Content, { className: "mx-auto h-fit w-[450px] overflow-y-auto rounded-lg bg-bg-primary", children: _jsxs("div", { className: "p-3xl text-center", children: [_jsx("div", { className: "mb-3xl grid h-[200px] w-full place-items-center rounded-xl bg-radial from-40% from-button-primary-bg to-bg-brand-solid", children: _jsx(Image, { src: icons, alt: "icon", className: "w-60 object-contain", draggable: false }) }), _jsxs("h1", { className: "font-semibold text-lg text-white", children: [status === 'PENDING' && 'Verification in Progress', status === 'REJECTED' && 'Verification Rejected', status === 'UNVERIFIED' && 'Verification Required'] }), _jsxs("p", { className: "mb-4xl text-[#94969C] text-base", children: [status === 'PENDING' &&
23
- `Your account verification is still under review. Please wait
24
- until it's approved before you can continue playing or
23
+ `Your account verification is still under review. Please wait
24
+ until it's approved before you can continue playing or
25
25
  depositing.`, status === 'REJECTED' &&
26
26
  'Your account verification was not approved. Please resubmit your verification to regain full access.', status === 'UNVERIFIED' &&
27
27
  'Your account is not yet verified. Please complete the verification process to continue playing or depositing.'] }), _jsxs(Button, { variant: "solid", className: twMerge('mb-2 w-full', status === 'PENDING' && 'hidden'), onClick: () => {
@@ -5,7 +5,6 @@ import { useRouter } from 'next/navigation';
5
5
  import { useMemo } from 'react';
6
6
  import { useShallow } from 'zustand/shallow';
7
7
  import { useAccountQuery } from '../../client/hooks/useAccountQuery.js';
8
- import { useFeatureFlag } from '../../client/hooks/useFeatureFlag.js';
9
8
  import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
10
9
  import { useSessionQuery } from '../../client/hooks/useSessionQuery.js';
11
10
  import { useSignOutMutation } from '../../client/hooks/useSignOutMutation.js';
@@ -18,7 +17,6 @@ import { Dialog } from '../../ui/Dialog/index.js';
18
17
  import { Portal } from '../../ui/Portal/index.js';
19
18
  export function KYCReminder(props) {
20
19
  const router = useRouter();
21
- const featureFlag = useFeatureFlag();
22
20
  const globalStore = useGlobalStore(useShallow((ctx) => ({
23
21
  kyc: ctx.kyc,
24
22
  kycReminder: ctx.kycReminder,
@@ -51,35 +49,27 @@ export function KYCReminder(props) {
51
49
  const isResponsibleGamingReminderClosed = !globalStore.responsibleGamingReminder.open;
52
50
  const isKYCStateRelevant = isNotVerified
53
51
  ? true
54
- : !featureFlag.enabled
55
- ? false
56
- : isPending || isVerificationLocked;
52
+ : isPending || isVerificationLocked;
57
53
  return (_jsx(Dialog.Root, { open: isSessionReady &&
58
54
  isAccountReady &&
59
55
  isKYCReminderOpen &&
60
56
  isKYCStateRelevant &&
61
57
  isResponsibleGamingReminderClosed, onOpenChange: (details) => {
62
58
  globalStore.kycReminder.setOpen(details.open);
63
- }, closeOnEscape: false, closeOnInteractOutside: false, 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: "mx-auto h-fit max-w-[calc(100dvw-1rem)] overflow-y-auto rounded-lg bg-bg-primary lg:max-w-[400px]", children: [featureFlag.enabled &&
64
- !isPending &&
65
- isNotVerified &&
66
- isVerificationLocked && (_jsxs("div", { className: "p-3xl text-center", children: [_jsx("div", { className: "mx-auto mb-4 w-fit rounded-full p-2", children: _jsx(Image, { src: props.logo, alt: `${props.siteName} logo`, width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }) }), _jsx("h2", { className: `mt-4 font-semibold text-lg ${props.titleBgColor}`, children: "Temporarily Locked" }), _jsx("p", { className: `mt-xs text-sm text-text-tertiary-600 ${props.descriptionBgColor}`, children: "Your account has been locked due to incomplete verification. Please complete your verification to restore full access." }), _jsxs("div", { className: "mt-6 flex w-full items-center justify-center gap-3xl", children: [_jsx(Image, { src: props.pagcorLogo?.logo ?? pagcorLogo, alt: "PAGCOR logo", height: 88, width: 88, className: `h-[88px] w-auto shrink-0 ${props.pagcorLogo?.styles ?? ''}`, draggable: false, unoptimized: true }), _jsx(Image, { src: props.responsibleGamingLogo?.logo ??
67
- responsibleGamingLogo, alt: "Responsible Gaming logo", height: 50, width: 186, className: `h-[50px] w-auto shrink-0 ${props.responsibleGamingLogo?.styles ?? ''}`, draggable: false, unoptimized: true })] }), _jsx(Dialog.Context, { children: (api) => (_jsx("div", { className: "mt-6 space-y-lg", children: _jsx(Button, { onClick: () => {
59
+ }, closeOnEscape: false, closeOnInteractOutside: false, 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: "mx-auto h-fit max-w-[calc(100dvw-1rem)] overflow-y-auto rounded-lg bg-bg-primary lg:max-w-[400px]", children: [!isPending && isNotVerified && isVerificationLocked && (_jsxs("div", { className: "p-3xl text-center", children: [_jsx("div", { className: "mx-auto mb-4 w-fit rounded-full p-2", children: _jsx(Image, { src: props.logo, alt: `${props.siteName} logo`, width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }) }), _jsx("h2", { className: `mt-4 font-semibold text-lg ${props.titleBgColor}`, children: "Temporarily Locked" }), _jsx("p", { className: `mt-xs text-sm text-text-tertiary-600 ${props.descriptionBgColor}`, children: "Your account has been locked due to incomplete verification. Please complete your verification to restore full access." }), _jsxs("div", { className: "mt-6 flex w-full items-center justify-center gap-3xl", children: [_jsx(Image, { src: props.pagcorLogo?.logo ?? pagcorLogo, alt: "PAGCOR logo", height: 88, width: 88, className: `h-[88px] w-auto shrink-0 ${props.pagcorLogo?.styles ?? ''}`, draggable: false, unoptimized: true }), _jsx(Image, { src: props.responsibleGamingLogo?.logo ?? responsibleGamingLogo, alt: "Responsible Gaming logo", height: 50, width: 186, className: `h-[50px] w-auto shrink-0 ${props.responsibleGamingLogo?.styles ?? ''}`, draggable: false, unoptimized: true })] }), _jsx(Dialog.Context, { children: (api) => (_jsx("div", { className: "mt-6 space-y-lg", children: _jsx(Button, { onClick: () => {
68
60
  api.setOpen(false);
69
61
  globalStore.kyc.setOpen(true);
70
- }, children: "Complete KYC" }) })) })] })), featureFlag.enabled &&
71
- isNotVerified &&
62
+ }, children: "Complete KYC" }) })) })] })), isNotVerified &&
72
63
  daysFromCreationToNow <= 3 &&
73
64
  daysFromCreationToNow >= 1 &&
74
65
  !isVerificationLocked && (_jsxs(_Fragment, { children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "p-3xl text-center", children: [_jsx("div", { className: "mx-auto mb-4 w-fit rounded-full bg-bg-primary p-2", children: _jsx(Image, { src: props.logo, alt: `${props.siteName} logo`, width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }) }), _jsx("h2", { className: `mt-4 font-semibold text-lg ${props.titleBgColor}`, children: "JUST A FRIENDLY REMINDER" }), _jsxs("p", { className: `mt-xs text-sm text-text-tertiary-600 ${props.descriptionBgColor}`, children: ["Please complete your KYC information within", ' ', _jsx("span", { className: "font-semibold text-[#FF0000]", children: "3 days" }), ' ', "to avoid temporary lock on your account."] }), _jsxs("div", { className: "mt-6 flex w-full items-center justify-center gap-3xl", children: [_jsx(Image, { src: props.pagcorLogo?.logo ?? pagcorLogo, alt: "PAGCOR logo", height: 88, width: 88, className: `h-[88px] w-auto shrink-0 ${props.pagcorLogo?.styles ?? ''}`, draggable: false, unoptimized: true }), _jsx(Image, { src: props.responsibleGamingLogo?.logo ??
75
66
  responsibleGamingLogo, alt: "Responsible Gaming logo", height: 50, width: 186, className: `h-[50px] w-auto shrink-0 ${props.responsibleGamingLogo?.styles ?? ''}`, draggable: false, unoptimized: true })] }), _jsx(Dialog.Context, { children: (api) => (_jsx("div", { className: "mt-6 space-y-lg", children: _jsx(Button, { onClick: () => {
76
67
  api.setOpen(false);
77
68
  globalStore.kyc.setOpen(true);
78
- }, children: "Complete KYC" }) })) })] })] })), ((isNotVerified && !isVerificationLocked) ||
79
- (isNotVerified && !featureFlag.enabled)) && (_jsxs(_Fragment, { children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "p-3xl text-center", children: [_jsx("div", { className: "mx-auto w-fit rounded-full bg-bg-primary p-2", children: _jsx(FileCheck02Icon, { className: "text-[#FEDF89]" }) }), _jsx("h2", { className: `mt-4 font-semibold text-lg ${props.titleBgColor}`, children: "Personal Verification" }), _jsxs("p", { className: `mt-xs text-sm text-text-tertiary-600 ${props.descriptionBgColor}`, children: ["All new users are required to complete identity verification to access the full range of ", props.siteName, " services, including withdrawals."] }), _jsx(Dialog.Context, { children: (api) => (_jsxs("div", { className: "mt-3xl space-y-lg", children: [_jsx(Button, { onClick: () => {
69
+ }, children: "Complete KYC" }) })) })] })] })), isNotVerified && !isVerificationLocked && (_jsxs(_Fragment, { children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "p-3xl text-center", children: [_jsx("div", { className: "mx-auto w-fit rounded-full bg-bg-primary p-2", children: _jsx(FileCheck02Icon, { className: "text-[#FEDF89]" }) }), _jsx("h2", { className: `mt-4 font-semibold text-lg ${props.titleBgColor}`, children: "Personal Verification" }), _jsxs("p", { className: `mt-xs text-sm text-text-tertiary-600 ${props.descriptionBgColor}`, children: ["All new users are required to complete identity verification to access the full range of ", props.siteName, " services, including withdrawals."] }), _jsx(Dialog.Context, { children: (api) => (_jsxs("div", { className: "mt-3xl space-y-lg", children: [_jsx(Button, { onClick: () => {
80
70
  api.setOpen(false);
81
71
  globalStore.kyc.setOpen(true);
82
- }, children: "Verify Now" }), _jsx(Button, { type: "button", variant: "outline", fullWidth: true, onClick: () => api.setOpen(false), children: "Do it later" })] })) })] })] })), featureFlag.enabled && isPending && isVerificationLocked && (_jsxs("div", { className: "p-3xl text-center", children: [_jsx("div", { className: "mx-auto mb-4 w-fit rounded-full bg-bg-primary p-2", children: _jsx(Image, { src: props.logo, alt: `${props.siteName} logo`, width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }) }), _jsx("h2", { className: `mt-4 font-semibold text-lg ${props.titleBgColor}`, children: "VERIFICATION IN PROGRESS" }), _jsx("p", { className: `mt-xs text-sm text-text-tertiary-600 ${props.descriptionBgColor}`, children: "Your account is verification-locked. Please wait for approval to regain full access to this platform." }), _jsxs("div", { className: "mt-6 flex w-full items-center justify-center gap-3xl", children: [_jsx(Image, { src: props.pagcorLogo?.logo ?? pagcorLogo, alt: "PAGCOR logo", height: 88, width: 88, className: `h-[88px] w-auto shrink-0 ${props.pagcorLogo?.styles ?? ''}`, draggable: false, unoptimized: true }), _jsx(Image, { src: props.responsibleGamingLogo?.logo ?? responsibleGamingLogo, alt: "Responsible Gaming logo", height: 50, width: 186, className: `h-[50px] w-auto shrink-0 ${props.responsibleGamingLogo?.styles ?? ''}`, draggable: false, unoptimized: true })] }), _jsx("div", { className: "mt-6 space-y-lg", children: _jsx(Button, { onClick: () => {
72
+ }, children: "Verify Now" }), _jsx(Button, { type: "button", variant: "outline", fullWidth: true, onClick: () => api.setOpen(false), children: "Do it later" })] })) })] })] })), isPending && isVerificationLocked && (_jsxs("div", { className: "p-3xl text-center", children: [_jsx("div", { className: "mx-auto mb-4 w-fit rounded-full bg-bg-primary p-2", children: _jsx(Image, { src: props.logo, alt: `${props.siteName} logo`, width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }) }), _jsx("h2", { className: `mt-4 font-semibold text-lg ${props.titleBgColor}`, children: "VERIFICATION IN PROGRESS" }), _jsx("p", { className: `mt-xs text-sm text-text-tertiary-600 ${props.descriptionBgColor}`, children: "Your account is verification-locked. Please wait for approval to regain full access to this platform." }), _jsxs("div", { className: "mt-6 flex w-full items-center justify-center gap-3xl", children: [_jsx(Image, { src: props.pagcorLogo?.logo ?? pagcorLogo, alt: "PAGCOR logo", height: 88, width: 88, className: `h-[88px] w-auto shrink-0 ${props.pagcorLogo?.styles ?? ''}`, draggable: false, unoptimized: true }), _jsx(Image, { src: props.responsibleGamingLogo?.logo ?? responsibleGamingLogo, alt: "Responsible Gaming logo", height: 50, width: 186, className: `h-[50px] w-auto shrink-0 ${props.responsibleGamingLogo?.styles ?? ''}`, draggable: false, unoptimized: true })] }), _jsx("div", { className: "mt-6 space-y-lg", children: _jsx(Button, { onClick: () => {
83
73
  signOutMutation.mutate();
84
74
  globalStore.account.setOpen(false);
85
75
  globalStore.account__mobile.setOpen(false);
@@ -20,8 +20,8 @@ export function KYCVerificationStatus() {
20
20
  return (_jsx(Dialog.Root, { open: globalStore.kycVerificationStatus.open, onOpenChange: (details) => {
21
21
  globalStore.kycVerificationStatus.setOpen(details.open);
22
22
  }, closeOnEscape: false, closeOnInteractOutside: false, 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: _jsx(Dialog.Content, { className: "mx-auto h-fit w-[450px] overflow-y-auto rounded-lg bg-bg-primary", children: _jsxs("div", { className: "p-3xl text-center", children: [_jsx("div", { className: "mb-3xl grid h-[200px] w-full place-items-center rounded-xl bg-radial from-40% from-button-primary-bg to-bg-brand-solid", children: _jsx(Image, { src: icons, alt: "icon", className: "w-60 object-contain", draggable: false, width: 120, height: 120 }) }), _jsxs("h1", { className: "font-semibold text-lg text-white", children: [status === 'PENDING' && 'Verification in Progress', status === 'REJECTED' && 'Verification Rejected', status === 'UNVERIFIED' && 'Verification Required'] }), _jsxs("p", { className: "mb-4xl text-[#94969C] text-base", children: [status === 'PENDING' &&
23
- `Your account verification is still under review. Please wait
24
- until it's approved before you can continue playing or
23
+ `Your account verification is still under review. Please wait
24
+ until it's approved before you can continue playing or
25
25
  depositing.`, status === 'REJECTED' &&
26
26
  'Your account verification was not approved. Please resubmit your verification to regain full access.', status === 'UNVERIFIED' &&
27
27
  'Your account is not yet verified. Please complete the verification process to continue playing or depositing.'] }), _jsxs(Button, { variant: "solid", className: twMerge('mb-2 w-full', status === 'PENDING' && 'hidden'), onClick: () => {
@@ -1,15 +1,11 @@
1
1
  'use client';
2
- import { usePathname } from 'next/navigation';
3
2
  import { useEffect } from 'react';
4
3
  import { useAccountQuery } from '../../client/hooks/useAccountQuery.js';
5
- import { useFeatureFlag } from '../../client/hooks/useFeatureFlag.js';
6
4
  import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
7
5
  import { useMemberVerificationQuery } from '../../client/hooks/useMemberVerificationQuery.js';
8
6
  export function KycOpenOnHomeMount(props) {
9
- const featureFlag = useFeatureFlag();
10
7
  const setkycReminderOpen = useGlobalStore((s) => s.kycReminder.setOpen);
11
8
  const setkycOpen = useGlobalStore((s) => s.kyc.setOpen);
12
- const pathname = usePathname();
13
9
  const { data: verification, isLoading: verificationLoading } = useMemberVerificationQuery();
14
10
  const { data: account, isLoading: accountLoading } = useAccountQuery();
15
11
  const isVerificationLocked = account?.status === 'VERIFICATION_LOCKED';
@@ -37,9 +33,9 @@ export function KycOpenOnHomeMount(props) {
37
33
  !verification?.placeOfBirth ||
38
34
  !verification?.address;
39
35
  useEffect(() => {
40
- if (pathname === '/' && !verificationLoading && !accountLoading) {
36
+ if (!verificationLoading && !accountLoading) {
41
37
  // Handle pending case with feature flag
42
- if (isPending && featureFlag.enabled) {
38
+ if (isPending) {
43
39
  setkycOpen(false);
44
40
  setkycReminderOpen(true);
45
41
  }
@@ -60,7 +56,6 @@ export function KycOpenOnHomeMount(props) {
60
56
  }
61
57
  }
62
58
  }, [
63
- pathname,
64
59
  setkycReminderOpen,
65
60
  setkycOpen,
66
61
  props.isSkippable,
@@ -70,7 +65,6 @@ export function KycOpenOnHomeMount(props) {
70
65
  hasntCompletedKYC,
71
66
  isVerificationLocked,
72
67
  isPending,
73
- featureFlag.enabled,
74
68
  ]);
75
69
  return null;
76
70
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import Image from 'next/image';
3
3
  import Link from 'next/link';
4
- import { useState, useEffect } from 'react';
4
+ import { useState } from 'react';
5
5
  import { useInterval } from 'usehooks-ts';
6
6
  import { useShallow } from 'zustand/shallow';
7
7
  import { useDisclosure } from '../../client/hooks/useDisclosure.js';
@@ -18,13 +18,11 @@ import { Portal } from '../../ui/Portal/index.js';
18
18
  import { MessageIcon } from './MessageIcon.js';
19
19
  import { useMessagesPropsContext } from './MessagesContext.js';
20
20
  import { normalizeActionUrl } from './utils.js';
21
- import { useFeatureFlag } from '../../client/hooks/useFeatureFlag.js';
22
21
  const PAUSE_TIME = 1000 * 60 * 15; // 15 minutes
23
22
  export function MessagesPopup() {
24
23
  const messagesProps = useMessagesPropsContext();
25
24
  const questsPageUrl = messagesProps.questsPageUrl ?? '/quests';
26
25
  const transactionsPageUrl = messagesProps.transactionsPageUrl ?? '/transactions';
27
- const featureFlag = useFeatureFlag();
28
26
  const globalStore = useGlobalStore(useShallow((ctx) => ({
29
27
  kyc: ctx.kyc,
30
28
  account: ctx.account,
@@ -40,7 +38,6 @@ export function MessagesPopup() {
40
38
  const markMessageAsReadMutation = useMarkMessageAsReadMutation();
41
39
  const [paused, setPaused] = useState(false);
42
40
  const [numbefOfUnreadMessages, setNumberOfUnreadMessages] = useState(0);
43
- const [isHasRejectionMessage, setIsHasRejectionMessage] = useState(false);
44
41
  useInterval(() => {
45
42
  setPaused(false);
46
43
  }, paused ? PAUSE_TIME : null);
@@ -78,18 +75,10 @@ export function MessagesPopup() {
78
75
  !globalStore.message.open &&
79
76
  !globalStore.account.open &&
80
77
  !globalStore.account__mobile.open &&
81
- !globalStore.kyc.open &&
82
- (!globalStore.kyc.open || featureFlag.enabled),
78
+ !globalStore.kyc.open,
83
79
  refetchInterval: disclosure.open ? undefined : 1000 * 10,
84
80
  });
85
81
  const messages = messagesQuery.data?.pages.flatMap((page) => page.edges.map((edge) => edge.node)) ?? [];
86
- useEffect(() => {
87
- const rejectionMessages = messages.filter((msg) => msg.type === 'REJECTION' && msg.markedAsRead === false);
88
- if (rejectionMessages.length > 0 && featureFlag.enabled) {
89
- setIsHasRejectionMessage(true);
90
- setPaused(false);
91
- }
92
- }, [messages, featureFlag.enabled]);
93
82
  const [index, setIndex_] = useState(0);
94
83
  const setIndex = (newIndex) => {
95
84
  setIndex_(newIndex);
@@ -103,9 +92,6 @@ export function MessagesPopup() {
103
92
  useInterval(() => {
104
93
  if (messages.length <= 0)
105
94
  return;
106
- if (isHasRejectionMessage && featureFlag.enabled)
107
- globalStore.kycReminder.setOpen(false);
108
- ;
109
95
  disclosure.setOpen(true);
110
96
  }, !disclosure.open && !paused ? 2500 : null);
111
97
  // Resume showing messages if the number of unread messages changes
@@ -117,10 +103,6 @@ export function MessagesPopup() {
117
103
  !globalStore.kyc.open &&
118
104
  !globalStore.kycReminder.open, onOpenChange: (details) => {
119
105
  disclosure.setOpen(details.open);
120
- if (!details.open && featureFlag.enabled && isHasRejectionMessage) {
121
- globalStore.kycReminder.setOpen(true);
122
- setIsHasRejectionMessage(false);
123
- }
124
106
  }, 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: "mx-auto max-h-[80vh] 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) => {
125
107
  setIndex(details.page);
126
108
  }, 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: "mx-auto flex size-12 items-center justify-center rounded-full bg-bg-brand-secondary text-text-brand", children: _jsx(MessageIcon, { type: message.icon, className: "size-6" }) }), _jsx("h2", { className: "mt-lg text-center font-semibold text-lg xl:mt-xl", children: message.title }), message.content && (_jsx("div", { dangerouslySetInnerHTML: { __html: message.content }, className: "mt-xs pb-5 text-left text-sm text-text-secondary-700 [&_li>ol]:list-decimal [&_li>ol]:pl-5 [&_li>ul]:list-disc [&_li>ul]:pl-5 [&_li]:mb-1 [&_ol]:list-decimal [&_ol]:pl-5 [&_ul]:list-disc [&_ul]:pl-5" })), 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, {
@@ -13,7 +13,6 @@ import { z } from 'zod';
13
13
  import { useShallow } from 'zustand/shallow';
14
14
  import { useControllableState } from '../../../client/hooks/useControllableState.js';
15
15
  import { useCooldown } from '../../../client/hooks/useCooldown.js';
16
- import { useFeatureFlag } from '../../../client/hooks/useFeatureFlag.js';
17
16
  import { useGlobalStore } from '../../../client/hooks/useGlobalStore.js';
18
17
  import { useLocaleInfo } from '../../../client/hooks/useLocaleInfo.js';
19
18
  import { useMobileNumberParser } from '../../../client/hooks/useMobileNumberParser.js';
@@ -42,7 +41,6 @@ import { createPoll } from '../../../utils/createPoll.js';
42
41
  import { useSignUpDefaultPropsContext } from './SignUpDefaultContext.js';
43
42
  export function SignUpDefaultForm() {
44
43
  const signUpProps = useSignUpDefaultPropsContext();
45
- const featureFlag = useFeatureFlag();
46
44
  const branchCollection = createListCollection({
47
45
  items: signUpProps.branches ?? [],
48
46
  itemToValue: (item) => item.code,
@@ -273,12 +271,7 @@ export function SignUpDefaultForm() {
273
271
  return;
274
272
  }
275
273
  globalStore.signUp.setOpen(false);
276
- if (!featureFlag.enabled) {
277
- globalStore.kyc.setOpen(true);
278
- }
279
- else {
280
- globalStore.kycReminder.setOpen(true);
281
- }
274
+ globalStore.kycReminder.setOpen(true);
282
275
  step1Form.reset();
283
276
  step2Form.reset();
284
277
  setStep(1);