@cuemath/leap 3.5.8 → 3.5.9-akm-1

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 (176) hide show
  1. package/dist/assets/illustrations/illustrations.js +8 -0
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/lottie/lottie.js +5 -1
  4. package/dist/assets/lottie/lottie.js.map +1 -1
  5. package/dist/features/analytics-events/platform-events-student.js +1 -1
  6. package/dist/features/analytics-events/platform-events-student.js.map +1 -1
  7. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +31 -16
  8. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -1
  9. package/dist/features/auth/comps/tabs/tabs.js +22 -5
  10. package/dist/features/auth/comps/tabs/tabs.js.map +1 -1
  11. package/dist/features/circle-games/about-game-activities/about-game-activities-constants.js +45 -0
  12. package/dist/features/circle-games/about-game-activities/about-game-activities-constants.js.map +1 -0
  13. package/dist/features/circle-games/about-game-activities/about-game-activities-styled.js +67 -0
  14. package/dist/features/circle-games/about-game-activities/about-game-activities-styled.js.map +1 -0
  15. package/dist/features/circle-games/about-game-activities/about-game-activities.js +98 -0
  16. package/dist/features/circle-games/about-game-activities/about-game-activities.js.map +1 -0
  17. package/dist/features/circle-games/comps/arc-container/arc-container-styled.js +78 -0
  18. package/dist/features/circle-games/comps/arc-container/arc-container-styled.js.map +1 -0
  19. package/dist/features/circle-games/comps/arc-container/arc-container.js +53 -0
  20. package/dist/features/circle-games/comps/arc-container/arc-container.js.map +1 -0
  21. package/dist/features/circle-games/comps/arc-container/constants.js +5 -0
  22. package/dist/features/circle-games/comps/arc-container/constants.js.map +1 -0
  23. package/dist/features/circle-games/game-launcher/api/get-content-for-today/constants.js +1 -1
  24. package/dist/features/circle-games/game-launcher/api/get-content-for-today/constants.js.map +1 -1
  25. package/dist/features/circle-games/game-launcher/comps/card-container/card-container-styled.js +1 -1
  26. package/dist/features/circle-games/game-launcher/comps/card-container/card-container-styled.js.map +1 -1
  27. package/dist/features/circle-games/game-launcher/comps/card-container/card-container.js.map +1 -1
  28. package/dist/features/circle-games/game-launcher/comps/card-container/constants.js +8 -4
  29. package/dist/features/circle-games/game-launcher/comps/card-container/constants.js.map +1 -1
  30. package/dist/features/circle-games/game-launcher/comps/carousel/carousel-styled.js +127 -20
  31. package/dist/features/circle-games/game-launcher/comps/carousel/carousel-styled.js.map +1 -1
  32. package/dist/features/circle-games/game-launcher/comps/carousel/carousel.js +160 -71
  33. package/dist/features/circle-games/game-launcher/comps/carousel/carousel.js.map +1 -1
  34. package/dist/features/circle-games/game-launcher/comps/carousel/constants.js +9 -0
  35. package/dist/features/circle-games/game-launcher/comps/carousel/constants.js.map +1 -0
  36. package/dist/features/circle-games/game-launcher/comps/carousel-stats/carousel-stats-style.js +10 -0
  37. package/dist/features/circle-games/game-launcher/comps/carousel-stats/carousel-stats-style.js.map +1 -0
  38. package/dist/features/circle-games/game-launcher/comps/carousel-stats/carousel-stats-type.js +5 -0
  39. package/dist/features/circle-games/game-launcher/comps/carousel-stats/carousel-stats-type.js.map +1 -0
  40. package/dist/features/circle-games/game-launcher/comps/carousel-stats/carousel-stats.js +16 -0
  41. package/dist/features/circle-games/game-launcher/comps/carousel-stats/carousel-stats.js.map +1 -0
  42. package/dist/features/circle-games/game-launcher/comps/carousel-stats/constants.js +38 -0
  43. package/dist/features/circle-games/game-launcher/comps/carousel-stats/constants.js.map +1 -0
  44. package/dist/features/circle-games/game-launcher/comps/carousel-stats/single-carousel-stat/single-carousel-stat-styles.js +15 -0
  45. package/dist/features/circle-games/game-launcher/comps/carousel-stats/single-carousel-stat/single-carousel-stat-styles.js.map +1 -0
  46. package/dist/features/circle-games/game-launcher/comps/carousel-stats/single-carousel-stat/single-carousel-stat.js +21 -0
  47. package/dist/features/circle-games/game-launcher/comps/carousel-stats/single-carousel-stat/single-carousel-stat.js.map +1 -0
  48. package/dist/features/circle-games/game-launcher/comps/circular-game-card/circular-game-card-styled.js +51 -0
  49. package/dist/features/circle-games/game-launcher/comps/circular-game-card/circular-game-card-styled.js.map +1 -0
  50. package/dist/features/circle-games/game-launcher/comps/circular-game-card/circular-game-card.js +35 -0
  51. package/dist/features/circle-games/game-launcher/comps/circular-game-card/circular-game-card.js.map +1 -0
  52. package/dist/features/circle-games/game-launcher/comps/circular-game-card/constants.js +9 -0
  53. package/dist/features/circle-games/game-launcher/comps/circular-game-card/constants.js.map +1 -0
  54. package/dist/features/circle-games/game-launcher/comps/game-card-content/constants.js +6 -0
  55. package/dist/features/circle-games/game-launcher/comps/game-card-content/constants.js.map +1 -0
  56. package/dist/features/circle-games/game-launcher/comps/game-card-content/game-card-content-styled.js +57 -0
  57. package/dist/features/circle-games/game-launcher/comps/game-card-content/game-card-content-styled.js.map +1 -0
  58. package/dist/features/circle-games/game-launcher/comps/game-card-content/game-card-content.js +10 -0
  59. package/dist/features/circle-games/game-launcher/comps/game-card-content/game-card-content.js.map +1 -0
  60. package/dist/features/circle-games/game-launcher/comps/swipable-card/swipeable-card.js +28 -0
  61. package/dist/features/circle-games/game-launcher/comps/swipable-card/swipeable-card.js.map +1 -0
  62. package/dist/features/circle-games/game-launcher/comps/tables-card/infinite-button/infinite-mode-launcher-button.js.map +1 -1
  63. package/dist/features/circle-games/game-launcher/comps/tables-card/spl-events-text/spl-events-text.js +9 -8
  64. package/dist/features/circle-games/game-launcher/comps/tables-card/spl-events-text/spl-events-text.js.map +1 -1
  65. package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode/table-mode.js +37 -43
  66. package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode/table-mode.js.map +1 -1
  67. package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode-star/table-mode-star.js +18 -20
  68. package/dist/features/circle-games/game-launcher/comps/tables-card/table-mode-star/table-mode-star.js.map +1 -1
  69. package/dist/features/circle-games/game-launcher/comps/tables-card/table-segment-star/table-segment-star.js +34 -35
  70. package/dist/features/circle-games/game-launcher/comps/tables-card/table-segment-star/table-segment-star.js.map +1 -1
  71. package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js +117 -115
  72. package/dist/features/circle-games/game-launcher/comps/tables-card/tables-card.js.map +1 -1
  73. package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/helper.js +80 -59
  74. package/dist/features/circle-games/game-launcher/dal/use-get-circle-home-details-dal/helper.js.map +1 -1
  75. package/dist/features/circle-games/game-launcher/game-launcher-analytics-events.js +8 -7
  76. package/dist/features/circle-games/game-launcher/game-launcher-analytics-events.js.map +1 -1
  77. package/dist/features/circle-games/game-launcher/game-launcher.js +280 -207
  78. package/dist/features/circle-games/game-launcher/game-launcher.js.map +1 -1
  79. package/dist/features/circle-games/game-launcher/helpers.js +8 -0
  80. package/dist/features/circle-games/game-launcher/helpers.js.map +1 -0
  81. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/constants.js +3 -5
  82. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/constants.js.map +1 -1
  83. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey-style.js +14 -0
  84. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey-style.js.map +1 -0
  85. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js +126 -251
  86. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +1 -1
  87. package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/constants.js +2 -7
  88. package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/constants.js.map +1 -1
  89. package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js +60 -105
  90. package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js.map +1 -1
  91. package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/constants.js +7 -11
  92. package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/constants.js.map +1 -1
  93. package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js +105 -176
  94. package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +1 -1
  95. package/dist/features/circle-games/games/tutorial/tutorial-styled.js +13 -10
  96. package/dist/features/circle-games/games/tutorial/tutorial-styled.js.map +1 -1
  97. package/dist/features/circle-games/games/tutorial/tutorial.js +63 -66
  98. package/dist/features/circle-games/games/tutorial/tutorial.js.map +1 -1
  99. package/dist/features/circle-games/games/tutorial/video-progress-bar/video-progress-bar-styled.js +8 -7
  100. package/dist/features/circle-games/games/tutorial/video-progress-bar/video-progress-bar-styled.js.map +1 -1
  101. package/dist/features/circle-games/games/tutorial/video-progress-bar/video-progress-bar.js +21 -21
  102. package/dist/features/circle-games/games/tutorial/video-progress-bar/video-progress-bar.js.map +1 -1
  103. package/dist/features/circle-games/hooks/use-circle-sounds/constants.js +9 -7
  104. package/dist/features/circle-games/hooks/use-circle-sounds/constants.js.map +1 -1
  105. package/dist/features/circle-games/hooks/use-circle-sounds/use-circle-sounds-enums.js +2 -2
  106. package/dist/features/circle-games/hooks/use-circle-sounds/use-circle-sounds-enums.js.map +1 -1
  107. package/dist/features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js +50 -48
  108. package/dist/features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js.map +1 -1
  109. package/dist/features/circle-games/sign-up/comp/splash-screen/splash-screen-styled.js +70 -0
  110. package/dist/features/circle-games/sign-up/comp/splash-screen/splash-screen-styled.js.map +1 -0
  111. package/dist/features/circle-games/sign-up/comp/splash-screen/splash-screen.js +60 -0
  112. package/dist/features/circle-games/sign-up/comp/splash-screen/splash-screen.js.map +1 -0
  113. package/dist/features/journey/hooks/use-get-tracked-views.js +13 -0
  114. package/dist/features/journey/hooks/use-get-tracked-views.js.map +1 -0
  115. package/dist/features/journey/journey-id/journey-id-student.js +1 -1
  116. package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
  117. package/dist/features/journey/tracking-id/tracking-id-student.js +5 -0
  118. package/dist/features/journey/tracking-id/tracking-id-student.js.map +1 -0
  119. package/dist/features/journey/tracking-id/tracking-ids.js +8 -0
  120. package/dist/features/journey/tracking-id/tracking-ids.js.map +1 -0
  121. package/dist/features/journey/use-journey/journey-context-provider.js +48 -48
  122. package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
  123. package/dist/features/post-game-stats/accuracy/accuracy-styled.js +1 -1
  124. package/dist/features/post-game-stats/accuracy/accuracy-styled.js.map +1 -1
  125. package/dist/features/post-game-stats/clock/clock-styled.js +1 -1
  126. package/dist/features/post-game-stats/clock/clock-styled.js.map +1 -1
  127. package/dist/features/post-game-stats/points/points.js +1 -1
  128. package/dist/features/post-game-stats/points/points.js.map +1 -1
  129. package/dist/features/post-game-stats/post-game-stats-styled.js +9 -8
  130. package/dist/features/post-game-stats/post-game-stats-styled.js.map +1 -1
  131. package/dist/features/post-game-stats/post-game-stats.js +107 -105
  132. package/dist/features/post-game-stats/post-game-stats.js.map +1 -1
  133. package/dist/features/post-game-stats/score/score-styled.js +1 -1
  134. package/dist/features/post-game-stats/score/score-styled.js.map +1 -1
  135. package/dist/features/post-game-stats/streak/streak-styled.js +1 -1
  136. package/dist/features/post-game-stats/streak/streak-styled.js.map +1 -1
  137. package/dist/features/ui/arc-button/arc-button-styled.js +23 -21
  138. package/dist/features/ui/arc-button/arc-button-styled.js.map +1 -1
  139. package/dist/features/ui/arc-button/arc-button.js +18 -17
  140. package/dist/features/ui/arc-button/arc-button.js.map +1 -1
  141. package/dist/features/ui/nudge/nudge-styled.js +31 -9
  142. package/dist/features/ui/nudge/nudge-styled.js.map +1 -1
  143. package/dist/features/ui/nudge/nudge.js +15 -14
  144. package/dist/features/ui/nudge/nudge.js.map +1 -1
  145. package/dist/index.d.ts +81 -6
  146. package/dist/index.js +369 -365
  147. package/dist/index.js.map +1 -1
  148. package/dist/static/accuracy-badge.2e161f00.svg +1 -0
  149. package/dist/static/circle-outercircle-bg.65f21460.svg +1 -0
  150. package/dist/static/clock-badge.0adb4ba6.svg +1 -0
  151. package/dist/static/daily-work-out-complete.eaffdd2b.json +1 -0
  152. package/dist/static/down-arrow-badge.f462f615.svg +1 -0
  153. package/dist/static/green-tick.43b94c3a.svg +1 -0
  154. package/dist/static/nudge-swipe.f592eac6.json +1 -0
  155. package/dist/static/nudge-tap.dc4656d5.json +1 -0
  156. package/dist/static/pill-tick.c06f606d.json +1 -0
  157. package/dist/static/points-badge.96bdecc9.svg +1 -0
  158. package/dist/static/splash-screen.bbf567ce.json +2411 -0
  159. package/dist/static/star-badge.5450c267.svg +1 -0
  160. package/dist/static/up-arrow-badge.71fe7ad1.svg +1 -0
  161. package/package.json +1 -1
  162. package/dist/assets/line-icons/icons/carat-left.js +0 -26
  163. package/dist/assets/line-icons/icons/carat-left.js.map +0 -1
  164. package/dist/assets/line-icons/icons/carat-right.js +0 -26
  165. package/dist/assets/line-icons/icons/carat-right.js.map +0 -1
  166. package/dist/features/circle-games/game-launcher/comps/segmented-game-card/constants.js +0 -12
  167. package/dist/features/circle-games/game-launcher/comps/segmented-game-card/constants.js.map +0 -1
  168. package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card-styled.js +0 -138
  169. package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card-styled.js.map +0 -1
  170. package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card.js +0 -109
  171. package/dist/features/circle-games/game-launcher/comps/segmented-game-card/segmented-game-card.js.map +0 -1
  172. package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey-styled.js +0 -13
  173. package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey-styled.js.map +0 -1
  174. package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey-styled.js +0 -13
  175. package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey-styled.js.map +0 -1
  176. package/dist/static/nudge-tap.0591aef4.json +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"about-game-activities.js","sources":["../../../../src/features/circle-games/about-game-activities/about-game-activities.tsx"],"sourcesContent":["import { useState, useCallback, memo, useMemo, useEffect, type FC } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport BackIcon from '../../../assets/line-icons/icons/back2';\nimport { useGetTrackedViews } from '../../journey/hooks/use-get-tracked-views';\nimport { TRACKING_ID_STUDENT } from '../../journey/tracking-id/tracking-id-student';\nimport { useJourney } from '../../journey/use-journey/use-journey';\nimport Button from '../../ui/buttons/button/button';\nimport IconButton from '../../ui/buttons/icon-button/icon-button';\nimport Separator from '../../ui/separator/separator';\nimport Text from '../../ui/text/text';\nimport { ArcContainer } from '../comps/arc-container/arc-container';\nimport {\n getAboutGameActivitiesSteps,\n getAboutGameActivitiesStepsForKTo1,\n} from './about-game-activities-constants';\nimport * as Styled from './about-game-activities-styled';\nimport type { IAboutGameActivitiesProps } from './about-game-activities-types';\nimport { EDeviceType } from '../../ui/theme/constants';\n\nconst AboutGameActivities: FC<IAboutGameActivitiesProps> = memo(\n ({ show = false, isGradeKTo1 = false, onDismiss }) => {\n const { device } = useTheme();\n const isTouchDevice = device <= EDeviceType.TABLET;\n const [currentStep, setCurrentStep] = useState(0);\n const { trackView } = useJourney();\n const trackedViews = useGetTrackedViews();\n\n const isInfoAboutGameActivitiesViewed = trackedViews.includes(\n TRACKING_ID_STUDENT.INFO_ABOUT_GAME_ACTIVITIES,\n );\n\n const [showInfo, setShowInfo] = useState(!isInfoAboutGameActivitiesViewed || show);\n\n const steps = useMemo(\n () =>\n isGradeKTo1\n ? getAboutGameActivitiesStepsForKTo1(isTouchDevice)\n : getAboutGameActivitiesSteps(isTouchDevice),\n [isTouchDevice, isGradeKTo1],\n );\n const isFirstStep = currentStep === 0;\n const isLastStep = currentStep === steps.length - 1;\n\n const currentStepData = steps[currentStep];\n\n const handleClose = useCallback(() => {\n setShowInfo(false);\n onDismiss?.();\n }, [onDismiss]);\n\n const handlePrevious = useCallback(() => {\n if (currentStep > 0) {\n setCurrentStep(currentStep - 1);\n }\n }, [currentStep]);\n\n const handleNext = useCallback(() => {\n if (currentStep < steps.length - 1) {\n setCurrentStep(currentStep + 1);\n }\n\n if (isLastStep) {\n if (!isInfoAboutGameActivitiesViewed) {\n trackView(TRACKING_ID_STUDENT.INFO_ABOUT_GAME_ACTIVITIES);\n }\n handleClose();\n }\n }, [\n currentStep,\n handleClose,\n isLastStep,\n trackView,\n isInfoAboutGameActivitiesViewed,\n steps.length,\n ]);\n\n useEffect(() => {\n if (show) {\n setShowInfo(true);\n setCurrentStep(0);\n }\n }, [show]);\n\n if (!currentStepData) {\n return null;\n }\n\n return (\n showInfo && (\n <ArcContainer\n onClose={isInfoAboutGameActivitiesViewed || show ? handleClose : undefined}\n zIndex={10}\n contentContainerHeight={'calc(100% - 128px)'}\n >\n <Styled.Wrapper>\n <Styled.ContentContainer>\n <Styled.VideoContainer $isVideoCircular={currentStepData.isVideoCircular}>\n <Styled.Video key={currentStep} playsInline autoPlay loop muted>\n <source src={currentStepData.videoUrl} type=\"video/mp4\" />\n Your browser does not support the video tag.\n </Styled.Video>\n </Styled.VideoContainer>\n <Styled.Header>\n <Text\n $renderAs=\"ah4-bold\"\n $renderOnMobileAs=\"ab1-black\"\n $color=\"WHITE\"\n $align=\"center\"\n >\n {currentStepData.headerText}\n </Text>\n </Styled.Header>\n <Separator height={20} />\n <Styled.Footer>\n {currentStepData.footerText && (\n <Text $renderAs=\"ub1\" $renderOnMobileAs=\"ub2\" $color=\"WHITE_T_87\" $align=\"center\">\n {currentStepData.footerText}\n </Text>\n )}\n </Styled.Footer>\n </Styled.ContentContainer>\n\n <Styled.NavigationContainer $isFirstStep={isFirstStep}>\n {!isFirstStep && (\n <IconButton\n Icon={BackIcon}\n onClick={handlePrevious}\n disabled={false}\n size=\"small\"\n analyticsLabel=\"previous-step\"\n renderAs=\"black-dark\"\n />\n )}\n <Button\n label={isLastStep ? 'Get Started' : 'Next'}\n onClick={handleNext}\n disabled={false}\n size=\"small\"\n analyticsLabel={isLastStep ? 'get-started' : 'next-step'}\n renderAs={isLastStep ? 'secondary-dark' : 'black-dark'}\n />\n </Styled.NavigationContainer>\n </Styled.Wrapper>\n </ArcContainer>\n )\n );\n },\n);\n\nAboutGameActivities.displayName = 'AboutGameActivities';\n\nexport default AboutGameActivities;\n"],"names":["AboutGameActivities","memo","show","isGradeKTo1","onDismiss","device","useTheme","isTouchDevice","EDeviceType","currentStep","setCurrentStep","useState","trackView","useJourney","isInfoAboutGameActivitiesViewed","useGetTrackedViews","TRACKING_ID_STUDENT","showInfo","setShowInfo","steps","useMemo","getAboutGameActivitiesStepsForKTo1","getAboutGameActivitiesSteps","isFirstStep","isLastStep","currentStepData","handleClose","useCallback","handlePrevious","handleNext","useEffect","jsx","ArcContainer","jsxs","Styled.Wrapper","Styled.ContentContainer","Styled.VideoContainer","Styled.Video","Styled.Header","Text","Separator","Styled.Footer","Styled.NavigationContainer","IconButton","BackIcon","Button","AboutGameActivities$1"],"mappings":";;;;;;;;;;;;;;;AAoBA,MAAMA,IAAqDC;AAAA,EACzD,CAAC,EAAE,MAAAC,IAAO,IAAO,aAAAC,IAAc,IAAO,WAAAC,QAAgB;AAC9C,UAAA,EAAE,QAAAC,MAAWC,KACbC,IAAgBF,KAAUG,EAAY,QACtC,CAACC,GAAaC,CAAc,IAAIC,EAAS,CAAC,GAC1C,EAAE,WAAAC,MAAcC,KAGhBC,IAFeC,IAEgC;AAAA,MACnDC,EAAoB;AAAA,IAAA,GAGhB,CAACC,GAAUC,CAAW,IAAIP,EAAS,CAACG,KAAmCZ,CAAI,GAE3EiB,IAAQC;AAAA,MACZ,MACEjB,IACIkB,EAAmCd,CAAa,IAChDe,EAA4Bf,CAAa;AAAA,MAC/C,CAACA,GAAeJ,CAAW;AAAA,IAAA,GAEvBoB,IAAcd,MAAgB,GAC9Be,IAAaf,MAAgBU,EAAM,SAAS,GAE5CM,IAAkBN,EAAMV,CAAW,GAEnCiB,IAAcC,EAAY,MAAM;AACpC,MAAAT,EAAY,EAAK,GACLd,KAAA,QAAAA;AAAA,IAAA,GACX,CAACA,CAAS,CAAC,GAERwB,IAAiBD,EAAY,MAAM;AACvC,MAAIlB,IAAc,KAChBC,EAAeD,IAAc,CAAC;AAAA,IAChC,GACC,CAACA,CAAW,CAAC,GAEVoB,IAAaF,EAAY,MAAM;AAC/B,MAAAlB,IAAcU,EAAM,SAAS,KAC/BT,EAAeD,IAAc,CAAC,GAG5Be,MACGV,KACHF,EAAUI,EAAoB,0BAA0B,GAE9CU;IACd,GACC;AAAA,MACDjB;AAAA,MACAiB;AAAA,MACAF;AAAA,MACAZ;AAAA,MACAE;AAAA,MACAK,EAAM;AAAA,IAAA,CACP;AASD,WAPAW,EAAU,MAAM;AACd,MAAI5B,MACFgB,EAAY,EAAI,GAChBR,EAAe,CAAC;AAAA,IAClB,GACC,CAACR,CAAI,CAAC,GAEJuB,IAKHR,KACE,gBAAAc;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,SAASlB,KAAmCZ,IAAOwB,IAAc;AAAA,QACjE,QAAQ;AAAA,QACR,wBAAwB;AAAA,QAExB,UAAA,gBAAAO,EAACC,GAAA,EACC,UAAA;AAAA,UAAC,gBAAAD,EAAAE,GAAA,EACC,UAAA;AAAA,YAAA,gBAAAJ,EAACK,GAAA,EAAsB,kBAAkBX,EAAgB,iBACvD,UAAC,gBAAAQ,EAAAI,GAAA,EAA+B,aAAW,IAAC,UAAQ,IAAC,MAAI,IAAC,OAAK,IAC7D,UAAA;AAAA,cAAA,gBAAAN,EAAC,UAAO,EAAA,KAAKN,EAAgB,UAAU,MAAK,aAAY;AAAA,cAAE;AAAA,YAAA,EAAA,GADzChB,CAGnB,GACF;AAAA,YACA,gBAAAsB,EAACO,GAAA,EACC,UAAA,gBAAAP;AAAA,cAACQ;AAAA,cAAA;AAAA,gBACC,WAAU;AAAA,gBACV,mBAAkB;AAAA,gBAClB,QAAO;AAAA,gBACP,QAAO;AAAA,gBAEN,UAAgBd,EAAA;AAAA,cAAA;AAAA,YAAA,GAErB;AAAA,YACA,gBAAAM,EAACS,GAAU,EAAA,QAAQ,GAAI,CAAA;AAAA,8BACtBC,GAAA,EACE,UAAgBhB,EAAA,gCACdc,GAAK,EAAA,WAAU,OAAM,mBAAkB,OAAM,QAAO,cAAa,QAAO,UACtE,UAAAd,EAAgB,WACnB,CAAA,GAEJ;AAAA,UAAA,GACF;AAAA,UAEC,gBAAAQ,EAAAS,GAAA,EAA2B,cAAcnB,GACvC,UAAA;AAAA,YAAA,CAACA,KACA,gBAAAQ;AAAA,cAACY;AAAA,cAAA;AAAA,gBACC,MAAMC;AAAAA,gBACN,SAAShB;AAAA,gBACT,UAAU;AAAA,gBACV,MAAK;AAAA,gBACL,gBAAe;AAAA,gBACf,UAAS;AAAA,cAAA;AAAA,YACX;AAAA,YAEF,gBAAAG;AAAA,cAACc;AAAA,cAAA;AAAA,gBACC,OAAOrB,IAAa,gBAAgB;AAAA,gBACpC,SAASK;AAAA,gBACT,UAAU;AAAA,gBACV,MAAK;AAAA,gBACL,gBAAgBL,IAAa,gBAAgB;AAAA,gBAC7C,UAAUA,IAAa,mBAAmB;AAAA,cAAA;AAAA,YAC5C;AAAA,UAAA,GACF;AAAA,QAAA,GACF;AAAA,MAAA;AAAA,IAAA,IA1DG;AAAA,EA8DX;AACF;AAEAxB,EAAoB,cAAc;AAElC,MAAA8C,KAAe9C;"}
@@ -0,0 +1,78 @@
1
+ import { styled as o } from "styled-components";
2
+ import { ARC_HEIGHT as e } from "./constants.js";
3
+ const s = o.div`
4
+ position: absolute;
5
+ top: 0;
6
+ left: 0;
7
+ right: 0;
8
+ bottom: 0;
9
+ display: flex;
10
+ align-items: center;
11
+ justify-content: center;
12
+ overflow: hidden;
13
+ user-select: none;
14
+ z-index: ${({ $zIndex: i }) => i};
15
+ `, d = o.div`
16
+ position: absolute;
17
+ height: inherit;
18
+ width: inherit;
19
+ background: ${({ theme: i }) => i.colors.WHITE_T_05};
20
+ z-index: ${({ $zIndex: i }) => i};
21
+ backdrop-filter: blur(4px);
22
+ `, l = o.div`
23
+ position: absolute;
24
+ height: inherit;
25
+ width: inherit;
26
+ background: ${({ theme: i }) => i.colors.TRANSPARENT};
27
+ display: flex;
28
+ align-items: flex-end;
29
+ z-index: ${({ $zIndex: i }) => i};
30
+ `, a = o.div`
31
+ position: relative;
32
+ height: 100%;
33
+ display: flex;
34
+ flex: 1;
35
+ flex-direction: column;
36
+ align-items: center;
37
+ justify-content: center;
38
+ background: ${({ theme: i }) => i.colors.BLACK_2};
39
+ height: ${({ contentContainerHeight: i }) => typeof i == "string" ? i : `${i}px`};
40
+ max-height: ${({ contentContainerMaxHeight: i }) => typeof i == "string" ? i : `${i}px`};
41
+ `, c = o.div`
42
+ position: absolute;
43
+ z-index: ${({ $zIndex: i }) => i};
44
+ top: ${({ top: i }) => i}px;
45
+ display: flex;
46
+ width: ${({ width: i }) => i};
47
+ border-top-right-radius: ${({ width: i }) => i};
48
+ border-top-left-radius: ${({ width: i }) => i};
49
+ aspect-ratio: 1;
50
+ transform: scaleX(2);
51
+ background: ${({ theme: i, showGradient: t }) => t ? `linear-gradient(
52
+ 270deg,
53
+ rgba(255, 255, 255, 0.15) 0%,
54
+ #ffffff 50%,
55
+ rgba(255, 255, 255, 0.15) 100%
56
+ )` : i.colors.BLACK_2};
57
+ `, p = o.div`
58
+ position: absolute;
59
+ top: -${e + 48}px;
60
+ z-index: 5;
61
+ cursor: pointer;
62
+ `, f = o.div`
63
+ position: relative;
64
+ z-index: ${({ $zIndex: i }) => i};
65
+ width: 100%;
66
+ height: 100%;
67
+ overflow: auto;
68
+ `;
69
+ export {
70
+ c as Arc,
71
+ l as ArcContainer,
72
+ d as ArcContainerOverlay,
73
+ s as ArcContainerWrapper,
74
+ f as ArcContent,
75
+ a as ArcContentContainer,
76
+ p as CrossIconContainer
77
+ };
78
+ //# sourceMappingURL=arc-container-styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arc-container-styled.js","sources":["../../../../../src/features/circle-games/comps/arc-container/arc-container-styled.tsx"],"sourcesContent":["import { styled } from 'styled-components';\n\nimport { ARC_HEIGHT } from './constants';\nimport { type ArcContainerWrapperProps } from './arc-container-types';\n\nexport const ArcContainerWrapper = styled.div<ArcContainerWrapperProps>`\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n user-select: none;\n z-index: ${({ $zIndex }) => $zIndex};\n`;\n\nexport const ArcContainerOverlay = styled.div<ArcContainerWrapperProps>`\n position: absolute;\n height: inherit;\n width: inherit;\n background: ${({ theme }) => theme.colors.WHITE_T_05};\n z-index: ${({ $zIndex }) => $zIndex};\n backdrop-filter: blur(4px);\n`;\n\nexport const ArcContainer = styled.div<ArcContainerWrapperProps>`\n position: absolute;\n height: inherit;\n width: inherit;\n background: ${({ theme }) => theme.colors.TRANSPARENT};\n display: flex;\n align-items: flex-end;\n z-index: ${({ $zIndex }) => $zIndex};\n`;\n\nexport const ArcContentContainer = styled.div<{\n contentContainerHeight?: string | number;\n contentContainerMaxHeight?: string | number;\n}>`\n position: relative;\n height: 100%;\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n background: ${({ theme }) => theme.colors.BLACK_2};\n height: ${({ contentContainerHeight }) =>\n typeof contentContainerHeight === 'string'\n ? contentContainerHeight\n : `${contentContainerHeight}px`};\n max-height: ${({ contentContainerMaxHeight }) =>\n typeof contentContainerMaxHeight === 'string'\n ? contentContainerMaxHeight\n : `${contentContainerMaxHeight}px`};\n`;\n\nexport const Arc = styled.div<{\n width?: string;\n top: number;\n showGradient?: boolean;\n $zIndex?: number;\n}>`\n position: absolute;\n z-index: ${({ $zIndex }) => $zIndex};\n top: ${({ top }) => top}px;\n display: flex;\n width: ${({ width }) => width};\n border-top-right-radius: ${({ width }) => width};\n border-top-left-radius: ${({ width }) => width};\n aspect-ratio: 1;\n transform: scaleX(2);\n background: ${({ theme, showGradient }) =>\n showGradient\n ? `linear-gradient(\n 270deg,\n rgba(255, 255, 255, 0.15) 0%,\n #ffffff 50%,\n rgba(255, 255, 255, 0.15) 100%\n )`\n : theme.colors.BLACK_2};\n`;\n\nexport const CrossIconContainer = styled.div`\n position: absolute;\n top: -${ARC_HEIGHT + 48}px;\n z-index: 5;\n cursor: pointer;\n`;\n\nexport const ArcContent = styled.div<{ $zIndex: number }>`\n position: relative;\n z-index: ${({ $zIndex }) => $zIndex};\n width: 100%;\n height: 100%;\n overflow: auto;\n`;\n"],"names":["ArcContainerWrapper","styled","$zIndex","ArcContainerOverlay","theme","ArcContainer","ArcContentContainer","contentContainerHeight","contentContainerMaxHeight","Arc","top","width","showGradient","CrossIconContainer","ARC_HEIGHT","ArcContent"],"mappings":";;AAKO,MAAMA,IAAsBC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAW7B,CAAC,EAAE,SAAAC,EAAQ,MAAMA,CAAO;AAAA,GAGxBC,IAAsBF,EAAO;AAAA;AAAA;AAAA;AAAA,gBAI1B,CAAC,EAAE,OAAAG,EAAA,MAAYA,EAAM,OAAO,UAAU;AAAA,aACzC,CAAC,EAAE,SAAAF,EAAQ,MAAMA,CAAO;AAAA;AAAA,GAIxBG,IAAeJ,EAAO;AAAA;AAAA;AAAA;AAAA,gBAInB,CAAC,EAAE,OAAAG,EAAA,MAAYA,EAAM,OAAO,WAAW;AAAA;AAAA;AAAA,aAG1C,CAAC,EAAE,SAAAF,EAAQ,MAAMA,CAAO;AAAA,GAGxBI,IAAsBL,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAW1B,CAAC,EAAE,OAAAG,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA,YACvC,CAAC,EAAE,wBAAAG,EACX,MAAA,OAAOA,KAA2B,WAC9BA,IACA,GAAGA,CAAsB,IAAI;AAAA,gBACrB,CAAC,EAAE,2BAAAC,EACf,MAAA,OAAOA,KAA8B,WACjCA,IACA,GAAGA,CAAyB,IAAI;AAAA,GAG3BC,IAAMR,EAAO;AAAA;AAAA,aAOb,CAAC,EAAE,SAAAC,EAAQ,MAAMA,CAAO;AAAA,SAC5B,CAAC,EAAE,KAAAQ,EAAI,MAAMA,CAAG;AAAA;AAAA,WAEd,CAAC,EAAE,OAAAC,EAAM,MAAMA,CAAK;AAAA,6BACF,CAAC,EAAE,OAAAA,EAAM,MAAMA,CAAK;AAAA,4BACrB,CAAC,EAAE,OAAAA,EAAM,MAAMA,CAAK;AAAA;AAAA;AAAA,gBAGhC,CAAC,EAAE,OAAAP,GAAO,cAAAQ,QACtBA,IACI;AAAA;AAAA;AAAA;AAAA;AAAA,OAMAR,EAAM,OAAO,OAAO;AAAA,GAGfS,IAAqBZ,EAAO;AAAA;AAAA,UAE/Ba,IAAa,EAAE;AAAA;AAAA;AAAA,GAKZC,IAAad,EAAO;AAAA;AAAA,aAEpB,CAAC,EAAE,SAAAC,EAAQ,MAAMA,CAAO;AAAA;AAAA;AAAA;AAAA;"}
@@ -0,0 +1,53 @@
1
+ import { jsx as r, jsxs as o } from "react/jsx-runtime";
2
+ import { memo as C } from "react";
3
+ import p from "../../../../assets/line-icons/icons/cross.js";
4
+ import s from "../../../ui/layout/flex-view.js";
5
+ import { ArcContainerWrapper as $, ArcContainerOverlay as d, ArcContainer as h, ArcContentContainer as l, CrossIconContainer as A, Arc as e, ArcContent as f } from "./arc-container-styled.js";
6
+ import { ARC_HEIGHT as i } from "./constants.js";
7
+ const I = C(
8
+ ({
9
+ children: c,
10
+ onClose: n,
11
+ zIndex: t = 10,
12
+ contentContainerHeight: a = "auto",
13
+ contentContainerMaxHeight: m = 500
14
+ }) => /* @__PURE__ */ r($, { $zIndex: t, children: /* @__PURE__ */ o(
15
+ s,
16
+ {
17
+ $position: "relative",
18
+ $height: "100%",
19
+ $width: "100%",
20
+ $alignItems: "center",
21
+ $justifyContent: "center",
22
+ children: [
23
+ /* @__PURE__ */ r(d, { $zIndex: t }),
24
+ /* @__PURE__ */ r(h, { $zIndex: t, children: /* @__PURE__ */ o(
25
+ l,
26
+ {
27
+ contentContainerHeight: a,
28
+ contentContainerMaxHeight: m,
29
+ children: [
30
+ n && /* @__PURE__ */ r(A, { onClick: n, children: /* @__PURE__ */ r(p, { color: "WHITE" }) }),
31
+ /* @__PURE__ */ r(
32
+ e,
33
+ {
34
+ top: -(i + 3),
35
+ showGradient: !0,
36
+ width: "112%",
37
+ $zIndex: t
38
+ }
39
+ ),
40
+ /* @__PURE__ */ r(e, { top: -i, $zIndex: t, width: "112%" }),
41
+ /* @__PURE__ */ r(f, { $zIndex: t, children: c })
42
+ ]
43
+ }
44
+ ) })
45
+ ]
46
+ }
47
+ ) })
48
+ );
49
+ I.displayName = "ArcContainer";
50
+ export {
51
+ I as ArcContainer
52
+ };
53
+ //# sourceMappingURL=arc-container.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arc-container.js","sources":["../../../../../src/features/circle-games/comps/arc-container/arc-container.tsx"],"sourcesContent":["import { memo } from 'react';\n\nimport CrossIcon from '../../../../assets/line-icons/icons/cross';\nimport FlexView from '../../../ui/layout/flex-view';\nimport * as Styled from './arc-container-styled';\nimport type { IArcContainerProps } from './arc-container-types';\nimport { ARC_HEIGHT } from './constants';\n\nexport const ArcContainer = memo(\n ({\n children,\n onClose,\n zIndex = 10,\n contentContainerHeight = 'auto',\n contentContainerMaxHeight = 500,\n }: IArcContainerProps) => {\n return (\n <Styled.ArcContainerWrapper $zIndex={zIndex}>\n <FlexView\n $position=\"relative\"\n $height=\"100%\"\n $width=\"100%\"\n $alignItems=\"center\"\n $justifyContent=\"center\"\n >\n <Styled.ArcContainerOverlay $zIndex={zIndex} />\n <Styled.ArcContainer $zIndex={zIndex}>\n <Styled.ArcContentContainer\n contentContainerHeight={contentContainerHeight}\n contentContainerMaxHeight={contentContainerMaxHeight}\n >\n {onClose && (\n <Styled.CrossIconContainer onClick={onClose}>\n <CrossIcon color=\"WHITE\" />\n </Styled.CrossIconContainer>\n )}\n <Styled.Arc\n top={-(ARC_HEIGHT + 3)}\n showGradient={true}\n width=\"112%\"\n $zIndex={zIndex}\n />\n <Styled.Arc top={-ARC_HEIGHT} $zIndex={zIndex} width=\"112%\" />\n\n <Styled.ArcContent $zIndex={zIndex}>{children}</Styled.ArcContent>\n </Styled.ArcContentContainer>\n </Styled.ArcContainer>\n </FlexView>\n </Styled.ArcContainerWrapper>\n );\n },\n);\n\nArcContainer.displayName = 'ArcContainer';\n"],"names":["ArcContainer","memo","children","onClose","zIndex","contentContainerHeight","contentContainerMaxHeight","jsx","Styled.ArcContainerWrapper","jsxs","FlexView","Styled.ArcContainerOverlay","Styled.ArcContainer","Styled.ArcContentContainer","Styled.CrossIconContainer","CrossIcon","Styled.Arc","ARC_HEIGHT","Styled.ArcContent"],"mappings":";;;;;;AAQO,MAAMA,IAAeC;AAAA,EAC1B,CAAC;AAAA,IACC,UAAAC;AAAA,IACA,SAAAC;AAAA,IACA,QAAAC,IAAS;AAAA,IACT,wBAAAC,IAAyB;AAAA,IACzB,2BAAAC,IAA4B;AAAA,EAAA,MAGzB,gBAAAC,EAAAC,GAAA,EAA2B,SAASJ,GACnC,UAAA,gBAAAK;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACV,SAAQ;AAAA,MACR,QAAO;AAAA,MACP,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAEhB,UAAA;AAAA,QAAA,gBAAAH,EAACI,GAAA,EAA2B,SAASP,EAAQ,CAAA;AAAA,QAC5C,gBAAAG,EAAAK,GAAA,EAAoB,SAASR,GAC5B,UAAA,gBAAAK;AAAA,UAACI;AAAAA,UAAA;AAAA,YACC,wBAAAR;AAAA,YACA,2BAAAC;AAAA,YAEC,UAAA;AAAA,cACCH,KAAA,gBAAAI,EAACO,GAAA,EAA0B,SAASX,GAClC,UAAC,gBAAAI,EAAAQ,GAAA,EAAU,OAAM,QAAA,CAAQ,EAC3B,CAAA;AAAA,cAEF,gBAAAR;AAAA,gBAACS;AAAAA,gBAAA;AAAA,kBACC,KAAK,EAAEC,IAAa;AAAA,kBACpB,cAAc;AAAA,kBACd,OAAM;AAAA,kBACN,SAASb;AAAA,gBAAA;AAAA,cACX;AAAA,cACA,gBAAAG,EAACS,GAAA,EAAW,KAAK,CAACC,GAAY,SAASb,GAAQ,OAAM,QAAO;AAAA,gCAE3Dc,GAAA,EAAkB,SAASd,GAAS,UAAAF,EAAS,CAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA,GAElD;AAAA,MAAA;AAAA,IAAA;AAAA,EAEJ,EAAA,CAAA;AAGN;AAEAF,EAAa,cAAc;"}
@@ -0,0 +1,5 @@
1
+ const o = 48;
2
+ export {
3
+ o as ARC_HEIGHT
4
+ };
5
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sources":["../../../../../src/features/circle-games/comps/arc-container/constants.ts"],"sourcesContent":["export const ARC_HEIGHT = 48;\n"],"names":["ARC_HEIGHT"],"mappings":"AAAO,MAAMA,IAAa;"}
@@ -1,4 +1,4 @@
1
- const c = "/api/v1/circle";
1
+ const c = "/api/v2/circle";
2
2
  export {
3
3
  c as BASE_URL
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sources":["../../../../../../src/features/circle-games/game-launcher/api/get-content-for-today/constants.ts"],"sourcesContent":["export const BASE_URL = '/api/v1/circle';\n"],"names":["BASE_URL"],"mappings":"AAAO,MAAMA,IAAW;"}
1
+ {"version":3,"file":"constants.js","sources":["../../../../../../src/features/circle-games/game-launcher/api/get-content-for-today/constants.ts"],"sourcesContent":["export const BASE_URL = '/api/v2/circle';\n"],"names":["BASE_URL"],"mappings":"AAAO,MAAMA,IAAW;"}
@@ -8,7 +8,7 @@ const p = t.div`
8
8
  justify-content: center;
9
9
  `, d = t(o)`
10
10
  position: absolute;
11
- top: -28px;
11
+ top: -35px;
12
12
  display: flex;
13
13
  justify-content: center;
14
14
  `, f = t.div`
@@ -1 +1 @@
1
- {"version":3,"file":"card-container-styled.js","sources":["../../../../../../src/features/circle-games/game-launcher/comps/card-container/card-container-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Text from '../../../../ui/text/text';\nimport type { TColorNames } from '../../../../ui/types';\nimport { GAME_LAUNCHER_SIZE } from './constants';\n\nexport const CardWrapper = styled.div`\n position: relative;\n display: flex;\n justify-content: center;\n`;\n\nexport const ExtendedFlexView = styled(FlexView)`\n position: absolute;\n top: -28px;\n display: flex;\n justify-content: center;\n`;\n\nexport const CardContainer = styled.div<{ $strokeColor?: TColorNames }>`\n position: relative;\n border-radius: ${GAME_LAUNCHER_SIZE}px;\n border: ${({ $strokeColor }) =>\n $strokeColor ? `2px solid ${$strokeColor}` : '0 solid transparent'};\n height: ${GAME_LAUNCHER_SIZE}px;\n width: ${GAME_LAUNCHER_SIZE}px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n align-self: center;\n backdrop-filter: blur(0px);\n flex-shrink: 0;\n`;\n\nexport const AnimatedLabel = styled(Text)<{ $isAnimated: boolean }>`\n transition: color 0.5s ease-in-out;\n\n ${({ $isAnimated }) =>\n $isAnimated &&\n `\n animation: zoomInOut 1s ease-in-out infinite;\n `}\n\n @keyframes zoomInOut {\n 0% {\n transform: scale(1);\n }\n 50% {\n transform: scale(1.05);\n }\n 100% {\n transform: scale(1);\n }\n }\n`;\n"],"names":["CardWrapper","styled","ExtendedFlexView","FlexView","CardContainer","GAME_LAUNCHER_SIZE","$strokeColor","AnimatedLabel","Text","$isAnimated"],"mappings":";;;;AAOO,MAAMA,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA,GAMrBC,IAAmBD,EAAOE,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA,GAOlCC,IAAgBH,EAAO;AAAA;AAAA,mBAEjBI,CAAkB;AAAA,YACzB,CAAC,EAAE,cAAAC,EAAa,MACxBA,IAAe,aAAaA,CAAY,KAAK,qBAAqB;AAAA,YAC1DD,CAAkB;AAAA,WACnBA,CAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAWhBE,IAAgBN,EAAOO,CAAI;AAAA;AAAA;AAAA,IAGpC,CAAC,EAAE,aAAAC,QACHA,KACA;AAAA;AAAA,KAEC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
1
+ {"version":3,"file":"card-container-styled.js","sources":["../../../../../../src/features/circle-games/game-launcher/comps/card-container/card-container-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../../ui/layout/flex-view';\nimport Text from '../../../../ui/text/text';\nimport type { TColorNames } from '../../../../ui/types';\nimport { GAME_LAUNCHER_SIZE } from './constants';\n\nexport const CardWrapper = styled.div`\n position: relative;\n display: flex;\n justify-content: center;\n`;\n\nexport const ExtendedFlexView = styled(FlexView)`\n position: absolute;\n top: -35px;\n display: flex;\n justify-content: center;\n`;\n\nexport const CardContainer = styled.div<{ $strokeColor?: TColorNames }>`\n position: relative;\n border-radius: ${GAME_LAUNCHER_SIZE}px;\n border: ${({ $strokeColor }) =>\n $strokeColor ? `2px solid ${$strokeColor}` : '0 solid transparent'};\n height: ${GAME_LAUNCHER_SIZE}px;\n width: ${GAME_LAUNCHER_SIZE}px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n align-self: center;\n backdrop-filter: blur(0px);\n flex-shrink: 0;\n`;\n\nexport const AnimatedLabel = styled(Text)<{ $isAnimated: boolean }>`\n transition: color 0.5s ease-in-out;\n\n ${({ $isAnimated }) =>\n $isAnimated &&\n `\n animation: zoomInOut 1s ease-in-out infinite;\n `}\n\n @keyframes zoomInOut {\n 0% {\n transform: scale(1);\n }\n 50% {\n transform: scale(1.05);\n }\n 100% {\n transform: scale(1);\n }\n }\n`;\n"],"names":["CardWrapper","styled","ExtendedFlexView","FlexView","CardContainer","GAME_LAUNCHER_SIZE","$strokeColor","AnimatedLabel","Text","$isAnimated"],"mappings":";;;;AAOO,MAAMA,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA,GAMrBC,IAAmBD,EAAOE,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA,GAOlCC,IAAgBH,EAAO;AAAA;AAAA,mBAEjBI,CAAkB;AAAA,YACzB,CAAC,EAAE,cAAAC,EAAa,MACxBA,IAAe,aAAaA,CAAY,KAAK,qBAAqB;AAAA,YAC1DD,CAAkB;AAAA,WACnBA,CAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAWhBE,IAAgBN,EAAOO,CAAI;AAAA;AAAA;AAAA,IAGpC,CAAC,EAAE,aAAAC,QACHA,KACA;AAAA;AAAA,KAEC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
@@ -1 +1 @@
1
- {"version":3,"file":"card-container.js","sources":["../../../../../../src/features/circle-games/game-launcher/comps/card-container/card-container.tsx"],"sourcesContent":["import { forwardRef, memo, type ForwardRefRenderFunction } from 'react';\n\nimport * as Styled from './card-container-styled';\nimport type { ICardContainerProps } from './card-container-types';\n\nconst Container: ForwardRefRenderFunction<HTMLDivElement, ICardContainerProps> = (props, ref) => {\n const {\n children,\n strokeColor,\n label,\n isAnimated,\n labelRef,\n showLabel = true,\n labelColor,\n ...rest\n } = props;\n\n return (\n <Styled.CardWrapper {...rest}>\n <Styled.ExtendedFlexView>\n <Styled.AnimatedLabel\n ref={labelRef}\n $renderAs=\"ac4-black\"\n $align=\"center\"\n $color={labelColor}\n $isAnimated={isAnimated}\n >\n {showLabel ? label : ''}\n </Styled.AnimatedLabel>\n </Styled.ExtendedFlexView>\n <Styled.CardContainer ref={ref} $strokeColor={strokeColor}>\n {children}\n </Styled.CardContainer>\n </Styled.CardWrapper>\n );\n};\n\nexport const CardContainer = memo(forwardRef(Container));\n"],"names":["Container","props","ref","children","strokeColor","label","isAnimated","labelRef","showLabel","labelColor","rest","jsxs","Styled.CardWrapper","jsx","Styled.ExtendedFlexView","Styled.AnimatedLabel","Styled.CardContainer","CardContainer","memo","forwardRef"],"mappings":";;;AAKA,MAAMA,IAA2E,CAACC,GAAOC,MAAQ;AACzF,QAAA;AAAA,IACJ,UAAAC;AAAA,IACA,aAAAC;AAAA,IACA,OAAAC;AAAA,IACA,YAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAC,IAAY;AAAA,IACZ,YAAAC;AAAA,IACA,GAAGC;AAAA,EACD,IAAAT;AAEJ,SACG,gBAAAU,EAAAC,GAAA,EAAoB,GAAGF,GACtB,UAAA;AAAA,IAAC,gBAAAG,EAAAC,GAAA,EACC,UAAA,gBAAAD;AAAA,MAACE;AAAAA,MAAA;AAAA,QACC,KAAKR;AAAA,QACL,WAAU;AAAA,QACV,QAAO;AAAA,QACP,QAAQE;AAAA,QACR,aAAaH;AAAA,QAEZ,cAAYD,IAAQ;AAAA,MAAA;AAAA,IAAA,GAEzB;AAAA,sBACCW,GAAA,EAAqB,KAAAd,GAAU,cAAcE,GAC3C,UAAAD,GACH;AAAA,EACF,EAAA,CAAA;AAEJ,GAEac,IAAgBC,EAAKC,EAAWnB,CAAS,CAAC;"}
1
+ {"version":3,"file":"card-container.js","sources":["../../../../../../src/features/circle-games/game-launcher/comps/card-container/card-container.tsx"],"sourcesContent":["import { forwardRef, type ForwardRefRenderFunction, memo } from 'react';\n\nimport * as Styled from './card-container-styled';\nimport type { ICardContainerProps } from './card-container-types';\n\nconst Container: ForwardRefRenderFunction<HTMLDivElement, ICardContainerProps> = (props, ref) => {\n const {\n children,\n strokeColor,\n label,\n isAnimated,\n labelRef,\n showLabel = true,\n labelColor,\n ...rest\n } = props;\n\n return (\n <Styled.CardWrapper {...rest}>\n <Styled.ExtendedFlexView>\n <Styled.AnimatedLabel\n ref={labelRef}\n $renderAs=\"ac4-black\"\n $align=\"center\"\n $color={labelColor}\n $isAnimated={isAnimated}\n >\n {showLabel ? label : ''}\n </Styled.AnimatedLabel>\n </Styled.ExtendedFlexView>\n <Styled.CardContainer ref={ref} $strokeColor={strokeColor}>\n {children}\n </Styled.CardContainer>\n </Styled.CardWrapper>\n );\n};\n\nexport const CardContainer = memo(forwardRef(Container));\n"],"names":["Container","props","ref","children","strokeColor","label","isAnimated","labelRef","showLabel","labelColor","rest","jsxs","Styled.CardWrapper","jsx","Styled.ExtendedFlexView","Styled.AnimatedLabel","Styled.CardContainer","CardContainer","memo","forwardRef"],"mappings":";;;AAKA,MAAMA,IAA2E,CAACC,GAAOC,MAAQ;AACzF,QAAA;AAAA,IACJ,UAAAC;AAAA,IACA,aAAAC;AAAA,IACA,OAAAC;AAAA,IACA,YAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAC,IAAY;AAAA,IACZ,YAAAC;AAAA,IACA,GAAGC;AAAA,EACD,IAAAT;AAEJ,SACG,gBAAAU,EAAAC,GAAA,EAAoB,GAAGF,GACtB,UAAA;AAAA,IAAC,gBAAAG,EAAAC,GAAA,EACC,UAAA,gBAAAD;AAAA,MAACE;AAAAA,MAAA;AAAA,QACC,KAAKR;AAAA,QACL,WAAU;AAAA,QACV,QAAO;AAAA,QACP,QAAQE;AAAA,QACR,aAAaH;AAAA,QAEZ,cAAYD,IAAQ;AAAA,MAAA;AAAA,IAAA,GAEzB;AAAA,sBACCW,GAAA,EAAqB,KAAAd,GAAU,cAAcE,GAC3C,UAAAD,GACH;AAAA,EACF,EAAA,CAAA;AAEJ,GAEac,IAAgBC,EAAKC,EAAWnB,CAAS,CAAC;"}
@@ -1,7 +1,11 @@
1
- const A = 296, _ = 400, E = window.innerWidth >= 600 && window.innerHeight >= 800 ? 400 : 296, L = E;
1
+ const _ = 180, A = 296, n = 400;
2
+ let E;
3
+ window.innerWidth >= 600 && window.innerHeight >= 800 ? E = 400 : window.innerWidth >= 350 && window.innerHeight >= 650 ? E = 296 : E = 180;
4
+ const i = E;
2
5
  export {
3
- L as GAME_LAUNCHER_SIZE,
4
- _ as GAME_LAUNCHER_SIZE_LARGE,
5
- A as GAME_LAUNCHER_SIZE_SMALL
6
+ i as GAME_LAUNCHER_SIZE,
7
+ n as GAME_LAUNCHER_SIZE_LARGE,
8
+ A as GAME_LAUNCHER_SIZE_MEDIUM,
9
+ _ as GAME_LAUNCHER_SIZE_SMALL
6
10
  };
7
11
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sources":["../../../../../../src/features/circle-games/game-launcher/comps/card-container/constants.ts"],"sourcesContent":["export const GAME_LAUNCHER_SIZE_SMALL = 296;\nexport const GAME_LAUNCHER_SIZE_LARGE = 400;\n\nconst CARD_CONTAINER_SIZE =\n window.innerWidth >= 600 && window.innerHeight >= 800\n ? GAME_LAUNCHER_SIZE_LARGE\n : GAME_LAUNCHER_SIZE_SMALL;\n\nexport const GAME_LAUNCHER_SIZE = CARD_CONTAINER_SIZE;\n"],"names":["GAME_LAUNCHER_SIZE_SMALL","GAME_LAUNCHER_SIZE_LARGE","CARD_CONTAINER_SIZE","GAME_LAUNCHER_SIZE"],"mappings":"AAAO,MAAMA,IAA2B,KAC3BC,IAA2B,KAElCC,IACJ,OAAO,cAAc,OAAO,OAAO,eAAe,MAC9C,MACA,KAEOC,IAAqBD;"}
1
+ {"version":3,"file":"constants.js","sources":["../../../../../../src/features/circle-games/game-launcher/comps/card-container/constants.ts"],"sourcesContent":["export const GAME_LAUNCHER_SIZE_SMALL = 180;\nexport const GAME_LAUNCHER_SIZE_MEDIUM = 296;\nexport const GAME_LAUNCHER_SIZE_LARGE = 400;\n\nlet CARD_CONTAINER_SIZE;\n\nif (window.innerWidth >= 600 && window.innerHeight >= 800) {\n CARD_CONTAINER_SIZE = GAME_LAUNCHER_SIZE_LARGE;\n} else if (window.innerWidth >= 350 && window.innerHeight >= 650) {\n CARD_CONTAINER_SIZE = GAME_LAUNCHER_SIZE_MEDIUM;\n} else {\n CARD_CONTAINER_SIZE = GAME_LAUNCHER_SIZE_SMALL;\n}\n\nexport const GAME_LAUNCHER_SIZE = CARD_CONTAINER_SIZE;\n"],"names":["GAME_LAUNCHER_SIZE_SMALL","GAME_LAUNCHER_SIZE_MEDIUM","GAME_LAUNCHER_SIZE_LARGE","CARD_CONTAINER_SIZE","GAME_LAUNCHER_SIZE"],"mappings":"AAAO,MAAMA,IAA2B,KAC3BC,IAA4B,KAC5BC,IAA2B;AAExC,IAAIC;AAEA,OAAO,cAAc,OAAO,OAAO,eAAe,MAC9BA,IAAA,MACb,OAAO,cAAc,OAAO,OAAO,eAAe,MACrCA,IAAA,MAEAA,IAAA;AAGjB,MAAMC,IAAqBD;"}
@@ -1,39 +1,146 @@
1
- import e from "styled-components";
2
- import o from "../../../../ui/layout/flex-view.js";
3
- const s = e.div`
1
+ import e, { css as n } from "styled-components";
2
+ import a from "../../../../ui/layout/flex-view.js";
3
+ import { GAME_LAUNCHER_SIZE as i } from "../card-container/constants.js";
4
+ import { GAME_LAUNCHER_ASSET_PADDING as r, PILL_SIZE as s } from "../circular-game-card/constants.js";
5
+ const f = e.div`
4
6
  width: 100%;
7
+ height: 100%;
5
8
  position: relative;
6
9
  display: flex;
7
10
  justify-content: center;
8
- `, l = e.div`
11
+ touch-action: none;
12
+ `, h = e.div`
9
13
  display: flex;
10
14
  width: 100%;
11
15
  flex-grow: 1;
12
- transform: ${({ $translate: t }) => `translateX(${-t}%)`};
16
+ transform: ${({ $translate: t = 0 }) => `translateX(${-t}%)`};
13
17
  transition: ${({ $translateDuration: t }) => `all ${t}ms ease-in`};
14
- `, a = e.div`
18
+ touch-action: none;
19
+ `, u = e.div`
15
20
  width: 100%;
16
21
  display: flex;
17
22
  align-items: center;
18
23
  justify-content: center;
19
24
  flex-grow: 1;
20
25
  flex-shrink: 0;
21
- `, d = e.div`
22
- border: 1px solid ${({ theme: t }) => t.colors.WHITE};
23
- height: 8px;
24
- width: 8px;
25
- border-radius: 100%;
26
- margin: 0 4px;
27
- background: ${({ theme: t, $isActive: r }) => r ? t.colors.WHITE : "transparent"};
26
+ touch-action: none;
27
+ `, g = e.div`
28
+ display: flex;
29
+ flex-direction: row;
30
+ align-items: center;
31
+ padding: 2px;
32
+ gap: 2px;
33
+ background: ${({ theme: t }) => t.colors.BLACK_5 || "#313131"};
34
+ border-radius: 24px;
35
+ margin-top: 20px;
36
+
37
+ /* Desktop overrides only if NOT touch device */
38
+ ${({ $isTouchDevice: t }) => !t && n`
39
+ padding: 8px;
40
+ gap: 8px;
41
+ margin-top: 16px;
42
+ `}
43
+ `, b = e.div`
44
+ width: 28px;
45
+ height: 28px;
46
+ display: flex;
47
+ align-items: center;
48
+ justify-content: center;
49
+ flex-shrink: 0;
50
+ `, m = e.img`
51
+ width: 100%;
52
+ height: 100%;
53
+ object-fit: contain;
54
+ `;
55
+ e.div`
56
+ position: relative;
57
+ display: inline-block; /* shrink to fit the carousel */
58
+ `;
59
+ const v = e.div`
60
+ position: absolute;
61
+ width: 160%;
62
+ top: 60%;
63
+ left: 50%;
64
+ transform: translate(-50%, -50%);
65
+ pointer-events: none;
66
+ z-index: 2;
67
+ display: ${({ $hidden: t }) => t ? "none" : "block"};
68
+ `, $ = e.div`
69
+ box-sizing: border-box;
70
+
71
+ /* ------ MOBILE-FIRST STYLES ------ */
72
+ width: 20px;
73
+ height: 20px;
74
+ border-radius: 13.33px;
75
+ display: flex;
76
+ align-items: center;
77
+ justify-content: center;
28
78
  cursor: pointer;
29
- `, p = e(o)`
30
- bottom: -32px;
79
+ color: ${({ $isCompleted: t }) => t ? "transparent" : "#0D0D0D"};
80
+ background: ${({ $isSelected: t, $isCompleted: o }) => o && t ? "#00E573" : o ? "#007038" : t ? "#FFFFFF" : "#313131"};
81
+
82
+ /* ------ DESKTOP OVERRIDES ------ */
83
+ ${({ $isTouchDevice: t, $isCompleted: o, $isSelected: l }) => !t && n`
84
+ width: 28px;
85
+ height: 28px;
86
+ border-radius: 16px;
87
+ line-height: 50px;
88
+ border: ${o ? "none" : "1px solid rgba(255, 255, 255, 0.38)"};
89
+
90
+ ${!l && !o && n`
91
+ &:hover {
92
+ background: rgba(255, 255, 255, 0.38);
93
+ border: 1px solid #ffffff;
94
+ color: #ffffff;
95
+ }
96
+ `}
97
+ `}
98
+ `, y = e(a)`
99
+ position: absolute;
100
+ top: calc(50% + ${i / 2}px);
101
+ `, w = e(a)`
102
+ position: absolute;
103
+ top: calc(50% + ${56 + i / 2}px);
104
+ justify-content: center;
105
+ align-items: center;
106
+ pointer-events: none;
107
+ ${({ theme: t }) => t.mediaQueries.minWidthTablet} {
108
+ top: calc(50% + ${66 + i / 2}px);
109
+ }
110
+ `, E = e.div`
111
+ visibility: ${({ $hidden: t }) => t ? "hidden" : "visible"};
112
+ position: absolute;
113
+ top: -${i / 2}px;
114
+ left: 50%;
115
+ height: ${i + r}px;
116
+ width: ${i + r}px;
117
+ border-radius: 50%;
118
+ z-index: 4;
119
+ transform: translate(-50%, -50%);
120
+ `, C = e.div`
121
+ position: absolute;
122
+ top: calc(50% - ${i / 2}px);
123
+ left: 50%;
124
+ transform: translate(-50%, -50%);
125
+ display: flex;
126
+ align-items: center;
127
+ justify-content: center;
128
+ height: ${s}px;
129
+ width: ${2 * s}px;
130
+ z-index: 6;
31
131
  `;
32
132
  export {
33
- s as Carousel,
34
- a as CarouselItemContainer,
35
- l as CarouselWrapper,
36
- p as ExtendedFlexView,
37
- d as Indicator
133
+ f as Carousel,
134
+ g as CarouselContainer,
135
+ $ as CarouselItem,
136
+ u as CarouselItemContainer,
137
+ b as CarouselItemWrapper,
138
+ h as CarouselWrapper,
139
+ y as ExtendedFlexView,
140
+ v as OverlappingLottie,
141
+ C as PillTickContainer,
142
+ E as ProgressRingLottieContainer,
143
+ w as StyledCarouselBadgeWrapper,
144
+ m as TickIcon
38
145
  };
39
146
  //# sourceMappingURL=carousel-styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"carousel-styled.js","sources":["../../../../../../src/features/circle-games/game-launcher/comps/carousel/carousel-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../../ui/layout/flex-view';\n\nexport const Carousel = styled.div`\n width: 100%;\n position: relative;\n display: flex;\n justify-content: center;\n`;\nexport const CarouselWrapper = styled.div<{ $translate: number; $translateDuration: number }>`\n display: flex;\n width: 100%;\n flex-grow: 1;\n transform: ${({ $translate }) => `translateX(${-$translate}%)`};\n transition: ${({ $translateDuration }) => `all ${$translateDuration}ms ease-in`};\n`;\n\nexport const CarouselItemContainer = styled.div`\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-grow: 1;\n flex-shrink: 0;\n`;\n\nexport const Indicator = styled.div<{ $isActive?: boolean }>`\n border: 1px solid ${({ theme }) => theme.colors.WHITE};\n height: 8px;\n width: 8px;\n border-radius: 100%;\n margin: 0 4px;\n background: ${({ theme, $isActive }) => ($isActive ? theme.colors.WHITE : 'transparent')};\n cursor: pointer;\n`;\n\nexport const ExtendedFlexView = styled(FlexView)`\n bottom: -32px;\n`;\n"],"names":["Carousel","styled","CarouselWrapper","$translate","$translateDuration","CarouselItemContainer","Indicator","theme","$isActive","ExtendedFlexView","FlexView"],"mappings":";;AAIO,MAAMA,IAAWC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA,GAMlBC,IAAkBD,EAAO;AAAA;AAAA;AAAA;AAAA,eAIvB,CAAC,EAAE,YAAAE,QAAiB,cAAc,CAACA,CAAU,IAAI;AAAA,gBAChD,CAAC,EAAE,oBAAAC,EAAyB,MAAA,OAAOA,CAAkB,YAAY;AAAA,GAGpEC,IAAwBJ,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAS/BK,IAAYL,EAAO;AAAA,sBACV,CAAC,EAAE,OAAAM,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA,gBAKvC,CAAC,EAAE,OAAAA,GAAO,WAAAC,QAAiBA,IAAYD,EAAM,OAAO,QAAQ,aAAc;AAAA;AAAA,GAI7EE,IAAmBR,EAAOS,CAAQ;AAAA;AAAA;"}
1
+ {"version":3,"file":"carousel-styled.js","sources":["../../../../../../src/features/circle-games/game-launcher/comps/carousel/carousel-styled.tsx"],"sourcesContent":["import styled, { css } from 'styled-components';\n\nimport FlexView from '../../../../ui/layout/flex-view';\nimport { GAME_LAUNCHER_SIZE } from '../card-container/constants';\nimport type { CarouselContainerProps, CarouselItemProps } from './carousel-types';\nimport { GAME_LAUNCHER_ASSET_PADDING, PILL_SIZE } from '../circular-game-card/constants';\n\nexport const Carousel = styled.div`\n width: 100%;\n height: 100%;\n position: relative;\n display: flex;\n justify-content: center;\n touch-action: none;\n`;\nexport const CarouselWrapper = styled.div<{ $translate?: number; $translateDuration?: number }>`\n display: flex;\n width: 100%;\n flex-grow: 1;\n transform: ${({ $translate = 0 }) => `translateX(${-$translate}%)`};\n transition: ${({ $translateDuration }) => `all ${$translateDuration}ms ease-in`};\n touch-action: none;\n`;\n\nexport const CarouselItemContainer = styled.div`\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-grow: 1;\n flex-shrink: 0;\n touch-action: none;\n`;\n\n// StyledComponents.ts\n\nexport const CarouselContainer = styled.div<CarouselContainerProps>`\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 2px;\n gap: 2px;\n background: ${({ theme }) => theme.colors.BLACK_5 || '#313131'};\n border-radius: 24px;\n margin-top: 20px;\n\n /* Desktop overrides only if NOT touch device */\n ${({ $isTouchDevice }) =>\n !$isTouchDevice &&\n css`\n padding: 8px;\n gap: 8px;\n margin-top: 16px;\n `}\n`;\n\nexport const CarouselItemWrapper = styled.div`\n width: 28px;\n height: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n`;\n\nexport const TickIcon = styled.img`\n width: 100%;\n height: 100%;\n object-fit: contain;\n`;\n\nexport const CarouselWrapperRelative = styled.div`\n position: relative;\n display: inline-block; /* shrink to fit the carousel */\n`;\n\ninterface IOverlappingLottieProps {\n $hidden?: boolean;\n}\n\nexport const OverlappingLottie = styled.div<IOverlappingLottieProps>`\n position: absolute;\n width: 160%;\n top: 60%;\n left: 50%;\n transform: translate(-50%, -50%);\n pointer-events: none;\n z-index: 2;\n display: ${({ $hidden }) => ($hidden ? 'none' : 'block')};\n`;\n\nexport const CarouselItem = styled.div<CarouselItemProps>`\n box-sizing: border-box;\n\n /* ------ MOBILE-FIRST STYLES ------ */\n width: 20px;\n height: 20px;\n border-radius: 13.33px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n color: ${({ $isCompleted }) => ($isCompleted ? 'transparent' : '#0D0D0D')};\n background: ${({ $isSelected, $isCompleted }) => {\n if ($isCompleted && $isSelected) return '#00E573';\n\n if ($isCompleted) return '#007038';\n\n if ($isSelected) return '#FFFFFF';\n\n return '#313131';\n }};\n\n /* ------ DESKTOP OVERRIDES ------ */\n ${({ $isTouchDevice, $isCompleted, $isSelected }) =>\n !$isTouchDevice &&\n css`\n width: 28px;\n height: 28px;\n border-radius: 16px;\n line-height: 50px;\n border: ${$isCompleted ? 'none' : '1px solid rgba(255, 255, 255, 0.38)'};\n\n ${!$isSelected &&\n !$isCompleted &&\n css`\n &:hover {\n background: rgba(255, 255, 255, 0.38);\n border: 1px solid #ffffff;\n color: #ffffff;\n }\n `}\n `}\n`;\nexport const ExtendedFlexView = styled(FlexView)`\n position: absolute;\n top: calc(50% + ${GAME_LAUNCHER_SIZE / 2}px);\n`;\n\nexport const StyledCarouselBadgeWrapper = styled(FlexView)`\n position: absolute;\n top: calc(50% + ${56 + GAME_LAUNCHER_SIZE / 2}px);\n justify-content: center;\n align-items: center;\n pointer-events: none;\n ${({ theme }) => theme.mediaQueries.minWidthTablet} {\n top: calc(50% + ${66 + GAME_LAUNCHER_SIZE / 2}px);\n }\n`;\n\nexport const ProgressRingLottieContainer = styled.div<{ $hidden?: boolean }>`\n visibility: ${({ $hidden }) => ($hidden ? 'hidden' : 'visible')};\n position: absolute;\n top: -${GAME_LAUNCHER_SIZE / 2}px;\n left: 50%;\n height: ${GAME_LAUNCHER_SIZE + GAME_LAUNCHER_ASSET_PADDING}px;\n width: ${GAME_LAUNCHER_SIZE + GAME_LAUNCHER_ASSET_PADDING}px;\n border-radius: 50%;\n z-index: 4;\n transform: translate(-50%, -50%);\n`;\n\nexport const PillTickContainer = styled.div`\n position: absolute;\n top: calc(50% - ${GAME_LAUNCHER_SIZE / 2}px);\n left: 50%;\n transform: translate(-50%, -50%);\n display: flex;\n align-items: center;\n justify-content: center;\n height: ${PILL_SIZE}px;\n width: ${2 * PILL_SIZE}px;\n z-index: 6;\n`;\n"],"names":["Carousel","styled","CarouselWrapper","$translate","$translateDuration","CarouselItemContainer","CarouselContainer","theme","$isTouchDevice","css","CarouselItemWrapper","TickIcon","OverlappingLottie","$hidden","CarouselItem","$isCompleted","$isSelected","ExtendedFlexView","FlexView","GAME_LAUNCHER_SIZE","StyledCarouselBadgeWrapper","ProgressRingLottieContainer","GAME_LAUNCHER_ASSET_PADDING","PillTickContainer","PILL_SIZE"],"mappings":";;;;AAOO,MAAMA,IAAWC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAQlBC,IAAkBD,EAAO;AAAA;AAAA;AAAA;AAAA,eAIvB,CAAC,EAAE,YAAAE,IAAa,QAAQ,cAAc,CAACA,CAAU,IAAI;AAAA,gBACpD,CAAC,EAAE,oBAAAC,EAAyB,MAAA,OAAOA,CAAkB,YAAY;AAAA;AAAA,GAIpEC,IAAwBJ,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAY/BK,IAAoBL,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAMxB,CAAC,EAAE,OAAAM,QAAYA,EAAM,OAAO,WAAW,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA,IAK5D,CAAC,EAAE,gBAAAC,EAAe,MAClB,CAACA,KACDC;AAAA;AAAA;AAAA;AAAA,KAIC;AAAA,GAGQC,IAAsBT,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAS7BU,IAAWV,EAAO;AAAA;AAAA;AAAA;AAAA;AAMQA,EAAO;AAAA;AAAA;AAAA;AASvC,MAAMW,IAAoBX,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAQ3B,CAAC,EAAE,SAAAY,EAAA,MAAeA,IAAU,SAAS,OAAQ;AAAA,GAG7CC,IAAeb,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAWxB,CAAC,EAAE,cAAAc,EAAA,MAAoBA,IAAe,gBAAgB,SAAU;AAAA,gBAC3D,CAAC,EAAE,aAAAC,GAAa,cAAAD,QACxBA,KAAgBC,IAAoB,YAEpCD,IAAqB,YAErBC,IAAoB,YAEjB,SACR;AAAA;AAAA;AAAA,IAGC,CAAC,EAAE,gBAAAR,GAAgB,cAAAO,GAAc,aAAAC,EAAY,MAC7C,CAACR,KACDC;AAAA;AAAA;AAAA;AAAA;AAAA,gBAKYM,IAAe,SAAS,qCAAqC;AAAA;AAAA,QAErE,CAACC,KACH,CAACD,KACDN;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,OAMC;AAAA,KACF;AAAA,GAEQQ,IAAmBhB,EAAOiB,CAAQ;AAAA;AAAA,oBAE3BC,IAAqB,CAAC;AAAA,GAG7BC,IAA6BnB,EAAOiB,CAAQ;AAAA;AAAA,oBAErC,KAAKC,IAAqB,CAAC;AAAA;AAAA;AAAA;AAAA,IAI3C,CAAC,EAAE,OAAAZ,EAAA,MAAYA,EAAM,aAAa,cAAc;AAAA,sBAC9B,KAAKY,IAAqB,CAAC;AAAA;AAAA,GAIpCE,IAA8BpB,EAAO;AAAA,gBAClC,CAAC,EAAE,SAAAY,EAAA,MAAeA,IAAU,WAAW,SAAU;AAAA;AAAA,UAEvDM,IAAqB,CAAC;AAAA;AAAA,YAEpBA,IAAqBG,CAA2B;AAAA,WACjDH,IAAqBG,CAA2B;AAAA;AAAA;AAAA;AAAA,GAM9CC,IAAoBtB,EAAO;AAAA;AAAA,oBAEpBkB,IAAqB,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAM9BK,CAAS;AAAA,WACV,IAAIA,CAAS;AAAA;AAAA;"}