@doenet/doenetml 0.7.21-dev.393 → 0.7.21-dev.394

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.
Files changed (121) hide show
  1. package/{AnswerResponseButton-DQwAdHX2.js → AnswerResponseButton-D8cecyxo.js} +2 -2
  2. package/{Description-kcKiIsUu.js → Description-CpqUPpwA.js} +1 -1
  3. package/{GraphFrame-LDqZHTPC.js → GraphFrame-DkJnCqmY.js} +2 -2
  4. package/{JSXGraphRenderer-DGH7P4zf.js → JSXGraphRenderer-CQ4UnDuA.js} +1 -1
  5. package/{NonInlineMediaWrapper-CyfGNcth.js → NonInlineMediaWrapper-BJJ7dSCJ.js} +1 -1
  6. package/Viewer/DocViewer.d.ts.map +1 -1
  7. package/Viewer/renderers/answer.d.ts.map +1 -1
  8. package/Viewer/renderers/booleanInput.d.ts.map +1 -1
  9. package/Viewer/renderers/choiceInput.d.ts.map +1 -1
  10. package/Viewer/renderers/containerBlock.d.ts.map +1 -1
  11. package/Viewer/renderers/containerInline.d.ts.map +1 -1
  12. package/Viewer/renderers/fractionInput.d.ts.map +1 -1
  13. package/Viewer/renderers/list.d.ts.map +1 -1
  14. package/Viewer/renderers/mathInput.d.ts.map +1 -1
  15. package/Viewer/renderers/matrixInput.d.ts.map +1 -1
  16. package/Viewer/renderers/p.d.ts.map +1 -1
  17. package/Viewer/renderers/pretzel.d.ts.map +1 -1
  18. package/Viewer/renderers/section.d.ts.map +1 -1
  19. package/Viewer/renderers/textInput.d.ts.map +1 -1
  20. package/Viewer/renderers/utils/checkWork.d.ts +9 -2
  21. package/Viewer/renderers/utils/checkWork.d.ts.map +1 -1
  22. package/Viewer/renderers/utils/validationState.d.ts +7 -1
  23. package/Viewer/renderers/utils/validationState.d.ts.map +1 -1
  24. package/{_error-BuKpjCb1.js → _error-B4Oho622.js} +2 -2
  25. package/{alert-Cv1_RLrQ.js → alert-BL0q2ccF.js} +3 -3
  26. package/{angle-DcdoJNiv.js → angle-B78qnore.js} +6 -6
  27. package/{answer-BKBbzk3a.js → answer-CRrKuv0J.js} +7 -7
  28. package/{asList-pqSyJPcN.js → asList-Byc66duD.js} +2 -2
  29. package/{blockQuote-0LLUyiD7.js → blockQuote-VtHvsxDh.js} +3 -3
  30. package/{boolean-BVYrZLUc.js → boolean-BzxaJixO.js} +2 -2
  31. package/{booleanInput-DROlOkmS.js → booleanInput-Dv5TU6If.js} +8 -8
  32. package/{br-MvAHmErh.js → br-CUb6oTi6.js} +2 -2
  33. package/{button-RrnmXhwT.js → button-C9Hxh-2e.js} +4 -4
  34. package/{c-CHLIJ9rr.js → c-ylFmrkJc.js} +3 -3
  35. package/{cell-DaIk_iBZ.js → cell-B_vT-N8p.js} +3 -3
  36. package/{choiceInput-DUmyLdvW.js → choiceInput-CJIUcxFH.js} +7 -7
  37. package/{circle-CWyavNC6.js → circle-6QF0Ni9Y.js} +6 -6
  38. package/{cobwebPolyline-OoivfaI4.js → cobwebPolyline-DIYZW5Sc.js} +4 -4
  39. package/{codeEditor-MFGmzXrn.js → codeEditor-yddXkzmF.js} +2 -2
  40. package/{composites-Ur8mMp9J.js → composites-D3aDmkmy.js} +1 -1
  41. package/{containerBlock-BdsmwwE0.js → containerBlock-CcyGSn-A.js} +6 -6
  42. package/{containerInline-D2wrqOOZ.js → containerInline-D43T-PUb.js} +6 -6
  43. package/{curve-OUEZJHzC.js → curve-ZuACj1i8.js} +4 -4
  44. package/{doenetml-pwYrzume.js → doenetml-M4DBortx.js} +78 -63
  45. package/doenetml-external-worker.js +2 -2
  46. package/doenetml-inline-worker.js +2 -2
  47. package/{ellipsis-BY1gjFaj.js → ellipsis-CikXCTS4.js} +2 -2
  48. package/{em-CIC2L8-X.js → em-Bznqd91f.js} +3 -3
  49. package/{embed-CR9CoYHt.js → embed-vLohMCBG.js} +2 -2
  50. package/{feedback-BxUH7q4C.js → feedback-DRu7VSKX.js} +4 -4
  51. package/{figure-B0EkOX2h.js → figure-Jtc-fKzc.js} +3 -3
  52. package/{fillPatterns-C8vdMra-.js → fillPatterns-Cx9SYc5t.js} +1 -1
  53. package/{footnote-DySi7tuS.js → footnote-BjHWBHoB.js} +3 -3
  54. package/{fractionInput-aidkKaUT.js → fractionInput-BbJoQVWi.js} +7 -7
  55. package/{graph-CpJquYXz.js → graph-CoAsQ_ck.js} +6 -6
  56. package/{hint-_ReoOUSN.js → hint-DW58dgtH.js} +4 -4
  57. package/{hr-B-YChV4e.js → hr-CXoyx0h4.js} +2 -2
  58. package/{image-GucHr3Fs.js → image-DA8Rlq6z.js} +7 -7
  59. package/{index-D_WGbXnQ.js → index-o-rmv2Q6.js} +1 -1
  60. package/{index.es-CYh-S9ku.js → index.es-D0L-dwBl.js} +1 -1
  61. package/index.js +1 -1
  62. package/{label-CgJfmzuE.js → label-BTrHrS2r.js} +6 -6
  63. package/{labelWithLatex-Dyh44zVC.js → labelWithLatex-D2_zUZ8t.js} +1 -1
  64. package/{legend-CB1XhEFU.js → legend-BPkT7kuB.js} +4 -4
  65. package/{line-Cso0t33P.js → line-Cegmf8m3.js} +6 -6
  66. package/{lineFamilyDragHandlers-D49hLbrj.js → lineFamilyDragHandlers-BdbaGIUE.js} +1 -1
  67. package/{lineSegment-B8O3N9Cu.js → lineSegment-CGCfT6Da.js} +5 -5
  68. package/{list-CZTnP_Ds.js → list-a67fT9yh.js} +6 -6
  69. package/{lq-DWeaQAwV.js → lq-6oZLm5K6.js} +2 -2
  70. package/{lsq-Il7EMuuO.js → lsq-D0YQbDIR.js} +2 -2
  71. package/{markupRenderer-C_yN5ah4.js → markupRenderer-CKCx6OJL.js} +1 -1
  72. package/{math-D7vT-BqW.js → math-C3t9SSI5.js} +6 -6
  73. package/{mathInput-CIJP6Soy.js → mathInput-CokLvyoG.js} +10 -10
  74. package/{matrixInput-DV1bXIG9.js → matrixInput-Cwo-V_Yk.js} +6 -5
  75. package/{mdash-DAOr4MG9.js → mdash-BDGj1dpJ.js} +2 -2
  76. package/{nbsp-CafnSEbd.js → nbsp-lE5WK9SF.js} +2 -2
  77. package/{ndash--E9FnFYk.js → ndash-DdoXaOfJ.js} +2 -2
  78. package/{number-usb1aLJ7.js → number-DtJ-CTaw.js} +6 -6
  79. package/{orbitalDiagram-D1oi-yDi.js → orbitalDiagram-DPLf42mz.js} +2 -2
  80. package/{orbitalDiagramInput-CTIhyhUz.js → orbitalDiagramInput-Dm2XgaLh.js} +2 -2
  81. package/{p-hln_7ooZ.js → p-BGiiZMSa.js} +6 -6
  82. package/package.json +1 -1
  83. package/{paginatorControls-0ymdghMm.js → paginatorControls-BUD-MI2d.js} +2 -2
  84. package/{pegboard-CKooxSGH.js → pegboard-CQI5zwd8.js} +4 -4
  85. package/{point-BSxJ2BnS.js → point-BxczWypz.js} +6 -6
  86. package/{polygon-CBNRp60z.js → polygon-DwRxpJ3-.js} +6 -6
  87. package/{polyline-GAh4H9p0.js → polyline-CqlaMAc9.js} +5 -5
  88. package/{pre-zDQgCXFe.js → pre-HrqEtqQJ.js} +3 -3
  89. package/{prefigure-G--3no_a.js → prefigure-DmFL_GTz.js} +1 -1
  90. package/{pretzel-OcJYDh1B.js → pretzel-S2OXRrpz.js} +6 -5
  91. package/{q-3Dia_368.js → q-2gFYzLe-.js} +3 -3
  92. package/{ray-07T3Uzf_.js → ray-Cm4aCzsB.js} +5 -5
  93. package/{ref-Ds74I8Cw.js → ref-gXA8ndaP.js} +2 -2
  94. package/{regionBetweenCurveXAxis-C4RFBXHq.js → regionBetweenCurveXAxis-CpsnQ4zy.js} +5 -5
  95. package/{regionBetweenCurves-I902DEC-.js → regionBetweenCurves-D8j17vWE.js} +5 -5
  96. package/{row-CwUonUzt.js → row-Doiu0TLJ.js} +2 -2
  97. package/{rq-DrSf5VSd.js → rq-1_gG74Jw.js} +2 -2
  98. package/{rsq-C5kUzS8d.js → rsq-5j-4hYKU.js} +2 -2
  99. package/{section-PMLPEMUv.js → section-D9ATngmG.js} +7 -6
  100. package/{sha256-AuWkkb03-BxQuqeyG.js → sha256-AuWkkb03-SPFNQ78W.js} +1 -1
  101. package/{sideBySide-D32_g8FK.js → sideBySide-amvyICUd.js} +2 -2
  102. package/{slider-BYhpoM2O.js → slider-DImp35oF.js} +3 -3
  103. package/{solution-CbXNhznJ.js → solution-DH8QweIs.js} +4 -4
  104. package/{spreadsheet-ozrM7-UB.js → spreadsheet-CpaizOgd.js} +2 -2
  105. package/{sq-CAKz9x_X.js → sq-D9SSTgIX.js} +3 -3
  106. package/{subsetOfRealsInput-C1qF4zde.js → subsetOfRealsInput-6nUGa76R.js} +2 -2
  107. package/{summaryStatistics-Blmw-X1a.js → summaryStatistics-DiWNUeD3.js} +2 -2
  108. package/{table-DmRTyhL0.js → table-C5W6jTEg.js} +2 -2
  109. package/{tabular-C6v4sxO_.js → tabular-CTNsSyqf.js} +2 -2
  110. package/{tag-BCmJ32cM.js → tag-Dwt_sh99.js} +2 -2
  111. package/{text-CeMtCdIU.js → text-CCC_HiXX.js} +6 -6
  112. package/{textInput-DQijaHeR.js → textInput-N47wvFgX.js} +9 -9
  113. package/{tooltip-provider-BxNX9ykJ.js → tooltip-provider-D4iBdY_5.js} +1 -1
  114. package/{useAnchoredGraphDragHandler-B5i789Rc.js → useAnchoredGraphDragHandler-DgiHGeuc.js} +1 -1
  115. package/useDoenetRenderer-xKXv4Q3h.js +114 -0
  116. package/{useSubmitActionWithDelay-YEoNlg6K.js → useSubmitActionWithDelay-CfntauU-.js} +2 -2
  117. package/utils/i18n.d.ts +58 -0
  118. package/utils/i18n.d.ts.map +1 -1
  119. package/{vector-BRN-3p5O.js → vector-CqDzM8VB.js} +6 -6
  120. package/{video--Z4kLzNs.js → video-Dqu_SN1a.js} +4 -4
  121. package/useDoenetRenderer-Crmjm0_-.js +0 -114
@@ -1,12 +1,12 @@
1
- import { q as DocContext, t as textRendererStyle, p as jsxRuntimeExports, v as DynamicMath } from "./doenetml-pwYrzume.js";
1
+ import { q as DocContext, t as textRendererStyle, p as jsxRuntimeExports, v as DynamicMath } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { r as removeJXGEventHandlers, j as jxg, s as syncLayer, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DGH7P4zf.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
5
- import { BoardContext, POINT_LAYER_OFFSET } from "./graph-CpJquYXz.js";
3
+ import { r as removeJXGEventHandlers, j as jxg, s as syncLayer, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CQ4UnDuA.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
5
+ import { BoardContext, POINT_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
6
6
  import { c as characterizeOffGraphPoint } from "./offGraphIndicators-CYoqQHuD.js";
7
7
  import { n as normalizePointStyle, a as normalizePointSize, b as adjustPointLabelPosition, e as calculatePointLabelAnchor } from "./graph-W6vrFcBu.js";
8
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-D49hLbrj.js";
9
- import { ChoiceInputInlineContext } from "./choiceInput-DUmyLdvW.js";
8
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BdbaGIUE.js";
9
+ import { ChoiceInputInlineContext } from "./choiceInput-CJIUcxFH.js";
10
10
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
11
11
  import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
12
12
  import { c as resolveMarkerColor } from "./styleColors-Cknqcr0q.js";
@@ -1,16 +1,16 @@
1
- import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, e as syncLineStrokeStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DGH7P4zf.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
5
- import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-CpJquYXz.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-D49hLbrj.js";
3
+ import { r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, e as syncLineStrokeStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CQ4UnDuA.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BdbaGIUE.js";
7
7
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
8
8
  import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
9
9
  import { a as resolveLineColor, r as resolveFillColor, b as resolveCanvasColor, d as resolveHandleColor } from "./styleColors-Cknqcr0q.js";
10
10
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
11
11
  import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
12
12
  import { c as buildBaseAttributes } from "./buildGraphicalAttributes-C7PtyKL7.js";
13
- import { g as getPatternFillAttributes } from "./fillPatterns-C8vdMra-.js";
13
+ import { g as getPatternFillAttributes } from "./fillPatterns-Cx9SYc5t.js";
14
14
  const polygon = React__default.memo(function Polygon(props) {
15
15
  let { componentIdx, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
16
16
  Polygon.ignoreActionsWithoutCore = () => true;
@@ -1,9 +1,9 @@
1
- import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DGH7P4zf.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CpJquYXz.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-D49hLbrj.js";
3
+ import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CQ4UnDuA.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BdbaGIUE.js";
7
7
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
8
8
  import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
9
9
  import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-Cknqcr0q.js";
@@ -1,7 +1,7 @@
1
- import { w as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-Ur8mMp9J.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-D3aDmkmy.js";
5
5
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
6
6
  const pre = React__default.memo(function Pre(props) {
7
7
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
@@ -1,4 +1,4 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
3
  const __vite_import_meta_env__ = { "VITE_PREFIGURE_MODULE_URL": "https://cdn.jsdelivr.net/npm/@doenet/prefigure@latest/prefigure.js" };
4
4
  const DEFAULT_PREFIGURE_BUILD_ENDPOINT = "https://prefigure.doenet.org/build";
@@ -1,8 +1,8 @@
1
- import { u as useT, w as useRecordVisibilityChanges, q as DocContext, p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { u as useT, w as useContentT, x as useRecordVisibilityChanges, q as DocContext, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-DQwAdHX2.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-YEoNlg6K.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton-D8cecyxo.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CfntauU-.js";
6
6
  const pretzel = React__default.memo(function Pretzel(props) {
7
7
  let {
8
8
  componentIdx,
@@ -16,6 +16,7 @@ const pretzel = React__default.memo(function Pretzel(props) {
16
16
  flags
17
17
  } = useDoenetRenderer(props);
18
18
  const t = useT();
19
+ const tContent = useContentT();
19
20
  const ref = useRef(null);
20
21
  useRecordVisibilityChanges(ref, callAction, actions);
21
22
  const { showAnswerResponseButton, answerResponseCounts } = useContext(DocContext) || {};
@@ -108,7 +109,7 @@ const pretzel = React__default.memo(function Pretzel(props) {
108
109
  submitActionWithPending,
109
110
  true,
110
111
  isPending,
111
- t
112
+ tContent
112
113
  );
113
114
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { id, style: { marginBottom: "4px" }, "data-test": "pretzel-root", children: [
114
115
  problemGrids,
@@ -1,7 +1,7 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-C_yN5ah4.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-CKCx6OJL.js";
5
5
  const q = React__default.memo(function Q(props) {
6
6
  const { SVs, children } = useDoenetRenderer(props);
7
7
  const body = renderMarkupBody({ SVs, children });
@@ -1,9 +1,9 @@
1
- import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-DGH7P4zf.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CpJquYXz.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-D49hLbrj.js";
3
+ import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-CQ4UnDuA.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BdbaGIUE.js";
7
7
  import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-C7PtyKL7.js";
8
8
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
9
9
  import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
@@ -1,6 +1,6 @@
1
- import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
4
  const ref = React__default.memo(function Ref(props) {
5
5
  const { id, SVs, children, requestScrollTo } = useDoenetRenderer(props);
6
6
  const { doenetViewerUrl } = useContext(DocContext) || {};
@@ -1,9 +1,9 @@
1
- import { q as DocContext, z as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { q as DocContext, A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DGH7P4zf.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CpJquYXz.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-C8vdMra-.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CQ4UnDuA.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-Cx9SYc5t.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
8
8
  const regionBetweenCurveXAxis = React__default.memo(function RegionBetweenCurveXAxis(props) {
9
9
  let { id, SVs } = useDoenetRenderer(props);
@@ -1,11 +1,11 @@
1
- import { q as DocContext, z as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { q as DocContext, A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
4
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CpJquYXz.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
5
5
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-C8vdMra-.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-Cx9SYc5t.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
8
- import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DGH7P4zf.js";
8
+ import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CQ4UnDuA.js";
9
9
  const regionBetweenCurves = React__default.memo(function RegionBetweenCurves(props) {
10
10
  let { id, SVs } = useDoenetRenderer(props);
11
11
  RegionBetweenCurves.ignoreActionsWithoutCore = () => true;
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
4
  const row = React__default.memo(function Row(props) {
5
5
  let { id, SVs, children } = useDoenetRenderer(props);
6
6
  if (SVs.hidden) {
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
4
  const rq = React__default.memo(function Rq(props) {
5
5
  let { SVs } = useDoenetRenderer(props, false);
6
6
  if (SVs.hidden) {
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
4
  const rsq = React__default.memo(function Rsq(props) {
5
5
  let { SVs } = useDoenetRenderer(props, false);
6
6
  if (SVs.hidden) {
@@ -1,14 +1,15 @@
1
- import { u as useT, q as DocContext, y as cesc, w as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { u as useT, w as useContentT, q as DocContext, z as cesc, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { F as FontAwesomeIcon } from "./index.es-CYh-S9ku.js";
3
+ import { F as FontAwesomeIcon } from "./index.es-D0L-dwBl.js";
4
4
  import { f as faCaretDown, a as faCaretRight } from "./index-BDlitCgu.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-Ur8mMp9J.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-YEoNlg6K.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-D3aDmkmy.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CfntauU-.js";
8
8
  import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
9
9
  const section = React__default.memo(function Section(props) {
10
10
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
11
11
  const t = useT();
12
+ const tContent = useContentT();
12
13
  const { darkMode } = useContext(DocContext) || {};
13
14
  const headingBoxBg = darkMode === "dark" && SVs.titleColorDarkMode != null ? SVs.titleColorDarkMode : SVs.titleColor;
14
15
  const LIST_ITEM_INDENT = "2em";
@@ -281,7 +282,7 @@ const section = React__default.memo(function Section(props) {
281
282
  submitActionWithPending,
282
283
  true,
283
284
  isPending,
284
- t
285
+ tContent
285
286
  );
286
287
  if (checkWorkComponent) {
287
288
  checkWorkComponent = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: checkWorkComponent });
@@ -1,4 +1,4 @@
1
- import { l as getDefaultExportFromCjs } from "./doenetml-pwYrzume.js";
1
+ import { l as getDefaultExportFromCjs } from "./doenetml-M4DBortx.js";
2
2
  function _mergeNamespaces$1(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -1,6 +1,6 @@
1
- import { w as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
4
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
5
5
  function isWhitespaceTextChild(child) {
6
6
  return typeof child === "string" && child.trim() === "";
@@ -1,8 +1,8 @@
1
- import { u as useT, p as jsxRuntimeExports, J as ActionButtonGroup, K as ActionButton, x as Context } from "./doenetml-pwYrzume.js";
1
+ import { u as useT, p as jsxRuntimeExports, K as ActionButtonGroup, L as ActionButton, y as Context } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { r as renderLabelWithLatex } from "./labelWithLatex-Dyh44zVC.js";
5
+ import { r as renderLabelWithLatex } from "./labelWithLatex-D2_zUZ8t.js";
6
6
  let round_to_decimals = (x, n) => {
7
7
  try {
8
8
  return Context.round_numbers_to_decimals(x, n).tree;
@@ -1,9 +1,9 @@
1
- import { u as useT, w as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
4
- import { F as FontAwesomeIcon } from "./index.es-CYh-S9ku.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
+ import { F as FontAwesomeIcon } from "./index.es-D0L-dwBl.js";
5
5
  import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-Ur8mMp9J.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-D3aDmkmy.js";
7
7
  import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
8
8
  const solution = React__default.memo(function Solution(props) {
9
9
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
@@ -1,6 +1,6 @@
1
- import { q as DocContext, w as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { q as DocContext, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { forwardRef, useId, useRef, useCallback, useMemo, useEffect, Children, useImperativeHandle, Fragment, createContext as createContext$1, useContext, useState } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
4
  import require$$2 from "react-dom";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
6
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
@@ -1,7 +1,7 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-C_yN5ah4.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-CKCx6OJL.js";
5
5
  const sq = React__default.memo(function Sq(props) {
6
6
  const { SVs, children } = useDoenetRenderer(props);
7
7
  const body = renderMarkupBody({ SVs, children });
@@ -1,6 +1,6 @@
1
- import { u as useT, w as useRecordVisibilityChanges, p as jsxRuntimeExports, N as ToggleButtonGroup, T as ToggleButton, J as ActionButtonGroup, K as ActionButton } from "./doenetml-pwYrzume.js";
1
+ import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports, O as ToggleButtonGroup, T as ToggleButton, K as ActionButtonGroup, L as ActionButton } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useState, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
4
  const subsetOfRealsInput = React__default.memo(function subsetOfReals(props) {
5
5
  let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
6
6
  let [mode, setMode] = useState("add remove points");
@@ -1,6 +1,6 @@
1
- import { u as useT, w as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
5
  const summaryStatistics = React__default.memo(function SummaryStatistics(props) {
6
6
  let { id, SVs, actions, callAction } = useDoenetRenderer(props);
@@ -1,6 +1,6 @@
1
- import { w as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
4
  const table = React__default.memo(function Table(props) {
5
5
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
6
6
  const ref = useRef(null);
@@ -1,6 +1,6 @@
1
- import { w as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
5
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
6
6
  const tabular = React__default.memo(function Tabular(props) {
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
4
4
  const tag = React__default.memo(function Tag(props) {
5
5
  let { id, SVs, children } = useDoenetRenderer(props);
6
6
  if (SVs.hidden) {
@@ -1,13 +1,13 @@
1
- import { q as DocContext, x as Context, p as jsxRuntimeExports, t as textRendererStyle } from "./doenetml-pwYrzume.js";
1
+ import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle } from "./doenetml-M4DBortx.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-DGH7P4zf.js";
4
- import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CpJquYXz.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-CQ4UnDuA.js";
4
+ import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
6
6
  import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-DUmyLdvW.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-CJIUcxFH.js";
8
8
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
9
9
  import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
10
- import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-B5i789Rc.js";
10
+ import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-DgiHGeuc.js";
11
11
  const text = React__default.memo(function Text(props) {
12
12
  let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
13
13
  Text.ignoreActionsWithoutCore = () => true;
@@ -1,16 +1,16 @@
1
- import { u as useT, x as Context, p as jsxRuntimeExports, M as MathJax } from "./doenetml-pwYrzume.js";
1
+ import { w as useContentT, y as Context, p as jsxRuntimeExports, M as MathJax } from "./doenetml-M4DBortx.js";
2
2
  import { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-DGH7P4zf.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-Crmjm0_-.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-CQ4UnDuA.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { BoardContext } from "./graph-CpJquYXz.js";
6
+ import { BoardContext } from "./graph-CoAsQ_ck.js";
7
7
  import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
8
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-YEoNlg6K.js";
9
- import { D as DescriptionPopover } from "./Description-kcKiIsUu.js";
8
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CfntauU-.js";
9
+ import { D as DescriptionPopover } from "./Description-CpqUPpwA.js";
10
10
  import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
11
11
  function TextInput(props) {
12
12
  let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
13
- const t = useT();
13
+ const tContent = useContentT();
14
14
  let width = sizeToCSS(SVs.width);
15
15
  sizeToCSS(SVs.height);
16
16
  TextInput.baseStateVariable = "immediateValue";
@@ -433,7 +433,7 @@ function TextInput(props) {
433
433
  submitActionWithPending,
434
434
  SVs.forceFullCheckWorkButton,
435
435
  isPending,
436
- t
436
+ tContent
437
437
  );
438
438
  let input;
439
439
  let label = SVs.label;
@@ -456,7 +456,7 @@ function TextInput(props) {
456
456
  shortDescription = addValidationStateToShortDescription(
457
457
  validationState,
458
458
  shortDescription,
459
- t
459
+ tContent
460
460
  );
461
461
  }
462
462
  if (SVs.expanded) {
@@ -1,4 +1,4 @@
1
- import { a6 as createStoreContext, a7 as HovercardScopedContextProvider, a8 as HovercardContextProvider, a9 as createDialogComponent, Q as forwardRef, R as createElement, S as createHook, V as invariant, aa as useWrapElement, p as jsxRuntimeExports, W as useStoreState, ab as useHovercard, ac as isFalsyBooleanCallback, ad as contains, ae as sync, af as chain, ag as useEvent, ah as useHovercardAnchor, ai as createStore, aj as createHovercardStore, ak as defaultValue, al as useStore, am as useStoreProps, an as useHovercardStoreProps } from "./doenetml-pwYrzume.js";
1
+ import { a7 as createStoreContext, a8 as HovercardScopedContextProvider, a9 as HovercardContextProvider, aa as createDialogComponent, R as forwardRef, S as createElement, U as createHook, W as invariant, ab as useWrapElement, p as jsxRuntimeExports, X as useStoreState, ac as useHovercard, ad as isFalsyBooleanCallback, ae as contains, af as sync, ag as chain, ah as useEvent, ai as useHovercardAnchor, aj as createStore, ak as createHovercardStore, al as defaultValue, am as useStore, an as useStoreProps, ao as useHovercardStoreProps } from "./doenetml-M4DBortx.js";
2
2
  import { useRef, useEffect } from "react";
3
3
  const ctx = createStoreContext([HovercardContextProvider], [HovercardScopedContextProvider]);
4
4
  const useTooltipProviderContext = ctx.useProviderContext;
@@ -1,4 +1,4 @@
1
- import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-DGH7P4zf.js";
1
+ import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-CQ4UnDuA.js";
2
2
  import { e as exceededDragThreshold, p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
3
3
  function attachAnchoredGraphDragHandlers(params) {
4
4
  const {
@@ -0,0 +1,114 @@
1
+ import { F as useAppSelector, G as mainSlice, H as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-M4DBortx.js";
2
+ import React__default, { useState, useEffect } from "react";
3
+ function useDoenetRenderer(props, initializeChildrenOnConstruction = true) {
4
+ const actions = props.componentInstructions.actions;
5
+ const componentIdx = props.componentInstructions.componentIdx;
6
+ const effectiveIdx = props.componentInstructions.effectiveIdx;
7
+ const id = props.componentInstructions.id;
8
+ const rendererName = props.coreId + componentIdx;
9
+ const [renderersToLoad, setRenderersToLoad] = useState({});
10
+ const componentInfo = useAppSelector(
11
+ (state) => mainSlice.selectors.componentInfo(state)[rendererName]
12
+ );
13
+ const {
14
+ stateValues,
15
+ sourceOfUpdate = {},
16
+ ignoreUpdate,
17
+ childrenInstructions,
18
+ prefixForIds
19
+ } = componentInfo || {
20
+ stateValues: {},
21
+ sourceOfUpdate: {},
22
+ ignoreUpdate: false,
23
+ childrenInstructions: [],
24
+ prefixForIds: ""
25
+ };
26
+ let children = [];
27
+ const loadMoreRenderers = Object.keys(renderersToLoad).length === 0;
28
+ for (let childInstructions of childrenInstructions) {
29
+ let child = createChildFromInstructions(
30
+ childInstructions,
31
+ loadMoreRenderers
32
+ );
33
+ children.push(child);
34
+ }
35
+ useEffect(() => {
36
+ const entries = Object.entries(renderersToLoad);
37
+ if (entries.length > 0) {
38
+ const names = entries.map(([name]) => name);
39
+ const loaders = entries.map(([, loader]) => loader);
40
+ renderersLoadComponent(loaders, names).then(
41
+ ({ rendererClasses: newRendererClasses }) => {
42
+ Object.assign(props.rendererClasses, newRendererClasses);
43
+ setRenderersToLoad({});
44
+ }
45
+ );
46
+ }
47
+ }, [renderersToLoad, props.rendererClasses]);
48
+ function createChildFromInstructions(childInstructions, loadMoreRenderers2) {
49
+ if (typeof childInstructions === "string" || childInstructions === null) {
50
+ return childInstructions;
51
+ }
52
+ let propsForChild = {
53
+ key: props.coreId + childInstructions.componentIdx,
54
+ componentInstructions: childInstructions,
55
+ rendererClasses: props.rendererClasses,
56
+ coreId: props.coreId,
57
+ docId: props.docId,
58
+ activityId: props.activityId,
59
+ callAction: props.callAction,
60
+ fetchExternalDoenetML: props.fetchExternalDoenetML,
61
+ requestScrollTo: props.requestScrollTo,
62
+ flags: props.flags
63
+ };
64
+ let rendererClass = props.rendererClasses[childInstructions.rendererType];
65
+ if (!rendererClass) {
66
+ if (loadMoreRenderers2) {
67
+ setRenderersToLoad((old) => {
68
+ let rendererLoaders = { ...old };
69
+ if (!(childInstructions.rendererType in rendererLoaders)) {
70
+ rendererLoaders[childInstructions.rendererType] = () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/GraphFrame.tsx": () => import("./GraphFrame-DkJnCqmY.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-CQ4UnDuA.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-B4Oho622.js"), "./renderers/alert.tsx": () => import("./alert-BL0q2ccF.js"), "./renderers/angle.tsx": () => import("./angle-B78qnore.js"), "./renderers/answer.tsx": () => import("./answer-CRrKuv0J.js"), "./renderers/asList.tsx": () => import("./asList-Byc66duD.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-VtHvsxDh.js"), "./renderers/boolean.tsx": () => import("./boolean-BzxaJixO.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-Dv5TU6If.js"), "./renderers/br.tsx": () => import("./br-CUb6oTi6.js"), "./renderers/button.tsx": () => import("./button-C9Hxh-2e.js"), "./renderers/c.tsx": () => import("./c-ylFmrkJc.js"), "./renderers/cell.tsx": () => import("./cell-B_vT-N8p.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-CJIUcxFH.js"), "./renderers/circle.tsx": () => import("./circle-6QF0Ni9Y.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-DIYZW5Sc.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-yddXkzmF.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-CcyGSn-A.js"), "./renderers/containerInline.tsx": () => import("./containerInline-D43T-PUb.js"), "./renderers/curve.tsx": () => import("./curve-ZuACj1i8.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-CikXCTS4.js"), "./renderers/em.tsx": () => import("./em-Bznqd91f.js"), "./renderers/embed.tsx": () => import("./embed-vLohMCBG.js"), "./renderers/feedback.tsx": () => import("./feedback-DRu7VSKX.js"), "./renderers/figure.tsx": () => import("./figure-Jtc-fKzc.js"), "./renderers/footnote.tsx": () => import("./footnote-BjHWBHoB.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-BbJoQVWi.js"), "./renderers/graph.tsx": () => import("./graph-CoAsQ_ck.js"), "./renderers/hint.tsx": () => import("./hint-DW58dgtH.js"), "./renderers/hr.tsx": () => import("./hr-CXoyx0h4.js"), "./renderers/image.tsx": () => import("./image-DA8Rlq6z.js"), "./renderers/label.tsx": () => import("./label-BTrHrS2r.js"), "./renderers/legend.tsx": () => import("./legend-BPkT7kuB.js"), "./renderers/line.tsx": () => import("./line-Cegmf8m3.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-CGCfT6Da.js"), "./renderers/list.tsx": () => import("./list-a67fT9yh.js"), "./renderers/lq.tsx": () => import("./lq-6oZLm5K6.js"), "./renderers/lsq.tsx": () => import("./lsq-D0YQbDIR.js"), "./renderers/math.tsx": () => import("./math-C3t9SSI5.js"), "./renderers/mathInput.tsx": () => import("./mathInput-CokLvyoG.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-Cwo-V_Yk.js"), "./renderers/mdash.tsx": () => import("./mdash-BDGj1dpJ.js"), "./renderers/nbsp.tsx": () => import("./nbsp-lE5WK9SF.js"), "./renderers/ndash.tsx": () => import("./ndash-DdoXaOfJ.js"), "./renderers/number.tsx": () => import("./number-DtJ-CTaw.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-DPLf42mz.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-Dm2XgaLh.js"), "./renderers/p.tsx": () => import("./p-BGiiZMSa.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-BUD-MI2d.js"), "./renderers/pegboard.tsx": () => import("./pegboard-CQI5zwd8.js"), "./renderers/point.tsx": () => import("./point-BxczWypz.js"), "./renderers/polygon.tsx": () => import("./polygon-DwRxpJ3-.js"), "./renderers/polyline.tsx": () => import("./polyline-CqlaMAc9.js"), "./renderers/pre.tsx": () => import("./pre-HrqEtqQJ.js"), "./renderers/prefigure.tsx": () => import("./prefigure-DmFL_GTz.js"), "./renderers/pretzel.tsx": () => import("./pretzel-S2OXRrpz.js"), "./renderers/q.tsx": () => import("./q-2gFYzLe-.js"), "./renderers/ray.tsx": () => import("./ray-Cm4aCzsB.js"), "./renderers/ref.tsx": () => import("./ref-gXA8ndaP.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-CpsnQ4zy.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-D8j17vWE.js"), "./renderers/row.tsx": () => import("./row-Doiu0TLJ.js"), "./renderers/rq.tsx": () => import("./rq-1_gG74Jw.js"), "./renderers/rsq.tsx": () => import("./rsq-5j-4hYKU.js"), "./renderers/section.tsx": () => import("./section-D9ATngmG.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-amvyICUd.js"), "./renderers/slider.tsx": () => import("./slider-DImp35oF.js"), "./renderers/solution.tsx": () => import("./solution-DH8QweIs.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-CpaizOgd.js"), "./renderers/sq.tsx": () => import("./sq-D9SSTgIX.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-6nUGa76R.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-DiWNUeD3.js"), "./renderers/table.tsx": () => import("./table-C5W6jTEg.js"), "./renderers/tabular.tsx": () => import("./tabular-CTNsSyqf.js"), "./renderers/tag.tsx": () => import("./tag-Dwt_sh99.js"), "./renderers/text.tsx": () => import("./text-CCC_HiXX.js"), "./renderers/textInput.tsx": () => import("./textInput-N47wvFgX.js"), "./renderers/vector.tsx": () => import("./vector-CqDzM8VB.js"), "./renderers/video.tsx": () => import("./video-Dqu_SN1a.js") }), `./renderers/${childInstructions.rendererType}.tsx`, 3);
71
+ }
72
+ return rendererLoaders;
73
+ });
74
+ }
75
+ return null;
76
+ }
77
+ let child = React__default.createElement(rendererClass, propsForChild);
78
+ return child;
79
+ }
80
+ let rendererType = props.componentInstructions.rendererType;
81
+ const callAction = (argObj) => {
82
+ if (!argObj.componentIdx) {
83
+ argObj = { ...argObj };
84
+ argObj.componentIdx = componentIdx;
85
+ }
86
+ if (!argObj.rendererType) {
87
+ argObj = { ...argObj };
88
+ argObj.rendererType = rendererType;
89
+ }
90
+ return props.callAction(argObj);
91
+ };
92
+ return {
93
+ componentIdx: effectiveIdx,
94
+ id: prefixForIds + id,
95
+ SVs: stateValues,
96
+ docId: props.docId,
97
+ activityId: props.activityId,
98
+ actions,
99
+ children,
100
+ sourceOfUpdate,
101
+ ignoreUpdate,
102
+ rendererName,
103
+ initializeChildren: () => {
104
+ },
105
+ callAction,
106
+ doenetViewerUrl: props.doenetViewerUrl,
107
+ fetchExternalDoenetML: props.fetchExternalDoenetML,
108
+ requestScrollTo: props.requestScrollTo,
109
+ flags: props.flags
110
+ };
111
+ }
112
+ export {
113
+ useDoenetRenderer as u
114
+ };
@@ -1,5 +1,5 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-pwYrzume.js";
2
- import { F as FontAwesomeIcon } from "./index.es-CYh-S9ku.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
2
+ import { F as FontAwesomeIcon } from "./index.es-D0L-dwBl.js";
3
3
  import { d as faSpinner, e as faLevelDownAlt, g as faCheck, h as faTimes, i as faCloud } from "./index-BDlitCgu.js";
4
4
  import React__default, { useCallback } from "react";
5
5
  function calculateValidationState(SVs) {