@cuemath/leap 3.2.34-mby → 3.2.34-mbz1

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,34 +1,34 @@
1
- import { jsxs as y, Fragment as lt, jsx as i } from "react/jsx-runtime";
2
- import { memo as dt, forwardRef as mt, useMemo as K, useState as I, useCallback as S, useEffect as T, useLayoutEffect as ut } from "react";
3
- import ht from "../../../assets/line-icons/icons/check2.js";
4
- import ft from "../../../assets/line-icons/icons/info2.js";
5
- import pt from "../../../helpers/get-device-details.js";
6
- import gt from "../../sheet-tools/desmos-calculator/desmos-calculator.js";
7
- import de from "../../ui/layout/flex-view.js";
8
- import bt from "../../ui/text/text.js";
9
- import Ct from "../user-pointer-pin/user-pin.js";
10
- import { WORKSHEET_NUDGE_BANNER_HEIGHT as me, TOP_NAVIGATION_HEIGHT as It, DESMOS_CALC_POSITION as St } from "./constants.js";
11
- import kt from "./hooks/use-create-imperative-handle.js";
12
- import $t from "./hooks/use-get-active-question-id.js";
13
- import Tt from "./hooks/use-time-on-questions.js";
14
- import vt from "./question-tips.js";
15
- import wt from "./worksheet-action-bar/worksheet-action-bar.js";
16
- import Et from "./worksheet-blocker/worksheet-blocker.js";
17
- import { getWorksheetDimensions as Nt, getQuestionsFromItems as At, getInitialResponses as Bt, getLastUnlockedQuestionIndex as ue, getInitialQuestionId as yt, getQuestionMetadata as he, scrollToQuestion as x, getRenderableQuestions as Wt, getWorksheetNudgeBannerInfo as _t } from "./worksheet-helpers.js";
18
- import Ot from "./worksheet-navigation/worksheet-navigation.js";
19
- import Dt from "./worksheet-question/worksheet-question.js";
20
- import Vt from "./worksheet-sidebar/navigator.js";
21
- import Ht from "./worksheet-sidebar/sidebar.js";
22
- import { NudgeBannerWrapper as Mt, NudgeBannerIcon as fe, WorksheetContainer as xt, NavigationContainer as Rt, NavigationWrapper as Pt, BlockerWrapper as Qt, DesmosCalcWrapper as Gt, ActionbarContainer as Ft, ActionbarWrapper as jt, StudentWorksheetSideBar as zt, QuestionsWrapper as Lt } from "./worksheet-styled.js";
23
- import qt from "./worksheet-summary/worksheet-summary.js";
24
- const Xt = (pe, ge) => {
1
+ import { jsxs as y, Fragment as mt, jsx as i } from "react/jsx-runtime";
2
+ import { memo as ut, forwardRef as ht, useMemo as K, useState as C, useCallback as I, useEffect as T, useLayoutEffect as ft } from "react";
3
+ import pt from "../../../assets/line-icons/icons/check2.js";
4
+ import gt from "../../../assets/line-icons/icons/info2.js";
5
+ import bt from "../../../helpers/get-device-details.js";
6
+ import St from "../../sheet-tools/desmos-calculator/desmos-calculator.js";
7
+ import le from "../../ui/layout/flex-view.js";
8
+ import Ct from "../../ui/text/text.js";
9
+ import It from "../user-pointer-pin/user-pin.js";
10
+ import { WORKSHEET_NUDGE_BANNER_HEIGHT as me, TOP_NAVIGATION_HEIGHT as kt, DESMOS_CALC_POSITION as $t } from "./constants.js";
11
+ import Tt from "./hooks/use-create-imperative-handle.js";
12
+ import vt from "./hooks/use-get-active-question-id.js";
13
+ import wt from "./hooks/use-time-on-questions.js";
14
+ import Et from "./question-tips.js";
15
+ import Nt from "./worksheet-action-bar/worksheet-action-bar.js";
16
+ import At from "./worksheet-blocker/worksheet-blocker.js";
17
+ import { getWorksheetDimensions as Bt, getQuestionsFromItems as yt, getInitialResponses as Wt, getLastUnlockedQuestionIndex as ue, getInitialQuestionId as _t, getQuestionMetadata as he, scrollToQuestion as x, getRenderableQuestions as Ot, getWorksheetNudgeBannerInfo as Dt } from "./worksheet-helpers.js";
18
+ import Vt from "./worksheet-navigation/worksheet-navigation.js";
19
+ import Ht from "./worksheet-question/worksheet-question.js";
20
+ import Mt from "./worksheet-sidebar/navigator.js";
21
+ import xt from "./worksheet-sidebar/sidebar.js";
22
+ import { NudgeBannerWrapper as Rt, NudgeBannerIcon as fe, WorksheetContainer as Pt, NavigationContainer as Qt, NavigationWrapper as Gt, BlockerWrapper as Ft, DesmosCalcWrapper as jt, ActionbarContainer as zt, ActionbarWrapper as Lt, StudentWorksheetSideBar as qt, QuestionsWrapper as Xt } from "./worksheet-styled.js";
23
+ import Kt from "./worksheet-summary/worksheet-summary.js";
24
+ const Ut = (pe, ge) => {
25
25
  const {
26
26
  userType: r,
27
27
  studentName: be = "Student",
28
- questionsSignedRequest: Ce,
28
+ questionsSignedRequest: Se,
29
29
  worksheetName: U,
30
- initialResponseId: Ie,
31
- initialItemIndex: Se,
30
+ initialResponseId: Ce,
31
+ initialItemIndex: Ie,
32
32
  // learnosityActivityRef,
33
33
  learnosityItems: R,
34
34
  learnosityResponses: ke,
@@ -48,52 +48,59 @@ const Xt = (pe, ge) => {
48
48
  onExitTicketStart: W,
49
49
  onExitTicketSubmit: _,
50
50
  onSubmit: Ne,
51
+ onStickerSend: Ae,
51
52
  learnosity: p,
52
53
  appendedQuestionIds: Z,
53
- worksheetCompleted: Ae,
54
- userId: Be,
55
- onPublishStrokes: ye,
56
- onReceiveStrokes: We,
57
- initialStrokesData: _e,
54
+ worksheetCompleted: Be,
55
+ userId: ye,
56
+ onPublishStrokes: We,
57
+ onReceiveStrokes: _e,
58
+ initialStrokesData: Oe,
58
59
  isCanvasEnabled: ee,
59
- onHelp: Oe,
60
- onPublishMouseMove: De,
61
- onSubscribeMouseMove: Ve,
60
+ onHelp: De,
61
+ onPublishMouseMove: Ve,
62
+ onSubscribeMouseMove: He,
62
63
  onActiveQuestionChange: F,
63
- openQuestionFeedbackModal: He,
64
- summaryDescription: Me,
65
- canSubmitWorksheet: xe,
64
+ openQuestionFeedbackModal: Me,
65
+ summaryDescription: xe,
66
+ canSubmitWorksheet: Re,
66
67
  loggerRef: j,
67
- canResolveDoubt: Re,
68
- onResolveDoubt: Pe,
69
- onSkip: Qe,
70
- onUnassign: Ge,
71
- onReview: Fe,
72
- canToggleScribbling: je = !0,
73
- studentId: ze,
74
- subjectiveProps: Le,
75
- canShowActionBar: qe = !0
76
- } = pe, { initialQuestion: Xe, navigationMode: m, teacherValidationEnabled: Ke, maximumAttempts: te } = a, {
68
+ canResolveDoubt: Pe,
69
+ onResolveDoubt: Qe,
70
+ onSkip: Ge,
71
+ onUnassign: Fe,
72
+ onReview: je,
73
+ canToggleScribbling: ze = !0,
74
+ studentId: Le,
75
+ subjectiveProps: qe,
76
+ canShowActionBar: Xe = !0
77
+ } = pe, {
78
+ initialQuestion: Ke,
79
+ navigationMode: m,
80
+ teacherValidationEnabled: Ue,
81
+ maximumAttempts: te,
82
+ enableStickers: Je
83
+ } = a, {
77
84
  containerStyle: O,
78
- containerWidth: Ue,
85
+ containerWidth: Ye,
79
86
  minQuestionHeight: ie,
80
- minSummaryHeight: Je,
87
+ minSummaryHeight: Ze,
81
88
  questionsScrollable: D,
82
- navigationBar: Ye,
89
+ navigationBar: et,
83
90
  topOffset: V,
84
- renderSideBar: Ze,
85
- showUserPointer: et = !0
91
+ renderSideBar: tt,
92
+ showUserPointer: it = !0
86
93
  } = k, ne = te === -2, { actionbarHeight: g, maxQuestionWidth: z, questionsContainerWidth: L } = K(
87
- () => Nt(R, k),
94
+ () => Bt(R, k),
88
95
  [k, R]
89
- ), [t] = I(
90
- () => At(R, {
91
- sectioned: Ke && m !== "ADAPTIVE" && m !== "CURRENT",
96
+ ), [t] = C(
97
+ () => yt(R, {
98
+ sectioned: Ue && m !== "ADAPTIVE" && m !== "CURRENT",
92
99
  adaptive: m === "ADAPTIVE"
93
100
  })
94
- ), [c, v] = I(
95
- () => ke ?? Bt(t)
96
- ), [oe, tt] = I(!1), u = K(
101
+ ), [c, v] = C(
102
+ () => ke ?? Wt(t)
103
+ ), [oe, nt] = C(!1), u = K(
97
104
  () => m !== "OPEN" ? ue({
98
105
  questions: t,
99
106
  responses: c,
@@ -101,46 +108,46 @@ const Xt = (pe, ge) => {
101
108
  userType: r
102
109
  }) : t.length - 1,
103
110
  [a, m, t, c, r]
104
- ), l = t[u], n = c[(l == null ? void 0 : l.response_id) ?? ""], { bannerBackgroundColor: it, label: nt } = _t(r, !!J), [w] = I(
105
- () => yt({
111
+ ), d = t[u], n = c[(d == null ? void 0 : d.response_id) ?? ""], { bannerBackgroundColor: ot, label: rt } = Dt(r, !!J), [w] = C(
112
+ () => _t({
106
113
  questions: t,
107
- initialQuestion: Xe,
114
+ initialQuestion: Ke,
108
115
  lastUnlockedQuestionIndex: ue({
109
116
  questions: t,
110
117
  responses: c,
111
118
  behavior: a,
112
119
  userType: r
113
120
  }),
114
- initialResponseId: Ie,
115
- initialItemIndex: Se
121
+ initialResponseId: Ce,
122
+ initialItemIndex: Ie
116
123
  })
117
- ), { activeQuestionId: E, setActiveQuestionId: H, intersectionObserver: q } = $t(w), d = K(
124
+ ), { activeQuestionId: E, setActiveQuestionId: H, intersectionObserver: q } = vt(w), l = K(
118
125
  () => t.findIndex((e) => e.response_id === E),
119
126
  [E, t]
120
- ), [h, X] = I(!1), [re, N] = I(), [se, ae] = I(!1), ce = Tt(a, c, E), ot = S(
127
+ ), [h, X] = C(!1), [re, N] = C(), [se, ae] = C(!1), ce = wt(a, c, E), st = I(
121
128
  (e, s, o) => {
122
129
  const b = s === "SIMULATION" ? "simState" : void 0;
123
130
  b && (f ? v(($) => {
124
- const C = e.response_id, B = he(t, C);
131
+ const S = e.response_id, B = he(t, S);
125
132
  if (!B) return $;
126
- const le = {
133
+ const de = {
127
134
  ...B,
128
- ...$[C],
135
+ ...$[S],
129
136
  [b]: o
130
137
  };
131
138
  return f == null || f({
132
- responseId: C,
133
- response: le,
139
+ responseId: S,
140
+ response: de,
134
141
  isNewAttempt: !1,
135
142
  question: e
136
143
  }), {
137
144
  ...$,
138
- [C]: le
145
+ [S]: de
139
146
  };
140
147
  }) : G && G(e, s, o));
141
148
  },
142
149
  [G, f, t]
143
- ), rt = S(
150
+ ), at = I(
144
151
  (e, s) => {
145
152
  v((o) => {
146
153
  const b = he(t, e);
@@ -155,7 +162,7 @@ const Xt = (pe, ge) => {
155
162
  });
156
163
  },
157
164
  [t]
158
- ), A = S(() => {
165
+ ), A = I(() => {
159
166
  N((e) => {
160
167
  var s;
161
168
  if (e) {
@@ -165,22 +172,22 @@ const Xt = (pe, ge) => {
165
172
  }, 50);
166
173
  }
167
174
  });
168
- }, [u, t]), M = S(
175
+ }, [u, t]), M = I(
169
176
  (e) => {
170
177
  X(!1), D ? requestAnimationFrame(() => x(e)) : H(e);
171
178
  },
172
179
  [D, H]
173
- ), st = S(() => {
180
+ ), ct = I(() => {
174
181
  ae(!1);
175
- }, []), at = S(() => {
182
+ }, []), dt = I(() => {
176
183
  ae(!0);
177
- }, []), ct = S(() => {
184
+ }, []), lt = I(() => {
178
185
  X(!0);
179
186
  }, []);
180
187
  return T(() => {
181
- const e = t[d];
188
+ const e = t[l];
182
189
  e && F && F(e);
183
- }, [F, t, d]), kt(ge, {
190
+ }, [F, t, l]), Tt(ge, {
184
191
  behavior: a,
185
192
  questions: t,
186
193
  setResponses: v,
@@ -193,39 +200,39 @@ const Xt = (pe, ge) => {
193
200
  Q && c && Q(c);
194
201
  }, [Q, c]), T(() => {
195
202
  P && v(P);
196
- }, [P]), ut(() => {
203
+ }, [P]), ft(() => {
197
204
  let e;
198
- return p && w && (pt().browser_name === "Safari" ? e = setTimeout(() => {
205
+ return p && w && (bt().browser_name === "Safari" ? e = setTimeout(() => {
199
206
  x(w);
200
207
  }, 400) : x(w)), () => {
201
208
  clearTimeout(e);
202
209
  };
203
210
  }, [p, w, V]), T(() => {
204
- if (a.teacherValidationEnabled && l) {
205
- const { item_type: e, instructor_stimulus: s, is_optional: o } = l;
211
+ if (a.teacherValidationEnabled && d) {
212
+ const { item_type: e, instructor_stimulus: s, is_optional: o } = d;
206
213
  r === "TEACHER" && (e === "exit-ticket" && s !== "SystemIntro" ? n != null && n.submittedByStudent && !(n != null && n.validatedByTeacher) ? N("exit-ticket-review-available") : n != null && n.validatedByTeacher ? A() : N("exit-ticket-teacher-intervention") : o ? n != null && n.assignStatus ? A() : N("optional-items-assignment") : o || A());
207
214
  }
208
215
  }, [
209
216
  a.teacherValidationEnabled,
210
217
  A,
211
- l,
218
+ d,
212
219
  n,
213
220
  r
214
221
  ]), T(() => {
215
- if (a.teacherValidationEnabled && l) {
216
- const { item_type: e, instructor_stimulus: s } = l;
222
+ if (a.teacherValidationEnabled && d) {
223
+ const { item_type: e, instructor_stimulus: s } = d;
217
224
  r === "STUDENT" && e === "exit-ticket" && s !== "SystemIntro" && (n != null && n.submittedByStudent ? _ == null || _() : W == null || W());
218
225
  }
219
226
  }, [
220
227
  a.teacherValidationEnabled,
221
- l,
228
+ d,
222
229
  n == null ? void 0 : n.submittedByStudent,
223
230
  W,
224
231
  _,
225
232
  r
226
- ]), p ? /* @__PURE__ */ y(lt, { children: [
233
+ ]), p ? /* @__PURE__ */ y(mt, { children: [
227
234
  Te && /* @__PURE__ */ y(
228
- Mt,
235
+ Rt,
229
236
  {
230
237
  $flexDirection: "row",
231
238
  $justifyContent: "center",
@@ -236,22 +243,22 @@ const Xt = (pe, ge) => {
236
243
  $gap: 8,
237
244
  $gutter: 8,
238
245
  $flexGap: 8,
239
- $background: it,
246
+ $background: ot,
240
247
  $topOffset: k.topOffset - me,
241
248
  children: [
242
- J ? /* @__PURE__ */ i(fe, { children: /* @__PURE__ */ i(ht, { width: 16, height: 16 }) }) : /* @__PURE__ */ i(fe, { children: /* @__PURE__ */ i(ft, { width: 16, height: 16 }) }),
243
- /* @__PURE__ */ i(bt, { $renderAs: "ub3", children: nt })
249
+ J ? /* @__PURE__ */ i(fe, { children: /* @__PURE__ */ i(pt, { width: 16, height: 16 }) }) : /* @__PURE__ */ i(fe, { children: /* @__PURE__ */ i(gt, { width: 16, height: 16 }) }),
250
+ /* @__PURE__ */ i(Ct, { $renderAs: "ub3", children: rt })
244
251
  ]
245
252
  }
246
253
  ),
247
- /* @__PURE__ */ y(xt, { $background: "WHITE_1", $width: Ue, children: [
248
- Ye === "top" && /* @__PURE__ */ i(Rt, { $topOffset: V, $height: It, children: /* @__PURE__ */ i(Pt, { children: /* @__PURE__ */ i(
249
- Ot,
254
+ /* @__PURE__ */ y(Pt, { $background: "WHITE_1", $width: Ye, children: [
255
+ et === "top" && /* @__PURE__ */ i(Qt, { $topOffset: V, $height: kt, children: /* @__PURE__ */ i(Gt, { children: /* @__PURE__ */ i(
256
+ Vt,
250
257
  {
251
258
  placement: "top",
252
259
  questions: t,
253
260
  responses: c,
254
- activeQuestionIndex: d,
261
+ activeQuestionIndex: l,
255
262
  lastUnlockedQuestionIndex: u,
256
263
  behavior: a,
257
264
  onItemNumberClick: M,
@@ -259,11 +266,11 @@ const Xt = (pe, ge) => {
259
266
  summaryVisible: h
260
267
  }
261
268
  ) }) }),
262
- re && l && /* @__PURE__ */ i(Qt, { $minHeight: ie, $topOffset: V, children: /* @__PURE__ */ i(de, { $width: z, $justifyContent: "center", $alignItems: "center", children: /* @__PURE__ */ i(
263
- Et,
269
+ re && d && /* @__PURE__ */ i(Ft, { $minHeight: ie, $topOffset: V, children: /* @__PURE__ */ i(le, { $width: z, $justifyContent: "center", $alignItems: "center", children: /* @__PURE__ */ i(
270
+ At,
264
271
  {
265
272
  blocker: re,
266
- lastUnlockedQuestion: l,
273
+ lastUnlockedQuestion: d,
267
274
  studentName: be,
268
275
  onBlockerClose: A,
269
276
  onOptionalItemAssignment: we,
@@ -271,10 +278,10 @@ const Xt = (pe, ge) => {
271
278
  onTeacherValidation: Y
272
279
  }
273
280
  ) }) }),
274
- et && /* @__PURE__ */ i(
275
- Ct,
281
+ it && /* @__PURE__ */ i(
282
+ It,
276
283
  {
277
- activeQuestionIndex: d,
284
+ activeQuestionIndex: l,
278
285
  onClick: M,
279
286
  questions: t,
280
287
  bottomOffset: g,
@@ -282,9 +289,9 @@ const Xt = (pe, ge) => {
282
289
  userType: r
283
290
  }
284
291
  ),
285
- se && /* @__PURE__ */ i(Gt, { children: /* @__PURE__ */ i(gt, { initialPosition: St, onClose: st }) }),
292
+ se && /* @__PURE__ */ i(jt, { children: /* @__PURE__ */ i(St, { initialPosition: $t, onClose: ct }) }),
286
293
  /* @__PURE__ */ y(
287
- Ft,
294
+ zt,
288
295
  {
289
296
  $marginTop: r === "TEACHER" && h ? "0" : g,
290
297
  $height: g,
@@ -292,22 +299,22 @@ const Xt = (pe, ge) => {
292
299
  $isPuzzleCard: ne,
293
300
  children: [
294
301
  te !== -2 && /* @__PURE__ */ i(
295
- vt,
302
+ Et,
296
303
  {
297
304
  width: L - 32,
298
- question: t[d],
305
+ question: t[l],
299
306
  learnosity: p,
300
307
  userType: r
301
308
  }
302
309
  ),
303
- qe && /* @__PURE__ */ i(
304
- jt,
310
+ Xe && /* @__PURE__ */ i(
311
+ Lt,
305
312
  {
306
313
  $height: g,
307
314
  $width: O === "card" ? L - 32 : "100%",
308
315
  $isCardView: O === "card",
309
316
  children: /* @__PURE__ */ i(
310
- de,
317
+ le,
311
318
  {
312
319
  $gutterX: 1,
313
320
  $flexDirection: "row",
@@ -315,7 +322,7 @@ const Xt = (pe, ge) => {
315
322
  $alignItems: "center",
316
323
  $width: L - 32,
317
324
  children: /* @__PURE__ */ i(
318
- wt,
325
+ Nt,
319
326
  {
320
327
  userType: r,
321
328
  layout: k,
@@ -323,89 +330,89 @@ const Xt = (pe, ge) => {
323
330
  worksheetName: U,
324
331
  questions: t,
325
332
  responses: c,
326
- onCalculatorOpen: at,
327
- activeQuestionIndex: d,
333
+ onCalculatorOpen: dt,
334
+ activeQuestionIndex: l,
328
335
  lastUnlockedQuestionIndex: u,
329
336
  appendedQuestionIds: Z,
330
337
  learnosity: p,
331
338
  isCanvasEnabled: ee,
332
- canSubmitWorksheet: xe,
339
+ canSubmitWorksheet: Re,
333
340
  isScribblingEnabled: oe,
334
341
  isSummaryVisible: h,
335
342
  setResponses: v,
336
343
  getTimeSpentOnQuestion: ce,
337
344
  setSummaryVisible: X,
338
345
  setBlocker: N,
339
- setIsScribblingEnabled: tt,
346
+ setIsScribblingEnabled: nt,
340
347
  setActiveQuestionId: H,
341
348
  onItemNumberClick: M,
342
- onGoToReview: ct,
349
+ onGoToReview: lt,
343
350
  onResponseChange: f,
344
- onHelp: Oe,
351
+ onHelp: De,
345
352
  onTeacherValidation: Y,
346
353
  onSubmit: Ne,
347
354
  showCalculator: se,
348
355
  loggerRef: j,
349
- onSkip: Qe,
350
- onUnassign: Ge,
351
- onReview: Fe,
352
- canToggleScribbling: je
356
+ onSkip: Ge,
357
+ onUnassign: Fe,
358
+ onReview: je,
359
+ canToggleScribbling: ze
353
360
  }
354
361
  )
355
362
  }
356
363
  )
357
364
  }
358
365
  ),
359
- !h && D && r === "STUDENT" && /* @__PURE__ */ i(zt, { children: /* @__PURE__ */ i(Vt, {}) })
366
+ !h && D && r === "STUDENT" && /* @__PURE__ */ i(qt, { children: /* @__PURE__ */ i(Mt, {}) })
360
367
  ]
361
368
  }
362
369
  ),
363
370
  /* @__PURE__ */ y(
364
- Lt,
371
+ Xt,
365
372
  {
366
373
  $actionbarHeight: g,
367
374
  $isCardView: O === "card",
368
375
  $isPuzzleCard: ne,
369
376
  children: [
370
- Wt({ questions: t, lastUnlockedQuestionIndex: u, userType: r }).map(
377
+ Ot({ questions: t, lastUnlockedQuestionIndex: u, userType: r }).map(
371
378
  (e, s) => {
372
- var C, B;
373
- const { response_id: o, is_optional: b } = e, $ = (C = c[o]) == null ? void 0 : C.assignStatus;
379
+ var S, B;
380
+ const { response_id: o, is_optional: b } = e, $ = (S = c[o]) == null ? void 0 : S.assignStatus;
374
381
  return a.teacherValidationEnabled && ($ === "skipped" || b && $ !== "assigned" && r === "STUDENT") ? null : /* @__PURE__ */ i(
375
- Dt,
382
+ Ht,
376
383
  {
377
- signedRequest: Ce,
384
+ signedRequest: Se,
378
385
  userType: r,
379
- worksheetCompleted: Ae,
386
+ worksheetCompleted: Be,
380
387
  question: e,
381
388
  response: c[o],
382
- nextQuestionId: m === "ADAPTIVE" || m === "CURRENT" ? l == null ? void 0 : l.response_id : s < u ? (B = t[s + 1]) == null ? void 0 : B.response_id : void 0,
389
+ nextQuestionId: m === "ADAPTIVE" || m === "CURRENT" ? d == null ? void 0 : d.response_id : s < u ? (B = t[s + 1]) == null ? void 0 : B.response_id : void 0,
383
390
  maxQuestionWidth: z,
384
391
  learnosity: p,
385
392
  isActive: o === E,
386
393
  isHidden: !D && o !== E || h,
387
- canRender: d > -1 && (s === d || m !== "CURRENT" && s === d + 1),
394
+ canRender: l > -1 && (s === l || m !== "CURRENT" && s === l + 1),
388
395
  background: $e,
389
396
  appended: Z.includes(o),
390
397
  behavior: a,
391
398
  layout: k,
392
399
  actionbarHeight: g,
393
400
  intersectionObserver: q,
394
- onMarkForReview: rt,
395
- onMediaStateChange: ot,
396
- userId: Be,
401
+ onMarkForReview: at,
402
+ onMediaStateChange: st,
403
+ userId: ye,
397
404
  isScribblingEnabled: oe,
398
- onPublishStrokes: ye,
399
- onReceiveStrokes: We,
400
- initialStrokesData: _e,
405
+ onPublishStrokes: We,
406
+ onReceiveStrokes: _e,
407
+ initialStrokesData: Oe,
401
408
  isCanvasEnabled: ee,
402
- onPublishMouseMove: De,
403
- onSubscribeMouseMove: Ve,
409
+ onPublishMouseMove: Ve,
410
+ onSubscribeMouseMove: He,
404
411
  setActiveQuestionId: H,
405
- canResolveDoubt: Re,
406
- onResolveDoubt: Pe,
407
- studentId: ze,
408
- subjectiveProps: Le,
412
+ canResolveDoubt: Pe,
413
+ onResolveDoubt: Qe,
414
+ studentId: Le,
415
+ subjectiveProps: qe,
409
416
  responses: c,
410
417
  loggerRef: j
411
418
  },
@@ -414,41 +421,43 @@ const Xt = (pe, ge) => {
414
421
  }
415
422
  ),
416
423
  h && /* @__PURE__ */ i(
417
- qt,
424
+ Kt,
418
425
  {
419
426
  worksheetName: U,
420
427
  questions: t,
421
428
  responses: c,
422
- activeQuestionIndex: d,
429
+ activeQuestionIndex: l,
423
430
  lastUnlockedQuestionIndex: u,
424
431
  onItemNumberClick: M,
425
432
  behavior: a,
426
- minHeight: Je,
427
- summaryDescription: Me,
433
+ minHeight: Ze,
434
+ summaryDescription: xe,
428
435
  summaryVisible: h
429
436
  }
430
437
  )
431
438
  ]
432
439
  }
433
440
  ),
434
- !h && Ze && /* @__PURE__ */ i(
435
- Ht,
441
+ !h && tt && /* @__PURE__ */ i(
442
+ xt,
436
443
  {
437
444
  questionWidth: z,
438
445
  questions: t,
439
- activeQuestionIndex: d,
446
+ activeQuestionIndex: l,
440
447
  learnosity: p,
441
448
  userType: r,
442
449
  height: ie,
443
450
  actionbarHeight: g,
444
- openQuestionFeedbackModal: He,
445
- loggerRef: j
451
+ openQuestionFeedbackModal: Me,
452
+ loggerRef: j,
453
+ enableStickers: Je,
454
+ handleStickerSend: Ae
446
455
  }
447
456
  )
448
457
  ] })
449
458
  ] }) : null;
450
- }, Ci = dt(mt(Xt));
459
+ }, Ii = ut(ht(Ut));
451
460
  export {
452
- Ci as default
461
+ Ii as default
453
462
  };
454
463
  //# sourceMappingURL=worksheet.js.map