@cuemath/leap 2.9.8-as1 → 2.9.8-as12

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 (47) hide show
  1. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js +9 -9
  2. package/dist/features/chapters-v2/chapter-details/block-sections/block-sections.js.map +1 -1
  3. package/dist/features/chapters-v2/utils/index.js +19 -12
  4. package/dist/features/chapters-v2/utils/index.js.map +1 -1
  5. package/dist/features/chapters-v2/utils/node-card-utils.js +40 -48
  6. package/dist/features/chapters-v2/utils/node-card-utils.js.map +1 -1
  7. package/dist/features/homework/hw-card-list/hw-card-list-view.js +157 -0
  8. package/dist/features/homework/hw-card-list/hw-card-list-view.js.map +1 -0
  9. package/dist/features/homework/hw-card-list/hw-card-list.js +58 -182
  10. package/dist/features/homework/hw-card-list/hw-card-list.js.map +1 -1
  11. package/dist/features/homework/styles.js +24 -24
  12. package/dist/features/homework/styles.js.map +1 -1
  13. package/dist/features/journey/comps/coachmark/coachmark-styled.js +5 -12
  14. package/dist/features/journey/comps/coachmark/coachmark-styled.js.map +1 -1
  15. package/dist/features/journey/hooks/use-chapter-journey.js +90 -111
  16. package/dist/features/journey/hooks/use-chapter-journey.js.map +1 -1
  17. package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js +268 -0
  18. package/dist/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.js.map +1 -0
  19. package/dist/features/journey/hooks/use-home-page-journey/recent-chapters-mock.js +513 -0
  20. package/dist/features/journey/hooks/use-home-page-journey/recent-chapters-mock.js.map +1 -0
  21. package/dist/features/journey/hooks/use-home-page-journey/styles.js +23 -0
  22. package/dist/features/journey/hooks/use-home-page-journey/styles.js.map +1 -0
  23. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js +22 -0
  24. package/dist/features/journey/hooks/use-home-page-journey/tooltip-item.js.map +1 -0
  25. package/dist/features/journey/hooks/use-home-page-journey/use-home-page-journey.js +270 -0
  26. package/dist/features/journey/hooks/use-home-page-journey/use-home-page-journey.js.map +1 -0
  27. package/dist/features/journey/mocks/chapter-page-journey-mock-data.js +0 -3
  28. package/dist/features/journey/mocks/chapter-page-journey-mock-data.js.map +1 -1
  29. package/dist/features/milestone/milestone-list-container/milestone-list-container.js.map +1 -1
  30. package/dist/features/milestone/milestone-tests/tests-creation/test-stages/chapter-selection/chapter-item/chapter-item.js.map +1 -1
  31. package/dist/features/trial-session/comps/learning-plan/index.js.map +1 -1
  32. package/dist/index.d.ts +10 -25
  33. package/dist/index.js +495 -505
  34. package/dist/index.js.map +1 -1
  35. package/package.json +1 -1
  36. package/dist/assets/line-icons/icons/alarm.js +0 -41
  37. package/dist/assets/line-icons/icons/alarm.js.map +0 -1
  38. package/dist/assets/line-icons/icons/dart.js +0 -23
  39. package/dist/assets/line-icons/icons/dart.js.map +0 -1
  40. package/dist/assets/line-icons/icons/puzzle.js +0 -25
  41. package/dist/assets/line-icons/icons/puzzle.js.map +0 -1
  42. package/dist/assets/line-icons/icons/recap.js +0 -32
  43. package/dist/assets/line-icons/icons/recap.js.map +0 -1
  44. package/dist/assets/line-icons/icons/testtube.js +0 -33
  45. package/dist/assets/line-icons/icons/testtube.js.map +0 -1
  46. package/dist/features/journey/hooks/use-home-page-journey.js +0 -189
  47. package/dist/features/journey/hooks/use-home-page-journey.js.map +0 -1
@@ -1,36 +1,35 @@
1
- import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
- import { useRef as s, useCallback as C, useMemo as P, useEffect as _ } from "react";
3
- import X from "../../chapters-v2/chapter-details/block-sections/block-sections.js";
4
- import x from "../../chapters-v2/chapter-details/chapter-banner/chapter-banner.js";
5
- import I from "../../chapters-v2/chapter-details/chapter-details.js";
6
- import a from "../../ui/buttons/button/button.js";
7
- import l from "../../ui/layout/flex-view.js";
8
- import c from "../../ui/text/text.js";
9
- import { JOURNEY_ID_STUDENT as K } from "../journey-id/journey-id-student.js";
10
- import { PROGRESS_STAT_MOCK as y, BLOCK_MOCKS as H } from "../mocks/chapter-page-journey-mock-data.js";
11
- import { IndicatorType as d } from "../use-journey/constants.js";
12
- import { useJourney as $ } from "../use-journey/use-journey.js";
13
- const q = () => {
14
- const o = K.CHAPTER_PAGE_JOURNEY, t = s(null), r = s(null), m = s(null), h = s([]), { nextCoachmark: g, setJourney: f, endJourney: A } = $(), i = C(() => {
15
- g(o, !1, 0, !0);
16
- }, [o, g]), w = C(() => {
17
- A(o);
18
- }, [A, o]), T = C(
19
- ({ chapterDetails: p, userChapterId: B, studentId: L, userType: b }) => {
20
- const { name: O, image_hue: u, image_url: R } = p;
21
- if (!(t != null && t.current) || !(r != null && r.current) || !m.current)
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { useRef as n, useCallback as p, useMemo as S, useEffect as x } from "react";
3
+ import N from "../../chapters-v2/chapter-details/block-sections/block-sections.js";
4
+ import L from "../../chapters-v2/chapter-details/chapter-banner/chapter-banner.js";
5
+ import P from "../../chapters-v2/chapter-details/chapter-details.js";
6
+ import _ from "../../ui/layout/flex-view.js";
7
+ import { JOURNEY_ID_STUDENT as I } from "../journey-id/journey-id-student.js";
8
+ import { PROGRESS_STAT_MOCK as k, BLOCK_MOCKS as K } from "../mocks/chapter-page-journey-mock-data.js";
9
+ import { IndicatorType as l } from "../use-journey/constants.js";
10
+ import { useJourney as H } from "../use-journey/use-journey.js";
11
+ import a from "./use-home-page-journey/tooltip-item.js";
12
+ const F = () => {
13
+ const t = I.CHAPTER_PAGE_JOURNEY, e = n(null), r = n(null), s = n(null), c = n([]), { nextCoachmark: d, setJourney: h, endJourney: C } = H(), i = p(() => {
14
+ d(t, !1, 0, !0);
15
+ }, [t, d]), g = p(() => {
16
+ document.body.style.overflow = "unset", C(t);
17
+ }, [C, t]), f = p(
18
+ ({ chapterDetails: u, userChapterId: A, studentId: B, userType: T }) => {
19
+ const { name: O, image_hue: m, image_url: b } = u;
20
+ if (!(e != null && e.current) || !(r != null && r.current) || !s.current)
22
21
  return;
23
- const S = t.current.getBoundingClientRect(), N = [
22
+ const E = e.current.getBoundingClientRect(), R = [
24
23
  {
25
- originalElementToHighlightRef: t,
24
+ originalElementToHighlightRef: e,
26
25
  isActive: !1,
27
- type: d.TOOLTIP,
28
- elementToHighlight: /* @__PURE__ */ e(
29
- I,
26
+ type: l.TOOLTIP,
27
+ elementToHighlight: /* @__PURE__ */ o(
28
+ P,
30
29
  {
31
- userChapterId: B,
32
- studentId: L,
33
- userType: b,
30
+ userChapterId: A,
31
+ studentId: B,
32
+ userType: T,
34
33
  onBlockSkipUnskip: () => null,
35
34
  onNodeAttempt: () => null,
36
35
  onNodeAttemptLocationChange: () => null,
@@ -43,39 +42,34 @@ const q = () => {
43
42
  ),
44
43
  indicator: {
45
44
  position: "left",
46
- tooltipYCoOrdinates: -(S.height / 2) + 178,
45
+ tooltipYCoOrdinates: -(E.height / 2) + 178,
47
46
  backgroundColor: "BLUE_4",
48
47
  borderColor: "BLACK",
49
48
  arrowColor: "BLACK",
50
49
  arrowSize: 12,
51
50
  width: 264,
52
- tooltipItem: /* @__PURE__ */ n(l, { $flexRowGapX: 0.75, children: [
53
- /* @__PURE__ */ e(c, { $renderAs: "ab2-bold", children: "Welcome to the all new chapter experience." }),
54
- /* @__PURE__ */ e(
55
- a,
56
- {
57
- label: "Next",
58
- size: "xsmall",
59
- widthX: 6,
60
- renderAs: "secondary",
61
- onClick: i
62
- }
63
- )
64
- ] })
51
+ tooltipItem: /* @__PURE__ */ o(
52
+ a,
53
+ {
54
+ text: "Welcome to the all new chapter experience.",
55
+ buttonLabel: "Next",
56
+ onButtonClick: i
57
+ }
58
+ )
65
59
  }
66
60
  },
67
61
  {
68
62
  originalElementToHighlightRef: r,
69
- elementToHighlight: /* @__PURE__ */ e(
70
- x,
63
+ elementToHighlight: /* @__PURE__ */ o(
64
+ L,
71
65
  {
72
66
  title: O,
73
- progressStats: y,
74
- imageUrl: R,
75
- imageHue: u
67
+ progressStats: k,
68
+ imageUrl: b,
69
+ imageHue: m
76
70
  }
77
71
  ),
78
- type: d.TOOLTIP,
72
+ type: l.TOOLTIP,
79
73
  indicator: {
80
74
  position: "bottom",
81
75
  tooltipXCoOrdinates: -45,
@@ -85,34 +79,29 @@ const q = () => {
85
79
  arrowColor: "BLACK",
86
80
  width: 264,
87
81
  arrowSize: 12,
88
- tooltipItem: /* @__PURE__ */ n(l, { $flexRowGapX: 0.75, children: [
89
- /* @__PURE__ */ e(c, { $renderAs: "ab2-bold", children: "A chapter is divided into *core sheets (compulsory), and supplementary sheets." }),
90
- /* @__PURE__ */ e(
91
- a,
92
- {
93
- label: "Next",
94
- size: "xsmall",
95
- widthX: 6,
96
- renderAs: "secondary",
97
- onClick: i
98
- }
99
- )
100
- ] })
82
+ tooltipItem: /* @__PURE__ */ o(
83
+ a,
84
+ {
85
+ text: "A chapter is divided into *core sheets (compulsory), and supplementary sheets.",
86
+ buttonLabel: "Next",
87
+ onButtonClick: i
88
+ }
89
+ )
101
90
  },
102
91
  isActive: !1
103
92
  },
104
93
  {
105
94
  originalElementToHighlightRef: r,
106
- elementToHighlight: /* @__PURE__ */ e(
107
- x,
95
+ elementToHighlight: /* @__PURE__ */ o(
96
+ L,
108
97
  {
109
98
  title: O,
110
- progressStats: y,
111
- imageUrl: R,
112
- imageHue: u
99
+ progressStats: k,
100
+ imageUrl: b,
101
+ imageHue: m
113
102
  }
114
103
  ),
115
- type: d.TOOLTIP,
104
+ type: l.TOOLTIP,
116
105
  indicator: {
117
106
  position: "bottom",
118
107
  tooltipXCoOrdinates: -275,
@@ -122,26 +111,21 @@ const q = () => {
122
111
  arrowColor: "BLACK",
123
112
  arrowSize: 12,
124
113
  width: 264,
125
- tooltipItem: /* @__PURE__ */ n(l, { $flexRowGapX: 0.75, children: [
126
- /* @__PURE__ */ e(c, { $renderAs: "ab2-bold", children: "Easily track the progress of the core sheets." }),
127
- /* @__PURE__ */ e(
128
- a,
129
- {
130
- label: "Next",
131
- size: "xsmall",
132
- widthX: 6,
133
- renderAs: "secondary",
134
- onClick: i
135
- }
136
- )
137
- ] })
114
+ tooltipItem: /* @__PURE__ */ o(
115
+ a,
116
+ {
117
+ text: "Easily track the progress of the core sheets.",
118
+ buttonLabel: "Next",
119
+ onButtonClick: i
120
+ }
121
+ )
138
122
  },
139
123
  isActive: !1
140
124
  },
141
125
  {
142
- originalElementToHighlightRef: m,
143
- elementToHighlight: /* @__PURE__ */ e(l, { $widthX: 50, children: /* @__PURE__ */ e(X, { userType: b, blocks: H, imageHue: u }) }),
144
- type: d.TOOLTIP,
126
+ originalElementToHighlightRef: s,
127
+ elementToHighlight: /* @__PURE__ */ o(_, { $widthX: 50, children: /* @__PURE__ */ o(N, { userType: T, blocks: K, imageHue: m }) }),
128
+ type: l.TOOLTIP,
145
129
  indicator: {
146
130
  position: "top",
147
131
  tooltipXCoOrdinates: -150,
@@ -151,44 +135,39 @@ const q = () => {
151
135
  arrowColor: "BLACK",
152
136
  arrowSize: 12,
153
137
  width: 264,
154
- tooltipItem: /* @__PURE__ */ n(l, { $flexRowGapX: 0.75, children: [
155
- /* @__PURE__ */ e(c, { $renderAs: "ab2-bold", children: "Easily track the progress of the core sheets." }),
156
- /* @__PURE__ */ e(
157
- a,
158
- {
159
- label: "Got it",
160
- size: "xsmall",
161
- widthX: 6,
162
- renderAs: "secondary",
163
- onClick: w
164
- }
165
- )
166
- ] })
138
+ tooltipItem: /* @__PURE__ */ o(
139
+ a,
140
+ {
141
+ text: "Core sheets are marked to help you find them faster.",
142
+ buttonLabel: "Got it",
143
+ onButtonClick: g
144
+ }
145
+ )
167
146
  },
168
147
  isActive: !1
169
148
  }
170
149
  ];
171
- f(o, N);
172
- const k = setTimeout(() => {
173
- clearTimeout(k), i();
150
+ h(t, R);
151
+ const w = setTimeout(() => {
152
+ clearTimeout(w), window.scrollTo(0, 0), document.body.style.overflow = "hidden", i();
174
153
  }, 500);
175
- h.current.push(k);
154
+ c.current.push(w);
176
155
  },
177
- [i, w, f, o]
178
- ), E = P(
156
+ [i, g, h, t]
157
+ ), y = S(
179
158
  () => ({
180
- chapterPageRef: t,
159
+ chapterPageRef: e,
181
160
  bannerRef: r,
182
- coreBlocksRef: m,
183
- startJourney: T
161
+ coreBlocksRef: s,
162
+ startJourney: f
184
163
  }),
185
- [T]
164
+ [f]
186
165
  );
187
- return _(() => () => {
188
- h.current.forEach((p) => clearTimeout(p)), h.current = [];
189
- }, []), E;
166
+ return x(() => () => {
167
+ c.current.forEach((u) => clearTimeout(u)), c.current = [];
168
+ }, []), y;
190
169
  };
191
170
  export {
192
- q as useChapterPageJourney
171
+ F as useChapterPageJourney
193
172
  };
194
173
  //# sourceMappingURL=use-chapter-journey.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-chapter-journey.js","sources":["../../../../src/features/journey/hooks/use-chapter-journey.tsx"],"sourcesContent":["import type { IUserChapterData } from '../../chapters-v2/chapter-details/chapter-details-types';\nimport type { IArrowTooltipProps } from '../../ui/arrow-tooltip/arrow-tooltip-types';\nimport type { TUserTypes } from '../../ui/types';\nimport type { ICoachmarkProps } from '../use-journey/journey-context-types';\n\nimport { useCallback, useEffect, useMemo, useRef } from 'react';\n\nimport BlockSections from '../../chapters-v2/chapter-details/block-sections/block-sections';\nimport ChapterBanner from '../../chapters-v2/chapter-details/chapter-banner/chapter-banner';\nimport ChapterDetails from '../../chapters-v2/chapter-details/chapter-details';\nimport Button from '../../ui/buttons/button/button';\nimport FlexView from '../../ui/layout/flex-view';\nimport Text from '../../ui/text/text';\nimport { JOURNEY_ID_STUDENT } from '../journey-id/journey-id-student';\nimport { BLOCK_MOCKS, PROGRESS_STAT_MOCK } from '../mocks/chapter-page-journey-mock-data';\nimport { IndicatorType } from '../use-journey/constants';\nimport { useJourney } from '../use-journey/use-journey';\n\ninterface IChapterStartJourneyProps {\n chapterDetails: IUserChapterData;\n userChapterId: string;\n studentId: string;\n userType: TUserTypes;\n}\n\nexport const useChapterPageJourney = () => {\n const journeyId = JOURNEY_ID_STUDENT.CHAPTER_PAGE_JOURNEY;\n\n const chapterPageRef = useRef<HTMLDivElement>(null);\n const bannerRef = useRef<HTMLDivElement>(null);\n const coreBlocksRef = useRef<HTMLDivElement>(null);\n const timerRefs = useRef<ReturnType<typeof setTimeout>[]>([]);\n const { nextCoachmark, setJourney, endJourney } = useJourney();\n\n const handleNextCoachmark = useCallback(() => {\n nextCoachmark(journeyId, false, 0, true);\n }, [journeyId, nextCoachmark]);\n\n const handleEndJourney = useCallback(() => {\n endJourney(journeyId);\n }, [endJourney, journeyId]);\n\n const startJourney = useCallback(\n ({ chapterDetails, userChapterId, studentId, userType }: IChapterStartJourneyProps) => {\n const { name, image_hue: imageHue, image_url: imageUrl } = chapterDetails;\n\n if (!chapterPageRef?.current || !bannerRef?.current || !coreBlocksRef.current) {\n return;\n }\n\n const chapterPageRect = chapterPageRef.current.getBoundingClientRect();\n\n const chapterPageSteps: ICoachmarkProps[] = [\n {\n originalElementToHighlightRef: chapterPageRef,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: (\n <ChapterDetails\n userChapterId={userChapterId}\n studentId={studentId}\n userType={userType}\n onBlockSkipUnskip={() => null}\n onNodeAttempt={() => null}\n onNodeAttemptLocationChange={() => null}\n onNodeMarkAsDone={() => null}\n onNodeReattempt={() => null}\n onNodeReview={() => null}\n onNodeView={() => null}\n onExit={() => null}\n />\n ),\n indicator: {\n position: 'left',\n tooltipYCoOrdinates: -(chapterPageRect.height / 2) + 178,\n backgroundColor: 'BLUE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n arrowSize: 12,\n width: 264,\n tooltipItem: (\n <FlexView $flexRowGapX={0.75}>\n <Text $renderAs=\"ab2-bold\">Welcome to the all new chapter experience.</Text>\n <Button\n label=\"Next\"\n size=\"xsmall\"\n widthX={6}\n renderAs=\"secondary\"\n onClick={handleNextCoachmark}\n />\n </FlexView>\n ),\n } as IArrowTooltipProps,\n },\n {\n originalElementToHighlightRef: bannerRef,\n elementToHighlight: (\n <ChapterBanner\n title={name}\n progressStats={PROGRESS_STAT_MOCK}\n imageUrl={imageUrl}\n imageHue={imageHue}\n />\n ),\n type: IndicatorType.TOOLTIP,\n indicator: {\n position: 'bottom',\n tooltipXCoOrdinates: -45,\n tooltipYCoOrdinates: -40,\n backgroundColor: 'ORANGE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n width: 264,\n arrowSize: 12,\n tooltipItem: (\n <FlexView $flexRowGapX={0.75}>\n <Text $renderAs=\"ab2-bold\">\n A chapter is divided into *core sheets (compulsory), and supplementary sheets.\n </Text>\n <Button\n label=\"Next\"\n size=\"xsmall\"\n widthX={6}\n renderAs=\"secondary\"\n onClick={handleNextCoachmark}\n />\n </FlexView>\n ),\n } as IArrowTooltipProps,\n isActive: false,\n },\n {\n originalElementToHighlightRef: bannerRef,\n elementToHighlight: (\n <ChapterBanner\n title={name}\n progressStats={PROGRESS_STAT_MOCK}\n imageUrl={imageUrl}\n imageHue={imageHue}\n />\n ),\n type: IndicatorType.TOOLTIP,\n indicator: {\n position: 'bottom',\n tooltipXCoOrdinates: -275,\n tooltipYCoOrdinates: -15,\n backgroundColor: 'PURPLE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n arrowSize: 12,\n width: 264,\n tooltipItem: (\n <FlexView $flexRowGapX={0.75}>\n <Text $renderAs=\"ab2-bold\">Easily track the progress of the core sheets.</Text>\n <Button\n label=\"Next\"\n size=\"xsmall\"\n widthX={6}\n renderAs=\"secondary\"\n onClick={handleNextCoachmark}\n />\n </FlexView>\n ),\n } as IArrowTooltipProps,\n isActive: false,\n },\n {\n originalElementToHighlightRef: coreBlocksRef,\n elementToHighlight: (\n <FlexView $widthX={50}>\n <BlockSections userType={userType} blocks={BLOCK_MOCKS} imageHue={imageHue} />\n </FlexView>\n ),\n type: IndicatorType.TOOLTIP,\n indicator: {\n position: 'top',\n tooltipXCoOrdinates: -150,\n tooltipYCoOrdinates: -260,\n backgroundColor: 'PURPLE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n arrowSize: 12,\n width: 264,\n tooltipItem: (\n <FlexView $flexRowGapX={0.75}>\n <Text $renderAs=\"ab2-bold\">Easily track the progress of the core sheets.</Text>\n <Button\n label=\"Got it\"\n size=\"xsmall\"\n widthX={6}\n renderAs=\"secondary\"\n onClick={handleEndJourney}\n />\n </FlexView>\n ),\n } as IArrowTooltipProps,\n isActive: false,\n },\n ];\n\n setJourney(journeyId, chapterPageSteps);\n\n const delayBeforeStart = setTimeout(() => {\n clearTimeout(delayBeforeStart);\n handleNextCoachmark();\n }, 500);\n\n timerRefs.current.push(delayBeforeStart);\n },\n [handleNextCoachmark, handleEndJourney, setJourney, journeyId],\n );\n\n const data = useMemo(\n () => ({\n chapterPageRef,\n bannerRef,\n coreBlocksRef,\n startJourney,\n }),\n [startJourney],\n );\n\n useEffect(() => {\n return () => {\n timerRefs.current.forEach(timer => clearTimeout(timer));\n timerRefs.current = [];\n };\n }, []);\n\n return data;\n};\n"],"names":["useChapterPageJourney","journeyId","JOURNEY_ID_STUDENT","chapterPageRef","useRef","bannerRef","coreBlocksRef","timerRefs","nextCoachmark","setJourney","endJourney","useJourney","handleNextCoachmark","useCallback","handleEndJourney","startJourney","chapterDetails","userChapterId","studentId","userType","name","imageHue","imageUrl","chapterPageRect","chapterPageSteps","IndicatorType","jsx","ChapterDetails","jsxs","FlexView","Text","Button","ChapterBanner","PROGRESS_STAT_MOCK","BlockSections","BLOCK_MOCKS","delayBeforeStart","data","useMemo","useEffect","timer"],"mappings":";;;;;;;;;;;;AAyBO,MAAMA,IAAwB,MAAM;AACzC,QAAMC,IAAYC,EAAmB,sBAE/BC,IAAiBC,EAAuB,IAAI,GAC5CC,IAAYD,EAAuB,IAAI,GACvCE,IAAgBF,EAAuB,IAAI,GAC3CG,IAAYH,EAAwC,CAAA,CAAE,GACtD,EAAE,eAAAI,GAAe,YAAAC,GAAY,YAAAC,MAAeC,EAAW,GAEvDC,IAAsBC,EAAY,MAAM;AAC9B,IAAAL,E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EI,MAAAL,EAAA,QAAQ,KAAK6B,CAAgB;AAAA,IACzC;AAAA,IACA,CAACxB,GAAqBE,GAAkBL,GAAYR,CAAS;AAAA,EAAA,GAGzDoC,IAAOC;AAAA,IACX,OAAO;AAAA,MACL,gBAAAnC;AAAA,MACA,WAAAE;AAAA,MACA,eAAAC;AAAA,MACA,cAAAS;AAAA,IAAA;AAAA,IAEF,CAACA,CAAY;AAAA,EAAA;AAGf,SAAAwB,EAAU,MACD,MAAM;AACX,IAAAhC,EAAU,QAAQ,QAAQ,CAASiC,MAAA,aAAaA,CAAK,CAAC,GACtDjC,EAAU,UAAU;EAAC,GAEtB,CAAE,CAAA,GAEE8B;AACT;"}
1
+ {"version":3,"file":"use-chapter-journey.js","sources":["../../../../src/features/journey/hooks/use-chapter-journey.tsx"],"sourcesContent":["import type { IUserChapterData } from '../../chapters-v2/chapter-details/chapter-details-types';\nimport type { IArrowTooltipProps } from '../../ui/arrow-tooltip/arrow-tooltip-types';\nimport type { TUserTypes } from '../../ui/types';\nimport type { ICoachmarkProps } from '../use-journey/journey-context-types';\n\nimport { useCallback, useEffect, useMemo, useRef } from 'react';\n\nimport BlockSections from '../../chapters-v2/chapter-details/block-sections/block-sections';\nimport ChapterBanner from '../../chapters-v2/chapter-details/chapter-banner/chapter-banner';\nimport ChapterDetails from '../../chapters-v2/chapter-details/chapter-details';\nimport FlexView from '../../ui/layout/flex-view';\nimport { JOURNEY_ID_STUDENT } from '../journey-id/journey-id-student';\nimport { BLOCK_MOCKS, PROGRESS_STAT_MOCK } from '../mocks/chapter-page-journey-mock-data';\nimport { IndicatorType } from '../use-journey/constants';\nimport { useJourney } from '../use-journey/use-journey';\nimport TooltipItem from './use-home-page-journey/tooltip-item';\n\ninterface IChapterStartJourneyProps {\n chapterDetails: IUserChapterData;\n userChapterId: string;\n studentId: string;\n userType: TUserTypes;\n}\n\nexport const useChapterPageJourney = () => {\n const journeyId = JOURNEY_ID_STUDENT.CHAPTER_PAGE_JOURNEY;\n\n const chapterPageRef = useRef<HTMLDivElement>(null);\n const bannerRef = useRef<HTMLDivElement>(null);\n const coreBlocksRef = useRef<HTMLDivElement>(null);\n const timerRefs = useRef<ReturnType<typeof setTimeout>[]>([]);\n const { nextCoachmark, setJourney, endJourney } = useJourney();\n\n const handleNextCoachmark = useCallback(() => {\n nextCoachmark(journeyId, false, 0, true);\n }, [journeyId, nextCoachmark]);\n\n const handleEndJourney = useCallback(() => {\n document.body.style.overflow = 'unset';\n endJourney(journeyId);\n }, [endJourney, journeyId]);\n\n const startJourney = useCallback(\n ({ chapterDetails, userChapterId, studentId, userType }: IChapterStartJourneyProps) => {\n const { name, image_hue: imageHue, image_url: imageUrl } = chapterDetails;\n\n if (!chapterPageRef?.current || !bannerRef?.current || !coreBlocksRef.current) {\n return;\n }\n\n const chapterPageRect = chapterPageRef.current.getBoundingClientRect();\n\n const chapterPageSteps: ICoachmarkProps[] = [\n {\n originalElementToHighlightRef: chapterPageRef,\n isActive: false,\n type: IndicatorType.TOOLTIP,\n elementToHighlight: (\n <ChapterDetails\n userChapterId={userChapterId}\n studentId={studentId}\n userType={userType}\n onBlockSkipUnskip={() => null}\n onNodeAttempt={() => null}\n onNodeAttemptLocationChange={() => null}\n onNodeMarkAsDone={() => null}\n onNodeReattempt={() => null}\n onNodeReview={() => null}\n onNodeView={() => null}\n onExit={() => null}\n />\n ),\n indicator: {\n position: 'left',\n tooltipYCoOrdinates: -(chapterPageRect.height / 2) + 178,\n backgroundColor: 'BLUE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n arrowSize: 12,\n width: 264,\n tooltipItem: (\n <TooltipItem\n text=\"Welcome to the all new chapter experience.\"\n buttonLabel=\"Next\"\n onButtonClick={handleNextCoachmark}\n />\n ),\n } as IArrowTooltipProps,\n },\n {\n originalElementToHighlightRef: bannerRef,\n elementToHighlight: (\n <ChapterBanner\n title={name}\n progressStats={PROGRESS_STAT_MOCK}\n imageUrl={imageUrl}\n imageHue={imageHue}\n />\n ),\n type: IndicatorType.TOOLTIP,\n indicator: {\n position: 'bottom',\n tooltipXCoOrdinates: -45,\n tooltipYCoOrdinates: -40,\n backgroundColor: 'ORANGE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n width: 264,\n arrowSize: 12,\n tooltipItem: (\n <TooltipItem\n text=\"A chapter is divided into *core sheets (compulsory), and supplementary sheets.\"\n buttonLabel=\"Next\"\n onButtonClick={handleNextCoachmark}\n />\n ),\n } as IArrowTooltipProps,\n isActive: false,\n },\n {\n originalElementToHighlightRef: bannerRef,\n elementToHighlight: (\n <ChapterBanner\n title={name}\n progressStats={PROGRESS_STAT_MOCK}\n imageUrl={imageUrl}\n imageHue={imageHue}\n />\n ),\n type: IndicatorType.TOOLTIP,\n indicator: {\n position: 'bottom',\n tooltipXCoOrdinates: -275,\n tooltipYCoOrdinates: -15,\n backgroundColor: 'PURPLE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n arrowSize: 12,\n width: 264,\n tooltipItem: (\n <TooltipItem\n text=\"Easily track the progress of the core sheets.\"\n buttonLabel=\"Next\"\n onButtonClick={handleNextCoachmark}\n />\n ),\n } as IArrowTooltipProps,\n isActive: false,\n },\n {\n originalElementToHighlightRef: coreBlocksRef,\n elementToHighlight: (\n <FlexView $widthX={50}>\n <BlockSections userType={userType} blocks={BLOCK_MOCKS} imageHue={imageHue} />\n </FlexView>\n ),\n type: IndicatorType.TOOLTIP,\n indicator: {\n position: 'top',\n tooltipXCoOrdinates: -150,\n tooltipYCoOrdinates: -260,\n backgroundColor: 'PURPLE_4',\n borderColor: 'BLACK',\n arrowColor: 'BLACK',\n arrowSize: 12,\n width: 264,\n tooltipItem: (\n <TooltipItem\n text=\"Core sheets are marked to help you find them faster.\"\n buttonLabel=\"Got it\"\n onButtonClick={handleEndJourney}\n />\n ),\n } as IArrowTooltipProps,\n isActive: false,\n },\n ];\n\n setJourney(journeyId, chapterPageSteps);\n\n const delayBeforeStart = setTimeout(() => {\n clearTimeout(delayBeforeStart);\n window.scrollTo(0, 0);\n document.body.style.overflow = 'hidden';\n handleNextCoachmark();\n }, 500);\n\n timerRefs.current.push(delayBeforeStart);\n },\n [handleNextCoachmark, handleEndJourney, setJourney, journeyId],\n );\n\n const data = useMemo(\n () => ({\n chapterPageRef,\n bannerRef,\n coreBlocksRef,\n startJourney,\n }),\n [startJourney],\n );\n\n useEffect(() => {\n return () => {\n timerRefs.current.forEach(timer => clearTimeout(timer));\n timerRefs.current = [];\n };\n }, []);\n\n return data;\n};\n"],"names":["useChapterPageJourney","journeyId","JOURNEY_ID_STUDENT","chapterPageRef","useRef","bannerRef","coreBlocksRef","timerRefs","nextCoachmark","setJourney","endJourney","useJourney","handleNextCoachmark","useCallback","handleEndJourney","startJourney","chapterDetails","userChapterId","studentId","userType","name","imageHue","imageUrl","chapterPageRect","chapterPageSteps","IndicatorType","jsx","ChapterDetails","TooltipItem","ChapterBanner","PROGRESS_STAT_MOCK","FlexView","BlockSections","BLOCK_MOCKS","delayBeforeStart","data","useMemo","useEffect","timer"],"mappings":";;;;;;;;;;;AAwBO,MAAMA,IAAwB,MAAM;AACzC,QAAMC,IAAYC,EAAmB,sBAE/BC,IAAiBC,EAAuB,IAAI,GAC5CC,IAAYD,EAAuB,IAAI,GACvCE,IAAgBF,EAAuB,IAAI,GAC3CG,IAAYH,EAAwC,CAAA,CAAE,GACtD,EAAE,eAAAI,GAAe,YAAAC,GAAY,YAAAC,MAAeC,EAAW,GAEvDC,IAAsBC,EAAY,MAAM;AAC9B,IAAAL,EAAAP,GAAW,IAAO,GAAG,EAAI;AAAA,EAAA,GACtC,CAACA,GAAWO,CAAa,CAAC,GAEvBM,IAAmBD,EAAY,MAAM;AAChC,aAAA,KAAK,MAAM,WAAW,SAC/BH,EAAWT,CAAS;AAAA,EAAA,GACnB,CAACS,GAAYT,CAAS,CAAC,GAEpBc,IAAeF;AAAA,IACnB,CAAC,EAAE,gBAAAG,GAAgB,eAAAC,GAAe,WAAAC,GAAW,UAAAC,QAA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A;AAAA,gBACC,MAAK;AAAA,gBACL,aAAY;AAAA,gBACZ,eAAed;AAAA,cAAA;AAAA,YACjB;AAAA,UAEJ;AAAA,UACA,UAAU;AAAA,QACZ;AAAA,MAAA;AAGF,MAAAL,EAAWR,GAAWuB,CAAgB;AAEhC,YAAAU,IAAmB,WAAW,MAAM;AACxC,qBAAaA,CAAgB,GACtB,OAAA,SAAS,GAAG,CAAC,GACX,SAAA,KAAK,MAAM,WAAW,UACXtB;SACnB,GAAG;AAEI,MAAAL,EAAA,QAAQ,KAAK2B,CAAgB;AAAA,IACzC;AAAA,IACA,CAACtB,GAAqBE,GAAkBL,GAAYR,CAAS;AAAA,EAAA,GAGzDkC,IAAOC;AAAA,IACX,OAAO;AAAA,MACL,gBAAAjC;AAAA,MACA,WAAAE;AAAA,MACA,eAAAC;AAAA,MACA,cAAAS;AAAA,IAAA;AAAA,IAEF,CAACA,CAAY;AAAA,EAAA;AAGf,SAAAsB,EAAU,MACD,MAAM;AACX,IAAA9B,EAAU,QAAQ,QAAQ,CAAS+B,MAAA,aAAaA,CAAK,CAAC,GACtD/B,EAAU,UAAU;EAAC,GAEtB,CAAE,CAAA,GAEE4B;AACT;"}
@@ -0,0 +1,268 @@
1
+ const e = Math.floor(Date.now() / 1e3), a = e + 5 * 24 * 60 * 60, _ = [
2
+ {
3
+ accuracy: null,
4
+ attempt_location: "ANY",
5
+ attempt_state: null,
6
+ block_id: "23a4e676-7094-11ed-87bc-6ec30f5d70bb",
7
+ break_interval: 0,
8
+ card_header: "PUZZLE",
9
+ ceremony_completed_on_ts: null,
10
+ chapter_id: "8b0d5af7-3d47-4888-acef-920069c6ae13",
11
+ completed_on_ts: null,
12
+ course_type: "PROGRAM",
13
+ desmos_calculator_enabled: !1,
14
+ due_date_ts: 1748241531,
15
+ generic_node_type: null,
16
+ homework_created_on_ts: 1747636732547152e-6,
17
+ homework_id: "ede761ea-347b-11f0-b9d2-5e3c498fca42",
18
+ image_hue: "BLUE",
19
+ image_url: "https://dw7j1ezsvbafb.cloudfront.net/media/chapter-images/Default.jpg",
20
+ is_core_lesson_node: null,
21
+ is_irrelevant: !1,
22
+ is_lesson_primary_node: null,
23
+ is_lesson_v3_enabled: !1,
24
+ is_optional: !0,
25
+ is_timed: !1,
26
+ is_worksheet_v3: null,
27
+ learnosity_activity_ref: "CR_G4L1 Sum of Three Cubes",
28
+ lesson_id: null,
29
+ marked_as_completed: !1,
30
+ mini_goal_code: null,
31
+ node_group: null,
32
+ node_id: "1de6ac4a-8e41-4446-9a07-a93d5713a2ff",
33
+ node_sub_group: null,
34
+ node_type: "PUZZLE_EASY",
35
+ permissions: {
36
+ can_assign_as_homework: !1,
37
+ can_attempt: !1,
38
+ can_change_attempt_location: !1,
39
+ can_mark_familiar: !1,
40
+ can_reattempt: !1,
41
+ can_reset: !1,
42
+ can_resume: !1,
43
+ can_review: !1,
44
+ can_start: !0,
45
+ can_teacher_review: !1,
46
+ can_teacher_score: !1,
47
+ can_unassign: !1,
48
+ can_unlock: !1,
49
+ can_view_solution: !1,
50
+ is_review_disabled: !1
51
+ },
52
+ position: 7,
53
+ program_id: "1f7eee07-9e8f-423f-8c3a-690c42cdb6b6",
54
+ rewards: [],
55
+ scheduled_end_ts: null,
56
+ scheduled_start_ts: null,
57
+ sheet_statement: "Yet to start",
58
+ sheet_time: 2400,
59
+ started_on_ts: null,
60
+ state: "NOT_STARTED",
61
+ subtext: "Puzzle Cards",
62
+ target_accuracy: 100,
63
+ timer_type: null,
64
+ title: "Sum of Three Cubes",
65
+ total_questions: 0,
66
+ unlocked_on_ts: 1747636731,
67
+ user_attempt_id: null,
68
+ user_block_id: "a021e0e2-b6f6-4bf0-84d2-dd7b603b89d4",
69
+ user_milestone_id: null,
70
+ user_node_id: "147520a0-2f62-11f0-876b-da0546594b04",
71
+ worksheet_id: "c4e1035a-d3e5-11eb-8971-6296551a51ec"
72
+ },
73
+ {
74
+ accuracy: null,
75
+ attempt_location: "ANY",
76
+ attempt_state: null,
77
+ block_id: "",
78
+ break_interval: 0,
79
+ card_header: "SMART PRACTICE",
80
+ ceremony_completed_on_ts: null,
81
+ chapter_id: null,
82
+ completed_on_ts: null,
83
+ course_type: "PROGRAM",
84
+ desmos_calculator_enabled: !1,
85
+ due_date_ts: a,
86
+ generic_node_type: null,
87
+ homework_created_on_ts: 1747751314184602e-6,
88
+ homework_id: "b5e1bf00-3586-11f0-a22a-9207bc065284",
89
+ image_hue: "PURPLE",
90
+ image_url: null,
91
+ is_core_lesson_node: null,
92
+ is_irrelevant: !1,
93
+ is_lesson_primary_node: null,
94
+ is_lesson_v3_enabled: !1,
95
+ is_optional: !1,
96
+ is_timed: !1,
97
+ is_worksheet_v3: null,
98
+ learnosity_activity_ref: "mastery-6f8b199b-9c54-40dc-833e-69db342fec26",
99
+ lesson_id: null,
100
+ marked_as_completed: !1,
101
+ mini_goal_code: null,
102
+ node_group: null,
103
+ node_id: "307b7775-98fd-4831-bd2f-e87403db7da7",
104
+ node_sub_group: null,
105
+ node_type: "MASTERY",
106
+ permissions: {
107
+ can_assign_as_homework: !1,
108
+ can_attempt: !1,
109
+ can_change_attempt_location: !1,
110
+ can_mark_familiar: !1,
111
+ can_reattempt: !1,
112
+ can_reset: !1,
113
+ can_resume: !1,
114
+ can_review: !1,
115
+ can_start: !0,
116
+ can_teacher_review: !1,
117
+ can_teacher_score: !1,
118
+ can_unassign: !1,
119
+ can_unlock: !1,
120
+ can_view_solution: !1,
121
+ is_review_disabled: !1
122
+ },
123
+ position: 1,
124
+ program_id: null,
125
+ rewards: [],
126
+ scheduled_end_ts: null,
127
+ scheduled_start_ts: null,
128
+ sheet_statement: "Yet to start",
129
+ sheet_time: 0,
130
+ started_on_ts: null,
131
+ state: "IN_PROGRESS",
132
+ subtext: "10 Questions",
133
+ target_accuracy: null,
134
+ timer_type: null,
135
+ title: "Identify Types of Polygons • Understand Decimal Numbers • Convert Improper Fractions to Decimals",
136
+ total_questions: 10,
137
+ unlocked_on_ts: 1747751086,
138
+ user_attempt_id: null,
139
+ user_block_id: null,
140
+ user_milestone_id: null,
141
+ user_node_id: "2e715efe-3586-11f0-be8b-526b31ab17cd",
142
+ worksheet_id: "b70c4195-2727-415e-b3a0-f9c0672103dc"
143
+ },
144
+ {
145
+ accuracy: null,
146
+ attempt_location: "ANY",
147
+ attempt_state: null,
148
+ block_id: "6c30d4f0-4bb0-4fc2-9dac-f7016f1bd589",
149
+ break_interval: 0,
150
+ card_header: "LEARN",
151
+ ceremony_completed_on_ts: null,
152
+ chapter_id: "8ac6c4a0-931c-4bd3-80f4-30b1c13cb8f4",
153
+ completed_on_ts: null,
154
+ course_type: "PROGRAM",
155
+ desmos_calculator_enabled: !1,
156
+ due_date_ts: 1747765021,
157
+ generic_node_type: null,
158
+ homework_created_on_ts: 1747763568498342e-6,
159
+ homework_id: "3e05a164-35a3-11f0-b52f-9207bc065284",
160
+ image_hue: "BLUE",
161
+ image_url: "https://dw7j1ezsvbafb.cloudfront.net/media/chapter-images/Measurement_G4.jpg",
162
+ is_core_lesson_node: null,
163
+ is_irrelevant: !1,
164
+ is_lesson_primary_node: null,
165
+ is_lesson_v3_enabled: !1,
166
+ is_optional: !1,
167
+ is_timed: !1,
168
+ is_worksheet_v3: null,
169
+ learnosity_activity_ref: "G4-Length-Weight-Capacity-W01.vxp",
170
+ lesson_id: null,
171
+ marked_as_completed: !1,
172
+ mini_goal_code: "MEA059-A",
173
+ node_group: null,
174
+ node_id: "ee7b2e69-fd74-4311-a378-8bb4e45449a6",
175
+ node_sub_group: null,
176
+ node_type: "LEARNING",
177
+ permissions: {
178
+ can_assign_as_homework: !1,
179
+ can_attempt: !1,
180
+ can_change_attempt_location: !1,
181
+ can_mark_familiar: !0,
182
+ can_reattempt: !1,
183
+ can_reset: !1,
184
+ can_resume: !1,
185
+ can_review: !1,
186
+ can_start: !0,
187
+ can_teacher_review: !1,
188
+ can_teacher_score: !1,
189
+ can_unassign: !1,
190
+ can_unlock: !1,
191
+ can_view_solution: !1,
192
+ is_review_disabled: !1
193
+ },
194
+ position: 1,
195
+ program_id: "1f7eee07-9e8f-423f-8c3a-690c42cdb6b6",
196
+ rewards: [],
197
+ scheduled_end_ts: null,
198
+ scheduled_start_ts: null,
199
+ sheet_statement: "Yet to start",
200
+ sheet_time: 0,
201
+ started_on_ts: null,
202
+ state: "NOT_STARTED",
203
+ subtext: "Measurement",
204
+ target_accuracy: 0,
205
+ timer_type: null,
206
+ title: "Solve Problems on Conversion of Units of Length",
207
+ total_questions: 34,
208
+ unlocked_on_ts: 1747160221,
209
+ user_attempt_id: null,
210
+ user_block_id: "83d76c9d-5d2f-49a9-9a3e-fed0293a08ab",
211
+ user_milestone_id: null,
212
+ user_node_id: "76f860b0-3026-11f0-8945-925795afcf7c",
213
+ worksheet_id: "8b9bc1d6-0d7b-11ed-bf5b-4eea17b71ce5"
214
+ },
215
+ {
216
+ accuracy: null,
217
+ attempt_location: "ANY",
218
+ block_id: "",
219
+ card_header: "TEST",
220
+ chapter_id: null,
221
+ course_type: "EXAM",
222
+ desmos_calculator_enabled: !1,
223
+ due_date_ts: 1748368416713071e-6,
224
+ homework_id: "5ac50966-35a3-11f0-b52f-9207bc065284",
225
+ image_hue: "YELLOW",
226
+ image_url: null,
227
+ is_lesson_v3_enabled: !1,
228
+ is_optional: !1,
229
+ is_timed: !0,
230
+ is_worksheet_v3: null,
231
+ learnosity_activity_ref: null,
232
+ marked_as_completed: !1,
233
+ node_id: "bbcb2c1a-3289-11ed-b746-6237f2d293d9",
234
+ node_type: "DYNAMIC",
235
+ permissions: {
236
+ can_assign_as_homework: !1,
237
+ can_attempt: !1,
238
+ can_change_attempt_location: !1,
239
+ can_mark_familiar: !1,
240
+ can_reattempt: !1,
241
+ can_reset: !1,
242
+ can_resume: !1,
243
+ can_review: !1,
244
+ can_start: !0,
245
+ can_teacher_review: !1,
246
+ can_teacher_score: !1,
247
+ can_unassign: !1,
248
+ can_unlock: !1,
249
+ can_view_solution: !1,
250
+ is_review_disabled: !1
251
+ },
252
+ sheet_statement: "Yet to start",
253
+ sheet_time: 2700,
254
+ state: "NOT_STARTED",
255
+ subtext: "17 Questions, 45 Mins",
256
+ title: "Factors, Multiples, and Primes • Time • An Introduction to Decimal Numbers • Fractions",
257
+ total_questions: 17,
258
+ unlocked_on_ts: 1747763616713071e-6,
259
+ user_attempt_id: null,
260
+ user_milestone_id: "f091d182-30fa-44b6-b7c5-6ecdc2c1592a",
261
+ user_node_id: "5ac2b404-35a3-11f0-b52f-9207bc065284",
262
+ worksheet_id: "bbbfd900-3289-11ed-b746-6237f2d293d9"
263
+ }
264
+ ];
265
+ export {
266
+ _ as HOMEWORK_DETAILS
267
+ };
268
+ //# sourceMappingURL=home-page-homeworks-mock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"home-page-homeworks-mock.js","sources":["../../../../../src/features/journey/hooks/use-home-page-journey/home-page-homeworks-mock.ts"],"sourcesContent":["import type { INodeDataProps } from '../../../chapters-v2/comps/node-card/node-card-types';\n\nconst now = Math.floor(Date.now() / 1000); // current epoch in seconds\nconst fiveDaysLater = now + 5 * 24 * 60 * 60;\n\nconst HOMEWORK_DETAILS = [\n {\n accuracy: null,\n attempt_location: 'ANY',\n attempt_state: null,\n block_id: '23a4e676-7094-11ed-87bc-6ec30f5d70bb',\n break_interval: 0,\n card_header: 'PUZZLE',\n ceremony_completed_on_ts: null,\n chapter_id: '8b0d5af7-3d47-4888-acef-920069c6ae13',\n completed_on_ts: null,\n course_type: 'PROGRAM',\n desmos_calculator_enabled: false,\n due_date_ts: 1748241531,\n generic_node_type: null,\n homework_created_on_ts: 1747636732.547152,\n homework_id: 'ede761ea-347b-11f0-b9d2-5e3c498fca42',\n image_hue: 'BLUE',\n image_url: 'https://dw7j1ezsvbafb.cloudfront.net/media/chapter-images/Default.jpg',\n is_core_lesson_node: null,\n is_irrelevant: false,\n is_lesson_primary_node: null,\n is_lesson_v3_enabled: false,\n is_optional: true,\n is_timed: false,\n is_worksheet_v3: null,\n learnosity_activity_ref: 'CR_G4L1 Sum of Three Cubes',\n lesson_id: null,\n marked_as_completed: false,\n mini_goal_code: null,\n node_group: null,\n node_id: '1de6ac4a-8e41-4446-9a07-a93d5713a2ff',\n node_sub_group: null,\n node_type: 'PUZZLE_EASY',\n permissions: {\n can_assign_as_homework: false,\n can_attempt: false,\n can_change_attempt_location: false,\n can_mark_familiar: false,\n can_reattempt: false,\n can_reset: false,\n can_resume: false,\n can_review: false,\n can_start: true,\n can_teacher_review: false,\n can_teacher_score: false,\n can_unassign: false,\n can_unlock: false,\n can_view_solution: false,\n is_review_disabled: false,\n },\n position: 7,\n program_id: '1f7eee07-9e8f-423f-8c3a-690c42cdb6b6',\n rewards: [],\n scheduled_end_ts: null,\n scheduled_start_ts: null,\n sheet_statement: 'Yet to start',\n sheet_time: 2400,\n started_on_ts: null,\n state: 'NOT_STARTED',\n subtext: 'Puzzle Cards',\n target_accuracy: 100,\n timer_type: null,\n title: 'Sum of Three Cubes',\n total_questions: 0,\n unlocked_on_ts: 1747636731,\n user_attempt_id: null,\n user_block_id: 'a021e0e2-b6f6-4bf0-84d2-dd7b603b89d4',\n user_milestone_id: null,\n user_node_id: '147520a0-2f62-11f0-876b-da0546594b04',\n worksheet_id: 'c4e1035a-d3e5-11eb-8971-6296551a51ec',\n },\n {\n accuracy: null,\n attempt_location: 'ANY',\n attempt_state: null,\n block_id: '',\n break_interval: 0,\n card_header: 'SMART PRACTICE',\n ceremony_completed_on_ts: null,\n chapter_id: null,\n completed_on_ts: null,\n course_type: 'PROGRAM',\n desmos_calculator_enabled: false,\n due_date_ts: fiveDaysLater,\n generic_node_type: null,\n homework_created_on_ts: 1747751314.184602,\n homework_id: 'b5e1bf00-3586-11f0-a22a-9207bc065284',\n image_hue: 'PURPLE',\n image_url: null,\n is_core_lesson_node: null,\n is_irrelevant: false,\n is_lesson_primary_node: null,\n is_lesson_v3_enabled: false,\n is_optional: false,\n is_timed: false,\n is_worksheet_v3: null,\n learnosity_activity_ref: 'mastery-6f8b199b-9c54-40dc-833e-69db342fec26',\n lesson_id: null,\n marked_as_completed: false,\n mini_goal_code: null,\n node_group: null,\n node_id: '307b7775-98fd-4831-bd2f-e87403db7da7',\n node_sub_group: null,\n node_type: 'MASTERY',\n permissions: {\n can_assign_as_homework: false,\n can_attempt: false,\n can_change_attempt_location: false,\n can_mark_familiar: false,\n can_reattempt: false,\n can_reset: false,\n can_resume: false,\n can_review: false,\n can_start: true,\n can_teacher_review: false,\n can_teacher_score: false,\n can_unassign: false,\n can_unlock: false,\n can_view_solution: false,\n is_review_disabled: false,\n },\n position: 1,\n program_id: null,\n rewards: [],\n scheduled_end_ts: null,\n scheduled_start_ts: null,\n sheet_statement: 'Yet to start',\n sheet_time: 0,\n started_on_ts: null,\n state: 'IN_PROGRESS',\n subtext: '10 Questions',\n target_accuracy: null,\n timer_type: null,\n title:\n 'Identify Types of Polygons \\u2022 Understand Decimal Numbers \\u2022 Convert Improper Fractions to Decimals',\n total_questions: 10,\n unlocked_on_ts: 1747751086,\n user_attempt_id: null,\n user_block_id: null,\n user_milestone_id: null,\n user_node_id: '2e715efe-3586-11f0-be8b-526b31ab17cd',\n worksheet_id: 'b70c4195-2727-415e-b3a0-f9c0672103dc',\n },\n {\n accuracy: null,\n attempt_location: 'ANY',\n attempt_state: null,\n block_id: '6c30d4f0-4bb0-4fc2-9dac-f7016f1bd589',\n break_interval: 0,\n card_header: 'LEARN',\n ceremony_completed_on_ts: null,\n chapter_id: '8ac6c4a0-931c-4bd3-80f4-30b1c13cb8f4',\n completed_on_ts: null,\n course_type: 'PROGRAM',\n desmos_calculator_enabled: false,\n due_date_ts: 1747765021,\n generic_node_type: null,\n homework_created_on_ts: 1747763568.498342,\n homework_id: '3e05a164-35a3-11f0-b52f-9207bc065284',\n image_hue: 'BLUE',\n image_url: 'https://dw7j1ezsvbafb.cloudfront.net/media/chapter-images/Measurement_G4.jpg',\n is_core_lesson_node: null,\n is_irrelevant: false,\n is_lesson_primary_node: null,\n is_lesson_v3_enabled: false,\n is_optional: false,\n is_timed: false,\n is_worksheet_v3: null,\n learnosity_activity_ref: 'G4-Length-Weight-Capacity-W01.vxp',\n lesson_id: null,\n marked_as_completed: false,\n mini_goal_code: 'MEA059-A',\n node_group: null,\n node_id: 'ee7b2e69-fd74-4311-a378-8bb4e45449a6',\n node_sub_group: null,\n node_type: 'LEARNING',\n permissions: {\n can_assign_as_homework: false,\n can_attempt: false,\n can_change_attempt_location: false,\n can_mark_familiar: true,\n can_reattempt: false,\n can_reset: false,\n can_resume: false,\n can_review: false,\n can_start: true,\n can_teacher_review: false,\n can_teacher_score: false,\n can_unassign: false,\n can_unlock: false,\n can_view_solution: false,\n is_review_disabled: false,\n },\n position: 1,\n program_id: '1f7eee07-9e8f-423f-8c3a-690c42cdb6b6',\n rewards: [],\n scheduled_end_ts: null,\n scheduled_start_ts: null,\n sheet_statement: 'Yet to start',\n sheet_time: 0,\n started_on_ts: null,\n state: 'NOT_STARTED',\n subtext: 'Measurement',\n target_accuracy: 0,\n timer_type: null,\n title: 'Solve Problems on Conversion of Units of Length',\n total_questions: 34,\n unlocked_on_ts: 1747160221,\n user_attempt_id: null,\n user_block_id: '83d76c9d-5d2f-49a9-9a3e-fed0293a08ab',\n user_milestone_id: null,\n user_node_id: '76f860b0-3026-11f0-8945-925795afcf7c',\n worksheet_id: '8b9bc1d6-0d7b-11ed-bf5b-4eea17b71ce5',\n },\n {\n accuracy: null,\n attempt_location: 'ANY',\n block_id: '',\n card_header: 'TEST',\n chapter_id: null,\n course_type: 'EXAM',\n desmos_calculator_enabled: false,\n due_date_ts: 1748368416.713071,\n homework_id: '5ac50966-35a3-11f0-b52f-9207bc065284',\n image_hue: 'YELLOW',\n image_url: null,\n is_lesson_v3_enabled: false,\n is_optional: false,\n is_timed: true,\n is_worksheet_v3: null,\n learnosity_activity_ref: null,\n marked_as_completed: false,\n node_id: 'bbcb2c1a-3289-11ed-b746-6237f2d293d9',\n node_type: 'DYNAMIC',\n permissions: {\n can_assign_as_homework: false,\n can_attempt: false,\n can_change_attempt_location: false,\n can_mark_familiar: false,\n can_reattempt: false,\n can_reset: false,\n can_resume: false,\n can_review: false,\n can_start: true,\n can_teacher_review: false,\n can_teacher_score: false,\n can_unassign: false,\n can_unlock: false,\n can_view_solution: false,\n is_review_disabled: false,\n },\n sheet_statement: 'Yet to start',\n sheet_time: 2700,\n state: 'NOT_STARTED',\n subtext: '17 Questions, 45 Mins',\n title:\n 'Factors, Multiples, and Primes \\u2022 Time \\u2022 An Introduction to Decimal Numbers \\u2022 Fractions',\n total_questions: 17,\n unlocked_on_ts: 1747763616.713071,\n user_attempt_id: null,\n user_milestone_id: 'f091d182-30fa-44b6-b7c5-6ecdc2c1592a',\n user_node_id: '5ac2b404-35a3-11f0-b52f-9207bc065284',\n worksheet_id: 'bbbfd900-3289-11ed-b746-6237f2d293d9',\n },\n] as unknown as INodeDataProps[];\n\nexport { HOMEWORK_DETAILS };\n"],"names":["now","fiveDaysLater","HOMEWORK_DETAILS"],"mappings":"AAEA,MAAMA,IAAM,KAAK,MAAM,KAAK,IAAA,IAAQ,GAAI,GAClCC,IAAgBD,IAAM,IAAI,KAAK,KAAK,IAEpCE,IAAmB;AAAA,EACvB;AAAA,IACE,UAAU;AAAA,IACV,kBAAkB;AAAA,IAClB,eAAe;AAAA,IACf,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,aAAa;AAAA,IACb,0BAA0B;AAAA,IAC1B,YAAY;AAAA,IACZ,iBAAiB;AAAA,IACjB,aAAa;AAAA,IACb,2BAA2B;AAAA,IAC3B,aAAa;AAAA,IACb,mBAAmB;AAAA,IACnB,wBAAwB;AAAA,IACxB,aAAa;AAAA,IACb,WAAW;AAAA,IACX,WAAW;AAAA,IACX,qBAAqB;AAAA,IACrB,eAAe;AAAA,IACf,wBAAwB;AAAA,IACxB,sBAAsB;AAAA,IACtB,aAAa;AAAA,IACb,UAAU;AAAA,IACV,iBAAiB;AAAA,IACjB,yBAAyB;AAAA,IACzB,WAAW;AAAA,IACX,qBAAqB;A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