@cuemath/leap 3.2.18 → 3.2.19-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.
- package/dist/features/worksheet/worksheet/constants.js +13 -12
- package/dist/features/worksheet/worksheet/constants.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +260 -246
- package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet-styled.js +28 -37
- package/dist/features/worksheet/worksheet/worksheet-styled.js.map +1 -1
- package/dist/features/worksheet/worksheet/worksheet.js +164 -166
- package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
- package/package.json +1 -1
@@ -1,339 +1,353 @@
|
|
1
|
-
import { jsxs as
|
2
|
-
import { memo as
|
3
|
-
import { IMAGES as
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import { QUESTIONS_GAP as
|
9
|
-
import { getPaperColorByQuestion as
|
10
|
-
import
|
11
|
-
import
|
12
|
-
import
|
13
|
-
import
|
14
|
-
import
|
15
|
-
import
|
16
|
-
import
|
17
|
-
import
|
18
|
-
import { QuestionContainerWrapper as
|
19
|
-
const
|
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:
|
22
|
-
signedRequest:
|
23
|
-
worksheetCompleted:
|
24
|
-
question:
|
25
|
-
response:
|
26
|
-
nextQuestionId:
|
27
|
-
isActive:
|
28
|
-
isHidden:
|
29
|
-
canRender:
|
30
|
-
loggerRef:
|
21
|
+
userType: c,
|
22
|
+
signedRequest: Ct,
|
23
|
+
worksheetCompleted: g,
|
24
|
+
question: n,
|
25
|
+
response: e,
|
26
|
+
nextQuestionId: v,
|
27
|
+
isActive: w,
|
28
|
+
isHidden: A,
|
29
|
+
canRender: V,
|
30
|
+
loggerRef: M,
|
31
31
|
appended: a,
|
32
|
-
maxQuestionWidth:
|
33
|
-
behavior:
|
34
|
-
layout:
|
35
|
-
actionbarHeight:
|
36
|
-
learnosity:
|
37
|
-
intersectionObserver:
|
38
|
-
background:
|
39
|
-
onMediaStateChange:
|
40
|
-
onMarkForReview:
|
41
|
-
userId:
|
42
|
-
onPublishStrokes:
|
43
|
-
onReceiveStrokes:
|
44
|
-
isScribblingEnabled:
|
45
|
-
initialStrokesData:
|
46
|
-
isCanvasEnabled:
|
47
|
-
onPublishMouseMove:
|
48
|
-
onSubscribeMouseMove:
|
49
|
-
setActiveQuestionId:
|
50
|
-
canResolveDoubt:
|
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:
|
53
|
-
responses:
|
54
|
-
subjectiveProps:
|
52
|
+
studentId: Tt,
|
53
|
+
responses: At,
|
54
|
+
subjectiveProps: rt
|
55
55
|
}) => {
|
56
|
-
const
|
57
|
-
() =>
|
58
|
-
[
|
59
|
-
), [W,
|
60
|
-
validation:
|
61
|
-
review:
|
62
|
-
maximumAttempts:
|
63
|
-
canExceedAttempts:
|
64
|
-
teacherValidationEnabled:
|
65
|
-
solutionHidden:
|
66
|
-
} =
|
67
|
-
type:
|
68
|
-
response_id:
|
69
|
-
stimulus_review:
|
70
|
-
item_type:
|
71
|
-
instructor_stimulus:
|
72
|
-
metadata: { hints: h, solution:
|
73
|
-
item_reference:
|
74
|
-
question_number:
|
75
|
-
item_number:
|
76
|
-
item_display_number:
|
77
|
-
} =
|
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
|
+
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(() => {
|
78
78
|
const t = [];
|
79
|
-
return
|
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
81
|
a,
|
82
|
-
|
83
|
-
|
84
|
-
|
82
|
+
m,
|
83
|
+
x,
|
84
|
+
d,
|
85
|
+
E,
|
86
|
+
Et,
|
85
87
|
H,
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
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
|
-
}, [
|
97
|
-
() =>
|
98
|
-
[
|
99
|
-
), [
|
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
|
-
}),
|
103
|
-
|
102
|
+
}), Kt = Pt((t) => {
|
103
|
+
Ot(t);
|
104
104
|
}, []);
|
105
|
-
return
|
106
|
-
|
107
|
-
}, [
|
108
|
-
if (a && (
|
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
|
-
`.widget-${
|
110
|
+
`.widget-${n.response_id} .lrn_draggable`
|
111
111
|
);
|
112
|
-
let
|
113
|
-
t.forEach((
|
114
|
-
|
115
|
-
}),
|
116
|
-
width:
|
117
|
-
height:
|
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
|
-
}, [a,
|
121
|
-
if (a &&
|
122
|
-
const t =
|
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:
|
124
|
+
showCorrectAnswers: pt
|
125
125
|
});
|
126
126
|
}
|
127
|
-
}, [a,
|
128
|
-
const t =
|
129
|
-
if (a && t &&
|
130
|
-
const
|
131
|
-
for (let
|
132
|
-
const
|
133
|
-
if (
|
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 (((
|
136
|
-
|
137
|
-
item_reference:
|
138
|
-
widget_reference:
|
139
|
-
question_type:
|
140
|
-
question_number:
|
141
|
-
responseId:
|
142
|
-
item_number:
|
143
|
-
item_display_number:
|
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
|
144
144
|
});
|
145
145
|
break;
|
146
146
|
}
|
147
147
|
}
|
148
|
-
|
148
|
+
F.current[r] = !1;
|
149
149
|
}
|
150
150
|
}, [
|
151
151
|
a,
|
152
|
-
|
153
|
-
|
152
|
+
m,
|
153
|
+
d,
|
154
|
+
gt,
|
155
|
+
dt,
|
156
|
+
ft,
|
157
|
+
M,
|
158
|
+
E,
|
154
159
|
ht,
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
const
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
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)) {
|
174
188
|
const t = setTimeout(() => {
|
175
|
-
|
189
|
+
y ? bt(v) : it(v);
|
176
190
|
}, 1e3);
|
177
191
|
return () => {
|
178
192
|
clearTimeout(t);
|
179
193
|
};
|
180
194
|
}
|
181
195
|
}, [
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
]), /* @__PURE__ */
|
189
|
-
|
196
|
+
v,
|
197
|
+
H,
|
198
|
+
_t,
|
199
|
+
y,
|
200
|
+
it,
|
201
|
+
e == null ? void 0 : e.validatedByTeacher
|
202
|
+
]), /* @__PURE__ */ L(
|
203
|
+
le,
|
190
204
|
{
|
191
|
-
"data-response-id":
|
192
|
-
className: `widget-${
|
193
|
-
ref:
|
194
|
-
$topOffset:
|
195
|
-
$flexDirection:
|
196
|
-
$alignItems:
|
197
|
-
$hidden:
|
198
|
-
$marginBottom:
|
205
|
+
"data-response-id": r,
|
206
|
+
className: `widget-${r}`,
|
207
|
+
ref: I,
|
208
|
+
$topOffset: lt,
|
209
|
+
$flexDirection: _ ? "row" : "column",
|
210
|
+
$alignItems: _ ? "flex-start" : "center",
|
211
|
+
$hidden: A,
|
212
|
+
$marginBottom: kt,
|
199
213
|
children: [
|
200
|
-
|
201
|
-
|
214
|
+
_ && /* @__PURE__ */ i(
|
215
|
+
me,
|
202
216
|
{
|
203
217
|
dangerouslySetInnerHTML: {
|
204
|
-
__html:
|
218
|
+
__html: _
|
205
219
|
}
|
206
220
|
}
|
207
221
|
),
|
208
|
-
/* @__PURE__ */
|
209
|
-
|
222
|
+
/* @__PURE__ */ L(
|
223
|
+
ue,
|
210
224
|
{
|
211
|
-
ref:
|
212
|
-
$width:
|
213
|
-
$minHeight: W ? Math.max(W - 72,
|
214
|
-
$isActive:
|
215
|
-
$paperColor:
|
216
|
-
$opacity:
|
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,
|
217
231
|
children: [
|
218
|
-
|
219
|
-
|
232
|
+
w && !!tt && !!et && q && /* @__PURE__ */ i(
|
233
|
+
Zt,
|
220
234
|
{
|
221
|
-
containerRef:
|
222
|
-
onPublish:
|
223
|
-
onSubscribe:
|
224
|
-
responseId:
|
235
|
+
containerRef: D,
|
236
|
+
onPublish: tt,
|
237
|
+
onSubscribe: et,
|
238
|
+
responseId: r
|
225
239
|
}
|
226
240
|
),
|
227
|
-
/* @__PURE__ */
|
228
|
-
|
241
|
+
/* @__PURE__ */ L(
|
242
|
+
fe,
|
229
243
|
{
|
230
|
-
className:
|
231
|
-
$dropzoneMinWidth:
|
232
|
-
$dropzoneMinHeight:
|
244
|
+
className: zt,
|
245
|
+
$dropzoneMinWidth: Rt.width,
|
246
|
+
$dropzoneMinHeight: Rt.height,
|
233
247
|
children: [
|
234
|
-
|
235
|
-
|
248
|
+
Qt && !(x || m || d) && /* @__PURE__ */ i(
|
249
|
+
ee,
|
236
250
|
{
|
237
|
-
userType:
|
238
|
-
question:
|
239
|
-
response:
|
240
|
-
behavior:
|
241
|
-
layout:
|
242
|
-
paperColor:
|
243
|
-
onMarkForReview:
|
244
|
-
actionbarHeight:
|
245
|
-
canResolveDoubt:
|
251
|
+
userType: c,
|
252
|
+
question: n,
|
253
|
+
response: e,
|
254
|
+
behavior: P,
|
255
|
+
layout: j,
|
256
|
+
paperColor: C,
|
257
|
+
onMarkForReview: Bt,
|
258
|
+
actionbarHeight: Wt,
|
259
|
+
canResolveDoubt: It,
|
246
260
|
onResolveDoubt: Lt,
|
247
|
-
worksheetCompleted:
|
261
|
+
worksheetCompleted: g
|
248
262
|
}
|
249
263
|
),
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
(
|
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, {})
|
257
271
|
] }) : void 0,
|
258
|
-
/* @__PURE__ */
|
259
|
-
|
272
|
+
/* @__PURE__ */ i(
|
273
|
+
ie,
|
260
274
|
{
|
261
|
-
signedRequest:
|
275
|
+
signedRequest: Ct,
|
262
276
|
appended: a,
|
263
|
-
question:
|
264
|
-
response:
|
265
|
-
canRender:
|
266
|
-
learnosity:
|
267
|
-
canForceAppend:
|
268
|
-
isConceptIntro:
|
269
|
-
simState:
|
270
|
-
onMediaStateChange:
|
277
|
+
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
|
271
285
|
}
|
272
286
|
),
|
273
|
-
!
|
274
|
-
|
287
|
+
!Q && q && Z && J && W !== void 0 && /* @__PURE__ */ i(de, { $canScribble: k, children: /* @__PURE__ */ i(
|
288
|
+
Yt,
|
275
289
|
{
|
276
|
-
canRender:
|
277
|
-
canScribble:
|
290
|
+
canRender: V,
|
291
|
+
canScribble: k && w,
|
278
292
|
appended: a,
|
279
|
-
canvasId:
|
280
|
-
width:
|
281
|
-
height: Math.max(W,
|
282
|
-
onUpdateHeight:
|
283
|
-
onPublish:
|
284
|
-
onSubscribe:
|
285
|
-
userId:
|
286
|
-
initialData:
|
287
|
-
userType:
|
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
|
288
302
|
}
|
289
303
|
) }),
|
290
|
-
!
|
291
|
-
|
304
|
+
!Q && U && U.length > 0 && /* @__PURE__ */ i(
|
305
|
+
Ht,
|
292
306
|
{
|
293
307
|
$background: "BLUE_1",
|
294
308
|
$gutterX: 1,
|
295
309
|
$gapX: 0.5,
|
296
310
|
$borderRadiusX: 0,
|
297
311
|
$borderColor: "BLUE_2",
|
298
|
-
children: U.map((t,
|
299
|
-
|
312
|
+
children: U.map((t, s) => /* @__PURE__ */ i(
|
313
|
+
ge,
|
300
314
|
{
|
301
315
|
dangerouslySetInnerHTML: {
|
302
|
-
__html: `<span style="color: #DA5107; font-weight: 600;">Hint${((h == null ? void 0 : h.length) ?? 0) > 1 ? ` ${
|
316
|
+
__html: `<span style="color: #DA5107; font-weight: 600;">Hint${((h == null ? void 0 : h.length) ?? 0) > 1 ? ` ${s + 1}` : ""}:</span> ${t}`
|
303
317
|
}
|
304
318
|
},
|
305
319
|
t
|
306
320
|
))
|
307
321
|
}
|
308
322
|
),
|
309
|
-
|
310
|
-
|
323
|
+
Dt && /* @__PURE__ */ i(
|
324
|
+
Ht,
|
311
325
|
{
|
312
326
|
$background: "YELLOW_1",
|
313
327
|
$gutterX: 1,
|
314
328
|
$gapX: 0.875,
|
315
329
|
$borderRadiusX: 0,
|
316
330
|
$borderColor: "YELLOW_2",
|
317
|
-
children: /* @__PURE__ */
|
318
|
-
|
331
|
+
children: /* @__PURE__ */ i(
|
332
|
+
Ee,
|
319
333
|
{
|
320
334
|
dangerouslySetInnerHTML: {
|
321
|
-
__html: `<div style="color: #DA5107; font-weight: 600;">Solution:</div>${
|
335
|
+
__html: `<div style="color: #DA5107; font-weight: 600;">Solution:</div>${B}`
|
322
336
|
}
|
323
337
|
}
|
324
338
|
)
|
325
339
|
}
|
326
340
|
),
|
327
|
-
!!
|
328
|
-
|
341
|
+
!!rt && /* @__PURE__ */ i(
|
342
|
+
oe,
|
329
343
|
{
|
330
|
-
responses:
|
331
|
-
response:
|
332
|
-
nextQuestionId:
|
333
|
-
responseId:
|
334
|
-
studentId:
|
335
|
-
userType:
|
336
|
-
...
|
344
|
+
responses: At,
|
345
|
+
response: e,
|
346
|
+
nextQuestionId: v,
|
347
|
+
responseId: r,
|
348
|
+
studentId: Tt,
|
349
|
+
userType: c,
|
350
|
+
...rt
|
337
351
|
}
|
338
352
|
)
|
339
353
|
]
|
@@ -348,6 +362,6 @@ const Mi = zt(
|
|
348
362
|
}
|
349
363
|
);
|
350
364
|
export {
|
351
|
-
|
365
|
+
Me as default
|
352
366
|
};
|
353
367
|
//# sourceMappingURL=worksheet-question.js.map
|