@cuemath/leap 3.2.4-aa1 → 3.2.4-mb

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,173 +1,192 @@
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(
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(
20
20
  ({
21
- userType: o,
22
- signedRequest: Ht,
23
- worksheetCompleted: f,
21
+ userType: c,
22
+ signedRequest: Ct,
23
+ worksheetCompleted: g,
24
24
  question: n,
25
- response: i,
25
+ response: e,
26
26
  nextQuestionId: v,
27
27
  isActive: w,
28
28
  isHidden: A,
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,
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,
51
51
  onResolveDoubt: Lt,
52
- studentId: xt,
53
- responses: It,
54
- subjectiveProps: tt
52
+ studentId: Tt,
53
+ responses: At,
54
+ subjectiveProps: rt
55
55
  }) => {
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,
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,
74
74
  question_number: ht,
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 = $(() => {
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(() => {
78
78
  const t = [];
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(" ");
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(" ");
80
80
  }, [
81
- c,
81
+ a,
82
82
  m,
83
83
  x,
84
- s,
84
+ d,
85
+ E,
86
+ Et,
85
87
  H,
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;
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;
94
94
  }
95
95
  return !1;
96
- }, [ot, et, i, M, o]), Ot = $(
97
- () => L && f && !nt,
98
- [nt, L, f]
99
- ), [_t, Nt] = T({
96
+ }, [at, ct, e, N, c]), Dt = p(
97
+ () => B && g && !st,
98
+ [st, B, g]
99
+ ), [Rt, Ut] = T({
100
100
  width: 0,
101
101
  height: 0
102
- }), Qt = Dt((t) => {
103
- Tt(t);
102
+ }), Kt = Pt((t) => {
103
+ Ot(t);
104
104
  }, []);
105
- return _(() => {
106
- I.current && j.observe(I.current);
107
- }, [j]), _(() => {
108
- if (c && (n.type === "clozeassociation" || n.type === "association" || n.type === "clozeformula")) {
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")) {
109
109
  const t = document.querySelectorAll(
110
110
  `.widget-${n.response_id} .lrn_draggable`
111
111
  );
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
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
118
118
  });
119
119
  }
120
- }, [c, n.response_id, n.type]), _(() => {
121
- if (c && Et) {
122
- const t = S.question(e);
120
+ }, [a, n.response_id, n.type]), R(() => {
121
+ if (a && $t) {
122
+ const t = b.question(r);
123
123
  t && t.validate({
124
- showCorrectAnswers: $t
124
+ showCorrectAnswers: pt
125
125
  });
126
126
  }
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"))
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"))
134
134
  continue;
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,
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,
140
140
  question_number: ht,
141
- responseId: e,
142
- item_number: st,
143
- item_display_number: ft
141
+ responseId: r,
142
+ item_number: dt,
143
+ item_display_number: gt
144
144
  });
145
145
  break;
146
146
  }
147
147
  }
148
- O.current[e] = !1;
148
+ F.current[r] = !1;
149
149
  }
150
150
  }, [
151
- c,
151
+ a,
152
152
  m,
153
- s,
153
+ d,
154
+ gt,
155
+ dt,
154
156
  ft,
155
- st,
156
- lt,
157
- B,
158
- H,
157
+ M,
158
+ E,
159
159
  ht,
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)) {
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)) {
169
188
  const t = setTimeout(() => {
170
- p ? wt(v) : k(v);
189
+ y ? bt(v) : it(v);
171
190
  }, 1e3);
172
191
  return () => {
173
192
  clearTimeout(t);
@@ -175,160 +194,160 @@ const Ti = zt(
175
194
  }
176
195
  }, [
177
196
  v,
178
- C,
179
- gt,
180
- p,
181
- k,
182
- i == null ? void 0 : i.validatedByTeacher
183
- ]), /* @__PURE__ */ b(
184
- oi,
197
+ H,
198
+ _t,
199
+ y,
200
+ it,
201
+ e == null ? void 0 : e.validatedByTeacher
202
+ ]), /* @__PURE__ */ L(
203
+ le,
185
204
  {
186
- "data-response-id": e,
187
- className: `widget-${e}`,
205
+ "data-response-id": r,
206
+ className: `widget-${r}`,
188
207
  ref: I,
189
- $topOffset: ct,
190
- $flexDirection: u ? "row" : "column",
191
- $alignItems: u ? "flex-start" : "center",
208
+ $topOffset: lt,
209
+ $flexDirection: _ ? "row" : "column",
210
+ $alignItems: _ ? "flex-start" : "center",
192
211
  $hidden: A,
193
- $marginBottom: Gt,
212
+ $marginBottom: kt,
194
213
  children: [
195
- u && /* @__PURE__ */ r(
196
- ni,
214
+ _ && /* @__PURE__ */ i(
215
+ me,
197
216
  {
198
217
  dangerouslySetInnerHTML: {
199
- __html: u
218
+ __html: _
200
219
  }
201
220
  }
202
221
  ),
203
- /* @__PURE__ */ b(
204
- ci,
222
+ /* @__PURE__ */ L(
223
+ ue,
205
224
  {
206
- ref: Q,
207
- $width: u ? "50%" : `${V}px`,
208
- $minHeight: W ? Math.max(W - 72, it ?? 0) : At,
225
+ ref: D,
226
+ $width: _ ? "50%" : `${X}px`,
227
+ $minHeight: W ? Math.max(W - 72, ot ?? 0) : Nt,
209
228
  $isActive: w,
210
- $paperColor: R,
229
+ $paperColor: C,
211
230
  $opacity: w ? 1 : 0.2,
212
231
  children: [
213
- w && !!J && !!q && K && /* @__PURE__ */ r(
214
- jt,
232
+ w && !!tt && !!et && q && /* @__PURE__ */ i(
233
+ Zt,
215
234
  {
216
- containerRef: Q,
217
- onPublish: J,
218
- onSubscribe: q,
219
- responseId: e
235
+ containerRef: D,
236
+ onPublish: tt,
237
+ onSubscribe: et,
238
+ responseId: r
220
239
  }
221
240
  ),
222
- /* @__PURE__ */ b(
223
- ai,
241
+ /* @__PURE__ */ L(
242
+ fe,
224
243
  {
225
- className: Mt,
226
- $dropzoneMinWidth: _t.width,
227
- $dropzoneMinHeight: _t.height,
244
+ className: zt,
245
+ $dropzoneMinWidth: Rt.width,
246
+ $dropzoneMinHeight: Rt.height,
228
247
  children: [
229
- Bt && !(x || m || s) && /* @__PURE__ */ r(
230
- Kt,
248
+ Qt && !(x || m || d) && /* @__PURE__ */ i(
249
+ ee,
231
250
  {
232
- userType: o,
251
+ userType: c,
233
252
  question: n,
234
- response: i,
235
- behavior: X,
236
- layout: P,
237
- paperColor: R,
238
- onMarkForReview: Wt,
239
- actionbarHeight: St,
240
- canResolveDoubt: pt,
253
+ response: e,
254
+ behavior: P,
255
+ layout: j,
256
+ paperColor: C,
257
+ onMarkForReview: Bt,
258
+ actionbarHeight: Wt,
259
+ canResolveDoubt: It,
241
260
  onResolveDoubt: Lt,
242
- worksheetCompleted: f
261
+ worksheetCompleted: g
243
262
  }
244
263
  ),
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, {})
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, {})
252
271
  ] }) : void 0,
253
- /* @__PURE__ */ r(
254
- Jt,
272
+ /* @__PURE__ */ i(
273
+ ie,
255
274
  {
256
- signedRequest: Ht,
257
- appended: c,
275
+ signedRequest: Ct,
276
+ appended: a,
258
277
  question: n,
259
- response: i == null ? void 0 : i.response,
260
- canRender: D || w,
261
- learnosity: S,
262
- canForceAppend: o === "TEACHER",
278
+ response: e == null ? void 0 : e.response,
279
+ canRender: V || w,
280
+ learnosity: b,
281
+ canForceAppend: c === "TEACHER",
263
282
  isConceptIntro: m,
264
- simState: i == null ? void 0 : i.simState,
265
- onMediaStateChange: Rt
283
+ simState: e == null ? void 0 : e.simState,
284
+ onMediaStateChange: yt
266
285
  }
267
286
  ),
268
- !ut && K && G && Y && W !== void 0 && /* @__PURE__ */ r(li, { $canScribble: Z, children: /* @__PURE__ */ r(
269
- Pt,
287
+ !Q && q && Z && J && W !== void 0 && /* @__PURE__ */ i(de, { $canScribble: k, children: /* @__PURE__ */ i(
288
+ Yt,
270
289
  {
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
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
283
302
  }
284
303
  ) }),
285
- !ut && U && U.length > 0 && /* @__PURE__ */ r(
286
- vt,
304
+ !Q && U && U.length > 0 && /* @__PURE__ */ i(
305
+ Ht,
287
306
  {
288
307
  $background: "BLUE_1",
289
308
  $gutterX: 1,
290
309
  $gapX: 0.5,
291
310
  $borderRadiusX: 0,
292
311
  $borderColor: "BLUE_2",
293
- children: U.map((t, a) => /* @__PURE__ */ r(
294
- hi,
312
+ children: U.map((t, s) => /* @__PURE__ */ i(
313
+ ge,
295
314
  {
296
315
  dangerouslySetInnerHTML: {
297
- __html: `<span style="color: #DA5107; font-weight: 600;">Hint${((h == null ? void 0 : h.length) ?? 0) > 1 ? ` ${a + 1}` : ""}:</span>&nbsp;${t}`
316
+ __html: `<span style="color: #DA5107; font-weight: 600;">Hint${((h == null ? void 0 : h.length) ?? 0) > 1 ? ` ${s + 1}` : ""}:</span>&nbsp;${t}`
298
317
  }
299
318
  },
300
319
  t
301
320
  ))
302
321
  }
303
322
  ),
304
- Ot && /* @__PURE__ */ r(
305
- vt,
323
+ Dt && /* @__PURE__ */ i(
324
+ Ht,
306
325
  {
307
326
  $background: "YELLOW_1",
308
327
  $gutterX: 1,
309
328
  $gapX: 0.875,
310
329
  $borderRadiusX: 0,
311
330
  $borderColor: "YELLOW_2",
312
- children: /* @__PURE__ */ r(
313
- si,
331
+ children: /* @__PURE__ */ i(
332
+ Ee,
314
333
  {
315
334
  dangerouslySetInnerHTML: {
316
- __html: `<div style="color: #DA5107; font-weight: 600;">Solution:</div>${L}`
335
+ __html: `<div style="color: #DA5107; font-weight: 600;">Solution:</div>${B}`
317
336
  }
318
337
  }
319
338
  )
320
339
  }
321
340
  ),
322
- !!tt && /* @__PURE__ */ r(
323
- kt,
341
+ !!rt && /* @__PURE__ */ i(
342
+ oe,
324
343
  {
325
- responses: It,
326
- response: i,
344
+ responses: At,
345
+ response: e,
327
346
  nextQuestionId: v,
328
- responseId: e,
329
- studentId: xt,
330
- userType: o,
331
- ...tt
347
+ responseId: r,
348
+ studentId: Tt,
349
+ userType: c,
350
+ ...rt
332
351
  }
333
352
  )
334
353
  ]
@@ -343,6 +362,6 @@ const Ti = zt(
343
362
  }
344
363
  );
345
364
  export {
346
- Ti as default
365
+ Me as default
347
366
  };
348
367
  //# sourceMappingURL=worksheet-question.js.map