@cuemath/leap 3.3.24 → 3.3.25-af-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/dist/assets/lottie/lottie.js +2 -2
  2. package/dist/assets/lottie/lottie.js.map +1 -1
  3. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +6 -6
  4. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
  5. package/dist/features/auth/comps/pill-button/pill-button.js +19 -19
  6. package/dist/features/auth/comps/pill-button/pill-button.js.map +1 -1
  7. package/dist/features/auth/pla-signup/pla-analytics-events.js +4 -5
  8. package/dist/features/auth/pla-signup/pla-analytics-events.js.map +1 -1
  9. package/dist/features/auth/pla-signup/signup-header/signup-header.js +1 -1
  10. package/dist/features/auth/pla-signup/signup-header/signup-header.js.map +1 -1
  11. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +24 -24
  12. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +1 -1
  13. package/dist/features/circle-games/hooks/use-circle-sounds/constants.js +5 -7
  14. package/dist/features/circle-games/hooks/use-circle-sounds/constants.js.map +1 -1
  15. package/dist/features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js +73 -72
  16. package/dist/features/circle-games/hooks/use-circle-sounds/use-circle-sounds.js.map +1 -1
  17. package/dist/features/circle-games/sign-up/comp/circular-steps/circular-steps.js +12 -12
  18. package/dist/features/circle-games/sign-up/comp/circular-steps/circular-steps.js.map +1 -1
  19. package/dist/features/circle-games/sign-up/sign-up-types.js.map +1 -1
  20. package/dist/features/circle-games/sign-up/sign-up.js +128 -156
  21. package/dist/features/circle-games/sign-up/sign-up.js.map +1 -1
  22. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js +29 -23
  23. package/dist/features/journey/hooks/use-puzzles-journey/use-puzzle-dashboard-journey.js.map +1 -1
  24. package/dist/features/journey/journey-id/journey-id-student.js +1 -1
  25. package/dist/features/journey/journey-id/journey-id-student.js.map +1 -1
  26. package/dist/features/milestone/create/comps/add-custom-chapter/add-custom-chapter.js +40 -42
  27. package/dist/features/milestone/create/comps/add-custom-chapter/add-custom-chapter.js.map +1 -1
  28. package/dist/features/milestone/create/comps/add-custom-chapter/course-catalog.js +64 -70
  29. package/dist/features/milestone/create/comps/add-custom-chapter/course-catalog.js.map +1 -1
  30. package/dist/features/milestone/create/comps/add-custom-chapter/hooks/use-catalog-helpers.js +29 -54
  31. package/dist/features/milestone/create/comps/add-custom-chapter/hooks/use-catalog-helpers.js.map +1 -1
  32. package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapter-category/chapter-category-container.js +28 -48
  33. package/dist/features/milestone/create/comps/chapters-selection-step/chapter-selection-step-v2/chapter-category/chapter-category-container.js.map +1 -1
  34. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js +76 -79
  35. package/dist/features/milestone/create/comps/chapters-selection-step/chapters-selection-step.js.map +1 -1
  36. package/dist/features/milestone/create/comps/chapters-selection-step/utils.js +94 -97
  37. package/dist/features/milestone/create/comps/chapters-selection-step/utils.js.map +1 -1
  38. package/dist/features/milestone/create/comps/class-details-step/class-details-step.js +143 -160
  39. package/dist/features/milestone/create/comps/class-details-step/class-details-step.js.map +1 -1
  40. package/dist/features/milestone/create/comps/class-details-step/class-details-utils.js +12 -22
  41. package/dist/features/milestone/create/comps/class-details-step/class-details-utils.js.map +1 -1
  42. package/dist/features/milestone/create/comps/test-type-step/test-type-step.js +59 -64
  43. package/dist/features/milestone/create/comps/test-type-step/test-type-step.js.map +1 -1
  44. package/dist/features/milestone/create/milestone-create-container.js +15 -17
  45. package/dist/features/milestone/create/milestone-create-container.js.map +1 -1
  46. package/dist/features/milestone/create/milestone-create-helpers.js +153 -170
  47. package/dist/features/milestone/create/milestone-create-helpers.js.map +1 -1
  48. package/dist/features/milestone/create/milestone-create-styled.js +1 -1
  49. package/dist/features/milestone/create/milestone-create-styled.js.map +1 -1
  50. package/dist/features/milestone/create/milestone-create.js +17 -19
  51. package/dist/features/milestone/create/milestone-create.js.map +1 -1
  52. package/dist/features/parent-dashboard/hooks/use-parent-home-data.js +42 -45
  53. package/dist/features/parent-dashboard/hooks/use-parent-home-data.js.map +1 -1
  54. package/dist/features/parent-dashboard/parent-dashboard-types.js +2 -3
  55. package/dist/features/parent-dashboard/parent-dashboard-types.js.map +1 -1
  56. package/dist/features/parent-dashboard/parent-dashboard-view.js +127 -139
  57. package/dist/features/parent-dashboard/parent-dashboard-view.js.map +1 -1
  58. package/dist/features/sentry/constants/ignored.js +6 -10
  59. package/dist/features/sentry/constants/ignored.js.map +1 -1
  60. package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js +7 -8
  61. package/dist/features/trial-session/comps/pla/session-summary/session-summary-constants.js.map +1 -1
  62. package/dist/features/trial-session/comps/pla/session-summary/session-summary.js +26 -27
  63. package/dist/features/trial-session/comps/pla/session-summary/session-summary.js.map +1 -1
  64. package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js +16 -16
  65. package/dist/features/trial-session/comps/pla/session-summary/summary-card/summary-card.js.map +1 -1
  66. package/dist/features/trial-session/comps/school-goals/school-goals.js +24 -25
  67. package/dist/features/trial-session/comps/school-goals/school-goals.js.map +1 -1
  68. package/dist/features/trial-session/comps/session-report/report-information/report-information-styled.js +13 -15
  69. package/dist/features/trial-session/comps/session-report/report-information/report-information-styled.js.map +1 -1
  70. package/dist/features/trial-session/comps/session-report/report-information/report-information.js +1 -1
  71. package/dist/features/trial-session/comps/session-report/report-information/report-information.js.map +1 -1
  72. package/dist/features/trial-session/comps/worksheet/worksheet.js +23 -23
  73. package/dist/features/trial-session/comps/worksheet/worksheet.js.map +1 -1
  74. package/dist/features/trial-session/trial-session-types.js.map +1 -1
  75. package/dist/features/ui/dot-lottie-animations/dot-lottie-animation.js +75 -88
  76. package/dist/features/ui/dot-lottie-animations/dot-lottie-animation.js.map +1 -1
  77. package/dist/features/ui/lottie-animation/lottie-animation.js +46 -55
  78. package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
  79. package/dist/features/ui/modals/modal-styled.js +15 -48
  80. package/dist/features/ui/modals/modal-styled.js.map +1 -1
  81. package/dist/features/ui/modals/modal.js +38 -46
  82. package/dist/features/ui/modals/modal.js.map +1 -1
  83. package/dist/features/{stickers/sticker-selector/comps/sticker/sticker-styled.js → ui/sticker-grid/sticker-grid-styles.js} +45 -15
  84. package/dist/features/ui/sticker-grid/sticker-grid-styles.js.map +1 -0
  85. package/dist/features/ui/sticker-grid/sticker-grid.js +24 -0
  86. package/dist/features/ui/sticker-grid/sticker-grid.js.map +1 -0
  87. package/dist/features/ui/sticker-grid/sticker.js +57 -0
  88. package/dist/features/ui/sticker-grid/sticker.js.map +1 -0
  89. package/dist/features/ui/stickers/constants.js +6 -0
  90. package/dist/features/ui/stickers/constants.js.map +1 -0
  91. package/dist/features/ui/stickers/stickers-effects.js +64 -0
  92. package/dist/features/ui/stickers/stickers-effects.js.map +1 -0
  93. package/dist/features/ui/stickers/stickers-styled.js +29 -0
  94. package/dist/features/ui/stickers/stickers-styled.js.map +1 -0
  95. package/dist/features/ui/stickers/stickers-utils.js +91 -0
  96. package/dist/features/ui/stickers/stickers-utils.js.map +1 -0
  97. package/dist/features/ui/stickers/stickers.js +40 -0
  98. package/dist/features/ui/stickers/stickers.js.map +1 -0
  99. package/dist/index.d.ts +59 -138
  100. package/dist/index.js +467 -485
  101. package/dist/index.js.map +1 -1
  102. package/dist/static/error.cbe1ddde.json +1 -0
  103. package/dist/static/username.9e034d51.json +1 -0
  104. package/package.json +1 -1
  105. package/dist/features/auth/signup-unavailable/signup-unavailable-styled.js +0 -16
  106. package/dist/features/auth/signup-unavailable/signup-unavailable-styled.js.map +0 -1
  107. package/dist/features/auth/signup-unavailable/signup-unavailable-view.js +0 -62
  108. package/dist/features/auth/signup-unavailable/signup-unavailable-view.js.map +0 -1
  109. package/dist/features/auth/signup-unavailable/signup-unavailable.js +0 -17
  110. package/dist/features/auth/signup-unavailable/signup-unavailable.js.map +0 -1
  111. package/dist/features/circle-games/hooks/use-circle-sounds/helper.js +0 -19
  112. package/dist/features/circle-games/hooks/use-circle-sounds/helper.js.map +0 -1
  113. package/dist/features/circle-games/sign-up/api/use-update-username-api/use-update-username-api.js +0 -9
  114. package/dist/features/circle-games/sign-up/api/use-update-username-api/use-update-username-api.js.map +0 -1
  115. package/dist/features/circle-games/sign-up/dal/update-username-dal/update-username-dal.js +0 -38
  116. package/dist/features/circle-games/sign-up/dal/update-username-dal/update-username-dal.js.map +0 -1
  117. package/dist/features/parent-dashboard/api/get-student-profile-summary.js +0 -9
  118. package/dist/features/parent-dashboard/api/get-student-profile-summary.js.map +0 -1
  119. package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction-styled.js +0 -10
  120. package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction-styled.js.map +0 -1
  121. package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js +0 -42
  122. package/dist/features/parent-dashboard/comps/pla-first-session-introduction/pla-first-session-introduction.js.map +0 -1
  123. package/dist/features/parent-dashboard/hooks/use-student-profile-summary-data.js +0 -24
  124. package/dist/features/parent-dashboard/hooks/use-student-profile-summary-data.js.map +0 -1
  125. package/dist/features/parent-dashboard/hooks/use-switch-user-journey.js +0 -71
  126. package/dist/features/parent-dashboard/hooks/use-switch-user-journey.js.map +0 -1
  127. package/dist/features/parent-dashboard/modals/help-and-support/help-and-support.js +0 -40
  128. package/dist/features/parent-dashboard/modals/help-and-support/help-and-support.js.map +0 -1
  129. package/dist/features/parent-dashboard/modals/student-login-info/student-login-info.js +0 -44
  130. package/dist/features/parent-dashboard/modals/student-login-info/student-login-info.js.map +0 -1
  131. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-helpers.js +0 -32
  132. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-helpers.js.map +0 -1
  133. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js +0 -12
  134. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.js.map +0 -1
  135. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js +0 -44
  136. package/dist/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.js.map +0 -1
  137. package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js +0 -13
  138. package/dist/features/parent-dashboard/modals/trial-report/trial-report-styled.js.map +0 -1
  139. package/dist/features/parent-dashboard/modals/trial-report/trial-report.js +0 -28
  140. package/dist/features/parent-dashboard/modals/trial-report/trial-report.js.map +0 -1
  141. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-constants.js +0 -43
  142. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-constants.js.map +0 -1
  143. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js +0 -59
  144. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change-styled.js.map +0 -1
  145. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change.js +0 -86
  146. package/dist/features/parent-dashboard/modals/tutor-change/tutor-change.js.map +0 -1
  147. package/dist/features/stickers/constants.js +0 -235
  148. package/dist/features/stickers/constants.js.map +0 -1
  149. package/dist/features/stickers/sticker-selector/comps/sticker/sticker-styled.js.map +0 -1
  150. package/dist/features/stickers/sticker-selector/comps/sticker/sticker.js +0 -49
  151. package/dist/features/stickers/sticker-selector/comps/sticker/sticker.js.map +0 -1
  152. package/dist/features/stickers/sticker-selector/comps/stiker-selector-grid/sticker-selector-grid-styled.js +0 -28
  153. package/dist/features/stickers/sticker-selector/comps/stiker-selector-grid/sticker-selector-grid-styled.js.map +0 -1
  154. package/dist/features/stickers/sticker-selector/comps/stiker-selector-grid/sticker-selector-grid.js +0 -26
  155. package/dist/features/stickers/sticker-selector/comps/stiker-selector-grid/sticker-selector-grid.js.map +0 -1
  156. package/dist/features/stickers/sticker-selector/sticker-selector-styled.js +0 -13
  157. package/dist/features/stickers/sticker-selector/sticker-selector-styled.js.map +0 -1
  158. package/dist/features/stickers/sticker-selector/sticker-selector.js +0 -86
  159. package/dist/features/stickers/sticker-selector/sticker-selector.js.map +0 -1
  160. package/dist/features/stickers/stickers-effects/stickers-effects-animations.js +0 -82
  161. package/dist/features/stickers/stickers-effects/stickers-effects-animations.js.map +0 -1
  162. package/dist/features/stickers/stickers-effects/stickers-effects-cache.js +0 -19
  163. package/dist/features/stickers/stickers-effects/stickers-effects-cache.js.map +0 -1
  164. package/dist/features/stickers/stickers-effects/stickers-effects-helper.js +0 -105
  165. package/dist/features/stickers/stickers-effects/stickers-effects-helper.js.map +0 -1
  166. package/dist/features/stickers/stickers-effects/stickers-effects-styled.js +0 -37
  167. package/dist/features/stickers/stickers-effects/stickers-effects-styled.js.map +0 -1
  168. package/dist/features/stickers/stickers-effects/stickers-effects.js +0 -67
  169. package/dist/features/stickers/stickers-effects/stickers-effects.js.map +0 -1
  170. package/dist/static/error.dd744fa5.json +0 -1
  171. package/dist/static/username.2c755605.json +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"help-and-support.js","sources":["../../../../../src/features/parent-dashboard/modals/help-and-support/help-and-support.tsx"],"sourcesContent":["import { memo, useCallback } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport TextButton from '../../../ui/buttons/text-button/text-button';\nimport Image from '../../../ui/image/image';\nimport FlexView from '../../../ui/layout/flex-view';\nimport useModalActions from '../../../ui/modals/use-modal-actions';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport { EDeviceType } from '../../../ui/theme/constants';\n\nconst PLAHelpAndSupport = ({}) => {\n const { device } = useTheme();\n const isMobile = device <= EDeviceType.MOBILE;\n const { closeModal } = useModalActions();\n\n const handleClick = useCallback(() => {\n closeModal();\n }, [closeModal]);\n\n return (\n <FlexView\n $gutterX={isMobile ? 1.5 : 2.5}\n $gapX={isMobile ? 1.5 : 2.5}\n $width={isMobile ? '100%' : 560}\n $background=\"BLACK_2\"\n $borderColor=\"BLACK_5\"\n >\n <Image src={ILLUSTRATIONS.HANDSHAKE_GREEN} width={64} height={64} />\n <Separator heightX={1} />\n <Text $renderAs=\"ah4-bold\" $renderOnMobileAs=\"ab1-bold\" $color=\"GREEN_4\">\n Have questions?\n </Text>\n <Separator heightX={1} />\n <Text $renderAs=\"ub1\" $renderOnMobileAs=\"ub2\" $color=\"WHITE_1\">\n Please reach out to our admissions team at\n </Text>\n <a href=\"mailto:admissions@cuemath.com\">\n <Text $renderAs=\"ub1-bold\" $inline $color=\"WHITE_1\" $textDecoration=\"underline\">\n admissions@cuemath.com\n </Text>\n </a>\n <Separator heightX={2.5} />\n <TextButton label=\"Got it\" color=\"WHITE\" onClick={handleClick} size=\"medium\" />\n </FlexView>\n );\n};\n\nexport default memo(PLAHelpAndSupport);\n"],"names":["PLAHelpAndSupport","device","useTheme","isMobile","EDeviceType","closeModal","useModalActions","handleClick","useCallback","jsxs","FlexView","jsx","Image","ILLUSTRATIONS","Separator","Text","TextButton","helpAndSupport","memo"],"mappings":";;;;;;;;;;;AAYA,MAAMA,IAAoB,CAAC,CAAA,MAAO;AAC1B,QAAA,EAAE,QAAAC,MAAWC,KACbC,IAAWF,KAAUG,EAAY,QACjC,EAAE,YAAAC,MAAeC,KAEjBC,IAAcC,EAAY,MAAM;AACzB,IAAAH;EAAA,GACV,CAACA,CAAU,CAAC;AAGb,SAAA,gBAAAI;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAUP,IAAW,MAAM;AAAA,MAC3B,OAAOA,IAAW,MAAM;AAAA,MACxB,QAAQA,IAAW,SAAS;AAAA,MAC5B,aAAY;AAAA,MACZ,cAAa;AAAA,MAEb,UAAA;AAAA,QAAA,gBAAAQ,EAACC,KAAM,KAAKC,EAAc,iBAAiB,OAAO,IAAI,QAAQ,IAAI;AAAA,QAClE,gBAAAF,EAACG,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,QACvB,gBAAAH,EAACI,KAAK,WAAU,YAAW,mBAAkB,YAAW,QAAO,WAAU,UAEzE,kBAAA,CAAA;AAAA,QACA,gBAAAJ,EAACG,GAAU,EAAA,SAAS,EAAG,CAAA;AAAA,QACvB,gBAAAH,EAACI,KAAK,WAAU,OAAM,mBAAkB,OAAM,QAAO,WAAU,UAE/D,6CAAA,CAAA;AAAA,QACC,gBAAAJ,EAAA,KAAA,EAAE,MAAK,iCACN,4BAACI,GAAK,EAAA,WAAU,YAAW,SAAO,IAAC,QAAO,WAAU,iBAAgB,aAAY,mCAEhF,CAAA,GACF;AAAA,QACA,gBAAAJ,EAACG,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,QACzB,gBAAAH,EAACK,KAAW,OAAM,UAAS,OAAM,SAAQ,SAAST,GAAa,MAAK,SAAS,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGnF,GAEeU,IAAAC,EAAKlB,CAAiB;"}
@@ -1,44 +0,0 @@
1
- import { jsxs as i, jsx as o } from "react/jsx-runtime";
2
- import { memo as m, useCallback as a } from "react";
3
- import { useTheme as u } from "styled-components";
4
- import $ from "../../../ui/buttons/text-button/text-button.js";
5
- import h from "../../../ui/layout/flex-view.js";
6
- import p from "../../../ui/modals/use-modal-actions.js";
7
- import b from "../../../ui/modals/use-modal-params.js";
8
- import l from "../../../ui/separator/separator.js";
9
- import e from "../../../ui/text/text.js";
10
- import { EDeviceType as f } from "../../../ui/theme/constants.js";
11
- const g = () => {
12
- const { device: d } = u(), r = d <= f.MOBILE, { closeModal: t } = p(), { username: c, onAcknowledge: n } = b(), s = a(() => {
13
- t(), n();
14
- }, [t, n]);
15
- return /* @__PURE__ */ i(
16
- h,
17
- {
18
- $gutterX: r ? 1.5 : 2.5,
19
- $gapX: r ? 1.5 : 2.5,
20
- $width: r ? "100%" : 570,
21
- $background: "BLACK_2",
22
- $borderColor: "BLACK_5",
23
- children: [
24
- /* @__PURE__ */ o(e, { $renderAs: "ah4-bold", $renderOnMobileAs: "ab1-bold", $color: "WHITE_1", children: "Student login created" }),
25
- /* @__PURE__ */ o(l, { heightX: 0.75 }),
26
- /* @__PURE__ */ i(e, { $renderAs: "ub1", $color: "WHITE_1", children: [
27
- "Your child can directly login to",
28
- " ",
29
- /* @__PURE__ */ o(e, { $renderAs: "ub1-bold", $color: "WHITE_1", $inline: !0, children: "leap.cuemath.com" }),
30
- " ",
31
- "using “",
32
- /* @__PURE__ */ o(e, { $renderAs: "ub1", $inline: !0, $color: "GREEN_4", children: `${c}` }),
33
- "” as both username and password."
34
- ] }),
35
- /* @__PURE__ */ o(l, { heightX: 2.5 }),
36
- /* @__PURE__ */ o($, { label: "Got it", color: "WHITE", onClick: s, size: "medium" })
37
- ]
38
- }
39
- );
40
- }, w = m(g);
41
- export {
42
- w as default
43
- };
44
- //# sourceMappingURL=student-login-info.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"student-login-info.js","sources":["../../../../../src/features/parent-dashboard/modals/student-login-info/student-login-info.tsx"],"sourcesContent":["import { memo, useCallback } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport TextButton from '../../../ui/buttons/text-button/text-button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport useModalActions from '../../../ui/modals/use-modal-actions';\nimport useModalParams from '../../../ui/modals/use-modal-params';\nimport Separator from '../../../ui/separator/separator';\nimport Text from '../../../ui/text/text';\nimport { EDeviceType } from '../../../ui/theme/constants';\n\nconst StudentLoginInfoModal = () => {\n const { device } = useTheme();\n const isMobile = device <= EDeviceType.MOBILE;\n const { closeModal } = useModalActions();\n const { username, onAcknowledge } = useModalParams<{\n username: string;\n onAcknowledge: () => void;\n }>();\n\n const handleClick = useCallback(() => {\n closeModal();\n onAcknowledge();\n }, [closeModal, onAcknowledge]);\n\n return (\n <FlexView\n $gutterX={isMobile ? 1.5 : 2.5}\n $gapX={isMobile ? 1.5 : 2.5}\n $width={isMobile ? '100%' : 570}\n $background=\"BLACK_2\"\n $borderColor=\"BLACK_5\"\n >\n <Text $renderAs=\"ah4-bold\" $renderOnMobileAs=\"ab1-bold\" $color=\"WHITE_1\">\n Student login created\n </Text>\n <Separator heightX={0.75} />\n <Text $renderAs=\"ub1\" $color=\"WHITE_1\">\n Your child can directly login to{' '}\n <Text $renderAs=\"ub1-bold\" $color=\"WHITE_1\" $inline>\n leap.cuemath.com\n </Text>{' '}\n using “<Text $renderAs=\"ub1\" $inline $color=\"GREEN_4\">{`${username}`}</Text>” as both\n username and password.\n </Text>\n <Separator heightX={2.5} />\n <TextButton label=\"Got it\" color=\"WHITE\" onClick={handleClick} size=\"medium\" />\n </FlexView>\n );\n};\n\nexport default memo(StudentLoginInfoModal);\n"],"names":["StudentLoginInfoModal","device","useTheme","isMobile","EDeviceType","closeModal","useModalActions","username","onAcknowledge","useModalParams","handleClick","useCallback","jsxs","FlexView","jsx","Text","Separator","TextButton","studentLoginInfo","memo"],"mappings":";;;;;;;;;;AAWA,MAAMA,IAAwB,MAAM;AAC5B,QAAA,EAAE,QAAAC,MAAWC,KACbC,IAAWF,KAAUG,EAAY,QACjC,EAAE,YAAAC,MAAeC,KACjB,EAAE,UAAAC,GAAU,eAAAC,EAAc,IAAIC,EAGjC,GAEGC,IAAcC,EAAY,MAAM;AACzB,IAAAN,KACGG;EAAA,GACb,CAACH,GAAYG,CAAa,CAAC;AAG5B,SAAA,gBAAAI;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,UAAUV,IAAW,MAAM;AAAA,MAC3B,OAAOA,IAAW,MAAM;AAAA,MACxB,QAAQA,IAAW,SAAS;AAAA,MAC5B,aAAY;AAAA,MACZ,cAAa;AAAA,MAEb,UAAA;AAAA,QAAA,gBAAAW,EAACC,KAAK,WAAU,YAAW,mBAAkB,YAAW,QAAO,WAAU,UAEzE,wBAAA,CAAA;AAAA,QACA,gBAAAD,EAACE,GAAU,EAAA,SAAS,KAAM,CAAA;AAAA,QACzB,gBAAAJ,EAAAG,GAAA,EAAK,WAAU,OAAM,QAAO,WAAU,UAAA;AAAA,UAAA;AAAA,UACJ;AAAA,UACjC,gBAAAD,EAACC,KAAK,WAAU,YAAW,QAAO,WAAU,SAAO,IAAC,UAEpD,mBAAA,CAAA;AAAA,UAAQ;AAAA,UAAI;AAAA,UACL,gBAAAD,EAACC,GAAK,EAAA,WAAU,OAAM,SAAO,IAAC,QAAO,WAAW,UAAG,GAAAR,CAAQ,GAAG,CAAA;AAAA,UAAO;AAAA,QAAA,GAE9E;AAAA,QACA,gBAAAO,EAACE,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,QACzB,gBAAAF,EAACG,KAAW,OAAM,UAAS,OAAM,SAAQ,SAASP,GAAa,MAAK,SAAS,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGnF,GAEeQ,IAAAC,EAAKnB,CAAqB;"}
@@ -1,32 +0,0 @@
1
- import { PREFERENCE_CATEGORY as t, COURSE_STREAMS as S } from "../../../milestone/constants.js";
2
- import { getPreferencesFromConfig as v } from "../../../milestone/create/milestone-create-helpers.js";
3
- import { GOAL_MAPPING as C } from "../../../trial-session/comps/student-profile/constant.js";
4
- const A = (f, c) => {
5
- var a, p, P;
6
- const o = {
7
- studentLevel: "",
8
- studentObjectives: [],
9
- learningPlan: [],
10
- levelPreference: ""
11
- };
12
- if (!f || !c) return o;
13
- const s = ((a = c.student_preferences) == null ? void 0 : a.preferences) ?? [], d = c.user_milestone_data ?? [];
14
- if (s.length === 0) return o;
15
- const l = (e) => s.find((n) => n.preference_category === e), m = (e) => s.filter((n) => n.preference_category === e), i = l(t.POSITION), u = ((p = l(t.LEVEL)) == null ? void 0 : p.preference_name) ?? "", E = m(t.OBJECTIVES), r = i ? (P = v(f, {
16
- grade: "",
17
- courseStream: S.MATH,
18
- preferenceCategory: t.POSITION
19
- })) == null ? void 0 : P.find(({ id: e }) => e === i.preference_code) : null, _ = r != null && r.label && (r != null && r.description) ? `${r.label}: ${r.description}` : "", g = E.map((e) => e.preference_name), O = d.map(
20
- ({ goal_category: e, milestone_name: n }) => `${C[e]}: ${n}`
21
- );
22
- return {
23
- studentLevel: _,
24
- studentObjectives: g,
25
- learningPlan: O,
26
- levelPreference: u
27
- };
28
- };
29
- export {
30
- A as getLearningProfileSummary
31
- };
32
- //# sourceMappingURL=student-profile-summary-helpers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"student-profile-summary-helpers.js","sources":["../../../../../src/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-helpers.ts"],"sourcesContent":["import type {\n IMilestoneConfig,\n TGoalCategory,\n TPreferenceCategory,\n} from '../../../milestone/create/milestone-create-types';\nimport type { IStudentProfileSummaryResponse } from '../../api/get-student-profile-summary';\nimport type { IStudentProfileSummary } from '../../parent-dashboard-types';\n\nimport { COURSE_STREAMS, PREFERENCE_CATEGORY } from '../../../milestone/constants';\nimport { getPreferencesFromConfig } from '../../../milestone/create/milestone-create-helpers';\nimport { GOAL_MAPPING } from '../../../trial-session/comps/student-profile/constant';\n\nexport const getLearningProfileSummary = (\n configData?: IMilestoneConfig,\n summaryData?: IStudentProfileSummaryResponse,\n): IStudentProfileSummary => {\n const defaultSummary: IStudentProfileSummary = {\n studentLevel: '',\n studentObjectives: [],\n learningPlan: [],\n levelPreference: '',\n };\n\n if (!configData || !summaryData) return defaultSummary;\n\n const preferences = summaryData.student_preferences?.preferences ?? [];\n const userMilestoneData = summaryData.user_milestone_data ?? [];\n\n if (preferences.length === 0) return defaultSummary;\n\n const findPref = (category: TPreferenceCategory) =>\n preferences.find(p => p.preference_category === category);\n\n const filterPrefs = (category: TPreferenceCategory) =>\n preferences.filter(p => p.preference_category === category);\n\n const positionPref = findPref(PREFERENCE_CATEGORY.POSITION);\n const levelPreference = findPref(PREFERENCE_CATEGORY.LEVEL)?.preference_name ?? '';\n const objectivePrefs = filterPrefs(PREFERENCE_CATEGORY.OBJECTIVES);\n\n const positionInfo = positionPref\n ? getPreferencesFromConfig(configData, {\n grade: '',\n courseStream: COURSE_STREAMS.MATH,\n preferenceCategory: PREFERENCE_CATEGORY.POSITION,\n })?.find(({ id }) => id === positionPref.preference_code)\n : null;\n\n const studentLevel =\n positionInfo?.label && positionInfo?.description\n ? `${positionInfo.label}: ${positionInfo.description}`\n : '';\n\n const studentObjectives = objectivePrefs.map(p => p.preference_name);\n\n const learningPlan = userMilestoneData.map(\n ({ goal_category, milestone_name }) =>\n `${GOAL_MAPPING[goal_category as TGoalCategory]}: ${milestone_name}`,\n );\n\n return {\n studentLevel,\n studentObjectives,\n learningPlan,\n levelPreference,\n };\n};\n"],"names":["getLearningProfileSummary","configData","summaryData","defaultSummary","preferences","_a","userMilestoneData","findPref","category","p","filterPrefs","positionPref","PREFERENCE_CATEGORY","levelPreference","_b","objectivePrefs","positionInfo","_c","getPreferencesFromConfig","COURSE_STREAMS","id","studentLevel","studentObjectives","learningPlan","goal_category","milestone_name","GOAL_MAPPING"],"mappings":";;;AAYa,MAAAA,IAA4B,CACvCC,GACAC,MAC2B;;AAC3B,QAAMC,IAAyC;AAAA,IAC7C,cAAc;AAAA,IACd,mBAAmB,CAAC;AAAA,IACpB,cAAc,CAAC;AAAA,IACf,iBAAiB;AAAA,EAAA;AAGnB,MAAI,CAACF,KAAc,CAACC,EAAoB,QAAAC;AAExC,QAAMC,MAAcC,IAAAH,EAAY,wBAAZ,gBAAAG,EAAiC,gBAAe,CAAA,GAC9DC,IAAoBJ,EAAY,uBAAuB;AAEzD,MAAAE,EAAY,WAAW,EAAU,QAAAD;AAE/B,QAAAI,IAAW,CAACC,MAChBJ,EAAY,KAAK,CAAKK,MAAAA,EAAE,wBAAwBD,CAAQ,GAEpDE,IAAc,CAACF,MACnBJ,EAAY,OAAO,CAAKK,MAAAA,EAAE,wBAAwBD,CAAQ,GAEtDG,IAAeJ,EAASK,EAAoB,QAAQ,GACpDC,MAAkBC,IAAAP,EAASK,EAAoB,KAAK,MAAlC,gBAAAE,EAAqC,oBAAmB,IAC1EC,IAAiBL,EAAYE,EAAoB,UAAU,GAE3DI,IAAeL,KACjBM,IAAAC,EAAyBjB,GAAY;AAAA,IACnC,OAAO;AAAA,IACP,cAAckB,EAAe;AAAA,IAC7B,oBAAoBP,EAAoB;AAAA,EAAA,CACzC,MAJD,gBAAAK,EAII,KAAK,CAAC,EAAE,IAAAG,QAASA,MAAOT,EAAa,mBACzC,MAEEU,IACJL,KAAA,QAAAA,EAAc,UAASA,KAAA,QAAAA,EAAc,eACjC,GAAGA,EAAa,KAAK,KAAKA,EAAa,WAAW,KAClD,IAEAM,IAAoBP,EAAe,IAAI,CAAAN,MAAKA,EAAE,eAAe,GAE7Dc,IAAejB,EAAkB;AAAA,IACrC,CAAC,EAAE,eAAAkB,GAAe,gBAAAC,EAAe,MAC/B,GAAGC,EAAaF,CAA8B,CAAC,KAAKC,CAAc;AAAA,EAAA;AAG/D,SAAA;AAAA,IACL,cAAAJ;AAAA,IACA,mBAAAC;AAAA,IACA,cAAAC;AAAA,IACA,iBAAAV;AAAA,EAAA;AAEJ;"}
@@ -1,12 +0,0 @@
1
- import t from "styled-components";
2
- import e from "../../../ui/layout/flex-view.js";
3
- const r = t(e)`
4
- width: 100%;
5
- ${({ theme: i }) => i.mediaQueries.minWidthTablet} {
6
- max-width: 560px;
7
- }
8
- `;
9
- export {
10
- r as Container
11
- };
12
- //# sourceMappingURL=student-profile-summary-styled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"student-profile-summary-styled.js","sources":["../../../../../src/features/parent-dashboard/modals/student-profile-summary/student-profile-summary-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const Container = styled(FlexView)`\n width: 100%;\n ${({ theme }) => theme.mediaQueries.minWidthTablet} {\n max-width: 560px;\n }\n`;\n"],"names":["Container","styled","FlexView","theme"],"mappings":";;AAIa,MAAAA,IAAYC,EAAOC,CAAQ;AAAA;AAAA,IAEpC,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,aAAa,cAAc;AAAA;AAAA;AAAA;"}
@@ -1,44 +0,0 @@
1
- import { jsx as t, jsxs as a } from "react/jsx-runtime";
2
- import { memo as d, useMemo as u } from "react";
3
- import { useTheme as c } from "styled-components";
4
- import { ILLUSTRATIONS as r } from "../../../../assets/illustrations/illustrations.js";
5
- import p from "../../../trial-session/comps/student-profile/student-profile-highlights/student-profile-highlights.js";
6
- import f from "../../../ui/layout/flex-view.js";
7
- import E from "../../../ui/loader/app-loader/app-loader.js";
8
- import L from "../../../ui/modals/use-modal-params.js";
9
- import g from "../../../ui/text/text.js";
10
- import { EDeviceType as h } from "../../../ui/theme/constants.js";
11
- import { Container as P } from "./student-profile-summary-styled.js";
12
- const _ = () => {
13
- const { studentName: o, summaryData: e } = L(), i = c().device <= h.MOBILE, n = u(() => {
14
- const { studentLevel: m, studentObjectives: s = "", learningPlan: l = "" } = e ?? {};
15
- return [
16
- {
17
- title: "Student Level",
18
- description: m,
19
- illustration: r.KNOWLEDGE_BLUE,
20
- background: "BLUE_1"
21
- },
22
- {
23
- illustration: r.ARROW_BOARD_GREEN,
24
- background: "GREEN_1",
25
- title: "Goals",
26
- description: s
27
- },
28
- {
29
- illustration: r.BOOK_CHECKED_PURPLE,
30
- background: "PURPLE_1",
31
- title: "Learning Plan",
32
- description: l
33
- }
34
- ];
35
- }, [e]);
36
- return e ? /* @__PURE__ */ a(P, { $borderColor: "BLACK_1", children: [
37
- i && /* @__PURE__ */ t(f, { $gutterX: 1, $gapX: 1.5, $background: "BLACK_2", children: /* @__PURE__ */ t(g, { $renderAs: "ab1-bold", $color: "WHITE_1", children: `${o}'s Profile` }) }),
38
- /* @__PURE__ */ t(p, { profileHighlights: n })
39
- ] }) : /* @__PURE__ */ t(E, { height: 200, width: 200 });
40
- }, K = d(_);
41
- export {
42
- K as default
43
- };
44
- //# sourceMappingURL=student-profile-summary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"student-profile-summary.js","sources":["../../../../../src/features/parent-dashboard/modals/student-profile-summary/student-profile-summary.tsx"],"sourcesContent":["import type { IStudentProfileSummary } from '../../parent-dashboard-types';\nimport type { TProfileHighlight } from './student-profile-summary-types';\n\nimport { useMemo, memo } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport { ILLUSTRATIONS } from '../../../../assets/illustrations/illustrations';\nimport StudentProfileHighlights from '../../../trial-session/comps/student-profile/student-profile-highlights/student-profile-highlights';\nimport FlexView from '../../../ui/layout/flex-view';\nimport AppLoader from '../../../ui/loader/app-loader/app-loader';\nimport useModalParams from '../../../ui/modals/use-modal-params';\nimport Text from '../../../ui/text/text';\nimport { EDeviceType } from '../../../ui/theme/constants';\nimport * as Styled from './student-profile-summary-styled';\n\nconst StudentProfileSummary = () => {\n const { studentName, summaryData } = useModalParams<{\n studentName: string;\n summaryData: IStudentProfileSummary;\n }>();\n const theme = useTheme();\n const isMobile = theme.device <= EDeviceType.MOBILE;\n\n const profileHighlights: TProfileHighlight[] = useMemo(() => {\n const { studentLevel, studentObjectives = '', learningPlan = '' } = summaryData ?? {};\n\n return [\n {\n title: 'Student Level',\n description: studentLevel,\n illustration: ILLUSTRATIONS.KNOWLEDGE_BLUE,\n background: 'BLUE_1',\n },\n {\n illustration: ILLUSTRATIONS.ARROW_BOARD_GREEN,\n background: 'GREEN_1',\n title: 'Goals',\n description: studentObjectives,\n },\n {\n illustration: ILLUSTRATIONS.BOOK_CHECKED_PURPLE,\n background: 'PURPLE_1',\n title: 'Learning Plan',\n description: learningPlan,\n },\n ];\n }, [summaryData]);\n\n if (!summaryData) {\n return <AppLoader height={200} width={200} />;\n }\n\n return (\n <Styled.Container $borderColor=\"BLACK_1\">\n {isMobile && (\n <FlexView $gutterX={1} $gapX={1.5} $background=\"BLACK_2\">\n <Text $renderAs=\"ab1-bold\" $color=\"WHITE_1\">{`${studentName}'s Profile`}</Text>\n </FlexView>\n )}\n <StudentProfileHighlights profileHighlights={profileHighlights} />\n </Styled.Container>\n );\n};\n\nexport default memo(StudentProfileSummary);\n"],"names":["StudentProfileSummary","studentName","summaryData","useModalParams","isMobile","useTheme","EDeviceType","profileHighlights","useMemo","studentLevel","studentObjectives","learningPlan","ILLUSTRATIONS","jsxs","Styled.Container","FlexView","jsx","Text","StudentProfileHighlights","AppLoader","studentProfileSummary","memo"],"mappings":";;;;;;;;;;;AAeA,MAAMA,IAAwB,MAAM;AAClC,QAAM,EAAE,aAAAC,GAAa,aAAAC,EAAY,IAAIC,EAGlC,GAEGC,IADQC,IACS,UAAUC,EAAY,QAEvCC,IAAyCC,EAAQ,MAAM;AACrD,UAAA,EAAE,cAAAC,GAAc,mBAAAC,IAAoB,IAAI,cAAAC,IAAe,GAAG,IAAIT,KAAe;AAE5E,WAAA;AAAA,MACL;AAAA,QACE,OAAO;AAAA,QACP,aAAaO;AAAA,QACb,cAAcG,EAAc;AAAA,QAC5B,YAAY;AAAA,MACd;AAAA,MACA;AAAA,QACE,cAAcA,EAAc;AAAA,QAC5B,YAAY;AAAA,QACZ,OAAO;AAAA,QACP,aAAaF;AAAA,MACf;AAAA,MACA;AAAA,QACE,cAAcE,EAAc;AAAA,QAC5B,YAAY;AAAA,QACZ,OAAO;AAAA,QACP,aAAaD;AAAA,MACf;AAAA,IAAA;AAAA,EACF,GACC,CAACT,CAAW,CAAC;AAEhB,SAAKA,IAKF,gBAAAW,EAAAC,GAAA,EAAiB,cAAa,WAC5B,UAAA;AAAA,IAAAV,uBACEW,GAAS,EAAA,UAAU,GAAG,OAAO,KAAK,aAAY,WAC7C,UAAC,gBAAAC,EAAAC,GAAA,EAAK,WAAU,YAAW,QAAO,WAAW,UAAG,GAAAhB,CAAW,cAAa,EAC1E,CAAA;AAAA,IAEF,gBAAAe,EAACE,KAAyB,mBAAAX,GAAsC;AAAA,EAClE,EAAA,CAAA,IAXQ,gBAAAS,EAAAG,GAAA,EAAU,QAAQ,KAAK,OAAO,IAAK,CAAA;AAa/C,GAEeC,IAAAC,EAAKrB,CAAqB;"}
@@ -1,13 +0,0 @@
1
- import t from "styled-components";
2
- import e from "../../../ui/layout/flex-view.js";
3
- const r = t(e)`
4
- width: 100%;
5
- max-height: 90vh;
6
- ${({ theme: i }) => i.mediaQueries.minWidthTablet} {
7
- max-width: 720px;
8
- }
9
- `;
10
- export {
11
- r as Container
12
- };
13
- //# sourceMappingURL=trial-report-styled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"trial-report-styled.js","sources":["../../../../../src/features/parent-dashboard/modals/trial-report/trial-report-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const Container = styled(FlexView)`\n width: 100%;\n max-height: 90vh;\n ${({ theme }) => theme.mediaQueries.minWidthTablet} {\n max-width: 720px;\n }\n`;\n"],"names":["Container","styled","FlexView","theme"],"mappings":";;AAIa,MAAAA,IAAYC,EAAOC,CAAQ;AAAA;AAAA;AAAA,IAGpC,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,aAAa,cAAc;AAAA;AAAA;AAAA;"}
@@ -1,28 +0,0 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { memo as p, useCallback as f, useEffect as d } from "react";
3
- import { useGetSessionReports as u } from "../../../trial-session/api/trial-home.js";
4
- import l from "../../../trial-session/comps/session-report/report-information/report-information.js";
5
- import c from "../../../ui/error/error.js";
6
- import h from "../../../ui/loader/app-loader/app-loader.js";
7
- import g from "../../../ui/modals/use-modal-params.js";
8
- import { Container as R } from "./trial-report-styled.js";
9
- const C = () => {
10
- const { studentName: t, attemptId: r, studentLevel: s } = g(), {
11
- get: i,
12
- isProcessingFailed: m,
13
- data: n,
14
- isProcessing: a
15
- } = u(), o = f(() => {
16
- r && t && i(r, {
17
- student_level: s,
18
- student_name: t
19
- });
20
- }, [r, i, s, t]);
21
- return d(() => {
22
- o();
23
- }, [o]), m ? /* @__PURE__ */ e(c, { height: "50vh", onTryAgain: o }) : a || !n ? /* @__PURE__ */ e(h, { height: 200, width: 200 }) : /* @__PURE__ */ e(R, { $borderColor: "BLACK_1", children: /* @__PURE__ */ e(l, { sessionReports: n, studentName: t }) });
24
- }, E = p(C);
25
- export {
26
- E as default
27
- };
28
- //# sourceMappingURL=trial-report.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"trial-report.js","sources":["../../../../../src/features/parent-dashboard/modals/trial-report/trial-report.tsx"],"sourcesContent":["import { memo, useCallback, useEffect } from 'react';\n\nimport { useGetSessionReports } from '../../../trial-session/api/trial-home';\nimport ReportInformation from '../../../trial-session/comps/session-report/report-information/report-information';\nimport Error from '../../../ui/error/error';\nimport AppLoader from '../../../ui/loader/app-loader/app-loader';\nimport useModalParams from '../../../ui/modals/use-modal-params';\nimport * as Styled from './trial-report-styled';\n\nconst StudentTrialReport = () => {\n const { studentName, attemptId, studentLevel } = useModalParams<{\n studentName: string;\n attemptId: string;\n studentLevel: string;\n }>();\n\n const {\n get: getSessionReports,\n isProcessingFailed,\n data: sessionReports,\n isProcessing,\n } = useGetSessionReports();\n\n const fetchData = useCallback(() => {\n if (attemptId && studentName) {\n getSessionReports(attemptId, {\n student_level: studentLevel,\n student_name: studentName,\n });\n }\n }, [attemptId, getSessionReports, studentLevel, studentName]);\n\n useEffect(() => {\n fetchData();\n }, [fetchData]);\n\n if (isProcessingFailed) {\n return <Error height=\"50vh\" onTryAgain={fetchData} />;\n }\n\n if (isProcessing || !sessionReports) {\n return <AppLoader height={200} width={200} />;\n }\n\n return (\n <Styled.Container $borderColor=\"BLACK_1\">\n <ReportInformation sessionReports={sessionReports} studentName={studentName} />\n </Styled.Container>\n );\n};\n\nexport default memo(StudentTrialReport);\n"],"names":["StudentTrialReport","studentName","attemptId","studentLevel","useModalParams","getSessionReports","isProcessingFailed","sessionReports","isProcessing","useGetSessionReports","fetchData","useCallback","useEffect","jsx","Error","AppLoader","Styled.Container","ReportInformation","trialReport","memo"],"mappings":";;;;;;;;AASA,MAAMA,IAAqB,MAAM;AAC/B,QAAM,EAAE,aAAAC,GAAa,WAAAC,GAAW,cAAAC,MAAiBC,EAI9C,GAEG;AAAA,IACJ,KAAKC;AAAA,IACL,oBAAAC;AAAA,IACA,MAAMC;AAAA,IACN,cAAAC;AAAA,MACEC,EAAqB,GAEnBC,IAAYC,EAAY,MAAM;AAClC,IAAIT,KAAaD,KACfI,EAAkBH,GAAW;AAAA,MAC3B,eAAeC;AAAA,MACf,cAAcF;AAAA,IAAA,CACf;AAAA,KAEF,CAACC,GAAWG,GAAmBF,GAAcF,CAAW,CAAC;AAM5D,SAJAW,EAAU,MAAM;AACJ,IAAAF;EAAA,GACT,CAACA,CAAS,CAAC,GAEVJ,IACM,gBAAAO,EAAAC,GAAA,EAAM,QAAO,QAAO,YAAYJ,EAAW,CAAA,IAGjDF,KAAgB,CAACD,IACX,gBAAAM,EAAAE,GAAA,EAAU,QAAQ,KAAK,OAAO,IAAK,CAAA,IAI3C,gBAAAF,EAACG,GAAA,EAAiB,cAAa,WAC7B,UAAC,gBAAAH,EAAAI,GAAA,EAAkB,gBAAAV,GAAgC,aAAAN,EAA0B,CAAA,EAC/E,CAAA;AAEJ,GAEeiB,IAAAC,EAAKnB,CAAkB;"}
@@ -1,43 +0,0 @@
1
- const N = {
2
- CONFUSING_EXPLANATIONS: "CONFUSING_EXPLANATIONS",
3
- WRONG_PACE: "WRONG_PACE",
4
- NOT_ENGAGING: "NOT_ENGAGING",
5
- PERSONALITY_MISMATCH: "PERSONALITY_MISMATCH",
6
- IMPATIENT: "IMPATIENT",
7
- UNCLEAR_COMMUNICATION: "UNCLEAR_COMMUNICATION",
8
- OTHER: "OTHER"
9
- }, A = [
10
- {
11
- id: N.CONFUSING_EXPLANATIONS,
12
- label: "Explanations were confusing"
13
- },
14
- {
15
- id: N.WRONG_PACE,
16
- label: "Moved too fast or slow"
17
- },
18
- {
19
- id: N.NOT_ENGAGING,
20
- label: "Couldn’t keep my child engaged"
21
- },
22
- {
23
- id: N.PERSONALITY_MISMATCH,
24
- label: "Personality didn't click with my child"
25
- },
26
- {
27
- id: N.IMPATIENT,
28
- label: "Wasn’t patient enough"
29
- },
30
- {
31
- id: N.UNCLEAR_COMMUNICATION,
32
- label: "Communication wasn't clear enough"
33
- },
34
- {
35
- id: N.OTHER,
36
- label: "Something else"
37
- }
38
- ];
39
- export {
40
- N as TUTOR_CHANGE_REASON_IDS,
41
- A as changeTutorReasons
42
- };
43
- //# sourceMappingURL=tutor-change-constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tutor-change-constants.js","sources":["../../../../../src/features/parent-dashboard/modals/tutor-change/tutor-change-constants.ts"],"sourcesContent":["export const TUTOR_CHANGE_REASON_IDS = {\n CONFUSING_EXPLANATIONS: 'CONFUSING_EXPLANATIONS',\n WRONG_PACE: 'WRONG_PACE',\n NOT_ENGAGING: 'NOT_ENGAGING',\n PERSONALITY_MISMATCH: 'PERSONALITY_MISMATCH',\n IMPATIENT: 'IMPATIENT',\n UNCLEAR_COMMUNICATION: 'UNCLEAR_COMMUNICATION',\n OTHER: 'OTHER',\n} as const;\n\nexport const changeTutorReasons = [\n {\n id: TUTOR_CHANGE_REASON_IDS.CONFUSING_EXPLANATIONS,\n label: 'Explanations were confusing',\n },\n {\n id: TUTOR_CHANGE_REASON_IDS.WRONG_PACE,\n label: 'Moved too fast or slow',\n },\n {\n id: TUTOR_CHANGE_REASON_IDS.NOT_ENGAGING,\n label: 'Couldn’t keep my child engaged',\n },\n {\n id: TUTOR_CHANGE_REASON_IDS.PERSONALITY_MISMATCH,\n label: `Personality didn't click with my child`,\n },\n {\n id: TUTOR_CHANGE_REASON_IDS.IMPATIENT,\n label: `Wasn’t patient enough`,\n },\n {\n id: TUTOR_CHANGE_REASON_IDS.UNCLEAR_COMMUNICATION,\n label: `Communication wasn't clear enough`,\n },\n {\n id: TUTOR_CHANGE_REASON_IDS.OTHER,\n label: `Something else`,\n },\n];\n"],"names":["TUTOR_CHANGE_REASON_IDS","changeTutorReasons"],"mappings":"AAAO,MAAMA,IAA0B;AAAA,EACrC,wBAAwB;AAAA,EACxB,YAAY;AAAA,EACZ,cAAc;AAAA,EACd,sBAAsB;AAAA,EACtB,WAAW;AAAA,EACX,uBAAuB;AAAA,EACvB,OAAO;AACT,GAEaC,IAAqB;AAAA,EAChC;AAAA,IACE,IAAID,EAAwB;AAAA,IAC5B,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,IAAIA,EAAwB;AAAA,IAC5B,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,IAAIA,EAAwB;AAAA,IAC5B,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,IAAIA,EAAwB;AAAA,IAC5B,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,IAAIA,EAAwB;AAAA,IAC5B,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,IAAIA,EAAwB;AAAA,IAC5B,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,IAAIA,EAAwB;AAAA,IAC5B,OAAO;AAAA,EACT;AACF;"}
@@ -1,59 +0,0 @@
1
- import o from "styled-components";
2
- import t from "../../../ui/layout/flex-view.js";
3
- const s = o(t)`
4
- max-width: 560px;
5
- border: ${({ theme: e }) => `1px solid ${e.colors.BLACK_5}`};
6
- `, x = o(t)`
7
- overflow-y: auto;
8
- max-height: 468px;
9
- ${({ theme: e }) => e.mediaQueries.minWidthTablet} {
10
- max-height: unset;
11
- overflow-y: hidden;
12
- })}
13
- `, h = o(t)`
14
- padding-top: 0;
15
- ${({ theme: e }) => e.mediaQueries.minWidthTablet} {
16
- max-height: 300px;
17
- overflow-y: auto;
18
- })}
19
- `, m = o(t)`
20
- padding-bottom: 24px;
21
- ${({ theme: e }) => e.mediaQueries.minWidthTablet} {
22
- border-top: ${({ theme: e }) => `1px solid ${e.colors.BLACK_5}`};
23
- padding-bottom: 40px;
24
- })}
25
- `, c = o.textarea(({ theme: e }) => {
26
- const {
27
- colors: { WHITE: i, WHITE_T_38: r, BLACK_2: n, BLACK_5: a },
28
- layout: { gutter: p }
29
- } = e;
30
- return `border: 1px solid ${a};
31
- width: 100%;
32
- min-height: ${p * 5}px;
33
- padding: 16px;
34
- background-color: ${n};
35
- white-space: pre-line;
36
- font-family: 'Untitled Sans Regular';
37
- font-weight: 400;
38
- font-size: 14px;
39
- line-height: 24px;
40
- color: ${i};
41
- resize: none;
42
- outline: none;
43
- &::placeholder {
44
- color: ${r};
45
- }
46
-
47
- &:focus {
48
- outline: none;
49
- }
50
- `;
51
- });
52
- export {
53
- s as Container,
54
- h as ContentWrapper,
55
- m as FooterWrapper,
56
- x as OuterWrapper,
57
- c as StyledTextArea
58
- };
59
- //# sourceMappingURL=tutor-change-styled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tutor-change-styled.js","sources":["../../../../../src/features/parent-dashboard/modals/tutor-change/tutor-change-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nexport const Container = styled(FlexView)`\n max-width: 560px;\n border: ${({ theme }) => `1px solid ${theme.colors.BLACK_5}`};\n`;\n\nexport const OuterWrapper = styled(FlexView)`\n overflow-y: auto;\n max-height: 468px;\n ${({ theme }) => theme.mediaQueries.minWidthTablet} {\n max-height: unset;\n overflow-y: hidden;\n })}\n`;\n\nexport const ContentWrapper = styled(FlexView)`\n padding-top: 0;\n ${({ theme }) => theme.mediaQueries.minWidthTablet} {\n max-height: 300px;\n overflow-y: auto;\n })}\n`;\n\nexport const FooterWrapper = styled(FlexView)`\n padding-bottom: 24px;\n ${({ theme }) => theme.mediaQueries.minWidthTablet} {\n border-top: ${({ theme }) => `1px solid ${theme.colors.BLACK_5}`};\n padding-bottom: 40px;\n })}\n`;\n\nexport const StyledTextArea = styled.textarea(({ theme }) => {\n const {\n colors: { WHITE, WHITE_T_38, BLACK_2, BLACK_5 },\n layout: { gutter },\n } = theme;\n\n return `border: 1px solid ${BLACK_5};\n width: 100%;\n min-height: ${gutter * 5}px;\n padding: 16px;\n background-color: ${BLACK_2};\n white-space: pre-line;\n font-family: 'Untitled Sans Regular';\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ${WHITE};\n resize: none;\n outline: none;\n &::placeholder {\n color: ${WHITE_T_38};\n }\n\n &:focus {\n outline: none;\n }\n`;\n});\n"],"names":["Container","styled","FlexView","theme","OuterWrapper","ContentWrapper","FooterWrapper","StyledTextArea","WHITE","WHITE_T_38","BLACK_2","BLACK_5","gutter"],"mappings":";;AAIa,MAAAA,IAAYC,EAAOC,CAAQ;AAAA;AAAA,YAE5B,CAAC,EAAE,OAAAC,EAAM,MAAM,aAAaA,EAAM,OAAO,OAAO,EAAE;AAAA,GAGjDC,IAAeH,EAAOC,CAAQ;AAAA;AAAA;AAAA,IAGvC,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,aAAa,cAAc;AAAA;AAAA;AAAA;AAAA,GAMvCE,IAAiBJ,EAAOC,CAAQ;AAAA;AAAA,IAEzC,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,aAAa,cAAc;AAAA;AAAA;AAAA;AAAA,GAMvCG,IAAgBL,EAAOC,CAAQ;AAAA;AAAA,IAExC,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,aAAa,cAAc;AAAA,kBAClC,CAAC,EAAE,OAAAA,EAAM,MAAM,aAAaA,EAAM,OAAO,OAAO,EAAE;AAAA;AAAA;AAAA,GAKvDI,IAAiBN,EAAO,SAAS,CAAC,EAAE,OAAAE,QAAY;AACrD,QAAA;AAAA,IACJ,QAAQ,EAAE,OAAAK,GAAO,YAAAC,GAAY,SAAAC,GAAS,SAAAC,EAAQ;AAAA,IAC9C,QAAQ,EAAE,QAAAC,EAAO;AAAA,EACf,IAAAT;AAEJ,SAAO,qBAAqBQ,CAAO;AAAA;AAAA,gBAErBC,IAAS,CAAC;AAAA;AAAA,sBAEJF,CAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAMlBF,CAAK;AAAA;AAAA;AAAA;AAAA,aAIHC,CAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOvB,CAAC;"}
@@ -1,86 +0,0 @@
1
- import { jsxs as i, jsx as r } from "react/jsx-runtime";
2
- import { memo as R, useState as p, useRef as w, useCallback as u, useEffect as A } from "react";
3
- import { useTheme as E } from "styled-components";
4
- import O from "../../../auth/comps/pill-button/pill-button.js";
5
- import h from "../../../ui/buttons/text-button/text-button.js";
6
- import I from "../../../ui/layout/flex-view.js";
7
- import X from "../../../ui/modals/use-modal-actions.js";
8
- import S from "../../../ui/modals/use-modal-params.js";
9
- import W from "../../../ui/text/text.js";
10
- import { EDeviceType as k } from "../../../ui/theme/constants.js";
11
- import { changeTutorReasons as M, TUTOR_CHANGE_REASON_IDS as v } from "./tutor-change-constants.js";
12
- import { Container as B, OuterWrapper as H, ContentWrapper as _, StyledTextArea as D, FooterWrapper as y } from "./tutor-change-styled.js";
13
- const G = () => {
14
- const { device: f } = E(), [n, C] = p(""), [l, $] = p(""), o = f <= k.MOBILE, { closeModal: c } = X(), a = w(null), { onContinue: m, demoId: d } = S(), x = u((e) => C(e), []), b = u((e) => {
15
- $(e.target.value);
16
- }, []), t = n === v.OTHER, T = !n || t && !l.trim(), g = u(() => {
17
- c(), m(d, n, t ? l : "");
18
- }, [c, m, d, n, t, l]);
19
- return A(() => {
20
- var e, s;
21
- t && a.current && ((e = a.current) == null || e.scrollIntoView({ behavior: "smooth" }), (s = a.current) == null || s.focus());
22
- }, [t]), /* @__PURE__ */ i(B, { $background: "BLACK_2", $width: "100%", $borderColor: "BLACK_5", children: [
23
- /* @__PURE__ */ i(H, { $flex: 1, children: [
24
- /* @__PURE__ */ r(I, { $gutterX: o ? 1 : 2.5, $gapX: o ? 1.5 : 2.5, children: /* @__PURE__ */ r(W, { $renderAs: "ah4-bold", $renderOnMobileAs: "ab1-bold", $color: "WHITE", children: "What didn't work well with the current tutor?" }) }),
25
- /* @__PURE__ */ i(
26
- _,
27
- {
28
- $flex: 1,
29
- $gutterX: o ? 1 : 2.5,
30
- $gapX: o ? 1 : 2.5,
31
- $width: "100%",
32
- $alignItems: "flex-start",
33
- $flexRowGapX: 1,
34
- children: [
35
- M.map(({ id: e, label: s }) => /* @__PURE__ */ r(
36
- O,
37
- {
38
- selected: n === e,
39
- label: s,
40
- id: e,
41
- onClick: x,
42
- isTransparent: !0
43
- },
44
- e
45
- )),
46
- t && /* @__PURE__ */ r(
47
- D,
48
- {
49
- placeholder: "Tell us more about your experience...",
50
- id: "text-area",
51
- ref: a,
52
- value: l,
53
- onChange: b
54
- }
55
- )
56
- ]
57
- }
58
- )
59
- ] }),
60
- /* @__PURE__ */ i(
61
- y,
62
- {
63
- $gutterX: o ? 1 : 2.5,
64
- $gapX: o ? 1 : 2.5,
65
- $flexDirection: "row",
66
- $flexColumnGapX: 1.5,
67
- children: [
68
- /* @__PURE__ */ r(
69
- h,
70
- {
71
- label: "Continue",
72
- onClick: g,
73
- color: "WHITE",
74
- disabled: T
75
- }
76
- ),
77
- /* @__PURE__ */ r(h, { label: "Close", onClick: c, color: "WHITE" })
78
- ]
79
- }
80
- )
81
- ] });
82
- }, Y = R(G);
83
- export {
84
- Y as default
85
- };
86
- //# sourceMappingURL=tutor-change.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tutor-change.js","sources":["../../../../../src/features/parent-dashboard/modals/tutor-change/tutor-change.tsx"],"sourcesContent":["import type { ITutorChangeModalParams } from './tutor-change-types';\n\nimport { memo, useCallback, useEffect, useRef, useState, type ChangeEvent } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport PillButton from '../../../auth/comps/pill-button/pill-button';\nimport TextButton from '../../../ui/buttons/text-button/text-button';\nimport FlexView from '../../../ui/layout/flex-view';\nimport useModalActions from '../../../ui/modals/use-modal-actions';\nimport useModalParams from '../../../ui/modals/use-modal-params';\nimport Text from '../../../ui/text/text';\nimport { EDeviceType } from '../../../ui/theme/constants';\nimport { TUTOR_CHANGE_REASON_IDS, changeTutorReasons } from './tutor-change-constants';\nimport * as Styled from './tutor-change-styled';\n\nconst TutorChange = () => {\n const { device } = useTheme();\n const [reason, setReason] = useState('');\n const [otherReason, setOtherReason] = useState('');\n const isMobile = device <= EDeviceType.MOBILE;\n const { closeModal } = useModalActions();\n const textAreaRef = useRef<HTMLTextAreaElement | null>(null);\n const { onContinue, demoId } = useModalParams<ITutorChangeModalParams>();\n const handleSelectReason = useCallback((id: string) => setReason(id), []);\n\n const handleOtherReasonChange = useCallback((event: ChangeEvent<HTMLTextAreaElement>) => {\n setOtherReason(event.target.value);\n }, []);\n const isOtherReasonSelected = reason === TUTOR_CHANGE_REASON_IDS.OTHER;\n const isSubmitDisabled = !reason || (isOtherReasonSelected && !otherReason.trim());\n\n const handleContinue = useCallback(() => {\n closeModal();\n onContinue(demoId, reason, isOtherReasonSelected ? otherReason : '');\n }, [closeModal, onContinue, demoId, reason, isOtherReasonSelected, otherReason]);\n\n useEffect(() => {\n if (isOtherReasonSelected && textAreaRef.current) {\n textAreaRef.current?.scrollIntoView({ behavior: 'smooth' });\n textAreaRef.current?.focus();\n }\n }, [isOtherReasonSelected]);\n\n return (\n <Styled.Container $background=\"BLACK_2\" $width=\"100%\" $borderColor=\"BLACK_5\">\n <Styled.OuterWrapper $flex={1}>\n <FlexView $gutterX={isMobile ? 1 : 2.5} $gapX={isMobile ? 1.5 : 2.5}>\n <Text $renderAs=\"ah4-bold\" $renderOnMobileAs=\"ab1-bold\" $color=\"WHITE\">\n What didn't work well with the current tutor?\n </Text>\n </FlexView>\n <Styled.ContentWrapper\n $flex={1}\n $gutterX={isMobile ? 1 : 2.5}\n $gapX={isMobile ? 1 : 2.5}\n $width={'100%'}\n $alignItems=\"flex-start\"\n $flexRowGapX={1}\n >\n {changeTutorReasons.map(({ id, label }) => (\n <PillButton\n selected={reason === id}\n key={id}\n label={label}\n id={id}\n onClick={handleSelectReason}\n isTransparent\n />\n ))}\n {isOtherReasonSelected && (\n <Styled.StyledTextArea\n placeholder=\"Tell us more about your experience...\"\n id=\"text-area\"\n ref={textAreaRef}\n value={otherReason}\n onChange={handleOtherReasonChange}\n />\n )}\n </Styled.ContentWrapper>\n </Styled.OuterWrapper>\n <Styled.FooterWrapper\n $gutterX={isMobile ? 1 : 2.5}\n $gapX={isMobile ? 1 : 2.5}\n $flexDirection=\"row\"\n $flexColumnGapX={1.5}\n >\n <TextButton\n label=\"Continue\"\n onClick={handleContinue}\n color=\"WHITE\"\n disabled={isSubmitDisabled}\n />\n <TextButton label=\"Close\" onClick={closeModal} color=\"WHITE\" />\n </Styled.FooterWrapper>\n </Styled.Container>\n );\n};\n\nexport default memo(TutorChange);\n"],"names":["TutorChange","device","useTheme","reason","setReason","useState","otherReason","setOtherReason","isMobile","EDeviceType","closeModal","useModalActions","textAreaRef","useRef","onContinue","demoId","useModalParams","handleSelectReason","useCallback","id","handleOtherReasonChange","event","isOtherReasonSelected","TUTOR_CHANGE_REASON_IDS","isSubmitDisabled","handleContinue","useEffect","_a","_b","jsxs","Styled.Container","Styled.OuterWrapper","jsx","FlexView","Text","Styled.ContentWrapper","changeTutorReasons","label","PillButton","Styled.StyledTextArea","Styled.FooterWrapper","TextButton","tutorChange","memo"],"mappings":";;;;;;;;;;;;AAeA,MAAMA,IAAc,MAAM;AAClB,QAAA,EAAE,QAAAC,MAAWC,KACb,CAACC,GAAQC,CAAS,IAAIC,EAAS,EAAE,GACjC,CAACC,GAAaC,CAAc,IAAIF,EAAS,EAAE,GAC3CG,IAAWP,KAAUQ,EAAY,QACjC,EAAE,YAAAC,MAAeC,KACjBC,IAAcC,EAAmC,IAAI,GACrD,EAAE,YAAAC,GAAY,QAAAC,EAAO,IAAIC,EAAwC,GACjEC,IAAqBC,EAAY,CAACC,MAAef,EAAUe,CAAE,GAAG,CAAA,CAAE,GAElEC,IAA0BF,EAAY,CAACG,MAA4C;AACxE,IAAAd,EAAAc,EAAM,OAAO,KAAK;AAAA,EACnC,GAAG,CAAE,CAAA,GACCC,IAAwBnB,MAAWoB,EAAwB,OAC3DC,IAAmB,CAACrB,KAAWmB,KAAyB,CAAChB,EAAY,QAErEmB,IAAiBP,EAAY,MAAM;AAC5B,IAAAR,KACXI,EAAWC,GAAQZ,GAAQmB,IAAwBhB,IAAc,EAAE;AAAA,EAAA,GAClE,CAACI,GAAYI,GAAYC,GAAQZ,GAAQmB,GAAuBhB,CAAW,CAAC;AAE/E,SAAAoB,EAAU,MAAM;;AACV,IAAAJ,KAAyBV,EAAY,aACvCe,IAAAf,EAAY,YAAZ,QAAAe,EAAqB,eAAe,EAAE,UAAU,SAAU,KAC1DC,IAAAhB,EAAY,YAAZ,QAAAgB,EAAqB;AAAA,EACvB,GACC,CAACN,CAAqB,CAAC,GAGxB,gBAAAO,EAACC,GAAA,EAAiB,aAAY,WAAU,QAAO,QAAO,cAAa,WACjE,UAAA;AAAA,IAAA,gBAAAD,EAACE,GAAA,EAAoB,OAAO,GAC1B,UAAA;AAAA,MAAA,gBAAAC,EAACC,KAAS,UAAUzB,IAAW,IAAI,KAAK,OAAOA,IAAW,MAAM,KAC9D,UAAC,gBAAAwB,EAAAE,GAAA,EAAK,WAAU,YAAW,mBAAkB,YAAW,QAAO,SAAQ,2DAEvE,EACF,CAAA;AAAA,MACA,gBAAAL;AAAA,QAACM;AAAAA,QAAA;AAAA,UACC,OAAO;AAAA,UACP,UAAU3B,IAAW,IAAI;AAAA,UACzB,OAAOA,IAAW,IAAI;AAAA,UACtB,QAAQ;AAAA,UACR,aAAY;AAAA,UACZ,cAAc;AAAA,UAEb,UAAA;AAAA,YAAA4B,EAAmB,IAAI,CAAC,EAAE,IAAAjB,GAAI,OAAAkB,EAC7B,MAAA,gBAAAL;AAAA,cAACM;AAAA,cAAA;AAAA,gBACC,UAAUnC,MAAWgB;AAAA,gBAErB,OAAAkB;AAAA,gBACA,IAAAlB;AAAA,gBACA,SAASF;AAAA,gBACT,eAAa;AAAA,cAAA;AAAA,cAJRE;AAAA,YAAA,CAMR;AAAA,YACAG,KACC,gBAAAU;AAAA,cAACO;AAAAA,cAAA;AAAA,gBACC,aAAY;AAAA,gBACZ,IAAG;AAAA,gBACH,KAAK3B;AAAA,gBACL,OAAON;AAAA,gBACP,UAAUc;AAAA,cAAA;AAAA,YACZ;AAAA,UAAA;AAAA,QAAA;AAAA,MAEJ;AAAA,IAAA,GACF;AAAA,IACA,gBAAAS;AAAA,MAACW;AAAAA,MAAA;AAAA,QACC,UAAUhC,IAAW,IAAI;AAAA,QACzB,OAAOA,IAAW,IAAI;AAAA,QACtB,gBAAe;AAAA,QACf,iBAAiB;AAAA,QAEjB,UAAA;AAAA,UAAA,gBAAAwB;AAAA,YAACS;AAAA,YAAA;AAAA,cACC,OAAM;AAAA,cACN,SAAShB;AAAA,cACT,OAAM;AAAA,cACN,UAAUD;AAAA,YAAA;AAAA,UACZ;AAAA,4BACCiB,GAAW,EAAA,OAAM,SAAQ,SAAS/B,GAAY,OAAM,SAAQ;AAAA,QAAA;AAAA,MAAA;AAAA,IAC/D;AAAA,EACF,EAAA,CAAA;AAEJ,GAEegC,IAAAC,EAAK3C,CAAW;"}