@cuemath/leap 3.2.0 → 3.2.1-aa1

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