@cuemath/leap 2.9.12-j2 → 3.0.1-as1

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 (679) hide show
  1. package/dist/assets/illustrations/illustrations.js +9 -3
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/line-icons/icons/bin2.js +7 -8
  4. package/dist/assets/line-icons/icons/bin2.js.map +1 -1
  5. package/dist/assets/line-icons/icons/chevron-left.js.map +1 -1
  6. package/dist/assets/line-icons/icons/exclamation.js +26 -0
  7. package/dist/assets/line-icons/icons/exclamation.js.map +1 -0
  8. package/dist/assets/line-icons/icons/home2.js +25 -0
  9. package/dist/assets/line-icons/icons/home2.js.map +1 -0
  10. package/dist/assets/line-icons/icons/important.js +23 -0
  11. package/dist/assets/line-icons/icons/important.js.map +1 -0
  12. package/dist/assets/line-icons/icons/skip-colored.js +43 -0
  13. package/dist/assets/line-icons/icons/skip-colored.js.map +1 -0
  14. package/dist/assets/line-icons/icons/status.js +41 -0
  15. package/dist/assets/line-icons/icons/status.js.map +1 -0
  16. package/dist/assets/lottie/lottie.js +8 -11
  17. package/dist/assets/lottie/lottie.js.map +1 -1
  18. package/dist/constants/api.js +3 -2
  19. package/dist/constants/api.js.map +1 -1
  20. package/dist/features/analytics-events/platform-events-student.js +3 -3
  21. package/dist/features/analytics-events/platform-events-student.js.map +1 -1
  22. package/dist/features/analytics-events/whitelist-events.js +13 -11
  23. package/dist/features/analytics-events/whitelist-events.js.map +1 -1
  24. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js +99 -33
  25. package/dist/features/chapters/chapters-list/chapter-item/chapter-item-styled.js.map +1 -1
  26. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js +92 -49
  27. package/dist/features/chapters/chapters-list/chapter-item/chapter-item.js.map +1 -1
  28. package/dist/features/chapters/chapters-list/chapters-list-styled.js +5 -5
  29. package/dist/features/chapters/chapters-list/chapters-list-styled.js.map +1 -1
  30. package/dist/features/chapters/chapters-list/chapters-list.js +64 -70
  31. package/dist/features/chapters/chapters-list/chapters-list.js.map +1 -1
  32. package/dist/features/chapters-v2/api/chapter.js +10 -0
  33. package/dist/features/chapters-v2/api/chapter.js.map +1 -0
  34. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +112 -0
  35. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +1 -0
  36. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js +35 -0
  37. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections-styled.js.map +1 -0
  38. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +83 -0
  39. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -0
  40. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js +90 -0
  41. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner-styled.js.map +1 -0
  42. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js +98 -0
  43. package/dist/features/chapters-v2/chapter-details/chapter-banner/chapter-banner.js.map +1 -0
  44. package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js +51 -0
  45. package/dist/features/chapters-v2/chapter-details/chapter-details-styled.js.map +1 -0
  46. package/dist/features/chapters-v2/chapter-details/chapter-details.js +129 -0
  47. package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -0
  48. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +159 -0
  49. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +1 -0
  50. package/dist/features/chapters-v2/comps/node-card/node-card-tags.js +16 -0
  51. package/dist/features/chapters-v2/comps/node-card/node-card-tags.js.map +1 -0
  52. package/dist/features/chapters-v2/comps/node-card/node-card.js +12 -0
  53. package/dist/features/chapters-v2/comps/node-card/node-card.js.map +1 -0
  54. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-option.js +30 -0
  55. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-option.js.map +1 -0
  56. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js +32 -0
  57. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options-styled.js.map +1 -0
  58. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js +9 -0
  59. package/dist/features/chapters-v2/comps/node-card/node-menu-options/node-menu-options.js.map +1 -0
  60. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js +189 -0
  61. package/dist/features/chapters-v2/comps/node-card/student-actions/student-actions.js.map +1 -0
  62. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js +194 -0
  63. package/dist/features/chapters-v2/comps/node-card/teacher-actions/teacher-actions.js.map +1 -0
  64. package/dist/features/chapters-v2/comps/tag/tag-styled.js +13 -0
  65. package/dist/features/chapters-v2/comps/tag/tag-styled.js.map +1 -0
  66. package/dist/features/chapters-v2/comps/tag/tag.js +28 -0
  67. package/dist/features/chapters-v2/comps/tag/tag.js.map +1 -0
  68. package/dist/features/chapters-v2/constants/block-constants.js +20 -0
  69. package/dist/features/chapters-v2/constants/block-constants.js.map +1 -0
  70. package/dist/features/chapters-v2/constants/node-constants.js +14 -0
  71. package/dist/features/chapters-v2/constants/node-constants.js.map +1 -0
  72. package/dist/features/chapters-v2/utils/index.js +45 -0
  73. package/dist/features/chapters-v2/utils/index.js.map +1 -0
  74. package/dist/features/chapters-v2/utils/node-card-utils.js +169 -0
  75. package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -0
  76. package/dist/features/communication/pub-sub/constants.js +12 -6
  77. package/dist/features/communication/pub-sub/constants.js.map +1 -1
  78. package/dist/features/homework/card-menu-option.js +28 -0
  79. package/dist/features/homework/card-menu-option.js.map +1 -0
  80. package/dist/features/homework/card-menu-options.js +22 -0
  81. package/dist/features/homework/card-menu-options.js.map +1 -0
  82. package/dist/features/homework/card-title.js +16 -0
  83. package/dist/features/homework/card-title.js.map +1 -0
  84. package/dist/features/homework/homework-analytics-events.js +10 -0
  85. package/dist/features/homework/homework-analytics-events.js.map +1 -0
  86. package/dist/features/homework/homework-card-view.js +143 -0
  87. package/dist/features/homework/homework-card-view.js.map +1 -0
  88. package/dist/features/homework/homework-card.js +245 -0
  89. package/dist/features/homework/homework-card.js.map +1 -0
  90. package/dist/features/homework/hw-card-list/api/get-homeworks.js +10 -0
  91. package/dist/features/homework/hw-card-list/api/get-homeworks.js.map +1 -0
  92. package/dist/features/homework/hw-card-list/hw-card-list-styled.js +63 -0
  93. package/dist/features/homework/hw-card-list/hw-card-list-styled.js.map +1 -0
  94. package/dist/features/homework/hw-card-list/hw-card-list-view.js +157 -0
  95. package/dist/features/homework/hw-card-list/hw-card-list-view.js.map +1 -0
  96. package/dist/features/homework/hw-card-list/hw-card-list.js +67 -0
  97. package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -0
  98. package/dist/features/homework/node-progress.js +29 -0
  99. package/dist/features/homework/node-progress.js.map +1 -0
  100. package/dist/features/homework/styles.js +130 -0
  101. package/dist/features/homework/styles.js.map +1 -0
  102. package/dist/features/homework/utils.js +48 -0
  103. package/dist/features/homework/utils.js.map +1 -0
  104. package/dist/features/journey/comps/coachmark/coachmark.js +24 -24
  105. package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
  106. package/dist/features/journey/hooks/use-chapter-journey.js +173 -0
  107. package/dist/features/journey/hooks/use-chapter-journey.js.map +1 -0
  108. package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js +268 -0
  109. package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js.map +1 -0
  110. package/dist/features/journey/hooks/use-home-page-journey/recent-chapters-mock.js +513 -0
  111. package/dist/features/journey/hooks/use-home-page-journey/recent-chapters-mock.js.map +1 -0
  112. package/dist/features/journey/hooks/use-home-page-journey/styles.js +23 -0
  113. package/dist/features/journey/hooks/use-home-page-journey/styles.js.map +1 -0
  114. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js +22 -0
  115. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js.map +1 -0
  116. package/dist/features/journey/hooks/use-home-page-journey/use-home-page-journey.js +270 -0
  117. package/dist/features/journey/hooks/use-home-page-journey/use-home-page-journey.js.map +1 -0
  118. package/dist/features/journey/journey-id/journey-id-student.js +1 -1
  119. package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
  120. package/dist/features/journey/journey-id/journey-id-teacher.js +5 -0
  121. package/dist/features/journey/journey-id/journey-id-teacher.js.map +1 -0
  122. package/dist/features/journey/mocks/chapter-page-journey-mock-data.js +584 -0
  123. package/dist/features/journey/mocks/chapter-page-journey-mock-data.js.map +1 -0
  124. package/dist/features/journey/use-journey/journey-context-provider.js +36 -28
  125. package/dist/features/journey/use-journey/journey-context-provider.js.map +1 -1
  126. package/dist/features/journey/use-journey/journey-styled.js +10 -5
  127. package/dist/features/journey/use-journey/journey-styled.js.map +1 -1
  128. package/dist/features/milestone/create/api/goal-submit.js +1 -1
  129. package/dist/features/milestone/create/api/goal-submit.js.map +1 -1
  130. package/dist/features/milestone/create/comps/chapter-item/chapter-item.js +42 -49
  131. package/dist/features/milestone/create/comps/chapter-item/chapter-item.js.map +1 -1
  132. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js +12 -4
  133. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.js.map +1 -1
  134. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js +128 -105
  135. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
  136. package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js +14 -20
  137. package/dist/features/milestone/create/comps/sheets-list/sheets-list-styled.js.map +1 -1
  138. package/dist/features/milestone/create/comps/sheets-list/sheets-list.js +26 -50
  139. package/dist/features/milestone/create/comps/sheets-list/sheets-list.js.map +1 -1
  140. package/dist/features/milestone/create/milestone-create.js +49 -43
  141. package/dist/features/milestone/create/milestone-create.js.map +1 -1
  142. package/dist/features/milestone/create/utils/index.js +33 -38
  143. package/dist/features/milestone/create/utils/index.js.map +1 -1
  144. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js +1 -1
  145. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/get-milestone.js.map +1 -1
  146. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js +1 -1
  147. package/dist/features/milestone/edit/comps/edit-milestone-modal/api/patch-goal-plan.js.map +1 -1
  148. package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js +51 -53
  149. package/dist/features/milestone/edit/comps/edit-milestone-modal/index.js.map +1 -1
  150. package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js +42 -40
  151. package/dist/features/milestone/edit/goal-drafts/goal-draft-edit-container.js.map +1 -1
  152. package/dist/features/milestone/edit/goal-edit-container.js +64 -62
  153. package/dist/features/milestone/edit/goal-edit-container.js.map +1 -1
  154. package/dist/features/milestone/edit/goal-edit-helpers.js +50 -53
  155. package/dist/features/milestone/edit/goal-edit-helpers.js.map +1 -1
  156. package/dist/features/milestone/edit/milestone-edit-container.js +54 -52
  157. package/dist/features/milestone/edit/milestone-edit-container.js.map +1 -1
  158. package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js +1 -1
  159. package/dist/features/milestone/milestone-list-container/api/get-milestone-resources.js.map +1 -1
  160. package/dist/features/milestone/milestone-list-container/api/get-milestones.js +9 -17
  161. package/dist/features/milestone/milestone-list-container/api/get-milestones.js.map +1 -1
  162. package/dist/features/milestone/milestone-list-container/api/get-tests-list.js +1 -1
  163. package/dist/features/milestone/milestone-list-container/api/get-tests-list.js.map +1 -1
  164. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js +138 -105
  165. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-list.js.map +1 -1
  166. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js +107 -123
  167. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/goals/goal-action-ctas.js.map +1 -1
  168. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js +157 -176
  169. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-info.js.map +1 -1
  170. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js +24 -10
  171. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs-styled.js.map +1 -1
  172. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js +80 -86
  173. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-tabs/milestone-tabs.js.map +1 -1
  174. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js +10 -22
  175. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-utils.js.map +1 -1
  176. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js +70 -37
  177. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-styled.js.map +1 -1
  178. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js +114 -176
  179. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget.js.map +1 -1
  180. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js +29 -16
  181. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-rank.js.map +1 -1
  182. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js +17 -25
  183. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-styled.js.map +1 -1
  184. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js +23 -35
  185. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome.js.map +1 -1
  186. package/dist/features/milestone/milestone-list-container/milestone-list-container.js +110 -113
  187. package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
  188. package/dist/features/milestone/milestone-resources/resources-assign/api/goal-resource-assign.js +1 -1
  189. package/dist/features/milestone/milestone-resources/resources-assign/api/goal-resource-assign.js.map +1 -1
  190. package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js +8 -8
  191. package/dist/features/milestone/milestone-resources/resources-assign/resources-assign.js.map +1 -1
  192. package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js +1 -1
  193. package/dist/features/milestone/milestone-resources/resources-list/resources-list-styled.js.map +1 -1
  194. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js +116 -113
  195. package/dist/features/milestone/milestone-resources/resources-list/resources-list.js.map +1 -1
  196. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js +165 -0
  197. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-container.js.map +1 -0
  198. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js +25 -0
  199. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view-styled.js.map +1 -0
  200. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js +87 -0
  201. package/dist/features/milestone/milestone-tests/test-list-v2/test-list-view.js.map +1 -0
  202. package/dist/features/milestone/milestone-tests/tests-creation/api/test-sheet-assign.js +5 -5
  203. package/dist/features/milestone/milestone-tests/tests-creation/api/test-sheet-assign.js.map +1 -1
  204. package/dist/features/milestone/milestone-tests/tests-creation/test-stages/chapter-selection/chapter-item/chapter-item.js.map +1 -1
  205. package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js +46 -50
  206. package/dist/features/milestone/milestone-tests/tests-creation/tests-creation.js.map +1 -1
  207. package/dist/features/recent-chapters/api/get-recent-chapters.js +9 -0
  208. package/dist/features/recent-chapters/api/get-recent-chapters.js.map +1 -0
  209. package/dist/features/recent-chapters/recent-chapters-styled.js +16 -0
  210. package/dist/features/recent-chapters/recent-chapters-styled.js.map +1 -0
  211. package/dist/features/recent-chapters/recent-chapters.js +39 -0
  212. package/dist/features/recent-chapters/recent-chapters.js.map +1 -0
  213. package/dist/features/sheet-v2/resource-list/resource-list.js +45 -0
  214. package/dist/features/sheet-v2/resource-list/resource-list.js.map +1 -0
  215. package/dist/features/sheets/resources-list/resource-item/styled.js +1 -1
  216. package/dist/features/sheets/resources-list/resource-item/styled.js.map +1 -1
  217. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js +4 -3
  218. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions-constant.js.map +1 -1
  219. package/dist/features/trial-session/comps/learning-plan/index.js.map +1 -1
  220. package/dist/features/ui/animated-arc/animated-arc.js +7 -7
  221. package/dist/features/ui/animated-arc/animated-arc.js.map +1 -1
  222. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js +30 -29
  223. package/dist/features/ui/arrow-tooltip/arrow-tooltip.js.map +1 -1
  224. package/dist/features/ui/border-path-animation/border-path-animation-styled.js +51 -0
  225. package/dist/features/ui/border-path-animation/border-path-animation-styled.js.map +1 -0
  226. package/dist/features/ui/border-path-animation/border-path-animation.js +108 -0
  227. package/dist/features/ui/border-path-animation/border-path-animation.js.map +1 -0
  228. package/dist/features/ui/constants/z-index.js +1 -1
  229. package/dist/features/ui/constants/z-index.js.map +1 -1
  230. package/dist/features/ui/context-menu/context-menu-styled.js +28 -14
  231. package/dist/features/ui/context-menu/context-menu-styled.js.map +1 -1
  232. package/dist/features/ui/context-menu/context-menu.js +25 -17
  233. package/dist/features/ui/context-menu/context-menu.js.map +1 -1
  234. package/dist/features/ui/lottie-animation/lottie-animation.js +32 -24
  235. package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
  236. package/dist/features/ui/theme/button.js +24 -7
  237. package/dist/features/ui/theme/button.js.map +1 -1
  238. package/dist/index.d.ts +340 -269
  239. package/dist/index.js +451 -471
  240. package/dist/index.js.map +1 -1
  241. package/dist/node_modules/date-fns/differenceInDays.js +17 -0
  242. package/dist/node_modules/date-fns/differenceInDays.js.map +1 -0
  243. package/dist/static/chapter-header-bg-2.c8d96894.svg +1 -0
  244. package/dist/static/competitive-arena.b9c40801.json +1 -0
  245. package/dist/static/learn.71b13323.json +1 -0
  246. package/dist/static/node-custom-test-bg.d3b757be.svg +1 -0
  247. package/dist/static/node-learn-bg.b61f815c.svg +1 -0
  248. package/dist/static/node-practice-bg.16cbaf2a.svg +1 -0
  249. package/dist/static/node-project-bg.e6a33e28.svg +1 -0
  250. package/dist/static/node-puzzle-bg.3422135c.svg +1 -0
  251. package/dist/static/node-recap-bg.546154e4.svg +1 -0
  252. package/dist/static/node-test-prep-bg.42c0b9c4.svg +1 -0
  253. package/dist/static/node-video-bg.3df3f73a.svg +1 -0
  254. package/dist/static/practice.158dd488.json +1 -0
  255. package/dist/static/project.eb665827.json +1 -0
  256. package/dist/static/puzzle.b298c7e4.json +1 -0
  257. package/dist/static/recap.0dd2c1e2.json +1 -0
  258. package/dist/static/test.803d6036.json +1 -0
  259. package/dist/static/video.b41451e2.json +1 -0
  260. package/package.json +2 -3
  261. package/dist/assets/illustrations/loader-1.svg.js +0 -6
  262. package/dist/assets/illustrations/loader-1.svg.js.map +0 -1
  263. package/dist/assets/line-icons/icons/apple-icon.js +0 -48
  264. package/dist/assets/line-icons/icons/apple-icon.js.map +0 -1
  265. package/dist/assets/line-icons/icons/google-icon.js +0 -42
  266. package/dist/assets/line-icons/icons/google-icon.js.map +0 -1
  267. package/dist/features/auth/account-selector/account-selector-styled.js +0 -37
  268. package/dist/features/auth/account-selector/account-selector-styled.js.map +0 -1
  269. package/dist/features/auth/account-selector/account-selector.js +0 -90
  270. package/dist/features/auth/account-selector/account-selector.js.map +0 -1
  271. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js +0 -12
  272. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js.map +0 -1
  273. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +0 -11
  274. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +0 -1
  275. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +0 -17
  276. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +0 -1
  277. package/dist/features/auth/comps/input-status-icon/input-status-icon.js +0 -20
  278. package/dist/features/auth/comps/input-status-icon/input-status-icon.js.map +0 -1
  279. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js +0 -29
  280. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js.map +0 -1
  281. package/dist/features/auth/comps/overlay-loader/overlay-loader.js +0 -8
  282. package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +0 -1
  283. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js +0 -25
  284. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js.map +0 -1
  285. package/dist/features/auth/comps/resend-otp/resend-otp.js +0 -38
  286. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +0 -1
  287. package/dist/features/auth/comps/tabs/tabs-styled.js +0 -23
  288. package/dist/features/auth/comps/tabs/tabs-styled.js.map +0 -1
  289. package/dist/features/auth/comps/tabs/tabs.js +0 -23
  290. package/dist/features/auth/comps/tabs/tabs.js.map +0 -1
  291. package/dist/features/auth/forgot-password/forgot-password-styled.js +0 -12
  292. package/dist/features/auth/forgot-password/forgot-password-styled.js.map +0 -1
  293. package/dist/features/auth/forgot-password/otp-form/otp-form.js +0 -67
  294. package/dist/features/auth/forgot-password/otp-form/otp-form.js.map +0 -1
  295. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js +0 -89
  296. package/dist/features/auth/forgot-password/reset-password-form/reset-password-form.js.map +0 -1
  297. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js +0 -60
  298. package/dist/features/auth/forgot-password/user-identifier-form/user-identifier-form.js.map +0 -1
  299. package/dist/features/auth/login/login-constants.js +0 -12
  300. package/dist/features/auth/login/login-constants.js.map +0 -1
  301. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js +0 -31
  302. package/dist/features/auth/login/social-account-not-found/social-account-not-found.js.map +0 -1
  303. package/dist/features/auth/login/social-login-methods/social-login-methods.js +0 -46
  304. package/dist/features/auth/login/social-login-methods/social-login-methods.js.map +0 -1
  305. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +0 -50
  306. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +0 -1
  307. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +0 -129
  308. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +0 -1
  309. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js +0 -27
  310. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js.map +0 -1
  311. package/dist/features/auth/signup/claim-user-account/claim-user-account.js +0 -76
  312. package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +0 -1
  313. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js +0 -38
  314. package/dist/features/auth/signup/custom-input-field/custom-input-field-styled.js.map +0 -1
  315. package/dist/features/auth/signup/custom-input-field/custom-input-field.js +0 -85
  316. package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +0 -1
  317. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js +0 -86
  318. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input-styled.js.map +0 -1
  319. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js +0 -58
  320. package/dist/features/auth/signup/custom-input-field/date-picker-input/date-picker-input.js.map +0 -1
  321. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js +0 -31
  322. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input-styled.js.map +0 -1
  323. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js +0 -30
  324. package/dist/features/auth/signup/custom-input-field/grade-input/grade-input.js.map +0 -1
  325. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js +0 -11
  326. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper-styled.js.map +0 -1
  327. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +0 -33
  328. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +0 -1
  329. package/dist/features/auth/signup/custom-input-field/phone-input/country-selector/country-code-button.js +0 -33
  330. package/dist/features/auth/signup/custom-input-field/phone-input/country-selector/country-code-button.js.map +0 -1
  331. package/dist/features/auth/signup/custom-input-field/phone-input/country-selector/country-list-menu.js +0 -28
  332. package/dist/features/auth/signup/custom-input-field/phone-input/country-selector/country-list-menu.js.map +0 -1
  333. package/dist/features/auth/signup/custom-input-field/phone-input/phone-input-styled.js +0 -29
  334. package/dist/features/auth/signup/custom-input-field/phone-input/phone-input-styled.js.map +0 -1
  335. package/dist/features/auth/signup/custom-input-field/phone-input/phone-input.js +0 -67
  336. package/dist/features/auth/signup/custom-input-field/phone-input/phone-input.js.map +0 -1
  337. package/dist/features/auth/signup/signup-constants.js +0 -1022
  338. package/dist/features/auth/signup/signup-constants.js.map +0 -1
  339. package/dist/features/auth/signup/signup-methods/signup-methods.js +0 -68
  340. package/dist/features/auth/signup/signup-methods/signup-methods.js.map +0 -1
  341. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js +0 -19
  342. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js.map +0 -1
  343. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js +0 -62
  344. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js.map +0 -1
  345. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js +0 -24
  346. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js.map +0 -1
  347. package/dist/features/auth/signup/user-type-selector/user-type-selector.js +0 -87
  348. package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +0 -1
  349. package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js +0 -92
  350. package/dist/features/milestone/create/comps/milestone-progress-v2/milestone-progress-v2.js.map +0 -1
  351. package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js +0 -25
  352. package/dist/features/milestone/create/comps/milestone-progress-v2/styled.js.map +0 -1
  353. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js +0 -13
  354. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element-styled.js.map +0 -1
  355. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js +0 -38
  356. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/context-menu-helper/menu-element.js.map +0 -1
  357. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js +0 -53
  358. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/milestone-widget-status.js.map +0 -1
  359. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js +0 -25
  360. package/dist/features/milestone/milestone-list-container/milestone-list/milestone-widget/outcome/outcome-info.js.map +0 -1
  361. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js +0 -71
  362. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-cta.js.map +0 -1
  363. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js +0 -31
  364. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-styled.js.map +0 -1
  365. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js +0 -38
  366. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item-utils.js.map +0 -1
  367. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js +0 -79
  368. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheet-item/test-sheet-item.js.map +0 -1
  369. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js +0 -18
  370. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list-styled.js.map +0 -1
  371. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js +0 -51
  372. package/dist/features/milestone/milestone-tests/tests-list/test-sheets-list/test-sheets-list.js.map +0 -1
  373. package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js +0 -11
  374. package/dist/features/milestone/milestone-tests/tests-list/tests-list-styled.js.map +0 -1
  375. package/dist/features/milestone/milestone-tests/tests-list/tests-list.js +0 -135
  376. package/dist/features/milestone/milestone-tests/tests-list/tests-list.js.map +0 -1
  377. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -332
  378. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  379. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -370
  380. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  381. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -252
  382. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +0 -1
  383. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -24
  384. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +0 -1
  385. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -192
  386. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
  387. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -19
  388. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  389. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -129
  390. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  391. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
  392. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  393. package/dist/node_modules/clsx/dist/clsx.js +0 -18
  394. package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
  395. package/dist/node_modules/date-fns/subYears.js +0 -9
  396. package/dist/node_modules/date-fns/subYears.js.map +0 -1
  397. package/dist/node_modules/react-datepicker/dist/index.es.js +0 -2700
  398. package/dist/node_modules/react-datepicker/dist/index.es.js.map +0 -1
  399. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js +0 -8
  400. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js.map +0 -1
  401. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js +0 -8
  402. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js.map +0 -1
  403. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js +0 -518
  404. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js.map +0 -1
  405. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js +0 -60
  406. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js.map +0 -1
  407. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js +0 -53
  408. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js.map +0 -1
  409. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -19
  410. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +0 -1
  411. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js +0 -12
  412. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js.map +0 -1
  413. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js +0 -21
  414. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js.map +0 -1
  415. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js +0 -11
  416. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js.map +0 -1
  417. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js +0 -10
  418. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js.map +0 -1
  419. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js +0 -10
  420. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js.map +0 -1
  421. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js +0 -11
  422. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js.map +0 -1
  423. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js +0 -21
  424. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js.map +0 -1
  425. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js +0 -9
  426. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js.map +0 -1
  427. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js +0 -9
  428. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js.map +0 -1
  429. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js +0 -9
  430. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js.map +0 -1
  431. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js +0 -9
  432. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js.map +0 -1
  433. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js +0 -10
  434. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js.map +0 -1
  435. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js +0 -9
  436. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js.map +0 -1
  437. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js +0 -17
  438. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js.map +0 -1
  439. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js +0 -14
  440. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js.map +0 -1
  441. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js +0 -15
  442. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js.map +0 -1
  443. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js +0 -14
  444. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js.map +0 -1
  445. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js +0 -23
  446. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js.map +0 -1
  447. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js +0 -10
  448. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js.map +0 -1
  449. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js +0 -10
  450. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js.map +0 -1
  451. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js +0 -12
  452. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js.map +0 -1
  453. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js +0 -10
  454. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js.map +0 -1
  455. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js +0 -60
  456. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js.map +0 -1
  457. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js +0 -9
  458. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js.map +0 -1
  459. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js +0 -9
  460. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js.map +0 -1
  461. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js +0 -12
  462. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js.map +0 -1
  463. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js +0 -11
  464. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js.map +0 -1
  465. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js +0 -9
  466. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js.map +0 -1
  467. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js +0 -9
  468. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js.map +0 -1
  469. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js +0 -10
  470. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js.map +0 -1
  471. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js +0 -13
  472. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js.map +0 -1
  473. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js +0 -16
  474. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js.map +0 -1
  475. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js +0 -9
  476. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js.map +0 -1
  477. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js +0 -9
  478. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js.map +0 -1
  479. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js +0 -10
  480. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js.map +0 -1
  481. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js +0 -9
  482. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js.map +0 -1
  483. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js +0 -9
  484. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js.map +0 -1
  485. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js +0 -13
  486. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js.map +0 -1
  487. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js +0 -18
  488. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js.map +0 -1
  489. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js +0 -9
  490. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js.map +0 -1
  491. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js +0 -9
  492. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js.map +0 -1
  493. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js +0 -9
  494. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js.map +0 -1
  495. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js +0 -8
  496. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js.map +0 -1
  497. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js +0 -9
  498. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js.map +0 -1
  499. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js +0 -15
  500. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js.map +0 -1
  501. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js +0 -14
  502. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js.map +0 -1
  503. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js +0 -15
  504. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js.map +0 -1
  505. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js +0 -14
  506. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js.map +0 -1
  507. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js +0 -10
  508. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js.map +0 -1
  509. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js +0 -13
  510. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js.map +0 -1
  511. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -10
  512. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +0 -1
  513. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -19
  514. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +0 -1
  515. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -32
  516. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +0 -1
  517. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -16
  518. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +0 -1
  519. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -71
  520. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +0 -1
  521. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -34
  522. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +0 -1
  523. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -12
  524. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +0 -1
  525. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -156
  526. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js.map +0 -1
  527. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js +0 -111
  528. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js.map +0 -1
  529. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js +0 -22
  530. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js.map +0 -1
  531. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js +0 -15
  532. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js.map +0 -1
  533. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js +0 -15
  534. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js.map +0 -1
  535. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js +0 -23
  536. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js.map +0 -1
  537. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js +0 -42
  538. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js.map +0 -1
  539. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js +0 -50
  540. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js.map +0 -1
  541. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -50
  542. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +0 -1
  543. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -50
  544. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +0 -1
  545. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -62
  546. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +0 -1
  547. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -52
  548. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +0 -1
  549. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -46
  550. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +0 -1
  551. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -50
  552. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +0 -1
  553. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -31
  554. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +0 -1
  555. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -22
  556. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +0 -1
  557. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -23
  558. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +0 -1
  559. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -33
  560. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +0 -1
  561. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -33
  562. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +0 -1
  563. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -34
  564. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +0 -1
  565. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -34
  566. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +0 -1
  567. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -100
  568. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +0 -1
  569. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -49
  570. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +0 -1
  571. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -49
  572. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +0 -1
  573. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -50
  574. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +0 -1
  575. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -41
  576. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +0 -1
  577. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -75
  578. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +0 -1
  579. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -49
  580. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +0 -1
  581. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -70
  582. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +0 -1
  583. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -33
  584. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +0 -1
  585. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -72
  586. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +0 -1
  587. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -71
  588. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +0 -1
  589. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -33
  590. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +0 -1
  591. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -75
  592. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +0 -1
  593. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -72
  594. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +0 -1
  595. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -71
  596. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +0 -1
  597. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -23
  598. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +0 -1
  599. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -23
  600. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +0 -1
  601. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -50
  602. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +0 -1
  603. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js +0 -68
  604. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js.map +0 -1
  605. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js +0 -104
  606. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js.map +0 -1
  607. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js +0 -88
  608. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js.map +0 -1
  609. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js +0 -123
  610. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js.map +0 -1
  611. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js +0 -13
  612. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js.map +0 -1
  613. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js +0 -10
  614. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js.map +0 -1
  615. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js +0 -12
  616. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js.map +0 -1
  617. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js +0 -11
  618. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js.map +0 -1
  619. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js +0 -10
  620. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js.map +0 -1
  621. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js +0 -14
  622. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js.map +0 -1
  623. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js +0 -11
  624. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js.map +0 -1
  625. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js +0 -10
  626. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js.map +0 -1
  627. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js +0 -11
  628. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js.map +0 -1
  629. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js +0 -11
  630. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js.map +0 -1
  631. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js +0 -10
  632. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js.map +0 -1
  633. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js +0 -9
  634. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js.map +0 -1
  635. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js +0 -12
  636. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js.map +0 -1
  637. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js +0 -10
  638. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js.map +0 -1
  639. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js +0 -10
  640. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js.map +0 -1
  641. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js +0 -12
  642. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js.map +0 -1
  643. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js +0 -14
  644. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js.map +0 -1
  645. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js +0 -10
  646. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js.map +0 -1
  647. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js +0 -9
  648. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js.map +0 -1
  649. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js +0 -9
  650. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js.map +0 -1
  651. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js +0 -9
  652. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js.map +0 -1
  653. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js +0 -9
  654. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js.map +0 -1
  655. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js +0 -9
  656. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js.map +0 -1
  657. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js +0 -9
  658. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js.map +0 -1
  659. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js +0 -19
  660. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js.map +0 -1
  661. package/dist/static/avatar-selected.860ee923.json +0 -1
  662. package/dist/static/circle-cuemath-logo-white.e9fafb91.svg +0 -1
  663. package/dist/static/cuemath-app-qr-code.ba6cc09b.svg +0 -1
  664. package/dist/static/cuemath-app-qr-code.d0912fc7.png +0 -0
  665. package/dist/static/dob.9ce3c15b.json +0 -1
  666. package/dist/static/error.cbe1ddde.json +0 -1
  667. package/dist/static/grade.b3730524.json +0 -1
  668. package/dist/static/key.d6846476.json +0 -1
  669. package/dist/static/mail.c30e8708.json +0 -1
  670. package/dist/static/otp.2d08f874.json +0 -1
  671. package/dist/static/otp.a3029760.json +0 -1
  672. package/dist/static/parent-avatar.772d53e0.json +0 -1
  673. package/dist/static/phone-number.0be312ea.json +0 -1
  674. package/dist/static/phone-number.84f55562.json +0 -1
  675. package/dist/static/student-avatar.524226bd.json +0 -1
  676. package/dist/static/user-type-selector-grid-bg.3c9c8ad6.svg +0 -1
  677. package/dist/static/user-type-selector-grid-bg.3ce8142d.svg +0 -1
  678. package/dist/static/user-type-selector-grid-bg.aad0b059.svg +0 -1
  679. package/dist/static/username.9e034d51.json +0 -1
@@ -1,10 +1,10 @@
1
- import { jsxs as O, jsx as w } from "react/jsx-runtime";
2
- import { createContext as U, useState as h, useRef as k, useCallback as l, useMemo as q, useEffect as R } from "react";
3
- import { Coachmark as D } from "../comps/coachmark/coachmark.js";
4
- import { usePostUserJourney as L, useGetUserJourney as N } from "../user-journey-api/user-journey-api.js";
5
- import { Overlay as M } from "./journey-styled.js";
6
- const z = U(null), H = ({ children: T, appId: s, userId: o }) => {
7
- const [x, p] = h(null), [c, a] = h([]), [J, v] = h(!1), m = k(-1), t = k(), d = k([]), { post: _ } = L(), { data: f = null, get: g } = N(), A = l(
1
+ import { jsxs as D, jsx as w } from "react/jsx-runtime";
2
+ import { createContext as L, useState as J, useRef as k, useCallback as l, useMemo as N, useEffect as R } from "react";
3
+ import { Coachmark as B } from "../comps/coachmark/coachmark.js";
4
+ import { usePostUserJourney as M, useGetUserJourney as z } from "../user-journey-api/user-journey-api.js";
5
+ import { Overlay as G } from "./journey-styled.js";
6
+ const S = L(null), W = ({ children: T, appId: s, userId: o }) => {
7
+ const [b, O] = J(!1), [x, p] = J(null), [c, a] = J([]), [d, v] = J(!1), y = k(-1), t = k(), f = k([]), { post: _ } = M(), { data: C = null, get: g } = z(), A = l(
8
8
  (e, r) => {
9
9
  if (c.length > 0) {
10
10
  console.error(
@@ -12,13 +12,13 @@ const z = U(null), H = ({ children: T, appId: s, userId: o }) => {
12
12
  );
13
13
  return;
14
14
  }
15
- v(!0), t.current = e, m.current = -1, a([...r]);
15
+ v(!0), t.current = e, y.current = -1, a([...r]);
16
16
  },
17
17
  [c.length]
18
18
  ), u = l(() => {
19
- d.current.forEach((e) => {
19
+ f.current.forEach((e) => {
20
20
  clearTimeout(e);
21
- }), d.current = [], t.current = void 0, m.current = -1, a([]), v(!1);
21
+ }), f.current = [], t.current = void 0, y.current = -1, a([]), v(!1);
22
22
  }, []), $ = l(
23
23
  (e) => {
24
24
  u(), p((r) => r && !r.includes(e) ? [...r, e] : r), _({
@@ -36,31 +36,31 @@ const z = U(null), H = ({ children: T, appId: s, userId: o }) => {
36
36
  );
37
37
  return;
38
38
  }
39
- a((y) => [...y, r]);
39
+ a((m) => [...m, r]);
40
40
  }, []), P = l(
41
- (e, r = !1, y = 0) => {
41
+ (e, r = !1, m = 0, q = !1) => {
42
42
  if (!t.current || e !== t.current) {
43
43
  console.error(
44
44
  t.current ? "nextCoachmark was called before setJourney" : `A Journey is already active, Current Journey: ${t.current}, New Journey Request: ${e}`
45
45
  );
46
46
  return;
47
47
  }
48
- y !== 0 && a((n) => n.map((i) => ({ ...i, isActive: !1 })));
48
+ O(q), m !== 0 && a((n) => n.map((i) => ({ ...i, isActive: !1 })));
49
49
  const j = setTimeout(() => {
50
50
  clearTimeout(j);
51
- const n = m.current + 1;
51
+ const n = y.current + 1;
52
52
  a((i) => {
53
53
  if (n >= i.length || i.length === 0)
54
54
  return u(), [];
55
- m.current = n;
56
- const C = [...i];
57
- return C[n].isActive = !0, n > 0 && (C[n - 1].isActive = r), C;
55
+ y.current = n;
56
+ const h = [...i];
57
+ return h[n].isActive = !0, n > 0 && (h[n - 1].isActive = r), h;
58
58
  });
59
- }, y);
60
- d.current.push(j);
59
+ }, m);
60
+ f.current.push(j);
61
61
  },
62
62
  [u]
63
- ), b = q(
63
+ ), U = N(
64
64
  () => ({
65
65
  nextCoachmark: P,
66
66
  setJourney: A,
@@ -69,7 +69,7 @@ const z = U(null), H = ({ children: T, appId: s, userId: o }) => {
69
69
  endJourney: $,
70
70
  coachmarks: c,
71
71
  userCompletedJourneyIds: x,
72
- isJourneyActive: J
72
+ isJourneyActive: d
73
73
  }),
74
74
  [
75
75
  P,
@@ -79,7 +79,7 @@ const z = U(null), H = ({ children: T, appId: s, userId: o }) => {
79
79
  $,
80
80
  c,
81
81
  x,
82
- J
82
+ d
83
83
  ]
84
84
  );
85
85
  return R(() => {
@@ -89,17 +89,25 @@ const z = U(null), H = ({ children: T, appId: s, userId: o }) => {
89
89
  journey_status: "COMPLETED"
90
90
  });
91
91
  }, [s, g, o]), R(() => {
92
- if (f) {
93
- const e = f.map((r) => r.journey_id);
92
+ if (C) {
93
+ const e = C.map((r) => r.journey_id);
94
94
  p(e);
95
95
  }
96
- }, [f]), /* @__PURE__ */ O(z.Provider, { value: b, children: [
97
- J && /* @__PURE__ */ w(M, { about: "journey-overlay", "data-testid": t.current, children: c.map((e, r) => /* @__PURE__ */ w(D, { coachmark: e }, `coachmark-${r}`)) }),
96
+ }, [C]), /* @__PURE__ */ D(S.Provider, { value: U, children: [
97
+ d && /* @__PURE__ */ w(
98
+ G,
99
+ {
100
+ about: "journey-overlay",
101
+ isJourneyBlurred: b,
102
+ "data-testid": t.current,
103
+ children: c.map((e, r) => /* @__PURE__ */ w(B, { coachmark: e }, `coachmark-${r}`))
104
+ }
105
+ ),
98
106
  T
99
107
  ] });
100
108
  };
101
109
  export {
102
- z as JourneyContext,
103
- H as JourneyProvider
110
+ S as JourneyContext,
111
+ W as JourneyProvider
104
112
  };
105
113
  //# sourceMappingURL=journey-context-provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"journey-context-provider.js","sources":["../../../../src/features/journey/use-journey/journey-context-provider.tsx"],"sourcesContent":["/* eslint-disable no-console */\nimport type { TJourneyId } from '../journey-id/journey-id-types';\nimport type {\n ICoachmarkProps,\n IJourneyContext,\n IJourneyProviderProps,\n} from './journey-context-types';\nimport type { FC } from 'react';\n\nimport { createContext, useCallback, useEffect, useMemo, useRef, useState } from 'react';\n\nimport { Coachmark } from '../comps/coachmark/coachmark';\nimport { useGetUserJourney, usePostUserJourney } from '../user-journey-api/user-journey-api';\nimport * as S from './journey-styled';\n\nexport const JourneyContext = createContext<IJourneyContext | null>(null);\n\nexport const JourneyProvider: FC<IJourneyProviderProps> = ({ children, appId, userId }) => {\n const [userCompletedJourneyIds, setUserCompletedJourneyIds] = useState<TJourneyId[] | null>(null);\n const [coachmarkList, setCoachmarkList] = useState<ICoachmarkProps[]>([]);\n const [isJourneyActive, setIsJourneyActive] = useState(false);\n const currentIndex = useRef(-1);\n const currentJourneyId = useRef<TJourneyId | undefined>();\n const timerRefs = useRef<ReturnType<typeof setTimeout>[]>([]);\n\n const { post: postJourneyCompletion } = usePostUserJourney();\n const { data: userCompletedJourneys = null, get: getJourneyProgress } = useGetUserJourney();\n\n const setJourney = useCallback(\n (id: TJourneyId, coachmarks: ICoachmarkProps[]) => {\n if (coachmarkList.length > 0) {\n console.error(\n `setJourney: Other Journey is already active, Current Journey: ${currentJourneyId.current}, New Journey Request: ${id}`,\n );\n\n return;\n }\n setIsJourneyActive(true);\n currentJourneyId.current = id;\n currentIndex.current = -1;\n setCoachmarkList([...coachmarks]);\n },\n [coachmarkList.length],\n );\n\n const clearJourney = useCallback(() => {\n // Clear all timers\n timerRefs.current.forEach(timer => {\n clearTimeout(timer);\n });\n timerRefs.current = [];\n currentJourneyId.current = undefined;\n currentIndex.current = -1;\n setCoachmarkList([]);\n setIsJourneyActive(false);\n }, []);\n\n const endJourney = useCallback(\n (journeyId: TJourneyId) => {\n clearJourney();\n setUserCompletedJourneyIds(prev => {\n if (prev && !prev.includes(journeyId)) {\n return [...prev, journeyId];\n }\n\n return prev;\n });\n // fire the API (doesn’t block the UI)\n postJourneyCompletion({\n app_id: appId,\n user_id: userId,\n journey_id: journeyId,\n journey_status: 'COMPLETED',\n });\n },\n [appId, clearJourney, postJourneyCompletion, userId],\n );\n\n const addCoachmark = useCallback((id: TJourneyId, coachmark: ICoachmarkProps) => {\n if (!currentJourneyId.current || id !== currentJourneyId.current) {\n console.error(\n currentJourneyId.current\n ? `A Journey is already active, Current Journey: ${currentJourneyId.current}, New Journey Request: ${id}`\n : `addCoachmark was called before setJourney and Journey ID is undefined`,\n );\n\n return;\n }\n\n setCoachmarkList(prev => [...prev, coachmark]);\n }, []);\n\n const nextCoachmark = useCallback(\n (id: TJourneyId, keepPrevActive: boolean = false, delayInMs: number = 0) => {\n if (!currentJourneyId.current || id !== currentJourneyId.current) {\n console.error(\n currentJourneyId.current\n ? `nextCoachmark was called before setJourney`\n : `A Journey is already active, Current Journey: ${currentJourneyId.current}, New Journey Request: ${id}`,\n );\n\n return;\n }\n\n if (delayInMs !== 0) {\n // If delay is not 0, we will hide all them coachmarks and reveal only after the delay\n setCoachmarkList(prevList => {\n return prevList.map((item: ICoachmarkProps) => {\n return { ...item, isActive: false };\n });\n });\n }\n\n const timer = setTimeout(() => {\n clearTimeout(timer);\n const currIndex = currentIndex.current + 1;\n\n setCoachmarkList(prevList => {\n // Finish onboarding\n if (currIndex >= prevList.length || prevList.length === 0) {\n clearJourney();\n\n return [];\n }\n\n currentIndex.current = currIndex;\n const updatedCoachmarkList = [...prevList];\n\n (updatedCoachmarkList[currIndex] as ICoachmarkProps).isActive = true;\n\n if (currIndex > 0) {\n (updatedCoachmarkList[currIndex - 1] as ICoachmarkProps).isActive = keepPrevActive;\n }\n\n return updatedCoachmarkList;\n });\n }, delayInMs);\n\n timerRefs.current.push(timer);\n },\n [clearJourney],\n );\n\n const memoizedContextValue: IJourneyContext = useMemo(\n () => ({\n nextCoachmark,\n setJourney,\n addCoachmark,\n clearJourney,\n endJourney,\n coachmarks: coachmarkList,\n userCompletedJourneyIds,\n isJourneyActive,\n }),\n [\n nextCoachmark,\n setJourney,\n addCoachmark,\n clearJourney,\n endJourney,\n coachmarkList,\n userCompletedJourneyIds,\n isJourneyActive,\n ],\n );\n\n // Get the initial state of incompleteJourneys\n useEffect(() => {\n if (appId && userId) {\n getJourneyProgress(userId, {\n app_id: appId,\n user_id: userId,\n journey_status: 'COMPLETED',\n });\n }\n }, [appId, getJourneyProgress, userId]);\n\n // Set the data to context state initially\n useEffect(() => {\n if (userCompletedJourneys) {\n const completedUserJourneysIds = userCompletedJourneys.map(journey => journey.journey_id);\n\n setUserCompletedJourneyIds(completedUserJourneysIds);\n }\n }, [userCompletedJourneys]);\n\n return (\n <JourneyContext.Provider value={memoizedContextValue}>\n {isJourneyActive && (\n <S.Overlay about=\"journey-overlay\" data-testid={currentJourneyId.current}>\n {coachmarkList.map((coachmark, index) => (\n <Coachmark key={`coachmark-${index}`} coachmark={coachmark} />\n ))}\n </S.Overlay>\n )}\n {children}\n </JourneyContext.Provider>\n );\n};\n"],"names":["JourneyContext","createContext","JourneyProvider","children","appId","userId","userCompletedJourneyIds","setUserCompletedJourneyIds","useState","coachmarkList","setCoachmarkList","isJourneyActive","setIsJourneyActive","currentIndex","useRef","currentJourneyId","timerRefs","postJourneyCompletion","usePostUserJourney","userCompletedJourneys","getJourneyProgress","useGetUserJourney","setJourney","useCallback","id","coachmarks","clearJourney","timer","endJourney","journeyId","prev","addCoachmark","coachmark","nextCoachmark","keepPrevActive","delayInMs","prevList","item","currIndex","updatedCoachmarkList","memoizedContextValue","useMemo","useEffect","completedUserJourneysIds","journey","jsxs","jsx","S.Overlay","index","Coachmark"],"mappings":";;;;;AAea,MAAAA,IAAiBC,EAAsC,IAAI,GAE3DC,IAA6C,CAAC,EAAE,UAAAC,GAAU,OAAAC,GAAO,QAAAC,QAAa;AACzF,QAAM,CAACC,GAAyBC,CAA0B,IAAIC,EAA8B,IAAI,GAC1F,CAACC,GAAeC,CAAgB,IAAIF,EAA4B,CAAE,CAAA,GAClE,CAACG,GAAiBC,CAAkB,IAAIJ,EAAS,EAAK,GACtDK,IAAeC,EAAO,EAAE,GACxBC,IAAmBD,KACnBE,IAAYF,EAAwC,CA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,MACAnB;AAAA,MACAH;AAAA,MACAK;AAAA,IACF;AAAA,EAAA;AAIF,SAAA+B,EAAU,MAAM;AACd,IAAItC,KAASC,KACXe,EAAmBf,GAAQ;AAAA,MACzB,QAAQD;AAAA,MACR,SAASC;AAAA,MACT,gBAAgB;AAAA,IAAA,CACjB;AAAA,EAEF,GAAA,CAACD,GAAOgB,GAAoBf,CAAM,CAAC,GAGtCqC,EAAU,MAAM;AACd,QAAIvB,GAAuB;AACzB,YAAMwB,IAA2BxB,EAAsB,IAAI,CAAAyB,MAAWA,EAAQ,UAAU;AAExF,MAAArC,EAA2BoC,CAAwB;AAAA,IACrD;AAAA,EAAA,GACC,CAACxB,CAAqB,CAAC,GAGvB,gBAAA0B,EAAA7C,EAAe,UAAf,EAAwB,OAAOwC,GAC7B,UAAA;AAAA,IACC7B,KAAA,gBAAAmC,EAACC,GAAA,EAAU,OAAM,mBAAkB,eAAahC,EAAiB,SAC9D,UAAAN,EAAc,IAAI,CAACuB,GAAWgB,MAC5B,gBAAAF,EAAAG,GAAA,EAAqC,WAAAjB,KAAtB,aAAagB,CAAK,EAA0B,CAC7D,EACH,CAAA;AAAA,IAED7C;AAAA,EACH,EAAA,CAAA;AAEJ;"}
1
+ {"version":3,"file":"journey-context-provider.js","sources":["../../../../src/features/journey/use-journey/journey-context-provider.tsx"],"sourcesContent":["/* eslint-disable no-console */\nimport type { TJourneyId } from '../journey-id/journey-id-types';\nimport type {\n ICoachmarkProps,\n IJourneyContext,\n IJourneyProviderProps,\n} from './journey-context-types';\nimport type { FC } from 'react';\n\nimport { createContext, useCallback, useEffect, useMemo, useRef, useState } from 'react';\n\nimport { Coachmark } from '../comps/coachmark/coachmark';\nimport { useGetUserJourney, usePostUserJourney } from '../user-journey-api/user-journey-api';\nimport * as S from './journey-styled';\n\nexport const JourneyContext = createContext<IJourneyContext | null>(null);\n\nexport const JourneyProvider: FC<IJourneyProviderProps> = ({ children, appId, userId }) => {\n const [isJourneyBlurred, setIsJourneyBlurred] = useState<boolean>(false);\n const [userCompletedJourneyIds, setUserCompletedJourneyIds] = useState<TJourneyId[] | null>(null);\n const [coachmarkList, setCoachmarkList] = useState<ICoachmarkProps[]>([]);\n const [isJourneyActive, setIsJourneyActive] = useState(false);\n const currentIndex = useRef(-1);\n const currentJourneyId = useRef<TJourneyId | undefined>();\n const timerRefs = useRef<ReturnType<typeof setTimeout>[]>([]);\n\n const { post: postJourneyCompletion } = usePostUserJourney();\n const { data: userCompletedJourneys = null, get: getJourneyProgress } = useGetUserJourney();\n\n const setJourney = useCallback(\n (id: TJourneyId, coachmarks: ICoachmarkProps[]) => {\n if (coachmarkList.length > 0) {\n console.error(\n `setJourney: Other Journey is already active, Current Journey: ${currentJourneyId.current}, New Journey Request: ${id}`,\n );\n\n return;\n }\n setIsJourneyActive(true);\n currentJourneyId.current = id;\n currentIndex.current = -1;\n setCoachmarkList([...coachmarks]);\n },\n [coachmarkList.length],\n );\n\n const clearJourney = useCallback(() => {\n // Clear all timers\n timerRefs.current.forEach(timer => {\n clearTimeout(timer);\n });\n timerRefs.current = [];\n currentJourneyId.current = undefined;\n currentIndex.current = -1;\n setCoachmarkList([]);\n setIsJourneyActive(false);\n }, []);\n\n const endJourney = useCallback(\n (journeyId: TJourneyId) => {\n clearJourney();\n setUserCompletedJourneyIds(prev => {\n if (prev && !prev.includes(journeyId)) {\n return [...prev, journeyId];\n }\n\n return prev;\n });\n // fire the API (doesn’t block the UI)\n postJourneyCompletion({\n app_id: appId,\n user_id: userId,\n journey_id: journeyId,\n journey_status: 'COMPLETED',\n });\n },\n [appId, clearJourney, postJourneyCompletion, userId],\n );\n\n const addCoachmark = useCallback((id: TJourneyId, coachmark: ICoachmarkProps) => {\n if (!currentJourneyId.current || id !== currentJourneyId.current) {\n console.error(\n currentJourneyId.current\n ? `A Journey is already active, Current Journey: ${currentJourneyId.current}, New Journey Request: ${id}`\n : `addCoachmark was called before setJourney and Journey ID is undefined`,\n );\n\n return;\n }\n\n setCoachmarkList(prev => [...prev, coachmark]);\n }, []);\n\n const nextCoachmark = useCallback(\n (\n id: TJourneyId,\n keepPrevActive: boolean = false,\n delayInMs: number = 0,\n shouldBlurNextJourney: boolean = false,\n ) => {\n if (!currentJourneyId.current || id !== currentJourneyId.current) {\n console.error(\n currentJourneyId.current\n ? `nextCoachmark was called before setJourney`\n : `A Journey is already active, Current Journey: ${currentJourneyId.current}, New Journey Request: ${id}`,\n );\n\n return;\n }\n\n setIsJourneyBlurred(shouldBlurNextJourney);\n\n if (delayInMs !== 0) {\n // If delay is not 0, we will hide all them coachmarks and reveal only after the delay\n setCoachmarkList(prevList => {\n return prevList.map((item: ICoachmarkProps) => {\n return { ...item, isActive: false };\n });\n });\n }\n\n const timer = setTimeout(() => {\n clearTimeout(timer);\n const currIndex = currentIndex.current + 1;\n\n setCoachmarkList(prevList => {\n // Finish onboarding\n if (currIndex >= prevList.length || prevList.length === 0) {\n clearJourney();\n\n return [];\n }\n\n currentIndex.current = currIndex;\n const updatedCoachmarkList = [...prevList];\n\n (updatedCoachmarkList[currIndex] as ICoachmarkProps).isActive = true;\n\n if (currIndex > 0) {\n (updatedCoachmarkList[currIndex - 1] as ICoachmarkProps).isActive = keepPrevActive;\n }\n\n return updatedCoachmarkList;\n });\n }, delayInMs);\n\n timerRefs.current.push(timer);\n },\n [clearJourney],\n );\n\n const memoizedContextValue: IJourneyContext = useMemo(\n () => ({\n nextCoachmark,\n setJourney,\n addCoachmark,\n clearJourney,\n endJourney,\n coachmarks: coachmarkList,\n userCompletedJourneyIds,\n isJourneyActive,\n }),\n [\n nextCoachmark,\n setJourney,\n addCoachmark,\n clearJourney,\n endJourney,\n coachmarkList,\n userCompletedJourneyIds,\n isJourneyActive,\n ],\n );\n\n // Get the initial state of incompleteJourneys\n useEffect(() => {\n if (appId && userId) {\n getJourneyProgress(userId, {\n app_id: appId,\n user_id: userId,\n journey_status: 'COMPLETED',\n });\n }\n }, [appId, getJourneyProgress, userId]);\n\n // Set the data to context state initially\n useEffect(() => {\n if (userCompletedJourneys) {\n const completedUserJourneysIds = userCompletedJourneys.map(journey => journey.journey_id);\n\n setUserCompletedJourneyIds(completedUserJourneysIds);\n }\n }, [userCompletedJourneys]);\n\n return (\n <JourneyContext.Provider value={memoizedContextValue}>\n {isJourneyActive && (\n <S.Overlay\n about=\"journey-overlay\"\n isJourneyBlurred={isJourneyBlurred}\n data-testid={currentJourneyId.current}\n >\n {coachmarkList.map((coachmark, index) => (\n <Coachmark key={`coachmark-${index}`} coachmark={coachmark} />\n ))}\n </S.Overlay>\n )}\n {children}\n </JourneyContext.Provider>\n );\n};\n"],"names":["JourneyContext","createContext","JourneyProvider","children","appId","userId","isJourneyBlurred","setIsJourneyBlurred","useState","userCompletedJourneyIds","setUserCompletedJourneyIds","coachmarkList","setCoachmarkList","isJourneyActive","setIsJourneyActive","currentIndex","useRef","currentJourneyId","timerRefs","postJourneyCompletion","usePostUserJourney","userCompletedJourneys","getJourneyProgress","useGetUserJourney","setJourney","useCallback","id","coachmarks","clearJourney","timer","endJourney","journeyId","prev","addCoachmark","coachmark","nextCoachmark","keepPrevActive","delayInMs","shouldBlurNextJourney","prevList","item","currIndex","updatedCoachmarkList","memoizedContextValue","useMemo","useEffect","completedUserJourneysIds","journey","jsxs","jsx","S.Overlay","index","Coachmark"],"mappings":";;;;;AAea,MAAAA,IAAiBC,EAAsC,IAAI,GAE3DC,IAA6C,CAAC,EAAE,UAAAC,GAAU,OAAAC,GAAO,QAAAC,QAAa;AACzF,QAAM,CAACC,GAAkBC,CAAmB,IAAIC,EAAkB,EAAK,GACjE,CAACC,GAAyBC,CAA0B,IAAIF,EAA8B,IAAI,GAC1F,CAACG,GAAeC,CAAgB,IAAIJ,EAA4B,CAAE,CAAA,GAClE,CAACK,GAAiBC,CAAkB,IAAIN,EAAS,EAAK,GACtDO,IAAeC,EAAO,EAAE,GACxBC,IAAmBD,KACnBE,IAAYF,EAAwC,CAAA,CAAE,GAEtD,EAAE,MAAMG,EAAsB,IAAIC,EAAmB,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F;AAAA,MACAI;AAAA,IACF;AAAA,EAAA;AAIF,SAAAgC,EAAU,MAAM;AACd,IAAIzC,KAASC,KACXiB,EAAmBjB,GAAQ;AAAA,MACzB,QAAQD;AAAA,MACR,SAASC;AAAA,MACT,gBAAgB;AAAA,IAAA,CACjB;AAAA,EAEF,GAAA,CAACD,GAAOkB,GAAoBjB,CAAM,CAAC,GAGtCwC,EAAU,MAAM;AACd,QAAIxB,GAAuB;AACzB,YAAMyB,IAA2BzB,EAAsB,IAAI,CAAA0B,MAAWA,EAAQ,UAAU;AAExF,MAAArC,EAA2BoC,CAAwB;AAAA,IACrD;AAAA,EAAA,GACC,CAACzB,CAAqB,CAAC,GAGvB,gBAAA2B,EAAAhD,EAAe,UAAf,EAAwB,OAAO2C,GAC7B,UAAA;AAAA,IACC9B,KAAA,gBAAAoC;AAAA,MAACC;AAAAA,MAAA;AAAA,QACC,OAAM;AAAA,QACN,kBAAA5C;AAAA,QACA,eAAaW,EAAiB;AAAA,QAE7B,UAAAN,EAAc,IAAI,CAACuB,GAAWiB,MAC5B,gBAAAF,EAAAG,GAAA,EAAqC,WAAAlB,EAAtB,GAAA,aAAaiB,CAAK,EAA0B,CAC7D;AAAA,MAAA;AAAA,IACH;AAAA,IAEDhD;AAAA,EACH,EAAA,CAAA;AAEJ;"}
@@ -1,14 +1,19 @@
1
- import o from "styled-components";
2
- import { BLUR_OVERLAY_Z_INDEX as t } from "./constants.js";
3
- const e = o.div`
1
+ import t, { css as i } from "styled-components";
2
+ import { BLUR_OVERLAY_Z_INDEX as e } from "./constants.js";
3
+ const b = t.div`
4
4
  position: fixed;
5
5
  top: 0;
6
6
  right: 0;
7
7
  bottom: 0;
8
8
  left: 0;
9
- z-index: ${t};
9
+ z-index: ${e};
10
+ ${({ isJourneyBlurred: o, theme: r }) => o && i`
11
+ background: ${r.colors.BLACK_T_38};
12
+ backdrop-filter: blur(80px);
13
+ -webkit-backdrop-filter: blur(80px);
14
+ `}
10
15
  `;
11
16
  export {
12
- e as Overlay
17
+ b as Overlay
13
18
  };
14
19
  //# sourceMappingURL=journey-styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"journey-styled.js","sources":["../../../../src/features/journey/use-journey/journey-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport { BLUR_OVERLAY_Z_INDEX } from './constants';\n\nexport const Overlay = styled.div`\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: ${BLUR_OVERLAY_Z_INDEX};\n`;\n"],"names":["Overlay","styled","BLUR_OVERLAY_Z_INDEX"],"mappings":";;AAIO,MAAMA,IAAUC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAMjBC,CAAoB;AAAA;"}
1
+ {"version":3,"file":"journey-styled.js","sources":["../../../../src/features/journey/use-journey/journey-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\nimport { css } from 'styled-components';\n\nimport { BLUR_OVERLAY_Z_INDEX } from './constants';\n\nexport const Overlay = styled.div<{ isJourneyBlurred: boolean }>`\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: ${BLUR_OVERLAY_Z_INDEX};\n ${({ isJourneyBlurred, theme }) =>\n isJourneyBlurred &&\n css`\n background: ${theme.colors.BLACK_T_38};\n backdrop-filter: blur(80px);\n -webkit-backdrop-filter: blur(80px);\n `}\n`;\n``;\n"],"names":["Overlay","styled","BLUR_OVERLAY_Z_INDEX","isJourneyBlurred","theme","css"],"mappings":";;AAKO,MAAMA,IAAUC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAMjBC,CAAoB;AAAA,IAC7B,CAAC,EAAE,kBAAAC,GAAkB,OAAAC,EAAA,MACrBD,KACAE;AAAA,oBACgBD,EAAM,OAAO,UAAU;AAAA;AAAA;AAAA,KAGtC;AAAA;"}
@@ -1,5 +1,5 @@
1
1
  import { createPostAPI as t } from "@cuemath/rest-api";
2
- import { BASE_URL_V3_1 as e } from "../../../../constants/api.js";
2
+ import { BASE_URL_V3_2 as e } from "../../../../constants/api.js";
3
3
  const { usePost: i } = t({
4
4
  getURL: (s, { studentId: o }) => `${e}/users/${o}/milestones/`
5
5
  });
@@ -1 +1 @@
1
- {"version":3,"file":"goal-submit.js","sources":["../../../../../src/features/milestone/create/api/goal-submit.ts"],"sourcesContent":["import type { TMilestonePayload } from '../milestone-create-types';\n\nimport { createPostAPI } from '@cuemath/rest-api';\n\nimport { BASE_URL_V3_1 } from '../../../../constants/api';\n\nconst { usePost: useGoalCreationPost } = createPostAPI<\n { id: string },\n TMilestonePayload,\n { studentId: string }\n>({\n getURL: (_, { studentId }) => `${BASE_URL_V3_1}/users/${studentId}/milestones/`,\n});\n\nexport { useGoalCreationPost };\n"],"names":["useGoalCreationPost","createPostAPI","_","studentId","BASE_URL_V3_1"],"mappings":";;AAMA,MAAM,EAAE,SAASA,EAAoB,IAAIC,EAIvC;AAAA,EACA,QAAQ,CAACC,GAAG,EAAE,WAAAC,EAAgB,MAAA,GAAGC,CAAa,UAAUD,CAAS;AACnE,CAAC;"}
1
+ {"version":3,"file":"goal-submit.js","sources":["../../../../../src/features/milestone/create/api/goal-submit.ts"],"sourcesContent":["import type { TMilestonePayload } from '../milestone-create-types';\n\nimport { createPostAPI } from '@cuemath/rest-api';\n\nimport { BASE_URL_V3_2 } from '../../../../constants/api';\n\nconst { usePost: useGoalCreationPost } = createPostAPI<\n { id: string },\n TMilestonePayload,\n { studentId: string }\n>({\n getURL: (_, { studentId }) => `${BASE_URL_V3_2}/users/${studentId}/milestones/`,\n});\n\nexport { useGoalCreationPost };\n"],"names":["useGoalCreationPost","createPostAPI","_","studentId","BASE_URL_V3_2"],"mappings":";;AAMA,MAAM,EAAE,SAASA,EAAoB,IAAIC,EAIvC;AAAA,EACA,QAAQ,CAACC,GAAG,EAAE,WAAAC,EAAgB,MAAA,GAAGC,CAAa,UAAUD,CAAS;AACnE,CAAC;"}
@@ -1,75 +1,68 @@
1
1
  import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
- import { memo as G, useState as L, useRef as N, useCallback as p } from "react";
3
- import { SHEET_STATE as c } from "../../../../sheets/constants/sheet.js";
4
- import O from "../../../../ui/arrow-tooltip/arrow-tooltip.js";
5
- import X from "../../../../ui/hooks/use-context-menu-click-handler.js";
6
- import j from "../../../../ui/image/image.js";
2
+ import { memo as B, useState as G, useRef as L, useCallback as s } from "react";
3
+ import { SHEET_STATE as p } from "../../../../sheets/constants/sheet.js";
4
+ import N from "../../../../ui/arrow-tooltip/arrow-tooltip.js";
5
+ import O from "../../../../ui/hooks/use-context-menu-click-handler.js";
6
+ import X from "../../../../ui/image/image.js";
7
7
  import w from "../../../../ui/layout/flex-view.js";
8
- import F from "../sheets-list/sheets-list.js";
9
- import { ChapterInfoWrapper as K, ChapterInfoIcon as P, SheetsListWrapper as U, ChapterListWrapper as q, ChapterProgressSVG as z, ChapterProgressSVGCircle as _, StyledText as A } from "./chapter-item-styled.js";
10
- const J = [
8
+ import j from "../sheets-list/sheets-list.js";
9
+ import { ChapterInfoWrapper as F, ChapterInfoIcon as K, SheetsListWrapper as P, ChapterListWrapper as U, ChapterProgressSVG as q, ChapterProgressSVGCircle as A, StyledText as E } from "./chapter-item-styled.js";
10
+ const z = [
11
11
  "STARTED",
12
- c.FAMILIAR,
13
- c.PROFICIENT,
14
- c.MASTERED
15
- ], le = G((E) => {
16
- const { chapterData: x, onChapterItemClick: h, isThisPrimaryChapter: R, showChapterTags: k, canAddChapter: l } = E, {
12
+ p.FAMILIAR,
13
+ p.PROFICIENT,
14
+ p.MASTERED
15
+ ], ie = B((_) => {
16
+ const { chapterData: x, onChapterItemClick: h, isThisPrimaryChapter: R, showChapterTags: k, canAddChapter: l } = _, {
17
17
  name: d,
18
- image_url: y,
18
+ image_url: W,
19
19
  added: m,
20
20
  learning_sheet_data: g,
21
- total_supplementary_sheets: W,
22
21
  id: f,
23
22
  chapter_tags: H,
24
23
  state: a
25
- } = x, M = a && J.includes(a) && g.length > 0, u = a === "MASTERED", [e, C] = L(null), i = N(null), V = p(() => {
26
- var I;
27
- const { current: T } = i;
28
- if (T) {
29
- const r = (I = T.children[0]) == null ? void 0 : I.getBoundingClientRect();
24
+ } = x, M = a && z.includes(a) && g.length > 0, u = a === "MASTERED", [e, C] = G(null), i = L(null), V = s(() => {
25
+ var b;
26
+ const { current: I } = i;
27
+ if (I) {
28
+ const r = (b = I.children[0]) == null ? void 0 : b.getBoundingClientRect();
30
29
  if (r) {
31
- const B = window.innerWidth, b = window.innerHeight, o = {};
32
- r.left + 296 < B ? o.left = r.left : o.left = r.left + 20 - 296, r.top + 252 < b ? o.top = r.top + 20 : o.bottom = b - r.top + 8, Object.keys(o).length && C({ ...o });
30
+ const v = window.innerWidth, S = window.innerHeight, o = {};
31
+ r.left + 296 < v ? o.left = r.left : o.left = r.left + 20 - 296, r.top + 252 < S ? o.top = r.top + 20 : o.bottom = S - r.top + 8, Object.keys(o).length && C({ ...o });
33
32
  }
34
33
  }
35
34
  }, [C, i]), {
36
- menuVisible: s,
35
+ menuVisible: c,
37
36
  onMenuClick: $,
38
- hideMenu: S
39
- } = X(i, V), D = p(() => {
40
- s ? S() : $();
41
- }, [$, S, s]), v = p(() => {
37
+ hideMenu: T
38
+ } = O(i, V), y = s(() => {
39
+ c ? T() : $();
40
+ }, [$, T, c]), D = s(() => {
42
41
  if (!l) return null;
43
42
  h(f);
44
43
  }, [l, f, h]);
45
44
  return /* @__PURE__ */ n(w, { $flexGap: 4, $position: "relative", children: [
46
- /* @__PURE__ */ n(K, { ref: i, onClick: D, children: [
47
- /* @__PURE__ */ t(P, { className: "goal-chapter-info-icon" }),
48
- s && /* @__PURE__ */ t(
49
- U,
45
+ /* @__PURE__ */ n(F, { ref: i, onClick: y, children: [
46
+ /* @__PURE__ */ t(K, { className: "goal-chapter-info-icon" }),
47
+ c && /* @__PURE__ */ t(
48
+ P,
50
49
  {
51
50
  $top: e == null ? void 0 : e.top,
52
51
  $left: e == null ? void 0 : e.left,
53
52
  $bottom: e == null ? void 0 : e.bottom,
54
- children: /* @__PURE__ */ t(
55
- F,
56
- {
57
- learningSheetData: g,
58
- supplementarySheetsCount: W
59
- }
60
- )
53
+ children: /* @__PURE__ */ t(j, { learningSheetData: g })
61
54
  }
62
55
  )
63
56
  ] }),
64
57
  /* @__PURE__ */ t(
65
- O,
58
+ N,
66
59
  {
67
60
  position: "bottom",
68
61
  renderAs: "primary",
69
62
  tooltipItem: "Duplicates can’t be added",
70
63
  hidden: !R,
71
64
  children: /* @__PURE__ */ n(
72
- q,
65
+ U,
73
66
  {
74
67
  $widthX: 9.5,
75
68
  $heightX: 8.875,
@@ -81,13 +74,13 @@ const J = [
81
74
  $selectable: l,
82
75
  $borderColor: m ? "BLACK_T_87" : "WHITE_5",
83
76
  $background: m ? "WHITE_3" : "WHITE_1",
84
- onClick: v,
77
+ onClick: D,
85
78
  children: [
86
79
  /* @__PURE__ */ n(w, { $position: "relative", children: [
87
- M && /* @__PURE__ */ n(z, { width: "62px", height: "62px", children: [
88
- /* @__PURE__ */ t(_, { $progress: 0, r: "30", cx: "31", cy: "31" }),
80
+ M && /* @__PURE__ */ n(q, { width: "62px", height: "62px", children: [
81
+ /* @__PURE__ */ t(A, { $progress: 0, r: "30", cx: "31", cy: "31" }),
89
82
  /* @__PURE__ */ t(
90
- _,
83
+ A,
91
84
  {
92
85
  $progressCircle: !0,
93
86
  $progressBackground: u ? "GREEN_5" : "BLACK",
@@ -99,9 +92,9 @@ const J = [
99
92
  )
100
93
  ] }),
101
94
  /* @__PURE__ */ t(
102
- j,
95
+ X,
103
96
  {
104
- src: y || "",
97
+ src: W || "",
105
98
  alt: d,
106
99
  withLoader: !0,
107
100
  width: 56,
@@ -110,16 +103,16 @@ const J = [
110
103
  }
111
104
  )
112
105
  ] }),
113
- /* @__PURE__ */ t(A, { $renderAs: "ab3", $align: "center", children: d })
106
+ /* @__PURE__ */ t(E, { $renderAs: "ab3", $align: "center", children: d })
114
107
  ]
115
108
  }
116
109
  )
117
110
  }
118
111
  ),
119
- k && /* @__PURE__ */ t(A, { $renderAs: "ab3", $lineClampNo: 1, $color: "BLACK_T_60", children: H })
112
+ k && /* @__PURE__ */ t(E, { $renderAs: "ab3", $lineClampNo: 1, $color: "BLACK_T_60", children: H })
120
113
  ] });
121
114
  });
122
115
  export {
123
- le as default
116
+ ie as default
124
117
  };
125
118
  //# sourceMappingURL=chapter-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chapter-item.js","sources":["../../../../../../src/features/milestone/create/comps/chapter-item/chapter-item.tsx"],"sourcesContent":["import type { IChapterItem, ISheetsListPosition } from './chapter-item-types';\nimport type { FC } from 'react';\n\nimport { memo, useCallback, useRef, useState } from 'react';\n\nimport { SHEET_STATE } from '../../../../sheets/constants/sheet';\nimport ArrowTooltip from '../../../../ui/arrow-tooltip/arrow-tooltip';\nimport useContextMenuClickHandler from '../../../../ui/hooks/use-context-menu-click-handler';\nimport Image from '../../../../ui/image/image';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport SheetsList from '../sheets-list/sheets-list';\nimport * as Styled from './chapter-item-styled';\n\nconst progressVisibleStates = [\n 'STARTED',\n SHEET_STATE.FAMILIAR,\n SHEET_STATE.PROFICIENT,\n SHEET_STATE.MASTERED,\n];\n\nconst ChapterItemV2: FC<IChapterItem> = memo(props => {\n const { chapterData, onChapterItemClick, isThisPrimaryChapter, showChapterTags, canAddChapter } =\n props;\n const {\n name,\n image_url: imageUrl,\n added,\n learning_sheet_data: learningSheetData,\n total_supplementary_sheets: totalSupplementarySheets,\n id: chapterId,\n chapter_tags: chapterTags,\n state,\n } = chapterData;\n\n const showProgress =\n state && progressVisibleStates.includes(state) && learningSheetData.length > 0;\n const isMastered = state === 'MASTERED';\n\n const [sheetsListPositionCoordinates, setSheetsListPositionCoordinates] =\n useState<ISheetsListPosition | null>(null);\n const containerRef = useRef<HTMLDivElement>(null);\n\n const handleSetCoordinates = useCallback(() => {\n const { current } = containerRef;\n\n if (current) {\n const boundingClientRect = current.children[0]?.getBoundingClientRect();\n\n if (boundingClientRect) {\n const viewportWidth = window.innerWidth;\n const viewportHeight = window.innerHeight;\n\n const positions: ISheetsListPosition = {};\n\n //* 288 (Width of card) + 8 (left position) = 296\n if (boundingClientRect.left + 296 < viewportWidth) {\n positions.left = boundingClientRect.left;\n } else {\n positions.left = boundingClientRect.left + 20 - 296;\n }\n\n //* 252 (Max height of card)\n if (boundingClientRect.top + 252 < viewportHeight) {\n positions.top = boundingClientRect.top + 20;\n } else {\n positions.bottom = viewportHeight - boundingClientRect.top + 8;\n }\n\n if (Object.keys(positions).length) {\n setSheetsListPositionCoordinates({ ...positions });\n }\n }\n }\n }, [setSheetsListPositionCoordinates, containerRef]);\n\n const {\n menuVisible,\n onMenuClick: onMenuClick,\n hideMenu,\n } = useContextMenuClickHandler(containerRef, handleSetCoordinates);\n\n const handleOnSheetsView = useCallback(() => {\n if (!menuVisible) {\n onMenuClick();\n } else {\n hideMenu();\n }\n }, [onMenuClick, hideMenu, menuVisible]);\n\n const handleOnChapterItemClick = useCallback(() => {\n if (!canAddChapter) return null;\n\n onChapterItemClick(chapterId);\n }, [canAddChapter, chapterId, onChapterItemClick]);\n\n return (\n <FlexView $flexGap={4} $position=\"relative\">\n <Styled.ChapterInfoWrapper ref={containerRef} onClick={handleOnSheetsView}>\n <Styled.ChapterInfoIcon className=\"goal-chapter-info-icon\" />\n {menuVisible && (\n <Styled.SheetsListWrapper\n $top={sheetsListPositionCoordinates?.top}\n $left={sheetsListPositionCoordinates?.left}\n $bottom={sheetsListPositionCoordinates?.bottom}\n >\n <SheetsList\n learningSheetData={learningSheetData}\n supplementarySheetsCount={totalSupplementarySheets}\n />\n </Styled.SheetsListWrapper>\n )}\n </Styled.ChapterInfoWrapper>\n\n <ArrowTooltip\n position=\"bottom\"\n renderAs=\"primary\"\n tooltipItem=\"Duplicates can’t be added\"\n hidden={!isThisPrimaryChapter}\n >\n <Styled.ChapterListWrapper\n $widthX={9.5}\n $heightX={8.875}\n $gapX={1}\n $gutterX={1}\n $flexGap={12}\n $position=\"relative\"\n $alignItems=\"center\"\n $selectable={canAddChapter}\n $borderColor={added ? 'BLACK_T_87' : 'WHITE_5'}\n $background={added ? 'WHITE_3' : 'WHITE_1'}\n onClick={handleOnChapterItemClick}\n >\n <FlexView $position=\"relative\">\n {showProgress && (\n <Styled.ChapterProgressSVG width=\"62px\" height=\"62px\">\n <Styled.ChapterProgressSVGCircle $progress={0} r=\"30\" cx=\"31\" cy=\"31\" />\n <Styled.ChapterProgressSVGCircle\n $progressCircle\n $progressBackground={isMastered ? 'GREEN_5' : 'BLACK'}\n $progress={isMastered ? 360 : 95}\n r=\"30\"\n cx=\"31\"\n cy=\"31\"\n />\n </Styled.ChapterProgressSVG>\n )}\n <Image\n src={imageUrl || ''}\n alt={name}\n withLoader\n width={56}\n height={56}\n borderRadius={50}\n />\n </FlexView>\n\n <Styled.StyledText $renderAs=\"ab3\" $align=\"center\">\n {name}\n </Styled.StyledText>\n </Styled.ChapterListWrapper>\n </ArrowTooltip>\n\n {showChapterTags && (\n <Styled.StyledText $renderAs=\"ab3\" $lineClampNo={1} $color=\"BLACK_T_60\">\n {chapterTags}\n </Styled.StyledText>\n )}\n </FlexView>\n );\n});\n\nexport default ChapterItemV2;\n"],"names":["progressVisibleStates","SHEET_STATE","ChapterItemV2","memo","props","chapterData","onChapterItemClick","isThisPrimaryChapter","showChapterTags","canAddChapter","name","imageUrl","added","learningSheetData","totalSupplementarySheets","chapterId","chapterTags","state","showProgress","isMastered","sheetsListPositionCoordinates","setSheetsListPositionCoordinates","useState","containerRef","useRef","handleSetCoordinates","useCallback","current","boundingClientRect","_a","viewportWidth","viewportHeight","positions","menuVisible","onMenuClick","hideMenu","useContextMenuClickHandler","handleOnSheetsView","handleOnChapterItemClick","jsxs","FlexView","Styled.ChapterInfoWrapper","jsx","Styled.ChapterInfoIcon","Styled.SheetsListWrapper","SheetsList","ArrowTooltip","Styled.ChapterListWrapper","Styled.ChapterProgressSVG","Styled.ChapterProgressSV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AAAA,YACjC,SAAS0B;AAAA,YAET,UAAA;AAAA,cAAC,gBAAAC,EAAAC,GAAA,EAAS,WAAU,YACjB,UAAA;AAAA,gBAAAtB,uBACE8B,GAAA,EAA0B,OAAM,QAAO,QAAO,QAC7C,UAAA;AAAA,kBAAC,gBAAAN,EAAAO,GAAA,EAAgC,WAAW,GAAG,GAAE,MAAK,IAAG,MAAK,IAAG,KAAK,CAAA;AAAA,kBACtE,gBAAAP;AAAA,oBAACO;AAAAA,oBAAA;AAAA,sBACC,iBAAe;AAAA,sBACf,qBAAqB9B,IAAa,YAAY;AAAA,sBAC9C,WAAWA,IAAa,MAAM;AAAA,sBAC9B,GAAE;AAAA,sBACF,IAAG;AAAA,sBACH,IAAG;AAAA,oBAAA;AAAA,kBACL;AAAA,gBAAA,GACF;AAAA,gBAEF,gBAAAuB;AAAA,kBAACQ;AAAA,kBAAA;AAAA,oBACC,KAAKvC,KAAY;AAAA,oBACjB,KAAKD;AAAA,oBACL,YAAU;AAAA,oBACV,OAAO;AAAA,oBACP,QAAQ;AAAA,oBACR,cAAc;AAAA,kBAAA;AAAA,gBAChB;AAAA,cAAA,GACF;AAAA,cAEA,gBAAAgC,EAACS,GAAA,EAAkB,WAAU,OAAM,QAAO,UACvC,UACHzC,GAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IACF;AAAA,IAECF,KACE,gBAAAkC,EAAAS,GAAA,EAAkB,WAAU,OAAM,cAAc,GAAG,QAAO,cACxD,UACHnC,EAAA,CAAA;AAAA,EAEJ,EAAA,CAAA;AAEJ,CAAC;"}
1
+ {"version":3,"file":"chapter-item.js","sources":["../../../../../../src/features/milestone/create/comps/chapter-item/chapter-item.tsx"],"sourcesContent":["import type { IChapterItem, ISheetsListPosition } from './chapter-item-types';\nimport type { FC } from 'react';\n\nimport { memo, useCallback, useRef, useState } from 'react';\n\nimport { SHEET_STATE } from '../../../../sheets/constants/sheet';\nimport ArrowTooltip from '../../../../ui/arrow-tooltip/arrow-tooltip';\nimport useContextMenuClickHandler from '../../../../ui/hooks/use-context-menu-click-handler';\nimport Image from '../../../../ui/image/image';\nimport FlexView from '../../../../ui/layout/flex-view';\nimport SheetsList from '../sheets-list/sheets-list';\nimport * as Styled from './chapter-item-styled';\n\nconst progressVisibleStates = [\n 'STARTED',\n SHEET_STATE.FAMILIAR,\n SHEET_STATE.PROFICIENT,\n SHEET_STATE.MASTERED,\n];\n\nconst ChapterItemV2: FC<IChapterItem> = memo(props => {\n const { chapterData, onChapterItemClick, isThisPrimaryChapter, showChapterTags, canAddChapter } =\n props;\n const {\n name,\n image_url: imageUrl,\n added,\n learning_sheet_data: learningSheetData,\n id: chapterId,\n chapter_tags: chapterTags,\n state,\n } = chapterData;\n\n const showProgress =\n state && progressVisibleStates.includes(state) && learningSheetData.length > 0;\n const isMastered = state === 'MASTERED';\n\n const [sheetsListPositionCoordinates, setSheetsListPositionCoordinates] =\n useState<ISheetsListPosition | null>(null);\n const containerRef = useRef<HTMLDivElement>(null);\n\n const handleSetCoordinates = useCallback(() => {\n const { current } = containerRef;\n\n if (current) {\n const boundingClientRect = current.children[0]?.getBoundingClientRect();\n\n if (boundingClientRect) {\n const viewportWidth = window.innerWidth;\n const viewportHeight = window.innerHeight;\n\n const positions: ISheetsListPosition = {};\n\n //* 288 (Width of card) + 8 (left position) = 296\n if (boundingClientRect.left + 296 < viewportWidth) {\n positions.left = boundingClientRect.left;\n } else {\n positions.left = boundingClientRect.left + 20 - 296;\n }\n\n //* 252 (Max height of card)\n if (boundingClientRect.top + 252 < viewportHeight) {\n positions.top = boundingClientRect.top + 20;\n } else {\n positions.bottom = viewportHeight - boundingClientRect.top + 8;\n }\n\n if (Object.keys(positions).length) {\n setSheetsListPositionCoordinates({ ...positions });\n }\n }\n }\n }, [setSheetsListPositionCoordinates, containerRef]);\n\n const {\n menuVisible,\n onMenuClick: onMenuClick,\n hideMenu,\n } = useContextMenuClickHandler(containerRef, handleSetCoordinates);\n\n const handleOnSheetsView = useCallback(() => {\n if (!menuVisible) {\n onMenuClick();\n } else {\n hideMenu();\n }\n }, [onMenuClick, hideMenu, menuVisible]);\n\n const handleOnChapterItemClick = useCallback(() => {\n if (!canAddChapter) return null;\n\n onChapterItemClick(chapterId);\n }, [canAddChapter, chapterId, onChapterItemClick]);\n\n return (\n <FlexView $flexGap={4} $position=\"relative\">\n <Styled.ChapterInfoWrapper ref={containerRef} onClick={handleOnSheetsView}>\n <Styled.ChapterInfoIcon className=\"goal-chapter-info-icon\" />\n {menuVisible && (\n <Styled.SheetsListWrapper\n $top={sheetsListPositionCoordinates?.top}\n $left={sheetsListPositionCoordinates?.left}\n $bottom={sheetsListPositionCoordinates?.bottom}\n >\n <SheetsList learningSheetData={learningSheetData} />\n </Styled.SheetsListWrapper>\n )}\n </Styled.ChapterInfoWrapper>\n\n <ArrowTooltip\n position=\"bottom\"\n renderAs=\"primary\"\n tooltipItem=\"Duplicates can’t be added\"\n hidden={!isThisPrimaryChapter}\n >\n <Styled.ChapterListWrapper\n $widthX={9.5}\n $heightX={8.875}\n $gapX={1}\n $gutterX={1}\n $flexGap={12}\n $position=\"relative\"\n $alignItems=\"center\"\n $selectable={canAddChapter}\n $borderColor={added ? 'BLACK_T_87' : 'WHITE_5'}\n $background={added ? 'WHITE_3' : 'WHITE_1'}\n onClick={handleOnChapterItemClick}\n >\n <FlexView $position=\"relative\">\n {showProgress && (\n <Styled.ChapterProgressSVG width=\"62px\" height=\"62px\">\n <Styled.ChapterProgressSVGCircle $progress={0} r=\"30\" cx=\"31\" cy=\"31\" />\n <Styled.ChapterProgressSVGCircle\n $progressCircle\n $progressBackground={isMastered ? 'GREEN_5' : 'BLACK'}\n $progress={isMastered ? 360 : 95}\n r=\"30\"\n cx=\"31\"\n cy=\"31\"\n />\n </Styled.ChapterProgressSVG>\n )}\n <Image\n src={imageUrl || ''}\n alt={name}\n withLoader\n width={56}\n height={56}\n borderRadius={50}\n />\n </FlexView>\n\n <Styled.StyledText $renderAs=\"ab3\" $align=\"center\">\n {name}\n </Styled.StyledText>\n </Styled.ChapterListWrapper>\n </ArrowTooltip>\n\n {showChapterTags && (\n <Styled.StyledText $renderAs=\"ab3\" $lineClampNo={1} $color=\"BLACK_T_60\">\n {chapterTags}\n </Styled.StyledText>\n )}\n </FlexView>\n );\n});\n\nexport default ChapterItemV2;\n"],"names":["progressVisibleStates","SHEET_STATE","ChapterItemV2","memo","props","chapterData","onChapterItemClick","isThisPrimaryChapter","showChapterTags","canAddChapter","name","imageUrl","added","learningSheetData","chapterId","chapterTags","state","showProgress","isMastered","sheetsListPositionCoordinates","setSheetsListPositionCoordinates","useState","containerRef","useRef","handleSetCoordinates","useCallback","current","boundingClientRect","_a","viewportWidth","viewportHeight","positions","menuVisible","onMenuClick","hideMenu","useContextMenuClickHandler","handleOnSheetsView","handleOnChapterItemClick","jsxs","FlexView","Styled.ChapterInfoWrapper","jsx","Styled.ChapterInfoIcon","Styled.SheetsListWrapper","SheetsList","ArrowTooltip","Styled.ChapterListWrapper","Styled.ChapterProgressSVG","Styled.ChapterProgressSVGCircle","Image","Styled.StyledText"],"mappings":";;;;;;;;;AAaA,MAAMA,IAAwB;AAAA,EAC5B;AAAA,EACAC,EAAY;AAAA,EACZA,EAAY;AAAA,EACZA,EAAY;AACd,GAEMC,KAAkCC,EAAK,CAASC,MAAA;AACpD,QAAM,EAAE,aAAAC,GAAa,oBAAAC,GAAoB,sBAAAC,GAAsB,iBAAAC,GAAiB,eAAAC,EAC9E,IAAAL,GACI;AAAA,IACJ,MAAAM;AAAA,IACA,WAAWC;AAAA,IACX,OAAAC;AAAA,IACA,qBAAqBC;AAAA,IACrB,IAAIC;AAAA,IACJ,cAAcC;AAAA,IACd,OAAAC;AAAA,EACE,IAAAX,GAEEY,IACJD,KAAShB,EAAsB,SAASgB,CAAK,KAAKH,EAAkB,SAAS,GACzEK,IAAaF,MAAU,YAEvB,CAACG,GAA+BC,CAAgC,IACpEC,EAAqC,IAAI,GACrCC,IAAeC,EAAu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AAAA,oBACR,cAAc;AAAA,kBAAA;AAAA,gBAChB;AAAA,cAAA,GACF;AAAA,cAEA,gBAAA+B,EAACS,GAAA,EAAkB,WAAU,OAAM,QAAO,UACvC,UACHxC,GAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IACF;AAAA,IAECF,KACE,gBAAAiC,EAAAS,GAAA,EAAkB,WAAU,OAAM,cAAc,GAAG,QAAO,cACxD,UACHnC,EAAA,CAAA;AAAA,EAEJ,EAAA,CAAA;AAEJ,CAAC;"}
@@ -1,9 +1,17 @@
1
1
  import r from "styled-components";
2
- import p from "../../../../ui/layout/flex-view.js";
3
- const e = r(p)(({ theme: o }) => `
4
- box-shadow: 0px 10px 20px 0px ${o.colors.BLACK_T_20};
2
+ import o from "../../../../ui/layout/flex-view.js";
3
+ const x = r(o)(({ theme: t }) => `
4
+ box-shadow: 0px 10px 20px 0px ${t.colors.BLACK_T_20};
5
+ `), n = r(o)(() => `
6
+ margin-left: auto;
7
+
8
+ svg {
9
+ width: 24px;
10
+ height: 24px;
11
+ }
5
12
  `);
6
13
  export {
7
- e as ButtonWrapper
14
+ n as BinIconWrapper,
15
+ x as ButtonWrapper
8
16
  };
9
17
  //# sourceMappingURL=chapters-selection-step-styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chapters-selection-step-styled.js","sources":["../../../../../../src/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../../ui/layout/flex-view';\n\nconst ButtonWrapper = styled(FlexView)(({ theme }) => {\n return `\n box-shadow: 0px 10px 20px 0px ${theme.colors.BLACK_T_20};\n `;\n});\n\nexport { ButtonWrapper };\n"],"names":["ButtonWrapper","styled","FlexView","theme"],"mappings":";;AAIA,MAAMA,IAAgBC,EAAOC,CAAQ,EAAE,CAAC,EAAE,OAAAC,QACjC;AAAA,oCAC2BA,EAAM,OAAO,UAAU;AAAA,GAE1D;"}
1
+ {"version":3,"file":"chapters-selection-step-styled.js","sources":["../../../../../../src/features/milestone/create/comps/chapters-selection-step/chapters-selection-step-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../../ui/layout/flex-view';\n\nconst ButtonWrapper = styled(FlexView)(({ theme }) => {\n return `\n box-shadow: 0px 10px 20px 0px ${theme.colors.BLACK_T_20};\n `;\n});\n\nconst BinIconWrapper = styled(FlexView)(() => {\n return `\n margin-left: auto;\n \n svg {\n width: 24px;\n height: 24px;\n }\n `;\n});\n\nexport { ButtonWrapper, BinIconWrapper };\n"],"names":["ButtonWrapper","styled","FlexView","theme","BinIconWrapper"],"mappings":";;AAIA,MAAMA,IAAgBC,EAAOC,CAAQ,EAAE,CAAC,EAAE,OAAAC,QACjC;AAAA,oCAC2BA,EAAM,OAAO,UAAU;AAAA,GAE1D,GAEKC,IAAiBH,EAAOC,CAAQ,EAAE,MAC/B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAQR;"}