@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.
- package/dist/assets/gif/gif.js +3 -0
- package/dist/assets/gif/gif.js.map +1 -1
- package/dist/assets/illustrations/illustrations.js +10 -1
- package/dist/assets/illustrations/illustrations.js.map +1 -1
- package/dist/assets/images/images.js +10 -0
- package/dist/assets/images/images.js.map +1 -1
- package/dist/assets/line-icons/icons/cue-coin.js +182 -0
- package/dist/assets/line-icons/icons/cue-coin.js.map +1 -0
- package/dist/assets/line-icons/icons/wins-common-icon.js +26 -0
- package/dist/assets/line-icons/icons/wins-common-icon.js.map +1 -0
- package/dist/assets/line-icons/icons/wins-epic-icon.js +25 -0
- package/dist/assets/line-icons/icons/wins-epic-icon.js.map +1 -0
- package/dist/assets/line-icons/icons/wins-legendary-icon.js +25 -0
- package/dist/assets/line-icons/icons/wins-legendary-icon.js.map +1 -0
- package/dist/assets/line-icons/icons/wins-mystery-icon.js +105 -0
- package/dist/assets/line-icons/icons/wins-mystery-icon.js.map +1 -0
- package/dist/assets/line-icons/icons/wins-mythic-icon.js +28 -0
- package/dist/assets/line-icons/icons/wins-mythic-icon.js.map +1 -0
- package/dist/assets/line-icons/icons/wins-rare-icon.js +28 -0
- package/dist/assets/line-icons/icons/wins-rare-icon.js.map +1 -0
- package/dist/assets/lottie/lottie.js +10 -3
- package/dist/assets/lottie/lottie.js.map +1 -1
- package/dist/constants/config.js +5 -0
- package/dist/constants/config.js.map +1 -0
- package/dist/constants/country.js +9 -0
- package/dist/constants/country.js.map +1 -1
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +6 -6
- package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +4 -4
- package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +1 -1
- package/dist/features/auth/comps/otp-input/otp-input.js +19 -18
- package/dist/features/auth/comps/otp-input/otp-input.js.map +1 -1
- package/dist/features/auth/comps/pill-button/pill-button-styled.js +17 -17
- package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +1 -1
- package/dist/features/auth/comps/pill-button/pill-button.js +26 -24
- package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -1
- package/dist/features/auth/comps/user-list/user-item/user-item.js +32 -30
- package/dist/features/auth/comps/user-list/user-item/user-item.js.map +1 -1
- package/dist/features/auth/comps/user-list/user-list.js +20 -19
- package/dist/features/auth/comps/user-list/user-list.js.map +1 -1
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js +9 -9
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-constants.js.map +1 -1
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js +58 -29
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide-styled.js.map +1 -1
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js +78 -41
- package/dist/features/auth/pla-signup/onboarding-guide/onboarding-guide.js.map +1 -1
- package/dist/features/auth/pla-signup/pla-analytics-events.js +5 -4
- package/dist/features/auth/pla-signup/pla-analytics-events.js.map +1 -1
- package/dist/features/auth/pla-signup/signup-header/signup-header.js +1 -1
- package/dist/features/auth/pla-signup/signup-header/signup-header.js.map +1 -1
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +37 -35
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +1 -1
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +75 -70
- package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -1
- package/dist/features/auth/signup/custom-input-field/custom-input-field.js +55 -50
- package/dist/features/auth/signup/custom-input-field/custom-input-field.js.map +1 -1
- package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js +47 -25
- package/dist/features/auth/signup/custom-input-field/input-wrapper/input-wrapper.js.map +1 -1
- package/dist/features/auth/signup-unavailable/signup-unavailable-styled.js +16 -0
- package/dist/features/auth/signup-unavailable/signup-unavailable-styled.js.map +1 -0
- package/dist/features/auth/signup-unavailable/signup-unavailable-view.js +62 -0
- package/dist/features/auth/signup-unavailable/signup-unavailable-view.js.map +1 -0
- package/dist/features/auth/signup-unavailable/signup-unavailable.js +17 -0
- package/dist/features/auth/signup-unavailable/signup-unavailable.js.map +1 -0
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/question-overview.js +19 -18
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/question-overview.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary-styled.js +7 -7
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary-styled.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary.js +26 -24
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/sat-sheet-summary.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/summary-module.js +15 -13
- package/dist/features/chapters/lpar-chapter/block-section/sat-sheet-item/sat-sheet-summary/summary-module.js.map +1 -1
- package/dist/features/chapters/lpar-chapter/constants/index.js.map +1 -1
- package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js +130 -69
- package/dist/features/chapters-v2/chapter-details/block-sections/block-section-view.js.map +1 -1
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +43 -33
- package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -1
- package/dist/features/chapters-v2/chapter-details/chapter-details.js +137 -95
- package/dist/features/chapters-v2/chapter-details/chapter-details.js.map +1 -1
- package/dist/features/chapters-v2/comps/node-card/node-card-styled.js +36 -31
- package/dist/features/chapters-v2/comps/node-card/node-card-styled.js.map +1 -1
- package/dist/features/chapters-v2/comps/sat-mock-test/sat-mock-test-styled.js +22 -0
- package/dist/features/chapters-v2/comps/sat-mock-test/sat-mock-test-styled.js.map +1 -0
- package/dist/features/chapters-v2/comps/sat-mock-test/sat-mock-test.js +141 -0
- package/dist/features/chapters-v2/comps/sat-mock-test/sat-mock-test.js.map +1 -0
- package/dist/features/chapters-v2/constants/block-constants.js +7 -5
- package/dist/features/chapters-v2/constants/block-constants.js.map +1 -1
- package/dist/features/chapters-v2/utils/index.js +22 -12
- package/dist/features/chapters-v2/utils/index.js.map +1 -1
- package/dist/features/chapters-v2/utils/sat-sheet-utils.js +12 -0
- package/dist/features/chapters-v2/utils/sat-sheet-utils.js.map +1 -0
- package/dist/features/circle-games/games/web-view/web-view.js +0 -1
- package/dist/features/circle-games/games/web-view/web-view.js.map +1 -1
- package/dist/features/journey/hooks/use-chapter-page-journey/use-download-block-journey.js +86 -0
- package/dist/features/journey/hooks/use-chapter-page-journey/use-download-block-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-chapter-page-journey/use-download-node-journey.js +140 -0
- package/dist/features/journey/hooks/use-chapter-page-journey/use-download-node-journey.js.map +1 -0
- package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js +8 -4
- package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js.map +1 -1
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js +23 -29
- package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js.map +1 -1
- package/dist/features/journey/journey-id/journey-id-student.js +1 -1
- package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
- package/dist/features/journey/journey-id/journey-id-teacher.js +2 -2
- package/dist/features/journey/journey-id/journey-id-teacher.js.map +1 -1
- package/dist/features/journey/mocks/chapter-page-journey-mock-data.js +400 -0
- package/dist/features/journey/mocks/chapter-page-journey-mock-data.js.map +1 -1
- package/dist/features/milestone/constants.js +13 -10
- package/dist/features/milestone/constants.js.map +1 -1
- package/dist/features/milestone/create/comps/add-custom-chapter/add-custom-chapter.js +42 -40
- package/dist/features/milestone/create/comps/add-custom-chapter/add-custom-chapter.js.map +1 -1
- package/dist/features/milestone/create/comps/add-custom-chapter/course-catalog.js +70 -64
- package/dist/features/milestone/create/comps/add-custom-chapter/course-catalog.js.map +1 -1
- package/dist/features/milestone/create/comps/add-custom-chapter/hooks/use-catalog-helpers.js +54 -29
- package/dist/features/milestone/create/comps/add-custom-chapter/hooks/use-catalog-helpers.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapter-category/chapter-category-container.js +48 -28
- package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapter-category/chapter-category-container.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js +79 -76
- package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
- package/dist/features/milestone/create/comps/chapters-selection-step/utils.js +97 -94
- package/dist/features/milestone/create/comps/chapters-selection-step/utils.js.map +1 -1
- package/dist/features/milestone/create/comps/class-details-step/class-details-step.js +160 -143
- package/dist/features/milestone/create/comps/class-details-step/class-details-step.js.map +1 -1
- package/dist/features/milestone/create/comps/class-details-step/class-details-utils.js +22 -12
- package/dist/features/milestone/create/comps/class-details-step/class-details-utils.js.map +1 -1
- package/dist/features/milestone/create/comps/goal-completion-date-selector/goal-completion-date-selector.js +6 -6
- package/dist/features/milestone/create/comps/test-type-step/test-type-step.js +64 -59
- package/dist/features/milestone/create/comps/test-type-step/test-type-step.js.map +1 -1
- package/dist/features/milestone/create/milestone-create-container.js +17 -15
- package/dist/features/milestone/create/milestone-create-container.js.map +1 -1
- package/dist/features/milestone/create/milestone-create-helpers.js +170 -153
- package/dist/features/milestone/create/milestone-create-helpers.js.map +1 -1
- package/dist/features/milestone/create/milestone-create-styled.js +1 -1
- package/dist/features/milestone/create/milestone-create-styled.js.map +1 -1
- package/dist/features/milestone/create/milestone-create.js +19 -17
- package/dist/features/milestone/create/milestone-create.js.map +1 -1
- package/dist/features/milestone/milestone-tests/tests-creation/test-stages/test-preview/test-preview.js +19 -20
- package/dist/features/milestone/milestone-tests/tests-creation/test-stages/test-preview/test-preview.js.map +1 -1
- package/dist/features/parent-dashboard/api/get-student-profile-summary.js +9 -0
- package/dist/features/parent-dashboard/api/get-student-profile-summary.js.map +1 -0
- package/dist/features/parent-dashboard/api/parent-home.js +10 -0
- package/dist/features/parent-dashboard/api/parent-home.js.map +1 -0
- package/dist/features/parent-dashboard/comps/compact-header/compact-header.js +30 -0
- package/dist/features/parent-dashboard/comps/compact-header/compact-header.js.map +1 -0
- package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features-constants.js +25 -0
- package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features-constants.js.map +1 -0
- package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features-styled.js +15 -0
- package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features-styled.js.map +1 -0
- package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features.js +90 -0
- package/dist/features/parent-dashboard/comps/cuemath-app-features/cuemath-app-features.js.map +1 -0
- package/dist/features/parent-dashboard/comps/math-practice/math-practice-constants.js +19 -0
- package/dist/features/parent-dashboard/comps/math-practice/math-practice-constants.js.map +1 -0
- package/dist/features/parent-dashboard/comps/math-practice/math-practice-styled.js +32 -0
- package/dist/features/parent-dashboard/comps/math-practice/math-practice-styled.js.map +1 -0
- package/dist/features/parent-dashboard/comps/math-practice/math-practice.js +67 -0
- package/dist/features/parent-dashboard/comps/math-practice/math-practice.js.map +1 -0
- package/dist/features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs-constants.js +42 -0
- package/dist/features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs-constants.js.map +1 -0
- package/dist/features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs.js +20 -0
- package/dist/features/parent-dashboard/comps/parent-dashboard-faqs/parent-dashboard-faqs.js.map +1 -0
- package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction-styled.js +10 -0
- package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction-styled.js.map +1 -0
- package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js +42 -0
- package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js.map +1 -0
- package/dist/features/parent-dashboard/hooks/use-parent-home-data.js +67 -0
- package/dist/features/parent-dashboard/hooks/use-parent-home-data.js.map +1 -0
- package/dist/features/parent-dashboard/hooks/use-student-profile-summary-data.js +24 -0
- package/dist/features/parent-dashboard/hooks/use-student-profile-summary-data.js.map +1 -0
- package/dist/features/parent-dashboard/hooks/use-switch-user-journey.js +71 -0
- package/dist/features/parent-dashboard/hooks/use-switch-user-journey.js.map +1 -0
- package/dist/features/parent-dashboard/modals/help-and-support/help-and-support.js +40 -0
- package/dist/features/parent-dashboard/modals/help-and-support/help-and-support.js.map +1 -0
- package/dist/features/parent-dashboard/modals/student-login-info/student-login-info.js +44 -0
- package/dist/features/parent-dashboard/modals/student-login-info/student-login-info.js.map +1 -0
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-helpers.js +32 -0
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-helpers.js.map +1 -0
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js +12 -0
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js.map +1 -0
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js +44 -0
- package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js.map +1 -0
- package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js +13 -0
- package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js.map +1 -0
- package/dist/features/parent-dashboard/modals/trial-report/trial-report.js +28 -0
- package/dist/features/parent-dashboard/modals/trial-report/trial-report.js.map +1 -0
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-constants.js +43 -0
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-constants.js.map +1 -0
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js +59 -0
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js.map +1 -0
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change.js +86 -0
- package/dist/features/parent-dashboard/modals/tutor-change/tutor-change.js.map +1 -0
- package/dist/features/parent-dashboard/parent-dashboard-constants.js +26 -0
- package/dist/features/parent-dashboard/parent-dashboard-constants.js.map +1 -0
- package/dist/features/parent-dashboard/parent-dashboard-styled.js +33 -0
- package/dist/features/parent-dashboard/parent-dashboard-styled.js.map +1 -0
- package/dist/features/parent-dashboard/parent-dashboard-types.js +6 -0
- package/dist/features/parent-dashboard/parent-dashboard-types.js.map +1 -0
- package/dist/features/parent-dashboard/parent-dashboard-view.js +215 -0
- package/dist/features/parent-dashboard/parent-dashboard-view.js.map +1 -0
- package/dist/features/parent-dashboard/parent-dashboard.js +8 -0
- package/dist/features/parent-dashboard/parent-dashboard.js.map +1 -0
- package/dist/features/sentry/constants/ignored.js +10 -6
- package/dist/features/sentry/constants/ignored.js.map +1 -1
- package/dist/features/sheets/constants/sheet.js +23 -10
- package/dist/features/sheets/constants/sheet.js.map +1 -1
- package/dist/features/sheets/utils/is-v3-worksheet.js +17 -0
- package/dist/features/sheets/utils/is-v3-worksheet.js.map +1 -1
- package/dist/features/student-details/class-details/class-details-utils.js +6 -6
- package/dist/features/trial-session/api/course-stream.js.map +1 -1
- package/dist/features/trial-session/comps/about-cuemath/about-cuemath-constants.js +1 -1
- package/dist/features/trial-session/comps/about-cuemath/about-cuemath-constants.js.map +1 -1
- package/dist/features/trial-session/comps/background-grid/background-grid-utils.js +66 -60
- package/dist/features/trial-session/comps/background-grid/background-grid-utils.js.map +1 -1
- package/dist/features/trial-session/comps/learning-plan/index.js +62 -88
- package/dist/features/trial-session/comps/learning-plan/index.js.map +1 -1
- package/dist/features/trial-session/comps/offering-information/offering-information-constants.js +12 -12
- package/dist/features/trial-session/comps/offering-information/offering-information-constants.js.map +1 -1
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-constants.js +25 -0
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-constants.js.map +1 -0
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-styled.js +43 -0
- package/dist/features/trial-session/comps/pla/next-steps/next-steps-styled.js.map +1 -0
- package/dist/features/trial-session/comps/pla/next-steps/next-steps.js +49 -0
- package/dist/features/trial-session/comps/pla/next-steps/next-steps.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-countdown.js +29 -0
- package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-countdown.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-status-config.js +132 -0
- package/dist/features/trial-session/comps/pla/session-status/hooks/use-session-status-config.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-constants.js +11 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-constants.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-helpers.js +19 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-helpers.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-styled.js +17 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status-styled.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status.js +127 -0
- package/dist/features/trial-session/comps/pla/session-status/session-status.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js +53 -0
- package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-summary/session-summary.js +53 -0
- package/dist/features/trial-session/comps/pla/session-summary/session-summary.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card-styled.js +17 -0
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card-styled.js.map +1 -0
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js +56 -0
- package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js.map +1 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-constants.js +5 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-constants.js.map +1 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-styled.js +17 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-styled.js.map +1 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-types.js +5 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions-types.js.map +1 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js +96 -0
- package/dist/features/trial-session/comps/pla/upcoming-sessions/upcoming-sessions.js.map +1 -0
- package/dist/features/trial-session/comps/school-goals/school-goals.js +25 -24
- package/dist/features/trial-session/comps/school-goals/school-goals.js.map +1 -1
- package/dist/features/trial-session/comps/session-report/report-404/report-404.js +34 -0
- package/dist/features/trial-session/comps/session-report/report-404/report-404.js.map +1 -0
- package/dist/features/trial-session/comps/session-report/report-information/report-card.js +41 -0
- package/dist/features/trial-session/comps/session-report/report-information/report-card.js.map +1 -0
- package/dist/features/trial-session/comps/session-report/report-information/report-information-styled.js +39 -0
- package/dist/features/trial-session/comps/session-report/report-information/report-information-styled.js.map +1 -0
- package/dist/features/trial-session/comps/session-report/report-information/report-information.js +179 -0
- package/dist/features/trial-session/comps/session-report/report-information/report-information.js.map +1 -0
- package/dist/features/trial-session/comps/session-report/session-report-styled.js +6 -29
- package/dist/features/trial-session/comps/session-report/session-report-styled.js.map +1 -1
- package/dist/features/trial-session/comps/session-report/session-report.js +44 -174
- package/dist/features/trial-session/comps/session-report/session-report.js.map +1 -1
- package/dist/features/trial-session/comps/student-personalization/student-personalization-styled.js +20 -5
- package/dist/features/trial-session/comps/student-personalization/student-personalization-styled.js.map +1 -1
- package/dist/features/trial-session/comps/student-personalization/student-personalization.js +59 -126
- package/dist/features/trial-session/comps/student-personalization/student-personalization.js.map +1 -1
- package/dist/features/trial-session/comps/student-profile/constant.js +10 -0
- package/dist/features/trial-session/comps/student-profile/constant.js.map +1 -0
- package/dist/features/trial-session/comps/student-profile/student-profile-highlights/student-profile-highlights.js +53 -0
- package/dist/features/trial-session/comps/student-profile/student-profile-highlights/student-profile-highlights.js.map +1 -0
- package/dist/features/trial-session/comps/student-profile/student-profile.js +93 -46
- package/dist/features/trial-session/comps/student-profile/student-profile.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-helpers.js +12 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-helpers.js.map +1 -0
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js +121 -42
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile-styled.js.map +1 -1
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js +174 -56
- package/dist/features/trial-session/comps/teacher-intro/teacher-profile/teacher-profile.js.map +1 -1
- package/dist/features/trial-session/comps/worksheet/worksheet.js +23 -23
- package/dist/features/trial-session/comps/worksheet/worksheet.js.map +1 -1
- package/dist/features/trial-session/hooks/use-trial-session-navigation.js +65 -63
- package/dist/features/trial-session/hooks/use-trial-session-navigation.js.map +1 -1
- package/dist/features/trial-session/left-panel/index.js +1 -1
- package/dist/features/trial-session/left-panel/index.js.map +1 -1
- package/dist/features/trial-session/right-panel/slide-components-map.js +32 -32
- package/dist/features/trial-session/right-panel/slide-components-map.js.map +1 -1
- package/dist/features/trial-session/trial-session-constants.js +3 -3
- package/dist/features/trial-session/trial-session-constants.js.map +1 -1
- package/dist/features/trial-session/trial-session-types.js.map +1 -1
- package/dist/features/ui/buttons/icon-button/icon-button.js +32 -29
- package/dist/features/ui/buttons/icon-button/icon-button.js.map +1 -1
- package/dist/features/ui/constants/z-index.js +5 -3
- package/dist/features/ui/constants/z-index.js.map +1 -1
- package/dist/features/ui/inputs/base-select-input/select-section/select-section.js +12 -11
- package/dist/features/ui/inputs/base-select-input/select-section/select-section.js.map +1 -1
- package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list-styled.js +2 -7
- package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list-styled.js.map +1 -1
- package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list.js +29 -27
- package/dist/features/ui/inputs/checkbox-input-list/checkbox-input-list.js.map +1 -1
- package/dist/features/ui/modals/modal.js +30 -28
- package/dist/features/ui/modals/modal.js.map +1 -1
- package/dist/features/wins-dashboard/belts-elements-stickers/belts-elements-stickers.js +109 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/belts-elements-stickers.js.map +1 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/belts.js +95 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/belts.js.map +1 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/elements.js +184 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/elements.js.map +1 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/progress-bar-horizontal.js +36 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/progress-bar-horizontal.js.map +1 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/reward-elements.js +83 -0
- package/dist/features/wins-dashboard/belts-elements-stickers/reward-elements.js.map +1 -0
- package/dist/features/wins-dashboard/constants.js +161 -0
- package/dist/features/wins-dashboard/constants.js.map +1 -0
- package/dist/features/wins-dashboard/header/wins-header.js +95 -0
- package/dist/features/wins-dashboard/header/wins-header.js.map +1 -0
- package/dist/features/wins-dashboard/student-badges/animated-tabbar.js +66 -0
- package/dist/features/wins-dashboard/student-badges/animated-tabbar.js.map +1 -0
- package/dist/features/wins-dashboard/student-badges/hooks/use-student-badge-list-hook.js +135 -0
- package/dist/features/wins-dashboard/student-badges/hooks/use-student-badge-list-hook.js.map +1 -0
- package/dist/features/wins-dashboard/student-badges/student-badge.js +168 -0
- package/dist/features/wins-dashboard/student-badges/student-badge.js.map +1 -0
- package/dist/features/wins-dashboard/student-badges/student-badges-lists.js +137 -0
- package/dist/features/wins-dashboard/student-badges/student-badges-lists.js.map +1 -0
- package/dist/features/worksheet/worksheet/worksheet-action-bar/worksheet-action-bar.js +86 -90
- package/dist/features/worksheet/worksheet/worksheet-action-bar/worksheet-action-bar.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-behavior-helper.js +147 -0
- package/dist/features/worksheet/worksheet/worksheet-behavior-helper.js.map +1 -0
- package/dist/features/worksheet/worksheet/worksheet-container.js +62 -42
- package/dist/features/worksheet/worksheet/worksheet-container.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +197 -199
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js +228 -300
- package/dist/features/worksheet/worksheet/worksheet-questions-controller/worksheet-questions-controller.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-styled.js +34 -34
- package/dist/features/worksheet/worksheet/worksheet-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-types.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet.js +206 -215
- package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.js +33 -33
- package/dist/features/worksheet/worksheet-preview/dynamic-worksheet-preview/dynamic-worksheet-preview.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js +30 -28
- package/dist/features/worksheet/worksheet-preview/hooks/use-worksheet-layout.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/worksheet-preview-view.js +69 -73
- package/dist/features/worksheet/worksheet-preview/worksheet-preview-view.js.map +1 -1
- package/dist/features/worksheet/worksheet-preview/worksheet-preview.js +30 -79
- package/dist/features/worksheet/worksheet-preview/worksheet-preview.js.map +1 -1
- package/dist/index.d.ts +473 -45
- package/dist/index.js +695 -627
- package/dist/index.js.map +1 -1
- package/dist/node_modules/date-fns/_lib/getRoundingMethod.js +10 -0
- package/dist/node_modules/date-fns/_lib/getRoundingMethod.js.map +1 -0
- package/dist/node_modules/date-fns/differenceInMilliseconds.js +9 -0
- package/dist/node_modules/date-fns/differenceInMilliseconds.js.map +1 -0
- package/dist/node_modules/date-fns/differenceInSeconds.js +11 -0
- package/dist/node_modules/date-fns/differenceInSeconds.js.map +1 -0
- package/dist/node_modules/date-fns/fromUnixTime.js +9 -0
- package/dist/node_modules/date-fns/fromUnixTime.js.map +1 -0
- package/dist/static/awesome.4239f583.json +1 -0
- package/dist/static/black-belt.81b3ebf9.png +0 -0
- package/dist/static/blue-belt.508a1b4b.png +0 -0
- package/dist/static/{book-checked-green.c275dbd9.svg → book-checked-green.0436b91e.svg} +1 -1
- package/dist/static/brown-belt.09bb7e93.png +0 -0
- package/dist/static/clapping-hands.17e7ecf0.json +1 -0
- package/dist/static/common.9e8ceef1.svg +1 -0
- package/dist/static/community-bulb-yellow-2.f89c30f9.svg +1 -0
- package/dist/static/cool.cd6921bb.json +1 -0
- package/dist/static/epic.37a0265a.svg +1 -0
- package/dist/static/error-responsive.9916ff66.json +1 -0
- package/dist/static/error.dd744fa5.json +1 -0
- package/dist/static/green-belt.5501296f.png +0 -0
- package/dist/static/learning-puzzle-bot.6fe93cf6.svg +1 -0
- package/dist/static/legendary.f15d09ca.svg +1 -0
- package/dist/static/like-button.281a2618.json +1 -0
- package/dist/static/mastered-badge.91d25e92.png +0 -0
- package/dist/static/mystery.81ada5fb.svg +1 -0
- package/dist/static/mythic.58ba0ae0.svg +1 -0
- package/dist/static/orange-belt.1fefcc8c.png +0 -0
- package/dist/static/personalization.7a6c33e8.svg +1 -0
- package/dist/static/personalized-session.b4fd7df8.gif +0 -0
- package/dist/static/purple-belt.e15611b4.png +0 -0
- package/dist/static/rare.1ffaa311.svg +1 -0
- package/dist/static/red-belt.11f841d9.png +0 -0
- package/dist/static/regular-practice.b15f24d9.gif +0 -0
- package/dist/static/star-strike-emoji.c0b31028.json +1 -0
- package/dist/static/stepup.321df6ed.gif +0 -0
- package/dist/static/trophy.5ef1853a.json +1 -0
- package/dist/static/username-responsive.787b5515.json +1 -0
- package/dist/static/username.2c755605.json +1 -0
- package/dist/static/white-belt.ea93103e.png +0 -0
- package/dist/static/yellow-belt.0c47b8cc.png +0 -0
- package/package.json +1 -1
- package/dist/features/trial-session/comps/session-report/report-card.js +0 -26
- package/dist/features/trial-session/comps/session-report/report-card.js.map +0 -1
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js +0 -28
- package/dist/features/worksheet/worksheet/hooks/use-worksheet-journey.js.map +0 -1
- package/dist/static/error.cbe1ddde.json +0 -1
- package/dist/static/username.9e034d51.json +0 -1
|
@@ -1,330 +1,328 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { memo as
|
|
3
|
-
import { IMAGES as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { QUESTIONS_GAP as
|
|
9
|
-
import { getPaperColorByQuestion as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import { QuestionContainerWrapper as le, StimulusReview as
|
|
19
|
-
const
|
|
1
|
+
import { jsxs as T, jsx as i, Fragment as Pt } from "react/jsx-runtime";
|
|
2
|
+
import { memo as Vt, useMemo as p, useState as A, useRef as X, useCallback as Xt, useEffect as H, useLayoutEffect as jt } from "react";
|
|
3
|
+
import { IMAGES as Gt } from "../../../../assets/images/images.js";
|
|
4
|
+
import Yt from "../../../cue-canvas/cue-canvas.js";
|
|
5
|
+
import Zt from "../../../pointer-sync/pointer.js";
|
|
6
|
+
import Rt from "../../../ui/layout/flex-view.js";
|
|
7
|
+
import Jt from "../../constants/events.js";
|
|
8
|
+
import { QUESTIONS_GAP as kt, LEARNOSITY_KEYBOARD_HEIGHT as wt } from "../constants.js";
|
|
9
|
+
import { getPaperColorByQuestion as qt, isConceptIntroWidget as te, scrollToQuestion as St } from "../worksheet-helpers.js";
|
|
10
|
+
import ee from "./header/header.js";
|
|
11
|
+
import ie from "./learnosity-question.js";
|
|
12
|
+
import re from "./question-backdrop/question-backdrop.js";
|
|
13
|
+
import oe from "./subjective-review.js";
|
|
14
|
+
import ne from "./system-intros/advanced-practice-intro.js";
|
|
15
|
+
import ce from "./system-intros/basic-practice-intro.js";
|
|
16
|
+
import ae from "./system-intros/exit-ticket-intro.js";
|
|
17
|
+
import se from "./system-intros/regular-practice-intro.js";
|
|
18
|
+
import { QuestionContainerWrapper as le, StimulusReview as me, QuestionContainer as ue, QuestionWrapper as de, LessonOverviewBanner as fe, CueCanvasWrapper as he, Hint as ge, Solution as Ee } from "./worksheet-question-styled.js";
|
|
19
|
+
const Me = Vt(
|
|
20
20
|
({
|
|
21
21
|
userType: c,
|
|
22
|
-
signedRequest:
|
|
22
|
+
signedRequest: Ct,
|
|
23
23
|
worksheetCompleted: g,
|
|
24
24
|
question: n,
|
|
25
25
|
response: e,
|
|
26
|
-
nextQuestionId:
|
|
26
|
+
nextQuestionId: b,
|
|
27
27
|
isActive: v,
|
|
28
|
-
isHidden:
|
|
29
|
-
canRender:
|
|
30
|
-
loggerRef:
|
|
28
|
+
isHidden: M,
|
|
29
|
+
canRender: j,
|
|
30
|
+
loggerRef: O,
|
|
31
31
|
appended: a,
|
|
32
|
-
maxQuestionWidth:
|
|
33
|
-
behavior:
|
|
34
|
-
layout:
|
|
35
|
-
actionbarHeight:
|
|
36
|
-
learnosity:
|
|
32
|
+
maxQuestionWidth: G,
|
|
33
|
+
behavior: S,
|
|
34
|
+
layout: N,
|
|
35
|
+
actionbarHeight: Wt,
|
|
36
|
+
learnosity: C,
|
|
37
37
|
intersectionObserver: Y,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
responses: Mt,
|
|
54
|
-
subjectiveProps: ot
|
|
38
|
+
onMediaStateChange: yt,
|
|
39
|
+
onMarkForReview: Bt,
|
|
40
|
+
userId: xt,
|
|
41
|
+
onPublishStrokes: Z,
|
|
42
|
+
onReceiveStrokes: J,
|
|
43
|
+
isScribblingEnabled: k,
|
|
44
|
+
initialStrokesData: Q,
|
|
45
|
+
onPublishMouseMove: q,
|
|
46
|
+
onSubscribeMouseMove: tt,
|
|
47
|
+
setActiveQuestionId: et,
|
|
48
|
+
canResolveDoubt: It,
|
|
49
|
+
onResolveDoubt: Lt,
|
|
50
|
+
studentId: Tt,
|
|
51
|
+
responses: At,
|
|
52
|
+
subjectiveProps: it
|
|
55
53
|
}) => {
|
|
56
|
-
const
|
|
57
|
-
() =>
|
|
58
|
-
[
|
|
59
|
-
), [
|
|
60
|
-
validation:
|
|
61
|
-
review:
|
|
62
|
-
maximumAttempts:
|
|
63
|
-
canExceedAttempts:
|
|
64
|
-
teacherValidationEnabled:
|
|
65
|
-
solutionHidden:
|
|
66
|
-
} =
|
|
54
|
+
const { background: rt = "paper" } = N, W = p(
|
|
55
|
+
() => rt === "paper" ? qt(n) : void 0,
|
|
56
|
+
[rt, n]
|
|
57
|
+
), [y, Mt] = A(), [ot, Ot] = A(), {
|
|
58
|
+
validation: nt,
|
|
59
|
+
review: z,
|
|
60
|
+
maximumAttempts: F,
|
|
61
|
+
canExceedAttempts: ct,
|
|
62
|
+
teacherValidationEnabled: R,
|
|
63
|
+
solutionHidden: at
|
|
64
|
+
} = S, { minQuestionHeight: Nt, topOffset: st, questionsScrollable: B, renderQuestionHeader: Qt, imageHue: lt } = N, {
|
|
67
65
|
type: E,
|
|
68
66
|
response_id: r,
|
|
69
67
|
stimulus_review: _,
|
|
70
|
-
item_type:
|
|
71
|
-
instructor_stimulus:
|
|
72
|
-
metadata: { hints:
|
|
73
|
-
item_reference:
|
|
74
|
-
question_number:
|
|
75
|
-
item_number:
|
|
76
|
-
item_display_number:
|
|
77
|
-
} = n,
|
|
68
|
+
item_type: d,
|
|
69
|
+
instructor_stimulus: mt,
|
|
70
|
+
metadata: { hints: f, solution: x, widget_reference: ut },
|
|
71
|
+
item_reference: dt,
|
|
72
|
+
question_number: ft,
|
|
73
|
+
item_number: ht,
|
|
74
|
+
item_display_number: gt
|
|
75
|
+
} = n, zt = !!_, I = d === "overview", m = te(mt), h = mt === "SystemIntro", D = m || h, Et = e == null ? void 0 : e.responseEdited, Ft = p(() => {
|
|
78
76
|
const t = [];
|
|
79
|
-
return
|
|
77
|
+
return Et && c === "TEACHER" && t.push("attempting"), a || t.push("hidden"), E === "hotspot" && t.push("correct-answers-hidden"), a && R && E === "clozetext" && (!m || c === "STUDENT" ? t.push("response-hidden") : t.push("response-code-hidden")), I && t.push("lesson-overview"), m && t.push("concept-intro"), h && t.push("system-intro"), t.join(" ");
|
|
80
78
|
}, [
|
|
81
79
|
a,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
80
|
+
m,
|
|
81
|
+
I,
|
|
82
|
+
h,
|
|
85
83
|
E,
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
Et,
|
|
85
|
+
R,
|
|
88
86
|
c
|
|
89
|
-
]),
|
|
87
|
+
]), U = X({}), K = (e == null ? void 0 : e.hintsUsed) ?? 0, [_t] = A((e == null ? void 0 : e.validatedByTeacher) ?? !1), L = X(null), P = X(null), V = p(() => f == null ? void 0 : f.slice(0, K), [f, K]), $t = p(() => c === "TEACHER" || g ? !0 : !e || !e.response || e.responseEdited ? !1 : nt, [e, c, nt, g]), pt = p(() => {
|
|
90
88
|
if (c === "TEACHER") return !0;
|
|
91
|
-
if (
|
|
89
|
+
if (z) {
|
|
92
90
|
const { attemptsHistory: t } = e ?? {};
|
|
93
|
-
return ((t == null ? void 0 : t.length) ?? 0) >=
|
|
91
|
+
return ((t == null ? void 0 : t.length) ?? 0) >= F && !ct;
|
|
94
92
|
}
|
|
95
93
|
return !1;
|
|
96
|
-
}, [
|
|
97
|
-
() =>
|
|
98
|
-
[
|
|
99
|
-
), [
|
|
94
|
+
}, [ct, F, e, z, c]), Dt = p(
|
|
95
|
+
() => x && g && !at,
|
|
96
|
+
[at, x, g]
|
|
97
|
+
), [Ht, Ut] = A({
|
|
100
98
|
width: 0,
|
|
101
99
|
height: 0
|
|
102
|
-
}),
|
|
103
|
-
|
|
100
|
+
}), Kt = Xt((t) => {
|
|
101
|
+
Ot(t);
|
|
104
102
|
}, []);
|
|
105
103
|
return H(() => {
|
|
106
|
-
|
|
104
|
+
L.current && Y.observe(L.current);
|
|
107
105
|
}, [Y]), H(() => {
|
|
108
106
|
if (a && (n.type === "clozeassociation" || n.type === "association" || n.type === "clozeformula")) {
|
|
109
107
|
const t = document.querySelectorAll(
|
|
110
108
|
`.widget-${n.response_id} .lrn_draggable`
|
|
111
109
|
);
|
|
112
110
|
let s = 0, o = 0;
|
|
113
|
-
t.forEach((
|
|
114
|
-
s = Math.max(s,
|
|
115
|
-
}),
|
|
111
|
+
t.forEach((l) => {
|
|
112
|
+
s = Math.max(s, l.clientWidth + 33), o = Math.max(o, l.clientHeight + 1);
|
|
113
|
+
}), Ut({
|
|
116
114
|
width: n.type !== "association" ? s : 0,
|
|
117
115
|
height: o
|
|
118
116
|
});
|
|
119
117
|
}
|
|
120
118
|
}, [a, n.response_id, n.type]), H(() => {
|
|
121
|
-
if (a &&
|
|
122
|
-
const t =
|
|
119
|
+
if (a && $t) {
|
|
120
|
+
const t = C.question(r);
|
|
123
121
|
t && t.validate({
|
|
124
|
-
showCorrectAnswers:
|
|
122
|
+
showCorrectAnswers: pt
|
|
125
123
|
});
|
|
126
124
|
}
|
|
127
|
-
}, [a,
|
|
128
|
-
const t =
|
|
129
|
-
if (a && t &&
|
|
125
|
+
}, [a, C, r, z, pt, c, $t]), H(() => {
|
|
126
|
+
const t = P.current;
|
|
127
|
+
if (a && t && O.current && U.current[r] === void 0 && !m && !h) {
|
|
130
128
|
const s = t.clientWidth, o = t.querySelectorAll("*");
|
|
131
|
-
for (let
|
|
132
|
-
const u = o[
|
|
129
|
+
for (let l = 0; l < o.length; l++) {
|
|
130
|
+
const u = o[l];
|
|
133
131
|
if (u != null && u.closest(".resize-sensor"))
|
|
134
132
|
continue;
|
|
135
133
|
if (((u == null ? void 0 : u.clientWidth) ?? 0) > s) {
|
|
136
|
-
|
|
137
|
-
item_reference:
|
|
138
|
-
widget_reference:
|
|
134
|
+
U.current[r] = !0, O.current(Jt.WORKSHEET_V3_GREATER_WIDTH_ELEMENT, {
|
|
135
|
+
item_reference: dt,
|
|
136
|
+
widget_reference: ut,
|
|
139
137
|
question_type: E,
|
|
140
|
-
question_number:
|
|
138
|
+
question_number: ft,
|
|
141
139
|
responseId: r,
|
|
142
|
-
item_number:
|
|
143
|
-
item_display_number:
|
|
140
|
+
item_number: ht,
|
|
141
|
+
item_display_number: gt
|
|
144
142
|
});
|
|
145
143
|
break;
|
|
146
144
|
}
|
|
147
145
|
}
|
|
148
|
-
|
|
146
|
+
U.current[r] = !1;
|
|
149
147
|
}
|
|
150
148
|
}, [
|
|
151
149
|
a,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
Et,
|
|
150
|
+
m,
|
|
151
|
+
h,
|
|
155
152
|
gt,
|
|
156
153
|
ht,
|
|
157
|
-
M,
|
|
158
|
-
E,
|
|
159
154
|
dt,
|
|
155
|
+
O,
|
|
156
|
+
E,
|
|
157
|
+
ft,
|
|
160
158
|
r,
|
|
161
|
-
|
|
159
|
+
ut
|
|
162
160
|
]), H(() => {
|
|
163
|
-
const t =
|
|
164
|
-
const
|
|
165
|
-
if (
|
|
161
|
+
const t = L.current, s = (o) => {
|
|
162
|
+
const l = o.querySelector(".lrn_response_wrapper");
|
|
163
|
+
if (D || !l)
|
|
166
164
|
return 0;
|
|
167
|
-
const u = o.getBoundingClientRect().bottom,
|
|
168
|
-
return $ <
|
|
165
|
+
const u = o.getBoundingClientRect().bottom, w = l.getBoundingClientRect().bottom, $ = Math.abs(u - w);
|
|
166
|
+
return $ < wt ? wt - $ : 0;
|
|
169
167
|
};
|
|
170
|
-
a && t &&
|
|
171
|
-
var
|
|
172
|
-
const
|
|
168
|
+
a && t && Mt((o) => {
|
|
169
|
+
var vt;
|
|
170
|
+
const w = ((vt = n.ui_style) == null ? void 0 : vt.type) === "floating-keyboard" && !(R && E === "clozetext"), $ = t.clientHeight;
|
|
173
171
|
if ($ === 0)
|
|
174
172
|
return o;
|
|
175
173
|
if (!o)
|
|
176
174
|
return Math.ceil(
|
|
177
|
-
$ + (
|
|
175
|
+
$ + (w ? s(t) : 0)
|
|
178
176
|
);
|
|
179
|
-
const
|
|
180
|
-
$ + (
|
|
177
|
+
const bt = Math.ceil(
|
|
178
|
+
$ + (w ? s(t) : 0)
|
|
181
179
|
);
|
|
182
|
-
return Math.abs(
|
|
183
|
-
}), (
|
|
184
|
-
}),
|
|
185
|
-
!
|
|
186
|
-
}, [
|
|
187
|
-
if (
|
|
180
|
+
return Math.abs(bt - o) > 4 ? bt : o;
|
|
181
|
+
}), (K || zt || x && g) && C.renderMath("mathjax");
|
|
182
|
+
}), jt(() => {
|
|
183
|
+
!B && !M && St(r);
|
|
184
|
+
}, [M, B, r, st]), H(() => {
|
|
185
|
+
if (R && b && !_t && (e != null && e.validatedByTeacher)) {
|
|
188
186
|
const t = setTimeout(() => {
|
|
189
|
-
|
|
187
|
+
B ? St(b) : et(b);
|
|
190
188
|
}, 1e3);
|
|
191
189
|
return () => {
|
|
192
190
|
clearTimeout(t);
|
|
193
191
|
};
|
|
194
192
|
}
|
|
195
193
|
}, [
|
|
194
|
+
b,
|
|
196
195
|
R,
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
rt,
|
|
196
|
+
_t,
|
|
197
|
+
B,
|
|
198
|
+
et,
|
|
201
199
|
e == null ? void 0 : e.validatedByTeacher
|
|
202
|
-
]), /* @__PURE__ */
|
|
200
|
+
]), /* @__PURE__ */ T(
|
|
203
201
|
le,
|
|
204
202
|
{
|
|
205
203
|
"data-response-id": r,
|
|
206
204
|
className: `widget-${r}`,
|
|
207
|
-
ref:
|
|
208
|
-
$topOffset:
|
|
205
|
+
ref: L,
|
|
206
|
+
$topOffset: st,
|
|
209
207
|
$flexDirection: _ ? "row" : "column",
|
|
210
208
|
$alignItems: _ ? "flex-start" : "center",
|
|
211
|
-
$hidden:
|
|
212
|
-
$marginBottom:
|
|
209
|
+
$hidden: M,
|
|
210
|
+
$marginBottom: kt,
|
|
213
211
|
children: [
|
|
214
212
|
_ && /* @__PURE__ */ i(
|
|
215
|
-
|
|
213
|
+
me,
|
|
216
214
|
{
|
|
217
215
|
dangerouslySetInnerHTML: {
|
|
218
216
|
__html: _
|
|
219
217
|
}
|
|
220
218
|
}
|
|
221
219
|
),
|
|
222
|
-
/* @__PURE__ */
|
|
223
|
-
|
|
220
|
+
/* @__PURE__ */ T(
|
|
221
|
+
ue,
|
|
224
222
|
{
|
|
225
|
-
ref:
|
|
226
|
-
$width: _ ? "50%" : `${
|
|
227
|
-
$minHeight:
|
|
223
|
+
ref: P,
|
|
224
|
+
$width: _ ? "50%" : `${G}px`,
|
|
225
|
+
$minHeight: y ? Math.max(y - 72, ot ?? 0) : Nt,
|
|
228
226
|
$isActive: v,
|
|
229
|
-
$paperColor:
|
|
227
|
+
$paperColor: W,
|
|
230
228
|
$opacity: v ? 1 : 0.2,
|
|
231
229
|
$imageHue: lt,
|
|
232
230
|
children: [
|
|
233
|
-
v && !!
|
|
234
|
-
|
|
231
|
+
v && !!q && !!tt && !!S.canvasEnabled && /* @__PURE__ */ i(
|
|
232
|
+
Zt,
|
|
235
233
|
{
|
|
236
|
-
containerRef:
|
|
237
|
-
onPublish:
|
|
238
|
-
onSubscribe:
|
|
234
|
+
containerRef: P,
|
|
235
|
+
onPublish: q,
|
|
236
|
+
onSubscribe: tt,
|
|
239
237
|
responseId: r
|
|
240
238
|
}
|
|
241
239
|
),
|
|
242
|
-
/* @__PURE__ */
|
|
243
|
-
|
|
240
|
+
/* @__PURE__ */ T(
|
|
241
|
+
de,
|
|
244
242
|
{
|
|
245
|
-
className:
|
|
246
|
-
$dropzoneMinWidth:
|
|
247
|
-
$dropzoneMinHeight:
|
|
243
|
+
className: Ft,
|
|
244
|
+
$dropzoneMinWidth: Ht.width,
|
|
245
|
+
$dropzoneMinHeight: Ht.height,
|
|
248
246
|
children: [
|
|
249
|
-
|
|
250
|
-
|
|
247
|
+
Qt && !(I || m || h) && /* @__PURE__ */ i(
|
|
248
|
+
ee,
|
|
251
249
|
{
|
|
252
250
|
userType: c,
|
|
253
251
|
question: n,
|
|
254
252
|
response: e,
|
|
255
|
-
behavior:
|
|
256
|
-
layout:
|
|
257
|
-
paperColor:
|
|
258
|
-
onMarkForReview:
|
|
259
|
-
actionbarHeight:
|
|
260
|
-
canResolveDoubt:
|
|
261
|
-
onResolveDoubt:
|
|
253
|
+
behavior: S,
|
|
254
|
+
layout: N,
|
|
255
|
+
paperColor: W,
|
|
256
|
+
onMarkForReview: Bt,
|
|
257
|
+
actionbarHeight: Wt,
|
|
258
|
+
canResolveDoubt: It,
|
|
259
|
+
onResolveDoubt: Lt,
|
|
262
260
|
worksheetCompleted: g
|
|
263
261
|
}
|
|
264
262
|
),
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
(
|
|
263
|
+
I && /* @__PURE__ */ i(fe, { src: Gt.LESSON_OVERVIEW_BANNER }),
|
|
264
|
+
m && W && /* @__PURE__ */ i(re, { paperColor: W }),
|
|
265
|
+
h ? /* @__PURE__ */ T(Pt, { children: [
|
|
266
|
+
d === "practice-basic" && /* @__PURE__ */ i(ce, {}),
|
|
267
|
+
d === "practice-regular" && /* @__PURE__ */ i(se, {}),
|
|
268
|
+
d === "exit-ticket" && /* @__PURE__ */ i(ae, {}),
|
|
269
|
+
(d == null ? void 0 : d.startsWith("advanced-")) && /* @__PURE__ */ i(ne, {})
|
|
272
270
|
] }) : void 0,
|
|
273
271
|
/* @__PURE__ */ i(
|
|
274
|
-
|
|
272
|
+
ie,
|
|
275
273
|
{
|
|
276
|
-
signedRequest:
|
|
274
|
+
signedRequest: Ct,
|
|
277
275
|
appended: a,
|
|
278
276
|
question: n,
|
|
279
277
|
response: e == null ? void 0 : e.response,
|
|
280
|
-
canRender:
|
|
281
|
-
learnosity:
|
|
278
|
+
canRender: j || v,
|
|
279
|
+
learnosity: C,
|
|
282
280
|
canForceAppend: c === "TEACHER",
|
|
283
|
-
isConceptIntro:
|
|
281
|
+
isConceptIntro: m,
|
|
284
282
|
simState: e == null ? void 0 : e.simState,
|
|
285
|
-
onMediaStateChange:
|
|
283
|
+
onMediaStateChange: yt,
|
|
286
284
|
imageHue: lt,
|
|
287
|
-
isPuzzle:
|
|
285
|
+
isPuzzle: F === -2
|
|
288
286
|
}
|
|
289
287
|
),
|
|
290
|
-
!
|
|
291
|
-
|
|
288
|
+
!D && !!S.canvasEnabled && Z && J && y !== void 0 && /* @__PURE__ */ i(he, { $canScribble: k, children: /* @__PURE__ */ i(
|
|
289
|
+
Yt,
|
|
292
290
|
{
|
|
293
|
-
canRender:
|
|
294
|
-
canScribble:
|
|
291
|
+
canRender: j,
|
|
292
|
+
canScribble: k && v,
|
|
295
293
|
appended: a,
|
|
296
294
|
canvasId: r,
|
|
297
|
-
width:
|
|
298
|
-
height: Math.max(
|
|
299
|
-
onUpdateHeight:
|
|
300
|
-
onPublish:
|
|
301
|
-
onSubscribe:
|
|
302
|
-
userId:
|
|
303
|
-
initialData:
|
|
295
|
+
width: G,
|
|
296
|
+
height: Math.max(y, ot ?? 0),
|
|
297
|
+
onUpdateHeight: Kt,
|
|
298
|
+
onPublish: Z,
|
|
299
|
+
onSubscribe: J,
|
|
300
|
+
userId: xt,
|
|
301
|
+
initialData: Q == null ? void 0 : Q[r],
|
|
304
302
|
userType: c
|
|
305
303
|
}
|
|
306
304
|
) }),
|
|
307
|
-
!
|
|
308
|
-
|
|
305
|
+
!D && V && V.length > 0 && /* @__PURE__ */ i(
|
|
306
|
+
Rt,
|
|
309
307
|
{
|
|
310
308
|
$background: "BLUE_1",
|
|
311
309
|
$gutterX: 1,
|
|
312
310
|
$gapX: 0.5,
|
|
313
311
|
$borderRadiusX: 0,
|
|
314
312
|
$borderColor: "BLUE_2",
|
|
315
|
-
children:
|
|
316
|
-
|
|
313
|
+
children: V.map((t, s) => /* @__PURE__ */ i(
|
|
314
|
+
ge,
|
|
317
315
|
{
|
|
318
316
|
dangerouslySetInnerHTML: {
|
|
319
|
-
__html: `<span style="color: #DA5107; font-weight: 600;">Hint${((
|
|
317
|
+
__html: `<span style="color: #DA5107; font-weight: 600;">Hint${((f == null ? void 0 : f.length) ?? 0) > 1 ? ` ${s + 1}` : ""}:</span> ${t}`
|
|
320
318
|
}
|
|
321
319
|
},
|
|
322
320
|
t
|
|
323
321
|
))
|
|
324
322
|
}
|
|
325
323
|
),
|
|
326
|
-
|
|
327
|
-
|
|
324
|
+
Dt && /* @__PURE__ */ i(
|
|
325
|
+
Rt,
|
|
328
326
|
{
|
|
329
327
|
$background: "YELLOW_1",
|
|
330
328
|
$gutterX: 1,
|
|
@@ -332,25 +330,25 @@ const Oe = Xt(
|
|
|
332
330
|
$borderRadiusX: 0,
|
|
333
331
|
$borderColor: "YELLOW_2",
|
|
334
332
|
children: /* @__PURE__ */ i(
|
|
335
|
-
|
|
333
|
+
Ee,
|
|
336
334
|
{
|
|
337
335
|
dangerouslySetInnerHTML: {
|
|
338
|
-
__html: `<div style="color: #DA5107; font-weight: 600;">Solution:</div>${
|
|
336
|
+
__html: `<div style="color: #DA5107; font-weight: 600;">Solution:</div>${x}`
|
|
339
337
|
}
|
|
340
338
|
}
|
|
341
339
|
)
|
|
342
340
|
}
|
|
343
341
|
),
|
|
344
|
-
!!
|
|
345
|
-
|
|
342
|
+
!!it && /* @__PURE__ */ i(
|
|
343
|
+
oe,
|
|
346
344
|
{
|
|
347
|
-
responses:
|
|
345
|
+
responses: At,
|
|
348
346
|
response: e,
|
|
349
|
-
nextQuestionId:
|
|
347
|
+
nextQuestionId: b,
|
|
350
348
|
responseId: r,
|
|
351
|
-
studentId:
|
|
349
|
+
studentId: Tt,
|
|
352
350
|
userType: c,
|
|
353
|
-
...
|
|
351
|
+
...it
|
|
354
352
|
}
|
|
355
353
|
)
|
|
356
354
|
]
|
|
@@ -365,6 +363,6 @@ const Oe = Xt(
|
|
|
365
363
|
}
|
|
366
364
|
);
|
|
367
365
|
export {
|
|
368
|
-
|
|
366
|
+
Me as default
|
|
369
367
|
};
|
|
370
368
|
//# sourceMappingURL=worksheet-question.js.map
|