@opexa/portal-components 0.0.281 → 0.0.283

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 (81) hide show
  1. package/dist/components/Disclaimer/DisclaimerV2.d.ts +1 -0
  2. package/dist/components/Disclaimer/DisclaimerV2.js +10 -3
  3. package/dist/components/GameLaunch/GameLaunchTrigger.js +8 -9
  4. package/dist/components/Games/Game.js +1 -2
  5. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.js +6 -1
  6. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
  7. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
  8. package/dist/components/Jackpots/JackpotsList/JackpotsListItemDesktop.js +6 -1
  9. package/dist/components/Jackpots/JackpotsList/JackpotsListItemMobile.js +6 -1
  10. package/dist/components/KYC/utils.js +18 -18
  11. package/dist/components/SignUp/SignUpDefault/SignUpForm.js +20 -3
  12. package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.js +2 -2
  13. package/dist/components/SignUp/SignUpKYC/CaptureSelfie.js +3 -3
  14. package/dist/components/SignUp/SignUpKYC/ImageUploader.js +1 -1
  15. package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.d.ts +7 -0
  16. package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.js +9 -0
  17. package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.js +19 -2
  18. package/dist/components/SignUp/SignUpKYC/useImageUploader.js +1 -1
  19. package/dist/components/SignUp/SignUpKYC/utils.d.ts +9 -0
  20. package/dist/components/SignUp/SignUpKYC/utils.js +79 -0
  21. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  22. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  23. package/dist/constants/PisoPayBanks.js +43 -43
  24. package/dist/handlers/index.d.ts +7 -7
  25. package/dist/handlers/postTransformIdFrontImage.js +21 -6
  26. package/dist/handlers/postTransformSelfieImage.js +20 -9
  27. package/dist/services/queries.js +2574 -2574
  28. package/dist/styles/theme.css +695 -695
  29. package/dist/ui/AlertDialog/AlertDialog.d.ts +55 -55
  30. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +5 -5
  31. package/dist/ui/Carousel/Carousel.d.ts +99 -99
  32. package/dist/ui/Carousel/carousel.recipe.d.ts +11 -11
  33. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  34. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  35. package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
  36. package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
  37. package/dist/ui/Collapsible/Collapsible.d.ts +20 -20
  38. package/dist/ui/Collapsible/collapsible.recipe.d.ts +5 -5
  39. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  40. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  41. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  42. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  43. package/dist/ui/Dialog/Dialog.d.ts +55 -55
  44. package/dist/ui/Dialog/dialog.recipe.d.ts +5 -5
  45. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  46. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  47. package/dist/ui/Field/Field.d.ts +21 -21
  48. package/dist/ui/Field/field.recipe.d.ts +3 -3
  49. package/dist/ui/Menu/Menu.d.ts +198 -198
  50. package/dist/ui/Menu/menu.recipe.d.ts +11 -11
  51. package/dist/ui/PasswordInput/PasswordInput.d.ts +18 -18
  52. package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
  53. package/dist/ui/Popover/Popover.d.ts +55 -55
  54. package/dist/ui/Popover/popover.recipe.d.ts +5 -5
  55. package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
  56. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
  57. package/dist/ui/Select/Select.d.ts +45 -45
  58. package/dist/ui/Select/select.recipe.d.ts +3 -3
  59. package/dist/ui/Table/Table.d.ts +21 -21
  60. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  61. package/dist/ui/Table/table.recipe.d.ts +3 -3
  62. package/dist/ui/Tabs/Tabs.d.ts +15 -15
  63. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  64. package/dist/utils/formatNumber.d.ts +1 -1
  65. package/dist/utils/formatNumber.js +3 -2
  66. package/dist/utils/getGameImageUrl.js +4 -3
  67. package/dist/utils/mask.d.ts +10 -0
  68. package/dist/utils/mask.js +10 -0
  69. package/dist/utils/validateFile.d.ts +1 -1
  70. package/dist/utils/validateFile.js +3 -2
  71. package/package.json +163 -163
  72. package/dist/components/shared/IdDocumentField.client.d.ts +0 -25
  73. package/dist/components/shared/IdDocumentField.client.js +0 -204
  74. package/dist/components/shared/IdDocumentField.d.ts +0 -2
  75. package/dist/components/shared/IdDocumentField.js +0 -11
  76. package/dist/components/shared/SelfieField.client.d.ts +0 -20
  77. package/dist/components/shared/SelfieField.client.js +0 -327
  78. package/dist/components/shared/SelfieField.d.ts +0 -2
  79. package/dist/components/shared/SelfieField.js +0 -11
  80. package/dist/handlers.d.ts +0 -43
  81. package/dist/handlers.js +0 -297
@@ -4,5 +4,6 @@ export interface DisclaimerV2Props {
4
4
  logo: ImageProps['src'];
5
5
  siteName: string;
6
6
  responsibleGamingLogo?: ImageProps['src'];
7
+ redirectUrlOnNoConsent?: string;
7
8
  }
8
9
  export declare function DisclaimerV2(props: DisclaimerV2Props): import("react/jsx-runtime").JSX.Element;
@@ -31,8 +31,15 @@ export function DisclaimerV2(props) {
31
31
  globalStore.responsibleGaming.setOpen(true);
32
32
  globalStore.responsibleGaming.setNext('DISCLAIMER');
33
33
  disclaimer.close();
34
- }, children: "Responsible Gaming" })] }), _jsx(Checkbox.HiddenInput, {})] }), _jsx("div", { children: "Funds or credits in the account of any individual found ineligible to participate will be forfeited and turned over to the government as required by law" })] }) }), _jsx("div", { className: "mt-4 flex w-full gap-3", children: _jsx(Button, { type: "button", onClick: () => {
35
- disclaimer.close();
36
- }, disabled: !checked, className: "mt-4", children: "Accept" }) })] }) })] }) }));
34
+ }, children: "Responsible Gaming" })] }), _jsx(Checkbox.HiddenInput, {})] }), _jsx("div", { children: "Funds or credits in the account of any individual found ineligible to participate will be forfeited and turned over to the government as required by law" })] }) }), _jsxs("div", { className: "mt-4 flex w-full gap-3", children: [_jsx(Button, { type: "button", onClick: () => {
35
+ if (props.redirectUrlOnNoConsent) {
36
+ window.location.href = props.redirectUrlOnNoConsent;
37
+ }
38
+ else {
39
+ disclaimer.close();
40
+ }
41
+ }, variant: "outline", children: "Exit" }), _jsx(Button, { type: "button", onClick: () => {
42
+ disclaimer.close();
43
+ }, disabled: !checked, children: "Accept" })] })] }) })] }) }));
37
44
  }
38
45
  const Circle = () => (_jsx("div", { children: _jsx("div", { className: "border-brand-400 flex h-4.5 w-4.5 items-center justify-center rounded-full border", children: _jsx("div", { className: "bg-brand-400 h-3 w-3 rounded-full" }) }) }));
@@ -6,8 +6,6 @@ import { useCreateGameSessionMutation } from '../../client/hooks/useCreateGameSe
6
6
  import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
7
7
  import { useSessionQuery } from '../../client/hooks/useSessionQuery.js';
8
8
  import { toaster } from '../../client/utils/toaster.js';
9
- import { GAMES_AVAILABLE_3PM_TO_3AM } from '../../utils/gamesAvailable3pmTo3am.js';
10
- import { isBetween3amAnd3pm } from '../../utils/isBetween3amAnd3pm.js';
11
9
  export function GameLaunchTrigger(props) {
12
10
  const sessionQuery = useSessionQuery();
13
11
  const createGameSessionMutation = useCreateGameSessionMutation();
@@ -15,11 +13,17 @@ export function GameLaunchTrigger(props) {
15
13
  signIn: ctx.signIn,
16
14
  gameLaunch: ctx.gameLaunch,
17
15
  })));
16
+ const currentHour = new Date().getHours();
17
+ const between3amAnd3pm = currentHour >= 15 || currentHour < 3;
18
+ const unavailable = !between3amAnd3pm &&
19
+ ['Hwd1wEWHU6Gvfwecuh', 'HwdcKd7wDpwSPHGksq'].includes('reference' in props.game ? props.game.reference : props.game.id);
18
20
  const disabled = sessionQuery.data?.status === 'unauthenticated'
19
21
  ? false
20
- : globalStore.gameLaunch.details.status !== 'WAITING'
22
+ : unavailable
21
23
  ? true
22
- : props.disabled;
24
+ : globalStore.gameLaunch.details.status !== 'WAITING'
25
+ ? true
26
+ : props.disabled;
23
27
  return (_jsx(ark.button, { type: "button", "aria-label": `Play ${props.game.name}`, "data-state": sessionQuery.data?.status === 'unauthenticated'
24
28
  ? globalStore.signIn.open
25
29
  ? 'open'
@@ -27,11 +31,6 @@ export function GameLaunchTrigger(props) {
27
31
  : globalStore.gameLaunch.details.status === 'WAITING'
28
32
  ? 'closed'
29
33
  : 'open', ...props, disabled: disabled, onClick: async (e) => {
30
- // prevent game launch for games that are only available between 3 PM and 3 AM
31
- if (!isBetween3amAnd3pm() &&
32
- GAMES_AVAILABLE_3PM_TO_3AM.includes(props.game.name)) {
33
- return;
34
- }
35
34
  if (sessionQuery.data?.status === 'unauthenticated') {
36
35
  globalStore.signIn.setOpen(true);
37
36
  return props.onClick?.(e);
@@ -9,7 +9,6 @@ import { useUnmarkGameAsFavoriteMutation } from '../../client/hooks/useUnmarkGam
9
9
  import { toaster } from '../../client/utils/toaster.js';
10
10
  import { Star01Icon } from '../../icons/Star01Icon.js';
11
11
  import { getGameImageUrl } from '../../utils/getGameImageUrl.js';
12
- import { getGameName } from '../../utils/getGameName.js';
13
12
  import { GameLaunchTrigger } from '../GameLaunch/index.js';
14
13
  import { BadgeNew } from './BadgeNew.js';
15
14
  import { BadgePopular } from './BadgePopular.js';
@@ -70,5 +69,5 @@ export function Game(props) {
70
69
  : 'text-white') }) })), _jsx(Image, { src: getGameImageUrl({
71
70
  reference: game.reference,
72
71
  provider: game.provider,
73
- }), alt: "", width: 200, height: 200, loading: "lazy", unoptimized: true, className: "aspect-square w-full rounded-t-md object-cover" }), _jsx("span", { className: twMerge('bg-bg-tertiary text-text-primary-brand block w-full truncate rounded-b-md px-2 py-3.5 text-center text-xs font-semibold', classNames.title), children: getGameName(game.reference, game.name) })] }));
72
+ }), alt: "", width: 200, height: 200, loading: "lazy", unoptimized: true, className: "aspect-square w-full rounded-t-md object-cover" }), _jsx("span", { className: twMerge('bg-bg-tertiary text-text-primary-brand block w-full truncate rounded-b-md px-2 py-3.5 text-center text-xs font-semibold', classNames.title), children: game.name })] }));
74
73
  }
@@ -20,8 +20,8 @@ import openChest from '../../../images/open-chest.png';
20
20
  import * as Tooltip from '../../../ui/Tooltip/Tooltip.js';
21
21
  import { capitalize } from '../../../utils/capitalize.js';
22
22
  import { formatNumber } from '../../../utils/formatNumber.js';
23
- import { getPercentage } from '../../../utils/getPercentage.js';
24
23
  import { mask } from '../../../utils/mask.js';
24
+ import { parseDecimal } from '../../../utils/parseDecimal.js';
25
25
  import { useJackpotsCarouselItemContext } from './JackpotsCarouselContext.js';
26
26
  import styles from './JackpotsCarouselItem.module.css';
27
27
  export function JackpotsCarouselItem({ style, className, viewAllUrl, animate = true, }) {
@@ -107,3 +107,8 @@ const getAccumulatingJackpotDescription = (part, total) => {
107
107
  ? 'The jackpot is heating up! Keep playing to stay in the action and watch it grow!'
108
108
  : '🔥 It’s about to pop! Stay in the game for your shot at the prize!';
109
109
  };
110
+ function getPercentage(value, total) {
111
+ const v = parseDecimal(value, 0);
112
+ const t = parseDecimal(total, 0);
113
+ return t === 0 ? 0 : (v / t) * 100;
114
+ }
@@ -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
+ }