@opexa/portal-components 0.0.192 → 0.0.194

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 (201) hide show
  1. package/dist/components/Bonus/Bonus.client.js +1 -1
  2. package/dist/components/Cashback/Cashback.client.js +1 -1
  3. package/dist/components/CustomPromo/CustomPromo.js +1 -1
  4. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.d.ts +2 -2
  5. package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.d.ts +1 -1
  6. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.d.ts +2 -2
  7. package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.d.ts +1 -1
  8. package/dist/components/Disclaimer/DisclaimerV2.js +7 -5
  9. package/dist/components/GameLaunch/GameLaunch.lazy.js +1 -1
  10. package/dist/components/GamesSearch/GamesSearch.js +1 -1
  11. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.js +17 -9
  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/Jackpots/JackpotsList/JackpotsListItemDesktop.js +15 -3
  15. package/dist/components/Jackpots/JackpotsList/JackpotsListItemMobile.js +17 -5
  16. package/dist/components/Jackpots/JackpotsList/useJackpotsListItemData.js +0 -4
  17. package/dist/components/KYC/backup/KYCContext.d.ts +5 -1
  18. package/dist/components/KYC/loadModels.d.ts +1 -0
  19. package/dist/components/KYC/loadModels.js +9 -0
  20. package/dist/components/KYC/utils.js +18 -18
  21. package/dist/components/Messages/MessageContext.d.ts +5 -1
  22. package/dist/components/News/News.js +1 -1
  23. package/dist/components/Promo/Promo.client.js +1 -1
  24. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +1 -1
  25. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +10 -5
  26. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +4 -3
  27. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +1 -1
  28. package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +1 -1
  29. package/dist/components/Quests/WageringQuest/WageringQuest.js +3 -2
  30. package/dist/components/Quests/WageringQuest/WageringQuestModal.js +4 -3
  31. package/dist/components/Search/Search.lazy.js +1 -1
  32. package/dist/components/SignUp/SignUpDefault/SignUpForm.js +2 -1
  33. package/dist/components/SignUp/SignUpForm.js +2 -1
  34. package/dist/components/SignUp/SignUpKYC/ImageUploader.js +2 -1
  35. package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.js +3 -2
  36. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +1 -0
  37. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +198 -0
  38. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +1 -0
  39. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +251 -0
  40. package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +10 -0
  41. package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +41 -0
  42. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +1 -0
  43. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +429 -0
  44. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +13 -0
  45. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +26 -0
  46. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +7 -0
  47. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +2 -0
  48. package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +11 -0
  49. package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +20 -0
  50. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  51. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  52. package/dist/constants/BranchCode.d.ts +4 -0
  53. package/dist/constants/BranchCode.js +42 -0
  54. package/dist/constants/GameProvider.d.ts +1 -1
  55. package/dist/constants/GameProvider.js +8 -0
  56. package/dist/images/game-providers/BNG.png +0 -0
  57. package/dist/services/queries.js +2436 -2436
  58. package/dist/styles/theme.css +693 -693
  59. package/dist/types/index.d.ts +6 -1
  60. package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
  61. package/dist/ui/Badge/badge.recipe.d.ts +3 -3
  62. package/dist/ui/Carousel/Carousel.d.ts +45 -45
  63. package/dist/ui/Carousel/carousel.recipe.d.ts +8 -8
  64. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  65. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  66. package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
  67. package/dist/ui/Collapsible/collapsible.recipe.d.ts +8 -8
  68. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  69. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  70. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  71. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  72. package/dist/ui/Menu/Menu.d.ts +90 -90
  73. package/dist/ui/Menu/menu.recipe.d.ts +8 -8
  74. package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
  75. package/dist/ui/Popover/popover.recipe.d.ts +5 -5
  76. package/dist/ui/Progress/Progress.d.ts +27 -27
  77. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  78. package/dist/ui/QrCode/qrCode.recipe.d.ts +5 -5
  79. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
  80. package/dist/ui/Select/Select.d.ts +45 -45
  81. package/dist/ui/Select/select.recipe.d.ts +3 -3
  82. package/dist/ui/Table/Table.d.ts +21 -21
  83. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  84. package/dist/ui/Table/table.recipe.d.ts +3 -3
  85. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  86. package/dist/ui/Tooltip/tooltip.recipe.d.ts +5 -5
  87. package/dist/utils/resizeImageSize.d.ts +1 -0
  88. package/dist/utils/resizeImageSize.js +5 -0
  89. package/package.json +164 -164
  90. package/dist/client/hooks/index.d.ts +0 -65
  91. package/dist/client/hooks/index.js +0 -65
  92. package/dist/client/services/index.d.ts +0 -4
  93. package/dist/client/services/index.js +0 -4
  94. package/dist/client/utils/index.d.ts +0 -3
  95. package/dist/client/utils/index.js +0 -3
  96. package/dist/components/Empty.d.ts +0 -10
  97. package/dist/components/Empty.js +0 -7
  98. package/dist/components/Games/GameContext.d.ts +0 -2
  99. package/dist/components/Games/GameContext.js +0 -2
  100. package/dist/components/InfiniteScroll.d.ts +0 -10
  101. package/dist/components/InfiniteScroll.js +0 -25
  102. package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +0 -2
  103. package/dist/components/JackpotCounter/JackpotCounter.client.js +0 -66
  104. package/dist/components/JackpotCounter/JackpotCounter.d.ts +0 -17
  105. package/dist/components/JackpotCounter/JackpotCounter.js +0 -21
  106. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +0 -18
  107. package/dist/components/JackpotCounter/JackpotCounterItem.js +0 -109
  108. package/dist/components/JackpotCounter/JackpotCounterItem.module.css +0 -184
  109. package/dist/components/JackpotCounter/index.d.ts +0 -1
  110. package/dist/components/JackpotCounter/index.js +0 -1
  111. package/dist/components/Jackpots/JackpotDesktop.d.ts +0 -1
  112. package/dist/components/Jackpots/JackpotDesktop.js +0 -45
  113. package/dist/components/Jackpots/JackpotGameProviders.d.ts +0 -5
  114. package/dist/components/Jackpots/JackpotGameProviders.js +0 -41
  115. package/dist/components/Jackpots/JackpotItemDesktop.d.ts +0 -9
  116. package/dist/components/Jackpots/JackpotItemDesktop.js +0 -43
  117. package/dist/components/Jackpots/JackpotItemMobile.d.ts +0 -9
  118. package/dist/components/Jackpots/JackpotItemMobile.js +0 -44
  119. package/dist/components/Jackpots/JackpotMobile.d.ts +0 -1
  120. package/dist/components/Jackpots/JackpotMobile.js +0 -46
  121. package/dist/components/Jackpots/JackpotRules.d.ts +0 -5
  122. package/dist/components/Jackpots/JackpotRules.js +0 -11
  123. package/dist/components/Jackpots/Jackpots.client.d.ts +0 -2
  124. package/dist/components/Jackpots/Jackpots.client.js +0 -29
  125. package/dist/components/Jackpots/JackpotsContext.d.ts +0 -4
  126. package/dist/components/Jackpots/JackpotsContext.js +0 -3
  127. package/dist/components/Jackpots/useJackpotData.d.ts +0 -14
  128. package/dist/components/Jackpots/useJackpotData.js +0 -93
  129. package/dist/components/Jackpots/useJackpotItemData.d.ts +0 -20
  130. package/dist/components/Jackpots/useJackpotItemData.js +0 -87
  131. package/dist/components/KYC/Header.d.ts +0 -1
  132. package/dist/components/KYC/Header.js +0 -6
  133. package/dist/components/KYC/Step1.d.ts +0 -1
  134. package/dist/components/KYC/Step1.js +0 -12
  135. package/dist/components/KYC/Step2.d.ts +0 -1
  136. package/dist/components/KYC/Step2.js +0 -12
  137. package/dist/components/KYC/Step3.d.ts +0 -1
  138. package/dist/components/KYC/Step3.js +0 -11
  139. package/dist/components/KYC/Step4.d.ts +0 -1
  140. package/dist/components/KYC/Step4.js +0 -6
  141. package/dist/components/Messages/MessageItem.d.ts +0 -4
  142. package/dist/components/Messages/MessageItem.js +0 -34
  143. package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +0 -2
  144. package/dist/components/TournamentCounter/TournamentCounter.client.js +0 -50
  145. package/dist/components/TournamentCounter/TournamentCounter.d.ts +0 -8
  146. package/dist/components/TournamentCounter/TournamentCounter.js +0 -21
  147. package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +0 -8
  148. package/dist/components/TournamentCounter/TournamentCounterItem.js +0 -106
  149. package/dist/components/TournamentCounter/index.d.ts +0 -1
  150. package/dist/components/TournamentCounter/index.js +0 -1
  151. package/dist/components/Tournaments/TournamentDesktop.d.ts +0 -1
  152. package/dist/components/Tournaments/TournamentDesktop.js +0 -57
  153. package/dist/components/Tournaments/TournamentGameProviders.d.ts +0 -5
  154. package/dist/components/Tournaments/TournamentGameProviders.js +0 -38
  155. package/dist/components/Tournaments/TournamentItemDesktop.d.ts +0 -7
  156. package/dist/components/Tournaments/TournamentItemDesktop.js +0 -56
  157. package/dist/components/Tournaments/TournamentItemMobile.d.ts +0 -7
  158. package/dist/components/Tournaments/TournamentItemMobile.js +0 -54
  159. package/dist/components/Tournaments/TournamentMobile.d.ts +0 -1
  160. package/dist/components/Tournaments/TournamentMobile.js +0 -55
  161. package/dist/components/Tournaments/TournamentRules.d.ts +0 -5
  162. package/dist/components/Tournaments/TournamentRules.js +0 -11
  163. package/dist/components/Tournaments/Tournaments.client.d.ts +0 -2
  164. package/dist/components/Tournaments/Tournaments.client.js +0 -20
  165. package/dist/components/Tournaments/TournamentsContext.d.ts +0 -4
  166. package/dist/components/Tournaments/TournamentsContext.js +0 -3
  167. package/dist/components/Tournaments/useTournamentData.d.ts +0 -10
  168. package/dist/components/Tournaments/useTournamentData.js +0 -72
  169. package/dist/components/Tournaments/useTournamentItemData.d.ts +0 -16
  170. package/dist/components/Tournaments/useTournamentItemData.js +0 -64
  171. package/dist/components/index.d.ts +0 -33
  172. package/dist/components/index.js +0 -33
  173. package/dist/constants/envVars.d.ts +0 -5
  174. package/dist/constants/envVars.js +0 -28
  175. package/dist/constants/gameProviders.d.ts +0 -5
  176. package/dist/constants/gameProviders.js +0 -362
  177. package/dist/constants/gameTypes.d.ts +0 -4
  178. package/dist/constants/gameTypes.js +0 -64
  179. package/dist/constants/headerKeys.d.ts +0 -1
  180. package/dist/constants/headerKeys.js +0 -1
  181. package/dist/constants/secretQuestions.d.ts +0 -3
  182. package/dist/constants/secretQuestions.js +0 -24
  183. package/dist/constants/storageKeys.d.ts +0 -2
  184. package/dist/constants/storageKeys.js +0 -2
  185. package/dist/icons/index.d.ts +0 -65
  186. package/dist/icons/index.js +0 -65
  187. package/dist/images/hacksaw-gaming.png +0 -0
  188. package/dist/server/services/index.d.ts +0 -4
  189. package/dist/server/services/index.js +0 -4
  190. package/dist/server/utils/index.d.ts +0 -29
  191. package/dist/server/utils/index.js +0 -29
  192. package/dist/ui/Presence.d.ts +0 -2
  193. package/dist/ui/Presence.js +0 -7
  194. package/dist/ui/Prose.d.ts +0 -2
  195. package/dist/ui/Prose.js +0 -5
  196. package/dist/ui/index.d.ts +0 -26
  197. package/dist/ui/index.js +0 -26
  198. package/dist/utils/index.d.ts +0 -17
  199. package/dist/utils/index.js +0 -17
  200. package/dist/utils/isMobile.d.ts +0 -5
  201. package/dist/utils/isMobile.js +0 -9
@@ -13,7 +13,7 @@ import piggyBank from '../../images/piggy-bank.png';
13
13
  import { Badge } from '../../ui/Badge/index.js';
14
14
  import { Collapsible } from '../../ui/Collapsible/index.js';
15
15
  import { Progress } from '../../ui/Progress/index.js';
16
- import { Prose } from '../../ui/Prose.js';
16
+ import { Prose } from '../../ui/Prose/index.js';
17
17
  import { capitalize } from '../../utils/capitalize.js';
18
18
  import { formatNumber } from '../../utils/formatNumber.js';
19
19
  import { parseDecimal } from '../../utils/parseDecimal.js';
@@ -11,7 +11,7 @@ import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
11
11
  import { useLocaleInfo } from '../../client/hooks/useLocaleInfo.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 Cashback__client(props) {
16
16
  const availablePromosQuery = useAvailablePromosQuery();
17
17
  const cashbackQuery = useCashbackQuery(props.id);
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
3
3
  import Image from 'next/image';
4
4
  import Link from 'next/link';
5
5
  import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon.js';
6
- import { Prose } from '../../ui/Prose.js';
6
+ import { Prose } from '../../ui/Prose/index.js';
7
7
  import { stripTags } from '../../utils/stripTags.js';
8
8
  export function CustomPromo(props) {
9
9
  return (_jsxs(_Fragment, { children: [_jsx("meta", { name: "description", content: stripTags(props.promo.description) }), _jsx("meta", { name: "og:title", content: props.promo.name }), _jsx("meta", { name: "og:description", content: stripTags(props.promo.description) }), _jsx("meta", { name: "og:image", content: props.promo.banner }), _jsx("meta", { name: "twitter:title", content: props.promo.name }), _jsx("meta", { name: "twitter:description", content: stripTags(props.promo.description) }), _jsx("meta", { name: "twitter:image", content: props.promo.banner }), _jsx("meta", { name: "twitter:card", content: "summary_large_image" }), _jsxs("div", { className: props.className, children: [_jsxs(Link, { href: props.viewAllPromosUrl ?? '/promos', className: "text-button-tertiary-fg flex w-fit items-center gap-lg text-lg font-semibold", children: [_jsx(ChevronLeftIcon, { className: "size-6" }), "Back to all Promotions"] }), _jsx(Image, { src: props.promo.banner, alt: "", width: 1024, height: 600, priority: true, unoptimized: true, className: "mt-xl h-auto w-full rounded-xl lg:mt-6" }), _jsx("h1", { className: "mt-xl text-2xl font-semibold lg:mt-6 lg:text-3xl", children: props.promo.name }), _jsx(Prose, { className: "mt-2xl lg:mt-6", dangerouslySetInnerHTML: {
@@ -1,6 +1,6 @@
1
1
  export declare const OnlineBankDepositContext: (props: {
2
2
  value: {
3
- view: "vca" | "form";
3
+ view: "form" | "vca";
4
4
  status: "waiting" | "processing" | "failed" | "verification-waiting" | "verification-processing" | "verification-failed" | "verification-success";
5
5
  verify: () => void;
6
6
  reset: () => void;
@@ -13,7 +13,7 @@ export declare const OnlineBankDepositContext: (props: {
13
13
  } & {
14
14
  children?: import("react").ReactNode | undefined;
15
15
  }) => React.ReactNode, useOnlineBankDepositContext: () => {
16
- view: "vca" | "form";
16
+ view: "form" | "vca";
17
17
  status: "waiting" | "processing" | "failed" | "verification-waiting" | "verification-processing" | "verification-failed" | "verification-success";
18
18
  verify: () => void;
19
19
  reset: () => void;
@@ -1,7 +1,7 @@
1
1
  import type { Deposit } from '../../../../types';
2
2
  export type UseOnlineBankDepositReturn = ReturnType<typeof useOnlineBankDeposit>;
3
3
  export declare function useOnlineBankDeposit(): {
4
- view: "vca" | "form";
4
+ view: "form" | "vca";
5
5
  status: "waiting" | "processing" | "failed" | "verification-waiting" | "verification-processing" | "verification-failed" | "verification-success";
6
6
  verify: () => void;
7
7
  reset: () => void;
@@ -1,6 +1,6 @@
1
1
  export declare const QRPHDepositContext: (props: {
2
2
  value: {
3
- view: "qrCode" | "form";
3
+ view: "form" | "qrCode";
4
4
  status: "waiting" | "processing" | "failed" | "verification-waiting" | "verification-processing" | "verification-failed" | "verification-success";
5
5
  verify: () => void;
6
6
  reset: () => void;
@@ -13,7 +13,7 @@ export declare const QRPHDepositContext: (props: {
13
13
  } & {
14
14
  children?: import("react").ReactNode | undefined;
15
15
  }) => React.ReactNode, useQRPHDepositContext: () => {
16
- view: "qrCode" | "form";
16
+ view: "form" | "qrCode";
17
17
  status: "waiting" | "processing" | "failed" | "verification-waiting" | "verification-processing" | "verification-failed" | "verification-success";
18
18
  verify: () => void;
19
19
  reset: () => void;
@@ -1,7 +1,7 @@
1
1
  import type { Deposit } from '../../../../types';
2
2
  export type UseQRPHDepositReturn = ReturnType<typeof useQRPHDeposit>;
3
3
  export declare function useQRPHDeposit(): {
4
- view: "qrCode" | "form";
4
+ view: "form" | "qrCode";
5
5
  status: "waiting" | "processing" | "failed" | "verification-waiting" | "verification-processing" | "verification-failed" | "verification-success";
6
6
  verify: () => void;
7
7
  reset: () => void;
@@ -2,9 +2,11 @@
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
3
  import Image from 'next/image';
4
4
  import { useRef, useState } from 'react';
5
+ import { CheckIcon } from '../../icons/CheckIcon.js';
5
6
  import pagcorLogo from '../../images/pagcor2.png';
6
7
  import responsibleGamingLogo from '../../images/responsible-gaming.png';
7
8
  import { Button } from '../../ui/Button/index.js';
9
+ import { Checkbox } from '../../ui/Checkbox/index.js';
8
10
  import { Dialog } from '../../ui/Dialog/index.js';
9
11
  import { Portal } from '../../ui/Portal/index.js';
10
12
  import { ResponsibleGaming } from './ResponsibleGaming.js';
@@ -15,10 +17,10 @@ export function DisclaimerV2(props) {
15
17
  const acceptTriggerRef = useRef(null);
16
18
  const [isResponsibleGamingOpen, setResponsibleGamingOpen] = useState(false);
17
19
  const [isTermsOfUseOpen, setTermsOfUseOpen] = useState(false);
18
- return (_jsxs(_Fragment, { children: [_jsx(ResponsibleGaming, { responsibleGamingContent: props.responsibleGamingContent, logo: props.logo, open: isResponsibleGamingOpen, onCloseAction: () => setResponsibleGamingOpen(false) }), _jsx(TermsOfUse, { termsOfUseContent: props.termsOfUseContent, siteName: props.siteName, logo: props.logo, open: isTermsOfUseOpen, onCloseAction: () => setTermsOfUseOpen(false) }), _jsx(Dialog.Root, { open: disclaimer.open, lazyMount: true, unmountOnExit: true, closeOnEscape: false, closeOnInteractOutside: false, initialFocusEl: () => acceptTriggerRef.current, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "z-sticky" }), _jsx(Dialog.Positioner, { className: "z-sticky", children: _jsxs(Dialog.Content, { className: "flex h-full w-full flex-col items-start gap-y-4 p-3xl lg:mx-auto lg:h-auto lg:w-[400px] lg:rounded-xl", children: [_jsx(Image, { src: props.logo, alt: "", width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }), _jsxs("div", { className: "flex w-full items-center justify-center gap-3xl", children: [_jsx(Image, { src: pagcorLogo, alt: "", height: 43, width: 88, className: "h-[43px] w-auto shrink-0", draggable: false }), _jsx(Image, { src: props.responsibleGamingLogo ?? responsibleGamingLogo, alt: "", height: 50, width: 186, className: "h-[50px] w-auto shrink-0", draggable: false })] }), _jsx("div", { className: "text-sm", children: "The following individuals are prohibited from registering or participating in this online gaming platform." }), _jsx("div", { className: "w-full grow", children: _jsxs(Dialog.Description, { className: "space-y-4 text-sm", children: [_jsxs("ul", { className: "space-y-1.5 text-left", children: [_jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "Persons below the legal gambling age of 21."] }), _jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "Any government official or employee directly involved in the operations of the government or its agencies."] }), _jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "Member of the Armed Forces of the Philippines, including the Army, Navy, Air Force and the Philippine National Police."] }), _jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "Individuals listed in PAGCOR's National Database of Restricted Persons (NDRP)"] }), _jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "Holders of a valid Gaming Employment License (GEL)"] })] }), _jsxs("div", { children: ["I have read and agreed to ", props.siteName, ' ', _jsx("button", { type: "button", className: "text-brand-400 underline underline-offset-2", onClick: () => {
19
- setTermsOfUseOpen(true);
20
- }, children: "Terms of Use" }), ' ', "and", ' ', _jsx("button", { type: "button", className: "text-brand-400 underline underline-offset-2", onClick: () => {
21
- setResponsibleGamingOpen(true);
22
- }, children: "Responsible Gaming" })] }), _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: disclaimer.close, variant: "outline", children: "Exit" }), _jsx(Button, { ref: acceptTriggerRef, type: "button", onClick: disclaimer.close, children: "Accept" })] })] }) })] }) })] }));
20
+ return (_jsxs(_Fragment, { children: [_jsx(ResponsibleGaming, { responsibleGamingContent: props.responsibleGamingContent, logo: props.logo, open: isResponsibleGamingOpen, onCloseAction: () => setResponsibleGamingOpen(false) }), _jsx(TermsOfUse, { termsOfUseContent: props.termsOfUseContent, siteName: props.siteName, logo: props.logo, open: isTermsOfUseOpen, onCloseAction: () => setTermsOfUseOpen(false) }), _jsx(Dialog.Root, { open: disclaimer.open, lazyMount: true, unmountOnExit: true, closeOnEscape: false, closeOnInteractOutside: false, initialFocusEl: () => acceptTriggerRef.current, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "z-sticky" }), _jsx(Dialog.Positioner, { className: "z-sticky", children: _jsxs(Dialog.Content, { className: "flex h-full w-full flex-col items-start gap-y-4 p-3xl lg:mx-auto lg:h-auto lg:w-[400px] lg:rounded-xl", children: [_jsx(Image, { src: props.logo, alt: "", width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }), _jsxs("div", { className: "flex w-full items-center justify-center gap-3xl", children: [_jsx(Image, { src: pagcorLogo, alt: "", height: 43, width: 88, className: "h-[43px] w-auto shrink-0", draggable: false }), _jsx(Image, { src: props.responsibleGamingLogo ?? responsibleGamingLogo, alt: "", height: 50, width: 186, className: "h-[50px] w-auto shrink-0", draggable: false })] }), _jsx("div", { className: "text-sm", children: "The following individuals are prohibited from registering or participating in this online gaming platform." }), _jsx("div", { className: "w-full grow", children: _jsxs(Dialog.Description, { className: "space-y-4 text-sm", children: [_jsxs("ul", { className: "space-y-1.5 text-left", children: [_jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "Persons below the legal gambling age of 21."] }), _jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "Any government official or employee directly involved in the operations of the government or its agencies."] }), _jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "Member of the Armed Forces of the Philippines, including the Army, Navy, Air Force and the Philippine National Police."] }), _jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "Individuals listed in PAGCOR's National Database of Restricted Persons (NDRP)"] }), _jsxs("li", { className: "flex gap-4", children: [_jsx(Circle, {}), "Holders of a valid Gaming Employment License (GEL)"] })] }), _jsxs(Checkbox.Root, { children: [_jsx(Checkbox.Control, { children: _jsx(Checkbox.Indicator, { asChild: true, children: _jsx(CheckIcon, {}) }) }), _jsxs(Checkbox.Label, { children: ["I have read and agreed to ", props.siteName, ' ', _jsx("button", { type: "button", className: "text-brand-400 underline underline-offset-2", onClick: () => {
21
+ setTermsOfUseOpen(true);
22
+ }, children: "Terms of Use" }), ' ', "and", ' ', _jsx("button", { type: "button", className: "text-brand-400 underline underline-offset-2", onClick: () => {
23
+ setResponsibleGamingOpen(true);
24
+ }, 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: disclaimer.close, variant: "outline", children: "Exit" }), _jsx(Button, { ref: acceptTriggerRef, type: "button", onClick: disclaimer.close, children: "Accept" })] })] }) })] }) })] }));
23
25
  }
24
26
  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" }) }) }));
@@ -22,7 +22,7 @@ import { AlertDialog } from '../../ui/AlertDialog/index.js';
22
22
  import { Button } from '../../ui/Button/index.js';
23
23
  import { IconButton } from '../../ui/IconButton/index.js';
24
24
  import { Portal } from '../../ui/Portal/index.js';
25
- import { Presence } from '../../ui/Presence.js';
25
+ import { Presence } from '../../ui/Presence/index.js';
26
26
  export function GameLaunch() {
27
27
  const globalStore = useGlobalStore(useShallow((ctx) => ({
28
28
  gameLaunch: ctx.gameLaunch,
@@ -8,7 +8,7 @@ import { SearchLgIcon } from '../../icons/SearchLgIcon.js';
8
8
  import { Button } from '../../ui/Button/index.js';
9
9
  import { Combobox } from '../../ui/Combobox/index.js';
10
10
  import { Portal } from '../../ui/Portal/index.js';
11
- import { Presence } from '../../ui/Presence.js';
11
+ import { Presence } from '../../ui/Presence/index.js';
12
12
  import { getGameImageUrl } from '../../utils/getGameImageUrl.js';
13
13
  import { GameLaunchTrigger } from '../GameLaunch/index.js';
14
14
  export function GamesSearch(props) {
@@ -1,6 +1,7 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
3
  import { Progress } from '@ark-ui/react/progress';
4
+ import { format } from 'date-fns';
4
5
  import Image from 'next/image';
5
6
  import Link from 'next/link';
6
7
  import { useCallback, useMemo } from 'react';
@@ -16,6 +17,7 @@ import closeChest from '../../../images/close-chest.png';
16
17
  import firstPlace from '../../../images/first-place.png';
17
18
  import leaderboard from '../../../images/leaderboard.png';
18
19
  import openChest from '../../../images/open-chest.png';
20
+ import { capitalize } from '../../../utils/capitalize.js';
19
21
  import { formatNumber } from '../../../utils/formatNumber.js';
20
22
  import { getPercentage } from '../../../utils/getPercentage.js';
21
23
  import { mask } from '../../../utils/mask.js';
@@ -30,15 +32,11 @@ export function JackpotsCarouselItem({ style, className, viewAllUrl, animate = t
30
32
  equal: jackpot.id,
31
33
  },
32
34
  },
33
- sort: {
34
- cursor: 'AMOUNT',
35
- order: 'DESC',
36
- },
37
35
  }, {
38
36
  enabled: typeof window !== 'undefined',
39
37
  });
40
38
  const jackpotPayouts = jackpotPayoutsQuery.data?.pages[0].edges.map((edge) => edge.node) ?? [];
41
- const topJackpotPayout = jackpotPayouts[0] ?? [];
39
+ const latestJackpotPayout = jackpotPayouts[0] ?? [];
42
40
  const localeInfo = useLocaleInfo();
43
41
  const isPayingOut = jackpot.drawing;
44
42
  const jackpotAmount = isPayingOut
@@ -59,7 +57,9 @@ export function JackpotsCarouselItem({ style, className, viewAllUrl, animate = t
59
57
  currency: localeInfo.currency.code,
60
58
  minDecimalPlaces: 2,
61
59
  maxDecimalPlaces: 2,
62
- }) })] }), _jsx("div", { className: "z-1 bottom-[-60] right-0 lg:absolute", children: _jsx(Image, { width: 150, height: 150, src: isPayingOut ? openChest : closeChest, alt: "closeChest", quality: 100, className: "h-25 w-25 lg:h-37.5 lg:w-37.5 size-full p-2" }) })] }), topJackpotPayout.amount ? (_jsx("div", { children: _jsxs("div", { className: "bg-bg-primary relative mt-4 hidden w-full gap-4 rounded-lg p-4 lg:flex", children: [_jsxs("div", { className: "bg-bg-tertiary relative flex h-18 w-18 items-center justify-center rounded-full", children: [_jsx(User01Icon, { className: "text-text-quarterary-500 size-9" }), _jsx("div", { className: "bg-yellow-400 text-brand-950 border-bg-primary absolute bottom-0 right-0 flex h-6 w-6 items-center justify-center rounded-full border-[1.5px] text-xs font-bold", children: "1st" })] }), _jsxs("div", { className: "flex flex-col gap-1 text-left", children: [_jsxs("div", { className: "border-utility-brand-200 bg-utility-brand-50 text-utility-brand-700 flex h-fit w-fit items-center gap-1 rounded-sm border px-2 py-0.5 text-xs font-medium", children: [_jsx(Trophy01Icon, { className: "text-utility-brand-600 size-3.5" }), "Latest Payout"] }), _jsx("div", { className: "font-semibold", children: topJackpotPayout.member.name }), _jsx("div", { className: "text-brand-400 text-2xl", children: formatNumber(topJackpotPayout.amount, {
60
+ }) })] }), _jsx("div", { className: "z-1 bottom-[-60] right-0 lg:absolute", children: _jsx(Image, { width: 150, height: 150, src: isPayingOut ? openChest : closeChest, alt: "closeChest", quality: 100, className: "h-25 w-25 lg:h-37.5 lg:w-37.5 size-full p-2" }) })] }), latestJackpotPayout.amount ? (_jsx("div", { children: _jsxs("div", { className: "bg-bg-primary relative mt-4 hidden w-full gap-4 rounded-lg p-4 lg:flex", children: [_jsxs("div", { className: "bg-bg-tertiary relative flex h-18 w-18 items-center justify-center rounded-full", children: [_jsx(User01Icon, { className: "text-text-quarterary-500 size-9" }), _jsxs("div", { className: "bg-yellow-400 text-brand-950 border-bg-primary absolute bottom-0 right-0 flex h-6 w-6 items-center justify-center rounded-full border-[1.5px] text-xs font-bold", children: [latestJackpotPayout.multiplier, "x"] })] }), _jsxs("div", { className: "flex flex-col gap-1 text-left", children: [_jsxs("div", { className: "border-utility-brand-200 bg-utility-brand-50 text-utility-brand-700 flex h-fit w-fit items-center gap-1 rounded-sm border px-2 py-0.5 text-xs font-medium", children: [_jsx(Trophy01Icon, { className: "text-utility-brand-600 size-3.5" }), "Latest Payout"] }), _jsx("div", { className: "font-semibold", children: mask(latestJackpotPayout.member.name, {
61
+ totalCharsCount: 6,
62
+ }) }), _jsx("div", { className: "text-brand-400 text-2xl", children: formatNumber(latestJackpotPayout.amount, {
63
63
  currency: localeInfo.currency.code,
64
64
  minDecimalPlaces: 2,
65
65
  maxDecimalPlaces: 2,
@@ -74,13 +74,21 @@ export function JackpotsCarouselItem({ style, className, viewAllUrl, animate = t
74
74
  currency: localeInfo.currency.code,
75
75
  compact: true,
76
76
  })} Play now for your chance to win big! 🔥`
77
- : getAccumulatingJackpotDescription(Number(jackpot?.pool) ?? 0, Number(jackpot?.maximumJackpotPoolLimit) ?? 0) })] })] }), _jsxs("div", { className: "z-1 hidden flex-1 space-y-4 lg:block", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("div", { className: "flex gap-2", children: [_jsx(Image, { width: 24, height: 24, src: leaderboard, quality: 100, alt: "leaderboardIcon", className: "size-full h-auto w-6" }), _jsx("div", { className: "text-text-primary-900 text-lg font-semibold", children: jackpotPayouts.length ? 'Recent payouts' : 'Starting soon!' })] }), _jsxs(Link, { className: "text-button-tertiary-fg flex text-sm font-semibold", href: viewAllUrl ?? '/jackpots', children: ["See details", _jsx(ChevronRightIcon, { className: "size-5" })] })] }), _jsx("div", { className: twMerge('max-h-[272px] overflow-y-scroll', styles['scrollArea']), children: _jsx("div", { className: "border-gray-200 overflow-hidden rounded-xl", children: _jsxs("table", { className: "w-full", children: [_jsx("thead", { children: _jsxs("tr", { className: "bg-bg-secondary text-text-tertiary-600 h-8 text-xs font-medium", children: [_jsx("th", { children: "Player" }), _jsx("th", { children: "Game" }), _jsx("th", { children: "Multiplier" }), _jsx("th", { children: "Prize" }), _jsx("th", { children: "Timestamp" })] }) }), _jsx("tbody", { children: jackpotPayouts.length ? (_jsx(_Fragment, { children: jackpotPayouts.map((jackpotPayout, i) => (_jsxs("tr", { className: "bg-bg-primary text-text-secondary-700 text-sm", children: [_jsx("td", { className: "border-border-secondary h-12 border-t-2", children: mask(jackpotPayout.member.name, {
77
+ : getAccumulatingJackpotDescription(Number(jackpot?.pool) ?? 0, Number(jackpot?.maximumJackpotPoolLimit) ?? 0) })] })] }), _jsxs("div", { className: "z-1 hidden flex-1 space-y-4 lg:block", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("div", { className: "flex gap-2", children: [_jsx(Image, { width: 24, height: 24, src: leaderboard, quality: 100, alt: "leaderboardIcon", className: "size-full h-auto w-6" }), _jsx("div", { className: "text-text-primary-900 text-lg font-semibold", children: jackpotPayouts.length ? 'Recent payouts' : 'Starting soon!' })] }), _jsxs(Link, { className: "text-button-tertiary-fg flex text-sm font-semibold", href: viewAllUrl ?? '/jackpots', children: ["See details", _jsx(ChevronRightIcon, { className: "size-5" })] })] }), _jsx("div", { className: twMerge('max-h-[272px] overflow-y-scroll', styles['scrollArea']), children: _jsx("div", { className: "border-gray-200 overflow-hidden rounded-xl", children: _jsxs("table", { className: "w-full", children: [_jsx("thead", { children: _jsx("tr", { className: "bg-bg-secondary text-text-tertiary-600 h-8 whitespace-nowrap text-left text-xs font-medium", children: [
78
+ 'Player',
79
+ 'Game Provider',
80
+ 'Multiplier',
81
+ 'Prize',
82
+ 'Timestamp',
83
+ ].map((header) => (_jsx("th", { className: "px-4", children: header }, header))) }) }), _jsx("tbody", { children: jackpotPayouts.length ? (_jsx(_Fragment, { children: jackpotPayouts.map((jackpotPayout, i) => (_jsxs("tr", { className: "bg-bg-primary text-text-secondary-700 whitespace-nowrap text-left text-sm", children: [_jsx("td", { className: "border-border-secondary h-12 border-t-2 px-4", children: mask(jackpotPayout.member.name, {
78
84
  totalCharsCount: 6,
79
- }) }), _jsx("td", { className: "border-border-secondary h-12 border-t-2", children: "-" }), _jsxs("td", { className: "border-border-secondary h-12 border-t-2", children: [jackpotPayout.multiplier, "x"] }), _jsx("td", { className: "border-border-secondary text-brand-400 h-12 border-t-2", children: formatNumber(jackpotPayout.amount, {
85
+ }) }), _jsx("td", { className: "border-border-secondary h-12 border-t-2 px-4", children: capitalize(jackpotPayout.game?.provider ?? '-', {
86
+ delimiter: capitalize.delimiters.UNDERSCORE,
87
+ }) }), _jsxs("td", { className: "border-border-secondary h-12 border-t-2 px-4", children: [jackpotPayout.multiplier, "x"] }), _jsx("td", { className: "border-border-secondary text-brand-400 h-12 border-t-2 px-4", children: formatNumber(jackpotPayout.amount, {
80
88
  currency: localeInfo.currency.code,
81
89
  minDecimalPlaces: 2,
82
90
  maxDecimalPlaces: 2,
83
- }) }), _jsx("td", { className: "border-border-secondary h-12 border-t-2", children: "-" })] }, i))) })) : (_jsx(_Fragment, { children: Array.from({ length: 10 }).map((_, i) => (_jsxs("tr", { className: "bg-bg-primary text-text-secondary-700 text-sm", children: [_jsx("td", { className: "border-border-secondary h-12 border-t-2", children: "-" }), _jsx("td", { className: "border-border-secondary h-12 border-t-2", children: "-" }), _jsx("td", { className: "border-border-secondary h-12 border-t-2", children: "-" }), _jsx("td", { className: "border-border-secondary h-12 border-t-2", children: "-" }), _jsx("td", { className: "border-border-secondary h-12 border-t-2", children: "-" })] }, i))) })) })] }) }) })] }), isPayingOut && animate && (_jsx("div", { className: twMerge(styles['light-rays'], 'absolute right-0 top-0 rounded-2xl [--light-rays-top:25%] lg:[--light-rays-top:150px]') }))] }));
91
+ }) }), _jsx("td", { className: "border-border-secondary h-12 border-t-2 px-4", children: format(new Date(jackpotPayout.dateTimeCreated), 'dd MMM yyyy h:mm a') })] }, i))) })) : (_jsx(_Fragment, { children: Array.from({ length: 10 }).map((_, i) => (_jsxs("tr", { className: "bg-bg-primary text-text-secondary-700 text-sm", children: [_jsx("td", { className: "border-border-secondary h-12 border-t-2", children: "-" }), _jsx("td", { className: "border-border-secondary h-12 border-t-2", children: "-" }), _jsx("td", { className: "border-border-secondary h-12 border-t-2", children: "-" }), _jsx("td", { className: "border-border-secondary h-12 border-t-2", children: "-" }), _jsx("td", { className: "border-border-secondary h-12 border-t-2", children: "-" })] }, i))) })) })] }) }) })] }), isPayingOut && animate && (_jsx("div", { className: twMerge(styles['light-rays'], 'absolute right-0 top-0 rounded-2xl [--light-rays-top:25%] lg:[--light-rays-top:150px]') }))] }));
84
92
  }
85
93
  const getAccumulatingJackpotDescription = (part, total) => {
86
94
  const percentage = total === 0 ? 0 : (part / total) * 100;
@@ -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
+ }