@cuemath/leap 3.2.3 → 3.2.4-aa0

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.
@@ -1,192 +1,173 @@
1
- import { jsxs as L, jsx as i, Fragment as Vt } from "react/jsx-runtime";
2
- import { memo as Xt, useMemo as p, useState as T, useRef as K, useCallback as Pt, useEffect as R, useLayoutEffect as jt } from "react";
3
- import { IMAGES as Gt } from "../../../../assets/images/images.js";
4
- import Yt from "../../../cue-canvas/cue-canvas.js";
5
- import Zt from "../../../pointer-sync/pointer.js";
6
- import Ht from "../../../ui/layout/flex-view.js";
7
- import Jt from "../../constants/events.js";
8
- import { QUESTIONS_GAP as kt, LEARNOSITY_KEYBOARD_HEIGHT as St } from "../constants.js";
9
- import { getPaperColorByQuestion as qt, isConceptIntroWidget as te, scrollToQuestion as bt } from "../worksheet-helpers.js";
10
- import ee from "./header/header.js";
11
- import ie from "./learnosity-question.js";
12
- import re from "./question-backdrop/question-backdrop.js";
13
- import oe from "./subjective-review.js";
14
- import ne from "./system-intros/advanced-practice-intro.js";
15
- import ce from "./system-intros/basic-practice-intro.js";
16
- import ae from "./system-intros/exit-ticket-intro.js";
17
- import se from "./system-intros/regular-practice-intro.js";
18
- import { QuestionContainerWrapper as le, StimulusReview as me, QuestionContainer as ue, QuestionWrapper as fe, LessonOverviewBanner as he, CueCanvasWrapper as de, Hint as ge, Solution as Ee } from "./worksheet-question-styled.js";
19
- const Me = Xt(
1
+ import { jsxs as b, jsx as r, Fragment as Ut } from "react/jsx-runtime";
2
+ import { memo as zt, useMemo as $, useState as T, useRef as z, useCallback as Dt, useEffect as _, useLayoutEffect as Vt } from "react";
3
+ import { IMAGES as Xt } from "../../../../assets/images/images.js";
4
+ import Pt from "../../../cue-canvas/cue-canvas.js";
5
+ import jt from "../../../pointer-sync/pointer.js";
6
+ import vt from "../../../ui/layout/flex-view.js";
7
+ import Ft from "../../constants/events.js";
8
+ import { QUESTIONS_GAP as Gt } from "../constants.js";
9
+ import { getPaperColorByQuestion as Yt, isConceptIntroWidget as Zt, scrollToQuestion as wt } from "../worksheet-helpers.js";
10
+ import Kt from "./header/header.js";
11
+ import Jt from "./learnosity-question.js";
12
+ import qt from "./question-backdrop/question-backdrop.js";
13
+ import kt from "./subjective-review.js";
14
+ import ti from "./system-intros/advanced-practice-intro.js";
15
+ import ii from "./system-intros/basic-practice-intro.js";
16
+ import ri from "./system-intros/exit-ticket-intro.js";
17
+ import ei from "./system-intros/regular-practice-intro.js";
18
+ import { QuestionContainerWrapper as oi, StimulusReview as ni, QuestionContainer as ci, QuestionWrapper as ai, LessonOverviewBanner as mi, CueCanvasWrapper as li, Hint as hi, Solution as si } from "./worksheet-question-styled.js";
19
+ const Ti = zt(
20
20
  ({
21
- userType: c,
22
- signedRequest: Ct,
23
- worksheetCompleted: g,
21
+ userType: o,
22
+ signedRequest: Ht,
23
+ worksheetCompleted: f,
24
24
  question: n,
25
- response: e,
25
+ response: i,
26
26
  nextQuestionId: v,
27
27
  isActive: w,
28
28
  isHidden: A,
29
- canRender: V,
30
- loggerRef: M,
31
- appended: a,
32
- maxQuestionWidth: X,
33
- behavior: P,
34
- layout: j,
35
- actionbarHeight: Wt,
36
- learnosity: b,
37
- intersectionObserver: G,
38
- background: Y = "paper",
39
- onMediaStateChange: yt,
40
- onMarkForReview: Bt,
41
- userId: xt,
42
- onPublishStrokes: Z,
43
- onReceiveStrokes: J,
44
- isScribblingEnabled: k,
45
- initialStrokesData: O,
46
- isCanvasEnabled: q,
47
- onPublishMouseMove: tt,
48
- onSubscribeMouseMove: et,
49
- setActiveQuestionId: it,
50
- canResolveDoubt: It,
29
+ canRender: D,
30
+ loggerRef: B,
31
+ appended: c,
32
+ maxQuestionWidth: V,
33
+ behavior: X,
34
+ layout: P,
35
+ actionbarHeight: St,
36
+ learnosity: S,
37
+ intersectionObserver: j,
38
+ background: F = "paper",
39
+ onMediaStateChange: Rt,
40
+ onMarkForReview: Wt,
41
+ userId: Ct,
42
+ onPublishStrokes: G,
43
+ onReceiveStrokes: Y,
44
+ isScribblingEnabled: Z,
45
+ initialStrokesData: y,
46
+ isCanvasEnabled: K,
47
+ onPublishMouseMove: J,
48
+ onSubscribeMouseMove: q,
49
+ setActiveQuestionId: k,
50
+ canResolveDoubt: pt,
51
51
  onResolveDoubt: Lt,
52
- studentId: Tt,
53
- responses: At,
54
- subjectiveProps: rt
52
+ studentId: xt,
53
+ responses: It,
54
+ subjectiveProps: tt
55
55
  }) => {
56
- const C = p(
57
- () => Y === "paper" ? qt(n) : void 0,
58
- [Y, n]
59
- ), [W, Mt] = T(), [ot, Ot] = T(), {
60
- validation: nt,
61
- review: N,
62
- maximumAttempts: ct,
63
- canExceedAttempts: at,
64
- teacherValidationEnabled: H,
65
- solutionHidden: st
66
- } = P, { minQuestionHeight: Nt, topOffset: lt, questionsScrollable: y, renderQuestionHeader: Qt } = j, {
67
- type: E,
68
- response_id: r,
69
- stimulus_review: _,
70
- item_type: f,
71
- instructor_stimulus: mt,
72
- metadata: { hints: h, solution: B, widget_reference: ut },
73
- item_reference: ft,
56
+ const R = $(
57
+ () => F === "paper" ? Yt(n) : void 0,
58
+ [F, n]
59
+ ), [W, bt] = T(), [it, Tt] = T(), {
60
+ validation: rt,
61
+ review: M,
62
+ maximumAttempts: et,
63
+ canExceedAttempts: ot,
64
+ teacherValidationEnabled: C,
65
+ solutionHidden: nt
66
+ } = X, { minQuestionHeight: At, topOffset: ct, questionsScrollable: p, renderQuestionHeader: Bt } = P, {
67
+ type: H,
68
+ response_id: e,
69
+ stimulus_review: u,
70
+ item_type: l,
71
+ instructor_stimulus: at,
72
+ metadata: { hints: h, solution: L, widget_reference: mt },
73
+ item_reference: lt,
74
74
  question_number: ht,
75
- item_number: dt,
76
- item_display_number: gt
77
- } = n, Ft = !!_, x = f === "overview", m = te(mt), d = mt === "SystemIntro", Q = m || d, Et = e == null ? void 0 : e.responseEdited, zt = p(() => {
75
+ item_number: st,
76
+ item_display_number: ft
77
+ } = n, yt = !!u, x = l === "overview", m = Zt(at), s = at === "SystemIntro", ut = m || s, dt = i == null ? void 0 : i.responseEdited, Mt = $(() => {
78
78
  const t = [];
79
- return Et && c === "TEACHER" && t.push("attempting"), a || t.push("hidden"), E === "hotspot" && t.push("correct-answers-hidden"), a && H && E === "clozetext" && (!m || c === "STUDENT" ? t.push("response-hidden") : t.push("response-code-hidden")), x && t.push("lesson-overview"), m && t.push("concept-intro"), d && t.push("system-intro"), t.join(" ");
79
+ return dt && o === "TEACHER" && t.push("attempting"), c || t.push("hidden"), H === "hotspot" && t.push("correct-answers-hidden"), c && C && H === "clozetext" && (!m || o === "STUDENT" ? t.push("response-hidden") : t.push("response-code-hidden")), x && t.push("lesson-overview"), m && t.push("concept-intro"), s && t.push("system-intro"), t.join(" ");
80
80
  }, [
81
- a,
81
+ c,
82
82
  m,
83
83
  x,
84
- d,
85
- E,
86
- Et,
84
+ s,
87
85
  H,
88
- c
89
- ]), F = K({}), z = (e == null ? void 0 : e.hintsUsed) ?? 0, [_t] = T((e == null ? void 0 : e.validatedByTeacher) ?? !1), I = K(null), D = K(null), U = p(() => h == null ? void 0 : h.slice(0, z), [h, z]), $t = p(() => c === "TEACHER" || g ? !0 : !e || !e.response || e.responseEdited ? !1 : nt, [e, c, nt, g]), pt = p(() => {
90
- if (c === "TEACHER") return !0;
91
- if (N) {
92
- const { attemptsHistory: t } = e ?? {};
93
- return ((t == null ? void 0 : t.length) ?? 0) >= ct && !at;
86
+ dt,
87
+ C,
88
+ o
89
+ ]), O = z({}), N = (i == null ? void 0 : i.hintsUsed) ?? 0, [gt] = T((i == null ? void 0 : i.validatedByTeacher) ?? !1), I = z(null), Q = z(null), U = $(() => h == null ? void 0 : h.slice(0, N), [h, N]), Et = $(() => o === "TEACHER" || f ? !0 : !i || !i.response || i.responseEdited ? !1 : rt, [i, o, rt, f]), $t = $(() => {
90
+ if (o === "TEACHER") return !0;
91
+ if (M) {
92
+ const { attemptsHistory: t } = i ?? {};
93
+ return ((t == null ? void 0 : t.length) ?? 0) >= et && !ot;
94
94
  }
95
95
  return !1;
96
- }, [at, ct, e, N, c]), Dt = p(
97
- () => B && g && !st,
98
- [st, B, g]
99
- ), [Rt, Ut] = T({
96
+ }, [ot, et, i, M, o]), Ot = $(
97
+ () => L && f && !nt,
98
+ [nt, L, f]
99
+ ), [_t, Nt] = T({
100
100
  width: 0,
101
101
  height: 0
102
- }), Kt = Pt((t) => {
103
- Ot(t);
102
+ }), Qt = Dt((t) => {
103
+ Tt(t);
104
104
  }, []);
105
- return R(() => {
106
- I.current && G.observe(I.current);
107
- }, [G]), R(() => {
108
- if (a && (n.type === "clozeassociation" || n.type === "association" || n.type === "clozeformula")) {
105
+ return _(() => {
106
+ I.current && j.observe(I.current);
107
+ }, [j]), _(() => {
108
+ if (c && (n.type === "clozeassociation" || n.type === "association" || n.type === "clozeformula")) {
109
109
  const t = document.querySelectorAll(
110
110
  `.widget-${n.response_id} .lrn_draggable`
111
111
  );
112
- let s = 0, o = 0;
113
- t.forEach((l) => {
114
- s = Math.max(s, l.clientWidth + 33), o = Math.max(o, l.clientHeight + 1);
115
- }), Ut({
116
- width: n.type !== "association" ? s : 0,
117
- height: o
112
+ let a = 0, d = 0;
113
+ t.forEach((g) => {
114
+ a = Math.max(a, g.clientWidth + 33), d = Math.max(d, g.clientHeight + 1);
115
+ }), Nt({
116
+ width: n.type !== "association" ? a : 0,
117
+ height: d
118
118
  });
119
119
  }
120
- }, [a, n.response_id, n.type]), R(() => {
121
- if (a && $t) {
122
- const t = b.question(r);
120
+ }, [c, n.response_id, n.type]), _(() => {
121
+ if (c && Et) {
122
+ const t = S.question(e);
123
123
  t && t.validate({
124
- showCorrectAnswers: pt
124
+ showCorrectAnswers: $t
125
125
  });
126
126
  }
127
- }, [a, b, r, N, pt, c, $t]), R(() => {
128
- const t = D.current;
129
- if (a && t && M.current && F.current[r] === void 0 && !m && !d) {
130
- const s = t.clientWidth, o = t.querySelectorAll("*");
131
- for (let l = 0; l < o.length; l++) {
132
- const u = o[l];
133
- if (u != null && u.closest(".resize-sensor"))
127
+ }, [c, S, e, M, $t, o, Et]), _(() => {
128
+ const t = Q.current;
129
+ if (c && t && B.current && O.current[e] === void 0 && !m && !s) {
130
+ const a = t.clientWidth, d = t.querySelectorAll("*");
131
+ for (let g = 0; g < d.length; g++) {
132
+ const E = d[g];
133
+ if (E != null && E.closest(".resize-sensor"))
134
134
  continue;
135
- if (((u == null ? void 0 : u.clientWidth) ?? 0) > s) {
136
- F.current[r] = !0, M.current(Jt.WORKSHEET_V3_GREATER_WIDTH_ELEMENT, {
137
- item_reference: ft,
138
- widget_reference: ut,
139
- question_type: E,
135
+ if (((E == null ? void 0 : E.clientWidth) ?? 0) > a) {
136
+ O.current[e] = !0, B.current(Ft.WORKSHEET_V3_GREATER_WIDTH_ELEMENT, {
137
+ item_reference: lt,
138
+ widget_reference: mt,
139
+ question_type: H,
140
140
  question_number: ht,
141
- responseId: r,
142
- item_number: dt,
143
- item_display_number: gt
141
+ responseId: e,
142
+ item_number: st,
143
+ item_display_number: ft
144
144
  });
145
145
  break;
146
146
  }
147
147
  }
148
- F.current[r] = !1;
148
+ O.current[e] = !1;
149
149
  }
150
150
  }, [
151
- a,
151
+ c,
152
152
  m,
153
- d,
154
- gt,
155
- dt,
153
+ s,
156
154
  ft,
157
- M,
158
- E,
155
+ st,
156
+ lt,
157
+ B,
158
+ H,
159
159
  ht,
160
- r,
161
- ut
162
- ]), R(() => {
163
- const t = I.current, s = (o) => {
164
- const l = o.querySelector(".lrn_response_wrapper");
165
- if (Q || !l)
166
- return 0;
167
- const u = o.getBoundingClientRect().bottom, S = l.getBoundingClientRect().bottom, $ = Math.abs(u - S);
168
- return $ < St ? St - $ : 0;
169
- };
170
- a && t && Mt((o) => {
171
- var wt;
172
- const S = ((wt = n.ui_style) == null ? void 0 : wt.type) === "floating-keyboard" && !(H && E === "clozetext"), $ = t.clientHeight;
173
- if ($ === 0)
174
- return o;
175
- if (!o)
176
- return Math.ceil(
177
- $ + (S ? s(t) : 0)
178
- );
179
- const vt = Math.ceil(
180
- $ + (S ? s(t) : 0)
181
- );
182
- return Math.abs(vt - o) > 4 ? vt : o;
183
- }), (z || Ft || B && g) && b.renderMath("mathjax");
184
- }), jt(() => {
185
- !y && !A && bt(r);
186
- }, [A, y, r, lt]), R(() => {
187
- if (H && v && !_t && (e != null && e.validatedByTeacher)) {
160
+ e,
161
+ mt
162
+ ]), _(() => {
163
+ const t = I.current, a = t == null ? void 0 : t.clientHeight;
164
+ c && a && a > 0 && bt(Math.ceil(a)), (N || yt || L && f) && S.renderMath("mathjax");
165
+ }), Vt(() => {
166
+ !p && !A && wt(e);
167
+ }, [A, p, e, ct]), _(() => {
168
+ if (C && v && !gt && (i != null && i.validatedByTeacher)) {
188
169
  const t = setTimeout(() => {
189
- y ? bt(v) : it(v);
170
+ p ? wt(v) : k(v);
190
171
  }, 1e3);
191
172
  return () => {
192
173
  clearTimeout(t);
@@ -194,160 +175,160 @@ const Me = Xt(
194
175
  }
195
176
  }, [
196
177
  v,
197
- H,
198
- _t,
199
- y,
200
- it,
201
- e == null ? void 0 : e.validatedByTeacher
202
- ]), /* @__PURE__ */ L(
203
- le,
178
+ C,
179
+ gt,
180
+ p,
181
+ k,
182
+ i == null ? void 0 : i.validatedByTeacher
183
+ ]), /* @__PURE__ */ b(
184
+ oi,
204
185
  {
205
- "data-response-id": r,
206
- className: `widget-${r}`,
186
+ "data-response-id": e,
187
+ className: `widget-${e}`,
207
188
  ref: I,
208
- $topOffset: lt,
209
- $flexDirection: _ ? "row" : "column",
210
- $alignItems: _ ? "flex-start" : "center",
189
+ $topOffset: ct,
190
+ $flexDirection: u ? "row" : "column",
191
+ $alignItems: u ? "flex-start" : "center",
211
192
  $hidden: A,
212
- $marginBottom: kt,
193
+ $marginBottom: Gt,
213
194
  children: [
214
- _ && /* @__PURE__ */ i(
215
- me,
195
+ u && /* @__PURE__ */ r(
196
+ ni,
216
197
  {
217
198
  dangerouslySetInnerHTML: {
218
- __html: _
199
+ __html: u
219
200
  }
220
201
  }
221
202
  ),
222
- /* @__PURE__ */ L(
223
- ue,
203
+ /* @__PURE__ */ b(
204
+ ci,
224
205
  {
225
- ref: D,
226
- $width: _ ? "50%" : `${X}px`,
227
- $minHeight: W ? Math.max(W - 72, ot ?? 0) : Nt,
206
+ ref: Q,
207
+ $width: u ? "50%" : `${V}px`,
208
+ $minHeight: W ? Math.max(W - 72, it ?? 0) : At,
228
209
  $isActive: w,
229
- $paperColor: C,
210
+ $paperColor: R,
230
211
  $opacity: w ? 1 : 0.2,
231
212
  children: [
232
- w && !!tt && !!et && q && /* @__PURE__ */ i(
233
- Zt,
213
+ w && !!J && !!q && K && /* @__PURE__ */ r(
214
+ jt,
234
215
  {
235
- containerRef: D,
236
- onPublish: tt,
237
- onSubscribe: et,
238
- responseId: r
216
+ containerRef: Q,
217
+ onPublish: J,
218
+ onSubscribe: q,
219
+ responseId: e
239
220
  }
240
221
  ),
241
- /* @__PURE__ */ L(
242
- fe,
222
+ /* @__PURE__ */ b(
223
+ ai,
243
224
  {
244
- className: zt,
245
- $dropzoneMinWidth: Rt.width,
246
- $dropzoneMinHeight: Rt.height,
225
+ className: Mt,
226
+ $dropzoneMinWidth: _t.width,
227
+ $dropzoneMinHeight: _t.height,
247
228
  children: [
248
- Qt && !(x || m || d) && /* @__PURE__ */ i(
249
- ee,
229
+ Bt && !(x || m || s) && /* @__PURE__ */ r(
230
+ Kt,
250
231
  {
251
- userType: c,
232
+ userType: o,
252
233
  question: n,
253
- response: e,
254
- behavior: P,
255
- layout: j,
256
- paperColor: C,
257
- onMarkForReview: Bt,
258
- actionbarHeight: Wt,
259
- canResolveDoubt: It,
234
+ response: i,
235
+ behavior: X,
236
+ layout: P,
237
+ paperColor: R,
238
+ onMarkForReview: Wt,
239
+ actionbarHeight: St,
240
+ canResolveDoubt: pt,
260
241
  onResolveDoubt: Lt,
261
- worksheetCompleted: g
242
+ worksheetCompleted: f
262
243
  }
263
244
  ),
264
- x && /* @__PURE__ */ i(he, { src: Gt.LESSON_OVERVIEW_BANNER }),
265
- m && C && /* @__PURE__ */ i(re, { paperColor: C }),
266
- d ? /* @__PURE__ */ L(Vt, { children: [
267
- f === "practice-basic" && /* @__PURE__ */ i(ce, {}),
268
- f === "practice-regular" && /* @__PURE__ */ i(se, {}),
269
- f === "exit-ticket" && /* @__PURE__ */ i(ae, {}),
270
- (f == null ? void 0 : f.startsWith("advanced-")) && /* @__PURE__ */ i(ne, {})
245
+ x && /* @__PURE__ */ r(mi, { src: Xt.LESSON_OVERVIEW_BANNER }),
246
+ m && R && /* @__PURE__ */ r(qt, { paperColor: R }),
247
+ s ? /* @__PURE__ */ b(Ut, { children: [
248
+ l === "practice-basic" && /* @__PURE__ */ r(ii, {}),
249
+ l === "practice-regular" && /* @__PURE__ */ r(ei, {}),
250
+ l === "exit-ticket" && /* @__PURE__ */ r(ri, {}),
251
+ (l == null ? void 0 : l.startsWith("advanced-")) && /* @__PURE__ */ r(ti, {})
271
252
  ] }) : void 0,
272
- /* @__PURE__ */ i(
273
- ie,
253
+ /* @__PURE__ */ r(
254
+ Jt,
274
255
  {
275
- signedRequest: Ct,
276
- appended: a,
256
+ signedRequest: Ht,
257
+ appended: c,
277
258
  question: n,
278
- response: e == null ? void 0 : e.response,
279
- canRender: V || w,
280
- learnosity: b,
281
- canForceAppend: c === "TEACHER",
259
+ response: i == null ? void 0 : i.response,
260
+ canRender: D || w,
261
+ learnosity: S,
262
+ canForceAppend: o === "TEACHER",
282
263
  isConceptIntro: m,
283
- simState: e == null ? void 0 : e.simState,
284
- onMediaStateChange: yt
264
+ simState: i == null ? void 0 : i.simState,
265
+ onMediaStateChange: Rt
285
266
  }
286
267
  ),
287
- !Q && q && Z && J && W !== void 0 && /* @__PURE__ */ i(de, { $canScribble: k, children: /* @__PURE__ */ i(
288
- Yt,
268
+ !ut && K && G && Y && W !== void 0 && /* @__PURE__ */ r(li, { $canScribble: Z, children: /* @__PURE__ */ r(
269
+ Pt,
289
270
  {
290
- canRender: V,
291
- canScribble: k && w,
292
- appended: a,
293
- canvasId: r,
294
- width: X,
295
- height: Math.max(W, ot ?? 0),
296
- onUpdateHeight: Kt,
297
- onPublish: Z,
298
- onSubscribe: J,
299
- userId: xt,
300
- initialData: O == null ? void 0 : O[r],
301
- userType: c
271
+ canRender: D,
272
+ canScribble: Z && w,
273
+ appended: c,
274
+ canvasId: e,
275
+ width: V,
276
+ height: Math.max(W, it ?? 0),
277
+ onUpdateHeight: Qt,
278
+ onPublish: G,
279
+ onSubscribe: Y,
280
+ userId: Ct,
281
+ initialData: y == null ? void 0 : y[e],
282
+ userType: o
302
283
  }
303
284
  ) }),
304
- !Q && U && U.length > 0 && /* @__PURE__ */ i(
305
- Ht,
285
+ !ut && U && U.length > 0 && /* @__PURE__ */ r(
286
+ vt,
306
287
  {
307
288
  $background: "BLUE_1",
308
289
  $gutterX: 1,
309
290
  $gapX: 0.5,
310
291
  $borderRadiusX: 0,
311
292
  $borderColor: "BLUE_2",
312
- children: U.map((t, s) => /* @__PURE__ */ i(
313
- ge,
293
+ children: U.map((t, a) => /* @__PURE__ */ r(
294
+ hi,
314
295
  {
315
296
  dangerouslySetInnerHTML: {
316
- __html: `<span style="color: #DA5107; font-weight: 600;">Hint${((h == null ? void 0 : h.length) ?? 0) > 1 ? ` ${s + 1}` : ""}:</span>&nbsp;${t}`
297
+ __html: `<span style="color: #DA5107; font-weight: 600;">Hint${((h == null ? void 0 : h.length) ?? 0) > 1 ? ` ${a + 1}` : ""}:</span>&nbsp;${t}`
317
298
  }
318
299
  },
319
300
  t
320
301
  ))
321
302
  }
322
303
  ),
323
- Dt && /* @__PURE__ */ i(
324
- Ht,
304
+ Ot && /* @__PURE__ */ r(
305
+ vt,
325
306
  {
326
307
  $background: "YELLOW_1",
327
308
  $gutterX: 1,
328
309
  $gapX: 0.875,
329
310
  $borderRadiusX: 0,
330
311
  $borderColor: "YELLOW_2",
331
- children: /* @__PURE__ */ i(
332
- Ee,
312
+ children: /* @__PURE__ */ r(
313
+ si,
333
314
  {
334
315
  dangerouslySetInnerHTML: {
335
- __html: `<div style="color: #DA5107; font-weight: 600;">Solution:</div>${B}`
316
+ __html: `<div style="color: #DA5107; font-weight: 600;">Solution:</div>${L}`
336
317
  }
337
318
  }
338
319
  )
339
320
  }
340
321
  ),
341
- !!rt && /* @__PURE__ */ i(
342
- oe,
322
+ !!tt && /* @__PURE__ */ r(
323
+ kt,
343
324
  {
344
- responses: At,
345
- response: e,
325
+ responses: It,
326
+ response: i,
346
327
  nextQuestionId: v,
347
- responseId: r,
348
- studentId: Tt,
349
- userType: c,
350
- ...rt
328
+ responseId: e,
329
+ studentId: xt,
330
+ userType: o,
331
+ ...tt
351
332
  }
352
333
  )
353
334
  ]
@@ -362,6 +343,6 @@ const Me = Xt(
362
343
  }
363
344
  );
364
345
  export {
365
- Me as default
346
+ Ti as default
366
347
  };
367
348
  //# sourceMappingURL=worksheet-question.js.map