@cuemath/leap 3.3.0 → 3.3.2-2.beta-guru-01

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 (399) hide show
  1. package/dist/assets/gif/gif.js +3 -0
  2. package/dist/assets/gif/gif.js.map +1 -1
  3. package/dist/assets/illustrations/illustrations.js +10 -1
  4. package/dist/assets/illustrations/illustrations.js.map +1 -1
  5. package/dist/assets/images/images.js +10 -0
  6. package/dist/assets/images/images.js.map +1 -1
  7. package/dist/assets/line-icons/icons/cue-coin.js +182 -0
  8. package/dist/assets/line-icons/icons/cue-coin.js.map +1 -0
  9. package/dist/assets/line-icons/icons/wins-common-icon.js +26 -0
  10. package/dist/assets/line-icons/icons/wins-common-icon.js.map +1 -0
  11. package/dist/assets/line-icons/icons/wins-epic-icon.js +25 -0
  12. package/dist/assets/line-icons/icons/wins-epic-icon.js.map +1 -0
  13. package/dist/assets/line-icons/icons/wins-legendary-icon.js +25 -0
  14. package/dist/assets/line-icons/icons/wins-legendary-icon.js.map +1 -0
  15. package/dist/assets/line-icons/icons/wins-mystery-icon.js +105 -0
  16. package/dist/assets/line-icons/icons/wins-mystery-icon.js.map +1 -0
  17. package/dist/assets/line-icons/icons/wins-mythic-icon.js +28 -0
  18. package/dist/assets/line-icons/icons/wins-mythic-icon.js.map +1 -0
  19. package/dist/assets/line-icons/icons/wins-rare-icon.js +28 -0
  20. package/dist/assets/line-icons/icons/wins-rare-icon.js.map +1 -0
  21. package/dist/assets/lottie/lottie.js +10 -3
  22. package/dist/assets/lottie/lottie.js.map +1 -1
  23. package/dist/constants/config.js +5 -0
  24. package/dist/constants/config.js.map +1 -0
  25. package/dist/constants/country.js +9 -0
  26. package/dist/constants/country.js.map +1 -1
  27. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +6 -6
  28. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
  29. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +4 -4
  30. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +1 -1
  31. package/dist/features/auth/comps/otp-input/otp-input.js +19 -18
  32. package/dist/features/auth/comps/otp-input/otp-input.js.map +1 -1
  33. package/dist/features/auth/comps/pill-button/pill-button-styled.js +17 -17
  34. package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +1 -1
  35. package/dist/features/auth/comps/pill-button/pill-button.js +26 -24
  36. package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -1
  37. package/dist/features/auth/comps/user-list/user-item/user-item.js +32 -30
  38. package/dist/features/auth/comps/user-list/user-item/user-item.js.map +1 -1
  39. package/dist/features/auth/comps/user-list/user-list.js +20 -19
  40. package/dist/features/auth/comps/user-list/user-list.js.map +1 -1
  41. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js +9 -9
  42. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js.map +1 -1
  43. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js +58 -29
  44. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js.map +1 -1
  45. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js +78 -41
  46. package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js.map +1 -1
  47. package/dist/features/auth/pla-signup/pla-analytics-events.js +5 -4
  48. package/dist/features/auth/pla-signup/pla-analytics-events.js.map +1 -1
  49. package/dist/features/auth/pla-signup/signup-header/signup-header.js +1 -1
  50. package/dist/features/auth/pla-signup/signup-header/signup-header.js.map +1 -1
  51. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +37 -35
  52. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +1 -1
  53. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +75 -70
  54. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -1
  55. package/dist/features/auth/signup/custom-input-field/custom-input-field.js +55 -50
  56. package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +1 -1
  57. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +47 -25
  58. package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +1 -1
  59. package/dist/features/auth/signup-unavailable/signup-unavailable-styled.js +16 -0
  60. package/dist/features/auth/signup-unavailable/signup-unavailable-styled.js.map +1 -0
  61. package/dist/features/auth/signup-unavailable/signup-unavailable-view.js +62 -0
  62. package/dist/features/auth/signup-unavailable/signup-unavailable-view.js.map +1 -0
  63. package/dist/features/auth/signup-unavailable/signup-unavailable.js +17 -0
  64. package/dist/features/auth/signup-unavailable/signup-unavailable.js.map +1 -0
  65. package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/question-overview.js +19 -18
  66. package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/question-overview.js.map +1 -1
  67. package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary-styled.js +7 -7
  68. package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary-styled.js.map +1 -1
  69. package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary.js +26 -24
  70. package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary.js.map +1 -1
  71. package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/summary-module.js +15 -13
  72. package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/summary-module.js.map +1 -1
  73. package/dist/features/chapters/lpar-chapter/constants/index.js.map +1 -1
  74. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +130 -69
  75. package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +1 -1
  76. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +43 -33
  77. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -1
  78. package/dist/features/chapters-v2/chapter-details/chapter-details.js +137 -95
  79. package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -1
  80. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +36 -31
  81. package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +1 -1
  82. package/dist/features/chapters-v2/comps/sat-mock-test/sat-mock-test-styled.js +22 -0
  83. package/dist/features/chapters-v2/comps/sat-mock-test/sat-mock-test-styled.js.map +1 -0
  84. package/dist/features/chapters-v2/comps/sat-mock-test/sat-mock-test.js +141 -0
  85. package/dist/features/chapters-v2/comps/sat-mock-test/sat-mock-test.js.map +1 -0
  86. package/dist/features/chapters-v2/constants/block-constants.js +7 -5
  87. package/dist/features/chapters-v2/constants/block-constants.js.map +1 -1
  88. package/dist/features/chapters-v2/utils/index.js +22 -12
  89. package/dist/features/chapters-v2/utils/index.js.map +1 -1
  90. package/dist/features/chapters-v2/utils/sat-sheet-utils.js +12 -0
  91. package/dist/features/chapters-v2/utils/sat-sheet-utils.js.map +1 -0
  92. package/dist/features/circle-games/games/web-view/web-view.js +0 -1
  93. package/dist/features/circle-games/games/web-view/web-view.js.map +1 -1
  94. package/dist/features/journey/hooks/use-chapter-page-journey/use-download-block-journey.js +86 -0
  95. package/dist/features/journey/hooks/use-chapter-page-journey/use-download-block-journey.js.map +1 -0
  96. package/dist/features/journey/hooks/use-chapter-page-journey/use-download-node-journey.js +140 -0
  97. package/dist/features/journey/hooks/use-chapter-page-journey/use-download-node-journey.js.map +1 -0
  98. package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js +8 -4
  99. package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js.map +1 -1
  100. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js +23 -29
  101. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js.map +1 -1
  102. package/dist/features/journey/journey-id/journey-id-student.js +1 -1
  103. package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
  104. package/dist/features/journey/journey-id/journey-id-teacher.js +2 -2
  105. package/dist/features/journey/journey-id/journey-id-teacher.js.map +1 -1
  106. package/dist/features/journey/mocks/chapter-page-journey-mock-data.js +400 -0
  107. package/dist/features/journey/mocks/chapter-page-journey-mock-data.js.map +1 -1
  108. package/dist/features/milestone/constants.js +13 -10
  109. package/dist/features/milestone/constants.js.map +1 -1
  110. package/dist/features/milestone/create/comps/add-custom-chapter/add-custom-chapter.js +42 -40
  111. package/dist/features/milestone/create/comps/add-custom-chapter/add-custom-chapter.js.map +1 -1
  112. package/dist/features/milestone/create/comps/add-custom-chapter/course-catalog.js +70 -64
  113. package/dist/features/milestone/create/comps/add-custom-chapter/course-catalog.js.map +1 -1
  114. package/dist/features/milestone/create/comps/add-custom-chapter/hooks/use-catalog-helpers.js +54 -29
  115. package/dist/features/milestone/create/comps/add-custom-chapter/hooks/use-catalog-helpers.js.map +1 -1
  116. package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapter-category/chapter-category-container.js +48 -28
  117. package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapter-category/chapter-category-container.js.map +1 -1
  118. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js +79 -76
  119. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
  120. package/dist/features/milestone/create/comps/chapters-selection-step/utils.js +97 -94
  121. package/dist/features/milestone/create/comps/chapters-selection-step/utils.js.map +1 -1
  122. package/dist/features/milestone/create/comps/class-details-step/class-details-step.js +160 -143
  123. package/dist/features/milestone/create/comps/class-details-step/class-details-step.js.map +1 -1
  124. package/dist/features/milestone/create/comps/class-details-step/class-details-utils.js +22 -12
  125. package/dist/features/milestone/create/comps/class-details-step/class-details-utils.js.map +1 -1
  126. package/dist/features/milestone/create/comps/goal-completion-date-selector/goal-completion-date-selector.js +6 -6
  127. package/dist/features/milestone/create/comps/test-type-step/test-type-step.js +64 -59
  128. package/dist/features/milestone/create/comps/test-type-step/test-type-step.js.map +1 -1
  129. package/dist/features/milestone/create/milestone-create-container.js +17 -15
  130. package/dist/features/milestone/create/milestone-create-container.js.map +1 -1
  131. package/dist/features/milestone/create/milestone-create-helpers.js +170 -153
  132. package/dist/features/milestone/create/milestone-create-helpers.js.map +1 -1
  133. package/dist/features/milestone/create/milestone-create-styled.js +1 -1
  134. package/dist/features/milestone/create/milestone-create-styled.js.map +1 -1
  135. package/dist/features/milestone/create/milestone-create.js +19 -17
  136. package/dist/features/milestone/create/milestone-create.js.map +1 -1
  137. package/dist/features/milestone/milestone-tests/tests-creation/test-stages/test-preview/test-preview.js +19 -20
  138. package/dist/features/milestone/milestone-tests/tests-creation/test-stages/test-preview/test-preview.js.map +1 -1
  139. package/dist/features/parent-dashboard/api/get-student-profile-summary.js +9 -0
  140. package/dist/features/parent-dashboard/api/get-student-profile-summary.js.map +1 -0
  141. package/dist/features/parent-dashboard/api/parent-home.js +10 -0
  142. package/dist/features/parent-dashboard/api/parent-home.js.map +1 -0
  143. package/dist/features/parent-dashboard/comps/compact-header/compact-header.js +30 -0
  144. package/dist/features/parent-dashboard/comps/compact-header/compact-header.js.map +1 -0
  145. package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features-constants.js +25 -0
  146. package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features-constants.js.map +1 -0
  147. package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features-styled.js +15 -0
  148. package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features-styled.js.map +1 -0
  149. package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features.js +90 -0
  150. package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features.js.map +1 -0
  151. package/dist/features/parent-dashboard/comps/math-practice/math-practice-constants.js +19 -0
  152. package/dist/features/parent-dashboard/comps/math-practice/math-practice-constants.js.map +1 -0
  153. package/dist/features/parent-dashboard/comps/math-practice/math-practice-styled.js +32 -0
  154. package/dist/features/parent-dashboard/comps/math-practice/math-practice-styled.js.map +1 -0
  155. package/dist/features/parent-dashboard/comps/math-practice/math-practice.js +67 -0
  156. package/dist/features/parent-dashboard/comps/math-practice/math-practice.js.map +1 -0
  157. package/dist/features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs-constants.js +42 -0
  158. package/dist/features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs-constants.js.map +1 -0
  159. package/dist/features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs.js +20 -0
  160. package/dist/features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs.js.map +1 -0
  161. package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction-styled.js +10 -0
  162. package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction-styled.js.map +1 -0
  163. package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js +42 -0
  164. package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js.map +1 -0
  165. package/dist/features/parent-dashboard/hooks/use-parent-home-data.js +67 -0
  166. package/dist/features/parent-dashboard/hooks/use-parent-home-data.js.map +1 -0
  167. package/dist/features/parent-dashboard/hooks/use-student-profile-summary-data.js +24 -0
  168. package/dist/features/parent-dashboard/hooks/use-student-profile-summary-data.js.map +1 -0
  169. package/dist/features/parent-dashboard/hooks/use-switch-user-journey.js +71 -0
  170. package/dist/features/parent-dashboard/hooks/use-switch-user-journey.js.map +1 -0
  171. package/dist/features/parent-dashboard/modals/help-and-support/help-and-support.js +40 -0
  172. package/dist/features/parent-dashboard/modals/help-and-support/help-and-support.js.map +1 -0
  173. package/dist/features/parent-dashboard/modals/student-login-info/student-login-info.js +44 -0
  174. package/dist/features/parent-dashboard/modals/student-login-info/student-login-info.js.map +1 -0
  175. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-helpers.js +32 -0
  176. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-helpers.js.map +1 -0
  177. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js +12 -0
  178. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js.map +1 -0
  179. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js +44 -0
  180. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js.map +1 -0
  181. package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js +13 -0
  182. package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js.map +1 -0
  183. package/dist/features/parent-dashboard/modals/trial-report/trial-report.js +28 -0
  184. package/dist/features/parent-dashboard/modals/trial-report/trial-report.js.map +1 -0
  185. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-constants.js +43 -0
  186. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-constants.js.map +1 -0
  187. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js +59 -0
  188. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js.map +1 -0
  189. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change.js +86 -0
  190. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change.js.map +1 -0
  191. package/dist/features/parent-dashboard/parent-dashboard-constants.js +26 -0
  192. package/dist/features/parent-dashboard/parent-dashboard-constants.js.map +1 -0
  193. package/dist/features/parent-dashboard/parent-dashboard-styled.js +33 -0
  194. package/dist/features/parent-dashboard/parent-dashboard-styled.js.map +1 -0
  195. package/dist/features/parent-dashboard/parent-dashboard-types.js +6 -0
  196. package/dist/features/parent-dashboard/parent-dashboard-types.js.map +1 -0
  197. package/dist/features/parent-dashboard/parent-dashboard-view.js +215 -0
  198. package/dist/features/parent-dashboard/parent-dashboard-view.js.map +1 -0
  199. package/dist/features/parent-dashboard/parent-dashboard.js +8 -0
  200. package/dist/features/parent-dashboard/parent-dashboard.js.map +1 -0
  201. package/dist/features/sentry/constants/ignored.js +10 -6
  202. package/dist/features/sentry/constants/ignored.js.map +1 -1
  203. package/dist/features/sheets/constants/sheet.js +23 -10
  204. package/dist/features/sheets/constants/sheet.js.map +1 -1
  205. package/dist/features/sheets/utils/is-v3-worksheet.js +17 -0
  206. package/dist/features/sheets/utils/is-v3-worksheet.js.map +1 -1
  207. package/dist/features/student-details/class-details/class-details-utils.js +6 -6
  208. package/dist/features/trial-session/api/course-stream.js.map +1 -1
  209. package/dist/features/trial-session/comps/about-cuemath/about-cuemath-constants.js +1 -1
  210. package/dist/features/trial-session/comps/about-cuemath/about-cuemath-constants.js.map +1 -1
  211. package/dist/features/trial-session/comps/background-grid/background-grid-utils.js +66 -60
  212. package/dist/features/trial-session/comps/background-grid/background-grid-utils.js.map +1 -1
  213. package/dist/features/trial-session/comps/learning-plan/index.js +62 -88
  214. package/dist/features/trial-session/comps/learning-plan/index.js.map +1 -1
  215. package/dist/features/trial-session/comps/offering-information/offering-information-constants.js +12 -12
  216. package/dist/features/trial-session/comps/offering-information/offering-information-constants.js.map +1 -1
  217. package/dist/features/trial-session/comps/pla/next-steps/next-steps-constants.js +25 -0
  218. package/dist/features/trial-session/comps/pla/next-steps/next-steps-constants.js.map +1 -0
  219. package/dist/features/trial-session/comps/pla/next-steps/next-steps-styled.js +43 -0
  220. package/dist/features/trial-session/comps/pla/next-steps/next-steps-styled.js.map +1 -0
  221. package/dist/features/trial-session/comps/pla/next-steps/next-steps.js +49 -0
  222. package/dist/features/trial-session/comps/pla/next-steps/next-steps.js.map +1 -0
  223. package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-countdown.js +29 -0
  224. package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-countdown.js.map +1 -0
  225. package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-status-config.js +132 -0
  226. package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-status-config.js.map +1 -0
  227. package/dist/features/trial-session/comps/pla/session-status/session-status-constants.js +11 -0
  228. package/dist/features/trial-session/comps/pla/session-status/session-status-constants.js.map +1 -0
  229. package/dist/features/trial-session/comps/pla/session-status/session-status-helpers.js +19 -0
  230. package/dist/features/trial-session/comps/pla/session-status/session-status-helpers.js.map +1 -0
  231. package/dist/features/trial-session/comps/pla/session-status/session-status-styled.js +17 -0
  232. package/dist/features/trial-session/comps/pla/session-status/session-status-styled.js.map +1 -0
  233. package/dist/features/trial-session/comps/pla/session-status/session-status.js +127 -0
  234. package/dist/features/trial-session/comps/pla/session-status/session-status.js.map +1 -0
  235. package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js +53 -0
  236. package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js.map +1 -0
  237. package/dist/features/trial-session/comps/pla/session-summary/session-summary.js +53 -0
  238. package/dist/features/trial-session/comps/pla/session-summary/session-summary.js.map +1 -0
  239. package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card-styled.js +17 -0
  240. package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card-styled.js.map +1 -0
  241. package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js +56 -0
  242. package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js.map +1 -0
  243. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-constants.js +5 -0
  244. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-constants.js.map +1 -0
  245. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-styled.js +17 -0
  246. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-styled.js.map +1 -0
  247. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-types.js +5 -0
  248. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-types.js.map +1 -0
  249. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js +96 -0
  250. package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js.map +1 -0
  251. package/dist/features/trial-session/comps/school-goals/school-goals.js +25 -24
  252. package/dist/features/trial-session/comps/school-goals/school-goals.js.map +1 -1
  253. package/dist/features/trial-session/comps/session-report/report-404/report-404.js +34 -0
  254. package/dist/features/trial-session/comps/session-report/report-404/report-404.js.map +1 -0
  255. package/dist/features/trial-session/comps/session-report/report-information/report-card.js +41 -0
  256. package/dist/features/trial-session/comps/session-report/report-information/report-card.js.map +1 -0
  257. package/dist/features/trial-session/comps/session-report/report-information/report-information-styled.js +39 -0
  258. package/dist/features/trial-session/comps/session-report/report-information/report-information-styled.js.map +1 -0
  259. package/dist/features/trial-session/comps/session-report/report-information/report-information.js +179 -0
  260. package/dist/features/trial-session/comps/session-report/report-information/report-information.js.map +1 -0
  261. package/dist/features/trial-session/comps/session-report/session-report-styled.js +6 -29
  262. package/dist/features/trial-session/comps/session-report/session-report-styled.js.map +1 -1
  263. package/dist/features/trial-session/comps/session-report/session-report.js +44 -174
  264. package/dist/features/trial-session/comps/session-report/session-report.js.map +1 -1
  265. package/dist/features/trial-session/comps/student-personalization/student-personalization-styled.js +20 -5
  266. package/dist/features/trial-session/comps/student-personalization/student-personalization-styled.js.map +1 -1
  267. package/dist/features/trial-session/comps/student-personalization/student-personalization.js +59 -126
  268. package/dist/features/trial-session/comps/student-personalization/student-personalization.js.map +1 -1
  269. package/dist/features/trial-session/comps/student-profile/constant.js +10 -0
  270. package/dist/features/trial-session/comps/student-profile/constant.js.map +1 -0
  271. package/dist/features/trial-session/comps/student-profile/student-profile-highlights/student-profile-highlights.js +53 -0
  272. package/dist/features/trial-session/comps/student-profile/student-profile-highlights/student-profile-highlights.js.map +1 -0
  273. package/dist/features/trial-session/comps/student-profile/student-profile.js +93 -46
  274. package/dist/features/trial-session/comps/student-profile/student-profile.js.map +1 -1
  275. package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-helpers.js +12 -0
  276. package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-helpers.js.map +1 -0
  277. package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js +121 -42
  278. package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js.map +1 -1
  279. package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js +174 -56
  280. package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js.map +1 -1
  281. package/dist/features/trial-session/comps/worksheet/worksheet.js +23 -23
  282. package/dist/features/trial-session/comps/worksheet/worksheet.js.map +1 -1
  283. package/dist/features/trial-session/hooks/use-trial-session-navigation.js +65 -63
  284. package/dist/features/trial-session/hooks/use-trial-session-navigation.js.map +1 -1
  285. package/dist/features/trial-session/left-panel/index.js +1 -1
  286. package/dist/features/trial-session/left-panel/index.js.map +1 -1
  287. package/dist/features/trial-session/right-panel/slide-components-map.js +32 -32
  288. package/dist/features/trial-session/right-panel/slide-components-map.js.map +1 -1
  289. package/dist/features/trial-session/trial-session-constants.js +3 -3
  290. package/dist/features/trial-session/trial-session-constants.js.map +1 -1
  291. package/dist/features/trial-session/trial-session-types.js.map +1 -1
  292. package/dist/features/ui/buttons/icon-button/icon-button.js +32 -29
  293. package/dist/features/ui/buttons/icon-button/icon-button.js.map +1 -1
  294. package/dist/features/ui/constants/z-index.js +5 -3
  295. package/dist/features/ui/constants/z-index.js.map +1 -1
  296. package/dist/features/ui/inputs/base-select-input/select-section/select-section.js +12 -11
  297. package/dist/features/ui/inputs/base-select-input/select-section/select-section.js.map +1 -1
  298. package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list-styled.js +2 -7
  299. package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list-styled.js.map +1 -1
  300. package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list.js +29 -27
  301. package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list.js.map +1 -1
  302. package/dist/features/ui/modals/modal.js +30 -28
  303. package/dist/features/ui/modals/modal.js.map +1 -1
  304. package/dist/features/wins-dashboard/belts-elements-stickers/belts-elements-stickers.js +109 -0
  305. package/dist/features/wins-dashboard/belts-elements-stickers/belts-elements-stickers.js.map +1 -0
  306. package/dist/features/wins-dashboard/belts-elements-stickers/belts.js +95 -0
  307. package/dist/features/wins-dashboard/belts-elements-stickers/belts.js.map +1 -0
  308. package/dist/features/wins-dashboard/belts-elements-stickers/elements.js +184 -0
  309. package/dist/features/wins-dashboard/belts-elements-stickers/elements.js.map +1 -0
  310. package/dist/features/wins-dashboard/belts-elements-stickers/progress-bar-horizontal.js +36 -0
  311. package/dist/features/wins-dashboard/belts-elements-stickers/progress-bar-horizontal.js.map +1 -0
  312. package/dist/features/wins-dashboard/belts-elements-stickers/reward-elements.js +83 -0
  313. package/dist/features/wins-dashboard/belts-elements-stickers/reward-elements.js.map +1 -0
  314. package/dist/features/wins-dashboard/constants.js +161 -0
  315. package/dist/features/wins-dashboard/constants.js.map +1 -0
  316. package/dist/features/wins-dashboard/header/wins-header.js +95 -0
  317. package/dist/features/wins-dashboard/header/wins-header.js.map +1 -0
  318. package/dist/features/wins-dashboard/student-badges/animated-tabbar.js +66 -0
  319. package/dist/features/wins-dashboard/student-badges/animated-tabbar.js.map +1 -0
  320. package/dist/features/wins-dashboard/student-badges/hooks/use-student-badge-list-hook.js +135 -0
  321. package/dist/features/wins-dashboard/student-badges/hooks/use-student-badge-list-hook.js.map +1 -0
  322. package/dist/features/wins-dashboard/student-badges/student-badge.js +168 -0
  323. package/dist/features/wins-dashboard/student-badges/student-badge.js.map +1 -0
  324. package/dist/features/wins-dashboard/student-badges/student-badges-lists.js +137 -0
  325. package/dist/features/wins-dashboard/student-badges/student-badges-lists.js.map +1 -0
  326. package/dist/features/worksheet/worksheet/worksheet-action-bar/worksheet-action-bar.js +86 -90
  327. package/dist/features/worksheet/worksheet/worksheet-action-bar/worksheet-action-bar.js.map +1 -1
  328. package/dist/features/worksheet/worksheet/worksheet-behavior-helper.js +147 -0
  329. package/dist/features/worksheet/worksheet/worksheet-behavior-helper.js.map +1 -0
  330. package/dist/features/worksheet/worksheet/worksheet-container.js +62 -42
  331. package/dist/features/worksheet/worksheet/worksheet-container.js.map +1 -1
  332. package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +197 -199
  333. package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
  334. package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js +228 -300
  335. package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js.map +1 -1
  336. package/dist/features/worksheet/worksheet/worksheet-styled.js +34 -34
  337. package/dist/features/worksheet/worksheet/worksheet-styled.js.map +1 -1
  338. package/dist/features/worksheet/worksheet/worksheet-types.js.map +1 -1
  339. package/dist/features/worksheet/worksheet/worksheet.js +206 -215
  340. package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
  341. package/dist/features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.js +33 -33
  342. package/dist/features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.js.map +1 -1
  343. package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js +30 -28
  344. package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js.map +1 -1
  345. package/dist/features/worksheet/worksheet-preview/worksheet-preview-view.js +69 -73
  346. package/dist/features/worksheet/worksheet-preview/worksheet-preview-view.js.map +1 -1
  347. package/dist/features/worksheet/worksheet-preview/worksheet-preview.js +30 -79
  348. package/dist/features/worksheet/worksheet-preview/worksheet-preview.js.map +1 -1
  349. package/dist/index.d.ts +473 -45
  350. package/dist/index.js +695 -627
  351. package/dist/index.js.map +1 -1
  352. package/dist/node_modules/date-fns/_lib/getRoundingMethod.js +10 -0
  353. package/dist/node_modules/date-fns/_lib/getRoundingMethod.js.map +1 -0
  354. package/dist/node_modules/date-fns/differenceInMilliseconds.js +9 -0
  355. package/dist/node_modules/date-fns/differenceInMilliseconds.js.map +1 -0
  356. package/dist/node_modules/date-fns/differenceInSeconds.js +11 -0
  357. package/dist/node_modules/date-fns/differenceInSeconds.js.map +1 -0
  358. package/dist/node_modules/date-fns/fromUnixTime.js +9 -0
  359. package/dist/node_modules/date-fns/fromUnixTime.js.map +1 -0
  360. package/dist/static/awesome.4239f583.json +1 -0
  361. package/dist/static/black-belt.81b3ebf9.png +0 -0
  362. package/dist/static/blue-belt.508a1b4b.png +0 -0
  363. package/dist/static/{book-checked-green.c275dbd9.svg → book-checked-green.0436b91e.svg} +1 -1
  364. package/dist/static/brown-belt.09bb7e93.png +0 -0
  365. package/dist/static/clapping-hands.17e7ecf0.json +1 -0
  366. package/dist/static/common.9e8ceef1.svg +1 -0
  367. package/dist/static/community-bulb-yellow-2.f89c30f9.svg +1 -0
  368. package/dist/static/cool.cd6921bb.json +1 -0
  369. package/dist/static/epic.37a0265a.svg +1 -0
  370. package/dist/static/error-responsive.9916ff66.json +1 -0
  371. package/dist/static/error.dd744fa5.json +1 -0
  372. package/dist/static/green-belt.5501296f.png +0 -0
  373. package/dist/static/learning-puzzle-bot.6fe93cf6.svg +1 -0
  374. package/dist/static/legendary.f15d09ca.svg +1 -0
  375. package/dist/static/like-button.281a2618.json +1 -0
  376. package/dist/static/mastered-badge.91d25e92.png +0 -0
  377. package/dist/static/mystery.81ada5fb.svg +1 -0
  378. package/dist/static/mythic.58ba0ae0.svg +1 -0
  379. package/dist/static/orange-belt.1fefcc8c.png +0 -0
  380. package/dist/static/personalization.7a6c33e8.svg +1 -0
  381. package/dist/static/personalized-session.b4fd7df8.gif +0 -0
  382. package/dist/static/purple-belt.e15611b4.png +0 -0
  383. package/dist/static/rare.1ffaa311.svg +1 -0
  384. package/dist/static/red-belt.11f841d9.png +0 -0
  385. package/dist/static/regular-practice.b15f24d9.gif +0 -0
  386. package/dist/static/star-strike-emoji.c0b31028.json +1 -0
  387. package/dist/static/stepup.321df6ed.gif +0 -0
  388. package/dist/static/trophy.5ef1853a.json +1 -0
  389. package/dist/static/username-responsive.787b5515.json +1 -0
  390. package/dist/static/username.2c755605.json +1 -0
  391. package/dist/static/white-belt.ea93103e.png +0 -0
  392. package/dist/static/yellow-belt.0c47b8cc.png +0 -0
  393. package/package.json +1 -1
  394. package/dist/features/trial-session/comps/session-report/report-card.js +0 -26
  395. package/dist/features/trial-session/comps/session-report/report-card.js.map +0 -1
  396. package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js +0 -28
  397. package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js.map +0 -1
  398. package/dist/static/error.cbe1ddde.json +0 -1
  399. package/dist/static/username.9e034d51.json +0 -1
@@ -1,149 +1,146 @@
1
- import { jsxs as y, Fragment as lt, jsx as i } from "react/jsx-runtime";
2
- import { memo as dt, forwardRef as mt, useMemo as K, useState as I, useCallback as S, useEffect as T, useLayoutEffect as ut } from "react";
3
- import ht from "../../../assets/line-icons/icons/check2.js";
4
- import ft from "../../../assets/line-icons/icons/info2.js";
5
- import pt from "../../../helpers/get-device-details.js";
6
- import gt from "../../sheet-tools/desmos-calculator/desmos-calculator.js";
7
- import de from "../../ui/layout/flex-view.js";
8
- import bt from "../../ui/text/text.js";
9
- import Ct from "../user-pointer-pin/user-pin.js";
10
- import { WORKSHEET_NUDGE_BANNER_HEIGHT as me, TOP_NAVIGATION_HEIGHT as It, DESMOS_CALC_POSITION as St } from "./constants.js";
11
- import kt from "./hooks/use-create-imperative-handle.js";
12
- import $t from "./hooks/use-get-active-question-id.js";
13
- import Tt from "./hooks/use-time-on-questions.js";
14
- import vt from "./question-tips.js";
15
- import wt from "./worksheet-action-bar/worksheet-action-bar.js";
16
- import Et from "./worksheet-blocker/worksheet-blocker.js";
17
- import { getWorksheetDimensions as Nt, getQuestionsFromItems as At, getInitialResponses as Bt, getLastUnlockedQuestionIndex as ue, getInitialQuestionId as yt, getQuestionMetadata as he, scrollToQuestion as x, getRenderableQuestions as Wt, getWorksheetNudgeBannerInfo as _t } from "./worksheet-helpers.js";
18
- import Ot from "./worksheet-navigation/worksheet-navigation.js";
19
- import Dt from "./worksheet-question/worksheet-question.js";
20
- import Vt from "./worksheet-sidebar/navigator.js";
21
- import Ht from "./worksheet-sidebar/sidebar.js";
22
- import { NudgeBannerWrapper as Mt, NudgeBannerIcon as fe, WorksheetContainer as xt, NavigationContainer as Rt, NavigationWrapper as Pt, BlockerWrapper as Qt, DesmosCalcWrapper as Gt, ActionbarContainer as Ft, ActionbarWrapper as jt, StudentWorksheetSideBar as zt, QuestionsWrapper as Lt } from "./worksheet-styled.js";
23
- import qt from "./worksheet-summary/worksheet-summary.js";
24
- const Xt = (pe, ge) => {
1
+ import { jsxs as y, Fragment as rt, jsx as i } from "react/jsx-runtime";
2
+ import { memo as st, forwardRef as at, useMemo as z, useState as C, useCallback as S, useEffect as T, useLayoutEffect as ct } from "react";
3
+ import dt from "../../../assets/line-icons/icons/check2.js";
4
+ import lt from "../../../assets/line-icons/icons/info2.js";
5
+ import mt from "../../../helpers/get-device-details.js";
6
+ import ut from "../../sheet-tools/desmos-calculator/desmos-calculator.js";
7
+ import ce from "../../ui/layout/flex-view.js";
8
+ import ht from "../../ui/text/text.js";
9
+ import ft from "../user-pointer-pin/user-pin.js";
10
+ import { WORKSHEET_NUDGE_BANNER_HEIGHT as de, TOP_NAVIGATION_HEIGHT as pt, DESMOS_CALC_POSITION as gt } from "./constants.js";
11
+ import bt from "./hooks/use-create-imperative-handle.js";
12
+ import It from "./hooks/use-get-active-question-id.js";
13
+ import Ct from "./hooks/use-time-on-questions.js";
14
+ import St from "./question-tips.js";
15
+ import kt from "./worksheet-action-bar/worksheet-action-bar.js";
16
+ import $t from "./worksheet-blocker/worksheet-blocker.js";
17
+ import { getWorksheetDimensions as Tt, getQuestionsFromItems as vt, getInitialResponses as Et, getLastUnlockedQuestionIndex as le, getInitialQuestionId as wt, getQuestionMetadata as me, scrollToQuestion as x, getRenderableQuestions as Nt, getWorksheetNudgeBannerInfo as Bt } from "./worksheet-helpers.js";
18
+ import At from "./worksheet-navigation/worksheet-navigation.js";
19
+ import yt from "./worksheet-question/worksheet-question.js";
20
+ import Wt from "./worksheet-sidebar/navigator.js";
21
+ import _t from "./worksheet-sidebar/sidebar.js";
22
+ import { NudgeBannerWrapper as Ot, NudgeBannerIcon as ue, WorksheetContainer as Dt, NavigationContainer as Vt, NavigationWrapper as Ht, BlockerWrapper as Mt, DesmosCalcWrapper as xt, ActionbarContainer as Rt, ActionbarWrapper as Pt, StudentWorksheetSideBar as Qt, QuestionsWrapper as Gt } from "./worksheet-styled.js";
23
+ import Ft from "./worksheet-summary/worksheet-summary.js";
24
+ const jt = (he, fe) => {
25
25
  const {
26
26
  userType: r,
27
- studentName: be = "Student",
28
- questionsSignedRequest: Ce,
29
- worksheetName: U,
30
- initialResponseId: Ie,
31
- initialItemIndex: Se,
27
+ studentName: pe = "Student",
28
+ questionsSignedRequest: ge,
29
+ worksheetName: J,
30
+ initialResponseId: be,
31
+ initialItemIndex: Ie,
32
32
  // learnosityActivityRef,
33
33
  learnosityItems: R,
34
- learnosityResponses: ke,
34
+ learnosityResponses: Ce,
35
35
  layout: k,
36
- background: $e,
37
36
  behavior: a,
38
37
  updatedResponses: P,
39
- showNudgeBanner: Te,
40
- markedAsCompleted: J,
38
+ showNudgeBanner: Se,
39
+ markedAsCompleted: U,
41
40
  onResponseChange: f,
42
- onBulkResponsesChange: ve,
41
+ onBulkResponsesChange: ke,
43
42
  onResponsesChange: Q,
44
43
  onMediaStateChange: G,
45
44
  onTeacherValidation: Y,
46
- onOptionalItemAssignment: we,
47
- onOptionalItemSkip: Ee,
45
+ onOptionalItemAssignment: $e,
46
+ onOptionalItemSkip: Te,
48
47
  onExitTicketStart: W,
49
48
  onExitTicketSubmit: _,
50
- onSubmit: Ne,
49
+ onSubmit: ve,
51
50
  learnosity: p,
52
51
  appendedQuestionIds: Z,
53
- worksheetCompleted: Ae,
54
- userId: Be,
55
- onPublishStrokes: ye,
56
- onReceiveStrokes: We,
57
- initialStrokesData: _e,
58
- isCanvasEnabled: ee,
59
- onHelp: Oe,
60
- onPublishMouseMove: De,
61
- onSubscribeMouseMove: Ve,
52
+ worksheetCompleted: Ee,
53
+ userId: we,
54
+ onPublishStrokes: Ne,
55
+ onReceiveStrokes: Be,
56
+ initialStrokesData: Ae,
57
+ onHelp: ye,
58
+ onPublishMouseMove: We,
59
+ onSubscribeMouseMove: _e,
62
60
  onActiveQuestionChange: F,
63
- openQuestionFeedbackModal: He,
64
- summaryDescription: Me,
65
- canSubmitWorksheet: xe,
61
+ openQuestionFeedbackModal: Oe,
62
+ summaryDescription: De,
63
+ canSubmitWorksheet: Ve,
66
64
  loggerRef: j,
67
- canResolveDoubt: Re,
68
- onResolveDoubt: Pe,
69
- onSkip: Qe,
70
- onUnassign: Ge,
71
- onReview: Fe,
72
- canToggleScribbling: je = !0,
73
- studentId: ze,
74
- subjectiveProps: Le,
75
- canShowActionBar: qe = !0
76
- } = pe, { initialQuestion: Xe, navigationMode: m, teacherValidationEnabled: Ke, maximumAttempts: te } = a, {
65
+ canResolveDoubt: He,
66
+ onResolveDoubt: Me,
67
+ onSkip: xe,
68
+ studentId: Re,
69
+ subjectiveProps: Pe,
70
+ canShowActionBar: Qe = !0,
71
+ actionBarRightElement: Ge
72
+ } = he, { initialQuestion: Fe, navigationMode: m, teacherValidationEnabled: je, maximumAttempts: ee } = a, {
77
73
  containerStyle: O,
78
- containerWidth: Ue,
79
- minQuestionHeight: ie,
80
- minSummaryHeight: Je,
74
+ containerWidth: qe,
75
+ minQuestionHeight: te,
76
+ minSummaryHeight: Le,
81
77
  questionsScrollable: D,
82
- navigationBar: Ye,
78
+ navigationBar: Xe,
83
79
  topOffset: V,
84
- renderSideBar: Ze,
85
- showUserPointer: et = !0
86
- } = k, ne = te === -2, { actionbarHeight: g, maxQuestionWidth: z, questionsContainerWidth: L } = K(
87
- () => Nt(R, k),
80
+ renderSideBar: Ke,
81
+ showUserPointer: ze = !0,
82
+ questionPadding: Je
83
+ } = k, { actionbarHeight: g, maxQuestionWidth: q, questionsContainerWidth: L } = z(
84
+ () => Tt(R, k),
88
85
  [k, R]
89
- ), [t] = I(
90
- () => At(R, {
91
- sectioned: Ke && m !== "ADAPTIVE" && m !== "CURRENT",
86
+ ), [t] = C(
87
+ () => vt(R, {
88
+ sectioned: je && m !== "ADAPTIVE" && m !== "CURRENT",
92
89
  adaptive: m === "ADAPTIVE"
93
90
  })
94
- ), [c, v] = I(
95
- () => ke ?? Bt(t)
96
- ), [oe, tt] = I(!1), u = K(
97
- () => m !== "OPEN" ? ue({
91
+ ), [c, v] = C(
92
+ () => Ce ?? Et(t)
93
+ ), [ie, Ue] = C(!1), u = z(
94
+ () => m !== "OPEN" ? le({
98
95
  questions: t,
99
96
  responses: c,
100
97
  behavior: a,
101
98
  userType: r
102
99
  }) : t.length - 1,
103
100
  [a, m, t, c, r]
104
- ), l = t[u], n = c[(l == null ? void 0 : l.response_id) ?? ""], { bannerBackgroundColor: it, label: nt } = _t(r, !!J), [w] = I(
105
- () => yt({
101
+ ), d = t[u], n = c[(d == null ? void 0 : d.response_id) ?? ""], { bannerBackgroundColor: Ye, label: Ze } = Bt(r, !!U), [E] = C(
102
+ () => wt({
106
103
  questions: t,
107
- initialQuestion: Xe,
108
- lastUnlockedQuestionIndex: ue({
104
+ initialQuestion: Fe,
105
+ lastUnlockedQuestionIndex: le({
109
106
  questions: t,
110
107
  responses: c,
111
108
  behavior: a,
112
109
  userType: r
113
110
  }),
114
- initialResponseId: Ie,
115
- initialItemIndex: Se
111
+ initialResponseId: be,
112
+ initialItemIndex: Ie
116
113
  })
117
- ), { activeQuestionId: E, setActiveQuestionId: H, intersectionObserver: q } = $t(w), d = K(
118
- () => t.findIndex((e) => e.response_id === E),
119
- [E, t]
120
- ), [h, X] = I(!1), [re, N] = I(), [se, ae] = I(!1), ce = Tt(a, c, E), ot = S(
114
+ ), { activeQuestionId: w, setActiveQuestionId: H, intersectionObserver: X } = It(E), l = z(
115
+ () => t.findIndex((e) => e.response_id === w),
116
+ [w, t]
117
+ ), [h, K] = C(!1), [ne, N] = C(), [oe, re] = C(!1), se = Ct(a, c, w), et = S(
121
118
  (e, s, o) => {
122
119
  const b = s === "SIMULATION" ? "simState" : void 0;
123
120
  b && (f ? v(($) => {
124
- const C = e.response_id, B = he(t, C);
125
- if (!B) return $;
126
- const le = {
127
- ...B,
128
- ...$[C],
121
+ const I = e.response_id, A = me(t, I);
122
+ if (!A) return $;
123
+ const ae = {
124
+ ...A,
125
+ ...$[I],
129
126
  [b]: o
130
127
  };
131
128
  return f == null || f({
132
- responseId: C,
133
- response: le,
129
+ responseId: I,
130
+ response: ae,
134
131
  isNewAttempt: !1,
135
132
  question: e
136
133
  }), {
137
134
  ...$,
138
- [C]: le
135
+ [I]: ae
139
136
  };
140
137
  }) : G && G(e, s, o));
141
138
  },
142
139
  [G, f, t]
143
- ), rt = S(
140
+ ), tt = S(
144
141
  (e, s) => {
145
142
  v((o) => {
146
- const b = he(t, e);
143
+ const b = me(t, e);
147
144
  return b ? {
148
145
  ...o,
149
146
  [e]: {
@@ -155,7 +152,7 @@ const Xt = (pe, ge) => {
155
152
  });
156
153
  },
157
154
  [t]
158
- ), A = S(() => {
155
+ ), B = S(() => {
159
156
  N((e) => {
160
157
  var s;
161
158
  if (e) {
@@ -167,91 +164,91 @@ const Xt = (pe, ge) => {
167
164
  });
168
165
  }, [u, t]), M = S(
169
166
  (e) => {
170
- X(!1), D ? requestAnimationFrame(() => x(e)) : H(e);
167
+ K(!1), D ? requestAnimationFrame(() => x(e)) : H(e);
171
168
  },
172
169
  [D, H]
173
- ), st = S(() => {
174
- ae(!1);
175
- }, []), at = S(() => {
176
- ae(!0);
177
- }, []), ct = S(() => {
178
- X(!0);
170
+ ), it = S(() => {
171
+ re(!1);
172
+ }, []), nt = S(() => {
173
+ re(!0);
174
+ }, []), ot = S(() => {
175
+ K(!0);
179
176
  }, []);
180
177
  return T(() => {
181
- const e = t[d];
178
+ const e = t[l];
182
179
  e && F && F(e);
183
- }, [F, t, d]), kt(ge, {
180
+ }, [F, t, l]), bt(fe, {
184
181
  behavior: a,
185
182
  questions: t,
186
183
  setResponses: v,
187
184
  onResponseChange: f,
188
- onBulkResponsesChange: ve,
189
- getTimeSpentOnQuestion: ce
185
+ onBulkResponsesChange: ke,
186
+ getTimeSpentOnQuestion: se
190
187
  }), T(() => () => {
191
- q.disconnect();
192
- }, [q]), T(() => {
188
+ X.disconnect();
189
+ }, [X]), T(() => {
193
190
  Q && c && Q(c);
194
191
  }, [Q, c]), T(() => {
195
192
  P && v(P);
196
- }, [P]), ut(() => {
193
+ }, [P]), ct(() => {
197
194
  let e;
198
- return p && w && (pt().browser_name === "Safari" ? e = setTimeout(() => {
199
- x(w);
200
- }, 400) : x(w)), () => {
195
+ return p && E && (mt().browser_name === "Safari" ? e = setTimeout(() => {
196
+ x(E);
197
+ }, 400) : x(E)), () => {
201
198
  clearTimeout(e);
202
199
  };
203
- }, [p, w, V]), T(() => {
204
- if (a.teacherValidationEnabled && l) {
205
- const { item_type: e, instructor_stimulus: s, is_optional: o } = l;
206
- r === "TEACHER" && (e === "exit-ticket" && s !== "SystemIntro" ? n != null && n.submittedByStudent && !(n != null && n.validatedByTeacher) ? N("exit-ticket-review-available") : n != null && n.validatedByTeacher ? A() : N("exit-ticket-teacher-intervention") : o ? n != null && n.assignStatus ? A() : N("optional-items-assignment") : o || A());
200
+ }, [p, E, V]), T(() => {
201
+ if (a.teacherValidationEnabled && d) {
202
+ const { item_type: e, instructor_stimulus: s, is_optional: o } = d;
203
+ r === "TEACHER" && (e === "exit-ticket" && s !== "SystemIntro" ? n != null && n.submittedByStudent && !(n != null && n.validatedByTeacher) ? N("exit-ticket-review-available") : n != null && n.validatedByTeacher ? B() : N("exit-ticket-teacher-intervention") : o ? n != null && n.assignStatus ? B() : N("optional-items-assignment") : o || B());
207
204
  }
208
205
  }, [
209
206
  a.teacherValidationEnabled,
210
- A,
211
- l,
207
+ B,
208
+ d,
212
209
  n,
213
210
  r
214
211
  ]), T(() => {
215
- if (a.teacherValidationEnabled && l) {
216
- const { item_type: e, instructor_stimulus: s } = l;
212
+ if (a.teacherValidationEnabled && d) {
213
+ const { item_type: e, instructor_stimulus: s } = d;
217
214
  r === "STUDENT" && e === "exit-ticket" && s !== "SystemIntro" && (n != null && n.submittedByStudent ? _ == null || _() : W == null || W());
218
215
  }
219
216
  }, [
220
217
  a.teacherValidationEnabled,
221
- l,
218
+ d,
222
219
  n == null ? void 0 : n.submittedByStudent,
223
220
  W,
224
221
  _,
225
222
  r
226
- ]), p ? /* @__PURE__ */ y(lt, { children: [
227
- Te && /* @__PURE__ */ y(
228
- Mt,
223
+ ]), p ? /* @__PURE__ */ y(rt, { children: [
224
+ Se && /* @__PURE__ */ y(
225
+ Ot,
229
226
  {
230
227
  $flexDirection: "row",
231
228
  $justifyContent: "center",
232
229
  $alignItems: "center",
233
230
  $width: "100%",
234
231
  $heightX: 1.75,
235
- $height: me,
232
+ $height: de,
236
233
  $gap: 8,
237
234
  $gutter: 8,
238
235
  $flexGap: 8,
239
- $background: it,
240
- $topOffset: k.topOffset - me,
236
+ $background: Ye,
237
+ $topOffset: k.topOffset - de,
241
238
  children: [
242
- J ? /* @__PURE__ */ i(fe, { children: /* @__PURE__ */ i(ht, { width: 16, height: 16 }) }) : /* @__PURE__ */ i(fe, { children: /* @__PURE__ */ i(ft, { width: 16, height: 16 }) }),
243
- /* @__PURE__ */ i(bt, { $renderAs: "ub3", children: nt })
239
+ U ? /* @__PURE__ */ i(ue, { children: /* @__PURE__ */ i(dt, { width: 16, height: 16 }) }) : /* @__PURE__ */ i(ue, { children: /* @__PURE__ */ i(lt, { width: 16, height: 16 }) }),
240
+ /* @__PURE__ */ i(ht, { $renderAs: "ub3", children: Ze })
244
241
  ]
245
242
  }
246
243
  ),
247
- /* @__PURE__ */ y(xt, { $background: "WHITE_1", $width: Ue, children: [
248
- Ye === "top" && /* @__PURE__ */ i(Rt, { $topOffset: V, $height: It, children: /* @__PURE__ */ i(Pt, { children: /* @__PURE__ */ i(
249
- Ot,
244
+ /* @__PURE__ */ y(Dt, { $background: "WHITE_1", $width: qe, children: [
245
+ Xe === "top" && /* @__PURE__ */ i(Vt, { $topOffset: V, $height: pt, children: /* @__PURE__ */ i(Ht, { children: /* @__PURE__ */ i(
246
+ At,
250
247
  {
251
248
  placement: "top",
252
249
  questions: t,
253
250
  responses: c,
254
- activeQuestionIndex: d,
251
+ activeQuestionIndex: l,
255
252
  lastUnlockedQuestionIndex: u,
256
253
  behavior: a,
257
254
  onItemNumberClick: M,
@@ -259,22 +256,22 @@ const Xt = (pe, ge) => {
259
256
  summaryVisible: h
260
257
  }
261
258
  ) }) }),
262
- re && l && /* @__PURE__ */ i(Qt, { $minHeight: ie, $topOffset: V, children: /* @__PURE__ */ i(de, { $width: z, $justifyContent: "center", $alignItems: "center", children: /* @__PURE__ */ i(
263
- Et,
259
+ ne && d && /* @__PURE__ */ i(Mt, { $minHeight: te, $topOffset: V, children: /* @__PURE__ */ i(ce, { $width: q, $justifyContent: "center", $alignItems: "center", children: /* @__PURE__ */ i(
260
+ $t,
264
261
  {
265
- blocker: re,
266
- lastUnlockedQuestion: l,
267
- studentName: be,
268
- onBlockerClose: A,
269
- onOptionalItemAssignment: we,
270
- onOptionalItemSkip: Ee,
262
+ blocker: ne,
263
+ lastUnlockedQuestion: d,
264
+ studentName: pe,
265
+ onBlockerClose: B,
266
+ onOptionalItemAssignment: $e,
267
+ onOptionalItemSkip: Te,
271
268
  onTeacherValidation: Y
272
269
  }
273
270
  ) }) }),
274
- et && /* @__PURE__ */ i(
275
- Ct,
271
+ ze && /* @__PURE__ */ i(
272
+ ft,
276
273
  {
277
- activeQuestionIndex: d,
274
+ activeQuestionIndex: l,
278
275
  onClick: M,
279
276
  questions: t,
280
277
  bottomOffset: g,
@@ -282,32 +279,31 @@ const Xt = (pe, ge) => {
282
279
  userType: r
283
280
  }
284
281
  ),
285
- se && /* @__PURE__ */ i(Gt, { children: /* @__PURE__ */ i(gt, { initialPosition: St, onClose: st }) }),
282
+ oe && /* @__PURE__ */ i(xt, { children: /* @__PURE__ */ i(ut, { initialPosition: gt, onClose: it }) }),
286
283
  /* @__PURE__ */ y(
287
- Ft,
284
+ Rt,
288
285
  {
289
286
  $marginTop: r === "TEACHER" && h ? "0" : g,
290
287
  $height: g,
291
288
  $isCardView: O === "card",
292
- $isPuzzleCard: ne,
293
289
  children: [
294
- te !== -2 && /* @__PURE__ */ i(
295
- vt,
290
+ ee !== -2 && /* @__PURE__ */ i(
291
+ St,
296
292
  {
297
293
  width: L - 32,
298
- question: t[d],
294
+ question: t[l],
299
295
  learnosity: p,
300
296
  userType: r
301
297
  }
302
298
  ),
303
- qe && /* @__PURE__ */ i(
304
- jt,
299
+ Qe && /* @__PURE__ */ i(
300
+ Pt,
305
301
  {
306
302
  $height: g,
307
- $width: O === "card" ? L - 32 : "100%",
303
+ $width: O === "card" || ee === -2 ? L - 32 : "100%",
308
304
  $isCardView: O === "card",
309
305
  children: /* @__PURE__ */ i(
310
- de,
306
+ ce,
311
307
  {
312
308
  $gutterX: 1,
313
309
  $flexDirection: "row",
@@ -315,97 +311,92 @@ const Xt = (pe, ge) => {
315
311
  $alignItems: "center",
316
312
  $width: L - 32,
317
313
  children: /* @__PURE__ */ i(
318
- wt,
314
+ kt,
319
315
  {
320
316
  userType: r,
321
317
  layout: k,
322
318
  behavior: a,
323
- worksheetName: U,
319
+ worksheetName: J,
324
320
  questions: t,
325
321
  responses: c,
326
- onCalculatorOpen: at,
327
- activeQuestionIndex: d,
322
+ onCalculatorOpen: nt,
323
+ activeQuestionIndex: l,
328
324
  lastUnlockedQuestionIndex: u,
329
325
  appendedQuestionIds: Z,
330
326
  learnosity: p,
331
- isCanvasEnabled: ee,
332
- canSubmitWorksheet: xe,
333
- isScribblingEnabled: oe,
327
+ canSubmitWorksheet: Ve,
328
+ isScribblingEnabled: ie,
334
329
  isSummaryVisible: h,
335
330
  setResponses: v,
336
- getTimeSpentOnQuestion: ce,
337
- setSummaryVisible: X,
331
+ getTimeSpentOnQuestion: se,
332
+ setSummaryVisible: K,
338
333
  setBlocker: N,
339
- setIsScribblingEnabled: tt,
334
+ setIsScribblingEnabled: Ue,
340
335
  setActiveQuestionId: H,
341
336
  onItemNumberClick: M,
342
- onGoToReview: ct,
337
+ onGoToReview: ot,
343
338
  onResponseChange: f,
344
- onHelp: Oe,
339
+ onHelp: ye,
345
340
  onTeacherValidation: Y,
346
- onSubmit: Ne,
347
- showCalculator: se,
341
+ onSubmit: ve,
342
+ showCalculator: oe,
348
343
  loggerRef: j,
349
- onSkip: Qe,
350
- onUnassign: Ge,
351
- onReview: Fe,
352
- canToggleScribbling: je
344
+ onSkip: xe,
345
+ actionBarRightElement: Ge
353
346
  }
354
347
  )
355
348
  }
356
349
  )
357
350
  }
358
351
  ),
359
- !h && D && r === "STUDENT" && /* @__PURE__ */ i(zt, { children: /* @__PURE__ */ i(Vt, {}) })
352
+ !h && D && r === "STUDENT" && /* @__PURE__ */ i(Qt, { children: /* @__PURE__ */ i(Wt, {}) })
360
353
  ]
361
354
  }
362
355
  ),
363
356
  /* @__PURE__ */ y(
364
- Lt,
357
+ Gt,
365
358
  {
366
359
  $actionbarHeight: g,
367
360
  $isCardView: O === "card",
368
- $isPuzzleCard: ne,
361
+ $questionPadding: Je,
369
362
  children: [
370
- Wt({ questions: t, lastUnlockedQuestionIndex: u, userType: r }).map(
363
+ Nt({ questions: t, lastUnlockedQuestionIndex: u, userType: r }).map(
371
364
  (e, s) => {
372
- var C, B;
373
- const { response_id: o, is_optional: b } = e, $ = (C = c[o]) == null ? void 0 : C.assignStatus;
365
+ var I, A;
366
+ const { response_id: o, is_optional: b } = e, $ = (I = c[o]) == null ? void 0 : I.assignStatus;
374
367
  return a.teacherValidationEnabled && ($ === "skipped" || b && $ !== "assigned" && r === "STUDENT") ? null : /* @__PURE__ */ i(
375
- Dt,
368
+ yt,
376
369
  {
377
- signedRequest: Ce,
370
+ signedRequest: ge,
378
371
  userType: r,
379
- worksheetCompleted: Ae,
372
+ worksheetCompleted: Ee,
380
373
  question: e,
381
374
  response: c[o],
382
- nextQuestionId: m === "ADAPTIVE" || m === "CURRENT" ? l == null ? void 0 : l.response_id : s < u ? (B = t[s + 1]) == null ? void 0 : B.response_id : void 0,
383
- maxQuestionWidth: z,
375
+ nextQuestionId: m === "ADAPTIVE" || m === "CURRENT" ? d == null ? void 0 : d.response_id : s < u ? (A = t[s + 1]) == null ? void 0 : A.response_id : void 0,
376
+ maxQuestionWidth: q,
384
377
  learnosity: p,
385
- isActive: o === E,
386
- isHidden: !D && o !== E || h,
387
- canRender: d > -1 && (s === d || m !== "CURRENT" && s === d + 1),
388
- background: $e,
378
+ isActive: o === w,
379
+ isHidden: !D && o !== w || h,
380
+ canRender: l > -1 && (s === l || m !== "CURRENT" && s === l + 1),
389
381
  appended: Z.includes(o),
390
382
  behavior: a,
391
383
  layout: k,
392
384
  actionbarHeight: g,
393
- intersectionObserver: q,
394
- onMarkForReview: rt,
395
- onMediaStateChange: ot,
396
- userId: Be,
397
- isScribblingEnabled: oe,
398
- onPublishStrokes: ye,
399
- onReceiveStrokes: We,
400
- initialStrokesData: _e,
401
- isCanvasEnabled: ee,
402
- onPublishMouseMove: De,
403
- onSubscribeMouseMove: Ve,
385
+ intersectionObserver: X,
386
+ onMarkForReview: tt,
387
+ onMediaStateChange: et,
388
+ userId: we,
389
+ isScribblingEnabled: ie,
390
+ onPublishStrokes: Ne,
391
+ onReceiveStrokes: Be,
392
+ initialStrokesData: Ae,
393
+ onPublishMouseMove: We,
394
+ onSubscribeMouseMove: _e,
404
395
  setActiveQuestionId: H,
405
- canResolveDoubt: Re,
406
- onResolveDoubt: Pe,
407
- studentId: ze,
408
- subjectiveProps: Le,
396
+ canResolveDoubt: He,
397
+ onResolveDoubt: Me,
398
+ studentId: Re,
399
+ subjectiveProps: Pe,
409
400
  responses: c,
410
401
  loggerRef: j
411
402
  },
@@ -414,41 +405,41 @@ const Xt = (pe, ge) => {
414
405
  }
415
406
  ),
416
407
  h && /* @__PURE__ */ i(
417
- qt,
408
+ Ft,
418
409
  {
419
- worksheetName: U,
410
+ worksheetName: J,
420
411
  questions: t,
421
412
  responses: c,
422
- activeQuestionIndex: d,
413
+ activeQuestionIndex: l,
423
414
  lastUnlockedQuestionIndex: u,
424
415
  onItemNumberClick: M,
425
416
  behavior: a,
426
- minHeight: Je,
427
- summaryDescription: Me,
417
+ minHeight: Le,
418
+ summaryDescription: De,
428
419
  summaryVisible: h
429
420
  }
430
421
  )
431
422
  ]
432
423
  }
433
424
  ),
434
- !h && Ze && /* @__PURE__ */ i(
435
- Ht,
425
+ !h && Ke && /* @__PURE__ */ i(
426
+ _t,
436
427
  {
437
- questionWidth: z,
428
+ questionWidth: q,
438
429
  questions: t,
439
- activeQuestionIndex: d,
430
+ activeQuestionIndex: l,
440
431
  learnosity: p,
441
432
  userType: r,
442
- height: ie,
433
+ height: te,
443
434
  actionbarHeight: g,
444
- openQuestionFeedbackModal: He,
435
+ openQuestionFeedbackModal: Oe,
445
436
  loggerRef: j
446
437
  }
447
438
  )
448
439
  ] })
449
440
  ] }) : null;
450
- }, Ci = dt(mt(Xt));
441
+ }, fi = st(at(jt));
451
442
  export {
452
- Ci as default
443
+ fi as default
453
444
  };
454
445
  //# sourceMappingURL=worksheet.js.map